|
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+BJd":function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("6MrE"),p=r.n(C)},"+QRC":function(B,N,r){"use strict";var y=r("E9nw"),m={"text/plain":"Text","text/html":"Url",default:"Text"},C="Copy to clipboard: #{key}, Enter";function p(h){var c=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return h.replace(/#{\s*key\s*}/g,c)}function g(h,c){var o,n,t,a,d,i,l=!1;c||(c={}),o=c.debug||!1;try{t=y(),a=document.createRange(),d=document.getSelection(),i=document.createElement("span"),i.textContent=h,i.style.all="unset",i.style.position="fixed",i.style.top=0,i.style.clip="rect(0, 0, 0, 0)",i.style.whiteSpace="pre",i.style.webkitUserSelect="text",i.style.MozUserSelect="text",i.style.msUserSelect="text",i.style.userSelect="text",i.addEventListener("copy",function(s){if(s.stopPropagation(),c.format)if(s.preventDefault(),typeof s.clipboardData=="undefined"){o&&console.warn("unable to use e.clipboardData"),o&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var u=m[c.format]||m.default;window.clipboardData.setData(u,h)}else s.clipboardData.clearData(),s.clipboardData.setData(c.format,h);c.onCopy&&(s.preventDefault(),c.onCopy(s.clipboardData))}),document.body.appendChild(i),a.selectNodeContents(i),d.addRange(a);var e=document.execCommand("copy");if(!e)throw new Error("copy command was unsuccessful");l=!0}catch(s){o&&console.error("unable to copy using execCommand: ",s),o&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(c.format||"text",h),c.onCopy&&c.onCopy(window.clipboardData),l=!0}catch(u){o&&console.error("unable to copy using clipboardData: ",u),o&&console.error("falling back to prompt"),n=p("message"in c?c.message:C),window.prompt(n,h)}}finally{d&&(typeof d.removeRange=="function"?d.removeRange(a):d.removeAllRanges()),i&&document.body.removeChild(i),t()}return l}B.exports=g},"+TT/":function(B,N,r){var y=r("bYtY"),m=r("mFDi"),C=r("OELB"),p=C.parsePercent,g=r("7aKB"),h=y.each,c=["left","right","top","bottom","width","height"],o=[["width","left","right"],["height","top","bottom"]];function n(v,x,b,w,_){var T=0,S=0;w==null&&(w=Infinity),_==null&&(_=Infinity);var E=0;x.eachChild(function(I,O){var F=I.position,k=I.getBoundingRect(),M=x.childAt(O+1),P=M&&M.getBoundingRect(),V,D;if(v==="horizontal"){var H=k.width+(P?-P.x+k.x:0);V=T+H,V>w||I.newline?(T=0,V=H,S+=E+b,E=k.height):E=Math.max(E,k.height)}else{var U=k.height+(P?-P.y+k.y:0);D=S+U,D>_||I.newline?(T+=E+b,S=0,D=U,E=k.width):E=Math.max(E,k.width)}if(I.newline)return;F[0]=T,F[1]=S,v==="horizontal"?T=V+b:S=D+b})}var t=n,a=y.curry(n,"vertical"),d=y.curry(n,"horizontal");function i(v,x,b){var w=x.width,_=x.height,T=p(v.x,w),S=p(v.y,_),E=p(v.x2,w),I=p(v.y2,_);return(isNaN(T)||isNaN(parseFloat(v.x)))&&(T=0),(isNaN(E)||isNaN(parseFloat(v.x2)))&&(E=w),(isNaN(S)||isNaN(parseFloat(v.y)))&&(S=0),(isNaN(I)||isNaN(parseFloat(v.y2)))&&(I=_),b=g.normalizeCssArray(b||0),{width:Math.max(E-T-b[1]-b[3],0),height:Math.max(I-S-b[0]-b[2],0)}}function l(v,x,b){b=g.normalizeCssArray(b||0);var w=x.width,_=x.height,T=p(v.left,w),S=p(v.top,_),E=p(v.right,w),I=p(v.bottom,_),O=p(v.width,w),F=p(v.height,_),k=b[2]+b[0],M=b[1]+b[3],P=v.aspect;isNaN(O)&&(O=w-E-M-T),isNaN(F)&&(F=_-I-k-S),P!=null&&(isNaN(O)&&isNaN(F)&&(P>w/_?O=w*.8:F=_*.8),isNaN(O)&&(O=P*F),isNaN(F)&&(F=O/P)),isNaN(T)&&(T=w-E-O-M),isNaN(S)&&(S=_-I-F-k);switch(v.left||v.right){case"center":T=w/2-O/2-b[3];break;case"right":T=w-O-M;break}switch(v.top||v.bottom){case"middle":case"center":S=_/2-F/2-b[0];break;case"bottom":S=_-F-k;break}T=T||0,S=S||0,isNaN(O)&&(O=w-M-T-(E||0)),isNaN(F)&&(F=_-k-S-(I||0));var V=new m(T+b[3],S+b[0],O,F);return V.margin=b,V}function e(v,x,b,w,_){var T=!_||!_.hv||_.hv[0],S=!_||!_.hv||_.hv[1],E=_&&_.boundingMode||"all";if(!T&&!S)return;var I;if(E==="raw")I=v.type==="group"?new m(0,0,+x.width||0,+x.height||0):v.getBoundingRect();else if(I=v.getBoundingRect(),v.needLocalTransform()){var O=v.getLocalTransform();I=I.clone(),I.applyTransform(O)}x=l(y.defaults({width:I.width,height:I.height},x),b,w);var F=v.position,k=T?x.x-I.x:0,M=S?x.y-I.y:0;v.attr("position",E==="raw"?[k,M]:[F[0]+k,F[1]+M])}function s(v,x){return v[o[x][0]]!=null||v[o[x][1]]!=null&&v[o[x][2]]!=null}function u(v,x,b){!y.isObject(b)&&(b={});var w=b.ignoreSize;!y.isArray(w)&&(w=[w,w]);var _=S(o[0],0),T=S(o[1],1);O(o[0],v,_),O(o[1],v,T);function S(F,k){var M={},P=0,V={},D=0,H=2;if(h(F,function(K){V[K]=v[K]}),h(F,function(K){E(x,K)&&(M[K]=V[K]=x[K]),I(M,K)&&P++,I(V,K)&&D++}),w[k])return I(x,F[1])?V[F[2]]=null:I(x,F[2])&&(V[F[1]]=null),V;if(D===H||!P)return V;if(P>=H)return M;for(var U=0;U<F.length;U++){var z=F[U];if(!E(M,z)&&E(v,z)){M[z]=v[z];break}}return M}function E(F,k){return F.hasOwnProperty(k)}function I(F,k){return F[k]!=null&&F[k]!=="auto"}function O(F,k,M){h(F,function(P){k[P]=M[P]})}}function f(v){return A({},v)}function A(v,x){return x&&v&&h(c,function(b){x.hasOwnProperty(b)&&(v[b]=x[b])}),v}N.LOCATION_PARAMS=c,N.HV_NAMES=o,N.box=t,N.vbox=a,N.hbox=d,N.getAvailableSize=i,N.getLayoutRect=l,N.positionElement=e,N.sizeCalculable=s,N.mergeLayoutParam=u,N.getLayoutParams=f,N.copyLayoutParams=A},"+Zaj":function(B,N,r){"use strict";var y=r("284h"),m=r("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var C=m(r("3tO9")),p=y(r("q1tI")),g=m(r("ugBc")),h=m(r("KQxl")),c=function(t,a){return p.createElement(h.default,(0,C.default)((0,C.default)({},t),{},{ref:a,icon:g.default}))};c.displayName="CalendarOutlined";var o=p.forwardRef(c);N.default=o},"+d4F":function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("y3Yb"));function m(p){return p&&p.__esModule?p:{default:p}}var C=y;N.default=C,B.exports=C},"+eQT":function(B,N,r){"use strict";var y=r("wd/R"),m=r.n(y),C=r("Kwbf"),p={getNow:function(){return m()()},getWeekDay:function(Ht){var sr=Ht.clone().locale("en_US");return sr.weekday()+sr.localeData().firstDayOfWeek()},getYear:function(Ht){return Ht.year()},getMonth:function(Ht){return Ht.month()},getDate:function(Ht){return Ht.date()},getHour:function(Ht){return Ht.hour()},getMinute:function(Ht){return Ht.minute()},getSecond:function(Ht){return Ht.second()},addYear:function(Ht,sr){var er=Ht.clone();return er.add(sr,"year")},addMonth:function(Ht,sr){var er=Ht.clone();return er.add(sr,"month")},addDate:function(Ht,sr){var er=Ht.clone();return er.add(sr,"day")},setYear:function(Ht,sr){var er=Ht.clone();return er.year(sr)},setMonth:function(Ht,sr){var er=Ht.clone();return er.month(sr)},setDate:function(Ht,sr){var er=Ht.clone();return er.date(sr)},setHour:function(Ht,sr){var er=Ht.clone();return er.hour(sr)},setMinute:function(Ht,sr){var er=Ht.clone();return er.minute(sr)},setSecond:function(Ht,sr){var er=Ht.clone();return er.second(sr)},isAfter:function(Ht,sr){return Ht.isAfter(sr)},isValidate:function(Ht){return Ht.isValid()},locale:{getWeekFirstDay:function(Ht){var sr=m()().locale(Ht);return sr.localeData().firstDayOfWeek()},getWeek:function(Ht,sr){var er=sr.clone(),Lr=er.locale(Ht);return Lr.week()},getShortWeekDays:function(Ht){var sr=m()().locale(Ht);return sr.localeData().weekdaysMin()},getShortMonths:function(Ht){var sr=m()().locale(Ht);return sr.localeData().monthsShort()},format:function(Ht,sr,er){var Lr=sr.clone(),Or=Lr.locale(Ht);return Or.format(er)},parse:function(Ht,sr,er){for(var Lr=[],Or=0;Or<er.length;Or+=1){var qr=er[Or],Hr=sr;if(qr.includes("wo")||qr.includes("Wo")){qr=qr.replace(/wo/g,"w").replace(/Wo/g,"W");var un=qr.match(/[-YyMmDdHhSsWwGg]+/g),fn=Hr.match(/[-\d]+/g);un&&fn?(qr=un.join(""),Hr=fn.join("")):Lr.push(qr.replace(/o/g,""))}var yn=m()(Hr,qr,Ht,!0);if(yn.isValid())return yn}for(var St=0;St<Lr.length;St+=1){var qt=m()(sr,Lr[St],Ht,!1);if(qt.isValid())return Object(C.b)(!1,"Not match any format strictly and fallback to fuzzy match. Please help to fire a issue about this."),qt}return null}}},g=p,h=r("pVnL"),c=r.n(h),o=r("q1tI"),n=r("2/Rp");function t(Ze){return o.createElement(n.a,c()({size:"small",type:"primary"},Ze))}var a=r("mr32");function d(Ze){return o.createElement(a.a,c()({color:"blue"},Ze))}var i=r("lSNA"),l=r.n(i),e=r("lwsE"),s=r.n(e),u=r("W8MJ"),f=r.n(u),A=r("7W2i"),v=r.n(A),x=r("LQ03"),b=r.n(x),w=r("TSYQ"),_=r.n(w),T=r("r/2G"),S=r.n(T),E=r("XzQk"),I=r.n(E),O=r("kbBi"),F=r.n(O),k=r("1OyB"),M=r("vuIU"),P=r("Ji7U"),V=r("LK+K"),D=r("rePB"),H=r("VTBJ"),U=r("ODXe"),z=r("6cGi"),K=r("U8pU"),G=r("4IlW"),X=o.createContext({}),Z=X,ee={visibility:"hidden"};function Se(Ze){var Ht=Ze.prefixCls,sr=Ze.prevIcon,er=sr===void 0?"\u2039":sr,Lr=Ze.nextIcon,Or=Lr===void 0?"\u203A":Lr,qr=Ze.superPrevIcon,Hr=qr===void 0?"\xAB":qr,un=Ze.superNextIcon,fn=un===void 0?"\xBB":un,yn=Ze.onSuperPrev,St=Ze.onSuperNext,qt=Ze.onPrev,ur=Ze.onNext,yr=Ze.children,Ur=o.useContext(Z),Zr=Ur.hideNextBtn,cn=Ur.hidePrevBtn;return o.createElement("div",{className:Ht},yn&&o.createElement("button",{type:"button",onClick:yn,tabIndex:-1,className:"".concat(Ht,"-super-prev-btn"),style:cn?ee:{}},Hr),qt&&o.createElement("button",{type:"button",onClick:qt,tabIndex:-1,className:"".concat(Ht,"-prev-btn"),style:cn?ee:{}},er),o.createElement("div",{className:"".concat(Ht,"-view")},yr),ur&&o.createElement("button",{type:"button",onClick:ur,tabIndex:-1,className:"".concat(Ht,"-next-btn"),style:Zr?ee:{}},Or),St&&o.createElement("button",{type:"button",onClick:St,tabIndex:-1,className:"".concat(Ht,"-super-next-btn"),style:Zr?ee:{}},fn))}var $=Se;function pe(Ze){var Ht=o.useContext(Z),sr=Ht.hideHeader;if(sr)return null;var er=Ze.prefixCls,Lr=Ze.generateConfig,Or=Ze.locale,qr=Ze.value,Hr=Ze.format,un="".concat(er,"-header");return o.createElement($,{prefixCls:un},qr?Lr.locale.format(Or.locale,qr,Hr):"\xA0")}var xe=pe,_e=r("YrtM"),Ue=r("KQm4"),ye=new Map;function Be(Ze,Ht,sr){if(ye.get(Ze)&&cancelAnimationFrame(ye.get(Ze)),sr<=0){ye.set(Ze,requestAnimationFrame(function(){Ze.scrollTop=Ht}));return}var er=Ht-Ze.scrollTop,Lr=er/sr*10;ye.set(Ze,requestAnimationFrame(function(){Ze.scrollTop+=Lr,Ze.scrollTop!==Ht&&Be(Ze,Ht,sr-10)}))}function Q(Ze,Ht){var sr=Ht.onLeftRight,er=Ht.onCtrlLeftRight,Lr=Ht.onUpDown,Or=Ht.onPageUpDown,qr=Ht.onEnter,Hr=Ze.which,un=Ze.ctrlKey,fn=Ze.metaKey;switch(Hr){case G.a.LEFT:if(un||fn){if(er)return er(-1),!0}else if(sr)return sr(-1),!0;break;case G.a.RIGHT:if(un||fn){if(er)return er(1),!0}else if(sr)return sr(1),!0;break;case G.a.UP:if(Lr)return Lr(-1),!0;break;case G.a.DOWN:if(Lr)return Lr(1),!0;break;case G.a.PAGE_UP:if(Or)return Or(-1),!0;break;case G.a.PAGE_DOWN:if(Or)return Or(1),!0;break;case G.a.ENTER:if(qr)return qr(),!0;break}return!1}function ie(Ze,Ht,sr,er){var Lr=Ze;if(!Lr)switch(Ht){case"time":Lr=er?"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=sr?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Lr}function Ve(Ze,Ht){var sr=Ze==="time"?8:10;return Math.max(sr,Ht.length)+2}var J=null,W=new Set;function j(Ze){return!J&&typeof window!="undefined"&&window.addEventListener&&(J=function(sr){Object(Ue.a)(W).forEach(function(er){er(sr)})},window.addEventListener("mousedown",J)),W.add(Ze),function(){W.delete(Ze),W.size===0&&(window.removeEventListener("mousedown",J),J=null)}}var Y=function(Ht){return Ht==="month"||Ht==="date"?"year":Ht},me=function(Ht){return Ht==="date"?"month":Ht},ae=function(Ht){return Ht==="month"||Ht==="date"?"quarter":Ht},Le=function(Ht){return Ht==="date"?"week":Ht},Ee={year:Y,month:me,quarter:ae,week:Le,time:null,date:null};function ne(Ze,Ht){return Ze.some(function(sr){return sr&&sr.contains(Ht)})}function ge(Ze){var Ht=Ze.prefixCls,sr=Ze.units,er=Ze.onSelect,Lr=Ze.value,Or=Ze.active,qr=Ze.hideDisabledOptions,Hr="".concat(Ht,"-cell"),un=o.useContext(Z),fn=un.open,yn=o.useRef(null),St=o.useRef(new Map);return o.useLayoutEffect(function(){var qt=St.current.get(Lr);qt&&fn!==!1&&Be(yn.current,qt.offsetTop,120)},[Lr]),o.useLayoutEffect(function(){if(fn){var qt=St.current.get(Lr);qt&&Be(yn.current,qt.offsetTop,0)}},[fn]),o.createElement("ul",{className:_()("".concat(Ht,"-column"),Object(D.a)({},"".concat(Ht,"-column-active"),Or)),ref:yn,style:{position:"relative"}},sr.map(function(qt){var ur;return qr&&qt.disabled?null:o.createElement("li",{key:qt.value,ref:function(Ur){St.current.set(qt.value,Ur)},className:_()(Hr,(ur={},Object(D.a)(ur,"".concat(Hr,"-disabled"),qt.disabled),Object(D.a)(ur,"".concat(Hr,"-selected"),Lr===qt.value),ur)),onClick:function(){if(qt.disabled)return;er(qt.value)}},o.createElement("div",{className:"".concat(Hr,"-inner")},qt.label))}))}var Ie=ge;function Ge(Ze,Ht){for(var sr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",er=String(Ze);er.length<Ht;)er="".concat(sr).concat(Ze);return er}var ut=function(){for(var Ht=arguments.length,sr=new Array(Ht),er=0;er<Ht;er++)sr[er]=arguments[er];return sr};function wt(Ze){return Ze==null?[]:Array.isArray(Ze)?Ze:[Ze]}function Pe(Ze){var Ht={};return Object.keys(Ze).forEach(function(sr){(sr.substr(0,5)==="data-"||sr.substr(0,5)==="aria-"||sr==="role"||sr==="name")&&sr.substr(0,7)!=="data-__"&&(Ht[sr]=Ze[sr])}),Ht}function Dt(Ze,Ht){return Ze?Ze[Ht]:null}function et(Ze,Ht,sr){var er=[Dt(Ze,0),Dt(Ze,1)];return er[sr]=typeof Ht=="function"?Ht(er[sr]):Ht,!er[0]&&!er[1]?null:er}function _t(Ze,Ht,sr,er,Lr){var Or=Ze.setHour(Ht,sr);return Or=Ze.setMinute(Or,er),Or=Ze.setSecond(Or,Lr),Or}function Nt(Ze,Ht,sr,er,Lr,Or){var qr=Math.floor(Ze/er)*er;if(qr<Ze)return[qr,60-Lr,60-Or];var Hr=Math.floor(Ht/Lr)*Lr;if(Hr<Ht)return[qr,Hr,60-Or];var un=Math.floor(sr/Or)*Or;return[qr,Hr,un]}function Bt(Ze,Ht){if(Ze.length!==Ht.length)return!0;for(var sr=0;sr<Ze.length;sr+=1)if(Ze[sr].disabled!==Ht[sr].disabled)return!0;return!1}function Ft(Ze,Ht,sr,er){for(var Lr=[],Or=Ze;Or<=Ht;Or+=sr)Lr.push({label:Ge(Or,2),value:Or,disabled:(er||[]).includes(Or)});return Lr}function Gt(Ze){var Ht=Ze.generateConfig,sr=Ze.prefixCls,er=Ze.operationRef,Lr=Ze.activeColumnIndex,Or=Ze.value,qr=Ze.showHour,Hr=Ze.showMinute,un=Ze.showSecond,fn=Ze.use12Hours,yn=Ze.hourStep,St=yn===void 0?1:yn,qt=Ze.minuteStep,ur=qt===void 0?1:qt,yr=Ze.secondStep,Ur=yr===void 0?1:yr,Zr=Ze.disabledHours,cn=Ze.disabledMinutes,_n=Ze.disabledSeconds,Fn=Ze.hideDisabledOptions,qn=Ze.onSelect,Wn=[],Rn="".concat(sr,"-content"),Kn="".concat(sr,"-time-panel"),Gn,In=Or?Ht.getHour(Or):-1,kn=Or?Ht.getMinute(Or):-1,ti=Or?Ht.getSecond(Or):-1,or=function(xn,Cn,jn,di){var Ei=Or||Ht.getNow(),Ii=Math.max(0,Cn),vi=Math.max(0,jn),wi=Math.max(0,di);return Ei=_t(Ht,Ei,!fn||!xn?Ii:Ii+12,vi,wi),Ei},br=Ft(0,23,St,Zr&&Zr()),Mr=Object(_e.a)(function(){return br},br,Bt);fn&&(Gn=In>=12,In%=12);var Sr=o.useMemo(function(){if(!fn)return[!1,!1];var An=[!0,!0];return Mr.forEach(function(xn){var Cn=xn.disabled,jn=xn.value;if(Cn)return;jn>=12?An[1]=!1:An[0]=!1}),An},[fn,Mr]),Wt=Object(U.a)(Sr,2),fr=Wt[0],Jt=Wt[1],Tr=o.useMemo(function(){return fn?Mr.filter(Gn?function(An){return An.value>=12}:function(An){return An.value<12}).map(function(An){var xn=An.value%12,Cn=xn===0?"12":Ge(xn,2);return Object(H.a)(Object(H.a)({},An),{},{label:Cn,value:xn})}):Mr},[fn,Mr]),_r=Ft(0,59,ur,cn&&cn(In)),Qr=Ft(0,59,Ur,_n&&_n(In,kn));er.current={onUpDown:function(xn){var Cn=Wn[Lr];if(Cn)for(var jn=Cn.units.findIndex(function(vi){return vi.value===Cn.value}),di=Cn.units.length,Ei=1;Ei<di;Ei+=1){var Ii=Cn.units[(jn+xn*Ei+di)%di];if(Ii.disabled!==!0){Cn.onSelect(Ii.value);break}}}};function Kr(An,xn,Cn,jn,di){An!==!1&&Wn.push({node:o.cloneElement(xn,{prefixCls:Kn,value:Cn,active:Lr===Wn.length,onSelect:di,units:jn,hideDisabledOptions:Fn}),onSelect:di,value:Cn,units:jn})}Kr(qr,o.createElement(Ie,{key:"hour"}),In,Tr,function(An){qn(or(Gn,An,kn,ti),"mouse")}),Kr(Hr,o.createElement(Ie,{key:"minute"}),kn,_r,function(An){qn(or(Gn,In,An,ti),"mouse")}),Kr(un,o.createElement(Ie,{key:"second"}),ti,Qr,function(An){qn(or(Gn,In,kn,An),"mouse")});var en=-1;return typeof Gn=="boolean"&&(en=Gn?1:0),Kr(fn===!0,o.createElement(Ie,{key:"12hours"}),en,[{label:"AM",value:0,disabled:fr},{label:"PM",value:1,disabled:Jt}],function(An){qn(or(!!An,In,kn,ti),"mouse")}),o.createElement("div",{className:Rn},Wn.map(function(An){var xn=An.node;return xn}))}var qe=Gt,we=function(Ht){return Ht.filter(function(sr){return sr!==!1}).length};function ue(Ze){var Ht=Ze.generateConfig,sr=Ze.format,er=sr===void 0?"HH:mm:ss":sr,Lr=Ze.prefixCls,Or=Ze.active,qr=Ze.operationRef,Hr=Ze.showHour,un=Ze.showMinute,fn=Ze.showSecond,yn=Ze.use12Hours,St=yn===void 0?!1:yn,qt=Ze.onSelect,ur=Ze.value,yr="".concat(Lr,"-time-panel"),Ur=o.useRef(),Zr=o.useState(-1),cn=Object(U.a)(Zr,2),_n=cn[0],Fn=cn[1],qn=we([Hr,un,fn,St]);return qr.current={onKeyDown:function(Rn){return Q(Rn,{onLeftRight:function(Gn){Fn((_n+Gn+qn)%qn)},onUpDown:function(Gn){_n===-1?Fn(0):Ur.current&&Ur.current.onUpDown(Gn)},onEnter:function(){qt(ur||Ht.getNow(),"key"),Fn(-1)}})},onBlur:function(){Fn(-1)}},o.createElement("div",{className:_()(yr,Object(D.a)({},"".concat(yr,"-active"),Or))},o.createElement(xe,Object.assign({},Ze,{format:er,prefixCls:Lr})),o.createElement(qe,Object.assign({},Ze,{prefixCls:Lr,activeColumnIndex:_n,operationRef:Ur})))}var vt=ue,at=7;function Ae(Ze,Ht){return!Ze&&!Ht?!0:!Ze||!Ht?!1:void 0}function Xt(Ze,Ht,sr){var er=Ae(Ht,sr);if(typeof er=="boolean")return er;var Lr=Math.floor(Ze.getYear(Ht)/10),Or=Math.floor(Ze.getYear(sr)/10);return Lr===Or}function Ot(Ze,Ht,sr){var er=Ae(Ht,sr);return typeof er=="boolean"?er:Ze.getYear(Ht)===Ze.getYear(sr)}function rt(Ze,Ht){var sr=Math.floor(Ze.getMonth(Ht)/3);return sr+1}function Et(Ze,Ht,sr){var er=Ae(Ht,sr);return typeof er=="boolean"?er:Ot(Ze,Ht,sr)&&rt(Ze,Ht)===rt(Ze,sr)}function Zt(Ze,Ht,sr){var er=Ae(Ht,sr);return typeof er=="boolean"?er:Ot(Ze,Ht,sr)&&Ze.getMonth(Ht)===Ze.getMonth(sr)}function vr(Ze,Ht,sr){var er=Ae(Ht,sr);return typeof er=="boolean"?er:Ze.getYear(Ht)===Ze.getYear(sr)&&Ze.getMonth(Ht)===Ze.getMonth(sr)&&Ze.getDate(Ht)===Ze.getDate(sr)}function mt(Ze,Ht,sr){var er=Ae(Ht,sr);return typeof er=="boolean"?er:Ze.getHour(Ht)===Ze.getHour(sr)&&Ze.getMinute(Ht)===Ze.getMinute(sr)&&Ze.getSecond(Ht)===Ze.getSecond(sr)}function ce(Ze,Ht,sr,er){var Lr=Ae(sr,er);return typeof Lr=="boolean"?Lr:Ze.locale.getWeek(Ht,sr)===Ze.locale.getWeek(Ht,er)}function le(Ze,Ht,sr){return vr(Ze,Ht,sr)&&mt(Ze,Ht,sr)}function oe(Ze,Ht,sr,er){return!Ht||!sr||!er?!1:!vr(Ze,Ht,er)&&!vr(Ze,sr,er)&&Ze.isAfter(er,Ht)&&Ze.isAfter(sr,er)}function fe(Ze,Ht,sr){var er=Ht.locale.getWeekFirstDay(Ze),Lr=Ht.setDate(sr,1),Or=Ht.getWeekDay(Lr),qr=Ht.addDate(Lr,er-Or);return Ht.getMonth(qr)===Ht.getMonth(sr)&&Ht.getDate(qr)>1&&(qr=Ht.addDate(qr,-7)),qr}function De(Ze,Ht,sr){var er=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(Ht){case"year":return sr.addYear(Ze,er*10);case"quarter":case"month":return sr.addYear(Ze,er);default:return sr.addMonth(Ze,er)}}var He=o.createContext({}),je=He;function We(Ze){var Ht=Ze.cellPrefixCls,sr=Ze.generateConfig,er=Ze.rangedValue,Lr=Ze.hoverRangedValue,Or=Ze.isInView,qr=Ze.isSameCell,Hr=Ze.offsetCell,un=Ze.today,fn=Ze.value;function yn(St){var qt,ur=Hr(St,-1),yr=Hr(St,1),Ur=Dt(er,0),Zr=Dt(er,1),cn=Dt(Lr,0),_n=Dt(Lr,1),Fn=oe(sr,cn,_n,St);function qn(kn){return qr(Ur,kn)}function Wn(kn){return qr(Zr,kn)}var Rn=qr(cn,St),Kn=qr(_n,St),Gn=(Fn||Kn)&&(!Or(ur)||Wn(ur)),In=(Fn||Rn)&&(!Or(yr)||qn(yr));return qt={},Object(D.a)(qt,"".concat(Ht,"-in-view"),Or(St)),Object(D.a)(qt,"".concat(Ht,"-in-range"),oe(sr,Ur,Zr,St)),Object(D.a)(qt,"".concat(Ht,"-range-start"),qn(St)),Object(D.a)(qt,"".concat(Ht,"-range-end"),Wn(St)),Object(D.a)(qt,"".concat(Ht,"-range-start-single"),qn(St)&&!Zr),Object(D.a)(qt,"".concat(Ht,"-range-end-single"),Wn(St)&&!Ur),Object(D.a)(qt,"".concat(Ht,"-range-start-near-hover"),qn(St)&&(qr(ur,cn)||oe(sr,cn,_n,ur))),Object(D.a)(qt,"".concat(Ht,"-range-end-near-hover"),Wn(St)&&(qr(yr,_n)||oe(sr,cn,_n,yr))),Object(D.a)(qt,"".concat(Ht,"-range-hover"),Fn),Object(D.a)(qt,"".concat(Ht,"-range-hover-start"),Rn),Object(D.a)(qt,"".concat(Ht,"-range-hover-end"),Kn),Object(D.a)(qt,"".concat(Ht,"-range-hover-edge-start"),Gn),Object(D.a)(qt,"".concat(Ht,"-range-hover-edge-end"),In),Object(D.a)(qt,"".concat(Ht,"-range-hover-edge-start-near-range"),Gn&&qr(ur,Zr)),Object(D.a)(qt,"".concat(Ht,"-range-hover-edge-end-near-range"),In&&qr(yr,Ur)),Object(D.a)(qt,"".concat(Ht,"-today"),qr(un,St)),Object(D.a)(qt,"".concat(Ht,"-selected"),qr(fn,St)),qt}return yn}function nt(Ze){for(var Ht=Ze.prefixCls,sr=Ze.disabledDate,er=Ze.onSelect,Lr=Ze.rowNum,Or=Ze.colNum,qr=Ze.prefixColumn,Hr=Ze.rowClassName,un=Ze.baseDate,fn=Ze.getCellClassName,yn=Ze.getCellText,St=Ze.getCellNode,qt=Ze.getCellDate,ur=Ze.titleCell,yr=Ze.headerCells,Ur=o.useContext(Z),Zr=Ur.onDateMouseEnter,cn=Ur.onDateMouseLeave,_n="".concat(Ht,"-cell"),Fn=[],qn=0;qn<Lr;qn+=1){for(var Wn=[],Rn=void 0,Kn=function(kn){var ti=qn*Or+kn,or=qt(un,ti),br=sr&&sr(or);kn===0&&(Rn=or,qr&&Wn.push(qr(Rn))),Wn.push(o.createElement("td",{key:kn,title:ur&&ur(or),className:_()(_n,Object(H.a)(Object(D.a)({},"".concat(_n,"-disabled"),br),fn(or))),onClick:function(){br||er(or)},onMouseEnter:function(){!br&&Zr&&Zr(or)},onMouseLeave:function(){!br&&cn&&cn(or)}},St?St(or):o.createElement("div",{className:"".concat(_n,"-inner")},yn(or))))},Gn=0;Gn<Or;Gn+=1)Kn(Gn);Fn.push(o.createElement("tr",{key:qn,className:Hr&&Hr(Rn)},Wn))}return o.createElement("div",{className:"".concat(Ht,"-body")},o.createElement("table",{className:"".concat(Ht,"-content")},yr&&o.createElement("thead",null,o.createElement("tr",null,yr)),o.createElement("tbody",null,Fn)))}function xt(Ze){var Ht=Ze.prefixCls,sr=Ze.generateConfig,er=Ze.prefixColumn,Lr=Ze.locale,Or=Ze.rowCount,qr=Ze.viewDate,Hr=Ze.value,un=Ze.dateRender,fn=o.useContext(je),yn=fn.rangedValue,St=fn.hoverRangedValue,qt=fe(Lr.locale,sr,qr),ur="".concat(Ht,"-cell"),yr=sr.locale.getWeekFirstDay(Lr.locale),Ur=sr.getNow(),Zr=[],cn=Lr.shortWeekDays||(sr.locale.getShortWeekDays?sr.locale.getShortWeekDays(Lr.locale):[]);er&&Zr.push(o.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var _n=0;_n<at;_n+=1)Zr.push(o.createElement("th",{key:_n},cn[(_n+yr)%at]));var Fn=We({cellPrefixCls:ur,today:Ur,value:Hr,generateConfig:sr,rangedValue:er?null:yn,hoverRangedValue:er?null:St,isSameCell:function(Rn,Kn){return vr(sr,Rn,Kn)},isInView:function(Rn){return Zt(sr,Rn,qr)},offsetCell:function(Rn,Kn){return sr.addDate(Rn,Kn)}}),qn=un?function(Wn){return un(Wn,Ur)}:void 0;return o.createElement(nt,Object.assign({},Ze,{rowNum:Or,colNum:at,baseDate:qt,getCellNode:qn,getCellText:sr.getDate,getCellClassName:Fn,getCellDate:sr.addDate,titleCell:function(Rn){return sr.locale.format(Lr.locale,Rn,"YYYY-MM-DD")},headerCells:Zr}))}var It=xt;function ir(Ze){var Ht=Ze.prefixCls,sr=Ze.generateConfig,er=Ze.locale,Lr=Ze.viewDate,Or=Ze.onNextMonth,qr=Ze.onPrevMonth,Hr=Ze.onNextYear,un=Ze.onPrevYear,fn=Ze.onYearClick,yn=Ze.onMonthClick,St=o.useContext(Z),qt=St.hideHeader;if(qt)return null;var ur="".concat(Ht,"-header"),yr=er.shortMonths||(sr.locale.getShortMonths?sr.locale.getShortMonths(er.locale):[]),Ur=sr.getMonth(Lr),Zr=o.createElement("button",{type:"button",key:"year",onClick:fn,tabIndex:-1,className:"".concat(Ht,"-year-btn")},sr.locale.format(er.locale,Lr,er.yearFormat)),cn=o.createElement("button",{type:"button",key:"month",onClick:yn,tabIndex:-1,className:"".concat(Ht,"-month-btn")},er.monthFormat?sr.locale.format(er.locale,Lr,er.monthFormat):yr[Ur]),_n=er.monthBeforeYear?[cn,Zr]:[Zr,cn];return o.createElement($,Object.assign({},Ze,{prefixCls:ur,onSuperPrev:un,onPrev:qr,onNext:Or,onSuperNext:Hr}),_n)}var Me=ir,ke=6;function re(Ze){var Ht=Ze.prefixCls,sr=Ze.panelName,er=sr===void 0?"date":sr,Lr=Ze.keyboardConfig,Or=Ze.active,qr=Ze.operationRef,Hr=Ze.generateConfig,un=Ze.value,fn=Ze.viewDate,yn=Ze.onViewDateChange,St=Ze.onPanelChange,qt=Ze.onSelect,ur="".concat(Ht,"-").concat(er,"-panel");qr.current={onKeyDown:function(cn){return Q(cn,Object(H.a)({onLeftRight:function(Fn){qt(Hr.addDate(un||fn,Fn),"key")},onCtrlLeftRight:function(Fn){qt(Hr.addYear(un||fn,Fn),"key")},onUpDown:function(Fn){qt(Hr.addDate(un||fn,Fn*at),"key")},onPageUpDown:function(Fn){qt(Hr.addMonth(un||fn,Fn),"key")}},Lr))}};var yr=function(cn){var _n=Hr.addYear(fn,cn);yn(_n),St(null,_n)},Ur=function(cn){var _n=Hr.addMonth(fn,cn);yn(_n),St(null,_n)};return o.createElement("div",{className:_()(ur,Object(D.a)({},"".concat(ur,"-active"),Or))},o.createElement(Me,Object.assign({},Ze,{prefixCls:Ht,value:un,viewDate:fn,onPrevYear:function(){yr(-1)},onNextYear:function(){yr(1)},onPrevMonth:function(){Ur(-1)},onNextMonth:function(){Ur(1)},onMonthClick:function(){St("month",fn)},onYearClick:function(){St("year",fn)}})),o.createElement(It,Object.assign({},Ze,{onSelect:function(cn){return qt(cn,"mouse")},prefixCls:Ht,value:un,viewDate:fn,rowCount:ke})))}var be=re;function Ne(Ze,Ht,sr){if(!sr)return Ht;var er=Ht;return er=Ze.setHour(er,Ze.getHour(sr)),er=Ze.setMinute(er,Ze.getMinute(sr)),er=Ze.setSecond(er,Ze.getSecond(sr)),er}var Ke=ut("date","time");function Qe(Ze){var Ht=Ze.prefixCls,sr=Ze.operationRef,er=Ze.generateConfig,Lr=Ze.value,Or=Ze.defaultValue,qr=Ze.disabledTime,Hr=Ze.showTime,un=Ze.onSelect,fn="".concat(Ht,"-datetime-panel"),yn=o.useState(null),St=Object(U.a)(yn,2),qt=St[0],ur=St[1],yr=o.useRef({}),Ur=o.useRef({}),Zr=Object(K.a)(Hr)==="object"?Object(H.a)({},Hr):{};function cn(Wn){var Rn=Ke.indexOf(qt)+Wn,Kn=Ke[Rn]||null;return Kn}var _n=function(Rn){Ur.current.onBlur&&Ur.current.onBlur(Rn),ur(null)};sr.current={onKeyDown:function(Rn){if(Rn.which===G.a.TAB){var Kn=cn(Rn.shiftKey?-1:1);return ur(Kn),Kn&&Rn.preventDefault(),!0}if(qt){var Gn=qt==="date"?yr:Ur;return Gn.current&&Gn.current.onKeyDown&&Gn.current.onKeyDown(Rn),!0}return[G.a.LEFT,G.a.RIGHT,G.a.UP,G.a.DOWN].includes(Rn.which)?(ur("date"),!0):!1},onBlur:_n,onClose:_n};var Fn=function(Rn,Kn){var Gn=Rn;Kn==="date"&&!Lr&&Zr.defaultValue?(Gn=er.setHour(Gn,er.getHour(Zr.defaultValue)),Gn=er.setMinute(Gn,er.getMinute(Zr.defaultValue)),Gn=er.setSecond(Gn,er.getSecond(Zr.defaultValue))):Kn==="time"&&!Lr&&Or&&(Gn=er.setYear(Gn,er.getYear(Or)),Gn=er.setMonth(Gn,er.getMonth(Or)),Gn=er.setDate(Gn,er.getDate(Or))),un&&un(Gn,"mouse")},qn=qr?qr(Lr||null):{};return o.createElement("div",{className:_()(fn,Object(D.a)({},"".concat(fn,"-active"),qt))},o.createElement(be,Object.assign({},Ze,{operationRef:yr,active:qt==="date",onSelect:function(Rn){Fn(Ne(er,Rn,Hr&&Object(K.a)(Hr)==="object"?Hr.defaultValue:null),"date")}})),o.createElement(vt,Object.assign({},Ze,{format:void 0},Zr,qn,{defaultValue:void 0,operationRef:Ur,active:qt==="time",onSelect:function(Rn){Fn(Rn,"time")}})))}var ct=Qe;function Lt(Ze){var Ht=Ze.prefixCls,sr=Ze.generateConfig,er=Ze.locale,Lr=Ze.value,Or="".concat(Ht,"-cell"),qr=function(yn){return o.createElement("td",{key:"week",className:_()(Or,"".concat(Or,"-week"))},sr.locale.getWeek(er.locale,yn))},Hr="".concat(Ht,"-week-panel-row"),un=function(yn){return _()(Hr,Object(D.a)({},"".concat(Hr,"-selected"),ce(sr,er.locale,Lr,yn)))};return o.createElement(be,Object.assign({},Ze,{panelName:"week",prefixColumn:qr,rowClassName:un,keyboardConfig:{onLeftRight:null}}))}var rr=Lt;function dr(Ze){var Ht=Ze.prefixCls,sr=Ze.generateConfig,er=Ze.locale,Lr=Ze.viewDate,Or=Ze.onNextYear,qr=Ze.onPrevYear,Hr=Ze.onYearClick,un=o.useContext(Z),fn=un.hideHeader;if(fn)return null;var yn="".concat(Ht,"-header");return o.createElement($,Object.assign({},Ze,{prefixCls:yn,onSuperPrev:qr,onSuperNext:Or}),o.createElement("button",{type:"button",onClick:Hr,className:"".concat(Ht,"-year-btn")},sr.locale.format(er.locale,Lr,er.yearFormat)))}var Pt=dr,jt=3,Ct=4;function Rt(Ze){var Ht=Ze.prefixCls,sr=Ze.locale,er=Ze.value,Lr=Ze.viewDate,Or=Ze.generateConfig,qr=Ze.monthCellRender,Hr=o.useContext(je),un=Hr.rangedValue,fn=Hr.hoverRangedValue,yn="".concat(Ht,"-cell"),St=We({cellPrefixCls:yn,value:er,generateConfig:Or,rangedValue:un,hoverRangedValue:fn,isSameCell:function(Zr,cn){return Zt(Or,Zr,cn)},isInView:function(){return!0},offsetCell:function(Zr,cn){return Or.addMonth(Zr,cn)}}),qt=sr.shortMonths||(Or.locale.getShortMonths?Or.locale.getShortMonths(sr.locale):[]),ur=Or.setMonth(Lr,0),yr=qr?function(Ur){return qr(Ur,sr)}:void 0;return o.createElement(nt,Object.assign({},Ze,{rowNum:Ct,colNum:jt,baseDate:ur,getCellNode:yr,getCellText:function(Zr){return sr.monthFormat?Or.locale.format(sr.locale,Zr,sr.monthFormat):qt[Or.getMonth(Zr)]},getCellClassName:St,getCellDate:Or.addMonth,titleCell:function(Zr){return Or.locale.format(sr.locale,Zr,"YYYY-MM")}}))}var pt=Rt;function ot(Ze){var Ht=Ze.prefixCls,sr=Ze.operationRef,er=Ze.onViewDateChange,Lr=Ze.generateConfig,Or=Ze.value,qr=Ze.viewDate,Hr=Ze.onPanelChange,un=Ze.onSelect,fn="".concat(Ht,"-month-panel");sr.current={onKeyDown:function(qt){return Q(qt,{onLeftRight:function(yr){un(Lr.addMonth(Or||qr,yr),"key")},onCtrlLeftRight:function(yr){un(Lr.addYear(Or||qr,yr),"key")},onUpDown:function(yr){un(Lr.addMonth(Or||qr,yr*jt),"key")},onEnter:function(){Hr("date",Or||qr)}})}};var yn=function(qt){var ur=Lr.addYear(qr,qt);er(ur),Hr(null,ur)};return o.createElement("div",{className:fn},o.createElement(Pt,Object.assign({},Ze,{prefixCls:Ht,onPrevYear:function(){yn(-1)},onNextYear:function(){yn(1)},onYearClick:function(){Hr("year",qr)}})),o.createElement(pt,Object.assign({},Ze,{prefixCls:Ht,onSelect:function(qt){un(qt,"mouse"),Hr("date",qt)}})))}var gt=ot;function Ye(Ze){var Ht=Ze.prefixCls,sr=Ze.generateConfig,er=Ze.locale,Lr=Ze.viewDate,Or=Ze.onNextYear,qr=Ze.onPrevYear,Hr=Ze.onYearClick,un=o.useContext(Z),fn=un.hideHeader;if(fn)return null;var yn="".concat(Ht,"-header");return o.createElement($,Object.assign({},Ze,{prefixCls:yn,onSuperPrev:qr,onSuperNext:Or}),o.createElement("button",{type:"button",onClick:Hr,className:"".concat(Ht,"-year-btn")},sr.locale.format(er.locale,Lr,er.yearFormat)))}var $e=Ye,Je=4,it=1;function ft(Ze){var Ht=Ze.prefixCls,sr=Ze.locale,er=Ze.value,Lr=Ze.viewDate,Or=Ze.generateConfig,qr=o.useContext(je),Hr=qr.rangedValue,un=qr.hoverRangedValue,fn="".concat(Ht,"-cell"),yn=We({cellPrefixCls:fn,value:er,generateConfig:Or,rangedValue:Hr,hoverRangedValue:un,isSameCell:function(ur,yr){return Et(Or,ur,yr)},isInView:function(){return!0},offsetCell:function(ur,yr){return Or.addMonth(ur,yr*3)}}),St=Or.setDate(Or.setMonth(Lr,0),1);return o.createElement(nt,Object.assign({},Ze,{rowNum:it,colNum:Je,baseDate:St,getCellText:function(ur){return Or.locale.format(sr.locale,ur,sr.quarterFormat||"[Q]Q")},getCellClassName:yn,getCellDate:function(ur,yr){return Or.addMonth(ur,yr*3)},titleCell:function(ur){return Or.locale.format(sr.locale,ur,"YYYY-[Q]Q")}}))}var ht=ft;function st(Ze){var Ht=Ze.prefixCls,sr=Ze.operationRef,er=Ze.onViewDateChange,Lr=Ze.generateConfig,Or=Ze.value,qr=Ze.viewDate,Hr=Ze.onPanelChange,un=Ze.onSelect,fn="".concat(Ht,"-quarter-panel");sr.current={onKeyDown:function(qt){return Q(qt,{onLeftRight:function(yr){un(Lr.addMonth(Or||qr,yr*3),"key")},onCtrlLeftRight:function(yr){un(Lr.addYear(Or||qr,yr),"key")},onUpDown:function(yr){un(Lr.addYear(Or||qr,yr),"key")}})}};var yn=function(qt){var ur=Lr.addYear(qr,qt);er(ur),Hr(null,ur)};return o.createElement("div",{className:fn},o.createElement($e,Object.assign({},Ze,{prefixCls:Ht,onPrevYear:function(){yn(-1)},onNextYear:function(){yn(1)},onYearClick:function(){Hr("year",qr)}})),o.createElement(ht,Object.assign({},Ze,{prefixCls:Ht,onSelect:function(qt){un(qt,"mouse")}})))}var kt=st;function Tt(Ze){var Ht=Ze.prefixCls,sr=Ze.generateConfig,er=Ze.viewDate,Lr=Ze.onPrevDecade,Or=Ze.onNextDecade,qr=Ze.onDecadeClick,Hr=o.useContext(Z),un=Hr.hideHeader;if(un)return null;var fn="".concat(Ht,"-header"),yn=sr.getYear(er),St=Math.floor(yn/zr)*zr,qt=St+zr-1;return o.createElement($,Object.assign({},Ze,{prefixCls:fn,onSuperPrev:Lr,onSuperNext:Or}),o.createElement("button",{type:"button",onClick:qr,className:"".concat(Ht,"-decade-btn")},St,"-",qt))}var ar=Tt,Qt=3,Er=4;function Ir(Ze){var Ht=Ze.prefixCls,sr=Ze.value,er=Ze.viewDate,Lr=Ze.locale,Or=Ze.generateConfig,qr=o.useContext(je),Hr=qr.rangedValue,un=qr.hoverRangedValue,fn="".concat(Ht,"-cell"),yn=Or.getYear(er),St=Math.floor(yn/zr)*zr,qt=St+zr-1,ur=Or.setYear(er,St-Math.ceil((Qt*Er-zr)/2)),yr=function(cn){var _n=Or.getYear(cn);return St<=_n&&_n<=qt},Ur=We({cellPrefixCls:fn,value:sr,generateConfig:Or,rangedValue:Hr,hoverRangedValue:un,isSameCell:function(cn,_n){return Ot(Or,cn,_n)},isInView:yr,offsetCell:function(cn,_n){return Or.addYear(cn,_n)}});return o.createElement(nt,Object.assign({},Ze,{rowNum:Er,colNum:Qt,baseDate:ur,getCellText:Or.getYear,getCellClassName:Ur,getCellDate:Or.addYear,titleCell:function(cn){return Or.locale.format(Lr.locale,cn,"YYYY")}}))}var jr=Ir,zr=10;function hn(Ze){var Ht=Ze.prefixCls,sr=Ze.operationRef,er=Ze.onViewDateChange,Lr=Ze.generateConfig,Or=Ze.value,qr=Ze.viewDate,Hr=Ze.sourceMode,un=Ze.onSelect,fn=Ze.onPanelChange,yn="".concat(Ht,"-year-panel");sr.current={onKeyDown:function(ur){return Q(ur,{onLeftRight:function(Ur){un(Lr.addYear(Or||qr,Ur),"key")},onCtrlLeftRight:function(Ur){un(Lr.addYear(Or||qr,Ur*zr),"key")},onUpDown:function(Ur){un(Lr.addYear(Or||qr,Ur*Qt),"key")},onEnter:function(){fn(Hr==="date"?"date":"month",Or||qr)}})}};var St=function(ur){var yr=Lr.addYear(qr,ur*10);er(yr),fn(null,yr)};return o.createElement("div",{className:yn},o.createElement(ar,Object.assign({},Ze,{prefixCls:Ht,onPrevDecade:function(){St(-1)},onNextDecade:function(){St(1)},onDecadeClick:function(){fn("decade",qr)}})),o.createElement(jr,Object.assign({},Ze,{prefixCls:Ht,onSelect:function(ur){fn(Hr==="date"?"date":"month",ur),un(ur,"mouse")}})))}var gn=hn;function Br(Ze){var Ht=Ze.prefixCls,sr=Ze.generateConfig,er=Ze.viewDate,Lr=Ze.onPrevDecades,Or=Ze.onNextDecades,qr=o.useContext(Z),Hr=qr.hideHeader;if(Hr)return null;var un="".concat(Ht,"-header"),fn=sr.getYear(er),yn=Math.floor(fn/kr)*kr,St=yn+kr-1;return o.createElement($,Object.assign({},Ze,{prefixCls:un,onSuperPrev:Lr,onSuperNext:Or}),yn,"-",St)}var ln=Br,Xr=3,cr=4;function wr(Ze){var Ht=Ar-1,sr=Ze.prefixCls,er=Ze.viewDate,Lr=Ze.generateConfig,Or=Ze.disabledDate,qr="".concat(sr,"-cell"),Hr=Lr.getYear(er),un=Math.floor(Hr/Ar)*Ar,fn=Math.floor(Hr/kr)*kr,yn=fn+kr-1,St=Lr.setYear(er,fn-Math.ceil((Xr*cr*Ar-kr)/2)),qt=function(yr){var Ur,Zr=Or&&Or(yr),cn=Lr.getYear(yr),_n=cn+Ht;return Ur={},Object(D.a)(Ur,"".concat(qr,"-disabled"),Zr),Object(D.a)(Ur,"".concat(qr,"-in-view"),fn<=cn&&_n<=yn),Object(D.a)(Ur,"".concat(qr,"-selected"),cn===un),Ur};return o.createElement(nt,Object.assign({},Ze,{rowNum:cr,colNum:Xr,baseDate:St,getCellText:function(yr){var Ur=Lr.getYear(yr);return"".concat(Ur,"-").concat(Ur+Ht)},getCellClassName:qt,getCellDate:function(yr,Ur){return Lr.addYear(yr,Ur*Ar)}}))}var hr=wr,Ar=10,kr=Ar*10;function nn(Ze){var Ht=Ze.prefixCls,sr=Ze.onViewDateChange,er=Ze.generateConfig,Lr=Ze.viewDate,Or=Ze.operationRef,qr=Ze.onSelect,Hr=Ze.onPanelChange,un="".concat(Ht,"-decade-panel");Or.current={onKeyDown:function(qt){return Q(qt,{onLeftRight:function(yr){qr(er.addYear(Lr,yr*Ar),"key")},onCtrlLeftRight:function(yr){qr(er.addYear(Lr,yr*kr),"key")},onUpDown:function(yr){qr(er.addYear(Lr,yr*Ar*Xr),"key")},onEnter:function(){Hr("year",Lr)}})}};var fn=function(qt){var ur=er.addYear(Lr,qt*kr);sr(ur),Hr(null,ur)},yn=function(qt){qr(qt,"mouse"),Hr("year",qt)};return o.createElement("div",{className:un},o.createElement(ln,Object.assign({},Ze,{prefixCls:Ht,onPrevDecades:function(){fn(-1)},onNextDecades:function(){fn(1)}})),o.createElement(hr,Object.assign({},Ze,{prefixCls:Ht,onSelect:yn})))}var wn=nn;function oi(Ze,Ht,sr){return sr?o.createElement("div",{className:"".concat(Ze,"-footer-extra")},sr(Ht)):null}function tn(Ze){var Ht=Ze.prefixCls,sr=Ze.rangeList,er=sr===void 0?[]:sr,Lr=Ze.components,Or=Lr===void 0?{}:Lr,qr=Ze.needConfirmButton,Hr=Ze.onNow,un=Ze.onOk,fn=Ze.okDisabled,yn=Ze.showNow,St=Ze.locale,qt,ur;if(er.length){var yr=Or.rangeItem||"span";qt=o.createElement(o.Fragment,null,er.map(function(Zr){var cn=Zr.label,_n=Zr.onClick,Fn=Zr.onMouseEnter,qn=Zr.onMouseLeave;return o.createElement("li",{key:cn,className:"".concat(Ht,"-preset")},o.createElement(yr,{onClick:_n,onMouseEnter:Fn,onMouseLeave:qn},cn))}))}if(qr){var Ur=Or.button||"button";Hr&&!qt&&yn!==!1&&(qt=o.createElement("li",{className:"".concat(Ht,"-now")},o.createElement("a",{className:"".concat(Ht,"-now-btn"),onClick:Hr},St.now))),ur=qr&&o.createElement("li",{className:"".concat(Ht,"-ok")},o.createElement(Ur,{disabled:fn,onClick:un},St.ok))}return!qt&&!ur?null:o.createElement("ul",{className:"".concat(Ht,"-ranges")},qt,ur)}function Vn(Ze){var Ht,sr=Ze.prefixCls,er=sr===void 0?"rc-picker":sr,Lr=Ze.className,Or=Ze.style,qr=Ze.locale,Hr=Ze.generateConfig,un=Ze.value,fn=Ze.defaultValue,yn=Ze.pickerValue,St=Ze.defaultPickerValue,qt=Ze.disabledDate,ur=Ze.mode,yr=Ze.picker,Ur=yr===void 0?"date":yr,Zr=Ze.tabIndex,cn=Zr===void 0?0:Zr,_n=Ze.showNow,Fn=Ze.showTime,qn=Ze.showToday,Wn=Ze.renderExtraFooter,Rn=Ze.hideHeader,Kn=Ze.onSelect,Gn=Ze.onChange,In=Ze.onPanelChange,kn=Ze.onMouseDown,ti=Ze.onPickerValueChange,or=Ze.onOk,br=Ze.components,Mr=Ze.direction,Sr=Ze.hourStep,Wt=Sr===void 0?1:Sr,fr=Ze.minuteStep,Jt=fr===void 0?1:fr,Tr=Ze.secondStep,_r=Tr===void 0?1:Tr,Qr=Ur==="date"&&!!Fn||Ur==="time",Kr=24%Wt===0,en=60%Jt===0,An=60%_r===0,xn=o.useContext(Z),Cn=xn.operationRef,jn=xn.panelRef,di=xn.onSelect,Ei=xn.hideRanges,Ii=xn.defaultOpenValue,vi=o.useContext(je),wi=vi.inRange,ri=vi.panelPosition,Un=vi.rangedValue,ci=vi.hoverRangedValue,mi=o.useRef({}),Ki=o.useRef(!0),ii=Object(z.a)(null,{value:un,defaultValue:fn,postState:function(ji){return!ji&&Ii&&Ur==="time"?Ii:ji}}),fi=Object(U.a)(ii,2),pi=fi[0],ra=fi[1],ki=Object(z.a)(null,{value:yn,defaultValue:St||pi,postState:function(ji){return ji||Hr.getNow()}}),Zn=Object(U.a)(ki,2),Si=Zn[0],Yi=Zn[1],Pi=function(ji){Yi(ji),ti&&ti(ji)},Ci=function(ji){var Qi=Ee[Ur];return Qi?Qi(ji):ji},bi=Object(z.a)(function(){return Ur==="time"?"time":Ci("date")},{value:ur}),wa=Object(U.a)(bi,2),Zi=wa[0],ha=wa[1];o.useEffect(function(){ha(Ur)},[Ur]);var Ia=o.useState(function(){return Zi}),xi=Object(U.a)(Ia,2),Ba=xi[0],oa=xi[1],qi=function(ji,Qi){var uo=Ci(ji||Zi);oa(Zi),ha(uo),In&&(Zi!==uo||le(Hr,Si,Si))&&In(Qi,uo)},ga=function(ji,Qi){var uo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(Zi===Ur||uo)&&(ra(ji),Kn&&Kn(ji),di&&di(ji,Qi),Gn&&!le(Hr,ji,pi)&&Gn(ji))},na=function(ji){return mi.current&&mi.current.onKeyDown?([G.a.LEFT,G.a.RIGHT,G.a.UP,G.a.DOWN,G.a.PAGE_UP,G.a.PAGE_DOWN,G.a.ENTER].includes(ji.which)&&ji.preventDefault(),mi.current.onKeyDown(ji)):(Object(C.a)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},ca=function(ji){mi.current&&mi.current.onBlur&&mi.current.onBlur(ji)};Cn&&ri!=="right"&&(Cn.current={onKeyDown:na,onClose:function(){mi.current&&mi.current.onClose&&mi.current.onClose()}}),o.useEffect(function(){un&&!Ki.current&&Yi(un)},[un]),o.useEffect(function(){Ki.current=!1},[]);var Wa,Pa=Object(H.a)(Object(H.a)({},Ze),{},{operationRef:mi,prefixCls:er,viewDate:Si,value:pi,onViewDateChange:Pi,sourceMode:Ba,onPanelChange:qi,disabledDate:Zi!=="decade"?qt:void 0});delete Pa.onChange,delete Pa.onSelect;switch(Zi){case"decade":Wa=o.createElement(wn,Object.assign({},Pa,{onSelect:function(ji,Qi){Pi(ji),ga(ji,Qi)}}));break;case"year":Wa=o.createElement(gn,Object.assign({},Pa,{onSelect:function(ji,Qi){Pi(ji),ga(ji,Qi)}}));break;case"month":Wa=o.createElement(gt,Object.assign({},Pa,{onSelect:function(ji,Qi){Pi(ji),ga(ji,Qi)}}));break;case"quarter":Wa=o.createElement(kt,Object.assign({},Pa,{onSelect:function(ji,Qi){Pi(ji),ga(ji,Qi)}}));break;case"week":Wa=o.createElement(rr,Object.assign({},Pa,{onSelect:function(ji,Qi){Pi(ji),ga(ji,Qi)}}));break;case"time":delete Pa.showTime,Wa=o.createElement(vt,Object.assign({},Pa,Object(K.a)(Fn)==="object"?Fn:null,{onSelect:function(ji,Qi){Pi(ji),ga(ji,Qi)}}));break;default:Fn?Wa=o.createElement(ct,Object.assign({},Pa,{onSelect:function(ji,Qi){Pi(ji),ga(ji,Qi)}})):Wa=o.createElement(be,Object.assign({},Pa,{onSelect:function(ji,Qi){Pi(ji),ga(ji,Qi)}}))}var ro,Fa,Ua=function(){var ji=Hr.getNow(),Qi=Nt(Hr.getHour(ji),Hr.getMinute(ji),Hr.getSecond(ji),Kr?Wt:1,en?Jt:1,An?_r:1),uo=_t(Hr,ji,Qi[0],Qi[1],Qi[2]);ga(uo,"submit")};Ei||(ro=oi(er,Zi,Wn),Fa=tn({prefixCls:er,components:br,needConfirmButton:Qr,okDisabled:!pi||qt&&qt(pi),locale:qr,showNow:_n,onNow:Qr&&Ua,onOk:function(){pi&&(ga(pi,"submit",!0),or&&or(pi))}}));var Ya;if(qn&&Zi==="date"&&Ur==="date"&&!Fn){var Aa=Hr.getNow(),Ji="".concat(er,"-today-btn"),La=qt&&qt(Aa);Ya=o.createElement("a",{className:_()(Ji,La&&"".concat(Ji,"-disabled")),"aria-disabled":La,onClick:function(){La||ga(Aa,"mouse",!0)}},qr.today)}return o.createElement(Z.Provider,{value:Object(H.a)(Object(H.a)({},xn),{},{hideHeader:"hideHeader"in Ze?Rn:xn.hideHeader,hidePrevBtn:wi&&ri==="right",hideNextBtn:wi&&ri==="left"})},o.createElement("div",{tabIndex:cn,className:_()("".concat(er,"-panel"),Lr,(Ht={},Object(D.a)(Ht,"".concat(er,"-panel-has-range"),Un&&Un[0]&&Un[1]),Object(D.a)(Ht,"".concat(er,"-panel-has-range-hover"),ci&&ci[0]&&ci[1]),Object(D.a)(Ht,"".concat(er,"-panel-rtl"),Mr==="rtl"),Ht)),style:Or,onKeyDown:na,onBlur:ca,onMouseDown:kn,ref:jn},Wa,ro||Fa||Ya?o.createElement("div",{className:"".concat(er,"-footer")},ro,Fa,Ya):null))}var On=Vn,$n=r("uciX"),Qn={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 ei(Ze){var Ht,sr=Ze.prefixCls,er=Ze.popupElement,Lr=Ze.popupStyle,Or=Ze.visible,qr=Ze.dropdownClassName,Hr=Ze.dropdownAlign,un=Ze.transitionName,fn=Ze.getPopupContainer,yn=Ze.children,St=Ze.range,qt=Ze.popupPlacement,ur=Ze.direction,yr="".concat(sr,"-dropdown"),Ur=function(){return qt!==void 0?qt:ur==="rtl"?"bottomRight":"bottomLeft"};return o.createElement($n.a,{showAction:[],hideAction:[],popupPlacement:Ur(),builtinPlacements:Qn,prefixCls:yr,popupTransitionName:un,popup:er,popupAlign:Hr,popupVisible:Or,popupClassName:_()(qr,(Ht={},Object(D.a)(Ht,"".concat(yr,"-range"),St),Object(D.a)(Ht,"".concat(yr,"-rtl"),ur==="rtl"),Ht)),popupStyle:Lr,getPopupContainer:fn},yn)}var zi=ei;function hi(Ze){var Ht=Ze.open,sr=Ze.value,er=Ze.isClickOutside,Lr=Ze.triggerOpen,Or=Ze.forwardKeyDown,qr=Ze.blurToCancel,Hr=Ze.onSubmit,un=Ze.onCancel,fn=Ze.onFocus,yn=Ze.onBlur,St=Object(o.useState)(!1),qt=Object(U.a)(St,2),ur=qt[0],yr=qt[1],Ur=Object(o.useState)(!1),Zr=Object(U.a)(Ur,2),cn=Zr[0],_n=Zr[1],Fn=Object(o.useRef)(!1),qn=Object(o.useRef)(!1),Wn={onMouseDown:function(){yr(!0),Lr(!0)},onKeyDown:function(Kn){switch(Kn.which){case G.a.ENTER:{Ht?Hr()!==!1&&yr(!0):Lr(!0),Kn.preventDefault();return}case G.a.TAB:{ur&&Ht&&!Kn.shiftKey?(yr(!1),Kn.preventDefault()):!ur&&Ht&&(!Or(Kn)&&Kn.shiftKey&&(yr(!0),Kn.preventDefault()));return}case G.a.ESC:{yr(!0),un();return}}!Ht&&![G.a.SHIFT].includes(Kn.which)?Lr(!0):ur||Or(Kn)},onFocus:function(Kn){yr(!0),_n(!0),fn&&fn(Kn)},onBlur:function(Kn){if(Fn.current||!er(document.activeElement)){Fn.current=!1;return}qr?setTimeout(function(){er(document.activeElement)&&un()},0):Ht&&(Lr(!1),qn.current&&Hr()),_n(!1),yn&&yn(Kn)}};return Object(o.useEffect)(function(){qn.current=!1},[Ht]),Object(o.useEffect)(function(){qn.current=!0},[sr]),Object(o.useEffect)(function(){return j(function(Rn){var Kn=Rn.target;Ht&&(er(Kn)?cn||Lr(!1):(Fn.current=!0,requestAnimationFrame(function(){Fn.current=!1})))})}),[Wn,{focused:cn,typing:ur}]}function Bn(Ze){var Ht=Ze.valueTexts,sr=Ze.onTextChange,er=o.useState(""),Lr=Object(U.a)(er,2),Or=Lr[0],qr=Lr[1],Hr=o.useRef([]);Hr.current=Ht;function un(yn){qr(yn),sr(yn)}function fn(){qr(Hr.current[0])}return o.useEffect(function(){Ht.every(function(yn){return yn!==Or})&&fn()},[Ht.join("||")]),[Or,un,fn]}var sn=r("Gytx"),ta=r.n(sn);function ua(Ze,Ht){var sr=Ht.formatList,er=Ht.generateConfig,Lr=Ht.locale;return Object(_e.a)(function(){if(!Ze)return[[""],""];for(var Or="",qr=[],Hr=0;Hr<sr.length;Hr+=1){var un=sr[Hr],fn=er.locale.format(Lr.locale,Ze,un);qr.push(fn),Hr===0&&(Or=fn)}return[qr,Or]},[Ze,sr],function(Or,qr){return Or[0]!==qr[0]||!ta()(Or[1],qr[1])})}function fa(Ze,Ht){var sr=Ht.formatList,er=Ht.generateConfig,Lr=Ht.locale,Or=Object(o.useState)(null),qr=Object(U.a)(Or,2),Hr=qr[0],un=qr[1],fn=Object(o.useRef)(null);function yn(Zr){var cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(fn.current),cn){un(Zr);return}fn.current=requestAnimationFrame(function(){un(Zr)})}var St=ua(Hr,{formatList:sr,generateConfig:er,locale:Lr}),qt=Object(U.a)(St,2),ur=qt[1];function yr(Zr){yn(Zr)}function Ur(){var Zr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;yn(null,Zr)}return Object(o.useEffect)(function(){Ur(!0)},[Ze]),Object(o.useEffect)(function(){return function(){return cancelAnimationFrame(fn.current)}},[]),[ur,yr,Ur]}function Bi(Ze){var Ht,sr=Ze.prefixCls,er=sr===void 0?"rc-picker":sr,Lr=Ze.id,Or=Ze.tabIndex,qr=Ze.style,Hr=Ze.className,un=Ze.dropdownClassName,fn=Ze.dropdownAlign,yn=Ze.popupStyle,St=Ze.transitionName,qt=Ze.generateConfig,ur=Ze.locale,yr=Ze.inputReadOnly,Ur=Ze.allowClear,Zr=Ze.autoFocus,cn=Ze.showTime,_n=Ze.picker,Fn=_n===void 0?"date":_n,qn=Ze.format,Wn=Ze.use12Hours,Rn=Ze.value,Kn=Ze.defaultValue,Gn=Ze.open,In=Ze.defaultOpen,kn=Ze.defaultOpenValue,ti=Ze.suffixIcon,or=Ze.clearIcon,br=Ze.disabled,Mr=Ze.disabledDate,Sr=Ze.placeholder,Wt=Ze.getPopupContainer,fr=Ze.pickerRef,Jt=Ze.panelRender,Tr=Ze.onChange,_r=Ze.onOpenChange,Qr=Ze.onFocus,Kr=Ze.onBlur,en=Ze.onMouseDown,An=Ze.onMouseUp,xn=Ze.onMouseEnter,Cn=Ze.onMouseLeave,jn=Ze.onContextMenu,di=Ze.onClick,Ei=Ze.direction,Ii=Ze.autoComplete,vi=Ii===void 0?"off":Ii,wi=o.useRef(null),ri=Fn==="date"&&!!cn||Fn==="time",Un=wt(ie(qn,Fn,cn,Wn)),ci=o.useRef(null),mi=o.useRef(null),Ki=Object(z.a)(null,{value:Rn,defaultValue:Kn}),ii=Object(U.a)(Ki,2),fi=ii[0],pi=ii[1],ra=o.useState(fi),ki=Object(U.a)(ra,2),Zn=ki[0],Si=ki[1],Yi=o.useRef(null),Pi=Object(z.a)(!1,{value:Gn,defaultValue:In,postState:function(ma){return br?!1:ma},onChange:function(ma){_r&&_r(ma),!ma&&Yi.current&&Yi.current.onClose&&Yi.current.onClose()}}),Ci=Object(U.a)(Pi,2),bi=Ci[0],wa=Ci[1],Zi=ua(Zn,{formatList:Un,generateConfig:qt,locale:ur}),ha=Object(U.a)(Zi,2),Ia=ha[0],xi=ha[1],Ba=Bn({valueTexts:Ia,onTextChange:function(ma){var Bo=qt.locale.parse(ur.locale,ma,Un);Bo&&(!Mr||!Mr(Bo))&&Si(Bo)}}),oa=Object(U.a)(Ba,3),qi=oa[0],ga=oa[1],na=oa[2],ca=function(ma){Si(ma),pi(ma),Tr&&!le(qt,fi,ma)&&Tr(ma,ma?qt.locale.format(ur.locale,ma,Un[0]):"")},Wa=function(ma){if(br&&ma)return;wa(ma)},Pa=function(ma){return bi&&Yi.current&&Yi.current.onKeyDown?Yi.current.onKeyDown(ma):(Object(C.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},ro=function(){An&&An.apply(void 0,arguments),wi.current&&(wi.current.focus(),Wa(!0))},Fa=hi({blurToCancel:ri,open:bi,value:qi,triggerOpen:Wa,forwardKeyDown:Pa,isClickOutside:function(ma){return!ne([ci.current,mi.current],ma)},onSubmit:function(){return Mr&&Mr(Zn)?!1:(ca(Zn),Wa(!1),na(),!0)},onCancel:function(){Wa(!1),Si(fi),na()},onFocus:Qr,onBlur:Kr}),Ua=Object(U.a)(Fa,2),Ya=Ua[0],Aa=Ua[1],Ji=Aa.focused,La=Aa.typing;o.useEffect(function(){bi||(Si(fi),!Ia.length||Ia[0]===""?ga(""):xi!==qi&&na())},[bi,Ia]),o.useEffect(function(){bi||na()},[Fn]),o.useEffect(function(){Si(fi)},[fi]),fr&&(fr.current={focus:function(){wi.current&&wi.current.focus()},blur:function(){wi.current&&wi.current.blur()}});var ja=Object(H.a)(Object(H.a)({},Ze),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0}),ji=o.createElement(On,Object.assign({},ja,{generateConfig:qt,className:_()(Object(D.a)({},"".concat(er,"-panel-focused"),!La)),value:Zn,locale:ur,tabIndex:-1,onChange:Si,direction:Ei}));Jt&&(ji=Jt(ji));var Qi=o.createElement("div",{className:"".concat(er,"-panel-container"),onMouseDown:function(ma){ma.preventDefault()}},ji),uo;ti&&(uo=o.createElement("span",{className:"".concat(er,"-suffix")},ti));var yo;Ur&&fi&&!br&&(yo=o.createElement("span",{onMouseDown:function(ma){ma.preventDefault(),ma.stopPropagation()},onMouseUp:function(ma){ma.preventDefault(),ma.stopPropagation(),ca(null),Wa(!1)},className:"".concat(er,"-clear")},or||o.createElement("span",{className:"".concat(er,"-clear-btn")})));var Lo=function(ma,Bo){(Bo==="submit"||Bo!=="key"&&!ri)&&(ca(ma),Wa(!1))},Oo=Ei==="rtl"?"bottomRight":"bottomLeft",Va=fa(qi,{formatList:Un,generateConfig:qt,locale:ur}),$i=Object(U.a)(Va,3),co=$i[0],Zo=$i[1],Ha=$i[2];return o.createElement(Z.Provider,{value:{operationRef:Yi,hideHeader:Fn==="time",panelRef:ci,onSelect:Lo,open:bi,defaultOpenValue:kn,onDateMouseEnter:Zo,onDateMouseLeave:Ha}},o.createElement(zi,{visible:bi,popupElement:Qi,popupStyle:yn,prefixCls:er,dropdownClassName:un,dropdownAlign:fn,getPopupContainer:Wt,transitionName:St,popupPlacement:Oo,direction:Ei},o.createElement("div",{className:_()(er,Hr,(Ht={},Object(D.a)(Ht,"".concat(er,"-disabled"),br),Object(D.a)(Ht,"".concat(er,"-focused"),Ji),Object(D.a)(Ht,"".concat(er,"-rtl"),Ei==="rtl"),Ht)),style:qr,onMouseDown:en,onMouseUp:ro,onMouseEnter:xn,onMouseLeave:Cn,onContextMenu:jn,onClick:di},o.createElement("div",{className:_()("".concat(er,"-input"),Object(D.a)({},"".concat(er,"-input-placeholder"),!!co)),ref:mi},o.createElement("input",Object.assign({id:Lr,tabIndex:Or,disabled:br,readOnly:yr||!La,value:co||qi,onChange:function(ma){ga(ma.target.value)},autoFocus:Zr,placeholder:Sr,ref:wi,title:qi},Ya,{size:Ve(Fn,Un[0])},Pe(Ze),{autoComplete:vi})),uo,yo))))}var pa=function(Ze){Object(P.a)(sr,Ze);var Ht=Object(V.a)(sr);function sr(){var er;return Object(k.a)(this,sr),er=Ht.apply(this,arguments),er.pickerRef=o.createRef(),er.focus=function(){er.pickerRef.current&&er.pickerRef.current.focus()},er.blur=function(){er.pickerRef.current&&er.pickerRef.current.blur()},er}return Object(M.a)(sr,[{key:"render",value:function(){return o.createElement(Bi,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),sr}(o.Component),ui=pa;function ba(Ze,Ht,sr){var er=Ze.picker,Lr=Ze.locale,Or=Ze.selectedValue,qr=Ze.disabledDate,Hr=Ze.disabled,un=Ze.generateConfig,fn=Dt(Or,0),yn=Dt(Or,1);function St(Zr){var cn=un.getYear(Zr),_n=un.locale.getWeek(Lr.locale,Zr);return cn*100+_n}function qt(Zr){var cn=un.getYear(Zr),_n=un.getMonth(Zr);return cn*100+_n}function ur(Zr){var cn=un.getYear(Zr),_n=rt(un,Zr);return cn*10+_n}var yr=o.useCallback(function(Zr){if(qr&&qr(Zr))return!0;if(Hr[1]&&yn)return!vr(un,Zr,yn)&&un.isAfter(Zr,yn);if(Ht&&yn)switch(er){case"quarter":return ur(Zr)>ur(yn);case"month":return qt(Zr)>qt(yn);case"week":return St(Zr)>St(yn);default:return!vr(un,Zr,yn)&&un.isAfter(Zr,yn)}return!1},[qr,Hr[1],yn,Ht]),Ur=o.useCallback(function(Zr){if(qr&&qr(Zr))return!0;if(Hr[0]&&fn)return!vr(un,Zr,yn)&&un.isAfter(fn,Zr);if(sr&&fn)switch(er){case"quarter":return ur(Zr)<ur(fn);case"month":return qt(Zr)<qt(fn);case"week":return St(Zr)<St(fn);default:return!vr(un,Zr,fn)&&un.isAfter(fn,Zr)}return!1},[qr,Hr[0],fn,sr]);return[yr,Ur]}function Dn(Ze,Ht,sr,er){var Lr=De(Ze,sr,er,1);function Or(qr){return qr(Ze,Ht)?"same":qr(Lr,Ht)?"closing":"far"}switch(sr){case"year":return Or(function(qr,Hr){return Xt(er,qr,Hr)});case"quarter":case"month":return Or(function(qr,Hr){return Ot(er,qr,Hr)});default:return Or(function(qr,Hr){return Zt(er,qr,Hr)})}}function Pn(Ze,Ht,sr,er){var Lr=Dt(Ze,0),Or=Dt(Ze,1);if(Ht===0)return Lr;if(Lr&&Or){var qr=Dn(Lr,Or,sr,er);switch(qr){case"same":return Lr;case"closing":return Lr;default:return De(Or,sr,er,-1)}}return Lr}function Yn(Ze){var Ht=Ze.values,sr=Ze.picker,er=Ze.defaultDates,Lr=Ze.generateConfig,Or=o.useState(function(){return[Dt(er,0),Dt(er,1)]}),qr=Object(U.a)(Or,2),Hr=qr[0],un=qr[1],fn=o.useState(null),yn=Object(U.a)(fn,2),St=yn[0],qt=yn[1],ur=Dt(Ht,0),yr=Dt(Ht,1);function Ur(cn){return Hr[cn]?Hr[cn]:Dt(St,cn)||Pn(Ht,cn,sr,Lr)||ur||yr||Lr.getNow()}function Zr(cn,_n){if(cn){var Fn=et(St,cn,_n);un(et(Hr,null,_n)||[null,null]);var qn=(_n+1)%2;Dt(Ht,qn)||(Fn=et(Fn,cn,qn)),qt(Fn)}else(ur||yr)&&qt(null)}return[Ur,Zr]}function Jn(Ze,Ht){return Ze&&Ze[0]&&Ze[1]&&Ht.isAfter(Ze[0],Ze[1])?[Ze[1],Ze[0]]:Ze}function ni(Ze,Ht,sr,er){return Ze||er&&er[Ht]?!0:!!sr[(Ht+1)%2]}function Fi(Ze){var Ht,sr,er,Lr=Ze.prefixCls,Or=Lr===void 0?"rc-picker":Lr,qr=Ze.id,Hr=Ze.style,un=Ze.className,fn=Ze.popupStyle,yn=Ze.dropdownClassName,St=Ze.transitionName,qt=Ze.dropdownAlign,ur=Ze.getPopupContainer,yr=Ze.generateConfig,Ur=Ze.locale,Zr=Ze.placeholder,cn=Ze.autoFocus,_n=Ze.disabled,Fn=Ze.format,qn=Ze.picker,Wn=qn===void 0?"date":qn,Rn=Ze.showTime,Kn=Ze.use12Hours,Gn=Ze.separator,In=Gn===void 0?"~":Gn,kn=Ze.value,ti=Ze.defaultValue,or=Ze.defaultPickerValue,br=Ze.open,Mr=Ze.defaultOpen,Sr=Ze.disabledDate,Wt=Ze.disabledTime,fr=Ze.dateRender,Jt=Ze.panelRender,Tr=Ze.ranges,_r=Ze.allowEmpty,Qr=Ze.allowClear,Kr=Ze.suffixIcon,en=Ze.clearIcon,An=Ze.pickerRef,xn=Ze.inputReadOnly,Cn=Ze.mode,jn=Ze.renderExtraFooter,di=Ze.onChange,Ei=Ze.onOpenChange,Ii=Ze.onPanelChange,vi=Ze.onCalendarChange,wi=Ze.onFocus,ri=Ze.onBlur,Un=Ze.onOk,ci=Ze.components,mi=Ze.order,Ki=Ze.direction,ii=Ze.activePickerIndex,fi=Ze.autoComplete,pi=fi===void 0?"off":fi,ra=Wn==="date"&&!!Rn||Wn==="time",ki=Object(o.useRef)({}),Zn=Object(o.useRef)(null),Si=Object(o.useRef)(null),Yi=Object(o.useRef)(null),Pi=Object(o.useRef)(null),Ci=Object(o.useRef)(null),bi=Object(o.useRef)(null),wa=Object(o.useRef)(null),Zi=wt(ie(Fn,Wn,Rn,Kn)),ha=Object(z.a)(0,{value:ii}),Ia=Object(U.a)(ha,2),xi=Ia[0],Ba=Ia[1],oa=Object(o.useRef)(null),qi=o.useMemo(function(){return Array.isArray(_n)?_n:[_n||!1,_n||!1]},[_n]),ga=Object(z.a)(null,{value:kn,defaultValue:ti,postState:function(Wi){return Wn==="time"&&!mi?Wi:Jn(Wi,yr)}}),na=Object(U.a)(ga,2),ca=na[0],Wa=na[1],Pa=Yn({values:ca,picker:Wn,defaultDates:or,generateConfig:yr}),ro=Object(U.a)(Pa,2),Fa=ro[0],Ua=ro[1],Ya=Object(z.a)(ca,{postState:function(Wi){var sa=Wi;if(qi[0]&&qi[1])return sa;for(var ka=0;ka<2;ka+=1)qi[ka]&&!Dt(sa,ka)&&!Dt(_r,ka)&&(sa=et(sa,yr.getNow(),ka));return sa}}),Aa=Object(U.a)(Ya,2),Ji=Aa[0],La=Aa[1],ja=Object(z.a)([Wn,Wn],{value:Cn}),ji=Object(U.a)(ja,2),Qi=ji[0],uo=ji[1];Object(o.useEffect)(function(){uo([Wn,Wn])},[Wn]);var yo=function(Wi,sa){uo(Wi),Ii&&Ii(sa,Wi)},Lo=ba({picker:Wn,selectedValue:Ji,locale:Ur,disabled:qi,disabledDate:Sr,generateConfig:yr},ki.current[1],ki.current[0]),Oo=Object(U.a)(Lo,2),Va=Oo[0],$i=Oo[1],co=Object(z.a)(!1,{value:br,defaultValue:Mr,postState:function(Wi){return qi[xi]?!1:Wi},onChange:function(Wi){Ei&&Ei(Wi),!Wi&&oa.current&&oa.current.onClose&&oa.current.onClose()}}),Zo=Object(U.a)(co,2),Ha=Zo[0],bo=Zo[1],ma=Ha&&xi===0,Bo=Ha&&xi===1,$s=Object(o.useState)(0),ss=Object(U.a)($s,2),Ho=ss[0],vs=ss[1];Object(o.useEffect)(function(){!Ha&&Zn.current&&vs(Zn.current.offsetWidth)},[Ha]);var cs=o.useRef();function Jo(Ra,Wi){if(Ra)clearTimeout(cs.current),ki.current[Wi]=!0,Ba(Wi),bo(Ra),Ha||Ua(null,Wi);else if(xi===Wi){bo(Ra);var sa=ki.current;cs.current=setTimeout(function(){sa===ki.current&&(ki.current={})})}}function Fo(Ra){Jo(!0,Ra),setTimeout(function(){var Wi=[bi,wa][Ra];Wi.current&&Wi.current.focus()},0)}function eo(Ra,Wi){var sa=Ra,ka=Dt(sa,0),zo=Dt(sa,1);ka&&zo&&yr.isAfter(ka,zo)&&(Wn==="week"&&!ce(yr,Ur.locale,ka,zo)||Wn==="quarter"&&!Et(yr,ka,zo)||Wn!=="week"&&Wn!=="quarter"&&Wn!=="time"&&!vr(yr,ka,zo)?(Wi===0?(sa=[ka,null],zo=null):(ka=null,sa=[null,zo]),ki.current=Object(D.a)({},Wi,!0)):(Wn!=="time"||mi!==!1)&&(sa=Jn(sa,yr))),La(sa);var Rs=sa&&sa[0]?yr.locale.format(Ur.locale,sa[0],Zi[0]):"",Us=sa&&sa[1]?yr.locale.format(Ur.locale,sa[1],Zi[0]):"";if(vi){var Ms={range:Wi===0?"start":"end"};vi(sa,[Rs,Us],Ms)}var Es=ni(ka,0,qi,_r),Cs=ni(zo,1,qi,_r),Bs=sa===null||Es&&Cs;Bs&&(Wa(sa),di&&(!le(yr,Dt(ca,0),ka)||!le(yr,Dt(ca,1),zo))&&di(sa,[Rs,Us]));var is=null;Wi===0&&!qi[1]?is=1:Wi===1&&!qi[0]&&(is=0),is!==null&&is!==xi&&(!ki.current[is]||!Dt(sa,is))&&Dt(sa,Wi)?Fo(is):Jo(!1,Wi)}var Mo=function(Wi){return Ha&&oa.current&&oa.current.onKeyDown?oa.current.onKeyDown(Wi):(Object(C.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},po={formatList:Zi,generateConfig:yr,locale:Ur},wo=ua(Dt(Ji,0),po),Dr=Object(U.a)(wo,2),Hn=Dr[0],Ls=Dr[1],Ss=ua(Dt(Ji,1),po),ys=Object(U.a)(Ss,2),Na=ys[0],Ga=ys[1],To=function(Wi,sa){var ka=yr.locale.parse(Ur.locale,Wi,Zi),zo=sa===0?Va:$i;ka&&!zo(ka)&&(La(et(Ji,ka,sa)),Ua(ka,sa))},xo=Bn({valueTexts:Hn,onTextChange:function(Wi){return To(Wi,0)}}),$o=Object(U.a)(xo,3),es=$o[0],ts=$o[1],Gs=$o[2],Os=Bn({valueTexts:Na,onTextChange:function(Wi){return To(Wi,1)}}),Ws=Object(U.a)(Os,3),Ns=Ws[0],Go=Ws[1],xs=Ws[2],ao=Object(o.useState)(null),el=Object(U.a)(ao,2),Ds=el[0],ds=el[1],Vt=Object(o.useState)(null),de=Object(U.a)(Vt,2),Te=de[0],Oe=de[1],ze=fa(es,{formatList:Zi,generateConfig:yr,locale:Ur}),yt=Object(U.a)(ze,3),Kt=yt[0],gr=yt[1],xr=yt[2],Pr=fa(Ns,{formatList:Zi,generateConfig:yr,locale:Ur}),dn=Object(U.a)(Pr,3),bn=dn[0],Nn=dn[1],Xn=dn[2],li=function(Wi){Oe(et(Ji,Wi,xi)),xi===0?gr(Wi):Nn(Wi)},Li=function(){Oe(et(Ji,null,xi)),xi===0?xr():Xn()},ea=function(Wi,sa){return{blurToCancel:ra,forwardKeyDown:Mo,onBlur:ri,isClickOutside:function(zo){return!ne([Si.current,Yi.current,Pi.current],zo)},onFocus:function(zo){Ba(Wi),wi&&wi(zo)},triggerOpen:function(zo){Jo(zo,Wi)},onSubmit:function(){eo(Ji,Wi),sa()},onCancel:function(){Jo(!1,Wi),La(ca),sa()}}},Sa=hi(Object(H.a)(Object(H.a)({},ea(0,Gs)),{},{open:ma,value:es})),xa=Object(U.a)(Sa,2),Da=xa[0],oo=xa[1],Qa=oo.focused,So=oo.typing,Ea=hi(Object(H.a)(Object(H.a)({},ea(1,xs)),{},{open:Bo,value:Ns})),no=Object(U.a)(Ea,2),Yo=no[0],Ko=no[1],so=Ko.focused,ls=Ko.typing,hs=function(Wi){!Ha&&!bi.current.contains(Wi.target)&&!wa.current.contains(Wi.target)&&(qi[0]?qi[1]||Fo(1):Fo(0))},fs=function(Wi){Ha&&(Qa||so)&&!bi.current.contains(Wi.target)&&!wa.current.contains(Wi.target)&&Wi.preventDefault()},mo=ca&&ca[0]?yr.locale.format(Ur.locale,ca[0],"YYYYMMDDHHmmss"):"",ks=ca&&ca[1]?yr.locale.format(Ur.locale,ca[1],"YYYYMMDDHHmmss"):"";Object(o.useEffect)(function(){Ha||(La(ca),!Hn.length||Hn[0]===""?ts(""):Ls!==es&&Gs(),!Na.length||Na[0]===""?Go(""):Ga!==Ns&&xs())},[Ha,Hn,Na]),Object(o.useEffect)(function(){La(ca)},[mo,ks]),An&&(An.current={focus:function(){bi.current&&bi.current.focus()},blur:function(){bi.current&&bi.current.blur(),wa.current&&wa.current.blur()}});var rs=Object.keys(Tr||{}),pl=rs.map(function(Ra){var Wi=Tr[Ra],sa=typeof Wi=="function"?Wi():Wi;return{label:Ra,onClick:function(){eo(sa,null),Jo(!1,xi)},onMouseEnter:function(){ds(sa)},onMouseLeave:function(){ds(null)}}});function ml(){var Ra=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Wi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},sa=null;Ha&&Te&&Te[0]&&Te[1]&&yr.isAfter(Te[1],Te[0])&&(sa=Te);var ka=Rn;if(Rn&&Object(K.a)(Rn)==="object"&&Rn.defaultValue){var zo=Rn.defaultValue;ka=Object(H.a)(Object(H.a)({},Rn),{},{defaultValue:Dt(zo,xi)||void 0})}var Rs=null;return fr&&(Rs=function(Ms,Es){return fr(Ms,Es,{range:xi?"end":"start"})}),o.createElement(je.Provider,{value:{inRange:!0,panelPosition:Ra,rangedValue:Ds||Ji,hoverRangedValue:sa}},o.createElement(On,Object.assign({},Ze,Wi,{dateRender:Rs,showTime:ka,mode:Qi[xi],generateConfig:yr,style:void 0,direction:Ki,disabledDate:xi===0?Va:$i,disabledTime:function(Ms){return Wt?Wt(Ms,xi===0?"start":"end"):!1},className:_()(Object(D.a)({},"".concat(Or,"-panel-focused"),xi===0?!So:!ls)),value:Dt(Ji,xi),locale:Ur,tabIndex:-1,onPanelChange:function(Ms,Es){yo(et(Qi,Es,xi),et(Ji,Ms,xi));var Cs=Ms;Ra==="right"&&Qi[xi]===Es&&(Cs=De(Cs,Es,yr,-1)),Ua(Cs,xi)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:void 0,defaultPickerValue:void 0})))}var bs=0,No=0;xi&&Yi.current&&Ci.current&&Si.current&&(bs=Yi.current.offsetWidth+Ci.current.offsetWidth,Si.current.offsetWidth&&bs>Si.current.offsetWidth&&(No=bs));var Ri=Ki==="rtl"?{right:bs}:{left:bs};function il(){var Ra,Wi=oi(Or,Qi[xi],jn),sa=tn({prefixCls:Or,components:ci,needConfirmButton:ra,okDisabled:!Dt(Ji,xi)||Sr&&Sr(Ji[xi]),locale:Ur,rangeList:pl,onOk:function(){Dt(Ji,xi)&&(eo(Ji,xi),Un&&Un(Ji))}});if(Wn!=="time"&&!Rn){var ka=Fa(xi),zo=De(ka,Wn,yr),Rs=Qi[xi],Us=Rs===Wn,Ms=ml(Us?"left":!1,{pickerValue:ka,onPickerValueChange:function(is){Ua(is,xi)}}),Es=ml("right",{pickerValue:zo,onPickerValueChange:function(is){Ua(De(is,Wn,yr,-1),xi)}});Ki==="rtl"?Ra=o.createElement(o.Fragment,null,Es,Us&&Ms):Ra=o.createElement(o.Fragment,null,Ms,Us&&Es)}else Ra=ml();var Cs=o.createElement(o.Fragment,null,o.createElement("div",{className:"".concat(Or,"-panels")},Ra),(Wi||sa)&&o.createElement("div",{className:"".concat(Or,"-footer")},Wi,sa));return Jt&&(Cs=Jt(Cs)),o.createElement("div",{className:"".concat(Or,"-panel-container"),style:{marginLeft:No},ref:Si,onMouseDown:function(is){is.preventDefault()}},Cs)}var al=o.createElement("div",{className:_()("".concat(Or,"-range-wrapper"),"".concat(Or,"-").concat(Wn,"-range-wrapper")),style:{minWidth:Ho}},o.createElement("div",{className:"".concat(Or,"-range-arrow"),style:Ri}),il()),ol;Kr&&(ol=o.createElement("span",{className:"".concat(Or,"-suffix")},Kr));var ns;Qr&&(Dt(ca,0)&&!qi[0]||Dt(ca,1)&&!qi[1])&&(ns=o.createElement("span",{onMouseDown:function(Wi){Wi.preventDefault(),Wi.stopPropagation()},onMouseUp:function(Wi){Wi.preventDefault(),Wi.stopPropagation();var sa=ca;qi[0]||(sa=et(sa,null,0)),qi[1]||(sa=et(sa,null,1)),eo(sa,null),Jo(!1,xi)},className:"".concat(Or,"-clear")},en||o.createElement("span",{className:"".concat(Or,"-clear-btn")})));var sl={size:Ve(Wn,Zi[0])},Qs=0,Ps=0;Yi.current&&Pi.current&&Ci.current&&(xi===0?Ps=Yi.current.offsetWidth:(Qs=bs,Ps=Pi.current.offsetWidth));var Ys=Ki==="rtl"?{right:Qs}:{left:Qs},Zs=function(Wi,sa){var ka=et(Ji,Wi,xi);sa==="submit"||sa!=="key"&&!ra?(eo(ka,xi),xi===0?xr():Xn()):La(ka)};return o.createElement(Z.Provider,{value:{operationRef:oa,hideHeader:Wn==="time",onDateMouseEnter:li,onDateMouseLeave:Li,hideRanges:!0,onSelect:Zs,open:Ha}},o.createElement(zi,{visible:Ha,popupElement:al,popupStyle:fn,prefixCls:Or,dropdownClassName:yn,dropdownAlign:qt,getPopupContainer:ur,transitionName:St,range:!0,direction:Ki},o.createElement("div",Object.assign({ref:Zn,className:_()(Or,"".concat(Or,"-range"),un,(Ht={},Object(D.a)(Ht,"".concat(Or,"-disabled"),qi[0]&&qi[1]),Object(D.a)(Ht,"".concat(Or,"-focused"),xi===0?Qa:so),Object(D.a)(Ht,"".concat(Or,"-rtl"),Ki==="rtl"),Ht)),style:Hr,onClick:hs,onMouseDown:fs},Pe(Ze)),o.createElement("div",{className:_()("".concat(Or,"-input"),(sr={},Object(D.a)(sr,"".concat(Or,"-input-active"),xi===0),Object(D.a)(sr,"".concat(Or,"-input-placeholder"),!!Kt),sr)),ref:Yi},o.createElement("input",Object.assign({id:qr,disabled:qi[0],readOnly:xn||!So,value:Kt||es,onChange:function(Wi){ts(Wi.target.value)},autoFocus:cn,placeholder:Dt(Zr,0)||"",ref:bi},Da,sl,{autoComplete:pi}))),o.createElement("div",{className:"".concat(Or,"-range-separator"),ref:Ci},In),o.createElement("div",{className:_()("".concat(Or,"-input"),(er={},Object(D.a)(er,"".concat(Or,"-input-active"),xi===1),Object(D.a)(er,"".concat(Or,"-input-placeholder"),!!bn),er)),ref:Pi},o.createElement("input",Object.assign({disabled:qi[1],readOnly:xn||!ls,value:bn||Ns,onChange:function(Wi){Go(Wi.target.value)},placeholder:Dt(Zr,1)||"",ref:wa},Yo,sl,{autoComplete:pi}))),o.createElement("div",{className:"".concat(Or,"-active-bar"),style:Object(H.a)(Object(H.a)({},Ys),{},{width:Ps,position:"absolute"})}),ol,ns)))}var Hi=function(Ze){Object(P.a)(sr,Ze);var Ht=Object(V.a)(sr);function sr(){var er;return Object(k.a)(this,sr),er=Ht.apply(this,arguments),er.pickerRef=o.createRef(),er.focus=function(){er.pickerRef.current&&er.pickerRef.current.focus()},er.blur=function(){er.pickerRef.current&&er.pickerRef.current.blur()},er}return Object(M.a)(sr,[{key:"render",value:function(){return o.createElement(Fi,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),sr}(o.Component),Za=Hi,va=ui,za=r("61s2");function to(Ze,Ht,sr){return sr!==void 0?sr:Ze==="year"&&Ht.lang.yearPlaceholder?Ht.lang.yearPlaceholder:Ze==="quarter"&&Ht.lang.quarterPlaceholder?Ht.lang.quarterPlaceholder:Ze==="month"&&Ht.lang.monthPlaceholder?Ht.lang.monthPlaceholder:Ze==="week"&&Ht.lang.weekPlaceholder?Ht.lang.weekPlaceholder:Ze==="time"&&Ht.timePickerLocale.placeholder?Ht.timePickerLocale.placeholder:Ht.lang.placeholder}function lo(Ze,Ht,sr){return sr!==void 0?sr:Ze==="year"&&Ht.lang.yearPlaceholder?Ht.lang.rangeYearPlaceholder:Ze==="month"&&Ht.lang.monthPlaceholder?Ht.lang.rangeMonthPlaceholder:Ze==="week"&&Ht.lang.weekPlaceholder?Ht.lang.rangeWeekPlaceholder:Ze==="time"&&Ht.timePickerLocale.placeholder?Ht.timePickerLocale.rangePlaceholder:Ht.lang.rangePlaceholder}var _a=r("uaoM"),Qo=r("H84U"),Uo=r("YMnH"),jo=r("3Nzz"),Ao=function(Ze,Ht){var sr={};for(var er in Ze)Object.prototype.hasOwnProperty.call(Ze,er)&&Ht.indexOf(er)<0&&(sr[er]=Ze[er]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lr=0,er=Object.getOwnPropertySymbols(Ze);Lr<er.length;Lr++)Ht.indexOf(er[Lr])<0&&Object.prototype.propertyIsEnumerable.call(Ze,er[Lr])&&(sr[er[Lr]]=Ze[er[Lr]]);return sr};function fo(Ze){function Ht(un,fn){var yn=function(St){v()(ur,St);var qt=b()(ur);function ur(yr){var Ur;return s()(this,ur),Ur=qt.call(this,yr),Ur.pickerRef=o.createRef(),Ur.focus=function(){Ur.pickerRef.current&&Ur.pickerRef.current.focus()},Ur.blur=function(){Ur.pickerRef.current&&Ur.pickerRef.current.blur()},Ur.getDefaultLocale=function(){var Zr=Ur.props.locale,cn=c()(c()({},za.a),Zr);return cn.lang=c()(c()({},cn.lang),(Zr||{}).lang),cn},Ur.renderPicker=function(Zr){var cn=Ur.context,_n=cn.getPrefixCls,Fn=cn.direction,qn=cn.getPopupContainer,Wn=Ur.props,Rn=Wn.prefixCls,Kn=Wn.getPopupContainer,Gn=Wn.className,In=Wn.size,kn=Wn.bordered,ti=kn===void 0?!0:kn,or=Wn.placeholder,br=Ao(Wn,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),Mr=Ur.props,Sr=Mr.format,Wt=Mr.showTime,fr=_n("picker",Rn),Jt={showToday:!0},Tr={};un&&(Tr.picker=un);var _r=un||Ur.props.picker;return Tr=c()(c()(c()({},Tr),Wt?Co(c()({format:Sr,picker:_r},Wt)):{}),_r==="time"?Co(c()(c()({format:Sr},Ur.props),{picker:_r})):{}),o.createElement(jo.b.Consumer,null,function(Qr){var Kr,en=In||Qr;return o.createElement(va,c()({ref:Ur.pickerRef,placeholder:to(_r,Zr,or),suffixIcon:_r==="time"?o.createElement(I.a,null):o.createElement(S.a,null),clearIcon:o.createElement(F.a,null),allowClear:!0,transitionName:"slide-up"},Jt,br,Tr,{locale:Zr.lang,className:_()(Gn,(Kr={},l()(Kr,"".concat(fr,"-").concat(en),en),l()(Kr,"".concat(fr,"-borderless"),!ti),Kr)),prefixCls:fr,getPopupContainer:Kn||qn,generateConfig:Ze,prevIcon:o.createElement("span",{className:"".concat(fr,"-prev-icon")}),nextIcon:o.createElement("span",{className:"".concat(fr,"-next-icon")}),superPrevIcon:o.createElement("span",{className:"".concat(fr,"-super-prev-icon")}),superNextIcon:o.createElement("span",{className:"".concat(fr,"-super-next-icon")}),components:Io,direction:Fn}))})},Object(_a.a)(un!=="quarter",fn,"DatePicker.".concat(fn," is legacy usage. Please use DatePicker[picker='").concat(un,"'] directly.")),Ur}return f()(ur,[{key:"render",value:function(){return o.createElement(Uo.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),ur}(o.Component);return yn.contextType=Qo.b,fn&&(yn.displayName=fn),yn}var sr=Ht(),er=Ht("week","WeekPicker"),Lr=Ht("month","MonthPicker"),Or=Ht("year","YearPicker"),qr=Ht("time","TimePicker"),Hr=Ht("quarter","QuarterPicker");return{DatePicker:sr,WeekPicker:er,MonthPicker:Lr,YearPicker:Or,TimePicker:qr,QuarterPicker:Hr}}var Ro=r("8ISB"),si=r.n(Ro),Ma=function(Ze,Ht){var sr={};for(var er in Ze)Object.prototype.hasOwnProperty.call(Ze,er)&&Ht.indexOf(er)<0&&(sr[er]=Ze[er]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lr=0,er=Object.getOwnPropertySymbols(Ze);Lr<er.length;Lr++)Ht.indexOf(er[Lr])<0&&Object.prototype.propertyIsEnumerable.call(Ze,er[Lr])&&(sr[er[Lr]]=Ze[er[Lr]]);return sr};function Xo(Ze){var Ht=function(sr){v()(Lr,sr);var er=b()(Lr);function Lr(){var Or;return s()(this,Lr),Or=er.apply(this,arguments),Or.pickerRef=o.createRef(),Or.focus=function(){Or.pickerRef.current&&Or.pickerRef.current.focus()},Or.blur=function(){Or.pickerRef.current&&Or.pickerRef.current.blur()},Or.getDefaultLocale=function(){var qr=Or.props.locale,Hr=c()(c()({},za.a),qr);return Hr.lang=c()(c()({},Hr.lang),(qr||{}).lang),Hr},Or.renderPicker=function(qr){var Hr=Or.context,un=Hr.getPrefixCls,fn=Hr.direction,yn=Hr.getPopupContainer,St=Or.props,qt=St.prefixCls,ur=St.getPopupContainer,yr=St.className,Ur=St.size,Zr=St.bordered,cn=Zr===void 0?!0:Zr,_n=St.placeholder,Fn=Ma(St,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),qn=Or.props,Wn=qn.format,Rn=qn.showTime,Kn=qn.picker,Gn=un("picker",qt),In={};return In=c()(c()(c()({},In),Rn?Co(c()({format:Wn,picker:Kn},Rn)):{}),Kn==="time"?Co(c()(c()({format:Wn},Or.props),{picker:Kn})):{}),o.createElement(jo.b.Consumer,null,function(kn){var ti,or=Ur||kn;return o.createElement(Za,c()({separator:o.createElement("span",{"aria-label":"to",className:"".concat(Gn,"-separator")},o.createElement(si.a,null)),ref:Or.pickerRef,placeholder:lo(Kn,qr,_n),suffixIcon:Kn==="time"?o.createElement(I.a,null):o.createElement(S.a,null),clearIcon:o.createElement(F.a,null),allowClear:!0,transitionName:"slide-up"},Fn,In,{className:_()(yr,(ti={},l()(ti,"".concat(Gn,"-").concat(or),or),l()(ti,"".concat(Gn,"-borderless"),!cn),ti)),locale:qr.lang,prefixCls:Gn,getPopupContainer:ur||yn,generateConfig:Ze,prevIcon:o.createElement("span",{className:"".concat(Gn,"-prev-icon")}),nextIcon:o.createElement("span",{className:"".concat(Gn,"-next-icon")}),superPrevIcon:o.createElement("span",{className:"".concat(Gn,"-super-prev-icon")}),superNextIcon:o.createElement("span",{className:"".concat(Gn,"-super-next-icon")}),components:Io,direction:fn}))})},Or}return f()(Lr,[{key:"render",value:function(){return o.createElement(Uo.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),Lr}(o.Component);return Ht.contextType=Qo.b,Ht}var Io={button:t,rangeItem:d};function vo(Ze){return Ze?Array.isArray(Ze)?Ze:[Ze]:[]}function Co(Ze){var Ht=Ze.format,sr=Ze.picker,er=Ze.showHour,Lr=Ze.showMinute,Or=Ze.showSecond,qr=Ze.use12Hours,Hr=vo(Ht)[0],un=c()({},Ze);return Hr&&(!Hr.includes("s")&&Or===void 0&&(un.showSecond=!1),!Hr.includes("m")&&Lr===void 0&&(un.showMinute=!1),!Hr.includes("H")&&!Hr.includes("h")&&er===void 0&&(un.showHour=!1),(Hr.includes("a")||Hr.includes("A"))&&qr===void 0&&(un.use12Hours=!0)),sr==="time"?un:{showTime:un}}function tr(Ze){var Ht=fo(Ze),sr=Ht.DatePicker,er=Ht.WeekPicker,Lr=Ht.MonthPicker,Or=Ht.YearPicker,qr=Ht.TimePicker,Hr=Ht.QuarterPicker,un=Xo(Ze),fn=sr;return fn.WeekPicker=er,fn.MonthPicker=Lr,fn.YearPicker=Or,fn.RangePicker=un,fn.TimePicker=qr,fn.QuarterPicker=Hr,fn}var Wr=tr,Yr=Wr(g),pn=N.a=Yr},"+lIL":function(B,N,r){var y=r("ProS");r("/ry/"),r("3OrL");var m=r("L5E0"),C=r("7Phj");y.registerVisual(m),y.registerLayout(C)},"+nKL":function(B,N,r){"use strict";var y=r("q1tI"),m=r("TSYQ"),C=r.n(m),p=r("VTBJ"),g=r("1OyB"),h=r("vuIU"),c=r("Ji7U"),o=r("LK+K"),n=r("m+aA"),t=r("Zm9Q"),a=r("Kwbf"),d=r("c+Xe"),i=r("bdgK"),l="rc-observer-key",e=function(mt){Object(c.a)(le,mt);var ce=Object(o.a)(le);function le(){var oe;Object(g.a)(this,le);for(var fe=arguments.length,De=new Array(fe),He=0;He<fe;He++)De[He]=arguments[He];return oe=ce.call.apply(ce,[this].concat(De)),oe.resizeObserver=null,oe.childNode=null,oe.currentElement=null,oe.state={width:0,height:0,offsetHeight:0,offsetWidth:0},oe.onResize=function(je){var We=oe.props.onResize,nt=je[0].target,xt=nt.getBoundingClientRect(),It=xt.width,ir=xt.height,Me=nt.offsetWidth,ke=nt.offsetHeight,re=Math.floor(It),be=Math.floor(ir);if(oe.state.width!==re||oe.state.height!==be||oe.state.offsetWidth!==Me||oe.state.offsetHeight!==ke){var Ne={width:re,height:be,offsetWidth:Me,offsetHeight:ke};if(oe.setState(Ne),We){var Ke=Me===Math.round(It)?It:Me,Qe=ke===Math.round(ir)?ir:ke;Promise.resolve().then(function(){We(Object(p.a)(Object(p.a)({},Ne),{},{offsetWidth:Ke,offsetHeight:Qe}),nt)})}}},oe.setChildNode=function(je){oe.childNode=je},oe}return Object(h.a)(le,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var fe=this.props.disabled;if(fe){this.destroyObserver();return}var De=Object(n.a)(this.childNode||this),He=De!==this.currentElement;He&&(this.destroyObserver(),this.currentElement=De),!this.resizeObserver&&De&&(this.resizeObserver=new i.default(this.onResize),this.resizeObserver.observe(De))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var fe=this.props.children,De=Object(t.a)(fe);if(De.length>1)Object(a.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(De.length===0)return Object(a.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var He=De[0];if(y.isValidElement(He)&&Object(d.c)(He)){var je=He.ref;De[0]=y.cloneElement(He,{ref:Object(d.a)(je,this.setChildNode)})}return De.length===1?De[0]:De.map(function(We,nt){return!y.isValidElement(We)||"key"in We&&We.key!==null?We:y.cloneElement(We,{key:"".concat(l,"-").concat(nt)})})}}]),le}(y.Component);e.displayName="ResizeObserver";var s=e;function u(mt,ce){var le=Object.keys(mt);if(Object.getOwnPropertySymbols){var oe=Object.getOwnPropertySymbols(mt);ce&&(oe=oe.filter(function(fe){return Object.getOwnPropertyDescriptor(mt,fe).enumerable})),le.push.apply(le,oe)}return le}function f(mt){for(var ce=1;ce<arguments.length;ce++){var le=arguments[ce]!=null?arguments[ce]:{};ce%2?u(Object(le),!0).forEach(function(oe){A(mt,oe,le[oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(mt,Object.getOwnPropertyDescriptors(le)):u(Object(le)).forEach(function(oe){Object.defineProperty(mt,oe,Object.getOwnPropertyDescriptor(le,oe))})}return mt}function A(mt,ce,le){return ce in mt?Object.defineProperty(mt,ce,{value:le,enumerable:!0,configurable:!0,writable:!0}):mt[ce]=le,mt}var v=y.forwardRef(function(mt,ce){var le=mt.height,oe=mt.offset,fe=mt.children,De=mt.prefixCls,He=mt.onInnerResize,je={},We={display:"flex",flexDirection:"column"};return oe!==void 0&&(je={height:le,position:"relative",overflow:"hidden"},We=f(f({},We),{},{transform:"translateY(".concat(oe,"px)"),position:"absolute",left:0,right:0,top:0})),y.createElement("div",{style:je},y.createElement(s,{onResize:function(xt){var It=xt.offsetHeight;It&&He&&He()}},y.createElement("div",{style:We,className:C()(A({},"".concat(De,"-holder-inner"),De)),ref:ce},fe)))});v.displayName="Filler";var x=v,b=r("wgJM");function w(mt){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(le){return typeof le}:w=function(le){return le&&typeof Symbol=="function"&&le.constructor===Symbol&&le!==Symbol.prototype?"symbol":typeof le},w(mt)}function _(mt,ce,le){return ce in mt?Object.defineProperty(mt,ce,{value:le,enumerable:!0,configurable:!0,writable:!0}):mt[ce]=le,mt}function T(mt,ce){if(!(mt instanceof ce))throw new TypeError("Cannot call a class as a function")}function S(mt,ce){for(var le=0;le<ce.length;le++){var oe=ce[le];oe.enumerable=oe.enumerable||!1,oe.configurable=!0,"value"in oe&&(oe.writable=!0),Object.defineProperty(mt,oe.key,oe)}}function E(mt,ce,le){return ce&&S(mt.prototype,ce),le&&S(mt,le),mt}function I(mt,ce){if(typeof ce!="function"&&ce!==null)throw new TypeError("Super expression must either be null or a function");mt.prototype=Object.create(ce&&ce.prototype,{constructor:{value:mt,writable:!0,configurable:!0}}),ce&&O(mt,ce)}function O(mt,ce){return O=Object.setPrototypeOf||function(oe,fe){return oe.__proto__=fe,oe},O(mt,ce)}function F(mt){var ce=P();return function(){var oe=V(mt),fe;if(ce){var De=V(this).constructor;fe=Reflect.construct(oe,arguments,De)}else fe=oe.apply(this,arguments);return k(this,fe)}}function k(mt,ce){return ce&&(w(ce)==="object"||typeof ce=="function")?ce:M(mt)}function M(mt){if(mt===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return mt}function P(){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(mt){return!1}}function V(mt){return V=Object.setPrototypeOf?Object.getPrototypeOf:function(le){return le.__proto__||Object.getPrototypeOf(le)},V(mt)}var D=20;function H(mt){return"touches"in mt?mt.touches[0].pageY:mt.pageY}var U=function(mt){I(le,mt);var ce=F(le);function le(){var oe;T(this,le);for(var fe=arguments.length,De=new Array(fe),He=0;He<fe;He++)De[He]=arguments[He];return oe=ce.call.apply(ce,[this].concat(De)),oe.moveRaf=null,oe.scrollbarRef=y.createRef(),oe.thumbRef=y.createRef(),oe.visibleTimeout=null,oe.state={dragging:!1,pageY:null,startTop:null,visible:!1},oe.delayHidden=function(){clearTimeout(oe.visibleTimeout),oe.setState({visible:!0}),oe.visibleTimeout=setTimeout(function(){oe.setState({visible:!1})},2e3)},oe.onScrollbarTouchStart=function(je){je.preventDefault()},oe.onContainerMouseDown=function(je){je.stopPropagation(),je.preventDefault()},oe.patchEvents=function(){window.addEventListener("mousemove",oe.onMouseMove),window.addEventListener("mouseup",oe.onMouseUp),oe.thumbRef.current.addEventListener("touchmove",oe.onMouseMove),oe.thumbRef.current.addEventListener("touchend",oe.onMouseUp)},oe.removeEvents=function(){window.removeEventListener("mousemove",oe.onMouseMove),window.removeEventListener("mouseup",oe.onMouseUp),oe.scrollbarRef.current.removeEventListener("touchstart",oe.onScrollbarTouchStart),oe.thumbRef.current.removeEventListener("touchstart",oe.onMouseDown),oe.thumbRef.current.removeEventListener("touchmove",oe.onMouseMove),oe.thumbRef.current.removeEventListener("touchend",oe.onMouseUp),b.a.cancel(oe.moveRaf)},oe.onMouseDown=function(je){var We=oe.props.onStartMove;oe.setState({dragging:!0,pageY:H(je),startTop:oe.getTop()}),We(),oe.patchEvents(),je.stopPropagation(),je.preventDefault()},oe.onMouseMove=function(je){var We=oe.state,nt=We.dragging,xt=We.pageY,It=We.startTop,ir=oe.props.onScroll;if(b.a.cancel(oe.moveRaf),nt){var Me=H(je)-xt,ke=It+Me,re=oe.getEnableScrollRange(),be=oe.getEnableHeightRange(),Ne=be?ke/be:0,Ke=Math.ceil(Ne*re);oe.moveRaf=Object(b.a)(function(){ir(Ke)})}},oe.onMouseUp=function(){var je=oe.props.onStopMove;oe.setState({dragging:!1}),je(),oe.removeEvents()},oe.getSpinHeight=function(){var je=oe.props,We=je.height,nt=je.count,xt=We/nt*10;return xt=Math.max(xt,D),xt=Math.min(xt,We/2),Math.floor(xt)},oe.getEnableScrollRange=function(){var je=oe.props,We=je.scrollHeight,nt=je.height;return We-nt||0},oe.getEnableHeightRange=function(){var je=oe.props.height,We=oe.getSpinHeight();return je-We||0},oe.getTop=function(){var je=oe.props.scrollTop,We=oe.getEnableScrollRange(),nt=oe.getEnableHeightRange();if(je===0||We===0)return 0;var xt=je/We;return xt*nt},oe.showScroll=function(){var je=oe.props,We=je.height,nt=je.scrollHeight;return nt>We},oe}return E(le,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(fe){fe.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var fe=this.state,De=fe.dragging,He=fe.visible,je=this.props.prefixCls,We=this.getSpinHeight(),nt=this.getTop(),xt=this.showScroll(),It=xt&&He;return y.createElement("div",{ref:this.scrollbarRef,className:C()("".concat(je,"-scrollbar"),_({},"".concat(je,"-scrollbar-show"),xt)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:It?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},y.createElement("div",{ref:this.thumbRef,className:C()("".concat(je,"-scrollbar-thumb"),_({},"".concat(je,"-scrollbar-thumb-moving"),De)),style:{width:"100%",height:We,top:nt,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),le}(y.Component);function z(mt){var ce=mt.children,le=mt.setRef,oe=y.useCallback(function(fe){le(fe)},[]);return y.cloneElement(ce,{ref:oe})}function K(mt,ce,le,oe,fe,De){var He=De.getKey;return mt.slice(ce,le+1).map(function(je,We){var nt=ce+We,xt=fe(je,nt,{}),It=He(je);return y.createElement(z,{key:It,setRef:function(Me){return oe(je,Me)}},xt)})}function G(mt,ce){if(!(mt instanceof ce))throw new TypeError("Cannot call a class as a function")}function X(mt,ce){for(var le=0;le<ce.length;le++){var oe=ce[le];oe.enumerable=oe.enumerable||!1,oe.configurable=!0,"value"in oe&&(oe.writable=!0),Object.defineProperty(mt,oe.key,oe)}}function Z(mt,ce,le){return ce&&X(mt.prototype,ce),le&&X(mt,le),mt}var ee=function(){function mt(){G(this,mt),this.maps=void 0,this.maps={},this.maps.prototype=null}return Z(mt,[{key:"set",value:function(le,oe){this.maps[le]=oe}},{key:"get",value:function(le){return this.maps[le]}}]),mt}(),Se=ee;function $(mt,ce){return ye(mt)||Ue(mt,ce)||xe(mt,ce)||pe()}function pe(){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 xe(mt,ce){if(!mt)return;if(typeof mt=="string")return _e(mt,ce);var le=Object.prototype.toString.call(mt).slice(8,-1);if(le==="Object"&&mt.constructor&&(le=mt.constructor.name),le==="Map"||le==="Set")return Array.from(mt);if(le==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(le))return _e(mt,ce)}function _e(mt,ce){(ce==null||ce>mt.length)&&(ce=mt.length);for(var le=0,oe=new Array(ce);le<ce;le++)oe[le]=mt[le];return oe}function Ue(mt,ce){var le=mt==null?null:typeof Symbol!="undefined"&&mt[Symbol.iterator]||mt["@@iterator"];if(le==null)return;var oe=[],fe=!0,De=!1,He,je;try{for(le=le.call(mt);!(fe=(He=le.next()).done)&&!(oe.push(He.value),ce&&oe.length===ce);fe=!0);}catch(We){De=!0,je=We}finally{try{!fe&&le.return!=null&&le.return()}finally{if(De)throw je}}return oe}function ye(mt){if(Array.isArray(mt))return mt}function Be(mt,ce,le){var oe=y.useState(0),fe=$(oe,2),De=fe[0],He=fe[1],je=Object(y.useRef)(new Map),We=Object(y.useRef)(new Se),nt=Object(y.useRef)(0);function xt(){nt.current+=1;var ir=nt.current;Promise.resolve().then(function(){if(ir!==nt.current)return;je.current.forEach(function(Me,ke){if(Me&&Me.offsetParent){var re=Object(n.a)(Me),be=re.offsetHeight;We.current.get(ke)!==be&&We.current.set(ke,re.offsetHeight)}}),He(function(Me){return Me+1})})}function It(ir,Me){var ke=mt(ir),re=je.current.get(ke);Me?(je.current.set(ke,Me),xt()):je.current.delete(ke),!re!==!Me&&(Me?ce==null||ce(ir):le==null||le(ir))}return[It,xt,We.current,De]}function Q(mt){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Q=function(le){return typeof le}:Q=function(le){return le&&typeof Symbol=="function"&&le.constructor===Symbol&&le!==Symbol.prototype?"symbol":typeof le},Q(mt)}function ie(mt,ce,le,oe,fe,De,He,je){var We=y.useRef();return function(nt){if(nt==null){je();return}if(b.a.cancel(We.current),typeof nt=="number")He(nt);else if(nt&&Q(nt)==="object"){var xt,It=nt.align;"index"in nt?xt=nt.index:xt=ce.findIndex(function(re){return fe(re)===nt.key});var ir=nt.offset,Me=ir===void 0?0:ir,ke=function re(be,Ne){if(be<0||!mt.current)return;var Ke=mt.current.clientHeight,Qe=!1,ct=Ne;if(Ke){for(var Lt=Ne||It,rr=0,dr=0,Pt=0,jt=Math.min(ce.length,xt),Ct=0;Ct<=jt;Ct+=1){var Rt=fe(ce[Ct]);dr=rr;var pt=le.get(Rt);Pt=dr+(pt===void 0?oe:pt),rr=Pt,Ct===xt&&pt===void 0&&(Qe=!0)}var ot=null;switch(Lt){case"top":ot=dr-Me;break;case"bottom":ot=Pt-Ke+Me;break;default:{var gt=mt.current.scrollTop,Ye=gt+Ke;dr<gt?ct="top":Pt>Ye&&(ct="bottom")}}ot!==null&&ot!==mt.current.scrollTop&&He(ot)}We.current=Object(b.a)(function(){Qe&&De(),re(be-1,ct)})};ke(3)}}}function Ve(mt,ce,le,oe){var fe=le-mt,De=ce-le,He=Math.min(fe,De)*2;if(oe<=He){var je=Math.floor(oe/2);return oe%2?le+je+1:le-je}return fe>De?le-(oe-De):le+(oe-fe)}function J(mt,ce,le){var oe=mt.length,fe=ce.length,De,He;if(oe===0&&fe===0)return null;oe<fe?(De=mt,He=ce):(De=ce,He=mt);var je={__EMPTY_ITEM__:!0};function We(ke){return ke!==void 0?le(ke):je}for(var nt=null,xt=Math.abs(oe-fe)!==1,It=0;It<He.length;It+=1){var ir=We(De[It]),Me=We(He[It]);if(ir!==Me){nt=It,xt=xt||ir!==We(He[It+1]);break}}return nt===null?null:{index:nt,multiple:xt}}function W(mt,ce){return Le(mt)||ae(mt,ce)||Y(mt,ce)||j()}function j(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Y(mt,ce){if(!mt)return;if(typeof mt=="string")return me(mt,ce);var le=Object.prototype.toString.call(mt).slice(8,-1);if(le==="Object"&&mt.constructor&&(le=mt.constructor.name),le==="Map"||le==="Set")return Array.from(mt);if(le==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(le))return me(mt,ce)}function me(mt,ce){(ce==null||ce>mt.length)&&(ce=mt.length);for(var le=0,oe=new Array(ce);le<ce;le++)oe[le]=mt[le];return oe}function ae(mt,ce){var le=mt==null?null:typeof Symbol!="undefined"&&mt[Symbol.iterator]||mt["@@iterator"];if(le==null)return;var oe=[],fe=!0,De=!1,He,je;try{for(le=le.call(mt);!(fe=(He=le.next()).done)&&!(oe.push(He.value),ce&&oe.length===ce);fe=!0);}catch(We){De=!0,je=We}finally{try{!fe&&le.return!=null&&le.return()}finally{if(De)throw je}}return oe}function Le(mt){if(Array.isArray(mt))return mt}function Ee(mt,ce,le){var oe=y.useState(mt),fe=W(oe,2),De=fe[0],He=fe[1],je=y.useState(null),We=W(je,2),nt=We[0],xt=We[1];return y.useEffect(function(){var It=J(De||[],mt||[],ce);(It==null?void 0:It.index)!==void 0&&(le==null||le(It.index),xt(mt[It.index])),He(mt)},[mt]),[nt]}function ne(mt){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ne=function(le){return typeof le}:ne=function(le){return le&&typeof Symbol=="function"&&le.constructor===Symbol&&le!==Symbol.prototype?"symbol":typeof le},ne(mt)}var ge=(typeof navigator=="undefined"?"undefined":ne(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),Ie=ge,Ge=function(mt,ce){var le=Object(y.useRef)(!1),oe=Object(y.useRef)(null);function fe(){clearTimeout(oe.current),le.current=!0,oe.current=setTimeout(function(){le.current=!1},50)}var De=Object(y.useRef)({top:mt,bottom:ce});return De.current.top=mt,De.current.bottom=ce,function(He){var je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,We=He<0&&De.current.top||He>0&&De.current.bottom;return je&&We?(clearTimeout(oe.current),le.current=!1):(!We||le.current)&&fe(),!le.current&&We}};function ut(mt,ce,le,oe){var fe=Object(y.useRef)(0),De=Object(y.useRef)(null),He=Object(y.useRef)(null),je=Object(y.useRef)(!1),We=Ge(ce,le);function nt(It){if(!mt)return;b.a.cancel(De.current);var ir=It.deltaY;if(fe.current+=ir,He.current=ir,We(ir))return;Ie||It.preventDefault(),De.current=Object(b.a)(function(){var Me=je.current?10:1;oe(fe.current*Me),fe.current=0})}function xt(It){if(!mt)return;je.current=It.detail===He.current}return[nt,xt]}var wt=14/15;function Pe(mt,ce,le){var oe=Object(y.useRef)(!1),fe=Object(y.useRef)(0),De=Object(y.useRef)(null),He=Object(y.useRef)(null),je,We=function(ir){if(oe.current){var Me=Math.ceil(ir.touches[0].pageY),ke=fe.current-Me;fe.current=Me,le(ke)&&ir.preventDefault(),clearInterval(He.current),He.current=setInterval(function(){ke*=wt,(!le(ke,!0)||Math.abs(ke)<=.1)&&clearInterval(He.current)},16)}},nt=function(){oe.current=!1,je()},xt=function(ir){je(),ir.touches.length===1&&!oe.current&&(oe.current=!0,fe.current=Math.ceil(ir.touches[0].pageY),De.current=ir.target,De.current.addEventListener("touchmove",We),De.current.addEventListener("touchend",nt))};je=function(){De.current&&(De.current.removeEventListener("touchmove",We),De.current.removeEventListener("touchend",nt))},y.useLayoutEffect(function(){return mt&&ce.current.addEventListener("touchstart",xt),function(){ce.current.removeEventListener("touchstart",xt),je(),clearInterval(He.current)}},[mt])}var Dt=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange"];function et(){return et=Object.assign||function(mt){for(var ce=1;ce<arguments.length;ce++){var le=arguments[ce];for(var oe in le)Object.prototype.hasOwnProperty.call(le,oe)&&(mt[oe]=le[oe])}return mt},et.apply(this,arguments)}function _t(mt,ce){var le=Object.keys(mt);if(Object.getOwnPropertySymbols){var oe=Object.getOwnPropertySymbols(mt);ce&&(oe=oe.filter(function(fe){return Object.getOwnPropertyDescriptor(mt,fe).enumerable})),le.push.apply(le,oe)}return le}function Nt(mt){for(var ce=1;ce<arguments.length;ce++){var le=arguments[ce]!=null?arguments[ce]:{};ce%2?_t(Object(le),!0).forEach(function(oe){Bt(mt,oe,le[oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(mt,Object.getOwnPropertyDescriptors(le)):_t(Object(le)).forEach(function(oe){Object.defineProperty(mt,oe,Object.getOwnPropertyDescriptor(le,oe))})}return mt}function Bt(mt,ce,le){return ce in mt?Object.defineProperty(mt,ce,{value:le,enumerable:!0,configurable:!0,writable:!0}):mt[ce]=le,mt}function Ft(mt,ce){return vt(mt)||ue(mt,ce)||qe(mt,ce)||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 qe(mt,ce){if(!mt)return;if(typeof mt=="string")return we(mt,ce);var le=Object.prototype.toString.call(mt).slice(8,-1);if(le==="Object"&&mt.constructor&&(le=mt.constructor.name),le==="Map"||le==="Set")return Array.from(mt);if(le==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(le))return we(mt,ce)}function we(mt,ce){(ce==null||ce>mt.length)&&(ce=mt.length);for(var le=0,oe=new Array(ce);le<ce;le++)oe[le]=mt[le];return oe}function ue(mt,ce){var le=mt==null?null:typeof Symbol!="undefined"&&mt[Symbol.iterator]||mt["@@iterator"];if(le==null)return;var oe=[],fe=!0,De=!1,He,je;try{for(le=le.call(mt);!(fe=(He=le.next()).done)&&!(oe.push(He.value),ce&&oe.length===ce);fe=!0);}catch(We){De=!0,je=We}finally{try{!fe&&le.return!=null&&le.return()}finally{if(De)throw je}}return oe}function vt(mt){if(Array.isArray(mt))return mt}function at(mt,ce){if(mt==null)return{};var le=Ae(mt,ce),oe,fe;if(Object.getOwnPropertySymbols){var De=Object.getOwnPropertySymbols(mt);for(fe=0;fe<De.length;fe++){if(oe=De[fe],ce.indexOf(oe)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(mt,oe))continue;le[oe]=mt[oe]}}return le}function Ae(mt,ce){if(mt==null)return{};var le={},oe=Object.keys(mt),fe,De;for(De=0;De<oe.length;De++){if(fe=oe[De],ce.indexOf(fe)>=0)continue;le[fe]=mt[fe]}return le}var Xt=[],Ot={overflowY:"auto",overflowAnchor:"none"};function rt(mt,ce){var le=mt.prefixCls,oe=le===void 0?"rc-virtual-list":le,fe=mt.className,De=mt.height,He=mt.itemHeight,je=mt.fullHeight,We=je===void 0?!0:je,nt=mt.style,xt=mt.data,It=mt.children,ir=mt.itemKey,Me=mt.virtual,ke=mt.component,re=ke===void 0?"div":ke,be=mt.onScroll,Ne=mt.onVisibleChange,Ke=at(mt,Dt),Qe=!!(Me!==!1&&De&&He),ct=Qe&&xt&&He*xt.length>De,Lt=Object(y.useState)(0),rr=Ft(Lt,2),dr=rr[0],Pt=rr[1],jt=Object(y.useState)(!1),Ct=Ft(jt,2),Rt=Ct[0],pt=Ct[1],ot=C()(oe,fe),gt=xt||Xt,Ye=Object(y.useRef)(),$e=Object(y.useRef)(),Je=Object(y.useRef)(),it=y.useCallback(function(sn){return typeof ir=="function"?ir(sn):sn==null?void 0:sn[ir]},[ir]),ft={getKey:it};function ht(sn){Pt(function(ta){var ua;typeof sn=="function"?ua=sn(ta):ua=sn;var fa=kr(ua);return Ye.current.scrollTop=fa,fa})}var st=Object(y.useRef)({start:0,end:gt.length}),kt=Object(y.useRef)(),Tt=Ee(gt,it),ar=Ft(Tt,1),Qt=ar[0];kt.current=Qt;var Er=Be(it,null,null),Ir=Ft(Er,4),jr=Ir[0],zr=Ir[1],hn=Ir[2],gn=Ir[3],Br=y.useMemo(function(){if(!Qe)return{scrollHeight:void 0,start:0,end:gt.length-1,offset:void 0};if(!ct){var sn;return{scrollHeight:((sn=$e.current)===null||sn===void 0?void 0:sn.offsetHeight)||0,start:0,end:gt.length-1,offset:void 0}}for(var ta=0,ua,fa,Bi,pa=gt.length,ui=0;ui<pa;ui+=1){var ba=gt[ui],Dn=it(ba),Pn=hn.get(Dn),Yn=ta+(Pn===void 0?He:Pn);Yn>=dr&&ua===void 0&&(ua=ui,fa=ta),Yn>dr+De&&Bi===void 0&&(Bi=ui),ta=Yn}return ua===void 0&&(ua=0,fa=0),Bi===void 0&&(Bi=gt.length-1),Bi=Math.min(Bi+1,gt.length),{scrollHeight:ta,start:ua,end:Bi,offset:fa}},[ct,Qe,dr,gt,gn,De]),ln=Br.scrollHeight,Xr=Br.start,cr=Br.end,wr=Br.offset;st.current.start=Xr,st.current.end=cr;var hr=ln-De,Ar=Object(y.useRef)(hr);Ar.current=hr;function kr(sn){var ta=sn;return Number.isNaN(Ar.current)||(ta=Math.min(ta,Ar.current)),ta=Math.max(ta,0),ta}var nn=dr<=0,wn=dr>=hr,oi=Ge(nn,wn);function tn(sn){var ta=sn;ht(ta)}function Vn(sn){var ta=sn.currentTarget.scrollTop;ta!==dr&&ht(ta),be==null||be(sn)}var On=ut(Qe,nn,wn,function(sn){ht(function(ta){var ua=ta+sn;return ua})}),$n=Ft(On,2),Qn=$n[0],ei=$n[1];Pe(Qe,Ye,function(sn,ta){return oi(sn,ta)?!1:(Qn({preventDefault:function(){},deltaY:sn}),!0)}),Object(y.useLayoutEffect)(function(){function sn(ta){Qe&&ta.preventDefault()}return Ye.current.addEventListener("wheel",Qn),Ye.current.addEventListener("DOMMouseScroll",ei),Ye.current.addEventListener("MozMousePixelScroll",sn),function(){Ye.current.removeEventListener("wheel",Qn),Ye.current.removeEventListener("DOMMouseScroll",ei),Ye.current.removeEventListener("MozMousePixelScroll",sn)}},[Qe]);var zi=ie(Ye,gt,hn,He,it,zr,ht,function(){var sn;(sn=Je.current)===null||sn===void 0||sn.delayHidden()});y.useImperativeHandle(ce,function(){return{scrollTo:zi}}),Object(y.useLayoutEffect)(function(){if(Ne){var sn=gt.slice(Xr,cr+1);Ne(sn,gt)}},[Xr,cr,gt]);var hi=K(gt,Xr,cr,jr,It,ft),Bn=null;return De&&(Bn=Nt(Bt({},We?"height":"maxHeight",De),Ot),Qe&&(Bn.overflowY="hidden",Rt&&(Bn.pointerEvents="none"))),y.createElement("div",et({style:Nt(Nt({},nt),{},{position:"relative"}),className:ot},Ke),y.createElement(re,{className:"".concat(oe,"-holder"),style:Bn,ref:Ye,onScroll:Vn},y.createElement(x,{prefixCls:oe,height:ln,offset:wr,onInnerResize:zr,ref:$e},hi)),Qe&&y.createElement(U,{ref:Je,prefixCls:oe,scrollTop:dr,height:De,scrollHeight:ln,count:gt.length,onScroll:tn,onStartMove:function(){pt(!0)},onStopMove:function(){pt(!1)}}))}var Et=y.forwardRef(rt);Et.displayName="List";var Zt=Et,vr=N.a=Zt},"+rIm":function(B,N,r){var y=r("bYtY"),m=y.retrieve,C=y.defaults,p=y.extend,g=y.each,h=r("7aKB"),c=r("IwbS"),o=r("Qxkt"),n=r("OELB"),t=n.isRadianAroundZero,a=n.remRadian,d=r("oVpE"),i=d.createSymbol,l=r("Fofx"),e=r("QBsz"),s=e.applyTransform,u=r("aX7z"),f=u.shouldShowAllLabels,A=Math.PI,v=function(D,H){this.opt=H,this.axisModel=D,C(H,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new c.Group;var U=new c.Group({position:H.position.slice(),rotation:H.rotation});U.updateTransform(),this._transform=U.transform,this._dumbGroup=U};v.prototype={constructor:v,hasBuilder:function(D){return!!x[D]},add:function(D){x[D].call(this)},getGroup:function(){return this.group}};var x={axisLine:function(){var D=this.opt,H=this.axisModel;if(!H.get("axisLine.show"))return;var U=this.axisModel.axis.getExtent(),z=this._transform,K=[U[0],0],G=[U[1],0];z&&(s(K,K,z),s(G,G,z));var X=p({lineCap:"round"},H.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new c.Line({anid:"line",subPixelOptimize:!0,shape:{x1:K[0],y1:K[1],x2:G[0],y2:G[1]},style:X,strokeContainThreshold:D.strokeContainThreshold||5,silent:!0,z2:1}));var Z=H.get("axisLine.symbol"),ee=H.get("axisLine.symbolSize"),Se=H.get("axisLine.symbolOffset")||0;if(typeof Se=="number"&&(Se=[Se,Se]),Z!=null){typeof Z=="string"&&(Z=[Z,Z]),(typeof ee=="string"||typeof ee=="number")&&(ee=[ee,ee]);var $=ee[0],pe=ee[1];g([{rotate:D.rotation+Math.PI/2,offset:Se[0],r:0},{rotate:D.rotation-Math.PI/2,offset:Se[1],r:Math.sqrt((K[0]-G[0])*(K[0]-G[0])+(K[1]-G[1])*(K[1]-G[1]))}],function(xe,_e){if(Z[_e]!=="none"&&Z[_e]!=null){var Ue=i(Z[_e],-$/2,-pe/2,$,pe,X.stroke,!0),ye=xe.r+xe.offset,Be=[K[0]+ye*Math.cos(D.rotation),K[1]-ye*Math.sin(D.rotation)];Ue.attr({rotation:xe.rotate,position:Be,silent:!0,z2:11}),this.group.add(Ue)}},this)}},axisTickLabel:function(){var D=this.axisModel,H=this.opt,U=k(this,D,H),z=P(this,D,H);S(D,z,U),M(this,D,H)},axisName:function(){var D=this.opt,H=this.axisModel,U=m(D.axisName,H.get("name"));if(!U)return;var z=H.get("nameLocation"),K=D.nameDirection,G=H.getModel("nameTextStyle"),X=H.get("nameGap")||0,Z=this.axisModel.axis.getExtent(),ee=Z[0]>Z[1]?-1:1,Se=[z==="start"?Z[0]-ee*X:z==="end"?Z[1]+ee*X:(Z[0]+Z[1])/2,O(z)?D.labelOffset+K*X:0],$,pe=H.get("nameRotate");pe!=null&&(pe=pe*A/180);var xe;O(z)?$=w(D.rotation,pe!=null?pe:D.rotation,K):($=_(D,z,pe||0,Z),xe=D.axisNameAvailableWidth,xe!=null&&(xe=Math.abs(xe/Math.sin($.rotation)),!isFinite(xe)&&(xe=null)));var _e=G.getFont(),Ue=H.get("nameTruncate",!0)||{},ye=Ue.ellipsis,Be=m(D.nameTruncateMaxWidth,Ue.maxWidth,xe),Q=ye!=null&&Be!=null?h.truncateText(U,Be,_e,ye,{minChar:2,placeholder:Ue.placeholder}):U,ie=H.get("tooltip",!0),Ve=H.mainType,J={componentType:Ve,name:U,$vars:["name"]};J[Ve+"Index"]=H.componentIndex;var W=new c.Text({anid:"name",__fullText:U,__truncatedText:Q,position:Se,rotation:$.rotation,silent:T(H),z2:1,tooltip:ie&&ie.show?p({content:U,formatter:function(){return U},formatterParams:J},ie):null});c.setTextStyle(W.style,G,{text:Q,textFont:_e,textFill:G.getTextColor()||H.get("axisLine.lineStyle.color"),textAlign:G.get("align")||$.textAlign,textVerticalAlign:G.get("verticalAlign")||$.textVerticalAlign}),H.get("triggerEvent")&&(W.eventData=b(H),W.eventData.targetType="axisName",W.eventData.name=U),this._dumbGroup.add(W),W.updateTransform(),this.group.add(W),W.decomposeTransform()}},b=v.makeAxisEventDataBase=function(D){var H={componentType:D.mainType,componentIndex:D.componentIndex};return H[D.mainType+"Index"]=D.componentIndex,H},w=v.innerTextLayout=function(D,H,U){var z=a(H-D),K,G;return t(z)?(G=U>0?"top":"bottom",K="center"):t(z-A)?(G=U>0?"bottom":"top",K="center"):(G="middle",z>0&&z<A?K=U>0?"right":"left":K=U>0?"left":"right"),{rotation:z,textAlign:K,textVerticalAlign:G}};function _(D,H,U,z){var K=a(U-D.rotation),G,X,Z=z[0]>z[1],ee=H==="start"&&!Z||H!=="start"&&Z;return t(K-A/2)?(X=ee?"bottom":"top",G="center"):t(K-A*1.5)?(X=ee?"top":"bottom",G="center"):(X="middle",K<A*1.5&&K>A/2?G=ee?"left":"right":G=ee?"right":"left"),{rotation:K,textAlign:G,textVerticalAlign:X}}var T=v.isLabelSilent=function(D){var H=D.get("tooltip");return D.get("silent")||!(D.get("triggerEvent")||H&&H.show)};function S(D,H,U){if(f(D.axis))return;var z=D.get("axisLabel.showMinLabel"),K=D.get("axisLabel.showMaxLabel");H=H||[],U=U||[];var G=H[0],X=H[1],Z=H[H.length-1],ee=H[H.length-2],Se=U[0],$=U[1],pe=U[U.length-1],xe=U[U.length-2];z===!1?(E(G),E(Se)):I(G,X)&&(z?(E(X),E($)):(E(G),E(Se))),K===!1?(E(Z),E(pe)):I(ee,Z)&&(K?(E(ee),E(xe)):(E(Z),E(pe)))}function E(D){D&&(D.ignore=!0)}function I(D,H,U){var z=D&&D.getBoundingRect().clone(),K=H&&H.getBoundingRect().clone();if(!z||!K)return;var G=l.identity([]);return l.rotate(G,G,-D.rotation),z.applyTransform(l.mul([],G,D.getLocalTransform())),K.applyTransform(l.mul([],G,H.getLocalTransform())),z.intersect(K)}function O(D){return D==="middle"||D==="center"}function F(D,H,U,z,K){for(var G=[],X=[],Z=[],ee=0;ee<D.length;ee++){var Se=D[ee].coord;X[0]=Se,X[1]=0,Z[0]=Se,Z[1]=U,H&&(s(X,X,H),s(Z,Z,H));var $=new c.Line({anid:K+"_"+D[ee].tickValue,subPixelOptimize:!0,shape:{x1:X[0],y1:X[1],x2:Z[0],y2:Z[1]},style:z,z2:2,silent:!0});G.push($)}return G}function k(D,H,U){var z=H.axis,K=H.getModel("axisTick");if(!K.get("show")||z.scale.isBlank())return;for(var G=K.getModel("lineStyle"),X=U.tickDirection*K.get("length"),Z=z.getTicksCoords(),ee=F(Z,D._transform,X,C(G.getLineStyle(),{stroke:H.get("axisLine.lineStyle.color")}),"ticks"),Se=0;Se<ee.length;Se++)D.group.add(ee[Se]);return ee}function M(D,H,U){var z=H.axis,K=H.getModel("minorTick");if(!K.get("show")||z.scale.isBlank())return;var G=z.getMinorTicksCoords();if(!G.length)return;for(var X=K.getModel("lineStyle"),Z=U.tickDirection*K.get("length"),ee=C(X.getLineStyle(),C(H.getModel("axisTick").getLineStyle(),{stroke:H.get("axisLine.lineStyle.color")})),Se=0;Se<G.length;Se++)for(var $=F(G[Se],D._transform,Z,ee,"minorticks_"+Se),pe=0;pe<$.length;pe++)D.group.add($[pe])}function P(D,H,U){var z=H.axis,K=m(U.axisLabelShow,H.get("axisLabel.show"));if(!K||z.scale.isBlank())return;var G=H.getModel("axisLabel"),X=G.get("margin"),Z=z.getViewLabels(),ee=(m(U.labelRotate,G.get("rotate"))||0)*A/180,Se=w(U.rotation,ee,U.labelDirection),$=H.getCategories&&H.getCategories(!0),pe=[],xe=T(H),_e=H.get("triggerEvent");return g(Z,function(Ue,ye){var Be=Ue.tickValue,Q=Ue.formattedLabel,ie=Ue.rawLabel,Ve=G;$&&$[Be]&&$[Be].textStyle&&(Ve=new o($[Be].textStyle,G,H.ecModel));var J=Ve.getTextColor()||H.get("axisLine.lineStyle.color"),W=z.dataToCoord(Be),j=[W,U.labelOffset+U.labelDirection*X],Y=new c.Text({anid:"label_"+Be,position:j,rotation:Se.rotation,silent:xe,z2:10});c.setTextStyle(Y.style,Ve,{text:Q,textAlign:Ve.getShallow("align",!0)||Se.textAlign,textVerticalAlign:Ve.getShallow("verticalAlign",!0)||Ve.getShallow("baseline",!0)||Se.textVerticalAlign,textFill:typeof J=="function"?J(z.type==="category"?ie:z.type==="value"?Be+"":Be,ye):J}),_e&&(Y.eventData=b(H),Y.eventData.targetType="axisLabel",Y.eventData.value=ie),D._dumbGroup.add(Y),Y.updateTransform(),pe.push(Y),D.group.add(Y),Y.decomposeTransform()}),pe}var V=v;B.exports=V},"+wW9":function(B,N,r){var y=r("bYtY"),m=y.each,C=y.isArray,p=y.isObject,g=r("JuEJ"),h=r("4NO4"),c=h.normalizeToArray;function o(l,e){e=e.split(",");for(var s=l,u=0;u<e.length&&!(s=s&&s[e[u]],s==null);u++);return s}function n(l,e,s,u){e=e.split(",");for(var f=l,A,v=0;v<e.length-1;v++)A=e[v],f[A]==null&&(f[A]={}),f=f[A];(u||f[e[v]]==null)&&(f[e[v]]=s)}function t(l){m(a,function(e){e[0]in l&&!(e[1]in l)&&(l[e[1]]=l[e[0]])})}var a=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],d=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];function i(l,e){g(l,e),l.series=c(l.series),m(l.series,function(s){if(!p(s))return;var u=s.type;if(u==="line")s.clipOverflow!=null&&(s.clip=s.clipOverflow);else if(u==="pie"||u==="gauge")s.clockWise!=null&&(s.clockwise=s.clockWise);else if(u==="gauge"){var f=o(s,"pointer.color");f!=null&&n(s,"itemStyle.color",f)}t(s)}),l.dataRange&&(l.visualMap=l.dataRange),m(d,function(s){var u=l[s];u&&(C(u)||(u=[u]),m(u,function(f){t(f)}))})}B.exports=i},"/IIm":function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("bYtY"),p=r("H6uX"),g=r("IwbS"),h=r("pP6R"),c=r("gPAo"),o=C.curry,n=C.each,t=C.map,a=Math.min,d=Math.max,i=Math.pow,l=1e4,e=6,s=6,u="globalPan",f={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},A={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},v={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},x=0;function b(ne){p.call(this),this._zr=ne,this.group=new g.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+x++,this._handlers={},n(j,function(ge,Ie){this._handlers[Ie]=C.bind(ge,this)},this)}b.prototype={constructor:b,enableBrush:function(ne){return this._brushType&&_(this),ne.brushType&&w(this,ne),this},setPanels:function(ne){if(ne&&ne.length){var ge=this._panels={};C.each(ne,function(Ie){ge[Ie.panelId]=C.clone(Ie)})}else this._panels=null;return this},mount:function(ne){ne=ne||{},this._enableGlobalPan=ne.enableGlobalPan;var ge=this.group;return this._zr.add(ge),ge.attr({position:ne.position||[0,0],rotation:ne.rotation||0,scale:ne.scale||[1,1]}),this._transform=ge.getLocalTransform(),this},eachCover:function(ne,ge){n(this._covers,ne,ge)},updateCovers:function(ne){ne=C.map(ne,function(Nt){return C.merge(C.clone(v),Nt,!0)});var ge="\0-brush-index-",Ie=this._covers,Ge=this._covers=[],ut=this,wt=this._creatingCover;return new c(Ie,ne,Dt,Pe).add(et).update(et).remove(_t).execute(),this;function Pe(Nt,Bt){return(Nt.id!=null?Nt.id:ge+Bt)+"-"+Nt.brushType}function Dt(Nt,Bt){return Pe(Nt.__brushOption,Bt)}function et(Nt,Bt){var Ft=ne[Nt];if(Bt!=null&&Ie[Bt]===wt)Ge[Nt]=Ie[Bt];else{var Gt=Ge[Nt]=Bt!=null?(Ie[Bt].__brushOption=Ft,Ie[Bt]):I(ut,E(ut,Ft));k(ut,Gt)}}function _t(Nt){Ie[Nt]!==wt&&ut.group.remove(Ie[Nt])}},unmount:function(){return this.enableBrush(!1),D(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},C.mixin(b,p);function w(ne,ge){var Ie=ne._zr;ne._enableGlobalPan||h.take(Ie,u,ne._uid),T(Ie,ne._handlers),ne._brushType=ge.brushType,ne._brushOption=C.merge(C.clone(v),ge,!0)}function _(ne){var ge=ne._zr;h.release(ge,u,ne._uid),S(ge,ne._handlers),ne._brushType=ne._brushOption=null}function T(ne,ge){n(ge,function(Ie,Ge){ne.on(Ge,Ie)})}function S(ne,ge){n(ge,function(Ie,Ge){ne.off(Ge,Ie)})}function E(ne,ge){var Ie=ae[ge.brushType].createCover(ne,ge);return Ie.__brushOption=ge,F(Ie,ge),ne.group.add(Ie),Ie}function I(ne,ge){var Ie=M(ge);return Ie.endCreating&&(Ie.endCreating(ne,ge),F(ge,ge.__brushOption)),ge}function O(ne,ge){var Ie=ge.__brushOption;M(ge).updateCoverShape(ne,ge,Ie.range,Ie)}function F(ne,ge){var Ie=ge.z;Ie==null&&(Ie=l),ne.traverse(function(Ge){Ge.z=Ie,Ge.z2=Ie})}function k(ne,ge){M(ge).updateCommon(ne,ge),O(ne,ge)}function M(ne){return ae[ne.__brushOption.brushType]}function P(ne,ge,Ie){var Ge=ne._panels;if(!Ge)return!0;var ut,wt=ne._transform;return n(Ge,function(Pe){Pe.isTargetByCursor(ge,Ie,wt)&&(ut=Pe)}),ut}function V(ne,ge){var Ie=ne._panels;if(!Ie)return!0;var Ge=ge.__brushOption.panelId;return Ge!=null?Ie[Ge]:!0}function D(ne){var ge=ne._covers,Ie=ge.length;return n(ge,function(Ge){ne.group.remove(Ge)},ne),ge.length=0,!!Ie}function H(ne,ge){var Ie=t(ne._covers,function(Ge){var ut=Ge.__brushOption,wt=C.clone(ut.range);return{brushType:ut.brushType,panelId:ut.panelId,range:wt}});ne.trigger("brush",Ie,{isEnd:!!ge.isEnd,removeOnClick:!!ge.removeOnClick})}function U(ne){var ge=ne._track;if(!ge.length)return!1;var Ie=ge[ge.length-1],Ge=ge[0],ut=Ie[0]-Ge[0],wt=Ie[1]-Ge[1],Pe=i(ut*ut+wt*wt,.5);return Pe>e}function z(ne){var ge=ne.length-1;return ge<0&&(ge=0),[ne[0],ne[ge]]}function K(ne,ge,Ie,Ge){var ut=new g.Group;return ut.add(new g.Rect({name:"main",style:ee(Ie),silent:!0,draggable:!0,cursor:"move",drift:o(ne,ge,ut,"nswe"),ondragend:o(H,ge,{isEnd:!0})})),n(Ge,function(wt){ut.add(new g.Rect({name:wt,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:o(ne,ge,ut,wt),ondragend:o(H,ge,{isEnd:!0})}))}),ut}function G(ne,ge,Ie,Ge){var ut=Ge.brushStyle.lineWidth||0,wt=d(ut,s),Pe=Ie[0][0],Dt=Ie[1][0],et=Pe-ut/2,_t=Dt-ut/2,Nt=Ie[0][1],Bt=Ie[1][1],Ft=Nt-wt+ut/2,Gt=Bt-wt+ut/2,qe=Nt-Pe,we=Bt-Dt,ue=qe+ut,vt=we+ut;Z(ne,ge,"main",Pe,Dt,qe,we),Ge.transformable&&(Z(ne,ge,"w",et,_t,wt,vt),Z(ne,ge,"e",Ft,_t,wt,vt),Z(ne,ge,"n",et,_t,ue,wt),Z(ne,ge,"s",et,Gt,ue,wt),Z(ne,ge,"nw",et,_t,wt,wt),Z(ne,ge,"ne",Ft,_t,wt,wt),Z(ne,ge,"sw",et,Gt,wt,wt),Z(ne,ge,"se",Ft,Gt,wt,wt))}function X(ne,ge){var Ie=ge.__brushOption,Ge=Ie.transformable,ut=ge.childAt(0);ut.useStyle(ee(Ie)),ut.attr({silent:!Ge,cursor:Ge?"move":"default"}),n(["w","e","n","s","se","sw","ne","nw"],function(wt){var Pe=ge.childOfName(wt),Dt=pe(ne,wt);Pe&&Pe.attr({silent:!Ge,invisible:!Ge,cursor:Ge?A[Dt]+"-resize":null})})}function Z(ne,ge,Ie,Ge,ut,wt,Pe){var Dt=ge.childOfName(Ie);Dt&&Dt.setShape(Be(ye(ne,ge,[[Ge,ut],[Ge+wt,ut+Pe]])))}function ee(ne){return C.defaults({strokeNoScale:!0},ne.brushStyle)}function Se(ne,ge,Ie,Ge){var ut=[a(ne,Ie),a(ge,Ge)],wt=[d(ne,Ie),d(ge,Ge)];return[[ut[0],wt[0]],[ut[1],wt[1]]]}function $(ne){return g.getTransform(ne.group)}function pe(ne,ge){if(ge.length>1){ge=ge.split("");var Ie=[pe(ne,ge[0]),pe(ne,ge[1])];return(Ie[0]==="e"||Ie[0]==="w")&&Ie.reverse(),Ie.join("")}else{var Ge={w:"left",e:"right",n:"top",s:"bottom"},ut={left:"w",right:"e",top:"n",bottom:"s"},Ie=g.transformDirection(Ge[ge],$(ne));return ut[Ie]}}function xe(ne,ge,Ie,Ge,ut,wt,Pe,Dt){var et=Ge.__brushOption,_t=ne(et.range),Nt=Ue(Ie,wt,Pe);n(ut.split(""),function(Bt){var Ft=f[Bt];_t[Ft[0]][Ft[1]]+=Nt[Ft[0]]}),et.range=ge(Se(_t[0][0],_t[1][0],_t[0][1],_t[1][1])),k(Ie,Ge),H(Ie,{isEnd:!1})}function _e(ne,ge,Ie,Ge,ut){var wt=ge.__brushOption.range,Pe=Ue(ne,Ie,Ge);n(wt,function(Dt){Dt[0]+=Pe[0],Dt[1]+=Pe[1]}),k(ne,ge),H(ne,{isEnd:!1})}function Ue(ne,ge,Ie){var Ge=ne.group,ut=Ge.transformCoordToLocal(ge,Ie),wt=Ge.transformCoordToLocal(0,0);return[ut[0]-wt[0],ut[1]-wt[1]]}function ye(ne,ge,Ie){var Ge=V(ne,ge);return Ge&&Ge!==!0?Ge.clipPath(Ie,ne._transform):C.clone(Ie)}function Be(ne){var ge=a(ne[0][0],ne[1][0]),Ie=a(ne[0][1],ne[1][1]),Ge=d(ne[0][0],ne[1][0]),ut=d(ne[0][1],ne[1][1]);return{x:ge,y:Ie,width:Ge-ge,height:ut-Ie}}function Q(ne,ge,Ie){if(!ne._brushType||me(ne,ge))return;var Ge=ne._zr,ut=ne._covers,wt=P(ne,ge,Ie);if(!ne._dragging)for(var Pe=0;Pe<ut.length;Pe++){var Dt=ut[Pe].__brushOption;if(wt&&(wt===!0||Dt.panelId===wt.panelId)&&ae[Dt.brushType].contain(ut[Pe],Ie[0],Ie[1]))return}wt&&Ge.setCursorStyle("crosshair")}function ie(ne){var ge=ne.event;ge.preventDefault&&ge.preventDefault()}function Ve(ne,ge,Ie){return ne.childOfName("main").contain(ge,Ie)}function J(ne,ge,Ie,Ge){var ut=ne._creatingCover,wt=ne._creatingPanel,Pe=ne._brushOption,Dt;if(ne._track.push(Ie.slice()),U(ne)||ut){if(wt&&!ut){Pe.brushMode==="single"&&D(ne);var et=C.clone(Pe);et.brushType=W(et.brushType,wt),et.panelId=wt===!0?null:wt.panelId,ut=ne._creatingCover=E(ne,et),ne._covers.push(ut)}if(ut){var _t=ae[W(ne._brushType,wt)],Nt=ut.__brushOption;Nt.range=_t.getCreatingRange(ye(ne,ut,ne._track)),Ge&&(I(ne,ut),_t.updateCommon(ne,ut)),O(ne,ut),Dt={isEnd:Ge}}}else Ge&&Pe.brushMode==="single"&&Pe.removeOnClick&&(P(ne,ge,Ie)&&D(ne)&&(Dt={isEnd:Ge,removeOnClick:!0}));return Dt}function W(ne,ge){return ne==="auto"?ge.defaultBrushType:ne}var j={mousedown:function(ne){if(this._dragging)Y(this,ne);else if(!ne.target||!ne.target.draggable){ie(ne);var ge=this.group.transformCoordToLocal(ne.offsetX,ne.offsetY);this._creatingCover=null;var Ie=this._creatingPanel=P(this,ne,ge);Ie&&(this._dragging=!0,this._track=[ge.slice()])}},mousemove:function(ne){var ge=ne.offsetX,Ie=ne.offsetY,Ge=this.group.transformCoordToLocal(ge,Ie);if(Q(this,ne,Ge),this._dragging){ie(ne);var ut=J(this,ne,Ge,!1);ut&&H(this,ut)}},mouseup:function(ne){Y(this,ne)}};function Y(ne,ge){if(ne._dragging){ie(ge);var Ie=ge.offsetX,Ge=ge.offsetY,ut=ne.group.transformCoordToLocal(Ie,Ge),wt=J(ne,ge,ut,!0);ne._dragging=!1,ne._track=[],ne._creatingCover=null,wt&&H(ne,wt)}}function me(ne,ge,Ie){var Ge=ne._zr;return ge<0||ge>Ge.getWidth()||Ie<0||Ie>Ge.getHeight()}var ae={lineX:Le(0),lineY:Le(1),rect:{createCover:function(ne,ge){return K(o(xe,function(Ie){return Ie},function(Ie){return Ie}),ne,ge,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(ne){var ge=z(ne);return Se(ge[1][0],ge[1][1],ge[0][0],ge[0][1])},updateCoverShape:function(ne,ge,Ie,Ge){G(ne,ge,Ie,Ge)},updateCommon:X,contain:Ve},polygon:{createCover:function(ne,ge){var Ie=new g.Group;return Ie.add(new g.Polyline({name:"main",style:ee(ge),silent:!0})),Ie},getCreatingRange:function(ne){return ne},endCreating:function(ne,ge){ge.remove(ge.childAt(0)),ge.add(new g.Polygon({name:"main",draggable:!0,drift:o(_e,ne,ge),ondragend:o(H,ne,{isEnd:!0})}))},updateCoverShape:function(ne,ge,Ie,Ge){ge.childAt(0).setShape({points:ye(ne,ge,Ie)})},updateCommon:X,contain:Ve}};function Le(ne){return{createCover:function(ge,Ie){return K(o(xe,function(Ge){var ut=[Ge,[0,100]];return ne&&ut.reverse(),ut},function(Ge){return Ge[ne]}),ge,Ie,[["w","e"],["n","s"]][ne])},getCreatingRange:function(ge){var Ie=z(ge),Ge=a(Ie[0][ne],Ie[1][ne]),ut=d(Ie[0][ne],Ie[1][ne]);return[Ge,ut]},updateCoverShape:function(ge,Ie,Ge,ut){var wt,Pe=V(ge,Ie);if(Pe!==!0&&Pe.getLinearBrushOtherExtent)wt=Pe.getLinearBrushOtherExtent(ne,ge._transform);else{var Dt=ge._zr;wt=[0,[Dt.getWidth(),Dt.getHeight()][1-ne]]}var et=[Ge,wt];ne&&et.reverse(),G(ge,Ie,et,ut)},updateCommon:X,contain:Ve}}var Ee=b;B.exports=Ee},"/MfK":function(B,N,r){"use strict";var y=r("VTBJ"),m=r("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"},p=C,g=r("6VBw"),h=function(n,t){return m.createElement(g.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};h.displayName="DeleteOutlined";var c=N.a=m.forwardRef(h)},"/POA":function(B,N,r){!function(y,m){if(!0)B.exports=m();else var C,p}(window,function(){return function(y){var m={};function C(p){if(m[p])return m[p].exports;var g=m[p]={i:p,l:!1,exports:{}};return y[p].call(g.exports,g,g.exports,C),g.l=!0,g.exports}return C.m=y,C.c=m,C.d=function(p,g,h){C.o(p,g)||Object.defineProperty(p,g,{enumerable:!0,get:h})},C.r=function(p){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(p,"__esModule",{value:!0})},C.t=function(p,g){if(1&g&&(p=C(p)),8&g)return p;if(4&g&&typeof p=="object"&&p&&p.__esModule)return p;var h=Object.create(null);if(C.r(h),Object.defineProperty(h,"default",{enumerable:!0,value:p}),2&g&&typeof p!="string")for(var c in p)C.d(h,c,function(o){return p[o]}.bind(null,c));return h},C.n=function(p){var g=p&&p.__esModule?function(){return p.default}:function(){return p};return C.d(g,"a",g),g},C.o=function(p,g){return Object.prototype.hasOwnProperty.call(p,g)},C.p="",C(C.s=34)}([function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.forwardEvent=m.EventEmitter=void 0;var p=function(){function g(){this._listeners=[],this._disposed=!1}return Object.defineProperty(g.prototype,"event",{get:function(){var c=this;return this._event||(this._event=function(o){return c._listeners.push(o),{dispose:function(){if(!c._disposed){for(var t=0;t<c._listeners.length;t++)if(c._listeners[t]===o)return void c._listeners.splice(t,1)}}}}),this._event},enumerable:!1,configurable:!0}),g.prototype.fire=function(h,c){for(var o=[],n=0;n<this._listeners.length;n++)o.push(this._listeners[n]);for(n=0;n<o.length;n++)o[n].call(void 0,h,c)},g.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},g}();m.EventEmitter=p,m.forwardEvent=function(g,h){return g(function(c){return h.fire(c)})}},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.IUnicodeService=m.IOptionsService=m.ILogService=m.IInstantiationService=m.IDirtyRowService=m.ICharsetService=m.ICoreService=m.ICoreMouseService=m.IBufferService=void 0;var p=C(14);m.IBufferService=p.createDecorator("BufferService"),m.ICoreMouseService=p.createDecorator("CoreMouseService"),m.ICoreService=p.createDecorator("CoreService"),m.ICharsetService=p.createDecorator("CharsetService"),m.IDirtyRowService=p.createDecorator("DirtyRowService"),m.IInstantiationService=p.createDecorator("InstantiationService"),m.ILogService=p.createDecorator("LogService"),m.IOptionsService=p.createDecorator("OptionsService"),m.IUnicodeService=p.createDecorator("UnicodeService")},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.getDisposeArrayDisposable=m.disposeArray=m.Disposable=void 0;var p=function(){function h(){this._disposables=[],this._isDisposed=!1}return h.prototype.dispose=function(){this._isDisposed=!0;for(var c=0,o=this._disposables;c<o.length;c++)o[c].dispose();this._disposables.length=0},h.prototype.register=function(c){return this._disposables.push(c),c},h.prototype.unregister=function(c){var o=this._disposables.indexOf(c);o!==-1&&this._disposables.splice(o,1)},h}();function g(h){for(var c=0,o=h;c<o.length;c++)o[c].dispose();h.length=0}m.Disposable=p,m.disposeArray=g,m.getDisposeArrayDisposable=function(h){return{dispose:function(){return g(h)}}}},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.WHITESPACE_CELL_CODE=m.WHITESPACE_CELL_WIDTH=m.WHITESPACE_CELL_CHAR=m.NULL_CELL_CODE=m.NULL_CELL_WIDTH=m.NULL_CELL_CHAR=m.CHAR_DATA_CODE_INDEX=m.CHAR_DATA_WIDTH_INDEX=m.CHAR_DATA_CHAR_INDEX=m.CHAR_DATA_ATTR_INDEX=m.DEFAULT_ATTR=m.DEFAULT_COLOR=void 0,m.DEFAULT_COLOR=256,m.DEFAULT_ATTR=256|m.DEFAULT_COLOR<<9,m.CHAR_DATA_ATTR_INDEX=0,m.CHAR_DATA_CHAR_INDEX=1,m.CHAR_DATA_WIDTH_INDEX=2,m.CHAR_DATA_CODE_INDEX=3,m.NULL_CELL_CHAR="",m.NULL_CELL_WIDTH=1,m.NULL_CELL_CODE=0,m.WHITESPACE_CELL_CHAR=" ",m.WHITESPACE_CELL_WIDTH=1,m.WHITESPACE_CELL_CODE=32},function(y,m,C){"use strict";var p,g=this&&this.__extends||(p=function(a,d){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,l){i.__proto__=l}||function(i,l){for(var e in l)l.hasOwnProperty(e)&&(i[e]=l[e])})(a,d)},function(t,a){function d(){this.constructor=t}p(t,a),t.prototype=a===null?Object.create(a):(d.prototype=a.prototype,new d)});Object.defineProperty(m,"__esModule",{value:!0}),m.CellData=void 0;var h=C(8),c=C(3),o=C(6),n=function(t){function a(){var d=t!==null&&t.apply(this,arguments)||this;return d.content=0,d.fg=0,d.bg=0,d.extended=new o.ExtendedAttrs,d.combinedData="",d}return g(a,t),a.fromCharData=function(d){var i=new a;return i.setFromCharData(d),i},a.prototype.isCombined=function(){return 2097152&this.content},a.prototype.getWidth=function(){return this.content>>22},a.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?h.stringFromCodePoint(2097151&this.content):""},a.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},a.prototype.setFromCharData=function(d){this.fg=d[c.CHAR_DATA_ATTR_INDEX],this.bg=0;var i=!1;if(d[c.CHAR_DATA_CHAR_INDEX].length>2)i=!0;else if(d[c.CHAR_DATA_CHAR_INDEX].length===2){var l=d[c.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=l&&l<=56319){var e=d[c.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=e&&e<=57343?this.content=1024*(l-55296)+e-56320+65536|d[c.CHAR_DATA_WIDTH_INDEX]<<22:i=!0}else i=!0}else this.content=d[c.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|d[c.CHAR_DATA_WIDTH_INDEX]<<22;i&&(this.combinedData=d[c.CHAR_DATA_CHAR_INDEX],this.content=2097152|d[c.CHAR_DATA_WIDTH_INDEX]<<22)},a.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},a}(o.AttributeData);m.CellData=n},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.ISoundService=m.ISelectionService=m.IRenderService=m.IMouseService=m.ICoreBrowserService=m.ICharSizeService=void 0;var p=C(14);m.ICharSizeService=p.createDecorator("CharSizeService"),m.ICoreBrowserService=p.createDecorator("CoreBrowserService"),m.IMouseService=p.createDecorator("MouseService"),m.IRenderService=p.createDecorator("RenderService"),m.ISelectionService=p.createDecorator("SelectionService"),m.ISoundService=p.createDecorator("SoundService")},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.ExtendedAttrs=m.AttributeData=void 0;var p=function(){function h(){this.fg=0,this.bg=0,this.extended=new g}return h.toColorRGB=function(c){return[c>>>16&255,c>>>8&255,255&c]},h.fromColorRGB=function(c){return(255&c[0])<<16|(255&c[1])<<8|255&c[2]},h.prototype.clone=function(){var c=new h;return c.fg=this.fg,c.bg=this.bg,c.extended=this.extended.clone(),c},h.prototype.isInverse=function(){return 67108864&this.fg},h.prototype.isBold=function(){return 134217728&this.fg},h.prototype.isUnderline=function(){return 268435456&this.fg},h.prototype.isBlink=function(){return 536870912&this.fg},h.prototype.isInvisible=function(){return 1073741824&this.fg},h.prototype.isItalic=function(){return 67108864&this.bg},h.prototype.isDim=function(){return 134217728&this.bg},h.prototype.getFgColorMode=function(){return 50331648&this.fg},h.prototype.getBgColorMode=function(){return 50331648&this.bg},h.prototype.isFgRGB=function(){return(50331648&this.fg)==50331648},h.prototype.isBgRGB=function(){return(50331648&this.bg)==50331648},h.prototype.isFgPalette=function(){return(50331648&this.fg)==16777216||(50331648&this.fg)==33554432},h.prototype.isBgPalette=function(){return(50331648&this.bg)==16777216||(50331648&this.bg)==33554432},h.prototype.isFgDefault=function(){return(50331648&this.fg)==0},h.prototype.isBgDefault=function(){return(50331648&this.bg)==0},h.prototype.isAttributeDefault=function(){return this.fg===0&&this.bg===0},h.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},h.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},h.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},h.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},h.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()},h.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},h.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==50331648:this.isFgRGB()},h.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==16777216||(50331648&this.extended.underlineColor)==33554432:this.isFgPalette()},h.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==0:this.isFgDefault()},h.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},h}();m.AttributeData=p;var g=function(){function h(c,o){c===void 0&&(c=0),o===void 0&&(o=-1),this.underlineStyle=c,this.underlineColor=o}return h.prototype.clone=function(){return new h(this.underlineStyle,this.underlineColor)},h.prototype.isEmpty=function(){return this.underlineStyle===0},h}();m.ExtendedAttrs=g},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.addDisposableDomListener=void 0,m.addDisposableDomListener=function(p,g,h,c){p.addEventListener(g,h,c);var o=!1;return{dispose:function(){o||(o=!0,p.removeEventListener(g,h,c))}}}},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.Utf8ToUtf32=m.StringToUtf32=m.utf32ToString=m.stringFromCodePoint=void 0,m.stringFromCodePoint=function(h){return h>65535?(h-=65536,String.fromCharCode(55296+(h>>10))+String.fromCharCode(h%1024+56320)):String.fromCharCode(h)},m.utf32ToString=function(h,c,o){c===void 0&&(c=0),o===void 0&&(o=h.length);for(var n="",t=c;t<o;++t){var a=h[t];a>65535?(a-=65536,n+=String.fromCharCode(55296+(a>>10))+String.fromCharCode(a%1024+56320)):n+=String.fromCharCode(a)}return n};var p=function(){function h(){this._interim=0}return h.prototype.clear=function(){this._interim=0},h.prototype.decode=function(c,o){var n=c.length;if(!n)return 0;var t=0,a=0;this._interim&&(56320<=(l=c.charCodeAt(a++))&&l<=57343?o[t++]=1024*(this._interim-55296)+l-56320+65536:(o[t++]=this._interim,o[t++]=l),this._interim=0);for(var d=a;d<n;++d){var i=c.charCodeAt(d);if(55296<=i&&i<=56319){if(++d>=n)return this._interim=i,t;var l;56320<=(l=c.charCodeAt(d))&&l<=57343?o[t++]=1024*(i-55296)+l-56320+65536:(o[t++]=i,o[t++]=l)}else o[t++]=i}return t},h}();m.StringToUtf32=p;var g=function(){function h(){this.interim=new Uint8Array(3)}return h.prototype.clear=function(){this.interim.fill(0)},h.prototype.decode=function(c,o){var n=c.length;if(!n)return 0;var t,a,d,i,l=0,e=0,s=0;if(this.interim[0]){var u=!1,f=this.interim[0];f&=(224&f)==192?31:(240&f)==224?15:7;for(var A=0,v=void 0;(v=63&this.interim[++A])&&A<4;)f<<=6,f|=v;for(var x=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,b=x-A;s<b;){if(s>=n)return 0;if((192&(v=c[s++]))!=128){s--,u=!0;break}this.interim[A++]=v,f<<=6,f|=63&v}u||(x===2?f<128?s--:o[l++]=f:x===3?f<2048||f>=55296&&f<=57343||(o[l++]=f):f<65536||f>1114111||(o[l++]=f)),this.interim.fill(0)}for(var w=n-4,_=s;_<n;){for(;!(!(_<w)||128&(t=c[_])||128&(a=c[_+1])||128&(d=c[_+2])||128&(i=c[_+3]));)o[l++]=t,o[l++]=a,o[l++]=d,o[l++]=i,_+=4;if((t=c[_++])<128)o[l++]=t;else if((224&t)==192){if(_>=n)return this.interim[0]=t,l;if((192&(a=c[_++]))!=128){_--;continue}if((e=(31&t)<<6|63&a)<128){_--;continue}o[l++]=e}else if((240&t)==224){if(_>=n)return this.interim[0]=t,l;if((192&(a=c[_++]))!=128){_--;continue}if(_>=n)return this.interim[0]=t,this.interim[1]=a,l;if((192&(d=c[_++]))!=128){_--;continue}if((e=(15&t)<<12|(63&a)<<6|63&d)<2048||e>=55296&&e<=57343)continue;o[l++]=e}else if((248&t)==240){if(_>=n)return this.interim[0]=t,l;if((192&(a=c[_++]))!=128){_--;continue}if(_>=n)return this.interim[0]=t,this.interim[1]=a,l;if((192&(d=c[_++]))!=128){_--;continue}if(_>=n)return this.interim[0]=t,this.interim[1]=a,this.interim[2]=d,l;if((192&(i=c[_++]))!=128){_--;continue}if((e=(7&t)<<18|(63&a)<<12|(63&d)<<6|63&i)<65536||e>1114111)continue;o[l++]=e}}return l},h}();m.Utf8ToUtf32=g},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CHAR_ATLAS_CELL_SPACING=m.DIM_OPACITY=m.INVERTED_DEFAULT_COLOR=void 0,m.INVERTED_DEFAULT_COLOR=257,m.DIM_OPACITY=.5,m.CHAR_ATLAS_CELL_SPACING=1},function(y,m,C){"use strict";var p,g,h,c;function o(t){var a=t.toString(16);return a.length<2?"0"+a:a}function n(t,a){return t<a?(a+.05)/(t+.05):(t+.05)/(a+.05)}Object.defineProperty(m,"__esModule",{value:!0}),m.contrastRatio=m.toPaddedHex=m.rgba=m.rgb=m.css=m.color=m.channels=void 0,function(t){t.toCss=function(a,d,i,l){return l!==void 0?"#"+o(a)+o(d)+o(i)+o(l):"#"+o(a)+o(d)+o(i)},t.toRgba=function(a,d,i,l){return l===void 0&&(l=255),(a<<24|d<<16|i<<8|l)>>>0}}(p=m.channels||(m.channels={})),(g=m.color||(m.color={})).blend=function(t,a){var d=(255&a.rgba)/255;if(d===1)return{css:a.css,rgba:a.rgba};var i=a.rgba>>24&255,l=a.rgba>>16&255,e=a.rgba>>8&255,s=t.rgba>>24&255,u=t.rgba>>16&255,f=t.rgba>>8&255,A=s+Math.round((i-s)*d),v=u+Math.round((l-u)*d),x=f+Math.round((e-f)*d);return{css:p.toCss(A,v,x),rgba:p.toRgba(A,v,x)}},g.isOpaque=function(t){return(255&t.rgba)==255},g.ensureContrastRatio=function(t,a,d){var i=c.ensureContrastRatio(t.rgba,a.rgba,d);if(i)return c.toColor(i>>24&255,i>>16&255,i>>8&255)},g.opaque=function(t){var a=(255|t.rgba)>>>0,d=c.toChannels(a),i=d[0],l=d[1],e=d[2];return{css:p.toCss(i,l,e),rgba:a}},g.opacity=function(t,a){var d=Math.round(255*a),i=c.toChannels(t.rgba),l=i[0],e=i[1],s=i[2];return{css:p.toCss(l,e,s,d),rgba:p.toRgba(l,e,s,d)}},(m.css||(m.css={})).toColor=function(t){switch(t.length){case 7:return{css:t,rgba:(parseInt(t.slice(1),16)<<8|255)>>>0};case 9:return{css:t,rgba:parseInt(t.slice(1),16)>>>0}}throw new Error("css.toColor: Unsupported css format")},function(t){function a(d,i,l){var e=d/255,s=i/255,u=l/255;return .2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4))+.0722*(u<=.03928?u/12.92:Math.pow((u+.055)/1.055,2.4))}t.relativeLuminance=function(d){return a(d>>16&255,d>>8&255,255&d)},t.relativeLuminance2=a}(h=m.rgb||(m.rgb={})),function(t){function a(i,l,e){for(var s=i>>24&255,u=i>>16&255,f=i>>8&255,A=l>>24&255,v=l>>16&255,x=l>>8&255,b=n(h.relativeLuminance2(A,x,v),h.relativeLuminance2(s,u,f));b<e&&(A>0||v>0||x>0);)A-=Math.max(0,Math.ceil(.1*A)),v-=Math.max(0,Math.ceil(.1*v)),x-=Math.max(0,Math.ceil(.1*x)),b=n(h.relativeLuminance2(A,x,v),h.relativeLuminance2(s,u,f));return(A<<24|v<<16|x<<8|255)>>>0}function d(i,l,e){for(var s=i>>24&255,u=i>>16&255,f=i>>8&255,A=l>>24&255,v=l>>16&255,x=l>>8&255,b=n(h.relativeLuminance2(A,x,v),h.relativeLuminance2(s,u,f));b<e&&(A<255||v<255||x<255);)A=Math.min(255,A+Math.ceil(.1*(255-A))),v=Math.min(255,v+Math.ceil(.1*(255-v))),x=Math.min(255,x+Math.ceil(.1*(255-x))),b=n(h.relativeLuminance2(A,x,v),h.relativeLuminance2(s,u,f));return(A<<24|v<<16|x<<8|255)>>>0}t.ensureContrastRatio=function(i,l,e){var s=h.relativeLuminance(i>>8),u=h.relativeLuminance(l>>8);if(n(s,u)<e)return u<s?a(i,l,e):d(i,l,e)},t.reduceLuminance=a,t.increaseLuminance=d,t.toChannels=function(i){return[i>>24&255,i>>16&255,i>>8&255,255&i]},t.toColor=function(i,l,e){return{css:p.toCss(i,l,e),rgba:p.toRgba(i,l,e)}}}(c=m.rgba||(m.rgba={})),m.toPaddedHex=o,m.contrastRatio=n},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.isLinux=m.isWindows=m.isIphone=m.isIpad=m.isMac=m.isSafari=m.isFirefox=void 0;var p=typeof navigator=="undefined",g=p?"node":navigator.userAgent,h=p?"node":navigator.platform;function c(o,n){return o.indexOf(n)>=0}m.isFirefox=!!~g.indexOf("Firefox"),m.isSafari=/^((?!chrome|android).)*safari/i.test(g),m.isMac=c(["Macintosh","MacIntel","MacPPC","Mac68K"],h),m.isIpad=h==="iPad",m.isIphone=h==="iPhone",m.isWindows=c(["Windows","Win16","Win32","WinCE"],h),m.isLinux=h.indexOf("Linux")>=0},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.C1=m.C0=void 0,function(p){p.NUL="\0",p.SOH="",p.STX="",p.ETX="",p.EOT="",p.ENQ="",p.ACK="",p.BEL="\x07",p.BS="\b",p.HT=" ",p.LF=`
|
|
|
`,p.VT="\v",p.FF="\f",p.CR="\r",p.SO="",p.SI="",p.DLE="",p.DC1="",p.DC2="",p.DC3="",p.DC4="",p.NAK="",p.SYN="",p.ETB="",p.CAN="",p.EM="",p.SUB="",p.ESC="",p.FS="",p.GS="",p.RS="",p.US="",p.SP=" ",p.DEL="\x7F"}(m.C0||(m.C0={})),function(p){p.PAD="\x80",p.HOP="\x81",p.BPH="\x82",p.NBH="\x83",p.IND="\x84",p.NEL="\x85",p.SSA="\x86",p.ESA="\x87",p.HTS="\x88",p.HTJ="\x89",p.VTS="\x8A",p.PLD="\x8B",p.PLU="\x8C",p.RI="\x8D",p.SS2="\x8E",p.SS3="\x8F",p.DCS="\x90",p.PU1="\x91",p.PU2="\x92",p.STS="\x93",p.CCH="\x94",p.MW="\x95",p.SPA="\x96",p.EPA="\x97",p.SOS="\x98",p.SGCI="\x99",p.SCI="\x9A",p.CSI="\x9B",p.ST="\x9C",p.OSC="\x9D",p.PM="\x9E",p.APC="\x9F"}(m.C1||(m.C1={}))},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.BaseRenderLayer=void 0;var p=C(3),g=C(9),h=C(25),c=C(6),o=C(28),n=C(10),t=C(17),a=function(){function d(i,l,e,s,u,f,A,v){this._container=i,this._alpha=s,this._colors=u,this._rendererId=f,this._bufferService=A,this._optionsService=v,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+l+"-layer"),this._canvas.style.zIndex=e.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return d.prototype.dispose=function(){var i;t.removeElementFromParent(this._canvas),(i=this._charAtlas)===null||i===void 0||i.dispose()},d.prototype._initCanvas=function(){this._ctx=o.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},d.prototype.onOptionsChanged=function(){},d.prototype.onBlur=function(){},d.prototype.onFocus=function(){},d.prototype.onCursorMove=function(){},d.prototype.onGridChanged=function(i,l){},d.prototype.onSelectionChanged=function(i,l,e){e===void 0&&(e=!1)},d.prototype.setColors=function(i){this._refreshCharAtlas(i)},d.prototype._setTransparency=function(i){if(i!==this._alpha){var l=this._canvas;this._alpha=i,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,l),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},d.prototype._refreshCharAtlas=function(i){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=h.acquireCharAtlas(this._optionsService.options,this._rendererId,i,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},d.prototype.resize=function(i){this._scaledCellWidth=i.scaledCellWidth,this._scaledCellHeight=i.scaledCellHeight,this._scaledCharWidth=i.scaledCharWidth,this._scaledCharHeight=i.scaledCharHeight,this._scaledCharLeft=i.scaledCharLeft,this._scaledCharTop=i.scaledCharTop,this._canvas.width=i.scaledCanvasWidth,this._canvas.height=i.scaledCanvasHeight,this._canvas.style.width=i.canvasWidth+"px",this._canvas.style.height=i.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},d.prototype._fillCells=function(i,l,e,s){this._ctx.fillRect(i*this._scaledCellWidth,l*this._scaledCellHeight,e*this._scaledCellWidth,s*this._scaledCellHeight)},d.prototype._fillBottomLineAtCells=function(i,l,e){e===void 0&&(e=1),this._ctx.fillRect(i*this._scaledCellWidth,(l+1)*this._scaledCellHeight-window.devicePixelRatio-1,e*this._scaledCellWidth,window.devicePixelRatio)},d.prototype._fillLeftLineAtCell=function(i,l,e){this._ctx.fillRect(i*this._scaledCellWidth,l*this._scaledCellHeight,window.devicePixelRatio*e,this._scaledCellHeight)},d.prototype._strokeRectAtCell=function(i,l,e,s){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(i*this._scaledCellWidth+window.devicePixelRatio/2,l*this._scaledCellHeight+window.devicePixelRatio/2,e*this._scaledCellWidth-window.devicePixelRatio,s*this._scaledCellHeight-window.devicePixelRatio)},d.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))},d.prototype._clearCells=function(i,l,e,s){this._alpha?this._ctx.clearRect(i*this._scaledCellWidth,l*this._scaledCellHeight,e*this._scaledCellWidth,s*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(i*this._scaledCellWidth,l*this._scaledCellHeight,e*this._scaledCellWidth,s*this._scaledCellHeight))},d.prototype._fillCharTrueColor=function(i,l,e){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(e),this._ctx.fillText(i.getChars(),l*this._scaledCellWidth+this._scaledCharLeft,e*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},d.prototype._drawChars=function(i,l,e){var s,u,f=this._getContrastColor(i);f||i.isFgRGB()||i.isBgRGB()?this._drawUncachedChars(i,l,e,f):(i.isInverse()?(s=i.isBgDefault()?g.INVERTED_DEFAULT_COLOR:i.getBgColor(),u=i.isFgDefault()?g.INVERTED_DEFAULT_COLOR:i.getFgColor()):(u=i.isBgDefault()?p.DEFAULT_COLOR:i.getBgColor(),s=i.isFgDefault()?p.DEFAULT_COLOR:i.getFgColor()),s+=this._optionsService.options.drawBoldTextInBrightColors&&i.isBold()&&s<8?8:0,this._currentGlyphIdentifier.chars=i.getChars()||p.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=i.getCode()||p.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=u,this._currentGlyphIdentifier.fg=s,this._currentGlyphIdentifier.bold=!!i.isBold(),this._currentGlyphIdentifier.dim=!!i.isDim(),this._currentGlyphIdentifier.italic=!!i.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,l*this._scaledCellWidth+this._scaledCharLeft,e*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(i,l,e))},d.prototype._drawUncachedChars=function(i,l,e,s){if(this._ctx.save(),this._ctx.font=this._getFont(!!i.isBold(),!!i.isItalic()),this._ctx.textBaseline="middle",i.isInverse())if(s)this._ctx.fillStyle=s.css;else if(i.isBgDefault())this._ctx.fillStyle=n.color.opaque(this._colors.background).css;else if(i.isBgRGB())this._ctx.fillStyle="rgb("+c.AttributeData.toColorRGB(i.getBgColor()).join(",")+")";else{var u=i.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&i.isBold()&&u<8&&(u+=8),this._ctx.fillStyle=this._colors.ansi[u].css}else if(s)this._ctx.fillStyle=s.css;else if(i.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(i.isFgRGB())this._ctx.fillStyle="rgb("+c.AttributeData.toColorRGB(i.getFgColor()).join(",")+")";else{var f=i.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&i.isBold()&&f<8&&(f+=8),this._ctx.fillStyle=this._colors.ansi[f].css}this._clipRow(e),i.isDim()&&(this._ctx.globalAlpha=g.DIM_OPACITY),this._ctx.fillText(i.getChars(),l*this._scaledCellWidth+this._scaledCharLeft,e*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},d.prototype._clipRow=function(i){this._ctx.beginPath(),this._ctx.rect(0,i*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},d.prototype._getFont=function(i,l){return(l?"italic":"")+" "+(i?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},d.prototype._getContrastColor=function(i){if(this._optionsService.options.minimumContrastRatio!==1){var l=this._colors.contrastCache.getColor(i.bg,i.fg);if(l!==void 0)return l||void 0;var e=i.getFgColor(),s=i.getFgColorMode(),u=i.getBgColor(),f=i.getBgColorMode(),A=!!i.isInverse(),v=!!i.isInverse();if(A){var x=e;e=u,u=x;var b=s;s=f,f=b}var w=this._resolveBackgroundRgba(f,u,A),_=this._resolveForegroundRgba(s,e,A,v),T=n.rgba.ensureContrastRatio(w,_,this._optionsService.options.minimumContrastRatio);if(T){var S={css:n.channels.toCss(T>>24&255,T>>16&255,T>>8&255),rgba:T};return this._colors.contrastCache.setColor(i.bg,i.fg,S),S}this._colors.contrastCache.setColor(i.bg,i.fg,null)}},d.prototype._resolveBackgroundRgba=function(i,l,e){switch(i){case 16777216:case 33554432:return this._colors.ansi[l].rgba;case 50331648:return l<<8;case 0:default:return e?this._colors.foreground.rgba:this._colors.background.rgba}},d.prototype._resolveForegroundRgba=function(i,l,e,s){switch(i){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&s&&l<8&&(l+=8),this._colors.ansi[l].rgba;case 50331648:return l<<8;case 0:default:return e?this._colors.background.rgba:this._colors.foreground.rgba}},d}();m.BaseRenderLayer=a},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.createDecorator=m.getServiceDependencies=m.serviceRegistry=void 0;function p(g,h,c){h.di$target===h?h.di$dependencies.push({id:g,index:c}):(h.di$dependencies=[{id:g,index:c}],h.di$target=h)}m.serviceRegistry=new Map,m.getServiceDependencies=function(g){return g.di$dependencies||[]},m.createDecorator=function(g){if(m.serviceRegistry.has(g))return m.serviceRegistry.get(g);var h=function c(o,n,t){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");p(c,o,t)};return h.toString=function(){return g},m.serviceRegistry.set(g,h),h}},function(y,m,C){"use strict";function p(g,h,c,o){if(c===void 0&&(c=0),o===void 0&&(o=g.length),c>=g.length)return g;c=(g.length+c)%g.length,o=o>=g.length?g.length:(g.length+o)%g.length;for(var n=c;n<o;++n)g[n]=h;return g}Object.defineProperty(m,"__esModule",{value:!0}),m.concat=m.fillFallback=m.fill=void 0,m.fill=function(g,h,c,o){return g.fill?g.fill(h,c,o):p(g,h,c,o)},m.fillFallback=p,m.concat=function(g,h){var c=new g.constructor(g.length+h.length);return c.set(g),c.set(h,g.length),c}},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.BufferLine=m.DEFAULT_ATTR_DATA=void 0;var p=C(8),g=C(3),h=C(4),c=C(6);m.DEFAULT_ATTR_DATA=Object.freeze(new c.AttributeData);var o=function(){function n(t,a,d){d===void 0&&(d=!1),this.isWrapped=d,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*t);for(var i=a||h.CellData.fromCharData([0,g.NULL_CELL_CHAR,g.NULL_CELL_WIDTH,g.NULL_CELL_CODE]),l=0;l<t;++l)this.setCell(l,i);this.length=t}return n.prototype.get=function(t){var a=this._data[3*t+0],d=2097151&a;return[this._data[3*t+1],2097152&a?this._combined[t]:d?p.stringFromCodePoint(d):"",a>>22,2097152&a?this._combined[t].charCodeAt(this._combined[t].length-1):d]},n.prototype.set=function(t,a){this._data[3*t+1]=a[g.CHAR_DATA_ATTR_INDEX],a[g.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[t]=a[1],this._data[3*t+0]=2097152|t|a[g.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*t+0]=a[g.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|a[g.CHAR_DATA_WIDTH_INDEX]<<22},n.prototype.getWidth=function(t){return this._data[3*t+0]>>22},n.prototype.hasWidth=function(t){return 12582912&this._data[3*t+0]},n.prototype.getFg=function(t){return this._data[3*t+1]},n.prototype.getBg=function(t){return this._data[3*t+2]},n.prototype.hasContent=function(t){return 4194303&this._data[3*t+0]},n.prototype.getCodePoint=function(t){var a=this._data[3*t+0];return 2097152&a?this._combined[t].charCodeAt(this._combined[t].length-1):2097151&a},n.prototype.isCombined=function(t){return 2097152&this._data[3*t+0]},n.prototype.getString=function(t){var a=this._data[3*t+0];return 2097152&a?this._combined[t]:2097151&a?p.stringFromCodePoint(2097151&a):""},n.prototype.loadCell=function(t,a){var d=3*t;return a.content=this._data[d+0],a.fg=this._data[d+1],a.bg=this._data[d+2],2097152&a.content&&(a.combinedData=this._combined[t]),268435456&a.bg&&(a.extended=this._extendedAttrs[t]),a},n.prototype.setCell=function(t,a){2097152&a.content&&(this._combined[t]=a.combinedData),268435456&a.bg&&(this._extendedAttrs[t]=a.extended),this._data[3*t+0]=a.content,this._data[3*t+1]=a.fg,this._data[3*t+2]=a.bg},n.prototype.setCellFromCodePoint=function(t,a,d,i,l,e){268435456&l&&(this._extendedAttrs[t]=e),this._data[3*t+0]=a|d<<22,this._data[3*t+1]=i,this._data[3*t+2]=l},n.prototype.addCodepointToCell=function(t,a){var d=this._data[3*t+0];2097152&d?this._combined[t]+=p.stringFromCodePoint(a):(2097151&d?(this._combined[t]=p.stringFromCodePoint(2097151&d)+p.stringFromCodePoint(a),d&=-2097152,d|=2097152):d=a|1<<22,this._data[3*t+0]=d)},n.prototype.insertCells=function(t,a,d,i){if((t%=this.length)&&this.getWidth(t-1)===2&&this.setCellFromCodePoint(t-1,0,1,(i==null?void 0:i.fg)||0,(i==null?void 0:i.bg)||0,(i==null?void 0:i.extended)||new c.ExtendedAttrs),a<this.length-t){for(var l=new h.CellData,e=this.length-t-a-1;e>=0;--e)this.setCell(t+a+e,this.loadCell(t+e,l));for(e=0;e<a;++e)this.setCell(t+e,d)}else for(e=t;e<this.length;++e)this.setCell(e,d);this.getWidth(this.length-1)===2&&this.setCellFromCodePoint(this.length-1,0,1,(i==null?void 0:i.fg)||0,(i==null?void 0:i.bg)||0,(i==null?void 0:i.extended)||new c.ExtendedAttrs)},n.prototype.deleteCells=function(t,a,d,i){if(t%=this.length,a<this.length-t){for(var l=new h.CellData,e=0;e<this.length-t-a;++e)this.setCell(t+e,this.loadCell(t+a+e,l));for(e=this.length-a;e<this.length;++e)this.setCell(e,d)}else for(e=t;e<this.length;++e)this.setCell(e,d);t&&this.getWidth(t-1)===2&&this.setCellFromCodePoint(t-1,0,1,(i==null?void 0:i.fg)||0,(i==null?void 0:i.bg)||0,(i==null?void 0:i.extended)||new c.ExtendedAttrs),this.getWidth(t)!==0||this.hasContent(t)||this.setCellFromCodePoint(t,0,1,(i==null?void 0:i.fg)||0,(i==null?void 0:i.bg)||0,(i==null?void 0:i.extended)||new c.ExtendedAttrs)},n.prototype.replaceCells=function(t,a,d,i){for(t&&this.getWidth(t-1)===2&&this.setCellFromCodePoint(t-1,0,1,(i==null?void 0:i.fg)||0,(i==null?void 0:i.bg)||0,(i==null?void 0:i.extended)||new c.ExtendedAttrs),a<this.length&&this.getWidth(a-1)===2&&this.setCellFromCodePoint(a,0,1,(i==null?void 0:i.fg)||0,(i==null?void 0:i.bg)||0,(i==null?void 0:i.extended)||new c.ExtendedAttrs);t<a&&t<this.length;)this.setCell(t++,d)},n.prototype.resize=function(t,a){if(t!==this.length){if(t>this.length){var d=new Uint32Array(3*t);this.length&&(3*t<this._data.length?d.set(this._data.subarray(0,3*t)):d.set(this._data)),this._data=d;for(var i=this.length;i<t;++i)this.setCell(i,a)}else if(t){(d=new Uint32Array(3*t)).set(this._data.subarray(0,3*t)),this._data=d;var l=Object.keys(this._combined);for(i=0;i<l.length;i++){var e=parseInt(l[i],10);e>=t&&delete this._combined[e]}}else this._data=new Uint32Array(0),this._combined={};this.length=t}},n.prototype.fill=function(t){this._combined={},this._extendedAttrs={};for(var a=0;a<this.length;++a)this.setCell(a,t)},n.prototype.copyFrom=function(t){for(var a in this.length!==t.length?this._data=new Uint32Array(t._data):this._data.set(t._data),this.length=t.length,this._combined={},t._combined)this._combined[a]=t._combined[a];for(var a in this._extendedAttrs={},t._extendedAttrs)this._extendedAttrs[a]=t._extendedAttrs[a];this.isWrapped=t.isWrapped},n.prototype.clone=function(){var t=new n(0);for(var a in t._data=new Uint32Array(this._data),t.length=this.length,this._combined)t._combined[a]=this._combined[a];for(var a in this._extendedAttrs)t._extendedAttrs[a]=this._extendedAttrs[a];return t.isWrapped=this.isWrapped,t},n.prototype.getTrimmedLength=function(){for(var t=this.length-1;t>=0;--t)if(4194303&this._data[3*t+0])return t+(this._data[3*t+0]>>22);return 0},n.prototype.copyCellsFrom=function(t,a,d,i,l){var e=t._data;if(l)for(var s=i-1;s>=0;s--)for(var u=0;u<3;u++)this._data[3*(d+s)+u]=e[3*(a+s)+u];else for(s=0;s<i;s++)for(u=0;u<3;u++)this._data[3*(d+s)+u]=e[3*(a+s)+u];var f=Object.keys(t._combined);for(u=0;u<f.length;u++){var A=parseInt(f[u],10);A>=a&&(this._combined[A-a+d]=t._combined[A])}},n.prototype.translateToString=function(t,a,d){t===void 0&&(t=!1),a===void 0&&(a=0),d===void 0&&(d=this.length),t&&(d=Math.min(d,this.getTrimmedLength()));for(var i="";a<d;){var l=this._data[3*a+0],e=2097151&l;i+=2097152&l?this._combined[a]:e?p.stringFromCodePoint(e):g.WHITESPACE_CELL_CHAR,a+=l>>22||1}return i},n}();m.BufferLine=o},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.removeElementFromParent=void 0,m.removeElementFromParent=function(){for(var p,g=[],h=0;h<arguments.length;h++)g[h]=arguments[h];for(var c=0,o=g;c<o.length;c++){var n=o[c];(p=n==null?void 0:n.parentElement)===null||p===void 0||p.removeChild(n)}}},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.tooMuchOutput=m.promptLabel=void 0,m.promptLabel="Terminal input",m.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(y,m,C){"use strict";var p,g=this&&this.__extends||(p=function(T,S){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,I){E.__proto__=I}||function(E,I){for(var O in I)I.hasOwnProperty(O)&&(E[O]=I[O])})(T,S)},function(_,T){function S(){this.constructor=_}p(_,T),_.prototype=T===null?Object.create(T):(S.prototype=T.prototype,new S)});Object.defineProperty(m,"__esModule",{value:!0}),m.InputHandler=m.WindowsOptionsReportType=void 0;var h,c=C(12),o=C(20),n=C(39),t=C(2),a=C(15),d=C(8),i=C(16),l=C(0),e=C(3),s=C(4),u=C(6),f=C(22),A=C(24),v={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function x(_,T){if(_>24)return T.setWinLines||!1;switch(_){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(_){_[_.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",_[_.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"}(h=m.WindowsOptionsReportType||(m.WindowsOptionsReportType={}));var b=function(){function _(T,S,E,I){this._bufferService=T,this._coreService=S,this._logService=E,this._optionsService=I,this._data=new Uint32Array(0)}return _.prototype.hook=function(T){this._data=new Uint32Array(0)},_.prototype.put=function(T,S,E){this._data=a.concat(this._data,T.subarray(S,E))},_.prototype.unhook=function(T){if(T){var S=d.utf32ToString(this._data);switch(this._data=new Uint32Array(0),S){case'"q':return this._coreService.triggerDataEvent(c.C0.ESC+'P1$r0"q'+c.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(c.C0.ESC+'P1$r61;1"p'+c.C0.ESC+"\\");case"r":var E=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(c.C0.ESC+"P1$r"+E+c.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(c.C0.ESC+"P1$r0m"+c.C0.ESC+"\\");case" q":var I={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return I-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(c.C0.ESC+"P1$r"+I+" q"+c.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",S),this._coreService.triggerDataEvent(c.C0.ESC+"P0$r"+c.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},_}(),w=function(_){function T(S,E,I,O,F,k,M,P,V){V===void 0&&(V=new n.EscapeSequenceParser);var D=_.call(this)||this;D._bufferService=S,D._charsetService=E,D._coreService=I,D._dirtyRowService=O,D._logService=F,D._optionsService=k,D._coreMouseService=M,D._unicodeService=P,D._parser=V,D._parseBuffer=new Uint32Array(4096),D._stringDecoder=new d.StringToUtf32,D._utf8Decoder=new d.Utf8ToUtf32,D._workCell=new s.CellData,D._windowTitle="",D._iconName="",D._windowTitleStack=[],D._iconNameStack=[],D._curAttrData=i.DEFAULT_ATTR_DATA.clone(),D._eraseAttrDataInternal=i.DEFAULT_ATTR_DATA.clone(),D._onRequestBell=new l.EventEmitter,D._onRequestRefreshRows=new l.EventEmitter,D._onRequestReset=new l.EventEmitter,D._onRequestScroll=new l.EventEmitter,D._onRequestSyncScrollBar=new l.EventEmitter,D._onRequestWindowsOptionsReport=new l.EventEmitter,D._onA11yChar=new l.EventEmitter,D._onA11yTab=new l.EventEmitter,D._onCursorMove=new l.EventEmitter,D._onLineFeed=new l.EventEmitter,D._onScroll=new l.EventEmitter,D._onTitleChange=new l.EventEmitter,D.register(D._parser),D._parser.setCsiHandlerFallback(function(K,G){D._logService.debug("Unknown CSI code: ",{identifier:D._parser.identToString(K),params:G.toArray()})}),D._parser.setEscHandlerFallback(function(K){D._logService.debug("Unknown ESC code: ",{identifier:D._parser.identToString(K)})}),D._parser.setExecuteHandlerFallback(function(K){D._logService.debug("Unknown EXECUTE code: ",{code:K})}),D._parser.setOscHandlerFallback(function(K,G,X){D._logService.debug("Unknown OSC code: ",{identifier:K,action:G,data:X})}),D._parser.setDcsHandlerFallback(function(K,G,X){G==="HOOK"&&(X=X.toArray()),D._logService.debug("Unknown DCS code: ",{identifier:D._parser.identToString(K),action:G,payload:X})}),D._parser.setPrintHandler(function(K,G,X){return D.print(K,G,X)}),D._parser.setCsiHandler({final:"@"},function(K){return D.insertChars(K)}),D._parser.setCsiHandler({intermediates:" ",final:"@"},function(K){return D.scrollLeft(K)}),D._parser.setCsiHandler({final:"A"},function(K){return D.cursorUp(K)}),D._parser.setCsiHandler({intermediates:" ",final:"A"},function(K){return D.scrollRight(K)}),D._parser.setCsiHandler({final:"B"},function(K){return D.cursorDown(K)}),D._parser.setCsiHandler({final:"C"},function(K){return D.cursorForward(K)}),D._parser.setCsiHandler({final:"D"},function(K){return D.cursorBackward(K)}),D._parser.setCsiHandler({final:"E"},function(K){return D.cursorNextLine(K)}),D._parser.setCsiHandler({final:"F"},function(K){return D.cursorPrecedingLine(K)}),D._parser.setCsiHandler({final:"G"},function(K){return D.cursorCharAbsolute(K)}),D._parser.setCsiHandler({final:"H"},function(K){return D.cursorPosition(K)}),D._parser.setCsiHandler({final:"I"},function(K){return D.cursorForwardTab(K)}),D._parser.setCsiHandler({final:"J"},function(K){return D.eraseInDisplay(K)}),D._parser.setCsiHandler({prefix:"?",final:"J"},function(K){return D.eraseInDisplay(K)}),D._parser.setCsiHandler({final:"K"},function(K){return D.eraseInLine(K)}),D._parser.setCsiHandler({prefix:"?",final:"K"},function(K){return D.eraseInLine(K)}),D._parser.setCsiHandler({final:"L"},function(K){return D.insertLines(K)}),D._parser.setCsiHandler({final:"M"},function(K){return D.deleteLines(K)}),D._parser.setCsiHandler({final:"P"},function(K){return D.deleteChars(K)}),D._parser.setCsiHandler({final:"S"},function(K){return D.scrollUp(K)}),D._parser.setCsiHandler({final:"T"},function(K){return D.scrollDown(K)}),D._parser.setCsiHandler({final:"X"},function(K){return D.eraseChars(K)}),D._parser.setCsiHandler({final:"Z"},function(K){return D.cursorBackwardTab(K)}),D._parser.setCsiHandler({final:"`"},function(K){return D.charPosAbsolute(K)}),D._parser.setCsiHandler({final:"a"},function(K){return D.hPositionRelative(K)}),D._parser.setCsiHandler({final:"b"},function(K){return D.repeatPrecedingCharacter(K)}),D._parser.setCsiHandler({final:"c"},function(K){return D.sendDeviceAttributesPrimary(K)}),D._parser.setCsiHandler({prefix:">",final:"c"},function(K){return D.sendDeviceAttributesSecondary(K)}),D._parser.setCsiHandler({final:"d"},function(K){return D.linePosAbsolute(K)}),D._parser.setCsiHandler({final:"e"},function(K){return D.vPositionRelative(K)}),D._parser.setCsiHandler({final:"f"},function(K){return D.hVPosition(K)}),D._parser.setCsiHandler({final:"g"},function(K){return D.tabClear(K)}),D._parser.setCsiHandler({final:"h"},function(K){return D.setMode(K)}),D._parser.setCsiHandler({prefix:"?",final:"h"},function(K){return D.setModePrivate(K)}),D._parser.setCsiHandler({final:"l"},function(K){return D.resetMode(K)}),D._parser.setCsiHandler({prefix:"?",final:"l"},function(K){return D.resetModePrivate(K)}),D._parser.setCsiHandler({final:"m"},function(K){return D.charAttributes(K)}),D._parser.setCsiHandler({final:"n"},function(K){return D.deviceStatus(K)}),D._parser.setCsiHandler({prefix:"?",final:"n"},function(K){return D.deviceStatusPrivate(K)}),D._parser.setCsiHandler({intermediates:"!",final:"p"},function(K){return D.softReset(K)}),D._parser.setCsiHandler({intermediates:" ",final:"q"},function(K){return D.setCursorStyle(K)}),D._parser.setCsiHandler({final:"r"},function(K){return D.setScrollRegion(K)}),D._parser.setCsiHandler({final:"s"},function(K){return D.saveCursor(K)}),D._parser.setCsiHandler({final:"t"},function(K){return D.windowOptions(K)}),D._parser.setCsiHandler({final:"u"},function(K){return D.restoreCursor(K)}),D._parser.setCsiHandler({intermediates:"'",final:"}"},function(K){return D.insertColumns(K)}),D._parser.setCsiHandler({intermediates:"'",final:"~"},function(K){return D.deleteColumns(K)}),D._parser.setExecuteHandler(c.C0.BEL,function(){return D.bell()}),D._parser.setExecuteHandler(c.C0.LF,function(){return D.lineFeed()}),D._parser.setExecuteHandler(c.C0.VT,function(){return D.lineFeed()}),D._parser.setExecuteHandler(c.C0.FF,function(){return D.lineFeed()}),D._parser.setExecuteHandler(c.C0.CR,function(){return D.carriageReturn()}),D._parser.setExecuteHandler(c.C0.BS,function(){return D.backspace()}),D._parser.setExecuteHandler(c.C0.HT,function(){return D.tab()}),D._parser.setExecuteHandler(c.C0.SO,function(){return D.shiftOut()}),D._parser.setExecuteHandler(c.C0.SI,function(){return D.shiftIn()}),D._parser.setExecuteHandler(c.C1.IND,function(){return D.index()}),D._parser.setExecuteHandler(c.C1.NEL,function(){return D.nextLine()}),D._parser.setExecuteHandler(c.C1.HTS,function(){return D.tabSet()}),D._parser.setOscHandler(0,new f.OscHandler(function(K){D.setTitle(K),D.setIconName(K)})),D._parser.setOscHandler(1,new f.OscHandler(function(K){return D.setIconName(K)})),D._parser.setOscHandler(2,new f.OscHandler(function(K){return D.setTitle(K)})),D._parser.setEscHandler({final:"7"},function(){return D.saveCursor()}),D._parser.setEscHandler({final:"8"},function(){return D.restoreCursor()}),D._parser.setEscHandler({final:"D"},function(){return D.index()}),D._parser.setEscHandler({final:"E"},function(){return D.nextLine()}),D._parser.setEscHandler({final:"H"},function(){return D.tabSet()}),D._parser.setEscHandler({final:"M"},function(){return D.reverseIndex()}),D._parser.setEscHandler({final:"="},function(){return D.keypadApplicationMode()}),D._parser.setEscHandler({final:">"},function(){return D.keypadNumericMode()}),D._parser.setEscHandler({final:"c"},function(){return D.fullReset()}),D._parser.setEscHandler({final:"n"},function(){return D.setgLevel(2)}),D._parser.setEscHandler({final:"o"},function(){return D.setgLevel(3)}),D._parser.setEscHandler({final:"|"},function(){return D.setgLevel(3)}),D._parser.setEscHandler({final:"}"},function(){return D.setgLevel(2)}),D._parser.setEscHandler({final:"~"},function(){return D.setgLevel(1)}),D._parser.setEscHandler({intermediates:"%",final:"@"},function(){return D.selectDefaultCharset()}),D._parser.setEscHandler({intermediates:"%",final:"G"},function(){return D.selectDefaultCharset()});var H=function(G){U._parser.setEscHandler({intermediates:"(",final:G},function(){return D.selectCharset("("+G)}),U._parser.setEscHandler({intermediates:")",final:G},function(){return D.selectCharset(")"+G)}),U._parser.setEscHandler({intermediates:"*",final:G},function(){return D.selectCharset("*"+G)}),U._parser.setEscHandler({intermediates:"+",final:G},function(){return D.selectCharset("+"+G)}),U._parser.setEscHandler({intermediates:"-",final:G},function(){return D.selectCharset("-"+G)}),U._parser.setEscHandler({intermediates:".",final:G},function(){return D.selectCharset("."+G)}),U._parser.setEscHandler({intermediates:"/",final:G},function(){return D.selectCharset("/"+G)})},U=this;for(var z in o.CHARSETS)H(z);return D._parser.setEscHandler({intermediates:"#",final:"8"},function(){return D.screenAlignmentPattern()}),D._parser.setErrorHandler(function(K){return D._logService.error("Parsing error: ",K),K}),D._parser.setDcsHandler({intermediates:"$",final:"q"},new b(D._bufferService,D._coreService,D._logService,D._optionsService)),D}return g(T,_),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(){_.prototype.dispose.call(this)},T.prototype.parse=function(S){var E=this._bufferService.buffer,I=E.x,O=E.y;if(this._logService.debug("parsing data",S),this._parseBuffer.length<S.length&&this._parseBuffer.length<131072&&(this._parseBuffer=new Uint32Array(Math.min(S.length,131072))),this._dirtyRowService.clearRange(),S.length>131072)for(var F=0;F<S.length;F+=131072){var k=F+131072<S.length?F+131072:S.length,M=typeof S=="string"?this._stringDecoder.decode(S.substring(F,k),this._parseBuffer):this._utf8Decoder.decode(S.subarray(F,k),this._parseBuffer);this._parser.parse(this._parseBuffer,M)}else M=typeof S=="string"?this._stringDecoder.decode(S,this._parseBuffer):this._utf8Decoder.decode(S,this._parseBuffer),this._parser.parse(this._parseBuffer,M);(E=this._bufferService.buffer).x===I&&E.y===O||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},T.prototype.print=function(S,E,I){var O,F,k=this._bufferService.buffer,M=this._charsetService.charset,P=this._optionsService.options.screenReaderMode,V=this._bufferService.cols,D=this._coreService.decPrivateModes.wraparound,H=this._coreService.modes.insertMode,U=this._curAttrData,z=k.lines.get(k.ybase+k.y);this._dirtyRowService.markDirty(k.y),k.x&&I-E>0&&z.getWidth(k.x-1)===2&&z.setCellFromCodePoint(k.x-1,0,1,U.fg,U.bg,U.extended);for(var K=E;K<I;++K){if(O=S[K],F=this._unicodeService.wcwidth(O),O<127&&M){var G=M[String.fromCharCode(O)];G&&(O=G.charCodeAt(0))}if(P&&this._onA11yChar.fire(d.stringFromCodePoint(O)),F||!k.x){if(k.x+F-1>=V){if(D){for(;k.x<V;)z.setCellFromCodePoint(k.x++,0,1,U.fg,U.bg,U.extended);k.x=0,k.y++,k.y===k.scrollBottom+1?(k.y--,this._onRequestScroll.fire(this._eraseAttrData(),!0)):(k.y>=this._bufferService.rows&&(k.y=this._bufferService.rows-1),k.lines.get(k.ybase+k.y).isWrapped=!0),z=k.lines.get(k.ybase+k.y)}else if(k.x=V-1,F===2)continue}if(H&&(z.insertCells(k.x,F,k.getNullCell(U),U),z.getWidth(V-1)===2&&z.setCellFromCodePoint(V-1,e.NULL_CELL_CODE,e.NULL_CELL_WIDTH,U.fg,U.bg,U.extended)),z.setCellFromCodePoint(k.x++,O,F,U.fg,U.bg,U.extended),F>0)for(;--F;)z.setCellFromCodePoint(k.x++,0,0,U.fg,U.bg,U.extended)}else z.getWidth(k.x-1)?z.addCodepointToCell(k.x-1,O):z.addCodepointToCell(k.x-2,O)}I-E>0&&(z.loadCell(k.x-1,this._workCell),this._workCell.getWidth()===2||this._workCell.getCode()>65535?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCodeAt(0):this._parser.precedingCodepoint=this._workCell.content),k.x<V&&I-E>0&&z.getWidth(k.x)===0&&!z.hasContent(k.x)&&z.setCellFromCodePoint(k.x,0,1,U.fg,U.bg,U.extended),this._dirtyRowService.markDirty(k.y)},T.prototype.addCsiHandler=function(S,E){var I=this;return S.final!=="t"||S.prefix||S.intermediates?this._parser.addCsiHandler(S,E):this._parser.addCsiHandler(S,function(O){return!x(O.params[0],I._optionsService.options.windowOptions)||E(O)})},T.prototype.addDcsHandler=function(S,E){return this._parser.addDcsHandler(S,new A.DcsHandler(E))},T.prototype.addEscHandler=function(S,E){return this._parser.addEscHandler(S,E)},T.prototype.addOscHandler=function(S,E){return this._parser.addOscHandler(S,new f.OscHandler(E))},T.prototype.bell=function(){this._onRequestBell.fire()},T.prototype.lineFeed=function(){var S=this._bufferService.buffer;this._dirtyRowService.markDirty(S.y),this._optionsService.options.convertEol&&(S.x=0),S.y++,S.y===S.scrollBottom+1?(S.y--,this._onRequestScroll.fire(this._eraseAttrData())):S.y>=this._bufferService.rows&&(S.y=this._bufferService.rows-1),S.x>=this._bufferService.cols&&S.x--,this._dirtyRowService.markDirty(S.y),this._onLineFeed.fire()},T.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},T.prototype.backspace=function(){var S,E=this._bufferService.buffer;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),void(E.x>0&&E.x--);if(this._restrictCursor(this._bufferService.cols),E.x>0)E.x--;else if(E.x===0&&E.y>E.scrollTop&&E.y<=E.scrollBottom&&((S=E.lines.get(E.ybase+E.y))===null||S===void 0?void 0:S.isWrapped)){E.lines.get(E.ybase+E.y).isWrapped=!1,E.y--,E.x=this._bufferService.cols-1;var I=E.lines.get(E.ybase+E.y);I.hasWidth(E.x)&&!I.hasContent(E.x)&&E.x--}this._restrictCursor()},T.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var S=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._onA11yTab.fire(this._bufferService.buffer.x-S)}},T.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},T.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},T.prototype._restrictCursor=function(S){S===void 0&&(S=this._bufferService.cols-1),this._bufferService.buffer.x=Math.min(S,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(S,E){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=S,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+E):(this._bufferService.buffer.x=S,this._bufferService.buffer.y=E),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},T.prototype._moveCursor=function(S,E){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+S,this._bufferService.buffer.y+E)},T.prototype.cursorUp=function(S){var E=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;E>=0?this._moveCursor(0,-Math.min(E,S.params[0]||1)):this._moveCursor(0,-(S.params[0]||1))},T.prototype.cursorDown=function(S){var E=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;E>=0?this._moveCursor(0,Math.min(E,S.params[0]||1)):this._moveCursor(0,S.params[0]||1)},T.prototype.cursorForward=function(S){this._moveCursor(S.params[0]||1,0)},T.prototype.cursorBackward=function(S){this._moveCursor(-(S.params[0]||1),0)},T.prototype.cursorNextLine=function(S){this.cursorDown(S),this._bufferService.buffer.x=0},T.prototype.cursorPrecedingLine=function(S){this.cursorUp(S),this._bufferService.buffer.x=0},T.prototype.cursorCharAbsolute=function(S){this._setCursor((S.params[0]||1)-1,this._bufferService.buffer.y)},T.prototype.cursorPosition=function(S){this._setCursor(S.length>=2?(S.params[1]||1)-1:0,(S.params[0]||1)-1)},T.prototype.charPosAbsolute=function(S){this._setCursor((S.params[0]||1)-1,this._bufferService.buffer.y)},T.prototype.hPositionRelative=function(S){this._moveCursor(S.params[0]||1,0)},T.prototype.linePosAbsolute=function(S){this._setCursor(this._bufferService.buffer.x,(S.params[0]||1)-1)},T.prototype.vPositionRelative=function(S){this._moveCursor(0,S.params[0]||1)},T.prototype.hVPosition=function(S){this.cursorPosition(S)},T.prototype.tabClear=function(S){var E=S.params[0];E===0?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:E===3&&(this._bufferService.buffer.tabs={})},T.prototype.cursorForwardTab=function(S){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var E=S.params[0]||1;E--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},T.prototype.cursorBackwardTab=function(S){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var E=S.params[0]||1,I=this._bufferService.buffer;E--;)I.x=I.prevStop()},T.prototype._eraseInBufferLine=function(S,E,I,O){O===void 0&&(O=!1);var F=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+S);F.replaceCells(E,I,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),O&&(F.isWrapped=!1)},T.prototype._resetBufferLine=function(S){var E=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+S);E.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),E.isWrapped=!1},T.prototype.eraseInDisplay=function(S){var E;switch(this._restrictCursor(),S.params[0]){case 0:for(E=this._bufferService.buffer.y,this._dirtyRowService.markDirty(E),this._eraseInBufferLine(E++,this._bufferService.buffer.x,this._bufferService.cols,this._bufferService.buffer.x===0);E<this._bufferService.rows;E++)this._resetBufferLine(E);this._dirtyRowService.markDirty(E);break;case 1:for(E=this._bufferService.buffer.y,this._dirtyRowService.markDirty(E),this._eraseInBufferLine(E,0,this._bufferService.buffer.x+1,!0),this._bufferService.buffer.x+1>=this._bufferService.cols&&(this._bufferService.buffer.lines.get(E+1).isWrapped=!1);E--;)this._resetBufferLine(E);this._dirtyRowService.markDirty(0);break;case 2:for(E=this._bufferService.rows,this._dirtyRowService.markDirty(E-1);E--;)this._resetBufferLine(E);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(S){switch(this._restrictCursor(),S.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(S){this._restrictCursor();var E=S.params[0]||1,I=this._bufferService.buffer;if(!(I.y>I.scrollBottom||I.y<I.scrollTop)){for(var O=I.ybase+I.y,F=this._bufferService.rows-1-I.scrollBottom,k=this._bufferService.rows-1+I.ybase-F+1;E--;)I.lines.splice(k-1,1),I.lines.splice(O,0,I.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(I.y,I.scrollBottom),I.x=0}},T.prototype.deleteLines=function(S){this._restrictCursor();var E=S.params[0]||1,I=this._bufferService.buffer;if(!(I.y>I.scrollBottom||I.y<I.scrollTop)){var O,F=I.ybase+I.y;for(O=this._bufferService.rows-1-I.scrollBottom,O=this._bufferService.rows-1+I.ybase-O;E--;)I.lines.splice(F,1),I.lines.splice(O,0,I.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(I.y,I.scrollBottom),I.x=0}},T.prototype.insertChars=function(S){this._restrictCursor();var E=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);E&&(E.insertCells(this._bufferService.buffer.x,S.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},T.prototype.deleteChars=function(S){this._restrictCursor();var E=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);E&&(E.deleteCells(this._bufferService.buffer.x,S.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},T.prototype.scrollUp=function(S){for(var E=S.params[0]||1,I=this._bufferService.buffer;E--;)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(S){for(var E=S.params[0]||1,I=this._bufferService.buffer;E--;)I.lines.splice(I.ybase+I.scrollBottom,1),I.lines.splice(I.ybase+I.scrollTop,0,I.getBlankLine(i.DEFAULT_ATTR_DATA));this._dirtyRowService.markRangeDirty(I.scrollTop,I.scrollBottom)},T.prototype.scrollLeft=function(S){var E=this._bufferService.buffer;if(!(E.y>E.scrollBottom||E.y<E.scrollTop)){for(var I=S.params[0]||1,O=E.scrollTop;O<=E.scrollBottom;++O){var F=E.lines.get(E.ybase+O);F.deleteCells(0,I,E.getNullCell(this._eraseAttrData()),this._eraseAttrData()),F.isWrapped=!1}this._dirtyRowService.markRangeDirty(E.scrollTop,E.scrollBottom)}},T.prototype.scrollRight=function(S){var E=this._bufferService.buffer;if(!(E.y>E.scrollBottom||E.y<E.scrollTop)){for(var I=S.params[0]||1,O=E.scrollTop;O<=E.scrollBottom;++O){var F=E.lines.get(E.ybase+O);F.insertCells(0,I,E.getNullCell(this._eraseAttrData()),this._eraseAttrData()),F.isWrapped=!1}this._dirtyRowService.markRangeDirty(E.scrollTop,E.scrollBottom)}},T.prototype.insertColumns=function(S){var E=this._bufferService.buffer;if(!(E.y>E.scrollBottom||E.y<E.scrollTop)){for(var I=S.params[0]||1,O=E.scrollTop;O<=E.scrollBottom;++O){var F=this._bufferService.buffer.lines.get(E.ybase+O);F.insertCells(E.x,I,E.getNullCell(this._eraseAttrData()),this._eraseAttrData()),F.isWrapped=!1}this._dirtyRowService.markRangeDirty(E.scrollTop,E.scrollBottom)}},T.prototype.deleteColumns=function(S){var E=this._bufferService.buffer;if(!(E.y>E.scrollBottom||E.y<E.scrollTop)){for(var I=S.params[0]||1,O=E.scrollTop;O<=E.scrollBottom;++O){var F=E.lines.get(E.ybase+O);F.deleteCells(E.x,I,E.getNullCell(this._eraseAttrData()),this._eraseAttrData()),F.isWrapped=!1}this._dirtyRowService.markRangeDirty(E.scrollTop,E.scrollBottom)}},T.prototype.eraseChars=function(S){this._restrictCursor();var E=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);E&&(E.replaceCells(this._bufferService.buffer.x,this._bufferService.buffer.x+(S.params[0]||1),this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},T.prototype.repeatPrecedingCharacter=function(S){if(this._parser.precedingCodepoint){for(var E=S.params[0]||1,I=new Uint32Array(E),O=0;O<E;++O)I[O]=this._parser.precedingCodepoint;this.print(I,0,I.length)}},T.prototype.sendDeviceAttributesPrimary=function(S){S.params[0]>0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(c.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(c.C0.ESC+"[?6c"))},T.prototype.sendDeviceAttributesSecondary=function(S){S.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(c.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(c.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(S.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(c.C0.ESC+"[>83;40003;0c"))},T.prototype._is=function(S){return(this._optionsService.options.termName+"").indexOf(S)===0},T.prototype.setMode=function(S){for(var E=0;E<S.length;E++)switch(S.params[E]){case 4:this._coreService.modes.insertMode=!0}},T.prototype.setModePrivate=function(S){for(var E=0;E<S.length;E++)switch(S.params[E]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,o.DEFAULT_CHARSET),this._charsetService.setgCharset(1,o.DEFAULT_CHARSET),this._charsetService.setgCharset(2,o.DEFAULT_CHARSET),this._charsetService.setgCharset(3,o.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(S){for(var E=0;E<S.length;E++)switch(S.params[E]){case 4:this._coreService.modes.insertMode=!1}},T.prototype.resetModePrivate=function(S){for(var E=0;E<S.length;E++)switch(S.params[E]){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(),S.params[E]===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(S,E,I,O,F){return E===2?(S|=50331648,S&=-16777216,S|=u.AttributeData.fromColorRGB([I,O,F])):E===5&&(S&=-50331904,S|=33554432|255&I),S},T.prototype._extractColor=function(S,E,I){var O=[0,0,-1,0,0,0],F=0,k=0;do{if(O[k+F]=S.params[E+k],S.hasSubParams(E+k)){var M=S.getSubParams(E+k),P=0;do O[1]===5&&(F=1),O[k+P+1+F]=M[P];while(++P<M.length&&P+k+1+F<O.length);break}if(O[1]===5&&k+F>=2||O[1]===2&&k+F>=5)break;O[1]&&(F=1)}while(++k+E<S.length&&k+F<O.length);for(P=2;P<O.length;++P)O[P]===-1&&(O[P]=0);switch(O[0]){case 38:I.fg=this._updateAttrColor(I.fg,O[1],O[3],O[4],O[5]);break;case 48:I.bg=this._updateAttrColor(I.bg,O[1],O[3],O[4],O[5]);break;case 58:I.extended=I.extended.clone(),I.extended.underlineColor=this._updateAttrColor(I.extended.underlineColor,O[1],O[3],O[4],O[5])}return k},T.prototype._processUnderline=function(S,E){E.extended=E.extended.clone(),(!~S||S>5)&&(S=1),E.extended.underlineStyle=S,E.fg|=268435456,S===0&&(E.fg&=-268435457),E.updateExtended()},T.prototype.charAttributes=function(S){if(S.length===1&&S.params[0]===0)return this._curAttrData.fg=i.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=i.DEFAULT_ATTR_DATA.bg);for(var E,I=S.length,O=this._curAttrData,F=0;F<I;F++)(E=S.params[F])>=30&&E<=37?(O.fg&=-50331904,O.fg|=16777216|E-30):E>=40&&E<=47?(O.bg&=-50331904,O.bg|=16777216|E-40):E>=90&&E<=97?(O.fg&=-50331904,O.fg|=16777224|E-90):E>=100&&E<=107?(O.bg&=-50331904,O.bg|=16777224|E-100):E===0?(O.fg=i.DEFAULT_ATTR_DATA.fg,O.bg=i.DEFAULT_ATTR_DATA.bg):E===1?O.fg|=134217728:E===3?O.bg|=67108864:E===4?(O.fg|=268435456,this._processUnderline(S.hasSubParams(F)?S.getSubParams(F)[0]:1,O)):E===5?O.fg|=536870912:E===7?O.fg|=67108864:E===8?O.fg|=1073741824:E===2?O.bg|=134217728:E===21?this._processUnderline(2,O):E===22?(O.fg&=-134217729,O.bg&=-134217729):E===23?O.bg&=-67108865:E===24?O.fg&=-268435457:E===25?O.fg&=-536870913:E===27?O.fg&=-67108865:E===28?O.fg&=-1073741825:E===39?(O.fg&=-67108864,O.fg|=16777215&i.DEFAULT_ATTR_DATA.fg):E===49?(O.bg&=-67108864,O.bg|=16777215&i.DEFAULT_ATTR_DATA.bg):E===38||E===48||E===58?F+=this._extractColor(S,F,O):E===59?(O.extended=O.extended.clone(),O.extended.underlineColor=-1,O.updateExtended()):E===100?(O.fg&=-67108864,O.fg|=16777215&i.DEFAULT_ATTR_DATA.fg,O.bg&=-67108864,O.bg|=16777215&i.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",E)},T.prototype.deviceStatus=function(S){switch(S.params[0]){case 5:this._coreService.triggerDataEvent(c.C0.ESC+"[0n");break;case 6:var E=this._bufferService.buffer.y+1,I=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(c.C0.ESC+"["+E+";"+I+"R")}},T.prototype.deviceStatusPrivate=function(S){switch(S.params[0]){case 6:var E=this._bufferService.buffer.y+1,I=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(c.C0.ESC+"[?"+E+";"+I+"R")}},T.prototype.softReset=function(S){this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=i.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(S){var E=S.params[0]||1;switch(E){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=E%2==1;this._optionsService.options.cursorBlink=I},T.prototype.setScrollRegion=function(S){var E,I=S.params[0]||1;(S.length<2||(E=S.params[1])>this._bufferService.rows||E===0)&&(E=this._bufferService.rows),E>I&&(this._bufferService.buffer.scrollTop=I-1,this._bufferService.buffer.scrollBottom=E-1,this._setCursor(0,0))},T.prototype.windowOptions=function(S){if(x(S.params[0],this._optionsService.options.windowOptions)){var E=S.length>1?S.params[1]:0;switch(S.params[0]){case 14:E!==2&&this._onRequestWindowsOptionsReport.fire(h.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(h.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(c.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:E!==0&&E!==2||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),E!==0&&E!==1||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:E!==0&&E!==2||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),E!==0&&E!==1||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},T.prototype.saveCursor=function(S){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(S){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(S){this._windowTitle=S,this._onTitleChange.fire(S)},T.prototype.setIconName=function(S){this._iconName=S},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,o.DEFAULT_CHARSET)},T.prototype.selectCharset=function(S){S.length===2?S[0]!=="/"&&this._charsetService.setgCharset(v[S[0]],o.CHARSETS[S[1]]||o.DEFAULT_CHARSET):this.selectDefaultCharset()},T.prototype.index=function(){this._restrictCursor();var S=this._bufferService.buffer;this._bufferService.buffer.y++,S.y===S.scrollBottom+1?(S.y--,this._onRequestScroll.fire(this._eraseAttrData())):S.y>=this._bufferService.rows&&(S.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 S=this._bufferService.buffer;if(S.y===S.scrollTop){var E=S.scrollBottom-S.scrollTop;S.lines.shiftElements(S.ybase+S.y,E,1),S.lines.set(S.ybase+S.y,S.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(S.scrollTop,S.scrollBottom)}else S.y--,this._restrictCursor()},T.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},T.prototype.reset=function(){this._curAttrData=i.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=i.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(S){this._charsetService.setgLevel(S)},T.prototype.screenAlignmentPattern=function(){var S=new s.CellData;S.content=1<<22|"E".charCodeAt(0),S.fg=this._curAttrData.fg,S.bg=this._curAttrData.bg;var E=this._bufferService.buffer;this._setCursor(0,0);for(var I=0;I<this._bufferService.rows;++I){var O=E.ybase+E.y+I,F=E.lines.get(O);F&&(F.fill(S),F.isWrapped=!1)}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},T}(t.Disposable);m.InputHandler=w},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.DEFAULT_CHARSET=m.CHARSETS=void 0,m.CHARSETS={},m.DEFAULT_CHARSET=m.CHARSETS.B,m.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"},m.CHARSETS.A={"#":"\xA3"},m.CHARSETS.B=void 0,m.CHARSETS[4]={"#":"\xA3","@":"\xBE","[":"ij","\\":"\xBD","]":"|","{":"\xA8","|":"f","}":"\xBC","~":"\xB4"},m.CHARSETS.C=m.CHARSETS[5]={"[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},m.CHARSETS.R={"#":"\xA3","@":"\xE0","[":"\xB0","\\":"\xE7","]":"\xA7","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xA8"},m.CHARSETS.Q={"@":"\xE0","[":"\xE2","\\":"\xE7","]":"\xEA","^":"\xEE","`":"\xF4","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xFB"},m.CHARSETS.K={"@":"\xA7","[":"\xC4","\\":"\xD6","]":"\xDC","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xDF"},m.CHARSETS.Y={"#":"\xA3","@":"\xA7","[":"\xB0","\\":"\xE7","]":"\xE9","`":"\xF9","{":"\xE0","|":"\xF2","}":"\xE8","~":"\xEC"},m.CHARSETS.E=m.CHARSETS[6]={"@":"\xC4","[":"\xC6","\\":"\xD8","]":"\xC5","^":"\xDC","`":"\xE4","{":"\xE6","|":"\xF8","}":"\xE5","~":"\xFC"},m.CHARSETS.Z={"#":"\xA3","@":"\xA7","[":"\xA1","\\":"\xD1","]":"\xBF","{":"\xB0","|":"\xF1","}":"\xE7"},m.CHARSETS.H=m.CHARSETS[7]={"@":"\xC9","[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},m.CHARSETS["="]={"#":"\xF9","@":"\xE0","[":"\xE9","\\":"\xE7","]":"\xEA","^":"\xEE",_:"\xE8","`":"\xF4","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xFB"}},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.Params=void 0;var p=function(){function g(h,c){if(h===void 0&&(h=32),c===void 0&&(c=32),this.maxLength=h,this.maxSubParamsLength=c,c>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(h),this.length=0,this._subParams=new Int32Array(c),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(h),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return g.fromArray=function(h){var c=new g;if(!h.length)return c;for(var o=h[0]instanceof Array?1:0;o<h.length;++o){var n=h[o];if(n instanceof Array)for(var t=0;t<n.length;++t)c.addSubParam(n[t]);else c.addParam(n)}return c},g.prototype.clone=function(){var h=new g(this.maxLength,this.maxSubParamsLength);return h.params.set(this.params),h.length=this.length,h._subParams.set(this._subParams),h._subParamsLength=this._subParamsLength,h._subParamsIdx.set(this._subParamsIdx),h._rejectDigits=this._rejectDigits,h._rejectSubDigits=this._rejectSubDigits,h._digitIsSub=this._digitIsSub,h},g.prototype.toArray=function(){for(var h=[],c=0;c<this.length;++c){h.push(this.params[c]);var o=this._subParamsIdx[c]>>8,n=255&this._subParamsIdx[c];n-o>0&&h.push(Array.prototype.slice.call(this._subParams,o,n))}return h},g.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},g.prototype.addParam=function(h){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(h<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=h>2147483647?2147483647:h}},g.prototype.addSubParam=function(h){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(h<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=h>2147483647?2147483647:h,this._subParamsIdx[this.length-1]++}},g.prototype.hasSubParams=function(h){return(255&this._subParamsIdx[h])-(this._subParamsIdx[h]>>8)>0},g.prototype.getSubParams=function(h){var c=this._subParamsIdx[h]>>8,o=255&this._subParamsIdx[h];return o-c>0?this._subParams.subarray(c,o):null},g.prototype.getSubParamsAll=function(){for(var h={},c=0;c<this.length;++c){var o=this._subParamsIdx[c]>>8,n=255&this._subParamsIdx[c];n-o>0&&(h[c]=this._subParams.slice(o,n))}return h},g.prototype.addDigit=function(h){var c;if(!(this._rejectDigits||!(c=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var o=this._digitIsSub?this._subParams:this.params,n=o[c-1];o[c-1]=~n?Math.min(10*n+h,2147483647):h}},g}();m.Params=p},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.OscHandler=m.OscParser=void 0;var p=C(23),g=C(8),h=function(){function o(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return o.prototype.addHandler=function(n,t){this._handlers[n]===void 0&&(this._handlers[n]=[]);var a=this._handlers[n];return a.push(t),{dispose:function(){var i=a.indexOf(t);i!==-1&&a.splice(i,1)}}},o.prototype.setHandler=function(n,t){this._handlers[n]=[t]},o.prototype.clearHandler=function(n){this._handlers[n]&&delete this._handlers[n]},o.prototype.setHandlerFallback=function(n){this._handlerFb=n},o.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},o.prototype.reset=function(){this._state===2&&this.end(!1),this._id=-1,this._state=0},o.prototype._start=function(){var n=this._handlers[this._id];if(n)for(var t=n.length-1;t>=0;t--)n[t].start();else this._handlerFb(this._id,"START")},o.prototype._put=function(n,t,a){var d=this._handlers[this._id];if(d)for(var i=d.length-1;i>=0;i--)d[i].put(n,t,a);else this._handlerFb(this._id,"PUT",g.utf32ToString(n,t,a))},o.prototype._end=function(n){var t=this._handlers[this._id];if(t){for(var a=t.length-1;a>=0&&t[a].end(n)===!1;a--);for(a--;a>=0;a--)t[a].end(!1)}else this._handlerFb(this._id,"END",n)},o.prototype.start=function(){this.reset(),this._id=-1,this._state=1},o.prototype.put=function(n,t,a){if(this._state!==3){if(this._state===1)for(;t<a;){var d=n[t++];if(d===59){this._state=2,this._start();break}if(d<48||57<d)return void(this._state=3);this._id===-1&&(this._id=0),this._id=10*this._id+d-48}this._state===2&&a-t>0&&this._put(n,t,a)}},o.prototype.end=function(n){this._state!==0&&(this._state!==3&&(this._state===1&&this._start(),this._end(n)),this._id=-1,this._state=0)},o}();m.OscParser=h;var c=function(){function o(n){this._handler=n,this._data="",this._hitLimit=!1}return o.prototype.start=function(){this._data="",this._hitLimit=!1},o.prototype.put=function(n,t,a){this._hitLimit||(this._data+=g.utf32ToString(n,t,a),this._data.length>p.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},o.prototype.end=function(n){var t;return this._hitLimit?t=!1:n&&(t=this._handler(this._data)),this._data="",this._hitLimit=!1,t},o}();m.OscHandler=c},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.PAYLOAD_LIMIT=void 0,m.PAYLOAD_LIMIT=1e7},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.DcsHandler=m.DcsParser=void 0;var p=C(8),g=C(21),h=C(23),c=[],o=function(){function t(){this._handlers=Object.create(null),this._active=c,this._ident=0,this._handlerFb=function(){}}return t.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},t.prototype.addHandler=function(a,d){this._handlers[a]===void 0&&(this._handlers[a]=[]);var i=this._handlers[a];return i.push(d),{dispose:function(){var e=i.indexOf(d);e!==-1&&i.splice(e,1)}}},t.prototype.setHandler=function(a,d){this._handlers[a]=[d]},t.prototype.clearHandler=function(a){this._handlers[a]&&delete this._handlers[a]},t.prototype.setHandlerFallback=function(a){this._handlerFb=a},t.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=c,this._ident=0},t.prototype.hook=function(a,d){if(this.reset(),this._ident=a,this._active=this._handlers[a]||c,this._active.length)for(var i=this._active.length-1;i>=0;i--)this._active[i].hook(d);else this._handlerFb(this._ident,"HOOK",d)},t.prototype.put=function(a,d,i){if(this._active.length)for(var l=this._active.length-1;l>=0;l--)this._active[l].put(a,d,i);else this._handlerFb(this._ident,"PUT",p.utf32ToString(a,d,i))},t.prototype.unhook=function(a){if(this._active.length){for(var d=this._active.length-1;d>=0&&this._active[d].unhook(a)===!1;d--);for(d--;d>=0;d--)this._active[d].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",a);this._active=c,this._ident=0},t}();m.DcsParser=o;var n=function(){function t(a){this._handler=a,this._data="",this._hitLimit=!1}return t.prototype.hook=function(a){this._params=a.clone(),this._data="",this._hitLimit=!1},t.prototype.put=function(a,d,i){this._hitLimit||(this._data+=p.utf32ToString(a,d,i),this._data.length>h.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},t.prototype.unhook=function(a){var d;return this._hitLimit?d=!1:a&&(d=this._handler(this._data,this._params||new g.Params)),this._params=void 0,this._data="",this._hitLimit=!1,d},t}();m.DcsHandler=n},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.removeTerminalFromCache=m.acquireCharAtlas=void 0;var p=C(26),g=C(43),h=[];m.acquireCharAtlas=function(c,o,n,t,a){for(var d=p.generateConfig(t,a,c,n),i=0;i<h.length;i++){var l=(e=h[i]).ownedBy.indexOf(o);if(l>=0){if(p.configEquals(e.config,d))return e.atlas;e.ownedBy.length===1?(e.atlas.dispose(),h.splice(i,1)):e.ownedBy.splice(l,1);break}}for(i=0;i<h.length;i++){var e=h[i];if(p.configEquals(e.config,d))return e.ownedBy.push(o),e.atlas}var s={atlas:new g.DynamicCharAtlas(document,d),config:d,ownedBy:[o]};return h.push(s),s.atlas},m.removeTerminalFromCache=function(c){for(var o=0;o<h.length;o++){var n=h[o].ownedBy.indexOf(c);if(n!==-1){h[o].ownedBy.length===1?(h[o].atlas.dispose(),h.splice(o,1)):h[o].ownedBy.splice(n,1);break}}}},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.is256Color=m.configEquals=m.generateConfig=void 0;var p=C(3);m.generateConfig=function(g,h,c,o){var n={foreground:o.foreground,background:o.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:o.ansi.slice(0,16)};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:g,scaledCharHeight:h,fontFamily:c.fontFamily,fontSize:c.fontSize,fontWeight:c.fontWeight,fontWeightBold:c.fontWeightBold,allowTransparency:c.allowTransparency,colors:n}},m.configEquals=function(g,h){for(var c=0;c<g.colors.ansi.length;c++)if(g.colors.ansi[c].rgba!==h.colors.ansi[c].rgba)return!1;return g.devicePixelRatio===h.devicePixelRatio&&g.fontFamily===h.fontFamily&&g.fontSize===h.fontSize&&g.fontWeight===h.fontWeight&&g.fontWeightBold===h.fontWeightBold&&g.allowTransparency===h.allowTransparency&&g.scaledCharWidth===h.scaledCharWidth&&g.scaledCharHeight===h.scaledCharHeight&&g.colors.foreground===h.colors.foreground&&g.colors.background===h.colors.background},m.is256Color=function(g){return g<p.DEFAULT_COLOR}},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.ColorManager=m.DEFAULT_ANSI_COLORS=void 0;var p=C(10),g=C(45),h=p.css.toColor("#ffffff"),c=p.css.toColor("#000000"),o=p.css.toColor("#ffffff"),n=p.css.toColor("#000000"),t={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};m.DEFAULT_ANSI_COLORS=function(){for(var d=[p.css.toColor("#2e3436"),p.css.toColor("#cc0000"),p.css.toColor("#4e9a06"),p.css.toColor("#c4a000"),p.css.toColor("#3465a4"),p.css.toColor("#75507b"),p.css.toColor("#06989a"),p.css.toColor("#d3d7cf"),p.css.toColor("#555753"),p.css.toColor("#ef2929"),p.css.toColor("#8ae234"),p.css.toColor("#fce94f"),p.css.toColor("#729fcf"),p.css.toColor("#ad7fa8"),p.css.toColor("#34e2e2"),p.css.toColor("#eeeeec")],i=[0,95,135,175,215,255],l=0;l<216;l++){var e=i[l/36%6|0],s=i[l/6%6|0],u=i[l%6];d.push({css:p.channels.toCss(e,s,u),rgba:p.channels.toRgba(e,s,u)})}for(l=0;l<24;l++){var f=8+10*l;d.push({css:p.channels.toCss(f,f,f),rgba:p.channels.toRgba(f,f,f)})}return d}();var a=function(){function d(i,l){this.allowTransparency=l;var e=i.createElement("canvas");e.width=1,e.height=1;var s=e.getContext("2d");if(!s)throw new Error("Could not get rendering context");this._ctx=s,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new g.ColorContrastCache,this.colors={foreground:h,background:c,cursor:o,cursorAccent:n,selectionTransparent:t,selectionOpaque:p.color.blend(c,t),ansi:m.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}return d.prototype.onOptionsChange=function(i){i==="minimumContrastRatio"&&this._contrastCache.clear()},d.prototype.setTheme=function(i){(i===void 0&&(i={}),this.colors.foreground=this._parseColor(i.foreground,h),this.colors.background=this._parseColor(i.background,c),this.colors.cursor=this._parseColor(i.cursor,o,!0),this.colors.cursorAccent=this._parseColor(i.cursorAccent,n,!0),this.colors.selectionTransparent=this._parseColor(i.selection,t,!0),this.colors.selectionOpaque=p.color.blend(this.colors.background,this.colors.selectionTransparent),p.color.isOpaque(this.colors.selectionTransparent))&&(this.colors.selectionTransparent=p.color.opacity(this.colors.selectionTransparent,.3)),this.colors.ansi[0]=this._parseColor(i.black,m.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(i.red,m.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(i.green,m.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(i.yellow,m.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(i.blue,m.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(i.magenta,m.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(i.cyan,m.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(i.white,m.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(i.brightBlack,m.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(i.brightRed,m.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(i.brightGreen,m.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(i.brightYellow,m.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(i.brightBlue,m.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(i.brightMagenta,m.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(i.brightCyan,m.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(i.brightWhite,m.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},d.prototype._parseColor=function(i,l,e){if(e===void 0&&(e=this.allowTransparency),i===void 0)return l;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=i,typeof this._ctx.fillStyle!="string")return console.warn("Color: "+i+" is invalid using fallback "+l.css),l;this._ctx.fillRect(0,0,1,1);var s=this._ctx.getImageData(0,0,1,1).data;if(s[3]!==255){if(!e)return console.warn("Color: "+i+" is using transparency, but allowTransparency is false. Using fallback "+l.css+"."),l;var u=this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map(function(w){return Number(w)}),f=u[0],A=u[1],v=u[2],x=u[3],b=Math.round(255*x);return{rgba:p.channels.toRgba(f,A,v,b),css:i}}return{css:this._ctx.fillStyle,rgba:p.channels.toRgba(s[0],s[1],s[2],s[3])}},d}();m.ColorManager=a},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.throwIfFalsy=void 0,m.throwIfFalsy=function(p){if(!p)throw new Error("value must not be falsy");return p}},function(y,m,C){"use strict";var p,g=this&&this.__extends||(p=function(d,i){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,e){l.__proto__=e}||function(l,e){for(var s in e)e.hasOwnProperty(s)&&(l[s]=e[s])})(d,i)},function(a,d){function i(){this.constructor=a}p(a,d),a.prototype=d===null?Object.create(d):(i.prototype=d.prototype,new i)});Object.defineProperty(m,"__esModule",{value:!0}),m.CharacterJoinerRegistry=m.JoinedCellData=void 0;var h=C(6),c=C(3),o=C(4),n=function(a){function d(i,l,e){var s=a.call(this)||this;return s.content=0,s.combinedData="",s.fg=i.fg,s.bg=i.bg,s.combinedData=l,s._width=e,s}return g(d,a),d.prototype.isCombined=function(){return 2097152},d.prototype.getWidth=function(){return this._width},d.prototype.getChars=function(){return this.combinedData},d.prototype.getCode=function(){return 2097151},d.prototype.setFromCharData=function(i){throw new Error("not implemented")},d.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},d}(h.AttributeData);m.JoinedCellData=n;var t=function(){function a(d){this._bufferService=d,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new o.CellData}return a.prototype.registerCharacterJoiner=function(d){var i={id:this._nextCharacterJoinerId++,handler:d};return this._characterJoiners.push(i),i.id},a.prototype.deregisterCharacterJoiner=function(d){for(var i=0;i<this._characterJoiners.length;i++)if(this._characterJoiners[i].id===d)return this._characterJoiners.splice(i,1),!0;return!1},a.prototype.getJoinedCharacters=function(d){if(this._characterJoiners.length===0)return[];var i=this._bufferService.buffer.lines.get(d);if(!i||i.length===0)return[];for(var l=[],e=i.translateToString(!0),s=0,u=0,f=0,A=i.getFg(0),v=i.getBg(0),x=0;x<i.getTrimmedLength();x++)if(i.loadCell(x,this._workCell),this._workCell.getWidth()!==0){if(this._workCell.fg!==A||this._workCell.bg!==v){if(x-s>1)for(var b=this._getJoinedRanges(e,f,u,i,s),w=0;w<b.length;w++)l.push(b[w]);s=x,f=u,A=this._workCell.fg,v=this._workCell.bg}u+=this._workCell.getChars().length||c.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-s>1)for(b=this._getJoinedRanges(e,f,u,i,s),w=0;w<b.length;w++)l.push(b[w]);return l},a.prototype._getJoinedRanges=function(d,i,l,e,s){for(var u=d.substring(i,l),f=this._characterJoiners[0].handler(u),A=1;A<this._characterJoiners.length;A++)for(var v=this._characterJoiners[A].handler(u),x=0;x<v.length;x++)a._mergeRanges(f,v[x]);return this._stringRangesToCellRanges(f,e,s),f},a.prototype._stringRangesToCellRanges=function(d,i,l){var e=0,s=!1,u=0,f=d[e];if(f){for(var A=l;A<this._bufferService.cols;A++){var v=i.getWidth(A),x=i.getString(A).length||c.WHITESPACE_CELL_CHAR.length;if(v!==0){if(!s&&f[0]<=u&&(f[0]=A,s=!0),f[1]<=u){if(f[1]=A,!(f=d[++e]))break;f[0]<=u?(f[0]=A,s=!0):s=!1}u+=x}}f&&(f[1]=this._bufferService.cols)}},a._mergeRanges=function(d,i){for(var l=!1,e=0;e<d.length;e++){var s=d[e];if(l){if(i[1]<=s[0])return d[e-1][1]=i[1],d;if(i[1]<=s[1])return d[e-1][1]=Math.max(i[1],s[1]),d.splice(e,1),d;d.splice(e,1),e--}else{if(i[1]<=s[0])return d.splice(e,0,i),d;if(i[1]<=s[1])return s[0]=Math.min(i[0],s[0]),d;i[0]<s[1]&&(s[0]=Math.min(i[0],s[0]),l=!0)}}return l?d[d.length-1][1]=i[1]:d.push(i),d},a}();m.CharacterJoinerRegistry=t},function(y,m,C){"use strict";function p(g,h){var c=h.getBoundingClientRect();return[g.clientX-c.left,g.clientY-c.top]}Object.defineProperty(m,"__esModule",{value:!0}),m.getRawByteCoords=m.getCoords=m.getCoordsRelativeToElement=void 0,m.getCoordsRelativeToElement=p,m.getCoords=function(g,h,c,o,n,t,a,d){if(n){var i=p(g,h);if(i)return i[0]=Math.ceil((i[0]+(d?t/2:0))/t),i[1]=Math.ceil(i[1]/a),i[0]=Math.min(Math.max(i[0],1),c+(d?1:0)),i[1]=Math.min(Math.max(i[1],1),o),i}},m.getRawByteCoords=function(g){if(g)return{x:g[0]+32,y:g[1]+32}}},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.RenderDebouncer=void 0;var p=function(){function g(h){this._renderCallback=h}return g.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},g.prototype.refresh=function(h,c,o){var n=this;this._rowCount=o,h=h!==void 0?h:0,c=c!==void 0?c:this._rowCount-1,this._rowStart=this._rowStart!==void 0?Math.min(this._rowStart,h):h,this._rowEnd=this._rowEnd!==void 0?Math.max(this._rowEnd,c):c,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return n._innerRefresh()}))},g.prototype._innerRefresh=function(){if(this._rowStart!==void 0&&this._rowEnd!==void 0&&this._rowCount!==void 0){var h=Math.max(this._rowStart,0),c=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0,this._renderCallback(h,c)}},g}();m.RenderDebouncer=p},function(y,m,C){"use strict";var p,g=this&&this.__extends||(p=function(o,n){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var d in a)a.hasOwnProperty(d)&&(t[d]=a[d])})(o,n)},function(c,o){function n(){this.constructor=c}p(c,o),c.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)});Object.defineProperty(m,"__esModule",{value:!0}),m.ScreenDprMonitor=void 0;var h=function(c){function o(){var n=c!==null&&c.apply(this,arguments)||this;return n._currentDevicePixelRatio=window.devicePixelRatio,n}return g(o,c),o.prototype.setListener=function(n){var t=this;this._listener&&this.clearListener(),this._listener=n,this._outerListener=function(){t._listener&&(t._listener(window.devicePixelRatio,t._currentDevicePixelRatio),t._updateDpr())},this._updateDpr()},o.prototype.dispose=function(){c.prototype.dispose.call(this),this.clearListener()},o.prototype._updateDpr=function(){var n;this._outerListener&&((n=this._resolutionMediaMatchList)===null||n===void 0||n.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},o.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)},o}(C(2).Disposable);m.ScreenDprMonitor=h},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.clone=void 0,m.clone=function p(g,h){if(h===void 0&&(h=5),typeof g!="object")return g;var c=Array.isArray(g)?[]:{};for(var o in g)c[o]=h<=1?g[o]:g[o]?p(g[o],h-1):g[o];return c}},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.Terminal=void 0;var p=C(4),g=C(35),h=C(18),c=C(0),o=C(83),n=function(){function e(s){this._core=new g.Terminal(s),this._addonManager=new o.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 i(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"unicode",{get:function(){return this._checkProposedApi(),new l(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 a(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(s,u){this._verifyIntegers(s,u),this._core.resize(s,u)},e.prototype.open=function(s){this._core.open(s)},e.prototype.attachCustomKeyEventHandler=function(s){this._core.attachCustomKeyEventHandler(s)},e.prototype.registerLinkMatcher=function(s,u,f){return this._checkProposedApi(),this._core.registerLinkMatcher(s,u,f)},e.prototype.deregisterLinkMatcher=function(s){this._checkProposedApi(),this._core.deregisterLinkMatcher(s)},e.prototype.registerLinkProvider=function(s){return this._checkProposedApi(),this._core.registerLinkProvider(s)},e.prototype.registerCharacterJoiner=function(s){return this._checkProposedApi(),this._core.registerCharacterJoiner(s)},e.prototype.deregisterCharacterJoiner=function(s){this._checkProposedApi(),this._core.deregisterCharacterJoiner(s)},e.prototype.registerMarker=function(s){return this._checkProposedApi(),this._verifyIntegers(s),this._core.addMarker(s)},e.prototype.addMarker=function(s){return this.registerMarker(s)},e.prototype.hasSelection=function(){return this._core.hasSelection()},e.prototype.select=function(s,u,f){this._verifyIntegers(s,u,f),this._core.select(s,u,f)},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(s,u){this._verifyIntegers(s,u),this._core.selectLines(s,u)},e.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},e.prototype.scrollLines=function(s){this._verifyIntegers(s),this._core.scrollLines(s)},e.prototype.scrollPages=function(s){this._verifyIntegers(s),this._core.scrollPages(s)},e.prototype.scrollToTop=function(){this._core.scrollToTop()},e.prototype.scrollToBottom=function(){this._core.scrollToBottom()},e.prototype.scrollToLine=function(s){this._verifyIntegers(s),this._core.scrollToLine(s)},e.prototype.clear=function(){this._core.clear()},e.prototype.write=function(s,u){this._core.write(s,u)},e.prototype.writeUtf8=function(s,u){this._core.write(s,u)},e.prototype.writeln=function(s,u){this._core.write(s),this._core.write(`\r
|
|
|
`,u)},e.prototype.paste=function(s){this._core.paste(s)},e.prototype.getOption=function(s){return this._core.optionsService.getOption(s)},e.prototype.setOption=function(s,u){this._core.optionsService.setOption(s,u)},e.prototype.refresh=function(s,u){this._verifyIntegers(s,u),this._core.refresh(s,u)},e.prototype.reset=function(){this._core.reset()},e.prototype.loadAddon=function(s){return this._addonManager.loadAddon(this,s)},Object.defineProperty(e,"strings",{get:function(){return h},enumerable:!1,configurable:!0}),e.prototype._verifyIntegers=function(){for(var s=[],u=0;u<arguments.length;u++)s[u]=arguments[u];for(var f=0,A=s;f<A.length;f++){var v=A[f];if(v===1/0||isNaN(v)||v%1!=0)throw new Error("This API only accepts integers")}},e}();m.Terminal=n;var t=function(){function e(s,u){this._buffer=s,this.type=u}return e.prototype.init=function(s){return this._buffer=s,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(s){var u=this._buffer.lines.get(s);if(u)return new d(u)},e.prototype.getNullCell=function(){return new p.CellData},e}(),a=function(){function e(s){var u=this;this._buffers=s,this._onBufferChange=new c.EventEmitter,this._normal=new t(this._buffers.normal,"normal"),this._alternate=new t(this._buffers.alt,"alternate"),this._buffers.onBufferActivate(function(){return u._onBufferChange.fire(u.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}(),d=function(){function e(s){this._line=s}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(s,u){if(!(s<0||s>=this._line.length))return u?(this._line.loadCell(s,u),u):this._line.loadCell(s,new p.CellData)},e.prototype.translateToString=function(s,u,f){return this._line.translateToString(s,u,f)},e}(),i=function(){function e(s){this._core=s}return e.prototype.registerCsiHandler=function(s,u){return this._core.addCsiHandler(s,function(f){return u(f.toArray())})},e.prototype.addCsiHandler=function(s,u){return this.registerCsiHandler(s,u)},e.prototype.registerDcsHandler=function(s,u){return this._core.addDcsHandler(s,function(f,A){return u(f,A.toArray())})},e.prototype.addDcsHandler=function(s,u){return this.registerDcsHandler(s,u)},e.prototype.registerEscHandler=function(s,u){return this._core.addEscHandler(s,u)},e.prototype.addEscHandler=function(s,u){return this.registerEscHandler(s,u)},e.prototype.registerOscHandler=function(s,u){return this._core.addOscHandler(s,u)},e.prototype.addOscHandler=function(s,u){return this.registerOscHandler(s,u)},e}(),l=function(){function e(s){this._core=s}return e.prototype.register=function(s){this._core.unicodeService.register(s)},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(u){this._core.unicodeService.activeVersion=u},enumerable:!1,configurable:!0}),e}()},function(y,m,C){"use strict";var p,g=this&&this.__extends||(p=function(D,H){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(U,z){U.__proto__=z}||function(U,z){for(var K in z)z.hasOwnProperty(K)&&(U[K]=z[K])})(D,H)},function(V,D){function H(){this.constructor=V}p(V,D),V.prototype=D===null?Object.create(D):(H.prototype=D.prototype,new H)});Object.defineProperty(m,"__esModule",{value:!0}),m.Terminal=void 0;var h=C(36),c=C(37),o=C(38),n=C(12),t=C(19),a=C(40),d=C(50),i=C(51),l=C(11),e=C(7),s=C(18),u=C(54),f=C(55),A=C(56),v=C(57),x=C(59),b=C(0),w=C(16),_=C(27),T=C(60),S=C(5),E=C(61),I=C(62),O=C(63),F=C(64),k=C(65),M=typeof window!="undefined"?window.document:null,P=function(V){function D(H){H===void 0&&(H={});var U=V.call(this,H)||this;return U.browser=l,U._keyDownHandled=!1,U._onCursorMove=new b.EventEmitter,U._onKey=new b.EventEmitter,U._onRender=new b.EventEmitter,U._onSelectionChange=new b.EventEmitter,U._onTitleChange=new b.EventEmitter,U._onFocus=new b.EventEmitter,U._onBlur=new b.EventEmitter,U._onA11yCharEmitter=new b.EventEmitter,U._onA11yTabEmitter=new b.EventEmitter,U._setup(),U.linkifier=U._instantiationService.createInstance(d.Linkifier),U.linkifier2=U.register(U._instantiationService.createInstance(O.Linkifier2)),U.register(U._inputHandler.onRequestBell(function(){return U.bell()})),U.register(U._inputHandler.onRequestRefreshRows(function(z,K){return U.refresh(z,K)})),U.register(U._inputHandler.onRequestReset(function(){return U.reset()})),U.register(U._inputHandler.onRequestScroll(function(z,K){return U.scroll(z,K||void 0)})),U.register(U._inputHandler.onRequestWindowsOptionsReport(function(z){return U._reportWindowsOptions(z)})),U.register(b.forwardEvent(U._inputHandler.onCursorMove,U._onCursorMove)),U.register(b.forwardEvent(U._inputHandler.onTitleChange,U._onTitleChange)),U.register(b.forwardEvent(U._inputHandler.onA11yChar,U._onA11yCharEmitter)),U.register(b.forwardEvent(U._inputHandler.onA11yTab,U._onA11yTabEmitter)),U.register(U._bufferService.onResize(function(z){return U._afterResize(z.cols,z.rows)})),U}return g(D,V),Object.defineProperty(D.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),D.prototype.dispose=function(){var H,U,z;this._isDisposed||(V.prototype.dispose.call(this),(H=this._renderService)===null||H===void 0||H.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(z=(U=this.element)===null||U===void 0?void 0:U.parentNode)===null||z===void 0||z.removeChild(this.element))},D.prototype._setup=function(){V.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(D.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),D.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},D.prototype._updateOptions=function(H){var U,z,K,G;switch(V.prototype._updateOptions.call(this,H),H){case"fontFamily":case"fontSize":(U=this._renderService)===null||U===void 0||U.clear(),(z=this._charSizeService)===null||z===void 0||z.measure();break;case"cursorBlink":case"cursorStyle":this.refresh(this.buffer.y,this.buffer.y);break;case"drawBoldTextInBrightColors":case"letterSpacing":case"lineHeight":case"fontWeight":case"fontWeightBold":case"minimumContrastRatio":this._renderService&&(this._renderService.clear(),this._renderService.onResize(this.cols,this.rows),this.refresh(0,this.rows-1));break;case"rendererType":this._renderService&&(this._renderService.setRenderer(this._createRenderer()),this._renderService.onResize(this.cols,this.rows));break;case"scrollback":(K=this.viewport)===null||K===void 0||K.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new A.AccessibilityManager(this,this._renderService)):((G=this._accessibilityManager)===null||G===void 0||G.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},D.prototype._onTextAreaFocus=function(H){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(n.C0.ESC+"[I"),this.updateCursorStyle(H),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},D.prototype.blur=function(){var H;return(H=this.textarea)===null||H===void 0?void 0:H.blur()},D.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(n.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},D.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var H=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),U=this._bufferService.buffer.y*H,z=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=z+"px",this.textarea.style.top=U+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=H+"px",this.textarea.style.lineHeight=H+"px",this.textarea.style.zIndex="-5"}},D.prototype._initGlobal=function(){var H=this;this._bindKeys(),this.register(e.addDisposableDomListener(this.element,"copy",function(z){H.hasSelection()&&o.copyHandler(z,H._selectionService)}));var U=function(K){return o.handlePasteEvent(K,H.textarea,H._coreService)};this.register(e.addDisposableDomListener(this.textarea,"paste",U)),this.register(e.addDisposableDomListener(this.element,"paste",U)),l.isFirefox?this.register(e.addDisposableDomListener(this.element,"mousedown",function(z){z.button===2&&o.rightClickHandler(z,H.textarea,H.screenElement,H._selectionService,H.options.rightClickSelectsWord)})):this.register(e.addDisposableDomListener(this.element,"contextmenu",function(z){o.rightClickHandler(z,H.textarea,H.screenElement,H._selectionService,H.options.rightClickSelectsWord)})),l.isLinux&&this.register(e.addDisposableDomListener(this.element,"auxclick",function(z){z.button===1&&o.moveTextAreaUnderMouseCursor(z,H.textarea,H.screenElement)}))},D.prototype._bindKeys=function(){var H=this;this.register(e.addDisposableDomListener(this.textarea,"keyup",function(U){return H._keyUp(U)},!0)),this.register(e.addDisposableDomListener(this.textarea,"keydown",function(U){return H._keyDown(U)},!0)),this.register(e.addDisposableDomListener(this.textarea,"keypress",function(U){return H._keyPress(U)},!0)),this.register(e.addDisposableDomListener(this.textarea,"compositionstart",function(){return H._compositionHelper.compositionstart()})),this.register(e.addDisposableDomListener(this.textarea,"compositionupdate",function(U){return H._compositionHelper.compositionupdate(U)})),this.register(e.addDisposableDomListener(this.textarea,"compositionend",function(){return H._compositionHelper.compositionend()})),this.register(this.onRender(function(){return H._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(U){return H._queueLinkification(U.start,U.end)}))},D.prototype.open=function(H){var U=this;if(!H)throw new Error("Terminal requires a parent element.");M.body.contains(H)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=H.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"),H.appendChild(this.element);var z=M.createDocumentFragment();this._viewportElement=M.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),z.appendChild(this._viewportElement),this._viewportScrollArea=M.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=M.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=M.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),z.appendChild(this.screenElement),this.textarea=M.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",s.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register(e.addDisposableDomListener(this.textarea,"focus",function(X){return U._onTextAreaFocus(X)})),this.register(e.addDisposableDomListener(this.textarea,"blur",function(){return U._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var K=this._instantiationService.createInstance(F.CoreBrowserService,this.textarea);this._instantiationService.setService(S.ICoreBrowserService,K),this._charSizeService=this._instantiationService.createInstance(E.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(S.ICharSizeService,this._charSizeService),this._compositionView=M.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(h.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(z),this._theme=this.options.theme||this._theme,this._colorManager=new _.ColorManager(M,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(X){return U._colorManager.onOptionsChange(X)})),this._colorManager.setTheme(this._theme);var G=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(T.RenderService,G,this.rows,this.screenElement)),this._instantiationService.setService(S.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(X){return U._onRender.fire(X)})),this.onResize(function(X){return U._renderService.resize(X.cols,X.rows)}),this._soundService=this._instantiationService.createInstance(u.SoundService),this._instantiationService.setService(S.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(I.MouseService),this._instantiationService.setService(S.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(c.Viewport,function(X,Z){return U.scrollLines(X,Z)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return U.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){U._renderService.onCursorMove(),U._syncTextArea()})),this.register(this.onResize(function(){return U._renderService.onResize(U.cols,U.rows)})),this.register(this.onBlur(function(){return U._renderService.onBlur()})),this.register(this.onFocus(function(){return U._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return U.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(i.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(S.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(X){return U.scrollLines(X.amount,X.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return U._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(X){return U._renderService.onSelectionChanged(X.start,X.end,X.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(X){U.textarea.value=X,U.textarea.focus(),U.textarea.select()})),this.register(this.onScroll(function(){U.viewport.syncScrollArea(),U._selectionService.refresh()})),this.register(e.addDisposableDomListener(this._viewportElement,"scroll",function(){return U._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(f.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return U._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(X){return U._selectionService.onMouseDown(X)})),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new A.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},D.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(a.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(v.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},D.prototype._setTheme=function(H){var U,z,K;this._theme=H,(U=this._colorManager)===null||U===void 0||U.setTheme(H),(z=this._renderService)===null||z===void 0||z.setColors(this._colorManager.colors),(K=this.viewport)===null||K===void 0||K.onThemeChange(this._colorManager.colors)},D.prototype.bindMouse=function(){var H=this,U=this,z=this.element;function K($){var pe,xe,_e=U._mouseService.getRawByteCoords($,U.screenElement,U.cols,U.rows);if(!_e)return!1;switch($.overrideType||$.type){case"mousemove":xe=32,$.buttons===void 0?(pe=3,$.button!==void 0&&(pe=$.button<3?$.button:3)):pe=1&$.buttons?0:4&$.buttons?1:2&$.buttons?2:3;break;case"mouseup":xe=0,pe=$.button<3?$.button:3;break;case"mousedown":xe=1,pe=$.button<3?$.button:3;break;case"wheel":$.deltaY!==0&&(xe=$.deltaY<0?0:1),pe=4;break;default:return!1}return!(xe===void 0||pe===void 0||pe>4)&&U._coreMouseService.triggerMouseEvent({col:_e.x-33,row:_e.y-33,button:pe,action:xe,ctrl:$.ctrlKey,alt:$.altKey,shift:$.shiftKey})}var G={mouseup:null,wheel:null,mousedrag:null,mousemove:null},X=function(pe){return K(pe),pe.buttons||(H._document.removeEventListener("mouseup",G.mouseup),G.mousedrag&&H._document.removeEventListener("mousemove",G.mousedrag)),H.cancel(pe)},Z=function(pe){return K(pe),pe.preventDefault(),H.cancel(pe)},ee=function(pe){pe.buttons&&K(pe)},Se=function(pe){pe.buttons||K(pe)};this.register(this._coreMouseService.onProtocolChange(function($){$?(H.optionsService.options.logLevel==="debug"&&H._logService.debug("Binding to mouse events:",H._coreMouseService.explainEvents($)),H.element.classList.add("enable-mouse-events"),H._selectionService.disable()):(H._logService.debug("Unbinding from mouse events."),H.element.classList.remove("enable-mouse-events"),H._selectionService.enable()),8&$?G.mousemove||(z.addEventListener("mousemove",Se),G.mousemove=Se):(z.removeEventListener("mousemove",G.mousemove),G.mousemove=null),16&$?G.wheel||(z.addEventListener("wheel",Z,{passive:!1}),G.wheel=Z):(z.removeEventListener("wheel",G.wheel),G.wheel=null),2&$?G.mouseup||(G.mouseup=X):(H._document.removeEventListener("mouseup",G.mouseup),G.mouseup=null),4&$?G.mousedrag||(G.mousedrag=ee):(H._document.removeEventListener("mousemove",G.mousedrag),G.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(e.addDisposableDomListener(z,"mousedown",function($){if($.preventDefault(),H.focus(),H._coreMouseService.areMouseEventsActive&&!H._selectionService.shouldForceSelection($))return K($),G.mouseup&&H._document.addEventListener("mouseup",G.mouseup),G.mousedrag&&H._document.addEventListener("mousemove",G.mousedrag),H.cancel($)})),this.register(e.addDisposableDomListener(z,"wheel",function($){if(!G.wheel){if(!H.buffer.hasScrollback){var pe=H.viewport.getLinesScrolled($);if(pe===0)return;for(var xe=n.C0.ESC+(H._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+($.deltaY<0?"A":"B"),_e="",Ue=0;Ue<Math.abs(pe);Ue++)_e+=xe;H._coreService.triggerDataEvent(_e,!0)}}},{passive:!0})),this.register(e.addDisposableDomListener(z,"wheel",function($){if(!G.wheel)return H.viewport.onWheel($)?void 0:H.cancel($)},{passive:!1})),this.register(e.addDisposableDomListener(z,"touchstart",function($){if(!H._coreMouseService.areMouseEventsActive)return H.viewport.onTouchStart($),H.cancel($)},{passive:!0})),this.register(e.addDisposableDomListener(z,"touchmove",function($){if(!H._coreMouseService.areMouseEventsActive)return H.viewport.onTouchMove($)?void 0:H.cancel($)},{passive:!1}))},D.prototype.refresh=function(H,U){var z;(z=this._renderService)===null||z===void 0||z.refreshRows(H,U)},D.prototype._queueLinkification=function(H,U){var z;(z=this.linkifier)===null||z===void 0||z.linkifyRows(H,U)},D.prototype.updateCursorStyle=function(H){this._selectionService&&this._selectionService.shouldColumnSelect(H)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},D.prototype._showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},D.prototype.scrollLines=function(H,U){V.prototype.scrollLines.call(this,H,U),this.refresh(0,this.rows-1)},D.prototype.paste=function(H){o.paste(H,this.textarea,this._coreService)},D.prototype.attachCustomKeyEventHandler=function(H){this._customKeyEventHandler=H},D.prototype.registerLinkMatcher=function(H,U,z){var K=this.linkifier.registerLinkMatcher(H,U,z);return this.refresh(0,this.rows-1),K},D.prototype.deregisterLinkMatcher=function(H){this.linkifier.deregisterLinkMatcher(H)&&this.refresh(0,this.rows-1)},D.prototype.registerLinkProvider=function(H){return this.linkifier2.registerLinkProvider(H)},D.prototype.registerCharacterJoiner=function(H){var U=this._renderService.registerCharacterJoiner(H);return this.refresh(0,this.rows-1),U},D.prototype.deregisterCharacterJoiner=function(H){this._renderService.deregisterCharacterJoiner(H)&&this.refresh(0,this.rows-1)},Object.defineProperty(D.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),D.prototype.addMarker=function(H){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+H)},D.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},D.prototype.select=function(H,U,z){this._selectionService.setSelection(H,U,z)},D.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},D.prototype.getSelectionPosition=function(){if(this._selectionService&&this._selectionService.hasSelection)return{startColumn:this._selectionService.selectionStart[0],startRow:this._selectionService.selectionStart[1],endColumn:this._selectionService.selectionEnd[0],endRow:this._selectionService.selectionEnd[1]}},D.prototype.clearSelection=function(){var H;(H=this._selectionService)===null||H===void 0||H.clearSelection()},D.prototype.selectAll=function(){var H;(H=this._selectionService)===null||H===void 0||H.selectAll()},D.prototype.selectLines=function(H,U){var z;(z=this._selectionService)===null||z===void 0||z.selectLines(H,U)},D.prototype._keyDown=function(H){if(this._keyDownHandled=!1,this._customKeyEventHandler&&this._customKeyEventHandler(H)===!1)return!1;if(!this._compositionHelper.keydown(H))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var U=x.evaluateKeyboardEvent(H,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(H),U.type===3||U.type===2){var z=this.rows-1;return this.scrollLines(U.type===2?-z:z),this.cancel(H,!0)}return U.type===1&&this.selectAll(),!!this._isThirdLevelShift(this.browser,H)||(U.cancel&&this.cancel(H,!0),!U.key||(U.key!==n.C0.ETX&&U.key!==n.C0.CR||(this.textarea.value=""),this._onKey.fire({key:U.key,domEvent:H}),this._showCursor(),this._coreService.triggerDataEvent(U.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(H,!0)))},D.prototype._isThirdLevelShift=function(H,U){var z=H.isMac&&!this.options.macOptionIsMeta&&U.altKey&&!U.ctrlKey&&!U.metaKey||H.isWindows&&U.altKey&&U.ctrlKey&&!U.metaKey;return U.type==="keypress"?z:z&&(!U.keyCode||U.keyCode>47)},D.prototype._keyUp=function(H){this._customKeyEventHandler&&this._customKeyEventHandler(H)===!1||(function(U){return U.keyCode===16||U.keyCode===17||U.keyCode===18}(H)||this.focus(),this.updateCursorStyle(H))},D.prototype._keyPress=function(H){var U;if(this._keyDownHandled)return!1;if(this._customKeyEventHandler&&this._customKeyEventHandler(H)===!1)return!1;if(this.cancel(H),H.charCode)U=H.charCode;else if(H.which===null||H.which===void 0)U=H.keyCode;else{if(H.which===0||H.charCode===0)return!1;U=H.which}return!(!U||(H.altKey||H.ctrlKey||H.metaKey)&&!this._isThirdLevelShift(this.browser,H))&&(U=String.fromCharCode(U),this._onKey.fire({key:U,domEvent:H}),this._showCursor(),this._coreService.triggerDataEvent(U,!0),!0)},D.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},D.prototype.resize=function(H,U){H!==this.cols||U!==this.rows?V.prototype.resize.call(this,H,U):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},D.prototype._afterResize=function(H,U){var z,K;(z=this._charSizeService)===null||z===void 0||z.measure(),(K=this.viewport)===null||K===void 0||K.syncScrollArea(!0)},D.prototype.clear=function(){if(this.buffer.ybase!==0||this.buffer.y!==0){this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var H=1;H<this.rows;H++)this.buffer.lines.push(this.buffer.getBlankLine(w.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},D.prototype.reset=function(){var H,U;this.options.rows=this.rows,this.options.cols=this.cols;var z=this._customKeyEventHandler;this._setup(),V.prototype.reset.call(this),(H=this._selectionService)===null||H===void 0||H.reset(),this._customKeyEventHandler=z,this.refresh(0,this.rows-1),(U=this.viewport)===null||U===void 0||U.syncScrollArea()},D.prototype._reportWindowsOptions=function(H){if(this._renderService)switch(H){case t.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var U=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),z=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(n.C0.ESC+"[4;"+z+";"+U+"t");break;case t.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var K=this._renderService.dimensions.scaledCellWidth.toFixed(0),G=this._renderService.dimensions.scaledCellHeight.toFixed(0);this._coreService.triggerDataEvent(n.C0.ESC+"[6;"+G+";"+K+"t")}},D.prototype.cancel=function(H,U){if(this.options.cancelEvents||U)return H.preventDefault(),H.stopPropagation(),!1},D.prototype._visualBell=function(){return!1},D.prototype._soundBell=function(){return this.options.bellStyle==="sound"},D}(k.CoreTerminal);m.Terminal=P},function(y,m,C){"use strict";var p=this&&this.__decorate||function(n,t,a,d){var i,l=arguments.length,e=l<3?t:d===null?d=Object.getOwnPropertyDescriptor(t,a):d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(n,t,a,d);else for(var s=n.length-1;s>=0;s--)(i=n[s])&&(e=(l<3?i(e):l>3?i(t,a,e):i(t,a))||e);return l>3&&e&&Object.defineProperty(t,a,e),e},g=this&&this.__param||function(n,t){return function(a,d){t(a,d,n)}};Object.defineProperty(m,"__esModule",{value:!0}),m.CompositionHelper=void 0;var h=C(5),c=C(1),o=function(){function n(t,a,d,i,l,e){this._textarea=t,this._compositionView=a,this._bufferService=d,this._optionsService=i,this._charSizeService=l,this._coreService=e,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(n.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),n.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},n.prototype.compositionupdate=function(t){var a=this;this._compositionView.textContent=t.data,this.updateCompositionElements(),setTimeout(function(){a._compositionPosition.end=a._textarea.value.length},0)},n.prototype.compositionend=function(){this._finalizeComposition(!0)},n.prototype.keydown=function(t){if(this._isComposing||this._isSendingComposition){if(t.keyCode===229)return!1;if(t.keyCode===16||t.keyCode===17||t.keyCode===18)return!1;this._finalizeComposition(!1)}return t.keyCode!==229||(this._handleAnyTextareaChanges(),!1)},n.prototype._finalizeComposition=function(t){var a=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,t){var d={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(a._isSendingComposition){a._isSendingComposition=!1;var l=void 0;l=a._isComposing?a._textarea.value.substring(d.start,d.end):a._textarea.value.substring(d.start),a._coreService.triggerDataEvent(l,!0)}},0)}else{this._isSendingComposition=!1;var i=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(i,!0)}},n.prototype._handleAnyTextareaChanges=function(){var t=this,a=this._textarea.value;setTimeout(function(){if(!t._isComposing){var d=t._textarea.value.replace(a,"");d.length>0&&t._coreService.triggerDataEvent(d,!0)}},0)},n.prototype.updateCompositionElements=function(t){var a=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var d=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),i=this._bufferService.buffer.y*d,l=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=l+"px",this._compositionView.style.top=i+"px",this._compositionView.style.height=d+"px",this._compositionView.style.lineHeight=d+"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=l+"px",this._textarea.style.top=i+"px",this._textarea.style.width=e.width+"px",this._textarea.style.height=e.height+"px",this._textarea.style.lineHeight=e.height+"px"}t||setTimeout(function(){return a.updateCompositionElements(!0)},0)}},n=p([g(2,c.IBufferService),g(3,c.IOptionsService),g(4,h.ICharSizeService),g(5,c.ICoreService)],n)}();m.CompositionHelper=o},function(y,m,C){"use strict";var p,g=this&&this.__extends||(p=function(l,e){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var f in u)u.hasOwnProperty(f)&&(s[f]=u[f])})(l,e)},function(i,l){function e(){this.constructor=i}p(i,l),i.prototype=l===null?Object.create(l):(e.prototype=l.prototype,new e)}),h=this&&this.__decorate||function(i,l,e,s){var u,f=arguments.length,A=f<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,e):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")A=Reflect.decorate(i,l,e,s);else for(var v=i.length-1;v>=0;v--)(u=i[v])&&(A=(f<3?u(A):f>3?u(l,e,A):u(l,e))||A);return f>3&&A&&Object.defineProperty(l,e,A),A},c=this&&this.__param||function(i,l){return function(e,s){l(e,s,i)}};Object.defineProperty(m,"__esModule",{value:!0}),m.Viewport=void 0;var o=C(2),n=C(7),t=C(5),a=C(1),d=function(i){function l(e,s,u,f,A,v,x){var b=i.call(this)||this;return b._scrollLines=e,b._viewportElement=s,b._scrollArea=u,b._bufferService=f,b._optionsService=A,b._charSizeService=v,b._renderService=x,b.scrollBarWidth=0,b._currentRowHeight=0,b._lastRecordedBufferLength=0,b._lastRecordedViewportHeight=0,b._lastRecordedBufferHeight=0,b._lastTouchY=0,b._lastScrollTop=0,b._wheelPartialScroll=0,b._refreshAnimationFrame=null,b._ignoreNextScrollEvent=!1,b.scrollBarWidth=b._viewportElement.offsetWidth-b._scrollArea.offsetWidth||15,b.register(n.addDisposableDomListener(b._viewportElement,"scroll",b._onScroll.bind(b))),setTimeout(function(){return b.syncScrollArea()},0),b}return g(l,i),l.prototype.onThemeChange=function(e){this._viewportElement.style.backgroundColor=e.background.css},l.prototype._refresh=function(e){var s=this;if(e)return this._innerRefresh(),void(this._refreshAnimationFrame!==null&&cancelAnimationFrame(this._refreshAnimationFrame));this._refreshAnimationFrame===null&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return s._innerRefresh()}))},l.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var 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 s=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==s&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=s),this._refreshAnimationFrame=null},l.prototype.syncScrollArea=function(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 s=this._bufferService.buffer.ydisp*this._currentRowHeight;this._lastScrollTop===s&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(e)}else this._refresh(e)},l.prototype._onScroll=function(e){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var s=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(s,!0)}},l.prototype._bubbleScroll=function(e,s){var u=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(s<0&&this._viewportElement.scrollTop!==0||s>0&&u<this._lastRecordedBufferHeight)||(e.cancelable&&e.preventDefault(),!1)},l.prototype.onWheel=function(e){var s=this._getPixelsScrolled(e);return s!==0&&(this._viewportElement.scrollTop+=s,this._bubbleScroll(e,s))},l.prototype._getPixelsScrolled=function(e){if(e.deltaY===0)return 0;var s=this._applyScrollModifier(e.deltaY,e);return e.deltaMode===WheelEvent.DOM_DELTA_LINE?s*=this._currentRowHeight:e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(s*=this._currentRowHeight*this._bufferService.rows),s},l.prototype.getLinesScrolled=function(e){if(e.deltaY===0)return 0;var s=this._applyScrollModifier(e.deltaY,e);return e.deltaMode===WheelEvent.DOM_DELTA_PIXEL?(s/=this._currentRowHeight+0,this._wheelPartialScroll+=s,s=Math.floor(Math.abs(this._wheelPartialScroll))*(this._wheelPartialScroll>0?1:-1),this._wheelPartialScroll%=1):e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(s*=this._bufferService.rows),s},l.prototype._applyScrollModifier=function(e,s){var u=this._optionsService.options.fastScrollModifier;return u==="alt"&&s.altKey||u==="ctrl"&&s.ctrlKey||u==="shift"&&s.shiftKey?e*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:e*this._optionsService.options.scrollSensitivity},l.prototype.onTouchStart=function(e){this._lastTouchY=e.touches[0].pageY},l.prototype.onTouchMove=function(e){var s=this._lastTouchY-e.touches[0].pageY;return this._lastTouchY=e.touches[0].pageY,s!==0&&(this._viewportElement.scrollTop+=s,this._bubbleScroll(e,s))},l=h([c(3,a.IBufferService),c(4,a.IOptionsService),c(5,t.ICharSizeService),c(6,t.IRenderService)],l)}(o.Disposable);m.Viewport=d},function(y,m,C){"use strict";function p(o){return o.replace(/\r?\n/g,"\r")}function g(o,n){return n?"[200~"+o+"[201~":o}function h(o,n,t){o=g(o=p(o),t.decPrivateModes.bracketedPasteMode),t.triggerDataEvent(o,!0),n.value=""}function c(o,n,t){var a=t.getBoundingClientRect(),d=o.clientX-a.left-10,i=o.clientY-a.top-10;n.style.width="20px",n.style.height="20px",n.style.left=d+"px",n.style.top=i+"px",n.style.zIndex="1000",n.focus()}Object.defineProperty(m,"__esModule",{value:!0}),m.rightClickHandler=m.moveTextAreaUnderMouseCursor=m.paste=m.handlePasteEvent=m.copyHandler=m.bracketTextForPaste=m.prepareTextForTerminal=void 0,m.prepareTextForTerminal=p,m.bracketTextForPaste=g,m.copyHandler=function(o,n){o.clipboardData&&o.clipboardData.setData("text/plain",n.selectionText),o.preventDefault()},m.handlePasteEvent=function(o,n,t){o.stopPropagation(),o.clipboardData&&h(o.clipboardData.getData("text/plain"),n,t)},m.paste=h,m.moveTextAreaUnderMouseCursor=c,m.rightClickHandler=function(o,n,t,a,d){c(o,n,t),d&&!a.isClickInSelection(o)&&a.selectWordAtCursor(o),n.value=a.selectionText,n.select()}},function(y,m,C){"use strict";var p,g=this&&this.__extends||(p=function(l,e){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var f in u)u.hasOwnProperty(f)&&(s[f]=u[f])})(l,e)},function(i,l){function e(){this.constructor=i}p(i,l),i.prototype=l===null?Object.create(l):(e.prototype=l.prototype,new e)});Object.defineProperty(m,"__esModule",{value:!0}),m.EscapeSequenceParser=m.VT500_TRANSITION_TABLE=m.TransitionTable=void 0;var h=C(2),c=C(15),o=C(21),n=C(22),t=C(24),a=function(){function i(l){this.table=new Uint8Array(l)}return i.prototype.setDefault=function(l,e){c.fill(this.table,l<<4|e)},i.prototype.add=function(l,e,s,u){this.table[e<<8|l]=s<<4|u},i.prototype.addMany=function(l,e,s,u){for(var f=0;f<l.length;f++)this.table[e<<8|l[f]]=s<<4|u},i}();m.TransitionTable=a,m.VT500_TRANSITION_TABLE=function(){var i=new a(4095),l=Array.apply(null,Array(256)).map(function(v,x){return x}),e=function(x,b){return l.slice(x,b)},s=e(32,127),u=e(0,24);u.push(25),u.push.apply(u,e(28,32));var f,A=e(0,14);for(f in i.setDefault(1,0),i.addMany(s,0,2,0),A)i.addMany([24,26,153,154],f,3,0),i.addMany(e(128,144),f,3,0),i.addMany(e(144,152),f,3,0),i.add(156,f,0,0),i.add(27,f,11,1),i.add(157,f,4,8),i.addMany([152,158,159],f,0,7),i.add(155,f,11,3),i.add(144,f,11,9);return i.addMany(u,0,3,0),i.addMany(u,1,3,1),i.add(127,1,0,1),i.addMany(u,8,0,8),i.addMany(u,3,3,3),i.add(127,3,0,3),i.addMany(u,4,3,4),i.add(127,4,0,4),i.addMany(u,6,3,6),i.addMany(u,5,3,5),i.add(127,5,0,5),i.addMany(u,2,3,2),i.add(127,2,0,2),i.add(93,1,4,8),i.addMany(s,8,5,8),i.add(127,8,5,8),i.addMany([156,27,24,26,7],8,6,0),i.addMany(e(28,32),8,0,8),i.addMany([88,94,95],1,0,7),i.addMany(s,7,0,7),i.addMany(u,7,0,7),i.add(156,7,0,0),i.add(127,7,0,7),i.add(91,1,11,3),i.addMany(e(64,127),3,7,0),i.addMany(e(48,60),3,8,4),i.addMany([60,61,62,63],3,9,4),i.addMany(e(48,60),4,8,4),i.addMany(e(64,127),4,7,0),i.addMany([60,61,62,63],4,0,6),i.addMany(e(32,64),6,0,6),i.add(127,6,0,6),i.addMany(e(64,127),6,0,0),i.addMany(e(32,48),3,9,5),i.addMany(e(32,48),5,9,5),i.addMany(e(48,64),5,0,6),i.addMany(e(64,127),5,7,0),i.addMany(e(32,48),4,9,5),i.addMany(e(32,48),1,9,2),i.addMany(e(32,48),2,9,2),i.addMany(e(48,127),2,10,0),i.addMany(e(48,80),1,10,0),i.addMany(e(81,88),1,10,0),i.addMany([89,90,92],1,10,0),i.addMany(e(96,127),1,10,0),i.add(80,1,11,9),i.addMany(u,9,0,9),i.add(127,9,0,9),i.addMany(e(28,32),9,0,9),i.addMany(e(32,48),9,9,12),i.addMany(e(48,60),9,8,10),i.addMany([60,61,62,63],9,9,10),i.addMany(u,11,0,11),i.addMany(e(32,128),11,0,11),i.addMany(e(28,32),11,0,11),i.addMany(u,10,0,10),i.add(127,10,0,10),i.addMany(e(28,32),10,0,10),i.addMany(e(48,60),10,8,10),i.addMany([60,61,62,63],10,0,11),i.addMany(e(32,48),10,9,12),i.addMany(u,12,0,12),i.add(127,12,0,12),i.addMany(e(28,32),12,0,12),i.addMany(e(32,48),12,9,12),i.addMany(e(48,64),12,0,11),i.addMany(e(64,127),12,12,13),i.addMany(e(64,127),10,12,13),i.addMany(e(64,127),9,12,13),i.addMany(u,13,13,13),i.addMany(s,13,13,13),i.add(127,13,0,13),i.addMany([27,156,24,26],13,14,0),i.add(160,0,2,0),i.add(160,8,5,8),i.add(160,6,0,6),i.add(160,11,0,11),i.add(160,13,13,13),i}();var d=function(i){function l(e){e===void 0&&(e=m.VT500_TRANSITION_TABLE);var s=i.call(this)||this;return s._transitions=e,s.initialState=0,s.currentState=s.initialState,s._params=new o.Params,s._params.addParam(0),s._collect=0,s.precedingCodepoint=0,s._printHandlerFb=function(u,f,A){},s._executeHandlerFb=function(u){},s._csiHandlerFb=function(u,f){},s._escHandlerFb=function(u){},s._errorHandlerFb=function(u){return u},s._printHandler=s._printHandlerFb,s._executeHandlers=Object.create(null),s._csiHandlers=Object.create(null),s._escHandlers=Object.create(null),s._oscParser=new n.OscParser,s._dcsParser=new t.DcsParser,s._errorHandler=s._errorHandlerFb,s.setEscHandler({final:"\\"},function(){}),s}return g(l,i),l.prototype._identifier=function(e,s){s===void 0&&(s=[64,126]);var u=0;if(e.prefix){if(e.prefix.length>1)throw new Error("only one byte as prefix supported");if((u=e.prefix.charCodeAt(0))&&60>u||u>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 f=0;f<e.intermediates.length;++f){var A=e.intermediates.charCodeAt(f);if(32>A||A>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");u<<=8,u|=A}}if(e.final.length!==1)throw new Error("final must be a single byte");var v=e.final.charCodeAt(0);if(s[0]>v||v>s[1])throw new Error("final must be in range "+s[0]+" .. "+s[1]);return u<<=8,u|=v},l.prototype.identToString=function(e){for(var s=[];e;)s.push(String.fromCharCode(255&e)),e>>=8;return s.reverse().join("")},l.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},l.prototype.setPrintHandler=function(e){this._printHandler=e},l.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},l.prototype.addEscHandler=function(e,s){var u=this._identifier(e,[48,126]);this._escHandlers[u]===void 0&&(this._escHandlers[u]=[]);var f=this._escHandlers[u];return f.push(s),{dispose:function(){var v=f.indexOf(s);v!==-1&&f.splice(v,1)}}},l.prototype.setEscHandler=function(e,s){this._escHandlers[this._identifier(e,[48,126])]=[s]},l.prototype.clearEscHandler=function(e){this._escHandlers[this._identifier(e,[48,126])]&&delete this._escHandlers[this._identifier(e,[48,126])]},l.prototype.setEscHandlerFallback=function(e){this._escHandlerFb=e},l.prototype.setExecuteHandler=function(e,s){this._executeHandlers[e.charCodeAt(0)]=s},l.prototype.clearExecuteHandler=function(e){this._executeHandlers[e.charCodeAt(0)]&&delete this._executeHandlers[e.charCodeAt(0)]},l.prototype.setExecuteHandlerFallback=function(e){this._executeHandlerFb=e},l.prototype.addCsiHandler=function(e,s){var u=this._identifier(e);this._csiHandlers[u]===void 0&&(this._csiHandlers[u]=[]);var f=this._csiHandlers[u];return f.push(s),{dispose:function(){var v=f.indexOf(s);v!==-1&&f.splice(v,1)}}},l.prototype.setCsiHandler=function(e,s){this._csiHandlers[this._identifier(e)]=[s]},l.prototype.clearCsiHandler=function(e){this._csiHandlers[this._identifier(e)]&&delete this._csiHandlers[this._identifier(e)]},l.prototype.setCsiHandlerFallback=function(e){this._csiHandlerFb=e},l.prototype.addDcsHandler=function(e,s){return this._dcsParser.addHandler(this._identifier(e),s)},l.prototype.setDcsHandler=function(e,s){this._dcsParser.setHandler(this._identifier(e),s)},l.prototype.clearDcsHandler=function(e){this._dcsParser.clearHandler(this._identifier(e))},l.prototype.setDcsHandlerFallback=function(e){this._dcsParser.setHandlerFallback(e)},l.prototype.addOscHandler=function(e,s){return this._oscParser.addHandler(e,s)},l.prototype.setOscHandler=function(e,s){this._oscParser.setHandler(e,s)},l.prototype.clearOscHandler=function(e){this._oscParser.clearHandler(e)},l.prototype.setOscHandlerFallback=function(e){this._oscParser.setHandlerFallback(e)},l.prototype.setErrorHandler=function(e){this._errorHandler=e},l.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},l.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0},l.prototype.parse=function(e,s){for(var u=0,f=0,A=this.currentState,v=this._oscParser,x=this._dcsParser,b=this._collect,w=this._params,_=this._transitions.table,T=0;T<s;++T){switch((f=_[A<<8|((u=e[T])<160?u:160)])>>4){case 2:for(var S=T+1;;++S){if(S>=s||(u=e[S])<32||u>126&&u<160){this._printHandler(e,T,S),T=S-1;break}if(++S>=s||(u=e[S])<32||u>126&&u<160){this._printHandler(e,T,S),T=S-1;break}if(++S>=s||(u=e[S])<32||u>126&&u<160){this._printHandler(e,T,S),T=S-1;break}if(++S>=s||(u=e[S])<32||u>126&&u<160){this._printHandler(e,T,S),T=S-1;break}}break;case 3:this._executeHandlers[u]?this._executeHandlers[u]():this._executeHandlerFb(u),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:T,code:u,currentState:A,collect:b,params:w,abort:!1}).abort)return;break;case 7:for(var E=this._csiHandlers[b<<8|u],I=E?E.length-1:-1;I>=0&&E[I](w)===!1;I--);I<0&&this._csiHandlerFb(b<<8|u,w),this.precedingCodepoint=0;break;case 8:do switch(u){case 59:w.addParam(0);break;case 58:w.addSubParam(-1);break;default:w.addDigit(u-48)}while(++T<s&&(u=e[T])>47&&u<60);T--;break;case 9:b<<=8,b|=u;break;case 10:for(var O=this._escHandlers[b<<8|u],F=O?O.length-1:-1;F>=0&&O[F]()===!1;F--);F<0&&this._escHandlerFb(b<<8|u),this.precedingCodepoint=0;break;case 11:w.reset(),w.addParam(0),b=0;break;case 12:x.hook(b<<8|u,w);break;case 13:for(var k=T+1;;++k)if(k>=s||(u=e[k])===24||u===26||u===27||u>127&&u<160){x.put(e,T,k),T=k-1;break}break;case 14:x.unhook(u!==24&&u!==26),u===27&&(f|=1),w.reset(),w.addParam(0),b=0,this.precedingCodepoint=0;break;case 4:v.start();break;case 5:for(var M=T+1;;M++)if(M>=s||(u=e[M])<32||u>127&&u<=159){v.put(e,T,M),T=M-1;break}break;case 6:v.end(u!==24&&u!==26),u===27&&(f|=1),w.reset(),w.addParam(0),b=0,this.precedingCodepoint=0}A=15&f}this._collect=b,this.currentState=A},l}(h.Disposable);m.EscapeSequenceParser=d},function(y,m,C){"use strict";var p,g=this&&this.__extends||(p=function(x,b){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,_){w.__proto__=_}||function(w,_){for(var T in _)_.hasOwnProperty(T)&&(w[T]=_[T])})(x,b)},function(v,x){function b(){this.constructor=v}p(v,x),v.prototype=x===null?Object.create(x):(b.prototype=x.prototype,new b)}),h=this&&this.__decorate||function(v,x,b,w){var _,T=arguments.length,S=T<3?x:w===null?w=Object.getOwnPropertyDescriptor(x,b):w;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")S=Reflect.decorate(v,x,b,w);else for(var E=v.length-1;E>=0;E--)(_=v[E])&&(S=(T<3?_(S):T>3?_(x,b,S):_(x,b))||S);return T>3&&S&&Object.defineProperty(x,b,S),S},c=this&&this.__param||function(v,x){return function(b,w){x(b,w,v)}};Object.defineProperty(m,"__esModule",{value:!0}),m.Renderer=void 0;var o=C(41),n=C(47),t=C(48),a=C(49),d=C(29),i=C(2),l=C(5),e=C(1),s=C(25),u=C(0),f=1,A=function(v){function x(b,w,_,T,S,E,I,O,F){var k=v.call(this)||this;k._colors=b,k._screenElement=w,k._bufferService=S,k._charSizeService=E,k._optionsService=I,k._id=f++,k._onRequestRedraw=new u.EventEmitter;var M=k._optionsService.options.allowTransparency;return k._characterJoinerRegistry=new d.CharacterJoinerRegistry(k._bufferService),k._renderLayers=[new o.TextRenderLayer(k._screenElement,0,k._colors,k._characterJoinerRegistry,M,k._id,k._bufferService,I),new n.SelectionRenderLayer(k._screenElement,1,k._colors,k._id,k._bufferService,I),new a.LinkRenderLayer(k._screenElement,2,k._colors,k._id,_,T,k._bufferService,I),new t.CursorRenderLayer(k._screenElement,3,k._colors,k._id,k._onRequestRedraw,k._bufferService,I,O,F)],k.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},k._devicePixelRatio=window.devicePixelRatio,k._updateDimensions(),k.onOptionsChanged(),k}return g(x,v),Object.defineProperty(x.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),x.prototype.dispose=function(){for(var b=0,w=this._renderLayers;b<w.length;b++)w[b].dispose();v.prototype.dispose.call(this),s.removeTerminalFromCache(this._id)},x.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},x.prototype.setColors=function(b){this._colors=b;for(var w=0,_=this._renderLayers;w<_.length;w++){var T=_[w];T.setColors(this._colors),T.reset()}},x.prototype.onResize=function(b,w){this._updateDimensions();for(var _=0,T=this._renderLayers;_<T.length;_++)T[_].resize(this.dimensions);this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},x.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},x.prototype.onBlur=function(){this._runOperation(function(b){return b.onBlur()})},x.prototype.onFocus=function(){this._runOperation(function(b){return b.onFocus()})},x.prototype.onSelectionChanged=function(b,w,_){_===void 0&&(_=!1),this._runOperation(function(T){return T.onSelectionChanged(b,w,_)})},x.prototype.onCursorMove=function(){this._runOperation(function(b){return b.onCursorMove()})},x.prototype.onOptionsChanged=function(){this._runOperation(function(b){return b.onOptionsChanged()})},x.prototype.clear=function(){this._runOperation(function(b){return b.reset()})},x.prototype._runOperation=function(b){for(var w=0,_=this._renderLayers;w<_.length;w++)b(_[w])},x.prototype.renderRows=function(b,w){for(var _=0,T=this._renderLayers;_<T.length;_++)T[_].onGridChanged(b,w)},x.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)},x.prototype.registerCharacterJoiner=function(b){return this._characterJoinerRegistry.registerCharacterJoiner(b)},x.prototype.deregisterCharacterJoiner=function(b){return this._characterJoinerRegistry.deregisterCharacterJoiner(b)},x=h([c(4,e.IBufferService),c(5,l.ICharSizeService),c(6,e.IOptionsService),c(7,e.ICoreService),c(8,l.ICoreBrowserService)],x)}(i.Disposable);m.Renderer=A},function(y,m,C){"use strict";var p,g=this&&this.__extends||(p=function(l,e){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var f in u)u.hasOwnProperty(f)&&(s[f]=u[f])})(l,e)},function(i,l){function e(){this.constructor=i}p(i,l),i.prototype=l===null?Object.create(l):(e.prototype=l.prototype,new e)});Object.defineProperty(m,"__esModule",{value:!0}),m.TextRenderLayer=void 0;var h=C(42),c=C(13),o=C(6),n=C(3),t=C(29),a=C(4),d=function(i){function l(e,s,u,f,A,v,x,b){var w=i.call(this,e,"text",s,A,u,v,x,b)||this;return w._characterWidth=0,w._characterFont="",w._characterOverlapCache={},w._workCell=new a.CellData,w._state=new h.GridCache,w._characterJoinerRegistry=f,w}return g(l,i),l.prototype.resize=function(e){i.prototype.resize.call(this,e);var s=this._getFont(!1,!1);this._characterWidth===e.scaledCharWidth&&this._characterFont===s||(this._characterWidth=e.scaledCharWidth,this._characterFont=s,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},l.prototype.reset=function(){this._state.clear(),this._clearAll()},l.prototype._forEachCell=function(e,s,u,f){for(var A=e;A<=s;A++)for(var v=A+this._bufferService.buffer.ydisp,x=this._bufferService.buffer.lines.get(v),b=u?u.getJoinedCharacters(v):[],w=0;w<this._bufferService.cols;w++){x.loadCell(w,this._workCell);var _=this._workCell,T=!1,S=w;if(_.getWidth()!==0){if(b.length>0&&w===b[0][0]){T=!0;var E=b.shift();_=new t.JoinedCellData(this._workCell,x.translateToString(!0,E[0],E[1]),E[1]-E[0]),S=E[1]-1}!T&&this._isOverlapping(_)&&S<x.length-1&&x.getCodePoint(S+1)===n.NULL_CELL_CODE&&(_.content&=-12582913,_.content|=2<<22),f(_,w,A),w=S}}},l.prototype._drawBackground=function(e,s){var u=this,f=this._ctx,A=this._bufferService.cols,v=0,x=0,b=null;f.save(),this._forEachCell(e,s,null,function(w,_,T){var S=null;w.isInverse()?S=w.isFgDefault()?u._colors.foreground.css:w.isFgRGB()?"rgb("+o.AttributeData.toColorRGB(w.getFgColor()).join(",")+")":u._colors.ansi[w.getFgColor()].css:w.isBgRGB()?S="rgb("+o.AttributeData.toColorRGB(w.getBgColor()).join(",")+")":w.isBgPalette()&&(S=u._colors.ansi[w.getBgColor()].css),b===null&&(v=_,x=T),T!==x?(f.fillStyle=b||"",u._fillCells(v,x,A-v,1),v=_,x=T):b!==S&&(f.fillStyle=b||"",u._fillCells(v,x,_-v,1),v=_,x=T),b=S}),b!==null&&(f.fillStyle=b,this._fillCells(v,x,A-v,1)),f.restore()},l.prototype._drawForeground=function(e,s){var u=this;this._forEachCell(e,s,this._characterJoinerRegistry,function(f,A,v){if(!f.isInvisible()&&(u._drawChars(f,A,v),f.isUnderline())){if(u._ctx.save(),f.isInverse())if(f.isBgDefault())u._ctx.fillStyle=u._colors.background.css;else if(f.isBgRGB())u._ctx.fillStyle="rgb("+o.AttributeData.toColorRGB(f.getBgColor()).join(",")+")";else{var x=f.getBgColor();u._optionsService.options.drawBoldTextInBrightColors&&f.isBold()&&x<8&&(x+=8),u._ctx.fillStyle=u._colors.ansi[x].css}else if(f.isFgDefault())u._ctx.fillStyle=u._colors.foreground.css;else if(f.isFgRGB())u._ctx.fillStyle="rgb("+o.AttributeData.toColorRGB(f.getFgColor()).join(",")+")";else{var b=f.getFgColor();u._optionsService.options.drawBoldTextInBrightColors&&f.isBold()&&b<8&&(b+=8),u._ctx.fillStyle=u._colors.ansi[b].css}u._fillBottomLineAtCells(A,v,f.getWidth()),u._ctx.restore()}})},l.prototype.onGridChanged=function(e,s){this._state.cache.length!==0&&(this._charAtlas&&this._charAtlas.beginFrame(),this._clearCells(0,e,this._bufferService.cols,s-e+1),this._drawBackground(e,s),this._drawForeground(e,s))},l.prototype.onOptionsChanged=function(){this._setTransparency(this._optionsService.options.allowTransparency)},l.prototype._isOverlapping=function(e){if(e.getWidth()!==1)return!1;if(e.getCode()<256)return!1;var s=e.getChars();if(this._characterOverlapCache.hasOwnProperty(s))return this._characterOverlapCache[s];this._ctx.save(),this._ctx.font=this._characterFont;var u=Math.floor(this._ctx.measureText(s).width)>this._characterWidth;return this._ctx.restore(),this._characterOverlapCache[s]=u,u},l}(c.BaseRenderLayer);m.TextRenderLayer=d},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.GridCache=void 0;var p=function(){function g(){this.cache=[]}return g.prototype.resize=function(h,c){for(var o=0;o<h;o++){this.cache.length<=o&&this.cache.push([]);for(var n=this.cache[o].length;n<c;n++)this.cache[o].push(void 0);this.cache[o].length=c}this.cache.length=h},g.prototype.clear=function(){for(var h=0;h<this.cache.length;h++)for(var c=0;c<this.cache[h].length;c++)this.cache[h][c]=void 0},g}();m.GridCache=p},function(y,m,C){"use strict";var p,g=this&&this.__extends||(p=function(f,A){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,x){v.__proto__=x}||function(v,x){for(var b in x)x.hasOwnProperty(b)&&(v[b]=x[b])})(f,A)},function(u,f){function A(){this.constructor=u}p(u,f),u.prototype=f===null?Object.create(f):(A.prototype=f.prototype,new A)});Object.defineProperty(m,"__esModule",{value:!0}),m.NoneCharAtlas=m.DynamicCharAtlas=m.getGlyphCacheKey=void 0;var h=C(9),c=C(44),o=C(27),n=C(46),t=C(11),a=C(28),d=C(10),i={css:"rgba(0, 0, 0, 0)",rgba:0};function l(u){return u.code<<21|u.bg<<12|u.fg<<3|(u.bold?0:4)+(u.dim?0:2)+(u.italic?0:1)}m.getGlyphCacheKey=l;var e=function(u){function f(A,v){var x=u.call(this)||this;x._config=v,x._drawToCacheCount=0,x._glyphsWaitingOnBitmap=[],x._bitmapCommitTimeout=null,x._bitmap=null,x._cacheCanvas=A.createElement("canvas"),x._cacheCanvas.width=1024,x._cacheCanvas.height=1024,x._cacheCtx=a.throwIfFalsy(x._cacheCanvas.getContext("2d",{alpha:!0}));var b=A.createElement("canvas");b.width=x._config.scaledCharWidth,b.height=x._config.scaledCharHeight,x._tmpCtx=a.throwIfFalsy(b.getContext("2d",{alpha:x._config.allowTransparency})),x._width=Math.floor(1024/x._config.scaledCharWidth),x._height=Math.floor(1024/x._config.scaledCharHeight);var w=x._width*x._height;return x._cacheMap=new n.LRUMap(w),x._cacheMap.prealloc(w),x}return g(f,u),f.prototype.dispose=function(){this._bitmapCommitTimeout!==null&&(window.clearTimeout(this._bitmapCommitTimeout),this._bitmapCommitTimeout=null)},f.prototype.beginFrame=function(){this._drawToCacheCount=0},f.prototype.draw=function(A,v,x,b){if(v.code===32)return!0;if(!this._canCache(v))return!1;var w=l(v),_=this._cacheMap.get(w);if(_!=null)return this._drawFromCache(A,_,x,b),!0;if(this._drawToCacheCount<100){var T=void 0;T=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var S=this._drawToCache(v,T);return this._cacheMap.set(w,S),this._drawFromCache(A,S,x,b),!0}return!1},f.prototype._canCache=function(A){return A.code<256},f.prototype._toCoordinateX=function(A){return A%this._width*this._config.scaledCharWidth},f.prototype._toCoordinateY=function(A){return Math.floor(A/this._width)*this._config.scaledCharHeight},f.prototype._drawFromCache=function(A,v,x,b){if(!v.isEmpty){var w=this._toCoordinateX(v.index),_=this._toCoordinateY(v.index);A.drawImage(v.inBitmap?this._bitmap:this._cacheCanvas,w,_,this._config.scaledCharWidth,this._config.scaledCharHeight,x,b,this._config.scaledCharWidth,this._config.scaledCharHeight)}},f.prototype._getColorFromAnsiIndex=function(A){return A<this._config.colors.ansi.length?this._config.colors.ansi[A]:o.DEFAULT_ANSI_COLORS[A]},f.prototype._getBackgroundColor=function(A){return this._config.allowTransparency?i:A.bg===h.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:A.bg<256?this._getColorFromAnsiIndex(A.bg):this._config.colors.background},f.prototype._getForegroundColor=function(A){return A.fg===h.INVERTED_DEFAULT_COLOR?d.color.opaque(this._config.colors.background):A.fg<256?this._getColorFromAnsiIndex(A.fg):this._config.colors.foreground},f.prototype._drawToCache=function(A,v){this._drawToCacheCount++,this._tmpCtx.save();var x=this._getBackgroundColor(A);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=x.css,this._tmpCtx.fillRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),this._tmpCtx.globalCompositeOperation="source-over";var b=A.bold?this._config.fontWeightBold:this._config.fontWeight,w=A.italic?"italic":"";this._tmpCtx.font=w+" "+b+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline="middle",this._tmpCtx.fillStyle=this._getForegroundColor(A).css,A.dim&&(this._tmpCtx.globalAlpha=h.DIM_OPACITY),this._tmpCtx.fillText(A.chars,0,this._config.scaledCharHeight/2),this._tmpCtx.restore();var _=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),T=!1;this._config.allowTransparency||(T=function(O,F){for(var k=!0,M=F.rgba>>>24,P=F.rgba>>>16&255,V=F.rgba>>>8&255,D=0;D<O.data.length;D+=4)O.data[D]===M&&O.data[D+1]===P&&O.data[D+2]===V?O.data[D+3]=0:k=!1;return k}(_,x));var S=this._toCoordinateX(v),E=this._toCoordinateY(v);this._cacheCtx.putImageData(_,S,E);var I={index:v,isEmpty:T,inBitmap:!1};return this._addGlyphToBitmap(I),I},f.prototype._addGlyphToBitmap=function(A){var v=this;!("createImageBitmap"in window)||t.isFirefox||t.isSafari||(this._glyphsWaitingOnBitmap.push(A),this._bitmapCommitTimeout===null&&(this._bitmapCommitTimeout=window.setTimeout(function(){return v._generateBitmap()},100)))},f.prototype._generateBitmap=function(){var A=this,v=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then(function(x){A._bitmap=x;for(var b=0;b<v.length;b++)v[b].inBitmap=!0}),this._bitmapCommitTimeout=null},f}(c.BaseCharAtlas);m.DynamicCharAtlas=e;var s=function(u){function f(A,v){return u.call(this)||this}return g(f,u),f.prototype.draw=function(A,v,x,b){return!1},f}(c.BaseCharAtlas);m.NoneCharAtlas=s},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.BaseCharAtlas=void 0;var p=function(){function g(){this._didWarmUp=!1}return g.prototype.dispose=function(){},g.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},g.prototype._doWarmUp=function(){},g.prototype.beginFrame=function(){},g}();m.BaseCharAtlas=p},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.ColorContrastCache=void 0;var p=function(){function g(){this._color={},this._rgba={}}return g.prototype.clear=function(){this._color={},this._rgba={}},g.prototype.setCss=function(h,c,o){this._rgba[h]||(this._rgba[h]={}),this._rgba[h][c]=o},g.prototype.getCss=function(h,c){return this._rgba[h]?this._rgba[h][c]:void 0},g.prototype.setColor=function(h,c,o){this._color[h]||(this._color[h]={}),this._color[h][c]=o},g.prototype.getColor=function(h,c){return this._color[h]?this._color[h][c]:void 0},g}();m.ColorContrastCache=p},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.LRUMap=void 0;var p=function(){function g(h){this.capacity=h,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return g.prototype._unlinkNode=function(h){var c=h.prev,o=h.next;h===this._head&&(this._head=o),h===this._tail&&(this._tail=c),c!==null&&(c.next=o),o!==null&&(o.prev=c)},g.prototype._appendNode=function(h){var c=this._tail;c!==null&&(c.next=h),h.prev=c,h.next=null,this._tail=h,this._head===null&&(this._head=h)},g.prototype.prealloc=function(h){for(var c=this._nodePool,o=0;o<h;o++)c.push({prev:null,next:null,key:null,value:null})},g.prototype.get=function(h){var c=this._map[h];return c!==void 0?(this._unlinkNode(c),this._appendNode(c),c.value):null},g.prototype.peekValue=function(h){var c=this._map[h];return c!==void 0?c.value:null},g.prototype.peek=function(){var h=this._head;return h===null?null:h.value},g.prototype.set=function(h,c){var o=this._map[h];if(o!==void 0)o=this._map[h],this._unlinkNode(o),o.value=c;else if(this.size>=this.capacity)o=this._head,this._unlinkNode(o),delete this._map[o.key],o.key=h,o.value=c,this._map[h]=o;else{var n=this._nodePool;n.length>0?((o=n.pop()).key=h,o.value=c):o={prev:null,next:null,key:h,value:c},this._map[h]=o,this.size++}this._appendNode(o)},g}();m.LRUMap=p},function(y,m,C){"use strict";var p,g=this&&this.__extends||(p=function(o,n){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var d in a)a.hasOwnProperty(d)&&(t[d]=a[d])})(o,n)},function(c,o){function n(){this.constructor=c}p(c,o),c.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)});Object.defineProperty(m,"__esModule",{value:!0}),m.SelectionRenderLayer=void 0;var h=function(c){function o(n,t,a,d,i,l){var e=c.call(this,n,"selection",t,!0,a,d,i,l)||this;return e._clearState(),e}return g(o,c),o.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},o.prototype.resize=function(n){c.prototype.resize.call(this,n),this._clearState()},o.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},o.prototype.onSelectionChanged=function(n,t,a){if(this._didStateChange(n,t,a,this._bufferService.buffer.ydisp))if(this._clearAll(),n&&t){var d=n[1]-this._bufferService.buffer.ydisp,i=t[1]-this._bufferService.buffer.ydisp,l=Math.max(d,0),e=Math.min(i,this._bufferService.rows-1);if(!(l>=this._bufferService.rows||e<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,a){var s=n[0],u=t[0]-s,f=e-l+1;this._fillCells(s,l,u,f)}else{s=d===l?n[0]:0;var A=l===e?t[0]:this._bufferService.cols;this._fillCells(s,l,A-s,1);var v=Math.max(e-l-1,0);if(this._fillCells(0,l+1,this._bufferService.cols,v),l!==e){var x=i===e?t[0]:this._bufferService.cols;this._fillCells(0,e,x,1)}}this._state.start=[n[0],n[1]],this._state.end=[t[0],t[1]],this._state.columnSelectMode=a,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},o.prototype._didStateChange=function(n,t,a,d){return!this._areCoordinatesEqual(n,this._state.start)||!this._areCoordinatesEqual(t,this._state.end)||a!==this._state.columnSelectMode||d!==this._state.ydisp},o.prototype._areCoordinatesEqual=function(n,t){return!(!n||!t)&&n[0]===t[0]&&n[1]===t[1]},o}(C(13).BaseRenderLayer);m.SelectionRenderLayer=h},function(y,m,C){"use strict";var p,g=this&&this.__extends||(p=function(a,d){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,l){i.__proto__=l}||function(i,l){for(var e in l)l.hasOwnProperty(e)&&(i[e]=l[e])})(a,d)},function(t,a){function d(){this.constructor=t}p(t,a),t.prototype=a===null?Object.create(a):(d.prototype=a.prototype,new d)});Object.defineProperty(m,"__esModule",{value:!0}),m.CursorRenderLayer=void 0;var h=C(13),c=C(4),o=function(t){function a(d,i,l,e,s,u,f,A,v){var x=t.call(this,d,"cursor",i,!0,l,e,u,f)||this;return x._onRequestRedraw=s,x._coreService=A,x._coreBrowserService=v,x._cell=new c.CellData,x._state={x:0,y:0,isFocused:!1,style:"",width:0},x._cursorRenderers={bar:x._renderBarCursor.bind(x),block:x._renderBlockCursor.bind(x),underline:x._renderUnderlineCursor.bind(x)},x}return g(a,t),a.prototype.resize=function(d){t.prototype.resize.call(this,d),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},a.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},a.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},a.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},a.prototype.onOptionsChanged=function(){var d,i=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new n(this._coreBrowserService.isFocused,function(){i._render(!0)})):((d=this._cursorBlinkStateManager)===null||d===void 0||d.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},a.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},a.prototype.onGridChanged=function(d,i){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},a.prototype._render=function(d){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var i=this._bufferService.buffer.ybase+this._bufferService.buffer.y,l=i-this._bufferService.buffer.ydisp;if(l<0||l>=this._bufferService.rows)this._clearCursor();else{var e=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(i).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 s=this._optionsService.options.cursorStyle;return s&&s!=="block"?this._cursorRenderers[s](e,l,this._cell):this._renderBlurCursor(e,l,this._cell),this._ctx.restore(),this._state.x=e,this._state.y=l,this._state.isFocused=!1,this._state.style=s,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===e&&this._state.y===l&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](e,l,this._cell),this._ctx.restore(),this._state.x=e,this._state.y=l,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},a.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})},a.prototype._renderBarCursor=function(d,i,l){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(d,i,this._optionsService.options.cursorWidth),this._ctx.restore()},a.prototype._renderBlockCursor=function(d,i,l){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(d,i,l.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(l,d,i),this._ctx.restore()},a.prototype._renderUnderlineCursor=function(d,i,l){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(d,i),this._ctx.restore()},a.prototype._renderBlurCursor=function(d,i,l){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(d,i,l.getWidth(),1),this._ctx.restore()},a}(h.BaseRenderLayer);m.CursorRenderLayer=o;var n=function(){function t(a,d){this._renderCallback=d,this.isCursorVisible=!0,a&&this._restartInterval()}return Object.defineProperty(t.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),t.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)},t.prototype.restartBlinkAnimation=function(){var a=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){a._renderCallback(),a._animationFrame=void 0})))},t.prototype._restartInterval=function(a){var d=this;a===void 0&&(a=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout(function(){if(d._animationTimeRestarted){var i=600-(Date.now()-d._animationTimeRestarted);if(d._animationTimeRestarted=void 0,i>0)return void d._restartInterval(i)}d.isCursorVisible=!1,d._animationFrame=window.requestAnimationFrame(function(){d._renderCallback(),d._animationFrame=void 0}),d._blinkInterval=window.setInterval(function(){if(d._animationTimeRestarted){var l=600-(Date.now()-d._animationTimeRestarted);return d._animationTimeRestarted=void 0,void d._restartInterval(l)}d.isCursorVisible=!d.isCursorVisible,d._animationFrame=window.requestAnimationFrame(function(){d._renderCallback(),d._animationFrame=void 0})},600)},a)},t.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)},t.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},t}()},function(y,m,C){"use strict";var p,g=this&&this.__extends||(p=function(a,d){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,l){i.__proto__=l}||function(i,l){for(var e in l)l.hasOwnProperty(e)&&(i[e]=l[e])})(a,d)},function(t,a){function d(){this.constructor=t}p(t,a),t.prototype=a===null?Object.create(a):(d.prototype=a.prototype,new d)});Object.defineProperty(m,"__esModule",{value:!0}),m.LinkRenderLayer=void 0;var h=C(13),c=C(9),o=C(26),n=function(t){function a(d,i,l,e,s,u,f,A){var v=t.call(this,d,"link",i,!0,l,e,f,A)||this;return s.onShowLinkUnderline(function(x){return v._onShowLinkUnderline(x)}),s.onHideLinkUnderline(function(x){return v._onHideLinkUnderline(x)}),u.onShowLinkUnderline(function(x){return v._onShowLinkUnderline(x)}),u.onHideLinkUnderline(function(x){return v._onHideLinkUnderline(x)}),v}return g(a,t),a.prototype.resize=function(d){t.prototype.resize.call(this,d),this._state=void 0},a.prototype.reset=function(){this._clearCurrentLink()},a.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var d=this._state.y2-this._state.y1-1;d>0&&this._clearCells(0,this._state.y1+1,this._state.cols,d),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},a.prototype._onShowLinkUnderline=function(d){if(d.fg===c.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:d.fg&&o.is256Color(d.fg)?this._ctx.fillStyle=this._colors.ansi[d.fg].css:this._ctx.fillStyle=this._colors.foreground.css,d.y1===d.y2)this._fillBottomLineAtCells(d.x1,d.y1,d.x2-d.x1);else{this._fillBottomLineAtCells(d.x1,d.y1,d.cols-d.x1);for(var i=d.y1+1;i<d.y2;i++)this._fillBottomLineAtCells(0,i,d.cols);this._fillBottomLineAtCells(0,d.y2,d.x2)}this._state=d},a.prototype._onHideLinkUnderline=function(d){this._clearCurrentLink()},a}(h.BaseRenderLayer);m.LinkRenderLayer=n},function(y,m,C){"use strict";var p=this&&this.__decorate||function(t,a,d,i){var l,e=arguments.length,s=e<3?a:i===null?i=Object.getOwnPropertyDescriptor(a,d):i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,a,d,i);else for(var u=t.length-1;u>=0;u--)(l=t[u])&&(s=(e<3?l(s):e>3?l(a,d,s):l(a,d))||s);return e>3&&s&&Object.defineProperty(a,d,s),s},g=this&&this.__param||function(t,a){return function(d,i){a(d,i,t)}};Object.defineProperty(m,"__esModule",{value:!0}),m.MouseZone=m.Linkifier=void 0;var h=C(0),c=C(1),o=function(){function t(a,d,i){this._bufferService=a,this._logService=d,this._unicodeService=i,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new h.EventEmitter,this._onHideLinkUnderline=new h.EventEmitter,this._onLinkTooltip=new h.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(t.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),t.prototype.attachToDom=function(a,d){this._element=a,this._mouseZoneManager=d},t.prototype.linkifyRows=function(a,d){var i=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=a,this._rowsToLinkify.end=d):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,a),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,d)),this._mouseZoneManager.clearAll(a,d),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return i._linkifyRows()},t._timeBeforeLatency))},t.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var a=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var d=a.ydisp+this._rowsToLinkify.start;if(!(d>=a.lines.length)){for(var i=a.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,l=Math.ceil(2e3/this._bufferService.cols),e=this._bufferService.buffer.iterator(!1,d,i,l,l);e.hasNext();)for(var s=e.next(),u=0;u<this._linkMatchers.length;u++)this._doLinkifyRow(s.range.first,s.content,this._linkMatchers[u]);this._rowsToLinkify.start=void 0,this._rowsToLinkify.end=void 0}}else this._logService.debug("_rowToLinkify was unset before _linkifyRows was called")},t.prototype.registerLinkMatcher=function(a,d,i){if(i===void 0&&(i={}),!d)throw new Error("handler must be defined");var l={id:this._nextLinkMatcherId++,regex:a,handler:d,matchIndex:i.matchIndex,validationCallback:i.validationCallback,hoverTooltipCallback:i.tooltipCallback,hoverLeaveCallback:i.leaveCallback,willLinkActivate:i.willLinkActivate,priority:i.priority||0};return this._addLinkMatcherToList(l),l.id},t.prototype._addLinkMatcherToList=function(a){if(this._linkMatchers.length!==0){for(var d=this._linkMatchers.length-1;d>=0;d--)if(a.priority<=this._linkMatchers[d].priority)return void this._linkMatchers.splice(d+1,0,a);this._linkMatchers.splice(0,0,a)}else this._linkMatchers.push(a)},t.prototype.deregisterLinkMatcher=function(a){for(var d=0;d<this._linkMatchers.length;d++)if(this._linkMatchers[d].id===a)return this._linkMatchers.splice(d,1),!0;return!1},t.prototype._doLinkifyRow=function(a,d,i){for(var l,e=this,s=new RegExp(i.regex.source,(i.regex.flags||"")+"g"),u=-1,f=function(){var x=l[typeof i.matchIndex!="number"?0:i.matchIndex];if(!x)return A._logService.debug("match found without corresponding matchIndex",l,i),"break";if(u=d.indexOf(x,u+1),s.lastIndex=u+x.length,u<0)return"break";var b=A._bufferService.buffer.stringIndexToBufferIndex(a,u);if(b[0]<0)return"break";var w=A._bufferService.buffer.lines.get(b[0]);if(!w)return"break";var _=w.getFg(b[1]),T=_?_>>9&511:void 0;i.validationCallback?i.validationCallback(x,function(S){e._rowsTimeoutId||S&&e._addLink(b[1],b[0]-e._bufferService.buffer.ydisp,x,i,T)}):A._addLink(b[1],b[0]-A._bufferService.buffer.ydisp,x,i,T)},A=this;(l=s.exec(d))!==null&&!(f()==="break"););},t.prototype._addLink=function(a,d,i,l,e){var s=this;if(this._mouseZoneManager&&this._element){var u=this._unicodeService.getStringCellWidth(i),f=a%this._bufferService.cols,A=d+Math.floor(a/this._bufferService.cols),v=(f+u)%this._bufferService.cols,x=A+Math.floor((f+u)/this._bufferService.cols);v===0&&(v=this._bufferService.cols,x--),this._mouseZoneManager.add(new n(f+1,A+1,v+1,x+1,function(b){if(l.handler)return l.handler(b,i);var w=window.open();w?(w.opener=null,w.location.href=i):console.warn("Opening link blocked as opener could not be cleared")},function(){s._onShowLinkUnderline.fire(s._createLinkHoverEvent(f,A,v,x,e)),s._element.classList.add("xterm-cursor-pointer")},function(b){s._onLinkTooltip.fire(s._createLinkHoverEvent(f,A,v,x,e)),l.hoverTooltipCallback&&l.hoverTooltipCallback(b,i,{start:{x:f,y:A},end:{x:v,y:x}})},function(){s._onHideLinkUnderline.fire(s._createLinkHoverEvent(f,A,v,x,e)),s._element.classList.remove("xterm-cursor-pointer"),l.hoverLeaveCallback&&l.hoverLeaveCallback()},function(b){return!l.willLinkActivate||l.willLinkActivate(b,i)}))}},t.prototype._createLinkHoverEvent=function(a,d,i,l,e){return{x1:a,y1:d,x2:i,y2:l,cols:this._bufferService.cols,fg:e}},t._timeBeforeLatency=200,t=p([g(0,c.IBufferService),g(1,c.ILogService),g(2,c.IUnicodeService)],t)}();m.Linkifier=o;var n=function(a,d,i,l,e,s,u,f,A){this.x1=a,this.y1=d,this.x2=i,this.y2=l,this.clickCallback=e,this.hoverCallback=s,this.tooltipCallback=u,this.leaveCallback=f,this.willLinkActivate=A};m.MouseZone=n},function(y,m,C){"use strict";var p,g=this&&this.__extends||(p=function(x,b){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,_){w.__proto__=_}||function(w,_){for(var T in _)_.hasOwnProperty(T)&&(w[T]=_[T])})(x,b)},function(v,x){function b(){this.constructor=v}p(v,x),v.prototype=x===null?Object.create(x):(b.prototype=x.prototype,new b)}),h=this&&this.__decorate||function(v,x,b,w){var _,T=arguments.length,S=T<3?x:w===null?w=Object.getOwnPropertyDescriptor(x,b):w;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")S=Reflect.decorate(v,x,b,w);else for(var E=v.length-1;E>=0;E--)(_=v[E])&&(S=(T<3?_(S):T>3?_(x,b,S):_(x,b))||S);return T>3&&S&&Object.defineProperty(x,b,S),S},c=this&&this.__param||function(v,x){return function(b,w){x(b,w,v)}};Object.defineProperty(m,"__esModule",{value:!0}),m.SelectionService=void 0;var o=C(11),n=C(52),t=C(4),a=C(0),d=C(5),i=C(1),l=C(30),e=C(53),s=C(2),u=String.fromCharCode(160),f=new RegExp(u,"g"),A=function(v){function x(b,w,_,T,S,E,I){var O=v.call(this)||this;return O._element=b,O._screenElement=w,O._bufferService=_,O._coreService=T,O._mouseService=S,O._optionsService=E,O._renderService=I,O._dragScrollAmount=0,O._enabled=!0,O._workCell=new t.CellData,O._mouseDownTimeStamp=0,O._onLinuxMouseSelection=O.register(new a.EventEmitter),O._onRedrawRequest=O.register(new a.EventEmitter),O._onSelectionChange=O.register(new a.EventEmitter),O._onRequestScrollLines=O.register(new a.EventEmitter),O._mouseMoveListener=function(F){return O._onMouseMove(F)},O._mouseUpListener=function(F){return O._onMouseUp(F)},O._coreService.onUserInput(function(){O.hasSelection&&O.clearSelection()}),O._trimListener=O._bufferService.buffer.lines.onTrim(function(F){return O._onTrim(F)}),O.register(O._bufferService.buffers.onBufferActivate(function(F){return O._onBufferActivate(F)})),O.enable(),O._model=new n.SelectionModel(O._bufferService),O._activeSelectionMode=0,O}return g(x,v),Object.defineProperty(x.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),x.prototype.dispose=function(){this._removeMouseDownListeners()},x.prototype.reset=function(){this.clearSelection()},x.prototype.disable=function(){this.clearSelection(),this._enabled=!1},x.prototype.enable=function(){this._enabled=!0},Object.defineProperty(x.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"hasSelection",{get:function(){var w=this._model.finalSelectionStart,_=this._model.finalSelectionEnd;return!(!w||!_)&&(w[0]!==_[0]||w[1]!==_[1])},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"selectionText",{get:function(){var w=this._model.finalSelectionStart,_=this._model.finalSelectionEnd;if(!w||!_)return"";var T=this._bufferService.buffer,S=[];if(this._activeSelectionMode===3){if(w[0]===_[0])return"";for(var E=w[1];E<=_[1];E++){var I=T.translateBufferLineToString(E,!0,w[0],_[0]);S.push(I)}}else{var O=w[1]===_[1]?_[0]:void 0;for(S.push(T.translateBufferLineToString(w[1],!0,w[0],O)),E=w[1]+1;E<=_[1]-1;E++){var F=T.lines.get(E);I=T.translateBufferLineToString(E,!0),F&&F.isWrapped?S[S.length-1]+=I:S.push(I)}w[1]!==_[1]&&(F=T.lines.get(_[1]),I=T.translateBufferLineToString(_[1],!0,0,_[0]),F&&F.isWrapped?S[S.length-1]+=I:S.push(I))}return S.map(function(k){return k.replace(f," ")}).join(o.isWindows?`\r
|
|
|
`:`
|
|
|
`)},enumerable:!1,configurable:!0}),x.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},x.prototype.refresh=function(b){var w=this;(this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return w._refresh()})),o.isLinux&&b)&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},x.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:this._activeSelectionMode===3})},x.prototype.isClickInSelection=function(b){var w=this._getMouseBufferCoords(b),_=this._model.finalSelectionStart,T=this._model.finalSelectionEnd;return!!(_&&T&&w)&&this._areCoordsInSelection(w,_,T)},x.prototype._areCoordsInSelection=function(b,w,_){return b[1]>w[1]&&b[1]<_[1]||w[1]===_[1]&&b[1]===w[1]&&b[0]>=w[0]&&b[0]<_[0]||w[1]<_[1]&&b[1]===_[1]&&b[0]<_[0]||w[1]<_[1]&&b[1]===w[1]&&b[0]>=w[0]},x.prototype.selectWordAtCursor=function(b){var w=this._getMouseBufferCoords(b);w&&(this._selectWordAt(w,!1),this._model.selectionEnd=void 0,this.refresh(!0))},x.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},x.prototype.selectLines=function(b,w){this._model.clearSelection(),b=Math.max(b,0),w=Math.min(w,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,b],this._model.selectionEnd=[this._bufferService.cols,w],this.refresh(),this._onSelectionChange.fire()},x.prototype._onTrim=function(b){this._model.onTrim(b)&&this.refresh()},x.prototype._getMouseBufferCoords=function(b){var w=this._mouseService.getCoords(b,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(w)return w[0]--,w[1]--,w[1]+=this._bufferService.buffer.ydisp,w},x.prototype._getMouseEventScrollAmount=function(b){var w=l.getCoordsRelativeToElement(b,this._screenElement)[1],_=this._renderService.dimensions.canvasHeight;return w>=0&&w<=_?0:(w>_&&(w-=_),w=Math.min(Math.max(w,-50),50),(w/=50)/Math.abs(w)+Math.round(14*w))},x.prototype.shouldForceSelection=function(b){return o.isMac?b.altKey&&this._optionsService.options.macOptionClickForcesSelection:b.shiftKey},x.prototype.onMouseDown=function(b){if(this._mouseDownTimeStamp=b.timeStamp,(b.button!==2||!this.hasSelection)&&b.button===0){if(!this._enabled){if(!this.shouldForceSelection(b))return;b.stopPropagation()}b.preventDefault(),this._dragScrollAmount=0,this._enabled&&b.shiftKey?this._onIncrementalClick(b):b.detail===1?this._onSingleClick(b):b.detail===2?this._onDoubleClick(b):b.detail===3&&this._onTripleClick(b),this._addMouseDownListeners(),this.refresh(!0)}},x.prototype._addMouseDownListeners=function(){var b=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return b._dragScroll()},50)},x.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},x.prototype._onIncrementalClick=function(b){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(b))},x.prototype._onSingleClick=function(b){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(b)?3:0,this._model.selectionStart=this._getMouseBufferCoords(b),this._model.selectionStart){this._model.selectionEnd=void 0;var w=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);w&&w.length!==this._model.selectionStart[0]&&w.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},x.prototype._onDoubleClick=function(b){var w=this._getMouseBufferCoords(b);w&&(this._activeSelectionMode=1,this._selectWordAt(w,!0))},x.prototype._onTripleClick=function(b){var w=this._getMouseBufferCoords(b);w&&(this._activeSelectionMode=2,this._selectLineAt(w[1]))},x.prototype.shouldColumnSelect=function(b){return b.altKey&&!(o.isMac&&this._optionsService.options.macOptionClickForcesSelection)},x.prototype._onMouseMove=function(b){if(b.stopImmediatePropagation(),this._model.selectionStart){var w=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(b),this._model.selectionEnd){this._activeSelectionMode===2?this._model.selectionEnd[1]<this._model.selectionStart[1]?this._model.selectionEnd[0]=0:this._model.selectionEnd[0]=this._bufferService.cols:this._activeSelectionMode===1&&this._selectToWordAt(this._model.selectionEnd),this._dragScrollAmount=this._getMouseEventScrollAmount(b),this._activeSelectionMode!==3&&(this._dragScrollAmount>0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var _=this._bufferService.buffer;if(this._model.selectionEnd[1]<_.lines.length){var T=_.lines.get(this._model.selectionEnd[1]);T&&T.hasWidth(this._model.selectionEnd[0])===0&&this._model.selectionEnd[0]++}w&&w[0]===this._model.selectionEnd[0]&&w[1]===this._model.selectionEnd[1]||this.refresh(!0)}else this.refresh(!0)}},x.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});var b=this._bufferService.buffer;this._dragScrollAmount>0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(b.ydisp+this._bufferService.rows,b.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=b.ydisp),this.refresh()}},x.prototype._onMouseUp=function(b){var w=b.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&w<500&&b.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var _=this._mouseService.getCoords(b,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(_&&_[0]!==void 0&&_[1]!==void 0){var T=e.moveToCellSequence(_[0]-1,_[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(T,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},x.prototype._onBufferActivate=function(b){var w=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=b.activeBuffer.lines.onTrim(function(_){return w._onTrim(_)})},x.prototype._convertViewportColToCharacterIndex=function(b,w){for(var _=w[0],T=0;w[0]>=T;T++){var S=b.loadCell(T,this._workCell).getChars().length;this._workCell.getWidth()===0?_--:S>1&&w[0]!==T&&(_+=S-1)}return _},x.prototype.setSelection=function(b,w,_){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[b,w],this._model.selectionStartLength=_,this.refresh()},x.prototype._getWordAt=function(b,w,_,T){if(_===void 0&&(_=!0),T===void 0&&(T=!0),!(b[0]>=this._bufferService.cols)){var S=this._bufferService.buffer,E=S.lines.get(b[1]);if(E){var I=S.translateBufferLineToString(b[1],!1),O=this._convertViewportColToCharacterIndex(E,b),F=O,k=b[0]-O,M=0,P=0,V=0,D=0;if(I.charAt(O)===" "){for(;O>0&&I.charAt(O-1)===" ";)O--;for(;F<I.length&&I.charAt(F+1)===" ";)F++}else{var H=b[0],U=b[0];E.getWidth(H)===0&&(M++,H--),E.getWidth(U)===2&&(P++,U++);var z=E.getString(U).length;for(z>1&&(D+=z-1,F+=z-1);H>0&&O>0&&!this._isCharWordSeparator(E.loadCell(H-1,this._workCell));){E.loadCell(H-1,this._workCell);var K=this._workCell.getChars().length;this._workCell.getWidth()===0?(M++,H--):K>1&&(V+=K-1,O-=K-1),O--,H--}for(;U<E.length&&F+1<I.length&&!this._isCharWordSeparator(E.loadCell(U+1,this._workCell));){E.loadCell(U+1,this._workCell);var G=this._workCell.getChars().length;this._workCell.getWidth()===2?(P++,U++):G>1&&(D+=G-1,F+=G-1),F++,U++}}F++;var X=O+k-M+V,Z=Math.min(this._bufferService.cols,F-O+M+P-V-D);if(w||I.slice(O,F).trim()!==""){if(_&&X===0&&E.getCodePoint(0)!==32){var ee=S.lines.get(b[1]-1);if(ee&&E.isWrapped&&ee.getCodePoint(this._bufferService.cols-1)!==32){var Se=this._getWordAt([this._bufferService.cols-1,b[1]-1],!1,!0,!1);if(Se){var $=this._bufferService.cols-Se.start;X-=$,Z+=$}}}if(T&&X+Z===this._bufferService.cols&&E.getCodePoint(this._bufferService.cols-1)!==32){var pe=S.lines.get(b[1]+1);if(pe&&pe.isWrapped&&pe.getCodePoint(0)!==32){var xe=this._getWordAt([0,b[1]+1],!1,!1,!0);xe&&(Z+=xe.length)}}return{start:X,length:Z}}}}},x.prototype._selectWordAt=function(b,w){var _=this._getWordAt(b,w);if(_){for(;_.start<0;)_.start+=this._bufferService.cols,b[1]--;this._model.selectionStart=[_.start,b[1]],this._model.selectionStartLength=_.length}},x.prototype._selectToWordAt=function(b){var w=this._getWordAt(b,!0);if(w){for(var _=b[1];w.start<0;)w.start+=this._bufferService.cols,_--;if(!this._model.areSelectionValuesReversed())for(;w.start+w.length>this._bufferService.cols;)w.length-=this._bufferService.cols,_++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?w.start:w.start+w.length,_]}},x.prototype._isCharWordSeparator=function(b){return b.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(b.getChars())>=0},x.prototype._selectLineAt=function(b){var w=this._bufferService.buffer.getWrappedRangeForLine(b);this._model.selectionStart=[0,w.first],this._model.selectionEnd=[this._bufferService.cols,w.last],this._model.selectionStartLength=0},x=h([c(2,i.IBufferService),c(3,i.ICoreService),c(4,d.IMouseService),c(5,i.IOptionsService),c(6,d.IRenderService)],x)}(s.Disposable);m.SelectionService=A},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.SelectionModel=void 0;var p=function(){function g(h){this._bufferService=h,this.isSelectAllActive=!1,this.selectionStartLength=0}return g.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(g.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var c=this.selectionStart[0]+this.selectionStartLength;return c>this._bufferService.cols?[c%this._bufferService.cols,this.selectionStart[1]+Math.floor(c/this._bufferService.cols)]:[c,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!1,configurable:!0}),g.prototype.areSelectionValuesReversed=function(){var h=this.selectionStart,c=this.selectionEnd;return!(!h||!c)&&(h[1]>c[1]||h[1]===c[1]&&h[0]>c[0])},g.prototype.onTrim=function(h){return this.selectionStart&&(this.selectionStart[1]-=h),this.selectionEnd&&(this.selectionEnd[1]-=h),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},g}();m.SelectionModel=p},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.moveToCellSequence=void 0;var p=C(12);function g(a,d,i,l){var e=a-h(i,a),s=d-h(i,d);return t(Math.abs(e-s)-function(u,f,A){for(var v=0,x=u-h(A,u),b=f-h(A,f),w=0;w<Math.abs(x-b);w++){var _=c(u,f)==="A"?-1:1,T=A.buffer.lines.get(x+_*w);T&&T.isWrapped&&v++}return v}(a,d,i),n(c(a,d),l))}function h(a,d){for(var i=0,l=a.buffer.lines.get(d),e=l&&l.isWrapped;e&&d>=0&&d<a.rows;)i++,e=(l=a.buffer.lines.get(--d))&&l.isWrapped;return i}function c(a,d){return a>d?"A":"B"}function o(a,d,i,l,e,s){for(var u=a,f=d,A="";u!==i||f!==l;)u+=e?1:-1,e&&u>s.cols-1?(A+=s.buffer.translateBufferLineToString(f,!1,a,u),u=0,a=0,f++):!e&&u<0&&(A+=s.buffer.translateBufferLineToString(f,!1,0,a+1),a=u=s.cols-1,f--);return A+s.buffer.translateBufferLineToString(f,!1,a,u)}function n(a,d){var i=d?"O":"[";return p.C0.ESC+i+a}function t(a,d){a=Math.floor(a);for(var i="",l=0;l<a;l++)i+=d;return i}m.moveToCellSequence=function(a,d,i,l){var e,s=i.buffer.x,u=i.buffer.y;if(!i.buffer.hasScrollback)return function(A,v,x,b,w,_){return g(v,b,w,_).length===0?"":t(o(A,v,A,v-h(w,v),!1,w).length,n("D",_))}(s,u,0,d,i,l)+g(u,d,i,l)+function(A,v,x,b,w,_){var T;T=g(v,b,w,_).length>0?b-h(w,b):v;var S=b,E=function(I,O,F,k,M,P){var V;return V=g(F,k,M,P).length>0?k-h(M,k):O,I<F&&V<=k||I>=F&&V<k?"C":"D"}(A,v,x,b,w,_);return t(o(A,T,x,S,E==="C",w).length,n(E,_))}(s,u,a,d,i,l);if(u===d)return e=s>a?"D":"C",t(Math.abs(s-a),n(e,l));e=u>d?"D":"C";var f=Math.abs(u-d);return t(function(A,v){return v.cols-A}(u>d?a:s,i)+(f-1)*i.cols+1+((u>d?s:a)-1),n(e,l))}},function(y,m,C){"use strict";var p=this&&this.__decorate||function(o,n,t,a){var d,i=arguments.length,l=i<3?n:a===null?a=Object.getOwnPropertyDescriptor(n,t):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(o,n,t,a);else for(var e=o.length-1;e>=0;e--)(d=o[e])&&(l=(i<3?d(l):i>3?d(n,t,l):d(n,t))||l);return i>3&&l&&Object.defineProperty(n,t,l),l},g=this&&this.__param||function(o,n){return function(t,a){n(t,a,o)}};Object.defineProperty(m,"__esModule",{value:!0}),m.SoundService=void 0;var h=C(1),c=function(){function o(n){this._optionsService=n}return Object.defineProperty(o,"audioContext",{get:function(){if(!o._audioContext){var t=window.AudioContext||window.webkitAudioContext;if(!t)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;o._audioContext=new t}return o._audioContext},enumerable:!1,configurable:!0}),o.prototype.playBellSound=function(){var n=o.audioContext;if(n){var t=n.createBufferSource();n.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(a){t.buffer=a,t.connect(n.destination),t.start(0)})}},o.prototype._base64ToArrayBuffer=function(n){for(var t=window.atob(n),a=t.length,d=new Uint8Array(a),i=0;i<a;i++)d[i]=t.charCodeAt(i);return d.buffer},o.prototype._removeMimeType=function(n){return n.split(",")[1]},o=p([g(0,h.IOptionsService)],o)}();m.SoundService=c},function(y,m,C){"use strict";var p,g=this&&this.__extends||(p=function(l,e){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var f in u)u.hasOwnProperty(f)&&(s[f]=u[f])})(l,e)},function(i,l){function e(){this.constructor=i}p(i,l),i.prototype=l===null?Object.create(l):(e.prototype=l.prototype,new e)}),h=this&&this.__decorate||function(i,l,e,s){var u,f=arguments.length,A=f<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,e):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")A=Reflect.decorate(i,l,e,s);else for(var v=i.length-1;v>=0;v--)(u=i[v])&&(A=(f<3?u(A):f>3?u(l,e,A):u(l,e))||A);return f>3&&A&&Object.defineProperty(l,e,A),A},c=this&&this.__param||function(i,l){return function(e,s){l(e,s,i)}};Object.defineProperty(m,"__esModule",{value:!0}),m.MouseZoneManager=void 0;var o=C(2),n=C(7),t=C(5),a=C(1),d=function(i){function l(e,s,u,f,A,v){var x=i.call(this)||this;return x._element=e,x._screenElement=s,x._bufferService=u,x._mouseService=f,x._selectionService=A,x._optionsService=v,x._zones=[],x._areZonesActive=!1,x._lastHoverCoords=[void 0,void 0],x._initialSelectionLength=0,x.register(n.addDisposableDomListener(x._element,"mousedown",function(b){return x._onMouseDown(b)})),x._mouseMoveListener=function(b){return x._onMouseMove(b)},x._mouseLeaveListener=function(b){return x._onMouseLeave(b)},x._clickListener=function(b){return x._onClick(b)},x}return g(l,i),l.prototype.dispose=function(){i.prototype.dispose.call(this),this._deactivate()},l.prototype.add=function(e){this._zones.push(e),this._zones.length===1&&this._activate()},l.prototype.clearAll=function(e,s){if(this._zones.length!==0){e&&s||(e=0,s=this._bufferService.rows-1);for(var u=0;u<this._zones.length;u++){var f=this._zones[u];(f.y1>e&&f.y1<=s+1||f.y2>e&&f.y2<=s+1||f.y1<e&&f.y2>s+1)&&(this._currentZone&&this._currentZone===f&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(u--,1))}this._zones.length===0&&this._deactivate()}},l.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},l.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},l.prototype._onMouseMove=function(e){this._lastHoverCoords[0]===e.pageX&&this._lastHoverCoords[1]===e.pageY||(this._onHover(e),this._lastHoverCoords=[e.pageX,e.pageY])},l.prototype._onHover=function(e){var s=this,u=this._findZoneEventAt(e);u!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),u&&(this._currentZone=u,u.hoverCallback&&u.hoverCallback(e),this._tooltipTimeout=window.setTimeout(function(){return s._onTooltip(e)},this._optionsService.options.linkTooltipHoverDuration)))},l.prototype._onTooltip=function(e){this._tooltipTimeout=void 0;var s=this._findZoneEventAt(e);s&&s.tooltipCallback&&s.tooltipCallback(e)},l.prototype._onMouseDown=function(e){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var s=this._findZoneEventAt(e);(s==null?void 0:s.willLinkActivate(e))&&(e.preventDefault(),e.stopImmediatePropagation())}},l.prototype._onMouseLeave=function(e){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},l.prototype._onClick=function(e){var s=this._findZoneEventAt(e),u=this._getSelectionLength();s&&u===this._initialSelectionLength&&(s.clickCallback(e),e.preventDefault(),e.stopImmediatePropagation())},l.prototype._getSelectionLength=function(){var e=this._selectionService.selectionText;return e?e.length:0},l.prototype._findZoneEventAt=function(e){var s=this._mouseService.getCoords(e,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(s)for(var u=s[0],f=s[1],A=0;A<this._zones.length;A++){var v=this._zones[A];if(v.y1===v.y2){if(f===v.y1&&u>=v.x1&&u<v.x2)return v}else if(f===v.y1&&u>=v.x1||f===v.y2&&u<v.x2||f>v.y1&&f<v.y2)return v}},l=h([c(2,a.IBufferService),c(3,t.IMouseService),c(4,t.ISelectionService),c(5,a.IOptionsService)],l)}(o.Disposable);m.MouseZoneManager=d},function(y,m,C){"use strict";var p,g=this&&this.__extends||(p=function(e,s){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,f){u.__proto__=f}||function(u,f){for(var A in f)f.hasOwnProperty(A)&&(u[A]=f[A])})(e,s)},function(l,e){function s(){this.constructor=l}p(l,e),l.prototype=e===null?Object.create(e):(s.prototype=e.prototype,new s)});Object.defineProperty(m,"__esModule",{value:!0}),m.AccessibilityManager=void 0;var h=C(18),c=C(11),o=C(31),n=C(7),t=C(2),a=C(32),d=C(17),i=function(l){function e(s,u){var f=l.call(this)||this;f._terminal=s,f._renderService=u,f._liveRegionLineCount=0,f._charsToConsume=[],f._charsToAnnounce="",f._accessibilityTreeRoot=document.createElement("div"),f._accessibilityTreeRoot.classList.add("xterm-accessibility"),f._rowContainer=document.createElement("div"),f._rowContainer.classList.add("xterm-accessibility-tree"),f._rowContainer.setAttribute("role","list"),f._rowElements=[];for(var A=0;A<f._terminal.rows;A++)f._rowElements[A]=f._createAccessibilityTreeNode(),f._rowContainer.appendChild(f._rowElements[A]);if(f._topBoundaryFocusListener=function(v){return f._onBoundaryFocus(v,0)},f._bottomBoundaryFocusListener=function(v){return f._onBoundaryFocus(v,1)},f._rowElements[0].addEventListener("focus",f._topBoundaryFocusListener),f._rowElements[f._rowElements.length-1].addEventListener("focus",f._bottomBoundaryFocusListener),f._refreshRowsDimensions(),f._accessibilityTreeRoot.appendChild(f._rowContainer),f._renderRowsDebouncer=new o.RenderDebouncer(f._renderRows.bind(f)),f._refreshRows(),f._liveRegion=document.createElement("div"),f._liveRegion.classList.add("live-region"),f._liveRegion.setAttribute("aria-live","assertive"),f._accessibilityTreeRoot.appendChild(f._liveRegion),!f._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");return f._terminal.element.insertAdjacentElement("afterbegin",f._accessibilityTreeRoot),f.register(f._renderRowsDebouncer),f.register(f._terminal.onResize(function(v){return f._onResize(v.rows)})),f.register(f._terminal.onRender(function(v){return f._refreshRows(v.start,v.end)})),f.register(f._terminal.onScroll(function(){return f._refreshRows()})),f.register(f._terminal.onA11yChar(function(v){return f._onChar(v)})),f.register(f._terminal.onLineFeed(function(){return f._onChar(`
|
|
|
`)})),f.register(f._terminal.onA11yTab(function(v){return f._onTab(v)})),f.register(f._terminal.onKey(function(v){return f._onKey(v.key)})),f.register(f._terminal.onBlur(function(){return f._clearLiveRegion()})),f.register(f._renderService.onDimensionsChange(function(){return f._refreshRowsDimensions()})),f._screenDprMonitor=new a.ScreenDprMonitor,f.register(f._screenDprMonitor),f._screenDprMonitor.setListener(function(){return f._refreshRowsDimensions()}),f.register(n.addDisposableDomListener(window,"resize",function(){return f._refreshRowsDimensions()})),f}return g(e,l),e.prototype.dispose=function(){l.prototype.dispose.call(this),d.removeElementFromParent(this._accessibilityTreeRoot),this._rowElements.length=0},e.prototype._onBoundaryFocus=function(s,u){var f=s.target,A=this._rowElements[u===0?1:this._rowElements.length-2];if(f.getAttribute("aria-posinset")!==(u===0?"1":""+this._terminal.buffer.lines.length)&&s.relatedTarget===A){var v,x;if(u===0?(v=f,x=this._rowElements.pop(),this._rowContainer.removeChild(x)):(v=this._rowElements.shift(),x=f,this._rowContainer.removeChild(v)),v.removeEventListener("focus",this._topBoundaryFocusListener),x.removeEventListener("focus",this._bottomBoundaryFocusListener),u===0){var b=this._createAccessibilityTreeNode();this._rowElements.unshift(b),this._rowContainer.insertAdjacentElement("afterbegin",b)}else b=this._createAccessibilityTreeNode(),this._rowElements.push(b),this._rowContainer.appendChild(b);this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(u===0?-1:1),this._rowElements[u===0?1:this._rowElements.length-2].focus(),s.preventDefault(),s.stopImmediatePropagation()}},e.prototype._onResize=function(s){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(var u=this._rowContainer.children.length;u<this._terminal.rows;u++)this._rowElements[u]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[u]);for(;this._rowElements.length>s;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},e.prototype._createAccessibilityTreeNode=function(){var s=document.createElement("div");return s.setAttribute("role","listitem"),s.tabIndex=-1,this._refreshRowDimensions(s),s},e.prototype._onTab=function(s){for(var u=0;u<s;u++)this._onChar(" ")},e.prototype._onChar=function(s){var u=this;this._liveRegionLineCount<21&&(this._charsToConsume.length>0?this._charsToConsume.shift()!==s&&(this._charsToAnnounce+=s):this._charsToAnnounce+=s,s===`
|
|
|
`&&(this._liveRegionLineCount++,this._liveRegionLineCount===21&&(this._liveRegion.textContent+=h.tooMuchOutput)),c.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){u._accessibilityTreeRoot.appendChild(u._liveRegion)},0))},e.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,c.isMac&&d.removeElementFromParent(this._liveRegion)},e.prototype._onKey=function(s){this._clearLiveRegion(),this._charsToConsume.push(s)},e.prototype._refreshRows=function(s,u){this._renderRowsDebouncer.refresh(s,u,this._terminal.rows)},e.prototype._renderRows=function(s,u){for(var f=this._terminal.buffer,A=f.lines.length.toString(),v=s;v<=u;v++){var x=f.translateBufferLineToString(f.ydisp+v,!0),b=(f.ydisp+v+1).toString(),w=this._rowElements[v];w&&(x.length===0?w.innerHTML=" ":w.textContent=x,w.setAttribute("aria-posinset",b),w.setAttribute("aria-setsize",A))}this._announceCharacters()},e.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var s=0;s<this._terminal.rows;s++)this._refreshRowDimensions(this._rowElements[s])}},e.prototype._refreshRowDimensions=function(s){s.style.height=this._renderService.dimensions.actualCellHeight+"px"},e.prototype._announceCharacters=function(){this._charsToAnnounce.length!==0&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")},e}(t.Disposable);m.AccessibilityManager=i},function(y,m,C){"use strict";var p,g=this&&this.__extends||(p=function(A,v){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,b){x.__proto__=b}||function(x,b){for(var w in b)b.hasOwnProperty(w)&&(x[w]=b[w])})(A,v)},function(f,A){function v(){this.constructor=f}p(f,A),f.prototype=A===null?Object.create(A):(v.prototype=A.prototype,new v)}),h=this&&this.__decorate||function(f,A,v,x){var b,w=arguments.length,_=w<3?A:x===null?x=Object.getOwnPropertyDescriptor(A,v):x;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")_=Reflect.decorate(f,A,v,x);else for(var T=f.length-1;T>=0;T--)(b=f[T])&&(_=(w<3?b(_):w>3?b(A,v,_):b(A,v))||_);return w>3&&_&&Object.defineProperty(A,v,_),_},c=this&&this.__param||function(f,A){return function(v,x){A(v,x,f)}};Object.defineProperty(m,"__esModule",{value:!0}),m.DomRenderer=void 0;var o=C(58),n=C(9),t=C(2),a=C(5),d=C(1),i=C(0),l=C(10),e=C(17),s=1,u=function(f){function A(v,x,b,w,_,T,S,E,I){var O=f.call(this)||this;return O._colors=v,O._element=x,O._screenElement=b,O._viewportElement=w,O._linkifier=_,O._linkifier2=T,O._charSizeService=S,O._optionsService=E,O._bufferService=I,O._terminalClass=s++,O._rowElements=[],O._rowContainer=document.createElement("div"),O._rowContainer.classList.add("xterm-rows"),O._rowContainer.style.lineHeight="normal",O._rowContainer.setAttribute("aria-hidden","true"),O._refreshRowElements(O._bufferService.cols,O._bufferService.rows),O._selectionContainer=document.createElement("div"),O._selectionContainer.classList.add("xterm-selection"),O._selectionContainer.setAttribute("aria-hidden","true"),O.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},O._updateDimensions(),O._injectCss(),O._rowFactory=new o.DomRendererRowFactory(document,O._optionsService,O._colors),O._element.classList.add("xterm-dom-renderer-owner-"+O._terminalClass),O._screenElement.appendChild(O._rowContainer),O._screenElement.appendChild(O._selectionContainer),O._linkifier.onShowLinkUnderline(function(F){return O._onLinkHover(F)}),O._linkifier.onHideLinkUnderline(function(F){return O._onLinkLeave(F)}),O._linkifier2.onShowLinkUnderline(function(F){return O._onLinkHover(F)}),O._linkifier2.onHideLinkUnderline(function(F){return O._onLinkLeave(F)}),O}return g(A,f),Object.defineProperty(A.prototype,"onRequestRedraw",{get:function(){return new i.EventEmitter().event},enumerable:!1,configurable:!0}),A.prototype.dispose=function(){this._element.classList.remove("xterm-dom-renderer-owner-"+this._terminalClass),e.removeElementFromParent(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),f.prototype.dispose.call(this)},A.prototype._updateDimensions=function(){this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows;for(var v=0,x=this._rowElements;v<x.length;v++){var b=x[v];b.style.width=this.dimensions.canvasWidth+"px",b.style.height=this.dimensions.actualCellHeight+"px",b.style.lineHeight=this.dimensions.actualCellHeight+"px",b.style.overflow="hidden"}this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));var w=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.innerHTML=w,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},A.prototype.setColors=function(v){this._colors=v,this._injectCss()},A.prototype._injectCss=function(){var v=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var x=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";x+=this._terminalSelector+" span:not(."+o.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+o.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+o.ITALIC_CLASS+" { font-style: italic;}",x+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",x+="@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+"; }}",x+=this._terminalSelector+" .xterm-rows:not(.xterm-focus) ."+o.CURSOR_CLASS+"."+o.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+o.CURSOR_CLASS+"."+o.CURSOR_BLINK_CLASS+":not(."+o.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+o.CURSOR_CLASS+"."+o.CURSOR_BLINK_CLASS+"."+o.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+o.CURSOR_CLASS+"."+o.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+o.CURSOR_CLASS+"."+o.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+o.CURSOR_CLASS+"."+o.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",x+=this._terminalSelector+" .xterm-selection { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}"+this._terminalSelector+" .xterm-selection div { position: absolute; background-color: "+this._colors.selectionTransparent.css+";}",this._colors.ansi.forEach(function(b,w){x+=v._terminalSelector+" .xterm-fg-"+w+" { color: "+b.css+"; }"+v._terminalSelector+" .xterm-bg-"+w+" { background-color: "+b.css+"; }"}),x+=this._terminalSelector+" .xterm-fg-"+n.INVERTED_DEFAULT_COLOR+" { color: "+l.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+n.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=x},A.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},A.prototype._refreshRowElements=function(v,x){for(var b=this._rowElements.length;b<=x;b++){var w=document.createElement("div");this._rowContainer.appendChild(w),this._rowElements.push(w)}for(;this._rowElements.length>x;)this._rowContainer.removeChild(this._rowElements.pop())},A.prototype.onResize=function(v,x){this._refreshRowElements(v,x),this._updateDimensions()},A.prototype.onCharSizeChanged=function(){this._updateDimensions()},A.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},A.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},A.prototype.onSelectionChanged=function(v,x,b){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(v&&x){var w=v[1]-this._bufferService.buffer.ydisp,_=x[1]-this._bufferService.buffer.ydisp,T=Math.max(w,0),S=Math.min(_,this._bufferService.rows-1);if(!(T>=this._bufferService.rows||S<0)){var E=document.createDocumentFragment();if(b)E.appendChild(this._createSelectionElement(T,v[0],x[0],S-T+1));else{var I=w===T?v[0]:0,O=T===S?x[0]:this._bufferService.cols;E.appendChild(this._createSelectionElement(T,I,O));var F=S-T-1;if(E.appendChild(this._createSelectionElement(T+1,0,this._bufferService.cols,F)),T!==S){var k=_===S?x[0]:this._bufferService.cols;E.appendChild(this._createSelectionElement(S,0,k))}}this._selectionContainer.appendChild(E)}}},A.prototype._createSelectionElement=function(v,x,b,w){w===void 0&&(w=1);var _=document.createElement("div");return _.style.height=w*this.dimensions.actualCellHeight+"px",_.style.top=v*this.dimensions.actualCellHeight+"px",_.style.left=x*this.dimensions.actualCellWidth+"px",_.style.width=this.dimensions.actualCellWidth*(b-x)+"px",_},A.prototype.onCursorMove=function(){},A.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},A.prototype.clear=function(){for(var v=0,x=this._rowElements;v<x.length;v++)x[v].innerHTML=""},A.prototype.renderRows=function(v,x){for(var b=this._bufferService.buffer.ybase+this._bufferService.buffer.y,w=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),_=this._optionsService.options.cursorBlink,T=v;T<=x;T++){var S=this._rowElements[T];S.innerHTML="";var E=T+this._bufferService.buffer.ydisp,I=this._bufferService.buffer.lines.get(E),O=this._optionsService.options.cursorStyle;S.appendChild(this._rowFactory.createRow(I,E===b,O,w,_,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(A.prototype,"_terminalSelector",{get:function(){return".xterm-dom-renderer-owner-"+this._terminalClass},enumerable:!1,configurable:!0}),A.prototype.registerCharacterJoiner=function(v){return-1},A.prototype.deregisterCharacterJoiner=function(v){return!1},A.prototype._onLinkHover=function(v){this._setCellUnderline(v.x1,v.x2,v.y1,v.y2,v.cols,!0)},A.prototype._onLinkLeave=function(v){this._setCellUnderline(v.x1,v.x2,v.y1,v.y2,v.cols,!1)},A.prototype._setCellUnderline=function(v,x,b,w,_,T){for(;v!==x||b!==w;){var S=this._rowElements[b];if(!S)return;var E=S.children[v];E&&(E.style.textDecoration=T?"underline":"none"),++v>=_&&(v=0,b++)}},A=h([c(6,a.ICharSizeService),c(7,d.IOptionsService),c(8,d.IBufferService)],A)}(t.Disposable);m.DomRenderer=u},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.DomRendererRowFactory=m.CURSOR_STYLE_UNDERLINE_CLASS=m.CURSOR_STYLE_BAR_CLASS=m.CURSOR_STYLE_BLOCK_CLASS=m.CURSOR_BLINK_CLASS=m.CURSOR_CLASS=m.UNDERLINE_CLASS=m.ITALIC_CLASS=m.DIM_CLASS=m.BOLD_CLASS=void 0;var p=C(9),g=C(3),h=C(4),c=C(10);m.BOLD_CLASS="xterm-bold",m.DIM_CLASS="xterm-dim",m.ITALIC_CLASS="xterm-italic",m.UNDERLINE_CLASS="xterm-underline",m.CURSOR_CLASS="xterm-cursor",m.CURSOR_BLINK_CLASS="xterm-cursor-blink",m.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",m.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",m.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var o=function(){function t(a,d,i){this._document=a,this._optionsService=d,this._colors=i,this._workCell=new h.CellData}return t.prototype.setColors=function(a){this._colors=a},t.prototype.createRow=function(a,d,i,l,e,s,u){for(var f=this._document.createDocumentFragment(),A=0,v=Math.min(a.length,u)-1;v>=0;v--)if(a.loadCell(v,this._workCell).getCode()!==g.NULL_CELL_CODE||d&&v===l){A=v+1;break}for(v=0;v<A;v++){a.loadCell(v,this._workCell);var x=this._workCell.getWidth();if(x!==0){var b=this._document.createElement("span");if(x>1&&(b.style.width=s*x+"px"),d&&v===l)switch(b.classList.add(m.CURSOR_CLASS),e&&b.classList.add(m.CURSOR_BLINK_CLASS),i){case"bar":b.classList.add(m.CURSOR_STYLE_BAR_CLASS);break;case"underline":b.classList.add(m.CURSOR_STYLE_UNDERLINE_CLASS);break;default:b.classList.add(m.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&b.classList.add(m.BOLD_CLASS),this._workCell.isItalic()&&b.classList.add(m.ITALIC_CLASS),this._workCell.isDim()&&b.classList.add(m.DIM_CLASS),this._workCell.isUnderline()&&b.classList.add(m.UNDERLINE_CLASS),this._workCell.isInvisible()?b.textContent=g.WHITESPACE_CELL_CHAR:b.textContent=this._workCell.getChars()||g.WHITESPACE_CELL_CHAR;var w=this._workCell.getFgColor(),_=this._workCell.getFgColorMode(),T=this._workCell.getBgColor(),S=this._workCell.getBgColorMode(),E=!!this._workCell.isInverse();if(E){var I=w;w=T,T=I;var O=_;_=S,S=O}switch(_){case 16777216:case 33554432:this._workCell.isBold()&&w<8&&this._optionsService.options.drawBoldTextInBrightColors&&(w+=8),this._applyMinimumContrast(b,this._colors.background,this._colors.ansi[w])||b.classList.add("xterm-fg-"+w);break;case 50331648:var F=c.rgba.toColor(w>>16&255,w>>8&255,255&w);this._applyMinimumContrast(b,this._colors.background,F)||this._addStyle(b,"color:#"+n(w.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(b,this._colors.background,this._colors.foreground)||E&&b.classList.add("xterm-fg-"+p.INVERTED_DEFAULT_COLOR)}switch(S){case 16777216:case 33554432:b.classList.add("xterm-bg-"+T);break;case 50331648:this._addStyle(b,"background-color:#"+n(T.toString(16),"0",6));break;case 0:default:E&&b.classList.add("xterm-bg-"+p.INVERTED_DEFAULT_COLOR)}f.appendChild(b)}}return f},t.prototype._applyMinimumContrast=function(a,d,i){if(this._optionsService.options.minimumContrastRatio===1)return!1;var l=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return l===void 0&&(l=c.color.ensureContrastRatio(d,i,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,l!=null?l:null)),!!l&&(this._addStyle(a,"color:"+l.css),!0)},t.prototype._addStyle=function(a,d){a.setAttribute("style",""+(a.getAttribute("style")||"")+d+";")},t}();function n(t,a,d){for(;t.length<d;)t=a+t;return t}m.DomRendererRowFactory=o},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.evaluateKeyboardEvent=void 0;var p=C(12),g={48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};m.evaluateKeyboardEvent=function(h,c,o,n){var t={type:0,cancel:!1,key:void 0},a=(h.shiftKey?1:0)|(h.altKey?2:0)|(h.ctrlKey?4:0)|(h.metaKey?8:0);switch(h.keyCode){case 0:h.key==="UIKeyInputUpArrow"?t.key=c?p.C0.ESC+"OA":p.C0.ESC+"[A":h.key==="UIKeyInputLeftArrow"?t.key=c?p.C0.ESC+"OD":p.C0.ESC+"[D":h.key==="UIKeyInputRightArrow"?t.key=c?p.C0.ESC+"OC":p.C0.ESC+"[C":h.key==="UIKeyInputDownArrow"&&(t.key=c?p.C0.ESC+"OB":p.C0.ESC+"[B");break;case 8:if(h.shiftKey){t.key=p.C0.BS;break}if(h.altKey){t.key=p.C0.ESC+p.C0.DEL;break}t.key=p.C0.DEL;break;case 9:if(h.shiftKey){t.key=p.C0.ESC+"[Z";break}t.key=p.C0.HT,t.cancel=!0;break;case 13:t.key=h.altKey?p.C0.ESC+p.C0.CR:p.C0.CR,t.cancel=!0;break;case 27:t.key=p.C0.ESC,h.altKey&&(t.key=p.C0.ESC+p.C0.ESC),t.cancel=!0;break;case 37:if(h.metaKey)break;a?(t.key=p.C0.ESC+"[1;"+(a+1)+"D",t.key===p.C0.ESC+"[1;3D"&&(t.key=p.C0.ESC+(o?"b":"[1;5D"))):t.key=c?p.C0.ESC+"OD":p.C0.ESC+"[D";break;case 39:if(h.metaKey)break;a?(t.key=p.C0.ESC+"[1;"+(a+1)+"C",t.key===p.C0.ESC+"[1;3C"&&(t.key=p.C0.ESC+(o?"f":"[1;5C"))):t.key=c?p.C0.ESC+"OC":p.C0.ESC+"[C";break;case 38:if(h.metaKey)break;a?(t.key=p.C0.ESC+"[1;"+(a+1)+"A",o||t.key!==p.C0.ESC+"[1;3A"||(t.key=p.C0.ESC+"[1;5A")):t.key=c?p.C0.ESC+"OA":p.C0.ESC+"[A";break;case 40:if(h.metaKey)break;a?(t.key=p.C0.ESC+"[1;"+(a+1)+"B",o||t.key!==p.C0.ESC+"[1;3B"||(t.key=p.C0.ESC+"[1;5B")):t.key=c?p.C0.ESC+"OB":p.C0.ESC+"[B";break;case 45:h.shiftKey||h.ctrlKey||(t.key=p.C0.ESC+"[2~");break;case 46:t.key=a?p.C0.ESC+"[3;"+(a+1)+"~":p.C0.ESC+"[3~";break;case 36:t.key=a?p.C0.ESC+"[1;"+(a+1)+"H":c?p.C0.ESC+"OH":p.C0.ESC+"[H";break;case 35:t.key=a?p.C0.ESC+"[1;"+(a+1)+"F":c?p.C0.ESC+"OF":p.C0.ESC+"[F";break;case 33:h.shiftKey?t.type=2:t.key=p.C0.ESC+"[5~";break;case 34:h.shiftKey?t.type=3:t.key=p.C0.ESC+"[6~";break;case 112:t.key=a?p.C0.ESC+"[1;"+(a+1)+"P":p.C0.ESC+"OP";break;case 113:t.key=a?p.C0.ESC+"[1;"+(a+1)+"Q":p.C0.ESC+"OQ";break;case 114:t.key=a?p.C0.ESC+"[1;"+(a+1)+"R":p.C0.ESC+"OR";break;case 115:t.key=a?p.C0.ESC+"[1;"+(a+1)+"S":p.C0.ESC+"OS";break;case 116:t.key=a?p.C0.ESC+"[15;"+(a+1)+"~":p.C0.ESC+"[15~";break;case 117:t.key=a?p.C0.ESC+"[17;"+(a+1)+"~":p.C0.ESC+"[17~";break;case 118:t.key=a?p.C0.ESC+"[18;"+(a+1)+"~":p.C0.ESC+"[18~";break;case 119:t.key=a?p.C0.ESC+"[19;"+(a+1)+"~":p.C0.ESC+"[19~";break;case 120:t.key=a?p.C0.ESC+"[20;"+(a+1)+"~":p.C0.ESC+"[20~";break;case 121:t.key=a?p.C0.ESC+"[21;"+(a+1)+"~":p.C0.ESC+"[21~";break;case 122:t.key=a?p.C0.ESC+"[23;"+(a+1)+"~":p.C0.ESC+"[23~";break;case 123:t.key=a?p.C0.ESC+"[24;"+(a+1)+"~":p.C0.ESC+"[24~";break;default:if(!h.ctrlKey||h.shiftKey||h.altKey||h.metaKey)if(o&&!n||!h.altKey||h.metaKey)o&&!h.altKey&&!h.ctrlKey&&h.metaKey?h.keyCode===65&&(t.type=1):h.key&&!h.ctrlKey&&!h.altKey&&!h.metaKey&&h.keyCode>=48&&h.key.length===1?t.key=h.key:h.key&&h.ctrlKey&&h.key==="_"&&(t.key=p.C0.US);else{var d=g[h.keyCode],i=d&&d[h.shiftKey?1:0];if(i)t.key=p.C0.ESC+i;else if(h.keyCode>=65&&h.keyCode<=90){var l=h.ctrlKey?h.keyCode-64:h.keyCode+32;t.key=p.C0.ESC+String.fromCharCode(l)}}else h.keyCode>=65&&h.keyCode<=90?t.key=String.fromCharCode(h.keyCode-64):h.keyCode===32?t.key=p.C0.NUL:h.keyCode>=51&&h.keyCode<=55?t.key=String.fromCharCode(h.keyCode-51+27):h.keyCode===56?t.key=p.C0.DEL:h.keyCode===219?t.key=p.C0.ESC:h.keyCode===220?t.key=p.C0.FS:h.keyCode===221&&(t.key=p.C0.GS)}return t}},function(y,m,C){"use strict";var p,g=this&&this.__extends||(p=function(u,f){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,v){A.__proto__=v}||function(A,v){for(var x in v)v.hasOwnProperty(x)&&(A[x]=v[x])})(u,f)},function(s,u){function f(){this.constructor=s}p(s,u),s.prototype=u===null?Object.create(u):(f.prototype=u.prototype,new f)}),h=this&&this.__decorate||function(s,u,f,A){var v,x=arguments.length,b=x<3?u:A===null?A=Object.getOwnPropertyDescriptor(u,f):A;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")b=Reflect.decorate(s,u,f,A);else for(var w=s.length-1;w>=0;w--)(v=s[w])&&(b=(x<3?v(b):x>3?v(u,f,b):v(u,f))||b);return x>3&&b&&Object.defineProperty(u,f,b),b},c=this&&this.__param||function(s,u){return function(f,A){u(f,A,s)}};Object.defineProperty(m,"__esModule",{value:!0}),m.RenderService=void 0;var o=C(31),n=C(0),t=C(2),a=C(32),d=C(7),i=C(1),l=C(5),e=function(s){function u(f,A,v,x,b,w){var _=s.call(this)||this;if(_._renderer=f,_._rowCount=A,_._isPaused=!1,_._needsFullRefresh=!1,_._isNextRenderRedrawOnly=!0,_._needsSelectionRefresh=!1,_._canvasWidth=0,_._canvasHeight=0,_._selectionState={start:void 0,end:void 0,columnSelectMode:!1},_._onDimensionsChange=new n.EventEmitter,_._onRender=new n.EventEmitter,_._onRefreshRequest=new n.EventEmitter,_.register({dispose:function(){return _._renderer.dispose()}}),_._renderDebouncer=new o.RenderDebouncer(function(S,E){return _._renderRows(S,E)}),_.register(_._renderDebouncer),_._screenDprMonitor=new a.ScreenDprMonitor,_._screenDprMonitor.setListener(function(){return _.onDevicePixelRatioChange()}),_.register(_._screenDprMonitor),_.register(w.onResize(function(S){return _._fullRefresh()})),_.register(x.onOptionChange(function(){return _._renderer.onOptionsChanged()})),_.register(b.onCharSizeChange(function(){return _.onCharSizeChanged()})),_._renderer.onRequestRedraw(function(S){return _.refreshRows(S.start,S.end,!0)}),_.register(d.addDisposableDomListener(window,"resize",function(){return _.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var T=new IntersectionObserver(function(S){return _._onIntersectionChange(S[S.length-1])},{threshold:0});T.observe(v),_.register({dispose:function(){return T.disconnect()}})}return _}return g(u,s),Object.defineProperty(u.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),u.prototype._onIntersectionChange=function(f){this._isPaused=f.intersectionRatio===0,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},u.prototype.refreshRows=function(f,A,v){v===void 0&&(v=!1),this._isPaused?this._needsFullRefresh=!0:(v||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(f,A,this._rowCount))},u.prototype._renderRows=function(f,A){this._renderer.renderRows(f,A),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRender.fire({start:f,end:A}),this._isNextRenderRedrawOnly=!0},u.prototype.resize=function(f,A){this._rowCount=A,this._fireOnCanvasResize()},u.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},u.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},u.prototype.dispose=function(){s.prototype.dispose.call(this)},u.prototype.setRenderer=function(f){var A=this;this._renderer.dispose(),this._renderer=f,this._renderer.onRequestRedraw(function(v){return A.refreshRows(v.start,v.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},u.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},u.prototype.setColors=function(f){this._renderer.setColors(f),this._fullRefresh()},u.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},u.prototype.onResize=function(f,A){this._renderer.onResize(f,A),this._fullRefresh()},u.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},u.prototype.onBlur=function(){this._renderer.onBlur()},u.prototype.onFocus=function(){this._renderer.onFocus()},u.prototype.onSelectionChanged=function(f,A,v){this._selectionState.start=f,this._selectionState.end=A,this._selectionState.columnSelectMode=v,this._renderer.onSelectionChanged(f,A,v)},u.prototype.onCursorMove=function(){this._renderer.onCursorMove()},u.prototype.clear=function(){this._renderer.clear()},u.prototype.registerCharacterJoiner=function(f){return this._renderer.registerCharacterJoiner(f)},u.prototype.deregisterCharacterJoiner=function(f){return this._renderer.deregisterCharacterJoiner(f)},u=h([c(3,i.IOptionsService),c(4,l.ICharSizeService),c(5,i.IBufferService)],u)}(t.Disposable);m.RenderService=e},function(y,m,C){"use strict";var p=this&&this.__decorate||function(t,a,d,i){var l,e=arguments.length,s=e<3?a:i===null?i=Object.getOwnPropertyDescriptor(a,d):i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,a,d,i);else for(var u=t.length-1;u>=0;u--)(l=t[u])&&(s=(e<3?l(s):e>3?l(a,d,s):l(a,d))||s);return e>3&&s&&Object.defineProperty(a,d,s),s},g=this&&this.__param||function(t,a){return function(d,i){a(d,i,t)}};Object.defineProperty(m,"__esModule",{value:!0}),m.CharSizeService=void 0;var h=C(1),c=C(0),o=function(){function t(a,d,i){this._optionsService=i,this.width=0,this.height=0,this._onCharSizeChange=new c.EventEmitter,this._measureStrategy=new n(a,d,this._optionsService)}return Object.defineProperty(t.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),t.prototype.measure=function(){var a=this._measureStrategy.measure();a.width===this.width&&a.height===this.height||(this.width=a.width,this.height=a.height,this._onCharSizeChange.fire())},t=p([g(2,h.IOptionsService)],t)}();m.CharSizeService=o;var n=function(){function t(a,d,i){this._document=a,this._parentElement=d,this._optionsService=i,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 t.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var a=this._measureElement.getBoundingClientRect();return a.width!==0&&a.height!==0&&(this._result.width=a.width,this._result.height=Math.ceil(a.height)),this._result},t}()},function(y,m,C){"use strict";var p=this&&this.__decorate||function(n,t,a,d){var i,l=arguments.length,e=l<3?t:d===null?d=Object.getOwnPropertyDescriptor(t,a):d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(n,t,a,d);else for(var s=n.length-1;s>=0;s--)(i=n[s])&&(e=(l<3?i(e):l>3?i(t,a,e):i(t,a))||e);return l>3&&e&&Object.defineProperty(t,a,e),e},g=this&&this.__param||function(n,t){return function(a,d){t(a,d,n)}};Object.defineProperty(m,"__esModule",{value:!0}),m.MouseService=void 0;var h=C(5),c=C(30),o=function(){function n(t,a){this._renderService=t,this._charSizeService=a}return n.prototype.getCoords=function(t,a,d,i,l){return c.getCoords(t,a,d,i,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,l)},n.prototype.getRawByteCoords=function(t,a,d,i){var l=this.getCoords(t,a,d,i);return c.getRawByteCoords(l)},n=p([g(0,h.IRenderService),g(1,h.ICharSizeService)],n)}();m.MouseService=o},function(y,m,C){"use strict";var p,g=this&&this.__extends||(p=function(l,e){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var f in u)u.hasOwnProperty(f)&&(s[f]=u[f])})(l,e)},function(i,l){function e(){this.constructor=i}p(i,l),i.prototype=l===null?Object.create(l):(e.prototype=l.prototype,new e)}),h=this&&this.__decorate||function(i,l,e,s){var u,f=arguments.length,A=f<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,e):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")A=Reflect.decorate(i,l,e,s);else for(var v=i.length-1;v>=0;v--)(u=i[v])&&(A=(f<3?u(A):f>3?u(l,e,A):u(l,e))||A);return f>3&&A&&Object.defineProperty(l,e,A),A},c=this&&this.__param||function(i,l){return function(e,s){l(e,s,i)}};Object.defineProperty(m,"__esModule",{value:!0}),m.Linkifier2=void 0;var o=C(1),n=C(0),t=C(2),a=C(7),d=function(i){function l(e){var s=i.call(this)||this;return s._bufferService=e,s._linkProviders=[],s._linkCacheDisposables=[],s._isMouseOut=!0,s._activeLine=-1,s._onShowLinkUnderline=s.register(new n.EventEmitter),s._onHideLinkUnderline=s.register(new n.EventEmitter),s.register(t.getDisposeArrayDisposable(s._linkCacheDisposables)),s}return g(l,i),Object.defineProperty(l.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),l.prototype.registerLinkProvider=function(e){var s=this;return this._linkProviders.push(e),{dispose:function(){var f=s._linkProviders.indexOf(e);f!==-1&&s._linkProviders.splice(f,1)}}},l.prototype.attachToDom=function(e,s,u){var f=this;this._element=e,this._mouseService=s,this._renderService=u,this.register(a.addDisposableDomListener(this._element,"mouseleave",function(){f._isMouseOut=!0,f._clearCurrentLink()})),this.register(a.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(a.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},l.prototype._onMouseMove=function(e){if(this._lastMouseEvent=e,this._element&&this._mouseService){var s=this._positionFromMouseEvent(e,this._element,this._mouseService);if(s){this._isMouseOut=!1;for(var u=e.composedPath(),f=0;f<u.length;f++){var A=u[f];if(A.classList.contains("xterm"))break;if(A.classList.contains("xterm-hover"))return}this._lastBufferCell&&s.x===this._lastBufferCell.x&&s.y===this._lastBufferCell.y||(this._onHover(s),this._lastBufferCell=s)}}},l.prototype._onHover=function(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))},l.prototype._askForLink=function(e,s){var u=this;this._activeProviderReplies&&s||(this._activeProviderReplies=new Map,this._activeLine=e.y);var f=!1;this._linkProviders.forEach(function(A,v){var x;s?((x=u._activeProviderReplies)===null||x===void 0?void 0:x.get(v))&&(f=u._checkLinkProviderResult(v,e,f)):A.provideLinks(e.y,function(b){var w,_;if(!u._isMouseOut){var T=b==null?void 0:b.map(function(S){return{link:S}});(w=u._activeProviderReplies)===null||w===void 0||w.set(v,T),f=u._checkLinkProviderResult(v,e,f),((_=u._activeProviderReplies)===null||_===void 0?void 0:_.size)===u._linkProviders.length&&u._removeIntersectingLinks(e.y,u._activeProviderReplies)}})})},l.prototype._removeIntersectingLinks=function(e,s){for(var u=new Set,f=0;f<s.size;f++){var A=s.get(f);if(A)for(var v=0;v<A.length;v++)for(var x=A[v],b=x.link.range.start.y<e?0:x.link.range.start.x,w=x.link.range.end.y>e?this._bufferService.cols:x.link.range.end.x,_=b;_<=w;_++){if(u.has(_)){A.splice(v--,1);break}u.add(_)}}},l.prototype._checkLinkProviderResult=function(e,s,u){var f,A=this;if(!this._activeProviderReplies)return u;for(var v=this._activeProviderReplies.get(e),x=!1,b=0;b<e;b++)this._activeProviderReplies.has(b)&&!this._activeProviderReplies.get(b)||(x=!0);if(!x&&v){var w=v.find(function(T){return A._linkAtPosition(T.link,s)});w&&(u=!0,this._handleNewLink(w))}if(this._activeProviderReplies.size===this._linkProviders.length&&!u)for(b=0;b<this._activeProviderReplies.size;b++){var _=(f=this._activeProviderReplies.get(b))===null||f===void 0?void 0:f.find(function(T){return A._linkAtPosition(T.link,s)});if(_){u=!0,this._handleNewLink(_);break}}return u},l.prototype._onClick=function(e){if(this._element&&this._mouseService&&this._currentLink){var s=this._positionFromMouseEvent(e,this._element,this._mouseService);s&&this._linkAtPosition(this._currentLink.link,s)&&this._currentLink.link.activate(e,this._currentLink.link.text)}},l.prototype._clearCurrentLink=function(e,s){this._element&&this._currentLink&&this._lastMouseEvent&&(!e||!s||this._currentLink.link.range.start.y>=e&&this._currentLink.link.range.end.y<=s)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,t.disposeArray(this._linkCacheDisposables))},l.prototype._handleNewLink=function(e){var s=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var u=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);u&&this._linkAtPosition(e.link,u)&&(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 A,v;return(v=(A=s._currentLink)===null||A===void 0?void 0:A.state)===null||v===void 0?void 0:v.decorations.pointerCursor},set:function(A){var v,x;((v=s._currentLink)===null||v===void 0?void 0:v.state)&&s._currentLink.state.decorations.pointerCursor!==A&&(s._currentLink.state.decorations.pointerCursor=A,s._currentLink.state.isHovered&&((x=s._element)===null||x===void 0||x.classList.toggle("xterm-cursor-pointer",A)))}},underline:{get:function(){var A,v;return(v=(A=s._currentLink)===null||A===void 0?void 0:A.state)===null||v===void 0?void 0:v.decorations.underline},set:function(A){var v,x,b;((v=s._currentLink)===null||v===void 0?void 0:v.state)&&((b=(x=s._currentLink)===null||x===void 0?void 0:x.state)===null||b===void 0?void 0:b.decorations.underline)!==A&&(s._currentLink.state.decorations.underline=A,s._currentLink.state.isHovered&&s._fireUnderlineEvent(e.link,A))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(f){var A=f.start===0?0:f.start+1+s._bufferService.buffer.ydisp;s._clearCurrentLink(A,f.end+1+s._bufferService.buffer.ydisp)})))}},l.prototype._linkHover=function(e,s,u){var f;((f=this._currentLink)===null||f===void 0?void 0:f.state)&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(s,!0),this._currentLink.state.decorations.pointerCursor&&e.classList.add("xterm-cursor-pointer")),s.hover&&s.hover(u,s.text)},l.prototype._fireUnderlineEvent=function(e,s){var u=e.range,f=this._bufferService.buffer.ydisp,A=this._createLinkUnderlineEvent(u.start.x-1,u.start.y-f-1,u.end.x,u.end.y-f-1,void 0);(s?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(A)},l.prototype._linkLeave=function(e,s,u){var f;((f=this._currentLink)===null||f===void 0?void 0:f.state)&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(s,!1),this._currentLink.state.decorations.pointerCursor&&e.classList.remove("xterm-cursor-pointer")),s.leave&&s.leave(u,s.text)},l.prototype._linkAtPosition=function(e,s){var u=e.range.start.y===e.range.end.y,f=e.range.start.y<s.y,A=e.range.end.y>s.y;return(u&&e.range.start.x<=s.x&&e.range.end.x>=s.x||f&&e.range.end.x>=s.x||A&&e.range.start.x<=s.x||f&&A)&&e.range.start.y<=s.y&&e.range.end.y>=s.y},l.prototype._positionFromMouseEvent=function(e,s,u){var f=u.getCoords(e,s,this._bufferService.cols,this._bufferService.rows);if(f)return{x:f[0],y:f[1]+this._bufferService.buffer.ydisp}},l.prototype._createLinkUnderlineEvent=function(e,s,u,f,A){return{x1:e,y1:s,x2:u,y2:f,cols:this._bufferService.cols,fg:A}},l=h([c(0,o.IBufferService)],l)}(t.Disposable);m.Linkifier2=d},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CoreBrowserService=void 0;var p=function(){function g(h){this._textarea=h}return Object.defineProperty(g.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),g}();m.CoreBrowserService=p},function(y,m,C){"use strict";var p,g=this&&this.__extends||(p=function(w,_){return(p=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])})(w,_)},function(b,w){function _(){this.constructor=b}p(b,w),b.prototype=w===null?Object.create(w):(_.prototype=w.prototype,new _)});Object.defineProperty(m,"__esModule",{value:!0}),m.CoreTerminal=void 0;var h=C(2),c=C(1),o=C(66),n=C(67),t=C(68),a=C(74),d=C(75),i=C(0),l=C(76),e=C(77),s=C(78),u=C(80),f=C(81),A=C(19),v=C(82),x=function(b){function w(_){var T=b.call(this)||this;return T._onBinary=new i.EventEmitter,T._onData=new i.EventEmitter,T._onLineFeed=new i.EventEmitter,T._onResize=new i.EventEmitter,T._onScroll=new i.EventEmitter,T._instantiationService=new o.InstantiationService,T.optionsService=new a.OptionsService(_),T._instantiationService.setService(c.IOptionsService,T.optionsService),T._bufferService=T.register(T._instantiationService.createInstance(t.BufferService)),T._instantiationService.setService(c.IBufferService,T._bufferService),T._logService=T._instantiationService.createInstance(n.LogService),T._instantiationService.setService(c.ILogService,T._logService),T._coreService=T.register(T._instantiationService.createInstance(d.CoreService,function(){return T.scrollToBottom()})),T._instantiationService.setService(c.ICoreService,T._coreService),T._coreMouseService=T._instantiationService.createInstance(l.CoreMouseService),T._instantiationService.setService(c.ICoreMouseService,T._coreMouseService),T._dirtyRowService=T._instantiationService.createInstance(e.DirtyRowService),T._instantiationService.setService(c.IDirtyRowService,T._dirtyRowService),T.unicodeService=T._instantiationService.createInstance(s.UnicodeService),T._instantiationService.setService(c.IUnicodeService,T.unicodeService),T._charsetService=T._instantiationService.createInstance(u.CharsetService),T._instantiationService.setService(c.ICharsetService,T._charsetService),T._inputHandler=new A.InputHandler(T._bufferService,T._charsetService,T._coreService,T._dirtyRowService,T._logService,T.optionsService,T._coreMouseService,T.unicodeService),T.register(i.forwardEvent(T._inputHandler.onLineFeed,T._onLineFeed)),T.register(T._inputHandler),T.register(i.forwardEvent(T._bufferService.onResize,T._onResize)),T.register(i.forwardEvent(T._coreService.onData,T._onData)),T.register(i.forwardEvent(T._coreService.onBinary,T._onBinary)),T.register(T.optionsService.onOptionChange(function(S){return T._updateOptions(S)})),T._writeBuffer=new v.WriteBuffer(function(S){return T._inputHandler.parse(S)}),T}return g(w,b),Object.defineProperty(w.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),w.prototype.dispose=function(){var _;this._isDisposed||(b.prototype.dispose.call(this),(_=this._windowsMode)===null||_===void 0||_.dispose(),this._windowsMode=void 0)},w.prototype.write=function(_,T){this._writeBuffer.write(_,T)},w.prototype.writeSync=function(_){this._writeBuffer.writeSync(_)},w.prototype.resize=function(_,T){isNaN(_)||isNaN(T)||(_=Math.max(_,t.MINIMUM_COLS),T=Math.max(T,t.MINIMUM_ROWS),this._bufferService.resize(_,T))},w.prototype.scroll=function(_,T){T===void 0&&(T=!1);var S,E=this._bufferService.buffer;(S=this._cachedBlankLine)&&S.length===this.cols&&S.getFg(0)===_.fg&&S.getBg(0)===_.bg||(S=E.getBlankLine(_,T),this._cachedBlankLine=S),S.isWrapped=T;var I=E.ybase+E.scrollTop,O=E.ybase+E.scrollBottom;if(E.scrollTop===0){var F=E.lines.isFull;O===E.lines.length-1?F?E.lines.recycle().copyFrom(S):E.lines.push(S.clone()):E.lines.splice(O+1,0,S.clone()),F?this._bufferService.isUserScrolling&&(E.ydisp=Math.max(E.ydisp-1,0)):(E.ybase++,this._bufferService.isUserScrolling||E.ydisp++)}else{var k=O-I+1;E.lines.shiftElements(I+1,k-1,-1),E.lines.set(O,S.clone())}this._bufferService.isUserScrolling||(E.ydisp=E.ybase),this._dirtyRowService.markRangeDirty(E.scrollTop,E.scrollBottom),this._onScroll.fire(E.ydisp)},w.prototype.scrollLines=function(_,T){var S=this._bufferService.buffer;if(_<0){if(S.ydisp===0)return;this._bufferService.isUserScrolling=!0}else _+S.ydisp>=S.ybase&&(this._bufferService.isUserScrolling=!1);var E=S.ydisp;S.ydisp=Math.max(Math.min(S.ydisp+_,S.ybase),0),E!==S.ydisp&&(T||this._onScroll.fire(S.ydisp))},w.prototype.scrollPages=function(_){this.scrollLines(_*(this.rows-1))},w.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},w.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},w.prototype.scrollToLine=function(_){var T=_-this._bufferService.buffer.ydisp;T!==0&&this.scrollLines(T)},w.prototype.addEscHandler=function(_,T){return this._inputHandler.addEscHandler(_,T)},w.prototype.addDcsHandler=function(_,T){return this._inputHandler.addDcsHandler(_,T)},w.prototype.addCsiHandler=function(_,T){return this._inputHandler.addCsiHandler(_,T)},w.prototype.addOscHandler=function(_,T){return this._inputHandler.addOscHandler(_,T)},w.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},w.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},w.prototype._updateOptions=function(_){var T;switch(_){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)}},w.prototype._enableWindowsMode=function(){var _=this;if(!this._windowsMode){var T=[];T.push(this.onLineFeed(f.updateWindowsModeWrappedState.bind(null,this._bufferService))),T.push(this.addCsiHandler({final:"H"},function(){return f.updateWindowsModeWrappedState(_._bufferService),!1})),this._windowsMode={dispose:function(){for(var E=0,I=T;E<I.length;E++)I[E].dispose()}}}},w}(h.Disposable);m.CoreTerminal=x},function(y,m,C){"use strict";var p=this&&this.__spreadArrays||function(){for(var n=0,t=0,a=arguments.length;t<a;t++)n+=arguments[t].length;var d=Array(n),i=0;for(t=0;t<a;t++)for(var l=arguments[t],e=0,s=l.length;e<s;e++,i++)d[i]=l[e];return d};Object.defineProperty(m,"__esModule",{value:!0}),m.InstantiationService=m.ServiceCollection=void 0;var g=C(1),h=C(14),c=function(){function n(){for(var t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];this._entries=new Map;for(var d=0,i=t;d<i.length;d++){var l=i[d],e=l[0],s=l[1];this.set(e,s)}}return n.prototype.set=function(t,a){var d=this._entries.get(t);return this._entries.set(t,a),d},n.prototype.forEach=function(t){this._entries.forEach(function(a,d){return t(d,a)})},n.prototype.has=function(t){return this._entries.has(t)},n.prototype.get=function(t){return this._entries.get(t)},n}();m.ServiceCollection=c;var o=function(){function n(){this._services=new c,this._services.set(g.IInstantiationService,this)}return n.prototype.setService=function(t,a){this._services.set(t,a)},n.prototype.getService=function(t){return this._services.get(t)},n.prototype.createInstance=function(t){for(var a=[],d=1;d<arguments.length;d++)a[d-1]=arguments[d];for(var i=h.getServiceDependencies(t).sort(function(v,x){return v.index-x.index}),l=[],e=0,s=i;e<s.length;e++){var u=s[e],f=this._services.get(u.id);if(!f)throw new Error("[createInstance] "+t.name+" depends on UNKNOWN service "+u.id+".");l.push(f)}var A=i.length>0?i[0].index:a.length;if(a.length!==A)throw new Error("[createInstance] First service dependency of "+t.name+" at position "+(A+1)+" conflicts with "+a.length+" static arguments");return new(t.bind.apply(t,p([void 0],p(a,l))))},n}();m.InstantiationService=o},function(y,m,C){"use strict";var p=this&&this.__decorate||function(a,d,i,l){var e,s=arguments.length,u=s<3?d:l===null?l=Object.getOwnPropertyDescriptor(d,i):l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")u=Reflect.decorate(a,d,i,l);else for(var f=a.length-1;f>=0;f--)(e=a[f])&&(u=(s<3?e(u):s>3?e(d,i,u):e(d,i))||u);return s>3&&u&&Object.defineProperty(d,i,u),u},g=this&&this.__param||function(a,d){return function(i,l){d(i,l,a)}},h=this&&this.__spreadArrays||function(){for(var a=0,d=0,i=arguments.length;d<i;d++)a+=arguments[d].length;var l=Array(a),e=0;for(d=0;d<i;d++)for(var s=arguments[d],u=0,f=s.length;u<f;u++,e++)l[e]=s[u];return l};Object.defineProperty(m,"__esModule",{value:!0}),m.LogService=m.LogLevel=void 0;var c,o=C(1);!function(a){a[a.DEBUG=0]="DEBUG",a[a.INFO=1]="INFO",a[a.WARN=2]="WARN",a[a.ERROR=3]="ERROR",a[a.OFF=4]="OFF"}(c=m.LogLevel||(m.LogLevel={}));var n={debug:c.DEBUG,info:c.INFO,warn:c.WARN,error:c.ERROR,off:c.OFF},t=function(){function a(d){var i=this;this._optionsService=d,this._updateLogLevel(),this._optionsService.onOptionChange(function(l){l==="logLevel"&&i._updateLogLevel()})}return a.prototype._updateLogLevel=function(){this._logLevel=n[this._optionsService.options.logLevel]},a.prototype._evalLazyOptionalParams=function(d){for(var i=0;i<d.length;i++)typeof d[i]=="function"&&(d[i]=d[i]())},a.prototype._log=function(d,i,l){this._evalLazyOptionalParams(l),d.call.apply(d,h([console,"xterm.js: "+i],l))},a.prototype.debug=function(d){for(var i=[],l=1;l<arguments.length;l++)i[l-1]=arguments[l];this._logLevel<=c.DEBUG&&this._log(console.log,d,i)},a.prototype.info=function(d){for(var i=[],l=1;l<arguments.length;l++)i[l-1]=arguments[l];this._logLevel<=c.INFO&&this._log(console.info,d,i)},a.prototype.warn=function(d){for(var i=[],l=1;l<arguments.length;l++)i[l-1]=arguments[l];this._logLevel<=c.WARN&&this._log(console.warn,d,i)},a.prototype.error=function(d){for(var i=[],l=1;l<arguments.length;l++)i[l-1]=arguments[l];this._logLevel<=c.ERROR&&this._log(console.error,d,i)},a=p([g(0,o.IOptionsService)],a)}();m.LogService=t},function(y,m,C){"use strict";var p,g=this&&this.__extends||(p=function(l,e){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var f in u)u.hasOwnProperty(f)&&(s[f]=u[f])})(l,e)},function(i,l){function e(){this.constructor=i}p(i,l),i.prototype=l===null?Object.create(l):(e.prototype=l.prototype,new e)}),h=this&&this.__decorate||function(i,l,e,s){var u,f=arguments.length,A=f<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,e):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")A=Reflect.decorate(i,l,e,s);else for(var v=i.length-1;v>=0;v--)(u=i[v])&&(A=(f<3?u(A):f>3?u(l,e,A):u(l,e))||A);return f>3&&A&&Object.defineProperty(l,e,A),A},c=this&&this.__param||function(i,l){return function(e,s){l(e,s,i)}};Object.defineProperty(m,"__esModule",{value:!0}),m.BufferService=m.MINIMUM_ROWS=m.MINIMUM_COLS=void 0;var o=C(1),n=C(69),t=C(0),a=C(2);m.MINIMUM_COLS=2,m.MINIMUM_ROWS=1;var d=function(i){function l(e){var s=i.call(this)||this;return s._optionsService=e,s.isUserScrolling=!1,s._onResize=new t.EventEmitter,s.cols=Math.max(e.options.cols,m.MINIMUM_COLS),s.rows=Math.max(e.options.rows,m.MINIMUM_ROWS),s.buffers=new n.BufferSet(e,s),s}return g(l,i),Object.defineProperty(l.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),l.prototype.dispose=function(){i.prototype.dispose.call(this),this.buffers.dispose()},l.prototype.resize=function(e,s){this.cols=e,this.rows=s,this.buffers.resize(e,s),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:e,rows:s})},l.prototype.reset=function(){this.buffers.dispose(),this.buffers=new n.BufferSet(this._optionsService,this),this.isUserScrolling=!1},l=h([c(0,o.IOptionsService)],l)}(a.Disposable);m.BufferService=d},function(y,m,C){"use strict";var p,g=this&&this.__extends||(p=function(t,a){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,i){d.__proto__=i}||function(d,i){for(var l in i)i.hasOwnProperty(l)&&(d[l]=i[l])})(t,a)},function(n,t){function a(){this.constructor=n}p(n,t),n.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)});Object.defineProperty(m,"__esModule",{value:!0}),m.BufferSet=void 0;var h=C(70),c=C(0),o=function(n){function t(a,d){var i=n.call(this)||this;return i._onBufferActivate=i.register(new c.EventEmitter),i._normal=new h.Buffer(!0,a,d),i._normal.fillViewportRows(),i._alt=new h.Buffer(!1,a,d),i._activeBuffer=i._normal,i.setupTabStops(),i}return g(t,n),Object.defineProperty(t.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),t.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}))},t.prototype.activateAltBuffer=function(a){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(a),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}))},t.prototype.resize=function(a,d){this._normal.resize(a,d),this._alt.resize(a,d)},t.prototype.setupTabStops=function(a){this._normal.setupTabStops(a),this._alt.setupTabStops(a)},t}(C(2).Disposable);m.BufferSet=o},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.BufferStringIterator=m.Buffer=m.MAX_BUFFER_SIZE=void 0;var p=C(71),g=C(16),h=C(4),c=C(3),o=C(72),n=C(73),t=C(20),a=C(6);m.MAX_BUFFER_SIZE=4294967295;var d=function(){function l(e,s,u){this._hasScrollback=e,this._optionsService=s,this._bufferService=u,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=g.DEFAULT_ATTR_DATA.clone(),this.savedCharset=t.DEFAULT_CHARSET,this.markers=[],this._nullCell=h.CellData.fromCharData([0,c.NULL_CELL_CHAR,c.NULL_CELL_WIDTH,c.NULL_CELL_CODE]),this._whitespaceCell=h.CellData.fromCharData([0,c.WHITESPACE_CELL_CHAR,c.WHITESPACE_CELL_WIDTH,c.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new p.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return l.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 a.ExtendedAttrs),this._nullCell},l.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 a.ExtendedAttrs),this._whitespaceCell},l.prototype.getBlankLine=function(e,s){return new g.BufferLine(this._bufferService.cols,this.getNullCell(e),s)},Object.defineProperty(l.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"isCursorInViewport",{get:function(){var s=this.ybase+this.y-this.ydisp;return s>=0&&s<this._rows},enumerable:!1,configurable:!0}),l.prototype._getCorrectBufferLength=function(e){if(!this._hasScrollback)return e;var s=e+this._optionsService.options.scrollback;return s>m.MAX_BUFFER_SIZE?m.MAX_BUFFER_SIZE:s},l.prototype.fillViewportRows=function(e){if(this.lines.length===0){e===void 0&&(e=g.DEFAULT_ATTR_DATA);for(var s=this._rows;s--;)this.lines.push(this.getBlankLine(e))}},l.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new p.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},l.prototype.resize=function(e,s){var u=this.getNullCell(g.DEFAULT_ATTR_DATA),f=this._getCorrectBufferLength(s);if(f>this.lines.maxLength&&(this.lines.maxLength=f),this.lines.length>0){if(this._cols<e)for(var A=0;A<this.lines.length;A++)this.lines.get(A).resize(e,u);var v=0;if(this._rows<s)for(var x=this._rows;x<s;x++)this.lines.length<s+this.ybase&&(this._optionsService.options.windowsMode?this.lines.push(new g.BufferLine(e,u)):this.ybase>0&&this.lines.length<=this.ybase+this.y+v+1?(this.ybase--,v++,this.ydisp>0&&this.ydisp--):this.lines.push(new g.BufferLine(e,u)));else for(x=this._rows;x>s;x--)this.lines.length>s+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(f<this.lines.maxLength){var b=this.lines.length-f;b>0&&(this.lines.trimStart(b),this.ybase=Math.max(this.ybase-b,0),this.ydisp=Math.max(this.ydisp-b,0),this.savedY=Math.max(this.savedY-b,0)),this.lines.maxLength=f}this.x=Math.min(this.x,e-1),this.y=Math.min(this.y,s-1),v&&(this.y+=v),this.savedX=Math.min(this.savedX,e-1),this.scrollTop=0}if(this.scrollBottom=s-1,this._isReflowEnabled&&(this._reflow(e,s),this._cols>e))for(A=0;A<this.lines.length;A++)this.lines.get(A).resize(e,u);this._cols=e,this._rows=s},Object.defineProperty(l.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.options.windowsMode},enumerable:!1,configurable:!0}),l.prototype._reflow=function(e,s){this._cols!==e&&(e>this._cols?this._reflowLarger(e,s):this._reflowSmaller(e,s))},l.prototype._reflowLarger=function(e,s){var u=o.reflowLargerGetLinesToRemove(this.lines,this._cols,e,this.ybase+this.y,this.getNullCell(g.DEFAULT_ATTR_DATA));if(u.length>0){var f=o.reflowLargerCreateNewLayout(this.lines,u);o.reflowLargerApplyNewLayout(this.lines,f.layout),this._reflowLargerAdjustViewport(e,s,f.countRemoved)}},l.prototype._reflowLargerAdjustViewport=function(e,s,u){for(var f=this.getNullCell(g.DEFAULT_ATTR_DATA),A=u;A-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length<s&&this.lines.push(new g.BufferLine(e,f))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-u,0)},l.prototype._reflowSmaller=function(e,s){for(var u=this.getNullCell(g.DEFAULT_ATTR_DATA),f=[],A=0,v=this.lines.length-1;v>=0;v--){var x=this.lines.get(v);if(!(!x||!x.isWrapped&&x.getTrimmedLength()<=e)){for(var b=[x];x.isWrapped&&v>0;)x=this.lines.get(--v),b.unshift(x);var w=this.ybase+this.y;if(!(w>=v&&w<v+b.length)){var _=b[b.length-1].getTrimmedLength(),T=o.reflowSmallerGetNewLineLengths(b,this._cols,e),S=T.length-b.length,E=void 0;E=this.ybase===0&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+S):Math.max(0,this.lines.length-this.lines.maxLength+S);for(var I=[],O=0;O<S;O++){var F=this.getBlankLine(g.DEFAULT_ATTR_DATA,!0);I.push(F)}I.length>0&&(f.push({start:v+b.length+A,newLines:I}),A+=I.length),b.push.apply(b,I);var k=T.length-1,M=T[k];M===0&&(M=T[--k]);for(var P=b.length-S-1,V=_;P>=0;){var D=Math.min(V,M);if(b[k].copyCellsFrom(b[P],V-D,M-D,D,!0),(M-=D)===0&&(M=T[--k]),(V-=D)===0){P--;var H=Math.max(P,0);V=o.getWrappedLineTrimmedLength(b,H,this._cols)}}for(O=0;O<b.length;O++)T[O]<e&&b[O].setCell(T[O],u);for(var U=S-E;U-- >0;)this.ybase===0?this.y<s-1?(this.y++,this.lines.pop()):(this.ybase++,this.ydisp++):this.ybase<Math.min(this.lines.maxLength,this.lines.length+A)-s&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+S,this.ybase+s-1)}}}if(f.length>0){var z=[],K=[];for(O=0;O<this.lines.length;O++)K.push(this.lines.get(O));var G=this.lines.length,X=G-1,Z=0,ee=f[Z];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+A);var Se=0;for(O=Math.min(this.lines.maxLength-1,G+A-1);O>=0;O--)if(ee&&ee.start>X+Se){for(var $=ee.newLines.length-1;$>=0;$--)this.lines.set(O--,ee.newLines[$]);O++,z.push({index:X+1,amount:ee.newLines.length}),Se+=ee.newLines.length,ee=f[++Z]}else this.lines.set(O,K[X--]);var pe=0;for(O=z.length-1;O>=0;O--)z[O].index+=pe,this.lines.onInsertEmitter.fire(z[O]),pe+=z[O].amount;var xe=Math.max(0,G+A-this.lines.maxLength);xe>0&&this.lines.onTrimEmitter.fire(xe)}},l.prototype.stringIndexToBufferIndex=function(e,s,u){for(u===void 0&&(u=!1);s;){var f=this.lines.get(e);if(!f)return[-1,-1];for(var A=u?f.getTrimmedLength():f.length,v=0;v<A;++v)if(f.get(v)[c.CHAR_DATA_WIDTH_INDEX]&&(s-=f.get(v)[c.CHAR_DATA_CHAR_INDEX].length||1),s<0)return[e,v];e++}return[e,0]},l.prototype.translateBufferLineToString=function(e,s,u,f){u===void 0&&(u=0);var A=this.lines.get(e);return A?A.translateToString(s,u,f):""},l.prototype.getWrappedRangeForLine=function(e){for(var s=e,u=e;s>0&&this.lines.get(s).isWrapped;)s--;for(;u+1<this.lines.length&&this.lines.get(u+1).isWrapped;)u++;return{first:s,last:u}},l.prototype.setupTabStops=function(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},l.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},l.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},l.prototype.addMarker=function(e){var s=this,u=new n.Marker(e);return this.markers.push(u),u.register(this.lines.onTrim(function(f){u.line-=f,u.line<0&&u.dispose()})),u.register(this.lines.onInsert(function(f){u.line>=f.index&&(u.line+=f.amount)})),u.register(this.lines.onDelete(function(f){u.line>=f.index&&u.line<f.index+f.amount&&u.dispose(),u.line>f.index&&(u.line-=f.amount)})),u.register(u.onDispose(function(){return s._removeMarker(u)})),u},l.prototype._removeMarker=function(e){this.markers.splice(this.markers.indexOf(e),1)},l.prototype.iterator=function(e,s,u,f,A){return new i(this,e,s,u,f,A)},l}();m.Buffer=d;var i=function(){function l(e,s,u,f,A,v){u===void 0&&(u=0),f===void 0&&(f=e.lines.length),A===void 0&&(A=0),v===void 0&&(v=0),this._buffer=e,this._trimRight=s,this._startIndex=u,this._endIndex=f,this._startOverscan=A,this._endOverscan=v,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return l.prototype.hasNext=function(){return this._current<this._endIndex},l.prototype.next=function(){var 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 s="",u=e.first;u<=e.last;++u)s+=this._buffer.translateBufferLineToString(u,this._trimRight);return this._current=e.last+1,{range:e,content:s}},l}();m.BufferStringIterator=i},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CircularList=void 0;var p=C(0),g=function(){function h(c){this._maxLength=c,this.onDeleteEmitter=new p.EventEmitter,this.onInsertEmitter=new p.EventEmitter,this.onTrimEmitter=new p.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(h.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"maxLength",{get:function(){return this._maxLength},set:function(o){if(this._maxLength!==o){for(var n=new Array(o),t=0;t<Math.min(o,this.length);t++)n[t]=this._array[this._getCyclicIndex(t)];this._array=n,this._maxLength=o,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"length",{get:function(){return this._length},set:function(o){if(o>this._length)for(var n=this._length;n<o;n++)this._array[n]=void 0;this._length=o},enumerable:!1,configurable:!0}),h.prototype.get=function(c){return this._array[this._getCyclicIndex(c)]},h.prototype.set=function(c,o){this._array[this._getCyclicIndex(c)]=o},h.prototype.push=function(c){this._array[this._getCyclicIndex(this._length)]=c,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1)):this._length++},h.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(h.prototype,"isFull",{get:function(){return this._length===this._maxLength},enumerable:!1,configurable:!0}),h.prototype.pop=function(){return this._array[this._getCyclicIndex(this._length---1)]},h.prototype.splice=function(c,o){for(var n=[],t=2;t<arguments.length;t++)n[t-2]=arguments[t];if(o){for(var a=c;a<this._length-o;a++)this._array[this._getCyclicIndex(a)]=this._array[this._getCyclicIndex(a+o)];this._length-=o}for(a=this._length-1;a>=c;a--)this._array[this._getCyclicIndex(a+n.length)]=this._array[this._getCyclicIndex(a)];for(a=0;a<n.length;a++)this._array[this._getCyclicIndex(c+a)]=n[a];if(this._length+n.length>this._maxLength){var d=this._length+n.length-this._maxLength;this._startIndex+=d,this._length=this._maxLength,this.onTrimEmitter.fire(d)}else this._length+=n.length},h.prototype.trimStart=function(c){c>this._length&&(c=this._length),this._startIndex+=c,this._length-=c,this.onTrimEmitter.fire(c)},h.prototype.shiftElements=function(c,o,n){if(!(o<=0)){if(c<0||c>=this._length)throw new Error("start argument out of range");if(c+n<0)throw new Error("Cannot shift elements in list beyond index 0");if(n>0){for(var t=o-1;t>=0;t--)this.set(c+t+n,this.get(c+t));var a=c+o+n-this._length;if(a>0)for(this._length+=a;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(t=0;t<o;t++)this.set(c+t+n,this.get(c+t))}},h.prototype._getCyclicIndex=function(c){return(this._startIndex+c)%this._maxLength},h}();m.CircularList=g},function(y,m,C){"use strict";function p(g,h,c){if(h===g.length-1)return g[h].getTrimmedLength();var o=!g[h].hasContent(c-1)&&g[h].getWidth(c-1)===1,n=g[h+1].getWidth(0)===2;return o&&n?c-1:c}Object.defineProperty(m,"__esModule",{value:!0}),m.getWrappedLineTrimmedLength=m.reflowSmallerGetNewLineLengths=m.reflowLargerApplyNewLayout=m.reflowLargerCreateNewLayout=m.reflowLargerGetLinesToRemove=void 0,m.reflowLargerGetLinesToRemove=function(g,h,c,o,n){for(var t=[],a=0;a<g.length-1;a++){var d=a,i=g.get(++d);if(i.isWrapped){for(var l=[g.get(a)];d<g.length&&i.isWrapped;)l.push(i),i=g.get(++d);if(o>=a&&o<d)a+=l.length-1;else{for(var e=0,s=p(l,e,h),u=1,f=0;u<l.length;){var A=p(l,u,h),v=A-f,x=c-s,b=Math.min(v,x);l[e].copyCellsFrom(l[u],f,s,b,!1),(s+=b)===c&&(e++,s=0),(f+=b)===A&&(u++,f=0),s===0&&e!==0&&l[e-1].getWidth(c-1)===2&&(l[e].copyCellsFrom(l[e-1],c-1,s++,1,!1),l[e-1].setCell(c-1,n))}l[e].replaceCells(s,c,n);for(var w=0,_=l.length-1;_>0&&(_>e||l[_].getTrimmedLength()===0);_--)w++;w>0&&(t.push(a+l.length-w),t.push(w)),a+=l.length-1}}}return t},m.reflowLargerCreateNewLayout=function(g,h){for(var c=[],o=0,n=h[o],t=0,a=0;a<g.length;a++)if(n===a){var d=h[++o];g.onDeleteEmitter.fire({index:a-t,amount:d}),a+=d-1,t+=d,n=h[++o]}else c.push(a);return{layout:c,countRemoved:t}},m.reflowLargerApplyNewLayout=function(g,h){for(var c=[],o=0;o<h.length;o++)c.push(g.get(h[o]));for(o=0;o<c.length;o++)g.set(o,c[o]);g.length=h.length},m.reflowSmallerGetNewLineLengths=function(g,h,c){for(var o=[],n=g.map(function(s,u){return p(g,u,h)}).reduce(function(s,u){return s+u}),t=0,a=0,d=0;d<n;){if(n-d<c){o.push(n-d);break}t+=c;var i=p(g,a,h);t>i&&(t-=i,a++);var l=g[a].getWidth(t-1)===2;l&&t--;var e=l?c-1:c;o.push(e),d+=e}return o},m.getWrappedLineTrimmedLength=p},function(y,m,C){"use strict";var p,g=this&&this.__extends||(p=function(n,t){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,d){a.__proto__=d}||function(a,d){for(var i in d)d.hasOwnProperty(i)&&(a[i]=d[i])})(n,t)},function(o,n){function t(){this.constructor=o}p(o,n),o.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)});Object.defineProperty(m,"__esModule",{value:!0}),m.Marker=void 0;var h=C(0),c=function(o){function n(t){var a=o.call(this)||this;return a.line=t,a._id=n._nextId++,a.isDisposed=!1,a._onDispose=new h.EventEmitter,a}return g(n,o),Object.defineProperty(n.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),n.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},n._nextId=1,n}(C(2).Disposable);m.Marker=c},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.OptionsService=m.DEFAULT_OPTIONS=m.DEFAULT_BELL_SOUND=void 0;var p=C(0),g=C(11),h=C(33);m.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",m.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:m.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,linkTooltipHoverDuration:500,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowProposedApi:!0,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:g.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var c=["cols","rows"],o=function(){function n(t){this._onOptionChange=new p.EventEmitter,this.options=h.clone(m.DEFAULT_OPTIONS);for(var a=0,d=Object.keys(t);a<d.length;a++){var i=d[a];if(i in this.options){var l=t[i];this.options[i]=l}}}return Object.defineProperty(n.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!1,configurable:!0}),n.prototype.setOption=function(t,a){if(!(t in m.DEFAULT_OPTIONS))throw new Error('No option with key "'+t+'"');if(c.indexOf(t)!==-1)throw new Error('Option "'+t+'" can only be set in the constructor');this.options[t]!==a&&(a=this._sanitizeAndValidateOption(t,a),this.options[t]!==a&&(this.options[t]=a,this._onOptionChange.fire(t)))},n.prototype._sanitizeAndValidateOption=function(t,a){switch(t){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":a||(a=m.DEFAULT_OPTIONS[t]);break;case"cursorWidth":a=Math.floor(a);case"lineHeight":case"tabStopWidth":if(a<1)throw new Error(t+" cannot be less than 1, value: "+a);break;case"minimumContrastRatio":a=Math.max(1,Math.min(21,Math.round(10*a)/10));break;case"scrollback":if((a=Math.min(a,4294967295))<0)throw new Error(t+" cannot be less than 0, value: "+a);break;case"fastScrollSensitivity":case"scrollSensitivity":if(a<=0)throw new Error(t+" cannot be less than or equal to 0, value: "+a)}return a},n.prototype.getOption=function(t){if(!(t in m.DEFAULT_OPTIONS))throw new Error('No option with key "'+t+'"');return this.options[t]},n}();m.OptionsService=o},function(y,m,C){"use strict";var p,g=this&&this.__extends||(p=function(s,u){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,A){f.__proto__=A}||function(f,A){for(var v in A)A.hasOwnProperty(v)&&(f[v]=A[v])})(s,u)},function(e,s){function u(){this.constructor=e}p(e,s),e.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}),h=this&&this.__decorate||function(e,s,u,f){var A,v=arguments.length,x=v<3?s:f===null?f=Object.getOwnPropertyDescriptor(s,u):f;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(e,s,u,f);else for(var b=e.length-1;b>=0;b--)(A=e[b])&&(x=(v<3?A(x):v>3?A(s,u,x):A(s,u))||x);return v>3&&x&&Object.defineProperty(s,u,x),x},c=this&&this.__param||function(e,s){return function(u,f){s(u,f,e)}};Object.defineProperty(m,"__esModule",{value:!0}),m.CoreService=void 0;var o=C(1),n=C(0),t=C(33),a=C(2),d=Object.freeze({insertMode:!1}),i=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),l=function(e){function s(u,f,A,v){var x=e.call(this)||this;return x._bufferService=f,x._logService=A,x._optionsService=v,x.isCursorInitialized=!1,x.isCursorHidden=!1,x._onData=x.register(new n.EventEmitter),x._onUserInput=x.register(new n.EventEmitter),x._onBinary=x.register(new n.EventEmitter),x._scrollToBottom=u,x.register({dispose:function(){return x._scrollToBottom=void 0}}),x.modes=t.clone(d),x.decPrivateModes=t.clone(i),x}return g(s,e),Object.defineProperty(s.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),s.prototype.reset=function(){this.modes=t.clone(d),this.decPrivateModes=t.clone(i)},s.prototype.triggerDataEvent=function(u,f){if(f===void 0&&(f=!1),!this._optionsService.options.disableStdin){var A=this._bufferService.buffer;A.ybase!==A.ydisp&&this._scrollToBottom(),f&&this._onUserInput.fire(),this._logService.debug('sending data "'+u+'"',function(){return u.split("").map(function(v){return v.charCodeAt(0)})}),this._onData.fire(u)}},s.prototype.triggerBinaryEvent=function(u){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+u+'"',function(){return u.split("").map(function(f){return f.charCodeAt(0)})}),this._onBinary.fire(u))},s=h([c(1,o.IBufferService),c(2,o.ILogService),c(3,o.IOptionsService)],s)}(a.Disposable);m.CoreService=l},function(y,m,C){"use strict";var p=this&&this.__decorate||function(i,l,e,s){var u,f=arguments.length,A=f<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,e):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")A=Reflect.decorate(i,l,e,s);else for(var v=i.length-1;v>=0;v--)(u=i[v])&&(A=(f<3?u(A):f>3?u(l,e,A):u(l,e))||A);return f>3&&A&&Object.defineProperty(l,e,A),A},g=this&&this.__param||function(i,l){return function(e,s){l(e,s,i)}};Object.defineProperty(m,"__esModule",{value:!0}),m.CoreMouseService=void 0;var h=C(1),c=C(0),o={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(l){return l.button!==4&&l.action===1&&(l.ctrl=!1,l.alt=!1,l.shift=!1,!0)}},VT200:{events:19,restrict:function(l){return l.action!==32}},DRAG:{events:23,restrict:function(l){return l.action!==32||l.button!==3}},ANY:{events:31,restrict:function(l){return!0}}};function n(i,l){var e=(i.ctrl?16:0)|(i.shift?4:0)|(i.alt?8:0);return i.button===4?(e|=64,e|=i.action):(e|=3&i.button,4&i.button&&(e|=64),8&i.button&&(e|=128),i.action===32?e|=32:i.action!==0||l||(e|=3)),e}var t=String.fromCharCode,a={DEFAULT:function(l){var e=[n(l,!1)+32,l.col+32,l.row+32];return e[0]>255||e[1]>255||e[2]>255?"":"[M"+t(e[0])+t(e[1])+t(e[2])},SGR:function(l){var e=l.action===0&&l.button!==4?"m":"M";return"[<"+n(l,!0)+";"+l.col+";"+l.row+e}},d=function(){function i(l,e){this._bufferService=l,this._coreService=e,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new c.EventEmitter,this._lastEvent=null;for(var s=0,u=Object.keys(o);s<u.length;s++){var f=u[s];this.addProtocol(f,o[f])}for(var A=0,v=Object.keys(a);A<v.length;A++){var x=v[A];this.addEncoding(x,a[x])}this.reset()}return i.prototype.addProtocol=function(l,e){this._protocols[l]=e},i.prototype.addEncoding=function(l,e){this._encodings[l]=e},Object.defineProperty(i.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(i.prototype,"areMouseEventsActive",{get:function(){return this._protocols[this._activeProtocol].events!==0},enumerable:!1,configurable:!0}),Object.defineProperty(i.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}),i.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(i.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!1,configurable:!0}),i.prototype.triggerMouseEvent=function(l){if(l.col<0||l.col>=this._bufferService.cols||l.row<0||l.row>=this._bufferService.rows)return!1;if(l.button===4&&l.action===32)return!1;if(l.button===3&&l.action!==32)return!1;if(l.button!==4&&(l.action===2||l.action===3))return!1;if(l.col++,l.row++,l.action===32&&this._lastEvent&&this._compareEvents(this._lastEvent,l))return!1;if(!this._protocols[this._activeProtocol].restrict(l))return!1;var e=this._encodings[this._activeEncoding](l);return e&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(e):this._coreService.triggerDataEvent(e,!0)),this._lastEvent=l,!0},i.prototype.explainEvents=function(l){return{down:!!(1&l),up:!!(2&l),drag:!!(4&l),move:!!(8&l),wheel:!!(16&l)}},i.prototype._compareEvents=function(l,e){return l.col===e.col&&l.row===e.row&&l.button===e.button&&l.action===e.action&&l.ctrl===e.ctrl&&l.alt===e.alt&&l.shift===e.shift},i=p([g(0,h.IBufferService),g(1,h.ICoreService)],i)}();m.CoreMouseService=d},function(y,m,C){"use strict";var p=this&&this.__decorate||function(o,n,t,a){var d,i=arguments.length,l=i<3?n:a===null?a=Object.getOwnPropertyDescriptor(n,t):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(o,n,t,a);else for(var e=o.length-1;e>=0;e--)(d=o[e])&&(l=(i<3?d(l):i>3?d(n,t,l):d(n,t))||l);return i>3&&l&&Object.defineProperty(n,t,l),l},g=this&&this.__param||function(o,n){return function(t,a){n(t,a,o)}};Object.defineProperty(m,"__esModule",{value:!0}),m.DirtyRowService=void 0;var h=C(1),c=function(){function o(n){this._bufferService=n,this.clearRange()}return Object.defineProperty(o.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),o.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},o.prototype.markDirty=function(n){n<this._start?this._start=n:n>this._end&&(this._end=n)},o.prototype.markRangeDirty=function(n,t){if(n>t){var a=n;n=t,t=a}n<this._start&&(this._start=n),t>this._end&&(this._end=t)},o.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},o=p([g(0,h.IBufferService)],o)}();m.DirtyRowService=c},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.UnicodeService=void 0;var p=C(0),g=C(79),h=function(){function c(){this._providers=Object.create(null),this._active="",this._onChange=new p.EventEmitter;var o=new g.UnicodeV6;this.register(o),this._active=o.version,this._activeProvider=o}return Object.defineProperty(c.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"activeVersion",{get:function(){return this._active},set:function(n){if(!this._providers[n])throw new Error('unknown Unicode version "'+n+'"');this._active=n,this._activeProvider=this._providers[n],this._onChange.fire(n)},enumerable:!1,configurable:!0}),c.prototype.register=function(o){this._providers[o.version]=o},c.prototype.wcwidth=function(o){return this._activeProvider.wcwidth(o)},c.prototype.getStringCellWidth=function(o){for(var n=0,t=o.length,a=0;a<t;++a){var d=o.charCodeAt(a);if(55296<=d&&d<=56319){if(++a>=t)return n+this.wcwidth(d);var i=o.charCodeAt(a);56320<=i&&i<=57343?d=1024*(d-55296)+i-56320+65536:n+=this.wcwidth(i)}n+=this.wcwidth(d)}return n},c}();m.UnicodeService=h},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.UnicodeV6=void 0;var p,g=C(15),h=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],c=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],o=function(){function n(){if(this.version="6",!p){p=new Uint8Array(65536),g.fill(p,1),p[0]=0,g.fill(p,0,1,32),g.fill(p,0,127,160),g.fill(p,2,4352,4448),p[9001]=2,p[9002]=2,g.fill(p,2,11904,42192),p[12351]=1,g.fill(p,2,44032,55204),g.fill(p,2,63744,64256),g.fill(p,2,65040,65050),g.fill(p,2,65072,65136),g.fill(p,2,65280,65377),g.fill(p,2,65504,65511);for(var t=0;t<h.length;++t)g.fill(p,0,h[t][0],h[t][1]+1)}}return n.prototype.wcwidth=function(t){return t<32?0:t<127?1:t<65536?p[t]:function(a,d){var i,l=0,e=d.length-1;if(a<d[0][0]||a>d[e][1])return!1;for(;e>=l;)if(a>d[i=l+e>>1][1])l=i+1;else{if(!(a<d[i][0]))return!0;e=i-1}return!1}(t,c)?0:t>=131072&&t<=196605||t>=196608&&t<=262141?2:1},n}();m.UnicodeV6=o},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CharsetService=void 0;var p=function(){function g(){this.glevel=0,this._charsets=[]}return g.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},g.prototype.setgLevel=function(h){this.glevel=h,this.charset=this._charsets[h]},g.prototype.setgCharset=function(h,c){this._charsets[h]=c,this.glevel===h&&(this.charset=c)},g}();m.CharsetService=p},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.updateWindowsModeWrappedState=void 0;var p=C(3);m.updateWindowsModeWrappedState=function(g){var h=g.buffer.lines.get(g.buffer.ybase+g.buffer.y-1),c=h==null?void 0:h.get(g.cols-1),o=g.buffer.lines.get(g.buffer.ybase+g.buffer.y);o&&c&&(o.isWrapped=c[p.CHAR_DATA_CODE_INDEX]!==p.NULL_CELL_CODE&&c[p.CHAR_DATA_CODE_INDEX]!==p.WHITESPACE_CELL_CODE)}},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.WriteBuffer=void 0;var p=function(){function g(h){this._action=h,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return g.prototype.writeSync=function(h){if(this._writeBuffer.length){for(var c=this._bufferOffset;c<this._writeBuffer.length;++c){var o=this._writeBuffer[c],n=this._callbacks[c];this._action(o),n&&n()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(h)},g.prototype.write=function(h,c){var o=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 o._innerWrite()})),this._pendingData+=h.length,this._writeBuffer.push(h),this._callbacks.push(c)},g.prototype._innerWrite=function(){for(var h=this,c=Date.now();this._writeBuffer.length>this._bufferOffset;){var o=this._writeBuffer[this._bufferOffset],n=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(o),this._pendingData-=o.length,n&&n(),Date.now()-c>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout(function(){return h._innerWrite()},0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},g}();m.WriteBuffer=p},function(y,m,C){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.AddonManager=void 0;var p=function(){function g(){this._addons=[]}return g.prototype.dispose=function(){for(var h=this._addons.length-1;h>=0;h--)this._addons[h].instance.dispose()},g.prototype.loadAddon=function(h,c){var o=this,n={instance:c,dispose:c.dispose,isDisposed:!1};this._addons.push(n),c.dispose=function(){return o._wrappedAddonDispose(n)},c.activate(h)},g.prototype._wrappedAddonDispose=function(h){if(!h.isDisposed){for(var c=-1,o=0;o<this._addons.length;o++)if(this._addons[o]===h){c=o;break}if(c===-1)throw new Error("Could not dispose an addon that has not been loaded");h.isDisposed=!0,h.dispose.apply(h.instance),this._addons.splice(c,1)}},g}();m.AddonManager=p}])})},"/SeX":function(B,N,r){var y=r("knOB"),m=r("qZFw"),C=function(g){this.name=g||"",this.cx=0,this.cy=0,this._radiusAxis=new y,this._angleAxis=new m,this._radiusAxis.polar=this._angleAxis.polar=this};C.prototype={type:"polar",axisPointerEnabled:!0,constructor:C,dimensions:["radius","angle"],model:null,containPoint:function(g){var h=this.pointToCoord(g);return this._radiusAxis.contain(h[0])&&this._angleAxis.contain(h[1])},containData:function(g){return this._radiusAxis.containData(g[0])&&this._angleAxis.containData(g[1])},getAxis:function(g){return this["_"+g+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(g){var h=[],c=this._angleAxis,o=this._radiusAxis;return c.scale.type===g&&h.push(c),o.scale.type===g&&h.push(o),h},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(g){var h=this._angleAxis;return g===h?this._radiusAxis:h},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(g){var h=g!=null&&g!=="auto"?this.getAxis(g):this.getBaseAxis();return{baseAxes:[h],otherAxes:[this.getOtherAxis(h)]}},dataToPoint:function(g,h){return this.coordToPoint([this._radiusAxis.dataToRadius(g[0],h),this._angleAxis.dataToAngle(g[1],h)])},pointToData:function(g,h){var c=this.pointToCoord(g);return[this._radiusAxis.radiusToData(c[0],h),this._angleAxis.angleToData(c[1],h)]},pointToCoord:function(g){var h=g[0]-this.cx,c=g[1]-this.cy,o=this.getAngleAxis(),n=o.getExtent(),t=Math.min(n[0],n[1]),a=Math.max(n[0],n[1]);o.inverse?t=a-360:a=t+360;var d=Math.sqrt(h*h+c*c);h/=d,c/=d;for(var i=Math.atan2(-c,h)/Math.PI*180,l=i<t?1:-1;i<t||i>a;)i+=l*360;return[d,i]},coordToPoint:function(g){var h=g[0],c=g[1]/180*Math.PI,o=Math.cos(c)*h+this.cx,n=-Math.sin(c)*h+this.cy;return[o,n]},getArea:function(){var g=this.getAngleAxis(),h=this.getRadiusAxis(),c=h.getExtent().slice();c[0]>c[1]&&c.reverse();var o=g.getExtent(),n=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:c[0],r:c[1],startAngle:-o[0]*n,endAngle:-o[1]*n,clockwise:g.inverse,contain:function(t,a){var d=t-this.cx,i=a-this.cy,l=d*d+i*i,e=this.r,s=this.r0;return l<=e*e&&l>=s*s}}}};var p=C;B.exports=p},"/WM3":function(B,N,r){var y=r("QuXc"),m=r("bYtY"),C=m.isFunction,p={createOnAllSeries:!0,performRawSeries:!0,reset:function(g,h){var c=g.getData(),o=(g.visualColorAccessPath||"itemStyle.color").split("."),n=g.get(o),t=C(n)&&!(n instanceof y)?n:null;(!n||t)&&(n=g.getColorFromPalette(g.name,null,h.getSeriesCount())),c.setVisual("color",n);var a=(g.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),d=g.get(a);if(c.setVisual("borderColor",d),!h.isSeriesFiltered(g)){t&&c.each(function(l){c.setItemVisual(l,"color",t(g.getDataParams(l)))});var i=function(l,e){var s=l.getItemModel(e),u=s.get(o,!0),f=s.get(a,!0);u!=null&&l.setItemVisual(e,"color",u),f!=null&&l.setItemVisual(e,"borderColor",f)};return{dataEach:c.hasItemOption?i:null}}}};B.exports=p},"/d5a":function(B,N){var r={average:function(C){for(var p=0,g=0,h=0;h<C.length;h++)isNaN(C[h])||(p+=C[h],g++);return g===0?NaN:p/g},sum:function(C){for(var p=0,g=0;g<C.length;g++)p+=C[g]||0;return p},max:function(C){for(var p=-Infinity,g=0;g<C.length;g++)C[g]>p&&(p=C[g]);return isFinite(p)?p:NaN},min:function(C){for(var p=Infinity,g=0;g<C.length;g++)C[g]<p&&(p=C[g]);return isFinite(p)?p:NaN},nearest:function(C){return C[0]}},y=function(C,p){return Math.round(C.length/2)};function m(C){return{seriesType:C,modifyOutputEnd:!0,reset:function(p,g,h){var c=p.getData(),o=p.get("sampling"),n=p.coordinateSystem;if(n.type==="cartesian2d"&&o){var t=n.getBaseAxis(),a=n.getOtherAxis(t),d=t.getExtent(),i=d[1]-d[0],l=Math.round(c.count()/i);if(l>1){var e;typeof o=="string"?e=r[o]:typeof o=="function"&&(e=o),e&&p.setData(c.downSample(c.mapDimension(a.dim),1/l,e,y))}}}}}B.exports=m},"/ezw":function(B,N,r){"use strict";var y=r("lSNA"),m=r.n(y),C=r("pVnL"),p=r.n(C),g=r("cDf5"),h=r.n(g),c=r("q1tI"),o=r("TSYQ"),n=r.n(o),t=function(U){var z=U.prefixCls,K=U.className,G=U.width,X=U.style;return c.createElement("h3",{className:n()(z,K),style:p()({width:G},X)})},a=t,d=r("RIqP"),i=r.n(d),l=function(U){var z=function($){var pe=U.width,xe=U.rows,_e=xe===void 0?2:xe;return Array.isArray(pe)?pe[$]:_e-1===$?pe:void 0},K=U.prefixCls,G=U.className,X=U.style,Z=U.rows,ee=i()(Array(Z)).map(function(Se,$){return c.createElement("li",{key:$,style:{width:z($)}})});return c.createElement("ul",{className:n()(K,G),style:X},ee)},e=l,s=r("H84U"),u=function(U){var z,K,G=U.prefixCls,X=U.className,Z=U.style,ee=U.size,Se=U.shape,$=n()((z={},m()(z,"".concat(G,"-lg"),ee==="large"),m()(z,"".concat(G,"-sm"),ee==="small"),z)),pe=n()((K={},m()(K,"".concat(G,"-circle"),Se==="circle"),m()(K,"".concat(G,"-square"),Se==="square"),m()(K,"".concat(G,"-round"),Se==="round"),K)),xe=typeof ee=="number"?{width:ee,height:ee,lineHeight:"".concat(ee,"px")}:{};return c.createElement("span",{className:n()(G,X,$,pe),style:p()(p()({},xe),Z)})},f=u,A=r("BGR+"),v=function(U){var z=function(G){var X=G.getPrefixCls,Z=U.prefixCls,ee=U.className,Se=U.active,$=X("skeleton",Z),pe=Object(A.default)(U,["prefixCls"]),xe=n()($,ee,"".concat($,"-element"),m()({},"".concat($,"-active"),Se));return c.createElement("div",{className:xe},c.createElement(f,p()({prefixCls:"".concat($,"-avatar")},pe)))};return c.createElement(s.a,null,z)};v.defaultProps={size:"default",shape:"circle"};var x=v,b=function(U){var z=function(G){var X=G.getPrefixCls,Z=U.prefixCls,ee=U.className,Se=U.active,$=X("skeleton",Z),pe=Object(A.default)(U,["prefixCls"]),xe=n()($,ee,"".concat($,"-element"),m()({},"".concat($,"-active"),Se));return c.createElement("div",{className:xe},c.createElement(f,p()({prefixCls:"".concat($,"-button")},pe)))};return c.createElement(s.a,null,z)};b.defaultProps={size:"default"};var w=b,_=function(U){var z=function(G){var X=G.getPrefixCls,Z=U.prefixCls,ee=U.className,Se=U.active,$=X("skeleton",Z),pe=Object(A.default)(U,["prefixCls"]),xe=n()($,ee,"".concat($,"-element"),m()({},"".concat($,"-active"),Se));return c.createElement("div",{className:xe},c.createElement(f,p()({prefixCls:"".concat($,"-input")},pe)))};return c.createElement(s.a,null,z)};_.defaultProps={size:"default"};var T=_,S="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",E=function(U){var z=function(G){var X=G.getPrefixCls,Z=U.prefixCls,ee=U.className,Se=U.style,$=X("skeleton",Z),pe=n()($,ee,"".concat($,"-element"));return c.createElement("div",{className:pe},c.createElement("div",{className:n()("".concat($,"-image"),ee),style:Se},c.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat($,"-image-svg")},c.createElement("path",{d:S,className:"".concat($,"-image-path")}))))};return c.createElement(s.a,null,z)},I=E;function O(H){return H&&h()(H)==="object"?H:{}}function F(H,U){return H&&!U?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function k(H,U){return!H&&U?{width:"38%"}:H&&U?{width:"50%"}:{}}function M(H,U){var z={};return(!H||!U)&&(z.width="61%"),!H&&U?z.rows=3:z.rows=2,z}var P=function(U){var z=function(G){var X=G.getPrefixCls,Z=G.direction,ee=U.prefixCls,Se=U.loading,$=U.className,pe=U.children,xe=U.avatar,_e=U.title,Ue=U.paragraph,ye=U.active,Be=U.round,Q=X("skeleton",ee);if(Se||!("loading"in U)){var ie,Ve=!!xe,J=!!_e,W=!!Ue,j;if(Ve){var Y=p()(p()({prefixCls:"".concat(Q,"-avatar")},F(J,W)),O(xe));j=c.createElement("div",{className:"".concat(Q,"-header")},c.createElement(f,Y))}var me;if(J||W){var ae;if(J){var Le=p()(p()({prefixCls:"".concat(Q,"-title")},k(Ve,W)),O(_e));ae=c.createElement(a,Le)}var Ee;if(W){var ne=p()(p()({prefixCls:"".concat(Q,"-paragraph")},M(Ve,J)),O(Ue));Ee=c.createElement(e,ne)}me=c.createElement("div",{className:"".concat(Q,"-content")},ae,Ee)}var ge=n()(Q,$,(ie={},m()(ie,"".concat(Q,"-with-avatar"),Ve),m()(ie,"".concat(Q,"-active"),ye),m()(ie,"".concat(Q,"-rtl"),Z==="rtl"),m()(ie,"".concat(Q,"-round"),Be),ie));return c.createElement("div",{className:ge},j,me)}return pe};return c.createElement(s.a,null,z)};P.defaultProps={avatar:!1,title:!0,paragraph:!0},P.Button=w,P.Avatar=x,P.Input=T,P.Image=I;var V=P,D=N.a=V},"/iHx":function(B,N,r){var y=r("6GrX"),m=r("IwbS"),C=["textStyle","color"],p={getTextColor:function(g){var h=this.ecModel;return this.getShallow("color")||(!g&&h?h.get(C):null)},getFont:function(){return m.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(g){return y.getBoundingRect(g,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};B.exports=p},"/ry/":function(B,N,r){var y=r("bYtY"),m=r("T4UG"),C=r("5GhG"),p=C.seriesModelMixin,g=m.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}});y.mixin(g,p,!0);var h=g;B.exports=h},"/stD":function(B,N,r){var y=r("bYtY"),m=r("IUWy"),C=r("Kagy"),p=C.toolbox.brush;function g(o,n,t){this.model=o,this.ecModel=n,this.api=t,this._brushType,this._brushMode}g.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:y.clone(p.title)};var h=g.prototype;h.render=h.updateView=function(o,n,t){var a,d,i;n.eachComponent({mainType:"brush"},function(l){a=l.brushType,d=l.brushOption.brushMode||"single",i|=l.areas.length}),this._brushType=a,this._brushMode=d,y.each(o.get("type",!0),function(l){o.setIconStatus(l,(l==="keep"?d==="multiple":l==="clear"?i:l===a)?"emphasis":"normal")})},h.getIcons=function(){var o=this.model,n=o.get("icon",!0),t={};return y.each(o.get("type",!0),function(a){n[a]&&(t[a]=n[a])}),t},h.onclick=function(o,n,t){var a=this._brushType,d=this._brushMode;t==="clear"?(n.dispatchAction({type:"axisAreaSelect",intervals:[]}),n.dispatchAction({type:"brush",command:"clear",areas:[]})):n.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:t==="keep"?a:a===t?!1:t,brushMode:t==="keep"?d==="multiple"?"single":"multiple":d}})},m.register("brush",g);var c=g;B.exports=c},"/wGt":function(B,N,r){"use strict";var y=r("lSNA"),m=r.n(y),C=r("pVnL"),p=r.n(C),g=r("lwsE"),h=r.n(g),c=r("W8MJ"),o=r.n(c),n=r("PJYZ"),t=r.n(n),a=r("7W2i"),d=r.n(a),i=r("LQ03"),l=r.n(i),e=r("q1tI"),s=r("Ff2n"),u=r("1OyB"),f=r("vuIU"),A=r("Ji7U"),v=r("md7G"),x=r("foSv"),b=r("1W/9"),w=r("rePB"),_=r("JX7q"),T=r("TSYQ"),S=r.n(T),E=r("qx4F"),I=r("4IlW");function O(ae){return Array.isArray(ae)?ae:[ae]}var F={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},k=Object.keys(F).filter(function(ae){if(typeof document=="undefined")return!1;var Le=document.getElementsByTagName("html")[0];return ae in(Le?Le.style:{})})[0],M=F[k];function P(ae,Le,Ee,ne){ae.addEventListener?ae.addEventListener(Le,Ee,ne):ae.attachEvent&&ae.attachEvent("on".concat(Le),Ee)}function V(ae,Le,Ee,ne){ae.removeEventListener?ae.removeEventListener(Le,Ee,ne):ae.attachEvent&&ae.detachEvent("on".concat(Le),Ee)}function D(ae,Le){var Ee=typeof ae=="function"?ae(Le):ae;return Array.isArray(Ee)?Ee.length===2?Ee:[Ee[0],Ee[1]]:[Ee]}var H=function(Le){return!isNaN(parseFloat(Le))&&isFinite(Le)},U=!(typeof window!="undefined"&&window.document&&window.document.createElement),z=function ae(Le,Ee,ne,ge){if(!Ee||Ee===document||Ee instanceof Document)return!1;if(Ee===Le.parentNode)return!0;var Ie=Math.max(Math.abs(ne),Math.abs(ge))===Math.abs(ge),Ge=Math.max(Math.abs(ne),Math.abs(ge))===Math.abs(ne),ut=Ee.scrollHeight-Ee.clientHeight,wt=Ee.scrollWidth-Ee.clientWidth,Pe=document.defaultView.getComputedStyle(Ee),Dt=Pe.overflowY==="auto"||Pe.overflowY==="scroll",et=Pe.overflowX==="auto"||Pe.overflowX==="scroll",_t=ut&&Dt,Nt=wt&&et;return Ie&&(!_t||_t&&(Ee.scrollTop>=ut&&ge<0||Ee.scrollTop<=0&&ge>0))||Ge&&(!Nt||Nt&&(Ee.scrollLeft>=wt&&ne<0||Ee.scrollLeft<=0&&ne>0))?ae(Le,Ee.parentNode,ne,ge):!1};function K(ae){var Le=G();return function(){var ne=Object(x.a)(ae),ge;if(Le){var Ie=Object(x.a)(this).constructor;ge=Reflect.construct(ne,arguments,Ie)}else ge=ne.apply(this,arguments);return Object(v.a)(this,ge)}}function G(){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(ae){return!1}}var X={},Z=function(ae){Object(A.a)(Ee,ae);var Le=K(Ee);function Ee(ne){var ge;return Object(u.a)(this,Ee),ge=Le.call(this,ne),ge.domFocus=function(){ge.dom&&ge.dom.focus()},ge.removeStartHandler=function(Ie){if(Ie.touches.length>1)return;ge.startPos={x:Ie.touches[0].clientX,y:Ie.touches[0].clientY}},ge.removeMoveHandler=function(Ie){if(Ie.changedTouches.length>1)return;var Ge=Ie.currentTarget,ut=Ie.changedTouches[0].clientX-ge.startPos.x,wt=Ie.changedTouches[0].clientY-ge.startPos.y;(Ge===ge.maskDom||Ge===ge.handlerDom||Ge===ge.contentDom&&z(Ge,Ie.target,ut,wt))&&Ie.cancelable&&Ie.preventDefault()},ge.transitionEnd=function(Ie){var Ge=Ie.target;V(Ge,M,ge.transitionEnd),Ge.style.transition=""},ge.onKeyDown=function(Ie){if(Ie.keyCode===I.a.ESC){var Ge=ge.props.onClose;Ie.stopPropagation(),Ge&&Ge(Ie)}},ge.onWrapperTransitionEnd=function(Ie){var Ge=ge.props,ut=Ge.open,wt=Ge.afterVisibleChange;Ie.target===ge.contentWrapper&&Ie.propertyName.match(/transform$/)&&(ge.dom.style.transition="",!ut&&ge.getCurrentDrawerSome()&&(document.body.style.overflowX="",ge.maskDom&&(ge.maskDom.style.left="",ge.maskDom.style.width="")),wt&&wt(!!ut))},ge.openLevelTransition=function(){var Ie=ge.props,Ge=Ie.open,ut=Ie.width,wt=Ie.height,Pe=ge.getHorizontalBoolAndPlacementName(),Dt=Pe.isHorizontal,et=Pe.placementName,_t=ge.contentDom?ge.contentDom.getBoundingClientRect()[Dt?"width":"height"]:0,Nt=(Dt?ut:wt)||_t;ge.setLevelAndScrolling(Ge,et,Nt)},ge.setLevelTransform=function(Ie,Ge,ut,wt){var Pe=ge.props,Dt=Pe.placement,et=Pe.levelMove,_t=Pe.duration,Nt=Pe.ease,Bt=Pe.showMask;ge.levelDom.forEach(function(Ft){Ft.style.transition="transform ".concat(_t," ").concat(Nt),P(Ft,M,ge.transitionEnd);var Gt=Ie?ut:0;if(et){var qe=D(et,{target:Ft,open:Ie});Gt=Ie?qe[0]:qe[1]||0}var we=typeof Gt=="number"?"".concat(Gt,"px"):Gt,ue=Dt==="left"||Dt==="top"?we:"-".concat(we);ue=Bt&&Dt==="right"&&wt?"calc(".concat(ue," + ").concat(wt,"px)"):ue,Ft.style.transform=Gt?"".concat(Ge,"(").concat(ue,")"):""})},ge.setLevelAndScrolling=function(Ie,Ge,ut){var wt=ge.props.onChange;if(!U){var Pe=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?Object(E.a)(!0):0;ge.setLevelTransform(Ie,Ge,ut,Pe),ge.toggleScrollingToDrawerAndBody(Pe)}wt&&wt(Ie)},ge.toggleScrollingToDrawerAndBody=function(Ie){var Ge=ge.props,ut=Ge.getOpenCount,wt=Ge.getContainer,Pe=Ge.showMask,Dt=Ge.open,et=wt&&wt(),_t=ut&&ut();if(et&&et.parentNode===document.body&&Pe){var Nt=["touchstart"],Bt=[document.body,ge.maskDom,ge.handlerDom,ge.contentDom];Dt&&document.body.style.overflow!=="hidden"?(Ie&&ge.addScrollingEffect(Ie),_t===1&&(document.body.style.overflow="hidden"),document.body.style.touchAction="none",Bt.forEach(function(Ft,Gt){if(!Ft)return;P(Ft,Nt[Gt]||"touchmove",Gt?ge.removeMoveHandler:ge.removeStartHandler,ge.passive)})):ge.getCurrentDrawerSome()&&(_t||(document.body.style.overflow=""),document.body.style.touchAction="",Ie&&ge.remScrollingEffect(Ie),Bt.forEach(function(Ft,Gt){if(!Ft)return;V(Ft,Nt[Gt]||"touchmove",Gt?ge.removeMoveHandler:ge.removeStartHandler,ge.passive)}))}},ge.addScrollingEffect=function(Ie){var Ge=ge.props,ut=Ge.placement,wt=Ge.duration,Pe=Ge.ease,Dt=Ge.getOpenCount,et=Ge.switchScrollingEffect,_t=Dt&&Dt();_t===1&&et();var Nt="width ".concat(wt," ").concat(Pe),Bt="transform ".concat(wt," ").concat(Pe);ge.dom.style.transition="none";switch(ut){case"right":ge.dom.style.transform="translateX(-".concat(Ie,"px)");break;case"top":case"bottom":ge.dom.style.width="calc(100% - ".concat(Ie,"px)"),ge.dom.style.transform="translateZ(0)";break;default:break}clearTimeout(ge.timeout),ge.timeout=setTimeout(function(){ge.dom&&(ge.dom.style.transition="".concat(Bt,",").concat(Nt),ge.dom.style.width="",ge.dom.style.transform="")})},ge.remScrollingEffect=function(Ie){var Ge=ge.props,ut=Ge.placement,wt=Ge.duration,Pe=Ge.ease,Dt=Ge.getOpenCount,et=Ge.switchScrollingEffect,_t=Dt&&Dt();_t||et(!0),k&&(document.body.style.overflowX="hidden"),ge.dom.style.transition="none";var Nt,Bt="width ".concat(wt," ").concat(Pe),Ft="transform ".concat(wt," ").concat(Pe);switch(ut){case"left":{ge.dom.style.width="100%",Bt="width 0s ".concat(Pe," ").concat(wt);break}case"right":{ge.dom.style.transform="translateX(".concat(Ie,"px)"),ge.dom.style.width="100%",Bt="width 0s ".concat(Pe," ").concat(wt),ge.maskDom&&(ge.maskDom.style.left="-".concat(Ie,"px"),ge.maskDom.style.width="calc(100% + ".concat(Ie,"px)"));break}case"top":case"bottom":{ge.dom.style.width="calc(100% + ".concat(Ie,"px)"),ge.dom.style.height="100%",ge.dom.style.transform="translateZ(0)",Nt="height 0s ".concat(Pe," ").concat(wt);break}default:break}clearTimeout(ge.timeout),ge.timeout=setTimeout(function(){ge.dom&&(ge.dom.style.transition="".concat(Ft,",").concat(Nt?"".concat(Nt,","):"").concat(Bt),ge.dom.style.transform="",ge.dom.style.width="",ge.dom.style.height="")})},ge.getCurrentDrawerSome=function(){return!Object.keys(X).some(function(Ie){return X[Ie]})},ge.getLevelDom=function(Ie){var Ge=Ie.level,ut=Ie.getContainer;if(U)return;var wt=ut&&ut(),Pe=wt?wt.parentNode:null;if(ge.levelDom=[],Ge==="all"){var Dt=Pe?Array.prototype.slice.call(Pe.children):[];Dt.forEach(function(et){et.nodeName!=="SCRIPT"&&et.nodeName!=="STYLE"&&et.nodeName!=="LINK"&&et!==wt&&ge.levelDom.push(et)})}else Ge&&O(Ge).forEach(function(et){document.querySelectorAll(et).forEach(function(_t){ge.levelDom.push(_t)})})},ge.getHorizontalBoolAndPlacementName=function(){var Ie=ge.props.placement,Ge=Ie==="left"||Ie==="right",ut="translate".concat(Ge?"X":"Y");return{isHorizontal:Ge,placementName:ut}},ge.state={_self:Object(_.a)(ge)},ge}return Object(f.a)(Ee,[{key:"componentDidMount",value:function(){var ge=this;if(!U){var Ie=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Ie=!0,null}}))}catch(Dt){}this.passive=Ie?{passive:!1}:!1}var Ge=this.props,ut=Ge.open,wt=Ge.getContainer,Pe=wt&&wt();this.drawerId="drawer_id_".concat(Number((Date.now()+Math.random()).toString().replace(".",Math.round(Math.random()*9).toString())).toString(16)),this.getLevelDom(this.props),ut&&(Pe&&Pe.parentNode===document.body&&(X[this.drawerId]=ut),this.openLevelTransition(),this.forceUpdate(function(){ge.domFocus()}))}},{key:"componentDidUpdate",value:function(ge){var Ie=this.props,Ge=Ie.open,ut=Ie.getContainer,wt=ut&&ut();Ge!==ge.open&&(Ge&&this.domFocus(),wt&&wt.parentNode===document.body&&(X[this.drawerId]=!!Ge),this.openLevelTransition())}},{key:"componentWillUnmount",value:function(){var ge=this.props,Ie=ge.getOpenCount,Ge=ge.open,ut=ge.switchScrollingEffect,wt=typeof Ie=="function"&&Ie();delete X[this.drawerId],Ge&&(this.setLevelTransform(!1),document.body.style.touchAction=""),wt||(document.body.style.overflow="",ut(!0))}},{key:"render",value:function(){var ge,Ie=this,Ge=this.props,ut=Ge.className,wt=Ge.children,Pe=Ge.style,Dt=Ge.width,et=Ge.height,_t=Ge.defaultOpen,Nt=Ge.open,Bt=Ge.prefixCls,Ft=Ge.placement,Gt=Ge.level,qe=Ge.levelMove,we=Ge.ease,ue=Ge.duration,vt=Ge.getContainer,at=Ge.handler,Ae=Ge.onChange,Xt=Ge.afterVisibleChange,Ot=Ge.showMask,rt=Ge.maskClosable,Et=Ge.maskStyle,Zt=Ge.onClose,vr=Ge.onHandleClick,mt=Ge.keyboard,ce=Ge.getOpenCount,le=Ge.switchScrollingEffect,oe=Object(s.a)(Ge,["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"]),fe=this.dom?Nt:!1,De=S()(Bt,(ge={},Object(w.a)(ge,"".concat(Bt,"-").concat(Ft),!0),Object(w.a)(ge,"".concat(Bt,"-open"),fe),Object(w.a)(ge,ut||"",!!ut),Object(w.a)(ge,"no-mask",!Ot),ge)),He=this.getHorizontalBoolAndPlacementName(),je=He.placementName,We=Ft==="left"||Ft==="top"?"-100%":"100%",nt=fe?"":"".concat(je,"(").concat(We,")"),xt=at&&e.cloneElement(at,{onClick:function(ir){at.props.onClick&&at.props.onClick(),vr&&vr(ir)},ref:function(ir){Ie.handlerDom=ir}});return e.createElement("div",Object.assign({},oe,{tabIndex:-1,className:De,style:Pe,ref:function(ir){Ie.dom=ir},onKeyDown:fe&&mt?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),Ot&&e.createElement("div",{className:"".concat(Bt,"-mask"),onClick:rt?Zt:void 0,style:Et,ref:function(ir){Ie.maskDom=ir}}),e.createElement("div",{className:"".concat(Bt,"-content-wrapper"),style:{transform:nt,msTransform:nt,width:H(Dt)?"".concat(Dt,"px"):Dt,height:H(et)?"".concat(et,"px"):et},ref:function(ir){Ie.contentWrapper=ir}},e.createElement("div",{className:"".concat(Bt,"-content"),ref:function(ir){Ie.contentDom=ir},onTouchStart:fe&&Ot?this.removeStartHandler:void 0,onTouchMove:fe&&Ot?this.removeMoveHandler:void 0},wt),xt))}}],[{key:"getDerivedStateFromProps",value:function(ge,Ie){var Ge=Ie.prevProps,ut=Ie._self,wt={prevProps:ge};if(Ge!==void 0){var Pe=ge.placement,Dt=ge.level;Pe!==Ge.placement&&(ut.contentDom=null),Dt!==Ge.level&&ut.getLevelDom(ge)}return wt}}]),Ee}(e.Component);Z.defaultProps={switchScrollingEffect:function(){}};var ee=Z;function Se(ae){var Le=$();return function(){var ne=Object(x.a)(ae),ge;if(Le){var Ie=Object(x.a)(this).constructor;ge=Reflect.construct(ne,arguments,Ie)}else ge=ne.apply(this,arguments);return Object(v.a)(this,ge)}}function $(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(ae){return!1}}var pe=function(ae){Object(A.a)(Ee,ae);var Le=Se(Ee);function Ee(ne){var ge;Object(u.a)(this,Ee),ge=Le.call(this,ne),ge.onHandleClick=function(Ge){var ut=ge.props,wt=ut.onHandleClick,Pe=ut.open;if(wt&&wt(Ge),typeof Pe=="undefined"){var Dt=ge.state.open;ge.setState({open:!Dt})}},ge.onClose=function(Ge){var ut=ge.props,wt=ut.onClose,Pe=ut.open;wt&&wt(Ge),typeof Pe=="undefined"&&ge.setState({open:!1})};var Ie=typeof ne.open!="undefined"?ne.open:!!ne.defaultOpen;return ge.state={open:Ie},"onMaskClick"in ne&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),ge}return Object(f.a)(Ee,[{key:"render",value:function(){var ge=this,Ie=this.props,Ge=Ie.defaultOpen,ut=Ie.getContainer,wt=Ie.wrapperClassName,Pe=Ie.forceRender,Dt=Ie.handler,et=Object(s.a)(Ie,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),_t=this.state.open;if(!ut)return e.createElement("div",{className:wt,ref:function(Ft){ge.dom=Ft}},e.createElement(ee,Object.assign({},et,{open:_t,handler:Dt,getContainer:function(){return ge.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var Nt=!!Dt||Pe;return e.createElement(b.a,{visible:_t,forceRender:Nt,getContainer:ut,wrapperClassName:wt},function(Bt){var Ft=Bt.visible,Gt=Bt.afterClose,qe=Object(s.a)(Bt,["visible","afterClose"]);return e.createElement(ee,Object.assign({},et,qe,{open:Ft!==void 0?Ft:_t,afterVisibleChange:Gt!==void 0?Gt:et.afterVisibleChange,handler:Dt,onClose:ge.onClose,onHandleClick:ge.onHandleClick}))})}}],[{key:"getDerivedStateFromProps",value:function(ge,Ie){var Ge=Ie.prevProps,ut={prevProps:ge};return typeof Ge!="undefined"&&ge.open!==Ge.open&&(ut.open=ge.open),ut}}]),Ee}(e.Component);pe.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 xe=pe,_e=xe,Ue=r("V/uB"),ye=r.n(Ue),Be=r("BGR+"),Q=r("H84U"),ie=r("CWQg"),Ve=function(ae,Le){var Ee={};for(var ne in ae)Object.prototype.hasOwnProperty.call(ae,ne)&&Le.indexOf(ne)<0&&(Ee[ne]=ae[ne]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ge=0,ne=Object.getOwnPropertySymbols(ae);ge<ne.length;ge++)Le.indexOf(ne[ge])<0&&Object.prototype.propertyIsEnumerable.call(ae,ne[ge])&&(Ee[ne[ge]]=ae[ne[ge]]);return Ee},J=e.createContext(null),W=Object(ie.a)("top","right","bottom","left"),j={distance:180},Y=function(ae){d()(Ee,ae);var Le=l()(Ee);function Ee(){var ne;return h()(this,Ee),ne=Le.apply(this,arguments),ne.state={push:!1},ne.push=function(){ne.props.push&&ne.setState({push:!0})},ne.pull=function(){ne.props.push&&ne.setState({push:!1})},ne.onDestroyTransitionEnd=function(){var ge=ne.getDestroyOnClose();if(!ge)return;ne.props.visible||(ne.destroyClose=!0,ne.forceUpdate())},ne.getDestroyOnClose=function(){return ne.props.destroyOnClose&&!ne.props.visible},ne.getPushDistance=function(){var ge=ne.props.push,Ie;return typeof ge=="boolean"?Ie=ge?j.distance:0:Ie=ge.distance,parseFloat(String(Ie||0))},ne.getPushTransform=function(ge){var Ie=ne.getPushDistance();if(ge==="left"||ge==="right")return"translateX(".concat(ge==="left"?Ie:-Ie,"px)");if(ge==="top"||ge==="bottom")return"translateY(".concat(ge==="top"?Ie:-Ie,"px)")},ne.getRcDrawerStyle=function(){var ge=ne.props,Ie=ge.zIndex,Ge=ge.placement,ut=ge.mask,wt=ge.style,Pe=ne.state.push,Dt=ut?{}:ne.getOffsetStyle();return p()(p()({zIndex:Ie,transform:Pe?ne.getPushTransform(Ge):void 0},Dt),wt)},ne.renderBody=function(){var ge=ne.props,Ie=ge.bodyStyle,Ge=ge.drawerStyle,ut=ge.prefixCls,wt=ge.visible;if(ne.destroyClose&&!wt)return null;ne.destroyClose=!1;var Pe={},Dt=ne.getDestroyOnClose();return Dt&&(Pe.opacity=0,Pe.transition="opacity .3s"),e.createElement("div",{className:"".concat(ut,"-wrapper-body"),style:p()(p()({},Pe),Ge),onTransitionEnd:ne.onDestroyTransitionEnd},ne.renderHeader(),e.createElement("div",{className:"".concat(ut,"-body"),style:Ie},ne.props.children),ne.renderFooter())},ne.renderProvider=function(ge){return ne.parentDrawer=ge,e.createElement(Q.a,null,function(Ie){var Ge=Ie.getPopupContainer,ut=Ie.getPrefixCls,wt=ne.props,Pe=wt.prefixCls,Dt=wt.placement,et=wt.className,_t=wt.mask,Nt=wt.direction,Bt=wt.visible,Ft=Ve(wt,["prefixCls","placement","className","mask","direction","visible"]),Gt=ut("select",Pe),qe=S()(et,m()({"no-mask":!_t},"".concat(Gt,"-rtl"),Nt==="rtl")),we=_t?ne.getOffsetStyle():{};return e.createElement(J.Provider,{value:t()(ne)},e.createElement(_e,p()({handler:!1},Object(Be.default)(Ft,["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:Ft.getContainer===void 0&&Ge?function(){return Ge(document.body)}:Ft.getContainer},we,{prefixCls:Gt,open:Bt,showMask:_t,placement:Dt,style:ne.getRcDrawerStyle(),className:qe}),ne.renderBody()))})},ne}return o()(Ee,[{key:"componentDidMount",value:function(){var ge=this.props.visible;ge&&this.parentDrawer&&this.parentDrawer.push()}},{key:"componentDidUpdate",value:function(ge){var Ie=this.props.visible;ge.visible!==Ie&&this.parentDrawer&&(Ie?this.parentDrawer.push():this.parentDrawer.pull())}},{key:"componentWillUnmount",value:function(){this.parentDrawer&&(this.parentDrawer.pull(),this.parentDrawer=null)}},{key:"getOffsetStyle",value:function(){var ge=this.props,Ie=ge.placement,Ge=ge.width,ut=ge.height,wt=ge.visible,Pe=ge.mask;if(!wt&&!Pe)return{};var Dt={};return Ie==="left"||Ie==="right"?Dt.width=Ge:Dt.height=ut,Dt}},{key:"renderHeader",value:function(){var ge=this.props,Ie=ge.title,Ge=ge.prefixCls,ut=ge.closable,wt=ge.headerStyle;if(!Ie&&!ut)return null;var Pe=Ie?"".concat(Ge,"-header"):"".concat(Ge,"-header-no-title");return e.createElement("div",{className:Pe,style:wt},Ie&&e.createElement("div",{className:"".concat(Ge,"-title")},Ie),ut&&this.renderCloseIcon())}},{key:"renderFooter",value:function(){var ge=this.props,Ie=ge.footer,Ge=ge.footerStyle,ut=ge.prefixCls;if(!Ie)return null;var wt="".concat(ut,"-footer");return e.createElement("div",{className:wt,style:Ge},Ie)}},{key:"renderCloseIcon",value:function(){var ge=this.props,Ie=ge.closable,Ge=ge.closeIcon,ut=Ge===void 0?e.createElement(ye.a,null):Ge,wt=ge.prefixCls,Pe=ge.onClose;return Ie&&e.createElement("button",{onClick:Pe,"aria-label":"Close",className:"".concat(wt,"-close"),style:{"--scroll-bar":"".concat(Object(E.a)(),"px")}},ut)}},{key:"render",value:function(){return e.createElement(J.Consumer,null,this.renderProvider)}}]),Ee}(e.Component);Y.defaultProps={width:256,height:256,closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0,push:j};var me=N.a=Object(Q.c)({prefixCls:"drawer"})(Y)},"/y7N":function(B,N,r){var y=r("bYtY"),m=r("IwbS"),C=r("6GrX"),p=r("7aKB"),g=r("Fofx"),h=r("aX7z"),c=r("+rIm");function o(u){var f=u.get("type"),A=u.getModel(f+"Style"),v;return f==="line"?(v=A.getLineStyle(),v.fill=null):f==="shadow"&&(v=A.getAreaStyle(),v.stroke=null),v}function n(u,f,A,v,x){var b=A.get("value"),w=a(b,f.axis,f.ecModel,A.get("seriesDataIndices"),{precision:A.get("label.precision"),formatter:A.get("label.formatter")}),_=A.getModel("label"),T=p.normalizeCssArray(_.get("padding")||0),S=_.getFont(),E=C.getBoundingRect(w,S),I=x.position,O=E.width+T[1]+T[3],F=E.height+T[0]+T[2],k=x.align;k==="right"&&(I[0]-=O),k==="center"&&(I[0]-=O/2);var M=x.verticalAlign;M==="bottom"&&(I[1]-=F),M==="middle"&&(I[1]-=F/2),t(I,O,F,v);var P=_.get("backgroundColor");(!P||P==="auto")&&(P=f.get("axisLine.lineStyle.color")),u.label={shape:{x:0,y:0,width:O,height:F,r:_.get("borderRadius")},position:I.slice(),style:{text:w,textFont:S,textFill:_.getTextColor(),textPosition:"inside",textPadding:T,fill:P,stroke:_.get("borderColor")||"transparent",lineWidth:_.get("borderWidth")||0,shadowBlur:_.get("shadowBlur"),shadowColor:_.get("shadowColor"),shadowOffsetX:_.get("shadowOffsetX"),shadowOffsetY:_.get("shadowOffsetY")},z2:10}}function t(u,f,A,v){var x=v.getWidth(),b=v.getHeight();u[0]=Math.min(u[0]+f,x)-f,u[1]=Math.min(u[1]+A,b)-A,u[0]=Math.max(u[0],0),u[1]=Math.max(u[1],0)}function a(u,f,A,v,x){u=f.scale.parse(u);var b=f.scale.getLabel(u,{precision:x.precision}),w=x.formatter;if(w){var _={value:h.getAxisRawValue(f,u),axisDimension:f.dim,axisIndex:f.index,seriesData:[]};y.each(v,function(T){var S=A.getSeriesByIndex(T.seriesIndex),E=T.dataIndexInside,I=S&&S.getDataParams(E);I&&_.seriesData.push(I)}),y.isString(w)?b=w.replace("{value}",b):y.isFunction(w)&&(b=w(_))}return b}function d(u,f,A){var v=g.create();return g.rotate(v,v,A.rotation),g.translate(v,v,A.position),m.applyTransform([u.dataToCoord(f),(A.labelOffset||0)+(A.labelDirection||1)*(A.labelMargin||0)],v)}function i(u,f,A,v,x,b){var w=c.innerTextLayout(A.rotation,0,A.labelDirection);A.labelMargin=x.get("label.margin"),n(f,v,x,b,{position:d(v.axis,u,A),align:w.textAlign,verticalAlign:w.textVerticalAlign})}function l(u,f,A){return A=A||0,{x1:u[A],y1:u[1-A],x2:f[A],y2:f[1-A]}}function e(u,f,A){return A=A||0,{x:u[A],y:u[1-A],width:f[A],height:f[1-A]}}function s(u,f,A,v,x,b){return{cx:u,cy:f,r0:A,r:v,startAngle:x,endAngle:b,clockwise:!0}}N.buildElStyle=o,N.buildLabelElOption=n,N.getValueLabel=a,N.getTransformedPosition=d,N.buildCartesianSingleLabelElOption=i,N.makeLineShape=l,N.makeRectShape=e,N.makeSectorShape=s},"/zsF":function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("bE4E"),p=r.n(C)},"0/Rx":function(B,N){function r(y){return{seriesType:y,reset:function(m,C){var p=C.findComponents({mainType:"legend"});if(!p||!p.length)return;var g=m.getData();g.filterSelf(function(h){for(var c=g.getName(h),o=0;o<p.length;o++)if(!p[o].isSelected(c))return!1;return!0})}}}B.exports=r},"01d+":function(B,N,r){var y=r("bYtY"),m=y.each,C=r("HF/U"),p=C.simpleLayout,g=C.simpleLayoutEdge;function h(c,o){c.eachSeriesByType("graph",function(n){var t=n.get("layout"),a=n.coordinateSystem;if(a&&a.type!=="view"){var d=n.getData(),i=[];m(a.dimensions,function(A){i=i.concat(d.mapDimension(A,!0))});for(var l=0;l<d.count();l++){for(var e=[],s=!1,u=0;u<i.length;u++){var f=d.get(i[u],l);isNaN(f)||(s=!0),e.push(f)}s?d.setItemLayout(l,a.dataToPoint(e)):d.setItemLayout(l,[NaN,NaN])}g(d.graph)}else(!t||t==="none")&&p(n)})}B.exports=h},"06DH":function(B,N,r){var y=r("ProS"),m=r("bYtY"),C=r("Kagy"),p=r("IUWy"),g=C.toolbox.magicType,h="__ec_magicType_stack__";function c(d){this.model=d}c.defaultOption={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:m.clone(g.title),option:{},seriesIndex:{}};var o=c.prototype;o.getIcons=function(){var d=this.model,i=d.get("icon"),l={};return m.each(d.get("type"),function(e){i[e]&&(l[e]=i[e])}),l};var n={line:function(d,i,l,e){if(d==="bar")return m.merge({id:i,type:"line",data:l.get("data"),stack:l.get("stack"),markPoint:l.get("markPoint"),markLine:l.get("markLine")},e.get("option.line")||{},!0)},bar:function(d,i,l,e){if(d==="line")return m.merge({id:i,type:"bar",data:l.get("data"),stack:l.get("stack"),markPoint:l.get("markPoint"),markLine:l.get("markLine")},e.get("option.bar")||{},!0)},stack:function(d,i,l,e){var s=l.get("stack")===h;if(d==="line"||d==="bar")return e.setIconStatus("stack",s?"normal":"emphasis"),m.merge({id:i,stack:s?"":h},e.get("option.stack")||{},!0)}},t=[["line","bar"],["stack"]];o.onclick=function(d,i,l){var e=this.model,s=e.get("seriesIndex."+l);if(!n[l])return;var u={series:[]},f=function(x){var b=x.subType,w=x.id,_=n[l](b,w,x,e);_&&(m.defaults(_,x.option),u.series.push(_));var T=x.coordinateSystem;if(T&&T.type==="cartesian2d"&&(l==="line"||l==="bar")){var S=T.getAxesByScale("ordinal")[0];if(S){var E=S.dim,I=E+"Axis",O=d.queryComponents({mainType:I,index:x.get(name+"Index"),id:x.get(name+"Id")})[0],F=O.componentIndex;u[I]=u[I]||[];for(var k=0;k<=F;k++)u[I][F]=u[I][F]||{};u[I][F].boundaryGap=l==="bar"}}};m.each(t,function(x){m.indexOf(x,l)>=0&&m.each(x,function(b){e.setIconStatus(b,"normal")})}),e.setIconStatus(l,"emphasis"),d.eachComponent({mainType:"series",query:s==null?null:{seriesIndex:s}},f);var A;if(l==="stack"){var v=u.series&&u.series[0]&&u.series[0].stack===h;A=v?m.merge({stack:g.title.tiled},g.title):m.clone(g.title)}i.dispatchAction({type:"changeMagicType",currentType:l,newOption:u,newTitle:A,featureName:"magicType"})},y.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(d,i){i.mergeOption(d.newOption)}),p.register("magicType",c);var a=c;B.exports=a},"06Qe":function(B,N,r){var y=r("ItGF"),m="urn:schemas-microsoft-com:vml",C=typeof window=="undefined"?null:window,p=!1,g=C&&C.document;function h(n){return c(n)}var c;if(g&&!y.canvasSupported)try{!g.namespaces.zrvml&&g.namespaces.add("zrvml",m),c=function(t){return g.createElement("<zrvml:"+t+' class="zrvml">')}}catch(n){c=function(a){return g.createElement("<"+a+' xmlns="'+m+'" class="zrvml">')}}function o(){if(p||!g)return;p=!0;var n=g.styleSheets;n.length<31?g.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):n[0].addRule(".zrvml","behavior:url(#default#VML)")}N.doc=g,N.createNode=h,N.initVML=o},"09Wf":function(B,N,r){"use strict";r.d(N,"b",function(){return m}),r.d(N,"a",function(){return C});var y=r("CWQg"),m=Object(y.a)("success","processing","error","default","warning"),C=Object(y.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"0Bwj":function(B,N,r){var y=r("T4UG"),m=r("I3/A"),C=r("7aKB"),p=C.encodeHTML,g=r("Qxkt"),h=r("Tghj"),c=h.__DEV__,o=y.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(t,a){for(var d=t.edges||t.links,i=t.data||t.nodes,l=t.levels,e=this.levelModels={},s=0;s<l.length;s++)l[s].depth!=null&&l[s].depth>=0&&(e[l[s].depth]=new g(l[s],this,a));if(i&&d){var u=m(i,d,this,!0,f);return u.data}function f(A,v){A.wrapMethod("getItemModel",function(x,b){return x.customizeGetParent(function(w){var _=this.parentModel,T=_.getData().getItemLayout(b).depth,S=_.levelModels[T];return S||this.parentModel}),x}),v.wrapMethod("getItemModel",function(x,b){return x.customizeGetParent(function(w){var _=this.parentModel,T=_.getGraph().getEdgeByIndex(b),S=T.node1.getLayout().depth,E=_.levelModels[S];return E||this.parentModel}),x})}},setNodePosition:function(t,a){var d=this.option.data[t];d.localX=a[0],d.localY=a[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(t,a,d){if(d==="edge"){var i=this.getDataParams(t,d),l=i.data,e=l.source+" -- "+l.target;return i.value&&(e+=" : "+i.value),p(e)}else if(d==="node"){var s=this.getGraph().getNodeByIndex(t),u=s.getLayout().value,f=this.getDataParams(t,d).data.name;if(u)var e=f+" : "+u;return p(e)}return o.superCall(this,"formatTooltip",t,a)},optionUpdated:function(){var t=this.option;t.focusNodeAdjacency===!0&&(t.focusNodeAdjacency="allEdges")},getDataParams:function(t,a){var d=o.superCall(this,"getDataParams",t,a);if(d.value==null&&a==="node"){var i=this.getGraph().getNodeByIndex(t),l=i.getLayout().value;d.value=l}return d},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}}),n=o;B.exports=n},"0HBW":function(B,N,r){var y=r("ProS"),m=r("bYtY");r("Hxpc"),r("7uqq"),r("dmGj"),r("SehX");function C(p,g){g.update="updateView",y.registerAction(g,function(h,c){var o={};return c.eachComponent({mainType:"geo",query:h},function(n){n[p](h.name);var t=n.coordinateSystem;m.each(t.regions,function(a){o[a.name]=n.isSelected(a.name)||!1})}),{selected:o,name:h.name}})}C("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),C("select",{type:"geoSelect",event:"geoselected"}),C("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(B,N,r){var y=r("bYtY"),m=r("+TT/"),C=r("OELB"),p=r("IDmD"),g=864e5;function h(n,t,a){this._model=n}h.prototype={constructor:h,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(n){n=C.parseDate(n);var t=n.getFullYear(),a=n.getMonth()+1;a=a<10?"0"+a:a;var d=n.getDate();d=d<10?"0"+d:d;var i=n.getDay();return i=Math.abs((i+7-this.getFirstDayOfWeek())%7),{y:t,m:a,d,day:i,time:n.getTime(),formatedDate:t+"-"+a+"-"+d,date:n}},getNextNDay:function(n,t){return t=t||0,t===0?this.getDateInfo(n):(n=new Date(this.getDateInfo(n).time),n.setDate(n.getDate()+t),this.getDateInfo(n))},update:function(n,t){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 a=this._rangeInfo.weeks||1,d=["width","height"],i=this._model.get("cellSize").slice(),l=this._model.getBoxLayoutParams(),e=this._orient==="horizontal"?[a,7]:[7,a];y.each([0,1],function(A){f(i,A)&&(l[d[A]]=i[A]*e[A])});var s={width:t.getWidth(),height:t.getHeight()},u=this._rect=m.getLayoutRect(l,s);y.each([0,1],function(A){f(i,A)||(i[A]=u[d[A]]/e[A])});function f(A,v){return A[v]!=null&&A[v]!=="auto"}this._sw=i[0],this._sh=i[1]},dataToPoint:function(n,t){y.isArray(n)&&(n=n[0]),t==null&&(t=!0);var a=this.getDateInfo(n),d=this._rangeInfo,i=a.formatedDate;if(t&&!(a.time>=d.start.time&&a.time<d.end.time+g))return[NaN,NaN];var l=a.day,e=this._getRangeInfo([d.start.time,i]).nthWeek;return this._orient==="vertical"?[this._rect.x+l*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+l*this._sh+this._sh/2]},pointToData:function(n){var t=this.pointToDate(n);return t&&t.time},dataToRect:function(n,t){var a=this.dataToPoint(n,t);return{contentShape:{x:a[0]-(this._sw-this._lineWidth)/2,y:a[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:a,tl:[a[0]-this._sw/2,a[1]-this._sh/2],tr:[a[0]+this._sw/2,a[1]-this._sh/2],br:[a[0]+this._sw/2,a[1]+this._sh/2],bl:[a[0]-this._sw/2,a[1]+this._sh/2]}},pointToDate:function(n){var t=Math.floor((n[0]-this._rect.x)/this._sw)+1,a=Math.floor((n[1]-this._rect.y)/this._sh)+1,d=this._rangeInfo.range;return this._orient==="vertical"?this._getDateByWeeksAndDay(a,t-1,d):this._getDateByWeeksAndDay(t,a-1,d)},convertToPixel:y.curry(c,"dataToPoint"),convertFromPixel:y.curry(c,"pointToData"),_initRangeOption:function(){var n=this._model.get("range"),t=n;if(y.isArray(t)&&t.length===1&&(t=t[0]),/^\d{4}$/.test(t)&&(n=[t+"-01-01",t+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(t)){var a=this.getDateInfo(t),d=a.date;d.setMonth(d.getMonth()+1);var i=this.getNextNDay(d,-1);n=[a.formatedDate,i.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(t)&&(n=[t,t]);var l=this._getRangeInfo(n);return l.start.time>l.end.time&&n.reverse(),n},_getRangeInfo:function(n){n=[this.getDateInfo(n[0]),this.getDateInfo(n[1])];var t;n[0].time>n[1].time&&(t=!0,n.reverse());var a=Math.floor(n[1].time/g)-Math.floor(n[0].time/g)+1,d=new Date(n[0].time),i=d.getDate(),l=n[1].date.getDate();d.setDate(i+a-1);var e=d.getDate();if(e!==l)for(var s=d.getTime()-n[1].time>0?1:-1;(e=d.getDate())!==l&&(d.getTime()-n[1].time)*s>0;)a-=s,d.setDate(e-s);var u=Math.floor((a+n[0].day+6)/7),f=t?-u+1:u-1;return t&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:a,weeks:u,nthWeek:f,fweek:n[0].day,lweek:n[1].day}},_getDateByWeeksAndDay:function(n,t,a){var d=this._getRangeInfo(a);if(n>d.weeks||n===0&&t<d.fweek||n===d.weeks&&t>d.lweek)return!1;var i=(n-1)*7-d.fweek+t,l=new Date(d.start.time);return l.setDate(d.start.d+i),this.getDateInfo(l)}},h.dimensions=h.prototype.dimensions,h.getDimensionsInfo=h.prototype.getDimensionsInfo,h.create=function(n,t){var a=[];return n.eachComponent("calendar",function(d){var i=new h(d,n,t);a.push(i),d.coordinateSystem=i}),n.eachSeries(function(d){d.get("coordinateSystem")==="calendar"&&(d.coordinateSystem=a[d.get("calendarIndex")||0])}),a};function c(n,t,a,d){var i=a.calendarModel,l=a.seriesModel,e=i?i.coordinateSystem:l?l.coordinateSystem:null;return e===this?e[n](d):null}p.register("calendar",h);var o=h;B.exports=o},"0JQy":function(B,N){var r="\\ud800-\\udfff",y="\\u0300-\\u036f",m="\\ufe20-\\ufe2f",C="\\u20d0-\\u20ff",p=y+m+C,g="\\ufe0e\\ufe0f",h="["+r+"]",c="["+p+"]",o="\\ud83c[\\udffb-\\udfff]",n="(?:"+c+"|"+o+")",t="[^"+r+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",i="\\u200d",l=n+"?",e="["+g+"]?",s="(?:"+i+"(?:"+[t,a,d].join("|")+")"+e+l+")*",u=e+l+s,f="(?:"+[t+c+"?",c,a,d,h].join("|")+")",A=RegExp(o+"(?="+o+")|"+f+u,"g");function v(x){return x.match(A)||[]}B.exports=v},"0NbB":function(B,N,r){"use strict";var y=r("VTBJ"),m=r("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"},p=C,g=r("6VBw"),h=function(n,t){return m.createElement(g.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};h.displayName="CaretDownOutlined";var c=N.a=m.forwardRef(h)},"0V0F":function(B,N,r){var y=r("bYtY"),m=y.createHashMap,C=y.each;function p(h){var c=m();h.eachSeries(function(o){var n=o.get("stack");if(n){var t=c.get(n)||c.set(n,[]),a=o.getData(),d={stackResultDimension:a.getCalculationInfo("stackResultDimension"),stackedOverDimension:a.getCalculationInfo("stackedOverDimension"),stackedDimension:a.getCalculationInfo("stackedDimension"),stackedByDimension:a.getCalculationInfo("stackedByDimension"),isStackedByIndex:a.getCalculationInfo("isStackedByIndex"),data:a,seriesModel:o};if(!d.stackedDimension||!(d.isStackedByIndex||d.stackedByDimension))return;t.length&&a.setCalculationInfo("stackedOnSeries",t[t.length-1].seriesModel),t.push(d)}}),c.each(g)}function g(h){C(h,function(c,o){var n=[],t=[NaN,NaN],a=[c.stackResultDimension,c.stackedOverDimension],d=c.data,i=c.isStackedByIndex,l=d.map(a,function(e,s,u){var f=d.get(c.stackedDimension,u);if(isNaN(f))return t;var A,v;i?v=d.getRawIndex(u):A=d.get(c.stackedByDimension,u);for(var x=NaN,b=o-1;b>=0;b--){var w=h[b];if(i||(v=w.data.rawIndexOf(w.stackedByDimension,A)),v>=0){var _=w.data.getByRawIndex(w.stackResultDimension,v);if(f>=0&&_>0||f<=0&&_<0){f+=_,x=_;break}}}return n[0]=f,n[1]=x,n});d.hostModel.setData(l),c.data=l})}B.exports=p},"0XgM":function(B,N,r){},"0fbx":function(B,N,r){},"0o9m":function(B,N,r){var y=r("ProS");r("hNWo"),r("RlCK"),r("XpcN");var m=r("kDyi"),C=r("bLfw");y.registerProcessor(y.PRIORITY.PROCESSOR.SERIES_FILTER,m),C.registerSubTypeDefaulter("legend",function(){return"plain"})},"0qV/":function(B,N,r){var y=r("ProS");y.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),y.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},"0r65":function(B,N){var r=arguments[3],y=arguments[4],m=arguments[5],C=JSON.stringify;B.exports=function(p,g){for(var h,c=Object.keys(m),o=0,n=c.length;o<n;o++){var t=c[o],a=m[t].exports;if(a===p||a&&a.default===p){h=t;break}}if(!h){h=Math.floor(Math.pow(16,8)*Math.random()).toString(16);for(var d={},o=0,n=c.length;o<n;o++){var t=c[o];d[t]=t}y[h]=["function(require,module,exports){"+p+"(self); }",d]}var i=Math.floor(Math.pow(16,8)*Math.random()).toString(16),l={};l[h]=h,y[i]=["function(require,module,exports){var f = require("+C(h)+");(f.default ? f.default : f)(self);}",l];var e={};s(i);function s(b){e[b]=!0;for(var w in y[b][1]){var _=y[b][1][w];e[_]||s(_)}}var u="("+r+")({"+Object.keys(e).map(function(b){return C(b)+":["+y[b][0]+","+C(y[b][1])+"]"}).join(",")+"},{},["+C(i)+"])",f=window.URL||window.webkitURL||window.mozURL||window.msURL,A=new Blob([u],{type:"text/javascript"});if(g&&g.bare)return A;var v=f.createObjectURL(A),x=new Worker(v);return x.objectURL=v,x}},"0s+r":function(B,N,r){var y=r("bYtY"),m=r("QBsz"),C=r("y23F"),p=r("H6uX"),g=r("YH21"),h=r("C0SR"),c="silent";function o(s,u,f){return{type:s,event:f,target:u.target,topTarget:u.topTarget,cancelBubble:!1,offsetX:f.zrX,offsetY:f.zrY,gestureEvent:f.gestureEvent,pinchX:f.pinchX,pinchY:f.pinchY,pinchScale:f.pinchScale,wheelDelta:f.zrDelta,zrByTouch:f.zrByTouch,which:f.which,stop:n}}function n(){g.stop(this.event)}function t(){}t.prototype.dispose=function(){};var a=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],d=function(u,f,A,v){p.call(this),this.storage=u,this.painter=f,this.painterRoot=v,A=A||new t,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,C.call(this),this.setHandlerProxy(A)};d.prototype={constructor:d,setHandlerProxy:function(u){this.proxy&&this.proxy.dispose(),u&&(y.each(a,function(f){u.on&&u.on(f,this[f],this)},this),u.handler=this),this.proxy=u},mousemove:function(u){var f=u.zrX,A=u.zrY,v=l(this,f,A),x=this._hovered,b=x.target;b&&!b.__zr&&(x=this.findHover(x.x,x.y),b=x.target);var w=this._hovered=v?{x:f,y:A}:this.findHover(f,A),_=w.target,T=this.proxy;T.setCursor&&T.setCursor(_?_.cursor:"default"),b&&_!==b&&this.dispatchToElement(x,"mouseout",u),this.dispatchToElement(w,"mousemove",u),_&&_!==b&&this.dispatchToElement(w,"mouseover",u)},mouseout:function(u){var f=u.zrEventControl,A=u.zrIsToLocalDOM;f!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",u),f!=="no_globalout"&&(!A&&this.trigger("globalout",{type:"globalout",event:u}))},resize:function(u){this._hovered={}},dispatch:function(u,f){var A=this[u];A&&A.call(this,f)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(u){var f=this.proxy;f.setCursor&&f.setCursor(u)},dispatchToElement:function(u,f,A){u=u||{};var v=u.target;if(v&&v.silent)return;for(var x="on"+f,b=o(f,u,A);v&&!(v[x]&&(b.cancelBubble=v[x].call(v,b)),v.trigger(f,b),v=v.parent,b.cancelBubble););b.cancelBubble||(this.trigger(f,b),this.painter&&this.painter.eachOtherLayer(function(w){typeof w[x]=="function"&&w[x].call(w,b),w.trigger&&w.trigger(f,b)}))},findHover:function(u,f,A){for(var v=this.storage.getDisplayList(),x={x:u,y:f},b=v.length-1;b>=0;b--){var w;if(v[b]!==A&&!v[b].ignore&&(w=i(v[b],u,f))&&(!x.topTarget&&(x.topTarget=v[b]),w!==c)){x.target=v[b];break}}return x},processGesture:function(u,f){this._gestureMgr||(this._gestureMgr=new h);var A=this._gestureMgr;f==="start"&&A.clear();var v=A.recognize(u,this.findHover(u.zrX,u.zrY,null).target,this.proxy.dom);if(f==="end"&&A.clear(),v){var x=v.type;u.gestureEvent=x,this.dispatchToElement({target:v.target},x,v.event)}}},y.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(s){d.prototype[s]=function(u){var f=u.zrX,A=u.zrY,v=l(this,f,A),x,b;if((s!=="mouseup"||!v)&&(x=this.findHover(f,A),b=x.target),s==="mousedown")this._downEl=b,this._downPoint=[u.zrX,u.zrY],this._upEl=b;else if(s==="mouseup")this._upEl=b;else if(s==="click"){if(this._downEl!==this._upEl||!this._downPoint||m.dist(this._downPoint,[u.zrX,u.zrY])>4)return;this._downPoint=null}this.dispatchToElement(x,s,u)}});function i(s,u,f){if(s[s.rectHover?"rectContain":"contain"](u,f)){for(var A=s,v;A;){if(A.clipPath&&!A.clipPath.contain(u,f))return!1;A.silent&&(v=!0),A=A.parent}return v?c:!0}return!1}function l(s,u,f){var A=s.painter;return u<0||u>A.getWidth()||f<0||f>A.getHeight()}y.mixin(d,p),y.mixin(d,C);var e=d;B.exports=e},"10cm":function(B,N,r){var y=r("ProS"),m=r("2B6p"),C=m.updateCenterAndZoom;r("0qV/");var p={type:"graphRoam",event:"graphRoam",update:"none"};y.registerAction(p,function(g,h){h.eachComponent({mainType:"series",query:g},function(c){var o=c.coordinateSystem,n=C(o,g);c.setCenter&&c.setCenter(n.center),c.setZoom&&c.setZoom(n.zoom)})})},"15/o":function(B,N,r){},"19Vz":function(B,N,r){(function(y){y(r("VrN/"))})(function(y){y.defineOption("placeholder","",function(o,n,t){var a=t&&t!=y.Init;if(n&&!a)o.on("blur",g),o.on("change",h),o.on("swapDoc",h),y.on(o.getInputField(),"compositionupdate",o.state.placeholderCompose=function(){p(o)}),h(o);else if(!n&&a){o.off("blur",g),o.off("change",h),o.off("swapDoc",h),y.off(o.getInputField(),"compositionupdate",o.state.placeholderCompose),m(o);var d=o.getWrapperElement();d.className=d.className.replace(" CodeMirror-empty","")}n&&!o.hasFocus()&&g(o)});function m(o){o.state.placeholder&&(o.state.placeholder.parentNode.removeChild(o.state.placeholder),o.state.placeholder=null)}function C(o){m(o);var n=o.state.placeholder=document.createElement("pre");n.style.cssText="height: 0; overflow: visible",n.style.direction=o.getOption("direction"),n.className="CodeMirror-placeholder CodeMirror-line-like";var t=o.getOption("placeholder");typeof t=="string"&&(t=document.createTextNode(t)),n.appendChild(t),o.display.lineSpace.insertBefore(n,o.display.lineSpace.firstChild)}function p(o){setTimeout(function(){var n=!1,t=o.getInputField();t.nodeName=="TEXTAREA"?n=!t.value:o.lineCount()==1&&(n=!/[^\u200b]/.test(t.querySelector(".CodeMirror-line").textContent)),n?C(o):m(o)},20)}function g(o){c(o)&&C(o)}function h(o){var n=o.getWrapperElement(),t=c(o);n.className=n.className.replace(" CodeMirror-empty","")+(t?" CodeMirror-empty":""),t?C(o):m(o)}function c(o){return o.lineCount()===1&&o.getLine(0)===""}})},"1Jh7":function(B,N,r){var y=r("y+Vt"),m=r("T6xi"),C=y.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(g,h){m.buildPath(g,h,!1)}});B.exports=C},"1LEl":function(B,N,r){var y=r("ProS"),m=r("F9bG"),C=y.extendComponentView({type:"axisPointer",render:function(g,h,c){var o=h.getComponent("tooltip"),n=g.get("triggerOn")||o&&o.get("triggerOn")||"mousemove|click";m.register("axisPointer",c,function(t,a,d){n!=="none"&&(t==="leave"||n.indexOf(t)>=0)&&d({type:"updateAxisPointer",currTrigger:t,x:a&&a.offsetX,y:a&&a.offsetY})})},remove:function(g,h){m.unregister(h.getZr(),"axisPointer"),C.superApply(this._model,"remove",arguments)},dispose:function(g,h){m.unregister("axisPointer",h),C.superApply(this._model,"dispose",arguments)}}),p=C;B.exports=p},"1MYJ":function(B,N,r){var y=r("y+Vt"),m=y.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var p=this.__dirtyPath,g=this.shape.paths,h=0;h<g.length;h++)p=p||g[h].__dirtyPath;this.__dirtyPath=p,this.__dirty=this.__dirty||p},beforeBrush:function(){this._updatePathDirty();for(var p=this.shape.paths||[],g=this.getGlobalScale(),h=0;h<p.length;h++)p[h].path||p[h].createPathProxy(),p[h].path.setScale(g[0],g[1],p[h].segmentIgnoreThreshold)},buildPath:function(p,g){for(var h=g.paths||[],c=0;c<h.length;c++)h[c].buildPath(p,h[c].shape,!0)},afterBrush:function(){for(var p=this.shape.paths||[],g=0;g<p.length;g++)p[g].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),y.prototype.getBoundingRect.call(this)}});B.exports=m},"1NG9":function(B,N,r){var y=r("y+Vt"),m=r("QBsz"),C=r("iXp4"),p=m.min,g=m.max,h=m.scaleAndAdd,c=m.copy,o=[],n=[],t=[];function a(f){return isNaN(f[0])||isNaN(f[1])}function d(f,A,v,x,b,w,_,T,S,E,I){return E==="none"||!E?l.apply(this,arguments):i.apply(this,arguments)}function i(f,A,v,x,b,w,_,T,S,E,I){for(var O=0,F=v,k=0;k<x;k++){var M=A[F];if(F>=b||F<0)break;if(a(M)){if(I){F+=w;continue}break}if(F===v)f[w>0?"moveTo":"lineTo"](M[0],M[1]);else if(S>0){var P=A[O],V=E==="y"?1:0,D=(M[V]-P[V])*S;c(n,P),n[V]=P[V]+D,c(t,M),t[V]=M[V]-D,f.bezierCurveTo(n[0],n[1],t[0],t[1],M[0],M[1])}else f.lineTo(M[0],M[1]);O=F,F+=w}return k}function l(f,A,v,x,b,w,_,T,S,E,I){for(var O=0,F=v,k=0;k<x;k++){var M=A[F];if(F>=b||F<0)break;if(a(M)){if(I){F+=w;continue}break}if(F===v)f[w>0?"moveTo":"lineTo"](M[0],M[1]),c(n,M);else if(S>0){var P=F+w,V=A[P];if(I)for(;V&&a(A[P]);)P+=w,V=A[P];var D=.5,H=A[O],V=A[P];if(!V||a(V))c(t,M);else{a(V)&&!I&&(V=M),m.sub(o,V,H);var U,z;if(E==="x"||E==="y"){var K=E==="x"?0:1;U=Math.abs(M[K]-H[K]),z=Math.abs(M[K]-V[K])}else U=m.dist(M,H),z=m.dist(M,V);D=z/(z+U),h(t,M,o,-S*(1-D))}p(n,n,T),g(n,n,_),p(t,t,T),g(t,t,_),f.bezierCurveTo(n[0],n[1],t[0],t[1],M[0],M[1]),h(n,M,o,S*D)}else f.lineTo(M[0],M[1]);O=F,F+=w}return k}function e(f,A){var v=[Infinity,Infinity],x=[-Infinity,-Infinity];if(A)for(var b=0;b<f.length;b++){var w=f[b];w[0]<v[0]&&(v[0]=w[0]),w[1]<v[1]&&(v[1]=w[1]),w[0]>x[0]&&(x[0]=w[0]),w[1]>x[1]&&(x[1]=w[1])}return{min:A?v:x,max:A?x:v}}var s=y.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:C(y.prototype.brush),buildPath:function(f,A){var v=A.points,x=0,b=v.length,w=e(v,A.smoothConstraint);if(A.connectNulls){for(;b>0&&a(v[b-1]);b--);for(;x<b&&a(v[x]);x++);}for(;x<b;)x+=d(f,v,x,b,b,1,w.min,w.max,A.smooth,A.smoothMonotone,A.connectNulls)+1}}),u=y.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:C(y.prototype.brush),buildPath:function(f,A){var v=A.points,x=A.stackedOnPoints,b=0,w=v.length,_=A.smoothMonotone,T=e(v,A.smoothConstraint),S=e(x,A.smoothConstraint);if(A.connectNulls){for(;w>0&&a(v[w-1]);w--);for(;b<w&&a(v[b]);b++);}for(;b<w;){var E=d(f,v,b,w,w,1,T.min,T.max,A.smooth,_,A.connectNulls);d(f,x,b+E-1,E,w,-1,S.min,S.max,A.stackedOnSmooth,_,A.connectNulls),b+=E+1,f.closePath()}}});N.Polyline=s,N.Polygon=u},"1RvN":function(B,N){var r=function(){this.head=null,this.tail=null,this._len=0},y=r.prototype;y.insert=function(h){var c=new m(h);return this.insertEntry(c),c},y.insertEntry=function(h){this.head?(this.tail.next=h,h.prev=this.tail,h.next=null,this.tail=h):this.head=this.tail=h,this._len++},y.remove=function(h){var c=h.prev,o=h.next;c?c.next=o:this.head=o,o?o.prev=c:this.tail=c,h.next=h.prev=null,this._len--},y.len=function(){return this._len},y.clear=function(){this.head=this.tail=null,this._len=0};var m=function(c){this.value=c,this.next,this.prev},C=function(c){this._list=new r,this._map={},this._maxSize=c||10,this._lastRemovedEntry=null},p=C.prototype;p.put=function(h,c){var o=this._list,n=this._map,t=null;if(n[h]==null){var a=o.len(),d=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var i=o.head;o.remove(i),delete n[i.key],t=i.value,this._lastRemovedEntry=i}d?d.value=c:d=new m(c),d.key=h,o.insertEntry(d),n[h]=d}return t},p.get=function(h){var c=this._map[h],o=this._list;if(c!=null)return c!==o.tail&&(o.remove(c),o.insertEntry(c)),c.value},p.clear=function(){this._list.clear(),this._map={}};var g=C;B.exports=g},"1bdT":function(B,N,r){var y=r("3gBT"),m=r("H6uX"),C=r("DN4a"),p=r("vWvF"),g=r("bYtY"),h=function(n){C.call(this,n),m.call(this,n),p.call(this,n),this.id=n.id||y()};h.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(n,t){switch(this.draggable){case"horizontal":t=0;break;case"vertical":n=0;break}var a=this.transform;a||(a=this.transform=[1,0,0,1,0,0]),a[4]+=n,a[5]+=t,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(n,t){},attrKV:function(n,t){if(n==="position"||n==="scale"||n==="origin"){if(t){var a=this[n];a||(a=this[n]=[]),a[0]=t[0],a[1]=t[1]}}else this[n]=t},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(n,t){if(typeof n=="string")this.attrKV(n,t);else if(g.isObject(n))for(var a in n)n.hasOwnProperty(a)&&this.attrKV(a,n[a]);return this.dirty(!1),this},setClipPath:function(n){var t=this.__zr;t&&n.addSelfToZr(t),this.clipPath&&this.clipPath!==n&&this.removeClipPath(),this.clipPath=n,n.__zr=t,n.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var n=this.clipPath;n&&(n.__zr&&n.removeSelfFromZr(n.__zr),n.__zr=null,n.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(n){this.__zr=n;var t=this.animators;if(t)for(var a=0;a<t.length;a++)n.animation.addAnimator(t[a]);this.clipPath&&this.clipPath.addSelfToZr(n)},removeSelfFromZr:function(n){this.__zr=null;var t=this.animators;if(t)for(var a=0;a<t.length;a++)n.animation.removeAnimator(t[a]);this.clipPath&&this.clipPath.removeSelfFromZr(n)}},g.mixin(h,p),g.mixin(h,C),g.mixin(h,m);var c=h;B.exports=c},"1dTM":function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=r("GQ8N"),m=E(r("Lo0S")),C=r("VSMT"),p=r("GdRQ"),g=r("SZEN"),h=r("vewr"),c=T(r("YJ9k")),o=T(r("MZdM")),n=T(r("ItS6")),t=T(r("whVF")),a=T(r("Fv0C")),d=T(r("LCi9")),i=T(r("rwxt")),l=T(r("Mmt2")),e=T(r("iUHT")),s=T(r("mHUz")),u=T(r("P2ho")),f=r("NBmB");r("mdZa");var A=T(r("34/K")),v=T(r("hXwI")),x=T(r("SgaC")),b=T(r("3690")),w=T(r("8K/p")),_=T(r("xO64"));function T(me){return me&&me.__esModule?me:{default:me}}function S(){if(typeof WeakMap!="function")return null;var me=new WeakMap;return S=function(){return me},me}function E(me){if(me&&me.__esModule)return me;if(me===null||I(me)!=="object"&&typeof me!="function")return{default:me};var ae=S();if(ae&&ae.has(me))return ae.get(me);var Le={},Ee=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ne in me)if(Object.prototype.hasOwnProperty.call(me,ne)){var ge=Ee?Object.getOwnPropertyDescriptor(me,ne):null;ge&&(ge.get||ge.set)?Object.defineProperty(Le,ne,ge):Le[ne]=me[ne]}return Le.default=me,ae&&ae.set(me,Le),Le}function I(me){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?I=function(Le){return typeof Le}:I=function(Le){return Le&&typeof Symbol=="function"&&Le.constructor===Symbol&&Le!==Symbol.prototype?"symbol":typeof Le},I(me)}function O(me,ae){if(!(me instanceof ae))throw new TypeError("Cannot call a class as a function")}function F(me,ae){for(var Le=0;Le<ae.length;Le++){var Ee=ae[Le];Ee.enumerable=Ee.enumerable||!1,Ee.configurable=!0,"value"in Ee&&(Ee.writable=!0),Object.defineProperty(me,Ee.key,Ee)}}function k(me,ae,Le){return ae&&F(me.prototype,ae),Le&&F(me,Le),me}function M(me,ae){if(typeof ae!="function"&&ae!==null)throw new TypeError("Super expression must either be null or a function");me.prototype=Object.create(ae&&ae.prototype,{constructor:{value:me,writable:!0,configurable:!0}}),ae&&P(me,ae)}function P(me,ae){return P=Object.setPrototypeOf||function(Ee,ne){return Ee.__proto__=ne,Ee},P(me,ae)}function V(me){var ae=U();return function(){var Ee=z(me),ne;if(ae){var ge=z(this).constructor;ne=Reflect.construct(Ee,arguments,ge)}else ne=Ee.apply(this,arguments);return D(this,ne)}}function D(me,ae){return ae&&(I(ae)==="object"||typeof ae=="function")?ae:H(me)}function H(me){if(me===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return me}function U(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(me){return!1}}function z(me){return z=Object.setPrototypeOf?Object.getPrototypeOf:function(Le){return Le.__proto__||Object.getPrototypeOf(Le)},z(me)}var K=3,G="rgb(40, 40, 40)",X=17,Z=50,ee=19,Se=75,$=50,pe=1e3,xe=50,_e=1,Ue=1<<1,ye=1<<2,Be=1<<3,Q=1<<4,ie=1<<24,Ve=1<<25,J=1<<26,W=1<<27,j=1<<28,Y=function(me){M(Le,me);var ae=V(Le);function Le(Ee,ne,ge){var Ie;if(O(this,Le),!Ee)throw new Error("Must specify target");if(!ne)throw new Error("Must specify URL");Ie=ae.call(this),Ie._target=Ee,Ie._url=ne,ge=ge||{},Ie._rfbCredentials=ge.credentials||{},Ie._shared="shared"in ge?!!ge.shared:!0,Ie._repeaterID=ge.repeaterID||"",Ie._wsProtocols=ge.wsProtocols||[],Ie._rfbConnectionState="",Ie._rfbInitState="",Ie._rfbAuthScheme=-1,Ie._rfbCleanDisconnect=!0,Ie._rfbVersion=0,Ie._rfbMaxVersion=3.8,Ie._rfbTightVNC=!1,Ie._rfbVeNCryptState=0,Ie._rfbXvpVer=0,Ie._fbWidth=0,Ie._fbHeight=0,Ie._fbName="",Ie._capabilities={power:!1},Ie._supportsFence=!1,Ie._supportsContinuousUpdates=!1,Ie._enabledContinuousUpdates=!1,Ie._supportsSetDesktopSize=!1,Ie._screenID=0,Ie._screenFlags=0,Ie._qemuExtKeyEventSupported=!1,Ie._clipboardText=null,Ie._clipboardServerCapabilitiesActions={},Ie._clipboardServerCapabilitiesFormats={},Ie._sock=null,Ie._display=null,Ie._flushing=!1,Ie._keyboard=null,Ie._gestures=null,Ie._disconnTimer=null,Ie._resizeTimeout=null,Ie._mouseMoveTimer=null,Ie._decoders={},Ie._FBU={rects:0,x:0,y:0,width:0,height:0,encoding:null},Ie._mousePos={},Ie._mouseButtonMask=0,Ie._mouseLastMoveTime=0,Ie._viewportDragging=!1,Ie._viewportDragPos={},Ie._viewportHasMoved=!1,Ie._accumulatedWheelDeltaX=0,Ie._accumulatedWheelDeltaY=0,Ie._gestureLastTapTime=null,Ie._gestureFirstDoubleTapEv=null,Ie._gestureLastMagnitudeX=0,Ie._gestureLastMagnitudeY=0,Ie._eventHandlers={focusCanvas:Ie._focusCanvas.bind(H(Ie)),windowResize:Ie._windowResize.bind(H(Ie)),handleMouse:Ie._handleMouse.bind(H(Ie)),handleWheel:Ie._handleWheel.bind(H(Ie)),handleGesture:Ie._handleGesture.bind(H(Ie))},m.Debug(">> RFB.constructor"),Ie._screen=document.createElement("div"),Ie._screen.style.display="flex",Ie._screen.style.width="100%",Ie._screen.style.height="100%",Ie._screen.style.overflow="auto",Ie._screen.style.background=G,Ie._canvas=document.createElement("canvas"),Ie._canvas.style.margin="auto",Ie._canvas.style.outline="none",Ie._canvas.style.flexShrink="0",Ie._canvas.width=0,Ie._canvas.height=0,Ie._canvas.tabIndex=-1,Ie._screen.appendChild(Ie._canvas),Ie._cursor=new i.default,Ie._cursorImage=Le.cursors.none,Ie._decoders[f.encodings.encodingRaw]=new A.default,Ie._decoders[f.encodings.encodingCopyRect]=new v.default,Ie._decoders[f.encodings.encodingRRE]=new x.default,Ie._decoders[f.encodings.encodingHextile]=new b.default,Ie._decoders[f.encodings.encodingTight]=new w.default,Ie._decoders[f.encodings.encodingTightPNG]=new _.default;try{Ie._display=new o.default(Ie._canvas)}catch(Ge){throw m.Error("Display exception: "+Ge),Ge}return Ie._display.onflush=Ie._onFlush.bind(H(Ie)),Ie._keyboard=new a.default(Ie._canvas),Ie._keyboard.onkeyevent=Ie._handleKeyEvent.bind(H(Ie)),Ie._gestures=new d.default,Ie._sock=new l.default,Ie._sock.on("message",function(){Ie._handleMessage()}),Ie._sock.on("open",function(){Ie._rfbConnectionState==="connecting"&&Ie._rfbInitState===""?(Ie._rfbInitState="ProtocolVersion",m.Debug("Starting VNC handshake")):Ie._fail("Unexpected server connection while "+Ie._rfbConnectionState)}),Ie._sock.on("close",function(Ge){m.Debug("WebSocket on-close event");var ut="";Ge.code&&(ut="(code: "+Ge.code,Ge.reason&&(ut+=", reason: "+Ge.reason),ut+=")");switch(Ie._rfbConnectionState){case"connecting":Ie._fail("Connection closed "+ut);break;case"connected":Ie._updateConnectionState("disconnecting"),Ie._updateConnectionState("disconnected");break;case"disconnecting":Ie._updateConnectionState("disconnected");break;case"disconnected":Ie._fail("Unexpected server disconnect when already disconnected "+ut);break;default:Ie._fail("Unexpected server disconnect before connecting "+ut);break}Ie._sock.off("close")}),Ie._sock.on("error",function(Ge){return m.Warn("WebSocket on-error event")}),setTimeout(Ie._updateConnectionState.bind(H(Ie),"connecting")),m.Debug("<< RFB.constructor"),Ie.dragViewport=!1,Ie.focusOnClick=!0,Ie._viewOnly=!1,Ie._clipViewport=!1,Ie._scaleViewport=!1,Ie._resizeSession=!1,Ie._showDotCursor=!1,ge.showDotCursor!==void 0&&(m.Warn("Specifying showDotCursor as a RFB constructor argument is deprecated"),Ie._showDotCursor=ge.showDotCursor),Ie._qualityLevel=6,Ie._compressionLevel=2,Ie}return k(Le,[{key:"disconnect",value:function(){this._updateConnectionState("disconnecting"),this._sock.off("error"),this._sock.off("message"),this._sock.off("open")}},{key:"sendCredentials",value:function(ne){this._rfbCredentials=ne,setTimeout(this._initMsg.bind(this),0)}},{key:"sendCtrlAltDel",value:function(){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;m.Info("Sending Ctrl-Alt-Del"),this.sendKey(s.default.XK_Control_L,"ControlLeft",!0),this.sendKey(s.default.XK_Alt_L,"AltLeft",!0),this.sendKey(s.default.XK_Delete,"Delete",!0),this.sendKey(s.default.XK_Delete,"Delete",!1),this.sendKey(s.default.XK_Alt_L,"AltLeft",!1),this.sendKey(s.default.XK_Control_L,"ControlLeft",!1)}},{key:"machineShutdown",value:function(){this._xvpOp(1,2)}},{key:"machineReboot",value:function(){this._xvpOp(1,3)}},{key:"machineReset",value:function(){this._xvpOp(1,4)}},{key:"sendKey",value:function(ne,ge,Ie){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(Ie===void 0){this.sendKey(ne,ge,!0),this.sendKey(ne,ge,!1);return}var Ge=u.default[ge];if(this._qemuExtKeyEventSupported&&Ge)ne=ne||0,m.Info("Sending key ("+(Ie?"down":"up")+"): keysym "+ne+", scancode "+Ge),Le.messages.QEMUExtendedKeyEvent(this._sock,ne,Ie,Ge);else{if(!ne)return;m.Info("Sending keysym ("+(Ie?"down":"up")+"): "+ne),Le.messages.keyEvent(this._sock,ne,Ie?1:0)}}},{key:"focus",value:function(){this._canvas.focus()}},{key:"blur",value:function(){this._canvas.blur()}},{key:"clipboardPasteFrom",value:function(ne){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(this._clipboardServerCapabilitiesFormats[_e]&&this._clipboardServerCapabilitiesActions[W])this._clipboardText=ne,Le.messages.extendedClipboardNotify(this._sock,[_e]);else{for(var ge=new Uint8Array(ne.length),Ie=0;Ie<ne.length;Ie++)ge[Ie]=ne.charCodeAt(Ie);Le.messages.clientCutText(this._sock,ge)}}},{key:"_connect",value:function(){m.Debug(">> RFB.connect"),m.Info("connecting to "+this._url);try{this._sock.open(this._url,this._wsProtocols)}catch(ne){ne.name==="SyntaxError"?this._fail("Invalid host or port ("+ne+")"):this._fail("Error when opening socket ("+ne+")")}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),m.Debug("<< RFB.connect")}},{key:"_disconnect",value:function(){m.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(ne){if(!(ne.name==="NotFoundError"))throw ne}clearTimeout(this._resizeTimeout),clearTimeout(this._mouseMoveTimer),m.Debug("<< RFB.disconnect")}},{key:"_focusCanvas",value:function(ne){if(!this.focusOnClick)return;this.focus()}},{key:"_setDesktopName",value:function(ne){this._fbName=ne,this.dispatchEvent(new CustomEvent("desktopname",{detail:{name:this._fbName}}))}},{key:"_windowResize",value:function(ne){var ge=this;window.requestAnimationFrame(function(){ge._updateClip(),ge._updateScale()}),this._resizeSession&&(clearTimeout(this._resizeTimeout),this._resizeTimeout=setTimeout(this._requestRemoteResize.bind(this),500))}},{key:"_updateClip",value:function(){var ne=this._display.clipViewport,ge=this._clipViewport;if(this._scaleViewport&&(ge=!1),ne!==ge&&(this._display.clipViewport=ge),ge){var Ie=this._screenSize();this._display.viewportChangeSize(Ie.w,Ie.h),this._fixScrollbars()}}},{key:"_updateScale",value:function(){if(!this._scaleViewport)this._display.scale=1;else{var ne=this._screenSize();this._display.autoscale(ne.w,ne.h)}this._fixScrollbars()}},{key:"_requestRemoteResize",value:function(){if(clearTimeout(this._resizeTimeout),this._resizeTimeout=null,!this._resizeSession||this._viewOnly||!this._supportsSetDesktopSize)return;var ne=this._screenSize();Le.messages.setDesktopSize(this._sock,Math.floor(ne.w),Math.floor(ne.h),this._screenID,this._screenFlags),m.Debug("Requested new desktop size: "+ne.w+"x"+ne.h)}},{key:"_screenSize",value:function(){var ne=this._screen.getBoundingClientRect();return{w:ne.width,h:ne.height}}},{key:"_fixScrollbars",value:function(){var ne=this._screen.style.overflow;this._screen.style.overflow="hidden",this._screen.getBoundingClientRect(),this._screen.style.overflow=ne}},{key:"_updateConnectionState",value:function(ne){var ge=this,Ie=this._rfbConnectionState;if(ne===Ie){m.Debug("Already in state '"+ne+"', ignoring");return}if(Ie==="disconnected"){m.Error("Tried changing state of a disconnected RFB object");return}switch(ne){case"connected":if(Ie!=="connecting"){m.Error("Bad transition to connected state, previous connection state: "+Ie);return}break;case"disconnected":if(Ie!=="disconnecting"){m.Error("Bad transition to disconnected state, previous connection state: "+Ie);return}break;case"connecting":if(Ie!==""){m.Error("Bad transition to connecting state, previous connection state: "+Ie);return}break;case"disconnecting":if(Ie!=="connected"&&Ie!=="connecting"){m.Error("Bad transition to disconnecting state, previous connection state: "+Ie);return}break;default:m.Error("Unknown connection state: "+ne);return}this._rfbConnectionState=ne,m.Debug("New state '"+ne+"', was '"+Ie+"'."),this._disconnTimer&&ne!=="disconnecting"&&(m.Debug("Clearing disconnect timer"),clearTimeout(this._disconnTimer),this._disconnTimer=null,this._sock.off("close"));switch(ne){case"connecting":this._connect();break;case"connected":this.dispatchEvent(new CustomEvent("connect",{detail:{}}));break;case"disconnecting":this._disconnect(),this._disconnTimer=setTimeout(function(){m.Error("Disconnection timed out."),ge._updateConnectionState("disconnected")},K*1e3);break;case"disconnected":this.dispatchEvent(new CustomEvent("disconnect",{detail:{clean:this._rfbCleanDisconnect}}));break}}},{key:"_fail",value:function(ne){switch(this._rfbConnectionState){case"disconnecting":m.Error("Failed when disconnecting: "+ne);break;case"connected":m.Error("Failed while connected: "+ne);break;case"connecting":m.Error("Failed when connecting: "+ne);break;default:m.Error("RFB failure: "+ne);break}return this._rfbCleanDisconnect=!1,this._updateConnectionState("disconnecting"),this._updateConnectionState("disconnected"),!1}},{key:"_setCapability",value:function(ne,ge){this._capabilities[ne]=ge,this.dispatchEvent(new CustomEvent("capabilities",{detail:{capabilities:this._capabilities}}))}},{key:"_handleMessage",value:function(){if(this._sock.rQlen===0){m.Warn("handleMessage called on an empty receive queue");return}switch(this._rfbConnectionState){case"disconnected":m.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(ne,ge,Ie){this.sendKey(ne,ge,Ie)}},{key:"_handleMouse",value:function(ne){if(ne.type==="click"&&ne.target!==this._canvas)return;if(ne.stopPropagation(),ne.preventDefault(),ne.type==="click"||ne.type==="contextmenu")return;var ge=(0,g.clientToElement)(ne.clientX,ne.clientY,this._canvas);switch(ne.type){case"mousedown":(0,h.setCapture)(this._canvas),this._handleMouseButton(ge.x,ge.y,!0,1<<ne.button);break;case"mouseup":this._handleMouseButton(ge.x,ge.y,!1,1<<ne.button);break;case"mousemove":this._handleMouseMove(ge.x,ge.y);break}}},{key:"_handleMouseButton",value:function(ne,ge,Ie,Ge){if(this.dragViewport)if(Ie&&!this._viewportDragging){this._viewportDragging=!0,this._viewportDragPos={x:ne,y:ge},this._viewportHasMoved=!1;return}else{if(this._viewportDragging=!1,this._viewportHasMoved)return;this._sendMouse(ne,ge,Ge)}this._mouseMoveTimer!==null&&(clearTimeout(this._mouseMoveTimer),this._mouseMoveTimer=null,this._sendMouse(ne,ge,this._mouseButtonMask)),Ie?this._mouseButtonMask|=Ge:this._mouseButtonMask&=~Ge,this._sendMouse(ne,ge,this._mouseButtonMask)}},{key:"_handleMouseMove",value:function(ne,ge){var Ie=this;if(this._viewportDragging){var Ge=this._viewportDragPos.x-ne,ut=this._viewportDragPos.y-ge;(this._viewportHasMoved||Math.abs(Ge)>p.dragThreshold||Math.abs(ut)>p.dragThreshold)&&(this._viewportHasMoved=!0,this._viewportDragPos={x:ne,y:ge},this._display.viewportChangePos(Ge,ut));return}if(this._mousePos={x:ne,y:ge},this._mouseMoveTimer==null){var wt=Date.now()-this._mouseLastMoveTime;wt>X?(this._sendMouse(ne,ge,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()):this._mouseMoveTimer=setTimeout(function(){Ie._handleDelayedMouseMove()},X-wt)}}},{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(ne,ge,Ie){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;Le.messages.pointerEvent(this._sock,this._display.absX(ne),this._display.absY(ge),Ie)}},{key:"_handleWheel",value:function(ne){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;ne.stopPropagation(),ne.preventDefault();var ge=(0,g.clientToElement)(ne.clientX,ne.clientY,this._canvas),Ie=ne.deltaX,Ge=ne.deltaY;ne.deltaMode!==0&&(Ie*=ee,Ge*=ee),this._accumulatedWheelDeltaX+=Ie,this._accumulatedWheelDeltaY+=Ge,Math.abs(this._accumulatedWheelDeltaX)>=Z&&(this._accumulatedWheelDeltaX<0?(this._handleMouseButton(ge.x,ge.y,!0,1<<5),this._handleMouseButton(ge.x,ge.y,!1,1<<5)):this._accumulatedWheelDeltaX>0&&(this._handleMouseButton(ge.x,ge.y,!0,1<<6),this._handleMouseButton(ge.x,ge.y,!1,1<<6)),this._accumulatedWheelDeltaX=0),Math.abs(this._accumulatedWheelDeltaY)>=Z&&(this._accumulatedWheelDeltaY<0?(this._handleMouseButton(ge.x,ge.y,!0,1<<3),this._handleMouseButton(ge.x,ge.y,!1,1<<3)):this._accumulatedWheelDeltaY>0&&(this._handleMouseButton(ge.x,ge.y,!0,1<<4),this._handleMouseButton(ge.x,ge.y,!1,1<<4)),this._accumulatedWheelDeltaY=0)}},{key:"_fakeMouseMove",value:function(ne,ge,Ie){this._handleMouseMove(ge,Ie),this._cursor.move(ne.detail.clientX,ne.detail.clientY)}},{key:"_handleTapEvent",value:function(ne,ge){var Ie=(0,g.clientToElement)(ne.detail.clientX,ne.detail.clientY,this._canvas);if(this._gestureLastTapTime!==null&&Date.now()-this._gestureLastTapTime<pe&&this._gestureFirstDoubleTapEv.detail.type===ne.detail.type){var Ge=this._gestureFirstDoubleTapEv.detail.clientX-ne.detail.clientX,ut=this._gestureFirstDoubleTapEv.detail.clientY-ne.detail.clientY,wt=Math.hypot(Ge,ut);wt<xe?Ie=(0,g.clientToElement)(this._gestureFirstDoubleTapEv.detail.clientX,this._gestureFirstDoubleTapEv.detail.clientY,this._canvas):this._gestureFirstDoubleTapEv=ne}else this._gestureFirstDoubleTapEv=ne;this._gestureLastTapTime=Date.now(),this._fakeMouseMove(this._gestureFirstDoubleTapEv,Ie.x,Ie.y),this._handleMouseButton(Ie.x,Ie.y,!0,ge),this._handleMouseButton(Ie.x,Ie.y,!1,ge)}},{key:"_handleGesture",value:function(ne){var ge,Ie=(0,g.clientToElement)(ne.detail.clientX,ne.detail.clientY,this._canvas);switch(ne.type){case"gesturestart":switch(ne.detail.type){case"onetap":this._handleTapEvent(ne,1);break;case"twotap":this._handleTapEvent(ne,4);break;case"threetap":this._handleTapEvent(ne,2);break;case"drag":this._fakeMouseMove(ne,Ie.x,Ie.y),this._handleMouseButton(Ie.x,Ie.y,!0,1);break;case"longpress":this._fakeMouseMove(ne,Ie.x,Ie.y),this._handleMouseButton(Ie.x,Ie.y,!0,4);break;case"twodrag":this._gestureLastMagnitudeX=ne.detail.magnitudeX,this._gestureLastMagnitudeY=ne.detail.magnitudeY,this._fakeMouseMove(ne,Ie.x,Ie.y);break;case"pinch":this._gestureLastMagnitudeX=Math.hypot(ne.detail.magnitudeX,ne.detail.magnitudeY),this._fakeMouseMove(ne,Ie.x,Ie.y);break}break;case"gesturemove":switch(ne.detail.type){case"onetap":case"twotap":case"threetap":break;case"drag":case"longpress":this._fakeMouseMove(ne,Ie.x,Ie.y);break;case"twodrag":for(this._fakeMouseMove(ne,Ie.x,Ie.y);ne.detail.magnitudeY-this._gestureLastMagnitudeY>$;)this._handleMouseButton(Ie.x,Ie.y,!0,8),this._handleMouseButton(Ie.x,Ie.y,!1,8),this._gestureLastMagnitudeY+=$;for(;ne.detail.magnitudeY-this._gestureLastMagnitudeY<-$;)this._handleMouseButton(Ie.x,Ie.y,!0,16),this._handleMouseButton(Ie.x,Ie.y,!1,16),this._gestureLastMagnitudeY-=$;for(;ne.detail.magnitudeX-this._gestureLastMagnitudeX>$;)this._handleMouseButton(Ie.x,Ie.y,!0,32),this._handleMouseButton(Ie.x,Ie.y,!1,32),this._gestureLastMagnitudeX+=$;for(;ne.detail.magnitudeX-this._gestureLastMagnitudeX<-$;)this._handleMouseButton(Ie.x,Ie.y,!0,64),this._handleMouseButton(Ie.x,Ie.y,!1,64),this._gestureLastMagnitudeX-=$;break;case"pinch":if(this._fakeMouseMove(ne,Ie.x,Ie.y),ge=Math.hypot(ne.detail.magnitudeX,ne.detail.magnitudeY),Math.abs(ge-this._gestureLastMagnitudeX)>Se){for(this._handleKeyEvent(s.default.XK_Control_L,"ControlLeft",!0);ge-this._gestureLastMagnitudeX>Se;)this._handleMouseButton(Ie.x,Ie.y,!0,8),this._handleMouseButton(Ie.x,Ie.y,!1,8),this._gestureLastMagnitudeX+=Se;for(;ge-this._gestureLastMagnitudeX<-Se;)this._handleMouseButton(Ie.x,Ie.y,!0,16),this._handleMouseButton(Ie.x,Ie.y,!1,16),this._gestureLastMagnitudeX-=Se}this._handleKeyEvent(s.default.XK_Control_L,"ControlLeft",!1);break}break;case"gestureend":switch(ne.detail.type){case"onetap":case"twotap":case"threetap":case"pinch":case"twodrag":break;case"drag":this._fakeMouseMove(ne,Ie.x,Ie.y),this._handleMouseButton(Ie.x,Ie.y,!1,1);break;case"longpress":this._fakeMouseMove(ne,Ie.x,Ie.y),this._handleMouseButton(Ie.x,Ie.y,!1,4);break}break}}},{key:"_negotiateProtocolVersion",value:function(){if(this._sock.rQwait("version",12))return!1;var ne=this._sock.rQshiftStr(12).substr(4,7);m.Info("Server ProtocolVersion: "+ne);var ge=0;switch(ne){case"000.000":ge=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 "+ne)}if(ge){for(var Ie="ID:"+this._repeaterID;Ie.length<250;)Ie+="\0";return this._sock.sendString(Ie),!0}this._rfbVersion>this._rfbMaxVersion&&(this._rfbVersion=this._rfbMaxVersion);var Ge="00"+parseInt(this._rfbVersion,10)+".00"+this._rfbVersion*10%10;this._sock.sendString("RFB "+Ge+`
|
|
|
`),m.Debug("Sent ProtocolVersion: "+Ge),this._rfbInitState="Security"}},{key:"_negotiateSecurity",value:function(){function ne(Ge,ut){for(var wt=0;wt<ut.length;wt++)if(ut[wt]===Ge)return!0;return!1}if(this._rfbVersion>=3.7){var ge=this._sock.rQshift8();if(this._sock.rQwait("security type",ge,1))return!1;if(ge===0)return this._rfbInitState="SecurityReason",this._securityContext="no security types",this._securityStatus=1,this._initMsg();var Ie=this._sock.rQshiftBytes(ge);if(m.Debug("Server security types: "+Ie),ne(1,Ie))this._rfbAuthScheme=1;else if(ne(22,Ie))this._rfbAuthScheme=22;else if(ne(16,Ie))this._rfbAuthScheme=16;else if(ne(2,Ie))this._rfbAuthScheme=2;else if(ne(19,Ie))this._rfbAuthScheme=19;else return this._fail("Unsupported security types (types: "+Ie+")");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",m.Debug("Authenticating using scheme: "+this._rfbAuthScheme),this._initMsg()}},{key:"_handleSecurityReason",value:function(){if(this._sock.rQwait("reason length",4))return!1;var ne=this._sock.rQshift32(),ge="";if(ne>0){if(this._sock.rQwait("reason",ne,4))return!1;ge=this._sock.rQshiftStr(ne)}return ge!==""?(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus,reason:ge}})),this._fail("Security negotiation failed on "+this._securityContext+" (reason: "+ge+")")):(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 ne=String.fromCharCode(this._rfbCredentials.username.length)+String.fromCharCode(this._rfbCredentials.target.length)+this._rfbCredentials.username+this._rfbCredentials.target;return this._sock.sendString(ne),this._rfbAuthScheme=2,this._negotiateAuthentication()}},{key:"_negotiateVeNCryptAuth",value:function(){if(this._rfbVeNCryptState==0){if(this._sock.rQwait("vencrypt version",2))return!1;var ne=this._sock.rQshift8(),ge=this._sock.rQshift8();if(!(ne==0&&ge==2))return this._fail("Unsupported VeNCrypt version "+ne+"."+ge);this._sock.send([0,2]),this._rfbVeNCryptState=1}if(this._rfbVeNCryptState==1){if(this._sock.rQwait("vencrypt ack",1))return!1;var Ie=this._sock.rQshift8();if(Ie!=0)return this._fail("VeNCrypt failure "+Ie);this._rfbVeNCryptState=2}if(this._rfbVeNCryptState==2){if(this._sock.rQwait("vencrypt subtypes length",1))return!1;var Ge=this._sock.rQshift8();if(Ge<1)return this._fail("VeNCrypt subtypes empty");this._rfbVeNCryptSubtypesLength=Ge,this._rfbVeNCryptState=3}if(this._rfbVeNCryptState==3){if(this._sock.rQwait("vencrypt subtypes",4*this._rfbVeNCryptSubtypesLength))return!1;for(var ut=[],wt=0;wt<this._rfbVeNCryptSubtypesLength;wt++)ut.push(this._sock.rQshift32());if(ut.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 Pe=(0,C.encodeUTF8)(this._rfbCredentials.username),Dt=(0,C.encodeUTF8)(this._rfbCredentials.password);return this._sock.send([0,0,0,Pe.length]),this._sock.send([0,0,0,Dt.length]),this._sock.sendString(Pe),this._sock.sendString(Dt),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 ne=Array.prototype.slice.call(this._sock.rQshiftBytes(16)),ge=Le.genDES(this._rfbCredentials.password,ne);return this._sock.send(ge),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(ne){for(var ge={0:{vendor:"TGHT",signature:"NOTUNNEL"}},Ie={},Ge=0;Ge<ne;Ge++){var ut=this._sock.rQshift32(),wt=this._sock.rQshiftStr(4),Pe=this._sock.rQshiftStr(8);Ie[ut]={vendor:wt,signature:Pe}}return m.Debug("Server Tight tunnel types: "+Ie),Ie[1]&&Ie[1].vendor==="SICR"&&Ie[1].signature==="SCHANNEL"&&(m.Debug("Detected Siemens server. Assuming NOTUNNEL support."),Ie[0]={vendor:"TGHT",signature:"NOTUNNEL"}),Ie[0]?Ie[0].vendor!=ge[0].vendor||Ie[0].signature!=ge[0].signature?this._fail("Client's tunnel type had the incorrect vendor or signature"):(m.Debug("Selected tunnel type: "+ge[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 ne=this._sock.rQshift32();if(ne>0&&this._sock.rQwait("tunnel capabilities",16*ne,4))return!1;if(this._rfbTightVNC=!0,ne>0)return this._negotiateTightTunnels(ne),!1}if(this._sock.rQwait("sub auth count",4))return!1;var ge=this._sock.rQshift32();if(ge===0)return this._rfbInitState="SecurityResult",!0;if(this._sock.rQwait("sub auth capabilities",16*ge,4))return!1;for(var Ie={STDVNOAUTH__:1,STDVVNCAUTH_:2,TGHTULGNAUTH:129},Ge=[],ut=0;ut<ge;ut++){this._sock.rQshift32();var wt=this._sock.rQshiftStr(12);Ge.push(wt)}m.Debug("Server Tight authentication types: "+Ge);for(var Pe in Ie)if(Ge.indexOf(Pe)!=-1){this._sock.send([0,0,0,Ie[Pe]]),m.Debug("Selected authentication type: "+Pe);switch(Pe){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: "+Pe+")")}}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 ne=this._sock.rQshift32();return ne===0?(this._rfbInitState="ClientInitialisation",m.Debug("Authentication OK"),this._initMsg()):this._rfbVersion>=3.8?(this._rfbInitState="SecurityReason",this._securityContext="security result",this._securityStatus=ne,this._initMsg()):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:ne}})),this._fail("Security handshake failed"))}},{key:"_negotiateServerInit",value:function(){if(this._sock.rQwait("server initialization",24))return!1;var ne=this._sock.rQshift16(),ge=this._sock.rQshift16(),Ie=this._sock.rQshift8(),Ge=this._sock.rQshift8(),ut=this._sock.rQshift8(),wt=this._sock.rQshift8(),Pe=this._sock.rQshift16(),Dt=this._sock.rQshift16(),et=this._sock.rQshift16(),_t=this._sock.rQshift8(),Nt=this._sock.rQshift8(),Bt=this._sock.rQshift8();this._sock.rQskipBytes(3);var Ft=this._sock.rQshift32();if(this._sock.rQwait("server init name",Ft,24))return!1;var Gt=this._sock.rQshiftStr(Ft);if(Gt=(0,C.decodeUTF8)(Gt,!0),this._rfbTightVNC){if(this._sock.rQwait("TightVNC extended server init header",8,24+Ft))return!1;var qe=this._sock.rQshift16(),we=this._sock.rQshift16(),ue=this._sock.rQshift16();this._sock.rQskipBytes(2);var vt=(qe+we+ue)*16;if(this._sock.rQwait("TightVNC extended server init header",vt,32+Ft))return!1;this._sock.rQskipBytes(16*qe),this._sock.rQskipBytes(16*we),this._sock.rQskipBytes(16*ue)}return m.Info("Screen: "+ne+"x"+ge+", bpp: "+Ie+", depth: "+Ge+", bigEndian: "+ut+", trueColor: "+wt+", redMax: "+Pe+", greenMax: "+Dt+", blueMax: "+et+", redShift: "+_t+", greenShift: "+Nt+", blueShift: "+Bt),this._setDesktopName(Gt),this._resize(ne,ge),this._viewOnly||this._keyboard.grab(),this._fbDepth=24,this._fbName==="Intel(r) AMT KVM"&&(m.Warn("Intel AMT KVM only supports 8/16 bit depths. Using low color mode."),this._fbDepth=8),Le.messages.pixelFormat(this._sock,this._fbDepth,!0),this._sendEncodings(),Le.messages.fbUpdateRequest(this._sock,!1,0,0,this._fbWidth,this._fbHeight),this._updateConnectionState("connected"),!0}},{key:"_sendEncodings",value:function(){var ne=[];ne.push(f.encodings.encodingCopyRect),this._fbDepth==24&&(ne.push(f.encodings.encodingTight),ne.push(f.encodings.encodingTightPNG),ne.push(f.encodings.encodingHextile),ne.push(f.encodings.encodingRRE)),ne.push(f.encodings.encodingRaw),ne.push(f.encodings.pseudoEncodingQualityLevel0+this._qualityLevel),ne.push(f.encodings.pseudoEncodingCompressLevel0+this._compressionLevel),ne.push(f.encodings.pseudoEncodingDesktopSize),ne.push(f.encodings.pseudoEncodingLastRect),ne.push(f.encodings.pseudoEncodingQEMUExtendedKeyEvent),ne.push(f.encodings.pseudoEncodingExtendedDesktopSize),ne.push(f.encodings.pseudoEncodingXvp),ne.push(f.encodings.pseudoEncodingFence),ne.push(f.encodings.pseudoEncodingContinuousUpdates),ne.push(f.encodings.pseudoEncodingDesktopName),ne.push(f.encodings.pseudoEncodingExtendedClipboard),this._fbDepth==24&&(ne.push(f.encodings.pseudoEncodingVMwareCursor),ne.push(f.encodings.pseudoEncodingCursor)),Le.messages.clientEncodings(this._sock,ne)}},{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 m.Debug("SetColorMapEntries"),this._fail("Unexpected SetColorMapEntries message")}},{key:"_handleServerCutText",value:function(){if(m.Debug("ServerCutText"),this._sock.rQwait("ServerCutText header",7,1))return!1;this._sock.rQskipBytes(3);var ne=this._sock.rQshift32();if(ne=(0,y.toSigned32bit)(ne),this._sock.rQwait("ServerCutText content",Math.abs(ne),8))return!1;if(ne>=0){var ge=this._sock.rQshiftStr(ne);if(this._viewOnly)return!0;this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:ge}}))}else{ne=Math.abs(ne);var Ie=this._sock.rQshift32(),Ge=Ie&65535,ut=Ie&4278190080,wt=!!(ut&ie);if(wt){this._clipboardServerCapabilitiesFormats={},this._clipboardServerCapabilitiesActions={};for(var Pe=0;Pe<=15;Pe++){var Dt=1<<Pe;Ge&Dt&&(this._clipboardServerCapabilitiesFormats[Dt]=!0,this._sock.rQshift32())}for(var et=24;et<=31;et++){var _t=1<<et;this._clipboardServerCapabilitiesActions[_t]=!!(ut&_t)}var Nt=[ie,Ve,J,W,j];Le.messages.extendedClipboardCaps(this._sock,Nt,{extendedClipboardFormatText:0})}else if(ut===Ve){if(this._viewOnly)return!0;this._clipboardText!=null&&this._clipboardServerCapabilitiesActions[j]&&(Ge&_e&&Le.messages.extendedClipboardProvide(this._sock,[_e],[this._clipboardText]))}else if(ut===J){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[W]&&(this._clipboardText!=null?Le.messages.extendedClipboardNotify(this._sock,[_e]):Le.messages.extendedClipboardNotify(this._sock,[]))}else if(ut===W){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[Ve]&&(Ge&_e&&Le.messages.extendedClipboardRequest(this._sock,[_e]))}else if(ut===j){if(this._viewOnly)return!0;if(!(Ge&_e))return!0;this._clipboardText=null;var Bt=this._sock.rQshiftBytes(ne-4),Ft=new n.default,Gt=null;Ft.setInput(Bt);for(var qe=0;qe<=15;qe++){var we=1<<qe;if(Ge&we){var ue=0,vt=Ft.inflate(4);ue|=vt[0]<<24,ue|=vt[1]<<16,ue|=vt[2]<<8,ue|=vt[3];var at=Ft.inflate(ue);we===_e&&(Gt=at)}}if(Ft.setInput(null),Gt!==null){for(var Ae="",Xt=0;Xt<Gt.length;Xt++)Ae+=String.fromCharCode(Gt[Xt]);Gt=Ae,Gt=(0,C.decodeUTF8)(Gt),Gt.length>0&&Gt.charAt(Gt.length-1)==="\0"&&(Gt=Gt.slice(0,-1)),Gt=Gt.replace(`\r
|
|
|
`,`
|
|
|
`),this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:Gt}}))}}else return this._fail("Unexpected action in extended clipboard message: "+ut)}return!0}},{key:"_handleServerFenceMsg",value:function(){if(this._sock.rQwait("ServerFence header",8,1))return!1;this._sock.rQskipBytes(3);var ne=this._sock.rQshift32(),ge=this._sock.rQshift8();if(this._sock.rQwait("ServerFence payload",ge,9))return!1;ge>64&&(m.Warn("Bad payload length ("+ge+") in fence response"),ge=64);var Ie=this._sock.rQshiftStr(ge);return this._supportsFence=!0,ne&1<<31?(ne&=1<<0|1<<1,Le.messages.clientFence(this._sock,ne,Ie),!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 ne=this._sock.rQshift8(),ge=this._sock.rQshift8();switch(ge){case 0:m.Error("XVP Operation Failed");break;case 1:this._rfbXvpVer=ne,m.Info("XVP extensions enabled (version "+this._rfbXvpVer+")"),this._setCapability("power",!0);break;default:this._fail("Illegal server XVP message (msg: "+ge+")");break}return!0}},{key:"_normalMsg",value:function(){var ne;this._FBU.rects>0?ne=0:ne=this._sock.rQshift8();var ge,Ie;switch(ne){case 0:return Ie=this._framebufferUpdate(),Ie&&!this._enabledContinuousUpdates&&Le.messages.fbUpdateRequest(this._sock,!0,0,0,this._fbWidth,this._fbHeight),Ie;case 1:return this._handleSetColourMapMsg();case 2:return m.Debug("Bell"),this.dispatchEvent(new CustomEvent("bell",{detail:{}})),!0;case 3:return this._handleServerCutText();case 150:return ge=!this._supportsContinuousUpdates,this._supportsContinuousUpdates=!0,this._enabledContinuousUpdates=!1,ge&&(this._enabledContinuousUpdates=!0,this._updateContinuousUpdates(),m.Info("Enabling continuous updates.")),!0;case 248:return this._handleServerFenceMsg();case 250:return this._handleXvpMsg();default:return this._fail("Unexpected server message (type "+ne+")"),m.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 ne=this._sock.rQshiftBytes(12);this._FBU.x=(ne[0]<<8)+ne[1],this._FBU.y=(ne[2]<<8)+ne[3],this._FBU.width=(ne[4]<<8)+ne[5],this._FBU.height=(ne[6]<<8)+ne[7],this._FBU.encoding=parseInt((ne[8]<<24)+(ne[9]<<16)+(ne[10]<<8)+ne[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 f.encodings.pseudoEncodingLastRect:return this._FBU.rects=1,!0;case f.encodings.pseudoEncodingVMwareCursor:return this._handleVMwareCursor();case f.encodings.pseudoEncodingCursor:return this._handleCursor();case f.encodings.pseudoEncodingQEMUExtendedKeyEvent:try{var ne=document.createEvent("keyboardEvent");ne.code!==void 0&&(this._qemuExtKeyEventSupported=!0)}catch(ge){}return!0;case f.encodings.pseudoEncodingDesktopName:return this._handleDesktopName();case f.encodings.pseudoEncodingDesktopSize:return this._resize(this._FBU.width,this._FBU.height),!0;case f.encodings.pseudoEncodingExtendedDesktopSize:return this._handleExtendedDesktopSize();default:return this._handleDataRect()}}},{key:"_handleVMwareCursor",value:function(){var ne=this._FBU.x,ge=this._FBU.y,Ie=this._FBU.width,Ge=this._FBU.height;if(this._sock.rQwait("VMware cursor encoding",1))return!1;var ut=this._sock.rQshift8();this._sock.rQshift8();var wt,Pe=4;if(ut==0){var Dt=4294967040|0;if(wt=new Array(Ie*Ge*Pe),this._sock.rQwait("VMware cursor classic encoding",Ie*Ge*Pe*2,2))return!1;for(var et=new Array(Ie*Ge),_t=0;_t<Ie*Ge;_t++)et[_t]=this._sock.rQshift32();for(var Nt=new Array(Ie*Ge),Bt=0;Bt<Ie*Ge;Bt++)Nt[Bt]=this._sock.rQshift32();for(var Ft=0;Ft<Ie*Ge;Ft++)if(et[Ft]==0){var Gt=Nt[Ft],qe=Gt>>8&255,we=Gt>>16&255,ue=Gt>>24&255;wt[Ft*Pe]=qe,wt[Ft*Pe+1]=we,wt[Ft*Pe+2]=ue,wt[Ft*Pe+3]=255}else(et[Ft]&Dt)==Dt?Nt[Ft]==0?(wt[Ft*Pe]=0,wt[Ft*Pe+1]=0,wt[Ft*Pe+2]=0,wt[Ft*Pe+3]=0):((Nt[Ft]&Dt)==Dt,wt[Ft*Pe]=0,wt[Ft*Pe+1]=0,wt[Ft*Pe+2]=0,wt[Ft*Pe+3]=255):(wt[Ft*Pe]=0,wt[Ft*Pe+1]=0,wt[Ft*Pe+2]=0,wt[Ft*Pe+3]=255)}else if(ut==1){if(this._sock.rQwait("VMware cursor alpha encoding",Ie*Ge*4,2))return!1;wt=new Array(Ie*Ge*Pe);for(var vt=0;vt<Ie*Ge;vt++){var at=this._sock.rQshift32();wt[vt*4]=at>>24&255,wt[vt*4+1]=at>>16&255,wt[vt*4+2]=at>>8&255,wt[vt*4+3]=at&255}}else return m.Warn("The given cursor type is not supported: "+ut+" given."),!1;return this._updateCursor(wt,ne,ge,Ie,Ge),!0}},{key:"_handleCursor",value:function(){var ne=this._FBU.x,ge=this._FBU.y,Ie=this._FBU.width,Ge=this._FBU.height,ut=Ie*Ge*4,wt=Math.ceil(Ie/8)*Ge,Pe=ut+wt;if(this._sock.rQwait("cursor encoding",Pe))return!1;for(var Dt=this._sock.rQshiftBytes(ut),et=this._sock.rQshiftBytes(wt),_t=new Uint8Array(Ie*Ge*4),Nt=0,Bt=0;Bt<Ge;Bt++)for(var Ft=0;Ft<Ie;Ft++){var Gt=Bt*Math.ceil(Ie/8)+Math.floor(Ft/8),qe=et[Gt]<<Ft%8&128?255:0;_t[Nt]=Dt[Nt+2],_t[Nt+1]=Dt[Nt+1],_t[Nt+2]=Dt[Nt],_t[Nt+3]=qe,Nt+=4}return this._updateCursor(_t,ne,ge,Ie,Ge),!0}},{key:"_handleDesktopName",value:function(){if(this._sock.rQwait("DesktopName",4))return!1;var ne=this._sock.rQshift32();if(this._sock.rQwait("DesktopName",ne,4))return!1;var ge=this._sock.rQshiftStr(ne);return ge=(0,C.decodeUTF8)(ge,!0),this._setDesktopName(ge),!0}},{key:"_handleExtendedDesktopSize",value:function(){if(this._sock.rQwait("ExtendedDesktopSize",4))return!1;var ne=this._sock.rQpeek8(),ge=4+ne*16;if(this._sock.rQwait("ExtendedDesktopSize",ge))return!1;var Ie=!this._supportsSetDesktopSize;this._supportsSetDesktopSize=!0,Ie&&this._requestRemoteResize(),this._sock.rQskipBytes(1),this._sock.rQskipBytes(3);for(var Ge=0;Ge<ne;Ge+=1)Ge===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 ut="";switch(this._FBU.y){case 1:ut="Resize is administratively prohibited";break;case 2:ut="Out of resources";break;case 3:ut="Invalid screen layout";break;default:ut="Unknown reason";break}m.Warn("Server did not accept the resize request: "+ut)}else this._resize(this._FBU.width,this._FBU.height);return!0}},{key:"_handleDataRect",value:function(){var ne=this._decoders[this._FBU.encoding];if(!ne)return this._fail("Unsupported encoding (encoding: "+this._FBU.encoding+")"),!1;try{return ne.decodeRect(this._FBU.x,this._FBU.y,this._FBU.width,this._FBU.height,this._sock,this._display,this._fbDepth)}catch(ge){return this._fail("Error decoding rect: "+ge),!1}}},{key:"_updateContinuousUpdates",value:function(){if(!this._enabledContinuousUpdates)return;Le.messages.enableContinuousUpdates(this._sock,!0,0,0,this._fbWidth,this._fbHeight)}},{key:"_resize",value:function(ne,ge){this._fbWidth=ne,this._fbHeight=ge,this._display.resize(this._fbWidth,this._fbHeight),this._updateClip(),this._updateScale(),this._updateContinuousUpdates()}},{key:"_xvpOp",value:function(ne,ge){if(this._rfbXvpVer<ne)return;m.Info("Sending XVP operation "+ge+" (version "+ne+")"),Le.messages.xvpOp(this._sock,ne,ge)}},{key:"_updateCursor",value:function(ne,ge,Ie,Ge,ut){this._cursorImage={rgbaPixels:ne,hotx:ge,hoty:Ie,w:Ge,h:ut},this._refreshCursor()}},{key:"_shouldShowDotCursor",value:function(){if(!this._showDotCursor)return!1;for(var ne=3;ne<this._cursorImage.rgbaPixels.length;ne+=4)if(this._cursorImage.rgbaPixels[ne])return!1;return!0}},{key:"_refreshCursor",value:function(){if(this._rfbConnectionState!=="connecting"&&this._rfbConnectionState!=="connected")return;var ne=this._shouldShowDotCursor()?Le.cursors.dot:this._cursorImage;this._cursor.change(ne.rgbaPixels,ne.hotx,ne.hoty,ne.w,ne.h)}},{key:"viewOnly",get:function(){return this._viewOnly},set:function(ne){this._viewOnly=ne,(this._rfbConnectionState==="connecting"||this._rfbConnectionState==="connected")&&(ne?this._keyboard.ungrab():this._keyboard.grab())}},{key:"capabilities",get:function(){return this._capabilities}},{key:"touchButton",get:function(){return 0},set:function(ne){m.Warn("Using old API!")}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(ne){this._clipViewport=ne,this._updateClip()}},{key:"scaleViewport",get:function(){return this._scaleViewport},set:function(ne){this._scaleViewport=ne,ne&&this._clipViewport&&this._updateClip(),this._updateScale(),!ne&&this._clipViewport&&this._updateClip()}},{key:"resizeSession",get:function(){return this._resizeSession},set:function(ne){this._resizeSession=ne,ne&&this._requestRemoteResize()}},{key:"showDotCursor",get:function(){return this._showDotCursor},set:function(ne){this._showDotCursor=ne,this._refreshCursor()}},{key:"background",get:function(){return this._screen.style.background},set:function(ne){this._screen.style.background=ne}},{key:"qualityLevel",get:function(){return this._qualityLevel},set:function(ne){if(!Number.isInteger(ne)||ne<0||ne>9){m.Error("qualityLevel must be an integer between 0 and 9");return}if(this._qualityLevel===ne)return;this._qualityLevel=ne,this._rfbConnectionState==="connected"&&this._sendEncodings()}},{key:"compressionLevel",get:function(){return this._compressionLevel},set:function(ne){if(!Number.isInteger(ne)||ne<0||ne>9){m.Error("compressionLevel must be an integer between 0 and 9");return}if(this._compressionLevel===ne)return;this._compressionLevel=ne,this._rfbConnectionState==="connected"&&this._sendEncodings()}}],[{key:"genDES",value:function(ne,ge){var Ie=ne.split("").map(function(Ge){return Ge.charCodeAt(0)});return new e.default(Ie).encrypt(ge)}}]),Le}(c.default);N.default=Y,Y.messages={keyEvent:function(ae,Le,Ee){var ne=ae._sQ,ge=ae._sQlen;ne[ge]=4,ne[ge+1]=Ee,ne[ge+2]=0,ne[ge+3]=0,ne[ge+4]=Le>>24,ne[ge+5]=Le>>16,ne[ge+6]=Le>>8,ne[ge+7]=Le,ae._sQlen+=8,ae.flush()},QEMUExtendedKeyEvent:function(ae,Le,Ee,ne){function ge(wt){var Pe=ne>>8,Dt=ne&255;return Pe===224&&Dt<127?Dt|128:wt}var Ie=ae._sQ,Ge=ae._sQlen;Ie[Ge]=255,Ie[Ge+1]=0,Ie[Ge+2]=Ee>>8,Ie[Ge+3]=Ee,Ie[Ge+4]=Le>>24,Ie[Ge+5]=Le>>16,Ie[Ge+6]=Le>>8,Ie[Ge+7]=Le;var ut=ge(ne);Ie[Ge+8]=ut>>24,Ie[Ge+9]=ut>>16,Ie[Ge+10]=ut>>8,Ie[Ge+11]=ut,ae._sQlen+=12,ae.flush()},pointerEvent:function(ae,Le,Ee,ne){var ge=ae._sQ,Ie=ae._sQlen;ge[Ie]=5,ge[Ie+1]=ne,ge[Ie+2]=Le>>8,ge[Ie+3]=Le,ge[Ie+4]=Ee>>8,ge[Ie+5]=Ee,ae._sQlen+=6,ae.flush()},_buildExtendedClipboardFlags:function(ae,Le){for(var Ee=new Uint8Array(4),ne=0,ge=0,Ie=0;Ie<ae.length;Ie++)ge|=ae[Ie];for(var Ge=0;Ge<Le.length;Ge++)ne|=Le[Ge];return Ee[0]=ge>>24,Ee[1]=0,Ee[2]=0,Ee[3]=ne,Ee},extendedClipboardProvide:function(ae,Le,Ee){for(var ne=new t.default,ge=[],Ie=0;Ie<Le.length;Ie++){if(Le[Ie]!=_e)throw new Error("Unsupported extended clipboard format for Provide message.");Ee[Ie]=Ee[Ie].replace(/\r\n|\r|\n/gm,`\r
|
|
|
`);var Ge=(0,C.encodeUTF8)(Ee[Ie]+"\0");ge.push(Ge.length>>24&255,Ge.length>>16&255,Ge.length>>8&255,Ge.length&255);for(var ut=0;ut<Ge.length;ut++)ge.push(Ge.charCodeAt(ut))}var wt=ne.deflate(new Uint8Array(ge)),Pe=new Uint8Array(4+wt.length);Pe.set(Y.messages._buildExtendedClipboardFlags([j],Le)),Pe.set(wt,4),Y.messages.clientCutText(ae,Pe,!0)},extendedClipboardNotify:function(ae,Le){var Ee=Y.messages._buildExtendedClipboardFlags([W],Le);Y.messages.clientCutText(ae,Ee,!0)},extendedClipboardRequest:function(ae,Le){var Ee=Y.messages._buildExtendedClipboardFlags([Ve],Le);Y.messages.clientCutText(ae,Ee,!0)},extendedClipboardCaps:function(ae,Le,Ee){var ne=Object.keys(Ee),ge=new Uint8Array(4+4*ne.length);ne.map(function(ut){return parseInt(ut)}),ne.sort(function(ut,wt){return ut-wt}),ge.set(Y.messages._buildExtendedClipboardFlags(Le,[]));for(var Ie=4,Ge=0;Ge<ne.length;Ge++)ge[Ie]=Ee[ne[Ge]]>>24,ge[Ie+1]=Ee[ne[Ge]]>>16,ge[Ie+2]=Ee[ne[Ge]]>>8,ge[Ie+3]=Ee[ne[Ge]]>>0,Ie+=4,ge[3]|=1<<ne[Ge];Y.messages.clientCutText(ae,ge,!0)},clientCutText:function(ae,Le){var Ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ne=ae._sQ,ge=ae._sQlen;ne[ge]=6,ne[ge+1]=0,ne[ge+2]=0,ne[ge+3]=0;var Ie;Ee?Ie=(0,y.toUnsigned32bit)(-Le.length):Ie=Le.length,ne[ge+4]=Ie>>24,ne[ge+5]=Ie>>16,ne[ge+6]=Ie>>8,ne[ge+7]=Ie,ae._sQlen+=8;for(var Ge=0,ut=Le.length;ut>0;){for(var wt=Math.min(ut,ae._sQbufferSize-ae._sQlen),Pe=0;Pe<wt;Pe++)ne[ae._sQlen+Pe]=Le[Ge+Pe];ae._sQlen+=wt,ae.flush(),ut-=wt,Ge+=wt}},setDesktopSize:function(ae,Le,Ee,ne,ge){var Ie=ae._sQ,Ge=ae._sQlen;Ie[Ge]=251,Ie[Ge+1]=0,Ie[Ge+2]=Le>>8,Ie[Ge+3]=Le,Ie[Ge+4]=Ee>>8,Ie[Ge+5]=Ee,Ie[Ge+6]=1,Ie[Ge+7]=0,Ie[Ge+8]=ne>>24,Ie[Ge+9]=ne>>16,Ie[Ge+10]=ne>>8,Ie[Ge+11]=ne,Ie[Ge+12]=0,Ie[Ge+13]=0,Ie[Ge+14]=0,Ie[Ge+15]=0,Ie[Ge+16]=Le>>8,Ie[Ge+17]=Le,Ie[Ge+18]=Ee>>8,Ie[Ge+19]=Ee,Ie[Ge+20]=ge>>24,Ie[Ge+21]=ge>>16,Ie[Ge+22]=ge>>8,Ie[Ge+23]=ge,ae._sQlen+=24,ae.flush()},clientFence:function(ae,Le,Ee){var ne=ae._sQ,ge=ae._sQlen;ne[ge]=248,ne[ge+1]=0,ne[ge+2]=0,ne[ge+3]=0,ne[ge+4]=Le>>24,ne[ge+5]=Le>>16,ne[ge+6]=Le>>8,ne[ge+7]=Le;var Ie=Ee.length;ne[ge+8]=Ie;for(var Ge=0;Ge<Ie;Ge++)ne[ge+9+Ge]=Ee.charCodeAt(Ge);ae._sQlen+=9+Ie,ae.flush()},enableContinuousUpdates:function(ae,Le,Ee,ne,ge,Ie){var Ge=ae._sQ,ut=ae._sQlen;Ge[ut]=150,Ge[ut+1]=Le,Ge[ut+2]=Ee>>8,Ge[ut+3]=Ee,Ge[ut+4]=ne>>8,Ge[ut+5]=ne,Ge[ut+6]=ge>>8,Ge[ut+7]=ge,Ge[ut+8]=Ie>>8,Ge[ut+9]=Ie,ae._sQlen+=10,ae.flush()},pixelFormat:function(ae,Le,Ee){var ne=ae._sQ,ge=ae._sQlen,Ie;Le>16?Ie=32:Le>8?Ie=16:Ie=8;var Ge=Math.floor(Le/3);ne[ge]=0,ne[ge+1]=0,ne[ge+2]=0,ne[ge+3]=0,ne[ge+4]=Ie,ne[ge+5]=Le,ne[ge+6]=0,ne[ge+7]=Ee?1:0,ne[ge+8]=0,ne[ge+9]=(1<<Ge)-1,ne[ge+10]=0,ne[ge+11]=(1<<Ge)-1,ne[ge+12]=0,ne[ge+13]=(1<<Ge)-1,ne[ge+14]=Ge*2,ne[ge+15]=Ge*1,ne[ge+16]=Ge*0,ne[ge+17]=0,ne[ge+18]=0,ne[ge+19]=0,ae._sQlen+=20,ae.flush()},clientEncodings:function(ae,Le){var Ee=ae._sQ,ne=ae._sQlen;Ee[ne]=2,Ee[ne+1]=0,Ee[ne+2]=Le.length>>8,Ee[ne+3]=Le.length;for(var ge=ne+4,Ie=0;Ie<Le.length;Ie++){var Ge=Le[Ie];Ee[ge]=Ge>>24,Ee[ge+1]=Ge>>16,Ee[ge+2]=Ge>>8,Ee[ge+3]=Ge,ge+=4}ae._sQlen+=ge-ne,ae.flush()},fbUpdateRequest:function(ae,Le,Ee,ne,ge,Ie){var Ge=ae._sQ,ut=ae._sQlen;typeof Ee=="undefined"&&(Ee=0),typeof ne=="undefined"&&(ne=0),Ge[ut]=3,Ge[ut+1]=Le?1:0,Ge[ut+2]=Ee>>8&255,Ge[ut+3]=Ee&255,Ge[ut+4]=ne>>8&255,Ge[ut+5]=ne&255,Ge[ut+6]=ge>>8&255,Ge[ut+7]=ge&255,Ge[ut+8]=Ie>>8&255,Ge[ut+9]=Ie&255,ae._sQlen+=10,ae.flush()},xvpOp:function(ae,Le,Ee){var ne=ae._sQ,ge=ae._sQlen;ne[ge]=250,ne[ge+1]=0,ne[ge+2]=Le,ne[ge+3]=Ee,ae._sQlen+=4,ae.flush()}},Y.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(B,N,r){(function(y){y(r("VrN/"))})(function(y){"use strict";var m={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};y.defineMode("xml",function(p,g){var h=p.indentUnit,c={},o=g.htmlMode?m:C;for(var n in o)c[n]=o[n];for(var n in g)c[n]=g[n];var t,a;function d(O,F){function k(V){return F.tokenize=V,V(O,F)}var M=O.next();if(M=="<")return O.eat("!")?O.eat("[")?O.match("CDATA[")?k(e("atom","]]>")):null:O.match("--")?k(e("comment","-->")):O.match("DOCTYPE",!0,!0)?(O.eatWhile(/[\w\._\-]/),k(s(1))):null:O.eat("?")?(O.eatWhile(/[\w\._\-]/),F.tokenize=e("meta","?>"),"meta"):(t=O.eat("/")?"closeTag":"openTag",F.tokenize=i,"tag bracket");if(M=="&"){var P;return O.eat("#")?O.eat("x")?P=O.eatWhile(/[a-fA-F\d]/)&&O.eat(";"):P=O.eatWhile(/[\d]/)&&O.eat(";"):P=O.eatWhile(/[\w\.\-:]/)&&O.eat(";"),P?"atom":"error"}else return O.eatWhile(/[^&<]/),null}d.isInText=!0;function i(O,F){var k=O.next();if(k==">"||k=="/"&&O.eat(">"))return F.tokenize=d,t=k==">"?"endTag":"selfcloseTag","tag bracket";if(k=="=")return t="equals",null;if(k=="<"){F.tokenize=d,F.state=v,F.tagName=F.tagStart=null;var M=F.tokenize(O,F);return M?M+" tag error":"tag error"}else return/[\'\"]/.test(k)?(F.tokenize=l(k),F.stringStartCol=O.column(),F.tokenize(O,F)):(O.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function l(O){var F=function(M,P){for(;!M.eol();)if(M.next()==O){P.tokenize=i;break}return"string"};return F.isInAttribute=!0,F}function e(O,F){return function(k,M){for(;!k.eol();){if(k.match(F)){M.tokenize=d;break}k.next()}return O}}function s(O){return function(F,k){for(var M;(M=F.next())!=null;){if(M=="<")return k.tokenize=s(O+1),k.tokenize(F,k);if(M==">")if(O==1){k.tokenize=d;break}else return k.tokenize=s(O-1),k.tokenize(F,k)}return"meta"}}function u(O,F,k){this.prev=O.context,this.tagName=F,this.indent=O.indented,this.startOfLine=k,(c.doNotIndent.hasOwnProperty(F)||O.context&&O.context.noIndent)&&(this.noIndent=!0)}function f(O){O.context&&(O.context=O.context.prev)}function A(O,F){for(var k;;){if(!O.context)return;if(k=O.context.tagName,!c.contextGrabbers.hasOwnProperty(k)||!c.contextGrabbers[k].hasOwnProperty(F))return;f(O)}}function v(O,F,k){return O=="openTag"?(k.tagStart=F.column(),x):O=="closeTag"?b:v}function x(O,F,k){return O=="word"?(k.tagName=F.current(),a="tag",T):c.allowMissingTagName&&O=="endTag"?(a="tag bracket",T(O,F,k)):(a="error",x)}function b(O,F,k){if(O=="word"){var M=F.current();return k.context&&k.context.tagName!=M&&c.implicitlyClosed.hasOwnProperty(k.context.tagName)&&f(k),k.context&&k.context.tagName==M||c.matchClosing===!1?(a="tag",w):(a="tag error",_)}else return c.allowMissingTagName&&O=="endTag"?(a="tag bracket",w(O,F,k)):(a="error",_)}function w(O,F,k){return O!="endTag"?(a="error",w):(f(k),v)}function _(O,F,k){return a="error",w(O,F,k)}function T(O,F,k){if(O=="word")return a="attribute",S;if(O=="endTag"||O=="selfcloseTag"){var M=k.tagName,P=k.tagStart;return k.tagName=k.tagStart=null,O=="selfcloseTag"||c.autoSelfClosers.hasOwnProperty(M)?A(k,M):(A(k,M),k.context=new u(k,M,P==k.indented)),v}return a="error",T}function S(O,F,k){return O=="equals"?E:(c.allowMissing||(a="error"),T(O,F,k))}function E(O,F,k){return O=="string"?I:O=="word"&&c.allowUnquoted?(a="string",T):(a="error",T(O,F,k))}function I(O,F,k){return O=="string"?I:T(O,F,k)}return{startState:function(F){var k={tokenize:d,state:v,indented:F||0,tagName:null,tagStart:null,context:null};return F!=null&&(k.baseIndent=F),k},token:function(F,k){if(!k.tagName&&F.sol()&&(k.indented=F.indentation()),F.eatSpace())return null;t=null;var M=k.tokenize(F,k);return(M||t)&&M!="comment"&&(a=null,k.state=k.state(t||M,F,k),a&&(M=a=="error"?M+" error":a)),M},indent:function(F,k,M){var P=F.context;if(F.tokenize.isInAttribute)return F.tagStart==F.indented?F.stringStartCol+1:F.indented+h;if(P&&P.noIndent)return y.Pass;if(F.tokenize!=i&&F.tokenize!=d)return M?M.match(/^(\s*)/)[0].length:0;if(F.tagName)return c.multilineTagIndentPastTag!==!1?F.tagStart+F.tagName.length+2:F.tagStart+h*(c.multilineTagIndentFactor||1);if(c.alignCDATA&&/<!\[CDATA\[/.test(k))return 0;var V=k&&/^<(\/)?([\w_:\.-]*)/.exec(k);if(V&&V[1])for(;P;)if(P.tagName==V[2]){P=P.prev;break}else if(c.implicitlyClosed.hasOwnProperty(P.tagName))P=P.prev;else break;else if(V)for(;P;){var D=c.contextGrabbers[P.tagName];if(D&&D.hasOwnProperty(V[2]))P=P.prev;else break}for(;P&&P.prev&&!P.startOfLine;)P=P.prev;return P?P.indent+h:F.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:c.htmlMode?"html":"xml",helperType:c.htmlMode?"html":"xml",skipAttribute:function(F){F.state==E&&(F.state=T)},xmlCurrentTag:function(F){return F.tagName?{name:F.tagName,close:F.type=="closeTag"}:null},xmlCurrentContext:function(F){for(var k=[],M=F.context;M;M=M.prev)M.tagName&&k.push(M.tagName);return k.reverse()}}}),y.defineMIME("text/xml","xml"),y.defineMIME("application/xml","xml"),y.mimeModes.hasOwnProperty("text/html")||y.defineMIME("text/html",{name:"xml",htmlMode:!0})})},"1n7x":function(B,N,r){(function(y,m){(function(C,p){B.exports=p(r("eMSv"),r("wOnQ"))})(this,function(C,p){"use strict";C=C&&C.hasOwnProperty("default")?C.default:C,p=p&&p.hasOwnProperty("default")?p.default:p;var g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(b){return typeof b}:function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},h=Object.assign||function(b){for(var w=1;w<arguments.length;w++){var _=arguments[w];for(var T in _)Object.prototype.hasOwnProperty.call(_,T)&&(b[T]=_[T])}return b},c=function(w){var _=typeof w=="undefined"?"undefined":g(w);return _==="undefined"?"undefined":_==="string"||w instanceof String?"string":_==="number"||w instanceof Number?"number":_==="function"||w instanceof Function?"function":!!w&&w.constructor===Array?"array":w&&w.nodeType===1?"element":_==="object"?"object":"unknown"},o=function(w,_){var T=document.createElement(w);if(_.className&&(T.className=_.className),_.innerHTML){T.innerHTML=_.innerHTML;for(var S=T.getElementsByTagName("script"),E=S.length;E-- >0;null)S[E].parentNode.removeChild(S[E])}for(var I in _.style)T.style[I]=_.style[I];return T},n=function b(w,_){for(var T=w.nodeType===3?document.createTextNode(w.nodeValue):w.cloneNode(!1),S=w.firstChild;S;S=S.nextSibling)(_===!0||S.nodeType!==1||S.nodeName!=="SCRIPT")&&T.appendChild(b(S,_));return w.nodeType===1&&(w.nodeName==="CANVAS"?(T.width=w.width,T.height=w.height,T.getContext("2d").drawImage(w,0,0)):(w.nodeName==="TEXTAREA"||w.nodeName==="SELECT")&&(T.value=w.value),T.addEventListener("load",function(){T.scrollTop=w.scrollTop,T.scrollLeft=w.scrollLeft},!0)),T},t=function(w,_){if(c(w)==="number")return w*72/96/_;var T={};for(var S in w)T[S]=w[S]*72/96/_;return T},a=function(w,_){return Math.floor(w*_/72*96)},d=typeof window!="undefined"?window:typeof y!="undefined"?y:typeof self!="undefined"?self:{};function i(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function l(b,w){return w={exports:{}},b(w,w.exports),w.exports}var e=l(function(b,w){/*!
|
|
|
* @overview es6-promise - a tiny implementation of Promises/A+.
|
|
|
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
|
|
|
* @license Licensed under MIT license
|
|
|
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
|
|
|
* @version v4.2.5+7f2b526d
|
|
|
*/(function(_,T){b.exports=T()})(d,function(){function _(Ot){var rt=typeof Ot;return Ot!==null&&(rt==="object"||rt==="function")}function T(Ot){return typeof Ot=="function"}var S=void 0;Array.isArray?S=Array.isArray:S=function(rt){return Object.prototype.toString.call(rt)==="[object Array]"};var E=S,I=0,O=void 0,F=void 0,k=function(rt,Et){Se[I]=rt,Se[I+1]=Et,I+=2,I===2&&(F?F($):xe())};function M(Ot){F=Ot}function P(Ot){k=Ot}var V=typeof window!="undefined"?window:void 0,D=V||{},H=D.MutationObserver||D.WebKitMutationObserver,U=typeof self=="undefined"&&typeof m!="undefined"&&{}.toString.call(m)==="[object process]",z=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function K(){return function(){return m.nextTick($)}}function G(){return typeof O!="undefined"?function(){O($)}:ee()}function X(){var Ot=0,rt=new H($),Et=document.createTextNode("");return rt.observe(Et,{characterData:!0}),function(){Et.data=Ot=++Ot%2}}function Z(){var Ot=new MessageChannel;return Ot.port1.onmessage=$,function(){return Ot.port2.postMessage(0)}}function ee(){var Ot=setTimeout;return function(){return Ot($,1)}}var Se=new Array(1e3);function $(){for(var Ot=0;Ot<I;Ot+=2){var rt=Se[Ot],Et=Se[Ot+1];rt(Et),Se[Ot]=void 0,Se[Ot+1]=void 0}I=0}function pe(){try{var Ot=Function("return this")().require("vertx");return O=Ot.runOnLoop||Ot.runOnContext,G()}catch(rt){return ee()}}var xe=void 0;U?xe=K():H?xe=X():z?xe=Z():V===void 0&&typeof i=="function"?xe=pe():xe=ee();function _e(Ot,rt){var Et=this,Zt=new this.constructor(Be);Zt[ye]===void 0&&Bt(Zt);var vr=Et._state;if(vr){var mt=arguments[vr-1];k(function(){return Dt(vr,Zt,mt,Et._result)})}else ut(Et,Zt,Ot,rt);return Zt}function Ue(Ot){var rt=this;if(Ot&&typeof Ot=="object"&&Ot.constructor===rt)return Ot;var Et=new rt(Be);return ne(Et,Ot),Et}var ye=Math.random().toString(36).substring(2);function Be(){}var Q=void 0,ie=1,Ve=2,J={error:null};function W(){return new TypeError("You cannot resolve a promise with itself")}function j(){return new TypeError("A promises callback cannot return that same promise.")}function Y(Ot){try{return Ot.then}catch(rt){return J.error=rt,J}}function me(Ot,rt,Et,Zt){try{Ot.call(rt,Et,Zt)}catch(vr){return vr}}function ae(Ot,rt,Et){k(function(Zt){var vr=!1,mt=me(Et,rt,function(ce){if(vr)return;vr=!0,rt!==ce?ne(Zt,ce):Ie(Zt,ce)},function(ce){if(vr)return;vr=!0,Ge(Zt,ce)},"Settle: "+(Zt._label||" unknown promise"));!vr&&mt&&(vr=!0,Ge(Zt,mt))},Ot)}function Le(Ot,rt){rt._state===ie?Ie(Ot,rt._result):rt._state===Ve?Ge(Ot,rt._result):ut(rt,void 0,function(Et){return ne(Ot,Et)},function(Et){return Ge(Ot,Et)})}function Ee(Ot,rt,Et){rt.constructor===Ot.constructor&&Et===_e&&rt.constructor.resolve===Ue?Le(Ot,rt):Et===J?(Ge(Ot,J.error),J.error=null):Et===void 0?Ie(Ot,rt):T(Et)?ae(Ot,rt,Et):Ie(Ot,rt)}function ne(Ot,rt){Ot===rt?Ge(Ot,W()):_(rt)?Ee(Ot,rt,Y(rt)):Ie(Ot,rt)}function ge(Ot){Ot._onerror&&Ot._onerror(Ot._result),wt(Ot)}function Ie(Ot,rt){if(Ot._state!==Q)return;Ot._result=rt,Ot._state=ie,Ot._subscribers.length!==0&&k(wt,Ot)}function Ge(Ot,rt){if(Ot._state!==Q)return;Ot._state=Ve,Ot._result=rt,k(ge,Ot)}function ut(Ot,rt,Et,Zt){var vr=Ot._subscribers,mt=vr.length;Ot._onerror=null,vr[mt]=rt,vr[mt+ie]=Et,vr[mt+Ve]=Zt,mt===0&&Ot._state&&k(wt,Ot)}function wt(Ot){var rt=Ot._subscribers,Et=Ot._state;if(rt.length===0)return;for(var Zt=void 0,vr=void 0,mt=Ot._result,ce=0;ce<rt.length;ce+=3)Zt=rt[ce],vr=rt[ce+Et],Zt?Dt(Et,Zt,vr,mt):vr(mt);Ot._subscribers.length=0}function Pe(Ot,rt){try{return Ot(rt)}catch(Et){return J.error=Et,J}}function Dt(Ot,rt,Et,Zt){var vr=T(Et),mt=void 0,ce=void 0,le=void 0,oe=void 0;if(vr){if(mt=Pe(Et,Zt),mt===J?(oe=!0,ce=mt.error,mt.error=null):le=!0,rt===mt){Ge(rt,j());return}}else mt=Zt,le=!0;rt._state!==Q||(vr&&le?ne(rt,mt):oe?Ge(rt,ce):Ot===ie?Ie(rt,mt):Ot===Ve&&Ge(rt,mt))}function et(Ot,rt){try{rt(function(Zt){ne(Ot,Zt)},function(Zt){Ge(Ot,Zt)})}catch(Et){Ge(Ot,Et)}}var _t=0;function Nt(){return _t++}function Bt(Ot){Ot[ye]=_t++,Ot._state=void 0,Ot._result=void 0,Ot._subscribers=[]}function Ft(){return new Error("Array Methods must be provided an Array")}var Gt=function(){function Ot(rt,Et){this._instanceConstructor=rt,this.promise=new rt(Be),this.promise[ye]||Bt(this.promise),E(Et)?(this.length=Et.length,this._remaining=Et.length,this._result=new Array(this.length),this.length===0?Ie(this.promise,this._result):(this.length=this.length||0,this._enumerate(Et),this._remaining===0&&Ie(this.promise,this._result))):Ge(this.promise,Ft())}return Ot.prototype._enumerate=function(Et){for(var Zt=0;this._state===Q&&Zt<Et.length;Zt++)this._eachEntry(Et[Zt],Zt)},Ot.prototype._eachEntry=function(Et,Zt){var vr=this._instanceConstructor,mt=vr.resolve;if(mt===Ue){var ce=Y(Et);if(ce===_e&&Et._state!==Q)this._settledAt(Et._state,Zt,Et._result);else if(typeof ce!="function")this._remaining--,this._result[Zt]=Et;else if(vr===Ae){var le=new vr(Be);Ee(le,Et,ce),this._willSettleAt(le,Zt)}else this._willSettleAt(new vr(function(oe){return oe(Et)}),Zt)}else this._willSettleAt(mt(Et),Zt)},Ot.prototype._settledAt=function(Et,Zt,vr){var mt=this.promise;mt._state===Q&&(this._remaining--,Et===Ve?Ge(mt,vr):this._result[Zt]=vr),this._remaining===0&&Ie(mt,this._result)},Ot.prototype._willSettleAt=function(Et,Zt){var vr=this;ut(Et,void 0,function(mt){return vr._settledAt(ie,Zt,mt)},function(mt){return vr._settledAt(Ve,Zt,mt)})},Ot}();function qe(Ot){return new Gt(this,Ot).promise}function we(Ot){var rt=this;return E(Ot)?new rt(function(Et,Zt){for(var vr=Ot.length,mt=0;mt<vr;mt++)rt.resolve(Ot[mt]).then(Et,Zt)}):new rt(function(Et,Zt){return Zt(new TypeError("You must pass an array to race."))})}function ue(Ot){var rt=this,Et=new rt(Be);return Ge(Et,Ot),Et}function vt(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function at(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var Ae=function(){function Ot(rt){this[ye]=Nt(),this._result=this._state=void 0,this._subscribers=[],Be!==rt&&(typeof rt!="function"&&vt(),this instanceof Ot?et(this,rt):at())}return Ot.prototype.catch=function(Et){return this.then(null,Et)},Ot.prototype.finally=function(Et){var Zt=this,vr=Zt.constructor;return T(Et)?Zt.then(function(mt){return vr.resolve(Et()).then(function(){return mt})},function(mt){return vr.resolve(Et()).then(function(){throw mt})}):Zt.then(Et,Et)},Ot}();Ae.prototype.then=_e,Ae.all=qe,Ae.race=we,Ae.resolve=Ue,Ae.reject=ue,Ae._setScheduler=M,Ae._setAsap=P,Ae._asap=k;function Xt(){var Ot=void 0;if(typeof d!="undefined")Ot=d;else if(typeof self!="undefined")Ot=self;else try{Ot=Function("return this")()}catch(Zt){throw new Error("polyfill failed because global object is unavailable in this environment")}var rt=Ot.Promise;if(rt){var Et=null;try{Et=Object.prototype.toString.call(rt.resolve())}catch(Zt){}if(Et==="[object Promise]"&&!rt.cast)return}Ot.Promise=Ae}return Ae.polyfill=Xt,Ae.Promise=Ae,Ae})}),s=e.Promise,u=function b(w){var _=h(b.convert(s.resolve()),JSON.parse(JSON.stringify(b.template))),T=b.convert(s.resolve(),_);return T=T.setProgress(1,b,1,[b]),T=T.set(w),T};u.prototype=Object.create(s.prototype),u.prototype.constructor=u,u.convert=function(w,_){return w.__proto__=_||u.prototype,w},u.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:{}}},u.prototype.from=function(w,_){function T(S){switch(c(S)){case"string":return"string";case"element":return S.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){_=_||T(w);switch(_){case"string":return this.set({src:o("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.")}})},u.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.")}},u.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 T={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},S={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};T.opacity=0;var E=n(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=o("div",{className:"html2pdf__overlay",style:T}),this.prop.container=o("div",{className:"html2pdf__container",style:S}),this.prop.container.appendChild(E),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},u.prototype.toCanvas=function(){var w=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(w).then(function(){var T=h({},this.opt.html2canvas);return delete T.onrendered,p(this.prop.container,T)}).then(function(T){var S=this.opt.html2canvas.onrendered||function(){};S(T),this.prop.canvas=T,document.body.removeChild(this.prop.overlay)})},u.prototype.toImg=function(){var w=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(w).then(function(){var T=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=T})},u.prototype.toPdf=function(){var w=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(w).then(function(){var T=this.prop.canvas,S=this.opt,E=T.height,I=Math.floor(T.width*this.prop.pageSize.inner.ratio),O=Math.ceil(E/I),F=this.prop.pageSize.inner.height,k=document.createElement("canvas"),M=k.getContext("2d");k.width=T.width,k.height=I,this.prop.pdf=this.prop.pdf||new C(S.jsPDF);for(var P=0;P<O;P++){P===O-1&&E%I!==0&&(k.height=E%I,F=k.height*this.prop.pageSize.inner.width/k.width);var V=k.width,D=k.height;M.fillStyle="white",M.fillRect(0,0,V,D),M.drawImage(T,0,P*I,V,D,0,0,V,D),P&&this.prop.pdf.addPage();var H=k.toDataURL("image/"+S.image.type,S.image.quality);this.prop.pdf.addImage(H,S.image.type,S.margin[1],S.margin[0],this.prop.pageSize.inner.width,F)}})},u.prototype.output=function(w,_,T){return T=T||"pdf",T.toLowerCase()==="img"||T.toLowerCase()==="image"?this.outputImg(w,_):this.outputPdf(w,_)},u.prototype.outputPdf=function(w,_){var T=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(T).then(function(){return this.prop.pdf.output(w,_)})},u.prototype.outputImg=function(w,_){var T=[function(){return this.prop.img||this.toImg()}];return this.thenList(T).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.'}})},u.prototype.save=function(w){var _=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(_).set(w?{filename:w}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},u.prototype.set=function(w){if(c(w)!=="object")return this;var _=Object.keys(w||{}).map(function(T){if(T in u.template.prop)return function(){this.prop[T]=w[T]};switch(T){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 function(){this.opt[T]=w[T]}}},this);return this.then(function(){return this.thenList(_)})},u.prototype.get=function(w,_){return this.then(function(){var S=w in u.template.prop?this.prop[w]:this.opt[w];return _?_(S):S})},u.prototype.setMargin=function(w){return this.then(function(){switch(c(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)},u.prototype.setPageSize=function(w){return this.then(function(){w=w||C.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:a(w.inner.width,w.k),height:a(w.inner.height,w.k)},w.inner.ratio=w.inner.height/w.inner.width),this.prop.pageSize=w})},u.prototype.setProgress=function(w,_,T,S){return w!=null&&(this.progress.val=w),_!=null&&(this.progress.state=_),T!=null&&(this.progress.n=T),S!=null&&(this.progress.stack=S),this.progress.ratio=this.progress.val/this.progress.state,this},u.prototype.updateProgress=function(w,_,T,S){return this.setProgress(w?this.progress.val+w:null,_||null,T?this.progress.n+T:null,S?this.progress.stack.concat(S):null)},u.prototype.then=function(w,_){var T=this;return this.thenCore(w,_,function(E,I){return T.updateProgress(null,null,1,[E]),s.prototype.then.call(this,function(F){return T.updateProgress(null,E),F}).then(E,I).then(function(F){return T.updateProgress(1),F})})},u.prototype.thenCore=function(w,_,T){T=T||s.prototype.then;var S=this;w&&(w=w.bind(S)),_&&(_=_.bind(S));var E=s.toString().indexOf("[native code]")!==-1&&s.name==="Promise",I=E?S:u.convert(h({},S),s.prototype),O=T.call(I,w,_);return u.convert(O,S.__proto__)},u.prototype.thenExternal=function(w,_){return s.prototype.then.call(this,w,_)},u.prototype.thenList=function(w){var _=this;return w.forEach(function(S){_=_.thenCore(S)}),_},u.prototype.catch=function(b){b&&(b=b.bind(this));var w=s.prototype.catch.call(this,b);return u.convert(w,this)},u.prototype.catchExternal=function(w){return s.prototype.catch.call(this,w)},u.prototype.error=function(w){return this.then(function(){throw new Error(w)})},u.prototype.using=u.prototype.set,u.prototype.saveAs=u.prototype.save,u.prototype.export=u.prototype.output,u.prototype.run=u.prototype.then,C.getPageSize=function(b,w,_){if((typeof b=="undefined"?"undefined":g(b))==="object"){var T=b;b=T.orientation,w=T.unit||w,_=T.format||_}w=w||"mm",_=_||"a4",b=(""+(b||"P")).toLowerCase();var S=(""+_).toLowerCase(),E={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(w){case"pt":var I=1;break;case"mm":var I=72/25.4;break;case"cm":var I=72/2.54;break;case"in":var I=72;break;case"px":var I=72/96;break;case"pc":var I=12;break;case"em":var I=12;break;case"ex":var I=6;break;default:throw"Invalid unit: "+w}if(E.hasOwnProperty(S))var O=E[S][1]/I,F=E[S][0]/I;else try{var O=_[1],F=_[0]}catch(P){throw new Error("Invalid format: "+_)}if(b==="p"||b==="portrait"){if(b="p",F>O){var k=F;F=O,O=k}}else if(b==="l"||b==="landscape"){if(b="l",O>F){var k=F;F=O,O=k}}else throw"Invalid orientation: "+b;var M={width:F,height:O,unit:w,k:I};return M};var f={toContainer:u.prototype.toContainer};u.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},u.prototype.toContainer=function(){return f.toContainer.call(this).then(function(){var _=this.prop.container,T=this.prop.pageSize.inner.px.height,S=[].concat(this.opt.pagebreak.mode),E={avoidAll:S.indexOf("avoid-all")!==-1,css:S.indexOf("css")!==-1,legacy:S.indexOf("legacy")!==-1},I={},O=this;["before","after","avoid"].forEach(function(M){var P=E.avoidAll&&M==="avoid";I[M]=P?[]:[].concat(O.opt.pagebreak[M]||[]),I[M].length>0&&(I[M]=Array.prototype.slice.call(_.querySelectorAll(I[M].join(", "))))});var F=_.querySelectorAll(".html2pdf__page-break");F=Array.prototype.slice.call(F);var k=_.querySelectorAll("*");Array.prototype.forEach.call(k,function(P){var V={before:!1,after:E.legacy&&F.indexOf(P)!==-1,avoid:E.avoidAll};if(E.css){var D=window.getComputedStyle(P),H=["always","page","left","right"],U=["avoid","avoid-page"];V={before:V.before||H.indexOf(D.breakBefore||D.pageBreakBefore)!==-1,after:V.after||H.indexOf(D.breakAfter||D.pageBreakAfter)!==-1,avoid:V.avoid||U.indexOf(D.breakInside||D.pageBreakInside)!==-1}}Object.keys(V).forEach(function(ee){V[ee]=V[ee]||I[ee].indexOf(P)!==-1});var z=P.getBoundingClientRect();if(V.avoid&&!V.before){var K=Math.floor(z.top/T),G=Math.floor(z.bottom/T),X=Math.abs(z.bottom-z.top)/T;G!==K&&X<=1&&(V.before=!0)}if(V.before){var Z=o("div",{style:{display:"block",height:T-z.top%T+"px"}});P.parentNode.insertBefore(Z,P)}if(V.after){var Z=o("div",{style:{display:"block",height:T-z.bottom%T+"px"}});P.parentNode.insertBefore(Z,P.nextSibling)}})})};var A=[],v={toContainer:u.prototype.toContainer,toPdf:u.prototype.toPdf};u.prototype.toContainer=function(){return v.toContainer.call(this).then(function(){if(this.opt.enableLinks){var _=this.prop.container,T=_.querySelectorAll("a"),S=t(_.getBoundingClientRect(),this.prop.pageSize.k);A=[],Array.prototype.forEach.call(T,function(E){for(var I=E.getClientRects(),O=0;O<I.length;O++){var F=t(I[O],this.prop.pageSize.k);F.left-=S.left,F.top-=S.top;var k=Math.floor(F.top/this.prop.pageSize.inner.height)+1,M=this.opt.margin[0]+F.top%this.prop.pageSize.inner.height,P=this.opt.margin[1]+F.left;A.push({page:k,top:M,left:P,clientRect:F,link:E})}},this)}})},u.prototype.toPdf=function(){return v.toPdf.call(this).then(function(){if(this.opt.enableLinks){A.forEach(function(T){this.prop.pdf.setPage(T.page),this.prop.pdf.link(T.left,T.top,T.clientRect.width,T.clientRect.height,{url:T.link.href})},this);var _=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(_)}})};var x=function b(w,_){var T=new b.Worker(_);return w?T.from(w).save():T};return x.Worker=u,x})}).call(this,r("yLpj"),r("Q2Ig"))},"1q3G":function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=y;function y(){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(B,N,r){var y=r("MBQ8"),m=y.extend({type:"series.pictorialBar",dependencies:["grid"],defaultOption:{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,hoverAnimation:!1},getInitialData:function(p){return p.stack=null,m.superApply(this,"getInitialData",arguments)}}),C=m;B.exports=C},"1u/T":function(B,N,r){var y=r("ProS"),m={type:"selectDataRange",event:"dataRangeSelected",update:"update"};y.registerAction(m,function(C,p){p.eachComponent({mainType:"visualMap",query:C},function(g){g.setSelected(C.selected)})})},"1vzs":function(B,N,r){"use strict";r.d(N,"a",function(){return e});var y=r("q1tI"),m=r.n(y),C=r("HQEm"),p=r.n(C),g=r("gZBC"),h=r.n(g),c=r("NAnI"),o=r.n(c),n=r("V/uB"),t=r.n(n),a=r("kbBi"),d=r.n(a),i=r("w6Tc"),l=r.n(i);function e(s){var u=s.suffixIcon,f=s.clearIcon,A=s.menuItemSelectedIcon,v=s.removeIcon,x=s.loading,b=s.multiple,w=s.prefixCls,_=f;f||(_=y.createElement(d.a,null));var T=null;if(u!==void 0)T=u;else if(x)T=y.createElement(h.a,{spin:!0});else{var S="".concat(w,"-suffix");T=function(F){var k=F.open,M=F.showSearch;return k&&M?y.createElement(l.a,{className:S}):y.createElement(p.a,{className:S})}}var E=null;A!==void 0?E=A:b?E=y.createElement(o.a,null):E=null;var I=null;return v!==void 0?I=v:I=y.createElement(t.a,null),{clearIcon:_,suffixIcon:T,itemIcon:E,removeIcon:I}}},"1xaR":function(B,N,r){var y=r("ProS"),m=r("bYtY");r("qgGe"),r("NA0q"),r("RPvy");var C=r("mOdp"),p=r("y3NT"),g=r("0/Rx");y.registerVisual(m.curry(C,"sunburst")),y.registerLayout(m.curry(p,"sunburst")),y.registerProcessor(m.curry(g,"sunburst"))},"24YM":function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.SensorTabIndex=N.SensorClassName=N.SizeSensorId=void 0;var y="size-sensor-id";N.SizeSensorId=y;var m="size-sensor-object";N.SensorClassName=m;var C="-1";N.SensorTabIndex=C},"2548":function(B,N,r){var y=r("ProS"),m=r("bYtY"),C=r("6GrX"),p=r("IUWy"),g=r("IwbS"),h=r("Qxkt"),c=r("gPAo"),o=r("eRkO"),n=y.extendComponentView({type:"toolbox",render:function(a,d,i,l){var e=this.group;if(e.removeAll(),!a.get("show"))return;var s=+a.get("itemSize"),u=a.get("feature")||{},f=this._features||(this._features={}),A=[];m.each(u,function(b,w){A.push(w)}),new c(this._featureNames||[],A).add(v).update(v).remove(m.curry(v,null)).execute(),this._featureNames=A;function v(b,w){var _=A[b],T=A[w],S=u[_],E=new h(S,a,a.ecModel),I;if(l&&l.newTitle!=null&&l.featureName===_&&(S.title=l.newTitle),_&&!T){if(t(_))I={model:E,onclick:E.option.onclick,featureName:_};else{var O=p.get(_);if(!O)return;I=new O(E,d,i)}f[_]=I}else{if(I=f[T],!I)return;I.model=E,I.ecModel=d,I.api=i}if(!_&&T){I.dispose&&I.dispose(d,i);return}if(!E.get("show")||I.unusable){I.remove&&I.remove(d,i);return}x(E,I,_),E.setIconStatus=function(F,k){var M=this.option,P=this.iconPaths;M.iconStatus=M.iconStatus||{},M.iconStatus[F]=k,P[F]&&P[F].trigger(k)},I.render&&I.render(E,d,i,l)}function x(b,w,_){var T=b.getModel("iconStyle"),S=b.getModel("emphasis.iconStyle"),E=w.getIcons?w.getIcons():b.get("icon"),I=b.get("title")||{};if(typeof E=="string"){var O=E,F=I;E={},I={},E[_]=O,I[_]=F}var k=b.iconPaths={};m.each(E,function(M,P){var V=g.createIcon(M,{},{x:-s/2,y:-s/2,width:s,height:s});V.setStyle(T.getItemStyle()),V.hoverStyle=S.getItemStyle(),V.setStyle({text:I[P],textAlign:S.get("textAlign"),textBorderRadius:S.get("textBorderRadius"),textPadding:S.get("textPadding"),textFill:null});var D=a.getModel("tooltip");D&&D.get("show")&&V.attr("tooltip",m.extend({content:I[P],formatter:D.get("formatter",!0)||function(){return I[P]},formatterParams:{componentType:"toolbox",name:P,title:I[P],$vars:["name","title"]},position:D.get("position",!0)||"bottom"},D.option)),g.setHoverStyle(V),a.get("showTitle")&&(V.__title=I[P],V.on("mouseover",function(){var H=S.getItemStyle(),U=a.get("orient")==="vertical"?a.get("right")==null?"right":"left":a.get("bottom")==null?"bottom":"top";V.setStyle({textFill:S.get("textFill")||H.fill||H.stroke||"#000",textBackgroundColor:S.get("textBackgroundColor"),textPosition:S.get("textPosition")||U})}).on("mouseout",function(){V.setStyle({textFill:null,textBackgroundColor:null})})),V.trigger(b.get("iconStatus."+P)||"normal"),e.add(V),V.on("click",m.bind(w.onclick,w,d,i,P)),k[P]=V})}o.layout(e,a,i),e.add(o.makeBackground(e.getBoundingRect(),a)),e.eachChild(function(b){var w=b.__title,_=b.hoverStyle;if(_&&w){var T=C.getBoundingRect(w,C.makeFont(_)),S=b.position[0]+e.position[0],E=b.position[1]+e.position[1]+s,I=!1;E+T.height>i.getHeight()&&(_.textPosition="top",I=!0);var O=I?-5-T.height:s+8;S+T.width/2>i.getWidth()?(_.textPosition=["100%",O],_.textAlign="right"):S-T.width/2<0&&(_.textPosition=[0,O],_.textAlign="left")}})},updateView:function(a,d,i,l){m.each(this._features,function(e){e.updateView&&e.updateView(e.model,d,i,l)})},remove:function(a,d){m.each(this._features,function(i){i.remove&&i.remove(a,d)}),this.group.removeAll()},dispose:function(a,d){m.each(this._features,function(i){i.dispose&&i.dispose(a,d)})}});function t(a){return a.indexOf("my")===0}B.exports=n},"2B6p":function(B,N){function r(y,m,C){var p=y.getZoom(),g=y.getCenter(),h=m.zoom,c=y.dataToPoint(g);if(m.dx!=null&&m.dy!=null){c[0]-=m.dx,c[1]-=m.dy;var g=y.pointToData(c);y.setCenter(g)}if(h!=null){if(C){var o=C.min||0,n=C.max||Infinity;h=Math.max(Math.min(p*h,n),o)/p}y.scale[0]*=h,y.scale[1]*=h;var t=y.position,a=(m.originX-t[0])*(h-1),d=(m.originY-t[1])*(h-1);t[0]-=a,t[1]-=d,y.updateTransform();var g=y.pointToData(c);y.setCenter(g),y.setZoom(h*p)}return{center:y.getCenter(),zoom:y.getZoom()}}N.updateCenterAndZoom=r},"2BaD":function(B,N,r){"use strict";var y=r("VTBJ"),m=r("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"},p=C,g=r("6VBw"),h=function(n,t){return m.createElement(g.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};h.displayName="CloseCircleOutlined";var c=N.a=m.forwardRef(h)},"2DNl":function(B,N,r){var y=r("IMiH"),m=r("loD1"),C=r("59Ip"),p=r("aKvl"),g=r("n1HI"),h=r("hX1E"),c=h.normalizeRadian,o=r("Sj9i"),n=r("hyiK"),t=y.CMD,a=Math.PI*2,d=1e-4;function i(w,_){return Math.abs(w-_)<d}var l=[-1,-1,-1],e=[-1,-1];function s(){var w=e[0];e[0]=e[1],e[1]=w}function u(w,_,T,S,E,I,O,F,k,M){if(M>_&&M>S&&M>I&&M>F||M<_&&M<S&&M<I&&M<F)return 0;var P=o.cubicRootAt(_,S,I,F,M,l);if(P===0)return 0;for(var V=0,D=-1,H,U,z=0;z<P;z++){var K=l[z],G=K===0||K===1?.5:1,X=o.cubicAt(w,T,E,O,K);if(X<k)continue;D<0&&(D=o.cubicExtrema(_,S,I,F,e),e[1]<e[0]&&D>1&&s(),H=o.cubicAt(_,S,I,F,e[0]),D>1&&(U=o.cubicAt(_,S,I,F,e[1]))),D===2?K<e[0]?V+=H<_?G:-G:K<e[1]?V+=U<H?G:-G:V+=F<U?G:-G:K<e[0]?V+=H<_?G:-G:V+=F<H?G:-G}return V}function f(w,_,T,S,E,I,O,F){if(F>_&&F>S&&F>I||F<_&&F<S&&F<I)return 0;var k=o.quadraticRootAt(_,S,I,F,l);if(k===0)return 0;var M=o.quadraticExtremum(_,S,I);if(M>=0&&M<=1){for(var P=0,V=o.quadraticAt(_,S,I,M),D=0;D<k;D++){var H=l[D]===0||l[D]===1?.5:1,U=o.quadraticAt(w,T,E,l[D]);if(U<O)continue;l[D]<M?P+=V<_?H:-H:P+=I<V?H:-H}return P}else{var H=l[0]===0||l[0]===1?.5:1,U=o.quadraticAt(w,T,E,l[0]);return U<O?0:I<_?H:-H}}function A(w,_,T,S,E,I,O,F){if(F-=_,F>T||F<-T)return 0;var k=Math.sqrt(T*T-F*F);l[0]=-k,l[1]=k;var M=Math.abs(S-E);if(M<1e-4)return 0;if(M%a<1e-4){S=0,E=a;var P=I?1:-1;return O>=l[0]+w&&O<=l[1]+w?P:0}if(I){var k=S;S=c(E),E=c(k)}else S=c(S),E=c(E);S>E&&(E+=a);for(var V=0,D=0;D<2;D++){var H=l[D];if(H+w>O){var U=Math.atan2(F,H),P=I?1:-1;U<0&&(U=a+U),(U>=S&&U<=E||U+a>=S&&U+a<=E)&&(U>Math.PI/2&&U<Math.PI*1.5&&(P=-P),V+=P)}}return V}function v(w,_,T,S,E){for(var I=0,O=0,F=0,k=0,M=0,P=0;P<w.length;){var V=w[P++];V===t.M&&P>1&&(T||(I+=n(O,F,k,M,S,E))),P===1&&(O=w[P],F=w[P+1],k=O,M=F);switch(V){case t.M:k=w[P++],M=w[P++],O=k,F=M;break;case t.L:if(T){if(m.containStroke(O,F,w[P],w[P+1],_,S,E))return!0}else I+=n(O,F,w[P],w[P+1],S,E)||0;O=w[P++],F=w[P++];break;case t.C:if(T){if(C.containStroke(O,F,w[P++],w[P++],w[P++],w[P++],w[P],w[P+1],_,S,E))return!0}else I+=u(O,F,w[P++],w[P++],w[P++],w[P++],w[P],w[P+1],S,E)||0;O=w[P++],F=w[P++];break;case t.Q:if(T){if(p.containStroke(O,F,w[P++],w[P++],w[P],w[P+1],_,S,E))return!0}else I+=f(O,F,w[P++],w[P++],w[P],w[P+1],S,E)||0;O=w[P++],F=w[P++];break;case t.A:var D=w[P++],H=w[P++],U=w[P++],z=w[P++],K=w[P++],G=w[P++];P+=1;var X=1-w[P++],Z=Math.cos(K)*U+D,ee=Math.sin(K)*z+H;P>1?I+=n(O,F,Z,ee,S,E):(k=Z,M=ee);var Se=(S-D)*z/U+D;if(T){if(g.containStroke(D,H,z,K,K+G,X,_,Se,E))return!0}else I+=A(D,H,z,K,K+G,X,Se,E);O=Math.cos(K+G)*U+D,F=Math.sin(K+G)*z+H;break;case t.R:k=O=w[P++],M=F=w[P++];var $=w[P++],pe=w[P++],Z=k+$,ee=M+pe;if(T){if(m.containStroke(k,M,Z,M,_,S,E)||m.containStroke(Z,M,Z,ee,_,S,E)||m.containStroke(Z,ee,k,ee,_,S,E)||m.containStroke(k,ee,k,M,_,S,E))return!0}else I+=n(Z,M,Z,ee,S,E),I+=n(k,ee,k,M,S,E);break;case t.Z:if(T){if(m.containStroke(O,F,k,M,_,S,E))return!0}else I+=n(O,F,k,M,S,E);O=k,F=M;break}}return!T&&!i(F,M)&&(I+=n(O,F,k,M,S,E)||0),I!==0}function x(w,_,T){return v(w,0,!1,_,T)}function b(w,_,T,S){return v(w,_,!0,T,S)}N.contain=x,N.containStroke=b},"2Qr1":function(B,N,r){"use strict";r.d(N,"d",function(){return n}),r.d(N,"c",function(){return a}),r.d(N,"e",function(){return d}),r.d(N,"b",function(){return e}),r.d(N,"f",function(){return s}),r.d(N,"g",function(){return u}),r.d(N,"a",function(){return f});var y=r("rePB"),m=r("KQm4"),C=r("T5bk"),p=r("U8pU"),g=r("VTBJ"),h=r("Kwbf"),c=r("WKfj");function o(A,v){var x=A.key,b;return"value"in A&&(b=A.value),x!=null?x:b!==void 0?b:"rc-index-key-".concat(v)}function n(A){var v=[];function x(b,w){b.forEach(function(_){w||!("options"in _)?v.push({key:o(_,v.length),groupOption:w,data:_}):(v.push({key:o(_,v.length),group:!0,data:_}),x(_.options,!0))})}return x(A,!1),v}function t(A){var v=Object(g.a)({},A);return"props"in v||Object.defineProperty(v,"props",{get:function(){return Object(h.a)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),v}}),v}function a(A,v){var x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},b=x.prevValueOptions,w=b===void 0?[]:b,_=new Map;return v.forEach(function(T){if(!T.group){var S=T.data;_.set(S.value,S)}}),A.map(function(T){var S=_.get(T);return S||(S=Object(g.a)({},w.find(function(E){return E._INTERNAL_OPTION_VALUE_===T}))),t(S)})}var d=function(v,x){var b=x.options,w=x.prevValue,_=x.labelInValue,T=x.optionLabelProp,S=a([v],b)[0],E={value:v},I,O=Object(c.d)(w);return _&&(I=O.find(function(F){return Object(p.a)(F)==="object"&&"value"in F?F.value===v:F.key===v})),I&&Object(p.a)(I)==="object"&&"label"in I?(E.label=I.label,S&&typeof I.label=="string"&&typeof S[T]=="string"&&I.label.trim()!==S[T].trim()&&Object(h.a)(!1,"`label` of `value` is not same as `label` in Select options.")):S&&T in S?E.label=S[T]:E.label=v,E.key=E.value,E};function i(A){return Object(c.d)(A).join("")}function l(A){return function(v,x){var b=v.toLowerCase();if("options"in x)return i(x.label).toLowerCase().includes(b);var w=x[A],_=i(w).toLowerCase();return _.includes(b)}}function e(A,v,x){var b=x.optionFilterProp,w=x.filterOption,_=[],T;return w===!1?v:(typeof w=="function"?T=w:T=l(b),v.forEach(function(S){if("options"in S){var E=T(A,S);if(E)_.push(S);else{var I=S.options.filter(function(O){return T(A,O)});I.length&&_.push(Object(g.a)(Object(g.a)({},S),{},{options:I}))}return}T(A,t(S))&&_.push(S)}),_)}function s(A,v){if(!v||!v.length)return null;var x=!1;function b(_,T){var S=Object(C.a)(T),E=S[0],I=S.slice(1);if(!E)return[_];var O=_.split(E);return x=x||O.length>1,O.reduce(function(F,k){return[].concat(Object(m.a)(F),Object(m.a)(b(k,I)))},[]).filter(function(F){return F})}var w=b(A,v);return x?w:null}function u(A,v){var x=a([A],v)[0];return x.disabled}function f(A,v,x,b){var w=Object(c.d)(v).slice().sort(),_=Object(m.a)(A),T=new Set;return A.forEach(function(S){S.options?S.options.forEach(function(E){T.add(E.value)}):T.add(S.value)}),w.forEach(function(S){var E=b?S.value:S;if(!T.has(E)){var I;_.push(b?(I={},Object(y.a)(I,x,S.label),Object(y.a)(I,"value",E),I):{value:E})}}),_}},"2dDv":function(B,N,r){var y=r("bYtY"),m=r("Fofx"),C=r("+TT/"),p=r("aX7z"),g=r("D1WM"),h=r("IwbS"),c=r("OELB"),o=r("72pK"),n=y.each,t=Math.min,a=Math.max,d=Math.floor,i=Math.ceil,l=c.round,e=Math.PI;function s(x,b,w){this._axesMap=y.createHashMap(),this._axesLayout={},this.dimensions=x.dimensions,this._rect,this._model=x,this._init(x,b,w)}s.prototype={type:"parallel",constructor:s,_init:function(x,b,w){var _=x.dimensions,T=x.parallelAxisIndex;n(_,function(S,E){var I=T[E],O=b.getComponent("parallelAxis",I),F=this._axesMap.set(S,new g(S,p.createScaleByModel(O),[0,0],O.get("type"),I)),k=F.type==="category";F.onBand=k&&O.get("boundaryGap"),F.inverse=O.get("inverse"),O.axis=F,F.model=O,F.coordinateSystem=O.coordinateSystem=this},this)},update:function(x,b){this._updateAxesFromSeries(this._model,x)},containPoint:function(x){var b=this._makeLayoutInfo(),w=b.axisBase,_=b.layoutBase,T=b.pixelDimIndex,S=x[1-T],E=x[T];return S>=w&&S<=w+b.axisLength&&E>=_&&E<=_+b.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(x,b){b.eachSeries(function(w){if(!x.contains(w,b))return;var _=w.getData();n(this.dimensions,function(T){var S=this._axesMap.get(T);S.scale.unionExtentFromData(_,_.mapDimension(T)),p.niceScaleExtent(S.scale,S.model)},this)},this)},resize:function(x,b){this._rect=C.getLayoutRect(x.getBoxLayoutParams(),{width:b.getWidth(),height:b.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var x=this._model,b=this._rect,w=["x","y"],_=["width","height"],T=x.get("layout"),S=T==="horizontal"?0:1,E=b[_[S]],I=[0,E],O=this.dimensions.length,F=u(x.get("axisExpandWidth"),I),k=u(x.get("axisExpandCount")||0,[0,O]),M=x.get("axisExpandable")&&O>3&&O>k&&k>1&&F>0&&E>0,P=x.get("axisExpandWindow"),V;if(P)V=u(P[1]-P[0],I),P[1]=P[0]+V;else{V=u(F*(k-1),I);var D=x.get("axisExpandCenter")||d(O/2);P=[F*D-V/2],P[1]=P[0]+V}var H=(E-V)/(O-k);H<3&&(H=0);var U=[d(l(P[0]/F,1))+1,i(l(P[1]/F,1))-1],z=H/F*P[0];return{layout:T,pixelDimIndex:S,layoutBase:b[w[S]],layoutLength:E,axisBase:b[w[1-S]],axisLength:b[_[1-S]],axisExpandable:M,axisExpandWidth:F,axisCollapseWidth:H,axisExpandWindow:P,axisCount:O,winInnerIndices:U,axisExpandWindow0Pos:z}},_layoutAxes:function(){var x=this._rect,b=this._axesMap,w=this.dimensions,_=this._makeLayoutInfo(),T=_.layout;b.each(function(S){var E=[0,_.axisLength],I=S.inverse?1:0;S.setExtent(E[I],E[1-I])}),n(w,function(S,E){var I=(_.axisExpandable?A:f)(E,_),O={horizontal:{x:I.position,y:_.axisLength},vertical:{x:0,y:I.position}},F={horizontal:e/2,vertical:0},k=[O[T].x+x.x,O[T].y+x.y],M=F[T],P=m.create();m.rotate(P,P,M),m.translate(P,P,k),this._axesLayout[S]={position:k,rotation:M,transform:P,axisNameAvailableWidth:I.axisNameAvailableWidth,axisLabelShow:I.axisLabelShow,nameTruncateMaxWidth:I.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(x){return this._axesMap.get(x)},dataToPoint:function(x,b){return this.axisCoordToPoint(this._axesMap.get(b).dataToCoord(x),b)},eachActiveState:function(x,b,w,_){w==null&&(w=0),_==null&&(_=x.count());var T=this._axesMap,S=this.dimensions,E=[],I=[];y.each(S,function(H){E.push(x.mapDimension(H)),I.push(T.get(H).model)});for(var O=this.hasAxisBrushed(),F=w;F<_;F++){var k;if(!O)k="normal";else{k="active";for(var M=x.getValues(E,F),P=0,V=S.length;P<V;P++){var D=I[P].getActiveState(M[P]);if(D==="inactive"){k="inactive";break}}}b(k,F)}},hasAxisBrushed:function(){for(var x=this.dimensions,b=this._axesMap,w=!1,_=0,T=x.length;_<T;_++)b.get(x[_]).model.getActiveState()!=="normal"&&(w=!0);return w},axisCoordToPoint:function(x,b){var w=this._axesLayout[b];return h.applyTransform([x,0],w.transform)},getAxisLayout:function(x){return y.clone(this._axesLayout[x])},getSlidedAxisExpandWindow:function(x){var b=this._makeLayoutInfo(),w=b.pixelDimIndex,_=b.axisExpandWindow.slice(),T=_[1]-_[0],S=[0,b.axisExpandWidth*(b.axisCount-1)];if(!this.containPoint(x))return{behavior:"none",axisExpandWindow:_};var E=x[w]-b.layoutBase-b.axisExpandWindow0Pos,I,O="slide",F=b.axisCollapseWidth,k=this._model.get("axisExpandSlideTriggerArea"),M=k[0]!=null;if(F)M&&F&&E<T*k[0]?(O="jump",I=E-T*k[2]):M&&F&&E>T*(1-k[0])?(O="jump",I=E-T*(1-k[2])):(I=E-T*k[1])>=0&&(I=E-T*(1-k[1]))<=0&&(I=0),I*=b.axisExpandWidth/F,I?o(I,_,S,"all"):O="none";else{var T=_[1]-_[0],P=S[1]*E/T;_=[a(0,P-T/2)],_[1]=t(S[1],_[0]+T),_[0]=_[1]-T}return{axisExpandWindow:_,behavior:O}}};function u(x,b){return t(a(x,b[0]),b[1])}function f(x,b){var w=b.layoutLength/(b.axisCount-1);return{position:w*x,axisNameAvailableWidth:w,axisLabelShow:!0}}function A(x,b){var w=b.layoutLength,_=b.axisExpandWidth,T=b.axisCount,S=b.axisCollapseWidth,E=b.winInnerIndices,I,O=S,F=!1,k;return x<E[0]?(I=x*S,k=S):x<=E[1]?(I=b.axisExpandWindow0Pos+x*_-b.axisExpandWindow[0],O=_,F=!0):(I=w-(T-1-x)*S,k=S),{position:I,axisNameAvailableWidth:O,axisLabelShow:F,nameTruncateMaxWidth:k}}var v=s;B.exports=v},"2fGM":function(B,N,r){var y=r("bYtY"),m=r("bLfw"),C=r("nkfE"),p=r("ICMv"),g=m.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});y.merge(g.prototype,p);var h={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function c(o,n){return n.type||(n.data?"category":"value")}C("angle",g,c,h.angle),C("radius",g,c,h.radius)},"2fM7":function(B,N,r){"use strict";var y=r("lSNA"),m=r.n(y),C=r("pVnL"),p=r.n(C),g=r("lwsE"),h=r.n(g),c=r("W8MJ"),o=r.n(c),n=r("7W2i"),t=r.n(n),a=r("LQ03"),d=r.n(a),i=r("q1tI"),l=r("BGR+"),e=r("TSYQ"),s=r.n(e),u=r("1OyB"),f=r("vuIU"),A=r("Ji7U"),v=r("LK+K"),x=r("rePB"),b=r("Ff2n"),w=r("ODXe"),_=r("4IlW"),T=r("bX4T"),S=r("YrtM"),E=r("+nKL"),I=r("8OUc"),O=function(j,Y){var me=j.prefixCls,ae=j.id,Le=j.flattenOptions,Ee=j.childrenAsData,ne=j.values,ge=j.searchValue,Ie=j.multiple,Ge=j.defaultActiveFirstOption,ut=j.height,wt=j.itemHeight,Pe=j.notFoundContent,Dt=j.open,et=j.menuItemSelectedIcon,_t=j.virtual,Nt=j.onSelect,Bt=j.onToggleOpen,Ft=j.onActiveValue,Gt=j.onScroll,qe=j.onMouseEnter,we="".concat(me,"-item"),ue=Object(S.a)(function(){return Le},[Dt,Le],function(le,oe){return oe[0]&&le[1]!==oe[1]}),vt=i.useRef(null),at=function(oe){oe.preventDefault()},Ae=function(oe){vt.current&&vt.current.scrollTo({index:oe})},Xt=function(oe){for(var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,De=ue.length,He=0;He<De;He+=1){var je=(oe+He*fe+De)%De,We=ue[je],nt=We.group,xt=We.data;if(!nt&&!xt.disabled)return je}return-1},Ot=i.useState(function(){return Xt(0)}),rt=Object(w.a)(Ot,2),Et=rt[0],Zt=rt[1],vr=function(oe){Zt(oe);var fe=ue[oe];if(!fe){Ft(null,-1);return}Ft(fe.data.value,oe)};i.useEffect(function(){vr(Ge!==!1?Xt(0):-1)},[ue.length,ge]),i.useEffect(function(){var le=setTimeout(function(){if(!Ie&&Dt&&ne.size===1){var oe=Array.from(ne)[0],fe=ue.findIndex(function(De){var He=De.data;return He.value===oe});vr(fe),Ae(fe)}});return function(){return clearTimeout(le)}},[Dt]);var mt=function(oe){oe!==void 0&&Nt(oe,{selected:!ne.has(oe)}),Ie||Bt(!1)};if(i.useImperativeHandle(Y,function(){return{onKeyDown:function(oe){var fe=oe.which;switch(fe){case _.a.UP:case _.a.DOWN:{var De=0;if(fe===_.a.UP?De=-1:fe===_.a.DOWN&&(De=1),De!==0){var He=Xt(Et+De,De);Ae(He),vr(He)}break}case _.a.ENTER:{var je=ue[Et];je&&!je.data.disabled?mt(je.data.value):mt(void 0),Dt&&oe.preventDefault();break}case _.a.ESC:Bt(!1)}},onKeyUp:function(){},scrollTo:function(oe){Ae(oe)}}}),ue.length===0)return i.createElement("div",{role:"listbox",id:"".concat(ae,"_list"),className:"".concat(we,"-empty"),onMouseDown:at},Pe);function ce(le){var oe=ue[le];if(!oe)return null;var fe=oe.data||{},De=fe.value,He=fe.label,je=fe.children,We=Object(T.a)(fe,!0),nt=Ee?je:He;return oe?i.createElement("div",Object.assign({"aria-label":typeof nt=="string"?nt:null},We,{key:le,role:"option",id:"".concat(ae,"_list_").concat(le),"aria-selected":ne.has(De)}),De):null}return i.createElement(i.Fragment,null,i.createElement("div",{role:"listbox",id:"".concat(ae,"_list"),style:{height:0,width:0,overflow:"hidden"}},ce(Et-1),ce(Et),ce(Et+1)),i.createElement(E.a,{itemKey:"key",ref:vt,data:ue,height:ut,itemHeight:wt,fullHeight:!1,onMouseDown:at,onScroll:Gt,virtual:_t,onMouseEnter:qe},function(le,oe){var fe,De=le.group,He=le.groupOption,je=le.data,We=je.label,nt=je.key;if(De)return i.createElement("div",{className:s()(we,"".concat(we,"-group"))},We!==void 0?We:nt);var xt=je.disabled,It=je.value,ir=je.title,Me=je.children,ke=je.style,re=je.className,be=Object(b.a)(je,["disabled","value","title","children","style","className"]),Ne=ne.has(It),Ke="".concat(we,"-option"),Qe=s()(we,Ke,re,(fe={},Object(x.a)(fe,"".concat(Ke,"-grouped"),He),Object(x.a)(fe,"".concat(Ke,"-active"),Et===oe&&!xt),Object(x.a)(fe,"".concat(Ke,"-disabled"),xt),Object(x.a)(fe,"".concat(Ke,"-selected"),Ne),fe)),ct=Ee?Me:We,Lt=!et||typeof et=="function"||Ne;return i.createElement("div",Object.assign({},be,{"aria-selected":Ne,className:Qe,title:ir,onMouseMove:function(){if(Et===oe||xt)return;vr(oe)},onClick:function(){xt||mt(It)},style:ke}),i.createElement("div",{className:"".concat(Ke,"-content")},ct||It),i.isValidElement(et)||Ne,Lt&&i.createElement(I.a,{className:"".concat(we,"-option-state"),customizeIcon:et,customizeIconProps:{isSelected:Ne}},Ne?"\u2713":null))}))},F=i.forwardRef(O);F.displayName="OptionList";var k=F,M=function(){return null};M.isSelectOption=!0;var P=M,V=function(){return null};V.isSelectOptGroup=!0;var D=V,H=r("VTBJ"),U=r("Zm9Q");function z(W){var j=W.key,Y=W.props,me=Y.children,ae=Y.value,Le=Object(b.a)(Y,["children","value"]);return Object(H.a)({key:j,value:ae!==void 0?ae:j,children:me},Le)}function K(W){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Object(U.a)(W).map(function(Y,me){if(!i.isValidElement(Y)||!Y.type)return null;var ae=Y.type.isSelectOptGroup,Le=Y.key,Ee=Y.props,ne=Ee.children,ge=Object(b.a)(Ee,["children"]);return j||!ae?z(Y):Object(H.a)(Object(H.a)({key:"__RC_SELECT_GRP__".concat(Le===null?me:Le,"__"),label:Le},ge),{},{options:K(ne)})}).filter(function(Y){return Y})}var G=r("2Qr1"),X=r("qNPg"),Z=r("U8pU"),ee=r("Kwbf"),Se=r("WKfj");function $(W){var j=W.mode,Y=W.options,me=W.children,ae=W.backfill,Le=W.allowClear,Ee=W.placeholder,ne=W.getInputElement,ge=W.showSearch,Ie=W.onSearch,Ge=W.defaultOpen,ut=W.autoFocus,wt=W.labelInValue,Pe=W.value,Dt=W.inputValue,et=W.optionLabelProp,_t=j==="multiple"||j==="tags",Nt=ge!==void 0?ge:_t||j==="combobox",Bt=Y||K(me);if(Object(ee.a)(j!=="tags"||Bt.every(function(we){return!we.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),j==="tags"||j==="combobox"){var Ft=Bt.some(function(we){return we.options?we.options.some(function(ue){return typeof("value"in ue?ue.value:ue.key)=="number"}):typeof("value"in we?we.value:we.key)=="number"});Object(ee.a)(!Ft,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(ee.a)(j!=="combobox"||!et,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(ee.a)(j==="combobox"||!ae,"`backfill` only works with `combobox` mode."),Object(ee.a)(j==="combobox"||!ne,"`getInputElement` only work with `combobox` mode."),Object(ee.b)(j!=="combobox"||!ne||!Le||!Ee,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Ie&&!Nt&&j!=="combobox"&&j!=="tags"&&Object(ee.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(ee.b)(!Ge||ut,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Pe!=null){var Gt=Object(Se.d)(Pe);Object(ee.a)(!wt||Gt.every(function(we){return Object(Z.a)(we)==="object"&&("key"in we||"value"in we)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(ee.a)(!_t||Array.isArray(Pe),"`value` should be array when `mode` is `multiple` or `tags`")}if(me){var qe=null;Object(U.a)(me).some(function(we){if(!i.isValidElement(we)||!we.type)return!1;var ue=we.type;if(ue.isSelectOption)return!1;if(ue.isSelectOptGroup){var vt=Object(U.a)(we.props.children).every(function(at){return!i.isValidElement(at)||!we.type||at.type.isSelectOption?!0:(qe=at.type,!1)});return!vt}return qe=ue,!0}),qe&&Object(ee.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(qe.displayName||qe.name||qe,"`.")),Object(ee.a)(Dt===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var pe=$,xe=Object(X.a)({prefixCls:"rc-select",components:{optionList:k},convertChildrenToData:K,flattenOptions:G.d,getLabeledValue:G.e,filterOptions:G.b,isValueDisabled:G.g,findValueOption:G.c,warningProps:pe,fillOptionsWithMissingValue:G.a}),_e=function(W){Object(A.a)(Y,W);var j=Object(v.a)(Y);function Y(){var me;return Object(u.a)(this,Y),me=j.apply(this,arguments),me.selectRef=i.createRef(),me.focus=function(){me.selectRef.current.focus()},me.blur=function(){me.selectRef.current.blur()},me}return Object(f.a)(Y,[{key:"render",value:function(){return i.createElement(xe,Object.assign({ref:this.selectRef},this.props))}}]),Y}(i.Component);_e.Option=P,_e.OptGroup=D;var Ue=_e,ye=Ue,Be=r("H84U"),Q=r("1vzs"),ie=r("3Nzz"),Ve=function(W){t()(Y,W);var j=d()(Y);function Y(){var me;return h()(this,Y),me=j.apply(this,arguments),me.selectRef=i.createRef(),me.focus=function(){me.selectRef.current&&me.selectRef.current.focus()},me.blur=function(){me.selectRef.current&&me.selectRef.current.blur()},me.getMode=function(){var ae=me.props.mode;return ae==="combobox"?void 0:ae===Y.SECRET_COMBOBOX_MODE_DO_NOT_USE?"combobox":ae},me.renderSelect=function(ae){var Le=ae.getPopupContainer,Ee=ae.getPrefixCls,ne=ae.renderEmpty,ge=ae.direction,Ie=ae.virtual,Ge=ae.dropdownMatchSelectWidth,ut=me.props,wt=ut.prefixCls,Pe=ut.notFoundContent,Dt=ut.className,et=ut.size,_t=ut.listHeight,Nt=_t===void 0?256:_t,Bt=ut.listItemHeight,Ft=Bt===void 0?24:Bt,Gt=ut.getPopupContainer,qe=ut.dropdownClassName,we=ut.bordered,ue=Ee("select",wt),vt=me.getMode(),at=vt==="multiple"||vt==="tags",Ae;Pe!==void 0?Ae=Pe:vt==="combobox"?Ae=null:Ae=ne("Select");var Xt=Object(Q.a)(p()(p()({},me.props),{multiple:at,prefixCls:ue})),Ot=Xt.suffixIcon,rt=Xt.itemIcon,Et=Xt.removeIcon,Zt=Xt.clearIcon,vr=Object(l.default)(me.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered"]),mt=s()(qe,m()({},"".concat(ue,"-dropdown-").concat(ge),ge==="rtl"));return i.createElement(ie.b.Consumer,null,function(ce){var le,oe=et||ce,fe=s()(Dt,(le={},m()(le,"".concat(ue,"-lg"),oe==="large"),m()(le,"".concat(ue,"-sm"),oe==="small"),m()(le,"".concat(ue,"-rtl"),ge==="rtl"),m()(le,"".concat(ue,"-borderless"),!we),le));return i.createElement(ye,p()({ref:me.selectRef,virtual:Ie,dropdownMatchSelectWidth:Ge},vr,{listHeight:Nt,listItemHeight:Ft,mode:vt,prefixCls:ue,direction:ge,inputIcon:Ot,menuItemSelectedIcon:rt,removeIcon:Et,clearIcon:Zt,notFoundContent:Ae,className:fe,getPopupContainer:Gt||Le,dropdownClassName:mt}))})},me}return o()(Y,[{key:"render",value:function(){return i.createElement(Be.a,null,this.renderSelect)}}]),Y}(i.Component);Ve.Option=P,Ve.OptGroup=D,Ve.SECRET_COMBOBOX_MODE_DO_NOT_USE="SECRET_COMBOBOX_MODE_DO_NOT_USE",Ve.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var J=N.a=Ve},"2fw6":function(B,N,r){var y=r("y+Vt"),m=y.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(p,g,h){h&&p.moveTo(g.cx+g.r,g.cy),p.arc(g.cx,g.cy,g.r,0,Math.PI*2,!0)}});B.exports=m},"2jpz":function(B,N,r){"use strict";r.d(N,"a",function(){return f});var y=r("cDf5"),m=r.n(y),C=r("q1tI"),p=r.n(C),g=r("TSYQ"),h=r.n(g),c=r("gZBC"),o=r.n(c),n=r("vk+C"),t=r.n(n),a=r("pG52"),d=r.n(a),i=r("Csr3"),l=r.n(i),e=r("e5VY"),s=r.n(e),u=r("0n0R");function f(A,v,x,b){var w=b.isLeaf,_=b.expanded,T=b.loading;if(T)return C.createElement(o.a,{className:"".concat(A,"-switcher-loading-icon")});var S;if(x&&m()(x)==="object"&&(S=x.showLeafIcon),w)return x?m()(x)==="object"&&!S?C.createElement("span",{className:"".concat(A,"-switcher-leaf-line")}):C.createElement(t.a,{className:"".concat(A,"-switcher-line-icon")}):null;var E="".concat(A,"-switcher-icon");return Object(u.b)(v)?Object(u.a)(v,{className:h()(v.props.className||"",E)}):v||(x?_?C.createElement(d.a,{className:"".concat(A,"-switcher-line-icon")}):C.createElement(l.a,{className:"".concat(A,"-switcher-line-icon")}):C.createElement(s.a,{className:E}))}},"2oIt":function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};N.default=y},"2uGb":function(B,N,r){var y=r("ProS");r("ko1b"),r("s2lz"),r("RBEP");var m=r("kMLO"),C=r("nKiI");y.registerVisual(m),y.registerLayout(C)},"2w7y":function(B,N,r){var y=r("ProS");r("qMZE"),r("g0SD"),y.registerPreprocessor(function(m){m.markPoint=m.markPoint||{}})},"33Ds":function(B,N,r){var y=r("ProS"),m=r("b9oc"),C=r("Kagy"),p=r("IUWy"),g=C.toolbox.restore;function h(n){this.model=n}h.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:g.title};var c=h.prototype;c.onclick=function(n,t,a){m.clear(n),t.dispatchAction({type:"restore",from:this.uid})},p.register("restore",h),y.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(n,t){t.resetOption("recreate")});var o=h;B.exports=o},"34/K":function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function y(g,h){if(!(g instanceof h))throw new TypeError("Cannot call a class as a function")}function m(g,h){for(var c=0;c<h.length;c++){var o=h[c];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(g,o.key,o)}}function C(g,h,c){return h&&m(g.prototype,h),c&&m(g,c),g}var p=function(){function g(){y(this,g),this._lines=0}return C(g,[{key:"decodeRect",value:function(c,o,n,t,a,d,i){this._lines===0&&(this._lines=t);var l=i==8?1:4,e=n*l;if(a.rQwait("RAW",e))return!1;var s=o+(t-this._lines),u=Math.min(this._lines,Math.floor(a.rQlen/e)),f=a.rQ,A=a.rQi;if(i==8){for(var v=n*u,x=new Uint8Array(v*4),b=0;b<v;b++)x[b*4+0]=(f[A+b]>>0&3)*255/3,x[b*4+1]=(f[A+b]>>2&3)*255/3,x[b*4+2]=(f[A+b]>>4&3)*255/3,x[b*4+4]=0;f=x,A=0}return d.blitImage(c,s,n,u,f,A),a.rQskipBytes(u*e),this._lines-=u,!(this._lines>0)}}]),g}();N.default=p},"3690":function(B,N,r){"use strict";function y(n){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(a){return typeof a}:y=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},y(n)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var m=p(r("Lo0S"));function C(){if(typeof WeakMap!="function")return null;var n=new WeakMap;return C=function(){return n},n}function p(n){if(n&&n.__esModule)return n;if(n===null||y(n)!=="object"&&typeof n!="function")return{default:n};var t=C();if(t&&t.has(n))return t.get(n);var a={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var l=d?Object.getOwnPropertyDescriptor(n,i):null;l&&(l.get||l.set)?Object.defineProperty(a,i,l):a[i]=n[i]}return a.default=n,t&&t.set(n,a),a}function g(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function h(n,t){for(var a=0;a<t.length;a++){var d=t[a];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(n,d.key,d)}}function c(n,t,a){return t&&h(n.prototype,t),a&&h(n,a),n}var o=function(){function n(){g(this,n),this._tiles=0,this._lastsubencoding=0}return c(n,[{key:"decodeRect",value:function(a,d,i,l,e,s,u){for(this._tiles===0&&(this._tilesX=Math.ceil(i/16),this._tilesY=Math.ceil(l/16),this._totalTiles=this._tilesX*this._tilesY,this._tiles=this._totalTiles);this._tiles>0;){var f=1;if(e.rQwait("HEXTILE",f))return!1;var A=e.rQ,v=e.rQi,x=A[v];if(x>30)throw new Error("Illegal hextile subencoding (subencoding: "+x+")");var b=this._totalTiles-this._tiles,w=b%this._tilesX,_=Math.floor(b/this._tilesX),T=a+w*16,S=d+_*16,E=Math.min(16,a+i-T),I=Math.min(16,d+l-S);if(x&1)f+=E*I*4;else if(x&2&&(f+=4),x&4&&(f+=4),x&8){if(f++,e.rQwait("HEXTILE",f))return!1;var O=A[v+f-1];x&16?f+=O*(4+2):f+=O*2}if(e.rQwait("HEXTILE",f))return!1;if(v++,x===0)this._lastsubencoding&1?m.Debug(" Ignoring blank after RAW"):s.fillRect(T,S,E,I,this._background);else if(x&1)s.blitImage(T,S,E,I,A,v),v+=f-1;else{if(x&2&&(this._background=[A[v],A[v+1],A[v+2],A[v+3]],v+=4),x&4&&(this._foreground=[A[v],A[v+1],A[v+2],A[v+3]],v+=4),s.startTile(T,S,E,I,this._background),x&8){var F=A[v];v++;for(var k=0;k<F;k++){var M=void 0;x&16?(M=[A[v],A[v+1],A[v+2],A[v+3]],v+=4):M=this._foreground;var P=A[v];v++;var V=P>>4,D=P&15,H=A[v];v++;var U=(H>>4)+1,z=(H&15)+1;s.subTile(V,D,U,z,M)}}s.finishTile()}e.rQi=v,this._lastsubencoding=x,this._tiles--}return!0}}]),n}();N.default=o},"3C/r":function(B,N){var r=function(C,p){this.image=C,this.repeat=p,this.type="pattern"};r.prototype.getCanvasPattern=function(m){return m.createPattern(this.image,this.repeat||"repeat")};var y=r;B.exports=y},"3CBa":function(B,N,r){var y=r("hydK"),m=y.createElement,C=r("bYtY"),p=r("SUKs"),g=r("y+Vt"),h=r("Dagg"),c=r("dqUG"),o=r("DBLp"),n=r("sW+o"),t=r("n6Mw"),a=r("vKoX"),d=r("P47w"),i=d.path,l=d.image,e=d.text;function s(E){return parseInt(E,10)}function u(E){return E instanceof g?i:E instanceof h?l:E instanceof c?e:i}function f(E,I){return I&&E&&I.parentNode!==E}function A(E,I,O){if(f(E,I)&&O){var F=O.nextSibling;F?E.insertBefore(I,F):E.appendChild(I)}}function v(E,I){if(f(E,I)){var O=E.firstChild;O?E.insertBefore(I,O):E.appendChild(I)}}function x(E,I){I&&E&&I.parentNode===E&&E.removeChild(I)}function b(E){return E.__textSvgEl}function w(E){return E.__svgEl}var _=function(I,O,F,k){this.root=I,this.storage=O,this._opts=F=C.extend({},F||{});var M=m("svg");M.setAttribute("xmlns","http://www.w3.org/2000/svg"),M.setAttribute("version","1.1"),M.setAttribute("baseProfile","full"),M.style.cssText="user-select:none;position:absolute;left:0;top:0;";var P=m("g");M.appendChild(P);var V=m("g");M.appendChild(V),this.gradientManager=new n(k,V),this.clipPathManager=new t(k,V),this.shadowManager=new a(k,V);var D=document.createElement("div");D.style.cssText="overflow:hidden;position:relative",this._svgDom=M,this._svgRoot=V,this._backgroundRoot=P,this._viewport=D,I.appendChild(D),D.appendChild(M),this.resize(F.width,F.height),this._visibleList=[]};_.prototype={constructor:_,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 O=m("rect");O.setAttribute("width",this.getWidth()),O.setAttribute("height",this.getHeight()),O.setAttribute("x",0),O.setAttribute("y",0),O.setAttribute("id",0),O.style.fill=I,this._backgroundRoot.appendChild(O),this._backgroundNode=O},_paintList:function(I){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var O=this._svgRoot,F=this._visibleList,k=I.length,M=[],P;for(P=0;P<k;P++){var V=I[P],D=u(V),H=w(V)||b(V);V.invisible||(V.__dirty&&(D&&D.brush(V),this.clipPathManager.update(V),V.style&&(this.gradientManager.update(V.style.fill),this.gradientManager.update(V.style.stroke),this.shadowManager.update(H,V)),V.__dirty=!1),M.push(V))}var U=o(F,M),z;for(P=0;P<U.length;P++){var K=U[P];if(K.removed)for(var G=0;G<K.count;G++){var V=F[K.indices[G]],H=w(V),X=b(V);x(O,H),x(O,X)}}for(P=0;P<U.length;P++){var K=U[P];if(K.added)for(var G=0;G<K.count;G++){var V=M[K.indices[G]],H=w(V),X=b(V);z?A(O,H,z):v(O,H),H?A(O,X,H):z?A(O,X,z):v(O,X),A(O,X,H),z=X||H||z,this.gradientManager.addWithoutUpdate(H||X,V),this.shadowManager.addWithoutUpdate(H||X,V),this.clipPathManager.markUsed(V)}else if(!K.removed)for(var G=0;G<K.count;G++){var V=M[K.indices[G]],H=w(V),X=b(V),H=w(V),X=b(V);this.gradientManager.markUsed(V),this.gradientManager.addWithoutUpdate(H||X,V),this.shadowManager.markUsed(V),this.shadowManager.addWithoutUpdate(H||X,V),this.clipPathManager.markUsed(V),X&&A(O,X,H),z=H||X||z}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=M},_getDefs:function(I){var O=this._svgDom,F=O.getElementsByTagName("defs");if(F.length===0)if(I){var F=O.insertBefore(m("defs"),O.firstChild);return F.contains||(F.contains=function(M){var P=F.children;if(!P)return!1;for(var V=P.length-1;V>=0;--V)if(P[V]===M)return!0;return!1}),F}else return null;else return F[0]},resize:function(I,O){var F=this._viewport;F.style.display="none";var k=this._opts;if(I!=null&&(k.width=I),O!=null&&(k.height=O),I=this._getSize(0),O=this._getSize(1),F.style.display="",this._width!==I||this._height!==O){this._width=I,this._height=O;var M=F.style;M.width=I+"px",M.height=O+"px";var P=this._svgDom;P.setAttribute("width",I),P.setAttribute("height",O)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",I),this._backgroundNode.setAttribute("height",O))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(I){var O=this._opts,F=["width","height"][I],k=["clientWidth","clientHeight"][I],M=["paddingLeft","paddingTop"][I],P=["paddingRight","paddingBottom"][I];if(O[F]!=null&&O[F]!=="auto")return parseFloat(O[F]);var V=this.root,D=document.defaultView.getComputedStyle(V);return(V[k]||s(D[F])||s(V.style[F]))-(s(D[M])||0)-(s(D[P])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){this.refresh();var I=encodeURIComponent(this._svgDom.outerHTML.replace(/></g,`>
|
|
|
\r<`));return"data:image/svg+xml;charset=UTF-8,"+I}};function T(E){return function(){p('In SVG mode painter not support method "'+E+'"')}}C.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],function(E){_.prototype[E]=T(E)});var S=_;B.exports=S},"3LNs":function(B,N,r){var y=r("bYtY"),m=r("Yl7c"),C=r("IwbS"),p=r("zTMp"),g=r("YH21"),h=r("iLNv"),c=r("4NO4"),o=c.makeInner,n=o(),t=y.clone,a=y.bind;function d(){}d.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(A,v,x,b){var w=v.get("value"),_=v.get("status");if(this._axisModel=A,this._axisPointerModel=v,this._api=x,!b&&this._lastValue===w&&this._lastStatus===_)return;this._lastValue=w,this._lastStatus=_;var T=this._group,S=this._handle;if(!_||_==="hide"){T&&T.hide(),S&&S.hide();return}T&&T.show(),S&&S.show();var E={};this.makeElOption(E,w,A,v,x);var I=E.graphicKey;I!==this._lastGraphicKey&&this.clear(x),this._lastGraphicKey=I;var O=this._moveAnimation=this.determineAnimation(A,v);if(!T)T=this._group=new C.Group,this.createPointerEl(T,E,A,v),this.createLabelEl(T,E,A,v),x.getZr().add(T);else{var F=y.curry(i,v,O);this.updatePointerEl(T,E,F,v),this.updateLabelEl(T,E,F,v)}u(T,v,!0),this._renderHandle(w)},remove:function(A){this.clear(A)},dispose:function(A){this.clear(A)},determineAnimation:function(A,v){var x=v.get("animation"),b=A.axis,w=b.type==="category",_=v.get("snap");if(!_&&!w)return!1;if(x==="auto"||x==null){var T=this.animationThreshold;if(w&&b.getBandWidth()>T)return!0;if(_){var S=p.getAxisInfo(A).seriesDataCount,E=b.getExtent();return Math.abs(E[0]-E[1])/S>T}return!1}return x===!0},makeElOption:function(A,v,x,b,w){},createPointerEl:function(A,v,x,b){var w=v.pointer;if(w){var _=n(A).pointerEl=new C[w.type](t(v.pointer));A.add(_)}},createLabelEl:function(A,v,x,b){if(v.label){var w=n(A).labelEl=new C.Rect(t(v.label));A.add(w),e(w,b)}},updatePointerEl:function(A,v,x){var b=n(A).pointerEl;b&&v.pointer&&(b.setStyle(v.pointer.style),x(b,{shape:v.pointer.shape}))},updateLabelEl:function(A,v,x,b){var w=n(A).labelEl;w&&(w.setStyle(v.label.style),x(w,{shape:v.label.shape,position:v.label.position}),e(w,b))},_renderHandle:function(A){if(this._dragging||!this.updateHandleTransform)return;var v=this._axisPointerModel,x=this._api.getZr(),b=this._handle,w=v.getModel("handle"),_=v.get("status");if(!w.get("show")||!_||_==="hide"){b&&x.remove(b),this._handle=null;return}var T;this._handle||(T=!0,b=this._handle=C.createIcon(w.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(I){g.stop(I.event)},onmousedown:a(this._onHandleDragMove,this,0,0),drift:a(this._onHandleDragMove,this),ondragend:a(this._onHandleDragEnd,this)}),x.add(b)),u(b,v,!1);var S=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];b.setStyle(w.getItemStyle(null,S));var E=w.get("size");y.isArray(E)||(E=[E,E]),b.attr("scale",[E[0]/2,E[1]/2]),h.createOrUpdate(this,"_doDispatchAxisPointer",w.get("throttle")||0,"fixRate"),this._moveHandleToValue(A,T)},_moveHandleToValue:function(A,v){i(this._axisPointerModel,!v&&this._moveAnimation,this._handle,s(this.getHandleTransform(A,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(A,v){var x=this._handle;if(!x)return;this._dragging=!0;var b=this.updateHandleTransform(s(x),[A,v],this._axisModel,this._axisPointerModel);this._payloadInfo=b,x.stopAnimation(),x.attr(s(b)),n(x).lastProp=null,this._doDispatchAxisPointer()},_doDispatchAxisPointer:function(){var A=this._handle;if(!A)return;var v=this._payloadInfo,x=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:v.cursorPoint[0],y:v.cursorPoint[1],tooltipOption:v.tooltipOption,axesInfo:[{axisDim:x.axis.dim,axisIndex:x.componentIndex}]})},_onHandleDragEnd:function(A){this._dragging=!1;var v=this._handle;if(!v)return;var x=this._axisPointerModel.get("value");this._moveHandleToValue(x),this._api.dispatchAction({type:"hideTip"})},getHandleTransform:null,updateHandleTransform:null,clear:function(A){this._lastValue=null,this._lastStatus=null;var v=A.getZr(),x=this._group,b=this._handle;v&&x&&(this._lastGraphicKey=null,x&&v.remove(x),b&&v.remove(b),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(A,v,x){return x=x||0,{x:A[x],y:A[1-x],width:v[x],height:v[1-x]}}},d.prototype.constructor=d;function i(A,v,x,b){l(n(x).lastProp,b)||(n(x).lastProp=b,v?C.updateProps(x,b,A):(x.stopAnimation(),x.attr(b)))}function l(A,v){if(y.isObject(A)&&y.isObject(v)){var x=!0;return y.each(v,function(b,w){x=x&&l(A[w],b)}),!!x}else return A===v}function e(A,v){A[v.get("label.show")?"show":"hide"]()}function s(A){return{position:A.position.slice(),rotation:A.rotation||0}}function u(A,v,x){var b=v.get("z"),w=v.get("zlevel");A&&A.traverse(function(_){_.type!=="group"&&(b!=null&&(_.z=b),w!=null&&(_.zlevel=w),_.silent=x)})}m.enableClassExtend(d);var f=d;B.exports=f},"3OrL":function(B,N,r){var y=r("bYtY"),m=r("6Ic6"),C=r("IwbS"),p=r("y+Vt"),g=["itemStyle"],h=["emphasis","itemStyle"],c=m.extend({type:"boxplot",render:function(i,l,e){var s=i.getData(),u=this.group,f=this._data;this._data||u.removeAll();var A=i.get("layout")==="horizontal"?1:0;s.diff(f).add(function(v){if(s.hasValue(v)){var x=s.getItemLayout(v),b=n(x,s,v,A,!0);s.setItemGraphicEl(v,b),u.add(b)}}).update(function(v,x){var b=f.getItemGraphicEl(x);if(!s.hasValue(v)){u.remove(b);return}var w=s.getItemLayout(v);b?t(w,b,s,v):b=n(w,s,v,A),u.add(b),s.setItemGraphicEl(v,b)}).remove(function(v){var x=f.getItemGraphicEl(v);x&&u.remove(x)}).execute(),this._data=s},remove:function(i){var l=this.group,e=this._data;this._data=null,e&&e.eachItemGraphicEl(function(s){s&&l.remove(s)})},dispose:y.noop}),o=p.extend({type:"boxplotBoxPath",shape:{},buildPath:function(i,l){var e=l.points,s=0;for(i.moveTo(e[s][0],e[s][1]),s++;s<4;s++)i.lineTo(e[s][0],e[s][1]);for(i.closePath();s<e.length;s++)i.moveTo(e[s][0],e[s][1]),s++,i.lineTo(e[s][0],e[s][1])}});function n(i,l,e,s,u){var f=i.ends,A=new o({shape:{points:u?a(f,s,i):f}});return t(i,A,l,e,u),A}function t(i,l,e,s,u){var f=e.hostModel,A=C[u?"initProps":"updateProps"];A(l,{shape:{points:i.ends}},f,s);var v=e.getItemModel(s),x=v.getModel(g),b=e.getItemVisual(s,"color"),w=x.getItemStyle(["borderColor"]);w.stroke=b,w.strokeNoScale=!0,l.useStyle(w),l.z2=100;var _=v.getModel(h).getItemStyle();C.setHoverStyle(l,_)}function a(i,l,e){return y.map(i,function(s){return s=s.slice(),s[l]=e.initBaseline,s})}var d=c;B.exports=d},"3S7+":function(B,N,r){"use strict";var y=r("lSNA"),m=r.n(y),C=r("J4zp"),p=r.n(C),g=r("pVnL"),h=r.n(g),c=r("q1tI"),o=r("U8pU"),n=r("VTBJ"),t=r("Ff2n"),a=r("uciX"),d={adjustX:1,adjustY:1},i=[0,0],l={left:{points:["cr","cl"],overflow:d,offset:[-4,0],targetOffset:i},right:{points:["cl","cr"],overflow:d,offset:[4,0],targetOffset:i},top:{points:["bc","tc"],overflow:d,offset:[0,-4],targetOffset:i},bottom:{points:["tc","bc"],overflow:d,offset:[0,4],targetOffset:i},topLeft:{points:["bl","tl"],overflow:d,offset:[0,-4],targetOffset:i},leftTop:{points:["tr","tl"],overflow:d,offset:[-4,0],targetOffset:i},topRight:{points:["br","tr"],overflow:d,offset:[0,-4],targetOffset:i},rightTop:{points:["tl","tr"],overflow:d,offset:[4,0],targetOffset:i},bottomRight:{points:["tr","br"],overflow:d,offset:[0,4],targetOffset:i},rightBottom:{points:["bl","br"],overflow:d,offset:[4,0],targetOffset:i},bottomLeft:{points:["tl","bl"],overflow:d,offset:[0,4],targetOffset:i},leftBottom:{points:["br","bl"],overflow:d,offset:[-4,0],targetOffset:i}},e=l,s=function(U){var z=U.overlay,K=U.prefixCls,G=U.id,X=U.overlayInnerStyle;return c.createElement("div",{className:"".concat(K,"-inner"),id:G,role:"tooltip",style:X},typeof z=="function"?z():z)},u=s,f=function(U,z){var K=U.overlayClassName,G=U.trigger,X=G===void 0?["hover"]:G,Z=U.mouseEnterDelay,ee=Z===void 0?0:Z,Se=U.mouseLeaveDelay,$=Se===void 0?.1:Se,pe=U.overlayStyle,xe=U.prefixCls,_e=xe===void 0?"rc-tooltip":xe,Ue=U.children,ye=U.onVisibleChange,Be=U.afterVisibleChange,Q=U.transitionName,ie=U.animation,Ve=U.placement,J=Ve===void 0?"right":Ve,W=U.align,j=W===void 0?{}:W,Y=U.destroyTooltipOnHide,me=Y===void 0?!1:Y,ae=U.defaultVisible,Le=U.getTooltipContainer,Ee=U.overlayInnerStyle,ne=Object(t.a)(U,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),ge=Object(c.useRef)(null);Object(c.useImperativeHandle)(z,function(){return ge.current});var Ie=Object(n.a)({},ne);"visible"in U&&(Ie.popupVisible=U.visible);var Ge=function(){var et=U.arrowContent,_t=et===void 0?null:et,Nt=U.overlay,Bt=U.id;return[c.createElement("div",{className:"".concat(_e,"-arrow"),key:"arrow"},_t),c.createElement(u,{key:"content",prefixCls:_e,id:Bt,overlay:Nt,overlayInnerStyle:Ee})]},ut=!1,wt=!1;if(typeof me=="boolean")ut=me;else if(me&&Object(o.a)(me)==="object"){var Pe=me.keepParent;ut=Pe===!0,wt=Pe===!1}return c.createElement(a.a,Object.assign({popupClassName:K,prefixCls:_e,popup:Ge,action:X,builtinPlacements:l,popupPlacement:J,ref:ge,popupAlign:j,getPopupContainer:Le,onPopupVisibleChange:ye,afterPopupVisibleChange:Be,popupTransitionName:Q,popupAnimation:ie,defaultPopupVisible:ae,destroyPopupOnHide:ut,autoDestroy:wt,mouseLeaveDelay:$,popupStyle:pe,mouseEnterDelay:ee},Ie),Ue)},A=Object(c.forwardRef)(f),v=A,x=r("TSYQ"),b=r.n(x),w={adjustX:1,adjustY:1},_={adjustX:0,adjustY:0},T=[0,0];function S(H){return typeof H=="boolean"?H?w:_:h()(h()({},_),H)}function E(H){var U=H.arrowWidth,z=U===void 0?5:U,K=H.horizontalArrowShift,G=K===void 0?16:K,X=H.verticalArrowShift,Z=X===void 0?8:X,ee=H.autoAdjustOverflow,Se={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(G+z),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(Z+z)]},topRight:{points:["br","tc"],offset:[G+z,-4]},rightTop:{points:["tl","cr"],offset:[4,-(Z+z)]},bottomRight:{points:["tr","bc"],offset:[G+z,4]},rightBottom:{points:["bl","cr"],offset:[4,Z+z]},bottomLeft:{points:["tl","bc"],offset:[-(G+z),4]},leftBottom:{points:["br","cl"],offset:[-4,Z+z]}};return Object.keys(Se).forEach(function($){Se[$]=H.arrowPointAtCenter?h()(h()({},Se[$]),{overflow:S(ee),targetOffset:T}):h()(h()({},l[$]),{overflow:S(ee)}),Se[$].ignoreShake=!0}),Se}var I=r("0n0R"),O=r("H84U"),F=r("09Wf"),k=function(U,z){var K={},G=h()({},U);return z.forEach(function(X){U&&X in U&&(K[X]=U[X],delete G[X])}),{picked:K,omitted:G}},M=new RegExp("^(".concat(F.a.join("|"),")(-inverse)?$"));function P(H,U){var z=H.type;if((z.__ANT_BUTTON===!0||z.__ANT_SWITCH===!0||z.__ANT_CHECKBOX===!0||H.type==="button")&&H.props.disabled){var K=k(H.props.style,["position","left","right","top","bottom","float","display","zIndex"]),G=K.picked,X=K.omitted,Z=h()(h()({display:"inline-block"},G),{cursor:"not-allowed",width:H.props.block?"100%":null}),ee=h()(h()({},X),{pointerEvents:"none"}),Se=Object(I.a)(H,{style:ee,className:null});return c.createElement("span",{style:Z,className:b()(H.props.className,"".concat(U,"-disabled-compatible-wrapper"))},Se)}return H}var V=c.forwardRef(function(H,U){var z,K=c.useContext(O.b),G=K.getPopupContainer,X=K.getPrefixCls,Z=K.direction,ee=c.useState(!!H.visible||!!H.defaultVisible),Se=p()(ee,2),$=Se[0],pe=Se[1];c.useEffect(function(){"visible"in H&&pe(H.visible)},[H.visible]);var xe=function(){var Pe=H.title,Dt=H.overlay;return!Pe&&!Dt&&Pe!==0},_e=function(Pe){"visible"in H||pe(xe()?!1:Pe),H.onVisibleChange&&!xe()&&H.onVisibleChange(Pe)},Ue=function(){var Pe=H.builtinPlacements,Dt=H.arrowPointAtCenter,et=H.autoAdjustOverflow;return Pe||E({arrowPointAtCenter:Dt,autoAdjustOverflow:et})},ye=function(Pe,Dt){var et=Ue(),_t=Object.keys(et).filter(function(Ft){return et[Ft].points[0]===Dt.points[0]&&et[Ft].points[1]===Dt.points[1]})[0];if(!_t)return;var Nt=Pe.getBoundingClientRect(),Bt={top:"50%",left:"50%"};_t.indexOf("top")>=0||_t.indexOf("Bottom")>=0?Bt.top="".concat(Nt.height-Dt.offset[1],"px"):(_t.indexOf("Top")>=0||_t.indexOf("bottom")>=0)&&(Bt.top="".concat(-Dt.offset[1],"px")),_t.indexOf("left")>=0||_t.indexOf("Right")>=0?Bt.left="".concat(Nt.width-Dt.offset[0],"px"):(_t.indexOf("right")>=0||_t.indexOf("Left")>=0)&&(Bt.left="".concat(-Dt.offset[0],"px")),Pe.style.transformOrigin="".concat(Bt.left," ").concat(Bt.top)},Be=function(){var Pe=H.title,Dt=H.overlay;return Pe===0?Pe:Dt||Pe||""},Q=H.prefixCls,ie=H.openClassName,Ve=H.getPopupContainer,J=H.getTooltipContainer,W=H.overlayClassName,j=H.color,Y=H.overlayInnerStyle,me=H.children,ae=X("tooltip",Q),Le=$;!("visible"in H)&&xe()&&(Le=!1);var Ee=P(Object(I.b)(me)?me:c.createElement("span",null,me),ae),ne=Ee.props,ge=b()(ne.className,m()({},ie||"".concat(ae,"-open"),!0)),Ie=b()(W,(z={},m()(z,"".concat(ae,"-rtl"),Z==="rtl"),m()(z,"".concat(ae,"-").concat(j),j&&M.test(j)),z)),Ge,ut;return j&&!M.test(j)&&(Ge=h()(h()({},Y),{background:j}),ut={background:j}),c.createElement(v,h()({},H,{prefixCls:ae,overlayClassName:Ie,getTooltipContainer:Ve||J||G,ref:U,builtinPlacements:Ue(),overlay:Be(),visible:Le,onVisibleChange:_e,onPopupAlign:ye,overlayInnerStyle:Ge,arrowContent:c.createElement("span",{className:"".concat(ae,"-arrow-content"),style:ut})}),Le?Object(I.a)(Ee,{className:ge}):Ee)});V.displayName="Tooltip",V.defaultProps={placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var D=N.a=V},"3TkU":function(B,N,r){r("aTJb"),r("OlYY"),r("fc+c"),r("QUw5"),r("Swgg"),r("LBfv"),r("noeP")},"3X6L":function(B,N,r){var y=r("bYtY"),m=r("7a+S"),C=r("OKJ2"),p=m.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:[]}});y.mixin(p,C);var g=p;B.exports=g},"3dVZ":function(B,N,r){},"3e3G":function(B,N,r){var y=r("bYtY"),m=r("QuXc"),C=function(h,c,o,n,t){this.x=h==null?.5:h,this.y=c==null?.5:c,this.r=o==null?.5:o,this.type="radial",this.global=t||!1,m.call(this,n)};C.prototype={constructor:C},y.inherits(C,m);var p=C;B.exports=p},"3gBT":function(B,N){var r=2311;function y(){return r++}B.exports=y},"3hzK":function(B,N){var r={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")}}};B.exports=r},"3m61":function(B,N){function r(m){return m instanceof Array||(m=[m,m]),m}function y(m){m.eachSeriesByType("graph",function(C){var p=C.getGraph(),g=C.getEdgeData(),h=r(C.get("edgeSymbol")),c=r(C.get("edgeSymbolSize")),o="lineStyle.color".split("."),n="lineStyle.opacity".split(".");g.setVisual("fromSymbol",h&&h[0]),g.setVisual("toSymbol",h&&h[1]),g.setVisual("fromSymbolSize",c&&c[0]),g.setVisual("toSymbolSize",c&&c[1]),g.setVisual("color",C.get(o)),g.setVisual("opacity",C.get(n)),g.each(function(t){var a=g.getItemModel(t),d=p.getEdgeByIndex(t),i=r(a.getShallow("symbol",!0)),l=r(a.getShallow("symbolSize",!0)),e=a.get(o),s=a.get(n);switch(e){case"source":e=d.node1.getVisual("color");break;case"target":e=d.node2.getVisual("color");break}i[0]&&d.setVisual("fromSymbol",i[0]),i[1]&&d.setVisual("toSymbol",i[1]),l[0]&&d.setVisual("fromSymbolSize",l[0]),l[1]&&d.setVisual("toSymbolSize",l[1]),d.setVisual("color",e),d.setVisual("opacity",s)})})}B.exports=y},"3ouR":function(B,N,r){"use strict";var y=r("VTBJ"),m=r("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"},p=C,g=r("6VBw"),h=function(n,t){return m.createElement(g.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};h.displayName="CloseSquareOutlined";var c=N.a=m.forwardRef(h)},"3zoK":function(B,N,r){var y=r("bYtY"),m=r("bLfw"),C=r("KCsZ"),p=r("nkfE"),g=r("OELB"),h=r("ICMv"),c=m.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(a){var d=this.activeIntervals=y.clone(a);if(d)for(var i=d.length-1;i>=0;i--)g.asc(d[i])},getActiveState:function(a){var d=this.activeIntervals;if(!d.length)return"normal";if(a==null||isNaN(a))return"inactive";if(d.length===1){var i=d[0];if(i[0]<=a&&a<=i[1])return"active"}else for(var l=0,e=d.length;l<e;l++)if(d[l][0]<=a&&a<=d[l][1])return"active";return"inactive"}}),o={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};y.merge(c.prototype,h);function n(a,d){return d.type||(d.data?"category":"value")}p("parallel",c,n,o);var t=c;B.exports=t},"4Feb":function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("bYtY"),p=r("IwbS"),g=r("x3X8"),h=g.getDefaultLabel,c=r("MwEJ"),o=r("nVfU"),n=o.getLayoutOnAxis,t=r("gPAo"),a=r("T4UG"),d=r("Qxkt"),i=r("6Ic6"),l=r("sK/D"),e=l.createClipPath,s=r("qj72"),u=r("ANjR"),f=r("MHtr"),A=r("6usn"),v=r("Rx6q"),x=p.CACHED_LABEL_STYLE_PROPERTIES,b=["itemStyle"],w=["emphasis","itemStyle"],_=["label"],T=["emphasis","label"],S="e\0\0",E={cartesian2d:s,geo:u,singleAxis:f,polar:A,calendar:v};a.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($,pe){return c(this.getSource(),this)},getDataParams:function($,pe,xe){var _e=a.prototype.getDataParams.apply(this,arguments);return xe&&(_e.info=xe.info),_e}}),i.extend({type:"custom",_data:null,render:function($,pe,xe,_e){var Ue=this._data,ye=$.getData(),Be=this.group,Q=k($,ye,pe,xe);ye.diff(Ue).add(function(Ve){P(null,Ve,Q(Ve,_e),$,Be,ye)}).update(function(Ve,J){var W=Ue.getItemGraphicEl(J);P(W,Ve,Q(Ve,_e),$,Be,ye)}).remove(function(Ve){var J=Ue.getItemGraphicEl(Ve);J&&Be.remove(J)}).execute();var ie=$.get("clip",!0)?e($.coordinateSystem,!1,$):null;ie?Be.setClipPath(ie):Be.removeClipPath(),this._data=ye},incrementalPrepareRender:function($,pe,xe){this.group.removeAll(),this._data=null},incrementalRender:function($,pe,xe,_e,Ue){var ye=pe.getData(),Be=k(pe,ye,xe,_e);function Q(J){J.isGroup||(J.incremental=!0,J.useHoverLayer=!0)}for(var ie=$.start;ie<$.end;ie++){var Ve=P(null,ie,Be(ie,Ue),pe,this.group,ye);Ve.traverse(Q)}},dispose:C.noop,filterForExposedEvent:function($,pe,xe,_e){var Ue=pe.element;if(Ue==null||xe.name===Ue)return!0;for(;(xe=xe.parent)&&xe!==this.group;)if(xe.name===Ue)return!0;return!1}});function I($){var pe=$.type,xe;if(pe==="path"){var _e=$.shape,Ue=_e.width!=null&&_e.height!=null?{x:_e.x||0,y:_e.y||0,width:_e.width,height:_e.height}:null,ye=Z(_e);xe=p.makePath(ye,null,Ue,_e.layout||"center"),xe.__customPathData=ye}else if(pe==="image")xe=new p.Image({}),xe.__customImagePath=$.style.image;else if(pe==="text")xe=new p.Text({}),xe.__customText=$.style.text;else if(pe==="group")xe=new p.Group;else{if(pe==="compoundPath")throw new Error('"compoundPath" is not supported yet.');var Be=p.getShapeClass(pe);xe=new Be}return xe.__customGraphicType=pe,xe.name=$.name,xe}function O($,pe,xe,_e,Ue,ye,Be){var Q={},ie=xe.style||{};if(xe.shape&&(Q.shape=C.clone(xe.shape)),xe.position&&(Q.position=xe.position.slice()),xe.scale&&(Q.scale=xe.scale.slice()),xe.origin&&(Q.origin=xe.origin.slice()),xe.rotation&&(Q.rotation=xe.rotation),$.type==="image"&&xe.style){var Ve=Q.style={};C.each(["x","y","width","height"],function(j){F(j,Ve,ie,$.style,ye)})}if($.type==="text"&&xe.style){var Ve=Q.style={};C.each(["x","y"],function(Y){F(Y,Ve,ie,$.style,ye)}),!ie.hasOwnProperty("textFill")&&ie.fill&&(ie.textFill=ie.fill),!ie.hasOwnProperty("textStroke")&&ie.stroke&&(ie.textStroke=ie.stroke)}if($.type!=="group"&&($.useStyle(ie),ye)){$.style.opacity=0;var J=ie.opacity;J==null&&(J=1),p.initProps($,{style:{opacity:J}},_e,pe)}ye?$.attr(Q):p.updateProps($,Q,_e,pe),xe.hasOwnProperty("z2")&&$.attr("z2",xe.z2||0),xe.hasOwnProperty("silent")&&$.attr("silent",xe.silent),xe.hasOwnProperty("invisible")&&$.attr("invisible",xe.invisible),xe.hasOwnProperty("ignore")&&$.attr("ignore",xe.ignore),xe.hasOwnProperty("info")&&$.attr("info",xe.info);var W=xe.styleEmphasis;p.setElementHoverStyle($,W),Be&&p.setAsHighDownDispatcher($,W!==!1)}function F($,pe,xe,_e,Ue){xe[$]!=null&&!Ue&&(pe[$]=xe[$],xe[$]=_e[$])}function k($,pe,xe,_e){var Ue=$.get("renderItem"),ye=$.coordinateSystem,Be={};ye&&(Be=ye.prepareCustoms?ye.prepareCustoms():E[ye.type](ye));var Q=C.defaults({getWidth:_e.getWidth,getHeight:_e.getHeight,getZr:_e.getZr,getDevicePixelRatio:_e.getDevicePixelRatio,value:Le,style:Ee,styleEmphasis:ne,visual:ge,barLayout:Ie,currentSeriesIndices:Ge,font:ut},Be.api||{}),ie={context:{},seriesId:$.id,seriesName:$.name,seriesIndex:$.seriesIndex,coordSys:Be.coordSys,dataInsideLength:pe.count(),encode:M($.getData())},Ve,J=!0,W,j,Y,me;return function(wt,Pe){return Ve=wt,J=!0,Ue&&Ue(C.defaults({dataIndexInside:wt,dataIndex:pe.getRawIndex(wt),actionType:Pe?Pe.type:null},ie),Q)};function ae(wt){wt==null&&(wt=Ve),J&&(W=pe.getItemModel(wt),j=W.getModel(_),Y=W.getModel(T),me=pe.getItemVisual(wt,"color"),J=!1)}function Le(wt,Pe){return Pe==null&&(Pe=Ve),pe.get(pe.getDimension(wt||0),Pe)}function Ee(wt,Pe){Pe==null&&(Pe=Ve),ae(Pe);var Dt=W.getModel(b).getItemStyle();me!=null&&(Dt.fill=me);var et=pe.getItemVisual(Pe,"opacity");et!=null&&(Dt.opacity=et);var _t=wt?K(wt,j):j;return p.setTextStyle(Dt,_t,null,{autoColor:me,isRectText:!0}),Dt.text=_t.getShallow("show")?C.retrieve2($.getFormattedLabel(Pe,"normal"),h(pe,Pe)):null,wt&&G(Dt,wt),Dt}function ne(wt,Pe){Pe==null&&(Pe=Ve),ae(Pe);var Dt=W.getModel(w).getItemStyle(),et=wt?K(wt,Y):Y;return p.setTextStyle(Dt,et,null,{isRectText:!0},!0),Dt.text=et.getShallow("show")?C.retrieve3($.getFormattedLabel(Pe,"emphasis"),$.getFormattedLabel(Pe,"normal"),h(pe,Pe)):null,wt&&G(Dt,wt),Dt}function ge(wt,Pe){return Pe==null&&(Pe=Ve),pe.getItemVisual(Pe,wt)}function Ie(wt){if(ye.getBaseAxis){var Pe=ye.getBaseAxis();return n(C.defaults({axis:Pe},wt),_e)}}function Ge(){return xe.getCurrentSeriesIndices()}function ut(wt){return p.getFont(wt,xe)}}function M($){var pe={};return C.each($.dimensions,function(xe,_e){var Ue=$.getDimensionInfo(xe);if(!Ue.isExtraCoord){var ye=Ue.coordDim,Be=pe[ye]=pe[ye]||[];Be[Ue.coordDimIndex]=_e}}),pe}function P($,pe,xe,_e,Ue,ye){return $=V($,pe,xe,_e,Ue,ye,!0),$&&ye.setItemGraphicEl(pe,$),$}function V($,pe,xe,_e,Ue,ye,Be){var Q=!xe;xe=xe||{};var ie=xe.type,Ve=xe.shape,J=xe.style;if($&&(Q||ie!=null&&ie!==$.__customGraphicType||ie==="path"&&ee(Ve)&&Z(Ve)!==$.__customPathData||ie==="image"&&Se(J,"image")&&J.image!==$.__customImagePath||ie==="text"&&Se(Ve,"text")&&J.text!==$.__customText)&&(Ue.remove($),$=null),Q)return;var W=!$;return!$&&($=I(xe)),O($,pe,xe,_e,ye,W,Be),ie==="group"&&D($,pe,xe,_e,ye),Ue.add($),$}function D($,pe,xe,_e,Ue){var ye=xe.children,Be=ye?ye.length:0,Q=xe.$mergeChildren,ie=Q==="byName"||xe.diffChildrenByName,Ve=Q===!1;if(!Be&&!ie&&!Ve)return;if(ie){H({oldChildren:$.children()||[],newChildren:ye||[],dataIndex:pe,animatableModel:_e,group:$,data:Ue});return}Ve&&$.removeAll();for(var J=0;J<Be;J++)ye[J]&&V($.childAt(J),pe,ye[J],_e,$,Ue)}function H($){new t($.oldChildren,$.newChildren,U,U,$).add(z).update(z).remove(X).execute()}function U($,pe){var xe=$&&$.name;return xe!=null?xe:S+pe}function z($,pe){var xe=this.context,_e=$!=null?xe.newChildren[$]:null,Ue=pe!=null?xe.oldChildren[pe]:null;V(Ue,xe.dataIndex,_e,xe.animatableModel,xe.group,xe.data)}function K($,pe){var xe=new d({},pe);return C.each(x,function(_e,Ue){$.hasOwnProperty(_e)&&(xe.option[Ue]=$[_e])}),xe}function G($,pe){for(var xe in pe)(pe.hasOwnProperty(xe)||!x.hasOwnProperty(xe))&&($[xe]=pe[xe])}function X($){var pe=this.context,xe=pe.oldChildren[$];xe&&pe.group.remove(xe)}function Z($){return $&&($.pathData||$.d)}function ee($){return $&&($.hasOwnProperty("pathData")||$.hasOwnProperty("d"))}function Se($,pe){return $&&$.hasOwnProperty(pe)}},"4HMb":function(B,N,r){var y=r("bYtY"),m=r("6GrX"),C=r("4NO4"),p=C.makeInner,g=r("aX7z"),h=g.makeLabelFormatter,c=g.getOptionCategoryInterval,o=g.shouldShowAllLabels,n=p();function t(_){return _.type==="category"?d(_):e(_)}function a(_,T){return _.type==="category"?l(_,T):{ticks:_.scale.getTicks()}}function d(_){var T=_.getLabelModel(),S=i(_,T);return!T.get("show")||_.scale.isBlank()?{labels:[],labelCategoryInterval:S.labelCategoryInterval}:S}function i(_,T){var S=s(_,"labels"),E=c(T),I=u(S,E);if(I)return I;var O,F;return y.isFunction(E)?O=w(_,E):(F=E==="auto"?A(_):E,O=b(_,F)),f(S,E,{labels:O,labelCategoryInterval:F})}function l(_,T){var S=s(_,"ticks"),E=c(T),I=u(S,E);if(I)return I;var O,F;if((!T.get("show")||_.scale.isBlank())&&(O=[]),y.isFunction(E))O=w(_,E,!0);else if(E==="auto"){var k=i(_,_.getLabelModel());F=k.labelCategoryInterval,O=y.map(k.labels,function(M){return M.tickValue})}else F=E,O=b(_,F,!0);return f(S,E,{ticks:O,tickCategoryInterval:F})}function e(_){var T=_.scale.getTicks(),S=h(_);return{labels:y.map(T,function(E,I){return{formattedLabel:S(E,I),rawLabel:_.scale.getLabel(E),tickValue:E}})}}function s(_,T){return n(_)[T]||(n(_)[T]=[])}function u(_,T){for(var S=0;S<_.length;S++)if(_[S].key===T)return _[S].value}function f(_,T,S){return _.push({key:T,value:S}),S}function A(_){var T=n(_).autoInterval;return T!=null?T:n(_).autoInterval=_.calculateCategoryInterval()}function v(_){var T=x(_),S=h(_),E=(T.axisRotate-T.labelRotate)/180*Math.PI,I=_.scale,O=I.getExtent(),F=I.count();if(O[1]-O[0]<1)return 0;var k=1;F>40&&(k=Math.max(1,Math.floor(F/40)));for(var M=O[0],P=_.dataToCoord(M+1)-_.dataToCoord(M),V=Math.abs(P*Math.cos(E)),D=Math.abs(P*Math.sin(E)),H=0,U=0;M<=O[1];M+=k){var z=0,K=0,G=m.getBoundingRect(S(M),T.font,"center","top");z=G.width*1.3,K=G.height*1.3,H=Math.max(H,z,7),U=Math.max(U,K,7)}var X=H/V,Z=U/D;isNaN(X)&&(X=Infinity),isNaN(Z)&&(Z=Infinity);var ee=Math.max(0,Math.floor(Math.min(X,Z))),Se=n(_.model),$=_.getExtent(),pe=Se.lastAutoInterval,xe=Se.lastTickCount;return pe!=null&&xe!=null&&Math.abs(pe-ee)<=1&&Math.abs(xe-F)<=1&&pe>ee&&Se.axisExtend0===$[0]&&Se.axisExtend1===$[1]?ee=pe:(Se.lastTickCount=F,Se.lastAutoInterval=ee,Se.axisExtend0=$[0],Se.axisExtend1=$[1]),ee}function x(_){var T=_.getLabelModel();return{axisRotate:_.getRotate?_.getRotate():_.isHorizontal&&!_.isHorizontal()?90:0,labelRotate:T.get("rotate")||0,font:T.getFont()}}function b(_,T,S){var E=h(_),I=_.scale,O=I.getExtent(),F=_.getLabelModel(),k=[],M=Math.max((T||0)+1,1),P=O[0],V=I.count();P!==0&&M>1&&V/M>2&&(P=Math.round(Math.ceil(P/M)*M));var D=o(_),H=F.get("showMinLabel")||D,U=F.get("showMaxLabel")||D;H&&P!==O[0]&&K(O[0]);for(var z=P;z<=O[1];z+=M)K(z);U&&z-M!==O[1]&&K(O[1]);function K(G){k.push(S?G:{formattedLabel:E(G),rawLabel:I.getLabel(G),tickValue:G})}return k}function w(_,T,S){var E=_.scale,I=h(_),O=[];return y.each(E.getTicks(),function(F){var k=E.getLabel(F);T(F,k)&&O.push(S?F:{formattedLabel:I(F),rawLabel:k,tickValue:F})}),O}N.createAxisLabels=t,N.createAxisTicks=a,N.calculateCategoryInterval=v},"4NO4":function(B,N,r){var y=r("bYtY"),m=r("ItGF"),C=y.each,p=y.isObject,g=y.isArray,h="series\0";function c(S){return S instanceof Array?S:S==null?[]:[S]}function o(S,E,I){if(S){S[E]=S[E]||{},S.emphasis=S.emphasis||{},S.emphasis[E]=S.emphasis[E]||{};for(var O=0,F=I.length;O<F;O++){var k=I[O];!S.emphasis[E].hasOwnProperty(k)&&S[E].hasOwnProperty(k)&&(S.emphasis[E][k]=S[E][k])}}}var n=["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 t(S){return p(S)&&!g(S)&&!(S instanceof Date)?S.value:S}function a(S){return p(S)&&!(S instanceof Array)}function d(S,E){E=(E||[]).slice();var I=y.map(S||[],function(O,F){return{exist:O}});return C(E,function(O,F){if(!p(O))return;for(var k=0;k<I.length;k++)if(!I[k].option&&O.id!=null&&I[k].exist.id===O.id+""){I[k].option=O,E[F]=null;return}for(var k=0;k<I.length;k++){var M=I[k].exist;if(!I[k].option&&(M.id==null||O.id==null)&&O.name!=null&&!e(O)&&!e(M)&&M.name===O.name+""){I[k].option=O,E[F]=null;return}}}),C(E,function(O,F){if(!p(O))return;for(var k=0;k<I.length;k++){var M=I[k].exist;if(!I[k].option&&!e(M)&&O.id==null){I[k].option=O;break}}k>=I.length&&I.push({option:O})}),I}function i(S){var E=y.createHashMap();C(S,function(I,O){var F=I.exist;F&&E.set(F.id,I)}),C(S,function(I,O){var F=I.option;y.assert(!F||F.id==null||!E.get(F.id)||E.get(F.id)===I,"id duplicates: "+(F&&F.id)),F&&F.id!=null&&E.set(F.id,I),!I.keyInfo&&(I.keyInfo={})}),C(S,function(I,O){var F=I.exist,k=I.option,M=I.keyInfo;if(!p(k))return;if(M.name=k.name!=null?k.name+"":F?F.name:h+O,F)M.id=F.id;else if(k.id!=null)M.id=k.id+"";else{var P=0;do M.id="\0"+M.name+"\0"+P++;while(E.get(M.id))}E.set(M.id,I)})}function l(S){var E=S.name;return!!(E&&E.indexOf(h))}function e(S){return p(S)&&S.id&&(S.id+"").indexOf("\0_ec_\0")===0}function s(S,E){var I={},O={};return F(S||[],I),F(E||[],O,I),[k(I),k(O)];function F(M,P,V){for(var D=0,H=M.length;D<H;D++)for(var U=M[D].seriesId,z=c(M[D].dataIndex),K=V&&V[U],G=0,X=z.length;G<X;G++){var Z=z[G];K&&K[Z]?K[Z]=null:(P[U]||(P[U]={}))[Z]=1}}function k(M,P){var V=[];for(var D in M)if(M.hasOwnProperty(D)&&M[D]!=null)if(P)V.push(+D);else{var H=k(M[D],!0);H.length&&V.push({seriesId:D,dataIndex:H})}return V}}function u(S,E){if(E.dataIndexInside!=null)return E.dataIndexInside;if(E.dataIndex!=null)return y.isArray(E.dataIndex)?y.map(E.dataIndex,function(I){return S.indexOfRawIndex(I)}):S.indexOfRawIndex(E.dataIndex);if(E.name!=null)return y.isArray(E.name)?y.map(E.name,function(I){return S.indexOfName(I)}):S.indexOfName(E.name)}function f(){var S="__\0ec_inner_"+A+++"_"+Math.random().toFixed(5);return function(E){return E[S]||(E[S]={})}}var A=0;function v(S,E,I){if(y.isString(E)){var O={};O[E+"Index"]=0,E=O}var F=I&&I.defaultMainType;F&&!x(E,F+"Index")&&!x(E,F+"Id")&&!x(E,F+"Name")&&(E[F+"Index"]=0);var k={};return C(E,function(M,P){var M=E[P];if(P==="dataIndex"||P==="dataIndexInside"){k[P]=M;return}var V=P.match(/^(\w+)(Index|Id|Name)$/)||[],D=V[1],H=(V[2]||"").toLowerCase();if(!D||!H||M==null||H==="index"&&M==="none"||I&&I.includeMainTypes&&y.indexOf(I.includeMainTypes,D)<0)return;var U={mainType:D};(H!=="index"||M!=="all")&&(U[H]=M);var z=S.queryComponents(U);k[D+"Models"]=z,k[D+"Model"]=z[0]}),k}function x(S,E){return S&&S.hasOwnProperty(E)}function b(S,E,I){S.setAttribute?S.setAttribute(E,I):S[E]=I}function w(S,E){return S.getAttribute?S.getAttribute(E):S[E]}function _(S){return S==="auto"?m.domSupported?"html":"richText":S||"html"}function T(S,E){var I=y.createHashMap(),O=[];return y.each(S,function(F){var k=E(F);(I.get(k)||(O.push(k),I.set(k,[]))).push(F)}),{keys:O,buckets:I}}N.normalizeToArray=c,N.defaultEmphasis=o,N.TEXT_STYLE_OPTIONS=n,N.getDataItemValue=t,N.isDataItemOption=a,N.mappingToExists=d,N.makeIdAndName=i,N.isNameSpecified=l,N.isIdInner=e,N.compressBatches=s,N.queryDataIndex=u,N.makeInner=f,N.parseFinder=v,N.setAttribute=b,N.getAttribute=w,N.getTooltipRenderMode=_,N.groupData=T},"4NgU":function(B,N,r){var y=r("Yl7c");function m(p){this._setting=p||{},this._extent=[Infinity,-Infinity],this._interval=0,this.init&&this.init.apply(this,arguments)}m.prototype.parse=function(p){return p},m.prototype.getSetting=function(p){return this._setting[p]},m.prototype.contain=function(p){var g=this._extent;return p>=g[0]&&p<=g[1]},m.prototype.normalize=function(p){var g=this._extent;return g[1]===g[0]?.5:(p-g[0])/(g[1]-g[0])},m.prototype.scale=function(p){var g=this._extent;return p*(g[1]-g[0])+g[0]},m.prototype.unionExtent=function(p){var g=this._extent;p[0]<g[0]&&(g[0]=p[0]),p[1]>g[1]&&(g[1]=p[1])},m.prototype.unionExtentFromData=function(p,g){this.unionExtent(p.getApproximateExtent(g))},m.prototype.getExtent=function(){return this._extent.slice()},m.prototype.setExtent=function(p,g){var h=this._extent;isNaN(p)||(h[0]=p),isNaN(g)||(h[1]=g)},m.prototype.isBlank=function(){return this._isBlank},m.prototype.setBlank=function(p){this._isBlank=p},m.prototype.getLabel=null,y.enableClassExtend(m),y.enableClassManagement(m,{registerWhenExtend:!0});var C=m;B.exports=C},"4fz+":function(B,N,r){var y=r("bYtY"),m=r("1bdT"),C=r("mFDi"),p=function(c){c=c||{},m.call(this,c);for(var o in c)c.hasOwnProperty(o)&&(this[o]=c[o]);this._children=[],this.__storage=null,this.__dirty=!0};p.prototype={constructor:p,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(c){return this._children[c]},childOfName:function(c){for(var o=this._children,n=0;n<o.length;n++)if(o[n].name===c)return o[n]},childCount:function(){return this._children.length},add:function(c){return c&&c!==this&&c.parent!==this&&(this._children.push(c),this._doAdd(c)),this},addBefore:function(c,o){if(c&&c!==this&&c.parent!==this&&o&&o.parent===this){var n=this._children,t=n.indexOf(o);t>=0&&(n.splice(t,0,c),this._doAdd(c))}return this},_doAdd:function(c){c.parent&&c.parent.remove(c),c.parent=this;var o=this.__storage,n=this.__zr;o&&o!==c.__storage&&(o.addToStorage(c),c instanceof p&&c.addChildrenToStorage(o)),n&&n.refresh()},remove:function(c){var o=this.__zr,n=this.__storage,t=this._children,a=y.indexOf(t,c);return a<0?this:(t.splice(a,1),c.parent=null,n&&(n.delFromStorage(c),c instanceof p&&c.delChildrenFromStorage(n)),o&&o.refresh(),this)},removeAll:function(){var c=this._children,o=this.__storage,n,t;for(t=0;t<c.length;t++)n=c[t],o&&(o.delFromStorage(n),n instanceof p&&n.delChildrenFromStorage(o)),n.parent=null;return c.length=0,this},eachChild:function(c,o){for(var n=this._children,t=0;t<n.length;t++){var a=n[t];c.call(o,a,t)}return this},traverse:function(c,o){for(var n=0;n<this._children.length;n++){var t=this._children[n];c.call(o,t),t.type==="group"&&t.traverse(c,o)}return this},addChildrenToStorage:function(c){for(var o=0;o<this._children.length;o++){var n=this._children[o];c.addToStorage(n),n instanceof p&&n.addChildrenToStorage(c)}},delChildrenFromStorage:function(c){for(var o=0;o<this._children.length;o++){var n=this._children[o];c.delFromStorage(n),n instanceof p&&n.delChildrenFromStorage(c)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(c){for(var o=null,n=new C(0,0,0,0),t=c||this._children,a=[],d=0;d<t.length;d++){var i=t[d];if(i.ignore||i.invisible)continue;var l=i.getBoundingRect(),e=i.getLocalTransform(a);e?(n.copy(l),n.applyTransform(e),o=o||n.clone(),o.union(n)):(o=o||l.clone(),o.union(l))}return o||n}},y.inherits(p,m);var g=p;B.exports=g},"4i/N":function(B,N,r){"use strict";var y=r("VTBJ"),m=r("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"},p=C,g=r("6VBw"),h=function(n,t){return m.createElement(g.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};h.displayName="CloseOutlined";var c=N.a=m.forwardRef(h)},"4mN7":function(B,N,r){var y=r("QBsz"),m=r("Sj9i"),C=Math.min,p=Math.max,g=Math.sin,h=Math.cos,c=Math.PI*2,o=y.create(),n=y.create(),t=y.create();function a(f,A,v){if(f.length===0)return;var x=f[0],b=x[0],w=x[0],_=x[1],T=x[1],S;for(S=1;S<f.length;S++)x=f[S],b=C(b,x[0]),w=p(w,x[0]),_=C(_,x[1]),T=p(T,x[1]);A[0]=b,A[1]=_,v[0]=w,v[1]=T}function d(f,A,v,x,b,w){b[0]=C(f,v),b[1]=C(A,x),w[0]=p(f,v),w[1]=p(A,x)}var i=[],l=[];function e(f,A,v,x,b,w,_,T,S,E){var I=m.cubicExtrema,O=m.cubicAt,F,k=I(f,v,b,_,i);for(S[0]=Infinity,S[1]=Infinity,E[0]=-Infinity,E[1]=-Infinity,F=0;F<k;F++){var M=O(f,v,b,_,i[F]);S[0]=C(M,S[0]),E[0]=p(M,E[0])}for(k=I(A,x,w,T,l),F=0;F<k;F++){var P=O(A,x,w,T,l[F]);S[1]=C(P,S[1]),E[1]=p(P,E[1])}S[0]=C(f,S[0]),E[0]=p(f,E[0]),S[0]=C(_,S[0]),E[0]=p(_,E[0]),S[1]=C(A,S[1]),E[1]=p(A,E[1]),S[1]=C(T,S[1]),E[1]=p(T,E[1])}function s(f,A,v,x,b,w,_,T){var S=m.quadraticExtremum,E=m.quadraticAt,I=p(C(S(f,v,b),1),0),O=p(C(S(A,x,w),1),0),F=E(f,v,b,I),k=E(A,x,w,O);_[0]=C(f,b,F),_[1]=C(A,w,k),T[0]=p(f,b,F),T[1]=p(A,w,k)}function u(f,A,v,x,b,w,_,T,S){var E=y.min,I=y.max,O=Math.abs(b-w);if(O%c<1e-4&&O>1e-4){T[0]=f-v,T[1]=A-x,S[0]=f+v,S[1]=A+x;return}if(o[0]=h(b)*v+f,o[1]=g(b)*x+A,n[0]=h(w)*v+f,n[1]=g(w)*x+A,E(T,o,n),I(S,o,n),b=b%c,b<0&&(b=b+c),w=w%c,w<0&&(w=w+c),b>w&&!_?w+=c:b<w&&_&&(b+=c),_){var F=w;w=b,b=F}for(var k=0;k<w;k+=Math.PI/2)k>b&&(t[0]=h(k)*v+f,t[1]=g(k)*x+A,E(T,t,T),I(S,t,S))}N.fromPoints=a,N.fromLine=d,N.fromCubic=e,N.fromQuadratic=s,N.fromArc=u},"4vCz":function(B,N,r){"use strict";var y=r("284h"),m=r("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var C=m(r("3tO9")),p=y(r("q1tI")),g=m(r("X2/X")),h=m(r("KQxl")),c=function(t,a){return p.createElement(h.default,(0,C.default)((0,C.default)({},t),{},{ref:a,icon:g.default}))};c.displayName="PlusSquareOutlined";var o=p.forwardRef(c);N.default=o},"4xFK":function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"};N.default=y},"56rv":function(B,N,r){var y=r("IwbS"),m=r("x3X8"),C=m.getDefaultLabel;function p(h,c,o,n,t,a,d){var i=o.getModel("label"),l=o.getModel("emphasis.label");y.setLabelStyle(h,c,i,l,{labelFetcher:t,labelDataIndex:a,defaultText:C(t.getData(),a),isRectText:!0,autoColor:n}),g(h),g(c)}function g(h,c){h.textPosition==="outside"&&(h.textPosition=c)}N.setLabel=p},"59Ip":function(B,N,r){var y=r("Sj9i");function m(C,p,g,h,c,o,n,t,a,d,i){if(a===0)return!1;var l=a;if(i>p+l&&i>h+l&&i>o+l&&i>t+l||i<p-l&&i<h-l&&i<o-l&&i<t-l||d>C+l&&d>g+l&&d>c+l&&d>n+l||d<C-l&&d<g-l&&d<c-l&&d<n-l)return!1;var e=y.cubicProjectPoint(C,p,g,h,c,o,n,t,d,i,null);return e<=l/2}N.containStroke=m},"5Dmo":function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("5YgA"),p=r.n(C)},"5GOC":function(B,N,r){"use strict";var y=r("cIOH"),m=r("b56q"),C=r("15/o")},"5GhG":function(B,N,r){var y=r("5GtS"),m=r("bYtY"),C=r("L0Ub"),p=C.getDimensionTypeByAxis,g=r("D5nY"),h=g.makeSeriesEncodeForAxisCoordSys,c={_baseAxisDim:null,getInitialData:function(o,n){var t,a=n.getComponent("xAxis",this.get("xAxisIndex")),d=n.getComponent("yAxis",this.get("yAxisIndex")),i=a.get("type"),l=d.get("type"),e;i==="category"?(o.layout="horizontal",t=a.getOrdinalMeta(),e=!0):l==="category"?(o.layout="vertical",t=d.getOrdinalMeta(),e=!0):o.layout=o.layout||"horizontal";var s=["x","y"],u=o.layout==="horizontal"?0:1,f=this._baseAxisDim=s[u],A=s[1-u],v=[a,d],x=v[u].get("type"),b=v[1-u].get("type"),w=o.data;if(w&&e){var _=[];m.each(w,function(E,I){var O;E.value&&m.isArray(E.value)?(O=E.value.slice(),E.value.unshift(I)):m.isArray(E)?(O=E.slice(),E.unshift(I)):O=E,_.push(O)}),o.data=_}var T=this.defaultValueDimensions,S=[{name:f,type:p(x),ordinalMeta:t,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:A,type:p(b),dimsDef:T.slice()}];return y(this,{coordDimensions:S,dimensionsCount:T.length+1,encodeDefaulter:m.curry(h,S,this)})},getBaseAxis:function(){var o=this._baseAxisDim;return this.ecModel.getComponent(o+"Axis",this.get(o+"AxisIndex")).axis}};N.seriesModelMixin=c},"5GtS":function(B,N,r){var y=r("sdST"),m=r("YXkt"),C=r("bYtY"),p=C.extend,g=C.isArray;function h(c,o,n){o=g(o)&&{coordDimensions:o}||p({},o);var t=c.getSource(),a=y(t,o),d=new m(a,c);return d.initData(t,n),d}B.exports=h},"5Hur":function(B,N,r){var y=r("4NO4"),m=y.makeInner,C=y.normalizeToArray,p=m();function g(c,o){for(var n=c.length,t=0;t<n;t++)if(c[t].length>o)return c[t];return c[n-1]}var h={clearColorPalette:function(){p(this).colorIdx=0,p(this).colorNameMap={}},getColorFromPalette:function(c,o,n){o=o||this;var t=p(o),a=t.colorIdx||0,d=t.colorNameMap=t.colorNameMap||{};if(d.hasOwnProperty(c))return d[c];var i=C(this.get("color",!0)),l=this.get("colorLayer",!0),e=n==null||!l?i:g(l,n);if(e=e||i,!e||!e.length)return;var s=e[a];return c&&(d[c]=s),t.colorIdx=(a+1)%e.length,s}};B.exports=h},"5NDa":function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("OnYD"),p=r.n(C),g=r("+L6B")},"5NHt":function(B,N,r){r("aTJb"),r("OlYY"),r("fc+c"),r("N5BQ"),r("IyUQ"),r("LBfv"),r("noeP")},"5OYt":function(B,N,r){"use strict";var y=r("J4zp"),m=r.n(y),C=r("q1tI"),p=r.n(C),g=r("ACnJ");function h(){var c=Object(C.useState)({}),o=m()(c,2),n=o[0],t=o[1];return Object(C.useEffect)(function(){var a=g.a.subscribe(function(d){t(d)});return function(){return g.a.unsubscribe(a)}},[]),n}N.a=h},"5RzL":function(B,N,r){"use strict";var y=r("pVnL"),m=r.n(y),C=r("lSNA"),p=r.n(C),g=r("lwsE"),h=r.n(g),c=r("W8MJ"),o=r.n(c),n=r("7W2i"),t=r.n(n),a=r("LQ03"),d=r.n(a),i=r("q1tI"),l=r("1OyB"),e=r("vuIU"),s=r("Ji7U"),u=r("LK+K"),f=r("KQm4"),A=r("U8pU"),v=r("ODXe"),x=r("VTBJ"),b=r("qNPg"),w=r("2Qr1"),_=r("815F"),T=r("NvD2"),S=r("wPlo"),E=r("6cGi"),I=r("Kwbf"),O=r("4IlW"),F=r("YrtM"),k=r("fAei"),M=i.createContext(null);function P(rt,Et){if(!rt)return!0;var Zt=rt.data,vr=Zt.disabled,mt=Zt.disableCheckbox;switch(Et){case"select":return vr;case"checkbox":return vr||mt}return!1}function V(rt,Et){var Zt=i.useCallback(function(mt){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",le=arguments.length>2?arguments[2]:void 0,oe=rt.get(mt);return!le&&P(oe,ce)?null:oe},[rt]),vr=i.useCallback(function(mt){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",le=arguments.length>2?arguments[2]:void 0,oe=Et.get(mt);return!le&&P(oe,ce)?null:oe},[Et]);return[Zt,vr]}function D(rt){return i.useMemo(function(){var Et=new Map,Zt=new Map;return rt.forEach(function(vr){Et.set(vr.key,vr),Zt.set(vr.data.value,vr)}),[Et,Zt]},[rt])}var H={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},U=function(Et,Zt){var vr=Et.prefixCls,mt=Et.height,ce=Et.itemHeight,le=Et.virtual,oe=Et.options,fe=Et.flattenOptions,De=Et.multiple,He=Et.searchValue,je=Et.onSelect,We=Et.onToggleOpen,nt=Et.open,xt=Et.notFoundContent,It=Et.onMouseEnter,ir=i.useContext(M),Me=ir.checkable,ke=ir.checkedKeys,re=ir.halfCheckedKeys,be=ir.treeExpandedKeys,Ne=ir.treeDefaultExpandAll,Ke=ir.treeDefaultExpandedKeys,Qe=ir.onTreeExpand,ct=ir.treeIcon,Lt=ir.showTreeIcon,rr=ir.switcherIcon,dr=ir.treeLine,Pt=ir.treeNodeFilterProp,jt=ir.loadData,Ct=ir.treeLoadedKeys,Rt=ir.treeMotion,pt=ir.onTreeLoad,ot=i.useRef(),gt=Object(F.a)(function(){return oe},[nt,oe],function(On,$n){return $n[0]&&On[1]!==$n[1]}),Ye=D(fe),$e=Object(v.a)(Ye,2),Je=$e[0],it=$e[1],ft=V(Je,it),ht=Object(v.a)(ft,2),st=ht[0],kt=ht[1],Tt=i.useMemo(function(){return ke.map(function(On){var $n=kt(On);return $n?$n.key:null})},[ke]),ar=i.useMemo(function(){return Me?{checked:Tt,halfChecked:re}:null},[Tt,re,Me]);i.useEffect(function(){if(nt&&!De&&Tt.length){var On;(On=ot.current)===null||On===void 0||On.scrollTo({key:Tt[0]})}},[nt]);var Qt=String(He).toLowerCase(),Er=function($n){return Qt?String($n[Pt]).toLowerCase().includes(Qt):!1},Ir=i.useState(Ke),jr=Object(v.a)(Ir,2),zr=jr[0],hn=jr[1],gn=i.useState(null),Br=Object(v.a)(gn,2),ln=Br[0],Xr=Br[1],cr=i.useMemo(function(){return be?Object(f.a)(be):He?ln:zr},[zr,ln,Qt,be]);i.useEffect(function(){He&&Xr(fe.map(function(On){return On.key}))},[He]);var wr=function($n){hn($n),Xr($n),Qe&&Qe($n)},hr=function($n){$n.preventDefault()},Ar=function($n,Qn){var ei=Qn.node.key,zi=st(ei,Me?"checkbox":"select");zi!==null&&je(zi.data.value,{selected:!ke.includes(zi.data.value)}),De||We(!1)},kr=i.useState(null),nn=Object(v.a)(kr,2),wn=nn[0],oi=nn[1],tn=st(wn);if(i.useImperativeHandle(Zt,function(){return{onKeyDown:function($n){var Qn,ei=$n.which;switch(ei){case O.a.UP:case O.a.DOWN:case O.a.LEFT:case O.a.RIGHT:(Qn=ot.current)===null||Qn===void 0||Qn.onKeyDown($n);break;case O.a.ENTER:{tn!==null&&Ar(null,{node:{key:wn},selected:!ke.includes(tn.data.value)});break}case O.a.ESC:We(!1)}},onKeyUp:function(){}}}),gt.length===0)return i.createElement("div",{role:"listbox",className:"".concat(vr,"-empty"),onMouseDown:hr},xt);var Vn={};return Ct&&(Vn.loadedKeys=Ct),cr&&(Vn.expandedKeys=cr),i.createElement("div",{onMouseDown:hr,onMouseEnter:It},tn&&nt&&i.createElement("span",{style:H,"aria-live":"assertive"},tn.data.value),i.createElement(k.b,Object.assign({ref:ot,focusable:!1,prefixCls:"".concat(vr,"-tree"),treeData:gt,height:mt,itemHeight:ce,virtual:le,multiple:De,icon:ct,showIcon:Lt,switcherIcon:rr,showLine:dr,loadData:He?null:jt,motion:Rt,checkable:Me,checkStrictly:!0,checkedKeys:ar,selectedKeys:Me?[]:Tt,defaultExpandAll:Ne},Vn,{onActiveChange:oi,onSelect:Ar,onCheck:Ar,onExpand:wr,onLoad:pt,filterTreeNode:Er})))},z=i.forwardRef(U);z.displayName="OptionList";var K=z,G=function(){return null},X=G,Z=r("Ff2n"),ee=r("Zm9Q");function Se(rt){return Object(ee.a)(rt).map(function(Et){if(!i.isValidElement(Et)||!Et.type)return null;var Zt=Et.key,vr=Et.props,mt=vr.children,ce=vr.value,le=Object(Z.a)(vr,["children","value"]),oe=Object(x.a)({key:Zt,value:ce},le),fe=Se(mt);return fe.length&&(oe.children=fe),oe}).filter(function(Et){return Et})}function $(rt){if(!rt)return rt;var Et=Object(x.a)({},rt);return"props"in Et||Object.defineProperty(Et,"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."),Et}}),Et}function pe(rt,Et,Zt,vr,mt){var ce=null,le=null;function oe(){function fe(De){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",je=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return De.map(function(We,nt){var xt="".concat(He,"-").concat(nt),It=Zt.includes(We.value),ir=fe(We.children||[],xt,It),Me=i.createElement(X,Object.assign({},We),ir.map(function(re){return re.node}));if(Et===We.value&&(ce=Me),It){var ke={pos:xt,node:Me,children:ir};return je||le.push(ke),ke}return null}).filter(function(We){return We})}le||(le=[],fe(vr),le.sort(function(De,He){var je=De.node.props.value,We=He.node.props.value,nt=Zt.indexOf(je),xt=Zt.indexOf(We);return nt-xt}))}Object.defineProperty(rt,"triggerNode",{get:function(){return Object(I.a)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),oe(),ce}}),Object.defineProperty(rt,"allCheckedNodes",{get:function(){return Object(I.a)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),oe(),mt?le:le.map(function(De){var He=De.node;return He})}})}function xe(rt){return Array.isArray(rt)?rt:rt!==void 0?[rt]:[]}function _e(rt,Et){var Zt=new Map;return Et.forEach(function(vr){var mt=vr.data;Zt.set(mt.value,mt)}),rt.map(function(vr){return $(Zt.get(vr))})}function Ue(rt,Et){var Zt=_e([rt],Et)[0];return Zt?Zt.disabled:!1}function ye(rt){return rt.disabled||rt.disableCheckbox||rt.checkable===!1}function Be(rt){for(var Et=rt.parent,Zt=0,vr=Et;vr;)vr=vr.parent,Zt+=1;return Zt}function Q(rt){function Et(vr){return(vr||[]).map(function(mt){var ce=mt.value,le=mt.key,oe=mt.children,fe=Object(x.a)(Object(x.a)({},mt),{},{key:"key"in mt?le:ce});return oe&&(fe.children=Et(oe)),fe})}var Zt=Object(_.d)(Et(rt),!0);return Zt.map(function(vr){return{key:vr.data.key,data:vr.data,level:Be(vr)}})}function ie(rt){return function(Et,Zt){var vr=Zt[rt];return String(vr).toLowerCase().includes(String(Et).toLowerCase())}}function Ve(rt,Et,Zt){var vr=Zt.optionFilterProp,mt=Zt.filterOption;if(mt===!1)return Et;var ce;typeof mt=="function"?ce=mt:ce=ie(vr);function le(oe){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return oe.map(function(De){var He=De.children,je=fe||ce(rt,$(De)),We=le(He||[],je);return je||We.length?Object(x.a)(Object(x.a)({},De),{},{children:We}):null}).filter(function(De){return De})}return le(Et)}function J(rt,Et,Zt,vr){var mt=new Map;return xe(Et).forEach(function(ce){ce&&Object(A.a)(ce)==="object"&&"value"in ce&&mt.set(ce.value,ce)}),rt.map(function(ce){var le={value:ce},oe=Zt(ce,"select",!0),fe=oe?vr(oe.data):ce;if(mt.has(ce)){var De=mt.get(ce);le.label="label"in De?De.label:fe,"halfChecked"in De&&(le.halfChecked=De.halfChecked)}else le.label=fe;return le})}function W(rt,Et){var Zt=new Set(rt);return Zt.add(Et),Array.from(Zt)}function j(rt,Et){var Zt=new Set(rt);return Zt.delete(Et),Array.from(Zt)}function Y(rt){var Et=rt.searchPlaceholder,Zt=rt.treeCheckStrictly,vr=rt.treeCheckable,mt=rt.labelInValue,ce=rt.value,le=rt.multiple;Object(I.a)(!Et,"`searchPlaceholder` has been removed."),Zt&&mt===!1&&Object(I.a)(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(mt||Zt)&&Object(I.a)(xe(ce).every(function(oe){return oe&&Object(A.a)(oe)==="object"&&"value"in oe}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),Zt||le||vr?Object(I.a)(!ce||Array.isArray(ce),"`value` should be an array when `TreeSelect` is checkable or multiple."):Object(I.a)(!Array.isArray(ce),"`value` should not be array when `TreeSelect` is single mode.")}var me=Y,ae=10;function Le(rt,Et){var Zt=Et.id,vr=Et.pId,mt=Et.rootPId,ce={},le=[],oe=rt.map(function(fe){var De=Object(x.a)({},fe),He=De[Zt];return ce[He]=De,De.key=De.key||He,De});return oe.forEach(function(fe){var De=fe[vr],He=ce[De];He&&(He.children=He.children||[],He.children.push(fe)),(De===mt||!He&&mt===null)&&le.push(fe)}),le}function Ee(rt,Et){var Zt=0,vr=new Set;function mt(ce){return(ce||[]).map(function(le){var oe=le.key,fe=le.value,De=le.children,He=Object(Z.a)(le,["key","value","children"]),je="value"in le?fe:oe,We=Object(x.a)(Object(x.a)({},He),{},{key:oe!=null?oe:je,value:je,title:Et(le)});return"children"in le&&(We.children=mt(De)),We})}return mt(rt)}function ne(rt,Et,Zt){var vr=Zt.getLabelProp,mt=Zt.simpleMode,ce=i.useRef({});return rt?(ce.current.formatTreeData=ce.current.treeData===rt?ce.current.formatTreeData:Ee(mt?Le(rt,Object(x.a)({id:"id",pId:"pId",rootPId:null},mt!==!0?mt:{})):rt,vr),ce.current.treeData=rt):ce.current.formatTreeData=ce.current.children===Et?ce.current.formatTreeData:Ee(Se(Et),vr),ce.current.formatTreeData}var ge="SHOW_ALL",Ie="SHOW_PARENT",Ge="SHOW_CHILD";function ut(rt,Et,Zt){var vr=new Set(rt);return Et===Ge?rt.filter(function(mt){var ce=Zt[mt];return!(ce&&ce.children&&ce.children.every(function(le){var oe=le.node;return ye(oe)||vr.has(oe.key)}))}):Et===Ie?rt.filter(function(mt){var ce=Zt[mt],le=ce?ce.parent:null;return!(le&&!ye(le.node)&&vr.has(le.node.key))}):rt}function wt(rt,Et){var Zt=Et.value,vr=Et.getEntityByValue,mt=Et.getEntityByKey,ce=Et.treeConduction,le=Et.showCheckedStrategy,oe=Et.conductKeyEntities,fe=Et.getLabelProp;return i.useMemo(function(){var De=rt;if(ce){var He=ut(rt.map(function(je){var We=vr(je);return We?We.key:je}),le,oe);De=He.map(function(je){var We=mt(je);return We?We.data.value:je})}return J(De,Zt,vr,fe)},[rt,Zt,ce,le,vr])}var Pe=["expandedKeys","treeData","treeCheckable","showCheckedStrategy","searchPlaceholder","treeLine","treeIcon","showTreeIcon","switcherIcon","treeNodeFilterProp","filterTreeNode","dropdownPopupAlign","treeDefaultExpandAll","treeCheckStrictly","treeExpandedKeys","treeLoadedKeys","treeMotion","onTreeExpand","onTreeLoad","loadData","treeDataSimpleMode","treeNodeLabelProp","treeDefaultExpandedKeys"],Dt=Object(b.a)({prefixCls:"rc-tree-select",components:{optionList:K},convertChildrenToData:function(){return null},flattenOptions:Q,getLabeledValue:w.e,filterOptions:Ve,isValueDisabled:Ue,findValueOption:_e,omitDOMProps:function(Et){var Zt=Object(x.a)({},Et);return Pe.forEach(function(vr){delete Zt[vr]}),Zt}});Dt.displayName="Select";var et=i.forwardRef(function(rt,Et){var Zt=rt.multiple,vr=rt.treeCheckable,mt=rt.treeCheckStrictly,ce=rt.showCheckedStrategy,le=ce===void 0?"SHOW_CHILD":ce,oe=rt.labelInValue,fe=rt.loadData,De=rt.treeLoadedKeys,He=rt.treeNodeFilterProp,je=He===void 0?"value":He,We=rt.treeNodeLabelProp,nt=rt.treeDataSimpleMode,xt=rt.treeData,It=rt.treeExpandedKeys,ir=rt.treeDefaultExpandedKeys,Me=rt.treeDefaultExpandAll,ke=rt.children,re=rt.treeIcon,be=rt.showTreeIcon,Ne=rt.switcherIcon,Ke=rt.treeLine,Qe=rt.treeMotion,ct=rt.filterTreeNode,Lt=rt.dropdownPopupAlign,rr=rt.onChange,dr=rt.onTreeExpand,Pt=rt.onTreeLoad,jt=rt.onDropdownVisibleChange,Ct=rt.onSelect,Rt=rt.onDeselect,pt=vr||mt,ot=Zt||pt,gt=vr&&!mt,Ye=mt||oe,$e=i.useRef(null);i.useImperativeHandle(Et,function(){return{focus:$e.current.focus,blur:$e.current.blur}});var Je=function(ei){return xt&&ei.label||ei.title},it=function(ei){return We?ei[We]:Je(ei)},ft=ne(xt,ke,{getLabelProp:Je,simpleMode:nt}),ht=Object(i.useMemo)(function(){return Q(ft)},[ft]),st=D(ht),kt=Object(v.a)(st,2),Tt=kt[0],ar=kt[1],Qt=V(Tt,ar),Er=Object(v.a)(Qt,2),Ir=Er[0],jr=Er[1],zr=Object(i.useMemo)(function(){return gt?Object(_.a)(ft):{keyEntities:null}},[ft,vr,mt]),hn=zr.keyEntities,gn=Object(E.a)(rt.defaultValue,{value:rt.value}),Br=Object(v.a)(gn,2),ln=Br[0],Xr=Br[1],cr=function(ei){var zi=[],hi=[];return ei.forEach(function(Bn){jr(Bn)?hi.push(Bn):zi.push(Bn)}),{missingRawValues:zi,existRawValues:hi}},wr=Object(i.useMemo)(function(){var Qn=[],ei=[];if(xe(ln).forEach(function(Bi){if(Bi&&Object(A.a)(Bi)==="object"&&"value"in Bi)if(Bi.halfChecked&&mt){var pa=jr(Bi.value);Qn.push(pa?pa.key:Bi.value)}else ei.push(Bi.value);else ei.push(Bi)}),gt){var zi=cr(ei),hi=zi.missingRawValues,Bn=zi.existRawValues,sn=Bn.map(function(Bi){return jr(Bi).key}),ta=Object(T.a)(sn,!0,hn),ua=ta.checkedKeys,fa=ta.halfCheckedKeys;return[[].concat(Object(f.a)(hi),Object(f.a)(ua.map(function(Bi){return Ir(Bi).data.value}))),fa]}return[ei,Qn]},[ln,ot,Ye,vr,mt]),hr=Object(v.a)(wr,2),Ar=hr[0],kr=hr[1],nn=wt(Ar,{treeConduction:gt,value:ln,showCheckedStrategy:le,conductKeyEntities:hn,getEntityByValue:jr,getEntityByKey:Ir,getLabelProp:it}),wn=function(ei,zi,hi){if(Xr(ot?ei:ei[0]),rr){var Bn=ei;if(gt&&le!=="SHOW_ALL"){var sn=ei.map(function(Pn){var Yn=jr(Pn);return Yn?Yn.key:Pn}),ta=ut(sn,le,hn);Bn=ta.map(function(Pn){var Yn=Ir(Pn);return Yn?Yn.data.value:Pn})}var ua=zi||{triggerValue:void 0,selected:void 0},fa=ua.triggerValue,Bi=ua.selected,pa=Ye?J(Bn,ln,jr,it):Bn;if(mt){var ui=kr.map(function(Pn){var Yn=Ir(Pn);return Yn?Yn.data.value:Pn}).filter(function(Pn){return!Bn.includes(Pn)});pa=[].concat(Object(f.a)(pa),Object(f.a)(J(ui,ln,jr,it)))}var ba={preValue:nn,triggerValue:fa},Dn=!0;(mt||hi==="selection"&&!Bi)&&(Dn=!1),pe(ba,fa,ei,ft,Dn),pt?ba.checked=Bi:ba.selected=Bi,rr(ot?pa:pa[0],Ye?null:Bn.map(function(Pn){var Yn=jr(Pn);return Yn?it(Yn.data):null}),ba)}},oi=function(ei,zi,hi){var Bn=ei;if(!ot)wn([ei],{selected:!0,triggerValue:ei},hi);else{var sn=W(Ar,ei);if(gt){var ta=cr(sn),ua=ta.missingRawValues,fa=ta.existRawValues,Bi=fa.map(function(ba){return jr(ba).key}),pa=Object(T.a)(Bi,!0,hn),ui=pa.checkedKeys;sn=[].concat(Object(f.a)(ua),Object(f.a)(ui.map(function(ba){return Ir(ba).data.value})))}wn(sn,{selected:!0,triggerValue:ei},hi)}Ct&&Ct(Bn,zi)},tn=function(ei,zi,hi){var Bn=ei,sn=j(Ar,ei);if(gt){var ta=cr(sn),ua=ta.missingRawValues,fa=ta.existRawValues,Bi=fa.map(function(ba){return jr(ba).key}),pa=Object(T.a)(Bi,{checked:!1,halfCheckedKeys:kr},hn),ui=pa.checkedKeys;sn=[].concat(Object(f.a)(ua),Object(f.a)(ui.map(function(ba){return Ir(ba).data.value})))}wn(sn,{selected:!1,triggerValue:ei},hi),Rt&&Rt(Bn,zi)},Vn=function(){wn([],null,"clear")},On=i.useCallback(function(Qn){if(jt){var ei={};Object.defineProperty(ei,"documentClickClose",{get:function(){return Object(I.a)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),jt(Qn,ei)}},[jt]),$n={optionLabelProp:null,optionFilterProp:je,dropdownAlign:Lt,internalProps:{mark:S.a,onClear:Vn,skipTriggerChange:!0,skipTriggerSelect:!0,onRawSelect:oi,onRawDeselect:tn}};return"filterTreeNode"in rt&&($n.filterOption=ct),i.createElement(M.Provider,{value:{checkable:pt,loadData:fe,treeLoadedKeys:De,onTreeLoad:Pt,checkedKeys:Ar,halfCheckedKeys:kr,treeDefaultExpandAll:Me,treeExpandedKeys:It,treeDefaultExpandedKeys:ir,onTreeExpand:dr,treeIcon:re,treeMotion:Qe,showTreeIcon:be,switcherIcon:Ne,treeLine:Ke,treeNodeFilterProp:je}},i.createElement(Dt,Object.assign({ref:$e,mode:ot?"multiple":null},rt,$n,{value:nn,labelInValue:!0,options:ft,onChange:null,onSelect:null,onDeselect:null,onDropdownVisibleChange:On})))}),_t=function(rt){Object(s.a)(Zt,rt);var Et=Object(u.a)(Zt);function Zt(){var vr;return Object(l.a)(this,Zt),vr=Et.apply(this,arguments),vr.selectRef=i.createRef(),vr.focus=function(){vr.selectRef.current.focus()},vr.blur=function(){vr.selectRef.current.blur()},vr}return Object(e.a)(Zt,[{key:"render",value:function(){return i.createElement(et,Object.assign({ref:this.selectRef},this.props))}}]),Zt}(i.Component);_t.TreeNode=X,_t.SHOW_ALL=ge,_t.SHOW_PARENT=Ie,_t.SHOW_CHILD=Ge;var Nt=_t,Bt=Nt,Ft=r("TSYQ"),Gt=r.n(Ft),qe=r("BGR+"),we=r("H84U"),ue=r("uaoM"),vt=r("1vzs"),at=r("2jpz"),Ae=r("3Nzz"),Xt=function(rt){t()(Zt,rt);var Et=d()(Zt);function Zt(vr){var mt;return h()(this,Zt),mt=Et.call(this,vr),mt.selectRef=i.createRef(),mt.renderTreeSelect=function(ce){var le=ce.getPopupContainer,oe=ce.getPrefixCls,fe=ce.renderEmpty,De=ce.direction,He=ce.virtual,je=ce.dropdownMatchSelectWidth,We=mt.props,nt=We.prefixCls,xt=We.size,It=We.className,ir=We.treeCheckable,Me=We.multiple,ke=We.listHeight,re=ke===void 0?256:ke,be=We.listItemHeight,Ne=be===void 0?26:be,Ke=We.notFoundContent,Qe=We.switcherIcon,ct=We.treeLine,Lt=We.getPopupContainer,rr=We.dropdownClassName,dr=We.bordered,Pt=We.treeIcon,jt=Pt===void 0?!1:Pt,Ct=oe("select",nt),Rt=oe("select-tree",nt),pt=oe("tree-select",nt),ot=Gt()(rr,"".concat(pt,"-dropdown"),p()({},"".concat(pt,"-dropdown-rtl"),De==="rtl")),gt=!!(ir||Me),Ye=Object(vt.a)(m()(m()({},mt.props),{multiple:gt,prefixCls:Ct})),$e=Ye.suffixIcon,Je=Ye.itemIcon,it=Ye.removeIcon,ft=Ye.clearIcon,ht;Ke!==void 0?ht=Ke:ht=fe("Select");var st=Object(qe.default)(mt.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","size","bordered"]);return i.createElement(Ae.b.Consumer,null,function(kt){var Tt,ar=xt||kt,Qt=Gt()(!nt&&pt,(Tt={},p()(Tt,"".concat(Ct,"-lg"),ar==="large"),p()(Tt,"".concat(Ct,"-sm"),ar==="small"),p()(Tt,"".concat(Ct,"-rtl"),De==="rtl"),p()(Tt,"".concat(Ct,"-borderless"),!dr),Tt),It);return i.createElement(Bt,m()({virtual:He,dropdownMatchSelectWidth:je},st,{ref:mt.selectRef,prefixCls:Ct,className:Qt,listHeight:re,listItemHeight:Ne,treeCheckable:ir&&i.createElement("span",{className:"".concat(Ct,"-tree-checkbox-inner")}),inputIcon:$e,menuItemSelectedIcon:Je,removeIcon:it,clearIcon:ft,switcherIcon:function(Ir){return Object(at.a)(Rt,Qe,ct,Ir)},showTreeIcon:jt,notFoundContent:ht,getPopupContainer:Lt||le,treeMotion:null,dropdownClassName:ot}))})},Object(ue.a)(vr.multiple!==!1||!vr.treeCheckable,"TreeSelect","`multiple` will alway be `true` when `treeCheckable` is true"),mt}return o()(Zt,[{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 i.createElement(we.a,null,this.renderTreeSelect)}}]),Zt}(i.Component);Xt.TreeNode=X,Xt.SHOW_ALL=ge,Xt.SHOW_PARENT=Ie,Xt.SHOW_CHILD=Ge,Xt.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var Ot=N.a=Xt},"5Uyt":function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("KmBX"));function m(p){return p&&p.__esModule?p:{default:p}}var C=y;N.default=C,B.exports=C},"5YOS":function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("xb2K"));function m(p){return p&&p.__esModule?p:{default:p}}var C=y;N.default=C,B.exports=C},"5YgA":function(B,N,r){},"5bA4":function(B,N,r){"use strict";var y=r("VTBJ"),m=r("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"},p=C,g=r("6VBw"),h=function(n,t){return m.createElement(g.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};h.displayName="LeftOutlined";var c=N.a=m.forwardRef(h)},"5nXd":function(B,N,r){var y=r("MFOe"),m=y.slice,C=y.pluck,p=y.each,g=y.bind,h=y.create,c=y.isList,o=y.isFunction,n=y.isObject;B.exports={createStore:d};var t={version:"2.0.12",enabled:!1,get:function(l,e){var s=this.storage.read(this._namespacePrefix+l);return this._deserialize(s,e)},set:function(l,e){return e===void 0?this.remove(l):(this.storage.write(this._namespacePrefix+l,this._serialize(e)),e)},remove:function(l){this.storage.remove(this._namespacePrefix+l)},each:function(l){var e=this;this.storage.each(function(s,u){l.call(e,e._deserialize(s),(u||"").replace(e._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(l){return this._namespacePrefix=="__storejs_"+l+"_"},createStore:function(){return d.apply(this,arguments)},addPlugin:function(l){this._addPlugin(l)},namespace:function(l){return d(this.storage,this.plugins,l)}};function a(){var i=typeof console=="undefined"?null:console;if(!i)return;var l=i.warn?i.warn:i.log;l.apply(i,arguments)}function d(i,l,e){e||(e=""),i&&!c(i)&&(i=[i]),l&&!c(l)&&(l=[l]);var s=e?"__storejs_"+e+"_":"",u=e?new RegExp("^"+s):null,f=/^[a-zA-Z0-9_\-]*$/;if(!f.test(e))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var A={_namespacePrefix:s,_namespaceRegexp:u,_testStorage:function(b){try{var w="__storejs__test__";b.write(w,w);var _=b.read(w)===w;return b.remove(w),_}catch(T){return!1}},_assignPluginFnProp:function(b,w){var _=this[w];this[w]=function(){var S=m(arguments,0),E=this;function I(){return _?(p(arguments,function(F,k){S[k]=F}),_.apply(E,S)):void 0}var O=[I].concat(S);return b.apply(E,O)}},_serialize:function(b){return JSON.stringify(b)},_deserialize:function(b,w){if(!b)return w;var _="";try{_=JSON.parse(b)}catch(T){_=b}return _!==void 0?_:w},_addStorage:function(b){if(this.enabled)return;this._testStorage(b)&&(this.storage=b,this.enabled=!0)},_addPlugin:function(b){var w=this;if(c(b)){p(b,function(S){w._addPlugin(S)});return}var _=C(this.plugins,function(S){return b===S});if(_)return;if(this.plugins.push(b),!o(b))throw new Error("Plugins must be function values that return objects");var T=b.call(this);if(!n(T))throw new Error("Plugins must return an object of function properties");p(T,function(S,E){if(!o(S))throw new Error("Bad plugin property: "+E+" from plugin "+b.name+". Plugins should only return functions.");w._assignPluginFnProp(S,E)})},addStorage:function(b){a("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(b)}},v=h(A,t,{plugins:[]});return v.raw={},p(v,function(x,b){o(x)&&(v.raw[b]=g(v,x))}),p(i,function(x){v._addStorage(x)}),p(l,function(x){v._addPlugin(x)}),v}},"5rEg":function(B,N,r){"use strict";var y=r("pVnL"),m=r.n(y),C=r("lwsE"),p=r.n(C),g=r("W8MJ"),h=r.n(g),c=r("7W2i"),o=r.n(c),n=r("LQ03"),t=r.n(n),a=r("lSNA"),d=r.n(a),i=r("q1tI"),l=r("TSYQ"),e=r.n(l),s=r("BGR+"),u=r("kbBi"),f=r.n(u),A=r("CWQg"),v=r("0n0R"),x=Object(A.a)("text","input");function b(Y){return!!(Y.prefix||Y.suffix||Y.allowClear)}var w=function(Y){o()(ae,Y);var me=t()(ae);function ae(){var Le;return p()(this,ae),Le=me.apply(this,arguments),Le.containerRef=i.createRef(),Le.onInputMouseUp=function(Ee){var ne;if((ne=Le.containerRef.current)===null||ne===void 0?void 0:ne.contains(Ee.target)){var ge=Le.props.triggerFocus;ge()}},Le}return h()(ae,[{key:"renderClearIcon",value:function(Ee){var ne=this.props,ge=ne.allowClear,Ie=ne.value,Ge=ne.disabled,ut=ne.readOnly,wt=ne.inputType,Pe=ne.handleReset;if(!ge)return null;var Dt=!Ge&&!ut&&Ie,et=wt===x[0]?"".concat(Ee,"-textarea-clear-icon"):"".concat(Ee,"-clear-icon");return i.createElement(f.a,{onClick:Pe,className:e()(et,d()({},"".concat(et,"-hidden"),!Dt)),role:"button"})}},{key:"renderSuffix",value:function(Ee){var ne=this.props,ge=ne.suffix,Ie=ne.allowClear;return ge||Ie?i.createElement("span",{className:"".concat(Ee,"-suffix")},this.renderClearIcon(Ee),ge):null}},{key:"renderLabeledIcon",value:function(Ee,ne){var ge,Ie=this.props,Ge=Ie.focused,ut=Ie.value,wt=Ie.prefix,Pe=Ie.className,Dt=Ie.size,et=Ie.suffix,_t=Ie.disabled,Nt=Ie.allowClear,Bt=Ie.direction,Ft=Ie.style,Gt=Ie.readOnly,qe=Ie.bordered,we=this.renderSuffix(Ee);if(!b(this.props))return Object(v.a)(ne,{value:ut});var ue=wt?i.createElement("span",{className:"".concat(Ee,"-prefix")},wt):null,vt=e()(Pe,"".concat(Ee,"-affix-wrapper"),(ge={},d()(ge,"".concat(Ee,"-affix-wrapper-focused"),Ge),d()(ge,"".concat(Ee,"-affix-wrapper-disabled"),_t),d()(ge,"".concat(Ee,"-affix-wrapper-sm"),Dt==="small"),d()(ge,"".concat(Ee,"-affix-wrapper-lg"),Dt==="large"),d()(ge,"".concat(Ee,"-affix-wrapper-input-with-clear-btn"),et&&Nt&&ut),d()(ge,"".concat(Ee,"-affix-wrapper-rtl"),Bt==="rtl"),d()(ge,"".concat(Ee,"-affix-wrapper-readonly"),Gt),d()(ge,"".concat(Ee,"-affix-wrapper-borderless"),!qe),ge));return i.createElement("span",{ref:this.containerRef,className:vt,style:Ft,onMouseUp:this.onInputMouseUp},ue,Object(v.a)(ne,{style:null,value:ut,className:F(Ee,qe,Dt,_t)}),we)}},{key:"renderInputWithLabel",value:function(Ee,ne){var ge,Ie,Ge=this.props,ut=Ge.addonBefore,wt=Ge.addonAfter,Pe=Ge.style,Dt=Ge.size,et=Ge.className,_t=Ge.direction;if(!ut&&!wt)return ne;var Nt="".concat(Ee,"-group"),Bt="".concat(Nt,"-addon"),Ft=ut?i.createElement("span",{className:Bt},ut):null,Gt=wt?i.createElement("span",{className:Bt},wt):null,qe=e()("".concat(Ee,"-wrapper"),(ge={},d()(ge,Nt,ut||wt),d()(ge,"".concat(Nt,"-rtl"),_t==="rtl"),ge)),we=e()(et,"".concat(Ee,"-group-wrapper"),(Ie={},d()(Ie,"".concat(Ee,"-group-wrapper-sm"),Dt==="small"),d()(Ie,"".concat(Ee,"-group-wrapper-lg"),Dt==="large"),d()(Ie,"".concat(Ee,"-group-wrapper-rtl"),_t==="rtl"),Ie));return i.createElement("span",{className:we,style:Pe},i.createElement("span",{className:qe},Ft,Object(v.a)(ne,{style:null}),Gt))}},{key:"renderTextAreaWithClearIcon",value:function(Ee,ne){var ge,Ie=this.props,Ge=Ie.value,ut=Ie.allowClear,wt=Ie.className,Pe=Ie.style,Dt=Ie.direction,et=Ie.bordered;if(!ut)return Object(v.a)(ne,{value:Ge});var _t=e()(wt,"".concat(Ee,"-affix-wrapper"),"".concat(Ee,"-affix-wrapper-textarea-with-clear-btn"),(ge={},d()(ge,"".concat(Ee,"-affix-wrapper-rtl"),Dt==="rtl"),d()(ge,"".concat(Ee,"-affix-wrapper-borderless"),!et),ge));return i.createElement("span",{className:_t,style:Pe},Object(v.a)(ne,{style:null,value:Ge}),this.renderClearIcon(Ee))}},{key:"render",value:function(){var Ee=this.props,ne=Ee.prefixCls,ge=Ee.inputType,Ie=Ee.element;return ge===x[0]?this.renderTextAreaWithClearIcon(ne,Ie):this.renderInputWithLabel(ne,this.renderLabeledIcon(ne,Ie))}}]),ae}(i.Component),_=w,T=r("H84U"),S=r("3Nzz"),E=r("uaoM");function I(Y){return typeof Y=="undefined"||Y===null?"":Y}function O(Y,me,ae){if(ae){var Le=me;if(me.type==="click"){Le=Object.create(me),Le.target=Y,Le.currentTarget=Y;var Ee=Y.value;Y.value="",ae(Le),Y.value=Ee;return}ae(Le)}}function F(Y,me,ae,Le,Ee){var ne;return e()(Y,(ne={},d()(ne,"".concat(Y,"-sm"),ae==="small"),d()(ne,"".concat(Y,"-lg"),ae==="large"),d()(ne,"".concat(Y,"-disabled"),Le),d()(ne,"".concat(Y,"-rtl"),Ee==="rtl"),d()(ne,"".concat(Y,"-borderless"),!me),ne))}var k=function(Y){o()(ae,Y);var me=t()(ae);function ae(Le){var Ee;p()(this,ae),Ee=me.call(this,Le),Ee.direction="ltr",Ee.focus=function(){Ee.input.focus()},Ee.saveClearableInput=function(ge){Ee.clearableInput=ge},Ee.saveInput=function(ge){Ee.input=ge},Ee.onFocus=function(ge){var Ie=Ee.props.onFocus;Ee.setState({focused:!0},Ee.clearPasswordValueAttribute),Ie&&Ie(ge)},Ee.onBlur=function(ge){var Ie=Ee.props.onBlur;Ee.setState({focused:!1},Ee.clearPasswordValueAttribute),Ie&&Ie(ge)},Ee.handleReset=function(ge){Ee.setValue("",function(){Ee.focus()}),O(Ee.input,ge,Ee.props.onChange)},Ee.renderInput=function(ge,Ie,Ge){var ut=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},wt=Ee.props,Pe=wt.className,Dt=wt.addonBefore,et=wt.addonAfter,_t=wt.size,Nt=wt.disabled,Bt=Object(s.default)(Ee.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType","bordered"]);return i.createElement("input",m()({autoComplete:ut.autoComplete},Bt,{onChange:Ee.handleChange,onFocus:Ee.onFocus,onBlur:Ee.onBlur,onKeyDown:Ee.handleKeyDown,className:e()(F(ge,Ge,_t||Ie,Nt,Ee.direction),d()({},Pe,Pe&&!Dt&&!et)),ref:Ee.saveInput}))},Ee.clearPasswordValueAttribute=function(){Ee.removePasswordTimeout=setTimeout(function(){Ee.input&&Ee.input.getAttribute("type")==="password"&&Ee.input.hasAttribute("value")&&Ee.input.removeAttribute("value")})},Ee.handleChange=function(ge){Ee.setValue(ge.target.value,Ee.clearPasswordValueAttribute),O(Ee.input,ge,Ee.props.onChange)},Ee.handleKeyDown=function(ge){var Ie=Ee.props,Ge=Ie.onPressEnter,ut=Ie.onKeyDown;ge.keyCode===13&&Ge&&Ge(ge),ut&&ut(ge)},Ee.renderComponent=function(ge){var Ie=ge.getPrefixCls,Ge=ge.direction,ut=ge.input,wt=Ee.state,Pe=wt.value,Dt=wt.focused,et=Ee.props,_t=et.prefixCls,Nt=et.bordered,Bt=Nt===void 0?!0:Nt,Ft=Ie("input",_t);return Ee.direction=Ge,i.createElement(S.b.Consumer,null,function(Gt){return i.createElement(_,m()({size:Gt},Ee.props,{prefixCls:Ft,inputType:"input",value:I(Pe),element:Ee.renderInput(Ft,Gt,Bt,ut),handleReset:Ee.handleReset,ref:Ee.saveClearableInput,direction:Ge,focused:Dt,triggerFocus:Ee.focus,bordered:Bt}))})};var ne=typeof Le.value=="undefined"?Le.defaultValue:Le.value;return Ee.state={value:ne,focused:!1,prevValue:Le.value},Ee}return h()(ae,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(Ee){return b(Ee)!==b(this.props)&&Object(E.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(Ee,ne){this.props.value===void 0&&this.setState({value:Ee},ne)}},{key:"render",value:function(){return i.createElement(T.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(Ee,ne){var ge=ne.prevValue,Ie={prevValue:Ee.value};return(Ee.value!==void 0||ge!==Ee.value)&&(Ie.value=Ee.value),Ie}}]),ae}(i.Component);k.defaultProps={type:"text"};var M=k,P=function(me){return i.createElement(T.a,null,function(ae){var Le,Ee=ae.getPrefixCls,ne=ae.direction,ge=me.prefixCls,Ie=me.className,Ge=Ie===void 0?"":Ie,ut=Ee("input-group",ge),wt=e()(ut,(Le={},d()(Le,"".concat(ut,"-lg"),me.size==="large"),d()(Le,"".concat(ut,"-sm"),me.size==="small"),d()(Le,"".concat(ut,"-compact"),me.compact),d()(Le,"".concat(ut,"-rtl"),ne==="rtl"),Le),Ge);return i.createElement("span",{className:wt,style:me.style,onMouseEnter:me.onMouseEnter,onMouseLeave:me.onMouseLeave,onFocus:me.onFocus,onBlur:me.onBlur},me.children)})},V=P,D=r("c+Xe"),H=r("w6Tc"),U=r.n(H),z=r("gZBC"),K=r.n(z),G=r("2/Rp"),X=function(Y,me){var ae={};for(var Le in Y)Object.prototype.hasOwnProperty.call(Y,Le)&&me.indexOf(Le)<0&&(ae[Le]=Y[Le]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,Le=Object.getOwnPropertySymbols(Y);Ee<Le.length;Ee++)me.indexOf(Le[Ee])<0&&Object.prototype.propertyIsEnumerable.call(Y,Le[Ee])&&(ae[Le[Ee]]=Y[Le[Ee]]);return ae},Z=i.forwardRef(function(Y,me){var ae=i.useRef(null),Le=function(Pe){var Dt=Y.onChange,et=Y.onSearch;Pe&&Pe.target&&Pe.type==="click"&&et&&et(Pe.target.value,Pe),Dt&&Dt(Pe)},Ee=function(Pe){var Dt;document.activeElement===((Dt=ae.current)===null||Dt===void 0?void 0:Dt.input)&&Pe.preventDefault()},ne=function(Pe){var Dt,et=Y.onSearch,_t=Y.loading,Nt=Y.disabled;if(_t||Nt)return;et&&et((Dt=ae.current)===null||Dt===void 0?void 0:Dt.input.value,Pe)},ge=function(Pe){var Dt=Y.enterButton,et=Y.size;return Dt?i.createElement(S.b.Consumer,{key:"enterButton"},function(_t){return i.createElement(G.a,{className:"".concat(Pe,"-button"),type:"primary",size:et||_t},i.createElement(K.a,null))}):i.createElement(K.a,{className:"".concat(Pe,"-icon"),key:"loadingIcon"})},Ie=function(Pe){var Dt=Y.suffix,et=Y.enterButton,_t=Y.loading;if(_t&&!et)return[Dt,ge(Pe)];if(et)return Dt;var Nt=i.createElement(U.a,{className:"".concat(Pe,"-icon"),key:"searchIcon",onClick:ne});return Dt?[Object(v.c)(Dt,null,{key:"suffix"}),Nt]:Nt},Ge=function(Pe,Dt){var et=Y.enterButton,_t=Y.disabled,Nt=Y.addonAfter,Bt=Y.loading,Ft="".concat(Pe,"-button");if(Bt&&et)return[ge(Pe),Nt];if(!et)return Nt;var Gt,qe=et,we=qe.type&&qe.type.__ANT_BUTTON===!0;return we||qe.type==="button"?Gt=Object(v.a)(qe,m()({onMouseDown:Ee,onClick:ne,key:"enterButton"},we?{className:Ft,size:Dt}:{})):Gt=i.createElement(G.a,{className:Ft,type:"primary",size:Dt,disabled:_t,key:"enterButton",onMouseDown:Ee,onClick:ne},et===!0?i.createElement(U.a,null):et),Nt?[Gt,Object(v.c)(Nt,null,{key:"addonAfter"})]:Gt},ut=function(Pe){var Dt=Pe.getPrefixCls,et=Pe.direction,_t=Y.prefixCls,Nt=Y.inputPrefixCls,Bt=Y.enterButton,Ft=Y.className,Gt=Y.size,qe=X(Y,["prefixCls","inputPrefixCls","enterButton","className","size"]);delete qe.onSearch,delete qe.loading;var we=Dt("input-search",_t),ue=Dt("input",Nt),vt=function(Ae){var Xt;if(Bt){var Ot;Xt=e()(we,Ft,(Ot={},d()(Ot,"".concat(we,"-rtl"),et==="rtl"),d()(Ot,"".concat(we,"-enter-button"),!!Bt),d()(Ot,"".concat(we,"-").concat(Ae),!!Ae),Ot))}else Xt=e()(we,Ft,d()({},"".concat(we,"-rtl"),et==="rtl"));return Xt};return i.createElement(S.b.Consumer,null,function(at){return i.createElement(M,m()({ref:Object(D.a)(ae,me),onPressEnter:ne},qe,{size:Gt||at,prefixCls:ue,addonAfter:Ge(we,Gt||at),suffix:Ie(we),onChange:Le,className:vt(Gt||at)}))})};return i.createElement(T.a,null,ut)});Z.defaultProps={enterButton:!1},Z.displayName="Search";var ee=Z,Se=r("Y1PL"),$=function(Y){o()(ae,Y);var me=t()(ae);function ae(Le){var Ee;p()(this,ae),Ee=me.call(this,Le),Ee.focus=function(){Ee.resizableTextArea.textArea.focus()},Ee.saveTextArea=function(ge){Ee.resizableTextArea=ge==null?void 0:ge.resizableTextArea},Ee.saveClearableInput=function(ge){Ee.clearableInput=ge},Ee.handleChange=function(ge){Ee.setValue(ge.target.value),O(Ee.resizableTextArea.textArea,ge,Ee.props.onChange)},Ee.handleReset=function(ge){Ee.setValue("",function(){Ee.focus()}),O(Ee.resizableTextArea.textArea,ge,Ee.props.onChange)},Ee.renderTextArea=function(ge,Ie){return i.createElement(Se.default,m()({},Object(s.default)(Ee.props,["allowClear","bordered"]),{className:e()(Ee.props.className,d()({},"".concat(ge,"-borderless"),!Ie)),prefixCls:ge,onChange:Ee.handleChange,ref:Ee.saveTextArea}))},Ee.renderComponent=function(ge){var Ie=ge.getPrefixCls,Ge=ge.direction,ut=Ee.state.value,wt=Ee.props,Pe=wt.prefixCls,Dt=wt.bordered,et=Dt===void 0?!0:Dt,_t=Ie("input",Pe);return i.createElement(_,m()({},Ee.props,{prefixCls:_t,direction:Ge,inputType:"text",value:I(ut),element:Ee.renderTextArea(_t,et),handleReset:Ee.handleReset,ref:Ee.saveClearableInput,triggerFocus:Ee.focus,bordered:et}))};var ne=typeof Le.value=="undefined"?Le.defaultValue:Le.value;return Ee.state={value:ne},Ee}return h()(ae,[{key:"setValue",value:function(Ee,ne){this.props.value===void 0&&this.setState({value:Ee},ne)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return i.createElement(T.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(Ee){return Ee.value!==void 0?{value:Ee.value}:null}}]),ae}(i.Component),pe=$,xe=r("J4zp"),_e=r.n(xe),Ue=r("qPY4"),ye=r.n(Ue),Be=r("fUL4"),Q=r.n(Be),ie=function(Y,me){var ae={};for(var Le in Y)Object.prototype.hasOwnProperty.call(Y,Le)&&me.indexOf(Le)<0&&(ae[Le]=Y[Le]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,Le=Object.getOwnPropertySymbols(Y);Ee<Le.length;Ee++)me.indexOf(Le[Ee])<0&&Object.prototype.propertyIsEnumerable.call(Y,Le[Ee])&&(ae[Le[Ee]]=Y[Le[Ee]]);return ae},Ve={click:"onClick",hover:"onMouseOver"},J=i.forwardRef(function(Y,me){var ae=Object(i.useState)(!1),Le=_e()(ae,2),Ee=Le[0],ne=Le[1],ge=function(){var wt=Y.disabled;if(wt)return;ne(!Ee)},Ie=function(wt){var Pe,Dt=Y.action,et=Y.iconRender,_t=et===void 0?function(){return null}:et,Nt=Ve[Dt]||"",Bt=_t(Ee),Ft=(Pe={},d()(Pe,Nt,ge),d()(Pe,"className","".concat(wt,"-icon")),d()(Pe,"key","passwordIcon"),d()(Pe,"onMouseDown",function(qe){qe.preventDefault()}),d()(Pe,"onMouseUp",function(qe){qe.preventDefault()}),Pe);return i.cloneElement(i.isValidElement(Bt)?Bt:i.createElement("span",null,Bt),Ft)},Ge=function(wt){var Pe=wt.getPrefixCls,Dt=Y.className,et=Y.prefixCls,_t=Y.inputPrefixCls,Nt=Y.size,Bt=Y.visibilityToggle,Ft=ie(Y,["className","prefixCls","inputPrefixCls","size","visibilityToggle"]),Gt=Pe("input",_t),qe=Pe("input-password",et),we=Bt&&Ie(qe),ue=e()(qe,Dt,d()({},"".concat(qe,"-").concat(Nt),!!Nt)),vt=m()(m()({},Object(s.default)(Ft,["suffix","iconRender"])),{type:Ee?"text":"password",className:ue,prefixCls:Gt,suffix:we});return Nt&&(vt.size=Nt),i.createElement(M,m()({ref:me},vt))};return i.createElement(T.a,null,Ge)});J.defaultProps={action:"click",visibilityToggle:!0,iconRender:function(me){return me?i.createElement(ye.a,null):i.createElement(Q.a,null)}},J.displayName="Password";var W=J;M.Group=V,M.Search=ee,M.TextArea=pe,M.Password=W;var j=N.a=M},"5s0K":function(B,N,r){var y=r("bYtY");function m(){var C=[],p={},g;return{add:function(h,c,o,n,t){return y.isString(n)&&(t=n,n=0),p[h.id]?!1:(p[h.id]=1,C.push({el:h,target:c,time:o,delay:n,easing:t}),!0)},done:function(h){return g=h,this},start:function(){for(var h=C.length,c=0,o=C.length;c<o;c++){var n=C[c];n.el.animateTo(n.target,n.time,n.delay,n.easing,t)}return this;function t(){h--,h||(C.length=0,p={},g&&g())}}}}N.createWrap=m},"5yev":function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"};N.default=y},"6/nd":function(B,N,r){var y=r("ProS");y.registerAction("legendScroll","legendscroll",function(m,C){var p=m.scrollDataIndex;p!=null&&C.eachComponent({mainType:"legend",subType:"scroll",query:m},function(g){g.setScrollDataIndex(p)})})},"62sa":function(B,N,r){var y=r("bYtY"),m=r("4NO4"),C=m.makeInner,p=r("zTMp"),g=r("Ez2D"),h=y.each,c=y.curry,o=C();function n(v,x,b){var w=v.currTrigger,_=[v.x,v.y],T=v,S=v.dispatchAction||y.bind(b.dispatchAction,b),E=x.getComponent("axisPointer").coordSysAxesInfo;if(!E)return;A(_)&&(_=g({seriesIndex:T.seriesIndex,dataIndex:T.dataIndex},x).point);var I=A(_),O=T.axesInfo,F=E.axesInfo,k=w==="leave"||A(_),M={},P={},V={list:[],map:{}},D={showPointer:c(d,P),showTooltip:c(i,V)};h(E.coordSysMap,function(U,z){var K=I||U.containPoint(_);h(E.coordSysAxesInfo[z],function(G,X){var Z=G.axis,ee=u(O,G);if(!k&&K&&(!O||ee)){var Se=ee&&ee.value;Se==null&&!I&&(Se=Z.pointToData(_)),Se!=null&&t(G,Se,D,!1,M)}})});var H={};return h(F,function(U,z){var K=U.linkGroup;K&&!P[z]&&h(K.axesInfo,function(G,X){var Z=P[X];if(G!==U&&Z){var ee=Z.value;K.mapper&&(ee=U.axis.scale.parse(K.mapper(ee,f(G),f(U)))),H[U.key]=ee}})}),h(H,function(U,z){t(F[z],U,D,!0,M)}),l(P,F,M),e(V,_,v,S),s(F,S,b),M}function t(v,x,b,w,_){var T=v.axis;if(T.scale.isBlank()||!T.containData(x))return;if(!v.involveSeries){b.showPointer(v,x);return}var S=a(x,v),E=S.payloadBatch,I=S.snapToValue;E[0]&&_.seriesIndex==null&&y.extend(_,E[0]),!w&&v.snap&&(T.containData(I)&&I!=null&&(x=I)),b.showPointer(v,x,E,_),b.showTooltip(v,S,I)}function a(v,x){var b=x.axis,w=b.dim,_=v,T=[],S=Number.MAX_VALUE,E=-1;return h(x.seriesModels,function(I,O){var F=I.getData().mapDimension(w,!0),k,M;if(I.getAxisTooltipData){var P=I.getAxisTooltipData(F,v,b);M=P.dataIndices,k=P.nestestValue}else{if(M=I.getData().indicesOfNearest(F[0],v,b.type==="category"?.5:null),!M.length)return;k=I.getData().get(F[0],M[0])}if(k==null||!isFinite(k))return;var V=v-k,D=Math.abs(V);D<=S&&((D<S||V>=0&&E<0)&&(S=D,E=V,_=k,T.length=0),h(M,function(H){T.push({seriesIndex:I.seriesIndex,dataIndexInside:H,dataIndex:I.getData().getRawIndex(H)})}))}),{payloadBatch:T,snapToValue:_}}function d(v,x,b,w){v[x.key]={value:b,payloadBatch:w}}function i(v,x,b,w){var _=b.payloadBatch,T=x.axis,S=T.model,E=x.axisPointerModel;if(!x.triggerTooltip||!_.length)return;var I=x.coordSys.model,O=p.makeKey(I),F=v.map[O];F||(F=v.map[O]={coordSysId:I.id,coordSysIndex:I.componentIndex,coordSysType:I.type,coordSysMainType:I.mainType,dataByAxis:[]},v.list.push(F)),F.dataByAxis.push({axisDim:T.dim,axisIndex:S.componentIndex,axisType:S.type,axisId:S.id,value:w,valueLabelOpt:{precision:E.get("label.precision"),formatter:E.get("label.formatter")},seriesDataIndices:_.slice()})}function l(v,x,b){var w=b.axesInfo=[];h(x,function(_,T){var S=_.axisPointerModel.option,E=v[T];E?(!_.useHandle&&(S.status="show"),S.value=E.value,S.seriesDataIndices=(E.payloadBatch||[]).slice()):!_.useHandle&&(S.status="hide"),S.status==="show"&&w.push({axisDim:_.axis.dim,axisIndex:_.axis.model.componentIndex,value:S.value})})}function e(v,x,b,w){if(A(x)||!v.list.length){w({type:"hideTip"});return}var _=((v.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};w({type:"showTip",escapeConnect:!0,x:x[0],y:x[1],tooltipOption:b.tooltipOption,position:b.position,dataIndexInside:_.dataIndexInside,dataIndex:_.dataIndex,seriesIndex:_.seriesIndex,dataByCoordSys:v.list})}function s(v,x,b){var w=b.getZr(),_="axisPointerLastHighlights",T=o(w)[_]||{},S=o(w)[_]={};h(v,function(O,F){var k=O.axisPointerModel.option;k.status==="show"&&h(k.seriesDataIndices,function(M){var P=M.seriesIndex+" | "+M.dataIndex;S[P]=M})});var E=[],I=[];y.each(T,function(O,F){!S[F]&&I.push(O)}),y.each(S,function(O,F){!T[F]&&E.push(O)}),I.length&&b.dispatchAction({type:"downplay",escapeConnect:!0,batch:I}),E.length&&b.dispatchAction({type:"highlight",escapeConnect:!0,batch:E})}function u(v,x){for(var b=0;b<(v||[]).length;b++){var w=v[b];if(x.axis.dim===w.axisDim&&x.axis.model.componentIndex===w.axisIndex)return w}}function f(v){var x=v.axis.model,b={},w=b.axisDim=v.axis.dim;return b.axisIndex=b[w+"AxisIndex"]=x.componentIndex,b.axisName=b[w+"AxisName"]=x.name,b.axisId=b[w+"AxisId"]=x.id,b}function A(v){return!v||v[0]==null||isNaN(v[0])||v[1]==null||isNaN(v[1])}B.exports=n},"6BzB":function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.shrinkBuf=y,N.arraySet=m,N.flattenChunks=C,N.Buf32=N.Buf16=N.Buf8=void 0;function y(c,o){return c.length===o?c:c.subarray?c.subarray(0,o):(c.length=o,c)}function m(c,o,n,t,a){if(o.subarray&&c.subarray){c.set(o.subarray(n,n+t),a);return}for(var d=0;d<t;d++)c[a+d]=o[n+d]}function C(c){var o,n,t,a,d,i;for(t=0,o=0,n=c.length;o<n;o++)t+=c[o].length;for(i=new Uint8Array(t),a=0,o=0,n=c.length;o<n;o++)d=c[o],i.set(d,a),a+=d.length;return i}var p=Uint8Array;N.Buf8=p;var g=Uint16Array;N.Buf16=g;var h=Int32Array;N.Buf32=h},"6D9b":function(B,N,r){},"6GrX":function(B,N,r){var y=r("mFDi"),m=r("Xnb7"),C=r("bYtY"),p=C.getContext,g=C.extend,h=C.retrieve2,c=C.retrieve3,o=C.trim,n={},t=0,a=5e3,d=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,i="12px sans-serif",l={};function e(V,D){l[V]=D}function s(V,D){D=D||i;var H=V+":"+D;if(n[H])return n[H];for(var U=(V+"").split(`
|
|
|
`),z=0,K=0,G=U.length;K<G;K++)z=Math.max(O(U[K],D).width,z);return t>a&&(t=0,n={}),t++,n[H]=z,z}function u(V,D,H,U,z,K,G,X){return G?A(V,D,H,U,z,K,G,X):f(V,D,H,U,z,K,X)}function f(V,D,H,U,z,K,G){var X=F(V,D,z,K,G),Z=s(V,D);z&&(Z+=z[1]+z[3]);var ee=X.outerHeight,Se=v(0,Z,H),$=x(0,ee,U),pe=new y(Se,$,Z,ee);return pe.lineHeight=X.lineHeight,pe}function A(V,D,H,U,z,K,G,X){var Z=k(V,{rich:G,truncate:X,font:D,textAlign:H,textPadding:z,textLineHeight:K}),ee=Z.outerWidth,Se=Z.outerHeight,$=v(0,ee,H),pe=x(0,Se,U);return new y($,pe,ee,Se)}function v(V,D,H){return H==="right"?V-=D:H==="center"&&(V-=D/2),V}function x(V,D,H){return H==="middle"?V-=D/2:H==="bottom"&&(V-=D),V}function b(V,D,H){var U=D.textPosition,z=D.textDistance,K=H.x,G=H.y;z=z||0;var X=H.height,Z=H.width,ee=X/2,Se="left",$="top";switch(U){case"left":K-=z,G+=ee,Se="right",$="middle";break;case"right":K+=z+Z,G+=ee,$="middle";break;case"top":K+=Z/2,G-=z,Se="center",$="bottom";break;case"bottom":K+=Z/2,G+=X+z,Se="center";break;case"inside":K+=Z/2,G+=ee,Se="center",$="middle";break;case"insideLeft":K+=z,G+=ee,$="middle";break;case"insideRight":K+=Z-z,G+=ee,Se="right",$="middle";break;case"insideTop":K+=Z/2,G+=z,Se="center";break;case"insideBottom":K+=Z/2,G+=X-z,Se="center",$="bottom";break;case"insideTopLeft":K+=z,G+=z;break;case"insideTopRight":K+=Z-z,G+=z,Se="right";break;case"insideBottomLeft":K+=z,G+=X-z,$="bottom";break;case"insideBottomRight":K+=Z-z,G+=X-z,Se="right",$="bottom";break}return V=V||{},V.x=K,V.y=G,V.textAlign=Se,V.textVerticalAlign=$,V}function w(V,D,H){var U={textPosition:V,textDistance:H};return b({},U,D)}function _(V,D,H,U,z){if(!D)return"";var K=(V+"").split(`
|
|
|
`);z=T(D,H,U,z);for(var G=0,X=K.length;G<X;G++)K[G]=S(K[G],z);return K.join(`
|
|
|
`)}function T(V,D,H,U){U=g({},U),U.font=D;var H=h(H,"...");U.maxIterations=h(U.maxIterations,2);var z=U.minChar=h(U.minChar,0);U.cnCharWidth=s("\u56FD",D);var K=U.ascCharWidth=s("a",D);U.placeholder=h(U.placeholder,"");for(var G=V=Math.max(0,V-1),X=0;X<z&&G>=K;X++)G-=K;var Z=s(H,D);return Z>G&&(H="",Z=0),G=V-Z,U.ellipsis=H,U.ellipsisWidth=Z,U.contentWidth=G,U.containerWidth=V,U}function S(V,D){var H=D.containerWidth,U=D.font,z=D.contentWidth;if(!H)return"";var K=s(V,U);if(K<=H)return V;for(var G=0;;G++){if(K<=z||G>=D.maxIterations){V+=D.ellipsis;break}var X=G===0?E(V,z,D.ascCharWidth,D.cnCharWidth):K>0?Math.floor(V.length*z/K):0;V=V.substr(0,X),K=s(V,U)}return V===""&&(V=D.placeholder),V}function E(V,D,H,U){for(var z=0,K=0,G=V.length;K<G&&z<D;K++){var X=V.charCodeAt(K);z+=0<=X&&X<=127?H:U}return K}function I(V){return s("\u56FD",V)}function O(V,D){return l.measureText(V,D)}l.measureText=function(V,D){var H=p();return H.font=D||i,H.measureText(V)};function F(V,D,H,U,z){V!=null&&(V+="");var K=h(U,I(D)),G=V?V.split(`
|
|
|
`):[],X=G.length*K,Z=X,ee=!0;if(H&&(Z+=H[0]+H[2]),V&&z){ee=!1;var Se=z.outerHeight,$=z.outerWidth;if(Se!=null&&Z>Se)V="",G=[];else if($!=null)for(var pe=T($-(H?H[1]+H[3]:0),D,z.ellipsis,{minChar:z.minChar,placeholder:z.placeholder}),xe=0,_e=G.length;xe<_e;xe++)G[xe]=S(G[xe],pe)}return{lines:G,height:X,outerHeight:Z,lineHeight:K,canCacheByTextString:ee}}function k(V,D){var H={lines:[],width:0,height:0};if(V!=null&&(V+=""),!V)return H;for(var U=d.lastIndex=0,z;(z=d.exec(V))!=null;){var K=z.index;K>U&&M(H,V.substring(U,K)),M(H,z[2],z[1]),U=d.lastIndex}U<V.length&&M(H,V.substring(U,V.length));var G=H.lines,X=0,Z=0,ee=[],Se=D.textPadding,$=D.truncate,pe=$&&$.outerWidth,xe=$&&$.outerHeight;Se&&(pe!=null&&(pe-=Se[1]+Se[3]),xe!=null&&(xe-=Se[0]+Se[2]));for(var _e=0;_e<G.length;_e++){for(var Ue=G[_e],ye=0,Be=0,Q=0;Q<Ue.tokens.length;Q++){var ie=Ue.tokens[Q],Ve=ie.styleName&&D.rich[ie.styleName]||{},J=ie.textPadding=Ve.textPadding,W=ie.font=Ve.font||D.font,j=ie.textHeight=h(Ve.textHeight,I(W));if(J&&(j+=J[0]+J[2]),ie.height=j,ie.lineHeight=c(Ve.textLineHeight,D.textLineHeight,j),ie.textAlign=Ve&&Ve.textAlign||D.textAlign,ie.textVerticalAlign=Ve&&Ve.textVerticalAlign||"middle",xe!=null&&X+ie.lineHeight>xe)return{lines:[],width:0,height:0};ie.textWidth=s(ie.text,W);var Y=Ve.textWidth,me=Y==null||Y==="auto";if(typeof Y=="string"&&Y.charAt(Y.length-1)==="%")ie.percentWidth=Y,ee.push(ie),Y=0;else{if(me){Y=ie.textWidth;var ae=Ve.textBackgroundColor,Le=ae&&ae.image;Le&&(Le=m.findExistImage(Le),m.isImageReady(Le)&&(Y=Math.max(Y,Le.width*j/Le.height)))}var Ee=J?J[1]+J[3]:0;Y+=Ee;var ne=pe!=null?pe-Be:null;ne!=null&&ne<Y&&(!me||ne<Ee?(ie.text="",ie.textWidth=Y=0):(ie.text=_(ie.text,ne-Ee,W,$.ellipsis,{minChar:$.minChar}),ie.textWidth=s(ie.text,W),Y=ie.textWidth+Ee))}Be+=ie.width=Y,Ve&&(ye=Math.max(ye,ie.lineHeight))}Ue.width=Be,Ue.lineHeight=ye,X+=ye,Z=Math.max(Z,Be)}H.outerWidth=H.width=h(D.textWidth,Z),H.outerHeight=H.height=h(D.textHeight,X),Se&&(H.outerWidth+=Se[1]+Se[3],H.outerHeight+=Se[0]+Se[2]);for(var _e=0;_e<ee.length;_e++){var ie=ee[_e],ge=ie.percentWidth;ie.width=parseInt(ge,10)/100*Z}return H}function M(V,D,H){for(var U=D==="",z=D.split(`
|
|
|
`),K=V.lines,G=0;G<z.length;G++){var X=z[G],Z={styleName:H,text:X,isLineHolder:!X&&!U};if(G)K.push({tokens:[Z]});else{var ee=(K[K.length-1]||(K[0]={tokens:[]})).tokens,Se=ee.length;Se===1&&ee[0].isLineHolder?ee[0]=Z:(X||!Se||U)&&ee.push(Z)}}}function P(V){var D=(V.fontSize||V.fontFamily)&&[V.fontStyle,V.fontWeight,(V.fontSize||12)+"px",V.fontFamily||"sans-serif"].join(" ");return D&&o(D)||V.textFont||V.font}N.DEFAULT_FONT=i,N.$override=e,N.getWidth=s,N.getBoundingRect=u,N.adjustTextX=v,N.adjustTextY=x,N.calculateTextPosition=b,N.adjustTextPositionOnRect=w,N.truncateText=_,N.getLineHeight=I,N.measureText=O,N.parsePlainText=F,N.parseRichText=k,N.makeFont=P},"6Hfg":function(B,N,r){"use strict";var y=r("284h"),m=r("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var C=m(r("3tO9")),p=y(r("q1tI")),g=m(r("FhB9")),h=m(r("KQxl")),c=function(t,a){return p.createElement(h.default,(0,C.default)((0,C.default)({},t),{},{ref:a,icon:g.default}))};c.displayName="SwapRightOutlined";var o=p.forwardRef(c);N.default=o},"6Ic6":function(B,N,r){var y=r("bYtY"),m=y.each,C=r("4fz+"),p=r("iRjW"),g=r("Yl7c"),h=r("4NO4"),c=r("IwbS"),o=r("9H2F"),n=o.createTask,t=r("zM3Q"),a=h.makeInner(),d=t();function i(){this.group=new C,this.uid=p.getUID("viewChart"),this.renderTask=n({plan:u,reset:f}),this.renderTask.context={view:this}}i.prototype={type:"chart",init:function(x,b){},render:function(x,b,w,_){},highlight:function(x,b,w,_){s(x.getData(),_,"emphasis")},downplay:function(x,b,w,_){s(x.getData(),_,"normal")},remove:function(x,b){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var l=i.prototype;l.updateView=l.updateLayout=l.updateVisual=function(x,b,w,_){this.render(x,b,w,_)};function e(x,b,w){if(x&&(x.trigger(b,w),x.isGroup&&!c.isHighDownDispatcher(x)))for(var _=0,T=x.childCount();_<T;_++)e(x.childAt(_),b,w)}function s(x,b,w){var _=h.queryDataIndex(x,b),T=b&&b.highlightKey!=null?c.getHighlightDigit(b.highlightKey):null;_!=null?m(h.normalizeToArray(_),function(S){e(x.getItemGraphicEl(S),w,T)}):x.eachItemGraphicEl(function(S){e(S,w,T)})}g.enableClassExtend(i,["dispose"]),g.enableClassManagement(i,{registerWhenExtend:!0}),i.markUpdateMethod=function(x,b){a(x).updateMethod=b};function u(x){return d(x.model)}function f(x){var b=x.model,w=x.ecModel,_=x.api,T=x.payload,S=b.pipelineContext.progressiveRender,E=x.view,I=T&&a(T).updateMethod,O=S?"incrementalPrepareRender":I&&E[I]?I:"render";return O!=="render"&&E[O](b,w,_,T),A[O]}var A={incrementalPrepareRender:{progress:function(x,b){b.view.incrementalRender(x,b.model,b.ecModel,b.api,b.payload)}},render:{forceFirstProgress:!0,progress:function(x,b){b.view.render(b.model,b.ecModel,b.api,b.payload)}}},v=i;B.exports=v},"6MrE":function(B,N,r){},"6Qwc":function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y={8:"Backspace",9:"Tab",10:"NumpadClear",12:"Numpad5",13:"Enter",16:"ShiftLeft",17:"ControlLeft",18:"AltLeft",19:"Pause",20:"CapsLock",21:"Lang1",25:"Lang2",27:"Escape",28:"Convert",29:"NonConvert",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",41:"Select",44:"PrintScreen",45:"Insert",46:"Delete",47:"Help",48:"Digit0",49:"Digit1",50:"Digit2",51:"Digit3",52:"Digit4",53:"Digit5",54:"Digit6",55:"Digit7",56:"Digit8",57:"Digit9",91:"MetaLeft",92:"MetaRight",93:"ContextMenu",95:"Sleep",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9",106:"NumpadMultiply",107:"NumpadAdd",108:"NumpadDecimal",109:"NumpadSubtract",110:"NumpadDecimal",111:"NumpadDivide",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",124:"F13",125:"F14",126:"F15",127:"F16",128:"F17",129:"F18",130:"F19",131:"F20",132:"F21",133:"F22",134:"F23",135:"F24",144:"NumLock",145:"ScrollLock",166:"BrowserBack",167:"BrowserForward",168:"BrowserRefresh",169:"BrowserStop",170:"BrowserSearch",171:"BrowserFavorites",172:"BrowserHome",173:"AudioVolumeMute",174:"AudioVolumeDown",175:"AudioVolumeUp",176:"MediaTrackNext",177:"MediaTrackPrevious",178:"MediaStop",179:"MediaPlayPause",180:"LaunchMail",181:"MediaSelect",182:"LaunchApp1",183:"LaunchApp2",225:"AltRight"};N.default=y},"6SEX":function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("qWUW"));function m(p){return p&&p.__esModule?p:{default:p}}var C=y;N.default=C,B.exports=C},"6UJt":function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("v56E"),p=r.n(C),g=r("R9oj"),h=r("5NDa")},"6VBw":function(B,N,r){"use strict";var y=r("VTBJ"),m=r("ODXe"),C=r("rePB"),p=r("Ff2n"),g=r("q1tI"),h=r("TSYQ"),c=r.n(h),o=r("Pw59"),n=r("Qi1f"),t=["icon","className","onClick","style","primaryColor","secondaryColor"],a={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function d(x){var b=x.primaryColor,w=x.secondaryColor;a.primaryColor=b,a.secondaryColor=w||Object(n.b)(b),a.calculated=!!w}function i(){return Object(y.a)({},a)}var l=function(b){var w=b.icon,_=b.className,T=b.onClick,S=b.style,E=b.primaryColor,I=b.secondaryColor,O=Object(p.a)(b,t),F=a;if(E&&(F={primaryColor:E,secondaryColor:I||Object(n.b)(E)}),Object(n.f)(),Object(n.g)(Object(n.c)(w),"icon should be icon definiton, but got ".concat(w)),!Object(n.c)(w))return null;var k=w;return k&&typeof k.icon=="function"&&(k=Object(y.a)(Object(y.a)({},k),{},{icon:k.icon(F.primaryColor,F.secondaryColor)})),Object(n.a)(k.icon,"svg-".concat(k.name),Object(y.a)({className:_,onClick:T,style:S,"data-icon":k.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},O))};l.displayName="IconReact",l.getTwoToneColors=i,l.setTwoToneColors=d;var e=l;function s(x){var b=Object(n.d)(x),w=Object(m.a)(b,2),_=w[0],T=w[1];return e.setTwoToneColors({primaryColor:_,secondaryColor:T})}function u(){var x=e.getTwoToneColors();return x.calculated?[x.primaryColor,x.secondaryColor]:x.primaryColor}var f=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];s("#1890ff");var A=g.forwardRef(function(x,b){var w,_=x.className,T=x.icon,S=x.spin,E=x.rotate,I=x.tabIndex,O=x.onClick,F=x.twoToneColor,k=Object(p.a)(x,f),M=g.useContext(o.a),P=M.prefixCls,V=P===void 0?"anticon":P,D=c()(V,(w={},Object(C.a)(w,"".concat(V,"-").concat(T.name),!!T.name),Object(C.a)(w,"".concat(V,"-spin"),!!S||T.name==="loading"),w),_),H=I;H===void 0&&O&&(H=-1);var U=E?{msTransform:"rotate(".concat(E,"deg)"),transform:"rotate(".concat(E,"deg)")}:void 0,z=Object(n.d)(F),K=Object(m.a)(z,2),G=K[0],X=K[1];return g.createElement("span",Object(y.a)(Object(y.a)({role:"img","aria-label":T.name},k),{},{ref:b,tabIndex:H,onClick:O,className:D}),g.createElement(e,{icon:T,primaryColor:G,secondaryColor:X,style:U}))});A.displayName="AntdIcon",A.getTwoToneColor=u,A.setTwoToneColor=s;var v=N.a=A},"6cGi":function(B,N,r){"use strict";r.d(N,"a",function(){return p});var y=r("ODXe"),m=r("q1tI"),C=r.n(m);function p(g,h){var c=h||{},o=c.defaultValue,n=c.value,t=c.onChange,a=c.postState,d=m.useState(function(){return n!==void 0?n:o!==void 0?typeof o=="function"?o():o:typeof g=="function"?g():g}),i=Object(y.a)(d,2),l=i[0],e=i[1],s=n!==void 0?n:l;a&&(s=a(s));function u(A){e(A),s!==A&&t&&t(A,s)}var f=m.useRef(!0);return m.useEffect(function(){if(f.current){f.current=!1;return}n===void 0&&e(n)},[n]),[s,u]}},"6fms":function(B,N,r){var y=r("SUKs"),m=r("06Qe"),C=r("bYtY"),p=C.each;function g(n){return parseInt(n,10)}function h(n,t){m.initVML(),this.root=n,this.storage=t;var a=document.createElement("div"),d=document.createElement("div");a.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",d.style.cssText="position:absolute;left:0;top:0;",n.appendChild(a),this._vmlRoot=d,this._vmlViewport=a,this.resize();var i=t.delFromStorage,l=t.addToStorage;t.delFromStorage=function(e){i.call(t,e),e&&(e.onRemove&&e.onRemove(d))},t.addToStorage=function(e){e.onAdd&&e.onAdd(d),l.call(t,e)},this._firstPaint=!0}h.prototype={constructor:h,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0,!0);this._paintList(t)},_paintList:function(t){for(var a=this._vmlRoot,d=0;d<t.length;d++){var i=t[d];i.invisible||i.ignore?(i.__alreadyNotVisible||i.onRemove(a),i.__alreadyNotVisible=!0):(i.__alreadyNotVisible&&i.onAdd(a),i.__alreadyNotVisible=!1,i.__dirty&&(i.beforeBrush&&i.beforeBrush(),(i.brushVML||i.brush).call(i,a),i.afterBrush&&i.afterBrush())),i.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(a),this._firstPaint=!1)},resize:function(t,a){var t=t==null?this._getWidth():t,a=a==null?this._getHeight():a;if(this._width!==t||this._height!==a){this._width=t,this._height=a;var d=this._vmlViewport.style;d.width=t+"px",d.height=a+"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 t=this.root,a=t.currentStyle;return(t.clientWidth||g(a.width))-g(a.paddingLeft)-g(a.paddingRight)|0},_getHeight:function(){var t=this.root,a=t.currentStyle;return(t.clientHeight||g(a.height))-g(a.paddingTop)-g(a.paddingBottom)|0}};function c(n){return function(){y('In IE8.0 VML mode painter not support method "'+n+'"')}}p(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(n){h.prototype[n]=c(n)});var o=h;B.exports=o},"6r85":function(B,N,r){var y=r("bYtY");function m(C){if(!C||!y.isArray(C.series))return;y.each(C.series,function(p){y.isObject(p)&&p.type==="k"&&(p.type="candlestick")})}B.exports=m},"6uqw":function(B,N,r){var y=r("ProS"),m=r("bYtY"),C=r("ItGF"),p=r("YOMW"),g=r("XxSj"),h=r("K4ya"),c=r("4NO4"),o=r("OELB"),n=g.mapVisual,t=g.eachVisual,a=m.isArray,d=m.each,i=o.asc,l=o.linearMap,e=m.noop,s=y.extendComponentModel({type:"visualMap",dependencies:["series"],stateList:["inRange","outOfRange"],replacableOptionKeys:["inRange","outOfRange","target","controller","color"],dataBound:[-Infinity,Infinity],layoutMode:{type:"box",ignoreSize:!0},defaultOption:{show:!0,zlevel:0,z:4,seriesIndex:"all",min:0,max:200,dimension:null,inRange:null,outOfRange:null,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,color:null,formatter:null,text:null,textStyle:{color:"#333"}},init:function(f,A,v){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(f,v)},optionUpdated:function(f,A){var v=this.option;C.canvasSupported||(v.realtime=!1),!A&&h.replaceVisualOption(v,f,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(f){var A=this.stateList;f=m.bind(f,this),this.controllerVisuals=h.createVisualMappings(this.option.controller,A,f),this.targetVisuals=h.createVisualMappings(this.option.target,A,f)},getTargetSeriesIndices:function(){var f=this.option.seriesIndex,A=[];return f==null||f==="all"?this.ecModel.eachSeries(function(v,x){A.push(x)}):A=c.normalizeToArray(f),A},eachTargetSeries:function(f,A){m.each(this.getTargetSeriesIndices(),function(v){f.call(A,this.ecModel.getSeriesByIndex(v))},this)},isTargetSeries:function(f){var A=!1;return this.eachTargetSeries(function(v){v===f&&(A=!0)}),A},formatValueText:function(f,A,v){var x=this.option,b=x.precision,w=this.dataBound,_=x.formatter,T,S;if(v=v||["<",">"],m.isArray(f)&&(f=f.slice(),T=!0),S=A?f:T?[E(f[0]),E(f[1])]:E(f),m.isString(_))return _.replace("{value}",T?S[0]:S).replace("{value2}",T?S[1]:S);if(m.isFunction(_))return T?_(f[0],f[1]):_(f);if(T)return f[0]===w[0]?v[0]+" "+S[1]:f[1]===w[1]?v[1]+" "+S[0]:S[0]+" - "+S[1];return S;function E(I){return I===w[0]?"min":I===w[1]?"max":(+I).toFixed(Math.min(b,20))}},resetExtent:function(){var f=this.option,A=i([f.min,f.max]);this._dataExtent=A},getDataDimension:function(f){var A=this.option.dimension,v=f.dimensions;if(A==null&&!v.length)return;if(A!=null)return f.getDimension(A);for(var x=f.dimensions,b=x.length-1;b>=0;b--){var w=x[b],_=f.getDimensionInfo(w);if(!_.isCalculationCoord)return w}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var f=this.ecModel,A=this.option,v={inRange:A.inRange,outOfRange:A.outOfRange},x=A.target||(A.target={}),b=A.controller||(A.controller={});m.merge(x,v),m.merge(b,v);var w=this.isCategory();_.call(this,x),_.call(this,b),T.call(this,x,"inRange","outOfRange"),S.call(this,b);function _(E){a(A.color)&&!E.inRange&&(E.inRange={color:A.color.slice().reverse()}),E.inRange=E.inRange||{color:f.get("gradientColor")},d(this.stateList,function(I){var O=E[I];if(m.isString(O)){var F=p.get(O,"active",w);F?(E[I]={},E[I][O]=F):delete E[I]}},this)}function T(E,I,O){var F=E[I],k=E[O];F&&!k&&(k=E[O]={},d(F,function(M,P){if(!g.isValidType(P))return;var V=p.get(P,"inactive",w);V!=null&&(k[P]=V,P==="color"&&!k.hasOwnProperty("opacity")&&!k.hasOwnProperty("colorAlpha")&&(k.opacity=[0,0]))}))}function S(E){var I=(E.inRange||{}).symbol||(E.outOfRange||{}).symbol,O=(E.inRange||{}).symbolSize||(E.outOfRange||{}).symbolSize,F=this.get("inactiveColor");d(this.stateList,function(k){var M=this.itemSize,P=E[k];P||(P=E[k]={color:w?F:[F]}),P.symbol==null&&(P.symbol=I&&m.clone(I)||(w?"roundRect":["roundRect"])),P.symbolSize==null&&(P.symbolSize=O&&m.clone(O)||(w?M[0]:[M[0],M[0]])),P.symbol=n(P.symbol,function(H){return H==="none"||H==="square"?"roundRect":H});var V=P.symbolSize;if(V!=null){var D=-Infinity;t(V,function(H){H>D&&(D=H)}),P.symbolSize=n(V,function(H){return l(H,[0,D],[0,M[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}),u=s;B.exports=u},"6usn":function(B,N,r){var y=r("bYtY");function m(p,g){return y.map(["Radius","Angle"],function(h,c){var o=this["get"+h+"Axis"](),n=g[c],t=p[c]/2,a="dataTo"+h,d=o.type==="category"?o.getBandWidth():Math.abs(o[a](n-t)-o[a](n+t));return h==="Angle"&&(d=d*Math.PI/180),d},this)}function C(p){var g=p.getRadiusAxis(),h=p.getAngleAxis(),c=g.getExtent();return c[0]>c[1]&&c.reverse(),{coordSys:{type:"polar",cx:p.cx,cy:p.cy,r:c[1],r0:c[0]},api:{coord:y.bind(function(o){var n=g.dataToRadius(o[0]),t=h.dataToAngle(o[1]),a=p.coordToPoint([n,t]);return a.push(n,t*Math.PI/180),a}),size:y.bind(m,p)}}}B.exports=C},"6xvX":function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("V7ic"));function m(p){return p&&p.__esModule?p:{default:p}}var C=y;N.default=C,B.exports=C},"711d":function(B,N){function r(y){return function(m){return m==null?void 0:m[y]}}B.exports=r},"72pK":function(B,N){function r(C,p,g,h,c,o){C=C||0;var n=g[1]-g[0];if(c!=null&&(c=m(c,[0,n])),o!=null&&(o=Math.max(o,c!=null?c:0)),h==="all"){var t=Math.abs(p[1]-p[0]);t=m(t,[0,n]),c=o=m(t,[c,o]),h=0}p[0]=m(p[0],g),p[1]=m(p[1],g);var a=y(p,h);p[h]+=C;var d=c||0,i=g.slice();a.sign<0?i[0]+=d:i[1]-=d,p[h]=m(p[h],i);var l=y(p,h);c!=null&&(l.sign!==a.sign||l.span<c)&&(p[1-h]=p[h]+a.sign*c);var l=y(p,h);return o!=null&&l.span>o&&(p[1-h]=p[h]+l.sign*o),p}function y(C,p){var g=C[p]-C[1-p];return{span:Math.abs(g),sign:g>0?-1:g<0?1:p?-1:1}}function m(C,p){return Math.min(p[1]!=null?p[1]:Infinity,Math.max(p[0]!=null?p[0]:-Infinity,C))}B.exports=r},"75ce":function(B,N,r){var y=r("ProS");r("IXuL"),r("8X+K");var m=r("f5Yq"),C=r("h8O9"),p=r("/d5a");r("Ae16"),y.registerVisual(m("line","circle","line")),y.registerLayout(C("line")),y.registerProcessor(y.PRIORITY.PROCESSOR.STATISTIC,p("line"))},"75ev":function(B,N,r){var y=r("ProS");r("IWNH"),r("bNin"),r("v5uJ");var m=r("f5Yq"),C=r("yik8");y.registerVisual(m("tree","circle")),y.registerLayout(C)},"7AJT":function(B,N,r){var y=r("bYtY"),m=r("hM6l"),C=function(g,h,c,o,n){m.call(this,g,h,c),this.type=o||"value",this.position=n||"bottom"};C.prototype={constructor:C,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var g=this.position;return g==="top"||g==="bottom"},getGlobalExtent:function(g){var h=this.getExtent();return h[0]=this.toGlobalCoord(h[0]),h[1]=this.toGlobalCoord(h[1]),g&&h[0]>h[1]&&h.reverse(),h},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(g,h){return this.coordToData(this.toLocalCoord(g[this.dim==="x"?0:1]),h)},toLocalCoord:null,toGlobalCoord:null},y.inherits(C,m);var p=C;B.exports=p},"7Cbv":function(B,N,r){"use strict";var y=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),m=new Uint8Array(16);function C(){if(!y)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return y(m)}var p=/^(?:[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 g(i){return typeof i=="string"&&p.test(i)}for(var h=g,c=[],o=0;o<256;++o)c.push((o+256).toString(16).substr(1));function n(i){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,e=(c[i[l+0]]+c[i[l+1]]+c[i[l+2]]+c[i[l+3]]+"-"+c[i[l+4]]+c[i[l+5]]+"-"+c[i[l+6]]+c[i[l+7]]+"-"+c[i[l+8]]+c[i[l+9]]+"-"+c[i[l+10]]+c[i[l+11]]+c[i[l+12]]+c[i[l+13]]+c[i[l+14]]+c[i[l+15]]).toLowerCase();if(!h(e))throw TypeError("Stringified UUID is invalid");return e}var t=n;function a(i,l,e){i=i||{};var s=i.random||(i.rng||C)();if(s[6]=s[6]&15|64,s[8]=s[8]&63|128,l){e=e||0;for(var u=0;u<16;++u)l[e+u]=s[u];return l}return t(s)}var d=N.a=a},"7DRL":function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("bYtY"),p=C.createHashMap,g=C.isString,h=C.isArray,c=C.each,o=C.assert,n=r("MEGo"),t=n.parseXML,a=p(),d={registerMap:function(l,e,s){var u;return h(e)?u=e:e.svg?u=[{type:"svg",source:e.svg,specialAreas:e.specialAreas}]:(e.geoJson&&!e.features&&(s=e.specialAreas,e=e.geoJson),u=[{type:"geoJSON",source:e,specialAreas:s}]),c(u,function(f){var A=f.type;A==="geoJson"&&(A=f.type="geoJSON");var v=i[A];v(f)}),a.set(l,u)},retrieveMap:function(l){return a.get(l)}},i={geoJSON:function(l){var e=l.source;l.geoJSON=g(e)?typeof JSON!="undefined"&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(l){l.svgXML=t(l.source)}};B.exports=d},"7G+c":function(B,N,r){var y=r("bYtY"),m=y.createHashMap,C=y.isTypedArray,p=r("Yl7c"),g=p.enableClassCheck,h=r("k9D9"),c=h.SOURCE_FORMAT_ORIGINAL,o=h.SERIES_LAYOUT_BY_COLUMN,n=h.SOURCE_FORMAT_UNKNOWN,t=h.SOURCE_FORMAT_TYPED_ARRAY,a=h.SOURCE_FORMAT_KEYED_COLUMNS;function d(l){this.fromDataset=l.fromDataset,this.data=l.data||(l.sourceFormat===a?{}:[]),this.sourceFormat=l.sourceFormat||n,this.seriesLayoutBy=l.seriesLayoutBy||o,this.dimensionsDefine=l.dimensionsDefine,this.encodeDefine=l.encodeDefine&&m(l.encodeDefine),this.startIndex=l.startIndex||0,this.dimensionsDetectCount=l.dimensionsDetectCount}d.seriesDataToSource=function(l){return new d({data:l,sourceFormat:C(l)?t:c,fromDataset:!1})},g(d);var i=d;B.exports=i},"7Kak":function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("KPFz"),p=r.n(C)},"7Phj":function(B,N,r){var y=r("bYtY"),m=r("OELB"),C=m.parsePercent,p=y.each;function g(n){var t=h(n);p(t,function(a){var d=a.seriesModels;if(!d.length)return;c(a),p(d,function(i,l){o(i,a.boxOffsetList[l],a.boxWidthList[l])})})}function h(n){var t=[],a=[];return n.eachSeriesByType("boxplot",function(d){var i=d.getBaseAxis(),l=y.indexOf(a,i);l<0&&(l=a.length,a[l]=i,t[l]={axis:i,seriesModels:[]}),t[l].seriesModels.push(d)}),t}function c(n){var t,a=n.axis,d=n.seriesModels,i=d.length,l=n.boxWidthList=[],e=n.boxOffsetList=[],s=[],u;if(a.type==="category")u=a.getBandWidth();else{var f=0;p(d,function(w){f=Math.max(f,w.getData().count())}),t=a.getExtent(),Math.abs(t[1]-t[0])/f}p(d,function(w){var _=w.get("boxWidth");y.isArray(_)||(_=[_,_]),s.push([C(_[0],u)||0,C(_[1],u)||0])});var A=u*.8-2,v=A/i*.3,x=(A-v*(i-1))/i,b=x/2-A/2;p(d,function(w,_){e.push(b),b+=v+x,l.push(Math.min(Math.max(x,s[_][0]),s[_][1]))})}function o(n,t,a){var d=n.coordinateSystem,i=n.getData(),l=a/2,e=n.get("layout")==="horizontal"?0:1,s=1-e,u=["x","y"],f=i.mapDimension(u[e]),A=i.mapDimension(u[s],!0);if(f==null||A.length<5)return;for(var v=0;v<i.count();v++){var x=i.get(f,v),b=I(x,A[2],v),w=I(x,A[0],v),_=I(x,A[1],v),T=I(x,A[3],v),S=I(x,A[4],v),E=[];O(E,_,0),O(E,T,1),E.push(w,_,S,T),F(E,w),F(E,S),F(E,b),i.setItemLayout(v,{initBaseline:b[s],ends:E})}function I(k,M,P){var V=i.get(M,P),D=[];D[e]=k,D[s]=V;var H;return isNaN(k)||isNaN(V)?H=[NaN,NaN]:(H=d.dataToPoint(D),H[e]+=t),H}function O(k,M,P){var V=M.slice(),D=M.slice();V[e]+=l,D[e]-=l,P?k.push(V,D):k.push(D,V)}function F(k,M){var P=M.slice(),V=M.slice();P[e]-=l,V[e]+=l,k.push(P,V)}}B.exports=g},"7SHv":function(B,N,r){var y=r("LPTA"),m=y.devicePixelRatio,C=r("bYtY"),p=r("SUKs"),g=r("mFDi"),h=r("BPZU"),c=r("Xmg4"),o=r("mLcG"),n=r("Dagg"),t=r("ItGF"),a=1e5,d=314159,i=.01,l=.001;function e(T){return parseInt(T,10)}function s(T){return T?T.__builtin__?!0:!(typeof T.resize!="function"||typeof T.refresh!="function"):!1}var u=new g(0,0,0,0),f=new g(0,0,0,0);function A(T,S,E){return u.copy(T.getBoundingRect()),T.transform&&u.applyTransform(T.transform),f.width=S,f.height=E,!u.intersect(f)}function v(T,S){if(T===S)return!1;if(!T||!S||T.length!==S.length)return!0;for(var E=0;E<T.length;E++)if(T[E]!==S[E])return!0;return!1}function x(T,S){for(var E=0;E<T.length;E++){var I=T[E];I.setTransform(S),S.beginPath(),I.buildPath(S,I.shape),S.clip(),I.restoreTransform(S)}}function b(T,S){var E=document.createElement("div");return E.style.cssText=["position:relative","width:"+T+"px","height:"+S+"px","padding:0","margin:0","border-width:0"].join(";")+";",E}var w=function(S,E,I){this.type="canvas";var O=!S.nodeName||S.nodeName.toUpperCase()==="CANVAS";this._opts=I=C.extend({},I||{}),this.dpr=I.devicePixelRatio||m,this._singleCanvas=O,this.root=S;var F=S.style;F&&(F["-webkit-tap-highlight-color"]="transparent",F["-webkit-user-select"]=F["user-select"]=F["-webkit-touch-callout"]="none",S.innerHTML=""),this.storage=E;var k=this._zlevelList=[],M=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,O){var V=S.width,D=S.height;I.width!=null&&(V=I.width),I.height!=null&&(D=I.height),this.dpr=I.devicePixelRatio||1,S.width=V*this.dpr,S.height=D*this.dpr,this._width=V,this._height=D;var H=new c(S,this,this.dpr);H.__builtin__=!0,H.initContext(),M[d]=H,H.zlevel=d,k.push(d),this._domRoot=S}else{this._width=this._getSize(0),this._height=this._getSize(1);var P=this._domRoot=b(this._width,this._height);S.appendChild(P)}this._hoverlayer=null,this._hoverElements=[]};w.prototype={constructor:w,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var S=this.getViewportRoot();if(S)return{offsetLeft:S.offsetLeft||0,offsetTop:S.offsetTop||0}},refresh:function(S){var E=this.storage.getDisplayList(!0),I=this._zlevelList;this._redrawId=Math.random(),this._paintList(E,S,this._redrawId);for(var O=0;O<I.length;O++){var F=I[O],k=this._layers[F];if(!k.__builtin__&&k.refresh){var M=O===0?this._backgroundColor:null;k.refresh(M)}}return this.refreshHover(),this},addHover:function(S,E){if(S.__hoverMir)return;var I=new S.constructor({style:S.style,shape:S.shape,z:S.z,z2:S.z2,silent:S.silent});return I.__from=S,S.__hoverMir=I,E&&I.setStyle(E),this._hoverElements.push(I),I},removeHover:function(S){var E=S.__hoverMir,I=this._hoverElements,O=C.indexOf(I,E);O>=0&&I.splice(O,1),S.__hoverMir=null},clearHover:function(S){for(var E=this._hoverElements,I=0;I<E.length;I++){var O=E[I].__from;O&&(O.__hoverMir=null)}E.length=0},refreshHover:function(){var S=this._hoverElements,E=S.length,I=this._hoverlayer;if(I&&I.clear(),!E)return;h(S,this.storage.displayableSortFunc),I||(I=this._hoverlayer=this.getLayer(a));var O={};I.ctx.save();for(var F=0;F<E;){var k=S[F],M=k.__from;if(!(M&&M.__zr)){S.splice(F,1),M.__hoverMir=null,E--;continue}F++,M.invisible||(k.transform=M.transform,k.invTransform=M.invTransform,k.__clipPaths=M.__clipPaths,this._doPaintEl(k,I,!0,O))}I.ctx.restore()},getHoverLayer:function(){return this.getLayer(a)},_paintList:function(S,E,I){if(this._redrawId!==I)return;E=E||!1,this._updateLayerStatus(S);var O=this._doPaintList(S,E);if(this._needsManuallyCompositing&&this._compositeManually(),!O){var F=this;o(function(){F._paintList(S,E,I)})}},_compositeManually:function(){var S=this.getLayer(d).ctx,E=this._domRoot.width,I=this._domRoot.height;S.clearRect(0,0,E,I),this.eachBuiltinLayer(function(O){O.virtual&&S.drawImage(O.dom,0,0,E,I)})},_doPaintList:function(S,E){for(var I=[],O=0;O<this._zlevelList.length;O++){var F=this._zlevelList[O],k=this._layers[F];k.__builtin__&&k!==this._hoverlayer&&(k.__dirty||E)&&I.push(k)}for(var M=!0,P=0;P<I.length;P++){var k=I[P],V=k.ctx,D={};V.save();var H=E?k.__startIndex:k.__drawIndex,U=!E&&k.incremental&&Date.now,z=U&&Date.now(),K=k.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(k.__startIndex===k.__endIndex)k.clear(!1,K);else if(H===k.__startIndex){var G=S[H];(!G.incremental||!G.notClear||E)&&k.clear(!1,K)}H===-1&&(console.error("For some unknown reason. drawIndex is -1"),H=k.__startIndex);for(var X=H;X<k.__endIndex;X++){var Z=S[X];if(this._doPaintEl(Z,k,E,D),Z.__dirty=Z.__dirtyText=!1,U){var ee=Date.now()-z;if(ee>15)break}}k.__drawIndex=X,k.__drawIndex<k.__endIndex&&(M=!1),D.prevElClipPaths&&V.restore(),V.restore()}return t.wxa&&C.each(this._layers,function(Se){Se&&Se.ctx&&Se.ctx.draw&&Se.ctx.draw()}),M},_doPaintEl:function(S,E,I,O){var F=E.ctx,k=S.transform;if((E.__dirty||I)&&!S.invisible&&S.style.opacity!==0&&!(k&&!k[0]&&!k[3])&&!(S.culling&&A(S,this._width,this._height))){var M=S.__clipPaths,P=O.prevElClipPaths;(!P||v(M,P))&&(P&&(F.restore(),O.prevElClipPaths=null,O.prevEl=null),M&&(F.save(),x(M,F),O.prevElClipPaths=M)),S.beforeBrush&&S.beforeBrush(F),S.brush(F,O.prevEl||null),O.prevEl=S,S.afterBrush&&S.afterBrush(F)}},getLayer:function(S,E){this._singleCanvas&&!this._needsManuallyCompositing&&(S=d);var I=this._layers[S];return I||(I=new c("zr_"+S,this,this.dpr),I.zlevel=S,I.__builtin__=!0,this._layerConfig[S]?C.merge(I,this._layerConfig[S],!0):this._layerConfig[S-i]&&C.merge(I,this._layerConfig[S-i],!0),E&&(I.virtual=E),this.insertLayer(S,I),I.initContext()),I},insertLayer:function(S,E){var I=this._layers,O=this._zlevelList,F=O.length,k=null,M=-1,P=this._domRoot;if(I[S]){p("ZLevel "+S+" has been used already");return}if(!s(E)){p("Layer of zlevel "+S+" is not valid");return}if(F>0&&S>O[0]){for(M=0;M<F-1&&!(O[M]<S&&O[M+1]>S);M++);k=I[O[M]]}if(O.splice(M+1,0,S),I[S]=E,!E.virtual)if(k){var V=k.dom;V.nextSibling?P.insertBefore(E.dom,V.nextSibling):P.appendChild(E.dom)}else P.firstChild?P.insertBefore(E.dom,P.firstChild):P.appendChild(E.dom)},eachLayer:function(S,E){var I=this._zlevelList,O,F;for(F=0;F<I.length;F++)O=I[F],S.call(E,this._layers[O],O)},eachBuiltinLayer:function(S,E){var I=this._zlevelList,O,F,k;for(k=0;k<I.length;k++)F=I[k],O=this._layers[F],O.__builtin__&&S.call(E,O,F)},eachOtherLayer:function(S,E){var I=this._zlevelList,O,F,k;for(k=0;k<I.length;k++)F=I[k],O=this._layers[F],O.__builtin__||S.call(E,O,F)},getLayers:function(){return this._layers},_updateLayerStatus:function(S){this.eachBuiltinLayer(function(D,H){D.__dirty=D.__used=!1});function E(D){F&&(F.__endIndex!==D&&(F.__dirty=!0),F.__endIndex=D)}if(this._singleCanvas)for(var I=1;I<S.length;I++){var O=S[I];if(O.zlevel!==S[I-1].zlevel||O.incremental){this._needsManuallyCompositing=!0;break}}for(var F=null,k=0,M,I=0;I<S.length;I++){var O=S[I],P=O.zlevel,V;M!==P&&(M=P,k=0),O.incremental?(V=this.getLayer(P+l,this._needsManuallyCompositing),V.incremental=!0,k=1):V=this.getLayer(P+(k>0?i:0),this._needsManuallyCompositing),V.__builtin__||p("ZLevel "+P+" has been used by unkown layer "+V.id),V!==F&&(V.__used=!0,V.__startIndex!==I&&(V.__dirty=!0),V.__startIndex=I,V.incremental?V.__drawIndex=-1:V.__drawIndex=I,E(I),F=V),O.__dirty&&(V.__dirty=!0,V.incremental&&V.__drawIndex<0&&(V.__drawIndex=I))}E(I),this.eachBuiltinLayer(function(D,H){!D.__used&&D.getElementCount()>0&&(D.__dirty=!0,D.__startIndex=D.__endIndex=D.__drawIndex=0),D.__dirty&&D.__drawIndex<0&&(D.__drawIndex=D.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(S){S.clear()},setBackgroundColor:function(S){this._backgroundColor=S},configLayer:function(S,E){if(E){var I=this._layerConfig;I[S]?C.merge(I[S],E,!0):I[S]=E;for(var O=0;O<this._zlevelList.length;O++){var F=this._zlevelList[O];if(F===S||F===S+i){var k=this._layers[F];C.merge(k,I[S],!0)}}}},delLayer:function(S){var E=this._layers,I=this._zlevelList,O=E[S];if(!O)return;O.dom.parentNode.removeChild(O.dom),delete E[S],I.splice(C.indexOf(I,S),1)},resize:function(S,E){if(this._domRoot.style){var I=this._domRoot;I.style.display="none";var O=this._opts;if(S!=null&&(O.width=S),E!=null&&(O.height=E),S=this._getSize(0),E=this._getSize(1),I.style.display="",this._width!==S||E!==this._height){I.style.width=S+"px",I.style.height=E+"px";for(var F in this._layers)this._layers.hasOwnProperty(F)&&this._layers[F].resize(S,E);C.each(this._progressiveLayers,function(k){k.resize(S,E)}),this.refresh(!0)}this._width=S,this._height=E}else{if(S==null||E==null)return;this._width=S,this._height=E,this.getLayer(d).resize(S,E)}return this},clearLayer:function(S){var E=this._layers[S];E&&E.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(S){if(S=S||{},this._singleCanvas&&!this._compositeManually)return this._layers[d].dom;var E=new c("image",this,S.pixelRatio||this.dpr);if(E.initContext(),E.clear(!1,S.backgroundColor||this._backgroundColor),S.pixelRatio<=this.dpr){this.refresh();var I=E.dom.width,O=E.dom.height,F=E.ctx;this.eachLayer(function(D){D.__builtin__?F.drawImage(D.dom,0,0,I,O):D.renderToCanvas&&(E.ctx.save(),D.renderToCanvas(E.ctx),E.ctx.restore())})}else for(var k={},M=this.storage.getDisplayList(!0),P=0;P<M.length;P++){var V=M[P];this._doPaintEl(V,E,!0,k)}return E.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(S){var E=this._opts,I=["width","height"][S],O=["clientWidth","clientHeight"][S],F=["paddingLeft","paddingTop"][S],k=["paddingRight","paddingBottom"][S];if(E[I]!=null&&E[I]!=="auto")return parseFloat(E[I]);var M=this.root,P=document.defaultView.getComputedStyle(M);return(M[O]||e(P[I])||e(M.style[I]))-(e(P[F])||0)-(e(P[k])||0)|0},pathToImage:function(S,E){E=E||this.dpr;var I=document.createElement("canvas"),O=I.getContext("2d"),F=S.getBoundingRect(),k=S.style,M=k.shadowBlur*E,P=k.shadowOffsetX*E,V=k.shadowOffsetY*E,D=k.hasStroke()?k.lineWidth:0,H=Math.max(D/2,-P+M),U=Math.max(D/2,P+M),z=Math.max(D/2,-V+M),K=Math.max(D/2,V+M),G=F.width+H+U,X=F.height+z+K;I.width=G*E,I.height=X*E,O.scale(E,E),O.clearRect(0,0,G,X),O.dpr=E;var Z={position:S.position,rotation:S.rotation,scale:S.scale};S.position=[H-F.x,z-F.y],S.rotation=0,S.scale=[1,1],S.updateTransform(),S&&S.brush(O);var ee=n,Se=new ee({style:{x:0,y:0,image:I}});return Z.position!=null&&(Se.position=S.position=Z.position),Z.rotation!=null&&(Se.rotation=S.rotation=Z.rotation),Z.scale!=null&&(Se.scale=S.scale=Z.scale),Se}};var _=w;B.exports=_},"7a+S":function(B,N,r){var y=r("bYtY"),m=r("bLfw"),C=r("YXkt"),p=r("4NO4"),g=m.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(c,o,n){this._data,this._names,this.mergeDefaultAndTheme(c,n),this._initData()},mergeOption:function(c){g.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(c){c==null&&(c=this.option.currentIndex);var o=this._data.count();this.option.loop?c=(c%o+o)%o:(c>=o&&(c=o-1),c<0&&(c=0)),this.option.currentIndex=c},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(c){this.option.autoPlay=!!c},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var c=this.option,o=c.data||[],n=c.axisType,t=this._names=[];if(n==="category"){var a=[];y.each(o,function(l,e){var s=p.getDataItemValue(l),u;y.isObject(l)?(u=y.clone(l),u.value=e):u=e,a.push(u),!y.isString(s)&&(s==null||isNaN(s))&&(s=""),t.push(s+"")}),o=a}var d={category:"ordinal",time:"time"}[n]||"number",i=this._data=new C([{name:"value",type:d}],this);i.initData(o,t)},getData:function(){return this._data},getCategories:function(){if(this.get("axisType")==="category")return this._names.slice()}}),h=g;B.exports=h},"7aKB":function(B,N,r){var y=r("bYtY"),m=r("6GrX"),C=r("OELB");function p(b){return isNaN(b)?"-":(b=(b+"").split("."),b[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(b.length>1?"."+b[1]:""))}function g(b,w){return b=(b||"").toLowerCase().replace(/-(.)/g,function(_,T){return T.toUpperCase()}),w&&b&&(b=b.charAt(0).toUpperCase()+b.slice(1)),b}var h=y.normalizeCssArray,c=/([&<>"'])/g,o={"&":"&","<":"<",">":">",'"':""","'":"'"};function n(b){return b==null?"":(b+"").replace(c,function(w,_){return o[_]})}var t=["a","b","c","d","e","f","g"],a=function(b,w){return"{"+b+(w==null?"":w)+"}"};function d(b,w,_){y.isArray(w)||(w=[w]);var T=w.length;if(!T)return"";for(var S=w[0].$vars||[],E=0;E<S.length;E++){var I=t[E];b=b.replace(a(I),a(I,0))}for(var O=0;O<T;O++)for(var F=0;F<S.length;F++){var k=w[O][S[F]];b=b.replace(a(t[F],O),_?n(k):k)}return b}function i(b,w,_){return y.each(w,function(T,S){b=b.replace("{"+S+"}",_?n(T):T)}),b}function l(b,w){b=y.isString(b)?{color:b,extraCssText:w}:b||{};var _=b.color,T=b.type,w=b.extraCssText,S=b.renderMode||"html",E=b.markerId||"X";return _?S==="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:'+n(_)+";"+(w||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+n(_)+";"+(w||"")+'"></span>':{renderMode:S,content:"{marker"+E+"|} ",style:{color:_}}:""}function e(b,w){return b+="","0000".substr(0,w-b.length)+b}function s(b,w,_){(b==="week"||b==="month"||b==="quarter"||b==="half-year"||b==="year")&&(b=`MM-dd
|
|
|
yyyy`);var T=C.parseDate(w),S=_?"UTC":"",E=T["get"+S+"FullYear"](),I=T["get"+S+"Month"]()+1,O=T["get"+S+"Date"](),F=T["get"+S+"Hours"](),k=T["get"+S+"Minutes"](),M=T["get"+S+"Seconds"](),P=T["get"+S+"Milliseconds"]();return b=b.replace("MM",e(I,2)).replace("M",I).replace("yyyy",E).replace("yy",E%100).replace("dd",e(O,2)).replace("d",O).replace("hh",e(F,2)).replace("h",F).replace("mm",e(k,2)).replace("m",k).replace("ss",e(M,2)).replace("s",M).replace("SSS",e(P,3)),b}function u(b){return b&&b.charAt(0).toUpperCase()+b.substr(1)}var f=m.truncateText;function A(b){return m.getBoundingRect(b.text,b.font,b.textAlign,b.textVerticalAlign,b.textPadding,b.textLineHeight,b.rich,b.truncate)}function v(b,w,_,T,S,E,I,O){return m.getBoundingRect(b,w,_,T,S,O,E,I)}function x(b,w){if(w==="_blank"||w==="blank"){var _=window.open();_.opener=null,_.location=b}else window.open(b,w)}N.addCommas=p,N.toCamelCase=g,N.normalizeCssArray=h,N.encodeHTML=n,N.formatTpl=d,N.formatTplSimple=i,N.getTooltipMarker=l,N.formatTime=s,N.capitalFirst=u,N.truncateText=f,N.getTextBoundingRect=A,N.getTextRect=v,N.windowOpen=x},"7bkD":function(B,N,r){var y=r("bYtY");function m(C,p){p=p||{};var g=C.coordinateSystem,h=C.axis,c={},o=h.position,n=h.orient,t=g.getRect(),a=[t.x,t.x+t.width,t.y,t.y+t.height],d={horizontal:{top:a[2],bottom:a[3]},vertical:{left:a[0],right:a[1]}};c.position=[n==="vertical"?d.vertical[o]:a[0],n==="horizontal"?d.horizontal[o]:a[3]];var i={horizontal:0,vertical:1};c.rotation=Math.PI/2*i[n];var l={top:-1,bottom:1,right:1,left:-1};c.labelDirection=c.tickDirection=c.nameDirection=l[o],C.get("axisTick.inside")&&(c.tickDirection=-c.tickDirection),y.retrieve(p.labelInside,C.get("axisLabel.inside"))&&(c.labelDirection=-c.labelDirection);var e=p.rotate;return e==null&&(e=C.get("axisLabel.rotate")),c.labelRotation=o==="top"?-e:e,c.z2=1,c}N.layout=m},"7hqr":function(B,N,r){var y=r("bYtY"),m=y.each,C=y.isString;function p(c,o,n){n=n||{};var t=n.byIndex,a=n.stackedCoordDimension,d=!!(c&&c.get("stack")),i,l,e,s;if(m(o,function(v,x){C(v)&&(o[x]=v={name:v}),d&&!v.isExtraCoord&&(!t&&!i&&v.ordinalMeta&&(i=v),!l&&v.type!=="ordinal"&&v.type!=="time"&&(!a||a===v.coordDim)&&(l=v))}),l&&!t&&!i&&(t=!0),l){e="__\0ecstackresult",s="__\0ecstackedover",i&&(i.createInvertedIndices=!0);var u=l.coordDim,f=l.type,A=0;m(o,function(v){v.coordDim===u&&A++}),o.push({name:e,coordDim:u,coordDimIndex:A,type:f,isExtraCoord:!0,isCalculationCoord:!0}),A++,o.push({name:s,coordDim:s,coordDimIndex:A,type:f,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:l&&l.name,stackedByDimension:i&&i.name,isStackedByIndex:t,stackedOverDimension:s,stackResultDimension:e}}function g(c,o){return!!o&&o===c.getCalculationInfo("stackedDimension")}function h(c,o){return g(c,o)?c.getCalculationInfo("stackResultDimension"):o}N.enableDataStack=p,N.isDimensionStacked=g,N.getStackedDimension=h},"7mYs":function(B,N,r){var y=r("ProS"),m=r("bYtY"),C=r("IwbS"),p=r("7aKB"),g=r("OELB"),h={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"]},c={EN:["S","M","T","W","T","F","S"],CN:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]},o=y.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(n,t,a){var d=this.group;d.removeAll();var i=n.coordinateSystem,l=i.getRangeInfo(),e=i.getOrient();this._renderDayRect(n,l,d),this._renderLines(n,l,e,d),this._renderYearText(n,l,e,d),this._renderMonthText(n,e,d),this._renderWeekText(n,l,e,d)},_renderDayRect:function(n,t,a){for(var d=n.coordinateSystem,i=n.getModel("itemStyle").getItemStyle(),l=d.getCellWidth(),e=d.getCellHeight(),s=t.start.time;s<=t.end.time;s=d.getNextNDay(s,1).time){var u=d.dataToRect([s],!1).tl,f=new C.Rect({shape:{x:u[0],y:u[1],width:l,height:e},cursor:"default",style:i});a.add(f)}},_renderLines:function(n,t,a,d){var i=this,l=n.coordinateSystem,e=n.getModel("splitLine.lineStyle").getLineStyle(),s=n.get("splitLine.show"),u=e.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var f=t.start,A=0;f.time<=t.end.time;A++){x(f.formatedDate),A===0&&(f=l.getDateInfo(t.start.y+"-"+t.start.m));var v=f.date;v.setMonth(v.getMonth()+1),f=l.getDateInfo(v)}x(l.getNextNDay(t.end.time,1).formatedDate);function x(b){i._firstDayOfMonth.push(l.getDateInfo(b)),i._firstDayPoints.push(l.dataToRect([b],!1).tl);var w=i._getLinePointsOfOneWeek(n,b,a);i._tlpoints.push(w[0]),i._blpoints.push(w[w.length-1]),s&&i._drawSplitline(w,e,d)}s&&this._drawSplitline(i._getEdgesPoints(i._tlpoints,u,a),e,d),s&&this._drawSplitline(i._getEdgesPoints(i._blpoints,u,a),e,d)},_getEdgesPoints:function(n,t,a){var d=[n[0].slice(),n[n.length-1].slice()],i=a==="horizontal"?0:1;return d[0][i]=d[0][i]-t/2,d[1][i]=d[1][i]+t/2,d},_drawSplitline:function(n,t,a){var d=new C.Polyline({z2:20,shape:{points:n},style:t});a.add(d)},_getLinePointsOfOneWeek:function(n,t,a){var d=n.coordinateSystem;t=d.getDateInfo(t);for(var i=[],l=0;l<7;l++){var e=d.getNextNDay(t.time,l),s=d.dataToRect([e.time],!1);i[2*e.day]=s.tl,i[2*e.day+1]=s[a==="horizontal"?"bl":"tr"]}return i},_formatterLabel:function(n,t){return typeof n=="string"&&n?p.formatTplSimple(n,t):typeof n=="function"?n(t):t.nameMap},_yearTextPositionControl:function(n,t,a,d,i){t=t.slice();var l=["center","bottom"];d==="bottom"?(t[1]+=i,l=["center","top"]):d==="left"?t[0]-=i:d==="right"?(t[0]+=i,l=["center","top"]):t[1]-=i;var e=0;return(d==="left"||d==="right")&&(e=Math.PI/2),{rotation:e,position:t,style:{textAlign:l[0],textVerticalAlign:l[1]}}},_renderYearText:function(n,t,a,d){var i=n.getModel("yearLabel");if(!i.get("show"))return;var l=i.get("margin"),e=i.get("position");e||(e=a!=="horizontal"?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],u=(s[0][0]+s[1][0])/2,f=(s[0][1]+s[1][1])/2,A=a==="horizontal"?0:1,v={top:[u,s[A][1]],bottom:[u,s[1-A][1]],left:[s[1-A][0],f],right:[s[A][0],f]},x=t.start.y;+t.end.y>+t.start.y&&(x=x+"-"+t.end.y);var b=i.get("formatter"),w={start:t.start.y,end:t.end.y,nameMap:x},_=this._formatterLabel(b,w),T=new C.Text({z2:30});C.setTextStyle(T.style,i,{text:_}),T.attr(this._yearTextPositionControl(T,v[e],a,e,l)),d.add(T)},_monthTextPositionControl:function(n,t,a,d,i){var l="left",e="top",s=n[0],u=n[1];return a==="horizontal"?(u=u+i,t&&(l="center"),d==="start"&&(e="bottom")):(s=s+i,t&&(e="middle"),d==="start"&&(l="right")),{x:s,y:u,textAlign:l,textVerticalAlign:e}},_renderMonthText:function(n,t,a){var d=n.getModel("monthLabel");if(!d.get("show"))return;var i=d.get("nameMap"),l=d.get("margin"),e=d.get("position"),s=d.get("align"),u=[this._tlpoints,this._blpoints];m.isString(i)&&(i=h[i.toUpperCase()]||[]);var f=e==="start"?0:1,A=t==="horizontal"?0:1;l=e==="start"?-l:l;for(var v=s==="center",x=0;x<u[f].length-1;x++){var b=u[f][x].slice(),w=this._firstDayOfMonth[x];if(v){var _=this._firstDayPoints[x];b[A]=(_[A]+u[0][x+1][A])/2}var T=d.get("formatter"),S=i[+w.m-1],E={yyyy:w.y,yy:(w.y+"").slice(2),MM:w.m,M:+w.m,nameMap:S},I=this._formatterLabel(T,E),O=new C.Text({z2:30});m.extend(C.setTextStyle(O.style,d,{text:I}),this._monthTextPositionControl(b,v,t,e,l)),a.add(O)}},_weekTextPositionControl:function(n,t,a,d,i){var l="center",e="middle",s=n[0],u=n[1],f=a==="start";return t==="horizontal"?(s=s+d+(f?1:-1)*i[0]/2,l=f?"right":"left"):(u=u+d+(f?1:-1)*i[1]/2,e=f?"bottom":"top"),{x:s,y:u,textAlign:l,textVerticalAlign:e}},_renderWeekText:function(n,t,a,d){var i=n.getModel("dayLabel");if(!i.get("show"))return;var l=n.coordinateSystem,e=i.get("position"),s=i.get("nameMap"),u=i.get("margin"),f=l.getFirstDayOfWeek();m.isString(s)&&(s=c[s.toUpperCase()]||[]);var A=l.getNextNDay(t.end.time,7-t.lweek).time,v=[l.getCellWidth(),l.getCellHeight()];u=g.parsePercent(u,v[a==="horizontal"?0:1]),e==="start"&&(A=l.getNextNDay(t.start.time,-(7+t.fweek)).time,u=-u);for(var x=0;x<7;x++){var b=l.getNextNDay(A,x),w=l.dataToRect([b.time],!1).center,_=x;_=Math.abs((x+f)%7);var T=new C.Text({z2:30});m.extend(C.setTextStyle(T.style,i,{text:s[_]}),this._weekTextPositionControl(w,a,e,u,v)),d.add(T)}}});B.exports=o},"7oTu":function(B,N,r){var y=r("IMiH"),m=r("QBsz"),C=m.applyTransform,p=y.CMD,g=[[],[],[]],h=Math.sqrt,c=Math.atan2;function o(n,t){var a=n.data,d,i,l,e,s,u,f=p.M,A=p.C,v=p.L,x=p.R,b=p.A,w=p.Q;for(l=0,e=0;l<a.length;){d=a[l++],e=l,i=0;switch(d){case f:i=1;break;case v:i=1;break;case A:i=3;break;case w:i=2;break;case b:var _=t[4],T=t[5],S=h(t[0]*t[0]+t[1]*t[1]),E=h(t[2]*t[2]+t[3]*t[3]),I=c(-t[1]/E,t[0]/S);a[l]*=S,a[l++]+=_,a[l]*=E,a[l++]+=T,a[l++]*=S,a[l++]*=E,a[l++]+=I,a[l++]+=I,l+=2,e=l;break;case x:u[0]=a[l++],u[1]=a[l++],C(u,u,t),a[e++]=u[0],a[e++]=u[1],u[0]+=a[l++],u[1]+=a[l++],C(u,u,t),a[e++]=u[0],a[e++]=u[1]}for(s=0;s<i;s++){var u=g[s];u[0]=a[l++],u[1]=a[l++],C(u,u,t),a[e++]=u[0],a[e++]=u[1]}}}B.exports=o},"7pVf":function(B,N,r){var y=r("ProS"),m=r("ZqQs");r("oE7X"),r("OUJF"),r("3X6L"),r("NH9N"),y.registerPreprocessor(m)},"7ph2":function(B,N){function r(C){return C instanceof Array||(C=[C,C]),C}var y="lineStyle.opacity".split("."),m={seriesType:"lines",reset:function(C,p,g){var h=r(C.get("symbol")),c=r(C.get("symbolSize")),o=C.getData();o.setVisual("fromSymbol",h&&h[0]),o.setVisual("toSymbol",h&&h[1]),o.setVisual("fromSymbolSize",c&&c[0]),o.setVisual("toSymbolSize",c&&c[1]),o.setVisual("opacity",C.get(y));function n(t,a){var d=t.getItemModel(a),i=r(d.getShallow("symbol",!0)),l=r(d.getShallow("symbolSize",!0)),e=d.get(y);i[0]&&t.setItemVisual(a,"fromSymbol",i[0]),i[1]&&t.setItemVisual(a,"toSymbol",i[1]),l[0]&&t.setItemVisual(a,"fromSymbolSize",l[0]),l[1]&&t.setItemVisual(a,"toSymbolSize",l[1]),t.setItemVisual(a,"opacity",e)}return{dataEach:o.hasItemOption?n:null}}};B.exports=m},"7uqq":function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("ProS"),p=r("bYtY"),g=r("AUH6"),h=r("+TT/"),c=r("OELB"),o=r("W4dC"),n=r("7DRL");function t(l,e){var s=l.get("boundingCoords");if(s!=null){var u=s[0],f=s[1];isNaN(u[0])||isNaN(u[1])||isNaN(f[0])||isNaN(f[1])||this.setBoundingRect(u[0],u[1],f[0]-u[0],f[1]-u[1])}var A=this.getBoundingRect(),v,x=l.get("layoutCenter"),b=l.get("layoutSize"),w=e.getWidth(),_=e.getHeight(),T=A.width/A.height*this.aspectScale,S=!1;x&&b&&(x=[c.parsePercent(x[0],w),c.parsePercent(x[1],_)],b=c.parsePercent(b,Math.min(w,_)),!isNaN(x[0])&&!isNaN(x[1])&&!isNaN(b)&&(S=!0));var E;if(S){var E={};T>1?(E.width=b,E.height=b/T):(E.height=b,E.width=b*T),E.y=x[1]-E.height/2,E.x=x[0]-E.width/2}else v=l.getBoxLayoutParams(),v.aspect=T,E=h.getLayoutRect(v,{width:w,height:_});this.setViewRect(E.x,E.y,E.width,E.height),this.setCenter(l.get("center")),this.setZoom(l.get("zoom"))}function a(l,e){p.each(e.get("geoCoord"),function(s,u){l.addGeoCoord(u,s)})}var d={dimensions:g.prototype.dimensions,create:function(l,e){var s=[];l.eachComponent("geo",function(f,A){var v=f.get("map"),x=f.get("aspectScale"),b=!0,w=n.retrieveMap(v);w&&w[0]&&w[0].type==="svg"?(x==null&&(x=1),b=!1):x==null&&(x=.75);var _=new g(v+A,v,f.get("nameMap"),b);_.aspectScale=x,_.zoomLimit=f.get("scaleLimit"),s.push(_),a(_,f),f.coordinateSystem=_,_.model=f,_.resize=t,_.resize(f,e)}),l.eachSeries(function(f){var A=f.get("coordinateSystem");if(A==="geo"){var v=f.get("geoIndex")||0;f.coordinateSystem=s[v]}});var u={};return l.eachSeriesByType("map",function(f){if(!f.getHostGeoModel()){var A=f.getMapType();u[A]=u[A]||[],u[A].push(f)}}),p.each(u,function(f,A){var v=p.map(f,function(b){return b.get("nameMap")}),x=new g(A,A,p.mergeAll(v));x.zoomLimit=p.retrieve.apply(null,p.map(f,function(b){return b.get("scaleLimit")})),s.push(x),x.resize=t,x.aspectScale=f[0].get("aspectScale"),x.resize(f[0],e),p.each(f,function(b){b.coordinateSystem=x,a(x,b)})}),s},getFilledRegions:function(l,e,s){for(var u=(l||[]).slice(),f=p.createHashMap(),A=0;A<u.length;A++)f.set(u[A].name,u[A]);var v=o.load(e,s);return p.each(v.regions,function(x){var b=x.name;!f.get(b)&&u.push({name:b})}),u}};C.registerCoordinateSystem("geo",d);var i=d;B.exports=i},"7yuC":function(B,N,r){var y=r("QBsz"),m=y.scaleAndAdd;function C(p,g,h){for(var c=h.rect,o=c.width,n=c.height,t=[c.x+o/2,c.y+n/2],a=h.gravity==null?.1:h.gravity,d=0;d<p.length;d++){var i=p[d];i.p||(i.p=y.create(o*(Math.random()-.5)+t[0],n*(Math.random()-.5)+t[1])),i.pp=y.clone(i.p),i.edges=null}var l=h.friction==null?.6:h.friction,e=l;return{warmUp:function(){e=l*.8},setFixed:function(s){p[s].fixed=!0},setUnfixed:function(s){p[s].fixed=!1},step:function(s){for(var u=[],f=p.length,A=0;A<g.length;A++){var v=g[A];if(v.ignoreForceLayout)continue;var x=v.n1,b=v.n2;y.sub(u,b.p,x.p);var w=y.len(u)-v.d,_=b.w/(x.w+b.w);isNaN(_)&&(_=0),y.normalize(u,u),!x.fixed&&m(x.p,x.p,u,_*w*e),!b.fixed&&m(b.p,b.p,u,-(1-_)*w*e)}for(var A=0;A<f;A++){var T=p[A];T.fixed||(y.sub(u,t,T.p),m(T.p,T.p,u,a*e))}for(var A=0;A<f;A++)for(var x=p[A],S=A+1;S<f;S++){var b=p[S];y.sub(u,b.p,x.p);var w=y.len(u);w===0&&(y.set(u,Math.random()-.5,Math.random()-.5),w=1);var E=(x.rep+b.rep)/w/w;!x.fixed&&m(x.pp,x.pp,u,E),!b.fixed&&m(b.pp,b.pp,u,-E)}for(var I=[],A=0;A<f;A++){var T=p[A];T.fixed||(y.sub(I,T.p,T.pp),m(T.p,T.p,I,e),y.copy(T.pp,T.p))}e=e*.992,s&&s(p,g,e<.01)}}}N.forceLayout=C},"8+yF":function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y={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},m={lookup:function(p){if(p>=32&&p<=255)return p;var g=y[p];return g!==void 0?g:16777216|p}};N.default=m},"815F":function(B,N,r){"use strict";r.d(N,"e",function(){return c}),r.d(N,"c",function(){return n}),r.d(N,"d",function(){return t}),r.d(N,"a",function(){return d}),r.d(N,"f",function(){return i}),r.d(N,"b",function(){return l});var y=r("KQm4"),m=r("VTBJ"),C=r("Ff2n"),p=r("Zm9Q"),g=r("Kwbf"),h=r("OZM5");function c(e,s){return e!=null?e:s}function o(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],s=new Map;function u(f){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(f||[]).forEach(function(v){var x=v.key,b=v.children;Object(g.a)(x!=null,"Tree node must have a certain key: [".concat(A).concat(x,"]"));var w=String(x);Object(g.a)(!s.has(w)||x===null||x===void 0,"Same 'key' exist in the Tree: ".concat(w)),s.set(w,!0),u(b,"".concat(A).concat(w," > "))})}u(e)}function n(e){function s(u){var f=Object(p.a)(u);return f.map(function(A){if(!Object(h.i)(A))return Object(g.a)(!A,"Tree/TreeNode can only accept TreeNode as children."),null;var v=A.key,x=A.props,b=x.children,w=Object(C.a)(x,["children"]),_=Object(m.a)({key:v},w),T=s(b);return T.length&&(_.children=T),_}).filter(function(A){return A})}return s(e)}function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],u=new Set(s===!0?[]:s),f=[];function A(v){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return v.map(function(b,w){var _=Object(h.h)(x?x.pos:"0",w),T=c(b.key,_),S=Object(m.a)(Object(m.a)({},b),{},{parent:x,pos:_,children:null,data:b,isStart:[].concat(Object(y.a)(x?x.isStart:[]),[w===0]),isEnd:[].concat(Object(y.a)(x?x.isEnd:[]),[w===v.length-1])});return f.push(S),s===!0||u.has(T)?S.children=A(b.children||[],S):S.children=[],S})}return A(e),f}function a(e,s,u){var f;u?typeof u=="string"?f=function(x){return x[u]}:typeof u=="function"&&(f=function(x){return u(x)}):f=function(x,b){return c(x.key,b)};function A(v,x,b){var w=v?v.children:e,_=v?Object(h.h)(b.pos,x):"0";if(v){var T=f(v,_),S={node:v,index:x,pos:_,key:T,parentPos:b.node?b.pos:null,level:b.level+1};s(S)}w&&w.forEach(function(E,I){A(E,I,{node:v,pos:_,level:b?b.level+1:-1})})}A(null)}function d(e){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=s.initWrapper,f=s.processEntity,A=s.onProcessFinished,v=arguments.length>2?arguments[2]:void 0,x={},b={},w={posEntities:x,keyEntities:b};return u&&(w=u(w)||w),a(e,function(_){var T=_.node,S=_.index,E=_.pos,I=_.key,O=_.parentPos,F=_.level,k={node:T,index:S,key:I,pos:E,level:F},M=c(I,E);x[E]=k,b[M]=k,k.parent=x[O],k.parent&&(k.parent.children=k.parent.children||[],k.parent.children.push(k)),f&&f(k,w)},v),A&&A(w),w}function i(e,s){var u=s.expandedKeys,f=s.selectedKeys,A=s.loadedKeys,v=s.loadingKeys,x=s.checkedKeys,b=s.halfCheckedKeys,w=s.dragOverNodeKey,_=s.dropPosition,T=s.keyEntities,S=T[e],E={eventKey:e,expanded:u.indexOf(e)!==-1,selected:f.indexOf(e)!==-1,loaded:A.indexOf(e)!==-1,loading:v.indexOf(e)!==-1,checked:x.indexOf(e)!==-1,halfChecked:b.indexOf(e)!==-1,pos:String(S?S.pos:""),dragOver:w===e&&_===0,dragOverGapTop:w===e&&_===-1,dragOverGapBottom:w===e&&_===1};return E}function l(e){var s=e.data,u=e.expanded,f=e.selected,A=e.checked,v=e.loaded,x=e.loading,b=e.halfChecked,w=e.dragOver,_=e.dragOverGapTop,T=e.dragOverGapBottom,S=e.pos,E=e.active,I=Object(m.a)(Object(m.a)({},s),{},{expanded:u,selected:f,checked:A,loaded:v,loading:x,halfChecked:b,dragOver:w,dragOverGapTop:_,dragOverGapBottom:T,pos:S,active:E});return"props"in I||Object.defineProperty(I,"props",{get:function(){return Object(g.a)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),I}},"8CQX":function(B,N,r){"use strict";function y(l){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(s){return typeof s}:y=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},y(l)}Object.defineProperty(N,"__esModule",{value:!0}),N.getKeycode=a,N.getKey=d,N.getKeysym=i;var m=t(r("mHUz")),C=t(r("8+yF")),p=t(r("6Qwc")),g=t(r("gIYZ")),h=t(r("mTgk")),c=n(r("GdRQ"));function o(){if(typeof WeakMap!="function")return null;var l=new WeakMap;return o=function(){return l},l}function n(l){if(l&&l.__esModule)return l;if(l===null||y(l)!=="object"&&typeof l!="function")return{default:l};var e=o();if(e&&e.has(l))return e.get(l);var s={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in l)if(Object.prototype.hasOwnProperty.call(l,f)){var A=u?Object.getOwnPropertyDescriptor(l,f):null;A&&(A.get||A.set)?Object.defineProperty(s,f,A):s[f]=l[f]}return s.default=l,e&&e.set(l,s),s}function t(l){return l&&l.__esModule?l:{default:l}}function a(l){if(l.code){switch(l.code){case"OSLeft":return"MetaLeft";case"OSRight":return"MetaRight"}return l.code}if(l.type!=="keypress"&&l.keyCode in p.default){var e=p.default[l.keyCode];if(c.isMac()&&e==="ContextMenu"&&(e="MetaRight"),l.location===2)switch(e){case"ShiftLeft":return"ShiftRight";case"ControlLeft":return"ControlRight";case"AltLeft":return"AltRight"}if(l.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 d(l){if(l.key!==void 0){switch(l.key){case"Spacebar":return" ";case"Esc":return"Escape";case"Scroll":return"ScrollLock";case"Win":return"Meta";case"Apps":return"ContextMenu";case"Up":return"ArrowUp";case"Left":return"ArrowLeft";case"Right":return"ArrowRight";case"Down":return"ArrowDown";case"Del":return"Delete";case"Divide":return"/";case"Multiply":return"*";case"Subtract":return"-";case"Add":return"+";case"Decimal":return l.char}switch(l.key){case"OS":return"Meta";case"LaunchMyComputer":return"LaunchApplication1";case"LaunchCalculator":return"LaunchApplication2"}switch(l.key){case"UIKeyInputUpArrow":return"ArrowUp";case"UIKeyInputDownArrow":return"ArrowDown";case"UIKeyInputLeftArrow":return"ArrowLeft";case"UIKeyInputRightArrow":return"ArrowRight";case"UIKeyInputEscape":return"Escape"}if(l.key==="\0"&&l.code==="NumpadDecimal")return"Delete";if(!c.isIE()&&!c.isEdge())return l.key;if(l.key.length!==1&&l.key!=="Unidentified")return l.key}var e=a(l);return e in g.default?g.default[e]:l.charCode?String.fromCharCode(l.charCode):"Unidentified"}function i(l){var e=d(l);if(e==="Unidentified")return null;if(e in h.default){var s=l.location;if(e==="Meta"&&s===0&&(s=2),e==="Clear"&&s===3){var u=a(l);u==="NumLock"&&(s=0)}if((s===void 0||s>3)&&(s=0),e==="Meta"){var f=a(l);if(f==="AltLeft")return m.default.XK_Meta_L;if(f==="AltRight")return m.default.XK_Meta_R}if(e==="Clear"){var A=a(l);if(A==="NumLock")return m.default.XK_Num_Lock}return h.default[e][s]}if(e.length!==1)return null;var v=e.charCodeAt();return v?C.default.lookup(v):null}},"8EBN":function(B,N,r){(function(y){y(r("VrN/"))})(function(y){"use strict";y.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 m=0;m<y.modeInfo.length;m++){var C=y.modeInfo[m];C.mimes&&(C.mime=C.mimes[0])}y.findModeByMIME=function(p){p=p.toLowerCase();for(var g=0;g<y.modeInfo.length;g++){var h=y.modeInfo[g];if(h.mime==p)return h;if(h.mimes){for(var c=0;c<h.mimes.length;c++)if(h.mimes[c]==p)return h}}if(/\+xml$/.test(p))return y.findModeByMIME("application/xml");if(/\+json$/.test(p))return y.findModeByMIME("application/json")},y.findModeByExtension=function(p){p=p.toLowerCase();for(var g=0;g<y.modeInfo.length;g++){var h=y.modeInfo[g];if(h.ext){for(var c=0;c<h.ext.length;c++)if(h.ext[c]==p)return h}}},y.findModeByFileName=function(p){for(var g=0;g<y.modeInfo.length;g++){var h=y.modeInfo[g];if(h.file&&h.file.test(p))return h}var c=p.lastIndexOf("."),o=c>-1&&p.substring(c+1,p.length);if(o)return y.findModeByExtension(o)},y.findModeByName=function(p){p=p.toLowerCase();for(var g=0;g<y.modeInfo.length;g++){var h=y.modeInfo[g];if(h.name.toLowerCase()==p)return h;if(h.alias){for(var c=0;c<h.alias.length;c++)if(h.alias[c].toLowerCase()==p)return h}}}})},"8IMR":function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};N.default=y},"8ISB":function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("6Hfg"));function m(p){return p&&p.__esModule?p:{default:p}}var C=y;N.default=C,B.exports=C},"8K/p":function(B,N,r){"use strict";function y(a){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(i){return typeof i}:y=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},y(a)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var m=h(r("Lo0S")),C=p(r("ItS6"));function p(a){return a&&a.__esModule?a:{default:a}}function g(){if(typeof WeakMap!="function")return null;var a=new WeakMap;return g=function(){return a},a}function h(a){if(a&&a.__esModule)return a;if(a===null||y(a)!=="object"&&typeof a!="function")return{default:a};var d=g();if(d&&d.has(a))return d.get(a);var i={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var e in a)if(Object.prototype.hasOwnProperty.call(a,e)){var s=l?Object.getOwnPropertyDescriptor(a,e):null;s&&(s.get||s.set)?Object.defineProperty(i,e,s):i[e]=a[e]}return i.default=a,d&&d.set(a,i),i}function c(a,d){if(!(a instanceof d))throw new TypeError("Cannot call a class as a function")}function o(a,d){for(var i=0;i<d.length;i++){var l=d[i];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(a,l.key,l)}}function n(a,d,i){return d&&o(a.prototype,d),i&&o(a,i),a}var t=function(){function a(){c(this,a),this._ctl=null,this._filter=null,this._numColors=0,this._palette=new Uint8Array(1024),this._len=0,this._zlibs=[];for(var d=0;d<4;d++)this._zlibs[d]=new C.default}return n(a,[{key:"decodeRect",value:function(i,l,e,s,u,f,A){if(this._ctl===null){if(u.rQwait("TIGHT compression-control",1))return!1;this._ctl=u.rQshift8();for(var v=0;v<4;v++)this._ctl>>v&1&&(this._zlibs[v].reset(),m.Info("Reset zlib stream "+v));this._ctl=this._ctl>>4}var x;if(this._ctl===8)x=this._fillRect(i,l,e,s,u,f,A);else if(this._ctl===9)x=this._jpegRect(i,l,e,s,u,f,A);else if(this._ctl===10)x=this._pngRect(i,l,e,s,u,f,A);else if((this._ctl&128)==0)x=this._basicRect(this._ctl,i,l,e,s,u,f,A);else throw new Error("Illegal tight compression received (ctl: "+this._ctl+")");return x&&(this._ctl=null),x}},{key:"_fillRect",value:function(i,l,e,s,u,f,A){if(u.rQwait("TIGHT",3))return!1;var v=u.rQi,x=u.rQ;return f.fillRect(i,l,e,s,[x[v+2],x[v+1],x[v]],!1),u.rQskipBytes(3),!0}},{key:"_jpegRect",value:function(i,l,e,s,u,f,A){var v=this._readData(u);return v===null?!1:(f.imageRect(i,l,e,s,"image/jpeg",v),!0)}},{key:"_pngRect",value:function(i,l,e,s,u,f,A){throw new Error("PNG received in standard Tight rect")}},{key:"_basicRect",value:function(i,l,e,s,u,f,A,v){if(this._filter===null)if(i&4){if(f.rQwait("TIGHT",1))return!1;this._filter=f.rQshift8()}else this._filter=0;var x=i&3,b;switch(this._filter){case 0:b=this._copyFilter(x,l,e,s,u,f,A,v);break;case 1:b=this._paletteFilter(x,l,e,s,u,f,A,v);break;case 2:b=this._gradientFilter(x,l,e,s,u,f,A,v);break;default:throw new Error("Illegal tight filter received (ctl: "+this._filter+")")}return b&&(this._filter=null),b}},{key:"_copyFilter",value:function(i,l,e,s,u,f,A,v){var x=s*u*3,b;if(x<12){if(f.rQwait("TIGHT",x))return!1;b=f.rQshiftBytes(x)}else{if(b=this._readData(f),b===null)return!1;this._zlibs[i].setInput(b),b=this._zlibs[i].inflate(x),this._zlibs[i].setInput(null)}return A.blitRgbImage(l,e,s,u,b,0,!1),!0}},{key:"_paletteFilter",value:function(i,l,e,s,u,f,A,v){if(this._numColors===0){if(f.rQwait("TIGHT palette",1))return!1;var x=f.rQpeek8()+1,b=x*3;if(f.rQwait("TIGHT palette",1+b))return!1;this._numColors=x,f.rQskipBytes(1),f.rQshiftTo(this._palette,b)}var w=this._numColors<=2?1:8,_=Math.floor((s*w+7)/8),T=_*u,S;if(T<12){if(f.rQwait("TIGHT",T))return!1;S=f.rQshiftBytes(T)}else{if(S=this._readData(f),S===null)return!1;this._zlibs[i].setInput(S),S=this._zlibs[i].inflate(T),this._zlibs[i].setInput(null)}return this._numColors==2?this._monoRect(l,e,s,u,S,this._palette,A):this._paletteRect(l,e,s,u,S,this._palette,A),this._numColors=0,!0}},{key:"_monoRect",value:function(i,l,e,s,u,f,A){for(var v=this._getScratchBuffer(e*s*4),x=Math.floor((e+7)/8),b=Math.floor(e/8),w=0;w<s;w++){var _=void 0,T=void 0,S=void 0;for(S=0;S<b;S++)for(var E=7;E>=0;E--)_=(w*e+S*8+7-E)*4,T=(u[w*x+S]>>E&1)*3,v[_]=f[T],v[_+1]=f[T+1],v[_+2]=f[T+2],v[_+3]=255;for(var I=7;I>=8-e%8;I--)_=(w*e+S*8+7-I)*4,T=(u[w*x+S]>>I&1)*3,v[_]=f[T],v[_+1]=f[T+1],v[_+2]=f[T+2],v[_+3]=255}A.blitRgbxImage(i,l,e,s,v,0,!1)}},{key:"_paletteRect",value:function(i,l,e,s,u,f,A){for(var v=this._getScratchBuffer(e*s*4),x=e*s*4,b=0,w=0;b<x;b+=4,w++){var _=u[w]*3;v[b]=f[_],v[b+1]=f[_+1],v[b+2]=f[_+2],v[b+3]=255}A.blitRgbxImage(i,l,e,s,v,0,!1)}},{key:"_gradientFilter",value:function(i,l,e,s,u,f,A,v){throw new Error("Gradient filter not implemented")}},{key:"_readData",value:function(i){if(this._len===0){if(i.rQwait("TIGHT",3))return null;var l;l=i.rQshift8(),this._len=l&127,l&128&&(l=i.rQshift8(),this._len|=(l&127)<<7,l&128&&(l=i.rQshift8(),this._len|=l<<14))}if(i.rQwait("TIGHT",this._len))return null;var e=i.rQshiftBytes(this._len);return this._len=0,e}},{key:"_getScratchBuffer",value:function(i){return(!this._scratchBuffer||this._scratchBuffer.length<i)&&(this._scratchBuffer=new Uint8Array(i)),this._scratchBuffer}}]),a}();N.default=t},"8OUc":function(B,N,r){"use strict";var y=r("q1tI"),m=r.n(y),C=r("TSYQ"),p=r.n(C),g=function(c){var o=c.className,n=c.customizeIcon,t=c.customizeIconProps,a=c.onMouseDown,d=c.onClick,i=c.children,l;return typeof n=="function"?l=n(t):l=n,y.createElement("span",{className:o,onMouseDown:function(s){s.preventDefault(),a&&a(s)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:d,"aria-hidden":!0},l!==void 0?l:y.createElement("span",{className:p()(o.split(/\s+/).map(function(e){return"".concat(e,"-icon")}))},i))};N.a=g},"8SMY":function(B,N,r){var y=r("n4Lv"),m=y.prepareDataCoordInfo,C=y.getStackedOnPoint;function p(h,c){var o=[];return c.diff(h).add(function(n){o.push({cmd:"+",idx:n})}).update(function(n,t){o.push({cmd:"=",idx:t,idx1:n})}).remove(function(n){o.push({cmd:"-",idx:n})}).execute(),o}function g(h,c,o,n,t,a,d,i){for(var l=p(h,c),e=[],s=[],u=[],f=[],A=[],v=[],x=[],b=m(t,c,d),w=m(a,h,i),_=0;_<l.length;_++){var T=l[_],S=!0;switch(T.cmd){case"=":var E=h.getItemLayout(T.idx),I=c.getItemLayout(T.idx1);(isNaN(E[0])||isNaN(E[1]))&&(E=I.slice()),e.push(E),s.push(I),u.push(o[T.idx]),f.push(n[T.idx1]),x.push(c.getRawIndex(T.idx1));break;case"+":var O=T.idx;e.push(t.dataToPoint([c.get(b.dataDimsForPoint[0],O),c.get(b.dataDimsForPoint[1],O)])),s.push(c.getItemLayout(O).slice()),u.push(C(b,t,c,O)),f.push(n[O]),x.push(c.getRawIndex(O));break;case"-":var O=T.idx,F=h.getRawIndex(O);F!==O?(e.push(h.getItemLayout(O)),s.push(a.dataToPoint([h.get(w.dataDimsForPoint[0],O),h.get(w.dataDimsForPoint[1],O)])),u.push(o[O]),f.push(C(w,a,h,O)),x.push(F)):S=!1}S&&(A.push(T),v.push(v.length))}v.sort(function(H,U){return x[H]-x[U]});for(var k=[],M=[],P=[],V=[],D=[],_=0;_<v.length;_++){var O=v[_];k[_]=e[O],M[_]=s[O],P[_]=u[O],V[_]=f[O],D[_]=A[O]}return{current:k,next:M,stackedOnCurrent:P,stackedOnNext:V,status:D}}B.exports=g},"8Skl":function(B,N,r){"use strict";var y=r("VTBJ"),m=r("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"},p=C,g=r("6VBw"),h=function(n,t){return m.createElement(g.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};h.displayName="DownOutlined";var c=N.a=m.forwardRef(h)},"8Th4":function(B,N,r){var y=r("3LNs"),m=r("/y7N"),C=r("7bkD"),p=r("Znkb"),g=["x","y"],h=["width","height"],c=y.extend({makeElOption:function(d,i,l,e,s){var u=l.axis,f=u.coordinateSystem,A=t(f,1-n(u)),v=f.dataToPoint(i)[0],x=e.get("type");if(x&&x!=="none"){var b=m.buildElStyle(e),w=o[x](u,v,A);w.style=b,d.graphicKey=w.type,d.pointer=w}var _=C.layout(l);m.buildCartesianSingleLabelElOption(i,d,_,l,e,s)},getHandleTransform:function(d,i,l){var e=C.layout(i,{labelInside:!1});return e.labelMargin=l.get("handle.margin"),{position:m.getTransformedPosition(i.axis,d,e),rotation:e.rotation+(e.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(d,i,l,e){var s=l.axis,u=s.coordinateSystem,f=n(s),A=t(u,f),v=d.position;v[f]+=i[f],v[f]=Math.min(A[1],v[f]),v[f]=Math.max(A[0],v[f]);var x=t(u,1-f),b=(x[1]+x[0])/2,w=[b,b];return w[f]=v[f],{position:v,rotation:d.rotation,cursorPoint:w,tooltipOption:{verticalAlign:"middle"}}}}),o={line:function(d,i,l){var e=m.makeLineShape([i,l[0]],[i,l[1]],n(d));return{type:"Line",subPixelOptimize:!0,shape:e}},shadow:function(d,i,l){var e=d.getBandWidth(),s=l[1]-l[0];return{type:"Rect",shape:m.makeRectShape([i-e/2,l[0]],[e,s],n(d))}}};function n(d){return d.isHorizontal()?0:1}function t(d,i){var l=d.getRect();return[l[g[i]],l[g[i]]+l[h[i]]]}p.registerAxisPointerClass("SingleAxisPointer",c);var a=c;B.exports=a},"8Uz6":function(B,N,r){var y=r("hNWo"),m=r("+TT/"),C=m.mergeLayoutParam,p=m.getLayoutParams,g=y.extend({type:"legend.scroll",setScrollDataIndex:function(o){this.option.scrollDataIndex=o},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(o,n,t,a){var d=p(o);g.superCall(this,"init",o,n,t,a),h(this,o,d)},mergeOption:function(o,n){g.superCall(this,"mergeOption",o,n),h(this,this.option,o)}});function h(o,n,t){var a=o.getOrient(),d=[1,1];d[a.index]=0,C(n,t,{type:"box",ignoreSize:d})}var c=g;B.exports=c},"8X+K":function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("bYtY"),p=r("4mN7"),g=p.fromPoints,h=r("9wZj"),c=r("FBjb"),o=r("8SMY"),n=r("IwbS"),t=r("4NO4"),a=r("1NG9"),d=a.Polyline,i=a.Polygon,l=r("6Ic6"),e=r("n4Lv"),s=e.prepareDataCoordInfo,u=e.getStackedOnPoint,f=r("sK/D"),A=f.createGridClipPath,v=f.createPolarClipPath;function x(k,M){if(k.length!==M.length)return;for(var P=0;P<k.length;P++){var V=k[P],D=M[P];if(V[0]!==D[0]||V[1]!==D[1])return}return!0}function b(k,M){var P=[],V=[],D=[],H=[];return g(k,P,V),g(M,D,H),Math.max(Math.abs(P[0]-D[0]),Math.abs(P[1]-D[1]),Math.abs(V[0]-H[0]),Math.abs(V[1]-H[1]))}function w(k){return typeof k=="number"?k:k?.5:0}function _(k,M,P){if(!P.valueDim)return[];for(var V=[],D=0,H=M.count();D<H;D++)V.push(u(P,k,M,D));return V}function T(k,M,P){for(var V=M.getBaseAxis(),D=V.dim==="x"||V.dim==="radius"?0:1,H=[],U=0;U<k.length-1;U++){var z=k[U+1],K=k[U];H.push(K);var G=[];switch(P){case"end":G[D]=z[D],G[1-D]=K[1-D],H.push(G);break;case"middle":var X=(K[D]+z[D])/2,Z=[];G[D]=Z[D]=X,G[1-D]=K[1-D],Z[1-D]=z[1-D],H.push(G),H.push(Z);break;default:G[D]=K[D],G[1-D]=z[1-D],H.push(G)}}return k[U]&&H.push(k[U]),H}function S(k,M){var P=k.getVisual("visualMeta");if(!P||!P.length||!k.count())return;if(M.type!=="cartesian2d")return;for(var V,D,H=P.length-1;H>=0;H--){var U=P[H].dimension,z=k.dimensions[U],K=k.getDimensionInfo(z);if(V=K&&K.coordDim,V==="x"||V==="y"){D=P[H];break}}if(!D)return;var G=M.getAxis(V),X=C.map(D.stops,function(Ue){return{coord:G.toGlobalCoord(G.dataToCoord(Ue.value)),color:Ue.color}}),Z=X.length,ee=D.outerColors.slice();Z&&X[0].coord>X[Z-1].coord&&(X.reverse(),ee.reverse());var Se=10,$=X[0].coord-Se,pe=X[Z-1].coord+Se,xe=pe-$;if(xe<.001)return"transparent";C.each(X,function(Ue){Ue.offset=(Ue.coord-$)/xe}),X.push({offset:Z?X[Z-1].offset:.5,color:ee[1]||"transparent"}),X.unshift({offset:Z?X[0].offset:.5,color:ee[0]||"transparent"});var _e=new n.LinearGradient(0,0,0,0,X,!0);return _e[V]=$,_e[V+"2"]=pe,_e}function E(k,M,P){var V=k.get("showAllSymbol"),D=V==="auto";if(V&&!D)return;var H=P.getAxesByScale("ordinal")[0];if(!H)return;if(D&&I(H,M))return;var U=M.mapDimension(H.dim),z={};return C.each(H.getViewLabels(),function(K){z[K.tickValue]=1}),function(K){return!z.hasOwnProperty(M.get(U,K))}}function I(k,M){var P=k.getExtent(),V=Math.abs(P[1]-P[0])/k.scale.count();isNaN(V)&&(V=0);for(var D=M.count(),H=Math.max(1,Math.round(D/5)),U=0;U<D;U+=H)if(c.getSymbolSize(M,U)[k.isHorizontal()?1:0]*1.5>V)return!1;return!0}function O(k,M,P){if(k.type==="cartesian2d"){var V=k.getBaseAxis().isHorizontal(),D=A(k,M,P);if(!P.get("clip",!0)){var H=D.shape,U=Math.max(H.width,H.height);V?(H.y-=U,H.height+=U*2):(H.x-=U,H.width+=U*2)}return D}else return v(k,M,P)}var F=l.extend({type:"line",init:function(){var k=new n.Group,M=new h;this.group.add(M.group),this._symbolDraw=M,this._lineGroup=k},render:function(k,M,P){var V=k.coordinateSystem,D=this.group,H=k.getData(),U=k.getModel("lineStyle"),z=k.getModel("areaStyle"),K=H.mapArray(H.getItemLayout),G=V.type==="polar",X=this._coordSys,Z=this._symbolDraw,ee=this._polyline,Se=this._polygon,$=this._lineGroup,pe=k.get("animation"),xe=!z.isEmpty(),_e=z.get("origin"),Ue=s(V,H,_e),ye=_(V,H,Ue),Be=k.get("showSymbol"),Q=Be&&!G&&E(k,H,V),ie=this._data;ie&&ie.eachItemGraphicEl(function(ae,Le){ae.__temp&&(D.remove(ae),ie.setItemGraphicEl(Le,null))}),Be||Z.remove(),D.add($);var Ve=!G&&k.get("step"),J;V&&V.getArea&&k.get("clip",!0)&&(J=V.getArea(),J.width!=null?(J.x-=.1,J.y-=.1,J.width+=.2,J.height+=.2):J.r0&&(J.r0-=.5,J.r1+=.5)),this._clipShapeForSymbol=J,ee&&X.type===V.type&&Ve===this._step?(xe&&!Se?Se=this._newPolygon(K,ye,V,pe):Se&&!xe&&($.remove(Se),Se=this._polygon=null),$.setClipPath(O(V,!1,k)),Be&&Z.updateData(H,{isIgnore:Q,clipShape:J}),H.eachItemGraphicEl(function(ae){ae.stopAnimation(!0)}),(!x(this._stackedOnPoints,ye)||!x(this._points,K))&&(pe?this._updateAnimation(H,ye,V,P,Ve,_e):(Ve&&(K=T(K,V,Ve),ye=T(ye,V,Ve)),ee.setShape({points:K}),Se&&Se.setShape({points:K,stackedOnPoints:ye})))):(Be&&Z.updateData(H,{isIgnore:Q,clipShape:J}),Ve&&(K=T(K,V,Ve),ye=T(ye,V,Ve)),ee=this._newPolyline(K,V,pe),xe&&(Se=this._newPolygon(K,ye,V,pe)),$.setClipPath(O(V,!0,k)));var W=S(H,V)||H.getVisual("color");ee.useStyle(C.defaults(U.getLineStyle(),{fill:"none",stroke:W,lineJoin:"bevel"}));var j=k.get("smooth");if(j=w(k.get("smooth")),ee.setShape({smooth:j,smoothMonotone:k.get("smoothMonotone"),connectNulls:k.get("connectNulls")}),Se){var Y=H.getCalculationInfo("stackedOnSeries"),me=0;Se.useStyle(C.defaults(z.getAreaStyle(),{fill:W,opacity:.7,lineJoin:"bevel"})),Y&&(me=w(Y.get("smooth"))),Se.setShape({smooth:j,stackedOnSmooth:me,smoothMonotone:k.get("smoothMonotone"),connectNulls:k.get("connectNulls")})}this._data=H,this._coordSys=V,this._stackedOnPoints=ye,this._points=K,this._step=Ve,this._valueOrigin=_e},dispose:function(){},highlight:function(k,M,P,V){var D=k.getData(),H=t.queryDataIndex(D,V);if(!(H instanceof Array)&&H!=null&&H>=0){var U=D.getItemGraphicEl(H);if(!U){var z=D.getItemLayout(H);if(!z)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(z[0],z[1]))return;U=new c(D,H),U.position=z,U.setZ(k.get("zlevel"),k.get("z")),U.ignore=isNaN(z[0])||isNaN(z[1]),U.__temp=!0,D.setItemGraphicEl(H,U),U.stopSymbolAnimation(!0),this.group.add(U)}U.highlight()}else l.prototype.highlight.call(this,k,M,P,V)},downplay:function(k,M,P,V){var D=k.getData(),H=t.queryDataIndex(D,V);if(H!=null&&H>=0){var U=D.getItemGraphicEl(H);U&&(U.__temp?(D.setItemGraphicEl(H,null),this.group.remove(U)):U.downplay())}else l.prototype.downplay.call(this,k,M,P,V)},_newPolyline:function(k){var M=this._polyline;return M&&this._lineGroup.remove(M),M=new d({shape:{points:k},silent:!0,z2:10}),this._lineGroup.add(M),this._polyline=M,M},_newPolygon:function(k,M){var P=this._polygon;return P&&this._lineGroup.remove(P),P=new i({shape:{points:k,stackedOnPoints:M},silent:!0}),this._lineGroup.add(P),this._polygon=P,P},_updateAnimation:function(k,M,P,V,D,H){var U=this._polyline,z=this._polygon,K=k.hostModel,G=o(this._data,k,this._stackedOnPoints,M,this._coordSys,P,this._valueOrigin,H),X=G.current,Z=G.stackedOnCurrent,ee=G.next,Se=G.stackedOnNext;if(D&&(X=T(G.current,P,D),Z=T(G.stackedOnCurrent,P,D),ee=T(G.next,P,D),Se=T(G.stackedOnNext,P,D)),b(X,ee)>3e3||z&&b(Z,Se)>3e3){U.setShape({points:ee}),z&&z.setShape({points:ee,stackedOnPoints:Se});return}U.shape.__points=G.current,U.shape.points=X,n.updateProps(U,{shape:{points:ee}},K),z&&(z.setShape({points:X,stackedOnPoints:Z}),n.updateProps(z,{shape:{points:ee,stackedOnPoints:Se}},K));for(var $=[],pe=G.status,xe=0;xe<pe.length;xe++){var _e=pe[xe].cmd;if(_e==="="){var Ue=k.getItemGraphicEl(pe[xe].idx1);Ue&&$.push({el:Ue,ptIdx:xe})}}U.animators&&U.animators.length&&U.animators[0].during(function(){for(var ye=0;ye<$.length;ye++){var Be=$[ye].el;Be.attr("position",U.shape.__points[$[ye].ptIdx])}})},remove:function(k){var M=this.group,P=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),P&&P.eachItemGraphicEl(function(V,D){V.__temp&&(M.remove(V),P.setItemGraphicEl(D,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});B.exports=F},"8XDt":function(B,N,r){r("qH13");var y=r("aX58"),m=y.registerPainter,C=r("6fms");m("vml",C)},"8hn6":function(B,N){var r="#eee",y=function(){return{axisLine:{lineStyle:{color:r}},axisTick:{lineStyle:{color:r}},axisLabel:{textStyle:{color:r}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:r}}}},m=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],C={color:m,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:r},crossStyle:{color:r},label:{color:"#000"}}},legend:{textStyle:{color:r}},textStyle:{color:r},title:{textStyle:{color:r}},toolbox:{iconStyle:{normal:{borderColor:r}}},dataZoom:{textStyle:{color:r}},visualMap:{textStyle:{color:r}},timeline:{lineStyle:{color:r},itemStyle:{normal:{color:m[1]}},label:{normal:{textStyle:{color:r}}},controlStyle:{normal:{color:r,borderColor:r}}},timeAxis:y(),logAxis:y(),valueAxis:y(),categoryAxis:y(),line:{symbol:"circle"},graph:{color:m},gauge:{title:{textStyle:{color:r}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};C.categoryAxis.splitLine.show=!1;var p=C;B.exports=p},"8nMs":function(B,N,r){var y=r("bYtY"),m=r("IwbS"),C=r("+rIm"),p=r("Znkb"),g=r("AVZG"),h=r("WN+l"),c=h.rectCoordAxisBuildSplitArea,o=h.rectCoordAxisHandleRemove,n=["axisLine","axisTickLabel","axisName"],t=["splitArea","splitLine","minorSplitLine"],a=p.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(d,i,l,e){this.group.removeAll();var s=this._axisGroup;if(this._axisGroup=new m.Group,this.group.add(this._axisGroup),!d.get("show"))return;var u=d.getCoordSysModel(),f=g.layout(u,d),A=new C(d,f);y.each(n,A.add,A),this._axisGroup.add(A.getGroup()),y.each(t,function(v){d.get(v+".show")&&this["_"+v](d,u)},this),m.groupTransition(s,this._axisGroup,d),a.superCall(this,"render",d,i,l,e)},remove:function(){o(this)},_splitLine:function(d,i){var l=d.axis;if(l.scale.isBlank())return;var e=d.getModel("splitLine"),s=e.getModel("lineStyle"),u=s.get("color");u=y.isArray(u)?u:[u];for(var f=i.coordinateSystem.getRect(),A=l.isHorizontal(),v=0,x=l.getTicksCoords({tickModel:e}),b=[],w=[],_=s.getLineStyle(),T=0;T<x.length;T++){var S=l.toGlobalCoord(x[T].coord);A?(b[0]=S,b[1]=f.y,w[0]=S,w[1]=f.y+f.height):(b[0]=f.x,b[1]=S,w[0]=f.x+f.width,w[1]=S);var E=v++%u.length,I=x[T].tickValue;this._axisGroup.add(new m.Line({anid:I!=null?"line_"+x[T].tickValue:null,subPixelOptimize:!0,shape:{x1:b[0],y1:b[1],x2:w[0],y2:w[1]},style:y.defaults({stroke:u[E]},_),silent:!0}))}},_minorSplitLine:function(d,i){var l=d.axis,e=d.getModel("minorSplitLine"),s=e.getModel("lineStyle"),u=i.coordinateSystem.getRect(),f=l.isHorizontal(),A=l.getMinorTicksCoords();if(!A.length)return;for(var v=[],x=[],b=s.getLineStyle(),w=0;w<A.length;w++)for(var _=0;_<A[w].length;_++){var T=l.toGlobalCoord(A[w][_].coord);f?(v[0]=T,v[1]=u.y,x[0]=T,x[1]=u.y+u.height):(v[0]=u.x,v[1]=T,x[0]=u.x+u.width,x[1]=T),this._axisGroup.add(new m.Line({anid:"minor_line_"+A[w][_].tickValue,subPixelOptimize:!0,shape:{x1:v[0],y1:v[1],x2:x[0],y2:x[1]},style:b,silent:!0}))}},_splitArea:function(d,i){c(this,this._axisGroup,d,i)}});a.extend({type:"xAxis"}),a.extend({type:"yAxis"})},"8nly":function(B,N,r){var y=r("mFDi"),m=r("4mN7"),C=r("QBsz"),p=r("BlVb");function g(c,o,n){if(this.name=c,this.geometries=o,n)n=[n[0],n[1]];else{var t=this.getBoundingRect();n=[t.x+t.width/2,t.y+t.height/2]}this.center=n}g.prototype={constructor:g,properties:null,getBoundingRect:function(){var c=this._rect;if(c)return c;for(var o=Number.MAX_VALUE,n=[o,o],t=[-o,-o],a=[],d=[],i=this.geometries,l=0;l<i.length;l++){if(i[l].type!=="polygon")continue;var e=i[l].exterior;m.fromPoints(e,a,d),C.min(n,n,a),C.max(t,t,d)}return l===0&&(n[0]=n[1]=t[0]=t[1]=0),this._rect=new y(n[0],n[1],t[0]-n[0],t[1]-n[1])},contain:function(c){var o=this.getBoundingRect(),n=this.geometries;if(!o.contain(c[0],c[1]))return!1;e:for(var t=0,a=n.length;t<a;t++){if(n[t].type!=="polygon")continue;var d=n[t].exterior,i=n[t].interiors;if(p.contain(d,c[0],c[1])){for(var l=0;l<(i?i.length:0);l++)if(p.contain(i[l]))continue e;return!0}}return!1},transformTo:function(c,o,n,t){var a=this.getBoundingRect(),d=a.width/a.height;n?t||(t=n/d):n=d*t;for(var i=new y(c,o,n,t),l=a.calculateTransform(i),e=this.geometries,s=0;s<e.length;s++){if(e[s].type!=="polygon")continue;for(var u=e[s].exterior,f=e[s].interiors,A=0;A<u.length;A++)C.applyTransform(u[A],u[A],l);for(var v=0;v<(f?f.length:0);v++)for(var A=0;A<f[v].length;A++)C.applyTransform(f[v][A],f[v][A],l)}a=this._rect,a.copy(i),this.center=[a.x+a.width/2,a.y+a.height/2]},cloneShallow:function(c){c==null&&(c=this.name);var o=new g(c,this.geometries,this.center);return o._rect=this._rect,o.transformTo=null,o}};var h=g;B.exports=h},"8waO":function(B,N,r){var y=r("ProS"),m=r("bYtY"),C=r("iLNv"),p=r("ZWlE");r("hJvP"),r("IXyC"),r("xRUu");var g=5;y.extendComponentView({type:"parallel",render:function(o,n,t){this._model=o,this._api=t,this._handlers||(this._handlers={},m.each(h,function(a,d){t.getZr().on(d,this._handlers[d]=m.bind(a,this))},this)),C.createOrUpdate(this,"_throttledDispatchExpand",o.get("axisExpandRate"),"fixRate")},dispose:function(o,n){m.each(this._handlers,function(t,a){n.getZr().off(a,t)}),this._handlers=null},_throttledDispatchExpand:function(o){this._dispatchExpand(o)},_dispatchExpand:function(o){o&&this._api.dispatchAction(m.extend({type:"parallelAxisExpand"},o))}});var h={mousedown:function(o){c(this,"click")&&(this._mouseDownPoint=[o.offsetX,o.offsetY])},mouseup:function(o){var n=this._mouseDownPoint;if(c(this,"click")&&n){var t=[o.offsetX,o.offsetY],a=Math.pow(n[0]-t[0],2)+Math.pow(n[1]-t[1],2);if(a>g)return;var d=this._model.coordinateSystem.getSlidedAxisExpandWindow([o.offsetX,o.offsetY]);d.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:d.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(o){if(this._mouseDownPoint||!c(this,"mousemove"))return;var n=this._model,t=n.coordinateSystem.getSlidedAxisExpandWindow([o.offsetX,o.offsetY]),a=t.behavior;a==="jump"&&this._throttledDispatchExpand.debounceNextCall(n.get("axisExpandDebounce")),this._throttledDispatchExpand(a==="none"?null:{axisExpandWindow:t.axisExpandWindow,animation:a==="jump"?null:!1})}};function c(o,n){var t=o._model;return t.get("axisExpandable")&&t.get("axisExpandTriggerOn")===n}y.registerPreprocessor(p)},"8x+h":function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("ProS"),p=r("bYtY"),g=r("K4ya"),h=r("Qxkt"),c=["#ddd"],o=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(a,d){var i=this.option;!d&&g.replaceVisualOption(i,a,["inBrush","outOfBrush"]);var l=i.inBrush=i.inBrush||{};i.outOfBrush=i.outOfBrush||{color:c},l.hasOwnProperty("liftZ")||(l.liftZ=5)},setAreas:function(a){if(!a)return;this.areas=p.map(a,function(d){return n(this.option,d)},this)},setBrushOption:function(a){this.brushOption=n(this.option,a),this.brushType=this.brushOption.brushType}});function n(a,d){return p.merge({brushType:a.brushType,brushMode:a.brushMode,transformable:a.transformable,brushStyle:new h(a.brushStyle).getItemStyle(),removeOnClick:a.removeOnClick,z:a.z},d,!0)}var t=o;B.exports=t},"8z0m":function(B,N,r){"use strict";var y=r("lSNA"),m=r.n(y),C=r("RIqP"),p=r.n(C),g=r("pVnL"),h=r.n(g),c=r("J4zp"),o=r.n(c),n=r("q1tI"),t=r.n(n),a=r("TSYQ"),d=r.n(a);function i(mt,ce){var le="cannot "+mt.method+" "+mt.action+" "+ce.status+"'",oe=new Error(le);return oe.status=ce.status,oe.method=mt.method,oe.url=mt.action,oe}function l(mt){var ce=mt.responseText||mt.response;if(!ce)return ce;try{return JSON.parse(ce)}catch(le){return ce}}function e(mt){var ce=new XMLHttpRequest;mt.onProgress&&ce.upload&&(ce.upload.onprogress=function(De){De.total>0&&(De.percent=De.loaded/De.total*100),mt.onProgress(De)});var le=new FormData;mt.data&&Object.keys(mt.data).forEach(function(fe){var De=mt.data[fe];if(Array.isArray(De)){De.forEach(function(He){le.append(fe+"[]",He)});return}le.append(fe,mt.data[fe])}),mt.file instanceof Blob?le.append(mt.filename,mt.file,mt.file.name):le.append(mt.filename,mt.file),ce.onerror=function(De){mt.onError(De)},ce.onload=function(){return ce.status<200||ce.status>=300?mt.onError(i(mt,ce),l(ce)):mt.onSuccess(l(ce),ce)},ce.open(mt.method,mt.action,!0),mt.withCredentials&&"withCredentials"in ce&&(ce.withCredentials=!0);var oe=mt.headers||{};return oe["X-Requested-With"]!==null&&ce.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(oe).forEach(function(fe){oe[fe]!==null&&ce.setRequestHeader(fe,oe[fe])}),ce.send(le),{abort:function(){ce.abort()}}}var s=+new Date,u=0;function f(){return"rc-upload-"+s+"-"+ ++u}function A(mt,ce){return mt.indexOf(ce,mt.length-ce.length)!==-1}var v=function(mt,ce){if(mt&&ce){var le=Array.isArray(ce)?ce:ce.split(","),oe=mt.name||"",fe=mt.type||"",De=fe.replace(/\/.*$/,"");return le.some(function(He){var je=He.trim();return je.charAt(0)==="."?A(oe.toLowerCase(),je.toLowerCase()):/\/\*$/.test(je)?De===je.replace(/\/.*$/,""):fe===je})}return!0};function x(mt,ce){var le=mt.createReader(),oe=[];function fe(){le.readEntries(function(De){var He=Array.prototype.slice.apply(De);oe=oe.concat(He);var je=!He.length;je?ce(oe):fe()})}fe()}var b=function(ce,le,oe){var fe=function De(He,je){je=je||"",He.isFile?He.file(function(We){oe(We)&&(He.fullPath&&!We.webkitRelativePath&&(Object.defineProperties(We,{webkitRelativePath:{writable:!0}}),We.webkitRelativePath=He.fullPath.replace(/^\//,""),Object.defineProperties(We,{webkitRelativePath:{writable:!1}})),le([We]))}):He.isDirectory&&x(He,function(We){We.forEach(function(nt){De(nt,""+je+He.name+"/")})})};ce.forEach(function(De){fe(De.webkitGetAsEntry())})},w=b,_=Object.assign||function(mt){for(var ce=1;ce<arguments.length;ce++){var le=arguments[ce];for(var oe in le)Object.prototype.hasOwnProperty.call(le,oe)&&(mt[oe]=le[oe])}return mt},T=function(){function mt(ce,le){var oe=[],fe=!0,De=!1,He=void 0;try{for(var je=ce[Symbol.iterator](),We;!(fe=(We=je.next()).done)&&!(oe.push(We.value),le&&oe.length===le);fe=!0);}catch(nt){De=!0,He=nt}finally{try{!fe&&je.return&&je.return()}finally{if(De)throw He}}return oe}return function(ce,le){if(Array.isArray(ce))return ce;if(Symbol.iterator in Object(ce))return mt(ce,le);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),S=function(){function mt(ce,le){for(var oe=0;oe<le.length;oe++){var fe=le[oe];fe.enumerable=fe.enumerable||!1,fe.configurable=!0,"value"in fe&&(fe.writable=!0),Object.defineProperty(ce,fe.key,fe)}}return function(ce,le,oe){return le&&mt(ce.prototype,le),oe&&mt(ce,oe),ce}}();function E(mt,ce,le){return ce in mt?Object.defineProperty(mt,ce,{value:le,enumerable:!0,configurable:!0,writable:!0}):mt[ce]=le,mt}function I(mt,ce){var le={};for(var oe in mt){if(ce.indexOf(oe)>=0)continue;if(!Object.prototype.hasOwnProperty.call(mt,oe))continue;le[oe]=mt[oe]}return le}function O(mt,ce){if(!(mt instanceof ce))throw new TypeError("Cannot call a class as a function")}function F(mt,ce){if(!mt)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ce&&(typeof ce=="object"||typeof ce=="function")?ce:mt}function k(mt,ce){if(typeof ce!="function"&&ce!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ce);mt.prototype=Object.create(ce&&ce.prototype,{constructor:{value:mt,enumerable:!1,writable:!0,configurable:!0}}),ce&&(Object.setPrototypeOf?Object.setPrototypeOf(mt,ce):mt.__proto__=ce)}var M=function(ce){return Object.keys(ce).reduce(function(le,oe){return(oe.substr(0,5)==="data-"||oe.substr(0,5)==="aria-"||oe==="role")&&(le[oe]=ce[oe]),le},{})},P=function(mt){k(ce,mt);function ce(){var le,oe,fe,De;O(this,ce);for(var He=arguments.length,je=Array(He),We=0;We<He;We++)je[We]=arguments[We];return De=(oe=(fe=F(this,(le=ce.__proto__||Object.getPrototypeOf(ce)).call.apply(le,[this].concat(je))),fe),fe.state={uid:f()},fe.reqs={},fe.onChange=function(nt){var xt=nt.target.files;fe.uploadFiles(xt),fe.reset()},fe.onClick=function(nt){var xt=fe.fileInput;if(!xt)return;var It=fe.props,ir=It.children,Me=It.onClick;ir&&ir.type==="button"&&(xt.parentNode.focus(),xt.parentNode.querySelector("button").blur()),xt.click(),Me&&Me(nt)},fe.onKeyDown=function(nt){nt.key==="Enter"&&fe.onClick()},fe.onFileDrop=function(nt){var xt=fe.props.multiple;if(nt.preventDefault(),nt.type==="dragover")return;if(fe.props.directory)w(Array.prototype.slice.call(nt.dataTransfer.items),fe.uploadFiles,function(ir){return v(ir,fe.props.accept)});else{var It=Array.prototype.slice.call(nt.dataTransfer.files).filter(function(ir){return v(ir,fe.props.accept)});xt===!1&&(It=It.slice(0,1)),fe.uploadFiles(It)}},fe.uploadFiles=function(nt){var xt=Array.prototype.slice.call(nt);xt.map(function(It){return It.uid=f(),It}).forEach(function(It){fe.upload(It,xt)})},fe.saveFileInput=function(nt){fe.fileInput=nt},oe),F(fe,De)}return S(ce,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(oe,fe){var De=this,He=this.props;if(!He.beforeUpload)return setTimeout(function(){return De.post(oe)},0);var je=He.beforeUpload(oe,fe);je&&je.then?je.then(function(We){var nt=Object.prototype.toString.call(We);return nt==="[object File]"||nt==="[object Blob]"?De.post(We):De.post(oe)}).catch(function(We){console.log(We)}):je!==!1&&setTimeout(function(){return De.post(oe)},0);return}},{key:"post",value:function(oe){var fe=this;if(!this._isMounted)return;var De=this.props,He=De.onStart,je=De.onProgress,We=De.transformFile,nt=We===void 0?function(xt){return xt}:We;new Promise(function(xt){var It=De.action;return typeof It=="function"&&(It=It(oe)),xt(It)}).then(function(xt){var It=oe.uid,ir=De.customRequest||e,Me=Promise.resolve(nt(oe)).then(function(ke){var re=De.data;return typeof re=="function"&&(re=re(ke)),Promise.all([ke,re])}).catch(function(ke){console.error(ke)});Me.then(function(ke){var re=T(ke,2),be=re[0],Ne=re[1],Ke={action:xt,filename:De.name,data:Ne,file:be,headers:De.headers,withCredentials:De.withCredentials,method:De.method||"post",onProgress:je?function(Qe){je(Qe,oe)}:null,onSuccess:function(ct,Lt){delete fe.reqs[It],De.onSuccess(ct,oe,Lt)},onError:function(ct,Lt){delete fe.reqs[It],De.onError(ct,Lt,oe)}};He(oe),fe.reqs[It]=ir(Ke)})})}},{key:"reset",value:function(){this.setState({uid:f()})}},{key:"abort",value:function(oe){var fe=this.reqs;if(oe){var De=oe;oe&&oe.uid&&(De=oe.uid),fe[De]&&fe[De].abort&&fe[De].abort(),delete fe[De]}else Object.keys(fe).forEach(function(He){fe[He]&&fe[He].abort&&fe[He].abort(),delete fe[He]})}},{key:"render",value:function(){var oe,fe=this.props,De=fe.component,He=fe.prefixCls,je=fe.className,We=fe.disabled,nt=fe.id,xt=fe.style,It=fe.multiple,ir=fe.accept,Me=fe.children,ke=fe.directory,re=fe.openFileDialogOnClick,be=fe.onMouseEnter,Ne=fe.onMouseLeave,Ke=I(fe,["component","prefixCls","className","disabled","id","style","multiple","accept","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"]),Qe=d()((oe={},E(oe,He,!0),E(oe,He+"-disabled",We),E(oe,je,je),oe)),ct=We?{}:{onClick:re?this.onClick:function(){},onKeyDown:re?this.onKeyDown:function(){},onMouseEnter:be,onMouseLeave:Ne,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return t.a.createElement(De,_({},ct,{className:Qe,role:"button",style:xt}),t.a.createElement("input",_({},M(Ke),{id:nt,type:"file",ref:this.saveFileInput,onClick:function(rr){return rr.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:ir,directory:ke?"directory":null,webkitdirectory:ke?"webkitdirectory":null,multiple:It,onChange:this.onChange})),Me)}}]),ce}(n.Component),V=P,D=Object.assign||function(mt){for(var ce=1;ce<arguments.length;ce++){var le=arguments[ce];for(var oe in le)Object.prototype.hasOwnProperty.call(le,oe)&&(mt[oe]=le[oe])}return mt},H=function(){function mt(ce,le){for(var oe=0;oe<le.length;oe++){var fe=le[oe];fe.enumerable=fe.enumerable||!1,fe.configurable=!0,"value"in fe&&(fe.writable=!0),Object.defineProperty(ce,fe.key,fe)}}return function(ce,le,oe){return le&&mt(ce.prototype,le),oe&&mt(ce,oe),ce}}();function U(mt,ce){if(!(mt instanceof ce))throw new TypeError("Cannot call a class as a function")}function z(mt,ce){if(!mt)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ce&&(typeof ce=="object"||typeof ce=="function")?ce:mt}function K(mt,ce){if(typeof ce!="function"&&ce!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ce);mt.prototype=Object.create(ce&&ce.prototype,{constructor:{value:mt,enumerable:!1,writable:!0,configurable:!0}}),ce&&(Object.setPrototypeOf?Object.setPrototypeOf(mt,ce):mt.__proto__=ce)}function G(){}var X=function(mt){K(ce,mt);function ce(){var le,oe,fe,De;U(this,ce);for(var He=arguments.length,je=Array(He),We=0;We<He;We++)je[We]=arguments[We];return De=(oe=(fe=z(this,(le=ce.__proto__||Object.getPrototypeOf(ce)).call.apply(le,[this].concat(je))),fe),fe.saveUploader=function(nt){fe.uploader=nt},oe),z(fe,De)}return H(ce,[{key:"abort",value:function(oe){this.uploader.abort(oe)}},{key:"render",value:function(){return t.a.createElement(V,D({},this.props,{ref:this.saveUploader}))}}]),ce}(n.Component);X.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:G,onError:G,onSuccess:G,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var Z=X,ee=Z,Se=function(mt,ce){var le={};for(var oe in mt)Object.prototype.hasOwnProperty.call(mt,oe)&&ce.indexOf(oe)<0&&(le[oe]=mt[oe]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,oe=Object.getOwnPropertySymbols(mt);fe<oe.length;fe++)ce.indexOf(oe[fe])<0&&Object.prototype.propertyIsEnumerable.call(mt,oe[fe])&&(le[oe[fe]]=mt[oe[fe]]);return le},$=function(ce,le){var oe=ce.style,fe=ce.height,De=Se(ce,["style","height"]);return n.createElement(Zt,h()({ref:le},De,{type:"drag",style:h()(h()({},oe),{height:fe})}))},pe=n.forwardRef($);pe.displayName="Dragger";var xe=pe,_e=r("MFj2"),Ue=r("gZBC"),ye=r.n(Ue),Be=r("+d4F"),Q=r.n(Be),ie=r("XAae"),Ve=r.n(ie),J=r("6xvX"),W=r.n(J),j=r("qPY4"),Y=r.n(j),me=r("QB+1"),ae=r.n(me),Le=r("Qs3X"),Ee=r.n(Le),ne=r("0n0R");function ge(){return!0}function Ie(mt){return h()(h()({},mt),{lastModified:mt.lastModified,lastModifiedDate:mt.lastModifiedDate,name:mt.name,size:mt.size,type:mt.type,uid:mt.uid,percent:0,originFileObj:mt})}function Ge(mt,ce){var le=mt.uid!==void 0?"uid":"name";return ce.filter(function(oe){return oe[le]===mt[le]})[0]}function ut(mt,ce){var le=mt.uid!==void 0?"uid":"name",oe=ce.filter(function(fe){return fe[le]!==mt[le]});return oe.length===ce.length?null:oe}var wt=function(){var ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",le=ce.split("/"),oe=le[le.length-1],fe=oe.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(fe)||[""])[0]},Pe=function(ce){return ce.indexOf("image/")===0},Dt=function(ce){if(ce.type&&!ce.thumbUrl)return Pe(ce.type);var le=ce.thumbUrl||ce.url,oe=wt(le);return/^data:image\//.test(le)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(oe)?!0:/^data:/.test(le)?!1:!oe},et=200;function _t(mt){return new Promise(function(ce){if(!mt.type||!Pe(mt.type)){ce("");return}var le=document.createElement("canvas");le.width=et,le.height=et,le.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(et,"px; height: ").concat(et,"px; z-index: 9999; display: none;"),document.body.appendChild(le);var oe=le.getContext("2d"),fe=new Image;fe.onload=function(){var De=fe.width,He=fe.height,je=et,We=et,nt=0,xt=0;De<He?(We=He*(et/De),xt=-(We-je)/2):(je=De*(et/He),nt=-(je-We)/2),oe.drawImage(fe,nt,xt,je,We);var It=le.toDataURL();document.body.removeChild(le),ce(It)},fe.src=window.URL.createObjectURL(mt)})}var Nt=r("3S7+"),Bt=r("CFYs"),Ft=r("H84U"),Gt=r("2/Rp"),qe=r("hkKa"),we=function(ce,le){var oe,fe=ce.listType,De=ce.previewFile,He=ce.onPreview,je=ce.onDownload,We=ce.onRemove,nt=ce.locale,xt=ce.iconRender,It=ce.isImageUrl,ir=ce.prefixCls,Me=ce.items,ke=Me===void 0?[]:Me,re=ce.showPreviewIcon,be=ce.showRemoveIcon,Ne=ce.showDownloadIcon,Ke=ce.removeIcon,Qe=ce.downloadIcon,ct=ce.progress,Lt=Object(qe.a)();n.useEffect(function(){if(fe!=="picture"&&fe!=="picture-card")return;(ke||[]).forEach(function(it){if(typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(it.originFileObj instanceof File||it.originFileObj instanceof Blob)||it.thumbUrl!==void 0)return;it.thumbUrl="",De&&De(it.originFileObj).then(function(ft){it.thumbUrl=ft||"",Lt()})})},[fe,ke,De]);var rr=function(ft,ht){return He?(ht.preventDefault(),He(ft)):void 0},dr=function(ft){typeof je=="function"?je(ft):ft.url&&window.open(ft.url)},Pt=function(ft){We&&We(ft)},jt=function(ft){if(xt)return xt(ft,fe);var ht=ft.status==="uploading",st=It&&It(ft)?n.createElement(Ve.a,null):n.createElement(W.a,null),kt=ht?n.createElement(ye.a,null):n.createElement(Q.a,null);return fe==="picture"?kt=ht?n.createElement(ye.a,null):st:fe==="picture-card"&&(kt=ht?nt.uploading:st),kt},Ct=function(ft,ht,st,kt){var Tt={type:"text",size:"small",title:kt,onClick:function(Er){ht(),Object(ne.b)(ft)&&ft.props.onClick&&ft.props.onClick(Er)},className:"".concat(st,"-list-item-card-actions-btn")};if(Object(ne.b)(ft)){var ar=Object(ne.a)(ft,h()(h()({},ft.props),{onClick:function(){}}));return n.createElement(Gt.a,h()({},Tt,{icon:ar}))}return n.createElement(Gt.a,Tt,n.createElement("span",null,ft))};n.useImperativeHandle(le,function(){return{handlePreview:rr,handleDownload:dr}});var Rt=n.useContext(Ft.b),pt=Rt.getPrefixCls,ot=Rt.direction,gt=pt("upload",ir),Ye=ke.map(function(it){var ft,ht,st,kt=jt(it),Tt=n.createElement("div",{className:"".concat(gt,"-text-icon")},kt);if(fe==="picture"||fe==="picture-card")if(it.status==="uploading"||!it.thumbUrl&&!it.url){var ar,Qt=d()((ar={},m()(ar,"".concat(gt,"-list-item-thumbnail"),!0),m()(ar,"".concat(gt,"-list-item-file"),it.status!=="uploading"),ar));Tt=n.createElement("div",{className:Qt},kt)}else{var Er,Ir=It&&It(it)?n.createElement("img",{src:it.thumbUrl||it.url,alt:it.name,className:"".concat(gt,"-list-item-image")}):kt,jr=d()((Er={},m()(Er,"".concat(gt,"-list-item-thumbnail"),!0),m()(Er,"".concat(gt,"-list-item-file"),It&&!It(it)),Er));Tt=n.createElement("a",{className:jr,onClick:function(On){return rr(it,On)},href:it.url||it.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Ir)}if(it.status==="uploading"){var zr="percent"in it?n.createElement(Bt.a,h()({},ct,{type:"line",percent:it.percent})):null;st=n.createElement("div",{className:"".concat(gt,"-list-item-progress"),key:"progress"},zr)}var hn=d()((ft={},m()(ft,"".concat(gt,"-list-item"),!0),m()(ft,"".concat(gt,"-list-item-").concat(it.status),!0),m()(ft,"".concat(gt,"-list-item-list-type-").concat(fe),!0),ft)),gn=typeof it.linkProps=="string"?JSON.parse(it.linkProps):it.linkProps,Br=be?Ct(Ke||n.createElement(ae.a,null),function(){return Pt(it)},gt,nt.removeFile):null,ln=Ne&&it.status==="done"?Ct(Qe||n.createElement(Ee.a,null),function(){return dr(it)},gt,nt.downloadFile):null,Xr=fe!=="picture-card"&&n.createElement("span",{key:"download-delete",className:"".concat(gt,"-list-item-card-actions ").concat(fe==="picture"?"picture":"")},ln,Br),cr=d()((ht={},m()(ht,"".concat(gt,"-list-item-name"),!0),m()(ht,"".concat(gt,"-list-item-name-icon-count-").concat([ln,Br].filter(function(Vn){return Vn}).length),!0),ht)),wr=it.url?[n.createElement("a",h()({key:"view",target:"_blank",rel:"noopener noreferrer",className:cr,title:it.name},gn,{href:it.url,onClick:function(On){return rr(it,On)}}),it.name),Xr]:[n.createElement("span",{key:"view",className:cr,onClick:function(On){return rr(it,On)},title:it.name},it.name),Xr],hr={pointerEvents:"none",opacity:.5},Ar=re?n.createElement("a",{href:it.url||it.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:it.url||it.thumbUrl?void 0:hr,onClick:function(On){return rr(it,On)},title:nt.previewFile},n.createElement(Y.a,null)):null,kr=fe==="picture-card"&&it.status!=="uploading"&&n.createElement("span",{className:"".concat(gt,"-list-item-actions")},Ar,it.status==="done"&&ln,Br),nn;it.response&&typeof it.response=="string"?nn=it.response:nn=it.error&&it.error.statusText||nt.uploadError;var wn=n.createElement("span",null,Tt,wr),oi=n.createElement("div",{className:hn},n.createElement("div",{className:"".concat(gt,"-list-item-info")},wn),kr,n.createElement(_e.a,{transitionName:"fade",component:""},st)),tn=d()(m()({},"".concat(gt,"-list-picture-card-container"),fe==="picture-card"));return n.createElement("div",{key:it.uid,className:tn},it.status==="error"?n.createElement(Nt.a,{title:nn,getPopupContainer:function(On){return On.parentNode}},oi):n.createElement("span",null,oi))}),$e=d()((oe={},m()(oe,"".concat(gt,"-list"),!0),m()(oe,"".concat(gt,"-list-").concat(fe),!0),m()(oe,"".concat(gt,"-list-rtl"),ot==="rtl"),oe)),Je=fe==="picture-card"?"animate-inline":"animate";return n.createElement(_e.a,{transitionName:"".concat(gt,"-").concat(Je),component:"div",className:$e},Ye)},ue=n.forwardRef(we);ue.displayName="UploadList",ue.defaultProps={listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:_t,isImageUrl:Dt};var vt=ue,at=r("YMnH"),Ae=r("ZvpZ"),Xt=r("uaoM"),Ot=r("sPtV"),rt=function(ce,le){var oe,fe=ce.fileList,De=ce.defaultFileList,He=ce.onRemove,je=ce.showUploadList,We=ce.listType,nt=ce.onPreview,xt=ce.onDownload,It=ce.previewFile,ir=ce.disabled,Me=ce.locale,ke=ce.iconRender,re=ce.isImageUrl,be=ce.progress,Ne=ce.prefixCls,Ke=ce.className,Qe=ce.type,ct=ce.children,Lt=ce.style,rr=Object(Ot.a)(fe||De||[]),dr=o()(rr,2),Pt=dr[0],jt=dr[1],Ct=n.useState("drop"),Rt=o()(Ct,2),pt=Rt[0],ot=Rt[1],gt=n.useRef();n.useEffect(function(){jt(fe||De||[]),Object(Xt.a)("fileList"in ce||!("value"in ce),"Upload","`value` is not a valid prop, do you mean `fileList`?")},[]),n.useEffect(function(){"fileList"in ce&&jt(fe||[])},[fe]);var Ye=function(wr){"fileList"in ce||jt(wr.fileList);var hr=ce.onChange;hr&&hr(h()(h()({},wr),{fileList:p()(wr.fileList)}))},$e=function(wr){var hr=Ie(wr);hr.status="uploading";var Ar=Pt().concat(),kr=Ar.findIndex(function(nn){var wn=nn.uid;return wn===hr.uid});kr===-1?Ar.push(hr):Ar[kr]=hr,Ye({file:hr,fileList:Ar})},Je=function(wr,hr,Ar){try{typeof wr=="string"&&(wr=JSON.parse(wr))}catch(nn){}var kr=Ge(hr,Pt());if(!kr)return;kr.status="done",kr.response=wr,kr.xhr=Ar,Ye({file:h()({},kr),fileList:Pt().concat()})},it=function(wr,hr){var Ar=Ge(hr,Pt());if(!Ar)return;Ar.percent=wr.percent,Ye({event:wr,file:h()({},Ar),fileList:Pt().concat()})},ft=function(wr,hr,Ar){var kr=Ge(Ar,Pt());if(!kr)return;kr.error=wr,kr.response=hr,kr.status="error",Ye({file:h()({},kr),fileList:Pt().concat()})},ht=function(wr){Promise.resolve(typeof He=="function"?He(wr):He).then(function(hr){if(hr===!1)return;var Ar=ut(wr,Pt());Ar&&(wr.status="removed",gt.current&>.current.abort(wr),Ye({file:wr,fileList:Ar}))})},st=function(wr){ot(wr.type)},kt=function(wr,hr){var Ar=ce.beforeUpload;if(!Ar)return!0;var kr=Ar(wr,hr);if(kr===!1){var nn=[];return Pt().concat(hr.map(Ie)).forEach(function(wn){nn.every(function(oi){return oi.uid!==wn.uid})&&nn.push(wn)}),Ye({file:wr,fileList:nn}),!1}return kr&&kr.then?kr:!0},Tt=Object(qe.a)();n.useImperativeHandle(le,function(){return{onStart:$e,onSuccess:Je,onProgress:it,onError:ft,fileList:Pt(),upload:gt.current,forceUpdate:Tt}});var ar=function(wr){var hr=je.showRemoveIcon,Ar=je.showPreviewIcon,kr=je.showDownloadIcon,nn=je.removeIcon,wn=je.downloadIcon;return n.createElement(vt,{listType:We,items:Pt(),previewFile:It,onPreview:nt,onDownload:xt,onRemove:ht,showRemoveIcon:!ir&&hr,showPreviewIcon:Ar,showDownloadIcon:kr,removeIcon:nn,downloadIcon:wn,iconRender:ke,locale:h()(h()({},wr),Me),isImageUrl:re,progress:be})},Qt=n.useContext(Ft.b),Er=Qt.getPrefixCls,Ir=Qt.direction,jr=Er("upload",Ne),zr=h()(h()({onStart:$e,onError:ft,onProgress:it,onSuccess:Je},ce),{prefixCls:jr,beforeUpload:kt});delete zr.className,delete zr.style,(!ct||ir)&&delete zr.id;var hn=je?n.createElement(at.a,{componentName:"Upload",defaultLocale:Ae.a.Upload},ar):null;if(Qe==="drag"){var gn,Br=d()(jr,(gn={},m()(gn,"".concat(jr,"-drag"),!0),m()(gn,"".concat(jr,"-drag-uploading"),Pt().some(function(cr){return cr.status==="uploading"})),m()(gn,"".concat(jr,"-drag-hover"),pt==="dragover"),m()(gn,"".concat(jr,"-disabled"),ir),m()(gn,"".concat(jr,"-rtl"),Ir==="rtl"),gn),Ke);return n.createElement("span",null,n.createElement("div",{className:Br,onDrop:st,onDragOver:st,onDragLeave:st,style:Lt},n.createElement(ee,h()({},zr,{ref:gt,className:"".concat(jr,"-btn")}),n.createElement("div",{className:"".concat(jr,"-drag-container")},ct))),hn)}var ln=d()(jr,(oe={},m()(oe,"".concat(jr,"-select"),!0),m()(oe,"".concat(jr,"-select-").concat(We),!0),m()(oe,"".concat(jr,"-disabled"),ir),m()(oe,"".concat(jr,"-rtl"),Ir==="rtl"),oe)),Xr=n.createElement("div",{className:ln,style:ct?void 0:{display:"none"}},n.createElement(ee,h()({},zr,{ref:gt})));return We==="picture-card"?n.createElement("span",{className:d()(Ke,"".concat(jr,"-picture-card-wrapper"))},hn,Xr):n.createElement("span",{className:Ke},Xr,hn)},Et=n.forwardRef(rt);Et.Dragger=xe,Et.displayName="Upload",Et.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:ge,showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0};var Zt=Et;Zt.Dragger=xe;var vr=N.a=Zt},"98bh":function(B,N,r){var y=r("ProS"),m=r("5GtS"),C=r("bYtY"),p=r("4NO4"),g=r("OELB"),h=g.getPercentWithPrecision,c=r("cCMj"),o=r("KxfA"),n=o.retrieveRawAttr,t=r("D5nY"),a=t.makeSeriesEncodeForNameBased,d=r("xKMd"),i=y.extendSeriesModel({type:"series.pie",init:function(e){i.superApply(this,"init",arguments),this.legendVisualProvider=new d(C.bind(this.getData,this),C.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(e)},mergeOption:function(e){i.superCall(this,"mergeOption",e),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(e,s){return m(this,{coordDimensions:["value"],encodeDefaulter:C.curry(a,this)})},_createSelectableList:function(){for(var e=this.getRawData(),s=e.mapDimension("value"),u=[],f=0,A=e.count();f<A;f++)u.push({name:e.getName(f),value:e.get(s,f),selected:n(e,f,"selected")});return u},getDataParams:function(e){var s=this.getData(),u=i.superCall(this,"getDataParams",e),f=[];return s.each(s.mapDimension("value"),function(A){f.push(A)}),u.percent=h(f,e,s.hostModel.get("percentPrecision")),u.$vars.push("percent"),u},_defaultLabelLine:function(e){p.defaultEmphasis(e,"labelLine",["show"]);var s=e.labelLine,u=e.emphasis.labelLine;s.show=s.show&&e.label.show,u.show=u.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(i,c);var l=i;B.exports=l},"9H2F":function(B,N,r){var y=r("bYtY"),m=y.assert,C=y.isArray,p=r("Tghj"),g=p.__DEV__;function h(d){return new c(d)}function c(d){d=d||{},this._reset=d.reset,this._plan=d.plan,this._count=d.count,this._onDirty=d.onDirty,this._dirty=!0,this.context}var o=c.prototype;o.perform=function(d){var i=this._upstream,l=d&&d.skip;if(this._dirty&&i){var e=this.context;e.data=e.outputData=i.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var s;this._plan&&!l&&(s=this._plan(this.context));var u=x(this._modBy),f=this._modDataCount||0,A=x(d&&d.modBy),v=d&&d.modDataCount||0;(u!==A||f!==v)&&(s="reset");function x(O){return!(O>=1)&&(O=1),O}var b;(this._dirty||s==="reset")&&(this._dirty=!1,b=a(this,l)),this._modBy=A,this._modDataCount=v;var w=d&&d.step;if(i?this._dueEnd=i._outputDueEnd:this._dueEnd=this._count?this._count(this.context):Infinity,this._progress){var _=this._dueIndex,T=Math.min(w!=null?this._dueIndex+w:Infinity,this._dueEnd);if(!l&&(b||_<T)){var S=this._progress;if(C(S))for(var E=0;E<S.length;E++)t(this,S[E],_,T,A,v);else t(this,S,_,T,A,v)}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 n=function(){var d,i,l,e,s,u={reset:function(v,x,b,w){i=v,d=x,l=b,e=w,s=Math.ceil(e/l),u.next=l>1&&e>0?A:f}};return u;function f(){return i<d?i++:null}function A(){var v=i%s*l+Math.ceil(i/s),x=i>=d?null:v<e?v:i;return i++,x}}();o.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)};function t(d,i,l,e,s,u){n.reset(l,e,s,u),d._callingProgress=i,d._callingProgress({start:l,end:e,count:e-l,next:n.next},d.context)}function a(d,i){d._dueIndex=d._outputDueEnd=d._dueEnd=0,d._settedOutputEnd=null;var l,e;!i&&d._reset&&(l=d._reset(d.context),l&&l.progress&&(e=l.forceFirstProgress,l=l.progress),C(l)&&!l.length&&(l=null)),d._progress=l,d._modBy=d._modDataCount=null;var s=d._downstream;return s&&s.dirty(),e}o.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},o.pipe=function(d){(this._downstream!==d||this._dirty)&&(this._downstream=d,d._upstream=this,d.dirty())},o.dispose=function(){if(this._disposed)return;this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0},o.getUpstream=function(){return this._upstream},o.getDownstream=function(){return this._downstream},o.setOutputEnd=function(d){this._outputDueEnd=this._settedOutputEnd=d},N.createTask=h},"9KIM":function(B,N,r){var y=r("mFDi"),m=r("xSat"),C=m.onIrrelevantElement,p=r("IwbS");function g(n){return n=o(n),function(t,a){return p.clipPointsByRect(t,n)}}function h(n,t){return n=o(n),function(a){var d=t!=null?t:a,i=d?n.width:n.height,l=d?n.x:n.y;return[l,l+(i||0)]}}function c(n,t,a){return n=o(n),function(d,i,l){return n.contain(i[0],i[1])&&!C(d,t,a)}}function o(n){return y.create(n)}N.makeRectPanelClipPath=g,N.makeLinearBrushOtherExtent=h,N.makeRectIsTargetByCursor=c},"9ama":function(B,N,r){},"9eas":function(B,N,r){r("HM/N"),r("tBnm")},"9hCq":function(B,N,r){var y=r("IwbS"),m=r("+TT/"),C=r("bYtY"),p=r("VaxA"),g=p.wrapTreePathInfo,h=8,c=8,o=5;function n(i){this.group=new y.Group,i.add(this.group)}n.prototype={constructor:n,render:function(i,l,e,s){var u=i.getModel("breadcrumb"),f=this.group;if(f.removeAll(),!u.get("show")||!e)return;var A=u.getModel("itemStyle"),v=A.getModel("textStyle"),x={pos:{left:u.get("left"),right:u.get("right"),top:u.get("top"),bottom:u.get("bottom")},box:{width:l.getWidth(),height:l.getHeight()},emptyItemWidth:u.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(e,x,v),this._renderContent(i,x,A,v,s),m.positionElement(f,x.pos,x.box)},_prepare:function(i,l,e){for(var s=i;s;s=s.parentNode){var u=s.getModel().get("name"),f=e.getTextRect(u),A=Math.max(f.width+h*2,l.emptyItemWidth);l.totalWidth+=A+c,l.renderList.push({node:s,text:u,width:A})}},_renderContent:function(i,l,e,s,u){for(var f=0,A=l.emptyItemWidth,v=i.get("breadcrumb.height"),x=m.getAvailableSize(l.pos,l.box),b=l.totalWidth,w=l.renderList,_=w.length-1;_>=0;_--){var T=w[_],S=T.node,E=T.width,I=T.text;b>x.width&&(b-=E-A,E=A,I=null);var O=new y.Polygon({shape:{points:t(f,0,E,v,_===w.length-1,_===0)},style:C.defaults(e.getItemStyle(),{lineJoin:"bevel",text:I,textFill:s.getTextColor(),textFont:s.getFont()}),z:10,onclick:C.curry(u,S)});this.group.add(O),a(O,i,S),f+=E+c}},remove:function(){this.group.removeAll()}};function t(i,l,e,s,u,f){var A=[[u?i:i-o,l],[i+e,l],[i+e,l+s],[u?i:i-o,l+s]];return!f&&A.splice(2,0,[i+e+o,l+s/2]),!u&&A.push([i,l+s/2]),A}function a(i,l,e){i.eventData={componentType:"series",componentSubType:"treemap",componentIndex:l.componentIndex,seriesIndex:l.componentIndex,seriesName:l.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:e&&e.dataIndex,name:e&&e.name},treePathInfo:e&&g(e,l)}}var d=n;B.exports=d},"9u0u":function(B,N,r){var y=r("bYtY");function m(p,g){var h={};return y.each(p,function(c){c.each(c.mapDimension("value"),function(o,n){var t="ec-"+c.getName(n);h[t]=h[t]||[],isNaN(o)||h[t].push(o)})}),p[0].map(p[0].mapDimension("value"),function(c,o){for(var n="ec-"+p[0].getName(o),t=0,a=Infinity,d=-Infinity,i=h[n].length,l=0;l<i;l++)a=Math.min(a,h[n][l]),d=Math.max(d,h[n][l]),t+=h[n][l];var e;return g==="min"?e=a:g==="max"?e=d:g==="average"?e=t/i:e=t,i===0?NaN:e})}function C(p){var g={};p.eachSeriesByType("map",function(h){var c=h.getHostGeoModel(),o=c?"o"+c.id:"i"+h.getMapType();(g[o]=g[o]||[]).push(h)}),y.each(g,function(h,c){for(var o=m(y.map(h,function(t){return t.getData()}),h[0].get("mapValueCalculation")),n=0;n<h.length;n++)h[n].originalData=h[n].getData();for(var n=0;n<h.length;n++)h[n].seriesGroup=h,h[n].needsDrawMap=n===0&&!h[n].getHostGeoModel(),h[n].setData(o.cloneShallow()),h[n].mainSeries=h[0]})}B.exports=C},"9wZj":function(B,N,r){var y=r("IwbS"),m=r("FBjb"),C=r("bYtY"),p=C.isObject;function g(a){this.group=new y.Group,this._symbolCtor=a||m}var h=g.prototype;function c(a,d,i,l){return d&&!isNaN(d[0])&&!isNaN(d[1])&&!(l.isIgnore&&l.isIgnore(i))&&!(l.clipShape&&!l.clipShape.contain(d[0],d[1]))&&a.getItemVisual(i,"symbol")!=="none"}h.updateData=function(a,d){d=o(d);var i=this.group,l=a.hostModel,e=this._data,s=this._symbolCtor,u=n(a);e||i.removeAll(),a.diff(e).add(function(f){var A=a.getItemLayout(f);if(c(a,A,f,d)){var v=new s(a,f,u);v.attr("position",A),a.setItemGraphicEl(f,v),i.add(v)}}).update(function(f,A){var v=e.getItemGraphicEl(A),x=a.getItemLayout(f);if(!c(a,x,f,d)){i.remove(v);return}v?(v.updateData(a,f,u),y.updateProps(v,{position:x},l)):(v=new s(a,f),v.attr("position",x)),i.add(v),a.setItemGraphicEl(f,v)}).remove(function(f){var A=e.getItemGraphicEl(f);A&&A.fadeOut(function(){i.remove(A)})}).execute(),this._data=a},h.isPersistent=function(){return!0},h.updateLayout=function(){var a=this._data;a&&a.eachItemGraphicEl(function(d,i){var l=a.getItemLayout(i);d.attr("position",l)})},h.incrementalPrepareUpdate=function(a){this._seriesScope=n(a),this._data=null,this.group.removeAll()},h.incrementalUpdate=function(a,d,i){i=o(i);function l(f){f.isGroup||(f.incremental=f.useHoverLayer=!0)}for(var e=a.start;e<a.end;e++){var s=d.getItemLayout(e);if(c(d,s,e,i)){var u=new this._symbolCtor(d,e,this._seriesScope);u.traverse(l),u.attr("position",s),this.group.add(u),d.setItemGraphicEl(e,u)}}};function o(a){return a!=null&&!p(a)&&(a={isIgnore:a}),a||{}}h.remove=function(a){var d=this.group,i=this._data;i&&a?i.eachItemGraphicEl(function(l){l.fadeOut(function(){d.remove(l)})}):d.removeAll()};function n(a){var d=a.hostModel;return{itemStyle:d.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:d.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:d.get("symbolRotate"),symbolOffset:d.get("symbolOffset"),hoverAnimation:d.get("hoverAnimation"),labelModel:d.getModel("label"),hoverLabelModel:d.getModel("emphasis.label"),cursorStyle:d.get("cursor")}}var t=g;B.exports=t},"9yH6":function(B,N,r){"use strict";var y=r("lSNA"),m=r.n(y),C=r("pVnL"),p=r.n(C),g=r("q1tI"),h=r("x1Ya"),c=r("TSYQ"),o=r.n(c),n=r("H84U"),t=g.createContext(null),a=t.Provider,d=t,i=r("cDf5"),l=r.n(i);function e(P,V){typeof P=="function"?P(V):l()(P)==="object"&&P&&"current"in P&&(P.current=V)}function s(){for(var P=arguments.length,V=new Array(P),D=0;D<P;D++)V[D]=arguments[D];return function(H){V.forEach(function(U){e(U,H)})}}var u=r("uaoM"),f=function(P,V){var D={};for(var H in P)Object.prototype.hasOwnProperty.call(P,H)&&V.indexOf(H)<0&&(D[H]=P[H]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,H=Object.getOwnPropertySymbols(P);U<H.length;U++)V.indexOf(H[U])<0&&Object.prototype.propertyIsEnumerable.call(P,H[U])&&(D[H[U]]=P[H[U]]);return D},A=function(V,D){var H,U=g.useContext(d),z=g.useContext(n.b),K=z.getPrefixCls,G=z.direction,X=g.useRef(),Z=s(D,X);g.useEffect(function(){Object(u.a)(!("optionType"in V),"Radio","`optionType` is only support in Radio.Group.")},[]);var ee=function(ie){V.onChange&&V.onChange(ie),(U==null?void 0:U.onChange)&&U.onChange(ie)},Se=V.prefixCls,$=V.className,pe=V.children,xe=V.style,_e=f(V,["prefixCls","className","children","style"]),Ue=K("radio",Se),ye=p()({},_e);U&&(ye.name=U.name,ye.onChange=ee,ye.checked=V.value===U.value,ye.disabled=V.disabled||U.disabled);var Be=o()($,(H={},m()(H,"".concat(Ue,"-wrapper"),!0),m()(H,"".concat(Ue,"-wrapper-checked"),ye.checked),m()(H,"".concat(Ue,"-wrapper-disabled"),ye.disabled),m()(H,"".concat(Ue,"-wrapper-rtl"),G==="rtl"),H));return g.createElement("label",{className:Be,style:xe,onMouseEnter:V.onMouseEnter,onMouseLeave:V.onMouseLeave},g.createElement(h.a,p()({},ye,{prefixCls:Ue,ref:Z})),pe!==void 0?g.createElement("span",null,pe):null)},v=g.forwardRef(A);v.displayName="Radio",v.defaultProps={type:"radio"};var x=v,b=r("J4zp"),w=r.n(b),_=r("6cGi"),T=r("3Nzz"),S=g.forwardRef(function(P,V){var D=g.useContext(n.b),H=D.getPrefixCls,U=D.direction,z=g.useContext(T.b),K=Object(_.a)(P.defaultValue,{value:P.value}),G=w()(K,2),X=G[0],Z=G[1],ee=function(pe){var xe=X,_e=pe.target.value;"value"in P||Z(_e);var Ue=P.onChange;Ue&&_e!==xe&&Ue(pe)},Se=function(){var pe,xe=P.prefixCls,_e=P.className,Ue=_e===void 0?"":_e,ye=P.options,Be=P.optionType,Q=P.buttonStyle,ie=P.disabled,Ve=P.children,J=P.size,W=P.style,j=P.id,Y=P.onMouseEnter,me=P.onMouseLeave,ae=H("radio",xe),Le="".concat(ae,"-group"),Ee=Ve;if(ye&&ye.length>0){var ne=Be==="button"?"".concat(ae,"-button"):ae;Ee=ye.map(function(Ge){return typeof Ge=="string"?g.createElement(x,{ref:V,key:Ge,prefixCls:ne,disabled:ie,value:Ge,checked:X===Ge},Ge):g.createElement(x,{ref:V,key:"radio-group-value-options-".concat(Ge.value),prefixCls:ne,disabled:Ge.disabled||ie,value:Ge.value,checked:X===Ge.value,style:Ge.style},Ge.label)})}var ge=J||z,Ie=o()(Le,"".concat(Le,"-").concat(Q),(pe={},m()(pe,"".concat(Le,"-").concat(ge),ge),m()(pe,"".concat(Le,"-rtl"),U==="rtl"),pe),Ue);return g.createElement("div",{className:Ie,style:W,onMouseEnter:Y,onMouseLeave:me,id:j},Ee)};return g.createElement(a,{value:{onChange:ee,value:X,disabled:P.disabled,name:P.name}},Se())});S.defaultProps={buttonStyle:"outline"};var E=g.memo(S),I=function(P,V){var D={};for(var H in P)Object.prototype.hasOwnProperty.call(P,H)&&V.indexOf(H)<0&&(D[H]=P[H]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,H=Object.getOwnPropertySymbols(P);U<H.length;U++)V.indexOf(H[U])<0&&Object.prototype.propertyIsEnumerable.call(P,H[U])&&(D[H[U]]=P[H[U]]);return D},O=function(V,D){var H=g.useContext(d),U=g.useContext(n.b),z=U.getPrefixCls,K=V.prefixCls,G=I(V,["prefixCls"]),X=z("radio-button",K);return H&&(G.checked=V.value===H.value,G.disabled=V.disabled||H.disabled),g.createElement(x,p()({prefixCls:X},G,{type:"radio",ref:D}))},F=g.forwardRef(O),k=x;k.Button=F,k.Group=E;var M=N.a=k},A1Ka:function(B,N,r){var y=r("bLfw"),m=r("sS/r"),C=r("D5nY"),p=C.detectSourceFormat,g=r("k9D9"),h=g.SERIES_LAYOUT_BY_COLUMN;y.extend({type:"dataset",defaultOption:{seriesLayoutBy:h,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){p(this)}}),m.extend({type:"dataset"})},ABKa:function(B,N,r){"use strict";var y=r("284h"),m=r("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var C=m(r("3tO9")),p=y(r("q1tI")),g=m(r("Qs9O")),h=m(r("KQxl")),c=function(t,a){return p.createElement(h.default,(0,C.default)((0,C.default)({},t),{},{ref:a,icon:g.default}))};c.displayName="FolderOutlined";var o=p.forwardRef(c);N.default=o},AE9C:function(B,N,r){var y=r("bYtY"),m=r("crZl"),C=r("IwbS"),p=r("oVpE"),g=p.createSymbol,h=r("+TT/"),c=r("y7Aq"),o=m.extend({type:"visualMap.piecewise",doRender:function(){var t=this.group;t.removeAll();var a=this.visualMapModel,d=a.get("textGap"),i=a.textStyleModel,l=i.getFont(),e=i.getTextColor(),s=this._getItemAlign(),u=a.itemSize,f=this._getViewData(),A=f.endsText,v=y.retrieve(a.get("showLabel",!0),!A);A&&this._renderEndsText(t,A[0],u,v,s),y.each(f.viewPieceList,x,this),A&&this._renderEndsText(t,A[1],u,v,s),h.box(a.get("orient"),t,a.get("itemGap")),this.renderBackground(t),this.positionGroup(t);function x(b){var w=b.piece,_=new C.Group;_.onclick=y.bind(this._onItemClick,this,w),this._enableHoverLink(_,b.indexInModelPieceList);var T=a.getRepresentValue(w);if(this._createItemSymbol(_,T,[0,0,u[0],u[1]]),v){var S=this.visualMapModel.getValueState(T);_.add(new C.Text({style:{x:s==="right"?-d:u[0]+d,y:u[1]/2,text:w.text,textVerticalAlign:"middle",textAlign:s,textFont:l,textFill:e,opacity:S==="outOfRange"?.5:1}}))}t.add(_)}},_enableHoverLink:function(t,a){t.on("mouseover",y.bind(d,this,"highlight")).on("mouseout",y.bind(d,this,"downplay"));function d(i){var l=this.visualMapModel;l.option.hoverLink&&this.api.dispatchAction({type:i,batch:c.makeHighDownBatch(l.findTargetDataIndices(a),l)})}},_getItemAlign:function(){var t=this.visualMapModel,a=t.option;if(a.orient==="vertical")return c.getItemAlign(t,this.api,t.itemSize);var d=a.align;return(!d||d==="auto")&&(d="left"),d},_renderEndsText:function(t,a,d,i,l){if(!a)return;var e=new C.Group,s=this.visualMapModel.textStyleModel;e.add(new C.Text({style:{x:i?l==="right"?d[0]:0:d[0]/2,y:d[1]/2,textVerticalAlign:"middle",textAlign:i?l:"center",text:a,textFont:s.getFont(),textFill:s.getTextColor()}})),t.add(e)},_getViewData:function(){var t=this.visualMapModel,a=y.map(t.getPieceList(),function(e,s){return{piece:e,indexInModelPieceList:s}}),d=t.get("text"),i=t.get("orient"),l=t.get("inverse");return(i==="horizontal"?l:!l)?a.reverse():d&&(d=d.slice().reverse()),{viewPieceList:a,endsText:d}},_createItemSymbol:function(t,a,d){t.add(g(this.getControllerVisual(a,"symbol"),d[0],d[1],d[2],d[3],this.getControllerVisual(a,"color")))},_onItemClick:function(t){var a=this.visualMapModel,d=a.option,i=y.clone(d.selected),l=a.getSelectedMapKey(t);d.selectedMode==="single"?(i[l]=!0,y.each(i,function(e,s){i[s]=s===l})):i[l]=!i[l],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:i})}}),n=o;B.exports=n},AEZ6:function(B,N,r){var y=r("bYtY"),m=y.each,C=y.createHashMap,p=r("T4UG"),g=r("MwEJ"),h=p.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(n,t){var a=this.getSource();return c(a,this),g(a,this)},getRawIndicesByActiveState:function(n){var t=this.coordinateSystem,a=this.getData(),d=[];return t.eachActiveState(a,function(i,l){n===i&&d.push(a.getRawIndex(l))}),d},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"}});function c(n,t){if(n.encodeDefine)return;var a=t.ecModel.getComponent("parallel",t.get("parallelIndex"));if(!a)return;var d=n.encodeDefine=C();m(a.dimensions,function(i){var l=o(i);d.set(i,l)})}function o(n){return+n.replace("dim","")}B.exports=h},AH3D:function(B,N,r){var y=r("ProS");r("y4/Y"),r("qWt2"),r("Qvb6"),y.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),y.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},ALo7:function(B,N,r){var y=r("ProS"),m=r("bYtY"),C=r("5GtS"),p=r("4NO4"),g=p.defaultEmphasis,h=r("D5nY"),c=h.makeSeriesEncodeForNameBased,o=r("xKMd"),n=y.extendSeriesModel({type:"series.funnel",init:function(a){n.superApply(this,"init",arguments),this.legendVisualProvider=new o(m.bind(this.getData,this),m.bind(this.getRawData,this)),this._defaultLabelLine(a)},getInitialData:function(a,d){return C(this,{coordDimensions:["value"],encodeDefaulter:m.curry(c,this)})},_defaultLabelLine:function(a){g(a,"labelLine",["show"]);var d=a.labelLine,i=a.emphasis.labelLine;d.show=d.show&&a.label.show,i.show=i.show&&a.emphasis.label.show},getDataParams:function(a){var d=this.getData(),i=n.superCall(this,"getDataParams",a),l=d.mapDimension("value"),e=d.getSum(l);return i.percent=e?+(d.get(l,a)/e*100).toFixed(2):0,i.$vars.push("percent"),i},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}}}}),t=n;B.exports=t},ANjR:function(B,N,r){var y=r("bYtY");function m(p,g){return g=g||[0,0],y.map([0,1],function(h){var c=g[h],o=p[h]/2,n=[],t=[];return n[h]=c-o,t[h]=c+o,n[1-h]=t[1-h]=g[1-h],Math.abs(this.dataToPoint(n)[h]-this.dataToPoint(t)[h])},this)}function C(p){var g=p.getBoundingRect();return{coordSys:{type:"geo",x:g.x,y:g.y,width:g.width,height:g.height,zoom:p.getZoom()},api:{coord:function(h){return p.dataToPoint(h)},size:y.bind(m,p)}}}B.exports=C},AOa7:function(B,N,r){},AUH6:function(B,N,r){var y=r("bYtY"),m=r("mFDi"),C=r("bMXI"),p=r("W4dC");function g(o,n,t,a){C.call(this,o),this.map=n;var d=p.load(n,t);this._nameCoordMap=d.nameCoordMap,this._regionsMap=d.regionsMap,this._invertLongitute=a==null?!0:a,this.regions=d.regions,this._rect=d.boundingRect}g.prototype={constructor:g,type:"geo",dimensions:["lng","lat"],containCoord:function(o){for(var n=this.regions,t=0;t<n.length;t++)if(n[t].contain(o))return!0;return!1},transformTo:function(o,n,t,a){var d=this.getBoundingRect(),i=this._invertLongitute;d=d.clone(),i&&(d.y=-d.y-d.height);var l=this._rawTransformable;if(l.transform=d.calculateTransform(new m(o,n,t,a)),l.decomposeTransform(),i){var e=l.scale;e[1]=-e[1]}l.updateTransform(),this._updateTransform()},getRegion:function(o){return this._regionsMap.get(o)},getRegionByCoord:function(o){for(var n=this.regions,t=0;t<n.length;t++)if(n[t].contain(o))return n[t]},addGeoCoord:function(o,n){this._nameCoordMap.set(o,n)},getGeoCoord:function(o){return this._nameCoordMap.get(o)},getBoundingRect:function(){return this._rect},dataToPoint:function(o,n,t){if(typeof o=="string"&&(o=this.getGeoCoord(o)),o)return C.prototype.dataToPoint.call(this,o,n,t)},convertToPixel:y.curry(h,"dataToPoint"),convertFromPixel:y.curry(h,"pointToData")},y.mixin(g,C);function h(o,n,t,a){var d=t.geoModel,i=t.seriesModel,l=d?d.coordinateSystem:i?i.coordinateSystem||(i.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return l===this?l[o](a):null}var c=g;B.exports=c},AVZG:function(B,N,r){var y=r("bYtY");function m(C,p,g){g=g||{};var h=C.coordinateSystem,c=p.axis,o={},n=c.getAxesOnZeroOf()[0],t=c.position,a=n?"onZero":t,d=c.dim,i=h.getRect(),l=[i.x,i.x+i.width,i.y,i.y+i.height],e={left:0,right:1,top:0,bottom:1,onZero:2},s=p.get("offset")||0,u=d==="x"?[l[2]-s,l[3]+s]:[l[0]-s,l[1]+s];if(n){var f=n.toGlobalCoord(n.dataToCoord(0));u[e.onZero]=Math.max(Math.min(f,u[1]),u[0])}o.position=[d==="y"?u[e[a]]:l[0],d==="x"?u[e[a]]:l[3]],o.rotation=Math.PI/2*(d==="x"?0:1);var A={top:-1,bottom:1,left:-1,right:1};o.labelDirection=o.tickDirection=o.nameDirection=A[t],o.labelOffset=n?u[e[t]]-u[e.onZero]:0,p.get("axisTick.inside")&&(o.tickDirection=-o.tickDirection),y.retrieve(g.labelInside,p.get("axisLabel.inside"))&&(o.labelDirection=-o.labelDirection);var v=p.get("axisLabel.rotate");return o.labelRotate=a==="top"?-v:v,o.z2=1,o}N.layout=m},"Ae+d":function(B,N){function r(m,C,p){var g=m.target,h=g.position;h[0]+=C,h[1]+=p,g.dirty()}function y(m,C,p,g){var h=m.target,c=m.zoomLimit,o=h.position,n=h.scale,t=m.zoom=m.zoom||1;if(t*=C,c){var a=c.min||0,d=c.max||Infinity;t=Math.max(Math.min(d,t),a)}var i=t/m.zoom;m.zoom=t,o[0]-=(p-o[0])*(i-1),o[1]-=(g-o[1])*(i-1),n[0]*=i,n[1]*=i,h.dirty()}N.updateViewOnPan=r,N.updateViewOnZoom=y},Ae16:function(B,N,r){var y=r("ProS"),m=r("bYtY"),C=r("IwbS");r("Wqna"),r("rySg"),y.extendComponentView({type:"grid",render:function(p,g){this.group.removeAll(),p.get("show")&&this.group.add(new C.Rect({shape:p.coordinateSystem.getRect(),style:m.defaults({fill:p.get("backgroundColor")},p.getItemStyle()),silent:!0,z2:-1}))}}),y.registerPreprocessor(function(p){p.xAxis&&p.yAxis&&!p.grid&&(p.grid={})})},Awhp:function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("PQMj"),p=r.n(C)},"B+YJ":function(B,N,r){r("TYVI"),r("p1MT")},"B6l+":function(B,N,r){var y=r("Sq3C"),m=r("Z1HP"),C=r("Sxd8"),p=r("dt0z");function g(h,c,o){h=p(h),c=C(c);var n=c?m(h):0;return c&&n<c?h+y(c-n,o):h}B.exports=g},B9cy:function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("0XgM"),p=r.n(C)},B9fm:function(B,N,r){var y=r("bYtY"),m=r("Qe9p"),C=r("YH21"),p=r("Ze12"),g=r("ItGF"),h=r("7aKB"),c=y.each,o=h.toCamelCase,n=["","-webkit-","-moz-","-o-"],t="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function a(u){var f="cubic-bezier(0.23, 1, 0.32, 1)",A="left "+u+"s "+f+",top "+u+"s "+f;return y.map(n,function(v){return v+"transition:"+A}).join(";")}function d(u){var f=[],A=u.get("fontSize"),v=u.getTextColor();return v&&f.push("color:"+v),f.push("font:"+u.getFont()),A&&f.push("line-height:"+Math.round(A*3/2)+"px"),c(["decoration","align"],function(x){var b=u.get(x);b&&f.push("text-"+x+":"+b)}),f.join(";")}function i(u){var f=[],A=u.get("transitionDuration"),v=u.get("backgroundColor"),x=u.getModel("textStyle"),b=u.get("padding");return A&&f.push(a(A)),v&&(g.canvasSupported?f.push("background-Color:"+v):(f.push("background-Color:#"+m.toHex(v)),f.push("filter:alpha(opacity=70)"))),c(["width","color","radius"],function(w){var _="border-"+w,T=o(_),S=u.get(T);S!=null&&f.push(_+":"+S+(w==="color"?"":"px"))}),f.push(d(x)),b!=null&&f.push("padding:"+h.normalizeCssArray(b).join("px ")+"px"),f.join(";")+";"}function l(u,f,A,v,x){var b=f&&f.painter;if(A){var w=b&&b.getViewportRoot();w&&p.transformLocalCoord(u,w,document.body,v,x)}else{u[0]=v,u[1]=x;var _=b&&b.getViewportRootOffset();_&&(u[0]+=_.offsetLeft,u[1]+=_.offsetTop)}}function e(u,f,A){if(g.wxa)return null;var v=document.createElement("div");v.domBelongToZr=!0,this.el=v;var x=this._zr=f.getZr(),b=this._appendToBody=A&&A.appendToBody;this._styleCoord=[0,0],l(this._styleCoord,x,b,f.getWidth()/2,f.getHeight()/2),b?document.body.appendChild(v):u.appendChild(v),this._container=u,this._show=!1,this._hideTimeout;var w=this;v.onmouseenter=function(){w._enterable&&(clearTimeout(w._hideTimeout),w._show=!0),w._inContent=!0},v.onmousemove=function(_){if(_=_||window.event,!w._enterable){var T=x.handler,S=x.painter.getViewportRoot();C.normalizeEvent(S,_,!0),T.dispatch("mousemove",_)}},v.onmouseleave=function(){w._enterable&&(w._show&&w.hideLater(w._hideDelay)),w._inContent=!1}}e.prototype={constructor:e,_enterable:!0,update:function(){var u=this._container,f=u.currentStyle||document.defaultView.getComputedStyle(u),A=u.style;A.position!=="absolute"&&f.position!=="absolute"&&(A.position="relative")},show:function(u){clearTimeout(this._hideTimeout);var f=this.el,A=this._styleCoord;f.style.cssText=t+i(u)+";left:"+A[0]+"px;top:"+A[1]+"px;"+(u.get("extraCssText")||""),f.style.display=f.innerHTML?"block":"none",f.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(u){this.el.innerHTML=u==null?"":u},setEnterable:function(u){this._enterable=u},getSize:function(){var u=this.el;return[u.clientWidth,u.clientHeight]},moveTo:function(u,f){var A=this._styleCoord;l(A,this._zr,this._appendToBody,u,f);var v=this.el.style;v.left=A[0]+"px",v.top=A[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(u){this._show&&!(this._inContent&&this._enterable)&&(u?(this._hideDelay=u,this._show=!1,this._hideTimeout=setTimeout(y.bind(this.hide,this),u)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var u=this.el.clientWidth,f=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var A=document.defaultView.getComputedStyle(this.el);A&&(u+=parseInt(A.borderLeftWidth,10)+parseInt(A.borderRightWidth,10),f+=parseInt(A.borderTopWidth,10)+parseInt(A.borderBottomWidth,10))}return{width:u,height:f}}};var s=e;B.exports=s},BPZU:function(B,N){var r=32,y=7,m=256;function C(a){for(var d=0;a>=r;)d|=a&1,a>>=1;return a+d}function p(a,d,i,l){var e=d+1;if(e===i)return 1;if(l(a[e++],a[d])<0){for(;e<i&&l(a[e],a[e-1])<0;)e++;g(a,d,e)}else for(;e<i&&l(a[e],a[e-1])>=0;)e++;return e-d}function g(a,d,i){for(i--;d<i;){var l=a[d];a[d++]=a[i],a[i--]=l}}function h(a,d,i,l,e){for(l===d&&l++;l<i;l++){for(var s=a[l],u=d,f=l,A;u<f;)A=u+f>>>1,e(s,a[A])<0?f=A:u=A+1;var v=l-u;switch(v){case 3:a[u+3]=a[u+2];case 2:a[u+2]=a[u+1];case 1:a[u+1]=a[u];break;default:for(;v>0;)a[u+v]=a[u+v-1],v--}a[u]=s}}function c(a,d,i,l,e,s){var u=0,f=0,A=1;if(s(a,d[i+e])>0){for(f=l-e;A<f&&s(a,d[i+e+A])>0;)u=A,A=(A<<1)+1,A<=0&&(A=f);A>f&&(A=f),u+=e,A+=e}else{for(f=e+1;A<f&&s(a,d[i+e-A])<=0;)u=A,A=(A<<1)+1,A<=0&&(A=f);A>f&&(A=f);var v=u;u=e-A,A=e-v}for(u++;u<A;){var x=u+(A-u>>>1);s(a,d[i+x])>0?u=x+1:A=x}return A}function o(a,d,i,l,e,s){var u=0,f=0,A=1;if(s(a,d[i+e])<0){for(f=e+1;A<f&&s(a,d[i+e-A])<0;)u=A,A=(A<<1)+1,A<=0&&(A=f);A>f&&(A=f);var v=u;u=e-A,A=e-v}else{for(f=l-e;A<f&&s(a,d[i+e+A])>=0;)u=A,A=(A<<1)+1,A<=0&&(A=f);A>f&&(A=f),u+=e,A+=e}for(u++;u<A;){var x=u+(A-u>>>1);s(a,d[i+x])<0?A=x:u=x+1}return A}function n(a,d){var i=y,l=0,e=m,s=0,u,f,A=0;l=a.length,l<2*m&&(e=l>>>1);var v=[];s=l<120?5:l<1542?10:l<119151?19:40,u=[],f=[];function x(E,I){u[A]=E,f[A]=I,A+=1}function b(){for(;A>1;){var E=A-2;if(E>=1&&f[E-1]<=f[E]+f[E+1]||E>=2&&f[E-2]<=f[E]+f[E-1])f[E-1]<f[E+1]&&E--;else if(f[E]>f[E+1])break;_(E)}}function w(){for(;A>1;){var E=A-2;E>0&&f[E-1]<f[E+1]&&E--,_(E)}}function _(E){var I=u[E],O=f[E],F=u[E+1],k=f[E+1];f[E]=O+k,E===A-3&&(u[E+1]=u[E+2],f[E+1]=f[E+2]),A--;var M=o(a[F],a,I,O,0,d);if(I+=M,O-=M,O===0)return;if(k=c(a[I+O-1],a,F,k,k-1,d),k===0)return;O<=k?T(I,O,F,k):S(I,O,F,k)}function T(E,I,O,F){var k=0;for(k=0;k<I;k++)v[k]=a[E+k];var M=0,P=O,V=E;if(a[V++]=a[P++],--F===0){for(k=0;k<I;k++)a[V+k]=v[M+k];return}if(I===1){for(k=0;k<F;k++)a[V+k]=a[P+k];a[V+F]=v[M];return}for(var D=i,H,U,z;;){H=0,U=0,z=!1;do if(d(a[P],v[M])<0){if(a[V++]=a[P++],U++,H=0,--F===0){z=!0;break}}else if(a[V++]=v[M++],H++,U=0,--I===1){z=!0;break}while((H|U)<D);if(z)break;do{if(H=o(a[P],v,M,I,0,d),H!==0){for(k=0;k<H;k++)a[V+k]=v[M+k];if(V+=H,M+=H,I-=H,I<=1){z=!0;break}}if(a[V++]=a[P++],--F===0){z=!0;break}if(U=c(v[M],a,P,F,0,d),U!==0){for(k=0;k<U;k++)a[V+k]=a[P+k];if(V+=U,P+=U,F-=U,F===0){z=!0;break}}if(a[V++]=v[M++],--I===1){z=!0;break}D--}while(H>=y||U>=y);if(z)break;D<0&&(D=0),D+=2}if(i=D,i<1&&(i=1),I===1){for(k=0;k<F;k++)a[V+k]=a[P+k];a[V+F]=v[M]}else{if(I===0)throw new Error;for(k=0;k<I;k++)a[V+k]=v[M+k]}}function S(E,I,O,F){var k=0;for(k=0;k<F;k++)v[k]=a[O+k];var M=E+I-1,P=F-1,V=O+F-1,D=0,H=0;if(a[V--]=a[M--],--I===0){for(D=V-(F-1),k=0;k<F;k++)a[D+k]=v[k];return}if(F===1){for(V-=I,M-=I,H=V+1,D=M+1,k=I-1;k>=0;k--)a[H+k]=a[D+k];a[V]=v[P];return}for(var U=i;;){var z=0,K=0,G=!1;do if(d(v[P],a[M])<0){if(a[V--]=a[M--],z++,K=0,--I===0){G=!0;break}}else if(a[V--]=v[P--],K++,z=0,--F===1){G=!0;break}while((z|K)<U);if(G)break;do{if(z=I-o(v[P],a,E,I,I-1,d),z!==0){for(V-=z,M-=z,I-=z,H=V+1,D=M+1,k=z-1;k>=0;k--)a[H+k]=a[D+k];if(I===0){G=!0;break}}if(a[V--]=v[P--],--F===1){G=!0;break}if(K=F-c(a[M],v,0,F,F-1,d),K!==0){for(V-=K,P-=K,F-=K,H=V+1,D=P+1,k=0;k<K;k++)a[H+k]=v[D+k];if(F<=1){G=!0;break}}if(a[V--]=a[M--],--I===0){G=!0;break}U--}while(z>=y||K>=y);if(G)break;U<0&&(U=0),U+=2}if(i=U,i<1&&(i=1),F===1){for(V-=I,M-=I,H=V+1,D=M+1,k=I-1;k>=0;k--)a[H+k]=a[D+k];a[V]=v[P]}else{if(F===0)throw new Error;for(D=V-(F-1),k=0;k<F;k++)a[D+k]=v[k]}}this.mergeRuns=b,this.forceMergeRuns=w,this.pushRun=x}function t(a,d,i,l){i||(i=0),l||(l=a.length);var e=l-i;if(e<2)return;var s=0;if(e<r){s=p(a,i,l,d),h(a,i,l,i+s,d);return}var u=new n(a,d),f=C(e);do{if(s=p(a,i,l,d),s<f){var A=e;A>f&&(A=f),h(a,i,i+A,i+s,d),s=A}u.pushRun(i,s),u.mergeRuns(),e-=s,i+=s}while(e!==0);u.forceMergeRuns()}B.exports=t},Bd2K:function(B,N,r){(function(y){y(r("VrN/"),r("osHv"))})(function(y){y.defineOption("autoCloseTags",!1,function(n,t,a){if(a!=y.Init&&a&&n.removeKeyMap("autoCloseTags"),!t)return;var d={name:"autoCloseTags"};(typeof t!="object"||t.whenClosing!==!1)&&(d["'/'"]=function(i){return h(i)}),(typeof t!="object"||t.whenOpening!==!1)&&(d["'>'"]=function(i){return p(i)}),n.addKeyMap(d)});var m=["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 p(n){if(n.getOption("disableInput"))return y.Pass;for(var t=n.listSelections(),a=[],d=n.getOption("autoCloseTags"),i=0;i<t.length;i++){if(!t[i].empty())return y.Pass;var l=t[i].head,e=n.getTokenAt(l),s=y.innerMode(n.getMode(),e.state),u=s.state,f=s.mode.xmlCurrentTag&&s.mode.xmlCurrentTag(u),A=f&&f.name;if(!A)return y.Pass;var v=s.mode.configuration=="html",x=typeof d=="object"&&d.dontCloseTags||v&&m,b=typeof d=="object"&&d.indentTags||v&&C;e.end>l.ch&&(A=A.slice(0,A.length-e.end+l.ch));var w=A.toLowerCase();if(!A||e.type=="string"&&(e.end!=l.ch||!/[\"\']/.test(e.string.charAt(e.string.length-1))||e.string.length==1)||e.type=="tag"&&f.close||e.string.indexOf("/")==l.ch-e.start-1||x&&c(x,w)>-1||o(n,s.mode.xmlCurrentContext&&s.mode.xmlCurrentContext(u)||[],A,l,!0))return y.Pass;var _=typeof d=="object"&&d.emptyTags;if(_&&c(_,A)>-1){a[i]={text:"/>",newPos:y.Pos(l.line,l.ch+2)};continue}var T=b&&c(b,w)>-1;a[i]={indent:T,text:">"+(T?`
|
|
|
|
|
|
`:"")+"</"+A+">",newPos:T?y.Pos(l.line+1,0):y.Pos(l.line,l.ch+1)}}for(var S=typeof d=="object"&&d.dontIndentOnAutoClose,i=t.length-1;i>=0;i--){var E=a[i];n.replaceRange(E.text,t[i].head,t[i].anchor,"+insert");var I=n.listSelections().slice(0);I[i]={head:E.newPos,anchor:E.newPos},n.setSelections(I),!S&&E.indent&&(n.indentLine(E.newPos.line,null,!0),n.indentLine(E.newPos.line+1,null,!0))}}function g(n,t){for(var a=n.listSelections(),d=[],i=t?"/":"</",l=n.getOption("autoCloseTags"),e=typeof l=="object"&&l.dontIndentOnSlash,s=0;s<a.length;s++){if(!a[s].empty())return y.Pass;var u=a[s].head,f=n.getTokenAt(u),A=y.innerMode(n.getMode(),f.state),v=A.state;if(t&&(f.type=="string"||f.string.charAt(0)!="<"||f.start!=u.ch-1))return y.Pass;var x,b=A.mode.name!="xml"&&n.getMode().name=="htmlmixed";if(b&&A.mode.name=="javascript")x=i+"script";else if(b&&A.mode.name=="css")x=i+"style";else{var w=A.mode.xmlCurrentContext&&A.mode.xmlCurrentContext(v);if(!w||w.length&&o(n,w,w[w.length-1],u))return y.Pass;x=i+w[w.length-1]}n.getLine(u.line).charAt(f.end)!=">"&&(x+=">"),d[s]=x}if(n.replaceSelections(d),a=n.listSelections(),!e)for(var s=0;s<a.length;s++)(s==a.length-1||a[s].head.line<a[s+1].head.line)&&n.indentLine(a[s].head.line)}function h(n){return n.getOption("disableInput")?y.Pass:g(n,!0)}y.commands.closeTag=function(n){return g(n)};function c(n,t){if(n.indexOf)return n.indexOf(t);for(var a=0,d=n.length;a<d;++a)if(n[a]==t)return a;return-1}function o(n,t,a,d,i){if(!y.scanForClosingTag)return!1;var l=Math.min(n.lastLine()+1,d.line+500),e=y.scanForClosingTag(n,d,null,l);if(!e||e.tag!=a)return!1;for(var s=i?1:0,u=t.length-1;u>=0&&t[u]==a;u--)++s;d=e.to;for(var u=1;u<s;u++){var f=y.scanForClosingTag(n,d,null,l);if(!f||f.tag!=a)return!1;d=f.to}return!0}})},BlVb:function(B,N,r){var y=r("hyiK"),m=1e-8;function C(g,h){return Math.abs(g-h)<m}function p(g,h,c){var o=0,n=g[0];if(!n)return!1;for(var t=1;t<g.length;t++){var a=g[t];o+=y(n[0],n[1],a[0],a[1],h,c),n=a}var d=g[0];return(!C(n[0],d[0])||!C(n[1],d[1]))&&(o+=y(n[0],n[1],d[0],d[1],h,c)),o!==0}N.contain=p},BoS7:function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("czTT"),p=r.n(C)},Bq2U:function(B,N,r){var y=r("RDYZ"),m=r("Qe9p"),C=r("bYtY"),p=C.isArrayLike,g=Array.prototype.slice;function h(x,b){return x[b]}function c(x,b,w){x[b]=w}function o(x,b,w){return(b-x)*w+x}function n(x,b,w){return w>.5?b:x}function t(x,b,w,_,T){var S=x.length;if(T===1)for(var E=0;E<S;E++)_[E]=o(x[E],b[E],w);else for(var I=S&&x[0].length,E=0;E<S;E++)for(var O=0;O<I;O++)_[E][O]=o(x[E][O],b[E][O],w)}function a(x,b,w){var _=x.length,T=b.length;if(_!==T){var S=_>T;if(S)x.length=T;else for(var E=_;E<T;E++)x.push(w===1?b[E]:g.call(b[E]))}for(var I=x[0]&&x[0].length,E=0;E<x.length;E++)if(w===1)isNaN(x[E])&&(x[E]=b[E]);else for(var O=0;O<I;O++)isNaN(x[E][O])&&(x[E][O]=b[E][O])}function d(x,b,w){if(x===b)return!0;var _=x.length;if(_!==b.length)return!1;if(w===1){for(var T=0;T<_;T++)if(x[T]!==b[T])return!1}else for(var S=x[0].length,T=0;T<_;T++)for(var E=0;E<S;E++)if(x[T][E]!==b[T][E])return!1;return!0}function i(x,b,w,_,T,S,E,I,O){var F=x.length;if(O===1)for(var k=0;k<F;k++)I[k]=l(x[k],b[k],w[k],_[k],T,S,E);else for(var M=x[0].length,k=0;k<F;k++)for(var P=0;P<M;P++)I[k][P]=l(x[k][P],b[k][P],w[k][P],_[k][P],T,S,E)}function l(x,b,w,_,T,S,E){var I=(w-x)*.5,O=(_-b)*.5;return(2*(b-w)+I+O)*E+(-3*(b-w)-2*I-O)*S+I*T+b}function e(x){if(p(x)){var b=x.length;if(p(x[0])){for(var w=[],_=0;_<b;_++)w.push(g.call(x[_]));return w}return g.call(x)}return x}function s(x){return x[0]=Math.floor(x[0]),x[1]=Math.floor(x[1]),x[2]=Math.floor(x[2]),"rgba("+x.join(",")+")"}function u(x){var b=x[x.length-1].value;return p(b&&b[0])?2:1}function f(x,b,w,_,T,S){var E=x._getter,I=x._setter,O=b==="spline",F=_.length;if(!F)return;var k=_[0].value,M=p(k),P=!1,V=!1,D=M?u(_):0,H;_.sort(function(W,j){return W.time-j.time}),H=_[F-1].time;for(var U=[],z=[],K=_[0].value,G=!0,X=0;X<F;X++){U.push(_[X].time/H);var Z=_[X].value;if(M&&d(Z,K,D)||!M&&Z===K||(G=!1),K=Z,typeof Z=="string"){var ee=m.parse(Z);ee?(Z=ee,P=!0):V=!0}z.push(Z)}if(!S&&G)return;for(var Se=z[F-1],X=0;X<F-1;X++)M?a(z[X],Se,D):isNaN(z[X])&&!isNaN(Se)&&!V&&!P&&(z[X]=Se);M&&a(E(x._target,T),Se,D);var $=0,pe=0,xe,_e,Ue,ye,Be,Q;if(P)var ie=[0,0,0,0];var Ve=function(j,Y){var me;if(Y<0)me=0;else if(Y<pe){for(xe=Math.min($+1,F-1),me=xe;me>=0&&!(U[me]<=Y);me--);me=Math.min(me,F-2)}else{for(me=$;me<F&&!(U[me]>Y);me++);me=Math.min(me-1,F-2)}$=me,pe=Y;var ae=U[me+1]-U[me];if(ae===0)return;if(_e=(Y-U[me])/ae,O)if(ye=z[me],Ue=z[me===0?me:me-1],Be=z[me>F-2?F-1:me+1],Q=z[me>F-3?F-1:me+2],M)i(Ue,ye,Be,Q,_e,_e*_e,_e*_e*_e,E(j,T),D);else{var Le;if(P)Le=i(Ue,ye,Be,Q,_e,_e*_e,_e*_e*_e,ie,1),Le=s(ie);else{if(V)return n(ye,Be,_e);Le=l(Ue,ye,Be,Q,_e,_e*_e,_e*_e*_e)}I(j,T,Le)}else if(M)t(z[me],z[me+1],_e,E(j,T),D);else{var Le;if(P)t(z[me],z[me+1],_e,ie,1),Le=s(ie);else{if(V)return n(z[me],z[me+1],_e);Le=o(z[me],z[me+1],_e)}I(j,T,Le)}},J=new y({target:x._target,life:H,loop:x._loop,delay:x._delay,onframe:Ve,ondestroy:w});return b&&b!=="spline"&&(J.easing=b),J}var A=function(b,w,_,T){this._tracks={},this._target=b,this._loop=w||!1,this._getter=_||h,this._setter=T||c,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};A.prototype={when:function(b,w){var _=this._tracks;for(var T in w){if(!w.hasOwnProperty(T))continue;if(!_[T]){_[T]=[];var S=this._getter(this._target,T);if(S==null)continue;b!==0&&_[T].push({time:0,value:e(S)})}_[T].push({time:b,value:w[T]})}return this},during:function(b){return this._onframeList.push(b),this},pause:function(){for(var b=0;b<this._clipList.length;b++)this._clipList[b].pause();this._paused=!0},resume:function(){for(var b=0;b<this._clipList.length;b++)this._clipList[b].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var b=this._doneList,w=b.length,_=0;_<w;_++)b[_].call(this)},start:function(b,w){var _=this,T=0,S=function(){T--,T||_._doneCallback()},E;for(var I in this._tracks){if(!this._tracks.hasOwnProperty(I))continue;var O=f(this,b,S,this._tracks[I],I,w);O&&(this._clipList.push(O),T++,this.animation&&this.animation.addClip(O),E=O)}if(E){var F=E.onframe;E.onframe=function(k,M){F(k,M);for(var P=0;P<_._onframeList.length;P++)_._onframeList[P](k,M)}}return T||this._doneCallback(),this},stop:function(b){for(var w=this._clipList,_=this.animation,T=0;T<w.length;T++){var S=w[T];b&&S.onframe(this._target,1),_&&_.removeClip(S)}w.length=0},delay:function(b){return this._delay=b,this},done:function(b){return b&&this._doneList.push(b),this},getClips:function(){return this._clipList}};var v=A;B.exports=v},Bqw1:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"};N.default=y},Bsck:function(B,N,r){var y=r("bYtY"),m=r("Qxkt"),C=r("Mdki"),p=r("YXkt"),g=r("sdST"),h=function(t,a){this.name=t||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=a};h.prototype={constructor:h,isRemoved:function(){return this.dataIndex<0},eachNode:function(t,a,d){typeof t=="function"&&(d=a,a=t,t=null),t=t||{},y.isString(t)&&(t={order:t});var i=t.order||"preorder",l=this[t.attr||"children"],e;i==="preorder"&&(e=a.call(d,this));for(var s=0;!e&&s<l.length;s++)l[s].eachNode(t,a,d);i==="postorder"&&a.call(d,this)},updateDepthAndHeight:function(t){var a=0;this.depth=t;for(var d=0;d<this.children.length;d++){var i=this.children[d];i.updateDepthAndHeight(t+1),i.height>a&&(a=i.height)}this.height=a+1},getNodeById:function(t){if(this.getId()===t)return this;for(var a=0,d=this.children,i=d.length;a<i;a++){var l=d[a].getNodeById(t);if(l)return l}},contains:function(t){if(t===this)return!0;for(var a=0,d=this.children,i=d.length;a<i;a++){var l=d[a].contains(t);if(l)return l}},getAncestors:function(t){for(var a=[],d=t?this:this.parentNode;d;)a.push(d),d=d.parentNode;return a.reverse(),a},getValue:function(t){var a=this.hostTree.data;return a.get(a.getDimension(t||"value"),this.dataIndex)},setLayout:function(t,a){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,a)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(t){if(this.dataIndex<0)return;var a=this.hostTree,d=a.data.getItemModel(this.dataIndex),i=this.getLevelModel();return i?d.getModel(t,i.getModel(t)):d.getModel(t)},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(t,a){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,a)},getVisual:function(t,a){return this.hostTree.data.getItemVisual(this.dataIndex,t,a)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(t){for(var a=t.parentNode;a;){if(a===this)return!0;a=a.parentNode}return!1},isDescendantOf:function(t){return t!==this&&t.isAncestorOf(this)}};function c(t,a){this.root,this.data,this._nodes=[],this.hostModel=t,this.levelModels=y.map(a||[],function(d){return new m(d,t,t.ecModel)})}c.prototype={constructor:c,type:"tree",eachNode:function(t,a,d){this.root.eachNode(t,a,d)},getNodeByDataIndex:function(t){var a=this.data.getRawIndex(t);return this._nodes[a]},getNodeByName:function(t){return this.root.getNodeByName(t)},update:function(){for(var t=this.data,a=this._nodes,d=0,i=a.length;d<i;d++)a[d].dataIndex=-1;for(var d=0,i=t.count();d<i;d++)a[t.getRawIndex(d)].dataIndex=d},clearLayouts:function(){this.data.clearItemLayouts()}},c.createTree=function(t,a,d,i){var l=new c(a,d&&d.levels),e=[],s=1;u(t);function u(v,x){var b=v.value;s=Math.max(s,y.isArray(b)?b.length:1),e.push(v);var w=new h(v.name,l);x?o(w,x):l.root=w,l._nodes.push(w);var _=v.children;if(_)for(var T=0;T<_.length;T++)u(_[T],w)}l.root.updateDepthAndHeight(0);var f=g(e,{coordDimensions:["value"],dimensionsCount:s}),A=new p(f,a);return A.initData(e),i&&i(A),C({mainData:A,struct:l,structAttr:"tree"}),l.update(),l};function o(t,a){var d=a.children;if(t.parentNode===a)return;d.push(t),t.parentNode=a}var n=c;B.exports=n},BtR2:function(B,N,r){"use strict";var y=r("VTBJ"),m=r("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"},p=C,g=r("6VBw"),h=function(n,t){return m.createElement(g.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};h.displayName="LikeOutlined";var c=N.a=m.forwardRef(h)},BuqR:function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("bYtY"),p=r("6uqw"),g=r("XxSj"),h=r("YOMW"),c=r("OELB"),o=c.reformIntervals,n=p.extend({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(i,l){n.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var e=this._mode=this._determineMode();t[this._mode].call(this),this._resetSelected(i,l);var s=this.option.categories;this.resetVisual(function(u,f){e==="categories"?(u.mappingMethod="category",u.categories=C.clone(s)):(u.dataExtent=this.getExtent(),u.mappingMethod="piecewise",u.pieceList=C.map(this._pieceList,function(A){var A=C.clone(A);return f!=="inRange"&&(A.visual=null),A}))})},completeVisualOption:function(){var i=this.option,l={},e=g.listVisualTypes(),s=this.isCategory();C.each(i.pieces,function(f){C.each(e,function(A){f.hasOwnProperty(A)&&(l[A]=1)})}),C.each(l,function(f,A){var v=0;C.each(this.stateList,function(x){v|=u(i,x,A)||u(i.target,x,A)},this),!v&&C.each(this.stateList,function(x){(i[x]||(i[x]={}))[A]=h.get(A,x==="inRange"?"active":"inactive",s)})},this);function u(f,A,v){return f&&f[A]&&(C.isObject(f[A])?f[A].hasOwnProperty(v):f[A]===v)}p.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(i,l){var e=this.option,s=this._pieceList,u=(l?e:i).selected||{};if(e.selected=u,C.each(s,function(A,v){var x=this.getSelectedMapKey(A);u.hasOwnProperty(x)||(u[x]=!0)},this),e.selectedMode==="single"){var f=!1;C.each(s,function(A,v){var x=this.getSelectedMapKey(A);u[x]&&(f?u[x]=!1:f=!0)},this)}},getSelectedMapKey:function(i){return this._mode==="categories"?i.value+"":i.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var i=this.option;return i.pieces&&i.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(i){this.option.selected=C.clone(i)},getValueState:function(i){var l=g.findPieceIndex(i,this._pieceList);return l!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[l])]?"inRange":"outOfRange"},findTargetDataIndices:function(i){var l=[];return this.eachTargetSeries(function(e){var s=[],u=e.getData();u.each(this.getDataDimension(u),function(f,A){var v=g.findPieceIndex(f,this._pieceList);v===i&&s.push(A)},this),l.push({seriesId:e.id,dataIndex:s})},this),l},getRepresentValue:function(i){var l;if(this.isCategory())l=i.value;else if(i.value!=null)l=i.value;else{var e=i.interval||[];l=e[0]===-Infinity&&e[1]===Infinity?0:(e[0]+e[1])/2}return l},getVisualMeta:function(i){if(this.isCategory())return;var l=[],e=[],s=this;function u(x,b){var w=s.getRepresentValue({interval:x});b||(b=s.getValueState(w));var _=i(w,b);x[0]===-Infinity?e[0]=_:x[1]===Infinity?e[1]=_:l.push({value:x[0],color:_},{value:x[1],color:_})}var f=this._pieceList.slice();if(!f.length)f.push({interval:[-Infinity,Infinity]});else{var A=f[0].interval[0];A!==-Infinity&&f.unshift({interval:[-Infinity,A]}),A=f[f.length-1].interval[1],A!==Infinity&&f.push({interval:[A,Infinity]})}var v=-Infinity;return C.each(f,function(x){var b=x.interval;b&&(b[0]>v&&u([v,b[0]],"outOfRange"),u(b.slice()),v=b[1])},this),{stops:l,outerColors:e}}}),t={splitNumber:function(){var i=this.option,l=this._pieceList,e=Math.min(i.precision,20),s=this.getExtent(),u=i.splitNumber;u=Math.max(parseInt(u,10),1),i.splitNumber=u;for(var f=(s[1]-s[0])/u;+f.toFixed(e)!==f&&e<5;)e++;i.precision=e,f=+f.toFixed(e),i.minOpen&&l.push({interval:[-Infinity,s[0]],close:[0,0]});for(var A=0,v=s[0];A<u;v+=f,A++){var x=A===u-1?s[1]:v+f;l.push({interval:[v,x],close:[1,1]})}i.maxOpen&&l.push({interval:[s[1],Infinity],close:[0,0]}),o(l),C.each(l,function(b,w){b.index=w,b.text=this.formatValueText(b.interval)},this)},categories:function(){var i=this.option;C.each(i.categories,function(l){this._pieceList.push({text:this.formatValueText(l,!0),value:l})},this),a(i,this._pieceList)},pieces:function(){var i=this.option,l=this._pieceList;C.each(i.pieces,function(e,s){C.isObject(e)||(e={value:e});var u={text:"",index:s};if(e.label!=null&&(u.text=e.label),e.hasOwnProperty("value")){var f=u.value=e.value;u.interval=[f,f],u.close=[1,1]}else{for(var A=u.interval=[],v=u.close=[0,0],x=[1,0,1],b=[-Infinity,Infinity],w=[],_=0;_<2;_++){for(var T=[["gte","gt","min"],["lte","lt","max"]][_],S=0;S<3&&A[_]==null;S++)A[_]=e[T[S]],v[_]=x[S],w[_]=S===2;A[_]==null&&(A[_]=b[_])}w[0]&&A[1]===Infinity&&(v[0]=0),w[1]&&A[0]===-Infinity&&(v[1]=0),A[0]===A[1]&&v[0]&&v[1]&&(u.value=A[0])}u.visual=g.retrieveVisuals(e),l.push(u)},this),a(i,l),o(l),C.each(l,function(e){var s=e.close,u=[["<","\u2264"][s[1]],[">","\u2265"][s[0]]];e.text=e.text||this.formatValueText(e.value!=null?e.value:e.interval,!1,u)},this)}};function a(i,l){var e=i.inverse;(i.orient==="vertical"?!e:e)&&l.reverse()}var d=n;B.exports=d},BvKs:function(B,N,r){"use strict";r.d(N,"a",function(){return Pt});var y=r("pVnL"),m=r.n(y),C=r("lSNA"),p=r.n(C),g=r("lwsE"),h=r.n(g),c=r("W8MJ"),o=r.n(c),n=r("7W2i"),t=r.n(n),a=r("LQ03"),d=r.n(a),i=r("q1tI"),l=r("VTBJ"),e=r("1OyB"),s=r("vuIU"),u=r("JX7q"),f=r("Ji7U"),A=r("LK+K"),v=r("I8Z2"),x=r("BGR+"),b=r("wx14"),w=r("rePB"),_=r("4IlW"),T=r("2GS6"),S=r("Gytx"),E=r.n(S),I=r("TSYQ"),O=r.n(I),F=r("U8pU"),k=r("ODXe"),M=/iPhone/i,P=/iPod/i,V=/iPad/i,D=/\bAndroid(?:.+)Mobile\b/i,H=/Android/i,U=/\bAndroid(?:.+)SD4930UR\b/i,z=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,K=/Windows Phone/i,G=/\bWindows(?:.+)ARM\b/i,X=/BlackBerry/i,Z=/BB10/i,ee=/Opera Mini/i,Se=/\b(CriOS|Chrome)(?:.+)Mobile/i,$=/Mobile(?:.+)Firefox\b/i;function pe(jt,Ct){return jt.test(Ct)}function xe(jt){var Ct=jt||(typeof navigator!="undefined"?navigator.userAgent:""),Rt=Ct.split("[FBAN");if(typeof Rt[1]!="undefined"){var pt=Rt,ot=Object(k.a)(pt,1);Ct=ot[0]}if(Rt=Ct.split("Twitter"),typeof Rt[1]!="undefined"){var gt=Rt,Ye=Object(k.a)(gt,1);Ct=Ye[0]}var $e={apple:{phone:pe(M,Ct)&&!pe(K,Ct),ipod:pe(P,Ct),tablet:!pe(M,Ct)&&pe(V,Ct)&&!pe(K,Ct),device:(pe(M,Ct)||pe(P,Ct)||pe(V,Ct))&&!pe(K,Ct)},amazon:{phone:pe(U,Ct),tablet:!pe(U,Ct)&&pe(z,Ct),device:pe(U,Ct)||pe(z,Ct)},android:{phone:!pe(K,Ct)&&pe(U,Ct)||!pe(K,Ct)&&pe(D,Ct),tablet:!pe(K,Ct)&&!pe(U,Ct)&&!pe(D,Ct)&&(pe(z,Ct)||pe(H,Ct)),device:!pe(K,Ct)&&(pe(U,Ct)||pe(z,Ct)||pe(D,Ct)||pe(H,Ct))||pe(/\bokhttp\b/i,Ct)},windows:{phone:pe(K,Ct),tablet:pe(G,Ct),device:pe(K,Ct)||pe(G,Ct)},other:{blackberry:pe(X,Ct),blackberry10:pe(Z,Ct),opera:pe(ee,Ct),firefox:pe($,Ct),chrome:pe(Se,Ct),device:pe(X,Ct)||pe(Z,Ct)||pe(ee,Ct)||pe($,Ct)||pe(Se,Ct)},any:null,phone:null,tablet:null};return $e.any=$e.apple.device||$e.android.device||$e.windows.device||$e.other.device,$e.phone=$e.apple.phone||$e.android.phone||$e.windows.phone,$e.tablet=$e.apple.tablet||$e.android.tablet||$e.windows.tablet,$e}var _e=Object(l.a)(Object(l.a)({},xe()),{},{isMobile:xe}),Ue=_e;function ye(){}function Be(jt,Ct,Rt){var pt=Ct||"";return jt.key||"".concat(pt,"item_").concat(Rt)}function Q(jt){return"".concat(jt,"-menu-")}function ie(jt,Ct){var Rt=-1;i.Children.forEach(jt,function(pt){Rt+=1,pt&&pt.type&&pt.type.isMenuItemGroup?i.Children.forEach(pt.props.children,function(ot){Rt+=1,Ct(ot,Rt)}):Ct(pt,Rt)})}function Ve(jt,Ct,Rt){if(!jt||Rt.find)return;i.Children.forEach(jt,function(pt){if(pt){var ot=pt.type;if(!ot||!(ot.isSubMenu||ot.isMenuItem||ot.isMenuItemGroup))return;Ct.indexOf(pt.key)!==-1?Rt.find=!0:pt.props.children&&Ve(pt.props.children,Ct,Rt)}})}var J=["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"],W=function(Ct){var Rt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,pt=Ct&&typeof Ct.getBoundingClientRect=="function"&&Ct.getBoundingClientRect().width;if(pt){if(Rt){var ot=getComputedStyle(Ct),gt=ot.marginLeft,Ye=ot.marginRight;pt+=+gt.replace("px","")+ +Ye.replace("px","")}pt=+pt.toFixed(6)}return pt||0},j=function(Ct,Rt,pt){Ct&&Object(F.a)(Ct.style)==="object"&&(Ct.style[Rt]=pt)},Y=function(){return Ue.any},me=r("KQm4"),ae=r("Ff2n"),Le=r("i8i4"),Ee=r("bdgK"),ne=r("uciX"),ge=r("8XRh"),Ie={adjustX:1,adjustY:1},Ge={topLeft:{points:["bl","tl"],overflow:Ie,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Ie,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Ie,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Ie,offset:[4,0]}},ut={topLeft:{points:["bl","tl"],overflow:Ie,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Ie,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:Ie,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:Ie,offset:[4,0]}},wt=Ge,Pe=0,Dt={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},et=function(Ct,Rt,pt){var ot=Q(Rt),gt=Ct.getState();Ct.setState({defaultActiveFirst:Object(l.a)(Object(l.a)({},gt.defaultActiveFirst),{},Object(w.a)({},ot,pt))})},_t=function(jt){Object(f.a)(Rt,jt);var Ct=Object(A.a)(Rt);function Rt(pt){var ot;Object(e.a)(this,Rt),ot=Ct.call(this,pt),ot.onDestroy=function(ft){ot.props.onDestroy(ft)},ot.onKeyDown=function(ft){var ht=ft.keyCode,st=ot.menuInstance,kt=ot.props,Tt=kt.isOpen,ar=kt.store;if(ht===_.a.ENTER)return ot.onTitleClick(ft),et(ar,ot.props.eventKey,!0),!0;if(ht===_.a.RIGHT)return Tt?st.onKeyDown(ft):(ot.triggerOpenChange(!0),et(ar,ot.props.eventKey,!0)),!0;if(ht===_.a.LEFT){var Qt;if(Tt)Qt=st.onKeyDown(ft);else return;return Qt||(ot.triggerOpenChange(!1),Qt=!0),Qt}return Tt&&(ht===_.a.UP||ht===_.a.DOWN)?st.onKeyDown(ft):void 0},ot.onOpenChange=function(ft){ot.props.onOpenChange(ft)},ot.onPopupVisibleChange=function(ft){ot.triggerOpenChange(ft,ft?"mouseenter":"mouseleave")},ot.onMouseEnter=function(ft){var ht=ot.props,st=ht.eventKey,kt=ht.onMouseEnter,Tt=ht.store;et(Tt,ot.props.eventKey,!1),kt({key:st,domEvent:ft})},ot.onMouseLeave=function(ft){var ht=ot.props,st=ht.parentMenu,kt=ht.eventKey,Tt=ht.onMouseLeave;st.subMenuInstance=Object(u.a)(ot),Tt({key:kt,domEvent:ft})},ot.onTitleMouseEnter=function(ft){var ht=ot.props,st=ht.eventKey,kt=ht.onItemHover,Tt=ht.onTitleMouseEnter;kt({key:st,hover:!0}),Tt({key:st,domEvent:ft})},ot.onTitleMouseLeave=function(ft){var ht=ot.props,st=ht.parentMenu,kt=ht.eventKey,Tt=ht.onItemHover,ar=ht.onTitleMouseLeave;st.subMenuInstance=Object(u.a)(ot),Tt({key:kt,hover:!1}),ar({key:kt,domEvent:ft})},ot.onTitleClick=function(ft){var ht=Object(u.a)(ot),st=ht.props;if(st.onTitleClick({key:st.eventKey,domEvent:ft}),st.triggerSubMenuAction==="hover")return;ot.triggerOpenChange(!st.isOpen,"click"),et(st.store,ot.props.eventKey,!1)},ot.onSubMenuClick=function(ft){typeof ot.props.onClick=="function"&&ot.props.onClick(ot.addKeyPath(ft))},ot.onSelect=function(ft){ot.props.onSelect(ft)},ot.onDeselect=function(ft){ot.props.onDeselect(ft)},ot.getPrefixCls=function(){return"".concat(ot.props.rootPrefixCls,"-submenu")},ot.getActiveClassName=function(){return"".concat(ot.getPrefixCls(),"-active")},ot.getDisabledClassName=function(){return"".concat(ot.getPrefixCls(),"-disabled")},ot.getSelectedClassName=function(){return"".concat(ot.getPrefixCls(),"-selected")},ot.getOpenClassName=function(){return"".concat(ot.props.rootPrefixCls,"-submenu-open")},ot.saveMenuInstance=function(ft){ot.menuInstance=ft},ot.addKeyPath=function(ft){return Object(l.a)(Object(l.a)({},ft),{},{keyPath:(ft.keyPath||[]).concat(ot.props.eventKey)})},ot.triggerOpenChange=function(ft,ht){var st=ot.props.eventKey,kt=function(){ot.onOpenChange({key:st,item:Object(u.a)(ot),trigger:ht,open:ft})};ht==="mouseenter"?ot.mouseenterTimeout=setTimeout(function(){kt()},0):kt()},ot.isChildrenSelected=function(){var ft={find:!1};return Ve(ot.props.children,ot.props.selectedKeys,ft),ft.find},ot.isOpen=function(){return ot.props.openKeys.indexOf(ot.props.eventKey)!==-1},ot.adjustWidth=function(){if(!ot.subMenuTitle||!ot.menuInstance)return;var ft=Le.findDOMNode(ot.menuInstance);if(ft.offsetWidth>=ot.subMenuTitle.offsetWidth)return;ft.style.minWidth="".concat(ot.subMenuTitle.offsetWidth,"px")},ot.saveSubMenuTitle=function(ft){ot.subMenuTitle=ft},ot.getBaseProps=function(){var ft=Object(u.a)(ot),ht=ft.props;return{mode:ht.mode==="horizontal"?"vertical":ht.mode,visible:ot.props.isOpen,level:ht.level+1,inlineIndent:ht.inlineIndent,focusable:!1,onClick:ot.onSubMenuClick,onSelect:ot.onSelect,onDeselect:ot.onDeselect,onDestroy:ot.onDestroy,selectedKeys:ht.selectedKeys,eventKey:"".concat(ht.eventKey,"-menu-"),openKeys:ht.openKeys,motion:ht.motion,onOpenChange:ot.onOpenChange,subMenuOpenDelay:ht.subMenuOpenDelay,parentMenu:Object(u.a)(ot),subMenuCloseDelay:ht.subMenuCloseDelay,forceSubMenuRender:ht.forceSubMenuRender,triggerSubMenuAction:ht.triggerSubMenuAction,builtinPlacements:ht.builtinPlacements,defaultActiveFirst:ht.store.getState().defaultActiveFirst[Q(ht.eventKey)],multiple:ht.multiple,prefixCls:ht.rootPrefixCls,id:ot.internalMenuId,manualRef:ot.saveMenuInstance,itemIcon:ht.itemIcon,expandIcon:ht.expandIcon,direction:ht.direction}},ot.getMotion=function(ft,ht){var st=Object(u.a)(ot),kt=st.haveRendered,Tt=ot.props,ar=Tt.motion,Qt=Tt.rootPrefixCls,Er=Object(l.a)(Object(l.a)({},ar),{},{leavedClassName:"".concat(Qt,"-hidden"),removeOnLeave:!1,motionAppear:kt||!ht||ft!=="inline"});return Er};var gt=pt.store,Ye=pt.eventKey,$e=gt.getState(),Je=$e.defaultActiveFirst;ot.isRootMenu=!1;var it=!1;return Je&&(it=Je[Ye]),et(gt,Ye,it),ot}return Object(s.a)(Rt,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var ot=this,gt=this.props,Ye=gt.mode,$e=gt.parentMenu,Je=gt.manualRef;if(Je&&Je(this),Ye!=="horizontal"||!$e.isRootMenu||!this.props.isOpen)return;this.minWidthTimeout=setTimeout(function(){return ot.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var ot=this.props,gt=ot.onDestroy,Ye=ot.eventKey;gt&>(Ye),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)}},{key:"renderChildren",value:function(ot){var gt=this,Ye=this.getBaseProps(),$e=this.getMotion(Ye.mode,Ye.visible);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||Ye.visible||Ye.forceSubMenuRender,!this.haveOpened)return i.createElement("div",null);var Je=Ye.direction;return i.createElement(ge.default,Object.assign({visible:Ye.visible},$e),function(it){var ft=it.className,ht=it.style,st=O()("".concat(Ye.prefixCls,"-sub"),ft,Object(w.a)({},"".concat(Ye.prefixCls,"-rtl"),Je==="rtl"));return i.createElement(Et,Object.assign({},Ye,{id:gt.internalMenuId,className:st,style:ht}),ot)})}},{key:"render",value:function(){var ot,gt=Object(l.a)({},this.props),Ye=gt.isOpen,$e=this.getPrefixCls(),Je=gt.mode==="inline",it=O()($e,"".concat($e,"-").concat(gt.mode),(ot={},Object(w.a)(ot,gt.className,!!gt.className),Object(w.a)(ot,this.getOpenClassName(),Ye),Object(w.a)(ot,this.getActiveClassName(),gt.active||Ye&&!Je),Object(w.a)(ot,this.getDisabledClassName(),gt.disabled),Object(w.a)(ot,this.getSelectedClassName(),this.isChildrenSelected()),ot));this.internalMenuId||(gt.eventKey?this.internalMenuId="".concat(gt.eventKey,"$Menu"):(Pe+=1,this.internalMenuId="$__$".concat(Pe,"$Menu")));var ft={},ht={},st={};gt.disabled||(ft={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},ht={onClick:this.onTitleClick},st={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var kt={},Tt=gt.direction;Je&&(Tt==="rtl"?kt.paddingRight=gt.inlineIndent*gt.level:kt.paddingLeft=gt.inlineIndent*gt.level);var ar={};this.props.isOpen&&(ar={"aria-owns":this.internalMenuId});var Qt=null;gt.mode!=="horizontal"&&(Qt=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(Qt=i.createElement(this.props.expandIcon,Object(l.a)({},this.props))));var Er=i.createElement("div",Object.assign({ref:this.saveSubMenuTitle,style:kt,className:"".concat($e,"-title"),role:"button"},st,ht,{"aria-expanded":Ye},ar,{"aria-haspopup":"true",title:typeof gt.title=="string"?gt.title:void 0}),gt.title,Qt||i.createElement("i",{className:"".concat($e,"-arrow")})),Ir=this.renderChildren(gt.children),jr=gt.parentMenu.isRootMenu?gt.parentMenu.props.getPopupContainer:function(kr){return kr.parentNode},zr=Dt[gt.mode],hn=gt.popupOffset?{offset:gt.popupOffset}:{},gn=gt.mode==="inline"?"":gt.popupClassName;gn+=Tt==="rtl"?" ".concat($e,"-rtl"):"";var Br=gt.disabled,ln=gt.triggerSubMenuAction,Xr=gt.subMenuOpenDelay,cr=gt.forceSubMenuRender,wr=gt.subMenuCloseDelay,hr=gt.builtinPlacements;J.forEach(function(kr){return delete gt[kr]}),delete gt.onClick;var Ar=Tt==="rtl"?Object.assign({},ut,hr):Object.assign({},Ge,hr);return delete gt.direction,i.createElement("li",Object.assign({},gt,ft,{className:it,role:"menuitem"}),Je&&Er,Je&&Ir,!Je&&i.createElement(ne.a,{prefixCls:$e,popupClassName:O()("".concat($e,"-popup"),gn),getPopupContainer:jr,builtinPlacements:Ar,popupPlacement:zr,popupVisible:Ye,popupAlign:hn,popup:Ir,action:Br?[]:[ln],mouseEnterDelay:Xr,mouseLeaveDelay:wr,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:cr},Er))}}]),Rt}(i.Component);_t.defaultProps={onMouseEnter:ye,onMouseLeave:ye,onTitleMouseEnter:ye,onTitleMouseLeave:ye,onTitleClick:ye,manualRef:ye,mode:"vertical",title:""};var Nt=Object(v.b)(function(jt,Ct){var Rt=jt.openKeys,pt=jt.activeKey,ot=jt.selectedKeys,gt=Ct.eventKey,Ye=Ct.subMenuKey;return{isOpen:Rt.indexOf(gt)>-1,active:pt[Ye]===gt,selectedKeys:ot}})(_t);Nt.isSubMenu=!0;var Bt=Nt,Ft="menuitem-overflowed",Gt=.5,qe=function(jt){Object(f.a)(Rt,jt);var Ct=Object(A.a)(Rt);function Rt(){var pt;return Object(e.a)(this,Rt),pt=Ct.apply(this,arguments),pt.resizeObserver=null,pt.mutationObserver=null,pt.originalTotalWidth=0,pt.overflowedItems=[],pt.menuItemSizes=[],pt.cancelFrameId=null,pt.state={lastVisibleIndex:void 0},pt.getMenuItemNodes=function(){var ot=pt.props.prefixCls,gt=Le.findDOMNode(Object(u.a)(pt));return gt?[].slice.call(gt.children).filter(function(Ye){return Ye.className.split(" ").indexOf("".concat(ot,"-overflowed-submenu"))<0}):[]},pt.getOverflowedSubMenuItem=function(ot,gt,Ye){var $e=pt.props,Je=$e.overflowedIndicator,it=$e.level,ft=$e.mode,ht=$e.prefixCls,st=$e.theme;if(it!==1||ft!=="horizontal")return null;var kt=pt.props.children[0],Tt=kt.props,ar=Tt.children,Qt=Tt.title,Er=Tt.style,Ir=Object(ae.a)(Tt,["children","title","style"]),jr=Object(l.a)({},Er),zr="".concat(ot,"-overflowed-indicator"),hn="".concat(ot,"-overflowed-indicator");gt.length===0&&Ye!==!0?jr=Object(l.a)(Object(l.a)({},jr),{},{display:"none"}):Ye&&(jr=Object(l.a)(Object(l.a)({},jr),{},{visibility:"hidden",position:"absolute"}),zr="".concat(zr,"-placeholder"),hn="".concat(hn,"-placeholder"));var gn=st?"".concat(ht,"-").concat(st):"",Br={};return J.forEach(function(ln){Ir[ln]!==void 0&&(Br[ln]=Ir[ln])}),i.createElement(Bt,Object.assign({title:Je,className:"".concat(ht,"-overflowed-submenu"),popupClassName:gn},Br,{key:zr,eventKey:hn,disabled:!1,style:jr}),gt)},pt.setChildrenWidthAndResize=function(){if(pt.props.mode!=="horizontal")return;var ot=Le.findDOMNode(Object(u.a)(pt));if(!ot)return;var gt=ot.children;if(!gt||gt.length===0)return;var Ye=ot.children[gt.length-1];j(Ye,"display","inline-block");var $e=pt.getMenuItemNodes(),Je=$e.filter(function(it){return it.className.split(" ").indexOf(Ft)>=0});Je.forEach(function(it){j(it,"display","inline-block")}),pt.menuItemSizes=$e.map(function(it){return W(it,!0)}),Je.forEach(function(it){j(it,"display","none")}),pt.overflowedIndicatorWidth=W(ot.children[ot.children.length-1],!0),pt.originalTotalWidth=pt.menuItemSizes.reduce(function(it,ft){return it+ft},0),pt.handleResize(),j(Ye,"display","none")},pt.handleResize=function(){if(pt.props.mode!=="horizontal")return;var ot=Le.findDOMNode(Object(u.a)(pt));if(!ot)return;var gt=W(ot);pt.overflowedItems=[];var Ye=0,$e;pt.originalTotalWidth>gt+Gt&&($e=-1,pt.menuItemSizes.forEach(function(Je){Ye+=Je,Ye+pt.overflowedIndicatorWidth<=gt&&($e+=1)})),pt.setState({lastVisibleIndex:$e})},pt}return Object(s.a)(Rt,[{key:"componentDidMount",value:function(){var ot=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var gt=Le.findDOMNode(this);if(!gt)return;this.resizeObserver=new Ee.default(function(Ye){Ye.forEach(function(){var $e=ot.cancelFrameId;cancelAnimationFrame($e),ot.cancelFrameId=requestAnimationFrame(ot.setChildrenWidthAndResize)})}),[].slice.call(gt.children).concat(gt).forEach(function(Ye){ot.resizeObserver.observe(Ye)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){ot.resizeObserver.disconnect(),[].slice.call(gt.children).concat(gt).forEach(function(Ye){ot.resizeObserver.observe(Ye)}),ot.setChildrenWidthAndResize()}),this.mutationObserver.observe(gt,{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(ot){var gt=this,Ye=this.state.lastVisibleIndex;return(ot||[]).reduce(function($e,Je,it){var ft=Je;if(gt.props.mode==="horizontal"){var ht=gt.getOverflowedSubMenuItem(Je.props.eventKey,[]);Ye!==void 0&>.props.className.indexOf("".concat(gt.props.prefixCls,"-root"))!==-1&&(it>Ye&&(ft=i.cloneElement(Je,{style:{display:"none"},eventKey:"".concat(Je.props.eventKey,"-hidden"),className:"".concat(Ft)})),it===Ye+1&&(gt.overflowedItems=ot.slice(Ye+1).map(function(kt){return i.cloneElement(kt,{key:kt.props.eventKey,mode:"vertical-left"})}),ht=gt.getOverflowedSubMenuItem(Je.props.eventKey,gt.overflowedItems)));var st=[].concat(Object(me.a)($e),[ht,ft]);return it===ot.length-1&&st.push(gt.getOverflowedSubMenuItem(Je.props.eventKey,[],!0)),st}return[].concat(Object(me.a)($e),[ft])},[])}},{key:"render",value:function(){var ot=this.props,gt=ot.visible,Ye=ot.prefixCls,$e=ot.overflowedIndicator,Je=ot.mode,it=ot.level,ft=ot.tag,ht=ot.children,st=ot.theme,kt=Object(ae.a)(ot,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),Tt=ft;return i.createElement(Tt,Object.assign({},kt),this.renderChildren(ht))}}]),Rt}(i.Component);qe.defaultProps={tag:"div",className:""};var we=qe;function ue(jt){return jt.length?jt.every(function(Ct){return!!Ct.props.disabled}):!0}function vt(jt,Ct,Rt){var pt=jt.getState();jt.setState({activeKey:Object(l.a)(Object(l.a)({},pt.activeKey),{},Object(w.a)({},Ct,Rt))})}function at(jt){return jt.eventKey||"0-menu-"}function Ae(jt,Ct){var Rt=Ct,pt=jt.children,ot=jt.eventKey;if(Rt){var gt;if(ie(pt,function(Ye,$e){Ye&&Ye.props&&!Ye.props.disabled&&Rt===Be(Ye,ot,$e)&&(gt=!0)}),gt)return Rt}return Rt=null,jt.defaultActiveFirst&&ie(pt,function(Ye,$e){!Rt&&Ye&&!Ye.props.disabled&&(Rt=Be(Ye,ot,$e))}),Rt}function Xt(jt){if(jt){var Ct=this.instanceArray.indexOf(jt);Ct!==-1?this.instanceArray[Ct]=jt:this.instanceArray.push(jt)}}var Ot=function(jt){Object(f.a)(Rt,jt);var Ct=Object(A.a)(Rt);function Rt(pt){var ot;return Object(e.a)(this,Rt),ot=Ct.call(this,pt),ot.onKeyDown=function(gt,Ye){var $e=gt.keyCode,Je;if(ot.getFlatInstanceArray().forEach(function(ft){ft&&ft.props.active&&ft.onKeyDown&&(Je=ft.onKeyDown(gt))}),Je)return 1;var it=null;return($e===_.a.UP||$e===_.a.DOWN)&&(it=ot.step($e===_.a.UP?-1:1)),it?(gt.preventDefault(),vt(ot.props.store,at(ot.props),it.props.eventKey),typeof Ye=="function"&&Ye(it),1):void 0},ot.onItemHover=function(gt){var Ye=gt.key,$e=gt.hover;vt(ot.props.store,at(ot.props),$e?Ye:null)},ot.onDeselect=function(gt){ot.props.onDeselect(gt)},ot.onSelect=function(gt){ot.props.onSelect(gt)},ot.onClick=function(gt){ot.props.onClick(gt)},ot.onOpenChange=function(gt){ot.props.onOpenChange(gt)},ot.onDestroy=function(gt){ot.props.onDestroy(gt)},ot.getFlatInstanceArray=function(){return ot.instanceArray},ot.step=function(gt){var Ye=ot.getFlatInstanceArray(),$e=ot.props.store.getState().activeKey[at(ot.props)],Je=Ye.length;if(!Je)return null;gt<0&&(Ye=Ye.concat().reverse());var it=-1;if(Ye.every(function(kt,Tt){return kt&&kt.props.eventKey===$e?(it=Tt,!1):!0}),!ot.props.defaultActiveFirst&&it!==-1&&ue(Ye.slice(it,Je-1)))return;var ft=(it+1)%Je,ht=ft;do{var st=Ye[ht];if(!st||st.props.disabled)ht=(ht+1)%Je;else return st}while(ht!==ft);return null},ot.renderCommonMenuItem=function(gt,Ye,$e){var Je=ot.props.store.getState(),it=Object(u.a)(ot),ft=it.props,ht=Be(gt,ft.eventKey,Ye),st=gt.props;if(!st||typeof gt.type=="string")return gt;var kt=ht===Je.activeKey,Tt=Object(l.a)(Object(l.a)({mode:st.mode||ft.mode,level:ft.level,inlineIndent:ft.inlineIndent,renderMenuItem:ot.renderMenuItem,rootPrefixCls:ft.prefixCls,index:Ye,parentMenu:ft.parentMenu,manualRef:st.disabled?void 0:Object(T.a)(gt.ref,Xt.bind(Object(u.a)(ot))),eventKey:ht,active:!st.disabled&&kt,multiple:ft.multiple,onClick:function(Qt){(st.onClick||ye)(Qt),ot.onClick(Qt)},onItemHover:ot.onItemHover,motion:ft.motion,subMenuOpenDelay:ft.subMenuOpenDelay,subMenuCloseDelay:ft.subMenuCloseDelay,forceSubMenuRender:ft.forceSubMenuRender,onOpenChange:ot.onOpenChange,onDeselect:ot.onDeselect,onSelect:ot.onSelect,builtinPlacements:ft.builtinPlacements,itemIcon:st.itemIcon||ot.props.itemIcon,expandIcon:st.expandIcon||ot.props.expandIcon},$e),{},{direction:ft.direction});return(ft.mode==="inline"||Y())&&(Tt.triggerSubMenuAction="click"),i.cloneElement(gt,Tt)},ot.renderMenuItem=function(gt,Ye,$e){if(!gt)return null;var Je=ot.props.store.getState(),it={openKeys:Je.openKeys,selectedKeys:Je.selectedKeys,triggerSubMenuAction:ot.props.triggerSubMenuAction,subMenuKey:$e};return ot.renderCommonMenuItem(gt,Ye,it)},pt.store.setState({activeKey:Object(l.a)(Object(l.a)({},pt.store.getState().activeKey),{},Object(w.a)({},pt.eventKey,Ae(pt,pt.activeKey)))}),ot.instanceArray=[],ot}return Object(s.a)(Rt,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(ot){return this.props.visible||ot.visible||this.props.className!==ot.className||!E()(this.props.style,ot.style)}},{key:"componentDidUpdate",value:function(ot){var gt=this.props,Ye="activeKey"in gt?gt.activeKey:gt.store.getState().activeKey[at(gt)],$e=Ae(gt,Ye);if($e!==Ye)vt(gt.store,at(gt),$e);else if("activeKey"in ot){var Je=Ae(ot,ot.activeKey);$e!==Je&&vt(gt.store,at(gt),$e)}}},{key:"render",value:function(){var ot=this,gt=Object(b.a)({},this.props);this.instanceArray=[];var Ye=O()(gt.prefixCls,gt.className,"".concat(gt.prefixCls,"-").concat(gt.mode)),$e={className:Ye,role:gt.role||"menu"};gt.id&&($e.id=gt.id),gt.focusable&&($e.tabIndex=0,$e.onKeyDown=this.onKeyDown);var Je=gt.prefixCls,it=gt.eventKey,ft=gt.visible,ht=gt.level,st=gt.mode,kt=gt.overflowedIndicator,Tt=gt.theme;return J.forEach(function(ar){return delete gt[ar]}),delete gt.onClick,i.createElement(we,Object.assign({},gt,{prefixCls:Je,mode:st,tag:"ul",level:ht,theme:Tt,visible:ft,overflowedIndicator:kt},$e),i.Children.map(gt.children,function(ar,Qt){return ot.renderMenuItem(ar,Qt,it||"0-menu-")}))}}]),Rt}(i.Component);Ot.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:ye};var rt=Object(v.b)()(Ot),Et=rt,Zt=r("Kwbf");function vr(jt,Ct,Rt){var pt=jt.prefixCls,ot=jt.motion,gt=jt.defaultMotions,Ye=gt===void 0?{}:gt,$e=jt.openAnimation,Je=jt.openTransitionName,it=Ct.switchingModeFromInline;if(ot)return ot;if(Object(F.a)($e)==="object"&&$e)Object(Zt.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof $e=="string")return{motionName:"".concat(pt,"-open-").concat($e)};if(Je)return{motionName:Je};var ft=Ye[Rt];return ft||(it?null:Ye.other)}var mt=function(jt){Object(f.a)(Rt,jt);var Ct=Object(A.a)(Rt);function Rt(pt){var ot;Object(e.a)(this,Rt),ot=Ct.call(this,pt),ot.inlineOpenKeys=[],ot.onSelect=function($e){var Je=Object(u.a)(ot),it=Je.props;if(it.selectable){var ft=ot.store.getState(),ht=ft.selectedKeys,st=$e.key;it.multiple?ht=ht.concat([st]):ht=[st],"selectedKeys"in it||ot.store.setState({selectedKeys:ht}),it.onSelect(Object(l.a)(Object(l.a)({},$e),{},{selectedKeys:ht}))}},ot.onClick=function($e){var Je=ot.getRealMenuMode(),it=Object(u.a)(ot),ft=it.store,ht=it.props.onOpenChange;Je!=="inline"&&!("openKeys"in ot.props)&&(ft.setState({openKeys:[]}),ht([])),ot.props.onClick($e)},ot.onKeyDown=function($e,Je){ot.innerMenu.getWrappedInstance().onKeyDown($e,Je)},ot.onOpenChange=function($e){var Je=Object(u.a)(ot),it=Je.props,ft=ot.store.getState().openKeys.concat(),ht=!1,st=function(Tt){var ar=!1;if(Tt.open)ar=ft.indexOf(Tt.key)===-1,ar&&ft.push(Tt.key);else{var Qt=ft.indexOf(Tt.key);ar=Qt!==-1,ar&&ft.splice(Qt,1)}ht=ht||ar};Array.isArray($e)?$e.forEach(st):st($e),ht&&("openKeys"in ot.props||ot.store.setState({openKeys:ft}),it.onOpenChange(ft))},ot.onDeselect=function($e){var Je=Object(u.a)(ot),it=Je.props;if(it.selectable){var ft=ot.store.getState().selectedKeys.concat(),ht=$e.key,st=ft.indexOf(ht);st!==-1&&ft.splice(st,1),"selectedKeys"in it||ot.store.setState({selectedKeys:ft}),it.onDeselect(Object(l.a)(Object(l.a)({},$e),{},{selectedKeys:ft}))}},ot.onMouseEnter=function($e){ot.restoreModeVerticalFromInline();var Je=ot.props.onMouseEnter;Je&&Je($e)},ot.onTransitionEnd=function($e){var Je=$e.propertyName==="width"&&$e.target===$e.currentTarget,it=$e.target.className,ft=Object.prototype.toString.call(it)==="[object SVGAnimatedString]"?it.animVal:it,ht=$e.propertyName==="font-size"&&ft.indexOf("anticon")>=0;(Je||ht)&&ot.restoreModeVerticalFromInline()},ot.setInnerMenu=function($e){ot.innerMenu=$e},ot.isRootMenu=!0;var gt=pt.defaultSelectedKeys,Ye=pt.defaultOpenKeys;return"selectedKeys"in pt&&(gt=pt.selectedKeys||[]),"openKeys"in pt&&(Ye=pt.openKeys||[]),ot.store=Object(v.c)({selectedKeys:gt,openKeys:Ye,activeKey:{"0-menu-":Ae(pt,pt.activeKey)}}),ot.state={switchingModeFromInline:!1},ot}return Object(s.a)(Rt,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(ot){this.updateOpentKeysWhenSwitchMode(ot),this.updateMiniStore();var gt=this.props,Ye=gt.siderCollapsed,$e=gt.inlineCollapsed,Je=gt.onOpenChange;(!ot.inlineCollapsed&&$e||!ot.siderCollapsed&&Ye)&&Je([]),this.updateMenuDisplay()}},{key:"updateOpentKeysWhenSwitchMode",value:function(ot){var gt=this.props,Ye=this.store,$e=this.inlineOpenKeys,Je=Ye.getState(),it={};ot.mode==="inline"&>.mode!=="inline"&&this.setState({switchingModeFromInline:!0}),"openKeys"in gt||((gt.inlineCollapsed&&!ot.inlineCollapsed||gt.siderCollapsed&&!ot.siderCollapsed)&&(this.setState({switchingModeFromInline:!0}),this.inlineOpenKeys=Je.openKeys.concat(),it.openKeys=[]),(!gt.inlineCollapsed&&ot.inlineCollapsed||!gt.siderCollapsed&&ot.siderCollapsed)&&(it.openKeys=$e,this.inlineOpenKeys=[])),Object.keys(it).length&&Ye.setState(it)}},{key:"updateMenuDisplay",value:function(){var ot=this.props.collapsedWidth,gt=this.store,Ye=this.prevOpenKeys,$e=this.getInlineCollapsed()&&(ot===0||ot==="0"||ot==="0px");$e?(this.prevOpenKeys=gt.getState().openKeys.concat(),this.store.setState({openKeys:[]})):Ye&&(this.store.setState({openKeys:Ye}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var ot=this.props.mode,gt=this.state.switchingModeFromInline,Ye=this.getInlineCollapsed();return gt&&Ye?"inline":Ye?"vertical":ot}},{key:"getInlineCollapsed",value:function(){var ot=this.props,gt=ot.inlineCollapsed,Ye=ot.siderCollapsed;return Ye!==void 0?Ye:gt}},{key:"restoreModeVerticalFromInline",value:function(){var ot=this.state.switchingModeFromInline;ot&&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 ot=Object(l.a)({},Object(x.default)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),gt=this.getRealMenuMode();return ot.className+=" ".concat(ot.prefixCls,"-root"),ot.direction==="rtl"&&(ot.className+=" ".concat(ot.prefixCls,"-rtl")),ot=Object(l.a)(Object(l.a)({},ot),{},{mode:gt,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:vr(this.props,this.state,gt)}),delete ot.openAnimation,delete ot.openTransitionName,i.createElement(v.a,{store:this.store},i.createElement(Et,Object.assign({},ot,{ref:this.setInnerMenu}),this.props.children))}}]),Rt}(i.Component);mt.defaultProps={selectable:!0,onClick:ye,onSelect:ye,onOpenChange:ye,onDeselect:ye,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:i.createElement("span",null,"\xB7\xB7\xB7")};var ce=mt,le=function(jt){Object(f.a)(Rt,jt);var Ct=Object(A.a)(Rt);function Rt(){var pt;return Object(e.a)(this,Rt),pt=Ct.apply(this,arguments),pt.onKeyDown=function(ot){var gt=ot.keyCode;return gt===_.a.ENTER?(pt.onClick(ot),!0):void 0},pt.onMouseLeave=function(ot){var gt=pt.props,Ye=gt.eventKey,$e=gt.onItemHover,Je=gt.onMouseLeave;$e({key:Ye,hover:!1}),Je({key:Ye,domEvent:ot})},pt.onMouseEnter=function(ot){var gt=pt.props,Ye=gt.eventKey,$e=gt.onItemHover,Je=gt.onMouseEnter;$e({key:Ye,hover:!0}),Je({key:Ye,domEvent:ot})},pt.onClick=function(ot){var gt=pt.props,Ye=gt.eventKey,$e=gt.multiple,Je=gt.onClick,it=gt.onSelect,ft=gt.onDeselect,ht=gt.isSelected,st={key:Ye,keyPath:[Ye],item:Object(u.a)(pt),domEvent:ot};Je(st),$e?ht?ft(st):it(st):ht||it(st)},pt.saveNode=function(ot){pt.node=ot},pt}return Object(s.a)(Rt,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var ot=this.props;ot.onDestroy&&ot.onDestroy(ot.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 ot,gt=Object(l.a)({},this.props),Ye=O()(this.getPrefixCls(),gt.className,(ot={},Object(w.a)(ot,this.getActiveClassName(),!gt.disabled&>.active),Object(w.a)(ot,this.getSelectedClassName(),gt.isSelected),Object(w.a)(ot,this.getDisabledClassName(),gt.disabled),ot)),$e=Object(l.a)(Object(l.a)({},gt.attribute),{},{title:typeof gt.title=="string"?gt.title:void 0,className:Ye,role:gt.role||"menuitem","aria-disabled":gt.disabled});gt.role==="option"?$e=Object(l.a)(Object(l.a)({},$e),{},{role:"option","aria-selected":gt.isSelected}):(gt.role===null||gt.role==="none")&&($e.role="none");var Je={onClick:gt.disabled?null:this.onClick,onMouseLeave:gt.disabled?null:this.onMouseLeave,onMouseEnter:gt.disabled?null:this.onMouseEnter},it=Object(l.a)({},gt.style);gt.mode==="inline"&&(gt.direction==="rtl"?it.paddingRight=gt.inlineIndent*gt.level:it.paddingLeft=gt.inlineIndent*gt.level),J.forEach(function(ht){return delete gt[ht]}),delete gt.direction;var ft=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(ft=i.createElement(this.props.itemIcon,this.props)),i.createElement("li",Object.assign({},Object(x.default)(gt,["onClick","onMouseEnter","onMouseLeave","onSelect"]),$e,Je,{style:it,ref:this.saveNode}),gt.children,ft)}}]),Rt}(i.Component);le.isMenuItem=!0,le.defaultProps={onSelect:ye,onMouseEnter:ye,onMouseLeave:ye,manualRef:ye};var oe=Object(v.b)(function(jt,Ct){var Rt=jt.activeKey,pt=jt.selectedKeys,ot=Ct.eventKey,gt=Ct.subMenuKey;return{active:Rt[gt]===ot,isSelected:pt.indexOf(ot)!==-1}})(le),fe=oe,De=function(jt){Object(f.a)(Rt,jt);var Ct=Object(A.a)(Rt);function Rt(){var pt;return Object(e.a)(this,Rt),pt=Ct.apply(this,arguments),pt.renderInnerMenuItem=function(ot){var gt=pt.props,Ye=gt.renderMenuItem,$e=gt.index;return Ye(ot,$e,pt.props.subMenuKey)},pt}return Object(s.a)(Rt,[{key:"render",value:function(){var ot=Object(b.a)({},this.props),gt=ot.className,Ye=gt===void 0?"":gt,$e=ot.rootPrefixCls,Je="".concat($e,"-item-group-title"),it="".concat($e,"-item-group-list"),ft=ot.title,ht=ot.children;return J.forEach(function(st){return delete ot[st]}),delete ot.onClick,delete ot.direction,i.createElement("li",Object.assign({},ot,{className:"".concat(Ye," ").concat($e,"-item-group")}),i.createElement("div",{className:Je,title:typeof ft=="string"?ft:void 0},ft),i.createElement("ul",{className:it},i.Children.map(ht,this.renderInnerMenuItem)))}}]),Rt}(i.Component);De.isMenuItemGroup=!0,De.defaultProps={disabled:!0};var He=De,je=function(Ct){var Rt=Ct.className,pt=Ct.rootPrefixCls,ot=Ct.style;return i.createElement("li",{className:"".concat(Rt," ").concat(pt,"-item-divider"),style:ot})};je.defaultProps={disabled:!0,className:"",style:{}};var We=je,nt=ce,xt=Object(i.createContext)({inlineCollapsed:!1}),It=xt,ir=r("0n0R"),Me=function(jt){t()(Rt,jt);var Ct=d()(Rt);function Rt(){return h()(this,Rt),Ct.apply(this,arguments)}return o()(Rt,[{key:"renderTitle",value:function(ot){var gt=this.props,Ye=gt.icon,$e=gt.title,Je=gt.level,it=gt.rootPrefixCls;if(!Ye)return ot&&Je===1&&$e&&typeof $e=="string"?i.createElement("div",{className:"".concat(it,"-inline-collapsed-noicon")},$e.charAt(0)):$e;var ft=Object(ir.b)($e)&&$e.type==="span";return i.createElement(i.Fragment,null,Ye,ft?$e:i.createElement("span",null,$e))}},{key:"render",value:function(){var ot=this,gt=this.props,Ye=gt.rootPrefixCls,$e=gt.popupClassName;return i.createElement(It.Consumer,null,function(Je){var it=Je.inlineCollapsed,ft=Je.antdMenuTheme;return i.createElement(Bt,m()({},Object(x.default)(ot.props,["icon"]),{title:ot.renderTitle(it),popupClassName:O()(Ye,"".concat(Ye,"-").concat(ft),$e)}))})}}]),Rt}(i.Component);Me.contextType=It,Me.isSubMenu=1;var ke=Me,re=r("Zm9Q"),be=r("3S7+"),Ne=r("ZX9x"),Ke=function(jt,Ct){var Rt={};for(var pt in jt)Object.prototype.hasOwnProperty.call(jt,pt)&&Ct.indexOf(pt)<0&&(Rt[pt]=jt[pt]);if(jt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,pt=Object.getOwnPropertySymbols(jt);ot<pt.length;ot++)Ct.indexOf(pt[ot])<0&&Object.prototype.propertyIsEnumerable.call(jt,pt[ot])&&(Rt[pt[ot]]=jt[pt[ot]]);return Rt},Qe=function(jt){t()(Rt,jt);var Ct=d()(Rt);function Rt(){var pt;return h()(this,Rt),pt=Ct.apply(this,arguments),pt.renderItem=function(ot){var gt=ot.siderCollapsed,Ye=pt.props,$e=Ye.level,Je=Ye.className,it=Ye.children,ft=Ye.rootPrefixCls,ht=pt.props,st=ht.title,kt=ht.icon,Tt=ht.danger,ar=Ke(ht,["title","icon","danger"]);return i.createElement(It.Consumer,null,function(Qt){var Er,Ir=Qt.inlineCollapsed,jr=Qt.direction,zr=st;typeof st=="undefined"?zr=$e===1?it:"":st===!1&&(zr="");var hn={title:zr};!gt&&!Ir&&(hn.title=null,hn.visible=!1);var gn=Object(re.a)(it).length;return i.createElement(be.a,m()({},hn,{placement:jr==="rtl"?"left":"right",overlayClassName:"".concat(ft,"-inline-collapsed-tooltip")}),i.createElement(fe,m()({},ar,{className:O()(Je,(Er={},p()(Er,"".concat(ft,"-item-danger"),Tt),p()(Er,"".concat(ft,"-item-only-child"),(kt?gn+1:gn)===1),Er)),title:st}),kt,pt.renderItemChildren(Ir)))})},pt}return o()(Rt,[{key:"renderItemChildren",value:function(ot){var gt=this.props,Ye=gt.icon,$e=gt.children,Je=gt.level,it=gt.rootPrefixCls;return!Ye||Object(ir.b)($e)&&$e.type==="span"?$e&&ot&&Je===1&&typeof $e=="string"?i.createElement("div",{className:"".concat(it,"-inline-collapsed-noicon")},$e.charAt(0)):$e:i.createElement("span",null,$e)}},{key:"render",value:function(){return i.createElement(Ne.a.Consumer,null,this.renderItem)}}]),Rt}(i.Component);Qe.isMenuItem=!0;var ct=r("H84U"),Lt=r("uaoM"),rr=r("EXcs"),dr=function(jt){t()(Rt,jt);var Ct=d()(Rt);function Rt(pt){var ot;return h()(this,Rt),ot=Ct.call(this,pt),ot.renderMenu=function(gt){var Ye=gt.getPopupContainer,$e=gt.getPrefixCls,Je=gt.direction,it=ot.props,ft=it.prefixCls,ht=it.className,st=it.theme,kt={horizontal:{motionName:"slide-up"},inline:rr.a,other:{motionName:"zoom-big"}},Tt=$e("menu",ft),ar=O()(ht,"".concat(Tt,"-").concat(st),p()({},"".concat(Tt,"-inline-collapsed"),ot.getInlineCollapsed()));return i.createElement(It.Provider,{value:{inlineCollapsed:ot.getInlineCollapsed()||!1,antdMenuTheme:st,direction:Je}},i.createElement(nt,m()({getPopupContainer:Ye},ot.props,{className:ar,prefixCls:Tt,direction:Je,defaultMotions:kt})))},Object(Lt.a)(!("inlineCollapsed"in pt&&pt.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(Lt.a)(!(pt.siderCollapsed!==void 0&&"inlineCollapsed"in pt),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),ot}return o()(Rt,[{key:"getInlineCollapsed",value:function(){var ot=this.props,gt=ot.inlineCollapsed,Ye=ot.siderCollapsed;return Ye!==void 0?Ye:gt}},{key:"render",value:function(){return i.createElement(ct.a,null,this.renderMenu)}}]),Rt}(i.Component);dr.defaultProps={className:"",theme:"light",focusable:!1};var Pt=function(jt){t()(Rt,jt);var Ct=d()(Rt);function Rt(){return h()(this,Rt),Ct.apply(this,arguments)}return o()(Rt,[{key:"render",value:function(){var ot=this;return i.createElement(Ne.a.Consumer,null,function(gt){return i.createElement(dr,m()({},ot.props,gt))})}}]),Rt}(i.Component);Pt.Divider=We,Pt.Item=Qe,Pt.SubMenu=ke,Pt.ItemGroup=He},C0SR:function(B,N,r){var y=r("YH21"),m=function(){this._track=[]};m.prototype={constructor:m,recognize:function(o,n,t){return this._doTrack(o,n,t),this._recognize(o)},clear:function(){return this._track.length=0,this},_doTrack:function(o,n,t){var a=o.touches;if(!a)return;for(var d={points:[],touches:[],target:n,event:o},i=0,l=a.length;i<l;i++){var e=a[i],s=y.clientToLocal(t,e,{});d.points.push([s.zrX,s.zrY]),d.touches.push(e)}this._track.push(d)},_recognize:function(o){for(var n in g)if(g.hasOwnProperty(n)){var t=g[n](this._track,o);if(t)return t}}};function C(c){var o=c[1][0]-c[0][0],n=c[1][1]-c[0][1];return Math.sqrt(o*o+n*n)}function p(c){return[(c[0][0]+c[1][0])/2,(c[0][1]+c[1][1])/2]}var g={pinch:function(o,n){var t=o.length;if(!t)return;var a=(o[t-1]||{}).points,d=(o[t-2]||{}).points||a;if(d&&d.length>1&&a&&a.length>1){var i=C(a)/C(d);!isFinite(i)&&(i=1),n.pinchScale=i;var l=p(a);return n.pinchX=l[0],n.pinchY=l[1],{type:"pinch",target:o[0].target,event:n}}}},h=m;B.exports=h},C0tN:function(B,N,r){r("0o9m"),r("8Uz6"),r("Ducp"),r("6/nd")},CBdT:function(B,N,r){var y=r("ProS");r("8waO"),r("AEZ6"),r("YNf1");var m=r("q3GZ");y.registerVisual(m)},CF2D:function(B,N,r){var y=r("ProS");r("vZI5"),r("GeKi");var m=r("6r85"),C=r("TJmX"),p=r("CbHG");y.registerPreprocessor(m),y.registerVisual(C),y.registerLayout(p)},CFYs:function(B,N,r){"use strict";var y=r("lSNA"),m=r.n(y),C=r("pVnL"),p=r.n(C),g=r("lwsE"),h=r.n(g),c=r("W8MJ"),o=r.n(c),n=r("PJYZ"),t=r.n(n),a=r("7W2i"),d=r.n(a),i=r("LQ03"),l=r.n(i),e=r("q1tI"),s=r.n(e),u=r("TSYQ"),f=r.n(u),A=r("BGR+"),v=r("V/uB"),x=r.n(v),b=r("NAnI"),w=r.n(b),_=r("J84W"),T=r.n(_),S=r("kbBi"),E=r.n(S),I=r("H84U"),O=r("CWQg"),F=r("uaoM"),k=r("Zss7"),M=r.n(k),P=2,V=.16,D=.05,H=.05,U=.15,z=5,K=4,G=[{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 X(Qe,ct,Lt){var rr;return Math.round(Qe.h)>=60&&Math.round(Qe.h)<=240?rr=Lt?Math.round(Qe.h)-P*ct:Math.round(Qe.h)+P*ct:rr=Lt?Math.round(Qe.h)+P*ct:Math.round(Qe.h)-P*ct,rr<0?rr+=360:rr>=360&&(rr-=360),rr}function Z(Qe,ct,Lt){if(Qe.h===0&&Qe.s===0)return Qe.s;var rr;return Lt?rr=Qe.s-V*ct:ct===K?rr=Qe.s+V:rr=Qe.s+D*ct,rr>1&&(rr=1),Lt&&ct===z&&rr>.1&&(rr=.1),rr<.06&&(rr=.06),Number(rr.toFixed(2))}function ee(Qe,ct,Lt){var rr;return Lt?rr=Qe.v+H*ct:rr=Qe.v-U*ct,rr>1&&(rr=1),Number(rr.toFixed(2))}function Se(Qe){for(var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Lt=[],rr=M()(Qe),dr=z;dr>0;dr-=1){var Pt=rr.toHsv(),jt=M()({h:X(Pt,dr,!0),s:Z(Pt,dr,!0),v:ee(Pt,dr,!0)}).toHexString();Lt.push(jt)}Lt.push(rr.toHexString());for(var Ct=1;Ct<=K;Ct+=1){var Rt=rr.toHsv(),pt=M()({h:X(Rt,Ct),s:Z(Rt,Ct),v:ee(Rt,Ct)}).toHexString();Lt.push(pt)}return ct.theme==="dark"?G.map(function(ot){var gt=ot.index,Ye=ot.opacity,$e=M.a.mix(ct.backgroundColor||"#141414",Lt[gt],Ye*100).toHexString();return $e}):Lt}var $={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},pe={},xe={};Object.keys($).forEach(function(Qe){pe[Qe]=Se($[Qe]),pe[Qe].primary=pe[Qe][5],xe[Qe]=Se($[Qe],{theme:"dark",backgroundColor:"#141414"}),xe[Qe].primary=xe[Qe][5]});var _e=pe.red,Ue=pe.volcano,ye=pe.gold,Be=pe.orange,Q=pe.yellow,ie=pe.lime,Ve=pe.green,J=pe.cyan,W=pe.blue,j=pe.geekblue,Y=pe.purple,me=pe.magenta,ae=pe.grey;function Le(Qe){return!Qe||Qe<0?0:Qe>100?100:Qe}function Ee(Qe){var ct=Qe.success,Lt=Qe.successPercent,rr=Lt;return ct&&"progress"in ct&&(Object(F.a)(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),rr=ct.progress),ct&&"percent"in ct&&(rr=ct.percent),rr}var ne=function(Qe,ct){var Lt={};for(var rr in Qe)Object.prototype.hasOwnProperty.call(Qe,rr)&&ct.indexOf(rr)<0&&(Lt[rr]=Qe[rr]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dr=0,rr=Object.getOwnPropertySymbols(Qe);dr<rr.length;dr++)ct.indexOf(rr[dr])<0&&Object.prototype.propertyIsEnumerable.call(Qe,rr[dr])&&(Lt[rr[dr]]=Qe[rr[dr]]);return Lt},ge=function(ct){var Lt=[];return Object.keys(ct).forEach(function(rr){var dr=parseFloat(rr.replace(/%/g,""));isNaN(dr)||Lt.push({key:dr,value:ct[rr]})}),Lt=Lt.sort(function(rr,dr){return rr.key-dr.key}),Lt.map(function(rr){var dr=rr.key,Pt=rr.value;return"".concat(Pt," ").concat(dr,"%")}).join(", ")},Ie=function(ct){var Lt=ct.from,rr=Lt===void 0?$.blue:Lt,dr=ct.to,Pt=dr===void 0?$.blue:dr,jt=ct.direction,Ct=jt===void 0?"to right":jt,Rt=ne(ct,["from","to","direction"]);if(Object.keys(Rt).length!==0){var pt=ge(Rt);return{backgroundImage:"linear-gradient(".concat(Ct,", ").concat(pt,")")}}return{backgroundImage:"linear-gradient(".concat(Ct,", ").concat(rr,", ").concat(Pt,")")}},Ge=function(ct){var Lt=ct.prefixCls,rr=ct.percent,dr=ct.strokeWidth,Pt=ct.size,jt=ct.strokeColor,Ct=ct.strokeLinecap,Rt=ct.children,pt=ct.trailColor,ot=ct.success,gt=jt&&typeof jt!="string"?Ie(jt):{background:jt},Ye=pt?{backgroundColor:pt}:void 0,$e=p()({width:"".concat(Le(rr),"%"),height:dr||(Pt==="small"?6:8),borderRadius:Ct==="square"?0:""},gt),Je=Ee(ct),it={width:"".concat(Le(Je),"%"),height:dr||(Pt==="small"?6:8),borderRadius:Ct==="square"?0:"",backgroundColor:ot==null?void 0:ot.strokeColor},ft=Je!==void 0?e.createElement("div",{className:"".concat(Lt,"-success-bg"),style:it}):null;return e.createElement(e.Fragment,null,e.createElement("div",{className:"".concat(Lt,"-outer")},e.createElement("div",{className:"".concat(Lt,"-inner"),style:Ye},e.createElement("div",{className:"".concat(Lt,"-bg"),style:$e}),ft)),Rt)},ut=Ge,wt={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},Pe=function(ct){var Lt=ct.map(function(){return Object(e.useRef)()}),rr=Object(e.useRef)();return Object(e.useEffect)(function(){var dr=Date.now(),Pt=!1;Object.keys(Lt).forEach(function(jt){var Ct=Lt[jt].current;if(!Ct)return;Pt=!0;var Rt=Ct.style;Rt.transitionDuration=".3s, .3s, .3s, .06s",rr.current&&dr-rr.current<100&&(Rt.transitionDuration="0s, 0s")}),Pt&&(rr.current=Date.now())}),[Lt]};function Dt(){return Dt=Object.assign||function(Qe){for(var ct=1;ct<arguments.length;ct++){var Lt=arguments[ct];for(var rr in Lt)Object.prototype.hasOwnProperty.call(Lt,rr)&&(Qe[rr]=Lt[rr])}return Qe},Dt.apply(this,arguments)}function et(Qe,ct){return Gt(Qe)||Ft(Qe,ct)||Nt(Qe,ct)||_t()}function _t(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Nt(Qe,ct){if(!Qe)return;if(typeof Qe=="string")return Bt(Qe,ct);var Lt=Object.prototype.toString.call(Qe).slice(8,-1);if(Lt==="Object"&&Qe.constructor&&(Lt=Qe.constructor.name),Lt==="Map"||Lt==="Set")return Array.from(Qe);if(Lt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Lt))return Bt(Qe,ct)}function Bt(Qe,ct){(ct==null||ct>Qe.length)&&(ct=Qe.length);for(var Lt=0,rr=new Array(ct);Lt<ct;Lt++)rr[Lt]=Qe[Lt];return rr}function Ft(Qe,ct){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Qe)))return;var Lt=[],rr=!0,dr=!1,Pt=void 0;try{for(var jt=Qe[Symbol.iterator](),Ct;!(rr=(Ct=jt.next()).done)&&!(Lt.push(Ct.value),ct&&Lt.length===ct);rr=!0);}catch(Rt){dr=!0,Pt=Rt}finally{try{!rr&&jt.return!=null&&jt.return()}finally{if(dr)throw Pt}}return Lt}function Gt(Qe){if(Array.isArray(Qe))return Qe}function qe(Qe,ct){if(Qe==null)return{};var Lt=we(Qe,ct),rr,dr;if(Object.getOwnPropertySymbols){var Pt=Object.getOwnPropertySymbols(Qe);for(dr=0;dr<Pt.length;dr++){if(rr=Pt[dr],ct.indexOf(rr)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Qe,rr))continue;Lt[rr]=Qe[rr]}}return Lt}function we(Qe,ct){if(Qe==null)return{};var Lt={},rr=Object.keys(Qe),dr,Pt;for(Pt=0;Pt<rr.length;Pt++){if(dr=rr[Pt],ct.indexOf(dr)>=0)continue;Lt[dr]=Qe[dr]}return Lt}var ue=function(ct){var Lt=ct.className,rr=ct.percent,dr=ct.prefixCls,Pt=ct.strokeColor,jt=ct.strokeLinecap,Ct=ct.strokeWidth,Rt=ct.style,pt=ct.trailColor,ot=ct.trailWidth,gt=ct.transition,Ye=qe(ct,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete Ye.gapPosition;var $e=Array.isArray(rr)?rr:[rr],Je=Array.isArray(Pt)?Pt:[Pt],it=Pe($e),ft=et(it,1),ht=ft[0],st=Ct/2,kt=100-Ct/2,Tt="M ".concat(jt==="round"?st:0,",").concat(st,`
|
|
|
L `).concat(jt==="round"?kt:100,",").concat(st),ar="0 0 100 ".concat(Ct),Qt=0;return s.a.createElement("svg",Dt({className:f()("".concat(dr,"-line"),Lt),viewBox:ar,preserveAspectRatio:"none",style:Rt},Ye),s.a.createElement("path",{className:"".concat(dr,"-line-trail"),d:Tt,strokeLinecap:jt,stroke:pt,strokeWidth:ot||Ct,fillOpacity:"0"}),$e.map(function(Er,Ir){var jr={strokeDasharray:"".concat(Er,"px, 100px"),strokeDashoffset:"-".concat(Qt,"px"),transition:gt||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},zr=Je[Ir]||Je[Je.length-1];return Qt+=Er,s.a.createElement("path",{key:Ir,className:"".concat(dr,"-line-path"),d:Tt,strokeLinecap:jt,stroke:zr,strokeWidth:Ct,fillOpacity:"0",ref:ht[Ir],style:jr})}))};ue.defaultProps=wt;var vt=ue;function at(){return at=Object.assign||function(Qe){for(var ct=1;ct<arguments.length;ct++){var Lt=arguments[ct];for(var rr in Lt)Object.prototype.hasOwnProperty.call(Lt,rr)&&(Qe[rr]=Lt[rr])}return Qe},at.apply(this,arguments)}function Ae(Qe,ct){return Zt(Qe)||Et(Qe,ct)||Ot(Qe,ct)||Xt()}function Xt(){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 Ot(Qe,ct){if(!Qe)return;if(typeof Qe=="string")return rt(Qe,ct);var Lt=Object.prototype.toString.call(Qe).slice(8,-1);if(Lt==="Object"&&Qe.constructor&&(Lt=Qe.constructor.name),Lt==="Map"||Lt==="Set")return Array.from(Qe);if(Lt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Lt))return rt(Qe,ct)}function rt(Qe,ct){(ct==null||ct>Qe.length)&&(ct=Qe.length);for(var Lt=0,rr=new Array(ct);Lt<ct;Lt++)rr[Lt]=Qe[Lt];return rr}function Et(Qe,ct){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Qe)))return;var Lt=[],rr=!0,dr=!1,Pt=void 0;try{for(var jt=Qe[Symbol.iterator](),Ct;!(rr=(Ct=jt.next()).done)&&!(Lt.push(Ct.value),ct&&Lt.length===ct);rr=!0);}catch(Rt){dr=!0,Pt=Rt}finally{try{!rr&&jt.return!=null&&jt.return()}finally{if(dr)throw Pt}}return Lt}function Zt(Qe){if(Array.isArray(Qe))return Qe}function vr(Qe,ct){if(Qe==null)return{};var Lt=mt(Qe,ct),rr,dr;if(Object.getOwnPropertySymbols){var Pt=Object.getOwnPropertySymbols(Qe);for(dr=0;dr<Pt.length;dr++){if(rr=Pt[dr],ct.indexOf(rr)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Qe,rr))continue;Lt[rr]=Qe[rr]}}return Lt}function mt(Qe,ct){if(Qe==null)return{};var Lt={},rr=Object.keys(Qe),dr,Pt;for(Pt=0;Pt<rr.length;Pt++){if(dr=rr[Pt],ct.indexOf(dr)>=0)continue;Lt[dr]=Qe[dr]}return Lt}var ce=0;function le(Qe){return+Qe.replace("%","")}function oe(Qe){return Array.isArray(Qe)?Qe:[Qe]}function fe(Qe,ct,Lt,rr){var dr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,Pt=arguments.length>5?arguments[5]:void 0,jt=50-rr/2,Ct=0,Rt=-jt,pt=0,ot=-2*jt;switch(Pt){case"left":Ct=-jt,Rt=0,pt=2*jt,ot=0;break;case"right":Ct=jt,Rt=0,pt=-2*jt,ot=0;break;case"bottom":Rt=jt,ot=2*jt;break;default:}var gt="M 50,50 m ".concat(Ct,",").concat(Rt,`
|
|
|
a `).concat(jt,",").concat(jt," 0 1 1 ").concat(pt,",").concat(-ot,`
|
|
|
a `).concat(jt,",").concat(jt," 0 1 1 ").concat(-pt,",").concat(ot),Ye=Math.PI*2*jt,$e={stroke:Lt,strokeDasharray:"".concat(ct/100*(Ye-dr),"px ").concat(Ye,"px"),strokeDashoffset:"-".concat(dr/2+Qe/100*(Ye-dr),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:gt,pathStyle:$e}}var De=function(ct){var Lt=ct.prefixCls,rr=ct.strokeWidth,dr=ct.trailWidth,Pt=ct.gapDegree,jt=ct.gapPosition,Ct=ct.trailColor,Rt=ct.strokeLinecap,pt=ct.style,ot=ct.className,gt=ct.strokeColor,Ye=ct.percent,$e=vr(ct,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),Je=Object(e.useMemo)(function(){return ce+=1,ce},[]),it=fe(0,100,Ct,rr,Pt,jt),ft=it.pathString,ht=it.pathStyle,st=oe(Ye),kt=oe(gt),Tt=kt.find(function(jr){return Object.prototype.toString.call(jr)==="[object Object]"}),ar=Pe(st),Qt=Ae(ar,1),Er=Qt[0],Ir=function(){var zr=0;return st.map(function(hn,gn){var Br=kt[gn]||kt[kt.length-1],ln=Object.prototype.toString.call(Br)==="[object Object]"?"url(#".concat(Lt,"-gradient-").concat(Je,")"):"",Xr=fe(zr,hn,Br,rr,Pt,jt);return zr+=hn,s.a.createElement("path",{key:gn,className:"".concat(Lt,"-circle-path"),d:Xr.pathString,stroke:ln,strokeLinecap:Rt,strokeWidth:rr,opacity:hn===0?0:1,fillOpacity:"0",style:Xr.pathStyle,ref:Er[gn]})})};return s.a.createElement("svg",at({className:f()("".concat(Lt,"-circle"),ot),viewBox:"0 0 100 100",style:pt},$e),Tt&&s.a.createElement("defs",null,s.a.createElement("linearGradient",{id:"".concat(Lt,"-gradient-").concat(Je),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(Tt).sort(function(jr,zr){return le(jr)-le(zr)}).map(function(jr,zr){return s.a.createElement("stop",{key:zr,offset:jr,stopColor:Tt[jr]})}))),s.a.createElement("path",{className:"".concat(Lt,"-circle-trail"),d:ft,stroke:Ct,strokeLinecap:Rt,strokeWidth:dr||rr,fillOpacity:"0",style:ht}),Ir().reverse())};De.defaultProps=wt;var He=De,je={Line:vt,Circle:He};function We(Qe){var ct=Qe.percent,Lt=Qe.success,rr=Qe.successPercent,dr=Le(ct),Pt=Ee({success:Lt,successPercent:rr});return Pt?[Le(Pt),Le(dr-Le(Pt))]:dr}function nt(Qe){var ct=Qe.success,Lt=Qe.strokeColor,rr=Qe.successPercent,dr=Lt||null,Pt=Ee({success:ct,successPercent:rr});return Pt?[$.green,dr]:dr}var xt=function(ct){var Lt=ct.prefixCls,rr=ct.width,dr=ct.strokeWidth,Pt=ct.trailColor,jt=ct.strokeLinecap,Ct=ct.gapPosition,Rt=ct.gapDegree,pt=ct.type,ot=ct.children,gt=rr||120,Ye={width:gt,height:gt,fontSize:gt*.15+6},$e=dr||6,Je=Ct||pt==="dashboard"&&"bottom"||"top",it=function(){return Rt||Rt===0?Rt:pt==="dashboard"?75:void 0},ft=nt(ct),ht=Object.prototype.toString.call(ft)==="[object Object]",st=f()("".concat(Lt,"-inner"),m()({},"".concat(Lt,"-circle-gradient"),ht));return e.createElement("div",{className:st,style:Ye},e.createElement(He,{percent:We(ct),strokeWidth:$e,trailWidth:$e,strokeColor:ft,strokeLinecap:jt,trailColor:Pt,prefixCls:Lt,gapDegree:it(),gapPosition:Je}),ot)},It=xt,ir=function(ct){for(var Lt=ct.size,rr=ct.steps,dr=ct.percent,Pt=dr===void 0?0:dr,jt=ct.strokeWidth,Ct=jt===void 0?8:jt,Rt=ct.strokeColor,pt=ct.trailColor,ot=ct.prefixCls,gt=ct.children,Ye=Math.floor(rr*(Pt/100)),$e=Lt==="small"?2:14,Je=[],it=0;it<rr;it+=1)Je.push(e.createElement("div",{key:it,className:f()("".concat(ot,"-steps-item"),m()({},"".concat(ot,"-steps-item-active"),it<=Ye-1)),style:{backgroundColor:it<=Ye-1?Rt:pt,width:$e,height:Ct}}));return e.createElement("div",{className:"".concat(ot,"-steps-outer")},Je,gt)},Me=ir,ke=function(Qe,ct){var Lt={};for(var rr in Qe)Object.prototype.hasOwnProperty.call(Qe,rr)&&ct.indexOf(rr)<0&&(Lt[rr]=Qe[rr]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dr=0,rr=Object.getOwnPropertySymbols(Qe);dr<rr.length;dr++)ct.indexOf(rr[dr])<0&&Object.prototype.propertyIsEnumerable.call(Qe,rr[dr])&&(Lt[rr[dr]]=Qe[rr[dr]]);return Lt},re=Object(O.a)("line","circle","dashboard"),be=Object(O.a)("normal","exception","active","success"),Ne=function(Qe){d()(Lt,Qe);var ct=l()(Lt);function Lt(){var rr;return h()(this,Lt),rr=ct.apply(this,arguments),rr.renderProgress=function(dr){var Pt,jt=dr.getPrefixCls,Ct=dr.direction,Rt=t()(rr),pt=Rt.props,ot=pt.prefixCls,gt=pt.className,Ye=pt.size,$e=pt.type,Je=pt.steps,it=pt.showInfo,ft=pt.strokeColor,ht=ke(pt,["prefixCls","className","size","type","steps","showInfo","strokeColor"]),st=jt("progress",ot),kt=rr.getProgressStatus(),Tt=rr.renderProcessInfo(st,kt);Object(F.a)(!("successPercent"in pt),"Progress","`successPercent` is deprecated. Please use `success.percent` instead.");var ar;$e==="line"?ar=Je?e.createElement(Me,p()({},rr.props,{strokeColor:typeof ft=="string"?ft:void 0,prefixCls:st,steps:Je}),Tt):e.createElement(ut,p()({},rr.props,{prefixCls:st}),Tt):($e==="circle"||$e==="dashboard")&&(ar=e.createElement(It,p()({},rr.props,{prefixCls:st,progressStatus:kt}),Tt));var Qt=f()(st,(Pt={},m()(Pt,"".concat(st,"-").concat($e==="dashboard"&&"circle"||Je&&"steps"||$e),!0),m()(Pt,"".concat(st,"-status-").concat(kt),!0),m()(Pt,"".concat(st,"-show-info"),it),m()(Pt,"".concat(st,"-").concat(Ye),Ye),m()(Pt,"".concat(st,"-rtl"),Ct==="rtl"),Pt),gt);return e.createElement("div",p()({},Object(A.default)(ht,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent","steps","success","successPercent"]),{className:Qt}),ar)},rr}return o()(Lt,[{key:"getPercentNumber",value:function(){var dr=this.props.percent,Pt=dr===void 0?0:dr,jt=Ee(this.props);return parseInt(jt!==void 0?jt.toString():Pt.toString(),10)}},{key:"getProgressStatus",value:function(){var dr=this.props.status;return be.indexOf(dr)<0&&this.getPercentNumber()>=100?"success":dr||"normal"}},{key:"renderProcessInfo",value:function(dr,Pt){var jt=this.props,Ct=jt.showInfo,Rt=jt.format,pt=jt.type,ot=jt.percent,gt=Ee(this.props);if(!Ct)return null;var Ye,$e=Rt||function(it){return"".concat(it,"%")},Je=pt==="line";return Rt||Pt!=="exception"&&Pt!=="success"?Ye=$e(Le(ot),Le(gt)):Pt==="exception"?Ye=Je?e.createElement(E.a,null):e.createElement(x.a,null):Pt==="success"&&(Ye=Je?e.createElement(T.a,null):e.createElement(w.a,null)),e.createElement("span",{className:"".concat(dr,"-text"),title:typeof Ye=="string"?Ye:void 0},Ye)}},{key:"render",value:function(){return e.createElement(I.a,null,this.renderProgress)}}]),Lt}(e.Component);Ne.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",gapDegree:void 0,strokeLinecap:"round"};var Ke=N.a=Ne},"CMP+":function(B,N,r){var y=r("bYtY"),m=r("hM6l"),C=function(g,h,c,o){m.call(this,g,h,c),this.type=o||"value",this.model=null};C.prototype={constructor:C,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return this.model.get("orient")==="horizontal"}},y.inherits(C,m);var p=C;B.exports=p},CP8R:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};N.default=y},"CWI+":function(B,N,r){},CbHG:function(B,N,r){var y=r("IwbS"),m=y.subPixelOptimize,C=r("zM3Q"),p=r("OELB"),g=p.parsePercent,h=r("bYtY"),c=h.retrieve2,o=typeof Float32Array!="undefined"?Float32Array:Array,n={seriesType:"candlestick",plan:C(),reset:function(d){var i=d.coordinateSystem,l=d.getData(),e=a(d,l),s=0,u=1,f=["x","y"],A=l.mapDimension(f[s]),v=l.mapDimension(f[u],!0),x=v[0],b=v[1],w=v[2],_=v[3];if(l.setLayout({candleWidth:e,isSimpleBox:e<=1.3}),A==null||v.length<4)return;return{progress:d.pipelineContext.large?S:T};function T(E,I){for(var O;(O=E.next())!=null;){var F=I.get(A,O),k=I.get(x,O),M=I.get(b,O),P=I.get(w,O),V=I.get(_,O),D=Math.min(k,M),H=Math.max(k,M),U=Z(D,F),z=Z(H,F),K=Z(P,F),G=Z(V,F),X=[];ee(X,z,0),ee(X,U,1),X.push($(G),$(z),$(K),$(U)),I.setItemLayout(O,{sign:t(I,O,k,M,b),initBaseline:k>M?z[u]:U[u],ends:X,brushRect:Se(P,V,F)})}function Z(pe,xe){var _e=[];return _e[s]=xe,_e[u]=pe,isNaN(xe)||isNaN(pe)?[NaN,NaN]:i.dataToPoint(_e)}function ee(pe,xe,_e){var Ue=xe.slice(),ye=xe.slice();Ue[s]=m(Ue[s]+e/2,1,!1),ye[s]=m(ye[s]-e/2,1,!0),_e?pe.push(Ue,ye):pe.push(ye,Ue)}function Se(pe,xe,_e){var Ue=Z(pe,_e),ye=Z(xe,_e);return Ue[s]-=e/2,ye[s]-=e/2,{x:Ue[0],y:Ue[1],width:u?e:ye[0]-Ue[0],height:u?ye[1]-Ue[1]:e}}function $(pe){return pe[s]=m(pe[s],1),pe}}function S(E,I){for(var O=new o(E.count*4),F=0,k,M=[],P=[],V;(V=E.next())!=null;){var D=I.get(A,V),H=I.get(x,V),U=I.get(b,V),z=I.get(w,V),K=I.get(_,V);if(isNaN(D)||isNaN(z)||isNaN(K)){O[F++]=NaN,F+=3;continue}O[F++]=t(I,V,H,U,b),M[s]=D,M[u]=z,k=i.dataToPoint(M,null,P),O[F++]=k?k[0]:NaN,O[F++]=k?k[1]:NaN,M[u]=K,k=i.dataToPoint(M,null,P),O[F++]=k?k[1]:NaN}I.setLayout("largePoints",O)}}};function t(d,i,l,e,s){var u;return l>e?u=-1:l<e?u=1:u=i>0?d.get(s,i-1)<=e?1:-1:1,u}function a(d,i){var l=d.getBaseAxis(),e,s=l.type==="category"?l.getBandWidth():(e=l.getExtent(),Math.abs(e[1]-e[0])/i.count()),u=g(c(d.get("barMaxWidth"),s),s),f=g(c(d.get("barMinWidth"),1),s),A=d.get("barWidth");return A!=null?g(A,s):Math.max(Math.min(s/2,u),f)}B.exports=n},Cm0C:function(B,N,r){r("5NHt"),r("f3JH")},Cmcn:function(B,N,r){"use strict";r.d(N,"a",function(){return m});var y=r("0HTW");function m(C,p){var g;if(typeof Symbol=="undefined"||C[Symbol.iterator]==null){if(Array.isArray(C)||(g=Object(y.a)(C))||p&&C&&typeof C.length=="number"){g&&(C=g);var h=0,c=function(){};return{s:c,n:function(){return h>=C.length?{done:!0}:{done:!1,value:C[h++]}},e:function(d){throw d},f:c}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,n=!1,t;return{s:function(){g=C[Symbol.iterator]()},n:function(){var d=g.next();return o=d.done,d},e:function(d){n=!0,t=d},f:function(){try{!o&&g.return!=null&&g.return()}finally{if(n)throw t}}}}},CrYA:function(B,N,r){var y=r("MFOe"),m=y.Global;B.exports={name:"sessionStorage",read:p,write:g,each:h,remove:c,clearAll:o};function C(){return m.sessionStorage}function p(n){return C().getItem(n)}function g(n,t){return C().setItem(n,t)}function h(n){for(var t=C().length-1;t>=0;t--){var a=C().key(t);n(p(a),a)}}function c(n){return C().removeItem(n)}function o(){return C().clear()}},Csr3:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("4vCz"));function m(p){return p&&p.__esModule?p:{default:p}}var C=y;N.default=C,B.exports=C},D1WM:function(B,N,r){var y=r("bYtY"),m=r("hM6l"),C=function(g,h,c,o,n){m.call(this,g,h,c),this.type=o||"value",this.axisIndex=n};C.prototype={constructor:C,model:null,isHorizontal:function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"}},y.inherits(C,m);var p=C;B.exports=p},D5nY:function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("4NO4"),p=C.makeInner,g=C.getDataItemValue,h=r("bYtY"),c=h.createHashMap,o=h.each,n=h.map,t=h.isArray,a=h.isString,d=h.isObject,i=h.isTypedArray,l=h.isArrayLike,e=h.extend,s=h.assert,u=r("7G+c"),f=r("k9D9"),A=f.SOURCE_FORMAT_ORIGINAL,v=f.SOURCE_FORMAT_ARRAY_ROWS,x=f.SOURCE_FORMAT_OBJECT_ROWS,b=f.SOURCE_FORMAT_KEYED_COLUMNS,w=f.SOURCE_FORMAT_UNKNOWN,_=f.SOURCE_FORMAT_TYPED_ARRAY,T=f.SERIES_LAYOUT_BY_ROW,S={Must:1,Might:2,Not:3},E=p();function I(X){var Z=X.option.source,ee=w;if(i(Z))ee=_;else if(t(Z)){Z.length===0&&(ee=v);for(var Se=0,$=Z.length;Se<$;Se++){var pe=Z[Se];if(pe==null)continue;if(t(pe)){ee=v;break}else if(d(pe)){ee=x;break}}}else if(d(Z)){for(var xe in Z)if(Z.hasOwnProperty(xe)&&l(Z[xe])){ee=b;break}}else if(Z!=null)throw new Error("Invalid data");E(X).sourceFormat=ee}function O(X){return E(X).source}function F(X){E(X).datasetMap=c()}function k(X){var Z=X.option,ee=Z.data,Se=i(ee)?_:A,$=!1,pe=Z.seriesLayoutBy,xe=Z.sourceHeader,_e=Z.dimensions,Ue=z(X);if(Ue){var ye=Ue.option;ee=ye.source,Se=E(Ue).sourceFormat,$=!0,pe=pe||ye.seriesLayoutBy,xe==null&&(xe=ye.sourceHeader),_e=_e||ye.dimensions}var Be=M(ee,Se,pe,xe,_e);E(X).source=new u({data:ee,fromDataset:$,seriesLayoutBy:pe,sourceFormat:Se,dimensionsDefine:Be.dimensionsDefine,startIndex:Be.startIndex,dimensionsDetectCount:Be.dimensionsDetectCount,encodeDefine:Z.encode})}function M(X,Z,ee,Se,$){if(!X)return{dimensionsDefine:P($)};var pe,xe;if(Z===v)Se==="auto"||Se==null?V(function(Ue){Ue!=null&&Ue!=="-"&&(a(Ue)?xe==null&&(xe=1):xe=0)},ee,X,10):xe=Se?1:0,!$&&xe===1&&($=[],V(function(Ue,ye){$[ye]=Ue!=null?Ue:""},ee,X)),pe=$?$.length:ee===T?X.length:X[0]?X[0].length:null;else if(Z===x)$||($=D(X));else if(Z===b)$||($=[],o(X,function(Ue,ye){$.push(ye)}));else if(Z===A){var _e=g(X[0]);pe=t(_e)&&_e.length||1}else Z===_;return{startIndex:xe,dimensionsDefine:P($),dimensionsDetectCount:pe}}function P(X){if(!X)return;var Z=c();return n(X,function(ee,Se){if(ee=e({},d(ee)?ee:{name:ee}),ee.name==null)return ee;ee.name+="",ee.displayName==null&&(ee.displayName=ee.name);var $=Z.get(ee.name);return $?ee.name+="-"+$.count++:Z.set(ee.name,{count:1}),ee})}function V(X,Z,ee,Se){if(Se==null&&(Se=Infinity),Z===T)for(var $=0;$<ee.length&&$<Se;$++)X(ee[$]?ee[$][0]:null,$);else for(var pe=ee[0]||[],$=0;$<pe.length&&$<Se;$++)X(pe[$],$)}function D(X){for(var Z=0,ee;Z<X.length&&!(ee=X[Z++]););if(ee){var Se=[];return o(ee,function($,pe){Se.push(pe)}),Se}}function H(X,Z,ee){var Se={},$=z(Z);if(!$||!X)return Se;var pe=[],xe=[],_e=Z.ecModel,Ue=E(_e).datasetMap,ye=$.uid+"_"+ee.seriesLayoutBy,Be,Q;X=X.slice(),o(X,function(W,j){!d(W)&&(X[j]={name:W}),W.type==="ordinal"&&Be==null&&(Be=j,Q=J(X[j])),Se[W.name]=[]});var ie=Ue.get(ye)||Ue.set(ye,{categoryWayDim:Q,valueWayDim:0});o(X,function(W,j){var Y=W.name,me=J(W);if(Be==null){var ae=ie.valueWayDim;Ve(Se[Y],ae,me),Ve(xe,ae,me),ie.valueWayDim+=me}else if(Be===j)Ve(Se[Y],0,me),Ve(pe,0,me);else{var ae=ie.categoryWayDim;Ve(Se[Y],ae,me),Ve(xe,ae,me),ie.categoryWayDim+=me}});function Ve(W,j,Y){for(var me=0;me<Y;me++)W.push(j+me)}function J(W){var j=W.dimsDef;return j?j.length:1}return pe.length&&(Se.itemName=pe),xe.length&&(Se.seriesName=xe),Se}function U(X,Z,ee){var Se={},$=z(X);if(!$)return Se;var pe=Z.sourceFormat,xe=Z.dimensionsDefine,_e;(pe===x||pe===b)&&o(xe,function(Be,Q){(d(Be)?Be.name:Be)==="name"&&(_e=Q)});var Ue=function(){for(var Be={},Q={},ie=[],Ve=0,J=Math.min(5,ee);Ve<J;Ve++){var W=G(Z.data,pe,Z.seriesLayoutBy,xe,Z.startIndex,Ve);ie.push(W);var j=W===S.Not;if(j&&Be.v==null&&Ve!==_e&&(Be.v=Ve),(Be.n==null||Be.n===Be.v||!j&&ie[Be.n]===S.Not)&&(Be.n=Ve),Y(Be)&&ie[Be.n]!==S.Not)return Be;j||(W===S.Might&&Q.v==null&&Ve!==_e&&(Q.v=Ve),(Q.n==null||Q.n===Q.v)&&(Q.n=Ve))}function Y(me){return me.v!=null&&me.n!=null}return Y(Be)?Be:Y(Q)?Q:null}();if(Ue){Se.value=Ue.v;var ye=_e!=null?_e:Ue.n;Se.itemName=[ye],Se.seriesName=[ye]}return Se}function z(X){var Z=X.option,ee=Z.data;if(!ee)return X.ecModel.getComponent("dataset",Z.datasetIndex||0)}function K(X,Z){return G(X.data,X.sourceFormat,X.seriesLayoutBy,X.dimensionsDefine,X.startIndex,Z)}function G(X,Z,ee,Se,$,pe){var xe,_e=5;if(i(X))return S.Not;var Ue,ye;if(Se){var Be=Se[pe];d(Be)?(Ue=Be.name,ye=Be.type):a(Be)&&(Ue=Be)}if(ye!=null)return ye==="ordinal"?S.Must:S.Not;if(Z===v)if(ee===T){for(var Q=X[pe],ie=0;ie<(Q||[]).length&&ie<_e;ie++)if((xe=j(Q[$+ie]))!=null)return xe}else for(var ie=0;ie<X.length&&ie<_e;ie++){var Ve=X[$+ie];if(Ve&&(xe=j(Ve[pe]))!=null)return xe}else if(Z===x){if(!Ue)return S.Not;for(var ie=0;ie<X.length&&ie<_e;ie++){var J=X[ie];if(J&&(xe=j(J[Ue]))!=null)return xe}}else if(Z===b){if(!Ue)return S.Not;var Q=X[Ue];if(!Q||i(Q))return S.Not;for(var ie=0;ie<Q.length&&ie<_e;ie++)if((xe=j(Q[ie]))!=null)return xe}else if(Z===A)for(var ie=0;ie<X.length&&ie<_e;ie++){var J=X[ie],W=g(J);if(!t(W))return S.Not;if((xe=j(W[pe]))!=null)return xe}function j(Y){var me=a(Y);if(Y!=null&&isFinite(Y)&&Y!=="")return me?S.Might:S.Not;if(me&&Y!=="-")return S.Must}return S.Not}N.BE_ORDINAL=S,N.detectSourceFormat=I,N.getSource=O,N.resetSourceDefaulter=F,N.prepareSource=k,N.makeSeriesEncodeForAxisCoordSys=H,N.makeSeriesEncodeForNameBased=U,N.guessOrdinal=K},D9ME:function(B,N,r){var y=r("IwbS"),m=r("fls0"),C=r("bYtY"),p=r("oVpE"),g=p.createSymbol,h=r("QBsz"),c=r("Sj9i");function o(a,d,i){y.Group.call(this),this.add(this.createLine(a,d,i)),this._updateEffectSymbol(a,d)}var n=o.prototype;n.createLine=function(a,d,i){return new m(a,d,i)},n._updateEffectSymbol=function(a,d){var i=a.getItemModel(d),l=i.getModel("effect"),e=l.get("symbolSize"),s=l.get("symbol");C.isArray(e)||(e=[e,e]);var u=l.get("color")||a.getItemVisual(d,"color"),f=this.childAt(1);if(this._symbolType!==s&&(this.remove(f),f=g(s,-.5,-.5,1,1,u),f.z2=100,f.culling=!0,this.add(f)),!f)return;f.setStyle("shadowColor",u),f.setStyle(l.getItemStyle(["color"])),f.attr("scale",e),f.setColor(u),f.attr("scale",e),this._symbolType=s,this._symbolScale=e,this._updateEffectAnimation(a,l,d)},n._updateEffectAnimation=function(a,d,i){var l=this.childAt(1);if(!l)return;var e=this,s=a.getItemLayout(i),u=d.get("period")*1e3,f=d.get("loop"),A=d.get("constantSpeed"),v=C.retrieve(d.get("delay"),function(_){return _/a.count()*u/3}),x=typeof v=="function";if(l.ignore=!0,this.updateAnimationPoints(l,s),A>0&&(u=this.getLineLength(l)/A*1e3),u!==this._period||f!==this._loop){l.stopAnimation();var b=v;x&&(b=v(i)),l.__t>0&&(b=-u*l.__t),l.__t=0;var w=l.animate("",f).when(u,{__t:1}).delay(b).during(function(){e.updateSymbolPosition(l)});f||w.done(function(){e.remove(l)}),w.start()}this._period=u,this._loop=f},n.getLineLength=function(a){return h.dist(a.__p1,a.__cp1)+h.dist(a.__cp1,a.__p2)},n.updateAnimationPoints=function(a,d){a.__p1=d[0],a.__p2=d[1],a.__cp1=d[2]||[(d[0][0]+d[1][0])/2,(d[0][1]+d[1][1])/2]},n.updateData=function(a,d,i){this.childAt(0).updateData(a,d,i),this._updateEffectSymbol(a,d)},n.updateSymbolPosition=function(a){var d=a.__p1,i=a.__p2,l=a.__cp1,e=a.__t,s=a.position,u=[s[0],s[1]],f=c.quadraticAt,A=c.quadraticDerivativeAt;s[0]=f(d[0],l[0],i[0],e),s[1]=f(d[1],l[1],i[1],e);var v=A(d[0],l[0],i[0],e),x=A(d[1],l[1],i[1],e);if(a.rotation=-Math.atan2(x,v)-Math.PI/2,this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")if(a.__lastT!==void 0&&a.__lastT<a.__t){var b=h.dist(u,s)*1.05;a.attr("scale",[a.scale[0],b]),e===1&&(s[0]=u[0]+(s[0]-u[0])/2,s[1]=u[1]+(s[1]-u[1])/2)}else if(a.__lastT===1){var b=2*h.dist(d,s);a.attr("scale",[a.scale[0],b])}else a.attr("scale",this._symbolScale);a.__lastT=a.__t,a.ignore=!1},n.updateLayout=function(a,d){this.childAt(0).updateLayout(a,d);var i=a.getItemModel(d).getModel("effect");this._updateEffectAnimation(a,i,d)},C.inherits(o,y.Group);var t=o;B.exports=t},DBLp:function(B,N){function r(){}r.prototype={diff:function(h,c,o){o||(o=function(x,b){return x===b}),this.equals=o;var n=this;h=h.slice(),c=c.slice();var t=c.length,a=h.length,d=1,i=t+a,l=[{newPos:-1,components:[]}],e=this.extractCommon(l[0],c,h,0);if(l[0].newPos+1>=t&&e+1>=a){for(var s=[],u=0;u<c.length;u++)s.push(u);return[{indices:s,count:c.length}]}function f(){for(var v=-1*d;v<=d;v+=2){var x,b=l[v-1],w=l[v+1],_=(w?w.newPos:0)-v;b&&(l[v-1]=void 0);var T=b&&b.newPos+1<t,S=w&&0<=_&&_<a;if(!T&&!S){l[v]=void 0;continue}if(!T||S&&b.newPos<w.newPos?(x=m(w),n.pushComponent(x.components,void 0,!0)):(x=b,x.newPos++,n.pushComponent(x.components,!0,void 0)),_=n.extractCommon(x,c,h,v),x.newPos+1>=t&&_+1>=a)return y(n,x.components,c,h);l[v]=x}d++}for(;d<=i;){var A=f();if(A)return A}},pushComponent:function(h,c,o){var n=h[h.length-1];n&&n.added===c&&n.removed===o?h[h.length-1]={count:n.count+1,added:c,removed:o}:h.push({count:1,added:c,removed:o})},extractCommon:function(h,c,o,n){for(var t=c.length,a=o.length,d=h.newPos,i=d-n,l=0;d+1<t&&i+1<a&&this.equals(c[d+1],o[i+1]);)d++,i++,l++;return l&&h.components.push({count:l}),h.newPos=d,i},tokenize:function(h){return h.slice()},join:function(h){return h.slice()}};function y(g,h,c,o){for(var n=0,t=h.length,a=0,d=0;n<t;n++){var i=h[n];if(i.removed){for(var l=[],e=d;e<d+i.count;e++)l.push(e);i.indices=l,d+=i.count}else{for(var l=[],e=a;e<a+i.count;e++)l.push(e);i.indices=l,a+=i.count,i.added||(d+=i.count)}}return h}function m(g){return{newPos:g.newPos,components:g.components.slice(0)}}var C=new r;function p(g,h,c){return C.diff(g,h,c)}B.exports=p},DEFe:function(B,N,r){var y=r("bYtY"),m=r("SgGq"),C=r("Ae+d"),p=r("xSat"),g=p.onIrrelevantElement,h=r("IwbS"),c=r("W4dC"),o=r("iRjW"),n=o.getUID,t=r("DN4a");function a(s){var u=s.getItemStyle(),f=s.get("areaColor");return f!=null&&(u.fill=f),u}function d(s,u,f,A,v){f.off("click"),f.off("mousedown"),u.get("selectedMode")&&(f.on("mousedown",function(){s._mouseDownFlag=!0}),f.on("click",function(x){if(!s._mouseDownFlag)return;s._mouseDownFlag=!1;for(var b=x.target;!b.__regions;)b=b.parent;if(!b)return;var w={type:(u.mainType==="geo"?"geo":"map")+"ToggleSelect",batch:y.map(b.__regions,function(_){return{name:_.name,from:v.uid}})};w[u.mainType+"Id"]=u.id,A.dispatchAction(w),i(u,f)}))}function i(s,u){u.eachChild(function(f){y.each(f.__regions,function(A){f.trigger(s.isSelected(A.name)?"emphasis":"normal")})})}function l(s,u){var f=new h.Group;this.uid=n("ec_map_draw"),this._controller=new m(s.getZr()),this._controllerHost={target:u?f:null},this.group=f,this._updateGroup=u,this._mouseDownFlag,this._mapName,this._initialized,f.add(this._regionsGroup=new h.Group),f.add(this._backgroundGroup=new h.Group)}l.prototype={constructor:l,draw:function(s,u,f,A,v){var x=s.mainType==="geo",b=s.getData&&s.getData();x&&u.eachComponent({mainType:"series",subType:"map"},function(z){!b&&z.getHostGeoModel()===s&&(b=z.getData())});var w=s.coordinateSystem;this._updateBackground(w);var _=this._regionsGroup,T=this.group,S=w.getTransformInfo(),E=!_.childAt(0)||v,I;if(E)T.transform=S.roamTransform,T.decomposeTransform(),T.dirty();else{var O=new t;O.transform=S.roamTransform,O.decomposeTransform();var F={scale:O.scale,position:O.position};I=O.scale,h.updateProps(T,F,s)}var k=S.rawScale,M=S.rawPosition;_.removeAll();var P=["itemStyle"],V=["emphasis","itemStyle"],D=["label"],H=["emphasis","label"],U=y.createHashMap();y.each(w.regions,function(z){var K=U.get(z.name)||U.set(z.name,new h.Group),G=new h.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});K.add(G);var X=s.getRegionModel(z.name)||s,Z=X.getModel(P),ee=X.getModel(V),Se=a(Z),$=a(ee),pe=X.getModel(D),xe=X.getModel(H),_e;if(b){_e=b.indexOfName(z.name);var Ue=b.getItemVisual(_e,"color",!0);Ue&&(Se.fill=Ue)}var ye=function(ae){return[ae[0]*k[0]+M[0],ae[1]*k[1]+M[1]]};y.each(z.geometries,function(ae){if(ae.type!=="polygon")return;for(var Le=[],Ee=0;Ee<ae.exterior.length;++Ee)Le.push(ye(ae.exterior[Ee]));G.shape.paths.push(new h.Polygon({segmentIgnoreThreshold:1,shape:{points:Le}}));for(var Ee=0;Ee<(ae.interiors?ae.interiors.length:0);++Ee){for(var ne=ae.interiors[Ee],Le=[],ge=0;ge<ne.length;++ge)Le.push(ye(ne[ge]));G.shape.paths.push(new h.Polygon({segmentIgnoreThreshold:1,shape:{points:Le}}))}}),G.setStyle(Se),G.style.strokeNoScale=!0,G.culling=!0;var Be=pe.get("show"),Q=xe.get("show"),ie=b&&isNaN(b.get(b.mapDimension("value"),_e)),Ve=b&&b.getItemLayout(_e);if(x||ie&&(Be||Q)||Ve&&Ve.showLabel){var J=x?z.name:_e,W;(!b||_e>=0)&&(W=s);var j=new h.Text({position:ye(z.center.slice()),scale:[1/T.scale[0],1/T.scale[1]],z2:10,silent:!0});if(h.setLabelStyle(j.style,j.hoverStyle={},pe,xe,{labelFetcher:W,labelDataIndex:J,defaultText:z.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!E){var Y=[1/I[0],1/I[1]];h.updateProps(j,{scale:Y},s)}K.add(j)}if(b)b.setItemGraphicEl(_e,K);else{var X=s.getRegionModel(z.name);G.eventData={componentType:"geo",componentIndex:s.componentIndex,geoIndex:s.componentIndex,name:z.name,region:X&&X.option||{}}}var me=K.__regions||(K.__regions=[]);me.push(z),K.highDownSilentOnTouch=!!s.get("selectedMode"),h.setHoverStyle(K,$),_.add(K)}),this._updateController(s,u,f),d(this,s,_,f,A),i(s,_)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&c.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(s){var u=s.map;this._mapName!==u&&y.each(c.makeGraphic(u,this.uid),function(f){this._backgroundGroup.add(f)},this),this._mapName=u},_updateController:function(s,u,f){var A=s.coordinateSystem,v=this._controller,x=this._controllerHost;x.zoomLimit=s.get("scaleLimit"),x.zoom=A.getZoom(),v.enable(s.get("roam")||!1);var b=s.mainType;function w(){var _={type:"geoRoam",componentType:b};return _[b+"Id"]=s.id,_}v.off("pan").on("pan",function(_){this._mouseDownFlag=!1,C.updateViewOnPan(x,_.dx,_.dy),f.dispatchAction(y.extend(w(),{dx:_.dx,dy:_.dy}))},this),v.off("zoom").on("zoom",function(_){if(this._mouseDownFlag=!1,C.updateViewOnZoom(x,_.scale,_.originX,_.originY),f.dispatchAction(y.extend(w(),{zoom:_.scale,originX:_.originX,originY:_.originY})),this._updateGroup){var T=this.group.scale;this._regionsGroup.traverse(function(S){S.type==="text"&&S.attr("scale",[1/T[0],1/T[1]])})}},this),v.setPointerChecker(function(_,T,S){return A.getViewRectAfterRoam().contain(T,S)&&!g(_,f,s)})}};var e=l;B.exports=e},DFOY:function(B,N,r){"use strict";var y=r("pVnL"),m=r.n(y),C=r("lSNA"),p=r.n(C),g=r("lwsE"),h=r.n(g),c=r("W8MJ"),o=r.n(c),n=r("PJYZ"),t=r.n(n),a=r("7W2i"),d=r.n(a),i=r("LQ03"),l=r.n(i),e=r("q1tI"),s=r("uciX"),u=r("2W6z"),f=r.n(u),A=r("4IlW"),v=r("uK0f"),x=r.n(v);function b(oe,fe){if(oe===fe)return!0;if(!oe||!fe)return!1;var De=oe.length;if(fe.length!==De)return!1;for(var He=0;He<De;He++)if(oe[He]!==fe[He])return!1;return!0}function w(oe){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(De){return typeof De}:w=function(De){return De&&typeof Symbol=="function"&&De.constructor===Symbol&&De!==Symbol.prototype?"symbol":typeof De},w(oe)}function _(oe,fe){if(!(oe instanceof fe))throw new TypeError("Cannot call a class as a function")}function T(oe,fe){for(var De=0;De<fe.length;De++){var He=fe[De];He.enumerable=He.enumerable||!1,He.configurable=!0,"value"in He&&(He.writable=!0),Object.defineProperty(oe,He.key,He)}}function S(oe,fe,De){return fe&&T(oe.prototype,fe),De&&T(oe,De),oe}function E(oe,fe){if(typeof fe!="function"&&fe!==null)throw new TypeError("Super expression must either be null or a function");oe.prototype=Object.create(fe&&fe.prototype,{constructor:{value:oe,writable:!0,configurable:!0}}),fe&&I(oe,fe)}function I(oe,fe){return I=Object.setPrototypeOf||function(He,je){return He.__proto__=je,He},I(oe,fe)}function O(oe){var fe=M();return function(){var De=P(oe),He;if(fe){var je=P(this).constructor;He=Reflect.construct(De,arguments,je)}else He=De.apply(this,arguments);return F(this,He)}}function F(oe,fe){return fe&&(w(fe)==="object"||typeof fe=="function")?fe:k(oe)}function k(oe){if(oe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return oe}function M(){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(oe){return!1}}function P(oe){return P=Object.setPrototypeOf?Object.getPrototypeOf:function(De){return De.__proto__||Object.getPrototypeOf(De)},P(oe)}var V=function(){var oe=function(fe){E(He,fe);var De=O(He);function He(){var je;return _(this,He),je=De.apply(this,arguments),je.menuItems={},je.saveMenuItem=function(We){return function(nt){je.menuItems[We]=nt}},je}return S(He,[{key:"componentDidMount",value:function(){this.scrollActiveItemToView()}},{key:"componentDidUpdate",value:function(We){!We.visible&&this.props.visible&&this.scrollActiveItemToView()}},{key:"getFieldName",value:function(We){var nt=this.props,xt=nt.fieldNames,It=nt.defaultFieldNames;return xt[We]||It[We]}},{key:"getOption",value:function(We,nt){var xt=this.props,It=xt.prefixCls,ir=xt.expandTrigger,Me=xt.expandIcon,ke=xt.loadingIcon,re=this.props.onSelect.bind(this,We,nt),be=this.props.onItemDoubleClick.bind(this,We,nt),Ne={onClick:re,onDoubleClick:be},Ke="".concat(It,"-menu-item"),Qe=null,ct=We[this.getFieldName("children")]&&We[this.getFieldName("children")].length>0;(ct||We.isLeaf===!1)&&(Ke+=" ".concat(It,"-menu-item-expand"),We.loading||(Qe=e.createElement("span",{className:"".concat(It,"-menu-item-expand-icon")},Me))),ir==="hover"&&(ct||We.isLeaf===!1)&&(Ne={onMouseEnter:this.delayOnSelect.bind(this,re),onMouseLeave:this.delayOnSelect.bind(this),onClick:re}),this.isActiveOption(We,nt)&&(Ke+=" ".concat(It,"-menu-item-active"),Ne.ref=this.saveMenuItem(nt)),We.disabled&&(Ke+=" ".concat(It,"-menu-item-disabled"));var Lt=null;We.loading&&(Ke+=" ".concat(It,"-menu-item-loading"),Lt=ke||null);var rr="";return"title"in We?rr=We.title:typeof We[this.getFieldName("label")]=="string"&&(rr=We[this.getFieldName("label")]),e.createElement("li",Object.assign({key:We[this.getFieldName("value")],className:Ke,title:rr},Ne,{role:"menuitem",onMouseDown:function(Pt){return Pt.preventDefault()}}),We[this.getFieldName("label")],Qe,Lt)}},{key:"getActiveOptions",value:function(We){var nt=this,xt=this.props.options,It=We||this.props.activeValue;return x()(xt,function(ir,Me){return ir[nt.getFieldName("value")]===It[Me]},{childrenKeyName:this.getFieldName("children")})}},{key:"getShowOptions",value:function(){var We=this,nt=this.props.options,xt=this.getActiveOptions().map(function(It){return It[We.getFieldName("children")]}).filter(function(It){return!!It});return xt.unshift(nt),xt}},{key:"delayOnSelect",value:function(We){for(var nt=this,xt=arguments.length,It=new Array(xt>1?xt-1:0),ir=1;ir<xt;ir++)It[ir-1]=arguments[ir];this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null),typeof We=="function"&&(this.delayTimer=window.setTimeout(function(){We(It),nt.delayTimer=null},150))}},{key:"scrollActiveItemToView",value:function(){for(var We=this.getShowOptions().length,nt=0;nt<We;nt++){var xt=this.menuItems[nt];xt&&xt.parentElement&&(xt.parentElement.scrollTop=xt.offsetTop)}}},{key:"isActiveOption",value:function(We,nt){var xt=this.props.activeValue,It=xt===void 0?[]:xt;return It[nt]===We[this.getFieldName("value")]}},{key:"render",value:function(){var We=this,nt=this.props,xt=nt.prefixCls,It=nt.dropdownMenuColumnStyle;return e.createElement("div",null,this.getShowOptions().map(function(ir,Me){return e.createElement("ul",{className:"".concat(xt,"-menu"),key:Me,style:It},ir.map(function(ke){return We.getOption(ke,Me)}))}))}}]),He}(e.Component);return oe.defaultProps={options:[],value:[],activeValue:[],onSelect:function(){},prefixCls:"rc-cascader-menus",visible:!1,expandTrigger:"click"},oe}(),D=V,H={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}}},U=H;function z(oe){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?z=function(De){return typeof De}:z=function(De){return De&&typeof Symbol=="function"&&De.constructor===Symbol&&De!==Symbol.prototype?"symbol":typeof De},z(oe)}function K(oe,fe){if(oe==null)return{};var De=G(oe,fe),He,je;if(Object.getOwnPropertySymbols){var We=Object.getOwnPropertySymbols(oe);for(je=0;je<We.length;je++){if(He=We[je],fe.indexOf(He)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(oe,He))continue;De[He]=oe[He]}}return De}function G(oe,fe){if(oe==null)return{};var De={},He=Object.keys(oe),je,We;for(We=0;We<He.length;We++){if(je=He[We],fe.indexOf(je)>=0)continue;De[je]=oe[je]}return De}function X(oe){return $(oe)||Se(oe)||ee(oe)||Z()}function Z(){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 ee(oe,fe){if(!oe)return;if(typeof oe=="string")return pe(oe,fe);var De=Object.prototype.toString.call(oe).slice(8,-1);if(De==="Object"&&oe.constructor&&(De=oe.constructor.name),De==="Map"||De==="Set")return Array.from(oe);if(De==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(De))return pe(oe,fe)}function Se(oe){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(oe))return Array.from(oe)}function $(oe){if(Array.isArray(oe))return pe(oe)}function pe(oe,fe){(fe==null||fe>oe.length)&&(fe=oe.length);for(var De=0,He=new Array(fe);De<fe;De++)He[De]=oe[De];return He}function xe(oe,fe){if(!(oe instanceof fe))throw new TypeError("Cannot call a class as a function")}function _e(oe,fe){for(var De=0;De<fe.length;De++){var He=fe[De];He.enumerable=He.enumerable||!1,He.configurable=!0,"value"in He&&(He.writable=!0),Object.defineProperty(oe,He.key,He)}}function Ue(oe,fe,De){return fe&&_e(oe.prototype,fe),De&&_e(oe,De),oe}function ye(oe,fe){if(typeof fe!="function"&&fe!==null)throw new TypeError("Super expression must either be null or a function");oe.prototype=Object.create(fe&&fe.prototype,{constructor:{value:oe,writable:!0,configurable:!0}}),fe&&Be(oe,fe)}function Be(oe,fe){return Be=Object.setPrototypeOf||function(He,je){return He.__proto__=je,He},Be(oe,fe)}function Q(oe){var fe=J();return function(){var De=W(oe),He;if(fe){var je=W(this).constructor;He=Reflect.construct(De,arguments,je)}else He=De.apply(this,arguments);return ie(this,He)}}function ie(oe,fe){return fe&&(z(fe)==="object"||typeof fe=="function")?fe:Ve(oe)}function Ve(oe){if(oe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return oe}function J(){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(oe){return!1}}function W(oe){return W=Object.setPrototypeOf?Object.getPrototypeOf:function(De){return De.__proto__||Object.getPrototypeOf(De)},W(oe)}var j=function(){var oe=function(fe){ye(He,fe);var De=Q(He);function He(je){var We;xe(this,He),We=De.call(this,je),We.setPopupVisible=function(xt){var It=We.state.value;"popupVisible"in We.props||We.setState({popupVisible:xt}),xt&&!We.state.popupVisible&&We.setState({activeValue:It}),We.props.onPopupVisibleChange(xt)},We.handleChange=function(xt,It,ir){var Me=It.visible;(ir.type!=="keydown"||ir.keyCode===A.a.ENTER)&&(We.props.onChange(xt.map(function(ke){return ke[We.getFieldName("value")]}),xt),We.setPopupVisible(Me))},We.handlePopupVisibleChange=function(xt){We.setPopupVisible(xt)},We.handleMenuSelect=function(xt,It,ir){var Me=We.trigger.getRootDomNode();Me&&Me.focus&&Me.focus();var ke=We.props,re=ke.changeOnSelect,be=ke.loadData,Ne=ke.expandTrigger;if(!xt||xt.disabled)return;var Ke=We.state.activeValue;Ke=Ke.slice(0,It+1),Ke[It]=xt[We.getFieldName("value")];var Qe=We.getActiveOptions(Ke);if(xt.isLeaf===!1&&!xt[We.getFieldName("children")]&&be){re&&We.handleChange(Qe,{visible:!0},ir),We.setState({activeValue:Ke}),be(Qe);return}var ct={};!xt[We.getFieldName("children")]||!xt[We.getFieldName("children")].length?(We.handleChange(Qe,{visible:!1},ir),ct.value=Ke):re&&(ir.type==="click"||ir.type==="keydown")&&(Ne==="hover"?We.handleChange(Qe,{visible:!1},ir):We.handleChange(Qe,{visible:!0},ir),ct.value=Ke),ct.activeValue=Ke,("value"in We.props||ir.type==="keydown"&&ir.keyCode!==A.a.ENTER)&&delete ct.value,We.setState(ct)},We.handleItemDoubleClick=function(){var xt=We.props.changeOnSelect;xt&&We.setPopupVisible(!1)},We.handleKeyDown=function(xt){var It=We.props.children;if(It&&It.props.onKeyDown){It.props.onKeyDown(xt);return}var ir=X(We.state.activeValue),Me=ir.length-1<0?0:ir.length-1,ke=We.getCurrentLevelOptions(),re=ke.map(function(Qe){return Qe[We.getFieldName("value")]}).indexOf(ir[Me]);if(xt.keyCode!==A.a.DOWN&&xt.keyCode!==A.a.UP&&xt.keyCode!==A.a.LEFT&&xt.keyCode!==A.a.RIGHT&&xt.keyCode!==A.a.ENTER&&xt.keyCode!==A.a.SPACE&&xt.keyCode!==A.a.BACKSPACE&&xt.keyCode!==A.a.ESC&&xt.keyCode!==A.a.TAB)return;if(!We.state.popupVisible&&xt.keyCode!==A.a.BACKSPACE&&xt.keyCode!==A.a.LEFT&&xt.keyCode!==A.a.RIGHT&&xt.keyCode!==A.a.ESC&&xt.keyCode!==A.a.TAB){We.setPopupVisible(!0);return}if(xt.keyCode===A.a.DOWN||xt.keyCode===A.a.UP){xt.preventDefault();var be=re;be!==-1?xt.keyCode===A.a.DOWN?(be+=1,be=be>=ke.length?0:be):(be-=1,be=be<0?ke.length-1:be):be=0,ir[Me]=ke[be][We.getFieldName("value")]}else if(xt.keyCode===A.a.LEFT||xt.keyCode===A.a.BACKSPACE)xt.preventDefault(),ir.splice(ir.length-1,1);else if(xt.keyCode===A.a.RIGHT)xt.preventDefault(),ke[re]&&ke[re][We.getFieldName("children")]&&ir.push(ke[re][We.getFieldName("children")][0][We.getFieldName("value")]);else if(xt.keyCode===A.a.ESC||xt.keyCode===A.a.TAB){We.setPopupVisible(!1);return}(!ir||ir.length===0)&&We.setPopupVisible(!1);var Ne=We.getActiveOptions(ir),Ke=Ne[Ne.length-1];We.handleMenuSelect(Ke,Ne.length-1,xt),We.props.onKeyDown&&We.props.onKeyDown(xt)},We.saveTrigger=function(xt){We.trigger=xt};var nt=[];return"value"in je?nt=je.value||[]:"defaultValue"in je&&(nt=je.defaultValue||[]),f()(!("filedNames"in je),"`filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead."),We.state={popupVisible:je.popupVisible,activeValue:nt,value:nt,prevProps:je},We.defaultFieldNames={label:"label",value:"value",children:"children"},We}return Ue(He,[{key:"getPopupDOMNode",value:function(){return this.trigger.getPopupDomNode()}},{key:"getFieldName",value:function(We){var nt=this.defaultFieldNames,xt=this.props,It=xt.fieldNames,ir=xt.filedNames;return"filedNames"in this.props?ir[We]||nt[We]:It[We]||nt[We]}},{key:"getFieldNames",value:function(){var We=this.props,nt=We.fieldNames,xt=We.filedNames;return"filedNames"in this.props?xt:nt}},{key:"getCurrentLevelOptions",value:function(){var We=this,nt=this.props.options,xt=nt===void 0?[]:nt,It=this.state.activeValue,ir=It===void 0?[]:It,Me=x()(xt,function(ke,re){return ke[We.getFieldName("value")]===ir[re]},{childrenKeyName:this.getFieldName("children")});return Me[Me.length-2]?Me[Me.length-2][this.getFieldName("children")]:X(xt).filter(function(ke){return!ke.disabled})}},{key:"getActiveOptions",value:function(We){var nt=this;return x()(this.props.options||[],function(xt,It){return xt[nt.getFieldName("value")]===We[It]},{childrenKeyName:this.getFieldName("children")})}},{key:"render",value:function(){var We=this.props,nt=We.prefixCls,xt=We.transitionName,It=We.popupClassName,ir=We.options,Me=ir===void 0?[]:ir,ke=We.disabled,re=We.builtinPlacements,be=We.popupPlacement,Ne=We.children,Ke=We.dropdownRender,Qe=K(We,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement","children","dropdownRender"]),ct=e.createElement("div",null),Lt="";Me&&Me.length>0?ct=e.createElement(D,Object.assign({},this.props,{fieldNames:this.getFieldNames(),defaultFieldNames:this.defaultFieldNames,activeValue:this.state.activeValue,onSelect:this.handleMenuSelect,onItemDoubleClick:this.handleItemDoubleClick,visible:this.state.popupVisible})):Lt=" ".concat(nt,"-menus-empty");var rr=ct;return Ke&&(rr=Ke(ct)),e.createElement(s.a,Object.assign({ref:this.saveTrigger},Qe,{popupPlacement:be,builtinPlacements:re,popupTransitionName:xt,action:ke?[]:["click"],popupVisible:ke?!1:this.state.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,prefixCls:"".concat(nt,"-menus"),popupClassName:It+Lt,popup:rr}),e.cloneElement(Ne,{onKeyDown:this.handleKeyDown,tabIndex:ke?void 0:0}))}}],[{key:"getDerivedStateFromProps",value:function(We,nt){var xt=nt.prevProps,It=xt===void 0?{}:xt,ir={prevProps:We};return"value"in We&&!b(It.value,We.value)&&(ir.value=We.value||[],"loadData"in We||(ir.activeValue=We.value||[])),"popupVisible"in We&&(ir.popupVisible=We.popupVisible),ir}}]),He}(e.Component);return oe.defaultProps={onChange:function(){},onPopupVisibleChange:function(){},disabled:!1,transitionName:"",prefixCls:"rc-cascader",popupClassName:"",popupPlacement:"bottomLeft",builtinPlacements:U,expandTrigger:"click",fieldNames:{label:"label",value:"value",children:"children"},expandIcon:">"},oe}(),Y=j,me=Y,ae=r("TSYQ"),Le=r.n(ae),Ee=r("BGR+"),ne=r("kbBi"),ge=r.n(ne),Ie=r("HQEm"),Ge=r.n(Ie),ut=r("fEPi"),wt=r.n(ut),Pe=r("5YOS"),Dt=r.n(Pe),et=r("DFhj"),_t=r.n(et),Nt=r("5rEg"),Bt=r("H84U"),Ft=r("YMnH"),Gt=r("uaoM"),qe=r("3Nzz"),we=r("0n0R"),ue=function(oe,fe){var De={};for(var He in oe)Object.prototype.hasOwnProperty.call(oe,He)&&fe.indexOf(He)<0&&(De[He]=oe[He]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,He=Object.getOwnPropertySymbols(oe);je<He.length;je++)fe.indexOf(He[je])<0&&Object.prototype.propertyIsEnumerable.call(oe,He[je])&&(De[He[je]]=oe[He[je]]);return De},vt=50;function at(oe,fe,De){return oe.split(fe).map(function(He,je){return je===0?He:[e.createElement("span",{className:"".concat(De,"-menu-item-keyword"),key:"seperator"},fe),He]})}function Ae(oe,fe,De){return fe.some(function(He){return He[De.label].indexOf(oe)>-1})}function Xt(oe,fe,De,He){return fe.map(function(je,We){var nt=je[He.label],xt=nt.indexOf(oe)>-1?at(nt,oe,De):nt;return We===0?xt:[" / ",xt]})}function Ot(oe,fe,De,He){function je(We){return We[He.label].indexOf(De)>-1}return oe.findIndex(je)-fe.findIndex(je)}function rt(oe){var fe=oe.fieldNames;return fe}function Et(oe){var fe=rt(oe)||{},De={children:fe.children||"children",label:fe.label||"label",value:fe.value||"value"};return De}function Zt(oe,fe){var De=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],He=Et(fe),je=[],We=He.children;return oe.forEach(function(nt){var xt=De.concat(nt);(fe.changeOnSelect||!nt[We]||!nt[We].length)&&je.push(xt),nt[We]&&(je=je.concat(Zt(nt[We],fe,xt)))}),je}var vr=function(fe){return fe.join(" / ")};function mt(oe){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(oe||[]).forEach(function(De){var He=fe.value||"value";Object(Gt.a)(He in De,"Cascader","Not found `value` in `options`."),mt(De[fe.children||"children"],fe)})}var ce=function(oe){d()(De,oe);var fe=l()(De);function De(He){var je;return h()(this,De),je=fe.call(this,He),je.cachedOptions=[],je.setValue=function(We){var nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];"value"in je.props||je.setState({value:We});var xt=je.props.onChange;xt&&xt(We,nt)},je.saveInput=function(We){je.input=We},je.handleChange=function(We,nt){if(je.setState({inputValue:""}),nt[0].__IS_FILTERED_OPTION){var xt=We[0],It=nt[0].path;je.setValue(xt,It);return}je.setValue(We,nt)},je.handlePopupVisibleChange=function(We){"popupVisible"in je.props||je.setState(function(xt){return{popupVisible:We,inputFocused:We,inputValue:We?xt.inputValue:""}});var nt=je.props.onPopupVisibleChange;nt&&nt(We)},je.handleInputBlur=function(){je.setState({inputFocused:!1})},je.handleInputClick=function(We){var nt=je.state,xt=nt.inputFocused,It=nt.popupVisible;(xt||It)&&We.stopPropagation()},je.handleKeyDown=function(We){(We.keyCode===A.a.BACKSPACE||We.keyCode===A.a.SPACE)&&We.stopPropagation()},je.handleInputChange=function(We){var nt=je.state.popupVisible,xt=We.target.value;nt||je.handlePopupVisibleChange(!0),je.setState({inputValue:xt})},je.clearSelection=function(We){var nt=je.state.inputValue;We.preventDefault(),We.stopPropagation(),nt?je.setState({inputValue:""}):(je.handlePopupVisibleChange(!1),je.clearSelectionTimeout=setTimeout(function(){je.setValue([])},200))},je.renderCascader=function(We,nt){var xt=We.getPopupContainer,It=We.getPrefixCls,ir=We.renderEmpty,Me=We.direction;return e.createElement(qe.b.Consumer,null,function(ke){var re,be,Ne,Ke,Qe=t()(je),ct=Qe.props,Lt=Qe.state,rr=ct.prefixCls,dr=ct.inputPrefixCls,Pt=ct.children,jt=ct.placeholder,Ct=jt===void 0?nt.placeholder||"Please select":jt,Rt=ct.size,pt=ct.disabled,ot=ct.className,gt=ct.style,Ye=ct.allowClear,$e=ct.showSearch,Je=$e===void 0?!1:$e,it=ct.suffixIcon,ft=ct.expandIcon,ht=ct.notFoundContent,st=ct.popupClassName,kt=ct.bordered,Tt=ct.dropdownRender,ar=ue(ct,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch","suffixIcon","expandIcon","notFoundContent","popupClassName","bordered","dropdownRender"]),Qt=Rt||ke,Er=Lt.value,Ir=Lt.inputFocused,jr=Me==="rtl",zr=It("cascader",rr),hn=It("input",dr),gn=Le()((re={},p()(re,"".concat(hn,"-lg"),Qt==="large"),p()(re,"".concat(hn,"-sm"),Qt==="small"),re)),Br=Ye&&!pt&&Er.length>0||Lt.inputValue?e.createElement(ge.a,{className:"".concat(zr,"-picker-clear"),onClick:je.clearSelection}):null,ln=Le()((be={},p()(be,"".concat(zr,"-picker-arrow"),!0),p()(be,"".concat(zr,"-picker-arrow-expand"),Lt.popupVisible),be)),Xr=Le()(ot,"".concat(zr,"-picker"),(Ne={},p()(Ne,"".concat(zr,"-picker-rtl"),jr),p()(Ne,"".concat(zr,"-picker-with-value"),Lt.inputValue),p()(Ne,"".concat(zr,"-picker-disabled"),pt),p()(Ne,"".concat(zr,"-picker-").concat(Qt),!!Qt),p()(Ne,"".concat(zr,"-picker-show-search"),!!Je),p()(Ne,"".concat(zr,"-picker-focused"),Ir),p()(Ne,"".concat(zr,"-picker-borderless"),!kt),Ne)),cr=Object(Ee.default)(ar,["onChange","options","popupPlacement","transitionName","displayRender","onPopupVisibleChange","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","popupClassName","filterOption","renderFilteredOption","sortFilteredOption","notFoundContent","fieldNames","bordered"]),wr=ct.options,hr=Et(je.props);if(wr&&wr.length>0)Lt.inputValue&&(wr=je.generateFilteredOptions(zr,ir));else{var Ar;wr=[(Ar={},p()(Ar,hr.label,ht||ir("Cascader")),p()(Ar,hr.value,"ANT_CASCADER_NOT_FOUND"),Ar)]}Lt.popupVisible?je.cachedOptions=wr:wr=je.cachedOptions;var kr={},nn=(wr||[]).length===1&&wr[0].isEmptyNode;nn&&(kr.height="auto");var wn=Je.matchInputWidth!==!1;wn&&(Lt.inputValue||nn)&&je.input&&(kr.width=je.input.input.offsetWidth);var oi;it?oi=Object(we.c)(it,e.createElement("span",{className:"".concat(zr,"-picker-arrow")},it),function(){var zi;return{className:Le()((zi={},p()(zi,it.props.className,it.props.className),p()(zi,"".concat(zr,"-picker-arrow"),!0),zi))}}):oi=e.createElement(Ge.a,{className:ln});var tn=Pt||e.createElement("span",{style:gt,className:Xr},e.createElement("span",{className:"".concat(zr,"-picker-label")},je.getLabel()),e.createElement(Nt.a,m()({},cr,{tabIndex:"-1",ref:je.saveInput,prefixCls:hn,placeholder:Er&&Er.length>0?void 0:Ct,className:"".concat(zr,"-input ").concat(gn),value:Lt.inputValue,disabled:pt,readOnly:!Je,autoComplete:cr.autoComplete||"off",onClick:Je?je.handleInputClick:void 0,onBlur:Je?je.handleInputBlur:void 0,onKeyDown:je.handleKeyDown,onChange:Je?je.handleInputChange:void 0})),Br,oi),Vn;ft?Vn=ft:Vn=jr?e.createElement(_t.a,null):e.createElement(wt.a,null);var On=e.createElement("span",{className:"".concat(zr,"-menu-item-loading-icon")},e.createElement(Dt.a,{spin:!0})),$n=ct.getPopupContainer||xt,Qn=Object(Ee.default)(ct,["inputIcon","expandIcon","loadingIcon","bordered"]),ei=Le()(st,(Ke={},p()(Ke,"".concat(zr,"-menu-").concat(Me),Me==="rtl"),p()(Ke,"".concat(zr,"-menu-empty"),wr.length===1&&wr[0].value==="ANT_CASCADER_NOT_FOUND"),Ke));return e.createElement(me,m()({},Qn,{prefixCls:zr,getPopupContainer:$n,options:wr,value:Er,popupVisible:Lt.popupVisible,onPopupVisibleChange:je.handlePopupVisibleChange,onChange:je.handleChange,dropdownMenuColumnStyle:kr,expandIcon:Vn,loadingIcon:On,popupClassName:ei,popupPlacement:je.getPopupPlacement(Me),dropdownRender:Tt}),tn)})},je.state={value:He.value||He.defaultValue||[],inputValue:"",inputFocused:!1,popupVisible:He.popupVisible,flattenOptions:He.showSearch?Zt(He.options,He):void 0,prevProps:He},je}return o()(De,[{key:"componentWillUnmount",value:function(){this.clearSelectionTimeout&&clearTimeout(this.clearSelectionTimeout)}},{key:"getLabel",value:function(){var je=this.props,We=je.options,nt=je.displayRender,xt=nt===void 0?vr:nt,It=Et(this.props),ir=this.state.value,Me=Array.isArray(ir[0])?ir[0]:ir,ke=x()(We,function(be,Ne){return be[It.value]===Me[Ne]},{childrenKeyName:It.children}),re=ke.length?ke.map(function(be){return be[It.label]}):ir;return xt(re,ke)}},{key:"generateFilteredOptions",value:function(je,We){var nt=this,xt,It=this.props,ir=It.showSearch,Me=It.notFoundContent,ke=Et(this.props),re=ir.filter,be=re===void 0?Ae:re,Ne=ir.render,Ke=Ne===void 0?Xt:Ne,Qe=ir.sort,ct=Qe===void 0?Ot:Qe,Lt=ir.limit,rr=Lt===void 0?vt:Lt,dr=this.state,Pt=dr.flattenOptions,jt=Pt===void 0?[]:Pt,Ct=dr.inputValue,Rt;if(rr>0){Rt=[];var pt=0;jt.some(function(ot){var gt=be(nt.state.inputValue,ot,ke);return gt&&(Rt.push(ot),pt+=1),pt>=rr})}else Object(Gt.a)(typeof rr!="number","Cascader","'limit' of showSearch should be positive number or false."),Rt=jt.filter(function(ot){return be(nt.state.inputValue,ot,ke)});return Rt=Rt.sort(function(ot,gt){return ct(ot,gt,Ct,ke)}),Rt.length>0?Rt.map(function(ot){var gt;return gt={__IS_FILTERED_OPTION:!0,path:ot},p()(gt,ke.value,ot.map(function(Ye){return Ye[ke.value]})),p()(gt,ke.label,Ke(Ct,ot,je,ke)),p()(gt,"disabled",ot.some(function(Ye){return!!Ye.disabled})),p()(gt,"isEmptyNode",!0),gt}):[(xt={},p()(xt,ke.value,"ANT_CASCADER_NOT_FOUND"),p()(xt,ke.label,Me||We("Cascader")),p()(xt,"disabled",!0),p()(xt,"isEmptyNode",!0),xt)]}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"getPopupPlacement",value:function(){var je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ltr",We=this.props.popupPlacement;return We!==void 0?We:je==="rtl"?"bottomRight":"bottomLeft"}},{key:"render",value:function(){var je=this;return e.createElement(Bt.a,null,function(We){return e.createElement(Ft.a,null,function(nt){return je.renderCascader(We,nt)})})}}],[{key:"getDerivedStateFromProps",value:function(je,We){var nt=We.prevProps,xt={prevProps:je};return"value"in je&&(xt.value=je.value||[]),"popupVisible"in je&&(xt.popupVisible=je.popupVisible),je.showSearch&&nt.options!==je.options&&(xt.flattenOptions=Zt(je.options,je)),xt}}]),De}(e.Component);ce.defaultProps={transitionName:"slide-up",options:[],disabled:!1,allowClear:!0,bordered:!0};var le=N.a=ce},DFhj:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("GGyF"));function m(p){return p&&p.__esModule?p:{default:p}}var C=y;N.default=C,B.exports=C},DL4k:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};N.default=y},DN4a:function(B,N,r){var y=r("Fofx"),m=r("QBsz"),C=y.identity,p=5e-5;function g(d){return d>p||d<-p}var h=function(i){i=i||{},i.position||(this.position=[0,0]),i.rotation==null&&(this.rotation=0),i.scale||(this.scale=[1,1]),this.origin=this.origin||null},c=h.prototype;c.transform=null,c.needLocalTransform=function(){return g(this.rotation)||g(this.position[0])||g(this.position[1])||g(this.scale[0]-1)||g(this.scale[1]-1)};var o=[];c.updateTransform=function(){var d=this.parent,i=d&&d.transform,l=this.needLocalTransform(),e=this.transform;if(!(l||i)){e&&C(e);return}e=e||y.create(),l?this.getLocalTransform(e):C(e),i&&(l?y.mul(e,d.transform,e):y.copy(e,d.transform)),this.transform=e;var s=this.globalScaleRatio;if(s!=null&&s!==1){this.getGlobalScale(o);var u=o[0]<0?-1:1,f=o[1]<0?-1:1,A=((o[0]-u)*s+u)/o[0]||0,v=((o[1]-f)*s+f)/o[1]||0;e[0]*=A,e[1]*=A,e[2]*=v,e[3]*=v}this.invTransform=this.invTransform||y.create(),y.invert(this.invTransform,e)},c.getLocalTransform=function(d){return h.getLocalTransform(this,d)},c.setTransform=function(d){var i=this.transform,l=d.dpr||1;i?d.setTransform(l*i[0],l*i[1],l*i[2],l*i[3],l*i[4],l*i[5]):d.setTransform(l,0,0,l,0,0)},c.restoreTransform=function(d){var i=d.dpr||1;d.setTransform(i,0,0,i,0,0)};var n=[],t=y.create();c.setLocalTransform=function(d){if(!d)return;var i=d[0]*d[0]+d[1]*d[1],l=d[2]*d[2]+d[3]*d[3],e=this.position,s=this.scale;g(i-1)&&(i=Math.sqrt(i)),g(l-1)&&(l=Math.sqrt(l)),d[0]<0&&(i=-i),d[3]<0&&(l=-l),e[0]=d[4],e[1]=d[5],s[0]=i,s[1]=l,this.rotation=Math.atan2(-d[1]/l,d[0]/i)},c.decomposeTransform=function(){if(!this.transform)return;var d=this.parent,i=this.transform;d&&d.transform&&(y.mul(n,d.invTransform,i),i=n);var l=this.origin;l&&(l[0]||l[1])&&(t[4]=l[0],t[5]=l[1],y.mul(n,i,t),n[4]-=l[0],n[5]-=l[1],i=n),this.setLocalTransform(i)},c.getGlobalScale=function(d){var i=this.transform;return d=d||[],i?(d[0]=Math.sqrt(i[0]*i[0]+i[1]*i[1]),d[1]=Math.sqrt(i[2]*i[2]+i[3]*i[3]),i[0]<0&&(d[0]=-d[0]),i[3]<0&&(d[1]=-d[1]),d):(d[0]=1,d[1]=1,d)},c.transformCoordToLocal=function(d,i){var l=[d,i],e=this.invTransform;return e&&m.applyTransform(l,l,e),l},c.transformCoordToGlobal=function(d,i){var l=[d,i],e=this.transform;return e&&m.applyTransform(l,l,e),l},h.getLocalTransform=function(d,i){i=i||[],C(i);var l=d.origin,e=d.scale||[1,1],s=d.rotation||0,u=d.position||[0,0];return l&&(i[4]-=l[0],i[5]-=l[1]),y.scale(i,i,e),s&&y.rotate(i,i,s),l&&(i[4]+=l[0],i[5]+=l[1]),i[4]+=u[0],i[5]+=u[1],i};var a=h;B.exports=a},DO2E:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};N.default=y},DYRE:function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("OPEp"),p=r.n(C)},DZo9:function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("JGo8"),p=r.n(C),g=r("+L6B"),h=r("MXD1"),c=r("5Dmo")},Dagg:function(B,N,r){var y=r("Gev7"),m=r("mFDi"),C=r("bYtY"),p=r("Xnb7");function g(c){y.call(this,c)}g.prototype={constructor:g,type:"image",brush:function(o,n){var t=this.style,a=t.image;t.bind(o,this,n);var d=this._image=p.createOrUpdateImage(a,this._image,this,this.onload);if(!d||!p.isImageReady(d))return;var i=t.x||0,l=t.y||0,e=t.width,s=t.height,u=d.width/d.height;if(e==null&&s!=null?e=s*u:s==null&&e!=null?s=e/u:e==null&&s==null&&(e=d.width,s=d.height),this.setTransform(o),t.sWidth&&t.sHeight){var f=t.sx||0,A=t.sy||0;o.drawImage(d,f,A,t.sWidth,t.sHeight,i,l,e,s)}else if(t.sx&&t.sy){var f=t.sx,A=t.sy,v=e-f,x=s-A;o.drawImage(d,f,A,v,x,i,l,e,s)}else o.drawImage(d,i,l,e,s);t.text!=null&&(this.restoreTransform(o),this.drawRectText(o,this.getBoundingRect()))},getBoundingRect:function(){var o=this.style;return this._rect||(this._rect=new m(o.x||0,o.y||0,o.width||0,o.height||0)),this._rect}},C.inherits(g,y);var h=g;B.exports=h},Dg8C:function(B,N,r){var y=r("XxSj"),m=r("bYtY");function C(p,g){p.eachSeriesByType("sankey",function(h){var c=h.getGraph(),o=c.nodes;if(o.length){var n=Infinity,t=-Infinity;m.each(o,function(a){var d=a.getLayout().value;d<n&&(n=d),d>t&&(t=d)}),m.each(o,function(a){var d=new y({type:"color",mappingMethod:"linear",dataExtent:[n,t],visual:h.get("color")}),i=d.mapValueToVisual(a.getLayout().value),l=a.getModel().get("itemStyle.color");l!=null?a.setVisual("color",l):a.setVisual("color",i)})}})}B.exports=C},DjyN:function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("Urep"),p=r.n(C),g=r("OaEy")},DlQD:function(B,N,r){(function(y,m){B.exports=m()})(this,function(){"use strict";function y(Bt,Ft){for(var Gt=0;Gt<Ft.length;Gt++){var qe=Ft[Gt];qe.enumerable=qe.enumerable||!1,qe.configurable=!0,"value"in qe&&(qe.writable=!0),Object.defineProperty(Bt,qe.key,qe)}}function m(Bt,Ft,Gt){return Ft&&y(Bt.prototype,Ft),Gt&&y(Bt,Gt),Bt}function C(Bt,Ft){if(!Bt)return;if(typeof Bt=="string")return p(Bt,Ft);var Gt=Object.prototype.toString.call(Bt).slice(8,-1);if(Gt==="Object"&&Bt.constructor&&(Gt=Bt.constructor.name),Gt==="Map"||Gt==="Set")return Array.from(Bt);if(Gt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Gt))return p(Bt,Ft)}function p(Bt,Ft){(Ft==null||Ft>Bt.length)&&(Ft=Bt.length);for(var Gt=0,qe=new Array(Ft);Gt<Ft;Gt++)qe[Gt]=Bt[Gt];return qe}function g(Bt,Ft){var Gt;if(typeof Symbol=="undefined"||Bt[Symbol.iterator]==null){if(Array.isArray(Bt)||(Gt=C(Bt))||Ft&&Bt&&typeof Bt.length=="number"){Gt&&(Bt=Gt);var qe=0;return function(){return qe>=Bt.length?{done:!0}:{done:!1,value:Bt[qe++]}}}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 Gt=Bt[Symbol.iterator](),Gt.next.bind(Gt)}function h(Bt,Ft){return Ft={exports:{}},Bt(Ft,Ft.exports),Ft.exports}var c=h(function(Bt){function Ft(){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 Gt(qe){Bt.exports.defaults=qe}Bt.exports={defaults:Ft(),getDefaults:Ft,changeDefaults:Gt}}),o=c.defaults,n=c.getDefaults,t=c.changeDefaults,a=/[&<>"']/,d=/[&<>"']/g,i=/[<>"']|&(?!#?\w+;)/,l=/[<>"']|&(?!#?\w+;)/g,e={"&":"&","<":"<",">":">",'"':""","'":"'"},s=function(Ft){return e[Ft]};function u(Bt,Ft){if(Ft){if(a.test(Bt))return Bt.replace(d,s)}else if(i.test(Bt))return Bt.replace(l,s);return Bt}var f=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function A(Bt){return Bt.replace(f,function(Ft,Gt){return Gt=Gt.toLowerCase(),Gt==="colon"?":":Gt.charAt(0)==="#"?Gt.charAt(1)==="x"?String.fromCharCode(parseInt(Gt.substring(2),16)):String.fromCharCode(+Gt.substring(1)):""})}var v=/(^|[^\[])\^/g;function x(Bt,Ft){Bt=Bt.source||Bt,Ft=Ft||"";var Gt={replace:function(we,ue){return ue=ue.source||ue,ue=ue.replace(v,"$1"),Bt=Bt.replace(we,ue),Gt},getRegex:function(){return new RegExp(Bt,Ft)}};return Gt}var b=/[^\w:]/g,w=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function _(Bt,Ft,Gt){if(Bt){var qe;try{qe=decodeURIComponent(A(Gt)).replace(b,"").toLowerCase()}catch(we){return null}if(qe.indexOf("javascript:")===0||qe.indexOf("vbscript:")===0||qe.indexOf("data:")===0)return null}Ft&&!w.test(Gt)&&(Gt=O(Ft,Gt));try{Gt=encodeURI(Gt).replace(/%25/g,"%")}catch(we){return null}return Gt}var T={},S=/^[^:]+:\/*[^/]*$/,E=/^([^:]+:)[\s\S]*$/,I=/^([^:]+:\/*[^/]*)[\s\S]*$/;function O(Bt,Ft){T[" "+Bt]||(S.test(Bt)?T[" "+Bt]=Bt+"/":T[" "+Bt]=P(Bt,"/",!0)),Bt=T[" "+Bt];var Gt=Bt.indexOf(":")===-1;return Ft.substring(0,2)==="//"?Gt?Ft:Bt.replace(E,"$1")+Ft:Ft.charAt(0)==="/"?Gt?Ft:Bt.replace(I,"$1")+Ft:Bt+Ft}var F={exec:function(){}};function k(Bt){for(var Ft=1,Gt,qe;Ft<arguments.length;Ft++){Gt=arguments[Ft];for(qe in Gt)Object.prototype.hasOwnProperty.call(Gt,qe)&&(Bt[qe]=Gt[qe])}return Bt}function M(Bt,Ft){var Gt=Bt.replace(/\|/g,function(ue,vt,at){for(var Ae=!1,Xt=vt;--Xt>=0&&at[Xt]==="\\";)Ae=!Ae;return Ae?"|":" |"}),qe=Gt.split(/ \|/),we=0;if(qe.length>Ft)qe.splice(Ft);else for(;qe.length<Ft;)qe.push("");for(;we<qe.length;we++)qe[we]=qe[we].trim().replace(/\\\|/g,"|");return qe}function P(Bt,Ft,Gt){var qe=Bt.length;if(qe===0)return"";for(var we=0;we<qe;){var ue=Bt.charAt(qe-we-1);if(ue===Ft&&!Gt)we++;else if(ue!==Ft&&Gt)we++;else break}return Bt.substr(0,qe-we)}function V(Bt,Ft){if(Bt.indexOf(Ft[1])===-1)return-1;for(var Gt=Bt.length,qe=0,we=0;we<Gt;we++)if(Bt[we]==="\\")we++;else if(Bt[we]===Ft[0])qe++;else if(Bt[we]===Ft[1]&&(qe--,qe<0))return we;return-1}function D(Bt){Bt&&Bt.sanitize&&!Bt.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 H={escape:u,unescape:A,edit:x,cleanUrl:_,resolveUrl:O,noopTest:F,merge:k,splitCells:M,rtrim:P,findClosingBracket:V,checkSanitizeDeprecation:D},U=c.defaults,z=H.rtrim,K=H.splitCells,G=H.escape,X=H.findClosingBracket;function Z(Bt,Ft,Gt){var qe=Ft.href,we=Ft.title?G(Ft.title):null,ue=Bt[1].replace(/\\([\[\]])/g,"$1");return Bt[0].charAt(0)!=="!"?{type:"link",raw:Gt,href:qe,title:we,text:ue}:{type:"image",raw:Gt,href:qe,title:we,text:G(ue)}}function ee(Bt,Ft){var Gt=Bt.match(/^(\s+)(?:```)/);if(Gt===null)return Ft;var qe=Gt[1];return Ft.split(`
|
|
|
`).map(function(we){var ue=we.match(/^\s+/);if(ue===null)return we;var vt=ue[0];return vt.length>=qe.length?we.slice(qe.length):we}).join(`
|
|
|
`)}var Se=function(){function Bt(Gt){this.options=Gt||U}var Ft=Bt.prototype;return Ft.space=function(qe){var we=this.rules.block.newline.exec(qe);if(we)return we[0].length>1?{type:"space",raw:we[0]}:{raw:`
|
|
|
`}},Ft.code=function(qe,we){var ue=this.rules.block.code.exec(qe);if(ue){var vt=we[we.length-1];if(vt&&vt.type==="paragraph")return{raw:ue[0],text:ue[0].trimRight()};var at=ue[0].replace(/^ {4}/gm,"");return{type:"code",raw:ue[0],codeBlockStyle:"indented",text:this.options.pedantic?at:z(at,`
|
|
|
`)}}},Ft.fences=function(qe){var we=this.rules.block.fences.exec(qe);if(we){var ue=we[0],vt=ee(ue,we[3]||"");return{type:"code",raw:ue,lang:we[2]?we[2].trim():we[2],text:vt}}},Ft.heading=function(qe){var we=this.rules.block.heading.exec(qe);if(we)return{type:"heading",raw:we[0],depth:we[1].length,text:we[2]}},Ft.nptable=function(qe){var we=this.rules.block.nptable.exec(qe);if(we){var ue={type:"table",header:K(we[1].replace(/^ *| *\| *$/g,"")),align:we[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:we[3]?we[3].replace(/\n$/,"").split(`
|
|
|
`):[],raw:we[0]};if(ue.header.length===ue.align.length){var vt=ue.align.length,at;for(at=0;at<vt;at++)/^ *-+: *$/.test(ue.align[at])?ue.align[at]="right":/^ *:-+: *$/.test(ue.align[at])?ue.align[at]="center":/^ *:-+ *$/.test(ue.align[at])?ue.align[at]="left":ue.align[at]=null;for(vt=ue.cells.length,at=0;at<vt;at++)ue.cells[at]=K(ue.cells[at],ue.header.length);return ue}}},Ft.hr=function(qe){var we=this.rules.block.hr.exec(qe);if(we)return{type:"hr",raw:we[0]}},Ft.blockquote=function(qe){var we=this.rules.block.blockquote.exec(qe);if(we){var ue=we[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:we[0],text:ue}}},Ft.list=function(qe){var we=this.rules.block.list.exec(qe);if(we){for(var ue=we[0],vt=we[2],at=vt.length>1,Ae=vt[vt.length-1]===")",Xt={type:"list",raw:ue,ordered:at,start:at?+vt.slice(0,-1):"",loose:!1,items:[]},Ot=we[0].match(this.rules.block.item),rt=!1,Et,Zt,vr,mt,ce,le,oe,fe=Ot.length,De=0;De<fe;De++)Et=Ot[De],ue=Et,Zt=Et.length,Et=Et.replace(/^ *([*+-]|\d+[.)]) */,""),~Et.indexOf(`
|
|
|
`)&&(Zt-=Et.length,Et=this.options.pedantic?Et.replace(/^ {1,4}/gm,""):Et.replace(new RegExp("^ {1,"+Zt+"}","gm"),"")),De!==fe-1&&(vr=this.rules.block.bullet.exec(Ot[De+1])[0],(at?vr.length===1||!Ae&&vr[vr.length-1]===")":vr.length>1||this.options.smartLists&&vr!==vt)&&(mt=Ot.slice(De+1).join(`
|
|
|
`),Xt.raw=Xt.raw.substring(0,Xt.raw.length-mt.length),De=fe-1)),ce=rt||/\n\n(?!\s*$)/.test(Et),De!==fe-1&&(rt=Et.charAt(Et.length-1)===`
|
|
|
`,ce||(ce=rt)),ce&&(Xt.loose=!0),le=/^\[[ xX]\] /.test(Et),oe=void 0,le&&(oe=Et[1]!==" ",Et=Et.replace(/^\[[ xX]\] +/,"")),Xt.items.push({type:"list_item",raw:ue,task:le,checked:oe,loose:ce,text:Et});return Xt}},Ft.html=function(qe){var we=this.rules.block.html.exec(qe);if(we)return{type:this.options.sanitize?"paragraph":"html",raw:we[0],pre:!this.options.sanitizer&&(we[1]==="pre"||we[1]==="script"||we[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(we[0]):G(we[0]):we[0]}},Ft.def=function(qe){var we=this.rules.block.def.exec(qe);if(we){we[3]&&(we[3]=we[3].substring(1,we[3].length-1));var ue=we[1].toLowerCase().replace(/\s+/g," ");return{tag:ue,raw:we[0],href:we[2],title:we[3]}}},Ft.table=function(qe){var we=this.rules.block.table.exec(qe);if(we){var ue={type:"table",header:K(we[1].replace(/^ *| *\| *$/g,"")),align:we[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:we[3]?we[3].replace(/\n$/,"").split(`
|
|
|
`):[]};if(ue.header.length===ue.align.length){ue.raw=we[0];var vt=ue.align.length,at;for(at=0;at<vt;at++)/^ *-+: *$/.test(ue.align[at])?ue.align[at]="right":/^ *:-+: *$/.test(ue.align[at])?ue.align[at]="center":/^ *:-+ *$/.test(ue.align[at])?ue.align[at]="left":ue.align[at]=null;for(vt=ue.cells.length,at=0;at<vt;at++)ue.cells[at]=K(ue.cells[at].replace(/^ *\| *| *\| *$/g,""),ue.header.length);return ue}}},Ft.lheading=function(qe){var we=this.rules.block.lheading.exec(qe);if(we)return{type:"heading",raw:we[0],depth:we[2].charAt(0)==="="?1:2,text:we[1]}},Ft.paragraph=function(qe){var we=this.rules.block.paragraph.exec(qe);if(we)return{type:"paragraph",raw:we[0],text:we[1].charAt(we[1].length-1)===`
|
|
|
`?we[1].slice(0,-1):we[1]}},Ft.text=function(qe,we){var ue=this.rules.block.text.exec(qe);if(ue){var vt=we[we.length-1];return vt&&vt.type==="text"?{raw:ue[0],text:ue[0]}:{type:"text",raw:ue[0],text:ue[0]}}},Ft.escape=function(qe){var we=this.rules.inline.escape.exec(qe);if(we)return{type:"escape",raw:we[0],text:G(we[1])}},Ft.tag=function(qe,we,ue){var vt=this.rules.inline.tag.exec(qe);if(vt)return!we&&/^<a /i.test(vt[0])?we=!0:we&&/^<\/a>/i.test(vt[0])&&(we=!1),!ue&&/^<(pre|code|kbd|script)(\s|>)/i.test(vt[0])?ue=!0:ue&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(vt[0])&&(ue=!1),{type:this.options.sanitize?"text":"html",raw:vt[0],inLink:we,inRawBlock:ue,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(vt[0]):G(vt[0]):vt[0]}},Ft.link=function(qe){var we=this.rules.inline.link.exec(qe);if(we){var ue=X(we[2],"()");if(ue>-1){var vt=we[0].indexOf("!")===0?5:4,at=vt+we[1].length+ue;we[2]=we[2].substring(0,ue),we[0]=we[0].substring(0,at).trim(),we[3]=""}var Ae=we[2],Xt="";if(this.options.pedantic){var Ot=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(Ae);Ot?(Ae=Ot[1],Xt=Ot[3]):Xt=""}else Xt=we[3]?we[3].slice(1,-1):"";Ae=Ae.trim().replace(/^<([\s\S]*)>$/,"$1");var rt=Z(we,{href:Ae&&Ae.replace(this.rules.inline._escapes,"$1"),title:Xt&&Xt.replace(this.rules.inline._escapes,"$1")},we[0]);return rt}},Ft.reflink=function(qe,we){var ue;if((ue=this.rules.inline.reflink.exec(qe))||(ue=this.rules.inline.nolink.exec(qe))){var vt=(ue[2]||ue[1]).replace(/\s+/g," ");if(vt=we[vt.toLowerCase()],!vt||!vt.href){var at=ue[0].charAt(0);return{type:"text",raw:at,text:at}}var Ae=Z(ue,vt,ue[0]);return Ae}},Ft.strong=function(qe,we,ue){ue===void 0&&(ue="");var vt=this.rules.inline.strong.start.exec(qe);if(vt&&(!vt[1]||vt[1]&&(ue===""||this.rules.inline.punctuation.exec(ue)))){we=we.slice(-1*qe.length);var at=vt[0]==="**"?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;at.lastIndex=0;for(var Ae;(vt=at.exec(we))!=null;)if(Ae=this.rules.inline.strong.middle.exec(we.slice(0,vt.index+3)),Ae)return{type:"strong",raw:qe.slice(0,Ae[0].length),text:qe.slice(2,Ae[0].length-2)}}},Ft.em=function(qe,we,ue){ue===void 0&&(ue="");var vt=this.rules.inline.em.start.exec(qe);if(vt&&(!vt[1]||vt[1]&&(ue===""||this.rules.inline.punctuation.exec(ue)))){we=we.slice(-1*qe.length);var at=vt[0]==="*"?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;at.lastIndex=0;for(var Ae;(vt=at.exec(we))!=null;)if(Ae=this.rules.inline.em.middle.exec(we.slice(0,vt.index+2)),Ae)return{type:"em",raw:qe.slice(0,Ae[0].length),text:qe.slice(1,Ae[0].length-1)}}},Ft.codespan=function(qe){var we=this.rules.inline.code.exec(qe);if(we){var ue=we[2].replace(/\n/g," "),vt=/[^ ]/.test(ue),at=ue.startsWith(" ")&&ue.endsWith(" ");return vt&&at&&(ue=ue.substring(1,ue.length-1)),ue=G(ue,!0),{type:"codespan",raw:we[0],text:ue}}},Ft.br=function(qe){var we=this.rules.inline.br.exec(qe);if(we)return{type:"br",raw:we[0]}},Ft.del=function(qe){var we=this.rules.inline.del.exec(qe);if(we)return{type:"del",raw:we[0],text:we[1]}},Ft.autolink=function(qe,we){var ue=this.rules.inline.autolink.exec(qe);if(ue){var vt,at;return ue[2]==="@"?(vt=G(this.options.mangle?we(ue[1]):ue[1]),at="mailto:"+vt):(vt=G(ue[1]),at=vt),{type:"link",raw:ue[0],text:vt,href:at,tokens:[{type:"text",raw:vt,text:vt}]}}},Ft.url=function(qe,we){var ue;if(ue=this.rules.inline.url.exec(qe)){var vt,at;if(ue[2]==="@")vt=G(this.options.mangle?we(ue[0]):ue[0]),at="mailto:"+vt;else{var Ae;do Ae=ue[0],ue[0]=this.rules.inline._backpedal.exec(ue[0])[0];while(Ae!==ue[0]);vt=G(ue[0]),ue[1]==="www."?at="http://"+vt:at=vt}return{type:"link",raw:ue[0],text:vt,href:at,tokens:[{type:"text",raw:vt,text:vt}]}}},Ft.inlineText=function(qe,we,ue){var vt=this.rules.inline.text.exec(qe);if(vt){var at;return we?at=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(vt[0]):G(vt[0]):vt[0]:at=G(this.options.smartypants?ue(vt[0]):vt[0]),{type:"text",raw:vt[0],text:at}}},Bt}(),$=H.noopTest,pe=H.edit,xe=H.merge,_e={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|<![A-Z][\\s\\S]*?>\\n*|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:$,table:$,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};_e._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_e._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,_e.def=pe(_e.def).replace("label",_e._label).replace("title",_e._title).getRegex(),_e.bullet=/(?:[*+-]|\d{1,9}[.)])/,_e.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,_e.item=pe(_e.item,"gm").replace(/bull/g,_e.bullet).getRegex(),_e.list=pe(_e.list).replace(/bull/g,_e.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+_e.def.source+")").getRegex(),_e._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",_e._comment=/<!--(?!-?>)[\s\S]*?-->/,_e.html=pe(_e.html,"i").replace("comment",_e._comment).replace("tag",_e._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),_e.paragraph=pe(_e._paragraph).replace("hr",_e.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",_e._tag).getRegex(),_e.blockquote=pe(_e.blockquote).replace("paragraph",_e.paragraph).getRegex(),_e.normal=xe({},_e),_e.gfm=xe({},_e.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*|$)"}),_e.gfm.nptable=pe(_e.gfm.nptable).replace("hr",_e.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",_e._tag).getRegex(),_e.gfm.table=pe(_e.gfm.table).replace("hr",_e.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",_e._tag).getRegex(),_e.pedantic=xe({},_e.normal,{html:pe(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",_e._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:$,paragraph:pe(_e.normal._paragraph).replace("hr",_e.hr).replace("heading",` *#{1,6} *[^
|
|
|
]`).replace("lheading",_e.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var Ue={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:$,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:$,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,punctuation:/^([\s*punctuation])/};Ue._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",Ue.punctuation=pe(Ue.punctuation).replace(/punctuation/g,Ue._punctuation).getRegex(),Ue._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",Ue._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",Ue.em.start=pe(Ue.em.start).replace(/punctuation/g,Ue._punctuation).getRegex(),Ue.em.middle=pe(Ue.em.middle).replace(/punctuation/g,Ue._punctuation).replace(/overlapSkip/g,Ue._overlapSkip).getRegex(),Ue.em.endAst=pe(Ue.em.endAst,"g").replace(/punctuation/g,Ue._punctuation).getRegex(),Ue.em.endUnd=pe(Ue.em.endUnd,"g").replace(/punctuation/g,Ue._punctuation).getRegex(),Ue.strong.start=pe(Ue.strong.start).replace(/punctuation/g,Ue._punctuation).getRegex(),Ue.strong.middle=pe(Ue.strong.middle).replace(/punctuation/g,Ue._punctuation).replace(/blockSkip/g,Ue._blockSkip).getRegex(),Ue.strong.endAst=pe(Ue.strong.endAst,"g").replace(/punctuation/g,Ue._punctuation).getRegex(),Ue.strong.endUnd=pe(Ue.strong.endUnd,"g").replace(/punctuation/g,Ue._punctuation).getRegex(),Ue.blockSkip=pe(Ue._blockSkip,"g").getRegex(),Ue.overlapSkip=pe(Ue._overlapSkip,"g").getRegex(),Ue._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,Ue._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Ue._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])?)+(?![-_])/,Ue.autolink=pe(Ue.autolink).replace("scheme",Ue._scheme).replace("email",Ue._email).getRegex(),Ue._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Ue.tag=pe(Ue.tag).replace("comment",_e._comment).replace("attribute",Ue._attribute).getRegex(),Ue._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Ue._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,Ue._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Ue.link=pe(Ue.link).replace("label",Ue._label).replace("href",Ue._href).replace("title",Ue._title).getRegex(),Ue.reflink=pe(Ue.reflink).replace("label",Ue._label).getRegex(),Ue.reflinkSearch=pe(Ue.reflinkSearch,"g").replace("reflink",Ue.reflink).replace("nolink",Ue.nolink).getRegex(),Ue.normal=xe({},Ue),Ue.pedantic=xe({},Ue.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:pe(/^!?\[(label)\]\((.*?)\)/).replace("label",Ue._label).getRegex(),reflink:pe(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ue._label).getRegex()}),Ue.gfm=xe({},Ue.normal,{escape:pe(Ue.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.!#$%&'*+\/=?_`{\|}~-]+@))/}),Ue.gfm.url=pe(Ue.gfm.url,"i").replace("email",Ue.gfm._extended_email).getRegex(),Ue.breaks=xe({},Ue.gfm,{br:pe(Ue.br).replace("{2,}","*").getRegex(),text:pe(Ue.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var ye={block:_e,inline:Ue},Be=c.defaults,Q=ye.block,ie=ye.inline;function Ve(Bt){return Bt.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 J(Bt){var Ft="",Gt,qe,we=Bt.length;for(Gt=0;Gt<we;Gt++)qe=Bt.charCodeAt(Gt),Math.random()>.5&&(qe="x"+qe.toString(16)),Ft+="&#"+qe+";";return Ft}var W=function(){function Bt(Gt){this.tokens=[],this.tokens.links=Object.create(null),this.options=Gt||Be,this.options.tokenizer=this.options.tokenizer||new Se,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var qe={block:Q.normal,inline:ie.normal};this.options.pedantic?(qe.block=Q.pedantic,qe.inline=ie.pedantic):this.options.gfm&&(qe.block=Q.gfm,this.options.breaks?qe.inline=ie.breaks:qe.inline=ie.gfm),this.tokenizer.rules=qe}Bt.lex=function(qe,we){var ue=new Bt(we);return ue.lex(qe)};var Ft=Bt.prototype;return Ft.lex=function(qe){return qe=qe.replace(/\r\n|\r/g,`
|
|
|
`).replace(/\t/g," "),this.blockTokens(qe,this.tokens,!0),this.inline(this.tokens),this.tokens},Ft.blockTokens=function(qe,we,ue){we===void 0&&(we=[]),ue===void 0&&(ue=!0),qe=qe.replace(/^ +$/gm,"");for(var vt,at,Ae,Xt;qe;){if(vt=this.tokenizer.space(qe)){qe=qe.substring(vt.raw.length),vt.type&&we.push(vt);continue}if(vt=this.tokenizer.code(qe,we)){qe=qe.substring(vt.raw.length),vt.type?we.push(vt):(Xt=we[we.length-1],Xt.raw+=`
|
|
|
`+vt.raw,Xt.text+=`
|
|
|
`+vt.text);continue}if(vt=this.tokenizer.fences(qe)){qe=qe.substring(vt.raw.length),we.push(vt);continue}if(vt=this.tokenizer.heading(qe)){qe=qe.substring(vt.raw.length),we.push(vt);continue}if(vt=this.tokenizer.nptable(qe)){qe=qe.substring(vt.raw.length),we.push(vt);continue}if(vt=this.tokenizer.hr(qe)){qe=qe.substring(vt.raw.length),we.push(vt);continue}if(vt=this.tokenizer.blockquote(qe)){qe=qe.substring(vt.raw.length),vt.tokens=this.blockTokens(vt.text,[],ue),we.push(vt);continue}if(vt=this.tokenizer.list(qe)){for(qe=qe.substring(vt.raw.length),Ae=vt.items.length,at=0;at<Ae;at++)vt.items[at].tokens=this.blockTokens(vt.items[at].text,[],!1);we.push(vt);continue}if(vt=this.tokenizer.html(qe)){qe=qe.substring(vt.raw.length),we.push(vt);continue}if(ue&&(vt=this.tokenizer.def(qe))){qe=qe.substring(vt.raw.length),this.tokens.links[vt.tag]||(this.tokens.links[vt.tag]={href:vt.href,title:vt.title});continue}if(vt=this.tokenizer.table(qe)){qe=qe.substring(vt.raw.length),we.push(vt);continue}if(vt=this.tokenizer.lheading(qe)){qe=qe.substring(vt.raw.length),we.push(vt);continue}if(ue&&(vt=this.tokenizer.paragraph(qe))){qe=qe.substring(vt.raw.length),we.push(vt);continue}if(vt=this.tokenizer.text(qe,we)){qe=qe.substring(vt.raw.length),vt.type?we.push(vt):(Xt=we[we.length-1],Xt.raw+=`
|
|
|
`+vt.raw,Xt.text+=`
|
|
|
`+vt.text);continue}if(qe){var Ot="Infinite loop on byte: "+qe.charCodeAt(0);if(this.options.silent){console.error(Ot);break}else throw new Error(Ot)}}return we},Ft.inline=function(qe){var we,ue,vt,at,Ae,Xt,Ot=qe.length;for(we=0;we<Ot;we++){Xt=qe[we];switch(Xt.type){case"paragraph":case"text":case"heading":{Xt.tokens=[],this.inlineTokens(Xt.text,Xt.tokens);break}case"table":{for(Xt.tokens={header:[],cells:[]},at=Xt.header.length,ue=0;ue<at;ue++)Xt.tokens.header[ue]=[],this.inlineTokens(Xt.header[ue],Xt.tokens.header[ue]);for(at=Xt.cells.length,ue=0;ue<at;ue++)for(Ae=Xt.cells[ue],Xt.tokens.cells[ue]=[],vt=0;vt<Ae.length;vt++)Xt.tokens.cells[ue][vt]=[],this.inlineTokens(Ae[vt],Xt.tokens.cells[ue][vt]);break}case"blockquote":{this.inline(Xt.tokens);break}case"list":{for(at=Xt.items.length,ue=0;ue<at;ue++)this.inline(Xt.items[ue].tokens);break}}}return qe},Ft.inlineTokens=function(qe,we,ue,vt,at){we===void 0&&(we=[]),ue===void 0&&(ue=!1),vt===void 0&&(vt=!1),at===void 0&&(at="");var Ae,Xt=qe,Ot;if(this.tokens.links){var rt=Object.keys(this.tokens.links);if(rt.length>0)for(;(Ot=this.tokenizer.rules.inline.reflinkSearch.exec(Xt))!=null;)rt.includes(Ot[0].slice(Ot[0].lastIndexOf("[")+1,-1))&&(Xt=Xt.slice(0,Ot.index)+"["+"a".repeat(Ot[0].length-2)+"]"+Xt.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(Ot=this.tokenizer.rules.inline.blockSkip.exec(Xt))!=null;)Xt=Xt.slice(0,Ot.index)+"["+"a".repeat(Ot[0].length-2)+"]"+Xt.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;qe;){if(Ae=this.tokenizer.escape(qe)){qe=qe.substring(Ae.raw.length),we.push(Ae);continue}if(Ae=this.tokenizer.tag(qe,ue,vt)){qe=qe.substring(Ae.raw.length),ue=Ae.inLink,vt=Ae.inRawBlock,we.push(Ae);continue}if(Ae=this.tokenizer.link(qe)){qe=qe.substring(Ae.raw.length),Ae.type==="link"&&(Ae.tokens=this.inlineTokens(Ae.text,[],!0,vt)),we.push(Ae);continue}if(Ae=this.tokenizer.reflink(qe,this.tokens.links)){qe=qe.substring(Ae.raw.length),Ae.type==="link"&&(Ae.tokens=this.inlineTokens(Ae.text,[],!0,vt)),we.push(Ae);continue}if(Ae=this.tokenizer.strong(qe,Xt,at)){qe=qe.substring(Ae.raw.length),Ae.tokens=this.inlineTokens(Ae.text,[],ue,vt),we.push(Ae);continue}if(Ae=this.tokenizer.em(qe,Xt,at)){qe=qe.substring(Ae.raw.length),Ae.tokens=this.inlineTokens(Ae.text,[],ue,vt),we.push(Ae);continue}if(Ae=this.tokenizer.codespan(qe)){qe=qe.substring(Ae.raw.length),we.push(Ae);continue}if(Ae=this.tokenizer.br(qe)){qe=qe.substring(Ae.raw.length),we.push(Ae);continue}if(Ae=this.tokenizer.del(qe)){qe=qe.substring(Ae.raw.length),Ae.tokens=this.inlineTokens(Ae.text,[],ue,vt),we.push(Ae);continue}if(Ae=this.tokenizer.autolink(qe,J)){qe=qe.substring(Ae.raw.length),we.push(Ae);continue}if(!ue&&(Ae=this.tokenizer.url(qe,J))){qe=qe.substring(Ae.raw.length),we.push(Ae);continue}if(Ae=this.tokenizer.inlineText(qe,vt,Ve)){qe=qe.substring(Ae.raw.length),at=Ae.raw.slice(-1),we.push(Ae);continue}if(qe){var Et="Infinite loop on byte: "+qe.charCodeAt(0);if(this.options.silent){console.error(Et);break}else throw new Error(Et)}}return we},m(Bt,null,[{key:"rules",get:function(){return{block:Q,inline:ie}}}]),Bt}(),j=c.defaults,Y=H.cleanUrl,me=H.escape,ae=function(){function Bt(Gt){this.options=Gt||j}var Ft=Bt.prototype;return Ft.code=function(qe,we,ue){var vt=(we||"").match(/\S*/)[0];if(this.options.highlight){var at=this.options.highlight(qe,vt);at!=null&&at!==qe&&(ue=!0,qe=at)}return vt?'<pre><code class="'+this.options.langPrefix+me(vt,!0)+'">'+(ue?qe:me(qe,!0))+`</code></pre>
|
|
|
`:"<pre><code>"+(ue?qe:me(qe,!0))+`</code></pre>
|
|
|
`},Ft.blockquote=function(qe){return`<blockquote>
|
|
|
`+qe+`</blockquote>
|
|
|
`},Ft.html=function(qe){return qe},Ft.heading=function(qe,we,ue,vt){return this.options.headerIds?"<h"+we+' id="'+this.options.headerPrefix+vt.slug(ue)+'">'+qe+"</h"+we+`>
|
|
|
`:"<h"+we+">"+qe+"</h"+we+`>
|
|
|
`},Ft.hr=function(){return this.options.xhtml?`<hr/>
|
|
|
`:`<hr>
|
|
|
`},Ft.list=function(qe,we,ue){var vt=we?"ol":"ul",at=we&&ue!==1?' start="'+ue+'"':"";return"<"+vt+at+`>
|
|
|
`+qe+"</"+vt+`>
|
|
|
`},Ft.listitem=function(qe){return"<li>"+qe+`</li>
|
|
|
`},Ft.checkbox=function(qe){return"<input "+(qe?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},Ft.paragraph=function(qe){return"<p>"+qe+`</p>
|
|
|
`},Ft.table=function(qe,we){return we&&(we="<tbody>"+we+"</tbody>"),`<table>
|
|
|
<thead>
|
|
|
`+qe+`</thead>
|
|
|
`+we+`</table>
|
|
|
`},Ft.tablerow=function(qe){return`<tr>
|
|
|
`+qe+`</tr>
|
|
|
`},Ft.tablecell=function(qe,we){var ue=we.header?"th":"td",vt=we.align?"<"+ue+' align="'+we.align+'">':"<"+ue+">";return vt+qe+"</"+ue+`>
|
|
|
`},Ft.strong=function(qe){return"<strong>"+qe+"</strong>"},Ft.em=function(qe){return"<em>"+qe+"</em>"},Ft.codespan=function(qe){return"<code>"+qe+"</code>"},Ft.br=function(){return this.options.xhtml?"<br/>":"<br>"},Ft.del=function(qe){return"<del>"+qe+"</del>"},Ft.link=function(qe,we,ue){if(qe=Y(this.options.sanitize,this.options.baseUrl,qe),qe===null)return ue;var vt='<a href="'+me(qe)+'"';return we&&(vt+=' title="'+we+'"'),vt+=">"+ue+"</a>",vt},Ft.image=function(qe,we,ue){if(qe=Y(this.options.sanitize,this.options.baseUrl,qe),qe===null)return ue;var vt='<img src="'+qe+'" alt="'+ue+'"';return we&&(vt+=' title="'+we+'"'),vt+=this.options.xhtml?"/>":">",vt},Ft.text=function(qe){return qe},Bt}(),Le=function(){function Bt(){}var Ft=Bt.prototype;return Ft.strong=function(qe){return qe},Ft.em=function(qe){return qe},Ft.codespan=function(qe){return qe},Ft.del=function(qe){return qe},Ft.html=function(qe){return qe},Ft.text=function(qe){return qe},Ft.link=function(qe,we,ue){return""+ue},Ft.image=function(qe,we,ue){return""+ue},Ft.br=function(){return""},Bt}(),Ee=function(){function Bt(){this.seen={}}var Ft=Bt.prototype;return Ft.slug=function(qe){var we=qe.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(we)){var ue=we;do this.seen[ue]++,we=ue+"-"+this.seen[ue];while(this.seen.hasOwnProperty(we))}return this.seen[we]=0,we},Bt}(),ne=c.defaults,ge=H.unescape,Ie=function(){function Bt(Gt){this.options=Gt||ne,this.options.renderer=this.options.renderer||new ae,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Le,this.slugger=new Ee}Bt.parse=function(qe,we){var ue=new Bt(we);return ue.parse(qe)};var Ft=Bt.prototype;return Ft.parse=function(qe,we){we===void 0&&(we=!0);var ue="",vt,at,Ae,Xt,Ot,rt,Et,Zt,vr,mt,ce,le,oe,fe,De,He,je,We,nt=qe.length;for(vt=0;vt<nt;vt++){mt=qe[vt];switch(mt.type){case"space":continue;case"hr":{ue+=this.renderer.hr();continue}case"heading":{ue+=this.renderer.heading(this.parseInline(mt.tokens),mt.depth,ge(this.parseInline(mt.tokens,this.textRenderer)),this.slugger);continue}case"code":{ue+=this.renderer.code(mt.text,mt.lang,mt.escaped);continue}case"table":{for(Zt="",Et="",Xt=mt.header.length,at=0;at<Xt;at++)Et+=this.renderer.tablecell(this.parseInline(mt.tokens.header[at]),{header:!0,align:mt.align[at]});for(Zt+=this.renderer.tablerow(Et),vr="",Xt=mt.cells.length,at=0;at<Xt;at++){for(rt=mt.tokens.cells[at],Et="",Ot=rt.length,Ae=0;Ae<Ot;Ae++)Et+=this.renderer.tablecell(this.parseInline(rt[Ae]),{header:!1,align:mt.align[Ae]});vr+=this.renderer.tablerow(Et)}ue+=this.renderer.table(Zt,vr);continue}case"blockquote":{vr=this.parse(mt.tokens),ue+=this.renderer.blockquote(vr);continue}case"list":{for(ce=mt.ordered,le=mt.start,oe=mt.loose,Xt=mt.items.length,vr="",at=0;at<Xt;at++)De=mt.items[at],He=De.checked,je=De.task,fe="",De.task&&(We=this.renderer.checkbox(He),oe?De.tokens.length>0&&De.tokens[0].type==="text"?(De.tokens[0].text=We+" "+De.tokens[0].text,De.tokens[0].tokens&&De.tokens[0].tokens.length>0&&De.tokens[0].tokens[0].type==="text"&&(De.tokens[0].tokens[0].text=We+" "+De.tokens[0].tokens[0].text)):De.tokens.unshift({type:"text",text:We}):fe+=We),fe+=this.parse(De.tokens,oe),vr+=this.renderer.listitem(fe,je,He);ue+=this.renderer.list(vr,ce,le);continue}case"html":{ue+=this.renderer.html(mt.text);continue}case"paragraph":{ue+=this.renderer.paragraph(this.parseInline(mt.tokens));continue}case"text":{for(vr=mt.tokens?this.parseInline(mt.tokens):mt.text;vt+1<nt&&qe[vt+1].type==="text";)mt=qe[++vt],vr+=`
|
|
|
`+(mt.tokens?this.parseInline(mt.tokens):mt.text);ue+=we?this.renderer.paragraph(vr):vr;continue}default:{var xt='Token with "'+mt.type+'" type was not found.';if(this.options.silent){console.error(xt);return}else throw new Error(xt)}}}return ue},Ft.parseInline=function(qe,we){we=we||this.renderer;var ue="",vt,at,Ae=qe.length;for(vt=0;vt<Ae;vt++){at=qe[vt];switch(at.type){case"escape":{ue+=we.text(at.text);break}case"html":{ue+=we.html(at.text);break}case"link":{ue+=we.link(at.href,at.title,this.parseInline(at.tokens,we));break}case"image":{ue+=we.image(at.href,at.title,at.text);break}case"strong":{ue+=we.strong(this.parseInline(at.tokens,we));break}case"em":{ue+=we.em(this.parseInline(at.tokens,we));break}case"codespan":{ue+=we.codespan(at.text);break}case"br":{ue+=we.br();break}case"del":{ue+=we.del(this.parseInline(at.tokens,we));break}case"text":{ue+=we.text(at.text);break}default:{var Xt='Token with "'+at.type+'" type was not found.';if(this.options.silent){console.error(Xt);return}else throw new Error(Xt)}}}return ue},Bt}(),Ge=H.merge,ut=H.checkSanitizeDeprecation,wt=H.escape,Pe=c.getDefaults,Dt=c.changeDefaults,et=c.defaults;function _t(Bt,Ft,Gt){if(typeof Bt=="undefined"||Bt===null)throw new Error("marked(): input parameter is undefined or null");if(typeof Bt!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(Bt)+", string expected");if(typeof Ft=="function"&&(Gt=Ft,Ft=null),Ft=Ge({},_t.defaults,Ft||{}),ut(Ft),Gt){var qe=Ft.highlight,we;try{we=W.lex(Bt,Ft)}catch(Ae){return Gt(Ae)}var ue=function(Xt){var Ot;if(!Xt)try{Ot=Ie.parse(we,Ft)}catch(rt){Xt=rt}return Ft.highlight=qe,Xt?Gt(Xt):Gt(null,Ot)};if(!qe||qe.length<3)return ue();if(delete Ft.highlight,!we.length)return ue();var vt=0;_t.walkTokens(we,function(Ae){Ae.type==="code"&&(vt++,setTimeout(function(){qe(Ae.text,Ae.lang,function(Xt,Ot){if(Xt)return ue(Xt);Ot!=null&&Ot!==Ae.text&&(Ae.text=Ot,Ae.escaped=!0),vt--,vt===0&&ue()})},0))}),vt===0&&ue();return}try{var at=W.lex(Bt,Ft);return Ft.walkTokens&&_t.walkTokens(at,Ft.walkTokens),Ie.parse(at,Ft)}catch(Ae){if(Ae.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,Ft.silent)return"<p>An error occurred:</p><pre>"+wt(Ae.message+"",!0)+"</pre>";throw Ae}}_t.options=_t.setOptions=function(Bt){return Ge(_t.defaults,Bt),Dt(_t.defaults),_t},_t.getDefaults=Pe,_t.defaults=et,_t.use=function(Bt){var Ft=Ge({},Bt);if(Bt.renderer&&function(){var qe=_t.defaults.renderer||new ae,we=function(at){var Ae=qe[at];qe[at]=function(){for(var Xt=arguments.length,Ot=new Array(Xt),rt=0;rt<Xt;rt++)Ot[rt]=arguments[rt];var Et=Bt.renderer[at].apply(qe,Ot);return Et===!1&&(Et=Ae.apply(qe,Ot)),Et}};for(var ue in Bt.renderer)we(ue);Ft.renderer=qe}(),Bt.tokenizer&&function(){var qe=_t.defaults.tokenizer||new Se,we=function(at){var Ae=qe[at];qe[at]=function(){for(var Xt=arguments.length,Ot=new Array(Xt),rt=0;rt<Xt;rt++)Ot[rt]=arguments[rt];var Et=Bt.tokenizer[at].apply(qe,Ot);return Et===!1&&(Et=Ae.apply(qe,Ot)),Et}};for(var ue in Bt.tokenizer)we(ue);Ft.tokenizer=qe}(),Bt.walkTokens){var Gt=_t.defaults.walkTokens;Ft.walkTokens=function(qe){Bt.walkTokens(qe),Gt&&Gt(qe)}}_t.setOptions(Ft)},_t.walkTokens=function(Bt,Ft){for(var Gt=g(Bt),qe;!(qe=Gt()).done;){var we=qe.value;Ft(we);switch(we.type){case"table":{for(var ue=g(we.tokens.header),vt;!(vt=ue()).done;){var at=vt.value;_t.walkTokens(at,Ft)}for(var Ae=g(we.tokens.cells),Xt;!(Xt=Ae()).done;)for(var Ot=Xt.value,rt=g(Ot),Et;!(Et=rt()).done;){var Zt=Et.value;_t.walkTokens(Zt,Ft)}break}case"list":{_t.walkTokens(we.items,Ft);break}default:we.tokens&&_t.walkTokens(we.tokens,Ft)}}},_t.Parser=Ie,_t.parser=Ie.parse,_t.Renderer=ae,_t.TextRenderer=Le,_t.Lexer=W,_t.lexer=W.lex,_t.Tokenizer=Se,_t.Slugger=Ee,_t.parse=_t;var Nt=_t;return Nt})},"DlR+":function(B,N,r){var y=r("MFOe"),m=y.Global,C=y.trim;B.exports={name:"cookieStorage",read:g,write:c,each:h,remove:o,clearAll:n};var p=m.document;function g(a){if(!a||!t(a))return null;var d="(?:^|.*;\\s*)"+escape(a).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(p.cookie.replace(new RegExp(d),"$1"))}function h(a){for(var d=p.cookie.split(/; ?/g),i=d.length-1;i>=0;i--){if(!C(d[i]))continue;var l=d[i].split("="),e=unescape(l[0]),s=unescape(l[1]);a(s,e)}}function c(a,d){if(!a)return;p.cookie=escape(a)+"="+escape(d)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"}function o(a){if(!a||!t(a))return;p.cookie=escape(a)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"}function n(){h(function(a,d){o(d)})}function t(a){return new RegExp("(?:^|;\\s*)"+escape(a).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(p.cookie)}},Ducp:function(B,N,r){var y=r("bYtY"),m=r("IwbS"),C=r("+TT/"),p=r("XpcN"),g=m.Group,h=["width","height"],c=["x","y"],o=p.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){o.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new g),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new g),this._showController},resetInner:function(){o.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(t,a,d,i,l,e,s){var u=this;o.superCall(this,"renderInner",t,a,d,i,l,e,s);var f=this._controllerGroup,A=a.get("pageIconSize",!0);y.isArray(A)||(A=[A,A]),x("pagePrev",0);var v=a.getModel("pageTextStyle");f.add(new m.Text({name:"pageText",style:{textFill:v.getTextColor(),font:v.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),x("pageNext",1);function x(b,w){var _=b+"DataIndex",T=m.createIcon(a.get("pageIcons",!0)[a.getOrient().name][w],{onclick:y.bind(u._pageGo,u,_,a,i)},{x:-A[0]/2,y:-A[1]/2,width:A[0],height:A[1]});T.name=b,f.add(T)}},layoutInner:function(t,a,d,i,l,e){var s=this.getSelectorGroup(),u=t.getOrient().index,f=h[u],A=c[u],v=h[1-u],x=c[1-u];l&&C.box("horizontal",s,t.get("selectorItemGap",!0));var b=t.get("selectorButtonGap",!0),w=s.getBoundingRect(),_=[-w.x,-w.y],T=y.clone(d);l&&(T[f]=d[f]-w[f]-b);var S=this._layoutContentAndController(t,i,T,u,f,v,x);if(l){if(e==="end")_[u]+=S[f]+b;else{var E=w[f]+b;_[u]-=E,S[A]-=E}S[f]+=w[f]+b,_[1-u]+=S[x]+S[v]/2-w[v]/2,S[v]=Math.max(S[v],w[v]),S[x]=Math.min(S[x],w[x]+_[1-u]),s.attr("position",_)}return S},_layoutContentAndController:function(t,a,d,i,l,e,s){var u=this.getContentGroup(),f=this._containerGroup,A=this._controllerGroup;C.box(t.get("orient"),u,t.get("itemGap"),i?d.width:null,i?null:d.height),C.box("horizontal",A,t.get("pageButtonItemGap",!0));var v=u.getBoundingRect(),x=A.getBoundingRect(),b=this._showController=v[l]>d[l],w=[-v.x,-v.y];a||(w[i]=u.position[i]);var _=[0,0],T=[-x.x,-x.y],S=y.retrieve2(t.get("pageButtonGap",!0),t.get("itemGap",!0));if(b){var E=t.get("pageButtonPosition",!0);E==="end"?T[i]+=d[l]-x[l]:_[i]+=x[l]+S}T[1-i]+=v[e]/2-x[e]/2,u.attr("position",w),f.attr("position",_),A.attr("position",T);var I={x:0,y:0};if(I[l]=b?d[l]:v[l],I[e]=Math.max(v[e],x[e]),I[s]=Math.min(0,x[s]+T[1-i]),f.__rectSize=d[l],b){var O={x:0,y:0};O[l]=Math.max(d[l]-x[l]-S,0),O[e]=I[e],f.setClipPath(new m.Rect({shape:O})),f.__rectSize=O[l]}else A.eachChild(function(k){k.attr({invisible:!0,silent:!0})});var F=this._getPageInfo(t);return F.pageIndex!=null&&m.updateProps(u,{position:F.contentPosition},b?t:!1),this._updatePageInfoView(t,F),I},_pageGo:function(t,a,d){var i=this._getPageInfo(a)[t];i!=null&&d.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:a.id})},_updatePageInfoView:function(t,a){var d=this._controllerGroup;y.each(["pagePrev","pageNext"],function(f){var A=a[f+"DataIndex"]!=null,v=d.childOfName(f);v&&(v.setStyle("fill",A?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),v.cursor=A?"pointer":"default")});var i=d.childOfName("pageText"),l=t.get("pageFormatter"),e=a.pageIndex,s=e!=null?e+1:0,u=a.pageCount;i&&l&&i.setStyle("text",y.isString(l)?l.replace("{current}",s).replace("{total}",u):l({current:s,total:u}))},_getPageInfo:function(t){var a=t.get("scrollDataIndex",!0),d=this.getContentGroup(),i=this._containerGroup.__rectSize,l=t.getOrient().index,e=h[l],s=c[l],u=this._findTargetItemIndex(a),f=d.children(),A=f[u],v=f.length,x=v?1:0,b={contentPosition:d.position.slice(),pageCount:x,pageIndex:x-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!A)return b;var w=I(A);b.contentPosition[l]=-w.s;for(var _=u+1,T=w,S=w,E=null;_<=v;++_)E=I(f[_]),(!E&&S.e>T.s+i||E&&!O(E,T.s))&&(S.i>T.i?T=S:T=E,T&&(b.pageNextDataIndex==null&&(b.pageNextDataIndex=T.i),++b.pageCount)),S=E;for(var _=u-1,T=w,S=w,E=null;_>=-1;--_)E=I(f[_]),(!E||!O(S,E.s))&&T.i<S.i&&(S=T,b.pagePrevDataIndex==null&&(b.pagePrevDataIndex=T.i),++b.pageCount,++b.pageIndex),T=E;return b;function I(F){if(F){var k=F.getBoundingRect(),M=k[s]+F.position[l];return{s:M,e:M+k[e],i:F.__legendDataIndex}}}function O(F,k){return F.e>=k&&F.s<=k+i}},_findTargetItemIndex:function(t){if(!this._showController)return 0;var a,d=this.getContentGroup(),i;return d.eachChild(function(l,e){var s=l.__legendDataIndex;i==null&&s!=null&&(i=e),s===t&&(a=e)}),a!=null?a:i}}),n=o;B.exports=n},"E/ki":function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"};N.default=y},E2g8:function(B,N,r){(function(y,m){/*!
|
|
|
* @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,p){B.exports=p()})(this,function(){"use strict";function C(ae){var Le=typeof ae;return ae!==null&&(Le==="object"||Le==="function")}function p(ae){return typeof ae=="function"}var g=void 0;Array.isArray?g=Array.isArray:g=function(Le){return Object.prototype.toString.call(Le)==="[object Array]"};var h=g,c=0,o=void 0,n=void 0,t=function(Le,Ee){w[c]=Le,w[c+1]=Ee,c+=2,c===2&&(n?n(_):S())};function a(ae){n=ae}function d(ae){t=ae}var i=typeof window!="undefined"?window:void 0,l=i||{},e=l.MutationObserver||l.WebKitMutationObserver,s=typeof self=="undefined"&&typeof y!="undefined"&&{}.toString.call(y)==="[object process]",u=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function f(){return function(){return y.nextTick(_)}}function A(){return typeof o!="undefined"?function(){o(_)}:b()}function v(){var ae=0,Le=new e(_),Ee=document.createTextNode("");return Le.observe(Ee,{characterData:!0}),function(){Ee.data=ae=++ae%2}}function x(){var ae=new MessageChannel;return ae.port1.onmessage=_,function(){return ae.port2.postMessage(0)}}function b(){var ae=setTimeout;return function(){return ae(_,1)}}var w=new Array(1e3);function _(){for(var ae=0;ae<c;ae+=2){var Le=w[ae],Ee=w[ae+1];Le(Ee),w[ae]=void 0,w[ae+1]=void 0}c=0}function T(){try{var ae=Function("return this")().require("vertx");return o=ae.runOnLoop||ae.runOnContext,A()}catch(Le){return b()}}var S=void 0;s?S=f():e?S=v():u?S=x():i===void 0&&!0?S=T():S=b();function E(ae,Le){var Ee=this,ne=new this.constructor(F);ne[O]===void 0&&ye(ne);var ge=Ee._state;if(ge){var Ie=arguments[ge-1];t(function(){return pe(ge,ne,Ie,Ee._result)})}else Se(Ee,ne,ae,Le);return ne}function I(ae){var Le=this;if(ae&&typeof ae=="object"&&ae.constructor===Le)return ae;var Ee=new Le(F);return G(Ee,ae),Ee}var O=Math.random().toString(36).substring(2);function F(){}var k=void 0,M=1,P=2;function V(){return new TypeError("You cannot resolve a promise with itself")}function D(){return new TypeError("A promises callback cannot return that same promise.")}function H(ae,Le,Ee,ne){try{ae.call(Le,Ee,ne)}catch(ge){return ge}}function U(ae,Le,Ee){t(function(ne){var ge=!1,Ie=H(Ee,Le,function(Ge){if(ge)return;ge=!0,Le!==Ge?G(ne,Ge):Z(ne,Ge)},function(Ge){if(ge)return;ge=!0,ee(ne,Ge)},"Settle: "+(ne._label||" unknown promise"));!ge&&Ie&&(ge=!0,ee(ne,Ie))},ae)}function z(ae,Le){Le._state===M?Z(ae,Le._result):Le._state===P?ee(ae,Le._result):Se(Le,void 0,function(Ee){return G(ae,Ee)},function(Ee){return ee(ae,Ee)})}function K(ae,Le,Ee){Le.constructor===ae.constructor&&Ee===E&&Le.constructor.resolve===I?z(ae,Le):Ee===void 0?Z(ae,Le):p(Ee)?U(ae,Le,Ee):Z(ae,Le)}function G(ae,Le){if(ae===Le)ee(ae,V());else if(C(Le)){var Ee=void 0;try{Ee=Le.then}catch(ne){ee(ae,ne);return}K(ae,Le,Ee)}else Z(ae,Le)}function X(ae){ae._onerror&&ae._onerror(ae._result),$(ae)}function Z(ae,Le){if(ae._state!==k)return;ae._result=Le,ae._state=M,ae._subscribers.length!==0&&t($,ae)}function ee(ae,Le){if(ae._state!==k)return;ae._state=P,ae._result=Le,t(X,ae)}function Se(ae,Le,Ee,ne){var ge=ae._subscribers,Ie=ge.length;ae._onerror=null,ge[Ie]=Le,ge[Ie+M]=Ee,ge[Ie+P]=ne,Ie===0&&ae._state&&t($,ae)}function $(ae){var Le=ae._subscribers,Ee=ae._state;if(Le.length===0)return;for(var ne=void 0,ge=void 0,Ie=ae._result,Ge=0;Ge<Le.length;Ge+=3)ne=Le[Ge],ge=Le[Ge+Ee],ne?pe(Ee,ne,ge,Ie):ge(Ie);ae._subscribers.length=0}function pe(ae,Le,Ee,ne){var ge=p(Ee),Ie=void 0,Ge=void 0,ut=!0;if(ge){try{Ie=Ee(ne)}catch(wt){ut=!1,Ge=wt}if(Le===Ie){ee(Le,D());return}}else Ie=ne;Le._state!==k||(ge&&ut?G(Le,Ie):ut===!1?ee(Le,Ge):ae===M?Z(Le,Ie):ae===P&&ee(Le,Ie))}function xe(ae,Le){try{Le(function(ne){G(ae,ne)},function(ne){ee(ae,ne)})}catch(Ee){ee(ae,Ee)}}var _e=0;function Ue(){return _e++}function ye(ae){ae[O]=_e++,ae._state=void 0,ae._result=void 0,ae._subscribers=[]}function Be(){return new Error("Array Methods must be provided an Array")}var Q=function(){function ae(Le,Ee){this._instanceConstructor=Le,this.promise=new Le(F),this.promise[O]||ye(this.promise),h(Ee)?(this.length=Ee.length,this._remaining=Ee.length,this._result=new Array(this.length),this.length===0?Z(this.promise,this._result):(this.length=this.length||0,this._enumerate(Ee),this._remaining===0&&Z(this.promise,this._result))):ee(this.promise,Be())}return ae.prototype._enumerate=function(Ee){for(var ne=0;this._state===k&&ne<Ee.length;ne++)this._eachEntry(Ee[ne],ne)},ae.prototype._eachEntry=function(Ee,ne){var ge=this._instanceConstructor,Ie=ge.resolve;if(Ie===I){var Ge=void 0,ut=void 0,wt=!1;try{Ge=Ee.then}catch(Dt){wt=!0,ut=Dt}if(Ge===E&&Ee._state!==k)this._settledAt(Ee._state,ne,Ee._result);else if(typeof Ge!="function")this._remaining--,this._result[ne]=Ee;else if(ge===Y){var Pe=new ge(F);wt?ee(Pe,ut):K(Pe,Ee,Ge),this._willSettleAt(Pe,ne)}else this._willSettleAt(new ge(function(Dt){return Dt(Ee)}),ne)}else this._willSettleAt(Ie(Ee),ne)},ae.prototype._settledAt=function(Ee,ne,ge){var Ie=this.promise;Ie._state===k&&(this._remaining--,Ee===P?ee(Ie,ge):this._result[ne]=ge),this._remaining===0&&Z(Ie,this._result)},ae.prototype._willSettleAt=function(Ee,ne){var ge=this;Se(Ee,void 0,function(Ie){return ge._settledAt(M,ne,Ie)},function(Ie){return ge._settledAt(P,ne,Ie)})},ae}();function ie(ae){return new Q(this,ae).promise}function Ve(ae){var Le=this;return h(ae)?new Le(function(Ee,ne){for(var ge=ae.length,Ie=0;Ie<ge;Ie++)Le.resolve(ae[Ie]).then(Ee,ne)}):new Le(function(Ee,ne){return ne(new TypeError("You must pass an array to race."))})}function J(ae){var Le=this,Ee=new Le(F);return ee(Ee,ae),Ee}function W(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function j(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var Y=function(){function ae(Le){this[O]=Ue(),this._result=this._state=void 0,this._subscribers=[],F!==Le&&(typeof Le!="function"&&W(),this instanceof ae?xe(this,Le):j())}return ae.prototype.catch=function(Ee){return this.then(null,Ee)},ae.prototype.finally=function(Ee){var ne=this,ge=ne.constructor;return p(Ee)?ne.then(function(Ie){return ge.resolve(Ee()).then(function(){return Ie})},function(Ie){return ge.resolve(Ee()).then(function(){throw Ie})}):ne.then(Ee,Ee)},ae}();Y.prototype.then=E,Y.all=ie,Y.race=Ve,Y.resolve=I,Y.reject=J,Y._setScheduler=a,Y._setAsap=d,Y._asap=t;function me(){var ae=void 0;if(typeof m!="undefined")ae=m;else if(typeof self!="undefined")ae=self;else try{ae=Function("return this")()}catch(ne){throw new Error("polyfill failed because global object is unavailable in this environment")}var Le=ae.Promise;if(Le){var Ee=null;try{Ee=Object.prototype.toString.call(Le.resolve())}catch(ne){}if(Ee==="[object Promise]"&&!Le.cast)return}ae.Promise=Y}return Y.polyfill=me,Y.Promise=Y,Y})}).call(this,r("Q2Ig"),r("yLpj"))},E9nw:function(B,N){B.exports=function(){var r=document.getSelection();if(!r.rangeCount)return function(){};for(var y=document.activeElement,m=[],C=0;C<r.rangeCount;C++)m.push(r.getRangeAt(C));switch(y.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":y.blur();break;default:y=null;break}return r.removeAllRanges(),function(){r.type==="Caret"&&r.removeAllRanges(),r.rangeCount||m.forEach(function(p){r.addRange(p)}),y&&y.focus()}}},ELLl:function(B,N,r){(function(y){y(r("VrN/"))})(function(y){var m={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},C=y.Pos;y.defineOption("autoCloseBrackets",!1,function(e,s,u){u&&u!=y.Init&&(e.removeKeyMap(g),e.state.closeBrackets=null),s&&(h(p(s,"pairs")),e.state.closeBrackets=s,e.addKeyMap(g))});function p(e,s){return s=="pairs"&&typeof e=="string"?e:typeof e=="object"&&e[s]!=null?e[s]:m[s]}var g={Backspace:n,Enter:t};function h(e){for(var s=0;s<e.length;s++){var u=e.charAt(s),f="'"+u+"'";g[f]||(g[f]=c(u))}}h(m.pairs+"`");function c(e){return function(s){return d(s,e)}}function o(e){var s=e.state.closeBrackets;if(!s||s.override)return s;var u=e.getModeAt(e.getCursor());return u.closeBrackets||s}function n(e){var s=o(e);if(!s||e.getOption("disableInput"))return y.Pass;for(var u=p(s,"pairs"),f=e.listSelections(),A=0;A<f.length;A++){if(!f[A].empty())return y.Pass;var v=i(e,f[A].head);if(!v||u.indexOf(v)%2!=0)return y.Pass}for(var A=f.length-1;A>=0;A--){var x=f[A].head;e.replaceRange("",C(x.line,x.ch-1),C(x.line,x.ch+1),"+delete")}}function t(e){var s=o(e),u=s&&p(s,"explode");if(!u||e.getOption("disableInput"))return y.Pass;for(var f=e.listSelections(),A=0;A<f.length;A++){if(!f[A].empty())return y.Pass;var v=i(e,f[A].head);if(!v||u.indexOf(v)%2!=0)return y.Pass}e.operation(function(){var x=e.lineSeparator()||`
|
|
|
`;e.replaceSelection(x+x,null),e.execCommand("goCharLeft"),f=e.listSelections();for(var b=0;b<f.length;b++){var w=f[b].head.line;e.indentLine(w,null,!0),e.indentLine(w+1,null,!0)}})}function a(e){var s=y.cmpPos(e.anchor,e.head)>0;return{anchor:new C(e.anchor.line,e.anchor.ch+(s?-1:1)),head:new C(e.head.line,e.head.ch+(s?1:-1))}}function d(e,s){var u=o(e);if(!u||e.getOption("disableInput"))return y.Pass;var f=p(u,"pairs"),A=f.indexOf(s);if(A==-1)return y.Pass;for(var v=p(u,"closeBefore"),x=p(u,"triples"),b=f.charAt(A+1)==s,w=e.listSelections(),_=A%2==0,T,S=0;S<w.length;S++){var E=w[S],I=E.head,O,F=e.getRange(I,C(I.line,I.ch+1));if(_&&!E.empty())O="surround";else if((b||!_)&&F==s)b&&l(e,I)?O="both":x.indexOf(s)>=0&&e.getRange(I,C(I.line,I.ch+3))==s+s+s?O="skipThree":O="skip";else if(b&&I.ch>1&&x.indexOf(s)>=0&&e.getRange(C(I.line,I.ch-2),I)==s+s){if(I.ch>2&&/\bstring/.test(e.getTokenTypeAt(C(I.line,I.ch-2))))return y.Pass;O="addFour"}else if(b){var k=I.ch==0?" ":e.getRange(C(I.line,I.ch-1),I);if(!y.isWordChar(F)&&k!=s&&!y.isWordChar(k))O="both";else return y.Pass}else if(_&&(F.length===0||/\s/.test(F)||v.indexOf(F)>-1))O="both";else return y.Pass;if(!T)T=O;else if(T!=O)return y.Pass}var M=A%2?f.charAt(A-1):s,P=A%2?s:f.charAt(A+1);e.operation(function(){if(T=="skip")e.execCommand("goCharRight");else if(T=="skipThree")for(var V=0;V<3;V++)e.execCommand("goCharRight");else if(T=="surround"){for(var D=e.getSelections(),V=0;V<D.length;V++)D[V]=M+D[V]+P;e.replaceSelections(D,"around"),D=e.listSelections().slice();for(var V=0;V<D.length;V++)D[V]=a(D[V]);e.setSelections(D)}else T=="both"?(e.replaceSelection(M+P,null),e.triggerElectric(M+P),e.execCommand("goCharLeft")):T=="addFour"&&(e.replaceSelection(M+M+M+M,"before"),e.execCommand("goCharRight"))})}function i(e,s){var u=e.getRange(C(s.line,s.ch-1),C(s.line,s.ch+1));return u.length==2?u:null}function l(e,s){var u=e.getTokenAt(C(s.line,s.ch+1));return/\bstring/.test(u.type)&&u.start==s.ch&&(s.ch==0||!/\bstring/.test(e.getTokenTypeAt(s)))}})},EMyp:function(B,N,r){var y=r("ProS"),m=r("bYtY"),C=r("mFDi"),p=r("K4ya"),g=r("qJCg"),h=r("iLNv"),c=r("vZ6x"),o=["inBrush","outOfBrush"],n="__ecBrushSelect",t="__ecInBrushSelectEvent",a=y.PRIORITY.VISUAL.BRUSH;y.registerLayout(a,function(x,b,w){x.eachComponent({mainType:"brush"},function(_){w&&w.type==="takeGlobalCursor"&&_.setBrushOption(w.key==="brush"?w.brushOption:{brushType:!1})}),d(x)});function d(x){x.eachComponent({mainType:"brush"},function(b){var w=b.brushTargetManager=new c(b.option,x);w.setInputRanges(b.areas,x)})}y.registerVisual(a,function(x,b,w){var _=[],T,S;x.eachComponent({mainType:"brush"},function(E,I){var O={brushId:E.id,brushIndex:I,brushName:E.name,areas:m.clone(E.areas),selected:[]};_.push(O);var F=E.option,k=F.brushLink,M=[],P=[],V=[],D=0;I||(T=F.throttleType,S=F.throttleDelay);var H=m.map(E.areas,function(Z){return f(m.defaults({boundingRect:A[Z.brushType](Z)},Z))}),U=p.createVisualMappings(E.option,o,function(Z){Z.mappingMethod="fixed"});m.isArray(k)&&m.each(k,function(Z){M[Z]=1});function z(Z){return k==="all"||M[Z]}function K(Z){return!!Z.length}x.eachSeries(function(Z,ee){var Se=V[ee]=[];Z.subType==="parallel"?G(Z,ee,Se):X(Z,ee,Se)});function G(Z,ee){var Se=Z.coordinateSystem;D|=Se.hasAxisBrushed(),z(ee)&&Se.eachActiveState(Z.getData(),function($,pe){$==="active"&&(P[pe]=1)})}function X(Z,ee,Se){var $=s(Z);if(!$||u(E,ee))return;if(m.each(H,function(xe){$[xe.brushType]&&E.brushTargetManager.controlSeries(xe,Z,x)&&Se.push(xe),D|=K(Se)}),z(ee)&&K(Se)){var pe=Z.getData();pe.each(function(xe){e($,Se,pe,xe)&&(P[xe]=1)})}}x.eachSeries(function(Z,ee){var Se={seriesId:Z.id,seriesIndex:ee,seriesName:Z.name,dataIndex:[]};O.selected.push(Se);var $=s(Z),pe=V[ee],xe=Z.getData(),_e=z(ee)?function(Ue){return P[Ue]?(Se.dataIndex.push(xe.getRawIndex(Ue)),"inBrush"):"outOfBrush"}:function(Ue){return e($,pe,xe,Ue)?(Se.dataIndex.push(xe.getRawIndex(Ue)),"inBrush"):"outOfBrush"};(z(ee)?D:K(pe))&&p.applyVisual(o,U,xe,_e)})}),i(b,T,S,_,w)});function i(x,b,w,_,T){if(!T)return;var S=x.getZr();if(S[t])return;S[n]||(S[n]=l);var E=h.createOrUpdate(S,n,w,b);E(x,_)}function l(x,b){if(!x.isDisposed()){var w=x.getZr();w[t]=!0,x.dispatchAction({type:"brushSelect",batch:b}),w[t]=!1}}function e(x,b,w,_){for(var T=0,S=b.length;T<S;T++){var E=b[T];if(x[E.brushType](_,w,E.selectors,E))return!0}}function s(x){var b=x.brushSelector;if(m.isString(b)){var w=[];return m.each(g,function(T,S){w[S]=function(E,I,O,F){var k=I.getItemLayout(E);return T[b](k,O,F)}}),w}else if(m.isFunction(b)){var _={};return m.each(g,function(T,S){_[S]=b}),_}return b}function u(x,b){var w=x.option.seriesIndex;return w!=null&&w!=="all"&&(m.isArray(w)?m.indexOf(w,b)<0:b!==w)}function f(x){var b=x.selectors={};return m.each(g[x.brushType],function(w,_){b[_]=function(T){return w(T,b,x)}}),x}var A={lineX:m.noop,lineY:m.noop,rect:function(x){return v(x.range)},polygon:function(x){for(var b,w=x.range,_=0,T=w.length;_<T;_++){b=b||[[Infinity,-Infinity],[Infinity,-Infinity]];var S=w[_];S[0]<b[0][0]&&(b[0][0]=S[0]),S[0]>b[0][1]&&(b[0][1]=S[0]),S[1]<b[1][0]&&(b[1][0]=S[1]),S[1]>b[1][1]&&(b[1][1]=S[1])}return b&&v(b)}};function v(x){return new C(x[0][0],x[1][0],x[0][1]-x[0][0],x[1][1]-x[1][0])}N.layoutCovers=d},ERHi:function(B,N,r){var y=r("ProS");r("Z6js"),r("R4Th");var m=r("f5Yq"),C=r("h8O9");y.registerVisual(m("effectScatter","circle")),y.registerLayout(C("effectScatter"))},EXcs:function(B,N,r){"use strict";var y=function(){return{height:0,opacity:0}},m=function(c){return{height:c.scrollHeight,opacity:1}},C=function(c){return{height:c.offsetHeight}},p=function(c,o){return o.propertyName==="height"},g={motionName:"ant-motion-collapse",onAppearStart:y,onEnterStart:y,onAppearActive:m,onEnterActive:m,onLeaveStart:C,onLeaveActive:y,onAppearEnd:p,onEnterEnd:p,onLeaveEnd:p,motionDeadline:500};N.a=g},Em2t:function(B,N,r){var y=r("bahg"),m=r("quyA"),C=r("0JQy");function p(g){return m(g)?C(g):y(g)}B.exports=p},Ez2D:function(B,N,r){var y=r("bYtY"),m=r("4NO4");function C(p,g){var h=[],c=p.seriesIndex,o;if(c==null||!(o=g.getSeriesByIndex(c)))return{point:[]};var n=o.getData(),t=m.queryDataIndex(n,p);if(t==null||t<0||y.isArray(t))return{point:[]};var a=n.getItemGraphicEl(t),d=o.coordinateSystem;if(o.getTooltipPosition)h=o.getTooltipPosition(t)||[];else if(d&&d.dataToPoint)h=d.dataToPoint(n.getValues(y.map(d.dimensions,function(l){return n.mapDimension(l)}),t,!0))||[];else if(a){var i=a.getBoundingRect().clone();i.applyTransform(a.transform),h=[i.x+i.width/2,i.y+i.height/2]}return{point:h,el:a}}B.exports=C},F0hE:function(B,N,r){var y=r("ProS"),m=r("bYtY"),C=r("ca2m"),p=r("Qxkt"),g=r("ICMv"),h=C.valueAxis;function c(t,a){return m.defaults({show:a},t)}var o=y.extendComponentModel({type:"radar",optionUpdated:function(){var t=this.get("boundaryGap"),a=this.get("splitNumber"),d=this.get("scale"),i=this.get("axisLine"),l=this.get("axisTick"),e=this.get("axisType"),s=this.get("axisLabel"),u=this.get("name"),f=this.get("name.show"),A=this.get("name.formatter"),v=this.get("nameGap"),x=this.get("triggerEvent"),b=m.map(this.get("indicator")||[],function(w){w.max!=null&&w.max>0&&!w.min?w.min=0:w.min!=null&&w.min<0&&!w.max&&(w.max=0);var _=u;if(w.color!=null&&(_=m.defaults({color:w.color},u)),w=m.merge(m.clone(w),{boundaryGap:t,splitNumber:a,scale:d,axisLine:i,axisTick:l,axisType:e,axisLabel:s,name:w.text,nameLocation:"end",nameGap:v,nameTextStyle:_,triggerEvent:x},!1),f||(w.name=""),typeof A=="string"){var T=w.name;w.name=A.replace("{value}",T!=null?T:"")}else typeof A=="function"&&(w.name=A(w.name,w));var S=m.extend(new p(w,null,this.ecModel),g);return S.mainType="radar",S.componentIndex=this.componentIndex,S},this);this.getIndicatorModels=function(){return b}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:m.merge({lineStyle:{color:"#bbb"}},h.axisLine),axisLabel:c(h.axisLabel,!1),axisTick:c(h.axisTick,!1),axisType:"interval",splitLine:c(h.splitLine,!0),splitArea:c(h.splitArea,!0),indicator:[]}}),n=o;B.exports=n},F5Ls:function(B,N){var r={\u5357\u6D77\u8BF8\u5C9B:[32,80],\u5E7F\u4E1C:[0,-10],\u9999\u6E2F:[10,5],\u6FB3\u95E8:[-10,10],\u5929\u6D25:[5,5]};function y(m,C){if(m==="china"){var p=r[C.name];if(p){var g=C.center;g[0]+=p[0]/10.5,g[1]+=-p[1]/(10.5/.75)}}}B.exports=y},F7hV:function(B,N,r){var y=r("MBQ8"),m=y.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"),p=this.get("largeThreshold");return p>C&&(C=p),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}}});B.exports=m},F9bG:function(B,N,r){var y=r("bYtY"),m=r("ItGF"),C=r("4NO4"),p=C.makeInner,g=p(),h=y.each;function c(l,e,s){if(m.node)return;var u=e.getZr();g(u).records||(g(u).records={}),o(u,e);var f=g(u).records[l]||(g(u).records[l]={});f.handler=s}function o(l,e){if(g(l).initialized)return;g(l).initialized=!0,s("click",y.curry(a,"click")),s("mousemove",y.curry(a,"mousemove")),s("globalout",t);function s(u,f){l.on(u,function(A){var v=d(e);h(g(l).records,function(x){x&&f(x,A,v.dispatchAction)}),n(v.pendings,e)})}}function n(l,e){var s=l.showTip.length,u=l.hideTip.length,f;s?f=l.showTip[s-1]:u&&(f=l.hideTip[u-1]),f&&(f.dispatchAction=null,e.dispatchAction(f))}function t(l,e,s){l.handler("leave",null,s)}function a(l,e,s,u){e.handler(l,s,u)}function d(l){var e={showTip:[],hideTip:[]},s=function(u){var f=e[u.type];f?f.push(u):(u.dispatchAction=s,l.dispatchAction(u))};return{dispatchAction:s,pendings:e}}function i(l,e){if(m.node)return;var s=e.getZr(),u=(g(s).records||{})[l];u&&(g(s).records[l]=null)}N.register=c,N.unregister=i},FBjb:function(B,N,r){var y=r("bYtY"),m=r("oVpE"),C=m.createSymbol,p=r("IwbS"),g=r("OELB"),h=g.parsePercent,c=r("x3X8"),o=c.getDefaultLabel;function n(v,x,b){p.Group.call(this),this.updateData(v,x,b)}var t=n.prototype,a=n.getSymbolSize=function(v,x){var b=v.getItemVisual(x,"symbolSize");return b instanceof Array?b.slice():[+b,+b]};function d(v){return[v[0]/2,v[1]/2]}function i(v,x){this.parent.drift(v,x)}t._createSymbol=function(v,x,b,w,_){this.removeAll();var T=x.getItemVisual(b,"color"),S=C(v,-1,-1,2,2,T,_);S.attr({z2:100,culling:!0,scale:d(w)}),S.drift=i,this._symbolType=v,this.add(S)},t.stopSymbolAnimation=function(v){this.childAt(0).stopAnimation(v)},t.getSymbolPath=function(){return this.childAt(0)},t.getScale=function(){return this.childAt(0).scale},t.highlight=function(){this.childAt(0).trigger("emphasis")},t.downplay=function(){this.childAt(0).trigger("normal")},t.setZ=function(v,x){var b=this.childAt(0);b.zlevel=v,b.z=x},t.setDraggable=function(v){var x=this.childAt(0);x.draggable=v,x.cursor=v?"move":x.cursor},t.updateData=function(v,x,b){this.silent=!1;var w=v.getItemVisual(x,"symbol")||"circle",_=v.hostModel,T=a(v,x),S=w!==this._symbolType;if(S){var E=v.getItemVisual(x,"symbolKeepAspect");this._createSymbol(w,v,x,T,E)}else{var I=this.childAt(0);I.silent=!1,p.updateProps(I,{scale:d(T)},_,x)}if(this._updateCommon(v,x,T,b),S){var I=this.childAt(0),O=b&&b.fadeIn,F={scale:I.scale.slice()};O&&(F.style={opacity:I.style.opacity}),I.scale=[0,0],O&&(I.style.opacity=0),p.initProps(I,F,_,x)}this._seriesModel=_};var l=["itemStyle"],e=["emphasis","itemStyle"],s=["label"],u=["emphasis","label"];t._updateCommon=function(v,x,b,w){var _=this.childAt(0),T=v.hostModel,S=v.getItemVisual(x,"color");_.type!=="image"?_.useStyle({strokeNoScale:!0}):_.setStyle({opacity:null,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var E=w&&w.itemStyle,I=w&&w.hoverItemStyle,O=w&&w.symbolOffset,F=w&&w.labelModel,k=w&&w.hoverLabelModel,M=w&&w.hoverAnimation,P=w&&w.cursorStyle;if(!w||v.hasItemOption){var V=w&&w.itemModel?w.itemModel:v.getItemModel(x);E=V.getModel(l).getItemStyle(["color"]),I=V.getModel(e).getItemStyle(),O=V.getShallow("symbolOffset"),F=V.getModel(s),k=V.getModel(u),M=V.getShallow("hoverAnimation"),P=V.getShallow("cursor")}else I=y.extend({},I);var D=_.style,H=v.getItemVisual(x,"symbolRotate");_.attr("rotation",(H||0)*Math.PI/180||0),O&&_.attr("position",[h(O[0],b[0]),h(O[1],b[1])]),P&&_.attr("cursor",P),_.setColor(S,w&&w.symbolInnerColor),_.setStyle(E);var U=v.getItemVisual(x,"opacity");U!=null&&(D.opacity=U);var z=v.getItemVisual(x,"liftZ"),K=_.__z2Origin;z!=null?K==null&&(_.__z2Origin=_.z2,_.z2+=z):K!=null&&(_.z2=K,_.__z2Origin=null);var G=w&&w.useNameLabel;p.setLabelStyle(D,I,F,k,{labelFetcher:T,labelDataIndex:x,defaultText:X,isRectText:!0,autoColor:S});function X(Z,ee){return G?v.getName(Z):o(v,Z)}_.__symbolOriginalScale=d(b),_.hoverStyle=I,_.highDownOnUpdate=M&&T.isAnimationEnabled()?f:null,p.setHoverStyle(_)};function f(v,x){if(this.incremental||this.useHoverLayer)return;if(x==="emphasis"){var b=this.__symbolOriginalScale,w=b[1]/b[0],_={scale:[Math.max(b[0]*1.1,b[0]+3),Math.max(b[1]*1.1,b[1]+3*w)]};this.animateTo(_,400,"elasticOut")}else x==="normal"&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}t.fadeOut=function(v,x){var b=this.childAt(0);this.silent=b.silent=!0,!(x&&x.keepLabel)&&(b.style.text=null),p.updateProps(b,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,v)},y.inherits(n,p.Group);var A=n;B.exports=A},FGaS:function(B,N,r){var y=r("ProS"),m=r("IwbS"),C=r("bYtY"),p=r("oVpE");function g(c){return C.isArray(c)||(c=[+c,+c]),c}var h=y.extendChartView({type:"radar",render:function(c,o,n){var t=c.coordinateSystem,a=this.group,d=c.getData(),i=this._data;function l(u,f){var A=u.getItemVisual(f,"symbol")||"circle",v=u.getItemVisual(f,"color");if(A==="none")return;var x=g(u.getItemVisual(f,"symbolSize")),b=p.createSymbol(A,-1,-1,2,2,v);return b.attr({style:{strokeNoScale:!0},z2:100,scale:[x[0]/2,x[1]/2]}),b}function e(u,f,A,v,x,b){A.removeAll();for(var w=0;w<f.length-1;w++){var _=l(v,x);_&&(_.__dimIdx=w,u[w]?(_.attr("position",u[w]),m[b?"initProps":"updateProps"](_,{position:f[w]},c,x)):_.attr("position",f[w]),A.add(_))}}function s(u){return C.map(u,function(f){return[t.cx,t.cy]})}d.diff(i).add(function(u){var f=d.getItemLayout(u);if(!f)return;var A=new m.Polygon,v=new m.Polyline,x={shape:{points:f}};A.shape.points=s(f),v.shape.points=s(f),m.initProps(A,x,c,u),m.initProps(v,x,c,u);var b=new m.Group,w=new m.Group;b.add(v),b.add(A),b.add(w),e(v.shape.points,f,w,d,u,!0),d.setItemGraphicEl(u,b)}).update(function(u,f){var A=i.getItemGraphicEl(f),v=A.childAt(0),x=A.childAt(1),b=A.childAt(2),w={shape:{points:d.getItemLayout(u)}};if(!w.shape.points)return;e(v.shape.points,w.shape.points,b,d,u,!1),m.updateProps(v,w,c),m.updateProps(x,w,c),d.setItemGraphicEl(u,A)}).remove(function(u){a.remove(i.getItemGraphicEl(u))}).execute(),d.eachItemGraphicEl(function(u,f){var A=d.getItemModel(f),v=u.childAt(0),x=u.childAt(1),b=u.childAt(2),w=d.getItemVisual(f,"color");a.add(u),v.useStyle(C.defaults(A.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:w})),v.hoverStyle=A.getModel("emphasis.lineStyle").getLineStyle();var _=A.getModel("areaStyle"),T=A.getModel("emphasis.areaStyle"),S=_.isEmpty()&&_.parentModel.isEmpty(),E=T.isEmpty()&&T.parentModel.isEmpty();E=E&&S,x.ignore=S,x.useStyle(C.defaults(_.getAreaStyle(),{fill:w,opacity:.7})),x.hoverStyle=T.getAreaStyle();var I=A.getModel("itemStyle").getItemStyle(["color"]),O=A.getModel("emphasis.itemStyle").getItemStyle(),F=A.getModel("label"),k=A.getModel("emphasis.label");b.eachChild(function(M){M.setStyle(I),M.hoverStyle=C.clone(O);var P=d.get(d.dimensions[M.__dimIdx],f);(P==null||isNaN(P))&&(P=""),m.setLabelStyle(M.style,M.hoverStyle,F,k,{labelFetcher:d.hostModel,labelDataIndex:f,labelDimIndex:M.__dimIdx,defaultText:P,autoColor:w,isRectText:!0})}),u.highDownOnUpdate=function(M,P){x.attr("ignore",P==="emphasis"?E:S)},m.setHoverStyle(u)}),this._data=d},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});B.exports=h},FH2Y:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("ZMnZ"));function m(p){return p&&p.__esModule?p:{default:p}}var C=y;N.default=C,B.exports=C},FNN5:function(B,N,r){var y=r("bYtY"),m=r("IwbS"),C=r("+rIm"),p=r("Znkb"),g=["axisLine","axisTickLabel","axisName"],h=["splitLine","splitArea","minorSplitLine"],c=p.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(n,t){if(this.group.removeAll(),!n.get("show"))return;var a=n.axis,d=a.polar,i=d.getAngleAxis(),l=a.getTicksCoords(),e=a.getMinorTicksCoords(),s=i.getExtent()[0],u=a.getExtent(),f=o(d,n,s),A=new C(n,f);y.each(g,A.add,A),this.group.add(A.getGroup()),y.each(h,function(v){n.get(v+".show")&&!a.scale.isBlank()&&this["_"+v](n,d,s,u,l,e)},this)},_splitLine:function(n,t,a,d,i){var l=n.getModel("splitLine"),e=l.getModel("lineStyle"),s=e.get("color"),u=0;s=s instanceof Array?s:[s];for(var f=[],A=0;A<i.length;A++){var v=u++%s.length;f[v]=f[v]||[],f[v].push(new m.Circle({shape:{cx:t.cx,cy:t.cy,r:i[A].coord}}))}for(var A=0;A<f.length;A++)this.group.add(m.mergePath(f[A],{style:y.defaults({stroke:s[A%s.length],fill:null},e.getLineStyle()),silent:!0}))},_minorSplitLine:function(n,t,a,d,i,l){if(!l.length)return;for(var e=n.getModel("minorSplitLine"),s=e.getModel("lineStyle"),u=[],f=0;f<l.length;f++)for(var A=0;A<l[f].length;A++)u.push(new m.Circle({shape:{cx:t.cx,cy:t.cy,r:l[f][A].coord}}));this.group.add(m.mergePath(u,{style:y.defaults({fill:null},s.getLineStyle()),silent:!0}))},_splitArea:function(n,t,a,d,i){if(!i.length)return;var l=n.getModel("splitArea"),e=l.getModel("areaStyle"),s=e.get("color"),u=0;s=s instanceof Array?s:[s];for(var f=[],A=i[0].coord,v=1;v<i.length;v++){var x=u++%s.length;f[x]=f[x]||[],f[x].push(new m.Sector({shape:{cx:t.cx,cy:t.cy,r0:A,r:i[v].coord,startAngle:0,endAngle:Math.PI*2},silent:!0})),A=i[v].coord}for(var v=0;v<f.length;v++)this.group.add(m.mergePath(f[v],{style:y.defaults({fill:s[v%s.length]},e.getAreaStyle()),silent:!0}))}});function o(n,t,a){return{position:[n.cx,n.cy],rotation:a/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:t.getModel("axisLabel").get("rotate"),z2:1}}B.exports=c},FUi9:function(B,N,r){var y=r("bYtY"),m=r("MwEJ"),C=r("aX7z"),p=r("ICMv"),g=r("Qxkt"),h=r("+TT/"),c=h.getLayoutRect;N.getLayoutRect=h.getLayoutRect;var o=r("7hqr"),n=o.enableDataStack,t=o.isDimensionStacked,a=o.getStackedDimension,d=r("hi0g");N.completeDimensions=d;var i=r("sdST");N.createDimensions=i;var l=r("oVpE");N.createSymbol=l.createSymbol;function e(A){return m(A.getSource(),A)}var s={isDimensionStacked:t,enableDataStack:n,getStackedDimension:a};function u(A,v){var x=v;g.isInstance(v)||(x=new g(v),y.mixin(x,p));var b=C.createScaleByModel(x);return b.setExtent(A[0],A[1]),C.niceScaleExtent(b,x),b}function f(A){y.mixin(A,p)}N.createList=e,N.dataStack=s,N.createScale=u,N.mixinAxisModelCommonMethods=f},"Fa/5":function(B,N,r){var y=r("ProS");r("y2l5"),r("q/+u");var m=r("f5Yq"),C=r("h8O9");r("Ae16"),y.registerVisual(m("scatter","circle")),y.registerLayout(C("scatter"))},FhB9:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"};N.default=y},"Fm1+":function(B,N,r){"use strict";var y=r("284h"),m=r("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var C=m(r("3tO9")),p=y(r("q1tI")),g=m(r("a7Wl")),h=m(r("KQxl")),c=function(t,a){return p.createElement(h.default,(0,C.default)((0,C.default)({},t),{},{ref:a,icon:g.default}))};c.displayName="CaretUpOutlined";var o=p.forwardRef(c);N.default=o},Fofx:function(B,N){var r=typeof Float32Array=="undefined"?Array:Float32Array;function y(){var t=new r(6);return m(t),t}function m(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function C(t,a){return t[0]=a[0],t[1]=a[1],t[2]=a[2],t[3]=a[3],t[4]=a[4],t[5]=a[5],t}function p(t,a,d){var i=a[0]*d[0]+a[2]*d[1],l=a[1]*d[0]+a[3]*d[1],e=a[0]*d[2]+a[2]*d[3],s=a[1]*d[2]+a[3]*d[3],u=a[0]*d[4]+a[2]*d[5]+a[4],f=a[1]*d[4]+a[3]*d[5]+a[5];return t[0]=i,t[1]=l,t[2]=e,t[3]=s,t[4]=u,t[5]=f,t}function g(t,a,d){return t[0]=a[0],t[1]=a[1],t[2]=a[2],t[3]=a[3],t[4]=a[4]+d[0],t[5]=a[5]+d[1],t}function h(t,a,d){var i=a[0],l=a[2],e=a[4],s=a[1],u=a[3],f=a[5],A=Math.sin(d),v=Math.cos(d);return t[0]=i*v+s*A,t[1]=-i*A+s*v,t[2]=l*v+u*A,t[3]=-l*A+v*u,t[4]=v*e+A*f,t[5]=v*f-A*e,t}function c(t,a,d){var i=d[0],l=d[1];return t[0]=a[0]*i,t[1]=a[1]*l,t[2]=a[2]*i,t[3]=a[3]*l,t[4]=a[4]*i,t[5]=a[5]*l,t}function o(t,a){var d=a[0],i=a[2],l=a[4],e=a[1],s=a[3],u=a[5],f=d*s-e*i;return f?(f=1/f,t[0]=s*f,t[1]=-e*f,t[2]=-i*f,t[3]=d*f,t[4]=(i*u-s*l)*f,t[5]=(e*l-d*u)*f,t):null}function n(t){var a=y();return C(a,t),a}N.create=y,N.identity=m,N.copy=C,N.mul=p,N.translate=g,N.rotate=h,N.scale=c,N.invert=o,N.clone=n},Fv0C:function(B,N,r){"use strict";function y(l){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(s){return typeof s}:y=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},y(l)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var m=n(r("Lo0S")),C=r("vewr"),p=n(r("8CQX")),g=c(r("mHUz")),h=n(r("GdRQ"));function c(l){return l&&l.__esModule?l:{default:l}}function o(){if(typeof WeakMap!="function")return null;var l=new WeakMap;return o=function(){return l},l}function n(l){if(l&&l.__esModule)return l;if(l===null||y(l)!=="object"&&typeof l!="function")return{default:l};var e=o();if(e&&e.has(l))return e.get(l);var s={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in l)if(Object.prototype.hasOwnProperty.call(l,f)){var A=u?Object.getOwnPropertyDescriptor(l,f):null;A&&(A.get||A.set)?Object.defineProperty(s,f,A):s[f]=l[f]}return s.default=l,e&&e.set(l,s),s}function t(l,e){if(!(l instanceof e))throw new TypeError("Cannot call a class as a function")}function a(l,e){for(var s=0;s<e.length;s++){var u=e[s];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(l,u.key,u)}}function d(l,e,s){return e&&a(l.prototype,e),s&&a(l,s),l}var i=function(){function l(e){t(this,l),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 d(l,[{key:"_sendKeyEvent",value:function(s,u,f){if(f)this._keyDownList[u]=s;else{if(!(u in this._keyDownList))return;delete this._keyDownList[u]}m.Debug("onkeyevent "+(f?"down":"up")+", keysym: "+s,", code: "+u),this.onkeyevent(s,u,f)}},{key:"_getKeyCode",value:function(s){var u=p.getKeycode(s);if(u!=="Unidentified")return u;if(s.keyCode&&s.type!=="keypress"&&s.keyCode!==229)return"Platform"+s.keyCode;if(s.keyIdentifier){if(s.keyIdentifier.substr(0,2)!=="U+")return s.keyIdentifier;var f=parseInt(s.keyIdentifier.substr(2),16),A=String.fromCharCode(f).toUpperCase();return"Platform"+A.charCodeAt()}return"Unidentified"}},{key:"_handleKeyDown",value:function(s){var u=this._getKeyCode(s),f=p.getKeysym(s);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),u==="AltRight"&&s.timeStamp-this._altGrCtrlTime<50?f=g.default.XK_ISO_Level3_Shift:this._sendKeyEvent(g.default.XK_Control_L,"ControlLeft",!0)),u==="Unidentified"){f&&(this._sendKeyEvent(f,u,!0),this._sendKeyEvent(f,u,!1)),(0,C.stopEvent)(s);return}if(h.isMac()||h.isIOS())switch(f){case g.default.XK_Super_L:f=g.default.XK_Alt_L;break;case g.default.XK_Super_R:f=g.default.XK_Super_L;break;case g.default.XK_Alt_L:f=g.default.XK_Mode_switch;break;case g.default.XK_Alt_R:f=g.default.XK_ISO_Level3_Shift;break}if(u in this._keyDownList&&(f=this._keyDownList[u]),(h.isMac()||h.isIOS())&&u==="CapsLock"){this._sendKeyEvent(g.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(g.default.XK_Caps_Lock,"CapsLock",!1),(0,C.stopEvent)(s);return}if(!f&&(!s.key||h.isIE()||h.isEdge())){this._pendingKey=u,setTimeout(this._handleKeyPressTimeout.bind(this),10,s);return}if(this._pendingKey=null,(0,C.stopEvent)(s),u==="ControlLeft"&&h.isWindows()&&!("ControlLeft"in this._keyDownList)){this._altGrArmed=!0,this._altGrTimeout=setTimeout(this._handleAltGrTimeout.bind(this),100),this._altGrCtrlTime=s.timeStamp;return}this._sendKeyEvent(f,u,!0)}},{key:"_handleKeyPress",value:function(s){if((0,C.stopEvent)(s),this._pendingKey===null)return;var u=this._getKeyCode(s),f=p.getKeysym(s);if(u!=="Unidentified"&&u!=this._pendingKey)return;if(u=this._pendingKey,this._pendingKey=null,!f){m.Info("keypress with no keysym:",s);return}this._sendKeyEvent(f,u,!0)}},{key:"_handleKeyPressTimeout",value:function(s){if(this._pendingKey===null)return;var u,f=this._pendingKey;if(this._pendingKey=null,s.keyCode>=48&&s.keyCode<=57)u=s.keyCode;else if(s.keyCode>=65&&s.keyCode<=90){var A=String.fromCharCode(s.keyCode);s.shiftKey?A=A.toUpperCase():A=A.toLowerCase(),u=A.charCodeAt()}else u=0;this._sendKeyEvent(u,f,!0)}},{key:"_handleKeyUp",value:function(s){(0,C.stopEvent)(s);var u=this._getKeyCode(s);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(g.default.XK_Control_L,"ControlLeft",!0)),(h.isMac()||h.isIOS())&&u==="CapsLock"){this._sendKeyEvent(g.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(g.default.XK_Caps_Lock,"CapsLock",!1);return}this._sendKeyEvent(this._keyDownList[u],u,!1),h.isWindows()&&(u==="ShiftLeft"||u==="ShiftRight")&&("ShiftRight"in this._keyDownList&&this._sendKeyEvent(this._keyDownList.ShiftRight,"ShiftRight",!1),"ShiftLeft"in this._keyDownList&&this._sendKeyEvent(this._keyDownList.ShiftLeft,"ShiftLeft",!1))}},{key:"_handleAltGrTimeout",value:function(){this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(g.default.XK_Control_L,"ControlLeft",!0)}},{key:"_allKeysUp",value:function(){m.Debug(">> Keyboard.allKeysUp");for(var s in this._keyDownList)this._sendKeyEvent(this._keyDownList[s],s,!1);m.Debug("<< Keyboard.allKeysUp")}},{key:"_checkAlt",value:function(s){if(s.skipCheckAlt)return;if(s.altKey)return;var u=this._target,f=this._keyDownList;["AltLeft","AltRight"].forEach(function(A){if(!(A in f))return;var v=new KeyboardEvent("keyup",{key:f[A],code:A});v.skipCheckAlt=!0,u.dispatchEvent(v)})}},{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),h.isWindows()&&h.isFirefox()){var s=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(u){return document.addEventListener(u,s,{capture:!0,passive:!0})})}}},{key:"ungrab",value:function(){if(h.isWindows()&&h.isFirefox()){var s=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(u){return document.removeEventListener(u,s)})}this._target.removeEventListener("keydown",this._eventHandlers.keydown),this._target.removeEventListener("keyup",this._eventHandlers.keyup),this._target.removeEventListener("keypress",this._eventHandlers.keypress),window.removeEventListener("blur",this._eventHandlers.blur),this._allKeysUp()}}]),l}();N.default=i},FxDU:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.createSensor=void 0;var y=r("QO+J"),m=r("j5sG"),C=typeof ResizeObserver!="undefined"?m.createSensor:y.createSensor;N.createSensor=C},GGyF:function(B,N,r){"use strict";var y=r("284h"),m=r("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var C=m(r("3tO9")),p=y(r("q1tI")),g=m(r("wgjA")),h=m(r("KQxl")),c=function(t,a){return p.createElement(h.default,(0,C.default)((0,C.default)({},t),{},{ref:a,icon:g.default}))};c.displayName="LeftOutlined";var o=p.forwardRef(c);N.default=o},GIiI:function(B,N,r){"use strict";var y=r("VTBJ"),m=r("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"},p=C,g=r("6VBw"),h=function(n,t){return m.createElement(g.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};h.displayName="PoweroffOutlined";var c=N.a=m.forwardRef(h)},GMDS:function(B,N,r){var y=r("bYtY"),m=r("4NgU"),C=r("jkPA"),p=m.prototype,g=m.extend({type:"ordinal",init:function(c,o){(!c||y.isArray(c))&&(c=new C({categories:c})),this._ordinalMeta=c,this._extent=o||[0,c.categories.length-1]},parse:function(c){return typeof c=="string"?this._ordinalMeta.getOrdinal(c):Math.round(c)},contain:function(c){return c=this.parse(c),p.contain.call(this,c)&&this._ordinalMeta.categories[c]!=null},normalize:function(c){return p.normalize.call(this,this.parse(c))},scale:function(c){return Math.round(p.scale.call(this,c))},getTicks:function(){for(var c=[],o=this._extent,n=o[0];n<=o[1];)c.push(n),n++;return c},getLabel:function(c){if(!this.isBlank())return this._ordinalMeta.categories[c]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(c,o){this.unionExtent(c.getApproximateExtent(o))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:y.noop,niceExtent:y.noop});g.create=function(){return new g};var h=g;B.exports=h},GQ8N:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.toUnsigned32bit=y,N.toSigned32bit=m;function y(C){return C>>>0}function m(C){return C|0}},GUcZ:function(B,N,r){"use strict";var y=r("XKWP"),m=r("N7Kx"),C=function(){function Me(){Object(y.a)(this,Me)}return Object(m.a)(Me,null,[{key:"install",value:function(){Object.setPrototypeOf=Object.setPrototypeOf||function(re,be){return re.__proto__=be,re},Object.assign=Object.assign||function(re){if(re==null)throw new TypeError("Cannot convert undefined or null to object");for(var be=Object(re),Ne=1;Ne<arguments.length;Ne++){var Ke=arguments[Ne];if(Ke!=null)for(var Qe in Ke)Ke.hasOwnProperty(Qe)&&(be[Qe]=Ke[Qe])}return be},typeof self.Promise!="function"&&r("E2g8").polyfill()}}]),Me}();C.install();var p=C,g=r("+qE3"),h=r.n(g),c=function(){function Me(){Object(y.a)(this,Me)}return Object(m.a)(Me,null,[{key:"e",value:function(re,be){(!re||Me.FORCE_GLOBAL_TAG)&&(re=Me.GLOBAL_TAG);var Ne="[".concat(re,"] > ").concat(be);if(Me.ENABLE_CALLBACK&&Me.emitter.emit("log","error",Ne),!Me.ENABLE_ERROR)return;console.error?console.error(Ne):console.warn?console.warn(Ne):console.log(Ne)}},{key:"i",value:function(re,be){(!re||Me.FORCE_GLOBAL_TAG)&&(re=Me.GLOBAL_TAG);var Ne="[".concat(re,"] > ").concat(be);if(Me.ENABLE_CALLBACK&&Me.emitter.emit("log","info",Ne),!Me.ENABLE_INFO)return;console.info?console.info(Ne):console.log(Ne)}},{key:"w",value:function(re,be){(!re||Me.FORCE_GLOBAL_TAG)&&(re=Me.GLOBAL_TAG);var Ne="[".concat(re,"] > ").concat(be);if(Me.ENABLE_CALLBACK&&Me.emitter.emit("log","warn",Ne),!Me.ENABLE_WARN)return;console.warn?console.warn(Ne):console.log(Ne)}},{key:"d",value:function(re,be){(!re||Me.FORCE_GLOBAL_TAG)&&(re=Me.GLOBAL_TAG);var Ne="[".concat(re,"] > ").concat(be);if(Me.ENABLE_CALLBACK&&Me.emitter.emit("log","debug",Ne),!Me.ENABLE_DEBUG)return;console.debug?console.debug(Ne):console.log(Ne)}},{key:"v",value:function(re,be){(!re||Me.FORCE_GLOBAL_TAG)&&(re=Me.GLOBAL_TAG);var Ne="[".concat(re,"] > ").concat(be);if(Me.ENABLE_CALLBACK&&Me.emitter.emit("log","verbose",Ne),!Me.ENABLE_VERBOSE)return;console.log(Ne)}}]),Me}();c.GLOBAL_TAG="flv.js",c.FORCE_GLOBAL_TAG=!1,c.ENABLE_ERROR=!0,c.ENABLE_INFO=!0,c.ENABLE_WARN=!0,c.ENABLE_DEBUG=!0,c.ENABLE_VERBOSE=!0,c.ENABLE_CALLBACK=!1,c.emitter=new h.a;var o=c,n=function(){function Me(){Object(y.a)(this,Me),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(m.a)(Me,[{key:"reset",value:function(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}},{key:"addBytes",value:function(re){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=re,this._totalBytes+=re):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=re,this._totalBytes+=re):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=re,this._totalBytes+=re,this._lastCheckpoint=this._now())}},{key:"currentKBps",get:function(){this.addBytes(0);var re=(this._now()-this._lastCheckpoint)/1e3;return re==0&&(re=1),this._intervalBytes/re/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 re=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/re/1024}}]),Me}(),t=n,a=r("kFHX"),d=r("4jIl"),i=function(){function Me(ke){Object(y.a)(this,Me),this._message=ke}return Object(m.a)(Me,[{key:"name",get:function(){return"RuntimeException"}},{key:"message",get:function(){return this._message}},{key:"toString",value:function(){return this.name+": "+this.message}}]),Me}(),l=function(Me){Object(a.a)(re,Me);var ke=Object(d.a)(re);function re(be){return Object(y.a)(this,re),ke.call(this,be)}return Object(m.a)(re,[{key:"name",get:function(){return"IllegalStateException"}}]),re}(i),e=function(Me){Object(a.a)(re,Me);var ke=Object(d.a)(re);function re(be){return Object(y.a)(this,re),ke.call(this,be)}return Object(m.a)(re,[{key:"name",get:function(){return"InvalidArgumentException"}}]),re}(i),s=function(Me){Object(a.a)(re,Me);var ke=Object(d.a)(re);function re(be){return Object(y.a)(this,re),ke.call(this,be)}return Object(m.a)(re,[{key:"name",get:function(){return"NotImplementedException"}}]),re}(i),u={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},f={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"},A=function(){function Me(ke){Object(y.a)(this,Me),this._type=ke||"undefined",this._status=u.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}return Object(m.a)(Me,[{key:"destroy",value:function(){this._status=u.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}},{key:"isWorking",value:function(){return this._status===u.kConnecting||this._status===u.kBuffering}},{key:"type",get:function(){return this._type}},{key:"status",get:function(){return this._status}},{key:"needStashBuffer",get:function(){return this._needStash}},{key:"onContentLengthKnown",get:function(){return this._onContentLengthKnown},set:function(re){this._onContentLengthKnown=re}},{key:"onURLRedirect",get:function(){return this._onURLRedirect},set:function(re){this._onURLRedirect=re}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(re){this._onDataArrival=re}},{key:"onError",get:function(){return this._onError},set:function(re){this._onError=re}},{key:"onComplete",get:function(){return this._onComplete},set:function(re){this._onComplete=re}},{key:"open",value:function(re,be){throw new s("Unimplemented abstract function!")}},{key:"abort",value:function(){throw new s("Unimplemented abstract function!")}}]),Me}(),v=r("XPR9");function x(Me,ke){for(;!Object.prototype.hasOwnProperty.call(Me,ke)&&!(Me=Object(v.a)(Me),Me===null););return Me}function b(Me,ke,re){return typeof Reflect!="undefined"&&Reflect.get?b=Reflect.get:b=function(Ne,Ke,Qe){var ct=x(Ne,Ke);if(!ct)return;var Lt=Object.getOwnPropertyDescriptor(ct,Ke);return Lt.get?Lt.get.call(Qe):Lt.value},b(Me,ke,re||Me)}var w={};function _(){var Me=self.navigator.userAgent.toLowerCase(),ke=/(edge)\/([\w.]+)/.exec(Me)||/(opr)[\/]([\w.]+)/.exec(Me)||/(chrome)[ \/]([\w.]+)/.exec(Me)||/(iemobile)[\/]([\w.]+)/.exec(Me)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(Me)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(Me)||/(webkit)[ \/]([\w.]+)/.exec(Me)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(Me)||/(msie) ([\w.]+)/.exec(Me)||Me.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(Me)||Me.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(Me)||[],re=/(ipad)/.exec(Me)||/(ipod)/.exec(Me)||/(windows phone)/.exec(Me)||/(iphone)/.exec(Me)||/(kindle)/.exec(Me)||/(android)/.exec(Me)||/(windows)/.exec(Me)||/(mac)/.exec(Me)||/(linux)/.exec(Me)||/(cros)/.exec(Me)||[],be={browser:ke[5]||ke[3]||ke[1]||"",version:ke[2]||ke[4]||"0",majorVersion:ke[4]||ke[2]||"0",platform:re[0]||""},Ne={};if(be.browser){Ne[be.browser]=!0;var Ke=be.majorVersion.split(".");Ne.version={major:parseInt(be.majorVersion,10),string:be.version},Ke.length>1&&(Ne.version.minor=parseInt(Ke[1],10)),Ke.length>2&&(Ne.version.build=parseInt(Ke[2],10))}if(be.platform&&(Ne[be.platform]=!0),(Ne.chrome||Ne.opr||Ne.safari)&&(Ne.webkit=!0),Ne.rv||Ne.iemobile){Ne.rv&&delete Ne.rv;var Qe="msie";be.browser=Qe,Ne[Qe]=!0}if(Ne.edge){delete Ne.edge;var ct="msedge";be.browser=ct,Ne[ct]=!0}if(Ne.opr){var Lt="opera";be.browser=Lt,Ne[Lt]=!0}if(Ne.safari&&Ne.android){var rr="android";be.browser=rr,Ne[rr]=!0}Ne.name=be.browser,Ne.platform=be.platform;for(var dr in w)w.hasOwnProperty(dr)&&delete w[dr];Object.assign(w,Ne)}_();var T=w,S=function(Me){Object(a.a)(re,Me);var ke=Object(d.a)(re);function re(be,Ne){var Ke;return Object(y.a)(this,re),Ke=ke.call(this,"fetch-stream-loader"),Ke.TAG="FetchStreamLoader",Ke._seekHandler=be,Ke._config=Ne,Ke._needStash=!0,Ke._requestAbort=!1,Ke._contentLength=null,Ke._receivedLength=0,Ke}return Object(m.a)(re,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),b(Object(v.a)(re.prototype),"destroy",this).call(this)}},{key:"open",value:function(Ne,Ke){var Qe=this;this._dataSource=Ne,this._range=Ke;var ct=Ne.url;this._config.reuseRedirectedURL&&Ne.redirectedURL!=null&&(ct=Ne.redirectedURL);var Lt=this._seekHandler.getConfig(ct,Ke),rr=new self.Headers;if(typeof Lt.headers=="object"){var dr=Lt.headers;for(var Pt in dr)dr.hasOwnProperty(Pt)&&rr.append(Pt,dr[Pt])}var jt={method:"GET",headers:rr,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(var Ct in this._config.headers)rr.append(Ct,this._config.headers[Ct]);Ne.cors===!1&&(jt.mode="same-origin"),Ne.withCredentials&&(jt.credentials="include"),Ne.referrerPolicy&&(jt.referrerPolicy=Ne.referrerPolicy),this._status=u.kConnecting,self.fetch(Lt.url,jt).then(function(Rt){if(Qe._requestAbort){Qe._requestAbort=!1,Qe._status=u.kIdle;return}if(Rt.ok&&Rt.status>=200&&Rt.status<=299){if(Rt.url!==Lt.url&&Qe._onURLRedirect){var pt=Qe._seekHandler.removeURLParameters(Rt.url);Qe._onURLRedirect(pt)}var ot=Rt.headers.get("Content-Length");return ot!=null&&(Qe._contentLength=parseInt(ot),Qe._contentLength!==0&&(Qe._onContentLengthKnown&&Qe._onContentLengthKnown(Qe._contentLength))),Qe._pump.call(Qe,Rt.body.getReader())}else if(Qe._status=u.kError,Qe._onError)Qe._onError(f.HTTP_STATUS_CODE_INVALID,{code:Rt.status,msg:Rt.statusText});else throw new i("FetchStreamLoader: Http code invalid, "+Rt.status+" "+Rt.statusText)}).catch(function(Rt){if(Qe._status=u.kError,Qe._onError)Qe._onError(f.EXCEPTION,{code:-1,msg:Rt.message});else throw Rt})}},{key:"abort",value:function(){this._requestAbort=!0}},{key:"_pump",value:function(Ne){var Ke=this;return Ne.read().then(function(Qe){if(Qe.done)if(Ke._contentLength!==null&&Ke._receivedLength<Ke._contentLength){Ke._status=u.kError;var ct=f.EARLY_EOF,Lt={code:-1,msg:"Fetch stream meet Early-EOF"};if(Ke._onError)Ke._onError(ct,Lt);else throw new i(Lt.msg)}else Ke._status=u.kComplete,Ke._onComplete&&Ke._onComplete(Ke._range.from,Ke._range.from+Ke._receivedLength-1);else{if(Ke._requestAbort===!0)return Ke._requestAbort=!1,Ke._status=u.kComplete,Ne.cancel();Ke._status=u.kBuffering;var rr=Qe.value.buffer,dr=Ke._range.from+Ke._receivedLength;Ke._receivedLength+=rr.byteLength,Ke._onDataArrival&&Ke._onDataArrival(rr,dr,Ke._receivedLength),Ke._pump(Ne)}}).catch(function(Qe){if(Qe.code===11&&T.msedge)return;Ke._status=u.kError;var ct=0,Lt=null;if((Qe.code===19||Qe.message==="network error")&&(Ke._contentLength===null||Ke._contentLength!==null&&Ke._receivedLength<Ke._contentLength)?(ct=f.EARLY_EOF,Lt={code:Qe.code,msg:"Fetch stream meet Early-EOF"}):(ct=f.EXCEPTION,Lt={code:Qe.code,msg:Qe.message}),Ke._onError)Ke._onError(ct,Lt);else throw new i(Lt.msg)})}}],[{key:"isSupported",value:function(){try{var Ne=T.msedge&&T.version.minor>=15048,Ke=T.msedge?Ne:!0;return self.fetch&&self.ReadableStream&&Ke}catch(Qe){return!1}}}]),re}(A),E=S,I=function(Me){Object(a.a)(re,Me);var ke=Object(d.a)(re);function re(be,Ne){var Ke;return Object(y.a)(this,re),Ke=ke.call(this,"xhr-moz-chunked-loader"),Ke.TAG="MozChunkedLoader",Ke._seekHandler=be,Ke._config=Ne,Ke._needStash=!0,Ke._xhr=null,Ke._requestAbort=!1,Ke._contentLength=null,Ke._receivedLength=0,Ke}return Object(m.a)(re,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onloadend=null,this._xhr.onerror=null,this._xhr=null),b(Object(v.a)(re.prototype),"destroy",this).call(this)}},{key:"open",value:function(Ne,Ke){this._dataSource=Ne,this._range=Ke;var Qe=Ne.url;this._config.reuseRedirectedURL&&Ne.redirectedURL!=null&&(Qe=Ne.redirectedURL);var ct=this._seekHandler.getConfig(Qe,Ke);this._requestURL=ct.url;var Lt=this._xhr=new XMLHttpRequest;if(Lt.open("GET",ct.url,!0),Lt.responseType="moz-chunked-arraybuffer",Lt.onreadystatechange=this._onReadyStateChange.bind(this),Lt.onprogress=this._onProgress.bind(this),Lt.onloadend=this._onLoadEnd.bind(this),Lt.onerror=this._onXhrError.bind(this),Ne.withCredentials&&(Lt.withCredentials=!0),typeof ct.headers=="object"){var rr=ct.headers;for(var dr in rr)rr.hasOwnProperty(dr)&&Lt.setRequestHeader(dr,rr[dr])}if(typeof this._config.headers=="object"){var Pt=this._config.headers;for(var jt in Pt)Pt.hasOwnProperty(jt)&&Lt.setRequestHeader(jt,Pt[jt])}this._status=u.kConnecting,Lt.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._xhr&&this._xhr.abort(),this._status=u.kComplete}},{key:"_onReadyStateChange",value:function(Ne){var Ke=Ne.target;if(Ke.readyState===2){if(Ke.responseURL!=null&&Ke.responseURL!==this._requestURL&&this._onURLRedirect){var Qe=this._seekHandler.removeURLParameters(Ke.responseURL);this._onURLRedirect(Qe)}if(Ke.status!==0&&(Ke.status<200||Ke.status>299))if(this._status=u.kError,this._onError)this._onError(f.HTTP_STATUS_CODE_INVALID,{code:Ke.status,msg:Ke.statusText});else throw new i("MozChunkedLoader: Http code invalid, "+Ke.status+" "+Ke.statusText);else this._status=u.kBuffering}}},{key:"_onProgress",value:function(Ne){if(this._status===u.kError)return;this._contentLength===null&&(Ne.total!==null&&Ne.total!==0&&(this._contentLength=Ne.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)));var Ke=Ne.target.response,Qe=this._range.from+this._receivedLength;this._receivedLength+=Ke.byteLength,this._onDataArrival&&this._onDataArrival(Ke,Qe,this._receivedLength)}},{key:"_onLoadEnd",value:function(Ne){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===u.kError)return;this._status=u.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}},{key:"_onXhrError",value:function(Ne){this._status=u.kError;var Ke=0,Qe=null;if(this._contentLength&&Ne.loaded<this._contentLength?(Ke=f.EARLY_EOF,Qe={code:-1,msg:"Moz-Chunked stream meet Early-Eof"}):(Ke=f.EXCEPTION,Qe={code:-1,msg:Ne.constructor.name+" "+Ne.type}),this._onError)this._onError(Ke,Qe);else throw new i(Qe.msg)}}],[{key:"isSupported",value:function(){try{var Ne=new XMLHttpRequest;return Ne.open("GET","https://example.com",!0),Ne.responseType="moz-chunked-arraybuffer",Ne.responseType==="moz-chunked-arraybuffer"}catch(Ke){return o.w("MozChunkedLoader",Ke.message),!1}}}]),re}(A),O=I,F=function(Me){Object(a.a)(re,Me);var ke=Object(d.a)(re);function re(be,Ne){var Ke;return Object(y.a)(this,re),Ke=ke.call(this,"xhr-msstream-loader"),Ke.TAG="MSStreamLoader",Ke._seekHandler=be,Ke._config=Ne,Ke._needStash=!0,Ke._xhr=null,Ke._reader=null,Ke._totalRange=null,Ke._currentRange=null,Ke._currentRequestURL=null,Ke._currentRedirectedURL=null,Ke._contentLength=null,Ke._receivedLength=0,Ke._bufferLimit=16*1024*1024,Ke._lastTimeBufferSize=0,Ke._isReconnecting=!1,Ke}return Object(m.a)(re,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._reader&&(this._reader.onprogress=null,this._reader.onload=null,this._reader.onerror=null,this._reader=null),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr=null),b(Object(v.a)(re.prototype),"destroy",this).call(this)}},{key:"open",value:function(Ne,Ke){this._internalOpen(Ne,Ke,!1)}},{key:"_internalOpen",value:function(Ne,Ke,Qe){this._dataSource=Ne,Qe?this._currentRange=Ke:this._totalRange=Ke;var ct=Ne.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?ct=this._currentRedirectedURL:Ne.redirectedURL!=null&&(ct=Ne.redirectedURL));var Lt=this._seekHandler.getConfig(ct,Ke);this._currentRequestURL=Lt.url;var rr=this._reader=new self.MSStreamReader;rr.onprogress=this._msrOnProgress.bind(this),rr.onload=this._msrOnLoad.bind(this),rr.onerror=this._msrOnError.bind(this);var dr=this._xhr=new XMLHttpRequest;if(dr.open("GET",Lt.url,!0),dr.responseType="ms-stream",dr.onreadystatechange=this._xhrOnReadyStateChange.bind(this),dr.onerror=this._xhrOnError.bind(this),Ne.withCredentials&&(dr.withCredentials=!0),typeof Lt.headers=="object"){var Pt=Lt.headers;for(var jt in Pt)Pt.hasOwnProperty(jt)&&dr.setRequestHeader(jt,Pt[jt])}if(typeof this._config.headers=="object"){var Ct=this._config.headers;for(var Rt in Ct)Ct.hasOwnProperty(Rt)&&dr.setRequestHeader(Rt,Ct[Rt])}this._isReconnecting?this._isReconnecting=!1:this._status=u.kConnecting,dr.send()}},{key:"abort",value:function(){this._internalAbort(),this._status=u.kComplete}},{key:"_internalAbort",value:function(){this._reader&&(this._reader.readyState===1&&this._reader.abort(),this._reader.onprogress=null,this._reader.onload=null,this._reader.onerror=null,this._reader=null),this._xhr&&(this._xhr.abort(),this._xhr.onreadystatechange=null,this._xhr=null)}},{key:"_xhrOnReadyStateChange",value:function(Ne){var Ke=Ne.target;if(Ke.readyState===2)if(Ke.status>=200&&Ke.status<=299){if(this._status=u.kBuffering,Ke.responseURL!=null){var Qe=this._seekHandler.removeURLParameters(Ke.responseURL);Ke.responseURL!==this._currentRequestURL&&Qe!==this._currentRedirectedURL&&(this._currentRedirectedURL=Qe,this._onURLRedirect&&this._onURLRedirect(Qe))}var ct=Ke.getResponseHeader("Content-Length");if(ct!=null&&this._contentLength==null){var Lt=parseInt(ct);Lt>0&&(this._contentLength=Lt,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=u.kError,this._onError)this._onError(f.HTTP_STATUS_CODE_INVALID,{code:Ke.status,msg:Ke.statusText});else throw new i("MSStreamLoader: Http code invalid, "+Ke.status+" "+Ke.statusText);else if(Ke.readyState===3&&(Ke.status>=200&&Ke.status<=299)){this._status=u.kBuffering;var rr=Ke.response;this._reader.readAsArrayBuffer(rr)}}},{key:"_xhrOnError",value:function(Ne){this._status=u.kError;var Ke=f.EXCEPTION,Qe={code:-1,msg:Ne.constructor.name+" "+Ne.type};if(this._onError)this._onError(Ke,Qe);else throw new i(Qe.msg)}},{key:"_msrOnProgress",value:function(Ne){var Ke=Ne.target,Qe=Ke.result;if(Qe==null){this._doReconnectIfNeeded();return}var ct=Qe.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=Qe.byteLength;var Lt=this._totalRange.from+this._receivedLength;this._receivedLength+=ct.byteLength,this._onDataArrival&&this._onDataArrival(ct,Lt,this._receivedLength),Qe.byteLength>=this._bufferLimit&&(o.v(this.TAG,"MSStream buffer exceeded max size near ".concat(Lt+ct.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 Ne={from:this._totalRange.from+this._receivedLength,to:-1};this._internalOpen(this._dataSource,Ne,!0)}}},{key:"_msrOnLoad",value:function(Ne){this._status=u.kComplete,this._onComplete&&this._onComplete(this._totalRange.from,this._totalRange.from+this._receivedLength-1)}},{key:"_msrOnError",value:function(Ne){this._status=u.kError;var Ke=0,Qe=null;if(this._contentLength&&this._receivedLength<this._contentLength?(Ke=f.EARLY_EOF,Qe={code:-1,msg:"MSStream meet Early-Eof"}):(Ke=f.EARLY_EOF,Qe={code:-1,msg:Ne.constructor.name+" "+Ne.type}),this._onError)this._onError(Ke,Qe);else throw new i(Qe.msg)}}],[{key:"isSupported",value:function(){try{if(typeof self.MSStream=="undefined"||typeof self.MSStreamReader=="undefined")return!1;var Ne=new XMLHttpRequest;return Ne.open("GET","https://example.com",!0),Ne.responseType="ms-stream",Ne.responseType==="ms-stream"}catch(Ke){return o.w("MSStreamLoader",Ke.message),!1}}}]),re}(A),k=F,M=function(Me){Object(a.a)(re,Me);var ke=Object(d.a)(re);function re(be,Ne){var Ke;return Object(y.a)(this,re),Ke=ke.call(this,"xhr-range-loader"),Ke.TAG="RangeLoader",Ke._seekHandler=be,Ke._config=Ne,Ke._needStash=!1,Ke._chunkSizeKBList=[128,256,384,512,768,1024,1536,2048,3072,4096,5120,6144,7168,8192],Ke._currentChunkSizeKB=384,Ke._currentSpeedNormalized=0,Ke._zeroSpeedChunkCount=0,Ke._xhr=null,Ke._speedSampler=new t,Ke._requestAbort=!1,Ke._waitForTotalLength=!1,Ke._totalLengthReceived=!1,Ke._currentRequestURL=null,Ke._currentRedirectedURL=null,Ke._currentRequestRange=null,Ke._totalLength=null,Ke._contentLength=null,Ke._receivedLength=0,Ke._lastTimeLoaded=0,Ke}return Object(m.a)(re,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr=null),b(Object(v.a)(re.prototype),"destroy",this).call(this)}},{key:"currentSpeed",get:function(){return this._speedSampler.lastSecondKBps}},{key:"open",value:function(Ne,Ke){this._dataSource=Ne,this._range=Ke,this._status=u.kConnecting;var Qe=!1;this._dataSource.filesize!=null&&this._dataSource.filesize!==0&&(Qe=!0,this._totalLength=this._dataSource.filesize),!this._totalLengthReceived&&!Qe?(this._waitForTotalLength=!0,this._internalOpen(this._dataSource,{from:0,to:-1})):this._openSubRange()}},{key:"_openSubRange",value:function(){var Ne=this._currentChunkSizeKB*1024,Ke=this._range.from+this._receivedLength,Qe=Ke+Ne;this._contentLength!=null&&(Qe-this._range.from>=this._contentLength&&(Qe=this._range.from+this._contentLength-1)),this._currentRequestRange={from:Ke,to:Qe},this._internalOpen(this._dataSource,this._currentRequestRange)}},{key:"_internalOpen",value:function(Ne,Ke){this._lastTimeLoaded=0;var Qe=Ne.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?Qe=this._currentRedirectedURL:Ne.redirectedURL!=null&&(Qe=Ne.redirectedURL));var ct=this._seekHandler.getConfig(Qe,Ke);this._currentRequestURL=ct.url;var Lt=this._xhr=new XMLHttpRequest;if(Lt.open("GET",ct.url,!0),Lt.responseType="arraybuffer",Lt.onreadystatechange=this._onReadyStateChange.bind(this),Lt.onprogress=this._onProgress.bind(this),Lt.onload=this._onLoad.bind(this),Lt.onerror=this._onXhrError.bind(this),Ne.withCredentials&&(Lt.withCredentials=!0),typeof ct.headers=="object"){var rr=ct.headers;for(var dr in rr)rr.hasOwnProperty(dr)&&Lt.setRequestHeader(dr,rr[dr])}if(typeof this._config.headers=="object"){var Pt=this._config.headers;for(var jt in Pt)Pt.hasOwnProperty(jt)&&Lt.setRequestHeader(jt,Pt[jt])}Lt.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._internalAbort(),this._status=u.kComplete}},{key:"_internalAbort",value:function(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}},{key:"_onReadyStateChange",value:function(Ne){var Ke=Ne.target;if(Ke.readyState===2){if(Ke.responseURL!=null){var Qe=this._seekHandler.removeURLParameters(Ke.responseURL);Ke.responseURL!==this._currentRequestURL&&Qe!==this._currentRedirectedURL&&(this._currentRedirectedURL=Qe,this._onURLRedirect&&this._onURLRedirect(Qe))}if(Ke.status>=200&&Ke.status<=299){if(this._waitForTotalLength)return;this._status=u.kBuffering}else if(this._status=u.kError,this._onError)this._onError(f.HTTP_STATUS_CODE_INVALID,{code:Ke.status,msg:Ke.statusText});else throw new i("RangeLoader: Http code invalid, "+Ke.status+" "+Ke.statusText)}}},{key:"_onProgress",value:function(Ne){if(this._status===u.kError)return;if(this._contentLength===null){var Ke=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,Ke=!0;var Qe=Ne.total;this._internalAbort(),Qe!=null&Qe!==0&&(this._totalLength=Qe)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,Ke){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}var ct=Ne.loaded-this._lastTimeLoaded;this._lastTimeLoaded=Ne.loaded,this._speedSampler.addBytes(ct)}},{key:"_normalizeSpeed",value:function(Ne){var Ke=this._chunkSizeKBList,Qe=Ke.length-1,ct=0,Lt=0,rr=Qe;if(Ne<Ke[0])return Ke[0];for(;Lt<=rr;){if(ct=Lt+Math.floor((rr-Lt)/2),ct===Qe||Ne>=Ke[ct]&&Ne<Ke[ct+1])return Ke[ct];Ke[ct]<Ne?Lt=ct+1:rr=ct-1}}},{key:"_onLoad",value:function(Ne){if(this._status===u.kError)return;if(this._waitForTotalLength){this._waitForTotalLength=!1;return}this._lastTimeLoaded=0;var Ke=this._speedSampler.lastSecondKBps;if(Ke===0&&(this._zeroSpeedChunkCount++,this._zeroSpeedChunkCount>=3&&(Ke=this._speedSampler.currentKBps)),Ke!==0){var Qe=this._normalizeSpeed(Ke);this._currentSpeedNormalized!==Qe&&(this._currentSpeedNormalized=Qe,this._currentChunkSizeKB=Qe)}var ct=Ne.target.response,Lt=this._range.from+this._receivedLength;this._receivedLength+=ct.byteLength;var rr=!1;this._contentLength!=null&&this._receivedLength<this._contentLength?this._openSubRange():rr=!0,this._onDataArrival&&this._onDataArrival(ct,Lt,this._receivedLength),rr&&(this._status=u.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1))}},{key:"_onXhrError",value:function(Ne){this._status=u.kError;var Ke=0,Qe=null;if(this._contentLength&&this._receivedLength>0&&this._receivedLength<this._contentLength?(Ke=f.EARLY_EOF,Qe={code:-1,msg:"RangeLoader meet Early-Eof"}):(Ke=f.EXCEPTION,Qe={code:-1,msg:Ne.constructor.name+" "+Ne.type}),this._onError)this._onError(Ke,Qe);else throw new i(Qe.msg)}}],[{key:"isSupported",value:function(){try{var Ne=new XMLHttpRequest;return Ne.open("GET","https://example.com",!0),Ne.responseType="arraybuffer",Ne.responseType==="arraybuffer"}catch(Ke){return o.w("RangeLoader",Ke.message),!1}}}]),re}(A),P=M,V=function(Me){Object(a.a)(re,Me);var ke=Object(d.a)(re);function re(){var be;return Object(y.a)(this,re),be=ke.call(this,"websocket-loader"),be.TAG="WebSocketLoader",be._needStash=!0,be._ws=null,be._requestAbort=!1,be._receivedLength=0,be}return Object(m.a)(re,[{key:"destroy",value:function(){this._ws&&this.abort(),b(Object(v.a)(re.prototype),"destroy",this).call(this)}},{key:"open",value:function(Ne){try{var Ke=this._ws=new self.WebSocket(Ne.url);Ke.binaryType="arraybuffer",Ke.onopen=this._onWebSocketOpen.bind(this),Ke.onclose=this._onWebSocketClose.bind(this),Ke.onmessage=this._onWebSocketMessage.bind(this),Ke.onerror=this._onWebSocketError.bind(this),this._status=u.kConnecting}catch(ct){this._status=u.kError;var Qe={code:ct.code,msg:ct.message};if(this._onError)this._onError(f.EXCEPTION,Qe);else throw new i(Qe.msg)}}},{key:"abort",value:function(){var Ne=this._ws;Ne&&(Ne.readyState===0||Ne.readyState===1)&&(this._requestAbort=!0,Ne.close()),this._ws=null,this._status=u.kComplete}},{key:"_onWebSocketOpen",value:function(Ne){this._status=u.kBuffering}},{key:"_onWebSocketClose",value:function(Ne){if(this._requestAbort===!0){this._requestAbort=!1;return}this._status=u.kComplete,this._onComplete&&this._onComplete(0,this._receivedLength-1)}},{key:"_onWebSocketMessage",value:function(Ne){var Ke=this;if(Ne.data instanceof ArrayBuffer)this._dispatchArrayBuffer(Ne.data);else if(Ne.data instanceof Blob){var Qe=new FileReader;Qe.onload=function(){Ke._dispatchArrayBuffer(Qe.result)},Qe.readAsArrayBuffer(Ne.data)}else{this._status=u.kError;var ct={code:-1,msg:"Unsupported WebSocket message type: "+Ne.data.constructor.name};if(this._onError)this._onError(f.EXCEPTION,ct);else throw new i(ct.msg)}}},{key:"_dispatchArrayBuffer",value:function(Ne){var Ke=Ne,Qe=this._receivedLength;this._receivedLength+=Ke.byteLength,this._onDataArrival&&this._onDataArrival(Ke,Qe,this._receivedLength)}},{key:"_onWebSocketError",value:function(Ne){this._status=u.kError;var Ke={code:Ne.code,msg:Ne.message};if(this._onError)this._onError(f.EXCEPTION,Ke);else throw new i(Ke.msg)}}],[{key:"isSupported",value:function(){try{return typeof self.WebSocket!="undefined"}catch(Ne){return!1}}}]),re}(A),D=V,H=function(){function Me(ke){Object(y.a)(this,Me),this._zeroStart=ke||!1}return Object(m.a)(Me,[{key:"getConfig",value:function(re,be){var Ne={};if(be.from!==0||be.to!==-1){var Ke;be.to!==-1?Ke="bytes=".concat(be.from.toString(),"-").concat(be.to.toString()):Ke="bytes=".concat(be.from.toString(),"-"),Ne.Range=Ke}else this._zeroStart&&(Ne.Range="bytes=0-");return{url:re,headers:Ne}}},{key:"removeURLParameters",value:function(re){return re}}]),Me}(),U=H,z=function(){function Me(ke,re){Object(y.a)(this,Me),this._startName=ke,this._endName=re}return Object(m.a)(Me,[{key:"getConfig",value:function(re,be){var Ne=re;if(be.from!==0||be.to!==-1){var Ke=!0;Ne.indexOf("?")===-1&&(Ne+="?",Ke=!1),Ke&&(Ne+="&"),Ne+="".concat(this._startName,"=").concat(be.from.toString()),be.to!==-1&&(Ne+="&".concat(this._endName,"=").concat(be.to.toString()))}return{url:Ne,headers:{}}}},{key:"removeURLParameters",value:function(re){var be=re.split("?")[0],Ne=void 0,Ke=re.indexOf("?");Ke!==-1&&(Ne=re.substring(Ke+1));var Qe="";if(Ne!=null&&Ne.length>0)for(var ct=Ne.split("&"),Lt=0;Lt<ct.length;Lt++){var rr=ct[Lt].split("="),dr=Lt>0;rr[0]!==this._startName&&rr[0]!==this._endName&&(dr&&(Qe+="&"),Qe+=ct[Lt])}return Qe.length===0?be:be+"?"+Qe}}]),Me}(),K=z,G=function(){function Me(ke,re,be){Object(y.a)(this,Me),this.TAG="IOController",this._config=re,this._extraData=be,this._stashInitialSize=1024*384,re.stashInitialSize!=null&&re.stashInitialSize>0&&(this._stashInitialSize=re.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,re.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=ke,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(ke.url),this._refTotalLength=ke.filesize?ke.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new t,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(m.a)(Me,[{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(re){this._extraData=re}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(re){this._onDataArrival=re}},{key:"onSeeked",get:function(){return this._onSeeked},set:function(re){this._onSeeked=re}},{key:"onError",get:function(){return this._onError},set:function(re){this._onError=re}},{key:"onComplete",get:function(){return this._onComplete},set:function(re){this._onComplete=re}},{key:"onRedirect",get:function(){return this._onRedirect},set:function(re){this._onRedirect=re}},{key:"onRecoveredEarlyEof",get:function(){return this._onRecoveredEarlyEof},set:function(re){this._onRecoveredEarlyEof=re}},{key:"currentURL",get:function(){return this._dataSource.url}},{key:"hasRedirect",get:function(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}},{key:"currentRedirectedURL",get:function(){return this._redirectedURL||this._dataSource.redirectedURL}},{key:"currentSpeed",get:function(){return this._loaderClass===P?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}},{key:"loaderType",get:function(){return this._loader.type}},{key:"_selectSeekHandler",value:function(){var re=this._config;if(re.seekType==="range")this._seekHandler=new U(this._config.rangeLoadZeroStart);else if(re.seekType==="param"){var be=re.seekParamStart||"bstart",Ne=re.seekParamEnd||"bend";this._seekHandler=new K(be,Ne)}else if(re.seekType==="custom"){if(typeof re.customSeekHandler!="function")throw new e("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new re.customSeekHandler}else throw new e("Invalid seekType in config: ".concat(re.seekType))}},{key:"_selectLoader",value:function(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=D;else if(E.isSupported())this._loaderClass=E;else if(O.isSupported())this._loaderClass=O;else if(P.isSupported())this._loaderClass=P;else throw new i("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(re){this._currentRange={from:0,to:-1},re&&(this._currentRange.from=re),this._speedSampler.reset(),re||(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 re=this._resumeFrom;this._resumeFrom=0,this._internalSeek(re,!0)}}},{key:"seek",value:function(re){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(re,!0)}},{key:"_internalSeek",value:function(re,be){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(be),this._loader.destroy(),this._loader=null;var Ne={from:re,to:-1};this._currentRange={from:Ne.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,Ne),this._onSeeked&&this._onSeeked()}},{key:"updateUrl",value:function(re){if(!re||typeof re!="string"||re.length===0)throw new e("Url must be a non-empty string!");this._dataSource.url=re}},{key:"_expandBuffer",value:function(re){for(var be=this._stashSize;be+1024*1024*1<re;)be*=2;if(be+=1024*1024*1,be===this._bufferSize)return;var Ne=new ArrayBuffer(be);if(this._stashUsed>0){var Ke=new Uint8Array(this._stashBuffer,0,this._stashUsed),Qe=new Uint8Array(Ne,0,be);Qe.set(Ke,0)}this._stashBuffer=Ne,this._bufferSize=be}},{key:"_normalizeSpeed",value:function(re){var be=this._speedNormalizeList,Ne=be.length-1,Ke=0,Qe=0,ct=Ne;if(re<be[0])return be[0];for(;Qe<=ct;){if(Ke=Qe+Math.floor((ct-Qe)/2),Ke===Ne||re>=be[Ke]&&re<be[Ke+1])return be[Ke];be[Ke]<re?Qe=Ke+1:ct=Ke-1}}},{key:"_adjustStashSize",value:function(re){var be=0;this._config.isLive||re<512?be=re:re>=512&&re<=1024?be=Math.floor(re*1.5):be=re*2,be>8192&&(be=8192);var Ne=be*1024+1024*1024*1;this._bufferSize<Ne&&this._expandBuffer(Ne),this._stashSize=be*1024}},{key:"_dispatchChunks",value:function(re,be){return this._currentRange.to=be+re.byteLength-1,this._onDataArrival(re,be)}},{key:"_onURLRedirect",value:function(re){this._redirectedURL=re,this._onRedirect&&this._onRedirect(re)}},{key:"_onContentLengthKnown",value:function(re){re&&this._fullRequestFlag&&(this._totalLength=re,this._fullRequestFlag=!1)}},{key:"_onLoaderChunkArrival",value:function(re,be,Ne){if(!this._onDataArrival)throw new l("IOController: No existing consumer (onDataArrival) callback!");if(this._paused)return;this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,this._onRecoveredEarlyEof&&this._onRecoveredEarlyEof()),this._speedSampler.addBytes(re.byteLength);var Ke=this._speedSampler.lastSecondKBps;if(Ke!==0){var Qe=this._normalizeSpeed(Ke);this._speedNormalized!==Qe&&(this._speedNormalized=Qe,this._adjustStashSize(Qe))}if(this._enableStash)if(this._stashUsed===0&&this._stashByteStart===0&&(this._stashByteStart=be),this._stashUsed+re.byteLength<=this._stashSize){var Ct=new Uint8Array(this._stashBuffer,0,this._stashSize);Ct.set(new Uint8Array(re),this._stashUsed),this._stashUsed+=re.byteLength}else{var Rt=new Uint8Array(this._stashBuffer,0,this._bufferSize);if(this._stashUsed>0){var pt=this._stashBuffer.slice(0,this._stashUsed),ot=this._dispatchChunks(pt,this._stashByteStart);if(ot<pt.byteLength){if(ot>0){var gt=new Uint8Array(pt,ot);Rt.set(gt,0),this._stashUsed=gt.byteLength,this._stashByteStart+=ot}}else this._stashUsed=0,this._stashByteStart+=ot;this._stashUsed+re.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+re.byteLength),Rt=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Rt.set(new Uint8Array(re),this._stashUsed),this._stashUsed+=re.byteLength}else{var Ye=this._dispatchChunks(re,be);if(Ye<re.byteLength){var $e=re.byteLength-Ye;$e>this._bufferSize&&(this._expandBuffer($e),Rt=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Rt.set(new Uint8Array(re,Ye),0),this._stashUsed+=$e,this._stashByteStart=be+Ye}}}else if(this._stashUsed===0){var ct=this._dispatchChunks(re,be);if(ct<re.byteLength){var Lt=re.byteLength-ct;Lt>this._bufferSize&&this._expandBuffer(Lt);var rr=new Uint8Array(this._stashBuffer,0,this._bufferSize);rr.set(new Uint8Array(re,ct),0),this._stashUsed+=Lt,this._stashByteStart=be+ct}}else{this._stashUsed+re.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+re.byteLength);var dr=new Uint8Array(this._stashBuffer,0,this._bufferSize);dr.set(new Uint8Array(re),this._stashUsed),this._stashUsed+=re.byteLength;var Pt=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(Pt<this._stashUsed&&Pt>0){var jt=new Uint8Array(this._stashBuffer,Pt);dr.set(jt,0)}this._stashUsed-=Pt,this._stashByteStart+=Pt}}},{key:"_flushStashBuffer",value:function(re){if(this._stashUsed>0){var be=this._stashBuffer.slice(0,this._stashUsed),Ne=this._dispatchChunks(be,this._stashByteStart),Ke=be.byteLength-Ne;if(Ne<be.byteLength)if(re)o.w(this.TAG,"".concat(Ke," bytes unconsumed data remain when flush buffer, dropped"));else{if(Ne>0){var Qe=new Uint8Array(this._stashBuffer,0,this._bufferSize),ct=new Uint8Array(be,Ne);Qe.set(ct,0),this._stashUsed=ct.byteLength,this._stashByteStart+=Ne}return 0}return this._stashUsed=0,this._stashByteStart=0,Ke}return 0}},{key:"_onLoaderComplete",value:function(re,be){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}},{key:"_onLoaderError",value:function(re,be){o.e(this.TAG,"Loader error, code = ".concat(be.code,", msg = ").concat(be.msg)),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,re=f.UNRECOVERABLE_EARLY_EOF);switch(re){case f.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){var Ne=this._currentRange.to+1;Ne<this._totalLength&&(o.w(this.TAG,"Connection lost, trying reconnect..."),this._isEarlyEofReconnecting=!0,this._internalSeek(Ne,!1));return}re=f.UNRECOVERABLE_EARLY_EOF;break}case f.UNRECOVERABLE_EARLY_EOF:case f.CONNECTING_TIMEOUT:case f.HTTP_STATUS_CODE_INVALID:case f.EXCEPTION:break}if(this._onError)this._onError(re,be);else throw new i("IOException: "+be.msg)}}]),Me}(),X=G,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 ee(){return Object.assign({},Z)}var Se=function(){function Me(){Object(y.a)(this,Me)}return Object(m.a)(Me,null,[{key:"supportMSEH264Playback",value:function(){return window.MediaSource&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')}},{key:"supportNetworkStreamIO",value:function(){var re=new X({},ee()),be=re.loaderType;return re.destroy(),be=="fetch-stream-loader"||be=="xhr-moz-chunked-loader"}},{key:"getNetworkLoaderTypeName",value:function(){var re=new X({},ee()),be=re.loaderType;return re.destroy(),be}},{key:"supportNativeMediaPlayback",value:function(re){Me.videoElement==null&&(Me.videoElement=window.document.createElement("video"));var be=Me.videoElement.canPlayType(re);return be==="probably"||be=="maybe"}},{key:"getFeatureList",value:function(){var re={mseFlvPlayback:!1,mseLiveFlvPlayback:!1,networkStreamIO:!1,networkLoaderName:"",nativeMP4H264Playback:!1,nativeWebmVP8Playback:!1,nativeWebmVP9Playback:!1};return re.mseFlvPlayback=Me.supportMSEH264Playback(),re.networkStreamIO=Me.supportNetworkStreamIO(),re.networkLoaderName=Me.getNetworkLoaderTypeName(),re.mseLiveFlvPlayback=re.mseFlvPlayback&&re.networkStreamIO,re.nativeMP4H264Playback=Me.supportNativeMediaPlayback('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),re.nativeWebmVP8Playback=Me.supportNativeMediaPlayback('video/webm; codecs="vp8.0, vorbis"'),re.nativeWebmVP9Playback=Me.supportNativeMediaPlayback('video/webm; codecs="vp9"'),re}}]),Me}(),$=Se,pe={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"},xe=pe,_e=function(){function Me(){Object(y.a)(this,Me)}return Object(m.a)(Me,null,[{key:"forceGlobalTag",get:function(){return o.FORCE_GLOBAL_TAG},set:function(re){o.FORCE_GLOBAL_TAG=re,Me._notifyChange()}},{key:"globalTag",get:function(){return o.GLOBAL_TAG},set:function(re){o.GLOBAL_TAG=re,Me._notifyChange()}},{key:"enableAll",get:function(){return o.ENABLE_VERBOSE&&o.ENABLE_DEBUG&&o.ENABLE_INFO&&o.ENABLE_WARN&&o.ENABLE_ERROR},set:function(re){o.ENABLE_VERBOSE=re,o.ENABLE_DEBUG=re,o.ENABLE_INFO=re,o.ENABLE_WARN=re,o.ENABLE_ERROR=re,Me._notifyChange()}},{key:"enableDebug",get:function(){return o.ENABLE_DEBUG},set:function(re){o.ENABLE_DEBUG=re,Me._notifyChange()}},{key:"enableVerbose",get:function(){return o.ENABLE_VERBOSE},set:function(re){o.ENABLE_VERBOSE=re,Me._notifyChange()}},{key:"enableInfo",get:function(){return o.ENABLE_INFO},set:function(re){o.ENABLE_INFO=re,Me._notifyChange()}},{key:"enableWarn",get:function(){return o.ENABLE_WARN},set:function(re){o.ENABLE_WARN=re,Me._notifyChange()}},{key:"enableError",get:function(){return o.ENABLE_ERROR},set:function(re){o.ENABLE_ERROR=re,Me._notifyChange()}},{key:"getConfig",value:function(){return{globalTag:o.GLOBAL_TAG,forceGlobalTag:o.FORCE_GLOBAL_TAG,enableVerbose:o.ENABLE_VERBOSE,enableDebug:o.ENABLE_DEBUG,enableInfo:o.ENABLE_INFO,enableWarn:o.ENABLE_WARN,enableError:o.ENABLE_ERROR,enableCallback:o.ENABLE_CALLBACK}}},{key:"applyConfig",value:function(re){o.GLOBAL_TAG=re.globalTag,o.FORCE_GLOBAL_TAG=re.forceGlobalTag,o.ENABLE_VERBOSE=re.enableVerbose,o.ENABLE_DEBUG=re.enableDebug,o.ENABLE_INFO=re.enableInfo,o.ENABLE_WARN=re.enableWarn,o.ENABLE_ERROR=re.enableError,o.ENABLE_CALLBACK=re.enableCallback}},{key:"_notifyChange",value:function(){var re=Me.emitter;if(re.listenerCount("change")>0){var be=Me.getConfig();re.emit("change",be)}}},{key:"registerListener",value:function(re){Me.emitter.addListener("change",re)}},{key:"removeListener",value:function(re){Me.emitter.removeListener("change",re)}},{key:"addLogListener",value:function(re){o.emitter.addListener("log",re),o.emitter.listenerCount("log")>0&&(o.ENABLE_CALLBACK=!0,Me._notifyChange())}},{key:"removeLogListener",value:function(re){o.emitter.removeListener("log",re),o.emitter.listenerCount("log")===0&&(o.ENABLE_CALLBACK=!1,Me._notifyChange())}}]),Me}();_e.emitter=new h.a;var Ue=_e,ye=function(){function Me(){Object(y.a)(this,Me),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(m.a)(Me,[{key:"isComplete",value:function(){var re=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,be=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&&re&&be}},{key:"isSeekable",value:function(){return this.hasKeyframesIndex===!0}},{key:"getNearestKeyframe",value:function(re){if(this.keyframesIndex==null)return null;var be=this.keyframesIndex,Ne=this._search(be.times,re);return{index:Ne,milliseconds:be.times[Ne],fileposition:be.filepositions[Ne]}}},{key:"_search",value:function(re,be){var Ne=0,Ke=re.length-1,Qe=0,ct=0,Lt=Ke;for(be<re[0]&&(Ne=0,ct=Lt+1);ct<=Lt;)if(Qe=ct+Math.floor((Lt-ct)/2),Qe===Ke||be>=re[Qe]&&be<re[Qe+1]){Ne=Qe;break}else re[Qe]<be?ct=Qe+1:Lt=Qe-1;return Ne}}]),Me}(),Be=ye;function Q(Me,ke,re){var be=Me;if(ke+re<be.length){for(;re--;)if((be[++ke]&192)!==128)return!1;return!0}else return!1}function ie(Me){for(var ke=[],re=Me,be=0,Ne=Me.length;be<Ne;){if(re[be]<128){ke.push(String.fromCharCode(re[be])),++be;continue}else if(!(re[be]<192)){if(re[be]<224){if(Q(re,be,1)){var Ke=(re[be]&31)<<6|re[be+1]&63;if(Ke>=128){ke.push(String.fromCharCode(Ke&65535)),be+=2;continue}}}else if(re[be]<240){if(Q(re,be,2)){var Qe=(re[be]&15)<<12|(re[be+1]&63)<<6|re[be+2]&63;if(Qe>=2048&&(Qe&63488)!==55296){ke.push(String.fromCharCode(Qe&65535)),be+=3;continue}}}else if(re[be]<248&&Q(re,be,3)){var ct=(re[be]&7)<<18|(re[be+1]&63)<<12|(re[be+2]&63)<<6|re[be+3]&63;if(ct>65536&&ct<1114112){ct-=65536,ke.push(String.fromCharCode(ct>>>10|55296)),ke.push(String.fromCharCode(ct&1023|56320)),be+=4;continue}}}ke.push(String.fromCharCode(65533)),++be}return ke.join("")}var Ve=ie,J=function(){var Me=new ArrayBuffer(2);return new DataView(Me).setInt16(0,256,!0),new Int16Array(Me)[0]===256}(),W=function(){function Me(){Object(y.a)(this,Me)}return Object(m.a)(Me,null,[{key:"parseScriptData",value:function(re,be,Ne){var Ke={};try{var Qe=Me.parseValue(re,be,Ne),ct=Me.parseValue(re,be+Qe.size,Ne-Qe.size);Ke[Qe.data]=ct.data}catch(Lt){o.e("AMF",Lt.toString())}return Ke}},{key:"parseObject",value:function(re,be,Ne){if(Ne<3)throw new l("Data not enough when parse ScriptDataObject");var Ke=Me.parseString(re,be,Ne),Qe=Me.parseValue(re,be+Ke.size,Ne-Ke.size),ct=Qe.objectEnd;return{data:{name:Ke.data,value:Qe.data},size:Ke.size+Qe.size,objectEnd:ct}}},{key:"parseVariable",value:function(re,be,Ne){return Me.parseObject(re,be,Ne)}},{key:"parseString",value:function(re,be,Ne){if(Ne<2)throw new l("Data not enough when parse String");var Ke=new DataView(re,be,Ne),Qe=Ke.getUint16(0,!J),ct;return Qe>0?ct=Ve(new Uint8Array(re,be+2,Qe)):ct="",{data:ct,size:2+Qe}}},{key:"parseLongString",value:function(re,be,Ne){if(Ne<4)throw new l("Data not enough when parse LongString");var Ke=new DataView(re,be,Ne),Qe=Ke.getUint32(0,!J),ct;return Qe>0?ct=Ve(new Uint8Array(re,be+4,Qe)):ct="",{data:ct,size:4+Qe}}},{key:"parseDate",value:function(re,be,Ne){if(Ne<10)throw new l("Data size invalid when parse Date");var Ke=new DataView(re,be,Ne),Qe=Ke.getFloat64(0,!J),ct=Ke.getInt16(8,!J);return Qe+=ct*60*1e3,{data:new Date(Qe),size:8+2}}},{key:"parseValue",value:function(re,be,Ne){if(Ne<1)throw new l("Data not enough when parse Value");var Ke=new DataView(re,be,Ne),Qe=1,ct=Ke.getUint8(0),Lt,rr=!1;try{switch(ct){case 0:Lt=Ke.getFloat64(1,!J),Qe+=8;break;case 1:{var dr=Ke.getUint8(1);Lt=!!dr,Qe+=1;break}case 2:{var Pt=Me.parseString(re,be+1,Ne-1);Lt=Pt.data,Qe+=Pt.size;break}case 3:{Lt={};var jt=0;for((Ke.getUint32(Ne-4,!J)&16777215)===9&&(jt=3);Qe<Ne-4;){var Ct=Me.parseObject(re,be+Qe,Ne-Qe-jt);if(Ct.objectEnd)break;Lt[Ct.data.name]=Ct.data.value,Qe+=Ct.size}if(Qe<=Ne-3){var Rt=Ke.getUint32(Qe-1,!J)&16777215;Rt===9&&(Qe+=3)}break}case 8:{Lt={},Qe+=4;var pt=0;for((Ke.getUint32(Ne-4,!J)&16777215)===9&&(pt=3);Qe<Ne-8;){var ot=Me.parseVariable(re,be+Qe,Ne-Qe-pt);if(ot.objectEnd)break;Lt[ot.data.name]=ot.data.value,Qe+=ot.size}if(Qe<=Ne-3){var gt=Ke.getUint32(Qe-1,!J)&16777215;gt===9&&(Qe+=3)}break}case 9:Lt=void 0,Qe=1,rr=!0;break;case 10:{Lt=[];var Ye=Ke.getUint32(1,!J);Qe+=4;for(var $e=0;$e<Ye;$e++){var Je=Me.parseValue(re,be+Qe,Ne-Qe);Lt.push(Je.data),Qe+=Je.size}break}case 11:{var it=Me.parseDate(re,be+1,Ne-1);Lt=it.data,Qe+=it.size;break}case 12:{var ft=Me.parseString(re,be+1,Ne-1);Lt=ft.data,Qe+=ft.size;break}default:Qe=Ne,o.w("AMF","Unsupported AMF value type "+ct)}}catch(ht){o.e("AMF",ht.toString())}return{data:Lt,size:Qe,objectEnd:rr}}}]),Me}(),j=W,Y=function(){function Me(ke){Object(y.a)(this,Me),this.TAG="ExpGolomb",this._buffer=ke,this._buffer_index=0,this._total_bytes=ke.byteLength,this._total_bits=ke.byteLength*8,this._current_word=0,this._current_word_bits_left=0}return Object(m.a)(Me,[{key:"destroy",value:function(){this._buffer=null}},{key:"_fillCurrentWord",value:function(){var re=this._total_bytes-this._buffer_index;if(re<=0)throw new l("ExpGolomb: _fillCurrentWord() but no bytes available");var be=Math.min(4,re),Ne=new Uint8Array(4);Ne.set(this._buffer.subarray(this._buffer_index,this._buffer_index+be)),this._current_word=new DataView(Ne.buffer).getUint32(0,!1),this._buffer_index+=be,this._current_word_bits_left=be*8}},{key:"readBits",value:function(re){if(re>32)throw new e("ExpGolomb: readBits() bits exceeded max 32bits!");if(re<=this._current_word_bits_left){var be=this._current_word>>>32-re;return this._current_word<<=re,this._current_word_bits_left-=re,be}var Ne=this._current_word_bits_left?this._current_word:0;Ne=Ne>>>32-this._current_word_bits_left;var Ke=re-this._current_word_bits_left;this._fillCurrentWord();var Qe=Math.min(Ke,this._current_word_bits_left),ct=this._current_word>>>32-Qe;return this._current_word<<=Qe,this._current_word_bits_left-=Qe,Ne=Ne<<Qe|ct,Ne}},{key:"readBool",value:function(){return this.readBits(1)===1}},{key:"readByte",value:function(){return this.readBits(8)}},{key:"_skipLeadingZero",value:function(){var re;for(re=0;re<this._current_word_bits_left;re++)if((this._current_word&2147483648>>>re)!==0)return this._current_word<<=re,this._current_word_bits_left-=re,re;return this._fillCurrentWord(),re+this._skipLeadingZero()}},{key:"readUEG",value:function(){var re=this._skipLeadingZero();return this.readBits(re+1)-1}},{key:"readSEG",value:function(){var re=this.readUEG();return re&1?re+1>>>1:-1*(re>>>1)}}]),Me}(),me=Y,ae=function(){function Me(){Object(y.a)(this,Me)}return Object(m.a)(Me,null,[{key:"_ebsp2rbsp",value:function(re){for(var be=re,Ne=be.byteLength,Ke=new Uint8Array(Ne),Qe=0,ct=0;ct<Ne;ct++){if(ct>=2&&(be[ct]===3&&be[ct-1]===0&&be[ct-2]===0))continue;Ke[Qe]=be[ct],Qe++}return new Uint8Array(Ke.buffer,0,Qe)}},{key:"parseSPS",value:function(re){var be=Me._ebsp2rbsp(re),Ne=new me(be);Ne.readByte();var Ke=Ne.readByte();Ne.readByte();var Qe=Ne.readByte();Ne.readUEG();var ct=Me.getProfileString(Ke),Lt=Me.getLevelString(Qe),rr=1,dr=420,Pt=[0,420,422,444],jt=8;if((Ke===100||Ke===110||Ke===122||Ke===244||Ke===44||Ke===83||Ke===86||Ke===118||Ke===128||Ke===138||Ke===144)&&(rr=Ne.readUEG(),rr===3&&Ne.readBits(1),rr<=3&&(dr=Pt[rr]),jt=Ne.readUEG()+8,Ne.readUEG(),Ne.readBits(1),Ne.readBool()))for(var Ct=rr!==3?8:12,Rt=0;Rt<Ct;Rt++)Ne.readBool()&&(Rt<6?Me._skipScalingList(Ne,16):Me._skipScalingList(Ne,64));Ne.readUEG();var pt=Ne.readUEG();if(pt===0)Ne.readUEG();else if(pt===1){Ne.readBits(1),Ne.readSEG(),Ne.readSEG();for(var ot=Ne.readUEG(),gt=0;gt<ot;gt++)Ne.readSEG()}var Ye=Ne.readUEG();Ne.readBits(1);var $e=Ne.readUEG(),Je=Ne.readUEG(),it=Ne.readBits(1);it===0&&Ne.readBits(1),Ne.readBits(1);var ft=0,ht=0,st=0,kt=0,Tt=Ne.readBool();Tt&&(ft=Ne.readUEG(),ht=Ne.readUEG(),st=Ne.readUEG(),kt=Ne.readUEG());var ar=1,Qt=1,Er=0,Ir=!0,jr=0,zr=0,hn=Ne.readBool();if(hn){if(Ne.readBool()){var gn=Ne.readByte(),Br=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],ln=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];gn>0&&gn<16?(ar=Br[gn-1],Qt=ln[gn-1]):gn===255&&(ar=Ne.readByte()<<8|Ne.readByte(),Qt=Ne.readByte()<<8|Ne.readByte())}if(Ne.readBool()&&Ne.readBool(),Ne.readBool()&&(Ne.readBits(4),Ne.readBool()&&Ne.readBits(24)),Ne.readBool()&&(Ne.readUEG(),Ne.readUEG()),Ne.readBool()){var Xr=Ne.readBits(32),cr=Ne.readBits(32);Ir=Ne.readBool(),jr=cr,zr=Xr*2,Er=jr/zr}}var wr=1;(ar!==1||Qt!==1)&&(wr=ar/Qt);var hr=0,Ar=0;if(rr===0)hr=1,Ar=2-it;else{var kr=rr===3?1:2,nn=rr===1?2:1;hr=kr,Ar=nn*(2-it)}var wn=($e+1)*16,oi=(2-it)*((Je+1)*16);wn-=(ft+ht)*hr,oi-=(st+kt)*Ar;var tn=Math.ceil(wn*wr);return Ne.destroy(),Ne=null,{profile_string:ct,level_string:Lt,bit_depth:jt,ref_frames:Ye,chroma_format:dr,chroma_format_string:Me.getChromaFormatString(dr),frame_rate:{fixed:Ir,fps:Er,fps_den:zr,fps_num:jr},sar_ratio:{width:ar,height:Qt},codec_size:{width:wn,height:oi},present_size:{width:tn,height:oi}}}},{key:"_skipScalingList",value:function(re,be){for(var Ne=8,Ke=8,Qe=0,ct=0;ct<be;ct++)Ke!==0&&(Qe=re.readSEG(),Ke=(Ne+Qe+256)%256),Ne=Ke===0?Ne:Ke}},{key:"getProfileString",value:function(re){switch(re){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(re){return(re/10).toFixed(1)}},{key:"getChromaFormatString",value:function(re){switch(re){case 420:return"4:2:0";case 422:return"4:2:2";case 444:return"4:4:4";default:return"Unknown"}}}]),Me}(),Le=ae,Ee={OK:"OK",FORMAT_ERROR:"FormatError",FORMAT_UNSUPPORTED:"FormatUnsupported",CODEC_UNSUPPORTED:"CodecUnsupported"},ne=Ee;function ge(Me){return Me>>>8&255|(Me&255)<<8}function Ie(Me){return(Me&4278190080)>>>24|(Me&16711680)>>>8|(Me&65280)<<8|(Me&255)<<24}function Ge(Me,ke){return Me[ke]<<24|Me[ke+1]<<16|Me[ke+2]<<8|Me[ke+3]}var ut=function(){function Me(ke,re){Object(y.a)(this,Me),this.TAG="FLVDemuxer",this._config=re,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=ke.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=ke.hasAudioTrack,this._hasVideo=ke.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new Be,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 be=new ArrayBuffer(2);return new DataView(be).setInt16(0,256,!0),new Int16Array(be)[0]===256}()}return Object(m.a)(Me,[{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(re){return re.onDataArrival=this.parseChunks.bind(this),this}},{key:"onTrackMetadata",get:function(){return this._onTrackMetadata},set:function(re){this._onTrackMetadata=re}},{key:"onMediaInfo",get:function(){return this._onMediaInfo},set:function(re){this._onMediaInfo=re}},{key:"onMetaDataArrived",get:function(){return this._onMetaDataArrived},set:function(re){this._onMetaDataArrived=re}},{key:"onScriptDataArrived",get:function(){return this._onScriptDataArrived},set:function(re){this._onScriptDataArrived=re}},{key:"onError",get:function(){return this._onError},set:function(re){this._onError=re}},{key:"onDataAvailable",get:function(){return this._onDataAvailable},set:function(re){this._onDataAvailable=re}},{key:"timestampBase",get:function(){return this._timestampBase},set:function(re){this._timestampBase=re}},{key:"overridedDuration",get:function(){return this._duration},set:function(re){this._durationOverrided=!0,this._duration=re,this._mediaInfo.duration=re}},{key:"overridedHasAudio",set:function(re){this._hasAudioFlagOverrided=!0,this._hasAudio=re,this._mediaInfo.hasAudio=re}},{key:"overridedHasVideo",set:function(re){this._hasVideoFlagOverrided=!0,this._hasVideo=re,this._mediaInfo.hasVideo=re}},{key:"resetMediaInfo",value:function(){this._mediaInfo=new Be}},{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(re,be){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new l("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");var Ne=0,Ke=this._littleEndian;if(be===0)if(re.byteLength>13){var Qe=Me.probe(re);Ne=Qe.dataOffset}else return 0;if(this._firstParse){this._firstParse=!1,be+Ne!==this._dataOffset&&o.w(this.TAG,"First time parsing but chunk byteStart invalid!");var ct=new DataView(re,Ne),Lt=ct.getUint32(0,!Ke);Lt!==0&&o.w(this.TAG,"PrevTagSize0 !== 0 !!!"),Ne+=4}for(;Ne<re.byteLength;){this._dispatch=!0;var rr=new DataView(re,Ne);if(Ne+11+4>re.byteLength)break;var dr=rr.getUint8(0),Pt=rr.getUint32(0,!Ke)&16777215;if(Ne+11+Pt+4>re.byteLength)break;if(dr!==8&&dr!==9&&dr!==18){o.w(this.TAG,"Unsupported tag type ".concat(dr,", skipped")),Ne+=11+Pt+4;continue}var jt=rr.getUint8(4),Ct=rr.getUint8(5),Rt=rr.getUint8(6),pt=rr.getUint8(7),ot=Rt|Ct<<8|jt<<16|pt<<24,gt=rr.getUint32(7,!Ke)&16777215;gt!==0&&o.w(this.TAG,"Meet tag which has StreamID != 0!");var Ye=Ne+11;switch(dr){case 8:this._parseAudioData(re,Ye,Pt,ot);break;case 9:this._parseVideoData(re,Ye,Pt,ot,be+Ne);break;case 18:this._parseScriptData(re,Ye,Pt);break}var $e=rr.getUint32(11+Pt,!Ke);$e!==11+Pt&&o.w(this.TAG,"Invalid PrevTagSize ".concat($e)),Ne+=11+Pt+4}return this._isInitialMetadataDispatched()&&(this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack)),Ne}},{key:"_parseScriptData",value:function(re,be,Ne){var Ke=j.parseScriptData(re,be,Ne);if(Ke.hasOwnProperty("onMetaData")){if(Ke.onMetaData==null||typeof Ke.onMetaData!="object"){o.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&o.w(this.TAG,"Found another onMetaData tag!"),this._metadata=Ke;var Qe=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},Qe)),typeof Qe.hasAudio=="boolean"&&(this._hasAudioFlagOverrided===!1&&(this._hasAudio=Qe.hasAudio,this._mediaInfo.hasAudio=this._hasAudio)),typeof Qe.hasVideo=="boolean"&&(this._hasVideoFlagOverrided===!1&&(this._hasVideo=Qe.hasVideo,this._mediaInfo.hasVideo=this._hasVideo)),typeof Qe.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=Qe.audiodatarate),typeof Qe.videodatarate=="number"&&(this._mediaInfo.videoDataRate=Qe.videodatarate),typeof Qe.width=="number"&&(this._mediaInfo.width=Qe.width),typeof Qe.height=="number"&&(this._mediaInfo.height=Qe.height),typeof Qe.duration=="number"){if(!this._durationOverrided){var ct=Math.floor(Qe.duration*this._timescale);this._duration=ct,this._mediaInfo.duration=ct}}else this._mediaInfo.duration=0;if(typeof Qe.framerate=="number"){var Lt=Math.floor(Qe.framerate*1e3);if(Lt>0){var rr=Lt/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=rr,this._referenceFrameRate.fps_num=Lt,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=rr}}if(typeof Qe.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;var dr=Qe.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(dr),Qe.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=Qe,o.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(Ke).length>0&&(this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},Ke)))}},{key:"_parseKeyframesIndex",value:function(re){for(var be=[],Ne=[],Ke=1;Ke<re.times.length;Ke++){var Qe=this._timestampBase+Math.floor(re.times[Ke]*1e3);be.push(Qe),Ne.push(re.filepositions[Ke])}return{times:be,filepositions:Ne}}},{key:"_parseAudioData",value:function(re,be,Ne,Ke){if(Ne<=1){o.w(this.TAG,"Flv: Invalid audio packet, missing SoundData payload!");return}if(this._hasAudioFlagOverrided===!0&&this._hasAudio===!1)return;var Qe=this._littleEndian,ct=new DataView(re,be,Ne),Lt=ct.getUint8(0),rr=Lt>>>4;if(rr!==2&&rr!==10){this._onError(ne.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+rr);return}var dr=0,Pt=(Lt&12)>>>2;if(Pt>=0&&Pt<=4)dr=this._flvSoundRateTable[Pt];else{this._onError(ne.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+Pt);return}var jt=(Lt&2)>>>1,Ct=Lt&1,Rt=this._audioMetadata,pt=this._audioTrack;if(Rt||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),Rt=this._audioMetadata={},Rt.type="audio",Rt.id=pt.id,Rt.timescale=this._timescale,Rt.duration=this._duration,Rt.audioSampleRate=dr,Rt.channelCount=Ct===0?1:2),rr===10){var ot=this._parseAACAudioData(re,be+1,Ne-1);if(ot==null)return;if(ot.packetType===0){Rt.config&&o.w(this.TAG,"Found another AudioSpecificConfig!");var gt=ot.data;Rt.audioSampleRate=gt.samplingRate,Rt.channelCount=gt.channelCount,Rt.codec=gt.codec,Rt.originalCodec=gt.originalCodec,Rt.config=gt.config,Rt.refSampleDuration=1024/Rt.audioSampleRate*Rt.timescale,o.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",Rt);var Ye=this._mediaInfo;Ye.audioCodec=Rt.originalCodec,Ye.audioSampleRate=Rt.audioSampleRate,Ye.audioChannelCount=Rt.channelCount,Ye.hasVideo?Ye.videoCodec!=null&&(Ye.mimeType='video/x-flv; codecs="'+Ye.videoCodec+","+Ye.audioCodec+'"'):Ye.mimeType='video/x-flv; codecs="'+Ye.audioCodec+'"',Ye.isComplete()&&this._onMediaInfo(Ye)}else if(ot.packetType===1){var $e=this._timestampBase+Ke,Je={unit:ot.data,length:ot.data.byteLength,dts:$e,pts:$e};pt.samples.push(Je),pt.length+=ot.data.length}else o.e(this.TAG,"Flv: Unsupported AAC data type ".concat(ot.packetType))}else if(rr===2){if(!Rt.codec){var it=this._parseMP3AudioData(re,be+1,Ne-1,!0);if(it==null)return;Rt.audioSampleRate=it.samplingRate,Rt.channelCount=it.channelCount,Rt.codec=it.codec,Rt.originalCodec=it.originalCodec,Rt.refSampleDuration=1152/Rt.audioSampleRate*Rt.timescale,o.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",Rt);var ft=this._mediaInfo;ft.audioCodec=Rt.codec,ft.audioSampleRate=Rt.audioSampleRate,ft.audioChannelCount=Rt.channelCount,ft.audioDataRate=it.bitRate,ft.hasVideo?ft.videoCodec!=null&&(ft.mimeType='video/x-flv; codecs="'+ft.videoCodec+","+ft.audioCodec+'"'):ft.mimeType='video/x-flv; codecs="'+ft.audioCodec+'"',ft.isComplete()&&this._onMediaInfo(ft)}var ht=this._parseMP3AudioData(re,be+1,Ne-1,!1);if(ht==null)return;var st=this._timestampBase+Ke,kt={unit:ht,length:ht.byteLength,dts:st,pts:st};pt.samples.push(kt),pt.length+=ht.length}}},{key:"_parseAACAudioData",value:function(re,be,Ne){if(Ne<=1){o.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}var Ke={},Qe=new Uint8Array(re,be,Ne);return Ke.packetType=Qe[0],Qe[0]===0?Ke.data=this._parseAACAudioSpecificConfig(re,be+1,Ne-1):Ke.data=Qe.subarray(1),Ke}},{key:"_parseAACAudioSpecificConfig",value:function(re,be,Ne){var Ke=new Uint8Array(re,be,Ne),Qe=null,ct=0,Lt=0,rr=null,dr=0,Pt=null;if(ct=Lt=Ke[0]>>>3,dr=(Ke[0]&7)<<1|Ke[1]>>>7,dr<0||dr>=this._mpegSamplingRates.length){this._onError(ne.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}var jt=this._mpegSamplingRates[dr],Ct=(Ke[1]&120)>>>3;if(Ct<0||Ct>=8){this._onError(ne.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}ct===5&&(Pt=(Ke[1]&7)<<1|Ke[2]>>>7,rr=(Ke[2]&124)>>>2);var Rt=self.navigator.userAgent.toLowerCase();return Rt.indexOf("firefox")!==-1?dr>=6?(ct=5,Qe=new Array(4),Pt=dr-3):(ct=2,Qe=new Array(2),Pt=dr):Rt.indexOf("android")!==-1?(ct=2,Qe=new Array(2),Pt=dr):(ct=5,Pt=dr,Qe=new Array(4),dr>=6?Pt=dr-3:Ct===1&&(ct=2,Qe=new Array(2),Pt=dr)),Qe[0]=ct<<3,Qe[0]|=(dr&15)>>>1,Qe[1]=(dr&15)<<7,Qe[1]|=(Ct&15)<<3,ct===5&&(Qe[1]|=(Pt&15)>>>1,Qe[2]=(Pt&1)<<7,Qe[2]|=2<<2,Qe[3]=0),{config:Qe,samplingRate:jt,channelCount:Ct,codec:"mp4a.40."+ct,originalCodec:"mp4a.40."+Lt}}},{key:"_parseMP3AudioData",value:function(re,be,Ne,Ke){if(Ne<4){o.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}var Qe=this._littleEndian,ct=new Uint8Array(re,be,Ne),Lt=null;if(Ke){if(ct[0]!==255)return;var rr=ct[1]>>>3&3,dr=(ct[1]&6)>>1,Pt=(ct[2]&240)>>>4,jt=(ct[2]&12)>>>2,Ct=ct[3]>>>6&3,Rt=Ct!==3?2:1,pt=0,ot=0,gt=34,Ye="mp3";switch(rr){case 0:pt=this._mpegAudioV25SampleRateTable[jt];break;case 2:pt=this._mpegAudioV20SampleRateTable[jt];break;case 3:pt=this._mpegAudioV10SampleRateTable[jt];break}switch(dr){case 1:gt=34,Pt<this._mpegAudioL3BitRateTable.length&&(ot=this._mpegAudioL3BitRateTable[Pt]);break;case 2:gt=33,Pt<this._mpegAudioL2BitRateTable.length&&(ot=this._mpegAudioL2BitRateTable[Pt]);break;case 3:gt=32,Pt<this._mpegAudioL1BitRateTable.length&&(ot=this._mpegAudioL1BitRateTable[Pt]);break}Lt={bitRate:ot,samplingRate:pt,channelCount:Rt,codec:Ye,originalCodec:Ye}}else Lt=ct;return Lt}},{key:"_parseVideoData",value:function(re,be,Ne,Ke,Qe){if(Ne<=1){o.w(this.TAG,"Flv: Invalid video packet, missing VideoData payload!");return}if(this._hasVideoFlagOverrided===!0&&this._hasVideo===!1)return;var ct=new Uint8Array(re,be,Ne)[0],Lt=(ct&240)>>>4,rr=ct&15;if(rr!==7){this._onError(ne.CODEC_UNSUPPORTED,"Flv: Unsupported codec in video frame: ".concat(rr));return}this._parseAVCVideoPacket(re,be+1,Ne-1,Ke,Qe,Lt)}},{key:"_parseAVCVideoPacket",value:function(re,be,Ne,Ke,Qe,ct){if(Ne<4){o.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}var Lt=this._littleEndian,rr=new DataView(re,be,Ne),dr=rr.getUint8(0),Pt=rr.getUint32(0,!Lt)&16777215,jt=Pt<<8>>8;if(dr===0)this._parseAVCDecoderConfigurationRecord(re,be+4,Ne-4);else if(dr===1)this._parseAVCVideoData(re,be+4,Ne-4,Ke,Qe,ct,jt);else if(!(dr===2)){this._onError(ne.FORMAT_ERROR,"Flv: Invalid video packet type ".concat(dr));return}}},{key:"_parseAVCDecoderConfigurationRecord",value:function(re,be,Ne){if(Ne<7){o.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}var Ke=this._videoMetadata,Qe=this._videoTrack,ct=this._littleEndian,Lt=new DataView(re,be,Ne);Ke?typeof Ke.avcc!="undefined"&&o.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),Ke=this._videoMetadata={},Ke.type="video",Ke.id=Qe.id,Ke.timescale=this._timescale,Ke.duration=this._duration);var rr=Lt.getUint8(0),dr=Lt.getUint8(1),Pt=Lt.getUint8(2),jt=Lt.getUint8(3);if(rr!==1||dr===0){this._onError(ne.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(Lt.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(ne.FORMAT_ERROR,"Flv: Strange NaluLengthSizeMinusOne: ".concat(this._naluLengthSize-1));return}var Ct=Lt.getUint8(5)&31;if(Ct===0){this._onError(ne.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else Ct>1&&o.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ".concat(Ct));for(var Rt=6,pt=0;pt<Ct;pt++){var ot=Lt.getUint16(Rt,!ct);if(Rt+=2,ot===0)continue;var gt=new Uint8Array(re,be+Rt,ot);Rt+=ot;var Ye=Le.parseSPS(gt);if(pt!==0)continue;Ke.codecWidth=Ye.codec_size.width,Ke.codecHeight=Ye.codec_size.height,Ke.presentWidth=Ye.present_size.width,Ke.presentHeight=Ye.present_size.height,Ke.profile=Ye.profile_string,Ke.level=Ye.level_string,Ke.bitDepth=Ye.bit_depth,Ke.chromaFormat=Ye.chroma_format,Ke.sarRatio=Ye.sar_ratio,Ke.frameRate=Ye.frame_rate,(Ye.frame_rate.fixed===!1||Ye.frame_rate.fps_num===0||Ye.frame_rate.fps_den===0)&&(Ke.frameRate=this._referenceFrameRate);var $e=Ke.frameRate.fps_den,Je=Ke.frameRate.fps_num;Ke.refSampleDuration=Ke.timescale*($e/Je);for(var it=gt.subarray(1,4),ft="avc1.",ht=0;ht<3;ht++){var st=it[ht].toString(16);st.length<2&&(st="0"+st),ft+=st}Ke.codec=ft;var kt=this._mediaInfo;kt.width=Ke.codecWidth,kt.height=Ke.codecHeight,kt.fps=Ke.frameRate.fps,kt.profile=Ke.profile,kt.level=Ke.level,kt.refFrames=Ye.ref_frames,kt.chromaFormat=Ye.chroma_format_string,kt.sarNum=Ke.sarRatio.width,kt.sarDen=Ke.sarRatio.height,kt.videoCodec=ft,kt.hasAudio?kt.audioCodec!=null&&(kt.mimeType='video/x-flv; codecs="'+kt.videoCodec+","+kt.audioCodec+'"'):kt.mimeType='video/x-flv; codecs="'+kt.videoCodec+'"',kt.isComplete()&&this._onMediaInfo(kt)}var Tt=Lt.getUint8(Rt);if(Tt===0){this._onError(ne.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No PPS");return}else Tt>1&&o.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ".concat(Tt));Rt++;for(var ar=0;ar<Tt;ar++){var Qt=Lt.getUint16(Rt,!ct);if(Rt+=2,Qt===0)continue;Rt+=Qt}Ke.avcc=new Uint8Array(Ne),Ke.avcc.set(new Uint8Array(re,be,Ne),0),o.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",Ke)}},{key:"_parseAVCVideoData",value:function(re,be,Ne,Ke,Qe,ct,Lt){for(var rr=this._littleEndian,dr=new DataView(re,be,Ne),Pt=[],jt=0,Ct=0,Rt=this._naluLengthSize,pt=this._timestampBase+Ke,ot=ct===1;Ct<Ne;){if(Ct+4>=Ne){o.w(this.TAG,"Malformed Nalu near timestamp ".concat(pt,", offset = ").concat(Ct,", dataSize = ").concat(Ne));break}var gt=dr.getUint32(Ct,!rr);if(Rt===3&&(gt>>>=8),gt>Ne-Rt){o.w(this.TAG,"Malformed Nalus near timestamp ".concat(pt,", NaluSize > DataSize!"));return}var Ye=dr.getUint8(Ct+Rt)&31;Ye===5&&(ot=!0);var $e=new Uint8Array(re,be+Ct,Rt+gt),Je={type:Ye,data:$e};Pt.push(Je),jt+=$e.byteLength,Ct+=Rt+gt}if(Pt.length){var it=this._videoTrack,ft={units:Pt,length:jt,isKeyframe:ot,dts:pt,cts:Lt,pts:pt+Lt};ot&&(ft.fileposition=Qe),it.samples.push(ft),it.length+=jt}}}],[{key:"probe",value:function(re){var be=new Uint8Array(re),Ne={match:!1};if(be[0]!==70||be[1]!==76||be[2]!==86||be[3]!==1)return Ne;var Ke=(be[4]&4)>>>2!==0,Qe=(be[4]&1)!==0,ct=Ge(be,5);return ct<9?Ne:{match:!0,consumed:ct,dataOffset:ct,hasAudioTrack:Ke,hasVideoTrack:Qe}}}]),Me}(),wt=ut,Pe=function(){function Me(){Object(y.a)(this,Me)}return Object(m.a)(Me,null,[{key:"init",value:function(){Me.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 re in Me.types)Me.types.hasOwnProperty(re)&&(Me.types[re]=[re.charCodeAt(0),re.charCodeAt(1),re.charCodeAt(2),re.charCodeAt(3)]);var be=Me.constants={};be.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),be.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),be.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),be.STSC=be.STCO=be.STTS,be.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),be.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]),be.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]),be.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),be.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),be.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}},{key:"box",value:function(re){for(var be=8,Ne=null,Ke=Array.prototype.slice.call(arguments,1),Qe=Ke.length,ct=0;ct<Qe;ct++)be+=Ke[ct].byteLength;Ne=new Uint8Array(be),Ne[0]=be>>>24&255,Ne[1]=be>>>16&255,Ne[2]=be>>>8&255,Ne[3]=be&255,Ne.set(re,4);for(var Lt=8,rr=0;rr<Qe;rr++)Ne.set(Ke[rr],Lt),Lt+=Ke[rr].byteLength;return Ne}},{key:"generateInitSegment",value:function(re){var be=Me.box(Me.types.ftyp,Me.constants.FTYP),Ne=Me.moov(re),Ke=new Uint8Array(be.byteLength+Ne.byteLength);return Ke.set(be,0),Ke.set(Ne,be.byteLength),Ke}},{key:"moov",value:function(re){var be=Me.mvhd(re.timescale,re.duration),Ne=Me.trak(re),Ke=Me.mvex(re);return Me.box(Me.types.moov,be,Ne,Ke)}},{key:"mvhd",value:function(re,be){return Me.box(Me.types.mvhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,re>>>24&255,re>>>16&255,re>>>8&255,re&255,be>>>24&255,be>>>16&255,be>>>8&255,be&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(re){return Me.box(Me.types.trak,Me.tkhd(re),Me.mdia(re))}},{key:"tkhd",value:function(re){var be=re.id,Ne=re.duration,Ke=re.presentWidth,Qe=re.presentHeight;return Me.box(Me.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,be>>>24&255,be>>>16&255,be>>>8&255,be&255,0,0,0,0,Ne>>>24&255,Ne>>>16&255,Ne>>>8&255,Ne&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,Ke>>>8&255,Ke&255,0,0,Qe>>>8&255,Qe&255,0,0]))}},{key:"mdia",value:function(re){return Me.box(Me.types.mdia,Me.mdhd(re),Me.hdlr(re),Me.minf(re))}},{key:"mdhd",value:function(re){var be=re.timescale,Ne=re.duration;return Me.box(Me.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,be>>>24&255,be>>>16&255,be>>>8&255,be&255,Ne>>>24&255,Ne>>>16&255,Ne>>>8&255,Ne&255,85,196,0,0]))}},{key:"hdlr",value:function(re){var be=null;return re.type==="audio"?be=Me.constants.HDLR_AUDIO:be=Me.constants.HDLR_VIDEO,Me.box(Me.types.hdlr,be)}},{key:"minf",value:function(re){var be=null;return re.type==="audio"?be=Me.box(Me.types.smhd,Me.constants.SMHD):be=Me.box(Me.types.vmhd,Me.constants.VMHD),Me.box(Me.types.minf,be,Me.dinf(),Me.stbl(re))}},{key:"dinf",value:function(){var re=Me.box(Me.types.dinf,Me.box(Me.types.dref,Me.constants.DREF));return re}},{key:"stbl",value:function(re){var be=Me.box(Me.types.stbl,Me.stsd(re),Me.box(Me.types.stts,Me.constants.STTS),Me.box(Me.types.stsc,Me.constants.STSC),Me.box(Me.types.stsz,Me.constants.STSZ),Me.box(Me.types.stco,Me.constants.STCO));return be}},{key:"stsd",value:function(re){return re.type==="audio"?re.codec==="mp3"?Me.box(Me.types.stsd,Me.constants.STSD_PREFIX,Me.mp3(re)):Me.box(Me.types.stsd,Me.constants.STSD_PREFIX,Me.mp4a(re)):Me.box(Me.types.stsd,Me.constants.STSD_PREFIX,Me.avc1(re))}},{key:"mp3",value:function(re){var be=re.channelCount,Ne=re.audioSampleRate,Ke=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,be,0,16,0,0,0,0,Ne>>>8&255,Ne&255,0,0]);return Me.box(Me.types[".mp3"],Ke)}},{key:"mp4a",value:function(re){var be=re.channelCount,Ne=re.audioSampleRate,Ke=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,be,0,16,0,0,0,0,Ne>>>8&255,Ne&255,0,0]);return Me.box(Me.types.mp4a,Ke,Me.esds(re))}},{key:"esds",value:function(re){var be=re.config||[],Ne=be.length,Ke=new Uint8Array([0,0,0,0,3,23+Ne,0,1,0,4,15+Ne,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([Ne]).concat(be).concat([6,1,2]));return Me.box(Me.types.esds,Ke)}},{key:"avc1",value:function(re){var be=re.avcc,Ne=re.codecWidth,Ke=re.codecHeight,Qe=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,Ne>>>8&255,Ne&255,Ke>>>8&255,Ke&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 Me.box(Me.types.avc1,Qe,Me.box(Me.types.avcC,be))}},{key:"mvex",value:function(re){return Me.box(Me.types.mvex,Me.trex(re))}},{key:"trex",value:function(re){var be=re.id,Ne=new Uint8Array([0,0,0,0,be>>>24&255,be>>>16&255,be>>>8&255,be&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return Me.box(Me.types.trex,Ne)}},{key:"moof",value:function(re,be){return Me.box(Me.types.moof,Me.mfhd(re.sequenceNumber),Me.traf(re,be))}},{key:"mfhd",value:function(re){var be=new Uint8Array([0,0,0,0,re>>>24&255,re>>>16&255,re>>>8&255,re&255]);return Me.box(Me.types.mfhd,be)}},{key:"traf",value:function(re,be){var Ne=re.id,Ke=Me.box(Me.types.tfhd,new Uint8Array([0,0,0,0,Ne>>>24&255,Ne>>>16&255,Ne>>>8&255,Ne&255])),Qe=Me.box(Me.types.tfdt,new Uint8Array([0,0,0,0,be>>>24&255,be>>>16&255,be>>>8&255,be&255])),ct=Me.sdtp(re),Lt=Me.trun(re,ct.byteLength+16+16+8+16+8+8);return Me.box(Me.types.traf,Ke,Qe,Lt,ct)}},{key:"sdtp",value:function(re){for(var be=re.samples||[],Ne=be.length,Ke=new Uint8Array(4+Ne),Qe=0;Qe<Ne;Qe++){var ct=be[Qe].flags;Ke[Qe+4]=ct.isLeading<<6|ct.dependsOn<<4|ct.isDependedOn<<2|ct.hasRedundancy}return Me.box(Me.types.sdtp,Ke)}},{key:"trun",value:function(re,be){var Ne=re.samples||[],Ke=Ne.length,Qe=12+16*Ke,ct=new Uint8Array(Qe);be+=8+Qe,ct.set([0,0,15,1,Ke>>>24&255,Ke>>>16&255,Ke>>>8&255,Ke&255,be>>>24&255,be>>>16&255,be>>>8&255,be&255],0);for(var Lt=0;Lt<Ke;Lt++){var rr=Ne[Lt].duration,dr=Ne[Lt].size,Pt=Ne[Lt].flags,jt=Ne[Lt].cts;ct.set([rr>>>24&255,rr>>>16&255,rr>>>8&255,rr&255,dr>>>24&255,dr>>>16&255,dr>>>8&255,dr&255,Pt.isLeading<<2|Pt.dependsOn,Pt.isDependedOn<<6|Pt.hasRedundancy<<4|Pt.isNonSync,0,0,jt>>>24&255,jt>>>16&255,jt>>>8&255,jt&255],12+16*Lt)}return Me.box(Me.types.trun,ct)}},{key:"mdat",value:function(re){return Me.box(Me.types.mdat,re)}}]),Me}();Pe.init();var Dt=Pe,et=function(){function Me(){Object(y.a)(this,Me)}return Object(m.a)(Me,null,[{key:"getSilentFrame",value:function(re,be){if(re==="mp4a.40.2"){if(be===1)return new Uint8Array([0,200,0,128,35,128]);if(be===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(be===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(be===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(be===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(be===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(be===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(be===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(be===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}}]),Me}(),_t=et,Nt=function Me(ke,re,be,Ne,Ke){Object(y.a)(this,Me),this.dts=ke,this.pts=re,this.duration=be,this.originalDts=Ne,this.isSyncPoint=Ke,this.fileposition=null},Bt=function(){function Me(){Object(y.a)(this,Me),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(m.a)(Me,[{key:"appendSyncPoint",value:function(re){re.isSyncPoint=!0,this.syncPoints.push(re)}}]),Me}(),Ft=function(){function Me(){Object(y.a)(this,Me),this._list=[]}return Object(m.a)(Me,[{key:"clear",value:function(){this._list=[]}},{key:"appendArray",value:function(re){var be=this._list;if(re.length===0)return;be.length>0&&re[0].originalDts<be[be.length-1].originalDts&&this.clear(),Array.prototype.push.apply(be,re)}},{key:"getLastSyncPointBeforeDts",value:function(re){if(this._list.length==0)return null;var be=this._list,Ne=0,Ke=be.length-1,Qe=0,ct=0,Lt=Ke;for(re<be[0].dts&&(Ne=0,ct=Lt+1);ct<=Lt;)if(Qe=ct+Math.floor((Lt-ct)/2),Qe===Ke||re>=be[Qe].dts&&re<be[Qe+1].dts){Ne=Qe;break}else be[Qe].dts<re?ct=Qe+1:Lt=Qe-1;return this._list[Ne]}}]),Me}(),Gt=function(){function Me(ke){Object(y.a)(this,Me),this._type=ke,this._list=[],this._lastAppendLocation=-1}return Object(m.a)(Me,[{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(re){var be=this._list;if(be.length===0)return-2;var Ne=be.length-1,Ke=0,Qe=0,ct=Ne,Lt=0;if(re<be[0].originalBeginDts)return Lt=-1,Lt;for(;Qe<=ct;)if(Ke=Qe+Math.floor((ct-Qe)/2),Ke===Ne||re>be[Ke].lastSample.originalDts&&re<be[Ke+1].originalBeginDts){Lt=Ke;break}else be[Ke].originalBeginDts<re?Qe=Ke+1:ct=Ke-1;return Lt}},{key:"_searchNearestSegmentAfter",value:function(re){return this._searchNearestSegmentBefore(re)+1}},{key:"append",value:function(re){var be=this._list,Ne=re,Ke=this._lastAppendLocation,Qe=0;Ke!==-1&&Ke<be.length&&Ne.originalBeginDts>=be[Ke].lastSample.originalDts&&(Ke===be.length-1||Ke<be.length-1&&Ne.originalBeginDts<be[Ke+1].originalBeginDts)?Qe=Ke+1:be.length>0&&(Qe=this._searchNearestSegmentBefore(Ne.originalBeginDts)+1),this._lastAppendLocation=Qe,this._list.splice(Qe,0,Ne)}},{key:"getLastSegmentBefore",value:function(re){var be=this._searchNearestSegmentBefore(re);return be>=0?this._list[be]:null}},{key:"getLastSampleBefore",value:function(re){var be=this.getLastSegmentBefore(re);return be!=null?be.lastSample:null}},{key:"getLastSyncPointBefore",value:function(re){for(var be=this._searchNearestSegmentBefore(re),Ne=this._list[be].syncPoints;Ne.length===0&&be>0;)be--,Ne=this._list[be].syncPoints;return Ne.length>0?Ne[Ne.length-1]:null}}]),Me}(),qe=function(){function Me(ke){Object(y.a)(this,Me),this.TAG="MP4Remuxer",this._config=ke,this._isLive=ke.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 Gt("audio"),this._videoSegmentInfoList=new Gt("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(T.chrome&&(T.version.major<50||T.version.major===50&&T.version.build<2661)),this._fillSilentAfterSeek=T.msedge||T.msie,this._mp3UseMpegAudio=!T.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}return Object(m.a)(Me,[{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(re){return re.onDataAvailable=this.remux.bind(this),re.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}},{key:"onInitSegment",get:function(){return this._onInitSegment},set:function(re){this._onInitSegment=re}},{key:"onMediaSegment",get:function(){return this._onMediaSegment},set:function(re){this._onMediaSegment=re}},{key:"insertDiscontinuity",value:function(){this._audioNextDts=this._videoNextDts=void 0}},{key:"seek",value:function(re){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}},{key:"remux",value:function(re,be){if(!this._onMediaSegment)throw new l("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(re,be),this._remuxVideo(be),this._remuxAudio(re)}},{key:"_onTrackMetadataReceived",value:function(re,be){var Ne=null,Ke="mp4",Qe=be.codec;if(re==="audio")this._audioMeta=be,be.codec==="mp3"&&this._mp3UseMpegAudio?(Ke="mpeg",Qe="",Ne=new Uint8Array):Ne=Dt.generateInitSegment(be);else if(re==="video")this._videoMeta=be,Ne=Dt.generateInitSegment(be);else return;if(!this._onInitSegment)throw new l("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(re,{type:re,data:Ne.buffer,codec:Qe,container:"".concat(re,"/").concat(Ke),mediaDuration:be.duration})}},{key:"_calculateDtsBase",value:function(re,be){if(this._dtsBaseInited)return;re.samples&&re.samples.length&&(this._audioDtsBase=re.samples[0].dts),be.samples&&be.samples.length&&(this._videoDtsBase=be.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0}},{key:"flushStashedSamples",value:function(){var re=this._videoStashedLastSample,be=this._audioStashedLastSample,Ne={type:"video",id:1,sequenceNumber:0,samples:[],length:0};re!=null&&(Ne.samples.push(re),Ne.length=re.length);var Ke={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};be!=null&&(Ke.samples.push(be),Ke.length=be.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(Ne,!0),this._remuxAudio(Ke,!0)}},{key:"_remuxAudio",value:function(re,be){if(this._audioMeta==null)return;var Ne=re,Ke=Ne.samples,Qe=void 0,ct=-1,Lt=-1,rr=-1,dr=this._audioMeta.refSampleDuration,Pt=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,jt=this._dtsBaseInited&&this._audioNextDts===void 0,Ct=!1;if(!Ke||Ke.length===0)return;if(Ke.length===1&&!be)return;var Rt=0,pt=null,ot=0;Pt?(Rt=0,ot=Ne.length):(Rt=8,ot=8+Ne.length);var gt=null;if(Ke.length>1&&(gt=Ke.pop(),ot-=gt.length),this._audioStashedLastSample!=null){var Ye=this._audioStashedLastSample;this._audioStashedLastSample=null,Ke.unshift(Ye),ot+=Ye.length}gt!=null&&(this._audioStashedLastSample=gt);var $e=Ke[0].dts-this._dtsBase;if(this._audioNextDts)Qe=$e-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())Qe=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&(this._audioMeta.originalCodec!=="mp3"&&(Ct=!0));else{var Je=this._audioSegmentInfoList.getLastSampleBefore($e);if(Je!=null){var it=$e-(Je.originalDts+Je.duration);it<=3&&(it=0);var ft=Je.dts+Je.duration+it;Qe=$e-ft}else Qe=0}if(Ct){var ht=$e-Qe,st=this._videoSegmentInfoList.getLastSegmentBefore($e);if(st!=null&&st.beginDts<ht){var kt=_t.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);if(kt){var Tt=st.beginDts,ar=ht-st.beginDts;o.v(this.TAG,"InsertPrefixSilentAudio: dts: ".concat(Tt,", duration: ").concat(ar)),Ke.unshift({unit:kt,dts:Tt,pts:Tt}),ot+=kt.byteLength}}else Ct=!1}for(var Qt=[],Er=0;Er<Ke.length;Er++){var Ir=Ke[Er],jr=Ir.unit,zr=Ir.dts-this._dtsBase,hn=zr-Qe;ct===-1&&(ct=hn);var gn=0;if(Er!==Ke.length-1){var Br=Ke[Er+1].dts-this._dtsBase-Qe;gn=Br-hn}else if(gt!=null){var ln=gt.dts-this._dtsBase-Qe;gn=ln-hn}else Qt.length>=1?gn=Qt[Qt.length-1].duration:gn=Math.floor(dr);var Xr=!1,cr=null;if(gn>dr*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!T.safari){Xr=!0;var wr=Math.abs(gn-dr),hr=Math.ceil(wr/dr),Ar=hn+dr;o.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync.
|
|
|
`+"dts: ".concat(hn+gn," ms, expected: ").concat(hn+Math.round(dr)," ms, ")+"delta: ".concat(Math.round(wr)," ms, generate: ").concat(hr," frames"));var kr=_t.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);kr==null&&(o.w(this.TAG,"Unable to generate silent frame for "+"".concat(this._audioMeta.originalCodec," with ").concat(this._audioMeta.channelCount," channels, repeat last frame")),kr=jr),cr=[];for(var nn=0;nn<hr;nn++){var wn=Math.round(Ar);if(cr.length>0){var oi=cr[cr.length-1];oi.duration=wn-oi.dts}var tn={dts:wn,pts:wn,cts:0,unit:kr,size:kr.byteLength,duration:0,originalDts:zr,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};cr.push(tn),ot+=tn.size,Ar+=dr}var Vn=cr[cr.length-1];Vn.duration=hn+gn-Vn.dts,gn=Math.round(dr)}Qt.push({dts:hn,pts:hn,cts:0,unit:Ir.unit,size:Ir.unit.byteLength,duration:gn,originalDts:zr,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),Xr&&Qt.push.apply(Qt,cr)}Pt?pt=new Uint8Array(ot):(pt=new Uint8Array(ot),pt[0]=ot>>>24&255,pt[1]=ot>>>16&255,pt[2]=ot>>>8&255,pt[3]=ot&255,pt.set(Dt.types.mdat,4));for(var On=0;On<Qt.length;On++){var $n=Qt[On].unit;pt.set($n,Rt),Rt+=$n.byteLength}var Qn=Qt[Qt.length-1];Lt=Qn.dts+Qn.duration,this._audioNextDts=Lt;var ei=new Bt;ei.beginDts=ct,ei.endDts=Lt,ei.beginPts=ct,ei.endPts=Lt,ei.originalBeginDts=Qt[0].originalDts,ei.originalEndDts=Qn.originalDts+Qn.duration,ei.firstSample=new Nt(Qt[0].dts,Qt[0].pts,Qt[0].duration,Qt[0].originalDts,!1),ei.lastSample=new Nt(Qn.dts,Qn.pts,Qn.duration,Qn.originalDts,!1),this._isLive||this._audioSegmentInfoList.append(ei),Ne.samples=Qt,Ne.sequenceNumber++;var zi=null;Pt?zi=new Uint8Array:zi=Dt.moof(Ne,ct),Ne.samples=[],Ne.length=0;var hi={type:"audio",data:this._mergeBoxes(zi,pt).buffer,sampleCount:Qt.length,info:ei};Pt&&jt&&(hi.timestampOffset=ct),this._onMediaSegment("audio",hi)}},{key:"_remuxVideo",value:function(re,be){if(this._videoMeta==null)return;var Ne=re,Ke=Ne.samples,Qe=void 0,ct=-1,Lt=-1,rr=-1,dr=-1;if(!Ke||Ke.length===0)return;if(Ke.length===1&&!be)return;var Pt=8,jt=null,Ct=8+re.length,Rt=null;if(Ke.length>1&&(Rt=Ke.pop(),Ct-=Rt.length),this._videoStashedLastSample!=null){var pt=this._videoStashedLastSample;this._videoStashedLastSample=null,Ke.unshift(pt),Ct+=pt.length}Rt!=null&&(this._videoStashedLastSample=Rt);var ot=Ke[0].dts-this._dtsBase;if(this._videoNextDts)Qe=ot-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())Qe=0;else{var gt=this._videoSegmentInfoList.getLastSampleBefore(ot);if(gt!=null){var Ye=ot-(gt.originalDts+gt.duration);Ye<=3&&(Ye=0);var $e=gt.dts+gt.duration+Ye;Qe=ot-$e}else Qe=0}for(var Je=new Bt,it=[],ft=0;ft<Ke.length;ft++){var ht=Ke[ft],st=ht.dts-this._dtsBase,kt=ht.isKeyframe,Tt=st-Qe,ar=ht.cts,Qt=Tt+ar;ct===-1&&(ct=Tt,rr=Qt);var Er=0;if(ft!==Ke.length-1){var Ir=Ke[ft+1].dts-this._dtsBase-Qe;Er=Ir-Tt}else if(Rt!=null){var jr=Rt.dts-this._dtsBase-Qe;Er=jr-Tt}else it.length>=1?Er=it[it.length-1].duration:Er=Math.floor(this._videoMeta.refSampleDuration);if(kt){var zr=new Nt(Tt,Qt,Er,ht.dts,!0);zr.fileposition=ht.fileposition,Je.appendSyncPoint(zr)}it.push({dts:Tt,pts:Qt,cts:ar,units:ht.units,size:ht.length,isKeyframe:kt,duration:Er,originalDts:st,flags:{isLeading:0,dependsOn:kt?2:1,isDependedOn:kt?1:0,hasRedundancy:0,isNonSync:kt?0:1}})}jt=new Uint8Array(Ct),jt[0]=Ct>>>24&255,jt[1]=Ct>>>16&255,jt[2]=Ct>>>8&255,jt[3]=Ct&255,jt.set(Dt.types.mdat,4);for(var hn=0;hn<it.length;hn++)for(var gn=it[hn].units;gn.length;){var Br=gn.shift(),ln=Br.data;jt.set(ln,Pt),Pt+=ln.byteLength}var Xr=it[it.length-1];if(Lt=Xr.dts+Xr.duration,dr=Xr.pts+Xr.duration,this._videoNextDts=Lt,Je.beginDts=ct,Je.endDts=Lt,Je.beginPts=rr,Je.endPts=dr,Je.originalBeginDts=it[0].originalDts,Je.originalEndDts=Xr.originalDts+Xr.duration,Je.firstSample=new Nt(it[0].dts,it[0].pts,it[0].duration,it[0].originalDts,it[0].isKeyframe),Je.lastSample=new Nt(Xr.dts,Xr.pts,Xr.duration,Xr.originalDts,Xr.isKeyframe),this._isLive||this._videoSegmentInfoList.append(Je),Ne.samples=it,Ne.sequenceNumber++,this._forceFirstIDR){var cr=it[0].flags;cr.dependsOn=2,cr.isNonSync=0}var wr=Dt.moof(Ne,ct);Ne.samples=[],Ne.length=0,this._onMediaSegment("video",{type:"video",data:this._mergeBoxes(wr,jt).buffer,sampleCount:it.length,info:Je})}},{key:"_mergeBoxes",value:function(re,be){var Ne=new Uint8Array(re.byteLength+be.byteLength);return Ne.set(re,0),Ne.set(be,re.byteLength),Ne}}]),Me}(),we=qe,ue={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"},vt=ue,at=function(){function Me(ke,re){Object(y.a)(this,Me),this.TAG="TransmuxingController",this._emitter=new h.a,this._config=re,ke.segments||(ke.segments=[{duration:ke.duration,filesize:ke.filesize,url:ke.url}]),typeof ke.cors!="boolean"&&(ke.cors=!0),typeof ke.withCredentials!="boolean"&&(ke.withCredentials=!1),this._mediaDataSource=ke,this._currentSegmentIndex=0;var be=0;this._mediaDataSource.segments.forEach(function(Ne){Ne.timestampBase=be,be+=Ne.duration,Ne.cors=ke.cors,Ne.withCredentials=ke.withCredentials,re.referrerPolicy&&(Ne.referrerPolicy=re.referrerPolicy)}),!isNaN(be)&&this._mediaDataSource.duration!==be&&(this._mediaDataSource.duration=be),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}return Object(m.a)(Me,[{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(re,be){this._emitter.addListener(re,be)}},{key:"off",value:function(re,be){this._emitter.removeListener(re,be)}},{key:"start",value:function(){this._loadSegment(0),this._enableStatisticsReporter()}},{key:"_loadSegment",value:function(re,be){this._currentSegmentIndex=re;var Ne=this._mediaDataSource.segments[re],Ke=this._ioctl=new X(Ne,this._config,re);Ke.onError=this._onIOException.bind(this),Ke.onSeeked=this._onIOSeeked.bind(this),Ke.onComplete=this._onIOComplete.bind(this),Ke.onRedirect=this._onIORedirect.bind(this),Ke.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),be?this._demuxer.bindDataSource(this._ioctl):Ke.onDataArrival=this._onInitChunkArrival.bind(this),Ke.open(be)}},{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(re){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;var be=this._searchSegmentIndexContains(re);if(be===this._currentSegmentIndex){var Ne=this._mediaInfo.segments[be];if(Ne==null)this._pendingSeekTime=re;else{var Ke=Ne.getNearestKeyframe(re);this._remuxer.seek(Ke.milliseconds),this._ioctl.seek(Ke.fileposition),this._pendingResolveSeekPoint=Ke.milliseconds}}else{var Qe=this._mediaInfo.segments[be];if(Qe==null)this._pendingSeekTime=re,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(be);else{var ct=Qe.getNearestKeyframe(re);this._internalAbort(),this._remuxer.seek(re),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[be].timestampBase,this._loadSegment(be,ct.fileposition),this._pendingResolveSeekPoint=ct.milliseconds,this._reportSegmentMediaInfo(be)}}this._enableStatisticsReporter()}},{key:"_searchSegmentIndexContains",value:function(re){for(var be=this._mediaDataSource.segments,Ne=be.length-1,Ke=0;Ke<be.length;Ke++)if(re<be[Ke].timestampBase){Ne=Ke-1;break}return Ne}},{key:"_onInitChunkArrival",value:function(re,be){var Ne=this,Ke=null,Qe=0;if(be>0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,Qe=this._demuxer.parseChunks(re,be);else if((Ke=wt.probe(re)).match){this._demuxer=new wt(Ke,this._config),this._remuxer||(this._remuxer=new we(this._config));var ct=this._mediaDataSource;ct.duration!=null&&!isNaN(ct.duration)&&(this._demuxer.overridedDuration=ct.duration),typeof ct.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=ct.hasAudio),typeof ct.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=ct.hasVideo),this._demuxer.timestampBase=ct.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),Qe=this._demuxer.parseChunks(re,be)}else Ke=null,o.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(function(){Ne._internalAbort()}),this._emitter.emit(vt.DEMUX_ERROR,ne.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),Qe=0;return Qe}},{key:"_onMediaInfo",value:function(re){var be=this;this._mediaInfo==null&&(this._mediaInfo=Object.assign({},re),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,Be.prototype));var Ne=Object.assign({},re);Object.setPrototypeOf(Ne,Be.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=Ne,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(function(){var Ke=be._pendingSeekTime;be._pendingSeekTime=null,be.seek(Ke)})}},{key:"_onMetaDataArrived",value:function(re){this._emitter.emit(vt.METADATA_ARRIVED,re)}},{key:"_onScriptDataArrived",value:function(re){this._emitter.emit(vt.SCRIPTDATA_ARRIVED,re)}},{key:"_onIOSeeked",value:function(){this._remuxer.insertDiscontinuity()}},{key:"_onIOComplete",value:function(re){var be=re,Ne=be+1;Ne<this._mediaDataSource.segments.length?(this._internalAbort(),this._remuxer.flushStashedSamples(),this._loadSegment(Ne)):(this._remuxer.flushStashedSamples(),this._emitter.emit(vt.LOADING_COMPLETE),this._disableStatisticsReporter())}},{key:"_onIORedirect",value:function(re){var be=this._ioctl.extraData;this._mediaDataSource.segments[be].redirectedURL=re}},{key:"_onIORecoveredEarlyEof",value:function(){this._emitter.emit(vt.RECOVERED_EARLY_EOF)}},{key:"_onIOException",value:function(re,be){o.e(this.TAG,"IOException: type = ".concat(re,", code = ").concat(be.code,", msg = ").concat(be.msg)),this._emitter.emit(vt.IO_ERROR,re,be),this._disableStatisticsReporter()}},{key:"_onDemuxException",value:function(re,be){o.e(this.TAG,"DemuxException: type = ".concat(re,", info = ").concat(be)),this._emitter.emit(vt.DEMUX_ERROR,re,be)}},{key:"_onRemuxerInitSegmentArrival",value:function(re,be){this._emitter.emit(vt.INIT_SEGMENT,re,be)}},{key:"_onRemuxerMediaSegmentArrival",value:function(re,be){if(this._pendingSeekTime!=null)return;if(this._emitter.emit(vt.MEDIA_SEGMENT,re,be),this._pendingResolveSeekPoint!=null&&re==="video"){var Ne=be.info.syncPoints,Ke=this._pendingResolveSeekPoint;this._pendingResolveSeekPoint=null,T.safari&&Ne.length>0&&Ne[0].originalDts===Ke&&(Ke=Ne[0].pts),this._emitter.emit(vt.RECOMMEND_SEEKPOINT,Ke)}}},{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(re){var be=this._mediaInfo.segments[re],Ne=Object.assign({},be);Ne.duration=this._mediaInfo.duration,Ne.segmentCount=this._mediaInfo.segmentCount,delete Ne.segments,delete Ne.keyframesIndex,this._emitter.emit(vt.MEDIA_INFO,Ne)}},{key:"_reportStatisticsInfo",value:function(){var re={};re.url=this._ioctl.currentURL,re.hasRedirect=this._ioctl.hasRedirect,re.hasRedirect&&(re.redirectedURL=this._ioctl.currentRedirectedURL),re.speed=this._ioctl.currentSpeed,re.loaderType=this._ioctl.loaderType,re.currentSegmentIndex=this._currentSegmentIndex,re.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(vt.STATISTICS_INFO,re)}}]),Me}(),Ae=at,Xt=function(ke){var re="TransmuxingWorker",be=null,Ne=ot.bind(this);p.install(),ke.addEventListener("message",function(gt){switch(gt.data.cmd){case"init":be=new Ae(gt.data.param[0],gt.data.param[1]),be.on(vt.IO_ERROR,Ct.bind(this)),be.on(vt.DEMUX_ERROR,Rt.bind(this)),be.on(vt.INIT_SEGMENT,Ke.bind(this)),be.on(vt.MEDIA_SEGMENT,Qe.bind(this)),be.on(vt.LOADING_COMPLETE,ct.bind(this)),be.on(vt.RECOVERED_EARLY_EOF,Lt.bind(this)),be.on(vt.MEDIA_INFO,rr.bind(this)),be.on(vt.METADATA_ARRIVED,dr.bind(this)),be.on(vt.SCRIPTDATA_ARRIVED,Pt.bind(this)),be.on(vt.STATISTICS_INFO,jt.bind(this)),be.on(vt.RECOMMEND_SEEKPOINT,pt.bind(this));break;case"destroy":be&&(be.destroy(),be=null),ke.postMessage({msg:"destroyed"});break;case"start":be.start();break;case"stop":be.stop();break;case"seek":be.seek(gt.data.param);break;case"pause":be.pause();break;case"resume":be.resume();break;case"logging_config":{var Ye=gt.data.param;Ue.applyConfig(Ye),Ye.enableCallback===!0?Ue.addLogListener(Ne):Ue.removeLogListener(Ne);break}}});function Ke(gt,Ye){var $e={msg:vt.INIT_SEGMENT,data:{type:gt,data:Ye}};ke.postMessage($e,[Ye.data])}function Qe(gt,Ye){var $e={msg:vt.MEDIA_SEGMENT,data:{type:gt,data:Ye}};ke.postMessage($e,[Ye.data])}function ct(){var gt={msg:vt.LOADING_COMPLETE};ke.postMessage(gt)}function Lt(){var gt={msg:vt.RECOVERED_EARLY_EOF};ke.postMessage(gt)}function rr(gt){var Ye={msg:vt.MEDIA_INFO,data:gt};ke.postMessage(Ye)}function dr(gt){var Ye={msg:vt.METADATA_ARRIVED,data:gt};ke.postMessage(Ye)}function Pt(gt){var Ye={msg:vt.SCRIPTDATA_ARRIVED,data:gt};ke.postMessage(Ye)}function jt(gt){var Ye={msg:vt.STATISTICS_INFO,data:gt};ke.postMessage(Ye)}function Ct(gt,Ye){ke.postMessage({msg:vt.IO_ERROR,data:{type:gt,info:Ye}})}function Rt(gt,Ye){ke.postMessage({msg:vt.DEMUX_ERROR,data:{type:gt,info:Ye}})}function pt(gt){ke.postMessage({msg:vt.RECOMMEND_SEEKPOINT,data:gt})}function ot(gt,Ye){ke.postMessage({msg:"logcat_callback",data:{type:gt,logcat:Ye}})}},Ot=Xt,rt=function(){function Me(ke,re){if(Object(y.a)(this,Me),this.TAG="Transmuxer",this._emitter=new h.a,re.enableWorker&&typeof Worker!="undefined")try{var be=r("0r65");this._worker=be(Ot),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[ke,re]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},Ue.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:Ue.getConfig()})}catch(Ke){o.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new Ae(ke,re)}else this._controller=new Ae(ke,re);if(this._controller){var Ne=this._controller;Ne.on(vt.IO_ERROR,this._onIOError.bind(this)),Ne.on(vt.DEMUX_ERROR,this._onDemuxError.bind(this)),Ne.on(vt.INIT_SEGMENT,this._onInitSegment.bind(this)),Ne.on(vt.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),Ne.on(vt.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),Ne.on(vt.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),Ne.on(vt.MEDIA_INFO,this._onMediaInfo.bind(this)),Ne.on(vt.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),Ne.on(vt.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),Ne.on(vt.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),Ne.on(vt.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}return Object(m.a)(Me,[{key:"destroy",value:function(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),Ue.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(re,be){this._emitter.addListener(re,be)}},{key:"off",value:function(re,be){this._emitter.removeListener(re,be)}},{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(re){this._worker?this._worker.postMessage({cmd:"seek",param:re}):this._controller.seek(re)}},{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(re,be){var Ne=this;Promise.resolve().then(function(){Ne._emitter.emit(vt.INIT_SEGMENT,re,be)})}},{key:"_onMediaSegment",value:function(re,be){var Ne=this;Promise.resolve().then(function(){Ne._emitter.emit(vt.MEDIA_SEGMENT,re,be)})}},{key:"_onLoadingComplete",value:function(){var re=this;Promise.resolve().then(function(){re._emitter.emit(vt.LOADING_COMPLETE)})}},{key:"_onRecoveredEarlyEof",value:function(){var re=this;Promise.resolve().then(function(){re._emitter.emit(vt.RECOVERED_EARLY_EOF)})}},{key:"_onMediaInfo",value:function(re){var be=this;Promise.resolve().then(function(){be._emitter.emit(vt.MEDIA_INFO,re)})}},{key:"_onMetaDataArrived",value:function(re){var be=this;Promise.resolve().then(function(){be._emitter.emit(vt.METADATA_ARRIVED,re)})}},{key:"_onScriptDataArrived",value:function(re){var be=this;Promise.resolve().then(function(){be._emitter.emit(vt.SCRIPTDATA_ARRIVED,re)})}},{key:"_onStatisticsInfo",value:function(re){var be=this;Promise.resolve().then(function(){be._emitter.emit(vt.STATISTICS_INFO,re)})}},{key:"_onIOError",value:function(re,be){var Ne=this;Promise.resolve().then(function(){Ne._emitter.emit(vt.IO_ERROR,re,be)})}},{key:"_onDemuxError",value:function(re,be){var Ne=this;Promise.resolve().then(function(){Ne._emitter.emit(vt.DEMUX_ERROR,re,be)})}},{key:"_onRecommendSeekpoint",value:function(re){var be=this;Promise.resolve().then(function(){be._emitter.emit(vt.RECOMMEND_SEEKPOINT,re)})}},{key:"_onLoggingConfigChanged",value:function(re){this._worker&&this._worker.postMessage({cmd:"logging_config",param:re})}},{key:"_onWorkerMessage",value:function(re){var be=re.data,Ne=be.data;if(be.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(be.msg){case vt.INIT_SEGMENT:case vt.MEDIA_SEGMENT:this._emitter.emit(be.msg,Ne.type,Ne.data);break;case vt.LOADING_COMPLETE:case vt.RECOVERED_EARLY_EOF:this._emitter.emit(be.msg);break;case vt.MEDIA_INFO:Object.setPrototypeOf(Ne,Be.prototype),this._emitter.emit(be.msg,Ne);break;case vt.METADATA_ARRIVED:case vt.SCRIPTDATA_ARRIVED:case vt.STATISTICS_INFO:this._emitter.emit(be.msg,Ne);break;case vt.IO_ERROR:case vt.DEMUX_ERROR:this._emitter.emit(be.msg,Ne.type,Ne.info);break;case vt.RECOMMEND_SEEKPOINT:this._emitter.emit(be.msg,Ne);break;case"logcat_callback":o.emitter.emit("log",Ne.type,Ne.logcat);break;default:break}}}]),Me}(),Et=rt,Zt={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"},vr=Zt,mt=function(){function Me(ke){Object(y.a)(this,Me),this.TAG="MSEController",this._config=ke,this._emitter=new h.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 Ft}return Object(m.a)(Me,[{key:"destroy",value:function(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(re,be){this._emitter.addListener(re,be)}},{key:"off",value:function(re,be){this._emitter.removeListener(re,be)}},{key:"attachMediaElement",value:function(re){if(this._mediaSource)throw new l("MediaSource has been attached to an HTMLMediaElement!");var be=this._mediaSource=new window.MediaSource;be.addEventListener("sourceopen",this.e.onSourceOpen),be.addEventListener("sourceended",this.e.onSourceEnded),be.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=re,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),re.src=this._mediaSourceObjectURL}},{key:"detachMediaElement",value:function(){if(this._mediaSource){var re=this._mediaSource;for(var be in this._sourceBuffers){var Ne=this._pendingSegments[be];Ne.splice(0,Ne.length),this._pendingSegments[be]=null,this._pendingRemoveRanges[be]=null,this._lastInitSegments[be]=null;var Ke=this._sourceBuffers[be];if(Ke){if(re.readyState!=="closed"){try{re.removeSourceBuffer(Ke)}catch(Qe){o.e(this.TAG,Qe.message)}Ke.removeEventListener("error",this.e.onSourceBufferError),Ke.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[be]=null,this._sourceBuffers[be]=null}}if(re.readyState==="open")try{re.endOfStream()}catch(Qe){o.e(this.TAG,Qe.message)}re.removeEventListener("sourceopen",this.e.onSourceOpen),re.removeEventListener("sourceended",this.e.onSourceEnded),re.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(re,be){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(re),this._pendingSegments[re.type].push(re);return}var Ne=re,Ke="".concat(Ne.container);Ne.codec&&Ne.codec.length>0&&(Ke+=";codecs=".concat(Ne.codec));var Qe=!1;if(o.v(this.TAG,"Received Initialization Segment, mimeType: "+Ke),this._lastInitSegments[Ne.type]=Ne,Ke!==this._mimeTypes[Ne.type]){if(this._mimeTypes[Ne.type])o.v(this.TAG,"Notice: ".concat(Ne.type," mimeType changed, origin: ").concat(this._mimeTypes[Ne.type],", target: ").concat(Ke));else{Qe=!0;try{var ct=this._sourceBuffers[Ne.type]=this._mediaSource.addSourceBuffer(Ke);ct.addEventListener("error",this.e.onSourceBufferError),ct.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(Lt){o.e(this.TAG,Lt.message),this._emitter.emit(vr.ERROR,{code:Lt.code,msg:Lt.message});return}}this._mimeTypes[Ne.type]=Ke}be||this._pendingSegments[Ne.type].push(Ne),Qe||this._sourceBuffers[Ne.type]&&!this._sourceBuffers[Ne.type].updating&&this._doAppendSegments(),T.safari&&Ne.container==="audio/mpeg"&&Ne.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=Ne.mediaDuration/1e3,this._updateMediaSourceDuration())}},{key:"appendMediaSegment",value:function(re){var be=re;this._pendingSegments[be.type].push(be),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();var Ne=this._sourceBuffers[be.type];Ne&&!Ne.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}},{key:"seek",value:function(re){for(var be in this._sourceBuffers){if(!this._sourceBuffers[be])continue;var Ne=this._sourceBuffers[be];if(this._mediaSource.readyState==="open")try{Ne.abort()}catch(dr){o.e(this.TAG,dr.message)}this._idrList.clear();var Ke=this._pendingSegments[be];if(Ke.splice(0,Ke.length),this._mediaSource.readyState==="closed")continue;for(var Qe=0;Qe<Ne.buffered.length;Qe++){var ct=Ne.buffered.start(Qe),Lt=Ne.buffered.end(Qe);this._pendingRemoveRanges[be].push({start:ct,end:Lt})}if(Ne.updating||this._doRemoveRanges(),T.safari){var rr=this._lastInitSegments[be];rr&&(this._pendingSegments[be].push(rr),Ne.updating||this._doAppendSegments())}}}},{key:"endOfStream",value:function(){var re=this._mediaSource,be=this._sourceBuffers;if(!re||re.readyState!=="open"){re&&re.readyState==="closed"&&this._hasPendingSegments()&&(this._hasPendingEos=!0);return}be.video&&be.video.updating||be.audio&&be.audio.updating?this._hasPendingEos=!0:(this._hasPendingEos=!1,re.endOfStream())}},{key:"getNearestKeyframe",value:function(re){return this._idrList.getLastSyncPointBeforeDts(re)}},{key:"_needCleanupSourceBuffer",value:function(){if(!this._config.autoCleanupSourceBuffer)return!1;var re=this._mediaElement.currentTime;for(var be in this._sourceBuffers){var Ne=this._sourceBuffers[be];if(Ne){var Ke=Ne.buffered;if(Ke.length>=1&&re-Ke.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}},{key:"_doCleanupSourceBuffer",value:function(){var re=this._mediaElement.currentTime;for(var be in this._sourceBuffers){var Ne=this._sourceBuffers[be];if(Ne){for(var Ke=Ne.buffered,Qe=!1,ct=0;ct<Ke.length;ct++){var Lt=Ke.start(ct),rr=Ke.end(ct);if(Lt<=re&&re<rr+3){if(re-Lt>=this._config.autoCleanupMaxBackwardDuration){Qe=!0;var dr=re-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[be].push({start:Lt,end:dr})}}else rr<re&&(Qe=!0,this._pendingRemoveRanges[be].push({start:Lt,end:rr}))}Qe&&!Ne.updating&&this._doRemoveRanges()}}}},{key:"_updateMediaSourceDuration",value:function(){var re=this._sourceBuffers;if(this._mediaElement.readyState===0||this._mediaSource.readyState!=="open")return;if(re.video&&re.video.updating||re.audio&&re.audio.updating)return;var be=this._mediaSource.duration,Ne=this._pendingMediaDuration;Ne>0&&(isNaN(be)||Ne>be)&&(o.v(this.TAG,"Update MediaSource duration from ".concat(be," to ").concat(Ne)),this._mediaSource.duration=Ne),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}},{key:"_doRemoveRanges",value:function(){for(var re in this._pendingRemoveRanges){if(!this._sourceBuffers[re]||this._sourceBuffers[re].updating)continue;for(var be=this._sourceBuffers[re],Ne=this._pendingRemoveRanges[re];Ne.length&&!be.updating;){var Ke=Ne.shift();be.remove(Ke.start,Ke.end)}}}},{key:"_doAppendSegments",value:function(){var re=this._pendingSegments;for(var be in re){if(!this._sourceBuffers[be]||this._sourceBuffers[be].updating)continue;if(re[be].length>0){var Ne=re[be].shift();if(Ne.timestampOffset){var Ke=this._sourceBuffers[be].timestampOffset,Qe=Ne.timestampOffset/1e3,ct=Math.abs(Ke-Qe);ct>.1&&(o.v(this.TAG,"Update MPEG audio timestampOffset from ".concat(Ke," to ").concat(Qe)),this._sourceBuffers[be].timestampOffset=Qe),delete Ne.timestampOffset}if(!Ne.data||Ne.data.byteLength===0)continue;try{this._sourceBuffers[be].appendBuffer(Ne.data),this._isBufferFull=!1,be==="video"&&Ne.hasOwnProperty("info")&&this._idrList.appendArray(Ne.info.syncPoints)}catch(Lt){this._pendingSegments[be].unshift(Ne),Lt.code===22?(this._isBufferFull||this._emitter.emit(vr.BUFFER_FULL),this._isBufferFull=!0):(o.e(this.TAG,Lt.message),this._emitter.emit(vr.ERROR,{code:Lt.code,msg:Lt.message}))}}}}},{key:"_onSourceOpen",value:function(){if(o.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0)for(var re=this._pendingSourceBufferInit;re.length;){var be=re.shift();this.appendInitSegment(be,!0)}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(vr.SOURCE_OPEN)}},{key:"_onSourceEnded",value:function(){o.v(this.TAG,"MediaSource onSourceEnded")}},{key:"_onSourceClose",value:function(){o.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 re=this._pendingSegments;return re.video.length>0||re.audio.length>0}},{key:"_hasPendingRemoveRanges",value:function(){var re=this._pendingRemoveRanges;return re.video.length>0||re.audio.length>0}},{key:"_onSourceBufferUpdateEnd",value:function(){this._requireSetMediaDuration?this._updateMediaSourceDuration():this._hasPendingRemoveRanges()?this._doRemoveRanges():this._hasPendingSegments()?this._doAppendSegments():this._hasPendingEos&&this.endOfStream(),this._emitter.emit(vr.UPDATE_END)}},{key:"_onSourceBufferError",value:function(re){o.e(this.TAG,"SourceBuffer Error: ".concat(re))}}]),Me}(),ce=mt,le={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},oe={NETWORK_EXCEPTION:f.EXCEPTION,NETWORK_STATUS_CODE_INVALID:f.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:f.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:f.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:ne.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:ne.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:ne.CODEC_UNSUPPORTED},fe=function(){function Me(ke,re){if(Object(y.a)(this,Me),this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new h.a,this._config=ee(),typeof re=="object"&&Object.assign(this._config,re),ke.type.toLowerCase()!=="flv")throw new e("FlvPlayer requires an flv MediaDataSource input!");ke.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=ke,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 be=T.chrome&&(T.version.major<50||T.version.major===50&&T.version.build<2661);this._alwaysSeekKeyframe=!!(be||T.msedge||T.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}return Object(m.a)(Me,[{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(re,be){var Ne=this;re===xe.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(function(){Ne._emitter.emit(xe.MEDIA_INFO,Ne.mediaInfo)}):re===xe.STATISTICS_INFO&&(this._statisticsInfo!=null&&Promise.resolve().then(function(){Ne._emitter.emit(xe.STATISTICS_INFO,Ne.statisticsInfo)})),this._emitter.addListener(re,be)}},{key:"off",value:function(re,be){this._emitter.removeListener(re,be)}},{key:"attachMediaElement",value:function(re){var be=this;if(this._mediaElement=re,re.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),re.addEventListener("seeking",this.e.onvSeeking),re.addEventListener("canplay",this.e.onvCanPlay),re.addEventListener("stalled",this.e.onvStalled),re.addEventListener("progress",this.e.onvProgress),this._msectl=new ce(this._config),this._msectl.on(vr.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(vr.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(vr.SOURCE_OPEN,function(){be._mseSourceOpened=!0,be._hasPendingLoad&&(be._hasPendingLoad=!1,be.load())}),this._msectl.on(vr.ERROR,function(Ne){be._emitter.emit(xe.ERROR,le.MEDIA_ERROR,oe.MEDIA_MSE_ERROR,Ne)}),this._msectl.attachMediaElement(re),this._pendingSeekTime!=null)try{re.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(Ne){}}},{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 re=this;if(!this._mediaElement)throw new l("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new l("FlvPlayer.load() has been called, please call unload() first!");if(this._hasPendingLoad)return;if(this._config.deferLoadAfterSourceOpen&&this._mseSourceOpened===!1){this._hasPendingLoad=!0;return}this._mediaElement.readyState>0&&(this._requestSetTime=!0,this._mediaElement.currentTime=0),this._transmuxer=new Et(this._mediaDataSource,this._config),this._transmuxer.on(vt.INIT_SEGMENT,function(be,Ne){re._msectl.appendInitSegment(Ne)}),this._transmuxer.on(vt.MEDIA_SEGMENT,function(be,Ne){if(re._msectl.appendMediaSegment(Ne),re._config.lazyLoad&&!re._config.isLive){var Ke=re._mediaElement.currentTime;Ne.info.endDts>=(Ke+re._config.lazyLoadMaxDuration)*1e3&&(re._progressChecker==null&&(o.v(re.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),re._suspendTransmuxer()))}}),this._transmuxer.on(vt.LOADING_COMPLETE,function(){re._msectl.endOfStream(),re._emitter.emit(xe.LOADING_COMPLETE)}),this._transmuxer.on(vt.RECOVERED_EARLY_EOF,function(){re._emitter.emit(xe.RECOVERED_EARLY_EOF)}),this._transmuxer.on(vt.IO_ERROR,function(be,Ne){re._emitter.emit(xe.ERROR,le.NETWORK_ERROR,be,Ne)}),this._transmuxer.on(vt.DEMUX_ERROR,function(be,Ne){re._emitter.emit(xe.ERROR,le.MEDIA_ERROR,be,{code:-1,msg:Ne})}),this._transmuxer.on(vt.MEDIA_INFO,function(be){re._mediaInfo=be,re._emitter.emit(xe.MEDIA_INFO,Object.assign({},be))}),this._transmuxer.on(vt.METADATA_ARRIVED,function(be){re._emitter.emit(xe.METADATA_ARRIVED,be)}),this._transmuxer.on(vt.SCRIPTDATA_ARRIVED,function(be){re._emitter.emit(xe.SCRIPTDATA_ARRIVED,be)}),this._transmuxer.on(vt.STATISTICS_INFO,function(be){re._statisticsInfo=re._fillStatisticsInfo(be),re._emitter.emit(xe.STATISTICS_INFO,Object.assign({},re._statisticsInfo))}),this._transmuxer.on(vt.RECOMMEND_SEEKPOINT,function(be){re._mediaElement&&!re._config.accurateSeek&&(re._requestSetTime=!0,re._mediaElement.currentTime=be/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(re){this._mediaElement.volume=re}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(re){this._mediaElement.muted=re}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(re){this._mediaElement?this._internalSeek(re):this._pendingSeekTime=re}},{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(re){if(re.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return re;var be=!0,Ne=0,Ke=0;if(this._mediaElement.getVideoPlaybackQuality){var Qe=this._mediaElement.getVideoPlaybackQuality();Ne=Qe.totalVideoFrames,Ke=Qe.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Ne=this._mediaElement.webkitDecodedFrameCount,Ke=this._mediaElement.webkitDroppedFrameCount):be=!1;return be&&(re.decodedFrames=Ne,re.droppedFrames=Ke),re}},{key:"_onmseUpdateEnd",value:function(){if(!this._config.lazyLoad||this._config.isLive)return;for(var re=this._mediaElement.buffered,be=this._mediaElement.currentTime,Ne=0,Ke=0,Qe=0;Qe<re.length;Qe++){var ct=re.start(Qe),Lt=re.end(Qe);if(ct<=be&&be<Lt){Ne=ct,Ke=Lt;break}}Ke>=be+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(o.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}},{key:"_onmseBufferFull",value:function(){o.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 re=this._mediaElement.currentTime,be=this._mediaElement.buffered,Ne=!1,Ke=0;Ke<be.length;Ke++){var Qe=be.start(Ke),ct=be.end(Ke);if(re>=Qe&&re<ct){re>=ct-this._config.lazyLoadRecoverDuration&&(Ne=!0);break}}Ne&&(window.clearInterval(this._progressChecker),this._progressChecker=null,Ne&&(o.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}},{key:"_isTimepointBuffered",value:function(re){for(var be=this._mediaElement.buffered,Ne=0;Ne<be.length;Ne++){var Ke=be.start(Ne),Qe=be.end(Ne);if(re>=Ke&&re<Qe)return!0}return!1}},{key:"_internalSeek",value:function(re){var be=this._isTimepointBuffered(re),Ne=!1,Ke=0;if(re<1&&this._mediaElement.buffered.length>0){var Qe=this._mediaElement.buffered.start(0);(Qe<1&&re<Qe||T.safari)&&(Ne=!0,Ke=T.safari?.1:Qe)}if(Ne)this._requestSetTime=!0,this._mediaElement.currentTime=Ke;else if(be){if(!this._alwaysSeekKeyframe)this._requestSetTime=!0,this._mediaElement.currentTime=re;else{var ct=this._msectl.getNearestKeyframe(Math.floor(re*1e3));this._requestSetTime=!0,ct!=null?this._mediaElement.currentTime=ct.dts/1e3:this._mediaElement.currentTime=re}this._progressChecker!=null&&this._checkProgressAndResume()}else this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._msectl.seek(re),this._transmuxer.seek(Math.floor(re*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=re)}},{key:"_checkAndApplyUnbufferedSeekpoint",value:function(){if(this._seekpointRecord)if(this._seekpointRecord.recordTime<=this._now()-100){var re=this._mediaElement.currentTime;this._seekpointRecord=null,this._isTimepointBuffered(re)||(this._progressChecker!=null&&(window.clearTimeout(this._progressChecker),this._progressChecker=null),this._msectl.seek(re),this._transmuxer.seek(Math.floor(re*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=re))}else window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_checkAndResumeStuckPlayback",value:function(re){var be=this._mediaElement;if(re||!this._receivedCanPlay||be.readyState<2){var Ne=be.buffered;Ne.length>0&&be.currentTime<Ne.start(0)&&(o.w(this.TAG,"Playback seems stuck at ".concat(be.currentTime,", seek to ").concat(Ne.start(0))),this._requestSetTime=!0,this._mediaElement.currentTime=Ne.start(0),this._mediaElement.removeEventListener("progress",this.e.onvProgress))}else this._mediaElement.removeEventListener("progress",this.e.onvProgress)}},{key:"_onvLoadedMetadata",value:function(re){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null)}},{key:"_onvSeeking",value:function(re){var be=this._mediaElement.currentTime,Ne=this._mediaElement.buffered;if(this._requestSetTime){this._requestSetTime=!1;return}if(be<1&&Ne.length>0){var Ke=Ne.start(0);if(Ke<1&&be<Ke||T.safari){this._requestSetTime=!0,this._mediaElement.currentTime=T.safari?.1:Ke;return}}if(this._isTimepointBuffered(be)){if(this._alwaysSeekKeyframe){var Qe=this._msectl.getNearestKeyframe(Math.floor(be*1e3));Qe!=null&&(this._requestSetTime=!0,this._mediaElement.currentTime=Qe.dts/1e3)}this._progressChecker!=null&&this._checkProgressAndResume();return}this._seekpointRecord={seekPoint:be,recordTime:this._now()},window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_onvCanPlay",value:function(re){this._receivedCanPlay=!0,this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay)}},{key:"_onvStalled",value:function(re){this._checkAndResumeStuckPlayback(!0)}},{key:"_onvProgress",value:function(re){this._checkAndResumeStuckPlayback()}}]),Me}(),De=fe,He=function(){function Me(ke,re){if(Object(y.a)(this,Me),this.TAG="NativePlayer",this._type="NativePlayer",this._emitter=new h.a,this._config=ee(),typeof re=="object"&&Object.assign(this._config,re),ke.type.toLowerCase()==="flv")throw new e("NativePlayer does't support flv MediaDataSource input!");if(ke.hasOwnProperty("segments"))throw new e("NativePlayer(".concat(ke.type,") doesn't support multipart playback!"));this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this)},this._pendingSeekTime=null,this._statisticsReporter=null,this._mediaDataSource=ke,this._mediaElement=null}return Object(m.a)(Me,[{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(re,be){var Ne=this;re===xe.MEDIA_INFO?this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){Ne._emitter.emit(xe.MEDIA_INFO,Ne.mediaInfo)}):re===xe.STATISTICS_INFO&&(this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){Ne._emitter.emit(xe.STATISTICS_INFO,Ne.statisticsInfo)})),this._emitter.addListener(re,be)}},{key:"off",value:function(re,be){this._emitter.removeListener(re,be)}},{key:"attachMediaElement",value:function(re){if(this._mediaElement=re,re.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{re.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(be){}}},{key:"detachMediaElement",value:function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement=null),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"load",value:function(){if(!this._mediaElement)throw new l("HTMLMediaElement must be attached before load()!");this._mediaElement.src=this._mediaDataSource.url,this._mediaElement.readyState>0&&(this._mediaElement.currentTime=0),this._mediaElement.preload="auto",this._mediaElement.load(),this._statisticsReporter=window.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval)}},{key:"unload",value:function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src")),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"play",value:function(){return this._mediaElement.play()}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"type",get:function(){return this._type}},{key:"buffered",get:function(){return this._mediaElement.buffered}},{key:"duration",get:function(){return this._mediaElement.duration}},{key:"volume",get:function(){return this._mediaElement.volume},set:function(re){this._mediaElement.volume=re}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(re){this._mediaElement.muted=re}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(re){this._mediaElement?this._mediaElement.currentTime=re:this._pendingSeekTime=re}},{key:"mediaInfo",get:function(){var re=this._mediaElement instanceof HTMLAudioElement?"audio/":"video/",be={mimeType:re+this._mediaDataSource.type};return this._mediaElement&&(be.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(be.width=this._mediaElement.videoWidth,be.height=this._mediaElement.videoHeight)),be}},{key:"statisticsInfo",get:function(){var re={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return re;var be=!0,Ne=0,Ke=0;if(this._mediaElement.getVideoPlaybackQuality){var Qe=this._mediaElement.getVideoPlaybackQuality();Ne=Qe.totalVideoFrames,Ke=Qe.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Ne=this._mediaElement.webkitDecodedFrameCount,Ke=this._mediaElement.webkitDroppedFrameCount):be=!1;return be&&(re.decodedFrames=Ne,re.droppedFrames=Ke),re}},{key:"_onvLoadedMetadata",value:function(re){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(xe.MEDIA_INFO,this.mediaInfo)}},{key:"_reportStatisticsInfo",value:function(){this._emitter.emit(xe.STATISTICS_INFO,this.statisticsInfo)}}]),Me}(),je=He;p.install();function We(Me,ke){var re=Me;if(re==null||typeof re!="object")throw new e("MediaDataSource must be an javascript object!");if(!re.hasOwnProperty("type"))throw new e("MediaDataSource must has type field to indicate video file type!");switch(re.type){case"flv":return new De(re,ke);default:return new je(re,ke)}}function nt(){return $.supportMSEH264Playback()}function xt(){return $.getFeatureList()}var It={};It.createPlayer=We,It.isSupported=nt,It.getFeatureList=xt,It.BaseLoader=A,It.LoaderStatus=u,It.LoaderErrors=f,It.Events=xe,It.ErrorTypes=le,It.ErrorDetails=oe,It.FlvPlayer=De,It.NativePlayer=je,It.LoggingControl=Ue,Object.defineProperty(It,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var ir=N.a=It},GVMX:function(B,N,r){var y=r("JEkh"),m=y.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"}});B.exports=m},GdRQ:function(B,N,r){"use strict";function y(_){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(S){return typeof S}:y=function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},y(_)}Object.defineProperty(N,"__esModule",{value:!0}),N.isMac=u,N.isWindows=f,N.isIOS=A,N.isSafari=v,N.isIE=x,N.isEdge=b,N.isFirefox=w,N.hasScrollbarGutter=N.supportsImageMetadata=N.supportsCursorURIs=N.dragThreshold=N.isTouchDevice=void 0;var m=p(r("Lo0S"));function C(){if(typeof WeakMap!="function")return null;var _=new WeakMap;return C=function(){return _},_}function p(_){if(_&&_.__esModule)return _;if(_===null||y(_)!=="object"&&typeof _!="function")return{default:_};var T=C();if(T&&T.has(_))return T.get(_);var S={},E=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var I in _)if(Object.prototype.hasOwnProperty.call(_,I)){var O=E?Object.getOwnPropertyDescriptor(_,I):null;O&&(O.get||O.set)?Object.defineProperty(S,I,O):S[I]=_[I]}return S.default=_,T&&T.set(_,S),S}var g="ontouchstart"in document.documentElement||document.ontouchstart!==void 0||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;N.isTouchDevice=g,window.addEventListener("touchstart",function _(){N.isTouchDevice=g=!0,window.removeEventListener("touchstart",_,!1)},!1);var h=10*(window.devicePixelRatio||1);N.dragThreshold=h;var c=!1;try{var o=document.createElement("canvas");o.style.cursor='url("data:image/x-icon;base64,AAACAAEACAgAAAIAAgA4AQAAFgAAACgAAAAIAAAAEAAAAAEAIAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAD/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAAAAAAAAAAAAAAAAAAAAA==") 2 2, default',o.style.cursor.indexOf("url")===0?(m.Info("Data URI scheme cursor supported"),c=!0):m.Warn("Data URI scheme cursor not supported")}catch(_){m.Error("Data URI scheme cursor test exception: "+_)}var n=c;N.supportsCursorURIs=n;var t=!1;try{new ImageData(new Uint8ClampedArray(4),1,1),t=!0}catch(_){}var a=t;N.supportsImageMetadata=a;var d=!0;try{var i=document.createElement("div");i.style.visibility="hidden",i.style.overflow="scroll",document.body.appendChild(i);var l=document.createElement("div");i.appendChild(l);var e=i.offsetWidth-l.offsetWidth;i.parentNode.removeChild(i),d=e!=0}catch(_){m.Error("Scrollbar test exception: "+_)}var s=d;N.hasScrollbarGutter=s;function u(){return navigator&&!!/mac/i.exec(navigator.platform)}function f(){return navigator&&!!/win/i.exec(navigator.platform)}function A(){return navigator&&(!!/ipad/i.exec(navigator.platform)||!!/iphone/i.exec(navigator.platform)||!!/ipod/i.exec(navigator.platform))}function v(){return navigator&&navigator.userAgent.indexOf("Safari")!==-1&&navigator.userAgent.indexOf("Chrome")===-1}function x(){return navigator&&!!/trident/i.exec(navigator.userAgent)}function b(){return navigator&&!!/edge/i.exec(navigator.userAgent)}function w(){return navigator&&!!/firefox/i.exec(navigator.userAgent)}},GeKi:function(B,N,r){var y=r("bYtY"),m=r("6Ic6"),C=r("IwbS"),p=r("y+Vt"),g=r("sK/D"),h=g.createClipPath,c=["itemStyle"],o=["emphasis","itemStyle"],n=["color","color0","borderColor","borderColor0"],t=m.extend({type:"candlestick",render:function(v,x,b){this.group.removeClipPath(),this._updateDrawMode(v),this._isLargeDraw?this._renderLarge(v):this._renderNormal(v)},incrementalPrepareRender:function(v,x,b){this._clear(),this._updateDrawMode(v)},incrementalRender:function(v,x,b,w){this._isLargeDraw?this._incrementalRenderLarge(v,x):this._incrementalRenderNormal(v,x)},_updateDrawMode:function(v){var x=v.pipelineContext.large;(this._isLargeDraw==null||x^this._isLargeDraw)&&(this._isLargeDraw=x,this._clear())},_renderNormal:function(v){var x=v.getData(),b=this._data,w=this.group,_=x.getLayout("isSimpleBox"),T=v.get("clip",!0),S=v.coordinateSystem,E=S.getArea&&S.getArea();this._data||w.removeAll(),x.diff(b).add(function(I){if(x.hasValue(I)){var O,F=x.getItemLayout(I);if(T&&i(E,F))return;O=d(F,I,!0),C.initProps(O,{shape:{points:F.ends}},v,I),l(O,x,I,_),w.add(O),x.setItemGraphicEl(I,O)}}).update(function(I,O){var F=b.getItemGraphicEl(O);if(!x.hasValue(I)){w.remove(F);return}var k=x.getItemLayout(I);if(T&&i(E,k)){w.remove(F);return}F?C.updateProps(F,{shape:{points:k.ends}},v,I):F=d(k,I),l(F,x,I,_),w.add(F),x.setItemGraphicEl(I,F)}).remove(function(I){var O=b.getItemGraphicEl(I);O&&w.remove(O)}).execute(),this._data=x},_renderLarge:function(v){this._clear(),u(v,this.group);var x=v.get("clip",!0)?h(v.coordinateSystem,!1,v):null;x?this.group.setClipPath(x):this.group.removeClipPath()},_incrementalRenderNormal:function(v,x){for(var b=x.getData(),w=b.getLayout("isSimpleBox"),_;(_=v.next())!=null;){var T,S=b.getItemLayout(_);T=d(S,_),l(T,b,_,w),T.incremental=!0,this.group.add(T)}},_incrementalRenderLarge:function(v,x){u(x,this.group,!0)},remove:function(v){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:y.noop}),a=p.extend({type:"normalCandlestickBox",shape:{},buildPath:function(v,x){var b=x.points;this.__simpleBox?(v.moveTo(b[4][0],b[4][1]),v.lineTo(b[6][0],b[6][1])):(v.moveTo(b[0][0],b[0][1]),v.lineTo(b[1][0],b[1][1]),v.lineTo(b[2][0],b[2][1]),v.lineTo(b[3][0],b[3][1]),v.closePath(),v.moveTo(b[4][0],b[4][1]),v.lineTo(b[5][0],b[5][1]),v.moveTo(b[6][0],b[6][1]),v.lineTo(b[7][0],b[7][1]))}});function d(v,x,b){var w=v.ends;return new a({shape:{points:b?e(w,v):w},z2:100})}function i(v,x){for(var b=!0,w=0;w<x.ends.length;w++)if(v.contain(x.ends[w][0],x.ends[w][1])){b=!1;break}return b}function l(v,x,b,w){var _=x.getItemModel(b),T=_.getModel(c),S=x.getItemVisual(b,"color"),E=x.getItemVisual(b,"borderColor")||S,I=T.getItemStyle(n);v.useStyle(I),v.style.strokeNoScale=!0,v.style.fill=S,v.style.stroke=E,v.__simpleBox=w;var O=_.getModel(o).getItemStyle();C.setHoverStyle(v,O)}function e(v,x){return y.map(v,function(b){return b=b.slice(),b[1]=x.initBaseline,b})}var s=p.extend({type:"largeCandlestickBox",shape:{},buildPath:function(v,x){for(var b=x.points,w=0;w<b.length;)if(this.__sign===b[w++]){var _=b[w++];v.moveTo(_,b[w++]),v.lineTo(_,b[w++])}else w+=3}});function u(v,x,b){var w=v.getData(),_=w.getLayout("largePoints"),T=new s({shape:{points:_},__sign:1});x.add(T);var S=new s({shape:{points:_},__sign:-1});x.add(S),f(1,T,v,w),f(-1,S,v,w),b&&(T.incremental=!0,S.incremental=!0)}function f(v,x,b,w){var _=v>0?"P":"N",T=w.getVisual("borderColor"+_)||w.getVisual("color"+_),S=b.getModel(c).getItemStyle(n);x.useStyle(S),x.style.fill=null,x.style.stroke=T}var A=t;B.exports=A},Gev7:function(B,N,r){var y=r("bYtY"),m=r("K2GJ"),C=r("1bdT"),p=r("ni6a");function g(c){c=c||{},C.call(this,c);for(var o in c)c.hasOwnProperty(o)&&o!=="style"&&(this[o]=c[o]);this.style=new m(c.style,this),this._rect=null,this.__clipPaths=null}g.prototype={constructor:g,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(o){},afterBrush:function(o){},brush:function(o,n){},getBoundingRect:function(){},contain:function(o,n){return this.rectContain(o,n)},traverse:function(o,n){o.call(n,this)},rectContain:function(o,n){var t=this.transformCoordToLocal(o,n),a=this.getBoundingRect();return a.contain(t[0],t[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(o){return this.animate("style",o)},attrKV:function(o,n){o!=="style"?C.prototype.attrKV.call(this,o,n):this.style.set(n)},setStyle:function(o,n){return this.style.set(o,n),this.dirty(!1),this},useStyle:function(o){return this.style=new m(o,this),this.dirty(!1),this},calculateTextPosition:null},y.inherits(g,C),y.mixin(g,p);var h=g;B.exports=h},GrNh:function(B,N,r){var y=r("bYtY"),m=r("IwbS"),C=r("6Ic6");function p(t,a,d,i){var l=a.getData(),e=this.dataIndex,s=l.getName(e),u=a.get("selectedOffset");i.dispatchAction({type:"pieToggleSelect",from:t,name:s,seriesId:a.id}),l.each(function(f){g(l.getItemGraphicEl(f),l.getItemLayout(f),a.isSelected(l.getName(f)),u,d)})}function g(t,a,d,i,l){var e=(a.startAngle+a.endAngle)/2,s=Math.cos(e),u=Math.sin(e),f=d?i:0,A=[s*f,u*f];l?t.animate().when(200,{position:A}).start("bounceOut"):t.attr("position",A)}function h(t,a){m.Group.call(this);var d=new m.Sector({z2:2}),i=new m.Polyline,l=new m.Text;this.add(d),this.add(i),this.add(l),this.updateData(t,a,!0)}var c=h.prototype;c.updateData=function(t,a,d){var i=this.childAt(0),l=this.childAt(1),e=this.childAt(2),s=t.hostModel,u=t.getItemModel(a),f=t.getItemLayout(a),A=y.extend({},f);A.label=null;var v=s.getShallow("animationTypeUpdate");if(d){i.setShape(A);var x=s.getShallow("animationType");x==="scale"?(i.shape.r=f.r0,m.initProps(i,{shape:{r:f.r}},s,a)):(i.shape.endAngle=f.startAngle,m.updateProps(i,{shape:{endAngle:f.endAngle}},s,a))}else v==="expansion"?i.setShape(A):m.updateProps(i,{shape:A},s,a);var b=t.getItemVisual(a,"color");i.useStyle(y.defaults({lineJoin:"bevel",fill:b},u.getModel("itemStyle").getItemStyle())),i.hoverStyle=u.getModel("emphasis.itemStyle").getItemStyle();var w=u.getShallow("cursor");w&&i.attr("cursor",w),g(this,t.getItemLayout(a),s.isSelected(t.getName(a)),s.get("selectedOffset"),s.get("animation"));var _=!d&&v==="transition";this._updateLabel(t,a,_),this.highDownOnUpdate=s.get("silent")?null:function(T,S){var E=s.isAnimationEnabled()&&u.get("hoverAnimation");S==="emphasis"?(l.ignore=l.hoverIgnore,e.ignore=e.hoverIgnore,E&&(i.stopAnimation(!0),i.animateTo({shape:{r:f.r+s.get("hoverOffset")}},300,"elasticOut"))):(l.ignore=l.normalIgnore,e.ignore=e.normalIgnore,E&&(i.stopAnimation(!0),i.animateTo({shape:{r:f.r}},300,"elasticOut")))},m.setHoverStyle(this)},c._updateLabel=function(t,a,d){var i=this.childAt(1),l=this.childAt(2),e=t.hostModel,s=t.getItemModel(a),u=t.getItemLayout(a),f=u.label,A=t.getItemVisual(a,"color");if(!f||isNaN(f.x)||isNaN(f.y)){l.ignore=l.normalIgnore=l.hoverIgnore=i.ignore=i.normalIgnore=i.hoverIgnore=!0;return}var v={points:f.linePoints||[[f.x,f.y],[f.x,f.y],[f.x,f.y]]},x={x:f.x,y:f.y};d?(m.updateProps(i,{shape:v},e,a),m.updateProps(l,{style:x},e,a)):(i.attr({shape:v}),l.attr({style:x})),l.attr({rotation:f.rotation,origin:[f.x,f.y],z2:10});var b=s.getModel("label"),w=s.getModel("emphasis.label"),_=s.getModel("labelLine"),T=s.getModel("emphasis.labelLine"),A=t.getItemVisual(a,"color");m.setLabelStyle(l.style,l.hoverStyle={},b,w,{labelFetcher:t.hostModel,labelDataIndex:a,defaultText:f.text,autoColor:A,useInsideStyle:!!f.inside},{textAlign:f.textAlign,textVerticalAlign:f.verticalAlign,opacity:t.getItemVisual(a,"opacity")}),l.ignore=l.normalIgnore=!b.get("show"),l.hoverIgnore=!w.get("show"),i.ignore=i.normalIgnore=!_.get("show"),i.hoverIgnore=!T.get("show"),i.setStyle({stroke:A,opacity:t.getItemVisual(a,"opacity")}),i.setStyle(_.getModel("lineStyle").getLineStyle()),i.hoverStyle=T.getModel("lineStyle").getLineStyle();var S=_.get("smooth");S&&S===!0&&(S=.4),i.setShape({smooth:S})},y.inherits(h,m.Group);var o=C.extend({type:"pie",init:function(){var t=new m.Group;this._sectorGroup=t},render:function(t,a,d,i){if(i&&i.from===this.uid)return;var l=t.getData(),e=this._data,s=this.group,u=a.get("animation"),f=!e,A=t.get("animationType"),v=t.get("animationTypeUpdate"),x=y.curry(p,this.uid,t,u,d),b=t.get("selectedMode");if(l.diff(e).add(function(E){var I=new h(l,E);f&&A!=="scale"&&I.eachChild(function(O){O.stopAnimation(!0)}),b&&I.on("click",x),l.setItemGraphicEl(E,I),s.add(I)}).update(function(E,I){var O=e.getItemGraphicEl(I);!f&&v!=="transition"&&O.eachChild(function(F){F.stopAnimation(!0)}),O.updateData(l,E),O.off("click"),b&&O.on("click",x),s.add(O),l.setItemGraphicEl(E,O)}).remove(function(E){var I=e.getItemGraphicEl(E);s.remove(I)}).execute(),u&&l.count()>0&&(f?A!=="scale":v!=="transition")){for(var w=l.getItemLayout(0),_=1;isNaN(w.startAngle)&&_<l.count();++_)w=l.getItemLayout(_);var T=Math.max(d.getWidth(),d.getHeight())/2,S=y.bind(s.removeClipPath,s);s.setClipPath(this._createClipPath(w.cx,w.cy,T,w.startAngle,w.clockwise,S,t,f))}else s.removeClipPath();this._data=l},dispose:function(){},_createClipPath:function(t,a,d,i,l,e,s,u){var f=new m.Sector({shape:{cx:t,cy:a,r0:0,r:d,startAngle:i,endAngle:i,clockwise:l}}),A=u?m.initProps:m.updateProps;return A(f,{shape:{endAngle:i+(l?1:-1)*Math.PI*2}},s,e),f},containPoint:function(t,a){var d=a.getData(),i=d.getItemLayout(0);if(i){var l=t[0]-i.cx,e=t[1]-i.cy,s=Math.sqrt(l*l+e*e);return s<=i.r&&s>=i.r0}}}),n=o;B.exports=n},Gytx:function(B,N){B.exports=function(y,m,C,p){var g=C?C.call(p,y,m):void 0;if(g!==void 0)return!!g;if(y===m)return!0;if(typeof y!="object"||!y||typeof m!="object"||!m)return!1;var h=Object.keys(y),c=Object.keys(m);if(h.length!==c.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(m),n=0;n<h.length;n++){var t=h[n];if(!o(t))return!1;var a=y[t],d=m[t];if(g=C?C.call(p,a,d,t):void 0,g===!1||g===void 0&&a!==d)return!1}return!0}},GzdX:function(B,N,r){"use strict";var y=r("pVnL"),m=r.n(y),C=r("q1tI"),p=r.n(C),g=r("rePB"),h=r("1OyB"),c=r("vuIU"),o=r("Ji7U"),n=r("md7G"),t=r("foSv"),a=r("m+aA"),d=r("TSYQ"),i=r.n(d),l=r("4IlW");function e(H){var U=H.pageXOffset,z="scrollLeft";if(typeof U!="number"){var K=H.document;U=K.documentElement[z],typeof U!="number"&&(U=K.body[z])}return U}function s(H){var U,z,K=H.ownerDocument,G=K.body,X=K&&K.documentElement,Z=H.getBoundingClientRect();return U=Z.left,z=Z.top,U-=X.clientLeft||G.clientLeft||0,z-=X.clientTop||G.clientTop||0,{left:U,top:z}}function u(H){var U=s(H),z=H.ownerDocument,K=z.defaultView||z.parentWindow;return U.left+=e(K),U.left}function f(H){var U=A();return function(){var K=Object(t.a)(H),G;if(U){var X=Object(t.a)(this).constructor;G=Reflect.construct(K,arguments,X)}else G=K.apply(this,arguments);return Object(n.a)(this,G)}}function A(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(H){return!1}}var v=function(H){Object(o.a)(z,H);var U=f(z);function z(){var K;return Object(h.a)(this,z),K=U.apply(this,arguments),K.onHover=function(G){var X=K.props,Z=X.onHover,ee=X.index;Z(G,ee)},K.onClick=function(G){var X=K.props,Z=X.onClick,ee=X.index;Z(G,ee)},K.onKeyDown=function(G){var X=K.props,Z=X.onClick,ee=X.index;G.keyCode===13&&Z(G,ee)},K}return Object(c.a)(z,[{key:"getClassName",value:function(){var G=this.props,X=G.prefixCls,Z=G.index,ee=G.value,Se=G.allowHalf,$=G.focused,pe=Z+1,xe=X;return ee===0&&Z===0&&$?xe+=" ".concat(X,"-focused"):Se&&ee+.5>=pe&&ee<pe?(xe+=" ".concat(X,"-half ").concat(X,"-active"),$&&(xe+=" ".concat(X,"-focused"))):(xe+=pe<=ee?" ".concat(X,"-full"):" ".concat(X,"-zero"),pe===ee&&$&&(xe+=" ".concat(X,"-focused"))),xe}},{key:"render",value:function(){var G=this.onHover,X=this.onClick,Z=this.onKeyDown,ee=this.props,Se=ee.disabled,$=ee.prefixCls,pe=ee.character,xe=ee.characterRender,_e=ee.index,Ue=ee.count,ye=ee.value,Be=typeof pe=="function"?pe(this.props):pe,Q=p.a.createElement("li",{className:this.getClassName()},p.a.createElement("div",{onClick:Se?null:X,onKeyDown:Se?null:Z,onMouseMove:Se?null:G,role:"radio","aria-checked":ye>_e?"true":"false","aria-posinset":_e+1,"aria-setsize":Ue,tabIndex:Se?-1:0},p.a.createElement("div",{className:"".concat($,"-first")},Be),p.a.createElement("div",{className:"".concat($,"-second")},Be)));return xe&&(Q=xe(Q,this.props)),Q}}]),z}(p.a.Component);function x(H,U){var z=Object.keys(H);if(Object.getOwnPropertySymbols){var K=Object.getOwnPropertySymbols(H);U&&(K=K.filter(function(G){return Object.getOwnPropertyDescriptor(H,G).enumerable})),z.push.apply(z,K)}return z}function b(H){for(var U=1;U<arguments.length;U++){var z=arguments[U]!=null?arguments[U]:{};U%2?x(Object(z),!0).forEach(function(K){Object(g.a)(H,K,z[K])}):Object.getOwnPropertyDescriptors?Object.defineProperties(H,Object.getOwnPropertyDescriptors(z)):x(Object(z)).forEach(function(K){Object.defineProperty(H,K,Object.getOwnPropertyDescriptor(z,K))})}return H}function w(H){var U=_();return function(){var K=Object(t.a)(H),G;if(U){var X=Object(t.a)(this).constructor;G=Reflect.construct(K,arguments,X)}else G=K.apply(this,arguments);return Object(n.a)(this,G)}}function _(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(H){return!1}}function T(){}var S=function(H){Object(o.a)(z,H);var U=w(z);function z(K){var G;Object(h.a)(this,z),G=U.call(this,K),G.onHover=function(Z,ee){var Se=G.props.onHoverChange,$=G.getStarValue(ee,Z.pageX),pe=G.state.cleanedValue;$!==pe&&G.setState({hoverValue:$,cleanedValue:null}),Se($)},G.onMouseLeave=function(){var Z=G.props.onHoverChange;G.setState({hoverValue:void 0,cleanedValue:null}),Z(void 0)},G.onClick=function(Z,ee){var Se=G.props.allowClear,$=G.state.value,pe=G.getStarValue(ee,Z.pageX),xe=!1;Se&&(xe=pe===$),G.onMouseLeave(),G.changeValue(xe?0:pe),G.setState({cleanedValue:xe?pe:null})},G.onFocus=function(){var Z=G.props.onFocus;G.setState({focused:!0}),Z&&Z()},G.onBlur=function(){var Z=G.props.onBlur;G.setState({focused:!1}),Z&&Z()},G.onKeyDown=function(Z){var ee=Z.keyCode,Se=G.props,$=Se.count,pe=Se.allowHalf,xe=Se.onKeyDown,_e=Se.direction,Ue=_e==="rtl",ye=G.state.value;ee===l.a.RIGHT&&ye<$&&!Ue?(pe?ye+=.5:ye+=1,G.changeValue(ye),Z.preventDefault()):ee===l.a.LEFT&&ye>0&&!Ue||ee===l.a.RIGHT&&ye>0&&Ue?(pe?ye-=.5:ye-=1,G.changeValue(ye),Z.preventDefault()):ee===l.a.LEFT&&ye<$&&Ue&&(pe?ye+=.5:ye+=1,G.changeValue(ye),Z.preventDefault()),xe&&xe(Z)},G.saveRef=function(Z){return function(ee){G.stars[Z]=ee}},G.saveRate=function(Z){G.rate=Z};var X=K.value;return X===void 0&&(X=K.defaultValue),G.stars={},G.state={value:X,focused:!1,cleanedValue:null},G}return Object(c.a)(z,[{key:"componentDidMount",value:function(){var G=this.props,X=G.autoFocus,Z=G.disabled;X&&!Z&&this.focus()}},{key:"getStarDOM",value:function(G){return Object(a.a)(this.stars[G])}},{key:"getStarValue",value:function(G,X){var Z=this.props,ee=Z.allowHalf,Se=Z.direction,$=Se==="rtl",pe=G+1;if(ee){var xe=this.getStarDOM(G),_e=u(xe),Ue=xe.clientWidth;($&&X-_e>Ue/2||!$&&X-_e<Ue/2)&&(pe-=.5)}return pe}},{key:"focus",value:function(){var G=this.props.disabled;G||this.rate.focus()}},{key:"blur",value:function(){var G=this.props.disabled;G||this.rate.blur()}},{key:"changeValue",value:function(G){var X=this.props.onChange;"value"in this.props||this.setState({value:G}),X(G)}},{key:"render",value:function(){for(var G=this.props,X=G.count,Z=G.allowHalf,ee=G.style,Se=G.prefixCls,$=G.disabled,pe=G.className,xe=G.character,_e=G.characterRender,Ue=G.tabIndex,ye=G.direction,Be=this.state,Q=Be.value,ie=Be.hoverValue,Ve=Be.focused,J=[],W=$?"".concat(Se,"-disabled"):"",j=0;j<X;j+=1)J.push(p.a.createElement(v,{ref:this.saveRef(j),index:j,count:X,disabled:$,prefixCls:"".concat(Se,"-star"),allowHalf:Z,value:ie===void 0?Q:ie,onClick:this.onClick,onHover:this.onHover,key:j,character:xe,characterRender:_e,focused:Ve}));var Y=i()(Se,W,pe,Object(g.a)({},"".concat(Se,"-rtl"),ye==="rtl"));return p.a.createElement("ul",{className:Y,style:ee,onMouseLeave:$?null:this.onMouseLeave,tabIndex:$?-1:Ue,onFocus:$?null:this.onFocus,onBlur:$?null:this.onBlur,onKeyDown:$?null:this.onKeyDown,ref:this.saveRate,role:"radiogroup"},J)}}],[{key:"getDerivedStateFromProps",value:function(G,X){return"value"in G&&G.value!==void 0?b(b({},X),{},{value:G.value}):X}}]),z}(p.a.Component);S.defaultProps={defaultValue:0,count:5,allowHalf:!1,allowClear:!0,style:{},prefixCls:"rc-rate",onChange:T,character:"\u2605",onHoverChange:T,tabIndex:0,direction:"ltr"};var E=S,I=E,O=r("Lerx"),F=r.n(O),k=r("3S7+"),M=r("H84U"),P=function(H,U){var z={};for(var K in H)Object.prototype.hasOwnProperty.call(H,K)&&U.indexOf(K)<0&&(z[K]=H[K]);if(H!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,K=Object.getOwnPropertySymbols(H);G<K.length;G++)U.indexOf(K[G])<0&&Object.prototype.propertyIsEnumerable.call(H,K[G])&&(z[K[G]]=H[K[G]]);return z},V=C.forwardRef(function(H,U){var z=H.prefixCls,K=H.tooltips,G=P(H,["prefixCls","tooltips"]),X=function(xe,_e){var Ue=_e.index;return K?C.createElement(k.a,{title:K[Ue]},xe):xe},Z=C.useContext(M.b),ee=Z.getPrefixCls,Se=Z.direction,$=ee("rate",z);return C.createElement(I,m()({ref:U,characterRender:X},G,{prefixCls:$,direction:Se}))});V.displayName="Rate",V.defaultProps={character:C.createElement(F.a,null)};var D=N.a=V},H6uX:function(B,N){var r=Array.prototype.slice,y=function(h){this._$handlers={},this._$eventProcessor=h};y.prototype={constructor:y,one:function(h,c,o,n){return C(this,h,c,o,n,!0)},on:function(h,c,o,n){return C(this,h,c,o,n,!1)},isSilent:function(h){var c=this._$handlers;return!c[h]||!c[h].length},off:function(h,c){var o=this._$handlers;if(!h)return this._$handlers={},this;if(c){if(o[h]){for(var n=[],t=0,a=o[h].length;t<a;t++)o[h][t].h!==c&&n.push(o[h][t]);o[h]=n}o[h]&&o[h].length===0&&delete o[h]}else delete o[h];return this},trigger:function(h){var c=this._$handlers[h],o=this._$eventProcessor;if(c){var n=arguments,t=n.length;t>3&&(n=r.call(n,1));for(var a=c.length,d=0;d<a;){var i=c[d];if(o&&o.filter&&i.query!=null&&!o.filter(h,i.query)){d++;continue}switch(t){case 1:i.h.call(i.ctx);break;case 2:i.h.call(i.ctx,n[1]);break;case 3:i.h.call(i.ctx,n[1],n[2]);break;default:i.h.apply(i.ctx,n);break}i.one?(c.splice(d,1),a--):d++}}return o&&o.afterTrigger&&o.afterTrigger(h),this},triggerWithContext:function(h){var c=this._$handlers[h],o=this._$eventProcessor;if(c){var n=arguments,t=n.length;t>4&&(n=r.call(n,1,n.length-1));for(var a=n[n.length-1],d=c.length,i=0;i<d;){var l=c[i];if(o&&o.filter&&l.query!=null&&!o.filter(h,l.query)){i++;continue}switch(t){case 1:l.h.call(a);break;case 2:l.h.call(a,n[1]);break;case 3:l.h.call(a,n[1],n[2]);break;default:l.h.apply(a,n);break}l.one?(c.splice(i,1),d--):i++}}return o&&o.afterTrigger&&o.afterTrigger(h),this}};function m(g,h){var c=g._$eventProcessor;return h!=null&&c&&c.normalizeQuery&&(h=c.normalizeQuery(h)),h}function C(g,h,c,o,n,t){var a=g._$handlers;if(typeof c=="function"&&(n=o,o=c,c=null),!o||!h)return g;c=m(g,c),a[h]||(a[h]=[]);for(var d=0;d<a[h].length;d++)if(a[h][d].h===o)return g;var i={h:o,one:t,query:c,ctx:n||g,callAtLast:o.zrEventfulCallAtLast},l=a[h].length-1,e=a[h][l];return e&&e.callAtLast?a[h].splice(l,0,i):a[h].push(i),g}var p=y;B.exports=p},H7XF:function(B,N,r){"use strict";N.byteLength=o,N.toByteArray=t,N.fromByteArray=i;for(var y=[],m=[],C=typeof Uint8Array!="undefined"?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g=0,h=p.length;g<h;++g)y[g]=p[g],m[p.charCodeAt(g)]=g;m["-".charCodeAt(0)]=62,m["_".charCodeAt(0)]=63;function c(l){var e=l.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var s=l.indexOf("=");s===-1&&(s=e);var u=s===e?0:4-s%4;return[s,u]}function o(l){var e=c(l),s=e[0],u=e[1];return(s+u)*3/4-u}function n(l,e,s){return(e+s)*3/4-s}function t(l){var e,s=c(l),u=s[0],f=s[1],A=new C(n(l,u,f)),v=0,x=f>0?u-4:u,b;for(b=0;b<x;b+=4)e=m[l.charCodeAt(b)]<<18|m[l.charCodeAt(b+1)]<<12|m[l.charCodeAt(b+2)]<<6|m[l.charCodeAt(b+3)],A[v++]=e>>16&255,A[v++]=e>>8&255,A[v++]=e&255;return f===2&&(e=m[l.charCodeAt(b)]<<2|m[l.charCodeAt(b+1)]>>4,A[v++]=e&255),f===1&&(e=m[l.charCodeAt(b)]<<10|m[l.charCodeAt(b+1)]<<4|m[l.charCodeAt(b+2)]>>2,A[v++]=e>>8&255,A[v++]=e&255),A}function a(l){return y[l>>18&63]+y[l>>12&63]+y[l>>6&63]+y[l&63]}function d(l,e,s){for(var u,f=[],A=e;A<s;A+=3)u=(l[A]<<16&16711680)+(l[A+1]<<8&65280)+(l[A+2]&255),f.push(a(u));return f.join("")}function i(l){for(var e,s=l.length,u=s%3,f=[],A=16383,v=0,x=s-u;v<x;v+=A)f.push(d(l,v,v+A>x?x:v+A));return u===1?(e=l[s-1],f.push(y[e>>2]+y[e<<4&63]+"==")):u===2&&(e=(l[s-2]<<8)+l[s-1],f.push(y[e>>10]+y[e>>4&63]+y[e<<2&63]+"=")),f.join("")}},HBhm:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"};N.default=y},HDXh:function(B,N,r){"use strict";(function(y){/*!
|
|
|
* The buffer module from node.js, for the browser.
|
|
|
*
|
|
|
* @author Feross Aboukhadijeh <http://feross.org>
|
|
|
* @license MIT
|
|
|
*/var m=r("H7XF"),C=r("kVK+"),p=r("v3Qx");N.Buffer=o,N.SlowBuffer=f,N.INSPECT_MAX_BYTES=50,o.TYPED_ARRAY_SUPPORT=y.TYPED_ARRAY_SUPPORT!==void 0?y.TYPED_ARRAY_SUPPORT:g(),N.kMaxLength=h();function g(){try{var J=new Uint8Array(1);return J.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},J.foo()===42&&typeof J.subarray=="function"&&J.subarray(1,1).byteLength===0}catch(W){return!1}}function h(){return o.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(J,W){if(h()<W)throw new RangeError("Invalid typed array length");return o.TYPED_ARRAY_SUPPORT?(J=new Uint8Array(W),J.__proto__=o.prototype):(J===null&&(J=new o(W)),J.length=W),J}function o(J,W,j){if(!o.TYPED_ARRAY_SUPPORT&&!(this instanceof o))return new o(J,W,j);if(typeof J=="number"){if(typeof W=="string")throw new Error("If encoding is specified then the first argument must be a string");return d(this,J)}return n(this,J,W,j)}o.poolSize=8192,o._augment=function(J){return J.__proto__=o.prototype,J};function n(J,W,j,Y){if(typeof W=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&W instanceof ArrayBuffer?e(J,W,j,Y):typeof W=="string"?i(J,W,j):s(J,W)}o.from=function(J,W,j){return n(null,J,W,j)},o.TYPED_ARRAY_SUPPORT&&(o.prototype.__proto__=Uint8Array.prototype,o.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&o[Symbol.species]===o&&Object.defineProperty(o,Symbol.species,{value:null,configurable:!0}));function t(J){if(typeof J!="number")throw new TypeError('"size" argument must be a number');if(J<0)throw new RangeError('"size" argument must not be negative')}function a(J,W,j,Y){return t(W),W<=0?c(J,W):j!==void 0?typeof Y=="string"?c(J,W).fill(j,Y):c(J,W).fill(j):c(J,W)}o.alloc=function(J,W,j){return a(null,J,W,j)};function d(J,W){if(t(W),J=c(J,W<0?0:u(W)|0),!o.TYPED_ARRAY_SUPPORT)for(var j=0;j<W;++j)J[j]=0;return J}o.allocUnsafe=function(J){return d(null,J)},o.allocUnsafeSlow=function(J){return d(null,J)};function i(J,W,j){if((typeof j!="string"||j==="")&&(j="utf8"),!o.isEncoding(j))throw new TypeError('"encoding" must be a valid string encoding');var Y=A(W,j)|0;J=c(J,Y);var me=J.write(W,j);return me!==Y&&(J=J.slice(0,me)),J}function l(J,W){var j=W.length<0?0:u(W.length)|0;J=c(J,j);for(var Y=0;Y<j;Y+=1)J[Y]=W[Y]&255;return J}function e(J,W,j,Y){if(W.byteLength,j<0||W.byteLength<j)throw new RangeError("'offset' is out of bounds");if(W.byteLength<j+(Y||0))throw new RangeError("'length' is out of bounds");return j===void 0&&Y===void 0?W=new Uint8Array(W):Y===void 0?W=new Uint8Array(W,j):W=new Uint8Array(W,j,Y),o.TYPED_ARRAY_SUPPORT?(J=W,J.__proto__=o.prototype):J=l(J,W),J}function s(J,W){if(o.isBuffer(W)){var j=u(W.length)|0;return J=c(J,j),J.length===0||W.copy(J,0,0,j),J}if(W){if(typeof ArrayBuffer!="undefined"&&W.buffer instanceof ArrayBuffer||"length"in W)return typeof W.length!="number"||Ve(W.length)?c(J,0):l(J,W);if(W.type==="Buffer"&&p(W.data))return l(J,W.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function u(J){if(J>=h())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+h().toString(16)+" bytes");return J|0}function f(J){return+J!=J&&(J=0),o.alloc(+J)}o.isBuffer=function(W){return!!(W!=null&&W._isBuffer)},o.compare=function(W,j){if(!o.isBuffer(W)||!o.isBuffer(j))throw new TypeError("Arguments must be Buffers");if(W===j)return 0;for(var Y=W.length,me=j.length,ae=0,Le=Math.min(Y,me);ae<Le;++ae)if(W[ae]!==j[ae]){Y=W[ae],me=j[ae];break}return Y<me?-1:me<Y?1:0},o.isEncoding=function(W){switch(String(W).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}},o.concat=function(W,j){if(!p(W))throw new TypeError('"list" argument must be an Array of Buffers');if(W.length===0)return o.alloc(0);var Y;if(j===void 0)for(j=0,Y=0;Y<W.length;++Y)j+=W[Y].length;var me=o.allocUnsafe(j),ae=0;for(Y=0;Y<W.length;++Y){var Le=W[Y];if(!o.isBuffer(Le))throw new TypeError('"list" argument must be an Array of Buffers');Le.copy(me,ae),ae+=Le.length}return me};function A(J,W){if(o.isBuffer(J))return J.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(J)||J instanceof ArrayBuffer))return J.byteLength;typeof J!="string"&&(J=""+J);var j=J.length;if(j===0)return 0;for(var Y=!1;;)switch(W){case"ascii":case"latin1":case"binary":return j;case"utf8":case"utf-8":case void 0:return Ue(J).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j*2;case"hex":return j>>>1;case"base64":return Q(J).length;default:if(Y)return Ue(J).length;W=(""+W).toLowerCase(),Y=!0}}o.byteLength=A;function v(J,W,j){var Y=!1;if((W===void 0||W<0)&&(W=0),W>this.length)return"";if((j===void 0||j>this.length)&&(j=this.length),j<=0)return"";if(j>>>=0,W>>>=0,j<=W)return"";for(J||(J="utf8");;)switch(J){case"hex":return H(this,W,j);case"utf8":case"utf-8":return k(this,W,j);case"ascii":return V(this,W,j);case"latin1":case"binary":return D(this,W,j);case"base64":return F(this,W,j);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,W,j);default:if(Y)throw new TypeError("Unknown encoding: "+J);J=(J+"").toLowerCase(),Y=!0}}o.prototype._isBuffer=!0;function x(J,W,j){var Y=J[W];J[W]=J[j],J[j]=Y}o.prototype.swap16=function(){var W=this.length;if(W%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var j=0;j<W;j+=2)x(this,j,j+1);return this},o.prototype.swap32=function(){var W=this.length;if(W%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var j=0;j<W;j+=4)x(this,j,j+3),x(this,j+1,j+2);return this},o.prototype.swap64=function(){var W=this.length;if(W%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var j=0;j<W;j+=8)x(this,j,j+7),x(this,j+1,j+6),x(this,j+2,j+5),x(this,j+3,j+4);return this},o.prototype.toString=function(){var W=this.length|0;return W===0?"":arguments.length===0?k(this,0,W):v.apply(this,arguments)},o.prototype.equals=function(W){if(!o.isBuffer(W))throw new TypeError("Argument must be a Buffer");return this===W?!0:o.compare(this,W)===0},o.prototype.inspect=function(){var W="",j=N.INSPECT_MAX_BYTES;return this.length>0&&(W=this.toString("hex",0,j).match(/.{2}/g).join(" "),this.length>j&&(W+=" ... ")),"<Buffer "+W+">"},o.prototype.compare=function(W,j,Y,me,ae){if(!o.isBuffer(W))throw new TypeError("Argument must be a Buffer");if(j===void 0&&(j=0),Y===void 0&&(Y=W?W.length:0),me===void 0&&(me=0),ae===void 0&&(ae=this.length),j<0||Y>W.length||me<0||ae>this.length)throw new RangeError("out of range index");if(me>=ae&&j>=Y)return 0;if(me>=ae)return-1;if(j>=Y)return 1;if(j>>>=0,Y>>>=0,me>>>=0,ae>>>=0,this===W)return 0;for(var Le=ae-me,Ee=Y-j,ne=Math.min(Le,Ee),ge=this.slice(me,ae),Ie=W.slice(j,Y),Ge=0;Ge<ne;++Ge)if(ge[Ge]!==Ie[Ge]){Le=ge[Ge],Ee=Ie[Ge];break}return Le<Ee?-1:Ee<Le?1:0};function b(J,W,j,Y,me){if(J.length===0)return-1;if(typeof j=="string"?(Y=j,j=0):j>2147483647?j=2147483647:j<-2147483648&&(j=-2147483648),j=+j,isNaN(j)&&(j=me?0:J.length-1),j<0&&(j=J.length+j),j>=J.length){if(me)return-1;j=J.length-1}else if(j<0)if(me)j=0;else return-1;if(typeof W=="string"&&(W=o.from(W,Y)),o.isBuffer(W))return W.length===0?-1:w(J,W,j,Y,me);if(typeof W=="number")return W=W&255,o.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?me?Uint8Array.prototype.indexOf.call(J,W,j):Uint8Array.prototype.lastIndexOf.call(J,W,j):w(J,[W],j,Y,me);throw new TypeError("val must be string, number or Buffer")}function w(J,W,j,Y,me){var ae=1,Le=J.length,Ee=W.length;if(Y!==void 0&&(Y=String(Y).toLowerCase(),Y==="ucs2"||Y==="ucs-2"||Y==="utf16le"||Y==="utf-16le")){if(J.length<2||W.length<2)return-1;ae=2,Le/=2,Ee/=2,j/=2}function ne(wt,Pe){return ae===1?wt[Pe]:wt.readUInt16BE(Pe*ae)}var ge;if(me){var Ie=-1;for(ge=j;ge<Le;ge++)if(ne(J,ge)===ne(W,Ie===-1?0:ge-Ie)){if(Ie===-1&&(Ie=ge),ge-Ie+1===Ee)return Ie*ae}else Ie!==-1&&(ge-=ge-Ie),Ie=-1}else for(j+Ee>Le&&(j=Le-Ee),ge=j;ge>=0;ge--){for(var Ge=!0,ut=0;ut<Ee;ut++)if(ne(J,ge+ut)!==ne(W,ut)){Ge=!1;break}if(Ge)return ge}return-1}o.prototype.includes=function(W,j,Y){return this.indexOf(W,j,Y)!==-1},o.prototype.indexOf=function(W,j,Y){return b(this,W,j,Y,!0)},o.prototype.lastIndexOf=function(W,j,Y){return b(this,W,j,Y,!1)};function _(J,W,j,Y){j=Number(j)||0;var me=J.length-j;Y?(Y=Number(Y),Y>me&&(Y=me)):Y=me;var ae=W.length;if(ae%2!==0)throw new TypeError("Invalid hex string");Y>ae/2&&(Y=ae/2);for(var Le=0;Le<Y;++Le){var Ee=parseInt(W.substr(Le*2,2),16);if(isNaN(Ee))return Le;J[j+Le]=Ee}return Le}function T(J,W,j,Y){return ie(Ue(W,J.length-j),J,j,Y)}function S(J,W,j,Y){return ie(ye(W),J,j,Y)}function E(J,W,j,Y){return S(J,W,j,Y)}function I(J,W,j,Y){return ie(Q(W),J,j,Y)}function O(J,W,j,Y){return ie(Be(W,J.length-j),J,j,Y)}o.prototype.write=function(W,j,Y,me){if(j===void 0)me="utf8",Y=this.length,j=0;else if(Y===void 0&&typeof j=="string")me=j,Y=this.length,j=0;else if(isFinite(j))j=j|0,isFinite(Y)?(Y=Y|0,me===void 0&&(me="utf8")):(me=Y,Y=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var ae=this.length-j;if((Y===void 0||Y>ae)&&(Y=ae),W.length>0&&(Y<0||j<0)||j>this.length)throw new RangeError("Attempt to write outside buffer bounds");me||(me="utf8");for(var Le=!1;;)switch(me){case"hex":return _(this,W,j,Y);case"utf8":case"utf-8":return T(this,W,j,Y);case"ascii":return S(this,W,j,Y);case"latin1":case"binary":return E(this,W,j,Y);case"base64":return I(this,W,j,Y);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,W,j,Y);default:if(Le)throw new TypeError("Unknown encoding: "+me);me=(""+me).toLowerCase(),Le=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function F(J,W,j){return W===0&&j===J.length?m.fromByteArray(J):m.fromByteArray(J.slice(W,j))}function k(J,W,j){j=Math.min(J.length,j);for(var Y=[],me=W;me<j;){var ae=J[me],Le=null,Ee=ae>239?4:ae>223?3:ae>191?2:1;if(me+Ee<=j){var ne,ge,Ie,Ge;switch(Ee){case 1:ae<128&&(Le=ae);break;case 2:ne=J[me+1],(ne&192)===128&&(Ge=(ae&31)<<6|ne&63,Ge>127&&(Le=Ge));break;case 3:ne=J[me+1],ge=J[me+2],(ne&192)===128&&(ge&192)===128&&(Ge=(ae&15)<<12|(ne&63)<<6|ge&63,Ge>2047&&(Ge<55296||Ge>57343)&&(Le=Ge));break;case 4:ne=J[me+1],ge=J[me+2],Ie=J[me+3],(ne&192)===128&&(ge&192)===128&&(Ie&192)===128&&(Ge=(ae&15)<<18|(ne&63)<<12|(ge&63)<<6|Ie&63,Ge>65535&&Ge<1114112&&(Le=Ge))}}Le===null?(Le=65533,Ee=1):Le>65535&&(Le-=65536,Y.push(Le>>>10&1023|55296),Le=56320|Le&1023),Y.push(Le),me+=Ee}return P(Y)}var M=4096;function P(J){var W=J.length;if(W<=M)return String.fromCharCode.apply(String,J);for(var j="",Y=0;Y<W;)j+=String.fromCharCode.apply(String,J.slice(Y,Y+=M));return j}function V(J,W,j){var Y="";j=Math.min(J.length,j);for(var me=W;me<j;++me)Y+=String.fromCharCode(J[me]&127);return Y}function D(J,W,j){var Y="";j=Math.min(J.length,j);for(var me=W;me<j;++me)Y+=String.fromCharCode(J[me]);return Y}function H(J,W,j){var Y=J.length;(!W||W<0)&&(W=0),(!j||j<0||j>Y)&&(j=Y);for(var me="",ae=W;ae<j;++ae)me+=_e(J[ae]);return me}function U(J,W,j){for(var Y=J.slice(W,j),me="",ae=0;ae<Y.length;ae+=2)me+=String.fromCharCode(Y[ae]+Y[ae+1]*256);return me}o.prototype.slice=function(W,j){var Y=this.length;W=~~W,j=j===void 0?Y:~~j,W<0?(W+=Y,W<0&&(W=0)):W>Y&&(W=Y),j<0?(j+=Y,j<0&&(j=0)):j>Y&&(j=Y),j<W&&(j=W);var me;if(o.TYPED_ARRAY_SUPPORT)me=this.subarray(W,j),me.__proto__=o.prototype;else{var ae=j-W;me=new o(ae,void 0);for(var Le=0;Le<ae;++Le)me[Le]=this[Le+W]}return me};function z(J,W,j){if(J%1!==0||J<0)throw new RangeError("offset is not uint");if(J+W>j)throw new RangeError("Trying to access beyond buffer length")}o.prototype.readUIntLE=function(W,j,Y){W=W|0,j=j|0,Y||z(W,j,this.length);for(var me=this[W],ae=1,Le=0;++Le<j&&(ae*=256);)me+=this[W+Le]*ae;return me},o.prototype.readUIntBE=function(W,j,Y){W=W|0,j=j|0,Y||z(W,j,this.length);for(var me=this[W+--j],ae=1;j>0&&(ae*=256);)me+=this[W+--j]*ae;return me},o.prototype.readUInt8=function(W,j){return j||z(W,1,this.length),this[W]},o.prototype.readUInt16LE=function(W,j){return j||z(W,2,this.length),this[W]|this[W+1]<<8},o.prototype.readUInt16BE=function(W,j){return j||z(W,2,this.length),this[W]<<8|this[W+1]},o.prototype.readUInt32LE=function(W,j){return j||z(W,4,this.length),(this[W]|this[W+1]<<8|this[W+2]<<16)+this[W+3]*16777216},o.prototype.readUInt32BE=function(W,j){return j||z(W,4,this.length),this[W]*16777216+(this[W+1]<<16|this[W+2]<<8|this[W+3])},o.prototype.readIntLE=function(W,j,Y){W=W|0,j=j|0,Y||z(W,j,this.length);for(var me=this[W],ae=1,Le=0;++Le<j&&(ae*=256);)me+=this[W+Le]*ae;return ae*=128,me>=ae&&(me-=Math.pow(2,8*j)),me},o.prototype.readIntBE=function(W,j,Y){W=W|0,j=j|0,Y||z(W,j,this.length);for(var me=j,ae=1,Le=this[W+--me];me>0&&(ae*=256);)Le+=this[W+--me]*ae;return ae*=128,Le>=ae&&(Le-=Math.pow(2,8*j)),Le},o.prototype.readInt8=function(W,j){return j||z(W,1,this.length),this[W]&128?(255-this[W]+1)*-1:this[W]},o.prototype.readInt16LE=function(W,j){j||z(W,2,this.length);var Y=this[W]|this[W+1]<<8;return Y&32768?Y|4294901760:Y},o.prototype.readInt16BE=function(W,j){j||z(W,2,this.length);var Y=this[W+1]|this[W]<<8;return Y&32768?Y|4294901760:Y},o.prototype.readInt32LE=function(W,j){return j||z(W,4,this.length),this[W]|this[W+1]<<8|this[W+2]<<16|this[W+3]<<24},o.prototype.readInt32BE=function(W,j){return j||z(W,4,this.length),this[W]<<24|this[W+1]<<16|this[W+2]<<8|this[W+3]},o.prototype.readFloatLE=function(W,j){return j||z(W,4,this.length),C.read(this,W,!0,23,4)},o.prototype.readFloatBE=function(W,j){return j||z(W,4,this.length),C.read(this,W,!1,23,4)},o.prototype.readDoubleLE=function(W,j){return j||z(W,8,this.length),C.read(this,W,!0,52,8)},o.prototype.readDoubleBE=function(W,j){return j||z(W,8,this.length),C.read(this,W,!1,52,8)};function K(J,W,j,Y,me,ae){if(!o.isBuffer(J))throw new TypeError('"buffer" argument must be a Buffer instance');if(W>me||W<ae)throw new RangeError('"value" argument is out of bounds');if(j+Y>J.length)throw new RangeError("Index out of range")}o.prototype.writeUIntLE=function(W,j,Y,me){if(W=+W,j=j|0,Y=Y|0,!me){var ae=Math.pow(2,8*Y)-1;K(this,W,j,Y,ae,0)}var Le=1,Ee=0;for(this[j]=W&255;++Ee<Y&&(Le*=256);)this[j+Ee]=W/Le&255;return j+Y},o.prototype.writeUIntBE=function(W,j,Y,me){if(W=+W,j=j|0,Y=Y|0,!me){var ae=Math.pow(2,8*Y)-1;K(this,W,j,Y,ae,0)}var Le=Y-1,Ee=1;for(this[j+Le]=W&255;--Le>=0&&(Ee*=256);)this[j+Le]=W/Ee&255;return j+Y},o.prototype.writeUInt8=function(W,j,Y){return W=+W,j=j|0,Y||K(this,W,j,1,255,0),o.TYPED_ARRAY_SUPPORT||(W=Math.floor(W)),this[j]=W&255,j+1};function G(J,W,j,Y){W<0&&(W=65535+W+1);for(var me=0,ae=Math.min(J.length-j,2);me<ae;++me)J[j+me]=(W&255<<8*(Y?me:1-me))>>>(Y?me:1-me)*8}o.prototype.writeUInt16LE=function(W,j,Y){return W=+W,j=j|0,Y||K(this,W,j,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[j]=W&255,this[j+1]=W>>>8):G(this,W,j,!0),j+2},o.prototype.writeUInt16BE=function(W,j,Y){return W=+W,j=j|0,Y||K(this,W,j,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[j]=W>>>8,this[j+1]=W&255):G(this,W,j,!1),j+2};function X(J,W,j,Y){W<0&&(W=4294967295+W+1);for(var me=0,ae=Math.min(J.length-j,4);me<ae;++me)J[j+me]=W>>>(Y?me:3-me)*8&255}o.prototype.writeUInt32LE=function(W,j,Y){return W=+W,j=j|0,Y||K(this,W,j,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[j+3]=W>>>24,this[j+2]=W>>>16,this[j+1]=W>>>8,this[j]=W&255):X(this,W,j,!0),j+4},o.prototype.writeUInt32BE=function(W,j,Y){return W=+W,j=j|0,Y||K(this,W,j,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[j]=W>>>24,this[j+1]=W>>>16,this[j+2]=W>>>8,this[j+3]=W&255):X(this,W,j,!1),j+4},o.prototype.writeIntLE=function(W,j,Y,me){if(W=+W,j=j|0,!me){var ae=Math.pow(2,8*Y-1);K(this,W,j,Y,ae-1,-ae)}var Le=0,Ee=1,ne=0;for(this[j]=W&255;++Le<Y&&(Ee*=256);)W<0&&ne===0&&this[j+Le-1]!==0&&(ne=1),this[j+Le]=(W/Ee>>0)-ne&255;return j+Y},o.prototype.writeIntBE=function(W,j,Y,me){if(W=+W,j=j|0,!me){var ae=Math.pow(2,8*Y-1);K(this,W,j,Y,ae-1,-ae)}var Le=Y-1,Ee=1,ne=0;for(this[j+Le]=W&255;--Le>=0&&(Ee*=256);)W<0&&ne===0&&this[j+Le+1]!==0&&(ne=1),this[j+Le]=(W/Ee>>0)-ne&255;return j+Y},o.prototype.writeInt8=function(W,j,Y){return W=+W,j=j|0,Y||K(this,W,j,1,127,-128),o.TYPED_ARRAY_SUPPORT||(W=Math.floor(W)),W<0&&(W=255+W+1),this[j]=W&255,j+1},o.prototype.writeInt16LE=function(W,j,Y){return W=+W,j=j|0,Y||K(this,W,j,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[j]=W&255,this[j+1]=W>>>8):G(this,W,j,!0),j+2},o.prototype.writeInt16BE=function(W,j,Y){return W=+W,j=j|0,Y||K(this,W,j,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[j]=W>>>8,this[j+1]=W&255):G(this,W,j,!1),j+2},o.prototype.writeInt32LE=function(W,j,Y){return W=+W,j=j|0,Y||K(this,W,j,4,2147483647,-2147483648),o.TYPED_ARRAY_SUPPORT?(this[j]=W&255,this[j+1]=W>>>8,this[j+2]=W>>>16,this[j+3]=W>>>24):X(this,W,j,!0),j+4},o.prototype.writeInt32BE=function(W,j,Y){return W=+W,j=j|0,Y||K(this,W,j,4,2147483647,-2147483648),W<0&&(W=4294967295+W+1),o.TYPED_ARRAY_SUPPORT?(this[j]=W>>>24,this[j+1]=W>>>16,this[j+2]=W>>>8,this[j+3]=W&255):X(this,W,j,!1),j+4};function Z(J,W,j,Y,me,ae){if(j+Y>J.length)throw new RangeError("Index out of range");if(j<0)throw new RangeError("Index out of range")}function ee(J,W,j,Y,me){return me||Z(J,W,j,4,34028234663852886e22,-34028234663852886e22),C.write(J,W,j,Y,23,4),j+4}o.prototype.writeFloatLE=function(W,j,Y){return ee(this,W,j,!0,Y)},o.prototype.writeFloatBE=function(W,j,Y){return ee(this,W,j,!1,Y)};function Se(J,W,j,Y,me){return me||Z(J,W,j,8,17976931348623157e292,-17976931348623157e292),C.write(J,W,j,Y,52,8),j+8}o.prototype.writeDoubleLE=function(W,j,Y){return Se(this,W,j,!0,Y)},o.prototype.writeDoubleBE=function(W,j,Y){return Se(this,W,j,!1,Y)},o.prototype.copy=function(W,j,Y,me){if(Y||(Y=0),!me&&me!==0&&(me=this.length),j>=W.length&&(j=W.length),j||(j=0),me>0&&me<Y&&(me=Y),me===Y)return 0;if(W.length===0||this.length===0)return 0;if(j<0)throw new RangeError("targetStart out of bounds");if(Y<0||Y>=this.length)throw new RangeError("sourceStart out of bounds");if(me<0)throw new RangeError("sourceEnd out of bounds");me>this.length&&(me=this.length),W.length-j<me-Y&&(me=W.length-j+Y);var ae=me-Y,Le;if(this===W&&Y<j&&j<me)for(Le=ae-1;Le>=0;--Le)W[Le+j]=this[Le+Y];else if(ae<1e3||!o.TYPED_ARRAY_SUPPORT)for(Le=0;Le<ae;++Le)W[Le+j]=this[Le+Y];else Uint8Array.prototype.set.call(W,this.subarray(Y,Y+ae),j);return ae},o.prototype.fill=function(W,j,Y,me){if(typeof W=="string"){if(typeof j=="string"?(me=j,j=0,Y=this.length):typeof Y=="string"&&(me=Y,Y=this.length),W.length===1){var ae=W.charCodeAt(0);ae<256&&(W=ae)}if(me!==void 0&&typeof me!="string")throw new TypeError("encoding must be a string");if(typeof me=="string"&&!o.isEncoding(me))throw new TypeError("Unknown encoding: "+me)}else typeof W=="number"&&(W=W&255);if(j<0||this.length<j||this.length<Y)throw new RangeError("Out of range index");if(Y<=j)return this;j=j>>>0,Y=Y===void 0?this.length:Y>>>0,W||(W=0);var Le;if(typeof W=="number")for(Le=j;Le<Y;++Le)this[Le]=W;else{var Ee=o.isBuffer(W)?W:Ue(new o(W,me).toString()),ne=Ee.length;for(Le=0;Le<Y-j;++Le)this[Le+j]=Ee[Le%ne]}return this};var $=/[^+\/0-9A-Za-z-_]/g;function pe(J){if(J=xe(J).replace($,""),J.length<2)return"";for(;J.length%4!==0;)J=J+"=";return J}function xe(J){return J.trim?J.trim():J.replace(/^\s+|\s+$/g,"")}function _e(J){return J<16?"0"+J.toString(16):J.toString(16)}function Ue(J,W){W=W||Infinity;for(var j,Y=J.length,me=null,ae=[],Le=0;Le<Y;++Le){if(j=J.charCodeAt(Le),j>55295&&j<57344){if(!me){if(j>56319){(W-=3)>-1&&ae.push(239,191,189);continue}else if(Le+1===Y){(W-=3)>-1&&ae.push(239,191,189);continue}me=j;continue}if(j<56320){(W-=3)>-1&&ae.push(239,191,189),me=j;continue}j=(me-55296<<10|j-56320)+65536}else me&&((W-=3)>-1&&ae.push(239,191,189));if(me=null,j<128){if((W-=1)<0)break;ae.push(j)}else if(j<2048){if((W-=2)<0)break;ae.push(j>>6|192,j&63|128)}else if(j<65536){if((W-=3)<0)break;ae.push(j>>12|224,j>>6&63|128,j&63|128)}else if(j<1114112){if((W-=4)<0)break;ae.push(j>>18|240,j>>12&63|128,j>>6&63|128,j&63|128)}else throw new Error("Invalid code point")}return ae}function ye(J){for(var W=[],j=0;j<J.length;++j)W.push(J.charCodeAt(j)&255);return W}function Be(J,W){for(var j,Y,me,ae=[],Le=0;Le<J.length&&!((W-=2)<0);++Le)j=J.charCodeAt(Le),Y=j>>8,me=j%256,ae.push(me),ae.push(Y);return ae}function Q(J){return m.toByteArray(pe(J))}function ie(J,W,j,Y){for(var me=0;me<Y&&!(me+j>=W.length||me>=J.length);++me)W[me+j]=J[me];return me}function Ve(J){return J!==J}}).call(this,r("yLpj"))},"HF/U":function(B,N,r){var y=r("QBsz");function m(p){var g=p.coordinateSystem;if(g&&g.type!=="view")return;var h=p.getGraph();h.eachNode(function(c){var o=c.getModel();c.setLayout([+o.get("x"),+o.get("y")])}),C(h)}function C(p){p.eachEdge(function(g){var h=g.getModel().get("lineStyle.curveness")||0,c=y.clone(g.node1.getLayout()),o=y.clone(g.node2.getLayout()),n=[c,o];+h&&n.push([(c[0]+o[0])/2-(c[1]-o[1])*h,(c[1]+o[1])/2-(o[0]-c[0])*h]),g.setLayout(n)})}N.simpleLayout=m,N.simpleLayoutEdge=C},"HM/N":function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("bYtY"),p=r("/SeX"),g=r("OELB"),h=g.parsePercent,c=r("aX7z"),o=c.createScaleByModel,n=c.niceScaleExtent,t=r("IDmD"),a=r("7hqr"),d=a.getStackedDimension;r("ePAk");function i(u,f,A){var v=f.get("center"),x=A.getWidth(),b=A.getHeight();u.cx=h(v[0],x),u.cy=h(v[1],b);var w=u.getRadiusAxis(),_=Math.min(x,b)/2,T=f.get("radius");T==null?T=[0,"100%"]:C.isArray(T)||(T=[0,T]),T=[h(T[0],_),h(T[1],_)],w.inverse?w.setExtent(T[1],T[0]):w.setExtent(T[0],T[1])}function l(u,f){var A=this,v=A.getAngleAxis(),x=A.getRadiusAxis();if(v.scale.setExtent(Infinity,-Infinity),x.scale.setExtent(Infinity,-Infinity),u.eachSeries(function(_){if(_.coordinateSystem===A){var T=_.getData();C.each(T.mapDimension("radius",!0),function(S){x.scale.unionExtentFromData(T,d(T,S))}),C.each(T.mapDimension("angle",!0),function(S){v.scale.unionExtentFromData(T,d(T,S))})}}),n(v.scale,v.model),n(x.scale,x.model),v.type==="category"&&!v.onBand){var b=v.getExtent(),w=360/v.scale.count();v.inverse?b[1]+=w:b[1]-=w,v.setExtent(b[0],b[1])}}function e(u,f){if(u.type=f.get("type"),u.scale=o(f),u.onBand=f.get("boundaryGap")&&u.type==="category",u.inverse=f.get("inverse"),f.mainType==="angleAxis"){u.inverse^=f.get("clockwise");var A=f.get("startAngle");u.setExtent(A,A+(u.inverse?-360:360))}f.axis=u,u.model=f}var s={dimensions:p.prototype.dimensions,create:function(u,f){var A=[];return u.eachComponent("polar",function(v,x){var b=new p(x);b.update=l;var w=b.getRadiusAxis(),_=b.getAngleAxis(),T=v.findAxisModel("radiusAxis"),S=v.findAxisModel("angleAxis");e(w,T),e(_,S),i(b,v,f),A.push(b),v.coordinateSystem=b,b.model=v}),u.eachSeries(function(v){if(v.get("coordinateSystem")==="polar"){var x=u.queryComponents({mainType:"polar",index:v.get("polarIndex"),id:v.get("polarId")})[0];v.coordinateSystem=x.coordinateSystem}}),A}};t.register("polar",s)},HQEm:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("Sj0X"));function m(p){return p&&p.__esModule?p:{default:p}}var C=y;N.default=C,B.exports=C},HjIi:function(B,N,r){var y=r("bYtY"),m=r("OELB"),C=m.parsePercent,p=r("7hqr"),g=p.isDimensionStacked;function h(a){return a.get("stack")||"__ec_stack_"+a.seriesIndex}function c(a,d){return d.dim+a.model.componentIndex}function o(a,d,i){var l={},e=n(y.filter(d.getSeriesByType(a),function(s){return!d.isSeriesFiltered(s)&&s.coordinateSystem&&s.coordinateSystem.type==="polar"}));d.eachSeriesByType(a,function(s){if(s.coordinateSystem.type!=="polar")return;var u=s.getData(),f=s.coordinateSystem,A=f.getBaseAxis(),v=c(f,A),x=h(s),b=e[v][x],w=b.offset,_=b.width,T=f.getOtherAxis(A),S=s.coordinateSystem.cx,E=s.coordinateSystem.cy,I=s.get("barMinHeight")||0,O=s.get("barMinAngle")||0;l[x]=l[x]||[];for(var F=u.mapDimension(T.dim),k=u.mapDimension(A.dim),M=g(u,F),P=A.dim!=="radius"||!s.get("roundCap",!0),V=T.getExtent()[0],D=0,H=u.count();D<H;D++){var U=u.get(F,D),z=u.get(k,D),K=U>=0?"p":"n",G=V;M&&(l[x][z]||(l[x][z]={p:V,n:V}),G=l[x][z][K]);var X,Z,ee,Se;if(T.dim==="radius"){var $=T.dataToRadius(U)-V,pe=A.dataToAngle(z);Math.abs($)<I&&($=($<0?-1:1)*I),X=G,Z=G+$,ee=pe-w,Se=ee-_,M&&(l[x][z][K]=Z)}else{var xe=T.dataToAngle(U,P)-V,_e=A.dataToRadius(z);Math.abs(xe)<O&&(xe=(xe<0?-1:1)*O),X=_e+w,Z=X+_,ee=G,Se=G+xe,M&&(l[x][z][K]=Se)}u.setItemLayout(D,{cx:S,cy:E,r0:X,r:Z,startAngle:-ee*Math.PI/180,endAngle:-Se*Math.PI/180})}},this)}function n(a,d){var i={};y.each(a,function(e,s){var u=e.getData(),f=e.coordinateSystem,A=f.getBaseAxis(),v=c(f,A),x=A.getExtent(),b=A.type==="category"?A.getBandWidth():Math.abs(x[1]-x[0])/u.count(),w=i[v]||{bandWidth:b,remainedWidth:b,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},_=w.stacks;i[v]=w;var T=h(e);_[T]||w.autoWidthCount++,_[T]=_[T]||{width:0,maxWidth:0};var S=C(e.get("barWidth"),b),E=C(e.get("barMaxWidth"),b),I=e.get("barGap"),O=e.get("barCategoryGap");S&&!_[T].width&&(S=Math.min(w.remainedWidth,S),_[T].width=S,w.remainedWidth-=S),E&&(_[T].maxWidth=E),I!=null&&(w.gap=I),O!=null&&(w.categoryGap=O)});var l={};return y.each(i,function(e,s){l[s]={};var u=e.stacks,f=e.bandWidth,A=C(e.categoryGap,f),v=C(e.gap,1),x=e.remainedWidth,b=e.autoWidthCount,w=(x-A)/(b+(b-1)*v);w=Math.max(w,0),y.each(u,function(E,I){var O=E.maxWidth;O&&O<w&&(O=Math.min(O,x),E.width&&(O=Math.min(O,E.width)),x-=O,E.width=O,b--)}),w=(x-A)/(b+(b-1)*v),w=Math.max(w,0);var _=0,T;y.each(u,function(E,I){E.width||(E.width=w),T=E,_+=E.width*(1+v)}),T&&(_-=T.width*v);var S=-_/2;y.each(u,function(E,I){l[s][I]=l[s][I]||{offset:S,width:E.width},S+=E.width*(1+v)})}),l}var t=o;B.exports=t},HjOm:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y={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"},m=y;N.default=m},Hw7h:function(B,N,r){var y=r("y+Vt"),m=y.extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(C,p){var g=Math.cos,h=Math.sin,c=p.r,o=p.width,n=p.angle,t=p.x-g(n)*o*(o>=c/3?1:2),a=p.y-h(n)*o*(o>=c/3?1:2);n=p.angle-Math.PI/2,C.moveTo(t,a),C.lineTo(p.x+g(n)*o,p.y+h(n)*o),C.lineTo(p.x+g(p.angle)*c,p.y+h(p.angle)*c),C.lineTo(p.x-g(n)*o,p.y-h(n)*o),C.lineTo(t,a);return}});B.exports=m},Hxpc:function(B,N,r){var y=r("bYtY"),m=r("4NO4"),C=r("bLfw"),p=r("Qxkt"),g=r("cCMj"),h=r("7uqq"),c=C.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(n){C.prototype.init.apply(this,arguments),m.defaultEmphasis(n,"label",["show"])},optionUpdated:function(){var n=this.option,t=this;n.regions=h.getFilledRegions(n.regions,n.map,n.nameMap),this._optionModelMap=y.reduce(n.regions||[],function(a,d){return d.name&&a.set(d.name,new p(d,t)),a},y.createHashMap()),this.updateSelectedMap(n.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(n){return this._optionModelMap.get(n)||new p(null,this,this.ecModel)},getFormattedLabel:function(n,t){var a=this.getRegionModel(n),d=a.get("label"+(t==="normal"?".":t+".")+"formatter"),i={name:n};if(typeof d=="function")return i.status=t,d(i);if(typeof d=="string")return d.replace("{a}",n!=null?n:"")},setZoom:function(n){this.option.zoom=n},setCenter:function(n){this.option.center=n}});y.mixin(c,g);var o=c;B.exports=o},"I+77":function(B,N,r){var y=r("ProS");r("h54F"),r("lwQL"),r("10cm");var m=r("Z1r0"),C=r("f5Yq"),p=r("KUOm"),g=r("3m61"),h=r("01d+"),c=r("rdor"),o=r("WGYa"),n=r("ewwo");y.registerProcessor(m),y.registerVisual(C("graph","circle",null)),y.registerVisual(p),y.registerVisual(g),y.registerLayout(h),y.registerLayout(y.PRIORITY.VISUAL.POST_CHART_LAYOUT,c),y.registerLayout(o),y.registerCoordinateSystem("graphView",{create:n})},"I+Bx":function(B,N,r){var y=r("bYtY"),m=r("eIcI"),C=r("ieMj"),p=r("OELB"),g=r("aX7z"),h=g.getScaleExtent,c=g.niceScaleExtent,o=r("IDmD"),n=r("jCoz");function t(d,i,l){this._model=d,this.dimensions=[],this._indicatorAxes=y.map(d.getIndicatorModels(),function(e,s){var u="indicator_"+s,f=new m(u,e.get("axisType")==="log"?new n:new C);return f.name=e.get("name"),f.model=e,e.axis=f,this.dimensions.push(u),f},this),this.resize(d,l),this.cx,this.cy,this.r,this.r0,this.startAngle}t.prototype.getIndicatorAxes=function(){return this._indicatorAxes},t.prototype.dataToPoint=function(d,i){var l=this._indicatorAxes[i];return this.coordToPoint(l.dataToCoord(d),i)},t.prototype.coordToPoint=function(d,i){var l=this._indicatorAxes[i],e=l.angle,s=this.cx+d*Math.cos(e),u=this.cy-d*Math.sin(e);return[s,u]},t.prototype.pointToData=function(d){var i=d[0]-this.cx,l=d[1]-this.cy,e=Math.sqrt(i*i+l*l);i/=e,l/=e;for(var s=Math.atan2(-l,i),u=Infinity,f,A=-1,v=0;v<this._indicatorAxes.length;v++){var x=this._indicatorAxes[v],b=Math.abs(s-x.angle);b<u&&(f=x,A=v,u=b)}return[A,+(f&&f.coordToData(e))]},t.prototype.resize=function(d,i){var l=d.get("center"),e=i.getWidth(),s=i.getHeight(),u=Math.min(e,s)/2;this.cx=p.parsePercent(l[0],e),this.cy=p.parsePercent(l[1],s),this.startAngle=d.get("startAngle")*Math.PI/180;var f=d.get("radius");(typeof f=="string"||typeof f=="number")&&(f=[0,f]),this.r0=p.parsePercent(f[0],u),this.r=p.parsePercent(f[1],u),y.each(this._indicatorAxes,function(A,v){A.setExtent(this.r0,this.r);var x=this.startAngle+v*Math.PI*2/this._indicatorAxes.length;x=Math.atan2(Math.sin(x),Math.cos(x)),A.angle=x},this)},t.prototype.update=function(d,i){var l=this._indicatorAxes,e=this._model;y.each(l,function(f){f.scale.setExtent(Infinity,-Infinity)}),d.eachSeriesByType("radar",function(f,A){if(f.get("coordinateSystem")!=="radar"||d.getComponent("radar",f.get("radarIndex"))!==e)return;var v=f.getData();y.each(l,function(x){x.scale.unionExtentFromData(v,v.mapDimension(x.dim))})},this);var s=e.get("splitNumber");function u(f){var A=Math.pow(10,Math.floor(Math.log(f)/Math.LN10)),v=f/A;return v===2?v=5:v*=2,v*A}y.each(l,function(f,A){var v=h(f.scale,f.model).extent;c(f.scale,f.model);var x=f.model,b=f.scale,w=x.getMin(),_=x.getMax(),T=b.getInterval();if(w!=null&&_!=null)b.setExtent(+w,+_),b.setInterval((_-w)/s);else if(w!=null){var S;do S=w+T*s,b.setExtent(+w,S),b.setInterval(T),T=u(T);while(S<v[1]&&isFinite(S)&&isFinite(v[1]))}else if(_!=null){var E;do E=_-T*s,b.setExtent(E,+_),b.setInterval(T),T=u(T);while(E>v[0]&&isFinite(E)&&isFinite(v[0]))}else{var I=b.getTicks().length-1;I>s&&(T=u(T));var S=Math.ceil(v[1]/T)*T,E=p.round(S-T*s);b.setExtent(E,S),b.setInterval(T)}})},t.dimensions=[],t.create=function(d,i){var l=[];return d.eachComponent("radar",function(e){var s=new t(e,d,i);l.push(s),e.coordinateSystem=s}),d.eachSeriesByType("radar",function(e){e.get("coordinateSystem")==="radar"&&(e.coordinateSystem=l[e.get("radarIndex")||0])}),l},o.register("radar",t);var a=t;B.exports=a},"I3/A":function(B,N,r){var y=r("bYtY"),m=r("YXkt"),C=r("c2i1"),p=r("Mdki"),g=r("sdST"),h=r("IDmD"),c=r("MwEJ");function o(n,t,a,d,i){for(var l=new C(d),e=0;e<n.length;e++)l.addNode(y.retrieve(n[e].id,n[e].name,e),e);for(var s=[],u=[],f=0,e=0;e<t.length;e++){var A=t[e],v=A.source,x=A.target;l.addEdge(v,x,f)&&(u.push(A),s.push(y.retrieve(A.id,v+" > "+x)),f++)}var b=a.get("coordinateSystem"),w;if(b==="cartesian2d"||b==="polar")w=c(n,a);else{var _=h.get(b),T=_&&_.type!=="view"?_.dimensions||[]:[];y.indexOf(T,"value")<0&&T.concat(["value"]);var S=g(n,{coordDimensions:T});w=new m(S,a),w.initData(n)}var E=new m(["value"],a);return E.initData(u,s),i&&i(w,E),p({mainData:w,struct:l,structAttr:"graph",datas:{node:w,edge:E},datasAttr:{node:"data",edge:"edgeData"}}),l.update(),l}B.exports=o},I8Z2:function(B,N,r){"use strict";r.d(N,"a",function(){return p}),r.d(N,"b",function(){return i}),r.d(N,"c",function(){return e});var y=r("q1tI"),m=function(){var s=function(f,A){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,x){v.__proto__=x}||function(v,x){for(var b in x)x.hasOwnProperty(b)&&(v[b]=x[b])},s(f,A)};return function(u,f){s(u,f);function A(){this.constructor=u}u.prototype=f===null?Object.create(f):(A.prototype=f.prototype,new A)}}(),C=y.createContext(null),p=function(s){m(u,s);function u(){return s!==null&&s.apply(this,arguments)||this}return u.prototype.render=function(){return y.createElement(C.Provider,{value:this.props.store},this.props.children)},u}(y.Component),g=r("Gytx"),h=r.n(g),c=r("2mql"),o=r.n(c),n=function(){var s=function(f,A){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,x){v.__proto__=x}||function(v,x){for(var b in x)x.hasOwnProperty(b)&&(v[b]=x[b])},s(f,A)};return function(u,f){s(u,f);function A(){this.constructor=u}u.prototype=f===null?Object.create(f):(A.prototype=f.prototype,new A)}}(),t=function(){return t=Object.assign||function(s){for(var u,f=1,A=arguments.length;f<A;f++){u=arguments[f];for(var v in u)Object.prototype.hasOwnProperty.call(u,v)&&(s[v]=u[v])}return s},t.apply(this,arguments)};function a(s){return s.displayName||s.name||"Component"}var d=function(){return{}};function i(s,u){u===void 0&&(u={});var f=!!s,A=s||d;return function(x){var b=function(_){n(T,_);function T(S,E){var I=_.call(this,S,E)||this;return I.unsubscribe=null,I.handleChange=function(){if(!I.unsubscribe)return;var O=A(I.store.getState(),I.props);I.setState({subscribed:O})},I.store=I.context,I.state={subscribed:A(I.store.getState(),S),store:I.store,props:S},I}return T.getDerivedStateFromProps=function(S,E){return s&&s.length===2&&S!==E.props?{subscribed:A(E.store.getState(),S),props:S}:{props:S}},T.prototype.componentDidMount=function(){this.trySubscribe()},T.prototype.componentWillUnmount=function(){this.tryUnsubscribe()},T.prototype.shouldComponentUpdate=function(S,E){return!h()(this.props,S)||!h()(this.state.subscribed,E.subscribed)},T.prototype.trySubscribe=function(){f&&(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 S=t(t(t({},this.props),this.state.subscribed),{store:this.store});return y.createElement(x,t({},S,{ref:this.props.miniStoreForwardedRef}))},T.displayName="Connect("+a(x)+")",T.contextType=C,T}(y.Component);if(u.forwardRef){var w=y.forwardRef(function(_,T){return y.createElement(b,t({},_,{miniStoreForwardedRef:T}))});return o()(w,x)}return o()(b,x)}}var l=function(){return l=Object.assign||function(s){for(var u,f=1,A=arguments.length;f<A;f++){u=arguments[f];for(var v in u)Object.prototype.hasOwnProperty.call(u,v)&&(s[v]=u[v])}return s},l.apply(this,arguments)};function e(s){var u=s,f=[];function A(b){u=l(l({},u),b);for(var w=0;w<f.length;w++)f[w]()}function v(){return u}function x(b){return f.push(b),function(){var _=f.indexOf(b);f.splice(_,1)}}return{setState:A,getState:v,subscribe:x}}},"I9Y+":function(B,N,r){"use strict";var y=r("284h"),m=r("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var C=m(r("3tO9")),p=y(r("q1tI")),g=m(r("4xFK")),h=m(r("KQxl")),c=function(t,a){return p.createElement(h.default,(0,C.default)((0,C.default)({},t),{},{ref:a,icon:g.default}))};c.displayName="DoubleRightOutlined";var o=p.forwardRef(c);N.default=o},ICMv:function(B,N,r){var y=r("bYtY"),m={getMin:function(C){var p=this.option,g=!C&&p.rangeStart!=null?p.rangeStart:p.min;return this.axis&&g!=null&&g!=="dataMin"&&typeof g!="function"&&!y.eqNaN(g)&&(g=this.axis.scale.parse(g)),g},getMax:function(C){var p=this.option,g=!C&&p.rangeEnd!=null?p.rangeEnd:p.max;return this.axis&&g!=null&&g!=="dataMax"&&typeof g!="function"&&!y.eqNaN(g)&&(g=this.axis.scale.parse(g)),g},getNeedCrossZero:function(){var C=this.option;return C.rangeStart!=null||C.rangeEnd!=null?!1:!C.scale},getCoordSysModel:y.noop,setRange:function(C,p){this.option.rangeStart=C,this.option.rangeEnd=p},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};B.exports=m},IDmD:function(B,N,r){var y=r("bYtY"),m={};function C(){this._coordinateSystems=[]}C.prototype={constructor:C,create:function(g,h){var c=[];y.each(m,function(o,n){var t=o.create(g,h);c=c.concat(t||[])}),this._coordinateSystems=c},update:function(g,h){y.each(this._coordinateSystems,function(c){c.update&&c.update(g,h)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},C.register=function(g,h){m[g]=h},C.get=function(g){return m[g]};var p=C;B.exports=p},IMiH:function(B,N,r){var y=r("Sj9i"),m=r("QBsz"),C=r("4mN7"),p=r("mFDi"),g=r("LPTA"),h=g.devicePixelRatio,c={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},o=[],n=[],t=[],a=[],d=Math.min,i=Math.max,l=Math.cos,e=Math.sin,s=Math.sqrt,u=Math.abs,f=typeof Float32Array!="undefined",A=function(b){this._saveData=!(b||!1),this._saveData&&(this.data=[]),this._ctx=null};A.prototype={constructor:A,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(b,w,_){_=_||0,this._ux=u(_/h/b)||0,this._uy=u(_/h/w)||0},getContext:function(){return this._ctx},beginPath:function(b){return this._ctx=b,b&&b.beginPath(),b&&(this.dpr=b.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(b,w){return this.addData(c.M,b,w),this._ctx&&this._ctx.moveTo(b,w),this._x0=b,this._y0=w,this._xi=b,this._yi=w,this},lineTo:function(b,w){var _=u(b-this._xi)>this._ux||u(w-this._yi)>this._uy||this._len<5;return this.addData(c.L,b,w),this._ctx&&_&&(this._needsDash()?this._dashedLineTo(b,w):this._ctx.lineTo(b,w)),_&&(this._xi=b,this._yi=w),this},bezierCurveTo:function(b,w,_,T,S,E){return this.addData(c.C,b,w,_,T,S,E),this._ctx&&(this._needsDash()?this._dashedBezierTo(b,w,_,T,S,E):this._ctx.bezierCurveTo(b,w,_,T,S,E)),this._xi=S,this._yi=E,this},quadraticCurveTo:function(b,w,_,T){return this.addData(c.Q,b,w,_,T),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(b,w,_,T):this._ctx.quadraticCurveTo(b,w,_,T)),this._xi=_,this._yi=T,this},arc:function(b,w,_,T,S,E){return this.addData(c.A,b,w,_,_,T,S-T,0,E?0:1),this._ctx&&this._ctx.arc(b,w,_,T,S,E),this._xi=l(S)*_+b,this._yi=e(S)*_+w,this},arcTo:function(b,w,_,T,S){return this._ctx&&this._ctx.arcTo(b,w,_,T,S),this},rect:function(b,w,_,T){return this._ctx&&this._ctx.rect(b,w,_,T),this.addData(c.R,b,w,_,T),this},closePath:function(){this.addData(c.Z);var b=this._ctx,w=this._x0,_=this._y0;return b&&(this._needsDash()&&this._dashedLineTo(w,_),b.closePath()),this._xi=w,this._yi=_,this},fill:function(b){b&&b.fill(),this.toStatic()},stroke:function(b){b&&b.stroke(),this.toStatic()},setLineDash:function(b){if(b instanceof Array){this._lineDash=b,this._dashIdx=0;for(var w=0,_=0;_<b.length;_++)w+=b[_];this._dashSum=w}return this},setLineDashOffset:function(b){return this._dashOffset=b,this},len:function(){return this._len},setData:function(b){var w=b.length;!(this.data&&this.data.length===w)&&f&&(this.data=new Float32Array(w));for(var _=0;_<w;_++)this.data[_]=b[_];this._len=w},appendPath:function(b){b instanceof Array||(b=[b]);for(var w=b.length,_=0,T=this._len,S=0;S<w;S++)_+=b[S].len();f&&this.data instanceof Float32Array&&(this.data=new Float32Array(T+_));for(var S=0;S<w;S++)for(var E=b[S].data,I=0;I<E.length;I++)this.data[T++]=E[I];this._len=T},addData:function(b){if(!this._saveData)return;var w=this.data;this._len+arguments.length>w.length&&(this._expandData(),w=this.data);for(var _=0;_<arguments.length;_++)w[this._len++]=arguments[_];this._prevCmd=b},_expandData:function(){if(!(this.data instanceof Array)){for(var b=[],w=0;w<this._len;w++)b[w]=this.data[w];this.data=b}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(b,w){var _=this._dashSum,T=this._dashOffset,S=this._lineDash,E=this._ctx,I=this._xi,O=this._yi,F=b-I,k=w-O,M=s(F*F+k*k),P=I,V=O,D,H=S.length,U;for(F/=M,k/=M,T<0&&(T=_+T),T%=_,P-=T*F,V-=T*k;F>0&&P<=b||F<0&&P>=b||F===0&&(k>0&&V<=w||k<0&&V>=w);){if(U=this._dashIdx,D=S[U],P+=F*D,V+=k*D,this._dashIdx=(U+1)%H,F>0&&P<I||F<0&&P>I||k>0&&V<O||k<0&&V>O)continue;E[U%2?"moveTo":"lineTo"](F>=0?d(P,b):i(P,b),k>=0?d(V,w):i(V,w))}F=P-b,k=V-w,this._dashOffset=-s(F*F+k*k)},_dashedBezierTo:function(b,w,_,T,S,E){var I=this._dashSum,O=this._dashOffset,F=this._lineDash,k=this._ctx,M=this._xi,P=this._yi,V,D,H,U=y.cubicAt,z=0,K=this._dashIdx,G=F.length,X,Z,ee=0;for(O<0&&(O=I+O),O%=I,V=0;V<1;V+=.1)D=U(M,b,_,S,V+.1)-U(M,b,_,S,V),H=U(P,w,T,E,V+.1)-U(P,w,T,E,V),z+=s(D*D+H*H);for(;K<G&&!(ee+=F[K],ee>O);K++);for(V=(ee-O)/z;V<=1;)X=U(M,b,_,S,V),Z=U(P,w,T,E,V),K%2?k.moveTo(X,Z):k.lineTo(X,Z),V+=F[K]/z,K=(K+1)%G;K%2!==0&&k.lineTo(S,E),D=S-X,H=E-Z,this._dashOffset=-s(D*D+H*H)},_dashedQuadraticTo:function(b,w,_,T){var S=_,E=T;_=(_+2*b)/3,T=(T+2*w)/3,b=(this._xi+2*b)/3,w=(this._yi+2*w)/3,this._dashedBezierTo(b,w,_,T,S,E)},toStatic:function(){var b=this.data;b instanceof Array&&(b.length=this._len,f&&(this.data=new Float32Array(b)))},getBoundingRect:function(){o[0]=o[1]=t[0]=t[1]=Number.MAX_VALUE,n[0]=n[1]=a[0]=a[1]=-Number.MAX_VALUE;for(var b=this.data,w=0,_=0,T=0,S=0,E=0;E<b.length;){var I=b[E++];E===1&&(w=b[E],_=b[E+1],T=w,S=_);switch(I){case c.M:T=b[E++],S=b[E++],w=T,_=S,t[0]=T,t[1]=S,a[0]=T,a[1]=S;break;case c.L:C.fromLine(w,_,b[E],b[E+1],t,a),w=b[E++],_=b[E++];break;case c.C:C.fromCubic(w,_,b[E++],b[E++],b[E++],b[E++],b[E],b[E+1],t,a),w=b[E++],_=b[E++];break;case c.Q:C.fromQuadratic(w,_,b[E++],b[E++],b[E],b[E+1],t,a),w=b[E++],_=b[E++];break;case c.A:var O=b[E++],F=b[E++],k=b[E++],M=b[E++],P=b[E++],V=b[E++]+P;E+=1;var D=1-b[E++];E===1&&(T=l(P)*k+O,S=e(P)*M+F),C.fromArc(O,F,k,M,P,V,D,t,a),w=l(V)*k+O,_=e(V)*M+F;break;case c.R:T=w=b[E++],S=_=b[E++];var H=b[E++],U=b[E++];C.fromLine(T,S,T+H,S+U,t,a);break;case c.Z:w=T,_=S;break}m.min(o,o,t),m.max(n,n,a)}return E===0&&(o[0]=o[1]=n[0]=n[1]=0),new p(o[0],o[1],n[0]-o[0],n[1]-o[1])},rebuildPath:function(b){for(var w=this.data,_,T,S,E,I,O,F=this._ux,k=this._uy,M=this._len,P=0;P<M;){var V=w[P++];P===1&&(S=w[P],E=w[P+1],_=S,T=E);switch(V){case c.M:_=S=w[P++],T=E=w[P++],b.moveTo(S,E);break;case c.L:I=w[P++],O=w[P++],(u(I-S)>F||u(O-E)>k||P===M-1)&&(b.lineTo(I,O),S=I,E=O);break;case c.C:b.bezierCurveTo(w[P++],w[P++],w[P++],w[P++],w[P++],w[P++]),S=w[P-2],E=w[P-1];break;case c.Q:b.quadraticCurveTo(w[P++],w[P++],w[P++],w[P++]),S=w[P-2],E=w[P-1];break;case c.A:var D=w[P++],H=w[P++],U=w[P++],z=w[P++],K=w[P++],G=w[P++],X=w[P++],Z=w[P++],ee=U>z?U:z,Se=U>z?1:U/z,$=U>z?z/U:1,pe=Math.abs(U-z)>.001,xe=K+G;pe?(b.translate(D,H),b.rotate(X),b.scale(Se,$),b.arc(0,0,ee,K,xe,1-Z),b.scale(1/Se,1/$),b.rotate(-X),b.translate(-D,-H)):b.arc(D,H,ee,K,xe,1-Z),P===1&&(_=l(K)*U+D,T=e(K)*z+H),S=l(xe)*U+D,E=e(xe)*z+H;break;case c.R:_=S=w[P],T=E=w[P+1],b.rect(w[P++],w[P++],w[P++],w[P++]);break;case c.Z:b.closePath(),S=_,E=T}}}},A.CMD=c;var v=A;B.exports=v},IUWy:function(B,N){var r={};function y(C,p){r[C]=p}function m(C){return r[C]}N.register=y,N.get=m},IWNH:function(B,N,r){var y=r("T4UG"),m=r("Bsck"),C=r("7aKB"),p=C.encodeHTML,g=r("Qxkt"),h=y.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(c){var o={name:c.name,children:c.data},n=c.leaves||{},t=new g(n,this,this.ecModel),a=m.createTree(o,this,{},d);function d(s){s.wrapMethod("getItemModel",function(u,f){var A=a.getNodeByDataIndex(f);return(!A.children.length||!A.isExpand)&&(u.parentModel=t),u})}var i=0;a.eachNode("preorder",function(s){s.depth>i&&(i=s.depth)});var l=c.expandAndCollapse,e=l&&c.initialTreeDepth>=0?c.initialTreeDepth:i;return a.root.eachNode("preorder",function(s){var u=s.hostTree.data.getRawDataItem(s.dataIndex);s.isExpand=u&&u.collapsed!=null?!u.collapsed:s.depth<=e}),a.data},getOrient:function(){var c=this.get("orient");return c==="horizontal"?c="LR":c==="vertical"&&(c="TB"),c},setZoom:function(c){this.option.zoom=c},setCenter:function(c){this.option.center=c},formatTooltip:function(c){for(var o=this.getData().tree,n=o.root.children[0],t=o.getNodeByDataIndex(c),a=t.getValue(),d=t.name;t&&t!==n;)d=t.parentNode.name+"."+d,t=t.parentNode;return p(d+(isNaN(a)||a==null?"":" : "+a))},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}});B.exports=h},IWp7:function(B,N,r){var y=r("bYtY"),m=r("OELB"),C=r("7aKB"),p=r("lE7J"),g=r("ieMj"),h=g.prototype,c=Math.ceil,o=Math.floor,n=1e3,t=n*60,a=t*60,d=a*24,i=function(u,f,A,v){for(;A<v;){var x=A+v>>>1;u[x][1]<f?A=x+1:v=x}return A},l=g.extend({type:"time",getLabel:function(u){var f=this._stepLvl,A=new Date(u);return C.formatTime(f[0],A,this.getSetting("useUTC"))},niceExtent:function(u){var f=this._extent;if(f[0]===f[1]&&(f[0]-=d,f[1]+=d),f[1]===-Infinity&&f[0]===Infinity){var A=new Date;f[1]=+new Date(A.getFullYear(),A.getMonth(),A.getDate()),f[0]=f[1]-d}this.niceTicks(u.splitNumber,u.minInterval,u.maxInterval);var v=this._interval;u.fixMin||(f[0]=m.round(o(f[0]/v)*v)),u.fixMax||(f[1]=m.round(c(f[1]/v)*v))},niceTicks:function(u,f,A){u=u||10;var v=this._extent,x=v[1]-v[0],b=x/u;f!=null&&b<f&&(b=f),A!=null&&b>A&&(b=A);var w=e.length,_=i(e,b,0,w),T=e[Math.min(_,w-1)],S=T[1];if(T[0]==="year"){var E=x/S,I=m.nice(E/u,!0);S*=I}var O=this.getSetting("useUTC")?0:new Date(+v[0]||+v[1]).getTimezoneOffset()*60*1e3,F=[Math.round(c((v[0]-O)/S)*S+O),Math.round(o((v[1]-O)/S)*S+O)];p.fixExtent(F,v),this._stepLvl=T,this._interval=S,this._niceExtent=F},parse:function(u){return+m.parseDate(u)}});y.each(["contain","normalize"],function(u){l.prototype[u]=function(f){return h[u].call(this,this.parse(f))}});var e=[["hh:mm:ss",n],["hh:mm:ss",n*5],["hh:mm:ss",n*10],["hh:mm:ss",n*15],["hh:mm:ss",n*30],[`hh:mm
|
|
|
MM-dd`,t],[`hh:mm
|
|
|
MM-dd`,t*5],[`hh:mm
|
|
|
MM-dd`,t*10],[`hh:mm
|
|
|
MM-dd`,t*15],[`hh:mm
|
|
|
MM-dd`,t*30],[`hh:mm
|
|
|
MM-dd`,a],[`hh:mm
|
|
|
MM-dd`,a*2],[`hh:mm
|
|
|
MM-dd`,a*6],[`hh:mm
|
|
|
MM-dd`,a*12],[`MM-dd
|
|
|
yyyy`,d],[`MM-dd
|
|
|
yyyy`,d*2],[`MM-dd
|
|
|
yyyy`,d*3],[`MM-dd
|
|
|
yyyy`,d*4],[`MM-dd
|
|
|
yyyy`,d*5],[`MM-dd
|
|
|
yyyy`,d*6],["week",d*7],[`MM-dd
|
|
|
yyyy`,d*10],["week",d*14],["week",d*21],["month",d*31],["week",d*42],["month",d*62],["week",d*70],["quarter",d*95],["month",d*31*4],["month",d*31*5],["half-year",d*380/2],["month",d*31*8],["month",d*31*10],["year",d*380]];l.create=function(u){return new l({useUTC:u.ecModel.get("useUTC")})};var s=l;B.exports=s},IXuL:function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("MwEJ"),p=r("T4UG"),g=p.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(h,c){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}});B.exports=g},IXyC:function(B,N,r){var y=r("bYtY"),m=r("bLfw");r("3zoK");var C=m.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(){m.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(p){var g=this.option;p&&y.merge(g,p,!0),this._initDimensions()},contains:function(p,g){var h=p.get("parallelIndex");return h!=null&&g.getComponent("parallel",h)===this},setAxisExpand:function(p){y.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(g){p.hasOwnProperty(g)&&(this.option[g]=p[g])},this)},_initDimensions:function(){var p=this.dimensions=[],g=this.parallelAxisIndex=[],h=y.filter(this.dependentModels.parallelAxis,function(c){return(c.get("parallelIndex")||0)===this.componentIndex},this);y.each(h,function(c){p.push("dim"+c.get("dim")),g.push(c.componentIndex)})}});B.exports=C},ItGF:function(B,N){var r={};typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?r={browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:typeof document=="undefined"&&typeof self!="undefined"?r={browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:typeof navigator=="undefined"?r={browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:r=m(navigator.userAgent);var y=r;function m(C){var p={},g={},h=C.match(/Firefox\/([\d.]+)/),c=C.match(/MSIE\s([\d.]+)/)||C.match(/Trident\/.+?rv:(([\d.]+))/),o=C.match(/Edge\/([\d.]+)/),n=/micromessenger/i.test(C);return h&&(g.firefox=!0,g.version=h[1]),c&&(g.ie=!0,g.version=c[1]),o&&(g.edge=!0,g.version=o[1]),n&&(g.weChat=!0),{browser:g,os:p,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:typeof SVGRect!="undefined",touchEventsSupported:"ontouchstart"in window&&!g.ie&&!g.edge,pointerEventsSupported:"onpointerdown"in window&&(g.edge||g.ie&&g.version>=11),domSupported:typeof document!="undefined"}}B.exports=y},ItS6:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=r("eP3c"),m=C(r("1q3G"));function C(o){return o&&o.__esModule?o:{default:o}}function p(o,n){if(!(o instanceof n))throw new TypeError("Cannot call a class as a function")}function g(o,n){for(var t=0;t<n.length;t++){var a=n[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(o,a.key,a)}}function h(o,n,t){return n&&g(o.prototype,n),t&&g(o,t),o}var c=function(){function o(){p(this,o),this.strm=new m.default,this.chunkSize=1024*10*10,this.strm.output=new Uint8Array(this.chunkSize),this.windowBits=5,(0,y.inflateInit)(this.strm,this.windowBits)}return h(o,[{key:"setInput",value:function(t){t?(this.strm.input=t,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(t){t>this.chunkSize&&(this.chunkSize=t,this.strm.output=new Uint8Array(this.chunkSize)),this.strm.next_out=0,this.strm.avail_out=t;var a=(0,y.inflate)(this.strm,0);if(a<0)throw new Error("zlib inflate failed");if(this.strm.next_out!=t)throw new Error("Incomplete zlib block");return new Uint8Array(this.strm.output.buffer,0,this.strm.next_out)}},{key:"reset",value:function(){(0,y.inflateReset)(this.strm)}}]),o}();N.default=c},Itpr:function(B,N,r){var y=r("+TT/");function m(e){e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var s=[e],u,f;u=s.pop();)if(f=u.children,u.isExpand&&f.length)for(var A=f.length,v=A-1;v>=0;v--){var x=f[v];x.hierNode={defaultAncestor:null,ancestor:x,prelim:0,modifier:0,change:0,shift:0,i:v,thread:null},s.push(x)}}function C(e,s){var u=e.isExpand?e.children:[],f=e.parentNode.children,A=e.hierNode.i?f[e.hierNode.i-1]:null;if(u.length){o(e);var v=(u[0].hierNode.prelim+u[u.length-1].hierNode.prelim)/2;A?(e.hierNode.prelim=A.hierNode.prelim+s(e,A),e.hierNode.modifier=e.hierNode.prelim-v):e.hierNode.prelim=v}else A&&(e.hierNode.prelim=A.hierNode.prelim+s(e,A));e.parentNode.hierNode.defaultAncestor=n(e,A,e.parentNode.hierNode.defaultAncestor||f[0],s)}function p(e){var s=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:s},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function g(e){return arguments.length?e:l}function h(e,s){var u={};return e-=Math.PI/2,u.x=s*Math.cos(e),u.y=s*Math.sin(e),u}function c(e,s){return y.getLayoutRect(e.getBoxLayoutParams(),{width:s.getWidth(),height:s.getHeight()})}function o(e){for(var s=e.children,u=s.length,f=0,A=0;--u>=0;){var v=s[u];v.hierNode.prelim+=f,v.hierNode.modifier+=f,A+=v.hierNode.change,f+=v.hierNode.shift+A}}function n(e,s,u,f){if(s){for(var A=e,v=e,x=v.parentNode.children[0],b=s,w=A.hierNode.modifier,_=v.hierNode.modifier,T=x.hierNode.modifier,S=b.hierNode.modifier;b=t(b),v=a(v),b&&v;){A=t(A),x=a(x),A.hierNode.ancestor=e;var E=b.hierNode.prelim+S-v.hierNode.prelim-_+f(b,v);E>0&&(i(d(b,e,u),e,E),_+=E,w+=E),S+=b.hierNode.modifier,_+=v.hierNode.modifier,w+=A.hierNode.modifier,T+=x.hierNode.modifier}b&&!t(A)&&(A.hierNode.thread=b,A.hierNode.modifier+=S-w),v&&!a(x)&&(x.hierNode.thread=v,x.hierNode.modifier+=_-T,u=e)}return u}function t(e){var s=e.children;return s.length&&e.isExpand?s[s.length-1]:e.hierNode.thread}function a(e){var s=e.children;return s.length&&e.isExpand?s[0]:e.hierNode.thread}function d(e,s,u){return e.hierNode.ancestor.parentNode===s.parentNode?e.hierNode.ancestor:u}function i(e,s,u){var f=u/(s.hierNode.i-e.hierNode.i);s.hierNode.change-=f,s.hierNode.shift+=u,s.hierNode.modifier+=u,s.hierNode.prelim+=u,e.hierNode.change+=f}function l(e,s){return e.parentNode===s.parentNode?1:2}N.init=m,N.firstWalk=C,N.secondWalk=p,N.separation=g,N.radialCoordinate=h,N.getViewRect=c},IwbS:function(B,N,r){var y=r("bYtY"),m=r("NC18"),C=r("Qe9p"),p=r("Fofx"),g=r("QBsz"),h=r("y+Vt"),c=r("DN4a"),o=r("Dagg");N.Image=o;var n=r("4fz+");N.Group=n;var t=r("dqUG");N.Text=t;var a=r("2fw6");N.Circle=a;var d=r("SqI9");N.Sector=d;var i=r("RXMa");N.Ring=i;var l=r("h7HQ");N.Polygon=l;var e=r("1Jh7");N.Polyline=e;var s=r("x6Kt");N.Rect=s;var u=r("yxFR");N.Line=u;var f=r("rA99");N.BezierCurve=f;var A=r("jTL6");N.Arc=A;var v=r("1MYJ");N.CompoundPath=v;var x=r("SKnc");N.LinearGradient=x;var b=r("3e3G");N.RadialGradient=b;var w=r("mFDi");N.BoundingRect=w;var _=r("OS9S");N.IncrementalDisplayable=_;var T=r("nPnh"),S=Math.max,E=Math.min,I={},O=1,F={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},k="emphasis",M="normal",P=1,V={},D={};function H(oe){return h.extend(oe)}function U(oe,fe){return m.extendFromString(oe,fe)}function z(oe,fe){D[oe]=fe}function K(oe){if(D.hasOwnProperty(oe))return D[oe]}function G(oe,fe,De,He){var je=m.createFromString(oe,fe);return De&&(He==="center"&&(De=Z(De,je.getBoundingRect())),Se(je,De)),je}function X(oe,fe,De){var He=new o({style:{image:oe,x:fe.x,y:fe.y,width:fe.width,height:fe.height},onload:function(je){if(De==="center"){var We={width:je.width,height:je.height};He.setStyle(Z(fe,We))}}});return He}function Z(oe,fe){var De=fe.width/fe.height,He=oe.height*De,je;He<=oe.width?je=oe.height:(He=oe.width,je=He/De);var We=oe.x+oe.width/2,nt=oe.y+oe.height/2;return{x:We-He/2,y:nt-je/2,width:He,height:je}}var ee=m.mergePath;function Se(oe,fe){if(!oe.applyTransform)return;var De=oe.getBoundingRect(),He=De.calculateTransform(fe);oe.applyTransform(He)}function $(oe){return T.subPixelOptimizeLine(oe.shape,oe.shape,oe.style),oe}function pe(oe){return T.subPixelOptimizeRect(oe.shape,oe.shape,oe.style),oe}var xe=T.subPixelOptimize;function _e(oe){return oe!=null&&oe!=="none"}var Ue=y.createHashMap(),ye=0;function Be(oe){if(typeof oe!="string")return oe;var fe=Ue.get(oe);return fe||(fe=C.lift(oe,-.1),ye<1e4&&(Ue.set(oe,fe),ye++)),fe}function Q(oe){if(!oe.__hoverStlDirty)return;oe.__hoverStlDirty=!1;var fe=oe.__hoverStl;if(!fe){oe.__cachedNormalStl=oe.__cachedNormalZ2=null;return}var De=oe.__cachedNormalStl={};oe.__cachedNormalZ2=oe.z2;var He=oe.style;for(var je in fe)fe[je]!=null&&(De[je]=He[je]);De.fill=He.fill,De.stroke=He.stroke}function ie(oe){var fe=oe.__hoverStl;if(!fe||oe.__highlighted)return;var De=oe.__zr,He=oe.useHoverLayer&&De&&De.painter.type==="canvas";if(oe.__highlighted=He?"layer":"plain",oe.isGroup||!De&&oe.useHoverLayer)return;var je=oe,We=oe.style;He&&(je=De.addHover(oe),We=je.style),Gt(We),He||Q(je),We.extendFrom(fe),Ve(We,fe,"fill"),Ve(We,fe,"stroke"),Ft(We),He||(oe.dirty(!1),oe.z2+=O)}function Ve(oe,fe,De){!_e(fe[De])&&_e(oe[De])&&(oe[De]=Be(oe[De]))}function J(oe){var fe=oe.__highlighted;if(!fe)return;if(oe.__highlighted=!1,oe.isGroup)return;if(fe==="layer")oe.__zr&&oe.__zr.removeHover(oe);else{var De=oe.style,He=oe.__cachedNormalStl;He&&(Gt(De),oe.setStyle(He),Ft(De));var je=oe.__cachedNormalZ2;je!=null&&oe.z2-je===O&&(oe.z2=je)}}function W(oe,fe,De){var He=M,je=M,We;oe.__highlighted&&(He=k,We=!0),fe(oe,De),oe.__highlighted&&(je=k,We=!0),oe.isGroup&&oe.traverse(function(nt){!nt.isGroup&&fe(nt,De)}),We&&oe.__highDownOnUpdate&&oe.__highDownOnUpdate(He,je)}function j(oe,fe){fe=oe.__hoverStl=fe!==!1&&(oe.hoverStyle||fe||{}),oe.__hoverStlDirty=!0,oe.__highlighted&&(oe.__cachedNormalStl=null,J(oe),ie(oe))}function Y(oe){!Ee(this,oe)&&!this.__highByOuter&&W(this,ie)}function me(oe){!Ee(this,oe)&&!this.__highByOuter&&W(this,J)}function ae(oe){this.__highByOuter|=1<<(oe||0),W(this,ie)}function Le(oe){!(this.__highByOuter&=~(1<<(oe||0)))&&W(this,J)}function Ee(oe,fe){return oe.__highDownSilentOnTouch&&fe.zrByTouch}function ne(oe,fe){ge(oe,!0),W(oe,j,fe)}function ge(oe,fe){var De=fe===!1;if(oe.__highDownSilentOnTouch=oe.highDownSilentOnTouch,oe.__highDownOnUpdate=oe.highDownOnUpdate,!De||oe.__highDownDispatcher){var He=De?"off":"on";oe[He]("mouseover",Y)[He]("mouseout",me),oe[He]("emphasis",ae)[He]("normal",Le),oe.__highByOuter=oe.__highByOuter||0,oe.__highDownDispatcher=!De}}function Ie(oe){return!!(oe&&oe.__highDownDispatcher)}function Ge(oe){var fe=V[oe];return fe==null&&P<=32&&(fe=V[oe]=P++),fe}function ut(oe,fe,De,He,je,We,nt){je=je||I;var xt=je.labelFetcher,It=je.labelDataIndex,ir=je.labelDimIndex,Me=je.labelProp,ke=De.getShallow("show"),re=He.getShallow("show"),be;(ke||re)&&(xt&&(be=xt.getFormattedLabel(It,"normal",null,ir,Me)),be==null&&(be=y.isFunction(je.defaultText)?je.defaultText(It,je):je.defaultText));var Ne=ke?be:null,Ke=re?y.retrieve2(xt?xt.getFormattedLabel(It,"emphasis",null,ir,Me):null,be):null;(Ne!=null||Ke!=null)&&(Pe(oe,De,We,je),Pe(fe,He,nt,je,!0)),oe.text=Ne,fe.text=Ke}function wt(oe,fe,De){var He=oe.style;fe&&(Gt(He),oe.setStyle(fe),Ft(He)),He=oe.__hoverStl,De&&He&&(Gt(He),y.extend(He,De),Ft(He))}function Pe(oe,fe,De,He,je){return et(oe,fe,He,je),De&&y.extend(oe,De),oe}function Dt(oe,fe,De){var He={isRectText:!0},je;De===!1?je=!0:He.autoColor=De,et(oe,fe,He,je)}function et(oe,fe,De,He){if(De=De||I,De.isRectText){var je;De.getTextPosition?je=De.getTextPosition(fe,He):(je=fe.getShallow("position")||(He?null:"inside"),je==="outside"&&(je="top")),oe.textPosition=je,oe.textOffset=fe.getShallow("offset");var We=fe.getShallow("rotate");We!=null&&(We*=Math.PI/180),oe.textRotation=We,oe.textDistance=y.retrieve2(fe.getShallow("distance"),He?null:5)}var nt=fe.ecModel,xt=nt&&nt.option.textStyle,It=_t(fe),ir;if(It){ir={};for(var Me in It)if(It.hasOwnProperty(Me)){var ke=fe.getModel(["rich",Me]);Nt(ir[Me]={},ke,xt,De,He)}}return oe.rich=ir,Nt(oe,fe,xt,De,He,!0),De.forceRich&&!De.textStyle&&(De.textStyle={}),oe}function _t(oe){for(var fe;oe&&oe!==oe.ecModel;){var De=(oe.option||I).rich;if(De){fe=fe||{};for(var He in De)De.hasOwnProperty(He)&&(fe[He]=1)}oe=oe.parentModel}return fe}function Nt(oe,fe,De,He,je,We){De=!je&&De||I,oe.textFill=Bt(fe.getShallow("color"),He)||De.color,oe.textStroke=Bt(fe.getShallow("textBorderColor"),He)||De.textBorderColor,oe.textStrokeWidth=y.retrieve2(fe.getShallow("textBorderWidth"),De.textBorderWidth),je||(We&&(oe.insideRollbackOpt=He,Ft(oe)),oe.textFill==null&&(oe.textFill=He.autoColor)),oe.fontStyle=fe.getShallow("fontStyle")||De.fontStyle,oe.fontWeight=fe.getShallow("fontWeight")||De.fontWeight,oe.fontSize=fe.getShallow("fontSize")||De.fontSize,oe.fontFamily=fe.getShallow("fontFamily")||De.fontFamily,oe.textAlign=fe.getShallow("align"),oe.textVerticalAlign=fe.getShallow("verticalAlign")||fe.getShallow("baseline"),oe.textLineHeight=fe.getShallow("lineHeight"),oe.textWidth=fe.getShallow("width"),oe.textHeight=fe.getShallow("height"),oe.textTag=fe.getShallow("tag"),(!We||!He.disableBox)&&(oe.textBackgroundColor=Bt(fe.getShallow("backgroundColor"),He),oe.textPadding=fe.getShallow("padding"),oe.textBorderColor=Bt(fe.getShallow("borderColor"),He),oe.textBorderWidth=fe.getShallow("borderWidth"),oe.textBorderRadius=fe.getShallow("borderRadius"),oe.textBoxShadowColor=fe.getShallow("shadowColor"),oe.textBoxShadowBlur=fe.getShallow("shadowBlur"),oe.textBoxShadowOffsetX=fe.getShallow("shadowOffsetX"),oe.textBoxShadowOffsetY=fe.getShallow("shadowOffsetY")),oe.textShadowColor=fe.getShallow("textShadowColor")||De.textShadowColor,oe.textShadowBlur=fe.getShallow("textShadowBlur")||De.textShadowBlur,oe.textShadowOffsetX=fe.getShallow("textShadowOffsetX")||De.textShadowOffsetX,oe.textShadowOffsetY=fe.getShallow("textShadowOffsetY")||De.textShadowOffsetY}function Bt(oe,fe){return oe!=="auto"?oe:fe&&fe.autoColor?fe.autoColor:null}function Ft(oe){var fe=oe.textPosition,De=oe.insideRollbackOpt,He;if(De&&oe.textFill==null){var je=De.autoColor,We=De.isRectText,nt=De.useInsideStyle,xt=nt!==!1&&(nt===!0||We&&fe&&typeof fe=="string"&&fe.indexOf("inside")>=0),It=!xt&&je!=null;(xt||It)&&(He={textFill:oe.textFill,textStroke:oe.textStroke,textStrokeWidth:oe.textStrokeWidth}),xt&&(oe.textFill="#fff",oe.textStroke==null&&(oe.textStroke=je,oe.textStrokeWidth==null&&(oe.textStrokeWidth=2))),It&&(oe.textFill=je)}oe.insideRollback=He}function Gt(oe){var fe=oe.insideRollback;fe&&(oe.textFill=fe.textFill,oe.textStroke=fe.textStroke,oe.textStrokeWidth=fe.textStrokeWidth,oe.insideRollback=null)}function qe(oe,fe){var De=fe&&fe.getModel("textStyle");return y.trim([oe.fontStyle||De&&De.getShallow("fontStyle")||"",oe.fontWeight||De&&De.getShallow("fontWeight")||"",(oe.fontSize||De&&De.getShallow("fontSize")||12)+"px",oe.fontFamily||De&&De.getShallow("fontFamily")||"sans-serif"].join(" "))}function we(oe,fe,De,He,je,We){typeof je=="function"&&(We=je,je=null);var nt=He&&He.isAnimationEnabled();if(nt){var xt=oe?"Update":"",It=He.getShallow("animationDuration"+xt),ir=He.getShallow("animationEasing"+xt),Me=He.getShallow("animationDelay"+xt);typeof Me=="function"&&(Me=Me(je,He.getAnimationDelayParams?He.getAnimationDelayParams(fe,je):null)),typeof It=="function"&&(It=It(je)),It>0?fe.animateTo(De,It,Me||0,ir,We,!!We):(fe.stopAnimation(),fe.attr(De),We&&We())}else fe.stopAnimation(),fe.attr(De),We&&We()}function ue(oe,fe,De,He,je){we(!0,oe,fe,De,He,je)}function vt(oe,fe,De,He,je){we(!1,oe,fe,De,He,je)}function at(oe,fe){for(var De=p.identity([]);oe&&oe!==fe;)p.mul(De,oe.getLocalTransform(),De),oe=oe.parent;return De}function Ae(oe,fe,De){return fe&&!y.isArrayLike(fe)&&(fe=c.getLocalTransform(fe)),De&&(fe=p.invert([],fe)),g.applyTransform([],oe,fe)}function Xt(oe,fe,De){var He=fe[4]===0||fe[5]===0||fe[0]===0?1:Math.abs(2*fe[4]/fe[0]),je=fe[4]===0||fe[5]===0||fe[2]===0?1:Math.abs(2*fe[4]/fe[2]),We=[oe==="left"?-He:oe==="right"?He:0,oe==="top"?-je:oe==="bottom"?je:0];return We=Ae(We,fe,De),Math.abs(We[0])>Math.abs(We[1])?We[0]>0?"right":"left":We[1]>0?"bottom":"top"}function Ot(oe,fe,De,He){if(!oe||!fe)return;function je(xt){var It={};return xt.traverse(function(ir){!ir.isGroup&&ir.anid&&(It[ir.anid]=ir)}),It}function We(xt){var It={position:g.clone(xt.position),rotation:xt.rotation};return xt.shape&&(It.shape=y.extend({},xt.shape)),It}var nt=je(oe);fe.traverse(function(xt){if(!xt.isGroup&&xt.anid){var It=nt[xt.anid];if(It){var ir=We(xt);xt.attr(We(It)),ue(xt,ir,De,xt.dataIndex)}}})}function rt(oe,fe){return y.map(oe,function(De){var He=De[0];He=S(He,fe.x),He=E(He,fe.x+fe.width);var je=De[1];return je=S(je,fe.y),je=E(je,fe.y+fe.height),[He,je]})}function Et(oe,fe){var De=S(oe.x,fe.x),He=E(oe.x+oe.width,fe.x+fe.width),je=S(oe.y,fe.y),We=E(oe.y+oe.height,fe.y+fe.height);if(He>=De&&We>=je)return{x:De,y:je,width:He-De,height:We-je}}function Zt(oe,fe,De){fe=y.extend({rectHover:!0},fe);var He=fe.style={strokeNoScale:!0};if(De=De||{x:-1,y:-1,width:2,height:2},oe)return oe.indexOf("image://")===0?(He.image=oe.slice(8),y.defaults(He,De),new o(fe)):G(oe.replace("path://",""),fe,De,"center")}function vr(oe,fe,De,He,je){for(var We=0,nt=je[je.length-1];We<je.length;We++){var xt=je[We];if(mt(oe,fe,De,He,xt[0],xt[1],nt[0],nt[1]))return!0;nt=xt}}function mt(oe,fe,De,He,je,We,nt,xt){var It=De-oe,ir=He-fe,Me=nt-je,ke=xt-We,re=ce(Me,ke,It,ir);if(le(re))return!1;var be=oe-je,Ne=fe-We,Ke=ce(be,Ne,It,ir)/re;if(Ke<0||Ke>1)return!1;var Qe=ce(be,Ne,Me,ke)/re;return!(Qe<0||Qe>1)}function ce(oe,fe,De,He){return oe*He-De*fe}function le(oe){return oe<=1e-6&&oe>=-1e-6}z("circle",a),z("sector",d),z("ring",i),z("polygon",l),z("polyline",e),z("rect",s),z("line",u),z("bezierCurve",f),z("arc",A),N.Z2_EMPHASIS_LIFT=O,N.CACHED_LABEL_STYLE_PROPERTIES=F,N.extendShape=H,N.extendPath=U,N.registerShape=z,N.getShapeClass=K,N.makePath=G,N.makeImage=X,N.mergePath=ee,N.resizePath=Se,N.subPixelOptimizeLine=$,N.subPixelOptimizeRect=pe,N.subPixelOptimize=xe,N.setElementHoverStyle=j,N.setHoverStyle=ne,N.setAsHighDownDispatcher=ge,N.isHighDownDispatcher=Ie,N.getHighlightDigit=Ge,N.setLabelStyle=ut,N.modifyLabelStyle=wt,N.setTextStyle=Pe,N.setText=Dt,N.getFont=qe,N.updateProps=ue,N.initProps=vt,N.getTransform=at,N.applyTransform=Ae,N.transformDirection=Xt,N.groupTransition=Ot,N.clipPointsByRect=rt,N.clipRectByRect=Et,N.createIcon=Zt,N.linePolygonIntersect=vr,N.lineLineIntersect=mt},IyUQ:function(B,N,r){var y=r("bYtY"),m=r("YH21"),C=r("IwbS"),p=r("iLNv"),g=r("fc+c"),h=r("OELB"),c=r("+TT/"),o=r("72pK"),n=C.Rect,t=h.linearMap,a=h.asc,d=y.bind,i=y.each,l=7,e=1,s=30,u="horizontal",f="vertical",A=5,v=["line","bar","candlestick","scatter"],x=g.extend({type:"dataZoom.slider",init:function(T,S){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=S},render:function(T,S,E,I){if(x.superApply(this,"render",arguments),p.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=T.get("orient"),this.dataZoomModel.get("show")===!1){this.group.removeAll();return}(!I||I.type!=="dataZoom"||I.from!==this.uid)&&this._buildView(),this._updateView()},remove:function(){x.superApply(this,"remove",arguments),p.clear(this,"_dispatchZoomAction")},dispose:function(){x.superApply(this,"dispose",arguments),p.clear(this,"_dispatchZoomAction")},_buildView:function(){var T=this.group;T.removeAll(),this._resetLocation(),this._resetInterval();var S=this._displayables.barGroup=new C.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),T.add(S),this._positionGroup()},_resetLocation:function(){var T=this.dataZoomModel,S=this.api,E=this._findCoordRect(),I={width:S.getWidth(),height:S.getHeight()},O=this._orient===u?{right:I.width-E.x-E.width,top:I.height-s-l,width:E.width,height:s}:{right:l,top:E.y,width:s,height:E.height},F=c.getLayoutParams(T.option);y.each(["right","top","width","height"],function(M){F[M]==="ph"&&(F[M]=O[M])});var k=c.getLayoutRect(F,I,T.padding);this._location={x:k.x,y:k.y},this._size=[k.width,k.height],this._orient===f&&this._size.reverse()},_positionGroup:function(){var T=this.group,S=this._location,E=this._orient,I=this.dataZoomModel.getFirstTargetAxisModel(),O=I&&I.get("inverse"),F=this._displayables.barGroup,k=(this._dataShadowInfo||{}).otherAxisInverse;F.attr(E===u&&!O?{scale:k?[1,1]:[1,-1]}:E===u&&O?{scale:k?[-1,1]:[-1,-1]}:E===f&&!O?{scale:k?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:k?[-1,-1]:[-1,1],rotation:Math.PI/2});var M=T.getBoundingRect([F]);T.attr("position",[S.x-M.x,S.y-M.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var T=this.dataZoomModel,S=this._size,E=this._displayables.barGroup;E.add(new n({silent:!0,shape:{x:0,y:0,width:S[0],height:S[1]},style:{fill:T.get("backgroundColor")},z2:-40})),E.add(new n({shape:{x:0,y:0,width:S[0],height:S[1]},style:{fill:"transparent"},z2:0,onclick:y.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var T=this._dataShadowInfo=this._prepareDataShadowInfo();if(!T)return;var S=this._size,E=T.series,I=E.getRawData(),O=E.getShadowDim?E.getShadowDim():T.otherDim;if(O==null)return;var F=I.getDataExtent(O),k=(F[1]-F[0])*.3;F=[F[0]-k,F[1]+k];var M=[0,S[1]],P=[0,S[0]],V=[[S[0],0],[0,0]],D=[],H=P[1]/(I.count()-1),U=0,z=Math.round(I.count()/S[0]),K;I.each([O],function(X,Z){if(z>0&&Z%z){U+=H;return}var ee=X==null||isNaN(X)||X==="",Se=ee?0:t(X,F,M,!0);ee&&!K&&Z?(V.push([V[V.length-1][0],0]),D.push([D[D.length-1][0],0])):!ee&&K&&(V.push([U,0]),D.push([U,0])),V.push([U,Se]),D.push([U,Se]),U+=H,K=ee});var G=this.dataZoomModel;this._displayables.barGroup.add(new C.Polygon({shape:{points:V},style:y.defaults({fill:G.get("dataBackgroundColor")},G.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new C.Polyline({shape:{points:D},style:G.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))},_prepareDataShadowInfo:function(){var T=this.dataZoomModel,S=T.get("showDataShadow");if(S===!1)return;var E,I=this.ecModel;return T.eachTargetAxis(function(O,F){var k=T.getAxisProxy(O.name,F).getTargetSeriesModels();y.each(k,function(M){if(E)return;if(S!==!0&&y.indexOf(v,M.get("type"))<0)return;var P=I.getComponent(O.axis,F).axis,V=b(O.name),D,H=M.coordinateSystem;V!=null&&H.getOtherAxis&&(D=H.getOtherAxis(P).inverse),V=M.getData().mapDimension(V),E={thisAxis:P,series:M,thisDim:O.name,otherDim:V,otherAxisInverse:D}},this)},this),E},_renderHandle:function(){var T=this._displayables,S=T.handles=[],E=T.handleLabels=[],I=this._displayables.barGroup,O=this._size,F=this.dataZoomModel;I.add(T.filler=new n({draggable:!0,cursor:w(this._orient),drift:d(this._onDragMove,this,"all"),ondragstart:d(this._showDataInfo,this,!0),ondragend:d(this._onDragEnd,this),onmouseover:d(this._showDataInfo,this,!0),onmouseout:d(this._showDataInfo,this,!1),style:{fill:F.get("fillerColor"),textPosition:"inside"}})),I.add(new n({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:O[0],height:O[1]},style:{stroke:F.get("dataBackgroundColor")||F.get("borderColor"),lineWidth:e,fill:"rgba(0,0,0,0)"}})),i([0,1],function(k){var M=C.createIcon(F.get("handleIcon"),{cursor:w(this._orient),draggable:!0,drift:d(this._onDragMove,this,k),ondragend:d(this._onDragEnd,this),onmouseover:d(this._showDataInfo,this,!0),onmouseout:d(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),P=M.getBoundingRect();this._handleHeight=h.parsePercent(F.get("handleSize"),this._size[1]),this._handleWidth=P.width/P.height*this._handleHeight,M.setStyle(F.getModel("handleStyle").getItemStyle());var V=F.get("handleColor");V!=null&&(M.style.fill=V),I.add(S[k]=M);var D=F.textStyleModel;this.group.add(E[k]=new C.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:D.getTextColor(),textFont:D.getFont()},z2:10}))},this)},_resetInterval:function(){var T=this._range=this.dataZoomModel.getPercentRange(),S=this._getViewExtent();this._handleEnds=[t(T[0],[0,100],S,!0),t(T[1],[0,100],S,!0)]},_updateInterval:function(T,S){var E=this.dataZoomModel,I=this._handleEnds,O=this._getViewExtent(),F=E.findRepresentativeAxisProxy().getMinMaxSpan(),k=[0,100];o(S,I,O,E.get("zoomLock")?"all":T,F.minSpan!=null?t(F.minSpan,k,O,!0):null,F.maxSpan!=null?t(F.maxSpan,k,O,!0):null);var M=this._range,P=this._range=a([t(I[0],O,k,!0),t(I[1],O,k,!0)]);return!M||M[0]!==P[0]||M[1]!==P[1]},_updateView:function(T){var S=this._displayables,E=this._handleEnds,I=a(E.slice()),O=this._size;i([0,1],function(F){var k=S.handles[F],M=this._handleHeight;k.attr({scale:[M/2,M/2],position:[E[F],O[1]/2-M/2]})},this),S.filler.setShape({x:I[0],y:0,width:I[1]-I[0],height:O[1]}),this._updateDataInfo(T)},_updateDataInfo:function(T){var S=this.dataZoomModel,E=this._displayables,I=E.handleLabels,O=this._orient,F=["",""];if(S.get("showDetail")){var k=S.findRepresentativeAxisProxy();if(k){var M=k.getAxisModel().axis,P=this._range,V=T?k.calculateDataWindow({start:P[0],end:P[1]}).valueWindow:k.getDataValueWindow();F=[this._formatLabel(V[0],M),this._formatLabel(V[1],M)]}}var D=a(this._handleEnds.slice());H.call(this,0),H.call(this,1);function H(U){var z=C.getTransform(E.handles[U].parent,this.group),K=C.transformDirection(U===0?"right":"left",z),G=this._handleWidth/2+A,X=C.applyTransform([D[U]+(U===0?-G:G),this._size[1]/2],z);I[U].setStyle({x:X[0],y:X[1],textVerticalAlign:O===u?"middle":K,textAlign:O===u?K:"center",text:F[U]})}},_formatLabel:function(T,S){var E=this.dataZoomModel,I=E.get("labelFormatter"),O=E.get("labelPrecision");(O==null||O==="auto")&&(O=S.getPixelPrecision());var F=T==null||isNaN(T)?"":S.type==="category"||S.type==="time"?S.scale.getLabel(Math.round(T)):T.toFixed(Math.min(O,20));return y.isFunction(I)?I(T,F):y.isString(I)?I.replace("{value}",F):F},_showDataInfo:function(T){T=this._dragging||T;var S=this._displayables.handleLabels;S[0].attr("invisible",!T),S[1].attr("invisible",!T)},_onDragMove:function(T,S,E,I){this._dragging=!0,m.stop(I.event);var O=this._displayables.barGroup.getLocalTransform(),F=C.applyTransform([S,E],O,!0),k=this._updateInterval(T,F[0]),M=this.dataZoomModel.get("realtime");this._updateView(!M),k&&M&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var T=this.dataZoomModel.get("realtime");!T&&this._dispatchZoomAction()},_onClickPanelClick:function(T){var S=this._size,E=this._displayables.barGroup.transformCoordToLocal(T.offsetX,T.offsetY);if(E[0]<0||E[0]>S[0]||E[1]<0||E[1]>S[1])return;var I=this._handleEnds,O=(I[0]+I[1])/2,F=this._updateInterval("all",E[0]-O);this._updateView(),F&&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(i(this.getTargetCoordInfo(),function(I){if(!T&&I.length){var O=I[0].model.coordinateSystem;T=O.getRect&&O.getRect()}}),!T){var S=this.api.getWidth(),E=this.api.getHeight();T={x:S*.2,y:E*.2,width:S*.6,height:E*.6}}return T}});function b(T){var S={x:"y",y:"x",radius:"angle",angle:"radius"};return S[T]}function w(T){return T==="vertical"?"ns-resize":"ew-resize"}var _=x;B.exports=_},IzEo:function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("lnY3"),p=r.n(C),g=r("Znn+"),h=r("14J3"),c=r("jCWc")},J66h:function(B,N,r){(function(y){var m,C;(function(p,g){B.exports=g(p)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof y!="undefined"?y:this,function(p){"use strict";p=p||{};var g=p.Base64,h="2.6.4",c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=function(M){for(var P={},V=0,D=M.length;V<D;V++)P[M.charAt(V)]=V;return P}(c),n=String.fromCharCode,t=function(P){if(P.length<2){var V=P.charCodeAt(0);return V<128?P:V<2048?n(192|V>>>6)+n(128|V&63):n(224|V>>>12&15)+n(128|V>>>6&63)+n(128|V&63)}else{var V=65536+(P.charCodeAt(0)-55296)*1024+(P.charCodeAt(1)-56320);return n(240|V>>>18&7)+n(128|V>>>12&63)+n(128|V>>>6&63)+n(128|V&63)}},a=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,d=function(P){return P.replace(a,t)},i=function(P){var V=[0,2,1][P.length%3],D=P.charCodeAt(0)<<16|(P.length>1?P.charCodeAt(1):0)<<8|(P.length>2?P.charCodeAt(2):0),H=[c.charAt(D>>>18),c.charAt(D>>>12&63),V>=2?"=":c.charAt(D>>>6&63),V>=1?"=":c.charAt(D&63)];return H.join("")},l=p.btoa&&typeof p.btoa=="function"?function(M){return p.btoa(M)}:function(M){if(M.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return M.replace(/[\s\S]{1,3}/g,i)},e=function(P){return l(d(String(P)))},s=function(P){return P.replace(/[+\/]/g,function(V){return V=="+"?"-":"_"}).replace(/=/g,"")},u=function(P,V){return V?s(e(P)):e(P)},f=function(P){return u(P,!0)},A;p.Uint8Array&&(A=function(P,V){for(var D="",H=0,U=P.length;H<U;H+=3){var z=P[H],K=P[H+1],G=P[H+2],X=z<<16|K<<8|G;D+=c.charAt(X>>>18)+c.charAt(X>>>12&63)+(typeof K!="undefined"?c.charAt(X>>>6&63):"=")+(typeof G!="undefined"?c.charAt(X&63):"=")}return V?s(D):D});var v=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,x=function(P){switch(P.length){case 4:var V=(7&P.charCodeAt(0))<<18|(63&P.charCodeAt(1))<<12|(63&P.charCodeAt(2))<<6|63&P.charCodeAt(3),D=V-65536;return n((D>>>10)+55296)+n((D&1023)+56320);case 3:return n((15&P.charCodeAt(0))<<12|(63&P.charCodeAt(1))<<6|63&P.charCodeAt(2));default:return n((31&P.charCodeAt(0))<<6|63&P.charCodeAt(1))}},b=function(P){return P.replace(v,x)},w=function(P){var V=P.length,D=V%4,H=(V>0?o[P.charAt(0)]<<18:0)|(V>1?o[P.charAt(1)]<<12:0)|(V>2?o[P.charAt(2)]<<6:0)|(V>3?o[P.charAt(3)]:0),U=[n(H>>>16),n(H>>>8&255),n(H&255)];return U.length-=[0,0,2,1][D],U.join("")},_=p.atob&&typeof p.atob=="function"?function(M){return p.atob(M)}:function(M){return M.replace(/\S{1,4}/g,w)},T=function(P){return _(String(P).replace(/[^A-Za-z0-9\+\/]/g,""))},S=function(P){return b(_(P))},E=function(P){return String(P).replace(/[-_]/g,function(V){return V=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},I=function(P){return S(E(P))},O;p.Uint8Array&&(O=function(P){return Uint8Array.from(T(E(P)),function(V){return V.charCodeAt(0)})});var F=function(){var P=p.Base64;return p.Base64=g,P};if(p.Base64={VERSION:h,atob:T,btoa:l,fromBase64:I,toBase64:u,utob:d,encode:u,encodeURI:f,btou:b,decode:I,noConflict:F,fromUint8Array:A,toUint8Array:O},typeof Object.defineProperty=="function"){var k=function(P){return{value:P,enumerable:!1,writable:!0,configurable:!0}};p.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",k(function(){return I(this)})),Object.defineProperty(String.prototype,"toBase64",k(function(M){return u(this,M)})),Object.defineProperty(String.prototype,"toBase64URI",k(function(){return u(this,!0)}))}}return p.Meteor&&(Base64=p.Base64),B.exports?B.exports.Base64=p.Base64:!(m=[],C=function(){return p.Base64}.apply(N,m),C!==void 0&&(B.exports=C)),{Base64:p.Base64}})}).call(this,r("yLpj"))},JEkh:function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("ProS"),p=r("bYtY"),g=r("ItGF"),h=r("4NO4"),c=r("7aKB"),o=r("OKJ2"),n=c.addCommas,t=c.encodeHTML;function a(l){h.defaultEmphasis(l,"label",["show"])}var d=C.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(l,e,s){this.mergeDefaultAndTheme(l,s),this._mergeOption(l,s,!1,!0)},isAnimationEnabled:function(){if(g.node)return!1;var l=this.__hostSeries;return this.getShallow("animation")&&l&&l.isAnimationEnabled()},mergeOption:function(l,e){this._mergeOption(l,e,!1,!1)},_mergeOption:function(l,e,s,u){var f=this.constructor,A=this.mainType+"Model";s||e.eachSeries(function(v){var x=v.get(this.mainType,!0),b=v[A];if(!x||!x.data){v[A]=null;return}b?b._mergeOption(x,e,!0):(u&&a(x),p.each(x.data,function(w){w instanceof Array?(a(w[0]),a(w[1])):a(w)}),b=new f(x,this,e),p.extend(b,{mainType:this.mainType,seriesIndex:v.seriesIndex,name:v.name,createdBySelf:!0}),b.__hostSeries=v),v[A]=b},this)},formatTooltip:function(l){var e=this.getData(),s=this.getRawValue(l),u=p.isArray(s)?p.map(s,n).join(", "):n(s),f=e.getName(l),A=t(this.name);return(s!=null||f)&&(A+="<br />"),f&&(A+=t(f),s!=null&&(A+=" : ")),s!=null&&(A+=t(u)),A},getData:function(){return this._data},setData:function(l){this._data=l}});p.mixin(d,o);var i=d;B.exports=i},JGo8:function(B,N,r){},JLnu:function(B,N,r){var y=r("+TT/"),m=r("OELB"),C=m.parsePercent,p=m.linearMap;function g(n,t){return y.getLayoutRect(n.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function h(n,t){for(var a=n.mapDimension("value"),d=n.mapArray(a,function(u){return u}),i=[],l=t==="ascending",e=0,s=n.count();e<s;e++)i[e]=e;return typeof t=="function"?i.sort(t):t!=="none"&&i.sort(function(u,f){return l?d[u]-d[f]:d[f]-d[u]}),i}function c(n){n.each(function(t){var a=n.getItemModel(t),d=a.getModel("label"),i=d.get("position"),l=a.getModel("labelLine"),e=n.getItemLayout(t),s=e.points,u=i==="inner"||i==="inside"||i==="center"||i==="insideLeft"||i==="insideRight",f,A,v,x;if(u)i==="insideLeft"?(A=(s[0][0]+s[3][0])/2+5,v=(s[0][1]+s[3][1])/2,f="left"):i==="insideRight"?(A=(s[1][0]+s[2][0])/2-5,v=(s[1][1]+s[2][1])/2,f="right"):(A=(s[0][0]+s[1][0]+s[2][0]+s[3][0])/4,v=(s[0][1]+s[1][1]+s[2][1]+s[3][1])/4,f="center"),x=[[A,v],[A,v]];else{var b,w,_,T=l.get("length");i==="left"?(b=(s[3][0]+s[0][0])/2,w=(s[3][1]+s[0][1])/2,_=b-T,A=_-5,f="right"):i==="right"?(b=(s[1][0]+s[2][0])/2,w=(s[1][1]+s[2][1])/2,_=b+T,A=_+5,f="left"):i==="rightTop"?(b=s[1][0],w=s[1][1],_=b+T,A=_+5,f="top"):i==="rightBottom"?(b=s[2][0],w=s[2][1],_=b+T,A=_+5,f="bottom"):i==="leftTop"?(b=s[0][0],w=s[1][1],_=b-T,A=_-5,f="right"):i==="leftBottom"?(b=s[3][0],w=s[2][1],_=b-T,A=_-5,f="right"):(b=(s[1][0]+s[2][0])/2,w=(s[1][1]+s[2][1])/2,_=b+T,A=_+5,f="left");var S=w;x=[[b,w],[_,S]],v=S}e.label={linePoints:x,x:A,y:v,verticalAlign:"middle",textAlign:f,inside:u}})}function o(n,t,a){n.eachSeriesByType("funnel",function(d){var i=d.getData(),l=i.mapDimension("value"),e=d.get("sort"),s=g(d,t),u=h(i,e),f=[C(d.get("minSize"),s.width),C(d.get("maxSize"),s.width)],A=i.getDataExtent(l),v=d.get("min"),x=d.get("max");v==null&&(v=Math.min(A[0],0)),x==null&&(x=A[1]);var b=d.get("funnelAlign"),w=d.get("gap"),_=(s.height-w*(i.count()-1))/i.count(),T=s.y,S=function(V,D){var H=i.get(l,V)||0,U=p(H,[v,x],f,!0),z;switch(b){case"left":z=s.x;break;case"center":z=s.x+(s.width-U)/2;break;case"right":z=s.x+s.width-U;break}return[[z,D],[z+U,D]]};e==="ascending"&&(_=-_,w=-w,T+=s.height,u=u.reverse());for(var E=0;E<u.length;E++){var I=u[E],O=u[E+1],F=i.getItemModel(I),k=F.get("itemStyle.height");k==null?k=_:(k=C(k,s.height),e==="ascending"&&(k=-k));var M=S(I,T),P=S(O,T+k);T+=k+w,i.setItemLayout(I,{points:M.concat(P.slice().reverse())})}c(i)})}B.exports=o},JSwD:function(B,N,r){"use strict";function y(s){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(f){return typeof f}:y=function(f){return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f},y(s)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=e;var m=p(r("6BzB"));function C(){if(typeof WeakMap!="function")return null;var s=new WeakMap;return C=function(){return s},s}function p(s){if(s&&s.__esModule)return s;if(s===null||y(s)!=="object"&&typeof s!="function")return{default:s};var u=C();if(u&&u.has(s))return u.get(s);var f={},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in s)if(Object.prototype.hasOwnProperty.call(s,v)){var x=A?Object.getOwnPropertyDescriptor(s,v):null;x&&(x.get||x.set)?Object.defineProperty(f,v,x):f[v]=s[v]}return f.default=s,u&&u.set(s,f),f}var g=15,h=852,c=592,o=0,n=1,t=2,a=[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],d=[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],l=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];function e(s,u,f,A,v,x,b,w){var _=w.bits,T=0,S=0,E=0,I=0,O=0,F=0,k=0,M=0,P=0,V=0,D,H,U,z,K,G=null,X=0,Z,ee=new m.Buf16(g+1),Se=new m.Buf16(g+1),$=null,pe=0,xe,_e,Ue;for(T=0;T<=g;T++)ee[T]=0;for(S=0;S<A;S++)ee[u[f+S]]++;for(O=_,I=g;I>=1&&!(ee[I]!==0);I--);if(O>I&&(O=I),I===0)return v[x++]=1<<24|64<<16|0,v[x++]=1<<24|64<<16|0,w.bits=1,0;for(E=1;E<I&&!(ee[E]!==0);E++);for(O<E&&(O=E),M=1,T=1;T<=g;T++)if(M<<=1,M-=ee[T],M<0)return-1;if(M>0&&(s===o||I!==1))return-1;for(Se[1]=0,T=1;T<g;T++)Se[T+1]=Se[T]+ee[T];for(S=0;S<A;S++)u[f+S]!==0&&(b[Se[u[f+S]]++]=S);if(s===o?(G=$=b,Z=19):s===n?(G=a,X-=257,$=d,pe-=257,Z=256):(G=i,$=l,Z=-1),V=0,S=0,T=E,K=x,F=O,k=0,U=-1,P=1<<O,z=P-1,s===n&&P>h||s===t&&P>c)return 1;for(;;){xe=T-k,b[S]<Z?(_e=0,Ue=b[S]):b[S]>Z?(_e=$[pe+b[S]],Ue=G[X+b[S]]):(_e=32+64,Ue=0),D=1<<T-k,H=1<<F,E=H;do H-=D,v[K+(V>>k)+H]=xe<<24|_e<<16|Ue|0;while(H!==0);for(D=1<<T-1;V&D;)D>>=1;if(D!==0?(V&=D-1,V+=D):V=0,S++,--ee[T]===0){if(T===I)break;T=u[f+b[S]]}if(T>O&&(V&z)!==U){for(k===0&&(k=O),K+=E,F=T-k,M=1<<F;F+k<I&&!(M-=ee[F+k],M<=0);)F++,M<<=1;if(P+=1<<F,s===n&&P>h||s===t&&P>c)return 1;U=V&z,v[U]=O<<24|F<<16|K-x|0}}return V!==0&&(v[K+V]=T-k<<24|64<<16|0),w.bits=O,0}},JVwQ:function(B,N,r){var y=r("ProS"),m=r("1NG9"),C=m.Polygon,p=r("IwbS"),g=r("bYtY"),h=g.bind,c=g.extend,o=r("gPAo"),n=y.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(a,d,i){var l=a.getData(),e=this.group,s=a.getLayerSeries(),u=l.getLayout("layoutInfo"),f=u.rect,A=u.boundaryGap;e.attr("position",[0,f.y+A[0]]);function v(_){return _.name}var x=new o(this._layersSeries||[],s,v,v),b={};x.add(h(w,this,"add")).update(h(w,this,"update")).remove(h(w,this,"remove")).execute();function w(_,T,S){var E=this._layers;if(_==="remove"){e.remove(E[T]);return}for(var I=[],O=[],F,k=s[T].indices,M=0;M<k.length;M++){var P=l.getItemLayout(k[M]),V=P.x,D=P.y0,H=P.y;I.push([V,D]),O.push([V,D+H]),F=l.getItemVisual(k[M],"color")}var U,z,K=l.getItemLayout(k[0]),G=l.getItemModel(k[M-1]),X=G.getModel("label"),Z=X.get("margin");if(_==="add"){var ee=b[T]=new p.Group;U=new C({shape:{points:I,stackedOnPoints:O,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),z=new p.Text({style:{x:K.x-Z,y:K.y0+K.y/2}}),ee.add(U),ee.add(z),e.add(ee),U.setClipPath(t(U.getBoundingRect(),a,function(){U.removeClipPath()}))}else{var ee=E[S];U=ee.childAt(0),z=ee.childAt(1),e.add(ee),b[T]=ee,p.updateProps(U,{shape:{points:I,stackedOnPoints:O}},a),p.updateProps(z,{style:{x:K.x-Z,y:K.y0+K.y/2}},a)}var Se=G.getModel("emphasis.itemStyle"),$=G.getModel("itemStyle");p.setTextStyle(z.style,X,{text:X.get("show")?a.getFormattedLabel(k[M-1],"normal")||l.getName(k[M-1]):null,textVerticalAlign:"middle"}),U.setStyle(c({fill:F},$.getItemStyle(["color"]))),p.setHoverStyle(U,Se.getItemStyle())}this._layersSeries=s,this._layers=b},dispose:function(){}});function t(a,d,i){var l=new p.Rect({shape:{x:a.x-10,y:a.y-10,width:0,height:a.height+20}});return p.initProps(l,{shape:{width:a.width+20,height:a.height+20}},d,i),l}B.exports=n},JgUQ:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};N.default=y},JsLm:function(B,N,r){"use strict";var y=r("pVnL"),m=r.n(y),C=r("lSNA"),p=r.n(C),g=r("lwsE"),h=r.n(g),c=r("W8MJ"),o=r.n(c),n=r("PJYZ"),t=r.n(n),a=r("7W2i"),d=r.n(a),i=r("LQ03"),l=r.n(i),e=r("q1tI"),s=r("i8i4"),u=r("TSYQ"),f=r.n(u),A=r("zT1h"),v=r("cDf5"),x=r.n(v),b=r("BGR+"),w=r("t23M"),_=r("H84U"),T=r("PEeC");function S(ye){return ye!==window?ye.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function E(ye,Be,Q){return Q!==void 0&&Be.top>ye.top-Q?Q+Be.top:void 0}function I(ye,Be,Q){if(Q!==void 0&&Be.bottom<ye.bottom+Q){var ie=window.innerHeight-Be.bottom;return Q+ie}return}var O=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],F=[];function k(){return F}function M(ye,Be){if(!ye)return;var Q=F.find(function(ie){return ie.target===ye});Q?Q.affixList.push(Be):(Q={target:ye,affixList:[Be],eventHandlers:{}},F.push(Q),O.forEach(function(ie){Q.eventHandlers[ie]=Object(A.a)(ye,ie,function(){Q.affixList.forEach(function(Ve){Ve.lazyUpdatePosition()})})}))}function P(ye){var Be=F.find(function(Q){var ie=Q.affixList.some(function(Ve){return Ve===ye});return ie&&(Q.affixList=Q.affixList.filter(function(Ve){return Ve!==ye})),ie});Be&&Be.affixList.length===0&&(F=F.filter(function(Q){return Q!==Be}),O.forEach(function(Q){var ie=Be.eventHandlers[Q];ie&&ie.remove&&ie.remove()}))}var V=function(ye,Be,Q,ie){var Ve=arguments.length,J=Ve<3?Be:ie===null?ie=Object.getOwnPropertyDescriptor(Be,Q):ie,W;if((typeof Reflect=="undefined"?"undefined":x()(Reflect))==="object"&&typeof Reflect.decorate=="function")J=Reflect.decorate(ye,Be,Q,ie);else for(var j=ye.length-1;j>=0;j--)(W=ye[j])&&(J=(Ve<3?W(J):Ve>3?W(Be,Q,J):W(Be,Q))||J);return Ve>3&&J&&Object.defineProperty(Be,Q,J),J};function D(){return typeof window!="undefined"?window:null}var H;(function(ye){ye[ye.None=0]="None",ye[ye.Prepare=1]="Prepare"})(H||(H={}));var U=function(ye){d()(Q,ye);var Be=l()(Q);function Q(){var ie;return h()(this,Q),ie=Be.apply(this,arguments),ie.state={status:H.None,lastAffix:!1,prevTarget:null},ie.getOffsetTop=function(){var Ve=ie.props.offsetBottom,J=ie.props.offsetTop;return Ve===void 0&&J===void 0&&(J=0),J},ie.getOffsetBottom=function(){return ie.props.offsetBottom},ie.savePlaceholderNode=function(Ve){ie.placeholderNode=Ve},ie.saveFixedNode=function(Ve){ie.fixedNode=Ve},ie.measure=function(){var Ve=ie.state,J=Ve.status,W=Ve.lastAffix,j=ie.props.onChange,Y=ie.getTargetFunc();if(J!==H.Prepare||!ie.fixedNode||!ie.placeholderNode||!Y)return;var me=ie.getOffsetTop(),ae=ie.getOffsetBottom(),Le=Y();if(!Le)return;var Ee={status:H.None},ne=S(Le),ge=S(ie.placeholderNode),Ie=E(ge,ne,me),Ge=I(ge,ne,ae);Ie!==void 0?(Ee.affixStyle={position:"fixed",top:Ie,width:ge.width,height:ge.height},Ee.placeholderStyle={width:ge.width,height:ge.height}):Ge!==void 0&&(Ee.affixStyle={position:"fixed",bottom:Ge,width:ge.width,height:ge.height},Ee.placeholderStyle={width:ge.width,height:ge.height}),Ee.lastAffix=!!Ee.affixStyle,j&&W!==Ee.lastAffix&&j(Ee.lastAffix),ie.setState(Ee)},ie.prepareMeasure=function(){if(ie.setState({status:H.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var Ve},ie.render=function(){var Ve=ie.context.getPrefixCls,J=ie.state,W=J.affixStyle,j=J.placeholderStyle,Y=ie.props,me=Y.prefixCls,ae=Y.children,Le=f()(p()({},Ve("affix",me),W)),Ee=Object(b.default)(ie.props,["prefixCls","offsetTop","offsetBottom","target","onChange"]);return e.createElement(w.a,{onResize:function(){ie.updatePosition()}},e.createElement("div",m()({},Ee,{ref:ie.savePlaceholderNode}),W&&e.createElement("div",{style:j,"aria-hidden":"true"}),e.createElement("div",{className:Le,ref:ie.saveFixedNode,style:W},e.createElement(w.a,{onResize:function(){ie.updatePosition()}},ae))))},ie}return o()(Q,[{key:"getTargetFunc",value:function(){var Ve=this.context.getTargetContainer,J=this.props.target;return J!==void 0?J:Ve||D}},{key:"componentDidMount",value:function(){var Ve=this,J=this.getTargetFunc();J&&(this.timeout=setTimeout(function(){M(J(),Ve),Ve.updatePosition()}))}},{key:"componentDidUpdate",value:function(Ve){var J=this.state.prevTarget,W=this.getTargetFunc(),j=null;W&&(j=W()||null),J!==j&&(P(this),j&&(M(j,this),this.updatePosition()),this.setState({prevTarget:j})),(Ve.offsetTop!==this.props.offsetTop||Ve.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),P(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var Ve=this.getTargetFunc(),J=this.state.affixStyle;if(Ve&&J){var W=this.getOffsetTop(),j=this.getOffsetBottom(),Y=Ve();if(Y&&this.placeholderNode){var me=S(Y),ae=S(this.placeholderNode),Le=E(ae,me,W),Ee=I(ae,me,j);if(Le!==void 0&&J.top===Le||Ee!==void 0&&J.bottom===Ee)return}}this.prepareMeasure()}}]),Q}(e.Component);U.contextType=_.b,V([Object(T.b)()],U.prototype,"updatePosition",null),V([Object(T.b)()],U.prototype,"lazyUpdatePosition",null);var z=U,K=r("zAh6"),G=r("i6bk"),X=e.createContext(null),Z=X;function ee(){return window}function Se(ye,Be){if(!ye.getClientRects().length)return 0;var Q=ye.getBoundingClientRect();return Q.width||Q.height?Be===window?(Be=ye.ownerDocument.documentElement,Q.top-Be.clientTop):Q.top-Be.getBoundingClientRect().top:Q.top}var $=/#(\S+)$/,pe=function(ye){d()(Q,ye);var Be=l()(Q);function Q(){var ie;return h()(this,Q),ie=Be.apply(this,arguments),ie.state={activeLink:null},ie.links=[],ie.registerLink=function(Ve){ie.links.includes(Ve)||ie.links.push(Ve)},ie.unregisterLink=function(Ve){var J=ie.links.indexOf(Ve);J!==-1&&ie.links.splice(J,1)},ie.getContainer=function(){var Ve=ie.context.getTargetContainer,J=ie.props.getContainer,W=J||Ve||ee;return W()},ie.handleScrollTo=function(Ve){var J=ie.props,W=J.offsetTop,j=J.targetOffset;ie.setCurrentActiveLink(Ve);var Y=ie.getContainer(),me=Object(G.a)(Y,!0),ae=$.exec(Ve);if(!ae)return;var Le=document.getElementById(ae[1]);if(!Le)return;var Ee=Se(Le,Y),ne=me+Ee;ne-=j!==void 0?j:W||0,ie.animating=!0,Object(K.a)(ne,{callback:function(){ie.animating=!1},getContainer:ie.getContainer})},ie.saveInkNode=function(Ve){ie.inkNode=Ve},ie.setCurrentActiveLink=function(Ve){var J=ie.state.activeLink,W=ie.props.onChange;J!==Ve&&(ie.setState({activeLink:Ve}),W&&W(Ve))},ie.handleScroll=function(){if(ie.animating)return;var Ve=ie.props,J=Ve.offsetTop,W=Ve.bounds,j=Ve.targetOffset,Y=ie.getCurrentAnchor(j!==void 0?j:J||0,W);ie.setCurrentActiveLink(Y)},ie.updateInk=function(){var Ve=t()(ie),J=Ve.prefixCls,W=s.findDOMNode(t()(ie)),j=W.getElementsByClassName("".concat(J,"-link-title-active"))[0];j&&(ie.inkNode.style.top="".concat(j.offsetTop+j.clientHeight/2-4.5,"px"))},ie.render=function(){var Ve=ie.context,J=Ve.getPrefixCls,W=Ve.direction,j=ie.props,Y=j.prefixCls,me=j.className,ae=me===void 0?"":me,Le=j.style,Ee=j.offsetTop,ne=j.affix,ge=j.showInkInFixed,Ie=j.children,Ge=ie.state.activeLink,ut=J("anchor",Y);ie.prefixCls=ut;var wt=f()("".concat(ut,"-ink-ball"),{visible:Ge}),Pe=f()(ae,"".concat(ut,"-wrapper"),p()({},"".concat(ut,"-rtl"),W==="rtl")),Dt=f()(ut,{fixed:!ne&&!ge}),et=m()({maxHeight:Ee?"calc(100vh - ".concat(Ee,"px)"):"100vh"},Le),_t=e.createElement("div",{className:Pe,style:et},e.createElement("div",{className:Dt},e.createElement("div",{className:"".concat(ut,"-ink")},e.createElement("span",{className:wt,ref:ie.saveInkNode})),Ie));return e.createElement(Z.Provider,{value:{registerLink:ie.registerLink,unregisterLink:ie.unregisterLink,activeLink:ie.state.activeLink,scrollTo:ie.handleScrollTo,onClick:ie.props.onClick}},ne?e.createElement(z,{offsetTop:Ee,target:ie.getContainer},_t):_t)},ie}return o()(Q,[{key:"componentDidMount",value:function(){this.scrollContainer=this.getContainer(),this.scrollEvent=Object(A.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll()}},{key:"componentDidUpdate",value:function(){if(this.scrollEvent){var Ve=this.getContainer();this.scrollContainer!==Ve&&(this.scrollContainer=Ve,this.scrollEvent.remove(),this.scrollEvent=Object(A.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll())}this.updateInk()}},{key:"componentWillUnmount",value:function(){this.scrollEvent&&this.scrollEvent.remove()}},{key:"getCurrentAnchor",value:function(){var Ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,W=this.props.getCurrentAnchor;if(typeof W=="function")return W();var j=[],Y=this.getContainer();if(this.links.forEach(function(ae){var Le=$.exec(ae.toString());if(!Le)return;var Ee=document.getElementById(Le[1]);if(Ee){var ne=Se(Ee,Y);ne<Ve+J&&j.push({link:ae,top:ne})}}),j.length){var me=j.reduce(function(ae,Le){return Le.top>ae.top?Le:ae});return me.link}return""}}]),Q}(e.Component);pe.defaultProps={affix:!0,showInkInFixed:!1},pe.contextType=_.b;var xe=function(ye){d()(Q,ye);var Be=l()(Q);function Q(){var ie;return h()(this,Q),ie=Be.apply(this,arguments),ie.handleClick=function(Ve){var J=ie.context,W=J.scrollTo,j=J.onClick,Y=ie.props,me=Y.href,ae=Y.title;j&&j(Ve,{title:ae,href:me}),W(me)},ie.renderAnchorLink=function(Ve){var J=Ve.getPrefixCls,W=ie.props,j=W.prefixCls,Y=W.href,me=W.title,ae=W.children,Le=W.className,Ee=W.target,ne=J("anchor",j),ge=ie.context.activeLink===Y,Ie=f()(Le,"".concat(ne,"-link"),p()({},"".concat(ne,"-link-active"),ge)),Ge=f()("".concat(ne,"-link-title"),p()({},"".concat(ne,"-link-title-active"),ge));return e.createElement("div",{className:Ie},e.createElement("a",{className:Ge,href:Y,title:typeof me=="string"?me:"",target:Ee,onClick:ie.handleClick},me),ae)},ie}return o()(Q,[{key:"componentDidMount",value:function(){this.context.registerLink(this.props.href)}},{key:"componentDidUpdate",value:function(Ve){var J=Ve.href,W=this.props.href;J!==W&&(this.context.unregisterLink(J),this.context.registerLink(W))}},{key:"componentWillUnmount",value:function(){this.context.unregisterLink(this.props.href)}},{key:"render",value:function(){return e.createElement(_.a,null,this.renderAnchorLink)}}]),Q}(e.Component);xe.defaultProps={href:"#"},xe.contextType=Z;var _e=xe;pe.Link=_e;var Ue=N.a=pe},JuEJ:function(B,N,r){var y=r("bYtY"),m=r("4NO4"),C=y.each,p=y.isObject,g=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function h(e){var s=e&&e.itemStyle;if(!s)return;for(var u=0,f=g.length;u<f;u++){var A=g[u],v=s.normal,x=s.emphasis;v&&v[A]&&(e[A]=e[A]||{},e[A].normal?y.merge(e[A].normal,v[A]):e[A].normal=v[A],v[A]=null),x&&x[A]&&(e[A]=e[A]||{},e[A].emphasis?y.merge(e[A].emphasis,x[A]):e[A].emphasis=x[A],x[A]=null)}}function c(e,s,u){if(e&&e[s]&&(e[s].normal||e[s].emphasis)){var f=e[s].normal,A=e[s].emphasis;f&&(u?(e[s].normal=e[s].emphasis=null,y.defaults(e[s],f)):e[s]=f),A&&(e.emphasis=e.emphasis||{},e.emphasis[s]=A)}}function o(e){c(e,"itemStyle"),c(e,"lineStyle"),c(e,"areaStyle"),c(e,"label"),c(e,"labelLine"),c(e,"upperLabel"),c(e,"edgeLabel")}function n(e,s){var u=p(e)&&e[s],f=p(u)&&u.textStyle;if(f)for(var A=0,v=m.TEXT_STYLE_OPTIONS.length;A<v;A++){var s=m.TEXT_STYLE_OPTIONS[A];f.hasOwnProperty(s)&&(u[s]=f[s])}}function t(e){e&&(o(e),n(e,"label"),e.emphasis&&n(e.emphasis,"label"))}function a(e){if(!p(e))return;h(e),o(e),n(e,"label"),n(e,"upperLabel"),n(e,"edgeLabel"),e.emphasis&&(n(e.emphasis,"label"),n(e.emphasis,"upperLabel"),n(e.emphasis,"edgeLabel"));var s=e.markPoint;s&&(h(s),t(s));var u=e.markLine;u&&(h(u),t(u));var f=e.markArea;f&&t(f);var A=e.data;if(e.type==="graph"){A=A||e.nodes;var v=e.links||e.edges;if(v&&!y.isTypedArray(v))for(var x=0;x<v.length;x++)t(v[x]);y.each(e.categories,function(_){o(_)})}if(A&&!y.isTypedArray(A))for(var x=0;x<A.length;x++)t(A[x]);var s=e.markPoint;if(s&&s.data)for(var b=s.data,x=0;x<b.length;x++)t(b[x]);var u=e.markLine;if(u&&u.data)for(var w=u.data,x=0;x<w.length;x++)y.isArray(w[x])?(t(w[x][0]),t(w[x][1])):t(w[x]);e.type==="gauge"?(n(e,"axisLabel"),n(e,"title"),n(e,"detail")):e.type==="treemap"?(c(e.breadcrumb,"itemStyle"),y.each(e.levels,function(_){o(_)})):e.type==="tree"&&o(e.leaves)}function d(e){return y.isArray(e)?e:e?[e]:[]}function i(e){return(y.isArray(e)?e[0]:e)||{}}function l(e,s){C(d(e.series),function(f){p(f)&&a(f)});var u=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];s&&u.push("valueAxis","categoryAxis","logAxis","timeAxis"),C(u,function(f){C(d(e[f]),function(A){A&&(n(A,"axisLabel"),n(A.axisPointer,"label"))})}),C(d(e.parallel),function(f){var A=f&&f.parallelAxisDefault;n(A,"axisLabel"),n(A&&A.axisPointer,"label")}),C(d(e.calendar),function(f){c(f,"itemStyle"),n(f,"dayLabel"),n(f,"monthLabel"),n(f,"yearLabel")}),C(d(e.radar),function(f){n(f,"name")}),C(d(e.geo),function(f){p(f)&&(t(f),C(d(f.regions),function(A){t(A)}))}),C(d(e.timeline),function(f){t(f),c(f,"label"),c(f,"itemStyle"),c(f,"controlStyle",!0);var A=f.data;y.isArray(A)&&y.each(A,function(v){y.isObject(v)&&(c(v,"label"),c(v,"itemStyle"))})}),C(d(e.toolbox),function(f){c(f,"iconStyle"),C(f.feature,function(A){c(A,"iconStyle")})}),n(i(e.axisPointer),"label"),n(i(e.tooltip).axisPointer,"label")}B.exports=l},K2GJ:function(B,N,r){var y=r("fW2E"),m=r("gut8"),C=m.ContextCachedBy,p=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],g=function(i){this.extendFrom(i,!1)};function h(d,i,l){var e=i.x==null?0:i.x,s=i.x2==null?1:i.x2,u=i.y==null?0:i.y,f=i.y2==null?0:i.y2;i.global||(e=e*l.width+l.x,s=s*l.width+l.x,u=u*l.height+l.y,f=f*l.height+l.y),e=isNaN(e)?0:e,s=isNaN(s)?1:s,u=isNaN(u)?0:u,f=isNaN(f)?0:f;var A=d.createLinearGradient(e,u,s,f);return A}function c(d,i,l){var e=l.width,s=l.height,u=Math.min(e,s),f=i.x==null?.5:i.x,A=i.y==null?.5:i.y,v=i.r==null?.5:i.r;i.global||(f=f*e+l.x,A=A*s+l.y,v=v*u);var x=d.createRadialGradient(f,A,0,f,A,v);return x}g.prototype={constructor:g,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(i,l,e){var s=this,u=e&&e.style,f=!u||i.__attrCachedBy!==C.STYLE_BIND;i.__attrCachedBy=C.STYLE_BIND;for(var A=0;A<p.length;A++){var v=p[A],x=v[0];(f||s[x]!==u[x])&&(i[x]=y(i,x,s[x]||v[1]))}if((f||s.fill!==u.fill)&&(i.fillStyle=s.fill),(f||s.stroke!==u.stroke)&&(i.strokeStyle=s.stroke),(f||s.opacity!==u.opacity)&&(i.globalAlpha=s.opacity==null?1:s.opacity),(f||s.blend!==u.blend)&&(i.globalCompositeOperation=s.blend||"source-over"),this.hasStroke()){var b=s.lineWidth;i.lineWidth=b/(this.strokeNoScale&&l&&l.getLineScale?l.getLineScale():1)}},hasFill:function(){var i=this.fill;return i!=null&&i!=="none"},hasStroke:function(){var i=this.stroke;return i!=null&&i!=="none"&&this.lineWidth>0},extendFrom:function(i,l){if(i)for(var e in i)i.hasOwnProperty(e)&&(l===!0||(l===!1?!this.hasOwnProperty(e):i[e]!=null))&&(this[e]=i[e])},set:function(i,l){typeof i=="string"?this[i]=l:this.extendFrom(i,!0)},clone:function(){var i=new this.constructor;return i.extendFrom(this,!0),i},getGradient:function(i,l,e){for(var s=l.type==="radial"?c:h,u=s(i,l,e),f=l.colorStops,A=0;A<f.length;A++)u.addColorStop(f[A].offset,f[A].color);return u}};for(var o=g.prototype,n=0;n<p.length;n++){var t=p[n];t[0]in o||(o[t[0]]=t[1])}g.getGradient=o.getGradient;var a=g;B.exports=a},K4ya:function(B,N,r){var y=r("bYtY"),m=r("XxSj"),C=y.each;function p(n){if(n){for(var t in n)if(n.hasOwnProperty(t))return!0}}function g(n,t,a){var d={};return C(t,function(l){var e=d[l]=i();C(n[l],function(s,u){if(!m.isValidType(u))return;var f={type:u,visual:s};a&&a(f,l),e[u]=new m(f),u==="opacity"&&(f=y.clone(f),f.type="colorAlpha",e.__hidden.__alphaForOpacity=new m(f))})}),d;function i(){var l=function(){};l.prototype.__hidden=l.prototype;var e=new l;return e}}function h(n,t,a){var d;y.each(a,function(i){t.hasOwnProperty(i)&&p(t[i])&&(d=!0)}),d&&y.each(a,function(i){t.hasOwnProperty(i)&&p(t[i])?n[i]=y.clone(t[i]):delete n[i]})}function c(n,t,a,d,i,l){var e={};y.each(n,function(v){var x=m.prepareVisualTypes(t[v]);e[v]=x});var s;function u(v){return a.getItemVisual(s,v)}function f(v,x){a.setItemVisual(s,v,x)}l==null?a.each(A):a.each([l],A);function A(v,x){s=l==null?v:x;var b=a.getRawDataItem(s);if(b&&b.visualMap===!1)return;for(var w=d.call(i,v),_=t[w],T=e[w],S=0,E=T.length;S<E;S++){var I=T[S];_[I]&&_[I].applyVisual(v,u,f)}}}function o(n,t,a,d){var i={};y.each(n,function(e){var s=m.prepareVisualTypes(t[e]);i[e]=s});function l(e,s){d!=null&&(d=s.getDimension(d));function u(I){return s.getItemVisual(A,I)}function f(I,O){s.setItemVisual(A,I,O)}for(var A;(A=e.next())!=null;){var v=s.getRawDataItem(A);if(v&&v.visualMap===!1)continue;for(var x=d!=null?s.get(d,A,!0):A,b=a(x),w=t[b],_=i[b],T=0,S=_.length;T<S;T++){var E=_[T];w[E]&&w[E].applyVisual(x,u,f)}}}return{progress:l}}N.createVisualMappings=g,N.replaceVisualOption=h,N.applyVisual=c,N.incrementalApplyVisual=o},KCsZ:function(B,N,r){var y=r("bYtY");function m(C){for(var p=0;p<C.length;p++)C[p][1]||(C[p][1]=C[p][0]);return function(g,h,c){for(var o={},n=0;n<C.length;n++){var t=C[n][1];if(h&&y.indexOf(h,t)>=0||c&&y.indexOf(c,t)<0)continue;var a=g.getShallow(t);a!=null&&(o[C[n][0]]=a)}return o}}B.exports=m},KPFz:function(B,N,r){},KQeH:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"};N.default=y},KS52:function(B,N,r){var y=r("OELB"),m=y.parsePercent,C=y.linearMap,p=r("+TT/"),g=r("u3DP"),h=r("bYtY"),c=Math.PI*2,o=Math.PI/180;function n(a,d){return p.getLayoutRect(a.getBoxLayoutParams(),{width:d.getWidth(),height:d.getHeight()})}function t(a,d,i,l){d.eachSeriesByType(a,function(e){var s=e.getData(),u=s.mapDimension("value"),f=n(e,i),A=e.get("center"),v=e.get("radius");h.isArray(v)||(v=[0,v]),h.isArray(A)||(A=[A,A]);var x=m(f.width,i.getWidth()),b=m(f.height,i.getHeight()),w=Math.min(x,b),_=m(A[0],x)+f.x,T=m(A[1],b)+f.y,S=m(v[0],w/2),E=m(v[1],w/2),I=-e.get("startAngle")*o,O=e.get("minAngle")*o,F=0;s.each(u,function(Z){!isNaN(Z)&&F++});var k=s.getSum(u),M=Math.PI/(k||F)*2,P=e.get("clockwise"),V=e.get("roseType"),D=e.get("stillShowZeroSum"),H=s.getDataExtent(u);H[0]=0;var U=c,z=0,K=I,G=P?1:-1;if(s.each(u,function(Z,ee){var Se;if(isNaN(Z)){s.setItemLayout(ee,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:P,cx:_,cy:T,r0:S,r:V?NaN:E,viewRect:f});return}V!=="area"?Se=k===0&&D?M:Z*M:Se=c/F,Se<O?(Se=O,U-=O):z+=Z;var $=K+G*Se;s.setItemLayout(ee,{angle:Se,startAngle:K,endAngle:$,clockwise:P,cx:_,cy:T,r0:S,r:V?C(Z,H,[S,E]):E,viewRect:f}),K=$}),U<c&&F)if(U<=.001){var X=c/F;s.each(u,function(Z,ee){if(!isNaN(Z)){var Se=s.getItemLayout(ee);Se.angle=X,Se.startAngle=I+G*ee*X,Se.endAngle=I+G*(ee+1)*X}})}else M=U/z,K=I,s.each(u,function(Z,ee){if(!isNaN(Z)){var Se=s.getItemLayout(ee),$=Se.angle===O?O:Z*M;Se.startAngle=K,Se.endAngle=K+G*$,K+=G*$}});g(e,E,f.width,f.height,f.x,f.y)})}B.exports=t},KUOm:function(B,N){function r(y){var m={};y.eachSeriesByType("graph",function(C){var p=C.getCategoriesData(),g=C.getData(),h={};p.each(function(c){var o=p.getName(c);h["ec-"+o]=c;var n=p.getItemModel(c),t=n.get("itemStyle.color")||C.getColorFromPalette(o,m);p.setItemVisual(c,"color",t);for(var a=["opacity","symbol","symbolSize","symbolKeepAspect"],d=0;d<a.length;d++){var i=n.getShallow(a[d],!0);i!=null&&p.setItemVisual(c,a[d],i)}}),p.count()&&g.each(function(c){var o=g.getItemModel(c),n=o.getShallow("category");if(n!=null){typeof n=="string"&&(n=h["ec-"+n]);for(var t=["color","opacity","symbol","symbolSize","symbolKeepAspect"],a=0;a<t.length;a++)g.getItemVisual(c,t[a],!0)==null&&g.setItemVisual(c,t[a],p.getItemVisual(n,t[a]))}})})}B.exports=r},Kagy:function(B,N){var r={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:""}}}};B.exports=r},KamJ:function(B,N,r){var y=r("ProS"),m=r("szbU");r("vF/C"),r("qwVE"),r("BuqR"),r("AE9C"),r("1u/T"),y.registerPreprocessor(m)},KmBX:function(B,N,r){"use strict";var y=r("284h"),m=r("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var C=m(r("3tO9")),p=y(r("q1tI")),g=m(r("CP8R")),h=m(r("KQxl")),c=function(t,a){return p.createElement(h.default,(0,C.default)((0,C.default)({},t),{},{ref:a,icon:g.default}))};c.displayName="FilterFilled";var o=p.forwardRef(c);N.default=o},"KpQ+":function(B,N,r){"use strict";var y=r("284h"),m=r("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var C=m(r("3tO9")),p=y(r("q1tI")),g=m(r("E/ki")),h=m(r("KQxl")),c=function(t,a){return p.createElement(h.default,(0,C.default)((0,C.default)({},t),{},{ref:a,icon:g.default}))};c.displayName="ClockCircleOutlined";var o=p.forwardRef(c);N.default=o},KrTs:function(B,N,r){"use strict";var y=r("lSNA"),m=r.n(y),C=r("cDf5"),p=r.n(C),g=r("pVnL"),h=r.n(g),c=r("q1tI"),o=r("MFj2"),n=r("TSYQ"),t=r.n(n),a=r("J4zp"),d=r.n(a),i=r("H84U"),l=r("0n0R"),e=function(E,I){var O={};for(var F in E)Object.prototype.hasOwnProperty.call(E,F)&&I.indexOf(F)<0&&(O[F]=E[F]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,F=Object.getOwnPropertySymbols(E);k<F.length;k++)I.indexOf(F[k])<0&&Object.prototype.propertyIsEnumerable.call(E,F[k])&&(O[F[k]]=E[F[k]]);return O};function s(E){return E?E.toString().split("").reverse().map(function(I){var O=Number(I);return isNaN(O)?I:O}):[]}function u(E,I){for(var O=[],F=0;F<30;F++)O.push(c.createElement("p",{key:F.toString(),className:t()(I,{current:E===F})},F%10));return O}var f=function(I){var O=I.prefixCls,F=I.count,k=I.className,M=I.style,P=I.title,V=I.component,D=V===void 0?"sup":V,H=I.displayComponent,U=I.onAnimated,z=U===void 0?function(){}:U,K=e(I,["prefixCls","count","className","style","title","component","displayComponent","onAnimated"]),G=c.useState(!0),X=d()(G,2),Z=X[0],ee=X[1],Se=c.useState(F),$=d()(Se,2),pe=$[0],xe=$[1],_e=c.useState(F),Ue=d()(_e,2),ye=Ue[0],Be=Ue[1],Q=c.useState(F),ie=d()(Q,2),Ve=ie[0],J=ie[1],W=c.useContext(i.b),j=W.getPrefixCls,Y=j("scroll-number",O);ye!==F&&(ee(!0),Be(F)),c.useEffect(function(){J(pe);var ne;return Z&&(ne=setTimeout(function(){ee(!1),xe(F),z()})),function(){ne&&clearTimeout(ne)}},[Z,F,z]);var me=function(ge,Ie){var Ge=Math.abs(Number(pe)),ut=Math.abs(Number(Ve)),wt=Math.abs(s(pe)[Ie]),Pe=Math.abs(s(ut)[Ie]);return Z?10+ge:Ge>ut?wt>=Pe?10+ge:20+ge:wt<=Pe?10+ge:ge},ae=function(ge,Ie){if(typeof ge=="number"){var Ge=me(ge,Ie),ut=Z||s(Ve)[Ie]===void 0;return c.createElement("span",{className:"".concat(Y,"-only"),style:{transition:ut?"none":void 0,msTransform:"translateY(".concat(-Ge*100,"%)"),WebkitTransform:"translateY(".concat(-Ge*100,"%)"),transform:"translateY(".concat(-Ge*100,"%)")},key:Ie},u(Ge,"".concat(Y,"-only-unit")))}return c.createElement("span",{key:"symbol",className:"".concat(Y,"-symbol")},ge)},Le=function(){return pe&&Number(pe)%1===0?s(pe).map(function(ge,Ie){return ae(ge,Ie)}).reverse():pe},Ee=h()(h()({},K),{style:M,className:t()(Y,k),title:P});return M&&M.borderColor&&(Ee.style=h()(h()({},M),{boxShadow:"0 0 0 1px ".concat(M.borderColor," inset")})),H?Object(l.a)(H,{className:t()("".concat(Y,"-custom-component"),H.props&&H.props.className)}):c.createElement(D,Ee,Le())},A=f,v=r("09Wf");function x(E){return v.a.indexOf(E)!==-1}var b=function(I){var O,F=I.className,k=I.prefixCls,M=I.style,P=I.color,V=I.children,D=I.text,H=I.placement,U=H===void 0?"end":H,z=c.useContext(i.b),K=z.getPrefixCls,G=z.direction,X=K("ribbon",k),Z=x(P),ee=t()(X,F,"".concat(X,"-placement-").concat(U),(O={},m()(O,"".concat(X,"-rtl"),G==="rtl"),m()(O,"".concat(X,"-color-").concat(P),Z),O)),Se={},$={};return P&&!Z&&(Se.background=P,$.color=P),c.createElement("div",{className:"".concat(X,"-wrapper")},V,c.createElement("div",{className:ee,style:h()(h()({},Se),M)},D,c.createElement("div",{className:"".concat(X,"-corner"),style:$})))},w=b,_=function(E,I){var O={};for(var F in E)Object.prototype.hasOwnProperty.call(E,F)&&I.indexOf(F)<0&&(O[F]=E[F]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,F=Object.getOwnPropertySymbols(E);k<F.length;k++)I.indexOf(F[k])<0&&Object.prototype.propertyIsEnumerable.call(E,F[k])&&(O[F[k]]=E[F[k]]);return O},T=function(I){var O,F,k=I.prefixCls,M=I.scrollNumberPrefixCls,P=I.children,V=I.status,D=I.text,H=I.color,U=I.count,z=U===void 0?null:U,K=I.overflowCount,G=K===void 0?99:K,X=I.dot,Z=X===void 0?!1:X,ee=I.size,Se=ee===void 0?"default":ee,$=I.title,pe=I.offset,xe=I.style,_e=I.className,Ue=I.showZero,ye=Ue===void 0?!1:Ue,Be=_(I,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","showZero"]),Q=c.useContext(i.b),ie=Q.getPrefixCls,Ve=Q.direction,J=ie("badge",k),W=function(){var Nt=z>G?"".concat(G,"+"):z;return Nt},j=function(){return!!V||!!H},Y=function(){var Nt=W();return Nt==="0"||Nt===0},me=function(){return Z&&!Y()||j()},ae=function(){return me()?"":W()},Le=function(){return $||(typeof z=="string"||typeof z=="number"?z:void 0)},Ee=function(){return Ve==="rtl"?pe?h()({left:parseInt(pe[0],10),marginTop:pe[1]},xe):xe:pe?h()({right:-parseInt(pe[0],10),marginTop:pe[1]},xe):xe},ne=function(){var Nt=ae(),Bt=Nt==null||Nt==="";return(Bt||Y()&&!ye)&&!me()},ge=function(){var Nt=ne();return Nt||!D?null:c.createElement("span",{className:"".concat(J,"-status-text")},D)},Ie=function(){var Nt=z;return!Nt||p()(Nt)!=="object"?void 0:Object(l.a)(Nt,{style:h()(h()({},Ee()),Nt.props&&Nt.props.style)})},Ge=function(){var Nt,Bt=ie("scroll-number",M),Ft=ae(),Gt=me(),qe=ne(),we=t()((Nt={},m()(Nt,"".concat(J,"-dot"),Gt),m()(Nt,"".concat(J,"-count"),!Gt),m()(Nt,"".concat(J,"-count-sm"),Se==="small"),m()(Nt,"".concat(J,"-multiple-words"),!Gt&&z&&z.toString&&z.toString().length>1),m()(Nt,"".concat(J,"-status-").concat(V),!!V),m()(Nt,"".concat(J,"-status-").concat(H),x(H)),Nt)),ue=Ee();return H&&!x(H)&&(ue=ue||{},ue.background=H),qe?null:c.createElement(A,{prefixCls:Bt,"data-show":!qe,className:we,count:Ft,displayComponent:Ie(),title:Le(),style:ue,key:"scrollNumber"})},ut=t()((O={},m()(O,"".concat(J,"-status-dot"),j()),m()(O,"".concat(J,"-status-").concat(V),!!V),m()(O,"".concat(J,"-status-").concat(H),x(H)),O)),wt={};H&&!x(H)&&(wt.background=H);var Pe=t()(_e,J,(F={},m()(F,"".concat(J,"-status"),j()),m()(F,"".concat(J,"-not-a-wrapper"),!P),m()(F,"".concat(J,"-rtl"),Ve==="rtl"),F));if(!P&&j()){var Dt=Ee(),et=Dt&&Dt.color;return c.createElement("span",h()({},Be,{className:Pe,style:Dt}),c.createElement("span",{className:ut,style:wt}),c.createElement("span",{style:{color:et},className:"".concat(J,"-status-text")},D))}return c.createElement("span",h()({},Be,{className:Pe}),P,c.createElement(o.a,{component:"",showProp:"data-show",transitionName:P?"".concat(J,"-zoom"):"",transitionAppear:!0},Ge()),ge())};T.Ribbon=w;var S=N.a=T},Kvyg:function(B,N,r){},KxBF:function(B,N){function r(y,m,C){var p=-1,g=y.length;m<0&&(m=-m>g?0:g+m),C=C>g?g:C,C<0&&(C+=g),g=m>C?0:C-m>>>0,m>>>=0;for(var h=Array(g);++p<g;)h[p]=y[p+m];return h}B.exports=r},KxFI:function(B,N,r){},KxfA:function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("bYtY"),p=C.isTypedArray,g=C.extend,h=C.assert,c=C.each,o=C.isObject,n=r("4NO4"),t=n.getDataItemValue,a=n.isDataItemOption,d=r("OELB"),i=d.parseDate,l=r("7G+c"),e=r("k9D9"),s=e.SOURCE_FORMAT_TYPED_ARRAY,u=e.SOURCE_FORMAT_ARRAY_ROWS,f=e.SOURCE_FORMAT_ORIGINAL,A=e.SOURCE_FORMAT_OBJECT_ROWS;function v(P,V){l.isInstance(P)||(P=l.seriesDataToSource(P)),this._source=P;var D=this._data=P.data,H=P.sourceFormat;H===s&&(this._offset=0,this._dimSize=V,this._data=D);var U=b[H===u?H+"_"+P.seriesLayoutBy:H];g(this,U)}var x=v.prototype;x.pure=!1,x.persistent=!0,x.getSource=function(){return this._source};var b={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(P){return this._data[P+this._source.startIndex]},appendData:T},arrayRows_row:{pure:!0,count:function(){var P=this._data[0];return P?Math.max(0,P.length-this._source.startIndex):0},getItem:function(P){P+=this._source.startIndex;for(var V=[],D=this._data,H=0;H<D.length;H++){var U=D[H];V.push(U?U[P]:null)}return V},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:w,getItem:_,appendData:T},keyedColumns:{pure:!0,count:function(){var P=this._source.dimensionsDefine[0].name,V=this._data[P];return V?V.length:0},getItem:function(P){for(var V=[],D=this._source.dimensionsDefine,H=0;H<D.length;H++){var U=this._data[D[H].name];V.push(U?U[P]:null)}return V},appendData:function(P){var V=this._data;c(P,function(D,H){for(var U=V[H]||(V[H]=[]),z=0;z<(D||[]).length;z++)U.push(D[z])})}},original:{count:w,getItem:_,appendData:T},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(P,V){P=P-this._offset,V=V||[];for(var D=this._dimSize*P,H=0;H<this._dimSize;H++)V[H]=this._data[D+H];return V},appendData:function(P){this._data=P},clean:function(){this._offset+=this.count(),this._data=null}}};function w(){return this._data.length}function _(P){return this._data[P]}function T(P){for(var V=0;V<P.length;V++)this._data.push(P[V])}var S={arrayRows:E,objectRows:function(P,V,D,H){return D!=null?P[H]:P},keyedColumns:E,original:function(P,V,D,H){var U=t(P);return D==null||!(U instanceof Array)?U:U[D]},typedArray:E};function E(P,V,D,H){return D!=null?P[D]:P}var I={arrayRows:O,objectRows:function(P,V,D,H){return F(P[V],this._dimensionInfos[V])},keyedColumns:O,original:function(P,V,D,H){var U=P&&(P.value==null?P:P.value);return!this._rawData.pure&&a(P)&&(this.hasItemOption=!0),F(U instanceof Array?U[H]:U,this._dimensionInfos[V])},typedArray:function(P,V,D,H){return P[H]}};function O(P,V,D,H){return F(P[H],this._dimensionInfos[V])}function F(P,V){var D=V&&V.type;if(D==="ordinal"){var H=V&&V.ordinalMeta;return H?H.parseAndCollect(P):P}return D==="time"&&typeof P!="number"&&P!=null&&P!=="-"&&(P=+i(P)),P==null||P===""?NaN:+P}function k(P,V,D){if(!P)return;var H=P.getRawDataItem(V);if(H==null)return;var U=P.getProvider().getSource().sourceFormat,z,K,G=P.getDimensionInfo(D);return G&&(z=G.name,K=G.index),S[U](H,V,K,z)}function M(P,V,D){if(!P)return;var H=P.getProvider().getSource().sourceFormat;if(H!==f&&H!==A)return;var U=P.getRawDataItem(V);if(H===f&&!o(U)&&(U=null),U)return U[D]}N.DefaultDataProvider=v,N.defaultDimValueGetters=I,N.retrieveRawValue=k,N.retrieveRawAttr=M},L0Ub:function(B,N,r){var y=r("bYtY"),m=y.each,C=y.createHashMap,p=y.assert,g=r("Tghj"),h=g.__DEV__,c=C(["tooltip","label","itemName","itemId","seriesName"]);function o(d){var i={},l=i.encode={},e=C(),s=[],u=[],f=i.userOutput={dimensionNames:d.dimensions.slice(),encode:{}};m(d.dimensions,function(w){var _=d.getDimensionInfo(w),T=_.coordDim;if(T){var S=_.coordDimIndex;n(l,T)[S]=w,_.isExtraCoord||(e.set(T,1),a(_.type)&&(s[0]=w),n(f.encode,T)[S]=_.index),_.defaultTooltip&&u.push(w)}c.each(function(E,I){var O=n(l,I),F=_.otherDims[I];F!=null&&F!==!1&&(O[F]=_.name)})});var A=[],v={};e.each(function(w,_){var T=l[_];v[_]=T[0],A=A.concat(T)}),i.dataDimsOnCoord=A,i.encodeFirstDimNotExtra=v;var x=l.label;x&&x.length&&(s=x.slice());var b=l.tooltip;return b&&b.length?u=b.slice():u.length||(u=s.slice()),l.defaultedLabel=s,l.defaultedTooltip=u,i}function n(d,i){return d.hasOwnProperty(i)||(d[i]=[]),d[i]}function t(d){return d==="category"?"ordinal":d==="time"?"time":"float"}function a(d){return!(d==="ordinal"||d==="time")}N.OTHER_DIMENSIONS=c,N.summarizeDimensions=o,N.getDimensionTypeByAxis=t},L3Oj:function(B,N,r){var y=r("ProS"),m=r("bYtY"),C=r("HjIi");r("HM/N"),r("9eas"),r("eS4l"),r("y4/Y"),r("as94"),y.registerLayout(m.curry(C,"bar")),y.extendComponentView({type:"polar"})},L5E0:function(B,N){var r=["itemStyle","borderColor"];function y(m,C){var p=m.get("color");m.eachRawSeriesByType("boxplot",function(g){var h=p[g.seriesIndex%p.length],c=g.getData();c.setVisual({legendSymbol:"roundRect",color:g.get(r)||h}),m.isSeriesFiltered(g)||c.each(function(o){var n=c.getItemModel(o);c.setItemVisual(o,{color:n.get(r,!0)})})})}B.exports=y},LBfv:function(B,N,r){var y=r("ProS"),m=r("bYtY"),C=m.createHashMap,p=m.each;y.registerProcessor({getTargetSeries:function(g){var h=C();return g.eachComponent("dataZoom",function(c){c.eachTargetAxis(function(o,n,t){var a=t.getAxisProxy(o.name,n);p(a.getTargetSeriesModels(),function(d){h.set(d.uid,d)})})}),h},modifyOutputEnd:!0,overallReset:function(g,h){g.eachComponent("dataZoom",function(c){c.eachTargetAxis(function(o,n,t){t.getAxisProxy(o.name,n).reset(t,h)}),c.eachTargetAxis(function(o,n,t){t.getAxisProxy(o.name,n).filterData(t,h)})}),g.eachComponent("dataZoom",function(c){var o=c.findRepresentativeAxisProxy(),n=o.getDataPercentWindow(),t=o.getDataValueWindow();c.setCalculatedRange({start:n[0],end:n[1],startValue:t[0],endValue:t[1]})})}})},LCi9:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function y(v,x){if(!(v instanceof x))throw new TypeError("Cannot call a class as a function")}function m(v,x){for(var b=0;b<x.length;b++){var w=x[b];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(v,w.key,w)}}function C(v,x,b){return x&&m(v.prototype,x),b&&m(v,b),v}var p=0,g=1,h=2,c=4,o=8,n=16,t=32,a=64,d=127,i=50,l=90,e=250,s=1e3,u=1e3,f=50,A=function(){function v(){y(this,v),this._target=null,this._state=d,this._tracked=[],this._ignored=[],this._waitingRelease=!1,this._releaseStart=0,this._longpressTimeoutId=null,this._twoTouchTimeoutId=null,this._boundEventHandler=this._eventHandler.bind(this)}return C(v,[{key:"attach",value:function(b){this.detach(),this._target=b,this._target.addEventListener("touchstart",this._boundEventHandler),this._target.addEventListener("touchmove",this._boundEventHandler),this._target.addEventListener("touchend",this._boundEventHandler),this._target.addEventListener("touchcancel",this._boundEventHandler)}},{key:"detach",value:function(){if(!this._target)return;this._stopLongpressTimeout(),this._stopTwoTouchTimeout(),this._target.removeEventListener("touchstart",this._boundEventHandler),this._target.removeEventListener("touchmove",this._boundEventHandler),this._target.removeEventListener("touchend",this._boundEventHandler),this._target.removeEventListener("touchcancel",this._boundEventHandler),this._target=null}},{key:"_eventHandler",value:function(b){var w;b.stopPropagation(),b.preventDefault();switch(b.type){case"touchstart":w=this._touchStart;break;case"touchmove":w=this._touchMove;break;case"touchend":case"touchcancel":w=this._touchEnd;break}for(var _=0;_<b.changedTouches.length;_++){var T=b.changedTouches[_];w.call(this,T.identifier,T.clientX,T.clientY)}}},{key:"_touchStart",value:function(b,w,_){if(this._hasDetectedGesture()||this._state===p){this._ignored.push(b);return}if(this._tracked.length>0&&Date.now()-this._tracked[0].started>e){this._state=p,this._ignored.push(b);return}if(this._waitingRelease){this._state=p,this._ignored.push(b);return}this._tracked.push({id:b,started:Date.now(),active:!0,firstX:w,firstY:_,lastX:w,lastY:_,angle:0});switch(this._tracked.length){case 1:this._startLongpressTimeout();break;case 2:this._state&=~(g|o|n),this._stopLongpressTimeout();break;case 3:this._state&=~(h|t|a);break;default:this._state=p}}},{key:"_touchMove",value:function(b,w,_){var T=this._tracked.find(function(k){return k.id===b});if(T===void 0)return;T.lastX=w,T.lastY=_;var S=w-T.firstX,E=_-T.firstY;if((T.firstX!==T.lastX||T.firstY!==T.lastY)&&(T.angle=Math.atan2(E,S)*180/Math.PI),!this._hasDetectedGesture()){if(Math.hypot(S,E)<i)return;if(this._state&=~(g|h|c|n),this._stopLongpressTimeout(),this._tracked.length!==1&&(this._state&=~o),this._tracked.length!==2&&(this._state&=~(t|a)),this._tracked.length===2){var I=this._tracked.find(function(k){return k.id!==b}),O=Math.hypot(I.firstX-I.lastX,I.firstY-I.lastY);if(O>i){var F=Math.abs(T.angle-I.angle);F=Math.abs((F+180)%360-180),F>l?this._state&=~t:this._state&=~a,this._isTwoTouchTimeoutRunning()&&this._stopTwoTouchTimeout()}else this._isTwoTouchTimeoutRunning()||this._startTwoTouchTimeout()}if(!this._hasDetectedGesture())return;this._pushEvent("gesturestart")}this._pushEvent("gesturemove")}},{key:"_touchEnd",value:function(b,w,_){if(this._ignored.indexOf(b)!==-1){this._ignored.splice(this._ignored.indexOf(b),1),this._ignored.length===0&&this._tracked.length===0&&(this._state=d,this._waitingRelease=!1);return}if(!this._hasDetectedGesture()&&this._isTwoTouchTimeoutRunning()&&(this._stopTwoTouchTimeout(),this._state=p),!this._hasDetectedGesture()&&(this._state&=~(o|t|a),this._state&=~n,this._stopLongpressTimeout(),!this._waitingRelease)){this._releaseStart=Date.now(),this._waitingRelease=!0;switch(this._tracked.length){case 1:this._state&=~(h|c);break;case 2:this._state&=~(g|c);break}}if(this._waitingRelease){Date.now()-this._releaseStart>e&&(this._state=p),this._tracked.some(function(E){return Date.now()-E.started>s})&&(this._state=p);var T=this._tracked.find(function(E){return E.id===b});if(T.active=!1,this._hasDetectedGesture())this._pushEvent("gesturestart");else if(this._state!==p)return}this._hasDetectedGesture()&&this._pushEvent("gestureend");for(var S=0;S<this._tracked.length;S++)this._tracked[S].active&&this._ignored.push(this._tracked[S].id);this._tracked=[],this._state=p,this._ignored.indexOf(b)!==-1&&this._ignored.splice(this._ignored.indexOf(b),1),this._ignored.length===0&&(this._state=d,this._waitingRelease=!1)}},{key:"_hasDetectedGesture",value:function(){return this._state===p||this._state&this._state-1?!1:!(this._state&(g|h|c)&&this._tracked.some(function(b){return b.active}))}},{key:"_startLongpressTimeout",value:function(){var b=this;this._stopLongpressTimeout(),this._longpressTimeoutId=setTimeout(function(){return b._longpressTimeout()},u)}},{key:"_stopLongpressTimeout",value:function(){clearTimeout(this._longpressTimeoutId),this._longpressTimeoutId=null}},{key:"_longpressTimeout",value:function(){if(this._hasDetectedGesture())throw new Error("A longpress gesture failed, conflict with a different gesture");this._state=n,this._pushEvent("gesturestart")}},{key:"_startTwoTouchTimeout",value:function(){var b=this;this._stopTwoTouchTimeout(),this._twoTouchTimeoutId=setTimeout(function(){return b._twoTouchTimeout()},f)}},{key:"_stopTwoTouchTimeout",value:function(){clearTimeout(this._twoTouchTimeoutId),this._twoTouchTimeoutId=null}},{key:"_isTwoTouchTimeoutRunning",value:function(){return this._twoTouchTimeoutId!==null}},{key:"_twoTouchTimeout",value:function(){if(this._tracked.length===0)throw new Error("A pinch or two drag gesture failed, no tracked touches");var b=this._getAverageMovement(),w=Math.abs(b.x),_=Math.abs(b.y),T=this._getAverageDistance(),S=Math.abs(Math.hypot(T.first.x,T.first.y)-Math.hypot(T.last.x,T.last.y));_<S&&w<S?this._state=a:this._state=t,this._pushEvent("gesturestart"),this._pushEvent("gesturemove")}},{key:"_pushEvent",value:function(b){var w={type:this._stateToGesture(this._state)},_=this._getPosition(),T=_.last;b==="gesturestart"&&(T=_.first);switch(this._state){case t:case a:T=_.first;break}if(w.clientX=T.x,w.clientY=T.y,this._state===a){var S=this._getAverageDistance();b==="gesturestart"?(w.magnitudeX=S.first.x,w.magnitudeY=S.first.y):(w.magnitudeX=S.last.x,w.magnitudeY=S.last.y)}else if(this._state===t)if(b==="gesturestart")w.magnitudeX=0,w.magnitudeY=0;else{var E=this._getAverageMovement();w.magnitudeX=E.x,w.magnitudeY=E.y}var I=new CustomEvent(b,{detail:w});this._target.dispatchEvent(I)}},{key:"_stateToGesture",value:function(b){switch(b){case g:return"onetap";case h:return"twotap";case c:return"threetap";case o:return"drag";case n:return"longpress";case t:return"twodrag";case a:return"pinch"}throw new Error("Unknown gesture state: "+b)}},{key:"_getPosition",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture position, no tracked touches");for(var b=this._tracked.length,w=0,_=0,T=0,S=0,E=0;E<this._tracked.length;E++)w+=this._tracked[E].firstX,_+=this._tracked[E].firstY,T+=this._tracked[E].lastX,S+=this._tracked[E].lastY;return{first:{x:w/b,y:_/b},last:{x:T/b,y:S/b}}}},{key:"_getAverageMovement",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture movement, no tracked touches");var b,w;b=w=0;for(var _=this._tracked.length,T=0;T<this._tracked.length;T++)b+=this._tracked[T].lastX-this._tracked[T].firstX,w+=this._tracked[T].lastY-this._tracked[T].firstY;return{x:b/_,y:w/_}}},{key:"_getAverageDistance",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture distance, no tracked touches");var b=this._tracked[0],w=this._tracked[this._tracked.length-1],_=Math.abs(w.firstX-b.firstX),T=Math.abs(w.firstY-b.firstY),S=Math.abs(w.lastX-b.lastX),E=Math.abs(w.lastY-b.lastY);return{first:{x:_,y:T},last:{x:S,y:E}}}}]),v}();N.default=A},LPTA:function(B,N){var r=1;typeof window!="undefined"&&(r=Math.max(window.devicePixelRatio||1,1));var y=0,m=r;N.debugMode=y,N.devicePixelRatio=m},LPzL:function(B,N,r){var y=r("ProS");r("QzjZ"),r("vL6D"),r("xiyX"),r("y4/Y"),r("8Th4"),y.extendComponentView({type:"single"})},LSTS:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y=function(){function d(i,l){for(var e=0;e<l.length;e++){var s=l[e];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(i,s.key,s)}}return function(i,l,e){return l&&d(i.prototype,l),e&&d(i,e),i}}(),m=r("q1tI"),C=h(m),p=r("17x9"),g=h(p);function h(d){return d&&d.__esModule?d:{default:d}}function c(d,i){var l={};for(var e in d){if(i.indexOf(e)>=0)continue;if(!Object.prototype.hasOwnProperty.call(d,e))continue;l[e]=d[e]}return l}function o(d,i){if(!(d instanceof i))throw new TypeError("Cannot call a class as a function")}function n(d,i){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i&&(typeof i=="object"||typeof i=="function")?i:d}function t(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(d,i):d.__proto__=i)}var a=function(d){t(i,d);function i(l){o(this,i);var e=n(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,l));return e.scrollListener=e.scrollListener.bind(e),e.eventListenerOptions=e.eventListenerOptions.bind(e),e.mousewheelListener=e.mousewheelListener.bind(e),e}return y(i,[{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,s={get passive(){e=!0}};try{document.addEventListener("test",null,s),document.removeEventListener("test",null,s)}catch(u){}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 s=this.props.getScrollParent&&this.props.getScrollParent();return s!=null?s: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 s=window;this.props.useWindow===!1&&(s=e),s.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),s.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),s.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}},{key:"mousewheelListener",value:function(e){e.deltaY===1&&!this.isPassiveSupported()&&e.preventDefault()}},{key:"scrollListener",value:function(){var e=this.scrollComponent,s=window,u=this.getParentElement(e),f=void 0;if(this.props.useWindow){var A=document.documentElement||document.body.parentNode||document.body,v=s.pageYOffset!==void 0?s.pageYOffset:A.scrollTop;this.props.isReverse?f=v:f=this.calculateOffset(e,v)}else this.props.isReverse?f=u.scrollTop:f=e.scrollHeight-u.scrollTop-u.clientHeight;f<Number(this.props.threshold)&&e&&e.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=u.scrollHeight,this.beforeScrollTop=u.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(e,s){return e?this.calculateTopPosition(e)+(e.offsetHeight-s-window.innerHeight):0}},{key:"calculateTopPosition",value:function(e){return e?e.offsetTop+this.calculateTopPosition(e.offsetParent):0}},{key:"render",value:function(){var e=this,s=this.filterProps(this.props),u=s.children,f=s.element,A=s.hasMore,v=s.initialLoad,x=s.isReverse,b=s.loader,w=s.loadMore,_=s.pageStart,T=s.ref,S=s.threshold,E=s.useCapture,I=s.useWindow,O=s.getScrollParent,F=c(s,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);F.ref=function(M){e.scrollComponent=M,T&&T(M)};var k=[u];return A&&(b?x?k.unshift(b):k.push(b):this.defaultLoader&&(x?k.unshift(this.defaultLoader):k.push(this.defaultLoader))),C.default.createElement(f,F,k)}}]),i}(m.Component);a.propTypes={children:g.default.node.isRequired,element:g.default.node,hasMore:g.default.bool,initialLoad:g.default.bool,isReverse:g.default.bool,loader:g.default.node,loadMore:g.default.func.isRequired,pageStart:g.default.number,ref:g.default.func,getScrollParent:g.default.func,threshold:g.default.number,useCapture:g.default.bool,useWindow:g.default.bool},a.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},N.default=a,B.exports=N.default},Lerx:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("Mds0"));function m(p){return p&&p.__esModule?p:{default:p}}var C=y;N.default=C,B.exports=C},Llu2:function(B,N,r){"use strict";var y=r("VTBJ"),m=r("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"},p=C,g=r("6VBw"),h=function(n,t){return m.createElement(g.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};h.displayName="DeliveredProcedureOutlined";var c=N.a=m.forwardRef(h)},Lo0S:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.initLogging=h,N.getLogging=c,N.Error=N.Warn=N.Info=N.Debug=void 0;var y="warn",m=function(){};N.Debug=m;var C=function(){};N.Info=C;var p=function(){};N.Warn=p;var g=function(){};N.Error=g;function h(o){if(typeof o=="undefined"?o=y:y=o,N.Debug=m=N.Info=C=N.Warn=p=N.Error=g=function(){},typeof window.console!="undefined")switch(o){case"debug":N.Debug=m=console.debug.bind(window.console);case"info":N.Info=C=console.info.bind(window.console);case"warn":N.Warn=p=console.warn.bind(window.console);case"error":N.Error=g=console.error.bind(window.console);case"none":break;default:throw new window.Error("invalid logging type '"+o+"'")}}function c(){return y}h()},LtfV:function(B,N,r){"use strict";var y=r("VTBJ"),m=r("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"},p=C,g=r("6VBw"),h=function(n,t){return m.createElement(g.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};h.displayName="InboxOutlined";var c=N.a=m.forwardRef(h)},Lyp1:function(B,N,r){"use strict";var y=r("VTBJ"),m=r("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"},p=C,g=r("6VBw"),h=function(n,t){return m.createElement(g.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};h.displayName="QuestionCircleOutlined";var c=N.a=m.forwardRef(h)},LzGr:function(B,N,r){var y=r("ProS"),m=r("rnVJ");r("EMyp"),r("8x+h"),r("wt3j"),r("uOyE"),r("/stD"),y.registerPreprocessor(m)},MBQ8:function(B,N,r){var y=r("T4UG"),m=r("MwEJ"),C=y.extend({type:"series.__base_bar__",getInitialData:function(p,g){return m(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(p){var g=this.coordinateSystem;if(g){var h=g.dataToPoint(g.clampData(p)),c=this.getData(),o=c.getLayout("offset"),n=c.getLayout("size"),t=g.getBaseAxis().isHorizontal()?0:1;return h[t]+=o+n/2,h}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:{}}});B.exports=C},MEGo:function(B,N,r){var y=r("4fz+"),m=r("Dagg"),C=r("dqUG"),p=r("2fw6"),g=r("x6Kt"),h=r("rmlV"),c=r("yxFR"),o=r("y+Vt"),n=r("h7HQ"),t=r("1Jh7"),a=r("SKnc"),d=r("K2GJ"),i=r("Fofx"),l=r("NC18"),e=l.createFromString,s=r("bYtY"),u=s.isString,f=s.extend,A=s.defaults,v=s.trim,x=s.each,b=/[\s,]+/;function w(G){if(u(G)){var X=new DOMParser;G=X.parseFromString(G,"text/xml")}for(G.nodeType===9&&(G=G.firstChild);G.nodeName.toLowerCase()!=="svg"||G.nodeType!==1;)G=G.nextSibling;return G}function _(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}_.prototype.parse=function(G,X){X=X||{};var Z=w(G);if(!Z)throw new Error("Illegal svg");var ee=new y;this._root=ee;var Se=Z.getAttribute("viewBox")||"",$=parseFloat(Z.getAttribute("width")||X.width),pe=parseFloat(Z.getAttribute("height")||X.height);isNaN($)&&($=null),isNaN(pe)&&(pe=null),k(Z,ee,null,!0);for(var xe=Z.firstChild;xe;)this._parseNode(xe,ee),xe=xe.nextSibling;var _e,Ue;if(Se){var ye=v(Se).split(b);ye.length>=4&&(_e={x:parseFloat(ye[0]||0),y:parseFloat(ye[1]||0),width:parseFloat(ye[2]),height:parseFloat(ye[3])})}if(_e&&$!=null&&pe!=null&&(Ue=z(_e,$,pe),!X.ignoreViewBox)){var Be=ee;ee=new y,ee.add(Be),Be.scale=Ue.scale.slice(),Be.position=Ue.position.slice()}return!X.ignoreRootClip&&$!=null&&pe!=null&&ee.setClipPath(new g({shape:{x:0,y:0,width:$,height:pe}})),{root:ee,width:$,height:pe,viewBoxRect:_e,viewBoxTransform:Ue}},_.prototype._parseNode=function(G,X){var Z=G.nodeName.toLowerCase();Z==="defs"?this._isDefine=!0:Z==="text"&&(this._isText=!0);var ee;if(this._isDefine){var Se=S[Z];if(Se){var $=Se.call(this,G),pe=G.getAttribute("id");pe&&(this._defs[pe]=$)}}else{var Se=T[Z];Se&&(ee=Se.call(this,G,X),X.add(ee))}for(var xe=G.firstChild;xe;)xe.nodeType===1&&this._parseNode(xe,ee),xe.nodeType===3&&this._isText&&this._parseText(xe,ee),xe=xe.nextSibling;Z==="defs"?this._isDefine=!1:Z==="text"&&(this._isText=!1)},_.prototype._parseText=function(G,X){if(G.nodeType===1){var Z=G.getAttribute("dx")||0,ee=G.getAttribute("dy")||0;this._textX+=parseFloat(Z),this._textY+=parseFloat(ee)}var Se=new C({style:{text:G.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});I(X,Se),k(G,Se,this._defs);var $=Se.style.fontSize;$&&$<9&&(Se.style.fontSize=9,Se.scale=Se.scale||[1,1],Se.scale[0]*=$/9,Se.scale[1]*=$/9);var pe=Se.getBoundingRect();return this._textX+=pe.width,X.add(Se),Se};var T={g:function(X,Z){var ee=new y;return I(Z,ee),k(X,ee,this._defs),ee},rect:function(X,Z){var ee=new g;return I(Z,ee),k(X,ee,this._defs),ee.setShape({x:parseFloat(X.getAttribute("x")||0),y:parseFloat(X.getAttribute("y")||0),width:parseFloat(X.getAttribute("width")||0),height:parseFloat(X.getAttribute("height")||0)}),ee},circle:function(X,Z){var ee=new p;return I(Z,ee),k(X,ee,this._defs),ee.setShape({cx:parseFloat(X.getAttribute("cx")||0),cy:parseFloat(X.getAttribute("cy")||0),r:parseFloat(X.getAttribute("r")||0)}),ee},line:function(X,Z){var ee=new c;return I(Z,ee),k(X,ee,this._defs),ee.setShape({x1:parseFloat(X.getAttribute("x1")||0),y1:parseFloat(X.getAttribute("y1")||0),x2:parseFloat(X.getAttribute("x2")||0),y2:parseFloat(X.getAttribute("y2")||0)}),ee},ellipse:function(X,Z){var ee=new h;return I(Z,ee),k(X,ee,this._defs),ee.setShape({cx:parseFloat(X.getAttribute("cx")||0),cy:parseFloat(X.getAttribute("cy")||0),rx:parseFloat(X.getAttribute("rx")||0),ry:parseFloat(X.getAttribute("ry")||0)}),ee},polygon:function(X,Z){var ee=X.getAttribute("points");ee&&(ee=O(ee));var Se=new n({shape:{points:ee||[]}});return I(Z,Se),k(X,Se,this._defs),Se},polyline:function(X,Z){var ee=new o;I(Z,ee),k(X,ee,this._defs);var Se=X.getAttribute("points");Se&&(Se=O(Se));var $=new t({shape:{points:Se||[]}});return $},image:function(X,Z){var ee=new m;return I(Z,ee),k(X,ee,this._defs),ee.setStyle({image:X.getAttribute("xlink:href"),x:X.getAttribute("x"),y:X.getAttribute("y"),width:X.getAttribute("width"),height:X.getAttribute("height")}),ee},text:function(X,Z){var ee=X.getAttribute("x")||0,Se=X.getAttribute("y")||0,$=X.getAttribute("dx")||0,pe=X.getAttribute("dy")||0;this._textX=parseFloat(ee)+parseFloat($),this._textY=parseFloat(Se)+parseFloat(pe);var xe=new y;return I(Z,xe),k(X,xe,this._defs),xe},tspan:function(X,Z){var ee=X.getAttribute("x"),Se=X.getAttribute("y");ee!=null&&(this._textX=parseFloat(ee)),Se!=null&&(this._textY=parseFloat(Se));var $=X.getAttribute("dx")||0,pe=X.getAttribute("dy")||0,xe=new y;return I(Z,xe),k(X,xe,this._defs),this._textX+=$,this._textY+=pe,xe},path:function(X,Z){var ee=X.getAttribute("d")||"",Se=e(ee);return I(Z,Se),k(X,Se,this._defs),Se}},S={lineargradient:function(X){var Z=parseInt(X.getAttribute("x1")||0,10),ee=parseInt(X.getAttribute("y1")||0,10),Se=parseInt(X.getAttribute("x2")||10,10),$=parseInt(X.getAttribute("y2")||0,10),pe=new a(Z,ee,Se,$);return E(X,pe),pe},radialgradient:function(X){}};function E(G,X){for(var Z=G.firstChild;Z;){if(Z.nodeType===1){var ee=Z.getAttribute("offset");ee.indexOf("%")>0?ee=parseInt(ee,10)/100:ee?ee=parseFloat(ee):ee=0;var Se=Z.getAttribute("stop-color")||"#000000";X.addColorStop(ee,Se)}Z=Z.nextSibling}}function I(G,X){G&&G.__inheritedStyle&&(X.__inheritedStyle||(X.__inheritedStyle={}),A(X.__inheritedStyle,G.__inheritedStyle))}function O(G){for(var X=v(G).split(b),Z=[],ee=0;ee<X.length;ee+=2){var Se=parseFloat(X[ee]),$=parseFloat(X[ee+1]);Z.push([Se,$])}return Z}var F={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-align":"textAlign","alignment-baseline":"textBaseline"};function k(G,X,Z,ee){var Se=X.__inheritedStyle||{},$=X.type==="text";if(G.nodeType===1&&(D(G,X),f(Se,U(G)),!ee)){for(var pe in F)if(F.hasOwnProperty(pe)){var xe=G.getAttribute(pe);xe!=null&&(Se[F[pe]]=xe)}}var _e=$?"textFill":"fill",Ue=$?"textStroke":"stroke";X.style=X.style||new d;var ye=X.style;Se.fill!=null&&ye.set(_e,P(Se.fill,Z)),Se.stroke!=null&&ye.set(Ue,P(Se.stroke,Z)),x(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(Be){var Q=Be==="lineWidth"&&$?"textStrokeWidth":Be;Se[Be]!=null&&ye.set(Q,parseFloat(Se[Be]))}),(!Se.textBaseline||Se.textBaseline==="auto")&&(Se.textBaseline="alphabetic"),Se.textBaseline==="alphabetic"&&(Se.textBaseline="bottom"),Se.textAlign==="start"&&(Se.textAlign="left"),Se.textAlign==="end"&&(Se.textAlign="right"),x(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(Be){Se[Be]!=null&&ye.set(Be,Se[Be])}),Se.lineDash&&(X.style.lineDash=v(Se.lineDash).split(b)),ye[Ue]&&ye[Ue]!=="none"&&(X[Ue]=!0),X.__inheritedStyle=Se}var M=/url\(\s*#(.*?)\)/;function P(G,X){var Z=X&&G&&G.match(M);if(Z){var ee=v(Z[1]),Se=X[ee];return Se}return G}var V=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function D(G,X){var Z=G.getAttribute("transform");if(Z){Z=Z.replace(/,/g," ");var ee=null,Se=[];Z.replace(V,function(_e,Ue,ye){Se.push(Ue,ye)});for(var $=Se.length-1;$>0;$-=2){var pe=Se[$],xe=Se[$-1];ee=ee||i.create();switch(xe){case"translate":pe=v(pe).split(b),i.translate(ee,ee,[parseFloat(pe[0]),parseFloat(pe[1]||0)]);break;case"scale":pe=v(pe).split(b),i.scale(ee,ee,[parseFloat(pe[0]),parseFloat(pe[1]||pe[0])]);break;case"rotate":pe=v(pe).split(b),i.rotate(ee,ee,parseFloat(pe[0]));break;case"skew":pe=v(pe).split(b),console.warn("Skew transform is not supported yet");break;case"matrix":var pe=v(pe).split(b);ee[0]=parseFloat(pe[0]),ee[1]=parseFloat(pe[1]),ee[2]=parseFloat(pe[2]),ee[3]=parseFloat(pe[3]),ee[4]=parseFloat(pe[4]),ee[5]=parseFloat(pe[5]);break}}X.setLocalTransform(ee)}}var H=/([^\s:;]+)\s*:\s*([^:;]+)/g;function U(G){var X=G.getAttribute("style"),Z={};if(!X)return Z;var ee={};H.lastIndex=0;for(var Se;(Se=H.exec(X))!=null;)ee[Se[1]]=Se[2];for(var $ in F)F.hasOwnProperty($)&&ee[$]!=null&&(Z[F[$]]=ee[$]);return Z}function z(G,X,Z){var ee=X/G.width,Se=Z/G.height,$=Math.min(ee,Se),pe=[$,$],xe=[-(G.x+G.width/2)*$+X/2,-(G.y+G.height/2)*$+Z/2];return{scale:pe,position:xe}}function K(G,X){var Z=new _;return Z.parse(G,X)}N.parseXML=w,N.makeViewBoxTransform=z,N.parseSVG=K},MFOe:function(B,N,r){(function(y){var m=h(),C=c(),p=o(),g=typeof window!="undefined"?window:y;B.exports={assign:m,create:C,trim:p,bind:n,slice:t,each:a,map:d,pluck:i,isList:l,isFunction:e,isObject:s,Global:g};function h(){return Object.assign?Object.assign:function(f,A,v,x){for(var b=1;b<arguments.length;b++)a(Object(arguments[b]),function(w,_){f[_]=w});return f}}function c(){if(Object.create)return function(A,v,x,b){var w=t(arguments,1);return m.apply(this,[Object.create(A)].concat(w))};var u=function(){};return function(A,v,x,b){var w=t(arguments,1);return u.prototype=A,m.apply(this,[new u].concat(w))}}function o(){return String.prototype.trim?function(f){return String.prototype.trim.call(f)}:function(f){return f.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}function n(u,f){return function(){return f.apply(u,Array.prototype.slice.call(arguments,0))}}function t(u,f){return Array.prototype.slice.call(u,f||0)}function a(u,f){i(u,function(A,v){return f(A,v),!1})}function d(u,f){var A=l(u)?[]:{};return i(u,function(v,x){return A[x]=f(v,x),!1}),A}function i(u,f){if(l(u)){for(var A=0;A<u.length;A++)if(f(u[A],A))return u[A]}else for(var v in u)if(u.hasOwnProperty(v)&&f(u[v],v))return u[v]}function l(u){return u!=null&&typeof u!="function"&&typeof u.length=="number"}function e(u){return u&&{}.toString.call(u)==="[object Function]"}function s(u){return u&&{}.toString.call(u)==="[object Object]"}}).call(this,r("yLpj"))},MH26:function(B,N,r){var y=r("bYtY"),m=r("YXkt"),C=r("OELB"),p=r("kj2x"),g=r("c8qY"),h=r("iPDy"),c=r("7hqr"),o=c.getStackedDimension,n=function(s,u,f,A){var v=s.getData(),x=A.type;if(!y.isArray(A)&&(x==="min"||x==="max"||x==="average"||x==="median"||A.xAxis!=null||A.yAxis!=null)){var b,w;if(A.yAxis!=null||A.xAxis!=null)b=u.getAxis(A.yAxis!=null?"y":"x"),w=y.retrieve(A.yAxis,A.xAxis);else{var _=p.getAxisInfo(A,v,u,s);b=_.valueAxis;var T=o(v,_.valueDataDim);w=p.numCalculate(v,T,x)}var S=b.dim==="x"?0:1,E=1-S,I=y.clone(A),O={};I.type=null,I.coord=[],O.coord=[],I.coord[E]=-Infinity,O.coord[E]=Infinity;var F=f.get("precision");F>=0&&typeof w=="number"&&(w=+w.toFixed(Math.min(F,20))),I.coord[S]=O.coord[S]=w,A=[I,O,{type:x,valueIndex:A.valueIndex,value:w}]}return A=[p.dataTransform(s,A[0]),p.dataTransform(s,A[1]),y.extend({},A[2])],A[2].type=A[2].type||"",y.merge(A[2],A[0]),y.merge(A[2],A[1]),A};function t(s){return!isNaN(s)&&!isFinite(s)}function a(s,u,f,A){var v=1-s,x=A.dimensions[s];return t(u[v])&&t(f[v])&&u[s]===f[s]&&A.getAxis(x).containData(u[s])}function d(s,u){if(s.type==="cartesian2d"){var f=u[0].coord,A=u[1].coord;if(f&&A&&(a(1,f,A,s)||a(0,f,A,s)))return!0}return p.dataFilter(s,u[0])&&p.dataFilter(s,u[1])}function i(s,u,f,A,v){var x=A.coordinateSystem,b=s.getItemModel(u),w,_=C.parsePercent(b.get("x"),v.getWidth()),T=C.parsePercent(b.get("y"),v.getHeight());if(!isNaN(_)&&!isNaN(T))w=[_,T];else{if(A.getMarkerPosition)w=A.getMarkerPosition(s.getValues(s.dimensions,u));else{var S=x.dimensions,E=s.get(S[0],u),I=s.get(S[1],u);w=x.dataToPoint([E,I])}if(x.type==="cartesian2d"){var O=x.getAxis("x"),F=x.getAxis("y"),S=x.dimensions;t(s.get(S[0],u))?w[0]=O.toGlobalCoord(O.getExtent()[f?0:1]):t(s.get(S[1],u))&&(w[1]=F.toGlobalCoord(F.getExtent()[f?0:1]))}isNaN(_)||(w[0]=_),isNaN(T)||(w[1]=T)}s.setItemLayout(u,w)}var l=h.extend({type:"markLine",updateTransform:function(s,u,f){u.eachSeries(function(A){var v=A.markLineModel;if(v){var x=v.getData(),b=v.__from,w=v.__to;b.each(function(_){i(b,_,!0,A,f),i(w,_,!1,A,f)}),x.each(function(_){x.setItemLayout(_,[b.getItemLayout(_),w.getItemLayout(_)])}),this.markerGroupMap.get(A.id).updateLayout()}},this)},renderSeries:function(s,u,f,A){var v=s.coordinateSystem,x=s.id,b=s.getData(),w=this.markerGroupMap,_=w.get(x)||w.set(x,new g);this.group.add(_.group);var T=e(v,s,u),S=T.from,E=T.to,I=T.line;u.__from=S,u.__to=E,u.setData(I);var O=u.get("symbol"),F=u.get("symbolSize");y.isArray(O)||(O=[O,O]),typeof F=="number"&&(F=[F,F]),T.from.each(function(M){k(S,M,!0),k(E,M,!1)}),I.each(function(M){var P=I.getItemModel(M).get("lineStyle.color");I.setItemVisual(M,{color:P||S.getItemVisual(M,"color")}),I.setItemLayout(M,[S.getItemLayout(M),E.getItemLayout(M)]),I.setItemVisual(M,{fromSymbolSize:S.getItemVisual(M,"symbolSize"),fromSymbol:S.getItemVisual(M,"symbol"),toSymbolSize:E.getItemVisual(M,"symbolSize"),toSymbol:E.getItemVisual(M,"symbol")})}),_.updateData(I),T.line.eachItemGraphicEl(function(M,P){M.traverse(function(V){V.dataModel=u})});function k(M,P,V){var D=M.getItemModel(P);i(M,P,V,s,A),M.setItemVisual(P,{symbolSize:D.get("symbolSize")||F[V?0:1],symbol:D.get("symbol",!0)||O[V?0:1],color:D.get("itemStyle.color")||b.getVisual("color")})}_.__keep=!0,_.group.silent=u.get("silent")||s.get("silent")}});function e(s,u,f){var A;s?A=y.map(s&&s.dimensions,function(T){var S=u.getData().getDimensionInfo(u.getData().mapDimension(T))||{};return y.defaults({name:T},S)}):A=[{name:"value",type:"float"}];var v=new m(A,f),x=new m(A,f),b=new m([],f),w=y.map(f.get("data"),y.curry(n,u,s,f));s&&(w=y.filter(w,y.curry(d,s)));var _=s?p.dimValueGetter:function(T){return T.value};return v.initData(y.map(w,function(T){return T[0]}),null,_),x.initData(y.map(w,function(T){return T[1]}),null,_),b.initData(y.map(w,function(T){return T[2]})),b.hasItemOption=!0,{from:v,to:x,line:b}}B.exports=l},MHoB:function(B,N,r){var y=r("bYtY"),m=r("6uqw"),C=r("OELB"),p=[20,140],g=m.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(o,n){g.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){g.superApply(this,"resetItemSize",arguments);var o=this.itemSize;this._orient==="horizontal"&&o.reverse(),(o[0]==null||isNaN(o[0]))&&(o[0]=p[0]),(o[1]==null||isNaN(o[1]))&&(o[1]=p[1])},_resetRange:function(){var o=this.getExtent(),n=this.option.range;!n||n.auto?(o.auto=1,this.option.range=o):y.isArray(n)&&(n[0]>n[1]&&n.reverse(),n[0]=Math.max(n[0],o[0]),n[1]=Math.min(n[1],o[1]))},completeVisualOption:function(){m.prototype.completeVisualOption.apply(this,arguments),y.each(this.stateList,function(o){var n=this.option.controller[o].symbolSize;n&&n[0]!==n[1]&&(n[0]=0)},this)},setSelected:function(o){this.option.range=o.slice(),this._resetRange()},getSelected:function(){var o=this.getExtent(),n=C.asc((this.get("range")||[]).slice());return n[0]>o[1]&&(n[0]=o[1]),n[1]>o[1]&&(n[1]=o[1]),n[0]<o[0]&&(n[0]=o[0]),n[1]<o[0]&&(n[1]=o[0]),n},getValueState:function(o){var n=this.option.range,t=this.getExtent();return(n[0]<=t[0]||n[0]<=o)&&(n[1]>=t[1]||o<=n[1])?"inRange":"outOfRange"},findTargetDataIndices:function(o){var n=[];return this.eachTargetSeries(function(t){var a=[],d=t.getData();d.each(this.getDataDimension(d),function(i,l){o[0]<=i&&i<=o[1]&&a.push(l)},this),n.push({seriesId:t.id,dataIndex:a})},this),n},getVisualMeta:function(o){var n=h(this,"outOfRange",this.getExtent()),t=h(this,"inRange",this.option.range.slice()),a=[];function d(A,v){a.push({value:A,color:o(A,v)})}for(var i=0,l=0,e=t.length,s=n.length;l<s&&(!t.length||n[l]<=t[0]);l++)n[l]<t[i]&&d(n[l],"outOfRange");for(var u=1;i<e;i++,u=0)u&&a.length&&d(t[i],"outOfRange"),d(t[i],"inRange");for(var u=1;l<s;l++)(!t.length||t[t.length-1]<n[l])&&(u&&(a.length&&d(a[a.length-1].value,"outOfRange"),u=0),d(n[l],"outOfRange"));var f=a.length;return{stops:a,outerColors:[f?a[0].color:"transparent",f?a[f-1].color:"transparent"]}}});function h(o,n,t){if(t[0]===t[1])return t.slice();for(var a=200,d=(t[1]-t[0])/a,i=t[0],l=[],e=0;e<=a&&i<t[1];e++)l.push(i),i+=d;return l.push(t[1]),l}var c=g;B.exports=c},MHtr:function(B,N,r){var y=r("bYtY");function m(p,g){var h=this.getAxis(),c=g instanceof Array?g[0]:g,o=(p instanceof Array?p[0]:p)/2;return h.type==="category"?h.getBandWidth():Math.abs(h.dataToCoord(c-o)-h.dataToCoord(c+o))}function C(p){var g=p.getRect();return{coordSys:{type:"singleAxis",x:g.x,y:g.y,width:g.width,height:g.height},api:{coord:function(h){return p.dataToPoint(h)},size:y.bind(m,p)}}}B.exports=C},MJZm:function(B,N,r){"use strict";var y=r("lSNA"),m=r.n(y),C=r("pVnL"),p=r.n(C),g=r("q1tI"),h=r("fAei"),c=r("TSYQ"),o=r.n(c),n=r("RIqP"),t=r.n(n),a=r("J4zp"),d=r.n(a),i=r("sEfC"),l=r.n(i),e=r("OZM5"),s=r("815F"),u=r("vk+C"),f=r.n(u),A=r("Vy0f"),v=r.n(A),x=r("kGiB"),b=r.n(x),w=r("H84U"),_;(function(K){K[K.None=0]="None",K[K.Start=1]="Start",K[K.End=2]="End"})(_||(_={}));function T(K,G){function X(Z){var ee=Z.key,Se=Z.children;G(ee,Z)!==!1&&T(Se||[],G)}K.forEach(X)}function S(K){var G=K.treeData,X=K.expandedKeys,Z=K.startKey,ee=K.endKey,Se=[],$=_.None;if(Z&&Z===ee)return[Z];if(!Z||!ee)return[];function pe(xe){return xe===Z||xe===ee}return T(G,function(xe){if($===_.End)return!1;if(pe(xe)){if(Se.push(xe),$===_.None)$=_.Start;else if($===_.Start)return $=_.End,!1}else $===_.Start&&Se.push(xe);return!(X.indexOf(xe)===-1)}),Se}function E(K,G){var X=t()(G),Z=[];return T(K,function(ee,Se){var $=X.indexOf(ee);return $!==-1&&(Z.push(Se),X.splice($,1)),!!X.length}),Z}var I=function(K,G){var X={};for(var Z in K)Object.prototype.hasOwnProperty.call(K,Z)&&G.indexOf(Z)<0&&(X[Z]=K[Z]);if(K!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,Z=Object.getOwnPropertySymbols(K);ee<Z.length;ee++)G.indexOf(Z[ee])<0&&Object.prototype.propertyIsEnumerable.call(K,Z[ee])&&(X[Z[ee]]=K[Z[ee]]);return X};function O(K){var G=K.isLeaf,X=K.expanded;return G?g.createElement(f.a,null):X?g.createElement(v.a,null):g.createElement(b.a,null)}function F(K){var G=K.treeData,X=K.children;return G||Object(s.c)(X)}var k=function(G,X){var Z=G.defaultExpandAll,ee=G.defaultExpandParent,Se=G.defaultExpandedKeys,$=I(G,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]),pe=g.useRef(),xe=g.useRef(),_e=g.createRef();g.useImperativeHandle(X,function(){return _e.current});var Ue=function(){var Nt=Object(s.a)(F($)),Bt=Nt.keyEntities,Ft;return Z?Ft=Object.keys(Bt):ee?Ft=Object(e.e)($.expandedKeys||Se,Bt):Ft=$.expandedKeys||Se,Ft},ye=g.useState($.selectedKeys||$.defaultSelectedKeys||[]),Be=d()(ye,2),Q=Be[0],ie=Be[1],Ve=g.useState(Ue()),J=d()(Ve,2),W=J[0],j=J[1];g.useEffect(function(){"selectedKeys"in $&&ie($.selectedKeys)},[$.selectedKeys]),g.useEffect(function(){"expandedKeys"in $&&j($.expandedKeys)},[$.expandedKeys]);var Y=function(Nt,Bt){var Ft=Bt.isLeaf;if(Ft||Nt.shiftKey||Nt.metaKey||Nt.ctrlKey)return;_e.current.onNodeExpand(Nt,Bt)},me=l()(Y,200,{leading:!0}),ae=function(Nt,Bt){return"expandedKeys"in $||j(Nt),$.onExpand?$.onExpand(Nt,Bt):void 0},Le=function(Nt,Bt){var Ft=$.expandAction;Ft==="click"&&me(Nt,Bt),$.onClick&&$.onClick(Nt,Bt)},Ee=function(Nt,Bt){var Ft=$.expandAction;Ft==="doubleClick"&&me(Nt,Bt),$.onDoubleClick&&$.onDoubleClick(Nt,Bt)},ne=function(Nt,Bt){var Ft=$.multiple,Gt=Bt.node,qe=Bt.nativeEvent,we=Gt.key,ue=we===void 0?"":we,vt=F($),at=p()(p()({},Bt),{selected:!0}),Ae=qe.ctrlKey||qe.metaKey,Xt=qe.shiftKey,Ot;Ft&&Ae?(Ot=Nt,pe.current=ue,xe.current=Ot,at.selectedNodes=E(vt,Ot)):Ft&&Xt?(Ot=Array.from(new Set([].concat(t()(xe.current||[]),t()(S({treeData:vt,expandedKeys:W,startKey:ue,endKey:pe.current}))))),at.selectedNodes=E(vt,Ot)):(Ot=[ue],pe.current=ue,xe.current=Ot,at.selectedNodes=E(vt,Ot)),$.onSelect&&$.onSelect(Ot,at),"selectedKeys"in $||ie(Ot)},ge=g.useContext(w.b),Ie=ge.getPrefixCls,Ge=ge.direction,ut=$.prefixCls,wt=$.className,Pe=I($,["prefixCls","className"]),Dt=Ie("tree",ut),et=o()("".concat(Dt,"-directory"),wt,m()({},"".concat(Dt,"-directory-rtl"),Ge==="rtl"));return g.createElement(U,p()({icon:O,ref:_e,blockNode:!0},Pe,{prefixCls:Dt,className:et,expandedKeys:W,selectedKeys:Q,onSelect:ne,onClick:Le,onDoubleClick:Ee,onExpand:ae}))},M=g.forwardRef(k);M.displayName="DirectoryTree",M.defaultProps={showIcon:!0,expandAction:"click"};var P=M,V=r("EXcs"),D=r("2jpz"),H=g.forwardRef(function(K,G){var X,Z=g.useContext(w.b),ee=Z.getPrefixCls,Se=Z.direction,$=Z.virtual,pe=K.prefixCls,xe=K.className,_e=K.showIcon,Ue=K.showLine,ye=K.switcherIcon,Be=K.blockNode,Q=K.children,ie=K.checkable,Ve=p()(p()({},K),{showLine:Boolean(Ue)}),J=ee("tree",pe);return g.createElement(h.b,p()({itemHeight:20,ref:G,virtual:$},Ve,{prefixCls:J,className:o()(xe,(X={},m()(X,"".concat(J,"-icon-hide"),!_e),m()(X,"".concat(J,"-block-node"),Be),m()(X,"".concat(J,"-rtl"),Se==="rtl"),X)),checkable:ie&&g.createElement("span",{className:"".concat(J,"-checkbox-inner")}),switcherIcon:function(j){return Object(D.a)(J,ye,Ue,j)}}),Q)});H.TreeNode=h.a,H.DirectoryTree=P,H.defaultProps={checkable:!1,showIcon:!1,motion:p()(p()({},V.a),{motionAppear:!1}),blockNode:!1};var U=H,z=N.a=U},MKOG:function(B,N,r){var y=r("bYtY"),m=r("YH21"),C=m.Dispatcher,p=r("mLcG"),g=r("Bq2U"),h=function(n){n=n||{},this.stage=n.stage||{},this.onframe=n.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,C.call(this)};h.prototype={constructor:h,addClip:function(n){this._clips.push(n)},addAnimator:function(n){n.animation=this;for(var t=n.getClips(),a=0;a<t.length;a++)this.addClip(t[a])},removeClip:function(n){var t=y.indexOf(this._clips,n);t>=0&&this._clips.splice(t,1)},removeAnimator:function(n){for(var t=n.getClips(),a=0;a<t.length;a++)this.removeClip(t[a]);n.animation=null},_update:function(){for(var n=new Date().getTime()-this._pausedTime,t=n-this._time,a=this._clips,d=a.length,i=[],l=[],e=0;e<d;e++){var s=a[e],u=s.step(n,t);u&&(i.push(u),l.push(s))}for(var e=0;e<d;)a[e]._needsRemove?(a[e]=a[d-1],a.pop(),d--):e++;d=i.length;for(var e=0;e<d;e++)l[e].fire(i[e]);this._time=n,this.onframe(t),this.trigger("frame",t),this.stage.update&&this.stage.update()},_startLoop:function(){var n=this;this._running=!0;function t(){n._running&&(p(t),!n._paused&&n._update())}p(t)},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(n,t){t=t||{};var a=new g(n,t.loop,t.getter,t.setter);return this.addAnimator(a),a}},y.mixin(h,C);var c=h;B.exports=c},MRoa:function(B,N,r){var y=r("ProS");r("0Bwj"),r("W2nI"),r("vcCh");var m=r("gawk"),C=r("Dg8C");y.registerLayout(m),y.registerVisual(C)},MT78:function(B,N,r){var y=r("ProS");(function(){for(var C in y){if(y==null||!y.hasOwnProperty(C)||C==="default"||C==="__esModule")return;N[C]=y[C]}})();var m=r("txkQ");(function(){for(var C in m){if(m==null||!m.hasOwnProperty(C)||C==="default"||C==="__esModule")return;N[C]=m[C]}})(),r("A1Ka"),r("75ce"),r("lLGD"),r("wDdD"),r("Fa/5"),r("jett"),r("Z1wy"),r("75ev"),r("2uGb"),r("I+77"),r("B+YJ"),r("pLH3"),r("CBdT"),r("MRoa"),r("+lIL"),r("CF2D"),r("ERHi"),r("p+If"),r("XOKv"),r("qt/9"),r("bBL8"),r("1xaR"),r("4Feb"),r("zRKj"),r("L3Oj"),r("0HBW"),r("LPzL"),r("8waO"),r("k5C7"),r("f1nB"),r("sRwP"),r("AH3D"),r("y4/Y"),r("LzGr"),r("Ynxi"),r("7pVf"),r("2w7y"),r("laiN"),r("fjKi"),r("C0tN"),r("0o9m"),r("Cm0C"),r("f3JH"),r("5NHt"),r("VFCP"),r("dBmv"),r("KamJ"),r("8XDt"),r("juDX")},MXD1:function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("Kvyg"),p=r.n(C)},MZdM:function(B,N,r){"use strict";function y(i){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(e){return typeof e}:y=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(i)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var m=o(r("Lo0S")),C=h(r("N/zr")),p=r("GdRQ"),g=r("GQ8N");function h(i){return i&&i.__esModule?i:{default:i}}function c(){if(typeof WeakMap!="function")return null;var i=new WeakMap;return c=function(){return i},i}function o(i){if(i&&i.__esModule)return i;if(i===null||y(i)!=="object"&&typeof i!="function")return{default:i};var l=c();if(l&&l.has(i))return l.get(i);var e={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in i)if(Object.prototype.hasOwnProperty.call(i,u)){var f=s?Object.getOwnPropertyDescriptor(i,u):null;f&&(f.get||f.set)?Object.defineProperty(e,u,f):e[u]=i[u]}return e.default=i,l&&l.set(i,e),e}function n(i,l){if(!(i instanceof l))throw new TypeError("Cannot call a class as a function")}function t(i,l){for(var e=0;e<l.length;e++){var s=l[e];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(i,s.key,s)}}function a(i,l,e){return l&&t(i.prototype,l),e&&t(i,e),i}var d=function(){function i(l){if(n(this,i),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,m.Debug(">> Display.constructor"),this._target=l,!this._target)throw new Error("Target must be set");if(typeof this._target=="string")throw new Error("target must be a DOM element");if(!this._target.getContext)throw new Error("no getContext method");if(this._targetCtx=this._target.getContext("2d"),this._viewportLoc={x:0,y:0,w:this._target.width,h:this._target.height},this._backbuffer=document.createElement("canvas"),this._drawCtx=this._backbuffer.getContext("2d"),this._damageBounds={left:0,top:0,right:this._backbuffer.width,bottom:this._backbuffer.height},m.Debug("User Agent: "+navigator.userAgent),!("createImageData"in this._drawCtx))throw new Error("Canvas does not support createImageData");this._tile16x16=this._drawCtx.createImageData(16,16),m.Debug("<< Display.constructor"),this._scale=1,this._clipViewport=!1,this.onflush=function(){}}return a(i,[{key:"viewportChangePos",value:function(e,s){var u=this._viewportLoc;e=Math.floor(e),s=Math.floor(s),this._clipViewport||(e=-u.w,s=-u.h);var f=u.x+u.w-1,A=u.y+u.h-1;if(e<0&&u.x+e<0&&(e=-u.x),f+e>=this._fbWidth&&(e-=f+e-this._fbWidth+1),u.y+s<0&&(s=-u.y),A+s>=this._fbHeight&&(s-=A+s-this._fbHeight+1),e===0&&s===0)return;m.Debug("viewportChange deltaX: "+e+", deltaY: "+s),u.x+=e,u.y+=s,this._damage(u.x,u.y,u.w,u.h),this.flip()}},{key:"viewportChangeSize",value:function(e,s){(!this._clipViewport||typeof e=="undefined"||typeof s=="undefined")&&(m.Debug("Setting viewport to full display region"),e=this._fbWidth,s=this._fbHeight),e=Math.floor(e),s=Math.floor(s),e>this._fbWidth&&(e=this._fbWidth),s>this._fbHeight&&(s=this._fbHeight);var u=this._viewportLoc;if(u.w!==e||u.h!==s){u.w=e,u.h=s;var f=this._target;f.width=e,f.height=s,this.viewportChangePos(0,0),this._damage(u.x,u.y,u.w,u.h),this.flip(),this._rescale(this._scale)}}},{key:"absX",value:function(e){return this._scale===0?0:(0,g.toSigned32bit)(e/this._scale+this._viewportLoc.x)}},{key:"absY",value:function(e){return this._scale===0?0:(0,g.toSigned32bit)(e/this._scale+this._viewportLoc.y)}},{key:"resize",value:function(e,s){this._prevDrawStyle="",this._fbWidth=e,this._fbHeight=s;var u=this._backbuffer;if(u.width!==e||u.height!==s){var f=null;u.width>0&&u.height>0&&(f=this._drawCtx.getImageData(0,0,u.width,u.height)),u.width!==e&&(u.width=e),u.height!==s&&(u.height=s),f&&this._drawCtx.putImageData(f,0,0)}var A=this._viewportLoc;this.viewportChangeSize(A.w,A.h),this.viewportChangePos(0,0)}},{key:"_damage",value:function(e,s,u,f){e<this._damageBounds.left&&(this._damageBounds.left=e),s<this._damageBounds.top&&(this._damageBounds.top=s),e+u>this._damageBounds.right&&(this._damageBounds.right=e+u),s+f>this._damageBounds.bottom&&(this._damageBounds.bottom=s+f)}},{key:"flip",value:function(e){if(this._renderQ.length!==0&&!e)this._renderQPush({type:"flip"});else{var s=this._damageBounds.left,u=this._damageBounds.top,f=this._damageBounds.right-s,A=this._damageBounds.bottom-u,v=s-this._viewportLoc.x,x=u-this._viewportLoc.y;v<0&&(f+=v,s-=v,v=0),x<0&&(A+=x,u-=x,x=0),v+f>this._viewportLoc.w&&(f=this._viewportLoc.w-v),x+A>this._viewportLoc.h&&(A=this._viewportLoc.h-x),f>0&&A>0&&this._targetCtx.drawImage(this._backbuffer,s,u,f,A,v,x,f,A),this._damageBounds.left=this._damageBounds.top=65535,this._damageBounds.right=this._damageBounds.bottom=0}}},{key:"pending",value:function(){return this._renderQ.length>0}},{key:"flush",value:function(){this._renderQ.length===0?this.onflush():this._flushing=!0}},{key:"fillRect",value:function(e,s,u,f,A,v){this._renderQ.length!==0&&!v?this._renderQPush({type:"fill",x:e,y:s,width:u,height:f,color:A}):(this._setFillColor(A),this._drawCtx.fillRect(e,s,u,f),this._damage(e,s,u,f))}},{key:"copyImage",value:function(e,s,u,f,A,v,x){this._renderQ.length!==0&&!x?this._renderQPush({type:"copy",oldX:e,oldY:s,x:u,y:f,width:A,height:v}):(this._drawCtx.mozImageSmoothingEnabled=!1,this._drawCtx.webkitImageSmoothingEnabled=!1,this._drawCtx.msImageSmoothingEnabled=!1,this._drawCtx.imageSmoothingEnabled=!1,this._drawCtx.drawImage(this._backbuffer,e,s,A,v,u,f,A,v),this._damage(u,f,A,v))}},{key:"imageRect",value:function(e,s,u,f,A,v){if(u===0||f===0)return;var x=new Image;x.src="data: "+A+";base64,"+C.default.encode(v),this._renderQPush({type:"img",img:x,x:e,y:s,width:u,height:f})}},{key:"startTile",value:function(e,s,u,f,A){this._tileX=e,this._tileY=s,u===16&&f===16?this._tile=this._tile16x16:this._tile=this._drawCtx.createImageData(u,f);for(var v=A[2],x=A[1],b=A[0],w=this._tile.data,_=0;_<u*f*4;_+=4)w[_]=v,w[_+1]=x,w[_+2]=b,w[_+3]=255}},{key:"subTile",value:function(e,s,u,f,A){for(var v=A[2],x=A[1],b=A[0],w=e+u,_=s+f,T=this._tile.data,S=this._tile.width,E=s;E<_;E++)for(var I=e;I<w;I++){var O=(I+E*S)*4;T[O]=v,T[O+1]=x,T[O+2]=b,T[O+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,s,u,f,A,v,x){if(this._renderQ.length!==0&&!x){var b=new Uint8Array(u*f*4);b.set(new Uint8Array(A.buffer,0,b.length)),this._renderQPush({type:"blit",data:b,x:e,y:s,width:u,height:f})}else this._bgrxImageData(e,s,u,f,A,v)}},{key:"blitRgbImage",value:function(e,s,u,f,A,v,x){if(this._renderQ.length!==0&&!x){var b=new Uint8Array(u*f*3);b.set(new Uint8Array(A.buffer,0,b.length)),this._renderQPush({type:"blitRgb",data:b,x:e,y:s,width:u,height:f})}else this._rgbImageData(e,s,u,f,A,v)}},{key:"blitRgbxImage",value:function(e,s,u,f,A,v,x){if(this._renderQ.length!==0&&!x){var b=new Uint8Array(u*f*4);b.set(new Uint8Array(A.buffer,0,b.length)),this._renderQPush({type:"blitRgbx",data:b,x:e,y:s,width:u,height:f})}else this._rgbxImageData(e,s,u,f,A,v)}},{key:"drawImage",value:function(e,s,u){this._drawCtx.drawImage(e,s,u),this._damage(s,u,e.width,e.height)}},{key:"autoscale",value:function(e,s){var u;if(e===0||s===0)u=0;else{var f=this._viewportLoc,A=e/s,v=f.w/f.h;v>=A?u=e/f.w:u=s/f.h}this._rescale(u)}},{key:"_rescale",value:function(e){this._scale=e;var s=this._viewportLoc,u=e*s.w+"px",f=e*s.h+"px";(this._target.style.width!==u||this._target.style.height!==f)&&(this._target.style.width=u,this._target.style.height=f)}},{key:"_setFillColor",value:function(e){var s="rgb("+e[2]+","+e[1]+","+e[0]+")";s!==this._prevDrawStyle&&(this._drawCtx.fillStyle=s,this._prevDrawStyle=s)}},{key:"_rgbImageData",value:function(e,s,u,f,A,v){for(var x=this._drawCtx.createImageData(u,f),b=x.data,w=0,_=v;w<u*f*4;w+=4,_+=3)b[w]=A[_],b[w+1]=A[_+1],b[w+2]=A[_+2],b[w+3]=255;this._drawCtx.putImageData(x,e,s),this._damage(e,s,x.width,x.height)}},{key:"_bgrxImageData",value:function(e,s,u,f,A,v){for(var x=this._drawCtx.createImageData(u,f),b=x.data,w=0,_=v;w<u*f*4;w+=4,_+=4)b[w]=A[_+2],b[w+1]=A[_+1],b[w+2]=A[_],b[w+3]=255;this._drawCtx.putImageData(x,e,s),this._damage(e,s,x.width,x.height)}},{key:"_rgbxImageData",value:function(e,s,u,f,A,v){var x;p.supportsImageMetadata?x=new ImageData(new Uint8ClampedArray(A.buffer,A.byteOffset,u*f*4),u,f):(x=this._drawCtx.createImageData(u,f),x.data.set(new Uint8ClampedArray(A.buffer,A.byteOffset,u*f*4))),this._drawCtx.putImageData(x,e,s),this._damage(e,s,x.width,x.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 s=this._renderQ[0];switch(s.type){case"flip":this.flip(!0);break;case"copy":this.copyImage(s.oldX,s.oldY,s.x,s.y,s.width,s.height,!0);break;case"fill":this.fillRect(s.x,s.y,s.width,s.height,s.color,!0);break;case"blit":this.blitImage(s.x,s.y,s.width,s.height,s.data,0,!0);break;case"blitRgb":this.blitRgbImage(s.x,s.y,s.width,s.height,s.data,0,!0);break;case"blitRgbx":this.blitRgbxImage(s.x,s.y,s.width,s.height,s.data,0,!0);break;case"img":if(s.img.complete&&s.img.width!==0&&s.img.height!==0){if(s.img.width!==s.width||s.img.height!==s.height){m.Error("Decoded image has incorrect dimensions. Got "+s.img.width+"x"+s.img.height+". Expected "+s.width+"x"+s.height+".");return}this.drawImage(s.img,s.x,s.y)}else s.img._noVNCDisplay=this,s.img.addEventListener("load",this._resumeRenderQ),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 s=this._viewportLoc;this.viewportChangeSize(s.w,s.h),this.viewportChangePos(0,0)}},{key:"width",get:function(){return this._fbWidth}},{key:"height",get:function(){return this._fbHeight}}]),i}();N.default=d},Mdki:function(B,N,r){var y=r("bYtY"),m=y.each,C="\0__link_datas",p="\0__link_mainData";function g(l){var e=l.mainData,s=l.datas;s||(s={main:e},l.datasAttr={main:"data"}),l.datas=l.mainData=null,a(e,s,l),m(s,function(u){m(e.TRANSFERABLE_METHODS,function(f){u.wrapMethod(f,y.curry(h,l))})}),e.wrapMethod("cloneShallow",y.curry(o,l)),m(e.CHANGABLE_METHODS,function(u){e.wrapMethod(u,y.curry(c,l))}),y.assert(s[e.dataType]===e)}function h(l,e){if(t(this)){var s=y.extend({},this[C]);s[this.dataType]=e,a(e,s,l)}else d(e,this.dataType,this[p],l);return e}function c(l,e){return l.struct&&l.struct.update(this),e}function o(l,e){return m(e[C],function(s,u){s!==e&&d(s.cloneShallow(),u,e,l)}),e}function n(l){var e=this[p];return l==null||e==null?e:e[C][l]}function t(l){return l[p]===l}function a(l,e,s){l[C]={},m(e,function(u,f){d(u,f,l,s)})}function d(l,e,s,u){s[C][e]=l,l[p]=s,l.dataType=e,u.struct&&(l[u.structAttr]=u.struct,u.struct[u.datasAttr[e]]=l),l.getLinkedData=n}var i=g;B.exports=i},Mds0:function(B,N,r){"use strict";var y=r("284h"),m=r("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var C=m(r("3tO9")),p=y(r("q1tI")),g=m(r("8IMR")),h=m(r("KQxl")),c=function(t,a){return p.createElement(h.default,(0,C.default)((0,C.default)({},t),{},{ref:a,icon:g.default}))};c.displayName="StarFilled";var o=p.forwardRef(c);N.default=o},Mgri:function(B,N,r){for(var y=r("bYtY"),m=r("8nly"),C=[126,25],p=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],g=0;g<p.length;g++)for(var h=0;h<p[g].length;h++)p[g][h][0]/=10.5,p[g][h][1]/=-10.5/.75,p[g][h][0]+=C[0],p[g][h][1]+=C[1];function c(o,n){o==="china"&&n.push(new m("\u5357\u6D77\u8BF8\u5C9B",y.map(p,function(t){return{type:"polygon",exterior:t}}),C))}B.exports=c},Mmt2:function(B,N,r){"use strict";function y(a){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(i){return typeof i}:y=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},y(a)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var m=p(r("Lo0S"));function C(){if(typeof WeakMap!="function")return null;var a=new WeakMap;return C=function(){return a},a}function p(a){if(a&&a.__esModule)return a;if(a===null||y(a)!=="object"&&typeof a!="function")return{default:a};var d=C();if(d&&d.has(a))return d.get(a);var i={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var e in a)if(Object.prototype.hasOwnProperty.call(a,e)){var s=l?Object.getOwnPropertyDescriptor(a,e):null;s&&(s.get||s.set)?Object.defineProperty(i,e,s):i[e]=a[e]}return i.default=a,d&&d.set(a,i),i}function g(a,d){if(!(a instanceof d))throw new TypeError("Cannot call a class as a function")}function h(a,d){for(var i=0;i<d.length;i++){var l=d[i];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(a,l.key,l)}}function c(a,d,i){return d&&h(a.prototype,d),i&&h(a,i),a}var o=!1,n=40*1024*1024,t=function(){function a(){g(this,a),this._websocket=null,this._rQi=0,this._rQlen=0,this._rQbufferSize=1024*1024*4,this._rQ=null,this._sQbufferSize=1024*10,this._sQlen=0,this._sQ=null,this._eventHandlers={message:function(){},open:function(){},close:function(){},error:function(){}}}return c(a,[{key:"rQpeek8",value:function(){return this._rQ[this._rQi]}},{key:"rQskipBytes",value:function(i){this._rQi+=i}},{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(i){for(var l=0,e=i-1;e>=0;e--)l+=this._rQ[this._rQi++]<<e*8;return l}},{key:"rQshiftStr",value:function(i){typeof i=="undefined"&&(i=this.rQlen);for(var l="",e=0;e<i;e+=4096){var s=this.rQshiftBytes(Math.min(4096,i-e));l+=String.fromCharCode.apply(null,s)}return l}},{key:"rQshiftBytes",value:function(i){return typeof i=="undefined"&&(i=this.rQlen),this._rQi+=i,new Uint8Array(this._rQ.buffer,this._rQi-i,i)}},{key:"rQshiftTo",value:function(i,l){l===void 0&&(l=this.rQlen),i.set(new Uint8Array(this._rQ.buffer,this._rQi,l)),this._rQi+=l}},{key:"rQslice",value:function(i){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.rQlen;return new Uint8Array(this._rQ.buffer,this._rQi+i,l-i)}},{key:"rQwait",value:function(i,l,e){if(this.rQlen<l){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(i){this._sQ.set(i,this._sQlen),this._sQlen+=i.length,this.flush()}},{key:"sendString",value:function(i){this.send(i.split("").map(function(l){return l.charCodeAt(0)}))}},{key:"off",value:function(i){this._eventHandlers[i]=function(){}}},{key:"on",value:function(i,l){this._eventHandlers[i]=l}},{key:"_allocateBuffers",value:function(){this._rQ=new Uint8Array(this._rQbufferSize),this._sQ=new Uint8Array(this._sQbufferSize)}},{key:"init",value:function(){this._allocateBuffers(),this._rQi=0,this._websocket=null}},{key:"open",value:function(i,l){var e=this;this.init(),this._websocket=new WebSocket(i,l),this._websocket.binaryType="arraybuffer",this._websocket.onmessage=this._recvMessage.bind(this),this._websocket.onopen=function(){m.Debug(">> WebSock.onopen"),e._websocket.protocol&&m.Info("Server choose sub-protocol: "+e._websocket.protocol),e._eventHandlers.open(),m.Debug("<< WebSock.onopen")},this._websocket.onclose=function(s){m.Debug(">> WebSock.onclose"),e._eventHandlers.close(s),m.Debug("<< WebSock.onclose")},this._websocket.onerror=function(s){m.Debug(">> WebSock.onerror: "+s),e._eventHandlers.error(s),m.Debug("<< WebSock.onerror: "+s)}}},{key:"close",value:function(){this._websocket&&((this._websocket.readyState===WebSocket.OPEN||this._websocket.readyState===WebSocket.CONNECTING)&&(m.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(i){var l=(this._rQlen-this._rQi+i)*8,e=this._rQbufferSize<l;if(e&&(this._rQbufferSize=Math.max(this._rQbufferSize*2,l)),this._rQbufferSize>n&&(this._rQbufferSize=n,this._rQbufferSize-this.rQlen<i))throw new Error("Receive Queue buffer exceeded "+n+" bytes, and the new message could not fit");if(e){var s=this._rQ.buffer;this._rQ=new Uint8Array(this._rQbufferSize),this._rQ.set(new Uint8Array(s,this._rQi,this._rQlen-this._rQi))}else o?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(i){var l=new Uint8Array(i);l.length>this._rQbufferSize-this._rQlen&&this._expandCompactRQ(l.length),this._rQ.set(l,this._rQlen),this._rQlen+=l.length}},{key:"_recvMessage",value:function(i){this._DecodeMessage(i.data),this.rQlen>0?(this._eventHandlers.message(),this._rQlen==this._rQi&&(this._rQlen=0,this._rQi=0)):m.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(i){this._rQi=i}},{key:"rQlen",get:function(){return this._rQlen-this._rQi}}]),a}();N.default=t},MqEG:function(B,N,r){var y=r("bYtY"),m=r("fc+c"),C=r("72pK"),p=r("VXYp"),g=y.bind,h=m.extend({type:"dataZoom.inside",init:function(a,d){this._range},render:function(a,d,i,l){h.superApply(this,"render",arguments),this._range=a.getPercentRange(),y.each(this.getTargetCoordInfo(),function(e,s){var u=y.map(e,function(f){return p.generateCoordId(f.model)});y.each(e,function(f){var A=f.model,v={};y.each(["pan","zoom","scrollMove"],function(x){v[x]=g(c[x],this,f,s)},this),p.register(i,{coordId:p.generateCoordId(A),allCoordIds:u,containsPoint:function(x,b,w){return A.coordinateSystem.containPoint([b,w])},dataZoomId:a.id,dataZoomModel:a,getRange:v})},this)},this)},dispose:function(){p.unregister(this.api,this.dataZoomModel.id),h.superApply(this,"dispose",arguments),this._range=null}}),c={zoom:function(a,d,i,l){var e=this._range,s=e.slice(),u=a.axisModels[0];if(!u)return;var f=n[d](null,[l.originX,l.originY],u,i,a),A=(f.signal>0?f.pixelStart+f.pixelLength-f.pixel:f.pixel-f.pixelStart)/f.pixelLength*(s[1]-s[0])+s[0],v=Math.max(1/l.scale,0);s[0]=(s[0]-A)*v+A,s[1]=(s[1]-A)*v+A;var x=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(C(0,s,[0,100],0,x.minSpan,x.maxSpan),this._range=s,e[0]!==s[0]||e[1]!==s[1])return s},pan:o(function(a,d,i,l,e,s){var u=n[l]([s.oldX,s.oldY],[s.newX,s.newY],d,e,i);return u.signal*(a[1]-a[0])*u.pixel/u.pixelLength}),scrollMove:o(function(a,d,i,l,e,s){var u=n[l]([0,0],[s.scrollDelta,s.scrollDelta],d,e,i);return u.signal*(a[1]-a[0])*s.scrollDelta})};function o(a){return function(d,i,l,e){var s=this._range,u=s.slice(),f=d.axisModels[0];if(!f)return;var A=a(u,f,d,i,l,e);if(C(A,u,[0,100],"all"),this._range=u,s[0]!==u[0]||s[1]!==u[1])return u}}var n={grid:function(a,d,i,l,e){var s=i.axis,u={},f=e.model.coordinateSystem.getRect();return a=a||[0,0],s.dim==="x"?(u.pixel=d[0]-a[0],u.pixelLength=f.width,u.pixelStart=f.x,u.signal=s.inverse?1:-1):(u.pixel=d[1]-a[1],u.pixelLength=f.height,u.pixelStart=f.y,u.signal=s.inverse?-1:1),u},polar:function(a,d,i,l,e){var s=i.axis,u={},f=e.model.coordinateSystem,A=f.getRadiusAxis().getExtent(),v=f.getAngleAxis().getExtent();return a=a?f.pointToCoord(a):[0,0],d=f.pointToCoord(d),i.mainType==="radiusAxis"?(u.pixel=d[0]-a[0],u.pixelLength=A[1]-A[0],u.pixelStart=A[0],u.signal=s.inverse?1:-1):(u.pixel=d[1]-a[1],u.pixelLength=v[1]-v[0],u.pixelStart=v[0],u.signal=s.inverse?-1:1),u},singleAxis:function(a,d,i,l,e){var s=i.axis,u=e.model.coordinateSystem.getRect(),f={};return a=a||[0,0],s.orient==="horizontal"?(f.pixel=d[0]-a[0],f.pixelLength=u.width,f.pixelStart=u.x,f.signal=s.inverse?1:-1):(f.pixel=d[1]-a[1],f.pixelLength=u.height,f.pixelStart=u.y,f.signal=s.inverse?-1:1),f}},t=h;B.exports=t},MwEJ:function(B,N,r){var y=r("bYtY"),m=r("YXkt"),C=r("sdST"),p=r("k9D9"),g=p.SOURCE_FORMAT_ORIGINAL,h=r("L0Ub"),c=h.getDimensionTypeByAxis,o=r("4NO4"),n=o.getDataItemValue,t=r("IDmD"),a=r("i38C"),d=a.getCoordSysInfoBySeries,i=r("7G+c"),l=r("7hqr"),e=l.enableDataStack,s=r("D5nY"),u=s.makeSeriesEncodeForAxisCoordSys;function f(b,w,_){_=_||{},i.isInstance(b)||(b=i.seriesDataToSource(b));var T=w.get("coordinateSystem"),S=t.get(T),E=d(w),I;E&&(I=y.map(E.coordSysDims,function(D){var H={name:D},U=E.axisMap.get(D);if(U){var z=U.get("type");H.type=c(z)}return H})),I||(I=S&&(S.getDimensionsInfo?S.getDimensionsInfo():S.dimensions.slice())||["x","y"]);var O=C(b,{coordDimensions:I,generateCoord:_.generateCoord,encodeDefaulter:_.useEncodeDefaulter?y.curry(u,I,w):null}),F,k;E&&y.each(O,function(D,H){var U=D.coordDim,z=E.categoryAxisMap.get(U);z&&(F==null&&(F=H),D.ordinalMeta=z.getOrdinalMeta()),D.otherDims.itemName!=null&&(k=!0)}),!k&&F!=null&&(O[F].otherDims.itemName=0);var M=e(w,O),P=new m(O,w);P.setCalculationInfo(M);var V=F!=null&&A(b)?function(D,H,U,z){return z===F?U:this.defaultDimValueGetter(D,H,U,z)}:null;return P.hasItemOption=!1,P.initData(b,null,V),P}function A(b){if(b.sourceFormat===g){var w=v(b.data||[]);return w!=null&&!y.isArray(n(w))}}function v(b){for(var w=0;w<b.length&&b[w]==null;)w++;return b[w]}var x=f;B.exports=x},Mylv:function(B,N,r){var y=r("ProS"),m=r("bYtY"),C=r("IwbS"),p=r("oVpE"),g=p.createSymbol,h=r("OELB"),c=h.parsePercent,o=h.isNumeric,n=r("56rv"),t=n.setLabel,a=["itemStyle","borderWidth"],d=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],i=new C.Circle,l=y.extendChartView({type:"pictorialBar",render:function(K,G,X){var Z=this.group,ee=K.getData(),Se=this._data,$=K.coordinateSystem,pe=$.getBaseAxis(),xe=!!pe.isHorizontal(),_e=$.grid.getRect(),Ue={ecSize:{width:X.getWidth(),height:X.getHeight()},seriesModel:K,coordSys:$,coordSysExtent:[[_e.x,_e.x+_e.width],[_e.y,_e.y+_e.height]],isHorizontal:xe,valueDim:d[+xe],categoryDim:d[1-xe]};return ee.diff(Se).add(function(ye){if(!ee.hasValue(ye))return;var Be=S(ee,ye),Q=e(ee,ye,Be,Ue),ie=F(ee,Ue,Q);ee.setItemGraphicEl(ye,ie),Z.add(ie),H(ie,Ue,Q)}).update(function(ye,Be){var Q=Se.getItemGraphicEl(Be);if(!ee.hasValue(ye)){Z.remove(Q);return}var ie=S(ee,ye),Ve=e(ee,ye,ie,Ue),J=P(ee,Ve);Q&&J!==Q.__pictorialShapeStr&&(Z.remove(Q),ee.setItemGraphicEl(ye,null),Q=null),Q?k(Q,Ue,Ve):Q=F(ee,Ue,Ve,!0),ee.setItemGraphicEl(ye,Q),Q.__pictorialSymbolMeta=Ve,Z.add(Q),H(Q,Ue,Ve)}).remove(function(ye){var Be=Se.getItemGraphicEl(ye);Be&&M(Se,ye,Be.__pictorialSymbolMeta.animationModel,Be)}).execute(),this._data=ee,this.group},dispose:m.noop,remove:function(K,G){var X=this.group,Z=this._data;K.get("animation")?Z&&Z.eachItemGraphicEl(function(ee){M(Z,ee.dataIndex,K,ee)}):X.removeAll()}});function e(K,G,X,Z){var ee=K.getItemLayout(G),Se=X.get("symbolRepeat"),$=X.get("symbolClip"),pe=X.get("symbolPosition")||"start",xe=X.get("symbolRotate"),_e=(xe||0)*Math.PI/180||0,Ue=X.get("symbolPatternSize")||2,ye=X.isAnimationEnabled(),Be={dataIndex:G,layout:ee,itemModel:X,symbolType:K.getItemVisual(G,"symbol")||"circle",color:K.getItemVisual(G,"color"),symbolClip:$,symbolRepeat:Se,symbolRepeatDirection:X.get("symbolRepeatDirection"),symbolPatternSize:Ue,rotation:_e,animationModel:ye?X:null,hoverAnimation:ye&&X.get("hoverAnimation"),z2:X.getShallow("z",!0)||0};s(X,Se,ee,Z,Be),f(K,G,ee,Se,$,Be.boundingLength,Be.pxSign,Ue,Z,Be),A(X,Be.symbolScale,_e,Z,Be);var Q=Be.symbolSize,ie=X.get("symbolOffset");return m.isArray(ie)&&(ie=[c(ie[0],Q[0]),c(ie[1],Q[1])]),v(X,Q,ee,Se,$,ie,pe,Be.valueLineWidth,Be.boundingLength,Be.repeatCutLength,Z,Be),Be}function s(K,G,X,Z,ee){var Se=Z.valueDim,$=K.get("symbolBoundingData"),pe=Z.coordSys.getOtherAxis(Z.coordSys.getBaseAxis()),xe=pe.toGlobalCoord(pe.dataToCoord(0)),_e=1-+(X[Se.wh]<=0),Ue;if(m.isArray($)){var ye=[u(pe,$[0])-xe,u(pe,$[1])-xe];ye[1]<ye[0]&&ye.reverse(),Ue=ye[_e]}else $!=null?Ue=u(pe,$)-xe:G?Ue=Z.coordSysExtent[Se.index][_e]-xe:Ue=X[Se.wh];ee.boundingLength=Ue,G&&(ee.repeatCutLength=X[Se.wh]),ee.pxSign=Ue>0?1:Ue<0?-1:0}function u(K,G){return K.toGlobalCoord(K.dataToCoord(K.scale.parse(G)))}function f(K,G,X,Z,ee,Se,$,pe,xe,_e){var Ue=xe.valueDim,ye=xe.categoryDim,Be=Math.abs(X[ye.wh]),Q=K.getItemVisual(G,"symbolSize");m.isArray(Q)?Q=Q.slice():(Q==null&&(Q="100%"),Q=[Q,Q]),Q[ye.index]=c(Q[ye.index],Be),Q[Ue.index]=c(Q[Ue.index],Z?Be:Math.abs(Se)),_e.symbolSize=Q;var ie=_e.symbolScale=[Q[0]/pe,Q[1]/pe];ie[Ue.index]*=(xe.isHorizontal?-1:1)*$}function A(K,G,X,Z,ee){var Se=K.get(a)||0;Se&&(i.attr({scale:G.slice(),rotation:X}),i.updateTransform(),Se/=i.getLineScale(),Se*=G[Z.valueDim.index]),ee.valueLineWidth=Se}function v(K,G,X,Z,ee,Se,$,pe,xe,_e,Ue,ye){var Be=Ue.categoryDim,Q=Ue.valueDim,ie=ye.pxSign,Ve=Math.max(G[Q.index]+pe,0),J=Ve;if(Z){var W=Math.abs(xe),j=m.retrieve(K.get("symbolMargin"),"15%")+"",Y=!1;j.lastIndexOf("!")===j.length-1&&(Y=!0,j=j.slice(0,j.length-1)),j=c(j,G[Q.index]);var me=Math.max(Ve+j*2,0),ae=Y?0:j*2,Le=o(Z),Ee=Le?Z:U((W+ae)/me),ne=W-Ee*Ve;j=ne/2/(Y?Ee:Ee-1),me=Ve+j*2,ae=Y?0:j*2,!Le&&Z!=="fixed"&&(Ee=_e?U((Math.abs(_e)+ae)/me):0),J=Ee*me-ae,ye.repeatTimes=Ee,ye.symbolMargin=j}var ge=ie*(J/2),Ie=ye.pathPosition=[];Ie[Be.index]=X[Be.wh]/2,Ie[Q.index]=$==="start"?ge:$==="end"?xe-ge:xe/2,Se&&(Ie[0]+=Se[0],Ie[1]+=Se[1]);var Ge=ye.bundlePosition=[];Ge[Be.index]=X[Be.xy],Ge[Q.index]=X[Q.xy];var ut=ye.barRectShape=m.extend({},X);ut[Q.wh]=ie*Math.max(Math.abs(X[Q.wh]),Math.abs(Ie[Q.index]+ge)),ut[Be.wh]=X[Be.wh];var wt=ye.clipShape={};wt[Be.xy]=-X[Be.xy],wt[Be.wh]=Ue.ecSize[Be.wh],wt[Q.xy]=0,wt[Q.wh]=X[Q.wh]}function x(K){var G=K.symbolPatternSize,X=g(K.symbolType,-G/2,-G/2,G,G,K.color);return X.attr({culling:!0}),X.type!=="image"&&X.setStyle({strokeNoScale:!0}),X}function b(K,G,X,Z){var ee=K.__pictorialBundle,Se=X.symbolSize,$=X.valueLineWidth,pe=X.pathPosition,xe=G.valueDim,_e=X.repeatTimes||0,Ue=0,ye=Se[G.valueDim.index]+$+X.symbolMargin*2;for(V(K,function(W){W.__pictorialAnimationIndex=Ue,W.__pictorialRepeatTimes=_e,Ue<_e?D(W,null,ie(Ue),X,Z):D(W,null,{scale:[0,0]},X,Z,function(){ee.remove(W)}),O(W,X),Ue++});Ue<_e;Ue++){var Be=x(X);Be.__pictorialAnimationIndex=Ue,Be.__pictorialRepeatTimes=_e,ee.add(Be);var Q=ie(Ue);D(Be,{position:Q.position,scale:[0,0]},{scale:Q.scale,rotation:Q.rotation},X,Z),Be.on("mouseover",Ve).on("mouseout",J),O(Be,X)}function ie(W){var j=pe.slice(),Y=X.pxSign,me=W;return(X.symbolRepeatDirection==="start"?Y>0:Y<0)&&(me=_e-1-W),j[xe.index]=ye*(me-_e/2+.5)+pe[xe.index],{position:j,scale:X.symbolScale.slice(),rotation:X.rotation}}function Ve(){V(K,function(W){W.trigger("emphasis")})}function J(){V(K,function(W){W.trigger("normal")})}}function w(K,G,X,Z){var ee=K.__pictorialBundle,Se=K.__pictorialMainPath;Se?D(Se,null,{position:X.pathPosition.slice(),scale:X.symbolScale.slice(),rotation:X.rotation},X,Z):(Se=K.__pictorialMainPath=x(X),ee.add(Se),D(Se,{position:X.pathPosition.slice(),scale:[0,0],rotation:X.rotation},{scale:X.symbolScale.slice()},X,Z),Se.on("mouseover",$).on("mouseout",pe)),O(Se,X);function $(){this.trigger("emphasis")}function pe(){this.trigger("normal")}}function _(K,G,X){var Z=m.extend({},G.barRectShape),ee=K.__pictorialBarRect;ee?D(ee,null,{shape:Z},G,X):(ee=K.__pictorialBarRect=new C.Rect({z2:2,shape:Z,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),K.add(ee))}function T(K,G,X,Z){if(X.symbolClip){var ee=K.__pictorialClipPath,Se=m.extend({},X.clipShape),$=G.valueDim,pe=X.animationModel,xe=X.dataIndex;if(ee)C.updateProps(ee,{shape:Se},pe,xe);else{Se[$.wh]=0,ee=new C.Rect({shape:Se}),K.__pictorialBundle.setClipPath(ee),K.__pictorialClipPath=ee;var _e={};_e[$.wh]=X.clipShape[$.wh],C[Z?"updateProps":"initProps"](ee,{shape:_e},pe,xe)}}}function S(K,G){var X=K.getItemModel(G);return X.getAnimationDelayParams=E,X.isAnimationEnabled=I,X}function E(K){return{index:K.__pictorialAnimationIndex,count:K.__pictorialRepeatTimes}}function I(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function O(K,G){K.off("emphasis").off("normal");var X=G.symbolScale.slice();G.hoverAnimation&&K.on("emphasis",function(){this.animateTo({scale:[X[0]*1.1,X[1]*1.1]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:X.slice()},400,"elasticOut")})}function F(K,G,X,Z){var ee=new C.Group,Se=new C.Group;return ee.add(Se),ee.__pictorialBundle=Se,Se.attr("position",X.bundlePosition.slice()),X.symbolRepeat?b(ee,G,X):w(ee,G,X),_(ee,X,Z),T(ee,G,X,Z),ee.__pictorialShapeStr=P(K,X),ee.__pictorialSymbolMeta=X,ee}function k(K,G,X){var Z=X.animationModel,ee=X.dataIndex,Se=K.__pictorialBundle;C.updateProps(Se,{position:X.bundlePosition.slice()},Z,ee),X.symbolRepeat?b(K,G,X,!0):w(K,G,X,!0),_(K,X,!0),T(K,G,X,!0)}function M(K,G,X,Z){var ee=Z.__pictorialBarRect;ee&&(ee.style.text=null);var Se=[];V(Z,function($){Se.push($)}),Z.__pictorialMainPath&&Se.push(Z.__pictorialMainPath),Z.__pictorialClipPath&&(X=null),m.each(Se,function($){C.updateProps($,{scale:[0,0]},X,G,function(){Z.parent&&Z.parent.remove(Z)})}),K.setItemGraphicEl(G,null)}function P(K,G){return[K.getItemVisual(G.dataIndex,"symbol")||"none",!!G.symbolRepeat,!!G.symbolClip].join(":")}function V(K,G,X){m.each(K.__pictorialBundle.children(),function(Z){Z!==K.__pictorialBarRect&&G.call(X,Z)})}function D(K,G,X,Z,ee,Se){G&&K.attr(G),Z.symbolClip&&!ee?X&&K.attr(X):X&&C[ee?"updateProps":"initProps"](K,X,Z.animationModel,Z.dataIndex,Se)}function H(K,G,X){var Z=X.color,ee=X.dataIndex,Se=X.itemModel,$=Se.getModel("itemStyle").getItemStyle(["color"]),pe=Se.getModel("emphasis.itemStyle").getItemStyle(),xe=Se.getShallow("cursor");V(K,function(Be){Be.setColor(Z),Be.setStyle(m.defaults({fill:Z,opacity:X.opacity},$)),C.setHoverStyle(Be,pe),xe&&(Be.cursor=xe),Be.z2=X.z2});var _e={},Ue=G.valueDim.posDesc[+(X.boundingLength>0)],ye=K.__pictorialBarRect;t(ye.style,_e,Se,Z,G.seriesModel,ee,Ue),C.setHoverStyle(ye,_e)}function U(K){var G=Math.round(K);return Math.abs(K-G)<1e-4?G:Math.ceil(K)}var z=l;B.exports=z},"N/zr":function(B,N,r){"use strict";function y(h){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(o){return typeof o}:y=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},y(h)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var m=p(r("Lo0S"));function C(){if(typeof WeakMap!="function")return null;var h=new WeakMap;return C=function(){return h},h}function p(h){if(h&&h.__esModule)return h;if(h===null||y(h)!=="object"&&typeof h!="function")return{default:h};var c=C();if(c&&c.has(h))return c.get(h);var o={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in h)if(Object.prototype.hasOwnProperty.call(h,t)){var a=n?Object.getOwnPropertyDescriptor(h,t):null;a&&(a.get||a.set)?Object.defineProperty(o,t,a):o[t]=h[t]}return o.default=h,c&&c.set(h,o),o}var g={toBase64Table:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split(""),base64Pad:"=",encode:function(c){"use strict";for(var o="",n=c.length,t=n%3,a=0;a<n-2;a+=3)o+=this.toBase64Table[c[a]>>2],o+=this.toBase64Table[((c[a]&3)<<4)+(c[a+1]>>4)],o+=this.toBase64Table[((c[a+1]&15)<<2)+(c[a+2]>>6)],o+=this.toBase64Table[c[a+2]&63];var d=n-t;return t===2?(o+=this.toBase64Table[c[d]>>2],o+=this.toBase64Table[((c[d]&3)<<4)+(c[d+1]>>4)],o+=this.toBase64Table[(c[d+1]&15)<<2],o+=this.toBase64Table[64]):t===1&&(o+=this.toBase64Table[c[d]>>2],o+=this.toBase64Table[(c[d]&3)<<4],o+=this.toBase64Table[64],o+=this.toBase64Table[64]),o},toBinaryTable:[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,0,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1],decode:function(c){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=c.indexOf("=")-o;n<0&&(n=c.length-o);for(var t=(n>>2)*3+Math.floor(n%4/1.5),a=new Array(t),d=0,i=0,l=0,e=o;e<c.length;e++){var s=this.toBinaryTable[c.charCodeAt(e)&127],u=c.charAt(e)===this.base64Pad;if(s===-1){m.Error("Illegal character code "+c.charCodeAt(e)+" at position "+e);continue}i=i<<6|s,d+=6,d>=8&&(d-=8,u||(a[l++]=i>>d&255),i&=(1<<d)-1)}if(d){var f=new Error("Corrupted base64 string");throw f.name="Base64-Error",f}return a}};N.default=g},N5BQ:function(B,N,r){var y=r("OlYY"),m=y.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=m;B.exports=C},NA0q:function(B,N,r){var y=r("bYtY"),m=r("6Ic6"),C=r("TkdX"),p=r("gPAo"),g=r("7aKB"),h=g.windowOpen,c="sunburstRootToNode",o=m.extend({type:"sunburst",init:function(){},render:function(t,a,d,i){var l=this;this.seriesModel=t,this.api=d,this.ecModel=a;var e=t.getData(),s=e.tree.root,u=t.getViewRoot(),f=this.group,A=t.get("renderLabelForZeroData"),v=[];u.eachNode(function(I){v.push(I)});var x=this._oldChildren||[];if(_(v,x),E(s,u),i&&i.highlight&&i.highlight.piece){var b=t.getShallow("highlightPolicy");i.highlight.piece.onEmphasis(b)}else if(i&&i.unhighlight){var w=this.virtualPiece;!w&&s.children.length&&(w=s.children[0].piece),w&&w.onNormal()}this._initEvents(),this._oldChildren=v;function _(I,O){if(I.length===0&&O.length===0)return;new p(O,I,F,F).add(k).update(k).remove(y.curry(k,null)).execute();function F(M){return M.getId()}function k(M,P){var V=M==null?null:I[M],D=P==null?null:O[P];T(V,D)}}function T(I,O){if(!A&&I&&!I.getValue()&&(I=null),I!==s&&O!==s){if(O&&O.piece)I?(O.piece.updateData(!1,I,"normal",t,a),e.setItemGraphicEl(I.dataIndex,O.piece)):S(O);else if(I){var F=new C(I,t,a);f.add(F),e.setItemGraphicEl(I.dataIndex,F)}}}function S(I){if(!I)return;I.piece&&(f.remove(I.piece),I.piece=null)}function E(I,O){if(O.depth>0){l.virtualPiece?l.virtualPiece.updateData(!1,I,"normal",t,a):(l.virtualPiece=new C(I,t,a),f.add(l.virtualPiece)),O.piece._onclickEvent&&O.piece.off("click",O.piece._onclickEvent);var F=function(k){l._rootToNode(O.parentNode)};O.piece._onclickEvent=F,l.virtualPiece.on("click",F)}else l.virtualPiece&&(f.remove(l.virtualPiece),l.virtualPiece=null)}},dispose:function(){},_initEvents:function(){var t=this,a=function(d){var i=!1,l=t.seriesModel.getViewRoot();l.eachNode(function(e){if(!i&&e.piece&&e.piece.childAt(0)===d.target){var s=e.getModel().get("nodeClick");if(s==="rootToNode")t._rootToNode(e);else if(s==="link"){var u=e.getModel(),f=u.get("link");if(f){var A=u.get("target",!0)||"_blank";h(f,A)}}i=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",a),this.group._onclickEvent=a},_rootToNode:function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:c,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},containPoint:function(t,a){var d=a.getData(),i=d.getItemLayout(0);if(i){var l=t[0]-i.cx,e=t[1]-i.cy,s=Math.sqrt(l*l+e*e);return s<=i.r&&s>=i.r0}}}),n=o;B.exports=n},NAnI:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("wXyp"));function m(p){return p&&p.__esModule?p:{default:p}}var C=y;N.default=C,B.exports=C},NBmB:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.encodingName=m,N.encodings=void 0;var y={encodingRaw:0,encodingCopyRect:1,encodingRRE:2,encodingHextile:5,encodingTight:7,encodingTightPNG:-260,pseudoEncodingQualityLevel9:-23,pseudoEncodingQualityLevel0:-32,pseudoEncodingDesktopSize:-223,pseudoEncodingLastRect:-224,pseudoEncodingCursor:-239,pseudoEncodingQEMUExtendedKeyEvent:-258,pseudoEncodingDesktopName:-307,pseudoEncodingExtendedDesktopSize:-308,pseudoEncodingXvp:-309,pseudoEncodingFence:-312,pseudoEncodingContinuousUpdates:-313,pseudoEncodingCompressLevel9:-247,pseudoEncodingCompressLevel0:-256,pseudoEncodingVMwareCursor:1464686180,pseudoEncodingExtendedClipboard:3231835598};N.encodings=y;function m(C){switch(C){case y.encodingRaw:return"Raw";case y.encodingCopyRect:return"CopyRect";case y.encodingRRE:return"RRE";case y.encodingHextile:return"Hextile";case y.encodingTight:return"Tight";case y.encodingTightPNG:return"TightPNG";default:return"[unknown encoding "+C+"]"}}},NC18:function(B,N,r){var y=r("y+Vt"),m=r("IMiH"),C=r("7oTu"),p=Math.sqrt,g=Math.sin,h=Math.cos,c=Math.PI,o=function(v){return Math.sqrt(v[0]*v[0]+v[1]*v[1])},n=function(v,x){return(v[0]*x[0]+v[1]*x[1])/(o(v)*o(x))},t=function(v,x){return(v[0]*x[1]<v[1]*x[0]?-1:1)*Math.acos(n(v,x))};function a(A,v,x,b,w,_,T,S,E,I,O){var F=E*(c/180),k=h(F)*(A-x)/2+g(F)*(v-b)/2,M=-1*g(F)*(A-x)/2+h(F)*(v-b)/2,P=k*k/(T*T)+M*M/(S*S);P>1&&(T*=p(P),S*=p(P));var V=(w===_?-1:1)*p((T*T*(S*S)-T*T*(M*M)-S*S*(k*k))/(T*T*(M*M)+S*S*(k*k)))||0,D=V*T*M/S,H=V*-S*k/T,U=(A+x)/2+h(F)*D-g(F)*H,z=(v+b)/2+g(F)*D+h(F)*H,K=t([1,0],[(k-D)/T,(M-H)/S]),G=[(k-D)/T,(M-H)/S],X=[(-1*k-D)/T,(-1*M-H)/S],Z=t(G,X);n(G,X)<=-1&&(Z=c),n(G,X)>=1&&(Z=0),_===0&&Z>0&&(Z=Z-2*c),_===1&&Z<0&&(Z=Z+2*c),O.addData(I,U,z,T,S,K,Z,F,_)}var d=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,i=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function l(A){if(!A)return new m;for(var v=0,x=0,b=v,w=x,_,T=new m,S=m.CMD,E=A.match(d),I=0;I<E.length;I++){for(var O=E[I],F=O.charAt(0),k,M=O.match(i)||[],P=M.length,V=0;V<P;V++)M[V]=parseFloat(M[V]);for(var D=0;D<P;){var H,U,z,K,G,X,Z,ee=v,Se=x;switch(F){case"l":v+=M[D++],x+=M[D++],k=S.L,T.addData(k,v,x);break;case"L":v=M[D++],x=M[D++],k=S.L,T.addData(k,v,x);break;case"m":v+=M[D++],x+=M[D++],k=S.M,T.addData(k,v,x),b=v,w=x,F="l";break;case"M":v=M[D++],x=M[D++],k=S.M,T.addData(k,v,x),b=v,w=x,F="L";break;case"h":v+=M[D++],k=S.L,T.addData(k,v,x);break;case"H":v=M[D++],k=S.L,T.addData(k,v,x);break;case"v":x+=M[D++],k=S.L,T.addData(k,v,x);break;case"V":x=M[D++],k=S.L,T.addData(k,v,x);break;case"C":k=S.C,T.addData(k,M[D++],M[D++],M[D++],M[D++],M[D++],M[D++]),v=M[D-2],x=M[D-1];break;case"c":k=S.C,T.addData(k,M[D++]+v,M[D++]+x,M[D++]+v,M[D++]+x,M[D++]+v,M[D++]+x),v+=M[D-2],x+=M[D-1];break;case"S":H=v,U=x;var $=T.len(),pe=T.data;_===S.C&&(H+=v-pe[$-4],U+=x-pe[$-3]),k=S.C,ee=M[D++],Se=M[D++],v=M[D++],x=M[D++],T.addData(k,H,U,ee,Se,v,x);break;case"s":H=v,U=x;var $=T.len(),pe=T.data;_===S.C&&(H+=v-pe[$-4],U+=x-pe[$-3]),k=S.C,ee=v+M[D++],Se=x+M[D++],v+=M[D++],x+=M[D++],T.addData(k,H,U,ee,Se,v,x);break;case"Q":ee=M[D++],Se=M[D++],v=M[D++],x=M[D++],k=S.Q,T.addData(k,ee,Se,v,x);break;case"q":ee=M[D++]+v,Se=M[D++]+x,v+=M[D++],x+=M[D++],k=S.Q,T.addData(k,ee,Se,v,x);break;case"T":H=v,U=x;var $=T.len(),pe=T.data;_===S.Q&&(H+=v-pe[$-4],U+=x-pe[$-3]),v=M[D++],x=M[D++],k=S.Q,T.addData(k,H,U,v,x);break;case"t":H=v,U=x;var $=T.len(),pe=T.data;_===S.Q&&(H+=v-pe[$-4],U+=x-pe[$-3]),v+=M[D++],x+=M[D++],k=S.Q,T.addData(k,H,U,v,x);break;case"A":z=M[D++],K=M[D++],G=M[D++],X=M[D++],Z=M[D++],ee=v,Se=x,v=M[D++],x=M[D++],k=S.A,a(ee,Se,v,x,X,Z,z,K,G,k,T);break;case"a":z=M[D++],K=M[D++],G=M[D++],X=M[D++],Z=M[D++],ee=v,Se=x,v+=M[D++],x+=M[D++],k=S.A,a(ee,Se,v,x,X,Z,z,K,G,k,T);break}}(F==="z"||F==="Z")&&(k=S.Z,T.addData(k),v=b,x=w),_=k}return T.toStatic(),T}function e(A,v){var x=l(A);return v=v||{},v.buildPath=function(b){if(b.setData){b.setData(x.data);var w=b.getContext();w&&b.rebuildPath(w)}else{var w=b;x.rebuildPath(w)}},v.applyTransform=function(b){C(x,b),this.dirty(!0)},v}function s(A,v){return new y(e(A,v))}function u(A,v){return y.extend(e(A,v))}function f(A,v){for(var x=[],b=A.length,w=0;w<b;w++){var _=A[w];_.path||_.createPathProxy(),_.__dirtyPath&&_.buildPath(_.path,_.shape,!0),x.push(_.path)}var T=new y(v);return T.createPathProxy(),T.buildPath=function(S){S.appendPath(x);var E=S.getContext();E&&S.rebuildPath(E)},T}N.createFromString=s,N.extendFromString=u,N.mergePath=f},NH9N:function(B,N,r){var y=r("bYtY"),m=r("mFDi"),C=r("Fofx"),p=r("IwbS"),g=r("+TT/"),h=r("kzvK"),c=r("CMP+"),o=r("oVpE"),n=o.createSymbol,t=r("aX7z"),a=r("OELB"),d=r("7aKB"),i=d.encodeHTML,l=y.bind,e=y.each,s=Math.PI,u=h.extend({type:"timeline.slider",init:function(b,w){this.api=w,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(b,w,_,T){if(this.model=b,this.api=_,this.ecModel=w,this.group.removeAll(),b.get("show",!0)){var S=this._layout(b,_),E=this._createGroup("mainGroup"),I=this._createGroup("labelGroup"),O=this._axis=this._createAxis(S,b);b.formatTooltip=function(F){return i(O.scale.getLabel(F))},e(["AxisLine","AxisTick","Control","CurrentPointer"],function(F){this["_render"+F](S,E,O,b)},this),this._renderAxisLabel(S,I,O,b),this._position(S,b)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(b,w){var _=b.get("label.position"),T=b.get("orient"),S=f(b,w);_==null||_==="auto"?_=T==="horizontal"?S.y+S.height/2<w.getHeight()/2?"-":"+":S.x+S.width/2<w.getWidth()/2?"+":"-":isNaN(_)&&(_={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[T][_]);var E={horizontal:"center",vertical:_>=0||_==="+"?"left":"right"},I={horizontal:_>=0||_==="+"?"top":"bottom",vertical:"middle"},O={horizontal:0,vertical:s/2},F=T==="vertical"?S.height:S.width,k=b.getModel("controlStyle"),M=k.get("show",!0),P=M?k.get("itemSize"):0,V=M?k.get("itemGap"):0,D=P+V,H=b.get("label.rotate")||0;H=H*s/180;var U,z,K,G,X=k.get("position",!0),Z=M&&k.get("showPlayBtn",!0),ee=M&&k.get("showPrevBtn",!0),Se=M&&k.get("showNextBtn",!0),$=0,pe=F;return X==="left"||X==="bottom"?(Z&&(U=[0,0],$+=D),ee&&(z=[$,0],$+=D),Se&&(K=[pe-P,0],pe-=D)):(Z&&(U=[pe-P,0],pe-=D),ee&&(z=[0,0],$+=D),Se&&(K=[pe-P,0],pe-=D)),G=[$,pe],b.get("inverse")&&G.reverse(),{viewRect:S,mainLength:F,orient:T,rotation:O[T],labelRotation:H,labelPosOpt:_,labelAlign:b.get("label.align")||E[T],labelBaseline:b.get("label.verticalAlign")||b.get("label.baseline")||I[T],playPosition:U,prevBtnPosition:z,nextBtnPosition:K,axisExtent:G,controlSize:P,controlGap:V}},_position:function(b,w){var _=this._mainGroup,T=this._labelGroup,S=b.viewRect;if(b.orient==="vertical"){var E=C.create(),I=S.x,O=S.y+S.height;C.translate(E,E,[-I,-O]),C.rotate(E,E,-s/2),C.translate(E,E,[I,O]),S=S.clone(),S.applyTransform(E)}var F=z(S),k=z(_.getBoundingRect()),M=z(T.getBoundingRect()),P=_.position,V=T.position;V[0]=P[0]=F[0][0];var D=b.labelPosOpt;if(isNaN(D)){var H=D==="+"?0:1;K(P,k,F,1,H),K(V,M,F,1,1-H)}else{var H=D>=0?0:1;K(P,k,F,1,H),V[1]=P[1]+D}_.attr("position",P),T.attr("position",V),_.rotation=T.rotation=b.rotation,U(_),U(T);function U(G){var X=G.position;G.origin=[F[0][0]-X[0],F[1][0]-X[1]]}function z(G){return[[G.x,G.x+G.width],[G.y,G.y+G.height]]}function K(G,X,Z,ee,Se){G[ee]+=Z[ee][Se]-X[ee][Se]}},_createAxis:function(b,w){var _=w.getData(),T=w.get("axisType"),S=t.createScaleByModel(w,T);S.getTicks=function(){return _.mapArray(["value"],function(O){return O})};var E=_.getDataExtent("value");S.setExtent(E[0],E[1]),S.niceTicks();var I=new c("value",S,b.axisExtent,T);return I.model=w,I},_createGroup:function(b){var w=this["_"+b]=new p.Group;return this.group.add(w),w},_renderAxisLine:function(b,w,_,T){var S=_.getExtent();if(!T.get("lineStyle.show"))return;w.add(new p.Line({shape:{x1:S[0],y1:0,x2:S[1],y2:0},style:y.extend({lineCap:"round"},T.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(b,w,_,T){var S=T.getData(),E=_.scale.getTicks();e(E,function(I){var O=_.dataToCoord(I),F=S.getItemModel(I),k=F.getModel("itemStyle"),M=F.getModel("emphasis.itemStyle"),P={position:[O,0],onclick:l(this._changeTimeline,this,I)},V=v(F,k,w,P);p.setHoverStyle(V,M.getItemStyle()),F.get("tooltip")?(V.dataIndex=I,V.dataModel=T):V.dataIndex=V.dataModel=null},this)},_renderAxisLabel:function(b,w,_,T){var S=_.getLabelModel();if(!S.get("show"))return;var E=T.getData(),I=_.getViewLabels();e(I,function(O){var F=O.tickValue,k=E.getItemModel(F),M=k.getModel("label"),P=k.getModel("emphasis.label"),V=_.dataToCoord(O.tickValue),D=new p.Text({position:[V,0],rotation:b.labelRotation-b.rotation,onclick:l(this._changeTimeline,this,F),silent:!1});p.setTextStyle(D.style,M,{text:O.formattedLabel,textAlign:b.labelAlign,textVerticalAlign:b.labelBaseline}),w.add(D),p.setHoverStyle(D,p.setTextStyle({},P))},this)},_renderControl:function(b,w,_,T){var S=b.controlSize,E=b.rotation,I=T.getModel("controlStyle").getItemStyle(),O=T.getModel("emphasis.controlStyle").getItemStyle(),F=[0,-S/2,S,S],k=T.getPlayState(),M=T.get("inverse",!0);P(b.nextBtnPosition,"controlStyle.nextIcon",l(this._changeTimeline,this,M?"-":"+")),P(b.prevBtnPosition,"controlStyle.prevIcon",l(this._changeTimeline,this,M?"+":"-")),P(b.playPosition,"controlStyle."+(k?"stopIcon":"playIcon"),l(this._handlePlayClick,this,!k),!0);function P(V,D,H,U){if(!V)return;var z={position:V,origin:[S/2,0],rotation:U?-E:0,rectHover:!0,style:I,onclick:H},K=A(T,D,F,z);w.add(K),p.setHoverStyle(K,O)}},_renderCurrentPointer:function(b,w,_,T){var S=T.getData(),E=T.getCurrentIndex(),I=S.getItemModel(E).getModel("checkpointStyle"),O=this,F={onCreate:function(k){k.draggable=!0,k.drift=l(O._handlePointerDrag,O),k.ondragend=l(O._handlePointerDragend,O),x(k,E,_,T,!0)},onUpdate:function(k){x(k,E,_,T)}};this._currentPointer=v(I,I,this._mainGroup,{},this._currentPointer,F)},_handlePlayClick:function(b){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:b,from:this.uid})},_handlePointerDrag:function(b,w,_){this._clearTimer(),this._pointerChangeTimeline([_.offsetX,_.offsetY])},_handlePointerDragend:function(b){this._pointerChangeTimeline([b.offsetX,b.offsetY],!0)},_pointerChangeTimeline:function(b,w){var _=this._toAxisCoord(b)[0],T=this._axis,S=a.asc(T.getExtent().slice());_>S[1]&&(_=S[1]),_<S[0]&&(_=S[0]),this._currentPointer.position[0]=_,this._currentPointer.dirty();var E=this._findNearestTick(_),I=this.model;(w||E!==I.getCurrentIndex()&&I.get("realtime"))&&this._changeTimeline(E)},_doPlayStop:function(){this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(l(b,this),this.model.get("playInterval")));function b(){var w=this.model;this._changeTimeline(w.getCurrentIndex()+(w.get("rewind",!0)?-1:1))}},_toAxisCoord:function(b){var w=this._mainGroup.getLocalTransform();return p.applyTransform(b,w,!0)},_findNearestTick:function(b){var w=this.model.getData(),_=Infinity,T,S=this._axis;return w.each(["value"],function(E,I){var O=S.dataToCoord(E),F=Math.abs(O-b);F<_&&(_=F,T=I)}),T},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(b){var w=this.model.getCurrentIndex();b==="+"?b=w+1:b==="-"&&(b=w-1),this.api.dispatchAction({type:"timelineChange",currentIndex:b,from:this.uid})}});function f(b,w){return g.getLayoutRect(b.getBoxLayoutParams(),{width:w.getWidth(),height:w.getHeight()},b.get("padding"))}function A(b,w,_,T){var S=p.makePath(b.get(w).replace(/^path:\/\//,""),y.clone(T||{}),new m(_[0],_[1],_[2],_[3]),"center");return S}function v(b,w,_,T,S,E){var I=w.get("color");if(S)S.setColor(I),_.add(S),E&&E.onUpdate(S);else{var O=b.get("symbol");S=n(O,-1,-1,2,2,I),S.setStyle("strokeNoScale",!0),_.add(S),E&&E.onCreate(S)}var F=w.getItemStyle(["color","symbol","symbolSize"]);S.setStyle(F),T=y.merge({rectHover:!0,z2:100},T,!0);var k=b.get("symbolSize");k=k instanceof Array?k.slice():[+k,+k],k[0]/=2,k[1]/=2,T.scale=k;var M=b.get("symbolOffset");if(M){var P=T.position=T.position||[0,0];P[0]+=a.parsePercent(M[0],k[0]),P[1]+=a.parsePercent(M[1],k[1])}var V=b.get("symbolRotate");return T.rotation=(V||0)*Math.PI/180||0,S.attr(T),S.updateTransform(),S}function x(b,w,_,T,S){if(b.dragging)return;var E=T.getModel("checkpointStyle"),I=_.dataToCoord(T.getData().get(["value"],w));S||!E.get("animation",!0)?b.attr({position:[I,0]}):(b.stopAnimation(!0),b.animateTo({position:[I,0]},E.get("animationDuration",!0),E.get("animationEasing",!0)))}B.exports=u},NJEC:function(B,N,r){"use strict";var y=r("pVnL"),m=r.n(y),C=r("J4zp"),p=r.n(C),g=r("q1tI"),h=r.n(g),c=r("TSYQ"),o=r.n(c),n=r("sKbD"),t=r.n(n),a=r("4IlW"),d=r("3S7+"),i=r("2/Rp"),l=r("zvFY"),e=r("YMnH"),s=r("ZvpZ"),u=r("H84U"),f=r("bogI"),A=r("0n0R"),v=void 0,x=function(w,_){var T={};for(var S in w)Object.prototype.hasOwnProperty.call(w,S)&&_.indexOf(S)<0&&(T[S]=w[S]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,S=Object.getOwnPropertySymbols(w);E<S.length;E++)_.indexOf(S[E])<0&&Object.prototype.propertyIsEnumerable.call(w,S[E])&&(T[S[E]]=w[S[E]]);return T},b=g.forwardRef(function(w,_){var T=g.useState(w.visible),S=p()(T,2),E=S[0],I=S[1];g.useEffect(function(){"visible"in w&&I(w.visible)},[w.visible]),g.useEffect(function(){"defaultVisible"in w&&I(w.defaultVisible)},[w.defaultVisible]);var O=function(xe,_e){"visible"in w||I(xe),w.onVisibleChange&&w.onVisibleChange(xe,_e)},F=function(xe){O(!1,xe),w.onConfirm&&w.onConfirm.call(v,xe)},k=function(xe){O(!1,xe),w.onCancel&&w.onCancel.call(v,xe)},M=function(xe){xe.keyCode===a.a.ESC&&E&&O(!1,xe)},P=function(xe){var _e=w.disabled;if(_e)return;O(xe)},V=function(xe,_e){var Ue=w.okButtonProps,ye=w.cancelButtonProps,Be=w.title,Q=w.cancelText,ie=w.okText,Ve=w.okType,J=w.icon;return g.createElement("div",{className:"".concat(xe,"-inner-content")},g.createElement("div",{className:"".concat(xe,"-message")},J,g.createElement("div",{className:"".concat(xe,"-message-title")},Object(f.a)(Be))),g.createElement("div",{className:"".concat(xe,"-buttons")},g.createElement(i.a,m()({onClick:k,size:"small"},ye),Q||_e.cancelText),g.createElement(i.a,m()({onClick:F},Object(l.a)(Ve),{size:"small"},Ue),ie||_e.okText)))},D=g.useContext(u.b),H=D.getPrefixCls,U=w.prefixCls,z=w.placement,K=w.children,G=w.overlayClassName,X=x(w,["prefixCls","placement","children","overlayClassName"]),Z=H("popover",U),ee=H("popconfirm",U),Se=o()(ee,G),$=g.createElement(e.a,{componentName:"Popconfirm",defaultLocale:s.a.Popconfirm},function(pe){return V(Z,pe)});return g.createElement(d.a,m()({},X,{prefixCls:Z,placement:z,onVisibleChange:P,visible:E,overlay:$,overlayClassName:Se,ref:_}),Object(A.a)(K,{onKeyDown:function(xe){var _e,Ue;(Ue=K==null?void 0:(_e=K.props).onKeyDown)===null||Ue===void 0||Ue.call(_e,xe),M(xe)}}))});b.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:g.createElement(t.a,null),disabled:!1},N.a=b},NUBc:function(B,N,r){"use strict";var y=r("lSNA"),m=r.n(y),C=r("pVnL"),p=r.n(C),g=r("q1tI"),h=r.n(g),c=r("wx14"),o=r("rePB"),n=r("VTBJ"),t=r("1OyB"),a=r("vuIU"),d=r("Ji7U"),i=r("LK+K"),l=r("TSYQ"),e=r.n(l),s=function(_e){var Ue,ye="".concat(_e.rootPrefixCls,"-item"),Be=e()(ye,"".concat(ye,"-").concat(_e.page),(Ue={},Object(o.a)(Ue,"".concat(ye,"-active"),_e.active),Object(o.a)(Ue,_e.className,!!_e.className),Object(o.a)(Ue,"".concat(ye,"-disabled"),!_e.page),Ue)),Q=function(){_e.onClick(_e.page)},ie=function(J){_e.onKeyPress(J,_e.onClick,_e.page)};return h.a.createElement("li",{title:_e.showTitle?_e.page:null,className:Be,onClick:Q,onKeyPress:ie,tabIndex:"0"},_e.itemRender(_e.page,"page",h.a.createElement("a",{rel:"nofollow"},_e.page)))},u=s,f={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},A=function(xe){Object(d.a)(Ue,xe);var _e=Object(i.a)(Ue);function Ue(){var ye;Object(t.a)(this,Ue);for(var Be=arguments.length,Q=new Array(Be),ie=0;ie<Be;ie++)Q[ie]=arguments[ie];return ye=_e.call.apply(_e,[this].concat(Q)),ye.state={goInputText:""},ye.buildOptionText=function(Ve){return"".concat(Ve," ").concat(ye.props.locale.items_per_page)},ye.changeSize=function(Ve){ye.props.changeSize(Number(Ve))},ye.handleChange=function(Ve){ye.setState({goInputText:Ve.target.value})},ye.handleBlur=function(Ve){var J=ye.props,W=J.goButton,j=J.quickGo,Y=J.rootPrefixCls,me=ye.state.goInputText;if(W||me==="")return;if(Ve.relatedTarget&&(Ve.relatedTarget.className.indexOf("".concat(Y,"-prev"))>=0||Ve.relatedTarget.className.indexOf("".concat(Y,"-next"))>=0))return;ye.setState({goInputText:""}),j(ye.getValidValue())},ye.go=function(Ve){var J=ye.state.goInputText;if(J==="")return;(Ve.keyCode===f.ENTER||Ve.type==="click")&&(ye.setState({goInputText:""}),ye.props.quickGo(ye.getValidValue()))},ye}return Object(a.a)(Ue,[{key:"getValidValue",value:function(){var Be=this.state,Q=Be.goInputText,ie=Be.current;return!Q||isNaN(Q)?ie:Number(Q)}},{key:"getPageSizeOptions",value:function(){var Be=this.props,Q=Be.pageSize,ie=Be.pageSizeOptions;return ie.some(function(Ve){return Ve.toString()===Q.toString()})?ie:ie.concat([Q.toString()]).sort(function(Ve,J){var W=isNaN(Number(Ve))?0:Number(Ve),j=isNaN(Number(J))?0:Number(J);return W-j})}},{key:"render",value:function(){var Be=this,Q=this.props,ie=Q.pageSize,Ve=Q.locale,J=Q.rootPrefixCls,W=Q.changeSize,j=Q.quickGo,Y=Q.goButton,me=Q.selectComponentClass,ae=Q.buildOptionText,Le=Q.selectPrefixCls,Ee=Q.disabled,ne=this.state.goInputText,ge="".concat(J,"-options"),Ie=me,Ge=null,ut=null,wt=null;if(!W&&!j)return null;var Pe=this.getPageSizeOptions();if(W&&Ie){var Dt=Pe.map(function(et,_t){return h.a.createElement(Ie.Option,{key:_t,value:et.toString()},(ae||Be.buildOptionText)(et))});Ge=h.a.createElement(Ie,{disabled:Ee,prefixCls:Le,showSearch:!1,className:"".concat(ge,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(ie||Pe[0]).toString(),onChange:this.changeSize,getPopupContainer:function(_t){return _t.parentNode}},Dt)}return j&&(Y&&(wt=typeof Y=="boolean"?h.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Ee,className:"".concat(ge,"-quick-jumper-button")},Ve.jump_to_confirm):h.a.createElement("span",{onClick:this.go,onKeyUp:this.go},Y)),ut=h.a.createElement("div",{className:"".concat(ge,"-quick-jumper")},Ve.jump_to,h.a.createElement("input",{disabled:Ee,type:"text",value:ne,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),Ve.page,wt)),h.a.createElement("li",{className:"".concat(ge)},Ge,ut)}}]),Ue}(h.a.Component);A.defaultProps={pageSizeOptions:["10","20","50","100"]};var v=A,x=r("N2Kk");function b(){}function w(xe){return typeof xe=="number"&&isFinite(xe)&&Math.floor(xe)===xe}function _(xe,_e,Ue){return Ue}function T(xe,_e,Ue){var ye=typeof xe=="undefined"?_e.pageSize:xe;return Math.floor((Ue.total-1)/ye)+1}var S=function(xe){Object(d.a)(Ue,xe);var _e=Object(i.a)(Ue);function Ue(ye){var Be;Object(t.a)(this,Ue),Be=_e.call(this,ye),Be.getJumpPrevPage=function(){return Math.max(1,Be.state.current-(Be.props.showLessItems?3:5))},Be.getJumpNextPage=function(){return Math.min(T(void 0,Be.state,Be.props),Be.state.current+(Be.props.showLessItems?3:5))},Be.getItemIcon=function(W,j){var Y=Be.props.prefixCls,me=W||h.a.createElement("button",{type:"button","aria-label":j,className:"".concat(Y,"-item-link")});return typeof W=="function"&&(me=h.a.createElement(W,Object(n.a)({},Be.props))),me},Be.savePaginationNode=function(W){Be.paginationNode=W},Be.isValid=function(W){return w(W)&&W!==Be.state.current},Be.shouldDisplayQuickJumper=function(){var W=Be.props,j=W.showQuickJumper,Y=W.pageSize,me=W.total;return me<=Y?!1:j},Be.handleKeyDown=function(W){(W.keyCode===f.ARROW_UP||W.keyCode===f.ARROW_DOWN)&&W.preventDefault()},Be.handleKeyUp=function(W){var j=Be.getValidValue(W),Y=Be.state.currentInputValue;j!==Y&&Be.setState({currentInputValue:j}),W.keyCode===f.ENTER?Be.handleChange(j):W.keyCode===f.ARROW_UP?Be.handleChange(j-1):W.keyCode===f.ARROW_DOWN&&Be.handleChange(j+1)},Be.changePageSize=function(W){var j=Be.state.current,Y=T(W,Be.state,Be.props);j=j>Y?Y:j,Y===0&&(j=Be.state.current),typeof W=="number"&&("pageSize"in Be.props||Be.setState({pageSize:W}),"current"in Be.props||Be.setState({current:j,currentInputValue:j})),Be.props.onShowSizeChange(j,W),"onChange"in Be.props&&Be.props.onChange&&Be.props.onChange(j,W)},Be.handleChange=function(W){var j=Be.props.disabled,Y=W;if(Be.isValid(Y)&&!j){var me=T(void 0,Be.state,Be.props);Y>me?Y=me:Y<1&&(Y=1),"current"in Be.props||Be.setState({current:Y,currentInputValue:Y});var ae=Be.state.pageSize;return Be.props.onChange(Y,ae),Y}return Be.state.current},Be.prev=function(){Be.hasPrev()&&Be.handleChange(Be.state.current-1)},Be.next=function(){Be.hasNext()&&Be.handleChange(Be.state.current+1)},Be.jumpPrev=function(){Be.handleChange(Be.getJumpPrevPage())},Be.jumpNext=function(){Be.handleChange(Be.getJumpNextPage())},Be.hasPrev=function(){return Be.state.current>1},Be.hasNext=function(){return Be.state.current<T(void 0,Be.state,Be.props)},Be.runIfEnter=function(W,j){if(W.key==="Enter"||W.charCode===13){for(var Y=arguments.length,me=new Array(Y>2?Y-2:0),ae=2;ae<Y;ae++)me[ae-2]=arguments[ae];j.apply(void 0,me)}},Be.runIfEnterPrev=function(W){Be.runIfEnter(W,Be.prev)},Be.runIfEnterNext=function(W){Be.runIfEnter(W,Be.next)},Be.runIfEnterJumpPrev=function(W){Be.runIfEnter(W,Be.jumpPrev)},Be.runIfEnterJumpNext=function(W){Be.runIfEnter(W,Be.jumpNext)},Be.handleGoTO=function(W){(W.keyCode===f.ENTER||W.type==="click")&&Be.handleChange(Be.state.currentInputValue)};var Q=ye.onChange!==b,ie="current"in ye;ie&&!Q&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var Ve=ye.defaultCurrent;"current"in ye&&(Ve=ye.current);var J=ye.defaultPageSize;return"pageSize"in ye&&(J=ye.pageSize),Ve=Math.min(Ve,T(J,void 0,ye)),Be.state={current:Ve,currentInputValue:Ve,pageSize:J},Be}return Object(a.a)(Ue,[{key:"componentDidUpdate",value:function(Be,Q){var ie=this.props.prefixCls;if(Q.current!==this.state.current&&this.paginationNode){var Ve=this.paginationNode.querySelector(".".concat(ie,"-item-").concat(Q.current));Ve&&document.activeElement===Ve&&Ve.blur()}}},{key:"getValidValue",value:function(Be){var Q=Be.target.value,ie=T(void 0,this.state,this.props),Ve=this.state.currentInputValue,J;return Q===""?J=Q:isNaN(Number(Q))?J=Ve:Q>=ie?J=ie:J=Number(Q),J}},{key:"getShowSizeChanger",value:function(){var Be=this.props,Q=Be.showSizeChanger,ie=Be.total,Ve=Be.totalBoundaryShowSizeChanger;return typeof Q!="undefined"?Q:ie>Ve}},{key:"renderPrev",value:function(Be){var Q=this.props,ie=Q.prevIcon,Ve=Q.itemRender,J=Ve(Be,"prev",this.getItemIcon(ie,"prev page")),W=!this.hasPrev();return Object(g.isValidElement)(J)?Object(g.cloneElement)(J,{disabled:W}):J}},{key:"renderNext",value:function(Be){var Q=this.props,ie=Q.nextIcon,Ve=Q.itemRender,J=Ve(Be,"next",this.getItemIcon(ie,"next page")),W=!this.hasNext();return Object(g.isValidElement)(J)?Object(g.cloneElement)(J,{disabled:W}):J}},{key:"render",value:function(){var Be=this,Q=this.props,ie=Q.prefixCls,Ve=Q.className,J=Q.style,W=Q.disabled,j=Q.hideOnSinglePage,Y=Q.total,me=Q.locale,ae=Q.showQuickJumper,Le=Q.showLessItems,Ee=Q.showTitle,ne=Q.showTotal,ge=Q.simple,Ie=Q.itemRender,Ge=Q.showPrevNextJumpers,ut=Q.jumpPrevIcon,wt=Q.jumpNextIcon,Pe=Q.selectComponentClass,Dt=Q.selectPrefixCls,et=Q.pageSizeOptions,_t=this.state,Nt=_t.current,Bt=_t.pageSize,Ft=_t.currentInputValue;if(j===!0&&Y<=Bt)return null;var Gt=T(void 0,this.state,this.props),qe=[],we=null,ue=null,vt=null,at=null,Ae=null,Xt=ae&&ae.goButton,Ot=Le?1:2,rt=Nt-1>0?Nt-1:0,Et=Nt+1<Gt?Nt+1:Gt,Zt=Object.keys(this.props).reduce(function(It,ir){return(ir.substr(0,5)==="data-"||ir.substr(0,5)==="aria-"||ir==="role")&&(It[ir]=Be.props[ir]),It},{});if(ge)return Xt&&(typeof Xt=="boolean"?Ae=h.a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},me.jump_to_confirm):Ae=h.a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Xt),Ae=h.a.createElement("li",{title:Ee?"".concat(me.jump_to).concat(Nt,"/").concat(Gt):null,className:"".concat(ie,"-simple-pager")},Ae)),h.a.createElement("ul",Object(c.a)({className:e()(ie,"".concat(ie,"-simple"),Object(o.a)({},"".concat(ie,"-disabled"),W),Ve),style:J,ref:this.savePaginationNode},Zt),h.a.createElement("li",{title:Ee?me.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:e()("".concat(ie,"-prev"),Object(o.a)({},"".concat(ie,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(rt)),h.a.createElement("li",{title:Ee?"".concat(Nt,"/").concat(Gt):null,className:"".concat(ie,"-simple-pager")},h.a.createElement("input",{type:"text",value:Ft,disabled:W,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"}),h.a.createElement("span",{className:"".concat(ie,"-slash")},"/"),Gt),h.a.createElement("li",{title:Ee?me.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:e()("".concat(ie,"-next"),Object(o.a)({},"".concat(ie,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Et)),Ae);if(Gt<=3+Ot*2){var vr={locale:me,rootPrefixCls:ie,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Ee,itemRender:Ie};Gt||qe.push(h.a.createElement(u,Object(c.a)({},vr,{key:"noPager",page:Gt,className:"".concat(ie,"-disabled")})));for(var mt=1;mt<=Gt;mt+=1){var ce=Nt===mt;qe.push(h.a.createElement(u,Object(c.a)({},vr,{key:mt,page:mt,active:ce})))}}else{var le=Le?me.prev_3:me.prev_5,oe=Le?me.next_3:me.next_5;Ge&&(we=h.a.createElement("li",{title:Ee?le:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:e()("".concat(ie,"-jump-prev"),Object(o.a)({},"".concat(ie,"-jump-prev-custom-icon"),!!ut))},Ie(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(ut,"prev page"))),ue=h.a.createElement("li",{title:Ee?oe:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:e()("".concat(ie,"-jump-next"),Object(o.a)({},"".concat(ie,"-jump-next-custom-icon"),!!wt))},Ie(this.getJumpNextPage(),"jump-next",this.getItemIcon(wt,"next page")))),at=h.a.createElement(u,{locale:me,last:!0,rootPrefixCls:ie,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Gt,page:Gt,active:!1,showTitle:Ee,itemRender:Ie}),vt=h.a.createElement(u,{locale:me,rootPrefixCls:ie,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Ee,itemRender:Ie});var fe=Math.max(1,Nt-Ot),De=Math.min(Nt+Ot,Gt);Nt-1<=Ot&&(De=1+Ot*2),Gt-Nt<=Ot&&(fe=Gt-Ot*2);for(var He=fe;He<=De;He+=1){var je=Nt===He;qe.push(h.a.createElement(u,{locale:me,rootPrefixCls:ie,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:He,page:He,active:je,showTitle:Ee,itemRender:Ie}))}Nt-1>=Ot*2&&Nt!==1+2&&(qe[0]=Object(g.cloneElement)(qe[0],{className:"".concat(ie,"-item-after-jump-prev")}),qe.unshift(we)),Gt-Nt>=Ot*2&&Nt!==Gt-2&&(qe[qe.length-1]=Object(g.cloneElement)(qe[qe.length-1],{className:"".concat(ie,"-item-before-jump-next")}),qe.push(ue)),fe!==1&&qe.unshift(vt),De!==Gt&&qe.push(at)}var We=null;ne&&(We=h.a.createElement("li",{className:"".concat(ie,"-total-text")},ne(Y,[Y===0?0:(Nt-1)*Bt+1,Nt*Bt>Y?Y:Nt*Bt])));var nt=!this.hasPrev()||!Gt,xt=!this.hasNext()||!Gt;return h.a.createElement("ul",Object(c.a)({className:e()(ie,Ve,Object(o.a)({},"".concat(ie,"-disabled"),W)),style:J,unselectable:"unselectable",ref:this.savePaginationNode},Zt),We,h.a.createElement("li",{title:Ee?me.prev_page:null,onClick:this.prev,tabIndex:nt?null:0,onKeyPress:this.runIfEnterPrev,className:e()("".concat(ie,"-prev"),Object(o.a)({},"".concat(ie,"-disabled"),nt)),"aria-disabled":nt},this.renderPrev(rt)),qe,h.a.createElement("li",{title:Ee?me.next_page:null,onClick:this.next,tabIndex:xt?null:0,onKeyPress:this.runIfEnterNext,className:e()("".concat(ie,"-next"),Object(o.a)({},"".concat(ie,"-disabled"),xt)),"aria-disabled":xt},this.renderNext(Et)),h.a.createElement(v,{disabled:W,locale:me,rootPrefixCls:ie,selectComponentClass:Pe,selectPrefixCls:Dt,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Nt,pageSize:Bt,pageSizeOptions:et,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Xt}))}}],[{key:"getDerivedStateFromProps",value:function(Be,Q){var ie={};if("current"in Be&&(ie.current=Be.current,Be.current!==Q.current&&(ie.currentInputValue=ie.current)),"pageSize"in Be&&Be.pageSize!==Q.pageSize){var Ve=Q.current,J=T(Be.pageSize,Q,Be);Ve=Ve>J?J:Ve,"current"in Be||(ie.current=Ve,ie.currentInputValue=Ve),ie.pageSize=Be.pageSize}return ie}}]),Ue}(h.a.Component);S.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:b,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:b,locale:x.a,style:{},itemRender:_,totalBoundaryShowSizeChanger:50};var E=S,I=r("H4fg"),O=r("DFhj"),F=r.n(O),k=r("fEPi"),M=r.n(k),P=r("u9fO"),V=r.n(P),D=r("mO/d"),H=r.n(D),U=r("2fM7"),z=function(_e){return g.createElement(U.a,p()({size:"small"},_e))};z.Option=U.a.Option;var K=z,G=r("YMnH"),X=r("H84U"),Z=r("5OYt"),ee=function(xe,_e){var Ue={};for(var ye in xe)Object.prototype.hasOwnProperty.call(xe,ye)&&_e.indexOf(ye)<0&&(Ue[ye]=xe[ye]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,ye=Object.getOwnPropertySymbols(xe);Be<ye.length;Be++)_e.indexOf(ye[Be])<0&&Object.prototype.propertyIsEnumerable.call(xe,ye[Be])&&(Ue[ye[Be]]=xe[ye[Be]]);return Ue},Se=function(_e){var Ue=_e.prefixCls,ye=_e.selectPrefixCls,Be=_e.className,Q=_e.size,ie=_e.locale,Ve=ee(_e,["prefixCls","selectPrefixCls","className","size","locale"]),J=Object(Z.a)(),W=J.xs,j=g.useContext(X.b),Y=j.getPrefixCls,me=j.direction,ae=Y("pagination",Ue),Le=function(){var ge=g.createElement("span",{className:"".concat(ae,"-item-ellipsis")},"\u2022\u2022\u2022"),Ie=g.createElement("button",{className:"".concat(ae,"-item-link"),type:"button",tabIndex:-1},g.createElement(F.a,null)),Ge=g.createElement("button",{className:"".concat(ae,"-item-link"),type:"button",tabIndex:-1},g.createElement(M.a,null)),ut=g.createElement("a",{className:"".concat(ae,"-item-link")},g.createElement("div",{className:"".concat(ae,"-item-container")},g.createElement(V.a,{className:"".concat(ae,"-item-link-icon")}),ge)),wt=g.createElement("a",{className:"".concat(ae,"-item-link")},g.createElement("div",{className:"".concat(ae,"-item-container")},g.createElement(H.a,{className:"".concat(ae,"-item-link-icon")}),ge));if(me==="rtl"){var Pe=[Ge,Ie];Ie=Pe[0],Ge=Pe[1];var Dt=[wt,ut];ut=Dt[0],wt=Dt[1]}return{prevIcon:Ie,nextIcon:Ge,jumpPrevIcon:ut,jumpNextIcon:wt}},Ee=function(ge){var Ie=p()(p()({},ge),ie),Ge=Q==="small"||!!(W&&!Q&&Ve.responsive),ut=Y("select",ye),wt=e()(Be,m()({mini:Ge},"".concat(ae,"-rtl"),me==="rtl"));return g.createElement(E,p()({},Ve,{prefixCls:ae,selectPrefixCls:ut},Le(),{className:wt,selectComponentClass:Ge?K:U.a,locale:Ie}))};return g.createElement(G.a,{componentName:"Pagination",defaultLocale:I.a},Ee)},$=Se,pe=N.a=$},NohK:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=function(C){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,g=null;return function(){for(var h=this,c=arguments.length,o=new Array(c),n=0;n<c;n++)o[n]=arguments[n];clearTimeout(g),g=setTimeout(function(){C.apply(h,o)},p)}};N.default=y},Nu4q:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:function(C,p){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:C}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:p}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:p}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:p}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:C}}]}},name:"picture",theme:"twotone"};N.default=y},NvD2:function(B,N,r){"use strict";r.d(N,"a",function(){return h});var y=r("Kwbf");function m(c,o){var n=new Set;return c.forEach(function(t){o.has(t)||n.add(t)}),n}function C(c){var o=c||{},n=o.disabled,t=o.disableCheckbox,a=o.checkable;return!!(n||t)||a===!1}function p(c,o,n,t){for(var a=new Set(c),d=new Set,i=0;i<=n;i+=1){var l=o.get(i)||new Set;l.forEach(function(f){var A=f.key,v=f.node,x=f.children,b=x===void 0?[]:x;a.has(A)&&!t(v)&&b.filter(function(w){return!t(w.node)}).forEach(function(w){a.add(w.key)})})}for(var e=new Set,s=n;s>=0;s-=1){var u=o.get(s)||new Set;u.forEach(function(f){var A=f.parent,v=f.node;if(t(v)||!f.parent||e.has(f.parent.key))return;if(t(f.parent.node)){e.add(A.key);return}var x=!0,b=!1;(A.children||[]).filter(function(w){return!t(w.node)}).forEach(function(w){var _=w.key,T=a.has(_);x&&!T&&(x=!1),!b&&(T||d.has(_))&&(b=!0)}),x&&a.add(A.key),b&&d.add(A.key),e.add(A.key)})}return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(m(d,a))}}function g(c,o,n,t,a){for(var d=new Set(c),i=new Set(o),l=0;l<=t;l+=1){var e=n.get(l)||new Set;e.forEach(function(A){var v=A.key,x=A.node,b=A.children,w=b===void 0?[]:b;!d.has(v)&&!i.has(v)&&!a(x)&&w.filter(function(_){return!a(_.node)}).forEach(function(_){d.delete(_.key)})})}i=new Set;for(var s=new Set,u=t;u>=0;u-=1){var f=n.get(u)||new Set;f.forEach(function(A){var v=A.parent,x=A.node;if(a(x)||!A.parent||s.has(A.parent.key))return;if(a(A.parent.node)){s.add(v.key);return}var b=!0,w=!1;(v.children||[]).filter(function(_){return!a(_.node)}).forEach(function(_){var T=_.key,S=d.has(T);b&&!S&&(b=!1),!w&&(S||i.has(T))&&(w=!0)}),b||d.delete(v.key),w&&i.add(v.key),s.add(v.key)})}return{checkedKeys:Array.from(d),halfCheckedKeys:Array.from(m(i,d))}}function h(c,o,n,t){var a=[],d;t?d=t:d=C;var i=new Set(c.filter(function(u){var f=!!n[u];return f||a.push(u),f})),l=new Map,e=0;Object.keys(n).forEach(function(u){var f=n[u],A=f.level,v=l.get(A);v||(v=new Set,l.set(A,v)),v.add(f),e=Math.max(e,A)}),Object(y.a)(!a.length,"Tree missing follow keys: ".concat(a.slice(0,100).map(function(u){return"'".concat(u,"'")}).join(", ")));var s;return o===!0?s=p(i,l,e,d):s=g(i,o.halfCheckedKeys,l,e,d),s}},"O/iA":function(B,N,r){},O3gP:function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("O/iA"),p=r.n(C),g=r("OaEy")},OELB:function(B,N,r){var y=r("bYtY"),m=1e-4;function C(w){return w.replace(/^\s+|\s+$/g,"")}function p(w,_,T,S){var E=_[1]-_[0],I=T[1]-T[0];if(E===0)return I===0?T[0]:(T[0]+T[1])/2;if(S)if(E>0){if(w<=_[0])return T[0];if(w>=_[1])return T[1]}else{if(w>=_[0])return T[0];if(w<=_[1])return T[1]}else{if(w===_[0])return T[0];if(w===_[1])return T[1]}return(w-_[0])/E*I+T[0]}function g(w,_){switch(w){case"center":case"middle":w="50%";break;case"left":case"top":w="0%";break;case"right":case"bottom":w="100%";break}return typeof w=="string"?C(w).match(/%$/)?parseFloat(w)/100*_:parseFloat(w):w==null?NaN:+w}function h(w,_,T){return _==null&&(_=10),_=Math.min(Math.max(0,_),20),w=(+w).toFixed(_),T?w:+w}function c(w){return w.sort(function(_,T){return _-T}),w}function o(w){if(w=+w,isNaN(w))return 0;for(var _=1,T=0;Math.round(w*_)/_!==w;)_*=10,T++;return T}function n(w){var _=w.toString(),T=_.indexOf("e");if(T>0){var S=+_.slice(T+1);return S<0?-S:0}else{var E=_.indexOf(".");return E<0?0:_.length-1-E}}function t(w,_){var T=Math.log,S=Math.LN10,E=Math.floor(T(w[1]-w[0])/S),I=Math.round(T(Math.abs(_[1]-_[0]))/S),O=Math.min(Math.max(-E+I,0),20);return isFinite(O)?O:20}function a(w,_,T){if(!w[_])return 0;var S=y.reduce(w,function(U,z){return U+(isNaN(z)?0:z)},0);if(S===0)return 0;for(var E=Math.pow(10,T),I=y.map(w,function(U){return(isNaN(U)?0:U)/S*E*100}),O=E*100,F=y.map(I,function(U){return Math.floor(U)}),k=y.reduce(F,function(U,z){return U+z},0),M=y.map(I,function(U,z){return U-F[z]});k<O;){for(var P=Number.NEGATIVE_INFINITY,V=null,D=0,H=M.length;D<H;++D)M[D]>P&&(P=M[D],V=D);++F[V],M[V]=0,++k}return F[_]/E}var d=9007199254740991;function i(w){var _=Math.PI*2;return(w%_+_)%_}function l(w){return w>-m&&w<m}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 s(w){if(w instanceof Date)return w;if(typeof w=="string"){var _=e.exec(w);if(!_)return new Date(NaN);if(_[8]){var T=+_[4]||0;return _[8].toUpperCase()!=="Z"&&(T-=_[8].slice(0,3)),new Date(Date.UTC(+_[1],+(_[2]||1)-1,+_[3]||1,T,+(_[5]||0),+_[6]||0,+_[7]||0))}else return new Date(+_[1],+(_[2]||1)-1,+_[3]||1,+_[4]||0,+(_[5]||0),+_[6]||0,+_[7]||0)}else if(w==null)return new Date(NaN);return new Date(Math.round(w))}function u(w){return Math.pow(10,f(w))}function f(w){if(w===0)return 0;var _=Math.floor(Math.log(w)/Math.LN10);return w/Math.pow(10,_)>=10&&_++,_}function A(w,_){var T=f(w),S=Math.pow(10,T),E=w/S,I;return _?E<1.5?I=1:E<2.5?I=2:E<4?I=3:E<7?I=5:I=10:E<1?I=1:E<2?I=2:E<3?I=3:E<5?I=5:I=10,w=I*S,T>=-20?+w.toFixed(T<0?-T:0):w}function v(w,_){var T=(w.length-1)*_+1,S=Math.floor(T),E=+w[S-1],I=T-S;return I?E+I*(w[S]-E):E}function x(w){w.sort(function(k,M){return F(k,M,0)?-1:1});for(var _=-Infinity,T=1,S=0;S<w.length;){for(var E=w[S].interval,I=w[S].close,O=0;O<2;O++)E[O]<=_&&(E[O]=_,I[O]=O?1:1-T),_=E[O],T=I[O];E[0]===E[1]&&I[0]*I[1]!==1?w.splice(S,1):S++}return w;function F(k,M,P){return k.interval[P]<M.interval[P]||k.interval[P]===M.interval[P]&&(k.close[P]-M.close[P]===(P?-1:1)||!P&&F(k,M,1))}}function b(w){return w-parseFloat(w)>=0}N.linearMap=p,N.parsePercent=g,N.round=h,N.asc=c,N.getPrecision=o,N.getPrecisionSafe=n,N.getPixelPrecision=t,N.getPercentWithPrecision=a,N.MAX_SAFE_INTEGER=d,N.remRadian=i,N.isRadianAroundZero=l,N.parseDate=s,N.quantity=u,N.quantityExponent=f,N.nice=A,N.quantile=v,N.reformIntervals=x,N.isNumeric=b},OKJ2:function(B,N,r){var y=r("KxfA"),m=y.retrieveRawValue,C=r("7aKB"),p=C.getTooltipMarker,g=C.formatTpl,h=r("4NO4"),c=h.getTooltipRenderMode,o=/\{@(.+?)\}/g,n={getDataParams:function(t,a){var d=this.getData(a),i=this.getRawValue(t,a),l=d.getRawIndex(t),e=d.getName(t),s=d.getRawDataItem(t),u=d.getItemVisual(t,"color"),f=d.getItemVisual(t,"borderColor"),A=this.ecModel.getComponent("tooltip"),v=A&&A.get("renderMode"),x=c(v),b=this.mainType,w=b==="series",_=d.userOutput;return{componentType:b,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:w?this.subType:null,seriesIndex:this.seriesIndex,seriesId:w?this.id:null,seriesName:w?this.name:null,name:e,dataIndex:l,data:s,dataType:a,value:i,color:u,borderColor:f,dimensionNames:_?_.dimensionNames:null,encode:_?_.encode:null,marker:p({color:u,renderMode:x}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(t,a,d,i,l){a=a||"normal";var e=this.getData(d),s=e.getItemModel(t),u=this.getDataParams(t,d);i!=null&&u.value instanceof Array&&(u.value=u.value[i]);var f=s.get(a==="normal"?[l||"label","formatter"]:[a,l||"label","formatter"]);if(typeof f=="function")return u.status=a,u.dimensionIndex=i,f(u);if(typeof f=="string"){var A=g(f,u);return A.replace(o,function(v,x){var b=x.length;return x.charAt(0)==="["&&x.charAt(b-1)==="]"&&(x=+x.slice(1,b-1)),m(e,t,x)})}},getRawValue:function(t,a){return m(this.getData(a),t)},formatTooltip:function(){}};B.exports=n},OPEp:function(B,N,r){},OQFs:function(B,N,r){var y=r("KCsZ"),m=y([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),C={getLineStyle:function(p){var g=m(this,p);return g.lineDash=this.getLineDash(g.lineWidth),g},getLineDash:function(p){p==null&&(p=1);var g=this.get("type"),h=Math.max(p,2),c=p*4;return g==="solid"||g==null?!1:g==="dashed"?[c,c]:[h,h]}};B.exports=C},OS9S:function(B,N,r){var y=r("bYtY"),m=y.inherits,C=r("Gev7"),p=r("mFDi");function g(o){C.call(this,o),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}g.prototype.incremental=!0,g.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},g.prototype.addDisplayable=function(o,n){n?this._temporaryDisplayables.push(o):this._displayables.push(o),this.dirty()},g.prototype.addDisplayables=function(o,n){n=n||!1;for(var t=0;t<o.length;t++)this.addDisplayable(o[t],n)},g.prototype.eachPendingDisplayable=function(o){for(var n=this._cursor;n<this._displayables.length;n++)o&&o(this._displayables[n]);for(var n=0;n<this._temporaryDisplayables.length;n++)o&&o(this._temporaryDisplayables[n])},g.prototype.update=function(){this.updateTransform();for(var o=this._cursor;o<this._displayables.length;o++){var n=this._displayables[o];n.parent=this,n.update(),n.parent=null}for(var o=0;o<this._temporaryDisplayables.length;o++){var n=this._temporaryDisplayables[o];n.parent=this,n.update(),n.parent=null}},g.prototype.brush=function(o,n){for(var t=this._cursor;t<this._displayables.length;t++){var a=this._displayables[t];a.beforeBrush&&a.beforeBrush(o),a.brush(o,t===this._cursor?null:this._displayables[t-1]),a.afterBrush&&a.afterBrush(o)}this._cursor=t;for(var t=0;t<this._temporaryDisplayables.length;t++){var a=this._temporaryDisplayables[t];a.beforeBrush&&a.beforeBrush(o),a.brush(o,t===0?null:this._temporaryDisplayables[t-1]),a.afterBrush&&a.afterBrush(o)}this._temporaryDisplayables=[],this.notClear=!0};var h=[];g.prototype.getBoundingRect=function(){if(!this._rect){for(var o=new p(Infinity,Infinity,-Infinity,-Infinity),n=0;n<this._displayables.length;n++){var t=this._displayables[n],a=t.getBoundingRect().clone();t.needLocalTransform()&&a.applyTransform(t.getLocalTransform(h)),o.union(a)}this._rect=o}return this._rect},g.prototype.contain=function(o,n){var t=this.transformCoordToLocal(o,n),a=this.getBoundingRect();if(a.contain(t[0],t[1]))for(var d=0;d<this._displayables.length;d++){var i=this._displayables[d];if(i.contain(o,n))return!0}return!1},m(g,C);var c=g;B.exports=c},OUJF:function(B,N,r){var y=r("ProS"),m=r("bYtY");y.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(C,p){var g=p.getComponent("timeline");return g&&C.currentIndex!=null&&(g.setCurrentIndex(C.currentIndex),!g.get("loop",!0)&&g.isIndexMax()&&g.setPlayState(!1)),p.resetOption("timeline"),m.defaults({currentIndex:g.option.currentIndex},C)}),y.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(C,p){var g=p.getComponent("timeline");g&&C.playState!=null&&g.setPlayState(C.playState)})},OXB0:function(B,N,r){var y=r("T4UG"),m=r("MwEJ"),C=r("IDmD"),p=y.extend({type:"series.heatmap",getInitialData:function(g,h){return m(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var g=C.get(this.get("coordinateSystem"));if(g&&g.dimensions)return g.dimensions[0]==="lng"&&g.dimensions[1]==="lat"},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});B.exports=p},OZM5:function(B,N,r){"use strict";r.d(N,"b",function(){return t}),r.d(N,"a",function(){return a}),r.d(N,"k",function(){return d}),r.d(N,"h",function(){return i}),r.d(N,"i",function(){return l}),r.d(N,"g",function(){return e}),r.d(N,"c",function(){return s}),r.d(N,"d",function(){return u}),r.d(N,"j",function(){return v}),r.d(N,"e",function(){return x}),r.d(N,"f",function(){return b});var y=r("KQm4"),m=r("U8pU"),C=r("Ff2n"),p=r("q1tI"),g=r.n(p),h=r("Kwbf"),c=r("WaYH"),o=.25,n=2;function t(w,_){var T=w.slice(),S=T.indexOf(_);return S>=0&&T.splice(S,1),T}function a(w,_){var T=w.slice();return T.indexOf(_)===-1&&T.push(_),T}function d(w){return w.split("-")}function i(w,_){return"".concat(w,"-").concat(_)}function l(w){return w&&w.type&&w.type.isTreeNode}function e(w,_){var T=[w],S=_[w];function E(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];I.forEach(function(O){var F=O.key,k=O.children;T.push(F),E(k)})}return E(S.children),T}function s(w,_){var T=w.clientY,S=_.selectHandle.getBoundingClientRect(),E=S.top,I=S.bottom,O=S.height,F=Math.max(O*o,n);return T<=E+F?-1:T>=I-F?1:0}function u(w,_){if(!w)return;var T=_.multiple;return T?w.slice():w.length?[w[0]]:w}var f=function(_){return _};function A(w,_){if(!w)return[];var T=_||{},S=T.processProps,E=S===void 0?f:S,I=Array.isArray(w)?w:[w];return I.map(function(O){var F=O.children,k=Object(C.a)(O,["children"]),M=A(F,_);return g.a.createElement(c.a,Object.assign({},E(k)),M)})}function v(w){if(!w)return null;var _;if(Array.isArray(w))_={checkedKeys:w,halfCheckedKeys:void 0};else if(Object(m.a)(w)==="object")_={checkedKeys:w.checked||void 0,halfCheckedKeys:w.halfChecked||void 0};else return Object(h.a)(!1,"`checkedKeys` is not an array or an object"),null;return _}function x(w,_){var T=new Set;function S(E){if(T.has(E))return;var I=_[E];if(!I)return;T.add(E);var O=I.parent,F=I.node;if(F.disabled)return;O&&S(O.key)}return(w||[]).forEach(function(E){S(E)}),Object(y.a)(T)}function b(w){var _={};return Object.keys(w).forEach(function(T){(T.startsWith("data-")||T.startsWith("aria-"))&&(_[T]=w[T])}),_}},OaEy:function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("bKJz"),p=r.n(C),g=r("R9oj")},Ol7k:function(B,N,r){"use strict";var y=r("PKem"),m=r("ZX9x");y.b.Sider=m.b,N.a=y.b},OlYY:function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("ProS"),p=r("bYtY"),g=r("ItGF"),h=r("4NO4"),c=r("UOVi"),o=r("zDms"),n=p.each,t=c.eachAxisDim,a=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,s,u){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var f=d(e);this.settledOption=f,this.mergeDefaultAndTheme(e,u),this.doInit(f)},mergeOption:function(e){var s=d(e);p.merge(this.option,e,!0),p.merge(this.settledOption,s,!0),this.doInit(s)},doInit:function(e){var s=this.option;g.canvasSupported||(s.realtime=!1),this._setDefaultThrottle(e),i(this,e);var u=this.settledOption;n([["start","startValue"],["end","endValue"]],function(f,A){this._rangePropMode[A]==="value"&&(s[f[0]]=u[f[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var e=this._axisProxies;this.eachTargetAxis(function(s,u,f,A){var v=this.dependentModels[s.axis][u],x=v.__dzAxisProxy||(v.__dzAxisProxy=new o(s.name,u,this,A));e[s.name+"_"+u]=x},this)},_resetTarget:function(){var e=this.option,s=this._judgeAutoMode();t(function(u){var f=u.axisIndex;e[f]=h.normalizeToArray(e[f])},this),s==="axisIndex"?this._autoSetAxisIndex():s==="orient"&&this._autoSetOrient()},_judgeAutoMode:function(){var e=this.option,s=!1;t(function(f){e[f.axisIndex]!=null&&(s=!0)},this);var u=e.orient;if(u==null&&s)return"orient";if(!s)return u==null&&(e.orient="horizontal"),"axisIndex"},_autoSetAxisIndex:function(){var e=!0,s=this.get("orient",!0),u=this.option,f=this.dependentModels;if(e){var A=s==="vertical"?"y":"x";f[A+"Axis"].length?(u[A+"AxisIndex"]=[0],e=!1):n(f.singleAxis,function(v){e&&v.get("orient",!0)===s&&(u.singleAxisIndex=[v.componentIndex],e=!1)})}e&&t(function(v){if(!e)return;var x=[],b=this.dependentModels[v.axis];if(b.length&&!x.length)for(var w=0,_=b.length;w<_;w++)b[w].get("type")==="category"&&x.push(w);u[v.axisIndex]=x,x.length&&(e=!1)},this),e&&this.ecModel.eachSeries(function(v){this._isSeriesHasAllAxesTypeOf(v,"value")&&t(function(x){var b=u[x.axisIndex],w=v.get(x.axisIndex),_=v.get(x.axisId),T=v.ecModel.queryComponents({mainType:x.axis,index:w,id:_})[0];w=T.componentIndex,p.indexOf(b,w)<0&&b.push(w)})},this)},_autoSetOrient:function(){var e;this.eachTargetAxis(function(s){!e&&(e=s.name)},this),this.option.orient=e==="y"?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(e,s){var u=!0;return t(function(f){var A=e.get(f.axisIndex),v=this.dependentModels[f.axis][A];(!v||v.get("type")!==s)&&(u=!1)},this),u},_setDefaultThrottle:function(e){if(e.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var s=this.ecModel.option;this.option.throttle=s.animation&&s.animationDurationUpdate>0?100:20}},getFirstTargetAxisModel:function(){var e;return t(function(s){if(e==null){var u=this.get(s.axisIndex);u.length&&(e=this.dependentModels[s.axis][u[0]])}},this),e},eachTargetAxis:function(e,s){var u=this.ecModel;t(function(f){n(this.get(f.axisIndex),function(A){e.call(s,f,A,this,u)},this)},this)},getAxisProxy:function(e,s){return this._axisProxies[e+"_"+s]},getAxisModel:function(e,s){var u=this.getAxisProxy(e,s);return u&&u.getAxisModel()},setRawRange:function(e){var s=this.option,u=this.settledOption;n([["start","startValue"],["end","endValue"]],function(f){(e[f[0]]!=null||e[f[1]]!=null)&&(s[f[0]]=u[f[0]]=e[f[0]],s[f[1]]=u[f[1]]=e[f[1]])},this),i(this,e)},setCalculatedRange:function(e){var s=this.option;n(["start","startValue","end","endValue"],function(u){s[u]=e[u]})},getPercentRange:function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},getValueRange:function(e,s){if(e==null&&s==null){var u=this.findRepresentativeAxisProxy();if(u)return u.getDataValueWindow()}else return this.getAxisProxy(e,s).getDataValueWindow()},findRepresentativeAxisProxy:function(e){if(e)return e.__dzAxisProxy;var s=this._axisProxies;for(var u in s)if(s.hasOwnProperty(u)&&s[u].hostedBy(this))return s[u];for(var u in s)if(s.hasOwnProperty(u)&&!s[u].hostedBy(this))return s[u]},getRangePropMode:function(){return this._rangePropMode.slice()}});function d(e){var s={};return n(["start","end","startValue","endValue","throttle"],function(u){e.hasOwnProperty(u)&&(s[u]=e[u])}),s}function i(e,s){var u=e._rangePropMode,f=e.get("rangeMode");n([["start","startValue"],["end","endValue"]],function(A,v){var x=s[A[0]]!=null,b=s[A[1]]!=null;x&&!b?u[v]="percent":!x&&b?u[v]="value":f?u[v]=f[v]:x&&(u[v]="percent")})}var l=a;B.exports=l},OnYD:function(B,N,r){},"Oy/b":function(B,N,r){(function(m,C){B.exports=C()})(typeof self!="undefined"?self:this,function(){return function(y){var m={};function C(p){if(m[p])return m[p].exports;var g=m[p]={i:p,l:!1,exports:{}};return y[p].call(g.exports,g,g.exports,C),g.l=!0,g.exports}return C.m=y,C.c=m,C.d=function(p,g,h){C.o(p,g)||Object.defineProperty(p,g,{enumerable:!0,get:h})},C.r=function(p){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(p,"__esModule",{value:!0})},C.t=function(p,g){if(g&1&&(p=C(p)),g&8)return p;if(g&4&&typeof p=="object"&&p&&p.__esModule)return p;var h=Object.create(null);if(C.r(h),Object.defineProperty(h,"default",{enumerable:!0,value:p}),g&2&&typeof p!="string")for(var c in p)C.d(h,c,function(o){return p[o]}.bind(null,c));return h},C.n=function(p){var g=p&&p.__esModule?function(){return p.default}:function(){return p};return C.d(g,"a",g),g},C.o=function(p,g){return Object.prototype.hasOwnProperty.call(p,g)},C.p="",C(C.s=1)}([function(y,m,C){},function(y,m,C){"use strict";C.r(m);var p=C(0),g=function(){function Vt(de,Te,Oe){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=de,this.start=Te,this.end=Oe}return Vt.range=function(Te,Oe){return Oe?!Te||!Te.loc||!Oe.loc||Te.loc.lexer!==Oe.loc.lexer?null:new Vt(Te.loc.lexer,Te.loc.start,Oe.loc.end):Te&&Te.loc},Vt}(),h=function(){function Vt(Te,Oe){this.text=void 0,this.loc=void 0,this.text=Te,this.loc=Oe}var de=Vt.prototype;return de.range=function(Oe,ze){return new Vt(ze,g.range(this,Oe))},Vt}(),c=function Vt(de,Te){this.position=void 0;var Oe="KaTeX parse error: "+de,ze,yt=Te&&Te.loc;if(yt&&yt.start<=yt.end){var Kt=yt.lexer.input;ze=yt.start;var gr=yt.end;ze===Kt.length?Oe+=" at end of input: ":Oe+=" at position "+(ze+1)+": ";var xr=Kt.slice(ze,gr).replace(/[^]/g,"$&\u0332"),Pr;ze>15?Pr="\u2026"+Kt.slice(ze-15,ze):Pr=Kt.slice(0,ze);var dn;gr+15<Kt.length?dn=Kt.slice(gr,gr+15)+"\u2026":dn=Kt.slice(gr),Oe+=Pr+xr+dn}var bn=new Error(Oe);return bn.name="ParseError",bn.__proto__=Vt.prototype,bn.position=ze,bn};c.prototype.__proto__=Error.prototype;var o=c,n=function(de,Te){return de.indexOf(Te)!==-1},t=function(de,Te){return de===void 0?Te:de},a=/([A-Z])/g,d=function(de){return de.replace(a,"-$1").toLowerCase()},i={"&":"&",">":">","<":"<",'"':""","'":"'"},l=/[&><"']/g;function e(Vt){return String(Vt).replace(l,function(de){return i[de]})}var s=function Vt(de){return de.type==="ordgroup"||de.type==="color"?de.body.length===1?Vt(de.body[0]):de:de.type==="font"?Vt(de.body):de},u=function(de){var Te=s(de);return Te.type==="mathord"||Te.type==="textord"||Te.type==="atom"},f=function(de){if(!de)throw new Error("Expected non-null, but got "+String(de));return de},A=function(de){var Te=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(de);return Te!=null?Te[1]:"_relative"},v={contains:n,deflt:t,escape:e,hyphenate:d,getBaseElem:s,isCharacterBox:u,protocolFromUrl:A},x=function(){function Vt(Te){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,Te=Te||{},this.displayMode=v.deflt(Te.displayMode,!1),this.output=v.deflt(Te.output,"htmlAndMathml"),this.leqno=v.deflt(Te.leqno,!1),this.fleqn=v.deflt(Te.fleqn,!1),this.throwOnError=v.deflt(Te.throwOnError,!0),this.errorColor=v.deflt(Te.errorColor,"#cc0000"),this.macros=Te.macros||{},this.minRuleThickness=Math.max(0,v.deflt(Te.minRuleThickness,0)),this.colorIsTextColor=v.deflt(Te.colorIsTextColor,!1),this.strict=v.deflt(Te.strict,"warn"),this.trust=v.deflt(Te.trust,!1),this.maxSize=Math.max(0,v.deflt(Te.maxSize,Infinity)),this.maxExpand=Math.max(0,v.deflt(Te.maxExpand,1e3))}var de=Vt.prototype;return de.reportNonstrict=function(Oe,ze,yt){var Kt=this.strict;if(typeof Kt=="function"&&(Kt=Kt(Oe,ze,yt)),!Kt||Kt==="ignore")return;if(Kt===!0||Kt==="error")throw new o("LaTeX-incompatible input and strict mode is set to 'error': "+(ze+" ["+Oe+"]"),yt);Kt==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(ze+" ["+Oe+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Kt+"': "+ze+" ["+Oe+"]"))},de.useStrictBehavior=function(Oe,ze,yt){var Kt=this.strict;if(typeof Kt=="function")try{Kt=Kt(Oe,ze,yt)}catch(gr){Kt="error"}return!Kt||Kt==="ignore"?!1:Kt===!0||Kt==="error"?!0:Kt==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(ze+" ["+Oe+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Kt+"': "+ze+" ["+Oe+"]")),!1)},de.isTrusted=function(Oe){Oe.url&&!Oe.protocol&&(Oe.protocol=v.protocolFromUrl(Oe.url));var ze=typeof this.trust=="function"?this.trust(Oe):this.trust;return Boolean(ze)},Vt}(),b=function(){function Vt(Te,Oe,ze){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=Te,this.size=Oe,this.cramped=ze}var de=Vt.prototype;return de.sup=function(){return k[M[this.id]]},de.sub=function(){return k[P[this.id]]},de.fracNum=function(){return k[V[this.id]]},de.fracDen=function(){return k[D[this.id]]},de.cramp=function(){return k[H[this.id]]},de.text=function(){return k[U[this.id]]},de.isTight=function(){return this.size>=2},Vt}(),w=0,_=1,T=2,S=3,E=4,I=5,O=6,F=7,k=[new b(w,0,!1),new b(_,0,!0),new b(T,1,!1),new b(S,1,!0),new b(E,2,!1),new b(I,2,!0),new b(O,3,!1),new b(F,3,!0)],M=[E,I,E,I,O,F,O,F],P=[I,I,I,I,F,F,F,F],V=[T,S,E,I,O,F,O,F],D=[S,S,I,I,F,F,F,F],H=[_,_,S,S,I,I,F,F],U=[w,_,T,S,T,S,T,S],z={DISPLAY:k[w],TEXT:k[T],SCRIPT:k[E],SCRIPTSCRIPT:k[O]},K=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function G(Vt){for(var de=0;de<K.length;de++)for(var Te=K[de],Oe=0;Oe<Te.blocks.length;Oe++){var ze=Te.blocks[Oe];if(Vt>=ze[0]&&Vt<=ze[1])return Te.name}return null}var X=[];K.forEach(function(Vt){return Vt.blocks.forEach(function(de){return X.push.apply(X,de)})});function Z(Vt){for(var de=0;de<X.length;de+=2)if(Vt>=X[de]&&Vt<=X[de+1])return!0;return!1}var ee=80,Se=function(de,Te){return"M95,"+(622+de+Te)+`
|
|
|
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`+de/2.075+" -"+de+`
|
|
|
c5.3,-9.3,12,-14,20,-14
|
|
|
H400000v`+(40+de)+`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+de)+" "+Te+"h400000v"+(40+de)+"h-400000z"},$=function(de,Te){return"M263,"+(601+de+Te)+`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`+de/2.084+" -"+de+`
|
|
|
c4.7,-7.3,11,-11,19,-11
|
|
|
H40000v`+(40+de)+`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+de)+" "+Te+"h400000v"+(40+de)+"h-400000z"},pe=function(de,Te){return"M983 "+(10+de+Te)+`
|
|
|
l`+de/3.13+" -"+de+`
|
|
|
c4,-6.7,10,-10,18,-10 H400000v`+(40+de)+`
|
|
|
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+de)+" "+Te+"h400000v"+(40+de)+"h-400000z"},xe=function(de,Te){return"M424,"+(2398+de+Te)+`
|
|
|
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`+de/4.223+" -"+de+`c4,-6.7,10,-10,18,-10 H400000
|
|
|
v`+(40+de)+`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+de)+" "+Te+`
|
|
|
h400000v`+(40+de)+"h-400000z"},_e=function(de,Te){return"M473,"+(2713+de+Te)+`
|
|
|
c339.3,-1799.3,509.3,-2700,510,-2702 l`+de/5.298+" -"+de+`
|
|
|
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+de)+`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+de)+" "+Te+"h400000v"+(40+de)+"H1017.7z"},Ue=function(de,Te,Oe){var ze=Oe-54-Te-de;return"M702 "+(de+Te)+"H400000"+(40+de)+`
|
|
|
H742v`+ze+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
|
|
|
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
|
|
|
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
|
|
|
219 661 l218 661zM702 `+Te+"H400000v"+(40+de)+"H742z"},ye=function(de,Te,Oe){Te=1e3*Te;var ze="";switch(de){case"sqrtMain":ze=Se(Te,ee);break;case"sqrtSize1":ze=$(Te,ee);break;case"sqrtSize2":ze=pe(Te,ee);break;case"sqrtSize3":ze=xe(Te,ee);break;case"sqrtSize4":ze=_e(Te,ee);break;case"sqrtTall":ze=Ue(Te,ee,Oe)}return ze},Be={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`},Q=function(){function Vt(Te){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=Te,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var de=Vt.prototype;return de.hasClass=function(Oe){return v.contains(this.classes,Oe)},de.toNode=function(){for(var Oe=document.createDocumentFragment(),ze=0;ze<this.children.length;ze++)Oe.appendChild(this.children[ze].toNode());return Oe},de.toMarkup=function(){for(var Oe="",ze=0;ze<this.children.length;ze++)Oe+=this.children[ze].toMarkup();return Oe},de.toText=function(){var Oe=function(yt){return yt.toText()};return this.children.map(Oe).join("")},Vt}(),ie=function(de){return de.filter(function(Te){return Te}).join(" ")},Ve=function(de,Te,Oe){if(this.classes=de||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=Oe||{},Te){Te.style.isTight()&&this.classes.push("mtight");var ze=Te.getColor();ze&&(this.style.color=ze)}},J=function(de){var Te=document.createElement(de);Te.className=ie(this.classes);for(var Oe in this.style)this.style.hasOwnProperty(Oe)&&(Te.style[Oe]=this.style[Oe]);for(var ze in this.attributes)this.attributes.hasOwnProperty(ze)&&Te.setAttribute(ze,this.attributes[ze]);for(var yt=0;yt<this.children.length;yt++)Te.appendChild(this.children[yt].toNode());return Te},W=function(de){var Te="<"+de;this.classes.length&&(Te+=' class="'+v.escape(ie(this.classes))+'"');var Oe="";for(var ze in this.style)this.style.hasOwnProperty(ze)&&(Oe+=v.hyphenate(ze)+":"+this.style[ze]+";");Oe&&(Te+=' style="'+v.escape(Oe)+'"');for(var yt in this.attributes)this.attributes.hasOwnProperty(yt)&&(Te+=" "+yt+'="'+v.escape(this.attributes[yt])+'"');Te+=">";for(var Kt=0;Kt<this.children.length;Kt++)Te+=this.children[Kt].toMarkup();return Te+="</"+de+">",Te},j=function(){function Vt(Te,Oe,ze,yt){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,Ve.call(this,Te,ze,yt),this.children=Oe||[]}var de=Vt.prototype;return de.setAttribute=function(Oe,ze){this.attributes[Oe]=ze},de.hasClass=function(Oe){return v.contains(this.classes,Oe)},de.toNode=function(){return J.call(this,"span")},de.toMarkup=function(){return W.call(this,"span")},Vt}(),Y=function(){function Vt(Te,Oe,ze,yt){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,Ve.call(this,Oe,yt),this.children=ze||[],this.setAttribute("href",Te)}var de=Vt.prototype;return de.setAttribute=function(Oe,ze){this.attributes[Oe]=ze},de.hasClass=function(Oe){return v.contains(this.classes,Oe)},de.toNode=function(){return J.call(this,"a")},de.toMarkup=function(){return W.call(this,"a")},Vt}(),me=function(){function Vt(Te,Oe,ze){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=Oe,this.src=Te,this.classes=["mord"],this.style=ze}var de=Vt.prototype;return de.hasClass=function(Oe){return v.contains(this.classes,Oe)},de.toNode=function(){var Oe=document.createElement("img");Oe.src=this.src,Oe.alt=this.alt,Oe.className="mord";for(var ze in this.style)this.style.hasOwnProperty(ze)&&(Oe.style[ze]=this.style[ze]);return Oe},de.toMarkup=function(){var Oe="<img src='"+this.src+" 'alt='"+this.alt+"' ",ze="";for(var yt in this.style)this.style.hasOwnProperty(yt)&&(ze+=v.hyphenate(yt)+":"+this.style[yt]+";");return ze&&(Oe+=' style="'+v.escape(ze)+'"'),Oe+="'/>",Oe},Vt}(),ae={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Le=function(){function Vt(Te,Oe,ze,yt,Kt,gr,xr,Pr){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=Te,this.height=Oe||0,this.depth=ze||0,this.italic=yt||0,this.skew=Kt||0,this.width=gr||0,this.classes=xr||[],this.style=Pr||{},this.maxFontSize=0;var dn=G(this.text.charCodeAt(0));dn&&this.classes.push(dn+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=ae[this.text])}var de=Vt.prototype;return de.hasClass=function(Oe){return v.contains(this.classes,Oe)},de.toNode=function(){var Oe=document.createTextNode(this.text),ze=null;this.italic>0&&(ze=document.createElement("span"),ze.style.marginRight=this.italic+"em"),this.classes.length>0&&(ze=ze||document.createElement("span"),ze.className=ie(this.classes));for(var yt in this.style)this.style.hasOwnProperty(yt)&&(ze=ze||document.createElement("span"),ze.style[yt]=this.style[yt]);return ze?(ze.appendChild(Oe),ze):Oe},de.toMarkup=function(){var Oe=!1,ze="<span";this.classes.length&&(Oe=!0,ze+=' class="',ze+=v.escape(ie(this.classes)),ze+='"');var yt="";this.italic>0&&(yt+="margin-right:"+this.italic+"em;");for(var Kt in this.style)this.style.hasOwnProperty(Kt)&&(yt+=v.hyphenate(Kt)+":"+this.style[Kt]+";");yt&&(Oe=!0,ze+=' style="'+v.escape(yt)+'"');var gr=v.escape(this.text);return Oe?(ze+=">",ze+=gr,ze+="</span>",ze):gr},Vt}(),Ee=function(){function Vt(Te,Oe){this.children=void 0,this.attributes=void 0,this.children=Te||[],this.attributes=Oe||{}}var de=Vt.prototype;return de.toNode=function(){var Oe="http://www.w3.org/2000/svg",ze=document.createElementNS(Oe,"svg");for(var yt in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,yt)&&ze.setAttribute(yt,this.attributes[yt]);for(var Kt=0;Kt<this.children.length;Kt++)ze.appendChild(this.children[Kt].toNode());return ze},de.toMarkup=function(){var Oe="<svg";for(var ze in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,ze)&&(Oe+=" "+ze+"='"+this.attributes[ze]+"'");Oe+=">";for(var yt=0;yt<this.children.length;yt++)Oe+=this.children[yt].toMarkup();return Oe+="</svg>",Oe},Vt}(),ne=function(){function Vt(Te,Oe){this.pathName=void 0,this.alternate=void 0,this.pathName=Te,this.alternate=Oe}var de=Vt.prototype;return de.toNode=function(){var Oe="http://www.w3.org/2000/svg",ze=document.createElementNS(Oe,"path");return this.alternate?ze.setAttribute("d",this.alternate):ze.setAttribute("d",Be[this.pathName]),ze},de.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+Be[this.pathName]+"'/>"},Vt}(),ge=function(){function Vt(Te){this.attributes=void 0,this.attributes=Te||{}}var de=Vt.prototype;return de.toNode=function(){var Oe="http://www.w3.org/2000/svg",ze=document.createElementNS(Oe,"line");for(var yt in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,yt)&&ze.setAttribute(yt,this.attributes[yt]);return ze},de.toMarkup=function(){var Oe="<line";for(var ze in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,ze)&&(Oe+=" "+ze+"='"+this.attributes[ze]+"'");return Oe+="/>",Oe},Vt}();function Ie(Vt){if(Vt instanceof Le)return Vt;throw new Error("Expected symbolNode but got "+String(Vt)+".")}function Ge(Vt){if(Vt instanceof j)return Vt;throw new Error("Expected span<HtmlDomNode> but got "+String(Vt)+".")}var ut={"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]}},wt={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]},Pe={\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 Dt(Vt,de){ut[Vt]=de}function et(Vt,de,Te){if(!ut[de])throw new Error("Font metrics not found for font: "+de+".");var Oe=Vt.charCodeAt(0),ze=ut[de][Oe];if(!ze&&Vt[0]in Pe&&(Oe=Pe[Vt[0]].charCodeAt(0),ze=ut[de][Oe]),!ze&&Te==="text"&&(Z(Oe)&&(ze=ut[de][77])),ze)return{depth:ze[0],height:ze[1],italic:ze[2],skew:ze[3],width:ze[4]}}var _t={};function Nt(Vt){var de;if(Vt>=5?de=0:Vt>=3?de=1:de=2,!_t[de]){var Te=_t[de]={cssEmPerMu:wt.quad[de]/18};for(var Oe in wt)wt.hasOwnProperty(Oe)&&(Te[Oe]=wt[Oe][de])}return _t[de]}var Bt={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Ft={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Gt={math:{},text:{}},qe=Gt;function we(Vt,de,Te,Oe,ze,yt){Gt[Vt][ze]={font:de,group:Te,replace:Oe},yt&&Oe&&(Gt[Vt][Oe]=Gt[Vt][ze])}var ue="math",vt="text",at="main",Ae="ams",Xt="accent-token",Ot="bin",rt="close",Et="inner",Zt="mathord",vr="op-token",mt="open",ce="punct",le="rel",oe="spacing",fe="textord";we(ue,at,le,"\u2261","\\equiv",!0),we(ue,at,le,"\u227A","\\prec",!0),we(ue,at,le,"\u227B","\\succ",!0),we(ue,at,le,"\u223C","\\sim",!0),we(ue,at,le,"\u22A5","\\perp"),we(ue,at,le,"\u2AAF","\\preceq",!0),we(ue,at,le,"\u2AB0","\\succeq",!0),we(ue,at,le,"\u2243","\\simeq",!0),we(ue,at,le,"\u2223","\\mid",!0),we(ue,at,le,"\u226A","\\ll",!0),we(ue,at,le,"\u226B","\\gg",!0),we(ue,at,le,"\u224D","\\asymp",!0),we(ue,at,le,"\u2225","\\parallel"),we(ue,at,le,"\u22C8","\\bowtie",!0),we(ue,at,le,"\u2323","\\smile",!0),we(ue,at,le,"\u2291","\\sqsubseteq",!0),we(ue,at,le,"\u2292","\\sqsupseteq",!0),we(ue,at,le,"\u2250","\\doteq",!0),we(ue,at,le,"\u2322","\\frown",!0),we(ue,at,le,"\u220B","\\ni",!0),we(ue,at,le,"\u221D","\\propto",!0),we(ue,at,le,"\u22A2","\\vdash",!0),we(ue,at,le,"\u22A3","\\dashv",!0),we(ue,at,le,"\u220B","\\owns"),we(ue,at,ce,".","\\ldotp"),we(ue,at,ce,"\u22C5","\\cdotp"),we(ue,at,fe,"#","\\#"),we(vt,at,fe,"#","\\#"),we(ue,at,fe,"&","\\&"),we(vt,at,fe,"&","\\&"),we(ue,at,fe,"\u2135","\\aleph",!0),we(ue,at,fe,"\u2200","\\forall",!0),we(ue,at,fe,"\u210F","\\hbar",!0),we(ue,at,fe,"\u2203","\\exists",!0),we(ue,at,fe,"\u2207","\\nabla",!0),we(ue,at,fe,"\u266D","\\flat",!0),we(ue,at,fe,"\u2113","\\ell",!0),we(ue,at,fe,"\u266E","\\natural",!0),we(ue,at,fe,"\u2663","\\clubsuit",!0),we(ue,at,fe,"\u2118","\\wp",!0),we(ue,at,fe,"\u266F","\\sharp",!0),we(ue,at,fe,"\u2662","\\diamondsuit",!0),we(ue,at,fe,"\u211C","\\Re",!0),we(ue,at,fe,"\u2661","\\heartsuit",!0),we(ue,at,fe,"\u2111","\\Im",!0),we(ue,at,fe,"\u2660","\\spadesuit",!0),we(vt,at,fe,"\xA7","\\S",!0),we(vt,at,fe,"\xB6","\\P",!0),we(ue,at,fe,"\u2020","\\dag"),we(vt,at,fe,"\u2020","\\dag"),we(vt,at,fe,"\u2020","\\textdagger"),we(ue,at,fe,"\u2021","\\ddag"),we(vt,at,fe,"\u2021","\\ddag"),we(vt,at,fe,"\u2021","\\textdaggerdbl"),we(ue,at,rt,"\u23B1","\\rmoustache",!0),we(ue,at,mt,"\u23B0","\\lmoustache",!0),we(ue,at,rt,"\u27EF","\\rgroup",!0),we(ue,at,mt,"\u27EE","\\lgroup",!0),we(ue,at,Ot,"\u2213","\\mp",!0),we(ue,at,Ot,"\u2296","\\ominus",!0),we(ue,at,Ot,"\u228E","\\uplus",!0),we(ue,at,Ot,"\u2293","\\sqcap",!0),we(ue,at,Ot,"\u2217","\\ast"),we(ue,at,Ot,"\u2294","\\sqcup",!0),we(ue,at,Ot,"\u25EF","\\bigcirc"),we(ue,at,Ot,"\u2219","\\bullet"),we(ue,at,Ot,"\u2021","\\ddagger"),we(ue,at,Ot,"\u2240","\\wr",!0),we(ue,at,Ot,"\u2A3F","\\amalg"),we(ue,at,Ot,"&","\\And"),we(ue,at,le,"\u27F5","\\longleftarrow",!0),we(ue,at,le,"\u21D0","\\Leftarrow",!0),we(ue,at,le,"\u27F8","\\Longleftarrow",!0),we(ue,at,le,"\u27F6","\\longrightarrow",!0),we(ue,at,le,"\u21D2","\\Rightarrow",!0),we(ue,at,le,"\u27F9","\\Longrightarrow",!0),we(ue,at,le,"\u2194","\\leftrightarrow",!0),we(ue,at,le,"\u27F7","\\longleftrightarrow",!0),we(ue,at,le,"\u21D4","\\Leftrightarrow",!0),we(ue,at,le,"\u27FA","\\Longleftrightarrow",!0),we(ue,at,le,"\u21A6","\\mapsto",!0),we(ue,at,le,"\u27FC","\\longmapsto",!0),we(ue,at,le,"\u2197","\\nearrow",!0),we(ue,at,le,"\u21A9","\\hookleftarrow",!0),we(ue,at,le,"\u21AA","\\hookrightarrow",!0),we(ue,at,le,"\u2198","\\searrow",!0),we(ue,at,le,"\u21BC","\\leftharpoonup",!0),we(ue,at,le,"\u21C0","\\rightharpoonup",!0),we(ue,at,le,"\u2199","\\swarrow",!0),we(ue,at,le,"\u21BD","\\leftharpoondown",!0),we(ue,at,le,"\u21C1","\\rightharpoondown",!0),we(ue,at,le,"\u2196","\\nwarrow",!0),we(ue,at,le,"\u21CC","\\rightleftharpoons",!0),we(ue,Ae,le,"\u226E","\\nless",!0),we(ue,Ae,le,"\uE010","\\@nleqslant"),we(ue,Ae,le,"\uE011","\\@nleqq"),we(ue,Ae,le,"\u2A87","\\lneq",!0),we(ue,Ae,le,"\u2268","\\lneqq",!0),we(ue,Ae,le,"\uE00C","\\@lvertneqq"),we(ue,Ae,le,"\u22E6","\\lnsim",!0),we(ue,Ae,le,"\u2A89","\\lnapprox",!0),we(ue,Ae,le,"\u2280","\\nprec",!0),we(ue,Ae,le,"\u22E0","\\npreceq",!0),we(ue,Ae,le,"\u22E8","\\precnsim",!0),we(ue,Ae,le,"\u2AB9","\\precnapprox",!0),we(ue,Ae,le,"\u2241","\\nsim",!0),we(ue,Ae,le,"\uE006","\\@nshortmid"),we(ue,Ae,le,"\u2224","\\nmid",!0),we(ue,Ae,le,"\u22AC","\\nvdash",!0),we(ue,Ae,le,"\u22AD","\\nvDash",!0),we(ue,Ae,le,"\u22EA","\\ntriangleleft"),we(ue,Ae,le,"\u22EC","\\ntrianglelefteq",!0),we(ue,Ae,le,"\u228A","\\subsetneq",!0),we(ue,Ae,le,"\uE01A","\\@varsubsetneq"),we(ue,Ae,le,"\u2ACB","\\subsetneqq",!0),we(ue,Ae,le,"\uE017","\\@varsubsetneqq"),we(ue,Ae,le,"\u226F","\\ngtr",!0),we(ue,Ae,le,"\uE00F","\\@ngeqslant"),we(ue,Ae,le,"\uE00E","\\@ngeqq"),we(ue,Ae,le,"\u2A88","\\gneq",!0),we(ue,Ae,le,"\u2269","\\gneqq",!0),we(ue,Ae,le,"\uE00D","\\@gvertneqq"),we(ue,Ae,le,"\u22E7","\\gnsim",!0),we(ue,Ae,le,"\u2A8A","\\gnapprox",!0),we(ue,Ae,le,"\u2281","\\nsucc",!0),we(ue,Ae,le,"\u22E1","\\nsucceq",!0),we(ue,Ae,le,"\u22E9","\\succnsim",!0),we(ue,Ae,le,"\u2ABA","\\succnapprox",!0),we(ue,Ae,le,"\u2246","\\ncong",!0),we(ue,Ae,le,"\uE007","\\@nshortparallel"),we(ue,Ae,le,"\u2226","\\nparallel",!0),we(ue,Ae,le,"\u22AF","\\nVDash",!0),we(ue,Ae,le,"\u22EB","\\ntriangleright"),we(ue,Ae,le,"\u22ED","\\ntrianglerighteq",!0),we(ue,Ae,le,"\uE018","\\@nsupseteqq"),we(ue,Ae,le,"\u228B","\\supsetneq",!0),we(ue,Ae,le,"\uE01B","\\@varsupsetneq"),we(ue,Ae,le,"\u2ACC","\\supsetneqq",!0),we(ue,Ae,le,"\uE019","\\@varsupsetneqq"),we(ue,Ae,le,"\u22AE","\\nVdash",!0),we(ue,Ae,le,"\u2AB5","\\precneqq",!0),we(ue,Ae,le,"\u2AB6","\\succneqq",!0),we(ue,Ae,le,"\uE016","\\@nsubseteqq"),we(ue,Ae,Ot,"\u22B4","\\unlhd"),we(ue,Ae,Ot,"\u22B5","\\unrhd"),we(ue,Ae,le,"\u219A","\\nleftarrow",!0),we(ue,Ae,le,"\u219B","\\nrightarrow",!0),we(ue,Ae,le,"\u21CD","\\nLeftarrow",!0),we(ue,Ae,le,"\u21CF","\\nRightarrow",!0),we(ue,Ae,le,"\u21AE","\\nleftrightarrow",!0),we(ue,Ae,le,"\u21CE","\\nLeftrightarrow",!0),we(ue,Ae,le,"\u25B3","\\vartriangle"),we(ue,Ae,fe,"\u210F","\\hslash"),we(ue,Ae,fe,"\u25BD","\\triangledown"),we(ue,Ae,fe,"\u25CA","\\lozenge"),we(ue,Ae,fe,"\u24C8","\\circledS"),we(ue,Ae,fe,"\xAE","\\circledR"),we(vt,Ae,fe,"\xAE","\\circledR"),we(ue,Ae,fe,"\u2221","\\measuredangle",!0),we(ue,Ae,fe,"\u2204","\\nexists"),we(ue,Ae,fe,"\u2127","\\mho"),we(ue,Ae,fe,"\u2132","\\Finv",!0),we(ue,Ae,fe,"\u2141","\\Game",!0),we(ue,Ae,fe,"\u2035","\\backprime"),we(ue,Ae,fe,"\u25B2","\\blacktriangle"),we(ue,Ae,fe,"\u25BC","\\blacktriangledown"),we(ue,Ae,fe,"\u25A0","\\blacksquare"),we(ue,Ae,fe,"\u29EB","\\blacklozenge"),we(ue,Ae,fe,"\u2605","\\bigstar"),we(ue,Ae,fe,"\u2222","\\sphericalangle",!0),we(ue,Ae,fe,"\u2201","\\complement",!0),we(ue,Ae,fe,"\xF0","\\eth",!0),we(ue,Ae,fe,"\u2571","\\diagup"),we(ue,Ae,fe,"\u2572","\\diagdown"),we(ue,Ae,fe,"\u25A1","\\square"),we(ue,Ae,fe,"\u25A1","\\Box"),we(ue,Ae,fe,"\u25CA","\\Diamond"),we(ue,Ae,fe,"\xA5","\\yen",!0),we(vt,Ae,fe,"\xA5","\\yen",!0),we(ue,Ae,fe,"\u2713","\\checkmark",!0),we(vt,Ae,fe,"\u2713","\\checkmark"),we(ue,Ae,fe,"\u2136","\\beth",!0),we(ue,Ae,fe,"\u2138","\\daleth",!0),we(ue,Ae,fe,"\u2137","\\gimel",!0),we(ue,Ae,fe,"\u03DD","\\digamma",!0),we(ue,Ae,fe,"\u03F0","\\varkappa"),we(ue,Ae,mt,"\u250C","\\ulcorner",!0),we(ue,Ae,rt,"\u2510","\\urcorner",!0),we(ue,Ae,mt,"\u2514","\\llcorner",!0),we(ue,Ae,rt,"\u2518","\\lrcorner",!0),we(ue,Ae,le,"\u2266","\\leqq",!0),we(ue,Ae,le,"\u2A7D","\\leqslant",!0),we(ue,Ae,le,"\u2A95","\\eqslantless",!0),we(ue,Ae,le,"\u2272","\\lesssim",!0),we(ue,Ae,le,"\u2A85","\\lessapprox",!0),we(ue,Ae,le,"\u224A","\\approxeq",!0),we(ue,Ae,Ot,"\u22D6","\\lessdot"),we(ue,Ae,le,"\u22D8","\\lll",!0),we(ue,Ae,le,"\u2276","\\lessgtr",!0),we(ue,Ae,le,"\u22DA","\\lesseqgtr",!0),we(ue,Ae,le,"\u2A8B","\\lesseqqgtr",!0),we(ue,Ae,le,"\u2251","\\doteqdot"),we(ue,Ae,le,"\u2253","\\risingdotseq",!0),we(ue,Ae,le,"\u2252","\\fallingdotseq",!0),we(ue,Ae,le,"\u223D","\\backsim",!0),we(ue,Ae,le,"\u22CD","\\backsimeq",!0),we(ue,Ae,le,"\u2AC5","\\subseteqq",!0),we(ue,Ae,le,"\u22D0","\\Subset",!0),we(ue,Ae,le,"\u228F","\\sqsubset",!0),we(ue,Ae,le,"\u227C","\\preccurlyeq",!0),we(ue,Ae,le,"\u22DE","\\curlyeqprec",!0),we(ue,Ae,le,"\u227E","\\precsim",!0),we(ue,Ae,le,"\u2AB7","\\precapprox",!0),we(ue,Ae,le,"\u22B2","\\vartriangleleft"),we(ue,Ae,le,"\u22B4","\\trianglelefteq"),we(ue,Ae,le,"\u22A8","\\vDash",!0),we(ue,Ae,le,"\u22AA","\\Vvdash",!0),we(ue,Ae,le,"\u2323","\\smallsmile"),we(ue,Ae,le,"\u2322","\\smallfrown"),we(ue,Ae,le,"\u224F","\\bumpeq",!0),we(ue,Ae,le,"\u224E","\\Bumpeq",!0),we(ue,Ae,le,"\u2267","\\geqq",!0),we(ue,Ae,le,"\u2A7E","\\geqslant",!0),we(ue,Ae,le,"\u2A96","\\eqslantgtr",!0),we(ue,Ae,le,"\u2273","\\gtrsim",!0),we(ue,Ae,le,"\u2A86","\\gtrapprox",!0),we(ue,Ae,Ot,"\u22D7","\\gtrdot"),we(ue,Ae,le,"\u22D9","\\ggg",!0),we(ue,Ae,le,"\u2277","\\gtrless",!0),we(ue,Ae,le,"\u22DB","\\gtreqless",!0),we(ue,Ae,le,"\u2A8C","\\gtreqqless",!0),we(ue,Ae,le,"\u2256","\\eqcirc",!0),we(ue,Ae,le,"\u2257","\\circeq",!0),we(ue,Ae,le,"\u225C","\\triangleq",!0),we(ue,Ae,le,"\u223C","\\thicksim"),we(ue,Ae,le,"\u2248","\\thickapprox"),we(ue,Ae,le,"\u2AC6","\\supseteqq",!0),we(ue,Ae,le,"\u22D1","\\Supset",!0),we(ue,Ae,le,"\u2290","\\sqsupset",!0),we(ue,Ae,le,"\u227D","\\succcurlyeq",!0),we(ue,Ae,le,"\u22DF","\\curlyeqsucc",!0),we(ue,Ae,le,"\u227F","\\succsim",!0),we(ue,Ae,le,"\u2AB8","\\succapprox",!0),we(ue,Ae,le,"\u22B3","\\vartriangleright"),we(ue,Ae,le,"\u22B5","\\trianglerighteq"),we(ue,Ae,le,"\u22A9","\\Vdash",!0),we(ue,Ae,le,"\u2223","\\shortmid"),we(ue,Ae,le,"\u2225","\\shortparallel"),we(ue,Ae,le,"\u226C","\\between",!0),we(ue,Ae,le,"\u22D4","\\pitchfork",!0),we(ue,Ae,le,"\u221D","\\varpropto"),we(ue,Ae,le,"\u25C0","\\blacktriangleleft"),we(ue,Ae,le,"\u2234","\\therefore",!0),we(ue,Ae,le,"\u220D","\\backepsilon"),we(ue,Ae,le,"\u25B6","\\blacktriangleright"),we(ue,Ae,le,"\u2235","\\because",!0),we(ue,Ae,le,"\u22D8","\\llless"),we(ue,Ae,le,"\u22D9","\\gggtr"),we(ue,Ae,Ot,"\u22B2","\\lhd"),we(ue,Ae,Ot,"\u22B3","\\rhd"),we(ue,Ae,le,"\u2242","\\eqsim",!0),we(ue,at,le,"\u22C8","\\Join"),we(ue,Ae,le,"\u2251","\\Doteq",!0),we(ue,Ae,Ot,"\u2214","\\dotplus",!0),we(ue,Ae,Ot,"\u2216","\\smallsetminus"),we(ue,Ae,Ot,"\u22D2","\\Cap",!0),we(ue,Ae,Ot,"\u22D3","\\Cup",!0),we(ue,Ae,Ot,"\u2A5E","\\doublebarwedge",!0),we(ue,Ae,Ot,"\u229F","\\boxminus",!0),we(ue,Ae,Ot,"\u229E","\\boxplus",!0),we(ue,Ae,Ot,"\u22C7","\\divideontimes",!0),we(ue,Ae,Ot,"\u22C9","\\ltimes",!0),we(ue,Ae,Ot,"\u22CA","\\rtimes",!0),we(ue,Ae,Ot,"\u22CB","\\leftthreetimes",!0),we(ue,Ae,Ot,"\u22CC","\\rightthreetimes",!0),we(ue,Ae,Ot,"\u22CF","\\curlywedge",!0),we(ue,Ae,Ot,"\u22CE","\\curlyvee",!0),we(ue,Ae,Ot,"\u229D","\\circleddash",!0),we(ue,Ae,Ot,"\u229B","\\circledast",!0),we(ue,Ae,Ot,"\u22C5","\\centerdot"),we(ue,Ae,Ot,"\u22BA","\\intercal",!0),we(ue,Ae,Ot,"\u22D2","\\doublecap"),we(ue,Ae,Ot,"\u22D3","\\doublecup"),we(ue,Ae,Ot,"\u22A0","\\boxtimes",!0),we(ue,Ae,le,"\u21E2","\\dashrightarrow",!0),we(ue,Ae,le,"\u21E0","\\dashleftarrow",!0),we(ue,Ae,le,"\u21C7","\\leftleftarrows",!0),we(ue,Ae,le,"\u21C6","\\leftrightarrows",!0),we(ue,Ae,le,"\u21DA","\\Lleftarrow",!0),we(ue,Ae,le,"\u219E","\\twoheadleftarrow",!0),we(ue,Ae,le,"\u21A2","\\leftarrowtail",!0),we(ue,Ae,le,"\u21AB","\\looparrowleft",!0),we(ue,Ae,le,"\u21CB","\\leftrightharpoons",!0),we(ue,Ae,le,"\u21B6","\\curvearrowleft",!0),we(ue,Ae,le,"\u21BA","\\circlearrowleft",!0),we(ue,Ae,le,"\u21B0","\\Lsh",!0),we(ue,Ae,le,"\u21C8","\\upuparrows",!0),we(ue,Ae,le,"\u21BF","\\upharpoonleft",!0),we(ue,Ae,le,"\u21C3","\\downharpoonleft",!0),we(ue,Ae,le,"\u22B8","\\multimap",!0),we(ue,Ae,le,"\u21AD","\\leftrightsquigarrow",!0),we(ue,Ae,le,"\u21C9","\\rightrightarrows",!0),we(ue,Ae,le,"\u21C4","\\rightleftarrows",!0),we(ue,Ae,le,"\u21A0","\\twoheadrightarrow",!0),we(ue,Ae,le,"\u21A3","\\rightarrowtail",!0),we(ue,Ae,le,"\u21AC","\\looparrowright",!0),we(ue,Ae,le,"\u21B7","\\curvearrowright",!0),we(ue,Ae,le,"\u21BB","\\circlearrowright",!0),we(ue,Ae,le,"\u21B1","\\Rsh",!0),we(ue,Ae,le,"\u21CA","\\downdownarrows",!0),we(ue,Ae,le,"\u21BE","\\upharpoonright",!0),we(ue,Ae,le,"\u21C2","\\downharpoonright",!0),we(ue,Ae,le,"\u21DD","\\rightsquigarrow",!0),we(ue,Ae,le,"\u21DD","\\leadsto"),we(ue,Ae,le,"\u21DB","\\Rrightarrow",!0),we(ue,Ae,le,"\u21BE","\\restriction"),we(ue,at,fe,"\u2018","`"),we(ue,at,fe,"$","\\$"),we(vt,at,fe,"$","\\$"),we(vt,at,fe,"$","\\textdollar"),we(ue,at,fe,"%","\\%"),we(vt,at,fe,"%","\\%"),we(ue,at,fe,"_","\\_"),we(vt,at,fe,"_","\\_"),we(vt,at,fe,"_","\\textunderscore"),we(ue,at,fe,"\u2220","\\angle",!0),we(ue,at,fe,"\u221E","\\infty",!0),we(ue,at,fe,"\u2032","\\prime"),we(ue,at,fe,"\u25B3","\\triangle"),we(ue,at,fe,"\u0393","\\Gamma",!0),we(ue,at,fe,"\u0394","\\Delta",!0),we(ue,at,fe,"\u0398","\\Theta",!0),we(ue,at,fe,"\u039B","\\Lambda",!0),we(ue,at,fe,"\u039E","\\Xi",!0),we(ue,at,fe,"\u03A0","\\Pi",!0),we(ue,at,fe,"\u03A3","\\Sigma",!0),we(ue,at,fe,"\u03A5","\\Upsilon",!0),we(ue,at,fe,"\u03A6","\\Phi",!0),we(ue,at,fe,"\u03A8","\\Psi",!0),we(ue,at,fe,"\u03A9","\\Omega",!0),we(ue,at,fe,"A","\u0391"),we(ue,at,fe,"B","\u0392"),we(ue,at,fe,"E","\u0395"),we(ue,at,fe,"Z","\u0396"),we(ue,at,fe,"H","\u0397"),we(ue,at,fe,"I","\u0399"),we(ue,at,fe,"K","\u039A"),we(ue,at,fe,"M","\u039C"),we(ue,at,fe,"N","\u039D"),we(ue,at,fe,"O","\u039F"),we(ue,at,fe,"P","\u03A1"),we(ue,at,fe,"T","\u03A4"),we(ue,at,fe,"X","\u03A7"),we(ue,at,fe,"\xAC","\\neg",!0),we(ue,at,fe,"\xAC","\\lnot"),we(ue,at,fe,"\u22A4","\\top"),we(ue,at,fe,"\u22A5","\\bot"),we(ue,at,fe,"\u2205","\\emptyset"),we(ue,Ae,fe,"\u2205","\\varnothing"),we(ue,at,Zt,"\u03B1","\\alpha",!0),we(ue,at,Zt,"\u03B2","\\beta",!0),we(ue,at,Zt,"\u03B3","\\gamma",!0),we(ue,at,Zt,"\u03B4","\\delta",!0),we(ue,at,Zt,"\u03F5","\\epsilon",!0),we(ue,at,Zt,"\u03B6","\\zeta",!0),we(ue,at,Zt,"\u03B7","\\eta",!0),we(ue,at,Zt,"\u03B8","\\theta",!0),we(ue,at,Zt,"\u03B9","\\iota",!0),we(ue,at,Zt,"\u03BA","\\kappa",!0),we(ue,at,Zt,"\u03BB","\\lambda",!0),we(ue,at,Zt,"\u03BC","\\mu",!0),we(ue,at,Zt,"\u03BD","\\nu",!0),we(ue,at,Zt,"\u03BE","\\xi",!0),we(ue,at,Zt,"\u03BF","\\omicron",!0),we(ue,at,Zt,"\u03C0","\\pi",!0),we(ue,at,Zt,"\u03C1","\\rho",!0),we(ue,at,Zt,"\u03C3","\\sigma",!0),we(ue,at,Zt,"\u03C4","\\tau",!0),we(ue,at,Zt,"\u03C5","\\upsilon",!0),we(ue,at,Zt,"\u03D5","\\phi",!0),we(ue,at,Zt,"\u03C7","\\chi",!0),we(ue,at,Zt,"\u03C8","\\psi",!0),we(ue,at,Zt,"\u03C9","\\omega",!0),we(ue,at,Zt,"\u03B5","\\varepsilon",!0),we(ue,at,Zt,"\u03D1","\\vartheta",!0),we(ue,at,Zt,"\u03D6","\\varpi",!0),we(ue,at,Zt,"\u03F1","\\varrho",!0),we(ue,at,Zt,"\u03C2","\\varsigma",!0),we(ue,at,Zt,"\u03C6","\\varphi",!0),we(ue,at,Ot,"\u2217","*"),we(ue,at,Ot,"+","+"),we(ue,at,Ot,"\u2212","-"),we(ue,at,Ot,"\u22C5","\\cdot",!0),we(ue,at,Ot,"\u2218","\\circ"),we(ue,at,Ot,"\xF7","\\div",!0),we(ue,at,Ot,"\xB1","\\pm",!0),we(ue,at,Ot,"\xD7","\\times",!0),we(ue,at,Ot,"\u2229","\\cap",!0),we(ue,at,Ot,"\u222A","\\cup",!0),we(ue,at,Ot,"\u2216","\\setminus"),we(ue,at,Ot,"\u2227","\\land"),we(ue,at,Ot,"\u2228","\\lor"),we(ue,at,Ot,"\u2227","\\wedge",!0),we(ue,at,Ot,"\u2228","\\vee",!0),we(ue,at,fe,"\u221A","\\surd"),we(ue,at,mt,"(","("),we(ue,at,mt,"[","["),we(ue,at,mt,"\u27E8","\\langle",!0),we(ue,at,mt,"\u2223","\\lvert"),we(ue,at,mt,"\u2225","\\lVert"),we(ue,at,rt,")",")"),we(ue,at,rt,"]","]"),we(ue,at,rt,"?","?"),we(ue,at,rt,"!","!"),we(ue,at,rt,"\u27E9","\\rangle",!0),we(ue,at,rt,"\u2223","\\rvert"),we(ue,at,rt,"\u2225","\\rVert"),we(ue,at,le,"=","="),we(ue,at,le,"<","<"),we(ue,at,le,">",">"),we(ue,at,le,":",":"),we(ue,at,le,"\u2248","\\approx",!0),we(ue,at,le,"\u2245","\\cong",!0),we(ue,at,le,"\u2265","\\ge"),we(ue,at,le,"\u2265","\\geq",!0),we(ue,at,le,"\u2190","\\gets"),we(ue,at,le,">","\\gt"),we(ue,at,le,"\u2208","\\in",!0),we(ue,at,le,"\uE020","\\@not"),we(ue,at,le,"\u2282","\\subset",!0),we(ue,at,le,"\u2283","\\supset",!0),we(ue,at,le,"\u2286","\\subseteq",!0),we(ue,at,le,"\u2287","\\supseteq",!0),we(ue,Ae,le,"\u2288","\\nsubseteq",!0),we(ue,Ae,le,"\u2289","\\nsupseteq",!0),we(ue,at,le,"\u22A8","\\models"),we(ue,at,le,"\u2190","\\leftarrow",!0),we(ue,at,le,"\u2264","\\le"),we(ue,at,le,"\u2264","\\leq",!0),we(ue,at,le,"<","\\lt"),we(ue,at,le,"\u2192","\\rightarrow",!0),we(ue,at,le,"\u2192","\\to"),we(ue,Ae,le,"\u2271","\\ngeq",!0),we(ue,Ae,le,"\u2270","\\nleq",!0),we(ue,at,oe,"\xA0","\\ "),we(ue,at,oe,"\xA0","~"),we(ue,at,oe,"\xA0","\\space"),we(ue,at,oe,"\xA0","\\nobreakspace"),we(vt,at,oe,"\xA0","\\ "),we(vt,at,oe,"\xA0","~"),we(vt,at,oe,"\xA0","\\space"),we(vt,at,oe,"\xA0","\\nobreakspace"),we(ue,at,oe,null,"\\nobreak"),we(ue,at,oe,null,"\\allowbreak"),we(ue,at,ce,",",","),we(ue,at,ce,";",";"),we(ue,Ae,Ot,"\u22BC","\\barwedge",!0),we(ue,Ae,Ot,"\u22BB","\\veebar",!0),we(ue,at,Ot,"\u2299","\\odot",!0),we(ue,at,Ot,"\u2295","\\oplus",!0),we(ue,at,Ot,"\u2297","\\otimes",!0),we(ue,at,fe,"\u2202","\\partial",!0),we(ue,at,Ot,"\u2298","\\oslash",!0),we(ue,Ae,Ot,"\u229A","\\circledcirc",!0),we(ue,Ae,Ot,"\u22A1","\\boxdot",!0),we(ue,at,Ot,"\u25B3","\\bigtriangleup"),we(ue,at,Ot,"\u25BD","\\bigtriangledown"),we(ue,at,Ot,"\u2020","\\dagger"),we(ue,at,Ot,"\u22C4","\\diamond"),we(ue,at,Ot,"\u22C6","\\star"),we(ue,at,Ot,"\u25C3","\\triangleleft"),we(ue,at,Ot,"\u25B9","\\triangleright"),we(ue,at,mt,"{","\\{"),we(vt,at,fe,"{","\\{"),we(vt,at,fe,"{","\\textbraceleft"),we(ue,at,rt,"}","\\}"),we(vt,at,fe,"}","\\}"),we(vt,at,fe,"}","\\textbraceright"),we(ue,at,mt,"{","\\lbrace"),we(ue,at,rt,"}","\\rbrace"),we(ue,at,mt,"[","\\lbrack"),we(vt,at,fe,"[","\\lbrack"),we(ue,at,rt,"]","\\rbrack"),we(vt,at,fe,"]","\\rbrack"),we(ue,at,mt,"(","\\lparen"),we(ue,at,rt,")","\\rparen"),we(vt,at,fe,"<","\\textless"),we(vt,at,fe,">","\\textgreater"),we(ue,at,mt,"\u230A","\\lfloor",!0),we(ue,at,rt,"\u230B","\\rfloor",!0),we(ue,at,mt,"\u2308","\\lceil",!0),we(ue,at,rt,"\u2309","\\rceil",!0),we(ue,at,fe,"\\","\\backslash"),we(ue,at,fe,"\u2223","|"),we(ue,at,fe,"\u2223","\\vert"),we(vt,at,fe,"|","\\textbar"),we(ue,at,fe,"\u2225","\\|"),we(ue,at,fe,"\u2225","\\Vert"),we(vt,at,fe,"\u2225","\\textbardbl"),we(vt,at,fe,"~","\\textasciitilde"),we(vt,at,fe,"\\","\\textbackslash"),we(vt,at,fe,"^","\\textasciicircum"),we(ue,at,le,"\u2191","\\uparrow",!0),we(ue,at,le,"\u21D1","\\Uparrow",!0),we(ue,at,le,"\u2193","\\downarrow",!0),we(ue,at,le,"\u21D3","\\Downarrow",!0),we(ue,at,le,"\u2195","\\updownarrow",!0),we(ue,at,le,"\u21D5","\\Updownarrow",!0),we(ue,at,vr,"\u2210","\\coprod"),we(ue,at,vr,"\u22C1","\\bigvee"),we(ue,at,vr,"\u22C0","\\bigwedge"),we(ue,at,vr,"\u2A04","\\biguplus"),we(ue,at,vr,"\u22C2","\\bigcap"),we(ue,at,vr,"\u22C3","\\bigcup"),we(ue,at,vr,"\u222B","\\int"),we(ue,at,vr,"\u222B","\\intop"),we(ue,at,vr,"\u222C","\\iint"),we(ue,at,vr,"\u222D","\\iiint"),we(ue,at,vr,"\u220F","\\prod"),we(ue,at,vr,"\u2211","\\sum"),we(ue,at,vr,"\u2A02","\\bigotimes"),we(ue,at,vr,"\u2A01","\\bigoplus"),we(ue,at,vr,"\u2A00","\\bigodot"),we(ue,at,vr,"\u222E","\\oint"),we(ue,at,vr,"\u222F","\\oiint"),we(ue,at,vr,"\u2230","\\oiiint"),we(ue,at,vr,"\u2A06","\\bigsqcup"),we(ue,at,vr,"\u222B","\\smallint"),we(vt,at,Et,"\u2026","\\textellipsis"),we(ue,at,Et,"\u2026","\\mathellipsis"),we(vt,at,Et,"\u2026","\\ldots",!0),we(ue,at,Et,"\u2026","\\ldots",!0),we(ue,at,Et,"\u22EF","\\@cdots",!0),we(ue,at,Et,"\u22F1","\\ddots",!0),we(ue,at,fe,"\u22EE","\\varvdots"),we(ue,at,Xt,"\u02CA","\\acute"),we(ue,at,Xt,"\u02CB","\\grave"),we(ue,at,Xt,"\xA8","\\ddot"),we(ue,at,Xt,"~","\\tilde"),we(ue,at,Xt,"\u02C9","\\bar"),we(ue,at,Xt,"\u02D8","\\breve"),we(ue,at,Xt,"\u02C7","\\check"),we(ue,at,Xt,"^","\\hat"),we(ue,at,Xt,"\u20D7","\\vec"),we(ue,at,Xt,"\u02D9","\\dot"),we(ue,at,Xt,"\u02DA","\\mathring"),we(ue,at,Zt,"\u0131","\\imath",!0),we(ue,at,Zt,"\u0237","\\jmath",!0),we(vt,at,fe,"\u0131","\\i",!0),we(vt,at,fe,"\u0237","\\j",!0),we(vt,at,fe,"\xDF","\\ss",!0),we(vt,at,fe,"\xE6","\\ae",!0),we(vt,at,fe,"\xE6","\\ae",!0),we(vt,at,fe,"\u0153","\\oe",!0),we(vt,at,fe,"\xF8","\\o",!0),we(vt,at,fe,"\xC6","\\AE",!0),we(vt,at,fe,"\u0152","\\OE",!0),we(vt,at,fe,"\xD8","\\O",!0),we(vt,at,Xt,"\u02CA","\\'"),we(vt,at,Xt,"\u02CB","\\`"),we(vt,at,Xt,"\u02C6","\\^"),we(vt,at,Xt,"\u02DC","\\~"),we(vt,at,Xt,"\u02C9","\\="),we(vt,at,Xt,"\u02D8","\\u"),we(vt,at,Xt,"\u02D9","\\."),we(vt,at,Xt,"\u02DA","\\r"),we(vt,at,Xt,"\u02C7","\\v"),we(vt,at,Xt,"\xA8",'\\"'),we(vt,at,Xt,"\u02DD","\\H"),we(vt,at,Xt,"\u25EF","\\textcircled");var De={"--":!0,"---":!0,"``":!0,"''":!0};we(vt,at,fe,"\u2013","--"),we(vt,at,fe,"\u2013","\\textendash"),we(vt,at,fe,"\u2014","---"),we(vt,at,fe,"\u2014","\\textemdash"),we(vt,at,fe,"\u2018","`"),we(vt,at,fe,"\u2018","\\textquoteleft"),we(vt,at,fe,"\u2019","'"),we(vt,at,fe,"\u2019","\\textquoteright"),we(vt,at,fe,"\u201C","``"),we(vt,at,fe,"\u201C","\\textquotedblleft"),we(vt,at,fe,"\u201D","''"),we(vt,at,fe,"\u201D","\\textquotedblright"),we(ue,at,fe,"\xB0","\\degree",!0),we(vt,at,fe,"\xB0","\\degree"),we(vt,at,fe,"\xB0","\\textdegree",!0),we(ue,at,Zt,"\xA3","\\pounds"),we(ue,at,Zt,"\xA3","\\mathsterling",!0),we(vt,at,Zt,"\xA3","\\pounds"),we(vt,at,Zt,"\xA3","\\textsterling",!0),we(ue,Ae,fe,"\u2720","\\maltese"),we(vt,Ae,fe,"\u2720","\\maltese"),we(vt,at,oe,"\xA0","\\ "),we(vt,at,oe,"\xA0"," "),we(vt,at,oe,"\xA0","~");for(var He='0123456789/@."',je=0;je<He.length;je++){var We=He.charAt(je);we(ue,at,fe,We,We)}for(var nt='0123456789!@*()-=+[]<>|";:?/.,',xt=0;xt<nt.length;xt++){var It=nt.charAt(xt);we(vt,at,fe,It,It)}for(var ir="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Me=0;Me<ir.length;Me++){var ke=ir.charAt(Me);we(ue,at,Zt,ke,ke),we(vt,at,fe,ke,ke)}we(ue,Ae,fe,"C","\u2102"),we(vt,Ae,fe,"C","\u2102"),we(ue,Ae,fe,"H","\u210D"),we(vt,Ae,fe,"H","\u210D"),we(ue,Ae,fe,"N","\u2115"),we(vt,Ae,fe,"N","\u2115"),we(ue,Ae,fe,"P","\u2119"),we(vt,Ae,fe,"P","\u2119"),we(ue,Ae,fe,"Q","\u211A"),we(vt,Ae,fe,"Q","\u211A"),we(ue,Ae,fe,"R","\u211D"),we(vt,Ae,fe,"R","\u211D"),we(ue,Ae,fe,"Z","\u2124"),we(vt,Ae,fe,"Z","\u2124"),we(ue,at,Zt,"h","\u210E"),we(vt,at,Zt,"h","\u210E");for(var re="",be=0;be<ir.length;be++){var Ne=ir.charAt(be);re=String.fromCharCode(55349,56320+be),we(ue,at,Zt,Ne,re),we(vt,at,fe,Ne,re),re=String.fromCharCode(55349,56372+be),we(ue,at,Zt,Ne,re),we(vt,at,fe,Ne,re),re=String.fromCharCode(55349,56424+be),we(ue,at,Zt,Ne,re),we(vt,at,fe,Ne,re),re=String.fromCharCode(55349,56580+be),we(ue,at,Zt,Ne,re),we(vt,at,fe,Ne,re),re=String.fromCharCode(55349,56736+be),we(ue,at,Zt,Ne,re),we(vt,at,fe,Ne,re),re=String.fromCharCode(55349,56788+be),we(ue,at,Zt,Ne,re),we(vt,at,fe,Ne,re),re=String.fromCharCode(55349,56840+be),we(ue,at,Zt,Ne,re),we(vt,at,fe,Ne,re),re=String.fromCharCode(55349,56944+be),we(ue,at,Zt,Ne,re),we(vt,at,fe,Ne,re),be<26&&(re=String.fromCharCode(55349,56632+be),we(ue,at,Zt,Ne,re),we(vt,at,fe,Ne,re),re=String.fromCharCode(55349,56476+be),we(ue,at,Zt,Ne,re),we(vt,at,fe,Ne,re))}re=String.fromCharCode(55349,56668),we(ue,at,Zt,"k",re),we(vt,at,fe,"k",re);for(var Ke=0;Ke<10;Ke++){var Qe=Ke.toString();re=String.fromCharCode(55349,57294+Ke),we(ue,at,Zt,Qe,re),we(vt,at,fe,Qe,re),re=String.fromCharCode(55349,57314+Ke),we(ue,at,Zt,Qe,re),we(vt,at,fe,Qe,re),re=String.fromCharCode(55349,57324+Ke),we(ue,at,Zt,Qe,re),we(vt,at,fe,Qe,re),re=String.fromCharCode(55349,57334+Ke),we(ue,at,Zt,Qe,re),we(vt,at,fe,Qe,re)}for(var ct="\xC7\xD0\xDE\xE7\xFE",Lt=0;Lt<ct.length;Lt++){var rr=ct.charAt(Lt);we(ue,at,Zt,rr,rr),we(vt,at,fe,rr,rr)}we(vt,at,fe,"\xF0","\xF0"),we(vt,at,fe,"\u2013","\u2013"),we(vt,at,fe,"\u2014","\u2014"),we(vt,at,fe,"\u2018","\u2018"),we(vt,at,fe,"\u2019","\u2019"),we(vt,at,fe,"\u201C","\u201C"),we(vt,at,fe,"\u201D","\u201D");var dr=[["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"]],Pt=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],jt=function(de,Te){var Oe=de.charCodeAt(0),ze=de.charCodeAt(1),yt=(Oe-55296)*1024+(ze-56320)+65536,Kt=Te==="math"?0:1;if(119808<=yt&&yt<120484){var gr=Math.floor((yt-119808)/26);return[dr[gr][2],dr[gr][Kt]]}else if(120782<=yt&&yt<=120831){var xr=Math.floor((yt-120782)/10);return[Pt[xr][2],Pt[xr][Kt]]}else{if(yt===120485||yt===120486)return[dr[0][2],dr[0][Kt]];if(120486<yt&&yt<120782)return["",""];throw new o("Unsupported character: "+de)}},Ct=[[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]],Rt=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],pt=function(de,Te){return Te.size<2?de:Ct[de-1][Te.size-1]},ot=function(){function Vt(Te){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=Te.style,this.color=Te.color,this.size=Te.size||Vt.BASESIZE,this.textSize=Te.textSize||this.size,this.phantom=!!Te.phantom,this.font=Te.font||"",this.fontFamily=Te.fontFamily||"",this.fontWeight=Te.fontWeight||"",this.fontShape=Te.fontShape||"",this.sizeMultiplier=Rt[this.size-1],this.maxSize=Te.maxSize,this.minRuleThickness=Te.minRuleThickness,this._fontMetrics=void 0}var de=Vt.prototype;return de.extend=function(Oe){var ze={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var yt in Oe)Oe.hasOwnProperty(yt)&&(ze[yt]=Oe[yt]);return new Vt(ze)},de.havingStyle=function(Oe){return this.style===Oe?this:this.extend({style:Oe,size:pt(this.textSize,Oe)})},de.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},de.havingSize=function(Oe){return this.size===Oe&&this.textSize===Oe?this:this.extend({style:this.style.text(),size:Oe,textSize:Oe,sizeMultiplier:Rt[Oe-1]})},de.havingBaseStyle=function(Oe){Oe=Oe||this.style.text();var ze=pt(Vt.BASESIZE,Oe);return this.size===ze&&this.textSize===Vt.BASESIZE&&this.style===Oe?this:this.extend({style:Oe,size:ze})},de.havingBaseSizing=function(){var Oe;switch(this.style.id){case 4:case 5:Oe=3;break;case 6:case 7:Oe=1;break;default:Oe=6}return this.extend({style:this.style.text(),size:Oe})},de.withColor=function(Oe){return this.extend({color:Oe})},de.withPhantom=function(){return this.extend({phantom:!0})},de.withFont=function(Oe){return this.extend({font:Oe})},de.withTextFontFamily=function(Oe){return this.extend({fontFamily:Oe,font:""})},de.withTextFontWeight=function(Oe){return this.extend({fontWeight:Oe,font:""})},de.withTextFontShape=function(Oe){return this.extend({fontShape:Oe,font:""})},de.sizingClasses=function(Oe){return Oe.size!==this.size?["sizing","reset-size"+Oe.size,"size"+this.size]:[]},de.baseSizingClasses=function(){return this.size!==Vt.BASESIZE?["sizing","reset-size"+this.size,"size"+Vt.BASESIZE]:[]},de.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=Nt(this.size)),this._fontMetrics},de.getColor=function(){return this.phantom?"transparent":this.color},Vt}();ot.BASESIZE=6;var gt=ot,Ye={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},$e={ex:!0,em:!0,mu:!0},Je=function(de){return typeof de!="string"&&(de=de.unit),de in Ye||de in $e||de==="ex"},it=function(de,Te){var Oe;if(de.unit in Ye)Oe=Ye[de.unit]/Te.fontMetrics().ptPerEm/Te.sizeMultiplier;else if(de.unit==="mu")Oe=Te.fontMetrics().cssEmPerMu;else{var ze;if(Te.style.isTight()?ze=Te.havingStyle(Te.style.text()):ze=Te,de.unit==="ex")Oe=ze.fontMetrics().xHeight;else if(de.unit==="em")Oe=ze.fontMetrics().quad;else throw new o("Invalid unit: '"+de.unit+"'");ze!==Te&&(Oe*=ze.sizeMultiplier/Te.sizeMultiplier)}return Math.min(de.number*Oe,Te.maxSize)},ft=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],ht=function(de,Te,Oe){return qe[Oe][de]&&qe[Oe][de].replace&&(de=qe[Oe][de].replace),{value:de,metrics:et(de,Te,Oe)}},st=function(de,Te,Oe,ze,yt){var Kt=ht(de,Te,Oe),gr=Kt.metrics;de=Kt.value;var xr;if(gr){var Pr=gr.italic;(Oe==="text"||ze&&ze.font==="mathit")&&(Pr=0),xr=new Le(de,gr.height,gr.depth,Pr,gr.skew,gr.width,yt)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+de+"' in style '"+Te+"' and mode '"+Oe+"'")),xr=new Le(de,0,0,0,0,0,yt);if(ze){xr.maxFontSize=ze.sizeMultiplier,ze.style.isTight()&&xr.classes.push("mtight");var dn=ze.getColor();dn&&(xr.style.color=dn)}return xr},kt=function(de,Te,Oe,ze){return ze===void 0&&(ze=[]),Oe.font==="boldsymbol"&&ht(de,"Main-Bold",Te).metrics?st(de,"Main-Bold",Te,Oe,ze.concat(["mathbf"])):de==="\\"||qe[Te][de].font==="main"?st(de,"Main-Regular",Te,Oe,ze):st(de,"AMS-Regular",Te,Oe,ze.concat(["amsrm"]))},Tt=function(de,Te,Oe,ze){return/[0-9]/.test(de.charAt(0))||v.contains(ft,de)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},ar=function(de,Te,Oe,ze){return v.contains(ft,de)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(de.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Qt=function(de,Te,Oe,ze){return ht(de,"Math-BoldItalic",Te).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},Er=function(de,Te,Oe){var ze=de.mode,yt=de.text,Kt=["mord"],gr=ze==="math"||ze==="text"&&Te.font,xr=gr?Te.font:Te.fontFamily;if(yt.charCodeAt(0)===55349){var Pr=jt(yt,ze),dn=Pr[0],bn=Pr[1];return st(yt,dn,ze,Te,Kt.concat(bn))}else if(xr){var Nn,Xn;if(xr==="boldsymbol"||xr==="mathnormal"){var li=xr==="boldsymbol"?Qt(yt,ze,Te,Kt):ar(yt,ze,Te,Kt);Nn=li.fontName,Xn=[li.fontClass]}else v.contains(ft,yt)?(Nn="Main-Italic",Xn=["mathit"]):gr?(Nn=nn[xr].fontName,Xn=[xr]):(Nn=kr(xr,Te.fontWeight,Te.fontShape),Xn=[xr,Te.fontWeight,Te.fontShape]);if(ht(yt,Nn,ze).metrics)return st(yt,Nn,ze,Te,Kt.concat(Xn));if(De.hasOwnProperty(yt)&&Nn.substr(0,10)==="Typewriter"){for(var Li=[],ea=0;ea<yt.length;ea++)Li.push(st(yt[ea],Nn,ze,Te,Kt.concat(Xn)));return Xr(Li)}}if(Oe==="mathord"){var Sa=Tt(yt,ze,Te,Kt);return st(yt,Sa.fontName,ze,Te,Kt.concat([Sa.fontClass]))}else if(Oe==="textord"){var xa=qe[ze][yt]&&qe[ze][yt].font;if(xa==="ams"){var Da=kr("amsrm",Te.fontWeight,Te.fontShape);return st(yt,Da,ze,Te,Kt.concat("amsrm",Te.fontWeight,Te.fontShape))}else if(xa==="main"||!xa){var oo=kr("textrm",Te.fontWeight,Te.fontShape);return st(yt,oo,ze,Te,Kt.concat(Te.fontWeight,Te.fontShape))}else{var Qa=kr(xa,Te.fontWeight,Te.fontShape);return st(yt,Qa,ze,Te,Kt.concat(Qa,Te.fontWeight,Te.fontShape))}}else throw new Error("unexpected type: "+Oe+" in makeOrd")},Ir=function(de,Te){if(ie(de.classes)!==ie(Te.classes)||de.skew!==Te.skew||de.maxFontSize!==Te.maxFontSize)return!1;for(var Oe in de.style)if(de.style.hasOwnProperty(Oe)&&de.style[Oe]!==Te.style[Oe])return!1;for(var ze in Te.style)if(Te.style.hasOwnProperty(ze)&&de.style[ze]!==Te.style[ze])return!1;return!0},jr=function(de){for(var Te=0;Te<de.length-1;Te++){var Oe=de[Te],ze=de[Te+1];Oe instanceof Le&&ze instanceof Le&&Ir(Oe,ze)&&(Oe.text+=ze.text,Oe.height=Math.max(Oe.height,ze.height),Oe.depth=Math.max(Oe.depth,ze.depth),Oe.italic=ze.italic,de.splice(Te+1,1),Te--)}return de},zr=function(de){for(var Te=0,Oe=0,ze=0,yt=0;yt<de.children.length;yt++){var Kt=de.children[yt];Kt.height>Te&&(Te=Kt.height),Kt.depth>Oe&&(Oe=Kt.depth),Kt.maxFontSize>ze&&(ze=Kt.maxFontSize)}de.height=Te,de.depth=Oe,de.maxFontSize=ze},hn=function(de,Te,Oe,ze){var yt=new j(de,Te,Oe,ze);return zr(yt),yt},gn=function(de,Te,Oe,ze){return new j(de,Te,Oe,ze)},Br=function(de,Te,Oe){var ze=hn([de],[],Te);return ze.height=Math.max(Oe||Te.fontMetrics().defaultRuleThickness,Te.minRuleThickness),ze.style.borderBottomWidth=ze.height+"em",ze.maxFontSize=1,ze},ln=function(de,Te,Oe,ze){var yt=new Y(de,Te,Oe,ze);return zr(yt),yt},Xr=function(de){var Te=new Q(de);return zr(Te),Te},cr=function(de,Te){return de instanceof Q?hn([],[de],Te):de},wr=function(de){if(de.positionType==="individualShift"){for(var Te=de.children,Oe=[Te[0]],ze=-Te[0].shift-Te[0].elem.depth,yt=ze,Kt=1;Kt<Te.length;Kt++){var gr=-Te[Kt].shift-yt-Te[Kt].elem.depth,xr=gr-(Te[Kt-1].elem.height+Te[Kt-1].elem.depth);yt=yt+gr,Oe.push({type:"kern",size:xr}),Oe.push(Te[Kt])}return{children:Oe,depth:ze}}var Pr;if(de.positionType==="top"){for(var dn=de.positionData,bn=0;bn<de.children.length;bn++){var Nn=de.children[bn];dn-=Nn.type==="kern"?Nn.size:Nn.elem.height+Nn.elem.depth}Pr=dn}else if(de.positionType==="bottom")Pr=-de.positionData;else{var Xn=de.children[0];if(Xn.type!=="elem")throw new Error('First child must have type "elem".');if(de.positionType==="shift")Pr=-Xn.elem.depth-de.positionData;else if(de.positionType==="firstBaseline")Pr=-Xn.elem.depth;else throw new Error("Invalid positionType "+de.positionType+".")}return{children:de.children,depth:Pr}},hr=function(de,Te){for(var Oe=wr(de),ze=Oe.children,yt=Oe.depth,Kt=0,gr=0;gr<ze.length;gr++){var xr=ze[gr];if(xr.type==="elem"){var Pr=xr.elem;Kt=Math.max(Kt,Pr.maxFontSize,Pr.height)}}Kt+=2;var dn=hn(["pstrut"],[]);dn.style.height=Kt+"em";for(var bn=[],Nn=yt,Xn=yt,li=yt,Li=0;Li<ze.length;Li++){var ea=ze[Li];if(ea.type==="kern")li+=ea.size;else{var Sa=ea.elem,xa=ea.wrapperClasses||[],Da=ea.wrapperStyle||{},oo=hn(xa,[dn,Sa],void 0,Da);oo.style.top=-Kt-li-Sa.depth+"em",ea.marginLeft&&(oo.style.marginLeft=ea.marginLeft),ea.marginRight&&(oo.style.marginRight=ea.marginRight),bn.push(oo),li+=Sa.height+Sa.depth}Nn=Math.min(Nn,li),Xn=Math.max(Xn,li)}var Qa=hn(["vlist"],bn);Qa.style.height=Xn+"em";var So;if(Nn<0){var Ea=hn([],[]),no=hn(["vlist"],[Ea]);no.style.height=-Nn+"em";var Yo=hn(["vlist-s"],[new Le("\u200B")]);So=[hn(["vlist-r"],[Qa,Yo]),hn(["vlist-r"],[no])]}else So=[hn(["vlist-r"],[Qa])];var Ko=hn(["vlist-t"],So);return So.length===2&&Ko.classes.push("vlist-t2"),Ko.height=Xn,Ko.depth=-Nn,Ko},Ar=function(de,Te){var Oe=hn(["mspace"],[],Te),ze=it(de,Te);return Oe.style.marginRight=ze+"em",Oe},kr=function(de,Te,Oe){var ze="";switch(de){case"amsrm":ze="AMS";break;case"textrm":ze="Main";break;case"textsf":ze="SansSerif";break;case"texttt":ze="Typewriter";break;default:ze=de}var yt;return Te==="textbf"&&Oe==="textit"?yt="BoldItalic":Te==="textbf"?yt="Bold":Te==="textit"?yt="Italic":yt="Regular",ze+"-"+yt},nn={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"}},wn={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},oi=function(de,Te){var Oe=wn[de],ze=Oe[0],yt=Oe[1],Kt=Oe[2],gr=new ne(ze),xr=new Ee([gr],{width:yt+"em",height:Kt+"em",style:"width:"+yt+"em",viewBox:"0 0 "+1e3*yt+" "+1e3*Kt,preserveAspectRatio:"xMinYMin"}),Pr=gn(["overlay"],[xr],Te);return Pr.height=Kt,Pr.style.height=Kt+"em",Pr.style.width=yt+"em",Pr},tn={fontMap:nn,makeSymbol:st,mathsym:kt,makeSpan:hn,makeSvgSpan:gn,makeLineSpan:Br,makeAnchor:ln,makeFragment:Xr,wrapFragment:cr,makeVList:hr,makeOrd:Er,makeGlue:Ar,staticSvg:oi,svgData:wn,tryCombineChars:jr};function Vn(Vt,de){var Te=On(Vt,de);if(!Te)throw new Error("Expected node of type "+de+", but got "+(Vt?"node of type "+Vt.type:String(Vt)));return Te}function On(Vt,de){return Vt&&Vt.type===de?Vt:null}function $n(Vt,de){var Te=Qn(Vt,de);if(!Te)throw new Error('Expected node of type "atom" and family "'+de+'", but got '+(Vt?Vt.type==="atom"?"atom of family "+Vt.family:"node of type "+Vt.type:String(Vt)));return Te}function Qn(Vt,de){return Vt&&Vt.type==="atom"&&Vt.family===de?Vt:null}function ei(Vt){var de=zi(Vt);if(!de)throw new Error("Expected node of symbol group type, but got "+(Vt?"node of type "+Vt.type:String(Vt)));return de}function zi(Vt){return Vt&&(Vt.type==="atom"||Ft.hasOwnProperty(Vt.type))?Vt:null}var hi={number:3,unit:"mu"},Bn={number:4,unit:"mu"},sn={number:5,unit:"mu"},ta={mord:{mop:hi,mbin:Bn,mrel:sn,minner:hi},mop:{mord:hi,mop:hi,mrel:sn,minner:hi},mbin:{mord:Bn,mop:Bn,mopen:Bn,minner:Bn},mrel:{mord:sn,mop:sn,mopen:sn,minner:sn},mopen:{},mclose:{mop:hi,mbin:Bn,mrel:sn,minner:hi},mpunct:{mord:hi,mop:hi,mrel:sn,mopen:hi,mclose:hi,mpunct:hi,minner:hi},minner:{mord:hi,mop:hi,mbin:Bn,mrel:sn,mopen:hi,mpunct:hi,minner:hi}},ua={mord:{mop:hi},mop:{mord:hi,mop:hi},mbin:{},mrel:{},mopen:{},mclose:{mop:hi},mpunct:{},minner:{mop:hi}},fa={},Bi={},pa={};function ui(Vt){for(var de=Vt.type,Te=Vt.names,Oe=Vt.props,ze=Vt.handler,yt=Vt.htmlBuilder,Kt=Vt.mathmlBuilder,gr={type:de,numArgs:Oe.numArgs,argTypes:Oe.argTypes,greediness:Oe.greediness===void 0?1:Oe.greediness,allowedInText:!!Oe.allowedInText,allowedInMath:Oe.allowedInMath===void 0?!0:Oe.allowedInMath,numOptionalArgs:Oe.numOptionalArgs||0,infix:!!Oe.infix,handler:ze},xr=0;xr<Te.length;++xr)fa[Te[xr]]=gr;de&&(yt&&(Bi[de]=yt),Kt&&(pa[de]=Kt))}function ba(Vt){var de=Vt.type,Te=Vt.htmlBuilder,Oe=Vt.mathmlBuilder;ui({type:de,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:Te,mathmlBuilder:Oe})}var Dn=function(de){var Te=On(de,"ordgroup");return Te?Te.body:[de]},Pn=tn.makeSpan,Yn=["leftmost","mbin","mopen","mrel","mop","mpunct"],Jn=["rightmost","mrel","mclose","mpunct"],ni={display:z.DISPLAY,text:z.TEXT,script:z.SCRIPT,scriptscript:z.SCRIPTSCRIPT},Fi={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Hi=function(de,Te,Oe,ze){ze===void 0&&(ze=[null,null]);for(var yt=[],Kt=0;Kt<de.length;Kt++){var gr=_a(de[Kt],Te);if(gr instanceof Q){var xr=gr.children;yt.push.apply(yt,xr)}else yt.push(gr)}if(!Oe)return yt;var Pr=Te;if(de.length===1){var dn=On(de[0],"sizing")||On(de[0],"styling");dn&&(dn.type==="sizing"?Pr=Te.havingSize(dn.size):dn.type==="styling"&&(Pr=Te.havingStyle(ni[dn.style])))}var bn=Pn([ze[0]||"leftmost"],[],Te),Nn=Pn([ze[1]||"rightmost"],[],Te);return Za(yt,function(Xn,li){var Li=li.classes[0],ea=Xn.classes[0];Li==="mbin"&&v.contains(Jn,ea)?li.classes[0]="mord":ea==="mbin"&&v.contains(Yn,Li)&&(Xn.classes[0]="mord")},{node:bn},Nn),Za(yt,function(Xn,li){var Li=to(li),ea=to(Xn),Sa=Li&&ea?Xn.hasClass("mtight")?ua[Li][ea]:ta[Li][ea]:null;if(Sa)return tn.makeGlue(Sa,Pr)},{node:bn},Nn),yt},Za=function Vt(de,Te,Oe,ze){ze&&de.push(ze);for(var yt=0;yt<de.length;yt++){var Kt=de[yt],gr=va(Kt);if(gr){Vt(gr.children,Te,Oe);continue}if(Kt.classes[0]==="mspace")continue;var xr=Te(Kt,Oe.node);xr&&(Oe.insertAfter?Oe.insertAfter(xr):(de.unshift(xr),yt++)),Oe.node=Kt,Oe.insertAfter=function(Pr){return function(dn){de.splice(Pr+1,0,dn),yt++}}(yt)}ze&&de.pop()},va=function(de){return de instanceof Q||de instanceof Y?de:null},za=function Vt(de,Te){var Oe=va(de);if(Oe){var ze=Oe.children;if(ze.length){if(Te==="right")return Vt(ze[ze.length-1],"right");if(Te==="left")return Vt(ze[0],"left")}}return de},to=function(de,Te){return de?(Te&&(de=za(de,Te)),Fi[de.classes[0]]||null):null},lo=function(de,Te){var Oe=["nulldelimiter"].concat(de.baseSizingClasses());return Pn(Te.concat(Oe))},_a=function(de,Te,Oe){if(!de)return Pn();if(Bi[de.type]){var ze=Bi[de.type](de,Te);if(Oe&&Te.size!==Oe.size){ze=Pn(Te.sizingClasses(Oe),[ze],Te);var yt=Te.sizeMultiplier/Oe.sizeMultiplier;ze.height*=yt,ze.depth*=yt}return ze}else throw new o("Got group of unknown type: '"+de.type+"'")};function Qo(Vt,de){var Te=Pn(["base"],Vt,de),Oe=Pn(["strut"]);return Oe.style.height=Te.height+Te.depth+"em",Oe.style.verticalAlign=-Te.depth+"em",Te.children.unshift(Oe),Te}function Uo(Vt,de){var Te=null;Vt.length===1&&Vt[0].type==="tag"&&(Te=Vt[0].tag,Vt=Vt[0].body);for(var Oe=Hi(Vt,de,!0),ze=[],yt=[],Kt=0;Kt<Oe.length;Kt++)if(yt.push(Oe[Kt]),Oe[Kt].hasClass("mbin")||Oe[Kt].hasClass("mrel")||Oe[Kt].hasClass("allowbreak")){for(var gr=!1;Kt<Oe.length-1&&Oe[Kt+1].hasClass("mspace")&&!Oe[Kt+1].hasClass("newline");)Kt++,yt.push(Oe[Kt]),Oe[Kt].hasClass("nobreak")&&(gr=!0);gr||(ze.push(Qo(yt,de)),yt=[])}else Oe[Kt].hasClass("newline")&&(yt.pop(),yt.length>0&&(ze.push(Qo(yt,de)),yt=[]),ze.push(Oe[Kt]));yt.length>0&&ze.push(Qo(yt,de));var xr;Te&&(xr=Qo(Hi(Te,de,!0)),xr.classes=["tag"],ze.push(xr));var Pr=Pn(["katex-html"],ze);if(Pr.setAttribute("aria-hidden","true"),xr){var dn=xr.children[0];dn.style.height=Pr.height+Pr.depth+"em",dn.style.verticalAlign=-Pr.depth+"em"}return Pr}function jo(Vt){return new Q(Vt)}var Ao=function(){function Vt(Te,Oe){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=Te,this.attributes={},this.children=Oe||[]}var de=Vt.prototype;return de.setAttribute=function(Oe,ze){this.attributes[Oe]=ze},de.getAttribute=function(Oe){return this.attributes[Oe]},de.toNode=function(){var Oe=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var ze in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,ze)&&Oe.setAttribute(ze,this.attributes[ze]);for(var yt=0;yt<this.children.length;yt++)Oe.appendChild(this.children[yt].toNode());return Oe},de.toMarkup=function(){var Oe="<"+this.type;for(var ze in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,ze)&&(Oe+=" "+ze+'="',Oe+=v.escape(this.attributes[ze]),Oe+='"');Oe+=">";for(var yt=0;yt<this.children.length;yt++)Oe+=this.children[yt].toMarkup();return Oe+="</"+this.type+">",Oe},de.toText=function(){return this.children.map(function(Oe){return Oe.toText()}).join("")},Vt}(),fo=function(){function Vt(Te){this.text=void 0,this.text=Te}var de=Vt.prototype;return de.toNode=function(){return document.createTextNode(this.text)},de.toMarkup=function(){return v.escape(this.toText())},de.toText=function(){return this.text},Vt}(),Ro=function(){function Vt(Te){this.width=void 0,this.character=void 0,this.width=Te,Te>=.05555&&Te<=.05556?this.character="\u200A":Te>=.1666&&Te<=.1667?this.character="\u2009":Te>=.2222&&Te<=.2223?this.character="\u2005":Te>=.2777&&Te<=.2778?this.character="\u2005\u200A":Te>=-.05556&&Te<=-.05555?this.character="\u200A\u2063":Te>=-.1667&&Te<=-.1666?this.character="\u2009\u2063":Te>=-.2223&&Te<=-.2222?this.character="\u205F\u2063":Te>=-.2778&&Te<=-.2777?this.character="\u2005\u2063":this.character=null}var de=Vt.prototype;return de.toNode=function(){if(this.character)return document.createTextNode(this.character);var Oe=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return Oe.setAttribute("width",this.width+"em"),Oe},de.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},de.toText=function(){return this.character?this.character:" "},Vt}(),si={MathNode:Ao,TextNode:fo,SpaceNode:Ro,newDocumentFragment:jo},Ma=function(de,Te,Oe){return qe[Te][de]&&qe[Te][de].replace&&de.charCodeAt(0)!==55349&&!(De.hasOwnProperty(de)&&Oe&&(Oe.fontFamily&&Oe.fontFamily.substr(4,2)==="tt"||Oe.font&&Oe.font.substr(4,2)==="tt"))&&(de=qe[Te][de].replace),new si.TextNode(de)},Xo=function(de){return de.length===1?de[0]:new si.MathNode("mrow",de)},Io=function(de,Te){if(Te.fontFamily==="texttt")return"monospace";if(Te.fontFamily==="textsf")return Te.fontShape==="textit"&&Te.fontWeight==="textbf"?"sans-serif-bold-italic":Te.fontShape==="textit"?"sans-serif-italic":Te.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(Te.fontShape==="textit"&&Te.fontWeight==="textbf")return"bold-italic";if(Te.fontShape==="textit")return"italic";if(Te.fontWeight==="textbf")return"bold";var Oe=Te.font;if(!Oe||Oe==="mathnormal")return null;var ze=de.mode;if(Oe==="mathit")return"italic";if(Oe==="boldsymbol")return"bold-italic";if(Oe==="mathbf")return"bold";if(Oe==="mathbb")return"double-struck";if(Oe==="mathfrak")return"fraktur";if(Oe==="mathscr"||Oe==="mathcal")return"script";if(Oe==="mathsf")return"sans-serif";if(Oe==="mathtt")return"monospace";var yt=de.text;if(v.contains(["\\imath","\\jmath"],yt))return null;qe[ze][yt]&&qe[ze][yt].replace&&(yt=qe[ze][yt].replace);var Kt=tn.fontMap[Oe].fontName;return et(yt,Kt,ze)?tn.fontMap[Oe].variant:null},vo=function(de,Te,Oe){if(de.length===1){var ze=tr(de[0],Te);return Oe&&ze instanceof Ao&&ze.type==="mo"&&(ze.setAttribute("lspace","0em"),ze.setAttribute("rspace","0em")),[ze]}for(var yt=[],Kt,gr=0;gr<de.length;gr++){var xr=tr(de[gr],Te);if(xr instanceof Ao&&Kt instanceof Ao){if(xr.type==="mtext"&&Kt.type==="mtext"&&xr.getAttribute("mathvariant")===Kt.getAttribute("mathvariant")){var Pr;(Pr=Kt.children).push.apply(Pr,xr.children);continue}else if(xr.type==="mn"&&Kt.type==="mn"){var dn;(dn=Kt.children).push.apply(dn,xr.children);continue}else if(xr.type==="mi"&&xr.children.length===1&&Kt.type==="mn"){var bn=xr.children[0];if(bn instanceof fo&&bn.text==="."){var Nn;(Nn=Kt.children).push.apply(Nn,xr.children);continue}}else if(Kt.type==="mi"&&Kt.children.length===1){var Xn=Kt.children[0];if(Xn instanceof fo&&Xn.text==="\u0338"&&(xr.type==="mo"||xr.type==="mi"||xr.type==="mn")){var li=xr.children[0];li instanceof fo&&li.text.length>0&&(li.text=li.text.slice(0,1)+"\u0338"+li.text.slice(1),yt.pop())}}}yt.push(xr),Kt=xr}return yt},Co=function(de,Te,Oe){return Xo(vo(de,Te,Oe))},tr=function(de,Te){if(!de)return new si.MathNode("mrow");if(pa[de.type]){var Oe=pa[de.type](de,Te);return Oe}else throw new o("Got group of unknown type: '"+de.type+"'")};function Wr(Vt,de,Te,Oe){var ze=vo(Vt,Te),yt;ze.length===1&&ze[0]instanceof Ao&&v.contains(["mrow","mtable"],ze[0].type)?yt=ze[0]:yt=new si.MathNode("mrow",ze);var Kt=new si.MathNode("annotation",[new si.TextNode(de)]);Kt.setAttribute("encoding","application/x-tex");var gr=new si.MathNode("semantics",[yt,Kt]),xr=new si.MathNode("math",[gr]);xr.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var Pr=Oe?"katex":"katex-mathml";return tn.makeSpan([Pr],[xr])}var Yr=function(de){return new gt({style:de.displayMode?z.DISPLAY:z.TEXT,maxSize:de.maxSize,minRuleThickness:de.minRuleThickness})},pn=function(de,Te){if(Te.displayMode){var Oe=["katex-display"];Te.leqno&&Oe.push("leqno"),Te.fleqn&&Oe.push("fleqn"),de=tn.makeSpan(Oe,[de])}return de},Ze=function(de,Te,Oe){var ze=Yr(Oe),yt;if(Oe.output==="mathml")return Wr(de,Te,ze,!0);if(Oe.output==="html"){var Kt=Uo(de,ze);yt=tn.makeSpan(["katex"],[Kt])}else{var gr=Wr(de,Te,ze,!1),xr=Uo(de,ze);yt=tn.makeSpan(["katex"],[gr,xr])}return pn(yt,Oe)},Ht=function(de,Te,Oe){var ze=Yr(Oe),yt=Uo(de,ze),Kt=tn.makeSpan(["katex"],[yt]);return pn(Kt,Oe)},sr=Ze,er={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(de){var Te=new si.MathNode("mo",[new si.TextNode(er[de.substr(1)])]);return Te.setAttribute("stretchy","true"),Te},Or={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]},qr=function(de){return de.type==="ordgroup"?de.body.length:1},Hr=function(de,Te){function Oe(){var xr=4e5,Pr=de.label.substr(1);if(v.contains(["widehat","widecheck","widetilde","utilde"],Pr)){var dn=de,bn=qr(dn.base),Nn,Xn,li;if(bn>5)Pr==="widehat"||Pr==="widecheck"?(Nn=420,xr=2364,li=.42,Xn=Pr+"4"):(Nn=312,xr=2340,li=.34,Xn="tilde4");else{var Li=[1,1,2,2,3,3][bn];Pr==="widehat"||Pr==="widecheck"?(xr=[0,1062,2364,2364,2364][Li],Nn=[0,239,300,360,420][Li],li=[0,.24,.3,.3,.36,.42][Li],Xn=Pr+Li):(xr=[0,600,1033,2339,2340][Li],Nn=[0,260,286,306,312][Li],li=[0,.26,.286,.3,.306,.34][Li],Xn="tilde"+Li)}var ea=new ne(Xn),Sa=new Ee([ea],{width:"100%",height:li+"em",viewBox:"0 0 "+xr+" "+Nn,preserveAspectRatio:"none"});return{span:tn.makeSvgSpan([],[Sa],Te),minWidth:0,height:li}}else{var xa=[],Da=Or[Pr],oo=Da[0],Qa=Da[1],So=Da[2],Ea=So/1e3,no=oo.length,Yo,Ko;if(no===1){var so=Da[3];Yo=["hide-tail"],Ko=[so]}else if(no===2)Yo=["halfarrow-left","halfarrow-right"],Ko=["xMinYMin","xMaxYMin"];else if(no===3)Yo=["brace-left","brace-center","brace-right"],Ko=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
|
`+no+" children.");for(var ls=0;ls<no;ls++){var hs=new ne(oo[ls]),fs=new Ee([hs],{width:"400em",height:Ea+"em",viewBox:"0 0 "+xr+" "+So,preserveAspectRatio:Ko[ls]+" slice"}),mo=tn.makeSvgSpan([Yo[ls]],[fs],Te);if(no===1)return{span:mo,minWidth:Qa,height:Ea};mo.style.height=Ea+"em",xa.push(mo)}return{span:tn.makeSpan(["stretchy"],xa,Te),minWidth:Qa,height:Ea}}}var ze=Oe(),yt=ze.span,Kt=ze.minWidth,gr=ze.height;return yt.height=gr,yt.style.height=gr+"em",Kt>0&&(yt.style.minWidth=Kt+"em"),yt},un=function(de,Te,Oe,ze){var yt,Kt=de.height+de.depth+2*Oe;if(/fbox|color/.test(Te)){if(yt=tn.makeSpan(["stretchy",Te],[],ze),Te==="fbox"){var gr=ze.color&&ze.getColor();gr&&(yt.style.borderColor=gr)}}else{var xr=[];/^[bx]cancel$/.test(Te)&&xr.push(new ge({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(Te)&&xr.push(new ge({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var Pr=new Ee(xr,{width:"100%",height:Kt+"em"});yt=tn.makeSvgSpan([],[Pr],ze)}return yt.height=Kt,yt.style.height=Kt+"em",yt},fn={encloseSpan:un,mathMLnode:Lr,svgSpan:Hr},yn=function(de,Te){var Oe,ze,yt=On(de,"supsub"),Kt;yt?(ze=Vn(yt.base,"accent"),Oe=ze.base,yt.base=Oe,Kt=Ge(_a(yt,Te)),yt.base=ze):(ze=Vn(de,"accent"),Oe=ze.base);var gr=_a(Oe,Te.havingCrampedStyle()),xr=ze.isShifty&&v.isCharacterBox(Oe),Pr=0;if(xr){var dn=v.getBaseElem(Oe),bn=_a(dn,Te.havingCrampedStyle());Pr=Ie(bn).skew}var Nn=Math.min(gr.height,Te.fontMetrics().xHeight),Xn;if(ze.isStretchy)Xn=fn.svgSpan(ze,Te),Xn=tn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:gr},{type:"elem",elem:Xn,wrapperClasses:["svg-align"],wrapperStyle:Pr>0?{width:"calc(100% - "+2*Pr+"em)",marginLeft:2*Pr+"em"}:void 0}]},Te);else{var li,Li;ze.label==="\\vec"?(li=tn.staticSvg("vec",Te),Li=tn.svgData.vec[1]):(li=tn.makeOrd({mode:ze.mode,text:ze.label},Te,"textord"),li=Ie(li),li.italic=0,Li=li.width),Xn=tn.makeSpan(["accent-body"],[li]);var ea=ze.label==="\\textcircled";ea&&(Xn.classes.push("accent-full"),Nn=gr.height);var Sa=Pr;ea||(Sa-=Li/2),Xn.style.left=Sa+"em",ze.label==="\\textcircled"&&(Xn.style.top=".2em"),Xn=tn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:gr},{type:"kern",size:-Nn},{type:"elem",elem:Xn}]},Te)}var xa=tn.makeSpan(["mord","accent"],[Xn],Te);return Kt?(Kt.children[0]=xa,Kt.height=Math.max(xa.height,Kt.height),Kt.classes[0]="mord",Kt):xa},St=function(de,Te){var Oe=de.isStretchy?fn.mathMLnode(de.label):new si.MathNode("mo",[Ma(de.label,de.mode)]),ze=new si.MathNode("mover",[tr(de.base,Te),Oe]);return ze.setAttribute("accent","true"),ze},qt=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(Vt){return"\\"+Vt}).join("|"));ui({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(de,Te){var Oe=Te[0],ze=!qt.test(de.funcName),yt=!ze||de.funcName==="\\widehat"||de.funcName==="\\widetilde"||de.funcName==="\\widecheck";return{type:"accent",mode:de.parser.mode,label:de.funcName,isStretchy:ze,isShifty:yt,base:Oe}},htmlBuilder:yn,mathmlBuilder:St}),ui({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(de,Te){var Oe=Te[0];return{type:"accent",mode:de.parser.mode,label:de.funcName,isStretchy:!1,isShifty:!0,base:Oe}},htmlBuilder:yn,mathmlBuilder:St}),ui({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(de,Te){var Oe=de.parser,ze=de.funcName,yt=Te[0];return{type:"accentUnder",mode:Oe.mode,label:ze,base:yt}},htmlBuilder:function(de,Te){var Oe=_a(de.base,Te),ze=fn.svgSpan(de,Te),yt=de.label==="\\utilde"?.12:0,Kt=tn.makeVList({positionType:"bottom",positionData:ze.height+yt,children:[{type:"elem",elem:ze,wrapperClasses:["svg-align"]},{type:"kern",size:yt},{type:"elem",elem:Oe}]},Te);return tn.makeSpan(["mord","accentunder"],[Kt],Te)},mathmlBuilder:function(de,Te){var Oe=fn.mathMLnode(de.label),ze=new si.MathNode("munder",[tr(de.base,Te),Oe]);return ze.setAttribute("accentunder","true"),ze}});var ur=function(de){var Te=new si.MathNode("mpadded",de?[de]:[]);return Te.setAttribute("width","+0.6em"),Te.setAttribute("lspace","0.3em"),Te};ui({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(de,Te,Oe){var ze=de.parser,yt=de.funcName;return{type:"xArrow",mode:ze.mode,label:yt,body:Te[0],below:Oe[0]}},htmlBuilder:function(de,Te){var Oe=Te.style,ze=Te.havingStyle(Oe.sup()),yt=tn.wrapFragment(_a(de.body,ze,Te),Te);yt.classes.push("x-arrow-pad");var Kt;de.below&&(ze=Te.havingStyle(Oe.sub()),Kt=tn.wrapFragment(_a(de.below,ze,Te),Te),Kt.classes.push("x-arrow-pad"));var gr=fn.svgSpan(de,Te),xr=-Te.fontMetrics().axisHeight+.5*gr.height,Pr=-Te.fontMetrics().axisHeight-.5*gr.height-.111;(yt.depth>.25||de.label==="\\xleftequilibrium")&&(Pr-=yt.depth);var dn;if(Kt){var bn=-Te.fontMetrics().axisHeight+Kt.height+.5*gr.height+.111;dn=tn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:yt,shift:Pr},{type:"elem",elem:gr,shift:xr},{type:"elem",elem:Kt,shift:bn}]},Te)}else dn=tn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:yt,shift:Pr},{type:"elem",elem:gr,shift:xr}]},Te);return dn.children[0].children[0].children[1].classes.push("svg-align"),tn.makeSpan(["mrel","x-arrow"],[dn],Te)},mathmlBuilder:function(de,Te){var Oe=fn.mathMLnode(de.label),ze;if(de.body){var yt=ur(tr(de.body,Te));if(de.below){var Kt=ur(tr(de.below,Te));ze=new si.MathNode("munderover",[Oe,Kt,yt])}else ze=new si.MathNode("mover",[Oe,yt])}else if(de.below){var gr=ur(tr(de.below,Te));ze=new si.MathNode("munder",[Oe,gr])}else ze=ur(),ze=new si.MathNode("mover",[Oe,ze]);return ze}}),ui({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(de,Te){for(var Oe=de.parser,ze=Vn(Te[0],"ordgroup"),yt=ze.body,Kt="",gr=0;gr<yt.length;gr++){var xr=Vn(yt[gr],"textord");Kt+=xr.text}var Pr=parseInt(Kt);if(isNaN(Pr))throw new o("\\@char has non-numeric argument "+Kt);return{type:"textord",mode:Oe.mode,text:String.fromCharCode(Pr)}}});var yr=function(de,Te){var Oe=Hi(de.body,Te.withColor(de.color),!1);return tn.makeFragment(Oe)},Ur=function(de,Te){var Oe=vo(de.body,Te.withColor(de.color)),ze=new si.MathNode("mstyle",Oe);return ze.setAttribute("mathcolor",de.color),ze};ui({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(de,Te){var Oe=de.parser,ze=Vn(Te[0],"color-token").color,yt=Te[1];return{type:"color",mode:Oe.mode,color:ze,body:Dn(yt)}},htmlBuilder:yr,mathmlBuilder:Ur}),ui({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(de,Te){var Oe=de.parser,ze=de.breakOnTokenText,yt=Vn(Te[0],"color-token").color;Oe.gullet.macros.set("\\current@color",yt);var Kt=Oe.parseExpression(!0,ze);return{type:"color",mode:Oe.mode,color:yt,body:Kt}},htmlBuilder:yr,mathmlBuilder:Ur}),ui({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(de,Te,Oe){var ze=de.parser,yt=de.funcName,Kt=Oe[0],gr=yt==="\\cr",xr=!1;return gr||(ze.settings.displayMode&&ze.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?xr=!1:xr=!0),{type:"cr",mode:ze.mode,newLine:xr,newRow:gr,size:Kt&&Vn(Kt,"size").value}},htmlBuilder:function(de,Te){if(de.newRow)throw new o("\\cr valid only within a tabular/array environment");var Oe=tn.makeSpan(["mspace"],[],Te);return de.newLine&&(Oe.classes.push("newline"),de.size&&(Oe.style.marginTop=it(de.size,Te)+"em")),Oe},mathmlBuilder:function(de,Te){var Oe=new si.MathNode("mspace");return de.newLine&&(Oe.setAttribute("linebreak","newline"),de.size&&Oe.setAttribute("height",it(de.size,Te)+"em")),Oe}});var Zr=function(de,Te,Oe){var ze=qe.math[de]&&qe.math[de].replace,yt=et(ze||de,Te,Oe);if(!yt)throw new Error("Unsupported symbol "+de+" and font size "+Te+".");return yt},cn=function(de,Te,Oe,ze){var yt=Oe.havingBaseStyle(Te),Kt=tn.makeSpan(ze.concat(yt.sizingClasses(Oe)),[de],Oe),gr=yt.sizeMultiplier/Oe.sizeMultiplier;return Kt.height*=gr,Kt.depth*=gr,Kt.maxFontSize=yt.sizeMultiplier,Kt},_n=function(de,Te,Oe){var ze=Te.havingBaseStyle(Oe),yt=(1-Te.sizeMultiplier/ze.sizeMultiplier)*Te.fontMetrics().axisHeight;de.classes.push("delimcenter"),de.style.top=yt+"em",de.height-=yt,de.depth+=yt},Fn=function(de,Te,Oe,ze,yt,Kt){var gr=tn.makeSymbol(de,"Main-Regular",yt,ze),xr=cn(gr,Te,ze,Kt);return Oe&&_n(xr,ze,Te),xr},qn=function(de,Te,Oe,ze){return tn.makeSymbol(de,"Size"+Te+"-Regular",Oe,ze)},Wn=function(de,Te,Oe,ze,yt,Kt){var gr=qn(de,Te,yt,ze),xr=cn(tn.makeSpan(["delimsizing","size"+Te],[gr],ze),z.TEXT,ze,Kt);return Oe&&_n(xr,ze,z.TEXT),xr},Rn=function(de,Te,Oe){var ze;Te==="Size1-Regular"?ze="delim-size1":ze="delim-size4";var yt=tn.makeSpan(["delimsizinginner",ze],[tn.makeSpan([],[tn.makeSymbol(de,Te,Oe)])]);return{type:"elem",elem:yt}},Kn={type:"kern",size:-.005},Gn=function(de,Te,Oe,ze,yt,Kt){var gr,xr,Pr,dn;gr=Pr=dn=de,xr=null;var bn="Size1-Regular";de==="\\uparrow"?Pr=dn="\u23D0":de==="\\Uparrow"?Pr=dn="\u2016":de==="\\downarrow"?gr=Pr="\u23D0":de==="\\Downarrow"?gr=Pr="\u2016":de==="\\updownarrow"?(gr="\\uparrow",Pr="\u23D0",dn="\\downarrow"):de==="\\Updownarrow"?(gr="\\Uparrow",Pr="\u2016",dn="\\Downarrow"):de==="["||de==="\\lbrack"?(gr="\u23A1",Pr="\u23A2",dn="\u23A3",bn="Size4-Regular"):de==="]"||de==="\\rbrack"?(gr="\u23A4",Pr="\u23A5",dn="\u23A6",bn="Size4-Regular"):de==="\\lfloor"||de==="\u230A"?(Pr=gr="\u23A2",dn="\u23A3",bn="Size4-Regular"):de==="\\lceil"||de==="\u2308"?(gr="\u23A1",Pr=dn="\u23A2",bn="Size4-Regular"):de==="\\rfloor"||de==="\u230B"?(Pr=gr="\u23A5",dn="\u23A6",bn="Size4-Regular"):de==="\\rceil"||de==="\u2309"?(gr="\u23A4",Pr=dn="\u23A5",bn="Size4-Regular"):de==="("||de==="\\lparen"?(gr="\u239B",Pr="\u239C",dn="\u239D",bn="Size4-Regular"):de===")"||de==="\\rparen"?(gr="\u239E",Pr="\u239F",dn="\u23A0",bn="Size4-Regular"):de==="\\{"||de==="\\lbrace"?(gr="\u23A7",xr="\u23A8",dn="\u23A9",Pr="\u23AA",bn="Size4-Regular"):de==="\\}"||de==="\\rbrace"?(gr="\u23AB",xr="\u23AC",dn="\u23AD",Pr="\u23AA",bn="Size4-Regular"):de==="\\lgroup"||de==="\u27EE"?(gr="\u23A7",dn="\u23A9",Pr="\u23AA",bn="Size4-Regular"):de==="\\rgroup"||de==="\u27EF"?(gr="\u23AB",dn="\u23AD",Pr="\u23AA",bn="Size4-Regular"):de==="\\lmoustache"||de==="\u23B0"?(gr="\u23A7",dn="\u23AD",Pr="\u23AA",bn="Size4-Regular"):(de==="\\rmoustache"||de==="\u23B1")&&(gr="\u23AB",dn="\u23A9",Pr="\u23AA",bn="Size4-Regular");var Nn=Zr(gr,bn,yt),Xn=Nn.height+Nn.depth,li=Zr(Pr,bn,yt),Li=li.height+li.depth,ea=Zr(dn,bn,yt),Sa=ea.height+ea.depth,xa=0,Da=1;if(xr!==null){var oo=Zr(xr,bn,yt);xa=oo.height+oo.depth,Da=2}var Qa=Xn+Sa+xa,So=Math.max(0,Math.ceil((Te-Qa)/(Da*Li))),Ea=Qa+So*Da*Li,no=ze.fontMetrics().axisHeight;Oe&&(no*=ze.sizeMultiplier);var Yo=Ea/2-no,Ko=(So+1)*.005-Li,so=[];if(so.push(Rn(dn,bn,yt)),xr===null)for(var ls=0;ls<So;ls++)so.push(Kn),so.push(Rn(Pr,bn,yt));else{for(var hs=0;hs<So;hs++)so.push(Kn),so.push(Rn(Pr,bn,yt));so.push({type:"kern",size:Ko}),so.push(Rn(Pr,bn,yt)),so.push(Kn),so.push(Rn(xr,bn,yt));for(var fs=0;fs<So;fs++)so.push(Kn),so.push(Rn(Pr,bn,yt))}so.push({type:"kern",size:Ko}),so.push(Rn(Pr,bn,yt)),so.push(Kn),so.push(Rn(gr,bn,yt));var mo=ze.havingBaseStyle(z.TEXT),ks=tn.makeVList({positionType:"bottom",positionData:Yo,children:so},mo);return cn(tn.makeSpan(["delimsizing","mult"],[ks],mo),z.TEXT,ze,Kt)},In=80,kn=.08,ti=function(de,Te,Oe,ze,yt){var Kt=ye(de,ze,Oe),gr=new ne(de,Kt),xr=new Ee([gr],{width:"400em",height:Te+"em",viewBox:"0 0 400000 "+Oe,preserveAspectRatio:"xMinYMin slice"});return tn.makeSvgSpan(["hide-tail"],[xr],yt)},or=function(de,Te){var Oe=Te.havingBaseSizing(),ze=Kr("\\surd",de*Oe.sizeMultiplier,_r,Oe),yt=Oe.sizeMultiplier,Kt=Math.max(0,Te.minRuleThickness-Te.fontMetrics().sqrtRuleThickness),gr,xr=0,Pr=0,dn=0,bn;return ze.type==="small"?(dn=1e3+1e3*Kt+In,de<1?yt=1:de<1.4&&(yt=.7),xr=(1+Kt+kn)/yt,Pr=(1+Kt)/yt,gr=ti("sqrtMain",xr,dn,Kt,Te),gr.style.minWidth="0.853em",bn=.833/yt):ze.type==="large"?(dn=(1e3+In)*Wt[ze.size],Pr=(Wt[ze.size]+Kt)/yt,xr=(Wt[ze.size]+Kt+kn)/yt,gr=ti("sqrtSize"+ze.size,xr,dn,Kt,Te),gr.style.minWidth="1.02em",bn=1/yt):(xr=de+Kt+kn,Pr=de+Kt,dn=Math.floor(1e3*de+Kt)+In,gr=ti("sqrtTall",xr,dn,Kt,Te),gr.style.minWidth="0.742em",bn=1.056),gr.height=Pr,gr.style.height=xr+"em",{span:gr,advanceWidth:bn,ruleWidth:(Te.fontMetrics().sqrtRuleThickness+Kt)*yt}},br=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],Mr=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Sr=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Wt=[0,1.2,1.8,2.4,3],fr=function(de,Te,Oe,ze,yt){if(de==="<"||de==="\\lt"||de==="\u27E8"?de="\\langle":(de===">"||de==="\\gt"||de==="\u27E9")&&(de="\\rangle"),v.contains(br,de)||v.contains(Sr,de))return Wn(de,Te,!1,Oe,ze,yt);if(v.contains(Mr,de))return Gn(de,Wt[Te],!1,Oe,ze,yt);throw new o("Illegal delimiter: '"+de+"'")},Jt=[{type:"small",style:z.SCRIPTSCRIPT},{type:"small",style:z.SCRIPT},{type:"small",style:z.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Tr=[{type:"small",style:z.SCRIPTSCRIPT},{type:"small",style:z.SCRIPT},{type:"small",style:z.TEXT},{type:"stack"}],_r=[{type:"small",style:z.SCRIPTSCRIPT},{type:"small",style:z.SCRIPT},{type:"small",style:z.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Qr=function(de){if(de.type==="small")return"Main-Regular";if(de.type==="large")return"Size"+de.size+"-Regular";if(de.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+de.type+"' here.")},Kr=function(de,Te,Oe,ze){for(var yt=Math.min(2,3-ze.style.size),Kt=yt;Kt<Oe.length&&!(Oe[Kt].type==="stack");Kt++){var gr=Zr(de,Qr(Oe[Kt]),"math"),xr=gr.height+gr.depth;if(Oe[Kt].type==="small"){var Pr=ze.havingBaseStyle(Oe[Kt].style);xr*=Pr.sizeMultiplier}if(xr>Te)return Oe[Kt]}return Oe[Oe.length-1]},en=function(de,Te,Oe,ze,yt,Kt){de==="<"||de==="\\lt"||de==="\u27E8"?de="\\langle":(de===">"||de==="\\gt"||de==="\u27E9")&&(de="\\rangle");var gr;v.contains(Sr,de)?gr=Jt:v.contains(br,de)?gr=_r:gr=Tr;var xr=Kr(de,Te,gr,ze);return xr.type==="small"?Fn(de,xr.style,Oe,ze,yt,Kt):xr.type==="large"?Wn(de,xr.size,Oe,ze,yt,Kt):Gn(de,Te,Oe,ze,yt,Kt)},An=function(de,Te,Oe,ze,yt,Kt){var gr=ze.fontMetrics().axisHeight*ze.sizeMultiplier,xr=901,Pr=5/ze.fontMetrics().ptPerEm,dn=Math.max(Te-gr,Oe+gr),bn=Math.max(dn/500*xr,2*dn-Pr);return en(de,bn,!0,ze,yt,Kt)},xn={sqrtImage:or,sizedDelim:fr,customSizedDelim:en,leftRightDelim:An},Cn={"\\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}},jn=["(","\\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(Vt,de){var Te=zi(Vt);if(Te&&v.contains(jn,Te.text))return Te;throw new o("Invalid delimiter: '"+(Te?Te.text:JSON.stringify(Vt))+"' after '"+de.funcName+"'",Vt)}ui({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(de,Te){var Oe=di(Te[0],de);return{type:"delimsizing",mode:de.parser.mode,size:Cn[de.funcName].size,mclass:Cn[de.funcName].mclass,delim:Oe.text}},htmlBuilder:function(de,Te){return de.delim==="."?tn.makeSpan([de.mclass]):xn.sizedDelim(de.delim,de.size,Te,de.mode,[de.mclass])},mathmlBuilder:function(de){var Te=[];de.delim!=="."&&Te.push(Ma(de.delim,de.mode));var Oe=new si.MathNode("mo",Te);return de.mclass==="mopen"||de.mclass==="mclose"?Oe.setAttribute("fence","true"):Oe.setAttribute("fence","false"),Oe}});function Ei(Vt){if(!Vt.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}ui({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(de,Te){var Oe=de.parser.gullet.macros.get("\\current@color");if(Oe&&typeof Oe!="string")throw new o("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:de.parser.mode,delim:di(Te[0],de).text,color:Oe}}}),ui({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(de,Te){var Oe=di(Te[0],de),ze=de.parser;++ze.leftrightDepth;var yt=ze.parseExpression(!1);--ze.leftrightDepth,ze.expect("\\right",!1);var Kt=Vn(ze.parseFunction(),"leftright-right");return{type:"leftright",mode:ze.mode,body:yt,left:Oe.text,right:Kt.delim,rightColor:Kt.color}},htmlBuilder:function(de,Te){Ei(de);for(var Oe=Hi(de.body,Te,!0,["mopen","mclose"]),ze=0,yt=0,Kt=!1,gr=0;gr<Oe.length;gr++)Oe[gr].isMiddle?Kt=!0:(ze=Math.max(Oe[gr].height,ze),yt=Math.max(Oe[gr].depth,yt));ze*=Te.sizeMultiplier,yt*=Te.sizeMultiplier;var xr;if(de.left==="."?xr=lo(Te,["mopen"]):xr=xn.leftRightDelim(de.left,ze,yt,Te,de.mode,["mopen"]),Oe.unshift(xr),Kt)for(var Pr=1;Pr<Oe.length;Pr++){var dn=Oe[Pr],bn=dn.isMiddle;bn&&(Oe[Pr]=xn.leftRightDelim(bn.delim,ze,yt,bn.options,de.mode,[]))}var Nn;if(de.right===".")Nn=lo(Te,["mclose"]);else{var Xn=de.rightColor?Te.withColor(de.rightColor):Te;Nn=xn.leftRightDelim(de.right,ze,yt,Xn,de.mode,["mclose"])}return Oe.push(Nn),tn.makeSpan(["minner"],Oe,Te)},mathmlBuilder:function(de,Te){Ei(de);var Oe=vo(de.body,Te);if(de.left!=="."){var ze=new si.MathNode("mo",[Ma(de.left,de.mode)]);ze.setAttribute("fence","true"),Oe.unshift(ze)}if(de.right!=="."){var yt=new si.MathNode("mo",[Ma(de.right,de.mode)]);yt.setAttribute("fence","true"),de.rightColor&&yt.setAttribute("mathcolor",de.rightColor),Oe.push(yt)}return Xo(Oe)}}),ui({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(de,Te){var Oe=di(Te[0],de);if(!de.parser.leftrightDepth)throw new o("\\middle without preceding \\left",Oe);return{type:"middle",mode:de.parser.mode,delim:Oe.text}},htmlBuilder:function(de,Te){var Oe;if(de.delim===".")Oe=lo(Te,[]);else{Oe=xn.sizedDelim(de.delim,1,Te,de.mode,[]);var ze={delim:de.delim,options:Te};Oe.isMiddle=ze}return Oe},mathmlBuilder:function(de,Te){var Oe=de.delim==="\\vert"||de.delim==="|"?Ma("|","text"):Ma(de.delim,de.mode),ze=new si.MathNode("mo",[Oe]);return ze.setAttribute("fence","true"),ze.setAttribute("lspace","0.05em"),ze.setAttribute("rspace","0.05em"),ze}});var Ii=function(de,Te){var Oe=tn.wrapFragment(_a(de.body,Te),Te),ze=de.label.substr(1),yt=Te.sizeMultiplier,Kt,gr=0,xr=v.isCharacterBox(de.body);if(ze==="sout")Kt=tn.makeSpan(["stretchy","sout"]),Kt.height=Te.fontMetrics().defaultRuleThickness/yt,gr=-.5*Te.fontMetrics().xHeight;else{/cancel/.test(ze)?xr||Oe.classes.push("cancel-pad"):Oe.classes.push("boxpad");var Pr=0,dn=0;/box/.test(ze)?(dn=Math.max(Te.fontMetrics().fboxrule,Te.minRuleThickness),Pr=Te.fontMetrics().fboxsep+(ze==="colorbox"?0:dn)):Pr=xr?.2:0,Kt=fn.encloseSpan(Oe,ze,Pr,Te),/fbox|boxed|fcolorbox/.test(ze)&&(Kt.style.borderStyle="solid",Kt.style.borderWidth=dn+"em"),gr=Oe.depth+Pr,de.backgroundColor&&(Kt.style.backgroundColor=de.backgroundColor,de.borderColor&&(Kt.style.borderColor=de.borderColor))}var bn;return de.backgroundColor?bn=tn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Kt,shift:gr},{type:"elem",elem:Oe,shift:0}]},Te):bn=tn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Oe,shift:0},{type:"elem",elem:Kt,shift:gr,wrapperClasses:/cancel/.test(ze)?["svg-align"]:[]}]},Te),/cancel/.test(ze)&&(bn.height=Oe.height,bn.depth=Oe.depth),/cancel/.test(ze)&&!xr?tn.makeSpan(["mord","cancel-lap"],[bn],Te):tn.makeSpan(["mord"],[bn],Te)},vi=function(de,Te){var Oe=0,ze=new si.MathNode(de.label.indexOf("colorbox")>-1?"mpadded":"menclose",[tr(de.body,Te)]);switch(de.label){case"\\cancel":ze.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":ze.setAttribute("notation","downdiagonalstrike");break;case"\\sout":ze.setAttribute("notation","horizontalstrike");break;case"\\fbox":ze.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(Oe=Te.fontMetrics().fboxsep*Te.fontMetrics().ptPerEm,ze.setAttribute("width","+"+2*Oe+"pt"),ze.setAttribute("height","+"+2*Oe+"pt"),ze.setAttribute("lspace",Oe+"pt"),ze.setAttribute("voffset",Oe+"pt"),de.label==="\\fcolorbox"){var yt=Math.max(Te.fontMetrics().fboxrule,Te.minRuleThickness);ze.setAttribute("style","border: "+yt+"em solid "+String(de.borderColor))}break;case"\\xcancel":ze.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return de.backgroundColor&&ze.setAttribute("mathbackground",de.backgroundColor),ze};ui({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(de,Te,Oe){var ze=de.parser,yt=de.funcName,Kt=Vn(Te[0],"color-token").color,gr=Te[1];return{type:"enclose",mode:ze.mode,label:yt,backgroundColor:Kt,body:gr}},htmlBuilder:Ii,mathmlBuilder:vi}),ui({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(de,Te,Oe){var ze=de.parser,yt=de.funcName,Kt=Vn(Te[0],"color-token").color,gr=Vn(Te[1],"color-token").color,xr=Te[2];return{type:"enclose",mode:ze.mode,label:yt,backgroundColor:gr,borderColor:Kt,body:xr}},htmlBuilder:Ii,mathmlBuilder:vi}),ui({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(de,Te){var Oe=de.parser;return{type:"enclose",mode:Oe.mode,label:"\\fbox",body:Te[0]}}}),ui({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(de,Te,Oe){var ze=de.parser,yt=de.funcName,Kt=Te[0];return{type:"enclose",mode:ze.mode,label:yt,body:Kt}},htmlBuilder:Ii,mathmlBuilder:vi});var wi={};function ri(Vt){for(var de=Vt.type,Te=Vt.names,Oe=Vt.props,ze=Vt.handler,yt=Vt.htmlBuilder,Kt=Vt.mathmlBuilder,gr={type:de,numArgs:Oe.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:ze},xr=0;xr<Te.length;++xr)wi[Te[xr]]=gr;yt&&(Bi[de]=yt),Kt&&(pa[de]=Kt)}function Un(Vt){var de=[];Vt.consumeSpaces();for(var Te=Vt.fetch().text;Te==="\\hline"||Te==="\\hdashline";)Vt.consume(),de.push(Te==="\\hdashline"),Vt.consumeSpaces(),Te=Vt.fetch().text;return de}function ci(Vt,de,Te){var Oe=de.hskipBeforeAndAfter,ze=de.addJot,yt=de.cols,Kt=de.arraystretch,gr=de.colSeparationType;if(Vt.gullet.beginGroup(),Vt.gullet.macros.set("\\\\","\\cr"),!Kt){var xr=Vt.gullet.expandMacroAsText("\\arraystretch");if(xr==null)Kt=1;else if(Kt=parseFloat(xr),!Kt||Kt<0)throw new o("Invalid \\arraystretch: "+xr)}Vt.gullet.beginGroup();var Pr=[],dn=[Pr],bn=[],Nn=[];for(Nn.push(Un(Vt));;){var Xn=Vt.parseExpression(!1,"\\cr");Vt.gullet.endGroup(),Vt.gullet.beginGroup(),Xn={type:"ordgroup",mode:Vt.mode,body:Xn},Te&&(Xn={type:"styling",mode:Vt.mode,style:Te,body:[Xn]}),Pr.push(Xn);var li=Vt.fetch().text;if(li==="&")Vt.consume();else if(li==="\\end"){Pr.length===1&&Xn.type==="styling"&&Xn.body[0].body.length===0&&dn.pop(),Nn.length<dn.length+1&&Nn.push([]);break}else if(li==="\\cr"){var Li=Vn(Vt.parseFunction(),"cr");bn.push(Li.size),Nn.push(Un(Vt)),Pr=[],dn.push(Pr)}else throw new o("Expected & or \\\\ or \\cr or \\end",Vt.nextToken)}return Vt.gullet.endGroup(),Vt.gullet.endGroup(),{type:"array",mode:Vt.mode,addJot:ze,arraystretch:Kt,body:dn,cols:yt,rowGaps:bn,hskipBeforeAndAfter:Oe,hLinesBeforeRow:Nn,colSeparationType:gr}}function mi(Vt){return Vt.substr(0,1)==="d"?"display":"text"}var Ki=function(de,Te){var Oe,ze,yt=de.body.length,Kt=de.hLinesBeforeRow,gr=0,xr=new Array(yt),Pr=[],dn=Math.max(Te.fontMetrics().arrayRuleWidth,Te.minRuleThickness),bn=1/Te.fontMetrics().ptPerEm,Nn=5*bn;if(de.colSeparationType&&de.colSeparationType==="small"){var Xn=Te.havingStyle(z.SCRIPT).sizeMultiplier;Nn=.2778*(Xn/Te.sizeMultiplier)}var li=12*bn,Li=3*bn,ea=de.arraystretch*li,Sa=.7*ea,xa=.3*ea,Da=0;function oo(Zs){for(var Ra=0;Ra<Zs.length;++Ra)Ra>0&&(Da+=.25),Pr.push({pos:Da,isDashed:Zs[Ra]})}for(oo(Kt[0]),Oe=0;Oe<de.body.length;++Oe){var Qa=de.body[Oe],So=Sa,Ea=xa;gr<Qa.length&&(gr=Qa.length);var no=new Array(Qa.length);for(ze=0;ze<Qa.length;++ze){var Yo=_a(Qa[ze],Te);Ea<Yo.depth&&(Ea=Yo.depth),So<Yo.height&&(So=Yo.height),no[ze]=Yo}var Ko=de.rowGaps[Oe],so=0;Ko&&(so=it(Ko,Te),so>0&&(so+=xa,Ea<so&&(Ea=so),so=0)),de.addJot&&(Ea+=Li),no.height=So,no.depth=Ea,Da+=So,no.pos=Da,Da+=Ea+so,xr[Oe]=no,oo(Kt[Oe+1])}var ls=Da/2+Te.fontMetrics().axisHeight,hs=de.cols||[],fs=[],mo,ks;for(ze=0,ks=0;ze<gr||ks<hs.length;++ze,++ks){for(var rs=hs[ks]||{},pl=!0;rs.type==="separator";){if(pl||(mo=tn.makeSpan(["arraycolsep"],[]),mo.style.width=Te.fontMetrics().doubleRuleSep+"em",fs.push(mo)),rs.separator==="|"||rs.separator===":"){var ml=rs.separator==="|"?"solid":"dashed",bs=tn.makeSpan(["vertical-separator"],[],Te);bs.style.height=Da+"em",bs.style.borderRightWidth=dn+"em",bs.style.borderRightStyle=ml,bs.style.margin="0 -"+dn/2+"em",bs.style.verticalAlign=-(Da-ls)+"em",fs.push(bs)}else throw new o("Invalid separator type: "+rs.separator);ks++,rs=hs[ks]||{},pl=!1}if(ze>=gr)continue;var No=void 0;(ze>0||de.hskipBeforeAndAfter)&&(No=v.deflt(rs.pregap,Nn),No!==0&&(mo=tn.makeSpan(["arraycolsep"],[]),mo.style.width=No+"em",fs.push(mo)));var Ri=[];for(Oe=0;Oe<yt;++Oe){var il=xr[Oe],al=il[ze];if(!al)continue;var ol=il.pos-ls;al.depth=il.depth,al.height=il.height,Ri.push({type:"elem",elem:al,shift:ol})}Ri=tn.makeVList({positionType:"individualShift",children:Ri},Te),Ri=tn.makeSpan(["col-align-"+(rs.align||"c")],[Ri]),fs.push(Ri),(ze<gr-1||de.hskipBeforeAndAfter)&&(No=v.deflt(rs.postgap,Nn),No!==0&&(mo=tn.makeSpan(["arraycolsep"],[]),mo.style.width=No+"em",fs.push(mo)))}if(xr=tn.makeSpan(["mtable"],fs),Pr.length>0){for(var ns=tn.makeLineSpan("hline",Te,dn),sl=tn.makeLineSpan("hdashline",Te,dn),Qs=[{type:"elem",elem:xr,shift:0}];Pr.length>0;){var Ps=Pr.pop(),Ys=Ps.pos-ls;Ps.isDashed?Qs.push({type:"elem",elem:sl,shift:Ys}):Qs.push({type:"elem",elem:ns,shift:Ys})}xr=tn.makeVList({positionType:"individualShift",children:Qs},Te)}return tn.makeSpan(["mord"],[xr],Te)},ii={c:"center ",l:"left ",r:"right "},fi=function(de,Te){var Oe=new si.MathNode("mtable",de.body.map(function(Da){return new si.MathNode("mtr",Da.map(function(oo){return new si.MathNode("mtd",[tr(oo,Te)])}))})),ze=de.arraystretch===.5?.1:.16+de.arraystretch-1+(de.addJot?.09:0);Oe.setAttribute("rowspacing",ze+"em");var yt="",Kt="";if(de.cols){var gr=de.cols,xr="",Pr=!1,dn=0,bn=gr.length;gr[0].type==="separator"&&(yt+="top ",dn=1),gr[gr.length-1].type==="separator"&&(yt+="bottom ",bn-=1);for(var Nn=dn;Nn<bn;Nn++)gr[Nn].type==="align"?(Kt+=ii[gr[Nn].align],Pr&&(xr+="none "),Pr=!0):gr[Nn].type==="separator"&&(Pr&&(xr+=gr[Nn].separator==="|"?"solid ":"dashed ",Pr=!1));Oe.setAttribute("columnalign",Kt.trim()),/[sd]/.test(xr)&&Oe.setAttribute("columnlines",xr.trim())}if(de.colSeparationType==="align"){for(var Xn=de.cols||[],li="",Li=1;Li<Xn.length;Li++)li+=Li%2?"0em ":"1em ";Oe.setAttribute("columnspacing",li.trim())}else de.colSeparationType==="alignat"?Oe.setAttribute("columnspacing","0em"):de.colSeparationType==="small"?Oe.setAttribute("columnspacing","0.2778em"):Oe.setAttribute("columnspacing","1em");var ea="",Sa=de.hLinesBeforeRow;yt+=Sa[0].length>0?"left ":"",yt+=Sa[Sa.length-1].length>0?"right ":"";for(var xa=1;xa<Sa.length-1;xa++)ea+=Sa[xa].length===0?"none ":Sa[xa][0]?"dashed ":"solid ";return/[sd]/.test(ea)&&Oe.setAttribute("rowlines",ea.trim()),yt!==""&&(Oe=new si.MathNode("menclose",[Oe]),Oe.setAttribute("notation",yt.trim())),de.arraystretch&&de.arraystretch<1&&(Oe=new si.MathNode("mstyle",[Oe]),Oe.setAttribute("scriptlevel","1")),Oe},pi=function(de,Te){var Oe=[],ze=ci(de.parser,{cols:Oe,addJot:!0},"display"),yt,Kt=0,gr={type:"ordgroup",mode:de.mode,body:[]},xr=On(Te[0],"ordgroup");if(xr){for(var Pr="",dn=0;dn<xr.body.length;dn++){var bn=Vn(xr.body[dn],"textord");Pr+=bn.text}yt=Number(Pr),Kt=yt*2}var Nn=!Kt;ze.body.forEach(function(ea){for(var Sa=1;Sa<ea.length;Sa+=2){var xa=Vn(ea[Sa],"styling"),Da=Vn(xa.body[0],"ordgroup");Da.body.unshift(gr)}if(Nn)Kt<ea.length&&(Kt=ea.length);else{var oo=ea.length/2;if(yt<oo)throw new o("Too many math in a row: "+("expected "+yt+", but got "+oo),ea[0])}});for(var Xn=0;Xn<Kt;++Xn){var li="r",Li=0;Xn%2===1?li="l":Xn>0&&Nn&&(Li=1),Oe[Xn]={type:"align",align:li,pregap:Li,postgap:0}}return ze.colSeparationType=Nn?"align":"alignat",ze};ri({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(de,Te){var Oe=zi(Te[0]),ze=Oe?[Te[0]]:Vn(Te[0],"ordgroup").body,yt=ze.map(function(gr){var xr=ei(gr),Pr=xr.text;if("lcr".indexOf(Pr)!==-1)return{type:"align",align:Pr};if(Pr==="|")return{type:"separator",separator:"|"};if(Pr===":")return{type:"separator",separator:":"};throw new o("Unknown column alignment: "+Pr,gr)}),Kt={cols:yt,hskipBeforeAndAfter:!0};return ci(de.parser,Kt,mi(de.envName))},htmlBuilder:Ki,mathmlBuilder:fi}),ri({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(de){var Te={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[de.envName],Oe={hskipBeforeAndAfter:!1},ze=ci(de.parser,Oe,mi(de.envName));return Te?{type:"leftright",mode:de.mode,body:[ze],left:Te[0],right:Te[1],rightColor:void 0}:ze},htmlBuilder:Ki,mathmlBuilder:fi}),ri({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(de){var Te={arraystretch:.5},Oe=ci(de.parser,Te,"script");return Oe.colSeparationType="small",Oe},htmlBuilder:Ki,mathmlBuilder:fi}),ri({type:"array",names:["subarray"],props:{numArgs:1},handler:function(de,Te){var Oe=zi(Te[0]),ze=Oe?[Te[0]]:Vn(Te[0],"ordgroup").body,yt=ze.map(function(gr){var xr=ei(gr),Pr=xr.text;if("lc".indexOf(Pr)!==-1)return{type:"align",align:Pr};throw new o("Unknown column alignment: "+Pr,gr)});if(yt.length>1)throw new o("{subarray} can contain only one column");var Kt={cols:yt,hskipBeforeAndAfter:!1,arraystretch:.5};if(Kt=ci(de.parser,Kt,"script"),Kt.body[0].length>1)throw new o("{subarray} can contain only one column");return Kt},htmlBuilder:Ki,mathmlBuilder:fi}),ri({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(de){var Te={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},Oe=ci(de.parser,Te,mi(de.envName));return{type:"leftright",mode:de.mode,body:[Oe],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:Ki,mathmlBuilder:fi}),ri({type:"array",names:["aligned"],props:{numArgs:0},handler:pi,htmlBuilder:Ki,mathmlBuilder:fi}),ri({type:"array",names:["gathered"],props:{numArgs:0},handler:function(de){var Te={cols:[{type:"align",align:"c"}],addJot:!0};return ci(de.parser,Te,"display")},htmlBuilder:Ki,mathmlBuilder:fi}),ri({type:"array",names:["alignedat"],props:{numArgs:1},handler:pi,htmlBuilder:Ki,mathmlBuilder:fi}),ui({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(de,Te){throw new o(de.funcName+" valid only within array environment")}});var ra=wi,ki=ra;ui({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(de,Te){var Oe=de.parser,ze=de.funcName,yt=Te[0];if(yt.type!=="ordgroup")throw new o("Invalid environment name",yt);for(var Kt="",gr=0;gr<yt.body.length;++gr)Kt+=Vn(yt.body[gr],"textord").text;if(ze==="\\begin"){if(!ki.hasOwnProperty(Kt))throw new o("No such environment: "+Kt,yt);var xr=ki[Kt],Pr=Oe.parseArguments("\\begin{"+Kt+"}",xr),dn=Pr.args,bn=Pr.optArgs,Nn={mode:Oe.mode,envName:Kt,parser:Oe},Xn=xr.handler(Nn,dn,bn);Oe.expect("\\end",!1);var li=Oe.nextToken,Li=Vn(Oe.parseFunction(),"environment");if(Li.name!==Kt)throw new o("Mismatch: \\begin{"+Kt+"} matched by \\end{"+Li.name+"}",li);return Xn}return{type:"environment",mode:Oe.mode,name:Kt,nameGroup:yt}}});var Zn=tn.makeSpan;function Si(Vt,de){var Te=Hi(Vt.body,de,!0);return Zn([Vt.mclass],Te,de)}function Yi(Vt,de){var Te,Oe=vo(Vt.body,de);return Vt.mclass==="minner"?si.newDocumentFragment(Oe):(Vt.mclass==="mord"?Vt.isCharacterBox?(Te=Oe[0],Te.type="mi"):Te=new si.MathNode("mi",Oe):(Vt.isCharacterBox?(Te=Oe[0],Te.type="mo"):Te=new si.MathNode("mo",Oe),Vt.mclass==="mbin"?(Te.attributes.lspace="0.22em",Te.attributes.rspace="0.22em"):Vt.mclass==="mpunct"?(Te.attributes.lspace="0em",Te.attributes.rspace="0.17em"):(Vt.mclass==="mopen"||Vt.mclass==="mclose")&&(Te.attributes.lspace="0em",Te.attributes.rspace="0em")),Te)}ui({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(de,Te){var Oe=de.parser,ze=de.funcName,yt=Te[0];return{type:"mclass",mode:Oe.mode,mclass:"m"+ze.substr(5),body:Dn(yt),isCharacterBox:v.isCharacterBox(yt)}},htmlBuilder:Si,mathmlBuilder:Yi});var Pi=function(de){var Te=de.type==="ordgroup"&&de.body.length?de.body[0]:de;return Te.type==="atom"&&(Te.family==="bin"||Te.family==="rel")?"m"+Te.family:"mord"};ui({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(de,Te){var Oe=de.parser;return{type:"mclass",mode:Oe.mode,mclass:Pi(Te[0]),body:[Te[1]],isCharacterBox:v.isCharacterBox(Te[1])}}}),ui({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(de,Te){var Oe=de.parser,ze=de.funcName,yt=Te[1],Kt=Te[0],gr;ze!=="\\stackrel"?gr=Pi(yt):gr="mrel";var xr={type:"op",mode:yt.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:ze!=="\\stackrel",body:Dn(yt)},Pr={type:"supsub",mode:Kt.mode,base:xr,sup:ze==="\\underset"?null:Kt,sub:ze==="\\underset"?Kt:null};return{type:"mclass",mode:Oe.mode,mclass:gr,body:[Pr],isCharacterBox:v.isCharacterBox(Pr)}},htmlBuilder:Si,mathmlBuilder:Yi});var Ci=function(de,Te){var Oe=de.font,ze=Te.withFont(Oe);return _a(de.body,ze)},bi=function(de,Te){var Oe=de.font,ze=Te.withFont(Oe);return tr(de.body,ze)},wa={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};ui({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(de,Te){var Oe=de.parser,ze=de.funcName,yt=Te[0],Kt=ze;return Kt in wa&&(Kt=wa[Kt]),{type:"font",mode:Oe.mode,font:Kt.slice(1),body:yt}},htmlBuilder:Ci,mathmlBuilder:bi}),ui({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(de,Te){var Oe=de.parser,ze=Te[0],yt=v.isCharacterBox(ze);return{type:"mclass",mode:Oe.mode,mclass:Pi(ze),body:[{type:"font",mode:Oe.mode,font:"boldsymbol",body:ze}],isCharacterBox:yt}}}),ui({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(de,Te){var Oe=de.parser,ze=de.funcName,yt=de.breakOnTokenText,Kt=Oe.mode,gr=Oe.parseExpression(!0,yt),xr="math"+ze.slice(1);return{type:"font",mode:Kt,font:xr,body:{type:"ordgroup",mode:Oe.mode,body:gr}}},htmlBuilder:Ci,mathmlBuilder:bi});var Zi=function(de,Te){var Oe=Te;return de==="display"?Oe=Oe.id>=z.SCRIPT.id?Oe.text():z.DISPLAY:de==="text"&&Oe.size===z.DISPLAY.size?Oe=z.TEXT:de==="script"?Oe=z.SCRIPT:de==="scriptscript"&&(Oe=z.SCRIPTSCRIPT),Oe},ha=function(de,Te){var Oe=Zi(de.size,Te.style),ze=Oe.fracNum(),yt=Oe.fracDen(),Kt;Kt=Te.havingStyle(ze);var gr=_a(de.numer,Kt,Te);if(de.continued){var xr=8.5/Te.fontMetrics().ptPerEm,Pr=3.5/Te.fontMetrics().ptPerEm;gr.height=gr.height<xr?xr:gr.height,gr.depth=gr.depth<Pr?Pr:gr.depth}Kt=Te.havingStyle(yt);var dn=_a(de.denom,Kt,Te),bn,Nn,Xn;de.hasBarLine?(de.barSize?(Nn=it(de.barSize,Te),bn=tn.makeLineSpan("frac-line",Te,Nn)):bn=tn.makeLineSpan("frac-line",Te),Nn=bn.height,Xn=bn.height):(bn=null,Nn=0,Xn=Te.fontMetrics().defaultRuleThickness);var li,Li,ea;Oe.size===z.DISPLAY.size||de.size==="display"?(li=Te.fontMetrics().num1,Nn>0?Li=3*Xn:Li=7*Xn,ea=Te.fontMetrics().denom1):(Nn>0?(li=Te.fontMetrics().num2,Li=Xn):(li=Te.fontMetrics().num3,Li=3*Xn),ea=Te.fontMetrics().denom2);var Sa;if(bn){var Da=Te.fontMetrics().axisHeight;li-gr.depth-(Da+.5*Nn)<Li&&(li+=Li-(li-gr.depth-(Da+.5*Nn))),Da-.5*Nn-(dn.height-ea)<Li&&(ea+=Li-(Da-.5*Nn-(dn.height-ea)));var oo=-(Da-.5*Nn);Sa=tn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:dn,shift:ea},{type:"elem",elem:bn,shift:oo},{type:"elem",elem:gr,shift:-li}]},Te)}else{var xa=li-gr.depth-(dn.height-ea);xa<Li&&(li+=.5*(Li-xa),ea+=.5*(Li-xa)),Sa=tn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:dn,shift:ea},{type:"elem",elem:gr,shift:-li}]},Te)}Kt=Te.havingStyle(Oe),Sa.height*=Kt.sizeMultiplier/Te.sizeMultiplier,Sa.depth*=Kt.sizeMultiplier/Te.sizeMultiplier;var Qa;Oe.size===z.DISPLAY.size?Qa=Te.fontMetrics().delim1:Qa=Te.fontMetrics().delim2;var So,Ea;return de.leftDelim==null?So=lo(Te,["mopen"]):So=xn.customSizedDelim(de.leftDelim,Qa,!0,Te.havingStyle(Oe),de.mode,["mopen"]),de.continued?Ea=tn.makeSpan([]):de.rightDelim==null?Ea=lo(Te,["mclose"]):Ea=xn.customSizedDelim(de.rightDelim,Qa,!0,Te.havingStyle(Oe),de.mode,["mclose"]),tn.makeSpan(["mord"].concat(Kt.sizingClasses(Te)),[So,tn.makeSpan(["mfrac"],[Sa]),Ea],Te)},Ia=function(de,Te){var Oe=new si.MathNode("mfrac",[tr(de.numer,Te),tr(de.denom,Te)]);if(!de.hasBarLine)Oe.setAttribute("linethickness","0px");else if(de.barSize){var ze=it(de.barSize,Te);Oe.setAttribute("linethickness",ze+"em")}var yt=Zi(de.size,Te.style);if(yt.size!==Te.style.size){Oe=new si.MathNode("mstyle",[Oe]);var Kt=yt.size===z.DISPLAY.size?"true":"false";Oe.setAttribute("displaystyle",Kt),Oe.setAttribute("scriptlevel","0")}if(de.leftDelim!=null||de.rightDelim!=null){var gr=[];if(de.leftDelim!=null){var xr=new si.MathNode("mo",[new si.TextNode(de.leftDelim.replace("\\",""))]);xr.setAttribute("fence","true"),gr.push(xr)}if(gr.push(Oe),de.rightDelim!=null){var Pr=new si.MathNode("mo",[new si.TextNode(de.rightDelim.replace("\\",""))]);Pr.setAttribute("fence","true"),gr.push(Pr)}return Xo(gr)}return Oe};ui({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(de,Te){var Oe=de.parser,ze=de.funcName,yt=Te[0],Kt=Te[1],gr,xr=null,Pr=null,dn="auto";switch(ze){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":gr=!0;break;case"\\\\atopfrac":gr=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":gr=!1,xr="(",Pr=")";break;case"\\\\bracefrac":gr=!1,xr="\\{",Pr="\\}";break;case"\\\\brackfrac":gr=!1,xr="[",Pr="]";break;default:throw new Error("Unrecognized genfrac command")}switch(ze){case"\\cfrac":case"\\dfrac":case"\\dbinom":dn="display";break;case"\\tfrac":case"\\tbinom":dn="text";break}return{type:"genfrac",mode:Oe.mode,continued:ze==="\\cfrac",numer:yt,denom:Kt,hasBarLine:gr,leftDelim:xr,rightDelim:Pr,size:dn,barSize:null}},htmlBuilder:ha,mathmlBuilder:Ia}),ui({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(de){var Te=de.parser,Oe=de.funcName,ze=de.token,yt;switch(Oe){case"\\over":yt="\\frac";break;case"\\choose":yt="\\binom";break;case"\\atop":yt="\\\\atopfrac";break;case"\\brace":yt="\\\\bracefrac";break;case"\\brack":yt="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:Te.mode,replaceWith:yt,token:ze}}});var xi=["display","text","script","scriptscript"],Ba=function(de){var Te=null;return de.length>0&&(Te=de,Te=Te==="."?null:Te),Te};ui({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(de,Te){var Oe=de.parser,ze=Te[4],yt=Te[5],Kt=On(Te[0],"atom");Kt&&(Kt=$n(Te[0],"open"));var gr=Kt?Ba(Kt.text):null,xr=On(Te[1],"atom");xr&&(xr=$n(Te[1],"close"));var Pr=xr?Ba(xr.text):null,dn=Vn(Te[2],"size"),bn,Nn=null;dn.isBlank?bn=!0:(Nn=dn.value,bn=Nn.number>0);var Xn="auto",li=On(Te[3],"ordgroup");if(li){if(li.body.length>0){var Li=Vn(li.body[0],"textord");Xn=xi[Number(Li.text)]}}else li=Vn(Te[3],"textord"),Xn=xi[Number(li.text)];return{type:"genfrac",mode:Oe.mode,numer:ze,denom:yt,continued:!1,hasBarLine:bn,barSize:Nn,leftDelim:gr,rightDelim:Pr,size:Xn}},htmlBuilder:ha,mathmlBuilder:Ia}),ui({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(de,Te){var Oe=de.parser,ze=de.funcName,yt=de.token;return{type:"infix",mode:Oe.mode,replaceWith:"\\\\abovefrac",size:Vn(Te[0],"size").value,token:yt}}}),ui({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(de,Te){var Oe=de.parser,ze=de.funcName,yt=Te[0],Kt=f(Vn(Te[1],"infix").size),gr=Te[2],xr=Kt.number>0;return{type:"genfrac",mode:Oe.mode,numer:yt,denom:gr,continued:!1,hasBarLine:xr,barSize:Kt,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:ha,mathmlBuilder:Ia});var oa=function(de,Te){var Oe=Te.style,ze,yt,Kt=On(de,"supsub");Kt?(ze=Kt.sup?_a(Kt.sup,Te.havingStyle(Oe.sup()),Te):_a(Kt.sub,Te.havingStyle(Oe.sub()),Te),yt=Vn(Kt.base,"horizBrace")):yt=Vn(de,"horizBrace");var gr=_a(yt.base,Te.havingBaseStyle(z.DISPLAY)),xr=fn.svgSpan(yt,Te),Pr;if(yt.isOver?(Pr=tn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:gr},{type:"kern",size:.1},{type:"elem",elem:xr}]},Te),Pr.children[0].children[0].children[1].classes.push("svg-align")):(Pr=tn.makeVList({positionType:"bottom",positionData:gr.depth+.1+xr.height,children:[{type:"elem",elem:xr},{type:"kern",size:.1},{type:"elem",elem:gr}]},Te),Pr.children[0].children[0].children[0].classes.push("svg-align")),ze){var dn=tn.makeSpan(["mord",yt.isOver?"mover":"munder"],[Pr],Te);yt.isOver?Pr=tn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:dn},{type:"kern",size:.2},{type:"elem",elem:ze}]},Te):Pr=tn.makeVList({positionType:"bottom",positionData:dn.depth+.2+ze.height+ze.depth,children:[{type:"elem",elem:ze},{type:"kern",size:.2},{type:"elem",elem:dn}]},Te)}return tn.makeSpan(["mord",yt.isOver?"mover":"munder"],[Pr],Te)},qi=function(de,Te){var Oe=fn.mathMLnode(de.label);return new si.MathNode(de.isOver?"mover":"munder",[tr(de.base,Te),Oe])};ui({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(de,Te){var Oe=de.parser,ze=de.funcName;return{type:"horizBrace",mode:Oe.mode,label:ze,isOver:/^\\over/.test(ze),base:Te[0]}},htmlBuilder:oa,mathmlBuilder:qi}),ui({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(de,Te){var Oe=de.parser,ze=Te[1],yt=Vn(Te[0],"url").url;return Oe.settings.isTrusted({command:"\\href",url:yt})?{type:"href",mode:Oe.mode,href:yt,body:Dn(ze)}:Oe.formatUnsupportedCmd("\\href")},htmlBuilder:function(de,Te){var Oe=Hi(de.body,Te,!1);return tn.makeAnchor(de.href,[],Oe,Te)},mathmlBuilder:function(de,Te){var Oe=Co(de.body,Te);return Oe instanceof Ao||(Oe=new Ao("mrow",[Oe])),Oe.setAttribute("href",de.href),Oe}}),ui({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(de,Te){var Oe=de.parser,ze=Vn(Te[0],"url").url;if(!Oe.settings.isTrusted({command:"\\url",url:ze}))return Oe.formatUnsupportedCmd("\\url");for(var yt=[],Kt=0;Kt<ze.length;Kt++){var gr=ze[Kt];gr==="~"&&(gr="\\textasciitilde"),yt.push({type:"textord",mode:"text",text:gr})}var xr={type:"text",mode:Oe.mode,font:"\\texttt",body:yt};return{type:"href",mode:Oe.mode,href:ze,body:Dn(xr)}}}),ui({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(de,Te){var Oe=de.parser;return{type:"htmlmathml",mode:Oe.mode,html:Dn(Te[0]),mathml:Dn(Te[1])}},htmlBuilder:function(de,Te){var Oe=Hi(de.html,Te,!1);return tn.makeFragment(Oe)},mathmlBuilder:function(de,Te){return Co(de.mathml,Te)}});var ga=function(de){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(de))return{number:+de,unit:"bp"};var Te=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(de);if(!Te)throw new o("Invalid size: '"+de+"' in \\includegraphics");var Oe={number:+(Te[1]+Te[2]),unit:Te[3]};if(!Je(Oe))throw new o("Invalid unit: '"+Oe.unit+"' in \\includegraphics.");return Oe};ui({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(de,Te,Oe){var ze=de.parser,yt={number:0,unit:"em"},Kt={number:.9,unit:"em"},gr={number:0,unit:"em"},xr="";if(Oe[0])for(var Pr=Vn(Oe[0],"raw").string,dn=Pr.split(","),bn=0;bn<dn.length;bn++){var Nn=dn[bn].split("=");if(Nn.length===2){var Xn=Nn[1].trim();switch(Nn[0].trim()){case"alt":xr=Xn;break;case"width":yt=ga(Xn);break;case"height":Kt=ga(Xn);break;case"totalheight":gr=ga(Xn);break;default:throw new o("Invalid key: '"+Nn[0]+"' in \\includegraphics.")}}}var li=Vn(Te[0],"url").url;return xr===""&&(xr=li,xr=xr.replace(/^.*[\\/]/,""),xr=xr.substring(0,xr.lastIndexOf("."))),ze.settings.isTrusted({command:"\\includegraphics",url:li})?{type:"includegraphics",mode:ze.mode,alt:xr,width:yt,height:Kt,totalheight:gr,src:li}:ze.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(de,Te){var Oe=it(de.height,Te),ze=0;de.totalheight.number>0&&(ze=it(de.totalheight,Te)-Oe,ze=Number(ze.toFixed(2)));var yt=0;de.width.number>0&&(yt=it(de.width,Te));var Kt={height:Oe+ze+"em"};yt>0&&(Kt.width=yt+"em"),ze>0&&(Kt.verticalAlign=-ze+"em");var gr=new me(de.src,de.alt,Kt);return gr.height=Oe,gr.depth=ze,gr},mathmlBuilder:function(de,Te){var Oe=new si.MathNode("mglyph",[]);Oe.setAttribute("alt",de.alt);var ze=it(de.height,Te),yt=0;if(de.totalheight.number>0&&(yt=it(de.totalheight,Te)-ze,yt=yt.toFixed(2),Oe.setAttribute("valign","-"+yt+"em")),Oe.setAttribute("height",ze+yt+"em"),de.width.number>0){var Kt=it(de.width,Te);Oe.setAttribute("width",Kt+"em")}return Oe.setAttribute("src",de.src),Oe}}),ui({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(de,Te){var Oe=de.parser,ze=de.funcName,yt=Vn(Te[0],"size");if(Oe.settings.strict){var Kt=ze[1]==="m",gr=yt.value.unit==="mu";Kt?(gr||Oe.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+ze+" supports only mu units, "+("not "+yt.value.unit+" units")),Oe.mode!=="math"&&Oe.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+ze+" works only in math mode")):gr&&Oe.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+ze+" doesn't support mu units")}return{type:"kern",mode:Oe.mode,dimension:yt.value}},htmlBuilder:function(de,Te){return tn.makeGlue(de.dimension,Te)},mathmlBuilder:function(de,Te){var Oe=it(de.dimension,Te);return new si.SpaceNode(Oe)}}),ui({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(de,Te){var Oe=de.parser,ze=de.funcName,yt=Te[0];return{type:"lap",mode:Oe.mode,alignment:ze.slice(5),body:yt}},htmlBuilder:function(de,Te){var Oe;de.alignment==="clap"?(Oe=tn.makeSpan([],[_a(de.body,Te)]),Oe=tn.makeSpan(["inner"],[Oe],Te)):Oe=tn.makeSpan(["inner"],[_a(de.body,Te)]);var ze=tn.makeSpan(["fix"],[]),yt=tn.makeSpan([de.alignment],[Oe,ze],Te),Kt=tn.makeSpan(["strut"]);return Kt.style.height=yt.height+yt.depth+"em",Kt.style.verticalAlign=-yt.depth+"em",yt.children.unshift(Kt),yt=tn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:yt}]},Te),tn.makeSpan(["mord"],[yt],Te)},mathmlBuilder:function(de,Te){var Oe=new si.MathNode("mpadded",[tr(de.body,Te)]);if(de.alignment!=="rlap"){var ze=de.alignment==="llap"?"-1":"-0.5";Oe.setAttribute("lspace",ze+"width")}return Oe.setAttribute("width","0px"),Oe}}),ui({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(de,Te){var Oe=de.funcName,ze=de.parser,yt=ze.mode;ze.switchMode("math");var Kt=Oe==="\\("?"\\)":"$",gr=ze.parseExpression(!1,Kt);return ze.expect(Kt),ze.switchMode(yt),{type:"styling",mode:ze.mode,style:"text",body:gr}}}),ui({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(de,Te){throw new o("Mismatched "+de.funcName)}});var na=function(de,Te){switch(Te.style.size){case z.DISPLAY.size:return de.display;case z.TEXT.size:return de.text;case z.SCRIPT.size:return de.script;case z.SCRIPTSCRIPT.size:return de.scriptscript;default:return de.text}};ui({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(de,Te){var Oe=de.parser;return{type:"mathchoice",mode:Oe.mode,display:Dn(Te[0]),text:Dn(Te[1]),script:Dn(Te[2]),scriptscript:Dn(Te[3])}},htmlBuilder:function(de,Te){var Oe=na(de,Te),ze=Hi(Oe,Te,!1);return tn.makeFragment(ze)},mathmlBuilder:function(de,Te){var Oe=na(de,Te);return Co(Oe,Te)}});var ca=function(de,Te,Oe,ze,yt,Kt,gr){de=tn.makeSpan([],[de]);var xr,Pr;if(Te){var dn=_a(Te,ze.havingStyle(yt.sup()),ze);Pr={elem:dn,kern:Math.max(ze.fontMetrics().bigOpSpacing1,ze.fontMetrics().bigOpSpacing3-dn.depth)}}if(Oe){var bn=_a(Oe,ze.havingStyle(yt.sub()),ze);xr={elem:bn,kern:Math.max(ze.fontMetrics().bigOpSpacing2,ze.fontMetrics().bigOpSpacing4-bn.height)}}var Nn;if(Pr&&xr){var Xn=ze.fontMetrics().bigOpSpacing5+xr.elem.height+xr.elem.depth+xr.kern+de.depth+gr;Nn=tn.makeVList({positionType:"bottom",positionData:Xn,children:[{type:"kern",size:ze.fontMetrics().bigOpSpacing5},{type:"elem",elem:xr.elem,marginLeft:-Kt+"em"},{type:"kern",size:xr.kern},{type:"elem",elem:de},{type:"kern",size:Pr.kern},{type:"elem",elem:Pr.elem,marginLeft:Kt+"em"},{type:"kern",size:ze.fontMetrics().bigOpSpacing5}]},ze)}else if(xr){var li=de.height-gr;Nn=tn.makeVList({positionType:"top",positionData:li,children:[{type:"kern",size:ze.fontMetrics().bigOpSpacing5},{type:"elem",elem:xr.elem,marginLeft:-Kt+"em"},{type:"kern",size:xr.kern},{type:"elem",elem:de}]},ze)}else if(Pr){var Li=de.depth+gr;Nn=tn.makeVList({positionType:"bottom",positionData:Li,children:[{type:"elem",elem:de},{type:"kern",size:Pr.kern},{type:"elem",elem:Pr.elem,marginLeft:Kt+"em"},{type:"kern",size:ze.fontMetrics().bigOpSpacing5}]},ze)}else return de;return tn.makeSpan(["mop","op-limits"],[Nn],ze)},Wa=["\\smallint"],Pa=function(de,Te){var Oe,ze,yt=!1,Kt,gr=On(de,"supsub");gr?(Oe=gr.sup,ze=gr.sub,Kt=Vn(gr.base,"op"),yt=!0):Kt=Vn(de,"op");var xr=Te.style,Pr=!1;xr.size===z.DISPLAY.size&&Kt.symbol&&!v.contains(Wa,Kt.name)&&(Pr=!0);var dn;if(Kt.symbol){var bn=Pr?"Size2-Regular":"Size1-Regular",Nn="";if((Kt.name==="\\oiint"||Kt.name==="\\oiiint")&&(Nn=Kt.name.substr(1),Kt.name=Nn==="oiint"?"\\iint":"\\iiint"),dn=tn.makeSymbol(Kt.name,bn,"math",Te,["mop","op-symbol",Pr?"large-op":"small-op"]),Nn.length>0){var Xn=dn.italic,li=tn.staticSvg(Nn+"Size"+(Pr?"2":"1"),Te);dn=tn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:dn,shift:0},{type:"elem",elem:li,shift:Pr?.08:0}]},Te),Kt.name="\\"+Nn,dn.classes.unshift("mop"),dn.italic=Xn}}else if(Kt.body){var Li=Hi(Kt.body,Te,!0);Li.length===1&&Li[0]instanceof Le?(dn=Li[0],dn.classes[0]="mop"):dn=tn.makeSpan(["mop"],tn.tryCombineChars(Li),Te)}else{for(var ea=[],Sa=1;Sa<Kt.name.length;Sa++)ea.push(tn.mathsym(Kt.name[Sa],Kt.mode,Te));dn=tn.makeSpan(["mop"],ea,Te)}var xa=0,Da=0;return(dn instanceof Le||Kt.name==="\\oiint"||Kt.name==="\\oiiint")&&!Kt.suppressBaseShift&&(xa=(dn.height-dn.depth)/2-Te.fontMetrics().axisHeight,Da=dn.italic),yt?ca(dn,Oe,ze,Te,xr,Da,xa):(xa&&(dn.style.position="relative",dn.style.top=xa+"em"),dn)},ro=function(de,Te){var Oe;if(de.symbol)Oe=new Ao("mo",[Ma(de.name,de.mode)]),v.contains(Wa,de.name)&&Oe.setAttribute("largeop","false");else if(de.body)Oe=new Ao("mo",vo(de.body,Te));else{Oe=new Ao("mi",[new fo(de.name.slice(1))]);var ze=new Ao("mo",[Ma("\u2061","text")]);de.parentIsSupSub?Oe=new Ao("mo",[Oe,ze]):Oe=jo([Oe,ze])}return Oe},Fa={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};ui({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(de,Te){var Oe=de.parser,ze=de.funcName,yt=ze;return yt.length===1&&(yt=Fa[yt]),{type:"op",mode:Oe.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:yt}},htmlBuilder:Pa,mathmlBuilder:ro}),ui({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(de,Te){var Oe=de.parser,ze=Te[0];return{type:"op",mode:Oe.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Dn(ze)}},htmlBuilder:Pa,mathmlBuilder:ro});var Ua={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};ui({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(de){var Te=de.parser,Oe=de.funcName;return{type:"op",mode:Te.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:Oe}},htmlBuilder:Pa,mathmlBuilder:ro}),ui({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(de){var Te=de.parser,Oe=de.funcName;return{type:"op",mode:Te.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:Oe}},htmlBuilder:Pa,mathmlBuilder:ro}),ui({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(de){var Te=de.parser,Oe=de.funcName,ze=Oe;return ze.length===1&&(ze=Ua[ze]),{type:"op",mode:Te.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:ze}},htmlBuilder:Pa,mathmlBuilder:ro});var Ya=function(de,Te){var Oe,ze,yt=!1,Kt,gr=On(de,"supsub");gr?(Oe=gr.sup,ze=gr.sub,Kt=Vn(gr.base,"operatorname"),yt=!0):Kt=Vn(de,"operatorname");var xr;if(Kt.body.length>0){for(var Pr=Kt.body.map(function(Xn){var li=Xn.text;return typeof li=="string"?{type:"textord",mode:Xn.mode,text:li}:Xn}),dn=Hi(Pr,Te.withFont("mathrm"),!0),bn=0;bn<dn.length;bn++){var Nn=dn[bn];Nn instanceof Le&&(Nn.text=Nn.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}xr=tn.makeSpan(["mop"],dn,Te)}else xr=tn.makeSpan(["mop"],[],Te);return yt?ca(xr,Oe,ze,Te,Te.style,0,0):xr},Aa=function(de,Te){for(var Oe=vo(de.body,Te.withFont("mathrm")),ze=!0,yt=0;yt<Oe.length;yt++){var Kt=Oe[yt];if(!(Kt instanceof si.SpaceNode))if(Kt instanceof si.MathNode)switch(Kt.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var gr=Kt.children[0];Kt.children.length===1&&gr instanceof si.TextNode?gr.text=gr.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):ze=!1;break}default:ze=!1}else ze=!1}if(ze){var xr=Oe.map(function(bn){return bn.toText()}).join("");Oe=[new si.TextNode(xr)]}var Pr=new si.MathNode("mi",Oe);Pr.setAttribute("mathvariant","normal");var dn=new si.MathNode("mo",[Ma("\u2061","text")]);return de.parentIsSupSub?new si.MathNode("mo",[Pr,dn]):si.newDocumentFragment([Pr,dn])};ui({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(de,Te){var Oe=de.parser,ze=de.funcName,yt=Te[0];return{type:"operatorname",mode:Oe.mode,body:Dn(yt),alwaysHandleSupSub:ze==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Ya,mathmlBuilder:Aa}),ba({type:"ordgroup",htmlBuilder:function(de,Te){return de.semisimple?tn.makeFragment(Hi(de.body,Te,!1)):tn.makeSpan(["mord"],Hi(de.body,Te,!0),Te)},mathmlBuilder:function(de,Te){return Co(de.body,Te,!0)}}),ui({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(de,Te){var Oe=de.parser,ze=Te[0];return{type:"overline",mode:Oe.mode,body:ze}},htmlBuilder:function(de,Te){var Oe=_a(de.body,Te.havingCrampedStyle()),ze=tn.makeLineSpan("overline-line",Te),yt=Te.fontMetrics().defaultRuleThickness,Kt=tn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Oe},{type:"kern",size:3*yt},{type:"elem",elem:ze},{type:"kern",size:yt}]},Te);return tn.makeSpan(["mord","overline"],[Kt],Te)},mathmlBuilder:function(de,Te){var Oe=new si.MathNode("mo",[new si.TextNode("\u203E")]);Oe.setAttribute("stretchy","true");var ze=new si.MathNode("mover",[tr(de.body,Te),Oe]);return ze.setAttribute("accent","true"),ze}}),ui({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(de,Te){var Oe=de.parser,ze=Te[0];return{type:"phantom",mode:Oe.mode,body:Dn(ze)}},htmlBuilder:function(de,Te){var Oe=Hi(de.body,Te.withPhantom(),!1);return tn.makeFragment(Oe)},mathmlBuilder:function(de,Te){var Oe=vo(de.body,Te);return new si.MathNode("mphantom",Oe)}}),ui({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(de,Te){var Oe=de.parser,ze=Te[0];return{type:"hphantom",mode:Oe.mode,body:ze}},htmlBuilder:function(de,Te){var Oe=tn.makeSpan([],[_a(de.body,Te.withPhantom())]);if(Oe.height=0,Oe.depth=0,Oe.children)for(var ze=0;ze<Oe.children.length;ze++)Oe.children[ze].height=0,Oe.children[ze].depth=0;return Oe=tn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Oe}]},Te),tn.makeSpan(["mord"],[Oe],Te)},mathmlBuilder:function(de,Te){var Oe=vo(Dn(de.body),Te),ze=new si.MathNode("mphantom",Oe),yt=new si.MathNode("mpadded",[ze]);return yt.setAttribute("height","0px"),yt.setAttribute("depth","0px"),yt}}),ui({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(de,Te){var Oe=de.parser,ze=Te[0];return{type:"vphantom",mode:Oe.mode,body:ze}},htmlBuilder:function(de,Te){var Oe=tn.makeSpan(["inner"],[_a(de.body,Te.withPhantom())]),ze=tn.makeSpan(["fix"],[]);return tn.makeSpan(["mord","rlap"],[Oe,ze],Te)},mathmlBuilder:function(de,Te){var Oe=vo(Dn(de.body),Te),ze=new si.MathNode("mphantom",Oe),yt=new si.MathNode("mpadded",[ze]);return yt.setAttribute("width","0px"),yt}}),ui({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(de,Te){var Oe=de.parser,ze=Vn(Te[0],"size").value,yt=Te[1];return{type:"raisebox",mode:Oe.mode,dy:ze,body:yt}},htmlBuilder:function(de,Te){var Oe=_a(de.body,Te),ze=it(de.dy,Te);return tn.makeVList({positionType:"shift",positionData:-ze,children:[{type:"elem",elem:Oe}]},Te)},mathmlBuilder:function(de,Te){var Oe=new si.MathNode("mpadded",[tr(de.body,Te)]),ze=de.dy.number+de.dy.unit;return Oe.setAttribute("voffset",ze),Oe}}),ui({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(de,Te,Oe){var ze=de.parser,yt=Oe[0],Kt=Vn(Te[0],"size"),gr=Vn(Te[1],"size");return{type:"rule",mode:ze.mode,shift:yt&&Vn(yt,"size").value,width:Kt.value,height:gr.value}},htmlBuilder:function(de,Te){var Oe=tn.makeSpan(["mord","rule"],[],Te),ze=it(de.width,Te),yt=it(de.height,Te),Kt=de.shift?it(de.shift,Te):0;return Oe.style.borderRightWidth=ze+"em",Oe.style.borderTopWidth=yt+"em",Oe.style.bottom=Kt+"em",Oe.width=ze,Oe.height=yt+Kt,Oe.depth=-Kt,Oe.maxFontSize=yt*1.125*Te.sizeMultiplier,Oe},mathmlBuilder:function(de,Te){var Oe=it(de.width,Te),ze=it(de.height,Te),yt=de.shift?it(de.shift,Te):0,Kt=Te.color&&Te.getColor()||"black",gr=new si.MathNode("mspace");gr.setAttribute("mathbackground",Kt),gr.setAttribute("width",Oe+"em"),gr.setAttribute("height",ze+"em");var xr=new si.MathNode("mpadded",[gr]);return yt>=0?xr.setAttribute("height","+"+yt+"em"):(xr.setAttribute("height",yt+"em"),xr.setAttribute("depth","+"+-yt+"em")),xr.setAttribute("voffset",yt+"em"),xr}});function Ji(Vt,de,Te){for(var Oe=Hi(Vt,de,!1),ze=de.sizeMultiplier/Te.sizeMultiplier,yt=0;yt<Oe.length;yt++){var Kt=Oe[yt].classes.indexOf("sizing");Kt<0?Array.prototype.push.apply(Oe[yt].classes,de.sizingClasses(Te)):Oe[yt].classes[Kt+1]==="reset-size"+de.size&&(Oe[yt].classes[Kt+1]="reset-size"+Te.size),Oe[yt].height*=ze,Oe[yt].depth*=ze}return tn.makeFragment(Oe)}var La=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],ja=function(de,Te){var Oe=Te.havingSize(de.size);return Ji(de.body,Oe,Te)};ui({type:"sizing",names:La,props:{numArgs:0,allowedInText:!0},handler:function(de,Te){var Oe=de.breakOnTokenText,ze=de.funcName,yt=de.parser,Kt=yt.parseExpression(!1,Oe);return{type:"sizing",mode:yt.mode,size:La.indexOf(ze)+1,body:Kt}},htmlBuilder:ja,mathmlBuilder:function(de,Te){var Oe=Te.havingSize(de.size),ze=vo(de.body,Oe),yt=new si.MathNode("mstyle",ze);return yt.setAttribute("mathsize",Oe.sizeMultiplier+"em"),yt}}),ui({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(de,Te,Oe){var ze=de.parser,yt=!1,Kt=!1,gr=Oe[0]&&Vn(Oe[0],"ordgroup");if(gr)for(var xr="",Pr=0;Pr<gr.body.length;++Pr){var dn=gr.body[Pr];if(xr=dn.text,xr==="t")yt=!0;else if(xr==="b")Kt=!0;else{yt=!1,Kt=!1;break}}else yt=!0,Kt=!0;var bn=Te[0];return{type:"smash",mode:ze.mode,body:bn,smashHeight:yt,smashDepth:Kt}},htmlBuilder:function(de,Te){var Oe=tn.makeSpan([],[_a(de.body,Te)]);if(!de.smashHeight&&!de.smashDepth)return Oe;if(de.smashHeight&&(Oe.height=0,Oe.children))for(var ze=0;ze<Oe.children.length;ze++)Oe.children[ze].height=0;if(de.smashDepth&&(Oe.depth=0,Oe.children))for(var yt=0;yt<Oe.children.length;yt++)Oe.children[yt].depth=0;var Kt=tn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Oe}]},Te);return tn.makeSpan(["mord"],[Kt],Te)},mathmlBuilder:function(de,Te){var Oe=new si.MathNode("mpadded",[tr(de.body,Te)]);return de.smashHeight&&Oe.setAttribute("height","0px"),de.smashDepth&&Oe.setAttribute("depth","0px"),Oe}}),ui({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(de,Te,Oe){var ze=de.parser,yt=Oe[0],Kt=Te[0];return{type:"sqrt",mode:ze.mode,body:Kt,index:yt}},htmlBuilder:function(de,Te){var Oe=_a(de.body,Te.havingCrampedStyle());Oe.height===0&&(Oe.height=Te.fontMetrics().xHeight),Oe=tn.wrapFragment(Oe,Te);var ze=Te.fontMetrics(),yt=ze.defaultRuleThickness,Kt=yt;Te.style.id<z.TEXT.id&&(Kt=Te.fontMetrics().xHeight);var gr=yt+Kt/4,xr=Oe.height+Oe.depth+gr+yt,Pr=xn.sqrtImage(xr,Te),dn=Pr.span,bn=Pr.ruleWidth,Nn=Pr.advanceWidth,Xn=dn.height-bn;Xn>Oe.height+Oe.depth+gr&&(gr=(gr+Xn-Oe.height-Oe.depth)/2);var li=dn.height-Oe.height-gr-bn;Oe.style.paddingLeft=Nn+"em";var Li=tn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Oe,wrapperClasses:["svg-align"]},{type:"kern",size:-(Oe.height+li)},{type:"elem",elem:dn},{type:"kern",size:bn}]},Te);if(de.index){var ea=Te.havingStyle(z.SCRIPTSCRIPT),Sa=_a(de.index,ea,Te),xa=.6*(Li.height-Li.depth),Da=tn.makeVList({positionType:"shift",positionData:-xa,children:[{type:"elem",elem:Sa}]},Te),oo=tn.makeSpan(["root"],[Da]);return tn.makeSpan(["mord","sqrt"],[oo,Li],Te)}else return tn.makeSpan(["mord","sqrt"],[Li],Te)},mathmlBuilder:function(de,Te){var Oe=de.body,ze=de.index;return ze?new si.MathNode("mroot",[tr(Oe,Te),tr(ze,Te)]):new si.MathNode("msqrt",[tr(Oe,Te)])}});var ji={display:z.DISPLAY,text:z.TEXT,script:z.SCRIPT,scriptscript:z.SCRIPTSCRIPT};ui({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(de,Te){var Oe=de.breakOnTokenText,ze=de.funcName,yt=de.parser,Kt=yt.parseExpression(!0,Oe),gr=ze.slice(1,ze.length-5);return{type:"styling",mode:yt.mode,style:gr,body:Kt}},htmlBuilder:function(de,Te){var Oe=ji[de.style],ze=Te.havingStyle(Oe).withFont("");return Ji(de.body,ze,Te)},mathmlBuilder:function(de,Te){var Oe=ji[de.style],ze=Te.havingStyle(Oe),yt=vo(de.body,ze),Kt=new si.MathNode("mstyle",yt),gr={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},xr=gr[de.style];return Kt.setAttribute("scriptlevel",xr[0]),Kt.setAttribute("displaystyle",xr[1]),Kt}});var Qi=function(de,Te){var Oe=de.base;if(Oe)if(Oe.type==="op"){var ze=Oe.limits&&(Te.style.size===z.DISPLAY.size||Oe.alwaysHandleSupSub);return ze?Pa:null}else if(Oe.type==="operatorname"){var yt=Oe.alwaysHandleSupSub&&(Te.style.size===z.DISPLAY.size||Oe.limits);return yt?Ya:null}else{if(Oe.type==="accent")return v.isCharacterBox(Oe.base)?yn:null;if(Oe.type==="horizBrace"){var Kt=!de.sub;return Kt===Oe.isOver?oa:null}else return null}else return null};ba({type:"supsub",htmlBuilder:function(de,Te){var Oe=Qi(de,Te);if(Oe)return Oe(de,Te);var ze=de.base,yt=de.sup,Kt=de.sub,gr=_a(ze,Te),xr,Pr,dn=Te.fontMetrics(),bn=0,Nn=0,Xn=ze&&v.isCharacterBox(ze);if(yt){var li=Te.havingStyle(Te.style.sup());xr=_a(yt,li,Te),Xn||(bn=gr.height-li.fontMetrics().supDrop*li.sizeMultiplier/Te.sizeMultiplier)}if(Kt){var Li=Te.havingStyle(Te.style.sub());Pr=_a(Kt,Li,Te),Xn||(Nn=gr.depth+Li.fontMetrics().subDrop*Li.sizeMultiplier/Te.sizeMultiplier)}var ea;Te.style===z.DISPLAY?ea=dn.sup1:Te.style.cramped?ea=dn.sup3:ea=dn.sup2;var Sa=Te.sizeMultiplier,xa=.5/dn.ptPerEm/Sa+"em",Da=null;if(Pr){var oo=de.base&&de.base.type==="op"&&de.base.name&&(de.base.name==="\\oiint"||de.base.name==="\\oiiint");(gr instanceof Le||oo)&&(Da=-gr.italic+"em")}var Qa;if(xr&&Pr){bn=Math.max(bn,ea,xr.depth+.25*dn.xHeight),Nn=Math.max(Nn,dn.sub2);var So=dn.defaultRuleThickness,Ea=4*So;if(bn-xr.depth-(Pr.height-Nn)<Ea){Nn=Ea-(bn-xr.depth)+Pr.height;var no=.8*dn.xHeight-(bn-xr.depth);no>0&&(bn+=no,Nn-=no)}var Yo=[{type:"elem",elem:Pr,shift:Nn,marginRight:xa,marginLeft:Da},{type:"elem",elem:xr,shift:-bn,marginRight:xa}];Qa=tn.makeVList({positionType:"individualShift",children:Yo},Te)}else if(Pr){Nn=Math.max(Nn,dn.sub1,Pr.height-.8*dn.xHeight);var Ko=[{type:"elem",elem:Pr,marginLeft:Da,marginRight:xa}];Qa=tn.makeVList({positionType:"shift",positionData:Nn,children:Ko},Te)}else if(xr)bn=Math.max(bn,ea,xr.depth+.25*dn.xHeight),Qa=tn.makeVList({positionType:"shift",positionData:-bn,children:[{type:"elem",elem:xr,marginRight:xa}]},Te);else throw new Error("supsub must have either sup or sub.");var so=to(gr,"right")||"mord";return tn.makeSpan([so],[gr,tn.makeSpan(["msupsub"],[Qa])],Te)},mathmlBuilder:function(de,Te){var Oe=!1,ze,yt,Kt=On(de.base,"horizBrace");Kt&&(yt=!!de.sup,yt===Kt.isOver&&(Oe=!0,ze=Kt.isOver)),de.base&&(de.base.type==="op"||de.base.type==="operatorname")&&(de.base.parentIsSupSub=!0);var gr=[tr(de.base,Te)];de.sub&&gr.push(tr(de.sub,Te)),de.sup&&gr.push(tr(de.sup,Te));var xr;if(Oe)xr=ze?"mover":"munder";else if(de.sub)if(de.sup){var bn=de.base;bn&&bn.type==="op"&&bn.limits&&Te.style===z.DISPLAY||bn&&bn.type==="operatorname"&&bn.alwaysHandleSupSub&&(Te.style===z.DISPLAY||bn.limits)?xr="munderover":xr="msubsup"}else{var dn=de.base;dn&&dn.type==="op"&&dn.limits&&(Te.style===z.DISPLAY||dn.alwaysHandleSupSub)||dn&&dn.type==="operatorname"&&dn.alwaysHandleSupSub&&(dn.limits||Te.style===z.DISPLAY)?xr="munder":xr="msub"}else{var Pr=de.base;Pr&&Pr.type==="op"&&Pr.limits&&(Te.style===z.DISPLAY||Pr.alwaysHandleSupSub)||Pr&&Pr.type==="operatorname"&&Pr.alwaysHandleSupSub&&(Pr.limits||Te.style===z.DISPLAY)?xr="mover":xr="msup"}var Nn=new si.MathNode(xr,gr);return Nn}}),ba({type:"atom",htmlBuilder:function(de,Te){return tn.mathsym(de.text,de.mode,Te,["m"+de.family])},mathmlBuilder:function(de,Te){var Oe=new si.MathNode("mo",[Ma(de.text,de.mode)]);if(de.family==="bin"){var ze=Io(de,Te);ze==="bold-italic"&&Oe.setAttribute("mathvariant",ze)}else de.family==="punct"?Oe.setAttribute("separator","true"):(de.family==="open"||de.family==="close")&&Oe.setAttribute("stretchy","false");return Oe}});var uo={mi:"italic",mn:"normal",mtext:"normal"};ba({type:"mathord",htmlBuilder:function(de,Te){return tn.makeOrd(de,Te,"mathord")},mathmlBuilder:function(de,Te){var Oe=new si.MathNode("mi",[Ma(de.text,de.mode,Te)]),ze=Io(de,Te)||"italic";return ze!==uo[Oe.type]&&Oe.setAttribute("mathvariant",ze),Oe}}),ba({type:"textord",htmlBuilder:function(de,Te){return tn.makeOrd(de,Te,"textord")},mathmlBuilder:function(de,Te){var Oe=Ma(de.text,de.mode,Te),ze=Io(de,Te)||"normal",yt;return de.mode==="text"?yt=new si.MathNode("mtext",[Oe]):/[0-9]/.test(de.text)?yt=new si.MathNode("mn",[Oe]):de.text==="\\prime"?yt=new si.MathNode("mo",[Oe]):yt=new si.MathNode("mi",[Oe]),ze!==uo[yt.type]&&yt.setAttribute("mathvariant",ze),yt}});var yo={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Lo={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ba({type:"spacing",htmlBuilder:function(de,Te){if(Lo.hasOwnProperty(de.text)){var Oe=Lo[de.text].className||"";if(de.mode==="text"){var ze=tn.makeOrd(de,Te,"textord");return ze.classes.push(Oe),ze}else return tn.makeSpan(["mspace",Oe],[tn.mathsym(de.text,de.mode,Te)],Te)}else{if(yo.hasOwnProperty(de.text))return tn.makeSpan(["mspace",yo[de.text]],[],Te);throw new o('Unknown type of space "'+de.text+'"')}},mathmlBuilder:function(de,Te){var Oe;if(Lo.hasOwnProperty(de.text))Oe=new si.MathNode("mtext",[new si.TextNode("\xA0")]);else{if(yo.hasOwnProperty(de.text))return new si.MathNode("mspace");throw new o('Unknown type of space "'+de.text+'"')}return Oe}});var Oo=function(){var de=new si.MathNode("mtd",[]);return de.setAttribute("width","50%"),de};ba({type:"tag",mathmlBuilder:function(de,Te){var Oe=new si.MathNode("mtable",[new si.MathNode("mtr",[Oo(),new si.MathNode("mtd",[Co(de.body,Te)]),Oo(),new si.MathNode("mtd",[Co(de.tag,Te)])])]);return Oe.setAttribute("width","100%"),Oe}});var Va={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},$i={"\\textbf":"textbf","\\textmd":"textmd"},co={"\\textit":"textit","\\textup":"textup"},Zo=function(de,Te){var Oe=de.font;return Oe?Va[Oe]?Te.withTextFontFamily(Va[Oe]):$i[Oe]?Te.withTextFontWeight($i[Oe]):Te.withTextFontShape(co[Oe]):Te};ui({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(de,Te){var Oe=de.parser,ze=de.funcName,yt=Te[0];return{type:"text",mode:Oe.mode,body:Dn(yt),font:ze}},htmlBuilder:function(de,Te){var Oe=Zo(de,Te),ze=Hi(de.body,Oe,!0);return tn.makeSpan(["mord","text"],tn.tryCombineChars(ze),Oe)},mathmlBuilder:function(de,Te){var Oe=Zo(de,Te);return Co(de.body,Oe)}}),ui({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(de,Te){var Oe=de.parser;return{type:"underline",mode:Oe.mode,body:Te[0]}},htmlBuilder:function(de,Te){var Oe=_a(de.body,Te),ze=tn.makeLineSpan("underline-line",Te),yt=Te.fontMetrics().defaultRuleThickness,Kt=tn.makeVList({positionType:"top",positionData:Oe.height,children:[{type:"kern",size:yt},{type:"elem",elem:ze},{type:"kern",size:3*yt},{type:"elem",elem:Oe}]},Te);return tn.makeSpan(["mord","underline"],[Kt],Te)},mathmlBuilder:function(de,Te){var Oe=new si.MathNode("mo",[new si.TextNode("\u203E")]);Oe.setAttribute("stretchy","true");var ze=new si.MathNode("munder",[tr(de.body,Te),Oe]);return ze.setAttribute("accentunder","true"),ze}}),ui({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(de,Te,Oe){throw new o("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(de,Te){for(var Oe=Ha(de),ze=[],yt=Te.havingStyle(Te.style.text()),Kt=0;Kt<Oe.length;Kt++){var gr=Oe[Kt];gr==="~"&&(gr="\\textasciitilde"),ze.push(tn.makeSymbol(gr,"Typewriter-Regular",de.mode,yt,["mord","texttt"]))}return tn.makeSpan(["mord","text"].concat(yt.sizingClasses(Te)),tn.tryCombineChars(ze),yt)},mathmlBuilder:function(de,Te){var Oe=new si.TextNode(Ha(de)),ze=new si.MathNode("mtext",[Oe]);return ze.setAttribute("mathvariant","monospace"),ze}});var Ha=function(de){return de.body.replace(/ /g,de.star?"\u2423":"\xA0")},bo=fa,ma=bo,Bo=`[ \r
|
|
|
]`,$s="\\\\[a-zA-Z@]+",ss="\\\\[^\uD800-\uDFFF]",Ho=""+$s+Bo+"*",vs=new RegExp("^("+$s+")"+Bo+"*$"),cs="[\u0300-\u036F]",Jo=new RegExp(cs+"+$"),Fo="("+Bo+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(cs+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(cs+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+Ho)+("|"+ss+")"),eo=function(){function Vt(Te,Oe){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=Te,this.settings=Oe,this.tokenRegex=new RegExp(Fo,"g"),this.catcodes={"%":14}}var de=Vt.prototype;return de.setCatcode=function(Oe,ze){this.catcodes[Oe]=ze},de.lex=function(){var Oe=this.input,ze=this.tokenRegex.lastIndex;if(ze===Oe.length)return new h("EOF",new g(this,ze,ze));var yt=this.tokenRegex.exec(Oe);if(yt===null||yt.index!==ze)throw new o("Unexpected character: '"+Oe[ze]+"'",new h(Oe[ze],new g(this,ze,ze+1)));var Kt=yt[2]||" ";if(this.catcodes[Kt]===14){var gr=Oe.indexOf(`
|
|
|
`,this.tokenRegex.lastIndex);return gr===-1?(this.tokenRegex.lastIndex=Oe.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 xr=Kt.match(vs);return xr&&(Kt=xr[1]),new h(Kt,new g(this,ze,this.tokenRegex.lastIndex))},Vt}(),Mo=function(){function Vt(Te,Oe){Te===void 0&&(Te={}),Oe===void 0&&(Oe={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=Oe,this.builtins=Te,this.undefStack=[]}var de=Vt.prototype;return de.beginGroup=function(){this.undefStack.push({})},de.endGroup=function(){if(this.undefStack.length===0)throw new o("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var Oe=this.undefStack.pop();for(var ze in Oe)Oe.hasOwnProperty(ze)&&(Oe[ze]===void 0?delete this.current[ze]:this.current[ze]=Oe[ze])},de.has=function(Oe){return this.current.hasOwnProperty(Oe)||this.builtins.hasOwnProperty(Oe)},de.get=function(Oe){return this.current.hasOwnProperty(Oe)?this.current[Oe]:this.builtins[Oe]},de.set=function(Oe,ze,yt){if(yt===void 0&&(yt=!1),yt){for(var Kt=0;Kt<this.undefStack.length;Kt++)delete this.undefStack[Kt][Oe];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][Oe]=ze)}else{var gr=this.undefStack[this.undefStack.length-1];gr&&!gr.hasOwnProperty(Oe)&&(gr[Oe]=this.current[Oe])}this.current[Oe]=ze},Vt}(),po={},wo=po;function Dr(Vt,de){po[Vt]=de}Dr("\\@firstoftwo",function(Vt){var de=Vt.consumeArgs(2);return{tokens:de[0],numArgs:0}}),Dr("\\@secondoftwo",function(Vt){var de=Vt.consumeArgs(2);return{tokens:de[1],numArgs:0}}),Dr("\\@ifnextchar",function(Vt){var de=Vt.consumeArgs(3),Te=Vt.future();return de[0].length===1&&de[0][0].text===Te.text?{tokens:de[1],numArgs:0}:{tokens:de[2],numArgs:0}}),Dr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Dr("\\TextOrMath",function(Vt){var de=Vt.consumeArgs(2);return Vt.mode==="text"?{tokens:de[0],numArgs:0}:{tokens:de[1],numArgs:0}});var Hn={"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};Dr("\\char",function(Vt){var de=Vt.popToken(),Te,Oe="";if(de.text==="'")Te=8,de=Vt.popToken();else if(de.text==='"')Te=16,de=Vt.popToken();else if(de.text==="`")if(de=Vt.popToken(),de.text[0]==="\\")Oe=de.text.charCodeAt(1);else{if(de.text==="EOF")throw new o("\\char` missing argument");Oe=de.text.charCodeAt(0)}else Te=10;if(Te){if(Oe=Hn[de.text],Oe==null||Oe>=Te)throw new o("Invalid base-"+Te+" digit "+de.text);for(var ze;(ze=Hn[Vt.future().text])!=null&&ze<Te;)Oe*=Te,Oe+=ze,Vt.popToken()}return"\\@char{"+Oe+"}"});var Ls=function(de,Te){var Oe=de.consumeArgs(1)[0];if(Oe.length!==1)throw new o("\\gdef's first argument must be a macro name");var ze=Oe[0].text,yt=0;for(Oe=de.consumeArgs(1)[0];Oe.length===1&&Oe[0].text==="#";){if(Oe=de.consumeArgs(1)[0],Oe.length!==1)throw new o('Invalid argument number length "'+Oe.length+'"');if(!/^[1-9]$/.test(Oe[0].text))throw new o('Invalid argument number "'+Oe[0].text+'"');if(yt++,parseInt(Oe[0].text)!==yt)throw new o('Argument number "'+Oe[0].text+'" out of order');Oe=de.consumeArgs(1)[0]}return de.macros.set(ze,{tokens:Oe,numArgs:yt},Te),""};Dr("\\gdef",function(Vt){return Ls(Vt,!0)}),Dr("\\def",function(Vt){return Ls(Vt,!1)}),Dr("\\global",function(Vt){var de=Vt.consumeArgs(1)[0];if(de.length!==1)throw new o("Invalid command after \\global");var Te=de[0].text;if(Te==="\\def")return Ls(Vt,!0);throw new o("Invalid command '"+Te+"' after \\global")});var Ss=function(de,Te,Oe){var ze=de.consumeArgs(1)[0];if(ze.length!==1)throw new o("\\newcommand's first argument must be a macro name");var yt=ze[0].text,Kt=de.isDefined(yt);if(Kt&&!Te)throw new o("\\newcommand{"+yt+"} attempting to redefine "+(yt+"; use \\renewcommand"));if(!Kt&&!Oe)throw new o("\\renewcommand{"+yt+"} when command "+yt+" does not yet exist; use \\newcommand");var gr=0;if(ze=de.consumeArgs(1)[0],ze.length===1&&ze[0].text==="["){for(var xr="",Pr=de.expandNextToken();Pr.text!=="]"&&Pr.text!=="EOF";)xr+=Pr.text,Pr=de.expandNextToken();if(!xr.match(/^\s*[0-9]+\s*$/))throw new o("Invalid number of arguments: "+xr);gr=parseInt(xr),ze=de.consumeArgs(1)[0]}return de.macros.set(yt,{tokens:ze,numArgs:gr}),""};Dr("\\newcommand",function(Vt){return Ss(Vt,!1,!0)}),Dr("\\renewcommand",function(Vt){return Ss(Vt,!0,!1)}),Dr("\\providecommand",function(Vt){return Ss(Vt,!0,!0)}),Dr("\\bgroup","{"),Dr("\\egroup","}"),Dr("\\lq","`"),Dr("\\rq","'"),Dr("\\aa","\\r a"),Dr("\\AA","\\r A"),Dr("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),Dr("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Dr("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),Dr("\u212C","\\mathscr{B}"),Dr("\u2130","\\mathscr{E}"),Dr("\u2131","\\mathscr{F}"),Dr("\u210B","\\mathscr{H}"),Dr("\u2110","\\mathscr{I}"),Dr("\u2112","\\mathscr{L}"),Dr("\u2133","\\mathscr{M}"),Dr("\u211B","\\mathscr{R}"),Dr("\u212D","\\mathfrak{C}"),Dr("\u210C","\\mathfrak{H}"),Dr("\u2128","\\mathfrak{Z}"),Dr("\\Bbbk","\\Bbb{k}"),Dr("\xB7","\\cdotp"),Dr("\\llap","\\mathllap{\\textrm{#1}}"),Dr("\\rlap","\\mathrlap{\\textrm{#1}}"),Dr("\\clap","\\mathclap{\\textrm{#1}}"),Dr("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Dr("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),Dr("\\ne","\\neq"),Dr("\u2260","\\neq"),Dr("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),Dr("\u2209","\\notin"),Dr("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),Dr("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),Dr("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),Dr("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),Dr("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),Dr("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),Dr("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),Dr("\u27C2","\\perp"),Dr("\u203C","\\mathclose{!\\mkern-0.8mu!}"),Dr("\u220C","\\notni"),Dr("\u231C","\\ulcorner"),Dr("\u231D","\\urcorner"),Dr("\u231E","\\llcorner"),Dr("\u231F","\\lrcorner"),Dr("\xA9","\\copyright"),Dr("\xAE","\\textregistered"),Dr("\uFE0F","\\textregistered"),Dr("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),Dr("\u22EE","\\vdots"),Dr("\\varGamma","\\mathit{\\Gamma}"),Dr("\\varDelta","\\mathit{\\Delta}"),Dr("\\varTheta","\\mathit{\\Theta}"),Dr("\\varLambda","\\mathit{\\Lambda}"),Dr("\\varXi","\\mathit{\\Xi}"),Dr("\\varPi","\\mathit{\\Pi}"),Dr("\\varSigma","\\mathit{\\Sigma}"),Dr("\\varUpsilon","\\mathit{\\Upsilon}"),Dr("\\varPhi","\\mathit{\\Phi}"),Dr("\\varPsi","\\mathit{\\Psi}"),Dr("\\varOmega","\\mathit{\\Omega}"),Dr("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Dr("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),Dr("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Dr("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Dr("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Dr("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var ys={",":"\\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"};Dr("\\dots",function(Vt){var de="\\dotso",Te=Vt.expandAfterFuture().text;return Te in ys?de=ys[Te]:Te.substr(0,4)==="\\not"?de="\\dotsb":Te in qe.math&&(v.contains(["bin","rel"],qe.math[Te].group)&&(de="\\dotsb")),de});var Na={")":!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};Dr("\\dotso",function(Vt){var de=Vt.future().text;return de in Na?"\\ldots\\,":"\\ldots"}),Dr("\\dotsc",function(Vt){var de=Vt.future().text;return de in Na&&de!==","?"\\ldots\\,":"\\ldots"}),Dr("\\cdots",function(Vt){var de=Vt.future().text;return de in Na?"\\@cdots\\,":"\\@cdots"}),Dr("\\dotsb","\\cdots"),Dr("\\dotsm","\\cdots"),Dr("\\dotsi","\\!\\cdots"),Dr("\\dotsx","\\ldots\\,"),Dr("\\DOTSI","\\relax"),Dr("\\DOTSB","\\relax"),Dr("\\DOTSX","\\relax"),Dr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Dr("\\,","\\tmspace+{3mu}{.1667em}"),Dr("\\thinspace","\\,"),Dr("\\>","\\mskip{4mu}"),Dr("\\:","\\tmspace+{4mu}{.2222em}"),Dr("\\medspace","\\:"),Dr("\\;","\\tmspace+{5mu}{.2777em}"),Dr("\\thickspace","\\;"),Dr("\\!","\\tmspace-{3mu}{.1667em}"),Dr("\\negthinspace","\\!"),Dr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Dr("\\negthickspace","\\tmspace-{5mu}{.277em}"),Dr("\\enspace","\\kern.5em "),Dr("\\enskip","\\hskip.5em\\relax"),Dr("\\quad","\\hskip1em\\relax"),Dr("\\qquad","\\hskip2em\\relax"),Dr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Dr("\\tag@paren","\\tag@literal{({#1})}"),Dr("\\tag@literal",function(Vt){if(Vt.macros.get("\\df@tag"))throw new o("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),Dr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Dr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Dr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Dr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Dr("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),Dr("\\\\","\\newline"),Dr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Ga=ut["Main-Regular"]["T".charCodeAt(0)][1]-.7*ut["Main-Regular"]["A".charCodeAt(0)][1]+"em";Dr("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Ga+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),Dr("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Ga+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),Dr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Dr("\\@hspace","\\hskip #1\\relax"),Dr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Dr("\\ordinarycolon",":"),Dr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Dr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Dr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Dr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Dr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Dr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Dr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Dr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Dr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Dr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Dr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Dr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Dr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Dr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Dr("\u2237","\\dblcolon"),Dr("\u2239","\\eqcolon"),Dr("\u2254","\\coloneqq"),Dr("\u2255","\\eqqcolon"),Dr("\u2A74","\\Coloneqq"),Dr("\\ratio","\\vcentcolon"),Dr("\\coloncolon","\\dblcolon"),Dr("\\colonequals","\\coloneqq"),Dr("\\coloncolonequals","\\Coloneqq"),Dr("\\equalscolon","\\eqqcolon"),Dr("\\equalscoloncolon","\\Eqqcolon"),Dr("\\colonminus","\\coloneq"),Dr("\\coloncolonminus","\\Coloneq"),Dr("\\minuscolon","\\eqcolon"),Dr("\\minuscoloncolon","\\Eqcolon"),Dr("\\coloncolonapprox","\\Colonapprox"),Dr("\\coloncolonsim","\\Colonsim"),Dr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Dr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Dr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Dr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Dr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),Dr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Dr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Dr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),Dr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),Dr("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),Dr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),Dr("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),Dr("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),Dr("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),Dr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),Dr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),Dr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),Dr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),Dr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),Dr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),Dr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),Dr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),Dr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),Dr("\u27E6","\\llbracket"),Dr("\u27E7","\\rrbracket"),Dr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),Dr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),Dr("\u2983","\\lBrace"),Dr("\u2984","\\rBrace"),Dr("\\darr","\\downarrow"),Dr("\\dArr","\\Downarrow"),Dr("\\Darr","\\Downarrow"),Dr("\\lang","\\langle"),Dr("\\rang","\\rangle"),Dr("\\uarr","\\uparrow"),Dr("\\uArr","\\Uparrow"),Dr("\\Uarr","\\Uparrow"),Dr("\\N","\\mathbb{N}"),Dr("\\R","\\mathbb{R}"),Dr("\\Z","\\mathbb{Z}"),Dr("\\alef","\\aleph"),Dr("\\alefsym","\\aleph"),Dr("\\Alpha","\\mathrm{A}"),Dr("\\Beta","\\mathrm{B}"),Dr("\\bull","\\bullet"),Dr("\\Chi","\\mathrm{X}"),Dr("\\clubs","\\clubsuit"),Dr("\\cnums","\\mathbb{C}"),Dr("\\Complex","\\mathbb{C}"),Dr("\\Dagger","\\ddagger"),Dr("\\diamonds","\\diamondsuit"),Dr("\\empty","\\emptyset"),Dr("\\Epsilon","\\mathrm{E}"),Dr("\\Eta","\\mathrm{H}"),Dr("\\exist","\\exists"),Dr("\\harr","\\leftrightarrow"),Dr("\\hArr","\\Leftrightarrow"),Dr("\\Harr","\\Leftrightarrow"),Dr("\\hearts","\\heartsuit"),Dr("\\image","\\Im"),Dr("\\infin","\\infty"),Dr("\\Iota","\\mathrm{I}"),Dr("\\isin","\\in"),Dr("\\Kappa","\\mathrm{K}"),Dr("\\larr","\\leftarrow"),Dr("\\lArr","\\Leftarrow"),Dr("\\Larr","\\Leftarrow"),Dr("\\lrarr","\\leftrightarrow"),Dr("\\lrArr","\\Leftrightarrow"),Dr("\\Lrarr","\\Leftrightarrow"),Dr("\\Mu","\\mathrm{M}"),Dr("\\natnums","\\mathbb{N}"),Dr("\\Nu","\\mathrm{N}"),Dr("\\Omicron","\\mathrm{O}"),Dr("\\plusmn","\\pm"),Dr("\\rarr","\\rightarrow"),Dr("\\rArr","\\Rightarrow"),Dr("\\Rarr","\\Rightarrow"),Dr("\\real","\\Re"),Dr("\\reals","\\mathbb{R}"),Dr("\\Reals","\\mathbb{R}"),Dr("\\Rho","\\mathrm{P}"),Dr("\\sdot","\\cdot"),Dr("\\sect","\\S"),Dr("\\spades","\\spadesuit"),Dr("\\sub","\\subset"),Dr("\\sube","\\subseteq"),Dr("\\supe","\\supseteq"),Dr("\\Tau","\\mathrm{T}"),Dr("\\thetasym","\\vartheta"),Dr("\\weierp","\\wp"),Dr("\\Zeta","\\mathrm{Z}"),Dr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Dr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Dr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Dr("\\blue","\\textcolor{##6495ed}{#1}"),Dr("\\orange","\\textcolor{##ffa500}{#1}"),Dr("\\pink","\\textcolor{##ff00af}{#1}"),Dr("\\red","\\textcolor{##df0030}{#1}"),Dr("\\green","\\textcolor{##28ae7b}{#1}"),Dr("\\gray","\\textcolor{gray}{#1}"),Dr("\\purple","\\textcolor{##9d38bd}{#1}"),Dr("\\blueA","\\textcolor{##ccfaff}{#1}"),Dr("\\blueB","\\textcolor{##80f6ff}{#1}"),Dr("\\blueC","\\textcolor{##63d9ea}{#1}"),Dr("\\blueD","\\textcolor{##11accd}{#1}"),Dr("\\blueE","\\textcolor{##0c7f99}{#1}"),Dr("\\tealA","\\textcolor{##94fff5}{#1}"),Dr("\\tealB","\\textcolor{##26edd5}{#1}"),Dr("\\tealC","\\textcolor{##01d1c1}{#1}"),Dr("\\tealD","\\textcolor{##01a995}{#1}"),Dr("\\tealE","\\textcolor{##208170}{#1}"),Dr("\\greenA","\\textcolor{##b6ffb0}{#1}"),Dr("\\greenB","\\textcolor{##8af281}{#1}"),Dr("\\greenC","\\textcolor{##74cf70}{#1}"),Dr("\\greenD","\\textcolor{##1fab54}{#1}"),Dr("\\greenE","\\textcolor{##0d923f}{#1}"),Dr("\\goldA","\\textcolor{##ffd0a9}{#1}"),Dr("\\goldB","\\textcolor{##ffbb71}{#1}"),Dr("\\goldC","\\textcolor{##ff9c39}{#1}"),Dr("\\goldD","\\textcolor{##e07d10}{#1}"),Dr("\\goldE","\\textcolor{##a75a05}{#1}"),Dr("\\redA","\\textcolor{##fca9a9}{#1}"),Dr("\\redB","\\textcolor{##ff8482}{#1}"),Dr("\\redC","\\textcolor{##f9685d}{#1}"),Dr("\\redD","\\textcolor{##e84d39}{#1}"),Dr("\\redE","\\textcolor{##bc2612}{#1}"),Dr("\\maroonA","\\textcolor{##ffbde0}{#1}"),Dr("\\maroonB","\\textcolor{##ff92c6}{#1}"),Dr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Dr("\\maroonD","\\textcolor{##ca337c}{#1}"),Dr("\\maroonE","\\textcolor{##9e034e}{#1}"),Dr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Dr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Dr("\\purpleC","\\textcolor{##aa87ff}{#1}"),Dr("\\purpleD","\\textcolor{##7854ab}{#1}"),Dr("\\purpleE","\\textcolor{##543b78}{#1}"),Dr("\\mintA","\\textcolor{##f5f9e8}{#1}"),Dr("\\mintB","\\textcolor{##edf2df}{#1}"),Dr("\\mintC","\\textcolor{##e0e5cc}{#1}"),Dr("\\grayA","\\textcolor{##f6f7f7}{#1}"),Dr("\\grayB","\\textcolor{##f0f1f2}{#1}"),Dr("\\grayC","\\textcolor{##e3e5e6}{#1}"),Dr("\\grayD","\\textcolor{##d6d8da}{#1}"),Dr("\\grayE","\\textcolor{##babec2}{#1}"),Dr("\\grayF","\\textcolor{##888d93}{#1}"),Dr("\\grayG","\\textcolor{##626569}{#1}"),Dr("\\grayH","\\textcolor{##3b3e40}{#1}"),Dr("\\grayI","\\textcolor{##21242c}{#1}"),Dr("\\kaBlue","\\textcolor{##314453}{#1}"),Dr("\\kaGreen","\\textcolor{##71B307}{#1}");var To={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},xo=function(){function Vt(Te,Oe,ze){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=Oe,this.expansionCount=0,this.feed(Te),this.macros=new Mo(wo,Oe.macros),this.mode=ze,this.stack=[]}var de=Vt.prototype;return de.feed=function(Oe){this.lexer=new eo(Oe,this.settings)},de.switchMode=function(Oe){this.mode=Oe},de.beginGroup=function(){this.macros.beginGroup()},de.endGroup=function(){this.macros.endGroup()},de.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},de.popToken=function(){return this.future(),this.stack.pop()},de.pushToken=function(Oe){this.stack.push(Oe)},de.pushTokens=function(Oe){var ze;(ze=this.stack).push.apply(ze,Oe)},de.consumeSpaces=function(){for(;;){var Oe=this.future();if(Oe.text===" ")this.stack.pop();else break}},de.consumeArgs=function(Oe){for(var ze=[],yt=0;yt<Oe;++yt){this.consumeSpaces();var Kt=this.popToken();if(Kt.text==="{"){for(var gr=[],xr=1;xr!==0;){var Pr=this.popToken();if(gr.push(Pr),Pr.text==="{")++xr;else if(Pr.text==="}")--xr;else if(Pr.text==="EOF")throw new o("End of input in macro argument",Kt)}gr.pop(),gr.reverse(),ze[yt]=gr}else{if(Kt.text==="EOF")throw new o("End of input expecting macro argument");ze[yt]=[Kt]}}return ze},de.expandOnce=function(){var Oe=this.popToken(),ze=Oe.text,yt=this._getExpansion(ze);if(yt==null)return this.pushToken(Oe),Oe;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new o("Too many expansions: infinite loop or need to increase maxExpand setting");var Kt=yt.tokens;if(yt.numArgs){var gr=this.consumeArgs(yt.numArgs);Kt=Kt.slice();for(var xr=Kt.length-1;xr>=0;--xr){var Pr=Kt[xr];if(Pr.text==="#"){if(xr===0)throw new o("Incomplete placeholder at end of macro body",Pr);if(Pr=Kt[--xr],Pr.text==="#")Kt.splice(xr+1,1);else if(/^[1-9]$/.test(Pr.text)){var dn;(dn=Kt).splice.apply(dn,[xr,2].concat(gr[+Pr.text-1]))}else throw new o("Not a valid argument number",Pr)}}}return this.pushTokens(Kt),Kt},de.expandAfterFuture=function(){return this.expandOnce(),this.future()},de.expandNextToken=function(){for(;;){var Oe=this.expandOnce();if(Oe instanceof h)if(Oe.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},de.expandMacro=function(Oe){if(!this.macros.get(Oe))return;var ze=[],yt=this.stack.length;for(this.pushToken(new h(Oe));this.stack.length>yt;){var Kt=this.expandOnce();Kt instanceof h&&ze.push(this.stack.pop())}return ze},de.expandMacroAsText=function(Oe){var ze=this.expandMacro(Oe);return ze&&ze.map(function(yt){return yt.text}).join("")},de._getExpansion=function(Oe){var ze=this.macros.get(Oe);if(ze==null)return ze;var yt=typeof ze=="function"?ze(this):ze;if(typeof yt=="string"){var Kt=0;if(yt.indexOf("#")!==-1)for(var gr=yt.replace(/##/g,"");gr.indexOf("#"+(Kt+1))!==-1;)++Kt;for(var xr=new eo(yt,this.settings),Pr=[],dn=xr.lex();dn.text!=="EOF";)Pr.push(dn),dn=xr.lex();Pr.reverse();var bn={tokens:Pr,numArgs:Kt};return bn}return yt},de.isDefined=function(Oe){return this.macros.has(Oe)||ma.hasOwnProperty(Oe)||qe.math.hasOwnProperty(Oe)||qe.text.hasOwnProperty(Oe)||To.hasOwnProperty(Oe)},Vt}(),$o={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"}},es={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u010F:"d\u030C",\u1E0B:"d\u0307",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u013A:"l\u0301",\u013E:"l\u030C",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u010E:"D\u030C",\u1E0A:"D\u0307",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0139:"L\u0301",\u013D:"L\u030C",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u0164:"T\u030C",\u1E6A:"T\u0307",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},ts=function(){function Vt(Te,Oe){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 xo(Te,Oe,this.mode),this.settings=Oe,this.leftrightDepth=0}var de=Vt.prototype;return de.expect=function(Oe,ze){if(ze===void 0&&(ze=!0),this.fetch().text!==Oe)throw new o("Expected '"+Oe+"', got '"+this.fetch().text+"'",this.fetch());ze&&this.consume()},de.consume=function(){this.nextToken=null},de.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},de.switchMode=function(Oe){this.mode=Oe,this.gullet.switchMode(Oe)},de.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var Oe=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),Oe},de.parseExpression=function(Oe,ze){for(var yt=[];;){this.mode==="math"&&this.consumeSpaces();var Kt=this.fetch();if(Vt.endOfExpression.indexOf(Kt.text)!==-1)break;if(ze&&Kt.text===ze)break;if(Oe&&ma[Kt.text]&&ma[Kt.text].infix)break;var gr=this.parseAtom(ze);if(!gr)break;yt.push(gr)}return this.mode==="text"&&this.formLigatures(yt),this.handleInfixNodes(yt)},de.handleInfixNodes=function(Oe){for(var ze=-1,yt,Kt=0;Kt<Oe.length;Kt++){var gr=On(Oe[Kt],"infix");if(gr){if(ze!==-1)throw new o("only one infix operator per group",gr.token);ze=Kt,yt=gr.replaceWith}}if(ze!==-1&&yt){var xr,Pr,dn=Oe.slice(0,ze),bn=Oe.slice(ze+1);dn.length===1&&dn[0].type==="ordgroup"?xr=dn[0]:xr={type:"ordgroup",mode:this.mode,body:dn},bn.length===1&&bn[0].type==="ordgroup"?Pr=bn[0]:Pr={type:"ordgroup",mode:this.mode,body:bn};var Nn;return yt==="\\\\abovefrac"?Nn=this.callFunction(yt,[xr,Oe[ze],Pr],[]):Nn=this.callFunction(yt,[xr,Pr],[]),[Nn]}else return Oe},de.handleSupSubscript=function(Oe){var ze=this.fetch(),yt=ze.text;this.consume();var Kt=this.parseGroup(Oe,!1,Vt.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Kt)throw new o("Expected group after '"+yt+"'",ze);return Kt},de.formatUnsupportedCmd=function(Oe){for(var ze=[],yt=0;yt<Oe.length;yt++)ze.push({type:"textord",mode:"text",text:Oe[yt]});var Kt={type:"text",mode:this.mode,body:ze},gr={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Kt]};return gr},de.parseAtom=function(Oe){var ze=this.parseGroup("atom",!1,null,Oe);if(this.mode==="text")return ze;for(var yt,Kt;;){this.consumeSpaces();var gr=this.fetch();if(gr.text==="\\limits"||gr.text==="\\nolimits"){var xr=On(ze,"op");if(xr){var Pr=gr.text==="\\limits";xr.limits=Pr,xr.alwaysHandleSupSub=!0}else if(xr=On(ze,"operatorname"),xr&&xr.alwaysHandleSupSub){var dn=gr.text==="\\limits";xr.limits=dn}else throw new o("Limit controls must follow a math operator",gr);this.consume()}else if(gr.text==="^"){if(yt)throw new o("Double superscript",gr);yt=this.handleSupSubscript("superscript")}else if(gr.text==="_"){if(Kt)throw new o("Double subscript",gr);Kt=this.handleSupSubscript("subscript")}else if(gr.text==="'"){if(yt)throw new o("Double superscript",gr);var bn={type:"textord",mode:this.mode,text:"\\prime"},Nn=[bn];for(this.consume();this.fetch().text==="'";)Nn.push(bn),this.consume();this.fetch().text==="^"&&Nn.push(this.handleSupSubscript("superscript")),yt={type:"ordgroup",mode:this.mode,body:Nn}}else break}return yt||Kt?{type:"supsub",mode:this.mode,base:ze,sup:yt,sub:Kt}:ze},de.parseFunction=function(Oe,ze,yt){var Kt=this.fetch(),gr=Kt.text,xr=ma[gr];if(!xr)return null;if(this.consume(),yt!=null&&xr.greediness<=yt)throw new o("Got function '"+gr+"' with no arguments"+(ze?" as "+ze:""),Kt);if(this.mode==="text"&&!xr.allowedInText)throw new o("Can't use function '"+gr+"' in text mode",Kt);if(this.mode==="math"&&xr.allowedInMath===!1)throw new o("Can't use function '"+gr+"' in math mode",Kt);var Pr=this.parseArguments(gr,xr),dn=Pr.args,bn=Pr.optArgs;return this.callFunction(gr,dn,bn,Kt,Oe)},de.callFunction=function(Oe,ze,yt,Kt,gr){var xr={funcName:Oe,parser:this,token:Kt,breakOnTokenText:gr},Pr=ma[Oe];if(Pr&&Pr.handler)return Pr.handler(xr,ze,yt);throw new o("No function handler for "+Oe)},de.parseArguments=function(Oe,ze){var yt=ze.numArgs+ze.numOptionalArgs;if(yt===0)return{args:[],optArgs:[]};for(var Kt=ze.greediness,gr=[],xr=[],Pr=0;Pr<yt;Pr++){var dn=ze.argTypes&&ze.argTypes[Pr],bn=Pr<ze.numOptionalArgs,Nn=Pr>0&&!bn||Pr===0&&!bn&&this.mode==="math",Xn=this.parseGroupOfType("argument to '"+Oe+"'",dn,bn,Kt,Nn);if(!Xn){if(bn){xr.push(null);continue}throw new o("Expected group after '"+Oe+"'",this.fetch())}(bn?xr:gr).push(Xn)}return{args:gr,optArgs:xr}},de.parseGroupOfType=function(Oe,ze,yt,Kt,gr){switch(ze){case"color":return gr&&this.consumeSpaces(),this.parseColorGroup(yt);case"size":return gr&&this.consumeSpaces(),this.parseSizeGroup(yt);case"url":return this.parseUrlGroup(yt,gr);case"math":case"text":return this.parseGroup(Oe,yt,Kt,void 0,ze,gr);case"hbox":{var xr=this.parseGroup(Oe,yt,Kt,void 0,"text",gr);if(!xr)return xr;var Pr={type:"styling",mode:xr.mode,body:[xr],style:"text"};return Pr}case"raw":{if(gr&&this.consumeSpaces(),yt&&this.fetch().text==="{")return null;var dn=this.parseStringGroup("raw",yt,!0);if(dn)return{type:"raw",mode:"text",string:dn.text};throw new o("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(Oe,yt,Kt,void 0,void 0,gr);default:throw new o("Unknown group type as "+Oe,this.fetch())}},de.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},de.parseStringGroup=function(Oe,ze,yt){var Kt=ze?"[":"{",gr=ze?"]":"}",xr=this.fetch();if(xr.text!==Kt){if(ze)return null;if(yt&&xr.text!=="EOF"&&/[^{}[\]]/.test(xr.text))return this.consume(),xr}var Pr=this.mode;this.mode="text",this.expect(Kt);for(var dn="",bn=this.fetch(),Nn=0,Xn=bn,li;(li=this.fetch()).text!==gr||yt&&Nn>0;){switch(li.text){case"EOF":throw new o("Unexpected end of input in "+Oe,bn.range(Xn,dn));case Kt:Nn++;break;case gr:Nn--;break}Xn=li,dn+=Xn.text,this.consume()}return this.expect(gr),this.mode=Pr,bn.range(Xn,dn)},de.parseRegexGroup=function(Oe,ze){var yt=this.mode;this.mode="text";for(var Kt=this.fetch(),gr=Kt,xr="",Pr;(Pr=this.fetch()).text!=="EOF"&&Oe.test(xr+Pr.text);)gr=Pr,xr+=gr.text,this.consume();if(xr==="")throw new o("Invalid "+ze+": '"+Kt.text+"'",Kt);return this.mode=yt,Kt.range(gr,xr)},de.parseColorGroup=function(Oe){var ze=this.parseStringGroup("color",Oe);if(!ze)return null;var yt=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(ze.text);if(!yt)throw new o("Invalid color: '"+ze.text+"'",ze);var Kt=yt[0];return/^[0-9a-f]{6}$/i.test(Kt)&&(Kt="#"+Kt),{type:"color-token",mode:this.mode,color:Kt}},de.parseSizeGroup=function(Oe){var ze,yt=!1;if(!Oe&&this.fetch().text!=="{"?ze=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):ze=this.parseStringGroup("size",Oe),!ze)return null;!Oe&&ze.text.length===0&&(ze.text="0pt",yt=!0);var Kt=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(ze.text);if(!Kt)throw new o("Invalid size: '"+ze.text+"'",ze);var gr={number:+(Kt[1]+Kt[2]),unit:Kt[3]};if(!Je(gr))throw new o("Invalid unit: '"+gr.unit+"'",ze);return{type:"size",mode:this.mode,value:gr,isBlank:yt}},de.parseUrlGroup=function(Oe,ze){this.gullet.lexer.setCatcode("%",13);var yt=this.parseStringGroup("url",Oe,!0);if(this.gullet.lexer.setCatcode("%",14),!yt)return null;var Kt=yt.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Kt}},de.parseGroup=function(Oe,ze,yt,Kt,gr,xr){var Pr=this.mode;gr&&this.switchMode(gr),xr&&this.consumeSpaces();var dn=this.fetch(),bn=dn.text,Nn;if(ze?bn==="[":bn==="{"||bn==="\\begingroup"){this.consume();var Xn=Vt.endOfGroup[bn];this.gullet.beginGroup();var li=this.parseExpression(!1,Xn),Li=this.fetch();this.expect(Xn),this.gullet.endGroup(),Nn={type:"ordgroup",mode:this.mode,loc:g.range(dn,Li),body:li,semisimple:bn==="\\begingroup"||void 0}}else if(ze)Nn=null;else if(Nn=this.parseFunction(Kt,Oe,yt)||this.parseSymbol(),Nn==null&&bn[0]==="\\"&&!To.hasOwnProperty(bn)){if(this.settings.throwOnError)throw new o("Undefined control sequence: "+bn,dn);Nn=this.formatUnsupportedCmd(bn),this.consume()}return gr&&this.switchMode(Pr),Nn},de.formLigatures=function(Oe){for(var ze=Oe.length-1,yt=0;yt<ze;++yt){var Kt=Oe[yt],gr=Kt.text;gr==="-"&&Oe[yt+1].text==="-"&&(yt+1<ze&&Oe[yt+2].text==="-"?(Oe.splice(yt,3,{type:"textord",mode:"text",loc:g.range(Kt,Oe[yt+2]),text:"---"}),ze-=2):(Oe.splice(yt,2,{type:"textord",mode:"text",loc:g.range(Kt,Oe[yt+1]),text:"--"}),ze-=1)),(gr==="'"||gr==="`")&&Oe[yt+1].text===gr&&(Oe.splice(yt,2,{type:"textord",mode:"text",loc:g.range(Kt,Oe[yt+1]),text:gr+gr}),ze-=1)}},de.parseSymbol=function(){var Oe=this.fetch(),ze=Oe.text;if(/^\\verb[^a-zA-Z]/.test(ze)){this.consume();var yt=ze.slice(5),Kt=yt.charAt(0)==="*";if(Kt&&(yt=yt.slice(1)),yt.length<2||yt.charAt(0)!==yt.slice(-1))throw new o(`\\verb assertion failed --
|
|
|
please report what input caused this bug`);return yt=yt.slice(1,-1),{type:"verb",mode:"text",body:yt,star:Kt}}es.hasOwnProperty(ze[0])&&!qe[this.mode][ze[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+ze[0]+'" used in math mode',Oe),ze=es[ze[0]]+ze.substr(1));var gr=Jo.exec(ze);gr&&(ze=ze.substring(0,gr.index),ze==="i"?ze="\u0131":ze==="j"&&(ze="\u0237"));var xr;if(qe[this.mode][ze]){this.settings.strict&&this.mode==="math"&&ct.indexOf(ze)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+ze[0]+'" used in math mode',Oe);var Pr=qe[this.mode][ze].group,dn=g.range(Oe),bn;if(Bt.hasOwnProperty(Pr)){var Nn=Pr;bn={type:"atom",mode:this.mode,family:Nn,loc:dn,text:ze}}else bn={type:Pr,mode:this.mode,loc:dn,text:ze};xr=bn}else if(ze.charCodeAt(0)>=128)this.settings.strict&&(Z(ze.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+ze[0]+'" used in math mode',Oe):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+ze[0]+'"'+(" ("+ze.charCodeAt(0)+")"),Oe)),xr={type:"textord",mode:"text",loc:g.range(Oe),text:ze};else return null;if(this.consume(),gr)for(var Xn=0;Xn<gr[0].length;Xn++){var li=gr[0][Xn];if(!$o[li])throw new o("Unknown accent ' "+li+"'",Oe);var Li=$o[li][this.mode];if(!Li)throw new o("Accent "+li+" unsupported in "+this.mode+" mode",Oe);xr={type:"accent",mode:this.mode,loc:g.range(Oe),label:Li,isStretchy:!1,isShifty:!0,base:xr}}return xr},Vt}();ts.endOfExpression=["}","\\endgroup","\\end","\\right","&"],ts.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},ts.SUPSUB_GREEDINESS=1;var Gs=function(de,Te){if(!(typeof de=="string"||de instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var Oe=new ts(de,Te);delete Oe.gullet.macros.current["\\df@tag"];var ze=Oe.parse();if(Oe.gullet.macros.get("\\df@tag")){if(!Te.displayMode)throw new o("\\tag works only in display equations");Oe.gullet.feed("\\df@tag"),ze=[{type:"tag",mode:"text",body:ze,tag:Oe.parse()}]}return ze},Os=Gs,Ws=function(de,Te,Oe){Te.textContent="";var ze=ao(de,Oe).toNode();Te.appendChild(ze)};typeof document!="undefined"&&(document.compatMode!=="CSS1Compat"&&(typeof console!="undefined"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),Ws=function(){throw new o("KaTeX doesn't work in quirks mode.")}));var Ns=function(de,Te){var Oe=ao(de,Te).toMarkup();return Oe},Go=function(de,Te){var Oe=new x(Te);return Os(de,Oe)},xs=function(de,Te,Oe){if(Oe.throwOnError||!(de instanceof o))throw de;var ze=tn.makeSpan(["katex-error"],[new Le(Te)]);return ze.setAttribute("title",de.toString()),ze.setAttribute("style","color:"+Oe.errorColor),ze},ao=function(de,Te){var Oe=new x(Te);try{var ze=Os(de,Oe);return Ze(ze,de,Oe)}catch(yt){return xs(yt,de,Oe)}},el=function(de,Te){var Oe=new x(Te);try{var ze=Os(de,Oe);return Ht(ze,de,Oe)}catch(yt){return xs(yt,de,Oe)}},Ds={version:"0.11.1",render:Ws,renderToString:Ns,ParseError:o,__parse:Go,__renderToDomTree:ao,__renderToHTMLTree:el,__setFontMetrics:Dt,__defineSymbol:we,__defineMacro:Dr,__domTree:{Span:j,Anchor:Y,SymbolNode:Le,SvgNode:Ee,PathNode:ne,LineNode:ge}},ds=m.default=Ds}]).default})},P2fV:function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("Q9mQ"),p=r("+L6B"),g=r("sE09"),h=r.n(g)},P2ho:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y={Again:57349,AltLeft:56,AltRight:57400,ArrowDown:57424,ArrowLeft:57419,ArrowRight:57421,ArrowUp:57416,AudioVolumeDown:57390,AudioVolumeMute:57376,AudioVolumeUp:57392,Backquote:41,Backslash:43,Backspace:14,BracketLeft:26,BracketRight:27,BrowserBack:57450,BrowserFavorites:57446,BrowserForward:57449,BrowserHome:57394,BrowserRefresh:57447,BrowserSearch:57445,BrowserStop:57448,CapsLock:58,Comma:51,ContextMenu:57437,ControlLeft:29,ControlRight:57373,Convert:121,Copy:57464,Cut:57404,Delete:57427,Digit0:11,Digit1:2,Digit2:3,Digit3:4,Digit4:5,Digit5:6,Digit6:7,Digit7:8,Digit8:9,Digit9:10,Eject:57469,End:57423,Enter:28,Equal:13,Escape:1,F1:59,F10:68,F11:87,F12:88,F13:93,F14:94,F15:95,F16:85,F17:57347,F18:57463,F19:57348,F2:60,F20:90,F21:116,F22:57465,F23:109,F24:111,F3:61,F4:62,F5:63,F6:64,F7:65,F8:66,F9:67,Find:57409,Help:57461,Hiragana:119,Home:57415,Insert:57426,IntlBackslash:86,IntlRo:115,IntlYen:125,KanaMode:112,Katakana:120,KeyA:30,KeyB:48,KeyC:46,KeyD:32,KeyE:18,KeyF:33,KeyG:34,KeyH:35,KeyI:23,KeyJ:36,KeyK:37,KeyL:38,KeyM:50,KeyN:49,KeyO:24,KeyP:25,KeyQ:16,KeyR:19,KeyS:31,KeyT:20,KeyU:22,KeyV:47,KeyW:17,KeyX:45,KeyY:21,KeyZ:44,Lang3:120,Lang4:119,Lang5:118,LaunchApp1:57451,LaunchApp2:57377,LaunchMail:57452,MediaPlayPause:57378,MediaSelect:57453,MediaStop:57380,MediaTrackNext:57369,MediaTrackPrevious:57360,MetaLeft:57435,MetaRight:57436,Minus:12,NonConvert:123,NumLock:69,Numpad0:82,Numpad1:79,Numpad2:80,Numpad3:81,Numpad4:75,Numpad5:76,Numpad6:77,Numpad7:71,Numpad8:72,Numpad9:73,NumpadAdd:78,NumpadComma:126,NumpadDecimal:83,NumpadDivide:57397,NumpadEnter:57372,NumpadEqual:89,NumpadMultiply:55,NumpadParenLeft:57462,NumpadParenRight:57467,NumpadSubtract:74,Open:100,PageDown:57425,PageUp:57417,Paste:101,Pause:57414,Period:52,Power:57438,PrintScreen:84,Props:57350,Quote:40,ScrollLock:70,Semicolon:39,ShiftLeft:42,ShiftRight:54,Slash:53,Sleep:57439,Space:57,Suspend:57381,Tab:15,Undo:57351,WakeUp:57443};N.default=y},P47w:function(B,N,r){var y=r("hydK"),m=y.createElement,C=r("IMiH"),p=r("mFDi"),g=r("Fofx"),h=r("6GrX"),c=r("pzxd"),o=r("dqUG"),n=C.CMD,t=Array.prototype.join,a="none",d=Math.round,i=Math.sin,l=Math.cos,e=Math.PI,s=Math.PI*2,u=180/e,f=1e-4;function A(G){return d(G*1e4)/1e4}function v(G){return G<f&&G>-f}function x(G,X){var Z=X?G.textFill:G.fill;return Z!=null&&Z!==a}function b(G,X){var Z=X?G.textStroke:G.stroke;return Z!=null&&Z!==a}function w(G,X){X&&_(G,"transform","matrix("+t.call(X,",")+")")}function _(G,X,Z){(!Z||Z.type!=="linear"&&Z.type!=="radial")&&G.setAttribute(X,Z)}function T(G,X,Z){G.setAttributeNS("http://www.w3.org/1999/xlink",X,Z)}function S(G,X,Z,ee){if(x(X,Z)){var Se=Z?X.textFill:X.fill;Se=Se==="transparent"?a:Se,_(G,"fill",Se),_(G,"fill-opacity",X.fillOpacity!=null?X.fillOpacity*X.opacity:X.opacity)}else _(G,"fill",a);if(b(X,Z)){var $=Z?X.textStroke:X.stroke;$=$==="transparent"?a:$,_(G,"stroke",$);var pe=Z?X.textStrokeWidth:X.lineWidth,xe=!Z&&X.strokeNoScale?ee.getLineScale():1;_(G,"stroke-width",pe/xe),_(G,"paint-order",Z?"stroke":"fill"),_(G,"stroke-opacity",X.strokeOpacity!=null?X.strokeOpacity:X.opacity);var _e=X.lineDash;_e?(_(G,"stroke-dasharray",X.lineDash.join(",")),_(G,"stroke-dashoffset",d(X.lineDashOffset||0))):_(G,"stroke-dasharray",""),X.lineCap&&_(G,"stroke-linecap",X.lineCap),X.lineJoin&&_(G,"stroke-linejoin",X.lineJoin),X.miterLimit&&_(G,"stroke-miterlimit",X.miterLimit)}else _(G,"stroke",a)}function E(G){for(var X=[],Z=G.data,ee=G.len(),Se=0;Se<ee;){var $=Z[Se++],pe="",xe=0;switch($){case n.M:pe="M",xe=2;break;case n.L:pe="L",xe=2;break;case n.Q:pe="Q",xe=4;break;case n.C:pe="C",xe=6;break;case n.A:var _e=Z[Se++],Ue=Z[Se++],ye=Z[Se++],Be=Z[Se++],Q=Z[Se++],ie=Z[Se++],Ve=Z[Se++],J=Z[Se++],W=Math.abs(ie),j=v(W-s)||(J?ie>=s:-ie>=s),Y=ie>0?ie%s:ie%s+s,me=!1;j?me=!0:v(W)?me=!1:me=Y>=e===!!J;var ae=A(_e+ye*l(Q)),Le=A(Ue+Be*i(Q));j&&(J?ie=s-1e-4:ie=-s+1e-4,me=!0,Se===9&&X.push("M",ae,Le));var Ee=A(_e+ye*l(Q+ie)),ne=A(Ue+Be*i(Q+ie));X.push("A",A(ye),A(Be),d(Ve*u),+me,+J,Ee,ne);break;case n.Z:pe="Z";break;case n.R:var Ee=A(Z[Se++]),ne=A(Z[Se++]),ge=A(Z[Se++]),Ie=A(Z[Se++]);X.push("M",Ee,ne,"L",Ee+ge,ne,"L",Ee+ge,ne+Ie,"L",Ee,ne+Ie,"L",Ee,ne);break}pe&&X.push(pe);for(var Ge=0;Ge<xe;Ge++)X.push(A(Z[Se++]))}return X.join(" ")}var I={};I.brush=function(G){var X=G.style,Z=G.__svgEl;Z||(Z=m("path"),G.__svgEl=Z),G.path||G.createPathProxy();var ee=G.path;if(G.__dirtyPath){ee.beginPath(),ee.subPixelOptimize=!1,G.buildPath(ee,G.shape),G.__dirtyPath=!1;var Se=E(ee);Se.indexOf("NaN")<0&&_(Z,"d",Se)}S(Z,X,!1,G),w(Z,G.transform),X.text!=null?D(G,G.getBoundingRect()):K(G)};var O={};O.brush=function(G){var X=G.style,Z=X.image;if(Z instanceof HTMLImageElement){var ee=Z.src;Z=ee}if(!Z)return;var Se=X.x||0,$=X.y||0,pe=X.width,xe=X.height,_e=G.__svgEl;_e||(_e=m("image"),G.__svgEl=_e),Z!==G.__imageSrc&&(T(_e,"href",Z),G.__imageSrc=Z),_(_e,"width",pe),_(_e,"height",xe),_(_e,"x",Se),_(_e,"y",$),w(_e,G.transform),X.text!=null?D(G,G.getBoundingRect()):K(G)};var F={},k=new p,M={},P=[],V={left:"start",right:"end",center:"middle",middle:"middle"},D=function(X,Z){var ee=X.style,Se=X.transform,$=X instanceof o||ee.transformText;X.__dirty&&c.normalizeTextStyle(ee,!0);var pe=ee.text;if(pe!=null&&(pe+=""),!c.needDrawText(pe,ee))return;pe==null&&(pe=""),!$&&Se&&(k.copy(Z),k.applyTransform(Se),Z=k);var xe=X.__textSvgEl;xe||(xe=m("text"),X.__textSvgEl=xe);var _e=xe.style,Ue=ee.font||h.DEFAULT_FONT,ye=xe.__computedFont;Ue!==xe.__styleFont&&(_e.font=xe.__styleFont=Ue,ye=xe.__computedFont=_e.font);var Be=ee.textPadding,Q=ee.textLineHeight,ie=X.__textCotentBlock;(!ie||X.__dirtyText)&&(ie=X.__textCotentBlock=h.parsePlainText(pe,ye,Be,Q,ee.truncate));var Ve=ie.outerHeight,J=ie.lineHeight;c.getBoxPosition(M,X,ee,Z);var W=M.baseX,j=M.baseY,Y=M.textAlign||"left",me=M.textVerticalAlign;H(xe,$,Se,ee,Z,W,j);var ae=h.adjustTextY(j,Ve,me),Le=W,Ee=ae;Be&&(Le=U(W,Y,Be),Ee+=Be[0]),Ee+=J/2,S(xe,ee,!0,X);var ne=ie.canCacheByTextString,ge=X.__tspanList||(X.__tspanList=[]),Ie=ge.length;if(ne&&X.__canCacheByTextString&&X.__text===pe){if(X.__dirtyText&&Ie)for(var Ge=0;Ge<Ie;++Ge)z(ge[Ge],Y,Le,Ee+Ge*J)}else{X.__text=pe,X.__canCacheByTextString=ne;for(var ut=ie.lines,wt=ut.length,Ge=0;Ge<wt;Ge++){var Pe=ge[Ge],Dt=ut[Ge];Pe?Pe.__zrText!==Dt&&(Pe.innerHTML="",Pe.appendChild(document.createTextNode(Dt))):(Pe=ge[Ge]=m("tspan"),xe.appendChild(Pe),Pe.appendChild(document.createTextNode(Dt))),z(Pe,Y,Le,Ee+Ge*J)}if(Ie>wt){for(;Ge<Ie;Ge++)xe.removeChild(ge[Ge]);ge.length=wt}}};function H(G,X,Z,ee,Se,$,pe){g.identity(P),X&&Z&&g.copy(P,Z);var xe=ee.textRotation;if(Se&&xe){var _e=ee.textOrigin;_e==="center"?($=Se.width/2+Se.x,pe=Se.height/2+Se.y):_e&&($=_e[0]+Se.x,pe=_e[1]+Se.y),P[4]-=$,P[5]-=pe,g.rotate(P,P,xe),P[4]+=$,P[5]+=pe}w(G,P)}function U(G,X,Z){return X==="right"?G-Z[1]:X==="center"?G+Z[3]/2-Z[1]/2:G+Z[3]}function z(G,X,Z,ee){_(G,"dominant-baseline","middle"),_(G,"text-anchor",V[X]),_(G,"x",Z),_(G,"y",ee)}function K(G){G&&G.__textSvgEl&&(G.__textSvgEl.parentNode&&G.__textSvgEl.parentNode.removeChild(G.__textSvgEl),G.__textSvgEl=null,G.__tspanList=[],G.__text=null)}F.drawRectText=D,F.brush=function(G){var X=G.style;X.text!=null?D(G,!1):K(G)},N.path=I,N.image=O,N.text=F},P4Qj:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.removeSensor=N.getSensor=void 0;var y=p(r("chpo")),m=r("FxDU"),C=r("24YM");function p(o){return o&&o.__esModule?o:{default:o}}var g={},h=function(n){var t=n.getAttribute(C.SizeSensorId);if(t&&g[t])return g[t];var a=(0,y.default)();n.setAttribute(C.SizeSensorId,a);var d=(0,m.createSensor)(n);return g[a]=d,d};N.getSensor=h;var c=function(n){var t=n.element.getAttribute(C.SizeSensorId);n.element.removeAttribute(C.SizeSensorId),n.destroy(),t&&g[t]&&delete g[t]};N.removeSensor=c},P5Jw:function(B,N,r){"use strict";var y=r("rHrb"),m=y.CopyToClipboard;m.CopyToClipboard=m,B.exports=m},PArb:function(B,N,r){"use strict";var y=r("pVnL"),m=r.n(y),C=r("lSNA"),p=r.n(C),g=r("q1tI"),h=r.n(g),c=r("TSYQ"),o=r.n(c),n=r("H84U"),t=function(d,i){var l={};for(var e in d)Object.prototype.hasOwnProperty.call(d,e)&&i.indexOf(e)<0&&(l[e]=d[e]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,e=Object.getOwnPropertySymbols(d);s<e.length;s++)i.indexOf(e[s])<0&&Object.prototype.propertyIsEnumerable.call(d,e[s])&&(l[e[s]]=d[e[s]]);return l},a=function(i){return g.createElement(n.a,null,function(l){var e,s=l.getPrefixCls,u=l.direction,f=i.prefixCls,A=i.type,v=A===void 0?"horizontal":A,x=i.orientation,b=x===void 0?"center":x,w=i.className,_=i.children,T=i.dashed,S=i.plain,E=t(i,["prefixCls","type","orientation","className","children","dashed","plain"]),I=s("divider",f),O=b.length>0?"-".concat(b):b,F=!!_,k=o()(w,I,"".concat(I,"-").concat(v),(e={},p()(e,"".concat(I,"-with-text"),F),p()(e,"".concat(I,"-with-text").concat(O),F),p()(e,"".concat(I,"-dashed"),!!T),p()(e,"".concat(I,"-plain"),!!S),p()(e,"".concat(I,"-rtl"),u==="rtl"),e));return g.createElement("div",m()({className:k},E,{role:"separator"}),_&&g.createElement("span",{className:"".concat(I,"-inner-text")},_))})};N.a=a},PD8m:function(B,N){B.exports={name:"memoryStorage",read:y,write:m,each:C,remove:p,clearAll:g};var r={};function y(h){return r[h]}function m(h,c){r[h]=c}function C(h){for(var c in r)r.hasOwnProperty(c)&&h(r[c],c)}function p(h){delete r[h]}function g(h){r={}}},PEeC:function(B,N,r){"use strict";r.d(N,"a",function(){return g}),r.d(N,"b",function(){return h});var y=r("RIqP"),m=r.n(y),C=r("xEkU"),p=r.n(C);function g(c){var o,n=function(d){return function(){o=null,c.apply(void 0,m()(d))}},t=function(){if(o==null){for(var d=arguments.length,i=new Array(d),l=0;l<d;l++)i[l]=arguments[l];o=p()(n(i))}};return t.cancel=function(){return p.a.cancel(o)},t}function h(){return function(c,o,n){var t=n.value,a=!1;return{configurable:!0,get:function(){if(a||this===c.prototype||this.hasOwnProperty(o))return t;var i=g(t.bind(this));return a=!0,Object.defineProperty(this,o,{value:i,configurable:!0,writable:!0}),a=!1,i}}}}},PKem:function(B,N,r){"use strict";r.d(N,"a",function(){return x});var y=r("RIqP"),m=r.n(y),C=r("lSNA"),p=r.n(C),g=r("pVnL"),h=r.n(g),c=r("lwsE"),o=r.n(c),n=r("W8MJ"),t=r.n(n),a=r("7W2i"),d=r.n(a),i=r("LQ03"),l=r.n(i),e=r("q1tI"),s=r.n(e),u=r("TSYQ"),f=r.n(u),A=r("H84U"),v=function(O,F){var k={};for(var M in O)Object.prototype.hasOwnProperty.call(O,M)&&F.indexOf(M)<0&&(k[M]=O[M]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,M=Object.getOwnPropertySymbols(O);P<M.length;P++)F.indexOf(M[P])<0&&Object.prototype.propertyIsEnumerable.call(O,M[P])&&(k[M[P]]=O[M[P]]);return k},x=e.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function b(O){var F=O.suffixCls,k=O.tagName,M=O.displayName;return function(P){var V;return V=function(D){d()(U,D);var H=l()(U);function U(){var z;return o()(this,U),z=H.apply(this,arguments),z.renderComponent=function(K){var G=K.getPrefixCls,X=z.props.prefixCls,Z=G(F,X);return e.createElement(P,h()({prefixCls:Z,tagName:k},z.props))},z}return t()(U,[{key:"render",value:function(){return e.createElement(A.a,null,this.renderComponent)}}]),U}(e.Component),V.displayName=M,V}}var w=function(F){var k=F.prefixCls,M=F.className,P=F.children,V=F.tagName,D=v(F,["prefixCls","className","children","tagName"]),H=f()(k,M);return e.createElement(V,h()({className:H},D),P)},_=function(O){d()(k,O);var F=l()(k);function k(){var M;return o()(this,k),M=F.apply(this,arguments),M.state={siders:[]},M.renderComponent=function(P){var V,D=P.direction,H=M.props,U=H.prefixCls,z=H.className,K=H.children,G=H.hasSider,X=H.tagName,Z=v(H,["prefixCls","className","children","hasSider","tagName"]),ee=f()(U,(V={},p()(V,"".concat(U,"-has-sider"),typeof G=="boolean"?G:M.state.siders.length>0),p()(V,"".concat(U,"-rtl"),D==="rtl"),V),z);return e.createElement(x.Provider,{value:{siderHook:M.getSiderHook()}},e.createElement(X,h()({className:ee},Z),K))},M}return t()(k,[{key:"getSiderHook",value:function(){var P=this;return{addSider:function(D){P.setState(function(H){return{siders:[].concat(m()(H.siders),[D])}})},removeSider:function(D){P.setState(function(H){return{siders:H.siders.filter(function(U){return U!==D})}})}}}},{key:"render",value:function(){return e.createElement(A.a,null,this.renderComponent)}}]),k}(e.Component),T=b({suffixCls:"layout",tagName:"section",displayName:"Layout"})(_),S=b({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(w),E=b({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(w),I=b({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(w);T.Header=S,T.Footer=E,T.Content=I,N.b=T},PNag:function(B,N,r){var y=r("bYtY"),m=r("SKnc"),C=r("YH21"),p=r("crZl"),g=r("IwbS"),h=r("OELB"),c=r("72pK"),o=r("y7Aq"),n=r("4NO4"),t=h.linearMap,a=y.each,d=Math.min,i=Math.max,l=12,e=6,s=p.extend({type:"visualMap.continuous",init:function(){s.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(_,T,S,E){(!E||E.type!=="selectDataRange"||E.from!==this.uid)&&this._buildView()},_buildView:function(){this.group.removeAll();var _=this.visualMapModel,T=this.group;this._orient=_.get("orient"),this._useHandle=_.get("calculable"),this._resetInterval(),this._renderBar(T);var S=_.get("text");this._renderEndsText(T,S,0),this._renderEndsText(T,S,1),this._updateView(!0),this.renderBackground(T),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(T)},_renderEndsText:function(_,T,S){if(!T)return;var E=T[1-S];E=E!=null?E+"":"";var I=this.visualMapModel,O=I.get("textGap"),F=I.itemSize,k=this._shapes.barGroup,M=this._applyTransform([F[0]/2,S===0?-O:F[1]+O],k),P=this._applyTransform(S===0?"bottom":"top",k),V=this._orient,D=this.visualMapModel.textStyleModel;this.group.add(new g.Text({style:{x:M[0],y:M[1],textVerticalAlign:V==="horizontal"?"middle":P,textAlign:V==="horizontal"?P:"center",text:E,textFont:D.getFont(),textFill:D.getTextColor()}}))},_renderBar:function(_){var T=this.visualMapModel,S=this._shapes,E=T.itemSize,I=this._orient,O=this._useHandle,F=o.getItemAlign(T,this.api,E),k=S.barGroup=this._createBarGroup(F);k.add(S.outOfRange=u()),k.add(S.inRange=u(null,O?b(this._orient):null,y.bind(this._dragHandle,this,"all",!1),y.bind(this._dragHandle,this,"all",!0)));var M=T.textStyleModel.getTextRect("\u56FD"),P=i(M.width,M.height);O&&(S.handleThumbs=[],S.handleLabels=[],S.handleLabelPoints=[],this._createHandle(k,0,E,P,I,F),this._createHandle(k,1,E,P,I,F)),this._createIndicator(k,E,P,I),_.add(k)},_createHandle:function(_,T,S,E,I){var O=y.bind(this._dragHandle,this,T,!1),F=y.bind(this._dragHandle,this,T,!0),k=u(f(T,E),b(this._orient),O,F);k.position[0]=S[0],_.add(k);var M=this.visualMapModel.textStyleModel,P=new g.Text({draggable:!0,drift:O,onmousemove:function(H){C.stop(H.event)},ondragend:F,style:{x:0,y:0,text:"",textFont:M.getFont(),textFill:M.getTextColor()}});this.group.add(P);var V=[I==="horizontal"?E/2:E*1.5,I==="horizontal"?T===0?-(E*1.5):E*1.5:T===0?-E/2:E/2],D=this._shapes;D.handleThumbs[T]=k,D.handleLabelPoints[T]=V,D.handleLabels[T]=P},_createIndicator:function(_,T,S,E){var I=u([[0,0]],"move");I.position[0]=T[0],I.attr({invisible:!0,silent:!0}),_.add(I);var O=this.visualMapModel.textStyleModel,F=new g.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:O.getFont(),textFill:O.getTextColor()}});this.group.add(F);var k=[E==="horizontal"?S/2:e+3,0],M=this._shapes;M.indicator=I,M.indicatorLabel=F,M.indicatorLabelPoint=k},_dragHandle:function(_,T,S,E){if(!this._useHandle)return;if(this._dragging=!T,!T){var I=this._applyTransform([S,E],this._shapes.barGroup,!0);this._updateInterval(_,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():x(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[_],!1)},_resetInterval:function(){var _=this.visualMapModel,T=this._dataInterval=_.getSelected(),S=_.getExtent(),E=[0,_.itemSize[1]];this._handleEnds=[t(T[0],S,E,!0),t(T[1],S,E,!0)]},_updateInterval:function(_,T){T=T||0;var S=this.visualMapModel,E=this._handleEnds,I=[0,S.itemSize[1]];c(T,E,I,_,0);var O=S.getExtent();this._dataInterval=[t(E[0],I,O,!0),t(E[1],I,O,!0)]},_updateView:function(_){var T=this.visualMapModel,S=T.getExtent(),E=this._shapes,I=[0,T.itemSize[1]],O=_?I:this._handleEnds,F=this._createBarVisual(this._dataInterval,S,O,"inRange"),k=this._createBarVisual(S,S,I,"outOfRange");E.inRange.setStyle({fill:F.barColor,opacity:F.opacity}).setShape("points",F.barPoints),E.outOfRange.setStyle({fill:k.barColor,opacity:k.opacity}).setShape("points",k.barPoints),this._updateHandle(O,F)},_createBarVisual:function(_,T,S,E){var I={forceState:E,convertOpacityToAlpha:!0},O=this._makeColorGradient(_,I),F=[this.getControllerVisual(_[0],"symbolSize",I),this.getControllerVisual(_[1],"symbolSize",I)],k=this._createBarPoints(S,F);return{barColor:new m(0,0,0,1,O),barPoints:k,handlesColor:[O[0].color,O[O.length-1].color]}},_makeColorGradient:function(_,T){var S=100,E=[],I=(_[1]-_[0])/S;E.push({color:this.getControllerVisual(_[0],"color",T),offset:0});for(var O=1;O<S;O++){var F=_[0]+I*O;if(F>_[1])break;E.push({color:this.getControllerVisual(F,"color",T),offset:O/S})}return E.push({color:this.getControllerVisual(_[1],"color",T),offset:1}),E},_createBarPoints:function(_,T){var S=this.visualMapModel.itemSize;return[[S[0]-T[0],_[0]],[S[0],_[0]],[S[0],_[1]],[S[0]-T[1],_[1]]]},_createBarGroup:function(_){var T=this._orient,S=this.visualMapModel.get("inverse");return new g.Group(T==="horizontal"&&!S?{scale:_==="bottom"?[1,1]:[-1,1],rotation:Math.PI/2}:T==="horizontal"&&S?{scale:_==="bottom"?[-1,1]:[1,1],rotation:-Math.PI/2}:T==="vertical"&&!S?{scale:_==="left"?[1,-1]:[-1,-1]}:{scale:_==="left"?[1,1]:[-1,1]})},_updateHandle:function(_,T){if(!this._useHandle)return;var S=this._shapes,E=this.visualMapModel,I=S.handleThumbs,O=S.handleLabels;a([0,1],function(F){var k=I[F];k.setStyle("fill",T.handlesColor[F]),k.position[1]=_[F];var M=g.applyTransform(S.handleLabelPoints[F],g.getTransform(k,this.group));O[F].setStyle({x:M[0],y:M[1],text:E.formatValueText(this._dataInterval[F]),textVerticalAlign:"middle",textAlign:this._applyTransform(this._orient==="horizontal"?F===0?"bottom":"top":"left",S.barGroup)})},this)},_showIndicator:function(_,T,S,E){var I=this.visualMapModel,O=I.getExtent(),F=I.itemSize,k=[0,F[1]],M=t(_,O,k,!0),P=this._shapes,V=P.indicator;if(!V)return;V.position[1]=M,V.attr("invisible",!1),V.setShape("points",A(!!S,E,M,F[1]));var D={convertOpacityToAlpha:!0},H=this.getControllerVisual(_,"color",D);V.setStyle("fill",H);var U=g.applyTransform(P.indicatorLabelPoint,g.getTransform(V,this.group)),z=P.indicatorLabel;z.attr("invisible",!1);var K=this._applyTransform("left",P.barGroup),G=this._orient;z.setStyle({text:(S||"")+I.formatValueText(T),textVerticalAlign:G==="horizontal"?K:"middle",textAlign:G==="horizontal"?"center":K,x:U[0],y:U[1]})},_enableHoverLinkToSeries:function(){var _=this;this._shapes.barGroup.on("mousemove",function(T){if(_._hovering=!0,!_._dragging){var S=_.visualMapModel.itemSize,E=_._applyTransform([T.offsetX,T.offsetY],_._shapes.barGroup,!0,!0);E[1]=d(i(0,E[1]),S[1]),_._doHoverLinkToSeries(E[1],0<=E[0]&&E[0]<=S[0])}}).on("mouseout",function(){_._hovering=!1,!_._dragging&&_._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var _=this.api.getZr();this.visualMapModel.option.hoverLink?(_.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),_.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(_,T){var S=this.visualMapModel,E=S.itemSize;if(!S.option.hoverLink)return;var I=[0,E[1]],O=S.getExtent();_=d(i(I[0],_),I[1]);var F=v(S,O,I),k=[_-F,_+F],M=t(_,I,O,!0),P=[t(k[0],I,O,!0),t(k[1],I,O,!0)];k[0]<I[0]&&(P[0]=-Infinity),k[1]>I[1]&&(P[1]=Infinity),T&&(P[0]===-Infinity?this._showIndicator(M,P[1],"< ",F):P[1]===Infinity?this._showIndicator(M,P[0],"> ",F):this._showIndicator(M,M,"\u2248 ",F));var V=this._hoverLinkDataIndices,D=[];(T||x(S))&&(D=this._hoverLinkDataIndices=S.findTargetDataIndices(P));var H=n.compressBatches(V,D);this._dispatchHighDown("downplay",o.makeHighDownBatch(H[0],S)),this._dispatchHighDown("highlight",o.makeHighDownBatch(H[1],S))},_hoverLinkFromSeriesMouseOver:function(_){var T=_.target,S=this.visualMapModel;if(!T||T.dataIndex==null)return;var E=this.ecModel.getSeriesByIndex(T.seriesIndex);if(!S.isTargetSeries(E))return;var I=E.getData(T.dataType),O=I.get(S.getDataDimension(I),T.dataIndex,!0);isNaN(O)||this._showIndicator(O,O)},_hideIndicator:function(){var _=this._shapes;_.indicator&&_.indicator.attr("invisible",!0),_.indicatorLabel&&_.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var _=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",o.makeHighDownBatch(_,this.visualMapModel)),_.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var _=this.api.getZr();_.off("mouseover",this._hoverLinkFromSeriesMouseOver),_.off("mouseout",this._hideIndicator)},_applyTransform:function(_,T,S,E){var I=g.getTransform(T,E?null:this.group);return g[y.isArray(_)?"applyTransform":"transformDirection"](_,I,S)},_dispatchHighDown:function(_,T){T&&T.length&&this.api.dispatchAction({type:_,batch:T})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function u(_,T,S,E){return new g.Polygon({shape:{points:_},draggable:!!S,cursor:T,drift:S,onmousemove:function(I){C.stop(I.event)},ondragend:E})}function f(_,T){return _===0?[[0,0],[T,0],[T,-T]]:[[0,0],[T,0],[T,T]]}function A(_,T,S,E){return _?[[0,-d(T,i(S,0))],[e,0],[0,d(T,i(E-S,0))]]:[[0,0],[5,-5],[5,5]]}function v(_,T,S){var E=l/2,I=_.get("hoverLinkDataSize");return I&&(E=t(I,T,S,!0)/2),E}function x(_){var T=_.get("hoverLinkOnHandle");return!!(T==null?_.get("realtime"):T)}function b(_){return _==="vertical"?"ns-resize":"ew-resize"}var w=s;B.exports=w},PQMj:function(B,N,r){},PSzr:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};N.default=y},ProS:function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("aX58"),p=r("bYtY"),g=r("Qe9p"),h=r("ItGF"),c=r("BPZU"),o=r("H6uX"),n=r("fmMI"),t=r("hD7B"),a=r("IDmD"),d=r("ypgQ"),i=r("+wW9"),l=r("0V0F"),e=r("bLfw"),s=r("T4UG"),u=r("sS/r"),f=r("6Ic6"),A=r("IwbS"),v=r("4NO4"),x=r("iLNv"),b=x.throttle,w=r("/WM3"),_=r("uAnK"),T=r("mYwL"),S=r("af/B"),E=r("xTNl"),I=r("8hn6");r("A1Ka");var O=r("7DRL"),F=p.assert,k=p.each,M=p.isFunction,P=p.isObject,V=e.parseClassType,D="4.8.0",H={zrender:"4.3.1"},U=1,z=1e3,K=800,G=900,X=5e3,Z=1e3,ee=1100,Se=2e3,$=3e3,pe=3500,xe=4e3,_e=5e3,Ue={PROCESSOR:{FILTER:z,SERIES_FILTER:K,STATISTIC:X},VISUAL:{LAYOUT:Z,PROGRESSIVE_LAYOUT:ee,GLOBAL:Se,CHART:$,POST_CHART_LAYOUT:pe,COMPONENT:xe,BRUSH:_e}},ye="__flagInMainProcess",Be="__optionUpdated",Q=/^[a-zA-Z0-9_]+$/;function ie(Ye,$e){return function(Je,it,ft){if(!$e&&this._disposed){Nt(this.id);return}Je=Je&&Je.toLowerCase(),o.prototype[Ye].call(this,Je,it,ft)}}function Ve(){o.call(this)}Ve.prototype.on=ie("on",!0),Ve.prototype.off=ie("off",!0),Ve.prototype.one=ie("one",!0),p.mixin(Ve,o);function J(Ye,$e,Je){Je=Je||{},typeof $e=="string"&&($e=rt[$e]),this.id,this.group,this._dom=Ye;var it="canvas",ft=this._zr=C.init(Ye,{renderer:Je.renderer||it,devicePixelRatio:Je.devicePixelRatio,width:Je.width,height:Je.height});this._throttledZrFlush=b(p.bind(ft.flush,ft),17);var $e=p.clone($e);$e&&i($e,!0),this._theme=$e,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new a;var ht=this._api=qe(this);function st(kt,Tt){return kt.__prio-Tt.__prio}c(Ot,st),c(at,st),this._scheduler=new S(this,ht,at,Ot),o.call(this,this._ecEventProcessor=new we),this._messageCenter=new Ve,this._initEvents(),this.resize=p.bind(this.resize,this),this._pendingActions=[],ft.animation.on("frame",this._onframe,this),Ie(ft,this),p.setAsPrimitive(this)}var W=J.prototype;W._onframe=function(){if(this._disposed)return;var Ye=this._scheduler;if(this[Be]){var $e=this[Be].silent;this[ye]=!0,me(this),Y.update.call(this),this[ye]=!1,this[Be]=!1,ne.call(this,$e),ge.call(this,$e)}else if(Ye.unfinished){var Je=U,it=this._model,ft=this._api;Ye.unfinished=!1;do{var ht=+new Date;Ye.performSeriesTasks(it),Ye.performDataProcessorTasks(it),Le(this,it),Ye.performVisualTasks(it),Dt(this,this._model,ft,"remain"),Je-=+new Date-ht}while(Je>0&&Ye.unfinished);Ye.unfinished||this._zr.flush()}},W.getDom=function(){return this._dom},W.getZr=function(){return this._zr},W.setOption=function(Ye,$e,Je){if(this._disposed){Nt(this.id);return}var it;if(P($e)&&(Je=$e.lazyUpdate,it=$e.silent,$e=$e.notMerge),this[ye]=!0,!this._model||$e){var ft=new d(this._api),ht=this._theme,st=this._model=new n;st.scheduler=this._scheduler,st.init(null,null,ht,ft)}this._model.setOption(Ye,Ae),Je?(this[Be]={silent:it},this[ye]=!1):(me(this),Y.update.call(this),this._zr.flush(),this[Be]=!1,this[ye]=!1,ne.call(this,it),ge.call(this,it))},W.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},W.getModel=function(){return this._model},W.getOption=function(){return this._model&&this._model.getOption()},W.getWidth=function(){return this._zr.getWidth()},W.getHeight=function(){return this._zr.getHeight()},W.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},W.getRenderedCanvas=function(Ye){if(!h.canvasSupported)return;Ye=Ye||{},Ye.pixelRatio=Ye.pixelRatio||1,Ye.backgroundColor=Ye.backgroundColor||this._model.get("backgroundColor");var $e=this._zr;return $e.painter.getRenderedCanvas(Ye)},W.getSvgDataURL=function(){if(!h.svgSupported)return;var Ye=this._zr,$e=Ye.storage.getDisplayList();return p.each($e,function(Je){Je.stopAnimation(!0)}),Ye.painter.toDataURL()},W.getDataURL=function(Ye){if(this._disposed){Nt(this.id);return}Ye=Ye||{};var $e=Ye.excludeComponents,Je=this._model,it=[],ft=this;k($e,function(st){Je.eachComponent({mainType:st},function(kt){var Tt=ft._componentsMap[kt.__viewId];Tt.group.ignore||(it.push(Tt),Tt.group.ignore=!0)})});var ht=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.getRenderedCanvas(Ye).toDataURL("image/"+(Ye&&Ye.type||"png"));return k(it,function(st){st.group.ignore=!1}),ht},W.getConnectedDataURL=function(Ye){if(this._disposed){Nt(this.id);return}if(!h.canvasSupported)return;var $e=Ye.type==="svg",Je=this.group,it=Math.min,ft=Math.max,ht=Infinity;if(vr[Je]){var st=ht,kt=ht,Tt=-ht,ar=-ht,Qt=[],Er=Ye&&Ye.pixelRatio||1;p.each(Zt,function(Br,ln){if(Br.group===Je){var Xr=$e?Br.getZr().painter.getSvgDom().innerHTML:Br.getRenderedCanvas(p.clone(Ye)),cr=Br.getDom().getBoundingClientRect();st=it(cr.left,st),kt=it(cr.top,kt),Tt=ft(cr.right,Tt),ar=ft(cr.bottom,ar),Qt.push({dom:Xr,left:cr.left,top:cr.top})}}),st*=Er,kt*=Er,Tt*=Er,ar*=Er;var Ir=Tt-st,jr=ar-kt,zr=p.createCanvas(),hn=C.init(zr,{renderer:$e?"svg":"canvas"});if(hn.resize({width:Ir,height:jr}),$e){var gn="";return k(Qt,function(Br){var ln=Br.left-st,Xr=Br.top-kt;gn+='<g transform="translate('+ln+","+Xr+')">'+Br.dom+"</g>"}),hn.painter.getSvgRoot().innerHTML=gn,Ye.connectedBackgroundColor&&hn.painter.setBackgroundColor(Ye.connectedBackgroundColor),hn.refreshImmediately(),hn.painter.toDataURL()}else return Ye.connectedBackgroundColor&&hn.add(new A.Rect({shape:{x:0,y:0,width:Ir,height:jr},style:{fill:Ye.connectedBackgroundColor}})),k(Qt,function(Br){var ln=new A.Image({style:{x:Br.left*Er-st,y:Br.top*Er-kt,image:Br.dom}});hn.add(ln)}),hn.refreshImmediately(),zr.toDataURL("image/"+(Ye&&Ye.type||"png"))}else return this.getDataURL(Ye)},W.convertToPixel=p.curry(j,"convertToPixel"),W.convertFromPixel=p.curry(j,"convertFromPixel");function j(Ye,$e,Je){if(this._disposed){Nt(this.id);return}var it=this._model,ft=this._coordSysMgr.getCoordinateSystems(),ht;$e=v.parseFinder(it,$e);for(var st=0;st<ft.length;st++){var kt=ft[st];if(kt[Ye]&&(ht=kt[Ye](it,$e,Je))!=null)return ht}}W.containPixel=function(Ye,$e){if(this._disposed){Nt(this.id);return}var Je=this._model,it;return Ye=v.parseFinder(Je,Ye),p.each(Ye,function(ft,ht){ht.indexOf("Models")>=0&&p.each(ft,function(st){var kt=st.coordinateSystem;if(kt&&kt.containPoint)it|=!!kt.containPoint($e);else if(ht==="seriesModels"){var Tt=this._chartsMap[st.__viewId];Tt&&Tt.containPoint&&(it|=Tt.containPoint($e,st))}},this)},this),!!it},W.getVisual=function(Ye,$e){var Je=this._model;Ye=v.parseFinder(Je,Ye,{defaultMainType:"series"});var it=Ye.seriesModel,ft=it.getData(),ht=Ye.hasOwnProperty("dataIndexInside")?Ye.dataIndexInside:Ye.hasOwnProperty("dataIndex")?ft.indexOfRawIndex(Ye.dataIndex):null;return ht!=null?ft.getItemVisual(ht,$e):ft.getVisual($e)},W.getViewOfComponentModel=function(Ye){return this._componentsMap[Ye.__viewId]},W.getViewOfSeriesModel=function(Ye){return this._chartsMap[Ye.__viewId]};var Y={prepareAndUpdate:function(Ye){me(this),Y.update.call(this,Ye)},update:function(Ye){var $e=this._model,Je=this._api,it=this._zr,ft=this._coordSysMgr,ht=this._scheduler;if(!$e)return;ht.restoreData($e,Ye),ht.performSeriesTasks($e),ft.create($e,Je),ht.performDataProcessorTasks($e,Ye),Le(this,$e),ft.update($e,Je),ut($e),ht.performVisualTasks($e,Ye),wt(this,$e,Je,Ye);var st=$e.get("backgroundColor")||"transparent";if(h.canvasSupported)it.setBackgroundColor(st);else{var kt=g.parse(st);st=g.stringify(kt,"rgb"),kt[3]===0&&(st="transparent")}et($e,Je)},updateTransform:function(Ye){var $e=this._model,Je=this,it=this._api;if(!$e)return;var ft=[];$e.eachComponent(function(st,kt){var Tt=Je.getViewOfComponentModel(kt);if(Tt&&Tt.__alive)if(Tt.updateTransform){var ar=Tt.updateTransform(kt,$e,it,Ye);ar&&ar.update&&ft.push(Tt)}else ft.push(Tt)});var ht=p.createHashMap();$e.eachSeries(function(st){var kt=Je._chartsMap[st.__viewId];if(kt.updateTransform){var Tt=kt.updateTransform(st,$e,it,Ye);Tt&&Tt.update&&ht.set(st.uid,1)}else ht.set(st.uid,1)}),ut($e),this._scheduler.performVisualTasks($e,Ye,{setDirty:!0,dirtyMap:ht}),Dt(Je,$e,it,Ye,ht),et($e,this._api)},updateView:function(Ye){var $e=this._model;if(!$e)return;f.markUpdateMethod(Ye,"updateView"),ut($e),this._scheduler.performVisualTasks($e,Ye,{setDirty:!0}),wt(this,this._model,this._api,Ye),et($e,this._api)},updateVisual:function(Ye){Y.update.call(this,Ye)},updateLayout:function(Ye){Y.update.call(this,Ye)}};function me(Ye){var $e=Ye._model,Je=Ye._scheduler;Je.restorePipelines($e),Je.prepareStageTasks(),Ge(Ye,"component",$e,Je),Ge(Ye,"chart",$e,Je),Je.plan()}function ae(Ye,$e,Je,it,ft){var ht=Ye._model;if(!it){k(Ye._componentsViews.concat(Ye._chartsViews),ar);return}var st={};st[it+"Id"]=Je[it+"Id"],st[it+"Index"]=Je[it+"Index"],st[it+"Name"]=Je[it+"Name"];var kt={mainType:it,query:st};ft&&(kt.subType=ft);var Tt=Je.excludeSeriesId;Tt!=null&&(Tt=p.createHashMap(v.normalizeToArray(Tt))),ht&&ht.eachComponent(kt,function(Qt){(!Tt||Tt.get(Qt.id)==null)&&ar(Ye[it==="series"?"_chartsMap":"_componentsMap"][Qt.__viewId])},Ye);function ar(Qt){Qt&&Qt.__alive&&Qt[$e]&&Qt[$e](Qt.__model,ht,Ye._api,Je)}}W.resize=function(Ye){if(this._disposed){Nt(this.id);return}this._zr.resize(Ye);var $e=this._model;if(this._loadingFX&&this._loadingFX.resize(),!$e)return;var Je=$e.resetOption("media"),it=Ye&&Ye.silent;this[ye]=!0,Je&&me(this),Y.update.call(this),this[ye]=!1,ne.call(this,it),ge.call(this,it)};function Le(Ye,$e){var Je=Ye._chartsMap,it=Ye._scheduler;$e.eachSeries(function(ft){it.updateStreamModes(ft,Je[ft.__viewId])})}W.showLoading=function(Ye,$e){if(this._disposed){Nt(this.id);return}if(P(Ye)&&($e=Ye,Ye=""),Ye=Ye||"default",this.hideLoading(),!Et[Ye])return;var Je=Et[Ye](this._api,$e),it=this._zr;this._loadingFX=Je,it.add(Je)},W.hideLoading=function(){if(this._disposed){Nt(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},W.makeActionFromEvent=function(Ye){var $e=p.extend({},Ye);return $e.type=vt[Ye.type],$e},W.dispatchAction=function(Ye,$e){if(this._disposed){Nt(this.id);return}if(P($e)||($e={silent:!!$e}),!ue[Ye.type])return;if(!this._model)return;if(this[ye]){this._pendingActions.push(Ye);return}Ee.call(this,Ye,$e.silent),$e.flush?this._zr.flush(!0):$e.flush!==!1&&h.browser.weChat&&this._throttledZrFlush(),ne.call(this,$e.silent),ge.call(this,$e.silent)};function Ee(Ye,$e){var Je=Ye.type,it=Ye.escapeConnect,ft=ue[Je],ht=ft.actionInfo,st=(ht.update||"update").split(":"),kt=st.pop();st=st[0]!=null&&V(st[0]),this[ye]=!0;var Tt=[Ye],ar=!1;Ye.batch&&(ar=!0,Tt=p.map(Ye.batch,function(jr){return jr=p.defaults(p.extend({},jr),Ye),jr.batch=null,jr}));var Qt=[],Er,Ir=Je==="highlight"||Je==="downplay";k(Tt,function(jr){Er=ft.action(jr,this._model,this._api),Er=Er||p.extend({},jr),Er.type=ht.event||Er.type,Qt.push(Er),Ir?ae(this,kt,jr,"series"):st&&ae(this,kt,jr,st.main,st.sub)},this),kt!=="none"&&!Ir&&!st&&(this[Be]?(me(this),Y.update.call(this,Ye),this[Be]=!1):Y[kt].call(this,Ye)),ar?Er={type:ht.event||Je,escapeConnect:it,batch:Qt}:Er=Qt[0],this[ye]=!1,!$e&&this._messageCenter.trigger(Er.type,Er)}function ne(Ye){for(var $e=this._pendingActions;$e.length;){var Je=$e.shift();Ee.call(this,Je,Ye)}}function ge(Ye){!Ye&&this.trigger("updated")}function Ie(Ye,$e){Ye.on("rendered",function(){$e.trigger("rendered"),Ye.animation.isFinished()&&!$e[Be]&&!$e._scheduler.unfinished&&!$e._pendingActions.length&&$e.trigger("finished")})}W.appendData=function(Ye){if(this._disposed){Nt(this.id);return}var $e=Ye.seriesIndex,Je=this.getModel(),it=Je.getSeriesByIndex($e);it.appendData(Ye),this._scheduler.unfinished=!0},W.on=ie("on",!1),W.off=ie("off",!1),W.one=ie("one",!1);function Ge(Ye,$e,Je,it){for(var ft=$e==="component",ht=ft?Ye._componentsViews:Ye._chartsViews,st=ft?Ye._componentsMap:Ye._chartsMap,kt=Ye._zr,Tt=Ye._api,ar=0;ar<ht.length;ar++)ht[ar].__alive=!1;ft?Je.eachComponent(function(Ir,jr){Ir!=="series"&&Qt(jr)}):Je.eachSeries(Qt);function Qt(Ir){var jr="_ec_"+Ir.id+"_"+Ir.type,zr=st[jr];if(!zr){var hn=V(Ir.type),gn=ft?u.getClass(hn.main,hn.sub):f.getClass(hn.sub);zr=new gn,zr.init(Je,Tt),st[jr]=zr,ht.push(zr),kt.add(zr.group)}Ir.__viewId=zr.__id=jr,zr.__alive=!0,zr.__model=Ir,zr.group.__ecComponentInfo={mainType:Ir.mainType,index:Ir.componentIndex},!ft&&it.prepareView(zr,Ir,Je,Tt)}for(var ar=0;ar<ht.length;){var Er=ht[ar];Er.__alive?ar++:(!ft&&Er.renderTask.dispose(),kt.remove(Er.group),Er.dispose(Je,Tt),ht.splice(ar,1),delete st[Er.__id],Er.__id=Er.group.__ecComponentInfo=null)}}function ut(Ye){Ye.clearColorPalette(),Ye.eachSeries(function($e){$e.clearColorPalette()})}function wt(Ye,$e,Je,it){Pe(Ye,$e,Je,it),k(Ye._chartsViews,function(ft){ft.__alive=!1}),Dt(Ye,$e,Je,it),k(Ye._chartsViews,function(ft){ft.__alive||ft.remove($e,Je)})}function Pe(Ye,$e,Je,it,ft){k(ft||Ye._componentsViews,function(ht){var st=ht.__model;ht.render(st,$e,Je,it),Gt(st,ht)})}function Dt(Ye,$e,Je,it,ft){var ht=Ye._scheduler,st;$e.eachSeries(function(kt){var Tt=Ye._chartsMap[kt.__viewId];Tt.__alive=!0;var ar=Tt.renderTask;ht.updatePayload(ar,it),ft&&ft.get(kt.uid)&&ar.dirty(),st|=ar.perform(ht.getPerformArgs(ar)),Tt.group.silent=!!kt.get("silent"),Gt(kt,Tt),Ft(kt,Tt)}),ht.unfinished|=st,Bt(Ye,$e),_(Ye._zr.dom,$e)}function et(Ye,$e){k(Xt,function(Je){Je(Ye,$e)})}var _t=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];W._initEvents=function(){k(_t,function(Ye){var $e=function(Je){var it=this.getModel(),ft=Je.target,ht,st=Ye==="globalout";if(st)ht={};else if(ft&&ft.dataIndex!=null){var kt=ft.dataModel||it.getSeriesByIndex(ft.seriesIndex);ht=kt&&kt.getDataParams(ft.dataIndex,ft.dataType,ft)||{}}else ft&&ft.eventData&&(ht=p.extend({},ft.eventData));if(ht){var Tt=ht.componentType,ar=ht.componentIndex;(Tt==="markLine"||Tt==="markPoint"||Tt==="markArea")&&(Tt="series",ar=ht.seriesIndex);var Qt=Tt&&ar!=null&&it.getComponent(Tt,ar),Er=Qt&&this[Qt.mainType==="series"?"_chartsMap":"_componentsMap"][Qt.__viewId];ht.event=Je,ht.type=Ye,this._ecEventProcessor.eventInfo={targetEl:ft,packedEvent:ht,model:Qt,view:Er},this.trigger(Ye,ht)}};$e.zrEventfulCallAtLast=!0,this._zr.on(Ye,$e,this)},this),k(vt,function(Ye,$e){this._messageCenter.on($e,function(Je){this.trigger($e,Je)},this)},this)},W.isDisposed=function(){return this._disposed},W.clear=function(){if(this._disposed){Nt(this.id);return}this.setOption({series:[]},!0)},W.dispose=function(){if(this._disposed){Nt(this.id);return}this._disposed=!0,v.setAttribute(this.getDom(),le,"");var Ye=this._api,$e=this._model;k(this._componentsViews,function(Je){Je.dispose($e,Ye)}),k(this._chartsViews,function(Je){Je.dispose($e,Ye)}),this._zr.dispose(),delete Zt[this.id]},p.mixin(J,o);function Nt(Ye){}function Bt(Ye,$e){var Je=Ye._zr,it=Je.storage,ft=0;it.traverse(function(ht){ft++}),ft>$e.get("hoverLayerThreshold")&&!h.node&&$e.eachSeries(function(ht){if(ht.preventUsingHoverLayer)return;var st=Ye._chartsMap[ht.__viewId];st.__alive&&st.group.traverse(function(kt){kt.useHoverLayer=!0})})}function Ft(Ye,$e){var Je=Ye.get("blendMode")||null;$e.group.traverse(function(it){it.isGroup||it.style.blend!==Je&&it.setStyle("blend",Je),it.eachPendingDisplayable&&it.eachPendingDisplayable(function(ft){ft.setStyle("blend",Je)})})}function Gt(Ye,$e){var Je=Ye.get("z"),it=Ye.get("zlevel");$e.group.traverse(function(ft){ft.type!=="group"&&(Je!=null&&(ft.z=Je),it!=null&&(ft.zlevel=it))})}function qe(Ye){var $e=Ye._coordSysMgr;return p.extend(new t(Ye),{getCoordinateSystems:p.bind($e.getCoordinateSystems,$e),getComponentByElement:function(Je){for(;Je;){var it=Je.__ecComponentInfo;if(it!=null)return Ye._model.getComponent(it.mainType,it.index);Je=Je.parent}}})}function we(){this.eventInfo}we.prototype={constructor:we,normalizeQuery:function(Ye){var $e={},Je={},it={};if(p.isString(Ye)){var ft=V(Ye);$e.mainType=ft.main||null,$e.subType=ft.sub||null}else{var ht=["Index","Name","Id"],st={name:1,dataIndex:1,dataType:1};p.each(Ye,function(kt,Tt){for(var ar=!1,Qt=0;Qt<ht.length;Qt++){var Er=ht[Qt],Ir=Tt.lastIndexOf(Er);if(Ir>0&&Ir===Tt.length-Er.length){var jr=Tt.slice(0,Ir);jr!=="data"&&($e.mainType=jr,$e[Er.toLowerCase()]=kt,ar=!0)}}st.hasOwnProperty(Tt)&&(Je[Tt]=kt,ar=!0),ar||(it[Tt]=kt)})}return{cptQuery:$e,dataQuery:Je,otherQuery:it}},filter:function(Ye,$e,Je){var it=this.eventInfo;if(!it)return!0;var ft=it.targetEl,ht=it.packedEvent,st=it.model,kt=it.view;if(!st||!kt)return!0;var Tt=$e.cptQuery,ar=$e.dataQuery;return Qt(Tt,st,"mainType")&&Qt(Tt,st,"subType")&&Qt(Tt,st,"index","componentIndex")&&Qt(Tt,st,"name")&&Qt(Tt,st,"id")&&Qt(ar,ht,"name")&&Qt(ar,ht,"dataIndex")&&Qt(ar,ht,"dataType")&&(!kt.filterForExposedEvent||kt.filterForExposedEvent(Ye,$e.otherQuery,ft,ht));function Qt(Er,Ir,jr,zr){return Er[jr]==null||Ir[zr||jr]===Er[jr]}},afterTrigger:function(){this.eventInfo=null}};var ue={},vt={},at=[],Ae=[],Xt=[],Ot=[],rt={},Et={},Zt={},vr={},mt=new Date-0,ce=new Date-0,le="_echarts_instance_";function oe(Ye){var $e=0,Je=1,it=2,ft="__connectUpdateStatus";function ht(st,kt){for(var Tt=0;Tt<st.length;Tt++){var ar=st[Tt];ar[ft]=kt}}k(vt,function(st,kt){Ye._messageCenter.on(kt,function(Tt){if(vr[Ye.group]&&Ye[ft]!==$e){if(Tt&&Tt.escapeConnect)return;var ar=Ye.makeActionFromEvent(Tt),Qt=[];k(Zt,function(Er){Er!==Ye&&Er.group===Ye.group&&Qt.push(Er)}),ht(Qt,$e),k(Qt,function(Er){Er[ft]!==Je&&Er.dispatchAction(ar)}),ht(Qt,it)}})})}function fe(Ye,$e,Je){var it=nt(Ye);if(it)return it;var ft=new J(Ye,$e,Je);return ft.id="ec_"+mt++,Zt[ft.id]=ft,v.setAttribute(Ye,le,ft.id),oe(ft),ft}function De(Ye){if(p.isArray(Ye)){var $e=Ye;Ye=null,k($e,function(Je){Je.group!=null&&(Ye=Je.group)}),Ye=Ye||"g_"+ce++,k($e,function(Je){Je.group=Ye})}return vr[Ye]=!0,Ye}function He(Ye){vr[Ye]=!1}var je=He;function We(Ye){typeof Ye=="string"?Ye=Zt[Ye]:Ye instanceof J||(Ye=nt(Ye)),Ye instanceof J&&!Ye.isDisposed()&&Ye.dispose()}function nt(Ye){return Zt[v.getAttribute(Ye,le)]}function xt(Ye){return Zt[Ye]}function It(Ye,$e){rt[Ye]=$e}function ir(Ye){Ae.push(Ye)}function Me(Ye,$e){ct(at,Ye,$e,z)}function ke(Ye){Xt.push(Ye)}function re(Ye,$e,Je){typeof $e=="function"&&(Je=$e,$e="");var it=P(Ye)?Ye.type:[Ye,Ye={event:$e}][0];Ye.event=(Ye.event||it).toLowerCase(),$e=Ye.event,F(Q.test(it)&&Q.test($e)),ue[it]||(ue[it]={action:Je,actionInfo:Ye}),vt[$e]=it}function be(Ye,$e){a.register(Ye,$e)}function Ne(Ye){var $e=a.get(Ye);if($e)return $e.getDimensionsInfo?$e.getDimensionsInfo():$e.dimensions.slice()}function Ke(Ye,$e){ct(Ot,Ye,$e,Z,"layout")}function Qe(Ye,$e){ct(Ot,Ye,$e,$,"visual")}function ct(Ye,$e,Je,it,ft){(M($e)||P($e))&&(Je=$e,$e=it);var ht=S.wrapStageHandler(Je,ft);return ht.__prio=$e,ht.__raw=Je,Ye.push(ht),ht}function Lt(Ye,$e){Et[Ye]=$e}function rr(Ye){return e.extend(Ye)}function dr(Ye){return u.extend(Ye)}function Pt(Ye){return s.extend(Ye)}function jt(Ye){return f.extend(Ye)}function Ct(Ye){p.$override("createCanvas",Ye)}function Rt(Ye,$e,Je){O.registerMap(Ye,$e,Je)}function pt(Ye){var $e=O.retrieveMap(Ye);return $e&&$e[0]&&{geoJson:$e[0].geoJSON,specialAreas:$e[0].specialAreas}}Qe(Se,w),ir(i),Me(G,l),Lt("default",T),re({type:"highlight",event:"highlight",update:"highlight"},p.noop),re({type:"downplay",event:"downplay",update:"downplay"},p.noop),It("light",E),It("dark",I);var ot={};N.version=D,N.dependencies=H,N.PRIORITY=Ue,N.init=fe,N.connect=De,N.disConnect=He,N.disconnect=je,N.dispose=We,N.getInstanceByDom=nt,N.getInstanceById=xt,N.registerTheme=It,N.registerPreprocessor=ir,N.registerProcessor=Me,N.registerPostUpdate=ke,N.registerAction=re,N.registerCoordinateSystem=be,N.getCoordinateSystemDimensions=Ne,N.registerLayout=Ke,N.registerVisual=Qe,N.registerLoading=Lt,N.extendComponentModel=rr,N.extendComponentView=dr,N.extendSeriesModel=Pt,N.extendChartView=jt,N.setCanvasCreator=Ct,N.registerMap=Rt,N.getMap=pt,N.dataTool=ot;var gt=r("txkQ");(function(){for(var Ye in gt)gt.hasOwnProperty(Ye)&&(N[Ye]=gt[Ye])})()},Pw59:function(B,N,r){"use strict";var y=r("q1tI"),m=r.n(y),C=Object(y.createContext)({});N.a=C},Q7if:function(B,N,r){var y=r("JEkh"),m=y.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"}}}});B.exports=m},Q9mQ:function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("UADf"),p=r.n(C)},"QB+1":function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("Ywus"));function m(p){return p&&p.__esModule?p:{default:p}}var C=y;N.default=C,B.exports=C},QBsz:function(B,N){var r=typeof Float32Array=="undefined"?Array:Float32Array;function y(S,E){var I=new r(2);return S==null&&(S=0),E==null&&(E=0),I[0]=S,I[1]=E,I}function m(S,E){return S[0]=E[0],S[1]=E[1],S}function C(S){var E=new r(2);return E[0]=S[0],E[1]=S[1],E}function p(S,E,I){return S[0]=E,S[1]=I,S}function g(S,E,I){return S[0]=E[0]+I[0],S[1]=E[1]+I[1],S}function h(S,E,I,O){return S[0]=E[0]+I[0]*O,S[1]=E[1]+I[1]*O,S}function c(S,E,I){return S[0]=E[0]-I[0],S[1]=E[1]-I[1],S}function o(S){return Math.sqrt(t(S))}var n=o;function t(S){return S[0]*S[0]+S[1]*S[1]}var a=t;function d(S,E,I){return S[0]=E[0]*I[0],S[1]=E[1]*I[1],S}function i(S,E,I){return S[0]=E[0]/I[0],S[1]=E[1]/I[1],S}function l(S,E){return S[0]*E[0]+S[1]*E[1]}function e(S,E,I){return S[0]=E[0]*I,S[1]=E[1]*I,S}function s(S,E){var I=o(E);return I===0?(S[0]=0,S[1]=0):(S[0]=E[0]/I,S[1]=E[1]/I),S}function u(S,E){return Math.sqrt((S[0]-E[0])*(S[0]-E[0])+(S[1]-E[1])*(S[1]-E[1]))}var f=u;function A(S,E){return(S[0]-E[0])*(S[0]-E[0])+(S[1]-E[1])*(S[1]-E[1])}var v=A;function x(S,E){return S[0]=-E[0],S[1]=-E[1],S}function b(S,E,I,O){return S[0]=E[0]+O*(I[0]-E[0]),S[1]=E[1]+O*(I[1]-E[1]),S}function w(S,E,I){var O=E[0],F=E[1];return S[0]=I[0]*O+I[2]*F+I[4],S[1]=I[1]*O+I[3]*F+I[5],S}function _(S,E,I){return S[0]=Math.min(E[0],I[0]),S[1]=Math.min(E[1],I[1]),S}function T(S,E,I){return S[0]=Math.max(E[0],I[0]),S[1]=Math.max(E[1],I[1]),S}N.create=y,N.copy=m,N.clone=C,N.set=p,N.add=g,N.scaleAndAdd=h,N.sub=c,N.len=o,N.length=n,N.lenSquare=t,N.lengthSquare=a,N.mul=d,N.div=i,N.dot=l,N.scale=e,N.normalize=s,N.distance=u,N.dist=f,N.distanceSquare=A,N.distSquare=v,N.negate=x,N.lerp=b,N.applyTransform=w,N.min=_,N.max=T},"QO+J":function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.createSensor=void 0;var y=C(r("NohK")),m=r("24YM");function C(g){return g&&g.__esModule?g:{default:g}}var p=function(h){var c=void 0,o=[],n=function(){getComputedStyle(h).position==="static"&&(h.style.position="relative");var e=document.createElement("object");return e.onload=function(){e.contentDocument.defaultView.addEventListener("resize",t),t()},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",m.SensorClassName),e.setAttribute("tabindex",m.SensorTabIndex),e.type="text/html",h.appendChild(e),e.data="about:blank",e},t=(0,y.default)(function(){o.forEach(function(l){l(h)})}),a=function(e){c||(c=n()),o.indexOf(e)===-1&&o.push(e)},d=function(){c&&c.parentNode&&(c.contentDocument&&c.contentDocument.defaultView.removeEventListener("resize",t),c.parentNode.removeChild(c),c=void 0,o=[])},i=function(e){var s=o.indexOf(e);s!==-1&&o.splice(s,1),o.length===0&&c&&d()};return{element:h,bind:a,destroy:d,unbind:i}};N.createSensor=p},"QQZ/":function(B,N,r){var y=r("Sq3C"),m=r("Z1HP"),C=r("Sxd8"),p=r("dt0z");function g(h,c,o){h=p(h),c=C(c);var n=c?m(h):0;return c&&n<c?y(c-n,o)+h:h}B.exports=g},QUw5:function(B,N,r){var y=r("OlYY"),m=y.extend({type:"dataZoom.select"});B.exports=m},QV2g:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=y;function y(){for(var p,g=[],h=0;h<256;h++){p=h;for(var c=0;c<8;c++)p=p&1?3988292384^p>>>1:p>>>1;g[h]=p}return g}var m=y();function C(p,g,h,c){var o=m,n=c+h;p^=-1;for(var t=c;t<n;t++)p=p>>>8^o[(p^g[t])&255];return p^-1}},QbM5:function(B,N,r){},Qe9p:function(B,N,r){var y=r("1RvN"),m={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(E){return E=Math.round(E),E<0?0:E>255?255:E}function p(E){return E=Math.round(E),E<0?0:E>360?360:E}function g(E){return E<0?0:E>1?1:E}function h(E){return E.length&&E.charAt(E.length-1)==="%"?C(parseFloat(E)/100*255):C(parseInt(E,10))}function c(E){return E.length&&E.charAt(E.length-1)==="%"?g(parseFloat(E)/100):g(parseFloat(E))}function o(E,I,O){return O<0?O+=1:O>1&&(O-=1),O*6<1?E+(I-E)*O*6:O*2<1?I:O*3<2?E+(I-E)*(2/3-O)*6:E}function n(E,I,O){return E+(I-E)*O}function t(E,I,O,F,k){return E[0]=I,E[1]=O,E[2]=F,E[3]=k,E}function a(E,I){return E[0]=I[0],E[1]=I[1],E[2]=I[2],E[3]=I[3],E}var d=new y(20),i=null;function l(E,I){i&&a(i,I),i=d.put(E,i||I.slice())}function e(E,I){if(!E)return;I=I||[];var O=d.get(E);if(O)return a(I,O);E=E+"";var F=E.replace(/ /g,"").toLowerCase();if(F in m)return a(I,m[F]),l(E,I),I;if(F.charAt(0)==="#"){if(F.length===4){var k=parseInt(F.substr(1),16);if(!(k>=0&&k<=4095)){t(I,0,0,0,1);return}return t(I,(k&3840)>>4|(k&3840)>>8,k&240|(k&240)>>4,k&15|(k&15)<<4,1),l(E,I),I}else if(F.length===7){var k=parseInt(F.substr(1),16);if(!(k>=0&&k<=16777215)){t(I,0,0,0,1);return}return t(I,(k&16711680)>>16,(k&65280)>>8,k&255,1),l(E,I),I}return}var M=F.indexOf("("),P=F.indexOf(")");if(M!==-1&&P+1===F.length){var V=F.substr(0,M),D=F.substr(M+1,P-(M+1)).split(","),H=1;switch(V){case"rgba":if(D.length!==4){t(I,0,0,0,1);return}H=c(D.pop());case"rgb":if(D.length!==3){t(I,0,0,0,1);return}return t(I,h(D[0]),h(D[1]),h(D[2]),H),l(E,I),I;case"hsla":if(D.length!==4){t(I,0,0,0,1);return}return D[3]=c(D[3]),s(D,I),l(E,I),I;case"hsl":if(D.length!==3){t(I,0,0,0,1);return}return s(D,I),l(E,I),I;default:return}}t(I,0,0,0,1);return}function s(E,I){var O=(parseFloat(E[0])%360+360)%360/360,F=c(E[1]),k=c(E[2]),M=k<=.5?k*(F+1):k+F-k*F,P=k*2-M;return I=I||[],t(I,C(o(P,M,O+1/3)*255),C(o(P,M,O)*255),C(o(P,M,O-1/3)*255),1),E.length===4&&(I[3]=E[3]),I}function u(E){if(!E)return;var I=E[0]/255,O=E[1]/255,F=E[2]/255,k=Math.min(I,O,F),M=Math.max(I,O,F),P=M-k,V=(M+k)/2,D,H;if(P===0)D=0,H=0;else{V<.5?H=P/(M+k):H=P/(2-M-k);var U=((M-I)/6+P/2)/P,z=((M-O)/6+P/2)/P,K=((M-F)/6+P/2)/P;I===M?D=K-z:O===M?D=1/3+U-K:F===M&&(D=2/3+z-U),D<0&&(D+=1),D>1&&(D-=1)}var G=[D*360,H,V];return E[3]!=null&&G.push(E[3]),G}function f(E,I){var O=e(E);if(O){for(var F=0;F<3;F++)I<0?O[F]=O[F]*(1-I)|0:O[F]=(255-O[F])*I+O[F]|0,O[F]>255?O[F]=255:E[F]<0&&(O[F]=0);return S(O,O.length===4?"rgba":"rgb")}}function A(E){var I=e(E);if(I)return((1<<24)+(I[0]<<16)+(I[1]<<8)+ +I[2]).toString(16).slice(1)}function v(E,I,O){if(!(I&&I.length)||!(E>=0&&E<=1))return;O=O||[];var F=E*(I.length-1),k=Math.floor(F),M=Math.ceil(F),P=I[k],V=I[M],D=F-k;return O[0]=C(n(P[0],V[0],D)),O[1]=C(n(P[1],V[1],D)),O[2]=C(n(P[2],V[2],D)),O[3]=g(n(P[3],V[3],D)),O}var x=v;function b(E,I,O){if(!(I&&I.length)||!(E>=0&&E<=1))return;var F=E*(I.length-1),k=Math.floor(F),M=Math.ceil(F),P=e(I[k]),V=e(I[M]),D=F-k,H=S([C(n(P[0],V[0],D)),C(n(P[1],V[1],D)),C(n(P[2],V[2],D)),g(n(P[3],V[3],D))],"rgba");return O?{color:H,leftIndex:k,rightIndex:M,value:F}:H}var w=b;function _(E,I,O,F){if(E=e(E),E)return E=u(E),I!=null&&(E[0]=p(I)),O!=null&&(E[1]=c(O)),F!=null&&(E[2]=c(F)),S(s(E),"rgba")}function T(E,I){if(E=e(E),E&&I!=null)return E[3]=g(I),S(E,"rgba")}function S(E,I){if(!E||!E.length)return;var O=E[0]+","+E[1]+","+E[2];return(I==="rgba"||I==="hsva"||I==="hsla")&&(O+=","+E[3]),I+"("+O+")"}N.parse=e,N.lift=f,N.toHex=A,N.fastLerp=v,N.fastMapToColor=x,N.lerp=b,N.mapToColor=w,N.modifyHSL=_,N.modifyAlpha=T,N.stringify=S},Qi1f:function(B,N,r){"use strict";r.d(N,"g",function(){return l}),r.d(N,"c",function(){return e}),r.d(N,"a",function(){return u}),r.d(N,"b",function(){return f}),r.d(N,"d",function(){return A}),r.d(N,"e",function(){return v}),r.d(N,"f",function(){return b});var y=r("VTBJ"),m=r("U8pU"),C=r("u3cA"),p=r("q1tI"),g=r.n(p),h=r("Kwbf"),c=r("MNnm"),o="rc-util-key";function n(w){if(w.attachTo)return w.attachTo;var _=document.querySelector("head");return _||document.body}function t(w){var _,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Object(c.a)())return null;var S=document.createElement("style");if((_=T.csp)===null||_===void 0?void 0:_.nonce){var E;S.nonce=(E=T.csp)===null||E===void 0?void 0:E.nonce}S.innerHTML=w;var I=n(T),O=I.firstChild;return T.prepend&&I.prepend?I.prepend(S):T.prepend&&O?I.insertBefore(S,O):I.appendChild(S),S}var a=new Map;function d(w,_){var T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},S=n(T);if(!a.has(S)){var E=t("",T),I=E.parentNode;a.set(S,I),I.removeChild(E)}var O=Array.from(a.get(S).children).find(function(V){return V.tagName==="STYLE"&&V[o]===_});if(O){var F,k;if(((F=T.csp)===null||F===void 0?void 0:F.nonce)&&O.nonce!==((k=T.csp)===null||k===void 0?void 0:k.nonce)){var M;O.nonce=(M=T.csp)===null||M===void 0?void 0:M.nonce}return O.innerHTML!==w&&(O.innerHTML=w),O}var P=t(w,T);return P[o]=_,P}var i=r("Pw59");function l(w,_){Object(h.a)(w,"[@ant-design/icons] ".concat(_))}function e(w){return Object(m.a)(w)==="object"&&typeof w.name=="string"&&typeof w.theme=="string"&&(Object(m.a)(w.icon)==="object"||typeof w.icon=="function")}function s(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(w).reduce(function(_,T){var S=w[T];switch(T){case"class":_.className=S,delete _.class;break;default:_[T]=S}return _},{})}function u(w,_,T){return T?g.a.createElement(w.tag,Object(y.a)(Object(y.a)({key:_},s(w.attrs)),T),(w.children||[]).map(function(S,E){return u(S,"".concat(_,"-").concat(w.tag,"-").concat(E))})):g.a.createElement(w.tag,Object(y.a)({key:_},s(w.attrs)),(w.children||[]).map(function(S,E){return u(S,"".concat(_,"-").concat(w.tag,"-").concat(E))}))}function f(w){return Object(C.generate)(w)[0]}function A(w){return w?Array.isArray(w)?w:[w]:[]}var v={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},x=`
|
|
|
.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);
|
|
|
}
|
|
|
}
|
|
|
`,b=function(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:x,T=Object(p.useContext)(i.a),S=T.csp;Object(p.useEffect)(function(){d(_,"@ant-design-icons",{prepend:!0,csp:S})},[])}},Qs3X:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("X+im"));function m(p){return p&&p.__esModule?p:{default:p}}var C=y;N.default=C,B.exports=C},Qs9O:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"};N.default=y},QuXc:function(B,N){var r=function(C){this.colorStops=C||[]};r.prototype={constructor:r,addColorStop:function(C,p){this.colorStops.push({offset:C,color:p})}};var y=r;B.exports=y},Qvb6:function(B,N,r){var y=r("ProS"),m=r("bYtY"),C=r("ItGF"),p=r("B9fm"),g=r("gvm7"),h=r("7aKB"),c=r("OELB"),o=r("IwbS"),n=r("Ez2D"),t=r("+TT/"),a=r("Qxkt"),d=r("F9bG"),i=r("aX7z"),l=r("/y7N"),e=r("4NO4"),s=e.getTooltipRenderMode,u=m.bind,f=m.each,A=c.parsePercent,v=new o.Rect({shape:{x:-1,y:-1,width:2,height:2}}),x=y.extendComponentView({type:"tooltip",init:function(I,O){if(C.node)return;var F=I.getComponent("tooltip"),k=F.get("renderMode");this._renderMode=s(k);var M;this._renderMode==="html"?(M=new p(O.getDom(),O,{appendToBody:F.get("appendToBody",!0)}),this._newLine="<br/>"):(M=new g(O),this._newLine=`
|
|
|
`),this._tooltipContent=M},render:function(I,O,F){if(C.node)return;this.group.removeAll(),this._tooltipModel=I,this._ecModel=O,this._api=F,this._lastDataByCoordSys=null,this._alwaysShowContent=I.get("alwaysShowContent");var k=this._tooltipContent;k.update(),k.setEnterable(I.get("enterable")),this._initGlobalListener(),this._keepShow()},_initGlobalListener:function(){var I=this._tooltipModel,O=I.get("triggerOn");d.register("itemTooltip",this._api,u(function(F,k,M){O!=="none"&&(O.indexOf(F)>=0?this._tryShow(k,M):F==="leave"&&this._hide(M))},this))},_keepShow:function(){var I=this._tooltipModel,O=this._ecModel,F=this._api;if(this._lastX!=null&&this._lastY!=null&&I.get("triggerOn")!=="none"){var k=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!F.isDisposed()&&k.manuallyShowTip(I,O,F,{x:k._lastX,y:k._lastY})})}},manuallyShowTip:function(I,O,F,k){if(k.from===this.uid||C.node)return;var M=w(k,F);this._ticket="";var P=k.dataByCoordSys;if(k.tooltip&&k.x!=null&&k.y!=null){var V=v;V.position=[k.x,k.y],V.update(),V.tooltip=k.tooltip,this._tryShow({offsetX:k.x,offsetY:k.y,target:V},M)}else if(P)this._tryShow({offsetX:k.x,offsetY:k.y,position:k.position,dataByCoordSys:k.dataByCoordSys,tooltipOption:k.tooltipOption},M);else if(k.seriesIndex!=null){if(this._manuallyAxisShowTip(I,O,F,k))return;var D=n(k,O),H=D.point[0],U=D.point[1];H!=null&&U!=null&&this._tryShow({offsetX:H,offsetY:U,position:k.position,target:D.el},M)}else k.x!=null&&k.y!=null&&(F.dispatchAction({type:"updateAxisPointer",x:k.x,y:k.y}),this._tryShow({offsetX:k.x,offsetY:k.y,position:k.position,target:F.getZr().findHover(k.x,k.y).target},M))},manuallyHideTip:function(I,O,F,k){var M=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&M.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,k.from!==this.uid&&this._hide(w(k,F))},_manuallyAxisShowTip:function(I,O,F,k){var M=k.seriesIndex,P=k.dataIndex,V=O.getComponent("axisPointer").coordSysAxesInfo;if(M==null||P==null||V==null)return;var D=O.getSeriesByIndex(M);if(!D)return;var H=D.getData(),I=b([H.getItemModel(P),D,(D.coordinateSystem||{}).model,I]);return I.get("trigger")!=="axis"?void 0:(F.dispatchAction({type:"updateAxisPointer",seriesIndex:M,dataIndex:P,position:k.position}),!0)},_tryShow:function(I,O){var F=I.target,k=this._tooltipModel;if(!k)return;this._lastX=I.offsetX,this._lastY=I.offsetY;var M=I.dataByCoordSys;M&&M.length?this._showAxisTooltip(M,I):F&&F.dataIndex!=null?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(I,F,O)):F&&F.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(I,F,O)):(this._lastDataByCoordSys=null,this._hide(O))},_showOrMove:function(I,O){var F=I.get("showDelay");O=m.bind(O,this),clearTimeout(this._showTimout),F>0?this._showTimout=setTimeout(O,F):O()},_showAxisTooltip:function(I,O){var F=this._ecModel,k=this._tooltipModel,M=[O.offsetX,O.offsetY],P=[],V=[],D=b([O.tooltipOption,k]),H=this._renderMode,U=this._newLine,z={};f(I,function(G){f(G.dataByAxis,function(X){var Z=F.getComponent(X.axisDim+"Axis",X.axisIndex),ee=X.value,Se=[];if(!Z||ee==null)return;var $=l.getValueLabel(ee,Z.axis,F,X.seriesDataIndices,X.valueLabelOpt);m.each(X.seriesDataIndices,function(xe){var _e=F.getSeriesByIndex(xe.seriesIndex),Ue=xe.dataIndexInside,ye=_e&&_e.getDataParams(Ue);if(ye.axisDim=X.axisDim,ye.axisIndex=X.axisIndex,ye.axisType=X.axisType,ye.axisId=X.axisId,ye.axisValue=i.getAxisRawValue(Z.axis,ee),ye.axisValueLabel=$,ye){V.push(ye);var Be=_e.formatTooltip(Ue,!0,null,H),Q;if(m.isObject(Be)){Q=Be.html;var ie=Be.markers;m.merge(z,ie)}else Q=Be;Se.push(Q)}});var pe=$;H!=="html"?P.push(Se.join(U)):P.push((pe?h.encodeHTML(pe)+U:"")+Se.join(U))})},this),P.reverse(),P=P.join(this._newLine+this._newLine);var K=O.position;this._showOrMove(D,function(){this._updateContentNotChangedOnAxis(I)?this._updatePosition(D,K,M[0],M[1],this._tooltipContent,V):this._showTooltipContent(D,P,V,Math.random(),M[0],M[1],K,void 0,z)})},_showSeriesItemTooltip:function(I,O,F){var k=this._ecModel,M=O.seriesIndex,P=k.getSeriesByIndex(M),V=O.dataModel||P,D=O.dataIndex,H=O.dataType,U=V.getData(H),z=b([U.getItemModel(D),V,P&&(P.coordinateSystem||{}).model,this._tooltipModel]),K=z.get("trigger");if(K!=null&&K!=="item")return;var G=V.getDataParams(D,H),X=V.formatTooltip(D,!1,H,this._renderMode),Z,ee;m.isObject(X)?(Z=X.html,ee=X.markers):(Z=X,ee=null);var Se="item_"+V.name+"_"+D;this._showOrMove(z,function(){this._showTooltipContent(z,Z,G,Se,I.offsetX,I.offsetY,I.position,I.target,ee)}),F({type:"showTip",dataIndexInside:D,dataIndex:U.getRawIndex(D),seriesIndex:M,from:this.uid})},_showComponentItemTooltip:function(I,O,F){var k=O.tooltip;if(typeof k=="string"){var M=k;k={content:M,formatter:M}}var P=new a(k,this._tooltipModel,this._ecModel),V=P.get("content"),D=Math.random();this._showOrMove(P,function(){this._showTooltipContent(P,V,P.get("formatterParams")||{},D,I.offsetX,I.offsetY,I.position,O)}),F({type:"showTip",from:this.uid})},_showTooltipContent:function(I,O,F,k,M,P,V,D,H){if(this._ticket="",!I.get("showContent")||!I.get("show"))return;var U=this._tooltipContent,z=I.get("formatter");V=V||I.get("position");var K=O;if(z&&typeof z=="string")K=h.formatTpl(z,F,!0);else if(typeof z=="function"){var G=u(function(X,Z){X===this._ticket&&(U.setContent(Z,H,I),this._updatePosition(I,V,M,P,U,F,D))},this);this._ticket=k,K=z(F,k,G)}U.setContent(K,H,I),U.show(I),this._updatePosition(I,V,M,P,U,F,D)},_updatePosition:function(I,O,F,k,M,P,V){var D=this._api.getWidth(),H=this._api.getHeight();O=O||I.get("position");var U=M.getSize(),z=I.get("align"),K=I.get("verticalAlign"),G=V&&V.getBoundingRect().clone();if(V&&G.applyTransform(V.transform),typeof O=="function"&&(O=O([F,k],P,M.el,G,{viewSize:[D,H],contentSize:U.slice()})),m.isArray(O))F=A(O[0],D),k=A(O[1],H);else if(m.isObject(O)){O.width=U[0],O.height=U[1];var X=t.getLayoutRect(O,{width:D,height:H});F=X.x,k=X.y,z=null,K=null}else if(typeof O=="string"&&V){var Z=S(O,G,U);F=Z[0],k=Z[1]}else{var Z=_(F,k,M,D,H,z?null:20,K?null:20);F=Z[0],k=Z[1]}if(z&&(F-=E(z)?U[0]/2:z==="right"?U[0]:0),K&&(k-=E(K)?U[1]/2:K==="bottom"?U[1]:0),I.get("confine")){var Z=T(F,k,M,D,H);F=Z[0],k=Z[1]}M.moveTo(F,k)},_updateContentNotChangedOnAxis:function(I){var O=this._lastDataByCoordSys,F=!!O&&O.length===I.length;return F&&f(O,function(k,M){var P=k.dataByAxis||{},V=I[M]||{},D=V.dataByAxis||[];F&=P.length===D.length,F&&f(P,function(H,U){var z=D[U]||{},K=H.seriesDataIndices||[],G=z.seriesDataIndices||[];F&=H.value===z.value&&H.axisType===z.axisType&&H.axisId===z.axisId&&K.length===G.length,F&&f(K,function(X,Z){var ee=G[Z];F&=X.seriesIndex===ee.seriesIndex&&X.dataIndex===ee.dataIndex})})}),this._lastDataByCoordSys=I,!!F},_hide:function(I){this._lastDataByCoordSys=null,I({type:"hideTip",from:this.uid})},dispose:function(I,O){if(C.node)return;this._tooltipContent.dispose(),d.unregister("itemTooltip",O)}});function b(I){for(var O=I.pop();I.length;){var F=I.pop();F&&(a.isInstance(F)&&(F=F.get("tooltip",!0)),typeof F=="string"&&(F={formatter:F}),O=new a(F,O,O.ecModel))}return O}function w(I,O){return I.dispatchAction||m.bind(O.dispatchAction,O)}function _(I,O,F,k,M,P,V){var D=F.getOuterSize(),H=D.width,U=D.height;return P!=null&&(I+H+P>k?I-=H+P:I+=P),V!=null&&(O+U+V>M?O-=U+V:O+=V),[I,O]}function T(I,O,F,k,M){var P=F.getOuterSize(),V=P.width,D=P.height;return I=Math.min(I+V,k)-V,O=Math.min(O+D,M)-D,I=Math.max(I,0),O=Math.max(O,0),[I,O]}function S(I,O,F){var k=F[0],M=F[1],P=5,V=0,D=0,H=O.width,U=O.height;switch(I){case"inside":V=O.x+H/2-k/2,D=O.y+U/2-M/2;break;case"top":V=O.x+H/2-k/2,D=O.y-M-P;break;case"bottom":V=O.x+H/2-k/2,D=O.y+U+P;break;case"left":V=O.x-k-P,D=O.y+U/2-M/2;break;case"right":V=O.x+H+P,D=O.y+U/2-M/2}return[V,D]}function E(I){return I==="center"||I==="middle"}B.exports=x},Qxkt:function(B,N,r){var y=r("bYtY"),m=r("ItGF"),C=r("4NO4"),p=C.makeInner,g=r("Yl7c"),h=g.enableClassExtend,c=g.enableClassCheck,o=r("OQFs"),n=r("m9t5"),t=r("/iHx"),a=r("VR9l"),d=y.mixin,i=p();function l(f,A,v){this.parentModel=A,this.ecModel=v,this.option=f}l.prototype={constructor:l,init:null,mergeOption:function(f){y.merge(this.option,f,!0)},get:function(f,A){return f==null?this.option:e(this.option,this.parsePath(f),!A&&s(this,f))},getShallow:function(f,A){var v=this.option,x=v==null?v:v[f],b=!A&&s(this,f);return x==null&&b&&(x=b.getShallow(f)),x},getModel:function(f,A){var v=f==null?this.option:e(this.option,f=this.parsePath(f)),x;return A=A||(x=s(this,f))&&x.getModel(f),new l(v,A,this.ecModel)},isEmpty:function(){return this.option==null},restoreData:function(){},clone:function(){var f=this.constructor;return new f(y.clone(this.option))},setReadOnly:function(f){},parsePath:function(f){return typeof f=="string"&&(f=f.split(".")),f},customizeGetParent:function(f){i(this).getParent=f},isAnimationEnabled:function(){if(!m.node){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}};function e(f,A,v){for(var x=0;x<A.length;x++){if(!A[x])continue;if(f=f&&typeof f=="object"?f[A[x]]:null,f==null)break}return f==null&&v&&(f=v.get(A)),f}function s(f,A){var v=i(f).getParent;return v?v.call(f,A):f.parentModel}h(l),c(l),d(l,o),d(l,n),d(l,t),d(l,a);var u=l;B.exports=u},QyFq:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"};N.default=y},QzjZ:function(B,N,r){var y=r("S/Yl"),m=r("IDmD");function C(p,g){var h=[];return p.eachComponent("singleAxis",function(c,o){var n=new y(c,p,g);n.name="single_"+o,n.resize(c,g),c.coordinateSystem=n,h.push(n)}),p.eachSeries(function(c){if(c.get("coordinateSystem")==="singleAxis"){var o=p.queryComponents({mainType:"singleAxis",index:c.get("singleAxisIndex"),id:c.get("singleAxisId")})[0];c.coordinateSystem=o&&o.coordinateSystem}}),h}m.register("single",{create:C,dimensions:y.prototype.dimensions})},R4Th:function(B,N,r){var y=r("ProS"),m=r("9wZj"),C=r("yO87"),p=r("Fofx"),g=r("h8O9"),h=y.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new m(C)},render:function(c,o,n){var t=c.getData(),a=this._symbolDraw;a.updateData(t),this.group.add(a.group)},updateTransform:function(c,o,n){var t=c.getData();this.group.dirty();var a=g().reset(c);a.progress&&a.progress({start:0,end:t.count()},t),this._symbolDraw.updateLayout(t)},_updateGroupTransform:function(c){var o=c.coordinateSystem;o&&o.getRoamTransform&&(this.group.transform=p.clone(o.getRoamTransform()),this.group.decomposeTransform())},remove:function(c,o){this._symbolDraw&&this._symbolDraw.remove(o)},dispose:function(){}});B.exports=h},R9oj:function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("pwpV"),p=r.n(C)},RBEP:function(B,N,r){for(var y=r("ProS"),m=r("VaxA"),C=function(){},p=["treemapZoomToNode","treemapRender","treemapMove"],g=0;g<p.length;g++)y.registerAction({type:p[g],update:"updateView"},C);y.registerAction({type:"treemapRootToNode",update:"updateView"},function(h,c){c.eachComponent({mainType:"series",subType:"treemap",query:h},o);function o(n,t){var a=["treemapZoomToNode","treemapRootToNode"],d=m.retrieveTargetInfo(h,a,n);if(d){var i=n.getViewRoot();i&&(h.direction=m.aboveViewRoot(i,d.node)?"rollUp":"drillDown"),n.resetViewRoot(d.node)}}})},RCxd:function(B,N,r){"use strict";var y=r("VTBJ"),m=r("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"},p=C,g=r("6VBw"),h=function(n,t){return m.createElement(g.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};h.displayName="ExclamationCircleOutlined";var c=N.a=m.forwardRef(h)},RDYZ:function(B,N,r){var y=r("dMvE");function m(p){this._target=p.target,this._life=p.life||1e3,this._delay=p.delay||0,this._initialized=!1,this.loop=p.loop==null?!1:p.loop,this.gap=p.gap||0,this.easing=p.easing||"Linear",this.onframe=p.onframe,this.ondestroy=p.ondestroy,this.onrestart=p.onrestart,this._pausedTime=0,this._paused=!1}m.prototype={constructor:m,step:function(g,h){if(this._initialized||(this._startTime=g+this._delay,this._initialized=!0),this._paused){this._pausedTime+=h;return}var c=(g-this._startTime-this._pausedTime)/this._life;if(c<0)return;c=Math.min(c,1);var o=this.easing,n=typeof o=="string"?y[o]:o,t=typeof n=="function"?n(c):c;return this.fire("frame",t),c===1?this.loop?(this.restart(g),"restart"):(this._needsRemove=!0,"destroy"):null},restart:function(g){var h=(g-this._startTime-this._pausedTime)%this._life;this._startTime=g-h+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(g,h){g="on"+g,this[g]&&this[g](this._target,h)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var C=m;B.exports=C},RELg:function(B,N,r){var y=r("MFOe"),m=y.Global;B.exports={name:"oldIE-userDataStorage",write:c,read:o,each:n,remove:t,clearAll:a};var C="storejs",p=m.document,g=l(),h=(m.navigator?m.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function c(e,s){if(h)return;var u=i(e);g(function(f){f.setAttribute(u,s),f.save(C)})}function o(e){if(h)return;var s=i(e),u=null;return g(function(f){u=f.getAttribute(s)}),u}function n(e){g(function(s){for(var u=s.XMLDocument.documentElement.attributes,f=u.length-1;f>=0;f--){var A=u[f];e(s.getAttribute(A.name),A.name)}})}function t(e){var s=i(e);g(function(u){u.removeAttribute(s),u.save(C)})}function a(){g(function(e){var s=e.XMLDocument.documentElement.attributes;e.load(C);for(var u=s.length-1;u>=0;u--)e.removeAttribute(s[u].name);e.save(C)})}var d=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function i(e){return e.replace(/^\d/,"___$&").replace(d,"___")}function l(){if(!p||!p.documentElement||!p.documentElement.addBehavior)return null;var e="script",s,u,f;try{u=new ActiveXObject("htmlfile"),u.open(),u.write("<"+e+">document.w=window</"+e+'><iframe src="/favicon.ico"></iframe>'),u.close(),s=u.w.frames[0].document,f=s.createElement("div")}catch(A){f=p.createElement("div"),s=p.body}return function(A){var v=[].slice.call(arguments,0);v.unshift(f),s.appendChild(f),f.addBehavior("#default#userData"),f.load(C),A.apply(this,v),s.removeChild(f);return}}},RPvy:function(B,N,r){var y=r("ProS"),m=r("VaxA"),C="sunburstRootToNode";y.registerAction({type:C,update:"updateView"},function(h,c){c.eachComponent({mainType:"series",subType:"sunburst",query:h},o);function o(n,t){var a=m.retrieveTargetInfo(h,[C],n);if(a){var d=n.getViewRoot();d&&(h.direction=m.aboveViewRoot(d,a.node)?"rollUp":"drillDown"),n.resetViewRoot(a.node)}}});var p="sunburstHighlight";y.registerAction({type:p,update:"updateView"},function(h,c){c.eachComponent({mainType:"series",subType:"sunburst",query:h},o);function o(n,t){var a=m.retrieveTargetInfo(h,[p],n);a&&(h.highlight=a.node)}});var g="sunburstUnhighlight";y.registerAction({type:g,update:"updateView"},function(h,c){c.eachComponent({mainType:"series",subType:"sunburst",query:h},o);function o(n,t){h.unhighlight=!0}})},RSch:function(B,N,r){var y=r("IwbS"),m=r("bYtY");function C(h,c,o){y.Group.call(this),this._createPolyline(h,c,o)}var p=C.prototype;p._createPolyline=function(h,c,o){var n=h.getItemLayout(c),t=new y.Polyline({shape:{points:n}});this.add(t),this._updateCommonStl(h,c,o)},p.updateData=function(h,c,o){var n=h.hostModel,t=this.childAt(0),a={shape:{points:h.getItemLayout(c)}};y.updateProps(t,a,n,c),this._updateCommonStl(h,c,o)},p._updateCommonStl=function(h,c,o){var n=this.childAt(0),t=h.getItemModel(c),a=h.getItemVisual(c,"color"),d=o&&o.lineStyle,i=o&&o.hoverLineStyle;(!o||h.hasItemOption)&&(d=t.getModel("lineStyle").getLineStyle(),i=t.getModel("emphasis.lineStyle").getLineStyle()),n.useStyle(m.defaults({strokeNoScale:!0,fill:"none",stroke:a},d)),n.hoverStyle=i,y.setHoverStyle(this)},p.updateLayout=function(h,c){var o=this.childAt(0);o.setShape("points",h.getItemLayout(c))},m.inherits(C,y.Group);var g=C;B.exports=g},RXMa:function(B,N,r){var y=r("y+Vt"),m=y.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(p,g){var h=g.cx,c=g.cy,o=Math.PI*2;p.moveTo(h+g.r,c),p.arc(h,c,g.r,0,o,!1),p.moveTo(h+g.r0,c),p.arc(h,c,g.r0,0,o,!0)}});B.exports=m},RZPm:function(B,N,r){"use strict";var y=r("284h"),m=r("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var C=m(r("3tO9")),p=y(r("q1tI")),g=m(r("JgUQ")),h=m(r("KQxl")),c=function(t,a){return p.createElement(h.default,(0,C.default)((0,C.default)({},t),{},{ref:a,icon:g.default}))};c.displayName="FileOutlined";var o=p.forwardRef(c);N.default=o},RlCK:function(B,N,r){var y=r("ProS"),m=r("bYtY");function C(p,g,h){var c={},o=p==="toggleSelected",n;return h.eachComponent("legend",function(t){o&&n!=null?t[n?"select":"unSelect"](g.name):p==="allSelect"||p==="inverseSelect"?t[p]():(t[p](g.name),n=t.isSelected(g.name));var a=t.getData();m.each(a,function(d){var i=d.get("name");if(i===`
|
|
|
`||i==="")return;var l=t.isSelected(i);c.hasOwnProperty(i)?c[i]=c[i]&&l:c[i]=l})}),p==="allSelect"||p==="inverseSelect"?{selected:c}:{name:g.name,selected:c}}y.registerAction("legendToggleSelect","legendselectchanged",m.curry(C,"toggleSelected")),y.registerAction("legendAllSelect","legendselectall",m.curry(C,"allSelect")),y.registerAction("legendInverseSelect","legendinverseselect",m.curry(C,"inverseSelect")),y.registerAction("legendSelect","legendselected",m.curry(C,"select")),y.registerAction("legendUnSelect","legendunselected",m.curry(C,"unSelect"))},RotF:function(B,N,r){B.exports=r("LSTS")},Rx6q:function(B,N){function r(y){var m=y.getRect(),C=y.getRangeInfo();return{coordSys:{type:"calendar",x:m.x,y:m.y,width:m.width,height:m.height,cellWidth:y.getCellWidth(),cellHeight:y.getCellHeight(),rangeInfo:{start:C.start,end:C.end,weeks:C.weeks,dayCount:C.allDay}},api:{coord:function(p,g){return y.dataToPoint(p,g)}}}}B.exports=r},"S/Yl":function(B,N,r){var y=r("Zvw2"),m=r("aX7z"),C=r("+TT/"),p=C.getLayoutRect,g=r("bYtY"),h=g.each;function c(n,t,a){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(n,t,a),this.model=n}c.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:c,_init:function(n,t,a){var d=this.dimension,i=new y(d,m.createScaleByModel(n),[0,0],n.get("type"),n.get("position")),l=i.type==="category";i.onBand=l&&n.get("boundaryGap"),i.inverse=n.get("inverse"),i.orient=n.get("orient"),n.axis=i,i.model=n,i.coordinateSystem=this,this._axis=i},update:function(n,t){n.eachSeries(function(a){if(a.coordinateSystem===this){var d=a.getData();h(d.mapDimension(this.dimension,!0),function(i){this._axis.scale.unionExtentFromData(d,i)},this),m.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(n,t){this._rect=p({left:n.get("left"),top:n.get("top"),right:n.get("right"),bottom:n.get("bottom"),width:n.get("width"),height:n.get("height")},{width:t.getWidth(),height:t.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var n=this._rect,t=this._axis,a=t.isHorizontal(),d=a?[0,n.width]:[0,n.height],i=t.reverse?1:0;t.setExtent(d[i],d[1-i]),this._updateAxisTransform(t,a?n.x:n.y)},_updateAxisTransform:function(n,t){var a=n.getExtent(),d=a[0]+a[1],i=n.isHorizontal();n.toGlobalCoord=i?function(l){return l+t}:function(l){return d-l+t},n.toLocalCoord=i?function(l){return l-t}:function(l){return d-l+t}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(n){var t=this.getRect(),a=this.getAxis(),d=a.orient;return d==="horizontal"?a.contain(a.toLocalCoord(n[0]))&&n[1]>=t.y&&n[1]<=t.y+t.height:a.contain(a.toLocalCoord(n[1]))&&n[0]>=t.y&&n[0]<=t.y+t.height},pointToData:function(n){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(n[t.orient==="horizontal"?0:1]))]},dataToPoint:function(n){var t=this.getAxis(),a=this.getRect(),d=[],i=t.orient==="horizontal"?0:1;return n instanceof Array&&(n=n[0]),d[i]=t.toGlobalCoord(t.dataToCoord(+n)),d[1-i]=i===0?a.y+a.height/2:a.x+a.width/2,d}};var o=c;B.exports=o},"SA+Z":function(B,N,r){var y=r("wTVA"),m=r("EbDI"),C=r("ZhPi"),p=r("wkBT");function g(h){return y(h)||m(h)||C(h)||p()}B.exports=g,B.exports.default=B.exports,B.exports.__esModule=!0},"SA4+":function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("ProS"),p=r("IwbS"),g=r("zYTA"),h=r("bYtY");function c(a,d,i){var l=a[1]-a[0];d=h.map(d,function(u){return{interval:[(u.interval[0]-a[0])/l,(u.interval[1]-a[0])/l]}});var e=d.length,s=0;return function(u){for(var f=s;f<e;f++){var A=d[f].interval;if(A[0]<=u&&u<=A[1]){s=f;break}}if(f===e)for(var f=s-1;f>=0;f--){var A=d[f].interval;if(A[0]<=u&&u<=A[1]){s=f;break}}return f>=0&&f<e&&i[f]}}function o(a,d){var i=a[1]-a[0];return d=[(d[0]-a[0])/i,(d[1]-a[0])/i],function(l){return l>=d[0]&&l<=d[1]}}function n(a){var d=a.dimensions;return d[0]==="lng"&&d[1]==="lat"}var t=C.extendChartView({type:"heatmap",render:function(a,d,i){var l;d.eachComponent("visualMap",function(s){s.eachTargetSeries(function(u){u===a&&(l=s)})}),this.group.removeAll(),this._incrementalDisplayable=null;var e=a.coordinateSystem;e.type==="cartesian2d"||e.type==="calendar"?this._renderOnCartesianAndCalendar(a,i,0,a.getData().count()):n(e)&&this._renderOnGeo(e,a,l,i)},incrementalPrepareRender:function(a,d,i){this.group.removeAll()},incrementalRender:function(a,d,i,l){var e=d.coordinateSystem;e&&this._renderOnCartesianAndCalendar(d,l,a.start,a.end,!0)},_renderOnCartesianAndCalendar:function(a,d,i,l,e){var s=a.coordinateSystem,u,f;if(s.type==="cartesian2d"){var A=s.getAxis("x"),v=s.getAxis("y");u=A.getBandWidth(),f=v.getBandWidth()}for(var x=this.group,b=a.getData(),w="itemStyle",_="emphasis.itemStyle",T="label",S="emphasis.label",E=a.getModel(w).getItemStyle(["color"]),I=a.getModel(_).getItemStyle(),O=a.getModel(T),F=a.getModel(S),k=s.type,M=k==="cartesian2d"?[b.mapDimension("x"),b.mapDimension("y"),b.mapDimension("value")]:[b.mapDimension("time"),b.mapDimension("value")],P=i;P<l;P++){var V;if(k==="cartesian2d"){if(isNaN(b.get(M[2],P)))continue;var D=s.dataToPoint([b.get(M[0],P),b.get(M[1],P)]);V=new p.Rect({shape:{x:Math.floor(Math.round(D[0])-u/2),y:Math.floor(Math.round(D[1])-f/2),width:Math.ceil(u),height:Math.ceil(f)},style:{fill:b.getItemVisual(P,"color"),opacity:b.getItemVisual(P,"opacity")}})}else{if(isNaN(b.get(M[1],P)))continue;V=new p.Rect({z2:1,shape:s.dataToRect([b.get(M[0],P)]).contentShape,style:{fill:b.getItemVisual(P,"color"),opacity:b.getItemVisual(P,"opacity")}})}var H=b.getItemModel(P);b.hasItemOption&&(E=H.getModel(w).getItemStyle(["color"]),I=H.getModel(_).getItemStyle(),O=H.getModel(T),F=H.getModel(S));var U=a.getRawValue(P),z="-";U&&U[2]!=null&&(z=U[2]),p.setLabelStyle(E,I,O,F,{labelFetcher:a,labelDataIndex:P,defaultText:z,isRectText:!0}),V.setStyle(E),p.setHoverStyle(V,b.hasItemOption?I:h.extend({},I)),V.incremental=e,e&&(V.useHoverLayer=!0),x.add(V),b.setItemGraphicEl(P,V)}},_renderOnGeo:function(a,d,i,l){var e=i.targetVisuals.inRange,s=i.targetVisuals.outOfRange,u=d.getData(),f=this._hmLayer||this._hmLayer||new g;f.blurSize=d.get("blurSize"),f.pointSize=d.get("pointSize"),f.minOpacity=d.get("minOpacity"),f.maxOpacity=d.get("maxOpacity");var A=a.getViewRect().clone(),v=a.getRoamTransform();A.applyTransform(v);var x=Math.max(A.x,0),b=Math.max(A.y,0),w=Math.min(A.width+A.x,l.getWidth()),_=Math.min(A.height+A.y,l.getHeight()),T=w-x,S=_-b,E=[u.mapDimension("lng"),u.mapDimension("lat"),u.mapDimension("value")],I=u.mapArray(E,function(M,P,V){var D=a.dataToPoint([M,P]);return D[0]-=x,D[1]-=b,D.push(V),D}),O=i.getExtent(),F=i.type==="visualMap.continuous"?o(O,i.option.range):c(O,i.getPieceList(),i.option.selected);f.update(I,T,S,e.color.getNormalizer(),{inRange:e.color.getColorMapper(),outOfRange:s.color.getColorMapper()},F);var k=new p.Image({style:{width:T,height:S,x,y:b,image:f.canvas},silent:!0});this.group.add(k)},dispose:function(){}});B.exports=t},SA8n:function(B,N,r){var y=r("Sj9i"),m=r("QBsz"),C=r("U/Mo"),p=C.getSymbolSize,g=[],h=[],c=[],o=y.quadraticAt,n=m.distSquare,t=Math.abs;function a(i,l,e){for(var s=i[0],u=i[1],f=i[2],A=Infinity,v,x=e*e,b=.1,w=.1;w<=.9;w+=.1){g[0]=o(s[0],u[0],f[0],w),g[1]=o(s[1],u[1],f[1],w);var _=t(n(g,l)-x);_<A&&(A=_,v=w)}for(var T=0;T<32;T++){var S=v+b;h[0]=o(s[0],u[0],f[0],v),h[1]=o(s[1],u[1],f[1],v),c[0]=o(s[0],u[0],f[0],S),c[1]=o(s[1],u[1],f[1],S);var _=n(h,l)-x;if(t(_)<.01)break;var E=n(c,l)-x;b/=2,_<0?E>=0?v=v+b:v=v-b:E>=0?v=v-b:v=v+b}return v}function d(i,l){var e=[],s=y.quadraticSubdivide,u=[[],[],[]],f=[[],[]],A=[];l/=2,i.eachEdge(function(v,x){var b=v.getLayout(),w=v.getVisual("fromSymbol"),_=v.getVisual("toSymbol");b.__original||(b.__original=[m.clone(b[0]),m.clone(b[1])],b[2]&&b.__original.push(m.clone(b[2])));var T=b.__original;if(b[2]!=null){if(m.copy(u[0],T[0]),m.copy(u[1],T[2]),m.copy(u[2],T[1]),w&&w!=="none"){var S=p(v.node1),E=a(u,T[0],S*l);s(u[0][0],u[1][0],u[2][0],E,e),u[0][0]=e[3],u[1][0]=e[4],s(u[0][1],u[1][1],u[2][1],E,e),u[0][1]=e[3],u[1][1]=e[4]}if(_&&_!=="none"){var S=p(v.node2),E=a(u,T[1],S*l);s(u[0][0],u[1][0],u[2][0],E,e),u[1][0]=e[1],u[2][0]=e[2],s(u[0][1],u[1][1],u[2][1],E,e),u[1][1]=e[1],u[2][1]=e[2]}m.copy(b[0],u[0]),m.copy(b[1],u[2]),m.copy(b[2],u[1])}else{if(m.copy(f[0],T[0]),m.copy(f[1],T[1]),m.sub(A,f[1],f[0]),m.normalize(A,A),w&&w!=="none"){var S=p(v.node1);m.scaleAndAdd(f[0],f[0],A,S*l)}if(_&&_!=="none"){var S=p(v.node2);m.scaleAndAdd(f[1],f[1],A,-S*l)}m.copy(b[0],f[0]),m.copy(b[1],f[1])}})}B.exports=d},SJMd:function(B,N){/**
|
|
|
* @license
|
|
|
* Copyright (C) 2006 Google Inc.
|
|
|
*
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
* You may obtain a copy of the License at
|
|
|
*
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
*
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
* See the License for the specific language governing permissions and
|
|
|
* limitations under the License.
|
|
|
*/var r,y,m,C=!1,p,g;window.PR_SHOULD_USE_CONTINUATION=!0;var h,c;(function(){var o=window,n=["break,continue,do,else,for,if,return,while"],t=[n,"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"],a=[t,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],d=[a,"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"],i=[a,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],l=[a,"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",s=[a,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],u="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",f=[n,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],A=[n,"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"],v=[n,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],x=[d,l,i,s,u,f,A,v],b=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,w="str",_="kwd",T="com",S="typ",E="lit",I="pun",O="pln",F="tag",k="dec",M="src",P="atn",V="atv",D="nocode",H="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function U(J){for(var W=0,j=!1,Y=!1,me=0,ae=J.length;me<ae;++me){var Le=J[me];if(Le.ignoreCase)Y=!0;else if(/[a-z]/i.test(Le.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){j=!0,Y=!1;break}}var Ee={b:8,t:9,n:10,v:11,f:12,r:13};function ne(wt){var Pe=wt.charCodeAt(0);if(Pe!==92)return Pe;var Dt=wt.charAt(1);return Pe=Ee[Dt],Pe||("0"<=Dt&&Dt<="7"?parseInt(wt.substring(1),8):Dt==="u"||Dt==="x"?parseInt(wt.substring(2),16):wt.charCodeAt(1))}function ge(wt){if(wt<32)return(wt<16?"\\x0":"\\x")+wt.toString(16);var Pe=String.fromCharCode(wt);return Pe==="\\"||Pe==="-"||Pe==="]"||Pe==="^"?"\\"+Pe:Pe}function Ie(wt){var Pe=wt.substring(1,wt.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")),Dt=[],et=Pe[0]==="^",_t=["["];et&&_t.push("^");for(var Nt=et?1:0,Bt=Pe.length;Nt<Bt;++Nt){var Ft=Pe[Nt];if(/\\[bdsw]/i.test(Ft))_t.push(Ft);else{var Gt=ne(Ft),qe;Nt+2<Bt&&Pe[Nt+1]==="-"?(qe=ne(Pe[Nt+2]),Nt+=2):qe=Gt,Dt.push([Gt,qe]),qe<65||Gt>122||(qe<65||Gt>90||Dt.push([Math.max(65,Gt)|32,Math.min(qe,90)|32]),qe<97||Gt>122||Dt.push([Math.max(97,Gt)&~32,Math.min(qe,122)&~32]))}}Dt.sort(function(at,Ae){return at[0]-Ae[0]||Ae[1]-at[1]});for(var we=[],ue=[],Nt=0;Nt<Dt.length;++Nt){var vt=Dt[Nt];vt[0]<=ue[1]+1?ue[1]=Math.max(ue[1],vt[1]):we.push(ue=vt)}for(var Nt=0;Nt<we.length;++Nt){var vt=we[Nt];_t.push(ge(vt[0])),vt[1]>vt[0]&&(vt[1]+1>vt[0]&&_t.push("-"),_t.push(ge(vt[1])))}return _t.push("]"),_t.join("")}function Ge(wt){for(var Pe=wt.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")),Dt=Pe.length,et=[],_t=0,Nt=0;_t<Dt;++_t){var Bt=Pe[_t];if(Bt==="(")++Nt;else if(Bt.charAt(0)==="\\"){var Ft=+Bt.substring(1);Ft&&(Ft<=Nt?et[Ft]=-1:Pe[_t]=ge(Ft))}}for(var _t=1;_t<et.length;++_t)et[_t]===-1&&(et[_t]=++W);for(var _t=0,Nt=0;_t<Dt;++_t){var Bt=Pe[_t];if(Bt==="(")++Nt,et[Nt]||(Pe[_t]="(?:");else if(Bt.charAt(0)==="\\"){var Ft=+Bt.substring(1);Ft&&Ft<=Nt&&(Pe[_t]="\\"+et[Ft])}}for(var _t=0;_t<Dt;++_t)Pe[_t]==="^"&&Pe[_t+1]!=="^"&&(Pe[_t]="");if(wt.ignoreCase&&j)for(var _t=0;_t<Dt;++_t){var Bt=Pe[_t],Gt=Bt.charAt(0);Bt.length>=2&&Gt==="["?Pe[_t]=Ie(Bt):Gt!=="\\"&&(Pe[_t]=Bt.replace(/[a-zA-Z]/g,function(ue){var vt=ue.charCodeAt(0);return"["+String.fromCharCode(vt&~32,vt|32)+"]"}))}return Pe.join("")}for(var ut=[],me=0,ae=J.length;me<ae;++me){var Le=J[me];if(Le.global||Le.multiline)throw new Error(""+Le);ut.push("(?:"+Ge(Le)+")")}return new RegExp(ut.join("|"),Y?"gi":"g")}function z(J,W){var j=/(?:^|\s)nocode(?:\s|$)/,Y=[],me=0,ae=[],Le=0;function Ee(ne){var ge=ne.nodeType;if(ge==1){if(j.test(ne.className))return;for(var Ie=ne.firstChild;Ie;Ie=Ie.nextSibling)Ee(Ie);var Ge=ne.nodeName.toLowerCase();(Ge==="br"||Ge==="li")&&(Y[Le]=`
|
|
|
`,ae[Le<<1]=me++,ae[Le++<<1|1]=ne)}else if(ge==3||ge==4){var ut=ne.nodeValue;ut.length&&(W?ut=ut.replace(/\r\n?/g,`
|
|
|
`):ut=ut.replace(/[ \t\r\n]+/g," "),Y[Le]=ut,ae[Le<<1]=me,me+=ut.length,ae[Le++<<1|1]=ne)}}return Ee(J),{sourceCode:Y.join("").replace(/\n$/,""),spans:ae}}function K(J,W,j,Y,me){if(!j)return;var ae={sourceNode:J,pre:1,langExtension:null,numberLines:null,sourceCode:j,spans:null,basePos:W,decorations:null};Y(ae),me.push.apply(me,ae.decorations)}var G=/\S/;function X(J){for(var W=void 0,j=J.firstChild;j;j=j.nextSibling){var Y=j.nodeType;W=Y===1?W?J:j:Y===3&&G.test(j.nodeValue)?J:W}return W===J?void 0:W}function Z(J,W){var j={},Y;(function(){for(var Le=J.concat(W),Ee=[],ne={},ge=0,Ie=Le.length;ge<Ie;++ge){var Ge=Le[ge],ut=Ge[3];if(ut)for(var wt=ut.length;--wt>=0;)j[ut.charAt(wt)]=Ge;var Pe=Ge[1],Dt=""+Pe;ne.hasOwnProperty(Dt)||(Ee.push(Pe),ne[Dt]=null)}Ee.push(/[\0-\uffff]/),Y=U(Ee)})();var me=W.length,ae=function Le(Ee){for(var ne=Ee.sourceCode,ge=Ee.basePos,Ie=Ee.sourceNode,Ge=[ge,O],ut=0,wt=ne.match(Y)||[],Pe={},Dt=0,et=wt.length;Dt<et;++Dt){var _t=wt[Dt],Nt=Pe[_t],Bt=void 0,Ft;if(typeof Nt=="string")Ft=!1;else{var Gt=j[_t.charAt(0)];if(Gt)Bt=_t.match(Gt[1]),Nt=Gt[0];else{for(var qe=0;qe<me;++qe)if(Gt=W[qe],Bt=_t.match(Gt[1]),Bt){Nt=Gt[0];break}Bt||(Nt=O)}Ft=Nt.length>=5&&Nt.substring(0,5)==="lang-",Ft&&!(Bt&&typeof Bt[1]=="string")&&(Ft=!1,Nt=M),Ft||(Pe[_t]=Nt)}var we=ut;if(ut+=_t.length,!Ft)Ge.push(ge+we,Nt);else{var ue=Bt[1],vt=_t.indexOf(ue),at=vt+ue.length;Bt[2]&&(at=_t.length-Bt[2].length,vt=at-ue.length);var Ae=Nt.substring(5);K(Ie,ge+we,_t.substring(0,vt),Le,Ge),K(Ie,ge+we+vt,ue,Ue(Ae,ue),Ge),K(Ie,ge+we+at,_t.substring(at),Le,Ge)}}Ee.decorations=Ge};return ae}function ee(J){var W=[],j=[];J.tripleQuotedStrings?W.push([w,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):J.multiLineStrings?W.push([w,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):W.push([w,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),J.verbatimStrings&&j.push([w,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var Y=J.hashComments;Y&&(J.cStyleComments?(Y>1?W.push([T,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):W.push([T,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),j.push([w,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):W.push([T,/^#[^\r\n]*/,null,"#"])),J.cStyleComments&&(j.push([T,/^\/\/[^\r\n]*/,null]),j.push([T,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var me=J.regexLiterals;if(me){var ae=me>1?"":`
|
|
|
\r`,Le=ae?".":"[\\S\\s]",Ee="/(?=[^/*"+ae+"])(?:[^/\\x5B\\x5C"+ae+"]|\\x5C"+Le+"|\\x5B(?:[^\\x5C\\x5D"+ae+"]|\\x5C"+Le+")*(?:\\x5D|$))+/";j.push(["lang-regex",RegExp("^"+H+"("+Ee+")")])}var ne=J.types;ne&&j.push([S,ne]);var ge=(""+J.keywords).replace(/^ | $/g,"");ge.length&&j.push([_,new RegExp("^(?:"+ge.replace(/[\s,]+/g,"|")+")\\b"),null]),W.push([O,/^\s+/,null,` \r
|
|
|
\xA0`]);var Ie="^.[^\\s\\w.$@'\"`/\\\\]*";return J.regexLiterals&&(Ie+="(?!s*/)"),j.push([E,/^@[a-z_$][a-z_$@0-9]*/i,null],[S,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[O,/^[a-z_$][a-z_$@0-9]*/i,null],[E,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[O,/^\\[\s\S]?/,null],[I,new RegExp(Ie),null]),Z(W,j)}var Se=ee({keywords:x,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function $(J,W,j){for(var Y=/(?:^|\s)nocode(?:\s|$)/,me=/\r\n?|\n/,ae=J.ownerDocument,Le=ae.createElement("li");J.firstChild;)Le.appendChild(J.firstChild);var Ee=[Le];function ne(Pe){var Dt=Pe.nodeType;if(Dt==1&&!Y.test(Pe.className))if(Pe.nodeName==="br")ge(Pe),Pe.parentNode&&Pe.parentNode.removeChild(Pe);else for(var et=Pe.firstChild;et;et=et.nextSibling)ne(et);else if((Dt==3||Dt==4)&&j){var _t=Pe.nodeValue,Nt=_t.match(me);if(Nt){var Bt=_t.substring(0,Nt.index);Pe.nodeValue=Bt;var Ft=_t.substring(Nt.index+Nt[0].length);if(Ft){var Gt=Pe.parentNode;Gt.insertBefore(ae.createTextNode(Ft),Pe.nextSibling)}ge(Pe),Bt||Pe.parentNode.removeChild(Pe)}}}function ge(Pe){for(;!Pe.nextSibling;)if(Pe=Pe.parentNode,!Pe)return;function Dt(Nt,Bt){var Ft=Bt?Nt.cloneNode(!1):Nt,Gt=Nt.parentNode;if(Gt){var qe=Dt(Gt,1),we=Nt.nextSibling;qe.appendChild(Ft);for(var ue=we;ue;ue=we)we=ue.nextSibling,qe.appendChild(ue)}return Ft}for(var et=Dt(Pe.nextSibling,0),_t;(_t=et.parentNode)&&_t.nodeType===1;)et=_t;Ee.push(et)}for(var Ie=0;Ie<Ee.length;++Ie)ne(Ee[Ie]);W===(W|0)&&Ee[0].setAttribute("value",W);var Ge=ae.createElement("ol");Ge.className="linenums";for(var ut=Math.max(0,W-1|0)||0,Ie=0,wt=Ee.length;Ie<wt;++Ie)Le=Ee[Ie],Le.className="L"+(Ie+ut)%10,Le.firstChild||Le.appendChild(ae.createTextNode("\xA0")),Ge.appendChild(Le);J.appendChild(Ge)}function pe(J){var W=/\bMSIE\s(\d+)/.exec(navigator.userAgent);W=W&&+W[1]<=8;var j=/\n/g,Y=J.sourceCode,me=Y.length,ae=0,Le=J.spans,Ee=Le.length,ne=0,ge=J.decorations,Ie=ge.length,Ge=0;ge[Ie]=me;var ut,wt;for(wt=ut=0;wt<Ie;)ge[wt]!==ge[wt+2]?(ge[ut++]=ge[wt++],ge[ut++]=ge[wt++]):wt+=2;for(Ie=ut,wt=ut=0;wt<Ie;){for(var Pe=ge[wt],Dt=ge[wt+1],et=wt+2;et+2<=Ie&&ge[et+1]===Dt;)et+=2;ge[ut++]=Pe,ge[ut++]=Dt,wt=et}Ie=ge.length=ut;var _t=J.sourceNode,Nt="";_t&&(Nt=_t.style.display,_t.style.display="none");try{for(var Bt=null;ne<Ee;){var Ft=Le[ne],Gt=Le[ne+2]||me,qe=ge[Ge+2]||me,et=Math.min(Gt,qe),we=Le[ne+1],ue;if(we.nodeType!==1&&(ue=Y.substring(ae,et))){W&&(ue=ue.replace(j,"\r")),we.nodeValue=ue;var vt=we.ownerDocument,at=vt.createElement("span");at.className=ge[Ge+1];var Ae=we.parentNode;Ae.replaceChild(at,we),at.appendChild(we),ae<Gt&&(Le[ne+1]=we=vt.createTextNode(Y.substring(et,Gt)),Ae.insertBefore(we,at.nextSibling))}ae=et,ae>=Gt&&(ne+=2),ae>=qe&&(Ge+=2)}}finally{_t&&(_t.style.display=Nt)}}var xe={};function _e(J,W){for(var j=W.length;--j>=0;){var Y=W[j];xe.hasOwnProperty(Y)?o.console&&console.warn("cannot override language handler %s",Y):xe[Y]=J}}function Ue(J,W){return J&&xe.hasOwnProperty(J)||(J=/^\s*</.test(W)?"default-markup":"default-code"),xe[J]}_e(Se,["default-code"]),_e(Z([],[[O,/^[^<?]+/],[k,/^<!\w[^>]*(?:>|$)/],[T,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[I,/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),_e(Z([[O,/^[\s]+/,null,` \r
|
|
|
`],[V,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[F,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[P,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[I,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),_e(Z([],[[V,/^[\s\S]+/]]),["uq.val"]),_e(ee({keywords:d,hashComments:!0,cStyleComments:!0,types:b}),["c","cc","cpp","cxx","cyc","m"]),_e(ee({keywords:"null,true,false"}),["json"]),_e(ee({keywords:l,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:b}),["cs"]),_e(ee({keywords:i,cStyleComments:!0}),["java"]),_e(ee({keywords:v,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),_e(ee({keywords:f,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),_e(ee({keywords:u,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),_e(ee({keywords:A,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),_e(ee({keywords:s,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),_e(ee({keywords:e,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),_e(Z([],[[w,/^[\s\S]+/]]),["regex"]);function ye(J){var W=J.langExtension;try{var j=z(J.sourceNode,J.pre),Y=j.sourceCode;J.sourceCode=Y,J.spans=j.spans,J.basePos=0,Ue(W,Y)(J),pe(J)}catch(me){o.console&&console.log(me&&me.stack||me)}}function Be(J,W,j){var Y=j||!1,me=W||null,ae=document.createElement("div");ae.innerHTML="<pre>"+J+"</pre>",ae=ae.firstChild,Y&&$(ae,Y,!0);var Le={langExtension:me,numberLines:Y,sourceNode:ae,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return ye(Le),ae.innerHTML}function Q(J,W){var j=W||document.body,Y=j.ownerDocument||document;function me(Ft){return j.getElementsByTagName(Ft)}for(var ae=[me("pre"),me("code"),me("xmp")],Le=[],Ee=0;Ee<ae.length;++Ee)for(var ne=0,ge=ae[Ee].length;ne<ge;++ne)Le.push(ae[Ee][ne]);ae=null;var Ie=Date;Ie.now||(Ie={now:function(){return+new Date}});var Ge=0,ut=/\blang(?:uage)?-([\w.]+)(?!\S)/,wt=/\bprettyprint\b/,Pe=/\bprettyprinted\b/,Dt=/pre|xmp/i,et=/^code$/i,_t=/^(?:pre|code|xmp)$/i,Nt={};function Bt(){for(var Ft=o.PR_SHOULD_USE_CONTINUATION?Ie.now()+250:Infinity;Ge<Le.length&&Ie.now()<Ft;Ge++){for(var Gt=Le[Ge],qe=Nt,we=Gt;we=we.previousSibling;){var ue=we.nodeType,vt=(ue===7||ue===8)&&we.nodeValue;if(vt?!/^\??prettify\b/.test(vt):ue!==3||/\S/.test(we.nodeValue))break;if(vt){qe={},vt.replace(/\b(\w+)=([\w:.%+-]+)/g,function(fe,De,He){qe[De]=He});break}}var at=Gt.className;if((qe!==Nt||wt.test(at))&&!Pe.test(at)){for(var Ae=!1,Xt=Gt.parentNode;Xt;Xt=Xt.parentNode){var Ot=Xt.tagName;if(_t.test(Ot)&&Xt.className&&wt.test(Xt.className)){Ae=!0;break}}if(!Ae){Gt.className+=" prettyprinted";var rt=qe.lang;if(!rt){rt=at.match(ut);var Et;!rt&&(Et=X(Gt))&&et.test(Et.tagName)&&(rt=Et.className.match(ut)),rt&&(rt=rt[1])}var Zt;if(Dt.test(Gt.tagName))Zt=1;else{var vr=Gt.currentStyle,mt=Y.defaultView,ce=vr?vr.whiteSpace:mt&&mt.getComputedStyle?mt.getComputedStyle(Gt,null).getPropertyValue("white-space"):0;Zt=ce&&ce.substring(0,3)==="pre"}var le=qe.linenums;(le=le==="true"||+le)||(le=at.match(/\blinenums\b(?::(\d+))?/),le=le?le[1]&&le[1].length?+le[1]:!0:!1),le&&$(Gt,le,Zt);var oe={langExtension:rt,sourceNode:Gt,numberLines:le,pre:Zt,sourceCode:null,basePos:null,spans:null,decorations:null};ye(oe)}}}Ge<Le.length?o.setTimeout(Bt,250):typeof J=="function"&&J()}Bt()}var ie=o.PR={createSimpleLexer:Z,registerLangHandler:_e,sourceDecorator:ee,PR_ATTRIB_NAME:P,PR_ATTRIB_VALUE:V,PR_COMMENT:T,PR_DECLARATION:k,PR_KEYWORD:_,PR_LITERAL:E,PR_NOCODE:D,PR_PLAIN:O,PR_PUNCTUATION:I,PR_SOURCE:M,PR_STRING:w,PR_TAG:F,PR_TYPE:S,prettyPrintOne:C?o.prettyPrintOne=Be:h=Be,prettyPrint:c=C?o.prettyPrint=Q:c=Q},Ve=o.define;typeof Ve=="function"&&Ve.amd&&Ve("google-code-prettify",[],function(){return ie})})()},SKnc:function(B,N,r){var y=r("bYtY"),m=r("QuXc"),C=function(h,c,o,n,t,a){this.x=h==null?0:h,this.y=c==null?0:c,this.x2=o==null?1:o,this.y2=n==null?0:n,this.type="linear",this.global=a||!1,m.call(this,t)};C.prototype={constructor:C},y.inherits(C,m);var p=C;B.exports=p},"SKx+":function(B,N,r){var y=r("ProS"),m=y.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=m;B.exports=C},SMc4:function(B,N,r){var y=r("bYtY"),m=r("bLfw"),C=r("nkfE"),p=r("ICMv"),g=m.extend({type:"cartesian2dAxis",axis:null,init:function(){g.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){g.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){g.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function h(n,t){return t.type||(t.data?"category":"value")}y.merge(g.prototype,p);var c={offset:0};C("x",g,h,c),C("y",g,h,c);var o=g;B.exports=o},SRve:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};N.default=y},SUKs:function(B,N,r){var y=r("LPTA"),m=y.debugMode,C=function(){};m===1&&(C=console.error);var p=C;B.exports=p},SZEN:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.clientToElement=y;function y(m,C,p){var g=p.getBoundingClientRect(),h={x:0,y:0};return m<g.left?h.x=0:m>=g.right?h.x=g.width-1:h.x=m-g.left,C<g.top?h.y=0:C>=g.bottom?h.y=g.height-1:h.y=C-g.top,h}},Sdc0:function(B,N,r){"use strict";var y=r("pVnL"),m=r.n(y),C=r("lSNA"),p=r.n(C),g=r("q1tI"),h=r("rePB"),c=r("ODXe"),o=r("Ff2n"),n=r("TSYQ"),t=r.n(n),a=r("6cGi"),d=r("4IlW"),i=g.forwardRef(function(_,T){var S,E=_.prefixCls,I=E===void 0?"rc-switch":E,O=_.className,F=_.checked,k=_.defaultChecked,M=_.disabled,P=_.loadingIcon,V=_.checkedChildren,D=_.unCheckedChildren,H=_.onClick,U=_.onChange,z=_.onKeyDown,K=Object(o.a)(_,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),G=Object(a.a)(!1,{value:F,defaultValue:k}),X=Object(c.a)(G,2),Z=X[0],ee=X[1];function Se(_e,Ue){var ye=Z;return M||(ye=_e,ee(ye),U==null||U(ye,Ue)),ye}function $(_e){_e.which===d.a.LEFT?Se(!1,_e):_e.which===d.a.RIGHT&&Se(!0,_e),z==null||z(_e)}function pe(_e){var Ue=Se(!Z,_e);H==null||H(Ue,_e)}var xe=t()(I,O,(S={},Object(h.a)(S,"".concat(I,"-checked"),Z),Object(h.a)(S,"".concat(I,"-disabled"),M),S));return g.createElement("button",Object.assign({},K,{type:"button",role:"switch","aria-checked":Z,disabled:M,className:xe,ref:T,onKeyDown:$,onClick:pe}),P,g.createElement("span",{className:"".concat(I,"-inner")},Z?V:D))});i.displayName="Switch";var l=i,e=r("gZBC"),s=r.n(e),u=r("g0mS"),f=r("H84U"),A=r("3Nzz"),v=r("uaoM"),x=function(_,T){var S={};for(var E in _)Object.prototype.hasOwnProperty.call(_,E)&&T.indexOf(E)<0&&(S[E]=_[E]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,E=Object.getOwnPropertySymbols(_);I<E.length;I++)T.indexOf(E[I])<0&&Object.prototype.propertyIsEnumerable.call(_,E[I])&&(S[E[I]]=_[E[I]]);return S},b=g.forwardRef(function(_,T){var S,E=_.prefixCls,I=_.size,O=_.loading,F=_.className,k=F===void 0?"":F,M=_.disabled,P=x(_,["prefixCls","size","loading","className","disabled"]);Object(v.a)("checked"in P||!("value"in P),"Switch","`value` is not a valid prop, do you mean `checked`?");var V=g.useContext(f.b),D=V.getPrefixCls,H=V.direction,U=g.useContext(A.b),z=D("switch",E),K=g.createElement("div",{className:"".concat(z,"-handle")},O&&g.createElement(s.a,{className:"".concat(z,"-loading-icon")})),G=t()(k,(S={},p()(S,"".concat(z,"-small"),(I||U)==="small"),p()(S,"".concat(z,"-loading"),O),p()(S,"".concat(z,"-rtl"),H==="rtl"),S));return g.createElement(u.a,{insertExtraNode:!0},g.createElement(l,m()({},P,{prefixCls:z,className:G,disabled:M||O,ref:T,loadingIcon:K})))});b.__ANT_SWITCH=!0,b.displayName="Switch";var w=N.a=b},SehX:function(B,N,r){var y=r("ProS"),m=r("bYtY"),C=r("2B6p"),p=C.updateCenterAndZoom;y.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(g,h){var c=g.componentType||"series";h.eachComponent({mainType:c,query:g},function(o){var n=o.coordinateSystem;if(n.type!=="geo")return;var t=p(n,g,o.get("scaleLimit"));o.setCenter&&o.setCenter(t.center),o.setZoom&&o.setZoom(t.zoom),c==="series"&&m.each(o.seriesGroup,function(a){a.setCenter(t.center),a.setZoom(t.zoom)})})})},SgGq:function(B,N,r){var y=r("bYtY"),m=r("H6uX"),C=r("YH21"),p=r("pP6R");function g(e){this.pointerChecker,this._zr=e,this._opt={};var s=y.bind,u=s(h,this),f=s(c,this),A=s(o,this),v=s(n,this),x=s(t,this);m.call(this),this.setPointerChecker=function(b){this.pointerChecker=b},this.enable=function(b,w){this.disable(),this._opt=y.defaults(y.clone(w)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),b==null&&(b=!0),(b===!0||b==="move"||b==="pan")&&(e.on("mousedown",u),e.on("mousemove",f),e.on("mouseup",A)),(b===!0||b==="scale"||b==="zoom")&&(e.on("mousewheel",v),e.on("pinch",x))},this.disable=function(){e.off("mousedown",u),e.off("mousemove",f),e.off("mouseup",A),e.off("mousewheel",v),e.off("pinch",x)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}y.mixin(g,m);function h(e){if(C.isMiddleOrRightButtonOnMouseUpDown(e)||e.target&&e.target.draggable)return;var s=e.offsetX,u=e.offsetY;this.pointerChecker&&this.pointerChecker(e,s,u)&&(this._x=s,this._y=u,this._dragging=!0)}function c(e){if(!this._dragging||!i("moveOnMouseMove",e,this._opt)||e.gestureEvent==="pinch"||p.isTaken(this._zr,"globalPan"))return;var s=e.offsetX,u=e.offsetY,f=this._x,A=this._y,v=s-f,x=u-A;this._x=s,this._y=u,this._opt.preventDefaultMouseMove&&C.stop(e.event),d(this,"pan","moveOnMouseMove",e,{dx:v,dy:x,oldX:f,oldY:A,newX:s,newY:u})}function o(e){C.isMiddleOrRightButtonOnMouseUpDown(e)||(this._dragging=!1)}function n(e){var s=i("zoomOnMouseWheel",e,this._opt),u=i("moveOnMouseWheel",e,this._opt),f=e.wheelDelta,A=Math.abs(f),v=e.offsetX,x=e.offsetY;if(f===0||!s&&!u)return;if(s){var b=A>3?1.4:A>1?1.2:1.1,w=f>0?b:1/b;a(this,"zoom","zoomOnMouseWheel",e,{scale:w,originX:v,originY:x})}if(u){var _=Math.abs(f),T=(f>0?1:-1)*(_>3?.4:_>1?.15:.05);a(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:T,originX:v,originY:x})}}function t(e){if(p.isTaken(this._zr,"globalPan"))return;var s=e.pinchScale>1?1.1:1/1.1;a(this,"zoom",null,e,{scale:s,originX:e.pinchX,originY:e.pinchY})}function a(e,s,u,f,A){e.pointerChecker&&e.pointerChecker(f,A.originX,A.originY)&&(C.stop(f.event),d(e,s,u,f,A))}function d(e,s,u,f,A){A.isAvailableBehavior=y.bind(i,null,u,f),e.trigger(s,A)}function i(e,s,u){var f=u[e];return!e||f&&(!y.isString(f)||s.event[f+"Key"])}var l=g;B.exports=l},SgaC:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function y(g,h){if(!(g instanceof h))throw new TypeError("Cannot call a class as a function")}function m(g,h){for(var c=0;c<h.length;c++){var o=h[c];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(g,o.key,o)}}function C(g,h,c){return h&&m(g.prototype,h),c&&m(g,c),g}var p=function(){function g(){y(this,g),this._subrects=0}return C(g,[{key:"decodeRect",value:function(c,o,n,t,a,d,i){if(this._subrects===0){if(a.rQwait("RRE",4+4))return!1;this._subrects=a.rQshift32();var l=a.rQshiftBytes(4);d.fillRect(c,o,n,t,l)}for(;this._subrects>0;){if(a.rQwait("RRE",4+8))return!1;var e=a.rQshiftBytes(4),s=a.rQshift16(),u=a.rQshift16(),f=a.rQshift16(),A=a.rQshift16();d.fillRect(c+s,o+u,f,A,e),this._subrects--}return!0}}]),g}();N.default=p},Sj0X:function(B,N,r){"use strict";var y=r("284h"),m=r("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var C=m(r("3tO9")),p=y(r("q1tI")),g=m(r("XuBP")),h=m(r("KQxl")),c=function(t,a){return p.createElement(h.default,(0,C.default)((0,C.default)({},t),{},{ref:a,icon:g.default}))};c.displayName="DownOutlined";var o=p.forwardRef(c);N.default=o},Sj9i:function(B,N,r){var y=r("QBsz"),m=y.create,C=y.distSquare,p=Math.pow,g=Math.sqrt,h=1e-8,c=1e-4,o=g(3),n=1/3,t=m(),a=m(),d=m();function i(E){return E>-h&&E<h}function l(E){return E>h||E<-h}function e(E,I,O,F,k){var M=1-k;return M*M*(M*E+3*k*I)+k*k*(k*F+3*M*O)}function s(E,I,O,F,k){var M=1-k;return 3*(((I-E)*M+2*(O-I)*k)*M+(F-O)*k*k)}function u(E,I,O,F,k,M){var P=F+3*(I-O)-E,V=3*(O-I*2+E),D=3*(I-E),H=E-k,U=V*V-3*P*D,z=V*D-9*P*H,K=D*D-3*V*H,G=0;if(i(U)&&i(z))if(i(V))M[0]=0;else{var X=-D/V;X>=0&&X<=1&&(M[G++]=X)}else{var Z=z*z-4*U*K;if(i(Z)){var ee=z/U,X=-V/P+ee,Se=-ee/2;X>=0&&X<=1&&(M[G++]=X),Se>=0&&Se<=1&&(M[G++]=Se)}else if(Z>0){var $=g(Z),pe=U*V+1.5*P*(-z+$),xe=U*V+1.5*P*(-z-$);pe<0?pe=-p(-pe,n):pe=p(pe,n),xe<0?xe=-p(-xe,n):xe=p(xe,n);var X=(-V-(pe+xe))/(3*P);X>=0&&X<=1&&(M[G++]=X)}else{var _e=(2*U*V-3*P*z)/(2*g(U*U*U)),Ue=Math.acos(_e)/3,ye=g(U),Be=Math.cos(Ue),X=(-V-2*ye*Be)/(3*P),Se=(-V+ye*(Be+o*Math.sin(Ue)))/(3*P),Q=(-V+ye*(Be-o*Math.sin(Ue)))/(3*P);X>=0&&X<=1&&(M[G++]=X),Se>=0&&Se<=1&&(M[G++]=Se),Q>=0&&Q<=1&&(M[G++]=Q)}}return G}function f(E,I,O,F,k){var M=6*O-12*I+6*E,P=9*I+3*F-3*E-9*O,V=3*I-3*E,D=0;if(i(P)){if(l(M)){var H=-V/M;H>=0&&H<=1&&(k[D++]=H)}}else{var U=M*M-4*P*V;if(i(U))k[0]=-M/(2*P);else if(U>0){var z=g(U),H=(-M+z)/(2*P),K=(-M-z)/(2*P);H>=0&&H<=1&&(k[D++]=H),K>=0&&K<=1&&(k[D++]=K)}}return D}function A(E,I,O,F,k,M){var P=(I-E)*k+E,V=(O-I)*k+I,D=(F-O)*k+O,H=(V-P)*k+P,U=(D-V)*k+V,z=(U-H)*k+H;M[0]=E,M[1]=P,M[2]=H,M[3]=z,M[4]=z,M[5]=U,M[6]=D,M[7]=F}function v(E,I,O,F,k,M,P,V,D,H,U){var z,K=.005,G=Infinity,X,Z,ee,Se;t[0]=D,t[1]=H;for(var $=0;$<1;$+=.05)a[0]=e(E,O,k,P,$),a[1]=e(I,F,M,V,$),ee=C(t,a),ee<G&&(z=$,G=ee);G=Infinity;for(var pe=0;pe<32&&!(K<c);pe++)X=z-K,Z=z+K,a[0]=e(E,O,k,P,X),a[1]=e(I,F,M,V,X),ee=C(a,t),X>=0&&ee<G?(z=X,G=ee):(d[0]=e(E,O,k,P,Z),d[1]=e(I,F,M,V,Z),Se=C(d,t),Z<=1&&Se<G?(z=Z,G=Se):K*=.5);return U&&(U[0]=e(E,O,k,P,z),U[1]=e(I,F,M,V,z)),g(G)}function x(E,I,O,F){var k=1-F;return k*(k*E+2*F*I)+F*F*O}function b(E,I,O,F){return 2*((1-F)*(I-E)+F*(O-I))}function w(E,I,O,F,k){var M=E-2*I+O,P=2*(I-E),V=E-F,D=0;if(i(M)){if(l(P)){var H=-V/P;H>=0&&H<=1&&(k[D++]=H)}}else{var U=P*P-4*M*V;if(i(U)){var H=-P/(2*M);H>=0&&H<=1&&(k[D++]=H)}else if(U>0){var z=g(U),H=(-P+z)/(2*M),K=(-P-z)/(2*M);H>=0&&H<=1&&(k[D++]=H),K>=0&&K<=1&&(k[D++]=K)}}return D}function _(E,I,O){var F=E+O-2*I;return F===0?.5:(E-I)/F}function T(E,I,O,F,k){var M=(I-E)*F+E,P=(O-I)*F+I,V=(P-M)*F+M;k[0]=E,k[1]=M,k[2]=V,k[3]=V,k[4]=P,k[5]=O}function S(E,I,O,F,k,M,P,V,D){var H,U=.005,z=Infinity;t[0]=P,t[1]=V;for(var K=0;K<1;K+=.05){a[0]=x(E,O,k,K),a[1]=x(I,F,M,K);var G=C(t,a);G<z&&(H=K,z=G)}z=Infinity;for(var X=0;X<32&&!(U<c);X++){var Z=H-U,ee=H+U;a[0]=x(E,O,k,Z),a[1]=x(I,F,M,Z);var G=C(a,t);if(Z>=0&&G<z)H=Z,z=G;else{d[0]=x(E,O,k,ee),d[1]=x(I,F,M,ee);var Se=C(d,t);ee<=1&&Se<z?(H=ee,z=Se):U*=.5}}return D&&(D[0]=x(E,O,k,H),D[1]=x(I,F,M,H)),g(z)}N.cubicAt=e,N.cubicDerivativeAt=s,N.cubicRootAt=u,N.cubicExtrema=f,N.cubicSubdivide=A,N.cubicProjectPoint=v,N.quadraticAt=x,N.quadraticDerivativeAt=b,N.quadraticRootAt=w,N.quadraticExtremum=_,N.quadraticSubdivide=T,N.quadraticProjectPoint=S},Sp2Z:function(B,N,r){var y=r("3LNs"),m=r("/y7N"),C=r("AVZG"),p=r("Znkb"),g=y.extend({makeElOption:function(t,a,d,i,l){var e=d.axis,s=e.grid,u=i.get("type"),f=h(s,e).getOtherAxis(e).getGlobalExtent(),A=e.toGlobalCoord(e.dataToCoord(a,!0));if(u&&u!=="none"){var v=m.buildElStyle(i),x=c[u](e,A,f);x.style=v,t.graphicKey=x.type,t.pointer=x}var b=C.layout(s.model,d);m.buildCartesianSingleLabelElOption(a,t,b,d,i,l)},getHandleTransform:function(t,a,d){var i=C.layout(a.axis.grid.model,a,{labelInside:!1});return i.labelMargin=d.get("handle.margin"),{position:m.getTransformedPosition(a.axis,t,i),rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,a,d,i){var l=d.axis,e=l.grid,s=l.getGlobalExtent(!0),u=h(e,l).getOtherAxis(l).getGlobalExtent(),f=l.dim==="x"?0:1,A=t.position;A[f]+=a[f],A[f]=Math.min(s[1],A[f]),A[f]=Math.max(s[0],A[f]);var v=(u[1]+u[0])/2,x=[v,v];x[f]=A[f];var b=[{verticalAlign:"middle"},{align:"center"}];return{position:A,rotation:t.rotation,cursorPoint:x,tooltipOption:b[f]}}});function h(t,a){var d={};return d[a.dim+"AxisIndex"]=a.index,t.getCartesian(d)}var c={line:function(t,a,d){var i=m.makeLineShape([a,d[0]],[a,d[1]],o(t));return{type:"Line",subPixelOptimize:!0,shape:i}},shadow:function(t,a,d){var i=Math.max(1,t.getBandWidth()),l=d[1]-d[0];return{type:"Rect",shape:m.makeRectShape([a-i/2,d[0]],[i,l],o(t))}}};function o(t){return t.dim==="x"?0:1}p.registerAxisPointerClass("CartesianAxisPointer",g);var n=g;B.exports=n},Sq3C:function(B,N,r){var y=r("sKgW"),m=r("zoYe"),C=r("wy8a"),p=r("quyA"),g=r("Z1HP"),h=r("Em2t"),c=Math.ceil;function o(n,t){t=t===void 0?" ":m(t);var a=t.length;if(a<2)return a?y(t,n):t;var d=y(t,c(n/g(t)));return p(t)?C(h(d),0,n).join(""):d.slice(0,n)}B.exports=o},SqI9:function(B,N,r){var y=r("y+Vt"),m=r("iXp4"),C=y.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},brush:m(y.prototype.brush),buildPath:function(g,h){var c=h.cx,o=h.cy,n=Math.max(h.r0||0,0),t=Math.max(h.r,0),a=h.startAngle,d=h.endAngle,i=h.clockwise,l=Math.cos(a),e=Math.sin(a);g.moveTo(l*n+c,e*n+o),g.lineTo(l*t+c,e*t+o),g.arc(c,o,t,a,d,!i),g.lineTo(Math.cos(d)*n+c,Math.sin(d)*n+o),n!==0&&g.arc(c,o,n,d,a,i),g.closePath()}});B.exports=C},SrGk:function(B,N,r){var y=r("hydK"),m=y.createElement,C=r("bYtY"),p=r("y+Vt"),g=r("Dagg"),h=r("dqUG"),c=r("P47w"),o=c.path,n=c.image,t=c.text,a="0",d="1";function i(e,s,u,f,A){this._zrId=e,this._svgRoot=s,this._tagNames=typeof u=="string"?[u]:u,this._markLabel=f,this._domName=A||"_dom",this.nextId=0}i.prototype.createElement=m,i.prototype.getDefs=function(e){var s=this._svgRoot,u=this._svgRoot.getElementsByTagName("defs");return u.length===0?e?(u=s.insertBefore(this.createElement("defs"),s.firstChild),u.contains||(u.contains=function(f){var A=u.children;if(!A)return!1;for(var v=A.length-1;v>=0;--v)if(A[v]===f)return!0;return!1}),u):null:u[0]},i.prototype.update=function(e,s){if(!e)return;var u=this.getDefs(!1);if(e[this._domName]&&u.contains(e[this._domName]))typeof s=="function"&&s(e);else{var f=this.add(e);f&&(e[this._domName]=f)}},i.prototype.addDom=function(e){var s=this.getDefs(!0);s.appendChild(e)},i.prototype.removeDom=function(e){var s=this.getDefs(!1);s&&e[this._domName]&&(s.removeChild(e[this._domName]),e[this._domName]=null)},i.prototype.getDoms=function(){var e=this.getDefs(!1);if(!e)return[];var s=[];return C.each(this._tagNames,function(u){var f=e.getElementsByTagName(u);s=s.concat([].slice.call(f))}),s},i.prototype.markAllUnused=function(){var e=this.getDoms(),s=this;C.each(e,function(u){u[s._markLabel]=a})},i.prototype.markUsed=function(e){e&&(e[this._markLabel]=d)},i.prototype.removeUnused=function(){var e=this.getDefs(!1);if(!e)return;var s=this.getDoms(),u=this;C.each(s,function(f){f[u._markLabel]!==d&&e.removeChild(f)})},i.prototype.getSvgProxy=function(e){return e instanceof p?o:e instanceof g?n:e instanceof h?t:o},i.prototype.getTextSvgElement=function(e){return e.__textSvgEl},i.prototype.getSvgElement=function(e){return e.__svgEl};var l=i;B.exports=l},Swgg:function(B,N,r){var y=r("fc+c"),m=y.extend({type:"dataZoom.select"});B.exports=m},Sxd8:function(B,N,r){var y=r("ZCgT");function m(C){var p=y(C),g=p%1;return p===p?g?p-g:p:0}B.exports=m},T1rO:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("zdCA"));function m(p){return p&&p.__esModule?p:{default:p}}var C=y;N.default=C,B.exports=C},T4UG:function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("bYtY"),p=r("ItGF"),g=r("7aKB"),h=g.formatTime,c=g.encodeHTML,o=g.addCommas,n=g.getTooltipMarker,t=r("4NO4"),a=r("bLfw"),d=r("5Hur"),i=r("OKJ2"),l=r("+TT/"),e=l.getLayoutParams,s=l.mergeLayoutParam,u=r("9H2F"),f=u.createTask,A=r("D5nY"),v=A.prepareSource,x=A.getSource,b=r("KxfA"),w=b.retrieveRawValue,_=t.makeInner(),T=a.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(D,H,U,z){this.seriesIndex=this.componentIndex,this.dataTask=f({count:I,reset:O}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(D,U),v(this);var K=this.getInitialData(D,U);k(K,this),this.dataTask.context.data=K,_(this).dataBeforeProcessed=K,S(this)},mergeDefaultAndTheme:function(D,H){var U=this.layoutMode,z=U?e(D):{},K=this.subType;a.hasClass(K)&&(K+="Series"),C.merge(D,H.getTheme().get(this.subType)),C.merge(D,this.getDefaultOption()),t.defaultEmphasis(D,"label",["show"]),this.fillDataTextStyle(D.data),U&&s(D,z,U)},mergeOption:function(D,H){D=C.merge(this.option,D,!0),this.fillDataTextStyle(D.data);var U=this.layoutMode;U&&s(this.option,D,U),v(this);var z=this.getInitialData(D,H);k(z,this),this.dataTask.dirty(),this.dataTask.context.data=z,_(this).dataBeforeProcessed=z,S(this)},fillDataTextStyle:function(D){if(D&&!C.isTypedArray(D))for(var H=["show"],U=0;U<D.length;U++)D[U]&&D[U].label&&t.defaultEmphasis(D[U],"label",H)},getInitialData:function(){},appendData:function(D){var H=this.getRawData();H.appendData(D.data)},getData:function(D){var H=P(this);if(H){var U=H.context.data;return D==null?U:U.getLinkedData(D)}else return _(this).data},setData:function(D){var H=P(this);if(H){var U=H.context;U.data!==D&&H.modifyOutputEnd&&H.setOutputEnd(D.count()),U.outputData=D,H!==this.dataTask&&(U.data=D)}_(this).data=D},getSource:function(){return x(this)},getRawData:function(){return _(this).dataBeforeProcessed},getBaseAxis:function(){var D=this.coordinateSystem;return D&&D.getBaseAxis&&D.getBaseAxis()},formatTooltip:function(D,H,U,z){var K=this;z=z||"html";var G=z==="html"?"<br/>":`
|
|
|
`,X=z==="richText",Z={},ee=0;function Se(ae){var Le=C.reduce(ae,function(Ge,ut,wt){var Pe=pe.getDimensionInfo(wt);return Ge|=Pe&&Pe.tooltip!==!1&&Pe.displayName!=null},0),Ee=[];xe.length?C.each(xe,function(Ge){ne(w(pe,D,Ge),Ge)}):C.each(ae,ne);function ne(Ge,ut){var wt=pe.getDimensionInfo(ut);if(!wt||wt.otherDims.tooltip===!1)return;var Pe=wt.type,Dt="sub"+K.seriesIndex+"at"+ee,et=n({color:Be,type:"subItem",renderMode:z,markerId:Dt}),_t=typeof et=="string"?et:et.content,Nt=(Le?_t+c(wt.displayName||"-")+": ":"")+c(Pe==="ordinal"?Ge+"":Pe==="time"?H?"":h("yyyy/MM/dd hh:mm:ss",Ge):o(Ge));Nt&&Ee.push(Nt),X&&(Z[Dt]=Be,++ee)}var ge=Le?X?`
|
|
|
`:"<br/>":"",Ie=ge+Ee.join(ge||", ");return{renderMode:z,content:Ie,style:Z}}function $(ae){return{renderMode:z,content:c(o(ae)),style:Z}}var pe=this.getData(),xe=pe.mapDimension("defaultedTooltip",!0),_e=xe.length,Ue=this.getRawValue(D),ye=C.isArray(Ue),Be=pe.getItemVisual(D,"color");C.isObject(Be)&&Be.colorStops&&(Be=(Be.colorStops[0]||{}).color),Be=Be||"transparent";var Q=_e>1||ye&&!_e?Se(Ue):$(_e?w(pe,D,xe[0]):ye?Ue[0]:Ue),ie=Q.content,Ve=K.seriesIndex+"at"+ee,J=n({color:Be,type:"item",renderMode:z,markerId:Ve});Z[Ve]=Be,++ee;var W=pe.getName(D),j=this.name;t.isNameSpecified(this)||(j=""),j=j?c(j)+(H?": ":G):"";var Y=typeof J=="string"?J:J.content,me=H?Y+j+ie:j+Y+(W?c(W)+": "+ie:ie);return{html:me,markers:Z}},isAnimationEnabled:function(){if(p.node)return!1;var D=this.getShallow("animation");return D&&(this.getData().count()>this.getShallow("animationThreshold")&&(D=!1)),D},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(D,H,U){var z=this.ecModel,K=d.getColorFromPalette.call(this,D,H,U);return K||(K=z.getColorFromPalette(D,H,U)),K},coordDimToDataDim:function(D){return this.getRawData().mapDimension(D,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});C.mixin(T,i),C.mixin(T,d);function S(D){var H=D.name;t.isNameSpecified(D)||(D.name=E(D)||H)}function E(D){var H=D.getRawData(),U=H.mapDimension("seriesName",!0),z=[];return C.each(U,function(K){var G=H.getDimensionInfo(K);G.displayName&&z.push(G.displayName)}),z.join(" ")}function I(D){return D.model.getRawData().count()}function O(D){var H=D.model;return H.setData(H.getRawData().cloneShallow()),F}function F(D,H){H.outputData&&D.end>H.outputData.count()&&H.model.getRawData().cloneShallow(H.outputData)}function k(D,H){C.each(D.CHANGABLE_METHODS,function(U){D.wrapMethod(U,C.curry(M,H))})}function M(D){var H=P(D);H&&H.setOutputEnd(this.count())}function P(D){var H=(D.ecModel||{}).scheduler,U=H&&H.getPipeline(D.uid);if(U){var z=U.currentTask;if(z){var K=z.agentStubMap;K&&(z=K.get(D.uid))}return z}}var V=T;B.exports=V},T6xi:function(B,N,r){var y=r("YgsL"),m=r("nCxF");function C(p,g,h){var c=g.points,o=g.smooth;if(c&&c.length>=2){if(o&&o!=="spline"){var n=m(c,o,h,g.smoothConstraint);p.moveTo(c[0][0],c[0][1]);for(var t=c.length,a=0;a<(h?t:t-1);a++){var d=n[a*2],i=n[a*2+1],l=c[(a+1)%t];p.bezierCurveTo(d[0],d[1],i[0],i[1],l[0],l[1])}}else{o==="spline"&&(c=y(c,h)),p.moveTo(c[0][0],c[0][1]);for(var a=1,e=c.length;a<e;a++)p.lineTo(c[a][0],c[a][1])}h&&p.closePath()}}N.buildPath=C},TIY9:function(B,N,r){var y=r("bYtY"),m=y.each,C=r("vafp"),p=r("4NO4"),g=p.makeInner,h=r("Mgri"),c=r("F5Ls"),o=r("a9QJ"),n=r("p/La"),t=g(),a={load:function(i,l,e){var s=t(l).parsed;if(s)return s;var u=l.specialAreas||{},f=l.geoJSON,A;try{A=f?C(f,e):[]}catch(v){throw new Error(`Invalid geoJson format
|
|
|
`+v.message)}return h(i,A),m(A,function(v){var x=v.name;c(i,v),o(i,v),n(i,v);var b=u[x];b&&v.transformTo(b.left,b.top,b.width,b.height)}),t(l).parsed={regions:A,boundingRect:d(A)}}};function d(i){for(var l,e=0;e<i.length;e++){var s=i[e].getBoundingRect();l=l||s.clone(),l.union(s)}return l}B.exports=a},TJmX:function(B,N,r){var y=r("zM3Q"),m=["itemStyle","borderColor"],C=["itemStyle","borderColor0"],p=["itemStyle","color"],g=["itemStyle","color0"],h={seriesType:"candlestick",plan:y(),performRawSeries:!0,reset:function(c,o){var n=c.getData();if(n.setVisual({legendSymbol:"roundRect",colorP:d(1,c),colorN:d(-1,c),borderColorP:i(1,c),borderColorN:i(-1,c)}),o.isSeriesFiltered(c))return;var t=c.pipelineContext.large;return!t&&{progress:a};function a(l,e){for(var s;(s=l.next())!=null;){var u=e.getItemModel(s),f=e.getItemLayout(s).sign;e.setItemVisual(s,{color:d(f,u),borderColor:i(f,u)})}}function d(l,e){return e.get(l>0?p:g)}function i(l,e){return e.get(l>0?m:C)}}};B.exports=h},TWL2:function(B,N,r){var y=r("IwbS"),m=r("bYtY"),C=r("6Ic6");function p(n,t){y.Group.call(this);var a=new y.Polygon,d=new y.Polyline,i=new y.Text;this.add(a),this.add(d),this.add(i),this.highDownOnUpdate=function(l,e){e==="emphasis"?(d.ignore=d.hoverIgnore,i.ignore=i.hoverIgnore):(d.ignore=d.normalIgnore,i.ignore=i.normalIgnore)},this.updateData(n,t,!0)}var g=p.prototype,h=["itemStyle","opacity"];g.updateData=function(n,t,a){var d=this.childAt(0),i=n.hostModel,l=n.getItemModel(t),e=n.getItemLayout(t),s=n.getItemModel(t).get(h);s=s==null?1:s,d.useStyle({}),a?(d.setShape({points:e.points}),d.setStyle({opacity:0}),y.initProps(d,{style:{opacity:s}},i,t)):y.updateProps(d,{style:{opacity:s},shape:{points:e.points}},i,t);var u=l.getModel("itemStyle"),f=n.getItemVisual(t,"color");d.setStyle(m.defaults({lineJoin:"round",fill:f},u.getItemStyle(["opacity"]))),d.hoverStyle=u.getModel("emphasis").getItemStyle(),this._updateLabel(n,t),y.setHoverStyle(this)},g._updateLabel=function(n,t){var a=this.childAt(1),d=this.childAt(2),i=n.hostModel,l=n.getItemModel(t),e=n.getItemLayout(t),s=e.label,u=n.getItemVisual(t,"color");y.updateProps(a,{shape:{points:s.linePoints||s.linePoints}},i,t),y.updateProps(d,{style:{x:s.x,y:s.y}},i,t),d.attr({rotation:s.rotation,origin:[s.x,s.y],z2:10});var f=l.getModel("label"),A=l.getModel("emphasis.label"),v=l.getModel("labelLine"),x=l.getModel("emphasis.labelLine"),u=n.getItemVisual(t,"color");y.setLabelStyle(d.style,d.hoverStyle={},f,A,{labelFetcher:n.hostModel,labelDataIndex:t,defaultText:n.getName(t),autoColor:u,useInsideStyle:!!s.inside},{textAlign:s.textAlign,textVerticalAlign:s.verticalAlign}),d.ignore=d.normalIgnore=!f.get("show"),d.hoverIgnore=!A.get("show"),a.ignore=a.normalIgnore=!v.get("show"),a.hoverIgnore=!x.get("show"),a.setStyle({stroke:u}),a.setStyle(v.getModel("lineStyle").getLineStyle()),a.hoverStyle=x.getModel("lineStyle").getLineStyle()},m.inherits(p,y.Group);var c=C.extend({type:"funnel",render:function(n,t,a){var d=n.getData(),i=this._data,l=this.group;d.diff(i).add(function(e){var s=new p(d,e);d.setItemGraphicEl(e,s),l.add(s)}).update(function(e,s){var u=i.getItemGraphicEl(s);u.updateData(d,e),l.add(u),d.setItemGraphicEl(e,u)}).remove(function(e){var s=i.getItemGraphicEl(e);l.remove(s)}).execute(),this._data=d},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),o=c;B.exports=o},TYVI:function(B,N,r){var y=r("5GtS"),m=r("T4UG"),C=m.extend({type:"series.gauge",getInitialData:function(g,h){return y(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}}),p=C;B.exports=p},Tghj:function(B,N,r){(function(y){var m;typeof window!="undefined"?m=window.__DEV__:typeof y!="undefined"&&(m=y.__DEV__),typeof m=="undefined"&&(m=!0);var C=m;N.__DEV__=C}).call(this,r("yLpj"))},ThAp:function(B,N,r){var y=r("bYtY"),m=r("5GtS"),C=r("T4UG"),p=r("7aKB"),g=p.encodeHTML,h=p.addCommas,c=r("cCMj"),o=r("KxfA"),n=o.retrieveRawAttr,t=r("W4dC"),a=r("D5nY"),d=a.makeSeriesEncodeForNameBased,i=C.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(e){for(var s=m(this,{coordDimensions:["value"],encodeDefaulter:y.curry(d,this)}),u=s.mapDimension("value"),f=y.createHashMap(),A=[],v=[],x=0,b=s.count();x<b;x++){var w=s.getName(x);f.set(w,!0),A.push({name:w,value:s.get(u,x),selected:n(s,x,"selected")})}var _=t.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return y.each(_.regions,function(T){var S=T.name;f.get(S)||(A.push({name:S}),v.push(S))}),this.updateSelectedMap(A),s.appendValues([],v),s},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 s=this.getData();return s.get(s.mapDimension("value"),e)},getRegionModel:function(e){var s=this.getData();return s.getItemModel(s.indexOfName(e))},formatTooltip:function(e){for(var s=this.getData(),u=h(this.getRawValue(e)),f=s.getName(e),A=this.seriesGroup,v=[],x=0;x<A.length;x++){var b=A[x].originalData.indexOfName(f),w=s.mapDimension("value");isNaN(A[x].originalData.get(w,b))||v.push(g(A[x].name))}return v.join(", ")+"<br />"+g(f+" : "+u)},getTooltipPosition:function(e){if(e!=null){var s=this.getData().getName(e),u=this.coordinateSystem,f=u.getRegion(s);return f&&u.dataToPoint(f.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"}});y.mixin(i,c);var l=i;B.exports=l},TkdX:function(B,N,r){var y=r("bYtY"),m=r("IwbS"),C={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},p=2,g=4;function h(i,l,e){m.Group.call(this);var s=new m.Sector({z2:p});s.seriesIndex=l.seriesIndex;var u=new m.Text({z2:g,silent:i.getModel("label").get("silent")});this.add(s),this.add(u),this.updateData(!0,i,"normal",l,e);function f(){u.ignore=u.hoverIgnore}function A(){u.ignore=u.normalIgnore}this.on("emphasis",f).on("normal",A).on("mouseover",f).on("mouseout",A)}var c=h.prototype;c.updateData=function(i,l,e,s,u){this.node=l,l.piece=this,s=s||this._seriesModel,u=u||this._ecModel;var f=this.childAt(0);f.dataIndex=l.dataIndex;var A=l.getModel(),v=l.getLayout(),x=y.extend({},v);x.label=null;var b=n(l,s,u);d(l,s,b);var w=A.getModel("itemStyle").getItemStyle(),_;if(e==="normal")_=w;else{var T=A.getModel(e+".itemStyle").getItemStyle();_=y.merge(T,w)}_=y.defaults({lineJoin:"bevel",fill:_.fill||b},_),i?(f.setShape(x),f.shape.r=v.r0,m.updateProps(f,{shape:{r:v.r}},s,l.dataIndex),f.useStyle(_)):typeof _.fill=="object"&&_.fill.type||typeof f.style.fill=="object"&&f.style.fill.type?(m.updateProps(f,{shape:x},s),f.useStyle(_)):m.updateProps(f,{shape:x,style:_},s),this._updateLabel(s,b,e);var S=A.getShallow("cursor");if(S&&f.attr("cursor",S),i){var E=s.getShallow("highlightPolicy");this._initEvents(f,l,s,E)}this._seriesModel=s||this._seriesModel,this._ecModel=u||this._ecModel,m.setHoverStyle(this)},c.onEmphasis=function(i){var l=this;this.node.hostTree.root.eachNode(function(e){e.piece&&(l.node===e?e.piece.updateData(!1,e,"emphasis"):a(e,l.node,i)?e.piece.childAt(0).trigger("highlight"):i!==C.NONE&&e.piece.childAt(0).trigger("downplay"))})},c.onNormal=function(){this.node.hostTree.root.eachNode(function(i){i.piece&&i.piece.updateData(!1,i,"normal")})},c.onHighlight=function(){this.updateData(!1,this.node,"highlight")},c.onDownplay=function(){this.updateData(!1,this.node,"downplay")},c._updateLabel=function(i,l,e){var s=this.node.getModel(),u=s.getModel("label"),f=e==="normal"||e==="emphasis"?u:s.getModel(e+".label"),A=s.getModel("emphasis.label"),v=y.retrieve(i.getFormattedLabel(this.node.dataIndex,e,null,null,"label"),this.node.name);H("show")===!1&&(v="");var x=this.node.getLayout(),b=f.get("minAngle");b==null&&(b=u.get("minAngle")),b=b/180*Math.PI;var w=x.endAngle-x.startAngle;b!=null&&Math.abs(w)<b&&(v="");var _=this.childAt(1);m.setLabelStyle(_.style,_.hoverStyle||{},u,A,{defaultText:f.getShallow("show")?v:null,autoColor:l,useInsideStyle:!0});var T=(x.startAngle+x.endAngle)/2,S=Math.cos(T),E=Math.sin(T),I,O=H("position"),F=H("distance")||0,k=H("align");O==="outside"?(I=x.r+F,k=T>Math.PI/2?"right":"left"):!k||k==="center"?(I=(x.r+x.r0)/2,k="center"):k==="left"?(I=x.r0+F,T>Math.PI/2&&(k="right")):k==="right"&&(I=x.r-F,T>Math.PI/2&&(k="left")),_.attr("style",{text:v,textAlign:k,textVerticalAlign:H("verticalAlign")||"middle",opacity:H("opacity")});var M=I*S+x.cx,P=I*E+x.cy;_.attr("position",[M,P]);var V=H("rotate"),D=0;V==="radial"?(D=-T,D<-Math.PI/2&&(D+=Math.PI)):V==="tangential"?(D=Math.PI/2-T,D>Math.PI/2?D-=Math.PI:D<-Math.PI/2&&(D+=Math.PI)):typeof V=="number"&&(D=V*Math.PI/180),_.attr("rotation",D);function H(U){var z=f.get(U);return z==null?u.get(U):z}},c._initEvents=function(i,l,e,s){i.off("mouseover").off("mouseout").off("emphasis").off("normal");var u=this,f=function(){u.onEmphasis(s)},A=function(){u.onNormal()},v=function(){u.onDownplay()},x=function(){u.onHighlight()};e.isAnimationEnabled()&&i.on("mouseover",f).on("mouseout",A).on("emphasis",f).on("normal",A).on("downplay",v).on("highlight",x)},y.inherits(h,m.Group);var o=h;function n(i,l,e){var s=i.getVisual("color"),u=i.getVisual("visualMeta");(!u||u.length===0)&&(s=null);var f=i.getModel("itemStyle").get("color");if(f)return f;if(s)return s;if(i.depth===0)return e.option.color[0];var A=e.option.color.length;return f=e.option.color[t(i)%A],f}function t(i){for(var l=i;l.depth>1;)l=l.parentNode;var e=i.getAncestors()[0];return y.indexOf(e.children,l)}function a(i,l,e){return e===C.NONE?!1:e===C.SELF?i===l:e===C.ANCESTOR?i===l||i.isAncestorOf(l):i===l||i.isDescendantOf(l)}function d(i,l,e){var s=l.getData();s.setItemVisual(i.dataIndex,"color",e)}B.exports=o},Tp9H:function(B,N,r){var y=r("ItGF"),m=r("Kagy"),C=r("IUWy"),p=m.toolbox.saveAsImage;function g(o){this.model=o}g.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:p.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:p.lang.slice()},g.prototype.unusable=!y.canvasSupported;var h=g.prototype;h.onclick=function(o,n){var t=this.model,a=t.get("name")||o.get("title.0.text")||"echarts",d=n.getZr().painter.getType()==="svg",i=d?"svg":t.get("type",!0)||"png",l=n.getConnectedDataURL({type:i,backgroundColor:t.get("backgroundColor",!0)||o.get("backgroundColor")||"#fff",connectedBackgroundColor:t.get("connectedBackgroundColor"),excludeComponents:t.get("excludeComponents"),pixelRatio:t.get("pixelRatio")});if(typeof MouseEvent=="function"&&!y.browser.ie&&!y.browser.edge){var e=document.createElement("a");e.download=a+"."+i,e.target="_blank",e.href=l;var s=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});e.dispatchEvent(s)}else if(window.navigator.msSaveOrOpenBlob){for(var u=atob(l.split(",")[1]),f=u.length,A=new Uint8Array(f);f--;)A[f]=u.charCodeAt(f);var v=new Blob([A]);window.navigator.msSaveOrOpenBlob(v,a+"."+i)}else{var x=t.get("lang"),b='<body style="margin:0;"><img src="'+l+'" style="max-width:100%;" title="'+(x&&x[0]||"")+'" /></body>',w=window.open();w.document.write(b)}},C.register("saveAsImage",g);var c=g;B.exports=c},"U/Mo":function(B,N){function r(m){var C=m.coordinateSystem;if(C.type!=="view")return 1;var p=m.option.nodeScaleRatio,g=C.scale,h=g&&g[0]||1,c=C.getZoom(),o=(c-1)*p+1;return o/h}function y(m){var C=m.getVisual("symbolSize");return C instanceof Array&&(C=(C[0]+C[1])/2),+C}N.getNodeGlobalScale=r,N.getSymbolSize=y},UADf:function(B,N,r){},UESt:function(B,N,r){"use strict";var y=r("VTBJ"),m=r("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"},p=C,g=r("6VBw"),h=function(n,t){return m.createElement(g.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};h.displayName="RightOutlined";var c=N.a=m.forwardRef(h)},UOVi:function(B,N,r){var y=r("bYtY"),m=r("7aKB"),C=["x","y","z","radius","angle","single"],p=["cartesian2d","polar","singleAxis"];function g(n){return y.indexOf(p,n)>=0}function h(n,t){n=n.slice();var a=y.map(n,m.capitalFirst);t=(t||[]).slice();var d=y.map(t,m.capitalFirst);return function(i,l){y.each(n,function(e,s){for(var u={name:e,capital:a[s]},f=0;f<t.length;f++)u[t[f]]=e+d[f];i.call(l,u)})}}var c=h(C,["axisIndex","axis","index","id"]);function o(n,t,a){return function(e){var s={nodes:[],records:{}};if(t(function(A){s.records[A.name]={}}),!e)return s;l(e,s);var u;do u=!1,n(f);while(u);function f(A){!d(A,s)&&i(A,s)&&(l(A,s),u=!0)}return s};function d(e,s){return y.indexOf(s.nodes,e)>=0}function i(e,s){var u=!1;return t(function(f){y.each(a(e,f)||[],function(A){s.records[f.name][A]&&(u=!0)})}),u}function l(e,s){s.nodes.push(e),t(function(u){y.each(a(e,u)||[],function(f){s.records[u.name][f]=!0})})}}N.isCoordSupported=g,N.createNameEach=h,N.eachAxisDim=c,N.createLinkedNodesFinder=o},Uc92:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};N.default=y},UnoB:function(B,N,r){var y=r("bYtY"),m=r("OELB");function C(h,c){h.eachSeriesByType("themeRiver",function(o){var n=o.getData(),t=o.coordinateSystem,a={},d=t.getRect();a.rect=d;var i=o.get("boundaryGap"),l=t.getAxis();if(a.boundaryGap=i,l.orient==="horizontal"){i[0]=m.parsePercent(i[0],d.height),i[1]=m.parsePercent(i[1],d.height);var e=d.height-i[0]-i[1];p(n,o,e)}else{i[0]=m.parsePercent(i[0],d.width),i[1]=m.parsePercent(i[1],d.width);var s=d.width-i[0]-i[1];p(n,o,s)}n.setLayout("layoutInfo",a)})}function p(h,c,o){if(!h.count())return;for(var n=c.coordinateSystem,t=c.getLayerSeries(),a=h.mapDimension("single"),d=h.mapDimension("value"),i=y.map(t,function(b){return y.map(b.indices,function(w){var _=n.dataToPoint(h.get(a,w));return _[1]=h.get(d,w),_})}),l=g(i),e=l.y0,s=o/l.max,u=t.length,f=t[0].indices.length,A,v=0;v<f;++v){A=e[v]*s,h.setItemLayout(t[0].indices[v],{layerIndex:0,x:i[0][v][0],y0:A,y:i[0][v][1]*s});for(var x=1;x<u;++x)A+=i[x-1][v][1]*s,h.setItemLayout(t[x].indices[v],{layerIndex:x,x:i[x][v][0],y0:A,y:i[x][v][1]*s})}}function g(h){for(var c=h.length,o=h[0].length,n=[],t=[],a=0,d,i={},l=0;l<o;++l){for(var e=0,d=0;e<c;++e)d+=h[e][l][1];d>a&&(a=d),n.push(d)}for(var s=0;s<o;++s)t[s]=(a-n[s])/2;a=0;for(var u=0;u<o;++u){var f=n[u]+t[u];f>a&&(a=f)}return i.y0=t,i.max=a,i}B.exports=C},Urep:function(B,N,r){},V7ic:function(B,N,r){"use strict";var y=r("284h"),m=r("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var C=m(r("3tO9")),p=y(r("q1tI")),g=m(r("digP")),h=m(r("KQxl")),c=function(t,a){return p.createElement(h.default,(0,C.default)((0,C.default)({},t),{},{ref:a,icon:g.default}))};c.displayName="FileTwoTone";var o=p.forwardRef(c);N.default=o},VFCP:function(B,N,r){r("dBmv"),r("KamJ")},VPsl:function(B,N){function r(y){y.eachSeriesByType("map",function(m){var C=m.get("color"),p=m.getModel("itemStyle"),g=p.get("areaColor"),h=p.get("color")||C[m.seriesIndex%C.length];m.getData().setVisual({areaColor:g,color:h})})}B.exports=r},VR9l:function(B,N,r){var y=r("KCsZ"),m=y([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),C={getItemStyle:function(p,g){var h=m(this,p,g),c=this.getBorderLineDash();return c&&(h.lineDash=c),h},getBorderLineDash:function(){var p=this.get("borderType");return p==="solid"||p==null?null:p==="dashed"?[5,5]:[1,1]}};B.exports=C},VSLf:function(B,N,r){r("I+Bx"),r("F0hE"),r("bBKM")},VSMT:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.decodeUTF8=y,N.encodeUTF8=m;function y(C){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;try{return decodeURIComponent(escape(C))}catch(g){if(g instanceof URIError&&p)return C;throw g}}function m(C){return unescape(encodeURIComponent(C))}},VXYp:function(B,N,r){var y=r("bYtY"),m=r("SgGq"),C=r("iLNv"),p="\0_ec_dataZoom_roams";function g(i,l){var e=o(i),s=l.dataZoomId,u=l.coordId;y.each(e,function(v,x){var b=v.dataZoomInfos;b[s]&&y.indexOf(l.allCoordIds,u)<0&&(delete b[s],v.count--)}),t(e);var f=e[u];f||(f=e[u]={coordId:u,dataZoomInfos:{},count:0},f.controller=n(i,f),f.dispatchAction=y.curry(a,i)),!f.dataZoomInfos[s]&&f.count++,f.dataZoomInfos[s]=l;var A=d(f.dataZoomInfos);f.controller.enable(A.controlType,A.opt),f.controller.setPointerChecker(l.containsPoint),C.createOrUpdate(f,"dispatchAction",l.dataZoomModel.get("throttle",!0),"fixRate")}function h(i,l){var e=o(i);y.each(e,function(s){s.controller.dispose();var u=s.dataZoomInfos;u[l]&&(delete u[l],s.count--)}),t(e)}function c(i){return i.type+"\0_"+i.id}function o(i){var l=i.getZr();return l[p]||(l[p]={})}function n(i,l){var e=new m(i.getZr());return y.each(["pan","zoom","scrollMove"],function(s){e.on(s,function(u){var f=[];y.each(l.dataZoomInfos,function(A){if(!u.isAvailableBehavior(A.dataZoomModel.option))return;var v=(A.getRange||{})[s],x=v&&v(l.controller,u);!A.dataZoomModel.get("disabled",!0)&&x&&f.push({dataZoomId:A.dataZoomId,start:x[0],end:x[1]})}),f.length&&l.dispatchAction(f)})}),e}function t(i){y.each(i,function(l,e){l.count||(l.controller.dispose(),delete i[e])})}function a(i,l){i.dispatchAction({type:"dataZoom",batch:l})}function d(i){var l,e="type_",s={type_true:2,type_move:1,type_false:0,type_undefined:-1},u=!0;return y.each(i,function(f){var A=f.dataZoomModel,v=A.get("disabled",!0)?!1:A.get("zoomLock",!0)?"move":!0;s[e+v]>s[e+l]&&(l=v),u&=A.get("preventDefaultMouseMove",!0)}),{controlType:l,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!u}}}N.register=g,N.unregister=h,N.generateCoordId=c},VaxA:function(B,N,r){var y=r("bYtY");function m(h,c,o){if(h&&y.indexOf(c,h.type)>=0){var n=o.getData().tree.root,t=h.targetNode;if(typeof t=="string"&&(t=n.getNodeById(t)),t&&n.contains(t))return{node:t};var a=h.targetNodeId;if(a!=null&&(t=n.getNodeById(a)))return{node:t}}}function C(h){for(var c=[];h;)h=h.parentNode,h&&c.push(h);return c.reverse()}function p(h,c){var o=C(h);return y.indexOf(o,c)>=0}function g(h,c){for(var o=[];h;){var n=h.dataIndex;o.push({name:h.name,dataIndex:n,value:c.getRawValue(n)}),h=h.parentNode}return o.reverse(),o}N.retrieveTargetInfo=m,N.getPathToRoot=C,N.aboveViewRoot=p,N.wrapTreePathInfo=g},Vi4m:function(B,N,r){var y=r("bYtY");function m(p){p!=null&&y.extend(this,p),this.otherDims={}}var C=m;B.exports=C},Vl3Y:function(B,N,r){"use strict";var y=r("pVnL"),m=r.n(y),C=r("J4zp"),p=r.n(C),g=r("lSNA"),h=r.n(g),c=r("q1tI"),o=r("TSYQ"),n=r.n(o),t=r("85Yc"),a=r("H84U"),d=r("BGR+"),i=c.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),l=c.createContext({updateItemErrors:function(){}}),e=function(Xt){var Ot=Object(d.default)(Xt,["prefixCls"]);return c.createElement(t.FormProvider,Ot)};function s(Ae){return typeof Ae=="object"&&Ae!=null&&Ae.nodeType===1}function u(Ae,Xt){return(!Xt||Ae!=="hidden")&&Ae!=="visible"&&Ae!=="clip"}function f(Ae,Xt){if(Ae.clientHeight<Ae.scrollHeight||Ae.clientWidth<Ae.scrollWidth){var Ot=getComputedStyle(Ae,null);return u(Ot.overflowY,Xt)||u(Ot.overflowX,Xt)||function(rt){var Et=function(Zt){if(!Zt.ownerDocument||!Zt.ownerDocument.defaultView)return null;try{return Zt.ownerDocument.defaultView.frameElement}catch(vr){return null}}(rt);return!!Et&&(Et.clientHeight<rt.scrollHeight||Et.clientWidth<rt.scrollWidth)}(Ae)}return!1}function A(Ae,Xt,Ot,rt,Et,Zt,vr,mt){return Zt<Ae&&vr>Xt||Zt>Ae&&vr<Xt?0:Zt<=Ae&&mt<=Ot||vr>=Xt&&mt>=Ot?Zt-Ae-rt:vr>Xt&&mt<Ot||Zt<Ae&&mt>Ot?vr-Xt+Et:0}var v=function(Ae,Xt){var Ot=window,rt=Xt.scrollMode,Et=Xt.block,Zt=Xt.inline,vr=Xt.boundary,mt=Xt.skipOverflowHiddenElements,ce=typeof vr=="function"?vr:function(Tt){return Tt!==vr};if(!s(Ae))throw new TypeError("Invalid target");for(var le=document.scrollingElement||document.documentElement,oe=[],fe=Ae;s(fe)&&ce(fe);){if((fe=fe.parentElement)===le){oe.push(fe);break}fe!=null&&fe===document.body&&f(fe)&&!f(document.documentElement)||fe!=null&&f(fe,mt)&&oe.push(fe)}for(var De=Ot.visualViewport?Ot.visualViewport.width:innerWidth,He=Ot.visualViewport?Ot.visualViewport.height:innerHeight,je=window.scrollX||pageXOffset,We=window.scrollY||pageYOffset,nt=Ae.getBoundingClientRect(),xt=nt.height,It=nt.width,ir=nt.top,Me=nt.right,ke=nt.bottom,re=nt.left,be=Et==="start"||Et==="nearest"?ir:Et==="end"?ke:ir+xt/2,Ne=Zt==="center"?re+It/2:Zt==="end"?Me:re,Ke=[],Qe=0;Qe<oe.length;Qe++){var ct=oe[Qe],Lt=ct.getBoundingClientRect(),rr=Lt.height,dr=Lt.width,Pt=Lt.top,jt=Lt.right,Ct=Lt.bottom,Rt=Lt.left;if(rt==="if-needed"&&ir>=0&&re>=0&&ke<=He&&Me<=De&&ir>=Pt&&ke<=Ct&&re>=Rt&&Me<=jt)return Ke;var pt=getComputedStyle(ct),ot=parseInt(pt.borderLeftWidth,10),gt=parseInt(pt.borderTopWidth,10),Ye=parseInt(pt.borderRightWidth,10),$e=parseInt(pt.borderBottomWidth,10),Je=0,it=0,ft="offsetWidth"in ct?ct.offsetWidth-ct.clientWidth-ot-Ye:0,ht="offsetHeight"in ct?ct.offsetHeight-ct.clientHeight-gt-$e:0;if(le===ct)Je=Et==="start"?be:Et==="end"?be-He:Et==="nearest"?A(We,We+He,He,gt,$e,We+be,We+be+xt,xt):be-He/2,it=Zt==="start"?Ne:Zt==="center"?Ne-De/2:Zt==="end"?Ne-De:A(je,je+De,De,ot,Ye,je+Ne,je+Ne+It,It),Je=Math.max(0,Je+We),it=Math.max(0,it+je);else{Je=Et==="start"?be-Pt-gt:Et==="end"?be-Ct+$e+ht:Et==="nearest"?A(Pt,Ct,rr,gt,$e+ht,be,be+xt,xt):be-(Pt+rr/2)+ht/2,it=Zt==="start"?Ne-Rt-ot:Zt==="center"?Ne-(Rt+dr/2)+ft/2:Zt==="end"?Ne-jt+Ye+ft:A(Rt,jt,dr,ot,Ye+ft,Ne,Ne+It,It);var st=ct.scrollLeft,kt=ct.scrollTop;be+=kt-(Je=Math.max(0,Math.min(kt+Je,ct.scrollHeight-rr+ht))),Ne+=st-(it=Math.max(0,Math.min(st+it,ct.scrollWidth-dr+ft)))}Ke.push({el:ct,top:Je,left:it})}return Ke};function x(Ae){return Ae===Object(Ae)&&Object.keys(Ae).length!==0}function b(Ae,Xt){Xt===void 0&&(Xt="auto");var Ot="scrollBehavior"in document.body.style;Ae.forEach(function(rt){var Et=rt.el,Zt=rt.top,vr=rt.left;Et.scroll&&Ot?Et.scroll({top:Zt,left:vr,behavior:Xt}):(Et.scrollTop=Zt,Et.scrollLeft=vr)})}function w(Ae){return Ae===!1?{block:"end",inline:"nearest"}:x(Ae)?Ae:{block:"start",inline:"nearest"}}function _(Ae,Xt){var Ot=!Ae.ownerDocument.documentElement.contains(Ae);if(x(Xt)&&typeof Xt.behavior=="function")return Xt.behavior(Ot?[]:v(Ae,Xt));if(Ot)return;var rt=w(Xt);return b(v(Ae,rt),rt.behavior)}var T=_;function S(Ae){return Ae===void 0||Ae===!1?[]:Array.isArray(Ae)?Ae:[Ae]}function E(Ae,Xt){if(!Ae.length)return;var Ot=Ae.join("_");return Xt?"".concat(Xt,"_").concat(Ot):Ot}function I(Ae){var Xt=S(Ae);return Xt.join("_")}function O(Ae){var Xt=Object(t.useForm)(),Ot=p()(Xt,1),rt=Ot[0],Et=Object(c.useRef)({}),Zt=Object(c.useMemo)(function(){return Ae||m()(m()({},rt),{__INTERNAL__:{itemRef:function(mt){return function(ce){var le=I(mt);ce?Et.current[le]=ce:delete Et.current[le]}}},scrollToField:function(mt){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},le=S(mt),oe=E(le,Zt.__INTERNAL__.name),fe=oe?document.getElementById(oe):null;fe&&T(fe,m()({scrollMode:"if-needed",block:"nearest"},ce))},getFieldInstance:function(mt){var ce=I(mt);return Et.current[ce]}})},[Ae,rt]);return[Zt]}var F=r("3Nzz"),k=function(Ae,Xt){var Ot={};for(var rt in Ae)Object.prototype.hasOwnProperty.call(Ae,rt)&&Xt.indexOf(rt)<0&&(Ot[rt]=Ae[rt]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,rt=Object.getOwnPropertySymbols(Ae);Et<rt.length;Et++)Xt.indexOf(rt[Et])<0&&Object.prototype.propertyIsEnumerable.call(Ae,rt[Et])&&(Ot[rt[Et]]=Ae[rt[Et]]);return Ot},M=function(Xt,Ot){var rt,Et=c.useContext(F.b),Zt=c.useContext(a.b),vr=Zt.getPrefixCls,mt=Zt.direction,ce=Xt.name,le=Xt.prefixCls,oe=Xt.className,fe=oe===void 0?"":oe,De=Xt.size,He=De===void 0?Et:De,je=Xt.form,We=Xt.colon,nt=Xt.labelAlign,xt=Xt.labelCol,It=Xt.wrapperCol,ir=Xt.hideRequiredMark,Me=Xt.layout,ke=Me===void 0?"horizontal":Me,re=Xt.scrollToFirstError,be=Xt.requiredMark,Ne=Xt.onFinishFailed,Ke=k(Xt,["prefixCls","className","size","form","colon","labelAlign","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed"]),Qe=Object(c.useMemo)(function(){return be!==void 0?be:!ir},[ir,be]),ct=vr("form",le),Lt=n()(ct,(rt={},h()(rt,"".concat(ct,"-").concat(ke),!0),h()(rt,"".concat(ct,"-hide-required-mark"),Qe===!1),h()(rt,"".concat(ct,"-rtl"),mt==="rtl"),h()(rt,"".concat(ct,"-").concat(He),He),rt),fe),rr=O(je),dr=p()(rr,1),Pt=dr[0],jt=Pt.__INTERNAL__;jt.name=ce;var Ct=Object(c.useMemo)(function(){return{name:ce,labelAlign:nt,labelCol:xt,wrapperCol:It,vertical:ke==="vertical",colon:We,requiredMark:Qe,itemRef:jt.itemRef}},[ce,nt,xt,It,ke,We,Qe]);c.useImperativeHandle(Ot,function(){return Pt});var Rt=function(ot){Ne&&Ne(ot),re&&ot.errorFields.length&&Pt.scrollToField(ot.errorFields[0].name)};return c.createElement(F.a,{size:He},c.createElement(i.Provider,{value:Ct},c.createElement(t.default,m()({id:ce},Ke,{onFinishFailed:Rt,form:Pt,className:Lt}))))},P=c.forwardRef(M),V=P,D=r("cDf5"),H=r.n(D),U=r("RIqP"),z=r.n(U),K=r("Y+p1"),G=r.n(K),X=r("KW7l"),Z=r("c+Xe"),ee=r("qrJ5"),Se=r("CWQg"),$=r("uaoM"),pe=r("/kpp"),xe=r("YMnH"),_e=r("ZvpZ"),Ue=function(Xt){var Ot=Xt.prefixCls,rt=Xt.label,Et=Xt.htmlFor,Zt=Xt.labelCol,vr=Xt.labelAlign,mt=Xt.colon,ce=Xt.required,le=Xt.requiredMark,oe=Object(xe.b)("Form"),fe=p()(oe,1),De=fe[0];return rt?c.createElement(i.Consumer,{key:"label"},function(He){var je,We=He.vertical,nt=He.labelAlign,xt=He.labelCol,It=He.colon,ir,Me=Zt||xt||{},ke=vr||nt,re="".concat(Ot,"-item-label"),be=n()(re,ke==="left"&&"".concat(re,"-left"),Me.className),Ne=rt,Ke=mt===!0||It!==!1&&mt!==!1,Qe=Ke&&!We;Qe&&typeof rt=="string"&&rt.trim()!==""&&(Ne=rt.replace(/[:|:]\s*$/,"")),le==="optional"&&!ce&&(Ne=c.createElement(c.Fragment,null,Ne,c.createElement("span",{className:"".concat(Ot,"-item-optional")},(De==null?void 0:De.optional)||((ir=_e.a.Form)===null||ir===void 0?void 0:ir.optional))));var ct=n()((je={},h()(je,"".concat(Ot,"-item-required"),ce),h()(je,"".concat(Ot,"-item-required-mark-optional"),le==="optional"),h()(je,"".concat(Ot,"-item-no-colon"),!Ke),je));return c.createElement(pe.a,m()({},Me,{className:be}),c.createElement("label",{htmlFor:Et,className:ct,title:typeof rt=="string"?rt:""},Ne))}):null},ye=Ue,Be=r("gZBC"),Q=r.n(Be),ie=r("kbBi"),Ve=r.n(ie),J=r("J84W"),W=r.n(J),j=r("sKbD"),Y=r.n(j),me=r("YrtM"),ae=r("8XRh"),Le=r("hkKa");function Ee(Ae,Xt,Ot){var rt=c.useRef({errors:Ae,visible:!!Ae.length}),Et=Object(Le.a)(),Zt=function(){var mt=rt.current.visible,ce=!!Ae.length,le=rt.current.errors;rt.current.errors=Ae,rt.current.visible=ce,mt!==ce?Xt(ce):(le.length!==Ae.length||le.some(function(oe,fe){return oe!==Ae[fe]}))&&Et()};return c.useEffect(function(){if(!Ot){var vr=setTimeout(Zt,10);return function(){return clearTimeout(vr)}}},[Ae]),Ot&&Zt(),[rt.current.visible,rt.current.errors]}var ne={success:W.a,warning:Y.a,error:Ve.a,validating:Q.a},ge=function(Xt){var Ot=Xt.prefixCls,rt=Xt.wrapperCol,Et=Xt.children,Zt=Xt.help,vr=Xt.errors,mt=Xt.onDomErrorVisibleChange,ce=Xt.hasFeedback,le=Xt.validateStatus,oe=Xt.extra,fe=Object(Le.a)(),De="".concat(Ot,"-item"),He=c.useContext(i),je=rt||He.wrapperCol||{},We=n()("".concat(De,"-control"),je.className),nt=Ee(vr,function(Ne){Ne&&Promise.resolve().then(function(){mt(!0)}),fe()},!!Zt),xt=p()(nt,2),It=xt[0],ir=xt[1];c.useEffect(function(){return function(){mt(!1)}},[]);var Me=Object(me.a)(function(){return ir},It,function(Ne,Ke){return Ke}),ke=le&&ne[le],re=ce&&ke?c.createElement("span",{className:"".concat(De,"-children-icon")},c.createElement(ke,null)):null,be=m()({},He);return delete be.labelCol,delete be.wrapperCol,c.createElement(i.Provider,{value:be},c.createElement(pe.a,m()({},je,{className:We}),c.createElement("div",{className:"".concat(De,"-control-input")},c.createElement("div",{className:"".concat(De,"-control-input-content")},Et),re),c.createElement(ae.default,{motionDeadline:500,visible:It,motionName:"show-help",onLeaveEnd:function(){mt(!1)},motionAppear:!0,removeOnLeave:!0},function(Ne){var Ke=Ne.className;return c.createElement("div",{className:n()("".concat(De,"-explain"),Ke),key:"help"},Me.map(function(Qe,ct){return c.createElement("div",{key:ct,role:"alert"},Qe)}))}),oe&&c.createElement("div",{className:"".concat(De,"-extra")},oe)))},Ie=ge,Ge=r("0n0R"),ut=r("xEkU"),wt=r.n(ut);function Pe(Ae){var Xt=c.useState(Ae),Ot=p()(Xt,2),rt=Ot[0],Et=Ot[1],Zt=Object(c.useRef)(null),vr=Object(c.useRef)([]),mt=Object(c.useRef)(!1);c.useEffect(function(){return function(){mt.current=!0,wt.a.cancel(Zt.current)}},[]);function ce(le){if(mt.current)return;Zt.current===null&&(vr.current=[],Zt.current=wt()(function(){Zt.current=null,Et(function(oe){var fe=oe;return vr.current.forEach(function(De){fe=De(fe)}),fe})})),vr.current.push(le)}return[rt,ce]}function Dt(){var Ae=c.useContext(i),Xt=Ae.itemRef,Ot=c.useRef({});function rt(Et,Zt){var vr=Zt&&H()(Zt)==="object"&&Zt.ref,mt=Et.join("_");return(Ot.current.name!==mt||Ot.current.originRef!==vr)&&(Ot.current.name=mt,Ot.current.originRef=vr,Ot.current.ref=Object(Z.a)(Xt(Et),vr)),Ot.current.ref}return rt}var et=function(Ae,Xt){var Ot={};for(var rt in Ae)Object.prototype.hasOwnProperty.call(Ae,rt)&&Xt.indexOf(rt)<0&&(Ot[rt]=Ae[rt]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,rt=Object.getOwnPropertySymbols(Ae);Et<rt.length;Et++)Xt.indexOf(rt[Et])<0&&Object.prototype.propertyIsEnumerable.call(Ae,rt[Et])&&(Ot[rt[Et]]=Ae[rt[Et]]);return Ot},_t=Object(Se.a)("success","warning","error","validating",""),Nt=c.memo(function(Ae){var Xt=Ae.children;return Xt},function(Ae,Xt){return Ae.value===Xt.value&&Ae.update===Xt.update});function Bt(Ae){return Ae===null&&Object($.a)(!1,"Form.Item","`null` is passed as `name` property"),!(Ae==null)}function Ft(Ae){var Xt=Ae.name,Ot=Ae.fieldKey,rt=Ae.noStyle,Et=Ae.dependencies,Zt=Ae.prefixCls,vr=Ae.style,mt=Ae.className,ce=Ae.shouldUpdate,le=Ae.hasFeedback,oe=Ae.help,fe=Ae.rules,De=Ae.validateStatus,He=Ae.children,je=Ae.required,We=Ae.label,nt=Ae.trigger,xt=nt===void 0?"onChange":nt,It=Ae.validateTrigger,ir=Ae.hidden,Me=et(Ae,["name","fieldKey","noStyle","dependencies","prefixCls","style","className","shouldUpdate","hasFeedback","help","rules","validateStatus","children","required","label","trigger","validateTrigger","hidden"]),ke=c.useRef(!1),re=c.useContext(a.b),be=re.getPrefixCls,Ne=c.useContext(i),Ke=Ne.name,Qe=Ne.requiredMark,ct=c.useContext(l),Lt=ct.updateItemErrors,rr=c.useState(!!oe),dr=p()(rr,2),Pt=dr[0],jt=dr[1],Ct=c.useRef(De),Rt=Pe({}),pt=p()(Rt,2),ot=pt[0],gt=pt[1],Ye=c.useContext(X.b),$e=Ye.validateTrigger,Je=It!==void 0?It:$e;function it(jr){ke.current||jt(jr)}var ft=Bt(Xt),ht=c.useRef([]);c.useEffect(function(){return function(){ke.current=!0,Lt(ht.current.join("__SPLIT__"),[])}},[]);var st=be("form",Zt),kt=rt?Lt:function(jr,zr){gt(function(){var hn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return G()(hn[jr],zr)?hn:m()(m()({},hn),h()({},jr,zr))})},Tt=Dt();function ar(jr,zr,hn,gn){var Br,ln;if(rt&&!ir)return jr;var Xr=[];Object.keys(ot).forEach(function(Ar){Xr=[].concat(z()(Xr),z()(ot[Ar]||[]))});var cr;oe!=null?cr=S(oe):(cr=hn?hn.errors:[],cr=[].concat(z()(cr),z()(Xr)));var wr="";De!==void 0?wr=De:(hn==null?void 0:hn.validating)?wr="validating":((ln=hn==null?void 0:hn.errors)===null||ln===void 0?void 0:ln.length)||Xr.length?wr="error":(hn==null?void 0:hn.touched)&&(wr="success"),Pt&&oe&&(Ct.current=wr);var hr=(Br={},h()(Br,"".concat(st,"-item"),!0),h()(Br,"".concat(st,"-item-with-help"),Pt||oe),h()(Br,"".concat(mt),!!mt),h()(Br,"".concat(st,"-item-has-feedback"),wr&&le),h()(Br,"".concat(st,"-item-has-success"),wr==="success"),h()(Br,"".concat(st,"-item-has-warning"),wr==="warning"),h()(Br,"".concat(st,"-item-has-error"),wr==="error"),h()(Br,"".concat(st,"-item-has-error-leave"),!oe&&Pt&&Ct.current==="error"),h()(Br,"".concat(st,"-item-is-validating"),wr==="validating"),h()(Br,"".concat(st,"-item-hidden"),ir),Br);return c.createElement(ee.a,m()({className:n()(hr),style:vr,key:"row"},Object(d.default)(Me,["colon","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","normalize","preserve","required","validateFirst","validateStatus","valuePropName","wrapperCol"])),c.createElement(ye,m()({htmlFor:zr,required:gn,requiredMark:Qe},Ae,{prefixCls:st})),c.createElement(Ie,m()({},Ae,hn,{errors:cr,prefixCls:st,onDomErrorVisibleChange:it,validateStatus:wr}),c.createElement(l.Provider,{value:{updateItemErrors:kt}},jr)))}var Qt=typeof He=="function",Er=c.useRef(0);if(Er.current+=1,!ft&&!Qt&&!Et)return ar(He);var Ir={};return typeof We=="string"&&(Ir.label=We),c.createElement(t.Field,m()({},Ae,{messageVariables:Ir,trigger:xt,validateTrigger:Je,onReset:function(){it(!1)}}),function(jr,zr,hn){var gn=zr.errors,Br=S(Xt).length&&zr?zr.name:[],ln=E(Br,Ke);if(rt){if(ht.current=z()(Br),Ot){var Xr=Array.isArray(Ot)?Ot:[Ot];ht.current=[].concat(z()(Br.slice(0,-1)),z()(Xr))}Lt(ht.current.join("__SPLIT__"),gn)}var cr=je!==void 0?je:!!(fe&&fe.some(function(nn){if(nn&&H()(nn)==="object"&&nn.required)return!0;if(typeof nn=="function"){var wn=nn(hn);return wn&&wn.required}return!1})),wr=m()({},jr),hr=null;if(Object($.a)(!(ce&&Et),"Form.Item","`shouldUpdate` and `dependencies` shouldn't be used together. See https://ant.design/components/form/#dependencies."),Array.isArray(He)&&ft)Object($.a)(!1,"Form.Item","`children` is array of render props cannot have `name`."),hr=He;else if(Qt&&(!(ce||Et)||ft))Object($.a)(!!(ce||Et),"Form.Item","`children` of render props only work with `shouldUpdate` or `dependencies`."),Object($.a)(!ft,"Form.Item","Do not use `name` with `children` of render props since it's not a field.");else if(Et&&!Qt&&!ft)Object($.a)(!1,"Form.Item","Must set `name` or use render props when `dependencies` is set.");else if(Object(Ge.b)(He)){Object($.a)(He.props.defaultValue===void 0,"Form.Item","`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");var Ar=m()(m()({},He.props),wr);Ar.id||(Ar.id=ln),Object(Z.c)(He)&&(Ar.ref=Tt(Br,He));var kr=new Set([].concat(z()(S(xt)),z()(S(Je))));kr.forEach(function(nn){Ar[nn]=function(){for(var wn,oi,tn,Vn,On,$n=arguments.length,Qn=new Array($n),ei=0;ei<$n;ei++)Qn[ei]=arguments[ei];(tn=wr[nn])===null||tn===void 0||(wn=tn).call.apply(wn,[wr].concat(Qn)),(On=(Vn=He.props)[nn])===null||On===void 0||(oi=On).call.apply(oi,[Vn].concat(Qn))}}),hr=c.createElement(Nt,{value:wr[Ae.valuePropName||"value"],update:Er.current},Object(Ge.a)(He,Ar))}else Qt&&(ce||Et)&&!ft?hr=He(hn):(Object($.a)(!Br.length,"Form.Item","`name` is only used for validate React element. If you are using Form.Item as layout display, please remove `name` instead."),hr=He);return ar(hr,ln,zr,cr)})}var Gt=Ft,qe=function(Ae,Xt){var Ot={};for(var rt in Ae)Object.prototype.hasOwnProperty.call(Ae,rt)&&Xt.indexOf(rt)<0&&(Ot[rt]=Ae[rt]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,rt=Object.getOwnPropertySymbols(Ae);Et<rt.length;Et++)Xt.indexOf(rt[Et])<0&&Object.prototype.propertyIsEnumerable.call(Ae,rt[Et])&&(Ot[rt[Et]]=Ae[rt[Et]]);return Ot},we=function(Xt){var Ot=Xt.children,rt=qe(Xt,["children"]);return Object($.a)(!!rt.name,"Form.List","Miss `name` prop."),c.createElement(t.List,rt,function(Et,Zt){return Ot(Et.map(function(vr){return m()(m()({},vr),{fieldKey:vr.key})}),Zt)})},ue=we,vt=V;vt.Item=Gt,vt.List=ue,vt.useForm=O,vt.Provider=e,vt.create=function(){Object($.a)(!1,"Form","antd v4 removed `Form.create`. Please remove or use `@ant-design/compatible` instead.")};var at=N.a=vt},VpOo:function(B,N){function r(y,m){var C=m.x,p=m.y,g=m.width,h=m.height,c=m.r,o,n,t,a;g<0&&(C=C+g,g=-g),h<0&&(p=p+h,h=-h),typeof c=="number"?o=n=t=a=c:c instanceof Array?c.length===1?o=n=t=a=c[0]:c.length===2?(o=t=c[0],n=a=c[1]):c.length===3?(o=c[0],n=a=c[1],t=c[2]):(o=c[0],n=c[1],t=c[2],a=c[3]):o=n=t=a=0;var d;o+n>g&&(d=o+n,o*=g/d,n*=g/d),t+a>g&&(d=t+a,t*=g/d,a*=g/d),n+t>h&&(d=n+t,n*=h/d,t*=h/d),o+a>h&&(d=o+a,o*=h/d,a*=h/d),y.moveTo(C+o,p),y.lineTo(C+g-n,p),n!==0&&y.arc(C+g-n,p+n,n,-Math.PI/2,0),y.lineTo(C+g,p+h-t),t!==0&&y.arc(C+g-t,p+h-t,t,0,Math.PI/2),y.lineTo(C+a,p+h),a!==0&&y.arc(C+a,p+h-a,a,Math.PI/2,Math.PI),y.lineTo(C,p+o),o!==0&&y.arc(C+o,p+o,o,Math.PI,Math.PI*1.5)}N.buildPath=r},"VrN/":function(B,N,r){(function(y,m){B.exports=m()})(this,function(){"use strict";var y=navigator.userAgent,m=navigator.platform,C=/gecko\/\d/i.test(y),p=/MSIE \d/.test(y),g=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(y),h=/Edge\/(\d+)/.exec(y),c=p||g||h,o=c&&(p?document.documentMode||6:+(h||g)[1]),n=!h&&/WebKit\//.test(y),t=n&&/Qt\/\d+\.\d+/.test(y),a=!h&&/Chrome\//.test(y),d=/Opera\//.test(y),i=/Apple Computer/.test(navigator.vendor),l=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(y),e=/PhantomJS/.test(y),s=!h&&/AppleWebKit/.test(y)&&/Mobile\/\w+/.test(y),u=/Android/.test(y),f=s||u||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(y),A=s||/Mac/.test(m),v=/\bCrOS\b/.test(y),x=/win/i.test(m),b=d&&y.match(/Version\/(\d*\.\d*)/);b&&(b=Number(b[1])),b&&b>=15&&(d=!1,n=!0);var w=A&&(t||d&&(b==null||b<12.11)),_=C||c&&o>=9;function T(L){return new RegExp("(^|\\s)"+L+"(?:$|\\s)\\s*")}var S=function(R,q){var te=R.className,se=T(q).exec(te);if(se){var Fe=te.slice(se.index+se[0].length);R.className=te.slice(0,se.index)+(Fe?se[1]+Fe:"")}};function E(L){for(var R=L.childNodes.length;R>0;--R)L.removeChild(L.firstChild);return L}function I(L,R){return E(L).appendChild(R)}function O(L,R,q,te){var se=document.createElement(L);if(q&&(se.className=q),te&&(se.style.cssText=te),typeof R=="string")se.appendChild(document.createTextNode(R));else if(R)for(var Fe=0;Fe<R.length;++Fe)se.appendChild(R[Fe]);return se}function F(L,R,q,te){var se=O(L,R,q,te);return se.setAttribute("role","presentation"),se}var k;document.createRange?k=function(R,q,te,se){var Fe=document.createRange();return Fe.setEnd(se||R,te),Fe.setStart(R,q),Fe}:k=function(R,q,te){var se=document.body.createTextRange();try{se.moveToElementText(R.parentNode)}catch(Fe){return se}return se.collapse(!0),se.moveEnd("character",te),se.moveStart("character",q),se};function M(L,R){if(R.nodeType==3&&(R=R.parentNode),L.contains)return L.contains(R);do if(R.nodeType==11&&(R=R.host),R==L)return!0;while(R=R.parentNode)}function P(){var L;try{L=document.activeElement}catch(R){L=document.body||null}for(;L&&L.shadowRoot&&L.shadowRoot.activeElement;)L=L.shadowRoot.activeElement;return L}function V(L,R){var q=L.className;T(R).test(q)||(L.className+=(q?" ":"")+R)}function D(L,R){for(var q=L.split(" "),te=0;te<q.length;te++)q[te]&&!T(q[te]).test(R)&&(R+=" "+q[te]);return R}var H=function(R){R.select()};s?H=function(R){R.selectionStart=0,R.selectionEnd=R.value.length}:c&&(H=function(R){try{R.select()}catch(q){}});function U(L){var R=Array.prototype.slice.call(arguments,1);return function(){return L.apply(null,R)}}function z(L,R,q){R||(R={});for(var te in L)L.hasOwnProperty(te)&&(q!==!1||!R.hasOwnProperty(te))&&(R[te]=L[te]);return R}function K(L,R,q,te,se){R==null&&(R=L.search(/[^\s\u00a0]/),R==-1&&(R=L.length));for(var Fe=te||0,At=se||0;;){var Mt=L.indexOf(" ",Fe);if(Mt<0||Mt>=R)return At+(R-Fe);At+=Mt-Fe,At+=q-At%q,Fe=Mt+1}}var G=function(){this.id=null,this.f=null,this.time=0,this.handler=U(this.onTimeout,this)};G.prototype.onTimeout=function(L){L.id=0,L.time<=+new Date?L.f():setTimeout(L.handler,L.time-+new Date)},G.prototype.set=function(L,R){this.f=R;var q=+new Date+L;(!this.id||q<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,L),this.time=q)};function X(L,R){for(var q=0;q<L.length;++q)if(L[q]==R)return q;return-1}var Z=50,ee={toString:function(){return"CodeMirror.Pass"}},Se={scroll:!1},$={origin:"*mouse"},pe={origin:"+move"};function xe(L,R,q){for(var te=0,se=0;;){var Fe=L.indexOf(" ",te);Fe==-1&&(Fe=L.length);var At=Fe-te;if(Fe==L.length||se+At>=R)return te+Math.min(At,R-se);if(se+=Fe-te,se+=q-se%q,te=Fe+1,se>=R)return te}}var _e=[""];function Ue(L){for(;_e.length<=L;)_e.push(ye(_e)+" ");return _e[L]}function ye(L){return L[L.length-1]}function Be(L,R){for(var q=[],te=0;te<L.length;te++)q[te]=R(L[te],te);return q}function Q(L,R,q){for(var te=0,se=q(R);te<L.length&&q(L[te])<=se;)te++;L.splice(te,0,R)}function ie(){}function Ve(L,R){var q;return Object.create?q=Object.create(L):(ie.prototype=L,q=new ie),R&&z(R,q),q}var J=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function W(L){return/\w/.test(L)||L>"\x80"&&(L.toUpperCase()!=L.toLowerCase()||J.test(L))}function j(L,R){return R?R.source.indexOf("\\w")>-1&&W(L)?!0:R.test(L):W(L)}function Y(L){for(var R in L)if(L.hasOwnProperty(R)&&L[R])return!1;return!0}var me=/[\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 ae(L){return L.charCodeAt(0)>=768&&me.test(L)}function Le(L,R,q){for(;(q<0?R>0:R<L.length)&&ae(L.charAt(R));)R+=q;return R}function Ee(L,R,q){for(var te=R>q?-1:1;;){if(R==q)return R;var se=(R+q)/2,Fe=te<0?Math.ceil(se):Math.floor(se);if(Fe==R)return L(Fe)?R:q;L(Fe)?q=Fe:R=Fe+te}}function ne(L,R,q,te){if(!L)return te(R,q,"ltr",0);for(var se=!1,Fe=0;Fe<L.length;++Fe){var At=L[Fe];(At.from<q&&At.to>R||R==q&&At.to==R)&&(te(Math.max(At.from,R),Math.min(At.to,q),At.level==1?"rtl":"ltr",Fe),se=!0)}se||te(R,q,"ltr")}var ge=null;function Ie(L,R,q){var te;ge=null;for(var se=0;se<L.length;++se){var Fe=L[se];if(Fe.from<R&&Fe.to>R)return se;Fe.to==R&&(Fe.from!=Fe.to&&q=="before"?te=se:ge=se),Fe.from==R&&(Fe.from!=Fe.to&&q!="before"?te=se:ge=se)}return te!=null?te:ge}var Ge=function(){var L="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",R="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function q($t){return $t<=247?L.charAt($t):1424<=$t&&$t<=1524?"R":1536<=$t&&$t<=1785?R.charAt($t-1536):1774<=$t&&$t<=2220?"r":8192<=$t&&$t<=8203?"w":$t==8204?"b":"L"}var te=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,se=/[stwN]/,Fe=/[LRr]/,At=/[Lb1n]/,Mt=/[1n]/;function Yt($t,Fr,$r){this.level=$t,this.from=Fr,this.to=$r}return function($t,Fr){var $r=Fr=="ltr"?"L":"R";if($t.length==0||Fr=="ltr"&&!te.test($t))return!1;for(var mn=$t.length,vn=[],Mn=0;Mn<mn;++Mn)vn.push(q($t.charCodeAt(Mn)));for(var ai=0,yi=$r;ai<mn;++ai){var Ai=vn[ai];Ai=="m"?vn[ai]=yi:yi=Ai}for(var Ni=0,Mi=$r;Ni<mn;++Ni){var Gi=vn[Ni];Gi=="1"&&Mi=="r"?vn[Ni]="n":Fe.test(Gi)&&(Mi=Gi,Gi=="r"&&(vn[Ni]="R"))}for(var ya=1,da=vn[0];ya<mn-1;++ya){var qa=vn[ya];qa=="+"&&da=="1"&&vn[ya+1]=="1"?vn[ya]="1":qa==","&&da==vn[ya+1]&&(da=="1"||da=="n")&&(vn[ya]=da),da=qa}for(var ho=0;ho<mn;++ho){var ms=vn[ho];if(ms==",")vn[ho]="N";else if(ms=="%"){var Po=void 0;for(Po=ho+1;Po<mn&&vn[Po]=="%";++Po);for(var Fs=ho&&vn[ho-1]=="!"||Po<mn&&vn[Po]=="1"?"1":"N",Ks=ho;Ks<Po;++Ks)vn[Ks]=Fs;ho=Po-1}}for(var as=0,zs=$r;as<mn;++as){var ws=vn[as];zs=="L"&&ws=="1"?vn[as]="L":Fe.test(ws)&&(zs=ws)}for(var gs=0;gs<mn;++gs)if(se.test(vn[gs])){var us=void 0;for(us=gs+1;us<mn&&se.test(vn[us]);++us);for(var qo=(gs?vn[gs-1]:$r)=="L",Ts=(us<mn?vn[us]:$r)=="L",ql=qo==Ts?qo?"L":"R":$r,cl=gs;cl<us;++cl)vn[cl]=ql;gs=us-1}for(var _s=[],Xs,As=0;As<mn;)if(At.test(vn[As])){var ec=As;for(++As;As<mn&&At.test(vn[As]);++As);_s.push(new Yt(0,ec,As))}else{var Vi=As,tl=_s.length,dl=Fr=="rtl"?1:0;for(++As;As<mn&&vn[As]!="L";++As);for(var Vo=Vi;Vo<As;)if(Mt.test(vn[Vo])){Vi<Vo&&(_s.splice(tl,0,new Yt(1,Vi,Vo)),tl+=dl);var Jl=Vo;for(++Vo;Vo<As&&Mt.test(vn[Vo]);++Vo);_s.splice(tl,0,new Yt(2,Jl,Vo)),tl+=dl,Vi=Vo}else++Vo;Vi<As&&_s.splice(tl,0,new Yt(1,Vi,As))}return Fr=="ltr"&&(_s[0].level==1&&(Xs=$t.match(/^\s+/))&&(_s[0].from=Xs[0].length,_s.unshift(new Yt(0,0,Xs[0].length))),ye(_s).level==1&&(Xs=$t.match(/\s+$/))&&(ye(_s).to-=Xs[0].length,_s.push(new Yt(0,mn-Xs[0].length,mn)))),Fr=="rtl"?_s.reverse():_s}}();function ut(L,R){var q=L.order;return q==null&&(q=L.order=Ge(L.text,R)),q}var wt=[],Pe=function(R,q,te){if(R.addEventListener)R.addEventListener(q,te,!1);else if(R.attachEvent)R.attachEvent("on"+q,te);else{var se=R._handlers||(R._handlers={});se[q]=(se[q]||wt).concat(te)}};function Dt(L,R){return L._handlers&&L._handlers[R]||wt}function et(L,R,q){if(L.removeEventListener)L.removeEventListener(R,q,!1);else if(L.detachEvent)L.detachEvent("on"+R,q);else{var te=L._handlers,se=te&&te[R];if(se){var Fe=X(se,q);Fe>-1&&(te[R]=se.slice(0,Fe).concat(se.slice(Fe+1)))}}}function _t(L,R){var q=Dt(L,R);if(!q.length)return;for(var te=Array.prototype.slice.call(arguments,2),se=0;se<q.length;++se)q[se].apply(null,te)}function Nt(L,R,q){return typeof R=="string"&&(R={type:R,preventDefault:function(){this.defaultPrevented=!0}}),_t(L,q||R.type,L,R),ue(R)||R.codemirrorIgnore}function Bt(L){var R=L._handlers&&L._handlers.cursorActivity;if(!R)return;for(var q=L.curOp.cursorActivityHandlers||(L.curOp.cursorActivityHandlers=[]),te=0;te<R.length;++te)X(q,R[te])==-1&&q.push(R[te])}function Ft(L,R){return Dt(L,R).length>0}function Gt(L){L.prototype.on=function(R,q){Pe(this,R,q)},L.prototype.off=function(R,q){et(this,R,q)}}function qe(L){L.preventDefault?L.preventDefault():L.returnValue=!1}function we(L){L.stopPropagation?L.stopPropagation():L.cancelBubble=!0}function ue(L){return L.defaultPrevented!=null?L.defaultPrevented:L.returnValue==!1}function vt(L){qe(L),we(L)}function at(L){return L.target||L.srcElement}function Ae(L){var R=L.which;return R==null&&(L.button&1?R=1:L.button&2?R=3:L.button&4&&(R=2)),A&&L.ctrlKey&&R==1&&(R=3),R}var Xt=function(){if(c&&o<9)return!1;var L=O("div");return"draggable"in L||"dragDrop"in L}(),Ot;function rt(L){if(Ot==null){var R=O("span","\u200B");I(L,O("span",[R,document.createTextNode("x")])),L.firstChild.offsetHeight!=0&&(Ot=R.offsetWidth<=1&&R.offsetHeight>2&&!(c&&o<8))}var q=Ot?O("span","\u200B"):O("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return q.setAttribute("cm-text",""),q}var Et;function Zt(L){if(Et!=null)return Et;var R=I(L,document.createTextNode("A\u062EA")),q=k(R,0,1).getBoundingClientRect(),te=k(R,1,2).getBoundingClientRect();return E(L),!q||q.left==q.right?!1:Et=te.right-q.right<3}var vr=`
|
|
|
|
|
|
b`.split(/\n/).length!=3?function(L){for(var R=0,q=[],te=L.length;R<=te;){var se=L.indexOf(`
|
|
|
`,R);se==-1&&(se=L.length);var Fe=L.slice(R,L.charAt(se-1)=="\r"?se-1:se),At=Fe.indexOf("\r");At!=-1?(q.push(Fe.slice(0,At)),R+=At+1):(q.push(Fe),R=se+1)}return q}:function(L){return L.split(/\r\n?|\n/)},mt=window.getSelection?function(L){try{return L.selectionStart!=L.selectionEnd}catch(R){return!1}}:function(L){var R;try{R=L.ownerDocument.selection.createRange()}catch(q){}return!R||R.parentElement()!=L?!1:R.compareEndPoints("StartToEnd",R)!=0},ce=function(){var L=O("div");return"oncopy"in L?!0:(L.setAttribute("oncopy","return;"),typeof L.oncopy=="function")}(),le=null;function oe(L){if(le!=null)return le;var R=I(L,O("span","x")),q=R.getBoundingClientRect(),te=k(R,0,1).getBoundingClientRect();return le=Math.abs(q.left-te.left)>1}var fe={},De={};function He(L,R){arguments.length>2&&(R.dependencies=Array.prototype.slice.call(arguments,2)),fe[L]=R}function je(L,R){De[L]=R}function We(L){if(typeof L=="string"&&De.hasOwnProperty(L))L=De[L];else if(L&&typeof L.name=="string"&&De.hasOwnProperty(L.name)){var R=De[L.name];typeof R=="string"&&(R={name:R}),L=Ve(R,L),L.name=R.name}else{if(typeof L=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(L))return We("application/xml");if(typeof L=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(L))return We("application/json")}return typeof L=="string"?{name:L}:L||{name:"null"}}function nt(L,R){R=We(R);var q=fe[R.name];if(!q)return nt(L,"text/plain");var te=q(L,R);if(xt.hasOwnProperty(R.name)){var se=xt[R.name];for(var Fe in se){if(!se.hasOwnProperty(Fe))continue;te.hasOwnProperty(Fe)&&(te["_"+Fe]=te[Fe]),te[Fe]=se[Fe]}}if(te.name=R.name,R.helperType&&(te.helperType=R.helperType),R.modeProps)for(var At in R.modeProps)te[At]=R.modeProps[At];return te}var xt={};function It(L,R){var q=xt.hasOwnProperty(L)?xt[L]:xt[L]={};z(R,q)}function ir(L,R){if(R===!0)return R;if(L.copyState)return L.copyState(R);var q={};for(var te in R){var se=R[te];se instanceof Array&&(se=se.concat([])),q[te]=se}return q}function Me(L,R){for(var q;L.innerMode&&!(q=L.innerMode(R),!q||q.mode==L);)R=q.state,L=q.mode;return q||{mode:L,state:R}}function ke(L,R,q){return L.startState?L.startState(R,q):!0}var re=function(R,q,te){this.pos=this.start=0,this.string=R,this.tabSize=q||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=te};re.prototype.eol=function(){return this.pos>=this.string.length},re.prototype.sol=function(){return this.pos==this.lineStart},re.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},re.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},re.prototype.eat=function(L){var R=this.string.charAt(this.pos),q;if(typeof L=="string"?q=R==L:q=R&&(L.test?L.test(R):L(R)),q)return++this.pos,R},re.prototype.eatWhile=function(L){for(var R=this.pos;this.eat(L););return this.pos>R},re.prototype.eatSpace=function(){for(var L=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>L},re.prototype.skipToEnd=function(){this.pos=this.string.length},re.prototype.skipTo=function(L){var R=this.string.indexOf(L,this.pos);if(R>-1)return this.pos=R,!0},re.prototype.backUp=function(L){this.pos-=L},re.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=K(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?K(this.string,this.lineStart,this.tabSize):0)},re.prototype.indentation=function(){return K(this.string,null,this.tabSize)-(this.lineStart?K(this.string,this.lineStart,this.tabSize):0)},re.prototype.match=function(L,R,q){if(typeof L=="string"){var te=function(Mt){return q?Mt.toLowerCase():Mt},se=this.string.substr(this.pos,L.length);if(te(se)==te(L))return R!==!1&&(this.pos+=L.length),!0}else{var Fe=this.string.slice(this.pos).match(L);return Fe&&Fe.index>0?null:(Fe&&R!==!1&&(this.pos+=Fe[0].length),Fe)}},re.prototype.current=function(){return this.string.slice(this.start,this.pos)},re.prototype.hideFirstChars=function(L,R){this.lineStart+=L;try{return R()}finally{this.lineStart-=L}},re.prototype.lookAhead=function(L){var R=this.lineOracle;return R&&R.lookAhead(L)},re.prototype.baseToken=function(){var L=this.lineOracle;return L&&L.baseToken(this.pos)};function be(L,R){if(R-=L.first,R<0||R>=L.size)throw new Error("There is no line "+(R+L.first)+" in the document.");for(var q=L;!q.lines;)for(var te=0;;++te){var se=q.children[te],Fe=se.chunkSize();if(R<Fe){q=se;break}R-=Fe}return q.lines[R]}function Ne(L,R,q){var te=[],se=R.line;return L.iter(R.line,q.line+1,function(Fe){var At=Fe.text;se==q.line&&(At=At.slice(0,q.ch)),se==R.line&&(At=At.slice(R.ch)),te.push(At),++se}),te}function Ke(L,R,q){var te=[];return L.iter(R,q,function(se){te.push(se.text)}),te}function Qe(L,R){var q=R-L.height;if(q)for(var te=L;te;te=te.parent)te.height+=q}function ct(L){if(L.parent==null)return null;for(var R=L.parent,q=X(R.lines,L),te=R.parent;te;R=te,te=te.parent)for(var se=0;!(te.children[se]==R);++se)q+=te.children[se].chunkSize();return q+R.first}function Lt(L,R){var q=L.first;e:do{for(var te=0;te<L.children.length;++te){var se=L.children[te],Fe=se.height;if(R<Fe){L=se;continue e}R-=Fe,q+=se.chunkSize()}return q}while(!L.lines);for(var At=0;At<L.lines.length;++At){var Mt=L.lines[At],Yt=Mt.height;if(R<Yt)break;R-=Yt}return q+At}function rr(L,R){return R>=L.first&&R<L.first+L.size}function dr(L,R){return String(L.lineNumberFormatter(R+L.firstLineNumber))}function Pt(L,R,q){if(q===void 0&&(q=null),!(this instanceof Pt))return new Pt(L,R,q);this.line=L,this.ch=R,this.sticky=q}function jt(L,R){return L.line-R.line||L.ch-R.ch}function Ct(L,R){return L.sticky==R.sticky&&jt(L,R)==0}function Rt(L){return Pt(L.line,L.ch)}function pt(L,R){return jt(L,R)<0?R:L}function ot(L,R){return jt(L,R)<0?L:R}function gt(L,R){return Math.max(L.first,Math.min(R,L.first+L.size-1))}function Ye(L,R){if(R.line<L.first)return Pt(L.first,0);var q=L.first+L.size-1;return R.line>q?Pt(q,be(L,q).text.length):$e(R,be(L,R.line).text.length)}function $e(L,R){var q=L.ch;return q==null||q>R?Pt(L.line,R):q<0?Pt(L.line,0):L}function Je(L,R){for(var q=[],te=0;te<R.length;te++)q[te]=Ye(L,R[te]);return q}var it=function(R,q){this.state=R,this.lookAhead=q},ft=function(R,q,te,se){this.state=q,this.doc=R,this.line=te,this.maxLookAhead=se||0,this.baseTokens=null,this.baseTokenPos=1};ft.prototype.lookAhead=function(L){var R=this.doc.getLine(this.line+L);return R!=null&&L>this.maxLookAhead&&(this.maxLookAhead=L),R},ft.prototype.baseToken=function(L){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=L;)this.baseTokenPos+=2;var R=this.baseTokens[this.baseTokenPos+1];return{type:R&&R.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-L}},ft.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},ft.fromSaved=function(L,R,q){return R instanceof it?new ft(L,ir(L.mode,R.state),q,R.lookAhead):new ft(L,ir(L.mode,R),q)},ft.prototype.save=function(L){var R=L!==!1?ir(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new it(R,this.maxLookAhead):R};function ht(L,R,q,te){var se=[L.state.modeGen],Fe={};zr(L,R.text,L.doc.mode,q,function($t,Fr){return se.push($t,Fr)},Fe,te);for(var At=q.state,Mt=function(Fr){q.baseTokens=se;var $r=L.state.overlays[Fr],mn=1,vn=0;q.state=!0,zr(L,R.text,$r.mode,q,function(Mn,ai){for(var yi=mn;vn<Mn;){var Ai=se[mn];Ai>Mn&&se.splice(mn,1,Mn,se[mn+1],Ai),mn+=2,vn=Math.min(Mn,Ai)}if(!ai)return;if($r.opaque)se.splice(yi,mn-yi,Mn,"overlay "+ai),mn=yi+2;else for(;yi<mn;yi+=2){var Ni=se[yi+1];se[yi+1]=(Ni?Ni+" ":"")+"overlay "+ai}},Fe),q.state=At,q.baseTokens=null,q.baseTokenPos=1},Yt=0;Yt<L.state.overlays.length;++Yt)Mt(Yt);return{styles:se,classes:Fe.bgClass||Fe.textClass?Fe:null}}function st(L,R,q){if(!R.styles||R.styles[0]!=L.state.modeGen){var te=kt(L,ct(R)),se=R.text.length>L.options.maxHighlightLength&&ir(L.doc.mode,te.state),Fe=ht(L,R,te);se&&(te.state=se),R.stateAfter=te.save(!se),R.styles=Fe.styles,Fe.classes?R.styleClasses=Fe.classes:R.styleClasses&&(R.styleClasses=null),q===L.doc.highlightFrontier&&(L.doc.modeFrontier=Math.max(L.doc.modeFrontier,++L.doc.highlightFrontier))}return R.styles}function kt(L,R,q){var te=L.doc,se=L.display;if(!te.mode.startState)return new ft(te,!0,R);var Fe=hn(L,R,q),At=Fe>te.first&&be(te,Fe-1).stateAfter,Mt=At?ft.fromSaved(te,At,Fe):new ft(te,ke(te.mode),Fe);return te.iter(Fe,R,function(Yt){Tt(L,Yt.text,Mt);var $t=Mt.line;Yt.stateAfter=$t==R-1||$t%5==0||$t>=se.viewFrom&&$t<se.viewTo?Mt.save():null,Mt.nextLine()}),q&&(te.modeFrontier=Mt.line),Mt}function Tt(L,R,q,te){var se=L.doc.mode,Fe=new re(R,L.options.tabSize,q);for(Fe.start=Fe.pos=te||0,R==""&&ar(se,q.state);!Fe.eol();)Qt(se,Fe,q.state),Fe.start=Fe.pos}function ar(L,R){if(L.blankLine)return L.blankLine(R);if(!L.innerMode)return;var q=Me(L,R);if(q.mode.blankLine)return q.mode.blankLine(q.state)}function Qt(L,R,q,te){for(var se=0;se<10;se++){te&&(te[0]=Me(L,q).mode);var Fe=L.token(R,q);if(R.pos>R.start)return Fe}throw new Error("Mode "+L.name+" failed to advance stream.")}var Er=function(R,q,te){this.start=R.start,this.end=R.pos,this.string=R.current(),this.type=q||null,this.state=te};function Ir(L,R,q,te){var se=L.doc,Fe=se.mode,At;R=Ye(se,R);var Mt=be(se,R.line),Yt=kt(L,R.line,q),$t=new re(Mt.text,L.options.tabSize,Yt),Fr;for(te&&(Fr=[]);(te||$t.pos<R.ch)&&!$t.eol();)$t.start=$t.pos,At=Qt(Fe,$t,Yt.state),te&&Fr.push(new Er($t,At,ir(se.mode,Yt.state)));return te?Fr:new Er($t,At,Yt.state)}function jr(L,R){if(L)for(;;){var q=L.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!q)break;L=L.slice(0,q.index)+L.slice(q.index+q[0].length);var te=q[1]?"bgClass":"textClass";R[te]==null?R[te]=q[2]:new RegExp("(?:^|\\s)"+q[2]+"(?:$|\\s)").test(R[te])||(R[te]+=" "+q[2])}return L}function zr(L,R,q,te,se,Fe,At){var Mt=q.flattenSpans;Mt==null&&(Mt=L.options.flattenSpans);var Yt=0,$t=null,Fr=new re(R,L.options.tabSize,te),$r,mn=L.options.addModeClass&&[null];for(R==""&&jr(ar(q,te.state),Fe);!Fr.eol();){if(Fr.pos>L.options.maxHighlightLength?(Mt=!1,At&&Tt(L,R,te,Fr.pos),Fr.pos=R.length,$r=null):$r=jr(Qt(q,Fr,te.state,mn),Fe),mn){var vn=mn[0].name;vn&&($r="m-"+($r?vn+" "+$r:vn))}if(!Mt||$t!=$r){for(;Yt<Fr.start;)Yt=Math.min(Fr.start,Yt+5e3),se(Yt,$t);$t=$r}Fr.start=Fr.pos}for(;Yt<Fr.pos;){var Mn=Math.min(Fr.pos,Yt+5e3);se(Mn,$t),Yt=Mn}}function hn(L,R,q){for(var te,se,Fe=L.doc,At=q?-1:R-(L.doc.mode.innerMode?1e3:100),Mt=R;Mt>At;--Mt){if(Mt<=Fe.first)return Fe.first;var Yt=be(Fe,Mt-1),$t=Yt.stateAfter;if($t&&(!q||Mt+($t instanceof it?$t.lookAhead:0)<=Fe.modeFrontier))return Mt;var Fr=K(Yt.text,null,L.options.tabSize);(se==null||te>Fr)&&(se=Mt-1,te=Fr)}return se}function gn(L,R){if(L.modeFrontier=Math.min(L.modeFrontier,R),L.highlightFrontier<R-10)return;for(var q=L.first,te=R-1;te>q;te--){var se=be(L,te).stateAfter;if(se&&(!(se instanceof it)||te+se.lookAhead<R)){q=te+1;break}}L.highlightFrontier=Math.min(L.highlightFrontier,q)}var Br=!1,ln=!1;function Xr(){Br=!0}function cr(){ln=!0}function wr(L,R,q){this.marker=L,this.from=R,this.to=q}function hr(L,R){if(L)for(var q=0;q<L.length;++q){var te=L[q];if(te.marker==R)return te}}function Ar(L,R){for(var q,te=0;te<L.length;++te)L[te]!=R&&(q||(q=[])).push(L[te]);return q}function kr(L,R){L.markedSpans=L.markedSpans?L.markedSpans.concat([R]):[R],R.marker.attachLine(L)}function nn(L,R,q){var te;if(L)for(var se=0;se<L.length;++se){var Fe=L[se],At=Fe.marker,Mt=Fe.from==null||(At.inclusiveLeft?Fe.from<=R:Fe.from<R);if(Mt||Fe.from==R&&At.type=="bookmark"&&(!q||!Fe.marker.insertLeft)){var Yt=Fe.to==null||(At.inclusiveRight?Fe.to>=R:Fe.to>R);(te||(te=[])).push(new wr(At,Fe.from,Yt?null:Fe.to))}}return te}function wn(L,R,q){var te;if(L)for(var se=0;se<L.length;++se){var Fe=L[se],At=Fe.marker,Mt=Fe.to==null||(At.inclusiveRight?Fe.to>=R:Fe.to>R);if(Mt||Fe.from==R&&At.type=="bookmark"&&(!q||Fe.marker.insertLeft)){var Yt=Fe.from==null||(At.inclusiveLeft?Fe.from<=R:Fe.from<R);(te||(te=[])).push(new wr(At,Yt?null:Fe.from-R,Fe.to==null?null:Fe.to-R))}}return te}function oi(L,R){if(R.full)return null;var q=rr(L,R.from.line)&&be(L,R.from.line).markedSpans,te=rr(L,R.to.line)&&be(L,R.to.line).markedSpans;if(!q&&!te)return null;var se=R.from.ch,Fe=R.to.ch,At=jt(R.from,R.to)==0,Mt=nn(q,se,At),Yt=wn(te,Fe,At),$t=R.text.length==1,Fr=ye(R.text).length+($t?se:0);if(Mt)for(var $r=0;$r<Mt.length;++$r){var mn=Mt[$r];if(mn.to==null){var vn=hr(Yt,mn.marker);vn?$t&&(mn.to=vn.to==null?null:vn.to+Fr):mn.to=se}}if(Yt)for(var Mn=0;Mn<Yt.length;++Mn){var ai=Yt[Mn];if(ai.to!=null&&(ai.to+=Fr),ai.from==null){var yi=hr(Mt,ai.marker);yi||(ai.from=Fr,$t&&(Mt||(Mt=[])).push(ai))}else ai.from+=Fr,$t&&(Mt||(Mt=[])).push(ai)}Mt&&(Mt=tn(Mt)),Yt&&Yt!=Mt&&(Yt=tn(Yt));var Ai=[Mt];if(!$t){var Ni=R.text.length-2,Mi;if(Ni>0&&Mt)for(var Gi=0;Gi<Mt.length;++Gi)Mt[Gi].to==null&&(Mi||(Mi=[])).push(new wr(Mt[Gi].marker,null,null));for(var ya=0;ya<Ni;++ya)Ai.push(Mi);Ai.push(Yt)}return Ai}function tn(L){for(var R=0;R<L.length;++R){var q=L[R];q.from!=null&&q.from==q.to&&q.marker.clearWhenEmpty!==!1&&L.splice(R--,1)}return L.length?L:null}function Vn(L,R,q){var te=null;if(L.iter(R.line,q.line+1,function(vn){if(vn.markedSpans)for(var Mn=0;Mn<vn.markedSpans.length;++Mn){var ai=vn.markedSpans[Mn].marker;ai.readOnly&&(!te||X(te,ai)==-1)&&(te||(te=[])).push(ai)}}),!te)return null;for(var se=[{from:R,to:q}],Fe=0;Fe<te.length;++Fe)for(var At=te[Fe],Mt=At.find(0),Yt=0;Yt<se.length;++Yt){var $t=se[Yt];if(jt($t.to,Mt.from)<0||jt($t.from,Mt.to)>0)continue;var Fr=[Yt,1],$r=jt($t.from,Mt.from),mn=jt($t.to,Mt.to);($r<0||!At.inclusiveLeft&&!$r)&&Fr.push({from:$t.from,to:Mt.from}),(mn>0||!At.inclusiveRight&&!mn)&&Fr.push({from:Mt.to,to:$t.to}),se.splice.apply(se,Fr),Yt+=Fr.length-3}return se}function On(L){var R=L.markedSpans;if(!R)return;for(var q=0;q<R.length;++q)R[q].marker.detachLine(L);L.markedSpans=null}function $n(L,R){if(!R)return;for(var q=0;q<R.length;++q)R[q].marker.attachLine(L);L.markedSpans=R}function Qn(L){return L.inclusiveLeft?-1:0}function ei(L){return L.inclusiveRight?1:0}function zi(L,R){var q=L.lines.length-R.lines.length;if(q!=0)return q;var te=L.find(),se=R.find(),Fe=jt(te.from,se.from)||Qn(L)-Qn(R);if(Fe)return-Fe;var At=jt(te.to,se.to)||ei(L)-ei(R);return At||R.id-L.id}function hi(L,R){var q=ln&&L.markedSpans,te;if(q)for(var se=void 0,Fe=0;Fe<q.length;++Fe)se=q[Fe],se.marker.collapsed&&(R?se.from:se.to)==null&&(!te||zi(te,se.marker)<0)&&(te=se.marker);return te}function Bn(L){return hi(L,!0)}function sn(L){return hi(L,!1)}function ta(L,R){var q=ln&&L.markedSpans,te;if(q)for(var se=0;se<q.length;++se){var Fe=q[se];Fe.marker.collapsed&&(Fe.from==null||Fe.from<R)&&(Fe.to==null||Fe.to>R)&&(!te||zi(te,Fe.marker)<0)&&(te=Fe.marker)}return te}function ua(L,R,q,te,se){var Fe=be(L,R),At=ln&&Fe.markedSpans;if(At)for(var Mt=0;Mt<At.length;++Mt){var Yt=At[Mt];if(!Yt.marker.collapsed)continue;var $t=Yt.marker.find(0),Fr=jt($t.from,q)||Qn(Yt.marker)-Qn(se),$r=jt($t.to,te)||ei(Yt.marker)-ei(se);if(Fr>=0&&$r<=0||Fr<=0&&$r>=0)continue;if(Fr<=0&&(Yt.marker.inclusiveRight&&se.inclusiveLeft?jt($t.to,q)>=0:jt($t.to,q)>0)||Fr>=0&&(Yt.marker.inclusiveRight&&se.inclusiveLeft?jt($t.from,te)<=0:jt($t.from,te)<0))return!0}}function fa(L){for(var R;R=Bn(L);)L=R.find(-1,!0).line;return L}function Bi(L){for(var R;R=sn(L);)L=R.find(1,!0).line;return L}function pa(L){for(var R,q;R=sn(L);)L=R.find(1,!0).line,(q||(q=[])).push(L);return q}function ui(L,R){var q=be(L,R),te=fa(q);return q==te?R:ct(te)}function ba(L,R){if(R>L.lastLine())return R;var q=be(L,R),te;if(!Dn(L,q))return R;for(;te=sn(q);)q=te.find(1,!0).line;return ct(q)+1}function Dn(L,R){var q=ln&&R.markedSpans;if(q)for(var te=void 0,se=0;se<q.length;++se){if(te=q[se],!te.marker.collapsed)continue;if(te.from==null)return!0;if(te.marker.widgetNode)continue;if(te.from==0&&te.marker.inclusiveLeft&&Pn(L,R,te))return!0}}function Pn(L,R,q){if(q.to==null){var te=q.marker.find(1,!0);return Pn(L,te.line,hr(te.line.markedSpans,q.marker))}if(q.marker.inclusiveRight&&q.to==R.text.length)return!0;for(var se=void 0,Fe=0;Fe<R.markedSpans.length;++Fe)if(se=R.markedSpans[Fe],se.marker.collapsed&&!se.marker.widgetNode&&se.from==q.to&&(se.to==null||se.to!=q.from)&&(se.marker.inclusiveLeft||q.marker.inclusiveRight)&&Pn(L,R,se))return!0}function Yn(L){L=fa(L);for(var R=0,q=L.parent,te=0;te<q.lines.length;++te){var se=q.lines[te];if(se==L)break;R+=se.height}for(var Fe=q.parent;Fe;q=Fe,Fe=q.parent)for(var At=0;At<Fe.children.length;++At){var Mt=Fe.children[At];if(Mt==q)break;R+=Mt.height}return R}function Jn(L){if(L.height==0)return 0;for(var R=L.text.length,q,te=L;q=Bn(te);){var se=q.find(0,!0);te=se.from.line,R+=se.from.ch-se.to.ch}for(te=L;q=sn(te);){var Fe=q.find(0,!0);R-=te.text.length-Fe.from.ch,te=Fe.to.line,R+=te.text.length-Fe.to.ch}return R}function ni(L){var R=L.display,q=L.doc;R.maxLine=be(q,q.first),R.maxLineLength=Jn(R.maxLine),R.maxLineChanged=!0,q.iter(function(te){var se=Jn(te);se>R.maxLineLength&&(R.maxLineLength=se,R.maxLine=te)})}var Fi=function(R,q,te){this.text=R,$n(this,q),this.height=te?te(this):1};Fi.prototype.lineNo=function(){return ct(this)},Gt(Fi);function Hi(L,R,q,te){L.text=R,L.stateAfter&&(L.stateAfter=null),L.styles&&(L.styles=null),L.order!=null&&(L.order=null),On(L),$n(L,q);var se=te?te(L):1;se!=L.height&&Qe(L,se)}function Za(L){L.parent=null,On(L)}var va={},za={};function to(L,R){if(!L||/^\s*$/.test(L))return null;var q=R.addModeClass?za:va;return q[L]||(q[L]=L.replace(/\S+/g,"cm-$&"))}function lo(L,R){var q=F("span",null,null,n?"padding-right: .1px":null),te={pre:F("pre",[q],"CodeMirror-line"),content:q,col:0,pos:0,cm:L,trailingSpace:!1,splitSpaces:L.getOption("lineWrapping")};R.measure={};for(var se=0;se<=(R.rest?R.rest.length:0);se++){var Fe=se?R.rest[se-1]:R.line,At=void 0;te.pos=0,te.addToken=Qo,Zt(L.display.measure)&&(At=ut(Fe,L.doc.direction))&&(te.addToken=jo(te.addToken,At)),te.map=[];var Mt=R!=L.display.externalMeasured&&ct(Fe);fo(Fe,te,st(L,Fe,Mt)),Fe.styleClasses&&(Fe.styleClasses.bgClass&&(te.bgClass=D(Fe.styleClasses.bgClass,te.bgClass||"")),Fe.styleClasses.textClass&&(te.textClass=D(Fe.styleClasses.textClass,te.textClass||""))),te.map.length==0&&te.map.push(0,0,te.content.appendChild(rt(L.display.measure))),se==0?(R.measure.map=te.map,R.measure.cache={}):((R.measure.maps||(R.measure.maps=[])).push(te.map),(R.measure.caches||(R.measure.caches=[])).push({}))}if(n){var Yt=te.content.lastChild;(/\bcm-tab\b/.test(Yt.className)||Yt.querySelector&&Yt.querySelector(".cm-tab"))&&(te.content.className="cm-tab-wrap-hack")}return _t(L,"renderLine",L,R.line,te.pre),te.pre.className&&(te.textClass=D(te.pre.className,te.textClass||"")),te}function _a(L){var R=O("span","\u2022","cm-invalidchar");return R.title="\\u"+L.charCodeAt(0).toString(16),R.setAttribute("aria-label",R.title),R}function Qo(L,R,q,te,se,Fe,At){if(!R)return;var Mt=L.splitSpaces?Uo(R,L.trailingSpace):R,Yt=L.cm.state.specialChars,$t=!1,Fr;if(!Yt.test(R))L.col+=R.length,Fr=document.createTextNode(Mt),L.map.push(L.pos,L.pos+R.length,Fr),c&&o<9&&($t=!0),L.pos+=R.length;else{Fr=document.createDocumentFragment();for(var $r=0;;){Yt.lastIndex=$r;var mn=Yt.exec(R),vn=mn?mn.index-$r:R.length-$r;if(vn){var Mn=document.createTextNode(Mt.slice($r,$r+vn));c&&o<9?Fr.appendChild(O("span",[Mn])):Fr.appendChild(Mn),L.map.push(L.pos,L.pos+vn,Mn),L.col+=vn,L.pos+=vn}if(!mn)break;$r+=vn+1;var ai=void 0;if(mn[0]==" "){var yi=L.cm.options.tabSize,Ai=yi-L.col%yi;ai=Fr.appendChild(O("span",Ue(Ai),"cm-tab")),ai.setAttribute("role","presentation"),ai.setAttribute("cm-text"," "),L.col+=Ai}else mn[0]=="\r"||mn[0]==`
|
|
|
`?(ai=Fr.appendChild(O("span",mn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),ai.setAttribute("cm-text",mn[0]),L.col+=1):(ai=L.cm.options.specialCharPlaceholder(mn[0]),ai.setAttribute("cm-text",mn[0]),c&&o<9?Fr.appendChild(O("span",[ai])):Fr.appendChild(ai),L.col+=1);L.map.push(L.pos,L.pos+1,ai),L.pos++}}if(L.trailingSpace=Mt.charCodeAt(R.length-1)==32,q||te||se||$t||Fe||At){var Ni=q||"";te&&(Ni+=te),se&&(Ni+=se);var Mi=O("span",[Fr],Ni,Fe);if(At)for(var Gi in At)At.hasOwnProperty(Gi)&&Gi!="style"&&Gi!="class"&&Mi.setAttribute(Gi,At[Gi]);return L.content.appendChild(Mi)}L.content.appendChild(Fr)}function Uo(L,R){if(L.length>1&&!/ /.test(L))return L;for(var q=R,te="",se=0;se<L.length;se++){var Fe=L.charAt(se);Fe==" "&&q&&(se==L.length-1||L.charCodeAt(se+1)==32)&&(Fe="\xA0"),te+=Fe,q=Fe==" "}return te}function jo(L,R){return function(q,te,se,Fe,At,Mt,Yt){se=se?se+" cm-force-border":"cm-force-border";for(var $t=q.pos,Fr=$t+te.length;;){for(var $r=void 0,mn=0;mn<R.length&&!($r=R[mn],$r.to>$t&&$r.from<=$t);mn++);if($r.to>=Fr)return L(q,te,se,Fe,At,Mt,Yt);L(q,te.slice(0,$r.to-$t),se,Fe,null,Mt,Yt),Fe=null,te=te.slice($r.to-$t),$t=$r.to}}}function Ao(L,R,q,te){var se=!te&&q.widgetNode;se&&L.map.push(L.pos,L.pos+R,se),!te&&L.cm.display.input.needsContentAttribute&&(se||(se=L.content.appendChild(document.createElement("span"))),se.setAttribute("cm-marker",q.id)),se&&(L.cm.display.input.setUneditable(se),L.content.appendChild(se)),L.pos+=R,L.trailingSpace=!1}function fo(L,R,q){var te=L.markedSpans,se=L.text,Fe=0;if(!te){for(var At=1;At<q.length;At+=2)R.addToken(R,se.slice(Fe,Fe=q[At]),to(q[At+1],R.cm.options));return}for(var Mt=se.length,Yt=0,$t=1,Fr="",$r,mn,vn=0,Mn,ai,yi,Ai,Ni;;){if(vn==Yt){Mn=ai=yi=mn="",Ni=null,Ai=null,vn=Infinity;for(var Mi=[],Gi=void 0,ya=0;ya<te.length;++ya){var da=te[ya],qa=da.marker;if(qa.type=="bookmark"&&da.from==Yt&&qa.widgetNode)Mi.push(qa);else if(da.from<=Yt&&(da.to==null||da.to>Yt||qa.collapsed&&da.to==Yt&&da.from==Yt)){if(da.to!=null&&da.to!=Yt&&vn>da.to&&(vn=da.to,ai=""),qa.className&&(Mn+=" "+qa.className),qa.css&&(mn=(mn?mn+";":"")+qa.css),qa.startStyle&&da.from==Yt&&(yi+=" "+qa.startStyle),qa.endStyle&&da.to==vn&&(Gi||(Gi=[])).push(qa.endStyle,da.to),qa.title&&((Ni||(Ni={})).title=qa.title),qa.attributes)for(var ho in qa.attributes)(Ni||(Ni={}))[ho]=qa.attributes[ho];qa.collapsed&&(!Ai||zi(Ai.marker,qa)<0)&&(Ai=da)}else da.from>Yt&&vn>da.from&&(vn=da.from)}if(Gi)for(var ms=0;ms<Gi.length;ms+=2)Gi[ms+1]==vn&&(ai+=" "+Gi[ms]);if(!Ai||Ai.from==Yt)for(var Po=0;Po<Mi.length;++Po)Ao(R,0,Mi[Po]);if(Ai&&(Ai.from||0)==Yt){if(Ao(R,(Ai.to==null?Mt+1:Ai.to)-Yt,Ai.marker,Ai.from==null),Ai.to==null)return;Ai.to==Yt&&(Ai=!1)}}if(Yt>=Mt)break;for(var Fs=Math.min(Mt,vn);;){if(Fr){var Ks=Yt+Fr.length;if(!Ai){var as=Ks>Fs?Fr.slice(0,Fs-Yt):Fr;R.addToken(R,as,$r?$r+Mn:Mn,yi,Yt+as.length==vn?ai:"",mn,Ni)}if(Ks>=Fs){Fr=Fr.slice(Fs-Yt),Yt=Fs;break}Yt=Ks,yi=""}Fr=se.slice(Fe,Fe=q[$t++]),$r=to(q[$t++],R.cm.options)}}}function Ro(L,R,q){this.line=R,this.rest=pa(R),this.size=this.rest?ct(ye(this.rest))-q+1:1,this.node=this.text=null,this.hidden=Dn(L,R)}function si(L,R,q){for(var te=[],se,Fe=R;Fe<q;Fe=se){var At=new Ro(L.doc,be(L.doc,Fe),Fe);se=Fe+At.size,te.push(At)}return te}var Ma=null;function Xo(L){Ma?Ma.ops.push(L):L.ownsGroup=Ma={ops:[L],delayedCallbacks:[]}}function Io(L){var R=L.delayedCallbacks,q=0;do{for(;q<R.length;q++)R[q].call(null);for(var te=0;te<L.ops.length;te++){var se=L.ops[te];if(se.cursorActivityHandlers)for(;se.cursorActivityCalled<se.cursorActivityHandlers.length;)se.cursorActivityHandlers[se.cursorActivityCalled++].call(null,se.cm)}}while(q<R.length)}function vo(L,R){var q=L.ownsGroup;if(!q)return;try{Io(q)}finally{Ma=null,R(q)}}var Co=null;function tr(L,R){var q=Dt(L,R);if(!q.length)return;var te=Array.prototype.slice.call(arguments,2),se;Ma?se=Ma.delayedCallbacks:Co?se=Co:(se=Co=[],setTimeout(Wr,0));for(var Fe=function(Yt){se.push(function(){return q[Yt].apply(null,te)})},At=0;At<q.length;++At)Fe(At)}function Wr(){var L=Co;Co=null;for(var R=0;R<L.length;++R)L[R]()}function Yr(L,R,q,te){for(var se=0;se<R.changes.length;se++){var Fe=R.changes[se];Fe=="text"?sr(L,R):Fe=="gutter"?Lr(L,R,q,te):Fe=="class"?er(L,R):Fe=="widget"&&Or(L,R,te)}R.changes=null}function pn(L){return L.node==L.text&&(L.node=O("div",null,null,"position: relative"),L.text.parentNode&&L.text.parentNode.replaceChild(L.node,L.text),L.node.appendChild(L.text),c&&o<8&&(L.node.style.zIndex=2)),L.node}function Ze(L,R){var q=R.bgClass?R.bgClass+" "+(R.line.bgClass||""):R.line.bgClass;if(q&&(q+=" CodeMirror-linebackground"),R.background)q?R.background.className=q:(R.background.parentNode.removeChild(R.background),R.background=null);else if(q){var te=pn(R);R.background=te.insertBefore(O("div",null,q),te.firstChild),L.display.input.setUneditable(R.background)}}function Ht(L,R){var q=L.display.externalMeasured;return q&&q.line==R.line?(L.display.externalMeasured=null,R.measure=q.measure,q.built):lo(L,R)}function sr(L,R){var q=R.text.className,te=Ht(L,R);R.text==R.node&&(R.node=te.pre),R.text.parentNode.replaceChild(te.pre,R.text),R.text=te.pre,te.bgClass!=R.bgClass||te.textClass!=R.textClass?(R.bgClass=te.bgClass,R.textClass=te.textClass,er(L,R)):q&&(R.text.className=q)}function er(L,R){Ze(L,R),R.line.wrapClass?pn(R).className=R.line.wrapClass:R.node!=R.text&&(R.node.className="");var q=R.textClass?R.textClass+" "+(R.line.textClass||""):R.line.textClass;R.text.className=q||""}function Lr(L,R,q,te){if(R.gutter&&(R.node.removeChild(R.gutter),R.gutter=null),R.gutterBackground&&(R.node.removeChild(R.gutterBackground),R.gutterBackground=null),R.line.gutterClass){var se=pn(R);R.gutterBackground=O("div",null,"CodeMirror-gutter-background "+R.line.gutterClass,"left: "+(L.options.fixedGutter?te.fixedPos:-te.gutterTotalWidth)+"px; width: "+te.gutterTotalWidth+"px"),L.display.input.setUneditable(R.gutterBackground),se.insertBefore(R.gutterBackground,R.text)}var Fe=R.line.gutterMarkers;if(L.options.lineNumbers||Fe){var At=pn(R),Mt=R.gutter=O("div",null,"CodeMirror-gutter-wrapper","left: "+(L.options.fixedGutter?te.fixedPos:-te.gutterTotalWidth)+"px");if(L.display.input.setUneditable(Mt),At.insertBefore(Mt,R.text),R.line.gutterClass&&(Mt.className+=" "+R.line.gutterClass),L.options.lineNumbers&&(!Fe||!Fe["CodeMirror-linenumbers"])&&(R.lineNumber=Mt.appendChild(O("div",dr(L.options,q),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+te.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+L.display.lineNumInnerWidth+"px"))),Fe)for(var Yt=0;Yt<L.display.gutterSpecs.length;++Yt){var $t=L.display.gutterSpecs[Yt].className,Fr=Fe.hasOwnProperty($t)&&Fe[$t];Fr&&Mt.appendChild(O("div",[Fr],"CodeMirror-gutter-elt","left: "+te.gutterLeft[$t]+"px; width: "+te.gutterWidth[$t]+"px"))}}}function Or(L,R,q){R.alignable&&(R.alignable=null);for(var te=T("CodeMirror-linewidget"),se=R.node.firstChild,Fe=void 0;se;se=Fe)Fe=se.nextSibling,te.test(se.className)&&R.node.removeChild(se);Hr(L,R,q)}function qr(L,R,q,te){var se=Ht(L,R);return R.text=R.node=se.pre,se.bgClass&&(R.bgClass=se.bgClass),se.textClass&&(R.textClass=se.textClass),er(L,R),Lr(L,R,q,te),Hr(L,R,te),R.node}function Hr(L,R,q){if(un(L,R.line,R,q,!0),R.rest)for(var te=0;te<R.rest.length;te++)un(L,R.rest[te],R,q,!1)}function un(L,R,q,te,se){if(!R.widgets)return;for(var Fe=pn(q),At=0,Mt=R.widgets;At<Mt.length;++At){var Yt=Mt[At],$t=O("div",[Yt.node],"CodeMirror-linewidget"+(Yt.className?" "+Yt.className:""));Yt.handleMouseEvents||$t.setAttribute("cm-ignore-events","true"),fn(Yt,$t,q,te),L.display.input.setUneditable($t),se&&Yt.above?Fe.insertBefore($t,q.gutter||q.text):Fe.appendChild($t),tr(Yt,"redraw")}}function fn(L,R,q,te){if(L.noHScroll){(q.alignable||(q.alignable=[])).push(R);var se=te.wrapperWidth;R.style.left=te.fixedPos+"px",L.coverGutter||(se-=te.gutterTotalWidth,R.style.paddingLeft=te.gutterTotalWidth+"px"),R.style.width=se+"px"}L.coverGutter&&(R.style.zIndex=5,R.style.position="relative",L.noHScroll||(R.style.marginLeft=-te.gutterTotalWidth+"px"))}function yn(L){if(L.height!=null)return L.height;var R=L.doc.cm;if(!R)return 0;if(!M(document.body,L.node)){var q="position: relative;";L.coverGutter&&(q+="margin-left: -"+R.display.gutters.offsetWidth+"px;"),L.noHScroll&&(q+="width: "+R.display.wrapper.clientWidth+"px;"),I(R.display.measure,O("div",[L.node],null,q))}return L.height=L.node.parentNode.offsetHeight}function St(L,R){for(var q=at(R);q!=L.wrapper;q=q.parentNode)if(!q||q.nodeType==1&&q.getAttribute("cm-ignore-events")=="true"||q.parentNode==L.sizer&&q!=L.mover)return!0}function qt(L){return L.lineSpace.offsetTop}function ur(L){return L.mover.offsetHeight-L.lineSpace.offsetHeight}function yr(L){if(L.cachedPaddingH)return L.cachedPaddingH;var R=I(L.measure,O("pre","x","CodeMirror-line-like")),q=window.getComputedStyle?window.getComputedStyle(R):R.currentStyle,te={left:parseInt(q.paddingLeft),right:parseInt(q.paddingRight)};return!isNaN(te.left)&&!isNaN(te.right)&&(L.cachedPaddingH=te),te}function Ur(L){return Z-L.display.nativeBarWidth}function Zr(L){return L.display.scroller.clientWidth-Ur(L)-L.display.barWidth}function cn(L){return L.display.scroller.clientHeight-Ur(L)-L.display.barHeight}function _n(L,R,q){var te=L.options.lineWrapping,se=te&&Zr(L);if(!R.measure.heights||te&&R.measure.width!=se){var Fe=R.measure.heights=[];if(te){R.measure.width=se;for(var At=R.text.firstChild.getClientRects(),Mt=0;Mt<At.length-1;Mt++){var Yt=At[Mt],$t=At[Mt+1];Math.abs(Yt.bottom-$t.bottom)>2&&Fe.push((Yt.bottom+$t.top)/2-q.top)}}Fe.push(q.bottom-q.top)}}function Fn(L,R,q){if(L.line==R)return{map:L.measure.map,cache:L.measure.cache};for(var te=0;te<L.rest.length;te++)if(L.rest[te]==R)return{map:L.measure.maps[te],cache:L.measure.caches[te]};for(var se=0;se<L.rest.length;se++)if(ct(L.rest[se])>q)return{map:L.measure.maps[se],cache:L.measure.caches[se],before:!0}}function qn(L,R){R=fa(R);var q=ct(R),te=L.display.externalMeasured=new Ro(L.doc,R,q);te.lineN=q;var se=te.built=lo(L,te);return te.text=se.pre,I(L.display.lineMeasure,se.pre),te}function Wn(L,R,q,te){return Gn(L,Kn(L,R),q,te)}function Rn(L,R){if(R>=L.display.viewFrom&&R<L.display.viewTo)return L.display.view[ra(L,R)];var q=L.display.externalMeasured;if(q&&R>=q.lineN&&R<q.lineN+q.size)return q}function Kn(L,R){var q=ct(R),te=Rn(L,q);te&&!te.text?te=null:te&&te.changes&&(Yr(L,te,q,mi(L)),L.curOp.forceUpdate=!0),te||(te=qn(L,R));var se=Fn(te,R,q);return{line:R,view:te,rect:null,map:se.map,cache:se.cache,before:se.before,hasHeights:!1}}function Gn(L,R,q,te,se){R.before&&(q=-1);var Fe=q+(te||""),At;return R.cache.hasOwnProperty(Fe)?At=R.cache[Fe]:(R.rect||(R.rect=R.view.text.getBoundingClientRect()),R.hasHeights||(_n(L,R.view,R.rect),R.hasHeights=!0),At=or(L,R,q,te),At.bogus||(R.cache[Fe]=At)),{left:At.left,right:At.right,top:se?At.rtop:At.top,bottom:se?At.rbottom:At.bottom}}var In={left:0,right:0,top:0,bottom:0};function kn(L,R,q){for(var te,se,Fe,At,Mt,Yt,$t=0;$t<L.length;$t+=3)if(Mt=L[$t],Yt=L[$t+1],R<Mt?(se=0,Fe=1,At="left"):R<Yt?(se=R-Mt,Fe=se+1):($t==L.length-3||R==Yt&&L[$t+3]>R)&&(Fe=Yt-Mt,se=Fe-1,R>=Yt&&(At="right")),se!=null){if(te=L[$t+2],Mt==Yt&&q==(te.insertLeft?"left":"right")&&(At=q),q=="left"&&se==0)for(;$t&&L[$t-2]==L[$t-3]&&L[$t-1].insertLeft;)te=L[($t-=3)+2],At="left";if(q=="right"&&se==Yt-Mt)for(;$t<L.length-3&&L[$t+3]==L[$t+4]&&!L[$t+5].insertLeft;)te=L[($t+=3)+2],At="right";break}return{node:te,start:se,end:Fe,collapse:At,coverStart:Mt,coverEnd:Yt}}function ti(L,R){var q=In;if(R=="left")for(var te=0;te<L.length&&!((q=L[te]).left!=q.right);te++);else for(var se=L.length-1;se>=0&&!((q=L[se]).left!=q.right);se--);return q}function or(L,R,q,te){var se=kn(R.map,q,te),Fe=se.node,At=se.start,Mt=se.end,Yt=se.collapse,$t;if(Fe.nodeType==3){for(var Fr=0;Fr<4;Fr++){for(;At&&ae(R.line.text.charAt(se.coverStart+At));)--At;for(;se.coverStart+Mt<se.coverEnd&&ae(R.line.text.charAt(se.coverStart+Mt));)++Mt;if(c&&o<9&&At==0&&Mt==se.coverEnd-se.coverStart?$t=Fe.parentNode.getBoundingClientRect():$t=ti(k(Fe,At,Mt).getClientRects(),te),$t.left||$t.right||At==0)break;Mt=At,At=At-1,Yt="right"}c&&o<11&&($t=br(L.display.measure,$t))}else{At>0&&(Yt=te="right");var $r;L.options.lineWrapping&&($r=Fe.getClientRects()).length>1?$t=$r[te=="right"?$r.length-1:0]:$t=Fe.getBoundingClientRect()}if(c&&o<9&&!At&&(!$t||!$t.left&&!$t.right)){var mn=Fe.parentNode.getClientRects()[0];mn?$t={left:mn.left,right:mn.left+ci(L.display),top:mn.top,bottom:mn.bottom}:$t=In}for(var vn=$t.top-R.rect.top,Mn=$t.bottom-R.rect.top,ai=(vn+Mn)/2,yi=R.view.measure.heights,Ai=0;Ai<yi.length-1&&!(ai<yi[Ai]);Ai++);var Ni=Ai?yi[Ai-1]:0,Mi=yi[Ai],Gi={left:(Yt=="right"?$t.right:$t.left)-R.rect.left,right:(Yt=="left"?$t.left:$t.right)-R.rect.left,top:Ni,bottom:Mi};return!$t.left&&!$t.right&&(Gi.bogus=!0),L.options.singleCursorHeightPerLine||(Gi.rtop=vn,Gi.rbottom=Mn),Gi}function br(L,R){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!oe(L))return R;var q=screen.logicalXDPI/screen.deviceXDPI,te=screen.logicalYDPI/screen.deviceYDPI;return{left:R.left*q,right:R.right*q,top:R.top*te,bottom:R.bottom*te}}function Mr(L){if(L.measure&&(L.measure.cache={},L.measure.heights=null,L.rest))for(var R=0;R<L.rest.length;R++)L.measure.caches[R]={}}function Sr(L){L.display.externalMeasure=null,E(L.display.lineMeasure);for(var R=0;R<L.display.view.length;R++)Mr(L.display.view[R])}function Wt(L){Sr(L),L.display.cachedCharWidth=L.display.cachedTextHeight=L.display.cachedPaddingH=null,L.options.lineWrapping||(L.display.maxLineChanged=!0),L.display.lineNumChars=null}function fr(){return a&&u?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Jt(){return a&&u?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Tr(L){var R=0;if(L.widgets)for(var q=0;q<L.widgets.length;++q)L.widgets[q].above&&(R+=yn(L.widgets[q]));return R}function _r(L,R,q,te,se){if(!se){var Fe=Tr(R);q.top+=Fe,q.bottom+=Fe}if(te=="line")return q;te||(te="local");var At=Yn(R);if(te=="local"?At+=qt(L.display):At-=L.display.viewOffset,te=="page"||te=="window"){var Mt=L.display.lineSpace.getBoundingClientRect();At+=Mt.top+(te=="window"?0:Jt());var Yt=Mt.left+(te=="window"?0:fr());q.left+=Yt,q.right+=Yt}return q.top+=At,q.bottom+=At,q}function Qr(L,R,q){if(q=="div")return R;var te=R.left,se=R.top;if(q=="page")te-=fr(),se-=Jt();else if(q=="local"||!q){var Fe=L.display.sizer.getBoundingClientRect();te+=Fe.left,se+=Fe.top}var At=L.display.lineSpace.getBoundingClientRect();return{left:te-At.left,top:se-At.top}}function Kr(L,R,q,te,se){return te||(te=be(L.doc,R.line)),_r(L,te,Wn(L,te,R.ch,se),q)}function en(L,R,q,te,se,Fe){te=te||be(L.doc,R.line),se||(se=Kn(L,te));function At(Mn,ai){var yi=Gn(L,se,Mn,ai?"right":"left",Fe);return ai?yi.left=yi.right:yi.right=yi.left,_r(L,te,yi,q)}var Mt=ut(te,L.doc.direction),Yt=R.ch,$t=R.sticky;if(Yt>=te.text.length?(Yt=te.text.length,$t="before"):Yt<=0&&(Yt=0,$t="after"),!Mt)return At($t=="before"?Yt-1:Yt,$t=="before");function Fr(Mn,ai,yi){var Ai=Mt[ai],Ni=Ai.level==1;return At(yi?Mn-1:Mn,Ni!=yi)}var $r=Ie(Mt,Yt,$t),mn=ge,vn=Fr(Yt,$r,$t=="before");return mn!=null&&(vn.other=Fr(Yt,mn,$t!="before")),vn}function An(L,R){var q=0;R=Ye(L.doc,R),L.options.lineWrapping||(q=ci(L.display)*R.ch);var te=be(L.doc,R.line),se=Yn(te)+qt(L.display);return{left:q,right:q,top:se,bottom:se+te.height}}function xn(L,R,q,te,se){var Fe=Pt(L,R,q);return Fe.xRel=se,te&&(Fe.outside=te),Fe}function Cn(L,R,q){var te=L.doc;if(q+=L.display.viewOffset,q<0)return xn(te.first,0,null,-1,-1);var se=Lt(te,q),Fe=te.first+te.size-1;if(se>Fe)return xn(te.first+te.size-1,be(te,Fe).text.length,null,1,1);R<0&&(R=0);for(var At=be(te,se);;){var Mt=Ii(L,At,se,R,q),Yt=ta(At,Mt.ch+(Mt.xRel>0||Mt.outside>0?1:0));if(!Yt)return Mt;var $t=Yt.find(1);if($t.line==se)return $t;At=be(te,se=$t.line)}}function jn(L,R,q,te){te-=Tr(R);var se=R.text.length,Fe=Ee(function(At){return Gn(L,q,At-1).bottom<=te},se,0);return se=Ee(function(At){return Gn(L,q,At).top>te},Fe,se),{begin:Fe,end:se}}function di(L,R,q,te){q||(q=Kn(L,R));var se=_r(L,R,Gn(L,q,te),"line").top;return jn(L,R,q,se)}function Ei(L,R,q,te){return L.bottom<=q?!1:L.top>q?!0:(te?L.left:L.right)>R}function Ii(L,R,q,te,se){se-=Yn(R);var Fe=Kn(L,R),At=Tr(R),Mt=0,Yt=R.text.length,$t=!0,Fr=ut(R,L.doc.direction);if(Fr){var $r=(L.options.lineWrapping?wi:vi)(L,R,q,Fe,Fr,te,se);$t=$r.level!=1,Mt=$t?$r.from:$r.to-1,Yt=$t?$r.to:$r.from-1}var mn=null,vn=null,Mn=Ee(function(ya){var da=Gn(L,Fe,ya);return da.top+=At,da.bottom+=At,Ei(da,te,se,!1)?(da.top<=se&&da.left<=te&&(mn=ya,vn=da),!0):!1},Mt,Yt),ai,yi,Ai=!1;if(vn){var Ni=te-vn.left<vn.right-te,Mi=Ni==$t;Mn=mn+(Mi?0:1),yi=Mi?"after":"before",ai=Ni?vn.left:vn.right}else{!$t&&(Mn==Yt||Mn==Mt)&&Mn++,yi=Mn==0?"after":Mn==R.text.length?"before":Gn(L,Fe,Mn-($t?1:0)).bottom+At<=se==$t?"after":"before";var Gi=en(L,Pt(q,Mn,yi),"line",R,Fe);ai=Gi.left,Ai=se<Gi.top?-1:se>=Gi.bottom?1:0}return Mn=Le(R.text,Mn,1),xn(q,Mn,yi,Ai,te-ai)}function vi(L,R,q,te,se,Fe,At){var Mt=Ee(function($r){var mn=se[$r],vn=mn.level!=1;return Ei(en(L,Pt(q,vn?mn.to:mn.from,vn?"before":"after"),"line",R,te),Fe,At,!0)},0,se.length-1),Yt=se[Mt];if(Mt>0){var $t=Yt.level!=1,Fr=en(L,Pt(q,$t?Yt.from:Yt.to,$t?"after":"before"),"line",R,te);Ei(Fr,Fe,At,!0)&&Fr.top>At&&(Yt=se[Mt-1])}return Yt}function wi(L,R,q,te,se,Fe,At){var Mt=jn(L,R,te,At),Yt=Mt.begin,$t=Mt.end;/\s/.test(R.text.charAt($t-1))&&$t--;for(var Fr=null,$r=null,mn=0;mn<se.length;mn++){var vn=se[mn];if(vn.from>=$t||vn.to<=Yt)continue;var Mn=vn.level!=1,ai=Gn(L,te,Mn?Math.min($t,vn.to)-1:Math.max(Yt,vn.from)).right,yi=ai<Fe?Fe-ai+1e9:ai-Fe;(!Fr||$r>yi)&&(Fr=vn,$r=yi)}return Fr||(Fr=se[se.length-1]),Fr.from<Yt&&(Fr={from:Yt,to:Fr.to,level:Fr.level}),Fr.to>$t&&(Fr={from:Fr.from,to:$t,level:Fr.level}),Fr}var ri;function Un(L){if(L.cachedTextHeight!=null)return L.cachedTextHeight;if(ri==null){ri=O("pre",null,"CodeMirror-line-like");for(var R=0;R<49;++R)ri.appendChild(document.createTextNode("x")),ri.appendChild(O("br"));ri.appendChild(document.createTextNode("x"))}I(L.measure,ri);var q=ri.offsetHeight/50;return q>3&&(L.cachedTextHeight=q),E(L.measure),q||1}function ci(L){if(L.cachedCharWidth!=null)return L.cachedCharWidth;var R=O("span","xxxxxxxxxx"),q=O("pre",[R],"CodeMirror-line-like");I(L.measure,q);var te=R.getBoundingClientRect(),se=(te.right-te.left)/10;return se>2&&(L.cachedCharWidth=se),se||10}function mi(L){for(var R=L.display,q={},te={},se=R.gutters.clientLeft,Fe=R.gutters.firstChild,At=0;Fe;Fe=Fe.nextSibling,++At){var Mt=L.display.gutterSpecs[At].className;q[Mt]=Fe.offsetLeft+Fe.clientLeft+se,te[Mt]=Fe.clientWidth}return{fixedPos:Ki(R),gutterTotalWidth:R.gutters.offsetWidth,gutterLeft:q,gutterWidth:te,wrapperWidth:R.wrapper.clientWidth}}function Ki(L){return L.scroller.getBoundingClientRect().left-L.sizer.getBoundingClientRect().left}function ii(L){var R=Un(L.display),q=L.options.lineWrapping,te=q&&Math.max(5,L.display.scroller.clientWidth/ci(L.display)-3);return function(se){if(Dn(L.doc,se))return 0;var Fe=0;if(se.widgets)for(var At=0;At<se.widgets.length;At++)se.widgets[At].height&&(Fe+=se.widgets[At].height);return q?Fe+(Math.ceil(se.text.length/te)||1)*R:Fe+R}}function fi(L){var R=L.doc,q=ii(L);R.iter(function(te){var se=q(te);se!=te.height&&Qe(te,se)})}function pi(L,R,q,te){var se=L.display;if(!q&&at(R).getAttribute("cm-not-content")=="true")return null;var Fe,At,Mt=se.lineSpace.getBoundingClientRect();try{Fe=R.clientX-Mt.left,At=R.clientY-Mt.top}catch($r){return null}var Yt=Cn(L,Fe,At),$t;if(te&&Yt.xRel>0&&($t=be(L.doc,Yt.line).text).length==Yt.ch){var Fr=K($t,$t.length,L.options.tabSize)-$t.length;Yt=Pt(Yt.line,Math.max(0,Math.round((Fe-yr(L.display).left)/ci(L.display))-Fr))}return Yt}function ra(L,R){if(R>=L.display.viewTo)return null;if(R-=L.display.viewFrom,R<0)return null;for(var q=L.display.view,te=0;te<q.length;te++)if(R-=q[te].size,R<0)return te}function ki(L,R,q,te){R==null&&(R=L.doc.first),q==null&&(q=L.doc.first+L.doc.size),te||(te=0);var se=L.display;if(te&&q<se.viewTo&&(se.updateLineNumbers==null||se.updateLineNumbers>R)&&(se.updateLineNumbers=R),L.curOp.viewChanged=!0,R>=se.viewTo)ln&&ui(L.doc,R)<se.viewTo&&Si(L);else if(q<=se.viewFrom)ln&&ba(L.doc,q+te)>se.viewFrom?Si(L):(se.viewFrom+=te,se.viewTo+=te);else if(R<=se.viewFrom&&q>=se.viewTo)Si(L);else if(R<=se.viewFrom){var Fe=Yi(L,q,q+te,1);Fe?(se.view=se.view.slice(Fe.index),se.viewFrom=Fe.lineN,se.viewTo+=te):Si(L)}else if(q>=se.viewTo){var At=Yi(L,R,R,-1);At?(se.view=se.view.slice(0,At.index),se.viewTo=At.lineN):Si(L)}else{var Mt=Yi(L,R,R,-1),Yt=Yi(L,q,q+te,1);Mt&&Yt?(se.view=se.view.slice(0,Mt.index).concat(si(L,Mt.lineN,Yt.lineN)).concat(se.view.slice(Yt.index)),se.viewTo+=te):Si(L)}var $t=se.externalMeasured;$t&&(q<$t.lineN?$t.lineN+=te:R<$t.lineN+$t.size&&(se.externalMeasured=null))}function Zn(L,R,q){L.curOp.viewChanged=!0;var te=L.display,se=L.display.externalMeasured;if(se&&R>=se.lineN&&R<se.lineN+se.size&&(te.externalMeasured=null),R<te.viewFrom||R>=te.viewTo)return;var Fe=te.view[ra(L,R)];if(Fe.node==null)return;var At=Fe.changes||(Fe.changes=[]);X(At,q)==-1&&At.push(q)}function Si(L){L.display.viewFrom=L.display.viewTo=L.doc.first,L.display.view=[],L.display.viewOffset=0}function Yi(L,R,q,te){var se=ra(L,R),Fe,At=L.display.view;if(!ln||q==L.doc.first+L.doc.size)return{index:se,lineN:q};for(var Mt=L.display.viewFrom,Yt=0;Yt<se;Yt++)Mt+=At[Yt].size;if(Mt!=R){if(te>0){if(se==At.length-1)return null;Fe=Mt+At[se].size-R,se++}else Fe=Mt-R;R+=Fe,q+=Fe}for(;ui(L.doc,q)!=q;){if(se==(te<0?0:At.length-1))return null;q+=te*At[se-(te<0?1:0)].size,se+=te}return{index:se,lineN:q}}function Pi(L,R,q){var te=L.display,se=te.view;se.length==0||R>=te.viewTo||q<=te.viewFrom?(te.view=si(L,R,q),te.viewFrom=R):(te.viewFrom>R?te.view=si(L,R,te.viewFrom).concat(te.view):te.viewFrom<R&&(te.view=te.view.slice(ra(L,R))),te.viewFrom=R,te.viewTo<q?te.view=te.view.concat(si(L,te.viewTo,q)):te.viewTo>q&&(te.view=te.view.slice(0,ra(L,q)))),te.viewTo=q}function Ci(L){for(var R=L.display.view,q=0,te=0;te<R.length;te++){var se=R[te];!se.hidden&&(!se.node||se.changes)&&++q}return q}function bi(L){L.display.input.showSelection(L.display.input.prepareSelection())}function wa(L,R){R===void 0&&(R=!0);for(var q=L.doc,te={},se=te.cursors=document.createDocumentFragment(),Fe=te.selection=document.createDocumentFragment(),At=0;At<q.sel.ranges.length;At++){if(!R&&At==q.sel.primIndex)continue;var Mt=q.sel.ranges[At];if(Mt.from().line>=L.display.viewTo||Mt.to().line<L.display.viewFrom)continue;var Yt=Mt.empty();(Yt||L.options.showCursorWhenSelecting)&&Zi(L,Mt.head,se),Yt||Ia(L,Mt,Fe)}return te}function Zi(L,R,q){var te=en(L,R,"div",null,null,!L.options.singleCursorHeightPerLine),se=q.appendChild(O("div","\xA0","CodeMirror-cursor"));if(se.style.left=te.left+"px",se.style.top=te.top+"px",se.style.height=Math.max(0,te.bottom-te.top)*L.options.cursorHeight+"px",te.other){var Fe=q.appendChild(O("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));Fe.style.display="",Fe.style.left=te.other.left+"px",Fe.style.top=te.other.top+"px",Fe.style.height=(te.other.bottom-te.other.top)*.85+"px"}}function ha(L,R){return L.top-R.top||L.left-R.left}function Ia(L,R,q){var te=L.display,se=L.doc,Fe=document.createDocumentFragment(),At=yr(L.display),Mt=At.left,Yt=Math.max(te.sizerWidth,Zr(L)-te.sizer.offsetLeft)-At.right,$t=se.direction=="ltr";function Fr(Mi,Gi,ya,da){Gi<0&&(Gi=0),Gi=Math.round(Gi),da=Math.round(da),Fe.appendChild(O("div",null,"CodeMirror-selected","position: absolute; left: "+Mi+`px;
|
|
|
top: `+Gi+"px; width: "+(ya==null?Yt-Mi:ya)+`px;
|
|
|
height: `+(da-Gi)+"px"))}function $r(Mi,Gi,ya){var da=be(se,Mi),qa=da.text.length,ho,ms;function Po(as,zs){return Kr(L,Pt(Mi,as),"div",da,zs)}function Fs(as,zs,ws){var gs=di(L,da,null,as),us=zs=="ltr"==(ws=="after")?"left":"right",qo=ws=="after"?gs.begin:gs.end-(/\s/.test(da.text.charAt(gs.end-1))?2:1);return Po(qo,us)[us]}var Ks=ut(da,se.direction);return ne(Ks,Gi||0,ya==null?qa:ya,function(as,zs,ws,gs){var us=ws=="ltr",qo=Po(as,us?"left":"right"),Ts=Po(zs-1,us?"right":"left"),ql=Gi==null&&as==0,cl=ya==null&&zs==qa,_s=gs==0,Xs=!Ks||gs==Ks.length-1;if(Ts.top-qo.top<=3){var As=($t?ql:cl)&&_s,ec=($t?cl:ql)&&Xs,Vi=As?Mt:(us?qo:Ts).left,tl=ec?Yt:(us?Ts:qo).right;Fr(Vi,qo.top,tl-Vi,qo.bottom)}else{var dl,Vo,Jl,Eo;us?(dl=$t&&ql&&_s?Mt:qo.left,Vo=$t?Yt:Fs(as,ws,"before"),Jl=$t?Mt:Fs(zs,ws,"after"),Eo=$t&&cl&&Xs?Yt:Ts.right):(dl=$t?Fs(as,ws,"before"):Mt,Vo=!$t&&ql&&_s?Yt:qo.right,Jl=!$t&&cl&&Xs?Mt:Ts.left,Eo=$t?Fs(zs,ws,"after"):Yt),Fr(dl,qo.top,Vo-dl,qo.bottom),qo.bottom<Ts.top&&Fr(Mt,qo.bottom,null,Ts.top),Fr(Jl,Ts.top,Eo-Jl,Ts.bottom)}(!ho||ha(qo,ho)<0)&&(ho=qo),ha(Ts,ho)<0&&(ho=Ts),(!ms||ha(qo,ms)<0)&&(ms=qo),ha(Ts,ms)<0&&(ms=Ts)}),{start:ho,end:ms}}var mn=R.from(),vn=R.to();if(mn.line==vn.line)$r(mn.line,mn.ch,vn.ch);else{var Mn=be(se,mn.line),ai=be(se,vn.line),yi=fa(Mn)==fa(ai),Ai=$r(mn.line,mn.ch,yi?Mn.text.length+1:null).end,Ni=$r(vn.line,yi?0:null,vn.ch).start;yi&&(Ai.top<Ni.top-2?(Fr(Ai.right,Ai.top,null,Ai.bottom),Fr(Mt,Ni.top,Ni.left,Ni.bottom)):Fr(Ai.right,Ai.top,Ni.left-Ai.right,Ai.bottom)),Ai.bottom<Ni.top&&Fr(Mt,Ai.bottom,null,Ni.top)}q.appendChild(Fe)}function xi(L){if(!L.state.focused)return;var R=L.display;clearInterval(R.blinker);var q=!0;R.cursorDiv.style.visibility="",L.options.cursorBlinkRate>0?R.blinker=setInterval(function(){L.hasFocus()||ga(L),R.cursorDiv.style.visibility=(q=!q)?"":"hidden"},L.options.cursorBlinkRate):L.options.cursorBlinkRate<0&&(R.cursorDiv.style.visibility="hidden")}function Ba(L){L.state.focused||(L.display.input.focus(),qi(L))}function oa(L){L.state.delayingBlurEvent=!0,setTimeout(function(){L.state.delayingBlurEvent&&(L.state.delayingBlurEvent=!1,ga(L))},100)}function qi(L,R){if(L.state.delayingBlurEvent&&(L.state.delayingBlurEvent=!1),L.options.readOnly=="nocursor")return;L.state.focused||(_t(L,"focus",L,R),L.state.focused=!0,V(L.display.wrapper,"CodeMirror-focused"),!L.curOp&&L.display.selForContextMenu!=L.doc.sel&&(L.display.input.reset(),n&&setTimeout(function(){return L.display.input.reset(!0)},20)),L.display.input.receivedFocus()),xi(L)}function ga(L,R){if(L.state.delayingBlurEvent)return;L.state.focused&&(_t(L,"blur",L,R),L.state.focused=!1,S(L.display.wrapper,"CodeMirror-focused")),clearInterval(L.display.blinker),setTimeout(function(){L.state.focused||(L.display.shift=!1)},150)}function na(L){for(var R=L.display,q=R.lineDiv.offsetTop,te=0;te<R.view.length;te++){var se=R.view[te],Fe=L.options.lineWrapping,At=void 0,Mt=0;if(se.hidden)continue;if(c&&o<8){var Yt=se.node.offsetTop+se.node.offsetHeight;At=Yt-q,q=Yt}else{var $t=se.node.getBoundingClientRect();At=$t.bottom-$t.top,!Fe&&se.text.firstChild&&(Mt=se.text.firstChild.getBoundingClientRect().right-$t.left-1)}var Fr=se.line.height-At;if((Fr>.005||Fr<-.005)&&(Qe(se.line,At),ca(se.line),se.rest))for(var $r=0;$r<se.rest.length;$r++)ca(se.rest[$r]);if(Mt>L.display.sizerWidth){var mn=Math.ceil(Mt/ci(L.display));mn>L.display.maxLineLength&&(L.display.maxLineLength=mn,L.display.maxLine=se.line,L.display.maxLineChanged=!0)}}}function ca(L){if(L.widgets)for(var R=0;R<L.widgets.length;++R){var q=L.widgets[R],te=q.node.parentNode;te&&(q.height=te.offsetHeight)}}function Wa(L,R,q){var te=q&&q.top!=null?Math.max(0,q.top):L.scroller.scrollTop;te=Math.floor(te-qt(L));var se=q&&q.bottom!=null?q.bottom:te+L.wrapper.clientHeight,Fe=Lt(R,te),At=Lt(R,se);if(q&&q.ensure){var Mt=q.ensure.from.line,Yt=q.ensure.to.line;Mt<Fe?(Fe=Mt,At=Lt(R,Yn(be(R,Mt))+L.wrapper.clientHeight)):Math.min(Yt,R.lastLine())>=At&&(Fe=Lt(R,Yn(be(R,Yt))-L.wrapper.clientHeight),At=Yt)}return{from:Fe,to:Math.max(At,Fe+1)}}function Pa(L,R){if(Nt(L,"scrollCursorIntoView"))return;var q=L.display,te=q.sizer.getBoundingClientRect(),se=null;if(R.top+te.top<0?se=!0:R.bottom+te.top>(window.innerHeight||document.documentElement.clientHeight)&&(se=!1),se!=null&&!e){var Fe=O("div","\u200B",null,`position: absolute;
|
|
|
top: `+(R.top-q.viewOffset-qt(L.display))+`px;
|
|
|
height: `+(R.bottom-R.top+Ur(L)+q.barHeight)+`px;
|
|
|
left: `+R.left+"px; width: "+Math.max(2,R.right-R.left)+"px;");L.display.lineSpace.appendChild(Fe),Fe.scrollIntoView(se),L.display.lineSpace.removeChild(Fe)}}function ro(L,R,q,te){te==null&&(te=0);var se;!L.options.lineWrapping&&R==q&&(R=R.ch?Pt(R.line,R.sticky=="before"?R.ch-1:R.ch,"after"):R,q=R.sticky=="before"?Pt(R.line,R.ch+1,"before"):R);for(var Fe=0;Fe<5;Fe++){var At=!1,Mt=en(L,R),Yt=!q||q==R?Mt:en(L,q);se={left:Math.min(Mt.left,Yt.left),top:Math.min(Mt.top,Yt.top)-te,right:Math.max(Mt.left,Yt.left),bottom:Math.max(Mt.bottom,Yt.bottom)+te};var $t=Ua(L,se),Fr=L.doc.scrollTop,$r=L.doc.scrollLeft;if($t.scrollTop!=null&&(Qi(L,$t.scrollTop),Math.abs(L.doc.scrollTop-Fr)>1&&(At=!0)),$t.scrollLeft!=null&&(yo(L,$t.scrollLeft),Math.abs(L.doc.scrollLeft-$r)>1&&(At=!0)),!At)break}return se}function Fa(L,R){var q=Ua(L,R);q.scrollTop!=null&&Qi(L,q.scrollTop),q.scrollLeft!=null&&yo(L,q.scrollLeft)}function Ua(L,R){var q=L.display,te=Un(L.display);R.top<0&&(R.top=0);var se=L.curOp&&L.curOp.scrollTop!=null?L.curOp.scrollTop:q.scroller.scrollTop,Fe=cn(L),At={};R.bottom-R.top>Fe&&(R.bottom=R.top+Fe);var Mt=L.doc.height+ur(q),Yt=R.top<te,$t=R.bottom>Mt-te;if(R.top<se)At.scrollTop=Yt?0:R.top;else if(R.bottom>se+Fe){var Fr=Math.min(R.top,($t?Mt:R.bottom)-Fe);Fr!=se&&(At.scrollTop=Fr)}var $r=L.options.fixedGutter?0:q.gutters.offsetWidth,mn=L.curOp&&L.curOp.scrollLeft!=null?L.curOp.scrollLeft:q.scroller.scrollLeft-$r,vn=Zr(L)-q.gutters.offsetWidth,Mn=R.right-R.left>vn;return Mn&&(R.right=R.left+vn),R.left<10?At.scrollLeft=0:R.left<mn?At.scrollLeft=Math.max(0,R.left+$r-(Mn?0:10)):R.right>vn+mn-3&&(At.scrollLeft=R.right+(Mn?0:10)-vn),At}function Ya(L,R){if(R==null)return;ja(L),L.curOp.scrollTop=(L.curOp.scrollTop==null?L.doc.scrollTop:L.curOp.scrollTop)+R}function Aa(L){ja(L);var R=L.getCursor();L.curOp.scrollToPos={from:R,to:R,margin:L.options.cursorScrollMargin}}function Ji(L,R,q){(R!=null||q!=null)&&ja(L),R!=null&&(L.curOp.scrollLeft=R),q!=null&&(L.curOp.scrollTop=q)}function La(L,R){ja(L),L.curOp.scrollToPos=R}function ja(L){var R=L.curOp.scrollToPos;if(R){L.curOp.scrollToPos=null;var q=An(L,R.from),te=An(L,R.to);ji(L,q,te,R.margin)}}function ji(L,R,q,te){var se=Ua(L,{left:Math.min(R.left,q.left),top:Math.min(R.top,q.top)-te,right:Math.max(R.right,q.right),bottom:Math.max(R.bottom,q.bottom)+te});Ji(L,se.scrollLeft,se.scrollTop)}function Qi(L,R){if(Math.abs(L.doc.scrollTop-R)<2)return;C||To(L,{top:R}),uo(L,R,!0),C&&To(L),wo(L,100)}function uo(L,R,q){if(R=Math.max(0,Math.min(L.display.scroller.scrollHeight-L.display.scroller.clientHeight,R)),L.display.scroller.scrollTop==R&&!q)return;L.doc.scrollTop=R,L.display.scrollbars.setScrollTop(R),L.display.scroller.scrollTop!=R&&(L.display.scroller.scrollTop=R)}function yo(L,R,q,te){if(R=Math.max(0,Math.min(R,L.display.scroller.scrollWidth-L.display.scroller.clientWidth)),(q?R==L.doc.scrollLeft:Math.abs(L.doc.scrollLeft-R)<2)&&!te)return;L.doc.scrollLeft=R,ts(L),L.display.scroller.scrollLeft!=R&&(L.display.scroller.scrollLeft=R),L.display.scrollbars.setScrollLeft(R)}function Lo(L){var R=L.display,q=R.gutters.offsetWidth,te=Math.round(L.doc.height+ur(L.display));return{clientHeight:R.scroller.clientHeight,viewHeight:R.wrapper.clientHeight,scrollWidth:R.scroller.scrollWidth,clientWidth:R.scroller.clientWidth,viewWidth:R.wrapper.clientWidth,barLeft:L.options.fixedGutter?q:0,docHeight:te,scrollHeight:te+Ur(L)+R.barHeight,nativeBarWidth:R.nativeBarWidth,gutterWidth:q}}var Oo=function(R,q,te){this.cm=te;var se=this.vert=O("div",[O("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),Fe=this.horiz=O("div",[O("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");se.tabIndex=Fe.tabIndex=-1,R(se),R(Fe),Pe(se,"scroll",function(){se.clientHeight&&q(se.scrollTop,"vertical")}),Pe(Fe,"scroll",function(){Fe.clientWidth&&q(Fe.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,c&&o<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Oo.prototype.update=function(L){var R=L.scrollWidth>L.clientWidth+1,q=L.scrollHeight>L.clientHeight+1,te=L.nativeBarWidth;if(q){this.vert.style.display="block",this.vert.style.bottom=R?te+"px":"0";var se=L.viewHeight-(R?te:0);this.vert.firstChild.style.height=Math.max(0,L.scrollHeight-L.clientHeight+se)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(R){this.horiz.style.display="block",this.horiz.style.right=q?te+"px":"0",this.horiz.style.left=L.barLeft+"px";var Fe=L.viewWidth-L.barLeft-(q?te:0);this.horiz.firstChild.style.width=Math.max(0,L.scrollWidth-L.clientWidth+Fe)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&L.clientHeight>0&&(te==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:q?te:0,bottom:R?te:0}},Oo.prototype.setScrollLeft=function(L){this.horiz.scrollLeft!=L&&(this.horiz.scrollLeft=L),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Oo.prototype.setScrollTop=function(L){this.vert.scrollTop!=L&&(this.vert.scrollTop=L),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Oo.prototype.zeroWidthHack=function(){var L=A&&!l?"12px":"18px";this.horiz.style.height=this.vert.style.width=L,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new G,this.disableVert=new G},Oo.prototype.enableZeroWidthBar=function(L,R,q){L.style.pointerEvents="auto";function te(){var se=L.getBoundingClientRect(),Fe=q=="vert"?document.elementFromPoint(se.right-1,(se.top+se.bottom)/2):document.elementFromPoint((se.right+se.left)/2,se.bottom-1);Fe!=L?L.style.pointerEvents="none":R.set(1e3,te)}R.set(1e3,te)},Oo.prototype.clear=function(){var L=this.horiz.parentNode;L.removeChild(this.horiz),L.removeChild(this.vert)};var Va=function(){};Va.prototype.update=function(){return{bottom:0,right:0}},Va.prototype.setScrollLeft=function(){},Va.prototype.setScrollTop=function(){},Va.prototype.clear=function(){};function $i(L,R){R||(R=Lo(L));var q=L.display.barWidth,te=L.display.barHeight;co(L,R);for(var se=0;se<4&&q!=L.display.barWidth||te!=L.display.barHeight;se++)q!=L.display.barWidth&&L.options.lineWrapping&&na(L),co(L,Lo(L)),q=L.display.barWidth,te=L.display.barHeight}function co(L,R){var q=L.display,te=q.scrollbars.update(R);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&&L.options.coverGutterNextToScrollbar&&L.options.fixedGutter?(q.gutterFiller.style.display="block",q.gutterFiller.style.height=te.bottom+"px",q.gutterFiller.style.width=R.gutterWidth+"px"):q.gutterFiller.style.display=""}var Zo={native:Oo,null:Va};function Ha(L){L.display.scrollbars&&(L.display.scrollbars.clear(),L.display.scrollbars.addClass&&S(L.display.wrapper,L.display.scrollbars.addClass)),L.display.scrollbars=new Zo[L.options.scrollbarStyle](function(R){L.display.wrapper.insertBefore(R,L.display.scrollbarFiller),Pe(R,"mousedown",function(){L.state.focused&&setTimeout(function(){return L.display.input.focus()},0)}),R.setAttribute("cm-not-content","true")},function(R,q){q=="horizontal"?yo(L,R):Qi(L,R)},L),L.display.scrollbars.addClass&&V(L.display.wrapper,L.display.scrollbars.addClass)}var bo=0;function ma(L){L.curOp={cm:L,viewChanged:!1,startHeight:L.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:++bo},Xo(L.curOp)}function Bo(L){var R=L.curOp;R&&vo(R,function(q){for(var te=0;te<q.ops.length;te++)q.ops[te].cm.curOp=null;$s(q)})}function $s(L){for(var R=L.ops,q=0;q<R.length;q++)ss(R[q]);for(var te=0;te<R.length;te++)Ho(R[te]);for(var se=0;se<R.length;se++)vs(R[se]);for(var Fe=0;Fe<R.length;Fe++)cs(R[Fe]);for(var At=0;At<R.length;At++)Jo(R[At])}function ss(L){var R=L.cm,q=R.display;Ls(R),L.updateMaxLine&&ni(R),L.mustUpdate=L.viewChanged||L.forceUpdate||L.scrollTop!=null||L.scrollToPos&&(L.scrollToPos.from.line<q.viewFrom||L.scrollToPos.to.line>=q.viewTo)||q.maxLineChanged&&R.options.lineWrapping,L.update=L.mustUpdate&&new Hn(R,L.mustUpdate&&{top:L.scrollTop,ensure:L.scrollToPos},L.forceUpdate)}function Ho(L){L.updatedDisplay=L.mustUpdate&&Na(L.cm,L.update)}function vs(L){var R=L.cm,q=R.display;L.updatedDisplay&&na(R),L.barMeasure=Lo(R),q.maxLineChanged&&!R.options.lineWrapping&&(L.adjustWidthTo=Wn(R,q.maxLine,q.maxLine.text.length).left+3,R.display.sizerWidth=L.adjustWidthTo,L.barMeasure.scrollWidth=Math.max(q.scroller.clientWidth,q.sizer.offsetLeft+L.adjustWidthTo+Ur(R)+R.display.barWidth),L.maxScrollLeft=Math.max(0,q.sizer.offsetLeft+L.adjustWidthTo-Zr(R))),(L.updatedDisplay||L.selectionChanged)&&(L.preparedSelection=q.input.prepareSelection())}function cs(L){var R=L.cm;L.adjustWidthTo!=null&&(R.display.sizer.style.minWidth=L.adjustWidthTo+"px",L.maxScrollLeft<R.doc.scrollLeft&&yo(R,Math.min(R.display.scroller.scrollLeft,L.maxScrollLeft),!0),R.display.maxLineChanged=!1);var q=L.focus&&L.focus==P();L.preparedSelection&&R.display.input.showSelection(L.preparedSelection,q),(L.updatedDisplay||L.startHeight!=R.doc.height)&&$i(R,L.barMeasure),L.updatedDisplay&&es(R,L.barMeasure),L.selectionChanged&&xi(R),R.state.focused&&L.updateInput&&R.display.input.reset(L.typing),q&&Ba(L.cm)}function Jo(L){var R=L.cm,q=R.display,te=R.doc;if(L.updatedDisplay&&Ga(R,L.update),q.wheelStartX!=null&&(L.scrollTop!=null||L.scrollLeft!=null||L.scrollToPos)&&(q.wheelStartX=q.wheelStartY=null),L.scrollTop!=null&&uo(R,L.scrollTop,L.forceScroll),L.scrollLeft!=null&&yo(R,L.scrollLeft,!0,!0),L.scrollToPos){var se=ro(R,Ye(te,L.scrollToPos.from),Ye(te,L.scrollToPos.to),L.scrollToPos.margin);Pa(R,se)}var Fe=L.maybeHiddenMarkers,At=L.maybeUnhiddenMarkers;if(Fe)for(var Mt=0;Mt<Fe.length;++Mt)Fe[Mt].lines.length||_t(Fe[Mt],"hide");if(At)for(var Yt=0;Yt<At.length;++Yt)At[Yt].lines.length&&_t(At[Yt],"unhide");q.wrapper.offsetHeight&&(te.scrollTop=R.display.scroller.scrollTop),L.changeObjs&&_t(R,"changes",R,L.changeObjs),L.update&&L.update.finish()}function Fo(L,R){if(L.curOp)return R();ma(L);try{return R()}finally{Bo(L)}}function eo(L,R){return function(){if(L.curOp)return R.apply(L,arguments);ma(L);try{return R.apply(L,arguments)}finally{Bo(L)}}}function Mo(L){return function(){if(this.curOp)return L.apply(this,arguments);ma(this);try{return L.apply(this,arguments)}finally{Bo(this)}}}function po(L){return function(){var R=this.cm;if(!R||R.curOp)return L.apply(this,arguments);ma(R);try{return L.apply(this,arguments)}finally{Bo(R)}}}function wo(L,R){L.doc.highlightFrontier<L.display.viewTo&&L.state.highlight.set(R,U(Dr,L))}function Dr(L){var R=L.doc;if(R.highlightFrontier>=L.display.viewTo)return;var q=+new Date+L.options.workTime,te=kt(L,R.highlightFrontier),se=[];R.iter(te.line,Math.min(R.first+R.size,L.display.viewTo+500),function(Fe){if(te.line>=L.display.viewFrom){var At=Fe.styles,Mt=Fe.text.length>L.options.maxHighlightLength?ir(R.mode,te.state):null,Yt=ht(L,Fe,te,!0);Mt&&(te.state=Mt),Fe.styles=Yt.styles;var $t=Fe.styleClasses,Fr=Yt.classes;Fr?Fe.styleClasses=Fr:$t&&(Fe.styleClasses=null);for(var $r=!At||At.length!=Fe.styles.length||$t!=Fr&&(!$t||!Fr||$t.bgClass!=Fr.bgClass||$t.textClass!=Fr.textClass),mn=0;!$r&&mn<At.length;++mn)$r=At[mn]!=Fe.styles[mn];$r&&se.push(te.line),Fe.stateAfter=te.save(),te.nextLine()}else Fe.text.length<=L.options.maxHighlightLength&&Tt(L,Fe.text,te),Fe.stateAfter=te.line%5==0?te.save():null,te.nextLine();if(+new Date>q)return wo(L,L.options.workDelay),!0}),R.highlightFrontier=te.line,R.modeFrontier=Math.max(R.modeFrontier,te.line),se.length&&Fo(L,function(){for(var Fe=0;Fe<se.length;Fe++)Zn(L,se[Fe],"text")})}var Hn=function(R,q,te){var se=R.display;this.viewport=q,this.visible=Wa(se,R.doc,q),this.editorIsHidden=!se.wrapper.offsetWidth,this.wrapperHeight=se.wrapper.clientHeight,this.wrapperWidth=se.wrapper.clientWidth,this.oldDisplayWidth=Zr(R),this.force=te,this.dims=mi(R),this.events=[]};Hn.prototype.signal=function(L,R){Ft(L,R)&&this.events.push(arguments)},Hn.prototype.finish=function(){for(var L=0;L<this.events.length;L++)_t.apply(null,this.events[L])};function Ls(L){var R=L.display;!R.scrollbarsClipped&&R.scroller.offsetWidth&&(R.nativeBarWidth=R.scroller.offsetWidth-R.scroller.clientWidth,R.heightForcer.style.height=Ur(L)+"px",R.sizer.style.marginBottom=-R.nativeBarWidth+"px",R.sizer.style.borderRightWidth=Ur(L)+"px",R.scrollbarsClipped=!0)}function Ss(L){if(L.hasFocus())return null;var R=P();if(!R||!M(L.display.lineDiv,R))return null;var q={activeElt:R};if(window.getSelection){var te=window.getSelection();te.anchorNode&&te.extend&&M(L.display.lineDiv,te.anchorNode)&&(q.anchorNode=te.anchorNode,q.anchorOffset=te.anchorOffset,q.focusNode=te.focusNode,q.focusOffset=te.focusOffset)}return q}function ys(L){if(!L||!L.activeElt||L.activeElt==P())return;if(L.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(L.activeElt.nodeName)&&L.anchorNode&&M(document.body,L.anchorNode)&&M(document.body,L.focusNode)){var R=window.getSelection(),q=document.createRange();q.setEnd(L.anchorNode,L.anchorOffset),q.collapse(!1),R.removeAllRanges(),R.addRange(q),R.extend(L.focusNode,L.focusOffset)}}function Na(L,R){var q=L.display,te=L.doc;if(R.editorIsHidden)return Si(L),!1;if(!R.force&&R.visible.from>=q.viewFrom&&R.visible.to<=q.viewTo&&(q.updateLineNumbers==null||q.updateLineNumbers>=q.viewTo)&&q.renderedView==q.view&&Ci(L)==0)return!1;Gs(L)&&(Si(L),R.dims=mi(L));var se=te.first+te.size,Fe=Math.max(R.visible.from-L.options.viewportMargin,te.first),At=Math.min(se,R.visible.to+L.options.viewportMargin);q.viewFrom<Fe&&Fe-q.viewFrom<20&&(Fe=Math.max(te.first,q.viewFrom)),q.viewTo>At&&q.viewTo-At<20&&(At=Math.min(se,q.viewTo)),ln&&(Fe=ui(L.doc,Fe),At=ba(L.doc,At));var Mt=Fe!=q.viewFrom||At!=q.viewTo||q.lastWrapHeight!=R.wrapperHeight||q.lastWrapWidth!=R.wrapperWidth;Pi(L,Fe,At),q.viewOffset=Yn(be(L.doc,q.viewFrom)),L.display.mover.style.top=q.viewOffset+"px";var Yt=Ci(L);if(!Mt&&Yt==0&&!R.force&&q.renderedView==q.view&&(q.updateLineNumbers==null||q.updateLineNumbers>=q.viewTo))return!1;var $t=Ss(L);return Yt>4&&(q.lineDiv.style.display="none"),xo(L,q.updateLineNumbers,R.dims),Yt>4&&(q.lineDiv.style.display=""),q.renderedView=q.view,ys($t),E(q.cursorDiv),E(q.selectionDiv),q.gutters.style.height=q.sizer.style.minHeight=0,Mt&&(q.lastWrapHeight=R.wrapperHeight,q.lastWrapWidth=R.wrapperWidth,wo(L,400)),q.updateLineNumbers=null,!0}function Ga(L,R){for(var q=R.viewport,te=!0;;te=!1){if(!te||!L.options.lineWrapping||R.oldDisplayWidth==Zr(L)){if(q&&q.top!=null&&(q={top:Math.min(L.doc.height+ur(L.display)-cn(L),q.top)}),R.visible=Wa(L.display,L.doc,q),R.visible.from>=L.display.viewFrom&&R.visible.to<=L.display.viewTo)break}else te&&(R.visible=Wa(L.display,L.doc,q));if(!Na(L,R))break;na(L);var se=Lo(L);bi(L),$i(L,se),es(L,se),R.force=!1}R.signal(L,"update",L),(L.display.viewFrom!=L.display.reportedViewFrom||L.display.viewTo!=L.display.reportedViewTo)&&(R.signal(L,"viewportChange",L,L.display.viewFrom,L.display.viewTo),L.display.reportedViewFrom=L.display.viewFrom,L.display.reportedViewTo=L.display.viewTo)}function To(L,R){var q=new Hn(L,R);if(Na(L,q)){na(L),Ga(L,q);var te=Lo(L);bi(L),$i(L,te),es(L,te),q.finish()}}function xo(L,R,q){var te=L.display,se=L.options.lineNumbers,Fe=te.lineDiv,At=Fe.firstChild;function Mt(Mn){var ai=Mn.nextSibling;return n&&A&&L.display.currentWheelTarget==Mn?Mn.style.display="none":Mn.parentNode.removeChild(Mn),ai}for(var Yt=te.view,$t=te.viewFrom,Fr=0;Fr<Yt.length;Fr++){var $r=Yt[Fr];if(!$r.hidden)if(!$r.node||$r.node.parentNode!=Fe){var mn=qr(L,$r,$t,q);Fe.insertBefore(mn,At)}else{for(;At!=$r.node;)At=Mt(At);var vn=se&&R!=null&&R<=$t&&$r.lineNumber;$r.changes&&(X($r.changes,"gutter")>-1&&(vn=!1),Yr(L,$r,$t,q)),vn&&(E($r.lineNumber),$r.lineNumber.appendChild(document.createTextNode(dr(L.options,$t)))),At=$r.node.nextSibling}$t+=$r.size}for(;At;)At=Mt(At)}function $o(L){var R=L.gutters.offsetWidth;L.sizer.style.marginLeft=R+"px"}function es(L,R){L.display.sizer.style.minHeight=R.docHeight+"px",L.display.heightForcer.style.top=R.docHeight+"px",L.display.gutters.style.height=R.docHeight+L.display.barHeight+Ur(L)+"px"}function ts(L){var R=L.display,q=R.view;if(!R.alignWidgets&&(!R.gutters.firstChild||!L.options.fixedGutter))return;for(var te=Ki(R)-R.scroller.scrollLeft+L.doc.scrollLeft,se=R.gutters.offsetWidth,Fe=te+"px",At=0;At<q.length;At++)if(!q[At].hidden){L.options.fixedGutter&&(q[At].gutter&&(q[At].gutter.style.left=Fe),q[At].gutterBackground&&(q[At].gutterBackground.style.left=Fe));var Mt=q[At].alignable;if(Mt)for(var Yt=0;Yt<Mt.length;Yt++)Mt[Yt].style.left=Fe}L.options.fixedGutter&&(R.gutters.style.left=te+se+"px")}function Gs(L){if(!L.options.lineNumbers)return!1;var R=L.doc,q=dr(L.options,R.first+R.size-1),te=L.display;if(q.length!=te.lineNumChars){var se=te.measure.appendChild(O("div",[O("div",q)],"CodeMirror-linenumber CodeMirror-gutter-elt")),Fe=se.firstChild.offsetWidth,At=se.offsetWidth-Fe;return te.lineGutter.style.width="",te.lineNumInnerWidth=Math.max(Fe,te.lineGutter.offsetWidth-At)+1,te.lineNumWidth=te.lineNumInnerWidth+At,te.lineNumChars=te.lineNumInnerWidth?q.length:-1,te.lineGutter.style.width=te.lineNumWidth+"px",$o(L.display),!0}return!1}function Os(L,R){for(var q=[],te=!1,se=0;se<L.length;se++){var Fe=L[se],At=null;if(typeof Fe!="string"&&(At=Fe.style,Fe=Fe.className),Fe=="CodeMirror-linenumbers")if(R)te=!0;else continue;q.push({className:Fe,style:At})}return R&&!te&&q.push({className:"CodeMirror-linenumbers",style:null}),q}function Ws(L){var R=L.gutters,q=L.gutterSpecs;E(R),L.lineGutter=null;for(var te=0;te<q.length;++te){var se=q[te],Fe=se.className,At=se.style,Mt=R.appendChild(O("div",null,"CodeMirror-gutter "+Fe));At&&(Mt.style.cssText=At),Fe=="CodeMirror-linenumbers"&&(L.lineGutter=Mt,Mt.style.width=(L.lineNumWidth||1)+"px")}R.style.display=q.length?"":"none",$o(L)}function Ns(L){Ws(L.display),ki(L),ts(L)}function Go(L,R,q,te){var se=this;this.input=q,se.scrollbarFiller=O("div",null,"CodeMirror-scrollbar-filler"),se.scrollbarFiller.setAttribute("cm-not-content","true"),se.gutterFiller=O("div",null,"CodeMirror-gutter-filler"),se.gutterFiller.setAttribute("cm-not-content","true"),se.lineDiv=F("div",null,"CodeMirror-code"),se.selectionDiv=O("div",null,null,"position: relative; z-index: 1"),se.cursorDiv=O("div",null,"CodeMirror-cursors"),se.measure=O("div",null,"CodeMirror-measure"),se.lineMeasure=O("div",null,"CodeMirror-measure"),se.lineSpace=F("div",[se.measure,se.lineMeasure,se.selectionDiv,se.cursorDiv,se.lineDiv],null,"position: relative; outline: none");var Fe=F("div",[se.lineSpace],"CodeMirror-lines");se.mover=O("div",[Fe],null,"position: relative"),se.sizer=O("div",[se.mover],"CodeMirror-sizer"),se.sizerWidth=null,se.heightForcer=O("div",null,null,"position: absolute; height: "+Z+"px; width: 1px;"),se.gutters=O("div",null,"CodeMirror-gutters"),se.lineGutter=null,se.scroller=O("div",[se.sizer,se.heightForcer,se.gutters],"CodeMirror-scroll"),se.scroller.setAttribute("tabIndex","-1"),se.wrapper=O("div",[se.scrollbarFiller,se.gutterFiller,se.scroller],"CodeMirror"),c&&o<8&&(se.gutters.style.zIndex=-1,se.scroller.style.paddingRight=0),!n&&!(C&&f)&&(se.scroller.draggable=!0),L&&(L.appendChild?L.appendChild(se.wrapper):L(se.wrapper)),se.viewFrom=se.viewTo=R.first,se.reportedViewFrom=se.reportedViewTo=R.first,se.view=[],se.renderedView=null,se.externalMeasured=null,se.viewOffset=0,se.lastWrapHeight=se.lastWrapWidth=0,se.updateLineNumbers=null,se.nativeBarWidth=se.barHeight=se.barWidth=0,se.scrollbarsClipped=!1,se.lineNumWidth=se.lineNumInnerWidth=se.lineNumChars=null,se.alignWidgets=!1,se.cachedCharWidth=se.cachedTextHeight=se.cachedPaddingH=null,se.maxLine=null,se.maxLineLength=0,se.maxLineChanged=!1,se.wheelDX=se.wheelDY=se.wheelStartX=se.wheelStartY=null,se.shift=!1,se.selForContextMenu=null,se.activeTouch=null,se.gutterSpecs=Os(te.gutters,te.lineNumbers),Ws(se),q.init(se)}var xs=0,ao=null;c?ao=-.53:C?ao=15:a?ao=-.7:i&&(ao=-1/3);function el(L){var R=L.wheelDeltaX,q=L.wheelDeltaY;return R==null&&L.detail&&L.axis==L.HORIZONTAL_AXIS&&(R=L.detail),q==null&&L.detail&&L.axis==L.VERTICAL_AXIS?q=L.detail:q==null&&(q=L.wheelDelta),{x:R,y:q}}function Ds(L){var R=el(L);return R.x*=ao,R.y*=ao,R}function ds(L,R){var q=el(R),te=q.x,se=q.y,Fe=L.display,At=Fe.scroller,Mt=At.scrollWidth>At.clientWidth,Yt=At.scrollHeight>At.clientHeight;if(!(te&&Mt||se&&Yt))return;if(se&&A&&n){e:for(var $t=R.target,Fr=Fe.view;$t!=At;$t=$t.parentNode)for(var $r=0;$r<Fr.length;$r++)if(Fr[$r].node==$t){L.display.currentWheelTarget=$t;break e}}if(te&&!C&&!d&&ao!=null){se&&Yt&&Qi(L,Math.max(0,At.scrollTop+se*ao)),yo(L,Math.max(0,At.scrollLeft+te*ao)),(!se||se&&Yt)&&qe(R),Fe.wheelStartX=null;return}if(se&&ao!=null){var mn=se*ao,vn=L.doc.scrollTop,Mn=vn+Fe.wrapper.clientHeight;mn<0?vn=Math.max(0,vn+mn-50):Mn=Math.min(L.doc.height,Mn+mn+50),To(L,{top:vn,bottom:Mn})}xs<20&&(Fe.wheelStartX==null?(Fe.wheelStartX=At.scrollLeft,Fe.wheelStartY=At.scrollTop,Fe.wheelDX=te,Fe.wheelDY=se,setTimeout(function(){if(Fe.wheelStartX==null)return;var ai=At.scrollLeft-Fe.wheelStartX,yi=At.scrollTop-Fe.wheelStartY,Ai=yi&&Fe.wheelDY&&yi/Fe.wheelDY||ai&&Fe.wheelDX&&ai/Fe.wheelDX;if(Fe.wheelStartX=Fe.wheelStartY=null,!Ai)return;ao=(ao*xs+Ai)/(xs+1),++xs},200)):(Fe.wheelDX+=te,Fe.wheelDY+=se))}var Vt=function(R,q){this.ranges=R,this.primIndex=q};Vt.prototype.primary=function(){return this.ranges[this.primIndex]},Vt.prototype.equals=function(L){if(L==this)return!0;if(L.primIndex!=this.primIndex||L.ranges.length!=this.ranges.length)return!1;for(var R=0;R<this.ranges.length;R++){var q=this.ranges[R],te=L.ranges[R];if(!Ct(q.anchor,te.anchor)||!Ct(q.head,te.head))return!1}return!0},Vt.prototype.deepCopy=function(){for(var L=[],R=0;R<this.ranges.length;R++)L[R]=new de(Rt(this.ranges[R].anchor),Rt(this.ranges[R].head));return new Vt(L,this.primIndex)},Vt.prototype.somethingSelected=function(){for(var L=0;L<this.ranges.length;L++)if(!this.ranges[L].empty())return!0;return!1},Vt.prototype.contains=function(L,R){R||(R=L);for(var q=0;q<this.ranges.length;q++){var te=this.ranges[q];if(jt(R,te.from())>=0&&jt(L,te.to())<=0)return q}return-1};var de=function(R,q){this.anchor=R,this.head=q};de.prototype.from=function(){return ot(this.anchor,this.head)},de.prototype.to=function(){return pt(this.anchor,this.head)},de.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Te(L,R,q){var te=L&&L.options.selectionsMayTouch,se=R[q];R.sort(function(mn,vn){return jt(mn.from(),vn.from())}),q=X(R,se);for(var Fe=1;Fe<R.length;Fe++){var At=R[Fe],Mt=R[Fe-1],Yt=jt(Mt.to(),At.from());if(te&&!At.empty()?Yt>0:Yt>=0){var $t=ot(Mt.from(),At.from()),Fr=pt(Mt.to(),At.to()),$r=Mt.empty()?At.from()==At.head:Mt.from()==Mt.head;Fe<=q&&--q,R.splice(--Fe,2,new de($r?Fr:$t,$r?$t:Fr))}}return new Vt(R,q)}function Oe(L,R){return new Vt([new de(L,R||L)],0)}function ze(L){return L.text?Pt(L.from.line+L.text.length-1,ye(L.text).length+(L.text.length==1?L.from.ch:0)):L.to}function yt(L,R){if(jt(L,R.from)<0)return L;if(jt(L,R.to)<=0)return ze(R);var q=L.line+R.text.length-(R.to.line-R.from.line)-1,te=L.ch;return L.line==R.to.line&&(te+=ze(R).ch-R.to.ch),Pt(q,te)}function Kt(L,R){for(var q=[],te=0;te<L.sel.ranges.length;te++){var se=L.sel.ranges[te];q.push(new de(yt(se.anchor,R),yt(se.head,R)))}return Te(L.cm,q,L.sel.primIndex)}function gr(L,R,q){return L.line==R.line?Pt(q.line,L.ch-R.ch+q.ch):Pt(q.line+(L.line-R.line),L.ch)}function xr(L,R,q){for(var te=[],se=Pt(L.first,0),Fe=se,At=0;At<R.length;At++){var Mt=R[At],Yt=gr(Mt.from,se,Fe),$t=gr(ze(Mt),se,Fe);if(se=Mt.to,Fe=$t,q=="around"){var Fr=L.sel.ranges[At],$r=jt(Fr.head,Fr.anchor)<0;te[At]=new de($r?$t:Yt,$r?Yt:$t)}else te[At]=new de(Yt,Yt)}return new Vt(te,L.sel.primIndex)}function Pr(L){L.doc.mode=nt(L.options,L.doc.modeOption),dn(L)}function dn(L){L.doc.iter(function(R){R.stateAfter&&(R.stateAfter=null),R.styles&&(R.styles=null)}),L.doc.modeFrontier=L.doc.highlightFrontier=L.doc.first,wo(L,100),L.state.modeGen++,L.curOp&&ki(L)}function bn(L,R){return R.from.ch==0&&R.to.ch==0&&ye(R.text)==""&&(!L.cm||L.cm.options.wholeLineUpdateBefore)}function Nn(L,R,q,te){function se(Ni){return q?q[Ni]:null}function Fe(Ni,Mi,Gi){Hi(Ni,Mi,Gi,te),tr(Ni,"change",Ni,R)}function At(Ni,Mi){for(var Gi=[],ya=Ni;ya<Mi;++ya)Gi.push(new Fi($t[ya],se(ya),te));return Gi}var Mt=R.from,Yt=R.to,$t=R.text,Fr=be(L,Mt.line),$r=be(L,Yt.line),mn=ye($t),vn=se($t.length-1),Mn=Yt.line-Mt.line;if(R.full)L.insert(0,At(0,$t.length)),L.remove($t.length,L.size-$t.length);else if(bn(L,R)){var ai=At(0,$t.length-1);Fe($r,$r.text,vn),Mn&&L.remove(Mt.line,Mn),ai.length&&L.insert(Mt.line,ai)}else if(Fr==$r)if($t.length==1)Fe(Fr,Fr.text.slice(0,Mt.ch)+mn+Fr.text.slice(Yt.ch),vn);else{var yi=At(1,$t.length-1);yi.push(new Fi(mn+Fr.text.slice(Yt.ch),vn,te)),Fe(Fr,Fr.text.slice(0,Mt.ch)+$t[0],se(0)),L.insert(Mt.line+1,yi)}else if($t.length==1)Fe(Fr,Fr.text.slice(0,Mt.ch)+$t[0]+$r.text.slice(Yt.ch),se(0)),L.remove(Mt.line+1,Mn);else{Fe(Fr,Fr.text.slice(0,Mt.ch)+$t[0],se(0)),Fe($r,mn+$r.text.slice(Yt.ch),vn);var Ai=At(1,$t.length-1);Mn>1&&L.remove(Mt.line+1,Mn-1),L.insert(Mt.line+1,Ai)}tr(L,"change",L,R)}function Xn(L,R,q){function te(se,Fe,At){if(se.linked)for(var Mt=0;Mt<se.linked.length;++Mt){var Yt=se.linked[Mt];if(Yt.doc==Fe)continue;var $t=At&&Yt.sharedHist;if(q&&!$t)continue;R(Yt.doc,$t),te(Yt.doc,se,$t)}}te(L,null,!0)}function li(L,R){if(R.cm)throw new Error("This document is already in use.");L.doc=R,R.cm=L,fi(L),Pr(L),Li(L),L.options.lineWrapping||ni(L),L.options.mode=R.modeOption,ki(L)}function Li(L){(L.doc.direction=="rtl"?V:S)(L.display.lineDiv,"CodeMirror-rtl")}function ea(L){Fo(L,function(){Li(L),ki(L)})}function Sa(L){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=L||1}function xa(L,R){var q={from:Rt(R.from),to:ze(R),text:Ne(L,R.from,R.to)};return Yo(L,q,R.from.line,R.to.line+1),Xn(L,function(te){return Yo(te,q,R.from.line,R.to.line+1)},!0),q}function Da(L){for(;L.length;){var R=ye(L);if(R.ranges)L.pop();else break}}function oo(L,R){if(R)return Da(L.done),ye(L.done);if(L.done.length&&!ye(L.done).ranges)return ye(L.done);if(L.done.length>1&&!L.done[L.done.length-2].ranges)return L.done.pop(),ye(L.done)}function Qa(L,R,q,te){var se=L.history;se.undone.length=0;var Fe=+new Date,At,Mt;if((se.lastOp==te||se.lastOrigin==R.origin&&R.origin&&(R.origin.charAt(0)=="+"&&se.lastModTime>Fe-(L.cm?L.cm.options.historyEventDelay:500)||R.origin.charAt(0)=="*"))&&(At=oo(se,se.lastOp==te)))Mt=ye(At.changes),jt(R.from,R.to)==0&&jt(R.from,Mt.to)==0?Mt.to=ze(R):At.changes.push(xa(L,R));else{var Yt=ye(se.done);for((!Yt||!Yt.ranges)&&no(L.sel,se.done),At={changes:[xa(L,R)],generation:se.generation},se.done.push(At);se.done.length>se.undoDepth;)se.done.shift(),se.done[0].ranges||se.done.shift()}se.done.push(q),se.generation=++se.maxGeneration,se.lastModTime=se.lastSelTime=Fe,se.lastOp=se.lastSelOp=te,se.lastOrigin=se.lastSelOrigin=R.origin,Mt||_t(L,"historyAdded")}function So(L,R,q,te){var se=R.charAt(0);return se=="*"||se=="+"&&q.ranges.length==te.ranges.length&&q.somethingSelected()==te.somethingSelected()&&new Date-L.history.lastSelTime<=(L.cm?L.cm.options.historyEventDelay:500)}function Ea(L,R,q,te){var se=L.history,Fe=te&&te.origin;q==se.lastSelOp||Fe&&se.lastSelOrigin==Fe&&(se.lastModTime==se.lastSelTime&&se.lastOrigin==Fe||So(L,Fe,ye(se.done),R))?se.done[se.done.length-1]=R:no(R,se.done),se.lastSelTime=+new Date,se.lastSelOrigin=Fe,se.lastSelOp=q,te&&te.clearRedo!==!1&&Da(se.undone)}function no(L,R){var q=ye(R);q&&q.ranges&&q.equals(L)||R.push(L)}function Yo(L,R,q,te){var se=R["spans_"+L.id],Fe=0;L.iter(Math.max(L.first,q),Math.min(L.first+L.size,te),function(At){At.markedSpans&&((se||(se=R["spans_"+L.id]={}))[Fe]=At.markedSpans),++Fe})}function Ko(L){if(!L)return null;for(var R,q=0;q<L.length;++q)L[q].marker.explicitlyCleared?R||(R=L.slice(0,q)):R&&R.push(L[q]);return R?R.length?R:null:L}function so(L,R){var q=R["spans_"+L.id];if(!q)return null;for(var te=[],se=0;se<R.text.length;++se)te.push(Ko(q[se]));return te}function ls(L,R){var q=so(L,R),te=oi(L,R);if(!q)return te;if(!te)return q;for(var se=0;se<q.length;++se){var Fe=q[se],At=te[se];if(Fe&&At){e:for(var Mt=0;Mt<At.length;++Mt){for(var Yt=At[Mt],$t=0;$t<Fe.length;++$t)if(Fe[$t].marker==Yt.marker)continue e;Fe.push(Yt)}}else At&&(q[se]=At)}return q}function hs(L,R,q){for(var te=[],se=0;se<L.length;++se){var Fe=L[se];if(Fe.ranges){te.push(q?Vt.prototype.deepCopy.call(Fe):Fe);continue}var At=Fe.changes,Mt=[];te.push({changes:Mt});for(var Yt=0;Yt<At.length;++Yt){var $t=At[Yt],Fr=void 0;if(Mt.push({from:$t.from,to:$t.to,text:$t.text}),R)for(var $r in $t)(Fr=$r.match(/^spans_(\d+)$/))&&(X(R,Number(Fr[1]))>-1&&(ye(Mt)[$r]=$t[$r],delete $t[$r]))}}return te}function fs(L,R,q,te){if(te){var se=L.anchor;if(q){var Fe=jt(R,se)<0;Fe!=jt(q,se)<0?(se=R,R=q):Fe!=jt(R,q)<0&&(R=q)}return new de(se,R)}else return new de(q||R,R)}function mo(L,R,q,te,se){se==null&&(se=L.cm&&(L.cm.display.shift||L.extend)),No(L,new Vt([fs(L.sel.primary(),R,q,se)],0),te)}function ks(L,R,q){for(var te=[],se=L.cm&&(L.cm.display.shift||L.extend),Fe=0;Fe<L.sel.ranges.length;Fe++)te[Fe]=fs(L.sel.ranges[Fe],R[Fe],null,se);var At=Te(L.cm,te,L.sel.primIndex);No(L,At,q)}function rs(L,R,q,te){var se=L.sel.ranges.slice(0);se[R]=q,No(L,Te(L.cm,se,L.sel.primIndex),te)}function pl(L,R,q,te){No(L,Oe(R,q),te)}function ml(L,R,q){var te={ranges:R.ranges,update:function(Fe){this.ranges=[];for(var At=0;At<Fe.length;At++)this.ranges[At]=new de(Ye(L,Fe[At].anchor),Ye(L,Fe[At].head))},origin:q&&q.origin};return _t(L,"beforeSelectionChange",L,te),L.cm&&_t(L.cm,"beforeSelectionChange",L.cm,te),te.ranges!=R.ranges?Te(L.cm,te.ranges,te.ranges.length-1):R}function bs(L,R,q){var te=L.history.done,se=ye(te);se&&se.ranges?(te[te.length-1]=R,Ri(L,R,q)):No(L,R,q)}function No(L,R,q){Ri(L,R,q),Ea(L,L.sel,L.cm?L.cm.curOp.id:NaN,q)}function Ri(L,R,q){(Ft(L,"beforeSelectionChange")||L.cm&&Ft(L.cm,"beforeSelectionChange"))&&(R=ml(L,R,q));var te=q&&q.bias||(jt(R.primary().head,L.sel.primary().head)<0?-1:1);il(L,ol(L,R,te,!0)),!(q&&q.scroll===!1)&&L.cm&&Aa(L.cm)}function il(L,R){if(R.equals(L.sel))return;L.sel=R,L.cm&&(L.cm.curOp.updateInput=1,L.cm.curOp.selectionChanged=!0,Bt(L.cm)),tr(L,"cursorActivity",L)}function al(L){il(L,ol(L,L.sel,null,!1))}function ol(L,R,q,te){for(var se,Fe=0;Fe<R.ranges.length;Fe++){var At=R.ranges[Fe],Mt=R.ranges.length==L.sel.ranges.length&&L.sel.ranges[Fe],Yt=sl(L,At.anchor,Mt&&Mt.anchor,q,te),$t=sl(L,At.head,Mt&&Mt.head,q,te);(se||Yt!=At.anchor||$t!=At.head)&&(se||(se=R.ranges.slice(0,Fe)),se[Fe]=new de(Yt,$t))}return se?Te(L.cm,se,R.primIndex):R}function ns(L,R,q,te,se){var Fe=be(L,R.line);if(Fe.markedSpans)for(var At=0;At<Fe.markedSpans.length;++At){var Mt=Fe.markedSpans[At],Yt=Mt.marker,$t="selectLeft"in Yt?!Yt.selectLeft:Yt.inclusiveLeft,Fr="selectRight"in Yt?!Yt.selectRight:Yt.inclusiveRight;if((Mt.from==null||($t?Mt.from<=R.ch:Mt.from<R.ch))&&(Mt.to==null||(Fr?Mt.to>=R.ch:Mt.to>R.ch))){if(se&&(_t(Yt,"beforeCursorEnter"),Yt.explicitlyCleared))if(Fe.markedSpans){--At;continue}else break;if(!Yt.atomic)continue;if(q){var $r=Yt.find(te<0?1:-1),mn=void 0;if((te<0?Fr:$t)&&($r=Qs(L,$r,-te,$r&&$r.line==R.line?Fe:null)),$r&&$r.line==R.line&&(mn=jt($r,q))&&(te<0?mn<0:mn>0))return ns(L,$r,R,te,se)}var vn=Yt.find(te<0?-1:1);return(te<0?$t:Fr)&&(vn=Qs(L,vn,te,vn.line==R.line?Fe:null)),vn?ns(L,vn,R,te,se):null}}return R}function sl(L,R,q,te,se){var Fe=te||1,At=ns(L,R,q,Fe,se)||!se&&ns(L,R,q,Fe,!0)||ns(L,R,q,-Fe,se)||!se&&ns(L,R,q,-Fe,!0);return At||(L.cantEdit=!0,Pt(L.first,0))}function Qs(L,R,q,te){return q<0&&R.ch==0?R.line>L.first?Ye(L,Pt(R.line-1)):null:q>0&&R.ch==(te||be(L,R.line)).text.length?R.line<L.first+L.size-1?Pt(R.line+1,0):null:new Pt(R.line,R.ch+q)}function Ps(L){L.setSelection(Pt(L.firstLine(),0),Pt(L.lastLine()),Se)}function Ys(L,R,q){var te={canceled:!1,from:R.from,to:R.to,text:R.text,origin:R.origin,cancel:function(){return te.canceled=!0}};return q&&(te.update=function(se,Fe,At,Mt){se&&(te.from=Ye(L,se)),Fe&&(te.to=Ye(L,Fe)),At&&(te.text=At),Mt!==void 0&&(te.origin=Mt)}),_t(L,"beforeChange",L,te),L.cm&&_t(L.cm,"beforeChange",L.cm,te),te.canceled?(L.cm&&(L.cm.curOp.updateInput=2),null):{from:te.from,to:te.to,text:te.text,origin:te.origin}}function Zs(L,R,q){if(L.cm){if(!L.cm.curOp)return eo(L.cm,Zs)(L,R,q);if(L.cm.state.suppressEdits)return}if((Ft(L,"beforeChange")||L.cm&&Ft(L.cm,"beforeChange"))&&(R=Ys(L,R,!0),!R))return;var te=Br&&!q&&Vn(L,R.from,R.to);if(te)for(var se=te.length-1;se>=0;--se)Ra(L,{from:te[se].from,to:te[se].to,text:se?[""]:R.text,origin:R.origin});else Ra(L,R)}function Ra(L,R){if(R.text.length==1&&R.text[0]==""&&jt(R.from,R.to)==0)return;var q=Kt(L,R);Qa(L,R,q,L.cm?L.cm.curOp.id:NaN),ka(L,R,q,oi(L,R));var te=[];Xn(L,function(se,Fe){!Fe&&X(te,se.history)==-1&&(Es(se.history,R),te.push(se.history)),ka(se,R,null,oi(se,R))})}function Wi(L,R,q){var te=L.cm&&L.cm.state.suppressEdits;if(te&&!q)return;for(var se=L.history,Fe,At=L.sel,Mt=R=="undo"?se.done:se.undone,Yt=R=="undo"?se.undone:se.done,$t=0;$t<Mt.length&&!(Fe=Mt[$t],q?Fe.ranges&&!Fe.equals(L.sel):!Fe.ranges);$t++);if($t==Mt.length)return;for(se.lastOrigin=se.lastSelOrigin=null;;)if(Fe=Mt.pop(),Fe.ranges){if(no(Fe,Yt),q&&!Fe.equals(L.sel)){No(L,Fe,{clearRedo:!1});return}At=Fe}else if(te){Mt.push(Fe);return}else break;var Fr=[];no(At,Yt),Yt.push({changes:Fr,generation:se.generation}),se.generation=Fe.generation||++se.maxGeneration;for(var $r=Ft(L,"beforeChange")||L.cm&&Ft(L.cm,"beforeChange"),mn=function(yi){var Ai=Fe.changes[yi];if(Ai.origin=R,$r&&!Ys(L,Ai,!1))return Mt.length=0,{};Fr.push(xa(L,Ai));var Ni=yi?Kt(L,Ai):ye(Mt);ka(L,Ai,Ni,ls(L,Ai)),!yi&&L.cm&&L.cm.scrollIntoView({from:Ai.from,to:ze(Ai)});var Mi=[];Xn(L,function(Gi,ya){!ya&&X(Mi,Gi.history)==-1&&(Es(Gi.history,Ai),Mi.push(Gi.history)),ka(Gi,Ai,null,ls(Gi,Ai))})},vn=Fe.changes.length-1;vn>=0;--vn){var Mn=mn(vn);if(Mn)return Mn.v}}function sa(L,R){if(R==0)return;if(L.first+=R,L.sel=new Vt(Be(L.sel.ranges,function(se){return new de(Pt(se.anchor.line+R,se.anchor.ch),Pt(se.head.line+R,se.head.ch))}),L.sel.primIndex),L.cm){ki(L.cm,L.first,L.first-R,R);for(var q=L.cm.display,te=q.viewFrom;te<q.viewTo;te++)Zn(L.cm,te,"gutter")}}function ka(L,R,q,te){if(L.cm&&!L.cm.curOp)return eo(L.cm,ka)(L,R,q,te);if(R.to.line<L.first){sa(L,R.text.length-1-(R.to.line-R.from.line));return}if(R.from.line>L.lastLine())return;if(R.from.line<L.first){var se=R.text.length-1-(L.first-R.from.line);sa(L,se),R={from:Pt(L.first,0),to:Pt(R.to.line+se,R.to.ch),text:[ye(R.text)],origin:R.origin}}var Fe=L.lastLine();R.to.line>Fe&&(R={from:R.from,to:Pt(Fe,be(L,Fe).text.length),text:[R.text[0]],origin:R.origin}),R.removed=Ne(L,R.from,R.to),q||(q=Kt(L,R)),L.cm?zo(L.cm,R,te):Nn(L,R,te),Ri(L,q,Se),L.cantEdit&&sl(L,Pt(L.firstLine(),0))&&(L.cantEdit=!1)}function zo(L,R,q){var te=L.doc,se=L.display,Fe=R.from,At=R.to,Mt=!1,Yt=Fe.line;L.options.lineWrapping||(Yt=ct(fa(be(te,Fe.line))),te.iter(Yt,At.line+1,function(vn){if(vn==se.maxLine)return Mt=!0,!0})),te.sel.contains(R.from,R.to)>-1&&Bt(L),Nn(te,R,q,ii(L)),L.options.lineWrapping||(te.iter(Yt,Fe.line+R.text.length,function(vn){var Mn=Jn(vn);Mn>se.maxLineLength&&(se.maxLine=vn,se.maxLineLength=Mn,se.maxLineChanged=!0,Mt=!1)}),Mt&&(L.curOp.updateMaxLine=!0)),gn(te,Fe.line),wo(L,400);var $t=R.text.length-(At.line-Fe.line)-1;R.full?ki(L):Fe.line==At.line&&R.text.length==1&&!bn(L.doc,R)?Zn(L,Fe.line,"text"):ki(L,Fe.line,At.line+1,$t);var Fr=Ft(L,"changes"),$r=Ft(L,"change");if($r||Fr){var mn={from:Fe,to:At,text:R.text,removed:R.removed,origin:R.origin};$r&&tr(L,"change",L,mn),Fr&&(L.curOp.changeObjs||(L.curOp.changeObjs=[])).push(mn)}L.display.selForContextMenu=null}function Rs(L,R,q,te,se){var Fe;te||(te=q),jt(te,q)<0&&(Fe=[te,q],q=Fe[0],te=Fe[1]),typeof R=="string"&&(R=L.splitLines(R)),Zs(L,{from:q,to:te,text:R,origin:se})}function Us(L,R,q,te){q<L.line?L.line+=te:R<L.line&&(L.line=R,L.ch=0)}function Ms(L,R,q,te){for(var se=0;se<L.length;++se){var Fe=L[se],At=!0;if(Fe.ranges){Fe.copied||(Fe=L[se]=Fe.deepCopy(),Fe.copied=!0);for(var Mt=0;Mt<Fe.ranges.length;Mt++)Us(Fe.ranges[Mt].anchor,R,q,te),Us(Fe.ranges[Mt].head,R,q,te);continue}for(var Yt=0;Yt<Fe.changes.length;++Yt){var $t=Fe.changes[Yt];if(q<$t.from.line)$t.from=Pt($t.from.line+te,$t.from.ch),$t.to=Pt($t.to.line+te,$t.to.ch);else if(R<=$t.to.line){At=!1;break}}At||(L.splice(0,se+1),se=0)}}function Es(L,R){var q=R.from.line,te=R.to.line,se=R.text.length-(te-q)-1;Ms(L.done,q,te,se),Ms(L.undone,q,te,se)}function Cs(L,R,q,te){var se=R,Fe=R;return typeof R=="number"?Fe=be(L,gt(L,R)):se=ct(R),se==null?null:(te(Fe,se)&&L.cm&&Zn(L.cm,se,q),Fe)}function Bs(L){this.lines=L,this.parent=null;for(var R=0,q=0;q<L.length;++q)L[q].parent=this,R+=L[q].height;this.height=R}Bs.prototype={chunkSize:function(){return this.lines.length},removeInner:function(R,q){for(var te=R,se=R+q;te<se;++te){var Fe=this.lines[te];this.height-=Fe.height,Za(Fe),tr(Fe,"delete")}this.lines.splice(R,q)},collapse:function(R){R.push.apply(R,this.lines)},insertInner:function(R,q,te){this.height+=te,this.lines=this.lines.slice(0,R).concat(q).concat(this.lines.slice(R));for(var se=0;se<q.length;++se)q[se].parent=this},iterN:function(R,q,te){for(var se=R+q;R<se;++R)if(te(this.lines[R]))return!0}};function is(L){this.children=L;for(var R=0,q=0,te=0;te<L.length;++te){var se=L[te];R+=se.chunkSize(),q+=se.height,se.parent=this}this.size=R,this.height=q,this.parent=null}is.prototype={chunkSize:function(){return this.size},removeInner:function(R,q){this.size-=q;for(var te=0;te<this.children.length;++te){var se=this.children[te],Fe=se.chunkSize();if(R<Fe){var At=Math.min(q,Fe-R),Mt=se.height;if(se.removeInner(R,At),this.height-=Mt-se.height,Fe==At&&(this.children.splice(te--,1),se.parent=null),(q-=At)==0)break;R=0}else R-=Fe}if(this.size-q<25&&(this.children.length>1||!(this.children[0]instanceof Bs))){var Yt=[];this.collapse(Yt),this.children=[new Bs(Yt)],this.children[0].parent=this}},collapse:function(R){for(var q=0;q<this.children.length;++q)this.children[q].collapse(R)},insertInner:function(R,q,te){this.size+=q.length,this.height+=te;for(var se=0;se<this.children.length;++se){var Fe=this.children[se],At=Fe.chunkSize();if(R<=At){if(Fe.insertInner(R,q,te),Fe.lines&&Fe.lines.length>50){for(var Mt=Fe.lines.length%25+25,Yt=Mt;Yt<Fe.lines.length;){var $t=new Bs(Fe.lines.slice(Yt,Yt+=25));Fe.height-=$t.height,this.children.splice(++se,0,$t),$t.parent=this}Fe.lines=Fe.lines.slice(0,Mt),this.maybeSpill()}break}R-=At}},maybeSpill:function(){if(this.children.length<=10)return;var R=this;do{var q=R.children.splice(R.children.length-5,5),te=new is(q);if(R.parent){R.size-=te.size,R.height-=te.height;var Fe=X(R.parent.children,R);R.parent.children.splice(Fe+1,0,te)}else{var se=new is(R.children);se.parent=R,R.children=[se,te],R=se}te.parent=R.parent}while(R.children.length>10);R.parent.maybeSpill()},iterN:function(R,q,te){for(var se=0;se<this.children.length;++se){var Fe=this.children[se],At=Fe.chunkSize();if(R<At){var Mt=Math.min(q,At-R);if(Fe.iterN(R,Mt,te))return!0;if((q-=Mt)==0)break;R=0}else R-=At}}};var Dl=function(R,q,te){if(te)for(var se in te)te.hasOwnProperty(se)&&(this[se]=te[se]);this.doc=R,this.node=q};Dl.prototype.clear=function(){var L=this.doc.cm,R=this.line.widgets,q=this.line,te=ct(q);if(te==null||!R)return;for(var se=0;se<R.length;++se)R[se]==this&&R.splice(se--,1);R.length||(q.widgets=null);var Fe=yn(this);Qe(q,Math.max(0,q.height-Fe)),L&&(Fo(L,function(){Su(L,q,-Fe),Zn(L,te,"widget")}),tr(L,"lineWidgetCleared",L,this,te))},Dl.prototype.changed=function(){var L=this,R=this.height,q=this.doc.cm,te=this.line;this.height=null;var se=yn(this)-R;if(!se)return;Dn(this.doc,te)||Qe(te,te.height+se),q&&Fo(q,function(){q.curOp.forceUpdate=!0,Su(q,te,se),tr(q,"lineWidgetChanged",q,L,ct(te))})},Gt(Dl);function Su(L,R,q){Yn(R)<(L.curOp&&L.curOp.scrollTop||L.doc.scrollTop)&&Ya(L,q)}function Uu(L,R,q,te){var se=new Dl(L,q,te),Fe=L.cm;return Fe&&se.noHScroll&&(Fe.display.alignWidgets=!0),Cs(L,R,"widget",function(At){var Mt=At.widgets||(At.widgets=[]);if(se.insertAt==null?Mt.push(se):Mt.splice(Math.min(Mt.length-1,Math.max(0,se.insertAt)),0,se),se.line=At,Fe&&!Dn(L,At)){var Yt=Yn(At)<L.scrollTop;Qe(At,At.height+yn(se)),Yt&&Ya(Fe,se.height),Fe.curOp.forceUpdate=!0}return!0}),Fe&&tr(Fe,"lineWidgetAdded",Fe,se,typeof R=="number"?R:ct(R)),se}var xu=0,Vs=function(R,q){this.lines=[],this.type=q,this.doc=R,this.id=++xu};Vs.prototype.clear=function(){if(this.explicitlyCleared)return;var L=this.doc.cm,R=L&&!L.curOp;if(R&&ma(L),Ft(this,"clear")){var q=this.find();q&&tr(this,"clear",q.from,q.to)}for(var te=null,se=null,Fe=0;Fe<this.lines.length;++Fe){var At=this.lines[Fe],Mt=hr(At.markedSpans,this);L&&!this.collapsed?Zn(L,ct(At),"text"):L&&(Mt.to!=null&&(se=ct(At)),Mt.from!=null&&(te=ct(At))),At.markedSpans=Ar(At.markedSpans,Mt),Mt.from==null&&this.collapsed&&!Dn(this.doc,At)&&L&&Qe(At,Un(L.display))}if(L&&this.collapsed&&!L.options.lineWrapping)for(var Yt=0;Yt<this.lines.length;++Yt){var $t=fa(this.lines[Yt]),Fr=Jn($t);Fr>L.display.maxLineLength&&(L.display.maxLine=$t,L.display.maxLineLength=Fr,L.display.maxLineChanged=!0)}te!=null&&L&&this.collapsed&&ki(L,te,se+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,L&&al(L.doc)),L&&tr(L,"markerCleared",L,this,te,se),R&&Bo(L),this.parent&&this.parent.clear()},Vs.prototype.find=function(L,R){L==null&&this.type=="bookmark"&&(L=1);for(var q,te,se=0;se<this.lines.length;++se){var Fe=this.lines[se],At=hr(Fe.markedSpans,this);if(At.from!=null&&(q=Pt(R?Fe:ct(Fe),At.from),L==-1))return q;if(At.to!=null&&(te=Pt(R?Fe:ct(Fe),At.to),L==1))return te}return q&&{from:q,to:te}},Vs.prototype.changed=function(){var L=this,R=this.find(-1,!0),q=this,te=this.doc.cm;if(!R||!te)return;Fo(te,function(){var se=R.line,Fe=ct(R.line),At=Rn(te,Fe);if(At&&(Mr(At),te.curOp.selectionChanged=te.curOp.forceUpdate=!0),te.curOp.updateMaxLine=!0,!Dn(q.doc,se)&&q.height!=null){var Mt=q.height;q.height=null;var Yt=yn(q)-Mt;Yt&&Qe(se,se.height+Yt)}tr(te,"markerChanged",te,L)})},Vs.prototype.attachLine=function(L){if(!this.lines.length&&this.doc.cm){var R=this.doc.cm.curOp;(!R.maybeHiddenMarkers||X(R.maybeHiddenMarkers,this)==-1)&&(R.maybeUnhiddenMarkers||(R.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(L)},Vs.prototype.detachLine=function(L){if(this.lines.splice(X(this.lines,L),1),!this.lines.length&&this.doc.cm){var R=this.doc.cm.curOp;(R.maybeHiddenMarkers||(R.maybeHiddenMarkers=[])).push(this)}},Gt(Vs);function gl(L,R,q,te,se){if(te&&te.shared)return ju(L,R,q,te,se);if(L.cm&&!L.cm.curOp)return eo(L.cm,gl)(L,R,q,te,se);var Fe=new Vs(L,se),At=jt(R,q);if(te&&z(te,Fe,!1),At>0||At==0&&Fe.clearWhenEmpty!==!1)return Fe;if(Fe.replacedWith&&(Fe.collapsed=!0,Fe.widgetNode=F("span",[Fe.replacedWith],"CodeMirror-widget"),te.handleMouseEvents||Fe.widgetNode.setAttribute("cm-ignore-events","true"),te.insertLeft&&(Fe.widgetNode.insertLeft=!0)),Fe.collapsed){if(ua(L,R.line,R,q,Fe)||R.line!=q.line&&ua(L,q.line,R,q,Fe))throw new Error("Inserting collapsed marker partially overlapping an existing one");cr()}Fe.addToHistory&&Qa(L,{from:R,to:q,origin:"markText"},L.sel,NaN);var Mt=R.line,Yt=L.cm,$t;if(L.iter(Mt,q.line+1,function($r){Yt&&Fe.collapsed&&!Yt.options.lineWrapping&&fa($r)==Yt.display.maxLine&&($t=!0),Fe.collapsed&&Mt!=R.line&&Qe($r,0),kr($r,new wr(Fe,Mt==R.line?R.ch:null,Mt==q.line?q.ch:null)),++Mt}),Fe.collapsed&&L.iter(R.line,q.line+1,function($r){Dn(L,$r)&&Qe($r,0)}),Fe.clearOnEnter&&Pe(Fe,"beforeCursorEnter",function(){return Fe.clear()}),Fe.readOnly&&(Xr(),(L.history.done.length||L.history.undone.length)&&L.clearHistory()),Fe.collapsed&&(Fe.id=++xu,Fe.atomic=!0),Yt){if($t&&(Yt.curOp.updateMaxLine=!0),Fe.collapsed)ki(Yt,R.line,q.line+1);else if(Fe.className||Fe.startStyle||Fe.endStyle||Fe.css||Fe.attributes||Fe.title)for(var Fr=R.line;Fr<=q.line;Fr++)Zn(Yt,Fr,"text");Fe.atomic&&al(Yt.doc),tr(Yt,"markerAdded",Yt,Fe)}return Fe}var vl=function(R,q){this.markers=R,this.primary=q;for(var te=0;te<R.length;++te)R[te].parent=this};vl.prototype.clear=function(){if(this.explicitlyCleared)return;this.explicitlyCleared=!0;for(var L=0;L<this.markers.length;++L)this.markers[L].clear();tr(this,"clear")},vl.prototype.find=function(L,R){return this.primary.find(L,R)},Gt(vl);function ju(L,R,q,te,se){te=z(te),te.shared=!1;var Fe=[gl(L,R,q,te,se)],At=Fe[0],Mt=te.widgetNode;return Xn(L,function(Yt){Mt&&(te.widgetNode=Mt.cloneNode(!0)),Fe.push(gl(Yt,Ye(Yt,R),Ye(Yt,q),te,se));for(var $t=0;$t<Yt.linked.length;++$t)if(Yt.linked[$t].isParent)return;At=ye(Fe)}),new vl(Fe,At)}function Eu(L){return L.findMarks(Pt(L.first,0),L.clipPos(Pt(L.lastLine())),function(R){return R.parent})}function Hu(L,R){for(var q=0;q<R.length;q++){var te=R[q],se=te.find(),Fe=L.clipPos(se.from),At=L.clipPos(se.to);if(jt(Fe,At)){var Mt=gl(L,Fe,At,te.primary,te.primary.type);te.markers.push(Mt),Mt.parent=te}}}function Ku(L){for(var R=function(se){var Fe=L[se],At=[Fe.primary.doc];Xn(Fe.primary.doc,function($t){return At.push($t)});for(var Mt=0;Mt<Fe.markers.length;Mt++){var Yt=Fe.markers[Mt];X(At,Yt.doc)==-1&&(Yt.parent=null,Fe.markers.splice(Mt--,1))}},q=0;q<L.length;q++)R(q)}var yl=0,js=function L(R,q,te,se,Fe){if(!(this instanceof L))return new L(R,q,te,se,Fe);te==null&&(te=0),is.call(this,[new Bs([new Fi("",null)])]),this.first=te,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=te;var At=Pt(te,0);this.sel=Oe(At),this.history=new Sa(null),this.id=++yl,this.modeOption=q,this.lineSep=se,this.direction=Fe=="rtl"?"rtl":"ltr",this.extend=!1,typeof R=="string"&&(R=this.splitLines(R)),Nn(this,{from:At,to:At,text:R}),No(this,Oe(At),Se)};js.prototype=Ve(is.prototype,{constructor:js,iter:function(R,q,te){te?this.iterN(R-this.first,q-R,te):this.iterN(this.first,this.first+this.size,R)},insert:function(R,q){for(var te=0,se=0;se<q.length;++se)te+=q[se].height;this.insertInner(R-this.first,q,te)},remove:function(R,q){this.removeInner(R-this.first,q)},getValue:function(R){var q=Ke(this,this.first,this.first+this.size);return R===!1?q:q.join(R||this.lineSeparator())},setValue:po(function(L){var R=Pt(this.first,0),q=this.first+this.size-1;Zs(this,{from:R,to:Pt(q,be(this,q).text.length),text:this.splitLines(L),origin:"setValue",full:!0},!0),this.cm&&Ji(this.cm,0,0),No(this,Oe(R),Se)}),replaceRange:function(R,q,te,se){q=Ye(this,q),te=te?Ye(this,te):q,Rs(this,R,q,te,se)},getRange:function(R,q,te){var se=Ne(this,Ye(this,R),Ye(this,q));return te===!1?se:se.join(te||this.lineSeparator())},getLine:function(R){var q=this.getLineHandle(R);return q&&q.text},getLineHandle:function(R){if(rr(this,R))return be(this,R)},getLineNumber:function(R){return ct(R)},getLineHandleVisualStart:function(R){return typeof R=="number"&&(R=be(this,R)),fa(R)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(R){return Ye(this,R)},getCursor:function(R){var q=this.sel.primary(),te;return R==null||R=="head"?te=q.head:R=="anchor"?te=q.anchor:R=="end"||R=="to"||R===!1?te=q.to():te=q.from(),te},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:po(function(L,R,q){pl(this,Ye(this,typeof L=="number"?Pt(L,R||0):L),null,q)}),setSelection:po(function(L,R,q){pl(this,Ye(this,L),Ye(this,R||L),q)}),extendSelection:po(function(L,R,q){mo(this,Ye(this,L),R&&Ye(this,R),q)}),extendSelections:po(function(L,R){ks(this,Je(this,L),R)}),extendSelectionsBy:po(function(L,R){var q=Be(this.sel.ranges,L);ks(this,Je(this,q),R)}),setSelections:po(function(L,R,q){if(!L.length)return;for(var te=[],se=0;se<L.length;se++)te[se]=new de(Ye(this,L[se].anchor),Ye(this,L[se].head));R==null&&(R=Math.min(L.length-1,this.sel.primIndex)),No(this,Te(this.cm,te,R),q)}),addSelection:po(function(L,R,q){var te=this.sel.ranges.slice(0);te.push(new de(Ye(this,L),Ye(this,R||L))),No(this,Te(this.cm,te,te.length-1),q)}),getSelection:function(R){for(var q=this.sel.ranges,te,se=0;se<q.length;se++){var Fe=Ne(this,q[se].from(),q[se].to());te=te?te.concat(Fe):Fe}return R===!1?te:te.join(R||this.lineSeparator())},getSelections:function(R){for(var q=[],te=this.sel.ranges,se=0;se<te.length;se++){var Fe=Ne(this,te[se].from(),te[se].to());R!==!1&&(Fe=Fe.join(R||this.lineSeparator())),q[se]=Fe}return q},replaceSelection:function(R,q,te){for(var se=[],Fe=0;Fe<this.sel.ranges.length;Fe++)se[Fe]=R;this.replaceSelections(se,q,te||"+input")},replaceSelections:po(function(L,R,q){for(var te=[],se=this.sel,Fe=0;Fe<se.ranges.length;Fe++){var At=se.ranges[Fe];te[Fe]={from:At.from(),to:At.to(),text:this.splitLines(L[Fe]),origin:q}}for(var Mt=R&&R!="end"&&xr(this,te,R),Yt=te.length-1;Yt>=0;Yt--)Zs(this,te[Yt]);Mt?bs(this,Mt):this.cm&&Aa(this.cm)}),undo:po(function(){Wi(this,"undo")}),redo:po(function(){Wi(this,"redo")}),undoSelection:po(function(){Wi(this,"undo",!0)}),redoSelection:po(function(){Wi(this,"redo",!0)}),setExtending:function(R){this.extend=R},getExtending:function(){return this.extend},historySize:function(){for(var R=this.history,q=0,te=0,se=0;se<R.done.length;se++)R.done[se].ranges||++q;for(var Fe=0;Fe<R.undone.length;Fe++)R.undone[Fe].ranges||++te;return{undo:q,redo:te}},clearHistory:function(){var R=this;this.history=new Sa(this.history.maxGeneration),Xn(this,function(q){return q.history=R.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(R){return R&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(R){return this.history.generation==(R||this.cleanGeneration)},getHistory:function(){return{done:hs(this.history.done),undone:hs(this.history.undone)}},setHistory:function(R){var q=this.history=new Sa(this.history.maxGeneration);q.done=hs(R.done.slice(0),null,!0),q.undone=hs(R.undone.slice(0),null,!0)},setGutterMarker:po(function(L,R,q){return Cs(this,L,"gutter",function(te){var se=te.gutterMarkers||(te.gutterMarkers={});return se[R]=q,!q&&Y(se)&&(te.gutterMarkers=null),!0})}),clearGutter:po(function(L){var R=this;this.iter(function(q){q.gutterMarkers&&q.gutterMarkers[L]&&Cs(R,q,"gutter",function(){return q.gutterMarkers[L]=null,Y(q.gutterMarkers)&&(q.gutterMarkers=null),!0})})}),lineInfo:function(R){var q;if(typeof R=="number"){if(!rr(this,R))return null;if(q=R,R=be(this,R),!R)return null}else if(q=ct(R),q==null)return null;return{line:q,handle:R,text:R.text,gutterMarkers:R.gutterMarkers,textClass:R.textClass,bgClass:R.bgClass,wrapClass:R.wrapClass,widgets:R.widgets}},addLineClass:po(function(L,R,q){return Cs(this,L,R=="gutter"?"gutter":"class",function(te){var se=R=="text"?"textClass":R=="background"?"bgClass":R=="gutter"?"gutterClass":"wrapClass";if(!te[se])te[se]=q;else{if(T(q).test(te[se]))return!1;te[se]+=" "+q}return!0})}),removeLineClass:po(function(L,R,q){return Cs(this,L,R=="gutter"?"gutter":"class",function(te){var se=R=="text"?"textClass":R=="background"?"bgClass":R=="gutter"?"gutterClass":"wrapClass",Fe=te[se];if(Fe)if(q==null)te[se]=null;else{var At=Fe.match(T(q));if(!At)return!1;var Mt=At.index+At[0].length;te[se]=Fe.slice(0,At.index)+(!At.index||Mt==Fe.length?"":" ")+Fe.slice(Mt)||null}else return!1;return!0})}),addLineWidget:po(function(L,R,q){return Uu(this,L,R,q)}),removeLineWidget:function(R){R.clear()},markText:function(R,q,te){return gl(this,Ye(this,R),Ye(this,q),te,te&&te.type||"range")},setBookmark:function(R,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 R=Ye(this,R),gl(this,R,R,te,"bookmark")},findMarksAt:function(R){R=Ye(this,R);var q=[],te=be(this,R.line).markedSpans;if(te)for(var se=0;se<te.length;++se){var Fe=te[se];(Fe.from==null||Fe.from<=R.ch)&&(Fe.to==null||Fe.to>=R.ch)&&q.push(Fe.marker.parent||Fe.marker)}return q},findMarks:function(R,q,te){R=Ye(this,R),q=Ye(this,q);var se=[],Fe=R.line;return this.iter(R.line,q.line+1,function(At){var Mt=At.markedSpans;if(Mt)for(var Yt=0;Yt<Mt.length;Yt++){var $t=Mt[Yt];!($t.to!=null&&Fe==R.line&&R.ch>=$t.to||$t.from==null&&Fe!=R.line||$t.from!=null&&Fe==q.line&&$t.from>=q.ch)&&(!te||te($t.marker))&&se.push($t.marker.parent||$t.marker)}++Fe}),se},getAllMarks:function(){var R=[];return this.iter(function(q){var te=q.markedSpans;if(te)for(var se=0;se<te.length;++se)te[se].from!=null&&R.push(te[se].marker)}),R},posFromIndex:function(R){var q,te=this.first,se=this.lineSeparator().length;return this.iter(function(Fe){var At=Fe.text.length+se;if(At>R)return q=R,!0;R-=At,++te}),Ye(this,Pt(te,q))},indexFromPos:function(R){R=Ye(this,R);var q=R.ch;if(R.line<this.first||R.ch<0)return 0;var te=this.lineSeparator().length;return this.iter(this.first,R.line,function(se){q+=se.text.length+te}),q},copy:function(R){var q=new js(Ke(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,R&&(q.history.undoDepth=this.history.undoDepth,q.setHistory(this.getHistory())),q},linkedDoc:function(R){R||(R={});var q=this.first,te=this.first+this.size;R.from!=null&&R.from>q&&(q=R.from),R.to!=null&&R.to<te&&(te=R.to);var se=new js(Ke(this,q,te),R.mode||this.modeOption,q,this.lineSep,this.direction);return R.sharedHist&&(se.history=this.history),(this.linked||(this.linked=[])).push({doc:se,sharedHist:R.sharedHist}),se.linked=[{doc:this,isParent:!0,sharedHist:R.sharedHist}],Hu(se,Eu(this)),se},unlinkDoc:function(R){if(R instanceof ko&&(R=R.doc),this.linked)for(var q=0;q<this.linked.length;++q){var te=this.linked[q];if(te.doc!=R)continue;this.linked.splice(q,1),R.unlinkDoc(this),Ku(Eu(this));break}if(R.history==this.history){var se=[R.id];Xn(R,function(Fe){return se.push(Fe.id)},!0),R.history=new Sa(null),R.history.done=hs(this.history.done,se),R.history.undone=hs(this.history.undone,se)}},iterLinkedDocs:function(R){Xn(this,R)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(R){return this.lineSep?R.split(this.lineSep):vr(R)},lineSeparator:function(){return this.lineSep||`
|
|
|
`},setDirection:po(function(L){if(L!="rtl"&&(L="ltr"),L==this.direction)return;this.direction=L,this.iter(function(R){return R.order=null}),this.cm&&ea(this.cm)})}),js.prototype.eachLine=js.prototype.iter;var zl=0;function nu(L){var R=this;if(au(R),Nt(R,L)||St(R.display,L))return;qe(L),c&&(zl=+new Date);var q=pi(R,L,!0),te=L.dataTransfer.files;if(!q||R.isReadOnly())return;if(te&&te.length&&window.FileReader&&window.File)for(var se=te.length,Fe=Array(se),At=0,Mt=function(){++At==se&&eo(R,function(){q=Ye(R.doc,q);var Mn={from:q,to:q,text:R.doc.splitLines(Fe.filter(function(ai){return ai!=null}).join(R.doc.lineSeparator())),origin:"paste"};Zs(R.doc,Mn),bs(R.doc,Oe(Ye(R.doc,q),Ye(R.doc,ze(Mn))))})()},Yt=function(Mn,ai){if(R.options.allowDropFileTypes&&X(R.options.allowDropFileTypes,Mn.type)==-1){Mt();return}var yi=new FileReader;yi.onerror=function(){return Mt()},yi.onload=function(){var Ai=yi.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Ai)){Mt();return}Fe[ai]=Ai,Mt()},yi.readAsText(Mn)},$t=0;$t<te.length;$t++)Yt(te[$t],$t);else{if(R.state.draggingText&&R.doc.sel.contains(q)>-1){R.state.draggingText(L),setTimeout(function(){return R.display.input.focus()},20);return}try{var Fr=L.dataTransfer.getData("Text");if(Fr){var $r;if(R.state.draggingText&&!R.state.draggingText.copy&&($r=R.listSelections()),Ri(R.doc,Oe(q,q)),$r)for(var mn=0;mn<$r.length;++mn)Rs(R.doc,"",$r[mn].anchor,$r[mn].head,"drag");R.replaceSelection(Fr,"around","paste"),R.display.input.focus()}}catch(vn){}}}function iu(L,R){if(c&&(!L.state.draggingText||+new Date-zl<100)){vt(R);return}if(Nt(L,R)||St(L.display,R))return;if(R.dataTransfer.setData("Text",L.getSelection()),R.dataTransfer.effectAllowed="copyMove",R.dataTransfer.setDragImage&&!i){var q=O("img",null,null,"position: fixed; left: 0; top: 0;");q.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",d&&(q.width=q.height=1,L.display.wrapper.appendChild(q),q._top=q.offsetTop),R.dataTransfer.setDragImage(q,0,0),d&&q.parentNode.removeChild(q)}}function Cu(L,R){var q=pi(L,R);if(!q)return;var te=document.createDocumentFragment();Zi(L,q,te),L.display.dragCursor||(L.display.dragCursor=O("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),L.display.lineSpace.insertBefore(L.display.dragCursor,L.display.cursorDiv)),I(L.display.dragCursor,te)}function au(L){L.display.dragCursor&&(L.display.lineSpace.removeChild(L.display.dragCursor),L.display.dragCursor=null)}function ou(L){if(!document.getElementsByClassName)return;for(var R=document.getElementsByClassName("CodeMirror"),q=[],te=0;te<R.length;te++){var se=R[te].CodeMirror;se&&q.push(se)}q.length&&q[0].operation(function(){for(var Fe=0;Fe<q.length;Fe++)L(q[Fe])})}var Rl=!1;function Tu(){if(Rl)return;Wl(),Rl=!0}function Wl(){var L;Pe(window,"resize",function(){L==null&&(L=setTimeout(function(){L=null,ou(_u)},100))}),Pe(window,"blur",function(){return ou(ga)})}function _u(L){var R=L.display;R.cachedCharWidth=R.cachedTextHeight=R.cachedPaddingH=null,R.scrollbarsClipped=!1,L.setSize()}for(var ll={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"},bl=0;bl<10;bl++)ll[bl+48]=ll[bl+96]=String(bl);for(var wl=65;wl<=90;wl++)ll[wl]=String.fromCharCode(wl);for(var Ml=1;Ml<=12;Ml++)ll[Ml+111]=ll[Ml+63235]="F"+Ml;var ul={};ul.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"},ul.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"},ul.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"},ul.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"]},ul.default=A?ul.macDefault:ul.pcDefault;function zu(L){var R=L.split(/-(?!$)/);L=R[R.length-1];for(var q,te,se,Fe,At=0;At<R.length-1;At++){var Mt=R[At];if(/^(cmd|meta|m)$/i.test(Mt))Fe=!0;else if(/^a(lt)?$/i.test(Mt))q=!0;else if(/^(c|ctrl|control)$/i.test(Mt))te=!0;else if(/^s(hift)?$/i.test(Mt))se=!0;else throw new Error("Unrecognized modifier name: "+Mt)}return q&&(L="Alt-"+L),te&&(L="Ctrl-"+L),Fe&&(L="Cmd-"+L),se&&(L="Shift-"+L),L}function Hs(L){var R={};for(var q in L)if(L.hasOwnProperty(q)){var te=L[q];if(/^(name|fallthrough|(de|at)tach)$/.test(q))continue;if(te=="..."){delete L[q];continue}for(var se=Be(q.split(" "),zu),Fe=0;Fe<se.length;Fe++){var At=void 0,Mt=void 0;Fe==se.length-1?(Mt=se.join(" "),At=te):(Mt=se.slice(0,Fe+1).join(" "),At="...");var Yt=R[Mt];if(!Yt)R[Mt]=At;else if(Yt!=At)throw new Error("Inconsistent bindings for "+Mt)}delete L[q]}for(var $t in R)L[$t]=R[$t];return L}function Js(L,R,q,te){R=Sl(R);var se=R.call?R.call(L,te):R[L];if(se===!1)return"nothing";if(se==="...")return"multi";if(se!=null&&q(se))return"handled";if(R.fallthrough){if(Object.prototype.toString.call(R.fallthrough)!="[object Array]")return Js(L,R.fallthrough,q,te);for(var Fe=0;Fe<R.fallthrough.length;Fe++){var At=Js(L,R.fallthrough[Fe],q,te);if(At)return At}}}function Bl(L){var R=typeof L=="string"?L:ll[L.keyCode];return R=="Ctrl"||R=="Alt"||R=="Shift"||R=="Mod"}function Iu(L,R,q){var te=L;return R.altKey&&te!="Alt"&&(L="Alt-"+L),(w?R.metaKey:R.ctrlKey)&&te!="Ctrl"&&(L="Ctrl-"+L),(w?R.ctrlKey:R.metaKey)&&te!="Mod"&&(L="Cmd-"+L),!q&&R.shiftKey&&te!="Shift"&&(L="Shift-"+L),L}function Vl(L,R){if(d&&L.keyCode==34&&L.char)return!1;var q=ll[L.keyCode];return q==null||L.altGraphKey?!1:(L.keyCode==3&&L.code&&(q=L.code),Iu(q,L,R))}function Sl(L){return typeof L=="string"?ul[L]:L}function xl(L,R){for(var q=L.doc.sel.ranges,te=[],se=0;se<q.length;se++){for(var Fe=R(q[se]);te.length&&jt(Fe.from,ye(te).to)<=0;){var At=te.pop();if(jt(At.from,Fe.from)<0){Fe.from=At.from;break}}te.push(Fe)}Fo(L,function(){for(var Mt=te.length-1;Mt>=0;Mt--)Rs(L.doc,"",te[Mt].from,te[Mt].to,"+delete");Aa(L)})}function su(L,R,q){var te=Le(L.text,R+q,q);return te<0||te>L.text.length?null:te}function lu(L,R,q){var te=su(L,R.ch,q);return te==null?null:new Pt(R.line,te,q<0?"after":"before")}function uu(L,R,q,te,se){if(L){R.doc.direction=="rtl"&&(se=-se);var Fe=ut(q,R.doc.direction);if(Fe){var At=se<0?ye(Fe):Fe[0],Mt=se<0==(At.level==1),Yt=Mt?"after":"before",$t;if(At.level>0||R.doc.direction=="rtl"){var Fr=Kn(R,q);$t=se<0?q.text.length-1:0;var $r=Gn(R,Fr,$t).top;$t=Ee(function(mn){return Gn(R,Fr,mn).top==$r},se<0==(At.level==1)?At.from:At.to-1,$t),Yt=="before"&&($t=su(q,$t,1))}else $t=se<0?At.to:At.from;return new Pt(te,$t,Yt)}}return new Pt(te,se<0?q.text.length:0,se<0?"before":"after")}function cu(L,R,q,te){var se=ut(R,L.doc.direction);if(!se)return lu(R,q,te);q.ch>=R.text.length?(q.ch=R.text.length,q.sticky="before"):q.ch<=0&&(q.ch=0,q.sticky="after");var Fe=Ie(se,q.ch,q.sticky),At=se[Fe];if(L.doc.direction=="ltr"&&At.level%2==0&&(te>0?At.to>q.ch:At.from<q.ch))return lu(R,q,te);var Mt=function(Ni,Mi){return su(R,Ni instanceof Pt?Ni.ch:Ni,Mi)},Yt,$t=function(Ni){return L.options.lineWrapping?(Yt=Yt||Kn(L,R),di(L,R,Yt,Ni)):{begin:0,end:R.text.length}},Fr=$t(q.sticky=="before"?Mt(q,-1):q.ch);if(L.doc.direction=="rtl"||At.level==1){var $r=At.level==1==te<0,mn=Mt(q,$r?1:-1);if(mn!=null&&($r?mn<=At.to&&mn<=Fr.end:mn>=At.from&&mn>=Fr.begin)){var vn=$r?"before":"after";return new Pt(q.line,mn,vn)}}var Mn=function(Ni,Mi,Gi){for(var ya=function(Po,Fs){return Fs?new Pt(q.line,Mt(Po,1),"before"):new Pt(q.line,Po,"after")};Ni>=0&&Ni<se.length;Ni+=Mi){var da=se[Ni],qa=Mi>0==(da.level!=1),ho=qa?Gi.begin:Mt(Gi.end,-1);if(da.from<=ho&&ho<da.to)return ya(ho,qa);if(ho=qa?da.from:Mt(da.to,-1),Gi.begin<=ho&&ho<Gi.end)return ya(ho,qa)}},ai=Mn(Fe+te,te,Fr);if(ai)return ai;var yi=te>0?Fr.end:Mt(Fr.begin,-1);return yi!=null&&!(te>0&&yi==R.text.length)&&(ai=Mn(te>0?0:se.length-1,te,$t(yi)),ai)?ai:null}var Al={selectAll:Ps,singleSelection:function(R){return R.setSelection(R.getCursor("anchor"),R.getCursor("head"),Se)},killLine:function(R){return xl(R,function(q){if(q.empty()){var te=be(R.doc,q.head.line).text.length;return q.head.ch==te&&q.head.line<R.lastLine()?{from:q.head,to:Pt(q.head.line+1,0)}:{from:q.head,to:Pt(q.head.line,te)}}else return{from:q.from(),to:q.to()}})},deleteLine:function(R){return xl(R,function(q){return{from:Pt(q.from().line,0),to:Ye(R.doc,Pt(q.to().line+1,0))}})},delLineLeft:function(R){return xl(R,function(q){return{from:Pt(q.from().line,0),to:q.from()}})},delWrappedLineLeft:function(R){return xl(R,function(q){var te=R.charCoords(q.head,"div").top+5,se=R.coordsChar({left:0,top:te},"div");return{from:se,to:q.from()}})},delWrappedLineRight:function(R){return xl(R,function(q){var te=R.charCoords(q.head,"div").top+5,se=R.coordsChar({left:R.display.lineDiv.offsetWidth+100,top:te},"div");return{from:q.from(),to:se}})},undo:function(R){return R.undo()},redo:function(R){return R.redo()},undoSelection:function(R){return R.undoSelection()},redoSelection:function(R){return R.redoSelection()},goDocStart:function(R){return R.extendSelection(Pt(R.firstLine(),0))},goDocEnd:function(R){return R.extendSelection(Pt(R.lastLine()))},goLineStart:function(R){return R.extendSelectionsBy(function(q){return Xl(R,q.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(R){return R.extendSelectionsBy(function(q){return du(R,q.head)},{origin:"+move",bias:1})},goLineEnd:function(R){return R.extendSelectionsBy(function(q){return Fl(R,q.head.line)},{origin:"+move",bias:-1})},goLineRight:function(R){return R.extendSelectionsBy(function(q){var te=R.cursorCoords(q.head,"div").top+5;return R.coordsChar({left:R.display.lineDiv.offsetWidth+100,top:te},"div")},pe)},goLineLeft:function(R){return R.extendSelectionsBy(function(q){var te=R.cursorCoords(q.head,"div").top+5;return R.coordsChar({left:0,top:te},"div")},pe)},goLineLeftSmart:function(R){return R.extendSelectionsBy(function(q){var te=R.cursorCoords(q.head,"div").top+5,se=R.coordsChar({left:0,top:te},"div");return se.ch<R.getLine(se.line).search(/\S/)?du(R,q.head):se},pe)},goLineUp:function(R){return R.moveV(-1,"line")},goLineDown:function(R){return R.moveV(1,"line")},goPageUp:function(R){return R.moveV(-1,"page")},goPageDown:function(R){return R.moveV(1,"page")},goCharLeft:function(R){return R.moveH(-1,"char")},goCharRight:function(R){return R.moveH(1,"char")},goColumnLeft:function(R){return R.moveH(-1,"column")},goColumnRight:function(R){return R.moveH(1,"column")},goWordLeft:function(R){return R.moveH(-1,"word")},goGroupRight:function(R){return R.moveH(1,"group")},goGroupLeft:function(R){return R.moveH(-1,"group")},goWordRight:function(R){return R.moveH(1,"word")},delCharBefore:function(R){return R.deleteH(-1,"codepoint")},delCharAfter:function(R){return R.deleteH(1,"char")},delWordBefore:function(R){return R.deleteH(-1,"word")},delWordAfter:function(R){return R.deleteH(1,"word")},delGroupBefore:function(R){return R.deleteH(-1,"group")},delGroupAfter:function(R){return R.deleteH(1,"group")},indentAuto:function(R){return R.indentSelection("smart")},indentMore:function(R){return R.indentSelection("add")},indentLess:function(R){return R.indentSelection("subtract")},insertTab:function(R){return R.replaceSelection(" ")},insertSoftTab:function(R){for(var q=[],te=R.listSelections(),se=R.options.tabSize,Fe=0;Fe<te.length;Fe++){var At=te[Fe].from(),Mt=K(R.getLine(At.line),At.ch,se);q.push(Ue(se-Mt%se))}R.replaceSelections(q)},defaultTab:function(R){R.somethingSelected()?R.indentSelection("add"):R.execCommand("insertTab")},transposeChars:function(R){return Fo(R,function(){for(var q=R.listSelections(),te=[],se=0;se<q.length;se++){if(!q[se].empty())continue;var Fe=q[se].head,At=be(R.doc,Fe.line).text;if(At){if(Fe.ch==At.length&&(Fe=new Pt(Fe.line,Fe.ch-1)),Fe.ch>0)Fe=new Pt(Fe.line,Fe.ch+1),R.replaceRange(At.charAt(Fe.ch-1)+At.charAt(Fe.ch-2),Pt(Fe.line,Fe.ch-2),Fe,"+transpose");else if(Fe.line>R.doc.first){var Mt=be(R.doc,Fe.line-1).text;Mt&&(Fe=new Pt(Fe.line,1),R.replaceRange(At.charAt(0)+R.doc.lineSeparator()+Mt.charAt(Mt.length-1),Pt(Fe.line-1,Mt.length-1),Fe,"+transpose"))}}te.push(new de(Fe,Fe))}R.setSelections(te)})},newlineAndIndent:function(R){return Fo(R,function(){for(var q=R.listSelections(),te=q.length-1;te>=0;te--)R.replaceRange(R.doc.lineSeparator(),q[te].anchor,q[te].head,"+input");q=R.listSelections();for(var se=0;se<q.length;se++)R.indentLine(q[se].from().line,null,!0);Aa(R)})},openLine:function(R){return R.replaceSelection(`
|
|
|
`,"start")},toggleOverwrite:function(R){return R.toggleOverwrite()}};function Xl(L,R){var q=be(L.doc,R),te=fa(q);return te!=q&&(R=ct(te)),uu(!0,L,te,R,1)}function Fl(L,R){var q=be(L.doc,R),te=Bi(q);return te!=q&&(R=ct(te)),uu(!0,L,q,R,-1)}function du(L,R){var q=Xl(L,R.line),te=be(L.doc,q.line),se=ut(te,L.doc.direction);if(!se||se[0].level==0){var Fe=Math.max(q.ch,te.text.search(/\S/)),At=R.line==q.line&&R.ch<=Fe&&R.ch;return Pt(q.line,At?0:Fe,q.sticky)}return q}function ps(L,R,q){if(typeof R=="string"&&(R=Al[R],!R))return!1;L.display.input.ensurePolled();var te=L.display.shift,se=!1;try{L.isReadOnly()&&(L.state.suppressEdits=!0),q&&(L.display.shift=!1),se=R(L)!=ee}finally{L.display.shift=te,L.state.suppressEdits=!1}return se}function kl(L,R,q){for(var te=0;te<L.state.keyMaps.length;te++){var se=Js(R,L.state.keyMaps[te],q,L);if(se)return se}return L.options.extraKeys&&Js(R,L.options.extraKeys,q,L)||Js(R,L.options.keyMap,q,L)}var Wu=new G;function Pl(L,R,q,te){var se=L.state.keySeq;if(se){if(Bl(R))return"handled";if(/\'$/.test(R)?L.state.keySeq=null:Wu.set(50,function(){L.state.keySeq==se&&(L.state.keySeq=null,L.display.input.reset())}),Gl(L,se+" "+R,q,te))return!0}return Gl(L,R,q,te)}function Gl(L,R,q,te){var se=kl(L,R,te);return se=="multi"&&(L.state.keySeq=R),se=="handled"&&tr(L,"keyHandled",L,R,q),(se=="handled"||se=="multi")&&(qe(q),xi(L)),!!se}function Lu(L,R){var q=Vl(R,!0);return q?R.shiftKey&&!L.state.keySeq?Pl(L,"Shift-"+q,R,function(te){return ps(L,te,!0)})||Pl(L,q,R,function(te){if(typeof te=="string"?/^go[A-Z]/.test(te):te.motion)return ps(L,te)}):Pl(L,q,R,function(te){return ps(L,te)}):!1}function Vu(L,R,q){return Pl(L,"'"+q+"'",R,function(te){return ps(L,te,!0)})}var hu=null;function Ou(L){var R=this;if(L.target&&L.target!=R.display.input.getField())return;if(R.curOp.focus=P(),Nt(R,L))return;c&&o<11&&L.keyCode==27&&(L.returnValue=!1);var q=L.keyCode;R.display.shift=q==16||L.shiftKey;var te=Lu(R,L);d&&(hu=te?q:null,!te&&q==88&&!ce&&(A?L.metaKey:L.ctrlKey)&&R.replaceSelection("",null,"cut")),C&&!A&&!te&&q==46&&L.shiftKey&&!L.ctrlKey&&document.execCommand&&document.execCommand("cut"),q==18&&!/\bCodeMirror-crosshair\b/.test(R.display.lineDiv.className)&&Xu(R)}function Xu(L){var R=L.display.lineDiv;V(R,"CodeMirror-crosshair");function q(te){(te.keyCode==18||!te.altKey)&&(S(R,"CodeMirror-crosshair"),et(document,"keyup",q),et(document,"mouseover",q))}Pe(document,"keyup",q),Pe(document,"mouseover",q)}function Nu(L){L.keyCode==16&&(this.doc.sel.shift=!1),Nt(this,L)}function Du(L){var R=this;if(L.target&&L.target!=R.display.input.getField())return;if(St(R.display,L)||Nt(R,L)||L.ctrlKey&&!L.altKey||A&&L.metaKey)return;var q=L.keyCode,te=L.charCode;if(d&&q==hu){hu=null,qe(L);return}if(d&&(!L.which||L.which<10)&&Lu(R,L))return;var se=String.fromCharCode(te==null?q:te);if(se=="\b")return;if(Vu(R,L,se))return;R.display.input.onKeyPress(L)}var Gu=400,Ql=function(R,q,te){this.time=R,this.pos=q,this.button=te};Ql.prototype.compare=function(L,R,q){return this.time+Gu>L&&jt(R,this.pos)==0&&q==this.button};var El,Cl;function Ru(L,R){var q=+new Date;return Cl&&Cl.compare(q,L,R)?(El=Cl=null,"triple"):El&&El.compare(q,L,R)?(Cl=new Ql(q,L,R),El=null,"double"):(El=new Ql(q,L,R),Cl=null,"single")}function Ul(L){var R=this,q=R.display;if(Nt(R,L)||q.activeTouch&&q.input.supportsTouch())return;if(q.input.ensurePolled(),q.shift=L.shiftKey,St(q,L)){n||(q.scroller.draggable=!1,setTimeout(function(){return q.scroller.draggable=!0},100));return}if(jl(R,L))return;var te=pi(R,L),se=Ae(L),Fe=te?Ru(te,se):"single";if(window.focus(),se==1&&R.state.selectingText&&R.state.selectingText(L),te&&Mu(R,se,te,Fe,L))return;se==1?te?Yu(R,te,Fe,L):at(L)==q.scroller&&qe(L):se==2?(te&&mo(R.doc,te),setTimeout(function(){return q.input.focus()},20)):se==3&&(_?R.display.input.onContextMenu(L):oa(R))}function Mu(L,R,q,te,se){var Fe="Click";return te=="double"?Fe="Double"+Fe:te=="triple"&&(Fe="Triple"+Fe),Fe=(R==1?"Left":R==2?"Middle":"Right")+Fe,Pl(L,Iu(Fe,se),se,function(At){if(typeof At=="string"&&(At=Al[At]),!At)return!1;var Mt=!1;try{L.isReadOnly()&&(L.state.suppressEdits=!0),Mt=At(L,q)!=ee}finally{L.state.suppressEdits=!1}return Mt})}function Qu(L,R,q){var te=L.getOption("configureMouse"),se=te?te(L,R,q):{};if(se.unit==null){var Fe=v?q.shiftKey&&q.metaKey:q.altKey;se.unit=Fe?"rectangle":R=="single"?"char":R=="double"?"word":"line"}return(se.extend==null||L.doc.extend)&&(se.extend=L.doc.extend||q.shiftKey),se.addNew==null&&(se.addNew=A?q.metaKey:q.ctrlKey),se.moveOnDrag==null&&(se.moveOnDrag=!(A?q.altKey:q.ctrlKey)),se}function Yu(L,R,q,te){c?setTimeout(U(Ba,L),0):L.curOp.focus=P();var se=Qu(L,q,te),Fe=L.doc.sel,At;L.options.dragDrop&&Xt&&!L.isReadOnly()&&q=="single"&&(At=Fe.contains(R))>-1&&(jt((At=Fe.ranges[At]).from(),R)<0||R.xRel>0)&&(jt(At.to(),R)>0||R.xRel<0)?Zu(L,te,R,se):Yl(L,te,R,se)}function Zu(L,R,q,te){var se=L.display,Fe=!1,At=eo(L,function($t){n&&(se.scroller.draggable=!1),L.state.draggingText=!1,et(se.wrapper.ownerDocument,"mouseup",At),et(se.wrapper.ownerDocument,"mousemove",Mt),et(se.scroller,"dragstart",Yt),et(se.scroller,"drop",At),Fe||(qe($t),te.addNew||mo(L.doc,q,null,null,te.extend),n&&!i||c&&o==9?setTimeout(function(){se.wrapper.ownerDocument.body.focus({preventScroll:!0}),se.input.focus()},20):se.input.focus())}),Mt=function(Fr){Fe=Fe||Math.abs(R.clientX-Fr.clientX)+Math.abs(R.clientY-Fr.clientY)>=10},Yt=function(){return Fe=!0};n&&(se.scroller.draggable=!0),L.state.draggingText=At,At.copy=!te.moveOnDrag,se.scroller.dragDrop&&se.scroller.dragDrop(),Pe(se.wrapper.ownerDocument,"mouseup",At),Pe(se.wrapper.ownerDocument,"mousemove",Mt),Pe(se.scroller,"dragstart",Yt),Pe(se.scroller,"drop",At),oa(L),setTimeout(function(){return se.input.focus()},20)}function Tl(L,R,q){if(q=="char")return new de(R,R);if(q=="word")return L.findWordAt(R);if(q=="line")return new de(Pt(R.line,0),Ye(L.doc,Pt(R.line+1,0)));var te=q(L,R);return new de(te.from,te.to)}function Yl(L,R,q,te){var se=L.display,Fe=L.doc;qe(R);var At,Mt,Yt=Fe.sel,$t=Yt.ranges;if(te.addNew&&!te.extend?(Mt=Fe.sel.contains(q),Mt>-1?At=$t[Mt]:At=new de(q,q)):(At=Fe.sel.primary(),Mt=Fe.sel.primIndex),te.unit=="rectangle")te.addNew||(At=new de(q,q)),q=pi(L,R,!0,!0),Mt=-1;else{var Fr=Tl(L,q,te.unit);te.extend?At=fs(At,Fr.anchor,Fr.head,te.extend):At=Fr}te.addNew?Mt==-1?(Mt=$t.length,No(Fe,Te(L,$t.concat([At]),Mt),{scroll:!1,origin:"*mouse"})):$t.length>1&&$t[Mt].empty()&&te.unit=="char"&&!te.extend?(No(Fe,Te(L,$t.slice(0,Mt).concat($t.slice(Mt+1)),0),{scroll:!1,origin:"*mouse"}),Yt=Fe.sel):rs(Fe,Mt,At,$):(Mt=0,No(Fe,new Vt([At],0),$),Yt=Fe.sel);var $r=q;function mn(Mi){if(jt($r,Mi)==0)return;if($r=Mi,te.unit=="rectangle"){for(var Gi=[],ya=L.options.tabSize,da=K(be(Fe,q.line).text,q.ch,ya),qa=K(be(Fe,Mi.line).text,Mi.ch,ya),ho=Math.min(da,qa),ms=Math.max(da,qa),Po=Math.min(q.line,Mi.line),Fs=Math.min(L.lastLine(),Math.max(q.line,Mi.line));Po<=Fs;Po++){var Ks=be(Fe,Po).text,as=xe(Ks,ho,ya);ho==ms?Gi.push(new de(Pt(Po,as),Pt(Po,as))):Ks.length>as&&Gi.push(new de(Pt(Po,as),Pt(Po,xe(Ks,ms,ya))))}Gi.length||Gi.push(new de(q,q)),No(Fe,Te(L,Yt.ranges.slice(0,Mt).concat(Gi),Mt),{origin:"*mouse",scroll:!1}),L.scrollIntoView(Mi)}else{var zs=At,ws=Tl(L,Mi,te.unit),gs=zs.anchor,us;jt(ws.anchor,gs)>0?(us=ws.head,gs=ot(zs.from(),ws.anchor)):(us=ws.anchor,gs=pt(zs.to(),ws.head));var qo=Yt.ranges.slice(0);qo[Mt]=qu(L,new de(Ye(Fe,gs),us)),No(Fe,Te(L,qo,Mt),$)}}var vn=se.wrapper.getBoundingClientRect(),Mn=0;function ai(Mi){var Gi=++Mn,ya=pi(L,Mi,!0,te.unit=="rectangle");if(!ya)return;if(jt(ya,$r)!=0){L.curOp.focus=P(),mn(ya);var da=Wa(se,Fe);(ya.line>=da.to||ya.line<da.from)&&setTimeout(eo(L,function(){Mn==Gi&&ai(Mi)}),150)}else{var qa=Mi.clientY<vn.top?-20:Mi.clientY>vn.bottom?20:0;qa&&setTimeout(eo(L,function(){if(Mn!=Gi)return;se.scroller.scrollTop+=qa,ai(Mi)}),50)}}function yi(Mi){L.state.selectingText=!1,Mn=Infinity,Mi&&(qe(Mi),se.input.focus()),et(se.wrapper.ownerDocument,"mousemove",Ai),et(se.wrapper.ownerDocument,"mouseup",Ni),Fe.history.lastSelOrigin=null}var Ai=eo(L,function(Mi){Mi.buttons===0||!Ae(Mi)?yi(Mi):ai(Mi)}),Ni=eo(L,yi);L.state.selectingText=Ni,Pe(se.wrapper.ownerDocument,"mousemove",Ai),Pe(se.wrapper.ownerDocument,"mouseup",Ni)}function qu(L,R){var q=R.anchor,te=R.head,se=be(L.doc,q.line);if(jt(q,te)==0&&q.sticky==te.sticky)return R;var Fe=ut(se);if(!Fe)return R;var At=Ie(Fe,q.ch,q.sticky),Mt=Fe[At];if(Mt.from!=q.ch&&Mt.to!=q.ch)return R;var Yt=At+(Mt.from==q.ch==(Mt.level!=1)?0:1);if(Yt==0||Yt==Fe.length)return R;var $t;if(te.line!=q.line)$t=(te.line-q.line)*(L.doc.direction=="ltr"?1:-1)>0;else{var Fr=Ie(Fe,te.ch,te.sticky),$r=Fr-At||(te.ch-q.ch)*(Mt.level==1?-1:1);Fr==Yt-1||Fr==Yt?$t=$r<0:$t=$r>0}var mn=Fe[Yt+($t?-1:0)],vn=$t==(mn.level==1),Mn=vn?mn.from:mn.to,ai=vn?"after":"before";return q.ch==Mn&&q.sticky==ai?R:new de(new Pt(q.line,Mn,ai),te)}function fu(L,R,q,te){var se,Fe;if(R.touches)se=R.touches[0].clientX,Fe=R.touches[0].clientY;else try{se=R.clientX,Fe=R.clientY}catch(mn){return!1}if(se>=Math.floor(L.display.gutters.getBoundingClientRect().right))return!1;te&&qe(R);var At=L.display,Mt=At.lineDiv.getBoundingClientRect();if(Fe>Mt.bottom||!Ft(L,q))return ue(R);Fe-=Mt.top-At.viewOffset;for(var Yt=0;Yt<L.display.gutterSpecs.length;++Yt){var $t=At.gutters.childNodes[Yt];if($t&&$t.getBoundingClientRect().right>=se){var Fr=Lt(L.doc,Fe),$r=L.display.gutterSpecs[Yt];return _t(L,q,L,Fr,$r.className,R),ue(R)}}}function jl(L,R){return fu(L,R,"gutterClick",!0)}function pu(L,R){if(St(L.display,R)||mu(L,R))return;if(Nt(L,R,"contextmenu"))return;_||L.display.input.onContextMenu(R)}function mu(L,R){return Ft(L,"gutterContextMenu")?fu(L,R,"gutterContextMenu",!1):!1}function gu(L){L.display.wrapper.className=L.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+L.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Wt(L)}var _l={toString:function(){return"CodeMirror.Init"}},Zl={},Il={};function Bu(L){var R=L.optionHandlers;function q(te,se,Fe,At){L.defaults[te]=se,Fe&&(R[te]=At?function(Mt,Yt,$t){$t!=_l&&Fe(Mt,Yt,$t)}:Fe)}L.defineOption=q,L.Init=_l,q("value","",function(te,se){return te.setValue(se)},!0),q("mode",null,function(te,se){te.doc.modeOption=se,Pr(te)},!0),q("indentUnit",2,Pr,!0),q("indentWithTabs",!1),q("smartIndent",!0),q("tabSize",4,function(te){dn(te),Wt(te),ki(te)},!0),q("lineSeparator",null,function(te,se){if(te.doc.lineSep=se,!se)return;var Fe=[],At=te.doc.first;te.doc.iter(function(Yt){for(var $t=0;;){var Fr=Yt.text.indexOf(se,$t);if(Fr==-1)break;$t=Fr+se.length,Fe.push(Pt(At,Fr))}At++});for(var Mt=Fe.length-1;Mt>=0;Mt--)Rs(te.doc,se,Fe[Mt],Pt(Fe[Mt].line,Fe[Mt].ch+se.length))}),q("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(te,se,Fe){te.state.specialChars=new RegExp(se.source+(se.test(" ")?"":"| "),"g"),Fe!=_l&&te.refresh()}),q("specialCharPlaceholder",_a,function(te){return te.refresh()},!0),q("electricChars",!0),q("inputStyle",f?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),q("spellcheck",!1,function(te,se){return te.getInputField().spellcheck=se},!0),q("autocorrect",!1,function(te,se){return te.getInputField().autocorrect=se},!0),q("autocapitalize",!1,function(te,se){return te.getInputField().autocapitalize=se},!0),q("rtlMoveVisually",!x),q("wholeLineUpdateBefore",!0),q("theme","default",function(te){gu(te),Ns(te)},!0),q("keyMap","default",function(te,se,Fe){var At=Sl(se),Mt=Fe!=_l&&Sl(Fe);Mt&&Mt.detach&&Mt.detach(te,At),At.attach&&At.attach(te,Mt||null)}),q("extraKeys",null),q("configureMouse",null),q("lineWrapping",!1,$u,!0),q("gutters",[],function(te,se){te.display.gutterSpecs=Os(se,te.options.lineNumbers),Ns(te)},!0),q("fixedGutter",!0,function(te,se){te.display.gutters.style.left=se?Ki(te.display)+"px":"0",te.refresh()},!0),q("coverGutterNextToScrollbar",!1,function(te){return $i(te)},!0),q("scrollbarStyle","native",function(te){Ha(te),$i(te),te.display.scrollbars.setScrollTop(te.doc.scrollTop),te.display.scrollbars.setScrollLeft(te.doc.scrollLeft)},!0),q("lineNumbers",!1,function(te,se){te.display.gutterSpecs=Os(te.options.gutters,se),Ns(te)},!0),q("firstLineNumber",1,Ns,!0),q("lineNumberFormatter",function(te){return te},Ns,!0),q("showCursorWhenSelecting",!1,bi,!0),q("resetSelectionOnContextMenu",!0),q("lineWiseCopyCut",!0),q("pasteLinesPerSelection",!0),q("selectionsMayTouch",!1),q("readOnly",!1,function(te,se){se=="nocursor"&&(ga(te),te.display.input.blur()),te.display.input.readOnlyChanged(se)}),q("screenReaderLabel",null,function(te,se){se=se===""?null:se,te.display.input.screenReaderLabelChanged(se)}),q("disableInput",!1,function(te,se){se||te.display.input.reset()},!0),q("dragDrop",!0,Ju),q("allowDropFileTypes",null),q("cursorBlinkRate",530),q("cursorScrollMargin",0),q("cursorHeight",1,bi,!0),q("singleCursorHeightPerLine",!0,bi,!0),q("workTime",100),q("workDelay",100),q("flattenSpans",!0,dn,!0),q("addModeClass",!1,dn,!0),q("pollInterval",100),q("undoDepth",200,function(te,se){return te.doc.history.undoDepth=se}),q("historyEventDelay",1250),q("viewportMargin",10,function(te){return te.refresh()},!0),q("maxHighlightLength",1e4,dn,!0),q("moveInputWithCursor",!0,function(te,se){se||te.display.input.resetPosition()}),q("tabindex",null,function(te,se){return te.display.input.getField().tabIndex=se||""}),q("autofocus",null),q("direction","ltr",function(te,se){return te.doc.setDirection(se)},!0),q("phrases",null)}function Ju(L,R,q){var te=q&&q!=_l;if(!R!=!te){var se=L.display.dragFunctions,Fe=R?Pe:et;Fe(L.display.scroller,"dragstart",se.start),Fe(L.display.scroller,"dragenter",se.enter),Fe(L.display.scroller,"dragover",se.over),Fe(L.display.scroller,"dragleave",se.leave),Fe(L.display.scroller,"drop",se.drop)}}function $u(L){L.options.lineWrapping?(V(L.display.wrapper,"CodeMirror-wrap"),L.display.sizer.style.minWidth="",L.display.sizerWidth=null):(S(L.display.wrapper,"CodeMirror-wrap"),ni(L)),fi(L),ki(L),Wt(L),setTimeout(function(){return $i(L)},100)}function ko(L,R){var q=this;if(!(this instanceof ko))return new ko(L,R);this.options=R=R?z(R):{},z(Zl,R,!1);var te=R.value;typeof te=="string"?te=new js(te,R.mode,null,R.lineSeparator,R.direction):R.mode&&(te.modeOption=R.mode),this.doc=te;var se=new ko.inputStyles[R.inputStyle](this),Fe=this.display=new Go(L,te,se,R);Fe.wrapper.CodeMirror=this,gu(this),R.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Ha(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 G,keySeq:null,specialChars:null},R.autofocus&&!f&&Fe.input.focus(),c&&o<11&&setTimeout(function(){return q.display.input.reset(!0)},20),Ll(this),Tu(),ma(this),this.curOp.forceUpdate=!0,li(this,te),R.autofocus&&!f||this.hasFocus()?setTimeout(function(){q.hasFocus()&&!q.state.focused&&qi(q)},20):ga(this);for(var At in Il)Il.hasOwnProperty(At)&&Il[At](this,R[At],_l);Gs(this),R.finishInit&&R.finishInit(this);for(var Mt=0;Mt<lt.length;++Mt)lt[Mt](this);Bo(this),n&&R.lineWrapping&&getComputedStyle(Fe.lineDiv).textRendering=="optimizelegibility"&&(Fe.lineDiv.style.textRendering="auto")}ko.defaults=Zl,ko.optionHandlers=Il;function Ll(L){var R=L.display;Pe(R.scroller,"mousedown",eo(L,Ul)),c&&o<11?Pe(R.scroller,"dblclick",eo(L,function(Yt){if(Nt(L,Yt))return;var $t=pi(L,Yt);if(!$t||jl(L,Yt)||St(L.display,Yt))return;qe(Yt);var Fr=L.findWordAt($t);mo(L.doc,Fr.anchor,Fr.head)})):Pe(R.scroller,"dblclick",function(Yt){return Nt(L,Yt)||qe(Yt)}),Pe(R.scroller,"contextmenu",function(Yt){return pu(L,Yt)}),Pe(R.input.getField(),"contextmenu",function(Yt){R.scroller.contains(Yt.target)||pu(L,Yt)});var q,te={end:0};function se(){R.activeTouch&&(q=setTimeout(function(){return R.activeTouch=null},1e3),te=R.activeTouch,te.end=+new Date)}function Fe(Yt){if(Yt.touches.length!=1)return!1;var $t=Yt.touches[0];return $t.radiusX<=1&&$t.radiusY<=1}function At(Yt,$t){if($t.left==null)return!0;var Fr=$t.left-Yt.left,$r=$t.top-Yt.top;return Fr*Fr+$r*$r>20*20}Pe(R.scroller,"touchstart",function(Yt){if(!Nt(L,Yt)&&!Fe(Yt)&&!jl(L,Yt)){R.input.ensurePolled(),clearTimeout(q);var $t=+new Date;R.activeTouch={start:$t,moved:!1,prev:$t-te.end<=300?te:null},Yt.touches.length==1&&(R.activeTouch.left=Yt.touches[0].pageX,R.activeTouch.top=Yt.touches[0].pageY)}}),Pe(R.scroller,"touchmove",function(){R.activeTouch&&(R.activeTouch.moved=!0)}),Pe(R.scroller,"touchend",function(Yt){var $t=R.activeTouch;if($t&&!St(R,Yt)&&$t.left!=null&&!$t.moved&&new Date-$t.start<300){var Fr=L.coordsChar(R.activeTouch,"page"),$r;!$t.prev||At($t,$t.prev)?$r=new de(Fr,Fr):!$t.prev.prev||At($t,$t.prev.prev)?$r=L.findWordAt(Fr):$r=new de(Pt(Fr.line,0),Ye(L.doc,Pt(Fr.line+1,0))),L.setSelection($r.anchor,$r.head),L.focus(),qe(Yt)}se()}),Pe(R.scroller,"touchcancel",se),Pe(R.scroller,"scroll",function(){R.scroller.clientHeight&&(Qi(L,R.scroller.scrollTop),yo(L,R.scroller.scrollLeft,!0),_t(L,"scroll",L))}),Pe(R.scroller,"mousewheel",function(Yt){return ds(L,Yt)}),Pe(R.scroller,"DOMMouseScroll",function(Yt){return ds(L,Yt)}),Pe(R.wrapper,"scroll",function(){return R.wrapper.scrollTop=R.wrapper.scrollLeft=0}),R.dragFunctions={enter:function($t){Nt(L,$t)||vt($t)},over:function($t){Nt(L,$t)||(Cu(L,$t),vt($t))},start:function($t){return iu(L,$t)},drop:eo(L,nu),leave:function($t){Nt(L,$t)||au(L)}};var Mt=R.input.getField();Pe(Mt,"keyup",function(Yt){return Nu.call(L,Yt)}),Pe(Mt,"keydown",eo(L,Ou)),Pe(Mt,"keypress",eo(L,Du)),Pe(Mt,"focus",function(Yt){return qi(L,Yt)}),Pe(Mt,"blur",function(Yt){return ga(L,Yt)})}var lt=[];ko.defineInitHook=function(L){return lt.push(L)};function ve(L,R,q,te){var se=L.doc,Fe;q==null&&(q="add"),q=="smart"&&(se.mode.indent?Fe=kt(L,R).state:q="prev");var At=L.options.tabSize,Mt=be(se,R),Yt=K(Mt.text,null,At);Mt.stateAfter&&(Mt.stateAfter=null);var $t=Mt.text.match(/^\s*/)[0],Fr;if(!te&&!/\S/.test(Mt.text))Fr=0,q="not";else if(q=="smart"&&(Fr=se.mode.indent(Fe,Mt.text.slice($t.length),Mt.text),Fr==ee||Fr>150)){if(!te)return;q="prev"}q=="prev"?R>se.first?Fr=K(be(se,R-1).text,null,At):Fr=0:q=="add"?Fr=Yt+L.options.indentUnit:q=="subtract"?Fr=Yt-L.options.indentUnit:typeof q=="number"&&(Fr=Yt+q),Fr=Math.max(0,Fr);var $r="",mn=0;if(L.options.indentWithTabs)for(var vn=Math.floor(Fr/At);vn;--vn)mn+=At,$r+=" ";if(mn<Fr&&($r+=Ue(Fr-mn)),$r!=$t)return Rs(se,$r,Pt(R,0),Pt(R,$t.length),"+input"),Mt.stateAfter=null,!0;for(var Mn=0;Mn<se.sel.ranges.length;Mn++){var ai=se.sel.ranges[Mn];if(ai.head.line==R&&ai.head.ch<$t.length){var yi=Pt(R,$t.length);rs(se,Mn,new de(yi,yi));break}}}var Xe=null;function bt(L){Xe=L}function zt(L,R,q,te,se){var Fe=L.doc;L.display.shift=!1,te||(te=Fe.sel);var At=+new Date-200,Mt=se=="paste"||L.state.pasteIncoming>At,Yt=vr(R),$t=null;if(Mt&&te.ranges.length>1)if(Xe&&Xe.text.join(`
|
|
|
`)==R){if(te.ranges.length%Xe.text.length==0){$t=[];for(var Fr=0;Fr<Xe.text.length;Fr++)$t.push(Fe.splitLines(Xe.text[Fr]))}}else Yt.length==te.ranges.length&&L.options.pasteLinesPerSelection&&($t=Be(Yt,function(Ai){return[Ai]}));for(var $r=L.curOp.updateInput,mn=te.ranges.length-1;mn>=0;mn--){var vn=te.ranges[mn],Mn=vn.from(),ai=vn.to();vn.empty()&&(q&&q>0?Mn=Pt(Mn.line,Mn.ch-q):L.state.overwrite&&!Mt?ai=Pt(ai.line,Math.min(be(Fe,ai.line).text.length,ai.ch+ye(Yt).length)):Mt&&Xe&&Xe.lineWise&&Xe.text.join(`
|
|
|
`)==Yt.join(`
|
|
|
`)&&(Mn=ai=Pt(Mn.line,0)));var yi={from:Mn,to:ai,text:$t?$t[mn%$t.length]:Yt,origin:se||(Mt?"paste":L.state.cutIncoming>At?"cut":"+input")};Zs(L.doc,yi),tr(L,"inputRead",L,yi)}R&&!Mt&&lr(L,R),Aa(L),L.curOp.updateInput<2&&(L.curOp.updateInput=$r),L.curOp.typing=!0,L.state.pasteIncoming=L.state.cutIncoming=-1}function nr(L,R){var q=L.clipboardData&&L.clipboardData.getData("Text");if(q)return L.preventDefault(),!R.isReadOnly()&&!R.options.disableInput&&Fo(R,function(){return zt(R,q,0,null,"paste")}),!0}function lr(L,R){if(!L.options.electricChars||!L.options.smartIndent)return;for(var q=L.doc.sel,te=q.ranges.length-1;te>=0;te--){var se=q.ranges[te];if(se.head.ch>100||te&&q.ranges[te-1].head.line==se.head.line)continue;var Fe=L.getModeAt(se.head),At=!1;if(Fe.electricChars){for(var Mt=0;Mt<Fe.electricChars.length;Mt++)if(R.indexOf(Fe.electricChars.charAt(Mt))>-1){At=ve(L,se.head.line,"smart");break}}else Fe.electricInput&&(Fe.electricInput.test(be(L.doc,se.head.line).text.slice(0,se.head.ch))&&(At=ve(L,se.head.line,"smart")));At&&tr(L,"electricInput",L,se.head.line)}}function mr(L){for(var R=[],q=[],te=0;te<L.doc.sel.ranges.length;te++){var se=L.doc.sel.ranges[te].head.line,Fe={anchor:Pt(se,0),head:Pt(se+1,0)};q.push(Fe),R.push(L.getRange(Fe.anchor,Fe.head))}return{text:R,ranges:q}}function Nr(L,R,q,te){L.setAttribute("autocorrect",q?"":"off"),L.setAttribute("autocapitalize",te?"":"off"),L.setAttribute("spellcheck",!!R)}function an(){var L=O("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),R=O("div",[L],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return n?L.style.width="1000px":L.setAttribute("wrap","off"),s&&(L.style.border="1px solid black"),Nr(L),R}function on(L){var R=L.optionHandlers,q=L.helpers={};L.prototype={constructor:L,focus:function(){window.focus(),this.display.input.focus()},setOption:function(se,Fe){var At=this.options,Mt=At[se];if(At[se]==Fe&&se!="mode")return;At[se]=Fe,R.hasOwnProperty(se)&&eo(this,R[se])(this,Fe,Mt),_t(this,"optionChange",this,se)},getOption:function(se){return this.options[se]},getDoc:function(){return this.doc},addKeyMap:function(se,Fe){this.state.keyMaps[Fe?"push":"unshift"](Sl(se))},removeKeyMap:function(se){for(var Fe=this.state.keyMaps,At=0;At<Fe.length;++At)if(Fe[At]==se||Fe[At].name==se)return Fe.splice(At,1),!0},addOverlay:Mo(function(te,se){var Fe=te.token?te:L.getMode(this.options,te);if(Fe.startState)throw new Error("Overlays may not be stateful.");Q(this.state.overlays,{mode:Fe,modeSpec:te,opaque:se&&se.opaque,priority:se&&se.priority||0},function(At){return At.priority}),this.state.modeGen++,ki(this)}),removeOverlay:Mo(function(te){for(var se=this.state.overlays,Fe=0;Fe<se.length;++Fe){var At=se[Fe].modeSpec;if(At==te||typeof te=="string"&&At.name==te){se.splice(Fe,1),this.state.modeGen++,ki(this);return}}}),indentLine:Mo(function(te,se,Fe){typeof se!="string"&&typeof se!="number"&&(se==null?se=this.options.smartIndent?"smart":"prev":se=se?"add":"subtract"),rr(this.doc,te)&&ve(this,te,se,Fe)}),indentSelection:Mo(function(te){for(var se=this.doc.sel.ranges,Fe=-1,At=0;At<se.length;At++){var Mt=se[At];if(Mt.empty())Mt.head.line>Fe&&(ve(this,Mt.head.line,te,!0),Fe=Mt.head.line,At==this.doc.sel.primIndex&&Aa(this));else{var Yt=Mt.from(),$t=Mt.to(),Fr=Math.max(Fe,Yt.line);Fe=Math.min(this.lastLine(),$t.line-($t.ch?0:1))+1;for(var $r=Fr;$r<Fe;++$r)ve(this,$r,te);var mn=this.doc.sel.ranges;Yt.ch==0&&se.length==mn.length&&mn[At].from().ch>0&&rs(this.doc,At,new de(Yt,mn[At].to()),Se)}}}),getTokenAt:function(se,Fe){return Ir(this,se,Fe)},getLineTokens:function(se,Fe){return Ir(this,Pt(se),Fe,!0)},getTokenTypeAt:function(se){se=Ye(this.doc,se);var Fe=st(this,be(this.doc,se.line)),At=0,Mt=(Fe.length-1)/2,Yt=se.ch,$t;if(Yt==0)$t=Fe[2];else for(;;){var Fr=At+Mt>>1;if((Fr?Fe[Fr*2-1]:0)>=Yt)Mt=Fr;else if(Fe[Fr*2+1]<Yt)At=Fr+1;else{$t=Fe[Fr*2+2];break}}var $r=$t?$t.indexOf("overlay "):-1;return $r<0?$t:$r==0?null:$t.slice(0,$r-1)},getModeAt:function(se){var Fe=this.doc.mode;return Fe.innerMode?L.innerMode(Fe,this.getTokenAt(se).state).mode:Fe},getHelper:function(se,Fe){return this.getHelpers(se,Fe)[0]},getHelpers:function(se,Fe){var At=[];if(!q.hasOwnProperty(Fe))return At;var Mt=q[Fe],Yt=this.getModeAt(se);if(typeof Yt[Fe]=="string")Mt[Yt[Fe]]&&At.push(Mt[Yt[Fe]]);else if(Yt[Fe])for(var $t=0;$t<Yt[Fe].length;$t++){var Fr=Mt[Yt[Fe][$t]];Fr&&At.push(Fr)}else Yt.helperType&&Mt[Yt.helperType]?At.push(Mt[Yt.helperType]):Mt[Yt.name]&&At.push(Mt[Yt.name]);for(var $r=0;$r<Mt._global.length;$r++){var mn=Mt._global[$r];mn.pred(Yt,this)&&X(At,mn.val)==-1&&At.push(mn.val)}return At},getStateAfter:function(se,Fe){var At=this.doc;return se=gt(At,se==null?At.first+At.size-1:se),kt(this,se+1,Fe).state},cursorCoords:function(se,Fe){var At,Mt=this.doc.sel.primary();return se==null?At=Mt.head:typeof se=="object"?At=Ye(this.doc,se):At=se?Mt.from():Mt.to(),en(this,At,Fe||"page")},charCoords:function(se,Fe){return Kr(this,Ye(this.doc,se),Fe||"page")},coordsChar:function(se,Fe){return se=Qr(this,se,Fe||"page"),Cn(this,se.left,se.top)},lineAtHeight:function(se,Fe){return se=Qr(this,{top:se,left:0},Fe||"page").top,Lt(this.doc,se+this.display.viewOffset)},heightAtLine:function(se,Fe,At){var Mt=!1,Yt;if(typeof se=="number"){var $t=this.doc.first+this.doc.size-1;se<this.doc.first?se=this.doc.first:se>$t&&(se=$t,Mt=!0),Yt=be(this.doc,se)}else Yt=se;return _r(this,Yt,{top:0,left:0},Fe||"page",At||Mt).top+(Mt?this.doc.height-Yn(Yt):0)},defaultTextHeight:function(){return Un(this.display)},defaultCharWidth:function(){return ci(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(se,Fe,At,Mt,Yt){var $t=this.display;se=en(this,Ye(this.doc,se));var Fr=se.bottom,$r=se.left;if(Fe.style.position="absolute",Fe.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(Fe),$t.sizer.appendChild(Fe),Mt=="over")Fr=se.top;else if(Mt=="above"||Mt=="near"){var mn=Math.max($t.wrapper.clientHeight,this.doc.height),vn=Math.max($t.sizer.clientWidth,$t.lineSpace.clientWidth);(Mt=="above"||se.bottom+Fe.offsetHeight>mn)&&se.top>Fe.offsetHeight?Fr=se.top-Fe.offsetHeight:se.bottom+Fe.offsetHeight<=mn&&(Fr=se.bottom),$r+Fe.offsetWidth>vn&&($r=vn-Fe.offsetWidth)}Fe.style.top=Fr+"px",Fe.style.left=Fe.style.right="",Yt=="right"?($r=$t.sizer.clientWidth-Fe.offsetWidth,Fe.style.right="0px"):(Yt=="left"?$r=0:Yt=="middle"&&($r=($t.sizer.clientWidth-Fe.offsetWidth)/2),Fe.style.left=$r+"px"),At&&Fa(this,{left:$r,top:Fr,right:$r+Fe.offsetWidth,bottom:Fr+Fe.offsetHeight})},triggerOnKeyDown:Mo(Ou),triggerOnKeyPress:Mo(Du),triggerOnKeyUp:Nu,triggerOnMouseDown:Mo(Ul),execCommand:function(se){if(Al.hasOwnProperty(se))return Al[se].call(null,this)},triggerElectric:Mo(function(te){lr(this,te)}),findPosH:function(se,Fe,At,Mt){var Yt=1;Fe<0&&(Yt=-1,Fe=-Fe);for(var $t=Ye(this.doc,se),Fr=0;Fr<Fe&&!($t=Jr(this.doc,$t,Yt,At,Mt),$t.hitSide);++Fr);return $t},moveH:Mo(function(te,se){var Fe=this;this.extendSelectionsBy(function(At){return Fe.display.shift||Fe.doc.extend||At.empty()?Jr(Fe.doc,At.head,te,se,Fe.options.rtlMoveVisually):te<0?At.from():At.to()},pe)}),deleteH:Mo(function(te,se){var Fe=this.doc.sel,At=this.doc;Fe.somethingSelected()?At.replaceSelection("",null,"+delete"):xl(this,function(Mt){var Yt=Jr(At,Mt.head,te,se,!1);return te<0?{from:Yt,to:Mt.head}:{from:Mt.head,to:Yt}})}),findPosV:function(se,Fe,At,Mt){var Yt=1,$t=Mt;Fe<0&&(Yt=-1,Fe=-Fe);for(var Fr=Ye(this.doc,se),$r=0;$r<Fe;++$r){var mn=en(this,Fr,"div");if($t==null?$t=mn.left:mn.left=$t,Fr=Gr(this,mn,Yt,At),Fr.hitSide)break}return Fr},moveV:Mo(function(te,se){var Fe=this,At=this.doc,Mt=[],Yt=!this.display.shift&&!At.extend&&At.sel.somethingSelected();if(At.extendSelectionsBy(function(Fr){if(Yt)return te<0?Fr.from():Fr.to();var $r=en(Fe,Fr.head,"div");Fr.goalColumn!=null&&($r.left=Fr.goalColumn),Mt.push($r.left);var mn=Gr(Fe,$r,te,se);return se=="page"&&Fr==At.sel.primary()&&Ya(Fe,Kr(Fe,mn,"div").top-$r.top),mn},pe),Mt.length)for(var $t=0;$t<At.sel.ranges.length;$t++)At.sel.ranges[$t].goalColumn=Mt[$t]}),findWordAt:function(se){var Fe=this.doc,At=be(Fe,se.line).text,Mt=se.ch,Yt=se.ch;if(At){var $t=this.getHelper(se,"wordChars");(se.sticky=="before"||Yt==At.length)&&Mt?--Mt:++Yt;for(var Fr=At.charAt(Mt),$r=j(Fr,$t)?function(mn){return j(mn,$t)}:/\s/.test(Fr)?function(mn){return/\s/.test(mn)}:function(mn){return!/\s/.test(mn)&&!j(mn)};Mt>0&&$r(At.charAt(Mt-1));)--Mt;for(;Yt<At.length&&$r(At.charAt(Yt));)++Yt}return new de(Pt(se.line,Mt),Pt(se.line,Yt))},toggleOverwrite:function(se){if(se!=null&&se==this.state.overwrite)return;(this.state.overwrite=!this.state.overwrite)?V(this.display.cursorDiv,"CodeMirror-overwrite"):S(this.display.cursorDiv,"CodeMirror-overwrite"),_t(this,"overwriteToggle",this,this.state.overwrite)},hasFocus:function(){return this.display.input.getField()==P()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Mo(function(te,se){Ji(this,te,se)}),getScrollInfo:function(){var se=this.display.scroller;return{left:se.scrollLeft,top:se.scrollTop,height:se.scrollHeight-Ur(this)-this.display.barHeight,width:se.scrollWidth-Ur(this)-this.display.barWidth,clientHeight:cn(this),clientWidth:Zr(this)}},scrollIntoView:Mo(function(te,se){te==null?(te={from:this.doc.sel.primary().head,to:null},se==null&&(se=this.options.cursorScrollMargin)):typeof te=="number"?te={from:Pt(te,0),to:null}:te.from==null&&(te={from:te,to:null}),te.to||(te.to=te.from),te.margin=se||0,te.from.line!=null?La(this,te):ji(this,te.from,te.to,te.margin)}),setSize:Mo(function(te,se){var Fe=this,At=function($t){return typeof $t=="number"||/^\d+$/.test(String($t))?$t+"px":$t};te!=null&&(this.display.wrapper.style.width=At(te)),se!=null&&(this.display.wrapper.style.height=At(se)),this.options.lineWrapping&&Sr(this);var Mt=this.display.viewFrom;this.doc.iter(Mt,this.display.viewTo,function(Yt){if(Yt.widgets){for(var $t=0;$t<Yt.widgets.length;$t++)if(Yt.widgets[$t].noHScroll){Zn(Fe,Mt,"widget");break}}++Mt}),this.curOp.forceUpdate=!0,_t(this,"refresh",this)}),operation:function(se){return Fo(this,se)},startOperation:function(){return ma(this)},endOperation:function(){return Bo(this)},refresh:Mo(function(){var te=this.display.cachedTextHeight;ki(this),this.curOp.forceUpdate=!0,Wt(this),Ji(this,this.doc.scrollLeft,this.doc.scrollTop),$o(this.display),(te==null||Math.abs(te-Un(this.display))>.5||this.options.lineWrapping)&&fi(this),_t(this,"refresh",this)}),swapDoc:Mo(function(te){var se=this.doc;return se.cm=null,this.state.selectingText&&this.state.selectingText(),li(this,te),Wt(this),this.display.input.reset(),Ji(this,te.scrollLeft,te.scrollTop),this.curOp.forceScroll=!0,tr(this,"swapDoc",this,se),se}),phrase:function(se){var Fe=this.options.phrases;return Fe&&Object.prototype.hasOwnProperty.call(Fe,se)?Fe[se]:se},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}},Gt(L),L.registerHelper=function(te,se,Fe){q.hasOwnProperty(te)||(q[te]=L[te]={_global:[]}),q[te][se]=Fe},L.registerGlobalHelper=function(te,se,Fe,At){L.registerHelper(te,se,At),q[te]._global.push({pred:Fe,val:At})}}function Jr(L,R,q,te,se){var Fe=R,At=q,Mt=be(L,R.line),Yt=se&&L.direction=="rtl"?-q:q;function $t(){var Ni=R.line+Yt;return Ni<L.first||Ni>=L.first+L.size?!1:(R=new Pt(Ni,R.ch,R.sticky),Mt=be(L,Ni))}function Fr(Ni){var Mi;if(te=="codepoint"){var Gi=Mt.text.charCodeAt(R.ch+(te>0?0:-1));isNaN(Gi)?Mi=null:Mi=new Pt(R.line,Math.max(0,Math.min(Mt.text.length,R.ch+q*(Gi>=55296&&Gi<56320?2:1))),-q)}else se?Mi=cu(L.cm,Mt,R,q):Mi=lu(Mt,R,q);if(Mi==null)if(!Ni&&$t())R=uu(se,L.cm,Mt,R.line,Yt);else return!1;else R=Mi;return!0}if(te=="char"||te=="codepoint")Fr();else if(te=="column")Fr(!0);else if(te=="word"||te=="group")for(var $r=null,mn=te=="group",vn=L.cm&&L.cm.getHelper(R,"wordChars"),Mn=!0;!(q<0&&!Fr(!Mn));Mn=!1){var ai=Mt.text.charAt(R.ch)||`
|
|
|
`,yi=j(ai,vn)?"w":mn&&ai==`
|
|
|
`?"n":!mn||/\s/.test(ai)?null:"p";if(mn&&!Mn&&!yi&&(yi="s"),$r&&$r!=yi){q<0&&(q=1,Fr(),R.sticky="after");break}if(yi&&($r=yi),q>0&&!Fr(!Mn))break}var Ai=sl(L,R,Fe,At,!0);return Ct(Fe,Ai)&&(Ai.hitSide=!0),Ai}function Gr(L,R,q,te){var se=L.doc,Fe=R.left,At;if(te=="page"){var Mt=Math.min(L.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Yt=Math.max(Mt-.5*Un(L.display),3);At=(q>0?R.bottom:R.top)+q*Yt}else te=="line"&&(At=q>0?R.bottom+3:R.top-3);for(var $t;!($t=Cn(L,Fe,At),!$t.outside);){if(q<0?At<=0:At>=se.height){$t.hitSide=!0;break}At+=q*5}return $t}var rn=function(R){this.cm=R,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new G,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};rn.prototype.init=function(L){var R=this,q=this,te=q.cm,se=q.div=L.lineDiv;Nr(se,te.options.spellcheck,te.options.autocorrect,te.options.autocapitalize);function Fe(Mt){for(var Yt=Mt.target;Yt;Yt=Yt.parentNode){if(Yt==se)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Yt.className))break}return!1}Pe(se,"paste",function(Mt){if(!Fe(Mt)||Nt(te,Mt)||nr(Mt,te))return;o<=11&&setTimeout(eo(te,function(){return R.updateFromDOM()}),20)}),Pe(se,"compositionstart",function(Mt){R.composing={data:Mt.data,done:!1}}),Pe(se,"compositionupdate",function(Mt){R.composing||(R.composing={data:Mt.data,done:!1})}),Pe(se,"compositionend",function(Mt){R.composing&&(Mt.data!=R.composing.data&&R.readFromDOMSoon(),R.composing.done=!0)}),Pe(se,"touchstart",function(){return q.forceCompositionEnd()}),Pe(se,"input",function(){R.composing||R.readFromDOMSoon()});function At(Mt){if(!Fe(Mt)||Nt(te,Mt))return;if(te.somethingSelected())bt({lineWise:!1,text:te.getSelections()}),Mt.type=="cut"&&te.replaceSelection("",null,"cut");else if(te.options.lineWiseCopyCut){var Yt=mr(te);bt({lineWise:!0,text:Yt.text}),Mt.type=="cut"&&te.operation(function(){te.setSelections(Yt.ranges,0,Se),te.replaceSelection("",null,"cut")})}else return;if(Mt.clipboardData){Mt.clipboardData.clearData();var $t=Xe.text.join(`
|
|
|
`);if(Mt.clipboardData.setData("Text",$t),Mt.clipboardData.getData("Text")==$t){Mt.preventDefault();return}}var Fr=an(),$r=Fr.firstChild;te.display.lineSpace.insertBefore(Fr,te.display.lineSpace.firstChild),$r.value=Xe.text.join(`
|
|
|
`);var mn=document.activeElement;H($r),setTimeout(function(){te.display.lineSpace.removeChild(Fr),mn.focus(),mn==se&&q.showPrimarySelection()},50)}Pe(se,"copy",At),Pe(se,"cut",At)},rn.prototype.screenReaderLabelChanged=function(L){L?this.div.setAttribute("aria-label",L):this.div.removeAttribute("aria-label")},rn.prototype.prepareSelection=function(){var L=wa(this.cm,!1);return L.focus=document.activeElement==this.div,L},rn.prototype.showSelection=function(L,R){if(!L||!this.cm.display.view.length)return;(L.focus||R)&&this.showPrimarySelection(),this.showMultipleSelections(L)},rn.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},rn.prototype.showPrimarySelection=function(){var L=this.getSelection(),R=this.cm,q=R.doc.sel.primary(),te=q.from(),se=q.to();if(R.display.viewTo==R.display.viewFrom||te.line>=R.display.viewTo||se.line<R.display.viewFrom){L.removeAllRanges();return}var Fe=Di(R,L.anchorNode,L.anchorOffset),At=Di(R,L.focusNode,L.focusOffset);if(Fe&&!Fe.bad&&At&&!At.bad&&jt(ot(Fe,At),te)==0&&jt(pt(Fe,At),se)==0)return;var Mt=R.display.view,Yt=te.line>=R.display.viewFrom&&En(R,te)||{node:Mt[0].measure.map[2],offset:0},$t=se.line<R.display.viewTo&&En(R,se);if(!$t){var Fr=Mt[Mt.length-1].measure,$r=Fr.maps?Fr.maps[Fr.maps.length-1]:Fr.map;$t={node:$r[$r.length-1],offset:$r[$r.length-2]-$r[$r.length-3]}}if(!Yt||!$t){L.removeAllRanges();return}var mn=L.rangeCount&&L.getRangeAt(0),vn;try{vn=k(Yt.node,Yt.offset,$t.offset,$t.node)}catch(Mn){}vn&&(!C&&R.state.focused?(L.collapse(Yt.node,Yt.offset),vn.collapsed||(L.removeAllRanges(),L.addRange(vn))):(L.removeAllRanges(),L.addRange(vn)),mn&&L.anchorNode==null?L.addRange(mn):C&&this.startGracePeriod()),this.rememberSelection()},rn.prototype.startGracePeriod=function(){var L=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){L.gracePeriod=!1,L.selectionChanged()&&L.cm.operation(function(){return L.cm.curOp.selectionChanged=!0})},20)},rn.prototype.showMultipleSelections=function(L){I(this.cm.display.cursorDiv,L.cursors),I(this.cm.display.selectionDiv,L.selection)},rn.prototype.rememberSelection=function(){var L=this.getSelection();this.lastAnchorNode=L.anchorNode,this.lastAnchorOffset=L.anchorOffset,this.lastFocusNode=L.focusNode,this.lastFocusOffset=L.focusOffset},rn.prototype.selectionInEditor=function(){var L=this.getSelection();if(!L.rangeCount)return!1;var R=L.getRangeAt(0).commonAncestorContainer;return M(this.div,R)},rn.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},rn.prototype.blur=function(){this.div.blur()},rn.prototype.getField=function(){return this.div},rn.prototype.supportsTouch=function(){return!0},rn.prototype.receivedFocus=function(){var L=this;this.selectionInEditor()?this.pollSelection():Fo(this.cm,function(){return L.cm.curOp.selectionChanged=!0});function R(){L.cm.state.focused&&(L.pollSelection(),L.polling.set(L.cm.options.pollInterval,R))}this.polling.set(this.cm.options.pollInterval,R)},rn.prototype.selectionChanged=function(){var L=this.getSelection();return L.anchorNode!=this.lastAnchorNode||L.anchorOffset!=this.lastAnchorOffset||L.focusNode!=this.lastFocusNode||L.focusOffset!=this.lastFocusOffset},rn.prototype.pollSelection=function(){if(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())return;var L=this.getSelection(),R=this.cm;if(u&&a&&this.cm.display.gutterSpecs.length&&zn(L.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(this.composing)return;this.rememberSelection();var q=Di(R,L.anchorNode,L.anchorOffset),te=Di(R,L.focusNode,L.focusOffset);q&&te&&Fo(R,function(){No(R.doc,Oe(q,te),Se),(q.bad||te.bad)&&(R.curOp.selectionChanged=!0)})},rn.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var L=this.cm,R=L.display,q=L.doc.sel.primary(),te=q.from(),se=q.to();if(te.ch==0&&te.line>L.firstLine()&&(te=Pt(te.line-1,be(L.doc,te.line-1).length)),se.ch==be(L.doc,se.line).text.length&&se.line<L.lastLine()&&(se=Pt(se.line+1,0)),te.line<R.viewFrom||se.line>R.viewTo-1)return!1;var Fe,At,Mt;te.line==R.viewFrom||(Fe=ra(L,te.line))==0?(At=ct(R.view[0].line),Mt=R.view[0].node):(At=ct(R.view[Fe].line),Mt=R.view[Fe-1].node.nextSibling);var Yt=ra(L,se.line),$t,Fr;if(Yt==R.view.length-1?($t=R.viewTo-1,Fr=R.lineDiv.lastChild):($t=ct(R.view[Yt+1].line)-1,Fr=R.view[Yt+1].node.previousSibling),!Mt)return!1;for(var $r=L.doc.splitLines(Ui(L,Mt,Fr,At,$t)),mn=Ne(L.doc,Pt(At,0),Pt($t,be(L.doc,$t).text.length));$r.length>1&&mn.length>1;)if(ye($r)==ye(mn))$r.pop(),mn.pop(),$t--;else if($r[0]==mn[0])$r.shift(),mn.shift(),At++;else break;for(var vn=0,Mn=0,ai=$r[0],yi=mn[0],Ai=Math.min(ai.length,yi.length);vn<Ai&&ai.charCodeAt(vn)==yi.charCodeAt(vn);)++vn;for(var Ni=ye($r),Mi=ye(mn),Gi=Math.min(Ni.length-($r.length==1?vn:0),Mi.length-(mn.length==1?vn:0));Mn<Gi&&Ni.charCodeAt(Ni.length-Mn-1)==Mi.charCodeAt(Mi.length-Mn-1);)++Mn;if($r.length==1&&mn.length==1&&At==te.line)for(;vn&&vn>te.ch&&Ni.charCodeAt(Ni.length-Mn-1)==Mi.charCodeAt(Mi.length-Mn-1);)vn--,Mn++;$r[$r.length-1]=Ni.slice(0,Ni.length-Mn).replace(/^\u200b+/,""),$r[0]=$r[0].slice(vn).replace(/\u200b+$/,"");var ya=Pt(At,vn),da=Pt($t,mn.length?ye(mn).length-Mn:0);if($r.length>1||$r[0]||jt(ya,da))return Rs(L.doc,$r,ya,da,"+input"),!0},rn.prototype.ensurePolled=function(){this.forceCompositionEnd()},rn.prototype.reset=function(){this.forceCompositionEnd()},rn.prototype.forceCompositionEnd=function(){if(!this.composing)return;clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus()},rn.prototype.readFromDOMSoon=function(){var L=this;if(this.readDOMTimeout!=null)return;this.readDOMTimeout=setTimeout(function(){if(L.readDOMTimeout=null,L.composing)if(L.composing.done)L.composing=null;else return;L.updateFromDOM()},80)},rn.prototype.updateFromDOM=function(){var L=this;(this.cm.isReadOnly()||!this.pollContent())&&Fo(this.cm,function(){return ki(L.cm)})},rn.prototype.setUneditable=function(L){L.contentEditable="false"},rn.prototype.onKeyPress=function(L){if(L.charCode==0||this.composing)return;L.preventDefault(),this.cm.isReadOnly()||eo(this.cm,zt)(this.cm,String.fromCharCode(L.charCode==null?L.keyCode:L.charCode),0)},rn.prototype.readOnlyChanged=function(L){this.div.contentEditable=String(L!="nocursor")},rn.prototype.onContextMenu=function(){},rn.prototype.resetPosition=function(){},rn.prototype.needsContentAttribute=!0;function En(L,R){var q=Rn(L,R.line);if(!q||q.hidden)return null;var te=be(L.doc,R.line),se=Fn(q,te,R.line),Fe=ut(te,L.doc.direction),At="left";if(Fe){var Mt=Ie(Fe,R.ch);At=Mt%2?"right":"left"}var Yt=kn(se.map,R.ch,At);return Yt.offset=Yt.collapse=="right"?Yt.end:Yt.start,Yt}function zn(L){for(var R=L;R;R=R.parentNode)if(/CodeMirror-gutter-wrapper/.test(R.className))return!0;return!1}function gi(L,R){return R&&(L.bad=!0),L}function Ui(L,R,q,te,se){var Fe="",At=!1,Mt=L.doc.lineSeparator(),Yt=!1;function $t(vn){return function(Mn){return Mn.id==vn}}function Fr(){At&&(Fe+=Mt,Yt&&(Fe+=Mt),At=Yt=!1)}function $r(vn){vn&&(Fr(),Fe+=vn)}function mn(vn){if(vn.nodeType==1){var Mn=vn.getAttribute("cm-text");if(Mn){$r(Mn);return}var ai=vn.getAttribute("cm-marker"),yi;if(ai){var Ai=L.findMarks(Pt(te,0),Pt(se+1,0),$t(+ai));Ai.length&&(yi=Ai[0].find(0))&&$r(Ne(L.doc,yi.from,yi.to).join(Mt));return}if(vn.getAttribute("contenteditable")=="false")return;var Ni=/^(pre|div|p|li|table|br)$/i.test(vn.nodeName);if(!/^br$/i.test(vn.nodeName)&&vn.textContent.length==0)return;Ni&&Fr();for(var Mi=0;Mi<vn.childNodes.length;Mi++)mn(vn.childNodes[Mi]);/^(pre|p)$/i.test(vn.nodeName)&&(Yt=!0),Ni&&(At=!0)}else vn.nodeType==3&&$r(vn.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;!(mn(R),R==q);)R=R.nextSibling,Yt=!1;return Fe}function Di(L,R,q){var te;if(R==L.display.lineDiv){if(te=L.display.lineDiv.childNodes[q],!te)return gi(L.clipPos(Pt(L.display.viewTo-1)),!0);R=null,q=0}else for(te=R;;te=te.parentNode){if(!te||te==L.display.lineDiv)return null;if(te.parentNode&&te.parentNode==L.display.lineDiv)break}for(var se=0;se<L.display.view.length;se++){var Fe=L.display.view[se];if(Fe.node==te)return Ca(Fe,R,q)}}function Ca(L,R,q){var te=L.text.firstChild,se=!1;if(!R||!M(te,R))return gi(Pt(ct(L.line),0),!0);if(R==te&&(se=!0,R=te.childNodes[q],q=0,!R)){var Fe=L.rest?ye(L.rest):L.line;return gi(Pt(ct(Fe),Fe.text.length),se)}var At=R.nodeType==3?R:null,Mt=R;for(!At&&R.childNodes.length==1&&R.firstChild.nodeType==3&&(At=R.firstChild,q&&(q=At.nodeValue.length));Mt.parentNode!=te;)Mt=Mt.parentNode;var Yt=L.measure,$t=Yt.maps;function Fr(yi,Ai,Ni){for(var Mi=-1;Mi<($t?$t.length:0);Mi++)for(var Gi=Mi<0?Yt.map:$t[Mi],ya=0;ya<Gi.length;ya+=3){var da=Gi[ya+2];if(da==yi||da==Ai){var qa=ct(Mi<0?L.line:L.rest[Mi]),ho=Gi[ya]+Ni;return(Ni<0||da!=yi)&&(ho=Gi[ya+(Ni?1:0)]),Pt(qa,ho)}}}var $r=Fr(At,Mt,q);if($r)return gi($r,se);for(var mn=Mt.nextSibling,vn=At?At.nodeValue.length-q:0;mn;mn=mn.nextSibling){if($r=Fr(mn,mn.firstChild,0),$r)return gi(Pt($r.line,$r.ch-vn),se);vn+=mn.textContent.length}for(var Mn=Mt.previousSibling,ai=q;Mn;Mn=Mn.previousSibling){if($r=Fr(Mn,Mn.firstChild,-1),$r)return gi(Pt($r.line,$r.ch+ai),se);ai+=Mn.textContent.length}}var Oi=function(R){this.cm=R,this.prevInput="",this.pollingFast=!1,this.polling=new G,this.hasSelection=!1,this.composing=null};Oi.prototype.init=function(L){var R=this,q=this,te=this.cm;this.createField(L);var se=this.textarea;L.wrapper.insertBefore(this.wrapper,L.wrapper.firstChild),s&&(se.style.width="0px"),Pe(se,"input",function(){c&&o>=9&&R.hasSelection&&(R.hasSelection=null),q.poll()}),Pe(se,"paste",function(At){if(Nt(te,At)||nr(At,te))return;te.state.pasteIncoming=+new Date,q.fastPoll()});function Fe(At){if(Nt(te,At))return;if(te.somethingSelected())bt({lineWise:!1,text:te.getSelections()});else if(te.options.lineWiseCopyCut){var Mt=mr(te);bt({lineWise:!0,text:Mt.text}),At.type=="cut"?te.setSelections(Mt.ranges,null,Se):(q.prevInput="",se.value=Mt.text.join(`
|
|
|
`),H(se))}else return;At.type=="cut"&&(te.state.cutIncoming=+new Date)}Pe(se,"cut",Fe),Pe(se,"copy",Fe),Pe(L.scroller,"paste",function(At){if(St(L,At)||Nt(te,At))return;if(!se.dispatchEvent){te.state.pasteIncoming=+new Date,q.focus();return}var Mt=new Event("paste");Mt.clipboardData=At.clipboardData,se.dispatchEvent(Mt)}),Pe(L.lineSpace,"selectstart",function(At){St(L,At)||qe(At)}),Pe(se,"compositionstart",function(){var At=te.getCursor("from");q.composing&&q.composing.range.clear(),q.composing={start:At,range:te.markText(At,te.getCursor("to"),{className:"CodeMirror-composing"})}}),Pe(se,"compositionend",function(){q.composing&&(q.poll(),q.composing.range.clear(),q.composing=null)})},Oi.prototype.createField=function(L){this.wrapper=an(),this.textarea=this.wrapper.firstChild},Oi.prototype.screenReaderLabelChanged=function(L){L?this.textarea.setAttribute("aria-label",L):this.textarea.removeAttribute("aria-label")},Oi.prototype.prepareSelection=function(){var L=this.cm,R=L.display,q=L.doc,te=wa(L);if(L.options.moveInputWithCursor){var se=en(L,q.sel.primary().head,"div"),Fe=R.wrapper.getBoundingClientRect(),At=R.lineDiv.getBoundingClientRect();te.teTop=Math.max(0,Math.min(R.wrapper.clientHeight-10,se.top+At.top-Fe.top)),te.teLeft=Math.max(0,Math.min(R.wrapper.clientWidth-10,se.left+At.left-Fe.left))}return te},Oi.prototype.showSelection=function(L){var R=this.cm,q=R.display;I(q.cursorDiv,L.cursors),I(q.selectionDiv,L.selection),L.teTop!=null&&(this.wrapper.style.top=L.teTop+"px",this.wrapper.style.left=L.teLeft+"px")},Oi.prototype.reset=function(L){if(this.contextMenuPending||this.composing)return;var R=this.cm;if(R.somethingSelected()){this.prevInput="";var q=R.getSelection();this.textarea.value=q,R.state.focused&&H(this.textarea),c&&o>=9&&(this.hasSelection=q)}else L||(this.prevInput=this.textarea.value="",c&&o>=9&&(this.hasSelection=null))},Oi.prototype.getField=function(){return this.textarea},Oi.prototype.supportsTouch=function(){return!1},Oi.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!f||P()!=this.textarea))try{this.textarea.focus()}catch(L){}},Oi.prototype.blur=function(){this.textarea.blur()},Oi.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Oi.prototype.receivedFocus=function(){this.slowPoll()},Oi.prototype.slowPoll=function(){var L=this;if(this.pollingFast)return;this.polling.set(this.cm.options.pollInterval,function(){L.poll(),L.cm.state.focused&&L.slowPoll()})},Oi.prototype.fastPoll=function(){var L=!1,R=this;R.pollingFast=!0;function q(){var te=R.poll();!te&&!L?(L=!0,R.polling.set(60,q)):(R.pollingFast=!1,R.slowPoll())}R.polling.set(20,q)},Oi.prototype.poll=function(){var L=this,R=this.cm,q=this.textarea,te=this.prevInput;if(this.contextMenuPending||!R.state.focused||mt(q)&&!te&&!this.composing||R.isReadOnly()||R.options.disableInput||R.state.keySeq)return!1;var se=q.value;if(se==te&&!R.somethingSelected())return!1;if(c&&o>=9&&this.hasSelection===se||A&&/[\uf700-\uf7ff]/.test(se))return R.display.input.reset(),!1;if(R.doc.sel==R.display.selForContextMenu){var Fe=se.charCodeAt(0);if(Fe==8203&&!te&&(te="\u200B"),Fe==8666)return this.reset(),this.cm.execCommand("undo")}for(var At=0,Mt=Math.min(te.length,se.length);At<Mt&&te.charCodeAt(At)==se.charCodeAt(At);)++At;return Fo(R,function(){zt(R,se.slice(At),te.length-At,null,L.composing?"*compose":null),se.length>1e3||se.indexOf(`
|
|
|
`)>-1?q.value=L.prevInput="":L.prevInput=se,L.composing&&(L.composing.range.clear(),L.composing.range=R.markText(L.composing.start,R.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Oi.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Oi.prototype.onKeyPress=function(){c&&o>=9&&(this.hasSelection=null),this.fastPoll()},Oi.prototype.onContextMenu=function(L){var R=this,q=R.cm,te=q.display,se=R.textarea;R.contextMenuPending&&R.contextMenuPending();var Fe=pi(q,L),At=te.scroller.scrollTop;if(!Fe||d)return;var Mt=q.options.resetSelectionOnContextMenu;Mt&&q.doc.sel.contains(Fe)==-1&&eo(q,No)(q.doc,Oe(Fe),Se);var Yt=se.style.cssText,$t=R.wrapper.style.cssText,Fr=R.wrapper.offsetParent.getBoundingClientRect();R.wrapper.style.cssText="position: static",se.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
|
top: `+(L.clientY-Fr.top-5)+"px; left: "+(L.clientX-Fr.left-5)+`px;
|
|
|
z-index: 1000; background: `+(c?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
|
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var $r;n&&($r=window.scrollY),te.input.focus(),n&&window.scrollTo(null,$r),te.input.reset(),q.somethingSelected()||(se.value=R.prevInput=" "),R.contextMenuPending=vn,te.selForContextMenu=q.doc.sel,clearTimeout(te.detectingSelectAll);function mn(){if(se.selectionStart!=null){var ai=q.somethingSelected(),yi="\u200B"+(ai?se.value:"");se.value="\u21DA",se.value=yi,R.prevInput=ai?"":"\u200B",se.selectionStart=1,se.selectionEnd=yi.length,te.selForContextMenu=q.doc.sel}}function vn(){if(R.contextMenuPending!=vn)return;if(R.contextMenuPending=!1,R.wrapper.style.cssText=$t,se.style.cssText=Yt,c&&o<9&&te.scrollbars.setScrollTop(te.scroller.scrollTop=At),se.selectionStart!=null){(!c||c&&o<9)&&mn();var ai=0,yi=function Ai(){te.selForContextMenu==q.doc.sel&&se.selectionStart==0&&se.selectionEnd>0&&R.prevInput=="\u200B"?eo(q,Ps)(q):ai++<10?te.detectingSelectAll=setTimeout(Ai,500):(te.selForContextMenu=null,te.input.reset())};te.detectingSelectAll=setTimeout(yi,200)}}if(c&&o>=9&&mn(),_){vt(L);var Mn=function ai(){et(window,"mouseup",ai),setTimeout(vn,20)};Pe(window,"mouseup",Mn)}else setTimeout(vn,50)},Oi.prototype.readOnlyChanged=function(L){L||this.reset(),this.textarea.disabled=L=="nocursor",this.textarea.readOnly=!!L},Oi.prototype.setUneditable=function(){},Oi.prototype.needsContentAttribute=!1;function Xa(L,R){if(R=R?z(R):{},R.value=L.value,!R.tabindex&&L.tabIndex&&(R.tabindex=L.tabIndex),!R.placeholder&&L.placeholder&&(R.placeholder=L.placeholder),R.autofocus==null){var q=P();R.autofocus=q==L||L.getAttribute("autofocus")!=null&&q==document.body}function te(){L.value=Mt.getValue()}var se;if(L.form&&(Pe(L.form,"submit",te),!R.leaveSubmitMethodAlone)){var Fe=L.form;se=Fe.submit;try{var At=Fe.submit=function(){te(),Fe.submit=se,Fe.submit(),Fe.submit=At}}catch(Yt){}}R.finishInit=function(Yt){Yt.save=te,Yt.getTextArea=function(){return L},Yt.toTextArea=function(){Yt.toTextArea=isNaN,te(),L.parentNode.removeChild(Yt.getWrapperElement()),L.style.display="",L.form&&(et(L.form,"submit",te),!R.leaveSubmitMethodAlone&&typeof L.form.submit=="function"&&(L.form.submit=se))}},L.style.display="none";var Mt=ko(function(Yt){return L.parentNode.insertBefore(Yt,L.nextSibling)},R);return Mt}function Ka(L){L.off=et,L.on=Pe,L.wheelEventPixels=Ds,L.Doc=js,L.splitLines=vr,L.countColumn=K,L.findColumn=xe,L.isWordChar=W,L.Pass=ee,L.signal=_t,L.Line=Fi,L.changeEnd=ze,L.scrollbarModel=Zo,L.Pos=Pt,L.cmpPos=jt,L.modes=fe,L.mimeModes=De,L.resolveMode=We,L.getMode=nt,L.modeExtensions=xt,L.extendMode=It,L.copyState=ir,L.startState=ke,L.innerMode=Me,L.commands=Al,L.keyMap=ul,L.keyName=Vl,L.isModifierKey=Bl,L.lookupKey=Js,L.normalizeKeyMap=Hs,L.StringStream=re,L.SharedTextMarker=vl,L.TextMarker=Vs,L.LineWidget=Dl,L.e_preventDefault=qe,L.e_stopPropagation=we,L.e_stop=vt,L.addClass=V,L.contains=M,L.rmClass=S,L.keyNames=ll}Bu(ko),on(ko);var Oa="iter insert remove copy getEditor constructor".split(" ");for(var Wo in js.prototype)js.prototype.hasOwnProperty(Wo)&&X(Oa,Wo)<0&&(ko.prototype[Wo]=function(L){return function(){return L.apply(this.doc,arguments)}}(js.prototype[Wo]));return Gt(js),ko.inputStyles={textarea:Oi,contenteditable:rn},ko.defineMode=function(L){!ko.defaults.mode&&L!="null"&&(ko.defaults.mode=L),He.apply(this,arguments)},ko.defineMIME=je,ko.defineMode("null",function(){return{token:function(R){return R.skipToEnd()}}}),ko.defineMIME("text/plain","null"),ko.defineExtension=function(L,R){ko.prototype[L]=R},ko.defineDocExtension=function(L,R){js.prototype[L]=R},ko.fromTextArea=Xa,Ka(ko),ko.version="5.58.2",ko})},Vy0f:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("iYpf"));function m(p){return p&&p.__esModule?p:{default:p}}var C=y;N.default=C,B.exports=C},W2nI:function(B,N,r){var y=r("IwbS"),m=r("ProS"),C=r("bYtY"),p=["itemStyle","opacity"],g=["emphasis","itemStyle","opacity"],h=["lineStyle","opacity"],c=["emphasis","lineStyle","opacity"];function o(l,e){return l.getVisual("opacity")||l.getModel().get(e)}function n(l,e,s){var u=l.getGraphicEl(),f=o(l,e);s!=null&&(f==null&&(f=1),f*=s),u.downplay&&u.downplay(),u.traverse(function(A){A.type!=="group"&&A.setStyle("opacity",f)})}function t(l,e){var s=o(l,e),u=l.getGraphicEl();u.traverse(function(f){f.type!=="group"&&f.setStyle("opacity",s)}),u.highlight&&u.highlight()}var a=y.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(l,e){var s=e.extent;l.moveTo(e.x1,e.y1),l.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),e.orient==="vertical"?(l.lineTo(e.x2+s,e.y2),l.bezierCurveTo(e.cpx2+s,e.cpy2,e.cpx1+s,e.cpy1,e.x1+s,e.y1)):(l.lineTo(e.x2,e.y2+s),l.bezierCurveTo(e.cpx2,e.cpy2+s,e.cpx1,e.cpy1+s,e.x1,e.y1+s)),l.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),d=m.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(l,e,s){var u=this,f=l.getGraph(),A=this.group,v=l.layoutInfo,x=v.width,b=v.height,w=l.getData(),_=l.getData("edge"),T=l.get("orient");this._model=l,A.removeAll(),A.attr("position",[v.x,v.y]),f.eachEdge(function(S){var E=new a;E.dataIndex=S.dataIndex,E.seriesIndex=l.seriesIndex,E.dataType="edge";var I=S.getModel("lineStyle"),O=I.get("curveness"),F=S.node1.getLayout(),k=S.node1.getModel(),M=k.get("localX"),P=k.get("localY"),V=S.node2.getLayout(),D=S.node2.getModel(),H=D.get("localX"),U=D.get("localY"),z=S.getLayout(),K,G,X,Z,ee,Se,$,pe;E.shape.extent=Math.max(1,z.dy),E.shape.orient=T,T==="vertical"?(K=(M!=null?M*x:F.x)+z.sy,G=(P!=null?P*b:F.y)+F.dy,X=(H!=null?H*x:V.x)+z.ty,Z=U!=null?U*b:V.y,ee=K,Se=G*(1-O)+Z*O,$=X,pe=G*O+Z*(1-O)):(K=(M!=null?M*x:F.x)+F.dx,G=(P!=null?P*b:F.y)+z.sy,X=H!=null?H*x:V.x,Z=(U!=null?U*b:V.y)+z.ty,ee=K*(1-O)+X*O,Se=G,$=K*O+X*(1-O),pe=Z),E.setShape({x1:K,y1:G,x2:X,y2:Z,cpx1:ee,cpy1:Se,cpx2:$,cpy2:pe}),E.setStyle(I.getItemStyle());switch(E.style.fill){case"source":E.style.fill=S.node1.getVisual("color");break;case"target":E.style.fill=S.node2.getVisual("color");break}y.setHoverStyle(E,S.getModel("emphasis.lineStyle").getItemStyle()),A.add(E),_.setItemGraphicEl(S.dataIndex,E)}),f.eachNode(function(S){var E=S.getLayout(),I=S.getModel(),O=I.get("localX"),F=I.get("localY"),k=I.getModel("label"),M=I.getModel("emphasis.label"),P=new y.Rect({shape:{x:O!=null?O*x:E.x,y:F!=null?F*b:E.y,width:E.dx,height:E.dy},style:I.getModel("itemStyle").getItemStyle()}),V=S.getModel("emphasis.itemStyle").getItemStyle();y.setLabelStyle(P.style,V,k,M,{labelFetcher:l,labelDataIndex:S.dataIndex,defaultText:S.id,isRectText:!0}),P.setStyle("fill",S.getVisual("color")),y.setHoverStyle(P,V),A.add(P),w.setItemGraphicEl(S.dataIndex,P),P.dataType="node"}),w.eachItemGraphicEl(function(S,E){var I=w.getItemModel(E);I.get("draggable")&&(S.drift=function(O,F){u._focusAdjacencyDisabled=!0,this.shape.x+=O,this.shape.y+=F,this.dirty(),s.dispatchAction({type:"dragNode",seriesId:l.id,dataIndex:w.getRawIndex(E),localX:this.shape.x/x,localY:this.shape.y/b})},S.ondragend=function(){u._focusAdjacencyDisabled=!1},S.draggable=!0,S.cursor="move"),S.highlight=function(){this.trigger("emphasis")},S.downplay=function(){this.trigger("normal")},S.focusNodeAdjHandler&&S.off("mouseover",S.focusNodeAdjHandler),S.unfocusNodeAdjHandler&&S.off("mouseout",S.unfocusNodeAdjHandler),I.get("focusNodeAdjacency")&&(S.on("mouseover",S.focusNodeAdjHandler=function(){u._focusAdjacencyDisabled||(u._clearTimer(),s.dispatchAction({type:"focusNodeAdjacency",seriesId:l.id,dataIndex:S.dataIndex}))}),S.on("mouseout",S.unfocusNodeAdjHandler=function(){u._focusAdjacencyDisabled||u._dispatchUnfocus(s)}))}),_.eachItemGraphicEl(function(S,E){var I=_.getItemModel(E);S.focusNodeAdjHandler&&S.off("mouseover",S.focusNodeAdjHandler),S.unfocusNodeAdjHandler&&S.off("mouseout",S.unfocusNodeAdjHandler),I.get("focusNodeAdjacency")&&(S.on("mouseover",S.focusNodeAdjHandler=function(){u._focusAdjacencyDisabled||(u._clearTimer(),s.dispatchAction({type:"focusNodeAdjacency",seriesId:l.id,edgeDataIndex:S.dataIndex}))}),S.on("mouseout",S.unfocusNodeAdjHandler=function(){u._focusAdjacencyDisabled||u._dispatchUnfocus(s)}))}),!this._data&&l.get("animation")&&A.setClipPath(i(A.getBoundingRect(),l,function(){A.removeClipPath()})),this._data=l.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(l){var e=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){e._unfocusDelayTimer=null,l.dispatchAction({type:"unfocusNodeAdjacency",seriesId:e._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(l,e,s,u){var f=l.getData(),A=f.graph,v=u.dataIndex,x=f.getItemModel(v),b=u.edgeDataIndex;if(v==null&&b==null)return;var w=A.getNodeByIndex(v),_=A.getEdgeByIndex(b);if(A.eachNode(function(S){n(S,p,.1)}),A.eachEdge(function(S){n(S,h,.1)}),w){t(w,g);var T=x.get("focusNodeAdjacency");T==="outEdges"?C.each(w.outEdges,function(S){if(S.dataIndex<0)return;t(S,c),t(S.node2,g)}):T==="inEdges"?C.each(w.inEdges,function(S){if(S.dataIndex<0)return;t(S,c),t(S.node1,g)}):T==="allEdges"&&C.each(w.edges,function(S){if(S.dataIndex<0)return;t(S,c),S.node1!==w&&t(S.node1,g),S.node2!==w&&t(S.node2,g)})}_&&(t(_,c),t(_.node1,g),t(_.node2,g))},unfocusNodeAdjacency:function(l,e,s,u){var f=l.getGraph();f.eachNode(function(A){n(A,p)}),f.eachEdge(function(A){n(A,h)})}});function i(l,e,s){var u=new y.Rect({shape:{x:l.x-10,y:l.y-10,width:0,height:l.height+20}});return y.initProps(u,{shape:{width:l.width+20}},e,s),u}B.exports=d},W4dC:function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("bYtY"),p=C.each,g=C.createHashMap,h=r("7DRL"),c=r("TIY9"),o=r("yS9w"),n=r("mFDi"),t={geoJSON:c,svg:o},a={load:function(e,s,u){var f=[],A=g(),v=g(),x,b=l(e);return p(b,function(w){var _=t[w.type].load(e,w,u);p(_.regions,function(S){var E=S.name;s&&s.hasOwnProperty(E)&&(S=S.cloneShallow(E=s[E])),f.push(S),A.set(E,S),v.set(E,S.center)});var T=_.boundingRect;T&&(x?x.union(T):x=T.clone())}),{regions:f,regionsMap:A,nameCoordMap:v,boundingRect:x||new n(0,0,0,0)}},makeGraphic:d("makeGraphic"),removeGraphic:d("removeGraphic")};function d(e){return function(s,u){var f=l(s),A=[];return p(f,function(v){var x=t[v.type][e];x&&A.push(x(s,v,u))}),A}}function i(e){}function l(e){var s=h.retrieveMap(e)||[];return s}B.exports=a},WGYa:function(B,N,r){var y=r("7yuC"),m=y.forceLayout,C=r("HF/U"),p=C.simpleLayout,g=r("lOQZ"),h=g.circularLayout,c=r("OELB"),o=c.linearMap,n=r("QBsz"),t=r("bYtY");function a(d){d.eachSeriesByType("graph",function(i){var l=i.coordinateSystem;if(l&&l.type!=="view")return;if(i.get("layout")==="force"){var e=i.preservedPoints||{},s=i.getGraph(),u=s.data,f=s.edgeData,A=i.getModel("force"),v=A.get("initLayout");i.preservedPoints?u.each(function(k){var M=u.getId(k);u.setItemLayout(k,e[M]||[NaN,NaN])}):!v||v==="none"?p(i):v==="circular"&&h(i,"value");var x=u.getDataExtent("value"),b=f.getDataExtent("value"),w=A.get("repulsion"),_=A.get("edgeLength");t.isArray(w)||(w=[w,w]),t.isArray(_)||(_=[_,_]),_=[_[1],_[0]];var T=u.mapArray("value",function(k,M){var P=u.getItemLayout(M),V=o(k,x,w);return isNaN(V)&&(V=(w[0]+w[1])/2),{w:V,rep:V,fixed:u.getItemModel(M).get("fixed"),p:!P||isNaN(P[0])||isNaN(P[1])?null:P}}),S=f.mapArray("value",function(k,M){var P=s.getEdgeByIndex(M),V=o(k,b,_);isNaN(V)&&(V=(_[0]+_[1])/2);var D=P.getModel();return{n1:T[P.node1.dataIndex],n2:T[P.node2.dataIndex],d:V,curveness:D.get("lineStyle.curveness")||0,ignoreForceLayout:D.get("ignoreForceLayout")}}),l=i.coordinateSystem,E=l.getBoundingRect(),I=m(T,S,{rect:E,gravity:A.get("gravity"),friction:A.get("friction")}),O=I.step;I.step=function(k){for(var M=0,P=T.length;M<P;M++)T[M].fixed&&n.copy(T[M].p,s.getNodeByIndex(M).getLayout());O(function(V,D,H){for(var U=0,z=V.length;U<z;U++)V[U].fixed||s.getNodeByIndex(U).setLayout(V[U].p),e[u.getId(U)]=V[U].p;for(var U=0,z=D.length;U<z;U++){var K=D[U],G=s.getEdgeByIndex(U),X=K.n1.p,Z=K.n2.p,ee=G.getLayout();ee=ee?ee.slice():[],ee[0]=ee[0]||[],ee[1]=ee[1]||[],n.copy(ee[0],X),n.copy(ee[1],Z),+K.curveness&&(ee[2]=[(X[0]+Z[0])/2-(X[1]-Z[1])*K.curveness,(X[1]+Z[1])/2-(Z[0]-X[0])*K.curveness]),G.setLayout(ee)}k&&k(H)})},i.forceLayout=I,i.preservedPoints=e,I.step()}else i.forceLayout=null})}B.exports=a},WKfj:function(B,N,r){"use strict";r.d(N,"d",function(){return m}),r.d(N,"e",function(){return C}),r.d(N,"f",function(){return p}),r.d(N,"c",function(){return g}),r.d(N,"b",function(){return c}),r.d(N,"a",function(){return n});var y=r("KQm4");function m(t){return Array.isArray(t)?t:t!==void 0?[t]:[]}function C(t,a){var d=a.labelInValue,i=a.combobox;if(t===void 0||t===""&&i)return[];var l=Array.isArray(t)?t:[t];return d?l.map(function(e){var s=e.key,u=e.value;return u!==void 0?u:s}):l}function p(t,a){var d=a.optionLabelProp,i=a.labelInValue,l=a.prevValue,e=a.options,s=a.getLabeledValue,u=t;return i&&(u=u.map(function(f){return s(f,{options:e,prevValue:l,labelInValue:i,optionLabelProp:d})})),u}function g(t,a){var d=Object(y.a)(a),i;for(i=t.length-1;i>=0&&t[i].disabled;i-=1);var l=null;return i!==-1&&(l=d[i],d.splice(i,1)),{values:d,removedValue:l}}var h=typeof window!="undefined"&&window.document&&window.document.documentElement,c=h,o=0;function n(){var t;return c?(t=o,o+=1):t="TEST_OR_SSR",t}},"WN+l":function(B,N,r){var y=r("bYtY"),m=r("IwbS");function C(g,h,c,o){var n=c.axis;if(n.scale.isBlank())return;var t=c.getModel("splitArea"),a=t.getModel("areaStyle"),d=a.get("color"),i=o.coordinateSystem.getRect(),l=n.getTicksCoords({tickModel:t,clamp:!0});if(!l.length)return;var e=d.length,s=g.__splitAreaColors,u=y.createHashMap(),f=0;if(s)for(var A=0;A<l.length;A++){var v=s.get(l[A].tickValue);if(v!=null){f=(v+(e-1)*A)%e;break}}var x=n.toGlobalCoord(l[0].coord),b=a.getAreaStyle();d=y.isArray(d)?d:[d];for(var A=1;A<l.length;A++){var w=n.toGlobalCoord(l[A].coord),_,T,S,E;n.isHorizontal()?(_=x,T=i.y,S=w-_,E=i.height,x=_+S):(_=i.x,T=x,S=i.width,E=w-T,x=T+E);var I=l[A-1].tickValue;I!=null&&u.set(I,f),h.add(new m.Rect({anid:I!=null?"area_"+I:null,shape:{x:_,y:T,width:S,height:E},style:y.defaults({fill:d[f]},b),silent:!0})),f=(f+1)%e}g.__splitAreaColors=u}function p(g){g.__splitAreaColors=null}N.rectCoordAxisBuildSplitArea=C,N.rectCoordAxisHandleRemove=p},WXVj:function(B,N,r){"use strict";var y=r("284h"),m=r("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var C=m(r("3tO9")),p=y(r("q1tI")),g=m(r("Bqw1")),h=m(r("KQxl")),c=function(t,a){return p.createElement(h.default,(0,C.default)((0,C.default)({},t),{},{ref:a,icon:g.default}))};c.displayName="MinusSquareOutlined";var o=p.forwardRef(c);N.default=o},WaYH:function(B,N,r){"use strict";var y=r("rePB"),m=r("Ff2n"),C=r("VTBJ"),p=r("1OyB"),g=r("vuIU"),h=r("JX7q"),c=r("Ji7U"),o=r("LK+K"),n=r("q1tI"),t=r("TSYQ"),a=r.n(t),d=r("sboe"),i=r("OZM5"),l=function(_){var T=_.prefixCls,S=_.level,E=_.isStart,I=_.isEnd;if(!S)return null;for(var O="".concat(T,"-indent-unit"),F=[],k=0;k<S;k+=1){var M;F.push(n.createElement("span",{key:k,className:a()(O,(M={},Object(y.a)(M,"".concat(O,"-start"),E[k+1]),Object(y.a)(M,"".concat(O,"-end"),I[k+1]),Object(y.a)(M,"".concat(O,"-end-first-level"),!k&&I[0]),M))}))}return n.createElement("span",{"aria-hidden":"true",className:"".concat(T,"-indent")},F)},e=l,s=r("815F"),u="open",f="close",A="---",v=function(w){Object(c.a)(T,w);var _=Object(o.a)(T);function T(){var S;return Object(p.a)(this,T),S=_.apply(this,arguments),S.state={dragNodeHighlight:!1},S.onSelectorClick=function(E){var I=S.props.context.onNodeClick;I(E,Object(s.b)(S.props)),S.isSelectable()?S.onSelect(E):S.onCheck(E)},S.onSelectorDoubleClick=function(E){var I=S.props.context.onNodeDoubleClick;I(E,Object(s.b)(S.props))},S.onSelect=function(E){if(S.isDisabled())return;var I=S.props.context.onNodeSelect;E.preventDefault(),I(E,Object(s.b)(S.props))},S.onCheck=function(E){if(S.isDisabled())return;var I=S.props,O=I.disableCheckbox,F=I.checked,k=S.props.context.onNodeCheck;if(!S.isCheckable()||O)return;E.preventDefault();var M=!F;k(E,Object(s.b)(S.props),M)},S.onMouseEnter=function(E){var I=S.props.context.onNodeMouseEnter;I(E,Object(s.b)(S.props))},S.onMouseLeave=function(E){var I=S.props.context.onNodeMouseLeave;I(E,Object(s.b)(S.props))},S.onContextMenu=function(E){var I=S.props.context.onNodeContextMenu;I(E,Object(s.b)(S.props))},S.onDragStart=function(E){var I=S.props.context.onNodeDragStart;E.stopPropagation(),S.setState({dragNodeHighlight:!0}),I(E,Object(h.a)(S));try{E.dataTransfer.setData("text/plain","")}catch(O){}},S.onDragEnter=function(E){var I=S.props.context.onNodeDragEnter;E.preventDefault(),E.stopPropagation(),I(E,Object(h.a)(S))},S.onDragOver=function(E){var I=S.props.context.onNodeDragOver;E.preventDefault(),E.stopPropagation(),I(E,Object(h.a)(S))},S.onDragLeave=function(E){var I=S.props.context.onNodeDragLeave;E.stopPropagation(),I(E,Object(h.a)(S))},S.onDragEnd=function(E){var I=S.props.context.onNodeDragEnd;E.stopPropagation(),S.setState({dragNodeHighlight:!1}),I(E,Object(h.a)(S))},S.onDrop=function(E){var I=S.props.context.onNodeDrop;E.preventDefault(),E.stopPropagation(),S.setState({dragNodeHighlight:!1}),I(E,Object(h.a)(S))},S.onExpand=function(E){var I=S.props.context.onNodeExpand;I(E,Object(s.b)(S.props))},S.setSelectHandle=function(E){S.selectHandle=E},S.getNodeState=function(){var E=S.props.expanded;return S.isLeaf()?null:E?u:f},S.hasChildren=function(){var E=S.props.eventKey,I=S.props.context.keyEntities,O=I[E]||{},F=O.children;return!!(F||[]).length},S.isLeaf=function(){var E=S.props,I=E.isLeaf,O=E.loaded,F=S.props.context.loadData,k=S.hasChildren();return I===!1?!1:I||!F&&!k||F&&O&&!k},S.isDisabled=function(){var E=S.props.disabled,I=S.props.context.disabled;return!!(I||E)},S.isCheckable=function(){var E=S.props.checkable,I=S.props.context.checkable;return!I||E===!1?!1:I},S.syncLoadData=function(E){var I=E.expanded,O=E.loading,F=E.loaded,k=S.props.context,M=k.loadData,P=k.onNodeLoad;if(O)return;M&&I&&!S.isLeaf()&&(!S.hasChildren()&&!F&&P(Object(s.b)(S.props)))},S.renderSwitcher=function(){var E=S.props,I=E.expanded,O=E.switcherIcon,F=S.props.context,k=F.prefixCls,M=F.switcherIcon,P=O||M;if(S.isLeaf())return n.createElement("span",{className:a()("".concat(k,"-switcher"),"".concat(k,"-switcher-noop"))},typeof P=="function"?P(Object(C.a)(Object(C.a)({},S.props),{},{isLeaf:!0})):P);var V=a()("".concat(k,"-switcher"),"".concat(k,"-switcher_").concat(I?u:f));return n.createElement("span",{onClick:S.onExpand,className:V},typeof P=="function"?P(Object(C.a)(Object(C.a)({},S.props),{},{isLeaf:!1})):P)},S.renderCheckbox=function(){var E=S.props,I=E.checked,O=E.halfChecked,F=E.disableCheckbox,k=S.props.context.prefixCls,M=S.isDisabled(),P=S.isCheckable();if(!P)return null;var V=typeof P!="boolean"?P:null;return n.createElement("span",{className:a()("".concat(k,"-checkbox"),I&&"".concat(k,"-checkbox-checked"),!I&&O&&"".concat(k,"-checkbox-indeterminate"),(M||F)&&"".concat(k,"-checkbox-disabled")),onClick:S.onCheck},V)},S.renderIcon=function(){var E=S.props.loading,I=S.props.context.prefixCls;return n.createElement("span",{className:a()("".concat(I,"-iconEle"),"".concat(I,"-icon__").concat(S.getNodeState()||"docu"),E&&"".concat(I,"-icon_loading"))})},S.renderSelector=function(){var E=S.state.dragNodeHighlight,I=S.props,O=I.title,F=I.selected,k=I.icon,M=I.loading,P=I.data,V=S.props.context,D=V.prefixCls,H=V.showIcon,U=V.icon,z=V.draggable,K=V.loadData,G=V.titleRender,X=S.isDisabled(),Z="".concat(D,"-node-content-wrapper"),ee;if(H){var Se=k||U;ee=Se?n.createElement("span",{className:a()("".concat(D,"-iconEle"),"".concat(D,"-icon__customize"))},typeof Se=="function"?Se(S.props):Se):S.renderIcon()}else K&&M&&(ee=S.renderIcon());var $;typeof O=="function"?$=O(P):G?$=G(P):$=O;var pe=n.createElement("span",{className:"".concat(D,"-title")},$);return n.createElement("span",{ref:S.setSelectHandle,title:typeof O=="string"?O:"",className:a()("".concat(Z),"".concat(Z,"-").concat(S.getNodeState()||"normal"),!X&&(F||E)&&"".concat(D,"-node-selected"),!X&&z&&"draggable"),draggable:!X&&z||void 0,"aria-grabbed":!X&&z||void 0,onMouseEnter:S.onMouseEnter,onMouseLeave:S.onMouseLeave,onContextMenu:S.onContextMenu,onClick:S.onSelectorClick,onDoubleClick:S.onSelectorDoubleClick,onDragStart:z?S.onDragStart:void 0},ee,pe)},S}return Object(g.a)(T,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var E=this.props.selectable,I=this.props.context.selectable;return typeof E=="boolean"?E:I}},{key:"render",value:function(){var E,I=this.props,O=I.eventKey,F=I.className,k=I.style,M=I.dragOver,P=I.dragOverGapTop,V=I.dragOverGapBottom,D=I.isLeaf,H=I.isStart,U=I.isEnd,z=I.expanded,K=I.selected,G=I.checked,X=I.halfChecked,Z=I.loading,ee=I.domRef,Se=I.active,$=I.onMouseMove,pe=Object(m.a)(I,["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","onMouseMove"]),xe=this.props.context,_e=xe.prefixCls,Ue=xe.filterTreeNode,ye=xe.draggable,Be=xe.keyEntities,Q=this.isDisabled(),ie=Object(i.f)(pe),Ve=Be[O]||{},J=Ve.level,W=U[U.length-1];return n.createElement("div",Object.assign({ref:ee,className:a()(F,"".concat(_e,"-treenode"),(E={},Object(y.a)(E,"".concat(_e,"-treenode-disabled"),Q),Object(y.a)(E,"".concat(_e,"-treenode-switcher-").concat(z?"open":"close"),!D),Object(y.a)(E,"".concat(_e,"-treenode-checkbox-checked"),G),Object(y.a)(E,"".concat(_e,"-treenode-checkbox-indeterminate"),X),Object(y.a)(E,"".concat(_e,"-treenode-selected"),K),Object(y.a)(E,"".concat(_e,"-treenode-loading"),Z),Object(y.a)(E,"".concat(_e,"-treenode-active"),Se),Object(y.a)(E,"".concat(_e,"-treenode-leaf-last"),W),Object(y.a)(E,"drag-over",!Q&&M),Object(y.a)(E,"drag-over-gap-top",!Q&&P),Object(y.a)(E,"drag-over-gap-bottom",!Q&&V),Object(y.a)(E,"filter-node",Ue&&Ue(Object(s.b)(this.props))),E)),style:k,onDragEnter:ye?this.onDragEnter:void 0,onDragOver:ye?this.onDragOver:void 0,onDragLeave:ye?this.onDragLeave:void 0,onDrop:ye?this.onDrop:void 0,onDragEnd:ye?this.onDragEnd:void 0,onMouseMove:$},ie),n.createElement(e,{prefixCls:_e,level:J,isStart:H,isEnd:U}),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),T}(n.Component),x=function(_){return n.createElement(d.a.Consumer,null,function(T){return n.createElement(v,Object.assign({},_,{context:T}))})};x.displayName="TreeNode",x.defaultProps={title:A},x.isTreeNode=1;var b=N.a=x},Wqna:function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("bYtY"),p=C.isObject,g=C.each,h=C.map,c=C.indexOf,o=C.retrieve,n=r("+TT/"),t=n.getLayoutRect,a=r("aX7z"),d=a.createScaleByModel,i=a.ifAxisCrossZero,l=a.niceScaleExtent,e=a.estimateLabelUnionRect,s=r("y+lR"),u=r("7AJT"),f=r("IDmD"),A=r("7hqr"),v=A.getStackedDimension;r("jtI2");function x(k,M,P){return k.getCoordSysModel()===M}function b(k,M,P){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(k,M,P),this.model=k}var w=b.prototype;w.type="grid",w.axisPointerEnabled=!0,w.getRect=function(){return this._rect},w.update=function(k,M){var P=this._axesMap;this._updateScale(k,this.model),g(P.x,function(D){l(D.scale,D.model)}),g(P.y,function(D){l(D.scale,D.model)});var V={};g(P.x,function(D){_(P,"y",D,V)}),g(P.y,function(D){_(P,"x",D,V)}),this.resize(this.model,M)};function _(k,M,P,V){P.getAxesOnZeroOf=function(){return H?[H]:[]};var D=k[M],H,U=P.model,z=U.get("axisLine.onZero"),K=U.get("axisLine.onZeroAxisIndex");if(!z)return;if(K!=null)T(D[K])&&(H=D[K]);else for(var G in D)if(D.hasOwnProperty(G)&&T(D[G])&&!V[X(D[G])]){H=D[G];break}H&&(V[X(H)]=!0);function X(Z){return Z.dim+"_"+Z.index}}function T(k){return k&&k.type!=="category"&&k.type!=="time"&&i(k)}w.resize=function(k,M,P){var V=t(k.getBoxLayoutParams(),{width:M.getWidth(),height:M.getHeight()});this._rect=V;var D=this._axesList;H(),!P&&k.get("containLabel")&&(g(D,function(U){if(!U.model.get("axisLabel.inside")){var z=e(U);if(z){var K=U.isHorizontal()?"height":"width",G=U.model.get("axisLabel.margin");V[K]-=z[K]+G,U.position==="top"?V.y+=z.height+G:U.position==="left"&&(V.x+=z.width+G)}}}),H());function H(){g(D,function(U){var z=U.isHorizontal(),K=z?[0,V.width]:[0,V.height],G=U.inverse?1:0;U.setExtent(K[G],K[1-G]),S(U,z?V.x:V.y)})}},w.getAxis=function(k,M){var P=this._axesMap[k];if(P!=null){if(M==null){for(var V in P)if(P.hasOwnProperty(V))return P[V]}return P[M]}},w.getAxes=function(){return this._axesList.slice()},w.getCartesian=function(k,M){if(k!=null&&M!=null){var P="x"+k+"y"+M;return this._coordsMap[P]}p(k)&&(M=k.yAxisIndex,k=k.xAxisIndex);for(var V=0,D=this._coordsList;V<D.length;V++)if(D[V].getAxis("x").index===k||D[V].getAxis("y").index===M)return D[V]},w.getCartesians=function(){return this._coordsList.slice()},w.convertToPixel=function(k,M,P){var V=this._findConvertTarget(k,M);return V.cartesian?V.cartesian.dataToPoint(P):V.axis?V.axis.toGlobalCoord(V.axis.dataToCoord(P)):null},w.convertFromPixel=function(k,M,P){var V=this._findConvertTarget(k,M);return V.cartesian?V.cartesian.pointToData(P):V.axis?V.axis.coordToData(V.axis.toLocalCoord(P)):null},w._findConvertTarget=function(k,M){var P=M.seriesModel,V=M.xAxisModel||P&&P.getReferringComponents("xAxis")[0],D=M.yAxisModel||P&&P.getReferringComponents("yAxis")[0],H=M.gridModel,U=this._coordsList,z,K;if(P)z=P.coordinateSystem,c(U,z)<0&&(z=null);else if(V&&D)z=this.getCartesian(V.componentIndex,D.componentIndex);else if(V)K=this.getAxis("x",V.componentIndex);else if(D)K=this.getAxis("y",D.componentIndex);else if(H){var G=H.coordinateSystem;G===this&&(z=this._coordsList[0])}return{cartesian:z,axis:K}},w.containPoint=function(k){var M=this._coordsList[0];if(M)return M.containPoint(k)},w._initCartesian=function(k,M,P){var V={left:!1,right:!1,top:!1,bottom:!1},D={x:{},y:{}},H={x:0,y:0};if(M.eachComponent("xAxis",U("x"),this),M.eachComponent("yAxis",U("y"),this),!H.x||!H.y){this._axesMap={},this._axesList=[];return}this._axesMap=D,g(D.x,function(z,K){g(D.y,function(G,X){var Z="x"+K+"y"+X,ee=new s(Z);ee.grid=this,ee.model=k,this._coordsMap[Z]=ee,this._coordsList.push(ee),ee.addAxis(z),ee.addAxis(G)},this)},this);function U(z){return function(K,G){if(!x(K,k,M))return;var X=K.get("position");z==="x"?X!=="top"&&X!=="bottom"&&(X=V.bottom?"top":"bottom"):X!=="left"&&X!=="right"&&(X=V.left?"right":"left"),V[X]=!0;var Z=new u(z,d(K),[0,0],K.get("type"),X),ee=Z.type==="category";Z.onBand=ee&&K.get("boundaryGap"),Z.inverse=K.get("inverse"),K.axis=Z,Z.model=K,Z.grid=this,Z.index=G,this._axesList.push(Z),D[z][G]=Z,H[z]++}}},w._updateScale=function(k,M){g(this._axesList,function(V){V.scale.setExtent(Infinity,-Infinity)}),k.eachSeries(function(V){if(O(V)){var D=I(V,k),H=D[0],U=D[1];if(!x(H,M,k)||!x(U,M,k))return;var z=this.getCartesian(H.componentIndex,U.componentIndex),K=V.getData(),G=z.getAxis("x"),X=z.getAxis("y");K.type==="list"&&(P(K,G,V),P(K,X,V))}},this);function P(V,D,H){g(V.mapDimension(D.dim,!0),function(U){D.scale.unionExtentFromData(V,v(V,U))})}},w.getTooltipAxes=function(k){var M=[],P=[];return g(this.getCartesians(),function(V){var D=k!=null&&k!=="auto"?V.getAxis(k):V.getBaseAxis(),H=V.getOtherAxis(D);c(M,D)<0&&M.push(D),c(P,H)<0&&P.push(H)}),{baseAxes:M,otherAxes:P}};function S(k,M){var P=k.getExtent(),V=P[0]+P[1];k.toGlobalCoord=k.dim==="x"?function(D){return D+M}:function(D){return V-D+M},k.toLocalCoord=k.dim==="x"?function(D){return D-M}:function(D){return V-D+M}}var E=["xAxis","yAxis"];function I(k,M){return h(E,function(P){var V=k.getReferringComponents(P)[0];return V})}function O(k){return k.get("coordinateSystem")==="cartesian2d"}b.create=function(k,M){var P=[];return k.eachComponent("grid",function(V,D){var H=new b(V,k,M);H.name="grid_"+D,H.resize(V,M,!0),V.coordinateSystem=H,P.push(H)}),k.eachSeries(function(V){if(!O(V))return;var D=I(V,k),H=D[0],U=D[1],z=H.getCoordSysModel(),K=z.coordinateSystem;V.coordinateSystem=K.getCartesian(H.componentIndex,U.componentIndex)}),P},b.dimensions=b.prototype.dimensions=s.prototype.dimensions,f.register("cartesian2d",b);var F=b;B.exports=F},"X+im":function(B,N,r){"use strict";var y=r("284h"),m=r("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var C=m(r("3tO9")),p=y(r("q1tI")),g=m(r("KQeH")),h=m(r("KQxl")),c=function(t,a){return p.createElement(h.default,(0,C.default)((0,C.default)({},t),{},{ref:a,icon:g.default}))};c.displayName="DownloadOutlined";var o=p.forwardRef(c);N.default=o},"X2/X":function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"};N.default=y},XAae:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("hwYd"));function m(p){return p&&p.__esModule?p:{default:p}}var C=y;N.default=C,B.exports=C},XOKv:function(B,N,r){r("OXB0"),r("SA4+")},Xmg4:function(B,N,r){var y=r("bYtY"),m=r("LPTA"),C=m.devicePixelRatio,p=r("K2GJ"),g=r("3C/r");function h(){return!1}function c(t,a,d){var i=y.createCanvas(),l=a.getWidth(),e=a.getHeight(),s=i.style;return s&&(s.position="absolute",s.left=0,s.top=0,s.width=l+"px",s.height=e+"px",i.setAttribute("data-zr-dom-id",t)),i.width=l*d,i.height=e*d,i}var o=function(a,d,i){var l;i=i||C,typeof a=="string"?l=c(a,d,i):y.isObject(a)&&(l=a,a=l.id),this.id=a,this.dom=l;var e=l.style;e&&(l.onselectstart=h,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=d,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=i};o.prototype={constructor:o,__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 a=this.dpr;this.domBack=c("back-"+this.id,this.painter,a),this.ctxBack=this.domBack.getContext("2d"),a!==1&&this.ctxBack.scale(a,a)},resize:function(a,d){var i=this.dpr,l=this.dom,e=l.style,s=this.domBack;e&&(e.width=a+"px",e.height=d+"px"),l.width=a*i,l.height=d*i,s&&(s.width=a*i,s.height=d*i,i!==1&&this.ctxBack.scale(i,i))},clear:function(a,d){var i=this.dom,l=this.ctx,e=i.width,s=i.height,d=d||this.clearColor,u=this.motionBlur&&!a,f=this.lastFrameAlpha,A=this.dpr;if(u&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,e/A,s/A)),l.clearRect(0,0,e,s),d&&d!=="transparent"){var v;d.colorStops?(v=d.__canvasGradient||p.getGradient(l,d,{x:0,y:0,width:e,height:s}),d.__canvasGradient=v):d.image&&(v=g.prototype.getCanvasPattern.call(d,l)),l.save(),l.fillStyle=v||d,l.fillRect(0,0,e,s),l.restore()}if(u){var x=this.domBack;l.save(),l.globalAlpha=f,l.drawImage(x,0,0,e,s),l.restore()}}};var n=o;B.exports=n},Xnb7:function(B,N,r){var y=r("1RvN"),m=new y(50);function C(c){if(typeof c=="string"){var o=m.get(c);return o&&o.image}else return c}function p(c,o,n,t,a){if(c)if(typeof c=="string"){if(o&&o.__zrImageSrc===c||!n)return o;var d=m.get(c),i={hostEl:n,cb:t,cbPayload:a};return d?(o=d.image,!h(o)&&d.pending.push(i)):(o=new Image,o.onload=o.onerror=g,m.put(c,o.__cachedImgObj={image:o,pending:[i]}),o.src=o.__zrImageSrc=c),o}else return c;else return o}function g(){var c=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var o=0;o<c.pending.length;o++){var n=c.pending[o],t=n.cb;t&&t(this,n.cbPayload),n.hostEl.dirty()}c.pending.length=0}function h(c){return c&&c.width&&c.height}N.findExistImage=C,N.createOrUpdateImage=p,N.isImageReady=h},XpcN:function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("ProS"),p=r("bYtY"),g=r("oVpE"),h=g.createSymbol,c=r("IwbS"),o=r("eRkO"),n=o.makeBackground,t=r("+TT/"),a=p.curry,d=p.each,i=c.Group,l=C.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new i),this._backgroundEl,this.group.add(this._selectorGroup=new i),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(A,v,x){var b=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!A.get("show",!0))return;var w=A.get("align"),_=A.get("orient");(!w||w==="auto")&&(w=A.get("left")==="right"&&_==="vertical"?"right":"left");var T=A.get("selector",!0),S=A.get("selectorPosition",!0);T&&(!S||S==="auto")&&(S=_==="horizontal"?"end":"start"),this.renderInner(w,A,v,x,T,_,S);var E=A.getBoxLayoutParams(),I={width:x.getWidth(),height:x.getHeight()},O=A.get("padding"),F=t.getLayoutRect(E,I,O),k=this.layoutInner(A,w,F,b,T,S),M=t.getLayoutRect(p.defaults({width:k.width,height:k.height},E),I,O);this.group.attr("position",[M.x-k.x,M.y-k.y]),this.group.add(this._backgroundEl=n(k,A))},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(A,v,x,b,w,_,T){var S=this.getContentGroup(),E=p.createHashMap(),I=v.get("selectedMode"),O=[];x.eachRawSeries(function(F){!F.get("legendHoverLink")&&O.push(F.id)}),d(v.getData(),function(F,k){var M=F.get("name");if(!this.newlineDisabled&&(M===""||M===`
|
|
|
`)){S.add(new i({newline:!0}));return}var P=x.getSeriesByName(M)[0];if(E.get(M))return;if(P){var V=P.getData(),D=V.getVisual("color"),H=V.getVisual("borderColor");typeof D=="function"&&(D=D(P.getDataParams(0))),typeof H=="function"&&(H=H(P.getDataParams(0)));var U=V.getVisual("legendSymbol")||"roundRect",z=V.getVisual("symbol"),K=this._createItem(M,k,F,v,U,z,A,D,H,I);K.on("click",a(s,M,null,b,O)).on("mouseover",a(u,P.name,null,b,O)).on("mouseout",a(f,P.name,null,b,O)),E.set(M,!0)}else x.eachRawSeries(function(G){if(E.get(M))return;if(G.legendVisualProvider){var X=G.legendVisualProvider;if(!X.containName(M))return;var Z=X.indexOfName(M),ee=X.getItemVisual(Z,"color"),Se=X.getItemVisual(Z,"borderColor"),$="roundRect",pe=this._createItem(M,k,F,v,$,null,A,ee,Se,I);pe.on("click",a(s,null,M,b,O)).on("mouseover",a(u,null,M,b,O)).on("mouseout",a(f,null,M,b,O)),E.set(M,!0)}},this)},this),w&&this._createSelector(w,v,b,_,T)},_createSelector:function(A,v,x,b,w){var _=this.getSelectorGroup();d(A,function(S){T(S)});function T(S){var E=S.type,I=new c.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){x.dispatchAction({type:E==="all"?"legendAllSelect":"legendInverseSelect"})}});_.add(I);var O=v.getModel("selectorLabel"),F=v.getModel("emphasis.selectorLabel");c.setLabelStyle(I.style,I.hoverStyle={},O,F,{defaultText:S.title,isRectText:!1}),c.setHoverStyle(I)}},_createItem:function(A,v,x,b,w,_,T,S,E,I){var O=b.get("itemWidth"),F=b.get("itemHeight"),k=b.get("inactiveColor"),M=b.get("inactiveBorderColor"),P=b.get("symbolKeepAspect"),V=b.getModel("itemStyle"),D=b.isSelected(A),H=new i,U=x.getModel("textStyle"),z=x.get("icon"),K=x.getModel("tooltip"),G=K.parentModel;w=z||w;var X=h(w,0,0,O,F,D?S:k,P==null?!0:P);if(H.add(e(X,w,V,E,M,D)),!z&&_&&(_!==w||_==="none")){var Z=F*.8;_==="none"&&(_="circle");var ee=h(_,(O-Z)/2,(F-Z)/2,Z,Z,D?S:k,P==null?!0:P);H.add(e(ee,_,V,E,M,D))}var Se=T==="left"?O+5:-5,$=T,pe=b.get("formatter"),xe=A;typeof pe=="string"&&pe?xe=pe.replace("{name}",A!=null?A:""):typeof pe=="function"&&(xe=pe(A)),H.add(new c.Text({style:c.setTextStyle({},U,{text:xe,x:Se,y:F/2,textFill:D?U.getTextColor():k,textAlign:$,textVerticalAlign:"middle"})}));var _e=new c.Rect({shape:H.getBoundingRect(),invisible:!0,tooltip:K.get("show")?p.extend({content:A,formatter:G.get("formatter",!0)||function(){return A},formatterParams:{componentType:"legend",legendIndex:b.componentIndex,name:A,$vars:["name"]}},K.option):null});return H.add(_e),H.eachChild(function(Ue){Ue.silent=!0}),_e.silent=!I,this.getContentGroup().add(H),c.setHoverStyle(H),H.__legendDataIndex=v,H},layoutInner:function(A,v,x,b,w,_){var T=this.getContentGroup(),S=this.getSelectorGroup();t.box(A.get("orient"),T,A.get("itemGap"),x.width,x.height);var E=T.getBoundingRect(),I=[-E.x,-E.y];if(w){t.box("horizontal",S,A.get("selectorItemGap",!0));var O=S.getBoundingRect(),F=[-O.x,-O.y],k=A.get("selectorButtonGap",!0),M=A.getOrient().index,P=M===0?"width":"height",V=M===0?"height":"width",D=M===0?"y":"x";_==="end"?F[M]+=E[P]+k:I[M]+=O[P]+k,F[1-M]+=E[V]/2-O[V]/2,S.attr("position",F),T.attr("position",I);var H={x:0,y:0};return H[P]=E[P]+k+O[P],H[V]=Math.max(E[V],O[V]),H[D]=Math.min(0,O[D]+F[1-M]),H}else return T.attr("position",I),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function e(A,v,x,b,w,_){var T;return v!=="line"&&v.indexOf("empty")<0?(T=x.getItemStyle(),A.style.stroke=b,_||(T.stroke=w)):T=x.getItemStyle(["borderWidth","borderColor"]),A.setStyle(T)}function s(A,v,x,b){f(A,v,x,b),x.dispatchAction({type:"legendToggleSelect",name:A!=null?A:v}),u(A,v,x,b)}function u(A,v,x,b){var w=x.getZr().storage.getDisplayList()[0];w&&w.useHoverLayer||x.dispatchAction({type:"highlight",seriesName:A,name:v,excludeSeriesId:b})}function f(A,v,x,b){var w=x.getZr().storage.getDisplayList()[0];w&&w.useHoverLayer||x.dispatchAction({type:"downplay",seriesName:A,name:v,excludeSeriesId:b})}B.exports=l},XuBP:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};N.default=y},XxSj:function(B,N,r){var y=r("bYtY"),m=r("Qe9p"),C=r("OELB"),p=C.linearMap,g=y.each,h=y.isObject,c=-1,o=function(_){var T=_.mappingMethod,S=_.type,E=this.option=y.clone(_);this.type=S,this.mappingMethod=T,this._normalizeData=x[T];var I=n[S];this.applyVisual=I.applyVisual,this.getColorMapper=I.getColorMapper,this._doMap=I._doMap[T],T==="piecewise"?(d(E),t(E)):T==="category"?E.categories?a(E):d(E,!0):(y.assert(T!=="linear"||E.dataExtent),d(E))};o.prototype={constructor:o,mapValueToVisual:function(_){var T=this._normalizeData(_);return this._doMap(T,_)},getNormalizer:function(){return y.bind(this._normalizeData,this)}};var n=o.visualHandlers={color:{applyVisual:e("color"),getColorMapper:function(){var _=this.option;return y.bind(_.mappingMethod==="category"?function(T,S){return!S&&(T=this._normalizeData(T)),s.call(this,T)}:function(T,S,E){var I=!!E;return!S&&(T=this._normalizeData(T)),E=m.fastLerp(T,_.parsedVisual,E),I?E:m.stringify(E,"rgba")},this)},_doMap:{linear:function(_){return m.stringify(m.fastLerp(_,this.option.parsedVisual),"rgba")},category:s,piecewise:function(_,T){var S=A.call(this,T);return S==null&&(S=m.stringify(m.fastLerp(_,this.option.parsedVisual),"rgba")),S},fixed:u}},colorHue:i(function(_,T){return m.modifyHSL(_,T)}),colorSaturation:i(function(_,T){return m.modifyHSL(_,null,T)}),colorLightness:i(function(_,T){return m.modifyHSL(_,null,null,T)}),colorAlpha:i(function(_,T){return m.modifyAlpha(_,T)}),opacity:{applyVisual:e("opacity"),_doMap:f([0,1])},liftZ:{applyVisual:e("liftZ"),_doMap:{linear:u,category:u,piecewise:u,fixed:u}},symbol:{applyVisual:function(_,T,S){var E=this.mapValueToVisual(_);if(y.isString(E))S("symbol",E);else if(h(E))for(var I in E)E.hasOwnProperty(I)&&S(I,E[I])},_doMap:{linear:l,category:s,piecewise:function(_,T){var S=A.call(this,T);return S==null&&(S=l.call(this,_)),S},fixed:u}},symbolSize:{applyVisual:e("symbolSize"),_doMap:f([0,1])}};function t(_){var T=_.pieceList;_.hasSpecialVisual=!1,y.each(T,function(S,E){S.originIndex=E,S.visual!=null&&(_.hasSpecialVisual=!0)})}function a(_){var T=_.categories,S=_.visual,E=_.categoryMap={};if(g(T,function(F,k){E[F]=k}),!y.isArray(S)){var I=[];y.isObject(S)?g(S,function(F,k){var M=E[k];I[M!=null?M:c]=F}):I[c]=S,S=v(_,I)}for(var O=T.length-1;O>=0;O--)S[O]==null&&(delete E[T[O]],T.pop())}function d(_,T){var S=_.visual,E=[];y.isObject(S)?g(S,function(O){E.push(O)}):S!=null&&E.push(S);var I={color:1,symbol:1};!T&&E.length===1&&!I.hasOwnProperty(_.type)&&(E[1]=E[0]),v(_,E)}function i(_){return{applyVisual:function(T,S,E){T=this.mapValueToVisual(T),E("color",_(S("color"),T))},_doMap:f([0,1])}}function l(_){var T=this.option.visual;return T[Math.round(p(_,[0,1],[0,T.length-1],!0))]||{}}function e(_){return function(T,S,E){E(_,this.mapValueToVisual(T))}}function s(_){var T=this.option.visual;return T[this.option.loop&&_!==c?_%T.length:_]}function u(){return this.option.visual[0]}function f(_){return{linear:function(T){return p(T,_,this.option.visual,!0)},category:s,piecewise:function(T,S){var E=A.call(this,S);return E==null&&(E=p(T,_,this.option.visual,!0)),E},fixed:u}}function A(_){var T=this.option,S=T.pieceList;if(T.hasSpecialVisual){var E=o.findPieceIndex(_,S),I=S[E];if(I&&I.visual)return I.visual[this.type]}}function v(_,T){return _.visual=T,_.type==="color"&&(_.parsedVisual=y.map(T,function(S){return m.parse(S)})),T}var x={linear:function(_){return p(_,this.option.dataExtent,[0,1],!0)},piecewise:function(_){var T=this.option.pieceList,S=o.findPieceIndex(_,T,!0);if(S!=null)return p(S,[0,T.length-1],[0,1],!0)},category:function(_){var T=this.option.categories?this.option.categoryMap[_]:_;return T==null?c:T},fixed:y.noop};o.listVisualTypes=function(){var _=[];return y.each(n,function(T,S){_.push(S)}),_},o.addVisualHandler=function(_,T){n[_]=T},o.isValidType=function(_){return n.hasOwnProperty(_)},o.eachVisual=function(_,T,S){y.isObject(_)?y.each(_,T,S):T.call(S,_)},o.mapVisual=function(_,T,S){var E,I=y.isArray(_)?[]:y.isObject(_)?{}:(E=!0,null);return o.eachVisual(_,function(O,F){var k=T.call(S,O,F);E?I=k:I[F]=k}),I},o.retrieveVisuals=function(_){var T={},S;return _&&g(n,function(E,I){_.hasOwnProperty(I)&&(T[I]=_[I],S=!0)}),S?T:null},o.prepareVisualTypes=function(_){if(h(_)){var T=[];g(_,function(S,E){T.push(E)}),_=T}else if(y.isArray(_))_=_.slice();else return[];return _.sort(function(S,E){return E==="color"&&S!=="color"&&S.indexOf("color")===0?1:-1}),_},o.dependsOn=function(_,T){return T==="color"?!!(_&&_.indexOf(T)===0):_===T},o.findPieceIndex=function(_,T,S){for(var E,I=Infinity,O=0,F=T.length;O<F;O++){var k=T[O].value;if(k!=null){if(k===_||typeof k=="string"&&k===_+"")return O;S&&D(k,O)}}for(var O=0,F=T.length;O<F;O++){var M=T[O],P=M.interval,V=M.close;if(P){if(P[0]===-Infinity){if(b(V[1],_,P[1]))return O}else if(P[1]===Infinity){if(b(V[0],P[0],_))return O}else if(b(V[0],P[0],_)&&b(V[1],_,P[1]))return O;S&&D(P[0],O),S&&D(P[1],O)}}if(S)return _===Infinity?T.length-1:_===-Infinity?0:E;function D(H,U){var z=Math.abs(H-_);z<I&&(I=z,E=U)}};function b(_,T,S){return _?T<=S:T<S}var w=o;B.exports=w},XzQk:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("KpQ+"));function m(p){return p&&p.__esModule?p:{default:p}}var C=y;N.default=C,B.exports=C},Y1PL:function(B,N,r){"use strict";r.r(N),r.d(N,"ResizableTextArea",function(){return I});var y=r("wx14"),m=r("1OyB"),C=r("vuIU"),p=r("Ji7U"),g=r("LK+K"),h=r("q1tI"),c=r("VTBJ"),o=r("rePB"),n=r("m+aA"),t=r("Zm9Q"),a=r("Kwbf"),d=r("c+Xe"),i=r("bdgK"),l="rc-observer-key",e=function(k){Object(p.a)(P,k);var M=Object(g.a)(P);function P(){var V;Object(m.a)(this,P);for(var D=arguments.length,H=new Array(D),U=0;U<D;U++)H[U]=arguments[U];return V=M.call.apply(M,[this].concat(H)),V.resizeObserver=null,V.childNode=null,V.currentElement=null,V.state={width:0,height:0,offsetHeight:0,offsetWidth:0},V.onResize=function(z){var K=V.props.onResize,G=z[0].target,X=G.getBoundingClientRect(),Z=X.width,ee=X.height,Se=G.offsetWidth,$=G.offsetHeight,pe=Math.floor(Z),xe=Math.floor(ee);if(V.state.width!==pe||V.state.height!==xe||V.state.offsetWidth!==Se||V.state.offsetHeight!==$){var _e={width:pe,height:xe,offsetWidth:Se,offsetHeight:$};if(V.setState(_e),K){var Ue=Se===Math.round(Z)?Z:Se,ye=$===Math.round(ee)?ee:$;Promise.resolve().then(function(){K(Object(c.a)(Object(c.a)({},_e),{},{offsetWidth:Ue,offsetHeight:ye}),G)})}}},V.setChildNode=function(z){V.childNode=z},V}return Object(C.a)(P,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var D=this.props.disabled;if(D){this.destroyObserver();return}var H=Object(n.a)(this.childNode||this),U=H!==this.currentElement;U&&(this.destroyObserver(),this.currentElement=H),!this.resizeObserver&&H&&(this.resizeObserver=new i.default(this.onResize),this.resizeObserver.observe(H))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var D=this.props.children,H=Object(t.a)(D);if(H.length>1)Object(a.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(H.length===0)return Object(a.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var U=H[0];if(h.isValidElement(U)&&Object(d.c)(U)){var z=U.ref;H[0]=h.cloneElement(U,{ref:Object(d.a)(z,this.setChildNode)})}return H.length===1?H[0]:H.map(function(K,G){return!h.isValidElement(K)||"key"in K&&K.key!==null?K:h.cloneElement(K,{key:"".concat(l,"-").concat(G)})})}}]),P}(h.Component);e.displayName="ResizeObserver";var s=e,u=r("bT9E"),f=r("TSYQ"),A=r.n(f),v=`
|
|
|
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
|
|
|
`,x=["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"],b={},w;function _(k){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,P=k.getAttribute("id")||k.getAttribute("data-reactid")||k.getAttribute("name");if(M&&b[P])return b[P];var V=window.getComputedStyle(k),D=V.getPropertyValue("box-sizing")||V.getPropertyValue("-moz-box-sizing")||V.getPropertyValue("-webkit-box-sizing"),H=parseFloat(V.getPropertyValue("padding-bottom"))+parseFloat(V.getPropertyValue("padding-top")),U=parseFloat(V.getPropertyValue("border-bottom-width"))+parseFloat(V.getPropertyValue("border-top-width")),z=x.map(function(G){return"".concat(G,":").concat(V.getPropertyValue(G))}).join(";"),K={sizingStyle:z,paddingSize:H,borderSize:U,boxSizing:D};return M&&P&&(b[P]=K),K}function T(k){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,V=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;w||(w=document.createElement("textarea"),w.setAttribute("tab-index","-1"),w.setAttribute("aria-hidden","true"),document.body.appendChild(w)),k.getAttribute("wrap")?w.setAttribute("wrap",k.getAttribute("wrap")):w.removeAttribute("wrap");var D=_(k,M),H=D.paddingSize,U=D.borderSize,z=D.boxSizing,K=D.sizingStyle;w.setAttribute("style","".concat(K,";").concat(v)),w.value=k.value||k.placeholder||"";var G=Number.MIN_SAFE_INTEGER,X=Number.MAX_SAFE_INTEGER,Z=w.scrollHeight,ee;if(z==="border-box"?Z+=U:z==="content-box"&&(Z-=H),P!==null||V!==null){w.value=" ";var Se=w.scrollHeight-H;P!==null&&(G=Se*P,z==="border-box"&&(G=G+H+U),Z=Math.max(G,Z)),V!==null&&(X=Se*V,z==="border-box"&&(X=X+H+U),ee=Z>X?"":"hidden",Z=Math.min(X,Z))}return{height:Z,minHeight:G,maxHeight:X,overflowY:ee,resize:"none"}}var S;(function(k){k[k.NONE=0]="NONE",k[k.RESIZING=1]="RESIZING",k[k.RESIZED=2]="RESIZED"})(S||(S={}));var E=function(k){Object(p.a)(P,k);var M=Object(g.a)(P);function P(V){var D;return Object(m.a)(this,P),D=M.call(this,V),D.nextFrameActionId=void 0,D.resizeFrameId=void 0,D.textArea=void 0,D.saveTextArea=function(H){D.textArea=H},D.handleResize=function(H){var U=D.state.resizeStatus,z=D.props,K=z.autoSize,G=z.onResize;if(U!==S.NONE)return;typeof G=="function"&&G(H),K&&D.resizeOnNextFrame()},D.resizeOnNextFrame=function(){cancelAnimationFrame(D.nextFrameActionId),D.nextFrameActionId=requestAnimationFrame(D.resizeTextarea)},D.resizeTextarea=function(){var H=D.props.autoSize;if(!H||!D.textArea)return;var U=H.minRows,z=H.maxRows,K=T(D.textArea,!1,U,z);D.setState({textareaStyles:K,resizeStatus:S.RESIZING},function(){cancelAnimationFrame(D.resizeFrameId),D.resizeFrameId=requestAnimationFrame(function(){D.setState({resizeStatus:S.RESIZED},function(){D.resizeFrameId=requestAnimationFrame(function(){D.setState({resizeStatus:S.NONE}),D.fixFirefoxAutoScroll()})})})})},D.renderTextArea=function(){var H=D.props,U=H.prefixCls,z=U===void 0?"rc-textarea":U,K=H.autoSize,G=H.onResize,X=H.className,Z=H.disabled,ee=D.state,Se=ee.textareaStyles,$=ee.resizeStatus,pe=Object(u.a)(D.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),xe=A()(z,X,Object(o.a)({},"".concat(z,"-disabled"),Z));"value"in pe&&(pe.value=pe.value||"");var _e=Object(c.a)(Object(c.a)(Object(c.a)({},D.props.style),Se),$===S.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return h.createElement(s,{onResize:D.handleResize,disabled:!(K||G)},h.createElement("textarea",Object(y.a)({},pe,{className:xe,style:_e,ref:D.saveTextArea})))},D.state={textareaStyles:{},resizeStatus:S.NONE},D}return Object(C.a)(P,[{key:"componentDidMount",value:function(){this.resizeTextarea()}},{key:"componentDidUpdate",value:function(D){D.value!==this.props.value&&this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var D=this.textArea.selectionStart,H=this.textArea.selectionEnd;this.textArea.setSelectionRange(D,H)}}catch(U){}}},{key:"render",value:function(){return this.renderTextArea()}}]),P}(h.Component),I=E,O=function(k){Object(p.a)(P,k);var M=Object(g.a)(P);function P(V){var D;Object(m.a)(this,P),D=M.call(this,V),D.resizableTextArea=void 0,D.focus=function(){D.resizableTextArea.textArea.focus()},D.saveTextArea=function(U){D.resizableTextArea=U},D.handleChange=function(U){var z=D.props.onChange;D.setValue(U.target.value,function(){D.resizableTextArea.resizeTextarea()}),z&&z(U)},D.handleKeyDown=function(U){var z=D.props,K=z.onPressEnter,G=z.onKeyDown;U.keyCode===13&&K&&K(U),G&&G(U)};var H=typeof V.value=="undefined"||V.value===null?V.defaultValue:V.value;return D.state={value:H},D}return Object(C.a)(P,[{key:"setValue",value:function(D,H){"value"in this.props||this.setState({value:D},H)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return h.createElement(I,Object(y.a)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(D){return"value"in D?{value:D.value}:null}}]),P}(h.Component),F=N.default=O},YH21:function(B,N,r){var y=r("H6uX");N.Dispatcher=y;var m=r("ItGF"),C=r("Ze12"),p=C.isCanvasEl,g=C.transformCoordWithViewport,h=typeof window!="undefined"&&!!window.addEventListener,c=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,o=[];function n(f,A,v,x){return v=v||{},x||!m.canvasSupported?t(f,A,v):m.browser.firefox&&A.layerX!=null&&A.layerX!==A.offsetX?(v.zrX=A.layerX,v.zrY=A.layerY):A.offsetX!=null?(v.zrX=A.offsetX,v.zrY=A.offsetY):t(f,A,v),v}function t(f,A,v){if(m.domSupported&&f.getBoundingClientRect){var x=A.clientX,b=A.clientY;if(p(f)){var w=f.getBoundingClientRect();v.zrX=x-w.left,v.zrY=b-w.top;return}else if(g(o,f,x,b)){v.zrX=o[0],v.zrY=o[1];return}}v.zrX=v.zrY=0}function a(f){return f||window.event}function d(f,A,v){if(A=a(A),A.zrX!=null)return A;var x=A.type,b=x&&x.indexOf("touch")>=0;if(!b)n(f,A,A,v),A.zrDelta=A.wheelDelta?A.wheelDelta/120:-(A.detail||0)/3;else{var w=x!=="touchend"?A.targetTouches[0]:A.changedTouches[0];w&&n(f,w,A,v)}var _=A.button;return A.which==null&&_!==void 0&&c.test(A.type)&&(A.which=_&1?1:_&2?3:_&4?2:0),A}function i(f,A,v,x){h?f.addEventListener(A,v,x):f.attachEvent("on"+A,v)}function l(f,A,v,x){h?f.removeEventListener(A,v,x):f.detachEvent("on"+A,v)}var e=h?function(f){f.preventDefault(),f.stopPropagation(),f.cancelBubble=!0}:function(f){f.returnValue=!1,f.cancelBubble=!0};function s(f){return f.which===2||f.which===3}function u(f){return f.which>1}N.clientToLocal=n,N.getNativeEvent=a,N.normalizeEvent=d,N.addEventListener=i,N.removeEventListener=l,N.stop=e,N.isMiddleOrRightButtonOnMouseUpDown=s,N.notLeftMouse=u},YJ9k:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function y(g,h){if(!(g instanceof h))throw new TypeError("Cannot call a class as a function")}function m(g,h){for(var c=0;c<h.length;c++){var o=h[c];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(g,o.key,o)}}function C(g,h,c){return h&&m(g.prototype,h),c&&m(g,c),g}var p=function(){function g(){y(this,g),this._listeners=new Map}return C(g,[{key:"addEventListener",value:function(c,o){this._listeners.has(c)||this._listeners.set(c,new Set),this._listeners.get(c).add(o)}},{key:"removeEventListener",value:function(c,o){this._listeners.has(c)&&this._listeners.get(c).delete(o)}},{key:"dispatchEvent",value:function(c){var o=this;return this._listeners.has(c.type)?(this._listeners.get(c.type).forEach(function(n){return n.call(o,c)}),!c.defaultPrevented):!0}}]),g}();N.default=p},YJCA:function(B,N,r){"use strict";r.d(N,"a",function(){return Y}),r.d(N,"b",function(){return Le});var y=r("wx14"),m=r("ODXe"),C=r("vpQ4"),p=r("1OyB"),g=r("vuIU"),h=r("md7G"),c=r("foSv"),o=r("Ji7U"),n=r("JX7q"),t=r("rePB"),a=r("q1tI"),d=r.n(a),i=r("17x9"),l=r.n(i),e=r("i8i4"),s=r.n(e),u=r("QLaP"),f=r.n(u),A=r("KQm4"),v=function(){function Ee(){Object(p.a)(this,Ee),Object(t.a)(this,"refs",{})}return Object(g.a)(Ee,[{key:"add",value:function(ge,Ie){this.refs[ge]||(this.refs[ge]=[]),this.refs[ge].push(Ie)}},{key:"remove",value:function(ge,Ie){var Ge=this.getIndex(ge,Ie);Ge!==-1&&this.refs[ge].splice(Ge,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var ge=this;return this.refs[this.active.collection].find(function(Ie){var Ge=Ie.node;return Ge.sortableInfo.index==ge.active.index})}},{key:"getIndex",value:function(ge,Ie){return this.refs[ge].indexOf(Ie)}},{key:"getOrderedRefs",value:function(){var ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[ge].sort(x)}}]),Ee}();function x(Ee,ne){var ge=Ee.node.sortableInfo.index,Ie=ne.node.sortableInfo.index;return ge-Ie}function b(Ee,ne,ge){return Ee=Ee.slice(),Ee.splice(ge<0?Ee.length+ge:ge,0,Ee.splice(ne,1)[0]),Ee}function w(Ee,ne){return Object.keys(Ee).reduce(function(ge,Ie){return ne.indexOf(Ie)===-1&&(ge[Ie]=Ee[Ie]),ge},{})}var _={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},T=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var Ee=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],ne=(Array.prototype.slice.call(Ee).join("").match(/-(moz|webkit|ms)-/)||Ee.OLink===""&&["","o"])[1];switch(ne){case"ms":return"ms";default:return ne&&ne.length?ne[0].toUpperCase()+ne.substr(1):""}}();function S(Ee,ne){Object.keys(ne).forEach(function(ge){Ee.style[ge]=ne[ge]})}function E(Ee,ne){Ee.style["".concat(T,"Transform")]=ne==null?"":"translate3d(".concat(ne.x,"px,").concat(ne.y,"px,0)")}function I(Ee,ne){Ee.style["".concat(T,"TransitionDuration")]=ne==null?"":"".concat(ne,"ms")}function O(Ee,ne){for(;Ee;){if(ne(Ee))return Ee;Ee=Ee.parentNode}return null}function F(Ee,ne,ge){return Math.max(Ee,Math.min(ge,ne))}function k(Ee){return Ee.substr(-2)==="px"?parseFloat(Ee):0}function M(Ee){var ne=window.getComputedStyle(Ee);return{bottom:k(ne.marginBottom),left:k(ne.marginLeft),right:k(ne.marginRight),top:k(ne.marginTop)}}function P(Ee,ne){var ge=ne.displayName||ne.name;return ge?"".concat(Ee,"(").concat(ge,")"):Ee}function V(Ee,ne){var ge=Ee.getBoundingClientRect();return{top:ge.top+ne.top,left:ge.left+ne.left}}function D(Ee){return Ee.touches&&Ee.touches.length?{x:Ee.touches[0].pageX,y:Ee.touches[0].pageY}:Ee.changedTouches&&Ee.changedTouches.length?{x:Ee.changedTouches[0].pageX,y:Ee.changedTouches[0].pageY}:{x:Ee.pageX,y:Ee.pageY}}function H(Ee){return Ee.touches&&Ee.touches.length||Ee.changedTouches&&Ee.changedTouches.length}function U(Ee,ne){var ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(!Ee)return;var Ie={left:ge.left+Ee.offsetLeft,top:ge.top+Ee.offsetTop};return Ee.parentNode===ne?Ie:U(Ee.parentNode,ne,Ie)}function z(Ee,ne,ge){return Ee<ge&&Ee>ne?Ee-1:Ee>ge&&Ee<ne?Ee+1:Ee}function K(Ee){var ne=Ee.lockOffset,ge=Ee.width,Ie=Ee.height,Ge=ne,ut=ne,wt="px";if(typeof ne=="string"){var Pe=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(ne);f()(Pe!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',ne),Ge=parseFloat(ne),ut=parseFloat(ne),wt=Pe[1]}return f()(isFinite(Ge)&&isFinite(ut),"lockOffset value should be a finite. Given %s",ne),wt==="%"&&(Ge=Ge*ge/100,ut=ut*Ie/100),{x:Ge,y:ut}}function G(Ee){var ne=Ee.height,ge=Ee.width,Ie=Ee.lockOffset,Ge=Array.isArray(Ie)?Ie:[Ie,Ie];f()(Ge.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",Ie);var ut=Object(m.a)(Ge,2),wt=ut[0],Pe=ut[1];return[K({height:ne,lockOffset:wt,width:ge}),K({height:ne,lockOffset:Pe,width:ge})]}function X(Ee){var ne=window.getComputedStyle(Ee),ge=/(auto|scroll)/,Ie=["overflow","overflowX","overflowY"];return Ie.find(function(Ge){return ge.test(ne[Ge])})}function Z(Ee){return Ee instanceof HTMLElement?X(Ee)?Ee:Z(Ee.parentNode):null}function ee(Ee){var ne=window.getComputedStyle(Ee);return ne.display==="grid"?{x:k(ne.gridColumnGap),y:k(ne.gridRowGap)}:{x:0,y:0}}var Se={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},$={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function pe(Ee){var ne="input, textarea, select, canvas, [contenteditable]",ge=Ee.querySelectorAll(ne),Ie=Ee.cloneNode(!0),Ge=Object(A.a)(Ie.querySelectorAll(ne));return Ge.forEach(function(ut,wt){if(ut.type!=="file"&&(ut.value=ge[wt].value),ut.type==="radio"&&ut.name&&(ut.name="__sortableClone__".concat(ut.name)),ut.tagName===$.Canvas&&ge[wt].width>0&&ge[wt].height>0){var Pe=ut.getContext("2d");Pe.drawImage(ge[wt],0,0)}}),Ie}function xe(Ee){var ne,ge,Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return ge=ne=function(Ge){Object(o.a)(ut,Ge);function ut(){return Object(p.a)(this,ut),Object(h.a)(this,Object(c.a)(ut).apply(this,arguments))}return Object(g.a)(ut,[{key:"componentDidMount",value:function(){var Pe=Object(e.findDOMNode)(this);Pe.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return f()(Ie.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 Pe=Ie.withRef?"wrappedInstance":null;return Object(a.createElement)(Ee,Object(y.a)({ref:Pe},this.props))}}]),ut}(a.Component),Object(t.a)(ne,"displayName",P("sortableHandle",Ee)),ge}function _e(Ee){return Ee.sortableHandle!=null}var Ue=function(){function Ee(ne,ge){Object(p.a)(this,Ee),this.container=ne,this.onScrollCallback=ge}return Object(g.a)(Ee,[{key:"clear",value:function(){if(this.interval==null)return;clearInterval(this.interval),this.interval=null}},{key:"update",value:function(ge){var Ie=this,Ge=ge.translate,ut=ge.minTranslate,wt=ge.maxTranslate,Pe=ge.width,Dt=ge.height,et={x:0,y:0},_t={x:1,y:1},Nt={x:10,y:10},Bt=this.container,Ft=Bt.scrollTop,Gt=Bt.scrollLeft,qe=Bt.scrollHeight,we=Bt.scrollWidth,ue=Bt.clientHeight,vt=Bt.clientWidth,at=Ft===0,Ae=qe-Ft-ue===0,Xt=Gt===0,Ot=we-Gt-vt===0;Ge.y>=wt.y-Dt/2&&!Ae?(et.y=1,_t.y=Nt.y*Math.abs((wt.y-Dt/2-Ge.y)/Dt)):Ge.x>=wt.x-Pe/2&&!Ot?(et.x=1,_t.x=Nt.x*Math.abs((wt.x-Pe/2-Ge.x)/Pe)):Ge.y<=ut.y+Dt/2&&!at?(et.y=-1,_t.y=Nt.y*Math.abs((Ge.y-Dt/2-ut.y)/Dt)):Ge.x<=ut.x+Pe/2&&!Xt&&(et.x=-1,_t.x=Nt.x*Math.abs((Ge.x-Pe/2-ut.x)/Pe)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(et.x!==0||et.y!==0)&&(this.interval=setInterval(function(){Ie.isAutoScrolling=!0;var rt={left:_t.x*et.x,top:_t.y*et.y};Ie.container.scrollTop+=rt.top,Ie.container.scrollLeft+=rt.left,Ie.onScrollCallback(rt)},5))}}]),Ee}();function ye(Ee){var ne=Ee.node;return{height:ne.offsetHeight,width:ne.offsetWidth}}function Be(Ee){var ne=[$.Input,$.Textarea,$.Select,$.Option,$.Button];return ne.indexOf(Ee.target.tagName)!==-1?!0:!!O(Ee.target,function(ge){return ge.contentEditable==="true"})}var Q={axis:l.a.oneOf(["x","y","xy"]),contentWindow:l.a.any,disableAutoscroll:l.a.bool,distance:l.a.number,getContainer:l.a.func,getHelperDimensions:l.a.func,helperClass:l.a.string,helperContainer:l.a.oneOfType([l.a.func,typeof HTMLElement=="undefined"?l.a.any:l.a.instanceOf(HTMLElement)]),hideSortableGhost:l.a.bool,keyboardSortingTransitionDuration:l.a.number,lockAxis:l.a.string,lockOffset:l.a.oneOfType([l.a.number,l.a.string,l.a.arrayOf(l.a.oneOfType([l.a.number,l.a.string]))]),lockToContainerEdges:l.a.bool,onSortEnd:l.a.func,onSortMove:l.a.func,onSortOver:l.a.func,onSortStart:l.a.func,pressDelay:l.a.number,pressThreshold:l.a.number,keyCodes:l.a.shape({lift:l.a.arrayOf(l.a.number),drop:l.a.arrayOf(l.a.number),cancel:l.a.arrayOf(l.a.number),up:l.a.arrayOf(l.a.number),down:l.a.arrayOf(l.a.number)}),shouldCancelStart:l.a.func,transitionDuration:l.a.number,updateBeforeSortStart:l.a.func,useDragHandle:l.a.bool,useWindowAsScrollContainer:l.a.bool},ie={lift:[Se.SPACE],drop:[Se.SPACE],cancel:[Se.ESC],up:[Se.UP,Se.LEFT],down:[Se.DOWN,Se.RIGHT]},Ve={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:ye,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:ie,shouldCancelStart:Be,transitionDuration:300,useWindowAsScrollContainer:!1},J=Object.keys(Q);function W(Ee){f()(!(Ee.distance&&Ee.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 j(Ee,ne){try{var ge=Ee()}catch(Ie){return ne(!0,Ie)}return ge&&ge.then?ge.then(ne.bind(null,!1),ne.bind(null,!0)):ne(!1,value)}function Y(Ee){var ne,ge,Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return ge=ne=function(Ge){Object(o.a)(ut,Ge);function ut(wt){var Pe;return Object(p.a)(this,ut),Pe=Object(h.a)(this,Object(c.a)(ut).call(this,wt)),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"state",{}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"handleStart",function(Dt){var et=Pe.props,_t=et.distance,Nt=et.shouldCancelStart;if(Dt.button===2||Nt(Dt))return;Pe.touched=!0,Pe.position=D(Dt);var Bt=O(Dt.target,function(vt){return vt.sortableInfo!=null});if(Bt&&Bt.sortableInfo&&Pe.nodeIsChild(Bt)&&!Pe.state.sorting){var Ft=Pe.props.useDragHandle,Gt=Bt.sortableInfo,qe=Gt.index,we=Gt.collection,ue=Gt.disabled;if(ue)return;if(Ft&&!O(Dt.target,_e))return;Pe.manager.active={collection:we,index:qe},!H(Dt)&&Dt.target.tagName===$.Anchor&&Dt.preventDefault(),_t||(Pe.props.pressDelay===0?Pe.handlePress(Dt):Pe.pressTimer=setTimeout(function(){return Pe.handlePress(Dt)},Pe.props.pressDelay))}}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"nodeIsChild",function(Dt){return Dt.sortableInfo.manager===Pe.manager}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"handleMove",function(Dt){var et=Pe.props,_t=et.distance,Nt=et.pressThreshold;if(!Pe.state.sorting&&Pe.touched&&!Pe._awaitingUpdateBeforeSortStart){var Bt=D(Dt),Ft={x:Pe.position.x-Bt.x,y:Pe.position.y-Bt.y},Gt=Math.abs(Ft.x)+Math.abs(Ft.y);Pe.delta=Ft,!_t&&(!Nt||Gt>=Nt)?(clearTimeout(Pe.cancelTimer),Pe.cancelTimer=setTimeout(Pe.cancel,0)):_t&&Gt>=_t&&Pe.manager.isActive()&&Pe.handlePress(Dt)}}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"handleEnd",function(){Pe.touched=!1,Pe.cancel()}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"cancel",function(){var Dt=Pe.props.distance,et=Pe.state.sorting;et||(Dt||clearTimeout(Pe.pressTimer),Pe.manager.active=null)}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"handlePress",function(Dt){try{var et=Pe.manager.getActive(),_t=function(){if(et){var Nt=function(){var Zt=Ae.sortableInfo.index,vr=M(Ae),mt=ee(Pe.container),ce=Pe.scrollContainer.getBoundingClientRect(),le=Gt({index:Zt,node:Ae,collection:Xt});if(Pe.node=Ae,Pe.margin=vr,Pe.gridGap=mt,Pe.width=le.width,Pe.height=le.height,Pe.marginOffset={x:Pe.margin.left+Pe.margin.right+Pe.gridGap.x,y:Math.max(Pe.margin.top,Pe.margin.bottom,Pe.gridGap.y)},Pe.boundingClientRect=Ae.getBoundingClientRect(),Pe.containerBoundingRect=ce,Pe.index=Zt,Pe.newIndex=Zt,Pe.axis={x:Ft.indexOf("x")>=0,y:Ft.indexOf("y")>=0},Pe.offsetEdge=U(Ae,Pe.container),Ot?Pe.initialOffset=D(Object(C.a)({},Dt,{pageX:Pe.boundingClientRect.left,pageY:Pe.boundingClientRect.top})):Pe.initialOffset=D(Dt),Pe.initialScroll={left:Pe.scrollContainer.scrollLeft,top:Pe.scrollContainer.scrollTop},Pe.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},Pe.helper=Pe.helperContainer.appendChild(pe(Ae)),S(Pe.helper,{boxSizing:"border-box",height:"".concat(Pe.height,"px"),left:"".concat(Pe.boundingClientRect.left-vr.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(Pe.boundingClientRect.top-vr.top,"px"),width:"".concat(Pe.width,"px")}),Ot&&Pe.helper.focus(),we&&(Pe.sortableGhost=Ae,S(Ae,{opacity:0,visibility:"hidden"})),Pe.minTranslate={},Pe.maxTranslate={},Ot){var oe=at?{top:0,left:0,width:Pe.contentWindow.innerWidth,height:Pe.contentWindow.innerHeight}:Pe.containerBoundingRect,fe=oe.top,De=oe.left,He=oe.width,je=oe.height,We=fe+je,nt=De+He;Pe.axis.x&&(Pe.minTranslate.x=De-Pe.boundingClientRect.left,Pe.maxTranslate.x=nt-(Pe.boundingClientRect.left+Pe.width)),Pe.axis.y&&(Pe.minTranslate.y=fe-Pe.boundingClientRect.top,Pe.maxTranslate.y=We-(Pe.boundingClientRect.top+Pe.height))}else Pe.axis.x&&(Pe.minTranslate.x=(at?0:ce.left)-Pe.boundingClientRect.left-Pe.width/2,Pe.maxTranslate.x=(at?Pe.contentWindow.innerWidth:ce.left+ce.width)-Pe.boundingClientRect.left-Pe.width/2),Pe.axis.y&&(Pe.minTranslate.y=(at?0:ce.top)-Pe.boundingClientRect.top-Pe.height/2,Pe.maxTranslate.y=(at?Pe.contentWindow.innerHeight:ce.top+ce.height)-Pe.boundingClientRect.top-Pe.height/2);qe&&qe.split(" ").forEach(function(xt){return Pe.helper.classList.add(xt)}),Pe.listenerNode=Dt.touches?Ae:Pe.contentWindow,Ot?(Pe.listenerNode.addEventListener("wheel",Pe.handleKeyEnd,!0),Pe.listenerNode.addEventListener("mousedown",Pe.handleKeyEnd,!0),Pe.listenerNode.addEventListener("keydown",Pe.handleKeyDown)):(_.move.forEach(function(xt){return Pe.listenerNode.addEventListener(xt,Pe.handleSortMove,!1)}),_.end.forEach(function(xt){return Pe.listenerNode.addEventListener(xt,Pe.handleSortEnd,!1)})),Pe.setState({sorting:!0,sortingIndex:Zt}),vt&&vt({node:Ae,index:Zt,collection:Xt,isKeySorting:Ot,nodes:Pe.manager.getOrderedRefs(),helper:Pe.helper},Dt),Ot&&Pe.keyMove(0)},Bt=Pe.props,Ft=Bt.axis,Gt=Bt.getHelperDimensions,qe=Bt.helperClass,we=Bt.hideSortableGhost,ue=Bt.updateBeforeSortStart,vt=Bt.onSortStart,at=Bt.useWindowAsScrollContainer,Ae=et.node,Xt=et.collection,Ot=Pe.manager.isKeySorting,rt=function(){if(typeof ue=="function"){Pe._awaitingUpdateBeforeSortStart=!0;var Et=j(function(){var Zt=Ae.sortableInfo.index;return Promise.resolve(ue({collection:Xt,index:Zt,node:Ae,isKeySorting:Ot},Dt)).then(function(){})},function(Zt,vr){if(Pe._awaitingUpdateBeforeSortStart=!1,Zt)throw vr;return vr});if(Et&&Et.then)return Et.then(function(){})}}();return rt&&rt.then?rt.then(Nt):Nt(rt)}}();return Promise.resolve(_t&&_t.then?_t.then(function(){}):void 0)}catch(Nt){return Promise.reject(Nt)}}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"handleSortMove",function(Dt){var et=Pe.props.onSortMove;typeof Dt.preventDefault=="function"&&Dt.preventDefault(),Pe.updateHelperPosition(Dt),Pe.animateNodes(),Pe.autoscroll(),et&&et(Dt)}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"handleSortEnd",function(Dt){var et=Pe.props,_t=et.hideSortableGhost,Nt=et.onSortEnd,Bt=Pe.manager,Ft=Bt.active.collection,Gt=Bt.isKeySorting,qe=Pe.manager.getOrderedRefs();Pe.listenerNode&&(Gt?(Pe.listenerNode.removeEventListener("wheel",Pe.handleKeyEnd,!0),Pe.listenerNode.removeEventListener("mousedown",Pe.handleKeyEnd,!0),Pe.listenerNode.removeEventListener("keydown",Pe.handleKeyDown)):(_.move.forEach(function(Ae){return Pe.listenerNode.removeEventListener(Ae,Pe.handleSortMove)}),_.end.forEach(function(Ae){return Pe.listenerNode.removeEventListener(Ae,Pe.handleSortEnd)}))),Pe.helper.parentNode.removeChild(Pe.helper),_t&&Pe.sortableGhost&&S(Pe.sortableGhost,{opacity:"",visibility:""});for(var we=0,ue=qe.length;we<ue;we++){var vt=qe[we],at=vt.node;vt.edgeOffset=null,vt.boundingClientRect=null,E(at,null),I(at,null),vt.translate=null}Pe.autoScroller.clear(),Pe.manager.active=null,Pe.manager.isKeySorting=!1,Pe.setState({sorting:!1,sortingIndex:null}),typeof Nt=="function"&&Nt({collection:Ft,newIndex:Pe.newIndex,oldIndex:Pe.index,isKeySorting:Gt,nodes:qe},Dt),Pe.touched=!1}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"autoscroll",function(){var Dt=Pe.props.disableAutoscroll,et=Pe.manager.isKeySorting;if(Dt){Pe.autoScroller.clear();return}if(et){var _t=Object(C.a)({},Pe.translate),Nt=0,Bt=0;Pe.axis.x&&(_t.x=Math.min(Pe.maxTranslate.x,Math.max(Pe.minTranslate.x,Pe.translate.x)),Nt=Pe.translate.x-_t.x),Pe.axis.y&&(_t.y=Math.min(Pe.maxTranslate.y,Math.max(Pe.minTranslate.y,Pe.translate.y)),Bt=Pe.translate.y-_t.y),Pe.translate=_t,E(Pe.helper,Pe.translate),Pe.scrollContainer.scrollLeft+=Nt,Pe.scrollContainer.scrollTop+=Bt;return}Pe.autoScroller.update({height:Pe.height,maxTranslate:Pe.maxTranslate,minTranslate:Pe.minTranslate,translate:Pe.translate,width:Pe.width})}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"onAutoScroll",function(Dt){Pe.translate.x+=Dt.left,Pe.translate.y+=Dt.top,Pe.animateNodes()}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"handleKeyDown",function(Dt){var et=Dt.keyCode,_t=Pe.props,Nt=_t.shouldCancelStart,Bt=_t.keyCodes,Ft=Bt===void 0?{}:Bt,Gt=Object(C.a)({},ie,Ft);if(Pe.manager.active&&!Pe.manager.isKeySorting||!Pe.manager.active&&(!Gt.lift.includes(et)||Nt(Dt)||!Pe.isValidSortingTarget(Dt)))return;Dt.stopPropagation(),Dt.preventDefault(),Gt.lift.includes(et)&&!Pe.manager.active?Pe.keyLift(Dt):Gt.drop.includes(et)&&Pe.manager.active?Pe.keyDrop(Dt):Gt.cancel.includes(et)?(Pe.newIndex=Pe.manager.active.index,Pe.keyDrop(Dt)):Gt.up.includes(et)?Pe.keyMove(-1):Gt.down.includes(et)&&Pe.keyMove(1)}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"keyLift",function(Dt){var et=Dt.target,_t=O(et,function(Gt){return Gt.sortableInfo!=null}),Nt=_t.sortableInfo,Bt=Nt.index,Ft=Nt.collection;Pe.initialFocusedNode=et,Pe.manager.isKeySorting=!0,Pe.manager.active={index:Bt,collection:Ft},Pe.handlePress(Dt)}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"keyMove",function(Dt){var et=Pe.manager.getOrderedRefs(),_t=et[et.length-1].node.sortableInfo.index,Nt=Pe.newIndex+Dt,Bt=Pe.newIndex;if(Nt<0||Nt>_t)return;Pe.prevIndex=Bt,Pe.newIndex=Nt;var Ft=z(Pe.newIndex,Pe.prevIndex,Pe.index),Gt=et.find(function(Ot){var rt=Ot.node;return rt.sortableInfo.index===Ft}),qe=Gt.node,we=Pe.containerScrollDelta,ue=Gt.boundingClientRect||V(qe,we),vt=Gt.translate||{x:0,y:0},at={top:ue.top+vt.y-we.top,left:ue.left+vt.x-we.left},Ae=Bt<Nt,Xt={x:Ae&&Pe.axis.x?qe.offsetWidth-Pe.width:0,y:Ae&&Pe.axis.y?qe.offsetHeight-Pe.height:0};Pe.handleSortMove({pageX:at.left+Xt.x,pageY:at.top+Xt.y,ignoreTransition:Dt===0})}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"keyDrop",function(Dt){Pe.handleSortEnd(Dt),Pe.initialFocusedNode&&Pe.initialFocusedNode.focus()}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"handleKeyEnd",function(Dt){Pe.manager.active&&Pe.keyDrop(Dt)}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"isValidSortingTarget",function(Dt){var et=Pe.props.useDragHandle,_t=Dt.target,Nt=O(_t,function(Bt){return Bt.sortableInfo!=null});return Nt&&Nt.sortableInfo&&!Nt.sortableInfo.disabled&&(et?_e(_t):_t.sortableInfo)}),W(wt),Pe.manager=new v,Pe.events={end:Pe.handleEnd,move:Pe.handleMove,start:Pe.handleStart},Pe}return Object(g.a)(ut,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var Pe=this,Dt=this.props.useWindowAsScrollContainer,et=this.getContainer();Promise.resolve(et).then(function(_t){Pe.container=_t,Pe.document=Pe.container.ownerDocument||document;var Nt=Pe.props.contentWindow||Pe.document.defaultView||window;Pe.contentWindow=typeof Nt=="function"?Nt():Nt,Pe.scrollContainer=Dt?Pe.document.scrollingElement||Pe.document.documentElement:Z(Pe.container)||Pe.container,Pe.autoScroller=new Ue(Pe.scrollContainer,Pe.onAutoScroll),Object.keys(Pe.events).forEach(function(Bt){return _[Bt].forEach(function(Ft){return Pe.container.addEventListener(Ft,Pe.events[Bt],!1)})}),Pe.container.addEventListener("keydown",Pe.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var Pe=this;if(this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),!this.container)return;Object.keys(this.events).forEach(function(Dt){return _[Dt].forEach(function(et){return Pe.container.removeEventListener(et,Pe.events[Dt])})}),this.container.removeEventListener("keydown",this.handleKeyDown)}},{key:"updateHelperPosition",value:function(Pe){var Dt=this.props,et=Dt.lockAxis,_t=Dt.lockOffset,Nt=Dt.lockToContainerEdges,Bt=Dt.transitionDuration,Ft=Dt.keyboardSortingTransitionDuration,Gt=Ft===void 0?Bt:Ft,qe=this.manager.isKeySorting,we=Pe.ignoreTransition,ue=D(Pe),vt={x:ue.x-this.initialOffset.x,y:ue.y-this.initialOffset.y};if(vt.y-=window.pageYOffset-this.initialWindowScroll.top,vt.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=vt,Nt){var at=G({height:this.height,lockOffset:_t,width:this.width}),Ae=Object(m.a)(at,2),Xt=Ae[0],Ot=Ae[1],rt={x:this.width/2-Xt.x,y:this.height/2-Xt.y},Et={x:this.width/2-Ot.x,y:this.height/2-Ot.y};vt.x=F(this.minTranslate.x+rt.x,this.maxTranslate.x-Et.x,vt.x),vt.y=F(this.minTranslate.y+rt.y,this.maxTranslate.y-Et.y,vt.y)}et==="x"?vt.y=0:et==="y"&&(vt.x=0),qe&&Gt&&!we&&I(this.helper,Gt),E(this.helper,vt)}},{key:"animateNodes",value:function(){var Pe=this.props,Dt=Pe.transitionDuration,et=Pe.hideSortableGhost,_t=Pe.onSortOver,Nt=this.containerScrollDelta,Bt=this.windowScrollDelta,Ft=this.manager.getOrderedRefs(),Gt={left:this.offsetEdge.left+this.translate.x+Nt.left,top:this.offsetEdge.top+this.translate.y+Nt.top},qe=this.manager.isKeySorting,we=this.newIndex;this.newIndex=null;for(var ue=0,vt=Ft.length;ue<vt;ue++){var at=Ft[ue].node,Ae=at.sortableInfo.index,Xt=at.offsetWidth,Ot=at.offsetHeight,rt={height:this.height>Ot?Ot/2:this.height/2,width:this.width>Xt?Xt/2:this.width/2},Et=qe&&Ae>this.index&&Ae<=we,Zt=qe&&Ae<this.index&&Ae>=we,vr={x:0,y:0},mt=Ft[ue].edgeOffset;mt||(mt=U(at,this.container),Ft[ue].edgeOffset=mt,qe&&(Ft[ue].boundingClientRect=V(at,Nt)));var ce=ue<Ft.length-1&&Ft[ue+1],le=ue>0&&Ft[ue-1];if(ce&&!ce.edgeOffset&&(ce.edgeOffset=U(ce.node,this.container),qe&&(ce.boundingClientRect=V(ce.node,Nt))),Ae===this.index){et&&(this.sortableGhost=at,S(at,{opacity:0,visibility:"hidden"}));continue}Dt&&I(at,Dt),this.axis.x?this.axis.y?Zt||Ae<this.index&&(Gt.left+Bt.left-rt.width<=mt.left&&Gt.top+Bt.top<=mt.top+rt.height||Gt.top+Bt.top+rt.height<=mt.top)?(vr.x=this.width+this.marginOffset.x,mt.left+vr.x>this.containerBoundingRect.width-rt.width&&(ce&&(vr.x=ce.edgeOffset.left-mt.left,vr.y=ce.edgeOffset.top-mt.top)),this.newIndex===null&&(this.newIndex=Ae)):(Et||Ae>this.index&&(Gt.left+Bt.left+rt.width>=mt.left&&Gt.top+Bt.top+rt.height>=mt.top||Gt.top+Bt.top+rt.height>=mt.top+Ot))&&(vr.x=-(this.width+this.marginOffset.x),mt.left+vr.x<this.containerBoundingRect.left+rt.width&&(le&&(vr.x=le.edgeOffset.left-mt.left,vr.y=le.edgeOffset.top-mt.top)),this.newIndex=Ae):Et||Ae>this.index&&Gt.left+Bt.left+rt.width>=mt.left?(vr.x=-(this.width+this.marginOffset.x),this.newIndex=Ae):(Zt||Ae<this.index&&Gt.left+Bt.left<=mt.left+rt.width)&&(vr.x=this.width+this.marginOffset.x,this.newIndex==null&&(this.newIndex=Ae)):this.axis.y&&(Et||Ae>this.index&&Gt.top+Bt.top+rt.height>=mt.top?(vr.y=-(this.height+this.marginOffset.y),this.newIndex=Ae):(Zt||Ae<this.index&&Gt.top+Bt.top<=mt.top+rt.height)&&(vr.y=this.height+this.marginOffset.y,this.newIndex==null&&(this.newIndex=Ae))),E(at,vr),Ft[ue].translate=vr}this.newIndex==null&&(this.newIndex=this.index),qe&&(this.newIndex=we);var oe=qe?this.prevIndex:we;_t&&this.newIndex!==oe&&_t({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:oe,isKeySorting:qe,nodes:Ft,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return f()(Ie.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 Pe=this.props.getContainer;return typeof Pe!="function"?Object(e.findDOMNode)(this):Pe(Ie.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var Pe=Ie.withRef?"wrappedInstance":null;return Object(a.createElement)(Ee,Object(y.a)({ref:Pe},w(this.props,J)))}},{key:"helperContainer",get:function(){var Pe=this.props.helperContainer;return typeof Pe=="function"?Pe():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){var Pe=this.props.useWindowAsScrollContainer;return Pe?{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}}}]),ut}(a.Component),Object(t.a)(ne,"displayName",P("sortableList",Ee)),Object(t.a)(ne,"defaultProps",Ve),Object(t.a)(ne,"propTypes",Q),Object(t.a)(ne,"childContextTypes",{manager:l.a.object.isRequired}),ge}var me={index:l.a.number.isRequired,collection:l.a.oneOfType([l.a.number,l.a.string]),disabled:l.a.bool},ae=Object.keys(me);function Le(Ee){var ne,ge,Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return ge=ne=function(Ge){Object(o.a)(ut,Ge);function ut(){return Object(p.a)(this,ut),Object(h.a)(this,Object(c.a)(ut).apply(this,arguments))}return Object(g.a)(ut,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(Pe){this.node&&(Pe.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),Pe.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),Pe.collection!==this.props.collection&&(this.unregister(Pe.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var Pe=this.props,Dt=Pe.collection,et=Pe.disabled,_t=Pe.index,Nt=Object(e.findDOMNode)(this);Nt.sortableInfo={collection:Dt,disabled:et,index:_t,manager:this.context.manager},this.node=Nt,this.ref={node:Nt},this.context.manager.add(Dt,this.ref)}},{key:"unregister",value:function(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(Pe,this.ref)}},{key:"getWrappedInstance",value:function(){return f()(Ie.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 Pe=Ie.withRef?"wrappedInstance":null;return Object(a.createElement)(Ee,Object(y.a)({ref:Pe},w(this.props,ae)))}}]),ut}(a.Component),Object(t.a)(ne,"displayName",P("sortableElement",Ee)),Object(t.a)(ne,"contextTypes",{manager:l.a.object.isRequired}),Object(t.a)(ne,"propTypes",me),Object(t.a)(ne,"defaultProps",{collection:0}),ge}},YNAk:function(B,N,r){"use strict";var y=r("284h"),m=r("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var C=m(r("3tO9")),p=y(r("q1tI")),g=m(r("QyFq")),h=m(r("KQxl")),c=function(t,a){return p.createElement(h.default,(0,C.default)((0,C.default)({},t),{},{ref:a,icon:g.default}))};c.displayName="CaretDownFilled";var o=p.forwardRef(c);N.default=o},YNf1:function(B,N,r){var y=r("IwbS"),m=r("6Ic6"),C=.3,p=m.extend({type:"parallel",init:function(){this._dataGroup=new y.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(d,i,l,e){var s=this._dataGroup,u=d.getData(),f=this._data,A=d.coordinateSystem,v=A.dimensions,x=o(d);u.diff(f).add(b).update(w).remove(_).execute();function b(S){var E=c(u,s,S,v,A);n(E,u,S,x)}function w(S,E){var I=f.getItemGraphicEl(E),O=h(u,S,v,A);u.setItemGraphicEl(S,I);var F=e&&e.animation===!1?null:d;y.updateProps(I,{shape:{points:O}},F,S),n(I,u,S,x)}function _(S){var E=f.getItemGraphicEl(S);s.remove(E)}if(!this._initialized){this._initialized=!0;var T=g(A,d,function(){setTimeout(function(){s.removeClipPath()})});s.setClipPath(T)}this._data=u},incrementalPrepareRender:function(d,i,l){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(d,i,l){for(var e=i.getData(),s=i.coordinateSystem,u=s.dimensions,f=o(i),A=d.start;A<d.end;A++){var v=c(e,this._dataGroup,A,u,s);v.incremental=!0,n(v,e,A,f)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function g(d,i,l){var e=d.model,s=d.getRect(),u=new y.Rect({shape:{x:s.x,y:s.y,width:s.width,height:s.height}}),f=e.get("layout")==="horizontal"?"width":"height";return u.setShape(f,0),y.initProps(u,{shape:{width:s.width,height:s.height}},i,l),u}function h(d,i,l,e){for(var s=[],u=0;u<l.length;u++){var f=l[u],A=d.get(d.mapDimension(f),i);t(A,e.getAxis(f).type)||s.push(e.dataToPoint(A,f))}return s}function c(d,i,l,e,s){var u=h(d,l,e,s),f=new y.Polyline({shape:{points:u},silent:!0,z2:10});return i.add(f),d.setItemGraphicEl(l,f),f}function o(d){var i=d.get("smooth",!0);return i===!0&&(i=C),{lineStyle:d.getModel("lineStyle").getLineStyle(),smooth:i!=null?i:C}}function n(d,i,l,e){var s=e.lineStyle;if(i.hasItemOption){var u=i.getItemModel(l).getModel("lineStyle");s=u.getLineStyle()}d.useStyle(s);var f=d.style;f.fill=null,f.stroke=i.getItemVisual(l,"color"),f.opacity=i.getItemVisual(l,"opacity"),e.smooth&&(d.shape.smooth=e.smooth)}function t(d,i){return i==="category"?d==null:d==null||isNaN(d)}var a=p;B.exports=a},YOMW:function(B,N,r){var y=r("bYtY"),m={get:function(g,h,c){var o=y.clone((C[g]||{})[h]);return c&&y.isArray(o)?o[o.length-1]:o}},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]}},p=m;B.exports=p},YXkt:function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("bYtY"),p=r("Qxkt"),g=r("gPAo"),h=r("7G+c"),c=r("KxfA"),o=c.defaultDimValueGetters,n=c.DefaultDataProvider,t=r("L0Ub"),a=t.summarizeDimensions,d=r("Vi4m"),i=C.isObject,l="undefined",e=-1,s="e\0\0",u={float:typeof Float64Array===l?Array:Float64Array,int:typeof Int32Array===l?Array:Int32Array,ordinal:Array,number:Array,time:Array},f=typeof Uint32Array===l?Array:Uint32Array,A=typeof Int32Array===l?Array:Int32Array,v=typeof Uint16Array===l?Array:Uint16Array;function x(X){return X._rawCount>65535?f:v}function b(X){var Z=X.constructor;return Z===Array?X.slice():new Z(X)}var w=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],_=["_extent","_approximateExtent","_rawExtent"];function T(X,Z){C.each(w.concat(Z.__wrappedMethods||[]),function(ee){Z.hasOwnProperty(ee)&&(X[ee]=Z[ee])}),X.__wrappedMethods=Z.__wrappedMethods,C.each(_,function(ee){X[ee]=C.clone(Z[ee])}),X._calculationInfo=C.extend(Z._calculationInfo)}var S=function(X,Z){X=X||["x","y"];for(var ee={},Se=[],$={},pe=0;pe<X.length;pe++){var xe=X[pe];C.isString(xe)?xe=new d({name:xe}):xe instanceof d||(xe=new d(xe));var _e=xe.name;xe.type=xe.type||"float",xe.coordDim||(xe.coordDim=_e,xe.coordDimIndex=0),xe.otherDims=xe.otherDims||{},Se.push(_e),ee[_e]=xe,xe.index=pe,xe.createInvertedIndices&&($[_e]=[])}this.dimensions=Se,this._dimensionInfos=ee,this.hostModel=Z,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=a(this),this._invertedIndicesMap=$,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},E=S.prototype;E.type="list",E.hasItemOption=!0,E.getDimension=function(X){return(typeof X=="number"||!isNaN(X)&&!this._dimensionInfos.hasOwnProperty(X))&&(X=this.dimensions[X]),X},E.getDimensionInfo=function(X){return this._dimensionInfos[this.getDimension(X)]},E.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},E.mapDimension=function(X,Z){var ee=this._dimensionsSummary;if(Z==null)return ee.encodeFirstDimNotExtra[X];var Se=ee.encode[X];return Z===!0?(Se||[]).slice():Se&&Se[Z]},E.initData=function(X,Z,ee){var Se=h.isInstance(X)||C.isArrayLike(X);Se&&(X=new n(X,this.dimensions.length)),this._rawData=X,this._storage={},this._indices=null,this._nameList=Z||[],this._idList=[],this._nameRepeatCount={},ee||(this.hasItemOption=!1),this.defaultDimValueGetter=o[this._rawData.getSource().sourceFormat],this._dimValueGetter=ee=ee||this.defaultDimValueGetter,this._dimValueGetterArrayRows=o.arrayRows,this._rawExtent={},this._initDataFromProvider(0,X.count()),X.pure&&(this.hasItemOption=!1)},E.getProvider=function(){return this._rawData},E.appendData=function(X){var Z=this._rawData,ee=this.count();Z.appendData(X);var Se=Z.count();Z.persistent||(Se+=ee),this._initDataFromProvider(ee,Se)},E.appendValues=function(X,Z){for(var ee=this._chunkSize,Se=this._storage,$=this.dimensions,pe=$.length,xe=this._rawExtent,_e=this.count(),Ue=_e+Math.max(X.length,Z?Z.length:0),ye=this._chunkCount,Be=0;Be<pe;Be++){var Q=$[Be];xe[Q]||(xe[Q]=z()),Se[Q]||(Se[Q]=[]),I(Se,this._dimensionInfos[Q],ee,ye,Ue),this._chunkCount=Se[Q].length}for(var ie=new Array(pe),Ve=_e;Ve<Ue;Ve++){for(var J=Ve-_e,W=Math.floor(Ve/ee),j=Ve%ee,Y=0;Y<pe;Y++){var Q=$[Y],me=this._dimValueGetterArrayRows(X[J]||ie,Q,J,Y);Se[Q][W][j]=me;var ae=xe[Q];me<ae[0]&&(ae[0]=me),me>ae[1]&&(ae[1]=me)}Z&&(this._nameList[Ve]=Z[J])}this._rawCount=this._count=Ue,this._extent={},O(this)},E._initDataFromProvider=function(X,Z){if(X>=Z)return;for(var ee=this._chunkSize,Se=this._rawData,$=this._storage,pe=this.dimensions,xe=pe.length,_e=this._dimensionInfos,Ue=this._nameList,ye=this._idList,Be=this._rawExtent,Q=this._nameRepeatCount={},ie,Ve=this._chunkCount,J=0;J<xe;J++){var W=pe[J];Be[W]||(Be[W]=z());var j=_e[W];j.otherDims.itemName===0&&(ie=this._nameDimIdx=J),j.otherDims.itemId===0&&(this._idDimIdx=J),$[W]||($[W]=[]),I($,j,ee,Ve,Z),this._chunkCount=$[W].length}for(var Y=new Array(xe),me=X;me<Z;me++){Y=Se.getItem(me,Y);for(var ae=Math.floor(me/ee),Le=me%ee,Ee=0;Ee<xe;Ee++){var W=pe[Ee],ne=$[W][ae],ge=this._dimValueGetter(Y,W,me,Ee);ne[Le]=ge;var Ie=Be[W];ge<Ie[0]&&(Ie[0]=ge),ge>Ie[1]&&(Ie[1]=ge)}if(!Se.pure){var Ge=Ue[me];if(Y&&Ge==null){if(Y.name!=null)Ue[me]=Ge=Y.name;else if(ie!=null){var ut=pe[ie],wt=$[ut][ae];if(wt){Ge=wt[Le];var Pe=_e[ut].ordinalMeta;Pe&&Pe.categories.length&&(Ge=Pe.categories[Ge])}}}var Dt=Y==null?null:Y.id;Dt==null&&Ge!=null&&(Q[Ge]=Q[Ge]||0,Dt=Ge,Q[Ge]>0&&(Dt+="__ec__"+Q[Ge]),Q[Ge]++),Dt!=null&&(ye[me]=Dt)}}!Se.persistent&&Se.clean&&Se.clean(),this._rawCount=this._count=Z,this._extent={},O(this)};function I(X,Z,ee,Se,$){var pe=u[Z.type],xe=Se-1,_e=Z.name,Ue=X[_e][xe];if(Ue&&Ue.length<ee){for(var ye=new pe(Math.min($-xe*ee,ee)),Be=0;Be<Ue.length;Be++)ye[Be]=Ue[Be];X[_e][xe]=ye}for(var Q=Se*ee;Q<$;Q+=ee)X[_e].push(new pe(Math.min($-Q,ee)))}function O(X){var Z=X._invertedIndicesMap;C.each(Z,function(ee,Se){var $=X._dimensionInfos[Se],pe=$.ordinalMeta;if(pe){ee=Z[Se]=new A(pe.categories.length);for(var xe=0;xe<ee.length;xe++)ee[xe]=e;for(var xe=0;xe<X._count;xe++)ee[X.get(Se,xe)]=xe}})}function F(X,Z,ee){var Se;if(Z!=null){var $=X._chunkSize,pe=Math.floor(ee/$),xe=ee%$,_e=X.dimensions[Z],Ue=X._storage[_e][pe];if(Ue){Se=Ue[xe];var ye=X._dimensionInfos[_e].ordinalMeta;ye&&ye.categories.length&&(Se=ye.categories[Se])}}return Se}E.count=function(){return this._count},E.getIndices=function(){var X,Z=this._indices;if(Z){var ee=Z.constructor,Se=this._count;if(ee===Array){X=new ee(Se);for(var $=0;$<Se;$++)X[$]=Z[$]}else X=new ee(Z.buffer,0,Se)}else for(var ee=x(this),X=new ee(this.count()),$=0;$<X.length;$++)X[$]=$;return X},E.get=function(X,Z){if(!(Z>=0&&Z<this._count))return NaN;var ee=this._storage;if(!ee[X])return NaN;Z=this.getRawIndex(Z);var Se=Math.floor(Z/this._chunkSize),$=Z%this._chunkSize,pe=ee[X][Se],xe=pe[$];return xe},E.getByRawIndex=function(X,Z){if(!(Z>=0&&Z<this._rawCount))return NaN;var ee=this._storage[X];if(!ee)return NaN;var Se=Math.floor(Z/this._chunkSize),$=Z%this._chunkSize,pe=ee[Se];return pe[$]},E._getFast=function(X,Z){var ee=Math.floor(Z/this._chunkSize),Se=Z%this._chunkSize,$=this._storage[X][ee];return $[Se]},E.getValues=function(X,Z){var ee=[];C.isArray(X)||(Z=X,X=this.dimensions);for(var Se=0,$=X.length;Se<$;Se++)ee.push(this.get(X[Se],Z));return ee},E.hasValue=function(X){for(var Z=this._dimensionsSummary.dataDimsOnCoord,ee=0,Se=Z.length;ee<Se;ee++)if(isNaN(this.get(Z[ee],X)))return!1;return!0},E.getDataExtent=function(X){X=this.getDimension(X);var Z=this._storage[X],ee=z();if(!Z)return ee;var Se=this.count(),$=!this._indices,pe;if($)return this._rawExtent[X].slice();if(pe=this._extent[X],pe)return pe.slice();pe=ee;for(var xe=pe[0],_e=pe[1],Ue=0;Ue<Se;Ue++){var ye=this._getFast(X,this.getRawIndex(Ue));ye<xe&&(xe=ye),ye>_e&&(_e=ye)}return pe=[xe,_e],this._extent[X]=pe,pe},E.getApproximateExtent=function(X){return X=this.getDimension(X),this._approximateExtent[X]||this.getDataExtent(X)},E.setApproximateExtent=function(X,Z){Z=this.getDimension(Z),this._approximateExtent[Z]=X.slice()},E.getCalculationInfo=function(X){return this._calculationInfo[X]},E.setCalculationInfo=function(X,Z){i(X)?C.extend(this._calculationInfo,X):this._calculationInfo[X]=Z},E.getSum=function(X){var Z=this._storage[X],ee=0;if(Z)for(var Se=0,$=this.count();Se<$;Se++){var pe=this.get(X,Se);isNaN(pe)||(ee+=pe)}return ee},E.getMedian=function(X){var Z=[];this.each(X,function($,pe){isNaN($)||Z.push($)});var ee=[].concat(Z).sort(function($,pe){return $-pe}),Se=this.count();return Se===0?0:Se%2===1?ee[(Se-1)/2]:(ee[Se/2]+ee[Se/2-1])/2},E.rawIndexOf=function(X,Z){var ee=X&&this._invertedIndicesMap[X],Se=ee[Z];return Se==null||isNaN(Se)?e:Se},E.indexOfName=function(X){for(var Z=0,ee=this.count();Z<ee;Z++)if(this.getName(Z)===X)return Z;return-1},E.indexOfRawIndex=function(X){if(X>=this._rawCount||X<0)return-1;if(!this._indices)return X;var Z=this._indices,ee=Z[X];if(ee!=null&&ee<this._count&&ee===X)return X;for(var Se=0,$=this._count-1;Se<=$;){var pe=(Se+$)/2|0;if(Z[pe]<X)Se=pe+1;else if(Z[pe]>X)$=pe-1;else return pe}return-1},E.indicesOfNearest=function(X,Z,ee){var Se=this._storage,$=Se[X],pe=[];if(!$)return pe;ee==null&&(ee=Infinity);for(var xe=Infinity,_e=-1,Ue=0,ye=0,Be=this.count();ye<Be;ye++){var Q=Z-this.get(X,ye),ie=Math.abs(Q);ie<=ee&&((ie<xe||ie===xe&&Q>=0&&_e<0)&&(xe=ie,_e=Q,Ue=0),Q===_e&&(pe[Ue++]=ye))}return pe.length=Ue,pe},E.getRawIndex=k;function k(X){return X}function M(X){return X<this._count&&X>=0?this._indices[X]:-1}E.getRawDataItem=function(X){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(X));for(var Z=[],ee=0;ee<this.dimensions.length;ee++){var Se=this.dimensions[ee];Z.push(this.get(Se,X))}return Z},E.getName=function(X){var Z=this.getRawIndex(X);return this._nameList[Z]||F(this,this._nameDimIdx,Z)||""},E.getId=function(X){return P(this,this.getRawIndex(X))};function P(X,Z){var ee=X._idList[Z];return ee==null&&(ee=F(X,X._idDimIdx,Z)),ee==null&&(ee=s+Z),ee}function V(X){return C.isArray(X)||(X=[X]),X}function D(X,Z){for(var ee=0;ee<Z.length;ee++)X._dimensionInfos[Z[ee]]||console.error("Unkown dimension "+Z[ee])}E.each=function(X,Z,ee,Se){"use strict";if(!this._count)return;typeof X=="function"&&(Se=ee,ee=Z,Z=X,X=[]),ee=ee||Se||this,X=C.map(V(X),this.getDimension,this);for(var $=X.length,pe=0;pe<this.count();pe++)switch($){case 0:Z.call(ee,pe);break;case 1:Z.call(ee,this.get(X[0],pe),pe);break;case 2:Z.call(ee,this.get(X[0],pe),this.get(X[1],pe),pe);break;default:for(var xe=0,_e=[];xe<$;xe++)_e[xe]=this.get(X[xe],pe);_e[xe]=pe,Z.apply(ee,_e)}},E.filterSelf=function(X,Z,ee,Se){"use strict";if(!this._count)return;typeof X=="function"&&(Se=ee,ee=Z,Z=X,X=[]),ee=ee||Se||this,X=C.map(V(X),this.getDimension,this);for(var $=this.count(),pe=x(this),xe=new pe($),_e=[],Ue=X.length,ye=0,Be=X[0],Q=0;Q<$;Q++){var ie,Ve=this.getRawIndex(Q);if(Ue===0)ie=Z.call(ee,Q);else if(Ue===1){var J=this._getFast(Be,Ve);ie=Z.call(ee,J,Q)}else{for(var W=0;W<Ue;W++)_e[W]=this._getFast(Be,Ve);_e[W]=Q,ie=Z.apply(ee,_e)}ie&&(xe[ye++]=Ve)}return ye<$&&(this._indices=xe),this._count=ye,this._extent={},this.getRawIndex=this._indices?M:k,this},E.selectRange=function(X){"use strict";if(!this._count)return;var Z=[];for(var ee in X)X.hasOwnProperty(ee)&&Z.push(ee);var Se=Z.length;if(!Se)return;var $=this.count(),pe=x(this),xe=new pe($),_e=0,Ue=Z[0],ye=X[Ue][0],Be=X[Ue][1],Q=!1;if(!this._indices){var ie=0;if(Se===1){for(var Ve=this._storage[Z[0]],J=0;J<this._chunkCount;J++)for(var W=Ve[J],j=Math.min(this._count-J*this._chunkSize,this._chunkSize),Y=0;Y<j;Y++){var me=W[Y];(me>=ye&&me<=Be||isNaN(me))&&(xe[_e++]=ie),ie++}Q=!0}else if(Se===2){for(var Ve=this._storage[Ue],ae=this._storage[Z[1]],Le=X[Z[1]][0],Ee=X[Z[1]][1],J=0;J<this._chunkCount;J++)for(var W=Ve[J],ne=ae[J],j=Math.min(this._count-J*this._chunkSize,this._chunkSize),Y=0;Y<j;Y++){var me=W[Y],ge=ne[Y];(me>=ye&&me<=Be||isNaN(me))&&(ge>=Le&&ge<=Ee||isNaN(ge))&&(xe[_e++]=ie),ie++}Q=!0}}if(!Q)if(Se===1)for(var Y=0;Y<$;Y++){var Ie=this.getRawIndex(Y),me=this._getFast(Ue,Ie);(me>=ye&&me<=Be||isNaN(me))&&(xe[_e++]=Ie)}else for(var Y=0;Y<$;Y++){for(var Ge=!0,Ie=this.getRawIndex(Y),J=0;J<Se;J++){var ut=Z[J],me=this._getFast(ee,Ie);(me<X[ut][0]||me>X[ut][1])&&(Ge=!1)}Ge&&(xe[_e++]=this.getRawIndex(Y))}return _e<$&&(this._indices=xe),this._count=_e,this._extent={},this.getRawIndex=this._indices?M:k,this},E.mapArray=function(X,Z,ee,Se){"use strict";typeof X=="function"&&(Se=ee,ee=Z,Z=X,X=[]),ee=ee||Se||this;var $=[];return this.each(X,function(){$.push(Z&&Z.apply(this,arguments))},ee),$};function H(X,Z){var ee=X.dimensions,Se=new S(C.map(ee,X.getDimensionInfo,X),X.hostModel);T(Se,X);for(var $=Se._storage={},pe=X._storage,xe=0;xe<ee.length;xe++){var _e=ee[xe];pe[_e]&&(C.indexOf(Z,_e)>=0?($[_e]=U(pe[_e]),Se._rawExtent[_e]=z(),Se._extent[_e]=null):$[_e]=pe[_e])}return Se}function U(X){for(var Z=new Array(X.length),ee=0;ee<X.length;ee++)Z[ee]=b(X[ee]);return Z}function z(){return[Infinity,-Infinity]}E.map=function(X,Z,ee,Se){"use strict";ee=ee||Se||this,X=C.map(V(X),this.getDimension,this);var $=H(this,X);$._indices=this._indices,$.getRawIndex=$._indices?M:k;for(var pe=$._storage,xe=[],_e=this._chunkSize,Ue=X.length,ye=this.count(),Be=[],Q=$._rawExtent,ie=0;ie<ye;ie++){for(var Ve=0;Ve<Ue;Ve++)Be[Ve]=this.get(X[Ve],ie);Be[Ue]=ie;var J=Z&&Z.apply(ee,Be);if(J!=null){typeof J!="object"&&(xe[0]=J,J=xe);for(var W=this.getRawIndex(ie),j=Math.floor(W/_e),Y=W%_e,me=0;me<J.length;me++){var ae=X[me],Le=J[me],Ee=Q[ae],ne=pe[ae];ne&&(ne[j][Y]=Le),Le<Ee[0]&&(Ee[0]=Le),Le>Ee[1]&&(Ee[1]=Le)}}}return $},E.downSample=function(X,Z,ee,Se){for(var $=H(this,[X]),pe=$._storage,xe=[],_e=Math.floor(1/Z),Ue=pe[X],ye=this.count(),Be=this._chunkSize,Q=$._rawExtent[X],ie=new(x(this))(ye),Ve=0,J=0;J<ye;J+=_e){_e>ye-J&&(_e=ye-J,xe.length=_e);for(var W=0;W<_e;W++){var j=this.getRawIndex(J+W),Y=Math.floor(j/Be),me=j%Be;xe[W]=Ue[Y][me]}var ae=ee(xe),Le=this.getRawIndex(Math.min(J+Se(xe,ae)||0,ye-1)),Ee=Math.floor(Le/Be),ne=Le%Be;Ue[Ee][ne]=ae,ae<Q[0]&&(Q[0]=ae),ae>Q[1]&&(Q[1]=ae),ie[Ve++]=Le}return $._count=Ve,$._indices=ie,$.getRawIndex=M,$},E.getItemModel=function(X){var Z=this.hostModel;return new p(this.getRawDataItem(X),Z,Z&&Z.ecModel)},E.diff=function(X){var Z=this;return new g(X?X.getIndices():[],this.getIndices(),function(ee){return P(X,ee)},function(ee){return P(Z,ee)})},E.getVisual=function(X){var Z=this._visual;return Z&&Z[X]},E.setVisual=function(X,Z){if(i(X)){for(var ee in X)X.hasOwnProperty(ee)&&this.setVisual(ee,X[ee]);return}this._visual=this._visual||{},this._visual[X]=Z},E.setLayout=function(X,Z){if(i(X)){for(var ee in X)X.hasOwnProperty(ee)&&this.setLayout(ee,X[ee]);return}this._layout[X]=Z},E.getLayout=function(X){return this._layout[X]},E.getItemLayout=function(X){return this._itemLayouts[X]},E.setItemLayout=function(X,Z,ee){this._itemLayouts[X]=ee?C.extend(this._itemLayouts[X]||{},Z):Z},E.clearItemLayouts=function(){this._itemLayouts.length=0},E.getItemVisual=function(X,Z,ee){var Se=this._itemVisuals[X],$=Se&&Se[Z];return $==null&&!ee?this.getVisual(Z):$},E.setItemVisual=function(X,Z,ee){var Se=this._itemVisuals[X]||{},$=this.hasItemVisual;if(this._itemVisuals[X]=Se,i(Z)){for(var pe in Z)Z.hasOwnProperty(pe)&&(Se[pe]=Z[pe],$[pe]=!0);return}Se[Z]=ee,$[Z]=!0},E.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var K=function(X){X.seriesIndex=this.seriesIndex,X.dataIndex=this.dataIndex,X.dataType=this.dataType};E.setItemGraphicEl=function(X,Z){var ee=this.hostModel;Z&&(Z.dataIndex=X,Z.dataType=this.dataType,Z.seriesIndex=ee&&ee.seriesIndex,Z.type==="group"&&Z.traverse(K,Z)),this._graphicEls[X]=Z},E.getItemGraphicEl=function(X){return this._graphicEls[X]},E.eachItemGraphicEl=function(X,Z){C.each(this._graphicEls,function(ee,Se){ee&&(X&&X.call(Z,ee,Se))})},E.cloneShallow=function(X){if(!X){var Z=C.map(this.dimensions,this.getDimensionInfo,this);X=new S(Z,this.hostModel)}if(X._storage=this._storage,T(X,this),this._indices){var ee=this._indices.constructor;X._indices=new ee(this._indices)}else X._indices=null;return X.getRawIndex=X._indices?M:k,X},E.wrapMethod=function(X,Z){var ee=this[X];if(typeof ee!="function")return;this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(X),this[X]=function(){var Se=ee.apply(this,arguments);return Z.apply(this,[Se].concat(C.slice(arguments)))}},E.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],E.CHANGABLE_METHODS=["filterSelf","selectRange"];var G=S;B.exports=G},YgsL:function(B,N,r){var y=r("QBsz"),m=y.distance;function C(g,h,c,o,n,t,a){var d=(c-g)*.5,i=(o-h)*.5;return(2*(h-c)+d+i)*a+(-3*(h-c)-2*d-i)*t+d*n+h}function p(g,h){for(var c=g.length,o=[],n=0,t=1;t<c;t++)n+=m(g[t-1],g[t]);var a=n/2;a=a<c?c:a;for(var t=0;t<a;t++){var d=t/(a-1)*(h?c:c-1),i=Math.floor(d),l=d-i,e,s=g[i%c],u,f;h?(e=g[(i-1+c)%c],u=g[(i+1)%c],f=g[(i+2)%c]):(e=g[i===0?i:i-1],u=g[i>c-2?c-1:i+1],f=g[i>c-3?c-1:i+2]);var A=l*l,v=l*A;o.push([C(e[0],s[0],u[0],f[0],l,A,v),C(e[1],s[1],u[1],f[1],l,A,v)])}return o}B.exports=p},Yl7c:function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("bYtY"),p=".",g="___EC__COMPONENT__CONTAINER___";function h(e){var s={main:"",sub:""};return e&&(e=e.split(p),s.main=e[0]||"",s.sub=e[1]||""),s}function c(e){C.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function o(e,s){e.$constructor=e,e.extend=function(u){var f=this,A=function(){u.$constructor?u.$constructor.apply(this,arguments):f.apply(this,arguments)};return C.extend(A.prototype,u),A.extend=this.extend,A.superCall=a,A.superApply=d,C.inherits(A,this),A.superClass=f,A}}var n=0;function t(e){var s=["__\0is_clz",n++,Math.random().toFixed(3)].join("_");e.prototype[s]=!0,e.isInstance=function(u){return!!(u&&u[s])}}function a(e,s){var u=C.slice(arguments,2);return this.superClass.prototype[s].apply(e,u)}function d(e,s,u){return this.superClass.prototype[s].apply(e,u)}function i(e,s){s=s||{};var u={};e.registerClass=function(v,x){if(x){if(c(x),x=h(x),!x.sub)u[x.main]=v;else if(x.sub!==g){var b=f(x);b[x.sub]=v}}return v},e.getClass=function(v,x,b){var w=u[v];if(w&&w[g]&&(w=x?w[x]:null),b&&!w)throw new Error(x?"Component "+v+"."+(x||"")+" not exists. Load it first.":v+".type should be specified.");return w},e.getClassesByMainType=function(v){v=h(v);var x=[],b=u[v.main];return b&&b[g]?C.each(b,function(w,_){_!==g&&x.push(w)}):x.push(b),x},e.hasClass=function(v){return v=h(v),!!u[v.main]},e.getAllClassMainTypes=function(){var v=[];return C.each(u,function(x,b){v.push(b)}),v},e.hasSubTypes=function(v){v=h(v);var x=u[v.main];return x&&x[g]},e.parseClassType=h;function f(v){var x=u[v.main];return(!x||!x[g])&&(x=u[v.main]={},x[g]=!0),x}if(s.registerWhenExtend){var A=e.extend;A&&(e.extend=function(v){var x=A.call(this,v);return e.registerClass(x,v.type)})}return e}function l(e,s){}N.parseClassType=h,N.enableClassExtend=o,N.enableClassCheck=t,N.enableClassManagement=i,N.setReadOnly=l},Ynxi:function(B,N,r){var y=r("bYtY"),m=r("ProS"),C=r("IwbS"),p=r("+TT/"),g=p.getLayoutRect,h=r("7aKB"),c=h.windowOpen;m.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"}}}),m.extendComponentView({type:"title",render:function(o,n,t){if(this.group.removeAll(),!o.get("show"))return;var a=this.group,d=o.getModel("textStyle"),i=o.getModel("subtextStyle"),l=o.get("textAlign"),e=y.retrieve2(o.get("textBaseline"),o.get("textVerticalAlign")),s=new C.Text({style:C.setTextStyle({},d,{text:o.get("text"),textFill:d.getTextColor()},{disableBox:!0}),z2:10}),u=s.getBoundingRect(),f=o.get("subtext"),A=new C.Text({style:C.setTextStyle({},i,{text:f,textFill:i.getTextColor(),y:u.height+o.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),v=o.get("link"),x=o.get("sublink"),b=o.get("triggerEvent",!0);s.silent=!v&&!b,A.silent=!x&&!b,v&&s.on("click",function(){c(v,"_"+o.get("target"))}),x&&A.on("click",function(){c(v,"_"+o.get("subtarget"))}),s.eventData=A.eventData=b?{componentType:"title",componentIndex:o.componentIndex}:null,a.add(s),f&&a.add(A);var w=a.getBoundingRect(),_=o.getBoxLayoutParams();_.width=w.width,_.height=w.height;var T=g(_,{width:t.getWidth(),height:t.getHeight()},o.get("padding"));l||(l=o.get("left")||o.get("right"),l==="middle"&&(l="center"),l==="right"?T.x+=T.width:l==="center"&&(T.x+=T.width/2)),e||(e=o.get("top")||o.get("bottom"),e==="center"&&(e="middle"),e==="bottom"?T.y+=T.height:e==="middle"&&(T.y+=T.height/2),e=e||"top"),a.attr("position",[T.x,T.y]);var S={textAlign:l,textVerticalAlign:e};s.setStyle(S),A.setStyle(S),w=a.getBoundingRect();var E=T.margin,I=o.getItemStyle(["color","opacity"]);I.fill=o.get("backgroundColor");var O=new C.Rect({shape:{x:w.x-E[3],y:w.y-E[0],width:w.width+E[1]+E[3],height:w.height+E[0]+E[2],r:o.get("borderRadius")},style:I,subPixelOptimize:!0,silent:!0});a.add(O)}})},YrtM:function(B,N,r){"use strict";r.d(N,"a",function(){return C});var y=r("q1tI"),m=r.n(y);function C(p,g,h){var c=y.useRef({});return(!("value"in c.current)||h(c.current.condition,g))&&(c.current.value=p(),c.current.condition=g),c.current.value}},Ywus:function(B,N,r){"use strict";var y=r("284h"),m=r("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var C=m(r("3tO9")),p=y(r("q1tI")),g=m(r("DO2E")),h=m(r("KQxl")),c=function(t,a){return p.createElement(h.default,(0,C.default)((0,C.default)({},t),{},{ref:a,icon:g.default}))};c.displayName="DeleteOutlined";var o=p.forwardRef(c);N.default=o},Z0Lh:function(B,N,r){"use strict";var y=r("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var m=y(r("pVnL")),C=y(r("HjOm")),p=y(r("Z6rY")),g={lang:(0,m.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,m.default)({},p.default)};g.lang.ok="\u786E \u5B9A";var h=g;N.default=h},Z1HP:function(B,N,r){var y=r("ycre"),m=r("quyA"),C=r("q4HE");function p(g){return m(g)?C(g):y(g)}B.exports=p},Z1r0:function(B,N){function r(y){var m=y.findComponents({mainType:"legend"});if(!m||!m.length)return;y.eachSeriesByType("graph",function(C){var p=C.getCategoriesData(),g=C.getGraph(),h=g.data,c=p.mapArray(p.getName);h.filterSelf(function(o){var n=h.getItemModel(o),t=n.getShallow("category");if(t!=null){typeof t=="number"&&(t=c[t]);for(var a=0;a<m.length;a++)if(!m[a].isSelected(t))return!1}return!0})},this)}B.exports=r},Z1wy:function(B,N,r){var y=r("ProS");r("ThAp"),r("pmaE"),r("SehX"),r("7uqq");var m=r("zuHt"),C=r("VPsl"),p=r("9u0u"),g=r("lELe"),h=r("d4KN");y.registerLayout(m),y.registerVisual(C),y.registerProcessor(y.PRIORITY.PROCESSOR.STATISTIC,p),y.registerPreprocessor(g),h("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},Z6js:function(B,N,r){var y=r("MwEJ"),m=r("T4UG"),C=m.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(p,g){return y(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}});B.exports=C},Z6rY:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]},m=y;N.default=m},Z8zF:function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("ProS"),p=r("bYtY"),g=r("IwbS"),h=r("56rv"),c=h.setLabel,o=r("Qxkt"),n=r("tceW"),t=r("y+Vt"),a=r("4fz+"),d=r("iLNv"),i=d.throttle,l=r("sK/D"),e=l.createClipPath,s=r("wr5s"),u=["itemStyle","barBorderWidth"],f=[0,0];p.extend(o.prototype,n);function A(K,G){var X=K.getArea&&K.getArea();if(K.type==="cartesian2d"){var Z=K.getBaseAxis();if(Z.type!=="category"||!Z.onBand){var ee=G.getLayout("bandWidth");Z.isHorizontal()?(X.x-=ee,X.width+=ee*2):(X.y-=ee,X.height+=ee*2)}}return X}var v=C.extendChartView({type:"bar",render:function(K,G,X){this._updateDrawMode(K);var Z=K.get("coordinateSystem");return(Z==="cartesian2d"||Z==="polar")&&(this._isLargeDraw?this._renderLarge(K,G,X):this._renderNormal(K,G,X)),this.group},incrementalPrepareRender:function(K,G,X){this._clear(),this._updateDrawMode(K)},incrementalRender:function(K,G,X,Z){this._incrementalRenderLarge(K,G)},_updateDrawMode:function(K){var G=K.pipelineContext.large;(this._isLargeDraw==null||G^this._isLargeDraw)&&(this._isLargeDraw=G,this._clear())},_renderNormal:function(K,G,X){var Z=this.group,ee=K.getData(),Se=this._data,$=K.coordinateSystem,pe=$.getBaseAxis(),xe;$.type==="cartesian2d"?xe=pe.isHorizontal():$.type==="polar"&&(xe=pe.dim==="angle");var _e=K.isAnimationEnabled()?K:null,Ue=K.get("clip",!0),ye=A($,ee);Z.removeClipPath();var Be=K.get("roundCap",!0),Q=K.get("showBackground",!0),ie=K.getModel("backgroundStyle"),Ve=ie.get("barBorderRadius")||0,J=[],W=this._backgroundEls||[];ee.diff(Se).add(function(me){var ae=ee.getItemModel(me),Le=E[$.type](ee,me,ae);if(Q){var Ee=E[$.type](ee,me),ne=z($,xe,Ee);ne.useStyle(ie.getBarItemStyle()),$.type==="cartesian2d"&&ne.setShape("r",Ve),J[me]=ne}if(!ee.hasValue(me))return;if(Ue){var ge=w[$.type](ye,Le);if(ge){Z.remove(Ie);return}}var Ie=_[$.type](me,Le,xe,_e,!1,Be);ee.setItemGraphicEl(me,Ie),Z.add(Ie),O(Ie,ee,me,ae,Le,K,xe,$.type==="polar")}).update(function(me,ae){var Le=ee.getItemModel(me),Ee=E[$.type](ee,me,Le);if(Q){var ne=W[ae];ne.useStyle(ie.getBarItemStyle()),$.type==="cartesian2d"&&ne.setShape("r",Ve),J[me]=ne;var ge=E[$.type](ee,me),Ie=U(xe,ge,$);g.updateProps(ne,{shape:Ie},_e,me)}var Ge=Se.getItemGraphicEl(ae);if(!ee.hasValue(me)){Z.remove(Ge);return}if(Ue){var ut=w[$.type](ye,Ee);if(ut){Z.remove(Ge);return}}Ge?g.updateProps(Ge,{shape:Ee},_e,me):Ge=_[$.type](me,Ee,xe,_e,!0,Be),ee.setItemGraphicEl(me,Ge),Z.add(Ge),O(Ge,ee,me,Le,Ee,K,xe,$.type==="polar")}).remove(function(me){var ae=Se.getItemGraphicEl(me);$.type==="cartesian2d"?ae&&T(me,_e,ae):ae&&S(me,_e,ae)}).execute();var j=this._backgroundGroup||(this._backgroundGroup=new a);j.removeAll();for(var Y=0;Y<J.length;++Y)j.add(J[Y]);Z.add(j),this._backgroundEls=J,this._data=ee},_renderLarge:function(K,G,X){this._clear(),M(K,this.group);var Z=K.get("clip",!0)?e(K.coordinateSystem,!1,K):null;Z?this.group.setClipPath(Z):this.group.removeClipPath()},_incrementalRenderLarge:function(K,G){this._removeBackground(),M(G,this.group,!0)},dispose:p.noop,remove:function(K){this._clear(K)},_clear:function(K){var G=this.group,X=this._data;K&&K.get("animation")&&X&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],X.eachItemGraphicEl(function(Z){Z.type==="sector"?S(Z.dataIndex,K,Z):T(Z.dataIndex,K,Z)})):G.removeAll(),this._data=null},_removeBackground:function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null}}),x=Math.max,b=Math.min,w={cartesian2d:function(K,G){var X=G.width<0?-1:1,Z=G.height<0?-1:1;X<0&&(G.x+=G.width,G.width=-G.width),Z<0&&(G.y+=G.height,G.height=-G.height);var ee=x(G.x,K.x),Se=b(G.x+G.width,K.x+K.width),$=x(G.y,K.y),pe=b(G.y+G.height,K.y+K.height);G.x=ee,G.y=$,G.width=Se-ee,G.height=pe-$;var xe=G.width<0||G.height<0;return X<0&&(G.x+=G.width,G.width=-G.width),Z<0&&(G.y+=G.height,G.height=-G.height),xe},polar:function(K){return!1}},_={cartesian2d:function(K,G,X,Z,ee){var Se=new g.Rect({shape:p.extend({},G),z2:1});if(Se.name="item",Z){var $=Se.shape,pe=X?"height":"width",xe={};$[pe]=0,xe[pe]=G[pe],g[ee?"updateProps":"initProps"](Se,{shape:xe},Z,K)}return Se},polar:function(K,G,X,Z,ee,Se){var $=G.startAngle<G.endAngle,pe=!X&&Se?s:g.Sector,xe=new pe({shape:p.defaults({clockwise:$},G),z2:1});if(xe.name="item",Z){var _e=xe.shape,Ue=X?"r":"endAngle",ye={};_e[Ue]=X?0:G.startAngle,ye[Ue]=G[Ue],g[ee?"updateProps":"initProps"](xe,{shape:ye},Z,K)}return xe}};function T(K,G,X){X.style.text=null,g.updateProps(X,{shape:{width:0}},G,K,function(){X.parent&&X.parent.remove(X)})}function S(K,G,X){X.style.text=null,g.updateProps(X,{shape:{r:X.shape.r0}},G,K,function(){X.parent&&X.parent.remove(X)})}var E={cartesian2d:function(K,G,X){var Z=K.getItemLayout(G),ee=X?F(X,Z):0,Se=Z.width>0?1:-1,$=Z.height>0?1:-1;return{x:Z.x+Se*ee/2,y:Z.y+$*ee/2,width:Z.width-Se*ee,height:Z.height-$*ee}},polar:function(K,G,X){var Z=K.getItemLayout(G);return{cx:Z.cx,cy:Z.cy,r0:Z.r0,r:Z.r,startAngle:Z.startAngle,endAngle:Z.endAngle}}};function I(K){return K.startAngle!=null&&K.endAngle!=null&&K.startAngle===K.endAngle}function O(K,G,X,Z,ee,Se,$,pe){var xe=G.getItemVisual(X,"color"),_e=G.getItemVisual(X,"opacity"),Ue=G.getVisual("borderColor"),ye=Z.getModel("itemStyle"),Be=Z.getModel("emphasis.itemStyle").getBarItemStyle();pe||K.setShape("r",ye.get("barBorderRadius")||0),K.useStyle(p.defaults({stroke:I(ee)?"none":Ue,fill:I(ee)?"none":xe,opacity:_e},ye.getBarItemStyle()));var Q=Z.getShallow("cursor");Q&&K.attr("cursor",Q);var ie=$?ee.height>0?"bottom":"top":ee.width>0?"left":"right";pe||c(K.style,Be,Z,xe,Se,X,ie),I(ee)&&(Be.fill=Be.stroke="none"),g.setHoverStyle(K,Be)}function F(K,G){var X=K.get(u)||0,Z=isNaN(G.width)?Number.MAX_VALUE:Math.abs(G.width),ee=isNaN(G.height)?Number.MAX_VALUE:Math.abs(G.height);return Math.min(X,Z,ee)}var k=t.extend({type:"largeBar",shape:{points:[]},buildPath:function(K,G){for(var X=G.points,Z=this.__startPoint,ee=this.__baseDimIdx,Se=0;Se<X.length;Se+=2)Z[ee]=X[Se+ee],K.moveTo(Z[0],Z[1]),K.lineTo(X[Se],X[Se+1])}});function M(K,G,X){var Z=K.getData(),ee=[],Se=Z.getLayout("valueAxisHorizontal")?1:0;ee[1-Se]=Z.getLayout("valueAxisStart");var $=Z.getLayout("largeDataIndices"),pe=Z.getLayout("barWidth"),xe=K.getModel("backgroundStyle"),_e=K.get("showBackground",!0);if(_e){var Ue=Z.getLayout("largeBackgroundPoints"),ye=[];ye[1-Se]=Z.getLayout("backgroundStart");var Be=new k({shape:{points:Ue},incremental:!!X,__startPoint:ye,__baseDimIdx:Se,__largeDataIndices:$,__barWidth:pe,silent:!0,z2:0});H(Be,xe,Z),G.add(Be)}var Q=new k({shape:{points:Z.getLayout("largePoints")},incremental:!!X,__startPoint:ee,__baseDimIdx:Se,__largeDataIndices:$,__barWidth:pe});G.add(Q),D(Q,K,Z),Q.seriesIndex=K.seriesIndex,K.get("silent")||(Q.on("mousedown",P),Q.on("mousemove",P))}var P=i(function(K){var G=this,X=V(G,K.offsetX,K.offsetY);G.dataIndex=X>=0?X:null},30,!1);function V(K,G,X){var Z=K.__baseDimIdx,ee=1-Z,Se=K.shape.points,$=K.__largeDataIndices,pe=Math.abs(K.__barWidth/2),xe=K.__startPoint[ee];f[0]=G,f[1]=X;for(var _e=f[Z],Ue=f[1-Z],ye=_e-pe,Be=_e+pe,Q=0,ie=Se.length/2;Q<ie;Q++){var Ve=Q*2,J=Se[Ve+Z],W=Se[Ve+ee];if(J>=ye&&J<=Be&&(xe<=W?Ue>=xe&&Ue<=W:Ue>=W&&Ue<=xe))return $[Q]}return-1}function D(K,G,X){var Z=X.getVisual("borderColor")||X.getVisual("color"),ee=G.getModel("itemStyle").getItemStyle(["color","borderColor"]);K.useStyle(ee),K.style.fill=null,K.style.stroke=Z,K.style.lineWidth=X.getLayout("barWidth")}function H(K,G,X){var Z=G.get("borderColor")||G.get("color"),ee=G.getItemStyle(["color","borderColor"]);K.useStyle(ee),K.style.fill=null,K.style.stroke=Z,K.style.lineWidth=X.getLayout("barWidth")}function U(K,G,X){var Z,ee=X.type==="polar";return ee?Z=X.getArea():Z=X.grid.getRect(),ee?{cx:Z.cx,cy:Z.cy,r0:K?Z.r0:G.r0,r:K?Z.r:G.r,startAngle:K?G.startAngle:0,endAngle:K?G.endAngle:Math.PI*2}:{x:K?G.x:Z.x,y:K?Z.y:G.y,width:K?G.width:Z.width,height:K?Z.height:G.height}}function z(K,G,X){var Z=K.type==="polar"?g.Sector:g.Rect;return new Z({shape:U(G,X,K),silent:!0,z2:0})}B.exports=v},ZCgT:function(B,N,r){var y=r("tLB3"),m=1/0,C=17976931348623157e292;function p(g){if(!g)return g===0?g:0;if(g=y(g),g===m||g===-m){var h=g<0?-1:1;return h*C}return g===g?g:0}B.exports=p},ZLWo:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"};N.default=y},ZMnZ:function(B,N,r){"use strict";var y=r("284h"),m=r("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var C=m(r("3tO9")),p=y(r("q1tI")),g=m(r("2oIt")),h=m(r("KQxl")),c=function(t,a){return p.createElement(h.default,(0,C.default)((0,C.default)({},t),{},{ref:a,icon:g.default}))};c.displayName="UpOutlined";var o=p.forwardRef(c);N.default=o},ZTPi:function(B,N,r){"use strict";var y=r("pVnL"),m=r.n(y),C=r("lSNA"),p=r.n(C),g=r("q1tI"),h=r("rePB"),c=r("ODXe"),o=r("Ff2n"),n=r("VTBJ"),t=r("TSYQ"),a=r.n(t),d=r("Zm9Q"),i=r("6cGi"),l=r("KQm4"),e=r("xEkU"),s=r.n(e),u=r("t23M");function f(or){var br=Object(g.useRef)(),Mr=Object(g.useRef)(!1);function Sr(){for(var Wt=arguments.length,fr=new Array(Wt),Jt=0;Jt<Wt;Jt++)fr[Jt]=arguments[Jt];Mr.current||(s.a.cancel(br.current),br.current=s()(function(){or.apply(void 0,fr)}))}return Object(g.useEffect)(function(){return function(){Mr.current=!0,s.a.cancel(br.current)}},[]),Sr}function A(or){var br=Object(g.useRef)([]),Mr=Object(g.useState)({}),Sr=Object(c.a)(Mr,2),Wt=Sr[1],fr=Object(g.useRef)(typeof or=="function"?or():or),Jt=f(function(){var _r=fr.current;br.current.forEach(function(Qr){_r=Qr(_r)}),br.current=[],fr.current=_r,Wt({})});function Tr(_r){br.current.push(_r),Jt()}return[fr.current,Tr]}var v=r("4IlW");function x(or,br){var Mr,Sr=or.prefixCls,Wt=or.id,fr=or.active,Jt=or.rtl,Tr=or.tab,_r=Tr.key,Qr=Tr.tab,Kr=Tr.disabled,en=Tr.closeIcon,An=or.tabBarGutter,xn=or.tabPosition,Cn=or.closable,jn=or.renderWrapper,di=or.removeAriaLabel,Ei=or.editable,Ii=or.onClick,vi=or.onRemove,wi=or.onFocus,ri="".concat(Sr,"-tab");g.useEffect(function(){return vi},[]);var Un={};xn==="top"||xn==="bottom"?Un[Jt?"marginLeft":"marginRight"]=An:Un.marginBottom=An;var ci=Ei&&Cn!==!1&&!Kr;function mi(fi){if(Kr)return;Ii(fi)}function Ki(fi){fi.preventDefault(),fi.stopPropagation(),Ei.onEdit("remove",{key:_r,event:fi})}var ii=g.createElement("div",{key:_r,ref:br,className:a()(ri,(Mr={},Object(h.a)(Mr,"".concat(ri,"-with-remove"),ci),Object(h.a)(Mr,"".concat(ri,"-active"),fr),Object(h.a)(Mr,"".concat(ri,"-disabled"),Kr),Mr)),style:Un,onClick:mi},g.createElement("div",{role:"tab","aria-selected":fr,id:Wt&&"".concat(Wt,"-tab-").concat(_r),className:"".concat(ri,"-btn"),"aria-controls":Wt&&"".concat(Wt,"-panel-").concat(_r),"aria-disabled":Kr,tabIndex:Kr?null:0,onClick:function(pi){pi.stopPropagation(),mi(pi)},onKeyDown:function(pi){[v.a.SPACE,v.a.ENTER].includes(pi.which)&&(pi.preventDefault(),mi(pi))},onFocus:wi},Qr),ci&&g.createElement("button",{type:"button","aria-label":di||"remove",tabIndex:0,className:"".concat(ri,"-remove"),onClick:function(pi){pi.stopPropagation(),Ki(pi)}},en||Ei.removeIcon||"\xD7"));return jn&&(ii=jn(ii)),ii}var b=g.forwardRef(x),w={width:0,height:0,left:0,top:0};function _(or,br,Mr){return Object(g.useMemo)(function(){for(var Sr,Wt=new Map,fr=br.get((Sr=or[0])===null||Sr===void 0?void 0:Sr.key)||w,Jt=fr.left+fr.width,Tr=0;Tr<or.length;Tr+=1){var _r=or[Tr].key,Qr=br.get(_r);if(!Qr){var Kr;Qr=br.get((Kr=or[Tr-1])===null||Kr===void 0?void 0:Kr.key)||w}var en=Wt.get(_r)||Object(n.a)({},Qr);en.right=Jt-en.left-en.width,Wt.set(_r,en)}return Wt},[or.map(function(Sr){return Sr.key}).join("_"),br,Mr])}var T={width:0,height:0,left:0,top:0,right:0};function S(or,br,Mr,Sr,Wt){var fr=Wt.tabs,Jt=Wt.tabPosition,Tr=Wt.rtl,_r,Qr,Kr;["top","bottom"].includes(Jt)?(_r="width",Qr=Tr?"right":"left",Kr=Math.abs(br.left)):(_r="height",Qr="top",Kr=-br.top);var en=br[_r],An=Mr[_r],xn=Sr[_r],Cn=en;return An+xn>en&&(Cn=en-xn),Object(g.useMemo)(function(){if(!fr.length)return[0,0];for(var jn=fr.length,di=jn,Ei=0;Ei<jn;Ei+=1){var Ii=or.get(fr[Ei].key)||T;if(Ii[Qr]+Ii[_r]>Kr+Cn){di=Ei-1;break}}for(var vi=0,wi=jn-1;wi>=0;wi-=1){var ri=or.get(fr[wi].key)||T;if(ri[Qr]<Kr){vi=wi+1;break}}return[vi,di]},[or,Kr,Cn,Jt,fr.map(function(jn){return jn.key}).join("_"),Tr])}var E=r("wx14"),I=r("1OyB"),O=r("vuIU"),F=r("JX7q"),k=r("Ji7U"),M=r("LK+K"),P=r("I8Z2"),V=r("bT9E"),D=r("2GS6"),H=r("Gytx"),U=r.n(H),z=r("U8pU"),K=/iPhone/i,G=/iPod/i,X=/iPad/i,Z=/\bAndroid(?:.+)Mobile\b/i,ee=/Android/i,Se=/\bAndroid(?:.+)SD4930UR\b/i,$=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,pe=/Windows Phone/i,xe=/\bWindows(?:.+)ARM\b/i,_e=/BlackBerry/i,Ue=/BB10/i,ye=/Opera Mini/i,Be=/\b(CriOS|Chrome)(?:.+)Mobile/i,Q=/Mobile(?:.+)Firefox\b/i;function ie(or,br){return or.test(br)}function Ve(or){var br=or||(typeof navigator!="undefined"?navigator.userAgent:""),Mr=(br||"").split("[FBAN");if(typeof Mr[1]!="undefined"){var Sr=Mr,Wt=Object(c.a)(Sr,1);br=Wt[0]}if(Mr=br.split("Twitter"),typeof Mr[1]!="undefined"){var fr=Mr,Jt=Object(c.a)(fr,1);br=Jt[0]}var Tr={apple:{phone:ie(K,br)&&!ie(pe,br),ipod:ie(G,br),tablet:!ie(K,br)&&ie(X,br)&&!ie(pe,br),device:(ie(K,br)||ie(G,br)||ie(X,br))&&!ie(pe,br)},amazon:{phone:ie(Se,br),tablet:!ie(Se,br)&&ie($,br),device:ie(Se,br)||ie($,br)},android:{phone:!ie(pe,br)&&ie(Se,br)||!ie(pe,br)&&ie(Z,br),tablet:!ie(pe,br)&&!ie(Se,br)&&!ie(Z,br)&&(ie($,br)||ie(ee,br)),device:!ie(pe,br)&&(ie(Se,br)||ie($,br)||ie(Z,br)||ie(ee,br))||ie(/\bokhttp\b/i,br)},windows:{phone:ie(pe,br),tablet:ie(xe,br),device:ie(pe,br)||ie(xe,br)},other:{blackberry:ie(_e,br),blackberry10:ie(Ue,br),opera:ie(ye,br),firefox:ie(Q,br),chrome:ie(Be,br),device:ie(_e,br)||ie(Ue,br)||ie(ye,br)||ie(Q,br)||ie(Be,br)},any:null,phone:null,tablet:null};return Tr.any=Tr.apple.device||Tr.android.device||Tr.windows.device||Tr.other.device,Tr.phone=Tr.apple.phone||Tr.android.phone||Tr.windows.phone,Tr.tablet=Tr.apple.tablet||Tr.android.tablet||Tr.windows.tablet,Tr}var J=Object(n.a)(Object(n.a)({},Ve()),{},{isMobile:Ve}),W=J;function j(){}function Y(or,br,Mr){var Sr=br||"";return or.key||"".concat(Sr,"item_").concat(Mr)}function me(or){return"".concat(or,"-menu-")}function ae(or,br){var Mr=-1;g.Children.forEach(or,function(Sr){Mr+=1,Sr&&Sr.type&&Sr.type.isMenuItemGroup?g.Children.forEach(Sr.props.children,function(Wt){Mr+=1,br(Wt,Mr)}):br(Sr,Mr)})}function Le(or,br,Mr){if(!or||Mr.find)return;g.Children.forEach(or,function(Sr){if(Sr){var Wt=Sr.type;if(!Wt||!(Wt.isSubMenu||Wt.isMenuItem||Wt.isMenuItemGroup))return;br.indexOf(Sr.key)!==-1?Mr.find=!0:Sr.props.children&&Le(Sr.props.children,br,Mr)}})}var Ee=["defaultSelectedKeys","selectedKeys","defaultOpenKeys","openKeys","mode","getPopupContainer","onSelect","onDeselect","onDestroy","openTransitionName","openAnimation","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","triggerSubMenuAction","level","selectable","multiple","onOpenChange","visible","focusable","defaultActiveFirst","prefixCls","inlineIndent","parentMenu","title","rootPrefixCls","eventKey","active","onItemHover","onTitleMouseEnter","onTitleMouseLeave","onTitleClick","popupAlign","popupOffset","isOpen","renderMenuItem","manualRef","subMenuKey","disabled","index","isSelected","store","activeKey","builtinPlacements","overflowedIndicator","motion","attribute","value","popupClassName","inlineCollapsed","menu","theme","itemIcon","expandIcon"],ne=function(br){var Mr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Sr=br&&typeof br.getBoundingClientRect=="function"&&br.getBoundingClientRect().width;if(Sr){if(Mr){var Wt=getComputedStyle(br),fr=Wt.marginLeft,Jt=Wt.marginRight;Sr+=+fr.replace("px","")+ +Jt.replace("px","")}Sr=+Sr.toFixed(6)}return Sr||0},ge=function(br,Mr,Sr){br&&Object(z.a)(br.style)==="object"&&(br.style[Mr]=Sr)},Ie=function(){return W.any},Ge=r("bdgK"),ut=r("i8i4"),wt=r.n(ut),Pe=r("wgJM"),Dt=r("l4aY"),et=r("m+aA"),_t=r("c+Xe"),Nt=r("zT1h"),Bt=r("QC+M");function Ft(or,br,Mr){return Mr?or[0]===br[0]:or[0]===br[0]&&or[1]===br[1]}function Gt(or,br,Mr){var Sr=or[br]||{};return Object(n.a)(Object(n.a)({},Sr),Mr)}function qe(or,br,Mr,Sr){for(var Wt=Mr.points,fr=Object.keys(or),Jt=0;Jt<fr.length;Jt+=1){var Tr=fr[Jt];if(Ft(or[Tr].points,Wt,Sr))return"".concat(br,"-placement-").concat(Tr)}return""}var we=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var or=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(or)||/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(or==null?void 0:or.substr(0,4)))},ue=r("MNnm");function vt(or,br){var Mr={};return Mr[or.toLowerCase()]=br.toLowerCase(),Mr["Webkit".concat(or)]="webkit".concat(br),Mr["Moz".concat(or)]="moz".concat(br),Mr["ms".concat(or)]="MS".concat(br),Mr["O".concat(or)]="o".concat(br.toLowerCase()),Mr}function at(or,br){var Mr={animationend:vt("Animation","AnimationEnd"),transitionend:vt("Transition","TransitionEnd")};return or&&("AnimationEvent"in br||delete Mr.animationend.animation,"TransitionEvent"in br||delete Mr.transitionend.transition),Mr}var Ae=at(Object(ue.a)(),typeof window!="undefined"?window:{}),Xt={};if(Object(ue.a)()){var Ot=document.createElement("div");Xt=Ot.style}var rt={};function Et(or){if(rt[or])return rt[or];var br=Ae[or];if(br)for(var Mr=Object.keys(br),Sr=Mr.length,Wt=0;Wt<Sr;Wt+=1){var fr=Mr[Wt];if(Object.prototype.hasOwnProperty.call(br,fr)&&fr in Xt)return rt[or]=br[fr],rt[or]}return""}var Zt=Et("animationend"),vr=Et("transitionend"),mt=!!(Zt&&vr),ce=Zt||"animationend",le=vr||"transitionend";function oe(or,br){if(!or)return null;if(Object(z.a)(or)==="object"){var Mr=br.replace(/-\w/g,function(Sr){return Sr[1].toUpperCase()});return or[Mr]}return"".concat(or,"-").concat(br)}var fe="none",De="appear",He="enter",je="leave",We="none",nt="prepare",xt="start",It="active",ir="end";function Me(or){var br=Object(g.useRef)(!1),Mr=Object(g.useState)(or),Sr=Object(c.a)(Mr,2),Wt=Sr[0],fr=Sr[1];function Jt(Tr){br.current||fr(Tr)}return Object(g.useEffect)(function(){return function(){br.current=!0}},[]),[Wt,Jt]}var ke=Object(ue.a)()?g.useLayoutEffect:g.useEffect,re=ke,be=function(){var or=g.useRef(null);function br(){Pe.a.cancel(or.current)}function Mr(Sr){var Wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;br();var fr=Object(Pe.a)(function(){Wt<=1?Sr({isCanceled:function(){return fr!==or.current}}):Mr(Sr,Wt-1)});or.current=fr}return g.useEffect(function(){return function(){br()}},[]),[Mr,br]},Ne=[nt,xt,It,ir],Ke=!1,Qe=!0;function ct(or){return or===It||or===ir}var Lt=function(or,br){var Mr=g.useState(We),Sr=Object(c.a)(Mr,2),Wt=Sr[0],fr=Sr[1],Jt=be(),Tr=Object(c.a)(Jt,2),_r=Tr[0],Qr=Tr[1];function Kr(){fr(nt)}return re(function(){if(Wt!==We&&Wt!==ir){var en=Ne.indexOf(Wt),An=Ne[en+1],xn=br(Wt);xn===Ke?fr(An):_r(function(Cn){function jn(){if(Cn.isCanceled())return;fr(An)}xn===!0?jn():Promise.resolve(xn).then(jn)})}},[or,Wt]),g.useEffect(function(){return function(){Qr()}},[]),[Kr,Wt]},rr=function(or){var br=Object(g.useRef)(),Mr=Object(g.useRef)(or);Mr.current=or;var Sr=g.useCallback(function(Jt){Mr.current(Jt)},[]);function Wt(Jt){Jt&&(Jt.removeEventListener(le,Sr),Jt.removeEventListener(ce,Sr))}function fr(Jt){br.current&&br.current!==Jt&&Wt(br.current),Jt&&Jt!==br.current&&(Jt.addEventListener(le,Sr),Jt.addEventListener(ce,Sr),br.current=Jt)}return g.useEffect(function(){return function(){Wt(br.current)}},[]),[fr,Wt]};function dr(or,br,Mr,Sr){var Wt=Sr.motionEnter,fr=Wt===void 0?!0:Wt,Jt=Sr.motionAppear,Tr=Jt===void 0?!0:Jt,_r=Sr.motionLeave,Qr=_r===void 0?!0:_r,Kr=Sr.motionDeadline,en=Sr.motionLeaveImmediately,An=Sr.onAppearPrepare,xn=Sr.onEnterPrepare,Cn=Sr.onLeavePrepare,jn=Sr.onAppearStart,di=Sr.onEnterStart,Ei=Sr.onLeaveStart,Ii=Sr.onAppearActive,vi=Sr.onEnterActive,wi=Sr.onLeaveActive,ri=Sr.onAppearEnd,Un=Sr.onEnterEnd,ci=Sr.onLeaveEnd,mi=Sr.onVisibleChanged,Ki=Me(),ii=Object(c.a)(Ki,2),fi=ii[0],pi=ii[1],ra=Me(fe),ki=Object(c.a)(ra,2),Zn=ki[0],Si=ki[1],Yi=Me(null),Pi=Object(c.a)(Yi,2),Ci=Pi[0],bi=Pi[1],wa=Object(g.useRef)(!1),Zi=Object(g.useRef)(null),ha=Object(g.useRef)(!1),Ia=Object(g.useRef)(null);function xi(){var Aa=Mr();return Aa||Ia.current}var Ba=Object(g.useRef)(!1);function oa(Aa){var Ji=xi();if(Aa&&!Aa.deadline&&Aa.target!==Ji)return;var La;Zn===De&&Ba.current?La=ri==null?void 0:ri(Ji,Aa):Zn===He&&Ba.current?La=Un==null?void 0:Un(Ji,Aa):Zn===je&&Ba.current&&(La=ci==null?void 0:ci(Ji,Aa)),La!==!1&&!ha.current&&(Si(fe),bi(null))}var qi=rr(oa),ga=Object(c.a)(qi,1),na=ga[0],ca=g.useMemo(function(){var Aa,Ji,La;switch(Zn){case"appear":return Aa={},Object(h.a)(Aa,nt,An),Object(h.a)(Aa,xt,jn),Object(h.a)(Aa,It,Ii),Aa;case"enter":return Ji={},Object(h.a)(Ji,nt,xn),Object(h.a)(Ji,xt,di),Object(h.a)(Ji,It,vi),Ji;case"leave":return La={},Object(h.a)(La,nt,Cn),Object(h.a)(La,xt,Ei),Object(h.a)(La,It,wi),La;default:return{}}},[Zn]),Wa=Lt(Zn,function(Aa){if(Aa===nt){var Ji=ca[nt];return Ji?Ji(xi()):Ke}if(Fa in ca){var La;bi(((La=ca[Fa])===null||La===void 0?void 0:La.call(ca,xi(),null))||null)}return Fa===It&&(na(xi()),Kr>0&&(clearTimeout(Zi.current),Zi.current=setTimeout(function(){oa({deadline:!0})},Kr))),Qe}),Pa=Object(c.a)(Wa,2),ro=Pa[0],Fa=Pa[1],Ua=ct(Fa);Ba.current=Ua,re(function(){pi(br);var Aa=wa.current;if(wa.current=!0,!or)return;var Ji;!Aa&&br&&Tr&&(Ji=De),Aa&&br&&fr&&(Ji=He),(Aa&&!br&&Qr||!Aa&&en&&!br&&Qr)&&(Ji=je),Ji&&(Si(Ji),ro())},[br]),Object(g.useEffect)(function(){(Zn===De&&!Tr||Zn===He&&!fr||Zn===je&&!Qr)&&Si(fe)},[Tr,fr,Qr]),Object(g.useEffect)(function(){return function(){clearTimeout(Zi.current),ha.current=!0}},[]),Object(g.useEffect)(function(){fi!==void 0&&Zn===fe&&(mi==null||mi(fi))},[fi,Zn]);var Ya=Ci;return ca[nt]&&Fa===xt&&(Ya=Object(n.a)({transition:"none"},Ya)),[Zn,Fa,Ya,fi!=null?fi:br]}var Pt=function(or){Object(k.a)(Mr,or);var br=Object(M.a)(Mr);function Mr(){return Object(I.a)(this,Mr),br.apply(this,arguments)}return Object(O.a)(Mr,[{key:"render",value:function(){return this.props.children}}]),Mr}(g.Component),jt=Pt;function Ct(or){var br=or;Object(z.a)(or)==="object"&&(br=or.transitionSupport);function Mr(Wt){return!!(Wt.motionName&&br)}var Sr=g.forwardRef(function(Wt,fr){var Jt=Wt.visible,Tr=Jt===void 0?!0:Jt,_r=Wt.removeOnLeave,Qr=_r===void 0?!0:_r,Kr=Wt.forceRender,en=Wt.children,An=Wt.motionName,xn=Wt.leavedClassName,Cn=Wt.eventProps,jn=Mr(Wt),di=Object(g.useRef)(),Ei=Object(g.useRef)();function Ii(){try{return Object(et.a)(di.current||Ei.current)}catch(Si){return null}}var vi=dr(jn,Tr,Ii,Wt),wi=Object(c.a)(vi,4),ri=wi[0],Un=wi[1],ci=wi[2],mi=wi[3],Ki=g.useRef(mi);mi&&(Ki.current=!0);var ii=Object(g.useRef)(fr);ii.current=fr;var fi=g.useCallback(function(Si){di.current=Si,Object(_t.b)(ii.current,Si)},[]),pi,ra=Object(n.a)(Object(n.a)({},Cn),{},{visible:Tr});if(!en)pi=null;else if(ri===fe||!Mr(Wt))mi?pi=en(Object(n.a)({},ra),fi):!Qr&&Ki.current?pi=en(Object(n.a)(Object(n.a)({},ra),{},{className:xn}),fi):Kr?pi=en(Object(n.a)(Object(n.a)({},ra),{},{style:{display:"none"}}),fi):pi=null;else{var ki,Zn;Un===nt?Zn="prepare":ct(Un)?Zn="active":Un===xt&&(Zn="start"),pi=en(Object(n.a)(Object(n.a)({},ra),{},{className:a()(oe(An,ri),(ki={},Object(h.a)(ki,oe(An,"".concat(ri,"-").concat(Zn)),Zn),Object(h.a)(ki,An,typeof An=="string"),ki)),style:ci}),fi)}return g.createElement(jt,{ref:Ei},pi)});return Sr.displayName="CSSMotion",Sr}var Rt=Ct(mt),pt="add",ot="keep",gt="remove",Ye="removed";function $e(or){var br;return or&&Object(z.a)(or)==="object"&&"key"in or?br=or:br={key:or},Object(n.a)(Object(n.a)({},br),{},{key:String(br.key)})}function Je(){var or=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return or.map($e)}function it(){var or=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],br=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Mr=[],Sr=0,Wt=br.length,fr=Je(or),Jt=Je(br);fr.forEach(function(Qr){for(var Kr=!1,en=Sr;en<Wt;en+=1){var An=Jt[en];if(An.key===Qr.key){Sr<en&&(Mr=Mr.concat(Jt.slice(Sr,en).map(function(xn){return Object(n.a)(Object(n.a)({},xn),{},{status:pt})})),Sr=en),Mr.push(Object(n.a)(Object(n.a)({},An),{},{status:ot})),Sr+=1,Kr=!0;break}}Kr||Mr.push(Object(n.a)(Object(n.a)({},Qr),{},{status:gt}))}),Sr<Wt&&(Mr=Mr.concat(Jt.slice(Sr).map(function(Qr){return Object(n.a)(Object(n.a)({},Qr),{},{status:pt})})));var Tr={};Mr.forEach(function(Qr){var Kr=Qr.key;Tr[Kr]=(Tr[Kr]||0)+1});var _r=Object.keys(Tr).filter(function(Qr){return Tr[Qr]>1});return _r.forEach(function(Qr){Mr=Mr.filter(function(Kr){var en=Kr.key,An=Kr.status;return en!==Qr||An!==gt}),Mr.forEach(function(Kr){Kr.key===Qr&&(Kr.status=ot)})}),Mr}var ft=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function ht(or){var br=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Rt,Mr=function(Sr){Object(k.a)(fr,Sr);var Wt=Object(M.a)(fr);function fr(){var Jt;return Object(I.a)(this,fr),Jt=Wt.apply(this,arguments),Jt.state={keyEntities:[]},Jt.removeKey=function(Tr){Jt.setState(function(_r){var Qr=_r.keyEntities;return{keyEntities:Qr.map(function(Kr){return Kr.key!==Tr?Kr:Object(n.a)(Object(n.a)({},Kr),{},{status:Ye})})}})},Jt}return Object(O.a)(fr,[{key:"render",value:function(){var Tr=this,_r=this.state.keyEntities,Qr=this.props,Kr=Qr.component,en=Qr.children,An=Qr.onVisibleChanged,xn=Object(o.a)(Qr,["component","children","onVisibleChanged"]),Cn=Kr||g.Fragment,jn={};return ft.forEach(function(di){jn[di]=xn[di],delete xn[di]}),delete xn.keys,g.createElement(Cn,xn,_r.map(function(di){var Ei=di.status,Ii=Object(o.a)(di,["status"]),vi=Ei===pt||Ei===ot;return g.createElement(br,Object(E.a)({},jn,{key:Ii.key,visible:vi,eventProps:Ii,onVisibleChanged:function(ri){An==null||An(ri,{key:Ii.key}),ri||Tr.removeKey(Ii.key)}}),en)}))}}],[{key:"getDerivedStateFromProps",value:function(Tr,_r){var Qr=Tr.keys,Kr=_r.keyEntities,en=Je(Qr),An=it(Kr,en);return{keyEntities:An.filter(function(xn){var Cn=Kr.find(function(jn){var di=jn.key;return xn.key===di});return!(Cn&&Cn.status===Ye&&xn.status===gt)})}}}]),fr}(g.Component);return Mr.defaultProps={component:"div"},Mr}var st=ht(mt),kt=Rt;function Tt(or){var br=or.prefixCls,Mr=or.motion,Sr=or.animation,Wt=or.transitionName;return Mr||(Sr?{motionName:"".concat(br,"-").concat(Sr)}:Wt?{motionName:Wt}:null)}function ar(or){var br=or.prefixCls,Mr=or.visible,Sr=or.zIndex,Wt=or.mask,fr=or.maskMotion,Jt=or.maskAnimation,Tr=or.maskTransitionName;if(!Wt)return null;var _r={};return(fr||Tr||Jt)&&(_r=Object(n.a)({motionAppear:!0},Tt({motion:fr,prefixCls:br,transitionName:Tr,animation:Jt}))),g.createElement(kt,Object(E.a)({},_r,{visible:Mr,removeOnLeave:!0}),function(Qr){var Kr=Qr.className;return g.createElement("div",{style:{zIndex:Sr},className:a()("".concat(br,"-mask"),Kr)})})}var Qt=r("9mu1"),Er=r("o0o1"),Ir=r.n(Er),jr=r("HaE+"),zr=["measure","align",null,"motion"],hn=function(or,br){var Mr=Object(g.useState)(null),Sr=Object(c.a)(Mr,2),Wt=Sr[0],fr=Sr[1],Jt=Object(g.useRef)(),Tr=Object(g.useRef)(!1);function _r(en){Tr.current||fr(en)}function Qr(){Pe.a.cancel(Jt.current)}function Kr(en){Qr(),Jt.current=Object(Pe.a)(function(){_r(function(An){switch(Wt){case"align":return"motion";case"motion":return"stable";default:}return An}),en==null||en()})}return Object(g.useEffect)(function(){_r("measure")},[or]),Object(g.useEffect)(function(){switch(Wt){case"measure":br();break;default:}Wt&&(Jt.current=Object(Pe.a)(Object(jr.a)(Ir.a.mark(function en(){var An,xn;return Ir.a.wrap(function(jn){for(;;)switch(jn.prev=jn.next){case 0:An=zr.indexOf(Wt),xn=zr[An+1],xn&&An!==-1&&_r(xn);case 3:case"end":return jn.stop()}},en)}))))},[Wt]),Object(g.useEffect)(function(){return function(){Tr.current=!0,Qr()}},[]),[Wt,Kr]},gn=function(or){var br=g.useState({width:0,height:0}),Mr=Object(c.a)(br,2),Sr=Mr[0],Wt=Mr[1];function fr(Tr){Wt({width:Tr.offsetWidth,height:Tr.offsetHeight})}var Jt=g.useMemo(function(){var Tr={};if(or){var _r=Sr.width,Qr=Sr.height;or.indexOf("height")!==-1&&Qr?Tr.height=Qr:or.indexOf("minHeight")!==-1&&Qr&&(Tr.minHeight=Qr),or.indexOf("width")!==-1&&_r?Tr.width=_r:or.indexOf("minWidth")!==-1&&_r&&(Tr.minWidth=_r)}return Tr},[or,Sr]);return[Jt,fr]},Br=g.forwardRef(function(or,br){var Mr=or.visible,Sr=or.prefixCls,Wt=or.className,fr=or.style,Jt=or.children,Tr=or.zIndex,_r=or.stretch,Qr=or.destroyPopupOnHide,Kr=or.forceRender,en=or.align,An=or.point,xn=or.getRootDomNode,Cn=or.getClassNameFromAlign,jn=or.onAlign,di=or.onMouseEnter,Ei=or.onMouseLeave,Ii=or.onMouseDown,vi=or.onTouchStart,wi=Object(g.useRef)(),ri=Object(g.useRef)(),Un=Object(g.useState)(),ci=Object(c.a)(Un,2),mi=ci[0],Ki=ci[1],ii=gn(_r),fi=Object(c.a)(ii,2),pi=fi[0],ra=fi[1];function ki(){_r&&ra(xn())}var Zn=hn(Mr,ki),Si=Object(c.a)(Zn,2),Yi=Si[0],Pi=Si[1],Ci=Object(g.useRef)();function bi(){return An||xn}function wa(){var qi;(qi=wi.current)===null||qi===void 0||qi.forceAlign()}function Zi(qi,ga){var na=Cn(ga);mi!==na&&Ki(na),Yi==="align"&&(mi!==na?Promise.resolve().then(function(){wa()}):Pi(function(){var ca;(ca=Ci.current)===null||ca===void 0||ca.call(Ci)}),jn==null||jn(qi,ga))}var ha=Object(n.a)({},Tt(or));["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(qi){var ga=ha[qi];ha[qi]=function(na,ca){return Pi(),ga==null?void 0:ga(na,ca)}});function Ia(){return new Promise(function(qi){Ci.current=qi})}g.useEffect(function(){!ha.motionName&&Yi==="motion"&&Pi()},[ha.motionName,Yi]),g.useImperativeHandle(br,function(){return{forceAlign:wa,getElement:function(){return ri.current}}});var xi=Object(n.a)(Object(n.a)({},pi),{},{zIndex:Tr,opacity:Yi==="motion"||Yi==="stable"||!Mr?void 0:0,pointerEvents:Yi==="stable"?void 0:"none"},fr),Ba=!0;(en==null?void 0:en.points)&&(Yi==="align"||Yi==="stable")&&(Ba=!1);var oa=Jt;return g.Children.count(Jt)>1&&(oa=g.createElement("div",{className:"".concat(Sr,"-content")},Jt)),g.createElement(kt,Object(E.a)({visible:Mr,ref:ri,leavedClassName:"".concat(Sr,"-hidden")},ha,{onAppearPrepare:Ia,onEnterPrepare:Ia,removeOnLeave:Qr,forceRender:Kr}),function(qi,ga){var na=qi.className,ca=qi.style,Wa=a()(Sr,Wt,mi,na);return g.createElement(Qt.a,{target:bi(),key:"popup",ref:wi,monitorWindowResize:!0,disabled:Ba,align:en,onAlign:Zi},g.createElement("div",{ref:ga,className:Wa,onMouseEnter:di,onMouseLeave:Ei,onMouseDownCapture:Ii,onTouchStartCapture:vi,style:Object(n.a)(Object(n.a)({},ca),xi)},oa))})});Br.displayName="PopupInner";var ln=Br,Xr=g.forwardRef(function(or,br){var Mr=or.prefixCls,Sr=or.visible,Wt=or.zIndex,fr=or.children,Jt=or.mobile;Jt=Jt===void 0?{}:Jt;var Tr=Jt.popupClassName,_r=Jt.popupStyle,Qr=Jt.popupMotion,Kr=Qr===void 0?{}:Qr,en=Jt.popupRender,An=g.useRef();g.useImperativeHandle(br,function(){return{forceAlign:function(){},getElement:function(){return An.current}}});var xn=Object(n.a)({zIndex:Wt},_r),Cn=fr;return g.Children.count(fr)>1&&(Cn=g.createElement("div",{className:"".concat(Mr,"-content")},fr)),en&&(Cn=en(Cn)),g.createElement(kt,Object(E.a)({visible:Sr,ref:An,removeOnLeave:!0},Kr),function(jn,di){var Ei=jn.className,Ii=jn.style,vi=a()(Mr,Tr,Ei);return g.createElement("div",{ref:di,className:vi,style:Object(n.a)(Object(n.a)({},Ii),xn)},Cn)})});Xr.displayName="MobilePopupInner";var cr=Xr,wr=["visible","mobile"],hr=g.forwardRef(function(or,br){var Mr=or.visible,Sr=or.mobile,Wt=Object(o.a)(or,wr),fr=Object(g.useState)(Mr),Jt=Object(c.a)(fr,2),Tr=Jt[0],_r=Jt[1],Qr=Object(g.useState)(!1),Kr=Object(c.a)(Qr,2),en=Kr[0],An=Kr[1],xn=Object(n.a)(Object(n.a)({},Wt),{},{visible:Tr});Object(g.useEffect)(function(){_r(Mr),Mr&&Sr&&An(we())},[Mr,Sr]);var Cn=en?g.createElement(cr,Object(E.a)({},xn,{mobile:Sr,ref:br})):g.createElement(ln,Object(E.a)({},xn,{ref:br}));return g.createElement("div",null,g.createElement(ar,xn),Cn)});hr.displayName="Popup";var Ar=hr,kr=g.createContext(null),nn=kr;function wn(){}function oi(){return""}function tn(or){return or?or.ownerDocument:window.document}var Vn=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function On(or){var br=function(Mr){Object(k.a)(Wt,Mr);var Sr=Object(M.a)(Wt);function Wt(fr){var Jt;Object(I.a)(this,Wt),Jt=Sr.call(this,fr),Jt.popupRef=g.createRef(),Jt.triggerRef=g.createRef(),Jt.attachId=void 0,Jt.clickOutsideHandler=void 0,Jt.touchOutsideHandler=void 0,Jt.contextMenuOutsideHandler1=void 0,Jt.contextMenuOutsideHandler2=void 0,Jt.mouseDownTimeout=void 0,Jt.focusTime=void 0,Jt.preClickTime=void 0,Jt.preTouchTime=void 0,Jt.delayTimer=void 0,Jt.hasPopupMouseDown=void 0,Jt.onMouseEnter=function(_r){var Qr=Jt.props.mouseEnterDelay;Jt.fireEvents("onMouseEnter",_r),Jt.delaySetPopupVisible(!0,Qr,Qr?null:_r)},Jt.onMouseMove=function(_r){Jt.fireEvents("onMouseMove",_r),Jt.setPoint(_r)},Jt.onMouseLeave=function(_r){Jt.fireEvents("onMouseLeave",_r),Jt.delaySetPopupVisible(!1,Jt.props.mouseLeaveDelay)},Jt.onPopupMouseEnter=function(){Jt.clearDelayTimer()},Jt.onPopupMouseLeave=function(_r){var Qr;if(_r.relatedTarget&&!_r.relatedTarget.setTimeout&&Object(Dt.a)((Qr=Jt.popupRef.current)===null||Qr===void 0?void 0:Qr.getElement(),_r.relatedTarget))return;Jt.delaySetPopupVisible(!1,Jt.props.mouseLeaveDelay)},Jt.onFocus=function(_r){Jt.fireEvents("onFocus",_r),Jt.clearDelayTimer(),Jt.isFocusToShow()&&(Jt.focusTime=Date.now(),Jt.delaySetPopupVisible(!0,Jt.props.focusDelay))},Jt.onMouseDown=function(_r){Jt.fireEvents("onMouseDown",_r),Jt.preClickTime=Date.now()},Jt.onTouchStart=function(_r){Jt.fireEvents("onTouchStart",_r),Jt.preTouchTime=Date.now()},Jt.onBlur=function(_r){Jt.fireEvents("onBlur",_r),Jt.clearDelayTimer(),Jt.isBlurToHide()&&Jt.delaySetPopupVisible(!1,Jt.props.blurDelay)},Jt.onContextMenu=function(_r){_r.preventDefault(),Jt.fireEvents("onContextMenu",_r),Jt.setPopupVisible(!0,_r)},Jt.onContextMenuClose=function(){Jt.isContextMenuToShow()&&Jt.close()},Jt.onClick=function(_r){if(Jt.fireEvents("onClick",_r),Jt.focusTime){var Qr;if(Jt.preClickTime&&Jt.preTouchTime?Qr=Math.min(Jt.preClickTime,Jt.preTouchTime):Jt.preClickTime?Qr=Jt.preClickTime:Jt.preTouchTime&&(Qr=Jt.preTouchTime),Math.abs(Qr-Jt.focusTime)<20)return;Jt.focusTime=0}Jt.preClickTime=0,Jt.preTouchTime=0,Jt.isClickToShow()&&(Jt.isClickToHide()||Jt.isBlurToHide())&&_r&&_r.preventDefault&&_r.preventDefault();var Kr=!Jt.state.popupVisible;(Jt.isClickToHide()&&!Kr||Kr&&Jt.isClickToShow())&&Jt.setPopupVisible(!Jt.state.popupVisible,_r)},Jt.onPopupMouseDown=function(){if(Jt.hasPopupMouseDown=!0,clearTimeout(Jt.mouseDownTimeout),Jt.mouseDownTimeout=window.setTimeout(function(){Jt.hasPopupMouseDown=!1},0),Jt.context){var _r;(_r=Jt.context).onPopupMouseDown.apply(_r,arguments)}},Jt.onDocumentClick=function(_r){if(Jt.props.mask&&!Jt.props.maskClosable)return;var Qr=_r.target,Kr=Jt.getRootDomNode(),en=Jt.getPopupDomNode();(!Object(Dt.a)(Kr,Qr)||Jt.isContextMenuOnly())&&!Object(Dt.a)(en,Qr)&&!Jt.hasPopupMouseDown&&Jt.close()},Jt.getRootDomNode=function(){var _r=Jt.props.getTriggerDOMNode;if(_r)return _r(Jt.triggerRef.current);try{var Qr=Object(et.a)(Jt.triggerRef.current);if(Qr)return Qr}catch(Kr){}return wt.a.findDOMNode(Object(F.a)(Jt))},Jt.getPopupClassNameFromAlign=function(_r){var Qr=[],Kr=Jt.props,en=Kr.popupPlacement,An=Kr.builtinPlacements,xn=Kr.prefixCls,Cn=Kr.alignPoint,jn=Kr.getPopupClassNameFromAlign;return en&&An&&Qr.push(qe(An,xn,_r,Cn)),jn&&Qr.push(jn(_r)),Qr.join(" ")},Jt.getComponent=function(){var _r=Jt.props,Qr=_r.prefixCls,Kr=_r.destroyPopupOnHide,en=_r.popupClassName,An=_r.onPopupAlign,xn=_r.popupMotion,Cn=_r.popupAnimation,jn=_r.popupTransitionName,di=_r.popupStyle,Ei=_r.mask,Ii=_r.maskAnimation,vi=_r.maskTransitionName,wi=_r.maskMotion,ri=_r.zIndex,Un=_r.popup,ci=_r.stretch,mi=_r.alignPoint,Ki=_r.mobile,ii=_r.forceRender,fi=Jt.state,pi=fi.popupVisible,ra=fi.point,ki=Jt.getPopupAlign(),Zn={};return Jt.isMouseEnterToShow()&&(Zn.onMouseEnter=Jt.onPopupMouseEnter),Jt.isMouseLeaveToHide()&&(Zn.onMouseLeave=Jt.onPopupMouseLeave),Zn.onMouseDown=Jt.onPopupMouseDown,Zn.onTouchStart=Jt.onPopupMouseDown,g.createElement(Ar,Object(E.a)({prefixCls:Qr,destroyPopupOnHide:Kr,visible:pi,point:mi&&ra,className:en,align:ki,onAlign:An,animation:Cn,getClassNameFromAlign:Jt.getPopupClassNameFromAlign},Zn,{stretch:ci,getRootDomNode:Jt.getRootDomNode,style:di,mask:Ei,zIndex:ri,transitionName:jn,maskAnimation:Ii,maskTransitionName:vi,maskMotion:wi,ref:Jt.popupRef,motion:xn,mobile:Ki,forceRender:ii}),typeof Un=="function"?Un():Un)},Jt.attachParent=function(_r){Pe.a.cancel(Jt.attachId);var Qr=Jt.props,Kr=Qr.getPopupContainer,en=Qr.getDocument,An=Jt.getRootDomNode(),xn;Kr?(An||Kr.length===0)&&(xn=Kr(An)):xn=en(Jt.getRootDomNode()).body,xn?xn.appendChild(_r):Jt.attachId=Object(Pe.a)(function(){Jt.attachParent(_r)})},Jt.getContainer=function(){var _r=Jt.props.getDocument,Qr=_r(Jt.getRootDomNode()).createElement("div");return Qr.style.position="absolute",Qr.style.top="0",Qr.style.left="0",Qr.style.width="100%",Jt.attachParent(Qr),Qr},Jt.setPoint=function(_r){var Qr=Jt.props.alignPoint;if(!Qr||!_r)return;Jt.setState({point:{pageX:_r.pageX,pageY:_r.pageY}})},Jt.handlePortalUpdate=function(){Jt.state.prevPopupVisible!==Jt.state.popupVisible&&Jt.props.afterPopupVisibleChange(Jt.state.popupVisible)},Jt.triggerContextValue={onPopupMouseDown:Jt.onPopupMouseDown};var Tr;return"popupVisible"in fr?Tr=!!fr.popupVisible:Tr=!!fr.defaultPopupVisible,Jt.state={prevPopupVisible:Tr,popupVisible:Tr},Vn.forEach(function(_r){Jt["fire".concat(_r)]=function(Qr){Jt.fireEvents(_r,Qr)}}),Jt}return Object(O.a)(Wt,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var Jt=this.props,Tr=this.state;if(Tr.popupVisible){var _r;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(_r=Jt.getDocument(this.getRootDomNode()),this.clickOutsideHandler=Object(Nt.a)(_r,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(_r=_r||Jt.getDocument(this.getRootDomNode()),this.touchOutsideHandler=Object(Nt.a)(_r,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(_r=_r||Jt.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=Object(Nt.a)(_r,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Object(Nt.a)(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),Pe.a.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var Jt;return((Jt=this.popupRef.current)===null||Jt===void 0?void 0:Jt.getElement())||null}},{key:"getPopupAlign",value:function(){var Jt=this.props,Tr=Jt.popupPlacement,_r=Jt.popupAlign,Qr=Jt.builtinPlacements;return Tr&&Qr?Gt(Qr,Tr,_r):_r}},{key:"setPopupVisible",value:function(Jt,Tr){var _r=this.props.alignPoint,Qr=this.state.popupVisible;this.clearDelayTimer(),Qr!==Jt&&("popupVisible"in this.props||this.setState({popupVisible:Jt,prevPopupVisible:Qr}),this.props.onPopupVisibleChange(Jt)),_r&&Tr&&Jt&&this.setPoint(Tr)}},{key:"delaySetPopupVisible",value:function(Jt,Tr,_r){var Qr=this,Kr=Tr*1e3;if(this.clearDelayTimer(),Kr){var en=_r?{pageX:_r.pageX,pageY:_r.pageY}:null;this.delayTimer=window.setTimeout(function(){Qr.setPopupVisible(Jt,en),Qr.clearDelayTimer()},Kr)}else this.setPopupVisible(Jt,_r)}},{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(Jt){var Tr=this.props.children.props,_r=this.props;return Tr[Jt]&&_r[Jt]?this["fire".concat(Jt)]:Tr[Jt]||_r[Jt]}},{key:"isClickToShow",value:function(){var Jt=this.props,Tr=Jt.action,_r=Jt.showAction;return Tr.indexOf("click")!==-1||_r.indexOf("click")!==-1}},{key:"isContextMenuOnly",value:function(){var Jt=this.props.action;return Jt==="contextMenu"||Jt.length===1&&Jt[0]==="contextMenu"}},{key:"isContextMenuToShow",value:function(){var Jt=this.props,Tr=Jt.action,_r=Jt.showAction;return Tr.indexOf("contextMenu")!==-1||_r.indexOf("contextMenu")!==-1}},{key:"isClickToHide",value:function(){var Jt=this.props,Tr=Jt.action,_r=Jt.hideAction;return Tr.indexOf("click")!==-1||_r.indexOf("click")!==-1}},{key:"isMouseEnterToShow",value:function(){var Jt=this.props,Tr=Jt.action,_r=Jt.showAction;return Tr.indexOf("hover")!==-1||_r.indexOf("mouseEnter")!==-1}},{key:"isMouseLeaveToHide",value:function(){var Jt=this.props,Tr=Jt.action,_r=Jt.hideAction;return Tr.indexOf("hover")!==-1||_r.indexOf("mouseLeave")!==-1}},{key:"isFocusToShow",value:function(){var Jt=this.props,Tr=Jt.action,_r=Jt.showAction;return Tr.indexOf("focus")!==-1||_r.indexOf("focus")!==-1}},{key:"isBlurToHide",value:function(){var Jt=this.props,Tr=Jt.action,_r=Jt.hideAction;return Tr.indexOf("focus")!==-1||_r.indexOf("blur")!==-1}},{key:"forcePopupAlign",value:function(){if(this.state.popupVisible){var Jt;(Jt=this.popupRef.current)===null||Jt===void 0||Jt.forceAlign()}}},{key:"fireEvents",value:function(Jt,Tr){var _r=this.props.children.props[Jt];_r&&_r(Tr);var Qr=this.props[Jt];Qr&&Qr(Tr)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var Jt=this.state.popupVisible,Tr=this.props,_r=Tr.children,Qr=Tr.forceRender,Kr=Tr.alignPoint,en=Tr.className,An=Tr.autoDestroy,xn=g.Children.only(_r),Cn={key:"trigger"};this.isContextMenuToShow()?Cn.onContextMenu=this.onContextMenu:Cn.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(Cn.onClick=this.onClick,Cn.onMouseDown=this.onMouseDown,Cn.onTouchStart=this.onTouchStart):(Cn.onClick=this.createTwoChains("onClick"),Cn.onMouseDown=this.createTwoChains("onMouseDown"),Cn.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(Cn.onMouseEnter=this.onMouseEnter,Kr&&(Cn.onMouseMove=this.onMouseMove)):Cn.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?Cn.onMouseLeave=this.onMouseLeave:Cn.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(Cn.onFocus=this.onFocus,Cn.onBlur=this.onBlur):(Cn.onFocus=this.createTwoChains("onFocus"),Cn.onBlur=this.createTwoChains("onBlur"));var jn=a()(xn&&xn.props&&xn.props.className,en);jn&&(Cn.className=jn);var di=Object(n.a)({},Cn);Object(_t.c)(xn)&&(di.ref=Object(_t.a)(this.triggerRef,xn.ref));var Ei=g.cloneElement(xn,di),Ii;return(Jt||this.popupRef.current||Qr)&&(Ii=g.createElement(or,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!Jt&&An&&(Ii=null),g.createElement(nn.Provider,{value:this.triggerContextValue},Ei,Ii)}}],[{key:"getDerivedStateFromProps",value:function(Jt,Tr){var _r=Jt.popupVisible,Qr={};return _r!==void 0&&Tr.popupVisible!==_r&&(Qr.popupVisible=_r,Qr.prevPopupVisible=Tr.popupVisible),Qr}}]),Wt}(g.Component);return br.contextType=nn,br.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:oi,getDocument:tn,onPopupVisibleChange:wn,afterPopupVisibleChange:wn,onPopupAlign:wn,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},br}var $n=On(Bt.a),Qn={adjustX:1,adjustY:1},ei={topLeft:{points:["bl","tl"],overflow:Qn,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Qn,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Qn,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Qn,offset:[4,0]}},zi={topLeft:{points:["bl","tl"],overflow:Qn,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Qn,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:Qn,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:Qn,offset:[4,0]}},hi=ei,Bn=0,sn={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},ta=function(br,Mr,Sr){var Wt=me(Mr),fr=br.getState();br.setState({defaultActiveFirst:Object(n.a)(Object(n.a)({},fr.defaultActiveFirst),{},Object(h.a)({},Wt,Sr))})},ua=function(or){Object(k.a)(Mr,or);var br=Object(M.a)(Mr);function Mr(Sr){var Wt;Object(I.a)(this,Mr),Wt=br.call(this,Sr),Wt.onDestroy=function(Kr){Wt.props.onDestroy(Kr)},Wt.onKeyDown=function(Kr){var en=Kr.keyCode,An=Wt.menuInstance,xn=Wt.props.store,Cn=Wt.getVisible();if(en===v.a.ENTER)return Wt.onTitleClick(Kr),ta(xn,Wt.props.eventKey,!0),!0;if(en===v.a.RIGHT)return Cn?An.onKeyDown(Kr):(Wt.triggerOpenChange(!0),ta(xn,Wt.props.eventKey,!0)),!0;if(en===v.a.LEFT){var jn;if(Cn)jn=An.onKeyDown(Kr);else return;return jn||(Wt.triggerOpenChange(!1),jn=!0),jn}return Cn&&(en===v.a.UP||en===v.a.DOWN)?An.onKeyDown(Kr):void 0},Wt.onOpenChange=function(Kr){Wt.props.onOpenChange(Kr)},Wt.onPopupVisibleChange=function(Kr){Wt.triggerOpenChange(Kr,Kr?"mouseenter":"mouseleave")},Wt.onMouseEnter=function(Kr){var en=Wt.props,An=en.eventKey,xn=en.onMouseEnter,Cn=en.store;ta(Cn,Wt.props.eventKey,!1),xn({key:An,domEvent:Kr})},Wt.onMouseLeave=function(Kr){var en=Wt.props,An=en.parentMenu,xn=en.eventKey,Cn=en.onMouseLeave;An.subMenuInstance=Object(F.a)(Wt),Cn({key:xn,domEvent:Kr})},Wt.onTitleMouseEnter=function(Kr){var en=Wt.props,An=en.eventKey,xn=en.onItemHover,Cn=en.onTitleMouseEnter;xn({key:An,hover:!0}),Cn({key:An,domEvent:Kr})},Wt.onTitleMouseLeave=function(Kr){var en=Wt.props,An=en.parentMenu,xn=en.eventKey,Cn=en.onItemHover,jn=en.onTitleMouseLeave;An.subMenuInstance=Object(F.a)(Wt),Cn({key:xn,hover:!1}),jn({key:xn,domEvent:Kr})},Wt.onTitleClick=function(Kr){var en=Object(F.a)(Wt),An=en.props;if(An.onTitleClick({key:An.eventKey,domEvent:Kr}),An.triggerSubMenuAction==="hover")return;Wt.triggerOpenChange(!Wt.getVisible(),"click"),ta(An.store,Wt.props.eventKey,!1)},Wt.onSubMenuClick=function(Kr){typeof Wt.props.onClick=="function"&&Wt.props.onClick(Wt.addKeyPath(Kr))},Wt.onSelect=function(Kr){Wt.props.onSelect(Kr)},Wt.onDeselect=function(Kr){Wt.props.onDeselect(Kr)},Wt.getPrefixCls=function(){return"".concat(Wt.props.rootPrefixCls,"-submenu")},Wt.getActiveClassName=function(){return"".concat(Wt.getPrefixCls(),"-active")},Wt.getDisabledClassName=function(){return"".concat(Wt.getPrefixCls(),"-disabled")},Wt.getSelectedClassName=function(){return"".concat(Wt.getPrefixCls(),"-selected")},Wt.getOpenClassName=function(){return"".concat(Wt.props.rootPrefixCls,"-submenu-open")},Wt.getVisible=function(){return Wt.state.isOpen},Wt.getMode=function(){return Wt.state.mode},Wt.saveMenuInstance=function(Kr){Wt.menuInstance=Kr},Wt.addKeyPath=function(Kr){return Object(n.a)(Object(n.a)({},Kr),{},{keyPath:(Kr.keyPath||[]).concat(Wt.props.eventKey)})},Wt.triggerOpenChange=function(Kr,en){var An=Wt.props.eventKey,xn=function(){Wt.onOpenChange({key:An,item:Object(F.a)(Wt),trigger:en,open:Kr})};en==="mouseenter"?Wt.mouseenterTimeout=setTimeout(function(){xn()},0):xn()},Wt.isChildrenSelected=function(){var Kr={find:!1};return Le(Wt.props.children,Wt.props.selectedKeys,Kr),Kr.find},Wt.isInlineMode=function(){return Wt.getMode()==="inline"},Wt.adjustWidth=function(){if(!Wt.subMenuTitle||!Wt.menuInstance)return;var Kr=ut.findDOMNode(Wt.menuInstance);if(Kr.offsetWidth>=Wt.subMenuTitle.offsetWidth)return;Kr.style.minWidth="".concat(Wt.subMenuTitle.offsetWidth,"px")},Wt.saveSubMenuTitle=function(Kr){Wt.subMenuTitle=Kr},Wt.getBaseProps=function(){var Kr=Object(F.a)(Wt),en=Kr.props,An=Wt.getMode();return{mode:An==="horizontal"?"vertical":An,visible:Wt.getVisible(),level:en.level+1,inlineIndent:en.inlineIndent,focusable:!1,onClick:Wt.onSubMenuClick,onSelect:Wt.onSelect,onDeselect:Wt.onDeselect,onDestroy:Wt.onDestroy,selectedKeys:en.selectedKeys,eventKey:"".concat(en.eventKey,"-menu-"),openKeys:en.openKeys,motion:en.motion,onOpenChange:Wt.onOpenChange,subMenuOpenDelay:en.subMenuOpenDelay,parentMenu:Object(F.a)(Wt),subMenuCloseDelay:en.subMenuCloseDelay,forceSubMenuRender:en.forceSubMenuRender,triggerSubMenuAction:en.triggerSubMenuAction,builtinPlacements:en.builtinPlacements,defaultActiveFirst:en.store.getState().defaultActiveFirst[me(en.eventKey)],multiple:en.multiple,prefixCls:en.rootPrefixCls,id:Wt.internalMenuId,manualRef:Wt.saveMenuInstance,itemIcon:en.itemIcon,expandIcon:en.expandIcon,direction:en.direction}},Wt.getMotion=function(Kr,en){var An=Object(F.a)(Wt),xn=An.haveRendered,Cn=Wt.props,jn=Cn.motion,di=Cn.rootPrefixCls,Ei=Object(n.a)(Object(n.a)({},jn),{},{leavedClassName:"".concat(di,"-hidden"),removeOnLeave:!1,motionAppear:xn||!en||Kr!=="inline"});return Ei};var fr=Sr.store,Jt=Sr.eventKey,Tr=fr.getState(),_r=Tr.defaultActiveFirst;Wt.isRootMenu=!1;var Qr=!1;return _r&&(Qr=_r[Jt]),ta(fr,Jt,Qr),Wt.state={mode:Sr.mode,isOpen:Sr.isOpen},Wt}return Object(O.a)(Mr,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var Wt=this,fr=this.props,Jt=fr.mode,Tr=fr.parentMenu,_r=fr.manualRef,Qr=fr.isOpen,Kr=function(){Wt.setState({mode:Jt,isOpen:Qr})},en=Qr!==this.state.isOpen,An=Jt!==this.state.mode;if((An||en)&&(Pe.a.cancel(this.updateStateRaf),An?this.updateStateRaf=Object(Pe.a)(Kr):Kr()),_r&&_r(this),Jt!=="horizontal"||!(Tr==null?void 0:Tr.isRootMenu)||!Qr)return;this.minWidthTimeout=setTimeout(function(){return Wt.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var Wt=this.props,fr=Wt.onDestroy,Jt=Wt.eventKey;fr&&fr(Jt),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout),Pe.a.cancel(this.updateStateRaf)}},{key:"renderPopupMenu",value:function(Wt,fr){var Jt=this.getBaseProps();return g.createElement(va,Object(E.a)({},Jt,{id:this.internalMenuId,className:Wt,style:fr}),this.props.children)}},{key:"renderChildren",value:function(){var Wt=this,fr=this.getBaseProps(),Jt=fr.mode,Tr=fr.visible,_r=fr.forceSubMenuRender,Qr=fr.direction,Kr=this.getMotion(Jt,Tr);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||Tr||_r,!this.haveOpened)return g.createElement("div",null);var en=a()("".concat(fr.prefixCls,"-sub"),Object(h.a)({},"".concat(fr.prefixCls,"-rtl"),Qr==="rtl"));return this.isInlineMode()?g.createElement(kt,Object(E.a)({visible:fr.visible,forceRender:_r},Kr),function(An){var xn=An.className,Cn=An.style,jn=a()(en,xn);return Wt.renderPopupMenu(jn,Cn)}):this.renderPopupMenu(en)}},{key:"render",value:function(){var Wt,fr,Jt,Tr=Object(n.a)({},this.props),_r=this.getVisible(),Qr=this.getPrefixCls(),Kr=this.isInlineMode(),en=this.getMode(),An=a()(Qr,"".concat(Qr,"-").concat(en),(Wt={},Object(h.a)(Wt,Tr.className,!!Tr.className),Object(h.a)(Wt,this.getOpenClassName(),_r),Object(h.a)(Wt,this.getActiveClassName(),Tr.active||_r&&!Kr),Object(h.a)(Wt,this.getDisabledClassName(),Tr.disabled),Object(h.a)(Wt,this.getSelectedClassName(),this.isChildrenSelected()),Wt));this.internalMenuId||(Tr.eventKey?this.internalMenuId="".concat(Tr.eventKey,"$Menu"):(Bn+=1,this.internalMenuId="$__$".concat(Bn,"$Menu")));var xn={},Cn={},jn={};Tr.disabled||(xn={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},Cn={onClick:this.onTitleClick},jn={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var di={},Ei=Tr.direction,Ii=Ei==="rtl";Kr&&(Ii?di.paddingRight=Tr.inlineIndent*Tr.level:di.paddingLeft=Tr.inlineIndent*Tr.level);var vi={};this.getVisible()&&(vi={"aria-owns":this.internalMenuId});var wi=null;en!=="horizontal"&&(wi=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(wi=g.createElement(this.props.expandIcon,Object(n.a)({},this.props))));var ri=g.createElement("div",Object(E.a)({ref:this.saveSubMenuTitle,style:di,className:"".concat(Qr,"-title"),role:"button"},jn,Cn,{"aria-expanded":_r},vi,{"aria-haspopup":"true",title:typeof Tr.title=="string"?Tr.title:void 0}),Tr.title,wi||g.createElement("i",{className:"".concat(Qr,"-arrow")})),Un=this.renderChildren(),ci=((fr=Tr.parentMenu)===null||fr===void 0?void 0:fr.isRootMenu)?Tr.parentMenu.props.getPopupContainer:function(bi){return bi.parentNode},mi=sn[en],Ki=Tr.popupOffset?{offset:Tr.popupOffset}:{},ii=a()((Jt={},Object(h.a)(Jt,Tr.popupClassName,Tr.popupClassName&&!Kr),Object(h.a)(Jt,"".concat(Qr,"-rtl"),Ii),Jt)),fi=Tr.disabled,pi=Tr.triggerSubMenuAction,ra=Tr.subMenuOpenDelay,ki=Tr.forceSubMenuRender,Zn=Tr.subMenuCloseDelay,Si=Tr.builtinPlacements;Ee.forEach(function(bi){return delete Tr[bi]}),delete Tr.onClick;var Yi=Ii?Object(n.a)(Object(n.a)({},zi),Si):Object(n.a)(Object(n.a)({},ei),Si);delete Tr.direction;var Pi=this.getBaseProps(),Ci=Kr?null:this.getMotion(Pi.mode,Pi.visible);return g.createElement("li",Object(E.a)({},Tr,xn,{className:An,role:"menuitem"}),g.createElement($n,{prefixCls:Qr,popupClassName:a()("".concat(Qr,"-popup"),ii),getPopupContainer:ci,builtinPlacements:Yi,popupPlacement:mi,popupVisible:Kr?!1:_r,popupAlign:Ki,popup:Kr?null:Un,action:fi||Kr?[]:[pi],mouseEnterDelay:ra,mouseLeaveDelay:Zn,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:ki,popupMotion:Ci},ri),Kr?Un:null)}}]),Mr}(g.Component);ua.defaultProps={onMouseEnter:j,onMouseLeave:j,onTitleMouseEnter:j,onTitleMouseLeave:j,onTitleClick:j,manualRef:j,mode:"vertical",title:""};var fa=Object(P.b)(function(or,br){var Mr=or.openKeys,Sr=or.activeKey,Wt=or.selectedKeys,fr=br.eventKey,Jt=br.subMenuKey;return{isOpen:Mr.indexOf(fr)>-1,active:Sr[Jt]===fr,selectedKeys:Wt}})(ua);fa.isSubMenu=!0;var Bi=fa,pa="menuitem-overflowed",ui=.5,ba=function(or){Object(k.a)(Mr,or);var br=Object(M.a)(Mr);function Mr(){var Sr;return Object(I.a)(this,Mr),Sr=br.apply(this,arguments),Sr.resizeObserver=null,Sr.mutationObserver=null,Sr.originalTotalWidth=0,Sr.overflowedItems=[],Sr.menuItemSizes=[],Sr.cancelFrameId=null,Sr.state={lastVisibleIndex:void 0},Sr.childRef=g.createRef(),Sr.getMenuItemNodes=function(){var Wt=Sr.props.prefixCls,fr=Sr.childRef.current;return fr?[].slice.call(fr.children).filter(function(Jt){return Jt.className.split(" ").indexOf("".concat(Wt,"-overflowed-submenu"))<0}):[]},Sr.getOverflowedSubMenuItem=function(Wt,fr,Jt){var Tr=Sr.props,_r=Tr.overflowedIndicator,Qr=Tr.level,Kr=Tr.mode,en=Tr.prefixCls,An=Tr.theme;if(Qr!==1||Kr!=="horizontal")return null;var xn=Sr.props.children[0],Cn=xn.props,jn=Cn.children,di=Cn.title,Ei=Cn.style,Ii=Object(o.a)(Cn,["children","title","style"]),vi=Object(n.a)({},Ei),wi="".concat(Wt,"-overflowed-indicator"),ri="".concat(Wt,"-overflowed-indicator");fr.length===0&&Jt!==!0?vi=Object(n.a)(Object(n.a)({},vi),{},{display:"none"}):Jt&&(vi=Object(n.a)(Object(n.a)({},vi),{},{visibility:"hidden",position:"absolute"}),wi="".concat(wi,"-placeholder"),ri="".concat(ri,"-placeholder"));var Un=An?"".concat(en,"-").concat(An):"",ci={};return Ee.forEach(function(mi){Ii[mi]!==void 0&&(ci[mi]=Ii[mi])}),g.createElement(Bi,Object(E.a)({title:_r,className:"".concat(en,"-overflowed-submenu"),popupClassName:Un},ci,{key:wi,eventKey:ri,disabled:!1,style:vi}),fr)},Sr.setChildrenWidthAndResize=function(){if(Sr.props.mode!=="horizontal")return;var Wt=Sr.childRef.current;if(!Wt)return;var fr=Wt.children;if(!fr||fr.length===0)return;var Jt=Wt.children[fr.length-1];ge(Jt,"display","inline-block");var Tr=Sr.getMenuItemNodes(),_r=Tr.filter(function(Qr){return Qr.className.split(" ").indexOf(pa)>=0});_r.forEach(function(Qr){ge(Qr,"display","inline-block")}),Sr.menuItemSizes=Tr.map(function(Qr){return ne(Qr,!0)}),_r.forEach(function(Qr){ge(Qr,"display","none")}),Sr.overflowedIndicatorWidth=ne(Wt.children[Wt.children.length-1],!0),Sr.originalTotalWidth=Sr.menuItemSizes.reduce(function(Qr,Kr){return Qr+Kr},0),Sr.handleResize(),ge(Jt,"display","none")},Sr.handleResize=function(){if(Sr.props.mode!=="horizontal")return;var Wt=Sr.childRef.current;if(!Wt)return;var fr=ne(Wt);Sr.overflowedItems=[];var Jt=0,Tr;Sr.originalTotalWidth>fr+ui&&(Tr=-1,Sr.menuItemSizes.forEach(function(_r){Jt+=_r,Jt+Sr.overflowedIndicatorWidth<=fr&&(Tr+=1)})),Sr.setState({lastVisibleIndex:Tr})},Sr}return Object(O.a)(Mr,[{key:"componentDidMount",value:function(){var Wt=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var fr=this.childRef.current;if(!fr)return;this.resizeObserver=new Ge.default(function(Jt){Jt.forEach(function(){var Tr=Wt.cancelFrameId;cancelAnimationFrame(Tr),Wt.cancelFrameId=requestAnimationFrame(Wt.setChildrenWidthAndResize)})}),[].slice.call(fr.children).concat(fr).forEach(function(Jt){Wt.resizeObserver.observe(Jt)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){Wt.resizeObserver.disconnect(),[].slice.call(fr.children).concat(fr).forEach(function(Jt){Wt.resizeObserver.observe(Jt)}),Wt.setChildrenWidthAndResize()}),this.mutationObserver.observe(fr,{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(Wt){var fr=this,Jt=this.state.lastVisibleIndex;return(Wt||[]).reduce(function(Tr,_r,Qr){var Kr=_r;if(fr.props.mode==="horizontal"){var en=fr.getOverflowedSubMenuItem(_r.props.eventKey,[]);Jt!==void 0&&fr.props.className.indexOf("".concat(fr.props.prefixCls,"-root"))!==-1&&(Qr>Jt&&(Kr=g.cloneElement(_r,{style:{display:"none"},eventKey:"".concat(_r.props.eventKey,"-hidden"),className:"".concat(pa)})),Qr===Jt+1&&(fr.overflowedItems=Wt.slice(Jt+1).map(function(xn){return g.cloneElement(xn,{key:xn.props.eventKey,mode:"vertical-left"})}),en=fr.getOverflowedSubMenuItem(_r.props.eventKey,fr.overflowedItems)));var An=[].concat(Object(l.a)(Tr),[en,Kr]);return Qr===Wt.length-1&&An.push(fr.getOverflowedSubMenuItem(_r.props.eventKey,[],!0)),An}return[].concat(Object(l.a)(Tr),[Kr])},[])}},{key:"render",value:function(){var Wt=this.props,fr=Wt.visible,Jt=Wt.prefixCls,Tr=Wt.overflowedIndicator,_r=Wt.mode,Qr=Wt.level,Kr=Wt.tag,en=Wt.children,An=Wt.theme,xn=Object(o.a)(Wt,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),Cn=Kr;return g.createElement(Cn,Object(E.a)({ref:this.childRef},xn),this.renderChildren(en))}}]),Mr}(g.Component);ba.defaultProps={tag:"div",className:""};var Dn=ba;function Pn(or){return or.length?or.every(function(br){return!!br.props.disabled}):!0}function Yn(or,br,Mr){var Sr=or.getState();or.setState({activeKey:Object(n.a)(Object(n.a)({},Sr.activeKey),{},Object(h.a)({},br,Mr))})}function Jn(or){return or.eventKey||"0-menu-"}function ni(or,br){var Mr=br,Sr=or.children,Wt=or.eventKey;if(Mr){var fr;if(ae(Sr,function(Jt,Tr){Jt&&Jt.props&&!Jt.props.disabled&&Mr===Y(Jt,Wt,Tr)&&(fr=!0)}),fr)return Mr}return Mr=null,or.defaultActiveFirst&&ae(Sr,function(Jt,Tr){!Mr&&Jt&&!Jt.props.disabled&&(Mr=Y(Jt,Wt,Tr))}),Mr}function Fi(or){if(!or)return;var br=this.instanceArray.indexOf(or);br!==-1?this.instanceArray[br]=or:this.instanceArray.push(or)}var Hi=function(or){Object(k.a)(Mr,or);var br=Object(M.a)(Mr);function Mr(Sr){var Wt;return Object(I.a)(this,Mr),Wt=br.call(this,Sr),Wt.onKeyDown=function(fr,Jt){var Tr=fr.keyCode,_r;if(Wt.getFlatInstanceArray().forEach(function(Kr){Kr&&Kr.props.active&&Kr.onKeyDown&&(_r=Kr.onKeyDown(fr))}),_r)return 1;var Qr=null;return(Tr===v.a.UP||Tr===v.a.DOWN)&&(Qr=Wt.step(Tr===v.a.UP?-1:1)),Qr?(fr.preventDefault(),Yn(Wt.props.store,Jn(Wt.props),Qr.props.eventKey),typeof Jt=="function"&&Jt(Qr),1):void 0},Wt.onItemHover=function(fr){var Jt=fr.key,Tr=fr.hover;Yn(Wt.props.store,Jn(Wt.props),Tr?Jt:null)},Wt.onDeselect=function(fr){Wt.props.onDeselect(fr)},Wt.onSelect=function(fr){Wt.props.onSelect(fr)},Wt.onClick=function(fr){Wt.props.onClick(fr)},Wt.onOpenChange=function(fr){Wt.props.onOpenChange(fr)},Wt.onDestroy=function(fr){Wt.props.onDestroy(fr)},Wt.getFlatInstanceArray=function(){return Wt.instanceArray},Wt.step=function(fr){var Jt=Wt.getFlatInstanceArray(),Tr=Wt.props.store.getState().activeKey[Jn(Wt.props)],_r=Jt.length;if(!_r)return null;fr<0&&(Jt=Jt.concat().reverse());var Qr=-1;if(Jt.every(function(xn,Cn){return xn&&xn.props.eventKey===Tr?(Qr=Cn,!1):!0}),!Wt.props.defaultActiveFirst&&Qr!==-1&&Pn(Jt.slice(Qr,_r-1)))return;var Kr=(Qr+1)%_r,en=Kr;do{var An=Jt[en];if(!An||An.props.disabled)en=(en+1)%_r;else return An}while(en!==Kr);return null},Wt.renderCommonMenuItem=function(fr,Jt,Tr){var _r=Wt.props.store.getState(),Qr=Object(F.a)(Wt),Kr=Qr.props,en=Y(fr,Kr.eventKey,Jt),An=fr.props;if(!An||typeof fr.type=="string")return fr;var xn=en===_r.activeKey,Cn=Object(n.a)(Object(n.a)({mode:An.mode||Kr.mode,level:Kr.level,inlineIndent:Kr.inlineIndent,renderMenuItem:Wt.renderMenuItem,rootPrefixCls:Kr.prefixCls,index:Jt,parentMenu:Kr.parentMenu,manualRef:An.disabled?void 0:Object(D.a)(fr.ref,Fi.bind(Object(F.a)(Wt))),eventKey:en,active:!An.disabled&&xn,multiple:Kr.multiple,onClick:function(di){(An.onClick||j)(di),Wt.onClick(di)},onItemHover:Wt.onItemHover,motion:Kr.motion,subMenuOpenDelay:Kr.subMenuOpenDelay,subMenuCloseDelay:Kr.subMenuCloseDelay,forceSubMenuRender:Kr.forceSubMenuRender,onOpenChange:Wt.onOpenChange,onDeselect:Wt.onDeselect,onSelect:Wt.onSelect,builtinPlacements:Kr.builtinPlacements,itemIcon:An.itemIcon||Wt.props.itemIcon,expandIcon:An.expandIcon||Wt.props.expandIcon},Tr),{},{direction:Kr.direction});return(Kr.mode==="inline"||Ie())&&(Cn.triggerSubMenuAction="click"),g.cloneElement(fr,Object(n.a)(Object(n.a)({},Cn),{},{key:en||Jt}))},Wt.renderMenuItem=function(fr,Jt,Tr){if(!fr)return null;var _r=Wt.props.store.getState(),Qr={openKeys:_r.openKeys,selectedKeys:_r.selectedKeys,triggerSubMenuAction:Wt.props.triggerSubMenuAction,subMenuKey:Tr};return Wt.renderCommonMenuItem(fr,Jt,Qr)},Sr.store.setState({activeKey:Object(n.a)(Object(n.a)({},Sr.store.getState().activeKey),{},Object(h.a)({},Sr.eventKey,ni(Sr,Sr.activeKey)))}),Wt.instanceArray=[],Wt}return Object(O.a)(Mr,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(Wt){return this.props.visible||Wt.visible||this.props.className!==Wt.className||!U()(this.props.style,Wt.style)}},{key:"componentDidUpdate",value:function(Wt){var fr=this.props,Jt="activeKey"in fr?fr.activeKey:fr.store.getState().activeKey[Jn(fr)],Tr=ni(fr,Jt);if(Tr!==Jt)Yn(fr.store,Jn(fr),Tr);else if("activeKey"in Wt){var _r=ni(Wt,Wt.activeKey);Tr!==_r&&Yn(fr.store,Jn(fr),Tr)}}},{key:"render",value:function(){var Wt=this,fr=Object(E.a)({},this.props);this.instanceArray=[];var Jt=a()(fr.prefixCls,fr.className,"".concat(fr.prefixCls,"-").concat(fr.mode)),Tr={className:Jt,role:fr.role||"menu"};fr.id&&(Tr.id=fr.id),fr.focusable&&(Tr.tabIndex=0,Tr.onKeyDown=this.onKeyDown);var _r=fr.prefixCls,Qr=fr.eventKey,Kr=fr.visible,en=fr.level,An=fr.mode,xn=fr.overflowedIndicator,Cn=fr.theme;return Ee.forEach(function(jn){return delete fr[jn]}),delete fr.onClick,g.createElement(Dn,Object(E.a)({},fr,{prefixCls:_r,mode:An,tag:"ul",level:en,theme:Cn,visible:Kr,overflowedIndicator:xn},Tr),Object(d.a)(fr.children).map(function(jn,di){return Wt.renderMenuItem(jn,di,Qr||"0-menu-")}))}}]),Mr}(g.Component);Hi.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:j};var Za=Object(P.b)()(Hi),va=Za,za=r("Kwbf");function to(or,br,Mr){var Sr=or.prefixCls,Wt=or.motion,fr=or.defaultMotions,Jt=fr===void 0?{}:fr,Tr=or.openAnimation,_r=or.openTransitionName,Qr=br.switchingModeFromInline;if(Wt)return Wt;if(Object(z.a)(Tr)==="object"&&Tr)Object(za.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof Tr=="string")return{motionName:"".concat(Sr,"-open-").concat(Tr)};if(_r)return{motionName:_r};var Kr=Jt[Mr];return Kr||(Qr?null:Jt.other)}var lo=function(or){Object(k.a)(Mr,or);var br=Object(M.a)(Mr);function Mr(Sr){var Wt;Object(I.a)(this,Mr),Wt=br.call(this,Sr),Wt.onSelect=function(Tr){var _r=Object(F.a)(Wt),Qr=_r.props;if(Qr.selectable){var Kr=Wt.store.getState(),en=Kr.selectedKeys,An=Tr.key;Qr.multiple?en=en.concat([An]):en=[An],"selectedKeys"in Qr||Wt.store.setState({selectedKeys:en}),Qr.onSelect(Object(n.a)(Object(n.a)({},Tr),{},{selectedKeys:en}))}},Wt.onClick=function(Tr){var _r=Wt.getRealMenuMode(),Qr=Object(F.a)(Wt),Kr=Qr.store,en=Qr.props.onOpenChange;_r!=="inline"&&!("openKeys"in Wt.props)&&(Kr.setState({openKeys:[]}),en([])),Wt.props.onClick(Tr)},Wt.onKeyDown=function(Tr,_r){Wt.innerMenu.getWrappedInstance().onKeyDown(Tr,_r)},Wt.onOpenChange=function(Tr){var _r=Object(F.a)(Wt),Qr=_r.props,Kr=Wt.store.getState().openKeys.concat(),en=!1,An=function(Cn){var jn=!1;if(Cn.open)jn=Kr.indexOf(Cn.key)===-1,jn&&Kr.push(Cn.key);else{var di=Kr.indexOf(Cn.key);jn=di!==-1,jn&&Kr.splice(di,1)}en=en||jn};Array.isArray(Tr)?Tr.forEach(An):An(Tr),en&&("openKeys"in Wt.props||Wt.store.setState({openKeys:Kr}),Qr.onOpenChange(Kr))},Wt.onDeselect=function(Tr){var _r=Object(F.a)(Wt),Qr=_r.props;if(Qr.selectable){var Kr=Wt.store.getState().selectedKeys.concat(),en=Tr.key,An=Kr.indexOf(en);An!==-1&&Kr.splice(An,1),"selectedKeys"in Qr||Wt.store.setState({selectedKeys:Kr}),Qr.onDeselect(Object(n.a)(Object(n.a)({},Tr),{},{selectedKeys:Kr}))}},Wt.onMouseEnter=function(Tr){Wt.restoreModeVerticalFromInline();var _r=Wt.props.onMouseEnter;_r&&_r(Tr)},Wt.onTransitionEnd=function(Tr){var _r=Tr.propertyName==="width"&&Tr.target===Tr.currentTarget,Qr=Tr.target.className,Kr=Object.prototype.toString.call(Qr)==="[object SVGAnimatedString]"?Qr.animVal:Qr,en=Tr.propertyName==="font-size"&&Kr.indexOf("anticon")>=0;(_r||en)&&Wt.restoreModeVerticalFromInline()},Wt.setInnerMenu=function(Tr){Wt.innerMenu=Tr},Wt.isRootMenu=!0;var fr=Sr.defaultSelectedKeys,Jt=Sr.defaultOpenKeys;return"selectedKeys"in Sr&&(fr=Sr.selectedKeys||[]),"openKeys"in Sr&&(Jt=Sr.openKeys||[]),Wt.store=Object(P.c)({selectedKeys:fr,openKeys:Jt,activeKey:{"0-menu-":ni(Sr,Sr.activeKey)}}),Wt.state={switchingModeFromInline:!1,prevProps:Sr,inlineOpenKeys:[],store:Wt.store},Wt}return Object(O.a)(Mr,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(Wt){var fr=this.props,Jt=fr.siderCollapsed,Tr=fr.inlineCollapsed,_r=fr.onOpenChange;(!Wt.inlineCollapsed&&Tr||!Wt.siderCollapsed&&Jt)&&_r([]),this.updateMiniStore(),this.updateMenuDisplay()}},{key:"updateMenuDisplay",value:function(){var Wt=this.props.collapsedWidth,fr=this.store,Jt=this.prevOpenKeys,Tr=this.getInlineCollapsed()&&(Wt===0||Wt==="0"||Wt==="0px");Tr?(this.prevOpenKeys=fr.getState().openKeys.concat(),this.store.setState({openKeys:[]})):Jt&&(this.store.setState({openKeys:Jt}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var Wt=this.props.mode,fr=this.state.switchingModeFromInline,Jt=this.getInlineCollapsed();return fr&&Jt?"inline":Jt?"vertical":Wt}},{key:"getInlineCollapsed",value:function(){var Wt=this.props,fr=Wt.inlineCollapsed,Jt=Wt.siderCollapsed;return Jt!==void 0?Jt:fr}},{key:"restoreModeVerticalFromInline",value:function(){var Wt=this.state.switchingModeFromInline;Wt&&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 Wt=Object(n.a)({},Object(V.a)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),fr=this.getRealMenuMode();return Wt.className+=" ".concat(Wt.prefixCls,"-root"),Wt.direction==="rtl"&&(Wt.className+=" ".concat(Wt.prefixCls,"-rtl")),Wt=Object(n.a)(Object(n.a)({},Wt),{},{mode:fr,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:to(this.props,this.state,fr)}),delete Wt.openAnimation,delete Wt.openTransitionName,g.createElement(P.a,{store:this.store},g.createElement(va,Object(E.a)({},Wt,{ref:this.setInnerMenu}),this.props.children))}}],[{key:"getDerivedStateFromProps",value:function(Wt,fr){var Jt=fr.prevProps,Tr=fr.store,_r=Tr.getState(),Qr={},Kr={prevProps:Wt};return Jt.mode==="inline"&&Wt.mode!=="inline"&&(Kr.switchingModeFromInline=!0),"openKeys"in Wt?Qr.openKeys=Wt.openKeys||[]:((Wt.inlineCollapsed&&!Jt.inlineCollapsed||Wt.siderCollapsed&&!Jt.siderCollapsed)&&(Kr.switchingModeFromInline=!0,Kr.inlineOpenKeys=_r.openKeys,Qr.openKeys=[]),(!Wt.inlineCollapsed&&Jt.inlineCollapsed||!Wt.siderCollapsed&&Jt.siderCollapsed)&&(Qr.openKeys=fr.inlineOpenKeys,Kr.inlineOpenKeys=[])),Object.keys(Qr).length&&Tr.setState(Qr),Kr}}]),Mr}(g.Component);lo.defaultProps={selectable:!0,onClick:j,onSelect:j,onOpenChange:j,onDeselect:j,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:g.createElement("span",null,"\xB7\xB7\xB7")};var _a=lo,Qo=function(or){Object(k.a)(Mr,or);var br=Object(M.a)(Mr);function Mr(){var Sr;return Object(I.a)(this,Mr),Sr=br.apply(this,arguments),Sr.onKeyDown=function(Wt){var fr=Wt.keyCode;return fr===v.a.ENTER?(Sr.onClick(Wt),!0):void 0},Sr.onMouseLeave=function(Wt){var fr=Sr.props,Jt=fr.eventKey,Tr=fr.onItemHover,_r=fr.onMouseLeave;Tr({key:Jt,hover:!1}),_r({key:Jt,domEvent:Wt})},Sr.onMouseEnter=function(Wt){var fr=Sr.props,Jt=fr.eventKey,Tr=fr.onItemHover,_r=fr.onMouseEnter;Tr({key:Jt,hover:!0}),_r({key:Jt,domEvent:Wt})},Sr.onClick=function(Wt){var fr=Sr.props,Jt=fr.eventKey,Tr=fr.multiple,_r=fr.onClick,Qr=fr.onSelect,Kr=fr.onDeselect,en=fr.isSelected,An={key:Jt,keyPath:[Jt],item:Object(F.a)(Sr),domEvent:Wt};_r(An),Tr?en?Kr(An):Qr(An):en||Qr(An)},Sr.saveNode=function(Wt){Sr.node=Wt},Sr}return Object(O.a)(Mr,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var Wt=this.props;Wt.onDestroy&&Wt.onDestroy(Wt.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 Wt,fr=Object(n.a)({},this.props),Jt=a()(this.getPrefixCls(),fr.className,(Wt={},Object(h.a)(Wt,this.getActiveClassName(),!fr.disabled&&fr.active),Object(h.a)(Wt,this.getSelectedClassName(),fr.isSelected),Object(h.a)(Wt,this.getDisabledClassName(),fr.disabled),Wt)),Tr=Object(n.a)(Object(n.a)({},fr.attribute),{},{title:typeof fr.title=="string"?fr.title:void 0,className:Jt,role:fr.role||"menuitem","aria-disabled":fr.disabled});fr.role==="option"?Tr=Object(n.a)(Object(n.a)({},Tr),{},{role:"option","aria-selected":fr.isSelected}):(fr.role===null||fr.role==="none")&&(Tr.role="none");var _r={onClick:fr.disabled?null:this.onClick,onMouseLeave:fr.disabled?null:this.onMouseLeave,onMouseEnter:fr.disabled?null:this.onMouseEnter},Qr=Object(n.a)({},fr.style);fr.mode==="inline"&&(fr.direction==="rtl"?Qr.paddingRight=fr.inlineIndent*fr.level:Qr.paddingLeft=fr.inlineIndent*fr.level),Ee.forEach(function(en){return delete fr[en]}),delete fr.direction;var Kr=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(Kr=g.createElement(this.props.itemIcon,this.props)),g.createElement("li",Object(E.a)({},Object(V.a)(fr,["onClick","onMouseEnter","onMouseLeave","onSelect"]),Tr,_r,{style:Qr,ref:this.saveNode}),fr.children,Kr)}}]),Mr}(g.Component);Qo.isMenuItem=!0,Qo.defaultProps={onSelect:j,onMouseEnter:j,onMouseLeave:j,manualRef:j};var Uo=Object(P.b)(function(or,br){var Mr=or.activeKey,Sr=or.selectedKeys,Wt=br.eventKey,fr=br.subMenuKey;return{active:Mr[fr]===Wt,isSelected:Array.isArray(Sr)?Sr.indexOf(Wt)!==-1:Sr===Wt}})(Qo),jo=Uo,Ao=function(or){Object(k.a)(Mr,or);var br=Object(M.a)(Mr);function Mr(){var Sr;return Object(I.a)(this,Mr),Sr=br.apply(this,arguments),Sr.renderInnerMenuItem=function(Wt){var fr=Sr.props,Jt=fr.renderMenuItem,Tr=fr.index;return Jt(Wt,Tr,Sr.props.subMenuKey)},Sr}return Object(O.a)(Mr,[{key:"render",value:function(){var Wt=Object(E.a)({},this.props),fr=Wt.className,Jt=fr===void 0?"":fr,Tr=Wt.rootPrefixCls,_r="".concat(Tr,"-item-group-title"),Qr="".concat(Tr,"-item-group-list"),Kr=Wt.title,en=Wt.children;return Ee.forEach(function(An){return delete Wt[An]}),delete Wt.direction,g.createElement("li",Object(E.a)({},Wt,{onClick:function(xn){return xn.stopPropagation()},className:"".concat(Jt," ").concat(Tr,"-item-group")}),g.createElement("div",{className:_r,title:typeof Kr=="string"?Kr:void 0},Kr),g.createElement("ul",{className:Qr},g.Children.map(en,this.renderInnerMenuItem)))}}]),Mr}(g.Component);Ao.isMenuItemGroup=!0,Ao.defaultProps={disabled:!0};var fo=Ao,Ro=function(br){var Mr=br.className,Sr=br.rootPrefixCls,Wt=br.style;return g.createElement("li",{className:"".concat(Mr," ").concat(Sr,"-item-divider"),style:Wt})};Ro.defaultProps={disabled:!0,className:"",style:{}};var si=Ro,Ma=_a,Xo=r("eDIo");function Io(or,br){var Mr=or.prefixCls,Sr=or.editable,Wt=or.locale,fr=or.style;return!Sr||Sr.showAdd===!1?null:g.createElement("button",{ref:br,type:"button",className:"".concat(Mr,"-nav-add"),style:fr,"aria-label":(Wt==null?void 0:Wt.addAriaLabel)||"Add tab",onClick:function(Tr){Sr.onEdit("add",{event:Tr})}},Sr.addIcon||"+")}var vo=g.forwardRef(Io);function Co(or,br){var Mr=or.prefixCls,Sr=or.id,Wt=or.tabs,fr=or.locale,Jt=or.mobile,Tr=or.moreIcon,_r=Tr===void 0?"More":Tr,Qr=or.moreTransitionName,Kr=or.style,en=or.className,An=or.editable,xn=or.tabBarGutter,Cn=or.rtl,jn=or.onTabClick,di=Object(g.useState)(!1),Ei=Object(c.a)(di,2),Ii=Ei[0],vi=Ei[1],wi=Object(g.useState)(null),ri=Object(c.a)(wi,2),Un=ri[0],ci=ri[1],mi="".concat(Sr,"-more-popup"),Ki="".concat(Mr,"-dropdown"),ii=Un!==null?"".concat(mi,"-").concat(Un):null,fi=fr==null?void 0:fr.dropdownAriaLabel,pi=g.createElement(Ma,{onClick:function(Ci){var bi=Ci.key,wa=Ci.domEvent;jn(bi,wa),vi(!1)},id:mi,tabIndex:-1,role:"listbox","aria-activedescendant":ii,selectedKeys:[Un],"aria-label":fi!==void 0?fi:"expanded dropdown"},Wt.map(function(Pi){return g.createElement(jo,{key:Pi.key,id:"".concat(mi,"-").concat(Pi.key),role:"option","aria-controls":Sr&&"".concat(Sr,"-panel-").concat(Pi.key),disabled:Pi.disabled},Pi.tab)}));function ra(Pi){for(var Ci=Wt.filter(function(Ia){return!Ia.disabled}),bi=Ci.findIndex(function(Ia){return Ia.key===Un})||0,wa=Ci.length,Zi=0;Zi<wa;Zi+=1){bi=(bi+Pi+wa)%wa;var ha=Ci[bi];if(!ha.disabled){ci(ha.key);return}}}function ki(Pi){var Ci=Pi.which;if(!Ii){[v.a.DOWN,v.a.SPACE,v.a.ENTER].includes(Ci)&&(vi(!0),Pi.preventDefault());return}switch(Ci){case v.a.UP:ra(-1),Pi.preventDefault();break;case v.a.DOWN:ra(1),Pi.preventDefault();break;case v.a.ESC:vi(!1);break;case v.a.SPACE:case v.a.ENTER:Un!==null&&jn(Un,Pi);break}}Object(g.useEffect)(function(){var Pi=document.getElementById(ii);Pi&&Pi.scrollIntoView&&Pi.scrollIntoView(!1)},[Un]),Object(g.useEffect)(function(){Ii||ci(null)},[Ii]);var Zn=Object(h.a)({},Cn?"marginLeft":"marginRight",xn);Wt.length||(Zn.visibility="hidden",Zn.order=1);var Si=a()(Object(h.a)({},"".concat(Ki,"-rtl"),Cn)),Yi=Jt?null:g.createElement(Xo.a,{prefixCls:Ki,overlay:pi,trigger:["hover"],visible:Ii,transitionName:Qr,onVisibleChange:vi,overlayClassName:Si,mouseEnterDelay:.1,mouseLeaveDelay:.1},g.createElement("button",{type:"button",className:"".concat(Mr,"-nav-more"),style:Zn,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":mi,id:"".concat(Sr,"-more"),"aria-expanded":Ii,onKeyDown:ki},_r));return g.createElement("div",{className:a()("".concat(Mr,"-nav-operations"),en),style:Kr,ref:br},Yi,g.createElement(vo,{prefixCls:Mr,locale:fr,editable:An}))}var tr=g.forwardRef(Co),Wr=Object(g.createContext)(null),Yr=.1,pn=.01,Ze=20,Ht=Math.pow(.995,Ze);function sr(){var or=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(or)||/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(or.substr(0,4)))}function er(or,br){var Mr=Object(g.useState)(),Sr=Object(c.a)(Mr,2),Wt=Sr[0],fr=Sr[1],Jt=Object(g.useState)(0),Tr=Object(c.a)(Jt,2),_r=Tr[0],Qr=Tr[1],Kr=Object(g.useState)(0),en=Object(c.a)(Kr,2),An=en[0],xn=en[1],Cn=Object(g.useState)(),jn=Object(c.a)(Cn,2),di=jn[0],Ei=jn[1],Ii=Object(g.useRef)();function vi(fi){var pi=fi.touches[0],ra=pi.screenX,ki=pi.screenY;fr({x:ra,y:ki}),window.clearInterval(Ii.current)}function wi(fi){if(!Wt)return;fi.preventDefault();var pi=fi.touches[0],ra=pi.screenX,ki=pi.screenY;fr({x:ra,y:ki});var Zn=ra-Wt.x,Si=ki-Wt.y;br(Zn,Si);var Yi=Date.now();Qr(Yi),xn(Yi-_r),Ei({x:Zn,y:Si})}function ri(){if(!Wt)return;if(fr(null),Ei(null),di){var fi=di.x/An,pi=di.y/An,ra=Math.abs(fi),ki=Math.abs(pi);if(Math.max(ra,ki)<Yr)return;var Zn=fi,Si=pi;Ii.current=window.setInterval(function(){if(Math.abs(Zn)<pn&&Math.abs(Si)<pn){window.clearInterval(Ii.current);return}Zn*=Ht,Si*=Ht,br(Zn*Ze,Si*Ze)},Ze)}}var Un=Object(g.useRef)(0),ci=Object(g.useRef)(!1),mi=Object(g.useRef)();function Ki(fi){var pi=fi.deltaX,ra=fi.deltaY,ki=0,Zn=Math.abs(pi),Si=Math.abs(ra);Zn===Si?ki=mi.current==="x"?pi:ra:Zn>Si?(ki=pi,mi.current="x"):(ki=ra,mi.current="y");var Yi=Date.now();Yi-Un.current>100&&(ci.current=!1),(br(-ki,-ki)||ci.current)&&(fi.preventDefault(),ci.current=!0),Un.current=Yi}var ii=Object(g.useRef)(null);ii.current={onTouchStart:vi,onTouchMove:wi,onTouchEnd:ri,onWheel:Ki},g.useEffect(function(){function fi(Zn){ii.current.onTouchStart(Zn)}function pi(Zn){ii.current.onTouchMove(Zn)}function ra(Zn){ii.current.onTouchEnd(Zn)}function ki(Zn){ii.current.onWheel(Zn)}return document.addEventListener("touchmove",pi,{passive:!1}),document.addEventListener("touchend",ra,{passive:!1}),or.current.addEventListener("touchstart",fi,{passive:!1}),or.current.addEventListener("wheel",ki),function(){document.removeEventListener("touchmove",pi),document.removeEventListener("touchend",ra)}},[])}function Lr(){var or=Object(g.useRef)(new Map);function br(Sr){return or.current.has(Sr)||or.current.set(Sr,g.createRef()),or.current.get(Sr)}function Mr(Sr){or.current.delete(Sr)}return[br,Mr]}function Or(or,br){var Mr=g.useRef(or),Sr=g.useState({}),Wt=Object(c.a)(Sr,2),fr=Wt[1];function Jt(Tr){var _r=typeof Tr=="function"?Tr(Mr.current):Tr;_r!==Mr.current&&br(_r,Mr.current),Mr.current=_r,fr({})}return[Mr.current,Jt]}var qr=function(br){var Mr=br.position,Sr=br.prefixCls,Wt=br.extra;if(!Wt)return null;var fr,Jt=Wt;return Mr==="right"&&(fr=Jt.right||!Jt.left&&Jt||null),Mr==="left"&&(fr=Jt.left||null),fr?g.createElement("div",{className:"".concat(Sr,"-extra-content")},fr):null};function Hr(or,br){var Mr,Sr=g.useContext(Wr),Wt=Sr.prefixCls,fr=Sr.tabs,Jt=or.className,Tr=or.style,_r=or.id,Qr=or.animated,Kr=or.activeKey,en=or.rtl,An=or.extra,xn=or.editable,Cn=or.locale,jn=or.tabPosition,di=or.tabBarGutter,Ei=or.children,Ii=or.onTabClick,vi=or.onTabScroll,wi=Object(g.useRef)(),ri=Object(g.useRef)(),Un=Object(g.useRef)(),ci=Object(g.useRef)(),mi=Lr(),Ki=Object(c.a)(mi,2),ii=Ki[0],fi=Ki[1],pi=jn==="top"||jn==="bottom",ra=Or(0,function(Oe,ze){pi&&vi&&vi({direction:Oe>ze?"left":"right"})}),ki=Object(c.a)(ra,2),Zn=ki[0],Si=ki[1],Yi=Or(0,function(Oe,ze){!pi&&vi&&vi({direction:Oe>ze?"top":"bottom"})}),Pi=Object(c.a)(Yi,2),Ci=Pi[0],bi=Pi[1],wa=Object(g.useState)(0),Zi=Object(c.a)(wa,2),ha=Zi[0],Ia=Zi[1],xi=Object(g.useState)(0),Ba=Object(c.a)(xi,2),oa=Ba[0],qi=Ba[1],ga=Object(g.useState)(0),na=Object(c.a)(ga,2),ca=na[0],Wa=na[1],Pa=Object(g.useState)(0),ro=Object(c.a)(Pa,2),Fa=ro[0],Ua=ro[1],Ya=Object(g.useState)(null),Aa=Object(c.a)(Ya,2),Ji=Aa[0],La=Aa[1],ja=Object(g.useState)(null),ji=Object(c.a)(ja,2),Qi=ji[0],uo=ji[1],yo=Object(g.useState)(0),Lo=Object(c.a)(yo,2),Oo=Lo[0],Va=Lo[1],$i=Object(g.useState)(0),co=Object(c.a)($i,2),Zo=co[0],Ha=co[1],bo=A(new Map),ma=Object(c.a)(bo,2),Bo=ma[0],$s=ma[1],ss=_(fr,Bo,ha),Ho="".concat(Wt,"-nav-operations-hidden"),vs=0,cs=0;pi?en?(vs=0,cs=Math.max(0,ha-Ji)):(vs=Math.min(0,Ji-ha),cs=0):(vs=Math.min(0,Qi-oa),cs=0);function Jo(Oe){return Oe<vs?[vs,!1]:Oe>cs?[cs,!1]:[Oe,!0]}var Fo=Object(g.useRef)(),eo=Object(g.useState)(),Mo=Object(c.a)(eo,2),po=Mo[0],wo=Mo[1];function Dr(){wo(Date.now())}function Hn(){window.clearTimeout(Fo.current)}er(wi,function(Oe,ze){var yt=!1;function Kt(gr,xr){gr(function(Pr){var dn=Jo(Pr+xr),bn=Object(c.a)(dn,2),Nn=bn[0],Xn=bn[1];return yt=Xn,Nn})}if(pi){if(Ji>=ha)return yt;Kt(Si,Oe)}else{if(Qi>=oa)return yt;Kt(bi,ze)}return Hn(),Dr(),yt}),Object(g.useEffect)(function(){return Hn(),po&&(Fo.current=window.setTimeout(function(){wo(0)},100)),Hn},[po]);function Ls(){var Oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Kr,ze=ss.get(Oe);if(!ze)return;if(pi){var yt=Zn;en?ze.right<Zn?yt=ze.right:ze.right+ze.width>Zn+Ji&&(yt=ze.right+ze.width-Ji):ze.left<-Zn?yt=-ze.left:ze.left+ze.width>-Zn+Ji&&(yt=-(ze.left+ze.width-Ji)),bi(0),Si(Jo(yt)[0])}else{var Kt=Ci;ze.top<-Ci?Kt=-ze.top:ze.top+ze.height>-Ci+Qi&&(Kt=-(ze.top+ze.height-Qi)),Si(0),bi(Jo(Kt)[0])}}var Ss=S(ss,{width:Ji,height:Qi,left:Zn,top:Ci},{width:ca,height:Fa},{width:Oo,height:Zo},Object(n.a)(Object(n.a)({},or),{},{tabs:fr})),ys=Object(c.a)(Ss,2),Na=ys[0],Ga=ys[1],To=fr.map(function(Oe){var ze=Oe.key;return g.createElement(b,{id:_r,prefixCls:Wt,key:ze,rtl:en,tab:Oe,closable:Oe.closable,editable:xn,active:ze===Kr,tabPosition:jn,tabBarGutter:di,renderWrapper:Ei,removeAriaLabel:Cn==null?void 0:Cn.removeAriaLabel,ref:ii(ze),onClick:function(Kt){Ii(ze,Kt)},onRemove:function(){fi(ze)},onFocus:function(){Ls(ze),Dr(),en||(wi.current.scrollLeft=0),wi.current.scrollTop=0}})}),xo=f(function(){var Oe,ze,yt,Kt,gr,xr,Pr,dn,bn,Nn=((Oe=wi.current)===null||Oe===void 0?void 0:Oe.offsetWidth)||0,Xn=((ze=wi.current)===null||ze===void 0?void 0:ze.offsetHeight)||0,li=((yt=ci.current)===null||yt===void 0?void 0:yt.offsetWidth)||0,Li=((Kt=ci.current)===null||Kt===void 0?void 0:Kt.offsetHeight)||0,ea=((gr=Un.current)===null||gr===void 0?void 0:gr.offsetWidth)||0,Sa=((xr=Un.current)===null||xr===void 0?void 0:xr.offsetHeight)||0;La(Nn),uo(Xn),Va(li),Ha(Li);var xa=(((Pr=ri.current)===null||Pr===void 0?void 0:Pr.offsetWidth)||0)-li,Da=(((dn=ri.current)===null||dn===void 0?void 0:dn.offsetHeight)||0)-Li;Ia(xa),qi(Da);var oo=(bn=Un.current)===null||bn===void 0?void 0:bn.className.includes(Ho);Wa(xa-(oo?0:ea)),Ua(Da-(oo?0:Sa)),$s(function(){var Qa=new Map;return fr.forEach(function(So){var Ea=So.key,no=ii(Ea).current;no&&Qa.set(Ea,{width:no.offsetWidth,height:no.offsetHeight,left:no.offsetLeft,top:no.offsetTop})}),Qa})}),$o=fr.slice(0,Na),es=fr.slice(Ga+1),ts=[].concat(Object(l.a)($o),Object(l.a)(es)),Gs=Object(g.useState)(),Os=Object(c.a)(Gs,2),Ws=Os[0],Ns=Os[1],Go=ss.get(Kr),xs=Object(g.useRef)();function ao(){s.a.cancel(xs.current)}Object(g.useEffect)(function(){var Oe={};return Go&&(pi?(en?Oe.right=Go.right:Oe.left=Go.left,Oe.width=Go.width):(Oe.top=Go.top,Oe.height=Go.height)),ao(),xs.current=s()(function(){Ns(Oe)}),ao},[Go,pi,en]),Object(g.useEffect)(function(){Ls()},[Kr,Go,ss,pi]),Object(g.useEffect)(function(){xo()},[en,di,Kr,fr.map(function(Oe){return Oe.key}).join("_")]);var el=!!ts.length,Ds="".concat(Wt,"-nav-wrap"),ds,Vt,de,Te;return pi?en?(Vt=Zn>0,ds=Zn+Ji<ha):(ds=Zn<0,Vt=-Zn+Ji<ha):(de=Ci<0,Te=-Ci+Qi<oa),g.createElement("div",{ref:br,role:"tablist",className:a()("".concat(Wt,"-nav"),Jt),style:Tr,onKeyDown:function(){Dr()}},g.createElement(qr,{position:"left",extra:An,prefixCls:Wt}),g.createElement(u.a,{onResize:xo},g.createElement("div",{className:a()(Ds,(Mr={},Object(h.a)(Mr,"".concat(Ds,"-ping-left"),ds),Object(h.a)(Mr,"".concat(Ds,"-ping-right"),Vt),Object(h.a)(Mr,"".concat(Ds,"-ping-top"),de),Object(h.a)(Mr,"".concat(Ds,"-ping-bottom"),Te),Mr)),ref:wi},g.createElement(u.a,{onResize:xo},g.createElement("div",{ref:ri,className:"".concat(Wt,"-nav-list"),style:{transform:"translate(".concat(Zn,"px, ").concat(Ci,"px)"),transition:po?"none":void 0}},To,g.createElement(vo,{ref:ci,prefixCls:Wt,locale:Cn,editable:xn,style:{visibility:el?"hidden":null}}),g.createElement("div",{className:a()("".concat(Wt,"-ink-bar"),Object(h.a)({},"".concat(Wt,"-ink-bar-animated"),Qr.inkBar)),style:Ws}))))),g.createElement(tr,Object.assign({},or,{ref:Un,prefixCls:Wt,tabs:ts,className:!el&&Ho})),g.createElement(qr,{position:"right",extra:An,prefixCls:Wt}))}var un=g.forwardRef(Hr);function fn(or){var br=or.id,Mr=or.activeKey,Sr=or.animated,Wt=or.tabPosition,fr=or.rtl,Jt=or.destroyInactiveTabPane,Tr=g.useContext(Wr),_r=Tr.prefixCls,Qr=Tr.tabs,Kr=Sr.tabPane,en=Qr.findIndex(function(An){return An.key===Mr});return g.createElement("div",{className:a()("".concat(_r,"-content-holder"))},g.createElement("div",{className:a()("".concat(_r,"-content"),"".concat(_r,"-content-").concat(Wt),Object(h.a)({},"".concat(_r,"-content-animated"),Kr)),style:en&&Kr?Object(h.a)({},fr?"marginRight":"marginLeft","-".concat(en,"00%")):null},Qr.map(function(An){return g.cloneElement(An.node,{key:An.key,prefixCls:_r,tabKey:An.key,id:br,animated:Kr,active:An.key===Mr,destroyInactiveTabPane:Jt})})))}function yn(or){var br=or.prefixCls,Mr=or.forceRender,Sr=or.className,Wt=or.style,fr=or.id,Jt=or.active,Tr=or.animated,_r=or.destroyInactiveTabPane,Qr=or.tabKey,Kr=or.children,en=g.useState(Mr),An=Object(c.a)(en,2),xn=An[0],Cn=An[1];g.useEffect(function(){Jt?Cn(!0):_r&&Cn(!1)},[Jt,_r]);var jn={};return Jt||(Tr?(jn.visibility="hidden",jn.height=0,jn.overflowY="hidden"):jn.display="none"),g.createElement("div",{id:fr&&"".concat(fr,"-panel-").concat(Qr),role:"tabpanel",tabIndex:Jt?0:-1,"aria-labelledby":fr&&"".concat(fr,"-tab-").concat(Qr),"aria-hidden":!Jt,style:Object(n.a)(Object(n.a)({},jn),Wt),className:a()("".concat(br,"-tabpane"),Jt&&"".concat(br,"-tabpane-active"),Sr)},(Jt||xn||Mr)&&Kr)}var St=0;function qt(or){return Object(d.a)(or).map(function(br){if(g.isValidElement(br)){var Mr=br.key!==void 0?String(br.key):void 0;return Object(n.a)(Object(n.a)({key:Mr},br.props),{},{node:br})}return null}).filter(function(br){return br})}function ur(or,br){var Mr,Sr=or.id,Wt=or.prefixCls,fr=Wt===void 0?"rc-tabs":Wt,Jt=or.className,Tr=or.children,_r=or.direction,Qr=or.activeKey,Kr=or.defaultActiveKey,en=or.editable,An=or.animated,xn=or.tabPosition,Cn=xn===void 0?"top":xn,jn=or.tabBarGutter,di=or.tabBarStyle,Ei=or.tabBarExtraContent,Ii=or.locale,vi=or.moreIcon,wi=or.moreTransitionName,ri=or.destroyInactiveTabPane,Un=or.renderTabBar,ci=or.onChange,mi=or.onTabClick,Ki=or.onTabScroll,ii=Object(o.a)(or,["id","prefixCls","className","children","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll"]),fi=qt(Tr),pi=_r==="rtl",ra;An===!1?ra={inkBar:!1,tabPane:!1}:ra=Object(n.a)({inkBar:!0,tabPane:!1},An!==!0?An:null);var ki=Object(g.useState)(!1),Zn=Object(c.a)(ki,2),Si=Zn[0],Yi=Zn[1];Object(g.useEffect)(function(){Yi(sr())},[]);var Pi=Object(i.a)(function(){var Fa;return(Fa=fi[0])===null||Fa===void 0?void 0:Fa.key},{value:Qr,defaultValue:Kr}),Ci=Object(c.a)(Pi,2),bi=Ci[0],wa=Ci[1],Zi=Object(g.useState)(function(){return fi.findIndex(function(Fa){return Fa.key===bi})}),ha=Object(c.a)(Zi,2),Ia=ha[0],xi=ha[1];Object(g.useEffect)(function(){var Fa=fi.findIndex(function(Ya){return Ya.key===bi});if(Fa===-1){var Ua;Fa=Math.max(0,Math.min(Ia,fi.length-1)),wa((Ua=fi[Fa])===null||Ua===void 0?void 0:Ua.key)}xi(Fa)},[fi.map(function(Fa){return Fa.key}).join("_"),bi,Ia]);var Ba=Object(i.a)(null,{value:Sr}),oa=Object(c.a)(Ba,2),qi=oa[0],ga=oa[1],na=Cn;Si&&!["left","right"].includes(Cn)&&(na="top"),Object(g.useEffect)(function(){Sr||(ga("rc-tabs-".concat(St)),St+=1)},[]);function ca(Fa,Ua){mi==null||mi(Fa,Ua),wa(Fa),ci==null||ci(Fa)}var Wa={id:qi,activeKey:bi,animated:ra,tabPosition:na,rtl:pi,mobile:Si},Pa,ro=Object(n.a)(Object(n.a)({},Wa),{},{editable:en,locale:Ii,moreIcon:vi,moreTransitionName:wi,tabBarGutter:jn,onTabClick:ca,onTabScroll:Ki,extra:Ei,style:di,panes:Tr});return Un?Pa=Un(ro,un):Pa=g.createElement(un,Object.assign({},ro)),g.createElement(Wr.Provider,{value:{tabs:fi,prefixCls:fr}},g.createElement("div",Object.assign({ref:br,id:Sr,className:a()(fr,"".concat(fr,"-").concat(na),(Mr={},Object(h.a)(Mr,"".concat(fr,"-mobile"),Si),Object(h.a)(Mr,"".concat(fr,"-editable"),en),Object(h.a)(Mr,"".concat(fr,"-rtl"),pi),Mr),Jt)},ii),Pa,g.createElement(fn,Object.assign({destroyInactiveTabPane:ri},Wa,{animated:ra}))))}var yr=g.forwardRef(ur);yr.TabPane=yn;var Ur=yr,Zr=Ur,cn=r("cCPh"),_n=r.n(cn),Fn=r("fNCr"),qn=r.n(Fn),Wn=r("V/uB"),Rn=r.n(Wn),Kn=r("uaoM"),Gn=r("H84U"),In=function(or,br){var Mr={};for(var Sr in or)Object.prototype.hasOwnProperty.call(or,Sr)&&br.indexOf(Sr)<0&&(Mr[Sr]=or[Sr]);if(or!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Wt=0,Sr=Object.getOwnPropertySymbols(or);Wt<Sr.length;Wt++)br.indexOf(Sr[Wt])<0&&Object.prototype.propertyIsEnumerable.call(or,Sr[Wt])&&(Mr[Sr[Wt]]=or[Sr[Wt]]);return Mr};function kn(or){var br,Mr=or.type,Sr=or.className,Wt=or.size,fr=or.onEdit,Jt=or.hideAdd,Tr=or.centered,_r=or.addIcon,Qr=In(or,["type","className","size","onEdit","hideAdd","centered","addIcon"]),Kr=Qr.prefixCls,en=g.useContext(Gn.b),An=en.getPrefixCls,xn=en.direction,Cn=An("tabs",Kr),jn;return Mr==="editable-card"&&(jn={onEdit:function(Ei,Ii){var vi=Ii.key,wi=Ii.event;fr==null||fr(Ei==="add"?wi:vi,Ei)},removeIcon:g.createElement(Rn.a,null),addIcon:_r||g.createElement(qn.a,null),showAdd:Jt!==!0}),Object(Kn.a)(!("onPrevClick"in Qr)&&!("onNextClick"in Qr),"Tabs","`onPrevClick` and `onNextClick` has been removed. Please use `onTabScroll` instead."),g.createElement(Zr,m()({direction:xn},Qr,{moreTransitionName:"slide-up",className:a()(Sr,(br={},p()(br,"".concat(Cn,"-").concat(Wt),Wt),p()(br,"".concat(Cn,"-card"),["card","editable-card"].includes(Mr)),p()(br,"".concat(Cn,"-editable-card"),Mr==="editable-card"),p()(br,"".concat(Cn,"-centered"),Tr),br)),editable:jn,moreIcon:g.createElement(_n.a,null),prefixCls:Cn}))}kn.TabPane=yn;var ti=N.a=kn},ZTW2:function(B,N,r){},ZWlE:function(B,N,r){var y=r("bYtY"),m=r("4NO4");function C(h){p(h),g(h)}function p(h){if(h.parallel)return;var c=!1;y.each(h.series,function(o){o&&o.type==="parallel"&&(c=!0)}),c&&(h.parallel=[{}])}function g(h){var c=m.normalizeToArray(h.parallelAxis);y.each(c,function(o){if(!y.isObject(o))return;var n=o.parallelIndex||0,t=m.normalizeToArray(h.parallel)[n];t&&t.parallelAxisDefault&&y.merge(o,t.parallelAxisDefault,!1)})}B.exports=C},ZX9x:function(B,N,r){"use strict";r.d(N,"a",function(){return O}),r.d(N,"b",function(){return M});var y=r("lSNA"),m=r.n(y),C=r("pVnL"),p=r.n(C),g=r("lwsE"),h=r.n(g),c=r("W8MJ"),o=r.n(c),n=r("7W2i"),t=r.n(n),a=r("LQ03"),d=r.n(a),i=r("q1tI"),l=r("TSYQ"),e=r.n(l),s=r("BGR+"),u=r("T1rO"),f=r.n(u),A=r("fEPi"),v=r.n(A),x=r("DFhj"),b=r.n(x),w=r("PKem"),_=r("H84U"),T=function(V){return!isNaN(parseFloat(V))&&isFinite(V)},S=T,E=function(P,V){var D={};for(var H in P)Object.prototype.hasOwnProperty.call(P,H)&&V.indexOf(H)<0&&(D[H]=P[H]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,H=Object.getOwnPropertySymbols(P);U<H.length;U++)V.indexOf(H[U])<0&&Object.prototype.propertyIsEnumerable.call(P,H[U])&&(D[H[U]]=P[H[U]]);return D},I={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},O=i.createContext({}),F=function(){var P=0;return function(){var V=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return P+=1,"".concat(V).concat(P)}}(),k=function(P){t()(D,P);var V=d()(D);function D(H){var U;h()(this,D),U=V.call(this,H),U.responsiveHandler=function(G){U.setState({below:G.matches});var X=U.props.onBreakpoint,Z=U.state.collapsed;X&&X(G.matches),Z!==G.matches&&U.setCollapsed(G.matches,"responsive")},U.setCollapsed=function(G,X){"collapsed"in U.props||U.setState({collapsed:G});var Z=U.props.onCollapse;Z&&Z(G,X)},U.toggle=function(){var G=!U.state.collapsed;U.setCollapsed(G,"clickTrigger")},U.renderSider=function(G){var X,Z=G.getPrefixCls,ee=U.props,Se=ee.prefixCls,$=ee.className,pe=ee.theme,xe=ee.collapsible,_e=ee.reverseArrow,Ue=ee.trigger,ye=ee.style,Be=ee.width,Q=ee.collapsedWidth,ie=ee.zeroWidthTriggerStyle,Ve=ee.children,J=E(ee,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle","children"]),W=U.state,j=W.collapsed,Y=W.below,me=Z("layout-sider",Se),ae=Object(s.default)(J,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),Le=j?Q:Be,Ee=S(Le)?"".concat(Le,"px"):String(Le),ne=parseFloat(String(Q||0))===0?i.createElement("span",{onClick:U.toggle,className:e()("".concat(me,"-zero-width-trigger"),"".concat(me,"-zero-width-trigger-").concat(_e?"right":"left")),style:ie},Ue||i.createElement(f.a,null)):null,ge={expanded:_e?i.createElement(v.a,null):i.createElement(b.a,null),collapsed:_e?i.createElement(b.a,null):i.createElement(v.a,null)},Ie=j?"collapsed":"expanded",Ge=ge[Ie],ut=Ue!==null?ne||i.createElement("div",{className:"".concat(me,"-trigger"),onClick:U.toggle,style:{width:Ee}},Ue||Ge):null,wt=p()(p()({},ye),{flex:"0 0 ".concat(Ee),maxWidth:Ee,minWidth:Ee,width:Ee}),Pe=e()($,me,"".concat(me,"-").concat(pe),(X={},m()(X,"".concat(me,"-collapsed"),!!j),m()(X,"".concat(me,"-has-trigger"),xe&&Ue!==null&&!ne),m()(X,"".concat(me,"-below"),!!Y),m()(X,"".concat(me,"-zero-width"),parseFloat(Ee)===0),X));return i.createElement("aside",p()({className:Pe},ae,{style:wt}),i.createElement("div",{className:"".concat(me,"-children")},Ve),xe||Y&&ne?ut:null)},U.uniqueId=F("ant-sider-");var z;typeof window!="undefined"&&(z=window.matchMedia),z&&H.breakpoint&&H.breakpoint in I&&(U.mql=z("(max-width: ".concat(I[H.breakpoint],")")));var K;return"collapsed"in H?K=H.collapsed:K=H.defaultCollapsed,U.state={collapsed:K,below:!1},U}return o()(D,[{key:"componentDidMount",value:function(){var U;this.mql&&(this.mql.addListener(this.responsiveHandler),this.responsiveHandler(this.mql)),(U=this.props)===null||U===void 0||U.siderHook.addSider(this.uniqueId)}},{key:"componentWillUnmount",value:function(){var U,z;(U=this===null||this===void 0?void 0:this.mql)===null||U===void 0||U.removeListener(this.responsiveHandler),(z=this.props)===null||z===void 0||z.siderHook.removeSider(this.uniqueId)}},{key:"render",value:function(){var U=this.state.collapsed,z=this.props.collapsedWidth;return i.createElement(O.Provider,{value:{siderCollapsed:U,collapsedWidth:z}},i.createElement(_.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(U){return"collapsed"in U?{collapsed:U.collapsed}:null}}]),D}(i.Component);k.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"};var M=function(P){t()(D,P);var V=d()(D);function D(){return h()(this,D),V.apply(this,arguments)}return o()(D,[{key:"render",value:function(){var U=this;return i.createElement(w.a.Consumer,null,function(z){return i.createElement(k,p()({},z,U.props))})}}]),D}(i.Component)},ZYIC:function(B,N,r){var y=r("zM3Q"),m={seriesType:"lines",plan:y(),reset:function(C){var p=C.coordinateSystem,g=C.get("polyline"),h=C.pipelineContext.large;function c(o,n){var t=[];if(h){var a,d=o.end-o.start;if(g){for(var i=0,l=o.start;l<o.end;l++)i+=C.getLineCoordsCount(l);a=new Float32Array(d+i*2)}else a=new Float32Array(d*4);for(var e=0,s=[],l=o.start;l<o.end;l++){var u=C.getLineCoords(l,t);g&&(a[e++]=u);for(var f=0;f<u;f++)s=p.dataToPoint(t[f],!1,s),a[e++]=s[0],a[e++]=s[1]}n.setLayout("linesPoints",a)}else for(var l=o.start;l<o.end;l++){var A=n.getItemModel(l),u=C.getLineCoords(l,t),v=[];if(g)for(var x=0;x<u;x++)v.push(p.dataToPoint(t[x]));else{v[0]=p.dataToPoint(t[0]),v[1]=p.dataToPoint(t[1]);var b=A.get("lineStyle.curveness");+b&&(v[2]=[(v[0][0]+v[1][0])/2-(v[0][1]-v[1][1])*b,(v[0][1]+v[1][1])/2-(v[1][0]-v[0][0])*b])}n.setItemLayout(l,v)}}return{progress:c}}};B.exports=m},Ze12:function(B,N,r){var y=r("ItGF"),m=r("hOwI"),C=m.buildTransformer,p="___zrEVENTSAVED",g=[];function h(a,d,i,l,e){return c(g,d,l,e,!0)&&c(a,i,g[0],g[1])}function c(a,d,i,l,e){if(d.getBoundingClientRect&&y.domSupported&&!t(d)){var s=d[p]||(d[p]={}),u=o(d,s),f=n(u,s,e);if(f)return f(a,i,l),!0}return!1}function o(a,d){var i=d.markers;if(i)return i;i=d.markers=[];for(var l=["left","right"],e=["top","bottom"],s=0;s<4;s++){var u=document.createElement("div"),f=u.style,A=s%2,v=(s>>1)%2;f.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",l[A]+":0",e[v]+":0",l[1-A]+":auto",e[1-v]+":auto",""].join("!important;"),a.appendChild(u),i.push(u)}return i}function n(a,d,i){for(var l=i?"invTrans":"trans",e=d[l],s=d.srcCoords,u=!0,f=[],A=[],v=0;v<4;v++){var x=a[v].getBoundingClientRect(),b=2*v,w=x.left,_=x.top;f.push(w,_),u=u&&s&&w===s[b]&&_===s[b+1],A.push(a[v].offsetLeft,a[v].offsetTop)}return u&&e?e:(d.srcCoords=f,d[l]=i?C(A,f):C(f,A))}function t(a){return a.nodeName.toUpperCase()==="CANVAS"}N.transformLocalCoord=h,N.transformCoordWithViewport=c,N.isCanvasEl=t},Znkb:function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("ProS"),p=r("zTMp"),g=C.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,a,d,i){this.axisPointerClass&&p.fixValue(t),g.superApply(this,"render",arguments),h(this,t,a,d,i,!0)},updateAxisPointer:function(t,a,d,i,l){h(this,t,a,d,i,!1)},remove:function(t,a){var d=this._axisPointer;d&&d.remove(a),g.superApply(this,"remove",arguments)},dispose:function(t,a){c(this,a),g.superApply(this,"dispose",arguments)}});function h(t,a,d,i,l,e){var s=g.getAxisPointerClass(t.axisPointerClass);if(!s)return;var u=p.getAxisPointerModel(a);u?(t._axisPointer||(t._axisPointer=new s)).render(a,u,i,e):c(t,i)}function c(t,a,d){var i=t._axisPointer;i&&i.dispose(a,d),t._axisPointer=null}var o=[];g.registerAxisPointerClass=function(t,a){o[t]=a},g.getAxisPointerClass=function(t){return t&&o[t]};var n=g;B.exports=n},"Znn+":function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("9ama"),p=r.n(C)},ZqQs:function(B,N,r){var y=r("bYtY");function m(h){var c=h&&h.timeline;y.isArray(c)||(c=c?[c]:[]),y.each(c,function(o){if(!o)return;C(o)})}function C(h){var c=h.type,o={number:"value",time:"time"};if(o[c]&&(h.axisType=o[c],delete h.type),p(h),g(h,"controlPosition")){var n=h.controlStyle||(h.controlStyle={});g(n,"position")||(n.position=h.controlPosition),n.position==="none"&&!g(n,"show")&&(n.show=!1,delete n.position),delete h.controlPosition}y.each(h.data||[],function(t){y.isObject(t)&&!y.isArray(t)&&(!g(t,"value")&&g(t,"name")&&(t.value=t.name),p(t))})}function p(h){var c=h.itemStyle||(h.itemStyle={}),o=c.emphasis||(c.emphasis={}),n=h.label||h.label||{},t=n.normal||(n.normal={}),a={normal:1,emphasis:1};y.each(n,function(d,i){!a[i]&&!g(t,i)&&(t[i]=d)}),o.label&&!g(n,"emphasis")&&(n.emphasis=o.label,delete o.label)}function g(h,c){return h.hasOwnProperty(c)}B.exports=m},Zss7:function(B,N,r){var y;(function(m){var C=/^\s+/,p=/\s+$/,g=0,h=m.round,c=m.min,o=m.max,n=m.random;function t(ye,Be){if(ye=ye||"",Be=Be||{},ye instanceof t)return ye;if(!(this instanceof t))return new t(ye,Be);var Q=a(ye);this._originalInput=ye,this._r=Q.r,this._g=Q.g,this._b=Q.b,this._a=Q.a,this._roundA=h(100*this._a)/100,this._format=Be.format||Q.format,this._gradientType=Be.gradientType,this._r<1&&(this._r=h(this._r)),this._g<1&&(this._g=h(this._g)),this._b<1&&(this._b=h(this._b)),this._ok=Q.ok,this._tc_id=g++}t.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 Be=this.toRgb();return(Be.r*299+Be.g*587+Be.b*114)/1e3},getLuminance:function(){var Be=this.toRgb(),Q,ie,Ve,J,W,j;return Q=Be.r/255,ie=Be.g/255,Ve=Be.b/255,Q<=.03928?J=Q/12.92:J=m.pow((Q+.055)/1.055,2.4),ie<=.03928?W=ie/12.92:W=m.pow((ie+.055)/1.055,2.4),Ve<=.03928?j=Ve/12.92:j=m.pow((Ve+.055)/1.055,2.4),.2126*J+.7152*W+.0722*j},setAlpha:function(Be){return this._a=H(Be),this._roundA=h(100*this._a)/100,this},toHsv:function(){var Be=e(this._r,this._g,this._b);return{h:Be.h*360,s:Be.s,v:Be.v,a:this._a}},toHsvString:function(){var Be=e(this._r,this._g,this._b),Q=h(Be.h*360),ie=h(Be.s*100),Ve=h(Be.v*100);return this._a==1?"hsv("+Q+", "+ie+"%, "+Ve+"%)":"hsva("+Q+", "+ie+"%, "+Ve+"%, "+this._roundA+")"},toHsl:function(){var Be=i(this._r,this._g,this._b);return{h:Be.h*360,s:Be.s,l:Be.l,a:this._a}},toHslString:function(){var Be=i(this._r,this._g,this._b),Q=h(Be.h*360),ie=h(Be.s*100),Ve=h(Be.l*100);return this._a==1?"hsl("+Q+", "+ie+"%, "+Ve+"%)":"hsla("+Q+", "+ie+"%, "+Ve+"%, "+this._roundA+")"},toHex:function(Be){return u(this._r,this._g,this._b,Be)},toHexString:function(Be){return"#"+this.toHex(Be)},toHex8:function(Be){return f(this._r,this._g,this._b,this._a,Be)},toHex8String:function(Be){return"#"+this.toHex8(Be)},toRgb:function(){return{r:h(this._r),g:h(this._g),b:h(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+h(this._r)+", "+h(this._g)+", "+h(this._b)+")":"rgba("+h(this._r)+", "+h(this._g)+", "+h(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:h(U(this._r,255)*100)+"%",g:h(U(this._g,255)*100)+"%",b:h(U(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+h(U(this._r,255)*100)+"%, "+h(U(this._g,255)*100)+"%, "+h(U(this._b,255)*100)+"%)":"rgba("+h(U(this._r,255)*100)+"%, "+h(U(this._g,255)*100)+"%, "+h(U(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:V[u(this._r,this._g,this._b,!0)]||!1},toFilter:function(Be){var Q="#"+A(this._r,this._g,this._b,this._a),ie=Q,Ve=this._gradientType?"GradientType = 1, ":"";if(Be){var J=t(Be);ie="#"+A(J._r,J._g,J._b,J._a)}return"progid:DXImageTransform.Microsoft.gradient("+Ve+"startColorstr="+Q+",endColorstr="+ie+")"},toString:function(Be){var Q=!!Be;Be=Be||this._format;var ie=!1,Ve=this._a<1&&this._a>=0,J=!Q&&Ve&&(Be==="hex"||Be==="hex6"||Be==="hex3"||Be==="hex4"||Be==="hex8"||Be==="name");return J?Be==="name"&&this._a===0?this.toName():this.toRgbString():(Be==="rgb"&&(ie=this.toRgbString()),Be==="prgb"&&(ie=this.toPercentageRgbString()),(Be==="hex"||Be==="hex6")&&(ie=this.toHexString()),Be==="hex3"&&(ie=this.toHexString(!0)),Be==="hex4"&&(ie=this.toHex8String(!0)),Be==="hex8"&&(ie=this.toHex8String()),Be==="name"&&(ie=this.toName()),Be==="hsl"&&(ie=this.toHslString()),Be==="hsv"&&(ie=this.toHsvString()),ie||this.toHexString())},clone:function(){return t(this.toString())},_applyModification:function(Be,Q){var ie=Be.apply(null,[this].concat([].slice.call(Q)));return this._r=ie._r,this._g=ie._g,this._b=ie._b,this.setAlpha(ie._a),this},lighten:function(){return this._applyModification(w,arguments)},brighten:function(){return this._applyModification(_,arguments)},darken:function(){return this._applyModification(T,arguments)},desaturate:function(){return this._applyModification(v,arguments)},saturate:function(){return this._applyModification(x,arguments)},greyscale:function(){return this._applyModification(b,arguments)},spin:function(){return this._applyModification(S,arguments)},_applyCombination:function(Be,Q){return Be.apply(null,[this].concat([].slice.call(Q)))},analogous:function(){return this._applyCombination(k,arguments)},complement:function(){return this._applyCombination(E,arguments)},monochromatic:function(){return this._applyCombination(M,arguments)},splitcomplement:function(){return this._applyCombination(F,arguments)},triad:function(){return this._applyCombination(I,arguments)},tetrad:function(){return this._applyCombination(O,arguments)}},t.fromRatio=function(ye,Be){if(typeof ye=="object"){var Q={};for(var ie in ye)ye.hasOwnProperty(ie)&&(ie==="a"?Q[ie]=ye[ie]:Q[ie]=ee(ye[ie]));ye=Q}return t(ye,Be)};function a(ye){var Be={r:0,g:0,b:0},Q=1,ie=null,Ve=null,J=null,W=!1,j=!1;return typeof ye=="string"&&(ye=_e(ye)),typeof ye=="object"&&(xe(ye.r)&&xe(ye.g)&&xe(ye.b)?(Be=d(ye.r,ye.g,ye.b),W=!0,j=String(ye.r).substr(-1)==="%"?"prgb":"rgb"):xe(ye.h)&&xe(ye.s)&&xe(ye.v)?(ie=ee(ye.s),Ve=ee(ye.v),Be=s(ye.h,ie,Ve),W=!0,j="hsv"):xe(ye.h)&&xe(ye.s)&&xe(ye.l)&&(ie=ee(ye.s),J=ee(ye.l),Be=l(ye.h,ie,J),W=!0,j="hsl"),ye.hasOwnProperty("a")&&(Q=ye.a)),Q=H(Q),{ok:W,format:ye.format||j,r:c(255,o(Be.r,0)),g:c(255,o(Be.g,0)),b:c(255,o(Be.b,0)),a:Q}}function d(ye,Be,Q){return{r:U(ye,255)*255,g:U(Be,255)*255,b:U(Q,255)*255}}function i(ye,Be,Q){ye=U(ye,255),Be=U(Be,255),Q=U(Q,255);var ie=o(ye,Be,Q),Ve=c(ye,Be,Q),J,W,j=(ie+Ve)/2;if(ie==Ve)J=W=0;else{var Y=ie-Ve;W=j>.5?Y/(2-ie-Ve):Y/(ie+Ve);switch(ie){case ye:J=(Be-Q)/Y+(Be<Q?6:0);break;case Be:J=(Q-ye)/Y+2;break;case Q:J=(ye-Be)/Y+4;break}J/=6}return{h:J,s:W,l:j}}function l(ye,Be,Q){var ie,Ve,J;ye=U(ye,360),Be=U(Be,100),Q=U(Q,100);function W(me,ae,Le){return Le<0&&(Le+=1),Le>1&&(Le-=1),Le<1/6?me+(ae-me)*6*Le:Le<1/2?ae:Le<2/3?me+(ae-me)*(2/3-Le)*6:me}if(Be===0)ie=Ve=J=Q;else{var j=Q<.5?Q*(1+Be):Q+Be-Q*Be,Y=2*Q-j;ie=W(Y,j,ye+1/3),Ve=W(Y,j,ye),J=W(Y,j,ye-1/3)}return{r:ie*255,g:Ve*255,b:J*255}}function e(ye,Be,Q){ye=U(ye,255),Be=U(Be,255),Q=U(Q,255);var ie=o(ye,Be,Q),Ve=c(ye,Be,Q),J,W,j=ie,Y=ie-Ve;if(W=ie===0?0:Y/ie,ie==Ve)J=0;else{switch(ie){case ye:J=(Be-Q)/Y+(Be<Q?6:0);break;case Be:J=(Q-ye)/Y+2;break;case Q:J=(ye-Be)/Y+4;break}J/=6}return{h:J,s:W,v:j}}function s(ye,Be,Q){ye=U(ye,360)*6,Be=U(Be,100),Q=U(Q,100);var ie=m.floor(ye),Ve=ye-ie,J=Q*(1-Be),W=Q*(1-Ve*Be),j=Q*(1-(1-Ve)*Be),Y=ie%6,me=[Q,W,J,J,j,Q][Y],ae=[j,Q,Q,W,J,J][Y],Le=[J,J,j,Q,Q,W][Y];return{r:me*255,g:ae*255,b:Le*255}}function u(ye,Be,Q,ie){var Ve=[Z(h(ye).toString(16)),Z(h(Be).toString(16)),Z(h(Q).toString(16))];return ie&&Ve[0].charAt(0)==Ve[0].charAt(1)&&Ve[1].charAt(0)==Ve[1].charAt(1)&&Ve[2].charAt(0)==Ve[2].charAt(1)?Ve[0].charAt(0)+Ve[1].charAt(0)+Ve[2].charAt(0):Ve.join("")}function f(ye,Be,Q,ie,Ve){var J=[Z(h(ye).toString(16)),Z(h(Be).toString(16)),Z(h(Q).toString(16)),Z(Se(ie))];return Ve&&J[0].charAt(0)==J[0].charAt(1)&&J[1].charAt(0)==J[1].charAt(1)&&J[2].charAt(0)==J[2].charAt(1)&&J[3].charAt(0)==J[3].charAt(1)?J[0].charAt(0)+J[1].charAt(0)+J[2].charAt(0)+J[3].charAt(0):J.join("")}function A(ye,Be,Q,ie){var Ve=[Z(Se(ie)),Z(h(ye).toString(16)),Z(h(Be).toString(16)),Z(h(Q).toString(16))];return Ve.join("")}t.equals=function(ye,Be){return!ye||!Be?!1:t(ye).toRgbString()==t(Be).toRgbString()},t.random=function(){return t.fromRatio({r:n(),g:n(),b:n()})};function v(ye,Be){Be=Be===0?0:Be||10;var Q=t(ye).toHsl();return Q.s-=Be/100,Q.s=z(Q.s),t(Q)}function x(ye,Be){Be=Be===0?0:Be||10;var Q=t(ye).toHsl();return Q.s+=Be/100,Q.s=z(Q.s),t(Q)}function b(ye){return t(ye).desaturate(100)}function w(ye,Be){Be=Be===0?0:Be||10;var Q=t(ye).toHsl();return Q.l+=Be/100,Q.l=z(Q.l),t(Q)}function _(ye,Be){Be=Be===0?0:Be||10;var Q=t(ye).toRgb();return Q.r=o(0,c(255,Q.r-h(255*-(Be/100)))),Q.g=o(0,c(255,Q.g-h(255*-(Be/100)))),Q.b=o(0,c(255,Q.b-h(255*-(Be/100)))),t(Q)}function T(ye,Be){Be=Be===0?0:Be||10;var Q=t(ye).toHsl();return Q.l-=Be/100,Q.l=z(Q.l),t(Q)}function S(ye,Be){var Q=t(ye).toHsl(),ie=(Q.h+Be)%360;return Q.h=ie<0?360+ie:ie,t(Q)}function E(ye){var Be=t(ye).toHsl();return Be.h=(Be.h+180)%360,t(Be)}function I(ye){var Be=t(ye).toHsl(),Q=Be.h;return[t(ye),t({h:(Q+120)%360,s:Be.s,l:Be.l}),t({h:(Q+240)%360,s:Be.s,l:Be.l})]}function O(ye){var Be=t(ye).toHsl(),Q=Be.h;return[t(ye),t({h:(Q+90)%360,s:Be.s,l:Be.l}),t({h:(Q+180)%360,s:Be.s,l:Be.l}),t({h:(Q+270)%360,s:Be.s,l:Be.l})]}function F(ye){var Be=t(ye).toHsl(),Q=Be.h;return[t(ye),t({h:(Q+72)%360,s:Be.s,l:Be.l}),t({h:(Q+216)%360,s:Be.s,l:Be.l})]}function k(ye,Be,Q){Be=Be||6,Q=Q||30;var ie=t(ye).toHsl(),Ve=360/Q,J=[t(ye)];for(ie.h=(ie.h-(Ve*Be>>1)+720)%360;--Be;)ie.h=(ie.h+Ve)%360,J.push(t(ie));return J}function M(ye,Be){Be=Be||6;for(var Q=t(ye).toHsv(),ie=Q.h,Ve=Q.s,J=Q.v,W=[],j=1/Be;Be--;)W.push(t({h:ie,s:Ve,v:J})),J=(J+j)%1;return W}t.mix=function(ye,Be,Q){Q=Q===0?0:Q||50;var ie=t(ye).toRgb(),Ve=t(Be).toRgb(),J=Q/100,W={r:(Ve.r-ie.r)*J+ie.r,g:(Ve.g-ie.g)*J+ie.g,b:(Ve.b-ie.b)*J+ie.b,a:(Ve.a-ie.a)*J+ie.a};return t(W)},t.readability=function(ye,Be){var Q=t(ye),ie=t(Be);return(m.max(Q.getLuminance(),ie.getLuminance())+.05)/(m.min(Q.getLuminance(),ie.getLuminance())+.05)},t.isReadable=function(ye,Be,Q){var ie=t.readability(ye,Be),Ve,J;J=!1,Ve=Ue(Q);switch(Ve.level+Ve.size){case"AAsmall":case"AAAlarge":J=ie>=4.5;break;case"AAlarge":J=ie>=3;break;case"AAAsmall":J=ie>=7;break}return J},t.mostReadable=function(ye,Be,Q){var ie=null,Ve=0,J,W,j,Y;Q=Q||{},W=Q.includeFallbackColors,j=Q.level,Y=Q.size;for(var me=0;me<Be.length;me++)J=t.readability(ye,Be[me]),J>Ve&&(Ve=J,ie=t(Be[me]));return t.isReadable(ye,ie,{level:j,size:Y})||!W?ie:(Q.includeFallbackColors=!1,t.mostReadable(ye,["#fff","#000"],Q))};var P=t.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"},V=t.hexNames=D(P);function D(ye){var Be={};for(var Q in ye)ye.hasOwnProperty(Q)&&(Be[ye[Q]]=Q);return Be}function H(ye){return ye=parseFloat(ye),(isNaN(ye)||ye<0||ye>1)&&(ye=1),ye}function U(ye,Be){G(ye)&&(ye="100%");var Q=X(ye);return ye=c(Be,o(0,parseFloat(ye))),Q&&(ye=parseInt(ye*Be,10)/100),m.abs(ye-Be)<1e-6?1:ye%Be/parseFloat(Be)}function z(ye){return c(1,o(0,ye))}function K(ye){return parseInt(ye,16)}function G(ye){return typeof ye=="string"&&ye.indexOf(".")!=-1&&parseFloat(ye)===1}function X(ye){return typeof ye=="string"&&ye.indexOf("%")!=-1}function Z(ye){return ye.length==1?"0"+ye:""+ye}function ee(ye){return ye<=1&&(ye=ye*100+"%"),ye}function Se(ye){return m.round(parseFloat(ye)*255).toString(16)}function $(ye){return K(ye)/255}var pe=function(){var ye="[-\\+]?\\d+%?",Be="[-\\+]?\\d*\\.\\d+%?",Q="(?:"+Be+")|(?:"+ye+")",ie="[\\s|\\(]+("+Q+")[,|\\s]+("+Q+")[,|\\s]+("+Q+")\\s*\\)?",Ve="[\\s|\\(]+("+Q+")[,|\\s]+("+Q+")[,|\\s]+("+Q+")[,|\\s]+("+Q+")\\s*\\)?";return{CSS_UNIT:new RegExp(Q),rgb:new RegExp("rgb"+ie),rgba:new RegExp("rgba"+Ve),hsl:new RegExp("hsl"+ie),hsla:new RegExp("hsla"+Ve),hsv:new RegExp("hsv"+ie),hsva:new RegExp("hsva"+Ve),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 xe(ye){return!!pe.CSS_UNIT.exec(ye)}function _e(ye){ye=ye.replace(C,"").replace(p,"").toLowerCase();var Be=!1;if(P[ye])ye=P[ye],Be=!0;else if(ye=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var Q;return(Q=pe.rgb.exec(ye))?{r:Q[1],g:Q[2],b:Q[3]}:(Q=pe.rgba.exec(ye))?{r:Q[1],g:Q[2],b:Q[3],a:Q[4]}:(Q=pe.hsl.exec(ye))?{h:Q[1],s:Q[2],l:Q[3]}:(Q=pe.hsla.exec(ye))?{h:Q[1],s:Q[2],l:Q[3],a:Q[4]}:(Q=pe.hsv.exec(ye))?{h:Q[1],s:Q[2],v:Q[3]}:(Q=pe.hsva.exec(ye))?{h:Q[1],s:Q[2],v:Q[3],a:Q[4]}:(Q=pe.hex8.exec(ye))?{r:K(Q[1]),g:K(Q[2]),b:K(Q[3]),a:$(Q[4]),format:Be?"name":"hex8"}:(Q=pe.hex6.exec(ye))?{r:K(Q[1]),g:K(Q[2]),b:K(Q[3]),format:Be?"name":"hex"}:(Q=pe.hex4.exec(ye))?{r:K(Q[1]+""+Q[1]),g:K(Q[2]+""+Q[2]),b:K(Q[3]+""+Q[3]),a:$(Q[4]+""+Q[4]),format:Be?"name":"hex8"}:(Q=pe.hex3.exec(ye))?{r:K(Q[1]+""+Q[1]),g:K(Q[2]+""+Q[2]),b:K(Q[3]+""+Q[3]),format:Be?"name":"hex"}:!1}function Ue(ye){var Be,Q;return ye=ye||{level:"AA",size:"small"},Be=(ye.level||"AA").toUpperCase(),Q=(ye.size||"small").toLowerCase(),Be!=="AA"&&Be!=="AAA"&&(Be="AA"),Q!=="small"&&Q!=="large"&&(Q="small"),{level:Be,size:Q}}B.exports?B.exports=t:!(y=function(){return t}.call(N,r,N,B),y!==void 0&&(B.exports=y))})(Math)},Zvw2:function(B,N,r){var y=r("bYtY"),m=r("hM6l"),C=function(g,h,c,o,n){m.call(this,g,h,c),this.type=o||"value",this.position=n||"bottom",this.orient=null};C.prototype={constructor:C,model:null,isHorizontal:function(){var g=this.position;return g==="top"||g==="bottom"},pointToData:function(g,h){return this.coordinateSystem.pointToData(g,h)[0]},toGlobalCoord:null,toLocalCoord:null},y.inherits(C,m);var p=C;B.exports=p},a7Wl:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"};N.default=y},a9QJ:function(B,N){var r={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function y(m,C){if(m==="world"){var p=r[C.name];if(p){var g=C.center;g[0]=p[0],g[1]=p[1]}}}B.exports=y},aHsQ:function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("6D9b"),p=r.n(C)},aKvl:function(B,N,r){var y=r("Sj9i"),m=y.quadraticProjectPoint;function C(p,g,h,c,o,n,t,a,d){if(t===0)return!1;var i=t;if(d>g+i&&d>c+i&&d>n+i||d<g-i&&d<c-i&&d<n-i||a>p+i&&a>h+i&&a>o+i||a<p-i&&a<h-i&&a<o-i)return!1;var l=m(p,g,h,c,o,n,a,d,null);return l<=i/2}N.containStroke=C},aTJb:function(B,N,r){var y=r("bLfw");y.registerSubTypeDefaulter("dataZoom",function(){return"slider"})},aX58:function(B,N,r){var y=r("3gBT"),m=r("ItGF"),C=r("bYtY"),p=r("0s+r"),g=r("r6Bn"),h=r("7SHv"),c=r("MKOG"),o=r("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 n=!m.canvasSupported,t={canvas:h},a={},d="4.3.1";function i(A,v){var x=new f(y(),A,v);return a[x.id]=x,x}function l(A){if(A)A.dispose();else{for(var v in a)a.hasOwnProperty(v)&&a[v].dispose();a={}}return this}function e(A){return a[A]}function s(A,v){t[A]=v}function u(A){delete a[A]}var f=function(v,x,b){b=b||{},this.dom=x,this.id=v;var w=this,_=new g,T=b.renderer;if(n){if(!t.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");T="vml"}else(!T||!t[T])&&(T="canvas");var S=new t[T](x,_,b,v);this.storage=_,this.painter=S;var E=!m.node&&!m.worker?new o(S.getViewportRoot(),S.root):null;this.handler=new p(_,S,E,S.root),this.animation=new c({stage:{update:C.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var I=_.delFromStorage,O=_.addToStorage;_.delFromStorage=function(F){I.call(_,F),F&&F.removeSelfFromZr(w)},_.addToStorage=function(F){O.call(_,F),F.addSelfToZr(w)}};f.prototype={constructor:f,getId:function(){return this.id},add:function(v){this.storage.addRoot(v),this._needsRefresh=!0},remove:function(v){this.storage.delRoot(v),this._needsRefresh=!0},configLayer:function(v,x){this.painter.configLayer&&this.painter.configLayer(v,x),this._needsRefresh=!0},setBackgroundColor:function(v){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(v),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 v;this._needsRefresh&&(v=!0,this.refreshImmediately()),this._needsRefreshHover&&(v=!0,this.refreshHoverImmediately()),v&&this.trigger("rendered")},addHover:function(v,x){if(this.painter.addHover){var b=this.painter.addHover(v,x);return this.refreshHover(),b}},removeHover:function(v){this.painter.removeHover&&(this.painter.removeHover(v),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(v){v=v||{},this.painter.resize(v.width,v.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(v,x){return this.painter.pathToImage(v,x)},setCursorStyle:function(v){this.handler.setCursorStyle(v)},findHover:function(v,x){return this.handler.findHover(v,x)},on:function(v,x,b){this.handler.on(v,x,b)},off:function(v,x){this.handler.off(v,x)},trigger:function(v,x){this.handler.trigger(v,x)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,u(this.id)}},N.version=d,N.init=i,N.dispose=l,N.getInstance=e,N.registerPainter=s},aX7z:function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("bYtY"),p=r("GMDS"),g=r("ieMj"),h=r("4NgU"),c=r("OELB"),o=r("nVfU"),n=o.prepareLayoutBarSeries,t=o.makeColumnLayout,a=o.retrieveColumnLayout,d=r("mFDi");r("IWp7"),r("jCoz");function i(_,T){var S=_.type,E=T.getMin(),I=T.getMax(),O=_.getExtent(),F,k,M;S==="ordinal"?F=T.getCategories().length:(k=T.get("boundaryGap"),C.isArray(k)||(k=[k||0,k||0]),typeof k[0]=="boolean"&&(k=[0,0]),k[0]=c.parsePercent(k[0],1),k[1]=c.parsePercent(k[1],1),M=O[1]-O[0]||Math.abs(O[0])),E==="dataMin"?E=O[0]:typeof E=="function"&&(E=E({min:O[0],max:O[1]})),I==="dataMax"?I=O[1]:typeof I=="function"&&(I=I({min:O[0],max:O[1]}));var P=E!=null,V=I!=null;E==null&&(E=S==="ordinal"?F?0:NaN:O[0]-k[0]*M),I==null&&(I=S==="ordinal"?F?F-1:NaN:O[1]+k[1]*M),(E==null||!isFinite(E))&&(E=NaN),(I==null||!isFinite(I))&&(I=NaN),_.setBlank(C.eqNaN(E)||C.eqNaN(I)||S==="ordinal"&&!_.getOrdinalMeta().categories.length),T.getNeedCrossZero()&&(E>0&&I>0&&!P&&(E=0),E<0&&I<0&&!V&&(I=0));var D=T.ecModel;if(D&&S==="time"){var H=n("bar",D),U;if(C.each(H,function(G){U|=G.getBaseAxis()===T.axis}),U){var z=t(H),K=l(E,I,T,z);E=K.min,I=K.max}}return{extent:[E,I],fixMin:P,fixMax:V}}function l(_,T,S,E){var I=S.axis.getExtent(),O=I[1]-I[0],F=a(E,S.axis);if(F===void 0)return{min:_,max:T};var k=Infinity;C.each(F,function(U){k=Math.min(U.offset,k)});var M=-Infinity;C.each(F,function(U){M=Math.max(U.offset+U.width,M)}),k=Math.abs(k),M=Math.abs(M);var P=k+M,V=T-_,D=1-(k+M)/O,H=V/D-V;return T+=H*(M/P),_-=H*(k/P),{min:_,max:T}}function e(_,T){var S=i(_,T),E=S.extent,I=T.get("splitNumber");_.type==="log"&&(_.base=T.get("logBase"));var O=_.type;_.setExtent(E[0],E[1]),_.niceExtent({splitNumber:I,fixMin:S.fixMin,fixMax:S.fixMax,minInterval:O==="interval"||O==="time"?T.get("minInterval"):null,maxInterval:O==="interval"||O==="time"?T.get("maxInterval"):null});var F=T.get("interval");F!=null&&(_.setInterval&&_.setInterval(F))}function s(_,T){if(T=T||_.get("type"),T)switch(T){case"category":return new p(_.getOrdinalMeta?_.getOrdinalMeta():_.getCategories(),[Infinity,-Infinity]);case"value":return new g;default:return(h.getClass(T)||g).create(_)}}function u(_){var T=_.scale.getExtent(),S=T[0],E=T[1];return!(S>0&&E>0||S<0&&E<0)}function f(_){var T=_.getLabelModel().get("formatter"),S=_.type==="category"?_.scale.getExtent()[0]:null;return typeof T=="string"?(T=function(E){return function(I){return I=_.scale.getLabel(I),E.replace("{value}",I!=null?I:"")}}(T),T):typeof T=="function"?function(E,I){return S!=null&&(I=E-S),T(A(_,E),I)}:function(E){return _.scale.getLabel(E)}}function A(_,T){return _.type==="category"?_.scale.getLabel(T):T}function v(_){var T=_.model,S=_.scale;if(!T.get("axisLabel.show")||S.isBlank())return;var E=_.type==="category",I,O,F=S.getExtent();E?O=S.count():(I=S.getTicks(),O=I.length);var k=_.getLabelModel(),M=f(_),P,V=1;O>40&&(V=Math.ceil(O/40));for(var D=0;D<O;D+=V){var H=I?I[D]:F[0]+D,U=M(H),z=k.getTextRect(U),K=x(z,k.get("rotate")||0);P?P.union(K):P=K}return P}function x(_,T){var S=T*Math.PI/180,E=_.plain(),I=E.width,O=E.height,F=I*Math.cos(S)+O*Math.sin(S),k=I*Math.sin(S)+O*Math.cos(S),M=new d(E.x,E.y,F,k);return M}function b(_){var T=_.get("interval");return T==null?"auto":T}function w(_){return _.type==="category"&&b(_.getLabelModel())===0}N.getScaleExtent=i,N.niceScaleExtent=e,N.createScaleByModel=s,N.ifAxisCrossZero=u,N.makeLabelFormatter=f,N.getAxisRawValue=A,N.estimateLabelUnionRect=v,N.getOptionCategoryInterval=b,N.shouldShowAllLabels=w},"af/B":function(B,N,r){var y=r("bYtY"),m=y.each,C=y.map,p=y.isFunction,g=y.createHashMap,h=y.noop,c=r("9H2F"),o=c.createTask,n=r("iRjW"),t=n.getUID,a=r("fmMI"),d=r("hD7B"),i=r("4NO4"),l=i.normalizeToArray;function e(U,z,K,G){this.ecInstance=U,this.api=z,this.unfinished;var K=this._dataProcessorHandlers=K.slice(),G=this._visualHandlers=G.slice();this._allHandlers=K.concat(G),this._stageTaskMap=g()}var s=e.prototype;s.restoreData=function(U,z){U.restoreData(z),this._stageTaskMap.each(function(K){var G=K.overallTask;G&&G.dirty()})},s.getPerformArgs=function(U,z){if(!U.__pipeline)return;var K=this._pipelineMap.get(U.__pipeline.id),G=K.context,X=!z&&K.progressiveEnabled&&(!G||G.progressiveRender)&&U.__idxInPipeline>K.blockIndex,Z=X?K.step:null,ee=G&&G.modDataCount,Se=ee!=null?Math.ceil(ee/Z):null;return{step:Z,modBy:Se,modDataCount:ee}},s.getPipeline=function(U){return this._pipelineMap.get(U)},s.updateStreamModes=function(U,z){var K=this._pipelineMap.get(U.uid),G=U.getData(),X=G.count(),Z=K.progressiveEnabled&&z.incrementalPrepareRender&&X>=K.threshold,ee=U.get("large")&&X>=U.get("largeThreshold"),Se=U.get("progressiveChunkMode")==="mod"?X:null;U.pipelineContext=K.context={progressiveRender:Z,modDataCount:Se,large:ee}},s.restorePipelines=function(U){var z=this,K=z._pipelineMap=g();U.eachSeries(function(G){var X=G.getProgressive(),Z=G.uid;K.set(Z,{id:Z,head:null,tail:null,threshold:G.getProgressiveThreshold(),progressiveEnabled:X&&!(G.preventIncremental&&G.preventIncremental()),blockIndex:-1,step:Math.round(X||700),count:0}),F(z,G,G.dataTask)})},s.prepareStageTasks=function(){var U=this._stageTaskMap,z=this.ecInstance.getModel(),K=this.api;m(this._allHandlers,function(G){var X=U.get(G.uid)||U.set(G.uid,[]);G.reset&&A(this,G,X,z,K),G.overallReset&&v(this,G,X,z,K)},this)},s.prepareView=function(U,z,K,G){var X=U.renderTask,Z=X.context;Z.model=z,Z.ecModel=K,Z.api=G,X.__block=!U.incrementalPrepareRender,F(this,z,X)},s.performDataProcessorTasks=function(U,z){u(this,this._dataProcessorHandlers,U,z,{block:!0})},s.performVisualTasks=function(U,z,K){u(this,this._visualHandlers,U,z,K)};function u(U,z,K,G,X){X=X||{};var Z;m(z,function(Se,$){if(X.visualType&&X.visualType!==Se.visualType)return;var pe=U._stageTaskMap.get(Se.uid),xe=pe.seriesTaskMap,_e=pe.overallTask;if(_e){var Ue,ye=_e.agentStubMap;ye.each(function(Q){ee(X,Q)&&(Q.dirty(),Ue=!0)}),Ue&&_e.dirty(),f(_e,G);var Be=U.getPerformArgs(_e,X.block);ye.each(function(Q){Q.perform(Be)}),Z|=_e.perform(Be)}else xe&&xe.each(function(Q,ie){ee(X,Q)&&Q.dirty();var Ve=U.getPerformArgs(Q,X.block);Ve.skip=!Se.performRawSeries&&K.isSeriesFiltered(Q.context.model),f(Q,G),Z|=Q.perform(Ve)})});function ee(Se,$){return Se.setDirty&&(!Se.dirtyMap||Se.dirtyMap.get($.__pipeline.id))}U.unfinished|=Z}s.performSeriesTasks=function(U){var z;U.eachSeries(function(K){z|=K.dataTask.perform()}),this.unfinished|=z},s.plan=function(){this._pipelineMap.each(function(U){var z=U.tail;do{if(z.__block){U.blockIndex=z.__idxInPipeline;break}z=z.getUpstream()}while(z)})};var f=s.updatePayload=function(U,z){z!=="remain"&&(U.context.payload=z)};function A(U,z,K,G,X){var Z=K.seriesTaskMap||(K.seriesTaskMap=g()),ee=z.seriesType,Se=z.getTargetSeries;z.createOnAllSeries?G.eachRawSeries($):ee?G.eachRawSeriesByType(ee,$):Se&&Se(G,X).each($);function $(xe){var _e=xe.uid,Ue=Z.get(_e)||Z.set(_e,o({plan:T,reset:S,count:O}));Ue.context={model:xe,ecModel:G,api:X,useClearVisual:z.isVisual&&!z.isLayout,plan:z.plan,reset:z.reset,scheduler:U},F(U,xe,Ue)}var pe=U._pipelineMap;Z.each(function(xe,_e){pe.get(_e)||(xe.dispose(),Z.removeKey(_e))})}function v(U,z,K,G,X){var Z=K.overallTask=K.overallTask||o({reset:x});Z.context={ecModel:G,api:X,overallReset:z.overallReset,scheduler:U};var ee=Z.agentStubMap=Z.agentStubMap||g(),Se=z.seriesType,$=z.getTargetSeries,pe=!0,xe=z.modifyOutputEnd;Se?G.eachRawSeriesByType(Se,_e):$?$(G,X).each(_e):(pe=!1,m(G.getSeries(),_e));function _e(ye){var Be=ye.uid,Q=ee.get(Be);Q||(Q=ee.set(Be,o({reset:b,onDirty:_})),Z.dirty()),Q.context={model:ye,overallProgress:pe,modifyOutputEnd:xe},Q.agent=Z,Q.__block=pe,F(U,ye,Q)}var Ue=U._pipelineMap;ee.each(function(ye,Be){Ue.get(Be)||(ye.dispose(),Z.dirty(),ee.removeKey(Be))})}function x(U){U.overallReset(U.ecModel,U.api,U.payload)}function b(U,z){return U.overallProgress&&w}function w(){this.agent.dirty(),this.getDownstream().dirty()}function _(){this.agent&&this.agent.dirty()}function T(U){return U.plan&&U.plan(U.model,U.ecModel,U.api,U.payload)}function S(U){U.useClearVisual&&U.data.clearAllVisual();var z=U.resetDefines=l(U.reset(U.model,U.ecModel,U.api,U.payload));return z.length>1?C(z,function(K,G){return I(G)}):E}var E=I(0);function I(U){return function(z,K){var G=K.data,X=K.resetDefines[U];if(X&&X.dataEach)for(var Z=z.start;Z<z.end;Z++)X.dataEach(G,Z);else X&&X.progress&&X.progress(z,G)}}function O(U){return U.data.count()}function F(U,z,K){var G=z.uid,X=U._pipelineMap.get(G);!X.head&&(X.head=K),X.tail&&X.tail.pipe(K),X.tail=K,K.__idxInPipeline=X.count++,K.__pipeline=X}e.wrapStageHandler=function(U,z){return p(U)&&(U={overallReset:U,seriesType:k(U)}),U.uid=t("stageHandler"),z&&(U.visualType=z),U};function k(U){V=null;try{U(M,P)}catch(z){}return V}var M={},P={},V;D(M,a),D(P,d),M.eachSeriesByType=M.eachRawSeriesByType=function(U){V=U},M.eachComponent=function(U){U.mainType==="series"&&U.subType&&(V=U.subType)};function D(U,z){for(var K in z.prototype)U[K]=h}var H=e;B.exports=H},akwb:function(B,N,r){var y=r("RSch"),m=r("bYtY"),C=r("D9ME"),p=r("QBsz");function g(o,n,t){C.call(this,o,n,t),this._lastFrame=0,this._lastFramePercent=0}var h=g.prototype;h.createLine=function(o,n,t){return new y(o,n,t)},h.updateAnimationPoints=function(o,n){this._points=n;for(var t=[0],a=0,d=1;d<n.length;d++){var i=n[d-1],l=n[d];a+=p.dist(i,l),t.push(a)}if(a===0)return;for(var d=0;d<t.length;d++)t[d]/=a;this._offsets=t,this._length=a},h.getLineLength=function(o){return this._length},h.updateSymbolPosition=function(o){var n=o.__t,t=this._points,a=this._offsets,d=t.length;if(!a)return;var i=this._lastFrame,l;if(n<this._lastFramePercent){var e=Math.min(i+1,d-1);for(l=e;l>=0&&!(a[l]<=n);l--);l=Math.min(l,d-2)}else{for(var l=i;l<d&&!(a[l]>n);l++);l=Math.min(l-1,d-2)}p.lerp(o.position,t[l],t[l+1],(n-a[l])/(a[l+1]-a[l]));var s=t[l+1][0]-t[l][0],u=t[l+1][1]-t[l][1];o.rotation=-Math.atan2(u,s)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=n,o.ignore=!1},m.inherits(g,C);var c=g;B.exports=c},apAg:function(B,N,r){"use strict";var y=r("284h"),m=r("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var C=m(r("3tO9")),p=y(r("q1tI")),g=m(r("bsht")),h=m(r("KQxl")),c=function(t,a){return p.createElement(h.default,(0,C.default)((0,C.default)({},t),{},{ref:a,icon:g.default}))};c.displayName="SearchOutlined";var o=p.forwardRef(c);N.default=o},as94:function(B,N,r){var y=r("7aKB"),m=r("3LNs"),C=r("IwbS"),p=r("/y7N"),g=r("Fofx"),h=r("+rIm"),c=r("Znkb"),o=m.extend({makeElOption:function(d,i,l,e,s){var u=l.axis;u.dim==="angle"&&(this.animationThreshold=Math.PI/18);var f=u.polar,A=f.getOtherAxis(u),v=A.getExtent(),x;x=u["dataTo"+y.capitalFirst(u.dim)](i);var b=e.get("type");if(b&&b!=="none"){var w=p.buildElStyle(e),_=t[b](u,f,x,v,w);_.style=w,d.graphicKey=_.type,d.pointer=_}var T=e.get("label.margin"),S=n(i,l,e,f,T);p.buildLabelElOption(d,l,e,s,S)}});function n(d,i,l,e,s){var u=i.axis,f=u.dataToCoord(d),A=e.getAngleAxis().getExtent()[0];A=A/180*Math.PI;var v=e.getRadiusAxis().getExtent(),x,b,w;if(u.dim==="radius"){var _=g.create();g.rotate(_,_,A),g.translate(_,_,[e.cx,e.cy]),x=C.applyTransform([f,-s],_);var T=i.getModel("axisLabel").get("rotate")||0,S=h.innerTextLayout(A,T*Math.PI/180,-1);b=S.textAlign,w=S.textVerticalAlign}else{var E=v[1];x=e.coordToPoint([E+s,f]);var I=e.cx,O=e.cy;b=Math.abs(x[0]-I)/E<.3?"center":x[0]>I?"left":"right",w=Math.abs(x[1]-O)/E<.3?"middle":x[1]>O?"top":"bottom"}return{position:x,align:b,verticalAlign:w}}var t={line:function(d,i,l,e,s){return d.dim==="angle"?{type:"Line",shape:p.makeLineShape(i.coordToPoint([e[0],l]),i.coordToPoint([e[1],l]))}:{type:"Circle",shape:{cx:i.cx,cy:i.cy,r:l}}},shadow:function(d,i,l,e,s){var u=Math.max(1,d.getBandWidth()),f=Math.PI/180;return d.dim==="angle"?{type:"Sector",shape:p.makeSectorShape(i.cx,i.cy,e[0],e[1],(-l-u/2)*f,(-l+u/2)*f)}:{type:"Sector",shape:p.makeSectorShape(i.cx,i.cy,l-u/2,l+u/2,0,Math.PI*2)}}};c.registerAxisPointerClass("PolarAxisPointer",o);var a=o;B.exports=a},b56q:function(B,N,r){},b80e:function(B,N,r){"use strict";var y=r("284h"),m=r("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var C=m(r("3tO9")),p=y(r("q1tI")),g=m(r("gKaM")),h=m(r("KQxl")),c=function(t,a){return p.createElement(h.default,(0,C.default)((0,C.default)({},t),{},{ref:a,icon:g.default}))};c.displayName="DoubleLeftOutlined";var o=p.forwardRef(c);N.default=o},b9oc:function(B,N,r){var y=r("bYtY"),m=y.each,C="\0_ec_hist_store";function p(n,t){var a=o(n);m(t,function(d,i){for(var l=a.length-1;l>=0;l--){var e=a[l];if(e[i])break}if(l<0){var s=n.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(s){var u=s.getPercentRange();a[0][i]={dataZoomId:i,start:u[0],end:u[1]}}}}),a.push(t)}function g(n){var t=o(n),a=t[t.length-1];t.length>1&&t.pop();var d={};return m(a,function(i,l){for(var e=t.length-1;e>=0;e--){var i=t[e][l];if(i){d[l]=i;break}}}),d}function h(n){n[C]=null}function c(n){return o(n).length}function o(n){var t=n[C];return t||(t=n[C]=[{}]),t}N.push=p,N.pop=g,N.clear=h,N.count=c},bBKM:function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("ProS"),p=r("bYtY"),g=r("+rIm"),h=r("IwbS"),c=["axisLine","axisTickLabel","axisName"],o=C.extendComponentView({type:"radar",render:function(n,t,a){var d=this.group;d.removeAll(),this._buildAxes(n),this._buildSplitLineAndArea(n)},_buildAxes:function(n){var t=n.coordinateSystem,a=t.getIndicatorAxes(),d=p.map(a,function(i){var l=new g(i.model,{position:[t.cx,t.cy],rotation:i.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return l});p.each(d,function(i){p.each(c,i.add,i),this.group.add(i.getGroup())},this)},_buildSplitLineAndArea:function(n){var t=n.coordinateSystem,a=t.getIndicatorAxes();if(!a.length)return;var d=n.get("shape"),i=n.getModel("splitLine"),l=n.getModel("splitArea"),e=i.getModel("lineStyle"),s=l.getModel("areaStyle"),u=i.get("show"),f=l.get("show"),A=e.get("color"),v=s.get("color");A=p.isArray(A)?A:[A],v=p.isArray(v)?v:[v];var x=[],b=[];function w(H,U,z){var K=z%U.length;return H[K]=H[K]||[],K}if(d==="circle")for(var _=a[0].getTicksCoords(),T=t.cx,S=t.cy,E=0;E<_.length;E++){if(u){var I=w(x,A,E);x[I].push(new h.Circle({shape:{cx:T,cy:S,r:_[E].coord}}))}if(f&&E<_.length-1){var I=w(b,v,E);b[I].push(new h.Ring({shape:{cx:T,cy:S,r0:_[E].coord,r:_[E+1].coord}}))}}else for(var O,F=p.map(a,function(H,U){var z=H.getTicksCoords();return O=O==null?z.length-1:Math.min(z.length-1,O),p.map(z,function(K){return t.coordToPoint(K.coord,U)})}),k=[],E=0;E<=O;E++){for(var M=[],P=0;P<a.length;P++)M.push(F[P][E]);if(M[0]&&M.push(M[0].slice()),u){var I=w(x,A,E);x[I].push(new h.Polyline({shape:{points:M}}))}if(f&&k){var I=w(b,v,E-1);b[I].push(new h.Polygon({shape:{points:M.concat(k)}}))}k=M.slice().reverse()}var V=e.getLineStyle(),D=s.getAreaStyle();p.each(b,function(H,U){this.group.add(h.mergePath(H,{style:p.defaults({stroke:"none",fill:v[U%v.length]},D),silent:!0}))},this),p.each(x,function(H,U){this.group.add(h.mergePath(H,{style:p.defaults({fill:"none",stroke:A[U%A.length]},V),silent:!0}))},this)}});B.exports=o},bBL8:function(B,N,r){var y=r("ProS");r("LPzL"),r("rfSb"),r("JVwQ");var m=r("UnoB"),C=r("cbJ4"),p=r("0/Rx");y.registerLayout(m),y.registerVisual(C),y.registerProcessor(p("themeRiver"))},bE4E:function(B,N,r){},bE4q:function(B,N,r){"use strict";var y=r("pVnL"),m=r.n(y),C=r("lSNA"),p=r.n(C),g=r("RIqP"),h=r.n(g),c=r("q1tI"),o=r("TSYQ"),n=r.n(o),t=r("Zm9Q"),a=r("HQEm"),d=r.n(a),i=r("XBQK"),l=r("H84U"),e=function(k,M){var P={};for(var V in k)Object.prototype.hasOwnProperty.call(k,V)&&M.indexOf(V)<0&&(P[V]=k[V]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,V=Object.getOwnPropertySymbols(k);D<V.length;D++)M.indexOf(V[D])<0&&Object.prototype.propertyIsEnumerable.call(k,V[D])&&(P[V[D]]=k[V[D]]);return P},s=function(M){var P=M.prefixCls,V=M.separator,D=V===void 0?"/":V,H=M.children,U=M.overlay,z=M.dropdownProps,K=e(M,["prefixCls","separator","children","overlay","dropdownProps"]),G=c.useContext(l.b),X=G.getPrefixCls,Z=X("breadcrumb",P),ee=function(pe){return U?c.createElement(i.a,m()({overlay:U,placement:"bottomCenter"},z),c.createElement("span",{className:"".concat(Z,"-overlay-link")},pe,c.createElement(d.a,null))):pe},Se;return"href"in K?Se=c.createElement("a",m()({className:"".concat(Z,"-link")},K),H):Se=c.createElement("span",m()({className:"".concat(Z,"-link")},K),H),Se=ee(Se),H?c.createElement("span",null,Se,D&&D!==""&&c.createElement("span",{className:"".concat(Z,"-separator")},D)):null};s.__ANT_BREADCRUMB_ITEM=!0;var u=s,f=function(M){var P=M.children,V=c.useContext(l.b),D=V.getPrefixCls,H=D("breadcrumb");return c.createElement("span",{className:"".concat(H,"-separator")},P||"/")};f.__ANT_BREADCRUMB_SEPARATOR=!0;var A=f,v=r("BvKs"),x=r("uaoM"),b=r("0n0R"),w=function(k,M){var P={};for(var V in k)Object.prototype.hasOwnProperty.call(k,V)&&M.indexOf(V)<0&&(P[V]=k[V]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,V=Object.getOwnPropertySymbols(k);D<V.length;D++)M.indexOf(V[D])<0&&Object.prototype.propertyIsEnumerable.call(k,V[D])&&(P[V[D]]=k[V[D]]);return P};function _(k,M){if(!k.breadcrumbName)return null;var P=Object.keys(M).join("|"),V=k.breadcrumbName.replace(new RegExp(":(".concat(P,")"),"g"),function(D,H){return M[H]||D});return V}function T(k,M,P,V){var D=P.indexOf(k)===P.length-1,H=_(k,M);return D?c.createElement("span",null,H):c.createElement("a",{href:"#/".concat(V.join("/"))},H)}var S=function(M,P){return M=(M||"").replace(/^\//,""),Object.keys(P).forEach(function(V){M=M.replace(":".concat(V),P[V])}),M},E=function(M){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",V=arguments.length>2?arguments[2]:void 0,D=h()(M),H=S(P,V);return H&&D.push(H),D},I=function(M){var P=M.prefixCls,V=M.separator,D=V===void 0?"/":V,H=M.style,U=M.className,z=M.routes,K=M.children,G=M.itemRender,X=G===void 0?T:G,Z=M.params,ee=Z===void 0?{}:Z,Se=w(M,["prefixCls","separator","style","className","routes","children","itemRender","params"]),$=c.useContext(l.b),pe=$.getPrefixCls,xe=$.direction,_e,Ue=pe("breadcrumb",P);if(z&&z.length>0){var ye=[];_e=z.map(function(Q){var ie=S(Q.path,ee);ie&&ye.push(ie);var Ve;return Q.children&&Q.children.length&&(Ve=c.createElement(v.a,null,Q.children.map(function(J){return c.createElement(v.a.Item,{key:J.path||J.breadcrumbName},X(J,ee,z,E(ye,J.path,ee)))}))),c.createElement(u,{overlay:Ve,separator:D,key:ie||Q.breadcrumbName},X(Q,ee,z,ye))})}else K&&(_e=Object(t.a)(K).map(function(Q,ie){return Q&&(Object(x.a)(Q.type&&(Q.type.__ANT_BREADCRUMB_ITEM===!0||Q.type.__ANT_BREADCRUMB_SEPARATOR===!0),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),Object(b.a)(Q,{separator:D,key:ie}))}));var Be=n()(U,Ue,p()({},"".concat(Ue,"-rtl"),xe==="rtl"));return c.createElement("div",m()({className:Be,style:H},Se),_e)};I.Item=u,I.Separator=A;var O=I,F=N.a=O},bKJz:function(B,N,r){},bLfw:function(B,N,r){var y=r("bYtY"),m=r("Qxkt"),C=r("iRjW"),p=r("Yl7c"),g=p.enableClassManagement,h=p.parseClassType,c=r("4NO4"),o=c.makeInner,n=r("+TT/"),t=r("3hzK"),a=o(),d=m.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(e,s,u,f){m.call(this,e,s,u,f),this.uid=C.getUID("ec_cpt_model")},init:function(e,s,u,f){this.mergeDefaultAndTheme(e,u)},mergeDefaultAndTheme:function(e,s){var u=this.layoutMode,f=u?n.getLayoutParams(e):{},A=s.getTheme();y.merge(e,A.get(this.mainType)),y.merge(e,this.getDefaultOption()),u&&n.mergeLayoutParam(e,f,u)},mergeOption:function(e,s){y.merge(this.option,e,!0);var u=this.layoutMode;u&&n.mergeLayoutParam(this.option,e,u)},optionUpdated:function(e,s){},getDefaultOption:function(){var e=a(this);if(!e.defaultOption){for(var s=[],u=this.constructor;u;){var f=u.prototype.defaultOption;f&&s.push(f),u=u.superClass}for(var A={},v=s.length-1;v>=0;v--)A=y.merge(A,s[v],!0);e.defaultOption=A}return e.defaultOption},getReferringComponents:function(e){return this.ecModel.queryComponents({mainType:e,index:this.get(e+"Index",!0),id:this.get(e+"Id",!0)})}});g(d,{registerWhenExtend:!0}),C.enableSubTypeDefaulter(d),C.enableTopologicalTravel(d,i);function i(e){var s=[];return y.each(d.getClassesByMainType(e),function(u){s=s.concat(u.prototype.dependencies||[])}),s=y.map(s,function(u){return h(u).main}),e!=="dataset"&&y.indexOf(s,"dataset")<=0&&s.unshift("dataset"),s}y.mixin(d,t);var l=d;B.exports=l},bMXI:function(B,N,r){var y=r("bYtY"),m=r("QBsz"),C=r("Fofx"),p=r("mFDi"),g=r("DN4a"),h=m.applyTransform;function c(){g.call(this)}y.mixin(c,g);function o(a){this.name=a,this.zoomLimit,g.call(this),this._roamTransformable=new c,this._rawTransformable=new c,this._center,this._zoom}o.prototype={constructor:o,type:"view",dimensions:["x","y"],setBoundingRect:function(a,d,i,l){return this._rect=new p(a,d,i,l),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(a,d,i,l){this.transformTo(a,d,i,l),this._viewRect=new p(a,d,i,l)},transformTo:function(a,d,i,l){var e=this.getBoundingRect(),s=this._rawTransformable;s.transform=e.calculateTransform(new p(a,d,i,l)),s.decomposeTransform(),this._updateTransform()},setCenter:function(a){if(!a)return;this._center=a,this._updateCenterAndZoom()},setZoom:function(a){a=a||1;var d=this.zoomLimit;d&&(d.max!=null&&(a=Math.min(d.max,a)),d.min!=null&&(a=Math.max(d.min,a))),this._zoom=a,this._updateCenterAndZoom()},getDefaultCenter:function(){var a=this.getBoundingRect(),d=a.x+a.width/2,i=a.y+a.height/2;return[d,i]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var a=this._rawTransformable.getLocalTransform(),d=this._roamTransformable,i=this.getDefaultCenter(),l=this.getCenter(),e=this.getZoom();l=m.applyTransform([],l,a),i=m.applyTransform([],i,a),d.origin=l,d.position=[i[0]-l[0],i[1]-l[1]],d.scale=[e,e],this._updateTransform()},_updateTransform:function(){var a=this._roamTransformable,d=this._rawTransformable;d.parent=a,a.updateTransform(),d.updateTransform(),C.copy(this.transform||(this.transform=[]),d.transform||C.create()),this._rawTransform=d.getLocalTransform(),this.invTransform=this.invTransform||[],C.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var a=this._roamTransformable.transform,d=this._rawTransformable;return{roamTransform:a?y.slice(a):C.create(),rawScale:y.slice(d.scale),rawPosition:y.slice(d.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var a=this.getBoundingRect().clone();return a.applyTransform(this.transform),a},dataToPoint:function(a,d,i){var l=d?this._rawTransform:this.transform;return i=i||[],l?h(i,a,l):m.copy(i,a)},pointToData:function(a){var d=this.invTransform;return d?h([],a,d):[a[0],a[1]]},convertToPixel:y.curry(n,"dataToPoint"),convertFromPixel:y.curry(n,"pointToData"),containPoint:function(a){return this.getViewRectAfterRoam().contain(a[0],a[1])}},y.mixin(o,g);function n(a,d,i,l){var e=i.seriesModel,s=e?e.coordinateSystem:null;return s===this?s[a](l):null}var t=o;B.exports=t},bNin:function(B,N,r){var y=r("bYtY"),m=r("IwbS"),C=r("FBjb"),p=r("Itpr"),g=p.radialCoordinate,h=r("ProS"),c=r("4mN7"),o=r("bMXI"),n=r("Ae+d"),t=r("SgGq"),a=r("xSat"),d=a.onIrrelevantElement,i=r("Tghj"),l=i.__DEV__,e=r("OELB"),s=e.parsePercent,u=m.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(T,S){var E=S.childPoints,I=E.length,O=S.parentPoint,F=E[0],k=E[I-1];if(I===1){T.moveTo(O[0],O[1]),T.lineTo(F[0],F[1]);return}var M=S.orient,P=M==="TB"||M==="BT"?0:1,V=1-P,D=s(S.forkPosition,1),H=[];H[P]=O[P],H[V]=O[V]+(k[V]-O[V])*D,T.moveTo(O[0],O[1]),T.lineTo(H[0],H[1]),T.moveTo(F[0],F[1]),H[P]=F[P],T.lineTo(H[0],H[1]),H[P]=k[P],T.lineTo(H[0],H[1]),T.lineTo(k[0],k[1]);for(var U=1;U<I-1;U++){var z=E[U];T.moveTo(z[0],z[1]),H[P]=z[P],T.lineTo(H[0],H[1])}}}),f=h.extendChartView({type:"tree",init:function(T,S){this._oldTree,this._mainGroup=new m.Group,this._controller=new t(S.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(T,S,E,I){var O=T.getData(),F=T.layoutInfo,k=this._mainGroup,M=T.get("layout");M==="radial"?k.attr("position",[F.x+F.width/2,F.y+F.height/2]):k.attr("position",[F.x,F.y]),this._updateViewCoordSys(T,F,M),this._updateController(T,S,E);var P=this._data,V={expandAndCollapse:T.get("expandAndCollapse"),layout:M,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};O.diff(P).add(function(D){A(O,D)&&x(O,D,null,k,T,V)}).update(function(D,H){var U=P.getItemGraphicEl(H);if(!A(O,D)){U&&w(P,H,U,k,T,V);return}x(O,D,U,k,T,V)}).remove(function(D){var H=P.getItemGraphicEl(D);H&&w(P,D,H,k,T,V)}).execute(),this._nodeScaleRatio=T.get("nodeScaleRatio"),this._updateNodeAndLinkScale(T),V.expandAndCollapse===!0&&O.eachItemGraphicEl(function(D,H){D.off("click").on("click",function(){E.dispatchAction({type:"treeExpandAndCollapse",seriesId:T.id,dataIndex:H})})}),this._data=O},_updateViewCoordSys:function(T){var S=T.getData(),E=[];S.each(function(P){var V=S.getItemLayout(P);V&&!isNaN(V.x)&&!isNaN(V.y)&&E.push([+V.x,+V.y])});var I=[],O=[];c.fromPoints(E,I,O);var F=this._min,k=this._max;O[0]-I[0]===0&&(I[0]=F?F[0]:I[0]-1,O[0]=k?k[0]:O[0]+1),O[1]-I[1]===0&&(I[1]=F?F[1]:I[1]-1,O[1]=k?k[1]:O[1]+1);var M=T.coordinateSystem=new o;M.zoomLimit=T.get("scaleLimit"),M.setBoundingRect(I[0],I[1],O[0]-I[0],O[1]-I[1]),M.setCenter(T.get("center")),M.setZoom(T.get("zoom")),this.group.attr({position:M.position,scale:M.scale}),this._viewCoordSys=M,this._min=I,this._max=O},_updateController:function(T,S,E){var I=this._controller,O=this._controllerHost,F=this.group;I.setPointerChecker(function(k,M,P){var V=F.getBoundingRect();return V.applyTransform(F.transform),V.contain(M,P)&&!d(k,E,T)}),I.enable(T.get("roam")),O.zoomLimit=T.get("scaleLimit"),O.zoom=T.coordinateSystem.getZoom(),I.off("pan").off("zoom").on("pan",function(k){n.updateViewOnPan(O,k.dx,k.dy),E.dispatchAction({seriesId:T.id,type:"treeRoam",dx:k.dx,dy:k.dy})},this).on("zoom",function(k){n.updateViewOnZoom(O,k.scale,k.originX,k.originY),E.dispatchAction({seriesId:T.id,type:"treeRoam",zoom:k.scale,originX:k.originX,originY:k.originY}),this._updateNodeAndLinkScale(T)},this)},_updateNodeAndLinkScale:function(T){var S=T.getData(),E=this._getNodeGlobalScale(T),I=[E,E];S.eachItemGraphicEl(function(O,F){O.attr("scale",I)})},_getNodeGlobalScale:function(T){var S=T.coordinateSystem;if(S.type!=="view")return 1;var E=this._nodeScaleRatio,I=S.scale,O=I&&I[0]||1,F=S.getZoom(),k=(F-1)*E+1;return k/O},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function A(T,S){var E=T.getItemLayout(S);return E&&!isNaN(E.x)&&!isNaN(E.y)&&T.getItemVisual(S,"symbol")!=="none"}function v(T,S,E){return E.itemModel=S,E.itemStyle=S.getModel("itemStyle").getItemStyle(),E.hoverItemStyle=S.getModel("emphasis.itemStyle").getItemStyle(),E.lineStyle=S.getModel("lineStyle").getLineStyle(),E.labelModel=S.getModel("label"),E.hoverLabelModel=S.getModel("emphasis.label"),T.isExpand===!1&&T.children.length!==0?E.symbolInnerColor=E.itemStyle.fill:E.symbolInnerColor="#fff",E}function x(T,S,E,I,O,F){var k=!E,M=T.tree.getNodeByDataIndex(S),P=M.getModel(),F=v(M,P,F),V=T.tree.root,D=M.parentNode===V?M:M.parentNode||M,H=T.getItemGraphicEl(D.dataIndex),U=D.getLayout(),z=H?{x:H.position[0],y:H.position[1],rawX:H.__radialOldRawX,rawY:H.__radialOldRawY}:U,K=M.getLayout();k?(E=new C(T,S,F),E.attr("position",[z.x,z.y])):E.updateData(T,S,F),E.__radialOldRawX=E.__radialRawX,E.__radialOldRawY=E.__radialRawY,E.__radialRawX=K.rawX,E.__radialRawY=K.rawY,I.add(E),T.setItemGraphicEl(S,E),m.updateProps(E,{position:[K.x,K.y]},O);var G=E.getSymbolPath();if(F.layout==="radial"){var X=V.children[0],Z=X.getLayout(),ee=X.children.length,Se,$;if(K.x===Z.x&&M.isExpand===!0){var pe={};pe.x=(X.children[0].getLayout().x+X.children[ee-1].getLayout().x)/2,pe.y=(X.children[0].getLayout().y+X.children[ee-1].getLayout().y)/2,Se=Math.atan2(pe.y-Z.y,pe.x-Z.x),Se<0&&(Se=Math.PI*2+Se),$=pe.x<Z.x,$&&(Se=Se-Math.PI)}else Se=Math.atan2(K.y-Z.y,K.x-Z.x),Se<0&&(Se=Math.PI*2+Se),M.children.length===0||M.children.length!==0&&M.isExpand===!1?($=K.x<Z.x,$&&(Se=Se-Math.PI)):($=K.x>Z.x,$||(Se=Se-Math.PI));var xe=$?"left":"right",_e=F.labelModel.get("rotate"),Ue=_e*(Math.PI/180);G.setStyle({textPosition:F.labelModel.get("position")||xe,textRotation:_e==null?-Se:Ue,textOrigin:"center",verticalAlign:"middle"})}b(O,M,V,E,z,U,K,I,F)}function b(T,S,E,I,O,F,k,M,P){var V=P.edgeShape,D=I.__edge;if(V==="curve")S.parentNode&&S.parentNode!==E&&(D||(D=I.__edge=new m.BezierCurve({shape:_(P,O,O),style:y.defaults({opacity:0,strokeNoScale:!0},P.lineStyle)})),m.updateProps(D,{shape:_(P,F,k),style:{opacity:1}},T));else if(V==="polyline"&&(P.layout==="orthogonal"&&(S!==E&&S.children&&S.children.length!==0&&S.isExpand===!0))){for(var H=S.children,U=[],z=0;z<H.length;z++){var K=H[z].getLayout();U.push([K.x,K.y])}D||(D=I.__edge=new u({shape:{parentPoint:[k.x,k.y],childPoints:[[k.x,k.y]],orient:P.orient,forkPosition:P.edgeForkPosition},style:y.defaults({opacity:0,strokeNoScale:!0},P.lineStyle)})),m.updateProps(D,{shape:{parentPoint:[k.x,k.y],childPoints:U},style:{opacity:1}},T)}M.add(D)}function w(T,S,E,I,O,F){for(var k=T.tree.getNodeByDataIndex(S),M=T.tree.root,P=k.getModel(),F=v(k,P,F),V=k.parentNode===M?k:k.parentNode||k,D=F.edgeShape,H;H=V.getLayout(),H==null;)V=V.parentNode===M?V:V.parentNode||V;m.updateProps(E,{position:[H.x+1,H.y+1]},O,function(){I.remove(E),T.setItemGraphicEl(S,null)}),E.fadeOut(null,{keepLabel:!0});var U=T.getItemGraphicEl(V.dataIndex),z=U.__edge,K=E.__edge||(V.isExpand===!1||V.children.length===1?z:void 0),D=F.edgeShape;K&&(D==="curve"?m.updateProps(K,{shape:_(F,H,H),style:{opacity:0}},O,function(){I.remove(K)}):D==="polyline"&&F.layout==="orthogonal"&&m.updateProps(K,{shape:{parentPoint:[H.x,H.y],childPoints:[[H.x,H.y]]},style:{opacity:0}},O,function(){I.remove(K)}))}function _(T,S,E){var I,O,F,k,M=T.orient,P,V,D,H;if(T.layout==="radial"){P=S.rawX,D=S.rawY,V=E.rawX,H=E.rawY;var U=g(P,D),z=g(P,D+(H-D)*T.curvature),K=g(V,H+(D-H)*T.curvature),G=g(V,H);return{x1:U.x,y1:U.y,x2:G.x,y2:G.y,cpx1:z.x,cpy1:z.y,cpx2:K.x,cpy2:K.y}}else P=S.x,D=S.y,V=E.x,H=E.y,(M==="LR"||M==="RL")&&(I=P+(V-P)*T.curvature,O=D,F=V+(P-V)*T.curvature,k=H),(M==="TB"||M==="BT")&&(I=P,O=D+(H-D)*T.curvature,F=V,k=H+(D-H)*T.curvature);return{x1:P,y1:D,x2:V,y2:H,cpx1:I,cpy1:O,cpx2:F,cpy2:k}}B.exports=f},bRQS:function(B,N,r){"use strict";var y=r("VTBJ"),m=r("q1tI"),C={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"},p=C,g=r("6VBw"),h=function(n,t){return m.createElement(g.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};h.displayName="CheckOutlined";var c=N.a=m.forwardRef(h)},bT9E:function(B,N,r){"use strict";r.d(N,"a",function(){return m});var y=r("VTBJ");function m(C,p){var g=Object(y.a)({},C);return Array.isArray(p)&&p.forEach(function(h){delete g[h]}),g}},bX4T:function(B,N,r){"use strict";r.d(N,"a",function(){return o});var y=r("VTBJ"),m=`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`,p="".concat(m," ").concat(C).split(/[\s\n]+/),g="aria-",h="data-";function c(n,t){return n.indexOf(t)===0}function o(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a;t===!1?a={aria:!0,data:!0,attr:!0}:t===!0?a={aria:!0}:a=Object(y.a)({},t);var d={};return Object.keys(n).forEach(function(i){(a.aria&&(i==="role"||c(i,g))||a.data&&c(i,h)||a.attr&&p.includes(i))&&(d[i]=n[i])}),d}},bYtY:function(B,N){var r={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},y={"[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},m=Object.prototype.toString,C=Array.prototype,p=C.forEach,g=C.filter,h=C.slice,c=C.map,o=C.reduce,n={};function t(Q,ie){Q==="createCanvas"&&(u=null),n[Q]=ie}function a(Q){if(Q==null||typeof Q!="object")return Q;var ie=Q,Ve=m.call(Q);if(Ve==="[object Array]"){if(!xe(Q)){ie=[];for(var J=0,W=Q.length;J<W;J++)ie[J]=a(Q[J])}}else if(y[Ve]){if(!xe(Q)){var j=Q.constructor;if(Q.constructor.from)ie=j.from(Q);else{ie=new j(Q.length);for(var J=0,W=Q.length;J<W;J++)ie[J]=a(Q[J])}}}else if(!r[Ve]&&!xe(Q)&&!H(Q)){ie={};for(var Y in Q)Q.hasOwnProperty(Y)&&(ie[Y]=a(Q[Y]))}return ie}function d(Q,ie,Ve){if(!P(ie)||!P(Q))return Ve?a(ie):Q;for(var J in ie)if(ie.hasOwnProperty(J)){var W=Q[J],j=ie[J];P(j)&&P(W)&&!F(j)&&!F(W)&&!H(j)&&!H(W)&&!V(j)&&!V(W)&&!xe(j)&&!xe(W)?d(W,j,Ve):(Ve||!(J in Q))&&(Q[J]=a(ie[J],!0))}return Q}function i(Q,ie){for(var Ve=Q[0],J=1,W=Q.length;J<W;J++)Ve=d(Ve,Q[J],ie);return Ve}function l(Q,ie){for(var Ve in ie)ie.hasOwnProperty(Ve)&&(Q[Ve]=ie[Ve]);return Q}function e(Q,ie,Ve){for(var J in ie)ie.hasOwnProperty(J)&&(Ve?ie[J]!=null:Q[J]==null)&&(Q[J]=ie[J]);return Q}var s=function(){return n.createCanvas()};n.createCanvas=function(){return document.createElement("canvas")};var u;function f(){return u||(u=s().getContext("2d")),u}function A(Q,ie){if(Q){if(Q.indexOf)return Q.indexOf(ie);for(var Ve=0,J=Q.length;Ve<J;Ve++)if(Q[Ve]===ie)return Ve}return-1}function v(Q,ie){var Ve=Q.prototype;function J(){}J.prototype=ie.prototype,Q.prototype=new J;for(var W in Ve)Ve.hasOwnProperty(W)&&(Q.prototype[W]=Ve[W]);Q.prototype.constructor=Q,Q.superClass=ie}function x(Q,ie,Ve){Q="prototype"in Q?Q.prototype:Q,ie="prototype"in ie?ie.prototype:ie,e(Q,ie,Ve)}function b(Q){return Q?typeof Q=="string"?!1:typeof Q.length=="number":void 0}function w(Q,ie,Ve){if(!(Q&&ie))return;if(Q.forEach&&Q.forEach===p)Q.forEach(ie,Ve);else if(Q.length===+Q.length)for(var J=0,W=Q.length;J<W;J++)ie.call(Ve,Q[J],J,Q);else for(var j in Q)Q.hasOwnProperty(j)&&ie.call(Ve,Q[j],j,Q)}function _(Q,ie,Ve){if(!(Q&&ie))return;if(Q.map&&Q.map===c)return Q.map(ie,Ve);for(var J=[],W=0,j=Q.length;W<j;W++)J.push(ie.call(Ve,Q[W],W,Q));return J}function T(Q,ie,Ve,J){if(!(Q&&ie))return;if(Q.reduce&&Q.reduce===o)return Q.reduce(ie,Ve,J);for(var W=0,j=Q.length;W<j;W++)Ve=ie.call(J,Ve,Q[W],W,Q);return Ve}function S(Q,ie,Ve){if(!(Q&&ie))return;if(Q.filter&&Q.filter===g)return Q.filter(ie,Ve);for(var J=[],W=0,j=Q.length;W<j;W++)ie.call(Ve,Q[W],W,Q)&&J.push(Q[W]);return J}function E(Q,ie,Ve){if(!(Q&&ie))return;for(var J=0,W=Q.length;J<W;J++)if(ie.call(Ve,Q[J],J,Q))return Q[J]}function I(Q,ie){var Ve=h.call(arguments,2);return function(){return Q.apply(ie,Ve.concat(h.call(arguments)))}}function O(Q){var ie=h.call(arguments,1);return function(){return Q.apply(this,ie.concat(h.call(arguments)))}}function F(Q){return m.call(Q)==="[object Array]"}function k(Q){return typeof Q=="function"}function M(Q){return m.call(Q)==="[object String]"}function P(Q){var ie=typeof Q;return ie==="function"||!!Q&&ie==="object"}function V(Q){return!!r[m.call(Q)]}function D(Q){return!!y[m.call(Q)]}function H(Q){return typeof Q=="object"&&typeof Q.nodeType=="number"&&typeof Q.ownerDocument=="object"}function U(Q){return Q!==Q}function z(Q){for(var ie=0,Ve=arguments.length;ie<Ve;ie++)if(arguments[ie]!=null)return arguments[ie]}function K(Q,ie){return Q!=null?Q:ie}function G(Q,ie,Ve){return Q!=null?Q:ie!=null?ie:Ve}function X(){return Function.call.apply(h,arguments)}function Z(Q){if(typeof Q=="number")return[Q,Q,Q,Q];var ie=Q.length;return ie===2?[Q[0],Q[1],Q[0],Q[1]]:ie===3?[Q[0],Q[1],Q[2],Q[1]]:Q}function ee(Q,ie){if(!Q)throw new Error(ie)}function Se(Q){return Q==null?null:typeof Q.trim=="function"?Q.trim():Q.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var $="__ec_primitive__";function pe(Q){Q[$]=!0}function xe(Q){return Q[$]}function _e(Q){var ie=F(Q);this.data={};var Ve=this;Q instanceof _e?Q.each(J):Q&&w(Q,J);function J(W,j){ie?Ve.set(W,j):Ve.set(j,W)}}_e.prototype={constructor:_e,get:function(ie){return this.data.hasOwnProperty(ie)?this.data[ie]:null},set:function(ie,Ve){return this.data[ie]=Ve},each:function(ie,Ve){Ve!==void 0&&(ie=I(ie,Ve));for(var J in this.data)this.data.hasOwnProperty(J)&&ie(this.data[J],J)},removeKey:function(ie){delete this.data[ie]}};function Ue(Q){return new _e(Q)}function ye(Q,ie){for(var Ve=new Q.constructor(Q.length+ie.length),J=0;J<Q.length;J++)Ve[J]=Q[J];var W=Q.length;for(J=0;J<ie.length;J++)Ve[J+W]=ie[J];return Ve}function Be(){}N.$override=t,N.clone=a,N.merge=d,N.mergeAll=i,N.extend=l,N.defaults=e,N.createCanvas=s,N.getContext=f,N.indexOf=A,N.inherits=v,N.mixin=x,N.isArrayLike=b,N.each=w,N.map=_,N.reduce=T,N.filter=S,N.find=E,N.bind=I,N.curry=O,N.isArray=F,N.isFunction=k,N.isString=M,N.isObject=P,N.isBuiltInObject=V,N.isTypedArray=D,N.isDom=H,N.eqNaN=U,N.retrieve=z,N.retrieve2=K,N.retrieve3=G,N.slice=X,N.normalizeCssArray=Z,N.assert=ee,N.trim=Se,N.setAsPrimitive=pe,N.isPrimitive=xe,N.createHashMap=Ue,N.concatArray=ye,N.noop=Be},bZqE:function(B,N){function r(m,C,p){for(var g=[m],h=[],c;c=g.pop();)if(h.push(c),c.isExpand){var o=c.children;if(o.length)for(var n=0;n<o.length;n++)g.push(o[n])}for(;c=h.pop();)C(c,p)}function y(m,C){for(var p=[m],g;g=p.pop();)if(C(g),g.isExpand){var h=g.children;if(h.length)for(var c=h.length-1;c>=0;c--)p.push(h[c])}}N.eachAfter=r,N.eachBefore=y},bahg:function(B,N){function r(y){return y.split("")}B.exports=r},bbsP:function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("CWI+"),p=r.n(C)},bogI:function(B,N,r){"use strict";r.d(N,"a",function(){return y});var y=function(C){if(!C)return null;var p=typeof C=="function";return p?C():C}},bsht:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};N.default=y},bx4M:function(B,N,r){"use strict";var y=r("lSNA"),m=r.n(y),C=r("pVnL"),p=r.n(C),g=r("q1tI"),h=r("TSYQ"),c=r.n(h),o=r("BGR+"),n=r("H84U"),t=function(_,T){var S={};for(var E in _)Object.prototype.hasOwnProperty.call(_,E)&&T.indexOf(E)<0&&(S[E]=_[E]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,E=Object.getOwnPropertySymbols(_);I<E.length;I++)T.indexOf(E[I])<0&&Object.prototype.propertyIsEnumerable.call(_,E[I])&&(S[E[I]]=_[E[I]]);return S},a=function(T){return g.createElement(n.a,null,function(S){var E=S.getPrefixCls,I=T.prefixCls,O=T.className,F=T.hoverable,k=F===void 0?!0:F,M=t(T,["prefixCls","className","hoverable"]),P=E("card",I),V=c()("".concat(P,"-grid"),O,m()({},"".concat(P,"-grid-hoverable"),k));return g.createElement("div",p()({},M,{className:V}))})},d=a,i=function(_,T){var S={};for(var E in _)Object.prototype.hasOwnProperty.call(_,E)&&T.indexOf(E)<0&&(S[E]=_[E]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,E=Object.getOwnPropertySymbols(_);I<E.length;I++)T.indexOf(E[I])<0&&Object.prototype.propertyIsEnumerable.call(_,E[I])&&(S[E[I]]=_[E[I]]);return S},l=function(T){return g.createElement(n.a,null,function(S){var E=S.getPrefixCls,I=T.prefixCls,O=T.className,F=T.avatar,k=T.title,M=T.description,P=i(T,["prefixCls","className","avatar","title","description"]),V=E("card",I),D=c()("".concat(V,"-meta"),O),H=F?g.createElement("div",{className:"".concat(V,"-meta-avatar")},F):null,U=k?g.createElement("div",{className:"".concat(V,"-meta-title")},k):null,z=M?g.createElement("div",{className:"".concat(V,"-meta-description")},M):null,K=U||z?g.createElement("div",{className:"".concat(V,"-meta-detail")},U,z):null;return g.createElement("div",p()({},P,{className:D}),H,K)})},e=l,s=r("ZTPi"),u=r("BMrR"),f=r("kPKH"),A=r("3Nzz"),v=function(_,T){var S={};for(var E in _)Object.prototype.hasOwnProperty.call(_,E)&&T.indexOf(E)<0&&(S[E]=_[E]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,E=Object.getOwnPropertySymbols(_);I<E.length;I++)T.indexOf(E[I])<0&&Object.prototype.propertyIsEnumerable.call(_,E[I])&&(S[E[I]]=_[E[I]]);return S};function x(_){var T=_.map(function(S,E){return g.createElement("li",{style:{width:"".concat(100/_.length,"%")},key:"action-".concat(E)},g.createElement("span",null,S))});return T}var b=function(T){var S,E,I=g.useContext(n.b),O=I.getPrefixCls,F=I.direction,k=g.useContext(A.b),M=function(Nt){T.onTabChange&&T.onTabChange(Nt)},P=function(){var Nt;return g.Children.forEach(T.children,function(Bt){Bt&&Bt.type&&Bt.type===d&&(Nt=!0)}),Nt},V=T.prefixCls,D=T.className,H=T.extra,U=T.headStyle,z=U===void 0?{}:U,K=T.bodyStyle,G=K===void 0?{}:K,X=T.title,Z=T.loading,ee=T.bordered,Se=ee===void 0?!0:ee,$=T.size,pe=T.type,xe=T.cover,_e=T.actions,Ue=T.tabList,ye=T.children,Be=T.activeTabKey,Q=T.defaultActiveTabKey,ie=T.tabBarExtraContent,Ve=T.hoverable,J=T.tabProps,W=J===void 0?{}:J,j=v(T,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),Y=O("card",V),me=G.padding===0||G.padding==="0px"?{padding:24}:void 0,ae=g.createElement("div",{className:"".concat(Y,"-loading-block")}),Le=g.createElement("div",{className:"".concat(Y,"-loading-content"),style:me},g.createElement(u.a,{gutter:8},g.createElement(f.a,{span:22},ae)),g.createElement(u.a,{gutter:8},g.createElement(f.a,{span:8},ae),g.createElement(f.a,{span:15},ae)),g.createElement(u.a,{gutter:8},g.createElement(f.a,{span:6},ae),g.createElement(f.a,{span:18},ae)),g.createElement(u.a,{gutter:8},g.createElement(f.a,{span:13},ae),g.createElement(f.a,{span:9},ae)),g.createElement(u.a,{gutter:8},g.createElement(f.a,{span:4},ae),g.createElement(f.a,{span:3},ae),g.createElement(f.a,{span:16},ae))),Ee=Be!==void 0,ne=p()(p()({},W),(S={},m()(S,Ee?"activeKey":"defaultActiveKey",Ee?Be:Q),m()(S,"tabBarExtraContent",ie),S)),ge,Ie=Ue&&Ue.length?g.createElement(s.a,p()({size:"large"},ne,{className:"".concat(Y,"-head-tabs"),onChange:M}),Ue.map(function(_t){return g.createElement(s.a.TabPane,{tab:_t.tab,disabled:_t.disabled,key:_t.key})})):null;(X||H||Ie)&&(ge=g.createElement("div",{className:"".concat(Y,"-head"),style:z},g.createElement("div",{className:"".concat(Y,"-head-wrapper")},X&&g.createElement("div",{className:"".concat(Y,"-head-title")},X),H&&g.createElement("div",{className:"".concat(Y,"-extra")},H)),Ie));var Ge=xe?g.createElement("div",{className:"".concat(Y,"-cover")},xe):null,ut=g.createElement("div",{className:"".concat(Y,"-body"),style:G},Z?Le:ye),wt=_e&&_e.length?g.createElement("ul",{className:"".concat(Y,"-actions")},x(_e)):null,Pe=Object(o.default)(j,["onTabChange"]),Dt=$||k,et=c()(Y,D,(E={},m()(E,"".concat(Y,"-loading"),Z),m()(E,"".concat(Y,"-bordered"),Se),m()(E,"".concat(Y,"-hoverable"),Ve),m()(E,"".concat(Y,"-contain-grid"),P()),m()(E,"".concat(Y,"-contain-tabs"),Ue&&Ue.length),m()(E,"".concat(Y,"-").concat(Dt),Dt),m()(E,"".concat(Y,"-type-").concat(pe),!!pe),m()(E,"".concat(Y,"-rtl"),F==="rtl"),E));return g.createElement("div",p()({},Pe,{className:et}),ge,Ge,ut,wt)};b.Grid=d,b.Meta=e;var w=N.a=b},c2i1:function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("bYtY"),p=r("Yl7c"),g=p.enableClassCheck;function h(i){return"_EC_"+i}var c=function(i){this._directed=i||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},o=c.prototype;o.type="graph",o.isDirected=function(){return this._directed},o.addNode=function(i,l){i=i==null?""+l:""+i;var e=this._nodesMap;if(e[h(i)])return;var s=new n(i,l);return s.hostGraph=this,this.nodes.push(s),e[h(i)]=s,s},o.getNodeByIndex=function(i){var l=this.data.getRawIndex(i);return this.nodes[l]},o.getNodeById=function(i){return this._nodesMap[h(i)]},o.addEdge=function(i,l,e){var s=this._nodesMap,u=this._edgesMap;if(typeof i=="number"&&(i=this.nodes[i]),typeof l=="number"&&(l=this.nodes[l]),n.isInstance(i)||(i=s[h(i)]),n.isInstance(l)||(l=s[h(l)]),!i||!l)return;var f=i.id+"-"+l.id;if(u[f])return;var A=new t(i,l,e);return A.hostGraph=this,this._directed&&(i.outEdges.push(A),l.inEdges.push(A)),i.edges.push(A),i!==l&&l.edges.push(A),this.edges.push(A),u[f]=A,A},o.getEdgeByIndex=function(i){var l=this.edgeData.getRawIndex(i);return this.edges[l]},o.getEdge=function(i,l){n.isInstance(i)&&(i=i.id),n.isInstance(l)&&(l=l.id);var e=this._edgesMap;return this._directed?e[i+"-"+l]:e[i+"-"+l]||e[l+"-"+i]},o.eachNode=function(i,l){for(var e=this.nodes,s=e.length,u=0;u<s;u++)e[u].dataIndex>=0&&i.call(l,e[u],u)},o.eachEdge=function(i,l){for(var e=this.edges,s=e.length,u=0;u<s;u++)e[u].dataIndex>=0&&e[u].node1.dataIndex>=0&&e[u].node2.dataIndex>=0&&i.call(l,e[u],u)},o.breadthFirstTraverse=function(i,l,e,s){if(n.isInstance(l)||(l=this._nodesMap[h(l)]),!l)return;for(var u=e==="out"?"outEdges":e==="in"?"inEdges":"edges",f=0;f<this.nodes.length;f++)this.nodes[f].__visited=!1;if(i.call(s,l,null))return;for(var A=[l];A.length;)for(var v=A.shift(),x=v[u],f=0;f<x.length;f++){var b=x[f],w=b.node1===v?b.node2:b.node1;if(!w.__visited){if(i.call(s,w,v))return;A.push(w),w.__visited=!0}}},o.update=function(){for(var i=this.data,l=this.edgeData,e=this.nodes,s=this.edges,u=0,f=e.length;u<f;u++)e[u].dataIndex=-1;for(var u=0,f=i.count();u<f;u++)e[i.getRawIndex(u)].dataIndex=u;l.filterSelf(function(A){var v=s[l.getRawIndex(A)];return v.node1.dataIndex>=0&&v.node2.dataIndex>=0});for(var u=0,f=s.length;u<f;u++)s[u].dataIndex=-1;for(var u=0,f=l.count();u<f;u++)s[l.getRawIndex(u)].dataIndex=u},o.clone=function(){for(var i=new c(this._directed),l=this.nodes,e=this.edges,s=0;s<l.length;s++)i.addNode(l[s].id,l[s].dataIndex);for(var s=0;s<e.length;s++){var u=e[s];i.addEdge(u.node1.id,u.node2.id,u.dataIndex)}return i};function n(i,l){this.id=i==null?"":i,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=l==null?-1:l}n.prototype={constructor:n,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(i){if(this.dataIndex<0)return;var l=this.hostGraph,e=l.data.getItemModel(this.dataIndex);return e.getModel(i)}};function t(i,l,e){this.node1=i,this.node2=l,this.dataIndex=e==null?-1:e}t.prototype.getModel=function(i){if(this.dataIndex<0)return;var l=this.hostGraph,e=l.edgeData.getItemModel(this.dataIndex);return e.getModel(i)};var a=function(i,l){return{getValue:function(e){var s=this[i][l];return s.get(s.getDimension(e||"value"),this.dataIndex)},setVisual:function(e,s){this.dataIndex>=0&&this[i][l].setItemVisual(this.dataIndex,e,s)},getVisual:function(e,s){return this[i][l].getItemVisual(this.dataIndex,e,s)},setLayout:function(e,s){this.dataIndex>=0&&this[i][l].setItemLayout(this.dataIndex,e,s)},getLayout:function(){return this[i][l].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[i][l].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[i][l].getRawIndex(this.dataIndex)}}};C.mixin(n,a("hostGraph","data")),C.mixin(t,a("hostGraph","edgeData")),c.Node=n,c.Edge=t,g(n),g(t);var d=c;B.exports=d},c5Ni:function(B,N,r){},c5fP:function(B,N,r){"use strict";function y(et){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(Nt){return typeof Nt}:y=function(Nt){return Nt&&typeof Symbol=="function"&&Nt.constructor===Symbol&&Nt!==Symbol.prototype?"symbol":typeof Nt},y(et)}Object.defineProperty(N,"__esModule",{value:!0}),N._tr_init=Ge,N._tr_stored_block=ut,N._tr_flush_block=Pe,N._tr_tally=Dt,N._tr_align=wt;var m=p(r("6BzB"));function C(){if(typeof WeakMap!="function")return null;var et=new WeakMap;return C=function(){return et},et}function p(et){if(et&&et.__esModule)return et;if(et===null||y(et)!=="object"&&typeof et!="function")return{default:et};var _t=C();if(_t&&_t.has(et))return _t.get(et);var Nt={},Bt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Ft in et)if(Object.prototype.hasOwnProperty.call(et,Ft)){var Gt=Bt?Object.getOwnPropertyDescriptor(et,Ft):null;Gt&&(Gt.get||Gt.set)?Object.defineProperty(Nt,Ft,Gt):Nt[Ft]=et[Ft]}return Nt.default=et,_t&&_t.set(et,Nt),Nt}var g=4,h=0,c=1,o=2;function n(et){for(var _t=et.length;--_t>=0;)et[_t]=0}var t=0,a=1,d=2,i=3,l=258,e=29,s=256,u=s+1+e,f=30,A=19,v=2*u+1,x=15,b=16,w=7,_=256,T=16,S=17,E=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],O=[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],F=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],k=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],M=512,P=new Array((u+2)*2);n(P);var V=new Array(f*2);n(V);var D=new Array(M);n(D);var H=new Array(l-i+1);n(H);var U=new Array(e);n(U);var z=new Array(f);n(z);function K(et,_t,Nt,Bt,Ft){this.static_tree=et,this.extra_bits=_t,this.extra_base=Nt,this.elems=Bt,this.max_length=Ft,this.has_stree=et&&et.length}var G,X,Z;function ee(et,_t){this.dyn_tree=et,this.max_code=0,this.stat_desc=_t}function Se(et){return et<256?D[et]:D[256+(et>>>7)]}function $(et,_t){et.pending_buf[et.pending++]=_t&255,et.pending_buf[et.pending++]=_t>>>8&255}function pe(et,_t,Nt){et.bi_valid>b-Nt?(et.bi_buf|=_t<<et.bi_valid&65535,$(et,et.bi_buf),et.bi_buf=_t>>b-et.bi_valid,et.bi_valid+=Nt-b):(et.bi_buf|=_t<<et.bi_valid&65535,et.bi_valid+=Nt)}function xe(et,_t,Nt){pe(et,Nt[_t*2],Nt[_t*2+1])}function _e(et,_t){var Nt=0;do Nt|=et&1,et>>>=1,Nt<<=1;while(--_t>0);return Nt>>>1}function Ue(et){et.bi_valid===16?($(et,et.bi_buf),et.bi_buf=0,et.bi_valid=0):et.bi_valid>=8&&(et.pending_buf[et.pending++]=et.bi_buf&255,et.bi_buf>>=8,et.bi_valid-=8)}function ye(et,_t){var Nt=_t.dyn_tree,Bt=_t.max_code,Ft=_t.stat_desc.static_tree,Gt=_t.stat_desc.has_stree,qe=_t.stat_desc.extra_bits,we=_t.stat_desc.extra_base,ue=_t.stat_desc.max_length,vt,at,Ae,Xt,Ot,rt,Et=0;for(Xt=0;Xt<=x;Xt++)et.bl_count[Xt]=0;for(Nt[et.heap[et.heap_max]*2+1]=0,vt=et.heap_max+1;vt<v;vt++){if(at=et.heap[vt],Xt=Nt[Nt[at*2+1]*2+1]+1,Xt>ue&&(Xt=ue,Et++),Nt[at*2+1]=Xt,at>Bt)continue;et.bl_count[Xt]++,Ot=0,at>=we&&(Ot=qe[at-we]),rt=Nt[at*2],et.opt_len+=rt*(Xt+Ot),Gt&&(et.static_len+=rt*(Ft[at*2+1]+Ot))}if(Et===0)return;do{for(Xt=ue-1;et.bl_count[Xt]===0;)Xt--;et.bl_count[Xt]--,et.bl_count[Xt+1]+=2,et.bl_count[ue]--,Et-=2}while(Et>0);for(Xt=ue;Xt!==0;Xt--)for(at=et.bl_count[Xt];at!==0;){if(Ae=et.heap[--vt],Ae>Bt)continue;Nt[Ae*2+1]!==Xt&&(et.opt_len+=(Xt-Nt[Ae*2+1])*Nt[Ae*2],Nt[Ae*2+1]=Xt),at--}}function Be(et,_t,Nt){var Bt=new Array(x+1),Ft=0,Gt,qe;for(Gt=1;Gt<=x;Gt++)Bt[Gt]=Ft=Ft+Nt[Gt-1]<<1;for(qe=0;qe<=_t;qe++){var we=et[qe*2+1];if(we===0)continue;et[qe*2]=_e(Bt[we]++,we)}}function Q(){var et,_t,Nt,Bt,Ft,Gt=new Array(x+1);for(Nt=0,Bt=0;Bt<e-1;Bt++)for(U[Bt]=Nt,et=0;et<1<<I[Bt];et++)H[Nt++]=Bt;for(H[Nt-1]=Bt,Ft=0,Bt=0;Bt<16;Bt++)for(z[Bt]=Ft,et=0;et<1<<O[Bt];et++)D[Ft++]=Bt;for(Ft>>=7;Bt<f;Bt++)for(z[Bt]=Ft<<7,et=0;et<1<<O[Bt]-7;et++)D[256+Ft++]=Bt;for(_t=0;_t<=x;_t++)Gt[_t]=0;for(et=0;et<=143;)P[et*2+1]=8,et++,Gt[8]++;for(;et<=255;)P[et*2+1]=9,et++,Gt[9]++;for(;et<=279;)P[et*2+1]=7,et++,Gt[7]++;for(;et<=287;)P[et*2+1]=8,et++,Gt[8]++;for(Be(P,u+1,Gt),et=0;et<f;et++)V[et*2+1]=5,V[et*2]=_e(et,5);G=new K(P,I,s+1,u,x),X=new K(V,O,0,f,x),Z=new K(new Array(0),F,0,A,w)}function ie(et){var _t;for(_t=0;_t<u;_t++)et.dyn_ltree[_t*2]=0;for(_t=0;_t<f;_t++)et.dyn_dtree[_t*2]=0;for(_t=0;_t<A;_t++)et.bl_tree[_t*2]=0;et.dyn_ltree[_*2]=1,et.opt_len=et.static_len=0,et.last_lit=et.matches=0}function Ve(et){et.bi_valid>8?$(et,et.bi_buf):et.bi_valid>0&&(et.pending_buf[et.pending++]=et.bi_buf),et.bi_buf=0,et.bi_valid=0}function J(et,_t,Nt,Bt){Ve(et),Bt&&($(et,Nt),$(et,~Nt)),m.arraySet(et.pending_buf,et.window,_t,Nt,et.pending),et.pending+=Nt}function W(et,_t,Nt,Bt){var Ft=_t*2,Gt=Nt*2;return et[Ft]<et[Gt]||et[Ft]===et[Gt]&&Bt[_t]<=Bt[Nt]}function j(et,_t,Nt){for(var Bt=et.heap[Nt],Ft=Nt<<1;Ft<=et.heap_len&&!(Ft<et.heap_len&&W(_t,et.heap[Ft+1],et.heap[Ft],et.depth)&&Ft++,W(_t,Bt,et.heap[Ft],et.depth));)et.heap[Nt]=et.heap[Ft],Nt=Ft,Ft<<=1;et.heap[Nt]=Bt}function Y(et,_t,Nt){var Bt,Ft,Gt=0,qe,we;if(et.last_lit!==0)do Bt=et.pending_buf[et.d_buf+Gt*2]<<8|et.pending_buf[et.d_buf+Gt*2+1],Ft=et.pending_buf[et.l_buf+Gt],Gt++,Bt===0?xe(et,Ft,_t):(qe=H[Ft],xe(et,qe+s+1,_t),we=I[qe],we!==0&&(Ft-=U[qe],pe(et,Ft,we)),Bt--,qe=Se(Bt),xe(et,qe,Nt),we=O[qe],we!==0&&(Bt-=z[qe],pe(et,Bt,we)));while(Gt<et.last_lit);xe(et,_,_t)}function me(et,_t){var Nt=_t.dyn_tree,Bt=_t.stat_desc.static_tree,Ft=_t.stat_desc.has_stree,Gt=_t.stat_desc.elems,qe,we,ue=-1,vt;for(et.heap_len=0,et.heap_max=v,qe=0;qe<Gt;qe++)Nt[qe*2]!==0?(et.heap[++et.heap_len]=ue=qe,et.depth[qe]=0):Nt[qe*2+1]=0;for(;et.heap_len<2;)vt=et.heap[++et.heap_len]=ue<2?++ue:0,Nt[vt*2]=1,et.depth[vt]=0,et.opt_len--,Ft&&(et.static_len-=Bt[vt*2+1]);for(_t.max_code=ue,qe=et.heap_len>>1;qe>=1;qe--)j(et,Nt,qe);vt=Gt;do qe=et.heap[1],et.heap[1]=et.heap[et.heap_len--],j(et,Nt,1),we=et.heap[1],et.heap[--et.heap_max]=qe,et.heap[--et.heap_max]=we,Nt[vt*2]=Nt[qe*2]+Nt[we*2],et.depth[vt]=(et.depth[qe]>=et.depth[we]?et.depth[qe]:et.depth[we])+1,Nt[qe*2+1]=Nt[we*2+1]=vt,et.heap[1]=vt++,j(et,Nt,1);while(et.heap_len>=2);et.heap[--et.heap_max]=et.heap[1],ye(et,_t),Be(Nt,ue,et.bl_count)}function ae(et,_t,Nt){var Bt,Ft=-1,Gt,qe=_t[0*2+1],we=0,ue=7,vt=4;for(qe===0&&(ue=138,vt=3),_t[(Nt+1)*2+1]=65535,Bt=0;Bt<=Nt;Bt++){if(Gt=qe,qe=_t[(Bt+1)*2+1],++we<ue&&Gt===qe)continue;we<vt?et.bl_tree[Gt*2]+=we:Gt!==0?(Gt!==Ft&&et.bl_tree[Gt*2]++,et.bl_tree[T*2]++):we<=10?et.bl_tree[S*2]++:et.bl_tree[E*2]++,we=0,Ft=Gt,qe===0?(ue=138,vt=3):Gt===qe?(ue=6,vt=3):(ue=7,vt=4)}}function Le(et,_t,Nt){var Bt,Ft=-1,Gt,qe=_t[0*2+1],we=0,ue=7,vt=4;for(qe===0&&(ue=138,vt=3),Bt=0;Bt<=Nt;Bt++){if(Gt=qe,qe=_t[(Bt+1)*2+1],++we<ue&&Gt===qe)continue;if(we<vt)do xe(et,Gt,et.bl_tree);while(--we!==0);else Gt!==0?(Gt!==Ft&&(xe(et,Gt,et.bl_tree),we--),xe(et,T,et.bl_tree),pe(et,we-3,2)):we<=10?(xe(et,S,et.bl_tree),pe(et,we-3,3)):(xe(et,E,et.bl_tree),pe(et,we-11,7));we=0,Ft=Gt,qe===0?(ue=138,vt=3):Gt===qe?(ue=6,vt=3):(ue=7,vt=4)}}function Ee(et){var _t;for(ae(et,et.dyn_ltree,et.l_desc.max_code),ae(et,et.dyn_dtree,et.d_desc.max_code),me(et,et.bl_desc),_t=A-1;_t>=3&&!(et.bl_tree[k[_t]*2+1]!==0);_t--);return et.opt_len+=3*(_t+1)+5+5+4,_t}function ne(et,_t,Nt,Bt){var Ft;for(pe(et,_t-257,5),pe(et,Nt-1,5),pe(et,Bt-4,4),Ft=0;Ft<Bt;Ft++)pe(et,et.bl_tree[k[Ft]*2+1],3);Le(et,et.dyn_ltree,_t-1),Le(et,et.dyn_dtree,Nt-1)}function ge(et){var _t=4093624447,Nt;for(Nt=0;Nt<=31;Nt++,_t>>>=1)if(_t&1&&et.dyn_ltree[Nt*2]!==0)return h;if(et.dyn_ltree[9*2]!==0||et.dyn_ltree[10*2]!==0||et.dyn_ltree[13*2]!==0)return c;for(Nt=32;Nt<s;Nt++)if(et.dyn_ltree[Nt*2]!==0)return c;return h}var Ie=!1;function Ge(et){Ie||(Q(),Ie=!0),et.l_desc=new ee(et.dyn_ltree,G),et.d_desc=new ee(et.dyn_dtree,X),et.bl_desc=new ee(et.bl_tree,Z),et.bi_buf=0,et.bi_valid=0,ie(et)}function ut(et,_t,Nt,Bt){pe(et,(t<<1)+(Bt?1:0),3),J(et,_t,Nt,!0)}function wt(et){pe(et,a<<1,3),xe(et,_,P),Ue(et)}function Pe(et,_t,Nt,Bt){var Ft,Gt,qe=0;et.level>0?(et.strm.data_type===o&&(et.strm.data_type=ge(et)),me(et,et.l_desc),me(et,et.d_desc),qe=Ee(et),Ft=et.opt_len+3+7>>>3,Gt=et.static_len+3+7>>>3,Gt<=Ft&&(Ft=Gt)):Ft=Gt=Nt+5,Nt+4<=Ft&&_t!==-1?ut(et,_t,Nt,Bt):et.strategy===g||Gt===Ft?(pe(et,(a<<1)+(Bt?1:0),3),Y(et,P,V)):(pe(et,(d<<1)+(Bt?1:0),3),ne(et,et.l_desc.max_code+1,et.d_desc.max_code+1,qe+1),Y(et,et.dyn_ltree,et.dyn_dtree)),ie(et),Bt&&Ve(et)}function Dt(et,_t,Nt){return et.pending_buf[et.d_buf+et.last_lit*2]=_t>>>8&255,et.pending_buf[et.d_buf+et.last_lit*2+1]=_t&255,et.pending_buf[et.l_buf+et.last_lit]=Nt&255,et.last_lit++,_t===0?et.dyn_ltree[Nt*2]++:(et.matches++,_t--,et.dyn_ltree[(H[Nt]+s+1)*2]++,et.dyn_dtree[Se(_t)*2]++),et.last_lit===et.lit_bufsize-1}},c8qY:function(B,N,r){var y=r("IwbS"),m=r("fls0");function C(d){this._ctor=d||m,this.group=new y.Group}var p=C.prototype;p.isPersistent=function(){return!0},p.updateData=function(d){var i=this,l=i.group,e=i._lineData;i._lineData=d,e||l.removeAll();var s=o(d);d.diff(e).add(function(u){g(i,d,u,s)}).update(function(u,f){h(i,e,d,f,u,s)}).remove(function(u){l.remove(e.getItemGraphicEl(u))}).execute()};function g(d,i,l,e){var s=i.getItemLayout(l);if(!t(s))return;var u=new d._ctor(i,l,e);i.setItemGraphicEl(l,u),d.group.add(u)}function h(d,i,l,e,s,u){var f=i.getItemGraphicEl(e);if(!t(l.getItemLayout(s))){d.group.remove(f);return}f?f.updateData(l,s,u):f=new d._ctor(l,s,u),l.setItemGraphicEl(s,f),d.group.add(f)}p.updateLayout=function(){var d=this._lineData;if(!d)return;d.eachItemGraphicEl(function(i,l){i.updateLayout(d,l)},this)},p.incrementalPrepareUpdate=function(d){this._seriesScope=o(d),this._lineData=null,this.group.removeAll()};function c(d){return d.animators&&d.animators.length>0}p.incrementalUpdate=function(d,i){function l(f){!f.isGroup&&!c(f)&&(f.incremental=f.useHoverLayer=!0)}for(var e=d.start;e<d.end;e++){var s=i.getItemLayout(e);if(t(s)){var u=new this._ctor(i,e,this._seriesScope);u.traverse(l),this.group.add(u),i.setItemGraphicEl(e,u)}}};function o(d){var i=d.hostModel;return{lineStyle:i.getModel("lineStyle").getLineStyle(),hoverLineStyle:i.getModel("emphasis.lineStyle").getLineStyle(),labelModel:i.getModel("label"),hoverLabelModel:i.getModel("emphasis.label")}}p.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},p._clearIncremental=function(){var d=this._incremental;d&&d.clearDisplaybles()};function n(d){return isNaN(d[0])||isNaN(d[1])}function t(d){return!n(d[0])&&!n(d[1])}var a=C;B.exports=a},cCMj:function(B,N,r){var y=r("bYtY"),m={updateSelectedMap:function(C){this._targetList=y.isArray(C)?C.slice():[],this._selectTargetMap=y.reduce(C||[],function(p,g){return p.set(g.name,g),p},y.createHashMap())},select:function(C,p){var g=p!=null?this._targetList[p]:this._selectTargetMap.get(C),h=this.get("selectedMode");h==="single"&&this._selectTargetMap.each(function(c){c.selected=!1}),g&&(g.selected=!0)},unSelect:function(C,p){var g=p!=null?this._targetList[p]:this._selectTargetMap.get(C);g&&(g.selected=!1)},toggleSelected:function(C,p){var g=p!=null?this._targetList[p]:this._selectTargetMap.get(C);if(g!=null)return this[g.selected?"unSelect":"select"](C,p),g.selected},isSelected:function(C,p){var g=p!=null?this._targetList[p]:this._selectTargetMap.get(C);return g&&g.selected}};B.exports=m},cVA7:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=r("MT78"),m=g(y),C=r("t3Fx"),p=g(C);function g(t){return t&&t.__esModule?t:{default:t}}function h(t,a){if(!(t instanceof a))throw new TypeError("Cannot call a class as a function")}function c(t,a){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a&&(typeof a=="object"||typeof a=="function")?a:t}function o(t,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof a);t.prototype=Object.create(a&&a.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(t,a):t.__proto__=a)}var n=function(t){o(a,t);function a(d){h(this,a);var i=c(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,d));return i.echartsLib=m.default,i}return a}(p.default);N.default=n},cWXX:function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("oIFs"),p=r.n(C)},ca2m:function(B,N,r){var y=r("bYtY"),m={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=y.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},m),C.valueAxis=y.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},m),C.timeAxis=y.defaults({scale:!0,min:"dataMin",max:"dataMax"},C.valueAxis),C.logAxis=y.defaults({scale:!0,logBase:10},C.valueAxis);var p=C;B.exports=p},cbJ4:function(B,N,r){var y=r("bYtY"),m=y.createHashMap;function C(p){p.eachSeriesByType("themeRiver",function(g){var h=g.getData(),c=g.getRawData(),o=g.get("color"),n=m();h.each(function(t){n.set(h.getRawIndex(t),t)}),c.each(function(t){var a=c.getName(t),d=o[(g.nameMap.get(a)-1)%o.length];c.setItemVisual(t,"color",d);var i=n.get(t);i!=null&&h.setItemVisual(i,"color",d)})})}B.exports=C},chpo:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=1,m=function(){return"".concat(y++)};N.default=m},cpOr:function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("T4UG"),p=r("YXkt"),g=r("bYtY"),h=g.concatArray,c=g.mergeAll,o=g.map,n=r("7aKB"),t=n.encodeHTML,a=r("IDmD"),d=typeof Uint32Array=="undefined"?Array:Uint32Array,i=typeof Float64Array=="undefined"?Array:Float64Array;function l(u){var f=u.data;f&&f[0]&&f[0][0]&&f[0][0].coord&&(u.data=o(f,function(A){var v=[A[0].coord,A[1].coord],x={coords:v};return A[0].name&&(x.fromName=A[0].name),A[1].name&&(x.toName=A[1].name),c([x,A[0],A[1]])}))}var e=C.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(u){u.data=u.data||[],l(u);var f=this._processFlatCoordsArray(u.data);this._flatCoords=f.flatCoords,this._flatCoordsOffset=f.flatCoordsOffset,f.flatCoords&&(u.data=new Float32Array(f.count)),e.superApply(this,"init",arguments)},mergeOption:function(u){if(u.data=u.data||[],l(u),u.data){var f=this._processFlatCoordsArray(u.data);this._flatCoords=f.flatCoords,this._flatCoordsOffset=f.flatCoordsOffset,f.flatCoords&&(u.data=new Float32Array(f.count))}e.superApply(this,"mergeOption",arguments)},appendData:function(u){var f=this._processFlatCoordsArray(u.data);f.flatCoords&&(this._flatCoords?(this._flatCoords=h(this._flatCoords,f.flatCoords),this._flatCoordsOffset=h(this._flatCoordsOffset,f.flatCoordsOffset)):(this._flatCoords=f.flatCoords,this._flatCoordsOffset=f.flatCoordsOffset),u.data=new Float32Array(f.count)),this.getRawData().appendData(u.data)},_getCoordsFromItemModel:function(u){var f=this.getData().getItemModel(u),A=f.option instanceof Array?f.option:f.getShallow("coords");return A},getLineCoordsCount:function(u){return this._flatCoordsOffset?this._flatCoordsOffset[u*2+1]:this._getCoordsFromItemModel(u).length},getLineCoords:function(u,f){if(this._flatCoordsOffset){for(var A=this._flatCoordsOffset[u*2],v=this._flatCoordsOffset[u*2+1],x=0;x<v;x++)f[x]=f[x]||[],f[x][0]=this._flatCoords[A+x*2],f[x][1]=this._flatCoords[A+x*2+1];return v}else{for(var b=this._getCoordsFromItemModel(u),x=0;x<b.length;x++)f[x]=f[x]||[],f[x][0]=b[x][0],f[x][1]=b[x][1];return b.length}},_processFlatCoordsArray:function(u){var f=0;if(this._flatCoords&&(f=this._flatCoords.length),typeof u[0]=="number"){for(var A=u.length,v=new d(A),x=new i(A),b=0,w=0,_=0,T=0;T<A;){_++;var S=u[T++];v[w++]=b+f,v[w++]=S;for(var E=0;E<S;E++){var I=u[T++],O=u[T++];x[b++]=I,x[b++]=O,T>A}}return{flatCoordsOffset:new Uint32Array(v.buffer,0,w),flatCoords:x,count:_}}return{flatCoordsOffset:null,flatCoords:null,count:u.length}},getInitialData:function(u,f){var A=new p(["value"],this);return A.hasItemOption=!1,A.initData(u.data,[],function(v,x,b,w){if(v instanceof Array)return NaN;A.hasItemOption=!0;var _=v.value;if(_!=null)return _ instanceof Array?_[w]:_}),A},formatTooltip:function(u){var f=this.getData(),A=f.getItemModel(u),v=A.get("name");if(v)return v;var x=A.get("fromName"),b=A.get("toName"),w=[];return x!=null&&w.push(x),b!=null&&w.push(b),t(w.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var u=this.option.progressive;return u==null?this.option.large?1e4:this.get("progressive"):u},getProgressiveThreshold:function(){var u=this.option.progressiveThreshold;return u==null?this.option.large?2e4:this.get("progressiveThreshold"):u},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),s=e;B.exports=s},crZl:function(B,N,r){var y=r("ProS"),m=r("bYtY"),C=r("IwbS"),p=r("7aKB"),g=r("+TT/"),h=r("XxSj"),c=y.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(o,n){this.ecModel=o,this.api=n,this.visualMapModel},render:function(o,n,t,a){if(this.visualMapModel=o,o.get("show")===!1){this.group.removeAll();return}this.doRender.apply(this,arguments)},renderBackground:function(o){var n=this.visualMapModel,t=p.normalizeCssArray(n.get("padding")||0),a=o.getBoundingRect();o.add(new C.Rect({z2:-1,silent:!0,shape:{x:a.x-t[3],y:a.y-t[0],width:a.width+t[3]+t[1],height:a.height+t[0]+t[2]},style:{fill:n.get("backgroundColor"),stroke:n.get("borderColor"),lineWidth:n.get("borderWidth")}}))},getControllerVisual:function(o,n,t){t=t||{};var a=t.forceState,d=this.visualMapModel,i={};if(n==="symbol"&&(i.symbol=d.get("itemSymbol")),n==="color"){var l=d.get("contentColor");i.color=l}function e(A){return i[A]}function s(A,v){i[A]=v}var u=d.controllerVisuals[a||d.getValueState(o)],f=h.prepareVisualTypes(u);return m.each(f,function(A){var v=u[A];t.convertOpacityToAlpha&&A==="opacity"&&(A="colorAlpha",v=u.__alphaForOpacity),h.dependsOn(A,n)&&(v&&v.applyVisual(o,e,s))}),i[n]},positionGroup:function(o){var n=this.visualMapModel,t=this.api;g.positionElement(o,n.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})},doRender:m.noop});B.exports=c},czTT:function(B,N,r){},d4KN:function(B,N,r){var y=r("ProS"),m=r("bYtY");function C(p,g){m.each(g,function(h){h.update="updateView",y.registerAction(h,function(c,o){var n={};return o.eachComponent({mainType:"series",subType:p,query:c},function(t){t[h.method]&&t[h.method](c.name,c.dataIndex);var a=t.getData();a.each(function(d){var i=a.getName(d);n[i]=t.isSelected(i)||!1})}),{name:c.name,selected:n,seriesId:c.seriesId}})})}B.exports=C},dBmv:function(B,N,r){var y=r("ProS"),m=r("szbU");r("vF/C"),r("qwVE"),r("MHoB"),r("PNag"),r("1u/T"),y.registerPreprocessor(m)},"dF/Y":function(B,N,r){"use strict";var y=r("VTBJ"),m=r("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"},p=C,g=r("6VBw"),h=function(n,t){return m.createElement(g.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};h.displayName="DownloadOutlined";var c=N.a=m.forwardRef(h)},dMvE:function(B,N){var r={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 p,g=.1,h=.4;return C===0?0:C===1?1:(!g||g<1?(g=1,p=h/4):p=h*Math.asin(1/g)/(2*Math.PI),-(g*Math.pow(2,10*(C-=1))*Math.sin((C-p)*(2*Math.PI)/h)))},elasticOut:function(C){var p,g=.1,h=.4;return C===0?0:C===1?1:(!g||g<1?(g=1,p=h/4):p=h*Math.asin(1/g)/(2*Math.PI),g*Math.pow(2,-10*C)*Math.sin((C-p)*(2*Math.PI)/h)+1)},elasticInOut:function(C){var p,g=.1,h=.4;return C===0?0:C===1?1:(!g||g<1?(g=1,p=h/4):p=h*Math.asin(1/g)/(2*Math.PI),(C*=2)<1?-.5*(g*Math.pow(2,10*(C-=1))*Math.sin((C-p)*(2*Math.PI)/h)):g*Math.pow(2,-10*(C-=1))*Math.sin((C-p)*(2*Math.PI)/h)*.5+1)},backIn:function(C){var p=1.70158;return C*C*((p+1)*C-p)},backOut:function(C){var p=1.70158;return--C*C*((p+1)*C+p)+1},backInOut:function(C){var p=1.70158*1.525;return(C*=2)<1?.5*(C*C*((p+1)*C-p)):.5*((C-=2)*C*((p+1)*C+p)+2)},bounceIn:function(C){return 1-r.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?r.bounceIn(C*2)*.5:r.bounceOut(C*2-1)*.5+.5}},y=r;B.exports=y},diRs:function(B,N,r){"use strict";var y=r("pVnL"),m=r.n(y),C=r("q1tI"),p=r.n(C),g=r("3S7+"),h=r("H84U"),c=r("bogI"),o=function(t,a){var d={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&a.indexOf(i)<0&&(d[i]=t[i]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,i=Object.getOwnPropertySymbols(t);l<i.length;l++)a.indexOf(i[l])<0&&Object.prototype.propertyIsEnumerable.call(t,i[l])&&(d[i[l]]=t[i[l]]);return d},n=C.forwardRef(function(t,a){var d=t.prefixCls,i=t.title,l=t.content,e=o(t,["prefixCls","title","content"]),s=C.useContext(h.b),u=s.getPrefixCls,f=function(x){return C.createElement(C.Fragment,null,i&&C.createElement("div",{className:"".concat(x,"-title")},Object(c.a)(i)),C.createElement("div",{className:"".concat(x,"-inner-content")},Object(c.a)(l)))},A=u("popover",d);return C.createElement(g.a,m()({},e,{prefixCls:A,ref:a,overlay:f(A)}))});n.displayName="Popover",n.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}},N.a=n},digP:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:function(C,p){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:p}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:C}}]}},name:"file",theme:"twotone"};N.default=y},dmGj:function(B,N,r){var y=r("DEFe"),m=r("ProS"),C=m.extendComponentView({type:"geo",init:function(p,g){var h=new y(g,!0);this._mapDraw=h,this.group.add(h.group)},render:function(p,g,h,c){if(c&&c.type==="geoToggleSelect"&&c.from===this.uid)return;var o=this._mapDraw;p.get("show")?o.draw(p,g,h,this,c):this._mapDraw.group.removeAll(),this.group.silent=p.get("silent")},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});B.exports=C},dnwI:function(B,N,r){var y=r("ProS"),m=r("bYtY"),C=r("YH21"),p=r("Kagy"),g=r("IUWy"),h=p.toolbox.dataView,c=new Array(60).join("-"),o=" ";function n(b){var w={},_=[],T=[];return b.eachRawSeries(function(S){var E=S.coordinateSystem;if(E&&(E.type==="cartesian2d"||E.type==="polar")){var I=E.getBaseAxis();if(I.type==="category"){var O=I.dim+"_"+I.index;w[O]||(w[O]={categoryAxis:I,valueAxis:E.getOtherAxis(I),series:[]},T.push({axisDim:I.dim,axisIndex:I.index})),w[O].series.push(S)}else _.push(S)}else _.push(S)}),{seriesGroupByCategoryAxis:w,other:_,meta:T}}function t(b){var w=[];return m.each(b,function(_,T){var S=_.categoryAxis,E=_.valueAxis,I=E.dim,O=[" "].concat(m.map(_.series,function(D){return D.name})),F=[S.model.getCategories()];m.each(_.series,function(D){F.push(D.getRawData().mapArray(I,function(H){return H}))});for(var k=[O.join(o)],M=0;M<F[0].length;M++){for(var P=[],V=0;V<F.length;V++)P.push(F[V][M]);k.push(P.join(o))}w.push(k.join(`
|
|
|
`))}),w.join(`
|
|
|
|
|
|
`+c+`
|
|
|
|
|
|
`)}function a(b){return m.map(b,function(w){var _=w.getRawData(),T=[w.name],S=[];return _.each(_.dimensions,function(){for(var E=arguments.length,I=arguments[E-1],O=_.getName(I),F=0;F<E-1;F++)S[F]=arguments[F];T.push((O?O+o:"")+S.join(o))}),T.join(`
|
|
|
`)}).join(`
|
|
|
|
|
|
`+c+`
|
|
|
|
|
|
`)}function d(b){var w=n(b);return{value:m.filter([t(w.seriesGroupByCategoryAxis),a(w.other)],function(_){return _.replace(/[\n\t\s]/g,"")}).join(`
|
|
|
|
|
|
`+c+`
|
|
|
|
|
|
`),meta:w.meta}}function i(b){return b.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function l(b){var w=b.slice(0,b.indexOf(`
|
|
|
`));if(w.indexOf(o)>=0)return!0}var e=new RegExp("["+o+"]+","g");function s(b){for(var w=b.split(/\n+/g),_=i(w.shift()).split(e),T=[],S=m.map(_,function(F){return{name:F,data:[]}}),E=0;E<w.length;E++){var I=i(w[E]).split(e);T.push(I.shift());for(var O=0;O<I.length;O++)S[O]&&(S[O].data[E]=I[O])}return{series:S,categories:T}}function u(b){for(var w=b.split(/\n+/g),_=i(w.shift()),T=[],S=0;S<w.length;S++){var E=i(w[S]).split(e),I="",O,F=!1;isNaN(E[0])?(F=!0,I=E[0],E=E.slice(1),T[S]={name:I,value:[]},O=T[S].value):O=T[S]=[];for(var k=0;k<E.length;k++)O.push(+E[k]);O.length===1&&(F?T[S].value=O[0]:T[S]=O[0])}return{name:_,data:T}}function f(b,w){var _=b.split(new RegExp(`
|
|
|
*`+c+`
|
|
|
*`,"g")),T={series:[]};return m.each(_,function(S,E){if(l(S)){var I=s(S),O=w[E],F=O.axisDim+"Axis";O&&(T[F]=T[F]||[],T[F][O.axisIndex]={data:I.categories},T.series=T.series.concat(I.series))}else{var I=u(S);T.series.push(I)}}),T}function A(b){this._dom=null,this.model=b}A.defaultOption={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:m.clone(h.title),lang:m.clone(h.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},A.prototype.onclick=function(b,w){var _=w.getDom(),T=this.model;this._dom&&_.removeChild(this._dom);var S=document.createElement("div");S.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",S.style.backgroundColor=T.get("backgroundColor")||"#fff";var E=document.createElement("h4"),I=T.get("lang")||[];E.innerHTML=I[0]||T.get("title"),E.style.cssText="margin: 10px 20px;",E.style.color=T.get("textColor");var O=document.createElement("div"),F=document.createElement("textarea");O.style.cssText="display:block;width:100%;overflow:auto;";var k=T.get("optionToContent"),M=T.get("contentToOption"),P=d(b);if(typeof k=="function"){var V=k(w.getOption());typeof V=="string"?O.innerHTML=V:m.isDom(V)&&O.appendChild(V)}else O.appendChild(F),F.readOnly=T.get("readOnly"),F.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",F.style.color=T.get("textColor"),F.style.borderColor=T.get("textareaBorderColor"),F.style.backgroundColor=T.get("textareaColor"),F.value=P.value;var D=P.meta,H=document.createElement("div");H.style.cssText="position:absolute;bottom:0;left:0;right:0;";var U="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",z=document.createElement("div"),K=document.createElement("div");U+=";background-color:"+T.get("buttonColor"),U+=";color:"+T.get("buttonTextColor");var G=this;function X(){_.removeChild(S),G._dom=null}C.addEventListener(z,"click",X),C.addEventListener(K,"click",function(){var Z;try{typeof M=="function"?Z=M(O,w.getOption()):Z=f(F.value,D)}catch(ee){throw X(),new Error("Data view format error "+ee)}Z&&w.dispatchAction({type:"changeDataView",newOption:Z}),X()}),z.innerHTML=I[1],K.innerHTML=I[2],K.style.cssText=U,z.style.cssText=U,!T.get("readOnly")&&H.appendChild(K),H.appendChild(z),S.appendChild(E),S.appendChild(O),S.appendChild(H),O.style.height=_.clientHeight-80+"px",_.appendChild(S),this._dom=S},A.prototype.remove=function(b,w){this._dom&&w.getDom().removeChild(this._dom)},A.prototype.dispose=function(b,w){this.remove(b,w)};function v(b,w){return m.map(b,function(_,T){var S=w&&w[T];return m.isObject(S)&&!m.isArray(S)?(m.isObject(_)&&!m.isArray(_)&&(_=_.value),m.defaults({value:_},S)):_})}g.register("dataView",A),y.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(b,w){var _=[];m.each(b.newOption.series,function(T){var S=w.getSeriesByName(T.name)[0];if(!S)_.push(m.extend({type:"scatter"},T));else{var E=S.get("data");_.push({name:T.name,data:v(T.data,E)})}}),w.mergeOption(m.defaults({series:_},b.newOption))});var x=A;B.exports=x},dqUG:function(B,N,r){var y=r("Gev7"),m=r("bYtY"),C=r("6GrX"),p=r("pzxd"),g=r("gut8"),h=g.ContextCachedBy,c=function(t){y.call(this,t)};c.prototype={constructor:c,type:"text",brush:function(t,a){var d=this.style;this.__dirty&&p.normalizeTextStyle(d,!0),d.fill=d.stroke=d.shadowBlur=d.shadowColor=d.shadowOffsetX=d.shadowOffsetY=null;var i=d.text;if(i!=null&&(i+=""),!p.needDrawText(i,d)){t.__attrCachedBy=h.NONE;return}this.setTransform(t),p.renderText(this,t,i,d,null,a),this.restoreTransform(t)},getBoundingRect:function(){var t=this.style;if(this.__dirty&&p.normalizeTextStyle(t,!0),!this._rect){var a=t.text;a!=null?a+="":a="";var d=C.getBoundingRect(t.text+"",t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich);if(d.x+=t.x||0,d.y+=t.y||0,p.getStroke(t.textStroke,t.textStrokeWidth)){var i=t.textStrokeWidth;d.x-=i/2,d.y-=i/2,d.width+=i,d.height+=i}this._rect=d}return this._rect}},m.inherits(c,y);var o=c;B.exports=o},dt0z:function(B,N,r){var y=r("zoYe");function m(C){return C==null?"":y(C)}B.exports=m},e5VY:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("YNAk"));function m(p){return p&&p.__esModule?p:{default:p}}var C=y;N.default=C,B.exports=C},eIcI:function(B,N,r){var y=r("bYtY"),m=r("hM6l");function C(g,h,c){m.call(this,g,h,c),this.type="value",this.angle=0,this.name="",this.model}y.inherits(C,m);var p=C;B.exports=p},eJH7:function(B,N,r){var y=r("bYtY");function m(C){var p=C.polar;if(p){y.isArray(p)||(p=[p]);var g=[];y.each(p,function(h,c){h.indicator?(h.type&&!h.shape&&(h.shape=h.type),C.radar=C.radar||[],y.isArray(C.radar)||(C.radar=[C.radar]),C.radar.push(h)):g.push(h)}),C.polar=g}y.each(C.series,function(h){h&&h.type==="radar"&&h.polarIndex&&(h.radarIndex=h.polarIndex)})}B.exports=m},eMSv:function(B,N,r){(function(y){var m,C,C;!function(p){!(m=p,C=typeof m=="function"?m.call(N,r,N,B):m,C!==void 0&&(B.exports=C))}(function(){"use strict";/** @license
|
|
|
* jsPDF - PDF Document creation from JavaScript
|
|
|
* Version 1.5.3 Built on 2018-12-27T14:11:42.696Z
|
|
|
* CommitID d93d28db14
|
|
|
*
|
|
|
* Copyright (c) 2010-2016 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
|
|
|
* 2010 Aaron Spike, https://github.com/acspike
|
|
|
* 2012 Willow Systems Corporation, willow-systems.com
|
|
|
* 2012 Pablo Hess, https://github.com/pablohess
|
|
|
* 2012 Florian Jenett, https://github.com/fjenett
|
|
|
* 2013 Warren Weckesser, https://github.com/warrenweckesser
|
|
|
* 2013 Youssef Beddad, https://github.com/lifof
|
|
|
* 2013 Lee Driscoll, https://github.com/lsdriscoll
|
|
|
* 2013 Stefan Slonevskiy, https://github.com/stefslon
|
|
|
* 2013 Jeremy Morel, https://github.com/jmorel
|
|
|
* 2013 Christoph Hartmann, https://github.com/chris-rock
|
|
|
* 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
|
|
|
* 2014 James Makes, https://github.com/dollaruw
|
|
|
* 2014 Diego Casorran, https://github.com/diegocr
|
|
|
* 2014 Steven Spungin, https://github.com/Flamenco
|
|
|
* 2014 Kenneth Glassey, https://github.com/Gavvers
|
|
|
*
|
|
|
* Licensed under the MIT License
|
|
|
*
|
|
|
* Contributor(s):
|
|
|
* siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango,
|
|
|
* kim3er, mfo, alnorth, Flamenco
|
|
|
*/function p(ce){return(p=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(le){return typeof le}:function(le){return le&&typeof Symbol=="function"&&le.constructor===Symbol&&le!==Symbol.prototype?"symbol":typeof le})(ce)}!function(ce){if(p(ce.console)!=="object"){ce.console={};for(var le,oe,fe=ce.console,De=function(){},He=["memory"],je="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");le=He.pop();)fe[le]||(fe[le]={});for(;oe=je.pop();)fe[oe]||(fe[oe]=De)}var We,nt,xt,It,ir="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";ce.btoa===void 0&&(ce.btoa=function(Me){var ke,re,be,Ne,Ke,Qe=0,ct=0,Lt="",rr=[];if(!Me)return Me;for(;ke=(Ke=Me.charCodeAt(Qe++)<<16|Me.charCodeAt(Qe++)<<8|Me.charCodeAt(Qe++))>>18&63,re=Ke>>12&63,be=Ke>>6&63,Ne=63&Ke,rr[ct++]=ir.charAt(ke)+ir.charAt(re)+ir.charAt(be)+ir.charAt(Ne),Qe<Me.length;);Lt=rr.join("");var dr=Me.length%3;return(dr?Lt.slice(0,dr-3):Lt)+"===".slice(dr||3)}),ce.atob===void 0&&(ce.atob=function(Me){var ke,re,be,Ne,Ke,Qe,ct=0,Lt=0,rr=[];if(!Me)return Me;for(Me+="";ke=(Qe=ir.indexOf(Me.charAt(ct++))<<18|ir.indexOf(Me.charAt(ct++))<<12|(Ne=ir.indexOf(Me.charAt(ct++)))<<6|(Ke=ir.indexOf(Me.charAt(ct++))))>>16&255,re=Qe>>8&255,be=255&Qe,rr[Lt++]=Ne==64?String.fromCharCode(ke):Ke==64?String.fromCharCode(ke,re):String.fromCharCode(ke,re,be),ct<Me.length;);return rr.join("")}),Array.prototype.map||(Array.prototype.map=function(Me){if(this==null||typeof Me!="function")throw new TypeError;for(var ke=Object(this),re=ke.length>>>0,be=new Array(re),Ne=1<arguments.length?arguments[1]:void 0,Ke=0;Ke<re;Ke++)Ke in ke&&(be[Ke]=Me.call(Ne,ke[Ke],Ke,ke));return be}),Array.isArray||(Array.isArray=function(Me){return Object.prototype.toString.call(Me)==="[object Array]"}),Array.prototype.forEach||(Array.prototype.forEach=function(Me,ke){if(this==null||typeof Me!="function")throw new TypeError;for(var re=Object(this),be=re.length>>>0,Ne=0;Ne<be;Ne++)Ne in re&&Me.call(ke,re[Ne],Ne,re)}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(ke){if(this==null)throw new TypeError('"this" is null or not defined');var re=Object(this),be=re.length>>>0;if(typeof ke!="function")throw new TypeError("predicate must be a function");for(var Ne=arguments[1],Ke=0;Ke<be;){var Qe=re[Ke];if(ke.call(Ne,Qe,Ke,re))return Qe;Ke++}},configurable:!0,writable:!0}),Object.keys||(Object.keys=(We=Object.prototype.hasOwnProperty,nt=!{toString:null}.propertyIsEnumerable("toString"),It=(xt=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"]).length,function(Me){if(p(Me)!=="object"&&(typeof Me!="function"||Me===null))throw new TypeError;var ke,re,be=[];for(ke in Me)We.call(Me,ke)&&be.push(ke);if(nt)for(re=0;re<It;re++)We.call(Me,xt[re])&&be.push(xt[re]);return be})),typeof Object.assign!="function"&&(Object.assign=function(Me){if(Me==null)throw new TypeError("Cannot convert undefined or null to object");Me=Object(Me);for(var ke=1;ke<arguments.length;ke++){var re=arguments[ke];if(re!=null)for(var be in re)Object.prototype.hasOwnProperty.call(re,be)&&(Me[be]=re[be])}return Me}),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}),String.prototype.trimLeft||(String.prototype.trimLeft=function(){return this.replace(/^\s+/g,"")}),String.prototype.trimRight||(String.prototype.trimRight=function(){return this.replace(/\s+$/g,"")}),Number.isInteger=Number.isInteger||function(Me){return typeof Me=="number"&&isFinite(Me)&&Math.floor(Me)===Me}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof y!="undefined"&&y||Function('return typeof this === "object" && this.content')()||Function("return this")());var g,h,c,o,n,t,a,d,i,l,e,s,u,f,A,v,x,b,w,_,T,S,E,I,O,F,k,M,P,V,D,H,U,z,K,G,X,Z,ee,Se,$,pe,xe,_e,Ue,ye,Be,Q,ie,Ve,J,W,j,Y,me,ae,Le,Ee,ne,ge,Ie,Ge,ut=function(ce){function le(fe){if(p(fe)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var De={};this.subscribe=function(He,je,We){if(We=We||!1,typeof He!="string"||typeof je!="function"||typeof We!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");De.hasOwnProperty(He)||(De[He]={});var nt=Math.random().toString(35);return De[He][nt]=[je,!!We],nt},this.unsubscribe=function(He){for(var je in De)if(De[je][He])return delete De[je][He],Object.keys(De[je]).length===0&&delete De[je],!0;return!1},this.publish=function(He){if(De.hasOwnProperty(He)){var je=Array.prototype.slice.call(arguments,1),We=[];for(var nt in De[He]){var xt=De[He][nt];try{xt[0].apply(fe,je)}catch(It){ce.console&&console.error("jsPDF PubSub Error",It.message,It)}xt[1]&&We.push(nt)}We.length&&We.forEach(this.unsubscribe)}},this.getTopics=function(){return De}}function oe(fe,De,He,je){var We={},nt=[],xt=1;p(fe)==="object"&&(fe=(We=fe).orientation,De=We.unit||De,He=We.format||He,je=We.compress||We.compressPdf||je,nt=We.filters||(je===!0?["FlateEncode"]:nt),xt=typeof We.userUnit=="number"?Math.abs(We.userUnit):1),De=De||"mm",fe=(""+(fe||"P")).toLowerCase();var It=We.putOnlyUsedFonts||!0,ir={},Me={internal:{},__private__:{}};Me.__private__.PubSub=le;var ke="1.3",re=Me.__private__.getPdfVersion=function(){return ke},be=(Me.__private__.setPdfVersion=function(St){ke=St},{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]}),Ne=(Me.__private__.getPageFormats=function(){return be},Me.__private__.getPageFormat=function(St){return be[St]});typeof He=="string"&&(He=Ne(He)),He=He||Ne("a4");var Ke,Qe=Me.f2=Me.__private__.f2=function(St){if(isNaN(St))throw new Error("Invalid argument passed to jsPDF.f2");return St.toFixed(2)},ct=Me.__private__.f3=function(St){if(isNaN(St))throw new Error("Invalid argument passed to jsPDF.f3");return St.toFixed(3)},Lt="00000000000000000000000000000000",rr=Me.__private__.getFileId=function(){return Lt},dr=Me.__private__.setFileId=function(St){return St=St||"12345678901234567890123456789012".split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),Lt=St};Me.setFileId=function(St){return dr(St),this},Me.getFileId=function(){return rr()};var Pt=Me.__private__.convertDateToPDFDate=function(St){var qt=St.getTimezoneOffset(),ur=qt<0?"+":"-",yr=Math.floor(Math.abs(qt/60)),Ur=Math.abs(qt%60),Zr=[ur,ht(yr),"'",ht(Ur),"'"].join("");return["D:",St.getFullYear(),ht(St.getMonth()+1),ht(St.getDate()),ht(St.getHours()),ht(St.getMinutes()),ht(St.getSeconds()),Zr].join("")},jt=Me.__private__.convertPDFDateToDate=function(St){var qt=parseInt(St.substr(2,4),10),ur=parseInt(St.substr(6,2),10)-1,yr=parseInt(St.substr(8,2),10),Ur=parseInt(St.substr(10,2),10),Zr=parseInt(St.substr(12,2),10),cn=parseInt(St.substr(14,2),10);return parseInt(St.substr(16,2),10),parseInt(St.substr(20,2),10),new Date(qt,ur,yr,Ur,Zr,cn,0)},Ct=Me.__private__.setCreationDate=function(St){var qt;if(St===void 0&&(St=new Date),p(St)==="object"&&Object.prototype.toString.call(St)==="[object Date]")qt=Pt(St);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(St))throw new Error("Invalid argument passed to jsPDF.setCreationDate");qt=St}return Ke=qt},Rt=Me.__private__.getCreationDate=function(St){var qt=Ke;return St==="jsDate"&&(qt=jt(Ke)),qt};Me.setCreationDate=function(St){return Ct(St),this},Me.getCreationDate=function(St){return Rt(St)};var pt,ot,gt,Ye,$e,Je,it,ft,ht=Me.__private__.padd2=function(St){return("0"+parseInt(St)).slice(-2)},st=!1,kt=[],Tt=[],ar=0,Qt=(Me.__private__.setCustomOutputDestination=function(St){ot=St},Me.__private__.resetCustomOutputDestination=function(St){ot=void 0},Me.__private__.out=function(St){var qt;return St=typeof St=="string"?St:St.toString(),(qt=ot===void 0?st?kt[pt]:Tt:ot).push(St),st||(ar+=St.length+1),qt}),Er=Me.__private__.write=function(St){return Qt(arguments.length===1?St.toString():Array.prototype.join.call(arguments," "))},Ir=Me.__private__.getArrayBuffer=function(St){for(var qt=St.length,ur=new ArrayBuffer(qt),yr=new Uint8Array(ur);qt--;)yr[qt]=St.charCodeAt(qt);return ur},jr=[["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]],zr=(Me.__private__.getStandardFonts=function(St){return jr},We.fontSize||16),hn=(Me.__private__.setFontSize=Me.setFontSize=function(St){return zr=St,this},Me.__private__.getFontSize=Me.getFontSize=function(){return zr}),gn=We.R2L||!1,Br=(Me.__private__.setR2L=Me.setR2L=function(St){return gn=St,this},Me.__private__.getR2L=Me.getR2L=function(St){return gn},Me.__private__.setZoomMode=function(St){var qt=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^\d*\.?\d*\%$/.test(St))gt=St;else if(isNaN(St)){if(qt.indexOf(St)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+St+'" is not recognized.');gt=St}else gt=parseInt(St,10)}),ln=(Me.__private__.getZoomMode=function(){return gt},Me.__private__.setPageMode=function(St){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(St)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+St+'" is not recognized.');Ye=St}),Xr=(Me.__private__.getPageMode=function(){return Ye},Me.__private__.setLayoutMode=function(St){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(St)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+St+'" is not recognized.');$e=St}),cr=(Me.__private__.getLayoutMode=function(){return $e},Me.__private__.setDisplayMode=Me.setDisplayMode=function(St,qt,ur){return Br(St),Xr(qt),ln(ur),this},{title:"",subject:"",author:"",keywords:"",creator:""}),wr=(Me.__private__.getDocumentProperty=function(St){if(Object.keys(cr).indexOf(St)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return cr[St]},Me.__private__.getDocumentProperties=function(St){return cr},Me.__private__.setDocumentProperties=Me.setProperties=Me.setDocumentProperties=function(St){for(var qt in cr)cr.hasOwnProperty(qt)&&St[qt]&&(cr[qt]=St[qt]);return this},Me.__private__.setDocumentProperty=function(St,qt){if(Object.keys(cr).indexOf(St)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return cr[St]=qt},0),hr=[],Ar={},kr={},nn=0,wn=[],oi=[],tn=new le(Me),Vn=We.hotfixes||[],On=Me.__private__.newObject=function(){var St=$n();return Qn(St,!0),St},$n=Me.__private__.newObjectDeferred=function(){return hr[++wr]=function(){return ar},wr},Qn=function(qt,ur){return ur=typeof ur=="boolean"&&ur,hr[qt]=ar,ur&&Qt(qt+" 0 obj"),qt},ei=Me.__private__.newAdditionalObject=function(){var St={objId:$n(),content:""};return oi.push(St),St},zi=$n(),hi=$n(),Bn=Me.__private__.decodeColorString=function(St){var qt=St.split(" ");if(qt.length===2&&(qt[1]==="g"||qt[1]==="G")){var ur=parseFloat(qt[0]);qt=[ur,ur,ur,"r"]}for(var yr="#",Ur=0;Ur<3;Ur++)yr+=("0"+Math.floor(255*parseFloat(qt[Ur])).toString(16)).slice(-2);return yr},sn=Me.__private__.encodeColorString=function(St){var qt;typeof St=="string"&&(St={ch1:St});var ur=St.ch1,yr=St.ch2,Ur=St.ch3,Zr=St.ch4,cn=(St.precision,St.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"]);if(typeof ur=="string"&&ur.charAt(0)!=="#"){var _n=new RGBColor(ur);if(_n.ok)ur=_n.toHex();else if(!/^\d*\.?\d*$/.test(ur))throw new Error('Invalid color "'+ur+'" passed to jsPDF.encodeColorString.')}if(typeof ur=="string"&&/^#[0-9A-Fa-f]{3}$/.test(ur)&&(ur="#"+ur[1]+ur[1]+ur[2]+ur[2]+ur[3]+ur[3]),typeof ur=="string"&&/^#[0-9A-Fa-f]{6}$/.test(ur)){var Fn=parseInt(ur.substr(1),16);ur=Fn>>16&255,yr=Fn>>8&255,Ur=255&Fn}if(yr===void 0||Zr===void 0&&ur===yr&&yr===Ur)if(typeof ur=="string")qt=ur+" "+cn[0];else switch(St.precision){case 2:qt=Qe(ur/255)+" "+cn[0];break;case 3:default:qt=ct(ur/255)+" "+cn[0]}else if(Zr===void 0||p(Zr)==="object"){if(Zr&&!isNaN(Zr.a)&&Zr.a===0)return qt=["1.000","1.000","1.000",cn[1]].join(" ");if(typeof ur=="string")qt=[ur,yr,Ur,cn[1]].join(" ");else switch(St.precision){case 2:qt=[Qe(ur/255),Qe(yr/255),Qe(Ur/255),cn[1]].join(" ");break;default:case 3:qt=[ct(ur/255),ct(yr/255),ct(Ur/255),cn[1]].join(" ")}}else if(typeof ur=="string")qt=[ur,yr,Ur,Zr,cn[2]].join(" ");else switch(St.precision){case 2:qt=[Qe(ur/255),Qe(yr/255),Qe(Ur/255),Qe(Zr/255),cn[2]].join(" ");break;case 3:default:qt=[ct(ur/255),ct(yr/255),ct(Ur/255),ct(Zr/255),cn[2]].join(" ")}return qt},ta=Me.__private__.getFilters=function(){return nt},ua=Me.__private__.putStream=function(St){var qt=(St=St||{}).data||"",ur=St.filters||ta(),yr=St.alreadyAppliedFilters||[],Ur=St.addLength1||!1,Zr=qt.length,cn={};ur===!0&&(ur=["FlateEncode"]);var _n=St.additionalKeyValues||[],Fn=(cn=oe.API.processDataByFilters!==void 0?oe.API.processDataByFilters(qt,ur):{data:qt,reverseChain:[]}).reverseChain+(Array.isArray(yr)?yr.join(" "):yr.toString());cn.data.length!==0&&(_n.push({key:"Length",value:cn.data.length}),Ur===!0&&_n.push({key:"Length1",value:Zr})),Fn.length!=0&&(Fn.split("/").length-1==1?_n.push({key:"Filter",value:Fn}):_n.push({key:"Filter",value:"["+Fn+"]"})),Qt("<<");for(var qn=0;qn<_n.length;qn++)Qt("/"+_n[qn].key+" "+_n[qn].value);Qt(">>"),cn.data.length!==0&&(Qt("stream"),Qt(cn.data),Qt("endstream"))},fa=Me.__private__.putPage=function(St){St.mediaBox;var qt=St.number,ur=St.data,yr=St.objId,Ur=St.contentsObjId;Qn(yr,!0),wn[pt].mediaBox.topRightX,wn[pt].mediaBox.bottomLeftX,wn[pt].mediaBox.topRightY,wn[pt].mediaBox.bottomLeftY,Qt("<</Type /Page"),Qt("/Parent "+St.rootDictionaryObjId+" 0 R"),Qt("/Resources "+St.resourceDictionaryObjId+" 0 R"),Qt("/MediaBox ["+parseFloat(Qe(St.mediaBox.bottomLeftX))+" "+parseFloat(Qe(St.mediaBox.bottomLeftY))+" "+Qe(St.mediaBox.topRightX)+" "+Qe(St.mediaBox.topRightY)+"]"),St.cropBox!==null&&Qt("/CropBox ["+Qe(St.cropBox.bottomLeftX)+" "+Qe(St.cropBox.bottomLeftY)+" "+Qe(St.cropBox.topRightX)+" "+Qe(St.cropBox.topRightY)+"]"),St.bleedBox!==null&&Qt("/BleedBox ["+Qe(St.bleedBox.bottomLeftX)+" "+Qe(St.bleedBox.bottomLeftY)+" "+Qe(St.bleedBox.topRightX)+" "+Qe(St.bleedBox.topRightY)+"]"),St.trimBox!==null&&Qt("/TrimBox ["+Qe(St.trimBox.bottomLeftX)+" "+Qe(St.trimBox.bottomLeftY)+" "+Qe(St.trimBox.topRightX)+" "+Qe(St.trimBox.topRightY)+"]"),St.artBox!==null&&Qt("/ArtBox ["+Qe(St.artBox.bottomLeftX)+" "+Qe(St.artBox.bottomLeftY)+" "+Qe(St.artBox.topRightX)+" "+Qe(St.artBox.topRightY)+"]"),typeof St.userUnit=="number"&&St.userUnit!==1&&Qt("/UserUnit "+St.userUnit),tn.publish("putPage",{objId:yr,pageContext:wn[qt],pageNumber:qt,page:ur}),Qt("/Contents "+Ur+" 0 R"),Qt(">>"),Qt("endobj");var Zr=ur.join(`
|
|
|
`);return Qn(Ur,!0),ua({data:Zr,filters:ta()}),Qt("endobj"),yr},Bi=Me.__private__.putPages=function(){var St,qt,ur=[];for(St=1;St<=nn;St++)wn[St].objId=$n(),wn[St].contentsObjId=$n();for(St=1;St<=nn;St++)ur.push(fa({number:St,data:kt[St],objId:wn[St].objId,contentsObjId:wn[St].contentsObjId,mediaBox:wn[St].mediaBox,cropBox:wn[St].cropBox,bleedBox:wn[St].bleedBox,trimBox:wn[St].trimBox,artBox:wn[St].artBox,userUnit:wn[St].userUnit,rootDictionaryObjId:zi,resourceDictionaryObjId:hi}));Qn(zi,!0),Qt("<</Type /Pages");var yr="/Kids [";for(qt=0;qt<nn;qt++)yr+=ur[qt]+" 0 R ";Qt(yr+"]"),Qt("/Count "+nn),Qt(">>"),Qt("endobj"),tn.publish("postPutPages")},pa=function(){!function(){for(var qt in Ar)Ar.hasOwnProperty(qt)&&(It===!1||It===!0&&ir.hasOwnProperty(qt))&&(ur=Ar[qt],tn.publish("putFont",{font:ur,out:Qt,newObject:On,putStream:ua}),ur.isAlreadyPutted!==!0&&(ur.objectNumber=On(),Qt("<<"),Qt("/Type /Font"),Qt("/BaseFont /"+ur.postScriptName),Qt("/Subtype /Type1"),typeof ur.encoding=="string"&&Qt("/Encoding /"+ur.encoding),Qt("/FirstChar 32"),Qt("/LastChar 255"),Qt(">>"),Qt("endobj")));var ur}(),tn.publish("putResources"),Qn(hi,!0),Qt("<<"),function(){for(var qt in Qt("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),Qt("/Font <<"),Ar)Ar.hasOwnProperty(qt)&&(It===!1||It===!0&&ir.hasOwnProperty(qt))&&Qt("/"+qt+" "+Ar[qt].objectNumber+" 0 R");Qt(">>"),Qt("/XObject <<"),tn.publish("putXobjectDict"),Qt(">>")}(),Qt(">>"),Qt("endobj"),tn.publish("postPutResources")},ui=function(qt,ur,yr){kr.hasOwnProperty(ur)||(kr[ur]={}),kr[ur][yr]=qt},ba=function(qt,ur,yr,Ur,Zr){Zr=Zr||!1;var cn="F"+(Object.keys(Ar).length+1).toString(10),_n={id:cn,postScriptName:qt,fontName:ur,fontStyle:yr,encoding:Ur,isStandardFont:Zr,metadata:{}};return tn.publish("addFont",{font:_n,instance:this}),cn!==void 0&&(Ar[cn]=_n,ui(cn,ur,yr)),cn},Dn=Me.__private__.pdfEscape=Me.pdfEscape=function(St,qt){return function(ur,yr){var Ur,Zr,cn,_n,Fn,qn,Wn,Rn,Kn;if(cn=(yr=yr||{}).sourceEncoding||"Unicode",Fn=yr.outputEncoding,(yr.autoencode||Fn)&&Ar[Je].metadata&&Ar[Je].metadata[cn]&&Ar[Je].metadata[cn].encoding&&(_n=Ar[Je].metadata[cn].encoding,!Fn&&Ar[Je].encoding&&(Fn=Ar[Je].encoding),!Fn&&_n.codePages&&(Fn=_n.codePages[0]),typeof Fn=="string"&&(Fn=_n[Fn]),Fn)){for(Wn=!1,qn=[],Ur=0,Zr=ur.length;Ur<Zr;Ur++)(Rn=Fn[ur.charCodeAt(Ur)])?qn.push(String.fromCharCode(Rn)):qn.push(ur[Ur]),qn[Ur].charCodeAt(0)>>8&&(Wn=!0);ur=qn.join("")}for(Ur=ur.length;Wn===void 0&&Ur!==0;)ur.charCodeAt(Ur-1)>>8&&(Wn=!0),Ur--;if(!Wn)return ur;for(qn=yr.noBOM?[]:[254,255],Ur=0,Zr=ur.length;Ur<Zr;Ur++){if((Kn=(Rn=ur.charCodeAt(Ur))>>8)>>8)throw new Error("Character at position "+Ur+" of string '"+ur+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");qn.push(Kn),qn.push(Rn-(Kn<<8))}return String.fromCharCode.apply(void 0,qn)}(St,qt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Pn=Me.__private__.beginPage=function(St,qt){var ur,yr=typeof qt=="string"&&qt.toLowerCase();if(typeof St=="string"&&(ur=Ne(St.toLowerCase()))&&(St=ur[0],qt=ur[1]),Array.isArray(St)&&(qt=St[1],St=St[0]),(isNaN(St)||isNaN(qt))&&(St=He[0],qt=He[1]),yr){switch(yr.substr(0,1)){case"l":St<qt&&(yr="s");break;case"p":qt<St&&(yr="s")}yr==="s"&&(ur=St,St=qt,qt=ur)}(14400<St||14400<qt)&&(console.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),St=Math.min(14400,St),qt=Math.min(14400,qt)),He=[St,qt],st=!0,kt[++nn]=[],wn[nn]={objId:0,contentsObjId:0,userUnit:Number(xt),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(St),topRightY:Number(qt)}},Jn(nn)},Yn=function(){Pn.apply(this,arguments),Io(Xo),Qt(Ht),Hr!==0&&Qt(Hr+" J"),fn!==0&&Qt(fn+" j"),tn.publish("addPage",{pageNumber:nn})},Jn=function(qt){0<qt&&qt<=nn&&(pt=qt)},ni=Me.__private__.getNumberOfPages=Me.getNumberOfPages=function(){return kt.length-1},Fi=function(qt,ur,yr){var Ur,Zr=void 0;return yr=yr||{},qt=qt!==void 0?qt:Ar[Je].fontName,ur=ur!==void 0?ur:Ar[Je].fontStyle,Ur=qt.toLowerCase(),kr[Ur]!==void 0&&kr[Ur][ur]!==void 0?Zr=kr[Ur][ur]:kr[qt]!==void 0&&kr[qt][ur]!==void 0?Zr=kr[qt][ur]:yr.disableWarning===!1&&console.warn("Unable to look up font label for font '"+qt+"', '"+ur+"'. Refer to getFontList() for available fonts."),Zr||yr.noFallback||(Zr=kr.times[ur])==null&&(Zr=kr.times.normal),Zr},Hi=Me.__private__.putInfo=function(){for(var St in On(),Qt("<<"),Qt("/Producer (jsPDF "+oe.version+")"),cr)cr.hasOwnProperty(St)&&cr[St]&&Qt("/"+St.substr(0,1).toUpperCase()+St.substr(1)+" ("+Dn(cr[St])+")");Qt("/CreationDate ("+Ke+")"),Qt(">>"),Qt("endobj")},Za=Me.__private__.putCatalog=function(St){var qt=(St=St||{}).rootDictionaryObjId||zi;switch(On(),Qt("<<"),Qt("/Type /Catalog"),Qt("/Pages "+qt+" 0 R"),gt||(gt="fullwidth"),gt){case"fullwidth":Qt("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Qt("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Qt("/OpenAction [3 0 R /Fit]");break;case"original":Qt("/OpenAction [3 0 R /XYZ null null 1]");break;default:var ur=""+gt;ur.substr(ur.length-1)==="%"&&(gt=parseInt(gt)/100),typeof gt=="number"&&Qt("/OpenAction [3 0 R /XYZ null null "+Qe(gt)+"]")}switch($e||($e="continuous"),$e){case"continuous":Qt("/PageLayout /OneColumn");break;case"single":Qt("/PageLayout /SinglePage");break;case"two":case"twoleft":Qt("/PageLayout /TwoColumnLeft");break;case"tworight":Qt("/PageLayout /TwoColumnRight")}Ye&&Qt("/PageMode /"+Ye),tn.publish("putCatalog"),Qt(">>"),Qt("endobj")},va=Me.__private__.putTrailer=function(){Qt("trailer"),Qt("<<"),Qt("/Size "+(wr+1)),Qt("/Root "+wr+" 0 R"),Qt("/Info "+(wr-1)+" 0 R"),Qt("/ID [ <"+Lt+"> <"+Lt+"> ]"),Qt(">>")},za=Me.__private__.putHeader=function(){Qt("%PDF-"+ke),Qt("%\xBA\xDF\xAC\xE0")},to=Me.__private__.putXRef=function(){var St=1,qt="0000000000";for(Qt("xref"),Qt("0 "+(wr+1)),Qt("0000000000 65535 f "),St=1;St<=wr;St++)typeof hr[St]=="function"?Qt((qt+hr[St]()).slice(-10)+" 00000 n "):hr[St]!==void 0?Qt((qt+hr[St]).slice(-10)+" 00000 n "):Qt("0000000000 00000 n ")},lo=Me.__private__.buildDocument=function(){st=!1,ar=wr=0,Tt=[],hr=[],oi=[],zi=$n(),hi=$n(),tn.publish("buildDocument"),za(),Bi(),function(){tn.publish("putAdditionalObjects");for(var qt=0;qt<oi.length;qt++){var ur=oi[qt];Qn(ur.objId,!0),Qt(ur.content),Qt("endobj")}tn.publish("postPutAdditionalObjects")}(),pa(),Hi(),Za();var St=ar;return to(),va(),Qt("startxref"),Qt(""+St),Qt("%%EOF"),st=!0,Tt.join(`
|
|
|
`)},_a=Me.__private__.getBlob=function(St){return new Blob([Ir(St)],{type:"application/pdf"})},Qo=Me.output=Me.__private__.output=((ft=function(qt,ur){ur=ur||{};var yr=lo();switch(typeof ur=="string"?ur={filename:ur}:ur.filename=ur.filename||"generated.pdf",qt){case void 0:return yr;case"save":Me.save(ur.filename);break;case"arraybuffer":return Ir(yr);case"blob":return _a(yr);case"bloburi":case"bloburl":if(ce.URL!==void 0&&typeof ce.URL.createObjectURL=="function")return ce.URL&&ce.URL.createObjectURL(_a(yr))||void 0;console.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":return"data:application/pdf;filename="+ur.filename+";base64,"+btoa(yr);case"dataurlnewwindow":var Ur='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring")+'"></iframe></body></html>',Zr=ce.open();if(Zr!==null&&Zr.document.write(Ur),Zr||typeof safari=="undefined")return Zr;case"datauri":case"dataurl":return ce.document.location.href="data:application/pdf;filename="+ur.filename+";base64,"+btoa(yr);default:return null}}).foo=function(){try{return ft.apply(this,arguments)}catch(ur){var St=ur.stack||"";~St.indexOf(" at ")&&(St=St.split(" at ")[1]);var qt="Error in function "+St.split(`
|
|
|
`)[0].split("<")[0]+": "+ur.message;if(!ce.console)throw new Error(qt);ce.console.error(qt,ur),ce.alert&&alert(qt)}},(ft.foo.bar=ft).foo),Uo=function(qt){return Array.isArray(Vn)===!0&&-1<Vn.indexOf(qt)};switch(De){case"pt":it=1;break;case"mm":it=72/25.4;break;case"cm":it=72/2.54;break;case"in":it=72;break;case"px":it=Uo("px_scaling")==1?.75:96/72;break;case"pc":case"em":it=12;break;case"ex":it=6;break;default:throw new Error("Invalid unit: "+De)}Ct(),dr();var jo=Me.__private__.getPageInfo=function(St){if(isNaN(St)||St%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:wn[St].objId,pageNumber:St,pageContext:wn[St]}},Ao=Me.__private__.getPageInfoByObjId=function(St){for(var qt in wn)if(wn[qt].objId===St)break;if(isNaN(St)||St%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");return jo(qt)},fo=Me.__private__.getCurrentPageInfo=function(){return{objId:wn[pt].objId,pageNumber:pt,pageContext:wn[pt]}};Me.addPage=function(){return Yn.apply(this,arguments),this},Me.setPage=function(){return Jn.apply(this,arguments),this},Me.insertPage=function(St){return this.addPage(),this.movePage(pt,St),this},Me.movePage=function(St,qt){if(qt<St){for(var ur=kt[St],yr=wn[St],Ur=St;qt<Ur;Ur--)kt[Ur]=kt[Ur-1],wn[Ur]=wn[Ur-1];kt[qt]=ur,wn[qt]=yr,this.setPage(qt)}else if(St<qt){for(ur=kt[St],yr=wn[St],Ur=St;Ur<qt;Ur++)kt[Ur]=kt[Ur+1],wn[Ur]=wn[Ur+1];kt[qt]=ur,wn[qt]=yr,this.setPage(qt)}return this},Me.deletePage=function(){return function(St){0<St&&St<=nn&&(kt.splice(St,1),--nn<pt&&(pt=nn),this.setPage(pt))}.apply(this,arguments),this},Me.__private__.text=Me.text=function(St,qt,ur,yr){var Ur;typeof St!="number"||typeof qt!="number"||typeof ur!="string"&&!Array.isArray(ur)||(Ur=ur,ur=qt,qt=St,St=Ur);var Zr=arguments[3],cn=arguments[4],_n=arguments[5];if(p(Zr)==="object"&&Zr!==null||(typeof cn=="string"&&(_n=cn,cn=null),typeof Zr=="string"&&(_n=Zr,Zr=null),typeof Zr=="number"&&(cn=Zr,Zr=null),yr={flags:Zr,angle:cn,align:_n}),(Zr=Zr||{}).noBOM=Zr.noBOM||!0,Zr.autoencode=Zr.autoencode||!0,isNaN(qt)||isNaN(ur)||St==null)throw new Error("Invalid arguments passed to jsPDF.text");if(St.length===0)return Rn;var Fn,qn="",Wn=typeof yr.lineHeightFactor=="number"?yr.lineHeightFactor:Ma,Rn=yr.scope||this;function Kn(Yi){for(var Pi,Ci=Yi.concat(),bi=[],wa=Ci.length;wa--;)typeof(Pi=Ci.shift())=="string"?bi.push(Pi):Array.isArray(Yi)&&Pi.length===1?bi.push(Pi[0]):bi.push([Pi[0],Pi[1],Pi[2]]);return bi}function Gn(Yi,Pi){var Ci;if(typeof Yi=="string")Ci=Pi(Yi)[0];else if(Array.isArray(Yi)){for(var bi,wa,Zi=Yi.concat(),ha=[],Ia=Zi.length;Ia--;)typeof(bi=Zi.shift())=="string"?ha.push(Pi(bi)[0]):Array.isArray(bi)&&bi[0]==="string"&&(wa=Pi(bi[0],bi[1],bi[2]),ha.push([wa[0],wa[1],wa[2]]));Ci=ha}return Ci}var In=!1,kn=!0;if(typeof St=="string")In=!0;else if(Array.isArray(St)){for(var ti,or=St.concat(),br=[],Mr=or.length;Mr--;)(typeof(ti=or.shift())!="string"||Array.isArray(ti)&&typeof ti[0]!="string")&&(kn=!1);In=kn}if(In===!1)throw new Error('Type of text must be string or Array. "'+St+'" is not recognized.');var Sr=Ar[Je].encoding;Sr!=="WinAnsiEncoding"&&Sr!=="StandardEncoding"||(St=Gn(St,function(Yi,Pi,Ci){return[(bi=Yi,bi=bi.split(" ").join(Array(yr.TabLen||9).join(" ")),Dn(bi,Zr)),Pi,Ci];var bi})),typeof St=="string"&&(St=St.match(/[\r?\n]/)?St.split(/\r\n|\r|\n/g):[St]);var Wt=zr/Rn.internal.scaleFactor,fr=Wt*(Ma-1);switch(yr.baseline){case"bottom":ur-=fr;break;case"top":ur+=Wt-fr;break;case"hanging":ur+=Wt-2*fr;break;case"middle":ur+=Wt/2-fr}0<(vi=yr.maxWidth||0)&&(typeof St=="string"?St=Rn.splitTextToSize(St,vi):Object.prototype.toString.call(St)==="[object Array]"&&(St=Rn.splitTextToSize(St.join(" "),vi)));var Jt={text:St,x:qt,y:ur,options:yr,mutex:{pdfEscape:Dn,activeFontKey:Je,fonts:Ar,activeFontSize:zr}};tn.publish("preProcessText",Jt),St=Jt.text,cn=(yr=Jt.options).angle;var Tr=Rn.internal.scaleFactor,_r=[];if(cn){cn*=Math.PI/180;var Qr=Math.cos(cn),Kr=Math.sin(cn);_r=[Qe(Qr),Qe(Kr),Qe(-1*Kr),Qe(Qr)]}(Ii=yr.charSpace)!==void 0&&(qn+=ct(Ii*Tr)+` Tc
|
|
|
`),yr.lang;var en=-1,An=yr.renderingMode!==void 0?yr.renderingMode:yr.stroke,xn=Rn.internal.getCurrentPageInfo().pageContext;switch(An){case 0:case!1:case"fill":en=0;break;case 1:case!0:case"stroke":en=1;break;case 2:case"fillThenStroke":en=2;break;case 3:case"invisible":en=3;break;case 4:case"fillAndAddForClipping":en=4;break;case 5:case"strokeAndAddPathForClipping":en=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":en=6;break;case 7:case"addToPathForClipping":en=7}var Cn=xn.usedRenderingMode!==void 0?xn.usedRenderingMode:-1;en!==-1?qn+=en+` Tr
|
|
|
`:Cn!==-1&&(qn+=`0 Tr
|
|
|
`),en!==-1&&(xn.usedRenderingMode=en),_n=yr.align||"left";var jn=zr*Wn,di=Rn.internal.pageSize.getWidth(),Ei=(Tr=Rn.internal.scaleFactor,Ar[Je]),Ii=yr.charSpace||Or,vi=yr.maxWidth||0,wi=(Zr={},[]);if(Object.prototype.toString.call(St)==="[object Array]"){var ri,Un;br=Kn(St),_n!=="left"&&(Un=br.map(function(Yi){return Rn.getStringUnitWidth(Yi,{font:Ei,charSpace:Ii,fontSize:zr})*zr/Tr}));var ci,mi=Math.max.apply(Math,Un),Ki=0;if(_n==="right"){qt-=Un[0],St=[];var ii=0;for(Mr=br.length;ii<Mr;ii++)mi-Un[ii],ri=ii===0?(ci=Wr(qt),Yr(ur)):(ci=(Ki-Un[ii])*Tr,-jn),St.push([br[ii],ci,ri]),Ki=Un[ii]}else if(_n==="center")for(qt-=Un[0]/2,St=[],ii=0,Mr=br.length;ii<Mr;ii++)(mi-Un[ii])/2,ri=ii===0?(ci=Wr(qt),Yr(ur)):(ci=(Ki-Un[ii])/2*Tr,-jn),St.push([br[ii],ci,ri]),Ki=Un[ii];else if(_n==="left")for(St=[],ii=0,Mr=br.length;ii<Mr;ii++)ri=ii===0?Yr(ur):-jn,ci=ii===0?Wr(qt):0,St.push(br[ii]);else{if(_n!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(St=[],vi=vi!==0?vi:di,ii=0,Mr=br.length;ii<Mr;ii++)ri=ii===0?Yr(ur):-jn,ci=ii===0?Wr(qt):0,ii<Mr-1&&wi.push(((vi-Un[ii])/(br[ii].split(" ").length-1)*Tr).toFixed(2)),St.push([br[ii],ci,ri])}}(typeof yr.R2L=="boolean"?yr.R2L:gn)===!0&&(St=Gn(St,function(Yi,Pi,Ci){return[Yi.split("").reverse().join(""),Pi,Ci]})),Jt={text:St,x:qt,y:ur,options:yr,mutex:{pdfEscape:Dn,activeFontKey:Je,fonts:Ar,activeFontSize:zr}},tn.publish("postProcessText",Jt),St=Jt.text,Fn=Jt.mutex.isHex,br=Kn(St),St=[];var fi,pi,ra,ki=0,Zn=(Mr=br.length,"");for(ii=0;ii<Mr;ii++)Zn="",Array.isArray(br[ii])?(fi=parseFloat(br[ii][1]),pi=parseFloat(br[ii][2]),ra=(Fn?"<":"(")+br[ii][0]+(Fn?">":")"),ki=1):(fi=Wr(qt),pi=Yr(ur),ra=(Fn?"<":"(")+br[ii]+(Fn?">":")")),wi!==void 0&&wi[ii]!==void 0&&(Zn=wi[ii]+` Tw
|
|
|
`),_r.length!==0&&ii===0?St.push(Zn+_r.join(" ")+" "+fi.toFixed(2)+" "+pi.toFixed(2)+` Tm
|
|
|
`+ra):ki===1||ki===0&&ii===0?St.push(Zn+fi.toFixed(2)+" "+pi.toFixed(2)+` Td
|
|
|
`+ra):St.push(Zn+ra);St=ki===0?St.join(` Tj
|
|
|
T* `):St.join(` Tj
|
|
|
`),St+=` Tj
|
|
|
`;var Si=`BT
|
|
|
/`+Je+" "+zr+` Tf
|
|
|
`+(zr*Wn).toFixed(2)+` TL
|
|
|
`+er+`
|
|
|
`;return Si+=qn,Si+=St,Qt(Si+="ET"),ir[Je]=!0,Rn},Me.__private__.lstext=Me.lstext=function(St,qt,ur,yr){return console.warn("jsPDF.lstext is deprecated"),this.text(St,qt,ur,{charSpace:yr})},Me.__private__.clip=Me.clip=function(St){Qt(St==="evenodd"?"W*":"W"),Qt("n")},Me.__private__.clip_fixed=Me.clip_fixed=function(St){console.log("clip_fixed is deprecated"),Me.clip(St)};var Ro=Me.__private__.isValidStyle=function(St){var qt=!1;return[void 0,null,"S","F","DF","FD","f","f*","B","B*"].indexOf(St)!==-1&&(qt=!0),qt},si=Me.__private__.getStyle=function(St){var qt="S";return St==="F"?qt="f":St==="FD"||St==="DF"?qt="B":St!=="f"&&St!=="f*"&&St!=="B"&&St!=="B*"||(qt=St),qt};Me.__private__.line=Me.line=function(St,qt,ur,yr){if(isNaN(St)||isNaN(qt)||isNaN(ur)||isNaN(yr))throw new Error("Invalid arguments passed to jsPDF.line");return this.lines([[ur-St,yr-qt]],St,qt)},Me.__private__.lines=Me.lines=function(St,qt,ur,yr,Ur,Zr){var cn,_n,Fn,qn,Wn,Rn,Kn,Gn,In,kn,ti,or;if(typeof St=="number"&&(or=ur,ur=qt,qt=St,St=or),yr=yr||[1,1],Zr=Zr||!1,isNaN(qt)||isNaN(ur)||!Array.isArray(St)||!Array.isArray(yr)||!Ro(Ur)||typeof Zr!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Qt(ct(Wr(qt))+" "+ct(Yr(ur))+" m "),cn=yr[0],_n=yr[1],qn=St.length,kn=qt,ti=ur,Fn=0;Fn<qn;Fn++)(Wn=St[Fn]).length===2?(kn=Wn[0]*cn+kn,ti=Wn[1]*_n+ti,Qt(ct(Wr(kn))+" "+ct(Yr(ti))+" l")):(Rn=Wn[0]*cn+kn,Kn=Wn[1]*_n+ti,Gn=Wn[2]*cn+kn,In=Wn[3]*_n+ti,kn=Wn[4]*cn+kn,ti=Wn[5]*_n+ti,Qt(ct(Wr(Rn))+" "+ct(Yr(Kn))+" "+ct(Wr(Gn))+" "+ct(Yr(In))+" "+ct(Wr(kn))+" "+ct(Yr(ti))+" c"));return Zr&&Qt(" h"),Ur!==null&&Qt(si(Ur)),this},Me.__private__.rect=Me.rect=function(St,qt,ur,yr,Ur){if(isNaN(St)||isNaN(qt)||isNaN(ur)||isNaN(yr)||!Ro(Ur))throw new Error("Invalid arguments passed to jsPDF.rect");return Qt([Qe(Wr(St)),Qe(Yr(qt)),Qe(ur*it),Qe(-yr*it),"re"].join(" ")),Ur!==null&&Qt(si(Ur)),this},Me.__private__.triangle=Me.triangle=function(St,qt,ur,yr,Ur,Zr,cn){if(isNaN(St)||isNaN(qt)||isNaN(ur)||isNaN(yr)||isNaN(Ur)||isNaN(Zr)||!Ro(cn))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[ur-St,yr-qt],[Ur-ur,Zr-yr],[St-Ur,qt-Zr]],St,qt,[1,1],cn,!0),this},Me.__private__.roundedRect=Me.roundedRect=function(St,qt,ur,yr,Ur,Zr,cn){if(isNaN(St)||isNaN(qt)||isNaN(ur)||isNaN(yr)||isNaN(Ur)||isNaN(Zr)||!Ro(cn))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var _n=4/3*(Math.SQRT2-1);return this.lines([[ur-2*Ur,0],[Ur*_n,0,Ur,Zr-Zr*_n,Ur,Zr],[0,yr-2*Zr],[0,Zr*_n,-Ur*_n,Zr,-Ur,Zr],[2*Ur-ur,0],[-Ur*_n,0,-Ur,-Zr*_n,-Ur,-Zr],[0,2*Zr-yr],[0,-Zr*_n,Ur*_n,-Zr,Ur,-Zr]],St+Ur,qt,[1,1],cn),this},Me.__private__.ellipse=Me.ellipse=function(St,qt,ur,yr,Ur){if(isNaN(St)||isNaN(qt)||isNaN(ur)||isNaN(yr)||!Ro(Ur))throw new Error("Invalid arguments passed to jsPDF.ellipse");var Zr=4/3*(Math.SQRT2-1)*ur,cn=4/3*(Math.SQRT2-1)*yr;return Qt([Qe(Wr(St+ur)),Qe(Yr(qt)),"m",Qe(Wr(St+ur)),Qe(Yr(qt-cn)),Qe(Wr(St+Zr)),Qe(Yr(qt-yr)),Qe(Wr(St)),Qe(Yr(qt-yr)),"c"].join(" ")),Qt([Qe(Wr(St-Zr)),Qe(Yr(qt-yr)),Qe(Wr(St-ur)),Qe(Yr(qt-cn)),Qe(Wr(St-ur)),Qe(Yr(qt)),"c"].join(" ")),Qt([Qe(Wr(St-ur)),Qe(Yr(qt+cn)),Qe(Wr(St-Zr)),Qe(Yr(qt+yr)),Qe(Wr(St)),Qe(Yr(qt+yr)),"c"].join(" ")),Qt([Qe(Wr(St+Zr)),Qe(Yr(qt+yr)),Qe(Wr(St+ur)),Qe(Yr(qt+cn)),Qe(Wr(St+ur)),Qe(Yr(qt)),"c"].join(" ")),Ur!==null&&Qt(si(Ur)),this},Me.__private__.circle=Me.circle=function(St,qt,ur,yr){if(isNaN(St)||isNaN(qt)||isNaN(ur)||!Ro(yr))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(St,qt,ur,ur,yr)},Me.setFont=function(St,qt){return Je=Fi(St,qt,{disableWarning:!1}),this},Me.setFontStyle=Me.setFontType=function(St){return Je=Fi(void 0,St),this},Me.__private__.getFontList=Me.getFontList=function(){var St,qt,ur,yr={};for(St in kr)if(kr.hasOwnProperty(St))for(qt in yr[St]=ur=[],kr[St])kr[St].hasOwnProperty(qt)&&ur.push(qt);return yr},Me.addFont=function(St,qt,ur,yr){ba.call(this,St,qt,ur,yr=yr||"Identity-H")};var Ma,Xo=We.lineWidth||.200025,Io=Me.__private__.setLineWidth=Me.setLineWidth=function(St){return Qt((St*it).toFixed(2)+" w"),this},vo=(Me.__private__.setLineDash=oe.API.setLineDash=function(St,qt){if(St=St||[],qt=qt||0,isNaN(qt)||!Array.isArray(St))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return St=St.map(function(ur){return(ur*it).toFixed(3)}).join(" "),qt=parseFloat((qt*it).toFixed(3)),Qt("["+St+"] "+qt+" d"),this},Me.__private__.getLineHeight=Me.getLineHeight=function(){return zr*Ma}),Co=(vo=Me.__private__.getLineHeight=Me.getLineHeight=function(){return zr*Ma},Me.__private__.setLineHeightFactor=Me.setLineHeightFactor=function(St){return typeof(St=St||1.15)=="number"&&(Ma=St),this}),tr=Me.__private__.getLineHeightFactor=Me.getLineHeightFactor=function(){return Ma};Co(We.lineHeight);var Wr=Me.__private__.getHorizontalCoordinate=function(St){return St*it},Yr=Me.__private__.getVerticalCoordinate=function(St){return wn[pt].mediaBox.topRightY-wn[pt].mediaBox.bottomLeftY-St*it},pn=Me.__private__.getHorizontalCoordinateString=function(St){return Qe(St*it)},Ze=Me.__private__.getVerticalCoordinateString=function(St){return Qe(wn[pt].mediaBox.topRightY-wn[pt].mediaBox.bottomLeftY-St*it)},Ht=We.strokeColor||"0 G",sr=(Me.__private__.getStrokeColor=Me.getDrawColor=function(){return Bn(Ht)},Me.__private__.setStrokeColor=Me.setDrawColor=function(St,qt,ur,yr){return Ht=sn({ch1:St,ch2:qt,ch3:ur,ch4:yr,pdfColorType:"draw",precision:2}),Qt(Ht),this},We.fillColor||"0 g"),er=(Me.__private__.getFillColor=Me.getFillColor=function(){return Bn(sr)},Me.__private__.setFillColor=Me.setFillColor=function(St,qt,ur,yr){return sr=sn({ch1:St,ch2:qt,ch3:ur,ch4:yr,pdfColorType:"fill",precision:2}),Qt(sr),this},We.textColor||"0 g"),Lr=Me.__private__.getTextColor=Me.getTextColor=function(){return Bn(er)},Or=(Me.__private__.setTextColor=Me.setTextColor=function(St,qt,ur,yr){return er=sn({ch1:St,ch2:qt,ch3:ur,ch4:yr,pdfColorType:"text",precision:3}),this},We.charSpace||0),qr=Me.__private__.getCharSpace=Me.getCharSpace=function(){return Or},Hr=(Me.__private__.setCharSpace=Me.setCharSpace=function(St){if(isNaN(St))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Or=St,this},0);Me.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},Me.__private__.setLineCap=Me.setLineCap=function(St){var qt=Me.CapJoinStyles[St];if(qt===void 0)throw new Error("Line cap style of '"+St+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Qt((Hr=qt)+" J"),this};var un,fn=0;Me.__private__.setLineJoin=Me.setLineJoin=function(St){var qt=Me.CapJoinStyles[St];if(qt===void 0)throw new Error("Line join style of '"+St+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Qt((fn=qt)+" j"),this},Me.__private__.setMiterLimit=Me.setMiterLimit=function(St){if(St=St||0,isNaN(St))throw new Error("Invalid argument passed to jsPDF.setMiterLimit");return un=parseFloat(Qe(St*it)),Qt(un+" M"),this};for(var yn in Me.save=function(St,qt){if(St=St||"generated.pdf",(qt=qt||{}).returnPromise=qt.returnPromise||!1,qt.returnPromise!==!1)return new Promise(function(ur,yr){try{var Ur=Xt(_a(lo()),St);typeof Xt.unload=="function"&&ce.setTimeout&&setTimeout(Xt.unload,911),ur(Ur)}catch(Zr){yr(Zr.message)}});Xt(_a(lo()),St),typeof Xt.unload=="function"&&ce.setTimeout&&setTimeout(Xt.unload,911)},oe.API)oe.API.hasOwnProperty(yn)&&(yn==="events"&&oe.API.events.length?function(St,qt){var ur,yr,Ur;for(Ur=qt.length-1;Ur!==-1;Ur--)ur=qt[Ur][0],yr=qt[Ur][1],St.subscribe.apply(St,[ur].concat(typeof yr=="function"?[yr]:yr))}(tn,oe.API.events):Me[yn]=oe.API[yn]);return Me.internal={pdfEscape:Dn,getStyle:si,getFont:function(){return Ar[Fi.apply(Me,arguments)]},getFontSize:hn,getCharSpace:qr,getTextColor:Lr,getLineHeight:vo,getLineHeightFactor:tr,write:Er,getHorizontalCoordinate:Wr,getVerticalCoordinate:Yr,getCoordinateString:pn,getVerticalCoordinateString:Ze,collections:{},newObject:On,newAdditionalObject:ei,newObjectDeferred:$n,newObjectDeferredBegin:Qn,getFilters:ta,putStream:ua,events:tn,scaleFactor:it,pageSize:{getWidth:function(){return(wn[pt].mediaBox.topRightX-wn[pt].mediaBox.bottomLeftX)/it},setWidth:function(qt){wn[pt].mediaBox.topRightX=qt*it+wn[pt].mediaBox.bottomLeftX},getHeight:function(){return(wn[pt].mediaBox.topRightY-wn[pt].mediaBox.bottomLeftY)/it},setHeight:function(qt){wn[pt].mediaBox.topRightY=qt*it+wn[pt].mediaBox.bottomLeftY}},output:Qo,getNumberOfPages:ni,pages:kt,out:Qt,f2:Qe,f3:ct,getPageInfo:jo,getPageInfoByObjId:Ao,getCurrentPageInfo:fo,getPDFVersion:re,hasHotfix:Uo},Object.defineProperty(Me.internal.pageSize,"width",{get:function(){return(wn[pt].mediaBox.topRightX-wn[pt].mediaBox.bottomLeftX)/it},set:function(qt){wn[pt].mediaBox.topRightX=qt*it+wn[pt].mediaBox.bottomLeftX},enumerable:!0,configurable:!0}),Object.defineProperty(Me.internal.pageSize,"height",{get:function(){return(wn[pt].mediaBox.topRightY-wn[pt].mediaBox.bottomLeftY)/it},set:function(qt){wn[pt].mediaBox.topRightY=qt*it+wn[pt].mediaBox.bottomLeftY},enumerable:!0,configurable:!0}),function(St){for(var qt=0,ur=jr.length;qt<ur;qt++){var yr=ba(St[qt][0],St[qt][1],St[qt][2],jr[qt][3],!0);ir[yr]=!0;var Ur=St[qt][0].split("-");ui(yr,Ur[0],Ur[1]||"")}tn.publish("addFonts",{fonts:Ar,dictionary:kr})}(jr),Je="F1",Yn(He,fe),tn.publish("initialized"),Me}return oe.API={events:[]},oe.version="1.5.3",!(C=function(){return oe}.call(N,r,N,B),C!==void 0&&(B.exports=C)),oe}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof y!="undefined"&&y||Function('return typeof this === "object" && this.content')()||Function("return this")());/**
|
|
|
* @license
|
|
|
* Copyright (c) 2016 Alexander Weidt,
|
|
|
* https://github.com/BiggA94
|
|
|
*
|
|
|
* Licensed under the MIT License. http://opensource.org/licenses/mit-license
|
|
|
*/(function(ce,le){var oe,fe=1,De=function(cr){return cr.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},He=function(cr){return cr.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},je=function(cr){if(isNaN(cr))throw new Error("Invalid argument passed to jsPDF.f2");return cr.toFixed(2)},We=function(cr){if(isNaN(cr))throw new Error("Invalid argument passed to jsPDF.f2");return cr.toFixed(5)};ce.__acroform__={};var nt=function(cr,wr){cr.prototype=Object.create(wr.prototype),cr.prototype.constructor=cr},xt=function(cr){return cr*fe},It=function(cr){return cr/fe},ir=function(cr){var wr=new it,hr=Br.internal.getHeight(cr)||0,Ar=Br.internal.getWidth(cr)||0;return wr.BBox=[0,0,Number(je(Ar)),Number(je(hr))],wr},Me=ce.__acroform__.setBit=function(Xr,cr){if(Xr=Xr||0,cr=cr||0,isNaN(Xr)||isNaN(cr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return Xr|=1<<cr},ke=ce.__acroform__.clearBit=function(Xr,cr){if(Xr=Xr||0,cr=cr||0,isNaN(Xr)||isNaN(cr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return Xr&=~(1<<cr)},re=ce.__acroform__.getBit=function(Xr,cr){if(isNaN(Xr)||isNaN(cr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return(Xr&1<<cr)==0?0:1},be=ce.__acroform__.getBitForPdf=function(Xr,cr){if(isNaN(Xr)||isNaN(cr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return re(Xr,cr-1)},Ne=ce.__acroform__.setBitForPdf=function(Xr,cr){if(isNaN(Xr)||isNaN(cr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return Me(Xr,cr-1)},Ke=ce.__acroform__.clearBitForPdf=function(Xr,cr,wr){if(isNaN(Xr)||isNaN(cr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return ke(Xr,cr-1)},Qe=ce.__acroform__.calculateCoordinates=function(Xr){var cr=this.internal.getHorizontalCoordinate,wr=this.internal.getVerticalCoordinate,hr=Xr[0],Ar=Xr[1],kr=Xr[2],nn=Xr[3],wn={};return wn.lowerLeft_X=cr(hr)||0,wn.lowerLeft_Y=wr(Ar+nn)||0,wn.upperRight_X=cr(hr+kr)||0,wn.upperRight_Y=wr(Ar)||0,[Number(je(wn.lowerLeft_X)),Number(je(wn.lowerLeft_Y)),Number(je(wn.upperRight_X)),Number(je(wn.upperRight_Y))]},ct=function(cr){if(cr.appearanceStreamContent)return cr.appearanceStreamContent;if(cr.V||cr.DV){var wr=[],hr=cr.V||cr.DV,Ar=Lt(cr,hr),kr=oe.internal.getFont(cr.fontName,cr.fontStyle).id;wr.push("/Tx BMC"),wr.push("q"),wr.push("BT"),wr.push(oe.__private__.encodeColorString(cr.color)),wr.push("/"+kr+" "+je(Ar.fontSize)+" Tf"),wr.push("1 0 0 1 0 0 Tm"),wr.push(Ar.text),wr.push("ET"),wr.push("Q"),wr.push("EMC");var nn=new ir(cr);return nn.stream=wr.join(`
|
|
|
`),nn}},Lt=function(cr,wr){var hr=cr.maxFontSize||12,Ar=(cr.fontName,{text:"",fontSize:""}),kr=(wr=(wr=wr.substr(0,1)=="("?wr.substr(1):wr).substr(wr.length-1)==")"?wr.substr(0,wr.length-1):wr).split(" "),nn=(oe.__private__.encodeColorString(cr.color),hr),wn=Br.internal.getHeight(cr)||0;wn=wn<0?-wn:wn;var oi=Br.internal.getWidth(cr)||0;oi=oi<0?-oi:oi;var tn=function(Dn,Pn,Yn){if(Dn+1<kr.length){var Jn=Pn+" "+kr[Dn+1];return rr(Jn,cr,Yn).width<=oi-4}return!1};nn++;e:for(;;){wr="";var Vn=rr("3",cr,--nn).height,On=cr.multiline?wn-nn:(wn-Vn)/2,$n=-2,Qn=On+=2,ei=0,zi=0,hi=0;if(nn<=0){wr=`(...) Tj
|
|
|
`,wr+="% Width of Text: "+rr(wr,cr,nn=12).width+", FieldWidth:"+oi+`
|
|
|
`;break}hi=rr(kr[0]+" ",cr,nn).width;var Bn="",sn=0;for(var ta in kr)if(kr.hasOwnProperty(ta)){Bn=(Bn+=kr[ta]+" ").substr(Bn.length-1)==" "?Bn.substr(0,Bn.length-1):Bn;var ua=parseInt(ta);hi=rr(Bn+" ",cr,nn).width;var fa=tn(ua,Bn,nn),Bi=ta>=kr.length-1;if(fa&&!Bi){Bn+=" ";continue}if(fa||Bi){if(Bi)zi=ua;else if(cr.multiline&&wn<(Vn+2)*(sn+2)+2)continue e}else{if(!cr.multiline)continue e;if(wn<(Vn+2)*(sn+2)+2)continue e;zi=ua}for(var pa="",ui=ei;ui<=zi;ui++)pa+=kr[ui]+" ";switch(pa=pa.substr(pa.length-1)==" "?pa.substr(0,pa.length-1):pa,hi=rr(pa,cr,nn).width,cr.textAlign){case"right":$n=oi-hi-2;break;case"center":$n=(oi-hi)/2;break;case"left":default:$n=2}wr+=je($n)+" "+je(Qn)+` Td
|
|
|
`,wr+="("+De(pa)+`) Tj
|
|
|
`,wr+=-je($n)+` 0 Td
|
|
|
`,Qn=-(nn+2),hi=0,ei=zi+1,sn++,Bn=""}break}return Ar.text=wr,Ar.fontSize=nn,Ar},rr=function(cr,wr,hr){var Ar=oe.internal.getFont(wr.fontName,wr.fontStyle),kr=oe.getStringUnitWidth(cr,{font:Ar,fontSize:parseFloat(hr),charSpace:0})*parseFloat(hr);return{height:oe.getStringUnitWidth("3",{font:Ar,fontSize:parseFloat(hr),charSpace:0})*parseFloat(hr)*1.5,width:kr}},dr={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Pt=function(){oe.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var cr=oe.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var wr in cr)if(cr.hasOwnProperty(wr)){var hr=cr[wr];hr.objId=void 0,hr.hasAnnotation&&jt.call(oe,hr)}},jt=function(cr){var wr={type:"reference",object:cr};oe.internal.getPageInfo(cr.page).pageContext.annotations.find(function(hr){return hr.type===wr.type&&hr.object===wr.object})===void 0&&oe.internal.getPageInfo(cr.page).pageContext.annotations.push(wr)},Ct=function(){if(oe.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");oe.internal.write("/AcroForm "+oe.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")},Rt=function(){oe.internal.events.unsubscribe(oe.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete oe.internal.acroformPlugin.acroFormDictionaryRoot._eventID,oe.internal.acroformPlugin.printedOut=!0},pt=function(cr){var wr=!cr;cr||(oe.internal.newObjectDeferredBegin(oe.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),oe.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),cr=cr||oe.internal.acroformPlugin.acroFormDictionaryRoot.Kids;for(var hr in cr)if(cr.hasOwnProperty(hr)){var Ar=cr[hr],kr=[],nn=Ar.Rect;if(Ar.Rect&&(Ar.Rect=Qe.call(this,Ar.Rect)),oe.internal.newObjectDeferredBegin(Ar.objId,!0),Ar.DA=Br.createDefaultAppearanceStream(Ar),p(Ar)==="object"&&typeof Ar.getKeyValueListForStream=="function"&&(kr=Ar.getKeyValueListForStream()),Ar.Rect=nn,Ar.hasAppearanceStream&&!Ar.appearanceStreamContent){var wn=ct.call(this,Ar);kr.push({key:"AP",value:"<</N "+wn+">>"}),oe.internal.acroformPlugin.xForms.push(wn)}if(Ar.appearanceStreamContent){var oi="";for(var tn in Ar.appearanceStreamContent)if(Ar.appearanceStreamContent.hasOwnProperty(tn)){var Vn=Ar.appearanceStreamContent[tn];if(oi+="/"+tn+" ",oi+="<<",1<=Object.keys(Vn).length||Array.isArray(Vn))for(var hr in Vn){var On;Vn.hasOwnProperty(hr)&&(typeof(On=Vn[hr])=="function"&&(On=On.call(this,Ar)),oi+="/"+hr+" "+On+" ",0<=oe.internal.acroformPlugin.xForms.indexOf(On)||oe.internal.acroformPlugin.xForms.push(On))}else typeof(On=Vn)=="function"&&(On=On.call(this,Ar)),oi+="/"+hr+" "+On,0<=oe.internal.acroformPlugin.xForms.indexOf(On)||oe.internal.acroformPlugin.xForms.push(On);oi+=">>"}kr.push({key:"AP",value:`<<
|
|
|
`+oi+">>"})}oe.internal.putStream({additionalKeyValues:kr}),oe.internal.out("endobj")}wr&&ot.call(this,oe.internal.acroformPlugin.xForms)},ot=function(cr){for(var wr in cr)if(cr.hasOwnProperty(wr)){var hr=wr,Ar=cr[wr];oe.internal.newObjectDeferredBegin(Ar&&Ar.objId,!0),p(Ar)==="object"&&typeof Ar.putStream=="function"&&Ar.putStream(),delete cr[hr]}},gt=function(){if(this.internal!==void 0&&(this.internal.acroformPlugin===void 0||this.internal.acroformPlugin.isInitialized===!1)){if(oe=this,ht.FieldNum=0,this.internal.acroformPlugin=JSON.parse(JSON.stringify(dr)),this.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");fe=oe.internal.scaleFactor,oe.internal.acroformPlugin.acroFormDictionaryRoot=new ft,oe.internal.acroformPlugin.acroFormDictionaryRoot._eventID=oe.internal.events.subscribe("postPutResources",Rt),oe.internal.events.subscribe("buildDocument",Pt),oe.internal.events.subscribe("putCatalog",Ct),oe.internal.events.subscribe("postPutPages",pt),oe.internal.acroformPlugin.isInitialized=!0}},Ye=ce.__acroform__.arrayToPdfArray=function(Xr){if(Array.isArray(Xr)){for(var cr="[",wr=0;wr<Xr.length;wr++)switch(wr!==0&&(cr+=" "),p(Xr[wr])){case"boolean":case"number":case"object":cr+=Xr[wr].toString();break;case"string":Xr[wr].substr(0,1)!=="/"?cr+="("+De(Xr[wr].toString())+")":cr+=Xr[wr].toString()}return cr+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},$e=function(cr){return(cr=cr||"").toString(),cr="("+De(cr)+")"},Je=function(){var cr;Object.defineProperty(this,"objId",{configurable:!0,get:function(){if(cr||(cr=oe.internal.newObjectDeferred()),!cr)throw new Error("AcroFormPDFObject: Couldn't create Object ID");return cr},set:function(hr){cr=hr}})};Je.prototype.toString=function(){return this.objId+" 0 R"},Je.prototype.putStream=function(){var Xr=this.getKeyValueListForStream();oe.internal.putStream({data:this.stream,additionalKeyValues:Xr}),oe.internal.out("endobj")},Je.prototype.getKeyValueListForStream=function(){return function(Xr){var cr=[],wr=Object.getOwnPropertyNames(Xr).filter(function(nn){return nn!="content"&&nn!="appearanceStreamContent"&&nn.substring(0,1)!="_"});for(var hr in wr)if(Object.getOwnPropertyDescriptor(Xr,wr[hr]).configurable===!1){var Ar=wr[hr],kr=Xr[Ar];kr&&(Array.isArray(kr)?cr.push({key:Ar,value:Ye(kr)}):kr instanceof Je?cr.push({key:Ar,value:kr.objId+" 0 R"}):typeof kr!="function"&&cr.push({key:Ar,value:kr}))}return cr}(this)};var it=function(){Je.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writeable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writeable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writeable:!0});var cr,wr=[];Object.defineProperty(this,"BBox",{configurable:!1,writeable:!0,get:function(){return wr},set:function(Ar){wr=Ar}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writeable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(Ar){cr=Ar.trim()},get:function(){return cr||null}})};nt(it,Je);var ft=function(){Je.call(this);var cr,wr=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return 0<wr.length?wr:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return wr}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(cr)return"("+cr+")"},set:function(Ar){cr=Ar}})};nt(ft,Je);var ht=function Xr(){Je.call(this);var cr=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return cr},set:function(sn){if(isNaN(sn))throw new Error('Invalid value "'+sn+'" for attribute F supplied.');cr=sn}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(be(cr,3))},set:function(sn){Boolean(sn)===!0?this.F=Ne(cr,3):this.F=Ke(cr,3)}});var wr=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return wr},set:function(sn){if(isNaN(sn))throw new Error('Invalid value "'+sn+'" for attribute Ff supplied.');wr=sn}});var hr=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(hr.length!==0)return hr},set:function(sn){hr=sn!==void 0?sn:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!hr||isNaN(hr[0])?0:It(hr[0])},set:function(sn){hr[0]=xt(sn)}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!hr||isNaN(hr[1])?0:It(hr[1])},set:function(sn){hr[1]=xt(sn)}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!hr||isNaN(hr[2])?0:It(hr[2])},set:function(sn){hr[2]=xt(sn)}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!hr||isNaN(hr[3])?0:It(hr[3])},set:function(sn){hr[3]=xt(sn)}});var Ar="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return Ar},set:function(sn){switch(sn){case"/Btn":case"/Tx":case"/Ch":case"/Sig":Ar=sn;break;default:throw new Error('Invalid value "'+sn+'" for attribute FT supplied.')}}});var kr=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!kr||kr.length<1){if(this instanceof jr)return;kr="FieldObject"+Xr.FieldNum++}return"("+De(kr)+")"},set:function(sn){kr=sn.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return kr},set:function(sn){kr=sn}});var nn="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return nn},set:function(sn){nn=sn}});var wn="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return wn},set:function(sn){wn=sn}});var oi=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return It(oi)},set:function(sn){oi=xt(sn)}});var tn=50;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return It(tn)},set:function(sn){tn=xt(sn)}});var Vn="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return Vn},set:function(sn){Vn=sn}});var On="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!On||this instanceof jr||this instanceof hn))return $e(On)},set:function(sn){sn=sn.toString(),On=sn}});var $n=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if($n)return this instanceof Qt==!1?$e($n):$n},set:function(sn){sn=sn.toString(),$n=this instanceof Qt==!1?sn.substr(0,1)==="("?He(sn.substr(1,sn.length-2)):He(sn):sn}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof Qt==!0?He($n.substr(1,$n.length-1)):$n},set:function(sn){sn=sn.toString(),$n=this instanceof Qt==!0?"/"+sn:sn}});var Qn=null;Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(Qn)return this instanceof Qt==!1?$e(Qn):Qn},set:function(sn){sn=sn.toString(),Qn=this instanceof Qt==!1?sn.substr(0,1)==="("?He(sn.substr(1,sn.length-2)):He(sn):sn}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof Qt==!0?He(Qn.substr(1,Qn.length-1)):Qn},set:function(sn){sn=sn.toString(),Qn=this instanceof Qt==!0?"/"+sn:sn}}),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 ei,zi=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,writeable:!0,get:function(){return zi},set:function(sn){sn=Boolean(sn),zi=sn}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,writeable:!0,get:function(){if(ei)return ei},set:function(sn){ei=sn}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(be(this.Ff,1))},set:function(sn){Boolean(sn)===!0?this.Ff=Ne(this.Ff,1):this.Ff=Ke(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(be(this.Ff,2))},set:function(sn){Boolean(sn)===!0?this.Ff=Ne(this.Ff,2):this.Ff=Ke(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(be(this.Ff,3))},set:function(sn){Boolean(sn)===!0?this.Ff=Ne(this.Ff,3):this.Ff=Ke(this.Ff,3)}});var hi=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(hi!==null)return hi},set:function(sn){if([0,1,2].indexOf(sn)===-1)throw new Error('Invalid value "'+sn+'" for attribute Q supplied.');hi=sn}}),Object.defineProperty(this,"textAlign",{get:function(){var sn="left";switch(hi){case 0:default:sn="left";break;case 1:sn="center";break;case 2:sn="right"}return sn},configurable:!0,enumerable:!0,set:function(sn){switch(sn){case"right":case 2:hi=2;break;case"center":case 1:hi=1;break;case"left":case 0:default:hi=0}}})};nt(ht,Je);var st=function(){ht.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var cr=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return cr},set:function(Ar){cr=Ar}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return cr},set:function(Ar){cr=Ar}});var wr=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return Ye(wr)},set:function(Ar){var kr,nn;nn=[],typeof(kr=Ar)=="string"&&(nn=function(wn,oi,tn){tn||(tn=1);for(var Vn,On=[];Vn=oi.exec(wn);)On.push(Vn[tn]);return On}(kr,/\((.*?)\)/g)),wr=nn}}),this.getOptions=function(){return wr},this.setOptions=function(hr){wr=hr,this.sort&&wr.sort()},this.addOption=function(hr){hr=(hr=hr||"").toString(),wr.push(hr),this.sort&&wr.sort()},this.removeOption=function(hr,Ar){for(Ar=Ar||!1,hr=(hr=hr||"").toString();wr.indexOf(hr)!==-1&&(wr.splice(wr.indexOf(hr),1),Ar!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(be(this.Ff,18))},set:function(Ar){Boolean(Ar)===!0?this.Ff=Ne(this.Ff,18):this.Ff=Ke(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(be(this.Ff,19))},set:function(Ar){this.combo===!0&&(Boolean(Ar)===!0?this.Ff=Ne(this.Ff,19):this.Ff=Ke(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(be(this.Ff,20))},set:function(Ar){Boolean(Ar)===!0?(this.Ff=Ne(this.Ff,20),wr.sort()):this.Ff=Ke(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(be(this.Ff,22))},set:function(Ar){Boolean(Ar)===!0?this.Ff=Ne(this.Ff,22):this.Ff=Ke(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(be(this.Ff,23))},set:function(Ar){Boolean(Ar)===!0?this.Ff=Ne(this.Ff,23):this.Ff=Ke(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(be(this.Ff,27))},set:function(Ar){Boolean(Ar)===!0?this.Ff=Ne(this.Ff,27):this.Ff=Ke(this.Ff,27)}}),this.hasAppearanceStream=!1};nt(st,ht);var kt=function(){st.call(this),this.fontName="helvetica",this.combo=!1};nt(kt,st);var Tt=function(){kt.call(this),this.combo=!0};nt(Tt,kt);var ar=function(){Tt.call(this),this.edit=!0};nt(ar,Tt);var Qt=function(){ht.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(be(this.Ff,15))},set:function(Ar){Boolean(Ar)===!0?this.Ff=Ne(this.Ff,15):this.Ff=Ke(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(be(this.Ff,16))},set:function(Ar){Boolean(Ar)===!0?this.Ff=Ne(this.Ff,16):this.Ff=Ke(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(be(this.Ff,17))},set:function(Ar){Boolean(Ar)===!0?this.Ff=Ne(this.Ff,17):this.Ff=Ke(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(be(this.Ff,26))},set:function(Ar){Boolean(Ar)===!0?this.Ff=Ne(this.Ff,26):this.Ff=Ke(this.Ff,26)}});var cr,wr={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){if(Object.keys(wr).length!==0){var Ar,kr=[];for(Ar in kr.push("<<"),wr)kr.push("/"+Ar+" ("+wr[Ar]+")");return kr.push(">>"),kr.join(`
|
|
|
`)}},set:function(Ar){p(Ar)==="object"&&(wr=Ar)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return wr.CA||""},set:function(Ar){typeof Ar=="string"&&(wr.CA=Ar)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return cr},set:function(Ar){cr=Ar}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return cr.substr(1,cr.length-1)},set:function(Ar){cr="/"+Ar}})};nt(Qt,ht);var Er=function(){Qt.call(this),this.pushButton=!0};nt(Er,Qt);var Ir=function(){Qt.call(this),this.radio=!0,this.pushButton=!1;var cr=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return cr},set:function(hr){cr=hr!==void 0?hr:[]}})};nt(Ir,Qt);var jr=function(){var cr,wr;ht.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return cr},set:function(nn){cr=nn}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return wr},set:function(nn){wr=nn}});var hr,Ar={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var nn,wn=[];for(nn in wn.push("<<"),Ar)wn.push("/"+nn+" ("+Ar[nn]+")");return wn.push(">>"),wn.join(`
|
|
|
`)},set:function(nn){p(nn)==="object"&&(Ar=nn)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return Ar.CA||""},set:function(nn){typeof nn=="string"&&(Ar.CA=nn)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return hr},set:function(nn){hr=nn}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return hr.substr(1,hr.length-1)},set:function(nn){hr="/"+nn}}),this.optionName=name,this.caption="l",this.appearanceState="Off",this._AppearanceType=Br.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(name)};nt(jr,ht),Ir.prototype.setAppearance=function(Xr){if(!("createAppearanceStream"in Xr&&"getCA"in Xr))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var cr in this.Kids)if(this.Kids.hasOwnProperty(cr)){var wr=this.Kids[cr];wr.appearanceStreamContent=Xr.createAppearanceStream(wr.optionName),wr.caption=Xr.getCA()}},Ir.prototype.createOption=function(Xr){this.Kids.length;var cr=new jr;return cr.Parent=this,cr.optionName=Xr,this.Kids.push(cr),ln.call(this,cr),cr};var zr=function(){Qt.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=Br.CheckBox.createAppearanceStream()};nt(zr,Qt);var hn=function(){ht.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(be(this.Ff,13))},set:function(hr){Boolean(hr)===!0?this.Ff=Ne(this.Ff,13):this.Ff=Ke(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(be(this.Ff,21))},set:function(hr){Boolean(hr)===!0?this.Ff=Ne(this.Ff,21):this.Ff=Ke(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(be(this.Ff,23))},set:function(hr){Boolean(hr)===!0?this.Ff=Ne(this.Ff,23):this.Ff=Ke(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(be(this.Ff,24))},set:function(hr){Boolean(hr)===!0?this.Ff=Ne(this.Ff,24):this.Ff=Ke(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(be(this.Ff,25))},set:function(hr){Boolean(hr)===!0?this.Ff=Ne(this.Ff,25):this.Ff=Ke(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(be(this.Ff,26))},set:function(hr){Boolean(hr)===!0?this.Ff=Ne(this.Ff,26):this.Ff=Ke(this.Ff,26)}});var cr=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return cr},set:function(hr){cr=hr}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return cr},set:function(hr){Number.isInteger(hr)&&(cr=hr)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};nt(hn,ht);var gn=function(){hn.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(be(this.Ff,14))},set:function(wr){Boolean(wr)===!0?this.Ff=Ne(this.Ff,14):this.Ff=Ke(this.Ff,14)}}),this.password=!0};nt(gn,hn);var Br={CheckBox:{createAppearanceStream:function(){return{N:{On:Br.CheckBox.YesNormal},D:{On:Br.CheckBox.YesPushDown,Off:Br.CheckBox.OffPushDown}}},YesPushDown:function(cr){var wr=ir(cr),hr=[],Ar=oe.internal.getFont(cr.fontName,cr.fontStyle).id,kr=oe.__private__.encodeColorString(cr.color),nn=Lt(cr,cr.caption);return hr.push("0.749023 g"),hr.push("0 0 "+je(Br.internal.getWidth(cr))+" "+je(Br.internal.getHeight(cr))+" re"),hr.push("f"),hr.push("BMC"),hr.push("q"),hr.push("0 0 1 rg"),hr.push("/"+Ar+" "+je(nn.fontSize)+" Tf "+kr),hr.push("BT"),hr.push(nn.text),hr.push("ET"),hr.push("Q"),hr.push("EMC"),wr.stream=hr.join(`
|
|
|
`),wr},YesNormal:function(cr){var wr=ir(cr),hr=oe.internal.getFont(cr.fontName,cr.fontStyle).id,Ar=oe.__private__.encodeColorString(cr.color),kr=[],nn=Br.internal.getHeight(cr),wn=Br.internal.getWidth(cr),oi=Lt(cr,cr.caption);return kr.push("1 g"),kr.push("0 0 "+je(wn)+" "+je(nn)+" re"),kr.push("f"),kr.push("q"),kr.push("0 0 1 rg"),kr.push("0 0 "+je(wn-1)+" "+je(nn-1)+" re"),kr.push("W"),kr.push("n"),kr.push("0 g"),kr.push("BT"),kr.push("/"+hr+" "+je(oi.fontSize)+" Tf "+Ar),kr.push(oi.text),kr.push("ET"),kr.push("Q"),wr.stream=kr.join(`
|
|
|
`),wr},OffPushDown:function(cr){var wr=ir(cr),hr=[];return hr.push("0.749023 g"),hr.push("0 0 "+je(Br.internal.getWidth(cr))+" "+je(Br.internal.getHeight(cr))+" re"),hr.push("f"),wr.stream=hr.join(`
|
|
|
`),wr}},RadioButton:{Circle:{createAppearanceStream:function(cr){var wr={D:{Off:Br.RadioButton.Circle.OffPushDown},N:{}};return wr.N[cr]=Br.RadioButton.Circle.YesNormal,wr.D[cr]=Br.RadioButton.Circle.YesPushDown,wr},getCA:function(){return"l"},YesNormal:function(cr){var wr=ir(cr),hr=[],Ar=Br.internal.getWidth(cr)<=Br.internal.getHeight(cr)?Br.internal.getWidth(cr)/4:Br.internal.getHeight(cr)/4;Ar=Number((.9*Ar).toFixed(5));var kr=Br.internal.Bezier_C,nn=Number((Ar*kr).toFixed(5));return hr.push("q"),hr.push("1 0 0 1 "+We(Br.internal.getWidth(cr)/2)+" "+We(Br.internal.getHeight(cr)/2)+" cm"),hr.push(Ar+" 0 m"),hr.push(Ar+" "+nn+" "+nn+" "+Ar+" 0 "+Ar+" c"),hr.push("-"+nn+" "+Ar+" -"+Ar+" "+nn+" -"+Ar+" 0 c"),hr.push("-"+Ar+" -"+nn+" -"+nn+" -"+Ar+" 0 -"+Ar+" c"),hr.push(nn+" -"+Ar+" "+Ar+" -"+nn+" "+Ar+" 0 c"),hr.push("f"),hr.push("Q"),wr.stream=hr.join(`
|
|
|
`),wr},YesPushDown:function(cr){var wr=ir(cr),hr=[],Ar=Br.internal.getWidth(cr)<=Br.internal.getHeight(cr)?Br.internal.getWidth(cr)/4:Br.internal.getHeight(cr)/4,kr=(Ar=Number((.9*Ar).toFixed(5)),Number((2*Ar).toFixed(5))),nn=Number((kr*Br.internal.Bezier_C).toFixed(5)),wn=Number((Ar*Br.internal.Bezier_C).toFixed(5));return hr.push("0.749023 g"),hr.push("q"),hr.push("1 0 0 1 "+We(Br.internal.getWidth(cr)/2)+" "+We(Br.internal.getHeight(cr)/2)+" cm"),hr.push(kr+" 0 m"),hr.push(kr+" "+nn+" "+nn+" "+kr+" 0 "+kr+" c"),hr.push("-"+nn+" "+kr+" -"+kr+" "+nn+" -"+kr+" 0 c"),hr.push("-"+kr+" -"+nn+" -"+nn+" -"+kr+" 0 -"+kr+" c"),hr.push(nn+" -"+kr+" "+kr+" -"+nn+" "+kr+" 0 c"),hr.push("f"),hr.push("Q"),hr.push("0 g"),hr.push("q"),hr.push("1 0 0 1 "+We(Br.internal.getWidth(cr)/2)+" "+We(Br.internal.getHeight(cr)/2)+" cm"),hr.push(Ar+" 0 m"),hr.push(Ar+" "+wn+" "+wn+" "+Ar+" 0 "+Ar+" c"),hr.push("-"+wn+" "+Ar+" -"+Ar+" "+wn+" -"+Ar+" 0 c"),hr.push("-"+Ar+" -"+wn+" -"+wn+" -"+Ar+" 0 -"+Ar+" c"),hr.push(wn+" -"+Ar+" "+Ar+" -"+wn+" "+Ar+" 0 c"),hr.push("f"),hr.push("Q"),wr.stream=hr.join(`
|
|
|
`),wr},OffPushDown:function(cr){var wr=ir(cr),hr=[],Ar=Br.internal.getWidth(cr)<=Br.internal.getHeight(cr)?Br.internal.getWidth(cr)/4:Br.internal.getHeight(cr)/4,kr=(Ar=Number((.9*Ar).toFixed(5)),Number((2*Ar).toFixed(5))),nn=Number((kr*Br.internal.Bezier_C).toFixed(5));return hr.push("0.749023 g"),hr.push("q"),hr.push("1 0 0 1 "+We(Br.internal.getWidth(cr)/2)+" "+We(Br.internal.getHeight(cr)/2)+" cm"),hr.push(kr+" 0 m"),hr.push(kr+" "+nn+" "+nn+" "+kr+" 0 "+kr+" c"),hr.push("-"+nn+" "+kr+" -"+kr+" "+nn+" -"+kr+" 0 c"),hr.push("-"+kr+" -"+nn+" -"+nn+" -"+kr+" 0 -"+kr+" c"),hr.push(nn+" -"+kr+" "+kr+" -"+nn+" "+kr+" 0 c"),hr.push("f"),hr.push("Q"),wr.stream=hr.join(`
|
|
|
`),wr}},Cross:{createAppearanceStream:function(cr){var wr={D:{Off:Br.RadioButton.Cross.OffPushDown},N:{}};return wr.N[cr]=Br.RadioButton.Cross.YesNormal,wr.D[cr]=Br.RadioButton.Cross.YesPushDown,wr},getCA:function(){return"8"},YesNormal:function(cr){var wr=ir(cr),hr=[],Ar=Br.internal.calculateCross(cr);return hr.push("q"),hr.push("1 1 "+je(Br.internal.getWidth(cr)-2)+" "+je(Br.internal.getHeight(cr)-2)+" re"),hr.push("W"),hr.push("n"),hr.push(je(Ar.x1.x)+" "+je(Ar.x1.y)+" m"),hr.push(je(Ar.x2.x)+" "+je(Ar.x2.y)+" l"),hr.push(je(Ar.x4.x)+" "+je(Ar.x4.y)+" m"),hr.push(je(Ar.x3.x)+" "+je(Ar.x3.y)+" l"),hr.push("s"),hr.push("Q"),wr.stream=hr.join(`
|
|
|
`),wr},YesPushDown:function(cr){var wr=ir(cr),hr=Br.internal.calculateCross(cr),Ar=[];return Ar.push("0.749023 g"),Ar.push("0 0 "+je(Br.internal.getWidth(cr))+" "+je(Br.internal.getHeight(cr))+" re"),Ar.push("f"),Ar.push("q"),Ar.push("1 1 "+je(Br.internal.getWidth(cr)-2)+" "+je(Br.internal.getHeight(cr)-2)+" re"),Ar.push("W"),Ar.push("n"),Ar.push(je(hr.x1.x)+" "+je(hr.x1.y)+" m"),Ar.push(je(hr.x2.x)+" "+je(hr.x2.y)+" l"),Ar.push(je(hr.x4.x)+" "+je(hr.x4.y)+" m"),Ar.push(je(hr.x3.x)+" "+je(hr.x3.y)+" l"),Ar.push("s"),Ar.push("Q"),wr.stream=Ar.join(`
|
|
|
`),wr},OffPushDown:function(cr){var wr=ir(cr),hr=[];return hr.push("0.749023 g"),hr.push("0 0 "+je(Br.internal.getWidth(cr))+" "+je(Br.internal.getHeight(cr))+" re"),hr.push("f"),wr.stream=hr.join(`
|
|
|
`),wr}}},createDefaultAppearanceStream:function(cr){var wr=oe.internal.getFont(cr.fontName,cr.fontStyle).id,hr=oe.__private__.encodeColorString(cr.color);return"/"+wr+" "+cr.fontSize+" Tf "+hr}};Br.internal={Bezier_C:.551915024494,calculateCross:function(cr){var wr=Br.internal.getWidth(cr),hr=Br.internal.getHeight(cr),Ar=Math.min(wr,hr);return{x1:{x:(wr-Ar)/2,y:(hr-Ar)/2+Ar},x2:{x:(wr-Ar)/2+Ar,y:(hr-Ar)/2},x3:{x:(wr-Ar)/2,y:(hr-Ar)/2},x4:{x:(wr-Ar)/2+Ar,y:(hr-Ar)/2+Ar}}}},Br.internal.getWidth=function(Xr){var cr=0;return p(Xr)==="object"&&(cr=xt(Xr.Rect[2])),cr},Br.internal.getHeight=function(Xr){var cr=0;return p(Xr)==="object"&&(cr=xt(Xr.Rect[3])),cr};var ln=ce.addField=function(Xr){if(gt.call(this),!(Xr instanceof ht))throw new Error("Invalid argument passed to jsPDF.addField.");return function(cr){oe.internal.acroformPlugin.printedOut&&(oe.internal.acroformPlugin.printedOut=!1,oe.internal.acroformPlugin.acroFormDictionaryRoot=null),oe.internal.acroformPlugin.acroFormDictionaryRoot||gt.call(oe),oe.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(cr)}.call(this,Xr),Xr.page=oe.internal.getCurrentPageInfo().pageNumber,this};ce.addButton=function(Xr){if(Xr instanceof Qt==!1)throw new Error("Invalid argument passed to jsPDF.addButton.");return ln.call(this,Xr)},ce.addTextField=function(Xr){if(Xr instanceof hn==!1)throw new Error("Invalid argument passed to jsPDF.addTextField.");return ln.call(this,Xr)},ce.addChoiceField=function(Xr){if(Xr instanceof st==!1)throw new Error("Invalid argument passed to jsPDF.addChoiceField.");return ln.call(this,Xr)},p(le)=="object"&&le.ChoiceField===void 0&&le.ListBox===void 0&&le.ComboBox===void 0&&le.EditBox===void 0&&le.Button===void 0&&le.PushButton===void 0&&le.RadioButton===void 0&&le.CheckBox===void 0&&le.TextField===void 0&&le.PasswordField===void 0?(le.ChoiceField=st,le.ListBox=kt,le.ComboBox=Tt,le.EditBox=ar,le.Button=Qt,le.PushButton=Er,le.RadioButton=Ir,le.CheckBox=zr,le.TextField=hn,le.PasswordField=gn,le.AcroForm={Appearance:Br}):console.warn("AcroForm-Classes are not populated into global-namespace, because the class-Names exist already."),ce.AcroFormChoiceField=st,ce.AcroFormListBox=kt,ce.AcroFormComboBox=Tt,ce.AcroFormEditBox=ar,ce.AcroFormButton=Qt,ce.AcroFormPushButton=Er,ce.AcroFormRadioButton=Ir,ce.AcroFormCheckBox=zr,ce.AcroFormTextField=hn,ce.AcroFormPasswordField=gn,ce.AcroFormAppearance=Br,ce.AcroForm={ChoiceField:st,ListBox:kt,ComboBox:Tt,EditBox:ar,Button:Qt,PushButton:Er,RadioButton:Ir,CheckBox:zr,TextField:hn,PasswordField:gn,Appearance:Br}})((window.tmp=ut).API,typeof window!="undefined"&&window||typeof y!="undefined"&&y),function(ce){var le="addImage_",oe={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},fe=ce.getImageFileTypeByImageData=function(Me,ke){var re,be;ke=ke||"UNKNOWN";var Ne,Ke,Qe,ct="UNKNOWN";for(Qe in ce.isArrayBufferView(Me)&&(Me=ce.arrayBufferToBinaryString(Me)),oe)for(Ne=oe[Qe],re=0;re<Ne.length;re+=1){for(Ke=!0,be=0;be<Ne[re].length;be+=1)if(Ne[re][be]!==void 0&&Ne[re][be]!==Me.charCodeAt(be)){Ke=!1;break}if(Ke===!0){ct=Qe;break}}return ct==="UNKNOWN"&&ke!=="UNKNOWN"&&(console.warn('FileType of Image not recognized. Processing image as "'+ke+'".'),ct=ke),ct},De=function Me(ke){for(var re=this.internal.newObject(),be=this.internal.write,Ne=this.internal.putStream,Ke=(0,this.internal.getFilters)();Ke.indexOf("FlateEncode")!==-1;)Ke.splice(Ke.indexOf("FlateEncode"),1);ke.n=re;var Qe=[];if(Qe.push({key:"Type",value:"/XObject"}),Qe.push({key:"Subtype",value:"/Image"}),Qe.push({key:"Width",value:ke.w}),Qe.push({key:"Height",value:ke.h}),ke.cs===this.color_spaces.INDEXED?Qe.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(ke.pal.length/3-1)+" "+("smask"in ke?re+2:re+1)+" 0 R]"}):(Qe.push({key:"ColorSpace",value:"/"+ke.cs}),ke.cs===this.color_spaces.DEVICE_CMYK&&Qe.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),Qe.push({key:"BitsPerComponent",value:ke.bpc}),"dp"in ke&&Qe.push({key:"DecodeParms",value:"<<"+ke.dp+">>"}),"trns"in ke&&ke.trns.constructor==Array){for(var ct="",Lt=0,rr=ke.trns.length;Lt<rr;Lt++)ct+=ke.trns[Lt]+" "+ke.trns[Lt]+" ";Qe.push({key:"Mask",value:"["+ct+"]"})}"smask"in ke&&Qe.push({key:"SMask",value:re+1+" 0 R"});var dr=ke.f!==void 0?["/"+ke.f]:void 0;if(Ne({data:ke.data,additionalKeyValues:Qe,alreadyAppliedFilters:dr}),be("endobj"),"smask"in ke){var Pt="/Predictor "+ke.p+" /Colors 1 /BitsPerComponent "+ke.bpc+" /Columns "+ke.w,jt={w:ke.w,h:ke.h,cs:"DeviceGray",bpc:ke.bpc,dp:Pt,data:ke.smask};"f"in ke&&(jt.f=ke.f),Me.call(this,jt)}ke.cs===this.color_spaces.INDEXED&&(this.internal.newObject(),Ne({data:this.arrayBufferToBinaryString(new Uint8Array(ke.pal))}),be("endobj"))},He=function(){var ke=this.internal.collections[le+"images"];for(var re in ke)De.call(this,ke[re])},je=function(){var ke,re=this.internal.collections[le+"images"],be=this.internal.write;for(var Ne in re)be("/I"+(ke=re[Ne]).i,ke.n,"0","R")},We=function(ke){return typeof ce["process"+ke.toUpperCase()]=="function"},nt=function(ke){return p(ke)==="object"&&ke.nodeType===1},xt=function(ke,re){if(ke.nodeName==="IMG"&&ke.hasAttribute("src")){var be=""+ke.getAttribute("src");if(be.indexOf("data:image/")===0)return unescape(be);var Ne=ce.loadFile(be);if(Ne!==void 0)return btoa(Ne)}if(ke.nodeName==="CANVAS"){var Ke=ke;return ke.toDataURL("image/jpeg",1)}(Ke=document.createElement("canvas")).width=ke.clientWidth||ke.width,Ke.height=ke.clientHeight||ke.height;var Qe=Ke.getContext("2d");if(!Qe)throw"addImage requires canvas to be supported by browser.";return Qe.drawImage(ke,0,0,Ke.width,Ke.height),Ke.toDataURL((""+re).toLowerCase()=="png"?"image/png":"image/jpeg")},It=function(ke,re){var be;if(re){for(var Ne in re)if(ke===re[Ne].alias){be=re[Ne];break}}return be};ce.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"},ce.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"},ce.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},ce.sHashCode=function(Me){var ke,re=0;if((Me=Me||"").length===0)return re;for(ke=0;ke<Me.length;ke++)re=(re<<5)-re+Me.charCodeAt(ke),re|=0;return re},ce.isString=function(Me){return typeof Me=="string"},ce.validateStringAsBase64=function(Me){(Me=Me||"").toString().trim();var ke=!0;return Me.length===0&&(ke=!1),Me.length%4!=0&&(ke=!1),/^[A-Za-z0-9+\/]+$/.test(Me.substr(0,Me.length-2))===!1&&(ke=!1),/^[A-Za-z0-9\/][A-Za-z0-9+\/]|[A-Za-z0-9+\/]=|==$/.test(Me.substr(-2))===!1&&(ke=!1),ke},ce.extractInfoFromBase64DataURI=function(Me){return/^data:([\w]+?\/([\w]+?));\S*;*base64,(.+)$/g.exec(Me)},ce.extractImageFromDataUrl=function(Me){var ke=(Me=Me||"").split("base64,"),re=null;if(ke.length===2){var be=/^data:(\w*\/\w*);*(charset=[\w=-]*)*;*$/.exec(ke[0]);Array.isArray(be)&&(re={mimeType:be[1],charset:be[2],data:ke[1]})}return re},ce.supportsArrayBuffer=function(){return typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"},ce.isArrayBuffer=function(Me){return!!this.supportsArrayBuffer()&&Me instanceof ArrayBuffer},ce.isArrayBufferView=function(Me){return!!this.supportsArrayBuffer()&&typeof Uint32Array!="undefined"&&(Me instanceof Int8Array||Me instanceof Uint8Array||typeof Uint8ClampedArray!="undefined"&&Me instanceof Uint8ClampedArray||Me instanceof Int16Array||Me instanceof Uint16Array||Me instanceof Int32Array||Me instanceof Uint32Array||Me instanceof Float32Array||Me instanceof Float64Array)},ce.binaryStringToUint8Array=function(Me){for(var ke=Me.length,re=new Uint8Array(ke),be=0;be<ke;be++)re[be]=Me.charCodeAt(be);return re},ce.arrayBufferToBinaryString=function(Me){if(typeof atob=="function")return atob(this.arrayBufferToBase64(Me))},ce.arrayBufferToBase64=function(Me){for(var ke,re="",be="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ne=new Uint8Array(Me),Ke=Ne.byteLength,Qe=Ke%3,ct=Ke-Qe,Lt=0;Lt<ct;Lt+=3)re+=be[(16515072&(ke=Ne[Lt]<<16|Ne[Lt+1]<<8|Ne[Lt+2]))>>18]+be[(258048&ke)>>12]+be[(4032&ke)>>6]+be[63&ke];return Qe==1?re+=be[(252&(ke=Ne[ct]))>>2]+be[(3&ke)<<4]+"==":Qe==2&&(re+=be[(64512&(ke=Ne[ct]<<8|Ne[ct+1]))>>10]+be[(1008&ke)>>4]+be[(15&ke)<<2]+"="),re},ce.createImageInfo=function(Me,ke,re,be,Ne,Ke,Qe,ct,Lt,rr,dr,Pt,jt){var Ct={alias:ct,w:ke,h:re,cs:be,bpc:Ne,i:Qe,data:Me};return Ke&&(Ct.f=Ke),Lt&&(Ct.dp=Lt),rr&&(Ct.trns=rr),dr&&(Ct.pal=dr),Pt&&(Ct.smask=Pt),jt&&(Ct.p=jt),Ct},ce.addImage=function(Me,ke,re,be,Ne,Ke,Qe,ct,Lt){var rr="";if(typeof ke!="string"){var dr=Ke;Ke=Ne,Ne=be,be=re,re=ke,ke=dr}if(p(Me)==="object"&&!nt(Me)&&"imageData"in Me){var Pt=Me;Me=Pt.imageData,ke=Pt.format||ke||"UNKNOWN",re=Pt.x||re||0,be=Pt.y||be||0,Ne=Pt.w||Ne,Ke=Pt.h||Ke,Qe=Pt.alias||Qe,ct=Pt.compression||ct,Lt=Pt.rotation||Pt.angle||Lt}var jt=this.internal.getFilters();if(ct===void 0&&jt.indexOf("FlateEncode")!==-1&&(ct="SLOW"),typeof Me=="string"&&(Me=unescape(Me)),isNaN(re)||isNaN(be))throw console.error("jsPDF.addImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addImage");var Ct,Rt,pt,ot,gt,Ye,$e,Je=function(){var it=this.internal.collections[le+"images"];return it||(this.internal.collections[le+"images"]=it={},this.internal.events.subscribe("putResources",He),this.internal.events.subscribe("putXobjectDict",je)),it}.call(this);if(!((Ct=It(Me,Je))||(nt(Me)&&(Me=xt(Me,ke)),(($e=Qe)==null||$e.length===0)&&(Qe=typeof(Ye=Me)=="string"?ce.sHashCode(Ye):ce.isArrayBufferView(Ye)?ce.sHashCode(ce.arrayBufferToBinaryString(Ye)):null),Ct=It(Qe,Je)))){if(this.isString(Me)&&((rr=this.convertStringToImageData(Me))!==""||(rr=ce.loadFile(Me))!==void 0)&&(Me=rr),ke=this.getImageFileTypeByImageData(Me,ke),!We(ke))throw new Error("addImage does not support files of type '"+ke+"', please ensure that a plugin for '"+ke+"' support is added.");if(this.supportsArrayBuffer()&&(Me instanceof Uint8Array||(Rt=Me,Me=this.binaryStringToUint8Array(Me))),!(Ct=this["process"+ke.toUpperCase()](Me,(gt=0,(ot=Je)&&(gt=Object.keys?Object.keys(ot).length:function(it){var ft=0;for(var ht in it)it.hasOwnProperty(ht)&&ft++;return ft}(ot)),gt),Qe,((pt=ct)&&typeof pt=="string"&&(pt=pt.toUpperCase()),pt in ce.image_compression?pt:ce.image_compression.NONE),Rt)))throw new Error("An unknown error occurred whilst processing the image")}return function(it,ft,ht,st,kt,Tt,ar,Qt){var Er=function(ln,Xr,cr){return ln||Xr||(Xr=ln=-96),ln<0&&(ln=-1*cr.w*72/ln/this.internal.scaleFactor),Xr<0&&(Xr=-1*cr.h*72/Xr/this.internal.scaleFactor),ln===0&&(ln=Xr*cr.w/cr.h),Xr===0&&(Xr=ln*cr.h/cr.w),[ln,Xr]}.call(this,ht,st,kt),Ir=this.internal.getCoordinateString,jr=this.internal.getVerticalCoordinateString;if(ht=Er[0],st=Er[1],ar[Tt]=kt,Qt){Qt*=Math.PI/180;var zr=Math.cos(Qt),hn=Math.sin(Qt),gn=function(Xr){return Xr.toFixed(4)},Br=[gn(zr),gn(hn),gn(-1*hn),gn(zr),0,0,"cm"]}this.internal.write("q"),Qt?(this.internal.write([1,"0","0",1,Ir(it),jr(ft+st),"cm"].join(" ")),this.internal.write(Br.join(" ")),this.internal.write([Ir(ht),"0","0",Ir(st),"0","0","cm"].join(" "))):this.internal.write([Ir(ht),"0","0",Ir(st),Ir(it),jr(ft+st),"cm"].join(" ")),this.internal.write("/I"+kt.i+" Do"),this.internal.write("Q")}.call(this,re,be,Ne,Ke,Ct,Ct.i,Je,Lt),this},ce.convertStringToImageData=function(Me){var ke,re="";if(this.isString(Me)){var be;ke=(be=this.extractImageFromDataUrl(Me))!==null?be.data:Me;try{re=atob(ke)}catch(Ne){throw ce.validateStringAsBase64(ke)?new Error("atob-Error in jsPDF.convertStringToImageData "+Ne.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertStringToImageData ")}}return re};var ir=function(ke,re){return ke.subarray(re,re+5)};ce.processJPEG=function(Me,ke,re,be,Ne,Ke){var Qe,ct=this.decode.DCT_DECODE;if(!this.isString(Me)&&!this.isArrayBuffer(Me)&&!this.isArrayBufferView(Me))return null;if(this.isString(Me)&&(Qe=function(Lt){var rr;if(fe(Lt)!=="JPEG")throw new Error("getJpegSize requires a binary string jpeg file");for(var dr=256*Lt.charCodeAt(4)+Lt.charCodeAt(5),Pt=4,jt=Lt.length;Pt<jt;){if(Pt+=dr,Lt.charCodeAt(Pt)!==255)throw new Error("getJpegSize could not find the size of the image");if(Lt.charCodeAt(Pt+1)===192||Lt.charCodeAt(Pt+1)===193||Lt.charCodeAt(Pt+1)===194||Lt.charCodeAt(Pt+1)===195||Lt.charCodeAt(Pt+1)===196||Lt.charCodeAt(Pt+1)===197||Lt.charCodeAt(Pt+1)===198||Lt.charCodeAt(Pt+1)===199)return rr=256*Lt.charCodeAt(Pt+5)+Lt.charCodeAt(Pt+6),[256*Lt.charCodeAt(Pt+7)+Lt.charCodeAt(Pt+8),rr,Lt.charCodeAt(Pt+9)];Pt+=2,dr=256*Lt.charCodeAt(Pt)+Lt.charCodeAt(Pt+1)}}(Me)),this.isArrayBuffer(Me)&&(Me=new Uint8Array(Me)),this.isArrayBufferView(Me)&&(Qe=function(Lt){if((Lt[0]<<8|Lt[1])!=65496)throw new Error("Supplied data is not a JPEG");for(var rr,dr=Lt.length,Pt=(Lt[4]<<8)+Lt[5],jt=4;jt<dr;){if(Pt=((rr=ir(Lt,jt+=Pt))[2]<<8)+rr[3],(rr[1]===192||rr[1]===194)&&rr[0]===255&&7<Pt)return{width:((rr=ir(Lt,jt+5))[2]<<8)+rr[3],height:(rr[0]<<8)+rr[1],numcomponents:rr[4]};jt+=2}throw new Error("getJpegSizeFromBytes could not find the size of the image")}(Me),Me=Ne||this.arrayBufferToBinaryString(Me)),Ke===void 0)switch(Qe.numcomponents){case 1:Ke=this.color_spaces.DEVICE_GRAY;break;case 4:Ke=this.color_spaces.DEVICE_CMYK;break;default:case 3:Ke=this.color_spaces.DEVICE_RGB}return this.createImageInfo(Me,Qe.width,Qe.height,Ke,8,ct,ke,re)},ce.processJPG=function(){return this.processJPEG.apply(this,arguments)},ce.getImageProperties=function(Me){var ke,re,be="";if(nt(Me)&&(Me=xt(Me)),this.isString(Me)&&((be=this.convertStringToImageData(Me))!==""||(be=ce.loadFile(Me))!==void 0)&&(Me=be),re=this.getImageFileTypeByImageData(Me),!We(re))throw new Error("addImage does not support files of type '"+re+"', please ensure that a plugin for '"+re+"' support is added.");if(this.supportsArrayBuffer()&&(Me instanceof Uint8Array||(Me=this.binaryStringToUint8Array(Me))),!(ke=this["process"+re.toUpperCase()](Me)))throw new Error("An unknown error occurred whilst processing the image");return{fileType:re,width:ke.w,height:ke.h,colorSpace:ke.cs,compressionMode:ke.f,bitsPerComponent:ke.bpc}}}(ut.API),g=ut.API,ut.API.events.push(["addPage",function(ce){this.internal.getPageInfo(ce.pageNumber).pageContext.annotations=[]}]),g.events.push(["putPage",function(ce){for(var le=this.internal.getPageInfoByObjId(ce.objId),oe=ce.pageContext.annotations,fe=function(ct){if(ct!==void 0&&ct!="")return!0},De=!1,He=0;He<oe.length&&!De;He++)switch((nt=oe[He]).type){case"link":if(fe(nt.options.url)||fe(nt.options.pageNumber)){De=!0;break}case"reference":case"text":case"freetext":De=!0}if(De!=0){this.internal.write("/Annots ["),this.internal.pageSize.height;var je=this.internal.getCoordinateString,We=this.internal.getVerticalCoordinateString;for(He=0;He<oe.length;He++){var nt;switch((nt=oe[He]).type){case"reference":this.internal.write(" "+nt.object.objId+" 0 R ");break;case"text":var xt=this.internal.newAdditionalObject(),It=this.internal.newAdditionalObject(),ir=nt.title||"Note";Ne="<</Type /Annot /Subtype /Text "+(ke="/Rect ["+je(nt.bounds.x)+" "+We(nt.bounds.y+nt.bounds.h)+" "+je(nt.bounds.x+nt.bounds.w)+" "+We(nt.bounds.y)+"] ")+"/Contents ("+nt.contents+")",Ne+=" /Popup "+It.objId+" 0 R",Ne+=" /P "+le.objId+" 0 R",Ne+=" /T ("+ir+") >>",xt.content=Ne;var Me=xt.objId+" 0 R";Ne="<</Type /Annot /Subtype /Popup "+(ke="/Rect ["+je(nt.bounds.x+30)+" "+We(nt.bounds.y+nt.bounds.h)+" "+je(nt.bounds.x+nt.bounds.w+30)+" "+We(nt.bounds.y)+"] ")+" /Parent "+Me,nt.open&&(Ne+=" /Open true"),Ne+=" >>",It.content=Ne,this.internal.write(xt.objId,"0 R",It.objId,"0 R");break;case"freetext":var ke="/Rect ["+je(nt.bounds.x)+" "+We(nt.bounds.y)+" "+je(nt.bounds.x+nt.bounds.w)+" "+We(nt.bounds.y+nt.bounds.h)+"] ",re=nt.color||"#000000";Ne="<</Type /Annot /Subtype /FreeText "+ke+"/Contents ("+nt.contents+")",Ne+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+re+")",Ne+=" /Border [0 0 0]",Ne+=" >>",this.internal.write(Ne);break;case"link":if(nt.options.name){var be=this.annotations._nameMap[nt.options.name];nt.options.pageNumber=be.page,nt.options.top=be.y}else nt.options.top||(nt.options.top=0);ke="/Rect ["+je(nt.x)+" "+We(nt.y)+" "+je(nt.x+nt.w)+" "+We(nt.y+nt.h)+"] ";var Ne="";if(nt.options.url)Ne="<</Type /Annot /Subtype /Link "+ke+"/Border [0 0 0] /A <</S /URI /URI ("+nt.options.url+") >>";else if(nt.options.pageNumber)switch(Ne="<</Type /Annot /Subtype /Link "+ke+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(nt.options.pageNumber).objId+" 0 R",nt.options.magFactor=nt.options.magFactor||"XYZ",nt.options.magFactor){case"Fit":Ne+=" /Fit]";break;case"FitH":Ne+=" /FitH "+nt.options.top+"]";break;case"FitV":nt.options.left=nt.options.left||0,Ne+=" /FitV "+nt.options.left+"]";break;case"XYZ":default:var Ke=We(nt.options.top);nt.options.left=nt.options.left||0,nt.options.zoom===void 0&&(nt.options.zoom=0),Ne+=" /XYZ "+nt.options.left+" "+Ke+" "+nt.options.zoom+"]"}Ne!=""&&(Ne+=" >>",this.internal.write(Ne))}}this.internal.write("]")}}]),g.createAnnotation=function(ce){var le=this.internal.getCurrentPageInfo();switch(ce.type){case"link":this.link(ce.bounds.x,ce.bounds.y,ce.bounds.w,ce.bounds.h,ce);break;case"text":case"freetext":le.pageContext.annotations.push(ce)}},g.link=function(ce,le,oe,fe,De){this.internal.getCurrentPageInfo().pageContext.annotations.push({x:ce,y:le,w:oe,h:fe,options:De,type:"link"})},g.textWithLink=function(ce,le,oe,fe){var De=this.getTextWidth(ce),He=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(ce,le,oe),oe+=.2*He,this.link(le,oe-He,De,He,fe),De},g.getTextWidth=function(ce){var le=this.internal.getFontSize();return this.getStringUnitWidth(ce)*le/this.internal.scaleFactor},function(ce){var le={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]},oe={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},De=[1570,1571,1573,1575];ce.__arabicParser__={};var He=ce.__arabicParser__.isInArabicSubstitutionA=function(re){return le[re.charCodeAt(0)]!==void 0},je=ce.__arabicParser__.isArabicLetter=function(re){return typeof re=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(re)},We=ce.__arabicParser__.isArabicEndLetter=function(re){return je(re)&&He(re)&&le[re.charCodeAt(0)].length<=2},nt=ce.__arabicParser__.isArabicAlfLetter=function(re){return je(re)&&0<=De.indexOf(re.charCodeAt(0))},xt=(ce.__arabicParser__.arabicLetterHasIsolatedForm=function(re){return je(re)&&He(re)&&1<=le[re.charCodeAt(0)].length},ce.__arabicParser__.arabicLetterHasFinalForm=function(re){return je(re)&&He(re)&&2<=le[re.charCodeAt(0)].length}),It=(ce.__arabicParser__.arabicLetterHasInitialForm=function(re){return je(re)&&He(re)&&3<=le[re.charCodeAt(0)].length},ce.__arabicParser__.arabicLetterHasMedialForm=function(re){return je(re)&&He(re)&&le[re.charCodeAt(0)].length==4}),ir=ce.__arabicParser__.resolveLigatures=function(re){var be=0,Ne=oe,Ke=0,Qe="",ct=0;for(be=0;be<re.length;be+=1)Ne[re.charCodeAt(be)]!==void 0?(ct++,typeof(Ne=Ne[re.charCodeAt(be)])=="number"&&(Ke=(Ke=Me(re.charAt(be),re.charAt(be-ct),re.charAt(be+1)))!==-1?Ke:0,Qe+=String.fromCharCode(Ne),Ne=oe,ct=0),be===re.length-1&&(Ne=oe,Qe+=re.charAt(be-(ct-1)),be-=ct-1,ct=0)):(Ne=oe,Qe+=re.charAt(be-ct),be-=ct,ct=0);return Qe},Me=(ce.__arabicParser__.isArabicDiacritic=function(re){return re!==void 0&&fe[re.charCodeAt(0)]!==void 0},ce.__arabicParser__.getCorrectForm=function(re,be,Ne){return je(re)?He(re)===!1?-1:!xt(re)||!je(be)&&!je(Ne)||!je(Ne)&&We(be)||We(re)&&!je(be)||We(re)&&nt(be)||We(re)&&We(be)?0:It(re)&&je(be)&&!We(be)&&je(Ne)&&xt(Ne)?3:We(re)||!je(Ne)?1:2:-1}),ke=ce.__arabicParser__.processArabic=ce.processArabic=function(re){var be=0,Ne=0,Ke=0,Qe="",ct="",Lt="",rr=(re=re||"").split("\\s+"),dr=[];for(be=0;be<rr.length;be+=1){for(dr.push(""),Ne=0;Ne<rr[be].length;Ne+=1)Qe=rr[be][Ne],ct=rr[be][Ne-1],Lt=rr[be][Ne+1],je(Qe)?(Ke=Me(Qe,ct,Lt),dr[be]+=Ke!==-1?String.fromCharCode(le[Qe.charCodeAt(0)][Ke]):Qe):dr[be]+=Qe;dr[be]=ir(dr[be])}return dr.join(" ")};ce.events.push(["preProcessText",function(re){var be=re.text,Ne=(re.x,re.y,re.options||{}),Ke=(re.mutex,Ne.lang,[]);if(Object.prototype.toString.call(be)==="[object Array]"){var Qe=0;for(Ke=[],Qe=0;Qe<be.length;Qe+=1)Object.prototype.toString.call(be[Qe])==="[object Array]"?Ke.push([ke(be[Qe][0]),be[Qe][1],be[Qe][2]]):Ke.push([ke(be[Qe])]);re.text=Ke}else re.text=ke(be)}])}(ut.API),ut.API.autoPrint=function(ce){var le;switch((ce=ce||{}).variant=ce.variant||"non-conform",ce.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){le=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 "+le+" 0 R")})}return this},h=ut.API,(c=function(){var le=void 0;Object.defineProperty(this,"pdf",{get:function(){return le},set:function(We){le=We}});var oe=150;Object.defineProperty(this,"width",{get:function(){return oe},set:function(We){oe=isNaN(We)||Number.isInteger(We)===!1||We<0?150:We,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=oe+1)}});var fe=300;Object.defineProperty(this,"height",{get:function(){return fe},set:function(We){fe=isNaN(We)||Number.isInteger(We)===!1||We<0?300:We,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=fe+1)}});var De=[];Object.defineProperty(this,"childNodes",{get:function(){return De},set:function(We){De=We}});var He={};Object.defineProperty(this,"style",{get:function(){return He},set:function(We){He=We}}),Object.defineProperty(this,"parentNode",{get:function(){return!1}})}).prototype.getContext=function(ce,le){var oe;if((ce=ce||"2d")!=="2d")return null;for(oe in le)this.pdf.context2d.hasOwnProperty(oe)&&(this.pdf.context2d[oe]=le[oe]);return(this.pdf.context2d._canvas=this).pdf.context2d},c.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},h.events.push(["initialized",function(){this.canvas=new c,this.canvas.pdf=this}]),o=ut.API,t={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},a=1,d=function(le,oe,fe,De,He){t={x:le,y:oe,w:fe,h:De,ln:He}},i=function(){return t},l={left:0,top:0,bottom:0},o.setHeaderFunction=function(ce){n=ce},o.getTextDimensions=function(ce,le){var oe=this.table_font_size||this.internal.getFontSize(),fe=(this.internal.getFont().fontStyle,(le=le||{}).scaleFactor||this.internal.scaleFactor),De=0,He=0,je=0;if(typeof ce=="string")(De=this.getStringUnitWidth(ce)*oe)!=0&&(He=1);else{if(Object.prototype.toString.call(ce)!=="[object Array]")throw new Error("getTextDimensions expects text-parameter to be of type String or an Array of Strings.");for(var We=0;We<ce.length;We++)De<(je=this.getStringUnitWidth(ce[We])*oe)&&(De=je);De!==0&&(He=ce.length)}return{w:De/=fe,h:Math.max((He*oe*this.getLineHeightFactor()-oe*(this.getLineHeightFactor()-1))/fe,0)}},o.cellAddPage=function(){var ce=this.margins||l;this.addPage(),d(ce.left,ce.top,void 0,void 0),a+=1},o.cellInitialize=function(){t={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},a=1},o.cell=function(ce,le,oe,fe,De,He,je){var We=i(),nt=!1;if(We.ln!==void 0)if(We.ln===He)ce=We.x+We.w,le=We.y;else{var xt=this.margins||l;We.y+We.h+fe+13>=this.internal.pageSize.getHeight()-xt.bottom&&(this.cellAddPage(),nt=!0,this.printHeaders&&this.tableHeaderRow&&this.printHeaderRow(He,!0)),le=i().y+i().h,nt&&(le=23)}if(De[0]!==void 0)if(this.printingHeaderRow?this.rect(ce,le,oe,fe,"FD"):this.rect(ce,le,oe,fe),je==="right"){De instanceof Array||(De=[De]);for(var It=0;It<De.length;It++){var ir=De[It],Me=this.getStringUnitWidth(ir)*this.internal.getFontSize()/this.internal.scaleFactor;this.text(ir,ce+oe-Me-3,le+this.internal.getLineHeight()*(It+1))}}else this.text(De,ce+3,le+this.internal.getLineHeight());return d(ce,le,oe,fe,He),this},o.arrayMax=function(ce,le){var oe,fe,De,He=ce[0];for(oe=0,fe=ce.length;oe<fe;oe+=1)De=ce[oe],le?le(He,De)===-1&&(He=De):He<De&&(He=De);return He},o.table=function(ce,le,oe,fe,De){if(!oe)throw"No data for PDF table";var He,je,We,nt,xt,It,ir,Me,ke,re,be=[],Ne=[],Ke={},Qe={},ct=[],Lt=[],rr=!1,dr=!0,Pt=12,jt=l;if(jt.width=this.internal.pageSize.getWidth(),De&&(De.autoSize===!0&&(rr=!0),De.printHeaders===!1&&(dr=!1),De.fontSize&&(Pt=De.fontSize),De.css&&De.css["font-size"]!==void 0&&(Pt=16*De.css["font-size"]),De.margins&&(jt=De.margins)),this.lnMod=0,t={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},a=1,this.printHeaders=dr,this.margins=jt,this.setFontSize(Pt),this.table_font_size=Pt,fe==null)be=Object.keys(oe[0]);else if(fe[0]&&typeof fe[0]!="string")for(je=0,We=fe.length;je<We;je+=1)He=fe[je],be.push(He.name),Ne.push(He.prompt),Qe[He.name]=He.width*(19.049976/25.4);else be=fe;if(rr)for(re=function(pt){return pt[He]},je=0,We=be.length;je<We;je+=1){for(Ke[He=be[je]]=oe.map(re),ct.push(this.getTextDimensions(Ne[je]||He,{scaleFactor:1}).w),ir=0,nt=(It=Ke[He]).length;ir<nt;ir+=1)xt=It[ir],ct.push(this.getTextDimensions(xt,{scaleFactor:1}).w);Qe[He]=o.arrayMax(ct),ct=[]}if(dr){var Ct=this.calculateLineHeight(be,Qe,Ne.length?Ne:be);for(je=0,We=be.length;je<We;je+=1)He=be[je],Lt.push([ce,le,Qe[He],Ct,String(Ne.length?Ne[je]:He)]);this.setTableHeaderRow(Lt),this.printHeaderRow(1,!1)}for(je=0,We=oe.length;je<We;je+=1)for(Me=oe[je],Ct=this.calculateLineHeight(be,Qe,Me),ir=0,ke=be.length;ir<ke;ir+=1)He=be[ir],this.cell(ce,le,Qe[He],Ct,Me[He],je+2,He.align);return this.lastCellPos=t,this.table_x=ce,this.table_y=le,this},o.calculateLineHeight=function(ce,le,oe){for(var fe,De=0,He=0;He<ce.length;He++){oe[fe=ce[He]]=this.splitTextToSize(String(oe[fe]),le[fe]-3);var je=this.internal.getLineHeight()*oe[fe].length+3;De<je&&(De=je)}return De},o.setTableHeaderRow=function(ce){this.tableHeaderRow=ce},o.printHeaderRow=function(ce,le){if(!this.tableHeaderRow)throw"Property tableHeaderRow does not exist.";var oe,fe,De,He;if(this.printingHeaderRow=!0,n!==void 0){var je=n(this,a);d(je[0],je[1],je[2],je[3],-1)}this.setFontStyle("bold");var We=[];for(De=0,He=this.tableHeaderRow.length;De<He;De+=1)this.setFillColor(200,200,200),oe=this.tableHeaderRow[De],le&&(this.margins.top=13,oe[1]=this.margins&&this.margins.top||0,We.push(oe)),fe=[].concat(oe),this.cell.apply(this,fe.concat(ce));0<We.length&&this.setTableHeaderRow(We),this.setFontStyle("normal"),this.printingHeaderRow=!1},function(ce,le){var oe,fe,De,He,je,We=function(st){return st=st||{},this.isStrokeTransparent=st.isStrokeTransparent||!1,this.strokeOpacity=st.strokeOpacity||1,this.strokeStyle=st.strokeStyle||"#000000",this.fillStyle=st.fillStyle||"#000000",this.isFillTransparent=st.isFillTransparent||!1,this.fillOpacity=st.fillOpacity||1,this.font=st.font||"10px sans-serif",this.textBaseline=st.textBaseline||"alphabetic",this.textAlign=st.textAlign||"left",this.lineWidth=st.lineWidth||1,this.lineJoin=st.lineJoin||"miter",this.lineCap=st.lineCap||"butt",this.path=st.path||[],this.transform=st.transform!==void 0?st.transform.clone():new ft,this.globalCompositeOperation=st.globalCompositeOperation||"normal",this.globalAlpha=st.globalAlpha||1,this.clip_path=st.clip_path||[],this.currentPoint=st.currentPoint||new Je,this.miterLimit=st.miterLimit||10,this.lastPoint=st.lastPoint||new Je,this.ignoreClearRect=typeof st.ignoreClearRect!="boolean"||st.ignoreClearRect,this};ce.events.push(["initialized",function(){this.context2d=new nt(this),oe=this.internal.f2,this.internal.f3,fe=this.internal.getCoordinateString,De=this.internal.getVerticalCoordinateString,He=this.internal.getHorizontalCoordinate,je=this.internal.getVerticalCoordinate}]);var nt=function(st){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}}),Object.defineProperty(this,"pdf",{get:function(){return st}});var kt=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return kt},set:function(Br){kt=Boolean(Br)}});var Tt=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return Tt},set:function(Br){Tt=Boolean(Br)}});var ar=0;Object.defineProperty(this,"posX",{get:function(){return ar},set:function(Br){isNaN(Br)||(ar=Br)}});var Qt=0;Object.defineProperty(this,"posY",{get:function(){return Qt},set:function(Br){isNaN(Br)||(Qt=Br)}});var Er=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Er},set:function(Br){Er=Boolean(Br)}});var Ir=0;Object.defineProperty(this,"lastBreak",{get:function(){return Ir},set:function(Br){Ir=Br}});var jr=[];Object.defineProperty(this,"pageBreaks",{get:function(){return jr},set:function(Br){jr=Br}});var zr=new We;Object.defineProperty(this,"ctx",{get:function(){return zr},set:function(Br){Br instanceof We&&(zr=Br)}}),Object.defineProperty(this,"path",{get:function(){return zr.path},set:function(Br){zr.path=Br}});var hn=[];Object.defineProperty(this,"ctxStack",{get:function(){return hn},set:function(Br){hn=Br}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Br){var ln;ln=xt(Br),this.ctx.fillStyle=ln.style,this.ctx.isFillTransparent=ln.a===0,this.ctx.fillOpacity=ln.a,this.pdf.setFillColor(ln.r,ln.g,ln.b,{a:ln.a}),this.pdf.setTextColor(ln.r,ln.g,ln.b,{a:ln.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Br){var ln=xt(Br);this.ctx.strokeStyle=ln.style,this.ctx.isStrokeTransparent=ln.a===0,this.ctx.strokeOpacity=ln.a,ln.a===0?this.pdf.setDrawColor(255,255,255):(ln.a,this.pdf.setDrawColor(ln.r,ln.g,ln.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Br){["butt","round","square"].indexOf(Br)!==-1&&(this.ctx.lineCap=Br,this.pdf.setLineCap(Br))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Br){isNaN(Br)||(this.ctx.lineWidth=Br,this.pdf.setLineWidth(Br))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Br){["bevel","round","miter"].indexOf(Br)!==-1&&(this.ctx.lineJoin=Br,this.pdf.setLineJoin(Br))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Br){isNaN(Br)||(this.ctx.miterLimit=Br,this.pdf.setMiterLimit(Br))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Br){this.ctx.textBaseline=Br}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Br){["right","end","center","left","start"].indexOf(Br)!==-1&&(this.ctx.textAlign=Br)}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Br){var ln;if(this.ctx.font=Br,(ln=/^\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(Br))!==null){var Xr=ln[1],cr=(ln[2],ln[3]),wr=ln[4],hr=ln[5],Ar=ln[6];wr=hr==="px"?Math.floor(parseFloat(wr)):hr==="em"?Math.floor(parseFloat(wr)*this.pdf.getFontSize()):Math.floor(parseFloat(wr)),this.pdf.setFontSize(wr);var kr="";(cr==="bold"||700<=parseInt(cr,10)||Xr==="bold")&&(kr="bold"),Xr==="italic"&&(kr+="italic"),kr.length===0&&(kr="normal");for(var nn="",wn=Ar.toLowerCase().replace(/"|'/g,"").split(/\s*,\s*/),oi={arial:"Helvetica",verdana:"Helvetica",helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",courier:"Courier",times:"Times",cursive:"Times",fantasy:"Times",serif:"Times"},tn=0;tn<wn.length;tn++){if(this.pdf.internal.getFont(wn[tn],kr,{noFallback:!0,disableWarning:!0})!==void 0){nn=wn[tn];break}if(kr==="bolditalic"&&this.pdf.internal.getFont(wn[tn],"bold",{noFallback:!0,disableWarning:!0})!==void 0)nn=wn[tn],kr="bold";else if(this.pdf.internal.getFont(wn[tn],"normal",{noFallback:!0,disableWarning:!0})!==void 0){nn=wn[tn],kr="normal";break}}if(nn===""){for(tn=0;tn<wn.length;tn++)if(oi[wn[tn]]){nn=oi[wn[tn]];break}}nn=nn===""?"Times":nn,this.pdf.setFont(nn,kr)}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(Br){this.ctx.globalCompositeOperation=Br}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(Br){this.ctx.globalAlpha=Br}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(Br){this.ctx.ignoreClearRect=Boolean(Br)}})};nt.prototype.fill=function(){be.call(this,"fill",!1)},nt.prototype.stroke=function(){be.call(this,"stroke",!1)},nt.prototype.beginPath=function(){this.path=[{type:"begin"}]},nt.prototype.moveTo=function(ht,st){if(isNaN(ht)||isNaN(st))throw console.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var kt=this.ctx.transform.applyToPoint(new Je(ht,st));this.path.push({type:"mt",x:kt.x,y:kt.y}),this.ctx.lastPoint=new Je(ht,st)},nt.prototype.closePath=function(){var ht=new Je(0,0),st=0;for(st=this.path.length-1;st!==-1;st--)if(this.path[st].type==="begin"&&p(this.path[st+1])==="object"&&typeof this.path[st+1].x=="number"){ht=new Je(this.path[st+1].x,this.path[st+1].y),this.path.push({type:"lt",x:ht.x,y:ht.y});break}p(this.path[st+2])==="object"&&typeof this.path[st+2].x=="number"&&this.path.push(JSON.parse(JSON.stringify(this.path[st+2]))),this.path.push({type:"close"}),this.ctx.lastPoint=new Je(ht.x,ht.y)},nt.prototype.lineTo=function(ht,st){if(isNaN(ht)||isNaN(st))throw console.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var kt=this.ctx.transform.applyToPoint(new Je(ht,st));this.path.push({type:"lt",x:kt.x,y:kt.y}),this.ctx.lastPoint=new Je(kt.x,kt.y)},nt.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),be.call(this,null,!0)},nt.prototype.quadraticCurveTo=function(ht,st,kt,Tt){if(isNaN(kt)||isNaN(Tt)||isNaN(ht)||isNaN(st))throw console.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var ar=this.ctx.transform.applyToPoint(new Je(kt,Tt)),Qt=this.ctx.transform.applyToPoint(new Je(ht,st));this.path.push({type:"qct",x1:Qt.x,y1:Qt.y,x:ar.x,y:ar.y}),this.ctx.lastPoint=new Je(ar.x,ar.y)},nt.prototype.bezierCurveTo=function(ht,st,kt,Tt,ar,Qt){if(isNaN(ar)||isNaN(Qt)||isNaN(ht)||isNaN(st)||isNaN(kt)||isNaN(Tt))throw console.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var Er=this.ctx.transform.applyToPoint(new Je(ar,Qt)),Ir=this.ctx.transform.applyToPoint(new Je(ht,st)),jr=this.ctx.transform.applyToPoint(new Je(kt,Tt));this.path.push({type:"bct",x1:Ir.x,y1:Ir.y,x2:jr.x,y2:jr.y,x:Er.x,y:Er.y}),this.ctx.lastPoint=new Je(Er.x,Er.y)},nt.prototype.arc=function(ht,st,kt,Tt,ar,Qt){if(isNaN(ht)||isNaN(st)||isNaN(kt)||isNaN(Tt)||isNaN(ar))throw console.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(Qt=Boolean(Qt),!this.ctx.transform.isIdentity){var Er=this.ctx.transform.applyToPoint(new Je(ht,st));ht=Er.x,st=Er.y;var Ir=this.ctx.transform.applyToPoint(new Je(0,kt)),jr=this.ctx.transform.applyToPoint(new Je(0,0));kt=Math.sqrt(Math.pow(Ir.x-jr.x,2)+Math.pow(Ir.y-jr.y,2))}Math.abs(ar-Tt)>=2*Math.PI&&(Tt=0,ar=2*Math.PI),this.path.push({type:"arc",x:ht,y:st,radius:kt,startAngle:Tt,endAngle:ar,counterclockwise:Qt})},nt.prototype.arcTo=function(ht,st,kt,Tt,ar){throw new Error("arcTo not implemented.")},nt.prototype.rect=function(ht,st,kt,Tt){if(isNaN(ht)||isNaN(st)||isNaN(kt)||isNaN(Tt))throw console.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(ht,st),this.lineTo(ht+kt,st),this.lineTo(ht+kt,st+Tt),this.lineTo(ht,st+Tt),this.lineTo(ht,st),this.lineTo(ht+kt,st),this.lineTo(ht,st)},nt.prototype.fillRect=function(ht,st,kt,Tt){if(isNaN(ht)||isNaN(st)||isNaN(kt)||isNaN(Tt))throw console.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!It.call(this)){var ar={};this.lineCap!=="butt"&&(ar.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(ar.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(ht,st,kt,Tt),this.fill(),ar.hasOwnProperty("lineCap")&&(this.lineCap=ar.lineCap),ar.hasOwnProperty("lineJoin")&&(this.lineJoin=ar.lineJoin)}},nt.prototype.strokeRect=function(ht,st,kt,Tt){if(isNaN(ht)||isNaN(st)||isNaN(kt)||isNaN(Tt))throw console.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");ir.call(this)||(this.beginPath(),this.rect(ht,st,kt,Tt),this.stroke())},nt.prototype.clearRect=function(ht,st,kt,Tt){if(isNaN(ht)||isNaN(st)||isNaN(kt)||isNaN(Tt))throw console.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(ht,st,kt,Tt))},nt.prototype.save=function(ht){ht=typeof ht!="boolean"||ht;for(var st=this.pdf.internal.getCurrentPageInfo().pageNumber,kt=0;kt<this.pdf.internal.getNumberOfPages();kt++)this.pdf.setPage(kt+1),this.pdf.internal.out("q");if(this.pdf.setPage(st),ht){this.ctx.fontSize=this.pdf.internal.getFontSize();var Tt=new We(this.ctx);this.ctxStack.push(this.ctx),this.ctx=Tt}},nt.prototype.restore=function(ht){ht=typeof ht!="boolean"||ht;for(var st=this.pdf.internal.getCurrentPageInfo().pageNumber,kt=0;kt<this.pdf.internal.getNumberOfPages();kt++)this.pdf.setPage(kt+1),this.pdf.internal.out("Q");this.pdf.setPage(st),ht&&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)},nt.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var xt=function(st){var kt,Tt,ar,Qt;if(st.isCanvasGradient===!0&&(st=st.getColor()),!st)return{r:0,g:0,b:0,a:0,style:st};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(st))Qt=ar=Tt=kt=0;else{var Er=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(st);if(Er!==null)kt=parseInt(Er[1]),Tt=parseInt(Er[2]),ar=parseInt(Er[3]),Qt=1;else if((Er=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d\.]+)\s*\)/.exec(st))!==null)kt=parseInt(Er[1]),Tt=parseInt(Er[2]),ar=parseInt(Er[3]),Qt=parseFloat(Er[4]);else{if(Qt=1,typeof st=="string"&&st.charAt(0)!=="#"){var Ir=new RGBColor(st);st=Ir.ok?Ir.toHex():"#000000"}st.length===4?(kt=st.substring(1,2),kt+=kt,Tt=st.substring(2,3),Tt+=Tt,ar=st.substring(3,4),ar+=ar):(kt=st.substring(1,3),Tt=st.substring(3,5),ar=st.substring(5,7)),kt=parseInt(kt,16),Tt=parseInt(Tt,16),ar=parseInt(ar,16)}}return{r:kt,g:Tt,b:ar,a:Qt,style:st}},It=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},ir=function(){return Boolean(this.ctx.isStrokeTransparent||this.globalAlpha==0)};nt.prototype.fillText=function(ht,st,kt,Tt){if(isNaN(st)||isNaN(kt)||typeof ht!="string")throw console.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(Tt=isNaN(Tt)?void 0:Tt,!It.call(this)){kt=Ke.call(this,kt);var ar=ot(this.ctx.transform.rotation),Qt=this.ctx.transform.scaleX;dr.call(this,{text:ht,x:st,y:kt,scale:Qt,angle:ar,align:this.textAlign,maxWidth:Tt})}},nt.prototype.strokeText=function(ht,st,kt,Tt){if(isNaN(st)||isNaN(kt)||typeof ht!="string")throw console.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!ir.call(this)){Tt=isNaN(Tt)?void 0:Tt,kt=Ke.call(this,kt);var ar=ot(this.ctx.transform.rotation),Qt=this.ctx.transform.scaleX;dr.call(this,{text:ht,x:st,y:kt,scale:Qt,renderingMode:"stroke",angle:ar,align:this.textAlign,maxWidth:Tt})}},nt.prototype.measureText=function(ht){if(typeof ht!="string")throw console.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var st=this.pdf,kt=this.pdf.internal.scaleFactor,Tt=st.internal.getFontSize(),ar=st.getStringUnitWidth(ht)*Tt/st.internal.scaleFactor;return new function(Qt){var Er=(Qt=Qt||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return Er}}),this}({width:ar*=Math.round(96*kt/72*1e4)/1e4})},nt.prototype.scale=function(ht,st){if(isNaN(ht)||isNaN(st))throw console.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var kt=new ft(ht,0,0,st,0,0);this.ctx.transform=this.ctx.transform.multiply(kt)},nt.prototype.rotate=function(ht){if(isNaN(ht))throw console.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var st=new ft(Math.cos(ht),Math.sin(ht),-Math.sin(ht),Math.cos(ht),0,0);this.ctx.transform=this.ctx.transform.multiply(st)},nt.prototype.translate=function(ht,st){if(isNaN(ht)||isNaN(st))throw console.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var kt=new ft(1,0,0,1,ht,st);this.ctx.transform=this.ctx.transform.multiply(kt)},nt.prototype.transform=function(ht,st,kt,Tt,ar,Qt){if(isNaN(ht)||isNaN(st)||isNaN(kt)||isNaN(Tt)||isNaN(ar)||isNaN(Qt))throw console.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var Er=new ft(ht,st,kt,Tt,ar,Qt);this.ctx.transform=this.ctx.transform.multiply(Er)},nt.prototype.setTransform=function(ht,st,kt,Tt,ar,Qt){ht=isNaN(ht)?1:ht,st=isNaN(st)?0:st,kt=isNaN(kt)?0:kt,Tt=isNaN(Tt)?1:Tt,ar=isNaN(ar)?0:ar,Qt=isNaN(Qt)?0:Qt,this.ctx.transform=new ft(ht,st,kt,Tt,ar,Qt)},nt.prototype.drawImage=function(ht,st,kt,Tt,ar,Qt,Er,Ir,jr){var zr=this.pdf.getImageProperties(ht),hn=1,gn=1,Br=1,ln=1;Tt!==void 0&&Ir!==void 0&&(Br=Ir/Tt,ln=jr/ar,hn=zr.width/Tt*Ir/Tt,gn=zr.height/ar*jr/ar),Qt===void 0&&(Qt=st,Er=kt,kt=st=0),Tt!==void 0&&Ir===void 0&&(Ir=Tt,jr=ar),Tt===void 0&&Ir===void 0&&(Ir=zr.width,jr=zr.height);var Xr=this.ctx.transform.decompose(),cr=ot(Xr.rotate.shx);Xr.scale.sx,Xr.scale.sy;for(var wr,hr=new ft,Ar=((hr=(hr=(hr=hr.multiply(Xr.translate)).multiply(Xr.skew)).multiply(Xr.scale)).applyToPoint(new Je(Ir,jr)),hr.applyToRectangle(new it(Qt-st*Br,Er-kt*ln,Tt*hn,ar*gn))),kr=Me.call(this,Ar),nn=[],wn=0;wn<kr.length;wn+=1)nn.indexOf(kr[wn])===-1&&nn.push(kr[wn]);if(nn.sort(),this.autoPaging)for(var oi=nn[0],tn=nn[nn.length-1],Vn=oi;Vn<tn+1;Vn++){if(this.pdf.setPage(Vn),this.ctx.clip_path.length!==0){var On=this.path;wr=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=re(wr,this.posX,-1*this.pdf.internal.pageSize.height*(Vn-1)+this.posY),Ne.call(this,"fill",!0),this.path=On}var $n=JSON.parse(JSON.stringify(Ar));$n=re([$n],this.posX,-1*this.pdf.internal.pageSize.height*(Vn-1)+this.posY)[0],this.pdf.addImage(ht,"jpg",$n.x,$n.y,$n.w,$n.h,null,null,cr)}else this.pdf.addImage(ht,"jpg",Ar.x,Ar.y,Ar.w,Ar.h,null,null,cr)};var Me=function(st,kt,Tt){var ar=[];switch(kt=kt||this.pdf.internal.pageSize.width,Tt=Tt||this.pdf.internal.pageSize.height,st.type){default:case"mt":case"lt":ar.push(Math.floor((st.y+this.posY)/Tt)+1);break;case"arc":ar.push(Math.floor((st.y+this.posY-st.radius)/Tt)+1),ar.push(Math.floor((st.y+this.posY+st.radius)/Tt)+1);break;case"qct":var Qt=Ye(this.ctx.lastPoint.x,this.ctx.lastPoint.y,st.x1,st.y1,st.x,st.y);ar.push(Math.floor(Qt.y/Tt)+1),ar.push(Math.floor((Qt.y+Qt.h)/Tt)+1);break;case"bct":var Er=$e(this.ctx.lastPoint.x,this.ctx.lastPoint.y,st.x1,st.y1,st.x2,st.y2,st.x,st.y);ar.push(Math.floor(Er.y/Tt)+1),ar.push(Math.floor((Er.y+Er.h)/Tt)+1);break;case"rect":ar.push(Math.floor((st.y+this.posY)/Tt)+1),ar.push(Math.floor((st.y+st.h+this.posY)/Tt)+1)}for(var Ir=0;Ir<ar.length;Ir+=1)for(;this.pdf.internal.getNumberOfPages()<ar[Ir];)ke.call(this);return ar},ke=function(){var st=this.fillStyle,kt=this.strokeStyle,Tt=this.font,ar=this.lineCap,Qt=this.lineWidth,Er=this.lineJoin;this.pdf.addPage(),this.fillStyle=st,this.strokeStyle=kt,this.font=Tt,this.lineCap=ar,this.lineWidth=Qt,this.lineJoin=Er},re=function(st,kt,Tt){for(var ar=0;ar<st.length;ar++)switch(st[ar].type){case"bct":st[ar].x2+=kt,st[ar].y2+=Tt;case"qct":st[ar].x1+=kt,st[ar].y1+=Tt;case"mt":case"lt":case"arc":default:st[ar].x+=kt,st[ar].y+=Tt}return st},be=function(st,kt){for(var Tt,ar,Qt=this.fillStyle,Er=this.strokeStyle,Ir=(this.font,this.lineCap),jr=this.lineWidth,zr=this.lineJoin,hn=JSON.parse(JSON.stringify(this.path)),gn=JSON.parse(JSON.stringify(this.path)),Br=[],ln=0;ln<gn.length;ln++)if(gn[ln].x!==void 0)for(var Xr=Me.call(this,gn[ln]),cr=0;cr<Xr.length;cr+=1)Br.indexOf(Xr[cr])===-1&&Br.push(Xr[cr]);for(ln=0;ln<Br.length;ln++)for(;this.pdf.internal.getNumberOfPages()<Br[ln];)ke.call(this);if(Br.sort(),this.autoPaging){var wr=Br[0],hr=Br[Br.length-1];for(ln=wr;ln<hr+1;ln++){if(this.pdf.setPage(ln),this.fillStyle=Qt,this.strokeStyle=Er,this.lineCap=Ir,this.lineWidth=jr,this.lineJoin=zr,this.ctx.clip_path.length!==0){var Ar=this.path;Tt=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=re(Tt,this.posX,-1*this.pdf.internal.pageSize.height*(ln-1)+this.posY),Ne.call(this,st,!0),this.path=Ar}ar=JSON.parse(JSON.stringify(hn)),this.path=re(ar,this.posX,-1*this.pdf.internal.pageSize.height*(ln-1)+this.posY),kt!==!1&&ln!==0||Ne.call(this,st,kt)}}else Ne.call(this,st,kt);this.path=hn},Ne=function(st,kt){if((st!=="stroke"||kt||!ir.call(this))&&(st==="stroke"||kt||!It.call(this))){var Tt=[];this.ctx.globalAlpha,this.ctx.fillOpacity<1&&this.ctx.fillOpacity;for(var ar,Qt=this.path,Er=0;Er<Qt.length;Er++){var Ir=Qt[Er];switch(Ir.type){case"begin":Tt.push({begin:!0});break;case"close":Tt.push({close:!0});break;case"mt":Tt.push({start:Ir,deltas:[],abs:[]});break;case"lt":var jr=Tt.length;if(!isNaN(Qt[Er-1].x)){var zr=[Ir.x-Qt[Er-1].x,Ir.y-Qt[Er-1].y];if(0<jr){for(;0<=jr;jr--)if(Tt[jr-1].close!==!0&&Tt[jr-1].begin!==!0){Tt[jr-1].deltas.push(zr),Tt[jr-1].abs.push(Ir);break}}}break;case"bct":zr=[Ir.x1-Qt[Er-1].x,Ir.y1-Qt[Er-1].y,Ir.x2-Qt[Er-1].x,Ir.y2-Qt[Er-1].y,Ir.x-Qt[Er-1].x,Ir.y-Qt[Er-1].y],Tt[Tt.length-1].deltas.push(zr);break;case"qct":var hn=Qt[Er-1].x+2/3*(Ir.x1-Qt[Er-1].x),gn=Qt[Er-1].y+2/3*(Ir.y1-Qt[Er-1].y),Br=Ir.x+2/3*(Ir.x1-Ir.x),ln=Ir.y+2/3*(Ir.y1-Ir.y),Xr=Ir.x,cr=Ir.y;zr=[hn-Qt[Er-1].x,gn-Qt[Er-1].y,Br-Qt[Er-1].x,ln-Qt[Er-1].y,Xr-Qt[Er-1].x,cr-Qt[Er-1].y],Tt[Tt.length-1].deltas.push(zr);break;case"arc":Tt.push({deltas:[],abs:[],arc:!0}),Array.isArray(Tt[Tt.length-1].abs)&&Tt[Tt.length-1].abs.push(Ir)}}for(ar=kt?null:st==="stroke"?"stroke":"fill",Er=0;Er<Tt.length;Er++){if(Tt[Er].arc)for(var wr=Tt[Er].abs,hr=0;hr<wr.length;hr++){var Ar=wr[hr];if(Ar.startAngle!==void 0){var kr=ot(Ar.startAngle),nn=ot(Ar.endAngle),wn=Ar.x,oi=Ar.y;Qe.call(this,wn,oi,Ar.radius,kr,nn,Ar.counterclockwise,ar,kt)}else Pt.call(this,Ar.x,Ar.y)}!Tt[Er].arc&&Tt[Er].close!==!0&&Tt[Er].begin!==!0&&(wn=Tt[Er].start.x,oi=Tt[Er].start.y,jt.call(this,Tt[Er].deltas,wn,oi,null,null))}ar&&ct.call(this,ar),kt&&Lt.call(this)}},Ke=function(st){var kt=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,Tt=kt*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return st-Tt;case"top":return st+kt-Tt;case"hanging":return st+kt-2*Tt;case"middle":return st+kt/2-Tt;case"ideographic":return st;case"alphabetic":default:return st}};nt.prototype.createLinearGradient=function(){var ht=function(){};return ht.colorStops=[],ht.addColorStop=function(st,kt){this.colorStops.push([st,kt])},ht.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},ht.isCanvasGradient=!0,ht},nt.prototype.createPattern=function(){return this.createLinearGradient()},nt.prototype.createRadialGradient=function(){return this.createLinearGradient()};var Qe=function(st,kt,Tt,ar,Qt,Er,Ir,jr){this.pdf.internal.scaleFactor;for(var zr=gt(ar),hn=gt(Qt),gn=Rt.call(this,Tt,zr,hn,Er),Br=0;Br<gn.length;Br++){var ln=gn[Br];Br===0&&rr.call(this,ln.x1+st,ln.y1+kt),Ct.call(this,st,kt,ln.x2,ln.y2,ln.x3,ln.y3,ln.x4,ln.y4)}jr?Lt.call(this):ct.call(this,Ir)},ct=function(st){switch(st){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},Lt=function(){this.pdf.clip()},rr=function(st,kt){this.pdf.internal.out(fe(st)+" "+De(kt)+" m")},dr=function(st){var kt;switch(st.align){case"right":case"end":kt="right";break;case"center":kt="center";break;case"left":case"start":default:kt="left"}var Tt=this.ctx.transform.applyToPoint(new Je(st.x,st.y)),ar=this.ctx.transform.decompose(),Qt=new ft;Qt=(Qt=(Qt=Qt.multiply(ar.translate)).multiply(ar.skew)).multiply(ar.scale);for(var Er,Ir=this.pdf.getTextDimensions(st.text),jr=this.ctx.transform.applyToRectangle(new it(st.x,st.y,Ir.w,Ir.h)),zr=Qt.applyToRectangle(new it(st.x,st.y-Ir.h,Ir.w,Ir.h)),hn=Me.call(this,zr),gn=[],Br=0;Br<hn.length;Br+=1)gn.indexOf(hn[Br])===-1&&gn.push(hn[Br]);if(gn.sort(),this.autoPaging===!0)for(var ln=gn[0],Xr=gn[gn.length-1],cr=ln;cr<Xr+1;cr++){if(this.pdf.setPage(cr),this.ctx.clip_path.length!==0){var wr=this.path;Er=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=re(Er,this.posX,-1*this.pdf.internal.pageSize.height*(cr-1)+this.posY),Ne.call(this,"fill",!0),this.path=wr}var hr=JSON.parse(JSON.stringify(jr));if(hr=re([hr],this.posX,-1*this.pdf.internal.pageSize.height*(cr-1)+this.posY)[0],.01<=st.scale){var Ar=this.pdf.internal.getFontSize();this.pdf.setFontSize(Ar*st.scale)}this.pdf.text(st.text,hr.x,hr.y,{angle:st.angle,align:kt,renderingMode:st.renderingMode,maxWidth:st.maxWidth}),.01<=st.scale&&this.pdf.setFontSize(Ar)}else .01<=st.scale&&(Ar=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Ar*st.scale)),this.pdf.text(st.text,Tt.x+this.posX,Tt.y+this.posY,{angle:st.angle,align:kt,renderingMode:st.renderingMode,maxWidth:st.maxWidth}),.01<=st.scale&&this.pdf.setFontSize(Ar)},Pt=function(st,kt,Tt,ar){Tt=Tt||0,ar=ar||0,this.pdf.internal.out(fe(st+Tt)+" "+De(kt+ar)+" l")},jt=function(st,kt,Tt){return this.pdf.lines(st,kt,Tt,null,null)},Ct=function(st,kt,Tt,ar,Qt,Er,Ir,jr){this.pdf.internal.out([oe(He(Tt+st)),oe(je(ar+kt)),oe(He(Qt+st)),oe(je(Er+kt)),oe(He(Ir+st)),oe(je(jr+kt)),"c"].join(" "))},Rt=function(st,kt,Tt,ar){var Qt=2*Math.PI,Er=kt;(Er<Qt||Qt<Er)&&(Er%=Qt);var Ir=Tt;(Ir<Qt||Qt<Ir)&&(Ir%=Qt);for(var jr=[],zr=Math.PI/2,hn=ar?-1:1,gn=kt,Br=Math.min(Qt,Math.abs(Ir-Er));1e-5<Br;){var ln=gn+hn*Math.min(Br,zr);jr.push(pt.call(this,st,gn,ln)),Br-=Math.abs(ln-gn),gn=ln}return jr},pt=function(st,kt,Tt){var ar=(Tt-kt)/2,Qt=st*Math.cos(ar),Er=st*Math.sin(ar),Ir=Qt,jr=-Er,zr=Ir*Ir+jr*jr,hn=zr+Ir*Qt+jr*Er,gn=4/3*(Math.sqrt(2*zr*hn)-hn)/(Ir*Er-jr*Qt),Br=Ir-gn*jr,ln=jr+gn*Ir,Xr=Br,cr=-ln,wr=ar+kt,hr=Math.cos(wr),Ar=Math.sin(wr);return{x1:st*Math.cos(kt),y1:st*Math.sin(kt),x2:Br*hr-ln*Ar,y2:Br*Ar+ln*hr,x3:Xr*hr-cr*Ar,y3:Xr*Ar+cr*hr,x4:st*Math.cos(Tt),y4:st*Math.sin(Tt)}},ot=function(st){return 180*st/Math.PI},gt=function(st){return st*Math.PI/180},Ye=function(st,kt,Tt,ar,Qt,Er){var Ir=st+.5*(Tt-st),jr=kt+.5*(ar-kt),zr=Qt+.5*(Tt-Qt),hn=Er+.5*(ar-Er),gn=Math.min(st,Qt,Ir,zr),Br=Math.max(st,Qt,Ir,zr),ln=Math.min(kt,Er,jr,hn),Xr=Math.max(kt,Er,jr,hn);return new it(gn,ln,Br-gn,Xr-ln)},$e=function(st,kt,Tt,ar,Qt,Er,Ir,jr){for(var zr,hn,gn,Br,ln,Xr,cr,wr,hr,Ar,kr,nn,wn,oi=Tt-st,tn=ar-kt,Vn=Qt-Tt,On=Er-ar,$n=Ir-Qt,Qn=jr-Er,ei=0;ei<41;ei++)wr=(Xr=(hn=st+(zr=ei/40)*oi)+zr*((Br=Tt+zr*Vn)-hn))+zr*(Br+zr*(Qt+zr*$n-Br)-Xr),hr=(cr=(gn=kt+zr*tn)+zr*((ln=ar+zr*On)-gn))+zr*(ln+zr*(Er+zr*Qn-ln)-cr),wn=ei==0?(nn=Ar=wr,kr=hr):(Ar=Math.min(Ar,wr),kr=Math.min(kr,hr),nn=Math.max(nn,wr),Math.max(wn,hr));return new it(Math.round(Ar),Math.round(kr),Math.round(nn-Ar),Math.round(wn-kr))},Je=function(st,kt){var Tt=st||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Tt},set:function(Ir){isNaN(Ir)||(Tt=parseFloat(Ir))}});var ar=kt||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return ar},set:function(Ir){isNaN(Ir)||(ar=parseFloat(Ir))}});var Qt="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return Qt},set:function(Ir){Qt=Ir.toString()}}),this},it=function(st,kt,Tt,ar){Je.call(this,st,kt),this.type="rect";var Qt=Tt||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return Qt},set:function(jr){isNaN(jr)||(Qt=parseFloat(jr))}});var Er=ar||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return Er},set:function(jr){isNaN(jr)||(Er=parseFloat(jr))}}),this},ft=function(st,kt,Tt,ar,Qt,Er){var Ir=[];return Object.defineProperty(this,"sx",{get:function(){return Ir[0]},set:function(zr){Ir[0]=Math.round(1e5*zr)/1e5}}),Object.defineProperty(this,"shy",{get:function(){return Ir[1]},set:function(zr){Ir[1]=Math.round(1e5*zr)/1e5}}),Object.defineProperty(this,"shx",{get:function(){return Ir[2]},set:function(zr){Ir[2]=Math.round(1e5*zr)/1e5}}),Object.defineProperty(this,"sy",{get:function(){return Ir[3]},set:function(zr){Ir[3]=Math.round(1e5*zr)/1e5}}),Object.defineProperty(this,"tx",{get:function(){return Ir[4]},set:function(zr){Ir[4]=Math.round(1e5*zr)/1e5}}),Object.defineProperty(this,"ty",{get:function(){return Ir[5]},set:function(zr){Ir[5]=Math.round(1e5*zr)/1e5}}),Object.defineProperty(this,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(this,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(this,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(this,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),this.sx=isNaN(st)?1:st,this.shy=isNaN(kt)?0:kt,this.shx=isNaN(Tt)?0:Tt,this.sy=isNaN(ar)?1:ar,this.tx=isNaN(Qt)?0:Qt,this.ty=isNaN(Er)?0:Er,this};ft.prototype.multiply=function(ht){var st=ht.sx*this.sx+ht.shy*this.shx,kt=ht.sx*this.shy+ht.shy*this.sy,Tt=ht.shx*this.sx+ht.sy*this.shx,ar=ht.shx*this.shy+ht.sy*this.sy,Qt=ht.tx*this.sx+ht.ty*this.shx+this.tx,Er=ht.tx*this.shy+ht.ty*this.sy+this.ty;return new ft(st,kt,Tt,ar,Qt,Er)},ft.prototype.decompose=function(){var ht=this.sx,st=this.shy,kt=this.shx,Tt=this.sy,ar=this.tx,Qt=this.ty,Er=Math.sqrt(ht*ht+st*st),Ir=(ht/=Er)*kt+(st/=Er)*Tt;kt-=ht*Ir,Tt-=st*Ir;var jr=Math.sqrt(kt*kt+Tt*Tt);return Ir/=jr,ht*(Tt/=jr)<st*(kt/=jr)&&(ht=-ht,st=-st,Ir=-Ir,Er=-Er),{scale:new ft(Er,0,0,jr,0,0),translate:new ft(1,0,0,1,ar,Qt),rotate:new ft(ht,st,-st,ht,0,0),skew:new ft(1,0,Ir,1,0,0)}},ft.prototype.applyToPoint=function(ht){var st=ht.x*this.sx+ht.y*this.shx+this.tx,kt=ht.x*this.shy+ht.y*this.sy+this.ty;return new Je(st,kt)},ft.prototype.applyToRectangle=function(ht){var st=this.applyToPoint(ht),kt=this.applyToPoint(new Je(ht.x+ht.w,ht.y+ht.h));return new it(st.x,st.y,kt.x-st.x,kt.y-st.y)},ft.prototype.clone=function(){var ht=this.sx,st=this.shy,kt=this.shx,Tt=this.sy,ar=this.tx,Qt=this.ty;return new ft(ht,st,kt,Tt,ar,Qt)}}(ut.API,typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof y!="undefined"&&y||Function('return typeof this === "object" && this.content')()||Function("return this")()),e=ut.API,s=function(le){var oe,fe,De,He,je,We,nt,xt,It,ir;for(/[^\x00-\xFF]/.test(le),fe=[],De=0,He=(le+=oe="\0\0\0\0".slice(le.length%4||4)).length;De<He;De+=4)(je=(le.charCodeAt(De)<<24)+(le.charCodeAt(De+1)<<16)+(le.charCodeAt(De+2)<<8)+le.charCodeAt(De+3))!==0?(We=(je=((je=((je=((je=(je-(ir=je%85))/85)-(It=je%85))/85)-(xt=je%85))/85)-(nt=je%85))/85)%85,fe.push(We+33,nt+33,xt+33,It+33,ir+33)):fe.push(122);return function(Me,ke){for(var re=oe.length;0<re;re--)Me.pop()}(fe),String.fromCharCode.apply(String,fe)+"~>"},u=function(le){var oe,fe,De,He,je,We=String,nt="length",xt="charCodeAt",It="slice",ir="replace";for(le[It](-2),le=le[It](0,-2)[ir](/\s/g,"")[ir]("z","!!!!!"),De=[],He=0,je=(le+=oe="uuuuu"[It](le[nt]%5||5))[nt];He<je;He+=5)fe=52200625*(le[xt](He)-33)+614125*(le[xt](He+1)-33)+7225*(le[xt](He+2)-33)+85*(le[xt](He+3)-33)+(le[xt](He+4)-33),De.push(255&fe>>24,255&fe>>16,255&fe>>8,255&fe);return function(Me,ke){for(var re=oe[nt];0<re;re--)Me.pop()}(De),We.fromCharCode.apply(We,De)},f=function(le){for(var oe="",fe=0;fe<le.length;fe+=1)oe+=("0"+le.charCodeAt(fe).toString(16)).slice(-2);return oe+=">"},A=function(le){var oe=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((le=le.replace(/\s/g,"")).indexOf(">")!==-1&&(le=le.substr(0,le.indexOf(">"))),le.length%2&&(le+="0"),oe.test(le)===!1)return"";for(var fe="",De=0;De<le.length;De+=2)fe+=String.fromCharCode("0x"+(le[De]+le[De+1]));return fe},v=function(le,oe){oe=Object.assign({predictor:1,colors:1,bitsPerComponent:8,columns:1},oe);for(var fe,De,He=[],je=le.length;je--;)He[je]=le.charCodeAt(je);return fe=e.adler32cs.from(le),(De=new Deflater(6)).append(new Uint8Array(He)),le=De.flush(),(He=new Uint8Array(le.length+6)).set(new Uint8Array([120,156])),He.set(le,2),He.set(new Uint8Array([255&fe,fe>>8&255,fe>>16&255,fe>>24&255]),le.length+2),le=String.fromCharCode.apply(null,He)},e.processDataByFilters=function(ce,le){var oe=0,fe=ce||"",De=[];for(typeof(le=le||[])=="string"&&(le=[le]),oe=0;oe<le.length;oe+=1)switch(le[oe]){case"ASCII85Decode":case"/ASCII85Decode":fe=u(fe),De.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":fe=s(fe),De.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":fe=A(fe),De.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":fe=f(fe),De.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":fe=v(fe),De.push("/FlateDecode");break;default:throw'The filter: "'+le[oe]+'" is not implemented'}return{data:fe,reverseChain:De.reverse().join(" ")}},(x=ut.API).loadFile=function(ce,le,oe){var fe;le=le||!0,oe=oe||function(){};try{fe=function(De,He,je){var We=new XMLHttpRequest,nt=[],xt=0,It=function(Me){var ke=Me.length,re=String.fromCharCode;for(xt=0;xt<ke;xt+=1)nt.push(re(255&Me.charCodeAt(xt)));return nt.join("")};if(We.open("GET",De,!He),We.overrideMimeType("text/plain; charset=x-user-defined"),He===!1&&(We.onload=function(){return It(this.responseText)}),We.send(null),We.status===200)return He?It(We.responseText):void 0;console.warn('Unable to load file "'+De+'"')}(ce,le)}catch(De){fe=void 0}return fe},x.loadImageFile=x.loadFile,b=ut.API,w=typeof window!="undefined"&&window||typeof y!="undefined"&&y,_=function(le){var oe=p(le);return oe==="undefined"?"undefined":oe==="string"||le instanceof String?"string":oe==="number"||le instanceof Number?"number":oe==="function"||le instanceof Function?"function":le&&le.constructor===Array?"array":le&&le.nodeType===1?"element":oe==="object"?"object":"unknown"},T=function(le,oe){var fe=document.createElement(le);if(oe.className&&(fe.className=oe.className),oe.innerHTML){fe.innerHTML=oe.innerHTML;for(var De=fe.getElementsByTagName("script"),He=De.length;0<He--;null)De[He].parentNode.removeChild(De[He])}for(var je in oe.style)fe.style[je]=oe.style[je];return fe},(((S=function ce(le){var oe=Object.assign(ce.convert(Promise.resolve()),JSON.parse(JSON.stringify(ce.template))),fe=ce.convert(Promise.resolve(),oe);return fe=(fe=fe.setProgress(1,ce,1,[ce])).set(le)}).prototype=Object.create(Promise.prototype)).constructor=S).convert=function(ce,le){return ce.__proto__=le||S.prototype,ce},S.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:{}}},S.prototype.from=function(ce,le){return this.then(function(){switch(le=le||function(oe){switch(_(oe)){case"string":return"string";case"element":return oe.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}(ce)){case"string":return this.set({src:T("div",{innerHTML:ce})});case"element":return this.set({src:ce});case"canvas":return this.set({canvas:ce});case"img":return this.set({img:ce});default:return this.error("Unknown source type.")}})},S.prototype.to=function(ce){switch(ce){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.")}},S.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 ce={position:"relative",display:"inline-block",width:Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:"white"},le=function oe(fe,De){for(var He=fe.nodeType===3?document.createTextNode(fe.nodeValue):fe.cloneNode(!1),je=fe.firstChild;je;je=je.nextSibling)De!==!0&&je.nodeType===1&&je.nodeName==="SCRIPT"||He.appendChild(oe(je,De));return fe.nodeType===1&&(fe.nodeName==="CANVAS"?(He.width=fe.width,He.height=fe.height,He.getContext("2d").drawImage(fe,0,0)):fe.nodeName!=="TEXTAREA"&&fe.nodeName!=="SELECT"||(He.value=fe.value),He.addEventListener("load",function(){He.scrollTop=fe.scrollTop,He.scrollLeft=fe.scrollLeft},!0)),He}(this.prop.src,this.opt.html2canvas.javascriptEnabled);le.tagName==="BODY"&&(ce.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=T("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=T("div",{className:"html2pdf__container",style:ce}),this.prop.container.appendChild(le),this.prop.container.firstChild.appendChild(T("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},S.prototype.toCanvas=function(){var ce=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(ce).then(function(){var le=Object.assign({},this.opt.html2canvas);if(delete le.onrendered,this.isHtml2CanvasLoaded())return html2canvas(this.prop.container,le)}).then(function(le){(this.opt.html2canvas.onrendered||function(){})(le),this.prop.canvas=le,document.body.removeChild(this.prop.overlay)})},S.prototype.toContext2d=function(){var ce=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(ce).then(function(){var le=this.opt.jsPDF,oe=Object.assign({async:!0,allowTaint:!0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete oe.onrendered,le.context2d.autoPaging=!0,le.context2d.posX=this.opt.x,le.context2d.posY=this.opt.y,oe.windowHeight=oe.windowHeight||0,oe.windowHeight=oe.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):oe.windowHeight,this.isHtml2CanvasLoaded())return html2canvas(this.prop.container,oe)}).then(function(le){(this.opt.html2canvas.onrendered||function(){})(le),this.prop.canvas=le,document.body.removeChild(this.prop.overlay)})},S.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var ce=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=ce})},S.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},S.prototype.output=function(ce,le,oe){return(oe=oe||"pdf").toLowerCase()==="img"||oe.toLowerCase()==="image"?this.outputImg(ce,le):this.outputPdf(ce,le)},S.prototype.outputPdf=function(ce,le){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(ce,le)})},S.prototype.outputImg=function(ce,le){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(ce){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 "'+ce+'" is not supported.'}})},S.prototype.isHtml2CanvasLoaded=function(){var ce=w.html2canvas!==void 0;return ce||console.error("html2canvas not loaded."),ce},S.prototype.save=function(ce){if(this.isHtml2CanvasLoaded())return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(ce?{filename:ce}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},S.prototype.doCallback=function(ce){if(this.isHtml2CanvasLoaded())return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},S.prototype.set=function(ce){if(_(ce)!=="object")return this;var le=Object.keys(ce||{}).map(function(oe){if(oe in S.template.prop)return function(){this.prop[oe]=ce[oe]};switch(oe){case"margin":return this.setMargin.bind(this,ce.margin);case"jsPDF":return function(){return this.opt.jsPDF=ce.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,ce.pageSize);default:return function(){this.opt[oe]=ce[oe]}}},this);return this.then(function(){return this.thenList(le)})},S.prototype.get=function(ce,le){return this.then(function(){var oe=ce in S.template.prop?this.prop[ce]:this.opt[ce];return le?le(oe):oe})},S.prototype.setMargin=function(ce){return this.then(function(){switch(_(ce)){case"number":ce=[ce,ce,ce,ce];case"array":if(ce.length===2&&(ce=[ce[0],ce[1],ce[0],ce[1]]),ce.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=ce}).then(this.setPageSize)},S.prototype.setPageSize=function(ce){function le(oe,fe){return Math.floor(oe*fe/72*96)}return this.then(function(){(ce=ce||ut.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(ce.inner={width:ce.width-this.opt.margin[1]-this.opt.margin[3],height:ce.height-this.opt.margin[0]-this.opt.margin[2]},ce.inner.px={width:le(ce.inner.width,ce.k),height:le(ce.inner.height,ce.k)},ce.inner.ratio=ce.inner.height/ce.inner.width),this.prop.pageSize=ce})},S.prototype.setProgress=function(ce,le,oe,fe){return ce!=null&&(this.progress.val=ce),le!=null&&(this.progress.state=le),oe!=null&&(this.progress.n=oe),fe!=null&&(this.progress.stack=fe),this.progress.ratio=this.progress.val/this.progress.state,this},S.prototype.updateProgress=function(ce,le,oe,fe){return this.setProgress(ce?this.progress.val+ce:null,le||null,oe?this.progress.n+oe:null,fe?this.progress.stack.concat(fe):null)},S.prototype.then=function(ce,le){var oe=this;return this.thenCore(ce,le,function(fe,De){return oe.updateProgress(null,null,1,[fe]),Promise.prototype.then.call(this,function(He){return oe.updateProgress(null,fe),He}).then(fe,De).then(function(He){return oe.updateProgress(1),He})})},S.prototype.thenCore=function(ce,le,oe){oe=oe||Promise.prototype.then;var fe=this;ce&&(ce=ce.bind(fe)),le&&(le=le.bind(fe));var De=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?fe:S.convert(Object.assign({},fe),Promise.prototype),He=oe.call(De,ce,le);return S.convert(He,fe.__proto__)},S.prototype.thenExternal=function(ce,le){return Promise.prototype.then.call(this,ce,le)},S.prototype.thenList=function(ce){var le=this;return ce.forEach(function(oe){le=le.thenCore(oe)}),le},S.prototype.catch=function(ce){ce&&(ce=ce.bind(this));var le=Promise.prototype.catch.call(this,ce);return S.convert(le,this)},S.prototype.catchExternal=function(ce){return Promise.prototype.catch.call(this,ce)},S.prototype.error=function(ce){return this.then(function(){throw new Error(ce)})},S.prototype.using=S.prototype.set,S.prototype.saveAs=S.prototype.save,S.prototype.export=S.prototype.output,S.prototype.run=S.prototype.then,ut.getPageSize=function(ce,le,oe){if(p(ce)==="object"){var fe=ce;ce=fe.orientation,le=fe.unit||le,oe=fe.format||oe}le=le||"mm",oe=oe||"a4",ce=(""+(ce||"P")).toLowerCase();var De=(""+oe).toLowerCase(),He={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(le){case"pt":var je=1;break;case"mm":je=72/25.4;break;case"cm":je=72/2.54;break;case"in":je=72;break;case"px":je=.75;break;case"pc":case"em":je=12;break;case"ex":je=6;break;default:throw"Invalid unit: "+le}if(He.hasOwnProperty(De))var We=He[De][1]/je,nt=He[De][0]/je;else try{We=oe[1],nt=oe[0]}catch(It){throw new Error("Invalid format: "+oe)}if(ce==="p"||ce==="portrait"){if(ce="p",We<nt){var xt=nt;nt=We,We=xt}}else{if(ce!=="l"&&ce!=="landscape")throw"Invalid orientation: "+ce;ce="l",nt<We&&(xt=nt,nt=We,We=xt)}return{width:nt,height:We,unit:le,k:je}},b.html=function(ce,le){(le=le||{}).callback=le.callback||function(){},le.html2canvas=le.html2canvas||{},le.html2canvas.canvas=le.html2canvas.canvas||this.canvas,le.jsPDF=le.jsPDF||this,le.jsPDF;var oe=new S(le);return le.worker?oe:oe.from(ce).doCallback()},ut.API.addJS=function(ce){return O=ce,this.internal.events.subscribe("postPutResources",function(le){E=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(E+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),I=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+O+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){E!==void 0&&I!==void 0&&this.internal.out("/Names <</JavaScript "+E+" 0 R>>")}),this},(F=ut.API).events.push(["postPutResources",function(){var ce=this,le=/^(\d+) 0 obj$/;if(0<this.outline.root.children.length)for(var oe=ce.outline.render().split(/\r\n/),fe=0;fe<oe.length;fe++){var De=oe[fe],He=le.exec(De);if(He!=null){var je=He[1];ce.internal.newObjectDeferredBegin(je,!1)}ce.internal.write(De)}if(this.outline.createNamedDestinations){var We=this.internal.pages.length,nt=[];for(fe=0;fe<We;fe++){var xt=ce.internal.newObject();nt.push(xt);var It=ce.internal.getPageInfo(fe+1);ce.internal.write("<< /D["+It.objId+" 0 R /XYZ null null null]>> endobj")}var ir=ce.internal.newObject();for(ce.internal.write("<< /Names [ "),fe=0;fe<nt.length;fe++)ce.internal.write("(page_"+(fe+1)+")"+nt[fe]+" 0 R");ce.internal.write(" ] >>","endobj"),ce.internal.newObject(),ce.internal.write("<< /Dests "+ir+" 0 R"),ce.internal.write(">>","endobj")}}]),F.events.push(["putCatalog",function(){0<this.outline.root.children.length&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+namesOid+" 0 R"))}]),F.events.push(["initialized",function(){var ce=this;ce.outline={createNamedDestinations:!1,root:{children:[]}},ce.outline.add=function(le,oe,fe){var De={title:oe,options:fe,children:[]};return le==null&&(le=this.root),le.children.push(De),De},ce.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=ce,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},ce.outline.genIds_r=function(le){le.id=ce.internal.newObjectDeferred();for(var oe=0;oe<le.children.length;oe++)this.genIds_r(le.children[oe])},ce.outline.renderRoot=function(le){this.objStart(le),this.line("/Type /Outlines"),0<le.children.length&&(this.line("/First "+this.makeRef(le.children[0])),this.line("/Last "+this.makeRef(le.children[le.children.length-1]))),this.line("/Count "+this.count_r({count:0},le)),this.objEnd()},ce.outline.renderItems=function(le){this.ctx.pdf.internal.getCoordinateString;for(var oe=this.ctx.pdf.internal.getVerticalCoordinateString,fe=0;fe<le.children.length;fe++){var De=le.children[fe];this.objStart(De),this.line("/Title "+this.makeString(De.title)),this.line("/Parent "+this.makeRef(le)),0<fe&&this.line("/Prev "+this.makeRef(le.children[fe-1])),fe<le.children.length-1&&this.line("/Next "+this.makeRef(le.children[fe+1])),0<De.children.length&&(this.line("/First "+this.makeRef(De.children[0])),this.line("/Last "+this.makeRef(De.children[De.children.length-1])));var He=this.count=this.count_r({count:0},De);if(0<He&&this.line("/Count "+He),De.options&&De.options.pageNumber){var je=ce.internal.getPageInfo(De.options.pageNumber);this.line("/Dest ["+je.objId+" 0 R /XYZ 0 "+oe(0)+" 0]")}this.objEnd()}for(fe=0;fe<le.children.length;fe++)De=le.children[fe],this.renderItems(De)},ce.outline.line=function(le){this.ctx.val+=le+`\r
|
|
|
`},ce.outline.makeRef=function(le){return le.id+" 0 R"},ce.outline.makeString=function(le){return"("+ce.internal.pdfEscape(le)+")"},ce.outline.objStart=function(le){this.ctx.val+=`\r
|
|
|
`+le.id+` 0 obj\r
|
|
|
<<\r
|
|
|
`},ce.outline.objEnd=function(le){this.ctx.val+=`>> \r
|
|
|
endobj\r
|
|
|
`},ce.outline.count_r=function(le,oe){for(var fe=0;fe<oe.children.length;fe++)le.count++,this.count_r(le,oe.children[fe]);return le.count}}]),k=ut.API,M=function(){var le=typeof Deflater=="function";if(!le)throw new Error("requires deflate.js for compression");return le},P=function(le,oe,fe,De){var He=5,je=K;switch(De){case k.image_compression.FAST:He=3,je=z;break;case k.image_compression.MEDIUM:He=6,je=G;break;case k.image_compression.SLOW:He=9,je=X}le=H(le,oe,fe,je);var We=new Uint8Array(V(He)),nt=D(le),xt=new Deflater(He),It=xt.append(le),ir=xt.flush(),Me=We.length+It.length+ir.length,ke=new Uint8Array(Me+4);return ke.set(We),ke.set(It,We.length),ke.set(ir,We.length+It.length),ke[Me++]=nt>>>24&255,ke[Me++]=nt>>>16&255,ke[Me++]=nt>>>8&255,ke[Me++]=255&nt,k.arrayBufferToBinaryString(ke)},V=function(le,oe){var fe=Math.LOG2E*Math.log(32768)-8<<4|8,De=fe<<8;return De|=Math.min(3,(oe-1&255)>>1)<<6,De|=0,[fe,255&(De+=31-De%31)]},D=function(le,oe){for(var fe,De=1,He=0,je=le.length,We=0;0<je;){for(je-=fe=oe<je?oe:je;He+=De+=le[We++],--fe;);De%=65521,He%=65521}return(He<<16|De)>>>0},H=function(le,oe,fe,De){for(var He,je,We,nt=le.length/oe,xt=new Uint8Array(le.length+nt),It=ee(),ir=0;ir<nt;ir++){if(We=ir*oe,He=le.subarray(We,We+oe),De)xt.set(De(He,fe,je),We+ir);else{for(var Me=0,ke=It.length,re=[];Me<ke;Me++)re[Me]=It[Me](He,fe,je);var be=Se(re.concat());xt.set(re[be],We+ir)}je=He}return xt},U=function(le,oe,fe){var De=Array.apply([],le);return De.unshift(0),De},z=function(le,oe,fe){var De,He=[],je=0,We=le.length;for(He[0]=1;je<We;je++)De=le[je-oe]||0,He[je+1]=le[je]-De+256&255;return He},K=function(le,oe,fe){var De,He=[],je=0,We=le.length;for(He[0]=2;je<We;je++)De=fe&&fe[je]||0,He[je+1]=le[je]-De+256&255;return He},G=function(le,oe,fe){var De,He,je=[],We=0,nt=le.length;for(je[0]=3;We<nt;We++)De=le[We-oe]||0,He=fe&&fe[We]||0,je[We+1]=le[We]+256-(De+He>>>1)&255;return je},X=function(le,oe,fe){var De,He,je,We,nt=[],xt=0,It=le.length;for(nt[0]=4;xt<It;xt++)De=le[xt-oe]||0,He=fe&&fe[xt]||0,je=fe&&fe[xt-oe]||0,We=Z(De,He,je),nt[xt+1]=le[xt]-We+256&255;return nt},Z=function(le,oe,fe){var De=le+oe-fe,He=Math.abs(De-le),je=Math.abs(De-oe),We=Math.abs(De-fe);return He<=je&&He<=We?le:je<=We?oe:fe},ee=function(){return[U,z,K,G,X]},Se=function(le){for(var oe,fe,De,He=0,je=le.length;He<je;)((oe=$(le[He].slice(1)))<fe||!fe)&&(fe=oe,De=He),He++;return De},$=function(le){for(var oe=0,fe=le.length,De=0;oe<fe;)De+=Math.abs(le[oe++]);return De},k.processPNG=function(ce,le,oe,fe,De){var He,je,We,nt,xt,It,ir=this.color_spaces.DEVICE_RGB,Me=this.decode.FLATE_DECODE,ke=8;if(this.isArrayBuffer(ce)&&(ce=new Uint8Array(ce)),this.isArrayBufferView(ce)){if(typeof PNG!="function"||typeof mt!="function")throw new Error("PNG support requires png.js and zlib.js");if(ce=(He=new PNG(ce)).imgData,ke=He.bits,ir=He.colorSpace,nt=He.colors,[4,6].indexOf(He.colorType)!==-1){if(He.bits===8)for(var re,be=(Rt=He.pixelBitlength==32?new Uint32Array(He.decodePixels().buffer):He.pixelBitlength==16?new Uint16Array(He.decodePixels().buffer):new Uint8Array(He.decodePixels().buffer)).length,Ne=new Uint8Array(be*He.colors),Ke=new Uint8Array(be),Qe=He.pixelBitlength-He.bits,ct=0,Lt=0;ct<be;ct++){for(rr=Rt[ct],re=0;re<Qe;)Ne[Lt++]=rr>>>re&255,re+=He.bits;Ke[ct]=rr>>>re&255}if(He.bits===16){be=(Rt=new Uint32Array(He.decodePixels().buffer)).length,Ne=new Uint8Array(be*(32/He.pixelBitlength)*He.colors),Ke=new Uint8Array(be*(32/He.pixelBitlength));for(var rr,dr=1<He.colors,Pt=Lt=ct=0;ct<be;)rr=Rt[ct++],Ne[Lt++]=rr>>>0&255,dr&&(Ne[Lt++]=rr>>>16&255,rr=Rt[ct++],Ne[Lt++]=rr>>>0&255),Ke[Pt++]=rr>>>16&255;ke=8}fe!==k.image_compression.NONE&&M()?(ce=P(Ne,He.width*He.colors,He.colors,fe),It=P(Ke,He.width,1,fe)):(ce=Ne,It=Ke,Me=null)}if(He.colorType===3&&(ir=this.color_spaces.INDEXED,xt=He.palette,He.transparency.indexed)){var jt=He.transparency.indexed,Ct=0;for(ct=0,be=jt.length;ct<be;++ct)Ct+=jt[ct];if((Ct/=255)==be-1&&jt.indexOf(0)!==-1)We=[jt.indexOf(0)];else if(Ct!==be){var Rt=He.decodePixels();for(Ke=new Uint8Array(Rt.length),ct=0,be=Rt.length;ct<be;ct++)Ke[ct]=jt[Rt[ct]];It=P(Ke,He.width,1)}}var pt=function(ot){var gt;switch(ot){case k.image_compression.FAST:gt=11;break;case k.image_compression.MEDIUM:gt=13;break;case k.image_compression.SLOW:gt=14;break;default:gt=12}return gt}(fe);return je=Me===this.decode.FLATE_DECODE?"/Predictor "+pt+" /Colors "+nt+" /BitsPerComponent "+ke+" /Columns "+He.width:"/Colors "+nt+" /BitsPerComponent "+ke+" /Columns "+He.width,(this.isArrayBuffer(ce)||this.isArrayBufferView(ce))&&(ce=this.arrayBufferToBinaryString(ce)),(It&&this.isArrayBuffer(It)||this.isArrayBufferView(It))&&(It=this.arrayBufferToBinaryString(It)),this.createImageInfo(ce,He.width,He.height,ir,ke,Me,le,oe,je,We,xt,It,pt)}throw new Error("Unsupported PNG image data, try using JPEG instead.")},(pe=ut.API).processGIF89A=function(ce,le,oe,fe,De){var He=new Ot(ce),je=He.width,We=He.height,nt=[];He.decodeAndBlitFrameRGBA(0,nt);var xt={data:nt,width:je,height:We},It=new Et(100).encode(xt,100);return pe.processJPEG.call(this,It,le,oe,fe)},pe.processGIF87A=pe.processGIF89A,(xe=ut.API).processBMP=function(ce,le,oe,fe,De){var He=new Zt(ce,!1),je=He.width,We=He.height,nt={data:He.getData(),width:je,height:We},xt=new Et(100).encode(nt,100);return xe.processJPEG.call(this,xt,le,oe,fe)},ut.API.setLanguage=function(ce){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"FYRO Macedonian",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[ce]!==void 0&&(this.internal.languageSettings.languageCode=ce,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},_e=ut.API,Ue=_e.getCharWidthsArray=function(ce,le){var oe,fe,De,He=(le=le||{}).font||this.internal.getFont(),je=le.fontSize||this.internal.getFontSize(),We=le.charSpace||this.internal.getCharSpace(),nt=le.widths?le.widths:He.metadata.Unicode.widths,xt=nt.fof?nt.fof:1,It=le.kerning?le.kerning:He.metadata.Unicode.kerning,ir=It.fof?It.fof:1,Me=0,ke=nt[0]||xt,re=[];for(oe=0,fe=ce.length;oe<fe;oe++)De=ce.charCodeAt(oe),typeof He.metadata.widthOfString=="function"?re.push((He.metadata.widthOfGlyph(He.metadata.characterToGlyph(De))+We*(1e3/je)||0)/1e3):re.push((nt[De]||ke)/xt+(It[De]&&It[De][Me]||0)/ir),Me=De;return re},ye=_e.getArraySum=function(ce){for(var le=ce.length,oe=0;le;)oe+=ce[--le];return oe},Be=_e.getStringUnitWidth=function(ce,le){var oe=(le=le||{}).fontSize||this.internal.getFontSize(),fe=le.font||this.internal.getFont(),De=le.charSpace||this.internal.getCharSpace();return typeof fe.metadata.widthOfString=="function"?fe.metadata.widthOfString(ce,oe,De)/oe:ye(Ue.apply(this,arguments))},Q=function(le,oe,fe,De){for(var He=[],je=0,We=le.length,nt=0;je!==We&&nt+oe[je]<fe;)nt+=oe[je],je++;He.push(le.slice(0,je));var xt=je;for(nt=0;je!==We;)nt+oe[je]>De&&(He.push(le.slice(xt,je)),nt=0,xt=je),nt+=oe[je],je++;return xt!==je&&He.push(le.slice(xt,je)),He},ie=function(le,oe,fe){fe||(fe={});var De,He,je,We,nt,xt,It=[],ir=[It],Me=fe.textIndent||0,ke=0,re=0,be=le.split(" "),Ne=Ue.apply(this,[" ",fe])[0];if(xt=fe.lineIndent===-1?be[0].length+2:fe.lineIndent||0){var Ke=Array(xt).join(" "),Qe=[];be.map(function(rr){1<(rr=rr.split(/\s*\n/)).length?Qe=Qe.concat(rr.map(function(dr,Pt){return(Pt&&dr.length?`
|
|
|
`:"")+dr})):Qe.push(rr[0])}),be=Qe,xt=Be.apply(this,[Ke,fe])}for(je=0,We=be.length;je<We;je++){var ct=0;if(De=be[je],xt&&De[0]==`
|
|
|
`&&(De=De.substr(1),ct=1),He=Ue.apply(this,[De,fe]),oe<Me+ke+(re=ye(He))||ct){if(oe<re){for(nt=Q.apply(this,[De,He,oe-(Me+ke),oe]),It.push(nt.shift()),It=[nt.pop()];nt.length;)ir.push([nt.shift()]);re=ye(He.slice(De.length-(It[0]?It[0].length:0)))}else It=[De];ir.push(It),Me=re+xt,ke=Ne}else It.push(De),Me+=ke+re,ke=Ne}if(xt)var Lt=function(dr,Pt){return(Pt?Ke:"")+dr.join(" ")};else Lt=function(dr){return dr.join(" ")};return ir.map(Lt)},_e.splitTextToSize=function(ce,le,oe){var fe,De=(oe=oe||{}).fontSize||this.internal.getFontSize(),He=function(It){var ir={0:1},Me={};if(It.widths&&It.kerning)return{widths:It.widths,kerning:It.kerning};var ke=this.internal.getFont(It.fontName,It.fontStyle),re="Unicode";return ke.metadata[re]?{widths:ke.metadata[re].widths||ir,kerning:ke.metadata[re].kerning||Me}:{font:ke.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,oe);fe=Array.isArray(ce)?ce:ce.split(/\r?\n/);var je=1*this.internal.scaleFactor*le/De;He.textIndent=oe.textIndent?1*oe.textIndent*this.internal.scaleFactor/De:0,He.lineIndent=oe.lineIndent;var We,nt,xt=[];for(We=0,nt=fe.length;We<nt;We++)xt=xt.concat(ie.apply(this,[fe[We],je,He]));return xt},Ve=ut.API,W={codePages:["WinAnsiEncoding"],WinAnsiEncoding:(J=function(le){for(var oe="klmnopqrstuvwxyz",fe={},De=0;De<oe.length;De++)fe[oe[De]]="0123456789abcdef"[De];var He,je,We,nt,xt,It={},ir=1,Me=It,ke=[],re="",be="",Ne=le.length-1;for(De=1;De!=Ne;)xt=le[De],De+=1,xt=="'"?je=je?(nt=je.join(""),He):[]:je?je.push(xt):xt=="{"?(ke.push([Me,nt]),Me={},nt=He):xt=="}"?((We=ke.pop())[0][We[1]]=Me,nt=He,Me=We[0]):xt=="-"?ir=-1:nt===He?fe.hasOwnProperty(xt)?(re+=fe[xt],nt=parseInt(re,16)*ir,ir=1,re=""):re+=xt:fe.hasOwnProperty(xt)?(be+=fe[xt],Me[nt]=parseInt(be,16)*ir,ir=1,nt=He,be=""):be+=xt;return It})("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},j={Unicode:{Courier:W,"Courier-Bold":W,"Courier-BoldOblique":W,"Courier-Oblique":W,Helvetica:W,"Helvetica-Bold":W,"Helvetica-BoldOblique":W,"Helvetica-Oblique":W,"Times-Roman":W,"Times-Bold":W,"Times-BoldItalic":W,"Times-Italic":W}},Y={Unicode:{"Courier-Oblique":J("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":J("{'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":J("{'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:J("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":J("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":J("{'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:J("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:J("{'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":J("{'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:J("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":J("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":J("{'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":J("{'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":J("{'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}}}")}},Ve.events.push(["addFont",function(ce){var le,oe,fe,De=ce.font,He="Unicode";(le=Y[He][De.postScriptName])&&((oe=De.metadata[He]?De.metadata[He]:De.metadata[He]={}).widths=le.widths,oe.kerning=le.kerning),(fe=j[He][De.postScriptName])&&((oe=De.metadata[He]?De.metadata[He]:De.metadata[He]={}).encoding=fe).codePages&&fe.codePages.length&&(De.encoding=fe.codePages[0])}]),me=ut,typeof self!="undefined"&&self||typeof y!="undefined"&&y||typeof window!="undefined"&&window||Function("return this")(),me.API.events.push(["addFont",function(ce){var le=ce.font,oe=ce.instance;if(oe!==void 0&&oe.existsFileInVFS(le.postScriptName)){var fe=oe.getFileFromVFS(le.postScriptName);if(typeof fe!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+le.postScriptName+"').");le.metadata=me.API.TTFFont.open(le.postScriptName,le.fontName,fe,le.encoding),le.metadata.Unicode=le.metadata.Unicode||{encoding:{},kerning:{},widths:[]},le.metadata.glyIdsUsed=[0]}else if(le.isStandardFont===!1)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+le.postScriptName+"').")}]),(ae=ut.API).addSvg=function(ce,le,oe,fe,De){if(le===void 0||oe===void 0)throw new Error("addSVG needs values for 'x' and 'y'");function He(jt){for(var Ct=parseFloat(jt[1]),Rt=parseFloat(jt[2]),pt=[],ot=3,gt=jt.length;ot<gt;)jt[ot]==="c"?(pt.push([parseFloat(jt[ot+1]),parseFloat(jt[ot+2]),parseFloat(jt[ot+3]),parseFloat(jt[ot+4]),parseFloat(jt[ot+5]),parseFloat(jt[ot+6])]),ot+=7):jt[ot]==="l"?(pt.push([parseFloat(jt[ot+1]),parseFloat(jt[ot+2])]),ot+=3):ot+=1;return[Ct,Rt,pt]}var je,We,nt,xt,It,ir,Me,ke,re=(xt=document,ke=xt.createElement("iframe"),It=".jsPDF_sillysvg_iframe {display:none;position:absolute;}",(Me=(ir=xt).createElement("style")).type="text/css",Me.styleSheet?Me.styleSheet.cssText=It:Me.appendChild(ir.createTextNode(It)),ir.getElementsByTagName("head")[0].appendChild(Me),ke.name="childframe",ke.setAttribute("width",0),ke.setAttribute("height",0),ke.setAttribute("frameborder","0"),ke.setAttribute("scrolling","no"),ke.setAttribute("seamless","seamless"),ke.setAttribute("class","jsPDF_sillysvg_iframe"),xt.body.appendChild(ke),ke),be=(je=ce,(nt=((We=re).contentWindow||We.contentDocument).document).write(je),nt.close(),nt.getElementsByTagName("svg")[0]),Ne=[1,1],Ke=parseFloat(be.getAttribute("width")),Qe=parseFloat(be.getAttribute("height"));Ke&&Qe&&(fe&&De?Ne=[fe/Ke,De/Qe]:fe?Ne=[fe/Ke,fe/Ke]:De&&(Ne=[De/Qe,De/Qe]));var ct,Lt,rr,dr,Pt=be.childNodes;for(ct=0,Lt=Pt.length;ct<Lt;ct++)(rr=Pt[ct]).tagName&&rr.tagName.toUpperCase()==="PATH"&&((dr=He(rr.getAttribute("d").split(" ")))[0]=dr[0]*Ne[0]+le,dr[1]=dr[1]*Ne[1]+oe,this.lines.call(this,dr[2],dr[0],dr[1],Ne));return this},ae.addSVG=ae.addSvg,ae.addSvgAsImage=function(ce,le,oe,fe,De,He,je,We){if(isNaN(le)||isNaN(oe))throw console.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(fe)||isNaN(De))throw console.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var nt=document.createElement("canvas");nt.width=fe,nt.height=De;var xt=nt.getContext("2d");return xt.fillStyle="#fff",xt.fillRect(0,0,nt.width,nt.height),canvg(nt,ce,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0}),this.addImage(nt.toDataURL("image/jpeg",1),le,oe,fe,De,je,We),this},ut.API.putTotalPages=function(ce){var le,oe=0;oe=parseInt(this.internal.getFont().id.substr(1),10)<15?(le=new RegExp(ce,"g"),this.internal.getNumberOfPages()):(le=new RegExp(this.pdfEscape16(ce,this.internal.getFont()),"g"),this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var fe=1;fe<=this.internal.getNumberOfPages();fe++)for(var De=0;De<this.internal.pages[fe].length;De++)this.internal.pages[fe][De]=this.internal.pages[fe][De].replace(le,oe);return this},ut.API.viewerPreferences=function(ce,le){var oe;ce=ce||{},le=le||!1;var fe,De,He={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}},je=Object.keys(He),We=[],nt=0,xt=0,It=0,ir=!0;function Me(re,be){var Ne,Ke=!1;for(Ne=0;Ne<re.length;Ne+=1)re[Ne]===be&&(Ke=!0);return Ke}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(He)),this.internal.viewerpreferences.isSubscribed=!1),oe=this.internal.viewerpreferences.configuration,ce==="reset"||le===!0){var ke=je.length;for(It=0;It<ke;It+=1)oe[je[It]].value=oe[je[It]].defaultValue,oe[je[It]].explicitSet=!1}if(p(ce)==="object"){for(fe in ce)if(De=ce[fe],Me(je,fe)&&De!==void 0){if(oe[fe].type==="boolean"&&typeof De=="boolean")oe[fe].value=De;else if(oe[fe].type==="name"&&Me(oe[fe].valueSet,De))oe[fe].value=De;else if(oe[fe].type==="integer"&&Number.isInteger(De))oe[fe].value=De;else if(oe[fe].type==="array"){for(nt=0;nt<De.length;nt+=1)if(ir=!0,De[nt].length===1&&typeof De[nt][0]=="number")We.push(String(De[nt]-1));else if(1<De[nt].length){for(xt=0;xt<De[nt].length;xt+=1)typeof De[nt][xt]!="number"&&(ir=!1);ir===!0&&We.push([De[nt][0]-1,De[nt][1]-1].join(" "))}oe[fe].value="["+We.join(" ")+"]"}else oe[fe].value=oe[fe].defaultValue;oe[fe].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var re,be=[];for(re in oe)oe[re].explicitSet===!0&&(oe[re].type==="name"?be.push("/"+re+" /"+oe[re].value):be.push("/"+re+" "+oe[re].value));be.length!==0&&this.internal.write(`/ViewerPreferences
|
|
|
<<
|
|
|
`+be.join(`
|
|
|
`)+`
|
|
|
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=oe,this},Le=ut.API,ge=ne=Ee="",Le.addMetadata=function(ce,le){return ne=le||"http://jspdf.default.namespaceuri/",Ee=ce,this.internal.events.subscribe("postPutResources",function(){if(Ee){var oe='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+ne+'"><jspdf:metadata>',fe=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),De=unescape(encodeURIComponent(oe)),He=unescape(encodeURIComponent(Ee)),je=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),We=unescape(encodeURIComponent("</x:xmpmeta>")),nt=De.length+He.length+je.length+fe.length+We.length;ge=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+nt+" >>"),this.internal.write("stream"),this.internal.write(fe+De+He+je+We),this.internal.write("endstream"),this.internal.write("endobj")}else ge=""}),this.internal.events.subscribe("putCatalog",function(){ge&&this.internal.write("/Metadata "+ge+" 0 R")}),this},function(ce,le){var oe=ce.API,fe=oe.pdfEscape16=function(je,We){for(var nt,xt=We.metadata.Unicode.widths,It=["","0","00","000","0000"],ir=[""],Me=0,ke=je.length;Me<ke;++Me){if(nt=We.metadata.characterToGlyph(je.charCodeAt(Me)),We.metadata.glyIdsUsed.push(nt),We.metadata.toUnicode[nt]=je.charCodeAt(Me),xt.indexOf(nt)==-1&&(xt.push(nt),xt.push([parseInt(We.metadata.widthOfGlyph(nt),10)])),nt=="0")return ir.join("");nt=nt.toString(16),ir.push(It[4-nt.length],nt)}return ir.join("")},De=function(We){var nt,xt,It,ir,Me,ke,re;for(Me=`/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`,It=[],ke=0,re=(xt=Object.keys(We).sort(function(be,Ne){return be-Ne})).length;ke<re;ke++)nt=xt[ke],100<=It.length&&(Me+=`
|
|
|
`+It.length+` beginbfchar
|
|
|
`+It.join(`
|
|
|
`)+`
|
|
|
endbfchar`,It=[]),ir=("0000"+We[nt].toString(16)).slice(-4),nt=("0000"+(+nt).toString(16)).slice(-4),It.push("<"+nt+"><"+ir+">");return It.length&&(Me+=`
|
|
|
`+It.length+` beginbfchar
|
|
|
`+It.join(`
|
|
|
`)+`
|
|
|
endbfchar
|
|
|
`),Me+=`endcmap
|
|
|
CMapName currentdict /CMap defineresource pop
|
|
|
end
|
|
|
end`};oe.events.push(["putFont",function(je){!function(We,nt,xt,It){if(We.metadata instanceof ce.API.TTFFont&&We.encoding==="Identity-H"){for(var ir=We.metadata.Unicode.widths,Me=We.metadata.subset.encode(We.metadata.glyIdsUsed,1),ke="",re=0;re<Me.length;re++)ke+=String.fromCharCode(Me[re]);var be=xt();It({data:ke,addLength1:!0}),nt("endobj");var Ne=xt();It({data:De(We.metadata.toUnicode),addLength1:!0}),nt("endobj");var Ke=xt();nt("<<"),nt("/Type /FontDescriptor"),nt("/FontName /"+We.fontName),nt("/FontFile2 "+be+" 0 R"),nt("/FontBBox "+ce.API.PDFObject.convert(We.metadata.bbox)),nt("/Flags "+We.metadata.flags),nt("/StemV "+We.metadata.stemV),nt("/ItalicAngle "+We.metadata.italicAngle),nt("/Ascent "+We.metadata.ascender),nt("/Descent "+We.metadata.decender),nt("/CapHeight "+We.metadata.capHeight),nt(">>"),nt("endobj");var Qe=xt();nt("<<"),nt("/Type /Font"),nt("/BaseFont /"+We.fontName),nt("/FontDescriptor "+Ke+" 0 R"),nt("/W "+ce.API.PDFObject.convert(ir)),nt("/CIDToGIDMap /Identity"),nt("/DW 1000"),nt("/Subtype /CIDFontType2"),nt("/CIDSystemInfo"),nt("<<"),nt("/Supplement 0"),nt("/Registry (Adobe)"),nt("/Ordering ("+We.encoding+")"),nt(">>"),nt(">>"),nt("endobj"),We.objectNumber=xt(),nt("<<"),nt("/Type /Font"),nt("/Subtype /Type0"),nt("/ToUnicode "+Ne+" 0 R"),nt("/BaseFont /"+We.fontName),nt("/Encoding /"+We.encoding),nt("/DescendantFonts ["+Qe+" 0 R]"),nt(">>"),nt("endobj"),We.isAlreadyPutted=!0}}(je.font,je.out,je.newObject,je.putStream)}]),oe.events.push(["putFont",function(je){!function(We,nt,xt,It){if(We.metadata instanceof ce.API.TTFFont&&We.encoding==="WinAnsiEncoding"){We.metadata.Unicode.widths;for(var ir=We.metadata.rawData,Me="",ke=0;ke<ir.length;ke++)Me+=String.fromCharCode(ir[ke]);var re=xt();It({data:Me,addLength1:!0}),nt("endobj");var be=xt();It({data:De(We.metadata.toUnicode),addLength1:!0}),nt("endobj");var Ne=xt();for(nt("<<"),nt("/Descent "+We.metadata.decender),nt("/CapHeight "+We.metadata.capHeight),nt("/StemV "+We.metadata.stemV),nt("/Type /FontDescriptor"),nt("/FontFile2 "+re+" 0 R"),nt("/Flags 96"),nt("/FontBBox "+ce.API.PDFObject.convert(We.metadata.bbox)),nt("/FontName /"+We.fontName),nt("/ItalicAngle "+We.metadata.italicAngle),nt("/Ascent "+We.metadata.ascender),nt(">>"),nt("endobj"),We.objectNumber=xt(),ke=0;ke<We.metadata.hmtx.widths.length;ke++)We.metadata.hmtx.widths[ke]=parseInt(We.metadata.hmtx.widths[ke]*(1e3/We.metadata.head.unitsPerEm));nt("<</Subtype/TrueType/Type/Font/ToUnicode "+be+" 0 R/BaseFont/"+We.fontName+"/FontDescriptor "+Ne+" 0 R/Encoding/"+We.encoding+" /FirstChar 29 /LastChar 255 /Widths "+ce.API.PDFObject.convert(We.metadata.hmtx.widths)+">>"),nt("endobj"),We.isAlreadyPutted=!0}}(je.font,je.out,je.newObject,je.putStream)}]);var He=function(We){var nt,xt,It=We.text||"",ir=We.x,Me=We.y,ke=We.options||{},re=We.mutex||{},be=re.pdfEscape,Ne=re.activeFontKey,Ke=re.fonts,Qe=(re.activeFontSize,""),ct=0,Lt="",rr=Ke[xt=Ne].encoding;if(Ke[xt].encoding!=="Identity-H")return{text:It,x:ir,y:Me,options:ke,mutex:re};for(Lt=It,xt=Ne,Object.prototype.toString.call(It)==="[object Array]"&&(Lt=It[0]),ct=0;ct<Lt.length;ct+=1)Ke[xt].metadata.hasOwnProperty("cmap")&&(nt=Ke[xt].metadata.cmap.unicode.codeMap[Lt[ct].charCodeAt(0)]),nt||Lt[ct].charCodeAt(0)<256&&Ke[xt].metadata.hasOwnProperty("Unicode")?Qe+=Lt[ct]:Qe+="";var dr="";return parseInt(xt.slice(1))<14||rr==="WinAnsiEncoding"?dr=function(Pt){for(var jt="",Ct=0;Ct<Pt.length;Ct++)jt+=""+Pt.charCodeAt(Ct).toString(16);return jt}(be(Qe,xt)):rr==="Identity-H"&&(dr=fe(Qe,Ke[xt])),re.isHex=!0,{text:dr,x:ir,y:Me,options:ke,mutex:re}};oe.events.push(["postProcessText",function(je){var We=je.text||"",nt=je.x,xt=je.y,It=je.options,ir=je.mutex,Me=(It.lang,[]),ke={text:We,x:nt,y:xt,options:It,mutex:ir};if(Object.prototype.toString.call(We)==="[object Array]"){var re=0;for(re=0;re<We.length;re+=1)Object.prototype.toString.call(We[re])==="[object Array]"&&We[re].length===3?Me.push([He(Object.assign({},ke,{text:We[re][0]})).text,We[re][1],We[re][2]]):Me.push(He(Object.assign({},ke,{text:We[re]})).text);je.text=Me}else je.text=He(Object.assign({},ke,{text:We})).text}])}(ut,typeof self!="undefined"&&self||typeof y!="undefined"&&y||typeof window!="undefined"&&window||Function("return this")()),Ie=ut.API,Ge=function(le){return le!==void 0&&(le.vFS===void 0&&(le.vFS={}),!0)},Ie.existsFileInVFS=function(ce){return!!Ge(this.internal)&&this.internal.vFS[ce]!==void 0},Ie.addFileToVFS=function(ce,le){return Ge(this.internal),this.internal.vFS[ce]=le,this},Ie.getFileFromVFS=function(ce){return Ge(this.internal),this.internal.vFS[ce]!==void 0?this.internal.vFS[ce]:null},ut.API.addHTML=function(ce,le,oe,fe,De){if(typeof html2canvas=="undefined"&&typeof rasterizeHTML=="undefined")throw new Error("You need either https://github.com/niklasvh/html2canvas or https://github.com/cburgmer/rasterizeHTML.js");typeof le!="number"&&(fe=le,De=oe),typeof fe=="function"&&(De=fe,fe=null),typeof De!="function"&&(De=function(){});var He=this.internal,je=He.scaleFactor,We=He.pageSize.getWidth(),nt=He.pageSize.getHeight();if((fe=fe||{}).onrendered=function(It){le=parseInt(le)||0,oe=parseInt(oe)||0;var ir=fe.dim||{},Me=Object.assign({top:0,right:0,bottom:0,left:0,useFor:"content"},fe.margin),ke=ir.h||Math.min(nt,It.height/je),re=ir.w||Math.min(We,It.width/je)-le,be=fe.format||"JPEG",Ne=fe.imageCompression||"SLOW";if(It.height>nt-Me.top-Me.bottom&&fe.pagesplit){var Ke=function(Pt,jt,Ct,Rt,pt){var ot=document.createElement("canvas");ot.height=pt,ot.width=Rt;var gt=ot.getContext("2d");return gt.mozImageSmoothingEnabled=!1,gt.webkitImageSmoothingEnabled=!1,gt.msImageSmoothingEnabled=!1,gt.imageSmoothingEnabled=!1,gt.fillStyle=fe.backgroundColor||"#ffffff",gt.fillRect(0,0,Rt,pt),gt.drawImage(Pt,jt,Ct,Rt,pt,0,0,Rt,pt),ot},Qe=function(){for(var dr,Pt,jt=0,Ct=0,Rt={},pt=!1;;){var ot;if(Ct=0,Rt.top=jt!==0?Me.top:oe,Rt.left=jt!==0?Me.left:le,pt=(We-Me.left-Me.right)*je<It.width,Me.useFor==="content"?jt===0?(dr=Math.min((We-Me.left)*je,It.width),Pt=Math.min((nt-Me.top)*je,It.height-jt)):(dr=Math.min(We*je,It.width),Pt=Math.min(nt*je,It.height-jt),Rt.top=0):(dr=Math.min((We-Me.left-Me.right)*je,It.width),Pt=Math.min((nt-Me.bottom-Me.top)*je,It.height-jt)),pt)for(;;){Me.useFor==="content"&&(Ct===0?dr=Math.min((We-Me.left)*je,It.width):(dr=Math.min(We*je,It.width-Ct),Rt.left=0));var gt=[ot=Ke(It,Ct,jt,dr,Pt),Rt.left,Rt.top,ot.width/je,ot.height/je,be,null,Ne];if(this.addImage.apply(this,gt),(Ct+=dr)>=It.width)break;this.addPage()}else gt=[ot=Ke(It,0,jt,dr,Pt),Rt.left,Rt.top,ot.width/je,ot.height/je,be,null,Ne],this.addImage.apply(this,gt);if((jt+=Pt)>=It.height)break;this.addPage()}De(re,jt,null,gt)}.bind(this);if(It.nodeName==="CANVAS"){var ct=new Image;ct.onload=Qe,ct.src=It.toDataURL("image/png"),It=ct}else Qe()}else{var Lt=Math.random().toString(35),rr=[It,le,oe,re,ke,be,Lt,Ne];this.addImage.apply(this,rr),De(re,ke,Lt,rr)}}.bind(this),typeof html2canvas!="undefined"&&!fe.rstz)return html2canvas(ce,fe);if(typeof rasterizeHTML=="undefined")return null;var xt="drawDocument";return typeof ce=="string"&&(xt=/^http/.test(ce)?"drawURL":"drawHTML"),fe.width=fe.width||We*je,rasterizeHTML[xt](ce,void 0,fe).then(function(It){fe.onrendered(It.image)},function(It){De(null,It)})},function(ce){var le,oe,fe,De,He,je,We,nt,xt,It,ir,Me,ke,re,be,Ne,Ke,Qe,ct,Lt;le=function(){return function(jt){return Pt.prototype=jt,new Pt};function Pt(){}}(),It=function(jt){var Ct,Rt,pt,ot,gt,Ye,$e;for(Rt=0,pt=jt.length,Ct=void 0,Ye=ot=!1;!ot&&Rt!==pt;)(Ct=jt[Rt]=jt[Rt].trimLeft())&&(ot=!0),Rt++;for(Rt=pt-1;pt&&!Ye&&Rt!==-1;)(Ct=jt[Rt]=jt[Rt].trimRight())&&(Ye=!0),Rt--;for(gt=/\s+$/g,$e=!0,Rt=0;Rt!==pt;)jt[Rt]!="\u2028"&&(Ct=jt[Rt].replace(/\s+/g," "),$e&&(Ct=Ct.trimLeft()),Ct&&($e=gt.test(Ct)),jt[Rt]=Ct),Rt++;return jt},Me=function(jt){var Ct,Rt,pt;for(Ct=void 0,Rt=(pt=jt.split(",")).shift();!Ct&&Rt;)Ct=fe[Rt.trim().toLowerCase()],Rt=pt.shift();return Ct},ke=function(jt){var Ct;return-1<(jt=jt==="auto"?"0px":jt).indexOf("em")&&!isNaN(Number(jt.replace("em","")))&&(jt=18.719*Number(jt.replace("em",""))+"px"),-1<jt.indexOf("pt")&&!isNaN(Number(jt.replace("pt","")))&&(jt=1.333*Number(jt.replace("pt",""))+"px"),(Ct=re[jt])?Ct:(Ct={"xx-small":9,"x-small":11,small:13,medium:16,large:19,"x-large":23,"xx-large":28,auto:0}[jt])!==void 0||(Ct=parseFloat(jt))?re[jt]=Ct/16:(Ct=jt.match(/([\d\.]+)(px)/),Array.isArray(Ct)&&Ct.length===3?re[jt]=parseFloat(Ct[1])/16:re[jt]=1)},xt=function(jt){var Ct,Rt,pt,ot,gt;return gt=jt,ot=document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(gt,null):gt.currentStyle?gt.currentStyle:gt.style,Rt=void 0,(Ct={})["font-family"]=Me((pt=function($e){return $e=$e.replace(/-\D/g,function(Je){return Je.charAt(1).toUpperCase()}),ot[$e]})("font-family"))||"times",Ct["font-style"]=De[pt("font-style")]||"normal",Ct["text-align"]=He[pt("text-align")]||"left",(Rt=je[pt("font-weight")]||"normal")==="bold"&&(Ct["font-style"]==="normal"?Ct["font-style"]=Rt:Ct["font-style"]=Rt+Ct["font-style"]),Ct["font-size"]=ke(pt("font-size"))||1,Ct["line-height"]=ke(pt("line-height"))||1,Ct.display=pt("display")==="inline"?"inline":"block",Rt=Ct.display==="block",Ct["margin-top"]=Rt&&ke(pt("margin-top"))||0,Ct["margin-bottom"]=Rt&&ke(pt("margin-bottom"))||0,Ct["padding-top"]=Rt&&ke(pt("padding-top"))||0,Ct["padding-bottom"]=Rt&&ke(pt("padding-bottom"))||0,Ct["margin-left"]=Rt&&ke(pt("margin-left"))||0,Ct["margin-right"]=Rt&&ke(pt("margin-right"))||0,Ct["padding-left"]=Rt&&ke(pt("padding-left"))||0,Ct["padding-right"]=Rt&&ke(pt("padding-right"))||0,Ct["page-break-before"]=pt("page-break-before")||"auto",Ct.float=We[pt("cssFloat")]||"none",Ct.clear=nt[pt("clear")]||"none",Ct.color=pt("color"),Ct},be=function(jt,Ct,Rt){var pt,ot,gt,Ye,$e;if(gt=!1,Ye=ot=void 0,pt=Rt["#"+jt.id])if(typeof pt=="function")gt=pt(jt,Ct);else for(ot=0,Ye=pt.length;!gt&&ot!==Ye;)gt=pt[ot](jt,Ct),ot++;if(pt=Rt[jt.nodeName],!gt&&pt)if(typeof pt=="function")gt=pt(jt,Ct);else for(ot=0,Ye=pt.length;!gt&&ot!==Ye;)gt=pt[ot](jt,Ct),ot++;for($e=typeof jt.className=="string"?jt.className.split(" "):[],ot=0;ot<$e.length;ot++)if(pt=Rt["."+$e[ot]],!gt&&pt)if(typeof pt=="function")gt=pt(jt,Ct);else for(ot=0,Ye=pt.length;!gt&&ot!==Ye;)gt=pt[ot](jt,Ct),ot++;return gt},Lt=function(jt,Ct){var Rt,pt,ot,gt,Ye,$e,Je,it,ft;for(Rt=[],pt=[],ot=0,ft=jt.rows[0].cells.length,Je=jt.clientWidth;ot<ft;)it=jt.rows[0].cells[ot],pt[ot]={name:it.textContent.toLowerCase().replace(/\s+/g,""),prompt:it.textContent.replace(/\r?\n/g,""),width:it.clientWidth/Je*Ct.pdf.internal.pageSize.getWidth()},ot++;for(ot=1;ot<jt.rows.length;){for($e=jt.rows[ot],Ye={},gt=0;gt<$e.cells.length;)Ye[pt[gt].name]=$e.cells[gt].textContent.replace(/\r?\n/g,""),gt++;Rt.push(Ye),ot++}return{rows:Rt,headers:pt}};var rr={SCRIPT:1,STYLE:1,NOSCRIPT:1,OBJECT:1,EMBED:1,SELECT:1},dr=1;oe=function(jt,Ct,Rt){var pt,ot,gt,Ye,$e,Je,it,ft;for(ot=jt.childNodes,pt=void 0,($e=(gt=xt(jt)).display==="block")&&(Ct.setBlockBoundary(),Ct.setBlockStyle(gt)),Ye=0,Je=ot.length;Ye<Je;){if(p(pt=ot[Ye])==="object"){if(Ct.executeWatchFunctions(pt),pt.nodeType===1&&pt.nodeName==="HEADER"){var ht=pt,st=Ct.pdf.margins_doc.top;Ct.pdf.internal.events.subscribe("addPage",function(hr){Ct.y=st,oe(ht,Ct,Rt),Ct.pdf.margins_doc.top=Ct.y+10,Ct.y+=10},!1)}if(pt.nodeType===8&&pt.nodeName==="#comment")~pt.textContent.indexOf("ADD_PAGE")&&(Ct.pdf.addPage(),Ct.y=Ct.pdf.margins_doc.top);else if(pt.nodeType!==1||rr[pt.nodeName])if(pt.nodeType===3){var kt=pt.nodeValue;if(pt.nodeValue&&pt.parentNode.nodeName==="LI")if(pt.parentNode.parentNode.nodeName==="OL")kt=dr+++". "+kt;else{var Tt=gt["font-size"],ar=(3-.75*Tt)*Ct.pdf.internal.scaleFactor,Qt=.75*Tt*Ct.pdf.internal.scaleFactor,Er=1.74*Tt/Ct.pdf.internal.scaleFactor;ft=function(Ar,kr){this.pdf.circle(Ar+ar,kr+Qt,Er,"FD")}}16&pt.ownerDocument.body.compareDocumentPosition(pt)&&Ct.addText(kt,gt)}else typeof pt=="string"&&Ct.addText(pt,gt);else{var Ir;if(pt.nodeName==="IMG"){var jr=pt.getAttribute("src");Ir=Ne[Ct.pdf.sHashCode(jr)||jr]}if(Ir){Ct.pdf.internal.pageSize.getHeight()-Ct.pdf.margins_doc.bottom<Ct.y+pt.height&&Ct.y>Ct.pdf.margins_doc.top&&(Ct.pdf.addPage(),Ct.y=Ct.pdf.margins_doc.top,Ct.executeWatchFunctions(pt));var zr=xt(pt),hn=Ct.x,gn=12/Ct.pdf.internal.scaleFactor,Br=(zr["margin-left"]+zr["padding-left"])*gn,ln=(zr["margin-right"]+zr["padding-right"])*gn,Xr=(zr["margin-top"]+zr["padding-top"])*gn,cr=(zr["margin-bottom"]+zr["padding-bottom"])*gn;zr.float!==void 0&&zr.float==="right"?hn+=Ct.settings.width-pt.width-ln:hn+=Br,Ct.pdf.addImage(Ir,hn,Ct.y+Xr,pt.width,pt.height),Ir=void 0,zr.float==="right"||zr.float==="left"?(Ct.watchFunctions.push(function(hr,Ar,kr,nn){return Ct.y>=Ar?(Ct.x+=hr,Ct.settings.width+=kr,!0):!!(nn&&nn.nodeType===1&&!rr[nn.nodeName]&&Ct.x+nn.width>Ct.pdf.margins_doc.left+Ct.pdf.margins_doc.width)&&(Ct.x+=hr,Ct.y=Ar,Ct.settings.width+=kr,!0)}.bind(this,zr.float==="left"?-pt.width-Br-ln:0,Ct.y+pt.height+Xr+cr,pt.width)),Ct.watchFunctions.push(function(hr,Ar,kr){return!(Ct.y<hr&&Ar===Ct.pdf.internal.getNumberOfPages())||kr.nodeType===1&&xt(kr).clear==="both"&&(Ct.y=hr,!0)}.bind(this,Ct.y+pt.height,Ct.pdf.internal.getNumberOfPages())),Ct.settings.width-=pt.width+Br+ln,zr.float==="left"&&(Ct.x+=pt.width+Br+ln)):Ct.y+=pt.height+Xr+cr}else if(pt.nodeName==="TABLE")it=Lt(pt,Ct),Ct.y+=10,Ct.pdf.table(Ct.x,Ct.y,it.rows,it.headers,{autoSize:!1,printHeaders:Rt.printHeaders,margins:Ct.pdf.margins_doc,css:xt(pt)}),Ct.y=Ct.pdf.lastCellPos.y+Ct.pdf.lastCellPos.h+20;else if(pt.nodeName==="OL"||pt.nodeName==="UL")dr=1,be(pt,Ct,Rt)||oe(pt,Ct,Rt),Ct.y+=10;else if(pt.nodeName==="LI"){var wr=Ct.x;Ct.x+=20/Ct.pdf.internal.scaleFactor,Ct.y+=3,be(pt,Ct,Rt)||oe(pt,Ct,Rt),Ct.x=wr}else pt.nodeName==="BR"?(Ct.y+=gt["font-size"]*Ct.pdf.internal.scaleFactor,Ct.addText("\u2028",le(gt))):be(pt,Ct,Rt)||oe(pt,Ct,Rt)}}Ye++}if(Rt.outY=Ct.y,$e)return Ct.setBlockBoundary(ft)},Ne={},Ke=function(jt,Ct,Rt,pt){var ot,gt=jt.getElementsByTagName("img"),Ye=gt.length,$e=0;function Je(){Ct.pdf.internal.events.publish("imagesLoaded"),pt(ot)}function it(ft,ht,st){if(ft){var kt=new Image;ot=++$e,kt.crossOrigin="",kt.onerror=kt.onload=function(){if(kt.complete&&(kt.src.indexOf("data:image/")===0&&(kt.width=ht||kt.width||0,kt.height=st||kt.height||0),kt.width+kt.height)){var Tt=Ct.pdf.sHashCode(ft)||ft;Ne[Tt]=Ne[Tt]||kt}--$e||Je()},kt.src=ft}}for(;Ye--;)it(gt[Ye].getAttribute("src"),gt[Ye].width,gt[Ye].height);return $e||Je()},Qe=function(jt,Ct,Rt){var pt=jt.getElementsByTagName("footer");if(0<pt.length){pt=pt[0];var ot=Ct.pdf.internal.write,gt=Ct.y;Ct.pdf.internal.write=function(){},oe(pt,Ct,Rt);var Ye=Math.ceil(Ct.y-gt)+5;Ct.y=gt,Ct.pdf.internal.write=ot,Ct.pdf.margins_doc.bottom+=Ye;for(var $e=function(ht){var st=ht!==void 0?ht.pageNumber:1,kt=Ct.y;Ct.y=Ct.pdf.internal.pageSize.getHeight()-Ct.pdf.margins_doc.bottom,Ct.pdf.margins_doc.bottom-=Ye;for(var Tt=pt.getElementsByTagName("span"),ar=0;ar<Tt.length;++ar)-1<(" "+Tt[ar].className+" ").replace(/[\n\t]/g," ").indexOf(" pageCounter ")&&(Tt[ar].innerHTML=st),-1<(" "+Tt[ar].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")&&(Tt[ar].innerHTML="###jsPDFVarTotalPages###");oe(pt,Ct,Rt),Ct.pdf.margins_doc.bottom+=Ye,Ct.y=kt},Je=pt.getElementsByTagName("span"),it=0;it<Je.length;++it)-1<(" "+Je[it].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")&&Ct.pdf.internal.events.subscribe("htmlRenderingFinished",Ct.pdf.putTotalPages.bind(Ct.pdf,"###jsPDFVarTotalPages###"),!0);Ct.pdf.internal.events.subscribe("addPage",$e,!1),$e(),rr.FOOTER=1}},ct=function(jt,Ct,Rt,pt,ot,gt){if(!Ct)return!1;var Ye,$e,Je,it;typeof Ct=="string"||Ct.parentNode||(Ct=""+Ct.innerHTML),typeof Ct=="string"&&(Ye=Ct.replace(/<\/?script[^>]*?>/gi,""),it="jsPDFhtmlText"+Date.now().toString()+(1e3*Math.random()).toFixed(0),(Je=document.createElement("div")).style.cssText="position: absolute !important;clip: rect(1px 1px 1px 1px); /* IE6, IE7 */clip: rect(1px, 1px, 1px, 1px);padding:0 !important;border:0 !important;height: 1px !important;width: 1px !important; top:auto;left:-100px;overflow: hidden;",Je.innerHTML='<iframe style="height:1px;width:1px" name="'+it+'" />',document.body.appendChild(Je),($e=window.frames[it]).document.open(),$e.document.writeln(Ye),$e.document.close(),Ct=$e.document.body);var ft,ht=new ir(jt,Rt,pt,ot);return Ke.call(this,Ct,ht,ot.elementHandlers,function(st){Qe(Ct,ht,ot.elementHandlers),oe(Ct,ht,ot.elementHandlers),ht.pdf.internal.events.publish("htmlRenderingFinished"),ft=ht.dispose(),typeof gt=="function"?gt(ft):st&&console.error("jsPDF Warning: rendering issues? provide a callback to fromHTML!")}),ft||{x:ht.x,y:ht.y}},(ir=function(jt,Ct,Rt,pt){return this.pdf=jt,this.x=Ct,this.y=Rt,this.settings=pt,this.watchFunctions=[],this.init(),this}).prototype.init=function(){return this.paragraph={text:[],style:[]},this.pdf.internal.write("q")},ir.prototype.dispose=function(){return this.pdf.internal.write("Q"),{x:this.x,y:this.y,ready:!0}},ir.prototype.executeWatchFunctions=function(Pt){var jt=!1,Ct=[];if(0<this.watchFunctions.length){for(var Rt=0;Rt<this.watchFunctions.length;++Rt)this.watchFunctions[Rt](Pt)===!0?jt=!0:Ct.push(this.watchFunctions[Rt]);this.watchFunctions=Ct}return jt},ir.prototype.splitFragmentsIntoLines=function(Pt,jt){var Ct,Rt,pt,ot,gt,Ye,$e,Je,it,ft,ht,st,kt,Tt;for(ft=this.pdf.internal.scaleFactor,ot={},Ye=$e=Je=Tt=gt=pt=it=Rt=void 0,st=[ht=[]],Ct=0,kt=this.settings.width;Pt.length;)if(gt=Pt.shift(),Tt=jt.shift(),gt)if((pt=ot[(Rt=Tt["font-family"])+(it=Tt["font-style"])])||(pt=this.pdf.internal.getFont(Rt,it).metadata.Unicode,ot[Rt+it]=pt),Je={widths:pt.widths,kerning:pt.kerning,fontSize:12*Tt["font-size"],textIndent:Ct},$e=this.pdf.getStringUnitWidth(gt,Je)*Je.fontSize/ft,gt=="\u2028")ht=[],st.push(ht);else if(kt<Ct+$e){for(Ye=this.pdf.splitTextToSize(gt,kt,Je),ht.push([Ye.shift(),Tt]);Ye.length;)ht=[[Ye.shift(),Tt]],st.push(ht);Ct=this.pdf.getStringUnitWidth(ht[0][0],Je)*Je.fontSize/ft}else ht.push([gt,Tt]),Ct+=$e;if(Tt["text-align"]!==void 0&&(Tt["text-align"]==="center"||Tt["text-align"]==="right"||Tt["text-align"]==="justify"))for(var ar=0;ar<st.length;++ar){var Qt=this.pdf.getStringUnitWidth(st[ar][0][0],Je)*Je.fontSize/ft;0<ar&&(st[ar][0][1]=le(st[ar][0][1]));var Er=kt-Qt;if(Tt["text-align"]==="right")st[ar][0][1]["margin-left"]=Er;else if(Tt["text-align"]==="center")st[ar][0][1]["margin-left"]=Er/2;else if(Tt["text-align"]==="justify"){var Ir=st[ar][0][0].split(" ").length-1;st[ar][0][1]["word-spacing"]=Er/Ir,ar===st.length-1&&(st[ar][0][1]["word-spacing"]=0)}}return st},ir.prototype.RenderTextFragment=function(Pt,jt){var Ct,Rt;Rt=0,this.pdf.internal.pageSize.getHeight()-this.pdf.margins_doc.bottom<this.y+this.pdf.internal.getFontSize()&&(this.pdf.internal.write("ET","Q"),this.pdf.addPage(),this.y=this.pdf.margins_doc.top,this.pdf.internal.write("q","BT",this.getPdfColor(jt.color),this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td"),Rt=Math.max(Rt,jt["line-height"],jt["font-size"]),this.pdf.internal.write(0,(-12*Rt).toFixed(2),"Td")),Ct=this.pdf.internal.getFont(jt["font-family"],jt["font-style"]);var pt=this.getPdfColor(jt.color);pt!==this.lastTextColor&&(this.pdf.internal.write(pt),this.lastTextColor=pt),jt["word-spacing"]!==void 0&&0<jt["word-spacing"]&&this.pdf.internal.write(jt["word-spacing"].toFixed(2),"Tw"),this.pdf.internal.write("/"+Ct.id,(12*jt["font-size"]).toFixed(2),"Tf","("+this.pdf.internal.pdfEscape(Pt)+") Tj"),jt["word-spacing"]!==void 0&&this.pdf.internal.write(0,"Tw")},ir.prototype.getPdfColor=function(Pt){var jt,Ct,Rt,pt=/rgb\s*\(\s*(\d+),\s*(\d+),\s*(\d+\s*)\)/.exec(Pt);if(pt!=null)jt=parseInt(pt[1]),Ct=parseInt(pt[2]),Rt=parseInt(pt[3]);else{if(typeof Pt=="string"&&Pt.charAt(0)!="#"){var ot=new RGBColor(Pt);Pt=ot.ok?ot.toHex():"#000000"}jt=Pt.substring(1,3),jt=parseInt(jt,16),Ct=Pt.substring(3,5),Ct=parseInt(Ct,16),Rt=Pt.substring(5,7),Rt=parseInt(Rt,16)}if(typeof jt=="string"&&/^#[0-9A-Fa-f]{6}$/.test(jt)){var gt=parseInt(jt.substr(1),16);jt=gt>>16&255,Ct=gt>>8&255,Rt=255>}var Ye=this.f3;return jt===0&&Ct===0&&Rt===0||Ct===void 0?Ye(jt/255)+" g":[Ye(jt/255),Ye(Ct/255),Ye(Rt/255),"rg"].join(" ")},ir.prototype.f3=function(Pt){return Pt.toFixed(3)},ir.prototype.renderParagraph=function(Pt){var jt,Ct,Rt,pt,ot,gt,Ye,$e,Je,it,ft,ht,st;if(Rt=It(this.paragraph.text),ht=this.paragraph.style,jt=this.paragraph.blockstyle,this.paragraph.priorblockstyle,this.paragraph={text:[],style:[],blockstyle:{},priorblockstyle:jt},Rt.join("").trim()){Ye=this.splitFragmentsIntoLines(Rt,ht),$e=gt=void 0,Ct=12/this.pdf.internal.scaleFactor,this.priorMarginBottom=this.priorMarginBottom||0,ft=(Math.max((jt["margin-top"]||0)-this.priorMarginBottom,0)+(jt["padding-top"]||0))*Ct,it=((jt["margin-bottom"]||0)+(jt["padding-bottom"]||0))*Ct,this.priorMarginBottom=jt["margin-bottom"]||0,jt["page-break-before"]==="always"&&(this.pdf.addPage(),this.y=0,ft=((jt["margin-top"]||0)+(jt["padding-top"]||0))*Ct),Je=this.pdf.internal.write,ot=pt=void 0,this.y+=ft,Je("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td");for(var kt=0;Ye.length;){for(pt=$e=0,ot=(gt=Ye.shift()).length;pt!==ot;)gt[pt][0].trim()&&($e=Math.max($e,gt[pt][1]["line-height"],gt[pt][1]["font-size"]),st=7*gt[pt][1]["font-size"]),pt++;var Tt=0,ar=0;for(gt[0][1]["margin-left"]!==void 0&&0<gt[0][1]["margin-left"]&&(Tt=(ar=this.pdf.internal.getCoordinateString(gt[0][1]["margin-left"]))-kt,kt=ar),Je(Tt+Math.max(jt["margin-left"]||0,0)*Ct,(-12*$e).toFixed(2),"Td"),pt=0,ot=gt.length;pt!==ot;)gt[pt][0]&&this.RenderTextFragment(gt[pt][0],gt[pt][1]),pt++;if(this.y+=$e*Ct,this.executeWatchFunctions(gt[0][1])&&0<Ye.length){var Qt=[],Er=[];Ye.forEach(function(Ir){for(var jr=0,zr=Ir.length;jr!==zr;)Ir[jr][0]&&(Qt.push(Ir[jr][0]+" "),Er.push(Ir[jr][1])),++jr}),Ye=this.splitFragmentsIntoLines(It(Qt),Er),Je("ET","Q"),Je("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td")}}return Pt&&typeof Pt=="function"&&Pt.call(this,this.x-9,this.y-st/2),Je("ET","Q"),this.y+=it}},ir.prototype.setBlockBoundary=function(Pt){return this.renderParagraph(Pt)},ir.prototype.setBlockStyle=function(Pt){return this.paragraph.blockstyle=Pt},ir.prototype.addText=function(Pt,jt){return this.paragraph.text.push(Pt),this.paragraph.style.push(jt)},fe={helvetica:"helvetica","sans-serif":"helvetica","times new roman":"times",serif:"times",times:"times",monospace:"courier",courier:"courier"},je={100:"normal",200:"normal",300:"normal",400:"normal",500:"bold",600:"bold",700:"bold",800:"bold",900:"bold",normal:"normal",bold:"bold",bolder:"bold",lighter:"normal"},De={normal:"normal",italic:"italic",oblique:"italic"},He={left:"left",right:"right",center:"center",justify:"justify"},We={none:"none",right:"right",left:"left"},nt={none:"none",both:"both"},re={normal:1},ce.fromHTML=function(Pt,jt,Ct,Rt,pt,ot){return this.margins_doc=ot||{top:0,bottom:0},Rt||(Rt={}),Rt.elementHandlers||(Rt.elementHandlers={}),ct(this,Pt,isNaN(jt)?4:jt,isNaN(Ct)?4:Ct,Rt,pt)}}(ut.API),ut.API,(typeof window!="undefined"&&window||typeof y!="undefined"&&y).html2pdf=function(ce,le,oe){var fe=le.canvas;if(fe){var De,He;if((fe.pdf=le).annotations={_nameMap:[],createAnnotation:function(ir,Me){var ke,re=le.context2d._wrapX(Me.left),be=le.context2d._wrapY(Me.top),Ne=(le.context2d._page(Me.top),ir.indexOf("#"));ke=0<=Ne?{name:ir.substring(Ne+1)}:{url:ir},le.link(re,be,Me.right-Me.left,Me.bottom-Me.top,ke)},setName:function(ir,Me){var ke=le.context2d._wrapX(Me.left),re=le.context2d._wrapY(Me.top),be=le.context2d._page(Me.top);this._nameMap[ir]={page:be,x:ke,y:re}}},fe.annotations=le.annotations,le.context2d._pageBreakAt=function(It){this.pageBreaks.push(It)},le.context2d._gotoPage=function(It){for(;le.internal.getNumberOfPages()<It;)le.addPage();le.setPage(It)},typeof ce=="string"){ce=ce.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"");var je,We,nt=document.createElement("iframe");document.body.appendChild(nt),(je=nt.contentDocument)!=null&&je!=null||(je=nt.contentWindow.document),je.open(),je.write(ce),je.close(),De=je.body,We=je.body||{},ce=je.documentElement||{},He=Math.max(We.scrollHeight,We.offsetHeight,ce.clientHeight,ce.scrollHeight,ce.offsetHeight)}else We=(De=ce).body||{},He=Math.max(We.scrollHeight,We.offsetHeight,ce.clientHeight,ce.scrollHeight,ce.offsetHeight);var xt={async:!0,allowTaint:!0,backgroundColor:"#ffffff",canvas:fe,imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1,windowHeight:He=le.internal.pageSize.getHeight(),scrollY:He};le.context2d.pageWrapYEnabled=!0,le.context2d.pageWrapY=le.internal.pageSize.getHeight(),html2canvas(De,xt).then(function(It){oe&&(nt&&nt.parentElement.removeChild(nt),oe(le))})}else alert("jsPDF canvas plugin not installed")},window.tmp=html2pdf,function(ce){var le=ce.BlobBuilder||ce.WebKitBlobBuilder||ce.MSBlobBuilder||ce.MozBlobBuilder;ce.URL=ce.URL||ce.webkitURL||function(re,be){return(be=document.createElement("a")).href=re,be};var oe=ce.Blob,fe=URL.createObjectURL,De=URL.revokeObjectURL,He=ce.Symbol&&ce.Symbol.toStringTag,je=!1,We=!1,nt=!!ce.ArrayBuffer,xt=le&&le.prototype.append&&le.prototype.getBlob;try{je=new Blob(["\xE4"]).size===2,We=new Blob([new Uint8Array([1,2])]).size===2}catch(re){}function It(re){return re.map(function(be){if(be.buffer instanceof ArrayBuffer){var Ne=be.buffer;if(be.byteLength!==Ne.byteLength){var Ke=new Uint8Array(be.byteLength);Ke.set(new Uint8Array(Ne,be.byteOffset,be.byteLength)),Ne=Ke.buffer}return Ne}return be})}function ir(re,be){be=be||{};var Ne=new le;return It(re).forEach(function(Ke){Ne.append(Ke)}),be.type?Ne.getBlob(be.type):Ne.getBlob()}function Me(re,be){return new oe(It(re),be||{})}if(ce.Blob&&(ir.prototype=Blob.prototype,Me.prototype=Blob.prototype),He)try{File.prototype[He]="File",Blob.prototype[He]="Blob",FileReader.prototype[He]="FileReader"}catch(re){}function ke(){var re=!!ce.ActiveXObject||"-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style,be=ce.XMLHttpRequest&&ce.XMLHttpRequest.prototype.send;re&&be&&(XMLHttpRequest.prototype.send=function(Ke){Ke instanceof Blob&&this.setRequestHeader("Content-Type",Ke.type),be.call(this,Ke)});try{new File([],"")}catch(Ke){try{var Ne=new Function('class File extends Blob {constructor(chunks, name, opts) {opts = opts || {};super(chunks, opts || {});this.name = name;this.lastModifiedDate = opts.lastModified ? new Date(opts.lastModified) : new Date;this.lastModified = +this.lastModifiedDate;}};return new File([], ""), File')();ce.File=Ne}catch(Qe){Ne=function(Lt,rr,dr){var Pt=new Blob(Lt,dr),jt=dr&&dr.lastModified!==void 0?new Date(dr.lastModified):new Date;return Pt.name=rr,Pt.lastModifiedDate=jt,Pt.lastModified=+jt,Pt.toString=function(){return"[object File]"},He&&(Pt[He]="File"),Pt},ce.File=Ne}}}je?(ke(),ce.Blob=We?ce.Blob:Me):xt?(ke(),ce.Blob=ir):function(){function re(Rt){for(var pt=[],ot=0;ot<Rt.length;ot++){var gt=Rt.charCodeAt(ot);gt<128?pt.push(gt):gt<2048?pt.push(192|gt>>6,128|63>):gt<55296||57344<=gt?pt.push(224|gt>>12,128|gt>>6&63,128|63>):(ot++,gt=65536+((1023>)<<10|1023&Rt.charCodeAt(ot)),pt.push(240|gt>>18,128|gt>>12&63,128|gt>>6&63,128|63>))}return pt}function be(Rt){var pt,ot,gt,Ye,$e,Je;for(pt="",gt=Rt.length,ot=0;ot<gt;)switch((Ye=Rt[ot++])>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:pt+=String.fromCharCode(Ye);break;case 12:case 13:$e=Rt[ot++],pt+=String.fromCharCode((31&Ye)<<6|63&$e);break;case 14:$e=Rt[ot++],Je=Rt[ot++],pt+=String.fromCharCode((15&Ye)<<12|(63&$e)<<6|(63&Je)<<0)}return pt}function Ne(Rt){for(var pt=new Array(Rt.byteLength),ot=new Uint8Array(Rt),gt=pt.length;gt--;)pt[gt]=ot[gt];return pt}function Ke(Rt){for(var pt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",ot=[],gt=0;gt<Rt.length;gt+=3){var Ye=Rt[gt],$e=gt+1<Rt.length,Je=$e?Rt[gt+1]:0,it=gt+2<Rt.length,ft=it?Rt[gt+2]:0,ht=Ye>>2,st=(3&Ye)<<4|Je>>4,kt=(15&Je)<<2|ft>>6,Tt=63&ft;it||(Tt=64,$e||(kt=64)),ot.push(pt[ht],pt[st],pt[kt],pt[Tt])}return ot.join("")}var Qe=Object.create||function(Rt){function pt(){}return pt.prototype=Rt,new pt};if(nt)var ct=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Lt=ArrayBuffer.isView||function(Rt){return Rt&&-1<ct.indexOf(Object.prototype.toString.call(Rt))};function rr(Rt,pt){for(var ot=0,gt=(Rt=Rt||[]).length;ot<gt;ot++){var Ye=Rt[ot];Ye instanceof rr?Rt[ot]=Ye._buffer:typeof Ye=="string"?Rt[ot]=re(Ye):nt&&(ArrayBuffer.prototype.isPrototypeOf(Ye)||Lt(Ye))?Rt[ot]=Ne(Ye):nt&&($e=Ye)&&DataView.prototype.isPrototypeOf($e)?Rt[ot]=Ne(Ye.buffer):Rt[ot]=re(String(Ye))}var $e;this._buffer=[].concat.apply([],Rt),this.size=this._buffer.length,this.type=pt&&pt.type||""}function dr(Rt,pt,ot){var gt=rr.call(this,Rt,ot=ot||{})||this;return gt.name=pt,gt.lastModifiedDate=ot.lastModified?new Date(ot.lastModified):new Date,gt.lastModified=+gt.lastModifiedDate,gt}if(rr.prototype.slice=function(Rt,pt,ot){return new rr([this._buffer.slice(Rt||0,pt||this._buffer.length)],{type:ot})},rr.prototype.toString=function(){return"[object Blob]"},(dr.prototype=Qe(rr.prototype)).constructor=dr,Object.setPrototypeOf)Object.setPrototypeOf(dr,rr);else try{dr.__proto__=rr}catch(Rt){}function Pt(){if(!(this instanceof Pt))throw new TypeError("Failed to construct 'FileReader': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");var Rt=document.createDocumentFragment();this.addEventListener=Rt.addEventListener,this.dispatchEvent=function(pt){var ot=this["on"+pt.type];typeof ot=="function"&&ot(pt),Rt.dispatchEvent(pt)},this.removeEventListener=Rt.removeEventListener}function jt(Rt,pt,ot){if(!(pt instanceof rr))throw new TypeError("Failed to execute '"+ot+"' on 'FileReader': parameter 1 is not of type 'Blob'.");Rt.result="",setTimeout(function(){this.readyState=Pt.LOADING,Rt.dispatchEvent(new Event("load")),Rt.dispatchEvent(new Event("loadend"))})}dr.prototype.toString=function(){return"[object File]"},Pt.EMPTY=0,Pt.LOADING=1,Pt.DONE=2,Pt.prototype.error=null,Pt.prototype.onabort=null,Pt.prototype.onerror=null,Pt.prototype.onload=null,Pt.prototype.onloadend=null,Pt.prototype.onloadstart=null,Pt.prototype.onprogress=null,Pt.prototype.readAsDataURL=function(Rt){jt(this,Rt,"readAsDataURL"),this.result="data:"+Rt.type+";base64,"+Ke(Rt._buffer)},Pt.prototype.readAsText=function(Rt){jt(this,Rt,"readAsText"),this.result=be(Rt._buffer)},Pt.prototype.readAsArrayBuffer=function(Rt){jt(this,Rt,"readAsText"),this.result=Rt._buffer.slice()},Pt.prototype.abort=function(){},URL.createObjectURL=function(Rt){return Rt instanceof rr?"data:"+Rt.type+";base64,"+Ke(Rt._buffer):fe.call(URL,Rt)},URL.revokeObjectURL=function(Rt){De&&De.call(URL,Rt)};var Ct=ce.XMLHttpRequest&&ce.XMLHttpRequest.prototype.send;Ct&&(XMLHttpRequest.prototype.send=function(Rt){Rt instanceof rr?(this.setRequestHeader("Content-Type",Rt.type),Ct.call(this,be(Rt._buffer))):Ct.call(this,Rt)}),ce.FileReader=Pt,ce.File=dr,ce.Blob=rr}()}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof y!="undefined"&&y||Function('return typeof this === "object" && this.content')()||Function("return this")());var wt,Pe,Dt,et,_t,Nt,Bt,Ft,Gt,qe,we,ue,vt,at,Ae,Xt=Xt||function(ce){if(!(ce===void 0||typeof navigator!="undefined"&&/MSIE [1-9]\./.test(navigator.userAgent))){var le=ce.document,oe=function(){return ce.URL||ce.webkitURL||ce},fe=le.createElementNS("http://www.w3.org/1999/xhtml","a"),De="download"in fe,He=/constructor/i.test(ce.HTMLElement)||ce.safari,je=/CriOS\/[\d]+/.test(navigator.userAgent),We=ce.setImmediate||ce.setTimeout,nt=function(re){We(function(){throw re},0)},xt=function(re){setTimeout(function(){typeof re=="string"?oe().revokeObjectURL(re):re.remove()},4e4)},It=function(re){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(re.type)?new Blob([String.fromCharCode(65279),re],{type:re.type}):re},ir=function(re,be,Ne){Ne||(re=It(re));var Ke,Qe=this,ct=re.type==="application/octet-stream",Lt=function(){!function(dr,Pt,jt){for(var Ct=(Pt=[].concat(Pt)).length;Ct--;){var Rt=dr["on"+Pt[Ct]];if(typeof Rt=="function")try{Rt.call(dr,jt||dr)}catch(pt){nt(pt)}}}(Qe,"writestart progress write writeend".split(" "))};if(Qe.readyState=Qe.INIT,De)return Ke=oe().createObjectURL(re),void We(function(){var rr,dr;fe.href=Ke,fe.download=be,rr=fe,dr=new MouseEvent("click"),rr.dispatchEvent(dr),Lt(),xt(Ke),Qe.readyState=Qe.DONE},0);!function(){if((je||ct&&He)&&ce.FileReader){var rr=new FileReader;return rr.onloadend=function(){var dr=je?rr.result:rr.result.replace(/^data:[^;]*;/,"data:attachment/file;");ce.open(dr,"_blank")||(ce.location.href=dr),dr=void 0,Qe.readyState=Qe.DONE,Lt()},rr.readAsDataURL(re),Qe.readyState=Qe.INIT}Ke||(Ke=oe().createObjectURL(re)),ct?ce.location.href=Ke:ce.open(Ke,"_blank")||(ce.location.href=Ke),Qe.readyState=Qe.DONE,Lt(),xt(Ke)}()},Me=ir.prototype;return typeof navigator!="undefined"&&navigator.msSaveOrOpenBlob?function(ke,re,be){return re=re||ke.name||"download",be||(ke=It(ke)),navigator.msSaveOrOpenBlob(ke,re)}:(Me.abort=function(){},Me.readyState=Me.INIT=0,Me.WRITING=1,Me.DONE=2,Me.error=Me.onwritestart=Me.onprogress=Me.onwrite=Me.onabort=Me.onerror=Me.onwriteend=null,function(ke,re,be){return new ir(ke,re||ke.name||"download",be)})}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||void 0);function Ot(ce){var le=0;if(ce[le++]!==71||ce[le++]!==73||ce[le++]!==70||ce[le++]!==56||(ce[le++]+1&253)!=56||ce[le++]!==97)throw"Invalid GIF 87a/89a header.";var oe=ce[le++]|ce[le++]<<8,fe=ce[le++]|ce[le++]<<8,De=ce[le++],He=De>>7,je=1<<(7&De)+1;ce[le++],ce[le++];var We=null;He&&(We=le,le+=3*je);var nt=!0,xt=[],It=0,ir=null,Me=0,ke=null;for(this.width=oe,this.height=fe;nt&&le<ce.length;)switch(ce[le++]){case 33:switch(ce[le++]){case 255:if(ce[le]!==11||ce[le+1]==78&&ce[le+2]==69&&ce[le+3]==84&&ce[le+4]==83&&ce[le+5]==67&&ce[le+6]==65&&ce[le+7]==80&&ce[le+8]==69&&ce[le+9]==50&&ce[le+10]==46&&ce[le+11]==48&&ce[le+12]==3&&ce[le+13]==1&&ce[le+16]==0)le+=14,ke=ce[le++]|ce[le++]<<8,le++;else for(le+=12;!((jt=ce[le++])===0);)le+=jt;break;case 249:if(ce[le++]!==4||ce[le+4]!==0)throw"Invalid graphics extension block.";var re=ce[le++];It=ce[le++]|ce[le++]<<8,ir=ce[le++],(1&re)==0&&(ir=null),Me=re>>2&7,le++;break;case 254:for(;!((jt=ce[le++])===0);)le+=jt;break;default:throw"Unknown graphic control label: 0x"+ce[le-1].toString(16)}break;case 44:var be=ce[le++]|ce[le++]<<8,Ne=ce[le++]|ce[le++]<<8,Ke=ce[le++]|ce[le++]<<8,Qe=ce[le++]|ce[le++]<<8,ct=ce[le++],Lt=ct>>6&1,rr=We,dr=!1;ct>>7&&(dr=!0,rr=le,le+=3*(1<<(7&ct)+1));var Pt=le;for(le++;;){var jt;if((jt=ce[le++])===0)break;le+=jt}xt.push({x:be,y:Ne,width:Ke,height:Qe,has_local_palette:dr,palette_offset:rr,data_offset:Pt,data_length:le-Pt,transparent_index:ir,interlaced:!!Lt,delay:It,disposal:Me});break;case 59:nt=!1;break;default:throw"Unknown gif block: 0x"+ce[le-1].toString(16)}this.numFrames=function(){return xt.length},this.loopCount=function(){return ke},this.frameInfo=function(Ct){if(Ct<0||Ct>=xt.length)throw"Frame index out of range.";return xt[Ct]},this.decodeAndBlitFrameBGRA=function(Ct,Rt){var pt=this.frameInfo(Ct),ot=pt.width*pt.height,gt=new Uint8Array(ot);rt(ce,pt.data_offset,gt,ot);var Ye=pt.palette_offset,$e=pt.transparent_index;$e===null&&($e=256);var Je=pt.width,it=oe-Je,ft=Je,ht=4*(pt.y*oe+pt.x),st=4*((pt.y+pt.height)*oe+pt.x),kt=ht,Tt=4*it;pt.interlaced===!0&&(Tt+=4*(Je+it)*7);for(var ar=8,Qt=0,Er=gt.length;Qt<Er;++Qt){var Ir=gt[Qt];if(ft===0&&(ft=Je,st<=(kt+=Tt)&&(Tt=it+4*(Je+it)*(ar-1),kt=ht+(Je+it)*(ar<<1),ar>>=1)),Ir===$e)kt+=4;else{var jr=ce[Ye+3*Ir],zr=ce[Ye+3*Ir+1],hn=ce[Ye+3*Ir+2];Rt[kt++]=hn,Rt[kt++]=zr,Rt[kt++]=jr,Rt[kt++]=255}--ft}},this.decodeAndBlitFrameRGBA=function(Ct,Rt){var pt=this.frameInfo(Ct),ot=pt.width*pt.height,gt=new Uint8Array(ot);rt(ce,pt.data_offset,gt,ot);var Ye=pt.palette_offset,$e=pt.transparent_index;$e===null&&($e=256);var Je=pt.width,it=oe-Je,ft=Je,ht=4*(pt.y*oe+pt.x),st=4*((pt.y+pt.height)*oe+pt.x),kt=ht,Tt=4*it;pt.interlaced===!0&&(Tt+=4*(Je+it)*7);for(var ar=8,Qt=0,Er=gt.length;Qt<Er;++Qt){var Ir=gt[Qt];if(ft===0&&(ft=Je,st<=(kt+=Tt)&&(Tt=it+4*(Je+it)*(ar-1),kt=ht+(Je+it)*(ar<<1),ar>>=1)),Ir===$e)kt+=4;else{var jr=ce[Ye+3*Ir],zr=ce[Ye+3*Ir+1],hn=ce[Ye+3*Ir+2];Rt[kt++]=jr,Rt[kt++]=zr,Rt[kt++]=hn,Rt[kt++]=255}--ft}}}function rt(ce,le,oe,fe){for(var De=ce[le++],He=1<<De,je=He+1,We=je+1,nt=De+1,xt=(1<<nt)-1,It=0,ir=0,Me=0,ke=ce[le++],re=new Int32Array(4096),be=null;;){for(;It<16&&ke!==0;)ir|=ce[le++]<<It,It+=8,ke===1?ke=ce[le++]:--ke;if(It<nt)break;var Ne=ir&xt;if(ir>>=nt,It-=nt,Ne!==He){if(Ne===je)break;for(var Ke=Ne<We?Ne:be,Qe=0,ct=Ke;He<ct;)ct=re[ct]>>8,++Qe;var Lt=ct;if(fe<Me+Qe+(Ke!==Ne?1:0))return void console.log("Warning, gif stream longer than expected.");oe[Me++]=Lt;var rr=Me+=Qe;for(Ke!==Ne&&(oe[Me++]=Lt),ct=Ke;Qe--;)ct=re[ct],oe[--rr]=255&ct,ct>>=8;be!==null&&We<4096&&(re[We++]=be<<8|Lt,xt+1<=We&&nt<12&&(++nt,xt=xt<<1|1)),be=Ne}else We=je+1,xt=(1<<(nt=De+1))-1,be=null}return Me!==fe&&console.log("Warning, gif stream shorter than expected."),oe}try{N.GifWriter=function(ce,le,oe,fe){var De=0,He=(fe=fe===void 0?{}:fe).loop===void 0?null:fe.loop,je=fe.palette===void 0?null:fe.palette;if(le<=0||oe<=0||65535<le||65535<oe)throw"Width/Height invalid.";function We(be){var Ne=be.length;if(Ne<2||256<Ne||Ne&Ne-1)throw"Invalid code/color length, must be power of 2 and 2 .. 256.";return Ne}ce[De++]=71,ce[De++]=73,ce[De++]=70,ce[De++]=56,ce[De++]=57,ce[De++]=97;var nt=0,xt=0;if(je!==null){for(var It=We(je);It>>=1;)++nt;if(It=1<<nt,--nt,fe.background!==void 0){if(It<=(xt=fe.background))throw"Background index out of range.";if(xt===0)throw"Background index explicitly passed as 0."}}if(ce[De++]=255&le,ce[De++]=le>>8&255,ce[De++]=255&oe,ce[De++]=oe>>8&255,ce[De++]=(je!==null?128:0)|nt,ce[De++]=xt,ce[De++]=0,je!==null)for(var ir=0,Me=je.length;ir<Me;++ir){var ke=je[ir];ce[De++]=ke>>16&255,ce[De++]=ke>>8&255,ce[De++]=255&ke}if(He!==null){if(He<0||65535<He)throw"Loop count invalid.";ce[De++]=33,ce[De++]=255,ce[De++]=11,ce[De++]=78,ce[De++]=69,ce[De++]=84,ce[De++]=83,ce[De++]=67,ce[De++]=65,ce[De++]=80,ce[De++]=69,ce[De++]=50,ce[De++]=46,ce[De++]=48,ce[De++]=3,ce[De++]=1,ce[De++]=255&He,ce[De++]=He>>8&255,ce[De++]=0}var re=!1;this.addFrame=function(be,Ne,Ke,Qe,ct,Lt){if(re===!0&&(--De,re=!1),Lt=Lt===void 0?{}:Lt,be<0||Ne<0||65535<be||65535<Ne)throw"x/y invalid.";if(Ke<=0||Qe<=0||65535<Ke||65535<Qe)throw"Width/Height invalid.";if(ct.length<Ke*Qe)throw"Not enough pixels for the frame size.";var rr=!0,dr=Lt.palette;if(dr==null&&(rr=!1,dr=je),dr==null)throw"Must supply either a local or global palette.";for(var Pt=We(dr),jt=0;Pt>>=1;)++jt;Pt=1<<jt;var Ct=Lt.delay===void 0?0:Lt.delay,Rt=Lt.disposal===void 0?0:Lt.disposal;if(Rt<0||3<Rt)throw"Disposal out of range.";var pt=!1,ot=0;if(Lt.transparent!==void 0&&Lt.transparent!==null&&(pt=!0,(ot=Lt.transparent)<0||Pt<=ot))throw"Transparent color index.";if((Rt!==0||pt||Ct!==0)&&(ce[De++]=33,ce[De++]=249,ce[De++]=4,ce[De++]=Rt<<2|(pt===!0?1:0),ce[De++]=255&Ct,ce[De++]=Ct>>8&255,ce[De++]=ot,ce[De++]=0),ce[De++]=44,ce[De++]=255&be,ce[De++]=be>>8&255,ce[De++]=255&Ne,ce[De++]=Ne>>8&255,ce[De++]=255&Ke,ce[De++]=Ke>>8&255,ce[De++]=255&Qe,ce[De++]=Qe>>8&255,ce[De++]=rr===!0?128|jt-1:0,rr===!0)for(var gt=0,Ye=dr.length;gt<Ye;++gt){var $e=dr[gt];ce[De++]=$e>>16&255,ce[De++]=$e>>8&255,ce[De++]=255&$e}De=function(Je,it,ft,ht){Je[it++]=ft;var st=it++,kt=1<<ft,Tt=kt-1,ar=kt+1,Qt=ar+1,Er=ft+1,Ir=0,jr=0;function zr(Ar){for(;Ar<=Ir;)Je[it++]=255&jr,jr>>=8,Ir-=8,it===st+256&&(Je[st]=255,st=it++)}function hn(Ar){jr|=Ar<<Ir,Ir+=Er,zr(8)}var gn=ht[0]&Tt,Br={};hn(kt);for(var ln=1,Xr=ht.length;ln<Xr;++ln){var cr=ht[ln]&Tt,wr=gn<<8|cr,hr=Br[wr];if(hr===void 0){for(jr|=gn<<Ir,Ir+=Er;8<=Ir;)Je[it++]=255&jr,jr>>=8,Ir-=8,it===st+256&&(Je[st]=255,st=it++);Qt===4096?(hn(kt),Qt=ar+1,Er=ft+1,Br={}):(1<<Er<=Qt&&++Er,Br[wr]=Qt++),gn=cr}else gn=hr}return hn(gn),hn(ar),zr(1),st+1===it?Je[st]=0:(Je[st]=it-st-1,Je[it++]=0),it}(ce,De,jt<2?2:jt,ct)},this.end=function(){return re===!1&&(ce[De++]=59,re=!0),De}},N.GifReader=Ot}catch(ce){}function Et(ce){var le,oe,fe,De,He,je=Math.floor,We=new Array(64),nt=new Array(64),xt=new Array(64),It=new Array(64),ir=new Array(65535),Me=new Array(65535),ke=new Array(64),re=new Array(64),be=[],Ne=0,Ke=7,Qe=new Array(64),ct=new Array(64),Lt=new Array(64),rr=new Array(256),dr=new Array(2048),Pt=[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],jt=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Ct=[0,1,2,3,4,5,6,7,8,9,10,11],Rt=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],pt=[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],ot=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],gt=[0,1,2,3,4,5,6,7,8,9,10,11],Ye=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],$e=[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 Je(Tt,ar){for(var Qt=0,Er=0,Ir=new Array,jr=1;jr<=16;jr++){for(var zr=1;zr<=Tt[jr];zr++)Ir[ar[Er]]=[],Ir[ar[Er]][0]=Qt,Ir[ar[Er]][1]=jr,Er++,Qt++;Qt*=2}return Ir}function it(Tt){for(var ar=Tt[0],Qt=Tt[1]-1;0<=Qt;)ar&1<<Qt&&(Ne|=1<<Ke),Qt--,--Ke<0&&(Ne==255?(ft(255),ft(0)):ft(Ne),Ke=7,Ne=0)}function ft(Tt){be.push(Tt)}function ht(Tt){ft(Tt>>8&255),ft(255&Tt)}function st(Tt,ar,Qt,Er,Ir){for(var jr,zr=Ir[0],hn=Ir[240],gn=function(nn,wn){var oi,tn,Vn,On,$n,Qn,ei,zi,hi,Bn,sn=0;for(hi=0;hi<8;++hi){oi=nn[sn],tn=nn[sn+1],Vn=nn[sn+2],On=nn[sn+3],$n=nn[sn+4],Qn=nn[sn+5],ei=nn[sn+6];var ta=oi+(zi=nn[sn+7]),ua=oi-zi,fa=tn+ei,Bi=tn-ei,pa=Vn+Qn,ui=Vn-Qn,ba=On+$n,Dn=On-$n,Pn=ta+ba,Yn=ta-ba,Jn=fa+pa,ni=fa-pa;nn[sn]=Pn+Jn,nn[sn+4]=Pn-Jn;var Fi=.707106781*(ni+Yn);nn[sn+2]=Yn+Fi,nn[sn+6]=Yn-Fi;var Hi=.382683433*((Pn=Dn+ui)-(ni=Bi+ua)),Za=.5411961*Pn+Hi,va=1.306562965*ni+Hi,za=.707106781*(Jn=ui+Bi),to=ua+za,lo=ua-za;nn[sn+5]=lo+Za,nn[sn+3]=lo-Za,nn[sn+1]=to+va,nn[sn+7]=to-va,sn+=8}for(hi=sn=0;hi<8;++hi){oi=nn[sn],tn=nn[sn+8],Vn=nn[sn+16],On=nn[sn+24],$n=nn[sn+32],Qn=nn[sn+40],ei=nn[sn+48];var _a=oi+(zi=nn[sn+56]),Qo=oi-zi,Uo=tn+ei,jo=tn-ei,Ao=Vn+Qn,fo=Vn-Qn,Ro=On+$n,si=On-$n,Ma=_a+Ro,Xo=_a-Ro,Io=Uo+Ao,vo=Uo-Ao;nn[sn]=Ma+Io,nn[sn+32]=Ma-Io;var Co=.707106781*(vo+Xo);nn[sn+16]=Xo+Co,nn[sn+48]=Xo-Co;var tr=.382683433*((Ma=si+fo)-(vo=jo+Qo)),Wr=.5411961*Ma+tr,Yr=1.306562965*vo+tr,pn=.707106781*(Io=fo+jo),Ze=Qo+pn,Ht=Qo-pn;nn[sn+40]=Ht+Wr,nn[sn+24]=Ht-Wr,nn[sn+8]=Ze+Yr,nn[sn+56]=Ze-Yr,sn++}for(hi=0;hi<64;++hi)Bn=nn[hi]*wn[hi],ke[hi]=0<Bn?Bn+.5|0:Bn-.5|0;return ke}(Tt,ar),Br=0;Br<64;++Br)re[Pt[Br]]=gn[Br];var ln=re[0]-Qt;Qt=re[0],ln==0?it(Er[0]):(it(Er[Me[jr=32767+ln]]),it(ir[jr]));for(var Xr=63;0<Xr&&re[Xr]==0;Xr--);if(Xr==0)return it(zr),Qt;for(var cr,wr=1;wr<=Xr;){for(var hr=wr;re[wr]==0&&wr<=Xr;++wr);var Ar=wr-hr;if(16<=Ar){cr=Ar>>4;for(var kr=1;kr<=cr;++kr)it(hn);Ar&=15}jr=32767+re[wr],it(Ir[(Ar<<4)+Me[jr]]),it(ir[jr]),wr++}return Xr!=63&&it(zr),Qt}function kt(Tt){(Tt<=0&&(Tt=1),100<Tt&&(Tt=100),He!=Tt)&&(function(ar){for(var Qt=[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],Er=0;Er<64;Er++){var Ir=je((Qt[Er]*ar+50)/100);Ir<1?Ir=1:255<Ir&&(Ir=255),We[Pt[Er]]=Ir}for(var jr=[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],zr=0;zr<64;zr++){var hn=je((jr[zr]*ar+50)/100);hn<1?hn=1:255<hn&&(hn=255),nt[Pt[zr]]=hn}for(var gn=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Br=0,ln=0;ln<8;ln++)for(var Xr=0;Xr<8;Xr++)xt[Br]=1/(We[Pt[Br]]*gn[ln]*gn[Xr]*8),It[Br]=1/(nt[Pt[Br]]*gn[ln]*gn[Xr]*8),Br++}(Tt<50?Math.floor(5e3/Tt):Math.floor(200-2*Tt)),He=Tt)}this.encode=function(Tt,ar){var Qt,Er;new Date().getTime(),ar&&kt(ar),be=new Array,Ne=0,Ke=7,ht(65496),ht(65504),ht(16),ft(74),ft(70),ft(73),ft(70),ft(0),ft(1),ft(1),ft(0),ht(1),ht(1),ft(0),ft(0),function(){ht(65499),ht(132),ft(0);for(var On=0;On<64;On++)ft(We[On]);ft(1);for(var $n=0;$n<64;$n++)ft(nt[$n])}(),Qt=Tt.width,Er=Tt.height,ht(65472),ht(17),ft(8),ht(Er),ht(Qt),ft(3),ft(1),ft(17),ft(0),ft(2),ft(17),ft(1),ft(3),ft(17),ft(1),function(){ht(65476),ht(418),ft(0);for(var On=0;On<16;On++)ft(jt[On+1]);for(var $n=0;$n<=11;$n++)ft(Ct[$n]);ft(16);for(var Qn=0;Qn<16;Qn++)ft(Rt[Qn+1]);for(var ei=0;ei<=161;ei++)ft(pt[ei]);ft(1);for(var zi=0;zi<16;zi++)ft(ot[zi+1]);for(var hi=0;hi<=11;hi++)ft(gt[hi]);ft(17);for(var Bn=0;Bn<16;Bn++)ft(Ye[Bn+1]);for(var sn=0;sn<=161;sn++)ft($e[sn])}(),ht(65498),ht(12),ft(3),ft(1),ft(0),ft(2),ft(17),ft(3),ft(17),ft(0),ft(63),ft(0);var Ir=0,jr=0,zr=0;Ne=0,Ke=7,this.encode.displayName="_encode_";for(var hn,gn,Br,ln,Xr,cr,wr,hr,Ar,kr=Tt.data,nn=Tt.width,wn=Tt.height,oi=4*nn,tn=0;tn<wn;){for(hn=0;hn<oi;){for(cr=Xr=oi*tn+hn,wr=-1,Ar=hr=0;Ar<64;Ar++)cr=Xr+(hr=Ar>>3)*oi+(wr=4*(7&Ar)),wn<=tn+hr&&(cr-=oi*(tn+1+hr-wn)),oi<=hn+wr&&(cr-=hn+wr-oi+4),gn=kr[cr++],Br=kr[cr++],ln=kr[cr++],Qe[Ar]=(dr[gn]+dr[Br+256>>0]+dr[ln+512>>0]>>16)-128,ct[Ar]=(dr[gn+768>>0]+dr[Br+1024>>0]+dr[ln+1280>>0]>>16)-128,Lt[Ar]=(dr[gn+1280>>0]+dr[Br+1536>>0]+dr[ln+1792>>0]>>16)-128;Ir=st(Qe,xt,Ir,le,fe),jr=st(ct,It,jr,oe,De),zr=st(Lt,It,zr,oe,De),hn+=32}tn+=8}if(0<=Ke){var Vn=[];Vn[1]=Ke+1,Vn[0]=(1<<Ke+1)-1,it(Vn)}return ht(65497),new Uint8Array(be)},function(){new Date().getTime(),ce||(ce=50),function(){for(var Tt=String.fromCharCode,ar=0;ar<256;ar++)rr[ar]=Tt(ar)}(),le=Je(jt,Ct),oe=Je(ot,gt),fe=Je(Rt,pt),De=Je(Ye,$e),function(){for(var Tt=1,ar=2,Qt=1;Qt<=15;Qt++){for(var Er=Tt;Er<ar;Er++)Me[32767+Er]=Qt,ir[32767+Er]=[],ir[32767+Er][1]=Qt,ir[32767+Er][0]=Er;for(var Ir=-(ar-1);Ir<=-Tt;Ir++)Me[32767+Ir]=Qt,ir[32767+Ir]=[],ir[32767+Ir][1]=Qt,ir[32767+Ir][0]=ar-1+Ir;Tt<<=1,ar<<=1}}(),function(){for(var Tt=0;Tt<256;Tt++)dr[Tt]=19595*Tt,dr[Tt+256>>0]=38470*Tt,dr[Tt+512>>0]=7471*Tt+32768,dr[Tt+768>>0]=-11059*Tt,dr[Tt+1024>>0]=-21709*Tt,dr[Tt+1280>>0]=32768*Tt+8421375,dr[Tt+1536>>0]=-27439*Tt,dr[Tt+1792>>0]=-5329*Tt}(),kt(ce),new Date().getTime()}()}function Zt(ce,le){if(this.pos=0,this.buffer=ce,this.datav=new DataView(ce.buffer),this.is_with_alpha=!!le,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}window.tmp=Ot,ut.API.adler32cs=(Nt=typeof ArrayBuffer=="function"&&typeof Uint8Array=="function",Bt=null,Ft=function(){if(!Nt)return function(){return!1};try{var ce={};typeof ce.Buffer=="function"&&(Bt=ce.Buffer)}catch(le){}return function(le){return le instanceof ArrayBuffer||Bt!==null&&le instanceof Bt}}(),Gt=Bt!==null?function(ce){return new Bt(ce,"utf8").toString("binary")}:function(ce){return unescape(encodeURIComponent(ce))},qe=function(le,oe){for(var fe=65535&le,De=le>>>16,He=0,je=oe.length;He<je;He++)fe=(fe+(255&oe.charCodeAt(He)))%65521,De=(De+fe)%65521;return(De<<16|fe)>>>0},we=function(le,oe){for(var fe=65535&le,De=le>>>16,He=0,je=oe.length;He<je;He++)fe=(fe+oe[He])%65521,De=(De+fe)%65521;return(De<<16|fe)>>>0},vt=(ue={}).Adler32=(((_t=(et=function(le){if(!(this instanceof et))throw new TypeError("Constructor cannot called be as a function.");if(!isFinite(le=le==null?1:+le))throw new Error("First arguments needs to be a finite number.");this.checksum=le>>>0}).prototype={}).constructor=et).from=((wt=function(le){if(!(this instanceof et))throw new TypeError("Constructor cannot called be as a function.");if(le==null)throw new Error("First argument needs to be a string.");this.checksum=qe(1,le.toString())}).prototype=_t,wt),et.fromUtf8=((Pe=function(le){if(!(this instanceof et))throw new TypeError("Constructor cannot called be as a function.");if(le==null)throw new Error("First argument needs to be a string.");var oe=Gt(le.toString());this.checksum=qe(1,oe)}).prototype=_t,Pe),Nt&&(et.fromBuffer=((Dt=function(le){if(!(this instanceof et))throw new TypeError("Constructor cannot called be as a function.");if(!Ft(le))throw new Error("First argument needs to be ArrayBuffer.");var oe=new Uint8Array(le);return this.checksum=we(1,oe)}).prototype=_t,Dt)),_t.update=function(ce){if(ce==null)throw new Error("First argument needs to be a string.");return ce=ce.toString(),this.checksum=qe(this.checksum,ce)},_t.updateUtf8=function(ce){if(ce==null)throw new Error("First argument needs to be a string.");var le=Gt(ce.toString());return this.checksum=qe(this.checksum,le)},Nt&&(_t.updateBuffer=function(ce){if(!Ft(ce))throw new Error("First argument needs to be ArrayBuffer.");var le=new Uint8Array(ce);return this.checksum=we(this.checksum,le)}),_t.clone=function(){return new vt(this.checksum)},et),ue.from=function(ce){if(ce==null)throw new Error("First argument needs to be a string.");return qe(1,ce.toString())},ue.fromUtf8=function(ce){if(ce==null)throw new Error("First argument needs to be a string.");var le=Gt(ce.toString());return qe(1,le)},Nt&&(ue.fromBuffer=function(ce){if(!Ft(ce))throw new Error("First argument need to be ArrayBuffer.");var le=new Uint8Array(ce);return we(1,le)}),ue),function(ce){ce.__bidiEngine__=ce.prototype.__bidiEngine__=function(fe){var De,He,je,We,nt,xt,It,ir=le,Me=[[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]],ke=[[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]],re={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},be={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},Ne=["(",")","(","<",">","<","[","]","[","{","}","{","\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"],Ke=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)$/),Qe=!1,ct=0;this.__bidiEngine__={};var Lt=function(ot){var gt=ot.charCodeAt(),Ye=gt>>8,$e=be[Ye];return $e!==void 0?ir[256*$e+(255>)]:Ye===252||Ye===253?"AL":Ke.test(Ye)?"L":Ye===8?"R":"N"},rr=function(ot){for(var gt,Ye=0;Ye<ot.length;Ye++){if((gt=Lt(ot.charAt(Ye)))==="L")return!1;if(gt==="R")return!0}return!1},dr=function(ot,gt,Ye,$e){var Je,it,ft,ht,st=gt[$e];switch(st){case"L":case"R":Qe=!1;break;case"N":case"AN":break;case"EN":Qe&&(st="AN");break;case"AL":Qe=!0,st="R";break;case"WS":st="N";break;case"CS":$e<1||$e+1>=gt.length||(Je=Ye[$e-1])!=="EN"&&Je!=="AN"||(it=gt[$e+1])!=="EN"&&it!=="AN"?st="N":Qe&&(it="AN"),st=it===Je?it:"N";break;case"ES":st=(Je=0<$e?Ye[$e-1]:"B")==="EN"&&$e+1<gt.length&>[$e+1]==="EN"?"EN":"N";break;case"ET":if(0<$e&&Ye[$e-1]==="EN"){st="EN";break}if(Qe){st="N";break}for(ft=$e+1,ht=gt.length;ft<ht&>[ft]==="ET";)ft++;st=ft<ht&>[ft]==="EN"?"EN":"N";break;case"NSM":if(je&&!We){for(ht=gt.length,ft=$e+1;ft<ht&>[ft]==="NSM";)ft++;if(ft<ht){var kt=ot[$e],Tt=1425<=kt&&kt<=2303||kt===64286;if(Je=gt[ft],Tt&&(Je==="R"||Je==="AL")){st="R";break}}}st=$e<1||(Je=gt[$e-1])==="B"?"N":Ye[$e-1];break;case"B":De=!(Qe=!1),st=ct;break;case"S":He=!0,st="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":Qe=!1;break;case"BN":st="N"}return st},Pt=function(ot,gt,Ye){var $e=ot.split("");return Ye&&jt($e,Ye,{hiLevel:ct}),$e.reverse(),gt&>.reverse(),$e.join("")},jt=function(ot,gt,Ye){var $e,Je,it,ft,ht,st=-1,kt=ot.length,Tt=0,ar=[],Qt=ct?ke:Me,Er=[];for(He=De=Qe=!1,Je=0;Je<kt;Je++)Er[Je]=Lt(ot[Je]);for(it=0;it<kt;it++){if(ht=Tt,ar[it]=dr(ot,Er,ar,it),$e=240&(Tt=Qt[ht][re[ar[it]]]),Tt&=15,gt[it]=ft=Qt[Tt][5],0<$e)if($e===16){for(Je=st;Je<it;Je++)gt[Je]=1;st=-1}else st=-1;if(Qt[Tt][6])st===-1&&(st=it);else if(-1<st){for(Je=st;Je<it;Je++)gt[Je]=ft;st=-1}Er[it]==="B"&&(gt[it]=0),Ye.hiLevel|=ft}He&&function(Ir,jr,zr){for(var hn=0;hn<zr;hn++)if(Ir[hn]==="S"){jr[hn]=ct;for(var gn=hn-1;0<=gn&&Ir[gn]==="WS";gn--)jr[gn]=ct}}(Er,gt,kt)},Ct=function(ot,gt,Ye,$e,Je){if(!(Je.hiLevel<ot)){if(ot===1&&ct===1&&!De)return gt.reverse(),void(Ye&&Ye.reverse());for(var it,ft,ht,st,kt=gt.length,Tt=0;Tt<kt;){if($e[Tt]>=ot){for(ht=Tt+1;ht<kt&&$e[ht]>=ot;)ht++;for(st=Tt,ft=ht-1;st<ft;st++,ft--)it=gt[st],gt[st]=gt[ft],gt[ft]=it,Ye&&(it=Ye[st],Ye[st]=Ye[ft],Ye[ft]=it);Tt=ht}Tt++}}},Rt=function(ot,gt,Ye){var $e=ot.split(""),Je={hiLevel:ct};return Ye||(Ye=[]),jt($e,Ye,Je),function(it,ft,ht){if(ht.hiLevel!==0&&It)for(var st,kt=0;kt<it.length;kt++)ft[kt]===1&&0<=(st=Ne.indexOf(it[kt]))&&(it[kt]=Ne[st+1])}($e,Ye,Je),Ct(2,$e,gt,Ye,Je),Ct(1,$e,gt,Ye,Je),$e.join("")};return this.__bidiEngine__.doBidiReorder=function(pt,ot,gt){if(function($e,Je){if(Je)for(var it=0;it<$e.length;it++)Je[it]=it;We===void 0&&(We=rr($e)),xt===void 0&&(xt=rr($e))}(pt,ot),je||!nt||xt)if(je&&nt&&We^xt)ct=We?1:0,pt=Pt(pt,ot,gt);else if(!je&&nt&&xt)ct=We?1:0,pt=Rt(pt,ot,gt),pt=Pt(pt,ot);else if(!je||We||nt||xt){if(je&&!nt&&We^xt)pt=Pt(pt,ot),pt=We?(ct=0,Rt(pt,ot,gt)):(ct=1,pt=Rt(pt,ot,gt),Pt(pt,ot));else if(je&&We&&!nt&&xt)ct=1,pt=Rt(pt,ot,gt),pt=Pt(pt,ot);else if(!je&&!nt&&We^xt){var Ye=It;We?(ct=1,pt=Rt(pt,ot,gt),ct=0,It=!1,pt=Rt(pt,ot,gt),It=Ye):(ct=0,pt=Rt(pt,ot,gt),pt=Pt(pt,ot),It=!(ct=1),pt=Rt(pt,ot,gt),It=Ye,pt=Pt(pt,ot))}}else ct=0,pt=Rt(pt,ot,gt);else ct=We?1:0,pt=Rt(pt,ot,gt);return pt},this.__bidiEngine__.setOptions=function(pt){pt&&(je=pt.isInputVisual,nt=pt.isOutputVisual,We=pt.isInputRtl,xt=pt.isOutputRtl,It=pt.isSymmetricSwapping)},this.__bidiEngine__.setOptions(fe),this.__bidiEngine__};var le=["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"],oe=new ce.__bidiEngine__({isInputVisual:!0});ce.API.events.push(["postProcessText",function(fe){var De=fe.text,He=(fe.x,fe.y,fe.options||{}),je=(fe.mutex,He.lang,[]);if(Object.prototype.toString.call(De)==="[object Array]"){var We=0;for(je=[],We=0;We<De.length;We+=1)Object.prototype.toString.call(De[We])==="[object Array]"?je.push([oe.doBidiReorder(De[We][0]),De[We][1],De[We][2]]):je.push([oe.doBidiReorder(De[We])]);fe.text=je}else fe.text=oe.doBidiReorder(De)}])}(ut),window.tmp=Et,Zt.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 ce=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(ce);for(var le=0;le<ce;le++){var oe=this.datav.getUint8(this.pos++,!0),fe=this.datav.getUint8(this.pos++,!0),De=this.datav.getUint8(this.pos++,!0),He=this.datav.getUint8(this.pos++,!0);this.palette[le]={red:De,green:fe,blue:oe,quad:He}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Zt.prototype.parseBGR=function(){this.pos=this.offset;try{var ce="bit"+this.bitPP,le=this.width*this.height*4;this.data=new Uint8Array(le),this[ce]()}catch(oe){console.log("bit decode error:"+oe)}},Zt.prototype.bit1=function(){var ce=Math.ceil(this.width/8),le=ce%4,oe=0<=this.height?this.height-1:-this.height;for(oe=this.height-1;0<=oe;oe--){for(var fe=this.bottom_up?oe:this.height-1-oe,De=0;De<ce;De++)for(var He=this.datav.getUint8(this.pos++,!0),je=fe*this.width*4+8*De*4,We=0;We<8&&8*De+We<this.width;We++){var nt=this.palette[He>>7-We&1];this.data[je+4*We]=nt.blue,this.data[je+4*We+1]=nt.green,this.data[je+4*We+2]=nt.red,this.data[je+4*We+3]=255}le!=0&&(this.pos+=4-le)}},Zt.prototype.bit4=function(){for(var ce=Math.ceil(this.width/2),le=ce%4,oe=this.height-1;0<=oe;oe--){for(var fe=this.bottom_up?oe:this.height-1-oe,De=0;De<ce;De++){var He=this.datav.getUint8(this.pos++,!0),je=fe*this.width*4+2*De*4,We=He>>4,nt=15&He,xt=this.palette[We];if(this.data[je]=xt.blue,this.data[je+1]=xt.green,this.data[je+2]=xt.red,this.data[je+3]=255,2*De+1>=this.width)break;xt=this.palette[nt],this.data[je+4]=xt.blue,this.data[je+4+1]=xt.green,this.data[je+4+2]=xt.red,this.data[je+4+3]=255}le!=0&&(this.pos+=4-le)}},Zt.prototype.bit8=function(){for(var ce=this.width%4,le=this.height-1;0<=le;le--){for(var oe=this.bottom_up?le:this.height-1-le,fe=0;fe<this.width;fe++){var De=this.datav.getUint8(this.pos++,!0),He=oe*this.width*4+4*fe;if(De<this.palette.length){var je=this.palette[De];this.data[He]=je.red,this.data[He+1]=je.green,this.data[He+2]=je.blue,this.data[He+3]=255}else this.data[He]=255,this.data[He+1]=255,this.data[He+2]=255,this.data[He+3]=255}ce!=0&&(this.pos+=4-ce)}},Zt.prototype.bit15=function(){for(var ce=this.width%3,le=parseInt("11111",2),oe=this.height-1;0<=oe;oe--){for(var fe=this.bottom_up?oe:this.height-1-oe,De=0;De<this.width;De++){var He=this.datav.getUint16(this.pos,!0);this.pos+=2;var je=(He&le)/le*255|0,We=(He>>5&le)/le*255|0,nt=(He>>10&le)/le*255|0,xt=He>>15?255:0,It=fe*this.width*4+4*De;this.data[It]=nt,this.data[It+1]=We,this.data[It+2]=je,this.data[It+3]=xt}this.pos+=ce}},Zt.prototype.bit16=function(){for(var ce=this.width%3,le=parseInt("11111",2),oe=parseInt("111111",2),fe=this.height-1;0<=fe;fe--){for(var De=this.bottom_up?fe:this.height-1-fe,He=0;He<this.width;He++){var je=this.datav.getUint16(this.pos,!0);this.pos+=2;var We=(je&le)/le*255|0,nt=(je>>5&oe)/oe*255|0,xt=(je>>11)/le*255|0,It=De*this.width*4+4*He;this.data[It]=xt,this.data[It+1]=nt,this.data[It+2]=We,this.data[It+3]=255}this.pos+=ce}},Zt.prototype.bit24=function(){for(var ce=this.height-1;0<=ce;ce--){for(var le=this.bottom_up?ce:this.height-1-ce,oe=0;oe<this.width;oe++){var fe=this.datav.getUint8(this.pos++,!0),De=this.datav.getUint8(this.pos++,!0),He=this.datav.getUint8(this.pos++,!0),je=le*this.width*4+4*oe;this.data[je]=He,this.data[je+1]=De,this.data[je+2]=fe,this.data[je+3]=255}this.pos+=this.width%4}},Zt.prototype.bit32=function(){for(var ce=this.height-1;0<=ce;ce--)for(var le=this.bottom_up?ce:this.height-1-ce,oe=0;oe<this.width;oe++){var fe=this.datav.getUint8(this.pos++,!0),De=this.datav.getUint8(this.pos++,!0),He=this.datav.getUint8(this.pos++,!0),je=this.datav.getUint8(this.pos++,!0),We=le*this.width*4+4*oe;this.data[We]=He,this.data[We+1]=De,this.data[We+2]=fe,this.data[We+3]=je}},Zt.prototype.getData=function(){return this.data},window.tmp=Zt,function(ce){var le=15,oe=573,fe=[0,1,2,3,4,4,5,5,6,6,6,6,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,0,0,16,17,18,18,19,19,20,20,20,20,21,21,21,21,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29];function De(){var ke=this;function re(be,Ne){for(var Ke=0;Ke|=1&be,be>>>=1,Ke<<=1,0<--Ne;);return Ke>>>1}ke.build_tree=function(be){var Ne,Ke,Qe,ct=ke.dyn_tree,Lt=ke.stat_desc.static_tree,rr=ke.stat_desc.elems,dr=-1;for(be.heap_len=0,be.heap_max=oe,Ne=0;Ne<rr;Ne++)ct[2*Ne]!==0?(be.heap[++be.heap_len]=dr=Ne,be.depth[Ne]=0):ct[2*Ne+1]=0;for(;be.heap_len<2;)ct[2*(Qe=be.heap[++be.heap_len]=dr<2?++dr:0)]=1,be.depth[Qe]=0,be.opt_len--,Lt&&(be.static_len-=Lt[2*Qe+1]);for(ke.max_code=dr,Ne=Math.floor(be.heap_len/2);1<=Ne;Ne--)be.pqdownheap(ct,Ne);for(Qe=rr;Ne=be.heap[1],be.heap[1]=be.heap[be.heap_len--],be.pqdownheap(ct,1),Ke=be.heap[1],be.heap[--be.heap_max]=Ne,be.heap[--be.heap_max]=Ke,ct[2*Qe]=ct[2*Ne]+ct[2*Ke],be.depth[Qe]=Math.max(be.depth[Ne],be.depth[Ke])+1,ct[2*Ne+1]=ct[2*Ke+1]=Qe,be.heap[1]=Qe++,be.pqdownheap(ct,1),2<=be.heap_len;);be.heap[--be.heap_max]=be.heap[1],function(Pt){var jt,Ct,Rt,pt,ot,gt,Ye=ke.dyn_tree,$e=ke.stat_desc.static_tree,Je=ke.stat_desc.extra_bits,it=ke.stat_desc.extra_base,ft=ke.stat_desc.max_length,ht=0;for(pt=0;pt<=le;pt++)Pt.bl_count[pt]=0;for(Ye[2*Pt.heap[Pt.heap_max]+1]=0,jt=Pt.heap_max+1;jt<oe;jt++)ft<(pt=Ye[2*Ye[2*(Ct=Pt.heap[jt])+1]+1]+1)&&(pt=ft,ht++),Ye[2*Ct+1]=pt,Ct>ke.max_code||(Pt.bl_count[pt]++,ot=0,it<=Ct&&(ot=Je[Ct-it]),gt=Ye[2*Ct],Pt.opt_len+=gt*(pt+ot),$e&&(Pt.static_len+=gt*($e[2*Ct+1]+ot)));if(ht!==0){do{for(pt=ft-1;Pt.bl_count[pt]===0;)pt--;Pt.bl_count[pt]--,Pt.bl_count[pt+1]+=2,Pt.bl_count[ft]--,ht-=2}while(0<ht);for(pt=ft;pt!==0;pt--)for(Ct=Pt.bl_count[pt];Ct!==0;)(Rt=Pt.heap[--jt])>ke.max_code||(Ye[2*Rt+1]!=pt&&(Pt.opt_len+=(pt-Ye[2*Rt+1])*Ye[2*Rt],Ye[2*Rt+1]=pt),Ct--)}}(be),function(Pt,jt,Ct){var Rt,pt,ot,gt=[],Ye=0;for(Rt=1;Rt<=le;Rt++)gt[Rt]=Ye=Ye+Ct[Rt-1]<<1;for(pt=0;pt<=jt;pt++)(ot=Pt[2*pt+1])!==0&&(Pt[2*pt]=re(gt[ot]++,ot))}(ct,ke.max_code,be.bl_count)}}function He(ke,re,be,Ne,Ke){this.static_tree=ke,this.extra_bits=re,this.extra_base=be,this.elems=Ne,this.max_length=Ke}De._length_code=[0,1,2,3,4,5,6,7,8,8,9,9,10,10,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,16,16,16,16,17,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28],De.base_length=[0,1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64,80,96,112,128,160,192,224,0],De.base_dist=[0,1,2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576],De.d_code=function(ke){return ke<256?fe[ke]:fe[256+(ke>>>7)]},De.extra_lbits=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],De.extra_dbits=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],De.extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],De.bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],He.static_ltree=[12,8,140,8,76,8,204,8,44,8,172,8,108,8,236,8,28,8,156,8,92,8,220,8,60,8,188,8,124,8,252,8,2,8,130,8,66,8,194,8,34,8,162,8,98,8,226,8,18,8,146,8,82,8,210,8,50,8,178,8,114,8,242,8,10,8,138,8,74,8,202,8,42,8,170,8,106,8,234,8,26,8,154,8,90,8,218,8,58,8,186,8,122,8,250,8,6,8,134,8,70,8,198,8,38,8,166,8,102,8,230,8,22,8,150,8,86,8,214,8,54,8,182,8,118,8,246,8,14,8,142,8,78,8,206,8,46,8,174,8,110,8,238,8,30,8,158,8,94,8,222,8,62,8,190,8,126,8,254,8,1,8,129,8,65,8,193,8,33,8,161,8,97,8,225,8,17,8,145,8,81,8,209,8,49,8,177,8,113,8,241,8,9,8,137,8,73,8,201,8,41,8,169,8,105,8,233,8,25,8,153,8,89,8,217,8,57,8,185,8,121,8,249,8,5,8,133,8,69,8,197,8,37,8,165,8,101,8,229,8,21,8,149,8,85,8,213,8,53,8,181,8,117,8,245,8,13,8,141,8,77,8,205,8,45,8,173,8,109,8,237,8,29,8,157,8,93,8,221,8,61,8,189,8,125,8,253,8,19,9,275,9,147,9,403,9,83,9,339,9,211,9,467,9,51,9,307,9,179,9,435,9,115,9,371,9,243,9,499,9,11,9,267,9,139,9,395,9,75,9,331,9,203,9,459,9,43,9,299,9,171,9,427,9,107,9,363,9,235,9,491,9,27,9,283,9,155,9,411,9,91,9,347,9,219,9,475,9,59,9,315,9,187,9,443,9,123,9,379,9,251,9,507,9,7,9,263,9,135,9,391,9,71,9,327,9,199,9,455,9,39,9,295,9,167,9,423,9,103,9,359,9,231,9,487,9,23,9,279,9,151,9,407,9,87,9,343,9,215,9,471,9,55,9,311,9,183,9,439,9,119,9,375,9,247,9,503,9,15,9,271,9,143,9,399,9,79,9,335,9,207,9,463,9,47,9,303,9,175,9,431,9,111,9,367,9,239,9,495,9,31,9,287,9,159,9,415,9,95,9,351,9,223,9,479,9,63,9,319,9,191,9,447,9,127,9,383,9,255,9,511,9,0,7,64,7,32,7,96,7,16,7,80,7,48,7,112,7,8,7,72,7,40,7,104,7,24,7,88,7,56,7,120,7,4,7,68,7,36,7,100,7,20,7,84,7,52,7,116,7,3,8,131,8,67,8,195,8,35,8,163,8,99,8,227,8],He.static_dtree=[0,5,16,5,8,5,24,5,4,5,20,5,12,5,28,5,2,5,18,5,10,5,26,5,6,5,22,5,14,5,30,5,1,5,17,5,9,5,25,5,5,5,21,5,13,5,29,5,3,5,19,5,11,5,27,5,7,5,23,5],He.static_l_desc=new He(He.static_ltree,De.extra_lbits,257,286,le),He.static_d_desc=new He(He.static_dtree,De.extra_dbits,0,30,le),He.static_bl_desc=new He(null,De.extra_blbits,0,19,7);function je(ke,re,be,Ne,Ke){this.good_length=ke,this.max_lazy=re,this.nice_length=be,this.max_chain=Ne,this.func=Ke}var We=[new je(0,0,0,0,0),new je(4,4,8,4,1),new je(4,5,16,8,1),new je(4,6,32,32,1),new je(4,4,16,16,2),new je(8,16,32,32,2),new je(8,16,128,128,2),new je(8,32,128,256,2),new je(32,128,258,1024,2),new je(32,258,258,4096,2)],nt=["need dictionary","stream end","","","stream error","data error","","buffer error","",""];function xt(ke,re,be,Ne){var Ke=ke[2*re],Qe=ke[2*be];return Ke<Qe||Ke==Qe&&Ne[re]<=Ne[be]}function It(){var ke,re,be,Ne,Ke,Qe,ct,Lt,rr,dr,Pt,jt,Ct,Rt,pt,ot,gt,Ye,$e,Je,it,ft,ht,st,kt,Tt,ar,Qt,Er,Ir,jr,zr,hn,gn,Br,ln,Xr,cr,wr,hr,Ar,kr=this,nn=new De,wn=new De,oi=new De;function tn(){var Dn;for(Dn=0;Dn<286;Dn++)jr[2*Dn]=0;for(Dn=0;Dn<30;Dn++)zr[2*Dn]=0;for(Dn=0;Dn<19;Dn++)hn[2*Dn]=0;jr[512]=1,kr.opt_len=kr.static_len=0,ln=cr=0}function Vn(Dn,Pn){var Yn,Jn,ni=-1,Fi=Dn[1],Hi=0,Za=7,va=4;for(Fi===0&&(Za=138,va=3),Dn[2*(Pn+1)+1]=65535,Yn=0;Yn<=Pn;Yn++)Jn=Fi,Fi=Dn[2*(Yn+1)+1],++Hi<Za&&Jn==Fi||(Hi<va?hn[2*Jn]+=Hi:Jn!==0?(Jn!=ni&&hn[2*Jn]++,hn[32]++):Hi<=10?hn[34]++:hn[36]++,ni=Jn,va=(Hi=0)===Fi?(Za=138,3):Jn==Fi?(Za=6,3):(Za=7,4))}function On(Dn){kr.pending_buf[kr.pending++]=Dn}function $n(Dn){On(255&Dn),On(Dn>>>8&255)}function Qn(Dn,Pn){var Yn,Jn=Pn;16-Jn<Ar?($n(hr|=(Yn=Dn)<<Ar&65535),hr=Yn>>>16-Ar,Ar+=Jn-16):(hr|=Dn<<Ar&65535,Ar+=Jn)}function ei(Dn,Pn){var Yn=2*Dn;Qn(65535&Pn[Yn],65535&Pn[Yn+1])}function zi(Dn,Pn){var Yn,Jn,ni=-1,Fi=Dn[1],Hi=0,Za=7,va=4;for(Fi===0&&(Za=138,va=3),Yn=0;Yn<=Pn;Yn++)if(Jn=Fi,Fi=Dn[2*(Yn+1)+1],!(++Hi<Za&&Jn==Fi)){if(Hi<va)for(;ei(Jn,hn),--Hi!=0;);else Jn!==0?(Jn!=ni&&(ei(Jn,hn),Hi--),ei(16,hn),Qn(Hi-3,2)):Hi<=10?(ei(17,hn),Qn(Hi-3,3)):(ei(18,hn),Qn(Hi-11,7));ni=Jn,va=(Hi=0)===Fi?(Za=138,3):Jn==Fi?(Za=6,3):(Za=7,4)}}function hi(){Ar==16?($n(hr),Ar=hr=0):8<=Ar&&(On(255&hr),hr>>>=8,Ar-=8)}function Bn(Dn,Pn){var Yn,Jn,ni;if(kr.pending_buf[Xr+2*ln]=Dn>>>8&255,kr.pending_buf[Xr+2*ln+1]=255&Dn,kr.pending_buf[gn+ln]=255&Pn,ln++,Dn===0?jr[2*Pn]++:(cr++,Dn--,jr[2*(De._length_code[Pn]+256+1)]++,zr[2*De.d_code(Dn)]++),(8191&ln)==0&&2<ar){for(Yn=8*ln,Jn=it-gt,ni=0;ni<30;ni++)Yn+=zr[2*ni]*(5+De.extra_dbits[ni]);if(Yn>>>=3,cr<Math.floor(ln/2)&&Yn<Math.floor(Jn/2))return!0}return ln==Br-1}function sn(Dn,Pn){var Yn,Jn,ni,Fi,Hi=0;if(ln!==0)for(;Yn=kr.pending_buf[Xr+2*Hi]<<8&65280|255&kr.pending_buf[Xr+2*Hi+1],Jn=255&kr.pending_buf[gn+Hi],Hi++,Yn===0?ei(Jn,Dn):(ei((ni=De._length_code[Jn])+256+1,Dn),(Fi=De.extra_lbits[ni])!==0&&Qn(Jn-=De.base_length[ni],Fi),ei(ni=De.d_code(--Yn),Pn),(Fi=De.extra_dbits[ni])!==0&&Qn(Yn-=De.base_dist[ni],Fi)),Hi<ln;);ei(256,Dn),wr=Dn[513]}function ta(){8<Ar?$n(hr):0<Ar&&On(255&hr),Ar=hr=0}function ua(Dn,Pn,Yn){var Jn,ni,Fi;Qn(0+(Yn?1:0),3),Jn=Dn,ni=Pn,Fi=!0,ta(),wr=8,Fi&&($n(ni),$n(~ni)),kr.pending_buf.set(Lt.subarray(Jn,Jn+ni),kr.pending),kr.pending+=ni}function fa(Dn,Pn,Yn){var Jn,ni,Fi=0;0<ar?(nn.build_tree(kr),wn.build_tree(kr),Fi=function(){var Hi;for(Vn(jr,nn.max_code),Vn(zr,wn.max_code),oi.build_tree(kr),Hi=18;3<=Hi&&hn[2*De.bl_order[Hi]+1]===0;Hi--);return kr.opt_len+=3*(Hi+1)+5+5+4,Hi}(),Jn=kr.opt_len+3+7>>>3,(ni=kr.static_len+3+7>>>3)<=Jn&&(Jn=ni)):Jn=ni=Pn+5,Pn+4<=Jn&&Dn!=-1?ua(Dn,Pn,Yn):ni==Jn?(Qn(2+(Yn?1:0),3),sn(He.static_ltree,He.static_dtree)):(Qn(4+(Yn?1:0),3),function(Hi,Za,va){var za;for(Qn(Hi-257,5),Qn(Za-1,5),Qn(va-4,4),za=0;za<va;za++)Qn(hn[2*De.bl_order[za]+1],3);zi(jr,Hi-1),zi(zr,Za-1)}(nn.max_code+1,wn.max_code+1,Fi+1),sn(jr,zr)),tn(),Yn&&ta()}function Bi(Dn){fa(0<=gt?gt:-1,it-gt,Dn),gt=it,ke.flush_pending()}function pa(){var Dn,Pn,Yn,Jn;do{if((Jn=rr-ht-it)===0&&it===0&&ht===0)Jn=Ke;else if(Jn==-1)Jn--;else if(Ke+Ke-262<=it){for(Lt.set(Lt.subarray(Ke,Ke+Ke),0),ft-=Ke,it-=Ke,gt-=Ke,Yn=Dn=Ct;Pn=65535&Pt[--Yn],Pt[Yn]=Ke<=Pn?Pn-Ke:0,--Dn!=0;);for(Yn=Dn=Ke;Pn=65535&dr[--Yn],dr[Yn]=Ke<=Pn?Pn-Ke:0,--Dn!=0;);Jn+=Ke}if(ke.avail_in===0)return;Dn=ke.read_buf(Lt,it+ht,Jn),3<=(ht+=Dn)&&(jt=((jt=255&Lt[it])<<ot^255&Lt[it+1])&pt)}while(ht<262&&ke.avail_in!==0)}function ui(Dn){var Pn,Yn,Jn=kt,ni=it,Fi=st,Hi=Ke-262<it?it-(Ke-262):0,Za=Ir,va=ct,za=it+258,to=Lt[ni+Fi-1],lo=Lt[ni+Fi];Er<=st&&(Jn>>=2),ht<Za&&(Za=ht);do if(Lt[(Pn=Dn)+Fi]==lo&&Lt[Pn+Fi-1]==to&&Lt[Pn]==Lt[ni]&&Lt[++Pn]==Lt[ni+1]){ni+=2,Pn++;do;while(Lt[++ni]==Lt[++Pn]&&Lt[++ni]==Lt[++Pn]&&Lt[++ni]==Lt[++Pn]&&Lt[++ni]==Lt[++Pn]&&Lt[++ni]==Lt[++Pn]&&Lt[++ni]==Lt[++Pn]&&Lt[++ni]==Lt[++Pn]&&Lt[++ni]==Lt[++Pn]&&ni<za);if(Yn=258-(za-ni),ni=za-258,Fi<Yn){if(ft=Dn,Za<=(Fi=Yn))break;to=Lt[ni+Fi-1],lo=Lt[ni+Fi]}}while((Dn=65535&dr[Dn&va])>Hi&&--Jn!=0);return Fi<=ht?Fi:ht}function ba(Dn){return Dn.total_in=Dn.total_out=0,Dn.msg=null,kr.pending=0,kr.pending_out=0,re=113,Ne=0,nn.dyn_tree=jr,nn.stat_desc=He.static_l_desc,wn.dyn_tree=zr,wn.stat_desc=He.static_d_desc,oi.dyn_tree=hn,oi.stat_desc=He.static_bl_desc,Ar=hr=0,wr=8,tn(),function(){var Pn;for(rr=2*Ke,Pn=Pt[Ct-1]=0;Pn<Ct-1;Pn++)Pt[Pn]=0;Tt=We[ar].max_lazy,Er=We[ar].good_length,Ir=We[ar].nice_length,kt=We[ar].max_chain,Ye=st=2,jt=Je=ht=gt=it=0}(),0}kr.depth=[],kr.bl_count=[],kr.heap=[],jr=[],zr=[],hn=[],kr.pqdownheap=function(Dn,Pn){for(var Yn=kr.heap,Jn=Yn[Pn],ni=Pn<<1;ni<=kr.heap_len&&(ni<kr.heap_len&&xt(Dn,Yn[ni+1],Yn[ni],kr.depth)&&ni++,!xt(Dn,Jn,Yn[ni],kr.depth));)Yn[Pn]=Yn[ni],Pn=ni,ni<<=1;Yn[Pn]=Jn},kr.deflateInit=function(Dn,Pn,Yn,Jn,ni,Fi){return Jn||(Jn=8),ni||(ni=8),Fi||(Fi=0),Dn.msg=null,Pn==-1&&(Pn=6),ni<1||9<ni||Jn!=8||Yn<9||15<Yn||Pn<0||9<Pn||Fi<0||2<Fi?-2:(Dn.dstate=kr,ct=(Ke=1<<(Qe=Yn))-1,pt=(Ct=1<<(Rt=ni+7))-1,ot=Math.floor((Rt+3-1)/3),Lt=new Uint8Array(2*Ke),dr=[],Pt=[],Br=1<<ni+6,kr.pending_buf=new Uint8Array(4*Br),be=4*Br,Xr=Math.floor(Br/2),gn=3*Br,ar=Pn,Qt=Fi,ba(Dn))},kr.deflateEnd=function(){return re!=42&&re!=113&&re!=666?-2:(kr.pending_buf=null,Lt=dr=Pt=null,kr.dstate=null,re==113?-3:0)},kr.deflateParams=function(Dn,Pn,Yn){var Jn=0;return Pn==-1&&(Pn=6),Pn<0||9<Pn||Yn<0||2<Yn?-2:(We[ar].func!=We[Pn].func&&Dn.total_in!==0&&(Jn=Dn.deflate(1)),ar!=Pn&&(Tt=We[ar=Pn].max_lazy,Er=We[ar].good_length,Ir=We[ar].nice_length,kt=We[ar].max_chain),Qt=Yn,Jn)},kr.deflateSetDictionary=function(Dn,Pn,Yn){var Jn,ni=Yn,Fi=0;if(!Pn||re!=42)return-2;if(ni<3)return 0;for(Ke-262<ni&&(Fi=Yn-(ni=Ke-262)),Lt.set(Pn.subarray(Fi,Fi+ni),0),gt=it=ni,jt=((jt=255&Lt[0])<<ot^255&Lt[1])&pt,Jn=0;Jn<=ni-3;Jn++)jt=(jt<<ot^255&Lt[Jn+2])&pt,dr[Jn&ct]=Pt[jt],Pt[jt]=Jn;return 0},kr.deflate=function(Dn,Pn){var Yn,Jn,ni,Fi,Hi,Za;if(4<Pn||Pn<0)return-2;if(!Dn.next_out||!Dn.next_in&&Dn.avail_in!==0||re==666&&Pn!=4)return Dn.msg=nt[4],-2;if(Dn.avail_out===0)return Dn.msg=nt[7],-5;if(ke=Dn,Fi=Ne,Ne=Pn,re==42&&(Jn=8+(Qe-8<<4)<<8,3<(ni=(ar-1&255)>>1)&&(ni=3),Jn|=ni<<6,it!==0&&(Jn|=32),re=113,On((Za=Jn+=31-Jn%31)>>8&255),On(255&Za)),kr.pending!==0){if(ke.flush_pending(),ke.avail_out===0)return Ne=-1,0}else if(ke.avail_in===0&&Pn<=Fi&&Pn!=4)return ke.msg=nt[7],-5;if(re==666&&ke.avail_in!==0)return Dn.msg=nt[7],-5;if(ke.avail_in!==0||ht!==0||Pn!=0&&re!=666){switch(Hi=-1,We[ar].func){case 0:Hi=function(va){var za,to=65535;for(be-5<to&&(to=be-5);;){if(ht<=1){if(pa(),ht===0&&va==0)return 0;if(ht===0)break}if(it+=ht,za=gt+to,((ht=0)===it||za<=it)&&(ht=it-za,it=za,Bi(!1),ke.avail_out===0))return 0;if(Ke-262<=it-gt&&(Bi(!1),ke.avail_out===0))return 0}return Bi(va==4),ke.avail_out===0?va==4?2:0:va==4?3:1}(Pn);break;case 1:Hi=function(va){for(var za,to=0;;){if(ht<262){if(pa(),ht<262&&va==0)return 0;if(ht===0)break}if(3<=ht&&(jt=(jt<<ot^255&Lt[it+2])&pt,to=65535&Pt[jt],dr[it&ct]=Pt[jt],Pt[jt]=it),to!==0&&(it-to&65535)<=Ke-262&&Qt!=2&&(Ye=ui(to)),3<=Ye)if(za=Bn(it-ft,Ye-3),ht-=Ye,Ye<=Tt&&3<=ht){for(Ye--;jt=(jt<<ot^255&Lt[++it+2])&pt,to=65535&Pt[jt],dr[it&ct]=Pt[jt],Pt[jt]=it,--Ye!=0;);it++}else it+=Ye,Ye=0,jt=((jt=255&Lt[it])<<ot^255&Lt[it+1])&pt;else za=Bn(0,255&Lt[it]),ht--,it++;if(za&&(Bi(!1),ke.avail_out===0))return 0}return Bi(va==4),ke.avail_out===0?va==4?2:0:va==4?3:1}(Pn);break;case 2:Hi=function(va){for(var za,to,lo=0;;){if(ht<262){if(pa(),ht<262&&va==0)return 0;if(ht===0)break}if(3<=ht&&(jt=(jt<<ot^255&Lt[it+2])&pt,lo=65535&Pt[jt],dr[it&ct]=Pt[jt],Pt[jt]=it),st=Ye,$e=ft,Ye=2,lo!==0&&st<Tt&&(it-lo&65535)<=Ke-262&&(Qt!=2&&(Ye=ui(lo)),Ye<=5&&(Qt==1||Ye==3&&4096<it-ft)&&(Ye=2)),3<=st&&Ye<=st){for(to=it+ht-3,za=Bn(it-1-$e,st-3),ht-=st-1,st-=2;++it<=to&&(jt=(jt<<ot^255&Lt[it+2])&pt,lo=65535&Pt[jt],dr[it&ct]=Pt[jt],Pt[jt]=it),--st!=0;);if(Je=0,Ye=2,it++,za&&(Bi(!1),ke.avail_out===0))return 0}else if(Je!==0){if((za=Bn(0,255&Lt[it-1]))&&Bi(!1),it++,ht--,ke.avail_out===0)return 0}else Je=1,it++,ht--}return Je!==0&&(za=Bn(0,255&Lt[it-1]),Je=0),Bi(va==4),ke.avail_out===0?va==4?2:0:va==4?3:1}(Pn)}if(Hi!=2&&Hi!=3||(re=666),Hi==0||Hi==2)return ke.avail_out===0&&(Ne=-1),0;if(Hi==1){if(Pn==1)Qn(2,3),ei(256,He.static_ltree),hi(),1+wr+10-Ar<9&&(Qn(2,3),ei(256,He.static_ltree),hi()),wr=7;else if(ua(0,0,!1),Pn==3)for(Yn=0;Yn<Ct;Yn++)Pt[Yn]=0;if(ke.flush_pending(),ke.avail_out===0)return Ne=-1,0}}return Pn!=4?0:1}}function ir(){this.next_in_index=0,this.next_out_index=0,this.avail_in=0,this.total_in=0,this.avail_out=0,this.total_out=0}ir.prototype={deflateInit:function(re,be){return this.dstate=new It,be||(be=le),this.dstate.deflateInit(this,re,be)},deflate:function(re){return this.dstate?this.dstate.deflate(this,re):-2},deflateEnd:function(){if(!this.dstate)return-2;var re=this.dstate.deflateEnd();return this.dstate=null,re},deflateParams:function(re,be){return this.dstate?this.dstate.deflateParams(this,re,be):-2},deflateSetDictionary:function(re,be){return this.dstate?this.dstate.deflateSetDictionary(this,re,be):-2},read_buf:function(re,be,Ne){var Ke=this.avail_in;return Ne<Ke&&(Ke=Ne),Ke===0?0:(this.avail_in-=Ke,re.set(this.next_in.subarray(this.next_in_index,this.next_in_index+Ke),be),this.next_in_index+=Ke,this.total_in+=Ke,Ke)},flush_pending:function(){var re=this,be=re.dstate.pending;be>re.avail_out&&(be=re.avail_out),be!==0&&(re.next_out.set(re.dstate.pending_buf.subarray(re.dstate.pending_out,re.dstate.pending_out+be),re.next_out_index),re.next_out_index+=be,re.dstate.pending_out+=be,re.total_out+=be,re.avail_out-=be,re.dstate.pending-=be,re.dstate.pending===0&&(re.dstate.pending_out=0))}};var Me=ce.zip||ce;Me.Deflater=Me._jzlib_Deflater=function(ke){var re=new ir,be=new Uint8Array(512),Ne=ke?ke.level:-1;Ne===void 0&&(Ne=-1),re.deflateInit(Ne),re.next_out=be,this.append=function(Ke,Qe){var ct,Lt=[],rr=0,dr=0,Pt=0;if(Ke.length){re.next_in_index=0,re.next_in=Ke,re.avail_in=Ke.length;do{if(re.next_out_index=0,re.avail_out=512,re.deflate(0)!=0)throw new Error("deflating: "+re.msg);re.next_out_index&&(re.next_out_index==512?Lt.push(new Uint8Array(be)):Lt.push(new Uint8Array(be.subarray(0,re.next_out_index)))),Pt+=re.next_out_index,Qe&&0<re.next_in_index&&re.next_in_index!=rr&&(Qe(re.next_in_index),rr=re.next_in_index)}while(0<re.avail_in||re.avail_out===0);return ct=new Uint8Array(Pt),Lt.forEach(function(jt){ct.set(jt,dr),dr+=jt.length}),ct}},this.flush=function(){var Ke,Qe,ct=[],Lt=0,rr=0;do{if(re.next_out_index=0,re.avail_out=512,(Ke=re.deflate(4))!=1&&Ke!=0)throw new Error("deflating: "+re.msg);0<512-re.avail_out&&ct.push(new Uint8Array(be.subarray(0,re.next_out_index))),rr+=re.next_out_index}while(0<re.avail_in||re.avail_out===0);return re.deflateEnd(),Qe=new Uint8Array(rr),ct.forEach(function(dr){Qe.set(dr,Lt),Lt+=dr.length}),Qe}}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof y!="undefined"&&y||Function('return typeof this === "object" && this.content')()||Function("return this")()),(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof y!="undefined"&&y||Function('return typeof this === "object" && this.content')()||Function("return this")()).RGBColor=function(ce){var le;ce=ce||"",this.ok=!1,ce.charAt(0)=="#"&&(ce=ce.substr(1,6)),ce=(ce=ce.replace(/ /g,"")).toLowerCase();var oe={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};for(var fe in oe)ce==fe&&(ce=oe[fe]);for(var De=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(It){return[parseInt(It[1]),parseInt(It[2]),parseInt(It[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(It){return[parseInt(It[1],16),parseInt(It[2],16),parseInt(It[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(It){return[parseInt(It[1]+It[1],16),parseInt(It[2]+It[2],16),parseInt(It[3]+It[3],16)]}}],He=0;He<De.length;He++){var je=De[He].re,We=De[He].process,nt=je.exec(ce);nt&&(le=We(nt),this.r=le[0],this.g=le[1],this.b=le[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:255<this.r?255:this.r,this.g=this.g<0||isNaN(this.g)?0:255<this.g?255:this.g,this.b=this.b<0||isNaN(this.b)?0:255<this.b?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var xt=this.r.toString(16),It=this.g.toString(16),ir=this.b.toString(16);return xt.length==1&&(xt="0"+xt),It.length==1&&(It="0"+It),ir.length==1&&(ir="0"+ir),"#"+xt+It+ir}},function(ce){var le="+".charCodeAt(0),oe="/".charCodeAt(0),fe="0".charCodeAt(0),De="a".charCodeAt(0),He="A".charCodeAt(0),je="-".charCodeAt(0),We="_".charCodeAt(0),nt=function($e){var Je=$e.charCodeAt(0);return Je===le||Je===je?62:Je===oe||Je===We?63:Je<fe?-1:Je<fe+10?Je-fe+26+26:Je<He+26?Je-He:Je<De+26?Je-De+26:void 0};ce.API.TTFFont=function(){function Ye($e,Je,it){var ft;if(this.rawData=$e,ft=this.contents=new It($e),this.contents.pos=4,ft.readString(4)==="ttcf")throw Je?new Error("Font "+Je+" not found in TTC file."):new Error("Must specify a font name for TTC files.");ft.pos=0,this.parse(),this.subset=new gt(this),this.registerTTF()}return Ye.open=function($e,Je,it,ft){if(typeof it!="string")throw new Error("Invalid argument supplied in TTFFont.open");return new Ye(function(ht){var st,kt,Tt,ar,Qt,Er;if(0<ht.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var Ir=ht.length;Qt=ht.charAt(Ir-2)==="="?2:ht.charAt(Ir-1)==="="?1:0,Er=new Uint8Array(3*ht.length/4-Qt),Tt=0<Qt?ht.length-4:ht.length;var jr=0;function zr(hn){Er[jr++]=hn}for(kt=st=0;st<Tt;st+=4,kt+=3)zr((16711680&(ar=nt(ht.charAt(st))<<18|nt(ht.charAt(st+1))<<12|nt(ht.charAt(st+2))<<6|nt(ht.charAt(st+3))))>>16),zr((65280&ar)>>8),zr(255&ar);return Qt===2?zr(255&(ar=nt(ht.charAt(st))<<2|nt(ht.charAt(st+1))>>4)):Qt===1&&(zr((ar=nt(ht.charAt(st))<<10|nt(ht.charAt(st+1))<<4|nt(ht.charAt(st+2))>>2)>>8&255),zr(255&ar)),Er}(it),Je,ft)},Ye.prototype.parse=function(){return this.directory=new ir(this.contents),this.head=new re(this),this.name=new rr(this),this.cmap=new Ne(this),this.toUnicode=new Map,this.hhea=new Ke(this),this.maxp=new dr(this),this.hmtx=new Pt(this),this.post=new ct(this),this.os2=new Qe(this),this.loca=new ot(this),this.glyf=new Ct(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},Ye.prototype.registerTTF=function(){var $e,Je,it,ft,ht;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var st,kt,Tt,ar;for(ar=[],st=0,kt=(Tt=this.bbox).length;st<kt;st++)$e=Tt[st],ar.push(Math.round($e*this.scaleFactor));return ar}.call(this),this.stemV=0,this.post.exists?(it=255&(ft=this.post.italic_angle),!0&(Je=ft>>16)&&(Je=-(1+(65535^Je))),this.italicAngle=+(Je+"."+it)):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=(ht=this.familyClass)===1||ht===2||ht===3||ht===4||ht===5||ht===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},Ye.prototype.characterToGlyph=function($e){var Je;return((Je=this.cmap.unicode)!=null?Je.codeMap[$e]:void 0)||0},Ye.prototype.widthOfGlyph=function($e){var Je;return Je=1e3/this.head.unitsPerEm,this.hmtx.forGlyph($e).advance*Je},Ye.prototype.widthOfString=function($e,Je,it){var ft,ht,st,kt,Tt;for(ht=kt=st=0,Tt=($e=""+$e).length;0<=Tt?kt<Tt:Tt<kt;ht=0<=Tt?++kt:--kt)ft=$e.charCodeAt(ht),st+=this.widthOfGlyph(this.characterToGlyph(ft))+it*(1e3/Je)||0;return st*(Je/1e3)},Ye.prototype.lineHeight=function($e,Je){var it;return Je==null&&(Je=!1),it=Je?this.lineGap:0,(this.ascender+it-this.decender)/1e3*$e},Ye}();var xt,It=function(){function Ye($e){this.data=$e!=null?$e:[],this.pos=0,this.length=this.data.length}return Ye.prototype.readByte=function(){return this.data[this.pos++]},Ye.prototype.writeByte=function($e){return this.data[this.pos++]=$e},Ye.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},Ye.prototype.writeUInt32=function($e){return this.writeByte($e>>>24&255),this.writeByte($e>>16&255),this.writeByte($e>>8&255),this.writeByte(255&$e)},Ye.prototype.readInt32=function(){var $e;return 2147483648<=($e=this.readUInt32())?$e-4294967296:$e},Ye.prototype.writeInt32=function($e){return $e<0&&($e+=4294967296),this.writeUInt32($e)},Ye.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},Ye.prototype.writeUInt16=function($e){return this.writeByte($e>>8&255),this.writeByte(255&$e)},Ye.prototype.readInt16=function(){var $e;return 32768<=($e=this.readUInt16())?$e-65536:$e},Ye.prototype.writeInt16=function($e){return $e<0&&($e+=65536),this.writeUInt16($e)},Ye.prototype.readString=function($e){var Je,it,ft;for(it=[],Je=ft=0;0<=$e?ft<$e:$e<ft;Je=0<=$e?++ft:--ft)it[Je]=String.fromCharCode(this.readByte());return it.join("")},Ye.prototype.writeString=function($e){var Je,it,ft,ht;for(ht=[],Je=it=0,ft=$e.length;0<=ft?it<ft:ft<it;Je=0<=ft?++it:--it)ht.push(this.writeByte($e.charCodeAt(Je)));return ht},Ye.prototype.readShort=function(){return this.readInt16()},Ye.prototype.writeShort=function($e){return this.writeInt16($e)},Ye.prototype.readLongLong=function(){var $e,Je,it,ft,ht,st,kt,Tt;return $e=this.readByte(),Je=this.readByte(),it=this.readByte(),ft=this.readByte(),ht=this.readByte(),st=this.readByte(),kt=this.readByte(),Tt=this.readByte(),128&$e?-1*(72057594037927940*(255^$e)+281474976710656*(255^Je)+1099511627776*(255^it)+4294967296*(255^ft)+16777216*(255^ht)+65536*(255^st)+256*(255^kt)+(255^Tt)+1):72057594037927940*$e+281474976710656*Je+1099511627776*it+4294967296*ft+16777216*ht+65536*st+256*kt+Tt},Ye.prototype.writeLongLong=function($e){var Je,it;return Je=Math.floor($e/4294967296),it=4294967295&$e,this.writeByte(Je>>24&255),this.writeByte(Je>>16&255),this.writeByte(Je>>8&255),this.writeByte(255&Je),this.writeByte(it>>24&255),this.writeByte(it>>16&255),this.writeByte(it>>8&255),this.writeByte(255&it)},Ye.prototype.readInt=function(){return this.readInt32()},Ye.prototype.writeInt=function($e){return this.writeInt32($e)},Ye.prototype.read=function($e){var Je,it;for(Je=[],it=0;0<=$e?it<$e:$e<it;0<=$e?++it:--it)Je.push(this.readByte());return Je},Ye.prototype.write=function($e){var Je,it,ft,ht;for(ht=[],it=0,ft=$e.length;it<ft;it++)Je=$e[it],ht.push(this.writeByte(Je));return ht},Ye}(),ir=function(){var Ye;function $e(Je){var it,ft,ht;for(this.scalarType=Je.readInt(),this.tableCount=Je.readShort(),this.searchRange=Je.readShort(),this.entrySelector=Je.readShort(),this.rangeShift=Je.readShort(),this.tables={},ft=0,ht=this.tableCount;0<=ht?ft<ht:ht<ft;0<=ht?++ft:--ft)it={tag:Je.readString(4),checksum:Je.readInt(),offset:Je.readInt(),length:Je.readInt()},this.tables[it.tag]=it}return $e.prototype.encode=function(Je){var it,ft,ht,st,kt,Tt,ar,Qt,Er,Ir,jr,zr,hn;for(hn in jr=Object.keys(Je).length,Tt=Math.log(2),Er=16*Math.floor(Math.log(jr)/Tt),st=Math.floor(Er/Tt),Qt=16*jr-Er,(ft=new It).writeInt(this.scalarType),ft.writeShort(jr),ft.writeShort(Er),ft.writeShort(st),ft.writeShort(Qt),ht=16*jr,ar=ft.pos+ht,kt=null,zr=[],Je)for(Ir=Je[hn],ft.writeString(hn),ft.writeInt(Ye(Ir)),ft.writeInt(ar),ft.writeInt(Ir.length),zr=zr.concat(Ir),hn==="head"&&(kt=ar),ar+=Ir.length;ar%4;)zr.push(0),ar++;return ft.write(zr),it=2981146554-Ye(ft.data),ft.pos=kt+8,ft.writeUInt32(it),ft.data},Ye=function(it){var ft,ht,st,kt;for(it=jt.call(it);it.length%4;)it.push(0);for(ht=new It(it),st=ft=0,kt=it.length;st<kt;st+=4)ft+=ht.readUInt32();return 4294967295&ft},$e}(),Me={}.hasOwnProperty,ke=function($e,Je){for(var it in Je)Me.call(Je,it)&&($e[it]=Je[it]);function ft(){this.constructor=$e}return ft.prototype=Je.prototype,$e.prototype=new ft,$e.__super__=Je.prototype,$e};xt=function(){function Ye($e){var Je;this.file=$e,Je=this.file.directory.tables[this.tag],this.exists=!!Je,Je&&(this.offset=Je.offset,this.length=Je.length,this.parse(this.file.contents))}return Ye.prototype.parse=function(){},Ye.prototype.encode=function(){},Ye.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},Ye}();var re=function(Ye){function $e(){return $e.__super__.constructor.apply(this,arguments)}return ke($e,xt),$e.prototype.tag="head",$e.prototype.parse=function(Je){return Je.pos=this.offset,this.version=Je.readInt(),this.revision=Je.readInt(),this.checkSumAdjustment=Je.readInt(),this.magicNumber=Je.readInt(),this.flags=Je.readShort(),this.unitsPerEm=Je.readShort(),this.created=Je.readLongLong(),this.modified=Je.readLongLong(),this.xMin=Je.readShort(),this.yMin=Je.readShort(),this.xMax=Je.readShort(),this.yMax=Je.readShort(),this.macStyle=Je.readShort(),this.lowestRecPPEM=Je.readShort(),this.fontDirectionHint=Je.readShort(),this.indexToLocFormat=Je.readShort(),this.glyphDataFormat=Je.readShort()},$e.prototype.encode=function(Je){var it;return(it=new It).writeInt(this.version),it.writeInt(this.revision),it.writeInt(this.checkSumAdjustment),it.writeInt(this.magicNumber),it.writeShort(this.flags),it.writeShort(this.unitsPerEm),it.writeLongLong(this.created),it.writeLongLong(this.modified),it.writeShort(this.xMin),it.writeShort(this.yMin),it.writeShort(this.xMax),it.writeShort(this.yMax),it.writeShort(this.macStyle),it.writeShort(this.lowestRecPPEM),it.writeShort(this.fontDirectionHint),it.writeShort(Je),it.writeShort(this.glyphDataFormat),it.data},$e}(),be=function(){function Ye($e,Je){var it,ft,ht,st,kt,Tt,ar,Qt,Er,Ir,jr,zr,hn,gn,Br,ln,Xr,cr;switch(this.platformID=$e.readUInt16(),this.encodingID=$e.readShort(),this.offset=Je+$e.readInt(),Er=$e.pos,$e.pos=this.offset,this.format=$e.readUInt16(),this.length=$e.readUInt16(),this.language=$e.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(Tt=Br=0;Br<256;Tt=++Br)this.codeMap[Tt]=$e.readByte();break;case 4:for(jr=$e.readUInt16(),Ir=jr/2,$e.pos+=6,ht=function(){var wr,hr;for(hr=[],Tt=wr=0;0<=Ir?wr<Ir:Ir<wr;Tt=0<=Ir?++wr:--wr)hr.push($e.readUInt16());return hr}(),$e.pos+=2,hn=function(){var wr,hr;for(hr=[],Tt=wr=0;0<=Ir?wr<Ir:Ir<wr;Tt=0<=Ir?++wr:--wr)hr.push($e.readUInt16());return hr}(),ar=function(){var wr,hr;for(hr=[],Tt=wr=0;0<=Ir?wr<Ir:Ir<wr;Tt=0<=Ir?++wr:--wr)hr.push($e.readUInt16());return hr}(),Qt=function(){var wr,hr;for(hr=[],Tt=wr=0;0<=Ir?wr<Ir:Ir<wr;Tt=0<=Ir?++wr:--wr)hr.push($e.readUInt16());return hr}(),ft=(this.length-$e.pos+this.offset)/2,kt=function(){var wr,hr;for(hr=[],Tt=wr=0;0<=ft?wr<ft:ft<wr;Tt=0<=ft?++wr:--wr)hr.push($e.readUInt16());return hr}(),Tt=ln=0,cr=ht.length;ln<cr;Tt=++ln)for(gn=ht[Tt],it=Xr=zr=hn[Tt];zr<=gn?Xr<=gn:gn<=Xr;it=zr<=gn?++Xr:--Xr)Qt[Tt]===0?st=it+ar[Tt]:(st=kt[Qt[Tt]/2+(it-zr)-(Ir-Tt)]||0)!==0&&(st+=ar[Tt]),this.codeMap[it]=65535&st}$e.pos=Er}return Ye.encode=function($e,Je){var it,ft,ht,st,kt,Tt,ar,Qt,Er,Ir,jr,zr,hn,gn,Br,ln,Xr,cr,wr,hr,Ar,kr,nn,wn,oi,tn,Vn,On,$n,Qn,ei,zi,hi,Bn,sn,ta,ua,fa,Bi,pa,ui,ba,Dn,Pn,Yn,Jn;switch(On=new It,st=Object.keys($e).sort(function(ni,Fi){return ni-Fi}),Je){case"macroman":for(hn=0,gn=function(){var ni,Fi;for(Fi=[],zr=ni=0;ni<256;zr=++ni)Fi.push(0);return Fi}(),ln={0:0},ht={},$n=0,hi=st.length;$n<hi;$n++)ln[Dn=$e[ft=st[$n]]]==null&&(ln[Dn]=++hn),ht[ft]={old:$e[ft],new:ln[$e[ft]]},gn[ft]=ln[$e[ft]];return On.writeUInt16(1),On.writeUInt16(0),On.writeUInt32(12),On.writeUInt16(0),On.writeUInt16(262),On.writeUInt16(0),On.write(gn),{charMap:ht,subtable:On.data,maxGlyphID:hn+1};case"unicode":for(tn=[],Er=[],ln={},it={},Br=ar=null,Qn=Xr=0,Bn=st.length;Qn<Bn;Qn++)ln[wr=$e[ft=st[Qn]]]==null&&(ln[wr]=++Xr),it[ft]={old:wr,new:ln[wr]},kt=ln[wr]-ft,Br!=null&&kt===ar||(Br&&Er.push(Br),tn.push(ft),ar=kt),Br=ft;for(Br&&Er.push(Br),Er.push(65535),tn.push(65535),wn=2*(nn=tn.length),kr=2*Math.pow(Math.log(nn)/Math.LN2,2),Ir=Math.log(kr/2)/Math.LN2,Ar=2*nn-kr,Tt=[],hr=[],jr=[],zr=ei=0,sn=tn.length;ei<sn;zr=++ei){if(oi=tn[zr],Qt=Er[zr],oi===65535){Tt.push(0),hr.push(0);break}if(32768<=oi-(Vn=it[oi].new))for(Tt.push(0),hr.push(2*(jr.length+nn-zr)),ft=zi=oi;oi<=Qt?zi<=Qt:Qt<=zi;ft=oi<=Qt?++zi:--zi)jr.push(it[ft].new);else Tt.push(Vn-oi),hr.push(0)}for(On.writeUInt16(3),On.writeUInt16(1),On.writeUInt32(12),On.writeUInt16(4),On.writeUInt16(16+8*nn+2*jr.length),On.writeUInt16(0),On.writeUInt16(wn),On.writeUInt16(kr),On.writeUInt16(Ir),On.writeUInt16(Ar),ui=0,ta=Er.length;ui<ta;ui++)ft=Er[ui],On.writeUInt16(ft);for(On.writeUInt16(0),ba=0,ua=tn.length;ba<ua;ba++)ft=tn[ba],On.writeUInt16(ft);for(Pn=0,fa=Tt.length;Pn<fa;Pn++)kt=Tt[Pn],On.writeUInt16(kt);for(Yn=0,Bi=hr.length;Yn<Bi;Yn++)cr=hr[Yn],On.writeUInt16(cr);for(Jn=0,pa=jr.length;Jn<pa;Jn++)hn=jr[Jn],On.writeUInt16(hn);return{charMap:it,subtable:On.data,maxGlyphID:Xr+1}}},Ye}(),Ne=function(Ye){function $e(){return $e.__super__.constructor.apply(this,arguments)}return ke($e,xt),$e.prototype.tag="cmap",$e.prototype.parse=function(Je){var it,ft,ht;for(Je.pos=this.offset,this.version=Je.readUInt16(),ft=Je.readUInt16(),this.tables=[],this.unicode=null,ht=0;0<=ft?ht<ft:ft<ht;0<=ft?++ht:--ht)it=new be(Je,this.offset),this.tables.push(it),it.isUnicode&&this.unicode==null&&(this.unicode=it);return!0},$e.encode=function(Je,it){var ft,ht;return it==null&&(it="macroman"),ft=be.encode(Je,it),(ht=new It).writeUInt16(0),ht.writeUInt16(1),ft.table=ht.data.concat(ft.subtable),ft},$e}(),Ke=function(Ye){function $e(){return $e.__super__.constructor.apply(this,arguments)}return ke($e,xt),$e.prototype.tag="hhea",$e.prototype.parse=function(Je){return Je.pos=this.offset,this.version=Je.readInt(),this.ascender=Je.readShort(),this.decender=Je.readShort(),this.lineGap=Je.readShort(),this.advanceWidthMax=Je.readShort(),this.minLeftSideBearing=Je.readShort(),this.minRightSideBearing=Je.readShort(),this.xMaxExtent=Je.readShort(),this.caretSlopeRise=Je.readShort(),this.caretSlopeRun=Je.readShort(),this.caretOffset=Je.readShort(),Je.pos+=8,this.metricDataFormat=Je.readShort(),this.numberOfMetrics=Je.readUInt16()},$e}(),Qe=function(Ye){function $e(){return $e.__super__.constructor.apply(this,arguments)}return ke($e,xt),$e.prototype.tag="OS/2",$e.prototype.parse=function(Je){if(Je.pos=this.offset,this.version=Je.readUInt16(),this.averageCharWidth=Je.readShort(),this.weightClass=Je.readUInt16(),this.widthClass=Je.readUInt16(),this.type=Je.readShort(),this.ySubscriptXSize=Je.readShort(),this.ySubscriptYSize=Je.readShort(),this.ySubscriptXOffset=Je.readShort(),this.ySubscriptYOffset=Je.readShort(),this.ySuperscriptXSize=Je.readShort(),this.ySuperscriptYSize=Je.readShort(),this.ySuperscriptXOffset=Je.readShort(),this.ySuperscriptYOffset=Je.readShort(),this.yStrikeoutSize=Je.readShort(),this.yStrikeoutPosition=Je.readShort(),this.familyClass=Je.readShort(),this.panose=function(){var it,ft;for(ft=[],it=0;it<10;++it)ft.push(Je.readByte());return ft}(),this.charRange=function(){var it,ft;for(ft=[],it=0;it<4;++it)ft.push(Je.readInt());return ft}(),this.vendorID=Je.readString(4),this.selection=Je.readShort(),this.firstCharIndex=Je.readShort(),this.lastCharIndex=Je.readShort(),0<this.version&&(this.ascent=Je.readShort(),this.descent=Je.readShort(),this.lineGap=Je.readShort(),this.winAscent=Je.readShort(),this.winDescent=Je.readShort(),this.codePageRange=function(){var it,ft;for(ft=[],it=0;it<2;++it)ft.push(Je.readInt());return ft}(),1<this.version))return this.xHeight=Je.readShort(),this.capHeight=Je.readShort(),this.defaultChar=Je.readShort(),this.breakChar=Je.readShort(),this.maxContext=Je.readShort()},$e}(),ct=function(Ye){function $e(){return $e.__super__.constructor.apply(this,arguments)}return ke($e,xt),$e.prototype.tag="post",$e.prototype.parse=function(Je){var it,ft,ht,st;switch(Je.pos=this.offset,this.format=Je.readInt(),this.italicAngle=Je.readInt(),this.underlinePosition=Je.readShort(),this.underlineThickness=Je.readShort(),this.isFixedPitch=Je.readInt(),this.minMemType42=Je.readInt(),this.maxMemType42=Je.readInt(),this.minMemType1=Je.readInt(),this.maxMemType1=Je.readInt(),this.format){case 65536:break;case 131072:for(ft=Je.readUInt16(),this.glyphNameIndex=[],ht=0;0<=ft?ht<ft:ft<ht;0<=ft?++ht:--ht)this.glyphNameIndex.push(Je.readUInt16());for(this.names=[],st=[];Je.pos<this.offset+this.length;)it=Je.readByte(),st.push(this.names.push(Je.readString(it)));return st;case 151552:return ft=Je.readUInt16(),this.offsets=Je.read(ft);case 196608:break;case 262144:return this.map=function(){var kt,Tt,ar;for(ar=[],kt=0,Tt=this.file.maxp.numGlyphs;0<=Tt?kt<Tt:Tt<kt;0<=Tt?++kt:--kt)ar.push(Je.readUInt32());return ar}.call(this)}},$e}(),Lt=function($e,Je){this.raw=$e,this.length=$e.length,this.platformID=Je.platformID,this.encodingID=Je.encodingID,this.languageID=Je.languageID},rr=function(Ye){function $e(){return $e.__super__.constructor.apply(this,arguments)}return ke($e,xt),$e.prototype.tag="name",$e.prototype.parse=function(Je){var it,ft,ht,st,kt,Tt,ar,Qt,Er,Ir,jr,zr;for(Je.pos=this.offset,Je.readShort(),it=Je.readShort(),Tt=Je.readShort(),ft=[],st=Er=0;0<=it?Er<it:it<Er;st=0<=it?++Er:--Er)ft.push({platformID:Je.readShort(),encodingID:Je.readShort(),languageID:Je.readShort(),nameID:Je.readShort(),length:Je.readShort(),offset:this.offset+Tt+Je.readShort()});for(ar={},st=Ir=0,jr=ft.length;Ir<jr;st=++Ir)ht=ft[st],Je.pos=ht.offset,Qt=Je.readString(ht.length),kt=new Lt(Qt,ht),ar[zr=ht.nameID]==null&&(ar[zr]=[]),ar[ht.nameID].push(kt);this.strings=ar,this.copyright=ar[0],this.fontFamily=ar[1],this.fontSubfamily=ar[2],this.uniqueSubfamily=ar[3],this.fontName=ar[4],this.version=ar[5];try{this.postscriptName=ar[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(hn){this.postscriptName=ar[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=ar[7],this.manufacturer=ar[8],this.designer=ar[9],this.description=ar[10],this.vendorUrl=ar[11],this.designerUrl=ar[12],this.license=ar[13],this.licenseUrl=ar[14],this.preferredFamily=ar[15],this.preferredSubfamily=ar[17],this.compatibleFull=ar[18],this.sampleText=ar[19]},$e}(),dr=function(Ye){function $e(){return $e.__super__.constructor.apply(this,arguments)}return ke($e,xt),$e.prototype.tag="maxp",$e.prototype.parse=function(Je){return Je.pos=this.offset,this.version=Je.readInt(),this.numGlyphs=Je.readUInt16(),this.maxPoints=Je.readUInt16(),this.maxContours=Je.readUInt16(),this.maxCompositePoints=Je.readUInt16(),this.maxComponentContours=Je.readUInt16(),this.maxZones=Je.readUInt16(),this.maxTwilightPoints=Je.readUInt16(),this.maxStorage=Je.readUInt16(),this.maxFunctionDefs=Je.readUInt16(),this.maxInstructionDefs=Je.readUInt16(),this.maxStackElements=Je.readUInt16(),this.maxSizeOfInstructions=Je.readUInt16(),this.maxComponentElements=Je.readUInt16(),this.maxComponentDepth=Je.readUInt16()},$e}(),Pt=function(Ye){function $e(){return $e.__super__.constructor.apply(this,arguments)}return ke($e,xt),$e.prototype.tag="hmtx",$e.prototype.parse=function(Je){var it,ft,ht,st,kt,Tt,ar;for(Je.pos=this.offset,this.metrics=[],st=0,Tt=this.file.hhea.numberOfMetrics;0<=Tt?st<Tt:Tt<st;0<=Tt?++st:--st)this.metrics.push({advance:Je.readUInt16(),lsb:Je.readInt16()});for(ft=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var Qt,Er;for(Er=[],Qt=0;0<=ft?Qt<ft:ft<Qt;0<=ft?++Qt:--Qt)Er.push(Je.readInt16());return Er}(),this.widths=function(){var Qt,Er,Ir,jr;for(jr=[],Qt=0,Er=(Ir=this.metrics).length;Qt<Er;Qt++)ht=Ir[Qt],jr.push(ht.advance);return jr}.call(this),it=this.widths[this.widths.length-1],ar=[],kt=0;0<=ft?kt<ft:ft<kt;0<=ft?++kt:--kt)ar.push(this.widths.push(it));return ar},$e.prototype.forGlyph=function(Je){return Je in this.metrics?this.metrics[Je]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[Je-this.metrics.length]}},$e}(),jt=[].slice,Ct=function(Ye){function $e(){return $e.__super__.constructor.apply(this,arguments)}return ke($e,xt),$e.prototype.tag="glyf",$e.prototype.parse=function(Je){return this.cache={}},$e.prototype.glyphFor=function(Je){var it,ft,ht,st,kt,Tt,ar,Qt,Er,Ir;return(Je=Je)in this.cache?this.cache[Je]:(st=this.file.loca,it=this.file.contents,ft=st.indexOf(Je),(ht=st.lengthOf(Je))===0?this.cache[Je]=null:(it.pos=this.offset+ft,kt=(Tt=new It(it.read(ht))).readShort(),Qt=Tt.readShort(),Ir=Tt.readShort(),ar=Tt.readShort(),Er=Tt.readShort(),this.cache[Je]=kt===-1?new pt(Tt,Qt,Ir,ar,Er):new Rt(Tt,kt,Qt,Ir,ar,Er),this.cache[Je]))},$e.prototype.encode=function(Je,it,ft){var ht,st,kt,Tt,ar;for(kt=[],st=[],Tt=0,ar=it.length;Tt<ar;Tt++)ht=Je[it[Tt]],st.push(kt.length),ht&&(kt=kt.concat(ht.encode(ft)));return st.push(kt.length),{table:kt,offsets:st}},$e}(),Rt=function(){function Ye($e,Je,it,ft,ht,st){this.raw=$e,this.numberOfContours=Je,this.xMin=it,this.yMin=ft,this.xMax=ht,this.yMax=st,this.compound=!1}return Ye.prototype.encode=function(){return this.raw.data},Ye}(),pt=function(){function Ye($e,Je,it,ft,ht){var st,kt;for(this.raw=$e,this.xMin=Je,this.yMin=it,this.xMax=ft,this.yMax=ht,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],st=this.raw;kt=st.readShort(),this.glyphOffsets.push(st.pos),this.glyphIDs.push(st.readShort()),32&kt;)st.pos+=1&kt?4:2,128&kt?st.pos+=8:64&kt?st.pos+=4:8&kt&&(st.pos+=2)}return Ye.prototype.encode=function($e){var Je,it,ft,ht,st;for(it=new It(jt.call(this.raw.data)),Je=ft=0,ht=(st=this.glyphIDs).length;ft<ht;Je=++ft)st[Je],it.pos=this.glyphOffsets[Je];return it.data},Ye}(),ot=function(Ye){function $e(){return $e.__super__.constructor.apply(this,arguments)}return ke($e,xt),$e.prototype.tag="loca",$e.prototype.parse=function(Je){var it;return Je.pos=this.offset,it=this.file.head.indexToLocFormat,this.offsets=it===0?function(){var ft,ht,st;for(st=[],ft=0,ht=this.length;ft<ht;ft+=2)st.push(2*Je.readUInt16());return st}.call(this):function(){var ft,ht,st;for(st=[],ft=0,ht=this.length;ft<ht;ft+=4)st.push(Je.readUInt32());return st}.call(this)},$e.prototype.indexOf=function(Je){return this.offsets[Je]},$e.prototype.lengthOf=function(Je){return this.offsets[Je+1]-this.offsets[Je]},$e.prototype.encode=function(Je,it){for(var ft=new Uint32Array(this.offsets.length),ht=0,st=0,kt=0;kt<ft.length;++kt)if(ft[kt]=ht,st<it.length&&it[st]==kt){++st,ft[kt]=ht;var Tt=this.offsets[kt],ar=this.offsets[kt+1]-Tt;0<ar&&(ht+=ar)}for(var Qt=new Array(4*ft.length),Er=0;Er<ft.length;++Er)Qt[4*Er+3]=255&ft[Er],Qt[4*Er+2]=(65280&ft[Er])>>8,Qt[4*Er+1]=(16711680&ft[Er])>>16,Qt[4*Er]=(4278190080&ft[Er])>>24;return Qt},$e}(),gt=function(){function Ye($e){this.font=$e,this.subset={},this.unicodes={},this.next=33}return Ye.prototype.generateCmap=function(){var $e,Je,it,ft,ht;for(Je in ft=this.font.cmap.tables[0].codeMap,$e={},ht=this.subset)it=ht[Je],$e[Je]=ft[it];return $e},Ye.prototype.glyphsFor=function($e){var Je,it,ft,ht,st,kt,Tt;for(ft={},st=0,kt=$e.length;st<kt;st++)ft[ht=$e[st]]=this.font.glyf.glyphFor(ht);for(ht in Je=[],ft)((it=ft[ht])!=null?it.compound:void 0)&&Je.push.apply(Je,it.glyphIDs);if(0<Je.length)for(ht in Tt=this.glyphsFor(Je))it=Tt[ht],ft[ht]=it;return ft},Ye.prototype.encode=function($e,Je){var it,ft,ht,st,kt,Tt,ar,Qt,Er,Ir,jr,zr,hn,gn,Br;for(ft in it=Ne.encode(this.generateCmap(),"unicode"),st=this.glyphsFor($e),jr={0:0},Br=it.charMap)jr[(Tt=Br[ft]).old]=Tt.new;for(zr in Ir=it.maxGlyphID,st)zr in jr||(jr[zr]=Ir++);return Qt=function(ln){var Xr,cr;for(Xr in cr={},ln)cr[ln[Xr]]=Xr;return cr}(jr),Er=Object.keys(Qt).sort(function(ln,Xr){return ln-Xr}),hn=function(){var ln,Xr,cr;for(cr=[],ln=0,Xr=Er.length;ln<Xr;ln++)kt=Er[ln],cr.push(Qt[kt]);return cr}(),ht=this.font.glyf.encode(st,hn,jr),ar=this.font.loca.encode(ht.offsets,hn),gn={cmap:this.font.cmap.raw(),glyf:ht.table,loca:ar,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(Je)},this.font.os2.exists&&(gn["OS/2"]=this.font.os2.raw()),this.font.directory.encode(gn)},Ye}();ce.API.PDFObject=function(){var Ye;function $e(){}return Ye=function(it,ft){return(Array(ft+1).join("0")+it).slice(-ft)},$e.convert=function(Je){var it,ft,ht,st;if(Array.isArray(Je))return"["+function(){var kt,Tt,ar;for(ar=[],kt=0,Tt=Je.length;kt<Tt;kt++)it=Je[kt],ar.push($e.convert(it));return ar}().join(" ")+"]";if(typeof Je=="string")return"/"+Je;if(Je!=null?Je.isString:void 0)return"("+Je+")";if(Je instanceof Date)return"(D:"+Ye(Je.getUTCFullYear(),4)+Ye(Je.getUTCMonth(),2)+Ye(Je.getUTCDate(),2)+Ye(Je.getUTCHours(),2)+Ye(Je.getUTCMinutes(),2)+Ye(Je.getUTCSeconds(),2)+"Z)";if({}.toString.call(Je)!=="[object Object]")return""+Je;for(ft in ht=["<<"],Je)st=Je[ft],ht.push("/"+ft+" "+$e.convert(st));return ht.push(">>"),ht.join(`
|
|
|
`)},$e}()}(ut),at=typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof y!="undefined"&&y||Function('return typeof this === "object" && this.content')()||Function("return this")(),Ae=function(){var ce,le,oe;function fe(De){var He,je,We,nt,xt,It,ir,Me,ke,re,be,Ne,Ke,Qe;for(this.data=De,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},It=null;;){switch(He=this.readUInt32(),ke=function(){var ct,Lt;for(Lt=[],ct=0;ct<4;++ct)Lt.push(String.fromCharCode(this.data[this.pos++]));return Lt}.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(He);break;case"fcTL":It&&this.animation.frames.push(It),this.pos+=4,It={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},xt=this.readUInt16(),nt=this.readUInt16()||100,It.delay=1e3*xt/nt,It.disposeOp=this.data[this.pos++],It.blendOp=this.data[this.pos++],It.data=[];break;case"IDAT":case"fdAT":for(ke==="fdAT"&&(this.pos+=4,He-=4),De=(It!=null?It.data:void 0)||this.imgData,Ne=0;0<=He?Ne<He:He<Ne;0<=He?++Ne:--Ne)De.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(We=this.palette.length/3,this.transparency.indexed=this.read(He),this.transparency.indexed.length>We)throw new Error("More transparent colors than palette size");if(0<(re=We-this.transparency.indexed.length))for(Ke=0;0<=re?Ke<re:re<Ke;0<=re?++Ke:--Ke)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(He)[0];break;case 2:this.transparency.rgb=this.read(He)}break;case"tEXt":ir=(be=this.read(He)).indexOf(0),Me=String.fromCharCode.apply(String,be.slice(0,ir)),this.text[Me]=String.fromCharCode.apply(String,be.slice(ir+1));break;case"IEND":return It&&this.animation.frames.push(It),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(Qe=this.colorType)===4||Qe===6,je=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*je,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+=He}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}fe.load=function(De,He,je){var We;return typeof He=="function"&&(je=He),(We=new XMLHttpRequest).open("GET",De,!0),We.responseType="arraybuffer",We.onload=function(){var nt;return nt=new fe(new Uint8Array(We.response||We.mozResponseArrayBuffer)),typeof(He!=null?He.getContext:void 0)=="function"&&nt.render(He),typeof je=="function"?je(nt):void 0},We.send(null)},fe.prototype.read=function(De){var He,je;for(je=[],He=0;0<=De?He<De:De<He;0<=De?++He:--He)je.push(this.data[this.pos++]);return je},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(De){var He=this.pixelBitlength/8,je=new Uint8Array(this.width*this.height*He),We=0,nt=this;if(De==null&&(De=this.imgData),De.length===0)return new Uint8Array(0);function xt(It,ir,Me,ke){var re,be,Ne,Ke,Qe,ct,Lt,rr,dr,Pt,jt,Ct,Rt,pt,ot,gt,Ye,$e,Je,it,ft,ht=Math.ceil((nt.width-It)/Me),st=Math.ceil((nt.height-ir)/ke),kt=nt.width==ht&&nt.height==st;for(pt=He*ht,Ct=kt?je:new Uint8Array(pt*st),ct=De.length,be=Rt=0;Rt<st&&We<ct;){switch(De[We++]){case 0:for(Ke=Ye=0;Ye<pt;Ke=Ye+=1)Ct[be++]=De[We++];break;case 1:for(Ke=$e=0;$e<pt;Ke=$e+=1)re=De[We++],Qe=Ke<He?0:Ct[be-He],Ct[be++]=(re+Qe)%256;break;case 2:for(Ke=Je=0;Je<pt;Ke=Je+=1)re=De[We++],Ne=(Ke-Ke%He)/He,ot=Rt&&Ct[(Rt-1)*pt+Ne*He+Ke%He],Ct[be++]=(ot+re)%256;break;case 3:for(Ke=it=0;it<pt;Ke=it+=1)re=De[We++],Ne=(Ke-Ke%He)/He,Qe=Ke<He?0:Ct[be-He],ot=Rt&&Ct[(Rt-1)*pt+Ne*He+Ke%He],Ct[be++]=(re+Math.floor((Qe+ot)/2))%256;break;case 4:for(Ke=ft=0;ft<pt;Ke=ft+=1)re=De[We++],Ne=(Ke-Ke%He)/He,Qe=Ke<He?0:Ct[be-He],Rt===0?ot=gt=0:(ot=Ct[(Rt-1)*pt+Ne*He+Ke%He],gt=Ne&&Ct[(Rt-1)*pt+(Ne-1)*He+Ke%He]),Lt=Qe+ot-gt,rr=Math.abs(Lt-Qe),Pt=Math.abs(Lt-ot),jt=Math.abs(Lt-gt),dr=rr<=Pt&&rr<=jt?Qe:Pt<=jt?ot:gt,Ct[be++]=(re+dr)%256;break;default:throw new Error("Invalid filter algorithm: "+De[We-1])}if(!kt){var Tt=((ir+Rt*ke)*nt.width+It)*He,ar=Rt*pt;for(Ke=0;Ke<ht;Ke+=1){for(var Qt=0;Qt<He;Qt+=1)je[Tt++]=Ct[ar++];Tt+=(Me-1)*He}}Rt++}}return De=(De=new mt(De)).getBytes(),nt.interlaceMethod==1?(xt(0,0,8,8),xt(4,0,8,8),xt(0,4,4,8),xt(2,0,4,4),xt(0,2,2,4),xt(1,0,2,2),xt(0,1,1,2)):xt(0,0,1,1),je},fe.prototype.decodePalette=function(){var De,He,je,We,nt,xt,It,ir,Me;for(je=this.palette,xt=this.transparency.indexed||[],nt=new Uint8Array((xt.length||0)+je.length),We=0,je.length,He=It=De=0,ir=je.length;It<ir;He=It+=3)nt[We++]=je[He],nt[We++]=je[He+1],nt[We++]=je[He+2],nt[We++]=(Me=xt[De++])!=null?Me:255;return nt},fe.prototype.copyToImageData=function(De,He){var je,We,nt,xt,It,ir,Me,ke,re,be,Ne;if(We=this.colors,re=null,je=this.hasAlphaChannel,this.palette.length&&(re=(Ne=this._decodedPalette)!=null?Ne:this._decodedPalette=this.decodePalette(),We=4,je=!0),ke=(nt=De.data||De).length,It=re||He,xt=ir=0,We===1)for(;xt<ke;)Me=re?4*He[xt/4]:ir,be=It[Me++],nt[xt++]=be,nt[xt++]=be,nt[xt++]=be,nt[xt++]=je?It[Me++]:255,ir=Me;else for(;xt<ke;)Me=re?4*He[xt/4]:ir,nt[xt++]=It[Me++],nt[xt++]=It[Me++],nt[xt++]=It[Me++],nt[xt++]=je?It[Me++]:255,ir=Me},fe.prototype.decode=function(){var De;return De=new Uint8Array(this.width*this.height*4),this.copyToImageData(De,this.decodePixels()),De};try{le=at.document.createElement("canvas"),oe=le.getContext("2d")}catch(De){return-1}return ce=function(He){var je;return oe.width=He.width,oe.height=He.height,oe.clearRect(0,0,He.width,He.height),oe.putImageData(He,0,0),(je=new Image).src=le.toDataURL(),je},fe.prototype.decodeFrames=function(De){var He,je,We,nt,xt,It,ir,Me;if(this.animation){for(Me=[],je=xt=0,It=(ir=this.animation.frames).length;xt<It;je=++xt)He=ir[je],We=De.createImageData(He.width,He.height),nt=this.decodePixels(new Uint8Array(He.data)),this.copyToImageData(We,nt),He.imageData=We,Me.push(He.image=ce(We));return Me}},fe.prototype.renderFrame=function(De,He){var je,We,nt;return je=(We=this.animation.frames)[He],nt=We[He-1],He===0&&De.clearRect(0,0,this.width,this.height),(nt!=null?nt.disposeOp:void 0)===1?De.clearRect(nt.xOffset,nt.yOffset,nt.width,nt.height):(nt!=null?nt.disposeOp:void 0)===2&&De.putImageData(nt.imageData,nt.xOffset,nt.yOffset),je.blendOp===0&&De.clearRect(je.xOffset,je.yOffset,je.width,je.height),De.drawImage(je.image,je.xOffset,je.yOffset)},fe.prototype.animate=function(De){var He,je,We,nt,xt,It,ir=this;return je=0,It=this.animation,nt=It.numFrames,We=It.frames,xt=It.numPlays,(He=function(){var ke,re;if(ke=je++%nt,re=We[ke],ir.renderFrame(De,ke),1<nt&&je/nt<xt)return ir.animation._timeout=setTimeout(He,re.delay)})()},fe.prototype.stopAnimation=function(){var De;return clearTimeout((De=this.animation)!=null?De._timeout:void 0)},fe.prototype.render=function(De){var He,je;return De._png&&De._png.stopAnimation(),De._png=this,De.width=this.width,De.height=this.height,He=De.getContext("2d"),this.animation?(this.decodeFrames(He),this.animate(He)):(je=He.createImageData(this.width,this.height),this.copyToImageData(je,this.decodePixels()),He.putImageData(je,0,0))},fe}(),at.PNG=Ae;var vr=function(){function ce(){this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=null}return ce.prototype={ensureBuffer:function(oe){var fe=this.buffer,De=fe?fe.byteLength:0;if(oe<De)return fe;for(var He=512;He<oe;)He<<=1;for(var je=new Uint8Array(He),We=0;We<De;++We)je[We]=fe[We];return this.buffer=je},getByte:function(){for(var oe=this.pos;this.bufferLength<=oe;){if(this.eof)return null;this.readBlock()}return this.buffer[this.pos++]},getBytes:function(oe){var fe=this.pos;if(oe){this.ensureBuffer(fe+oe);for(var De=fe+oe;!this.eof&&this.bufferLength<De;)this.readBlock();var He=this.bufferLength;He<De&&(De=He)}else{for(;!this.eof;)this.readBlock();De=this.bufferLength}return this.pos=De,this.buffer.subarray(fe,De)},lookChar:function(){for(var oe=this.pos;this.bufferLength<=oe;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos])},getChar:function(){for(var oe=this.pos;this.bufferLength<=oe;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos++])},makeSubStream:function(oe,fe,De){for(var He=oe+fe;this.bufferLength<=He&&!this.eof;)this.readBlock();return new Stream(this.buffer,oe,fe,De)},skip:function(oe){oe||(oe=1),this.pos+=oe},reset:function(){this.pos=0}},ce}(),mt=function(){if(typeof Uint32Array!="undefined"){var ce=new Uint32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),le=new Uint32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),oe=new Uint32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),fe=[new Uint32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],De=[new Uint32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5];return(je.prototype=Object.create(vr.prototype)).getBits=function(We){for(var nt,xt=this.codeSize,It=this.codeBuf,ir=this.bytes,Me=this.bytesPos;xt<We;)(nt=ir[Me++])===void 0&&He("Bad encoding in flate stream"),It|=nt<<xt,xt+=8;return nt=It&(1<<We)-1,this.codeBuf=It>>We,this.codeSize=xt-=We,this.bytesPos=Me,nt},je.prototype.getCode=function(We){for(var nt=We[0],xt=We[1],It=this.codeSize,ir=this.codeBuf,Me=this.bytes,ke=this.bytesPos;It<xt;){var re;(re=Me[ke++])===void 0&&He("Bad encoding in flate stream"),ir|=re<<It,It+=8}var be=nt[ir&(1<<xt)-1],Ne=be>>16,Ke=65535&be;return(It==0||It<Ne||Ne==0)&&He("Bad encoding in flate stream"),this.codeBuf=ir>>Ne,this.codeSize=It-Ne,this.bytesPos=ke,Ke},je.prototype.generateHuffmanTable=function(We){for(var nt=We.length,xt=0,It=0;It<nt;++It)We[It]>xt&&(xt=We[It]);for(var ir=1<<xt,Me=new Uint32Array(ir),ke=1,re=0,be=2;ke<=xt;++ke,re<<=1,be<<=1)for(var Ne=0;Ne<nt;++Ne)if(We[Ne]==ke){var Ke=0,Qe=re;for(It=0;It<ke;++It)Ke=Ke<<1|1&Qe,Qe>>=1;for(It=Ke;It<ir;It+=be)Me[It]=ke<<16|Ne;++re}return[Me,xt]},je.prototype.readBlock=function(){function We(st,kt,Tt,ar,Qt){for(var Er=st.getBits(Tt)+ar;0<Er--;)kt[be++]=Qt}var nt=this.getBits(3);if(1&nt&&(this.eof=!0),(nt>>=1)!=0){var xt,It;if(nt==1)xt=fe,It=De;else if(nt==2){for(var ir=this.getBits(5)+257,Me=this.getBits(5)+1,ke=this.getBits(4)+4,re=Array(ce.length),be=0;be<ke;)re[ce[be++]]=this.getBits(3);for(var Ne=this.generateHuffmanTable(re),Ke=0,Qe=(be=0,ir+Me),ct=new Array(Qe);be<Qe;){var Lt=this.getCode(Ne);Lt==16?We(this,ct,2,3,Ke):Lt==17?We(this,ct,3,3,Ke=0):Lt==18?We(this,ct,7,11,Ke=0):ct[be++]=Ke=Lt}xt=this.generateHuffmanTable(ct.slice(0,ir)),It=this.generateHuffmanTable(ct.slice(ir,Qe))}else He("Unknown block type in flate stream");for(var rr=(it=this.buffer)?it.length:0,dr=this.bufferLength;;){var Pt=this.getCode(xt);if(Pt<256)rr<=dr+1&&(rr=(it=this.ensureBuffer(dr+1)).length),it[dr++]=Pt;else{if(Pt==256)return void(this.bufferLength=dr);var jt=(Pt=le[Pt-=257])>>16;0<jt&&(jt=this.getBits(jt)),Ke=(65535&Pt)+jt,Pt=this.getCode(It),0<(jt=(Pt=oe[Pt])>>16)&&(jt=this.getBits(jt));var Ct=(65535&Pt)+jt;rr<=dr+Ke&&(rr=(it=this.ensureBuffer(dr+Ke)).length);for(var Rt=0;Rt<Ke;++Rt,++dr)it[dr]=it[dr-Ct]}}}else{var pt,ot=this.bytes,gt=this.bytesPos;(pt=ot[gt++])===void 0&&He("Bad block header in flate stream");var Ye=pt;(pt=ot[gt++])===void 0&&He("Bad block header in flate stream"),Ye|=pt<<8,(pt=ot[gt++])===void 0&&He("Bad block header in flate stream");var $e=pt;(pt=ot[gt++])===void 0&&He("Bad block header in flate stream"),($e|=pt<<8)!=(65535&~Ye)&&He("Bad uncompressed block length in flate stream"),this.codeBuf=0,this.codeSize=0;var Je=this.bufferLength,it=this.ensureBuffer(Je+Ye),ft=Je+Ye;this.bufferLength=ft;for(var ht=Je;ht<ft;++ht){if((pt=ot[gt++])===void 0){this.eof=!0;break}it[ht]=pt}this.bytesPos=gt}},je}function He(We){throw new Error(We)}function je(We){var nt=0,xt=We[nt++],It=We[nt++];xt!=-1&&It!=-1||He("Invalid header in flate stream"),(15&xt)!=8&&He("Unknown compression method in flate stream"),((xt<<8)+It)%31!=0&&He("Bad FCHECK in flate stream"),32&It&&He("FDICT bit set in flate stream"),this.bytes=We,this.bytesPos=2,this.codeSize=0,this.codeBuf=0,vr.call(this)}}();window.tmp=mt});try{B.exports=jsPDF}catch(p){}}).call(this,r("yLpj"))},eP3c:function(B,N,r){"use strict";function y(qe){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(ue){return typeof ue}:y=function(ue){return ue&&typeof Symbol=="function"&&ue.constructor===Symbol&&ue!==Symbol.prototype?"symbol":typeof ue},y(qe)}Object.defineProperty(N,"__esModule",{value:!0}),N.inflateReset=ne,N.inflateReset2=ge,N.inflateResetKeep=Ee,N.inflateInit=Ge,N.inflateInit2=Ie,N.inflate=_t,N.inflateEnd=Nt,N.inflateGetHeader=Bt,N.inflateSetDictionary=Ft,N.inflateInfo=N.Z_DEFLATED=N.Z_BUF_ERROR=N.Z_MEM_ERROR=N.Z_DATA_ERROR=N.Z_STREAM_ERROR=N.Z_NEED_DICT=N.Z_STREAM_END=N.Z_OK=N.Z_TREES=N.Z_BLOCK=N.Z_FINISH=void 0;var m=n(r("6BzB")),C=c(r("xlC8")),p=c(r("QV2g")),g=c(r("sjKO")),h=c(r("JSwD"));function c(qe){return qe&&qe.__esModule?qe:{default:qe}}function o(){if(typeof WeakMap!="function")return null;var qe=new WeakMap;return o=function(){return qe},qe}function n(qe){if(qe&&qe.__esModule)return qe;if(qe===null||y(qe)!=="object"&&typeof qe!="function")return{default:qe};var we=o();if(we&&we.has(qe))return we.get(qe);var ue={},vt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var at in qe)if(Object.prototype.hasOwnProperty.call(qe,at)){var Ae=vt?Object.getOwnPropertyDescriptor(qe,at):null;Ae&&(Ae.get||Ae.set)?Object.defineProperty(ue,at,Ae):ue[at]=qe[at]}return ue.default=qe,we&&we.set(qe,ue),ue}var t=0,a=1,d=2,i=4;N.Z_FINISH=i;var l=5;N.Z_BLOCK=l;var e=6;N.Z_TREES=e;var s=0;N.Z_OK=s;var u=1;N.Z_STREAM_END=u;var f=2;N.Z_NEED_DICT=f;var A=-2;N.Z_STREAM_ERROR=A;var v=-3;N.Z_DATA_ERROR=v;var x=-4;N.Z_MEM_ERROR=x;var b=-5;N.Z_BUF_ERROR=b;var w=8;N.Z_DEFLATED=w;var _=1,T=2,S=3,E=4,I=5,O=6,F=7,k=8,M=9,P=10,V=11,D=12,H=13,U=14,z=15,K=16,G=17,X=18,Z=19,ee=20,Se=21,$=22,pe=23,xe=24,_e=25,Ue=26,ye=27,Be=28,Q=29,ie=30,Ve=31,J=32,W=852,j=592,Y=15,me=Y;function ae(qe){return(qe>>>24&255)+(qe>>>8&65280)+((qe&65280)<<8)+((qe&255)<<24)}function Le(){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 m.Buf16(320),this.work=new m.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Ee(qe){var we;return!qe||!qe.state?A:(we=qe.state,qe.total_in=qe.total_out=we.total=0,qe.msg="",we.wrap&&(qe.adler=we.wrap&1),we.mode=_,we.last=0,we.havedict=0,we.dmax=32768,we.head=null,we.hold=0,we.bits=0,we.lencode=we.lendyn=new m.Buf32(W),we.distcode=we.distdyn=new m.Buf32(j),we.sane=1,we.back=-1,s)}function ne(qe){var we;return!qe||!qe.state?A:(we=qe.state,we.wsize=0,we.whave=0,we.wnext=0,Ee(qe))}function ge(qe,we){var ue,vt;return!qe||!qe.state?A:(vt=qe.state,we<0?(ue=0,we=-we):(ue=(we>>4)+1,we<48&&(we&=15)),we&&(we<8||we>15)?A:(vt.window!==null&&vt.wbits!==we&&(vt.window=null),vt.wrap=ue,vt.wbits=we,ne(qe)))}function Ie(qe,we){var ue,vt;return qe?(vt=new Le,qe.state=vt,vt.window=null,ue=ge(qe,we),ue!==s&&(qe.state=null),ue):A}function Ge(qe){return Ie(qe,me)}var ut=!0,wt,Pe;function Dt(qe){if(ut){var we;for(wt=new m.Buf32(512),Pe=new m.Buf32(32),we=0;we<144;)qe.lens[we++]=8;for(;we<256;)qe.lens[we++]=9;for(;we<280;)qe.lens[we++]=7;for(;we<288;)qe.lens[we++]=8;for((0,h.default)(a,qe.lens,0,288,wt,0,qe.work,{bits:9}),we=0;we<32;)qe.lens[we++]=5;(0,h.default)(d,qe.lens,0,32,Pe,0,qe.work,{bits:5}),ut=!1}qe.lencode=wt,qe.lenbits=9,qe.distcode=Pe,qe.distbits=5}function et(qe,we,ue,vt){var at,Ae=qe.state;return Ae.window===null&&(Ae.wsize=1<<Ae.wbits,Ae.wnext=0,Ae.whave=0,Ae.window=new m.Buf8(Ae.wsize)),vt>=Ae.wsize?(m.arraySet(Ae.window,we,ue-Ae.wsize,Ae.wsize,0),Ae.wnext=0,Ae.whave=Ae.wsize):(at=Ae.wsize-Ae.wnext,at>vt&&(at=vt),m.arraySet(Ae.window,we,ue-vt,at,Ae.wnext),vt-=at,vt?(m.arraySet(Ae.window,we,ue-vt,vt,0),Ae.wnext=vt,Ae.whave=Ae.wsize):(Ae.wnext+=at,Ae.wnext===Ae.wsize&&(Ae.wnext=0),Ae.whave<Ae.wsize&&(Ae.whave+=at))),0}function _t(qe,we){var ue,vt,at,Ae,Xt,Ot,rt,Et,Zt,vr,mt,ce,le,oe,fe=0,De,He,je,We,nt,xt,It,ir,Me=new m.Buf8(4),ke,re,be=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!qe||!qe.state||!qe.output||!qe.input&&qe.avail_in!==0)return A;ue=qe.state,ue.mode===D&&(ue.mode=H),Xt=qe.next_out,at=qe.output,rt=qe.avail_out,Ae=qe.next_in,vt=qe.input,Ot=qe.avail_in,Et=ue.hold,Zt=ue.bits,vr=Ot,mt=rt,ir=s;e:for(;;)switch(ue.mode){case _:if(ue.wrap===0){ue.mode=H;break}for(;Zt<16;){if(Ot===0)break e;Ot--,Et+=vt[Ae++]<<Zt,Zt+=8}if(ue.wrap&2&&Et===35615){ue.check=0,Me[0]=Et&255,Me[1]=Et>>>8&255,ue.check=(0,p.default)(ue.check,Me,2,0),Et=0,Zt=0,ue.mode=T;break}if(ue.flags=0,ue.head&&(ue.head.done=!1),!(ue.wrap&1)||(((Et&255)<<8)+(Et>>8))%31){qe.msg="incorrect header check",ue.mode=ie;break}if((Et&15)!==w){qe.msg="unknown compression method",ue.mode=ie;break}if(Et>>>=4,Zt-=4,It=(Et&15)+8,ue.wbits===0)ue.wbits=It;else if(It>ue.wbits){qe.msg="invalid window size",ue.mode=ie;break}ue.dmax=1<<It,qe.adler=ue.check=1,ue.mode=Et&512?P:D,Et=0,Zt=0;break;case T:for(;Zt<16;){if(Ot===0)break e;Ot--,Et+=vt[Ae++]<<Zt,Zt+=8}if(ue.flags=Et,(ue.flags&255)!==w){qe.msg="unknown compression method",ue.mode=ie;break}if(ue.flags&57344){qe.msg="unknown header flags set",ue.mode=ie;break}ue.head&&(ue.head.text=Et>>8&1),ue.flags&512&&(Me[0]=Et&255,Me[1]=Et>>>8&255,ue.check=(0,p.default)(ue.check,Me,2,0)),Et=0,Zt=0,ue.mode=S;case S:for(;Zt<32;){if(Ot===0)break e;Ot--,Et+=vt[Ae++]<<Zt,Zt+=8}ue.head&&(ue.head.time=Et),ue.flags&512&&(Me[0]=Et&255,Me[1]=Et>>>8&255,Me[2]=Et>>>16&255,Me[3]=Et>>>24&255,ue.check=(0,p.default)(ue.check,Me,4,0)),Et=0,Zt=0,ue.mode=E;case E:for(;Zt<16;){if(Ot===0)break e;Ot--,Et+=vt[Ae++]<<Zt,Zt+=8}ue.head&&(ue.head.xflags=Et&255,ue.head.os=Et>>8),ue.flags&512&&(Me[0]=Et&255,Me[1]=Et>>>8&255,ue.check=(0,p.default)(ue.check,Me,2,0)),Et=0,Zt=0,ue.mode=I;case I:if(ue.flags&1024){for(;Zt<16;){if(Ot===0)break e;Ot--,Et+=vt[Ae++]<<Zt,Zt+=8}ue.length=Et,ue.head&&(ue.head.extra_len=Et),ue.flags&512&&(Me[0]=Et&255,Me[1]=Et>>>8&255,ue.check=(0,p.default)(ue.check,Me,2,0)),Et=0,Zt=0}else ue.head&&(ue.head.extra=null);ue.mode=O;case O:if(ue.flags&1024&&(ce=ue.length,ce>Ot&&(ce=Ot),ce&&(ue.head&&(It=ue.head.extra_len-ue.length,ue.head.extra||(ue.head.extra=new Array(ue.head.extra_len)),m.arraySet(ue.head.extra,vt,Ae,ce,It)),ue.flags&512&&(ue.check=(0,p.default)(ue.check,vt,ce,Ae)),Ot-=ce,Ae+=ce,ue.length-=ce),ue.length))break e;ue.length=0,ue.mode=F;case F:if(ue.flags&2048){if(Ot===0)break e;ce=0;do It=vt[Ae+ce++],ue.head&&It&&ue.length<65536&&(ue.head.name+=String.fromCharCode(It));while(It&&ce<Ot);if(ue.flags&512&&(ue.check=(0,p.default)(ue.check,vt,ce,Ae)),Ot-=ce,Ae+=ce,It)break e}else ue.head&&(ue.head.name=null);ue.length=0,ue.mode=k;case k:if(ue.flags&4096){if(Ot===0)break e;ce=0;do It=vt[Ae+ce++],ue.head&&It&&ue.length<65536&&(ue.head.comment+=String.fromCharCode(It));while(It&&ce<Ot);if(ue.flags&512&&(ue.check=(0,p.default)(ue.check,vt,ce,Ae)),Ot-=ce,Ae+=ce,It)break e}else ue.head&&(ue.head.comment=null);ue.mode=M;case M:if(ue.flags&512){for(;Zt<16;){if(Ot===0)break e;Ot--,Et+=vt[Ae++]<<Zt,Zt+=8}if(Et!==(ue.check&65535)){qe.msg="header crc mismatch",ue.mode=ie;break}Et=0,Zt=0}ue.head&&(ue.head.hcrc=ue.flags>>9&1,ue.head.done=!0),qe.adler=ue.check=0,ue.mode=D;break;case P:for(;Zt<32;){if(Ot===0)break e;Ot--,Et+=vt[Ae++]<<Zt,Zt+=8}qe.adler=ue.check=ae(Et),Et=0,Zt=0,ue.mode=V;case V:if(ue.havedict===0)return qe.next_out=Xt,qe.avail_out=rt,qe.next_in=Ae,qe.avail_in=Ot,ue.hold=Et,ue.bits=Zt,f;qe.adler=ue.check=1,ue.mode=D;case D:if(we===l||we===e)break e;case H:if(ue.last){Et>>>=Zt&7,Zt-=Zt&7,ue.mode=ye;break}for(;Zt<3;){if(Ot===0)break e;Ot--,Et+=vt[Ae++]<<Zt,Zt+=8}ue.last=Et&1,Et>>>=1,Zt-=1;switch(Et&3){case 0:ue.mode=U;break;case 1:if(Dt(ue),ue.mode=ee,we===e){Et>>>=2,Zt-=2;break e}break;case 2:ue.mode=G;break;case 3:qe.msg="invalid block type",ue.mode=ie}Et>>>=2,Zt-=2;break;case U:for(Et>>>=Zt&7,Zt-=Zt&7;Zt<32;){if(Ot===0)break e;Ot--,Et+=vt[Ae++]<<Zt,Zt+=8}if((Et&65535)!==(Et>>>16^65535)){qe.msg="invalid stored block lengths",ue.mode=ie;break}if(ue.length=Et&65535,Et=0,Zt=0,ue.mode=z,we===e)break e;case z:ue.mode=K;case K:if(ce=ue.length,ce){if(ce>Ot&&(ce=Ot),ce>rt&&(ce=rt),ce===0)break e;m.arraySet(at,vt,Ae,ce,Xt),Ot-=ce,Ae+=ce,rt-=ce,Xt+=ce,ue.length-=ce;break}ue.mode=D;break;case G:for(;Zt<14;){if(Ot===0)break e;Ot--,Et+=vt[Ae++]<<Zt,Zt+=8}if(ue.nlen=(Et&31)+257,Et>>>=5,Zt-=5,ue.ndist=(Et&31)+1,Et>>>=5,Zt-=5,ue.ncode=(Et&15)+4,Et>>>=4,Zt-=4,ue.nlen>286||ue.ndist>30){qe.msg="too many length or distance symbols",ue.mode=ie;break}ue.have=0,ue.mode=X;case X:for(;ue.have<ue.ncode;){for(;Zt<3;){if(Ot===0)break e;Ot--,Et+=vt[Ae++]<<Zt,Zt+=8}ue.lens[be[ue.have++]]=Et&7,Et>>>=3,Zt-=3}for(;ue.have<19;)ue.lens[be[ue.have++]]=0;if(ue.lencode=ue.lendyn,ue.lenbits=7,ke={bits:ue.lenbits},ir=(0,h.default)(t,ue.lens,0,19,ue.lencode,0,ue.work,ke),ue.lenbits=ke.bits,ir){qe.msg="invalid code lengths set",ue.mode=ie;break}ue.have=0,ue.mode=Z;case Z:for(;ue.have<ue.nlen+ue.ndist;){for(;!(fe=ue.lencode[Et&(1<<ue.lenbits)-1],De=fe>>>24,He=fe>>>16&255,je=fe&65535,De<=Zt);){if(Ot===0)break e;Ot--,Et+=vt[Ae++]<<Zt,Zt+=8}if(je<16)Et>>>=De,Zt-=De,ue.lens[ue.have++]=je;else{if(je===16){for(re=De+2;Zt<re;){if(Ot===0)break e;Ot--,Et+=vt[Ae++]<<Zt,Zt+=8}if(Et>>>=De,Zt-=De,ue.have===0){qe.msg="invalid bit length repeat",ue.mode=ie;break}It=ue.lens[ue.have-1],ce=3+(Et&3),Et>>>=2,Zt-=2}else if(je===17){for(re=De+3;Zt<re;){if(Ot===0)break e;Ot--,Et+=vt[Ae++]<<Zt,Zt+=8}Et>>>=De,Zt-=De,It=0,ce=3+(Et&7),Et>>>=3,Zt-=3}else{for(re=De+7;Zt<re;){if(Ot===0)break e;Ot--,Et+=vt[Ae++]<<Zt,Zt+=8}Et>>>=De,Zt-=De,It=0,ce=11+(Et&127),Et>>>=7,Zt-=7}if(ue.have+ce>ue.nlen+ue.ndist){qe.msg="invalid bit length repeat",ue.mode=ie;break}for(;ce--;)ue.lens[ue.have++]=It}}if(ue.mode===ie)break;if(ue.lens[256]===0){qe.msg="invalid code -- missing end-of-block",ue.mode=ie;break}if(ue.lenbits=9,ke={bits:ue.lenbits},ir=(0,h.default)(a,ue.lens,0,ue.nlen,ue.lencode,0,ue.work,ke),ue.lenbits=ke.bits,ir){qe.msg="invalid literal/lengths set",ue.mode=ie;break}if(ue.distbits=6,ue.distcode=ue.distdyn,ke={bits:ue.distbits},ir=(0,h.default)(d,ue.lens,ue.nlen,ue.ndist,ue.distcode,0,ue.work,ke),ue.distbits=ke.bits,ir){qe.msg="invalid distances set",ue.mode=ie;break}if(ue.mode=ee,we===e)break e;case ee:ue.mode=Se;case Se:if(Ot>=6&&rt>=258){qe.next_out=Xt,qe.avail_out=rt,qe.next_in=Ae,qe.avail_in=Ot,ue.hold=Et,ue.bits=Zt,(0,g.default)(qe,mt),Xt=qe.next_out,at=qe.output,rt=qe.avail_out,Ae=qe.next_in,vt=qe.input,Ot=qe.avail_in,Et=ue.hold,Zt=ue.bits,ue.mode===D&&(ue.back=-1);break}for(ue.back=0;!(fe=ue.lencode[Et&(1<<ue.lenbits)-1],De=fe>>>24,He=fe>>>16&255,je=fe&65535,De<=Zt);){if(Ot===0)break e;Ot--,Et+=vt[Ae++]<<Zt,Zt+=8}if(He&&(He&240)===0){for(We=De,nt=He,xt=je;!(fe=ue.lencode[xt+((Et&(1<<We+nt)-1)>>We)],De=fe>>>24,He=fe>>>16&255,je=fe&65535,We+De<=Zt);){if(Ot===0)break e;Ot--,Et+=vt[Ae++]<<Zt,Zt+=8}Et>>>=We,Zt-=We,ue.back+=We}if(Et>>>=De,Zt-=De,ue.back+=De,ue.length=je,He===0){ue.mode=Ue;break}if(He&32){ue.back=-1,ue.mode=D;break}if(He&64){qe.msg="invalid literal/length code",ue.mode=ie;break}ue.extra=He&15,ue.mode=$;case $:if(ue.extra){for(re=ue.extra;Zt<re;){if(Ot===0)break e;Ot--,Et+=vt[Ae++]<<Zt,Zt+=8}ue.length+=Et&(1<<ue.extra)-1,Et>>>=ue.extra,Zt-=ue.extra,ue.back+=ue.extra}ue.was=ue.length,ue.mode=pe;case pe:for(;!(fe=ue.distcode[Et&(1<<ue.distbits)-1],De=fe>>>24,He=fe>>>16&255,je=fe&65535,De<=Zt);){if(Ot===0)break e;Ot--,Et+=vt[Ae++]<<Zt,Zt+=8}if((He&240)===0){for(We=De,nt=He,xt=je;!(fe=ue.distcode[xt+((Et&(1<<We+nt)-1)>>We)],De=fe>>>24,He=fe>>>16&255,je=fe&65535,We+De<=Zt);){if(Ot===0)break e;Ot--,Et+=vt[Ae++]<<Zt,Zt+=8}Et>>>=We,Zt-=We,ue.back+=We}if(Et>>>=De,Zt-=De,ue.back+=De,He&64){qe.msg="invalid distance code",ue.mode=ie;break}ue.offset=je,ue.extra=He&15,ue.mode=xe;case xe:if(ue.extra){for(re=ue.extra;Zt<re;){if(Ot===0)break e;Ot--,Et+=vt[Ae++]<<Zt,Zt+=8}ue.offset+=Et&(1<<ue.extra)-1,Et>>>=ue.extra,Zt-=ue.extra,ue.back+=ue.extra}if(ue.offset>ue.dmax){qe.msg="invalid distance too far back",ue.mode=ie;break}ue.mode=_e;case _e:if(rt===0)break e;if(ce=mt-rt,ue.offset>ce){if(ce=ue.offset-ce,ce>ue.whave&&ue.sane){qe.msg="invalid distance too far back",ue.mode=ie;break}ce>ue.wnext?(ce-=ue.wnext,le=ue.wsize-ce):le=ue.wnext-ce,ce>ue.length&&(ce=ue.length),oe=ue.window}else oe=at,le=Xt-ue.offset,ce=ue.length;ce>rt&&(ce=rt),rt-=ce,ue.length-=ce;do at[Xt++]=oe[le++];while(--ce);ue.length===0&&(ue.mode=Se);break;case Ue:if(rt===0)break e;at[Xt++]=ue.length,rt--,ue.mode=Se;break;case ye:if(ue.wrap){for(;Zt<32;){if(Ot===0)break e;Ot--,Et|=vt[Ae++]<<Zt,Zt+=8}if(mt-=rt,qe.total_out+=mt,ue.total+=mt,mt&&(qe.adler=ue.check=ue.flags?(0,p.default)(ue.check,at,mt,Xt-mt):(0,C.default)(ue.check,at,mt,Xt-mt)),mt=rt,(ue.flags?Et:ae(Et))!==ue.check){qe.msg="incorrect data check",ue.mode=ie;break}Et=0,Zt=0}ue.mode=Be;case Be:if(ue.wrap&&ue.flags){for(;Zt<32;){if(Ot===0)break e;Ot--,Et+=vt[Ae++]<<Zt,Zt+=8}if(Et!==(ue.total&4294967295)){qe.msg="incorrect length check",ue.mode=ie;break}Et=0,Zt=0}ue.mode=Q;case Q:ir=u;break e;case ie:ir=v;break e;case Ve:return x;case J:default:return A}return qe.next_out=Xt,qe.avail_out=rt,qe.next_in=Ae,qe.avail_in=Ot,ue.hold=Et,ue.bits=Zt,(ue.wsize||mt!==qe.avail_out&&ue.mode<ie&&(ue.mode<ye||we!==i))&&et(qe,qe.output,qe.next_out,mt-qe.avail_out)?(ue.mode=Ve,x):(vr-=qe.avail_in,mt-=qe.avail_out,qe.total_in+=vr,qe.total_out+=mt,ue.total+=mt,ue.wrap&&mt&&(qe.adler=ue.check=ue.flags?(0,p.default)(ue.check,at,mt,qe.next_out-mt):(0,C.default)(ue.check,at,mt,qe.next_out-mt)),qe.data_type=ue.bits+(ue.last?64:0)+(ue.mode===D?128:0)+(ue.mode===ee||ue.mode===z?256:0),(vr===0&&mt===0||we===i)&&ir===s&&(ir=b),ir)}function Nt(qe){if(!qe||!qe.state)return A;var we=qe.state;return we.window&&(we.window=null),qe.state=null,s}function Bt(qe,we){var ue;return!qe||!qe.state?A:(ue=qe.state,(ue.wrap&2)===0?A:(ue.head=we,we.done=!1,s))}function Ft(qe,we){var ue=we.length,vt,at,Ae;return!qe||!qe.state?A:(vt=qe.state,vt.wrap!==0&&vt.mode!==V?A:vt.mode===V&&(at=1,at=(0,C.default)(at,we,ue,0),at!==vt.check)?v:(Ae=et(qe,we,ue,ue),Ae?(vt.mode=Ve,x):(vt.havedict=1,s)))}var Gt="pako inflate (from Nodeca project)";N.inflateInfo=Gt},ePAk:function(B,N,r){var y=r("ProS");r("2fGM");var m=y.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(C){var p,g=this.ecModel;return g.eachComponent(C,function(h){h.getCoordSysModel()===this&&(p=h)},this),p},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});B.exports=m},eRkO:function(B,N,r){var y=r("+TT/"),m=y.getLayoutRect,C=y.box,p=y.positionElement,g=r("7aKB"),h=r("IwbS");function c(n,t,a){var d=t.getBoxLayoutParams(),i=t.get("padding"),l={width:a.getWidth(),height:a.getHeight()},e=m(d,l,i);C(t.get("orient"),n,t.get("itemGap"),e.width,e.height),p(n,d,l,i)}function o(n,t){var a=g.normalizeCssArray(t.get("padding")),d=t.getItemStyle(["color","opacity"]);d.fill=t.get("backgroundColor");var n=new h.Rect({shape:{x:n.x-a[3],y:n.y-a[0],width:n.width+a[1]+a[3],height:n.height+a[0]+a[2],r:t.get("borderRadius")},style:d,silent:!0,z2:-1});return n}N.layout=c,N.makeBackground=o},eS4l:function(B,N,r){r("HM/N"),r("FNN5")},eUgh:function(B,N){function r(y,m){for(var C=-1,p=y==null?0:y.length,g=Array(p);++C<p;)g[C]=m(y[C],C,y);return g}B.exports=r},ewwo:function(B,N,r){var y=r("bMXI"),m=r("+TT/"),C=m.getLayoutRect,p=r("4mN7");function g(c,o,n){var t=c.getBoxLayoutParams();return t.aspect=n,C(t,{width:o.getWidth(),height:o.getHeight()})}function h(c,o){var n=[];return c.eachSeriesByType("graph",function(t){var a=t.get("coordinateSystem");if(!a||a==="view"){var d=t.getData(),i=d.mapArray(function(w){var _=d.getItemModel(w);return[+_.get("x"),+_.get("y")]}),l=[],e=[];p.fromPoints(i,l,e),e[0]-l[0]===0&&(e[0]+=1,l[0]-=1),e[1]-l[1]===0&&(e[1]+=1,l[1]-=1);var s=(e[0]-l[0])/(e[1]-l[1]),u=g(t,o,s);isNaN(s)&&(l=[u.x,u.y],e=[u.x+u.width,u.y+u.height]);var f=e[0]-l[0],A=e[1]-l[1],v=u.width,x=u.height,b=t.coordinateSystem=new y;b.zoomLimit=t.get("scaleLimit"),b.setBoundingRect(l[0],l[1],f,A),b.setViewRect(u.x,u.y,v,x),b.setCenter(t.get("center")),b.setZoom(t.get("zoom")),n.push(b)}}),n}B.exports=h},f1nB:function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("ProS"),p=r("bYtY"),g=r("4NO4"),h=r("IwbS"),c=r("+TT/"),o=r("OELB"),n=o.parsePercent,t={path:null,compoundPath:null,group:h.Group,image:h.Image,text:h.Text};C.registerPreprocessor(function(v){var x=v.graphic;p.isArray(x)?!x[0]||!x[0].elements?v.graphic=[{elements:x}]:v.graphic=[v.graphic[0]]:x&&!x.elements&&(v.graphic=[{elements:[x]}])});var a=C.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(v){var x=this.option.elements;this.option.elements=null,a.superApply(this,"mergeOption",arguments),this.option.elements=x},optionUpdated:function(v,x){var b=this.option,w=(x?b:v).elements,_=b.elements=x?[]:b.elements,T=[];this._flatten(w,T);var S=g.mappingToExists(_,T);g.makeIdAndName(S);var E=this._elOptionsToUpdate=[];p.each(S,function(O,F){var k=O.option;if(!k)return;E.push(k),s(O,k),u(_,F,k),f(_[F],k)},this);for(var I=_.length-1;I>=0;I--)_[I]==null?_.splice(I,1):delete _[I].$action},_flatten:function(v,x,b){p.each(v,function(w){if(!w)return;b&&(w.parentOption=b),x.push(w);var _=w.children;w.type==="group"&&_&&this._flatten(_,x,w),delete w.children},this)},useElOptionsToUpdate:function(){var v=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,v}});C.extendComponentView({type:"graphic",init:function(v,x){this._elMap=p.createHashMap(),this._lastGraphicModel},render:function(v,x,b){v!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=v,this._updateElements(v),this._relocate(v,b)},_updateElements:function(v){var x=v.useElOptionsToUpdate();if(!x)return;var b=this._elMap,w=this.group;p.each(x,function(_){var T=_.$action,S=_.id,E=b.get(S),I=_.parentId,O=I!=null?b.get(I):w,F=_.style;_.type==="text"&&F&&(_.hv&&_.hv[1]&&(F.textVerticalAlign=F.textBaseline=null),!F.hasOwnProperty("textFill")&&F.fill&&(F.textFill=F.fill),!F.hasOwnProperty("textStroke")&&F.stroke&&(F.textStroke=F.stroke));var k=l(_);!T||T==="merge"?E?E.attr(k):d(S,O,k,b):T==="replace"?(i(E,b),d(S,O,k,b)):T==="remove"&&i(E,b);var M=b.get(S);M&&(M.__ecGraphicWidthOption=_.width,M.__ecGraphicHeightOption=_.height,A(M,v,_))})},_relocate:function(v,x){for(var b=v.option.elements,w=this.group,_=this._elMap,T=x.getWidth(),S=x.getHeight(),E=0;E<b.length;E++){var I=b[E],O=_.get(I.id);if(!O||!O.isGroup)continue;var F=O.parent,k=F===w;O.__ecGraphicWidth=n(O.__ecGraphicWidthOption,k?T:F.__ecGraphicWidth)||0,O.__ecGraphicHeight=n(O.__ecGraphicHeightOption,k?S:F.__ecGraphicHeight)||0}for(var E=b.length-1;E>=0;E--){var I=b[E],O=_.get(I.id);if(!O)continue;var F=O.parent,M=F===w?{width:T,height:S}:{width:F.__ecGraphicWidth,height:F.__ecGraphicHeight};c.positionElement(O,I,M,null,{hv:I.hv,boundingMode:I.bounding})}},_clear:function(){var v=this._elMap;v.each(function(x){i(x,v)}),this._elMap=p.createHashMap()},dispose:function(){this._clear()}});function d(v,x,b,w){var _=b.type,T=t.hasOwnProperty(_)?t[_]:h.getShapeClass(_),S=new T(b);x.add(S),w.set(v,S),S.__ecGraphicId=v}function i(v,x){var b=v&&v.parent;b&&(v.type==="group"&&v.traverse(function(w){i(w,x)}),x.removeKey(v.__ecGraphicId),b.remove(v))}function l(v){return v=p.extend({},v),p.each(["id","parentId","$action","hv","bounding"].concat(c.LOCATION_PARAMS),function(x){delete v[x]}),v}function e(v,x){var b;return p.each(x,function(w){v[w]!=null&&v[w]!=="auto"&&(b=!0)}),b}function s(v,x){var b=v.exist;if(x.id=v.keyInfo.id,!x.type&&b&&(x.type=b.type),x.parentId==null){var w=x.parentOption;w?x.parentId=w.id:b&&(x.parentId=b.parentId)}x.parentOption=null}function u(v,x,b){var w=p.extend({},b),_=v[x],T=b.$action||"merge";T==="merge"?_?(p.merge(_,w,!0),c.mergeLayoutParam(_,w,{ignoreSize:!0}),c.copyLayoutParams(b,_)):v[x]=w:T==="replace"?v[x]=w:T==="remove"&&(_&&(v[x]=null))}function f(v,x){if(!v)return;v.hv=x.hv=[e(x,["left","right"]),e(x,["top","bottom"])],v.type==="group"&&(v.width==null&&(v.width=x.width=0),v.height==null&&(v.height=x.height=0))}function A(v,x,b){var w=v.eventData;!v.silent&&!v.ignore&&!w&&(w=v.eventData={componentType:"graphic",componentIndex:x.componentIndex,name:v.name}),w&&(w.info=v.info)}},f3JH:function(B,N,r){r("aTJb"),r("OlYY"),r("fc+c"),r("oY9F"),r("MqEG"),r("LBfv"),r("noeP")},f5HG:function(B,N,r){var y=r("IwbS"),m=r("QBsz"),C=y.Line.prototype,p=y.BezierCurve.prototype;function g(c){return isNaN(+c.cpx1)||isNaN(+c.cpy1)}var h=y.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(c,o){this[g(o)?"_buildPathLine":"_buildPathCurve"](c,o)},_buildPathLine:C.buildPath,_buildPathCurve:p.buildPath,pointAt:function(c){return this[g(this.shape)?"_pointAtLine":"_pointAtCurve"](c)},_pointAtLine:C.pointAt,_pointAtCurve:p.pointAt,tangentAt:function(c){var o=this.shape,n=g(o)?[o.x2-o.x1,o.y2-o.y1]:this._tangentAtCurve(c);return m.normalize(n,n)},_tangentAtCurve:p.tangentAt});B.exports=h},f5Yq:function(B,N,r){var y=r("bYtY"),m=y.isFunction;function C(p,g,h){return{seriesType:p,performRawSeries:!0,reset:function(c,o,n){var t=c.getData(),a=c.get("symbol"),d=c.get("symbolSize"),i=c.get("symbolKeepAspect"),l=c.get("symbolRotate"),e=m(a),s=m(d),u=m(l),f=e||s||u,A=!e&&a?a:g,v=s?null:d,x=u?null:x;if(t.setVisual({legendSymbol:h||A,symbol:A,symbolSize:v,symbolKeepAspect:i,symbolRotate:l}),o.isSeriesFiltered(c))return;function b(w,_){if(f){var T=c.getRawValue(_),S=c.getDataParams(_);e&&w.setItemVisual(_,"symbol",a(T,S)),s&&w.setItemVisual(_,"symbolSize",d(T,S)),u&&w.setItemVisual(_,"symbolRotate",l(T,S))}if(w.hasItemOption){var E=w.getItemModel(_),I=E.getShallow("symbol",!0),O=E.getShallow("symbolSize",!0),F=E.getShallow("symbolRotate",!0),k=E.getShallow("symbolKeepAspect",!0);I!=null&&w.setItemVisual(_,"symbol",I),O!=null&&w.setItemVisual(_,"symbolSize",O),F!=null&&w.setItemVisual(_,"symbolRotate",F),k!=null&&w.setItemVisual(_,"symbolKeepAspect",k)}}return{dataEach:t.hasItemOption||f?b:null}}}}B.exports=C},fAei:function(B,N,r){"use strict";r.d(N,"a",function(){return v.a});var y=r("rePB"),m=r("VTBJ"),C=r("KQm4"),p=r("1OyB"),g=r("vuIU"),h=r("Ji7U"),c=r("LK+K"),o=r("q1tI"),n=r("4IlW"),t=r("Kwbf"),a=r("TSYQ"),d=r.n(a),i=r("sboe"),l=r("OZM5"),e=r("815F"),s=r("ODXe"),u=r("Ff2n"),f=r("+nKL"),A=r("8XRh"),v=r("WaYH"),x=function(ee,Se){var $=ee.className,pe=ee.style,xe=ee.motion,_e=ee.motionNodes,Ue=ee.motionType,ye=ee.onMotionStart,Be=ee.onMotionEnd,Q=ee.active,ie=ee.treeNodeRequiredProps,Ve=Object(u.a)(ee,["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"]),J=o.useState(!0),W=Object(s.a)(J,2),j=W[0],Y=W[1],me=o.useContext(i.a),ae=me.prefixCls,Le=o.useRef(!1),Ee=function(){Le.current||Be(),Le.current=!0};return Object(o.useEffect)(function(){_e&&Ue==="hide"&&j&&Y(!1)},[_e]),Object(o.useEffect)(function(){return _e&&ye(),function(){_e&&Ee()}},[]),_e?o.createElement(A.default,Object.assign({ref:Se,visible:j},xe,{motionAppear:Ue==="show",onAppearEnd:Ee,onLeaveEnd:Ee}),function(ne,ge){var Ie=ne.className,Ge=ne.style;return o.createElement("div",{ref:ge,className:d()("".concat(ae,"-treenode-motion"),Ie),style:Ge},_e.map(function(ut){var wt=ut.data,Pe=wt.key,Dt=Object(u.a)(wt,["key"]),et=ut.isStart,_t=ut.isEnd;delete Dt.children;var Nt=Object(e.f)(Pe,ie);return o.createElement(v.a,Object.assign({},Dt,Nt,{active:Q,data:ut.data,key:Pe,isStart:et,isEnd:_t}))}))}):o.createElement(v.a,Object.assign({domRef:Se,className:$,style:pe},Ve,{active:Q}))};x.displayName="MotionTreeNode";var b=o.forwardRef(x),w=b;function _(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Se=Z.length,$=ee.length;if(Math.abs(Se-$)!==1)return{add:!1,key:null};function pe(xe,_e){var Ue=new Map;xe.forEach(function(Be){Ue.set(Be,!0)});var ye=_e.filter(function(Be){return!Ue.has(Be)});return ye.length===1?ye[0]:null}return Se<$?{add:!0,key:pe(Z,ee)}:{add:!1,key:pe(ee,Z)}}function T(Z,ee,Se){var $=Z.findIndex(function(Ue){var ye=Ue.data;return ye.key===Se}),pe=Z[$+1],xe=ee.findIndex(function(Ue){var ye=Ue.data;return ye.key===Se});if(pe){var _e=ee.findIndex(function(Ue){var ye=Ue.data;return ye.key===pe.data.key});return ee.slice(xe+1,_e)}return ee.slice(xe+1)}var S={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},E=function(){},I="RC_TREE_MOTION_".concat(Math.random()),O={key:I},F={key:I,level:0,index:0,pos:"0",node:O},k={parent:null,children:[],pos:F.pos,data:O,isStart:[],isEnd:[]};function M(Z,ee,Se,$){return ee===!1||!Se?Z:Z.slice(0,Math.ceil(Se/$)+1)}function P(Z){var ee=Z.data.key,Se=Z.pos;return Object(e.e)(ee,Se)}function V(Z){for(var ee=String(Z.data.key),Se=Z;Se.parent;)Se=Se.parent,ee="".concat(Se.data.key," > ").concat(ee);return ee}var D=function(ee,Se){var $=ee.prefixCls,pe=ee.data,xe=ee.selectable,_e=ee.checkable,Ue=ee.expandedKeys,ye=ee.selectedKeys,Be=ee.checkedKeys,Q=ee.loadedKeys,ie=ee.loadingKeys,Ve=ee.halfCheckedKeys,J=ee.keyEntities,W=ee.disabled,j=ee.dragging,Y=ee.dragOverNodeKey,me=ee.dropPosition,ae=ee.motion,Le=ee.height,Ee=ee.itemHeight,ne=ee.virtual,ge=ee.focusable,Ie=ee.activeItem,Ge=ee.focused,ut=ee.tabIndex,wt=ee.onKeyDown,Pe=ee.onFocus,Dt=ee.onBlur,et=ee.onActiveChange,_t=ee.onListChangeStart,Nt=ee.onListChangeEnd,Bt=Object(u.a)(ee,["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"]),Ft=o.useRef(null);o.useImperativeHandle(Se,function(){return{scrollTo:function(It){Ft.current.scrollTo(It)}}});var Gt=o.useState(Ue),qe=Object(s.a)(Gt,2),we=qe[0],ue=qe[1],vt=o.useState(pe),at=Object(s.a)(vt,2),Ae=at[0],Xt=at[1],Ot=o.useState(pe),rt=Object(s.a)(Ot,2),Et=rt[0],Zt=rt[1],vr=o.useState([]),mt=Object(s.a)(vr,2),ce=mt[0],le=mt[1],oe=o.useState(null),fe=Object(s.a)(oe,2),De=fe[0],He=fe[1];function je(){Xt(pe),Zt(pe),le([]),He(null),Nt()}o.useEffect(function(){ue(Ue);var xt=_(we,Ue);if(xt.key!==null)if(xt.add){var It=Ae.findIndex(function(Ne){var Ke=Ne.data.key;return Ke===xt.key}),ir=M(T(Ae,pe,xt.key),ne,Le,Ee),Me=Ae.slice();Me.splice(It+1,0,k),Zt(Me),le(ir),He("show")}else{var ke=pe.findIndex(function(Ne){var Ke=Ne.data.key;return Ke===xt.key}),re=M(T(pe,Ae,xt.key),ne,Le,Ee),be=pe.slice();be.splice(ke+1,0,k),Zt(be),le(re),He("hide")}else Ae!==pe&&(Xt(pe),Zt(pe))},[Ue,pe]),o.useEffect(function(){j||je()},[j]);var We=ae?Et:pe,nt={expandedKeys:Ue,selectedKeys:ye,loadedKeys:Q,loadingKeys:ie,checkedKeys:Be,halfCheckedKeys:Ve,dragOverNodeKey:Y,dropPosition:me,keyEntities:J};return o.createElement(o.Fragment,null,Ge&&Ie&&o.createElement("span",{style:S,"aria-live":"assertive"},V(Ie)),o.createElement("div",{role:"tree"},o.createElement("input",{style:S,disabled:ge===!1||W,tabIndex:ge!==!1?ut:null,onKeyDown:wt,onFocus:Pe,onBlur:Dt,value:"",onChange:E})),o.createElement(f.a,Object.assign({},Bt,{data:We,itemKey:P,height:Le,fullHeight:!1,virtual:ne,itemHeight:Ee,prefixCls:"".concat($,"-list"),ref:Ft}),function(xt){var It=xt.pos,ir=xt.data,Me=ir.key,ke=Object(u.a)(ir,["key"]),re=xt.isStart,be=xt.isEnd,Ne=Object(e.e)(Me,It);delete ke.children;var Ke=Object(e.f)(Ne,nt);return o.createElement(w,Object.assign({},ke,Ke,{active:Ie&&Me===Ie.data.key,pos:It,data:xt.data,isStart:re,isEnd:be,motion:ae,motionNodes:Me===I?ce:null,motionType:De,onMotionStart:_t,onMotionEnd:je,treeNodeRequiredProps:nt,onMouseMove:function(){et(null)}}))}))},H=o.forwardRef(D);H.displayName="NodeList";var U=H,z=r("NvD2"),K=function(Z){Object(h.a)(Se,Z);var ee=Object(c.a)(Se);function Se(){var $;return Object(p.a)(this,Se),$=ee.apply(this,arguments),$.destroyed=!1,$.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},$.listRef=o.createRef(),$.onNodeDragStart=function(pe,xe){var _e=$.state,Ue=_e.expandedKeys,ye=_e.keyEntities,Be=$.props.onDragStart,Q=xe.props.eventKey;$.dragNode=xe;var ie=Object(l.b)(Ue,Q);$.setState({dragging:!0,dragNodesKeys:Object(l.g)(Q,ye)}),$.setExpandedKeys(ie),Be&&Be({event:pe,node:Object(e.b)(xe.props)})},$.onNodeDragEnter=function(pe,xe){var _e=$.state,Ue=_e.expandedKeys,ye=_e.keyEntities,Be=_e.dragNodesKeys,Q=$.props.onDragEnter,ie=xe.props,Ve=ie.pos,J=ie.eventKey;if(!$.dragNode||Be.indexOf(J)!==-1)return;var W=Object(l.c)(pe,xe);if($.dragNode.props.eventKey===J&&W===0){$.setState({dragOverNodeKey:"",dropPosition:null});return}setTimeout(function(){$.setState({dragOverNodeKey:J,dropPosition:W}),$.delayedDragEnterLogic||($.delayedDragEnterLogic={}),Object.keys($.delayedDragEnterLogic).forEach(function(j){clearTimeout($.delayedDragEnterLogic[j])}),$.delayedDragEnterLogic[Ve]=window.setTimeout(function(){if(!$.state.dragging)return;var j=Object(C.a)(Ue),Y=ye[J];Y&&(Y.children||[]).length&&(j=Object(l.a)(Ue,J)),"expandedKeys"in $.props||$.setExpandedKeys(j),Q&&Q({event:pe,node:Object(e.b)(xe.props),expandedKeys:j})},400)},0)},$.onNodeDragOver=function(pe,xe){var _e=$.state.dragNodesKeys,Ue=$.props.onDragOver,ye=xe.props.eventKey;if(_e.indexOf(ye)!==-1)return;if($.dragNode&&ye===$.state.dragOverNodeKey){var Be=Object(l.c)(pe,xe);if(Be===$.state.dropPosition)return;$.setState({dropPosition:Be})}Ue&&Ue({event:pe,node:Object(e.b)(xe.props)})},$.onNodeDragLeave=function(pe,xe){var _e=$.props.onDragLeave;$.setState({dragOverNodeKey:""}),_e&&_e({event:pe,node:Object(e.b)(xe.props)})},$.onNodeDragEnd=function(pe,xe){var _e=$.props.onDragEnd;$.setState({dragOverNodeKey:""}),$.cleanDragState(),_e&&_e({event:pe,node:Object(e.b)(xe.props)}),$.dragNode=null},$.onNodeDrop=function(pe,xe){var _e=$.state,Ue=_e.dragNodesKeys,ye=Ue===void 0?[]:Ue,Be=_e.dropPosition,Q=$.props.onDrop,ie=xe.props,Ve=ie.eventKey,J=ie.pos;if($.setState({dragOverNodeKey:""}),$.cleanDragState(),ye.indexOf(Ve)!==-1){Object(t.a)(!1,"Can not drop to dragNode(include it's children node)");return}var W=Object(l.k)(J),j={event:pe,node:Object(e.b)(xe.props),dragNode:$.dragNode?Object(e.b)($.dragNode.props):null,dragNodesKeys:ye.slice(),dropPosition:Be+Number(W[W.length-1]),dropToGap:!1};Be!==0&&(j.dropToGap=!0),Q&&Q(j),$.dragNode=null},$.cleanDragState=function(){var pe=$.state.dragging;pe&&$.setState({dragging:!1})},$.onNodeClick=function(pe,xe){var _e=$.props.onClick;_e&&_e(pe,xe)},$.onNodeDoubleClick=function(pe,xe){var _e=$.props.onDoubleClick;_e&&_e(pe,xe)},$.onNodeSelect=function(pe,xe){var _e=$.state.selectedKeys,Ue=$.state.keyEntities,ye=$.props,Be=ye.onSelect,Q=ye.multiple,ie=xe.selected,Ve=xe.key,J=!ie;J?Q?_e=Object(l.a)(_e,Ve):_e=[Ve]:_e=Object(l.b)(_e,Ve);var W=_e.map(function(j){var Y=Ue[j];return Y?Y.node:null}).filter(function(j){return j});$.setUncontrolledState({selectedKeys:_e}),Be&&Be(_e,{event:"select",selected:J,node:xe,selectedNodes:W,nativeEvent:pe.nativeEvent})},$.onNodeCheck=function(pe,xe,_e){var Ue=$.state,ye=Ue.keyEntities,Be=Ue.checkedKeys,Q=Ue.halfCheckedKeys,ie=$.props,Ve=ie.checkStrictly,J=ie.onCheck,W=xe.key,j,Y={event:"check",node:xe,checked:_e,nativeEvent:pe.nativeEvent};if(Ve){var me=_e?Object(l.a)(Be,W):Object(l.b)(Be,W),ae=Object(l.b)(Q,W);j={checked:me,halfChecked:ae},Y.checkedNodes=me.map(function(Ge){return ye[Ge]}).filter(function(Ge){return Ge}).map(function(Ge){return Ge.node}),$.setUncontrolledState({checkedKeys:me})}else{var Le=Object(z.a)([].concat(Object(C.a)(Be),[W]),!0,ye),Ee=Le.checkedKeys,ne=Le.halfCheckedKeys;if(!_e){var ge=new Set(Ee);ge.delete(W);var Ie=Object(z.a)(Array.from(ge),{checked:!1,halfCheckedKeys:ne},ye);Ee=Ie.checkedKeys,ne=Ie.halfCheckedKeys}j=Ee,Y.checkedNodes=[],Y.checkedNodesPositions=[],Y.halfCheckedKeys=ne,Ee.forEach(function(Ge){var ut=ye[Ge];if(!ut)return;var wt=ut.node,Pe=ut.pos;Y.checkedNodes.push(wt),Y.checkedNodesPositions.push({node:wt,pos:Pe})}),$.setUncontrolledState({checkedKeys:Ee},!1,{halfCheckedKeys:ne})}J&&J(j,Y)},$.onNodeLoad=function(pe){return new Promise(function(xe){$.setState(function(_e){var Ue=_e.loadedKeys,ye=Ue===void 0?[]:Ue,Be=_e.loadingKeys,Q=Be===void 0?[]:Be,ie=$.props,Ve=ie.loadData,J=ie.onLoad,W=pe.key;if(!Ve||ye.indexOf(W)!==-1||Q.indexOf(W)!==-1)return{};var j=Ve(pe);return j.then(function(){var Y=$.state,me=Y.loadedKeys,ae=Y.loadingKeys,Le=Object(l.a)(me,W),Ee=Object(l.b)(ae,W);J&&J(Le,{event:"load",node:pe}),$.setUncontrolledState({loadedKeys:Le}),$.setState({loadingKeys:Ee}),xe()}),{loadingKeys:Object(l.a)(Q,W)}})})},$.onNodeMouseEnter=function(pe,xe){var _e=$.props.onMouseEnter;_e&&_e({event:pe,node:xe})},$.onNodeMouseLeave=function(pe,xe){var _e=$.props.onMouseLeave;_e&&_e({event:pe,node:xe})},$.onNodeContextMenu=function(pe,xe){var _e=$.props.onRightClick;_e&&(pe.preventDefault(),_e({event:pe,node:xe}))},$.onFocus=function(){var pe=$.props.onFocus;$.setState({focused:!0}),pe&&pe.apply(void 0,arguments)},$.onBlur=function(){var pe=$.props.onBlur;$.setState({focused:!1}),$.onActiveChange(null),pe&&pe.apply(void 0,arguments)},$.getTreeNodeRequiredProps=function(){var pe=$.state,xe=pe.expandedKeys,_e=pe.selectedKeys,Ue=pe.loadedKeys,ye=pe.loadingKeys,Be=pe.checkedKeys,Q=pe.halfCheckedKeys,ie=pe.dragOverNodeKey,Ve=pe.dropPosition,J=pe.keyEntities;return{expandedKeys:xe||[],selectedKeys:_e||[],loadedKeys:Ue||[],loadingKeys:ye||[],checkedKeys:Be||[],halfCheckedKeys:Q||[],dragOverNodeKey:ie,dropPosition:Ve,keyEntities:J}},$.setExpandedKeys=function(pe){var xe=$.state.treeData,_e=Object(e.d)(xe,pe);$.setUncontrolledState({expandedKeys:pe,flattenNodes:_e},!0)},$.onNodeExpand=function(pe,xe){var _e=$.state.expandedKeys,Ue=$.state.listChanging,ye=$.props,Be=ye.onExpand,Q=ye.loadData,ie=xe.key,Ve=xe.expanded;if(Ue)return;var J=_e.indexOf(ie),W=!Ve;if(Object(t.a)(Ve&&J!==-1||!Ve&&J===-1,"Expand state not sync with index check"),W?_e=Object(l.a)(_e,ie):_e=Object(l.b)(_e,ie),$.setExpandedKeys(_e),Be&&Be(_e,{node:xe,expanded:W,nativeEvent:pe.nativeEvent}),W&&Q){var j=$.onNodeLoad(xe);j&&j.then(function(){var Y=Object(e.d)($.state.treeData,_e);$.setUncontrolledState({flattenNodes:Y})})}},$.onListChangeStart=function(){$.setUncontrolledState({listChanging:!0})},$.onListChangeEnd=function(){setTimeout(function(){$.setUncontrolledState({listChanging:!1})})},$.onActiveChange=function(pe){var xe=$.state.activeKey,_e=$.props.onActiveChange;if(xe===pe)return;$.setState({activeKey:pe}),pe!==null&&$.scrollTo({key:pe}),_e&&_e(pe)},$.getActiveItem=function(){var pe=$.state,xe=pe.activeKey,_e=pe.flattenNodes;return xe===null?null:_e.find(function(Ue){var ye=Ue.data.key;return ye===xe})||null},$.offsetActiveKey=function(pe){var xe=$.state,_e=xe.flattenNodes,Ue=xe.activeKey,ye=_e.findIndex(function(ie){var Ve=ie.data.key;return Ve===Ue});ye===-1&&pe<0&&(ye=_e.length),ye=(ye+pe+_e.length)%_e.length;var Be=_e[ye];if(Be){var Q=Be.data.key;$.onActiveChange(Q)}else $.onActiveChange(null)},$.onKeyDown=function(pe){var xe=$.state,_e=xe.activeKey,Ue=xe.expandedKeys,ye=xe.checkedKeys,Be=$.props,Q=Be.onKeyDown,ie=Be.checkable,Ve=Be.selectable;switch(pe.which){case n.a.UP:{$.offsetActiveKey(-1),pe.preventDefault();break}case n.a.DOWN:{$.offsetActiveKey(1),pe.preventDefault();break}}var J=$.getActiveItem();if(J&&J.data){var W=$.getTreeNodeRequiredProps(),j=J.data.isLeaf===!1||!!(J.data.children||[]).length,Y=Object(e.b)(Object(m.a)(Object(m.a)({},Object(e.f)(_e,W)),{},{data:J.data,active:!0}));switch(pe.which){case n.a.LEFT:{j&&Ue.includes(_e)?$.onNodeExpand({},Y):J.parent&&$.onActiveChange(J.parent.data.key),pe.preventDefault();break}case n.a.RIGHT:{j&&!Ue.includes(_e)?$.onNodeExpand({},Y):J.children&&J.children.length&&$.onActiveChange(J.children[0].data.key),pe.preventDefault();break}case n.a.ENTER:case n.a.SPACE:{ie&&!Y.disabled&&Y.checkable!==!1&&!Y.disableCheckbox?$.onNodeCheck({},Y,!ye.includes(_e)):!ie&&Ve&&!Y.disabled&&Y.selectable!==!1&&$.onNodeSelect({},Y);break}}}Q&&Q(pe)},$.setUncontrolledState=function(pe){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if($.destroyed)return;var Ue=!1,ye=!0,Be={};Object.keys(pe).forEach(function(Q){if(Q in $.props){ye=!1;return}Ue=!0,Be[Q]=pe[Q]}),Ue&&(!xe||ye)&&$.setState(Object(m.a)(Object(m.a)({},Be),_e))},$.scrollTo=function(pe){$.listRef.current.scrollTo(pe)},$}return Object(g.a)(Se,[{key:"componentWillUnmount",value:function(){this.destroyed=!0}},{key:"render",value:function(){var pe,xe=this.state,_e=xe.focused,Ue=xe.flattenNodes,ye=xe.keyEntities,Be=xe.dragging,Q=xe.activeKey,ie=this.props,Ve=ie.prefixCls,J=ie.className,W=ie.style,j=ie.showLine,Y=ie.focusable,me=ie.tabIndex,ae=me===void 0?0:me,Le=ie.selectable,Ee=ie.showIcon,ne=ie.icon,ge=ie.switcherIcon,Ie=ie.draggable,Ge=ie.checkable,ut=ie.checkStrictly,wt=ie.disabled,Pe=ie.motion,Dt=ie.loadData,et=ie.filterTreeNode,_t=ie.height,Nt=ie.itemHeight,Bt=ie.virtual,Ft=ie.titleRender,Gt=ie.onContextMenu,qe=Object(l.f)(this.props);return o.createElement(i.a.Provider,{value:{prefixCls:Ve,selectable:Le,showIcon:Ee,icon:ne,switcherIcon:ge,draggable:Ie,checkable:Ge,checkStrictly:ut,disabled:wt,keyEntities:ye,loadData:Dt,filterTreeNode:et,titleRender:Ft,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}},o.createElement("div",{className:d()(Ve,J,(pe={},Object(y.a)(pe,"".concat(Ve,"-show-line"),j),Object(y.a)(pe,"".concat(Ve,"-focused"),_e),Object(y.a)(pe,"".concat(Ve,"-active-focused"),Q!==null),pe))},o.createElement(U,Object.assign({ref:this.listRef,prefixCls:Ve,style:W,data:Ue,disabled:wt,selectable:Le,checkable:!!Ge,motion:Pe,dragging:Be,height:_t,itemHeight:Nt,virtual:Bt,focusable:Y,focused:_e,tabIndex:ae,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Gt},this.getTreeNodeRequiredProps(),qe))))}}],[{key:"getDerivedStateFromProps",value:function(pe,xe){var _e=xe.prevProps,Ue={prevProps:pe};function ye(ne){return!_e&&ne in pe||_e&&_e[ne]!==pe[ne]}var Be;if(ye("treeData")?Be=pe.treeData:ye("children")&&(Object(t.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Be=Object(e.c)(pe.children)),Be){Ue.treeData=Be;var Q=Object(e.a)(Be);Ue.keyEntities=Object(m.a)(Object(y.a)({},I,F),Q.keyEntities)}var ie=Ue.keyEntities||xe.keyEntities;if(ye("expandedKeys")||_e&&ye("autoExpandParent"))Ue.expandedKeys=pe.autoExpandParent||!_e&&pe.defaultExpandParent?Object(l.e)(pe.expandedKeys,ie):pe.expandedKeys;else if(!_e&&pe.defaultExpandAll){var Ve=Object(m.a)({},ie);delete Ve[I],Ue.expandedKeys=Object.keys(Ve).map(function(ne){return Ve[ne].key})}else!_e&&pe.defaultExpandedKeys&&(Ue.expandedKeys=pe.autoExpandParent||pe.defaultExpandParent?Object(l.e)(pe.defaultExpandedKeys,ie):pe.defaultExpandedKeys);if(Ue.expandedKeys||delete Ue.expandedKeys,Be||Ue.expandedKeys){var J=Object(e.d)(Be||xe.treeData,Ue.expandedKeys||xe.expandedKeys);Ue.flattenNodes=J}if(pe.selectable&&(ye("selectedKeys")?Ue.selectedKeys=Object(l.d)(pe.selectedKeys,pe):!_e&&pe.defaultSelectedKeys&&(Ue.selectedKeys=Object(l.d)(pe.defaultSelectedKeys,pe))),pe.checkable){var W;if(ye("checkedKeys")?W=Object(l.j)(pe.checkedKeys)||{}:!_e&&pe.defaultCheckedKeys?W=Object(l.j)(pe.defaultCheckedKeys)||{}:Be&&(W=Object(l.j)(pe.checkedKeys)||{checkedKeys:xe.checkedKeys,halfCheckedKeys:xe.halfCheckedKeys}),W){var j=W,Y=j.checkedKeys,me=Y===void 0?[]:Y,ae=j.halfCheckedKeys,Le=ae===void 0?[]:ae;if(!pe.checkStrictly){var Ee=Object(z.a)(me,!0,ie);me=Ee.checkedKeys,Le=Ee.halfCheckedKeys}Ue.checkedKeys=me,Ue.halfCheckedKeys=Le}}return ye("loadedKeys")&&(Ue.loadedKeys=pe.loadedKeys),Ue}}]),Se}(o.Component);K.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:[]},K.TreeNode=v.a;var G=K,X=N.b=G},fE02:function(B,N,r){var y=r("ProS"),m=r("bYtY"),C=r("/IIm"),p=r("vZ6x"),g=r("b9oc"),h=r("72pK"),c=r("Kagy"),o=r("IUWy");r("3TkU");var n=c.toolbox.dataZoom,t=m.each,a="\0_ec_\0toolbox-dataZoom_";function d(A,v,x){(this._brushController=new C(x.getZr())).on("brush",m.bind(this._onBrush,this)).mount(),this._isZoomActive}d.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:m.clone(n.title)};var i=d.prototype;i.render=function(A,v,x,b){this.model=A,this.ecModel=v,this.api=x,u(A,v,this,b,x),s(A,v)},i.onclick=function(A,v,x){l[x].call(this)},i.remove=function(A,v){this._brushController.unmount()},i.dispose=function(A,v){this._brushController.dispose()};var l={zoom:function(){var A=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:A})},back:function(){this._dispatchZoomAction(g.pop(this.ecModel))}};i._onBrush=function(A,v){if(!v.isEnd||!A.length)return;var x={},b=this.ecModel;this._brushController.updateCovers([]);var w=new p(e(this.model.option),b,{include:["grid"]});w.matchOutputRanges(A,b,function(S,E,I){if(I.type!=="cartesian2d")return;var O=S.brushType;O==="rect"?(_("x",I,E[0]),_("y",I,E[1])):_({lineX:"x",lineY:"y"}[O],I,E)}),g.push(b,x),this._dispatchZoomAction(x);function _(S,E,I){var O=E.getAxis(S),F=O.model,k=T(S,F,b),M=k.findRepresentativeAxisProxy(F).getMinMaxSpan();(M.minValueSpan!=null||M.maxValueSpan!=null)&&(I=h(0,I.slice(),O.scale.getExtent(),0,M.minValueSpan,M.maxValueSpan)),k&&(x[k.id]={dataZoomId:k.id,startValue:I[0],endValue:I[1]})}function T(S,E,I){var O;return I.eachComponent({mainType:"dataZoom",subType:"select"},function(F){var k=F.getAxisModel(S,E.componentIndex);k&&(O=F)}),O}},i._dispatchZoomAction=function(A){var v=[];t(A,function(x,b){v.push(m.clone(x))}),v.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:v})};function e(A){var v={};return m.each(["xAxisIndex","yAxisIndex"],function(x){v[x]=A[x],v[x]==null&&(v[x]="all"),(v[x]===!1||v[x]==="none")&&(v[x]=[])}),v}function s(A,v){A.setIconStatus("back",g.count(v)>1?"emphasis":"normal")}function u(A,v,x,b,w){var _=x._isZoomActive;b&&b.type==="takeGlobalCursor"&&(_=b.key==="dataZoomSelect"?b.dataZoomSelectActive:!1),x._isZoomActive=_,A.setIconStatus("zoom",_?"emphasis":"normal");var T=new p(e(A.option),v,{include:["grid"]});x._brushController.setPanels(T.makePanelOpts(w,function(S){return S.xAxisDeclared&&!S.yAxisDeclared?"lineX":!S.xAxisDeclared&&S.yAxisDeclared?"lineY":"rect"})).enableBrush(_?{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}}:!1)}o.register("dataZoom",d),y.registerPreprocessor(function(A){if(!A)return;var v=A.dataZoom||(A.dataZoom=[]);m.isArray(v)||(A.dataZoom=v=[v]);var x=A.toolbox;if(x&&(m.isArray(x)&&(x=x[0]),x&&x.feature)){var b=x.feature.dataZoom;w("xAxis",b),w("yAxis",b)}function w(T,S){if(!S)return;var E=T+"Index",I=S[E];I!=null&&I!=="all"&&!m.isArray(I)&&(I=I===!1||I==="none"?[]:[I]),_(T,function(O,F){if(I!=null&&I!=="all"&&m.indexOf(I,F)===-1)return;var k={type:"select",$fromToolbox:!0,filterMode:S.filterMode||"filter",id:a+T+F};k[E]=F,v.push(k)})}function _(T,S){var E=A[T];m.isArray(E)||(E=E?[E]:[]),t(E,S)}});var f=d;B.exports=f},fNCr:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("tSko"));function m(p){return p&&p.__esModule?p:{default:p}}var C=y;N.default=C,B.exports=C},fUL4:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("r+aA"));function m(p){return p&&p.__esModule?p:{default:p}}var C=y;N.default=C,B.exports=C},fW2E:function(B,N){var r={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function y(m,C,p){return r.hasOwnProperty(C)?p*=m.dpr:p}B.exports=y},"fc+c":function(B,N,r){var y=r("sS/r"),m=y.extend({type:"dataZoom",render:function(C,p,g,h){this.dataZoomModel=C,this.ecModel=p,this.api=g},getTargetCoordInfo:function(){var C=this.dataZoomModel,p=this.ecModel,g={};C.eachTargetAxis(function(c,o){var n=p.getComponent(c.axis,o);if(n){var t=n.getCoordSysModel();t&&h(t,n,g[t.mainType]||(g[t.mainType]=[]),t.componentIndex)}},this);function h(c,o,n,t){for(var a,d=0;d<n.length;d++)if(n[d].model===c){a=n[d];break}a||n.push(a={model:c,axisModels:[],coordIndex:t}),a.axisModels.push(o)}return g}});B.exports=m},fjKi:function(B,N,r){var y=r("ProS");r("Q7if"),r("jndi"),y.registerPreprocessor(function(m){m.markArea=m.markArea||{}})},fls0:function(B,N,r){var y=r("bYtY"),m=r("QBsz"),C=r("oVpE"),p=r("f5HG"),g=r("IwbS"),h=r("OELB"),c=h.round,o=["fromSymbol","toSymbol"];function n(u){return"_"+u+"Type"}function t(u,f,A){var v=f.getItemVisual(A,"color"),x=f.getItemVisual(A,u),b=f.getItemVisual(A,u+"Size");if(!x||x==="none")return;y.isArray(b)||(b=[b,b]);var w=C.createSymbol(x,-b[0]/2,-b[1]/2,b[0],b[1],v);return w.name=u,w}function a(u){var f=new p({name:"line",subPixelOptimize:!0});return d(f.shape,u),f}function d(u,f){u.x1=f[0][0],u.y1=f[0][1],u.x2=f[1][0],u.y2=f[1][1],u.percent=1;var A=f[2];A?(u.cpx1=A[0],u.cpy1=A[1]):(u.cpx1=NaN,u.cpy1=NaN)}function i(){var u=this,f=u.childOfName("fromSymbol"),A=u.childOfName("toSymbol"),v=u.childOfName("label");if(!f&&!A&&v.ignore)return;for(var x=1,b=this.parent;b;)b.scale&&(x/=b.scale[0]),b=b.parent;var w=u.childOfName("line");if(!this.__dirty&&!w.__dirty)return;var _=w.shape.percent,T=w.pointAt(0),S=w.pointAt(_),E=m.sub([],S,T);if(m.normalize(E,E),f){f.attr("position",T);var I=w.tangentAt(0);f.attr("rotation",Math.PI/2-Math.atan2(I[1],I[0])),f.attr("scale",[x*_,x*_])}if(A){A.attr("position",S);var I=w.tangentAt(1);A.attr("rotation",-Math.PI/2-Math.atan2(I[1],I[0])),A.attr("scale",[x*_,x*_])}if(!v.ignore){v.attr("position",S);var O,F,k,M,P=v.__labelDistance,V=P[0]*x,D=P[1]*x,H=_/2,I=w.tangentAt(H),U=[I[1],-I[0]],z=w.pointAt(H);U[1]>0&&(U[0]=-U[0],U[1]=-U[1]);var K=I[0]<0?-1:1;if(v.__position!=="start"&&v.__position!=="end"){var G=-Math.atan2(I[1],I[0]);S[0]<T[0]&&(G=Math.PI+G),v.attr("rotation",G)}var X;switch(v.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":X=-D,k="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":X=D,k="top";break;default:X=0,k="middle"}switch(v.__position){case"end":O=[E[0]*V+S[0],E[1]*D+S[1]],F=E[0]>.8?"left":E[0]<-.8?"right":"center",k=E[1]>.8?"top":E[1]<-.8?"bottom":"middle";break;case"start":O=[-E[0]*V+T[0],-E[1]*D+T[1]],F=E[0]>.8?"right":E[0]<-.8?"left":"center",k=E[1]>.8?"bottom":E[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":O=[V*K+T[0],T[1]+X],F=I[0]<0?"right":"left",M=[-V*K,-X];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":O=[z[0],z[1]+X],F="center",M=[0,-X];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":O=[-V*K+S[0],S[1]+X],F=I[0]>=0?"right":"left",M=[V*K,-X];break}v.attr({style:{textVerticalAlign:v.__verticalAlign||k,textAlign:v.__textAlign||F},position:O,scale:[x,x],origin:M})}}function l(u,f,A){g.Group.call(this),this._createLine(u,f,A)}var e=l.prototype;e.beforeUpdate=i,e._createLine=function(u,f,A){var v=u.hostModel,x=u.getItemLayout(f),b=a(x);b.shape.percent=0,g.initProps(b,{shape:{percent:1}},v,f),this.add(b);var w=new g.Text({name:"label",lineLabelOriginalOpacity:1});this.add(w),y.each(o,function(_){var T=t(_,u,f);this.add(T),this[n(_)]=u.getItemVisual(f,_)},this),this._updateCommonStl(u,f,A)},e.updateData=function(u,f,A){var v=u.hostModel,x=this.childOfName("line"),b=u.getItemLayout(f),w={shape:{}};d(w.shape,b),g.updateProps(x,w,v,f),y.each(o,function(_){var T=u.getItemVisual(f,_),S=n(_);if(this[S]!==T){this.remove(this.childOfName(_));var E=t(_,u,f);this.add(E)}this[S]=T},this),this._updateCommonStl(u,f,A)},e._updateCommonStl=function(u,f,A){var v=u.hostModel,x=this.childOfName("line"),b=A&&A.lineStyle,w=A&&A.hoverLineStyle,_=A&&A.labelModel,T=A&&A.hoverLabelModel;if(!A||u.hasItemOption){var S=u.getItemModel(f);b=S.getModel("lineStyle").getLineStyle(),w=S.getModel("emphasis.lineStyle").getLineStyle(),_=S.getModel("label"),T=S.getModel("emphasis.label")}var E=u.getItemVisual(f,"color"),I=y.retrieve3(u.getItemVisual(f,"opacity"),b.opacity,1);x.useStyle(y.defaults({strokeNoScale:!0,fill:"none",stroke:E,opacity:I},b)),x.hoverStyle=w,y.each(o,function(K){var G=this.childOfName(K);G&&(G.setColor(E),G.setStyle({opacity:I}))},this);var O=_.getShallow("show"),F=T.getShallow("show"),k=this.childOfName("label"),M,P;if((O||F)&&(M=E||"#000",P=v.getFormattedLabel(f,"normal",u.dataType),P==null)){var V=v.getRawValue(f);P=V==null?u.getName(f):isFinite(V)?c(V):V}var D=O?P:null,H=F?y.retrieve2(v.getFormattedLabel(f,"emphasis",u.dataType),P):null,U=k.style;if(D!=null||H!=null){g.setTextStyle(k.style,_,{text:D},{autoColor:M}),k.__textAlign=U.textAlign,k.__verticalAlign=U.textVerticalAlign,k.__position=_.get("position")||"middle";var z=_.get("distance");y.isArray(z)||(z=[z,z]),k.__labelDistance=z}H!=null?k.hoverStyle={text:H,textFill:T.getTextColor(!0),fontStyle:T.getShallow("fontStyle"),fontWeight:T.getShallow("fontWeight"),fontSize:T.getShallow("fontSize"),fontFamily:T.getShallow("fontFamily")}:k.hoverStyle={text:null},k.ignore=!O&&!F,g.setHoverStyle(this)},e.highlight=function(){this.trigger("emphasis")},e.downplay=function(){this.trigger("normal")},e.updateLayout=function(u,f){this.setLinePoints(u.getItemLayout(f))},e.setLinePoints=function(u){var f=this.childOfName("line");d(f.shape,u),f.dirty()},y.inherits(l,g.Group);var s=l;B.exports=s},fmMI:function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("bYtY"),p=C.each,g=C.filter,h=C.map,c=C.isArray,o=C.indexOf,n=C.isObject,t=C.isString,a=C.createHashMap,d=C.assert,i=C.clone,l=C.merge,e=C.extend,s=C.mixin,u=r("4NO4"),f=r("Qxkt"),A=r("bLfw"),v=r("iXHM"),x=r("5Hur"),b=r("D5nY"),w=b.resetSourceDefaulter,_="\0_ec_inner",T=f.extend({init:function(D,H,U,z){U=U||{},this.option=null,this._theme=new f(U),this._optionManager=z},setOption:function(D,H){d(!(_ in D),"please use chart.getOption()"),this._optionManager.setOption(D,H),this.resetOption(null)},resetOption:function(D){var H=!1,U=this._optionManager;if(!D||D==="recreate"){var z=U.mountOption(D==="recreate");!this.option||D==="recreate"?I.call(this,z):(this.restoreData(),this.mergeOption(z)),H=!0}if((D==="timeline"||D==="media")&&this.restoreData(),!D||D==="recreate"||D==="timeline"){var K=U.getTimelineOption(this);K&&(this.mergeOption(K),H=!0)}if(!D||D==="recreate"||D==="media"){var G=U.getMediaOption(this,this._api);G.length&&p(G,function(X){this.mergeOption(X,H=!0)},this)}return H},mergeOption:function(D){var H=this.option,U=this._componentsMap,z=[];w(this),p(D,function(G,X){if(G==null)return;A.hasClass(X)?X&&z.push(X):H[X]=H[X]==null?i(G):l(H[X],G,!0)}),A.topologicalTravel(z,A.getAllClassMainTypes(),K,this);function K(G,X){var Z=u.normalizeToArray(D[G]),ee=u.mappingToExists(U.get(G),Z);u.makeIdAndName(ee),p(ee,function($,pe){var xe=$.option;n(xe)&&($.keyInfo.mainType=G,$.keyInfo.subType=F(G,xe,$.exist))});var Se=O(U,X);H[G]=[],U.set(G,[]),p(ee,function($,pe){var xe=$.exist,_e=$.option;if(d(n(_e)||xe,"Empty component definition"),!_e)xe.mergeOption({},this),xe.optionUpdated({},!1);else{var Ue=A.getClass(G,$.keyInfo.subType,!0);if(xe&&xe.constructor===Ue)xe.name=$.keyInfo.name,xe.mergeOption(_e,this),xe.optionUpdated(_e,!1);else{var ye=e({dependentModels:Se,componentIndex:pe},$.keyInfo);xe=new Ue(_e,this,this,ye),e(xe,ye),xe.init(_e,this,this,ye),xe.optionUpdated(null,!0)}}U.get(G)[pe]=xe,H[G][pe]=xe.option},this),G==="series"&&k(this,U.get("series"))}this._seriesIndicesMap=a(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var D=i(this.option);return p(D,function(H,U){if(A.hasClass(U)){for(var H=u.normalizeToArray(H),z=H.length-1;z>=0;z--)u.isIdInner(H[z])&&H.splice(z,1);D[U]=H}}),delete D[_],D},getTheme:function(){return this._theme},getComponent:function(D,H){var U=this._componentsMap.get(D);if(U)return U[H||0]},queryComponents:function(D){var H=D.mainType;if(!H)return[];var U=D.index,z=D.id,K=D.name,G=this._componentsMap.get(H);if(!G||!G.length)return[];var X;if(U!=null)c(U)||(U=[U]),X=g(h(U,function(Se){return G[Se]}),function(Se){return!!Se});else if(z!=null){var Z=c(z);X=g(G,function(Se){return Z&&o(z,Se.id)>=0||!Z&&Se.id===z})}else if(K!=null){var ee=c(K);X=g(G,function(Se){return ee&&o(K,Se.name)>=0||!ee&&Se.name===K})}else X=G.slice();return M(X,D)},findComponents:function(D){var H=D.query,U=D.mainType,z=G(H),K=z?this.queryComponents(z):this._componentsMap.get(U);return X(M(K,D));function G(Z){var ee=U+"Index",Se=U+"Id",$=U+"Name";return Z&&(Z[ee]!=null||Z[Se]!=null||Z[$]!=null)?{mainType:U,index:Z[ee],id:Z[Se],name:Z[$]}:null}function X(Z){return D.filter?g(Z,D.filter):Z}},eachComponent:function(D,H,U){var z=this._componentsMap;if(typeof D=="function")U=H,H=D,z.each(function(G,X){p(G,function(Z,ee){H.call(U,X,Z,ee)})});else if(t(D))p(z.get(D),H,U);else if(n(D)){var K=this.findComponents(D);p(K,H,U)}},getSeriesByName:function(D){var H=this._componentsMap.get("series");return g(H,function(U){return U.name===D})},getSeriesByIndex:function(D){return this._componentsMap.get("series")[D]},getSeriesByType:function(D){var H=this._componentsMap.get("series");return g(H,function(U){return U.subType===D})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(D,H){P(this),p(this._seriesIndices,function(U){var z=this._componentsMap.get("series")[U];D.call(H,z,U)},this)},eachRawSeries:function(D,H){p(this._componentsMap.get("series"),D,H)},eachSeriesByType:function(D,H,U){P(this),p(this._seriesIndices,function(z){var K=this._componentsMap.get("series")[z];K.subType===D&&H.call(U,K,z)},this)},eachRawSeriesByType:function(D,H,U){return p(this.getSeriesByType(D),H,U)},isSeriesFiltered:function(D){return P(this),this._seriesIndicesMap.get(D.componentIndex)==null},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(D,H){P(this);var U=g(this._componentsMap.get("series"),D,H);k(this,U)},restoreData:function(D){var H=this._componentsMap;k(this,H.get("series"));var U=[];H.each(function(z,K){U.push(K)}),A.topologicalTravel(U,A.getAllClassMainTypes(),function(z,K){p(H.get(z),function(G){(z!=="series"||!S(G,D))&&G.restoreData()})})}});function S(D,H){if(H){var U=H.seiresIndex,z=H.seriesId,K=H.seriesName;return U!=null&&D.componentIndex!==U||z!=null&&D.id!==z||K!=null&&D.name!==K}}function E(D,H){var U=D.color&&!D.colorLayer;p(H,function(z,K){if(K==="colorLayer"&&U)return;A.hasClass(K)||(typeof z=="object"?D[K]=D[K]?l(D[K],z,!1):i(z):D[K]==null&&(D[K]=z))})}function I(D){D=D,this.option={},this.option[_]=1,this._componentsMap=a({series:[]}),this._seriesIndices,this._seriesIndicesMap,E(D,this._theme.option),l(D,v,!1),this.mergeOption(D)}function O(D,H){c(H)||(H=H?[H]:[]);var U={};return p(H,function(z){U[z]=(D.get(z)||[]).slice()}),U}function F(D,H,U){var z=H.type?H.type:U?U.subType:A.determineSubType(D,H);return z}function k(D,H){D._seriesIndicesMap=a(D._seriesIndices=h(H,function(U){return U.componentIndex})||[])}function M(D,H){return H.hasOwnProperty("subType")?g(D,function(U){return U.subType===H.subType}):D}function P(D){}s(T,x);var V=T;B.exports=V},fu2T:function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("3dVZ"),p=r.n(C)},fyUT:function(B,N,r){"use strict";var y=r("pVnL"),m=r.n(y),C=r("lSNA"),p=r.n(C),g=r("q1tI"),h=r.n(g),c=r("TSYQ"),o=r.n(c),n=r("Ff2n"),t=r("rePB"),a=r("1OyB"),d=r("vuIU"),i=r("Ji7U"),l=r("md7G"),e=r("foSv"),s=r("4IlW");function u(X,Z){var ee=Object.keys(X);if(Object.getOwnPropertySymbols){var Se=Object.getOwnPropertySymbols(X);Z&&(Se=Se.filter(function($){return Object.getOwnPropertyDescriptor(X,$).enumerable})),ee.push.apply(ee,Se)}return ee}function f(X){for(var Z=1;Z<arguments.length;Z++){var ee=arguments[Z]!=null?arguments[Z]:{};Z%2?u(Object(ee),!0).forEach(function(Se){Object(t.a)(X,Se,ee[Se])}):Object.getOwnPropertyDescriptors?Object.defineProperties(X,Object.getOwnPropertyDescriptors(ee)):u(Object(ee)).forEach(function(Se){Object.defineProperty(X,Se,Object.getOwnPropertyDescriptor(ee,Se))})}return X}function A(X){var Z=v();return function(){var Se=Object(e.a)(X),$;if(Z){var pe=Object(e.a)(this).constructor;$=Reflect.construct(Se,arguments,pe)}else $=Se.apply(this,arguments);return Object(l.a)(this,$)}}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(X){return!1}}function x(){}function b(X){X.preventDefault()}var w=function(Z){return Z.replace(/[^\w.-]+/g,"")},_=200,T=600,S=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,E=function(Z){return Z!=null},I=function(Z,ee){return ee===Z||typeof ee=="number"&&typeof Z=="number"&&isNaN(ee)&&isNaN(Z)},O=function(X){Object(i.a)(ee,X);var Z=A(ee);function ee(Se){var $;Object(a.a)(this,ee),$=Z.call(this,Se),$.onKeyDown=function(_e){var Ue=$.props,ye=Ue.onKeyDown,Be=Ue.onPressEnter;if(_e.keyCode===s.a.UP){var Q=$.getRatio(_e);$.up(_e,Q,null),$.stop()}else if(_e.keyCode===s.a.DOWN){var ie=$.getRatio(_e);$.down(_e,ie,null),$.stop()}else _e.keyCode===s.a.ENTER&&Be&&Be(_e);if($.recordCursorPosition(),$.lastKeyCode=_e.keyCode,ye){for(var Ve=arguments.length,J=new Array(Ve>1?Ve-1:0),W=1;W<Ve;W++)J[W-1]=arguments[W];ye.apply(void 0,[_e].concat(J))}},$.onKeyUp=function(_e){var Ue=$.props.onKeyUp;if($.stop(),$.recordCursorPosition(),Ue){for(var ye=arguments.length,Be=new Array(ye>1?ye-1:0),Q=1;Q<ye;Q++)Be[Q-1]=arguments[Q];Ue.apply(void 0,[_e].concat(Be))}},$.onChange=function(_e){var Ue=$.props.onChange;$.state.focused&&($.inputting=!0),$.rawInput=$.props.parser($.getValueFromEvent(_e)),$.setState({inputValue:$.rawInput}),Ue($.toNumber($.rawInput))},$.onMouseUp=function(){var _e=$.props.onMouseUp;$.recordCursorPosition(),_e&&_e.apply(void 0,arguments)},$.onFocus=function(){var _e;$.setState({focused:!0}),(_e=$.props).onFocus.apply(_e,arguments)},$.onBlur=function(){var _e=$.props.onBlur;$.inputting=!1,$.setState({focused:!1});var Ue=$.getCurrentValidValue($.state.inputValue),ye=$.setValue(Ue,x);if(_e){var Be=$.input.value,Q=$.getInputDisplayValue({focus:!1,value:ye});$.input.value=Q&&Number(Q),_e.apply(void 0,arguments),$.input.value=Be}},$.getRatio=function(_e){var Ue=1;return _e.metaKey||_e.ctrlKey?Ue=.1:_e.shiftKey&&(Ue=10),Ue},$.getFullNum=function(_e){return isNaN(_e)?_e:/e/i.test(String(_e))?Number(_e).toFixed(18).replace(/\.?0+$/,""):_e},$.getPrecision=function(_e){if(E($.props.precision))return $.props.precision;var Ue=String(_e);if(Ue.indexOf("e-")>=0)return parseInt(Ue.slice(Ue.indexOf("e-")+2),10);var ye=0;return Ue.indexOf(".")>=0&&(ye=Ue.length-Ue.indexOf(".")-1),ye},$.getInputDisplayValue=function(_e){var Ue=_e||$.state,ye=Ue.focused,Be=Ue.inputValue,Q=Ue.value,ie;ye?ie=Be:ie=$.toPrecisionAsStep(Q),ie==null&&(ie="");var Ve=$.formatWrapper(ie);return E($.props.decimalSeparator)&&(Ve=Ve.toString().replace(".",$.props.decimalSeparator)),Ve},$.recordCursorPosition=function(){try{$.cursorStart=$.input.selectionStart,$.cursorEnd=$.input.selectionEnd,$.currentValue=$.input.value,$.cursorBefore=$.input.value.substring(0,$.cursorStart),$.cursorAfter=$.input.value.substring($.cursorEnd)}catch(_e){}},$.restoreByAfter=function(_e){if(_e===void 0)return!1;var Ue=$.input.value,ye=Ue.lastIndexOf(_e);if(ye===-1)return!1;var Be=$.cursorBefore.length;return $.lastKeyCode===s.a.DELETE&&$.cursorBefore.charAt(Be-1)===_e[0]?($.fixCaret(Be,Be),!0):ye+_e.length===Ue.length?($.fixCaret(ye,ye),!0):!1},$.partRestoreByAfter=function(_e){return _e===void 0?!1:Array.prototype.some.call(_e,function(Ue,ye){var Be=_e.substring(ye);return $.restoreByAfter(Be)})},$.isNotCompleteNumber=function(_e){return isNaN(_e)||_e===""||_e===null||_e&&_e.toString().indexOf(".")===_e.toString().length-1},$.stop=function(){$.autoStepTimer&&clearTimeout($.autoStepTimer)},$.down=function(_e,Ue,ye){$.pressingUpOrDown=!0,$.step("down",_e,Ue,ye)},$.up=function(_e,Ue,ye){$.pressingUpOrDown=!0,$.step("up",_e,Ue,ye)},$.saveInput=function(_e){$.input=_e};var pe=Se.value;pe===void 0&&(pe=Se.defaultValue),$.state={focused:Se.autoFocus};var xe=$.getValidValue($.toNumber(pe));return $.state=f(f({},$.state),{},{inputValue:$.toPrecisionAsStep(xe),value:xe}),$}return Object(d.a)(ee,[{key:"componentDidMount",value:function(){this.componentDidUpdate(null)}},{key:"componentDidUpdate",value:function($){var pe=this.props,xe=pe.value,_e=pe.onChange,Ue=pe.max,ye=pe.min,Be=this.state.focused;if($){if(!I($.value,xe)||!I($.max,Ue)||!I($.min,ye)){var Q=Be?xe:this.getValidValue(xe),ie;this.pressingUpOrDown?ie=Q:this.inputting?ie=this.rawInput:ie=this.toPrecisionAsStep(Q),this.setState({value:Q,inputValue:ie})}var Ve="value"in this.props?xe:this.state.value;"max"in this.props&&$.max!==Ue&&typeof Ve=="number"&&Ve>Ue&&_e&&_e(Ue),"min"in this.props&&$.min!==ye&&typeof Ve=="number"&&Ve<ye&&_e&&_e(ye)}try{if(this.cursorStart!==void 0&&this.state.focused){if(!this.partRestoreByAfter(this.cursorAfter)&&this.state.value!==this.props.value){var J=this.cursorStart+1;this.cursorAfter?this.lastKeyCode===s.a.BACKSPACE?J=this.cursorStart-1:this.lastKeyCode===s.a.DELETE&&(J=this.cursorStart):J=this.input.value.length,this.fixCaret(J,J)}else if(this.currentValue===this.input.value)switch(this.lastKeyCode){case s.a.BACKSPACE:this.fixCaret(this.cursorStart-1,this.cursorStart-1);break;case s.a.DELETE:this.fixCaret(this.cursorStart+1,this.cursorStart+1);break;default:}}}catch(W){}if(this.lastKeyCode=null,!this.pressingUpOrDown)return;this.props.focusOnUpDown&&this.state.focused&&(document.activeElement!==this.input&&this.focus())}},{key:"componentWillUnmount",value:function(){this.stop()}},{key:"getCurrentValidValue",value:function($){var pe=$;return pe===""?pe="":this.isNotCompleteNumber(parseFloat(pe))?pe=this.state.value:pe=this.getValidValue(pe),this.toNumber(pe)}},{key:"getValueFromEvent",value:function($){var pe=$.target.value.trim().replace(/。/g,".");return E(this.props.decimalSeparator)&&(pe=pe.replace(this.props.decimalSeparator,".")),pe}},{key:"getValidValue",value:function($){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.props.min,xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.props.max,_e=parseFloat($);return isNaN(_e)?$:(_e<pe&&(_e=pe),_e>xe&&(_e=xe),_e)}},{key:"setValue",value:function($,pe){var xe=this.props.precision,_e=this.isNotCompleteNumber(parseFloat($))?null:parseFloat($),Ue=this.state.value,ye=Ue===void 0?null:Ue,Be=this.state.inputValue,Q=Be===void 0?null:Be,ie=typeof _e=="number"?_e.toFixed(xe):"".concat(_e),Ve=_e!==ye||ie!=="".concat(Q);return"value"in this.props?(Q=this.toPrecisionAsStep(this.state.value),this.setState({inputValue:Q},pe)):this.setState({value:_e,inputValue:this.toPrecisionAsStep($)},pe),Ve&&this.props.onChange(_e),_e}},{key:"getMaxPrecision",value:function($){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,xe=this.props,_e=xe.precision,Ue=xe.step;if(E(_e))return _e;var ye=this.getPrecision(pe),Be=this.getPrecision(Ue),Q=this.getPrecision($);return $?Math.max(Q,ye+Be):ye+Be}},{key:"getPrecisionFactor",value:function($){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,xe=this.getMaxPrecision($,pe);return Math.pow(10,xe)}},{key:"focus",value:function(){this.input.focus(),this.recordCursorPosition()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"formatWrapper",value:function($){return this.props.formatter?this.props.formatter($):$}},{key:"toPrecisionAsStep",value:function($){if(this.isNotCompleteNumber($)||$==="")return $;var pe=Math.abs(this.getMaxPrecision($));return isNaN(pe)?$.toString():Number($).toFixed(pe)}},{key:"toNumber",value:function($){var pe=this.props.precision,xe=this.state.focused,_e=$&&$.length>16&&xe;return this.isNotCompleteNumber($)||_e?$:E(pe)?Math.round($*Math.pow(10,pe))/Math.pow(10,pe):Number($)}},{key:"upStep",value:function($,pe){var xe=this.props.step,_e=this.getPrecisionFactor($,pe),Ue=Math.abs(this.getMaxPrecision($,pe)),ye=((_e*$+_e*xe*pe)/_e).toFixed(Ue);return this.toNumber(ye)}},{key:"downStep",value:function($,pe){var xe=this.props.step,_e=this.getPrecisionFactor($,pe),Ue=Math.abs(this.getMaxPrecision($,pe)),ye=((_e*$-_e*xe*pe)/_e).toFixed(Ue);return this.toNumber(ye)}},{key:"step",value:function($,pe){var xe=this,_e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Ue=arguments.length>3?arguments[3]:void 0;this.stop(),pe&&(pe.persist(),pe.preventDefault());var ye=this.props;if(ye.disabled)return;var Be=this.getCurrentValidValue(this.state.inputValue)||0;if(this.isNotCompleteNumber(Be))return;var Q=this["".concat($,"Step")](Be,_e),ie=Q>ye.max||Q<ye.min;if(Q>ye.max?Q=ye.max:Q<ye.min&&(Q=ye.min),this.setValue(Q,null),this.setState({focused:!0},function(){xe.pressingUpOrDown=!1}),ie)return;this.autoStepTimer=setTimeout(function(){xe[$](pe,_e,!0)},Ue?_:T)}},{key:"fixCaret",value:function($,pe){if($===void 0||pe===void 0||!this.input||!this.input.value)return;try{var xe=this.input.selectionStart,_e=this.input.selectionEnd;($!==xe||pe!==_e)&&this.input.setSelectionRange($,pe)}catch(Ue){}}},{key:"render",value:function(){var $,pe=this.props,xe=pe.prefixCls,_e=pe.disabled,Ue=pe.readOnly,ye=pe.useTouch,Be=pe.autoComplete,Q=pe.upHandler,ie=pe.downHandler,Ve=pe.className,J=pe.max,W=pe.min,j=pe.style,Y=pe.title,me=pe.onMouseEnter,ae=pe.onMouseLeave,Le=pe.onMouseOver,Ee=pe.onMouseOut,ne=pe.required,ge=pe.onClick,Ie=pe.tabIndex,Ge=pe.type,ut=pe.placeholder,wt=pe.id,Pe=pe.inputMode,Dt=pe.pattern,et=pe.step,_t=pe.maxLength,Nt=pe.autoFocus,Bt=pe.name,Ft=pe.onPaste,Gt=pe.onInput,qe=Object(n.a)(pe,["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"]),we=this.state,ue=we.value,vt=we.focused,at=o()(xe,($={},Object(t.a)($,Ve,!!Ve),Object(t.a)($,"".concat(xe,"-disabled"),_e),Object(t.a)($,"".concat(xe,"-focused"),vt),$)),Ae={};Object.keys(qe).forEach(function(fe){(fe.substr(0,5)==="data-"||fe.substr(0,5)==="aria-"||fe==="role")&&(Ae[fe]=qe[fe])});var Xt=!Ue&&!_e,Ot=this.getInputDisplayValue(null),rt=(ue||ue===0)&&(isNaN(ue)||Number(ue)>=J),Et=(ue||ue===0)&&(isNaN(ue)||Number(ue)<=W),Zt=rt||_e||Ue,vr=Et||_e||Ue,mt=o()("".concat(xe,"-handler"),"".concat(xe,"-handler-up"),Object(t.a)({},"".concat(xe,"-handler-up-disabled"),Zt)),ce=o()("".concat(xe,"-handler"),"".concat(xe,"-handler-down"),Object(t.a)({},"".concat(xe,"-handler-down-disabled"),vr)),le=ye?{onTouchStart:Zt?x:this.up,onTouchEnd:this.stop}:{onMouseDown:Zt?x:this.up,onMouseUp:this.stop,onMouseLeave:this.stop},oe=ye?{onTouchStart:vr?x:this.down,onTouchEnd:this.stop}:{onMouseDown:vr?x:this.down,onMouseUp:this.stop,onMouseLeave:this.stop};return h.a.createElement("div",{className:at,style:j,title:Y,onMouseEnter:me,onMouseLeave:ae,onMouseOver:Le,onMouseOut:Ee,onFocus:function(){return null},onBlur:function(){return null}},h.a.createElement("div",{className:"".concat(xe,"-handler-wrap")},h.a.createElement("span",Object.assign({unselectable:"on"},le,{role:"button","aria-label":"Increase Value","aria-disabled":Zt,className:mt}),Q||h.a.createElement("span",{unselectable:"on",className:"".concat(xe,"-handler-up-inner"),onClick:b})),h.a.createElement("span",Object.assign({unselectable:"on"},oe,{role:"button","aria-label":"Decrease Value","aria-disabled":vr,className:ce}),ie||h.a.createElement("span",{unselectable:"on",className:"".concat(xe,"-handler-down-inner"),onClick:b}))),h.a.createElement("div",{className:"".concat(xe,"-input-wrap")},h.a.createElement("input",Object.assign({role:"spinbutton","aria-valuemin":W,"aria-valuemax":J,"aria-valuenow":ue,required:ne,type:Ge,placeholder:ut,onPaste:Ft,onClick:ge,onMouseUp:this.onMouseUp,className:"".concat(xe,"-input"),tabIndex:Ie,autoComplete:Be,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:Xt?this.onKeyDown:x,onKeyUp:Xt?this.onKeyUp:x,autoFocus:Nt,maxLength:_t,readOnly:Ue,disabled:_e,max:J,min:W,step:et,name:Bt,title:Y,id:wt,onChange:this.onChange,ref:this.saveInput,value:this.getFullNum(Ot),pattern:Dt,inputMode:Pe,onInput:Gt},Ae))))}}]),ee}(h.a.Component);O.defaultProps={focusOnUpDown:!0,useTouch:!1,prefixCls:"rc-input-number",max:S,min:-S,step:1,style:{},onChange:x,onKeyDown:x,onPressEnter:x,onFocus:x,onBlur:x,parser:w,required:!1,autoComplete:"off"};var F=O,k=F,M=r("FH2Y"),P=r.n(M),V=r("HQEm"),D=r.n(V),H=r("H84U"),U=r("3Nzz"),z=function(X,Z){var ee={};for(var Se in X)Object.prototype.hasOwnProperty.call(X,Se)&&Z.indexOf(Se)<0&&(ee[Se]=X[Se]);if(X!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $=0,Se=Object.getOwnPropertySymbols(X);$<Se.length;$++)Z.indexOf(Se[$])<0&&Object.prototype.propertyIsEnumerable.call(X,Se[$])&&(ee[Se[$]]=X[Se[$]]);return ee},K=g.forwardRef(function(X,Z){var ee=function($){var pe=$.getPrefixCls,xe=$.direction,_e=X.className,Ue=X.size,ye=X.prefixCls,Be=X.readOnly,Q=z(X,["className","size","prefixCls","readOnly"]),ie=pe("input-number",ye),Ve=g.createElement(P.a,{className:"".concat(ie,"-handler-up-inner")}),J=g.createElement(D.a,{className:"".concat(ie,"-handler-down-inner")});return g.createElement(U.b.Consumer,null,function(W){var j,Y=Ue||W,me=o()((j={},p()(j,"".concat(ie,"-lg"),Y==="large"),p()(j,"".concat(ie,"-sm"),Y==="small"),p()(j,"".concat(ie,"-rtl"),xe==="rtl"),p()(j,"".concat(ie,"-readonly"),Be),j),_e);return g.createElement(k,m()({ref:Z,className:me,upHandler:Ve,downHandler:J,prefixCls:ie,readOnly:Be},Q))})};return g.createElement(H.a,null,ee)});K.defaultProps={step:1};var G=N.a=K},g0SD:function(B,N,r){var y=r("bYtY"),m=r("9wZj"),C=r("OELB"),p=r("YXkt"),g=r("kj2x"),h=r("iPDy");function c(t,a,d){var i=a.coordinateSystem;t.each(function(l){var e=t.getItemModel(l),s,u=C.parsePercent(e.get("x"),d.getWidth()),f=C.parsePercent(e.get("y"),d.getHeight());if(!isNaN(u)&&!isNaN(f))s=[u,f];else if(a.getMarkerPosition)s=a.getMarkerPosition(t.getValues(t.dimensions,l));else if(i){var A=t.get(i.dimensions[0],l),v=t.get(i.dimensions[1],l);s=i.dataToPoint([A,v])}isNaN(u)||(s[0]=u),isNaN(f)||(s[1]=f),t.setItemLayout(l,s)})}var o=h.extend({type:"markPoint",updateTransform:function(t,a,d){a.eachSeries(function(i){var l=i.markPointModel;l&&(c(l.getData(),i,d),this.markerGroupMap.get(i.id).updateLayout(l))},this)},renderSeries:function(t,a,d,i){var l=t.coordinateSystem,e=t.id,s=t.getData(),u=this.markerGroupMap,f=u.get(e)||u.set(e,new m),A=n(l,t,a);a.setData(A),c(a.getData(),t,i),A.each(function(v){var x=A.getItemModel(v),b=x.getShallow("symbol"),w=x.getShallow("symbolSize"),_=y.isFunction(b),T=y.isFunction(w);if(_||T){var S=a.getRawValue(v),E=a.getDataParams(v);_&&(b=b(S,E)),T&&(w=w(S,E))}A.setItemVisual(v,{symbol:b,symbolSize:w,color:x.get("itemStyle.color")||s.getVisual("color")})}),f.updateData(A),this.group.add(f.group),A.eachItemGraphicEl(function(v){v.traverse(function(x){x.dataModel=a})}),f.__keep=!0,f.group.silent=a.get("silent")||t.get("silent")}});function n(t,a,d){var i;t?i=y.map(t&&t.dimensions,function(s){var u=a.getData().getDimensionInfo(a.getData().mapDimension(s))||{};return y.defaults({name:s},u)}):i=[{name:"value",type:"float"}];var l=new p(i,d),e=y.map(d.get("data"),y.curry(g.dataTransform,a));return t&&(e=y.filter(e,y.curry(g.dataFilter,t))),l.initData(e,null,t?g.dimValueGetter:function(s){return s.value}),l}B.exports=o},g7p0:function(B,N,r){var y=r("bYtY"),m=r("bLfw"),C=r("+TT/"),p=C.getLayoutParams,g=C.sizeCalculable,h=C.mergeLayoutParam,c=m.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(t,a,d,i){var l=p(t);c.superApply(this,"init",arguments),o(t,l)},mergeOption:function(t,a){c.superApply(this,"mergeOption",arguments),o(this.option,t)}});function o(t,a){var d=t.cellSize;y.isArray(d)?d.length===1&&(d[1]=d[0]):d=t.cellSize=[d,d];var i=y.map([0,1],function(l){return g(a,l)&&(d[l]="auto"),d[l]!=null&&d[l]!=="auto"});h(t,a,{type:"box",ignoreSize:i})}var n=c;B.exports=n},g9YV:function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("pED+"),p=r.n(C),g=r("+L6B"),h=r("R9oj"),c=r("7Kak"),o=r("sRBo"),n=r("qVdP"),t=r("T2oS"),a=r("DjyN"),d=r("5Dmo")},gIYZ:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y={Backspace:"Backspace",AltLeft:"Alt",AltRight:"Alt",CapsLock:"CapsLock",ContextMenu:"ContextMenu",ControlLeft:"Control",ControlRight:"Control",Enter:"Enter",MetaLeft:"Meta",MetaRight:"Meta",ShiftLeft:"Shift",ShiftRight:"Shift",Tab:"Tab",Delete:"Delete",End:"End",Help:"Help",Home:"Home",Insert:"Insert",PageDown:"PageDown",PageUp:"PageUp",ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight",ArrowUp:"ArrowUp",NumLock:"NumLock",NumpadBackspace:"Backspace",NumpadClear:"Clear",Escape:"Escape",F1:"F1",F2:"F2",F3:"F3",F4:"F4",F5:"F5",F6:"F6",F7:"F7",F8:"F8",F9:"F9",F10:"F10",F11:"F11",F12:"F12",F13:"F13",F14:"F14",F15:"F15",F16:"F16",F17:"F17",F18:"F18",F19:"F19",F20:"F20",F21:"F21",F22:"F22",F23:"F23",F24:"F24",F25:"F25",F26:"F26",F27:"F27",F28:"F28",F29:"F29",F30:"F30",F31:"F31",F32:"F32",F33:"F33",F34:"F34",F35:"F35",PrintScreen:"PrintScreen",ScrollLock:"ScrollLock",Pause:"Pause",BrowserBack:"BrowserBack",BrowserFavorites:"BrowserFavorites",BrowserForward:"BrowserForward",BrowserHome:"BrowserHome",BrowserRefresh:"BrowserRefresh",BrowserSearch:"BrowserSearch",BrowserStop:"BrowserStop",Eject:"Eject",LaunchApp1:"LaunchMyComputer",LaunchApp2:"LaunchCalendar",LaunchMail:"LaunchMail",MediaPlayPause:"MediaPlay",MediaStop:"MediaStop",MediaTrackNext:"MediaTrackNext",MediaTrackPrevious:"MediaTrackPrevious",Power:"Power",Sleep:"Sleep",AudioVolumeDown:"AudioVolumeDown",AudioVolumeMute:"AudioVolumeMute",AudioVolumeUp:"AudioVolumeUp",WakeUp:"WakeUp"};N.default=y},gK9i:function(B,N,r){"use strict";var y=r("pVnL"),m=r.n(y),C=r("lSNA"),p=r.n(C),g=r("q1tI"),h=r.n(g),c=r("TSYQ"),o=r.n(c),n=r("Gytx"),t=r.n(n),a=r("Zm9Q"),d=function(){function j(Y,me){for(var ae=0;ae<me.length;ae++){var Le=me[ae];Le.enumerable=Le.enumerable||!1,Le.configurable=!0,"value"in Le&&(Le.writable=!0),Object.defineProperty(Y,Le.key,Le)}}return function(Y,me,ae){return me&&j(Y.prototype,me),ae&&j(Y,ae),Y}}();function i(j,Y,me){return Y in j?Object.defineProperty(j,Y,{value:me,enumerable:!0,configurable:!0,writable:!0}):j[Y]=me,j}function l(j,Y){if(!(j instanceof Y))throw new TypeError("Cannot call a class as a function")}function e(j,Y){if(!j)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Y&&(typeof Y=="object"||typeof Y=="function")?Y:j}function s(j,Y){if(typeof Y!="function"&&Y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Y);j.prototype=Object.create(Y&&Y.prototype,{constructor:{value:j,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(j,Y):j.__proto__=Y)}var u=function(j){s(Y,j);function Y(){return l(this,Y),e(this,(Y.__proto__||Object.getPrototypeOf(Y)).apply(this,arguments))}return d(Y,[{key:"shouldComponentUpdate",value:function(ae){return this.props.forceRender||!t()(this.props,ae)}},{key:"render",value:function(){var ae;if(this._isActived=this.props.forceRender||this._isActived||this.props.isActive,!this._isActived)return null;var Le=this.props,Ee=Le.prefixCls,ne=Le.isActive,ge=Le.children,Ie=Le.destroyInactivePanel,Ge=Le.forceRender,ut=Le.role,wt=o()(Ee+"-content",(ae={},i(ae,Ee+"-content-active",ne),i(ae,Ee+"-content-inactive",!ne),ae)),Pe=!Ge&&!ne&&Ie?null:h.a.createElement("div",{className:Ee+"-content-box"},ge);return h.a.createElement("div",{className:wt,role:ut},Pe)}}]),Y}(g.Component),f=u,A=r("MFj2"),v=function(){function j(Y,me){for(var ae=0;ae<me.length;ae++){var Le=me[ae];Le.enumerable=Le.enumerable||!1,Le.configurable=!0,"value"in Le&&(Le.writable=!0),Object.defineProperty(Y,Le.key,Le)}}return function(Y,me,ae){return me&&j(Y.prototype,me),ae&&j(Y,ae),Y}}();function x(j,Y,me){return Y in j?Object.defineProperty(j,Y,{value:me,enumerable:!0,configurable:!0,writable:!0}):j[Y]=me,j}function b(j,Y){if(!(j instanceof Y))throw new TypeError("Cannot call a class as a function")}function w(j,Y){if(!j)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Y&&(typeof Y=="object"||typeof Y=="function")?Y:j}function _(j,Y){if(typeof Y!="function"&&Y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Y);j.prototype=Object.create(Y&&Y.prototype,{constructor:{value:j,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(j,Y):j.__proto__=Y)}var T=function(j){_(Y,j);function Y(){var me,ae,Le,Ee;b(this,Y);for(var ne=arguments.length,ge=Array(ne),Ie=0;Ie<ne;Ie++)ge[Ie]=arguments[Ie];return Ee=(ae=(Le=w(this,(me=Y.__proto__||Object.getPrototypeOf(Y)).call.apply(me,[this].concat(ge))),Le),Le.handleItemClick=function(){var Ge=Le.props,ut=Ge.onItemClick,wt=Ge.panelKey;typeof ut=="function"&&ut(wt)},Le.handleKeyPress=function(Ge){(Ge.key==="Enter"||Ge.keyCode===13||Ge.which===13)&&Le.handleItemClick()},ae),w(Le,Ee)}return v(Y,[{key:"shouldComponentUpdate",value:function(ae){return!t()(this.props,ae)}},{key:"render",value:function(){var ae,Le=this.props,Ee=Le.className,ne=Le.id,ge=Le.style,Ie=Le.prefixCls,Ge=Le.header,ut=Le.headerClass,wt=Le.children,Pe=Le.isActive,Dt=Le.showArrow,et=Le.destroyInactivePanel,_t=Le.disabled,Nt=Le.accordion,Bt=Le.forceRender,Ft=Le.expandIcon,Gt=Le.extra,qe=o()(Ie+"-header",x({},ut,ut)),we=o()((ae={},x(ae,Ie+"-item",!0),x(ae,Ie+"-item-active",Pe),x(ae,Ie+"-item-disabled",_t),ae),Ee),ue=h.a.createElement("i",{className:"arrow"});return Dt&&typeof Ft=="function"&&(ue=Ft(this.props)),h.a.createElement("div",{className:we,style:ge,id:ne},h.a.createElement("div",{className:qe,onClick:this.handleItemClick,role:Nt?"tab":"button",tabIndex:_t?-1:0,"aria-expanded":""+Pe,onKeyPress:this.handleKeyPress},Dt&&ue,Ge,Gt&&h.a.createElement("div",{className:Ie+"-extra"},Gt)),h.a.createElement(A.a,{showProp:"isActive",exclusive:!0,component:"",animation:this.props.openAnimation},h.a.createElement(f,{prefixCls:Ie,isActive:Pe,destroyInactivePanel:et,forceRender:Bt,role:Nt?"tabpanel":null},wt)))}}]),Y}(g.Component);T.defaultProps={showArrow:!0,isActive:!1,destroyInactivePanel:!1,onItemClick:function(){},headerClass:"",forceRender:!1};var S=T,E=r("UwPn");function I(j,Y,me,ae){var Le=void 0;return Object(E.a)(j,me,{start:function(){Y?(Le=j.offsetHeight,j.style.height=0):j.style.height=j.offsetHeight+"px"},active:function(){j.style.height=(Y?Le:0)+"px"},end:function(){j.style.height="",ae()}})}function O(j){return{enter:function(me,ae){return I(me,!0,j+"-anim",ae)},leave:function(me,ae){return I(me,!1,j+"-anim",ae)}}}var F=O,k=function(){function j(Y,me){for(var ae=0;ae<me.length;ae++){var Le=me[ae];Le.enumerable=Le.enumerable||!1,Le.configurable=!0,"value"in Le&&(Le.writable=!0),Object.defineProperty(Y,Le.key,Le)}}return function(Y,me,ae){return me&&j(Y.prototype,me),ae&&j(Y,ae),Y}}();function M(j){if(Array.isArray(j)){for(var Y=0,me=Array(j.length);Y<j.length;Y++)me[Y]=j[Y];return me}else return Array.from(j)}function P(j,Y,me){return Y in j?Object.defineProperty(j,Y,{value:me,enumerable:!0,configurable:!0,writable:!0}):j[Y]=me,j}function V(j,Y){if(!(j instanceof Y))throw new TypeError("Cannot call a class as a function")}function D(j,Y){if(!j)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Y&&(typeof Y=="object"||typeof Y=="function")?Y:j}function H(j,Y){if(typeof Y!="function"&&Y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Y);j.prototype=Object.create(Y&&Y.prototype,{constructor:{value:j,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(j,Y):j.__proto__=Y)}function U(j){var Y=j;return Array.isArray(Y)||(Y=Y?[Y]:[]),Y.map(function(me){return String(me)})}var z=function(j){H(Y,j);function Y(me){V(this,Y);var ae=D(this,(Y.__proto__||Object.getPrototypeOf(Y)).call(this,me));K.call(ae);var Le=me.activeKey,Ee=me.defaultActiveKey,ne=Ee;return"activeKey"in me&&(ne=Le),ae.state={openAnimation:me.openAnimation||F(me.prefixCls),activeKey:U(ne)},ae}return k(Y,[{key:"shouldComponentUpdate",value:function(ae,Le){return!t()(this.props,ae)||!t()(this.state,Le)}},{key:"render",value:function(){var ae,Le=this.props,Ee=Le.prefixCls,ne=Le.className,ge=Le.style,Ie=Le.accordion,Ge=o()((ae={},P(ae,Ee,!0),P(ae,ne,!!ne),ae));return h.a.createElement("div",{className:Ge,style:ge,role:Ie?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(ae){var Le={};return"activeKey"in ae&&(Le.activeKey=U(ae.activeKey)),"openAnimation"in ae&&(Le.openAnimation=ae.openAnimation),Le.activeKey||Le.openAnimation?Le:null}}]),Y}(g.Component),K=function(){var Y=this;this.onClickItem=function(me){var ae=Y.state.activeKey;if(Y.props.accordion)ae=ae[0]===me?[]:[me];else{ae=[].concat(M(ae));var Le=ae.indexOf(me),Ee=Le>-1;Ee?ae.splice(Le,1):ae.push(me)}Y.setActiveKey(ae)},this.getNewChild=function(me,ae){if(!me)return null;var Le=Y.state.activeKey,Ee=Y.props,ne=Ee.prefixCls,ge=Ee.accordion,Ie=Ee.destroyInactivePanel,Ge=Ee.expandIcon,ut=me.key||String(ae),wt=me.props,Pe=wt.header,Dt=wt.headerClass,et=wt.disabled,_t=!1;ge?_t=Le[0]===ut:_t=Le.indexOf(ut)>-1;var Nt={key:ut,panelKey:ut,header:Pe,headerClass:Dt,isActive:_t,prefixCls:ne,destroyInactivePanel:Ie,openAnimation:Y.state.openAnimation,accordion:ge,children:me.props.children,onItemClick:et?null:Y.onClickItem,expandIcon:Ge};return typeof me.type=="string"?me:h.a.cloneElement(me,Nt)},this.getItems=function(){var me=Y.props.children;return Object(a.a)(me).map(Y.getNewChild)},this.setActiveKey=function(me){"activeKey"in Y.props||Y.setState({activeKey:me}),Y.props.onChange(Y.props.accordion?me[0]:me)}};z.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},z.Panel=S;var G=z,X=G,Z=G.Panel,ee=r("fEPi"),Se=r.n(ee),$=r("H84U"),pe=function(Y){var me=g.useContext($.b),ae=me.getPrefixCls,Le=Y.prefixCls,Ee=Y.className,ne=Ee===void 0?"":Ee,ge=Y.showArrow,Ie=ge===void 0?!0:ge,Ge=ae("collapse",Le),ut=o()(p()({},"".concat(Ge,"-no-arrow"),!Ie),ne);return g.createElement(X.Panel,m()({},Y,{prefixCls:Ge,className:ut}))},xe=pe,_e=r("xEkU"),Ue=r.n(_e);function ye(j,Y,me){var ae,Le;return Object(E.a)(j,"ant-motion-collapse-legacy",{start:function(){Y?(ae=j.offsetHeight,j.style.height="0px",j.style.opacity="0"):(j.style.height="".concat(j.offsetHeight,"px"),j.style.opacity="1")},active:function(){Le&&Ue.a.cancel(Le),Le=Ue()(function(){j.style.height="".concat(Y?ae:0,"px"),j.style.opacity=Y?"1":"0"})},end:function(){Le&&Ue.a.cancel(Le),j.style.height="",j.style.opacity="",me()}})}var Be={enter:function(Y,me){return ye(Y,!0,me)},leave:function(Y,me){return ye(Y,!1,me)},appear:function(Y,me){return ye(Y,!0,me)}},Q=Be,ie=r("0n0R"),Ve=function(Y){var me,ae=g.useContext($.b),Le=ae.getPrefixCls,Ee=ae.direction,ne=Y.prefixCls,ge=Y.className,Ie=ge===void 0?"":ge,Ge=Y.bordered,ut=Y.ghost,wt=Le("collapse",ne),Pe=function(){var Ft=Y.expandIconPosition;return Ft!==void 0?Ft:Ee==="rtl"?"right":"left"},Dt=function(){var Ft=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Gt=Y.expandIcon,qe=Gt?Gt(Ft):g.createElement(Se.a,{rotate:Ft.isActive?90:void 0});return Object(ie.a)(qe,function(){return{className:o()(qe.props.className,"".concat(wt,"-arrow"))}})},et=Pe(),_t=o()((me={},p()(me,"".concat(wt,"-borderless"),!Ge),p()(me,"".concat(wt,"-icon-position-").concat(et),!0),p()(me,"".concat(wt,"-rtl"),Ee==="rtl"),p()(me,"".concat(wt,"-ghost"),!!ut),me),Ie),Nt=m()(m()({},Q),{appear:function(){}});return g.createElement(X,m()({openAnimation:Nt},Y,{expandIcon:function(Ft){return Dt(Ft)},prefixCls:wt,className:_t}))};Ve.Panel=xe,Ve.defaultProps={bordered:!0};var J=Ve,W=N.a=J},gKaM:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};N.default=y},gPAo:function(B,N){function r(p){return p}function y(p,g,h,c,o){this._old=p,this._new=g,this._oldKeyGetter=h||r,this._newKeyGetter=c||r,this.context=o}y.prototype={constructor:y,add:function(p){return this._add=p,this},update:function(p){return this._update=p,this},remove:function(p){return this._remove=p,this},execute:function(){var p=this._old,g=this._new,h={},c={},o=[],n=[],t;for(m(p,h,o,"_oldKeyGetter",this),m(g,c,n,"_newKeyGetter",this),t=0;t<p.length;t++){var a=o[t],d=c[a];if(d!=null){var i=d.length;i?(i===1&&(c[a]=null),d=d.shift()):c[a]=null,this._update&&this._update(d,t)}else this._remove&&this._remove(t)}for(var t=0;t<n.length;t++){var a=n[t];if(c.hasOwnProperty(a)){var d=c[a];if(d==null)continue;if(!d.length)this._add&&this._add(d);else for(var l=0,i=d.length;l<i;l++)this._add&&this._add(d[l])}}}};function m(p,g,h,c,o){for(var n=0;n<p.length;n++){var t="_ec_"+o[c](p[n],n),a=g[t];a==null?(h.push(t),g[t]=n):(a.length||(g[t]=a=[a]),a.push(n))}}var C=y;B.exports=C},gRFJ:function(B,N,r){B.exports=[r("rdUC"),r("ynwM"),r("RELg"),r("DlR+"),r("CrYA"),r("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(B){return B<10?"0"+B:B}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(B){return rx_escapable.lastIndex=0,rx_escapable.test(B)?'"'+B.replace(rx_escapable,function(N){var r=meta[N];return typeof r=="string"?r:"\\u"+("0000"+N.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+B+'"'}function str(B,N){var r,y,m,C,p=gap,g,h=N[B];h&&typeof h=="object"&&typeof h.toJSON=="function"&&(h=h.toJSON(B)),typeof rep=="function"&&(h=rep.call(N,B,h));switch(typeof h){case"string":return quote(h);case"number":return isFinite(h)?String(h):"null";case"boolean":case"null":return String(h);case"object":if(!h)return"null";if(gap+=indent,g=[],Object.prototype.toString.apply(h)==="[object Array]"){for(C=h.length,r=0;r<C;r+=1)g[r]=str(r,h)||"null";return m=g.length===0?"[]":gap?`[
|
|
|
`+gap+g.join(`,
|
|
|
`+gap)+`
|
|
|
`+p+"]":"["+g.join(",")+"]",gap=p,m}if(rep&&typeof rep=="object")for(C=rep.length,r=0;r<C;r+=1)typeof rep[r]=="string"&&(y=rep[r],m=str(y,h),m&&g.push(quote(y)+(gap?": ":":")+m));else for(y in h)Object.prototype.hasOwnProperty.call(h,y)&&(m=str(y,h),m&&g.push(quote(y)+(gap?": ":":")+m));return m=g.length===0?"{}":gap?`{
|
|
|
`+gap+g.join(`,
|
|
|
`+gap)+`
|
|
|
`+p+"}":"{"+g.join(",")+"}",gap=p,m}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(B,N,r){var y;if(gap="",indent="",typeof r=="number")for(y=0;y<r;y+=1)indent+=" ";else typeof r=="string"&&(indent=r);if(rep=N,N&&typeof N!="function"&&(typeof N!="object"||typeof N.length!="number"))throw new Error("JSON.stringify");return str("",{"":B})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(B,N){var r,y,m=B[N];if(m&&typeof m=="object")for(r in m)Object.prototype.hasOwnProperty.call(m,r)&&(y=walk(m,r),y!==void 0?m[r]=y:delete m[r]);return reviver.call(B,N,m)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(B){return"\\u"+("0000"+B.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(B,N,r){var y=r("+TT/"),m=r("bYtY"),C=r("4NO4"),p=C.groupData;function g(I,O,F){I.eachSeriesByType("sankey",function(k){var M=k.get("nodeWidth"),P=k.get("nodeGap"),V=h(k,O);k.layoutInfo=V;var D=V.width,H=V.height,U=k.getGraph(),z=U.nodes,K=U.edges;o(z);var G=m.filter(z,function(Se){return Se.getLayout().value===0}),X=G.length!==0?0:k.get("layoutIterations"),Z=k.get("orient"),ee=k.get("nodeAlign");c(z,K,M,P,D,H,X,Z,ee)})}function h(I,O){return y.getLayoutRect(I.getBoxLayoutParams(),{width:O.getWidth(),height:O.getHeight()})}function c(I,O,F,k,M,P,V,D,H){n(I,O,F,M,P,D,H),l(I,O,P,M,k,V,D),E(I,D)}function o(I){m.each(I,function(O){var F=T(O.outEdges,_),k=T(O.inEdges,_),M=O.getValue()||0,P=Math.max(F,k,M);O.setLayout({value:P},!0)})}function n(I,O,F,k,M,P,V){for(var D=[],H=[],U=[],z=[],K=0,G=0,X=0;X<O.length;X++)D[X]=1;for(X=0;X<I.length;X++)H[X]=I[X].inEdges.length,H[X]===0&&U.push(I[X]);for(var Z=-1;U.length;){for(var ee=0;ee<U.length;ee++){var Se=U[ee],$=Se.hostGraph.data.getRawDataItem(Se.dataIndex),pe=$.depth!=null&&$.depth>=0;pe&&$.depth>Z&&(Z=$.depth),Se.setLayout({depth:pe?$.depth:K},!0),P==="vertical"?Se.setLayout({dy:F},!0):Se.setLayout({dx:F},!0);for(var xe=0;xe<Se.outEdges.length;xe++){var _e=Se.outEdges[xe],Ue=O.indexOf(_e);D[Ue]=0;var ye=_e.node2,Be=I.indexOf(ye);--H[Be]===0&&z.indexOf(ye)<0&&z.push(ye)}}++K,U=z,z=[]}for(X=0;X<D.length;X++)if(D[X]===1)throw new Error("Sankey is a DAG, the original data has cycle!");var Q=Z>K-1?Z:K-1;V&&V!=="left"&&a(I,V,P,Q);var G=P==="vertical"?(M-F)/Q:(k-F)/Q;i(I,G,P)}function t(I){var O=I.hostGraph.data.getRawDataItem(I.dataIndex);return O.depth!=null&&O.depth>=0}function a(I,O,F,k){if(O==="right"){for(var M=[],P=I,V=0;P.length;){for(var D=0;D<P.length;D++){var H=P[D];H.setLayout({skNodeHeight:V},!0);for(var U=0;U<H.inEdges.length;U++){var z=H.inEdges[U];M.indexOf(z.node1)<0&&M.push(z.node1)}}P=M,M=[],++V}m.each(I,function(K){t(K)||K.setLayout({depth:Math.max(0,k-K.getLayout().skNodeHeight)},!0)})}else O==="justify"&&d(I,k)}function d(I,O){m.each(I,function(F){!t(F)&&!F.outEdges.length&&F.setLayout({depth:O},!0)})}function i(I,O,F){m.each(I,function(k){var M=k.getLayout().depth*O;F==="vertical"?k.setLayout({y:M},!0):k.setLayout({x:M},!0)})}function l(I,O,F,k,M,P,V){var D=e(I,V);s(D,O,F,k,M,V),u(D,M,F,k,V);for(var H=1;P>0;P--)H*=.99,f(D,H,V),u(D,M,F,k,V),S(D,H,V),u(D,M,F,k,V)}function e(I,O){var F=[],k=O==="vertical"?"y":"x",M=p(I,function(P){return P.getLayout()[k]});return M.keys.sort(function(P,V){return P-V}),m.each(M.keys,function(P){F.push(M.buckets.get(P))}),F}function s(I,O,F,k,M,P){var V=Infinity;m.each(I,function(D){var H=D.length,U=0;m.each(D,function(K){U+=K.getLayout().value});var z=P==="vertical"?(k-(H-1)*M)/U:(F-(H-1)*M)/U;z<V&&(V=z)}),m.each(I,function(D){m.each(D,function(H,U){var z=H.getLayout().value*V;P==="vertical"?(H.setLayout({x:U},!0),H.setLayout({dx:z},!0)):(H.setLayout({y:U},!0),H.setLayout({dy:z},!0))})}),m.each(O,function(D){var H=+D.getValue()*V;D.setLayout({dy:H},!0)})}function u(I,O,F,k,M){var P=M==="vertical"?"x":"y";m.each(I,function(V){V.sort(function(ee,Se){return ee.getLayout()[P]-Se.getLayout()[P]});for(var D,H,U,z=0,K=V.length,G=M==="vertical"?"dx":"dy",X=0;X<K;X++)H=V[X],U=z-H.getLayout()[P],U>0&&(D=H.getLayout()[P]+U,M==="vertical"?H.setLayout({x:D},!0):H.setLayout({y:D},!0)),z=H.getLayout()[P]+H.getLayout()[G]+O;var Z=M==="vertical"?k:F;if(U=z-O-Z,U>0)for(D=H.getLayout()[P]-U,M==="vertical"?H.setLayout({x:D},!0):H.setLayout({y:D},!0),z=D,X=K-2;X>=0;--X)H=V[X],U=H.getLayout()[P]+H.getLayout()[G]+O-z,U>0&&(D=H.getLayout()[P]-U,M==="vertical"?H.setLayout({x:D},!0):H.setLayout({y:D},!0)),z=H.getLayout()[P]})}function f(I,O,F){m.each(I.slice().reverse(),function(k){m.each(k,function(M){if(M.outEdges.length){var P=T(M.outEdges,A,F)/T(M.outEdges,_,F);if(isNaN(P)){var V=M.outEdges.length;P=V?T(M.outEdges,v,F)/V:0}if(F==="vertical"){var D=M.getLayout().x+(P-w(M,F))*O;M.setLayout({x:D},!0)}else{var H=M.getLayout().y+(P-w(M,F))*O;M.setLayout({y:H},!0)}}})})}function A(I,O){return w(I.node2,O)*I.getValue()}function v(I,O){return w(I.node2,O)}function x(I,O){return w(I.node1,O)*I.getValue()}function b(I,O){return w(I.node1,O)}function w(I,O){return O==="vertical"?I.getLayout().x+I.getLayout().dx/2:I.getLayout().y+I.getLayout().dy/2}function _(I){return I.getValue()}function T(I,O,F){for(var k=0,M=I.length,P=-1;++P<M;){var V=+O.call(I,I[P],F);isNaN(V)||(k+=V)}return k}function S(I,O,F){m.each(I,function(k){m.each(k,function(M){if(M.inEdges.length){var P=T(M.inEdges,x,F)/T(M.inEdges,_,F);if(isNaN(P)){var V=M.inEdges.length;P=V?T(M.inEdges,b,F)/V:0}if(F==="vertical"){var D=M.getLayout().x+(P-w(M,F))*O;M.setLayout({x:D},!0)}else{var H=M.getLayout().y+(P-w(M,F))*O;M.setLayout({y:H},!0)}}})})}function E(I,O){var F=O==="vertical"?"x":"y";m.each(I,function(k){k.outEdges.sort(function(M,P){return M.node2.getLayout()[F]-P.node2.getLayout()[F]}),k.inEdges.sort(function(M,P){return M.node1.getLayout()[F]-P.node1.getLayout()[F]})}),m.each(I,function(k){var M=0,P=0;m.each(k.outEdges,function(V){V.setLayout({sy:M},!0),M+=V.getLayout().dy}),m.each(k.inEdges,function(V){V.setLayout({ty:P},!0),P+=V.getLayout().dy})})}B.exports=g},"giR+":function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("QbM5"),p=r.n(C)},gut8:function(B,N){var r={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},y=9;N.ContextCachedBy=r,N.WILL_BE_RESTORED=y},gvm7:function(B,N,r){var y=r("bYtY"),m=r("dqUG");function C(g){this._zr=g.getZr(),this._show=!1,this._hideTimeout}C.prototype={constructor:C,_enterable:!0,update:function(){},show:function(g){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(g,h,c){this.el&&this._zr.remove(this.el);for(var o={},n=g,t="{marker",a="|}",d=n.indexOf(t);d>=0;){var i=n.indexOf(a),l=n.substr(d+t.length,i-d-t.length);l.indexOf("sub")>-1?o["marker"+l]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:h[l],textOffset:[3,0]}:o["marker"+l]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:h[l]},n=n.substr(i+1),d=n.indexOf("{marker")}this.el=new m({style:{rich:o,text:g,textLineHeight:20,textBackgroundColor:c.get("backgroundColor"),textBorderRadius:c.get("borderRadius"),textFill:c.get("textStyle.color"),textPadding:c.get("padding")},z:c.get("z")}),this._zr.add(this.el);var 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(g){this._enterable=g},getSize:function(){var g=this.el.getBoundingRect();return[g.width,g.height]},moveTo:function(g,h){this.el&&this.el.attr("position",[g,h])},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(g){this._show&&!(this._inContent&&this._enterable)&&(g?(this._hideDelay=g,this._show=!1,this._hideTimeout=setTimeout(y.bind(this.hide,this),g)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var g=this.getSize();return{width:g[0],height:g[1]}}};var p=C;B.exports=p},gwTy:function(B,N,r){},h54F:function(B,N,r){var y=r("ProS"),m=r("YXkt"),C=r("bYtY"),p=r("4NO4"),g=p.defaultEmphasis,h=r("Qxkt"),c=r("7aKB"),o=c.encodeHTML,n=r("I3/A"),t=r("xKMd"),a=y.extendSeriesModel({type:"series.graph",init:function(i){a.superApply(this,"init",arguments);var l=this;function e(){return l._categoriesData}this.legendVisualProvider=new t(e,e),this.fillDataTextStyle(i.edges||i.links),this._updateCategoriesData()},mergeOption:function(i){a.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(i.edges||i.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(i){a.superApply(this,"mergeDefaultAndTheme",arguments),g(i,["edgeLabel"],["show"])},getInitialData:function(i,l){var e=i.edges||i.links||[],s=i.data||i.nodes||[],u=this;if(s&&e)return n(s,e,this,!0,f).data;function f(A,v){A.wrapMethod("getItemModel",function(S){var E=u._categoriesModels,I=S.getShallow("category"),O=E[I];return O&&(O.parentModel=S.parentModel,S.parentModel=O),S});var x=u.getModel("edgeLabel"),b=new h({label:x.option},x.parentModel,l),w=u.getModel("emphasis.edgeLabel"),_=new h({emphasis:{label:w.option}},w.parentModel,l);v.wrapMethod("getItemModel",function(S){return S.customizeGetParent(T),S});function T(S){return S=this.parsePath(S),S&&S[0]==="label"?b:S&&S[0]==="emphasis"&&S[1]==="label"?_:this.parentModel}}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(i,l,e){if(e==="edge"){var s=this.getData(),u=this.getDataParams(i,e),f=s.graph.getEdgeByIndex(i),A=s.getName(f.node1.dataIndex),v=s.getName(f.node2.dataIndex),x=[];return A!=null&&x.push(A),v!=null&&x.push(v),x=o(x.join(" > ")),u.value&&(x+=" : "+o(u.value)),x}else return a.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var i=C.map(this.option.categories||[],function(e){return e.value!=null?e:C.extend({value:0},e)}),l=new m(["value"],this);l.initData(i),this._categoriesData=l,this._categoriesModels=l.mapArray(function(e){return l.getItemModel(e,!0)})},setZoom:function(i){this.option.zoom=i},setCenter:function(i){this.option.center=i},isAnimationEnabled:function(){return a.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}}}}),d=a;B.exports=d},h7HQ:function(B,N,r){var y=r("y+Vt"),m=r("T6xi"),C=y.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(g,h){m.buildPath(g,h,!0)}});B.exports=C},h8O9:function(B,N,r){var y=r("bYtY"),m=y.map,C=r("zM3Q"),p=r("7hqr"),g=p.isDimensionStacked;function h(c){return{seriesType:c,plan:C(),reset:function(o){var n=o.getData(),t=o.coordinateSystem,a=o.pipelineContext,d=a.large;if(!t)return;var i=m(t.dimensions,function(u){return n.mapDimension(u)}).slice(0,2),l=i.length,e=n.getCalculationInfo("stackResultDimension");g(n,i[0])&&(i[0]=e),g(n,i[1])&&(i[1]=e);function s(u,f){for(var A=u.end-u.start,v=d&&new Float32Array(A*l),x=u.start,b=0,w=[],_=[];x<u.end;x++){var T;if(l===1){var S=f.get(i[0],x);T=!isNaN(S)&&t.dataToPoint(S,null,_)}else{var S=w[0]=f.get(i[0],x),E=w[1]=f.get(i[1],x);T=!isNaN(S)&&!isNaN(E)&&t.dataToPoint(w,null,_)}d?(v[b++]=T?T[0]:NaN,v[b++]=T?T[1]:NaN):f.setItemLayout(x,T&&T.slice()||[NaN,NaN])}d&&f.setLayout("symbolPoints",v)}return l&&{progress:s}}}}B.exports=h},hD7B:function(B,N,r){var y=r("bYtY"),m=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function C(g){y.each(m,function(h){this[h]=y.bind(g[h],g)},this)}var p=C;B.exports=p},hFmY:function(B,N,r){var y=r("ProS"),m={type:"axisAreaSelect",event:"axisAreaSelected"};y.registerAction(m,function(C,p){p.eachComponent({mainType:"parallelAxis",query:C},function(g){g.axis.model.setActiveIntervals(C.intervals)})}),y.registerAction("parallelAxisExpand",function(C,p){p.eachComponent({mainType:"parallel",query:C},function(g){g.setAxisExpand(C)})})},hJvP:function(B,N,r){var y=r("2dDv"),m=r("IDmD");function C(p,g){var h=[];return p.eachComponent("parallel",function(c,o){var n=new y(c,p,g);n.name="parallel_"+o,n.resize(c,g),c.coordinateSystem=n,n.model=c,h.push(n)}),p.eachSeries(function(c){if(c.get("coordinateSystem")==="parallel"){var o=p.queryComponents({mainType:"parallel",index:c.get("parallelIndex"),id:c.get("parallelId")})[0];c.coordinateSystem=o.coordinateSystem}}),h}m.register("parallel",{create:C})},hM6l:function(B,N,r){var y=r("bYtY"),m=y.each,C=y.map,p=r("OELB"),g=p.linearMap,h=p.getPixelPrecision,c=p.round,o=r("4HMb"),n=o.createAxisTicks,t=o.createAxisLabels,a=o.calculateCategoryInterval,d=[0,1],i=function(u,f,A){this.dim=u,this.scale=f,this._extent=A||[0,0],this.inverse=!1,this.onBand=!1};i.prototype={constructor:i,contain:function(u){var f=this._extent,A=Math.min(f[0],f[1]),v=Math.max(f[0],f[1]);return u>=A&&u<=v},containData:function(u){return this.scale.contain(u)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(u){return h(u||this.scale.getExtent(),this._extent)},setExtent:function(u,f){var A=this._extent;A[0]=u,A[1]=f},dataToCoord:function(u,f){var A=this._extent,v=this.scale;return u=v.normalize(u),this.onBand&&v.type==="ordinal"&&(A=A.slice(),l(A,v.count())),g(u,d,A,f)},coordToData:function(u,f){var A=this._extent,v=this.scale;this.onBand&&v.type==="ordinal"&&(A=A.slice(),l(A,v.count()));var x=g(u,A,d,f);return this.scale.scale(x)},pointToData:function(u,f){},getTicksCoords:function(u){u=u||{};var f=u.tickModel||this.getTickModel(),A=n(this,f),v=A.ticks,x=C(v,function(w){return{coord:this.dataToCoord(w),tickValue:w}},this),b=f.get("alignWithLabel");return e(this,x,b,u.clamp),x},getMinorTicksCoords:function(){if(this.scale.type==="ordinal")return[];var u=this.model.getModel("minorTick"),f=u.get("splitNumber");f>0&&f<100||(f=5);var A=this.scale.getMinorTicks(f),v=C(A,function(x){return C(x,function(b){return{coord:this.dataToCoord(b),tickValue:b}},this)},this);return v},getViewLabels:function(){return t(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var u=this._extent,f=this.scale.getExtent(),A=f[1]-f[0]+(this.onBand?1:0);A===0&&(A=1);var v=Math.abs(u[1]-u[0]);return Math.abs(v)/A},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return a(this)}};function l(u,f){var A=u[1]-u[0],v=f,x=A/v/2;u[0]+=x,u[1]-=x}function e(u,f,A,v){var x=f.length;if(!u.onBand||A||!x)return;var b=u.getExtent(),w,_;if(x===1)f[0].coord=b[0],w=f[1]={coord:b[0]};else{var T=f[x-1].tickValue-f[0].tickValue,S=(f[x-1].coord-f[0].coord)/T;m(f,function(F){F.coord-=S/2});var E=u.scale.getExtent();_=1+E[1]-f[x-1].tickValue,w={coord:f[x-1].coord+S*_},f.push(w)}var I=b[0]>b[1];O(f[0].coord,b[0])&&(v?f[0].coord=b[0]:f.shift()),v&&O(b[0],f[0].coord)&&f.unshift({coord:b[0]}),O(b[1],w.coord)&&(v?w.coord=b[1]:f.pop()),v&&O(w.coord,b[1])&&f.push({coord:b[1]});function O(F,k){return F=c(F),k=c(k),I?F>k:F<k}}var s=i;B.exports=s},hNWo:function(B,N,r){var y=r("ProS"),m=r("bYtY"),C=r("Qxkt"),p=r("4NO4"),g=p.isNameSpecified,h=r("Kagy"),c=h.legend.selector,o={all:{type:"all",title:m.clone(c.all)},inverse:{type:"inverse",title:m.clone(c.inverse)}},n=y.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(a,d,i){this.mergeDefaultAndTheme(a,i),a.selected=a.selected||{},this._updateSelector(a)},mergeOption:function(a){n.superCall(this,"mergeOption",a),this._updateSelector(a)},_updateSelector:function(a){var d=a.selector;d===!0&&(d=a.selector=["all","inverse"]),m.isArray(d)&&m.each(d,function(i,l){m.isString(i)&&(i={type:i}),d[l]=m.merge(i,o[i.type])})},optionUpdated:function(){this._updateData(this.ecModel);var a=this._data;if(a[0]&&this.get("selectedMode")==="single"){for(var d=!1,i=0;i<a.length;i++){var l=a[i].get("name");if(this.isSelected(l)){this.select(l),d=!0;break}}!d&&this.select(a[0].get("name"))}},_updateData:function(a){var d=[],i=[];a.eachRawSeries(function(s){var u=s.name;i.push(u);var f;if(s.legendVisualProvider){var A=s.legendVisualProvider,v=A.getAllNames();a.isSeriesFiltered(s)||(i=i.concat(v)),v.length?d=d.concat(v):f=!0}else f=!0;f&&g(s)&&d.push(s.name)}),this._availableNames=i;var l=this.get("data")||d,e=m.map(l,function(s){return(typeof s=="string"||typeof s=="number")&&(s={name:s}),new C(s,this,this.ecModel)},this);this._data=e},getData:function(){return this._data},select:function(a){var d=this.option.selected,i=this.get("selectedMode");if(i==="single"){var l=this._data;m.each(l,function(e){d[e.get("name")]=!1})}d[a]=!0},unSelect:function(a){this.get("selectedMode")!=="single"&&(this.option.selected[a]=!1)},toggleSelected:function(a){var d=this.option.selected;d.hasOwnProperty(a)||(d[a]=!0),this[d[a]?"unSelect":"select"](a)},allSelect:function(){var a=this._data,d=this.option.selected;m.each(a,function(i){d[i.get("name",!0)]=!0})},inverseSelect:function(){var a=this._data,d=this.option.selected;m.each(a,function(i){var l=i.get("name",!0);d.hasOwnProperty(l)||(d[l]=!0),d[l]=!d[l]})},isSelected:function(a){var d=this.option.selected;return!(d.hasOwnProperty(a)&&!d[a])&&m.indexOf(this._availableNames,a)>=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}}}),t=n;B.exports=t},hOwI:function(B,N){var r=Math.log(2);function y(C,p,g,h,c,o){var n=h+"-"+c,t=C.length;if(o.hasOwnProperty(n))return o[n];if(p===1){var a=Math.round(Math.log((1<<t)-1&~c)/r);return C[g][a]}for(var d=h|1<<g,i=g+1;h&1<<i;)i++;for(var l=0,e=0,s=0;e<t;e++){var u=1<<e;u&c||(l+=(s%2?-1:1)*C[g][e]*y(C,p-1,i,d,c|u,o),s++)}return o[n]=l,l}function m(C,p){var g=[[C[0],C[1],1,0,0,0,-p[0]*C[0],-p[0]*C[1]],[0,0,0,C[0],C[1],1,-p[1]*C[0],-p[1]*C[1]],[C[2],C[3],1,0,0,0,-p[2]*C[2],-p[2]*C[3]],[0,0,0,C[2],C[3],1,-p[3]*C[2],-p[3]*C[3]],[C[4],C[5],1,0,0,0,-p[4]*C[4],-p[4]*C[5]],[0,0,0,C[4],C[5],1,-p[5]*C[4],-p[5]*C[5]],[C[6],C[7],1,0,0,0,-p[6]*C[6],-p[6]*C[7]],[0,0,0,C[6],C[7],1,-p[7]*C[6],-p[7]*C[7]]],h={},c=y(g,8,0,0,0,h);if(c===0)return;for(var o=[],n=0;n<8;n++)for(var t=0;t<8;t++)o[t]==null&&(o[t]=0),o[t]+=((n+t)%2?-1:1)*y(g,7,n===0?1:0,1<<n,1<<t,h)/c*p[n];return function(a,d,i){var l=d*o[6]+i*o[7]+1;a[0]=(d*o[0]+i*o[1]+o[2])/l,a[1]=(d*o[3]+i*o[4]+o[5])/l}}N.buildTransformer=m},hX1E:function(B,N){var r=Math.PI*2;function y(m){return m%=r,m<0&&(m+=r),m}N.normalizeRadian=y},hXwI:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function y(g,h){if(!(g instanceof h))throw new TypeError("Cannot call a class as a function")}function m(g,h){for(var c=0;c<h.length;c++){var o=h[c];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(g,o.key,o)}}function C(g,h,c){return h&&m(g.prototype,h),c&&m(g,c),g}var p=function(){function g(){y(this,g)}return C(g,[{key:"decodeRect",value:function(c,o,n,t,a,d,i){if(a.rQwait("COPYRECT",4))return!1;var l=a.rQshift16(),e=a.rQshift16();return d.copyImage(l,e,c,o,n,t),!0}}]),g}();N.default=p},hi0g:function(B,N,r){var y=r("bYtY"),m=y.createHashMap,C=y.each,p=y.isString,g=y.defaults,h=y.extend,c=y.isObject,o=y.clone,n=r("4NO4"),t=n.normalizeToArray,a=r("D5nY"),d=a.guessOrdinal,i=a.BE_ORDINAL,l=r("7G+c"),e=r("L0Ub"),s=e.OTHER_DIMENSIONS,u=r("Vi4m");function f(b,w,_){l.isInstance(w)||(w=l.seriesDataToSource(w)),_=_||{},b=(b||[]).slice();for(var T=(_.dimsDef||[]).slice(),S=m(),E=m(),I=[],O=A(w,b,T,_.dimCount),F=0;F<O;F++){var k=T[F]=h({},c(T[F])?T[F]:{name:T[F]}),M=k.name,P=I[F]=new u;M!=null&&S.get(M)==null&&(P.name=P.displayName=M,S.set(M,F)),k.type!=null&&(P.type=k.type),k.displayName!=null&&(P.displayName=k.displayName)}var V=_.encodeDef;!V&&_.encodeDefaulter&&(V=_.encodeDefaulter(w,O)),V=m(V),V.each(function(ee,Se){if(ee=t(ee).slice(),ee.length===1&&!p(ee[0])&&ee[0]<0){V.set(Se,!1);return}var $=V.set(Se,[]);C(ee,function(pe,xe){p(pe)&&(pe=S.get(pe)),pe!=null&&pe<O&&($[xe]=pe,H(I[pe],Se,xe))})});var D=0;C(b,function(ee,Se){var $,ee,pe,xe;if(p(ee))$=ee,ee={};else{$=ee.name;var _e=ee.ordinalMeta;ee.ordinalMeta=null,ee=o(ee),ee.ordinalMeta=_e,pe=ee.dimsDef,xe=ee.otherDims,ee.name=ee.coordDim=ee.coordDimIndex=ee.dimsDef=ee.otherDims=null}var Ue=V.get($);if(Ue===!1)return;var Ue=t(Ue);if(!Ue.length)for(var ye=0;ye<(pe&&pe.length||1);ye++){for(;D<I.length&&I[D].coordDim!=null;)D++;D<I.length&&Ue.push(D++)}C(Ue,function(Be,Q){var ie=I[Be];if(H(g(ie,ee),$,Q),ie.name==null&&pe){var Ve=pe[Q];!c(Ve)&&(Ve={name:Ve}),ie.name=ie.displayName=Ve.name,ie.defaultTooltip=Ve.defaultTooltip}xe&&g(ie.otherDims,xe)})});function H(ee,Se,$){s.get(Se)!=null?ee.otherDims[Se]=$:(ee.coordDim=Se,ee.coordDimIndex=$,E.set(Se,!0))}var U=_.generateCoord,z=_.generateCoordCount,K=z!=null;z=U?z||1:0;for(var G=U||"value",X=0;X<O;X++){var P=I[X]=I[X]||new u,Z=P.coordDim;Z==null&&(P.coordDim=v(G,E,K),P.coordDimIndex=0,(!U||z<=0)&&(P.isExtraCoord=!0),z--),P.name==null&&(P.name=v(P.coordDim,S)),P.type==null&&(d(w,X,P.name)===i.Must||P.isExtraCoord&&(P.otherDims.itemName!=null||P.otherDims.seriesName!=null))&&(P.type="ordinal")}return I}function A(b,w,_,T){var S=Math.max(b.dimensionsDetectCount||1,w.length,_.length,T||0);return C(w,function(E){var I=E.dimsDef;I&&(S=Math.max(S,I.length))}),S}function v(b,w,_){if(_||w.get(b)!=null){for(var T=0;w.get(b+T)!=null;)T++;b+=T}return w.set(b,!0),b}var x=f;B.exports=x},hkKa:function(B,N,r){"use strict";r.d(N,"a",function(){return g});var y=r("J4zp"),m=r.n(y),C=r("q1tI"),p=r.n(C);function g(){var h=C.useReducer(function(n){return n+1},0),c=m()(h,2),o=c[1];return o}},hw6D:function(B,N,r){var y=r("bYtY");function m(g){g.eachSeriesByType("radar",function(h){var c=h.getData(),o=[],n=h.coordinateSystem;if(!n)return;var t=n.getIndicatorAxes();y.each(t,function(a,d){c.each(c.mapDimension(t[d].dim),function(i,l){o[l]=o[l]||[];var e=n.dataToPoint(i,d);o[l][d]=C(e)?e:p(n)})}),c.each(function(a){var d=y.find(o[a],function(i){return C(i)})||p(n);o[a].push(d.slice()),c.setItemLayout(a,o[a])})})}function C(g){return!isNaN(g[0])&&!isNaN(g[1])}function p(g){return[g.cx,g.cy]}B.exports=m},hwYd:function(B,N,r){"use strict";var y=r("284h"),m=r("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var C=m(r("3tO9")),p=y(r("q1tI")),g=m(r("Nu4q")),h=m(r("KQxl")),c=function(t,a){return p.createElement(h.default,(0,C.default)((0,C.default)({},t),{},{ref:a,icon:g.default}))};c.displayName="PictureTwoTone";var o=p.forwardRef(c);N.default=o},hydK:function(B,N){var r="http://www.w3.org/2000/svg";function y(m){return document.createElementNS(r,m)}N.createElement=y},hyiK:function(B,N){function r(y,m,C,p,g,h){if(h>m&&h>p||h<m&&h<p)return 0;if(p===m)return 0;var c=p<m?1:-1,o=(h-m)/(p-m);(o===1||o===0)&&(c=p<m?.5:-.5);var n=o*(C-y)+y;return n===g?Infinity:n>g?c:0}B.exports=r},i38C:function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("bYtY"),p=C.createHashMap,g=C.retrieve,h=C.each;function c(a){this.coordSysName=a,this.coordSysDims=[],this.axisMap=p(),this.categoryAxisMap=p(),this.firstCategoryDimIndex=null}function o(a){var d=a.get("coordinateSystem"),i=new c(d),l=n[d];if(l)return l(a,i,i.axisMap,i.categoryAxisMap),i}var n={cartesian2d:function(a,d,i,l){var e=a.getReferringComponents("xAxis")[0],s=a.getReferringComponents("yAxis")[0];d.coordSysDims=["x","y"],i.set("x",e),i.set("y",s),t(e)&&(l.set("x",e),d.firstCategoryDimIndex=0),t(s)&&(l.set("y",s),d.firstCategoryDimIndex==null&(d.firstCategoryDimIndex=1))},singleAxis:function(a,d,i,l){var e=a.getReferringComponents("singleAxis")[0];d.coordSysDims=["single"],i.set("single",e),t(e)&&(l.set("single",e),d.firstCategoryDimIndex=0)},polar:function(a,d,i,l){var e=a.getReferringComponents("polar")[0],s=e.findAxisModel("radiusAxis"),u=e.findAxisModel("angleAxis");d.coordSysDims=["radius","angle"],i.set("radius",s),i.set("angle",u),t(s)&&(l.set("radius",s),d.firstCategoryDimIndex=0),t(u)&&(l.set("angle",u),d.firstCategoryDimIndex==null&&(d.firstCategoryDimIndex=1))},geo:function(a,d,i,l){d.coordSysDims=["lng","lat"]},parallel:function(a,d,i,l){var e=a.ecModel,s=e.getComponent("parallel",a.get("parallelIndex")),u=d.coordSysDims=s.dimensions.slice();h(s.parallelAxisIndex,function(f,A){var v=e.getComponent("parallelAxis",f),x=u[A];i.set(x,v),t(v)&&d.firstCategoryDimIndex==null&&(l.set(x,v),d.firstCategoryDimIndex=A)})}};function t(a){return a.get("type")==="category"}N.getCoordSysInfoBySeries=o},i6bk:function(B,N,r){"use strict";r.d(N,"b",function(){return y}),r.d(N,"a",function(){return m});function y(C){return C!=null&&C===C.window}function m(C,p){if(typeof window=="undefined")return 0;var g=p?"scrollTop":"scrollLeft",h=0;return y(C)?h=C[p?"pageYOffset":"pageXOffset"]:C instanceof Document?h=C.documentElement[g]:C&&(h=C[g]),C&&!y(C)&&typeof h!="number"&&(h=(C.ownerDocument||C).documentElement[g]),h}},i8CU:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("Fm1+"));function m(p){return p&&p.__esModule?p:{default:p}}var C=y;N.default=C,B.exports=C},iLNv:function(B,N){var r="\0__throttleOriginMethod",y="\0__throttleRate",m="\0__throttleType";function C(h,c,o){var n,t=0,a=0,d=null,i,l,e,s;c=c||0;function u(){a=new Date().getTime(),d=null,h.apply(l,e||[])}var f=function(){n=new Date().getTime(),l=this,e=arguments;var A=s||c,v=s||o;s=null,i=n-(v?t:a)-A,clearTimeout(d),v?d=setTimeout(u,A):i>=0?u():d=setTimeout(u,-i),t=n};return f.clear=function(){d&&(clearTimeout(d),d=null)},f.debounceNextCall=function(A){s=A},f}function p(h,c,o,n){var t=h[c];if(!t)return;var a=t[r]||t,d=t[m],i=t[y];if(i!==o||d!==n){if(o==null||!n)return h[c]=a;t=h[c]=C(a,o,n==="debounce"),t[r]=a,t[m]=n,t[y]=o}return t}function g(h,c){var o=h[c];o&&o[r]&&(h[c]=o[r])}N.throttle=C,N.createOrUpdate=p,N.clear=g},iPDy:function(B,N,r){var y=r("ProS"),m=r("bYtY"),C=y.extendComponentView({type:"marker",init:function(){this.markerGroupMap=m.createHashMap()},render:function(p,g,h){var c=this.markerGroupMap;c.each(function(n){n.__keep=!1});var o=this.type+"Model";g.eachSeries(function(n){var t=n[o];t&&this.renderSeries(n,t,g,h)},this),c.each(function(n){!n.__keep&&this.group.remove(n.group)},this)},renderSeries:function(){}});B.exports=C},iQDF:function(B,N,r){"use strict";var y=r("ZTW2"),m=r.n(y),C=r("+BJd"),p=r("+L6B")},iRjW:function(B,N,r){var y=r("bYtY"),m=r("Yl7c"),C=m.parseClassType,p=0;function g(o){return[o||"",p++,Math.random().toFixed(5)].join("_")}function h(o){var n={};return o.registerSubTypeDefaulter=function(t,a){t=C(t),n[t.main]=a},o.determineSubType=function(t,a){var d=a.type;if(!d){var i=C(t).main;o.hasSubTypes(t)&&n[i]&&(d=n[i](a))}return d},o}function c(o,n){o.topologicalTravel=function(i,l,e,s){if(!i.length)return;var u=t(l),f=u.graph,A=u.noEntryList,v={};for(y.each(i,function(S){v[S]=!0});A.length;){var x=A.pop(),b=f[x],w=!!v[x];w&&(e.call(s,x,b.originalDeps.slice()),delete v[x]),y.each(b.successor,w?T:_)}y.each(v,function(){throw new Error("Circle dependency may exists")});function _(S){f[S].entryCount--,f[S].entryCount===0&&A.push(S)}function T(S){v[S]=!0,_(S)}};function t(i){var l={},e=[];return y.each(i,function(s){var u=a(l,s),f=u.originalDeps=n(s),A=d(f,i);u.entryCount=A.length,u.entryCount===0&&e.push(s),y.each(A,function(v){y.indexOf(u.predecessor,v)<0&&u.predecessor.push(v);var x=a(l,v);y.indexOf(x.successor,v)<0&&x.successor.push(s)})}),{graph:l,noEntryList:e}}function a(i,l){return i[l]||(i[l]={predecessor:[],successor:[]}),i[l]}function d(i,l){var e=[];return y.each(i,function(s){y.indexOf(l,s)>=0&&e.push(s)}),e}}N.getUID=g,N.enableSubTypeDefaulter=h,N.enableTopologicalTravel=c},iUHT:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function y(b,w){if(!(b instanceof w))throw new TypeError("Cannot call a class as a function")}function m(b,w){for(var _=0;_<w.length;_++){var T=w[_];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(b,T.key,T)}}function C(b,w,_){return w&&m(b.prototype,w),_&&m(b,_),b}var p=[13,16,10,23,0,4,2,27,14,5,20,9,22,18,11,3,25,7,15,6,26,19,12,1,40,51,30,36,46,54,29,39,50,44,32,47,43,48,38,55,33,52,45,41,49,35,28,31],g=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],h=0,c,o,n,t,a,d;c=1<<16,o=1<<24,n=c|o,t=1<<2,a=1<<10,d=t|a;var i=[n|a,h|h,c|h,n|d,n|t,c|d,h|t,c|h,h|a,n|a,n|d,h|a,o|d,n|t,o|h,h|t,h|d,o|a,o|a,c|a,c|a,n|h,n|h,o|d,c|t,o|t,o|t,c|t,h|h,h|d,c|d,o|h,c|h,n|d,h|t,n|h,n|a,o|h,o|h,h|a,n|t,c|h,c|a,o|t,h|a,h|t,o|d,c|d,n|d,c|t,n|h,o|d,o|t,h|d,c|d,n|a,h|d,o|a,o|a,h|h,c|t,c|a,h|h,n|t];c=1<<20,o=1<<31,n=c|o,t=1<<5,a=1<<15,d=t|a;var l=[n|d,o|a,h|a,c|d,c|h,h|t,n|t,o|d,o|t,n|d,n|a,o|h,o|a,c|h,h|t,n|t,c|a,c|t,o|d,h|h,o|h,h|a,c|d,n|h,c|t,o|t,h|h,c|a,h|d,n|a,n|h,h|d,h|h,c|d,n|t,c|h,o|d,n|h,n|a,h|a,n|h,o|a,h|t,n|d,c|d,h|t,h|a,o|h,h|d,n|a,c|h,o|t,c|t,o|d,o|t,c|t,c|a,h|h,o|a,h|d,o|h,n|t,n|d,c|a];c=1<<17,o=1<<27,n=c|o,t=1<<3,a=1<<9,d=t|a;var e=[h|d,n|a,h|h,n|t,o|a,h|h,c|d,o|a,c|t,o|t,o|t,c|h,n|d,c|t,n|h,h|d,o|h,h|t,n|a,h|a,c|a,n|h,n|t,c|d,o|d,c|a,c|h,o|d,h|t,n|d,h|a,o|h,n|a,o|h,c|t,h|d,c|h,n|a,o|a,h|h,h|a,c|t,n|d,o|a,o|t,h|a,h|h,n|t,o|d,c|h,o|h,n|d,h|t,c|d,c|a,o|t,n|h,o|d,h|d,n|h,c|d,h|t,n|t,c|a];c=1<<13,o=1<<23,n=c|o,t=1<<0,a=1<<7,d=t|a;var s=[n|t,c|d,c|d,h|a,n|a,o|d,o|t,c|t,h|h,n|h,n|h,n|d,h|d,h|h,o|a,o|t,h|t,c|h,o|h,n|t,h|a,o|h,c|t,c|a,o|d,h|t,c|a,o|a,c|h,n|a,n|d,h|d,o|a,o|t,n|h,n|d,h|d,h|h,h|h,n|h,c|a,o|a,o|d,h|t,n|t,c|d,c|d,h|a,n|d,h|d,h|t,c|h,o|t,c|t,n|a,o|d,c|t,c|a,o|h,n|t,h|a,o|h,c|h,n|a];c=1<<25,o=1<<30,n=c|o,t=1<<8,a=1<<19,d=t|a;var u=[h|t,c|d,c|a,n|t,h|a,h|t,o|h,c|a,o|d,h|a,c|t,o|d,n|t,n|a,h|d,o|h,c|h,o|a,o|a,h|h,o|t,n|d,n|d,c|t,n|a,o|t,h|h,n|h,c|d,c|h,n|h,h|d,h|a,n|t,h|t,c|h,o|h,c|a,n|t,o|d,c|t,o|h,n|a,c|d,o|d,h|t,c|h,n|a,n|d,h|d,n|h,n|d,c|a,h|h,o|a,n|h,h|d,c|t,o|t,h|a,h|h,o|a,c|d,o|t];c=1<<22,o=1<<29,n=c|o,t=1<<4,a=1<<14,d=t|a;var f=[o|t,n|h,h|a,n|d,n|h,h|t,n|d,c|h,o|a,c|d,c|h,o|t,c|t,o|a,o|h,h|d,h|h,c|t,o|d,h|a,c|a,o|d,h|t,n|t,n|t,h|h,c|d,n|a,h|d,c|a,n|a,o|h,o|a,h|t,n|t,c|a,n|d,c|h,h|d,o|t,c|h,o|a,o|h,h|d,o|t,n|d,c|a,n|h,c|d,n|a,h|h,n|t,h|t,h|a,n|h,c|d,h|a,c|t,o|d,h|h,n|a,o|h,c|t,o|d];c=1<<21,o=1<<26,n=c|o,t=1<<1,a=1<<11,d=t|a;var A=[c|h,n|t,o|d,h|h,h|a,o|d,c|d,n|a,n|d,c|h,h|h,o|t,h|t,o|h,n|t,h|d,o|a,c|d,c|t,o|a,o|t,n|h,n|a,c|t,n|h,h|a,h|d,n|d,c|a,h|t,o|h,c|a,o|h,c|a,c|h,o|d,o|d,n|t,n|t,h|t,c|t,o|h,o|a,c|h,n|a,h|d,c|d,n|a,h|d,o|t,n|d,n|h,c|a,h|h,h|t,n|d,h|h,c|d,n|h,h|a,o|t,o|a,h|a,c|t];c=1<<18,o=1<<28,n=c|o,t=1<<6,a=1<<12,d=t|a;var v=[o|d,h|a,c|h,n|d,o|h,o|d,h|t,o|h,c|t,n|h,n|d,c|a,n|a,c|d,h|a,h|t,n|h,o|t,o|a,h|d,c|a,c|t,n|t,n|a,h|d,h|h,h|h,n|t,o|t,o|a,c|d,c|h,c|d,c|h,n|a,h|a,h|t,n|t,h|a,c|d,o|a,h|t,o|t,n|h,n|t,o|h,c|h,o|d,h|h,n|d,c|t,o|t,n|h,o|a,o|d,h|h,n|d,c|a,c|a,h|d,h|d,c|t,o|h,n|a],x=function(){function b(w){y(this,b),this.keys=[];for(var _=[],T=[],S=[],E=0,I=56;E<56;++E,I-=8){I+=I<-5?65:I<-3?31:I<-1?63:I===27?35:0;var O=I&7;_[E]=(w[I>>>3]&1<<O)!==0?1:0}for(var F=0;F<16;++F){var k=F<<1,M=k+1;S[k]=S[M]=0;for(var P=28;P<59;P+=28)for(var V=P-28;V<P;++V){var D=V+g[F];T[V]=D<P?_[D]:_[D-28]}for(var H=0;H<24;++H)T[p[H]]!==0&&(S[k]|=1<<23-H),T[p[H+24]]!==0&&(S[M]|=1<<23-H)}for(var U=0,z=0,K=0;U<16;++U){var G=S[z++],X=S[z++];this.keys[K]=(G&16515072)<<6,this.keys[K]|=(G&4032)<<10,this.keys[K]|=(X&16515072)>>>10,this.keys[K]|=(X&4032)>>>6,++K,this.keys[K]=(G&258048)<<12,this.keys[K]|=(G&63)<<16,this.keys[K]|=(X&258048)>>>4,this.keys[K]|=X&63,++K}}return C(b,[{key:"enc8",value:function(_){var T=_.slice(),S=0,E,I,O;E=T[S++]<<24|T[S++]<<16|T[S++]<<8|T[S++],I=T[S++]<<24|T[S++]<<16|T[S++]<<8|T[S++],O=(E>>>4^I)&252645135,I^=O,E^=O<<4,O=(E>>>16^I)&65535,I^=O,E^=O<<16,O=(I>>>2^E)&858993459,E^=O,I^=O<<2,O=(I>>>8^E)&16711935,E^=O,I^=O<<8,I=I<<1|I>>>31&1,O=(E^I)&2863311530,E^=O,I^=O,E=E<<1|E>>>31&1;for(var F=0,k=0;F<8;++F){O=I<<28|I>>>4,O^=this.keys[k++];var M=A[O&63];M|=u[O>>>8&63],M|=e[O>>>16&63],M|=i[O>>>24&63],O=I^this.keys[k++],M|=v[O&63],M|=f[O>>>8&63],M|=s[O>>>16&63],M|=l[O>>>24&63],E^=M,O=E<<28|E>>>4,O^=this.keys[k++],M=A[O&63],M|=u[O>>>8&63],M|=e[O>>>16&63],M|=i[O>>>24&63],O=E^this.keys[k++],M|=v[O&63],M|=f[O>>>8&63],M|=s[O>>>16&63],M|=l[O>>>24&63],I^=M}for(I=I<<31|I>>>1,O=(E^I)&2863311530,E^=O,I^=O,E=E<<31|E>>>1,O=(E>>>8^I)&16711935,I^=O,E^=O<<8,O=(E>>>2^I)&858993459,I^=O,E^=O<<2,O=(I>>>16^E)&65535,E^=O,I^=O<<16,O=(I>>>4^E)&252645135,E^=O,I^=O<<4,O=[I,E],S=0;S<8;S++)T[S]=(O[S>>>2]>>>8*(3-S%4))%256,T[S]<0&&(T[S]+=256);return T}},{key:"encrypt",value:function(_){return this.enc8(_.slice(0,8)).concat(this.enc8(_.slice(8,16)))}}]),b}();N.default=x},iXHM:function(B,N){var r="";typeof navigator!="undefined"&&(r=navigator.platform||"");var y={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:r.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};B.exports=y},iXp4:function(B,N,r){var y=r("ItGF"),m=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function C(p){return y.browser.ie&&y.browser.version>=11?function(){var g=this.__clipPaths,h=this.style,c;if(g)for(var o=0;o<g.length;o++){var n=g[o],t=n&&n.shape,a=n&&n.type;if(t&&(a==="sector"&&t.startAngle===t.endAngle||a==="rect"&&(!t.width||!t.height))){for(var d=0;d<m.length;d++)m[d][2]=h[m[d][0]],h[m[d][0]]=m[d][1];c=!0;break}}if(p.apply(this,arguments),c)for(var d=0;d<m.length;d++)h[m[d][0]]=m[d][2]}:p}B.exports=C},iYpf:function(B,N,r){"use strict";var y=r("284h"),m=r("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var C=m(r("3tO9")),p=y(r("q1tI")),g=m(r("ZLWo")),h=m(r("KQxl")),c=function(t,a){return p.createElement(h.default,(0,C.default)((0,C.default)({},t),{},{ref:a,icon:g.default}))};c.displayName="FolderOpenOutlined";var o=p.forwardRef(c);N.default=o},ieMj:function(B,N,r){var y=r("OELB"),m=r("7aKB"),C=r("4NgU"),p=r("lE7J"),g=y.round,h=C.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(o,n){var t=this._extent;isNaN(o)||(t[0]=parseFloat(o)),isNaN(n)||(t[1]=parseFloat(n))},unionExtent:function(o){var n=this._extent;o[0]<n[0]&&(n[0]=o[0]),o[1]>n[1]&&(n[1]=o[1]),h.prototype.setExtent.call(this,n[0],n[1])},getInterval:function(){return this._interval},setInterval:function(o){this._interval=o,this._niceExtent=this._extent.slice(),this._intervalPrecision=p.getIntervalPrecision(o)},getTicks:function(o){var n=this._interval,t=this._extent,a=this._niceExtent,d=this._intervalPrecision,i=[];if(!n)return i;var l=1e4;t[0]<a[0]&&(o?i.push(g(a[0]-n,d)):i.push(t[0]));for(var e=a[0];e<=a[1]&&!(i.push(e),e=g(e+n,d),e===i[i.length-1]);)if(i.length>l)return[];var s=i.length?i[i.length-1]:a[1];return t[1]>s&&(o?i.push(g(s+n,d)):i.push(t[1])),i},getMinorTicks:function(o){for(var n=this.getTicks(!0),t=[],a=this.getExtent(),d=1;d<n.length;d++){for(var i=n[d],l=n[d-1],e=0,s=[],u=i-l,f=u/o;e<o-1;){var A=y.round(l+(e+1)*f);A>a[0]&&A<a[1]&&s.push(A),e++}t.push(s)}return t},getLabel:function(o,n){if(o==null)return"";var t=n&&n.precision;return t==null?t=y.getPrecisionSafe(o)||0:t==="auto"&&(t=this._intervalPrecision),o=g(o,t,!0),m.addCommas(o)},niceTicks:function(o,n,t){o=o||5;var a=this._extent,d=a[1]-a[0];if(!isFinite(d))return;d<0&&(d=-d,a.reverse());var i=p.intervalScaleNiceTicks(a,o,n,t);this._intervalPrecision=i.intervalPrecision,this._interval=i.interval,this._niceExtent=i.niceTickExtent},niceExtent:function(o){var n=this._extent;if(n[0]===n[1])if(n[0]!==0){var t=n[0];o.fixMax||(n[1]+=t/2),n[0]-=t/2}else n[1]=1;var a=n[1]-n[0];isFinite(a)||(n[0]=0,n[1]=1),this.niceTicks(o.splitNumber,o.minInterval,o.maxInterval);var d=this._interval;o.fixMin||(n[0]=g(Math.floor(n[0]/d)*d)),o.fixMax||(n[1]=g(Math.ceil(n[1]/d)*d))}});h.create=function(){return new h};var c=h;B.exports=c},j5sG:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.createSensor=void 0;var y=m(r("NohK"));function m(p){return p&&p.__esModule?p:{default:p}}var C=function(g){var h=void 0,c=[],o=(0,y.default)(function(){c.forEach(function(i){i(g)})}),n=function(){var l=new ResizeObserver(o);return l.observe(g),o(),l},t=function(l){h||(h=n()),c.indexOf(l)===-1&&c.push(l)},a=function(){h.disconnect(),c=[],h=void 0},d=function(l){var e=c.indexOf(l);e!==-1&&c.splice(e,1),c.length===0&&h&&a()};return{element:g,bind:t,destroy:a,unbind:d}};N.createSensor=C},jCoz:function(B,N,r){var y=r("bYtY"),m=r("4NgU"),C=r("OELB"),p=r("ieMj"),g=m.prototype,h=p.prototype,c=C.getPrecisionSafe,o=C.round,n=Math.floor,t=Math.ceil,a=Math.pow,d=Math.log,i=m.extend({type:"log",base:10,$constructor:function(){m.apply(this,arguments),this._originalScale=new p},getTicks:function(s){var u=this._originalScale,f=this._extent,A=u.getExtent();return y.map(h.getTicks.call(this,s),function(v){var x=C.round(a(this.base,v));return x=v===f[0]&&u.__fixMin?l(x,A[0]):x,x=v===f[1]&&u.__fixMax?l(x,A[1]):x,x},this)},getMinorTicks:h.getMinorTicks,getLabel:h.getLabel,scale:function(s){return s=g.scale.call(this,s),a(this.base,s)},setExtent:function(s,u){var f=this.base;s=d(s)/d(f),u=d(u)/d(f),h.setExtent.call(this,s,u)},getExtent:function(){var s=this.base,u=g.getExtent.call(this);u[0]=a(s,u[0]),u[1]=a(s,u[1]);var f=this._originalScale,A=f.getExtent();return f.__fixMin&&(u[0]=l(u[0],A[0])),f.__fixMax&&(u[1]=l(u[1],A[1])),u},unionExtent:function(s){this._originalScale.unionExtent(s);var u=this.base;s[0]=d(s[0])/d(u),s[1]=d(s[1])/d(u),g.unionExtent.call(this,s)},unionExtentFromData:function(s,u){this.unionExtent(s.getApproximateExtent(u))},niceTicks:function(s){s=s||10;var u=this._extent,f=u[1]-u[0];if(f===Infinity||f<=0)return;var A=C.quantity(f),v=s/f*A;for(v<=.5&&(A*=10);!isNaN(A)&&Math.abs(A)<1&&Math.abs(A)>0;)A*=10;var x=[C.round(t(u[0]/A)*A),C.round(n(u[1]/A)*A)];this._interval=A,this._niceExtent=x},niceExtent:function(s){h.niceExtent.call(this,s);var u=this._originalScale;u.__fixMin=s.fixMin,u.__fixMax=s.fixMax}});y.each(["contain","normalize"],function(s){i.prototype[s]=function(u){return u=d(u)/d(this.base),g[s].call(this,u)}}),i.create=function(){return new i};function l(s,u){return o(s,c(u))}var e=i;B.exports=e},jN4g:function(B,N,r){"use strict";var y=r("VTBJ"),m=r("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"},p=C,g=r("6VBw"),h=function(n,t){return m.createElement(g.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};h.displayName="CloseCircleFilled";var c=N.a=m.forwardRef(h)},jO45:function(B,N,r){"use strict";var y=r("VTBJ"),m=r("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"},p=C,g=r("6VBw"),h=function(n,t){return m.createElement(g.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};h.displayName="CheckCircleFilled";var c=N.a=m.forwardRef(h)},jTL6:function(B,N,r){var y=r("y+Vt"),m=y.extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(p,g){var h=g.cx,c=g.cy,o=Math.max(g.r,0),n=g.startAngle,t=g.endAngle,a=g.clockwise,d=Math.cos(n),i=Math.sin(n);p.moveTo(d*o+h,i*o+c),p.arc(h,c,o,n,t,!a)}});B.exports=m},je13:function(B,N,r){var y=r("5nXd"),m=r("gRFJ"),C=[r("uQRt")];B.exports=y.createStore(m,C)},jett:function(B,N,r){var y=r("ProS");r("VSLf"),r("oBaM"),r("FGaS");var m=r("mOdp"),C=r("f5Yq"),p=r("hw6D"),g=r("0/Rx"),h=r("eJH7");y.registerVisual(m("radar")),y.registerVisual(C("radar","circle")),y.registerLayout(p),y.registerProcessor(g("radar")),y.registerPreprocessor(h)},jhfD:function(B,N,r){"use strict";var y=r("VTBJ"),m=r("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"},p=C,g=r("6VBw"),h=function(n,t){return m.createElement(g.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};h.displayName="ArrowLeftOutlined";var c=N.a=m.forwardRef(h)},jkPA:function(B,N,r){var y=r("bYtY"),m=y.createHashMap,C=y.isObject,p=y.map;function g(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this._map}g.createByAxisModel=function(t){var a=t.option,d=a.data,i=d&&p(d,o);return new g({categories:i,needCollect:!i,deduplication:a.dedplication!==!1})};var h=g.prototype;h.getOrdinal=function(t){return c(this).get(t)},h.parseAndCollect=function(t){var a,d=this._needCollect;if(typeof t!="string"&&!d)return t;if(d&&!this._deduplication)return a=this.categories.length,this.categories[a]=t,a;var i=c(this);return a=i.get(t),a==null&&(d?(a=this.categories.length,this.categories[a]=t,i.set(t,a)):a=NaN),a};function c(t){return t._map||(t._map=m(t.categories))}function o(t){return C(t)&&t.value!=null?t.value:t+""}var n=g;B.exports=n},jndi:function(B,N,r){var y=r("bYtY"),m=r("Qe9p"),C=r("YXkt"),p=r("OELB"),g=r("IwbS"),h=r("kj2x"),c=r("iPDy"),o=function(e,s,u,f){var A=h.dataTransform(e,f[0]),v=h.dataTransform(e,f[1]),x=y.retrieve,b=A.coord,w=v.coord;b[0]=x(b[0],-Infinity),b[1]=x(b[1],-Infinity),w[0]=x(w[0],Infinity),w[1]=x(w[1],Infinity);var _=y.mergeAll([{},A,v]);return _.coord=[A.coord,v.coord],_.x0=A.x,_.y0=A.y,_.x1=v.x,_.y1=v.y,_};function n(e){return!isNaN(e)&&!isFinite(e)}function t(e,s,u,f){var A=1-e;return n(s[A])&&n(u[A])}function a(e,s){var u=s.coord[0],f=s.coord[1];return e.type==="cartesian2d"&&(u&&f&&(t(1,u,f,e)||t(0,u,f,e)))?!0:h.dataFilter(e,{coord:u,x:s.x0,y:s.y0})||h.dataFilter(e,{coord:f,x:s.x1,y:s.y1})}function d(e,s,u,f,A){var v=f.coordinateSystem,x=e.getItemModel(s),b,w=p.parsePercent(x.get(u[0]),A.getWidth()),_=p.parsePercent(x.get(u[1]),A.getHeight());if(!isNaN(w)&&!isNaN(_))b=[w,_];else{if(f.getMarkerPosition)b=f.getMarkerPosition(e.getValues(u,s));else{var T=e.get(u[0],s),S=e.get(u[1],s),E=[T,S];v.clampData&&v.clampData(E,E),b=v.dataToPoint(E,!0)}if(v.type==="cartesian2d"){var I=v.getAxis("x"),O=v.getAxis("y"),T=e.get(u[0],s),S=e.get(u[1],s);n(T)?b[0]=I.toGlobalCoord(I.getExtent()[u[0]==="x0"?0:1]):n(S)&&(b[1]=O.toGlobalCoord(O.getExtent()[u[1]==="y0"?0:1]))}isNaN(w)||(b[0]=w),isNaN(_)||(b[1]=_)}return b}var i=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];c.extend({type:"markArea",updateTransform:function(e,s,u){s.eachSeries(function(f){var A=f.markAreaModel;if(A){var v=A.getData();v.each(function(x){var b=y.map(i,function(_){return d(v,x,_,f,u)});v.setItemLayout(x,b);var w=v.getItemGraphicEl(x);w.setShape("points",b)})}},this)},renderSeries:function(e,s,u,f){var A=e.coordinateSystem,v=e.id,x=e.getData(),b=this.markerGroupMap,w=b.get(v)||b.set(v,{group:new g.Group});this.group.add(w.group),w.__keep=!0;var _=l(A,e,s);s.setData(_),_.each(function(T){_.setItemLayout(T,y.map(i,function(S){return d(_,T,S,e,f)})),_.setItemVisual(T,{color:x.getVisual("color")})}),_.diff(w.__data).add(function(T){var S=new g.Polygon({shape:{points:_.getItemLayout(T)}});_.setItemGraphicEl(T,S),w.group.add(S)}).update(function(T,S){var E=w.__data.getItemGraphicEl(S);g.updateProps(E,{shape:{points:_.getItemLayout(T)}},s,T),w.group.add(E),_.setItemGraphicEl(T,E)}).remove(function(T){var S=w.__data.getItemGraphicEl(T);w.group.remove(S)}).execute(),_.eachItemGraphicEl(function(T,S){var E=_.getItemModel(S),I=E.getModel("label"),O=E.getModel("emphasis.label"),F=_.getItemVisual(S,"color");T.useStyle(y.defaults(E.getModel("itemStyle").getItemStyle(),{fill:m.modifyAlpha(F,.4),stroke:F})),T.hoverStyle=E.getModel("emphasis.itemStyle").getItemStyle(),g.setLabelStyle(T.style,T.hoverStyle,I,O,{labelFetcher:s,labelDataIndex:S,defaultText:_.getName(S)||"",isRectText:!0,autoColor:F}),g.setHoverStyle(T,{}),T.dataModel=s}),w.__data=_,w.group.silent=s.get("silent")||e.get("silent")}});function l(e,s,u){var f,A,v=["x0","y0","x1","y1"];e?(f=y.map(e&&e.dimensions,function(w){var _=s.getData(),T=_.getDimensionInfo(_.mapDimension(w))||{};return y.defaults({name:w},T)}),A=new C(y.map(v,function(w,_){return{name:w,type:f[_%2].type}}),u)):(f=[{name:"value",type:"float"}],A=new C(f,u));var x=y.map(u.get("data"),y.curry(o,s,e,u));e&&(x=y.filter(x,y.curry(a,e)));var b=e?function(w,_,T,S){return w.coord[Math.floor(S/2)][S%2]}:function(w){return w.value};return A.initData(x,null,b),A.hasItemOption=!0,A}},"jsU+":function(B,N,r){var y=r("ProS"),m=r("bYtY"),C=r("IUWy"),p=y.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){p.superApply(this,"optionUpdated",arguments),m.each(this.option.feature,function(h,c){var o=C.get(c);o&&m.merge(h,o.defaultOption)})},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1}}}),g=p;B.exports=g},jtI2:function(B,N,r){r("SMc4");var y=r("bLfw"),m=y.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"}});B.exports=m},juDX:function(B,N,r){r("P47w");var y=r("aX58"),m=y.registerPainter,C=r("3CBa");m("svg",C)},k5C7:function(B,N,r){r("0JAE"),r("g7p0"),r("7mYs")},k9D9:function(B,N){var r="original",y="arrayRows",m="objectRows",C="keyedColumns",p="unknown",g="typedArray",h="column",c="row";N.SOURCE_FORMAT_ORIGINAL=r,N.SOURCE_FORMAT_ARRAY_ROWS=y,N.SOURCE_FORMAT_OBJECT_ROWS=m,N.SOURCE_FORMAT_KEYED_COLUMNS=C,N.SOURCE_FORMAT_UNKNOWN=p,N.SOURCE_FORMAT_TYPED_ARRAY=g,N.SERIES_LAYOUT_BY_COLUMN=h,N.SERIES_LAYOUT_BY_ROW=c},kDyi:function(B,N){function r(y){var m=y.findComponents({mainType:"legend"});m&&m.length&&y.filterSeries(function(C){for(var p=0;p<m.length;p++)if(!m[p].isSelected(C.name))return!1;return!0})}B.exports=r},kGiB:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("ABKa"));function m(p){return p&&p.__esModule?p:{default:p}}var C=y;N.default=C,B.exports=C},kMLO:function(B,N,r){var y=r("XxSj"),m=r("Qe9p"),C=r("bYtY"),p=C.isArray,g="itemStyle",h={seriesType:"treemap",reset:function(e,s,u,f){var A=e.getData().tree,v=A.root,x=e.getModel(g);if(v.isRemoved())return;var b=C.map(A.levelModels,function(w){return w?w.get(g):null});c(v,{},b,x,e.getViewRoot().getAncestors(),e)}};function c(e,s,u,f,A,v){var x=e.getModel(),b=e.getLayout();if(!b||b.invisible||!b.isInView)return;var w=e.getModel(g),_=u[e.depth],T=o(w,s,_,f),S=w.get("borderColor"),E=w.get("borderColorSaturation"),I;E!=null&&(I=n(T,e),S=t(E,I)),e.setVisual("borderColor",S);var O=e.viewChildren;if(!O||!O.length)I=n(T,e),e.setVisual("color",I);else{var F=d(e,x,b,w,T,O);C.each(O,function(k,M){if(k.depth>=A.length||k===A[k.depth]){var P=l(x,T,k,M,F,v);c(k,P,u,f,A,v)}})}}function o(e,s,u,f){var A=C.extend({},s);return C.each(["color","colorAlpha","colorSaturation"],function(v){var x=e.get(v,!0);x==null&&u&&(x=u[v]),x==null&&(x=s[v]),x==null&&(x=f.get(v)),x!=null&&(A[v]=x)}),A}function n(e){var s=a(e,"color");if(s){var u=a(e,"colorAlpha"),f=a(e,"colorSaturation");return f&&(s=m.modifyHSL(s,null,null,f)),u&&(s=m.modifyAlpha(s,u)),s}}function t(e,s){return s!=null?m.modifyHSL(s,null,null,e):null}function a(e,s){var u=e[s];if(u!=null&&u!=="none")return u}function d(e,s,u,f,A,v){if(!v||!v.length)return;var x=i(s,"color")||A.color!=null&&A.color!=="none"&&(i(s,"colorAlpha")||i(s,"colorSaturation"));if(!x)return;var b=s.get("visualMin"),w=s.get("visualMax"),_=u.dataExtent.slice();b!=null&&b<_[0]&&(_[0]=b),w!=null&&w>_[1]&&(_[1]=w);var T=s.get("colorMappingBy"),S={type:x.name,dataExtent:_,visual:x.range};S.type==="color"&&(T==="index"||T==="id")?(S.mappingMethod="category",S.loop=!0):S.mappingMethod="linear";var E=new y(S);return E.__drColorMappingBy=T,E}function i(e,s){var u=e.get(s);return p(u)&&u.length?{name:s,range:u}:null}function l(e,s,u,f,A,v){var x=C.extend({},s);if(A){var b=A.type,w=b==="color"&&A.__drColorMappingBy,_=w==="index"?f:w==="id"?v.mapIdToIndex(u.getId()):u.getValue(e.get("visualDimension"));x[b]=A.mapValueToVisual(_)}return x}B.exports=h},"kVK+":function(B,N){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */N.read=function(r,y,m,C,p){var g,h,c=p*8-C-1,o=(1<<c)-1,n=o>>1,t=-7,a=m?p-1:0,d=m?-1:1,i=r[y+a];for(a+=d,g=i&(1<<-t)-1,i>>=-t,t+=c;t>0;g=g*256+r[y+a],a+=d,t-=8);for(h=g&(1<<-t)-1,g>>=-t,t+=C;t>0;h=h*256+r[y+a],a+=d,t-=8);if(g===0)g=1-n;else{if(g===o)return h?NaN:(i?-1:1)*Infinity;h=h+Math.pow(2,C),g=g-n}return(i?-1:1)*h*Math.pow(2,g-C)},N.write=function(r,y,m,C,p,g){var h,c,o,n=g*8-p-1,t=(1<<n)-1,a=t>>1,d=p===23?Math.pow(2,-24)-Math.pow(2,-77):0,i=C?0:g-1,l=C?1:-1,e=y<0||y===0&&1/y<0?1:0;for(y=Math.abs(y),isNaN(y)||y===Infinity?(c=isNaN(y)?1:0,h=t):(h=Math.floor(Math.log(y)/Math.LN2),y*(o=Math.pow(2,-h))<1&&(h--,o*=2),h+a>=1?y+=d/o:y+=d*Math.pow(2,1-a),y*o>=2&&(h++,o/=2),h+a>=t?(c=0,h=t):h+a>=1?(c=(y*o-1)*Math.pow(2,p),h=h+a):(c=y*Math.pow(2,a-1)*Math.pow(2,p),h=0));p>=8;r[m+i]=c&255,i+=l,c/=256,p-=8);for(h=h<<p|c,n+=p;n>0;r[m+i]=h&255,i+=l,h/=256,n-=8);r[m+i-l]|=e*128}},kj2x:function(B,N,r){var y=r("bYtY"),m=r("OELB"),C=r("7hqr"),p=C.isDimensionStacked,g=y.indexOf;function h(u){return!(isNaN(parseFloat(u.x))&&isNaN(parseFloat(u.y)))}function c(u){return!isNaN(parseFloat(u.x))&&!isNaN(parseFloat(u.y))}function o(u,f,A,v,x,b){var w=[],_=p(f,v),T=_?f.getCalculationInfo("stackResultDimension"):v,S=s(f,T,u),E=f.indicesOfNearest(T,S)[0];w[x]=f.get(A,E),w[b]=f.get(T,E);var I=f.get(v,E),O=m.getPrecision(f.get(v,E));return O=Math.min(O,20),O>=0&&(w[b]=+w[b].toFixed(O)),[w,I]}var n=y.curry,t={min:n(o,"min"),max:n(o,"max"),average:n(o,"average")};function a(u,f){var A=u.getData(),v=u.coordinateSystem;if(f&&!c(f)&&!y.isArray(f.coord)&&v){var x=v.dimensions,b=d(f,A,v,u);if(f=y.clone(f),f.type&&t[f.type]&&b.baseAxis&&b.valueAxis){var w=g(x,b.baseAxis.dim),_=g(x,b.valueAxis.dim),T=t[f.type](A,b.baseDataDim,b.valueDataDim,w,_);f.coord=T[0],f.value=T[1]}else{for(var S=[f.xAxis!=null?f.xAxis:f.radiusAxis,f.yAxis!=null?f.yAxis:f.angleAxis],E=0;E<2;E++)t[S[E]]&&(S[E]=s(A,A.mapDimension(x[E]),S[E]));f.coord=S}}return f}function d(u,f,A,v){var x={};return u.valueIndex!=null||u.valueDim!=null?(x.valueDataDim=u.valueIndex!=null?f.getDimension(u.valueIndex):u.valueDim,x.valueAxis=A.getAxis(i(v,x.valueDataDim)),x.baseAxis=A.getOtherAxis(x.valueAxis),x.baseDataDim=f.mapDimension(x.baseAxis.dim)):(x.baseAxis=v.getBaseAxis(),x.valueAxis=A.getOtherAxis(x.baseAxis),x.baseDataDim=f.mapDimension(x.baseAxis.dim),x.valueDataDim=f.mapDimension(x.valueAxis.dim)),x}function i(u,f){var A=u.getData(),v=A.dimensions;f=A.getDimension(f);for(var x=0;x<v.length;x++){var b=A.getDimensionInfo(v[x]);if(b.name===f)return b.coordDim}}function l(u,f){return u&&u.containData&&f.coord&&!h(f)?u.containData(f.coord):!0}function e(u,f,A,v){return v<2?u.coord&&u.coord[v]:u.value}function s(u,f,A){if(A==="average"){var v=0,x=0;return u.each(f,function(b,w){isNaN(b)||(v+=b,x++)}),v/x}else return A==="median"?u.getMedian(f):u.getDataExtent(f,!0)[A==="max"?1:0]}N.dataTransform=a,N.getAxisInfo=d,N.dataFilter=l,N.dimValueGetter=e,N.numCalculate=s},knOB:function(B,N,r){var y=r("bYtY"),m=r("hM6l");function C(g,h){m.call(this,"radius",g,h),this.type="category"}C.prototype={constructor:C,pointToData:function(g,h){return this.polar.pointToData(g,h)[this.dim==="radius"?0:1]},dataToRadius:m.prototype.dataToCoord,radiusToData:m.prototype.coordToData},y.inherits(C,m);var p=C;B.exports=p},ko1b:function(B,N,r){var y=r("bYtY"),m=r("T4UG"),C=r("Bsck"),p=r("Qxkt"),g=r("7aKB"),h=g.encodeHTML,c=g.addCommas,o=r("VaxA"),n=o.wrapTreePathInfo,t=m.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(i,l){var e={name:i.name,children:i.data};a(e);var s=i.levels||[];s=i.levels=d(s,l);var u=y.map(s||[],function(v){return new p(v,this,l)},this),f=C.createTree(e,this,null,A);function A(v){v.wrapMethod("getItemModel",function(x,b){var w=f.getNodeByDataIndex(b),_=u[w.depth];return _&&(x.parentModel=_),x})}return f.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(i){var l=this.getData(),e=this.getRawValue(i),s=y.isArray(e)?c(e[0]):c(e),u=l.getName(i);return h(u+": "+s)},getDataParams:function(i){var l=m.prototype.getDataParams.apply(this,arguments),e=this.getData().tree.getNodeByDataIndex(i);return l.treePathInfo=n(e,this),l},setLayoutInfo:function(i){this.layoutInfo=this.layoutInfo||{},y.extend(this.layoutInfo,i)},mapIdToIndex:function(i){var l=this._idIndexMap;l||(l=this._idIndexMap=y.createHashMap(),this._idIndexMapCount=0);var e=l.get(i);return e==null&&l.set(i,e=this._idIndexMapCount++),e},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(i){i?this._viewRoot=i:i=this._viewRoot;var l=this.getRawData().tree.root;(!i||i!==l&&!l.contains(i))&&(this._viewRoot=l)}});function a(i){var l=0;y.each(i.children,function(s){a(s);var u=s.value;y.isArray(u)&&(u=u[0]),l+=u});var e=i.value;y.isArray(e)&&(e=e[0]),(e==null||isNaN(e))&&(e=l),e<0&&(e=0),y.isArray(i.value)?i.value[0]=e:i.value=e}function d(i,l){var e=l.get("color");if(!e)return;i=i||[];var s;if(y.each(i,function(f){var A=new p(f),v=A.get("color");(A.get("itemStyle.color")||v&&v!=="none")&&(s=!0)}),!s){var u=i[0]||(i[0]={});u.color=e.slice()}return i}B.exports=t},kzFp:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y=N.pick=function(C,p){var g={};return p.forEach(function(h){g[h]=C[h]}),g}},kzvK:function(B,N,r){var y=r("sS/r"),m=y.extend({type:"timeline"});B.exports=m},"l+S1":function(B,N,r){"use strict";var y=r("VTBJ"),m=r("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"},p=C,g=r("6VBw"),h=function(n,t){return m.createElement(g.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};h.displayName="SearchOutlined";var c=N.a=m.forwardRef(h)},lE7J:function(B,N,r){var y=r("OELB"),m=y.round;function C(c,o,n,t){var a={},d=c[1]-c[0],i=a.interval=y.nice(d/o,!0);n!=null&&i<n&&(i=a.interval=n),t!=null&&i>t&&(i=a.interval=t);var l=a.intervalPrecision=p(i),e=a.niceTickExtent=[m(Math.ceil(c[0]/i)*i,l),m(Math.floor(c[1]/i)*i,l)];return h(e,c),a}function p(c){return y.getPrecisionSafe(c)+2}function g(c,o,n){c[o]=Math.max(Math.min(c[o],n[1]),n[0])}function h(c,o){!isFinite(c[0])&&(c[0]=o[0]),!isFinite(c[1])&&(c[1]=o[1]),g(c,0,o),g(c,1,o),c[0]>c[1]&&(c[0]=c[1])}N.intervalScaleNiceTicks=C,N.getIntervalPrecision=p,N.fixExtent=h},lELe:function(B,N,r){var y=r("bYtY");function m(C){var p=[];y.each(C.series,function(g){g&&g.type==="map"&&(p.push(g),g.map=g.map||g.mapType,y.defaults(g,g.mapLocation))})}B.exports=m},lLGD:function(B,N,r){var y=r("ProS"),m=r("bYtY"),C=r("nVfU"),p=C.layout,g=C.largeLayout;r("Wqna"),r("F7hV"),r("Z8zF"),r("Ae16"),y.registerLayout(y.PRIORITY.VISUAL.LAYOUT,m.curry(p,"bar")),y.registerLayout(y.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,g),y.registerVisual({seriesType:"bar",reset:function(h){h.getData().setVisual("legendSymbol","roundRect")}})},lNSK:function(B,N,r){"use strict";function y(Ae){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(Ot){return typeof Ot}:y=function(Ot){return Ot&&typeof Symbol=="function"&&Ot.constructor===Symbol&&Ot!==Symbol.prototype?"symbol":typeof Ot},y(Ae)}Object.defineProperty(N,"__esModule",{value:!0}),N.deflateInit=qe,N.deflateInit2=Gt,N.deflateReset=Bt,N.deflateResetKeep=Nt,N.deflateSetHeader=Ft,N.deflate=we,N.deflateEnd=ue,N.deflateSetDictionary=vt,N.deflateInfo=N.Z_DEFLATED=N.Z_UNKNOWN=N.Z_DEFAULT_STRATEGY=N.Z_FIXED=N.Z_RLE=N.Z_HUFFMAN_ONLY=N.Z_FILTERED=N.Z_DEFAULT_COMPRESSION=N.Z_BUF_ERROR=N.Z_DATA_ERROR=N.Z_STREAM_ERROR=N.Z_STREAM_END=N.Z_OK=N.Z_BLOCK=N.Z_FINISH=N.Z_FULL_FLUSH=N.Z_PARTIAL_FLUSH=N.Z_NO_FLUSH=void 0;var m=n(r("6BzB")),C=n(r("c5fP")),p=c(r("xlC8")),g=c(r("QV2g")),h=c(r("xSIq"));function c(Ae){return Ae&&Ae.__esModule?Ae:{default:Ae}}function o(){if(typeof WeakMap!="function")return null;var Ae=new WeakMap;return o=function(){return Ae},Ae}function n(Ae){if(Ae&&Ae.__esModule)return Ae;if(Ae===null||y(Ae)!=="object"&&typeof Ae!="function")return{default:Ae};var Xt=o();if(Xt&&Xt.has(Ae))return Xt.get(Ae);var Ot={},rt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Et in Ae)if(Object.prototype.hasOwnProperty.call(Ae,Et)){var Zt=rt?Object.getOwnPropertyDescriptor(Ae,Et):null;Zt&&(Zt.get||Zt.set)?Object.defineProperty(Ot,Et,Zt):Ot[Et]=Ae[Et]}return Ot.default=Ae,Xt&&Xt.set(Ae,Ot),Ot}var t=0;N.Z_NO_FLUSH=t;var a=1;N.Z_PARTIAL_FLUSH=a;var d=3;N.Z_FULL_FLUSH=d;var i=4;N.Z_FINISH=i;var l=5;N.Z_BLOCK=l;var e=0;N.Z_OK=e;var s=1;N.Z_STREAM_END=s;var u=-2;N.Z_STREAM_ERROR=u;var f=-3;N.Z_DATA_ERROR=f;var A=-5;N.Z_BUF_ERROR=A;var v=-1;N.Z_DEFAULT_COMPRESSION=v;var x=1;N.Z_FILTERED=x;var b=2;N.Z_HUFFMAN_ONLY=b;var w=3;N.Z_RLE=w;var _=4;N.Z_FIXED=_;var T=0;N.Z_DEFAULT_STRATEGY=T;var S=2;N.Z_UNKNOWN=S;var E=8;N.Z_DEFLATED=E;var I=9,O=15,F=8,k=29,M=256,P=M+1+k,V=30,D=19,H=2*P+1,U=15,z=3,K=258,G=K+z+1,X=32,Z=42,ee=69,Se=73,$=91,pe=103,xe=113,_e=666,Ue=1,ye=2,Be=3,Q=4,ie=3;function Ve(Ae,Xt){return Ae.msg=h.default[Xt],Xt}function J(Ae){return(Ae<<1)-(Ae>4?9:0)}function W(Ae){for(var Xt=Ae.length;--Xt>=0;)Ae[Xt]=0}function j(Ae){var Xt=Ae.state,Ot=Xt.pending;if(Ot>Ae.avail_out&&(Ot=Ae.avail_out),Ot===0)return;m.arraySet(Ae.output,Xt.pending_buf,Xt.pending_out,Ot,Ae.next_out),Ae.next_out+=Ot,Xt.pending_out+=Ot,Ae.total_out+=Ot,Ae.avail_out-=Ot,Xt.pending-=Ot,Xt.pending===0&&(Xt.pending_out=0)}function Y(Ae,Xt){C._tr_flush_block(Ae,Ae.block_start>=0?Ae.block_start:-1,Ae.strstart-Ae.block_start,Xt),Ae.block_start=Ae.strstart,j(Ae.strm)}function me(Ae,Xt){Ae.pending_buf[Ae.pending++]=Xt}function ae(Ae,Xt){Ae.pending_buf[Ae.pending++]=Xt>>>8&255,Ae.pending_buf[Ae.pending++]=Xt&255}function Le(Ae,Xt,Ot,rt){var Et=Ae.avail_in;return Et>rt&&(Et=rt),Et===0?0:(Ae.avail_in-=Et,m.arraySet(Xt,Ae.input,Ae.next_in,Et,Ot),Ae.state.wrap===1?Ae.adler=(0,p.default)(Ae.adler,Xt,Et,Ot):Ae.state.wrap===2&&(Ae.adler=(0,g.default)(Ae.adler,Xt,Et,Ot)),Ae.next_in+=Et,Ae.total_in+=Et,Et)}function Ee(Ae,Xt){var Ot=Ae.max_chain_length,rt=Ae.strstart,Et,Zt,vr=Ae.prev_length,mt=Ae.nice_match,ce=Ae.strstart>Ae.w_size-G?Ae.strstart-(Ae.w_size-G):0,le=Ae.window,oe=Ae.w_mask,fe=Ae.prev,De=Ae.strstart+K,He=le[rt+vr-1],je=le[rt+vr];Ae.prev_length>=Ae.good_match&&(Ot>>=2),mt>Ae.lookahead&&(mt=Ae.lookahead);do{if(Et=Xt,le[Et+vr]!==je||le[Et+vr-1]!==He||le[Et]!==le[rt]||le[++Et]!==le[rt+1])continue;rt+=2,Et++;do;while(le[++rt]===le[++Et]&&le[++rt]===le[++Et]&&le[++rt]===le[++Et]&&le[++rt]===le[++Et]&&le[++rt]===le[++Et]&&le[++rt]===le[++Et]&&le[++rt]===le[++Et]&&le[++rt]===le[++Et]&&rt<De);if(Zt=K-(De-rt),rt=De-K,Zt>vr){if(Ae.match_start=Xt,vr=Zt,Zt>=mt)break;He=le[rt+vr-1],je=le[rt+vr]}}while((Xt=fe[Xt&oe])>ce&&--Ot!==0);return vr<=Ae.lookahead?vr:Ae.lookahead}function ne(Ae){var Xt=Ae.w_size,Ot,rt,Et,Zt,vr;do{if(Zt=Ae.window_size-Ae.lookahead-Ae.strstart,Ae.strstart>=Xt+(Xt-G)){m.arraySet(Ae.window,Ae.window,Xt,Xt,0),Ae.match_start-=Xt,Ae.strstart-=Xt,Ae.block_start-=Xt,rt=Ae.hash_size,Ot=rt;do Et=Ae.head[--Ot],Ae.head[Ot]=Et>=Xt?Et-Xt:0;while(--rt);rt=Xt,Ot=rt;do Et=Ae.prev[--Ot],Ae.prev[Ot]=Et>=Xt?Et-Xt:0;while(--rt);Zt+=Xt}if(Ae.strm.avail_in===0)break;if(rt=Le(Ae.strm,Ae.window,Ae.strstart+Ae.lookahead,Zt),Ae.lookahead+=rt,Ae.lookahead+Ae.insert>=z)for(vr=Ae.strstart-Ae.insert,Ae.ins_h=Ae.window[vr],Ae.ins_h=(Ae.ins_h<<Ae.hash_shift^Ae.window[vr+1])&Ae.hash_mask;Ae.insert&&!(Ae.ins_h=(Ae.ins_h<<Ae.hash_shift^Ae.window[vr+z-1])&Ae.hash_mask,Ae.prev[vr&Ae.w_mask]=Ae.head[Ae.ins_h],Ae.head[Ae.ins_h]=vr,vr++,Ae.insert--,Ae.lookahead+Ae.insert<z););}while(Ae.lookahead<G&&Ae.strm.avail_in!==0)}function ge(Ae,Xt){var Ot=65535;for(Ot>Ae.pending_buf_size-5&&(Ot=Ae.pending_buf_size-5);;){if(Ae.lookahead<=1){if(ne(Ae),Ae.lookahead===0&&Xt===t)return Ue;if(Ae.lookahead===0)break}Ae.strstart+=Ae.lookahead,Ae.lookahead=0;var rt=Ae.block_start+Ot;if((Ae.strstart===0||Ae.strstart>=rt)&&(Ae.lookahead=Ae.strstart-rt,Ae.strstart=rt,Y(Ae,!1),Ae.strm.avail_out===0))return Ue;if(Ae.strstart-Ae.block_start>=Ae.w_size-G&&(Y(Ae,!1),Ae.strm.avail_out===0))return Ue}return Ae.insert=0,Xt===i?(Y(Ae,!0),Ae.strm.avail_out===0?Be:Q):(Ae.strstart>Ae.block_start&&(Y(Ae,!1),Ae.strm.avail_out===0),Ue)}function Ie(Ae,Xt){for(var Ot,rt;;){if(Ae.lookahead<G){if(ne(Ae),Ae.lookahead<G&&Xt===t)return Ue;if(Ae.lookahead===0)break}if(Ot=0,Ae.lookahead>=z&&(Ae.ins_h=(Ae.ins_h<<Ae.hash_shift^Ae.window[Ae.strstart+z-1])&Ae.hash_mask,Ot=Ae.prev[Ae.strstart&Ae.w_mask]=Ae.head[Ae.ins_h],Ae.head[Ae.ins_h]=Ae.strstart),Ot!==0&&Ae.strstart-Ot<=Ae.w_size-G&&(Ae.match_length=Ee(Ae,Ot)),Ae.match_length>=z)if(rt=C._tr_tally(Ae,Ae.strstart-Ae.match_start,Ae.match_length-z),Ae.lookahead-=Ae.match_length,Ae.match_length<=Ae.max_lazy_match&&Ae.lookahead>=z){Ae.match_length--;do Ae.strstart++,Ae.ins_h=(Ae.ins_h<<Ae.hash_shift^Ae.window[Ae.strstart+z-1])&Ae.hash_mask,Ot=Ae.prev[Ae.strstart&Ae.w_mask]=Ae.head[Ae.ins_h],Ae.head[Ae.ins_h]=Ae.strstart;while(--Ae.match_length!==0);Ae.strstart++}else Ae.strstart+=Ae.match_length,Ae.match_length=0,Ae.ins_h=Ae.window[Ae.strstart],Ae.ins_h=(Ae.ins_h<<Ae.hash_shift^Ae.window[Ae.strstart+1])&Ae.hash_mask;else rt=C._tr_tally(Ae,0,Ae.window[Ae.strstart]),Ae.lookahead--,Ae.strstart++;if(rt&&(Y(Ae,!1),Ae.strm.avail_out===0))return Ue}return Ae.insert=Ae.strstart<z-1?Ae.strstart:z-1,Xt===i?(Y(Ae,!0),Ae.strm.avail_out===0?Be:Q):Ae.last_lit&&(Y(Ae,!1),Ae.strm.avail_out===0)?Ue:ye}function Ge(Ae,Xt){for(var Ot,rt,Et;;){if(Ae.lookahead<G){if(ne(Ae),Ae.lookahead<G&&Xt===t)return Ue;if(Ae.lookahead===0)break}if(Ot=0,Ae.lookahead>=z&&(Ae.ins_h=(Ae.ins_h<<Ae.hash_shift^Ae.window[Ae.strstart+z-1])&Ae.hash_mask,Ot=Ae.prev[Ae.strstart&Ae.w_mask]=Ae.head[Ae.ins_h],Ae.head[Ae.ins_h]=Ae.strstart),Ae.prev_length=Ae.match_length,Ae.prev_match=Ae.match_start,Ae.match_length=z-1,Ot!==0&&Ae.prev_length<Ae.max_lazy_match&&Ae.strstart-Ot<=Ae.w_size-G&&(Ae.match_length=Ee(Ae,Ot),Ae.match_length<=5&&(Ae.strategy===x||Ae.match_length===z&&Ae.strstart-Ae.match_start>4096)&&(Ae.match_length=z-1)),Ae.prev_length>=z&&Ae.match_length<=Ae.prev_length){Et=Ae.strstart+Ae.lookahead-z,rt=C._tr_tally(Ae,Ae.strstart-1-Ae.prev_match,Ae.prev_length-z),Ae.lookahead-=Ae.prev_length-1,Ae.prev_length-=2;do++Ae.strstart<=Et&&(Ae.ins_h=(Ae.ins_h<<Ae.hash_shift^Ae.window[Ae.strstart+z-1])&Ae.hash_mask,Ot=Ae.prev[Ae.strstart&Ae.w_mask]=Ae.head[Ae.ins_h],Ae.head[Ae.ins_h]=Ae.strstart);while(--Ae.prev_length!==0);if(Ae.match_available=0,Ae.match_length=z-1,Ae.strstart++,rt&&(Y(Ae,!1),Ae.strm.avail_out===0))return Ue}else if(Ae.match_available){if(rt=C._tr_tally(Ae,0,Ae.window[Ae.strstart-1]),rt&&Y(Ae,!1),Ae.strstart++,Ae.lookahead--,Ae.strm.avail_out===0)return Ue}else Ae.match_available=1,Ae.strstart++,Ae.lookahead--}return Ae.match_available&&(rt=C._tr_tally(Ae,0,Ae.window[Ae.strstart-1]),Ae.match_available=0),Ae.insert=Ae.strstart<z-1?Ae.strstart:z-1,Xt===i?(Y(Ae,!0),Ae.strm.avail_out===0?Be:Q):Ae.last_lit&&(Y(Ae,!1),Ae.strm.avail_out===0)?Ue:ye}function ut(Ae,Xt){for(var Ot,rt,Et,Zt,vr=Ae.window;;){if(Ae.lookahead<=K){if(ne(Ae),Ae.lookahead<=K&&Xt===t)return Ue;if(Ae.lookahead===0)break}if(Ae.match_length=0,Ae.lookahead>=z&&Ae.strstart>0&&(Et=Ae.strstart-1,rt=vr[Et],rt===vr[++Et]&&rt===vr[++Et]&&rt===vr[++Et])){Zt=Ae.strstart+K;do;while(rt===vr[++Et]&&rt===vr[++Et]&&rt===vr[++Et]&&rt===vr[++Et]&&rt===vr[++Et]&&rt===vr[++Et]&&rt===vr[++Et]&&rt===vr[++Et]&&Et<Zt);Ae.match_length=K-(Zt-Et),Ae.match_length>Ae.lookahead&&(Ae.match_length=Ae.lookahead)}if(Ae.match_length>=z?(Ot=C._tr_tally(Ae,1,Ae.match_length-z),Ae.lookahead-=Ae.match_length,Ae.strstart+=Ae.match_length,Ae.match_length=0):(Ot=C._tr_tally(Ae,0,Ae.window[Ae.strstart]),Ae.lookahead--,Ae.strstart++),Ot&&(Y(Ae,!1),Ae.strm.avail_out===0))return Ue}return Ae.insert=0,Xt===i?(Y(Ae,!0),Ae.strm.avail_out===0?Be:Q):Ae.last_lit&&(Y(Ae,!1),Ae.strm.avail_out===0)?Ue:ye}function wt(Ae,Xt){for(var Ot;;){if(Ae.lookahead===0&&(ne(Ae),Ae.lookahead===0)){if(Xt===t)return Ue;break}if(Ae.match_length=0,Ot=C._tr_tally(Ae,0,Ae.window[Ae.strstart]),Ae.lookahead--,Ae.strstart++,Ot&&(Y(Ae,!1),Ae.strm.avail_out===0))return Ue}return Ae.insert=0,Xt===i?(Y(Ae,!0),Ae.strm.avail_out===0?Be:Q):Ae.last_lit&&(Y(Ae,!1),Ae.strm.avail_out===0)?Ue:ye}function Pe(Ae,Xt,Ot,rt,Et){this.good_length=Ae,this.max_lazy=Xt,this.nice_length=Ot,this.max_chain=rt,this.func=Et}var Dt;Dt=[new Pe(0,0,0,0,ge),new Pe(4,4,8,4,Ie),new Pe(4,5,16,8,Ie),new Pe(4,6,32,32,Ie),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)];function et(Ae){Ae.window_size=2*Ae.w_size,W(Ae.head),Ae.max_lazy_match=Dt[Ae.level].max_lazy,Ae.good_match=Dt[Ae.level].good_length,Ae.nice_match=Dt[Ae.level].nice_length,Ae.max_chain_length=Dt[Ae.level].max_chain,Ae.strstart=0,Ae.block_start=0,Ae.lookahead=0,Ae.insert=0,Ae.match_length=Ae.prev_length=z-1,Ae.match_available=0,Ae.ins_h=0}function _t(){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=E,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 m.Buf16(H*2),this.dyn_dtree=new m.Buf16((2*V+1)*2),this.bl_tree=new m.Buf16((2*D+1)*2),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 m.Buf16(U+1),this.heap=new m.Buf16(2*P+1),W(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new m.Buf16(2*P+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 Nt(Ae){var Xt;return!Ae||!Ae.state?Ve(Ae,u):(Ae.total_in=Ae.total_out=0,Ae.data_type=S,Xt=Ae.state,Xt.pending=0,Xt.pending_out=0,Xt.wrap<0&&(Xt.wrap=-Xt.wrap),Xt.status=Xt.wrap?Z:xe,Ae.adler=Xt.wrap===2?0:1,Xt.last_flush=t,C._tr_init(Xt),e)}function Bt(Ae){var Xt=Nt(Ae);return Xt===e&&et(Ae.state),Xt}function Ft(Ae,Xt){return!Ae||!Ae.state||Ae.state.wrap!==2?u:(Ae.state.gzhead=Xt,e)}function Gt(Ae,Xt,Ot,rt,Et,Zt){if(!Ae)return u;var vr=1;if(Xt===v&&(Xt=6),rt<0?(vr=0,rt=-rt):rt>15&&(vr=2,rt-=16),Et<1||Et>I||Ot!==E||rt<8||rt>15||Xt<0||Xt>9||Zt<0||Zt>_)return Ve(Ae,u);rt===8&&(rt=9);var mt=new _t;return Ae.state=mt,mt.strm=Ae,mt.wrap=vr,mt.gzhead=null,mt.w_bits=rt,mt.w_size=1<<mt.w_bits,mt.w_mask=mt.w_size-1,mt.hash_bits=Et+7,mt.hash_size=1<<mt.hash_bits,mt.hash_mask=mt.hash_size-1,mt.hash_shift=~~((mt.hash_bits+z-1)/z),mt.window=new m.Buf8(mt.w_size*2),mt.head=new m.Buf16(mt.hash_size),mt.prev=new m.Buf16(mt.w_size),mt.lit_bufsize=1<<Et+6,mt.pending_buf_size=mt.lit_bufsize*4,mt.pending_buf=new m.Buf8(mt.pending_buf_size),mt.d_buf=1*mt.lit_bufsize,mt.l_buf=(1+2)*mt.lit_bufsize,mt.level=Xt,mt.strategy=Zt,mt.method=Ot,Bt(Ae)}function qe(Ae,Xt){return Gt(Ae,Xt,E,O,F,T)}function we(Ae,Xt){var Ot,rt,Et,Zt;if(!Ae||!Ae.state||Xt>l||Xt<0)return Ae?Ve(Ae,u):u;if(rt=Ae.state,!Ae.output||!Ae.input&&Ae.avail_in!==0||rt.status===_e&&Xt!==i)return Ve(Ae,Ae.avail_out===0?A:u);if(rt.strm=Ae,Ot=rt.last_flush,rt.last_flush=Xt,rt.status===Z)if(rt.wrap===2)Ae.adler=0,me(rt,31),me(rt,139),me(rt,8),rt.gzhead?(me(rt,(rt.gzhead.text?1:0)+(rt.gzhead.hcrc?2:0)+(rt.gzhead.extra?4:0)+(rt.gzhead.name?8:0)+(rt.gzhead.comment?16:0)),me(rt,rt.gzhead.time&255),me(rt,rt.gzhead.time>>8&255),me(rt,rt.gzhead.time>>16&255),me(rt,rt.gzhead.time>>24&255),me(rt,rt.level===9?2:rt.strategy>=b||rt.level<2?4:0),me(rt,rt.gzhead.os&255),rt.gzhead.extra&&rt.gzhead.extra.length&&(me(rt,rt.gzhead.extra.length&255),me(rt,rt.gzhead.extra.length>>8&255)),rt.gzhead.hcrc&&(Ae.adler=(0,g.default)(Ae.adler,rt.pending_buf,rt.pending,0)),rt.gzindex=0,rt.status=ee):(me(rt,0),me(rt,0),me(rt,0),me(rt,0),me(rt,0),me(rt,rt.level===9?2:rt.strategy>=b||rt.level<2?4:0),me(rt,ie),rt.status=xe);else{var vr=E+(rt.w_bits-8<<4)<<8,mt=-1;rt.strategy>=b||rt.level<2?mt=0:rt.level<6?mt=1:rt.level===6?mt=2:mt=3,vr|=mt<<6,rt.strstart!==0&&(vr|=X),vr+=31-vr%31,rt.status=xe,ae(rt,vr),rt.strstart!==0&&(ae(rt,Ae.adler>>>16),ae(rt,Ae.adler&65535)),Ae.adler=1}if(rt.status===ee)if(rt.gzhead.extra){for(Et=rt.pending;rt.gzindex<(rt.gzhead.extra.length&65535)&&!(rt.pending===rt.pending_buf_size&&(rt.gzhead.hcrc&&rt.pending>Et&&(Ae.adler=(0,g.default)(Ae.adler,rt.pending_buf,rt.pending-Et,Et)),j(Ae),Et=rt.pending,rt.pending===rt.pending_buf_size));)me(rt,rt.gzhead.extra[rt.gzindex]&255),rt.gzindex++;rt.gzhead.hcrc&&rt.pending>Et&&(Ae.adler=(0,g.default)(Ae.adler,rt.pending_buf,rt.pending-Et,Et)),rt.gzindex===rt.gzhead.extra.length&&(rt.gzindex=0,rt.status=Se)}else rt.status=Se;if(rt.status===Se)if(rt.gzhead.name){Et=rt.pending;do{if(rt.pending===rt.pending_buf_size&&(rt.gzhead.hcrc&&rt.pending>Et&&(Ae.adler=(0,g.default)(Ae.adler,rt.pending_buf,rt.pending-Et,Et)),j(Ae),Et=rt.pending,rt.pending===rt.pending_buf_size)){Zt=1;break}rt.gzindex<rt.gzhead.name.length?Zt=rt.gzhead.name.charCodeAt(rt.gzindex++)&255:Zt=0,me(rt,Zt)}while(Zt!==0);rt.gzhead.hcrc&&rt.pending>Et&&(Ae.adler=(0,g.default)(Ae.adler,rt.pending_buf,rt.pending-Et,Et)),Zt===0&&(rt.gzindex=0,rt.status=$)}else rt.status=$;if(rt.status===$)if(rt.gzhead.comment){Et=rt.pending;do{if(rt.pending===rt.pending_buf_size&&(rt.gzhead.hcrc&&rt.pending>Et&&(Ae.adler=(0,g.default)(Ae.adler,rt.pending_buf,rt.pending-Et,Et)),j(Ae),Et=rt.pending,rt.pending===rt.pending_buf_size)){Zt=1;break}rt.gzindex<rt.gzhead.comment.length?Zt=rt.gzhead.comment.charCodeAt(rt.gzindex++)&255:Zt=0,me(rt,Zt)}while(Zt!==0);rt.gzhead.hcrc&&rt.pending>Et&&(Ae.adler=(0,g.default)(Ae.adler,rt.pending_buf,rt.pending-Et,Et)),Zt===0&&(rt.status=pe)}else rt.status=pe;if(rt.status===pe&&(rt.gzhead.hcrc?(rt.pending+2>rt.pending_buf_size&&j(Ae),rt.pending+2<=rt.pending_buf_size&&(me(rt,Ae.adler&255),me(rt,Ae.adler>>8&255),Ae.adler=0,rt.status=xe)):rt.status=xe),rt.pending!==0){if(j(Ae),Ae.avail_out===0)return rt.last_flush=-1,e}else if(Ae.avail_in===0&&J(Xt)<=J(Ot)&&Xt!==i)return Ve(Ae,A);if(rt.status===_e&&Ae.avail_in!==0)return Ve(Ae,A);if(Ae.avail_in!==0||rt.lookahead!==0||Xt!==t&&rt.status!==_e){var ce=rt.strategy===b?wt(rt,Xt):rt.strategy===w?ut(rt,Xt):Dt[rt.level].func(rt,Xt);if((ce===Be||ce===Q)&&(rt.status=_e),ce===Ue||ce===Be)return Ae.avail_out===0&&(rt.last_flush=-1),e;if(ce===ye&&(Xt===a?C._tr_align(rt):Xt!==l&&(C._tr_stored_block(rt,0,0,!1),Xt===d&&(W(rt.head),rt.lookahead===0&&(rt.strstart=0,rt.block_start=0,rt.insert=0))),j(Ae),Ae.avail_out===0))return rt.last_flush=-1,e}return Xt!==i?e:rt.wrap<=0?s:(rt.wrap===2?(me(rt,Ae.adler&255),me(rt,Ae.adler>>8&255),me(rt,Ae.adler>>16&255),me(rt,Ae.adler>>24&255),me(rt,Ae.total_in&255),me(rt,Ae.total_in>>8&255),me(rt,Ae.total_in>>16&255),me(rt,Ae.total_in>>24&255)):(ae(rt,Ae.adler>>>16),ae(rt,Ae.adler&65535)),j(Ae),rt.wrap>0&&(rt.wrap=-rt.wrap),rt.pending!==0?e:s)}function ue(Ae){var Xt;return!Ae||!Ae.state?u:(Xt=Ae.state.status,Xt!==Z&&Xt!==ee&&Xt!==Se&&Xt!==$&&Xt!==pe&&Xt!==xe&&Xt!==_e?Ve(Ae,u):(Ae.state=null,Xt===xe?Ve(Ae,f):e))}function vt(Ae,Xt){var Ot=Xt.length,rt,Et,Zt,vr,mt,ce,le,oe;if(!Ae||!Ae.state)return u;if(rt=Ae.state,vr=rt.wrap,vr===2||vr===1&&rt.status!==Z||rt.lookahead)return u;for(vr===1&&(Ae.adler=(0,p.default)(Ae.adler,Xt,Ot,0)),rt.wrap=0,Ot>=rt.w_size&&(vr===0&&(W(rt.head),rt.strstart=0,rt.block_start=0,rt.insert=0),oe=new m.Buf8(rt.w_size),m.arraySet(oe,Xt,Ot-rt.w_size,rt.w_size,0),Xt=oe,Ot=rt.w_size),mt=Ae.avail_in,ce=Ae.next_in,le=Ae.input,Ae.avail_in=Ot,Ae.next_in=0,Ae.input=Xt,ne(rt);rt.lookahead>=z;){Et=rt.strstart,Zt=rt.lookahead-(z-1);do rt.ins_h=(rt.ins_h<<rt.hash_shift^rt.window[Et+z-1])&rt.hash_mask,rt.prev[Et&rt.w_mask]=rt.head[rt.ins_h],rt.head[rt.ins_h]=Et,Et++;while(--Zt);rt.strstart=Et,rt.lookahead=z-1,ne(rt)}return rt.strstart+=rt.lookahead,rt.block_start=rt.strstart,rt.insert=rt.lookahead,rt.lookahead=0,rt.match_length=rt.prev_length=z-1,rt.match_available=0,Ae.next_in=ce,Ae.input=le,Ae.avail_in=mt,rt.wrap=vr,e}var at="pako deflate (from Nodeca project)";N.deflateInfo=at},lOQZ:function(B,N,r){var y=r("QBsz"),m=r("U/Mo"),C=m.getSymbolSize,p=m.getNodeGlobalScale,g=Math.PI,h=[];function c(n,t){var a=n.coordinateSystem;if(a&&a.type!=="view")return;var d=a.getBoundingRect(),i=n.getData(),l=i.graph,e=d.width/2+d.x,s=d.height/2+d.y,u=Math.min(d.width,d.height)/2,f=i.count();if(i.setLayout({cx:e,cy:s}),!f)return;o[t](n,a,l,i,u,e,s,f),l.eachEdge(function(A){var v=A.getModel().get("lineStyle.curveness")||0,x=y.clone(A.node1.getLayout()),b=y.clone(A.node2.getLayout()),w,_=(x[0]+b[0])/2,T=(x[1]+b[1])/2;+v&&(v*=3,w=[e*v+_*(1-v),s*v+T*(1-v)]),A.setLayout([x,b,w])})}var o={value:function(n,t,a,d,i,l,e,s){var u=0,f=d.getSum("value"),A=Math.PI*2/(f||s);a.eachNode(function(v){var x=v.getValue("value"),b=A*(f?x:1)/2;u+=b,v.setLayout([i*Math.cos(u)+l,i*Math.sin(u)+e]),u+=b})},symbolSize:function(n,t,a,d,i,l,e,s){var u=0;h.length=s;var f=p(n);a.eachNode(function(x){var b=C(x);isNaN(b)&&(b=2),b<0&&(b=0),b*=f;var w=Math.asin(b/2/i);isNaN(w)&&(w=g/2),h[x.dataIndex]=w,u+=w*2});var A=(2*g-u)/s/2,v=0;a.eachNode(function(x){var b=A+h[x.dataIndex];v+=b,x.setLayout([i*Math.cos(v)+l,i*Math.sin(v)+e]),v+=b})}};N.circularLayout=c},lUTK:function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("x54q"),p=r.n(C),g=r("5Dmo")},lZu9:function(B,N,r){(function(y){y(r("VrN/"),r("1eCo"),r("8EBN"))})(function(y){"use strict";y.defineMode("markdown",function(m,C){var p=y.getMode(m,"text/html"),g=p.name=="null";function h(U){if(y.findModeByName){var z=y.findModeByName(U);z&&(U=z.mime||z.mimes[0])}var K=y.getMode(m,U);return K.name=="null"?null:K}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 c={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var o in c)c.hasOwnProperty(o)&&C.tokenTypeOverrides[o]&&(c[o]=C.tokenTypeOverrides[o]);var n=/^([*\-_])(?:\s*\1){2,}\s*$/,t=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,a=/^\[(x| )\](?=\s)/i,d=C.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,i=/^ {0,3}(?:\={1,}|-{2,})\s*$/,l=/^[^#!\[\]*_\\<>` "'(~:]+/,e=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,s=/^\s*\[[^\]]+?\]:.*$/,u=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,f=" ";function A(U,z,K){return z.f=z.inline=K,K(U,z)}function v(U,z,K){return z.f=z.block=K,K(U,z)}function x(U){return!U||!/\S/.test(U.string)}function b(U){if(U.linkTitle=!1,U.linkHref=!1,U.linkText=!1,U.em=!1,U.strong=!1,U.strikethrough=!1,U.quote=0,U.indentedCode=!1,U.f==_){var z=g;if(!z){var K=y.innerMode(p,U.htmlState);z=K.mode.name=="xml"&&K.state.tagStart===null&&!K.state.context&&K.state.tokenize.isInText}z&&(U.f=I,U.block=w,U.htmlState=null)}return U.trailingSpace=0,U.trailingSpaceNewLine=!1,U.prevLine=U.thisLine,U.thisLine={stream:null},null}function w(U,z){var K=U.column()===z.indentation,G=x(z.prevLine.stream),X=z.indentedCode,Z=z.prevLine.hr,ee=z.list!==!1,Se=(z.listStack[z.listStack.length-1]||0)+3;z.indentedCode=!1;var $=z.indentation;if(z.indentationDiff===null&&(z.indentationDiff=z.indentation,ee)){for(z.list=null;$<z.listStack[z.listStack.length-1];)z.listStack.pop(),z.listStack.length?z.indentation=z.listStack[z.listStack.length-1]:z.list=!1;z.list!==!1&&(z.indentationDiff=$-z.listStack[z.listStack.length-1])}var pe=!G&&!Z&&!z.prevLine.header&&(!ee||!X)&&!z.prevLine.fencedCodeEnd,xe=(z.list===!1||Z||G)&&z.indentation<=Se&&U.match(n),_e=null;if(z.indentationDiff>=4&&(X||z.prevLine.fencedCodeEnd||z.prevLine.header||G))return U.skipToEnd(),z.indentedCode=!0,c.code;if(U.eatSpace())return null;if(K&&z.indentation<=Se&&(_e=U.match(d))&&_e[1].length<=6)return z.quote=0,z.header=_e[1].length,z.thisLine.header=!0,C.highlightFormatting&&(z.formatting="header"),z.f=z.inline,S(z);if(z.indentation<=Se&&U.eat(">"))return z.quote=K?1:z.quote+1,C.highlightFormatting&&(z.formatting="quote"),U.eatSpace(),S(z);if(!xe&&!z.setext&&K&&z.indentation<=Se&&(_e=U.match(t))){var Ue=_e[1]?"ol":"ul";return z.indentation=$+U.current().length,z.list=!0,z.quote=0,z.listStack.push(z.indentation),z.em=!1,z.strong=!1,z.code=!1,z.strikethrough=!1,C.taskLists&&U.match(a,!1)&&(z.taskList=!0),z.f=z.inline,C.highlightFormatting&&(z.formatting=["list","list-"+Ue]),S(z)}else{if(K&&z.indentation<=Se&&(_e=U.match(e,!0)))return z.quote=0,z.fencedEndRE=new RegExp(_e[1]+"+ *$"),z.localMode=C.fencedCodeBlockHighlighting&&h(_e[2]||C.fencedCodeBlockDefaultMode),z.localMode&&(z.localState=y.startState(z.localMode)),z.f=z.block=T,C.highlightFormatting&&(z.formatting="code-block"),z.code=-1,S(z);if(z.setext||(!pe||!ee)&&!z.quote&&z.list===!1&&!z.code&&!xe&&!s.test(U.string)&&(_e=U.lookAhead(1))&&(_e=_e.match(i)))return z.setext?(z.header=z.setext,z.setext=0,U.skipToEnd(),C.highlightFormatting&&(z.formatting="header")):(z.header=_e[0].charAt(0)=="="?1:2,z.setext=z.header),z.thisLine.header=!0,z.f=z.inline,S(z);if(xe)return U.skipToEnd(),z.hr=!0,z.thisLine.hr=!0,c.hr;if(U.peek()==="[")return A(U,z,P)}return A(U,z,z.inline)}function _(U,z){var K=p.token(U,z.htmlState);if(!g){var G=y.innerMode(p,z.htmlState);(G.mode.name=="xml"&&G.state.tagStart===null&&!G.state.context&&G.state.tokenize.isInText||z.md_inside&&U.current().indexOf(">")>-1)&&(z.f=I,z.block=w,z.htmlState=null)}return K}function T(U,z){var K=z.listStack[z.listStack.length-1]||0,G=z.indentation<K,X=K+3;if(z.fencedEndRE&&z.indentation<=X&&(G||U.match(z.fencedEndRE))){C.highlightFormatting&&(z.formatting="code-block");var Z;return G||(Z=S(z)),z.localMode=z.localState=null,z.block=w,z.f=I,z.fencedEndRE=null,z.code=0,z.thisLine.fencedCodeEnd=!0,G?v(U,z,z.block):Z}else return z.localMode?z.localMode.token(U,z.localState):(U.skipToEnd(),c.code)}function S(U){var z=[];if(U.formatting){z.push(c.formatting),typeof U.formatting=="string"&&(U.formatting=[U.formatting]);for(var K=0;K<U.formatting.length;K++)z.push(c.formatting+"-"+U.formatting[K]),U.formatting[K]==="header"&&z.push(c.formatting+"-"+U.formatting[K]+"-"+U.header),U.formatting[K]==="quote"&&(!C.maxBlockquoteDepth||C.maxBlockquoteDepth>=U.quote?z.push(c.formatting+"-"+U.formatting[K]+"-"+U.quote):z.push("error"))}if(U.taskOpen)return z.push("meta"),z.length?z.join(" "):null;if(U.taskClosed)return z.push("property"),z.length?z.join(" "):null;if(U.linkHref?z.push(c.linkHref,"url"):(U.strong&&z.push(c.strong),U.em&&z.push(c.em),U.strikethrough&&z.push(c.strikethrough),U.emoji&&z.push(c.emoji),U.linkText&&z.push(c.linkText),U.code&&z.push(c.code),U.image&&z.push(c.image),U.imageAltText&&z.push(c.imageAltText,"link"),U.imageMarker&&z.push(c.imageMarker)),U.header&&z.push(c.header,c.header+"-"+U.header),U.quote&&(z.push(c.quote),!C.maxBlockquoteDepth||C.maxBlockquoteDepth>=U.quote?z.push(c.quote+"-"+U.quote):z.push(c.quote+"-"+C.maxBlockquoteDepth)),U.list!==!1){var G=(U.listStack.length-1)%3;G?G===1?z.push(c.list2):z.push(c.list3):z.push(c.list1)}return U.trailingSpaceNewLine?z.push("trailing-space-new-line"):U.trailingSpace&&z.push("trailing-space-"+(U.trailingSpace%2?"a":"b")),z.length?z.join(" "):null}function E(U,z){return U.match(l,!0)?S(z):void 0}function I(U,z){var K=z.text(U,z);if(typeof K!="undefined")return K;if(z.list)return z.list=null,S(z);if(z.taskList){var G=U.match(a,!0)[1]===" ";return G?z.taskOpen=!0:z.taskClosed=!0,C.highlightFormatting&&(z.formatting="task"),z.taskList=!1,S(z)}if(z.taskOpen=!1,z.taskClosed=!1,z.header&&U.match(/^#+$/,!0))return C.highlightFormatting&&(z.formatting="header"),S(z);var X=U.next();if(z.linkTitle){z.linkTitle=!1;var Z=X;X==="("&&(Z=")"),Z=(Z+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var ee="^\\s*(?:[^"+Z+"\\\\]+|\\\\\\\\|\\\\.)"+Z;if(U.match(new RegExp(ee),!0))return c.linkHref}if(X==="`"){var Se=z.formatting;C.highlightFormatting&&(z.formatting="code"),U.eatWhile("`");var $=U.current().length;if(z.code==0&&(!z.quote||$==1))return z.code=$,S(z);if($==z.code){var pe=S(z);return z.code=0,pe}else return z.formatting=Se,S(z)}else if(z.code)return S(z);if(X==="\\"&&(U.next(),C.highlightFormatting)){var xe=S(z),_e=c.formatting+"-escape";return xe?xe+" "+_e:_e}if(X==="!"&&U.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return z.imageMarker=!0,z.image=!0,C.highlightFormatting&&(z.formatting="image"),S(z);if(X==="["&&z.imageMarker&&U.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return z.imageMarker=!1,z.imageAltText=!0,C.highlightFormatting&&(z.formatting="image"),S(z);if(X==="]"&&z.imageAltText){C.highlightFormatting&&(z.formatting="image");var xe=S(z);return z.imageAltText=!1,z.image=!1,z.inline=z.f=F,xe}if(X==="["&&!z.image)return z.linkText&&U.match(/^.*?\]/)||(z.linkText=!0,C.highlightFormatting&&(z.formatting="link")),S(z);if(X==="]"&&z.linkText){C.highlightFormatting&&(z.formatting="link");var xe=S(z);return z.linkText=!1,z.inline=z.f=U.match(/\(.*?\)| ?\[.*?\]/,!1)?F:I,xe}if(X==="<"&&U.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){z.f=z.inline=O,C.highlightFormatting&&(z.formatting="link");var xe=S(z);return xe?xe+=" ":xe="",xe+c.linkInline}if(X==="<"&&U.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){z.f=z.inline=O,C.highlightFormatting&&(z.formatting="link");var xe=S(z);return xe?xe+=" ":xe="",xe+c.linkEmail}if(C.xml&&X==="<"&&U.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Ue=U.string.indexOf(">",U.pos);if(Ue!=-1){var ye=U.string.substring(U.start,Ue);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(ye)&&(z.md_inside=!0)}return U.backUp(1),z.htmlState=y.startState(p),v(U,z,_)}if(C.xml&&X==="<"&&U.match(/^\/\w*?>/))return z.md_inside=!1,"tag";if(X==="*"||X==="_"){for(var Be=1,Q=U.pos==1?" ":U.string.charAt(U.pos-2);Be<3&&U.eat(X);)Be++;var ie=U.peek()||" ",Ve=!/\s/.test(ie)&&(!u.test(ie)||/\s/.test(Q)||u.test(Q)),J=!/\s/.test(Q)&&(!u.test(Q)||/\s/.test(ie)||u.test(ie)),W=null,j=null;if(Be%2&&(!z.em&&Ve&&(X==="*"||!J||u.test(Q))?W=!0:z.em==X&&J&&(X==="*"||!Ve||u.test(ie))&&(W=!1)),Be>1&&(!z.strong&&Ve&&(X==="*"||!J||u.test(Q))?j=!0:z.strong==X&&J&&(X==="*"||!Ve||u.test(ie))&&(j=!1)),j!=null||W!=null){C.highlightFormatting&&(z.formatting=W==null?"strong":j==null?"em":"strong em"),W===!0&&(z.em=X),j===!0&&(z.strong=X);var pe=S(z);return W===!1&&(z.em=!1),j===!1&&(z.strong=!1),pe}}else if(X===" "&&(U.eat("*")||U.eat("_"))){if(U.peek()===" ")return S(z);U.backUp(1)}if(C.strikethrough){if(X==="~"&&U.eatWhile(X)){if(z.strikethrough){C.highlightFormatting&&(z.formatting="strikethrough");var pe=S(z);return z.strikethrough=!1,pe}else if(U.match(/^[^\s]/,!1))return z.strikethrough=!0,C.highlightFormatting&&(z.formatting="strikethrough"),S(z)}else if(X===" "&&U.match(/^~~/,!0)){if(U.peek()===" ")return S(z);U.backUp(2)}}if(C.emoji&&X===":"&&U.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){z.emoji=!0,C.highlightFormatting&&(z.formatting="emoji");var Y=S(z);return z.emoji=!1,Y}return X===" "&&(U.match(/^ +$/,!1)?z.trailingSpace++:z.trailingSpace&&(z.trailingSpaceNewLine=!0)),S(z)}function O(U,z){var K=U.next();if(K===">"){z.f=z.inline=I,C.highlightFormatting&&(z.formatting="link");var G=S(z);return G?G+=" ":G="",G+c.linkInline}return U.match(/^[^>]+/,!0),c.linkInline}function F(U,z){if(U.eatSpace())return null;var K=U.next();return K==="("||K==="["?(z.f=z.inline=M(K==="("?")":"]"),C.highlightFormatting&&(z.formatting="link-string"),z.linkHref=!0,S(z)):"error"}var k={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function M(U){return function(z,K){var G=z.next();if(G===U){K.f=K.inline=I,C.highlightFormatting&&(K.formatting="link-string");var X=S(K);return K.linkHref=!1,X}return z.match(k[U]),K.linkHref=!0,S(K)}}function P(U,z){return U.match(/^([^\]\\]|\\.)*\]:/,!1)?(z.f=V,U.next(),C.highlightFormatting&&(z.formatting="link"),z.linkText=!0,S(z)):A(U,z,I)}function V(U,z){if(U.match(/^\]:/,!0)){z.f=z.inline=D,C.highlightFormatting&&(z.formatting="link");var K=S(z);return z.linkText=!1,K}return U.match(/^([^\]\\]|\\.)+/,!0),c.linkText}function D(U,z){return U.eatSpace()?null:(U.match(/^[^\s]+/,!0),U.peek()===void 0?z.linkTitle=!0:U.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),z.f=z.inline=I,c.linkHref+" url")}var H={startState:function(){return{f:w,prevLine:{stream:null},thisLine:{stream:null},block:w,htmlState:null,indentation:0,inline:I,text:E,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(z){return{f:z.f,prevLine:z.prevLine,thisLine:z.thisLine,block:z.block,htmlState:z.htmlState&&y.copyState(p,z.htmlState),indentation:z.indentation,localMode:z.localMode,localState:z.localMode?y.copyState(z.localMode,z.localState):null,inline:z.inline,text:z.text,formatting:!1,linkText:z.linkText,linkTitle:z.linkTitle,linkHref:z.linkHref,code:z.code,em:z.em,strong:z.strong,strikethrough:z.strikethrough,emoji:z.emoji,header:z.header,setext:z.setext,hr:z.hr,taskList:z.taskList,list:z.list,listStack:z.listStack.slice(0),quote:z.quote,indentedCode:z.indentedCode,trailingSpace:z.trailingSpace,trailingSpaceNewLine:z.trailingSpaceNewLine,md_inside:z.md_inside,fencedEndRE:z.fencedEndRE}},token:function(z,K){if(K.formatting=!1,z!=K.thisLine.stream){if(K.header=0,K.hr=!1,z.match(/^\s*$/,!0))return b(K),null;if(K.prevLine=K.thisLine,K.thisLine={stream:z},K.taskList=!1,K.trailingSpace=0,K.trailingSpaceNewLine=!1,!K.localState&&(K.f=K.block,K.f!=_)){var G=z.match(/^\s*/,!0)[0].replace(/\t/g,f).length;if(K.indentation=G,K.indentationDiff=null,G>0)return null}}return K.f(z,K)},innerMode:function(z){return z.block==_?{state:z.htmlState,mode:p}:z.localState?{state:z.localState,mode:z.localMode}:{state:z,mode:H}},indent:function(z,K,G){return z.block==_&&p.indent?p.indent(z.htmlState,K,G):z.localState&&z.localMode.indent?z.localMode.indent(z.localState,K,G):y.Pass},blankLine:b,getType:S,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return H},"xml"),y.defineMIME("text/markdown","markdown"),y.defineMIME("text/x-markdown","markdown")})},laiN:function(B,N,r){var y=r("ProS");r("GVMX"),r("MH26"),y.registerPreprocessor(function(m){m.markLine=m.markLine||{}})},lnY3:function(B,N,r){},loD1:function(B,N){function r(y,m,C,p,g,h,c){if(g===0)return!1;var o=g,n=0,t=y;if(c>m+o&&c>p+o||c<m-o&&c<p-o||h>y+o&&h>C+o||h<y-o&&h<C-o)return!1;if(y!==C)n=(m-p)/(y-C),t=(y*p-C*m)/(y-C);else return Math.abs(h-y)<=o/2;var a=n*h-c+t,d=a*a/(n*n+1);return d<=o/2*o/2}N.containStroke=r},lrIw:function(B,N,r){"use strict";var y=r("pVnL"),m=r.n(y),C=r("cDf5"),p=r.n(C),g=r("J4zp"),h=r.n(g),c=r("q1tI"),o=r.n(c),n=r("Zm9Q"),t=r("TSYQ"),a=r.n(t),d=r("BGR+"),i=r("2fM7"),l=r("H84U"),e=r("uaoM"),s=r("0n0R"),u=i.a.Option,f=i.a;function A(b){return b&&b.type&&(b.type.isSelectOption||b.type.isSelectOptGroup)}var v=function(w,_){var T=w.prefixCls,S=w.className,E=w.children,I=w.dataSource,O=Object(n.a)(E),F=c.useRef();c.useImperativeHandle(_,function(){return F.current});var k;if(O.length===1&&Object(s.b)(O[0])&&!A(O[0])){var M=h()(O,1);k=M[0]}var P=function(){return k},V;return O.length&&A(O[0])?V=E:V=I?I.map(function(D){if(Object(s.b)(D))return D;switch(p()(D)){case"string":return c.createElement(u,{key:D,value:D},D);case"object":{var H=D.value;return c.createElement(u,{key:H,value:H},D.text)}default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}}):[],c.useEffect(function(){Object(e.a)(!("dataSource"in w),"AutoComplete","`dataSource` is deprecated, please use `options` instead."),Object(e.a)(!k||!("size"in w),"AutoComplete","You need to control style self instead of setting `size` when using customize input.")},[]),c.createElement(l.a,null,function(D){var H=D.getPrefixCls,U=H("select",T);return c.createElement(f,m()({ref:F},Object(d.default)(w,["dataSource"]),{prefixCls:U,className:a()(S,"".concat(U,"-auto-complete")),mode:i.a.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:P}),V)})},x=c.forwardRef(v);x.Option=u,N.a=x},lwQL:function(B,N,r){var y=r("ProS"),m=r("bYtY"),C=r("9wZj"),p=r("c8qY"),g=r("SgGq"),h=r("Ae+d"),c=r("xSat"),o=c.onIrrelevantElement,n=r("IwbS"),t=r("SA8n"),a=r("U/Mo"),d=a.getNodeGlobalScale,i="__focusNodeAdjacency",l="__unfocusNodeAdjacency",e=["itemStyle","opacity"],s=["lineStyle","opacity"];function u(x,b){var w=x.getVisual("opacity");return w!=null?w:x.getModel().get(b)}function f(x,b,w){var _=x.getGraphicEl(),T=u(x,b);w!=null&&(T==null&&(T=1),T*=w),_.downplay&&_.downplay(),_.traverse(function(S){if(!S.isGroup){var E=S.lineLabelOriginalOpacity;(E==null||w!=null)&&(E=T),S.setStyle("opacity",E)}})}function A(x,b){var w=u(x,b),_=x.getGraphicEl();_.traverse(function(T){!T.isGroup&&T.setStyle("opacity",w)}),_.highlight&&_.highlight()}var v=y.extendChartView({type:"graph",init:function(x,b){var w=new C,_=new p,T=this.group;this._controller=new g(b.getZr()),this._controllerHost={target:T},T.add(w.group),T.add(_.group),this._symbolDraw=w,this._lineDraw=_,this._firstRender=!0},render:function(x,b,w){var _=this,T=x.coordinateSystem;this._model=x;var S=this._symbolDraw,E=this._lineDraw,I=this.group;if(T.type==="view"){var O={position:T.position,scale:T.scale};this._firstRender?I.attr(O):n.updateProps(I,O,x)}t(x.getGraph(),d(x));var F=x.getData();S.updateData(F);var k=x.getEdgeData();E.updateData(k),this._updateNodeAndLinkScale(),this._updateController(x,b,w),clearTimeout(this._layoutTimeout);var M=x.forceLayout,P=x.get("force.layoutAnimation");M&&this._startForceLayoutIteration(M,P),F.eachItemGraphicEl(function(U,z){var K=F.getItemModel(z);U.off("drag").off("dragend");var G=K.get("draggable");G&&U.on("drag",function(){M&&(M.warmUp(),!this._layouting&&this._startForceLayoutIteration(M,P),M.setFixed(z),F.setItemLayout(z,U.position))},this).on("dragend",function(){M&&M.setUnfixed(z)},this),U.setDraggable(G&&M),U[i]&&U.off("mouseover",U[i]),U[l]&&U.off("mouseout",U[l]),K.get("focusNodeAdjacency")&&(U.on("mouseover",U[i]=function(){_._clearTimer(),w.dispatchAction({type:"focusNodeAdjacency",seriesId:x.id,dataIndex:U.dataIndex})}),U.on("mouseout",U[l]=function(){_._dispatchUnfocus(w)}))},this),F.graph.eachEdge(function(U){var z=U.getGraphicEl();z[i]&&z.off("mouseover",z[i]),z[l]&&z.off("mouseout",z[l]),U.getModel().get("focusNodeAdjacency")&&(z.on("mouseover",z[i]=function(){_._clearTimer(),w.dispatchAction({type:"focusNodeAdjacency",seriesId:x.id,edgeDataIndex:U.dataIndex})}),z.on("mouseout",z[l]=function(){_._dispatchUnfocus(w)}))});var V=x.get("layout")==="circular"&&x.get("circular.rotateLabel"),D=F.getLayout("cx"),H=F.getLayout("cy");F.eachItemGraphicEl(function(U,z){var K=F.getItemModel(z),G=K.get("label.rotate")||0,X=U.getSymbolPath();if(V){var Z=F.getItemLayout(z),ee=Math.atan2(Z[1]-H,Z[0]-D);ee<0&&(ee=Math.PI*2+ee);var Se=Z[0]<D;Se&&(ee=ee-Math.PI);var $=Se?"left":"right";n.modifyLabelStyle(X,{textRotation:-ee,textPosition:$,textOrigin:"center"},{textPosition:$})}else n.modifyLabelStyle(X,{textRotation:G*=Math.PI/180})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={},this._clearTimer()},_dispatchUnfocus:function(x,b){var w=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){w._unfocusDelayTimer=null,x.dispatchAction({type:"unfocusNodeAdjacency",seriesId:w._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(x,b,w,_){var T=x.getData(),S=T.graph,E=_.dataIndex,I=_.edgeDataIndex,O=S.getNodeByIndex(E),F=S.getEdgeByIndex(I);if(!O&&!F)return;S.eachNode(function(k){f(k,e,.1)}),S.eachEdge(function(k){f(k,s,.1)}),O&&(A(O,e),m.each(O.edges,function(k){if(k.dataIndex<0)return;A(k,s),A(k.node1,e),A(k.node2,e)})),F&&(A(F,s),A(F.node1,e),A(F.node2,e))},unfocusNodeAdjacency:function(x,b,w,_){var T=x.getData().graph;T.eachNode(function(S){f(S,e)}),T.eachEdge(function(S){f(S,s)})},_startForceLayoutIteration:function(x,b){var w=this;(function _(){x.step(function(T){w.updateLayout(w._model),(w._layouting=!T)&&(b?w._layoutTimeout=setTimeout(_,16):_())})})()},_updateController:function(x,b,w){var _=this._controller,T=this._controllerHost,S=this.group;if(_.setPointerChecker(function(E,I,O){var F=S.getBoundingRect();return F.applyTransform(S.transform),F.contain(I,O)&&!o(E,w,x)}),x.coordinateSystem.type!=="view"){_.disable();return}_.enable(x.get("roam")),T.zoomLimit=x.get("scaleLimit"),T.zoom=x.coordinateSystem.getZoom(),_.off("pan").off("zoom").on("pan",function(E){h.updateViewOnPan(T,E.dx,E.dy),w.dispatchAction({seriesId:x.id,type:"graphRoam",dx:E.dx,dy:E.dy})}).on("zoom",function(E){h.updateViewOnZoom(T,E.scale,E.originX,E.originY),w.dispatchAction({seriesId:x.id,type:"graphRoam",zoom:E.scale,originX:E.originX,originY:E.originY}),this._updateNodeAndLinkScale(),t(x.getGraph(),d(x)),this._lineDraw.updateLayout()},this)},_updateNodeAndLinkScale:function(){var x=this._model,b=x.getData(),w=d(x),_=[w,w];b.eachItemGraphicEl(function(T,S){T.attr("scale",_)})},updateLayout:function(x){t(x.getGraph(),d(x)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(x,b){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});B.exports=v},m9t5:function(B,N,r){var y=r("KCsZ"),m=y([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),C={getAreaStyle:function(p,g){return m(this,p,g)}};B.exports=C},mFDi:function(B,N,r){var y=r("QBsz"),m=r("Fofx"),C=y.applyTransform,p=Math.min,g=Math.max;function h(o,n,t,a){t<0&&(o=o+t,t=-t),a<0&&(n=n+a,a=-a),this.x=o,this.y=n,this.width=t,this.height=a}h.prototype={constructor:h,union:function(n){var t=p(n.x,this.x),a=p(n.y,this.y);this.width=g(n.x+n.width,this.x+this.width)-t,this.height=g(n.y+n.height,this.y+this.height)-a,this.x=t,this.y=a},applyTransform:function(){var o=[],n=[],t=[],a=[];return function(d){if(!d)return;o[0]=t[0]=this.x,o[1]=a[1]=this.y,n[0]=a[0]=this.x+this.width,n[1]=t[1]=this.y+this.height,C(o,o,d),C(n,n,d),C(t,t,d),C(a,a,d),this.x=p(o[0],n[0],t[0],a[0]),this.y=p(o[1],n[1],t[1],a[1]);var i=g(o[0],n[0],t[0],a[0]),l=g(o[1],n[1],t[1],a[1]);this.width=i-this.x,this.height=l-this.y}}(),calculateTransform:function(n){var t=this,a=n.width/t.width,d=n.height/t.height,i=m.create();return m.translate(i,i,[-t.x,-t.y]),m.scale(i,i,[a,d]),m.translate(i,i,[n.x,n.y]),i},intersect:function(n){if(!n)return!1;n instanceof h||(n=h.create(n));var t=this,a=t.x,d=t.x+t.width,i=t.y,l=t.y+t.height,e=n.x,s=n.x+n.width,u=n.y,f=n.y+n.height;return!(d<e||s<a||l<u||f<i)},contain:function(n,t){var a=this;return n>=a.x&&n<=a.x+a.width&&t>=a.y&&t<=a.y+a.height},clone:function(){return new h(this.x,this.y,this.width,this.height)},copy:function(n){this.x=n.x,this.y=n.y,this.width=n.width,this.height=n.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},h.create=function(o){return new h(o.x,o.y,o.width,o.height)};var c=h;B.exports=c},mHUz:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y={XK_VoidSymbol:16777215,XK_BackSpace:65288,XK_Tab:65289,XK_Linefeed:65290,XK_Clear:65291,XK_Return:65293,XK_Pause:65299,XK_Scroll_Lock:65300,XK_Sys_Req:65301,XK_Escape:65307,XK_Delete:65535,XK_Multi_key:65312,XK_Codeinput:65335,XK_SingleCandidate:65340,XK_MultipleCandidate:65341,XK_PreviousCandidate:65342,XK_Kanji:65313,XK_Muhenkan:65314,XK_Henkan_Mode:65315,XK_Henkan:65315,XK_Romaji:65316,XK_Hiragana:65317,XK_Katakana:65318,XK_Hiragana_Katakana:65319,XK_Zenkaku:65320,XK_Hankaku:65321,XK_Zenkaku_Hankaku:65322,XK_Touroku:65323,XK_Massyo:65324,XK_Kana_Lock:65325,XK_Kana_Shift:65326,XK_Eisu_Shift:65327,XK_Eisu_toggle:65328,XK_Kanji_Bangou:65335,XK_Zen_Koho:65341,XK_Mae_Koho:65342,XK_Home:65360,XK_Left:65361,XK_Up:65362,XK_Right:65363,XK_Down:65364,XK_Prior:65365,XK_Page_Up:65365,XK_Next:65366,XK_Page_Down:65366,XK_End:65367,XK_Begin:65368,XK_Select:65376,XK_Print:65377,XK_Execute:65378,XK_Insert:65379,XK_Undo:65381,XK_Redo:65382,XK_Menu:65383,XK_Find:65384,XK_Cancel:65385,XK_Help:65386,XK_Break:65387,XK_Mode_switch:65406,XK_script_switch:65406,XK_Num_Lock:65407,XK_KP_Space:65408,XK_KP_Tab:65417,XK_KP_Enter:65421,XK_KP_F1:65425,XK_KP_F2:65426,XK_KP_F3:65427,XK_KP_F4:65428,XK_KP_Home:65429,XK_KP_Left:65430,XK_KP_Up:65431,XK_KP_Right:65432,XK_KP_Down:65433,XK_KP_Prior:65434,XK_KP_Page_Up:65434,XK_KP_Next:65435,XK_KP_Page_Down:65435,XK_KP_End:65436,XK_KP_Begin:65437,XK_KP_Insert:65438,XK_KP_Delete:65439,XK_KP_Equal:65469,XK_KP_Multiply:65450,XK_KP_Add:65451,XK_KP_Separator:65452,XK_KP_Subtract:65453,XK_KP_Decimal:65454,XK_KP_Divide:65455,XK_KP_0:65456,XK_KP_1:65457,XK_KP_2:65458,XK_KP_3:65459,XK_KP_4:65460,XK_KP_5:65461,XK_KP_6:65462,XK_KP_7:65463,XK_KP_8:65464,XK_KP_9:65465,XK_F1:65470,XK_F2:65471,XK_F3:65472,XK_F4:65473,XK_F5:65474,XK_F6:65475,XK_F7:65476,XK_F8:65477,XK_F9:65478,XK_F10:65479,XK_F11:65480,XK_L1:65480,XK_F12:65481,XK_L2:65481,XK_F13:65482,XK_L3:65482,XK_F14:65483,XK_L4:65483,XK_F15:65484,XK_L5:65484,XK_F16:65485,XK_L6:65485,XK_F17:65486,XK_L7:65486,XK_F18:65487,XK_L8:65487,XK_F19:65488,XK_L9:65488,XK_F20:65489,XK_L10:65489,XK_F21:65490,XK_R1:65490,XK_F22:65491,XK_R2:65491,XK_F23:65492,XK_R3:65492,XK_F24:65493,XK_R4:65493,XK_F25:65494,XK_R5:65494,XK_F26:65495,XK_R6:65495,XK_F27:65496,XK_R7:65496,XK_F28:65497,XK_R8:65497,XK_F29:65498,XK_R9:65498,XK_F30:65499,XK_R10:65499,XK_F31:65500,XK_R11:65500,XK_F32:65501,XK_R12:65501,XK_F33:65502,XK_R13:65502,XK_F34:65503,XK_R14:65503,XK_F35:65504,XK_R15:65504,XK_Shift_L:65505,XK_Shift_R:65506,XK_Control_L:65507,XK_Control_R:65508,XK_Caps_Lock:65509,XK_Shift_Lock:65510,XK_Meta_L:65511,XK_Meta_R:65512,XK_Alt_L:65513,XK_Alt_R:65514,XK_Super_L:65515,XK_Super_R:65516,XK_Hyper_L:65517,XK_Hyper_R:65518,XK_ISO_Level3_Shift:65027,XK_ISO_Next_Group:65032,XK_ISO_Prev_Group:65034,XK_ISO_First_Group:65036,XK_ISO_Last_Group:65038,XK_space:32,XK_exclam:33,XK_quotedbl:34,XK_numbersign:35,XK_dollar:36,XK_percent:37,XK_ampersand:38,XK_apostrophe:39,XK_quoteright:39,XK_parenleft:40,XK_parenright:41,XK_asterisk:42,XK_plus:43,XK_comma:44,XK_minus:45,XK_period:46,XK_slash:47,XK_0:48,XK_1:49,XK_2:50,XK_3:51,XK_4:52,XK_5:53,XK_6:54,XK_7:55,XK_8:56,XK_9:57,XK_colon:58,XK_semicolon:59,XK_less:60,XK_equal:61,XK_greater:62,XK_question:63,XK_at:64,XK_A:65,XK_B:66,XK_C:67,XK_D:68,XK_E:69,XK_F:70,XK_G:71,XK_H:72,XK_I:73,XK_J:74,XK_K:75,XK_L:76,XK_M:77,XK_N:78,XK_O:79,XK_P:80,XK_Q:81,XK_R:82,XK_S:83,XK_T:84,XK_U:85,XK_V:86,XK_W:87,XK_X:88,XK_Y:89,XK_Z:90,XK_bracketleft:91,XK_backslash:92,XK_bracketright:93,XK_asciicircum:94,XK_underscore:95,XK_grave:96,XK_quoteleft:96,XK_a:97,XK_b:98,XK_c:99,XK_d:100,XK_e:101,XK_f:102,XK_g:103,XK_h:104,XK_i:105,XK_j:106,XK_k:107,XK_l:108,XK_m:109,XK_n:110,XK_o:111,XK_p:112,XK_q:113,XK_r:114,XK_s:115,XK_t:116,XK_u:117,XK_v:118,XK_w:119,XK_x:120,XK_y:121,XK_z:122,XK_braceleft:123,XK_bar:124,XK_braceright:125,XK_asciitilde:126,XK_nobreakspace:160,XK_exclamdown:161,XK_cent:162,XK_sterling:163,XK_currency:164,XK_yen:165,XK_brokenbar:166,XK_section:167,XK_diaeresis:168,XK_copyright:169,XK_ordfeminine:170,XK_guillemotleft:171,XK_notsign:172,XK_hyphen:173,XK_registered:174,XK_macron:175,XK_degree:176,XK_plusminus:177,XK_twosuperior:178,XK_threesuperior:179,XK_acute:180,XK_mu:181,XK_paragraph:182,XK_periodcentered:183,XK_cedilla:184,XK_onesuperior:185,XK_masculine:186,XK_guillemotright:187,XK_onequarter:188,XK_onehalf:189,XK_threequarters:190,XK_questiondown:191,XK_Agrave:192,XK_Aacute:193,XK_Acircumflex:194,XK_Atilde:195,XK_Adiaeresis:196,XK_Aring:197,XK_AE:198,XK_Ccedilla:199,XK_Egrave:200,XK_Eacute:201,XK_Ecircumflex:202,XK_Ediaeresis:203,XK_Igrave:204,XK_Iacute:205,XK_Icircumflex:206,XK_Idiaeresis:207,XK_ETH:208,XK_Eth:208,XK_Ntilde:209,XK_Ograve:210,XK_Oacute:211,XK_Ocircumflex:212,XK_Otilde:213,XK_Odiaeresis:214,XK_multiply:215,XK_Oslash:216,XK_Ooblique:216,XK_Ugrave:217,XK_Uacute:218,XK_Ucircumflex:219,XK_Udiaeresis:220,XK_Yacute:221,XK_THORN:222,XK_Thorn:222,XK_ssharp:223,XK_agrave:224,XK_aacute:225,XK_acircumflex:226,XK_atilde:227,XK_adiaeresis:228,XK_aring:229,XK_ae:230,XK_ccedilla:231,XK_egrave:232,XK_eacute:233,XK_ecircumflex:234,XK_ediaeresis:235,XK_igrave:236,XK_iacute:237,XK_icircumflex:238,XK_idiaeresis:239,XK_eth:240,XK_ntilde:241,XK_ograve:242,XK_oacute:243,XK_ocircumflex:244,XK_otilde:245,XK_odiaeresis:246,XK_division:247,XK_oslash:248,XK_ooblique:248,XK_ugrave:249,XK_uacute:250,XK_ucircumflex:251,XK_udiaeresis:252,XK_yacute:253,XK_thorn:254,XK_ydiaeresis:255,XK_Hangul:65329,XK_Hangul_Hanja:65332,XK_Hangul_Jeonja:65336,XF86XK_ModeLock:269025025,XF86XK_MonBrightnessUp:269025026,XF86XK_MonBrightnessDown:269025027,XF86XK_KbdLightOnOff:269025028,XF86XK_KbdBrightnessUp:269025029,XF86XK_KbdBrightnessDown:269025030,XF86XK_Standby:269025040,XF86XK_AudioLowerVolume:269025041,XF86XK_AudioMute:269025042,XF86XK_AudioRaiseVolume:269025043,XF86XK_AudioPlay:269025044,XF86XK_AudioStop:269025045,XF86XK_AudioPrev:269025046,XF86XK_AudioNext:269025047,XF86XK_HomePage:269025048,XF86XK_Mail:269025049,XF86XK_Start:269025050,XF86XK_Search:269025051,XF86XK_AudioRecord:269025052,XF86XK_Calculator:269025053,XF86XK_Memo:269025054,XF86XK_ToDoList:269025055,XF86XK_Calendar:269025056,XF86XK_PowerDown:269025057,XF86XK_ContrastAdjust:269025058,XF86XK_RockerUp:269025059,XF86XK_RockerDown:269025060,XF86XK_RockerEnter:269025061,XF86XK_Back:269025062,XF86XK_Forward:269025063,XF86XK_Stop:269025064,XF86XK_Refresh:269025065,XF86XK_PowerOff:269025066,XF86XK_WakeUp:269025067,XF86XK_Eject:269025068,XF86XK_ScreenSaver:269025069,XF86XK_WWW:269025070,XF86XK_Sleep:269025071,XF86XK_Favorites:269025072,XF86XK_AudioPause:269025073,XF86XK_AudioMedia:269025074,XF86XK_MyComputer:269025075,XF86XK_VendorHome:269025076,XF86XK_LightBulb:269025077,XF86XK_Shop:269025078,XF86XK_History:269025079,XF86XK_OpenURL:269025080,XF86XK_AddFavorite:269025081,XF86XK_HotLinks:269025082,XF86XK_BrightnessAdjust:269025083,XF86XK_Finance:269025084,XF86XK_Community:269025085,XF86XK_AudioRewind:269025086,XF86XK_BackForward:269025087,XF86XK_Launch0:269025088,XF86XK_Launch1:269025089,XF86XK_Launch2:269025090,XF86XK_Launch3:269025091,XF86XK_Launch4:269025092,XF86XK_Launch5:269025093,XF86XK_Launch6:269025094,XF86XK_Launch7:269025095,XF86XK_Launch8:269025096,XF86XK_Launch9:269025097,XF86XK_LaunchA:269025098,XF86XK_LaunchB:269025099,XF86XK_LaunchC:269025100,XF86XK_LaunchD:269025101,XF86XK_LaunchE:269025102,XF86XK_LaunchF:269025103,XF86XK_ApplicationLeft:269025104,XF86XK_ApplicationRight:269025105,XF86XK_Book:269025106,XF86XK_CD:269025107,XF86XK_Calculater:269025108,XF86XK_Clear:269025109,XF86XK_Close:269025110,XF86XK_Copy:269025111,XF86XK_Cut:269025112,XF86XK_Display:269025113,XF86XK_DOS:269025114,XF86XK_Documents:269025115,XF86XK_Excel:269025116,XF86XK_Explorer:269025117,XF86XK_Game:269025118,XF86XK_Go:269025119,XF86XK_iTouch:269025120,XF86XK_LogOff:269025121,XF86XK_Market:269025122,XF86XK_Meeting:269025123,XF86XK_MenuKB:269025125,XF86XK_MenuPB:269025126,XF86XK_MySites:269025127,XF86XK_New:269025128,XF86XK_News:269025129,XF86XK_OfficeHome:269025130,XF86XK_Open:269025131,XF86XK_Option:269025132,XF86XK_Paste:269025133,XF86XK_Phone:269025134,XF86XK_Q:269025136,XF86XK_Reply:269025138,XF86XK_Reload:269025139,XF86XK_RotateWindows:269025140,XF86XK_RotationPB:269025141,XF86XK_RotationKB:269025142,XF86XK_Save:269025143,XF86XK_ScrollUp:269025144,XF86XK_ScrollDown:269025145,XF86XK_ScrollClick:269025146,XF86XK_Send:269025147,XF86XK_Spell:269025148,XF86XK_SplitScreen:269025149,XF86XK_Support:269025150,XF86XK_TaskPane:269025151,XF86XK_Terminal:269025152,XF86XK_Tools:269025153,XF86XK_Travel:269025154,XF86XK_UserPB:269025156,XF86XK_User1KB:269025157,XF86XK_User2KB:269025158,XF86XK_Video:269025159,XF86XK_WheelButton:269025160,XF86XK_Word:269025161,XF86XK_Xfer:269025162,XF86XK_ZoomIn:269025163,XF86XK_ZoomOut:269025164,XF86XK_Away:269025165,XF86XK_Messenger:269025166,XF86XK_WebCam:269025167,XF86XK_MailForward:269025168,XF86XK_Pictures:269025169,XF86XK_Music:269025170,XF86XK_Battery:269025171,XF86XK_Bluetooth:269025172,XF86XK_WLAN:269025173,XF86XK_UWB:269025174,XF86XK_AudioForward:269025175,XF86XK_AudioRepeat:269025176,XF86XK_AudioRandomPlay:269025177,XF86XK_Subtitle:269025178,XF86XK_AudioCycleTrack:269025179,XF86XK_CycleAngle:269025180,XF86XK_FrameBack:269025181,XF86XK_FrameForward:269025182,XF86XK_Time:269025183,XF86XK_Select:269025184,XF86XK_View:269025185,XF86XK_TopMenu:269025186,XF86XK_Red:269025187,XF86XK_Green:269025188,XF86XK_Yellow:269025189,XF86XK_Blue:269025190,XF86XK_Suspend:269025191,XF86XK_Hibernate:269025192,XF86XK_TouchpadToggle:269025193,XF86XK_TouchpadOn:269025200,XF86XK_TouchpadOff:269025201,XF86XK_AudioMicMute:269025202,XF86XK_Switch_VT_1:269024769,XF86XK_Switch_VT_2:269024770,XF86XK_Switch_VT_3:269024771,XF86XK_Switch_VT_4:269024772,XF86XK_Switch_VT_5:269024773,XF86XK_Switch_VT_6:269024774,XF86XK_Switch_VT_7:269024775,XF86XK_Switch_VT_8:269024776,XF86XK_Switch_VT_9:269024777,XF86XK_Switch_VT_10:269024778,XF86XK_Switch_VT_11:269024779,XF86XK_Switch_VT_12:269024780,XF86XK_Ungrab:269024800,XF86XK_ClearGrab:269024801,XF86XK_Next_VMode:269024802,XF86XK_Prev_VMode:269024803,XF86XK_LogWindowTree:269024804,XF86XK_LogGrabInfo:269024805};N.default=y},mLcG:function(B,N){var r=typeof window!="undefined"&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(y){setTimeout(y,16)};B.exports=r},"mO/d":function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("I9Y+"));function m(p){return p&&p.__esModule?p:{default:p}}var C=y;N.default=C,B.exports=C},mOdp:function(B,N,r){var y=r("bYtY"),m=y.createHashMap;function C(p){return{getTargetSeries:function(g){var h={},c=m();return g.eachSeriesByType(p,function(o){o.__paletteScope=h,c.set(o.uid,o)}),c},reset:function(g,h){var c=g.getRawData(),o={},n=g.getData();n.each(function(t){var a=n.getRawIndex(t);o[a]=t}),c.each(function(t){var a=o[t],d=a!=null&&n.getItemVisual(a,"color",!0),i=a!=null&&n.getItemVisual(a,"borderColor",!0),l;if((!d||!i)&&(l=c.getItemModel(t)),!d){var e=l.get("itemStyle.color")||g.getColorFromPalette(c.getName(t)||t+"",g.__paletteScope,c.count());a!=null&&n.setItemVisual(a,"color",e)}if(!i){var s=l.get("itemStyle.borderColor");a!=null&&n.setItemVisual(a,"borderColor",s)}})}}}B.exports=C},mTgk:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("mHUz"));function m(o){return o&&o.__esModule?o:{default:o}}var C={};function p(o,n){if(n===void 0)throw new Error('Undefined keysym for key "'+o+'"');if(o in C)throw new Error('Duplicate entry for key "'+o+'"');C[o]=[n,n,n,n]}function g(o,n,t){if(n===void 0)throw new Error('Undefined keysym for key "'+o+'"');if(t===void 0)throw new Error('Undefined keysym for key "'+o+'"');if(o in C)throw new Error('Duplicate entry for key "'+o+'"');C[o]=[n,n,t,n]}function h(o,n,t){if(n===void 0)throw new Error('Undefined keysym for key "'+o+'"');if(t===void 0)throw new Error('Undefined keysym for key "'+o+'"');if(o in C)throw new Error('Duplicate entry for key "'+o+'"');C[o]=[n,n,n,t]}g("Alt",y.default.XK_Alt_L,y.default.XK_Alt_R),p("AltGraph",y.default.XK_ISO_Level3_Shift),p("CapsLock",y.default.XK_Caps_Lock),g("Control",y.default.XK_Control_L,y.default.XK_Control_R),g("Meta",y.default.XK_Super_L,y.default.XK_Super_R),p("NumLock",y.default.XK_Num_Lock),p("ScrollLock",y.default.XK_Scroll_Lock),g("Shift",y.default.XK_Shift_L,y.default.XK_Shift_R),h("Enter",y.default.XK_Return,y.default.XK_KP_Enter),p("Tab",y.default.XK_Tab),h(" ",y.default.XK_space,y.default.XK_KP_Space),h("ArrowDown",y.default.XK_Down,y.default.XK_KP_Down),h("ArrowUp",y.default.XK_Up,y.default.XK_KP_Up),h("ArrowLeft",y.default.XK_Left,y.default.XK_KP_Left),h("ArrowRight",y.default.XK_Right,y.default.XK_KP_Right),h("End",y.default.XK_End,y.default.XK_KP_End),h("Home",y.default.XK_Home,y.default.XK_KP_Home),h("PageDown",y.default.XK_Next,y.default.XK_KP_Next),h("PageUp",y.default.XK_Prior,y.default.XK_KP_Prior),p("Backspace",y.default.XK_BackSpace),h("Clear",y.default.XK_Clear,y.default.XK_KP_Begin),p("Copy",y.default.XF86XK_Copy),p("Cut",y.default.XF86XK_Cut),h("Delete",y.default.XK_Delete,y.default.XK_KP_Delete),h("Insert",y.default.XK_Insert,y.default.XK_KP_Insert),p("Paste",y.default.XF86XK_Paste),p("Redo",y.default.XK_Redo),p("Undo",y.default.XK_Undo),p("Cancel",y.default.XK_Cancel),p("ContextMenu",y.default.XK_Menu),p("Escape",y.default.XK_Escape),p("Execute",y.default.XK_Execute),p("Find",y.default.XK_Find),p("Help",y.default.XK_Help),p("Pause",y.default.XK_Pause),p("Select",y.default.XK_Select),p("ZoomIn",y.default.XF86XK_ZoomIn),p("ZoomOut",y.default.XF86XK_ZoomOut),p("BrightnessDown",y.default.XF86XK_MonBrightnessDown),p("BrightnessUp",y.default.XF86XK_MonBrightnessUp),p("Eject",y.default.XF86XK_Eject),p("LogOff",y.default.XF86XK_LogOff),p("Power",y.default.XF86XK_PowerOff),p("PowerOff",y.default.XF86XK_PowerDown),p("PrintScreen",y.default.XK_Print),p("Hibernate",y.default.XF86XK_Hibernate),p("Standby",y.default.XF86XK_Standby),p("WakeUp",y.default.XF86XK_WakeUp),p("AllCandidates",y.default.XK_MultipleCandidate),p("Alphanumeric",y.default.XK_Eisu_Shift),p("CodeInput",y.default.XK_Codeinput),p("Compose",y.default.XK_Multi_key),p("Convert",y.default.XK_Henkan),p("GroupFirst",y.default.XK_ISO_First_Group),p("GroupLast",y.default.XK_ISO_Last_Group),p("GroupNext",y.default.XK_ISO_Next_Group),p("GroupPrevious",y.default.XK_ISO_Prev_Group),p("NonConvert",y.default.XK_Muhenkan),p("PreviousCandidate",y.default.XK_PreviousCandidate),p("SingleCandidate",y.default.XK_SingleCandidate),p("HangulMode",y.default.XK_Hangul),p("HanjaMode",y.default.XK_Hangul_Hanja),p("JunjuaMode",y.default.XK_Hangul_Jeonja),p("Eisu",y.default.XK_Eisu_toggle),p("Hankaku",y.default.XK_Hankaku),p("Hiragana",y.default.XK_Hiragana),p("HiraganaKatakana",y.default.XK_Hiragana_Katakana),p("KanaMode",y.default.XK_Kana_Shift),p("KanjiMode",y.default.XK_Kanji),p("Katakana",y.default.XK_Katakana),p("Romaji",y.default.XK_Romaji),p("Zenkaku",y.default.XK_Zenkaku),p("ZenkakuHanaku",y.default.XK_Zenkaku_Hankaku),p("F1",y.default.XK_F1),p("F2",y.default.XK_F2),p("F3",y.default.XK_F3),p("F4",y.default.XK_F4),p("F5",y.default.XK_F5),p("F6",y.default.XK_F6),p("F7",y.default.XK_F7),p("F8",y.default.XK_F8),p("F9",y.default.XK_F9),p("F10",y.default.XK_F10),p("F11",y.default.XK_F11),p("F12",y.default.XK_F12),p("F13",y.default.XK_F13),p("F14",y.default.XK_F14),p("F15",y.default.XK_F15),p("F16",y.default.XK_F16),p("F17",y.default.XK_F17),p("F18",y.default.XK_F18),p("F19",y.default.XK_F19),p("F20",y.default.XK_F20),p("F21",y.default.XK_F21),p("F22",y.default.XK_F22),p("F23",y.default.XK_F23),p("F24",y.default.XK_F24),p("F25",y.default.XK_F25),p("F26",y.default.XK_F26),p("F27",y.default.XK_F27),p("F28",y.default.XK_F28),p("F29",y.default.XK_F29),p("F30",y.default.XK_F30),p("F31",y.default.XK_F31),p("F32",y.default.XK_F32),p("F33",y.default.XK_F33),p("F34",y.default.XK_F34),p("F35",y.default.XK_F35),p("Close",y.default.XF86XK_Close),p("MailForward",y.default.XF86XK_MailForward),p("MailReply",y.default.XF86XK_Reply),p("MailSend",y.default.XF86XK_Send),p("MediaFastForward",y.default.XF86XK_AudioForward),p("MediaPause",y.default.XF86XK_AudioPause),p("MediaPlay",y.default.XF86XK_AudioPlay),p("MediaRecord",y.default.XF86XK_AudioRecord),p("MediaRewind",y.default.XF86XK_AudioRewind),p("MediaStop",y.default.XF86XK_AudioStop),p("MediaTrackNext",y.default.XF86XK_AudioNext),p("MediaTrackPrevious",y.default.XF86XK_AudioPrev),p("New",y.default.XF86XK_New),p("Open",y.default.XF86XK_Open),p("Print",y.default.XK_Print),p("Save",y.default.XF86XK_Save),p("SpellCheck",y.default.XF86XK_Spell),p("AudioVolumeDown",y.default.XF86XK_AudioLowerVolume),p("AudioVolumeUp",y.default.XF86XK_AudioRaiseVolume),p("AudioVolumeMute",y.default.XF86XK_AudioMute),p("MicrophoneVolumeMute",y.default.XF86XK_AudioMicMute),p("LaunchApplication1",y.default.XF86XK_MyComputer),p("LaunchApplication2",y.default.XF86XK_Calculator),p("LaunchCalendar",y.default.XF86XK_Calendar),p("LaunchMail",y.default.XF86XK_Mail),p("LaunchMediaPlayer",y.default.XF86XK_AudioMedia),p("LaunchMusicPlayer",y.default.XF86XK_Music),p("LaunchPhone",y.default.XF86XK_Phone),p("LaunchScreenSaver",y.default.XF86XK_ScreenSaver),p("LaunchSpreadsheet",y.default.XF86XK_Excel),p("LaunchWebBrowser",y.default.XF86XK_WWW),p("LaunchWebCam",y.default.XF86XK_WebCam),p("LaunchWordProcessor",y.default.XF86XK_Word),p("BrowserBack",y.default.XF86XK_Back),p("BrowserFavorites",y.default.XF86XK_Favorites),p("BrowserForward",y.default.XF86XK_Forward),p("BrowserHome",y.default.XF86XK_HomePage),p("BrowserRefresh",y.default.XF86XK_Refresh),p("BrowserSearch",y.default.XF86XK_Search),p("BrowserStop",y.default.XF86XK_Stop),p("Dimmer",y.default.XF86XK_BrightnessAdjust),p("MediaAudioTrack",y.default.XF86XK_AudioCycleTrack),p("RandomToggle",y.default.XF86XK_AudioRandomPlay),p("SplitScreenToggle",y.default.XF86XK_SplitScreen),p("Subtitle",y.default.XF86XK_Subtitle),p("VideoModeNext",y.default.XF86XK_Next_VMode),h("=",y.default.XK_equal,y.default.XK_KP_Equal),h("+",y.default.XK_plus,y.default.XK_KP_Add),h("-",y.default.XK_minus,y.default.XK_KP_Subtract),h("*",y.default.XK_asterisk,y.default.XK_KP_Multiply),h("/",y.default.XK_slash,y.default.XK_KP_Divide),h(".",y.default.XK_period,y.default.XK_KP_Decimal),h(",",y.default.XK_comma,y.default.XK_KP_Separator),h("0",y.default.XK_0,y.default.XK_KP_0),h("1",y.default.XK_1,y.default.XK_KP_1),h("2",y.default.XK_2,y.default.XK_KP_2),h("3",y.default.XK_3,y.default.XK_KP_3),h("4",y.default.XK_4,y.default.XK_KP_4),h("5",y.default.XK_5,y.default.XK_KP_5),h("6",y.default.XK_6,y.default.XK_KP_6),h("7",y.default.XK_7,y.default.XK_KP_7),h("8",y.default.XK_8,y.default.XK_KP_8),h("9",y.default.XK_9,y.default.XK_KP_9);var c=C;N.default=c},mYwL:function(B,N,r){var y=r("bYtY"),m=r("IwbS"),C=r("6GrX"),p=Math.PI;function g(h,c){c=c||{},y.defaults(c,{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var o=new m.Group,n=new m.Rect({style:{fill:c.maskColor},zlevel:c.zlevel,z:1e4});o.add(n);var t=c.fontSize+" sans-serif",a=new m.Rect({style:{fill:"none",text:c.text,font:t,textPosition:"right",textDistance:10,textFill:c.textColor},zlevel:c.zlevel,z:10001});if(o.add(a),c.showSpinner){var d=new m.Arc({shape:{startAngle:-p/2,endAngle:-p/2+.1,r:c.spinnerRadius},style:{stroke:c.color,lineCap:"round",lineWidth:c.lineWidth},zlevel:c.zlevel,z:10001});d.animateShape(!0).when(1e3,{endAngle:p*3/2}).start("circularInOut"),d.animateShape(!0).when(1e3,{startAngle:p*3/2}).delay(300).start("circularInOut"),o.add(d)}return o.resize=function(){var i=C.getWidth(c.text,t),l=c.showSpinner?c.spinnerRadius:0,e=(h.getWidth()-l*2-(c.showSpinner&&i?10:0)-i)/2-(c.showSpinner?0:i/2),s=h.getHeight()/2;c.showSpinner&&d.setShape({cx:e,cy:s}),a.setShape({x:e-l,y:s-l,width:l*2,height:l*2}),n.setShape({x:0,y:0,width:h.getWidth(),height:h.getHeight()})},o.resize(),o}B.exports=g},mdZa:function(B,N,r){"use strict";typeof Object.assign!="function"&&Object.defineProperty(Object,"assign",{value:function(m,C){"use strict";if(m==null)throw new TypeError("Cannot convert undefined or null to object");for(var p=Object(m),g=1;g<arguments.length;g++){var h=arguments[g];if(h!=null)for(var c in h)Object.prototype.hasOwnProperty.call(h,c)&&(p[c]=h[c])}return p},writable:!0,configurable:!0}),function(){function y(m,C){C=C||{bubbles:!1,cancelable:!1,detail:void 0};var p=document.createEvent("CustomEvent");return p.initCustomEvent(m,C.bubbles,C.cancelable,C.detail),p}y.prototype=window.Event.prototype,typeof window.CustomEvent!="function"&&(window.CustomEvent=y)}(),Number.isInteger=Number.isInteger||function(m){return typeof m=="number"&&isFinite(m)&&Math.floor(m)===m}},mr32:function(B,N,r){"use strict";var y=r("lSNA"),m=r.n(y),C=r("pVnL"),p=r.n(C),g=r("J4zp"),h=r.n(g),c=r("q1tI"),o=r("TSYQ"),n=r.n(o),t=r("BGR+"),a=r("V/uB"),d=r.n(a),i=r("H84U"),l=function(T,S){var E={};for(var I in T)Object.prototype.hasOwnProperty.call(T,I)&&S.indexOf(I)<0&&(E[I]=T[I]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,I=Object.getOwnPropertySymbols(T);O<I.length;O++)S.indexOf(I[O])<0&&Object.prototype.propertyIsEnumerable.call(T,I[O])&&(E[I[O]]=T[I[O]]);return E},e=function(S){var E,I=c.useContext(i.b),O=I.getPrefixCls,F=function(z){var K=S.checked,G=S.onChange,X=S.onClick;G&&G(!K),X&&X(z)},k=S.prefixCls,M=S.className,P=S.checked,V=l(S,["prefixCls","className","checked"]),D=O("tag",k),H=n()(D,(E={},m()(E,"".concat(D,"-checkable"),!0),m()(E,"".concat(D,"-checkable-checked"),P),E),M);return delete V.onChange,c.createElement("span",p()({},V,{className:H,onClick:F}))},s=e,u=r("09Wf"),f=r("g0mS"),A=function(T,S){var E={};for(var I in T)Object.prototype.hasOwnProperty.call(T,I)&&S.indexOf(I)<0&&(E[I]=T[I]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,I=Object.getOwnPropertySymbols(T);O<I.length;O++)S.indexOf(I[O])<0&&Object.prototype.propertyIsEnumerable.call(T,I[O])&&(E[I[O]]=T[I[O]]);return E},v=new RegExp("^(".concat(u.a.join("|"),")(-inverse)?$")),x=new RegExp("^(".concat(u.b.join("|"),")$")),b=function(S,E){var I,O=S.prefixCls,F=S.className,k=S.style,M=S.children,P=S.icon,V=S.color,D=S.onClose,H=S.closeIcon,U=S.closable,z=U===void 0?!1:U,K=A(S,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),G=c.useContext(i.b),X=G.getPrefixCls,Z=G.direction,ee=c.useState(!0),Se=h()(ee,2),$=Se[0],pe=Se[1];c.useEffect(function(){"visible"in K&&pe(K.visible)},[K.visible]);var xe=function(){return V?v.test(V)||x.test(V):!1},_e=p()({backgroundColor:V&&!xe()?V:void 0},k),Ue=xe(),ye=X("tag",O),Be=n()(ye,(I={},m()(I,"".concat(ye,"-").concat(V),Ue),m()(I,"".concat(ye,"-has-color"),V&&!Ue),m()(I,"".concat(ye,"-hidden"),!$),m()(I,"".concat(ye,"-rtl"),Z==="rtl"),I),F),Q=function(ae){if(ae.stopPropagation(),D&&D(ae),ae.defaultPrevented)return;"visible"in K||pe(!1)},ie=function(){return z?H?c.createElement("div",{className:"".concat(ye,"-close-icon"),onClick:Q},H):c.createElement(d.a,{className:"".concat(ye,"-close-icon"),onClick:Q}):null},Ve="onClick"in K||M&&M.type==="a",J=Object(t.default)(K,["visible"]),W=P||null,j=W?c.createElement(c.Fragment,null,W,c.createElement("span",null,M)):M,Y=c.createElement("span",p()({},J,{ref:E,className:Be,style:_e}),j,ie());return Ve?c.createElement(f.a,null,Y):Y},w=c.forwardRef(b);w.displayName="Tag",w.CheckableTag=s;var _=N.a=w},mxV5:function(module,exports,__webpack_require__){(function(global){var require,require;(function(B){if(!0)module.exports=B();else var N})(function(){var define,module,exports;return function(){function B(N,r,y){function m(g,h){if(!r[g]){if(!N[g]){var c=typeof require=="function"&&require;if(!h&&c)return require(g,!0);if(C)return C(g,!0);var o=new Error("Cannot find module '"+g+"'");throw o.code="MODULE_NOT_FOUND",o}var n=r[g]={exports:{}};N[g][0].call(n.exports,function(t){var a=N[g][1][t];return m(a||t)},n,n.exports,B,N,r,y)}return r[g].exports}for(var C=typeof require=="function"&&require,p=0;p<y.length;p++)m(y[p]);return m}return B}()({1:[function(B,N,r){"use strict";var y=B("./browser/client");y.Buffer=B("buffer").Buffer,y.urllib=B("../shims/xhr"),y.version=B("./browser/version").version,N.exports=y},{"../shims/xhr":291,"./browser/client":2,"./browser/version":5,buffer:73}],2:[function(B,N,r){(function(y,m){"use strict";var C=B("babel-runtime/core-js/promise"),p=n(C),g=B("babel-runtime/regenerator"),h=n(g),c=B("babel-runtime/core-js/object/assign"),o=n(c);function n(P){return P&&P.__esModule?P:{default:P}}var t=B("debug")("ali-oss"),a=B("copy-to"),d=B("xml2js"),i=B("agentkeepalive"),l=B("merge-descriptors"),e=B("url"),s=B("is-type-of"),u=B("platform"),f=B("utility"),A=B("urllib"),v=B("./version"),x=B("bowser"),b=B("../common/signUtils"),w=B("../common/utils/isIP"),_=w.isIP,T=B("../common/client/initOptions"),S=B("../common/utils/createRequest"),E=S.createRequest,I=new i;function O(){var P=u.name,V=u.version;P&&P.toLowerCase&&P.toLowerCase()==="ie"&&V.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function F(){return location&&location.protocol==="https:"}function k(P,V){if(O(),!(this instanceof k))return new k(P,V);P&&P.inited?this.options=P:this.options=k.initOptions(P),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=A,this.agent=this.options.agent||I),this.ctx=V,this.userAgent=this._getUserAgent(),this.options.amendTimeSkewed=0}N.exports=k,k.initOptions=function(V){V.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var D=(0,o.default)({secure:F(),useFetch:!1},V);return T(D)};var M=k.prototype;M.debug=t,l(M,B("./object")),l(M,B("../common/bucket/getBucketWebsite")),l(M,B("../common/bucket/putBucketWebsite")),l(M,B("../common/bucket/deleteBucketWebsite")),l(M,B("../common/bucket/getBucketLifecycle")),l(M,B("../common/bucket/putBucketLifecycle")),l(M,B("../common/bucket/deleteBucketLifecycle")),l(M,B("../common/bucket/putBucketVersioning")),l(M,B("../common/bucket/getBucketVersioning")),l(M,B("./managed-upload")),l(M,B("../common/multipart")),l(M,B("../common/parallel")),M.signature=function(V){return this.debug("authorization stringToSign: %s",V,"info"),b.computeSignature(this.options.accessKeySecret,V)},M.authorization=function(V,D,H,U){var z=b.buildCanonicalString(V.toUpperCase(),D,{headers:U,parameters:H});return b.authorization(this.options.accessKeyId,this.options.accessKeySecret,z)},M.request=function(V){var D,H,U,z,K,G;return h.default.async(function(Z){for(;;)switch(Z.prev=Z.next){case 0:return D=E.call(this,V),this.options.useFetch||(D.params.mode="disable-fetch"),H=void 0,U=void 0,z=!!V.stream,Z.prev=5,Z.next=8,h.default.awrap(this.urllib.request(D.url,D.params));case 8:H=Z.sent,this.debug("response %s %s, got %s, headers: %j",V.method,D.url,H.status,H.headers,"info"),Z.next=15;break;case 12:Z.prev=12,Z.t0=Z.catch(5),U=Z.t0;case 15:if(K=void 0,!(H&&V.successStatuses&&V.successStatuses.indexOf(H.status)===-1)){Z.next=28;break}return Z.next=19,h.default.awrap(this.requestError(H));case 19:if(K=Z.sent,!(K.code==="RequestTimeTooSkewed"&&!z)){Z.next=25;break}return this.options.amendTimeSkewed=+new Date(K.serverTime)-new Date,Z.next=24,h.default.awrap(this.request(V));case 24:return Z.abrupt("return",Z.sent);case 25:K.params=V,Z.next=32;break;case 28:if(!U){Z.next=32;break}return Z.next=31,h.default.awrap(this.requestError(U));case 31:K=Z.sent;case 32:if(!K){Z.next=34;break}throw K;case 34:if(!V.xmlResponse){Z.next=39;break}return Z.next=37,h.default.awrap(this.parseXML(H.data));case 37:G=Z.sent,H.data=G;case 39:return Z.abrupt("return",H);case 40:case"end":return Z.stop()}},null,this,[[5,12]])},M._getResource=function(V){var D="/";return V.bucket&&(D+=V.bucket+"/"),V.object&&(D+=V.object),D},M._isIP=_,M._escape=function(V){return f.encodeURIComponent(V).replace(/%2F/g,"/")},M._getReqUrl=function(V){var D={};a(this.options.endpoint).to(D);var H=this._isIP(D.hostname),U=this.options.cname;V.bucket&&!U&&!H&&(D.host=V.bucket+"."+D.host);var z="/";V.bucket&&H&&(z+=V.bucket+"/"),V.object&&(z+=this._escape(V.object).replace(/\+/g,"%2B")),D.pathname=z;var K={};if(V.query&&l(K,V.query),V.subres){var G={};s.string(V.subres)?G[V.subres]="":s.array(V.subres)?V.subres.forEach(function(X){G[X]=""}):G=V.subres,l(K,G)}return D.query=K,e.format(D)},M._getUserAgent=function(){var V=m&&m.browser?"js":"nodejs",D="aliyun-sdk-"+V+"/"+v.version,H=u.description;return!H&&m&&(H="Node.js "+m.version.slice(1)+" on "+m.platform+" "+m.arch),this._checkUserAgent(D+" "+H)},M._checkUserAgent=function(V){var D=V.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return D},M.checkBrowserAndVersion=function(V,D){return x.name===V&&x.version.split(".")[0]===D},M.parseXML=function(V){return new p.default(function(D,H){y.isBuffer(V)&&(V=V.toString()),d.parseString(V,{explicitRoot:!1,explicitArray:!1},function(U,z){U?H(U):D(z)})})},M.requestError=function(V){var D,H,U,z;return h.default.async(function(G){for(;;)switch(G.prev=G.next){case 0:if(D=null,!(!V.data||!V.data.length)){G.next=5;break}V.status===-1||V.status===-2?(D=new Error(V.message),D.name=V.name,D.status=V.status,D.code=V.name):(V.status===404?(D=new Error("Object not exists"),D.name="NoSuchKeyError",D.status=404,D.code="NoSuchKey"):V.status===412?(D=new Error("Pre condition failed"),D.name="PreconditionFailedError",D.status=412,D.code="PreconditionFailed"):(D=new Error("Unknow error, status: "+V.status),D.name="UnknowError",D.status=V.status),D.requestId=V.headers["x-oss-request-id"],D.host=""),G.next=33;break;case 5:return H=String(V.data),this.debug("request response error data: %s",H,"error"),U=void 0,G.prev=8,G.next=11,h.default.awrap(this.parseXML(H));case 11:if(G.t0=G.sent,G.t0){G.next=14;break}G.t0={};case 14:U=G.t0,G.next=24;break;case 17:return G.prev=17,G.t1=G.catch(8),this.debug(H,"error"),G.t1.message+=`
|
|
|
raw xml: `+H,G.t1.status=V.status,G.t1.requestId=V.headers["x-oss-request-id"],G.abrupt("return",G.t1);case 24:z=U.Message||"unknow request error, status: "+V.status,U.Condition&&(z+=" (condition: "+U.Condition+")"),D=new Error(z),D.name=U.Code?U.Code+"Error":"UnknowError",D.status=V.status,D.code=U.Code,D.requestId=U.RequestId,D.hostId=U.HostId,D.serverTime=U.ServerTime;case 33:return this.debug("generate error %j",D,"error"),G.abrupt("return",D);case 35:case"end":return G.stop()}},null,this,[[8,17]])}}).call(this,{isBuffer:B("../../node_modules/is-buffer/index.js")},B("_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(B,N,r){(function(y){"use strict";var m=B("babel-runtime/core-js/array/from"),C=o(m),p=B("babel-runtime/core-js/promise"),g=o(p),h=B("babel-runtime/regenerator"),c=o(h);function o(b){return b&&b.__esModule?b:{default:b}}var n=B("is-type-of"),t=B("util"),a=B("path"),d=B("mime"),i=B("copy-to"),l=B("../common/utils/isBlob"),e=l.isBlob,s=B("../common/utils/isFile"),u=s.isFile,f=r;f.multipartUpload=function(w,_,T){var S,E,I,O,F,k,M,P,V;return c.default.async(function(H){for(;;)switch(H.prev=H.next){case 0:if(this.resetCancelFlag(),T=T||{},!(T.checkpoint&&T.checkpoint.uploadId)){H.next=6;break}return H.next=5,c.default.awrap(this._resumeMultipart(T.checkpoint,T));case 5:return H.abrupt("return",H.sent);case 6:return S=100*1024,T.mime||(u(_)?T.mime=d.getType(a.extname(_.name)):e(_)?T.mime=_.type:T.mime=d.getType(a.extname(_))),T.headers=T.headers||{},this._convertMetaToHeaders(T.meta,T.headers),H.next=12,c.default.awrap(this._getFileSize(_));case 12:if(E=H.sent,!(E<S)){H.next=25;break}return I=this._createStream(_,0,E),T.contentLength=E,H.next=18,c.default.awrap(this.putStream(w,I,T));case 18:if(O=H.sent,!(T&&T.progress)){H.next=22;break}return H.next=22,c.default.awrap(T.progress(1));case 22:return F={res:O.res,bucket:this.options.bucket,name:w,etag:O.res.headers.etag},(T.headers&&T.headers["x-oss-callback"]||T.callback)&&(F.data=O.data),H.abrupt("return",F);case 25:if(!(T.partSize&&!(parseInt(T.partSize,10)===T.partSize))){H.next=27;break}throw new Error("partSize must be int number");case 27:if(!(T.partSize&&T.partSize<S)){H.next=29;break}throw new Error("partSize must not be smaller than "+S);case 29:return H.next=31,c.default.awrap(this.initMultipartUpload(w,T));case 31:if(k=H.sent,M=k.uploadId,P=this._getPartSize(E,T.partSize),V={file:_,name:w,fileSize:E,partSize:P,uploadId:M,doneParts:[]},!(T&&T.progress)){H.next=38;break}return H.next=38,c.default.awrap(T.progress(0,V,k.res));case 38:return H.next=40,c.default.awrap(this._resumeMultipart(V,T));case 40:return H.abrupt("return",H.sent);case 41:case"end":return H.stop()}},null,this)},f._resumeMultipart=function(w,_){var T,S,E,I,O,F,k,M,P,V,D,H,U,z,K,G,X,Z;return c.default.async(function(Se){for(;;)switch(Se.prev=Se.next){case 0:if(T=this,!this.isCancel()){Se.next=3;break}throw this._makeCancelEvent();case 3:return S=w.file,E=w.fileSize,I=w.partSize,O=w.uploadId,F=w.doneParts,k=w.name,M=[],F.length>0&&i(F).to(M),P=this._divideParts(E,I),V=P.length,D=!1,H=function(pe,xe){var _e=this;return new g.default(function(ye,Be){var Q,ie,Ve,J;return c.default.async(function(j){for(;;)switch(j.prev=j.next){case 0:if(j.prev=0,pe.isCancel()){j.next=18;break}return Q=P[xe-1],ie={stream:pe._createStream(S,Q.start,Q.end),size:Q.end-Q.start},j.next=6,c.default.awrap(pe._uploadPart(k,O,xe,ie));case 6:if(Ve=j.sent,!(!pe.isCancel()&&!D)){j.next=15;break}if(w.doneParts.push({number:xe,etag:Ve.res.headers.etag}),!_.progress){j.next=12;break}return j.next=12,c.default.awrap(_.progress(F.length/V,w,Ve.res));case 12:ye({number:xe,etag:Ve.res.headers.etag}),j.next=16;break;case 15:ye();case 16:j.next=19;break;case 18:ye();case 19:j.next=30;break;case 21:j.prev=21,j.t0=j.catch(0),J=new Error,J.name=j.t0.name,J.message=j.t0.message,J.stack=j.t0.stack,J.partNum=xe,i(j.t0).to(J),Be(J);case 30:case"end":return j.stop()}},null,_e,[[0,21]])})},U=(0,C.default)(new Array(V),function($,pe){return pe+1}),z=M.map(function($){return $.number}),K=U.filter(function($){return z.indexOf($)<0}),G=5,X=_.parallel||G,Se.next=17,c.default.awrap(this._parallel(K,X,function($){return new g.default(function(pe,xe){H(T,$).then(function(_e){_e&&M.push(_e),pe()}).catch(function(_e){xe(_e)})})}));case 17:if(Z=Se.sent,D=!0,!this.isCancel()){Se.next=22;break}throw H=null,this._makeCancelEvent();case 22:if(!(Z&&Z.length>0)){Se.next=25;break}throw Z[0].message="Failed to upload some parts with error: "+Z[0].toString()+" part_num: "+Z[0].partNum,Z[0];case 25:return Se.next=27,c.default.awrap(this.completeMultipartUpload(k,O,M,_));case 27:return Se.abrupt("return",Se.sent);case 28:case"end":return Se.stop()}},null,this)},f._getFileSize=function(w){return c.default.async(function(T){for(;;)switch(T.prev=T.next){case 0:if(!n.buffer(w)){T.next=4;break}return T.abrupt("return",w.length);case 4:if(!(e(w)||u(w))){T.next=6;break}return T.abrupt("return",w.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return T.stop()}},null,this)};var A=B("stream"),v=A.Readable;function x(b,w){if(!(this instanceof x))return new x(b,w);v.call(this,w),this.file=b,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}t.inherits(x,v),x.prototype.readFileAndPush=function(w){if(this.fileBuffer)for(var _=!0;_&&this.fileBuffer&&this.start<this.fileBuffer.length;){var T=this.start,S=T+w;S=S>this.fileBuffer.length?this.fileBuffer.length:S,this.start=S,_=this.push(this.fileBuffer.slice(T,S))}},x.prototype._read=function(w){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 _=16*1024;w=w||_;var T=this;this.reader.onload=function(E){T.fileBuffer=y.from(new Uint8Array(E.target.result)),T.file=null,T.readFileAndPush(w)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(w)},f._createStream=function(w,_,T){if(e(w)||u(w))return new x(w.slice(_,T));throw new Error("_createStream requires File/Blob.")},f._getPartSize=function(w,_){var T=10*1e3,S=1024*1024;return _?Math.max(Math.ceil(w/T),_):S},f._divideParts=function(w,_){for(var T=Math.ceil(w/_),S=[],E=0;E<T;E++){var I=_*E,O=Math.min(I+_,w);S.push({start:I,end:O})}return S}}).call(this,B("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(B,N,r){"use strict";var y=B("babel-runtime/core-js/promise"),m=n(y),C=B("babel-runtime/core-js/object/keys"),p=n(C),g=B("babel-runtime/core-js/object/assign"),h=n(g),c=B("babel-runtime/regenerator"),o=n(c);function n(T){return T&&T.__esModule?T:{default:T}}var t=B("utility"),a=B("fs"),d=B("is-type-of"),i=B("url"),l=B("copy-to"),e=B("path"),s=B("mime"),u=B("../common/callback"),f=B("../common/signUtils"),A=B("merge-descriptors"),v=B("../common/utils/isBlob"),x=v.isBlob,b=B("../common/utils/isFile"),w=b.isFile,_=r;_.append=function(S,E,I){var O;return o.default.async(function(k){for(;;)switch(k.prev=k.next){case 0:return I=I||{},I.position===void 0&&(I.position="0"),I.subres={append:"",position:I.position},I.method="POST",k.next=6,o.default.awrap(this.put(S,E,I));case 6:return O=k.sent,O.nextAppendPosition=O.res.headers["x-oss-next-append-position"],k.abrupt("return",O);case 9:case"end":return k.stop()}},null,this)},_.put=function(S,E,I){var O,F,k,M,P,V,D;return o.default.async(function(U){for(;;)switch(U.prev=U.next){case 0:if(O=void 0,I=I||{},S=this._objectName(S),!d.buffer(E)){U.next=7;break}O=E,U.next=33;break;case 7:if(!(x(E)||w(E))){U.next=32;break}return I.mime||(w(E)?I.mime=s.getType(e.extname(E.name)):I.mime=E.type),F=this._createStream(E,0,E.size),U.next=12,o.default.awrap(this._getFileSize(E));case 12:return I.contentLength=U.sent,U.prev=13,U.next=16,o.default.awrap(this.putStream(S,F,I));case 16:return k=U.sent,U.abrupt("return",k);case 20:if(U.prev=20,U.t0=U.catch(13),!(U.t0.code==="RequestTimeTooSkewed")){U.next=29;break}return this.options.amendTimeSkewed=+new Date(U.t0.serverTime)-new Date,U.next=26,o.default.awrap(this.put(S,E,I));case 26:return U.abrupt("return",U.sent);case 29:throw U.t0;case 30:U.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),M=I.method||"PUT",P=this._objectRequestParams(M,S,I),u.encodeCallback(P,I),P.mime=I.mime,P.content=O,P.successStatuses=[200],U.next=43,o.default.awrap(this.request(P));case 43:return V=U.sent,D={name:S,url:this._objectUrl(S),res:V.res},P.headers&&P.headers["x-oss-callback"]&&(D.data=JSON.parse(V.data.toString())),U.abrupt("return",D);case 47:case"end":return U.stop()}},null,this,[[13,20]])},_.putStream=function(S,E,I){var O,F,k,M;return o.default.async(function(V){for(;;)switch(V.prev=V.next){case 0:return I=I||{},I.headers=I.headers||{},S=this._objectName(S),I.contentLength?I.headers["Content-Length"]=I.contentLength:I.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(I.meta,I.headers),O=I.method||"PUT",F=this._objectRequestParams(O,S,I),u.encodeCallback(F,I),F.mime=I.mime,F.stream=E,F.successStatuses=[200],V.next=13,o.default.awrap(this.request(F));case 13:return k=V.sent,M={name:S,url:this._objectUrl(S),res:k.res},F.headers&&F.headers["x-oss-callback"]&&(M.data=JSON.parse(k.data.toString())),V.abrupt("return",M);case 17:case"end":return V.stop()}},null,this)},A(_,B("../common/object/copyObject")),A(_,B("../common/object/getObjectTagging")),A(_,B("../common/object/putObjectTagging")),A(_,B("../common/object/deleteObjectTagging")),A(_,B("../common/image")),A(_,B("../common/object/getBucketVersions")),A(_,B("../common/object/getACL")),A(_,B("../common/object/putACL")),A(_,B("../common/object/head")),A(_,B("../common/object/delete")),A(_,B("../common/object/get")),A(_,B("../common/object/putSymlink")),A(_,B("../common/object/getSymlink")),A(_,B("../common/object/deleteMulti")),A(_,B("../common/object/getObjectMeta")),_.putMeta=function(S,E,I){var O;return o.default.async(function(k){for(;;)switch(k.prev=k.next){case 0:return k.next=2,o.default.awrap(this.copy(S,S,{meta:E||{},timeout:I&&I.timeout,ctx:I&&I.ctx}));case 2:return O=k.sent,k.abrupt("return",O);case 4:case"end":return k.stop()}},null,this)},_.list=function(S,E){var I,O,F,k,M;return o.default.async(function(V){for(;;)switch(V.prev=V.next){case 0:return I=this._objectRequestParams("GET","",E),I.query=S,I.xmlResponse=!0,I.successStatuses=[200],V.next=6,o.default.awrap(this.request(I));case 6:return O=V.sent,F=O.data.Contents,k=this,F&&(Array.isArray(F)||(F=[F]),F=F.map(function(D){return{name:D.Key,url:k._objectUrl(D.Key),lastModified:D.LastModified,etag:D.ETag,type:D.Type,size:Number(D.Size),storageClass:D.StorageClass,owner:{id:D.Owner.ID,displayName:D.Owner.DisplayName}}})),M=O.data.CommonPrefixes||null,M&&(Array.isArray(M)||(M=[M]),M=M.map(function(D){return D.Prefix})),V.abrupt("return",{res:O.res,objects:F,prefixes:M,nextMarker:O.data.NextMarker||null,isTruncated:O.data.IsTruncated==="true"});case 13:case"end":return V.stop()}},null,this)},_.restore=function(S,E){var I,O;return o.default.async(function(k){for(;;)switch(k.prev=k.next){case 0:return E=E||{},E.subres=(0,h.default)({restore:""},E.subres),E.versionId&&(E.subres.versionId=E.versionId),I=this._objectRequestParams("POST",S,E),I.successStatuses=[202],k.next=7,o.default.awrap(this.request(I));case 7:return O=k.sent,k.abrupt("return",{res:O.res});case 9:case"end":return k.stop()}},null,this)},_.signatureUrl=function(S,E){E=E||{},S=this._objectName(S),E.method=E.method||"GET";var I=t.timestamp()+(E.expires||1800),O={bucket:this.options.bucket,object:S},F=this._getResource(O);this.options.stsToken&&(E["security-token"]=this.options.stsToken);var k=f._signatureForURL(this.options.accessKeySecret,E,F,I),M=i.parse(this._getReqUrl(O));return M.query={OSSAccessKeyId:this.options.accessKeyId,Expires:I,Signature:k.Signature},l(k.subResource).to(M.query),M.format()},_.getObjectUrl=function(S,E){return E?E[E.length-1]!=="/"&&(E+="/"):E=this.options.endpoint.format(),E+this._escape(this._objectName(S))},_._objectUrl=function(S){return this._getReqUrl({bucket:this.options.bucket,object:S})},_.generateObjectUrl=function(T,S){if(S)S[S.length-1]!=="/"&&(S+="/");else{S=this.options.endpoint.format();var E=i.parse(S),I=this.options.bucket;E.hostname=I+"."+E.hostname,E.host=I+"."+E.host,S=E.format()}return S+this._escape(this._objectName(T))},_._objectRequestParams=function(S,E,I){if(!this.options.bucket)throw new Error("Please create a bucket first");I=I||{},E=this._objectName(E);var O={object:E,bucket:this.options.bucket,method:S,subres:I&&I.subres,timeout:I&&I.timeout,ctx:I&&I.ctx};return I.headers&&(O.headers={},l(I.headers).to(O.headers)),O},_._objectName=function(S){return S.replace(/^\/+/,"")},_._convertMetaToHeaders=function(S,E){if(!S)return;(0,p.default)(S).forEach(function(I){E["x-oss-meta-"+I]=S[I]})},_._deleteFileSafe=function(S){var E=this;return new m.default(function(I){a.exists(S,function(O){O?a.unlink(S,function(F){F&&E.debug("unlink %j error: %s",S,F,"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(B,N,r){"use strict";r.version="6.10.0"},{}],6:[function(B,N,r){"use strict";var y=B("babel-runtime/regenerator"),m=C(y);function C(c){return c&&c.__esModule?c:{default:c}}var p=B("../utils/checkBucketName"),g=p.checkBucketName,h=r;h.deleteBucketLifecycle=function(o,n){var t,a;return m.default.async(function(i){for(;;)switch(i.prev=i.next){case 0:return g(o),t=this._bucketRequestParams("DELETE",o,"lifecycle",n),t.successStatuses=[204],i.next=5,m.default.awrap(this.request(t));case 5:return a=i.sent,i.abrupt("return",{res:a.res});case 7:case"end":return i.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],7:[function(B,N,r){"use strict";var y=B("babel-runtime/regenerator"),m=C(y);function C(c){return c&&c.__esModule?c:{default:c}}var p=B("../utils/checkBucketName"),g=p.checkBucketName,h=r;h.deleteBucketWebsite=function(o,n){var t,a;return m.default.async(function(i){for(;;)switch(i.prev=i.next){case 0:return g(o),t=this._bucketRequestParams("DELETE",o,"website",n),t.successStatuses=[204],i.next=5,m.default.awrap(this.request(t));case 5:return a=i.sent,i.abrupt("return",{res:a.res});case 7:case"end":return i.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],8:[function(B,N,r){"use strict";var y=B("babel-runtime/regenerator"),m=C(y);function C(a){return a&&a.__esModule?a:{default:a}}var p=B("../utils/checkBucketName"),g=p.checkBucketName,h=B("../utils/isArray"),c=h.isArray,o=B("../utils/formatObjKey"),n=o.formatObjKey,t=r;t.getBucketLifecycle=function(d,i){var l,e,s;return m.default.async(function(f){for(;;)switch(f.prev=f.next){case 0:return g(d),l=this._bucketRequestParams("GET",d,"lifecycle",i),l.successStatuses=[200],l.xmlResponse=!0,f.next=6,m.default.awrap(this.request(l));case 6:return e=f.sent,s=e.data.Rule||null,s&&(c(s)||(s=[s]),s=s.map(function(A){return A.ID&&(A.id=A.ID,delete A.ID),A.Tag&&!c(A.Tag)&&(A.Tag=[A.Tag]),n(A,"firstLowerCase")})),f.abrupt("return",{rules:s,res:e.res});case 10:case"end":return f.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/formatObjKey":40,"../utils/isArray":42,"babel-runtime/regenerator":68}],9:[function(B,N,r){"use strict";var y=B("babel-runtime/regenerator"),m=C(y);function C(c){return c&&c.__esModule?c:{default:c}}var p=B("../utils/checkBucketName"),g=p.checkBucketName,h=r;h.getBucketVersioning=function(o,n){var t,a,d;return m.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return g(o),t=this._bucketRequestParams("GET",o,"versioning",n),t.xmlResponse=!0,t.successStatuses=[200],l.next=6,m.default.awrap(this.request(t));case 6:return a=l.sent,d=a.data.Status,l.abrupt("return",{status:a.status,versionStatus:d,res:a.res});case 9:case"end":return l.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],10:[function(B,N,r){"use strict";var y=B("babel-runtime/regenerator"),m=C(y);function C(n){return n&&n.__esModule?n:{default:n}}var p=B("../utils/checkBucketName"),g=p.checkBucketName,h=B("../utils/isObject"),c=h.isObject,o=r;o.getBucketWebsite=function(t,a){var d,i,l;return m.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return g(t),d=this._bucketRequestParams("GET",t,"website",a),d.successStatuses=[200],d.xmlResponse=!0,s.next=6,m.default.awrap(this.request(d));case 6:return i=s.sent,l=[],i.data.RoutingRules&&i.data.RoutingRules.RoutingRule&&(c(i.data.RoutingRules.RoutingRule)?l=[i.data.RoutingRules.RoutingRule]:l=i.data.RoutingRules.RoutingRule),s.abrupt("return",{index:i.data.IndexDocument&&i.data.IndexDocument.Suffix||"",supportSubDir:i.data.IndexDocument&&i.data.IndexDocument.SupportSubDir||"false",type:i.data.IndexDocument&&i.data.IndexDocument.Type,routingRules:l,error:i.data.ErrorDocument&&i.data.ErrorDocument.Key||null,res:i.res});case 10:case"end":return s.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/isObject":46,"babel-runtime/regenerator":68}],11:[function(B,N,r){"use strict";var y=B("babel-runtime/regenerator"),m=C(y);function C(w){return w&&w.__esModule?w:{default:w}}var p=B("../utils/checkBucketName"),g=p.checkBucketName,h=B("../utils/isArray"),c=h.isArray,o=B("../utils/deepCopy"),n=o.deepCopy,t=B("../utils/isObject"),a=t.isObject,d=B("../utils/obj2xml"),i=d.obj2xml,l=B("../utils/checkObjectTag"),e=l.checkObjectTag,s=B("../utils/getStrBytesCount"),u=s.getStrBytesCount,f=r;f.putBucketLifecycle=function(_,T,S){var E,I,O,F,k;return m.default.async(function(P){for(;;)switch(P.prev=P.next){case 0:if(g(_),c(T)){P.next=3;break}throw new Error("rules must be Array");case 3:return E=this._bucketRequestParams("PUT",_,"lifecycle",S),I=[],O={LifecycleConfiguration:{Rule:I}},T.forEach(function(V){A(V),b(V),V.id&&(V.ID=V.id,delete V.id),I.push(V)}),F=i(O,{headers:!0,firstUpperCase:!0}),E.content=F,E.mime="xml",E.successStatuses=[200],P.next=13,m.default.awrap(this.request(E));case 13:return k=P.sent,P.abrupt("return",{res:k.res});case 15:case"end":return P.stop()}},null,this)};function A(w){w.days&&(w.expiration={days:w.days}),w.date&&(w.expiration={createdBeforeDate:w.date})}function v(w,_){var T=w.days,S=w.createdBeforeDate;if(!T&&!S)throw new Error(_+" must includes days or createdBeforeDate");if(T&&!/^[1-9][0-9]*$/.test(T))throw new Error("days must be a positive integer");if(S&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(S))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function x(w){if(!c(w)&&!a(w))throw new Error("tag must be Object or Array");w=a(w)?[w]:w;var _={},T=n(w);T.forEach(function(S){_[S.key]=S.value}),e(_)}function b(w){if(w.id&&u(w.id)>255)throw new Error("ID is composed of 255 bytes at most");if(w.prefix===""||w.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(w.status))throw new Error("Status must be Enabled or Disabled");if(w.transition){if(!["IA","Archive"].includes(w.transition.storageClass))throw new Error("StorageClass must be IA or Archive");v(w.transition,"Transition")}if(w.expiration){if(!w.expiration.expiredObjectDeleteMarker)v(w.expiration,"Expiration");else if(w.expiration.days||w.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(w.abortMultipartUpload&&v(w.abortMultipartUpload,"AbortMultipartUpload"),!w.expiration&&!w.abortMultipartUpload&&!w.transition&&!w.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(w.tag){if(w.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");x(w.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(B,N,r){"use strict";var y=B("babel-runtime/regenerator"),m=C(y);function C(n){return n&&n.__esModule?n:{default:n}}var p=B("../utils/checkBucketName"),g=p.checkBucketName,h=B("../utils/obj2xml"),c=h.obj2xml,o=r;o.putBucketVersioning=function(t,a){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,l,e;return m.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:if(g(t),["Enabled","Suspended"].includes(a)){u.next=3;break}throw new Error("status must be Enabled or Suspended");case 3:return i=this._bucketRequestParams("PUT",t,"versioning",d),l={VersioningConfiguration:{Status:a}},i.mime="xml",i.content=c(l,{headers:!0}),u.next=9,m.default.awrap(this.request(i));case 9:return e=u.sent,u.abrupt("return",{res:e.res,status:e.status});case 11:case"end":return u.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],13:[function(B,N,r){"use strict";var y=B("babel-runtime/regenerator"),m=C(y);function C(a){return a&&a.__esModule?a:{default:a}}var p=B("../utils/checkBucketName"),g=p.checkBucketName,h=B("../utils/obj2xml"),c=h.obj2xml,o=B("../utils/isArray"),n=o.isArray,t=r;t.putBucketWebsite=function(d){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments[2],e,s,u,f,A;return m.default.async(function(x){for(;;)switch(x.prev=x.next){case 0:if(g(d),e=this._bucketRequestParams("PUT",d,"website",l),s={Suffix:i.index||"index.html"},u={IndexDocument:s},f={WebsiteConfiguration:u},i.supportSubDir&&(s.SupportSubDir=i.supportSubDir),i.type&&(s.Type=i.type),i.error&&(u.ErrorDocument={Key:i.error}),!(i.routingRules!==void 0)){x.next=12;break}if(n(i.routingRules)){x.next=11;break}throw new Error("RoutingRules must be Array");case 11:u.RoutingRules={RoutingRule:i.routingRules};case 12:return f=c(f),e.content=f,e.mime="xml",e.successStatuses=[200],x.next=18,m.default.awrap(this.request(e));case 18:return A=x.sent,x.abrupt("return",{res:A.res});case 20:case"end":return x.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/isArray":42,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],14:[function(B,N,r){(function(y){"use strict";var m=B("babel-runtime/core-js/object/keys"),C=h(m),p=B("babel-runtime/core-js/json/stringify"),g=h(p);function h(c){return c&&c.__esModule?c:{default:c}}r.encodeCallback=function(o,n){if(o.headers=o.headers||{},!Object.prototype.hasOwnProperty.call(o.headers,"x-oss-callback")&&n.callback){var t={callbackUrl:encodeURI(n.callback.url),callbackBody:n.callback.body};n.callback.host&&(t.callbackHost=n.callback.host),n.callback.contentType&&(t.callbackBodyType=n.callback.contentType);var a=y.from((0,g.default)(t)).toString("base64");if(o.headers["x-oss-callback"]=a,n.callback.customValue){var d={};(0,C.default)(n.callback.customValue).forEach(function(i){d["x:"+i]=n.callback.customValue[i]}),o.headers["x-oss-callback-var"]=y.from((0,g.default)(d)).toString("base64")}}}}).call(this,B("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/keys":60,buffer:73}],15:[function(B,N,r){"use strict";var y=B("babel-runtime/core-js/object/assign"),m=C(y);function C(t){return t&&t.__esModule?t:{default:t}}var p=B("humanize-ms"),g=B("url"),h=B("../utils/checkBucketName"),c=h.checkBucketName;function o(t,a){var d=g.parse(t);if(d.protocol||(d=g.parse("http"+(a?"s":"")+"://"+t)),d.protocol!=="http:"&&d.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return d}function n(t,a,d){var i=d?"https://":"http://",l=a?"-internal.aliyuncs.com":".aliyuncs.com",e="vpc100-oss-cn-";return t.substr(0,e.length)===e&&(l=".aliyuncs.com"),g.parse(i+t+l)}N.exports=function(t){if(!t||!t.accessKeyId||!t.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");t.bucket&&c(t.bucket);var a=(0,m.default)({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1},t);if(a.accessKeyId=a.accessKeyId.trim(),a.accessKeySecret=a.accessKeySecret.trim(),a.timeout&&(a.timeout=p(a.timeout)),a.endpoint)a.endpoint=o(a.endpoint,a.secure);else if(a.region)a.endpoint=n(a.region,a.internal,a.secure);else throw new Error("require options.endpoint or options.region");return a.inited=!0,a}},{"../utils/checkBucketName":35,"babel-runtime/core-js/object/assign":54,"humanize-ms":194,url:238}],16:[function(B,N,r){"use strict";var y=B("merge-descriptors"),m=r;y(m,B("./processObjectSave"))},{"./processObjectSave":17,"merge-descriptors":200}],17:[function(B,N,r){"use strict";var y=B("babel-runtime/regenerator"),m=C(y);function C(a){return a&&a.__esModule?a:{default:a}}var p=B("../utils/checkBucketName"),g=p.checkBucketName,h=B("querystring"),c=B("js-base64"),o=c.Base64.encode,n=r;n.processObjectSave=function(d,i,l,e){var s,u,f,A;return m.default.async(function(x){for(;;)switch(x.prev=x.next){case 0:return t(d,"sourceObject"),t(i,"targetObject"),t(l,"process"),i=this._objectName(i),e&&g(e),s=this._objectRequestParams("POST",d,{subres:"x-oss-process"}),u=e?",b_"+o(e):"",i=o(i),f={"x-oss-process":l+"|sys/saveas,o_"+i+u},s.content=h.stringify(f),x.next=12,m.default.awrap(this.request(s));case 12:return A=x.sent,x.abrupt("return",{res:A.res,status:A.res.status});case 14:case"end":return x.stop()}},null,this)};function t(a,d){if(!a)throw new Error(d+" is required");if(typeof a!="string")throw new Error(d+" must be String")}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68,"js-base64":199,querystring:212}],18:[function(B,N,r){"use strict";var y=B("babel-runtime/regenerator"),m=C(y);function C(n){return n&&n.__esModule?n:{default:n}}var p=B("copy-to"),g=B("./callback"),h=B("./utils/deepCopy"),c=h.deepCopy,o=r;o.listUploads=function(t,a){var d,i,l,e;return m.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return a=a||{},d={},p(a).to(d),d.subres="uploads",i=this._objectRequestParams("GET","",d),i.query=t,i.xmlResponse=!0,i.successStatuses=[200],u.next=10,m.default.awrap(this.request(i));case 10:return l=u.sent,e=l.data.Upload||[],Array.isArray(e)||(e=[e]),e=e.map(function(f){return{name:f.Key,uploadId:f.UploadId,initiated:f.Initiated}}),u.abrupt("return",{res:l.res,uploads:e,bucket:l.data.Bucket,nextKeyMarker:l.data.NextKeyMarker,nextUploadIdMarker:l.data.NextUploadIdMarker,isTruncated:l.data.IsTruncated==="true"});case 15:case"end":return u.stop()}},null,this)},o.listParts=function(t,a,d,i){var l,e,s;return m.default.async(function(f){for(;;)switch(f.prev=f.next){case 0:return i=i||{},l={},p(i).to(l),l.subres={uploadId:a},e=this._objectRequestParams("GET",t,l),e.query=d,e.xmlResponse=!0,e.successStatuses=[200],f.next=10,m.default.awrap(this.request(e));case 10:return s=f.sent,f.abrupt("return",{res:s.res,uploadId:s.data.UploadId,bucket:s.data.Bucket,name:s.data.Key,partNumberMarker:s.data.PartNumberMarker,nextPartNumberMarker:s.data.NextPartNumberMarker,maxParts:s.data.MaxParts,isTruncated:s.data.IsTruncated,parts:s.data.Part||[]});case 12:case"end":return f.stop()}},null,this)},o.abortMultipartUpload=function(t,a,d){var i,l,e;return m.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return this._stop(),d=d||{},i={},p(d).to(i),i.subres={uploadId:a},l=this._objectRequestParams("DELETE",t,i),l.successStatuses=[204],u.next=9,m.default.awrap(this.request(l));case 9:return e=u.sent,u.abrupt("return",{res:e.res});case 11:case"end":return u.stop()}},null,this)},o.initMultipartUpload=function(t,a){var d,i,l;return m.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return a=a||{},d={},p(a).to(d),d.headers=d.headers||{},this._convertMetaToHeaders(a.meta,d.headers),d.subres="uploads",i=this._objectRequestParams("POST",t,d),i.mime=a.mime,i.xmlResponse=!0,i.successStatuses=[200],s.next=12,m.default.awrap(this.request(i));case 12:return l=s.sent,s.abrupt("return",{res:l.res,bucket:l.data.Bucket,name:l.data.Key,uploadId:l.data.UploadId});case 14:case"end":return s.stop()}},null,this)},o.uploadPart=function(t,a,d,i,l,e,s){var u;return m.default.async(function(A){for(;;)switch(A.prev=A.next){case 0:return u={stream:this._createStream(i,l,e),size:e-l},A.next=3,m.default.awrap(this._uploadPart(t,a,d,u,s));case 3:return A.abrupt("return",A.sent);case 4:case"end":return A.stop()}},null,this)},o.completeMultipartUpload=function(t,a,d,i){var l,e,s,u,f,A,v,x;return m.default.async(function(w){for(;;)switch(w.prev=w.next){case 0:for(l=d.concat().sort(function(_,T){return _.number-T.number}).filter(function(_,T,S){return!T||_.number!==S[T-1].number}),e=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<CompleteMultipartUpload>
|
|
|
`,s=0;s<l.length;s++)u=l[s],e+=`<Part>
|
|
|
`,e+="<PartNumber>"+u.number+`</PartNumber>
|
|
|
`,e+="<ETag>"+u.etag+`</ETag>
|
|
|
`,e+=`</Part>
|
|
|
`;return e+="</CompleteMultipartUpload>",i=i||{},f={},f=c(i),f.headers&&delete f.headers["x-oss-server-side-encryption"],f.subres={uploadId:a},A=this._objectRequestParams("POST",t,f),g.encodeCallback(A,f),A.mime="xml",A.content=e,A.headers&&A.headers["x-oss-callback"]||(A.xmlResponse=!0),A.successStatuses=[200],w.next=17,m.default.awrap(this.request(A));case 17:return v=w.sent,x={res:v.res,bucket:A.bucket,name:t,etag:v.res.headers.etag},A.headers&&A.headers["x-oss-callback"]&&(x.data=JSON.parse(v.data.toString())),w.abrupt("return",x);case 21:case"end":return w.stop()}},null,this)},o._uploadPart=function(t,a,d,i,l){var e,s,u;return m.default.async(function(A){for(;;)switch(A.prev=A.next){case 0:return l=l||{},e={},p(l).to(e),e.headers={"Content-Length":i.size},e.subres={partNumber:d,uploadId:a},s=this._objectRequestParams("PUT",t,e),s.mime=e.mime,s.stream=i.stream,s.successStatuses=[200],A.next=11,m.default.awrap(this.request(s));case 11:if(u=A.sent,u.res.headers.etag){A.next=14;break}throw new Error(`Please set the etag of expose-headers in OSS
|
|
|
https://help.aliyun.com/document_detail/32069.html`);case 14:return i.stream=null,s.stream=null,A.abrupt("return",{name:t,etag:u.res.headers.etag,res:u.res});case 17:case"end":return A.stop()}},null,this)}},{"./callback":14,"./utils/deepCopy":39,"babel-runtime/regenerator":68,"copy-to":76}],19:[function(B,N,r){"use strict";var y=B("babel-runtime/regenerator"),m=c(y),C=B("babel-runtime/core-js/object/keys"),p=c(C),g=B("babel-runtime/helpers/typeof"),h=c(g);function c(a){return a&&a.__esModule?a:{default:a}}var o=B("../utils/checkBucketName"),n=o.checkBucketName,t=r;t.copy=function(d,i,l,e){var s,u,f;return m.default.async(function(v){for(;;)switch(v.prev=v.next){case 0:return(typeof l=="undefined"?"undefined":(0,h.default)(l))==="object"&&(e=l),e=e||{},e.headers=e.headers||{},(0,p.default)(e.headers).forEach(function(x){e.headers["x-oss-copy-source-"+x.toLowerCase()]=e.headers[x]}),e.meta&&(e.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(e.meta,e.headers),i=this._getSourceName(i,l),e.versionId&&(i=i+"?versionId="+e.versionId),e.headers["x-oss-copy-source"]=i,s=this._objectRequestParams("PUT",d,e),s.xmlResponse=!0,s.successStatuses=[200,304],v.next=14,m.default.awrap(this.request(s));case 14:return u=v.sent,f=u.data,f&&(f={etag:f.ETag,lastModified:f.LastModified}),v.abrupt("return",{data:f,res:u.res});case 18:case"end":return v.stop()}},null,this)},t._getSourceName=function(d,i){return typeof i=="string"?d=this._objectName(d):d[0]!=="/"?i=this.options.bucket:(i=d.replace(/\/(.+?)(\/.*)/,"$1"),d=d.replace(/(\/.+?\/)(.*)/,"$2")),n(i),d=encodeURI(d),d="/"+i+"/"+d,d}},{"../utils/checkBucketName":35,"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67,"babel-runtime/regenerator":68}],20:[function(B,N,r){"use strict";var y=B("babel-runtime/regenerator"),m=g(y),C=B("babel-runtime/core-js/object/assign"),p=g(C);function g(c){return c&&c.__esModule?c:{default:c}}var h=r;h.delete=function(o){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t,a;return m.default.async(function(i){for(;;)switch(i.prev=i.next){case 0:return n.subres=(0,p.default)({},n.subres),n.versionId&&(n.subres.versionId=n.versionId),t=this._objectRequestParams("DELETE",o,n),t.successStatuses=[204],i.next=6,m.default.awrap(this.request(t));case 6:return a=i.sent,i.abrupt("return",{res:a.res});case 8:case"end":return i.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],21:[function(B,N,r){"use strict";var y=B("babel-runtime/regenerator"),m=g(y),C=B("babel-runtime/core-js/object/assign"),p=g(C);function g(t){return t&&t.__esModule?t:{default:t}}var h=B("utility"),c=B("../utils/obj2xml"),o=c.obj2xml,n=r;n.deleteMulti=function(a){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i,l,e,s,u,f,A,v,x,b,w,_;return m.default.async(function(S){for(;;)switch(S.prev=S.next){case 0:if(i=[],!(!a||!a.length)){S.next=3;break}throw new Error("names is required");case 3:for(l=0;l<a.length;l++)e={},typeof a[l]=="string"?e.Key=h.escape(this._objectName(a[l])):(s=a[l],u=s.key,f=s.versionId,e.Key=h.escape(this._objectName(u)),e.VersionId=f),i.push(e);return A={Delete:{Quiet:!!d.quiet,Object:i}},v=o(A,{headers:!0}),d.subres=(0,p.default)({delete:""},d.subres),d.versionId&&(d.subres.versionId=d.versionId),x=this._objectRequestParams("POST","",d),x.mime="xml",x.content=v,x.xmlResponse=!0,x.successStatuses=[200],S.next=15,m.default.awrap(this.request(x));case 15:return b=S.sent,w=b.data,_=w&&w.Deleted||null,_&&(Array.isArray(_)||(_=[_])),S.abrupt("return",{res:b.res,deleted:_||[]});case 20:case"end":return S.stop()}},null,this)}},{"../utils/obj2xml":47,"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68,utility:290}],22:[function(B,N,r){"use strict";var y=B("babel-runtime/regenerator"),m=g(y),C=B("babel-runtime/core-js/object/assign"),p=g(C);function g(c){return c&&c.__esModule?c:{default:c}}var h=r;h.deleteObjectTagging=function(o){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t,a;return m.default.async(function(i){for(;;)switch(i.prev=i.next){case 0:return n.subres=(0,p.default)({tagging:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),o=this._objectName(o),t=this._objectRequestParams("DELETE",o,n),t.successStatuses=[204],i.next=7,m.default.awrap(this.request(t));case 7:return a=i.sent,i.abrupt("return",{status:a.status,res:a.res});case 9:case"end":return i.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],23:[function(B,N,r){"use strict";var y=B("babel-runtime/regenerator"),m=g(y),C=B("babel-runtime/core-js/object/assign"),p=g(C);function g(n){return n&&n.__esModule?n:{default:n}}var h=B("fs"),c=B("is-type-of"),o=r;o.get=function(t,a){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,l,e,s;return m.default.async(function(f){for(;;)switch(f.prev=f.next){case 0:return i=null,l=!1,c.writableStream(a)?i=a:c.string(a)?(i=h.createWriteStream(a),l=!0):d=a,d=d||{},d.subres=(0,p.default)({},d.subres),d.versionId&&(d.subres.versionId=d.versionId),d.process&&(d.subres["x-oss-process"]=d.process),e=void 0,f.prev=8,s=this._objectRequestParams("GET",t,d),s.writeStream=i,s.successStatuses=[200,206,304],f.next=14,m.default.awrap(this.request(s));case 14:e=f.sent,l&&i.destroy(),f.next=25;break;case 18:if(f.prev=18,f.t0=f.catch(8),!l){f.next=24;break}return i.destroy(),f.next=24,m.default.awrap(this._deleteFileSafe(a));case 24:throw f.t0;case 25:return f.abrupt("return",{res:e.res,content:e.data});case 26:case"end":return f.stop()}},null,this,[[8,18]])}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68,fs:71,"is-type-of":289}],24:[function(B,N,r){"use strict";var y=B("babel-runtime/regenerator"),m=g(y),C=B("babel-runtime/core-js/object/assign"),p=g(C);function g(c){return c&&c.__esModule?c:{default:c}}var h=r;h.getACL=function(o){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t,a;return m.default.async(function(i){for(;;)switch(i.prev=i.next){case 0:return n.subres=(0,p.default)({acl:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),o=this._objectName(o),t=this._objectRequestParams("GET",o,n),t.successStatuses=[200],t.xmlResponse=!0,i.next=8,m.default.awrap(this.request(t));case 8:return a=i.sent,i.abrupt("return",{acl:a.data.AccessControlList.Grant,owner:{id:a.data.Owner.ID,displayName:a.data.Owner.DisplayName},res:a.res});case 10:case"end":return i.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],25:[function(B,N,r){"use strict";var y=B("babel-runtime/core-js/object/keys"),m=c(y),C=B("babel-runtime/regenerator"),p=c(C),g=B("babel-runtime/core-js/object/assign"),h=c(g);function c(s){return s&&s.__esModule?s:{default:s}}var o=r,n=B("../utils/isObject"),t=n.isObject,a=B("../utils/isArray"),d=a.isArray;o.getBucketVersions=i,o.listObjectVersions=i;function i(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},f,A,v,x,b,w;return p.default.async(function(T){for(;;)switch(T.prev=T.next){case 0:if(!(s.versionIdMarker&&s.keyMarker===void 0)){T.next=2;break}throw new Error("A version-id marker cannot be specified without a key marker");case 2:return u.subres=(0,h.default)({versions:""},u.subres),u.versionId&&(u.subres.versionId=u.versionId),f=this._objectRequestParams("GET","",u),f.xmlResponse=!0,f.successStatuses=[200],f.query=e(s),T.next=10,p.default.awrap(this.request(f));case 10:return A=T.sent,v=A.data.Version||[],x=A.data.DeleteMarker||[],b=this,v&&(Array.isArray(v)||(v=[v]),v=v.map(function(S){return{name:S.Key,url:b._objectUrl(S.Key),lastModified:S.LastModified,isLatest:S.IsLatest==="true",versionId:S.VersionId,etag:S.ETag,type:S.Type,size:Number(S.Size),storageClass:S.StorageClass,owner:{id:S.Owner.ID,displayName:S.Owner.DisplayName}}})),x&&(d(x)||(x=[x]),x=x.map(function(S){return{name:S.Key,lastModified:S.LastModified,versionId:S.VersionId,owner:{id:S.Owner.ID,displayName:S.Owner.DisplayName}}})),w=A.data.CommonPrefixes||null,w&&(d(w)||(w=[w]),w=w.map(function(S){return S.Prefix})),T.abrupt("return",{res:A.res,objects:v,deleteMarker:x,prefixes:w,nextMarker:A.data.NextMarker||null,NextVersionIdMarker:A.data.NextVersionIdMarker||null,isTruncated:A.data.IsTruncated==="true"});case 19:case"end":return T.stop()}},null,this)}function l(s){return s.replace(/([A-Z])/g,"-$1").toLowerCase()}function e(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u={};return t(s)&&(0,m.default)(s).forEach(function(f){u[l(f)]=s[f]}),u}},{"../utils/isArray":42,"../utils/isObject":46,"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/regenerator":68}],26:[function(B,N,r){"use strict";var y=B("babel-runtime/regenerator"),m=g(y),C=B("babel-runtime/core-js/object/assign"),p=g(C);function g(c){return c&&c.__esModule?c:{default:c}}var h=r;h.getObjectMeta=function(o,n){var t,a;return m.default.async(function(i){for(;;)switch(i.prev=i.next){case 0:return n=n||{},o=this._objectName(o),n.subres=(0,p.default)({objectMeta:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),t=this._objectRequestParams("HEAD",o,n),t.successStatuses=[200],i.next=8,m.default.awrap(this.request(t));case 8:return a=i.sent,i.abrupt("return",{status:a.status,res:a.res});case 10:case"end":return i.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],27:[function(B,N,r){"use strict";var y=B("babel-runtime/regenerator"),m=g(y),C=B("babel-runtime/core-js/object/assign"),p=g(C);function g(n){return n&&n.__esModule?n:{default:n}}var h=r,c=B("../utils/isObject"),o=c.isObject;h.getObjectTagging=function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d,i,l,e,s;return m.default.async(function(f){for(;;)switch(f.prev=f.next){case 0:return a.subres=(0,p.default)({tagging:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),t=this._objectName(t),d=this._objectRequestParams("GET",t,a),d.successStatuses=[200],f.next=7,m.default.awrap(this.request(d));case 7:return i=f.sent,f.next=10,m.default.awrap(this.parseXML(i.data));case 10:return l=f.sent,e=l.TagSet.Tag,e=e&&o(e)?[e]:e||[],s={},e.forEach(function(A){s[A.Key]=A.Value}),f.abrupt("return",{status:i.status,res:i.res,tag:s});case 16:case"end":return f.stop()}},null,this)}},{"../utils/isObject":46,"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],28:[function(B,N,r){"use strict";var y=B("babel-runtime/regenerator"),m=g(y),C=B("babel-runtime/core-js/object/assign"),p=g(C);function g(c){return c&&c.__esModule?c:{default:c}}var h=r;h.getSymlink=function(o){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t,a,d;return m.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return n.subres=(0,p.default)({symlink:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),o=this._objectName(o),t=this._objectRequestParams("GET",o,n),t.successStatuses=[200],l.next=7,m.default.awrap(this.request(t));case 7:return a=l.sent,d=a.res.headers["x-oss-symlink-target"],l.abrupt("return",{targetName:decodeURIComponent(d),res:a.res});case 10:case"end":return l.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],29:[function(B,N,r){"use strict";var y=B("babel-runtime/regenerator"),m=c(y),C=B("babel-runtime/core-js/object/keys"),p=c(C),g=B("babel-runtime/core-js/object/assign"),h=c(g);function c(n){return n&&n.__esModule?n:{default:n}}var o=r;o.head=function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d,i,l;return m.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return a.subres=(0,h.default)({},a.subres),a.versionId&&(a.subres.versionId=a.versionId),d=this._objectRequestParams("HEAD",t,a),d.successStatuses=[200,304],s.next=6,m.default.awrap(this.request(d));case 6:return i=s.sent,l={meta:null,res:i.res,status:i.status},i.status===200&&(0,p.default)(i.headers).forEach(function(u){u.indexOf("x-oss-meta-")===0&&(l.meta||(l.meta={}),l.meta[u.substring(11)]=i.headers[u])}),s.abrupt("return",l);case 10:case"end":return s.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/regenerator":68}],30:[function(B,N,r){"use strict";var y=B("babel-runtime/regenerator"),m=g(y),C=B("babel-runtime/core-js/object/assign"),p=g(C);function g(c){return c&&c.__esModule?c:{default:c}}var h=r;h.putACL=function(o,n,t){var a,d;return m.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return t=t||{},t.subres=(0,p.default)({acl:""},t.subres),t.versionId&&(t.subres.versionId=t.versionId),t.headers=t.headers||{},t.headers["x-oss-object-acl"]=n,o=this._objectName(o),a=this._objectRequestParams("PUT",o,t),a.successStatuses=[200],l.next=10,m.default.awrap(this.request(a));case 10:return d=l.sent,l.abrupt("return",{res:d.res});case 12:case"end":return l.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],31:[function(B,N,r){"use strict";var y=B("babel-runtime/regenerator"),m=c(y),C=B("babel-runtime/core-js/object/keys"),p=c(C),g=B("babel-runtime/core-js/object/assign"),h=c(g);function c(i){return i&&i.__esModule?i:{default:i}}var o=B("../utils/obj2xml"),n=o.obj2xml,t=B("../utils/checkObjectTag"),a=t.checkObjectTag,d=r;d.putObjectTagging=function(l,e){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u,f,A;return m.default.async(function(x){for(;;)switch(x.prev=x.next){case 0:return a(e),s.subres=(0,h.default)({tagging:""},s.subres),s.versionId&&(s.subres.versionId=s.versionId),l=this._objectName(l),u=this._objectRequestParams("PUT",l,s),u.successStatuses=[200],e=(0,p.default)(e).map(function(b){return{Key:b,Value:e[b]}}),f={Tagging:{TagSet:{Tag:e}}},u.mime="xml",u.content=n(f),x.next=12,m.default.awrap(this.request(u));case 12:return A=x.sent,x.abrupt("return",{res:A.res,status:A.status});case 14:case"end":return x.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(B,N,r){"use strict";var y=B("babel-runtime/regenerator"),m=g(y),C=B("babel-runtime/core-js/object/assign"),p=g(C);function g(c){return c&&c.__esModule?c:{default:c}}var h=r;h.putSymlink=function(o,n,t){var a,d;return m.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return t=t||{},t.headers=t.headers||{},n=this._escape(this._objectName(n)),this._convertMetaToHeaders(t.meta,t.headers),t.headers["x-oss-symlink-target"]=n,t.subres=(0,p.default)({symlink:""},t.subres),t.versionId&&(t.subres.versionId=t.versionId),t.storageClass&&(t.headers["x-oss-storage-class"]=t.storageClass),o=this._objectName(o),a=this._objectRequestParams("PUT",o,t),a.successStatuses=[200],l.next=13,m.default.awrap(this.request(a));case 13:return d=l.sent,l.abrupt("return",{res:d.res});case 15:case"end":return l.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],33:[function(B,N,r){"use strict";var y=B("babel-runtime/regenerator"),m=g(y),C=B("babel-runtime/core-js/promise"),p=g(C);function g(c){return c&&c.__esModule?c:{default:c}}var h=r;h._parallelNode=function(o,n,t,a){var d,i,l,e,s,u,f,A;return m.default.async(function(x){for(;;)switch(x.prev=x.next){case 0:d=this,i=[],l=[],e=o.length/n,s=o.length%n,u=s===0?e:(o.length-s)/n+1,f=1,A=0;case 8:if(!(A<o.length)){x.next=26;break}if(!d.isCancel()){x.next=11;break}return x.abrupt("break",26);case 11:if(a?l.push(t(d,o[A],a)):l.push(t(d,o[A])),!(l.length===n||f===u&&A===o.length-1)){x.next=23;break}return x.prev=13,f+=1,x.next=17,m.default.awrap(p.default.all(l));case 17:x.next=22;break;case 19:x.prev=19,x.t0=x.catch(13),i.push(x.t0);case 22:l=[];case 23:A++,x.next=8;break;case 26:return x.abrupt("return",i);case 27:case"end":return x.stop()}},null,this,[[13,19]])},h._parallel=function(o,n,t){var a=this;return new p.default(function(d){var i=[];if(n<=0||!o){d(i);return}function l(w){return function(){if(w===null)throw new Error("Callback was already called.");var _=w;w=null;for(var T=arguments.length,S=Array(T),E=0;E<T;E++)S[E]=arguments[E];_.apply(this,S)}}function e(w){var _=-1,T=w.length;return function(){return++_<T&&!a.isCancel()?{value:w[_],key:_}:null}}var s=e(o),u=!1,f=0,A=!1;function v(w,_){f-=1,w?(u=!0,i.push(w),d(i)):_==={}||u&&f<=0?(u=!0,d(i)):A||(a.isCancel()?d(i):b())}function x(w,_){t(w).then(function(T){_(null,T)}).catch(function(T){_(T)})}function b(){for(A=!0;f<n&&!u&&!a.isCancel();){var w=s();if(w===null||i.length>0){u=!0,f<=0&&d(i);return}f+=1,x(w.value,l(v))}A=!1}b()})},h.cancel=function(o){this.options.cancelFlag=!0,o&&this.abortMultipartUpload(o.name,o.uploadId,o.options)},h.isCancel=function(){return this.options.cancelFlag},h.resetCancelFlag=function(){this.options.cancelFlag=!1},h._stop=function(){this.options.cancelFlag=!0},h._makeCancelEvent=function(){var o={status:0,name:"cancel"};return o}},{"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68}],34:[function(B,N,r){(function(y){"use strict";var m=B("babel-runtime/core-js/json/stringify"),C=h(m),p=B("babel-runtime/core-js/object/keys"),g=h(p);function h(n){return n&&n.__esModule?n:{default:n}}var c=B("./../../shims/crypto/crypto.js"),o=B("is-type-of");r.buildCanonicalizedResource=function(t,a){var d=""+t,i="?";if(o.string(a)&&a.trim()!=="")d+=i+a;else if(o.array(a))a.sort(),d+=i+a.join("&");else if(a){var l=function(u,f){return u[0]>f[0]?1:u[0]<f[0]?-1:0},e=function(u){d+=i+u,a[u]&&(d+="="+a[u]),i="&"};(0,g.default)(a).sort(l).forEach(e)}return d},r.buildCanonicalString=function(t,a,d,i){d=d||{};var l=d.headers||{},e="x-oss-",s=[],u={},f=[t.toUpperCase(),l["Content-Md5"]||"",l["Content-Type"]||l["Content-Type".toLowerCase()],i||l["x-oss-date"]];return(0,g.default)(l).forEach(function(A){var v=A.toLowerCase();v.indexOf(e)===0&&(u[v]=String(l[A]).trim())}),(0,g.default)(u).sort().forEach(function(A){s.push(A+":"+u[A])}),f=f.concat(s),f.push(this.buildCanonicalizedResource(a,d.parameters)),f.join(`
|
|
|
`)},r.computeSignature=function(t,a){var d=c.createHmac("sha1",t);return d.update(y.from(a,"utf8")).digest("base64")},r.authorization=function(t,a,d){return"OSS "+t+":"+this.computeSignature(a,d)},r._signatureForURL=function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=arguments[2],i=arguments[3],l={},e=a.subResource,s=e===void 0?{}:e;if(a.process){var u="x-oss-process";s[u]=a.process}if(a.trafficLimit){var f="x-oss-traffic-limit";s[f]=a.trafficLimit}if(a.response&&(0,g.default)(a.response).forEach(function(b){var w="response-"+b.toLowerCase();s[w]=a.response[b]}),(0,g.default)(a).forEach(function(b){var w=b.toLowerCase(),_=a[b];w.indexOf("x-oss-")===0?l[w]=_:(w.indexOf("content-md5")===0||w.indexOf("content-type")===0)&&(l[b]=_)}),Object.prototype.hasOwnProperty.call(a,"security-token")&&(s["security-token"]=a["security-token"]),Object.prototype.hasOwnProperty.call(a,"callback")){var A={callbackUrl:encodeURI(a.callback.url),callbackBody:a.callback.body};if(a.callback.host&&(A.callbackHost=a.callback.host),a.callback.contentType&&(A.callbackBodyType=a.callback.contentType),s.callback=y.from((0,C.default)(A)).toString("base64"),a.callback.customValue){var v={};(0,g.default)(a.callback.customValue).forEach(function(b){v["x:"+b]=a.callback.customValue[b]}),s["callback-var"]=y.from((0,C.default)(v)).toString("base64")}}var x=this.buildCanonicalString(a.method,d,{headers:l,parameters:s},i.toString());return{Signature:this.computeSignature(t,x),subResource:s}}}).call(this,B("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(B,N,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.checkBucketName=void 0,r.checkBucketName=function(y,m){var C=m?/^[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(y))throw new Error("The bucket must be conform to the specifications")}},{}],36:[function(B,N,r){"use strict";var y=B("babel-runtime/core-js/object/entries"),m=C(y);function C(a){return a&&a.__esModule?a:{default:a}}Object.defineProperty(r,"__esModule",{value:!0}),r.checkObjectTag=void 0;var p=B("./checkValid"),g=p.checkValid,h=B("./isObject"),c=h.isObject,o=[{validator:function(d){if(typeof d!="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 (/)"}],n={key:[].concat(o,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(o,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function t(a){if(!c(a))throw new Error("tag must be Object");var d=(0,m.default)(a);if(d.length>10)throw new Error("maximum of 10 tags for a object");var i=["key","value"];d.forEach(function(l){l.forEach(function(e,s){g(e,n[i[s]])})})}r.checkObjectTag=t},{"./checkValid":37,"./isObject":46,"babel-runtime/core-js/object/entries":57}],37:[function(B,N,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.checkValid=void 0;function y(m,C){C.forEach(function(p){if(p.validator)p.validator(m);else if(p.pattern&&!p.pattern.test(m))throw new Error(p.msg)})}r.checkValid=y},{}],38:[function(B,N,r){(function(y){"use strict";var m=B("babel-runtime/core-js/object/assign"),C=p(m);function p(l){return l&&l.__esModule?l:{default:l}}Object.defineProperty(r,"__esModule",{value:!0}),r.createRequest=void 0;var g=B("./../../../shims/crypto/crypto.js"),h=B("debug")("ali-oss"),c=B("mime"),o=B("dateformat"),n=B("copy-to"),t=B("path");function a(l,e){return l[e]||l[e.toLowerCase()]}function d(l,e){delete l[e],delete l[e.toLowerCase()]}function i(l){var e=new Date;this.options.amendTimeSkewed&&(e=+new Date+this.options.amendTimeSkewed);var s={"x-oss-date":o(e,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'"),"x-oss-user-agent":this.userAgent};this.userAgent.includes("nodejs")&&(s["User-Agent"]=this.userAgent),this.options.isRequestPay&&(0,C.default)(s,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(s["x-oss-security-token"]=this.options.stsToken),n(l.headers).to(s),a(s,"Content-Type")||(l.mime&&l.mime.indexOf("/")>0?s["Content-Type"]=l.mime:s["Content-Type"]=c.getType(l.mime||t.extname(l.object||""))),a(s,"Content-Type")||d(s,"Content-Type"),l.content&&(s["Content-Md5"]=g.createHash("md5").update(y.from(l.content,"utf8")).digest("base64"),s["Content-Length"]||(s["Content-Length"]=l.content.length));var u=this._getResource(l);s.authorization=this.authorization(l.method,u,l.subres,s);var f=this._getReqUrl(l);h("request %s %s, with headers %j, !!stream: %s",l.method,f,s,!!l.stream);var A=l.timeout||this.options.timeout,v={method:l.method,content:l.content,stream:l.stream,headers:s,timeout:A,writeStream:l.writeStream,customResponse:l.customResponse,ctx:l.ctx||this.ctx};return this.agent&&(v.agent=this.agent),this.httpsAgent&&(v.httpsAgent=this.httpsAgent),{url:f,params:v}}r.createRequest=i}).call(this,B("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(B,N,r){"use strict";var y=B("babel-runtime/core-js/object/keys"),m=g(y),C=B("babel-runtime/helpers/typeof"),p=g(C);function g(h){return h&&h.__esModule?h:{default:h}}Object.defineProperty(r,"__esModule",{value:!0}),r.deepCopy=void 0,r.deepCopy=function(h){if(h===null||(typeof h=="undefined"?"undefined":(0,p.default)(h))!=="object")return h;var c=Array.isArray(h)?[]:{};return(0,m.default)(h).forEach(function(o){c[o]=r.deepCopy(h[o])}),c}},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],40:[function(B,N,r){"use strict";var y=B("babel-runtime/core-js/object/keys"),m=g(y),C=B("babel-runtime/helpers/typeof"),p=g(C);function g(o){return o&&o.__esModule?o:{default:o}}Object.defineProperty(r,"__esModule",{value:!0}),r.formatObjKey=void 0;function h(o,n){if(o===null||(typeof o=="undefined"?"undefined":(0,p.default)(o))!=="object")return o;var t=void 0;if(Array.isArray(o)){t=[];for(var a=0;a<o.length;a++)t.push(h(o[a],n))}else t={},(0,m.default)(o).forEach(function(d){t[c(d,n)]=h(o[d],n)});return t}r.formatObjKey=h;function c(o,n){return n==="firstUpperCase"?o=o.replace(/^./,function(t){return t.toUpperCase()}):n==="firstLowerCase"&&(o=o.replace(/^./,function(t){return t.toLowerCase()})),o}},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],41:[function(B,N,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getStrBytesCount=void 0;function y(m){for(var C=0,p=0;p<m.length;p++){var g=m.charAt(p);/^[\u00-\uff]$/.test(g)?C+=1:C+=2}return C}r.getStrBytesCount=y},{}],42:[function(B,N,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isArray=void 0,r.isArray=function(y){return Object.prototype.toString.call(y)==="[object Array]"}},{}],43:[function(B,N,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isBlob=void 0;function y(m){return typeof Blob!="undefined"&&m instanceof Blob}r.isBlob=y},{}],44:[function(B,N,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isFile=void 0,r.isFile=function(y){return typeof File!="undefined"&&y instanceof File}},{}],45:[function(B,N,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isIP=void 0,r.isIP=function(y){var m=/^(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 m.test(y)||C.test(y)}},{}],46:[function(B,N,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isObject=void 0,r.isObject=function(y){return Object.prototype.toString.call(y)==="[object Object]"}},{}],47:[function(B,N,r){"use strict";var y=B("babel-runtime/core-js/object/keys"),m=C(y);function C(c){return c&&c.__esModule?c:{default:c}}Object.defineProperty(r,"__esModule",{value:!0}),r.obj2xml=void 0;var p=B("./formatObjKey");function g(c){return Object.prototype.toString.call(c).replace(/(.*? |])/g,"").toLowerCase()}function h(c,o){var n="";return o&&o.headers&&(n=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
`),o&&o.firstUpperCase&&(c=p.formatObjKey(c,"firstUpperCase")),g(c)==="object"?(0,m.default)(c).forEach(function(t){g(c[t])==="string"||g(c[t])==="number"?n+="<"+t+">"+c[t]+"</"+t+">":g(c[t])==="object"?n+="<"+t+">"+h(c[t])+"</"+t+">":g(c[t])==="array"?n+=c[t].map(function(a){return"<"+t+">"+h(a)+"</"+t+">"}).join(""):n+="<"+t+">"+c[t].toString()+"</"+t+">"}):n+=c.toString(),n}r.obj2xml=h},{"./formatObjKey":40,"babel-runtime/core-js/object/keys":60}],48:[function(B,N,r){N.exports=y,N.exports.HttpsAgent=y;function y(){}},{}],49:[function(B,N,r){N.exports=B("./register")().Promise},{"./register":51}],50:[function(B,N,r){"use strict";var y="@@any-promise/REGISTRATION",m=null;N.exports=function(C,p){return function(h,c){h=h||null,c=c||{};var o=c.global!==!1;if(m===null&&o&&(m=C[y]||null),m!==null&&h!==null&&m.implementation!==h)throw new Error('any-promise already defined as "'+m.implementation+'". You can only register an implementation before the first call to require("any-promise") and an implementation cannot be changed');return m===null&&(h!==null&&typeof c.Promise!="undefined"?m={Promise:c.Promise,implementation:h}:m=p(h),o&&(C[y]=m)),m}}},{}],51:[function(B,N,r){"use strict";N.exports=B("./loader")(window,y);function y(){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(B,N,r){N.exports={default:B("core-js/library/fn/array/from"),__esModule:!0}},{"core-js/library/fn/array/from":77}],53:[function(B,N,r){N.exports={default:B("core-js/library/fn/json/stringify"),__esModule:!0}},{"core-js/library/fn/json/stringify":78}],54:[function(B,N,r){N.exports={default:B("core-js/library/fn/object/assign"),__esModule:!0}},{"core-js/library/fn/object/assign":79}],55:[function(B,N,r){N.exports={default:B("core-js/library/fn/object/create"),__esModule:!0}},{"core-js/library/fn/object/create":80}],56:[function(B,N,r){N.exports={default:B("core-js/library/fn/object/define-property"),__esModule:!0}},{"core-js/library/fn/object/define-property":81}],57:[function(B,N,r){N.exports={default:B("core-js/library/fn/object/entries"),__esModule:!0}},{"core-js/library/fn/object/entries":82}],58:[function(B,N,r){N.exports={default:B("core-js/library/fn/object/get-own-property-names"),__esModule:!0}},{"core-js/library/fn/object/get-own-property-names":83}],59:[function(B,N,r){N.exports={default:B("core-js/library/fn/object/get-prototype-of"),__esModule:!0}},{"core-js/library/fn/object/get-prototype-of":84}],60:[function(B,N,r){N.exports={default:B("core-js/library/fn/object/keys"),__esModule:!0}},{"core-js/library/fn/object/keys":85}],61:[function(B,N,r){N.exports={default:B("core-js/library/fn/promise"),__esModule:!0}},{"core-js/library/fn/promise":86}],62:[function(B,N,r){N.exports={default:B("core-js/library/fn/set-immediate"),__esModule:!0}},{"core-js/library/fn/set-immediate":87}],63:[function(B,N,r){N.exports={default:B("core-js/library/fn/string/from-code-point"),__esModule:!0}},{"core-js/library/fn/string/from-code-point":88}],64:[function(B,N,r){N.exports={default:B("core-js/library/fn/symbol"),__esModule:!0}},{"core-js/library/fn/symbol":90}],65:[function(B,N,r){N.exports={default:B("core-js/library/fn/symbol/has-instance"),__esModule:!0}},{"core-js/library/fn/symbol/has-instance":89}],66:[function(B,N,r){N.exports={default:B("core-js/library/fn/symbol/iterator"),__esModule:!0}},{"core-js/library/fn/symbol/iterator":91}],67:[function(B,N,r){"use strict";r.__esModule=!0;var y=B("../core-js/symbol/iterator"),m=h(y),C=B("../core-js/symbol"),p=h(C),g=typeof p.default=="function"&&typeof m.default=="symbol"?function(c){return typeof c}:function(c){return c&&typeof p.default=="function"&&c.constructor===p.default&&c!==p.default.prototype?"symbol":typeof c};function h(c){return c&&c.__esModule?c:{default:c}}r.default=typeof p.default=="function"&&g(m.default)==="symbol"?function(c){return typeof c=="undefined"?"undefined":g(c)}:function(c){return c&&typeof p.default=="function"&&c.constructor===p.default&&c!==p.default.prototype?"symbol":typeof c=="undefined"?"undefined":g(c)}},{"../core-js/symbol":64,"../core-js/symbol/iterator":66}],68:[function(B,N,r){N.exports=B("regenerator-runtime")},{"regenerator-runtime":226}],69:[function(B,N,r){"use strict";r.byteLength=o,r.toByteArray=t,r.fromByteArray=i;for(var y=[],m=[],C=typeof Uint8Array!="undefined"?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g=0,h=p.length;g<h;++g)y[g]=p[g],m[p.charCodeAt(g)]=g;m["-".charCodeAt(0)]=62,m["_".charCodeAt(0)]=63;function c(l){var e=l.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var s=l.indexOf("=");s===-1&&(s=e);var u=s===e?0:4-s%4;return[s,u]}function o(l){var e=c(l),s=e[0],u=e[1];return(s+u)*3/4-u}function n(l,e,s){return(e+s)*3/4-s}function t(l){var e,s=c(l),u=s[0],f=s[1],A=new C(n(l,u,f)),v=0,x=f>0?u-4:u,b;for(b=0;b<x;b+=4)e=m[l.charCodeAt(b)]<<18|m[l.charCodeAt(b+1)]<<12|m[l.charCodeAt(b+2)]<<6|m[l.charCodeAt(b+3)],A[v++]=e>>16&255,A[v++]=e>>8&255,A[v++]=e&255;return f===2&&(e=m[l.charCodeAt(b)]<<2|m[l.charCodeAt(b+1)]>>4,A[v++]=e&255),f===1&&(e=m[l.charCodeAt(b)]<<10|m[l.charCodeAt(b+1)]<<4|m[l.charCodeAt(b+2)]>>2,A[v++]=e>>8&255,A[v++]=e&255),A}function a(l){return y[l>>18&63]+y[l>>12&63]+y[l>>6&63]+y[l&63]}function d(l,e,s){for(var u,f=[],A=e;A<s;A+=3)u=(l[A]<<16&16711680)+(l[A+1]<<8&65280)+(l[A+2]&255),f.push(a(u));return f.join("")}function i(l){for(var e,s=l.length,u=s%3,f=[],A=16383,v=0,x=s-u;v<x;v+=A)f.push(d(l,v,v+A>x?x:v+A));return u===1?(e=l[s-1],f.push(y[e>>2]+y[e<<4&63]+"==")):u===2&&(e=(l[s-2]<<8)+l[s-1],f.push(y[e>>10]+y[e>>4&63]+y[e<<2&63]+"=")),f.join("")}},{}],70:[function(B,N,r){/*!
|
|
|
* Bowser - a browser detector
|
|
|
* https://github.com/ded/bowser
|
|
|
* MIT License | (c) Dustin Diaz 2015
|
|
|
*/!function(y,m,C){typeof N!="undefined"&&N.exports?N.exports=C():typeof define=="function"&&define.amd?define(m,C):y[m]=C()}(this,"bowser",function(){var y=!0;function m(n){function t(H){var U=n.match(H);return U&&U.length>1&&U[1]||""}function a(H){var U=n.match(H);return U&&U.length>1&&U[2]||""}var d=t(/(ipod|iphone|ipad)/i).toLowerCase(),i=/like android/i.test(n),l=!i&&/android/i.test(n),e=/nexus\s*[0-6]\s*/i.test(n),s=!e&&/nexus\s*[0-9]+/i.test(n),u=/CrOS/.test(n),f=/silk/i.test(n),A=/sailfish/i.test(n),v=/tizen/i.test(n),x=/(web|hpw)(o|0)s/i.test(n),b=/windows phone/i.test(n),w=/SamsungBrowser/i.test(n),_=!b&&/windows/i.test(n),T=!d&&!f&&/macintosh/i.test(n),S=!l&&!A&&!v&&!x&&/linux/i.test(n),E=a(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),I=t(/version\/(\d+(\.\d+)?)/i),O=/tablet/i.test(n)&&!/tablet pc/i.test(n),F=!O&&/[^-]mobi/i.test(n),k=/xbox/i.test(n),M;/opera/i.test(n)?M={name:"Opera",opera:y,version:I||t(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(n)?M={name:"Opera",opera:y,version:t(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||I}:/SamsungBrowser/i.test(n)?M={name:"Samsung Internet for Android",samsungBrowser:y,version:I||t(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(n)?M={name:"NAVER Whale browser",whale:y,version:t(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(n)?M={name:"MZ Browser",mzbrowser:y,version:t(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(n)?M={name:"Opera Coast",coast:y,version:I||t(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(n)?M={name:"Focus",focus:y,version:t(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(n)?M={name:"Yandex Browser",yandexbrowser:y,version:I||t(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(n)?M={name:"UC Browser",ucbrowser:y,version:t(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(n)?M={name:"Maxthon",maxthon:y,version:t(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(n)?M={name:"Epiphany",epiphany:y,version:t(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(n)?M={name:"Puffin",puffin:y,version:t(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(n)?M={name:"Sleipnir",sleipnir:y,version:t(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(n)?M={name:"K-Meleon",kMeleon:y,version:t(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:b?(M={name:"Windows Phone",osname:"Windows Phone",windowsphone:y},E?(M.msedge=y,M.version=E):(M.msie=y,M.version=t(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(n)?M={name:"Internet Explorer",msie:y,version:t(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:u?M={name:"Chrome",osname:"Chrome OS",chromeos:y,chromeBook:y,chrome:y,version:t(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(n)?M={name:"Microsoft Edge",msedge:y,version:E}:/vivaldi/i.test(n)?M={name:"Vivaldi",vivaldi:y,version:t(/vivaldi\/(\d+(\.\d+)?)/i)||I}:A?M={name:"Sailfish",osname:"Sailfish OS",sailfish:y,version:t(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(n)?M={name:"SeaMonkey",seamonkey:y,version:t(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(n)?(M={name:"Firefox",firefox:y,version:t(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(n)&&(M.firefoxos=y,M.osname="Firefox OS")):f?M={name:"Amazon Silk",silk:y,version:t(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(n)?M={name:"PhantomJS",phantom:y,version:t(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(n)?M={name:"SlimerJS",slimer:y,version:t(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(n)||/rim\stablet/i.test(n)?M={name:"BlackBerry",osname:"BlackBerry OS",blackberry:y,version:I||t(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:x?(M={name:"WebOS",osname:"WebOS",webos:y,version:I||t(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(n)&&(M.touchpad=y)):/bada/i.test(n)?M={name:"Bada",osname:"Bada",bada:y,version:t(/dolfin\/(\d+(\.\d+)?)/i)}:v?M={name:"Tizen",osname:"Tizen",tizen:y,version:t(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||I}:/qupzilla/i.test(n)?M={name:"QupZilla",qupzilla:y,version:t(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||I}:/chromium/i.test(n)?M={name:"Chromium",chromium:y,version:t(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||I}:/chrome|crios|crmo/i.test(n)?M={name:"Chrome",chrome:y,version:t(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:l?M={name:"Android",version:I}:/safari|applewebkit/i.test(n)?(M={name:"Safari",safari:y},I&&(M.version=I)):d?(M={name:d=="iphone"?"iPhone":d=="ipad"?"iPad":"iPod"},I&&(M.version=I)):/googlebot/i.test(n)?M={name:"Googlebot",googlebot:y,version:t(/googlebot\/(\d+(\.\d+))/i)||I}:M={name:t(/^(.*)\/(.*) /),version:a(/^(.*)\/(.*) /)},!M.msedge&&/(apple)?webkit/i.test(n)?(/(apple)?webkit\/537\.36/i.test(n)?(M.name=M.name||"Blink",M.blink=y):(M.name=M.name||"Webkit",M.webkit=y),!M.version&&I&&(M.version=I)):!M.opera&&/gecko\//i.test(n)&&(M.name=M.name||"Gecko",M.gecko=y,M.version=M.version||t(/gecko\/(\d+(\.\d+)?)/i)),!M.windowsphone&&(l||M.silk)?(M.android=y,M.osname="Android"):!M.windowsphone&&d?(M[d]=y,M.ios=y,M.osname="iOS"):T?(M.mac=y,M.osname="macOS"):k?(M.xbox=y,M.osname="Xbox"):_?(M.windows=y,M.osname="Windows"):S&&(M.linux=y,M.osname="Linux");function P(H){switch(H){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 V="";M.windows?V=P(t(/Windows ((NT|XP)( \d\d?.\d)?)/i)):M.windowsphone?V=t(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):M.mac?(V=t(/Mac OS X (\d+([_\.\s]\d+)*)/i),V=V.replace(/[_\s]/g,".")):d?(V=t(/os (\d+([_\s]\d+)*) like mac os x/i),V=V.replace(/[_\s]/g,".")):l?V=t(/android[ \/-](\d+(\.\d+)*)/i):M.webos?V=t(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):M.blackberry?V=t(/rim\stablet\sos\s(\d+(\.\d+)*)/i):M.bada?V=t(/bada\/(\d+(\.\d+)*)/i):M.tizen&&(V=t(/tizen[\/\s](\d+(\.\d+)*)/i)),V&&(M.osversion=V);var D=!M.windows&&V.split(".")[0];return O||s||d=="ipad"||l&&(D==3||D>=4&&!F)||M.silk?M.tablet=y:(F||d=="iphone"||d=="ipod"||l||e||M.blackberry||M.webos||M.bada)&&(M.mobile=y),M.msedge||M.msie&&M.version>=10||M.yandexbrowser&&M.version>=15||M.vivaldi&&M.version>=1||M.chrome&&M.version>=20||M.samsungBrowser&&M.version>=4||M.whale&&h([M.version,"1.0"])===1||M.mzbrowser&&h([M.version,"6.0"])===1||M.focus&&h([M.version,"1.0"])===1||M.firefox&&M.version>=20||M.safari&&M.version>=6||M.opera&&M.version>=10||M.ios&&M.osversion&&M.osversion.split(".")[0]>=6||M.blackberry&&M.version>=10.1||M.chromium&&M.version>=20?M.a=y:M.msie&&M.version<10||M.chrome&&M.version<20||M.firefox&&M.version<20||M.safari&&M.version<6||M.opera&&M.version<10||M.ios&&M.osversion&&M.osversion.split(".")[0]<6||M.chromium&&M.version<20?M.c=y:M.x=y,M}var C=m(typeof navigator!="undefined"&&navigator.userAgent||"");C.test=function(n){for(var t=0;t<n.length;++t){var a=n[t];if(typeof a=="string"&&a in C)return!0}return!1};function p(n){return n.split(".").length}function g(n,t){var a=[],d;if(Array.prototype.map)return Array.prototype.map.call(n,t);for(d=0;d<n.length;d++)a.push(t(n[d]));return a}function h(n){for(var t=Math.max(p(n[0]),p(n[1])),a=g(n,function(d){var i=t-p(d);return d=d+new Array(i+1).join(".0"),g(d.split("."),function(l){return new Array(20-l.length).join("0")+l}).reverse()});--t>=0;){if(a[0][t]>a[1][t])return 1;if(a[0][t]===a[1][t]){if(t===0)return 0}else return-1}}function c(n,t,a){var d=C;typeof t=="string"&&(a=t,t=void 0),t===void 0&&(t=!1),a&&(d=m(a));var i=""+d.version;for(var l in n)if(n.hasOwnProperty(l)&&d[l]){if(typeof n[l]!="string")throw new Error("Browser version in the minVersion map should be a string: "+l+": "+String(n));return h([i,n[l]])<0}return t}function o(n,t,a){return!c(n,t,a)}return C.isUnsupportedBrowser=c,C.compareVersions=h,C.check=o,C._detect=m,C.detect=m,C})},{}],71:[function(B,N,r){},{}],72:[function(B,N,r){var y=B("buffer").Buffer,m=y.isEncoding||function(o){switch(o&&o.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(o){if(o&&!m(o))throw new Error("Unknown encoding: "+o)}var p=r.StringDecoder=function(o){this.encoding=(o||"utf8").toLowerCase().replace(/[-_]/,""),C(o);switch(this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=h;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=c;break;default:this.write=g;return}this.charBuffer=new y(6),this.charReceived=0,this.charLength=0};p.prototype.write=function(o){for(var n="";this.charLength;){var t=o.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:o.length;if(o.copy(this.charBuffer,this.charReceived,0,t),this.charReceived+=t,this.charReceived<this.charLength)return"";o=o.slice(t,o.length),n=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var d=n.charCodeAt(n.length-1);if(d>=55296&&d<=56319){this.charLength+=this.surrogateSize,n="";continue}if(this.charReceived=this.charLength=0,o.length===0)return n;break}this.detectIncompleteChar(o);var a=o.length;this.charLength&&(o.copy(this.charBuffer,0,o.length-this.charReceived,a),a-=this.charReceived),n+=o.toString(this.encoding,0,a);var a=n.length-1,d=n.charCodeAt(a);if(d>=55296&&d<=56319){var i=this.surrogateSize;return this.charLength+=i,this.charReceived+=i,this.charBuffer.copy(this.charBuffer,i,0,i),o.copy(this.charBuffer,0,0,i),n.substring(0,a)}return n},p.prototype.detectIncompleteChar=function(o){for(var n=o.length>=3?3:o.length;n>0;n--){var t=o[o.length-n];if(n==1&&t>>5==6){this.charLength=2;break}if(n<=2&&t>>4==14){this.charLength=3;break}if(n<=3&&t>>3==30){this.charLength=4;break}}this.charReceived=n},p.prototype.end=function(o){var n="";if(o&&o.length&&(n=this.write(o)),this.charReceived){var t=this.charReceived,a=this.charBuffer,d=this.encoding;n+=a.slice(0,t).toString(d)}return n};function g(o){return o.toString(this.encoding)}function h(o){this.charReceived=o.length%2,this.charLength=this.charReceived?2:0}function c(o){this.charReceived=o.length%3,this.charLength=this.charReceived?3:0}},{buffer:73}],73:[function(B,N,r){(function(y,m){/*!
|
|
|
* The buffer module from node.js, for the browser.
|
|
|
*
|
|
|
* @author Feross Aboukhadijeh <http://feross.org>
|
|
|
* @license MIT
|
|
|
*/"use strict";var C=B("base64-js"),p=B("ieee754"),g=B("isarray");r.Buffer=m,r.SlowBuffer=f,r.INSPECT_MAX_BYTES=50,m.TYPED_ARRAY_SUPPORT=y.TYPED_ARRAY_SUPPORT!==void 0?y.TYPED_ARRAY_SUPPORT:h(),r.kMaxLength=c();function h(){try{var J=new Uint8Array(1);return J.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},J.foo()===42&&typeof J.subarray=="function"&&J.subarray(1,1).byteLength===0}catch(W){return!1}}function c(){return m.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(J,W){if(c()<W)throw new RangeError("Invalid typed array length");return m.TYPED_ARRAY_SUPPORT?(J=new Uint8Array(W),J.__proto__=m.prototype):(J===null&&(J=new m(W)),J.length=W),J}function m(J,W,j){if(!m.TYPED_ARRAY_SUPPORT&&!(this instanceof m))return new m(J,W,j);if(typeof J=="number"){if(typeof W=="string")throw new Error("If encoding is specified then the first argument must be a string");return d(this,J)}return n(this,J,W,j)}m.poolSize=8192,m._augment=function(J){return J.__proto__=m.prototype,J};function n(J,W,j,Y){if(typeof W=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&W instanceof ArrayBuffer?e(J,W,j,Y):typeof W=="string"?i(J,W,j):s(J,W)}m.from=function(J,W,j){return n(null,J,W,j)},m.TYPED_ARRAY_SUPPORT&&(m.prototype.__proto__=Uint8Array.prototype,m.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&m[Symbol.species]===m&&Object.defineProperty(m,Symbol.species,{value:null,configurable:!0}));function t(J){if(typeof J!="number")throw new TypeError('"size" argument must be a number');if(J<0)throw new RangeError('"size" argument must not be negative')}function a(J,W,j,Y){return t(W),W<=0?o(J,W):j!==void 0?typeof Y=="string"?o(J,W).fill(j,Y):o(J,W).fill(j):o(J,W)}m.alloc=function(J,W,j){return a(null,J,W,j)};function d(J,W){if(t(W),J=o(J,W<0?0:u(W)|0),!m.TYPED_ARRAY_SUPPORT)for(var j=0;j<W;++j)J[j]=0;return J}m.allocUnsafe=function(J){return d(null,J)},m.allocUnsafeSlow=function(J){return d(null,J)};function i(J,W,j){if((typeof j!="string"||j==="")&&(j="utf8"),!m.isEncoding(j))throw new TypeError('"encoding" must be a valid string encoding');var Y=A(W,j)|0;J=o(J,Y);var me=J.write(W,j);return me!==Y&&(J=J.slice(0,me)),J}function l(J,W){var j=W.length<0?0:u(W.length)|0;J=o(J,j);for(var Y=0;Y<j;Y+=1)J[Y]=W[Y]&255;return J}function e(J,W,j,Y){if(W.byteLength,j<0||W.byteLength<j)throw new RangeError("'offset' is out of bounds");if(W.byteLength<j+(Y||0))throw new RangeError("'length' is out of bounds");return j===void 0&&Y===void 0?W=new Uint8Array(W):Y===void 0?W=new Uint8Array(W,j):W=new Uint8Array(W,j,Y),m.TYPED_ARRAY_SUPPORT?(J=W,J.__proto__=m.prototype):J=l(J,W),J}function s(J,W){if(m.isBuffer(W)){var j=u(W.length)|0;return J=o(J,j),J.length===0||W.copy(J,0,0,j),J}if(W){if(typeof ArrayBuffer!="undefined"&&W.buffer instanceof ArrayBuffer||"length"in W)return typeof W.length!="number"||Ve(W.length)?o(J,0):l(J,W);if(W.type==="Buffer"&&g(W.data))return l(J,W.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function u(J){if(J>=c())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+c().toString(16)+" bytes");return J|0}function f(J){return+J!=J&&(J=0),m.alloc(+J)}m.isBuffer=function(W){return!!(W!=null&&W._isBuffer)},m.compare=function(W,j){if(!m.isBuffer(W)||!m.isBuffer(j))throw new TypeError("Arguments must be Buffers");if(W===j)return 0;for(var Y=W.length,me=j.length,ae=0,Le=Math.min(Y,me);ae<Le;++ae)if(W[ae]!==j[ae]){Y=W[ae],me=j[ae];break}return Y<me?-1:me<Y?1:0},m.isEncoding=function(W){switch(String(W).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}},m.concat=function(W,j){if(!g(W))throw new TypeError('"list" argument must be an Array of Buffers');if(W.length===0)return m.alloc(0);var Y;if(j===void 0)for(j=0,Y=0;Y<W.length;++Y)j+=W[Y].length;var me=m.allocUnsafe(j),ae=0;for(Y=0;Y<W.length;++Y){var Le=W[Y];if(!m.isBuffer(Le))throw new TypeError('"list" argument must be an Array of Buffers');Le.copy(me,ae),ae+=Le.length}return me};function A(J,W){if(m.isBuffer(J))return J.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(J)||J instanceof ArrayBuffer))return J.byteLength;typeof J!="string"&&(J=""+J);var j=J.length;if(j===0)return 0;for(var Y=!1;;)switch(W){case"ascii":case"latin1":case"binary":return j;case"utf8":case"utf-8":case void 0:return Ue(J).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j*2;case"hex":return j>>>1;case"base64":return Q(J).length;default:if(Y)return Ue(J).length;W=(""+W).toLowerCase(),Y=!0}}m.byteLength=A;function v(J,W,j){var Y=!1;if((W===void 0||W<0)&&(W=0),W>this.length)return"";if((j===void 0||j>this.length)&&(j=this.length),j<=0)return"";if(j>>>=0,W>>>=0,j<=W)return"";for(J||(J="utf8");;)switch(J){case"hex":return H(this,W,j);case"utf8":case"utf-8":return k(this,W,j);case"ascii":return V(this,W,j);case"latin1":case"binary":return D(this,W,j);case"base64":return F(this,W,j);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,W,j);default:if(Y)throw new TypeError("Unknown encoding: "+J);J=(J+"").toLowerCase(),Y=!0}}m.prototype._isBuffer=!0;function x(J,W,j){var Y=J[W];J[W]=J[j],J[j]=Y}m.prototype.swap16=function(){var W=this.length;if(W%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var j=0;j<W;j+=2)x(this,j,j+1);return this},m.prototype.swap32=function(){var W=this.length;if(W%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var j=0;j<W;j+=4)x(this,j,j+3),x(this,j+1,j+2);return this},m.prototype.swap64=function(){var W=this.length;if(W%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var j=0;j<W;j+=8)x(this,j,j+7),x(this,j+1,j+6),x(this,j+2,j+5),x(this,j+3,j+4);return this},m.prototype.toString=function(){var W=this.length|0;return W===0?"":arguments.length===0?k(this,0,W):v.apply(this,arguments)},m.prototype.equals=function(W){if(!m.isBuffer(W))throw new TypeError("Argument must be a Buffer");return this===W?!0:m.compare(this,W)===0},m.prototype.inspect=function(){var W="",j=r.INSPECT_MAX_BYTES;return this.length>0&&(W=this.toString("hex",0,j).match(/.{2}/g).join(" "),this.length>j&&(W+=" ... ")),"<Buffer "+W+">"},m.prototype.compare=function(W,j,Y,me,ae){if(!m.isBuffer(W))throw new TypeError("Argument must be a Buffer");if(j===void 0&&(j=0),Y===void 0&&(Y=W?W.length:0),me===void 0&&(me=0),ae===void 0&&(ae=this.length),j<0||Y>W.length||me<0||ae>this.length)throw new RangeError("out of range index");if(me>=ae&&j>=Y)return 0;if(me>=ae)return-1;if(j>=Y)return 1;if(j>>>=0,Y>>>=0,me>>>=0,ae>>>=0,this===W)return 0;for(var Le=ae-me,Ee=Y-j,ne=Math.min(Le,Ee),ge=this.slice(me,ae),Ie=W.slice(j,Y),Ge=0;Ge<ne;++Ge)if(ge[Ge]!==Ie[Ge]){Le=ge[Ge],Ee=Ie[Ge];break}return Le<Ee?-1:Ee<Le?1:0};function b(J,W,j,Y,me){if(J.length===0)return-1;if(typeof j=="string"?(Y=j,j=0):j>2147483647?j=2147483647:j<-2147483648&&(j=-2147483648),j=+j,isNaN(j)&&(j=me?0:J.length-1),j<0&&(j=J.length+j),j>=J.length){if(me)return-1;j=J.length-1}else if(j<0)if(me)j=0;else return-1;if(typeof W=="string"&&(W=m.from(W,Y)),m.isBuffer(W))return W.length===0?-1:w(J,W,j,Y,me);if(typeof W=="number")return W=W&255,m.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?me?Uint8Array.prototype.indexOf.call(J,W,j):Uint8Array.prototype.lastIndexOf.call(J,W,j):w(J,[W],j,Y,me);throw new TypeError("val must be string, number or Buffer")}function w(J,W,j,Y,me){var ae=1,Le=J.length,Ee=W.length;if(Y!==void 0&&(Y=String(Y).toLowerCase(),Y==="ucs2"||Y==="ucs-2"||Y==="utf16le"||Y==="utf-16le")){if(J.length<2||W.length<2)return-1;ae=2,Le/=2,Ee/=2,j/=2}function ne(wt,Pe){return ae===1?wt[Pe]:wt.readUInt16BE(Pe*ae)}var ge;if(me){var Ie=-1;for(ge=j;ge<Le;ge++)if(ne(J,ge)===ne(W,Ie===-1?0:ge-Ie)){if(Ie===-1&&(Ie=ge),ge-Ie+1===Ee)return Ie*ae}else Ie!==-1&&(ge-=ge-Ie),Ie=-1}else for(j+Ee>Le&&(j=Le-Ee),ge=j;ge>=0;ge--){for(var Ge=!0,ut=0;ut<Ee;ut++)if(ne(J,ge+ut)!==ne(W,ut)){Ge=!1;break}if(Ge)return ge}return-1}m.prototype.includes=function(W,j,Y){return this.indexOf(W,j,Y)!==-1},m.prototype.indexOf=function(W,j,Y){return b(this,W,j,Y,!0)},m.prototype.lastIndexOf=function(W,j,Y){return b(this,W,j,Y,!1)};function _(J,W,j,Y){j=Number(j)||0;var me=J.length-j;Y?(Y=Number(Y),Y>me&&(Y=me)):Y=me;var ae=W.length;if(ae%2!==0)throw new TypeError("Invalid hex string");Y>ae/2&&(Y=ae/2);for(var Le=0;Le<Y;++Le){var Ee=parseInt(W.substr(Le*2,2),16);if(isNaN(Ee))return Le;J[j+Le]=Ee}return Le}function T(J,W,j,Y){return ie(Ue(W,J.length-j),J,j,Y)}function S(J,W,j,Y){return ie(ye(W),J,j,Y)}function E(J,W,j,Y){return S(J,W,j,Y)}function I(J,W,j,Y){return ie(Q(W),J,j,Y)}function O(J,W,j,Y){return ie(Be(W,J.length-j),J,j,Y)}m.prototype.write=function(W,j,Y,me){if(j===void 0)me="utf8",Y=this.length,j=0;else if(Y===void 0&&typeof j=="string")me=j,Y=this.length,j=0;else if(isFinite(j))j=j|0,isFinite(Y)?(Y=Y|0,me===void 0&&(me="utf8")):(me=Y,Y=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var ae=this.length-j;if((Y===void 0||Y>ae)&&(Y=ae),W.length>0&&(Y<0||j<0)||j>this.length)throw new RangeError("Attempt to write outside buffer bounds");me||(me="utf8");for(var Le=!1;;)switch(me){case"hex":return _(this,W,j,Y);case"utf8":case"utf-8":return T(this,W,j,Y);case"ascii":return S(this,W,j,Y);case"latin1":case"binary":return E(this,W,j,Y);case"base64":return I(this,W,j,Y);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,W,j,Y);default:if(Le)throw new TypeError("Unknown encoding: "+me);me=(""+me).toLowerCase(),Le=!0}},m.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function F(J,W,j){return W===0&&j===J.length?C.fromByteArray(J):C.fromByteArray(J.slice(W,j))}function k(J,W,j){j=Math.min(J.length,j);for(var Y=[],me=W;me<j;){var ae=J[me],Le=null,Ee=ae>239?4:ae>223?3:ae>191?2:1;if(me+Ee<=j){var ne,ge,Ie,Ge;switch(Ee){case 1:ae<128&&(Le=ae);break;case 2:ne=J[me+1],(ne&192)===128&&(Ge=(ae&31)<<6|ne&63,Ge>127&&(Le=Ge));break;case 3:ne=J[me+1],ge=J[me+2],(ne&192)===128&&(ge&192)===128&&(Ge=(ae&15)<<12|(ne&63)<<6|ge&63,Ge>2047&&(Ge<55296||Ge>57343)&&(Le=Ge));break;case 4:ne=J[me+1],ge=J[me+2],Ie=J[me+3],(ne&192)===128&&(ge&192)===128&&(Ie&192)===128&&(Ge=(ae&15)<<18|(ne&63)<<12|(ge&63)<<6|Ie&63,Ge>65535&&Ge<1114112&&(Le=Ge))}}Le===null?(Le=65533,Ee=1):Le>65535&&(Le-=65536,Y.push(Le>>>10&1023|55296),Le=56320|Le&1023),Y.push(Le),me+=Ee}return P(Y)}var M=4096;function P(J){var W=J.length;if(W<=M)return String.fromCharCode.apply(String,J);for(var j="",Y=0;Y<W;)j+=String.fromCharCode.apply(String,J.slice(Y,Y+=M));return j}function V(J,W,j){var Y="";j=Math.min(J.length,j);for(var me=W;me<j;++me)Y+=String.fromCharCode(J[me]&127);return Y}function D(J,W,j){var Y="";j=Math.min(J.length,j);for(var me=W;me<j;++me)Y+=String.fromCharCode(J[me]);return Y}function H(J,W,j){var Y=J.length;(!W||W<0)&&(W=0),(!j||j<0||j>Y)&&(j=Y);for(var me="",ae=W;ae<j;++ae)me+=_e(J[ae]);return me}function U(J,W,j){for(var Y=J.slice(W,j),me="",ae=0;ae<Y.length;ae+=2)me+=String.fromCharCode(Y[ae]+Y[ae+1]*256);return me}m.prototype.slice=function(W,j){var Y=this.length;W=~~W,j=j===void 0?Y:~~j,W<0?(W+=Y,W<0&&(W=0)):W>Y&&(W=Y),j<0?(j+=Y,j<0&&(j=0)):j>Y&&(j=Y),j<W&&(j=W);var me;if(m.TYPED_ARRAY_SUPPORT)me=this.subarray(W,j),me.__proto__=m.prototype;else{var ae=j-W;me=new m(ae,void 0);for(var Le=0;Le<ae;++Le)me[Le]=this[Le+W]}return me};function z(J,W,j){if(J%1!==0||J<0)throw new RangeError("offset is not uint");if(J+W>j)throw new RangeError("Trying to access beyond buffer length")}m.prototype.readUIntLE=function(W,j,Y){W=W|0,j=j|0,Y||z(W,j,this.length);for(var me=this[W],ae=1,Le=0;++Le<j&&(ae*=256);)me+=this[W+Le]*ae;return me},m.prototype.readUIntBE=function(W,j,Y){W=W|0,j=j|0,Y||z(W,j,this.length);for(var me=this[W+--j],ae=1;j>0&&(ae*=256);)me+=this[W+--j]*ae;return me},m.prototype.readUInt8=function(W,j){return j||z(W,1,this.length),this[W]},m.prototype.readUInt16LE=function(W,j){return j||z(W,2,this.length),this[W]|this[W+1]<<8},m.prototype.readUInt16BE=function(W,j){return j||z(W,2,this.length),this[W]<<8|this[W+1]},m.prototype.readUInt32LE=function(W,j){return j||z(W,4,this.length),(this[W]|this[W+1]<<8|this[W+2]<<16)+this[W+3]*16777216},m.prototype.readUInt32BE=function(W,j){return j||z(W,4,this.length),this[W]*16777216+(this[W+1]<<16|this[W+2]<<8|this[W+3])},m.prototype.readIntLE=function(W,j,Y){W=W|0,j=j|0,Y||z(W,j,this.length);for(var me=this[W],ae=1,Le=0;++Le<j&&(ae*=256);)me+=this[W+Le]*ae;return ae*=128,me>=ae&&(me-=Math.pow(2,8*j)),me},m.prototype.readIntBE=function(W,j,Y){W=W|0,j=j|0,Y||z(W,j,this.length);for(var me=j,ae=1,Le=this[W+--me];me>0&&(ae*=256);)Le+=this[W+--me]*ae;return ae*=128,Le>=ae&&(Le-=Math.pow(2,8*j)),Le},m.prototype.readInt8=function(W,j){return j||z(W,1,this.length),this[W]&128?(255-this[W]+1)*-1:this[W]},m.prototype.readInt16LE=function(W,j){j||z(W,2,this.length);var Y=this[W]|this[W+1]<<8;return Y&32768?Y|4294901760:Y},m.prototype.readInt16BE=function(W,j){j||z(W,2,this.length);var Y=this[W+1]|this[W]<<8;return Y&32768?Y|4294901760:Y},m.prototype.readInt32LE=function(W,j){return j||z(W,4,this.length),this[W]|this[W+1]<<8|this[W+2]<<16|this[W+3]<<24},m.prototype.readInt32BE=function(W,j){return j||z(W,4,this.length),this[W]<<24|this[W+1]<<16|this[W+2]<<8|this[W+3]},m.prototype.readFloatLE=function(W,j){return j||z(W,4,this.length),p.read(this,W,!0,23,4)},m.prototype.readFloatBE=function(W,j){return j||z(W,4,this.length),p.read(this,W,!1,23,4)},m.prototype.readDoubleLE=function(W,j){return j||z(W,8,this.length),p.read(this,W,!0,52,8)},m.prototype.readDoubleBE=function(W,j){return j||z(W,8,this.length),p.read(this,W,!1,52,8)};function K(J,W,j,Y,me,ae){if(!m.isBuffer(J))throw new TypeError('"buffer" argument must be a Buffer instance');if(W>me||W<ae)throw new RangeError('"value" argument is out of bounds');if(j+Y>J.length)throw new RangeError("Index out of range")}m.prototype.writeUIntLE=function(W,j,Y,me){if(W=+W,j=j|0,Y=Y|0,!me){var ae=Math.pow(2,8*Y)-1;K(this,W,j,Y,ae,0)}var Le=1,Ee=0;for(this[j]=W&255;++Ee<Y&&(Le*=256);)this[j+Ee]=W/Le&255;return j+Y},m.prototype.writeUIntBE=function(W,j,Y,me){if(W=+W,j=j|0,Y=Y|0,!me){var ae=Math.pow(2,8*Y)-1;K(this,W,j,Y,ae,0)}var Le=Y-1,Ee=1;for(this[j+Le]=W&255;--Le>=0&&(Ee*=256);)this[j+Le]=W/Ee&255;return j+Y},m.prototype.writeUInt8=function(W,j,Y){return W=+W,j=j|0,Y||K(this,W,j,1,255,0),m.TYPED_ARRAY_SUPPORT||(W=Math.floor(W)),this[j]=W&255,j+1};function G(J,W,j,Y){W<0&&(W=65535+W+1);for(var me=0,ae=Math.min(J.length-j,2);me<ae;++me)J[j+me]=(W&255<<8*(Y?me:1-me))>>>(Y?me:1-me)*8}m.prototype.writeUInt16LE=function(W,j,Y){return W=+W,j=j|0,Y||K(this,W,j,2,65535,0),m.TYPED_ARRAY_SUPPORT?(this[j]=W&255,this[j+1]=W>>>8):G(this,W,j,!0),j+2},m.prototype.writeUInt16BE=function(W,j,Y){return W=+W,j=j|0,Y||K(this,W,j,2,65535,0),m.TYPED_ARRAY_SUPPORT?(this[j]=W>>>8,this[j+1]=W&255):G(this,W,j,!1),j+2};function X(J,W,j,Y){W<0&&(W=4294967295+W+1);for(var me=0,ae=Math.min(J.length-j,4);me<ae;++me)J[j+me]=W>>>(Y?me:3-me)*8&255}m.prototype.writeUInt32LE=function(W,j,Y){return W=+W,j=j|0,Y||K(this,W,j,4,4294967295,0),m.TYPED_ARRAY_SUPPORT?(this[j+3]=W>>>24,this[j+2]=W>>>16,this[j+1]=W>>>8,this[j]=W&255):X(this,W,j,!0),j+4},m.prototype.writeUInt32BE=function(W,j,Y){return W=+W,j=j|0,Y||K(this,W,j,4,4294967295,0),m.TYPED_ARRAY_SUPPORT?(this[j]=W>>>24,this[j+1]=W>>>16,this[j+2]=W>>>8,this[j+3]=W&255):X(this,W,j,!1),j+4},m.prototype.writeIntLE=function(W,j,Y,me){if(W=+W,j=j|0,!me){var ae=Math.pow(2,8*Y-1);K(this,W,j,Y,ae-1,-ae)}var Le=0,Ee=1,ne=0;for(this[j]=W&255;++Le<Y&&(Ee*=256);)W<0&&ne===0&&this[j+Le-1]!==0&&(ne=1),this[j+Le]=(W/Ee>>0)-ne&255;return j+Y},m.prototype.writeIntBE=function(W,j,Y,me){if(W=+W,j=j|0,!me){var ae=Math.pow(2,8*Y-1);K(this,W,j,Y,ae-1,-ae)}var Le=Y-1,Ee=1,ne=0;for(this[j+Le]=W&255;--Le>=0&&(Ee*=256);)W<0&&ne===0&&this[j+Le+1]!==0&&(ne=1),this[j+Le]=(W/Ee>>0)-ne&255;return j+Y},m.prototype.writeInt8=function(W,j,Y){return W=+W,j=j|0,Y||K(this,W,j,1,127,-128),m.TYPED_ARRAY_SUPPORT||(W=Math.floor(W)),W<0&&(W=255+W+1),this[j]=W&255,j+1},m.prototype.writeInt16LE=function(W,j,Y){return W=+W,j=j|0,Y||K(this,W,j,2,32767,-32768),m.TYPED_ARRAY_SUPPORT?(this[j]=W&255,this[j+1]=W>>>8):G(this,W,j,!0),j+2},m.prototype.writeInt16BE=function(W,j,Y){return W=+W,j=j|0,Y||K(this,W,j,2,32767,-32768),m.TYPED_ARRAY_SUPPORT?(this[j]=W>>>8,this[j+1]=W&255):G(this,W,j,!1),j+2},m.prototype.writeInt32LE=function(W,j,Y){return W=+W,j=j|0,Y||K(this,W,j,4,2147483647,-2147483648),m.TYPED_ARRAY_SUPPORT?(this[j]=W&255,this[j+1]=W>>>8,this[j+2]=W>>>16,this[j+3]=W>>>24):X(this,W,j,!0),j+4},m.prototype.writeInt32BE=function(W,j,Y){return W=+W,j=j|0,Y||K(this,W,j,4,2147483647,-2147483648),W<0&&(W=4294967295+W+1),m.TYPED_ARRAY_SUPPORT?(this[j]=W>>>24,this[j+1]=W>>>16,this[j+2]=W>>>8,this[j+3]=W&255):X(this,W,j,!1),j+4};function Z(J,W,j,Y,me,ae){if(j+Y>J.length)throw new RangeError("Index out of range");if(j<0)throw new RangeError("Index out of range")}function ee(J,W,j,Y,me){return me||Z(J,W,j,4,34028234663852886e22,-34028234663852886e22),p.write(J,W,j,Y,23,4),j+4}m.prototype.writeFloatLE=function(W,j,Y){return ee(this,W,j,!0,Y)},m.prototype.writeFloatBE=function(W,j,Y){return ee(this,W,j,!1,Y)};function Se(J,W,j,Y,me){return me||Z(J,W,j,8,17976931348623157e292,-17976931348623157e292),p.write(J,W,j,Y,52,8),j+8}m.prototype.writeDoubleLE=function(W,j,Y){return Se(this,W,j,!0,Y)},m.prototype.writeDoubleBE=function(W,j,Y){return Se(this,W,j,!1,Y)},m.prototype.copy=function(W,j,Y,me){if(Y||(Y=0),!me&&me!==0&&(me=this.length),j>=W.length&&(j=W.length),j||(j=0),me>0&&me<Y&&(me=Y),me===Y)return 0;if(W.length===0||this.length===0)return 0;if(j<0)throw new RangeError("targetStart out of bounds");if(Y<0||Y>=this.length)throw new RangeError("sourceStart out of bounds");if(me<0)throw new RangeError("sourceEnd out of bounds");me>this.length&&(me=this.length),W.length-j<me-Y&&(me=W.length-j+Y);var ae=me-Y,Le;if(this===W&&Y<j&&j<me)for(Le=ae-1;Le>=0;--Le)W[Le+j]=this[Le+Y];else if(ae<1e3||!m.TYPED_ARRAY_SUPPORT)for(Le=0;Le<ae;++Le)W[Le+j]=this[Le+Y];else Uint8Array.prototype.set.call(W,this.subarray(Y,Y+ae),j);return ae},m.prototype.fill=function(W,j,Y,me){if(typeof W=="string"){if(typeof j=="string"?(me=j,j=0,Y=this.length):typeof Y=="string"&&(me=Y,Y=this.length),W.length===1){var ae=W.charCodeAt(0);ae<256&&(W=ae)}if(me!==void 0&&typeof me!="string")throw new TypeError("encoding must be a string");if(typeof me=="string"&&!m.isEncoding(me))throw new TypeError("Unknown encoding: "+me)}else typeof W=="number"&&(W=W&255);if(j<0||this.length<j||this.length<Y)throw new RangeError("Out of range index");if(Y<=j)return this;j=j>>>0,Y=Y===void 0?this.length:Y>>>0,W||(W=0);var Le;if(typeof W=="number")for(Le=j;Le<Y;++Le)this[Le]=W;else{var Ee=m.isBuffer(W)?W:Ue(new m(W,me).toString()),ne=Ee.length;for(Le=0;Le<Y-j;++Le)this[Le+j]=Ee[Le%ne]}return this};var $=/[^+\/0-9A-Za-z-_]/g;function pe(J){if(J=xe(J).replace($,""),J.length<2)return"";for(;J.length%4!==0;)J=J+"=";return J}function xe(J){return J.trim?J.trim():J.replace(/^\s+|\s+$/g,"")}function _e(J){return J<16?"0"+J.toString(16):J.toString(16)}function Ue(J,W){W=W||Infinity;for(var j,Y=J.length,me=null,ae=[],Le=0;Le<Y;++Le){if(j=J.charCodeAt(Le),j>55295&&j<57344){if(!me){if(j>56319){(W-=3)>-1&&ae.push(239,191,189);continue}else if(Le+1===Y){(W-=3)>-1&&ae.push(239,191,189);continue}me=j;continue}if(j<56320){(W-=3)>-1&&ae.push(239,191,189),me=j;continue}j=(me-55296<<10|j-56320)+65536}else me&&((W-=3)>-1&&ae.push(239,191,189));if(me=null,j<128){if((W-=1)<0)break;ae.push(j)}else if(j<2048){if((W-=2)<0)break;ae.push(j>>6|192,j&63|128)}else if(j<65536){if((W-=3)<0)break;ae.push(j>>12|224,j>>6&63|128,j&63|128)}else if(j<1114112){if((W-=4)<0)break;ae.push(j>>18|240,j>>12&63|128,j>>6&63|128,j&63|128)}else throw new Error("Invalid code point")}return ae}function ye(J){for(var W=[],j=0;j<J.length;++j)W.push(J.charCodeAt(j)&255);return W}function Be(J,W){for(var j,Y,me,ae=[],Le=0;Le<J.length&&!((W-=2)<0);++Le)j=J.charCodeAt(Le),Y=j>>8,me=j%256,ae.push(me),ae.push(Y);return ae}function Q(J){return C.toByteArray(pe(J))}function ie(J,W,j,Y){for(var me=0;me<Y&&!(me+j>=W.length||me>=J.length);++me)W[me+j]=J[me];return me}function Ve(J){return J!==J}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},B("buffer").Buffer)},{"base64-js":69,buffer:73,ieee754:195,isarray:198}],74:[function(B,N,r){N.exports={"100":"Continue","101":"Switching Protocols","102":"Processing","200":"OK","201":"Created","202":"Accepted","203":"Non-Authoritative Information","204":"No Content","205":"Reset Content","206":"Partial Content","207":"Multi-Status","208":"Already Reported","226":"IM Used","300":"Multiple Choices","301":"Moved Permanently","302":"Found","303":"See Other","304":"Not Modified","305":"Use Proxy","307":"Temporary Redirect","308":"Permanent Redirect","400":"Bad Request","401":"Unauthorized","402":"Payment Required","403":"Forbidden","404":"Not Found","405":"Method Not Allowed","406":"Not Acceptable","407":"Proxy Authentication Required","408":"Request Timeout","409":"Conflict","410":"Gone","411":"Length Required","412":"Precondition Failed","413":"Payload Too Large","414":"URI Too Long","415":"Unsupported Media Type","416":"Range Not Satisfiable","417":"Expectation Failed","418":"I'm a teapot","421":"Misdirected Request","422":"Unprocessable Entity","423":"Locked","424":"Failed Dependency","425":"Unordered Collection","426":"Upgrade Required","428":"Precondition Required","429":"Too Many Requests","431":"Request Header Fields Too Large","451":"Unavailable For Legal Reasons","500":"Internal Server Error","501":"Not Implemented","502":"Bad Gateway","503":"Service Unavailable","504":"Gateway Timeout","505":"HTTP Version Not Supported","506":"Variant Also Negotiates","507":"Insufficient Storage","508":"Loop Detected","509":"Bandwidth Limit Exceeded","510":"Not Extended","511":"Network Authentication Required"}},{}],75:[function(B,N,r){N.exports={O_RDONLY:0,O_WRONLY:1,O_RDWR:2,S_IFMT:61440,S_IFREG:32768,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960,S_IFSOCK:49152,O_CREAT:512,O_EXCL:2048,O_NOCTTY:131072,O_TRUNC:1024,O_APPEND:8,O_DIRECTORY:1048576,O_NOFOLLOW:256,O_SYNC:128,O_SYMLINK:2097152,O_NONBLOCK:4,S_IRWXU:448,S_IRUSR:256,S_IWUSR:128,S_IXUSR:64,S_IRWXG:56,S_IRGRP:32,S_IWGRP:16,S_IXGRP:8,S_IRWXO:7,S_IROTH:4,S_IWOTH:2,S_IXOTH:1,E2BIG:7,EACCES:13,EADDRINUSE:48,EADDRNOTAVAIL:49,EAFNOSUPPORT:47,EAGAIN:35,EALREADY:37,EBADF:9,EBADMSG:94,EBUSY:16,ECANCELED:89,ECHILD:10,ECONNABORTED:53,ECONNREFUSED:61,ECONNRESET:54,EDEADLK:11,EDESTADDRREQ:39,EDOM:33,EDQUOT:69,EEXIST:17,EFAULT:14,EFBIG:27,EHOSTUNREACH:65,EIDRM:90,EILSEQ:92,EINPROGRESS:36,EINTR:4,EINVAL:22,EIO:5,EISCONN:56,EISDIR:21,ELOOP:62,EMFILE:24,EMLINK:31,EMSGSIZE:40,EMULTIHOP:95,ENAMETOOLONG:63,ENETDOWN:50,ENETRESET:52,ENETUNREACH:51,ENFILE:23,ENOBUFS:55,ENODATA:96,ENODEV:19,ENOENT:2,ENOEXEC:8,ENOLCK:77,ENOLINK:97,ENOMEM:12,ENOMSG:91,ENOPROTOOPT:42,ENOSPC:28,ENOSR:98,ENOSTR:99,ENOSYS:78,ENOTCONN:57,ENOTDIR:20,ENOTEMPTY:66,ENOTSOCK:38,ENOTSUP:45,ENOTTY:25,ENXIO:6,EOPNOTSUPP:102,EOVERFLOW:84,EPERM:1,EPIPE:32,EPROTO:100,EPROTONOSUPPORT:43,EPROTOTYPE:41,ERANGE:34,EROFS:30,ESPIPE:29,ESRCH:3,ESTALE:70,ETIME:101,ETIMEDOUT:60,ETXTBSY:26,EWOULDBLOCK:35,EXDEV:18,SIGHUP:1,SIGINT:2,SIGQUIT:3,SIGILL:4,SIGTRAP:5,SIGABRT:6,SIGIOT:6,SIGBUS:10,SIGFPE:8,SIGKILL:9,SIGUSR1:30,SIGSEGV:11,SIGUSR2:31,SIGPIPE:13,SIGALRM:14,SIGTERM:15,SIGCHLD:20,SIGCONT:19,SIGSTOP:17,SIGTSTP:18,SIGTTIN:21,SIGTTOU:22,SIGURG:16,SIGXCPU:24,SIGXFSZ:25,SIGVTALRM:26,SIGPROF:27,SIGWINCH:28,SIGIO:23,SIGSYS:12,SSL_OP_ALL:2147486719,SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION:262144,SSL_OP_CIPHER_SERVER_PREFERENCE:4194304,SSL_OP_CISCO_ANYCONNECT:32768,SSL_OP_COOKIE_EXCHANGE:8192,SSL_OP_CRYPTOPRO_TLSEXT_BUG:2147483648,SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS:2048,SSL_OP_EPHEMERAL_RSA:0,SSL_OP_LEGACY_SERVER_CONNECT:4,SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER:32,SSL_OP_MICROSOFT_SESS_ID_BUG:1,SSL_OP_MSIE_SSLV2_RSA_PADDING:0,SSL_OP_NETSCAPE_CA_DN_BUG:536870912,SSL_OP_NETSCAPE_CHALLENGE_BUG:2,SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG:1073741824,SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG:8,SSL_OP_NO_COMPRESSION:131072,SSL_OP_NO_QUERY_MTU:4096,SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION:65536,SSL_OP_NO_SSLv2:16777216,SSL_OP_NO_SSLv3:33554432,SSL_OP_NO_TICKET:16384,SSL_OP_NO_TLSv1:67108864,SSL_OP_NO_TLSv1_1:268435456,SSL_OP_NO_TLSv1_2:134217728,SSL_OP_PKCS1_CHECK_1:0,SSL_OP_PKCS1_CHECK_2:0,SSL_OP_SINGLE_DH_USE:1048576,SSL_OP_SINGLE_ECDH_USE:524288,SSL_OP_SSLEAY_080_CLIENT_DH_BUG:128,SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG:0,SSL_OP_TLS_BLOCK_PADDING_BUG:512,SSL_OP_TLS_D5_BUG:256,SSL_OP_TLS_ROLLBACK_BUG:8388608,ENGINE_METHOD_DSA:2,ENGINE_METHOD_DH:4,ENGINE_METHOD_RAND:8,ENGINE_METHOD_ECDH:16,ENGINE_METHOD_ECDSA:32,ENGINE_METHOD_CIPHERS:64,ENGINE_METHOD_DIGESTS:128,ENGINE_METHOD_STORE:256,ENGINE_METHOD_PKEY_METHS:512,ENGINE_METHOD_PKEY_ASN1_METHS:1024,ENGINE_METHOD_ALL:65535,ENGINE_METHOD_NONE:0,DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6,F_OK:0,R_OK:4,W_OK:2,X_OK:1,UV_UDP_REUSEADDR:4}},{}],76:[function(B,N,r){/*!
|
|
|
* copy-to - index.js
|
|
|
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
|
|
|
* MIT Licensed
|
|
|
*/"use strict";var y=Array.prototype.slice;N.exports=m;function m(p,g){if(!(this instanceof m))return new m(p,g);this.src=p,this._withAccess=g}m.prototype.withAccess=function(p){return this._withAccess=p!==!1,this},m.prototype.pick=function(p){return Array.isArray(p)||(p=y.call(arguments)),p.length&&(this.keys=p),this},m.prototype.to=function(p){if(p=p||{},!this.src)return p;var g=this.keys||Object.keys(this.src);if(!this._withAccess){for(var h=0;h<g.length;h++){if(c=g[h],p[c]!==void 0)continue;p[c]=this.src[c]}return p}for(var h=0;h<g.length;h++){var c=g[h];if(!C(p,c))continue;var o=this.src.__lookupGetter__(c),n=this.src.__lookupSetter__(c);o&&p.__defineGetter__(c,o),n&&p.__defineSetter__(c,n),!o&&!n&&(p[c]=this.src[c])}return p},m.prototype.toCover=function(p){for(var g=this.keys||Object.keys(this.src),h=0;h<g.length;h++){var c=g[h];delete p[c];var o=this.src.__lookupGetter__(c),n=this.src.__lookupSetter__(c);o&&p.__defineGetter__(c,o),n&&p.__defineSetter__(c,n),!o&&!n&&(p[c]=this.src[c])}},m.prototype.override=m.prototype.toCover,m.prototype.and=function(p){var g={};return this.to(g),this.src=p,this.to(g),this.src=g,this};function C(p,g){return p[g]===void 0&&p.__lookupGetter__(g)===void 0&&p.__lookupSetter__(g)===void 0}},{}],77:[function(B,N,r){B("../../modules/es6.string.iterator"),B("../../modules/es6.array.from"),N.exports=B("../../modules/_core").Array.from},{"../../modules/_core":99,"../../modules/es6.array.from":168,"../../modules/es6.string.iterator":180}],78:[function(B,N,r){var y=B("../../modules/_core"),m=y.JSON||(y.JSON={stringify:JSON.stringify});N.exports=function(p){return m.stringify.apply(m,arguments)}},{"../../modules/_core":99}],79:[function(B,N,r){B("../../modules/es6.object.assign"),N.exports=B("../../modules/_core").Object.assign},{"../../modules/_core":99,"../../modules/es6.object.assign":171}],80:[function(B,N,r){B("../../modules/es6.object.create");var y=B("../../modules/_core").Object;N.exports=function(C,p){return y.create(C,p)}},{"../../modules/_core":99,"../../modules/es6.object.create":172}],81:[function(B,N,r){B("../../modules/es6.object.define-property");var y=B("../../modules/_core").Object;N.exports=function(C,p,g){return y.defineProperty(C,p,g)}},{"../../modules/_core":99,"../../modules/es6.object.define-property":173}],82:[function(B,N,r){B("../../modules/es7.object.entries"),N.exports=B("../../modules/_core").Object.entries},{"../../modules/_core":99,"../../modules/es7.object.entries":182}],83:[function(B,N,r){B("../../modules/es6.object.get-own-property-names");var y=B("../../modules/_core").Object;N.exports=function(C){return y.getOwnPropertyNames(C)}},{"../../modules/_core":99,"../../modules/es6.object.get-own-property-names":174}],84:[function(B,N,r){B("../../modules/es6.object.get-prototype-of"),N.exports=B("../../modules/_core").Object.getPrototypeOf},{"../../modules/_core":99,"../../modules/es6.object.get-prototype-of":175}],85:[function(B,N,r){B("../../modules/es6.object.keys"),N.exports=B("../../modules/_core").Object.keys},{"../../modules/_core":99,"../../modules/es6.object.keys":176}],86:[function(B,N,r){B("../modules/es6.object.to-string"),B("../modules/es6.string.iterator"),B("../modules/web.dom.iterable"),B("../modules/es6.promise"),B("../modules/es7.promise.finally"),B("../modules/es7.promise.try"),N.exports=B("../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(B,N,r){B("../modules/web.immediate"),N.exports=B("../modules/_core").setImmediate},{"../modules/_core":99,"../modules/web.immediate":188}],88:[function(B,N,r){B("../../modules/es6.string.from-code-point"),N.exports=B("../../modules/_core").String.fromCodePoint},{"../../modules/_core":99,"../../modules/es6.string.from-code-point":179}],89:[function(B,N,r){B("../../modules/es6.function.has-instance"),N.exports=B("../../modules/_wks-ext").f("hasInstance")},{"../../modules/_wks-ext":165,"../../modules/es6.function.has-instance":170}],90:[function(B,N,r){B("../../modules/es6.symbol"),B("../../modules/es6.object.to-string"),B("../../modules/es7.symbol.async-iterator"),B("../../modules/es7.symbol.observable"),N.exports=B("../../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(B,N,r){B("../../modules/es6.string.iterator"),B("../../modules/web.dom.iterable"),N.exports=B("../../modules/_wks-ext").f("iterator")},{"../../modules/_wks-ext":165,"../../modules/es6.string.iterator":180,"../../modules/web.dom.iterable":187}],92:[function(B,N,r){N.exports=function(y){if(typeof y!="function")throw TypeError(y+" is not a function!");return y}},{}],93:[function(B,N,r){N.exports=function(){}},{}],94:[function(B,N,r){N.exports=function(y,m,C,p){if(!(y instanceof m)||p!==void 0&&p in y)throw TypeError(C+": incorrect invocation!");return y}},{}],95:[function(B,N,r){var y=B("./_is-object");N.exports=function(m){if(!y(m))throw TypeError(m+" is not an object!");return m}},{"./_is-object":119}],96:[function(B,N,r){var y=B("./_to-iobject"),m=B("./_to-length"),C=B("./_to-absolute-index");N.exports=function(p){return function(g,h,c){var o=y(g),n=m(o.length),t=C(c,n),a;if(p&&h!=h){for(;n>t;)if(a=o[t++],a!=a)return!0}else for(;n>t;t++)if((p||t in o)&&o[t]===h)return p||t||0;return!p&&-1}}},{"./_to-absolute-index":156,"./_to-iobject":158,"./_to-length":159}],97:[function(B,N,r){var y=B("./_cof"),m=B("./_wks")("toStringTag"),C=y(function(){return arguments}())=="Arguments",p=function(h,c){try{return h[c]}catch(o){}};N.exports=function(g){var h,c,o;return g===void 0?"Undefined":g===null?"Null":typeof(c=p(h=Object(g),m))=="string"?c:C?y(h):(o=y(h))=="Object"&&typeof h.callee=="function"?"Arguments":o}},{"./_cof":98,"./_wks":166}],98:[function(B,N,r){var y={}.toString;N.exports=function(m){return y.call(m).slice(8,-1)}},{}],99:[function(B,N,r){var y=N.exports={version:"2.6.11"};typeof __e=="number"&&(__e=y)},{}],100:[function(B,N,r){"use strict";var y=B("./_object-dp"),m=B("./_property-desc");N.exports=function(C,p,g){p in C?y.f(C,p,m(0,g)):C[p]=g}},{"./_object-dp":132,"./_property-desc":146}],101:[function(B,N,r){var y=B("./_a-function");N.exports=function(m,C,p){if(y(m),C===void 0)return m;switch(p){case 1:return function(g){return m.call(C,g)};case 2:return function(g,h){return m.call(C,g,h)};case 3:return function(g,h,c){return m.call(C,g,h,c)}}return function(){return m.apply(C,arguments)}}},{"./_a-function":92}],102:[function(B,N,r){N.exports=function(y){if(y==null)throw TypeError("Can't call method on "+y);return y}},{}],103:[function(B,N,r){N.exports=!B("./_fails")(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},{"./_fails":108}],104:[function(B,N,r){var y=B("./_is-object"),m=B("./_global").document,C=y(m)&&y(m.createElement);N.exports=function(p){return C?m.createElement(p):{}}},{"./_global":110,"./_is-object":119}],105:[function(B,N,r){N.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],106:[function(B,N,r){var y=B("./_object-keys"),m=B("./_object-gops"),C=B("./_object-pie");N.exports=function(p){var g=y(p),h=m.f;if(h)for(var c=h(p),o=C.f,n=0,t;c.length>n;)o.call(p,t=c[n++])&&g.push(t);return g}},{"./_object-gops":137,"./_object-keys":140,"./_object-pie":141}],107:[function(B,N,r){var y=B("./_global"),m=B("./_core"),C=B("./_ctx"),p=B("./_hide"),g=B("./_has"),h="prototype",c=function o(n,t,a){var d=n&o.F,i=n&o.G,l=n&o.S,e=n&o.P,s=n&o.B,u=n&o.W,f=i?m:m[t]||(m[t]={}),A=f[h],v=i?y:l?y[t]:(y[t]||{})[h],x,b,w;i&&(a=t);for(x in a){if(b=!d&&v&&v[x]!==void 0,b&&g(f,x))continue;w=b?v[x]:a[x],f[x]=i&&typeof v[x]!="function"?a[x]:s&&b?C(w,y):u&&v[x]==w?function(_){var T=function(E,I,O){if(this instanceof _){switch(arguments.length){case 0:return new _;case 1:return new _(E);case 2:return new _(E,I)}return new _(E,I,O)}return _.apply(this,arguments)};return T[h]=_[h],T}(w):e&&typeof w=="function"?C(Function.call,w):w,e&&((f.virtual||(f.virtual={}))[x]=w,n&o.R&&A&&!A[x]&&p(A,x,w))}};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,N.exports=c},{"./_core":99,"./_ctx":101,"./_global":110,"./_has":111,"./_hide":112}],108:[function(B,N,r){N.exports=function(y){try{return!!y()}catch(m){return!0}}},{}],109:[function(B,N,r){var y=B("./_ctx"),m=B("./_iter-call"),C=B("./_is-array-iter"),p=B("./_an-object"),g=B("./_to-length"),h=B("./core.get-iterator-method"),c={},o={},r=N.exports=function(n,t,a,d,i){var l=i?function(){return n}:h(n),e=y(a,d,t?2:1),s=0,u,f,A,v;if(typeof l!="function")throw TypeError(n+" is not iterable!");if(C(l)){for(u=g(n.length);u>s;s++)if(v=t?e(p(f=n[s])[0],f[1]):e(n[s]),v===c||v===o)return v}else for(A=l.call(n);!(f=A.next()).done;)if(v=m(A,e,f.value,t),v===c||v===o)return v};r.BREAK=c,r.RETURN=o},{"./_an-object":95,"./_ctx":101,"./_is-array-iter":117,"./_iter-call":120,"./_to-length":159,"./core.get-iterator-method":167}],110:[function(B,N,r){var y=N.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=y)},{}],111:[function(B,N,r){var y={}.hasOwnProperty;N.exports=function(m,C){return y.call(m,C)}},{}],112:[function(B,N,r){var y=B("./_object-dp"),m=B("./_property-desc");N.exports=B("./_descriptors")?function(C,p,g){return y.f(C,p,m(1,g))}:function(C,p,g){return C[p]=g,C}},{"./_descriptors":103,"./_object-dp":132,"./_property-desc":146}],113:[function(B,N,r){var y=B("./_global").document;N.exports=y&&y.documentElement},{"./_global":110}],114:[function(B,N,r){N.exports=!B("./_descriptors")&&!B("./_fails")(function(){return Object.defineProperty(B("./_dom-create")("div"),"a",{get:function(){return 7}}).a!=7})},{"./_descriptors":103,"./_dom-create":104,"./_fails":108}],115:[function(B,N,r){N.exports=function(y,m,C){var p=C===void 0;switch(m.length){case 0:return p?y():y.call(C);case 1:return p?y(m[0]):y.call(C,m[0]);case 2:return p?y(m[0],m[1]):y.call(C,m[0],m[1]);case 3:return p?y(m[0],m[1],m[2]):y.call(C,m[0],m[1],m[2]);case 4:return p?y(m[0],m[1],m[2],m[3]):y.call(C,m[0],m[1],m[2],m[3])}return y.apply(C,m)}},{}],116:[function(B,N,r){var y=B("./_cof");N.exports=Object("z").propertyIsEnumerable(0)?Object:function(m){return y(m)=="String"?m.split(""):Object(m)}},{"./_cof":98}],117:[function(B,N,r){var y=B("./_iterators"),m=B("./_wks")("iterator"),C=Array.prototype;N.exports=function(p){return p!==void 0&&(y.Array===p||C[m]===p)}},{"./_iterators":125,"./_wks":166}],118:[function(B,N,r){var y=B("./_cof");N.exports=Array.isArray||function(C){return y(C)=="Array"}},{"./_cof":98}],119:[function(B,N,r){N.exports=function(y){return typeof y=="object"?y!==null:typeof y=="function"}},{}],120:[function(B,N,r){var y=B("./_an-object");N.exports=function(m,C,p,g){try{return g?C(y(p)[0],p[1]):C(p)}catch(c){var h=m.return;throw h!==void 0&&y(h.call(m)),c}}},{"./_an-object":95}],121:[function(B,N,r){"use strict";var y=B("./_object-create"),m=B("./_property-desc"),C=B("./_set-to-string-tag"),p={};B("./_hide")(p,B("./_wks")("iterator"),function(){return this}),N.exports=function(g,h,c){g.prototype=y(p,{next:m(1,c)}),C(g,h+" Iterator")}},{"./_hide":112,"./_object-create":131,"./_property-desc":146,"./_set-to-string-tag":150,"./_wks":166}],122:[function(B,N,r){"use strict";var y=B("./_library"),m=B("./_export"),C=B("./_redefine"),p=B("./_hide"),g=B("./_iterators"),h=B("./_iter-create"),c=B("./_set-to-string-tag"),o=B("./_object-gpo"),n=B("./_wks")("iterator"),t=!([].keys&&"next"in[].keys()),a="@@iterator",d="keys",i="values",l=function(){return this};N.exports=function(e,s,u,f,A,v,x){h(u,s,f);var b=function(D){if(!t&&D in S)return S[D];switch(D){case d:return function(){return new u(this,D)};case i:return function(){return new u(this,D)}}return function(){return new u(this,D)}},w=s+" Iterator",_=A==i,T=!1,S=e.prototype,E=S[n]||S[a]||A&&S[A],I=E||b(A),O=A?_?b("entries"):I:void 0,F=s=="Array"&&S.entries||E,k,M,P;if(F&&(P=o(F.call(new e)),P!==Object.prototype&&P.next&&(c(P,w,!0),!y&&typeof P[n]!="function"&&p(P,n,l))),_&&E&&E.name!==i&&(T=!0,I=function(){return E.call(this)}),(!y||x)&&(t||T||!S[n])&&p(S,n,I),g[s]=I,g[w]=l,A)if(k={values:_?I:b(i),keys:v?I:b(d),entries:O},x)for(M in k)M in S||C(S,M,k[M]);else m(m.P+m.F*(t||T),s,k);return k}},{"./_export":107,"./_hide":112,"./_iter-create":121,"./_iterators":125,"./_library":126,"./_object-gpo":138,"./_redefine":148,"./_set-to-string-tag":150,"./_wks":166}],123:[function(B,N,r){var y=B("./_wks")("iterator"),m=!1;try{var C=[7][y]();C.return=function(){m=!0},Array.from(C,function(){throw 2})}catch(p){}N.exports=function(p,g){if(!g&&!m)return!1;var h=!1;try{var c=[7],o=c[y]();o.next=function(){return{done:h=!0}},c[y]=function(){return o},p(c)}catch(n){}return h}},{"./_wks":166}],124:[function(B,N,r){N.exports=function(y,m){return{value:m,done:!!y}}},{}],125:[function(B,N,r){N.exports={}},{}],126:[function(B,N,r){N.exports=!0},{}],127:[function(B,N,r){var y=B("./_uid")("meta"),m=B("./_is-object"),C=B("./_has"),p=B("./_object-dp").f,g=0,h=Object.isExtensible||function(){return!0},c=!B("./_fails")(function(){return h(Object.preventExtensions({}))}),o=function(l){p(l,y,{value:{i:"O"+ ++g,w:{}}})},n=function(l,e){if(!m(l))return typeof l=="symbol"?l:(typeof l=="string"?"S":"P")+l;if(!C(l,y)){if(!h(l))return"F";if(!e)return"E";o(l)}return l[y].i},t=function(l,e){if(!C(l,y)){if(!h(l))return!0;if(!e)return!1;o(l)}return l[y].w},a=function(l){return c&&d.NEED&&h(l)&&!C(l,y)&&o(l),l},d=N.exports={KEY:y,NEED:!1,fastKey:n,getWeak:t,onFreeze:a}},{"./_fails":108,"./_has":111,"./_is-object":119,"./_object-dp":132,"./_uid":162}],128:[function(B,N,r){var y=B("./_global"),m=B("./_task").set,C=y.MutationObserver||y.WebKitMutationObserver,p=y.process,g=y.Promise,h=B("./_cof")(p)=="process";N.exports=function(){var c,o,n,t=function(){var e,s;for(h&&(e=p.domain)&&e.exit();c;){s=c.fn,c=c.next;try{s()}catch(u){throw c?n():o=void 0,u}}o=void 0,e&&e.enter()};if(h)n=function(){p.nextTick(t)};else if(C&&!(y.navigator&&y.navigator.standalone)){var a=!0,d=document.createTextNode("");new C(t).observe(d,{characterData:!0}),n=function(){d.data=a=!a}}else if(g&&g.resolve){var i=g.resolve(void 0);n=function(){i.then(t)}}else n=function(){m.call(y,t)};return function(l){var e={fn:l,next:void 0};o&&(o.next=e),c||(c=e,n()),o=e}}},{"./_cof":98,"./_global":110,"./_task":155}],129:[function(B,N,r){"use strict";var y=B("./_a-function");function m(C){var p,g;this.promise=new C(function(h,c){if(p!==void 0||g!==void 0)throw TypeError("Bad Promise constructor");p=h,g=c}),this.resolve=y(p),this.reject=y(g)}N.exports.f=function(C){return new m(C)}},{"./_a-function":92}],130:[function(B,N,r){"use strict";var y=B("./_descriptors"),m=B("./_object-keys"),C=B("./_object-gops"),p=B("./_object-pie"),g=B("./_to-object"),h=B("./_iobject"),c=Object.assign;N.exports=!c||B("./_fails")(function(){var o={},n={},t=Symbol(),a="abcdefghijklmnopqrst";return o[t]=7,a.split("").forEach(function(d){n[d]=d}),c({},o)[t]!=7||Object.keys(c({},n)).join("")!=a})?function(n,t){for(var a=g(n),d=arguments.length,i=1,l=C.f,e=p.f;d>i;)for(var s=h(arguments[i++]),u=l?m(s).concat(l(s)):m(s),f=u.length,A=0,v;f>A;)v=u[A++],(!y||e.call(s,v))&&(a[v]=s[v]);return a}:c},{"./_descriptors":103,"./_fails":108,"./_iobject":116,"./_object-gops":137,"./_object-keys":140,"./_object-pie":141,"./_to-object":160}],131:[function(B,N,r){var y=B("./_an-object"),m=B("./_object-dps"),C=B("./_enum-bug-keys"),p=B("./_shared-key")("IE_PROTO"),g=function(){},h="prototype",c=function(){var n=B("./_dom-create")("iframe"),t=C.length,a="<",d=">",i;for(n.style.display="none",B("./_html").appendChild(n),n.src="javascript:",i=n.contentWindow.document,i.open(),i.write(a+"script"+d+"document.F=Object"+a+"/script"+d),i.close(),c=i.F;t--;)delete c[h][C[t]];return c()};N.exports=Object.create||function(n,t){var a;return n!==null?(g[h]=y(n),a=new g,g[h]=null,a[p]=n):a=c(),t===void 0?a:m(a,t)}},{"./_an-object":95,"./_dom-create":104,"./_enum-bug-keys":105,"./_html":113,"./_object-dps":133,"./_shared-key":151}],132:[function(B,N,r){var y=B("./_an-object"),m=B("./_ie8-dom-define"),C=B("./_to-primitive"),p=Object.defineProperty;r.f=B("./_descriptors")?Object.defineProperty:function(h,c,o){if(y(h),c=C(c,!0),y(o),m)try{return p(h,c,o)}catch(n){}if("get"in o||"set"in o)throw TypeError("Accessors not supported!");return"value"in o&&(h[c]=o.value),h}},{"./_an-object":95,"./_descriptors":103,"./_ie8-dom-define":114,"./_to-primitive":161}],133:[function(B,N,r){var y=B("./_object-dp"),m=B("./_an-object"),C=B("./_object-keys");N.exports=B("./_descriptors")?Object.defineProperties:function(g,h){m(g);for(var c=C(h),o=c.length,n=0,t;o>n;)y.f(g,t=c[n++],h[t]);return g}},{"./_an-object":95,"./_descriptors":103,"./_object-dp":132,"./_object-keys":140}],134:[function(B,N,r){var y=B("./_object-pie"),m=B("./_property-desc"),C=B("./_to-iobject"),p=B("./_to-primitive"),g=B("./_has"),h=B("./_ie8-dom-define"),c=Object.getOwnPropertyDescriptor;r.f=B("./_descriptors")?c:function(n,t){if(n=C(n),t=p(t,!0),h)try{return c(n,t)}catch(a){}if(g(n,t))return m(!y.f.call(n,t),n[t])}},{"./_descriptors":103,"./_has":111,"./_ie8-dom-define":114,"./_object-pie":141,"./_property-desc":146,"./_to-iobject":158,"./_to-primitive":161}],135:[function(B,N,r){var y=B("./_to-iobject"),m=B("./_object-gopn").f,C={}.toString,p=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],g=function(c){try{return m(c)}catch(o){return p.slice()}};N.exports.f=function(c){return p&&C.call(c)=="[object Window]"?g(c):m(y(c))}},{"./_object-gopn":136,"./_to-iobject":158}],136:[function(B,N,r){var y=B("./_object-keys-internal"),m=B("./_enum-bug-keys").concat("length","prototype");r.f=Object.getOwnPropertyNames||function(p){return y(p,m)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],137:[function(B,N,r){r.f=Object.getOwnPropertySymbols},{}],138:[function(B,N,r){var y=B("./_has"),m=B("./_to-object"),C=B("./_shared-key")("IE_PROTO"),p=Object.prototype;N.exports=Object.getPrototypeOf||function(g){return g=m(g),y(g,C)?g[C]:typeof g.constructor=="function"&&g instanceof g.constructor?g.constructor.prototype:g instanceof Object?p:null}},{"./_has":111,"./_shared-key":151,"./_to-object":160}],139:[function(B,N,r){var y=B("./_has"),m=B("./_to-iobject"),C=B("./_array-includes")(!1),p=B("./_shared-key")("IE_PROTO");N.exports=function(g,h){var c=m(g),o=0,n=[],t;for(t in c)t!=p&&(y(c,t)&&n.push(t));for(;h.length>o;)y(c,t=h[o++])&&(~C(n,t)||n.push(t));return n}},{"./_array-includes":96,"./_has":111,"./_shared-key":151,"./_to-iobject":158}],140:[function(B,N,r){var y=B("./_object-keys-internal"),m=B("./_enum-bug-keys");N.exports=Object.keys||function(p){return y(p,m)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],141:[function(B,N,r){r.f={}.propertyIsEnumerable},{}],142:[function(B,N,r){var y=B("./_export"),m=B("./_core"),C=B("./_fails");N.exports=function(p,g){var h=(m.Object||{})[p]||Object[p],c={};c[p]=g(h),y(y.S+y.F*C(function(){h(1)}),"Object",c)}},{"./_core":99,"./_export":107,"./_fails":108}],143:[function(B,N,r){var y=B("./_descriptors"),m=B("./_object-keys"),C=B("./_to-iobject"),p=B("./_object-pie").f;N.exports=function(g){return function(h){for(var c=C(h),o=m(c),n=o.length,t=0,a=[],d;n>t;)d=o[t++],(!y||p.call(c,d))&&a.push(g?[d,c[d]]:c[d]);return a}}},{"./_descriptors":103,"./_object-keys":140,"./_object-pie":141,"./_to-iobject":158}],144:[function(B,N,r){N.exports=function(y){try{return{e:!1,v:y()}}catch(m){return{e:!0,v:m}}}},{}],145:[function(B,N,r){var y=B("./_an-object"),m=B("./_is-object"),C=B("./_new-promise-capability");N.exports=function(p,g){if(y(p),m(g)&&g.constructor===p)return g;var h=C.f(p),c=h.resolve;return c(g),h.promise}},{"./_an-object":95,"./_is-object":119,"./_new-promise-capability":129}],146:[function(B,N,r){N.exports=function(y,m){return{enumerable:!(y&1),configurable:!(y&2),writable:!(y&4),value:m}}},{}],147:[function(B,N,r){var y=B("./_hide");N.exports=function(m,C,p){for(var g in C)p&&m[g]?m[g]=C[g]:y(m,g,C[g]);return m}},{"./_hide":112}],148:[function(B,N,r){N.exports=B("./_hide")},{"./_hide":112}],149:[function(B,N,r){"use strict";var y=B("./_global"),m=B("./_core"),C=B("./_object-dp"),p=B("./_descriptors"),g=B("./_wks")("species");N.exports=function(h){var c=typeof m[h]=="function"?m[h]:y[h];p&&c&&!c[g]&&C.f(c,g,{configurable:!0,get:function(){return this}})}},{"./_core":99,"./_descriptors":103,"./_global":110,"./_object-dp":132,"./_wks":166}],150:[function(B,N,r){var y=B("./_object-dp").f,m=B("./_has"),C=B("./_wks")("toStringTag");N.exports=function(p,g,h){p&&!m(p=h?p:p.prototype,C)&&y(p,C,{configurable:!0,value:g})}},{"./_has":111,"./_object-dp":132,"./_wks":166}],151:[function(B,N,r){var y=B("./_shared")("keys"),m=B("./_uid");N.exports=function(C){return y[C]||(y[C]=m(C))}},{"./_shared":152,"./_uid":162}],152:[function(B,N,r){var y=B("./_core"),m=B("./_global"),C="__core-js_shared__",p=m[C]||(m[C]={});(N.exports=function(g,h){return p[g]||(p[g]=h!==void 0?h:{})})("versions",[]).push({version:y.version,mode:B("./_library")?"pure":"global",copyright:"\xA9 2019 Denis Pushkarev (zloirock.ru)"})},{"./_core":99,"./_global":110,"./_library":126}],153:[function(B,N,r){var y=B("./_an-object"),m=B("./_a-function"),C=B("./_wks")("species");N.exports=function(p,g){var h=y(p).constructor,c;return h===void 0||(c=y(h)[C])==null?g:m(c)}},{"./_a-function":92,"./_an-object":95,"./_wks":166}],154:[function(B,N,r){var y=B("./_to-integer"),m=B("./_defined");N.exports=function(C){return function(p,g){var h=String(m(p)),c=y(g),o=h.length,n,t;return c<0||c>=o?C?"":void 0:(n=h.charCodeAt(c),n<55296||n>56319||c+1===o||(t=h.charCodeAt(c+1))<56320||t>57343?C?h.charAt(c):n:C?h.slice(c,c+2):(n-55296<<10)+(t-56320)+65536)}}},{"./_defined":102,"./_to-integer":157}],155:[function(B,N,r){var y=B("./_ctx"),m=B("./_invoke"),C=B("./_html"),p=B("./_dom-create"),g=B("./_global"),h=g.process,c=g.setImmediate,o=g.clearImmediate,n=g.MessageChannel,t=g.Dispatch,a=0,d={},i="onreadystatechange",l,e,s,u=function(){var v=+this;if(d.hasOwnProperty(v)){var x=d[v];delete d[v],x()}},f=function(v){u.call(v.data)};(!c||!o)&&(c=function(v){for(var x=[],b=1;arguments.length>b;)x.push(arguments[b++]);return d[++a]=function(){m(typeof v=="function"?v:Function(v),x)},l(a),a},o=function(v){delete d[v]},B("./_cof")(h)=="process"?l=function(v){h.nextTick(y(u,v,1))}:t&&t.now?l=function(v){t.now(y(u,v,1))}:n?(e=new n,s=e.port2,e.port1.onmessage=f,l=y(s.postMessage,s,1)):g.addEventListener&&typeof postMessage=="function"&&!g.importScripts?(l=function(v){g.postMessage(v+"","*")},g.addEventListener("message",f,!1)):i in p("script")?l=function(v){C.appendChild(p("script"))[i]=function(){C.removeChild(this),u.call(v)}}:l=function(v){setTimeout(y(u,v,1),0)}),N.exports={set:c,clear:o}},{"./_cof":98,"./_ctx":101,"./_dom-create":104,"./_global":110,"./_html":113,"./_invoke":115}],156:[function(B,N,r){var y=B("./_to-integer"),m=Math.max,C=Math.min;N.exports=function(p,g){return p=y(p),p<0?m(p+g,0):C(p,g)}},{"./_to-integer":157}],157:[function(B,N,r){var y=Math.ceil,m=Math.floor;N.exports=function(C){return isNaN(C=+C)?0:(C>0?m:y)(C)}},{}],158:[function(B,N,r){var y=B("./_iobject"),m=B("./_defined");N.exports=function(C){return y(m(C))}},{"./_defined":102,"./_iobject":116}],159:[function(B,N,r){var y=B("./_to-integer"),m=Math.min;N.exports=function(C){return C>0?m(y(C),9007199254740991):0}},{"./_to-integer":157}],160:[function(B,N,r){var y=B("./_defined");N.exports=function(m){return Object(y(m))}},{"./_defined":102}],161:[function(B,N,r){var y=B("./_is-object");N.exports=function(m,C){if(!y(m))return m;var p,g;if(C&&typeof(p=m.toString)=="function"&&!y(g=p.call(m)))return g;if(typeof(p=m.valueOf)=="function"&&!y(g=p.call(m)))return g;if(!C&&typeof(p=m.toString)=="function"&&!y(g=p.call(m)))return g;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":119}],162:[function(B,N,r){var y=0,m=Math.random();N.exports=function(C){return"Symbol(".concat(C===void 0?"":C,")_",(++y+m).toString(36))}},{}],163:[function(B,N,r){var y=B("./_global"),m=y.navigator;N.exports=m&&m.userAgent||""},{"./_global":110}],164:[function(B,N,r){var y=B("./_global"),m=B("./_core"),C=B("./_library"),p=B("./_wks-ext"),g=B("./_object-dp").f;N.exports=function(h){var c=m.Symbol||(m.Symbol=C?{}:y.Symbol||{});h.charAt(0)!="_"&&!(h in c)&&g(c,h,{value:p.f(h)})}},{"./_core":99,"./_global":110,"./_library":126,"./_object-dp":132,"./_wks-ext":165}],165:[function(B,N,r){r.f=B("./_wks")},{"./_wks":166}],166:[function(B,N,r){var y=B("./_shared")("wks"),m=B("./_uid"),C=B("./_global").Symbol,p=typeof C=="function",g=N.exports=function(h){return y[h]||(y[h]=p&&C[h]||(p?C:m)("Symbol."+h))};g.store=y},{"./_global":110,"./_shared":152,"./_uid":162}],167:[function(B,N,r){var y=B("./_classof"),m=B("./_wks")("iterator"),C=B("./_iterators");N.exports=B("./_core").getIteratorMethod=function(p){if(p!=null)return p[m]||p["@@iterator"]||C[y(p)]}},{"./_classof":97,"./_core":99,"./_iterators":125,"./_wks":166}],168:[function(B,N,r){"use strict";var y=B("./_ctx"),m=B("./_export"),C=B("./_to-object"),p=B("./_iter-call"),g=B("./_is-array-iter"),h=B("./_to-length"),c=B("./_create-property"),o=B("./core.get-iterator-method");m(m.S+m.F*!B("./_iter-detect")(function(n){Array.from(n)}),"Array",{from:function(t){var a=C(t),d=typeof this=="function"?this:Array,i=arguments.length,l=i>1?arguments[1]:void 0,e=l!==void 0,s=0,u=o(a),f,A,v,x;if(e&&(l=y(l,i>2?arguments[2]:void 0,2)),u!=null&&!(d==Array&&g(u)))for(x=u.call(a),A=new d;!(v=x.next()).done;s++)c(A,s,e?p(x,l,[v.value,s],!0):v.value);else for(f=h(a.length),A=new d(f);f>s;s++)c(A,s,e?l(a[s],s):a[s]);return A.length=s,A}})},{"./_create-property":100,"./_ctx":101,"./_export":107,"./_is-array-iter":117,"./_iter-call":120,"./_iter-detect":123,"./_to-length":159,"./_to-object":160,"./core.get-iterator-method":167}],169:[function(B,N,r){"use strict";var y=B("./_add-to-unscopables"),m=B("./_iter-step"),C=B("./_iterators"),p=B("./_to-iobject");N.exports=B("./_iter-define")(Array,"Array",function(g,h){this._t=p(g),this._i=0,this._k=h},function(){var g=this._t,h=this._k,c=this._i++;return!g||c>=g.length?(this._t=void 0,m(1)):h=="keys"?m(0,c):h=="values"?m(0,g[c]):m(0,[c,g[c]])},"values"),C.Arguments=C.Array,y("keys"),y("values"),y("entries")},{"./_add-to-unscopables":93,"./_iter-define":122,"./_iter-step":124,"./_iterators":125,"./_to-iobject":158}],170:[function(B,N,r){"use strict";var y=B("./_is-object"),m=B("./_object-gpo"),C=B("./_wks")("hasInstance"),p=Function.prototype;C in p||B("./_object-dp").f(p,C,{value:function(h){if(typeof this!="function"||!y(h))return!1;if(!y(this.prototype))return h instanceof this;for(;h=m(h);)if(this.prototype===h)return!0;return!1}})},{"./_is-object":119,"./_object-dp":132,"./_object-gpo":138,"./_wks":166}],171:[function(B,N,r){var y=B("./_export");y(y.S+y.F,"Object",{assign:B("./_object-assign")})},{"./_export":107,"./_object-assign":130}],172:[function(B,N,r){var y=B("./_export");y(y.S,"Object",{create:B("./_object-create")})},{"./_export":107,"./_object-create":131}],173:[function(B,N,r){var y=B("./_export");y(y.S+y.F*!B("./_descriptors"),"Object",{defineProperty:B("./_object-dp").f})},{"./_descriptors":103,"./_export":107,"./_object-dp":132}],174:[function(B,N,r){B("./_object-sap")("getOwnPropertyNames",function(){return B("./_object-gopn-ext").f})},{"./_object-gopn-ext":135,"./_object-sap":142}],175:[function(B,N,r){var y=B("./_to-object"),m=B("./_object-gpo");B("./_object-sap")("getPrototypeOf",function(){return function(p){return m(y(p))}})},{"./_object-gpo":138,"./_object-sap":142,"./_to-object":160}],176:[function(B,N,r){var y=B("./_to-object"),m=B("./_object-keys");B("./_object-sap")("keys",function(){return function(p){return m(y(p))}})},{"./_object-keys":140,"./_object-sap":142,"./_to-object":160}],177:[function(B,N,r){arguments[4][71][0].apply(r,arguments)},{dup:71}],178:[function(B,N,r){"use strict";var y=B("./_library"),m=B("./_global"),C=B("./_ctx"),p=B("./_classof"),g=B("./_export"),h=B("./_is-object"),c=B("./_a-function"),o=B("./_an-instance"),n=B("./_for-of"),t=B("./_species-constructor"),a=B("./_task").set,d=B("./_microtask")(),i=B("./_new-promise-capability"),l=B("./_perform"),e=B("./_user-agent"),s=B("./_promise-resolve"),u="Promise",f=m.TypeError,A=m.process,v=A&&A.versions,x=v&&v.v8||"",b=m[u],w=p(A)=="process",_=function(){},T,S,E,I,O=S=i.f,F=!!function(){try{var z=b.resolve(1),K=(z.constructor={})[B("./_wks")("species")]=function(G){G(_,_)};return(w||typeof PromiseRejectionEvent=="function")&&z.then(_)instanceof K&&x.indexOf("6.6")!==0&&e.indexOf("Chrome/66")===-1}catch(G){}}(),k=function(K){var G;return h(K)&&typeof(G=K.then)=="function"?G:!1},M=function(K,G){if(K._n)return;K._n=!0;var X=K._c;d(function(){for(var Z=K._v,ee=K._s==1,Se=0,$=function(xe){var _e=ee?xe.ok:xe.fail,Ue=xe.resolve,ye=xe.reject,Be=xe.domain,Q,ie,Ve;try{_e?(ee||(K._h==2&&D(K),K._h=1),_e===!0?Q=Z:(Be&&Be.enter(),Q=_e(Z),Be&&(Be.exit(),Ve=!0)),Q===xe.promise?ye(f("Promise-chain cycle")):(ie=k(Q))?ie.call(Q,Ue,ye):Ue(Q)):ye(Z)}catch(J){Be&&!Ve&&Be.exit(),ye(J)}};X.length>Se;)$(X[Se++]);K._c=[],K._n=!1,G&&!K._h&&P(K)})},P=function(K){a.call(m,function(){var G=K._v,X=V(K),Z,ee,Se;if(X&&(Z=l(function(){w?A.emit("unhandledRejection",G,K):(ee=m.onunhandledrejection)?ee({promise:K,reason:G}):(Se=m.console)&&Se.error&&Se.error("Unhandled promise rejection",G)}),K._h=w||V(K)?2:1),K._a=void 0,X&&Z.e)throw Z.v})},V=function(K){return K._h!==1&&(K._a||K._c).length===0},D=function(K){a.call(m,function(){var G;w?A.emit("rejectionHandled",K):(G=m.onrejectionhandled)&&G({promise:K,reason:K._v})})},H=function(K){var G=this;if(G._d)return;G._d=!0,G=G._w||G,G._v=K,G._s=2,G._a||(G._a=G._c.slice()),M(G,!0)},U=function z(K){var G=this,X;if(G._d)return;G._d=!0,G=G._w||G;try{if(G===K)throw f("Promise can't be resolved itself");(X=k(K))?d(function(){var Z={_w:G,_d:!1};try{X.call(K,C(z,Z,1),C(H,Z,1))}catch(ee){H.call(Z,ee)}}):(G._v=K,G._s=1,M(G,!1))}catch(Z){H.call({_w:G,_d:!1},Z)}};F||(b=function(K){o(this,b,u,"_h"),c(K),T.call(this);try{K(C(U,this,1),C(H,this,1))}catch(G){H.call(this,G)}},T=function(K){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},T.prototype=B("./_redefine-all")(b.prototype,{then:function(K,G){var X=O(t(this,b));return X.ok=typeof K=="function"?K:!0,X.fail=typeof G=="function"&&G,X.domain=w?A.domain:void 0,this._c.push(X),this._a&&this._a.push(X),this._s&&M(this,!1),X.promise},catch:function(K){return this.then(void 0,K)}}),E=function(){var K=new T;this.promise=K,this.resolve=C(U,K,1),this.reject=C(H,K,1)},i.f=O=function(K){return K===b||K===I?new E(K):S(K)}),g(g.G+g.W+g.F*!F,{Promise:b}),B("./_set-to-string-tag")(b,u),B("./_set-species")(u),I=B("./_core")[u],g(g.S+g.F*!F,u,{reject:function(K){var G=O(this),X=G.reject;return X(K),G.promise}}),g(g.S+g.F*(y||!F),u,{resolve:function(K){return s(y&&this===I?b:this,K)}}),g(g.S+g.F*!(F&&B("./_iter-detect")(function(z){b.all(z).catch(_)})),u,{all:function(K){var G=this,X=O(G),Z=X.resolve,ee=X.reject,Se=l(function(){var $=[],pe=0,xe=1;n(K,!1,function(_e){var Ue=pe++,ye=!1;$.push(void 0),xe++,G.resolve(_e).then(function(Be){if(ye)return;ye=!0,$[Ue]=Be,--xe||Z($)},ee)}),--xe||Z($)});return Se.e&&ee(Se.v),X.promise},race:function(K){var G=this,X=O(G),Z=X.reject,ee=l(function(){n(K,!1,function(Se){G.resolve(Se).then(X.resolve,Z)})});return ee.e&&Z(ee.v),X.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(B,N,r){var y=B("./_export"),m=B("./_to-absolute-index"),C=String.fromCharCode,p=String.fromCodePoint;y(y.S+y.F*(!!p&&p.length!=1),"String",{fromCodePoint:function(h){for(var c=[],o=arguments.length,n=0,t;o>n;){if(t=+arguments[n++],m(t,1114111)!==t)throw RangeError(t+" is not a valid code point");c.push(t<65536?C(t):C(((t-=65536)>>10)+55296,t%1024+56320))}return c.join("")}})},{"./_export":107,"./_to-absolute-index":156}],180:[function(B,N,r){"use strict";var y=B("./_string-at")(!0);B("./_iter-define")(String,"String",function(m){this._t=String(m),this._i=0},function(){var m=this._t,C=this._i,p;return C>=m.length?{value:void 0,done:!0}:(p=y(m,C),this._i+=p.length,{value:p,done:!1})})},{"./_iter-define":122,"./_string-at":154}],181:[function(B,N,r){"use strict";var y=B("./_global"),m=B("./_has"),C=B("./_descriptors"),p=B("./_export"),g=B("./_redefine"),h=B("./_meta").KEY,c=B("./_fails"),o=B("./_shared"),n=B("./_set-to-string-tag"),t=B("./_uid"),a=B("./_wks"),d=B("./_wks-ext"),i=B("./_wks-define"),l=B("./_enum-keys"),e=B("./_is-array"),s=B("./_an-object"),u=B("./_is-object"),f=B("./_to-object"),A=B("./_to-iobject"),v=B("./_to-primitive"),x=B("./_property-desc"),b=B("./_object-create"),w=B("./_object-gopn-ext"),_=B("./_object-gopd"),T=B("./_object-gops"),S=B("./_object-dp"),E=B("./_object-keys"),I=_.f,O=S.f,F=w.f,k=y.Symbol,M=y.JSON,P=M&&M.stringify,V="prototype",D=a("_hidden"),H=a("toPrimitive"),U={}.propertyIsEnumerable,z=o("symbol-registry"),K=o("symbols"),G=o("op-symbols"),X=Object[V],Z=typeof k=="function"&&!!T.f,ee=y.QObject,Se=!ee||!ee[V]||!ee[V].findChild,$=C&&c(function(){return b(O({},"a",{get:function(){return O(this,"a",{value:7}).a}})).a!=7})?function(ae,Le,Ee){var ne=I(X,Le);ne&&delete X[Le],O(ae,Le,Ee),ne&&ae!==X&&O(X,Le,ne)}:O,pe=function(Le){var Ee=K[Le]=b(k[V]);return Ee._k=Le,Ee},xe=Z&&typeof k.iterator=="symbol"?function(ae){return typeof ae=="symbol"}:function(ae){return ae instanceof k},_e=function(Le,Ee,ne){return Le===X&&_e(G,Ee,ne),s(Le),Ee=v(Ee,!0),s(ne),m(K,Ee)?(ne.enumerable?(m(Le,D)&&Le[D][Ee]&&(Le[D][Ee]=!1),ne=b(ne,{enumerable:x(0,!1)})):(m(Le,D)||O(Le,D,x(1,{})),Le[D][Ee]=!0),$(Le,Ee,ne)):O(Le,Ee,ne)},Ue=function(Le,Ee){s(Le);for(var ne=l(Ee=A(Ee)),ge=0,Ie=ne.length,Ge;Ie>ge;)_e(Le,Ge=ne[ge++],Ee[Ge]);return Le},ye=function(Le,Ee){return Ee===void 0?b(Le):Ue(b(Le),Ee)},Be=function(Le){var Ee=U.call(this,Le=v(Le,!0));return this===X&&m(K,Le)&&!m(G,Le)?!1:Ee||!m(this,Le)||!m(K,Le)||m(this,D)&&this[D][Le]?Ee:!0},Q=function(Le,Ee){if(Le=A(Le),Ee=v(Ee,!0),Le===X&&m(K,Ee)&&!m(G,Ee))return;var ne=I(Le,Ee);return ne&&m(K,Ee)&&!(m(Le,D)&&Le[D][Ee])&&(ne.enumerable=!0),ne},ie=function(Le){for(var Ee=F(A(Le)),ne=[],ge=0,Ie;Ee.length>ge;)!m(K,Ie=Ee[ge++])&&Ie!=D&&Ie!=h&&ne.push(Ie);return ne},Ve=function(Le){for(var Ee=Le===X,ne=F(Ee?G:A(Le)),ge=[],Ie=0,Ge;ne.length>Ie;)m(K,Ge=ne[Ie++])&&(Ee?m(X,Ge):!0)&&ge.push(K[Ge]);return ge};Z||(k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor!");var Le=t(arguments.length>0?arguments[0]:void 0),Ee=function ne(ge){this===X&&ne.call(G,ge),m(this,D)&&m(this[D],Le)&&(this[D][Le]=!1),$(this,Le,x(1,ge))};return C&&Se&&$(X,Le,{configurable:!0,set:Ee}),pe(Le)},g(k[V],"toString",function(){return this._k}),_.f=Q,S.f=_e,B("./_object-gopn").f=w.f=ie,B("./_object-pie").f=Be,T.f=Ve,C&&!B("./_library")&&g(X,"propertyIsEnumerable",Be,!0),d.f=function(ae){return pe(a(ae))}),p(p.G+p.W+p.F*!Z,{Symbol:k});for(var J="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),W=0;J.length>W;)a(J[W++]);for(var j=E(a.store),Y=0;j.length>Y;)i(j[Y++]);p(p.S+p.F*!Z,"Symbol",{for:function(Le){return m(z,Le+="")?z[Le]:z[Le]=k(Le)},keyFor:function(Le){if(!xe(Le))throw TypeError(Le+" is not a symbol!");for(var Ee in z)if(z[Ee]===Le)return Ee},useSetter:function(){Se=!0},useSimple:function(){Se=!1}}),p(p.S+p.F*!Z,"Object",{create:ye,defineProperty:_e,defineProperties:Ue,getOwnPropertyDescriptor:Q,getOwnPropertyNames:ie,getOwnPropertySymbols:Ve});var me=c(function(){T.f(1)});p(p.S+p.F*me,"Object",{getOwnPropertySymbols:function(Le){return T.f(f(Le))}}),M&&p(p.S+p.F*(!Z||c(function(){var ae=k();return P([ae])!="[null]"||P({a:ae})!="{}"||P(Object(ae))!="{}"})),"JSON",{stringify:function(Le){for(var Ee=[Le],ne=1,ge,Ie;arguments.length>ne;)Ee.push(arguments[ne++]);return Ie=ge=Ee[1],!u(ge)&&Le===void 0||xe(Le)?void 0:(e(ge)||(ge=function(ut,wt){if(typeof Ie=="function"&&(wt=Ie.call(this,ut,wt)),!xe(wt))return wt}),Ee[1]=ge,P.apply(M,Ee))}}),k[V][H]||B("./_hide")(k[V],H,k[V].valueOf),n(k,"Symbol"),n(Math,"Math",!0),n(y.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(B,N,r){var y=B("./_export"),m=B("./_object-to-array")(!0);y(y.S,"Object",{entries:function(p){return m(p)}})},{"./_export":107,"./_object-to-array":143}],183:[function(B,N,r){"use strict";var y=B("./_export"),m=B("./_core"),C=B("./_global"),p=B("./_species-constructor"),g=B("./_promise-resolve");y(y.P+y.R,"Promise",{finally:function(c){var o=p(this,m.Promise||C.Promise),n=typeof c=="function";return this.then(n?function(t){return g(o,c()).then(function(){return t})}:c,n?function(t){return g(o,c()).then(function(){throw t})}:c)}})},{"./_core":99,"./_export":107,"./_global":110,"./_promise-resolve":145,"./_species-constructor":153}],184:[function(B,N,r){"use strict";var y=B("./_export"),m=B("./_new-promise-capability"),C=B("./_perform");y(y.S,"Promise",{try:function(g){var h=m.f(this),c=C(g);return(c.e?h.reject:h.resolve)(c.v),h.promise}})},{"./_export":107,"./_new-promise-capability":129,"./_perform":144}],185:[function(B,N,r){B("./_wks-define")("asyncIterator")},{"./_wks-define":164}],186:[function(B,N,r){B("./_wks-define")("observable")},{"./_wks-define":164}],187:[function(B,N,r){B("./es6.array.iterator");for(var y=B("./_global"),m=B("./_hide"),C=B("./_iterators"),p=B("./_wks")("toStringTag"),g="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),h=0;h<g.length;h++){var c=g[h],o=y[c],n=o&&o.prototype;n&&!n[p]&&m(n,p,c),C[c]=C.Array}},{"./_global":110,"./_hide":112,"./_iterators":125,"./_wks":166,"./es6.array.iterator":169}],188:[function(B,N,r){var y=B("./_export"),m=B("./_task");y(y.G+y.B,{setImmediate:m.set,clearImmediate:m.clear})},{"./_export":107,"./_task":155}],189:[function(B,N,r){(function(y){"use strict";var m=B("babel-runtime/helpers/typeof"),C=p(m);function p(v){return v&&v.__esModule?v:{default:v}}function g(v){return Array.isArray?Array.isArray(v):A(v)==="[object Array]"}r.isArray=g;function h(v){return typeof v=="boolean"}r.isBoolean=h;function c(v){return v===null}r.isNull=c;function o(v){return v==null}r.isNullOrUndefined=o;function n(v){return typeof v=="number"}r.isNumber=n;function t(v){return typeof v=="string"}r.isString=t;function a(v){return(typeof v=="undefined"?"undefined":(0,C.default)(v))==="symbol"}r.isSymbol=a;function d(v){return v===void 0}r.isUndefined=d;function i(v){return A(v)==="[object RegExp]"}r.isRegExp=i;function l(v){return(typeof v=="undefined"?"undefined":(0,C.default)(v))==="object"&&v!==null}r.isObject=l;function e(v){return A(v)==="[object Date]"}r.isDate=e;function s(v){return A(v)==="[object Error]"||v instanceof Error}r.isError=s;function u(v){return typeof v=="function"}r.isFunction=u;function f(v){return v===null||typeof v=="boolean"||typeof v=="number"||typeof v=="string"||(typeof v=="undefined"?"undefined":(0,C.default)(v))==="symbol"||typeof v=="undefined"}r.isPrimitive=f,r.isBuffer=y.isBuffer;function A(v){return Object.prototype.toString.call(v)}}).call(this,{isBuffer:B("../../is-buffer/index.js")})},{"../../is-buffer/index.js":197,"babel-runtime/helpers/typeof":67}],190:[function(B,N,r){"use strict";var y=B("babel-runtime/helpers/typeof"),m=C(y);function C(p){return p&&p.__esModule?p:{default:p}}(function(p){"use strict";var g=function(){var t=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,a=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,d=/[^-+\dA-Z]/g;return function(i,l,e,s){if(arguments.length===1&&n(i)==="string"&&!/\d/.test(i)&&(l=i,i=void 0),i=i||new Date,i instanceof Date||(i=new Date(i)),isNaN(i))throw TypeError("Invalid date");l=String(g.masks[l]||l||g.masks.default);var u=l.slice(0,4);(u==="UTC:"||u==="GMT:")&&(l=l.slice(4),e=!0,u==="GMT:"&&(s=!0));var f=e?"getUTC":"get",A=i[f+"Date"](),v=i[f+"Day"](),x=i[f+"Month"](),b=i[f+"FullYear"](),w=i[f+"Hours"](),_=i[f+"Minutes"](),T=i[f+"Seconds"](),S=i[f+"Milliseconds"](),E=e?0:i.getTimezoneOffset(),I=c(i),O=o(i),F={d:A,dd:h(A),ddd:g.i18n.dayNames[v],dddd:g.i18n.dayNames[v+7],m:x+1,mm:h(x+1),mmm:g.i18n.monthNames[x],mmmm:g.i18n.monthNames[x+12],yy:String(b).slice(2),yyyy:b,h:w%12||12,hh:h(w%12||12),H:w,HH:h(w),M:_,MM:h(_),s:T,ss:h(T),l:h(S,3),L:h(Math.round(S/10)),t:w<12?"a":"p",tt:w<12?"am":"pm",T:w<12?"A":"P",TT:w<12?"AM":"PM",Z:s?"GMT":e?"UTC":(String(i).match(a)||[""]).pop().replace(d,""),o:(E>0?"-":"+")+h(Math.floor(Math.abs(E)/60)*100+Math.abs(E)%60,4),S:["th","st","nd","rd"][A%10>3?0:(A%100-A%10!=10)*A%10],W:I,N:O};return l.replace(t,function(k){return k in F?F[k]:k.slice(1,k.length-1)})}}();g.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},g.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};function h(t,a){for(t=String(t),a=a||2;t.length<a;)t="0"+t;return t}function c(t){var a=new Date(t.getFullYear(),t.getMonth(),t.getDate());a.setDate(a.getDate()-(a.getDay()+6)%7+3);var d=new Date(a.getFullYear(),0,4);d.setDate(d.getDate()-(d.getDay()+6)%7+3);var i=a.getTimezoneOffset()-d.getTimezoneOffset();a.setHours(a.getHours()-i);var l=(a-d)/(864e5*7);return 1+Math.floor(l)}function o(t){var a=t.getDay();return a===0&&(a=7),a}function n(t){return t===null?"null":t===void 0?"undefined":(typeof t=="undefined"?"undefined":(0,m.default)(t))!=="object"?typeof t=="undefined"?"undefined":(0,m.default)(t):Array.isArray(t)?"array":{}.toString.call(t).slice(8,-1).toLowerCase()}typeof define=="function"&&define.amd?define(function(){return g}):(typeof r=="undefined"?"undefined":(0,m.default)(r))==="object"?N.exports=g:p.dateFormat=g})(void 0)},{"babel-runtime/helpers/typeof":67}],191:[function(B,N,r){/*!
|
|
|
* escape-html
|
|
|
* Copyright(c) 2012-2013 TJ Holowaychuk
|
|
|
* Copyright(c) 2015 Andreas Lubbe
|
|
|
* Copyright(c) 2015 Tiancheng "Timothy" Gu
|
|
|
* MIT Licensed
|
|
|
*/"use strict";var y=/["'&<>]/;N.exports=m;function m(C){var p=""+C,g=y.exec(p);if(!g)return p;var h,c="",o=0,n=0;for(o=g.index;o<p.length;o++){switch(p.charCodeAt(o)){case 34:h=""";break;case 38:h="&";break;case 39:h="'";break;case 60:h="<";break;case 62:h=">";break;default:continue}n!==o&&(c+=p.substring(n,o)),n=o+1,c+=h}return n!==o?c+p.substring(n,o):c}},{}],192:[function(B,N,r){function y(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}N.exports=y,y.EventEmitter=y,y.prototype._events=void 0,y.prototype._maxListeners=void 0,y.defaultMaxListeners=10,y.prototype.setMaxListeners=function(h){if(!C(h)||h<0||isNaN(h))throw TypeError("n must be a positive number");return this._maxListeners=h,this},y.prototype.emit=function(h){var c,o,n,t,a,d;if(this._events||(this._events={}),h==="error"&&(!this._events.error||p(this._events.error)&&!this._events.error.length)){if(c=arguments[1],c instanceof Error)throw c;var i=new Error('Uncaught, unspecified "error" event. ('+c+")");throw i.context=c,i}if(o=this._events[h],g(o))return!1;if(m(o))switch(arguments.length){case 1:o.call(this);break;case 2:o.call(this,arguments[1]);break;case 3:o.call(this,arguments[1],arguments[2]);break;default:t=Array.prototype.slice.call(arguments,1),o.apply(this,t)}else if(p(o))for(t=Array.prototype.slice.call(arguments,1),d=o.slice(),n=d.length,a=0;a<n;a++)d[a].apply(this,t);return!0},y.prototype.addListener=function(h,c){var o;if(!m(c))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",h,m(c.listener)?c.listener:c),this._events[h]?p(this._events[h])?this._events[h].push(c):this._events[h]=[this._events[h],c]:this._events[h]=c,p(this._events[h])&&!this._events[h].warned&&(g(this._maxListeners)?o=y.defaultMaxListeners:o=this._maxListeners,o&&o>0&&this._events[h].length>o&&(this._events[h].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[h].length),typeof console.trace=="function"&&console.trace())),this},y.prototype.on=y.prototype.addListener,y.prototype.once=function(h,c){if(!m(c))throw TypeError("listener must be a function");var o=!1;function n(){this.removeListener(h,n),o||(o=!0,c.apply(this,arguments))}return n.listener=c,this.on(h,n),this},y.prototype.removeListener=function(h,c){var o,n,t,a;if(!m(c))throw TypeError("listener must be a function");if(!this._events||!this._events[h])return this;if(o=this._events[h],t=o.length,n=-1,o===c||m(o.listener)&&o.listener===c)delete this._events[h],this._events.removeListener&&this.emit("removeListener",h,c);else if(p(o)){for(a=t;a-- >0;)if(o[a]===c||o[a].listener&&o[a].listener===c){n=a;break}if(n<0)return this;o.length===1?(o.length=0,delete this._events[h]):o.splice(n,1),this._events.removeListener&&this.emit("removeListener",h,c)}return this},y.prototype.removeAllListeners=function(h){var c,o;if(!this._events)return this;if(!this._events.removeListener)return arguments.length===0?this._events={}:this._events[h]&&delete this._events[h],this;if(arguments.length===0){for(c in this._events){if(c==="removeListener")continue;this.removeAllListeners(c)}return this.removeAllListeners("removeListener"),this._events={},this}if(o=this._events[h],m(o))this.removeListener(h,o);else if(o)for(;o.length;)this.removeListener(h,o[o.length-1]);return delete this._events[h],this},y.prototype.listeners=function(h){var c;return!this._events||!this._events[h]?c=[]:m(this._events[h])?c=[this._events[h]]:c=this._events[h].slice(),c},y.prototype.listenerCount=function(h){if(this._events){var c=this._events[h];if(m(c))return 1;if(c)return c.length}return 0},y.listenerCount=function(h,c){return h.listenerCount(c)};function m(h){return typeof h=="function"}function C(h){return typeof h=="number"}function p(h){return typeof h=="object"&&h!==null}function g(h){return h===void 0}},{}],193:[function(B,N,r){var y=B("http"),m=N.exports;for(var C in y)y.hasOwnProperty(C)&&(m[C]=y[C]);m.request=function(p,g){return p||(p={}),p.scheme="https",p.protocol="https:",y.request.call(this,p,g)}},{http:231}],194:[function(B,N,r){/*!
|
|
|
* humanize-ms - index.js
|
|
|
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
|
|
|
* MIT Licensed
|
|
|
*/"use strict";var y=B("util"),m=B("ms");N.exports=function(C){if(typeof C=="number")return C;var p=m(C);if(p===void 0){var g=new Error(y.format("humanize-ms(%j) result undefined",C));console.warn(g.stack)}return p}},{ms:204,util:243}],195:[function(B,N,r){r.read=function(y,m,C,p,g){var h,c,o=g*8-p-1,n=(1<<o)-1,t=n>>1,a=-7,d=C?g-1:0,i=C?-1:1,l=y[m+d];for(d+=i,h=l&(1<<-a)-1,l>>=-a,a+=o;a>0;h=h*256+y[m+d],d+=i,a-=8);for(c=h&(1<<-a)-1,h>>=-a,a+=p;a>0;c=c*256+y[m+d],d+=i,a-=8);if(h===0)h=1-t;else{if(h===n)return c?NaN:(l?-1:1)*Infinity;c=c+Math.pow(2,p),h=h-t}return(l?-1:1)*c*Math.pow(2,h-p)},r.write=function(y,m,C,p,g,h){var c,o,n,t=h*8-g-1,a=(1<<t)-1,d=a>>1,i=g===23?Math.pow(2,-24)-Math.pow(2,-77):0,l=p?0:h-1,e=p?1:-1,s=m<0||m===0&&1/m<0?1:0;for(m=Math.abs(m),isNaN(m)||m===Infinity?(o=isNaN(m)?1:0,c=a):(c=Math.floor(Math.log(m)/Math.LN2),m*(n=Math.pow(2,-c))<1&&(c--,n*=2),c+d>=1?m+=i/n:m+=i*Math.pow(2,1-d),m*n>=2&&(c++,n/=2),c+d>=a?(o=0,c=a):c+d>=1?(o=(m*n-1)*Math.pow(2,g),c=c+d):(o=m*Math.pow(2,d-1)*Math.pow(2,g),c=0));g>=8;y[C+l]=o&255,l+=e,o/=256,g-=8);for(c=c<<g|o,t+=g;t>0;y[C+l]=c&255,l+=e,c/=256,t-=8);y[C+l-e]|=s*128}},{}],196:[function(B,N,r){typeof Object.create=="function"?N.exports=function(m,C){C&&(m.super_=C,m.prototype=Object.create(C.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}))}:N.exports=function(m,C){if(C){m.super_=C;var p=function(){};p.prototype=C.prototype,m.prototype=new p,m.prototype.constructor=m}}},{}],197:[function(B,N,r){/*!
|
|
|
* Determine if an object is a Buffer
|
|
|
*
|
|
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
|
* @license MIT
|
|
|
*/N.exports=function(C){return C!=null&&(y(C)||m(C)||!!C._isBuffer)};function y(C){return!!C.constructor&&typeof C.constructor.isBuffer=="function"&&C.constructor.isBuffer(C)}function m(C){return typeof C.readFloatLE=="function"&&typeof C.slice=="function"&&y(C.slice(0,0))}},{}],198:[function(B,N,r){var y={}.toString;N.exports=Array.isArray||function(m){return y.call(m)=="[object Array]"}},{}],199:[function(require,module,exports){(function(global){(function(B,N){typeof exports=="object"&&typeof module!="undefined"?module.exports=N(B):typeof define=="function"&&define.amd?define(N):N(B)})(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(B){buffer=void 0}var b64chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b64tab=function(B){for(var N={},r=0,y=B.length;r<y;r++)N[B.charAt(r)]=r;return N}(b64chars),fromCharCode=String.fromCharCode,cb_utob=function(N){if(N.length<2){var r=N.charCodeAt(0);return r<128?N:r<2048?fromCharCode(192|r>>>6)+fromCharCode(128|r&63):fromCharCode(224|r>>>12&15)+fromCharCode(128|r>>>6&63)+fromCharCode(128|r&63)}else{var r=65536+(N.charCodeAt(0)-55296)*1024+(N.charCodeAt(1)-56320);return fromCharCode(240|r>>>18&7)+fromCharCode(128|r>>>12&63)+fromCharCode(128|r>>>6&63)+fromCharCode(128|r&63)}},re_utob=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,utob=function(N){return N.replace(re_utob,cb_utob)},cb_encode=function(N){var r=[0,2,1][N.length%3],y=N.charCodeAt(0)<<16|(N.length>1?N.charCodeAt(1):0)<<8|(N.length>2?N.charCodeAt(2):0),m=[b64chars.charAt(y>>>18),b64chars.charAt(y>>>12&63),r>=2?"=":b64chars.charAt(y>>>6&63),r>=1?"=":b64chars.charAt(y&63)];return m.join("")},btoa=global.btoa?function(B){return global.btoa(B)}:function(B){return B.replace(/[\s\S]{1,3}/g,cb_encode)},_encode=function(N){var r=Object.prototype.toString.call(N)==="[object Uint8Array]";return r?N.toString("base64"):btoa(utob(String(N)))},encode=function(N,r){return r?_encode(String(N)).replace(/[+\/]/g,function(y){return y=="+"?"-":"_"}).replace(/=/g,""):_encode(N)},encodeURI=function(N){return encode(N,!0)},re_btou=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,cb_btou=function(N){switch(N.length){case 4:var r=(7&N.charCodeAt(0))<<18|(63&N.charCodeAt(1))<<12|(63&N.charCodeAt(2))<<6|63&N.charCodeAt(3),y=r-65536;return fromCharCode((y>>>10)+55296)+fromCharCode((y&1023)+56320);case 3:return fromCharCode((15&N.charCodeAt(0))<<12|(63&N.charCodeAt(1))<<6|63&N.charCodeAt(2));default:return fromCharCode((31&N.charCodeAt(0))<<6|63&N.charCodeAt(1))}},btou=function(N){return N.replace(re_btou,cb_btou)},cb_decode=function(N){var r=N.length,y=r%4,m=(r>0?b64tab[N.charAt(0)]<<18:0)|(r>1?b64tab[N.charAt(1)]<<12:0)|(r>2?b64tab[N.charAt(2)]<<6:0)|(r>3?b64tab[N.charAt(3)]:0),C=[fromCharCode(m>>>16),fromCharCode(m>>>8&255),fromCharCode(m&255)];return C.length-=[0,0,2,1][y],C.join("")},_atob=global.atob?function(B){return global.atob(B)}:function(B){return B.replace(/\S{1,4}/g,cb_decode)},atob=function(N){return _atob(String(N).replace(/[^A-Za-z0-9\+\/]/g,""))},_decode=buffer?buffer.from&&Uint8Array&&buffer.from!==Uint8Array.from?function(B){return(B.constructor===buffer.constructor?B:buffer.from(B,"base64")).toString()}:function(B){return(B.constructor===buffer.constructor?B:new buffer(B,"base64")).toString()}:function(B){return btou(_atob(B))},decode=function(N){return _decode(String(N).replace(/[-_]/g,function(r){return r=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))},noConflict=function(){var N=global.Base64;return global.Base64=_Base64,N};if(global.Base64={VERSION:version,atob,btoa,fromBase64:decode,toBase64:encode,utob,encode,encodeURI,btou,decode,noConflict,__buffer__:buffer},typeof Object.defineProperty=="function"){var noEnum=function(N){return{value:N,enumerable:!1,writable:!0,configurable:!0}};global.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",noEnum(function(){return decode(this)})),Object.defineProperty(String.prototype,"toBase64",noEnum(function(B){return encode(this,B)})),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(B,N,r){/*!
|
|
|
* merge-descriptors
|
|
|
* Copyright(c) 2014 Jonathan Ong
|
|
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
|
* MIT Licensed
|
|
|
*/"use strict";N.exports=m;var y=Object.prototype.hasOwnProperty;function m(C,p,g){if(!C)throw new TypeError("argument dest is required");if(!p)throw new TypeError("argument src is required");return g===void 0&&(g=!0),Object.getOwnPropertyNames(p).forEach(function(c){if(!g&&y.call(C,c))return;var o=Object.getOwnPropertyDescriptor(p,c);Object.defineProperty(C,c,o)}),C}},{}],201:[function(B,N,r){"use strict";function y(){this._types=Object.create(null),this._extensions=Object.create(null);for(var m=0;m<arguments.length;m++)this.define(arguments[m]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}y.prototype.define=function(m,C){for(var p in m){var g=m[p].map(function(o){return o.toLowerCase()});p=p.toLowerCase();for(var h=0;h<g.length;h++){var c=g[h];if(c[0]=="*")continue;if(!C&&c in this._types)throw new Error('Attempt to change mapping for "'+c+'" extension from "'+this._types[c]+'" to "'+p+'". Pass `force=true` to allow this, otherwise remove "'+c+'" from the list of extensions for "'+p+'".');this._types[c]=p}if(C||!this._extensions[p]){var c=g[0];this._extensions[p]=c[0]!="*"?c:c.substr(1)}}},y.prototype.getType=function(m){m=String(m);var C=m.replace(/^.*[/\\]/,"").toLowerCase(),p=C.replace(/^.*\./,"").toLowerCase(),g=C.length<m.length,h=p.length<C.length-1;return(h||!g)&&this._types[p]||null},y.prototype.getExtension=function(m){return m=/^\s*([^;\s]*)/.test(m)&&RegExp.$1,m&&this._extensions[m.toLowerCase()]||null},N.exports=y},{}],202:[function(B,N,r){"use strict";var y=B("./Mime");N.exports=new y(B("./types/standard"))},{"./Mime":201,"./types/standard":203}],203:[function(B,N,r){N.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma","es"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/mrb-consumer+xml":["*xdf"],"application/mrb-publish+xml":["*xdf"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["*xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/ttml+xml":["ttml"],"application/urc-ressheet+xml":["rsheet"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-error+xml":["xer"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}},{}],204:[function(B,N,r){var y=1e3,m=y*60,C=m*60,p=C*24,g=p*7,h=p*365.25;N.exports=function(a,d){d=d||{};var i=typeof a;if(i==="string"&&a.length>0)return c(a);if(i==="number"&&isFinite(a))return d.long?n(a):o(a);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(a))};function c(a){if(a=String(a),a.length>100)return;var d=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(a);if(!d)return;var i=parseFloat(d[1]),l=(d[2]||"ms").toLowerCase();switch(l){case"years":case"year":case"yrs":case"yr":case"y":return i*h;case"weeks":case"week":case"w":return i*g;case"days":case"day":case"d":return i*p;case"hours":case"hour":case"hrs":case"hr":case"h":return i*C;case"minutes":case"minute":case"mins":case"min":case"m":return i*m;case"seconds":case"second":case"secs":case"sec":case"s":return i*y;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}function o(a){var d=Math.abs(a);return d>=p?Math.round(a/p)+"d":d>=C?Math.round(a/C)+"h":d>=m?Math.round(a/m)+"m":d>=y?Math.round(a/y)+"s":a+"ms"}function n(a){var d=Math.abs(a);return d>=p?t(a,d,p,"day"):d>=C?t(a,d,C,"hour"):d>=m?t(a,d,m,"minute"):d>=y?t(a,d,y,"second"):a+" ms"}function t(a,d,i,l){var e=d>=i*1.5;return Math.round(a/i)+" "+l+(e?"s":"")}},{}],205:[function(B,N,r){(function(y){function m(h,c){for(var o=0,n=h.length-1;n>=0;n--){var t=h[n];t==="."?h.splice(n,1):t===".."?(h.splice(n,1),o++):o&&(h.splice(n,1),o--)}if(c)for(;o--;o)h.unshift("..");return h}r.resolve=function(){for(var h="",c=!1,o=arguments.length-1;o>=-1&&!c;o--){var n=o>=0?arguments[o]:y.cwd();if(typeof n!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!n)continue;h=n+"/"+h,c=n.charAt(0)==="/"}return h=m(p(h.split("/"),function(t){return!!t}),!c).join("/"),(c?"/":"")+h||"."},r.normalize=function(h){var c=r.isAbsolute(h),o=g(h,-1)==="/";return h=m(p(h.split("/"),function(n){return!!n}),!c).join("/"),!h&&!c&&(h="."),h&&o&&(h+="/"),(c?"/":"")+h},r.isAbsolute=function(h){return h.charAt(0)==="/"},r.join=function(){var h=Array.prototype.slice.call(arguments,0);return r.normalize(p(h,function(c,o){if(typeof c!="string")throw new TypeError("Arguments to path.join must be strings");return c}).join("/"))},r.relative=function(h,c){h=r.resolve(h).substr(1),c=r.resolve(c).substr(1);function o(e){for(var s=0;s<e.length&&!(e[s]!=="");s++);for(var u=e.length-1;u>=0&&!(e[u]!=="");u--);return s>u?[]:e.slice(s,u-s+1)}for(var n=o(h.split("/")),t=o(c.split("/")),a=Math.min(n.length,t.length),d=a,i=0;i<a;i++)if(n[i]!==t[i]){d=i;break}for(var l=[],i=d;i<n.length;i++)l.push("..");return l=l.concat(t.slice(d)),l.join("/")},r.sep="/",r.delimiter=":",r.dirname=function(h){if(typeof h!="string"&&(h=h+""),h.length===0)return".";for(var c=h.charCodeAt(0),o=c===47,n=-1,t=!0,a=h.length-1;a>=1;--a)if(c=h.charCodeAt(a),c===47){if(!t){n=a;break}}else t=!1;return n===-1?o?"/":".":o&&n===1?"/":h.slice(0,n)};function C(h){typeof h!="string"&&(h=h+"");var c=0,o=-1,n=!0,t;for(t=h.length-1;t>=0;--t)if(h.charCodeAt(t)===47){if(!n){c=t+1;break}}else o===-1&&(n=!1,o=t+1);return o===-1?"":h.slice(c,o)}r.basename=function(h,c){var o=C(h);return c&&o.substr(-1*c.length)===c&&(o=o.substr(0,o.length-c.length)),o},r.extname=function(h){typeof h!="string"&&(h=h+"");for(var c=-1,o=0,n=-1,t=!0,a=0,d=h.length-1;d>=0;--d){var i=h.charCodeAt(d);if(i===47){if(!t){o=d+1;break}continue}n===-1&&(t=!1,n=d+1),i===46?c===-1?c=d:a!==1&&(a=1):c!==-1&&(a=-1)}return c===-1||n===-1||a===0||a===1&&c===n-1&&c===o+1?"":h.slice(c,n)};function p(h,c){if(h.filter)return h.filter(c);for(var o=[],n=0;n<h.length;n++)c(h[n],n,h)&&o.push(h[n]);return o}var g="ab".substr(-1)==="b"?function(h,c,o){return h.substr(c,o)}:function(h,c,o){return c<0&&(c=h.length+c),h.substr(c,o)}}).call(this,B("_process"))},{_process:208}],206:[function(B,N,r){(function(y){/*!
|
|
|
* 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 m={function:!0,object:!0},C=m[typeof window]&&window||this,p=C,g=m[typeof r]&&r,h=m[typeof N]&&N&&!N.nodeType&&N,c=g&&h&&typeof y=="object"&&y;c&&(c.global===c||c.window===c||c.self===c)&&(C=c);var o=Math.pow(2,53)-1,n=/\bOpera/,t=this,a=Object.prototype,d=a.hasOwnProperty,i=a.toString;function l(S){return S=String(S),S.charAt(0).toUpperCase()+S.slice(1)}function e(S,E,I){var O={"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 E&&I&&/^Win/i.test(S)&&!/^Windows Phone /i.test(S)&&(O=O[/[\d.]+$/.exec(S)])&&(S="Windows "+O),S=String(S),E&&I&&(S=S.replace(RegExp(E,"i"),I)),S=u(S.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]),S}function s(S,E){var I=-1,O=S?S.length:0;if(typeof O=="number"&&O>-1&&O<=o)for(;++I<O;)E(S[I],I,S);else f(S,E)}function u(S){return S=w(S),/^(?:webOS|i(?:OS|P))/.test(S)?S:l(S)}function f(S,E){for(var I in S)d.call(S,I)&&E(S[I],I,S)}function A(S){return S==null?l(S):i.call(S).slice(8,-1)}function v(S,E){var I=S!=null?typeof S[E]:"number";return!/^(?:boolean|number|string|undefined)$/.test(I)&&(I=="object"?!!S[E]:!0)}function x(S){return String(S).replace(/([ -])(?!$)/g,"$1?")}function b(S,E){var I=null;return s(S,function(O,F){I=E(I,O,F,S)}),I}function w(S){return String(S).replace(/^ +| +$/g,"")}function _(S){var E=C,I=S&&typeof S=="object"&&A(S)!="String";I&&(E=S,S=null);var O=E.navigator||{},F=O.userAgent||"";S||(S=F);var k=I||t==p,M=I?!!O.likeChrome:/\bChrome\b/.test(S)&&!/internal|\n/i.test(i.toString()),P="Object",V=I?P:"ScriptBridgingProxyObject",D=I?P:"Environment",H=I&&E.java?"JavaPackage":A(E.java),U=I?P:"RuntimeObject",z=/\bJava/.test(H)&&E.java,K=z&&A(E.environment)==D,G=z?"a":"\u03B1",X=z?"b":"\u03B2",Z=E.document||{},ee=E.operamini||E.opera,Se=n.test(Se=I&&ee?ee["[[Class]]"]:A(ee))?Se:ee=null,$,pe=S,xe=[],_e=null,Ue=S==F,ye=Ue&&ee&&typeof ee.version=="function"&&ee.version(),Be,Q=j([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),ie=me(["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"]),Ve=Le([{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"]),J=Y({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}}),W=ae(["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 j(Ie){return b(Ie,function(Ge,ut){return Ge||RegExp("\\b"+(ut.pattern||x(ut))+"\\b","i").exec(S)&&(ut.label||ut)})}function Y(Ie){return b(Ie,function(Ge,ut,wt){return Ge||(ut[Ve]||ut[/^[a-z]+(?: +[a-z]+\b)*/i.exec(Ve)]||RegExp("\\b"+x(wt)+"(?:\\b|\\w*\\d)","i").exec(S))&&wt})}function me(Ie){return b(Ie,function(Ge,ut){return Ge||RegExp("\\b"+(ut.pattern||x(ut))+"\\b","i").exec(S)&&(ut.label||ut)})}function ae(Ie){return b(Ie,function(Ge,ut){var wt=ut.pattern||x(ut);return!Ge&&(Ge=RegExp("\\b"+wt+"(?:/[\\d.]+|[ \\w.]*)","i").exec(S))&&(Ge=e(Ge,wt,ut.label||ut)),Ge})}function Le(Ie){return b(Ie,function(Ge,ut){var wt=ut.pattern||x(ut);return!Ge&&(Ge=RegExp("\\b"+wt+" *\\d+[.\\w_]*","i").exec(S)||RegExp("\\b"+wt+" *\\w+-[\\w]*","i").exec(S)||RegExp("\\b"+wt+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(S))&&((Ge=String(ut.label&&!RegExp(wt,"i").test(ut.label)?ut.label:Ge).split("/"))[1]&&!/[\d.]+/.test(Ge[0])&&(Ge[0]+=" "+Ge[1]),ut=ut.label||ut,Ge=u(Ge[0].replace(RegExp(wt,"i"),ut).replace(RegExp("; *(?:"+ut+"[_-])?","i")," ").replace(RegExp("("+ut+")[-_.]?(\\w)","i"),"$1 $2"))),Ge})}function Ee(Ie){return b(Ie,function(Ge,ut){return Ge||(RegExp(ut+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(S)||0)[1]||null})}function ne(){return this.description||""}if(Q&&(Q=[Q]),J&&!Ve&&(Ve=Le([J])),($=/\bGoogle TV\b/.exec(Ve))&&(Ve=$[0]),/\bSimulator\b/i.test(S)&&(Ve=(Ve?Ve+" ":"")+"Simulator"),ie=="Opera Mini"&&/\bOPiOS\b/.test(S)&&xe.push("running in Turbo/Uncompressed mode"),ie=="IE"&&/\blike iPhone OS\b/.test(S)?($=_(S.replace(/like iPhone OS/,"")),J=$.manufacturer,Ve=$.product):/^iP/.test(Ve)?(ie||(ie="Safari"),W="iOS"+(($=/ OS ([\d_]+)/i.exec(S))?" "+$[1].replace(/_/g,"."):"")):ie=="Konqueror"&&!/buntu/i.test(W)?W="Kubuntu":J&&J!="Google"&&(/Chrome/.test(ie)&&!/\bMobile Safari\b/i.test(S)||/\bVita\b/.test(Ve))||/\bAndroid\b/.test(W)&&/^Chrome/.test(ie)&&/\bVersion\//i.test(S)?(ie="Android Browser",W=/\bAndroid\b/.test(W)?W:"Android"):ie=="Silk"?(/\bMobi/i.test(S)||(W="Android",xe.unshift("desktop mode")),/Accelerated *= *true/i.test(S)&&xe.unshift("accelerated")):ie=="PaleMoon"&&($=/\bFirefox\/([\d.]+)\b/.exec(S))?xe.push("identifying as Firefox "+$[1]):ie=="Firefox"&&($=/\b(Mobile|Tablet|TV)\b/i.exec(S))?(W||(W="Firefox OS"),Ve||(Ve=$[1])):!ie||($=!/\bMinefield\b/i.test(S)&&/\b(?:Firefox|Safari)\b/.exec(ie))?(ie&&!Ve&&/[\/,]|^[^(]+?\)/.test(S.slice(S.indexOf($+"/")+8))&&(ie=null),($=Ve||J||W)&&(Ve||J||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(W))&&(ie=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(W)?W:$)+" Browser")):ie=="Electron"&&($=(/\bChrome\/([\d.]+)\b/.exec(S)||0)[1])&&xe.push("Chromium "+$),ye||(ye=Ee(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$))","Version",x(ie),"(?:Firefox|Minefield|NetFront)"])),($=Q=="iCab"&&parseFloat(ye)>3&&"WebKit"||/\bOpera\b/.test(ie)&&(/\bOPR\b/.test(S)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(S)&&!/^(?:Trident|EdgeHTML)$/.test(Q)&&"WebKit"||!Q&&/\bMSIE\b/i.test(S)&&(W=="Mac OS"?"Tasman":"Trident")||Q=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(ie)&&"NetFront")&&(Q=[$]),ie=="IE"&&($=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(S)||0)[1])?(ie+=" Mobile",W="Windows Phone "+(/\+$/.test($)?$:$+".x"),xe.unshift("desktop mode")):/\bWPDesktop\b/i.test(S)?(ie="IE Mobile",W="Windows Phone 8.x",xe.unshift("desktop mode"),ye||(ye=(/\brv:([\d.]+)/.exec(S)||0)[1])):ie!="IE"&&Q=="Trident"&&($=/\brv:([\d.]+)/.exec(S))&&(ie&&xe.push("identifying as "+ie+(ye?" "+ye:"")),ie="IE",ye=$[1]),Ue){if(v(E,"global"))if(z&&($=z.lang.System,pe=$.getProperty("os.arch"),W=W||$.getProperty("os.name")+" "+$.getProperty("os.version")),K){try{ye=E.require("ringo/engine").version.join("."),ie="RingoJS"}catch(Ie){($=E.system)&&$.global.system==E.system&&(ie="Narwhal",W||(W=$[0].os||null))}ie||(ie="Rhino")}else typeof E.process=="object"&&!E.process.browser&&($=E.process)&&(typeof $.versions=="object"&&(typeof $.versions.electron=="string"?(xe.push("Node "+$.versions.node),ie="Electron",ye=$.versions.electron):typeof $.versions.nw=="string"&&(xe.push("Chromium "+ye,"Node "+$.versions.node),ie="NW.js",ye=$.versions.nw)),ie||(ie="Node.js",pe=$.arch,W=$.platform,ye=/[\d.]+/.exec($.version),ye=ye?ye[0]:null));else A($=E.runtime)==V?(ie="Adobe AIR",W=$.flash.system.Capabilities.os):A($=E.phantom)==U?(ie="PhantomJS",ye=($=$.version||null)&&$.major+"."+$.minor+"."+$.patch):typeof Z.documentMode=="number"&&($=/\bTrident\/(\d+)/i.exec(S))?(ye=[ye,Z.documentMode],($=+$[1]+4)!=ye[1]&&(xe.push("IE "+ye[1]+" mode"),Q&&(Q[1]=""),ye[1]=$),ye=ie=="IE"?String(ye[1].toFixed(1)):ye[0]):typeof Z.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(ie)&&(xe.push("masking as "+ie+" "+ye),ie="IE",ye="11.0",Q=["Trident"],W="Windows");W=W&&u(W)}if(ye&&($=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(ye)||/(?:alpha|beta)(?: ?\d)?/i.exec(S+";"+(Ue&&O.appMinorVersion))||/\bMinefield\b/i.test(S)&&"a")&&(_e=/b/i.test($)?"beta":"alpha",ye=ye.replace(RegExp($+"\\+?$"),"")+(_e=="beta"?X:G)+(/\d+\+?/.exec($)||"")),ie=="Fennec"||ie=="Firefox"&&/\b(?:Android|Firefox OS)\b/.test(W))ie="Firefox Mobile";else if(ie=="Maxthon"&&ye)ye=ye.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(Ve))Ve=="Xbox 360"&&(W=null),Ve=="Xbox 360"&&/\bIEMobile\b/.test(S)&&xe.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(ie)||ie&&!Ve&&!/Browser|Mobi/.test(ie))&&(W=="Windows CE"||/Mobi/i.test(S)))ie+=" Mobile";else if(ie=="IE"&&Ue)try{E.external===null&&xe.unshift("platform preview")}catch(Ie){xe.unshift("embedded")}else(/\bBlackBerry\b/.test(Ve)||/\bBB10\b/.test(S))&&($=(RegExp(Ve.replace(/ +/g," *")+"/([.\\d]+)","i").exec(S)||0)[1]||ye)?($=[$,/BB10/.test(S)],W=($[1]?(Ve=null,J="BlackBerry"):"Device Software")+" "+$[0],ye=null):this!=f&&Ve!="Wii"&&(Ue&&ee||/Opera/.test(ie)&&/\b(?:MSIE|Firefox)\b/i.test(S)||ie=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(W)||ie=="IE"&&(W&&!/^Win/.test(W)&&ye>5.5||/\bWindows XP\b/.test(W)&&ye>8||ye==8&&!/\bTrident\b/.test(S)))&&!n.test($=_.call(f,S.replace(n,"")+";"))&&$.name&&($="ing as "+$.name+(($=$.version)?" "+$:""),n.test(ie)?(/\bIE\b/.test($)&&W=="Mac OS"&&(W=null),$="identify"+$):($="mask"+$,Se?ie=u(Se.replace(/([a-z])([A-Z])/g,"$1 $2")):ie="Opera",/\bIE\b/.test($)&&(W=null),Ue||(ye=null)),Q=["Presto"],xe.push($));($=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(S)||0)[1])&&($=[parseFloat($.replace(/\.(\d)$/,".0$1")),$],ie=="Safari"&&$[1].slice(-1)=="+"?(ie="WebKit Nightly",_e="alpha",ye=$[1].slice(0,-1)):(ye==$[1]||ye==($[2]=(/\bSafari\/([\d.]+\+?)/i.exec(S)||0)[1]))&&(ye=null),$[1]=(/\bChrome\/([\d.]+)/i.exec(S)||0)[1],$[0]==537.36&&$[2]==537.36&&parseFloat($[1])>=28&&Q=="WebKit"&&(Q=["Blink"]),!Ue||!M&&!$[1]?(Q&&(Q[1]="like Safari"),$=($=$[0],$<400?1:$<500?2:$<526?3:$<533?4:$<534?"4+":$<535?5:$<537?6:$<538?7:$<601?8:"8")):(Q&&(Q[1]="like Chrome"),$=$[1]||($=$[0],$<530?1:$<532?2:$<532.05?3:$<533?4:$<534.03?5:$<534.07?6:$<534.1?7:$<534.13?8:$<534.16?9:$<534.24?10:$<534.3?11:$<535.01?12:$<535.02?"13+":$<535.07?15:$<535.11?16:$<535.19?17:$<536.05?18:$<536.1?19:$<537.01?20:$<537.11?"21+":$<537.13?23:$<537.18?24:$<537.24?25:$<537.36?26:Q!="Blink"?"27":"28")),Q&&(Q[1]+=" "+($+=typeof $=="number"?".x":/[.+]/.test($)?"":"+")),ie=="Safari"&&(!ye||parseInt(ye)>45)&&(ye=$)),ie=="Opera"&&($=/\bzbov|zvav$/.exec(W))?(ie+=" ",xe.unshift("desktop mode"),$=="zvav"?(ie+="Mini",ye=null):ie+="Mobile",W=W.replace(RegExp(" *"+$+"$"),"")):ie=="Safari"&&/\bChrome\b/.exec(Q&&Q[1])&&(xe.unshift("desktop mode"),ie="Chrome Mobile",ye=null,/\bOS X\b/.test(W)?(J="Apple",W="iOS 4.3+"):W=null),ye&&ye.indexOf($=/[\d.]+$/.exec(W))==0&&S.indexOf("/"+$+"-")>-1&&(W=w(W.replace($,""))),Q&&!/\b(?:Avant|Nook)\b/.test(ie)&&(/Browser|Lunascape|Maxthon/.test(ie)||ie!="Safari"&&/^iOS/.test(W)&&/\bSafari\b/.test(Q[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test(ie)&&Q[1])&&(($=Q[Q.length-1])&&xe.push($)),xe.length&&(xe=["("+xe.join("; ")+")"]),J&&Ve&&Ve.indexOf(J)<0&&xe.push("on "+J),Ve&&xe.push((/^on /.test(xe[xe.length-1])?"":"on ")+Ve),W&&($=/ ([\d.+]+)$/.exec(W),Be=$&&W.charAt(W.length-$[0].length-1)=="/",W={architecture:32,family:$&&!Be?W.replace($[0],""):W,version:$?$[1]:null,toString:function(){var Ge=this.version;return this.family+(Ge&&!Be?" "+Ge:"")+(this.architecture==64?" 64-bit":"")}}),($=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(pe))&&!/\bi686\b/i.test(pe)?(W&&(W.architecture=64,W.family=W.family.replace(RegExp(" *"+$),"")),ie&&(/\bWOW64\b/i.test(S)||Ue&&/\w(?:86|32)$/.test(O.cpuClass||O.platform)&&!/\bWin64; x64\b/i.test(S))&&xe.unshift("32-bit")):W&&/^OS X/.test(W.family)&&ie=="Chrome"&&parseFloat(ye)>=39&&(W.architecture=64),S||(S=null);var ge={};return ge.description=S,ge.layout=Q&&Q[0],ge.manufacturer=J,ge.name=ie,ge.prerelease=_e,ge.product=Ve,ge.ua=S,ge.version=ie&&ye,ge.os=W||{architecture:null,family:null,version:null,toString:function(){return"null"}},ge.parse=_,ge.toString=ne,ge.version&&xe.unshift(ye),ge.name&&xe.unshift(ie),W&&ie&&!(W==String(W).split(" ")[0]&&(W==ie.split(" ")[0]||Ve))&&xe.push(Ve?"("+W+")":"on "+W),xe.length&&(ge.description=xe.join(" ")),ge}var T=_();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(C.platform=T,define(function(){return T})):g&&h?f(T,function(S,E){g[E]=S}):C.platform=T}).call(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],207:[function(B,N,r){(function(y){"use strict";typeof y=="undefined"||!y.version||y.version.indexOf("v0.")===0||y.version.indexOf("v1.")===0&&y.version.indexOf("v1.8.")!==0?N.exports={nextTick:m}:N.exports=y;function m(C,p,g,h){if(typeof C!="function")throw new TypeError('"callback" argument must be a function');var c=arguments.length,o,n;switch(c){case 0:case 1:return y.nextTick(C);case 2:return y.nextTick(function(){C.call(null,p)});case 3:return y.nextTick(function(){C.call(null,p,g)});case 4:return y.nextTick(function(){C.call(null,p,g,h)});default:for(o=new Array(c-1),n=0;n<o.length;)o[n++]=arguments[n];return y.nextTick(function(){C.apply(null,o)})}}}).call(this,B("_process"))},{_process:208}],208:[function(B,N,r){var y=N.exports={},m,C;function p(){throw new Error("setTimeout has not been defined")}function g(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?m=setTimeout:m=p}catch(s){m=p}try{typeof clearTimeout=="function"?C=clearTimeout:C=g}catch(s){C=g}})();function h(s){if(m===setTimeout)return setTimeout(s,0);if((m===p||!m)&&setTimeout)return m=setTimeout,setTimeout(s,0);try{return m(s,0)}catch(u){try{return m.call(null,s,0)}catch(f){return m.call(this,s,0)}}}function c(s){if(C===clearTimeout)return clearTimeout(s);if((C===g||!C)&&clearTimeout)return C=clearTimeout,clearTimeout(s);try{return C(s)}catch(u){try{return C.call(null,s)}catch(f){return C.call(this,s)}}}var o=[],n=!1,t,a=-1;function d(){if(!n||!t)return;n=!1,t.length?o=t.concat(o):a=-1,o.length&&i()}function i(){if(n)return;var s=h(d);n=!0;for(var u=o.length;u;){for(t=o,o=[];++a<u;)t&&t[a].run();a=-1,u=o.length}t=null,n=!1,c(s)}y.nextTick=function(s){var u=new Array(arguments.length-1);if(arguments.length>1)for(var f=1;f<arguments.length;f++)u[f-1]=arguments[f];o.push(new l(s,u)),o.length===1&&!n&&h(i)};function l(s,u){this.fun=s,this.array=u}l.prototype.run=function(){this.fun.apply(null,this.array)},y.title="browser",y.browser=!0,y.env={},y.argv=[],y.version="",y.versions={};function e(){}y.on=e,y.addListener=e,y.once=e,y.off=e,y.removeListener=e,y.removeAllListeners=e,y.emit=e,y.prependListener=e,y.prependOnceListener=e,y.listeners=function(s){return[]},y.binding=function(s){throw new Error("process.binding is not supported")},y.cwd=function(){return"/"},y.chdir=function(s){throw new Error("process.chdir is not supported")},y.umask=function(){return 0}},{}],209:[function(B,N,r){(function(y){/*! https://mths.be/punycode v1.4.1 by @mathias */(function(m){var C=typeof r=="object"&&r&&!r.nodeType&&r,p=typeof N=="object"&&N&&!N.nodeType&&N,g=typeof y=="object"&&y;(g.global===g||g.window===g||g.self===g)&&(m=g);var h,c=2147483647,o=36,n=1,t=26,a=38,d=700,i=72,l=128,e="-",s=/^xn--/,u=/[^\x20-\x7E]/,f=/[\x2E\u3002\uFF0E\uFF61]/g,A={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},v=o-n,x=Math.floor,b=String.fromCharCode,w;function _(H){throw new RangeError(A[H])}function T(H,U){for(var z=H.length,K=[];z--;)K[z]=U(H[z]);return K}function S(H,U){var z=H.split("@"),K="";z.length>1&&(K=z[0]+"@",H=z[1]),H=H.replace(f,".");var G=H.split("."),X=T(G,U).join(".");return K+X}function E(H){for(var U=[],z=0,K=H.length,G,X;z<K;)G=H.charCodeAt(z++),G>=55296&&G<=56319&&z<K?(X=H.charCodeAt(z++),(X&64512)==56320?U.push(((G&1023)<<10)+(X&1023)+65536):(U.push(G),z--)):U.push(G);return U}function I(H){return T(H,function(U){var z="";return U>65535&&(U-=65536,z+=b(U>>>10&1023|55296),U=56320|U&1023),z+=b(U),z}).join("")}function O(H){return H-48<10?H-22:H-65<26?H-65:H-97<26?H-97:o}function F(H,U){return H+22+75*(H<26)-((U!=0)<<5)}function k(H,U,z){var K=0;for(H=z?x(H/d):H>>1,H+=x(H/U);H>v*t>>1;K+=o)H=x(H/v);return x(K+(v+1)*H/(H+a))}function M(H){var U=[],z=H.length,K,G=0,X=l,Z=i,ee,Se,$,pe,xe,_e,Ue,ye,Be;for(ee=H.lastIndexOf(e),ee<0&&(ee=0),Se=0;Se<ee;++Se)H.charCodeAt(Se)>=128&&_("not-basic"),U.push(H.charCodeAt(Se));for($=ee>0?ee+1:0;$<z;){for(pe=G,xe=1,_e=o;!($>=z&&_("invalid-input"),Ue=O(H.charCodeAt($++)),(Ue>=o||Ue>x((c-G)/xe))&&_("overflow"),G+=Ue*xe,ye=_e<=Z?n:_e>=Z+t?t:_e-Z,Ue<ye);_e+=o)Be=o-ye,xe>x(c/Be)&&_("overflow"),xe*=Be;K=U.length+1,Z=k(G-pe,K,pe==0),x(G/K)>c-X&&_("overflow"),X+=x(G/K),G%=K,U.splice(G++,0,X)}return I(U)}function P(H){var U,z,K,G,X,Z,ee,Se,$,pe,xe,_e=[],Ue,ye,Be,Q;for(H=E(H),Ue=H.length,U=l,z=0,X=i,Z=0;Z<Ue;++Z)xe=H[Z],xe<128&&_e.push(b(xe));for(K=G=_e.length,G&&_e.push(e);K<Ue;){for(ee=c,Z=0;Z<Ue;++Z)xe=H[Z],xe>=U&&xe<ee&&(ee=xe);for(ye=K+1,ee-U>x((c-z)/ye)&&_("overflow"),z+=(ee-U)*ye,U=ee,Z=0;Z<Ue;++Z)if(xe=H[Z],xe<U&&++z>c&&_("overflow"),xe==U){for(Se=z,$=o;!(pe=$<=X?n:$>=X+t?t:$-X,Se<pe);$+=o)Q=Se-pe,Be=o-pe,_e.push(b(F(pe+Q%Be,0))),Se=x(Q/Be);_e.push(b(F(Se,0))),X=k(z,ye,K==G),z=0,++K}++z,++U}return _e.join("")}function V(H){return S(H,function(U){return s.test(U)?M(U.slice(4).toLowerCase()):U})}function D(H){return S(H,function(U){return u.test(U)?"xn--"+P(U):U})}if(h={version:"1.4.1",ucs2:{decode:E,encode:I},decode:M,encode:P,toASCII:D,toUnicode:V},typeof define=="function"&&typeof define.amd=="object"&&define.amd)define("punycode",function(){return h});else if(C&&p)if(N.exports==C)p.exports=h;else for(w in h)h.hasOwnProperty(w)&&(C[w]=h[w]);else m.punycode=h})(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],210:[function(B,N,r){"use strict";function y(C,p){return Object.prototype.hasOwnProperty.call(C,p)}N.exports=function(C,p,g,h){p=p||"&",g=g||"=";var c={};if(typeof C!="string"||C.length===0)return c;var o=/\+/g;C=C.split(p);var n=1e3;h&&typeof h.maxKeys=="number"&&(n=h.maxKeys);var t=C.length;n>0&&t>n&&(t=n);for(var a=0;a<t;++a){var d=C[a].replace(o,"%20"),i=d.indexOf(g),l,e,s,u;i>=0?(l=d.substr(0,i),e=d.substr(i+1)):(l=d,e=""),s=decodeURIComponent(l),u=decodeURIComponent(e),y(c,s)?m(c[s])?c[s].push(u):c[s]=[c[s],u]:c[s]=u}return c};var m=Array.isArray||function(C){return Object.prototype.toString.call(C)==="[object Array]"}},{}],211:[function(B,N,r){"use strict";var y=function(h){switch(typeof h){case"string":return h;case"boolean":return h?"true":"false";case"number":return isFinite(h)?h:"";default:return""}};N.exports=function(g,h,c,o){return h=h||"&",c=c||"=",g===null&&(g=void 0),typeof g=="object"?C(p(g),function(n){var t=encodeURIComponent(y(n))+c;return m(g[n])?C(g[n],function(a){return t+encodeURIComponent(y(a))}).join(h):t+encodeURIComponent(y(g[n]))}).join(h):o?encodeURIComponent(y(o))+c+encodeURIComponent(y(g)):""};var m=Array.isArray||function(g){return Object.prototype.toString.call(g)==="[object Array]"};function C(g,h){if(g.map)return g.map(h);for(var c=[],o=0;o<g.length;o++)c.push(h(g[o],o));return c}var p=Object.keys||function(g){var h=[];for(var c in g)Object.prototype.hasOwnProperty.call(g,c)&&h.push(c);return h}},{}],212:[function(B,N,r){"use strict";r.decode=r.parse=B("./decode"),r.encode=r.stringify=B("./encode")},{"./decode":210,"./encode":211}],213:[function(B,N,r){N.exports=B("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":214}],214:[function(B,N,r){"use strict";var y=B("babel-runtime/core-js/object/create"),m=g(y),C=B("babel-runtime/core-js/object/keys"),p=g(C);function g(u){return u&&u.__esModule?u:{default:u}}var h=B("process-nextick-args"),c=p.default||function(u){var f=[];for(var A in u)f.push(A);return f};N.exports=l;var o=(0,m.default)(B("core-util-is"));o.inherits=B("inherits");var n=B("./_stream_readable"),t=B("./_stream_writable");o.inherits(l,n);for(var a=c(t.prototype),d=0;d<a.length;d++){var i=a[d];l.prototype[i]||(l.prototype[i]=t.prototype[i])}function l(u){if(!(this instanceof l))return new l(u);n.call(this,u),t.call(this,u),u&&u.readable===!1&&(this.readable=!1),u&&u.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,u&&u.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",e)}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function e(){if(this.allowHalfOpen||this._writableState.ended)return;h.nextTick(s,this)}function s(u){u.end()}Object.defineProperty(l.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(f){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=f,this._writableState.destroyed=f}}),l.prototype._destroy=function(u,f){this.push(null),this.end(),h.nextTick(f,u)}},{"./_stream_readable":216,"./_stream_writable":218,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/keys":60,"core-util-is":189,inherits:196,"process-nextick-args":207}],215:[function(B,N,r){"use strict";var y=B("babel-runtime/core-js/object/create"),m=C(y);function C(c){return c&&c.__esModule?c:{default:c}}N.exports=h;var p=B("./_stream_transform"),g=(0,m.default)(B("core-util-is"));g.inherits=B("inherits"),g.inherits(h,p);function h(c){if(!(this instanceof h))return new h(c);p.call(this,c)}h.prototype._transform=function(c,o,n){n(null,c)}},{"./_stream_transform":217,"babel-runtime/core-js/object/create":55,"core-util-is":189,inherits:196}],216:[function(B,N,r){(function(y,m){"use strict";var C=B("babel-runtime/core-js/object/get-prototype-of"),p=c(C),g=B("babel-runtime/core-js/object/create"),h=c(g);function c(Q){return Q&&Q.__esModule?Q:{default:Q}}var o=B("process-nextick-args");N.exports=E;var n=B("isarray"),t;E.ReadableState=S;var a=B("events").EventEmitter,d=function(ie,Ve){return ie.listeners(Ve).length},i=B("./internal/streams/stream"),l=B("safe-buffer").Buffer,e=m.Uint8Array||function(){};function s(Q){return l.from(Q)}function u(Q){return l.isBuffer(Q)||Q instanceof e}var f=(0,h.default)(B("core-util-is"));f.inherits=B("inherits");var A=B("util"),v=void 0;A&&A.debuglog?v=A.debuglog("stream"):v=function(){};var x=B("./internal/streams/BufferList"),b=B("./internal/streams/destroy"),w;f.inherits(E,i);var _=["error","close","destroy","pause","resume"];function T(Q,ie,Ve){if(typeof Q.prependListener=="function")return Q.prependListener(ie,Ve);!Q._events||!Q._events[ie]?Q.on(ie,Ve):n(Q._events[ie])?Q._events[ie].unshift(Ve):Q._events[ie]=[Ve,Q._events[ie]]}function S(Q,ie){t=t||B("./_stream_duplex"),Q=Q||{};var Ve=ie instanceof t;this.objectMode=!!Q.objectMode,Ve&&(this.objectMode=this.objectMode||!!Q.readableObjectMode);var J=Q.highWaterMark,W=Q.readableHighWaterMark,j=this.objectMode?16:16*1024;J||J===0?this.highWaterMark=J:Ve&&(W||W===0)?this.highWaterMark=W:this.highWaterMark=j,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new x,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=Q.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Q.encoding&&(w||(w=B("string_decoder/").StringDecoder),this.decoder=new w(Q.encoding),this.encoding=Q.encoding)}function E(Q){if(t=t||B("./_stream_duplex"),!(this instanceof E))return new E(Q);this._readableState=new S(Q,this),this.readable=!0,Q&&(typeof Q.read=="function"&&(this._read=Q.read),typeof Q.destroy=="function"&&(this._destroy=Q.destroy)),i.call(this)}Object.defineProperty(E.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(ie){if(!this._readableState)return;this._readableState.destroyed=ie}}),E.prototype.destroy=b.destroy,E.prototype._undestroy=b.undestroy,E.prototype._destroy=function(Q,ie){this.push(null),ie(Q)},E.prototype.push=function(Q,ie){var Ve=this._readableState,J;return Ve.objectMode?J=!0:typeof Q=="string"&&(ie=ie||Ve.defaultEncoding,ie!==Ve.encoding&&(Q=l.from(Q,ie),ie=""),J=!0),I(this,Q,ie,!1,J)},E.prototype.unshift=function(Q){return I(this,Q,null,!0,!1)};function I(Q,ie,Ve,J,W){var j=Q._readableState;if(ie===null)j.reading=!1,D(Q,j);else{var Y;W||(Y=F(j,ie)),Y?Q.emit("error",Y):j.objectMode||ie&&ie.length>0?(typeof ie!="string"&&!j.objectMode&&(0,p.default)(ie)!==l.prototype&&(ie=s(ie)),J?j.endEmitted?Q.emit("error",new Error("stream.unshift() after end event")):O(Q,j,ie,!0):j.ended?Q.emit("error",new Error("stream.push() after EOF")):(j.reading=!1,j.decoder&&!Ve?(ie=j.decoder.write(ie),j.objectMode||ie.length!==0?O(Q,j,ie,!1):z(Q,j)):O(Q,j,ie,!1))):J||(j.reading=!1)}return k(j)}function O(Q,ie,Ve,J){ie.flowing&&ie.length===0&&!ie.sync?(Q.emit("data",Ve),Q.read(0)):(ie.length+=ie.objectMode?1:Ve.length,J?ie.buffer.unshift(Ve):ie.buffer.push(Ve),ie.needReadable&&H(Q)),z(Q,ie)}function F(Q,ie){var Ve;return!u(ie)&&typeof ie!="string"&&ie!==void 0&&!Q.objectMode&&(Ve=new TypeError("Invalid non-string/buffer chunk")),Ve}function k(Q){return!Q.ended&&(Q.needReadable||Q.length<Q.highWaterMark||Q.length===0)}E.prototype.isPaused=function(){return this._readableState.flowing===!1},E.prototype.setEncoding=function(Q){return w||(w=B("string_decoder/").StringDecoder),this._readableState.decoder=new w(Q),this._readableState.encoding=Q,this};var M=8388608;function P(Q){return Q>=M?Q=M:(Q--,Q|=Q>>>1,Q|=Q>>>2,Q|=Q>>>4,Q|=Q>>>8,Q|=Q>>>16,Q++),Q}function V(Q,ie){return Q<=0||ie.length===0&&ie.ended?0:ie.objectMode?1:Q!==Q?ie.flowing&&ie.length?ie.buffer.head.data.length:ie.length:(Q>ie.highWaterMark&&(ie.highWaterMark=P(Q)),Q<=ie.length?Q:ie.ended?ie.length:(ie.needReadable=!0,0))}E.prototype.read=function(Q){v("read",Q),Q=parseInt(Q,10);var ie=this._readableState,Ve=Q;if(Q!==0&&(ie.emittedReadable=!1),Q===0&&ie.needReadable&&(ie.length>=ie.highWaterMark||ie.ended))return v("read: emitReadable",ie.length,ie.ended),ie.length===0&&ie.ended?Ue(this):H(this),null;if(Q=V(Q,ie),Q===0&&ie.ended)return ie.length===0&&Ue(this),null;var J=ie.needReadable;v("need readable",J),(ie.length===0||ie.length-Q<ie.highWaterMark)&&(J=!0,v("length less than watermark",J)),ie.ended||ie.reading?(J=!1,v("reading or ended",J)):J&&(v("do read"),ie.reading=!0,ie.sync=!0,ie.length===0&&(ie.needReadable=!0),this._read(ie.highWaterMark),ie.sync=!1,ie.reading||(Q=V(Ve,ie)));var W;return Q>0?W=$(Q,ie):W=null,W===null?(ie.needReadable=!0,Q=0):ie.length-=Q,ie.length===0&&(ie.ended||(ie.needReadable=!0),Ve!==Q&&ie.ended&&Ue(this)),W!==null&&this.emit("data",W),W};function D(Q,ie){if(ie.ended)return;if(ie.decoder){var Ve=ie.decoder.end();Ve&&Ve.length&&(ie.buffer.push(Ve),ie.length+=ie.objectMode?1:Ve.length)}ie.ended=!0,H(Q)}function H(Q){var ie=Q._readableState;ie.needReadable=!1,ie.emittedReadable||(v("emitReadable",ie.flowing),ie.emittedReadable=!0,ie.sync?o.nextTick(U,Q):U(Q))}function U(Q){v("emit readable"),Q.emit("readable"),Se(Q)}function z(Q,ie){ie.readingMore||(ie.readingMore=!0,o.nextTick(K,Q,ie))}function K(Q,ie){for(var Ve=ie.length;!ie.reading&&!ie.flowing&&!ie.ended&&ie.length<ie.highWaterMark&&!(v("maybeReadMore read 0"),Q.read(0),Ve===ie.length);)Ve=ie.length;ie.readingMore=!1}E.prototype._read=function(Q){this.emit("error",new Error("_read() is not implemented"))},E.prototype.pipe=function(Q,ie){var Ve=this,J=this._readableState;switch(J.pipesCount){case 0:J.pipes=Q;break;case 1:J.pipes=[J.pipes,Q];break;default:J.pipes.push(Q);break}J.pipesCount+=1,v("pipe count=%d opts=%j",J.pipesCount,ie);var W=(!ie||ie.end!==!1)&&Q!==y.stdout&&Q!==y.stderr,j=W?me:wt;J.endEmitted?o.nextTick(j):Ve.once("end",j),Q.on("unpipe",Y);function Y(Pe,Dt){v("onunpipe"),Pe===Ve&&(Dt&&Dt.hasUnpiped===!1&&(Dt.hasUnpiped=!0,Ee()))}function me(){v("onend"),Q.end()}var ae=G(Ve);Q.on("drain",ae);var Le=!1;function Ee(){v("cleanup"),Q.removeListener("close",Ge),Q.removeListener("finish",ut),Q.removeListener("drain",ae),Q.removeListener("error",Ie),Q.removeListener("unpipe",Y),Ve.removeListener("end",me),Ve.removeListener("end",wt),Ve.removeListener("data",ge),Le=!0,J.awaitDrain&&(!Q._writableState||Q._writableState.needDrain)&&ae()}var ne=!1;Ve.on("data",ge);function ge(Pe){v("ondata"),ne=!1;var Dt=Q.write(Pe);Dt===!1&&!ne&&((J.pipesCount===1&&J.pipes===Q||J.pipesCount>1&&Be(J.pipes,Q)!==-1)&&!Le&&(v("false write response, pause",Ve._readableState.awaitDrain),Ve._readableState.awaitDrain++,ne=!0),Ve.pause())}function Ie(Pe){v("onerror",Pe),wt(),Q.removeListener("error",Ie),d(Q,"error")===0&&Q.emit("error",Pe)}T(Q,"error",Ie);function Ge(){Q.removeListener("finish",ut),wt()}Q.once("close",Ge);function ut(){v("onfinish"),Q.removeListener("close",Ge),wt()}Q.once("finish",ut);function wt(){v("unpipe"),Ve.unpipe(Q)}return Q.emit("pipe",Ve),J.flowing||(v("pipe resume"),Ve.resume()),Q};function G(Q){return function(){var ie=Q._readableState;v("pipeOnDrain",ie.awaitDrain),ie.awaitDrain&&ie.awaitDrain--,ie.awaitDrain===0&&d(Q,"data")&&(ie.flowing=!0,Se(Q))}}E.prototype.unpipe=function(Q){var ie=this._readableState,Ve={hasUnpiped:!1};if(ie.pipesCount===0)return this;if(ie.pipesCount===1)return Q&&Q!==ie.pipes?this:(Q||(Q=ie.pipes),ie.pipes=null,ie.pipesCount=0,ie.flowing=!1,Q&&Q.emit("unpipe",this,Ve),this);if(!Q){var J=ie.pipes,W=ie.pipesCount;ie.pipes=null,ie.pipesCount=0,ie.flowing=!1;for(var j=0;j<W;j++)J[j].emit("unpipe",this,Ve);return this}var Y=Be(ie.pipes,Q);return Y===-1?this:(ie.pipes.splice(Y,1),ie.pipesCount-=1,ie.pipesCount===1&&(ie.pipes=ie.pipes[0]),Q.emit("unpipe",this,Ve),this)},E.prototype.on=function(Q,ie){var Ve=i.prototype.on.call(this,Q,ie);if(Q==="data")this._readableState.flowing!==!1&&this.resume();else if(Q==="readable"){var J=this._readableState;!J.endEmitted&&!J.readableListening&&(J.readableListening=J.needReadable=!0,J.emittedReadable=!1,J.reading?J.length&&H(this):o.nextTick(X,this))}return Ve},E.prototype.addListener=E.prototype.on;function X(Q){v("readable nexttick read 0"),Q.read(0)}E.prototype.resume=function(){var Q=this._readableState;return Q.flowing||(v("resume"),Q.flowing=!0,Z(this,Q)),this};function Z(Q,ie){ie.resumeScheduled||(ie.resumeScheduled=!0,o.nextTick(ee,Q,ie))}function ee(Q,ie){ie.reading||(v("resume read 0"),Q.read(0)),ie.resumeScheduled=!1,ie.awaitDrain=0,Q.emit("resume"),Se(Q),ie.flowing&&!ie.reading&&Q.read(0)}E.prototype.pause=function(){return v("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(v("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function Se(Q){var ie=Q._readableState;for(v("flow",ie.flowing);ie.flowing&&Q.read()!==null;);}E.prototype.wrap=function(Q){var ie=this,Ve=this._readableState,J=!1;Q.on("end",function(){if(v("wrapped end"),Ve.decoder&&!Ve.ended){var Y=Ve.decoder.end();Y&&Y.length&&ie.push(Y)}ie.push(null)}),Q.on("data",function(Y){if(v("wrapped data"),Ve.decoder&&(Y=Ve.decoder.write(Y)),Ve.objectMode&&Y==null)return;if(!Ve.objectMode&&(!Y||!Y.length))return;var me=ie.push(Y);me||(J=!0,Q.pause())});for(var W in Q)this[W]===void 0&&typeof Q[W]=="function"&&(this[W]=function(Y){return function(){return Q[Y].apply(Q,arguments)}}(W));for(var j=0;j<_.length;j++)Q.on(_[j],this.emit.bind(this,_[j]));return this._read=function(Y){v("wrapped _read",Y),J&&(J=!1,Q.resume())},this},Object.defineProperty(E.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),E._fromList=$;function $(Q,ie){if(ie.length===0)return null;var Ve;return ie.objectMode?Ve=ie.buffer.shift():!Q||Q>=ie.length?(ie.decoder?Ve=ie.buffer.join(""):ie.buffer.length===1?Ve=ie.buffer.head.data:Ve=ie.buffer.concat(ie.length),ie.buffer.clear()):Ve=pe(Q,ie.buffer,ie.decoder),Ve}function pe(Q,ie,Ve){var J;return Q<ie.head.data.length?(J=ie.head.data.slice(0,Q),ie.head.data=ie.head.data.slice(Q)):Q===ie.head.data.length?J=ie.shift():J=Ve?xe(Q,ie):_e(Q,ie),J}function xe(Q,ie){var Ve=ie.head,J=1,W=Ve.data;for(Q-=W.length;Ve=Ve.next;){var j=Ve.data,Y=Q>j.length?j.length:Q;if(Y===j.length?W+=j:W+=j.slice(0,Q),Q-=Y,Q===0){Y===j.length?(++J,Ve.next?ie.head=Ve.next:ie.head=ie.tail=null):(ie.head=Ve,Ve.data=j.slice(Y));break}++J}return ie.length-=J,W}function _e(Q,ie){var Ve=l.allocUnsafe(Q),J=ie.head,W=1;for(J.data.copy(Ve),Q-=J.data.length;J=J.next;){var j=J.data,Y=Q>j.length?j.length:Q;if(j.copy(Ve,Ve.length-Q,0,Y),Q-=Y,Q===0){Y===j.length?(++W,J.next?ie.head=J.next:ie.head=ie.tail=null):(ie.head=J,J.data=j.slice(Y));break}++W}return ie.length-=W,Ve}function Ue(Q){var ie=Q._readableState;if(ie.length>0)throw new Error('"endReadable()" called on non-empty stream');ie.endEmitted||(ie.ended=!0,o.nextTick(ye,ie,Q))}function ye(Q,ie){!Q.endEmitted&&Q.length===0&&(Q.endEmitted=!0,ie.readable=!1,ie.emit("end"))}function Be(Q,ie){for(var Ve=0,J=Q.length;Ve<J;Ve++)if(Q[Ve]===ie)return Ve;return-1}}).call(this,B("_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(B,N,r){"use strict";var y=B("babel-runtime/core-js/object/create"),m=C(y);function C(t){return t&&t.__esModule?t:{default:t}}N.exports=c;var p=B("./_stream_duplex"),g=(0,m.default)(B("core-util-is"));g.inherits=B("inherits"),g.inherits(c,p);function h(t,a){var d=this._transformState;d.transforming=!1;var i=d.writecb;if(!i)return this.emit("error",new Error("write callback called multiple times"));d.writechunk=null,d.writecb=null,a!=null&&this.push(a),i(t);var l=this._readableState;l.reading=!1,(l.needReadable||l.length<l.highWaterMark)&&this._read(l.highWaterMark)}function c(t){if(!(this instanceof c))return new c(t);p.call(this,t),this._transformState={afterTransform:h.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&(typeof t.transform=="function"&&(this._transform=t.transform),typeof t.flush=="function"&&(this._flush=t.flush)),this.on("prefinish",o)}function o(){var t=this;typeof this._flush=="function"?this._flush(function(a,d){n(t,a,d)}):n(this,null,null)}c.prototype.push=function(t,a){return this._transformState.needTransform=!1,p.prototype.push.call(this,t,a)},c.prototype._transform=function(t,a,d){throw new Error("_transform() is not implemented")},c.prototype._write=function(t,a,d){var i=this._transformState;if(i.writecb=d,i.writechunk=t,i.writeencoding=a,!i.transforming){var l=this._readableState;(i.needTransform||l.needReadable||l.length<l.highWaterMark)&&this._read(l.highWaterMark)}},c.prototype._read=function(t){var a=this._transformState;a.writechunk!==null&&a.writecb&&!a.transforming?(a.transforming=!0,this._transform(a.writechunk,a.writeencoding,a.afterTransform)):a.needTransform=!0},c.prototype._destroy=function(t,a){var d=this;p.prototype._destroy.call(this,t,function(i){a(i),d.emit("close")})};function n(t,a,d){if(a)return t.emit("error",a);if(d!=null&&t.push(d),t._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(t._transformState.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}},{"./_stream_duplex":214,"babel-runtime/core-js/object/create":55,"core-util-is":189,inherits:196}],218:[function(B,N,r){(function(y,m){"use strict";var C=B("babel-runtime/core-js/object/define-property"),p=i(C),g=B("babel-runtime/core-js/symbol/has-instance"),h=i(g),c=B("babel-runtime/core-js/symbol"),o=i(c),n=B("babel-runtime/core-js/object/create"),t=i(n),a=B("babel-runtime/core-js/set-immediate"),d=i(a);function i(_e){return _e&&_e.__esModule?_e:{default:_e}}var l=B("process-nextick-args");N.exports=F;function e(_e,Ue,ye){this.chunk=_e,this.encoding=Ue,this.callback=ye,this.next=null}function s(_e){var Ue=this;this.next=null,this.entry=null,this.finish=function(){xe(Ue,_e)}}var u=!y.browser&&["v0.10","v0.9."].indexOf(y.version.slice(0,5))>-1?d.default:l.nextTick,f;F.WritableState=I;var A=(0,t.default)(B("core-util-is"));A.inherits=B("inherits");var v={deprecate:B("util-deprecate")},x=B("./internal/streams/stream"),b=B("safe-buffer").Buffer,w=m.Uint8Array||function(){};function _(_e){return b.from(_e)}function T(_e){return b.isBuffer(_e)||_e instanceof w}var S=B("./internal/streams/destroy");A.inherits(F,x);function E(){}function I(_e,Ue){f=f||B("./_stream_duplex"),_e=_e||{};var ye=Ue instanceof f;this.objectMode=!!_e.objectMode,ye&&(this.objectMode=this.objectMode||!!_e.writableObjectMode);var Be=_e.highWaterMark,Q=_e.writableHighWaterMark,ie=this.objectMode?16:16*1024;Be||Be===0?this.highWaterMark=Be:ye&&(Q||Q===0)?this.highWaterMark=Q:this.highWaterMark=ie,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 Ve=_e.decodeStrings===!1;this.decodeStrings=!Ve,this.defaultEncoding=_e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(J){z(Ue,J)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}I.prototype.getBuffer=function(){for(var Ue=this.bufferedRequest,ye=[];Ue;)ye.push(Ue),Ue=Ue.next;return ye},function(){try{Object.defineProperty(I.prototype,"buffer",{get:v.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(_e){}}();var O;typeof o.default=="function"&&h.default&&typeof Function.prototype[h.default]=="function"?(O=Function.prototype[h.default],(0,p.default)(F,h.default,{value:function(Ue){return O.call(this,Ue)?!0:this!==F?!1:Ue&&Ue._writableState instanceof I}})):O=function(Ue){return Ue instanceof this};function F(_e){if(f=f||B("./_stream_duplex"),!O.call(F,this)&&!(this instanceof f))return new F(_e);this._writableState=new I(_e,this),this.writable=!0,_e&&(typeof _e.write=="function"&&(this._write=_e.write),typeof _e.writev=="function"&&(this._writev=_e.writev),typeof _e.destroy=="function"&&(this._destroy=_e.destroy),typeof _e.final=="function"&&(this._final=_e.final)),x.call(this)}F.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function k(_e,Ue){var ye=new Error("write after end");_e.emit("error",ye),l.nextTick(Ue,ye)}function M(_e,Ue,ye,Be){var Q=!0,ie=!1;return ye===null?ie=new TypeError("May not write null values to stream"):typeof ye!="string"&&ye!==void 0&&!Ue.objectMode&&(ie=new TypeError("Invalid non-string/buffer chunk")),ie&&(_e.emit("error",ie),l.nextTick(Be,ie),Q=!1),Q}F.prototype.write=function(_e,Ue,ye){var Be=this._writableState,Q=!1,ie=!Be.objectMode&&T(_e);return ie&&!b.isBuffer(_e)&&(_e=_(_e)),typeof Ue=="function"&&(ye=Ue,Ue=null),ie?Ue="buffer":Ue||(Ue=Be.defaultEncoding),typeof ye!="function"&&(ye=E),Be.ended?k(this,ye):(ie||M(this,Be,_e,ye))&&(Be.pendingcb++,Q=V(this,Be,ie,_e,Ue,ye)),Q},F.prototype.cork=function(){var _e=this._writableState;_e.corked++},F.prototype.uncork=function(){var _e=this._writableState;_e.corked&&(_e.corked--,!_e.writing&&!_e.corked&&!_e.finished&&!_e.bufferProcessing&&_e.bufferedRequest&&X(this,_e))},F.prototype.setDefaultEncoding=function(Ue){if(typeof Ue=="string"&&(Ue=Ue.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Ue+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+Ue);return this._writableState.defaultEncoding=Ue,this};function P(_e,Ue,ye){return!_e.objectMode&&_e.decodeStrings!==!1&&typeof Ue=="string"&&(Ue=b.from(Ue,ye)),Ue}Object.defineProperty(F.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function V(_e,Ue,ye,Be,Q,ie){if(!ye){var Ve=P(Ue,Be,Q);Be!==Ve&&(ye=!0,Q="buffer",Be=Ve)}var J=Ue.objectMode?1:Be.length;Ue.length+=J;var W=Ue.length<Ue.highWaterMark;if(W||(Ue.needDrain=!0),Ue.writing||Ue.corked){var j=Ue.lastBufferedRequest;Ue.lastBufferedRequest={chunk:Be,encoding:Q,isBuf:ye,callback:ie,next:null},j?j.next=Ue.lastBufferedRequest:Ue.bufferedRequest=Ue.lastBufferedRequest,Ue.bufferedRequestCount+=1}else D(_e,Ue,!1,J,Be,Q,ie);return W}function D(_e,Ue,ye,Be,Q,ie,Ve){Ue.writelen=Be,Ue.writecb=Ve,Ue.writing=!0,Ue.sync=!0,ye?_e._writev(Q,Ue.onwrite):_e._write(Q,ie,Ue.onwrite),Ue.sync=!1}function H(_e,Ue,ye,Be,Q){--Ue.pendingcb,ye?(l.nextTick(Q,Be),l.nextTick($,_e,Ue),_e._writableState.errorEmitted=!0,_e.emit("error",Be)):(Q(Be),_e._writableState.errorEmitted=!0,_e.emit("error",Be),$(_e,Ue))}function U(_e){_e.writing=!1,_e.writecb=null,_e.length-=_e.writelen,_e.writelen=0}function z(_e,Ue){var ye=_e._writableState,Be=ye.sync,Q=ye.writecb;if(U(ye),Ue)H(_e,ye,Be,Ue,Q);else{var ie=Z(ye);!ie&&!ye.corked&&!ye.bufferProcessing&&ye.bufferedRequest&&X(_e,ye),Be?u(K,_e,ye,ie,Q):K(_e,ye,ie,Q)}}function K(_e,Ue,ye,Be){ye||G(_e,Ue),Ue.pendingcb--,Be(),$(_e,Ue)}function G(_e,Ue){Ue.length===0&&Ue.needDrain&&(Ue.needDrain=!1,_e.emit("drain"))}function X(_e,Ue){Ue.bufferProcessing=!0;var ye=Ue.bufferedRequest;if(_e._writev&&ye&&ye.next){var Be=Ue.bufferedRequestCount,Q=new Array(Be),ie=Ue.corkedRequestsFree;ie.entry=ye;for(var Ve=0,J=!0;ye;)Q[Ve]=ye,ye.isBuf||(J=!1),ye=ye.next,Ve+=1;Q.allBuffers=J,D(_e,Ue,!0,Ue.length,Q,"",ie.finish),Ue.pendingcb++,Ue.lastBufferedRequest=null,ie.next?(Ue.corkedRequestsFree=ie.next,ie.next=null):Ue.corkedRequestsFree=new s(Ue),Ue.bufferedRequestCount=0}else{for(;ye;){var W=ye.chunk,j=ye.encoding,Y=ye.callback,me=Ue.objectMode?1:W.length;if(D(_e,Ue,!1,me,W,j,Y),ye=ye.next,Ue.bufferedRequestCount--,Ue.writing)break}ye===null&&(Ue.lastBufferedRequest=null)}Ue.bufferedRequest=ye,Ue.bufferProcessing=!1}F.prototype._write=function(_e,Ue,ye){ye(new Error("_write() is not implemented"))},F.prototype._writev=null,F.prototype.end=function(_e,Ue,ye){var Be=this._writableState;typeof _e=="function"?(ye=_e,_e=null,Ue=null):typeof Ue=="function"&&(ye=Ue,Ue=null),_e!=null&&this.write(_e,Ue),Be.corked&&(Be.corked=1,this.uncork()),!Be.ending&&!Be.finished&&pe(this,Be,ye)};function Z(_e){return _e.ending&&_e.length===0&&_e.bufferedRequest===null&&!_e.finished&&!_e.writing}function ee(_e,Ue){_e._final(function(ye){Ue.pendingcb--,ye&&_e.emit("error",ye),Ue.prefinished=!0,_e.emit("prefinish"),$(_e,Ue)})}function Se(_e,Ue){!Ue.prefinished&&!Ue.finalCalled&&(typeof _e._final=="function"?(Ue.pendingcb++,Ue.finalCalled=!0,l.nextTick(ee,_e,Ue)):(Ue.prefinished=!0,_e.emit("prefinish")))}function $(_e,Ue){var ye=Z(Ue);return ye&&(Se(_e,Ue),Ue.pendingcb===0&&(Ue.finished=!0,_e.emit("finish"))),ye}function pe(_e,Ue,ye){Ue.ending=!0,$(_e,Ue),ye&&(Ue.finished?l.nextTick(ye):_e.once("finish",ye)),Ue.ended=!0,_e.writable=!1}function xe(_e,Ue,ye){var Be=_e.entry;for(_e.entry=null;Be;){var Q=Be.callback;Ue.pendingcb--,Q(ye),Be=Be.next}Ue.corkedRequestsFree?Ue.corkedRequestsFree.next=_e:Ue.corkedRequestsFree=_e}Object.defineProperty(F.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(Ue){if(!this._writableState)return;this._writableState.destroyed=Ue}}),F.prototype.destroy=S.destroy,F.prototype._undestroy=S.undestroy,F.prototype._destroy=function(_e,Ue){this.end(),Ue(_e)}}).call(this,B("_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(B,N,r){"use strict";function y(g,h){if(!(g instanceof h))throw new TypeError("Cannot call a class as a function")}var m=B("safe-buffer").Buffer,C=B("util");function p(g,h,c){g.copy(h,c)}N.exports=function(){function g(){y(this,g),this.head=null,this.tail=null,this.length=0}return g.prototype.push=function(c){var o={data:c,next:null};this.length>0?this.tail.next=o:this.head=o,this.tail=o,++this.length},g.prototype.unshift=function(c){var o={data:c,next:this.head};this.length===0&&(this.tail=o),this.head=o,++this.length},g.prototype.shift=function(){if(this.length===0)return;var c=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,c},g.prototype.clear=function(){this.head=this.tail=null,this.length=0},g.prototype.join=function(c){if(this.length===0)return"";for(var o=this.head,n=""+o.data;o=o.next;)n+=c+o.data;return n},g.prototype.concat=function(c){if(this.length===0)return m.alloc(0);if(this.length===1)return this.head.data;for(var o=m.allocUnsafe(c>>>0),n=this.head,t=0;n;)p(n.data,o,t),t+=n.data.length,n=n.next;return o},g}(),C&&C.inspect&&C.inspect.custom&&(N.exports.prototype[C.inspect.custom]=function(){var g=C.inspect({length:this.length});return this.constructor.name+" "+g})},{"safe-buffer":228,util:71}],220:[function(B,N,r){"use strict";var y=B("process-nextick-args");function m(g,h){var c=this,o=this._readableState&&this._readableState.destroyed,n=this._writableState&&this._writableState.destroyed;return o||n?(h?h(g):g&&(!this._writableState||!this._writableState.errorEmitted)&&y.nextTick(p,this,g),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(g||null,function(t){!h&&t?(y.nextTick(p,c,t),c._writableState&&(c._writableState.errorEmitted=!0)):h&&h(t)}),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 p(g,h){g.emit("error",h)}N.exports={destroy:m,undestroy:C}},{"process-nextick-args":207}],221:[function(B,N,r){"use strict";N.exports=B("events").EventEmitter},{events:192}],222:[function(B,N,r){N.exports=B("./readable").PassThrough},{"./readable":223}],223:[function(B,N,r){r=N.exports=B("./lib/_stream_readable.js"),r.Stream=r,r.Readable=r,r.Writable=B("./lib/_stream_writable.js"),r.Duplex=B("./lib/_stream_duplex.js"),r.Transform=B("./lib/_stream_transform.js"),r.PassThrough=B("./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(B,N,r){N.exports=B("./readable").Transform},{"./readable":223}],225:[function(B,N,r){N.exports=B("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":218}],226:[function(B,N,r){var y=function(){return this}()||Function("return this")(),m=y.regeneratorRuntime&&Object.getOwnPropertyNames(y).indexOf("regeneratorRuntime")>=0,C=m&&y.regeneratorRuntime;if(y.regeneratorRuntime=void 0,N.exports=B("./runtime"),m)y.regeneratorRuntime=C;else try{delete y.regeneratorRuntime}catch(p){y.regeneratorRuntime=void 0}},{"./runtime":227}],227:[function(B,N,r){!function(y){"use strict";var m=Object.prototype,C=m.hasOwnProperty,p,g=typeof Symbol=="function"?Symbol:{},h=g.iterator||"@@iterator",c=g.asyncIterator||"@@asyncIterator",o=g.toStringTag||"@@toStringTag",n=typeof N=="object",t=y.regeneratorRuntime;if(t){n&&(N.exports=t);return}t=y.regeneratorRuntime=n?N.exports:{};function a(V,D,H,U){var z=D&&D.prototype instanceof f?D:f,K=Object.create(z.prototype),G=new k(U||[]);return K._invoke=E(V,H,G),K}t.wrap=a;function d(V,D,H){try{return{type:"normal",arg:V.call(D,H)}}catch(U){return{type:"throw",arg:U}}}var i="suspendedStart",l="suspendedYield",e="executing",s="completed",u={};function f(){}function A(){}function v(){}var x={};x[h]=function(){return this};var b=Object.getPrototypeOf,w=b&&b(b(M([])));w&&w!==m&&C.call(w,h)&&(x=w);var _=v.prototype=f.prototype=Object.create(x);A.prototype=_.constructor=v,v.constructor=A,v[o]=A.displayName="GeneratorFunction";function T(V){["next","throw","return"].forEach(function(D){V[D]=function(H){return this._invoke(D,H)}})}t.isGeneratorFunction=function(V){var D=typeof V=="function"&&V.constructor;return D?D===A||(D.displayName||D.name)==="GeneratorFunction":!1},t.mark=function(V){return Object.setPrototypeOf?Object.setPrototypeOf(V,v):(V.__proto__=v,o in V||(V[o]="GeneratorFunction")),V.prototype=Object.create(_),V},t.awrap=function(V){return{__await:V}};function S(V){function D(z,K,G,X){var Z=d(V[z],V,K);if(Z.type==="throw")X(Z.arg);else{var ee=Z.arg,Se=ee.value;return Se&&typeof Se=="object"&&C.call(Se,"__await")?Promise.resolve(Se.__await).then(function($){D("next",$,G,X)},function($){D("throw",$,G,X)}):Promise.resolve(Se).then(function($){ee.value=$,G(ee)},X)}}var H;function U(z,K){function G(){return new Promise(function(X,Z){D(z,K,X,Z)})}return H=H?H.then(G,G):G()}this._invoke=U}T(S.prototype),S.prototype[c]=function(){return this},t.AsyncIterator=S,t.async=function(V,D,H,U){var z=new S(a(V,D,H,U));return t.isGeneratorFunction(D)?z:z.next().then(function(K){return K.done?K.value:z.next()})};function E(V,D,H){var U=i;return function(K,G){if(U===e)throw new Error("Generator is already running");if(U===s){if(K==="throw")throw G;return P()}for(H.method=K,H.arg=G;;){var X=H.delegate;if(X){var Z=I(X,H);if(Z){if(Z===u)continue;return Z}}if(H.method==="next")H.sent=H._sent=H.arg;else if(H.method==="throw"){if(U===i)throw U=s,H.arg;H.dispatchException(H.arg)}else H.method==="return"&&H.abrupt("return",H.arg);U=e;var ee=d(V,D,H);if(ee.type==="normal"){if(U=H.done?s:l,ee.arg===u)continue;return{value:ee.arg,done:H.done}}else ee.type==="throw"&&(U=s,H.method="throw",H.arg=ee.arg)}}}function I(V,D){var H=V.iterator[D.method];if(H===p){if(D.delegate=null,D.method==="throw"){if(V.iterator.return&&(D.method="return",D.arg=p,I(V,D),D.method==="throw"))return u;D.method="throw",D.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var U=d(H,V.iterator,D.arg);if(U.type==="throw")return D.method="throw",D.arg=U.arg,D.delegate=null,u;var z=U.arg;if(!z)return D.method="throw",D.arg=new TypeError("iterator result is not an object"),D.delegate=null,u;if(z.done)D[V.resultName]=z.value,D.next=V.nextLoc,D.method!=="return"&&(D.method="next",D.arg=p);else return z;return D.delegate=null,u}T(_),_[o]="Generator",_[h]=function(){return this},_.toString=function(){return"[object Generator]"};function O(V){var D={tryLoc:V[0]};1 in V&&(D.catchLoc=V[1]),2 in V&&(D.finallyLoc=V[2],D.afterLoc=V[3]),this.tryEntries.push(D)}function F(V){var D=V.completion||{};D.type="normal",delete D.arg,V.completion=D}function k(V){this.tryEntries=[{tryLoc:"root"}],V.forEach(O,this),this.reset(!0)}t.keys=function(V){var D=[];for(var H in V)D.push(H);return D.reverse(),function U(){for(;D.length;){var z=D.pop();if(z in V)return U.value=z,U.done=!1,U}return U.done=!0,U}};function M(V){if(V){var D=V[h];if(D)return D.call(V);if(typeof V.next=="function")return V;if(!isNaN(V.length)){var H=-1,U=function z(){for(;++H<V.length;)if(C.call(V,H))return z.value=V[H],z.done=!1,z;return z.value=p,z.done=!0,z};return U.next=U}}return{next:P}}t.values=M;function P(){return{value:p,done:!0}}k.prototype={constructor:k,reset:function(D){if(this.prev=0,this.next=0,this.sent=this._sent=p,this.done=!1,this.delegate=null,this.method="next",this.arg=p,this.tryEntries.forEach(F),!D)for(var H in this)H.charAt(0)==="t"&&C.call(this,H)&&!isNaN(+H.slice(1))&&(this[H]=p)},stop:function(){this.done=!0;var D=this.tryEntries[0],H=D.completion;if(H.type==="throw")throw H.arg;return this.rval},dispatchException:function(D){if(this.done)throw D;var H=this;function U(ee,Se){return G.type="throw",G.arg=D,H.next=ee,Se&&(H.method="next",H.arg=p),!!Se}for(var z=this.tryEntries.length-1;z>=0;--z){var K=this.tryEntries[z],G=K.completion;if(K.tryLoc==="root")return U("end");if(K.tryLoc<=this.prev){var X=C.call(K,"catchLoc"),Z=C.call(K,"finallyLoc");if(X&&Z){if(this.prev<K.catchLoc)return U(K.catchLoc,!0);if(this.prev<K.finallyLoc)return U(K.finallyLoc)}else if(X){if(this.prev<K.catchLoc)return U(K.catchLoc,!0)}else if(Z){if(this.prev<K.finallyLoc)return U(K.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(D,H){for(var U=this.tryEntries.length-1;U>=0;--U){var z=this.tryEntries[U];if(z.tryLoc<=this.prev&&C.call(z,"finallyLoc")&&this.prev<z.finallyLoc){var K=z;break}}K&&(D==="break"||D==="continue")&&K.tryLoc<=H&&H<=K.finallyLoc&&(K=null);var G=K?K.completion:{};return G.type=D,G.arg=H,K?(this.method="next",this.next=K.finallyLoc,u):this.complete(G)},complete:function(D,H){if(D.type==="throw")throw D.arg;return D.type==="break"||D.type==="continue"?this.next=D.arg:D.type==="return"?(this.rval=this.arg=D.arg,this.method="return",this.next="end"):D.type==="normal"&&H&&(this.next=H),u},finish:function(D){for(var H=this.tryEntries.length-1;H>=0;--H){var U=this.tryEntries[H];if(U.finallyLoc===D)return this.complete(U.completion,U.afterLoc),F(U),u}},catch:function(D){for(var H=this.tryEntries.length-1;H>=0;--H){var U=this.tryEntries[H];if(U.tryLoc===D){var z=U.completion;if(z.type==="throw"){var K=z.arg;F(U)}return K}}throw new Error("illegal catch attempt")},delegateYield:function(D,H,U){return this.delegate={iterator:M(D),resultName:H,nextLoc:U},this.method==="next"&&(this.arg=p),u}}}(function(){return this}()||Function("return this")())},{}],228:[function(B,N,r){var y=B("buffer"),m=y.Buffer;function C(g,h){for(var c in g)h[c]=g[c]}m.from&&m.alloc&&m.allocUnsafe&&m.allocUnsafeSlow?N.exports=y:(C(y,r),r.Buffer=p);function p(g,h,c){return m(g,h,c)}C(m,p),p.from=function(g,h,c){if(typeof g=="number")throw new TypeError("Argument must not be a number");return m(g,h,c)},p.alloc=function(g,h,c){if(typeof g!="number")throw new TypeError("Argument must be a number");var o=m(g);return h!==void 0?typeof c=="string"?o.fill(h,c):o.fill(h):o.fill(0),o},p.allocUnsafe=function(g){if(typeof g!="number")throw new TypeError("Argument must be a number");return m(g)},p.allocUnsafeSlow=function(g){if(typeof g!="number")throw new TypeError("Argument must be a number");return y.SlowBuffer(g)}},{buffer:73}],229:[function(B,N,r){(function(y){"use strict";var m=B("babel-runtime/core-js/string/from-code-point"),C=l(m),p=B("babel-runtime/core-js/json/stringify"),g=l(p),h=B("babel-runtime/helpers/typeof"),c=l(h),o=B("babel-runtime/core-js/object/define-property"),n=l(o),t=B("babel-runtime/core-js/object/keys"),a=l(t),d=B("babel-runtime/core-js/object/create"),i=l(d);function l(e){return e&&e.__esModule?e:{default:e}}(function(e){e.parser=function(j,Y){return new u(j,Y)},e.SAXParser=u,e.SAXStream=_,e.createStream=w,e.MAX_BUFFER_LENGTH=64*1024;var s=["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 u(j,Y){if(!(this instanceof u))return new u(j,Y);var me=this;A(me),me.q=me.c="",me.bufferCheckPosition=e.MAX_BUFFER_LENGTH,me.opt=Y||{},me.opt.lowercase=me.opt.lowercase||me.opt.lowercasetags,me.looseCase=me.opt.lowercase?"toLowerCase":"toUpperCase",me.tags=[],me.closed=me.closedRoot=me.sawRoot=!1,me.tag=me.error=null,me.strict=!!j,me.noscript=!!(j||me.opt.noscript),me.state=K.BEGIN,me.strictEntities=me.opt.strictEntities,me.ENTITIES=me.strictEntities?(0,i.default)(e.XML_ENTITIES):(0,i.default)(e.ENTITIES),me.attribList=[],me.opt.xmlns&&(me.ns=(0,i.default)(O)),me.trackPosition=me.opt.position!==!1,me.trackPosition&&(me.position=me.line=me.column=0),X(me,"onready")}i.default||(Object.create=function(j){function Y(){}Y.prototype=j;var me=new Y;return me}),a.default||(Object.keys=function(j){var Y=[];for(var me in j)j.hasOwnProperty(me)&&Y.push(me);return Y});function f(j){for(var Y=Math.max(e.MAX_BUFFER_LENGTH,10),me=0,ae=0,Le=s.length;ae<Le;ae++){var Ee=j[s[ae]].length;if(Ee>Y)switch(s[ae]){case"textNode":ee(j);break;case"cdata":Z(j,"oncdata",j.cdata),j.cdata="";break;case"script":Z(j,"onscript",j.script),j.script="";break;default:$(j,"Max buffer length exceeded: "+s[ae])}me=Math.max(me,Ee)}var ne=e.MAX_BUFFER_LENGTH-me;j.bufferCheckPosition=ne+j.position}function A(j){for(var Y=0,me=s.length;Y<me;Y++)j[s[Y]]=""}function v(j){ee(j),j.cdata!==""&&(Z(j,"oncdata",j.cdata),j.cdata=""),j.script!==""&&(Z(j,"onscript",j.script),j.script="")}u.prototype={end:function(){pe(this)},write:W,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){v(this)}};var x;try{x=B("stream").Stream}catch(j){x=function(){}}var b=e.EVENTS.filter(function(j){return j!=="error"&&j!=="end"});function w(j,Y){return new _(j,Y)}function _(j,Y){if(!(this instanceof _))return new _(j,Y);x.apply(this),this._parser=new u(j,Y),this.writable=!0,this.readable=!0;var me=this;this._parser.onend=function(){me.emit("end")},this._parser.onerror=function(ae){me.emit("error",ae),me._parser.error=null},this._decoder=null,b.forEach(function(ae){(0,n.default)(me,"on"+ae,{get:function(){return me._parser["on"+ae]},set:function(Ee){if(!Ee)return me.removeAllListeners(ae),me._parser["on"+ae]=Ee,Ee;me.on(ae,Ee)},enumerable:!0,configurable:!1})})}_.prototype=(0,i.default)(x.prototype,{constructor:{value:_}}),_.prototype.write=function(j){if(typeof y=="function"&&typeof y.isBuffer=="function"&&y.isBuffer(j)){if(!this._decoder){var Y=B("string_decoder").StringDecoder;this._decoder=new Y("utf8")}j=this._decoder.write(j)}return this._parser.write(j.toString()),this.emit("data",j),!0},_.prototype.end=function(j){return j&&j.length&&this.write(j),this._parser.end(),!0},_.prototype.on=function(j,Y){var me=this;return!me._parser["on"+j]&&b.indexOf(j)!==-1&&(me._parser["on"+j]=function(){var ae=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);ae.splice(0,0,j),me.emit.apply(me,ae)}),x.prototype.on.call(me,j,Y)};var T="[CDATA[",S="DOCTYPE",E="http://www.w3.org/XML/1998/namespace",I="http://www.w3.org/2000/xmlns/",O={xml:E,xmlns:I},F=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,k=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,M=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,P=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function V(j){return j===" "||j===`
|
|
|
`||j==="\r"||j===" "}function D(j){return j==='"'||j==="'"}function H(j){return j===">"||V(j)}function U(j,Y){return j.test(Y)}function z(j,Y){return!U(j,Y)}var K=0;e.STATE={BEGIN:K++,BEGIN_WHITESPACE:K++,TEXT:K++,TEXT_ENTITY:K++,OPEN_WAKA:K++,SGML_DECL:K++,SGML_DECL_QUOTED:K++,DOCTYPE:K++,DOCTYPE_QUOTED:K++,DOCTYPE_DTD:K++,DOCTYPE_DTD_QUOTED:K++,COMMENT_STARTING:K++,COMMENT:K++,COMMENT_ENDING:K++,COMMENT_ENDED:K++,CDATA:K++,CDATA_ENDING:K++,CDATA_ENDING_2:K++,PROC_INST:K++,PROC_INST_BODY:K++,PROC_INST_ENDING:K++,OPEN_TAG:K++,OPEN_TAG_SLASH:K++,ATTRIB:K++,ATTRIB_NAME:K++,ATTRIB_NAME_SAW_WHITE:K++,ATTRIB_VALUE:K++,ATTRIB_VALUE_QUOTED:K++,ATTRIB_VALUE_CLOSED:K++,ATTRIB_VALUE_UNQUOTED:K++,ATTRIB_VALUE_ENTITY_Q:K++,ATTRIB_VALUE_ENTITY_U:K++,CLOSE_TAG:K++,CLOSE_TAG_SAW_WHITE:K++,SCRIPT:K++,SCRIPT_ENDING:K++},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,a.default)(e.ENTITIES).forEach(function(j){var Y=e.ENTITIES[j],me=typeof Y=="number"?String.fromCharCode(Y):Y;e.ENTITIES[j]=me});for(var G in e.STATE)e.STATE[e.STATE[G]]=G;K=e.STATE;function X(j,Y,me){j[Y]&&j[Y](me)}function Z(j,Y,me){j.textNode&&ee(j),X(j,Y,me)}function ee(j){j.textNode=Se(j.opt,j.textNode),j.textNode&&X(j,"ontext",j.textNode),j.textNode=""}function Se(j,Y){return j.trim&&(Y=Y.trim()),j.normalize&&(Y=Y.replace(/\s+/g," ")),Y}function $(j,Y){return ee(j),j.trackPosition&&(Y+=`
|
|
|
Line: `+j.line+`
|
|
|
Column: `+j.column+`
|
|
|
Char: `+j.c),Y=new Error(Y),j.error=Y,X(j,"onerror",Y),j}function pe(j){return j.sawRoot&&!j.closedRoot&&xe(j,"Unclosed root tag"),j.state!==K.BEGIN&&j.state!==K.BEGIN_WHITESPACE&&j.state!==K.TEXT&&$(j,"Unexpected end"),ee(j),j.c="",j.closed=!0,X(j,"onend"),u.call(j,j.strict,j.opt),j}function xe(j,Y){if((typeof j=="undefined"?"undefined":(0,c.default)(j))!=="object"||!(j instanceof u))throw new Error("bad call to strictFail");j.strict&&$(j,Y)}function _e(j){j.strict||(j.tagName=j.tagName[j.looseCase]());var Y=j.tags[j.tags.length-1]||j,me=j.tag={name:j.tagName,attributes:{}};j.opt.xmlns&&(me.ns=Y.ns),j.attribList.length=0,Z(j,"onopentagstart",me)}function Ue(j,Y){var me=j.indexOf(":"),ae=me<0?["",j]:j.split(":"),Le=ae[0],Ee=ae[1];return Y&&j==="xmlns"&&(Le="xmlns",Ee=""),{prefix:Le,local:Ee}}function ye(j){if(j.strict||(j.attribName=j.attribName[j.looseCase]()),j.attribList.indexOf(j.attribName)!==-1||j.tag.attributes.hasOwnProperty(j.attribName)){j.attribName=j.attribValue="";return}if(j.opt.xmlns){var Y=Ue(j.attribName,!0),me=Y.prefix,ae=Y.local;if(me==="xmlns")if(ae==="xml"&&j.attribValue!==E)xe(j,"xml: prefix must be bound to "+E+`
|
|
|
Actual: `+j.attribValue);else if(ae==="xmlns"&&j.attribValue!==I)xe(j,"xmlns: prefix must be bound to "+I+`
|
|
|
Actual: `+j.attribValue);else{var Le=j.tag,Ee=j.tags[j.tags.length-1]||j;Le.ns===Ee.ns&&(Le.ns=(0,i.default)(Ee.ns)),Le.ns[ae]=j.attribValue}j.attribList.push([j.attribName,j.attribValue])}else j.tag.attributes[j.attribName]=j.attribValue,Z(j,"onattribute",{name:j.attribName,value:j.attribValue});j.attribName=j.attribValue=""}function Be(j,Y){if(j.opt.xmlns){var me=j.tag,ae=Ue(j.tagName);me.prefix=ae.prefix,me.local=ae.local,me.uri=me.ns[ae.prefix]||"",me.prefix&&!me.uri&&(xe(j,"Unbound namespace prefix: "+(0,g.default)(j.tagName)),me.uri=ae.prefix);var Le=j.tags[j.tags.length-1]||j;me.ns&&Le.ns!==me.ns&&(0,a.default)(me.ns).forEach(function(_t){Z(j,"onopennamespace",{prefix:_t,uri:me.ns[_t]})});for(var Ee=0,ne=j.attribList.length;Ee<ne;Ee++){var ge=j.attribList[Ee],Ie=ge[0],Ge=ge[1],ut=Ue(Ie,!0),wt=ut.prefix,Pe=ut.local,Dt=wt===""?"":me.ns[wt]||"",et={name:Ie,value:Ge,prefix:wt,local:Pe,uri:Dt};wt&&wt!=="xmlns"&&!Dt&&(xe(j,"Unbound namespace prefix: "+(0,g.default)(wt)),et.uri=wt),j.tag.attributes[Ie]=et,Z(j,"onattribute",et)}j.attribList.length=0}j.tag.isSelfClosing=!!Y,j.sawRoot=!0,j.tags.push(j.tag),Z(j,"onopentag",j.tag),Y||(!j.noscript&&j.tagName.toLowerCase()==="script"?j.state=K.SCRIPT:j.state=K.TEXT,j.tag=null,j.tagName=""),j.attribName=j.attribValue="",j.attribList.length=0}function Q(j){if(!j.tagName){xe(j,"Weird empty close tag."),j.textNode+="</>",j.state=K.TEXT;return}if(j.script){if(j.tagName!=="script"){j.script+="</"+j.tagName+">",j.tagName="",j.state=K.SCRIPT;return}Z(j,"onscript",j.script),j.script=""}var Y=j.tags.length,me=j.tagName;j.strict||(me=me[j.looseCase]());for(var ae=me;Y--;){var Le=j.tags[Y];if(Le.name!==ae)xe(j,"Unexpected close tag");else break}if(Y<0){xe(j,"Unmatched closing tag: "+j.tagName),j.textNode+="</"+j.tagName+">",j.state=K.TEXT;return}j.tagName=me;for(var Ee=j.tags.length;Ee-- >Y;){var ne=j.tag=j.tags.pop();j.tagName=j.tag.name,Z(j,"onclosetag",j.tagName);var ge={};for(var Ie in ne.ns)ge[Ie]=ne.ns[Ie];var Ge=j.tags[j.tags.length-1]||j;j.opt.xmlns&&ne.ns!==Ge.ns&&(0,a.default)(ne.ns).forEach(function(ut){var wt=ne.ns[ut];Z(j,"onclosenamespace",{prefix:ut,uri:wt})})}Y===0&&(j.closedRoot=!0),j.tagName=j.attribValue=j.attribName="",j.attribList.length=0,j.state=K.TEXT}function ie(j){var Y=j.entity,me=Y.toLowerCase(),ae,Le="";return j.ENTITIES[Y]?j.ENTITIES[Y]:j.ENTITIES[me]?j.ENTITIES[me]:(Y=me,Y.charAt(0)==="#"&&(Y.charAt(1)==="x"?(Y=Y.slice(2),ae=parseInt(Y,16),Le=ae.toString(16)):(Y=Y.slice(1),ae=parseInt(Y,10),Le=ae.toString(10))),Y=Y.replace(/^0+/,""),isNaN(ae)||Le.toLowerCase()!==Y?(xe(j,"Invalid character entity"),"&"+j.entity+";"):(0,C.default)(ae))}function Ve(j,Y){Y==="<"?(j.state=K.OPEN_WAKA,j.startTagPosition=j.position):V(Y)||(xe(j,"Non-whitespace before first tag."),j.textNode=Y,j.state=K.TEXT)}function J(j,Y){var me="";return Y<j.length&&(me=j.charAt(Y)),me}function W(j){var Y=this;if(this.error)throw this.error;if(Y.closed)return $(Y,"Cannot write after close. Assign an onready handler.");if(j===null)return pe(Y);(typeof j=="undefined"?"undefined":(0,c.default)(j))==="object"&&(j=j.toString());for(var me=0,ae="";!(ae=J(j,me++),Y.c=ae,!ae);){Y.trackPosition&&(Y.position++,ae===`
|
|
|
`?(Y.line++,Y.column=0):Y.column++);switch(Y.state){case K.BEGIN:if(Y.state=K.BEGIN_WHITESPACE,ae==="\uFEFF")continue;Ve(Y,ae);continue;case K.BEGIN_WHITESPACE:Ve(Y,ae);continue;case K.TEXT:if(Y.sawRoot&&!Y.closedRoot){for(var Le=me-1;ae&&ae!=="<"&&ae!=="&";)ae=J(j,me++),ae&&Y.trackPosition&&(Y.position++,ae===`
|
|
|
`?(Y.line++,Y.column=0):Y.column++);Y.textNode+=j.substring(Le,me-1)}ae==="<"&&!(Y.sawRoot&&Y.closedRoot&&!Y.strict)?(Y.state=K.OPEN_WAKA,Y.startTagPosition=Y.position):(!V(ae)&&(!Y.sawRoot||Y.closedRoot)&&xe(Y,"Text data outside of root node."),ae==="&"?Y.state=K.TEXT_ENTITY:Y.textNode+=ae);continue;case K.SCRIPT:ae==="<"?Y.state=K.SCRIPT_ENDING:Y.script+=ae;continue;case K.SCRIPT_ENDING:ae==="/"?Y.state=K.CLOSE_TAG:(Y.script+="<"+ae,Y.state=K.SCRIPT);continue;case K.OPEN_WAKA:if(ae==="!")Y.state=K.SGML_DECL,Y.sgmlDecl="";else if(!V(ae))if(U(F,ae))Y.state=K.OPEN_TAG,Y.tagName=ae;else if(ae==="/")Y.state=K.CLOSE_TAG,Y.tagName="";else if(ae==="?")Y.state=K.PROC_INST,Y.procInstName=Y.procInstBody="";else{if(xe(Y,"Unencoded <"),Y.startTagPosition+1<Y.position){var Ee=Y.position-Y.startTagPosition;ae=new Array(Ee).join(" ")+ae}Y.textNode+="<"+ae,Y.state=K.TEXT}continue;case K.SGML_DECL:(Y.sgmlDecl+ae).toUpperCase()===T?(Z(Y,"onopencdata"),Y.state=K.CDATA,Y.sgmlDecl="",Y.cdata=""):Y.sgmlDecl+ae==="--"?(Y.state=K.COMMENT,Y.comment="",Y.sgmlDecl=""):(Y.sgmlDecl+ae).toUpperCase()===S?(Y.state=K.DOCTYPE,(Y.doctype||Y.sawRoot)&&xe(Y,"Inappropriately located doctype declaration"),Y.doctype="",Y.sgmlDecl=""):ae===">"?(Z(Y,"onsgmldeclaration",Y.sgmlDecl),Y.sgmlDecl="",Y.state=K.TEXT):(D(ae)&&(Y.state=K.SGML_DECL_QUOTED),Y.sgmlDecl+=ae);continue;case K.SGML_DECL_QUOTED:ae===Y.q&&(Y.state=K.SGML_DECL,Y.q=""),Y.sgmlDecl+=ae;continue;case K.DOCTYPE:ae===">"?(Y.state=K.TEXT,Z(Y,"ondoctype",Y.doctype),Y.doctype=!0):(Y.doctype+=ae,ae==="["?Y.state=K.DOCTYPE_DTD:D(ae)&&(Y.state=K.DOCTYPE_QUOTED,Y.q=ae));continue;case K.DOCTYPE_QUOTED:Y.doctype+=ae,ae===Y.q&&(Y.q="",Y.state=K.DOCTYPE);continue;case K.DOCTYPE_DTD:Y.doctype+=ae,ae==="]"?Y.state=K.DOCTYPE:D(ae)&&(Y.state=K.DOCTYPE_DTD_QUOTED,Y.q=ae);continue;case K.DOCTYPE_DTD_QUOTED:Y.doctype+=ae,ae===Y.q&&(Y.state=K.DOCTYPE_DTD,Y.q="");continue;case K.COMMENT:ae==="-"?Y.state=K.COMMENT_ENDING:Y.comment+=ae;continue;case K.COMMENT_ENDING:ae==="-"?(Y.state=K.COMMENT_ENDED,Y.comment=Se(Y.opt,Y.comment),Y.comment&&Z(Y,"oncomment",Y.comment),Y.comment=""):(Y.comment+="-"+ae,Y.state=K.COMMENT);continue;case K.COMMENT_ENDED:ae!==">"?(xe(Y,"Malformed comment"),Y.comment+="--"+ae,Y.state=K.COMMENT):Y.state=K.TEXT;continue;case K.CDATA:ae==="]"?Y.state=K.CDATA_ENDING:Y.cdata+=ae;continue;case K.CDATA_ENDING:ae==="]"?Y.state=K.CDATA_ENDING_2:(Y.cdata+="]"+ae,Y.state=K.CDATA);continue;case K.CDATA_ENDING_2:ae===">"?(Y.cdata&&Z(Y,"oncdata",Y.cdata),Z(Y,"onclosecdata"),Y.cdata="",Y.state=K.TEXT):ae==="]"?Y.cdata+="]":(Y.cdata+="]]"+ae,Y.state=K.CDATA);continue;case K.PROC_INST:ae==="?"?Y.state=K.PROC_INST_ENDING:V(ae)?Y.state=K.PROC_INST_BODY:Y.procInstName+=ae;continue;case K.PROC_INST_BODY:if(!Y.procInstBody&&V(ae))continue;ae==="?"?Y.state=K.PROC_INST_ENDING:Y.procInstBody+=ae;continue;case K.PROC_INST_ENDING:ae===">"?(Z(Y,"onprocessinginstruction",{name:Y.procInstName,body:Y.procInstBody}),Y.procInstName=Y.procInstBody="",Y.state=K.TEXT):(Y.procInstBody+="?"+ae,Y.state=K.PROC_INST_BODY);continue;case K.OPEN_TAG:U(k,ae)?Y.tagName+=ae:(_e(Y),ae===">"?Be(Y):ae==="/"?Y.state=K.OPEN_TAG_SLASH:(V(ae)||xe(Y,"Invalid character in tag name"),Y.state=K.ATTRIB));continue;case K.OPEN_TAG_SLASH:ae===">"?(Be(Y,!0),Q(Y)):(xe(Y,"Forward-slash in opening tag not followed by >"),Y.state=K.ATTRIB);continue;case K.ATTRIB:if(V(ae))continue;ae===">"?Be(Y):ae==="/"?Y.state=K.OPEN_TAG_SLASH:U(F,ae)?(Y.attribName=ae,Y.attribValue="",Y.state=K.ATTRIB_NAME):xe(Y,"Invalid attribute name");continue;case K.ATTRIB_NAME:ae==="="?Y.state=K.ATTRIB_VALUE:ae===">"?(xe(Y,"Attribute without value"),Y.attribValue=Y.attribName,ye(Y),Be(Y)):V(ae)?Y.state=K.ATTRIB_NAME_SAW_WHITE:U(k,ae)?Y.attribName+=ae:xe(Y,"Invalid attribute name");continue;case K.ATTRIB_NAME_SAW_WHITE:if(ae==="=")Y.state=K.ATTRIB_VALUE;else{if(V(ae))continue;xe(Y,"Attribute without value"),Y.tag.attributes[Y.attribName]="",Y.attribValue="",Z(Y,"onattribute",{name:Y.attribName,value:""}),Y.attribName="",ae===">"?Be(Y):U(F,ae)?(Y.attribName=ae,Y.state=K.ATTRIB_NAME):(xe(Y,"Invalid attribute name"),Y.state=K.ATTRIB)}continue;case K.ATTRIB_VALUE:if(V(ae))continue;D(ae)?(Y.q=ae,Y.state=K.ATTRIB_VALUE_QUOTED):(xe(Y,"Unquoted attribute value"),Y.state=K.ATTRIB_VALUE_UNQUOTED,Y.attribValue=ae);continue;case K.ATTRIB_VALUE_QUOTED:if(ae!==Y.q){ae==="&"?Y.state=K.ATTRIB_VALUE_ENTITY_Q:Y.attribValue+=ae;continue}ye(Y),Y.q="",Y.state=K.ATTRIB_VALUE_CLOSED;continue;case K.ATTRIB_VALUE_CLOSED:V(ae)?Y.state=K.ATTRIB:ae===">"?Be(Y):ae==="/"?Y.state=K.OPEN_TAG_SLASH:U(F,ae)?(xe(Y,"No whitespace between attributes"),Y.attribName=ae,Y.attribValue="",Y.state=K.ATTRIB_NAME):xe(Y,"Invalid attribute name");continue;case K.ATTRIB_VALUE_UNQUOTED:if(!H(ae)){ae==="&"?Y.state=K.ATTRIB_VALUE_ENTITY_U:Y.attribValue+=ae;continue}ye(Y),ae===">"?Be(Y):Y.state=K.ATTRIB;continue;case K.CLOSE_TAG:if(Y.tagName)ae===">"?Q(Y):U(k,ae)?Y.tagName+=ae:Y.script?(Y.script+="</"+Y.tagName,Y.tagName="",Y.state=K.SCRIPT):(V(ae)||xe(Y,"Invalid tagname in closing tag"),Y.state=K.CLOSE_TAG_SAW_WHITE);else{if(V(ae))continue;z(F,ae)?Y.script?(Y.script+="</"+ae,Y.state=K.SCRIPT):xe(Y,"Invalid tagname in closing tag."):Y.tagName=ae}continue;case K.CLOSE_TAG_SAW_WHITE:if(V(ae))continue;ae===">"?Q(Y):xe(Y,"Invalid characters in closing tag");continue;case K.TEXT_ENTITY:case K.ATTRIB_VALUE_ENTITY_Q:case K.ATTRIB_VALUE_ENTITY_U:var ne,ge;switch(Y.state){case K.TEXT_ENTITY:ne=K.TEXT,ge="textNode";break;case K.ATTRIB_VALUE_ENTITY_Q:ne=K.ATTRIB_VALUE_QUOTED,ge="attribValue";break;case K.ATTRIB_VALUE_ENTITY_U:ne=K.ATTRIB_VALUE_UNQUOTED,ge="attribValue";break}ae===";"?(Y[ge]+=ie(Y),Y.entity="",Y.state=ne):U(Y.entity.length?P:M,ae)?Y.entity+=ae:(xe(Y,"Invalid character in entity name"),Y[ge]+="&"+Y.entity+ae,Y.entity="",Y.state=ne);continue;default:throw new Error(Y,"Unknown state: "+Y.state)}}return Y.position>=Y.bufferCheckPosition&&f(Y),Y}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */C.default||function(){var j=String.fromCharCode,Y=Math.floor,me=function(){var Le=16384,Ee=[],ne,ge,Ie=-1,Ge=arguments.length;if(!Ge)return"";for(var ut="";++Ie<Ge;){var wt=Number(arguments[Ie]);if(!isFinite(wt)||wt<0||wt>1114111||Y(wt)!==wt)throw RangeError("Invalid code point: "+wt);wt<=65535?Ee.push(wt):(wt-=65536,ne=(wt>>10)+55296,ge=wt%1024+56320,Ee.push(ne,ge)),(Ie+1===Ge||Ee.length>Le)&&(ut+=j.apply(null,Ee),Ee.length=0)}return ut};n.default?Object.defineProperty(String,"fromCodePoint",{value:me,configurable:!0,writable:!0}):String.fromCodePoint=me}()})(typeof r=="undefined"?(void 0).sax={}:r)}).call(this,B("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(B,N,r){N.exports=C;var y=B("events").EventEmitter,m=B("inherits");m(C,y),C.Readable=B("readable-stream/readable.js"),C.Writable=B("readable-stream/writable.js"),C.Duplex=B("readable-stream/duplex.js"),C.Transform=B("readable-stream/transform.js"),C.PassThrough=B("readable-stream/passthrough.js"),C.Stream=C;function C(){y.call(this)}C.prototype.pipe=function(p,g){var h=this;function c(l){p.writable&&(p.write(l)===!1&&h.pause&&h.pause())}h.on("data",c);function o(){h.readable&&h.resume&&h.resume()}p.on("drain",o),!p._isStdio&&(!g||g.end!==!1)&&(h.on("end",t),h.on("close",a));var n=!1;function t(){if(n)return;n=!0,p.end()}function a(){if(n)return;n=!0,typeof p.destroy=="function"&&p.destroy()}function d(l){if(i(),y.listenerCount(this,"error")===0)throw l}h.on("error",d),p.on("error",d);function i(){h.removeListener("data",c),p.removeListener("drain",o),h.removeListener("end",t),h.removeListener("close",a),h.removeListener("error",d),p.removeListener("error",d),h.removeListener("end",i),h.removeListener("close",i),p.removeListener("close",i)}return h.on("end",i),h.on("close",i),p.on("close",i),p.emit("pipe",h),p}},{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(B,N,r){(function(y){var m=B("./lib/request"),C=B("./lib/response"),p=B("xtend"),g=B("builtin-status-codes"),h=B("url"),c=r;c.request=function(o,n){typeof o=="string"?o=h.parse(o):o=p(o);var t=y.location.protocol.search(/^https?:$/)===-1?"http:":"",a=o.protocol||t,d=o.hostname||o.host,i=o.port,l=o.path||"/";d&&d.indexOf(":")!==-1&&(d="["+d+"]"),o.url=(d?a+"//"+d:"")+(i?":"+i:"")+l,o.method=(o.method||"GET").toUpperCase(),o.headers=o.headers||{};var e=new m(o);return n&&e.on("response",n),e},c.get=function(n,t){var a=c.request(n,t);return a.end(),a},c.ClientRequest=m,c.IncomingMessage=C.IncomingMessage,c.Agent=function(){},c.Agent.defaultMaxSockets=4,c.globalAgent=new c.Agent,c.STATUS_CODES=g,c.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./lib/request":233,"./lib/response":234,"builtin-status-codes":74,url:238,xtend:283}],232:[function(B,N,r){(function(y){"use strict";r.fetch=c(y.fetch)&&c(y.ReadableStream),r.writableStream=c(y.WritableStream),r.abortController=c(y.AbortController),r.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),r.blobConstructor=!0}catch(o){}var m;function C(){if(m!==void 0)return m;if(y.XMLHttpRequest){m=new y.XMLHttpRequest;try{m.open("GET",y.XDomainRequest?"/":"https://example.com")}catch(o){m=null}}else m=null;return m}function p(o){var n=C();if(!n)return!1;try{return n.responseType=o,n.responseType===o}catch(t){}return!1}var g=typeof y.ArrayBuffer!="undefined",h=g&&c(y.ArrayBuffer.prototype.slice);r.arraybuffer=r.fetch||g&&p("arraybuffer"),r.msstream=!r.fetch&&h&&p("ms-stream"),r.mozchunkedarraybuffer=!r.fetch&&g&&p("moz-chunked-arraybuffer"),r.overrideMimeType=r.fetch||(C()?c(C().overrideMimeType):!1),r.vbArray=c(y.VBArray);function c(o){return typeof o=="function"}m=null}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],233:[function(B,N,r){(function(y,m,C){"use strict";var p=B("babel-runtime/core-js/object/keys"),g=h(p);function h(f){return f&&f.__esModule?f:{default:f}}var c=B("./capability"),o=B("inherits"),n=B("./response"),t=B("readable-stream"),a=B("to-arraybuffer"),d=n.IncomingMessage,i=n.readyStates;function l(f,A){return c.fetch&&A?"fetch":c.mozchunkedarraybuffer?"moz-chunked-arraybuffer":c.msstream?"ms-stream":c.arraybuffer&&f?"arraybuffer":c.vbArray&&f?"text:vbarray":"text"}var e=N.exports=function(f){var A=this;t.Writable.call(A),A._opts=f,A._body=[],A._headers={},f.auth&&A.setHeader("Authorization","Basic "+new C(f.auth).toString("base64")),(0,g.default)(f.headers).forEach(function(b){A.setHeader(b,f.headers[b])});var v,x=!0;if(f.mode==="disable-fetch"||"requestTimeout"in f&&!c.abortController)x=!1,v=!0;else if(f.mode==="prefer-streaming")v=!1;else if(f.mode==="allow-wrong-content-type")v=!c.overrideMimeType;else if(!f.mode||f.mode==="default"||f.mode==="prefer-fast")v=!0;else throw new Error("Invalid value for opts.mode");A._mode=l(v,x),A._fetchTimer=null,A.on("finish",function(){A._onFinish()})};o(e,t.Writable),e.prototype.setHeader=function(f,A){var v=this,x=f.toLowerCase();if(u.indexOf(x)!==-1)return;v._headers[x]={name:f,value:A}},e.prototype.getHeader=function(f){var A=this._headers[f.toLowerCase()];return A?A.value:null},e.prototype.removeHeader=function(f){var A=this;delete A._headers[f.toLowerCase()]},e.prototype._onFinish=function(){var f=this;if(f._destroyed)return;var A=f._opts,v=f._headers,x=null;A.method!=="GET"&&A.method!=="HEAD"&&(c.arraybuffer?x=a(C.concat(f._body)):c.blobConstructor?x=new m.Blob(f._body.map(function(E){return a(E)}),{type:(v["content-type"]||{}).value||""}):x=C.concat(f._body).toString());var b=[];if((0,g.default)(v).forEach(function(E){var I=v[E].name,O=v[E].value;Array.isArray(O)?O.forEach(function(F){b.push([I,F])}):b.push([I,O])}),f._mode==="fetch"){var w=null,_=null;if(c.abortController){var T=new AbortController;w=T.signal,f._fetchAbortController=T,"requestTimeout"in A&&A.requestTimeout!==0&&(f._fetchTimer=m.setTimeout(function(){f.emit("requestTimeout"),f._fetchAbortController&&f._fetchAbortController.abort()},A.requestTimeout))}m.fetch(f._opts.url,{method:f._opts.method,headers:b,body:x||void 0,mode:"cors",credentials:A.withCredentials?"include":"same-origin",signal:w}).then(function(E){f._fetchResponse=E,f._connect()},function(E){m.clearTimeout(f._fetchTimer),f._destroyed||f.emit("error",E)})}else{var S=f._xhr=new m.XMLHttpRequest;try{S.open(f._opts.method,f._opts.url,!0)}catch(E){y.nextTick(function(){f.emit("error",E)});return}"responseType"in S&&(S.responseType=f._mode.split(":")[0]),"withCredentials"in S&&(S.withCredentials=!!A.withCredentials),f._mode==="text"&&"overrideMimeType"in S&&S.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in A&&(S.timeout=A.requestTimeout,S.ontimeout=function(){f.emit("requestTimeout")}),b.forEach(function(E){S.setRequestHeader(E[0],E[1])}),f._response=null,S.onreadystatechange=function(){switch(S.readyState){case i.LOADING:case i.DONE:f._onXHRProgress();break}},f._mode==="moz-chunked-arraybuffer"&&(S.onprogress=function(){f._onXHRProgress()}),S.onerror=function(){if(f._destroyed)return;f.emit("error",new Error("XHR error"))};try{S.send(x)}catch(E){y.nextTick(function(){f.emit("error",E)});return}}};function s(f){try{var A=f.status;return A!==null&&A!==0}catch(v){return!1}}e.prototype._onXHRProgress=function(){var f=this;if(!s(f._xhr)||f._destroyed)return;f._response||f._connect(),f._response._onXHRProgress()},e.prototype._connect=function(){var f=this;if(f._destroyed)return;f._response=new d(f._xhr,f._fetchResponse,f._mode,f._fetchTimer),f._response.on("error",function(A){f.emit("error",A)}),f.emit("response",f._response)},e.prototype._write=function(f,A,v){var x=this;x._body.push(f),v()},e.prototype.abort=e.prototype.destroy=function(){var f=this;f._destroyed=!0,m.clearTimeout(f._fetchTimer),f._response&&(f._response._destroyed=!0),f._xhr?f._xhr.abort():f._fetchAbortController&&f._fetchAbortController.abort()},e.prototype.end=function(f,A,v){var x=this;typeof f=="function"&&(v=f,f=void 0),t.Writable.prototype.end.call(x,f,A,v)},e.prototype.flushHeaders=function(){},e.prototype.setTimeout=function(){},e.prototype.setNoDelay=function(){},e.prototype.setSocketKeepAlive=function(){};var u=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this,B("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},B("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(B,N,r){(function(y,m,C){"use strict";var p=B("babel-runtime/core-js/promise"),g=h(p);function h(d){return d&&d.__esModule?d:{default:d}}var c=B("./capability"),o=B("inherits"),n=B("readable-stream"),t=r.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},a=r.IncomingMessage=function(d,i,l,e){var s=this;if(n.Readable.call(s),s._mode=l,s.headers={},s.rawHeaders=[],s.trailers={},s.rawTrailers=[],s.on("end",function(){y.nextTick(function(){s.emit("close")})}),l==="fetch"){var u=function w(){A.read().then(function(_){if(s._destroyed)return;if(_.done){m.clearTimeout(e),s.push(null);return}s.push(new C(_.value)),w()}).catch(function(_){m.clearTimeout(e),s._destroyed||s.emit("error",_)})};if(s._fetchResponse=i,s.url=i.url,s.statusCode=i.status,s.statusMessage=i.statusText,i.headers.forEach(function(w,_){s.headers[_.toLowerCase()]=w,s.rawHeaders.push(_,w)}),c.writableStream){var f=new WritableStream({write:function(_){return new g.default(function(T,S){s._destroyed?S():s.push(new C(_))?T():s._resumeFetch=T})},close:function(){m.clearTimeout(e),s._destroyed||s.push(null)},abort:function(_){s._destroyed||s.emit("error",_)}});try{i.body.pipeTo(f).catch(function(w){m.clearTimeout(e),s._destroyed||s.emit("error",w)});return}catch(w){}}var A=i.body.getReader();u()}else{s._xhr=d,s._pos=0,s.url=d.responseURL,s.statusCode=d.status,s.statusMessage=d.statusText;var v=d.getAllResponseHeaders().split(/\r?\n/);if(v.forEach(function(w){var _=w.match(/^([^:]+):\s*(.*)/);if(_){var T=_[1].toLowerCase();T==="set-cookie"?(s.headers[T]===void 0&&(s.headers[T]=[]),s.headers[T].push(_[2])):s.headers[T]!==void 0?s.headers[T]+=", "+_[2]:s.headers[T]=_[2],s.rawHeaders.push(_[1],_[2])}}),s._charset="x-user-defined",!c.overrideMimeType){var x=s.rawHeaders["mime-type"];if(x){var b=x.match(/;\s*charset=([^;])(;|$)/);b&&(s._charset=b[1].toLowerCase())}s._charset||(s._charset="utf-8")}}};o(a,n.Readable),a.prototype._read=function(){var d=this,i=d._resumeFetch;i&&(d._resumeFetch=null,i())},a.prototype._onXHRProgress=function(){var d=this,i=d._xhr,l=null;switch(d._mode){case"text:vbarray":if(i.readyState!==t.DONE)break;try{l=new m.VBArray(i.responseBody).toArray()}catch(A){}if(l!==null){d.push(new C(l));break}case"text":try{l=i.responseText}catch(A){d._mode="text:vbarray";break}if(l.length>d._pos){var e=l.substr(d._pos);if(d._charset==="x-user-defined"){for(var s=new C(e.length),u=0;u<e.length;u++)s[u]=e.charCodeAt(u)&255;d.push(s)}else d.push(e,d._charset);d._pos=l.length}break;case"arraybuffer":if(i.readyState!==t.DONE||!i.response)break;l=i.response,d.push(new C(new Uint8Array(l)));break;case"moz-chunked-arraybuffer":if(l=i.response,i.readyState!==t.LOADING||!l)break;d.push(new C(new Uint8Array(l)));break;case"ms-stream":if(l=i.response,i.readyState!==t.LOADING)break;var f=new m.MSStreamReader;f.onprogress=function(){f.result.byteLength>d._pos&&(d.push(new C(new Uint8Array(f.result.slice(d._pos)))),d._pos=f.result.byteLength)},f.onload=function(){d.push(null)},f.readAsArrayBuffer(l);break}d._xhr.readyState===t.DONE&&d._mode!=="ms-stream"&&d.push(null)}}).call(this,B("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},B("buffer").Buffer)},{"./capability":232,_process:208,"babel-runtime/core-js/promise":61,buffer:73,inherits:196,"readable-stream":223}],235:[function(B,N,r){"use strict";var y=B("safe-buffer").Buffer,m=y.isEncoding||function(f){f=""+f;switch(f&&f.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(f){if(!f)return"utf8";for(var A;;)switch(f){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 f;default:if(A)return;f=(""+f).toLowerCase(),A=!0}}function p(f){var A=C(f);if(typeof A!="string"&&(y.isEncoding===m||!m(f)))throw new Error("Unknown encoding: "+f);return A||f}r.StringDecoder=g;function g(f){this.encoding=p(f);var A;switch(this.encoding){case"utf16le":this.text=d,this.end=i,A=4;break;case"utf8":this.fillLast=n,A=4;break;case"base64":this.text=l,this.end=e,A=3;break;default:this.write=s,this.end=u;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=y.allocUnsafe(A)}g.prototype.write=function(f){if(f.length===0)return"";var A,v;if(this.lastNeed){if(A=this.fillLast(f),A===void 0)return"";v=this.lastNeed,this.lastNeed=0}else v=0;return v<f.length?A?A+this.text(f,v):this.text(f,v):A||""},g.prototype.end=a,g.prototype.text=t,g.prototype.fillLast=function(f){if(this.lastNeed<=f.length)return f.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);f.copy(this.lastChar,this.lastTotal-this.lastNeed,0,f.length),this.lastNeed-=f.length};function h(f){return f<=127?0:f>>5===6?2:f>>4===14?3:f>>3===30?4:f>>6===2?-1:-2}function c(f,A,v){var x=A.length-1;if(x<v)return 0;var b=h(A[x]);return b>=0?(b>0&&(f.lastNeed=b-1),b):--x<v||b===-2?0:(b=h(A[x]),b>=0?(b>0&&(f.lastNeed=b-2),b):--x<v||b===-2?0:(b=h(A[x]),b>=0?(b>0&&(b===2?b=0:f.lastNeed=b-3),b):0))}function o(f,A,v){if((A[0]&192)!==128)return f.lastNeed=0,"\uFFFD";if(f.lastNeed>1&&A.length>1){if((A[1]&192)!==128)return f.lastNeed=1,"\uFFFD";if(f.lastNeed>2&&A.length>2&&(A[2]&192)!==128)return f.lastNeed=2,"\uFFFD"}}function n(f){var A=this.lastTotal-this.lastNeed,v=o(this,f,A);if(v!==void 0)return v;if(this.lastNeed<=f.length)return f.copy(this.lastChar,A,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);f.copy(this.lastChar,A,0,f.length),this.lastNeed-=f.length}function t(f,A){var v=c(this,f,A);if(!this.lastNeed)return f.toString("utf8",A);this.lastTotal=v;var x=f.length-(v-this.lastNeed);return f.copy(this.lastChar,0,x),f.toString("utf8",A,x)}function a(f){var A=f&&f.length?this.write(f):"";return this.lastNeed?A+"\uFFFD":A}function d(f,A){if((f.length-A)%2===0){var v=f.toString("utf16le",A);if(v){var x=v.charCodeAt(v.length-1);if(x>=55296&&x<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=f[f.length-2],this.lastChar[1]=f[f.length-1],v.slice(0,-1)}return v}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=f[f.length-1],f.toString("utf16le",A,f.length-1)}function i(f){var A=f&&f.length?this.write(f):"";if(this.lastNeed){var v=this.lastTotal-this.lastNeed;return A+this.lastChar.toString("utf16le",0,v)}return A}function l(f,A){var v=(f.length-A)%3;return v===0?f.toString("base64",A):(this.lastNeed=3-v,this.lastTotal=3,v===1?this.lastChar[0]=f[f.length-1]:(this.lastChar[0]=f[f.length-2],this.lastChar[1]=f[f.length-1]),f.toString("base64",A,f.length-v))}function e(f){var A=f&&f.length?this.write(f):"";return this.lastNeed?A+this.lastChar.toString("base64",0,3-this.lastNeed):A}function s(f){return f.toString(this.encoding)}function u(f){return f&&f.length?this.write(f):""}},{"safe-buffer":228}],236:[function(B,N,r){(function(y,m){var C=B("process/browser.js").nextTick,p=Function.prototype.apply,g=Array.prototype.slice,h={},c=0;r.setTimeout=function(){return new o(p.call(setTimeout,window,arguments),clearTimeout)},r.setInterval=function(){return new o(p.call(setInterval,window,arguments),clearInterval)},r.clearTimeout=r.clearInterval=function(n){n.close()};function o(n,t){this._id=n,this._clearFn=t}o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(window,this._id)},r.enroll=function(n,t){clearTimeout(n._idleTimeoutId),n._idleTimeout=t},r.unenroll=function(n){clearTimeout(n._idleTimeoutId),n._idleTimeout=-1},r._unrefActive=r.active=function(n){clearTimeout(n._idleTimeoutId);var t=n._idleTimeout;t>=0&&(n._idleTimeoutId=setTimeout(function(){n._onTimeout&&n._onTimeout()},t))},r.setImmediate=typeof y=="function"?y:function(n){var t=c++,a=arguments.length<2?!1:g.call(arguments,1);return h[t]=!0,C(function(){h[t]&&(a?n.apply(null,a):n.call(null),r.clearImmediate(t))}),t},r.clearImmediate=typeof m=="function"?m:function(n){delete h[n]}}).call(this,B("timers").setImmediate,B("timers").clearImmediate)},{"process/browser.js":208,timers:236}],237:[function(B,N,r){var y=B("buffer").Buffer;N.exports=function(m){if(m instanceof Uint8Array){if(m.byteOffset===0&&m.byteLength===m.buffer.byteLength)return m.buffer;if(typeof m.buffer.slice=="function")return m.buffer.slice(m.byteOffset,m.byteOffset+m.byteLength)}if(y.isBuffer(m)){for(var C=new Uint8Array(m.length),p=m.length,g=0;g<p;g++)C[g]=m[g];return C.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:73}],238:[function(B,N,r){"use strict";var y=B("punycode"),m=B("./util");r.parse=A,r.resolve=x,r.resolveObject=b,r.format=v,r.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 p=/^([a-z0-9.+-]+:)/i,g=/:[0-9]*$/,h=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["<",">",'"',"`"," ","\r",`
|
|
|
`," "],o=["{","}","|","\\","^","`"].concat(c),n=["'"].concat(o),t=["%","/","?",";","#"].concat(n),a=["/","?","#"],d=255,i=/^[+a-z0-9A-Z_-]{0,63}$/,l=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,e={javascript:!0,"javascript:":!0},s={javascript:!0,"javascript:":!0},u={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},f=B("querystring");function A(w,_,T){if(w&&m.isObject(w)&&w instanceof C)return w;var S=new C;return S.parse(w,_,T),S}C.prototype.parse=function(w,_,T){if(!m.isString(w))throw new TypeError("Parameter 'url' must be a string, not "+typeof w);var S=w.indexOf("?"),E=S!==-1&&S<w.indexOf("#")?"?":"#",I=w.split(E),O=/\\/g;I[0]=I[0].replace(O,"/"),w=I.join(E);var F=w;if(F=F.trim(),!T&&w.split("#").length===1){var k=h.exec(F);if(k)return this.path=F,this.href=F,this.pathname=k[1],k[2]?(this.search=k[2],_?this.query=f.parse(this.search.substr(1)):this.query=this.search.substr(1)):_&&(this.search="",this.query={}),this}var M=p.exec(F);if(M){M=M[0];var P=M.toLowerCase();this.protocol=P,F=F.substr(M.length)}if(T||M||F.match(/^\/\/[^@\/]+@[^@\/]+/)){var V=F.substr(0,2)==="//";V&&!(M&&s[M])&&(F=F.substr(2),this.slashes=!0)}if(!s[M]&&(V||M&&!u[M])){for(var D=-1,H=0;H<a.length;H++){var U=F.indexOf(a[H]);U!==-1&&(D===-1||U<D)&&(D=U)}var z,K;D===-1?K=F.lastIndexOf("@"):K=F.lastIndexOf("@",D),K!==-1&&(z=F.slice(0,K),F=F.slice(K+1),this.auth=decodeURIComponent(z)),D=-1;for(var H=0;H<t.length;H++){var U=F.indexOf(t[H]);U!==-1&&(D===-1||U<D)&&(D=U)}D===-1&&(D=F.length),this.host=F.slice(0,D),F=F.slice(D),this.parseHost(),this.hostname=this.hostname||"";var G=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!G)for(var X=this.hostname.split(/\./),H=0,Z=X.length;H<Z;H++){var ee=X[H];if(!ee)continue;if(!ee.match(i)){for(var Se="",$=0,pe=ee.length;$<pe;$++)ee.charCodeAt($)>127?Se+="x":Se+=ee[$];if(!Se.match(i)){var xe=X.slice(0,H),_e=X.slice(H+1),Ue=ee.match(l);Ue&&(xe.push(Ue[1]),_e.unshift(Ue[2])),_e.length&&(F="/"+_e.join(".")+F),this.hostname=xe.join(".");break}}}this.hostname.length>d?this.hostname="":this.hostname=this.hostname.toLowerCase(),G||(this.hostname=y.toASCII(this.hostname));var ye=this.port?":"+this.port:"",Be=this.hostname||"";this.host=Be+ye,this.href+=this.host,G&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),F[0]!=="/"&&(F="/"+F))}if(!e[P])for(var H=0,Z=n.length;H<Z;H++){var Q=n[H];if(F.indexOf(Q)===-1)continue;var ie=encodeURIComponent(Q);ie===Q&&(ie=escape(Q)),F=F.split(Q).join(ie)}var Ve=F.indexOf("#");Ve!==-1&&(this.hash=F.substr(Ve),F=F.slice(0,Ve));var J=F.indexOf("?");if(J!==-1?(this.search=F.substr(J),this.query=F.substr(J+1),_&&(this.query=f.parse(this.query)),F=F.slice(0,J)):_&&(this.search="",this.query={}),F&&(this.pathname=F),u[P]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var ye=this.pathname||"",W=this.search||"";this.path=ye+W}return this.href=this.format(),this};function v(w){return m.isString(w)&&(w=A(w)),w instanceof C?w.format():C.prototype.format.call(w)}C.prototype.format=function(){var w=this.auth||"";w&&(w=encodeURIComponent(w),w=w.replace(/%3A/i,":"),w+="@");var _=this.protocol||"",T=this.pathname||"",S=this.hash||"",E=!1,I="";this.host?E=w+this.host:this.hostname&&(E=w+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(E+=":"+this.port)),this.query&&m.isObject(this.query)&&Object.keys(this.query).length&&(I=f.stringify(this.query));var O=this.search||I&&"?"+I||"";return _&&_.substr(-1)!==":"&&(_+=":"),this.slashes||(!_||u[_])&&E!==!1?(E="//"+(E||""),T&&T.charAt(0)!=="/"&&(T="/"+T)):E||(E=""),S&&S.charAt(0)!=="#"&&(S="#"+S),O&&O.charAt(0)!=="?"&&(O="?"+O),T=T.replace(/[?#]/g,function(F){return encodeURIComponent(F)}),O=O.replace("#","%23"),_+E+T+O+S};function x(w,_){return A(w,!1,!0).resolve(_)}C.prototype.resolve=function(w){return this.resolveObject(A(w,!1,!0)).format()};function b(w,_){return w?A(w,!1,!0).resolveObject(_):_}C.prototype.resolveObject=function(w){if(m.isString(w)){var _=new C;_.parse(w,!1,!0),w=_}for(var T=new C,S=Object.keys(this),E=0;E<S.length;E++){var I=S[E];T[I]=this[I]}if(T.hash=w.hash,w.href==="")return T.href=T.format(),T;if(w.slashes&&!w.protocol){for(var O=Object.keys(w),F=0;F<O.length;F++){var k=O[F];k!=="protocol"&&(T[k]=w[k])}return u[T.protocol]&&T.hostname&&!T.pathname&&(T.path=T.pathname="/"),T.href=T.format(),T}if(w.protocol&&w.protocol!==T.protocol){if(!u[w.protocol]){for(var M=Object.keys(w),P=0;P<M.length;P++){var V=M[P];T[V]=w[V]}return T.href=T.format(),T}if(T.protocol=w.protocol,!w.host&&!s[w.protocol]){for(var Z=(w.pathname||"").split("/");Z.length&&!(w.host=Z.shift()););w.host||(w.host=""),w.hostname||(w.hostname=""),Z[0]!==""&&Z.unshift(""),Z.length<2&&Z.unshift(""),T.pathname=Z.join("/")}else T.pathname=w.pathname;if(T.search=w.search,T.query=w.query,T.host=w.host||"",T.auth=w.auth,T.hostname=w.hostname||w.host,T.port=w.port,T.pathname||T.search){var D=T.pathname||"",H=T.search||"";T.path=D+H}return T.slashes=T.slashes||w.slashes,T.href=T.format(),T}var U=T.pathname&&T.pathname.charAt(0)==="/",z=w.host||w.pathname&&w.pathname.charAt(0)==="/",K=z||U||T.host&&w.pathname,G=K,X=T.pathname&&T.pathname.split("/")||[],Z=w.pathname&&w.pathname.split("/")||[],ee=T.protocol&&!u[T.protocol];if(ee&&(T.hostname="",T.port=null,T.host&&(X[0]===""?X[0]=T.host:X.unshift(T.host)),T.host="",w.protocol&&(w.hostname=null,w.port=null,w.host&&(Z[0]===""?Z[0]=w.host:Z.unshift(w.host)),w.host=null),K=K&&(Z[0]===""||X[0]==="")),z)T.host=w.host||w.host===""?w.host:T.host,T.hostname=w.hostname||w.hostname===""?w.hostname:T.hostname,T.search=w.search,T.query=w.query,X=Z;else if(Z.length)X||(X=[]),X.pop(),X=X.concat(Z),T.search=w.search,T.query=w.query;else if(!m.isNullOrUndefined(w.search)){if(ee){T.hostname=T.host=X.shift();var Se=T.host&&T.host.indexOf("@")>0?T.host.split("@"):!1;Se&&(T.auth=Se.shift(),T.host=T.hostname=Se.shift())}return T.search=w.search,T.query=w.query,(!m.isNull(T.pathname)||!m.isNull(T.search))&&(T.path=(T.pathname?T.pathname:"")+(T.search?T.search:"")),T.href=T.format(),T}if(!X.length)return T.pathname=null,T.search?T.path="/"+T.search:T.path=null,T.href=T.format(),T;for(var $=X.slice(-1)[0],pe=(T.host||w.host||X.length>1)&&($==="."||$==="..")||$==="",xe=0,_e=X.length;_e>=0;_e--)$=X[_e],$==="."?X.splice(_e,1):$===".."?(X.splice(_e,1),xe++):xe&&(X.splice(_e,1),xe--);if(!K&&!G)for(;xe--;xe)X.unshift("..");K&&X[0]!==""&&(!X[0]||X[0].charAt(0)!=="/")&&X.unshift(""),pe&&X.join("/").substr(-1)!=="/"&&X.push("");var Ue=X[0]===""||X[0]&&X[0].charAt(0)==="/";if(ee){T.hostname=T.host=Ue?"":X.length?X.shift():"";var Se=T.host&&T.host.indexOf("@")>0?T.host.split("@"):!1;Se&&(T.auth=Se.shift(),T.host=T.hostname=Se.shift())}return K=K||T.host&&X.length,K&&!Ue&&X.unshift(""),X.length?T.pathname=X.join("/"):(T.pathname=null,T.path=null),(!m.isNull(T.pathname)||!m.isNull(T.search))&&(T.path=(T.pathname?T.pathname:"")+(T.search?T.search:"")),T.auth=w.auth||T.auth,T.slashes=T.slashes||w.slashes,T.href=T.format(),T},C.prototype.parseHost=function(){var w=this.host,_=g.exec(w);_&&(_=_[0],_!==":"&&(this.port=_.substr(1)),w=w.substr(0,w.length-_.length)),w&&(this.hostname=w)}},{"./util":239,punycode:209,querystring:212}],239:[function(B,N,r){"use strict";N.exports={isString:function(m){return typeof m=="string"},isObject:function(m){return typeof m=="object"&&m!==null},isNull:function(m){return m===null},isNullOrUndefined:function(m){return m==null}}},{}],240:[function(B,N,r){(function(y){N.exports=m;function m(p,g){if(C("noDeprecation"))return p;var h=!1;function c(){if(!h){if(C("throwDeprecation"))throw new Error(g);C("traceDeprecation")?console.trace(g):console.warn(g),h=!0}return p.apply(this,arguments)}return c}function C(p){try{if(!y.localStorage)return!1}catch(h){return!1}var g=y.localStorage[p];return g==null?!1:String(g).toLowerCase()==="true"}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],241:[function(B,N,r){typeof Object.create=="function"?N.exports=function(m,C){m.super_=C,m.prototype=Object.create(C.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}})}:N.exports=function(m,C){m.super_=C;var p=function(){};p.prototype=C.prototype,m.prototype=new p,m.prototype.constructor=m}},{}],242:[function(B,N,r){N.exports=function(m){return m&&typeof m=="object"&&typeof m.copy=="function"&&typeof m.fill=="function"&&typeof m.readUInt8=="function"}},{}],243:[function(B,N,r){(function(y,m){var C=/%[sdj%]/g;r.format=function(D){if(!x(D)){for(var H=[],U=0;U<arguments.length;U++)H.push(h(arguments[U]));return H.join(" ")}for(var U=1,z=arguments,K=z.length,G=String(D).replace(C,function(Z){if(Z==="%%")return"%";if(U>=K)return Z;switch(Z){case"%s":return String(z[U++]);case"%d":return Number(z[U++]);case"%j":try{return JSON.stringify(z[U++])}catch(ee){return"[Circular]"}default:return Z}}),X=z[U];U<K;X=z[++U])f(X)||!T(X)?G+=" "+X:G+=" "+h(X);return G},r.deprecate=function(D,H){if(w(m.process))return function(){return r.deprecate(D,H).apply(this,arguments)};if(y.noDeprecation===!0)return D;var U=!1;function z(){if(!U){if(y.throwDeprecation)throw new Error(H);y.traceDeprecation?console.trace(H):console.error(H),U=!0}return D.apply(this,arguments)}return z};var p={},g;r.debuglog=function(D){if(w(g)&&(g=y.env.NODE_DEBUG||""),D=D.toUpperCase(),!p[D])if(new RegExp("\\b"+D+"\\b","i").test(g)){var H=y.pid;p[D]=function(){var U=r.format.apply(r,arguments);console.error("%s %d: %s",D,H,U)}}else p[D]=function(){};return p[D]};function h(D,H){var U={seen:[],stylize:o};return arguments.length>=3&&(U.depth=arguments[2]),arguments.length>=4&&(U.colors=arguments[3]),u(H)?U.showHidden=H:H&&r._extend(U,H),w(U.showHidden)&&(U.showHidden=!1),w(U.depth)&&(U.depth=2),w(U.colors)&&(U.colors=!1),w(U.customInspect)&&(U.customInspect=!0),U.colors&&(U.stylize=c),t(U,D,U.depth)}r.inspect=h,h.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]},h.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function c(D,H){var U=h.styles[H];return U?"["+h.colors[U][0]+"m"+D+"["+h.colors[U][1]+"m":D}function o(D,H){return D}function n(D){var H={};return D.forEach(function(U,z){H[U]=!0}),H}function t(D,H,U){if(D.customInspect&&H&&I(H.inspect)&&H.inspect!==r.inspect&&!(H.constructor&&H.constructor.prototype===H)){var z=H.inspect(U,D);return x(z)||(z=t(D,z,U)),z}var K=a(D,H);if(K)return K;var G=Object.keys(H),X=n(G);if(D.showHidden&&(G=Object.getOwnPropertyNames(H)),E(H)&&(G.indexOf("message")>=0||G.indexOf("description")>=0))return d(H);if(G.length===0){if(I(H)){var Z=H.name?": "+H.name:"";return D.stylize("[Function"+Z+"]","special")}if(_(H))return D.stylize(RegExp.prototype.toString.call(H),"regexp");if(S(H))return D.stylize(Date.prototype.toString.call(H),"date");if(E(H))return d(H)}var ee="",Se=!1,$=["{","}"];if(s(H)&&(Se=!0,$=["[","]"]),I(H)){var pe=H.name?": "+H.name:"";ee=" [Function"+pe+"]"}if(_(H)&&(ee=" "+RegExp.prototype.toString.call(H)),S(H)&&(ee=" "+Date.prototype.toUTCString.call(H)),E(H)&&(ee=" "+d(H)),G.length===0&&(!Se||H.length==0))return $[0]+ee+$[1];if(U<0)return _(H)?D.stylize(RegExp.prototype.toString.call(H),"regexp"):D.stylize("[Object]","special");D.seen.push(H);var xe;return Se?xe=i(D,H,U,X,G):xe=G.map(function(_e){return l(D,H,U,X,_e,Se)}),D.seen.pop(),e(xe,ee,$)}function a(D,H){if(w(H))return D.stylize("undefined","undefined");if(x(H)){var U="'"+JSON.stringify(H).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return D.stylize(U,"string")}if(v(H))return D.stylize(""+H,"number");if(u(H))return D.stylize(""+H,"boolean");if(f(H))return D.stylize("null","null")}function d(D){return"["+Error.prototype.toString.call(D)+"]"}function i(D,H,U,z,K){for(var G=[],X=0,Z=H.length;X<Z;++X)V(H,String(X))?G.push(l(D,H,U,z,String(X),!0)):G.push("");return K.forEach(function(ee){ee.match(/^\d+$/)||G.push(l(D,H,U,z,ee,!0))}),G}function l(D,H,U,z,K,G){var X,Z,ee;if(ee=Object.getOwnPropertyDescriptor(H,K)||{value:H[K]},ee.get?ee.set?Z=D.stylize("[Getter/Setter]","special"):Z=D.stylize("[Getter]","special"):ee.set&&(Z=D.stylize("[Setter]","special")),V(z,K)||(X="["+K+"]"),Z||(D.seen.indexOf(ee.value)<0?(f(U)?Z=t(D,ee.value,null):Z=t(D,ee.value,U-1),Z.indexOf(`
|
|
|
`)>-1&&(G?Z=Z.split(`
|
|
|
`).map(function(Se){return" "+Se}).join(`
|
|
|
`).substr(2):Z=`
|
|
|
`+Z.split(`
|
|
|
`).map(function(Se){return" "+Se}).join(`
|
|
|
`))):Z=D.stylize("[Circular]","special")),w(X)){if(G&&K.match(/^\d+$/))return Z;X=JSON.stringify(""+K),X.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(X=X.substr(1,X.length-2),X=D.stylize(X,"name")):(X=X.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),X=D.stylize(X,"string"))}return X+": "+Z}function e(D,H,U){var z=0,K=D.reduce(function(G,X){return z++,X.indexOf(`
|
|
|
`)>=0&&z++,G+X.replace(/\u001b\[\d\d?m/g,"").length+1},0);return K>60?U[0]+(H===""?"":H+`
|
|
|
`)+" "+D.join(`,
|
|
|
`)+" "+U[1]:U[0]+H+" "+D.join(", ")+" "+U[1]}function s(D){return Array.isArray(D)}r.isArray=s;function u(D){return typeof D=="boolean"}r.isBoolean=u;function f(D){return D===null}r.isNull=f;function A(D){return D==null}r.isNullOrUndefined=A;function v(D){return typeof D=="number"}r.isNumber=v;function x(D){return typeof D=="string"}r.isString=x;function b(D){return typeof D=="symbol"}r.isSymbol=b;function w(D){return D===void 0}r.isUndefined=w;function _(D){return T(D)&&F(D)==="[object RegExp]"}r.isRegExp=_;function T(D){return typeof D=="object"&&D!==null}r.isObject=T;function S(D){return T(D)&&F(D)==="[object Date]"}r.isDate=S;function E(D){return T(D)&&(F(D)==="[object Error]"||D instanceof Error)}r.isError=E;function I(D){return typeof D=="function"}r.isFunction=I;function O(D){return D===null||typeof D=="boolean"||typeof D=="number"||typeof D=="string"||typeof D=="symbol"||typeof D=="undefined"}r.isPrimitive=O,r.isBuffer=B("./support/isBuffer");function F(D){return Object.prototype.toString.call(D)}function k(D){return D<10?"0"+D.toString(10):D.toString(10)}var M=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function P(){var D=new Date,H=[k(D.getHours()),k(D.getMinutes()),k(D.getSeconds())].join(":");return[D.getDate(),M[D.getMonth()],H].join(" ")}r.log=function(){console.log("%s - %s",P(),r.format.apply(r,arguments))},r.inherits=B("inherits"),r._extend=function(D,H){if(!H||!T(H))return D;for(var U=Object.keys(H),z=U.length;z--;)D[U[z]]=H[U[z]];return D};function V(D,H){return Object.prototype.hasOwnProperty.call(D,H)}}).call(this,B("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":242,_process:208,inherits:241}],244:[function(B,N,r){"use strict";(function(){"use strict";r.stripBOM=function(y){return y[0]==="\uFEFF"?y.substring(1):y}}).call(void 0)},{}],245:[function(B,N,r){"use strict";var y=B("babel-runtime/helpers/typeof"),m=g(y),C=B("babel-runtime/core-js/object/keys"),p=g(C);function g(h){return h&&h.__esModule?h:{default:h}}(function(){"use strict";var h,c,o,n,t,a={}.hasOwnProperty;h=B("xmlbuilder"),c=B("./defaults").defaults,n=function(i){return typeof i=="string"&&(i.indexOf("&")>=0||i.indexOf(">")>=0||i.indexOf("<")>=0)},t=function(i){return"<![CDATA["+o(i)+"]]>"},o=function(i){return i.replace("]]>","]]]]><![CDATA[>")},r.Builder=function(){function d(i){var l,e,s;this.options={},e=c["0.2"];for(l in e){if(!a.call(e,l))continue;s=e[l],this.options[l]=s}for(l in i){if(!a.call(i,l))continue;s=i[l],this.options[l]=s}}return d.prototype.buildObject=function(i){var l,e,s,u,f;return l=this.options.attrkey,e=this.options.charkey,(0,p.default)(i).length===1&&this.options.rootName===c["0.2"].rootName?(f=(0,p.default)(i)[0],i=i[f]):f=this.options.rootName,s=function(A){return function(v,x){var b,w,_,T,S,E;if((typeof x=="undefined"?"undefined":(0,m.default)(x))!=="object")A.options.cdata&&n(x)?v.raw(t(x)):v.txt(x);else if(Array.isArray(x))for(T in x){if(!a.call(x,T))continue;w=x[T];for(S in w)_=w[S],v=s(v.ele(S),_).up()}else for(S in x){if(!a.call(x,S))continue;if(w=x[S],S===l){if((typeof w=="undefined"?"undefined":(0,m.default)(w))==="object")for(b in w)E=w[b],v=v.att(b,E)}else if(S===e)A.options.cdata&&n(w)?v=v.raw(t(w)):v=v.txt(w);else if(Array.isArray(w))for(T in w){if(!a.call(w,T))continue;_=w[T],typeof _=="string"?A.options.cdata&&n(_)?v=v.ele(S).raw(t(_)).up():v=v.ele(S,_).up():v=s(v.ele(S),_).up()}else(typeof w=="undefined"?"undefined":(0,m.default)(w))==="object"?v=s(v.ele(S),w).up():typeof w=="string"&&A.options.cdata&&n(w)?v=v.ele(S).raw(t(w)).up():(w==null&&(w=""),v=v.ele(S,w.toString()).up())}return v}}(this),u=h.create(f,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),s(u,i).end(this.options.renderOpts)},d}()}).call(void 0)},{"./defaults":246,"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67,xmlbuilder:282}],246:[function(B,N,r){"use strict";(function(){r.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(B,N,r){"use strict";var y=B("babel-runtime/core-js/promise"),m=n(y),C=B("babel-runtime/core-js/object/get-own-property-names"),p=n(C),g=B("babel-runtime/core-js/object/keys"),h=n(g),c=B("babel-runtime/helpers/typeof"),o=n(c);function n(t){return t&&t.__esModule?t:{default:t}}(function(){"use strict";var t,a,d,i,l,e,s,u,f=function(b,w){return function(){return b.apply(w,arguments)}},A=function(b,w){for(var _ in w)v.call(w,_)&&(b[_]=w[_]);function T(){this.constructor=b}return T.prototype=w.prototype,b.prototype=new T,b.__super__=w.prototype,b},v={}.hasOwnProperty;s=B("sax"),d=B("events"),t=B("./bom"),e=B("./processors"),u=B("timers").setImmediate,a=B("./defaults").defaults,i=function(b){return(typeof b=="undefined"?"undefined":(0,o.default)(b))==="object"&&b!=null&&(0,h.default)(b).length===0},l=function(b,w,_){var T,S,E;for(T=0,S=b.length;T<S;T++)E=b[T],w=E(w,_);return w},r.Parser=function(x){A(b,x);function b(w){this.parseStringPromise=f(this.parseStringPromise,this),this.parseString=f(this.parseString,this),this.reset=f(this.reset,this),this.assignOrPush=f(this.assignOrPush,this),this.processAsync=f(this.processAsync,this);var _,T,S;if(!(this instanceof r.Parser))return new r.Parser(w);this.options={},T=a["0.2"];for(_ in T){if(!v.call(T,_))continue;S=T[_],this.options[_]=S}for(_ in w){if(!v.call(w,_))continue;S=w[_],this.options[_]=S}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 b.prototype.processAsync=function(){var w,_;try{return this.remaining.length<=this.options.chunkSize?(w=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(w),this.saxParser.close()):(w=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(w),u(this.processAsync))}catch(T){if(_=T,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(_)}},b.prototype.assignOrPush=function(w,_,T){return _ in w?(w[_]instanceof Array||(w[_]=[w[_]]),w[_].push(T)):this.options.explicitArray?w[_]=[T]:w[_]=T},b.prototype.reset=function(){var w,_,T,S;return this.removeAllListeners(),this.saxParser=s.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(E){return function(I){if(E.saxParser.resume(),!E.saxParser.errThrown)return E.saxParser.errThrown=!0,E.emit("error",I)}}(this),this.saxParser.onend=function(E){return function(){if(!E.saxParser.ended)return E.saxParser.ended=!0,E.emit("end",E.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,S=[],w=this.options.attrkey,_=this.options.charkey,this.saxParser.onopentag=function(E){return function(I){var O,F,k,M,P;if(k={},k[_]="",!E.options.ignoreAttrs){P=I.attributes;for(O in P){if(!v.call(P,O))continue;!(w in k)&&!E.options.mergeAttrs&&(k[w]={}),F=E.options.attrValueProcessors?l(E.options.attrValueProcessors,I.attributes[O],O):I.attributes[O],M=E.options.attrNameProcessors?l(E.options.attrNameProcessors,O):O,E.options.mergeAttrs?E.assignOrPush(k,M,F):k[w][M]=F}}return k["#name"]=E.options.tagNameProcessors?l(E.options.tagNameProcessors,I.name):I.name,E.options.xmlns&&(k[E.options.xmlnskey]={uri:I.uri,local:I.local}),S.push(k)}}(this),this.saxParser.onclosetag=function(E){return function(){var I,O,F,k,M,P,V,D,H,U;if(P=S.pop(),M=P["#name"],(!E.options.explicitChildren||!E.options.preserveChildrenOrder)&&delete P["#name"],P.cdata===!0&&(I=P.cdata,delete P.cdata),H=S[S.length-1],P[_].match(/^\s*$/)&&!I?(O=P[_],delete P[_]):(E.options.trim&&(P[_]=P[_].trim()),E.options.normalize&&(P[_]=P[_].replace(/\s{2,}/g," ").trim()),P[_]=E.options.valueProcessors?l(E.options.valueProcessors,P[_],M):P[_],(0,h.default)(P).length===1&&_ in P&&!E.EXPLICIT_CHARKEY&&(P=P[_])),i(P)&&(P=E.options.emptyTag!==""?E.options.emptyTag:O),E.options.validator!=null&&(U="/"+function(){var z,K,G;for(G=[],z=0,K=S.length;z<K;z++)k=S[z],G.push(k["#name"]);return G}().concat(M).join("/"),function(){var z;try{return P=E.options.validator(U,H&&H[M],P)}catch(K){return z=K,E.emit("error",z)}}()),E.options.explicitChildren&&!E.options.mergeAttrs&&(typeof P=="undefined"?"undefined":(0,o.default)(P))==="object"){if(!E.options.preserveChildrenOrder)k={},E.options.attrkey in P&&(k[E.options.attrkey]=P[E.options.attrkey],delete P[E.options.attrkey]),!E.options.charsAsChildren&&E.options.charkey in P&&(k[E.options.charkey]=P[E.options.charkey],delete P[E.options.charkey]),(0,p.default)(P).length>0&&(k[E.options.childkey]=P),P=k;else if(H){H[E.options.childkey]=H[E.options.childkey]||[],V={};for(F in P){if(!v.call(P,F))continue;V[F]=P[F]}H[E.options.childkey].push(V),delete P["#name"],(0,h.default)(P).length===1&&_ in P&&!E.EXPLICIT_CHARKEY&&(P=P[_])}}return S.length>0?E.assignOrPush(H,M,P):(E.options.explicitRoot&&(D=P,P={},P[M]=D),E.resultObject=P,E.saxParser.ended=!0,E.emit("end",E.resultObject))}}(this),T=function(E){return function(I){var O,F;if(F=S[S.length-1],F)return F[_]+=I,E.options.explicitChildren&&E.options.preserveChildrenOrder&&E.options.charsAsChildren&&(E.options.includeWhiteChars||I.replace(/\\n/g,"").trim()!=="")&&(F[E.options.childkey]=F[E.options.childkey]||[],O={"#name":"__text__"},O[_]=I,E.options.normalize&&(O[_]=O[_].replace(/\s{2,}/g," ").trim()),F[E.options.childkey].push(O)),F}}(this),this.saxParser.ontext=T,this.saxParser.oncdata=function(E){return function(I){var O;if(O=T(I),O)return O.cdata=!0}}(this)},b.prototype.parseString=function(w,_){var T;_!=null&&typeof _=="function"&&(this.on("end",function(S){return this.reset(),_(null,S)}),this.on("error",function(S){return this.reset(),_(S)}));try{return w=w.toString(),w.trim()===""?(this.emit("end",null),!0):(w=t.stripBOM(w),this.options.async?(this.remaining=w,u(this.processAsync),this.saxParser):this.saxParser.write(w).close())}catch(S){if(T=S,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw T}else return this.emit("error",T),this.saxParser.errThrown=!0}},b.prototype.parseStringPromise=function(w){return new m.default(function(_){return function(T,S){return _.parseString(w,function(E,I){return E?S(E):T(I)})}}(this))},b}(d),r.parseString=function(x,b,w){var _,T,S;return w!=null?(typeof w=="function"&&(_=w),(typeof b=="undefined"?"undefined":(0,o.default)(b))==="object"&&(T=b)):(typeof b=="function"&&(_=b),T={}),S=new r.Parser(T),S.parseString(x,_)},r.parseStringPromise=function(x,b){var w,_;return(typeof b=="undefined"?"undefined":(0,o.default)(b))==="object"&&(w=b),_=new r.Parser(w),_.parseStringPromise(x)}}).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(B,N,r){"use strict";(function(){"use strict";var y;y=new RegExp(/(?!xmlns)^.*:/),r.normalize=function(m){return m.toLowerCase()},r.firstCharLowerCase=function(m){return m.charAt(0).toLowerCase()+m.slice(1)},r.stripPrefix=function(m){return m.replace(y,"")},r.parseNumbers=function(m){return isNaN(m)||(m=m%1===0?parseInt(m,10):parseFloat(m)),m},r.parseBooleans=function(m){return/^(?:true|false)$/i.test(m)&&(m=m.toLowerCase()==="true"),m}}).call(void 0)},{}],249:[function(B,N,r){"use strict";(function(){"use strict";var y,m,C,p,g=function(o,n){for(var t in n)h.call(n,t)&&(o[t]=n[t]);function a(){this.constructor=o}return a.prototype=n.prototype,o.prototype=new a,o.__super__=n.prototype,o},h={}.hasOwnProperty;m=B("./defaults"),y=B("./builder"),C=B("./parser"),p=B("./processors"),r.defaults=m.defaults,r.processors=p,r.ValidationError=function(c){g(o,c);function o(n){this.message=n}return o}(Error),r.Builder=y.Builder,r.Parser=C.Parser,r.parseString=C.parseString,r.parseStringPromise=C.parseStringPromise}).call(void 0)},{"./builder":245,"./defaults":246,"./parser":247,"./processors":248}],250:[function(B,N,r){"use strict";(function(){N.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(void 0)},{}],251:[function(B,N,r){"use strict";(function(){N.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(void 0)},{}],252:[function(B,N,r){"use strict";var y=B("babel-runtime/core-js/object/get-prototype-of"),m=c(y),C=B("babel-runtime/helpers/typeof"),p=c(C),g=B("babel-runtime/core-js/object/assign"),h=c(g);function c(o){return o&&o.__esModule?o:{default:o}}(function(){var o,n,t,a,d,i,l,e=[].slice,s={}.hasOwnProperty;o=function(){var f,A,v,x,b,w;if(w=arguments[0],b=2<=arguments.length?e.call(arguments,1):[],d(h.default))h.default.apply(null,arguments);else for(f=0,v=b.length;f<v;f++)if(x=b[f],x!=null)for(A in x){if(!s.call(x,A))continue;w[A]=x[A]}return w},d=function(f){return!!f&&Object.prototype.toString.call(f)==="[object Function]"},i=function(f){var A;return!!f&&((A=typeof f=="undefined"?"undefined":(0,p.default)(f))==="function"||A==="object")},t=function(f){return d(Array.isArray)?Array.isArray(f):Object.prototype.toString.call(f)==="[object Array]"},a=function(f){var A;if(t(f))return!f.length;for(A in f){if(!s.call(f,A))continue;return!1}return!0},l=function(f){var A,v;return i(f)&&(v=(0,m.default)(f))&&(A=v.constructor)&&typeof A=="function"&&A instanceof A&&Function.prototype.toString.call(A)===Function.prototype.toString.call(Object)},n=function(f){return d(f.valueOf)?f.valueOf():f},N.exports.assign=o,N.exports.isFunction=d,N.exports.isObject=i,N.exports.isArray=t,N.exports.isEmpty=a,N.exports.isPlainObject=l,N.exports.getValue=n}).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(B,N,r){"use strict";(function(){N.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(void 0)},{}],254:[function(B,N,r){"use strict";var y=B("babel-runtime/core-js/object/create"),m=C(y);function C(p){return p&&p.__esModule?p:{default:p}}(function(){var p,g,h;p=B("./NodeType"),h=B("./XMLNode"),N.exports=g=function(){function c(o,n,t){if(this.parent=o,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),n==null)throw new Error("Missing attribute name. "+this.debugInfo(n));this.name=this.stringify.name(n),this.value=this.stringify.attValue(t),this.type=p.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(c.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(c.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(c.prototype,"textContent",{get:function(){return this.value},set:function(n){return this.value=n||""}}),Object.defineProperty(c.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(c.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(c.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(c.prototype,"specified",{get:function(){return!0}}),c.prototype.clone=function(){return(0,m.default)(this)},c.prototype.toString=function(o){return this.options.writer.attribute(this,this.options.writer.filterOptions(o))},c.prototype.debugInfo=function(o){return o=o||this.name,o==null?"parent: <"+this.parent.name+">":"attribute: {"+o+"}, parent: <"+this.parent.name+">"},c.prototype.isEqualNode=function(o){return o.namespaceURI!==this.namespaceURI||(o.prefix!==this.prefix||o.localName!==this.localName)?!1:!(o.value!==this.value)},c}()}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],255:[function(B,N,r){"use strict";var y=B("babel-runtime/core-js/object/create"),m=C(y);function C(p){return p&&p.__esModule?p:{default:p}}(function(){var p,g,h,c=function(t,a){for(var d in a)o.call(a,d)&&(t[d]=a[d]);function i(){this.constructor=t}return i.prototype=a.prototype,t.prototype=new i,t.__super__=a.prototype,t},o={}.hasOwnProperty;p=B("./NodeType"),h=B("./XMLCharacterData"),N.exports=g=function(n){c(t,n);function t(a,d){if(t.__super__.constructor.call(this,a),d==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=p.CData,this.value=this.stringify.cdata(d)}return t.prototype.clone=function(){return(0,m.default)(this)},t.prototype.toString=function(a){return this.options.writer.cdata(this,this.options.writer.filterOptions(a))},t}(h)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],256:[function(B,N,r){"use strict";var y=B("babel-runtime/core-js/object/create"),m=C(y);function C(p){return p&&p.__esModule?p:{default:p}}(function(){var p,g,h=function(n,t){for(var a in t)c.call(t,a)&&(n[a]=t[a]);function d(){this.constructor=n}return d.prototype=t.prototype,n.prototype=new d,n.__super__=t.prototype,n},c={}.hasOwnProperty;g=B("./XMLNode"),N.exports=p=function(o){h(n,o);function n(t){n.__super__.constructor.call(this,t),this.value=""}return Object.defineProperty(n.prototype,"data",{get:function(){return this.value},set:function(a){return this.value=a||""}}),Object.defineProperty(n.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(n.prototype,"textContent",{get:function(){return this.value},set:function(a){return this.value=a||""}}),n.prototype.clone=function(){return(0,m.default)(this)},n.prototype.substringData=function(t,a){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.appendData=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.insertData=function(t,a){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.deleteData=function(t,a){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.replaceData=function(t,a,d){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.isEqualNode=function(t){return n.__super__.isEqualNode.apply(this,arguments).isEqualNode(t)?!(t.data!==this.data):!1},n}(g)}).call(void 0)},{"./XMLNode":273,"babel-runtime/core-js/object/create":55}],257:[function(B,N,r){"use strict";var y=B("babel-runtime/core-js/object/create"),m=C(y);function C(p){return p&&p.__esModule?p:{default:p}}(function(){var p,g,h,c=function(t,a){for(var d in a)o.call(a,d)&&(t[d]=a[d]);function i(){this.constructor=t}return i.prototype=a.prototype,t.prototype=new i,t.__super__=a.prototype,t},o={}.hasOwnProperty;p=B("./NodeType"),g=B("./XMLCharacterData"),N.exports=h=function(n){c(t,n);function t(a,d){if(t.__super__.constructor.call(this,a),d==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=p.Comment,this.value=this.stringify.comment(d)}return t.prototype.clone=function(){return(0,m.default)(this)},t.prototype.toString=function(a){return this.options.writer.comment(this,this.options.writer.filterOptions(a))},t}(g)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],258:[function(B,N,r){"use strict";var y=B("babel-runtime/core-js/object/keys"),m=g(y),C=B("babel-runtime/core-js/object/create"),p=g(C);function g(h){return h&&h.__esModule?h:{default:h}}(function(){var h,c,o;c=B("./XMLDOMErrorHandler"),o=B("./XMLDOMStringList"),N.exports=h=function(){function n(){var t;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new c,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=t=(0,p.default)(this.defaultParams)}return Object.defineProperty(n.prototype,"parameterNames",{get:function(){return new o((0,m.default)(this.defaultParams))}}),n.prototype.getParameter=function(t){return this.params.hasOwnProperty(t)?this.params[t]:null},n.prototype.canSetParameter=function(t,a){return!0},n.prototype.setParameter=function(t,a){return a!=null?this.params[t]=a:delete this.params[t]},n}()}).call(void 0)},{"./XMLDOMErrorHandler":259,"./XMLDOMStringList":261,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/keys":60}],259:[function(B,N,r){"use strict";(function(){var y;N.exports=y=function(){function m(){}return m.prototype.handleError=function(C){throw new Error(C)},m}()}).call(void 0)},{}],260:[function(B,N,r){"use strict";(function(){var y;N.exports=y=function(){function m(){}return m.prototype.hasFeature=function(C,p){return!0},m.prototype.createDocumentType=function(C,p,g){throw new Error("This DOM method is not implemented.")},m.prototype.createDocument=function(C,p,g){throw new Error("This DOM method is not implemented.")},m.prototype.createHTMLDocument=function(C){throw new Error("This DOM method is not implemented.")},m.prototype.getFeature=function(C,p){throw new Error("This DOM method is not implemented.")},m}()}).call(void 0)},{}],261:[function(B,N,r){"use strict";(function(){var y;N.exports=y=function(){function m(C){this.arr=C||[]}return Object.defineProperty(m.prototype,"length",{get:function(){return this.arr.length}}),m.prototype.item=function(C){return this.arr[C]||null},m.prototype.contains=function(C){return this.arr.indexOf(C)!==-1},m}()}).call(void 0)},{}],262:[function(B,N,r){"use strict";(function(){var y,m,C,p=function(c,o){for(var n in o)g.call(o,n)&&(c[n]=o[n]);function t(){this.constructor=c}return t.prototype=o.prototype,c.prototype=new t,c.__super__=o.prototype,c},g={}.hasOwnProperty;C=B("./XMLNode"),y=B("./NodeType"),N.exports=m=function(h){p(c,h);function c(o,n,t,a,d,i){if(c.__super__.constructor.call(this,o),n==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(t==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(n));if(!a)throw new Error("Missing DTD attribute type. "+this.debugInfo(n));if(!d)throw new Error("Missing DTD attribute default. "+this.debugInfo(n));if(d.indexOf("#")!==0&&(d="#"+d),!d.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(n));if(i&&!d.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(n));this.elementName=this.stringify.name(n),this.type=y.AttributeDeclaration,this.attributeName=this.stringify.name(t),this.attributeType=this.stringify.dtdAttType(a),i&&(this.defaultValue=this.stringify.dtdAttDefault(i)),this.defaultValueType=d}return c.prototype.toString=function(o){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(o))},c}(C)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],263:[function(B,N,r){"use strict";(function(){var y,m,C,p=function(c,o){for(var n in o)g.call(o,n)&&(c[n]=o[n]);function t(){this.constructor=c}return t.prototype=o.prototype,c.prototype=new t,c.__super__=o.prototype,c},g={}.hasOwnProperty;C=B("./XMLNode"),y=B("./NodeType"),N.exports=m=function(h){p(c,h);function c(o,n,t){if(c.__super__.constructor.call(this,o),n==null)throw new Error("Missing DTD element name. "+this.debugInfo());t||(t="(#PCDATA)"),Array.isArray(t)&&(t="("+t.join(",")+")"),this.name=this.stringify.name(n),this.type=y.ElementDeclaration,this.value=this.stringify.dtdElementValue(t)}return c.prototype.toString=function(o){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(o))},c}(C)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],264:[function(B,N,r){"use strict";(function(){var y,m,C,p,g=function(o,n){for(var t in n)h.call(n,t)&&(o[t]=n[t]);function a(){this.constructor=o}return a.prototype=n.prototype,o.prototype=new a,o.__super__=n.prototype,o},h={}.hasOwnProperty;p=B("./Utility").isObject,C=B("./XMLNode"),y=B("./NodeType"),N.exports=m=function(c){g(o,c);function o(n,t,a,d){if(o.__super__.constructor.call(this,n),a==null)throw new Error("Missing DTD entity name. "+this.debugInfo(a));if(d==null)throw new Error("Missing DTD entity value. "+this.debugInfo(a));if(this.pe=!!t,this.name=this.stringify.name(a),this.type=y.EntityDeclaration,!p(d))this.value=this.stringify.dtdEntityValue(d),this.internal=!0;else{if(!d.pubID&&!d.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(a));if(d.pubID&&!d.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(a));if(this.internal=!1,d.pubID!=null&&(this.pubID=this.stringify.dtdPubID(d.pubID)),d.sysID!=null&&(this.sysID=this.stringify.dtdSysID(d.sysID)),d.nData!=null&&(this.nData=this.stringify.dtdNData(d.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(a))}}return Object.defineProperty(o.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(o.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(o.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(o.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(o.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(o.prototype,"xmlVersion",{get:function(){return null}}),o.prototype.toString=function(n){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(n))},o}(C)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],265:[function(B,N,r){"use strict";(function(){var y,m,C,p=function(c,o){for(var n in o)g.call(o,n)&&(c[n]=o[n]);function t(){this.constructor=c}return t.prototype=o.prototype,c.prototype=new t,c.__super__=o.prototype,c},g={}.hasOwnProperty;C=B("./XMLNode"),y=B("./NodeType"),N.exports=m=function(h){p(c,h);function c(o,n,t){if(c.__super__.constructor.call(this,o),n==null)throw new Error("Missing DTD notation name. "+this.debugInfo(n));if(!t.pubID&&!t.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(n));this.name=this.stringify.name(n),this.type=y.NotationDeclaration,t.pubID!=null&&(this.pubID=this.stringify.dtdPubID(t.pubID)),t.sysID!=null&&(this.sysID=this.stringify.dtdSysID(t.sysID))}return Object.defineProperty(c.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(c.prototype,"systemId",{get:function(){return this.sysID}}),c.prototype.toString=function(o){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(o))},c}(C)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],266:[function(B,N,r){"use strict";(function(){var y,m,C,p,g=function(o,n){for(var t in n)h.call(n,t)&&(o[t]=n[t]);function a(){this.constructor=o}return a.prototype=n.prototype,o.prototype=new a,o.__super__=n.prototype,o},h={}.hasOwnProperty;p=B("./Utility").isObject,C=B("./XMLNode"),y=B("./NodeType"),N.exports=m=function(c){g(o,c);function o(n,t,a,d){var i;o.__super__.constructor.call(this,n),p(t)&&(i=t,t=i.version,a=i.encoding,d=i.standalone),t||(t="1.0"),this.type=y.Declaration,this.version=this.stringify.xmlVersion(t),a!=null&&(this.encoding=this.stringify.xmlEncoding(a)),d!=null&&(this.standalone=this.stringify.xmlStandalone(d))}return o.prototype.toString=function(n){return this.options.writer.declaration(this,this.options.writer.filterOptions(n))},o}(C)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],267:[function(B,N,r){"use strict";(function(){var y,m,C,p,g,h,c,o,n,t=function(i,l){for(var e in l)a.call(l,e)&&(i[e]=l[e]);function s(){this.constructor=i}return s.prototype=l.prototype,i.prototype=new s,i.__super__=l.prototype,i},a={}.hasOwnProperty;n=B("./Utility").isObject,o=B("./XMLNode"),y=B("./NodeType"),m=B("./XMLDTDAttList"),p=B("./XMLDTDEntity"),C=B("./XMLDTDElement"),g=B("./XMLDTDNotation"),c=B("./XMLNamedNodeMap"),N.exports=h=function(d){t(i,d);function i(l,e,s){var u,f,A,v,x,b;if(i.__super__.constructor.call(this,l),this.type=y.DocType,l.children){for(v=l.children,f=0,A=v.length;f<A;f++)if(u=v[f],u.type===y.Element){this.name=u.name;break}}this.documentObject=l,n(e)&&(x=e,e=x.pubID,s=x.sysID),s==null&&(b=[e,s],s=b[0],e=b[1]),e!=null&&(this.pubID=this.stringify.dtdPubID(e)),s!=null&&(this.sysID=this.stringify.dtdSysID(s))}return Object.defineProperty(i.prototype,"entities",{get:function(){var e,s,u,f,A;for(f={},A=this.children,s=0,u=A.length;s<u;s++)e=A[s],e.type===y.EntityDeclaration&&!e.pe&&(f[e.name]=e);return new c(f)}}),Object.defineProperty(i.prototype,"notations",{get:function(){var e,s,u,f,A;for(f={},A=this.children,s=0,u=A.length;s<u;s++)e=A[s],e.type===y.NotationDeclaration&&(f[e.name]=e);return new c(f)}}),Object.defineProperty(i.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(i.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(i.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),i.prototype.element=function(l,e){var s;return s=new C(this,l,e),this.children.push(s),this},i.prototype.attList=function(l,e,s,u,f){var A;return A=new m(this,l,e,s,u,f),this.children.push(A),this},i.prototype.entity=function(l,e){var s;return s=new p(this,!1,l,e),this.children.push(s),this},i.prototype.pEntity=function(l,e){var s;return s=new p(this,!0,l,e),this.children.push(s),this},i.prototype.notation=function(l,e){var s;return s=new g(this,l,e),this.children.push(s),this},i.prototype.toString=function(l){return this.options.writer.docType(this,this.options.writer.filterOptions(l))},i.prototype.ele=function(l,e){return this.element(l,e)},i.prototype.att=function(l,e,s,u,f){return this.attList(l,e,s,u,f)},i.prototype.ent=function(l,e){return this.entity(l,e)},i.prototype.pent=function(l,e){return this.pEntity(l,e)},i.prototype.not=function(l,e){return this.notation(l,e)},i.prototype.up=function(){return this.root()||this.documentObject},i.prototype.isEqualNode=function(l){return i.__super__.isEqualNode.apply(this,arguments).isEqualNode(l)?l.name!==this.name||l.publicId!==this.publicId?!1:!(l.systemId!==this.systemId):!1},i}(o)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLNamedNodeMap":272,"./XMLNode":273}],268:[function(B,N,r){"use strict";(function(){var y,m,C,p,g,h,c,o,n=function(d,i){for(var l in i)t.call(i,l)&&(d[l]=i[l]);function e(){this.constructor=d}return e.prototype=i.prototype,d.prototype=new e,d.__super__=i.prototype,d},t={}.hasOwnProperty;o=B("./Utility").isPlainObject,C=B("./XMLDOMImplementation"),m=B("./XMLDOMConfiguration"),g=B("./XMLNode"),y=B("./NodeType"),c=B("./XMLStringifier"),h=B("./XMLStringWriter"),N.exports=p=function(a){n(d,a);function d(i){d.__super__.constructor.call(this,null),this.name="#document",this.type=y.Document,this.documentURI=null,this.domConfig=new m,i||(i={}),i.writer||(i.writer=new h),this.options=i,this.stringify=new c(i)}return Object.defineProperty(d.prototype,"implementation",{value:new C}),Object.defineProperty(d.prototype,"doctype",{get:function(){var l,e,s,u;for(u=this.children,e=0,s=u.length;e<s;e++)if(l=u[e],l.type===y.DocType)return l;return null}}),Object.defineProperty(d.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(d.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(d.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(d.prototype,"xmlEncoding",{get:function(){return this.children.length!==0&&this.children[0].type===y.Declaration?this.children[0].encoding:null}}),Object.defineProperty(d.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===y.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(d.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===y.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(d.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(d.prototype,"origin",{get:function(){return null}}),Object.defineProperty(d.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(d.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(d.prototype,"contentType",{get:function(){return null}}),d.prototype.end=function(i){var l;return l={},i?o(i)&&(l=i,i=this.options.writer):i=this.options.writer,i.document(this,i.filterOptions(l))},d.prototype.toString=function(i){return this.options.writer.document(this,this.options.writer.filterOptions(i))},d.prototype.createElement=function(i){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createTextNode=function(i){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createComment=function(i){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createCDATASection=function(i){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createProcessingInstruction=function(i,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createAttribute=function(i){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createEntityReference=function(i){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.getElementsByTagName=function(i){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.importNode=function(i,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createElementNS=function(i,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createAttributeNS=function(i,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.getElementsByTagNameNS=function(i,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.getElementById=function(i){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.adoptNode=function(i){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.renameNode=function(i,l,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.getElementsByClassName=function(i){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createEvent=function(i){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createNodeIterator=function(i,l,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createTreeWalker=function(i,l,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},d}(g)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDOMConfiguration":258,"./XMLDOMImplementation":260,"./XMLNode":273,"./XMLStringWriter":278,"./XMLStringifier":279}],269:[function(B,N,r){"use strict";(function(){var y,m,C,p,g,h,c,o,n,t,a,d,i,l,e,s,u,f,A,v,x,b,w,_,T={}.hasOwnProperty;_=B("./Utility"),b=_.isObject,x=_.isFunction,w=_.isPlainObject,v=_.getValue,y=B("./NodeType"),d=B("./XMLDocument"),l=B("./XMLElement"),p=B("./XMLCData"),g=B("./XMLComment"),s=B("./XMLRaw"),A=B("./XMLText"),e=B("./XMLProcessingInstruction"),t=B("./XMLDeclaration"),a=B("./XMLDocType"),h=B("./XMLDTDAttList"),o=B("./XMLDTDEntity"),c=B("./XMLDTDElement"),n=B("./XMLDTDNotation"),C=B("./XMLAttribute"),f=B("./XMLStringifier"),u=B("./XMLStringWriter"),m=B("./WriterState"),N.exports=i=function(){function S(E,I,O){var F;this.name="?xml",this.type=y.Document,E||(E={}),F={},E.writer?w(E.writer)&&(F=E.writer,E.writer=new u):E.writer=new u,this.options=E,this.writer=E.writer,this.writerOptions=this.writer.filterOptions(F),this.stringify=new f(E),this.onDataCallback=I||function(){},this.onEndCallback=O||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return S.prototype.createChildNode=function(E){var I,O,F,k,M,P,V,D;switch(E.type){case y.CData:this.cdata(E.value);break;case y.Comment:this.comment(E.value);break;case y.Element:F={},V=E.attribs;for(O in V){if(!T.call(V,O))continue;I=V[O],F[O]=I.value}this.node(E.name,F);break;case y.Dummy:this.dummy();break;case y.Raw:this.raw(E.value);break;case y.Text:this.text(E.value);break;case y.ProcessingInstruction:this.instruction(E.target,E.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+E.constructor.name)}for(D=E.children,M=0,P=D.length;M<P;M++)k=D[M],this.createChildNode(k),k.type===y.Element&&this.up();return this},S.prototype.dummy=function(){return this},S.prototype.node=function(E,I,O){var F;if(E==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(E));return this.openCurrent(),E=v(E),I==null&&(I={}),I=v(I),b(I)||(F=[I,O],O=F[0],I=F[1]),this.currentNode=new l(this,E,I),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,O!=null&&this.text(O),this},S.prototype.element=function(E,I,O){var F,k,M,P,V,D;if(this.currentNode&&this.currentNode.type===y.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(E)||b(E)||x(E))for(P=this.options.noValidation,this.options.noValidation=!0,D=new d(this.options).element("TEMP_ROOT"),D.element(E),this.options.noValidation=P,V=D.children,k=0,M=V.length;k<M;k++)F=V[k],this.createChildNode(F),F.type===y.Element&&this.up();else this.node(E,I,O);return this},S.prototype.attribute=function(E,I){var O,F;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(E));if(E!=null&&(E=v(E)),b(E))for(O in E){if(!T.call(E,O))continue;F=E[O],this.attribute(O,F)}else x(I)&&(I=I.apply()),this.options.keepNullAttributes&&I==null?this.currentNode.attribs[E]=new C(this,E,""):I!=null&&(this.currentNode.attribs[E]=new C(this,E,I));return this},S.prototype.text=function(E){var I;return this.openCurrent(),I=new A(this,E),this.onData(this.writer.text(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},S.prototype.cdata=function(E){var I;return this.openCurrent(),I=new p(this,E),this.onData(this.writer.cdata(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},S.prototype.comment=function(E){var I;return this.openCurrent(),I=new g(this,E),this.onData(this.writer.comment(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},S.prototype.raw=function(E){var I;return this.openCurrent(),I=new s(this,E),this.onData(this.writer.raw(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},S.prototype.instruction=function(E,I){var O,F,k,M,P;if(this.openCurrent(),E!=null&&(E=v(E)),I!=null&&(I=v(I)),Array.isArray(E))for(O=0,M=E.length;O<M;O++)F=E[O],this.instruction(F);else if(b(E))for(F in E){if(!T.call(E,F))continue;k=E[F],this.instruction(F,k)}else x(I)&&(I=I.apply()),P=new e(this,E,I),this.onData(this.writer.processingInstruction(P,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},S.prototype.declaration=function(E,I,O){var F;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return F=new t(this,E,I,O),this.onData(this.writer.declaration(F,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},S.prototype.doctype=function(E,I,O){if(this.openCurrent(),E==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 a(this,I,O),this.currentNode.rootNodeName=E,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},S.prototype.dtdElement=function(E,I){var O;return this.openCurrent(),O=new c(this,E,I),this.onData(this.writer.dtdElement(O,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},S.prototype.attList=function(E,I,O,F,k){var M;return this.openCurrent(),M=new h(this,E,I,O,F,k),this.onData(this.writer.dtdAttList(M,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},S.prototype.entity=function(E,I){var O;return this.openCurrent(),O=new o(this,!1,E,I),this.onData(this.writer.dtdEntity(O,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},S.prototype.pEntity=function(E,I){var O;return this.openCurrent(),O=new o(this,!0,E,I),this.onData(this.writer.dtdEntity(O,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},S.prototype.notation=function(E,I){var O;return this.openCurrent(),O=new n(this,E,I),this.onData(this.writer.dtdNotation(O,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},S.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},S.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},S.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},S.prototype.openNode=function(E){var I,O,F,k;if(!E.isOpen){if(!this.root&&this.currentLevel===0&&E.type===y.Element&&(this.root=E),O="",E.type===y.Element){this.writerOptions.state=m.OpenTag,O=this.writer.indent(E,this.writerOptions,this.currentLevel)+"<"+E.name,k=E.attribs;for(F in k){if(!T.call(k,F))continue;I=k[F],O+=this.writer.attribute(I,this.writerOptions,this.currentLevel)}O+=(E.children?">":"/>")+this.writer.endline(E,this.writerOptions,this.currentLevel),this.writerOptions.state=m.InsideTag}else this.writerOptions.state=m.OpenTag,O=this.writer.indent(E,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+E.rootNodeName,E.pubID&&E.sysID?O+=' PUBLIC "'+E.pubID+'" "'+E.sysID+'"':E.sysID&&(O+=' SYSTEM "'+E.sysID+'"'),E.children?(O+=" [",this.writerOptions.state=m.InsideTag):(this.writerOptions.state=m.CloseTag,O+=">"),O+=this.writer.endline(E,this.writerOptions,this.currentLevel);return this.onData(O,this.currentLevel),E.isOpen=!0}},S.prototype.closeNode=function(E){var I;if(!E.isClosed)return I="",this.writerOptions.state=m.CloseTag,E.type===y.Element?I=this.writer.indent(E,this.writerOptions,this.currentLevel)+"</"+E.name+">"+this.writer.endline(E,this.writerOptions,this.currentLevel):I=this.writer.indent(E,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(E,this.writerOptions,this.currentLevel),this.writerOptions.state=m.None,this.onData(I,this.currentLevel),E.isClosed=!0},S.prototype.onData=function(E,I){return this.documentStarted=!0,this.onDataCallback(E,I+1)},S.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},S.prototype.debugInfo=function(E){return E==null?"":"node: <"+E+">"},S.prototype.ele=function(){return this.element.apply(this,arguments)},S.prototype.nod=function(E,I,O){return this.node(E,I,O)},S.prototype.txt=function(E){return this.text(E)},S.prototype.dat=function(E){return this.cdata(E)},S.prototype.com=function(E){return this.comment(E)},S.prototype.ins=function(E,I){return this.instruction(E,I)},S.prototype.dec=function(E,I,O){return this.declaration(E,I,O)},S.prototype.dtd=function(E,I,O){return this.doctype(E,I,O)},S.prototype.e=function(E,I,O){return this.element(E,I,O)},S.prototype.n=function(E,I,O){return this.node(E,I,O)},S.prototype.t=function(E){return this.text(E)},S.prototype.d=function(E){return this.cdata(E)},S.prototype.c=function(E){return this.comment(E)},S.prototype.r=function(E){return this.raw(E)},S.prototype.i=function(E,I){return this.instruction(E,I)},S.prototype.att=function(){return this.currentNode&&this.currentNode.type===y.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},S.prototype.a=function(){return this.currentNode&&this.currentNode.type===y.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},S.prototype.ent=function(E,I){return this.entity(E,I)},S.prototype.pent=function(E,I){return this.pEntity(E,I)},S.prototype.not=function(E,I){return this.notation(E,I)},S}()}).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(B,N,r){"use strict";var y=B("babel-runtime/core-js/object/create"),m=C(y);function C(p){return p&&p.__esModule?p:{default:p}}(function(){var p,g,h,c=function(t,a){for(var d in a)o.call(a,d)&&(t[d]=a[d]);function i(){this.constructor=t}return i.prototype=a.prototype,t.prototype=new i,t.__super__=a.prototype,t},o={}.hasOwnProperty;h=B("./XMLNode"),p=B("./NodeType"),N.exports=g=function(n){c(t,n);function t(a){t.__super__.constructor.call(this,a),this.type=p.Dummy}return t.prototype.clone=function(){return(0,m.default)(this)},t.prototype.toString=function(a){return""},t}(h)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],271:[function(B,N,r){"use strict";var y=B("babel-runtime/core-js/object/create"),m=C(y);function C(p){return p&&p.__esModule?p:{default:p}}(function(){var p,g,h,c,o,n,t,a,d,i=function(s,u){for(var f in u)l.call(u,f)&&(s[f]=u[f]);function A(){this.constructor=s}return A.prototype=u.prototype,s.prototype=new A,s.__super__=u.prototype,s},l={}.hasOwnProperty;d=B("./Utility"),a=d.isObject,t=d.isFunction,n=d.getValue,o=B("./XMLNode"),p=B("./NodeType"),g=B("./XMLAttribute"),c=B("./XMLNamedNodeMap"),N.exports=h=function(e){i(s,e);function s(u,f,A){var v,x,b,w;if(s.__super__.constructor.call(this,u),f==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(f),this.type=p.Element,this.attribs={},this.schemaTypeInfo=null,A!=null&&this.attribute(A),u.type===p.Document&&(this.isRoot=!0,this.documentObject=u,u.rootObject=this,u.children)){for(w=u.children,x=0,b=w.length;x<b;x++)if(v=w[x],v.type===p.DocType){v.name=this.name;break}}}return Object.defineProperty(s.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(s.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(s.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(s.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(s.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(s.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(s.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(s.prototype,"attributes",{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new c(this.attribs)),this.attributeMap}}),s.prototype.clone=function(){var u,f,A,v;A=(0,m.default)(this),A.isRoot&&(A.documentObject=null),A.attribs={},v=this.attribs;for(f in v){if(!l.call(v,f))continue;u=v[f],A.attribs[f]=u.clone()}return A.children=[],this.children.forEach(function(x){var b;return b=x.clone(),b.parent=A,A.children.push(b)}),A},s.prototype.attribute=function(u,f){var A,v;if(u!=null&&(u=n(u)),a(u))for(A in u){if(!l.call(u,A))continue;v=u[A],this.attribute(A,v)}else t(f)&&(f=f.apply()),this.options.keepNullAttributes&&f==null?this.attribs[u]=new g(this,u,""):f!=null&&(this.attribs[u]=new g(this,u,f));return this},s.prototype.removeAttribute=function(u){var f,A,v;if(u==null)throw new Error("Missing attribute name. "+this.debugInfo());if(u=n(u),Array.isArray(u))for(A=0,v=u.length;A<v;A++)f=u[A],delete this.attribs[f];else delete this.attribs[u];return this},s.prototype.toString=function(u){return this.options.writer.element(this,this.options.writer.filterOptions(u))},s.prototype.att=function(u,f){return this.attribute(u,f)},s.prototype.a=function(u,f){return this.attribute(u,f)},s.prototype.getAttribute=function(u){return this.attribs.hasOwnProperty(u)?this.attribs[u].value:null},s.prototype.setAttribute=function(u,f){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getAttributeNode=function(u){return this.attribs.hasOwnProperty(u)?this.attribs[u]:null},s.prototype.setAttributeNode=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.removeAttributeNode=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagName=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getAttributeNS=function(u,f){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setAttributeNS=function(u,f,A){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.removeAttributeNS=function(u,f){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getAttributeNodeNS=function(u,f){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setAttributeNodeNS=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagNameNS=function(u,f){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.hasAttribute=function(u){return this.attribs.hasOwnProperty(u)},s.prototype.hasAttributeNS=function(u,f){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setIdAttribute=function(u,f){return this.attribs.hasOwnProperty(u)?this.attribs[u].isId:f},s.prototype.setIdAttributeNS=function(u,f,A){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setIdAttributeNode=function(u,f){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagName=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagNameNS=function(u,f){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByClassName=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.isEqualNode=function(u){var f,A,v;if(!s.__super__.isEqualNode.apply(this,arguments).isEqualNode(u))return!1;if(u.namespaceURI!==this.namespaceURI)return!1;if(u.prefix!==this.prefix)return!1;if(u.localName!==this.localName)return!1;if(u.attribs.length!==this.attribs.length)return!1;for(f=A=0,v=this.attribs.length-1;0<=v?A<=v:A>=v;f=0<=v?++A:--A)if(!this.attribs[f].isEqualNode(u.attribs[f]))return!1;return!0},s}(o)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLAttribute":254,"./XMLNamedNodeMap":272,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],272:[function(B,N,r){"use strict";var y=B("babel-runtime/core-js/object/keys"),m=C(y);function C(p){return p&&p.__esModule?p:{default:p}}(function(){var p;N.exports=p=function(){function g(h){this.nodes=h}return Object.defineProperty(g.prototype,"length",{get:function(){return(0,m.default)(this.nodes).length||0}}),g.prototype.clone=function(){return this.nodes=null},g.prototype.getNamedItem=function(h){return this.nodes[h]},g.prototype.setNamedItem=function(h){var c;return c=this.nodes[h.nodeName],this.nodes[h.nodeName]=h,c||null},g.prototype.removeNamedItem=function(h){var c;return c=this.nodes[h],delete this.nodes[h],c||null},g.prototype.item=function(h){return this.nodes[(0,m.default)(this.nodes)[h]]||null},g.prototype.getNamedItemNS=function(h,c){throw new Error("This DOM method is not implemented.")},g.prototype.setNamedItemNS=function(h){throw new Error("This DOM method is not implemented.")},g.prototype.removeNamedItemNS=function(h,c){throw new Error("This DOM method is not implemented.")},g}()}).call(void 0)},{"babel-runtime/core-js/object/keys":60}],273:[function(B,N,r){"use strict";(function(){var y,m,C,p,g,h,c,o,n,t,a,d,i,l,e,s,u,f,A,v={}.hasOwnProperty;A=B("./Utility"),f=A.isObject,u=A.isFunction,s=A.isEmpty,e=A.getValue,o=null,C=null,p=null,g=null,h=null,i=null,l=null,d=null,c=null,m=null,a=null,n=null,y=null,N.exports=t=function(){function x(b){this.parent=b,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,o||(o=B("./XMLElement"),C=B("./XMLCData"),p=B("./XMLComment"),g=B("./XMLDeclaration"),h=B("./XMLDocType"),i=B("./XMLRaw"),l=B("./XMLText"),d=B("./XMLProcessingInstruction"),c=B("./XMLDummy"),m=B("./NodeType"),a=B("./XMLNodeList"),n=B("./XMLNamedNodeMap"),y=B("./DocumentPosition"))}return Object.defineProperty(x.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(x.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(x.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(x.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(x.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new a(this.children)),this.childNodeList}}),Object.defineProperty(x.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(x.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(x.prototype,"previousSibling",{get:function(){var w;return w=this.parent.children.indexOf(this),this.parent.children[w-1]||null}}),Object.defineProperty(x.prototype,"nextSibling",{get:function(){var w;return w=this.parent.children.indexOf(this),this.parent.children[w+1]||null}}),Object.defineProperty(x.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(x.prototype,"textContent",{get:function(){var w,_,T,S,E;if(this.nodeType===m.Element||this.nodeType===m.DocumentFragment){for(E="",S=this.children,_=0,T=S.length;_<T;_++)w=S[_],w.textContent&&(E+=w.textContent);return E}else return null},set:function(w){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),x.prototype.setParent=function(b){var w,_,T,S,E;for(this.parent=b,b&&(this.options=b.options,this.stringify=b.stringify),S=this.children,E=[],_=0,T=S.length;_<T;_++)w=S[_],E.push(w.setParent(this));return E},x.prototype.element=function(b,w,_){var T,S,E,I,O,F,k,M,P,V,D;if(F=null,w===null&&_==null&&(P=[{},null],w=P[0],_=P[1]),w==null&&(w={}),w=e(w),f(w)||(V=[w,_],_=V[0],w=V[1]),b!=null&&(b=e(b)),Array.isArray(b))for(E=0,k=b.length;E<k;E++)S=b[E],F=this.element(S);else if(u(b))F=this.element(b.apply());else if(f(b))for(O in b){if(!v.call(b,O))continue;if(D=b[O],u(D)&&(D=D.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&O.indexOf(this.stringify.convertAttKey)===0)F=this.attribute(O.substr(this.stringify.convertAttKey.length),D);else if(!this.options.separateArrayItems&&Array.isArray(D)&&s(D))F=this.dummy();else if(f(D)&&s(D))F=this.element(O);else if(!this.options.keepNullNodes&&D==null)F=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(D))for(I=0,M=D.length;I<M;I++)S=D[I],T={},T[O]=S,F=this.element(T);else f(D)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&O.indexOf(this.stringify.convertTextKey)===0?F=this.element(D):(F=this.element(O),F.element(D)):F=this.element(O,D)}else!this.options.keepNullNodes&&_===null?F=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&b.indexOf(this.stringify.convertTextKey)===0?F=this.text(_):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&b.indexOf(this.stringify.convertCDataKey)===0?F=this.cdata(_):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&b.indexOf(this.stringify.convertCommentKey)===0?F=this.comment(_):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&b.indexOf(this.stringify.convertRawKey)===0?F=this.raw(_):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&b.indexOf(this.stringify.convertPIKey)===0?F=this.instruction(b.substr(this.stringify.convertPIKey.length),_):F=this.node(b,w,_);if(F==null)throw new Error("Could not create any elements with: "+b+". "+this.debugInfo());return F},x.prototype.insertBefore=function(b,w,_){var T,S,E,I,O;if(b!=null?b.type:void 0)return E=b,I=w,E.setParent(this),I?(S=children.indexOf(I),O=children.splice(S),children.push(E),Array.prototype.push.apply(children,O)):children.push(E),E;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(b));return S=this.parent.children.indexOf(this),O=this.parent.children.splice(S),T=this.parent.element(b,w,_),Array.prototype.push.apply(this.parent.children,O),T},x.prototype.insertAfter=function(b,w,_){var T,S,E;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(b));return S=this.parent.children.indexOf(this),E=this.parent.children.splice(S+1),T=this.parent.element(b,w,_),Array.prototype.push.apply(this.parent.children,E),T},x.prototype.remove=function(){var b,w;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return b=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[b,b-b+1].concat(w=[])),this.parent},x.prototype.node=function(b,w,_){var T,S;return b!=null&&(b=e(b)),w||(w={}),w=e(w),f(w)||(S=[w,_],_=S[0],w=S[1]),T=new o(this,b,w),_!=null&&T.text(_),this.children.push(T),T},x.prototype.text=function(b){var w;return f(b)&&this.element(b),w=new l(this,b),this.children.push(w),this},x.prototype.cdata=function(b){var w;return w=new C(this,b),this.children.push(w),this},x.prototype.comment=function(b){var w;return w=new p(this,b),this.children.push(w),this},x.prototype.commentBefore=function(b){var w,_,T;return _=this.parent.children.indexOf(this),T=this.parent.children.splice(_),w=this.parent.comment(b),Array.prototype.push.apply(this.parent.children,T),this},x.prototype.commentAfter=function(b){var w,_,T;return _=this.parent.children.indexOf(this),T=this.parent.children.splice(_+1),w=this.parent.comment(b),Array.prototype.push.apply(this.parent.children,T),this},x.prototype.raw=function(b){var w;return w=new i(this,b),this.children.push(w),this},x.prototype.dummy=function(){var b;return b=new c(this),b},x.prototype.instruction=function(b,w){var _,T,S,E,I;if(b!=null&&(b=e(b)),w!=null&&(w=e(w)),Array.isArray(b))for(E=0,I=b.length;E<I;E++)_=b[E],this.instruction(_);else if(f(b))for(_ in b){if(!v.call(b,_))continue;T=b[_],this.instruction(_,T)}else u(w)&&(w=w.apply()),S=new d(this,b,w),this.children.push(S);return this},x.prototype.instructionBefore=function(b,w){var _,T,S;return T=this.parent.children.indexOf(this),S=this.parent.children.splice(T),_=this.parent.instruction(b,w),Array.prototype.push.apply(this.parent.children,S),this},x.prototype.instructionAfter=function(b,w){var _,T,S;return T=this.parent.children.indexOf(this),S=this.parent.children.splice(T+1),_=this.parent.instruction(b,w),Array.prototype.push.apply(this.parent.children,S),this},x.prototype.declaration=function(b,w,_){var T,S;return T=this.document(),S=new g(T,b,w,_),T.children.length===0?T.children.unshift(S):T.children[0].type===m.Declaration?T.children[0]=S:T.children.unshift(S),T.root()||T},x.prototype.dtd=function(b,w){var _,T,S,E,I,O,F,k,M,P;for(T=this.document(),S=new h(T,b,w),M=T.children,E=I=0,F=M.length;I<F;E=++I)if(_=M[E],_.type===m.DocType)return T.children[E]=S,S;for(P=T.children,E=O=0,k=P.length;O<k;E=++O)if(_=P[E],_.isRoot)return T.children.splice(E,0,S),S;return T.children.push(S),S},x.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},x.prototype.root=function(){var b;for(b=this;b;){if(b.type===m.Document)return b.rootObject;if(b.isRoot)return b;b=b.parent}},x.prototype.document=function(){var b;for(b=this;b;){if(b.type===m.Document)return b;b=b.parent}},x.prototype.end=function(b){return this.document().end(b)},x.prototype.prev=function(){var b;if(b=this.parent.children.indexOf(this),b<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[b-1]},x.prototype.next=function(){var b;if(b=this.parent.children.indexOf(this),b===-1||b===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[b+1]},x.prototype.importDocument=function(b){var w;return w=b.root().clone(),w.parent=this,w.isRoot=!1,this.children.push(w),this},x.prototype.debugInfo=function(b){var w,_;return b=b||this.name,b==null&&!((w=this.parent)!=null?w.name:void 0)?"":b==null?"parent: <"+this.parent.name+">":((_=this.parent)!=null?_.name:void 0)?"node: <"+b+">, parent: <"+this.parent.name+">":"node: <"+b+">"},x.prototype.ele=function(b,w,_){return this.element(b,w,_)},x.prototype.nod=function(b,w,_){return this.node(b,w,_)},x.prototype.txt=function(b){return this.text(b)},x.prototype.dat=function(b){return this.cdata(b)},x.prototype.com=function(b){return this.comment(b)},x.prototype.ins=function(b,w){return this.instruction(b,w)},x.prototype.doc=function(){return this.document()},x.prototype.dec=function(b,w,_){return this.declaration(b,w,_)},x.prototype.e=function(b,w,_){return this.element(b,w,_)},x.prototype.n=function(b,w,_){return this.node(b,w,_)},x.prototype.t=function(b){return this.text(b)},x.prototype.d=function(b){return this.cdata(b)},x.prototype.c=function(b){return this.comment(b)},x.prototype.r=function(b){return this.raw(b)},x.prototype.i=function(b,w){return this.instruction(b,w)},x.prototype.u=function(){return this.up()},x.prototype.importXMLBuilder=function(b){return this.importDocument(b)},x.prototype.replaceChild=function(b,w){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.removeChild=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.appendChild=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.hasChildNodes=function(){return this.children.length!==0},x.prototype.cloneNode=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.isSupported=function(b,w){return!0},x.prototype.hasAttributes=function(){return this.attribs.length!==0},x.prototype.compareDocumentPosition=function(b){var w,_;return w=this,w===b?0:this.document()!==b.document()?(_=y.Disconnected|y.ImplementationSpecific,Math.random()<.5?_|=y.Preceding:_|=y.Following,_):w.isAncestor(b)?y.Contains|y.Preceding:w.isDescendant(b)?y.Contains|y.Following:w.isPreceding(b)?y.Preceding:y.Following},x.prototype.isSameNode=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.lookupPrefix=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.isDefaultNamespace=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.lookupNamespaceURI=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.isEqualNode=function(b){var w,_,T;if(b.nodeType!==this.nodeType)return!1;if(b.children.length!==this.children.length)return!1;for(w=_=0,T=this.children.length-1;0<=T?_<=T:_>=T;w=0<=T?++_:--_)if(!this.children[w].isEqualNode(b.children[w]))return!1;return!0},x.prototype.getFeature=function(b,w){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.setUserData=function(b,w,_){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.getUserData=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.contains=function(b){return b?b===this||this.isDescendant(b):!1},x.prototype.isDescendant=function(b){var w,_,T,S,E;for(E=this.children,T=0,S=E.length;T<S;T++){if(w=E[T],b===w)return!0;if(_=w.isDescendant(b),_)return!0}return!1},x.prototype.isAncestor=function(b){return b.isDescendant(this)},x.prototype.isPreceding=function(b){var w,_;return w=this.treePosition(b),_=this.treePosition(this),w===-1||_===-1?!1:w<_},x.prototype.isFollowing=function(b){var w,_;return w=this.treePosition(b),_=this.treePosition(this),w===-1||_===-1?!1:w>_},x.prototype.treePosition=function(b){var w,_;return _=0,w=!1,this.foreachTreeNode(this.document(),function(T){if(_++,!w&&T===b)return w=!0}),w?_:-1},x.prototype.foreachTreeNode=function(b,w){var _,T,S,E,I;for(b||(b=this.document()),E=b.children,T=0,S=E.length;T<S;T++){if(_=E[T],I=w(_))return I;if(I=this.foreachTreeNode(_,w),I)return I}},x}()}).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(B,N,r){"use strict";(function(){var y;N.exports=y=function(){function m(C){this.nodes=C}return Object.defineProperty(m.prototype,"length",{get:function(){return this.nodes.length||0}}),m.prototype.clone=function(){return this.nodes=null},m.prototype.item=function(C){return this.nodes[C]||null},m}()}).call(void 0)},{}],275:[function(B,N,r){"use strict";var y=B("babel-runtime/core-js/object/create"),m=C(y);function C(p){return p&&p.__esModule?p:{default:p}}(function(){var p,g,h,c=function(t,a){for(var d in a)o.call(a,d)&&(t[d]=a[d]);function i(){this.constructor=t}return i.prototype=a.prototype,t.prototype=new i,t.__super__=a.prototype,t},o={}.hasOwnProperty;p=B("./NodeType"),g=B("./XMLCharacterData"),N.exports=h=function(n){c(t,n);function t(a,d,i){if(t.__super__.constructor.call(this,a),d==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=p.ProcessingInstruction,this.target=this.stringify.insTarget(d),this.name=this.target,i&&(this.value=this.stringify.insValue(i))}return t.prototype.clone=function(){return(0,m.default)(this)},t.prototype.toString=function(a){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(a))},t.prototype.isEqualNode=function(a){return t.__super__.isEqualNode.apply(this,arguments).isEqualNode(a)?!(a.target!==this.target):!1},t}(g)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],276:[function(B,N,r){"use strict";var y=B("babel-runtime/core-js/object/create"),m=C(y);function C(p){return p&&p.__esModule?p:{default:p}}(function(){var p,g,h,c=function(t,a){for(var d in a)o.call(a,d)&&(t[d]=a[d]);function i(){this.constructor=t}return i.prototype=a.prototype,t.prototype=new i,t.__super__=a.prototype,t},o={}.hasOwnProperty;p=B("./NodeType"),g=B("./XMLNode"),N.exports=h=function(n){c(t,n);function t(a,d){if(t.__super__.constructor.call(this,a),d==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=p.Raw,this.value=this.stringify.raw(d)}return t.prototype.clone=function(){return(0,m.default)(this)},t.prototype.toString=function(a){return this.options.writer.raw(this,this.options.writer.filterOptions(a))},t}(g)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],277:[function(B,N,r){"use strict";(function(){var y,m,C,p,g=function(o,n){for(var t in n)h.call(n,t)&&(o[t]=n[t]);function a(){this.constructor=o}return a.prototype=n.prototype,o.prototype=new a,o.__super__=n.prototype,o},h={}.hasOwnProperty;y=B("./NodeType"),p=B("./XMLWriterBase"),m=B("./WriterState"),N.exports=C=function(c){g(o,c);function o(n,t){this.stream=n,o.__super__.constructor.call(this,t)}return o.prototype.endline=function(n,t,a){return n.isLastRootNode&&t.state===m.CloseTag?"":o.__super__.endline.call(this,n,t,a)},o.prototype.document=function(n,t){var a,d,i,l,e,s,u,f,A;for(u=n.children,d=i=0,e=u.length;i<e;d=++i)a=u[d],a.isLastRootNode=d===n.children.length-1;for(t=this.filterOptions(t),f=n.children,A=[],l=0,s=f.length;l<s;l++)a=f[l],A.push(this.writeChildNode(a,t,0));return A},o.prototype.attribute=function(n,t,a){return this.stream.write(o.__super__.attribute.call(this,n,t,a))},o.prototype.cdata=function(n,t,a){return this.stream.write(o.__super__.cdata.call(this,n,t,a))},o.prototype.comment=function(n,t,a){return this.stream.write(o.__super__.comment.call(this,n,t,a))},o.prototype.declaration=function(n,t,a){return this.stream.write(o.__super__.declaration.call(this,n,t,a))},o.prototype.docType=function(n,t,a){var d,i,l,e;if(a||(a=0),this.openNode(n,t,a),t.state=m.OpenTag,this.stream.write(this.indent(n,t,a)),this.stream.write("<!DOCTYPE "+n.root().name),n.pubID&&n.sysID?this.stream.write(' PUBLIC "'+n.pubID+'" "'+n.sysID+'"'):n.sysID&&this.stream.write(' SYSTEM "'+n.sysID+'"'),n.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(n,t,a)),t.state=m.InsideTag,e=n.children,i=0,l=e.length;i<l;i++)d=e[i],this.writeChildNode(d,t,a+1);t.state=m.CloseTag,this.stream.write("]")}return t.state=m.CloseTag,this.stream.write(t.spaceBeforeSlash+">"),this.stream.write(this.endline(n,t,a)),t.state=m.None,this.closeNode(n,t,a)},o.prototype.element=function(n,t,a){var d,i,l,e,s,u,f,A,v,x;a||(a=0),this.openNode(n,t,a),t.state=m.OpenTag,this.stream.write(this.indent(n,t,a)+"<"+n.name),v=n.attribs;for(f in v){if(!h.call(v,f))continue;d=v[f],this.attribute(d,t,a)}if(l=n.children.length,e=l===0?null:n.children[0],l===0||n.children.every(function(b){return(b.type===y.Text||b.type===y.Raw)&&b.value===""}))t.allowEmpty?(this.stream.write(">"),t.state=m.CloseTag,this.stream.write("</"+n.name+">")):(t.state=m.CloseTag,this.stream.write(t.spaceBeforeSlash+"/>"));else if(t.pretty&&l===1&&(e.type===y.Text||e.type===y.Raw)&&e.value!=null)this.stream.write(">"),t.state=m.InsideTag,t.suppressPrettyCount++,A=!0,this.writeChildNode(e,t,a+1),t.suppressPrettyCount--,A=!1,t.state=m.CloseTag,this.stream.write("</"+n.name+">");else{for(this.stream.write(">"+this.endline(n,t,a)),t.state=m.InsideTag,x=n.children,s=0,u=x.length;s<u;s++)i=x[s],this.writeChildNode(i,t,a+1);t.state=m.CloseTag,this.stream.write(this.indent(n,t,a)+"</"+n.name+">")}return this.stream.write(this.endline(n,t,a)),t.state=m.None,this.closeNode(n,t,a)},o.prototype.processingInstruction=function(n,t,a){return this.stream.write(o.__super__.processingInstruction.call(this,n,t,a))},o.prototype.raw=function(n,t,a){return this.stream.write(o.__super__.raw.call(this,n,t,a))},o.prototype.text=function(n,t,a){return this.stream.write(o.__super__.text.call(this,n,t,a))},o.prototype.dtdAttList=function(n,t,a){return this.stream.write(o.__super__.dtdAttList.call(this,n,t,a))},o.prototype.dtdElement=function(n,t,a){return this.stream.write(o.__super__.dtdElement.call(this,n,t,a))},o.prototype.dtdEntity=function(n,t,a){return this.stream.write(o.__super__.dtdEntity.call(this,n,t,a))},o.prototype.dtdNotation=function(n,t,a){return this.stream.write(o.__super__.dtdNotation.call(this,n,t,a))},o}(p)}).call(void 0)},{"./NodeType":251,"./WriterState":253,"./XMLWriterBase":281}],278:[function(B,N,r){"use strict";(function(){var y,m,C=function(h,c){for(var o in c)p.call(c,o)&&(h[o]=c[o]);function n(){this.constructor=h}return n.prototype=c.prototype,h.prototype=new n,h.__super__=c.prototype,h},p={}.hasOwnProperty;m=B("./XMLWriterBase"),N.exports=y=function(g){C(h,g);function h(c){h.__super__.constructor.call(this,c)}return h.prototype.document=function(c,o){var n,t,a,d,i;for(o=this.filterOptions(o),d="",i=c.children,t=0,a=i.length;t<a;t++)n=i[t],d+=this.writeChildNode(n,o,0);return o.pretty&&d.slice(-o.newline.length)===o.newline&&(d=d.slice(0,-o.newline.length)),d},h}(m)}).call(void 0)},{"./XMLWriterBase":281}],279:[function(B,N,r){"use strict";(function(){var y,m=function(g,h){return function(){return g.apply(h,arguments)}},C={}.hasOwnProperty;N.exports=y=function(){function p(g){this.assertLegalName=m(this.assertLegalName,this),this.assertLegalChar=m(this.assertLegalChar,this);var h,c,o;g||(g={}),this.options=g,this.options.version||(this.options.version="1.0"),c=g.stringify||{};for(h in c){if(!C.call(c,h))continue;o=c[h],this[h]=o}}return p.prototype.name=function(g){return this.options.noValidation?g:this.assertLegalName(""+g||"")},p.prototype.text=function(g){return this.options.noValidation?g:this.assertLegalChar(this.textEscape(""+g||""))},p.prototype.cdata=function(g){return this.options.noValidation?g:(g=""+g||"",g=g.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(g))},p.prototype.comment=function(g){if(this.options.noValidation)return g;if(g=""+g||"",g.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+g);return this.assertLegalChar(g)},p.prototype.raw=function(g){return this.options.noValidation?g:""+g||""},p.prototype.attValue=function(g){return this.options.noValidation?g:this.assertLegalChar(this.attEscape(g=""+g||""))},p.prototype.insTarget=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},p.prototype.insValue=function(g){if(this.options.noValidation)return g;if(g=""+g||"",g.match(/\?>/))throw new Error("Invalid processing instruction value: "+g);return this.assertLegalChar(g)},p.prototype.xmlVersion=function(g){if(this.options.noValidation)return g;if(g=""+g||"",!g.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+g);return g},p.prototype.xmlEncoding=function(g){if(this.options.noValidation)return g;if(g=""+g||"",!g.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+g);return this.assertLegalChar(g)},p.prototype.xmlStandalone=function(g){return this.options.noValidation?g:g?"yes":"no"},p.prototype.dtdPubID=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},p.prototype.dtdSysID=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},p.prototype.dtdElementValue=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},p.prototype.dtdAttType=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},p.prototype.dtdAttDefault=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},p.prototype.dtdEntityValue=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},p.prototype.dtdNData=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},p.prototype.convertAttKey="@",p.prototype.convertPIKey="?",p.prototype.convertTextKey="#text",p.prototype.convertCDataKey="#cdata",p.prototype.convertCommentKey="#comment",p.prototype.convertRawKey="#raw",p.prototype.assertLegalChar=function(g){var h,c;if(this.options.noValidation)return g;if(h="",this.options.version==="1.0"){if(h=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,c=g.match(h))throw new Error("Invalid character in string: "+g+" at index "+c.index)}else if(this.options.version==="1.1"&&(h=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,c=g.match(h)))throw new Error("Invalid character in string: "+g+" at index "+c.index);return g},p.prototype.assertLegalName=function(g){var h;if(this.options.noValidation)return g;if(this.assertLegalChar(g),h=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!g.match(h))throw new Error("Invalid character in name");return g},p.prototype.textEscape=function(g){var h;return this.options.noValidation?g:(h=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,g.replace(h,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
"))},p.prototype.attEscape=function(g){var h;return this.options.noValidation?g:(h=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,g.replace(h,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
"))},p}()}).call(void 0)},{}],280:[function(B,N,r){"use strict";var y=B("babel-runtime/core-js/object/create"),m=C(y);function C(p){return p&&p.__esModule?p:{default:p}}(function(){var p,g,h,c=function(t,a){for(var d in a)o.call(a,d)&&(t[d]=a[d]);function i(){this.constructor=t}return i.prototype=a.prototype,t.prototype=new i,t.__super__=a.prototype,t},o={}.hasOwnProperty;p=B("./NodeType"),g=B("./XMLCharacterData"),N.exports=h=function(n){c(t,n);function t(a,d){if(t.__super__.constructor.call(this,a),d==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=p.Text,this.value=this.stringify.text(d)}return Object.defineProperty(t.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(t.prototype,"wholeText",{get:function(){var d,i,l;for(l="",i=this.previousSibling;i;)l=i.data+l,i=i.previousSibling;for(l+=this.data,d=this.nextSibling;d;)l=l+d.data,d=d.nextSibling;return l}}),t.prototype.clone=function(){return(0,m.default)(this)},t.prototype.toString=function(a){return this.options.writer.text(this,this.options.writer.filterOptions(a))},t.prototype.splitText=function(a){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.replaceWholeText=function(a){throw new Error("This DOM method is not implemented."+this.debugInfo())},t}(g)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],281:[function(B,N,r){"use strict";(function(){var y,m,C,p,g,h,c,o,n,t,a,d,i,l,e,s,u,f={}.hasOwnProperty;u=B("./Utility").assign,y=B("./NodeType"),n=B("./XMLDeclaration"),t=B("./XMLDocType"),C=B("./XMLCData"),p=B("./XMLComment"),d=B("./XMLElement"),l=B("./XMLRaw"),e=B("./XMLText"),i=B("./XMLProcessingInstruction"),a=B("./XMLDummy"),g=B("./XMLDTDAttList"),h=B("./XMLDTDElement"),c=B("./XMLDTDEntity"),o=B("./XMLDTDNotation"),m=B("./WriterState"),N.exports=s=function(){function A(v){var x,b,w;v||(v={}),this.options=v,b=v.writer||{};for(x in b){if(!f.call(b,x))continue;w=b[x],this["_"+x]=this[x],this[x]=w}}return A.prototype.filterOptions=function(v){var x,b,w,_,T,S,E,I;return v||(v={}),v=u({},this.options,v),x={writer:this},x.pretty=v.pretty||!1,x.allowEmpty=v.allowEmpty||!1,x.indent=(b=v.indent)!=null?b:" ",x.newline=(w=v.newline)!=null?w:`
|
|
|
`,x.offset=(_=v.offset)!=null?_:0,x.dontPrettyTextNodes=(T=(S=v.dontPrettyTextNodes)!=null?S:v.dontprettytextnodes)!=null?T:0,x.spaceBeforeSlash=(E=(I=v.spaceBeforeSlash)!=null?I:v.spacebeforeslash)!=null?E:"",x.spaceBeforeSlash===!0&&(x.spaceBeforeSlash=" "),x.suppressPrettyCount=0,x.user={},x.state=m.None,x},A.prototype.indent=function(v,x,b){var w;return!x.pretty||x.suppressPrettyCount?"":x.pretty&&(w=(b||0)+x.offset+1,w>0)?new Array(w).join(x.indent):""},A.prototype.endline=function(v,x,b){return!x.pretty||x.suppressPrettyCount?"":x.newline},A.prototype.attribute=function(v,x,b){var w;return this.openAttribute(v,x,b),w=" "+v.name+'="'+v.value+'"',this.closeAttribute(v,x,b),w},A.prototype.cdata=function(v,x,b){var w;return this.openNode(v,x,b),x.state=m.OpenTag,w=this.indent(v,x,b)+"<![CDATA[",x.state=m.InsideTag,w+=v.value,x.state=m.CloseTag,w+="]]>"+this.endline(v,x,b),x.state=m.None,this.closeNode(v,x,b),w},A.prototype.comment=function(v,x,b){var w;return this.openNode(v,x,b),x.state=m.OpenTag,w=this.indent(v,x,b)+"<!-- ",x.state=m.InsideTag,w+=v.value,x.state=m.CloseTag,w+=" -->"+this.endline(v,x,b),x.state=m.None,this.closeNode(v,x,b),w},A.prototype.declaration=function(v,x,b){var w;return this.openNode(v,x,b),x.state=m.OpenTag,w=this.indent(v,x,b)+"<?xml",x.state=m.InsideTag,w+=' version="'+v.version+'"',v.encoding!=null&&(w+=' encoding="'+v.encoding+'"'),v.standalone!=null&&(w+=' standalone="'+v.standalone+'"'),x.state=m.CloseTag,w+=x.spaceBeforeSlash+"?>",w+=this.endline(v,x,b),x.state=m.None,this.closeNode(v,x,b),w},A.prototype.docType=function(v,x,b){var w,_,T,S,E;if(b||(b=0),this.openNode(v,x,b),x.state=m.OpenTag,S=this.indent(v,x,b),S+="<!DOCTYPE "+v.root().name,v.pubID&&v.sysID?S+=' PUBLIC "'+v.pubID+'" "'+v.sysID+'"':v.sysID&&(S+=' SYSTEM "'+v.sysID+'"'),v.children.length>0){for(S+=" [",S+=this.endline(v,x,b),x.state=m.InsideTag,E=v.children,_=0,T=E.length;_<T;_++)w=E[_],S+=this.writeChildNode(w,x,b+1);x.state=m.CloseTag,S+="]"}return x.state=m.CloseTag,S+=x.spaceBeforeSlash+">",S+=this.endline(v,x,b),x.state=m.None,this.closeNode(v,x,b),S},A.prototype.element=function(v,x,b){var w,_,T,S,E,I,O,F,k,M,P,V,D,H;b||(b=0),M=!1,P="",this.openNode(v,x,b),x.state=m.OpenTag,P+=this.indent(v,x,b)+"<"+v.name,V=v.attribs;for(k in V){if(!f.call(V,k))continue;w=V[k],P+=this.attribute(w,x,b)}if(T=v.children.length,S=T===0?null:v.children[0],T===0||v.children.every(function(U){return(U.type===y.Text||U.type===y.Raw)&&U.value===""}))x.allowEmpty?(P+=">",x.state=m.CloseTag,P+="</"+v.name+">"+this.endline(v,x,b)):(x.state=m.CloseTag,P+=x.spaceBeforeSlash+"/>"+this.endline(v,x,b));else if(x.pretty&&T===1&&(S.type===y.Text||S.type===y.Raw)&&S.value!=null)P+=">",x.state=m.InsideTag,x.suppressPrettyCount++,M=!0,P+=this.writeChildNode(S,x,b+1),x.suppressPrettyCount--,M=!1,x.state=m.CloseTag,P+="</"+v.name+">"+this.endline(v,x,b);else{if(x.dontPrettyTextNodes){for(D=v.children,E=0,O=D.length;E<O;E++)if(_=D[E],(_.type===y.Text||_.type===y.Raw)&&_.value!=null){x.suppressPrettyCount++,M=!0;break}}for(P+=">"+this.endline(v,x,b),x.state=m.InsideTag,H=v.children,I=0,F=H.length;I<F;I++)_=H[I],P+=this.writeChildNode(_,x,b+1);x.state=m.CloseTag,P+=this.indent(v,x,b)+"</"+v.name+">",M&&x.suppressPrettyCount--,P+=this.endline(v,x,b),x.state=m.None}return this.closeNode(v,x,b),P},A.prototype.writeChildNode=function(v,x,b){switch(v.type){case y.CData:return this.cdata(v,x,b);case y.Comment:return this.comment(v,x,b);case y.Element:return this.element(v,x,b);case y.Raw:return this.raw(v,x,b);case y.Text:return this.text(v,x,b);case y.ProcessingInstruction:return this.processingInstruction(v,x,b);case y.Dummy:return"";case y.Declaration:return this.declaration(v,x,b);case y.DocType:return this.docType(v,x,b);case y.AttributeDeclaration:return this.dtdAttList(v,x,b);case y.ElementDeclaration:return this.dtdElement(v,x,b);case y.EntityDeclaration:return this.dtdEntity(v,x,b);case y.NotationDeclaration:return this.dtdNotation(v,x,b);default:throw new Error("Unknown XML node type: "+v.constructor.name)}},A.prototype.processingInstruction=function(v,x,b){var w;return this.openNode(v,x,b),x.state=m.OpenTag,w=this.indent(v,x,b)+"<?",x.state=m.InsideTag,w+=v.target,v.value&&(w+=" "+v.value),x.state=m.CloseTag,w+=x.spaceBeforeSlash+"?>",w+=this.endline(v,x,b),x.state=m.None,this.closeNode(v,x,b),w},A.prototype.raw=function(v,x,b){var w;return this.openNode(v,x,b),x.state=m.OpenTag,w=this.indent(v,x,b),x.state=m.InsideTag,w+=v.value,x.state=m.CloseTag,w+=this.endline(v,x,b),x.state=m.None,this.closeNode(v,x,b),w},A.prototype.text=function(v,x,b){var w;return this.openNode(v,x,b),x.state=m.OpenTag,w=this.indent(v,x,b),x.state=m.InsideTag,w+=v.value,x.state=m.CloseTag,w+=this.endline(v,x,b),x.state=m.None,this.closeNode(v,x,b),w},A.prototype.dtdAttList=function(v,x,b){var w;return this.openNode(v,x,b),x.state=m.OpenTag,w=this.indent(v,x,b)+"<!ATTLIST",x.state=m.InsideTag,w+=" "+v.elementName+" "+v.attributeName+" "+v.attributeType,v.defaultValueType!=="#DEFAULT"&&(w+=" "+v.defaultValueType),v.defaultValue&&(w+=' "'+v.defaultValue+'"'),x.state=m.CloseTag,w+=x.spaceBeforeSlash+">"+this.endline(v,x,b),x.state=m.None,this.closeNode(v,x,b),w},A.prototype.dtdElement=function(v,x,b){var w;return this.openNode(v,x,b),x.state=m.OpenTag,w=this.indent(v,x,b)+"<!ELEMENT",x.state=m.InsideTag,w+=" "+v.name+" "+v.value,x.state=m.CloseTag,w+=x.spaceBeforeSlash+">"+this.endline(v,x,b),x.state=m.None,this.closeNode(v,x,b),w},A.prototype.dtdEntity=function(v,x,b){var w;return this.openNode(v,x,b),x.state=m.OpenTag,w=this.indent(v,x,b)+"<!ENTITY",x.state=m.InsideTag,v.pe&&(w+=" %"),w+=" "+v.name,v.value?w+=' "'+v.value+'"':(v.pubID&&v.sysID?w+=' PUBLIC "'+v.pubID+'" "'+v.sysID+'"':v.sysID&&(w+=' SYSTEM "'+v.sysID+'"'),v.nData&&(w+=" NDATA "+v.nData)),x.state=m.CloseTag,w+=x.spaceBeforeSlash+">"+this.endline(v,x,b),x.state=m.None,this.closeNode(v,x,b),w},A.prototype.dtdNotation=function(v,x,b){var w;return this.openNode(v,x,b),x.state=m.OpenTag,w=this.indent(v,x,b)+"<!NOTATION",x.state=m.InsideTag,w+=" "+v.name,v.pubID&&v.sysID?w+=' PUBLIC "'+v.pubID+'" "'+v.sysID+'"':v.pubID?w+=' PUBLIC "'+v.pubID+'"':v.sysID&&(w+=' SYSTEM "'+v.sysID+'"'),x.state=m.CloseTag,w+=x.spaceBeforeSlash+">"+this.endline(v,x,b),x.state=m.None,this.closeNode(v,x,b),w},A.prototype.openNode=function(v,x,b){},A.prototype.closeNode=function(v,x,b){},A.prototype.openAttribute=function(v,x,b){},A.prototype.closeAttribute=function(v,x,b){},A}()}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLCData":255,"./XMLComment":257,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLDeclaration":266,"./XMLDocType":267,"./XMLDummy":270,"./XMLElement":271,"./XMLProcessingInstruction":275,"./XMLRaw":276,"./XMLText":280}],282:[function(B,N,r){"use strict";(function(){var y,m,C,p,g,h,c,o,n,t;t=B("./Utility"),o=t.assign,n=t.isFunction,C=B("./XMLDOMImplementation"),p=B("./XMLDocument"),g=B("./XMLDocumentCB"),c=B("./XMLStringWriter"),h=B("./XMLStreamWriter"),y=B("./NodeType"),m=B("./WriterState"),N.exports.create=function(a,d,i,l){var e,s;if(a==null)throw new Error("Root element needs a name.");return l=o({},d,i,l),e=new p(l),s=e.element(a),l.headless||(e.declaration(l),(l.pubID!=null||l.sysID!=null)&&e.dtd(l)),s},N.exports.begin=function(a,d,i){var l;return n(a)&&(l=[a,d],d=l[0],i=l[1],a={}),d?new g(a,d,i):new p(a)},N.exports.stringWriter=function(a){return new c(a)},N.exports.streamWriter=function(a,d){return new h(a,d)},N.exports.implementation=new C,N.exports.nodeType=y,N.exports.writerState=m}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLDOMImplementation":260,"./XMLDocument":268,"./XMLDocumentCB":269,"./XMLStreamWriter":277,"./XMLStringWriter":278}],283:[function(B,N,r){N.exports=m;var y=Object.prototype.hasOwnProperty;function m(){for(var C={},p=0;p<arguments.length;p++){var g=arguments[p];for(var h in g)y.call(g,h)&&(C[h]=g[h])}return C}},{}],284:[function(B,N,r){"use strict";var y=B("buffer").Buffer,m=B("./sha"),C=B("./md5"),p={sha1:m,md5:C},g=64,h=y.alloc(g);h.fill(0);function c(t,a,d){y.isBuffer(a)||(a=y.from(a)),y.isBuffer(d)||(d=y.from(d)),a.length>g?a=t(a):a.length<g&&(a=y.concat([a,h],g));for(var i=y.alloc(g),l=y.alloc(g),e=0;e<g;e++)i[e]=a[e]^54,l[e]=a[e]^92;var s=t(y.concat([i,d]));return t(y.concat([l,s]))}function o(t,a){t=t||"sha1";var d=p[t],i=[],l=0;return d||n("algorithm:",t,"is not yet supported"),{update:function(s){return y.isBuffer(s)||(s=y.from(s)),i.push(s),l+=s.length,this},digest:function(s){var u=y.concat(i),f=a?c(d,a,u):d(u);return i=null,s?f.toString(s):f}}}function n(){var t=[].slice.call(arguments).join(" ");throw new Error([t,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
|
|
|
`))}r.createHash=function(t){return o(t)},r.createHmac=function(t,a){return o(t,a)},r.createCredentials=function(){n("sorry,createCredentials is not implemented yet")},r.createCipher=function(){n("sorry,createCipher is not implemented yet")},r.createCipheriv=function(){n("sorry,createCipheriv is not implemented yet")},r.createDecipher=function(){n("sorry,createDecipher is not implemented yet")},r.createDecipheriv=function(){n("sorry,createDecipheriv is not implemented yet")},r.createSign=function(){n("sorry,createSign is not implemented yet")},r.createVerify=function(){n("sorry,createVerify is not implemented yet")},r.createDiffieHellman=function(){n("sorry,createDiffieHellman is not implemented yet")},r.pbkdf2=function(){n("sorry,pbkdf2 is not implemented yet")}},{"./md5":286,"./sha":287,buffer:73}],285:[function(B,N,r){"use strict";var y=B("buffer").Buffer,m=4,C=y.alloc(m);C.fill(0);var p=8;function g(o,n){if(o.length%m!==0){var t=o.length+(m-o.length%m);o=y.concat([o,C],t)}for(var a=[],d=n?o.readInt32BE:o.readInt32LE,i=0;i<o.length;i+=m)a.push(d.call(o,i));return a}function h(o,n,t){for(var a=y.alloc(n),d=t?a.writeInt32BE:a.writeInt32LE,i=0;i<o.length;i++)d.call(a,o[i],i*4,!0);return a}function c(o,n,t,a){y.isBuffer(o)||(o=y.from(o));var d=n(g(o,a),o.length*p);return h(d,t,a)}N.exports={hash:c}},{buffer:73}],286:[function(B,N,r){"use strict";var y=B("./helpers");function m(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function C(a,d){a[d>>5]|=128<<d%32,a[(d+64>>>9<<4)+14]=d;for(var i=1732584193,l=-271733879,e=-1732584194,s=271733878,u=0;u<a.length;u+=16){var f=i,A=l,v=e,x=s;i=g(i,l,e,s,a[u+0],7,-680876936),s=g(s,i,l,e,a[u+1],12,-389564586),e=g(e,s,i,l,a[u+2],17,606105819),l=g(l,e,s,i,a[u+3],22,-1044525330),i=g(i,l,e,s,a[u+4],7,-176418897),s=g(s,i,l,e,a[u+5],12,1200080426),e=g(e,s,i,l,a[u+6],17,-1473231341),l=g(l,e,s,i,a[u+7],22,-45705983),i=g(i,l,e,s,a[u+8],7,1770035416),s=g(s,i,l,e,a[u+9],12,-1958414417),e=g(e,s,i,l,a[u+10],17,-42063),l=g(l,e,s,i,a[u+11],22,-1990404162),i=g(i,l,e,s,a[u+12],7,1804603682),s=g(s,i,l,e,a[u+13],12,-40341101),e=g(e,s,i,l,a[u+14],17,-1502002290),l=g(l,e,s,i,a[u+15],22,1236535329),i=h(i,l,e,s,a[u+1],5,-165796510),s=h(s,i,l,e,a[u+6],9,-1069501632),e=h(e,s,i,l,a[u+11],14,643717713),l=h(l,e,s,i,a[u+0],20,-373897302),i=h(i,l,e,s,a[u+5],5,-701558691),s=h(s,i,l,e,a[u+10],9,38016083),e=h(e,s,i,l,a[u+15],14,-660478335),l=h(l,e,s,i,a[u+4],20,-405537848),i=h(i,l,e,s,a[u+9],5,568446438),s=h(s,i,l,e,a[u+14],9,-1019803690),e=h(e,s,i,l,a[u+3],14,-187363961),l=h(l,e,s,i,a[u+8],20,1163531501),i=h(i,l,e,s,a[u+13],5,-1444681467),s=h(s,i,l,e,a[u+2],9,-51403784),e=h(e,s,i,l,a[u+7],14,1735328473),l=h(l,e,s,i,a[u+12],20,-1926607734),i=c(i,l,e,s,a[u+5],4,-378558),s=c(s,i,l,e,a[u+8],11,-2022574463),e=c(e,s,i,l,a[u+11],16,1839030562),l=c(l,e,s,i,a[u+14],23,-35309556),i=c(i,l,e,s,a[u+1],4,-1530992060),s=c(s,i,l,e,a[u+4],11,1272893353),e=c(e,s,i,l,a[u+7],16,-155497632),l=c(l,e,s,i,a[u+10],23,-1094730640),i=c(i,l,e,s,a[u+13],4,681279174),s=c(s,i,l,e,a[u+0],11,-358537222),e=c(e,s,i,l,a[u+3],16,-722521979),l=c(l,e,s,i,a[u+6],23,76029189),i=c(i,l,e,s,a[u+9],4,-640364487),s=c(s,i,l,e,a[u+12],11,-421815835),e=c(e,s,i,l,a[u+15],16,530742520),l=c(l,e,s,i,a[u+2],23,-995338651),i=o(i,l,e,s,a[u+0],6,-198630844),s=o(s,i,l,e,a[u+7],10,1126891415),e=o(e,s,i,l,a[u+14],15,-1416354905),l=o(l,e,s,i,a[u+5],21,-57434055),i=o(i,l,e,s,a[u+12],6,1700485571),s=o(s,i,l,e,a[u+3],10,-1894986606),e=o(e,s,i,l,a[u+10],15,-1051523),l=o(l,e,s,i,a[u+1],21,-2054922799),i=o(i,l,e,s,a[u+8],6,1873313359),s=o(s,i,l,e,a[u+15],10,-30611744),e=o(e,s,i,l,a[u+6],15,-1560198380),l=o(l,e,s,i,a[u+13],21,1309151649),i=o(i,l,e,s,a[u+4],6,-145523070),s=o(s,i,l,e,a[u+11],10,-1120210379),e=o(e,s,i,l,a[u+2],15,718787259),l=o(l,e,s,i,a[u+9],21,-343485551),i=n(i,f),l=n(l,A),e=n(e,v),s=n(s,x)}return Array(i,l,e,s)}function p(a,d,i,l,e,s){return n(t(n(n(d,a),n(l,s)),e),i)}function g(a,d,i,l,e,s,u){return p(d&i|~d&l,a,d,e,s,u)}function h(a,d,i,l,e,s,u){return p(d&l|i&~l,a,d,e,s,u)}function c(a,d,i,l,e,s,u){return p(d^i^l,a,d,e,s,u)}function o(a,d,i,l,e,s,u){return p(i^(d|~l),a,d,e,s,u)}function n(a,d){var i=(a&65535)+(d&65535),l=(a>>16)+(d>>16)+(i>>16);return l<<16|i&65535}function t(a,d){return a<<d|a>>>32-d}N.exports=function(d){return y.hash(d,C,16)}},{"./helpers":285}],287:[function(B,N,r){"use strict";var y=B("./helpers");function m(c,o){c[o>>5]|=128<<24-o%32,c[(o+64>>9<<4)+15]=o;for(var n=Array(80),t=1732584193,a=-271733879,d=-1732584194,i=271733878,l=-1009589776,e=0;e<c.length;e+=16){for(var s=t,u=a,f=d,A=i,v=l,x=0;x<80;x++){x<16?n[x]=c[e+x]:n[x]=h(n[x-3]^n[x-8]^n[x-14]^n[x-16],1);var b=g(g(h(t,5),C(x,a,d,i)),g(g(l,n[x]),p(x)));l=i,i=d,d=h(a,30),a=t,t=b}t=g(t,s),a=g(a,u),d=g(d,f),i=g(i,A),l=g(l,v)}return Array(t,a,d,i,l)}function C(c,o,n,t){return c<20?o&n|~o&t:c<40?o^n^t:c<60?o&n|o&t|n&t:o^n^t}function p(c){return c<20?1518500249:c<40?1859775393:c<60?-1894007588:-899497514}function g(c,o){var n=(c&65535)+(o&65535),t=(c>>16)+(o>>16)+(n>>16);return t<<16|n&65535}function h(c,o){return c<<o|c>>>32-o}N.exports=function(o){return y.hash(o,m,20,!0)}},{"./helpers":285}],288:[function(B,N,r){"use strict";N.exports=function(){return function(){}}},{}],289:[function(B,N,r){(function(y){"use strict";var m=B("babel-runtime/helpers/typeof"),C=p(m);function p(t){return t&&t.__esModule?t:{default:t}}var g=B("stream"),h=g.Stream,c=B("../lib/common/utils/isArray"),o=c.isArray;N.exports.string=function(a){return typeof a=="string"},N.exports.array=o,N.exports.buffer=y.isBuffer;function n(t){return t instanceof h}N.exports.writableStream=function(a){return n(a)&&typeof a._write=="function"&&(0,C.default)(a._writableState)==="object"}}).call(this,{isBuffer:B("../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(B,N,r){"use strict";r.encodeURIComponent=function(y){try{return encodeURIComponent(y)}catch(m){return y}},r.escape=B("escape-html"),r.timestamp=function(m){if(m){var C=m;return typeof C=="string"&&(C=Number(C)),String(m).length===10&&(C*=1e3),new Date(C)}return Math.round(Date.now()/1e3)}},{"escape-html":191}],291:[function(B,N,r){(function(y,m){"use strict";var C=B("babel-runtime/core-js/json/stringify"),p=c(C),g=B("babel-runtime/helpers/typeof"),h=c(g);function c(x){return x&&x.__esModule?x:{default:x}}var o=B("util"),n=B("url"),t=B("http"),a=B("https"),d=B("debug")("urllib"),i=B("humanize-ms"),l,e=0,s=Math.pow(2,31)-10,u=/^https?:\/\//i;function f(x,b){return x===void 0?b:x}function A(x,b){return function(w,_,T){if(w)return b(w);x({data:_,status:T.statusCode,headers:T.headers,res:T})}}r.TIMEOUTS=[i("300s"),i("300s")];var v=["json","text"];r.request=function(b,w,_){return arguments.length===2&&typeof w=="function"&&(_=w,w=null),typeof _=="function"?r.requestWithCallback(b,w,_):(l||(l=B("any-promise")),new l(function(T,S){r.requestWithCallback(b,w,A(T,S))}))},r.requestWithCallback=function(b,w,_){if(!b||typeof b!="string"&&(typeof b=="undefined"?"undefined":(0,h.default)(b))!=="object"){var T=o.format("expect request url to be a string or a http request options, but got %j",b);throw new Error(T)}arguments.length===2&&typeof w=="function"&&(_=w,w=null),w=w||{},e>=s&&(e=0);var S=++e;w.requestUrls=w.requestUrls||[];var E={requestId:S,url:b,args:w,ctx:w.ctx};w.emitter&&w.emitter.emit("request",E),w.timeout=w.timeout||r.TIMEOUTS,w.maxRedirects=w.maxRedirects||10,w.streaming=w.streaming||w.customResponse;var I=Date.now(),O;typeof b=="string"?(u.test(b)||(b="http://"+b),O=n.parse(b)):O=b;var F=(w.type||w.method||O.method||"GET").toUpperCase(),k=O.port||80,M=t,P=f(w.agent,r.agent),V=w.fixJSONCtlChars;O.protocol==="https:"&&(M=a,P=f(w.httpsAgent,r.httpsAgent),O.port||(k=443));var D={host:O.hostname||O.host||"localhost",path:O.path||"/",method:F,port:k,agent:P,headers:w.headers||{},lookup:w.lookup};Array.isArray(w.timeout)?D.requestTimeout=w.timeout[w.timeout.length-1]:typeof w.timeout!="undefined"&&(D.requestTimeout=w.timeout);for(var H=["pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","secureProtocol","secureOptions"],U=0;U<H.length;U++){var z=H[U];w.hasOwnProperty(z)&&(D[z]=w[z])}D.rejectUnauthorized===!1&&!D.hasOwnProperty("secureOptions")&&(D.secureOptions=B("constants").SSL_OP_NO_TLSv1_2);var K=w.auth||O.auth;K&&(D.auth=K);var G=w.content||w.data,X=F==="GET"||F==="HEAD"||w.dataAsQueryString;if(!w.content&&(G&&!(typeof G=="string"||m.isBuffer(G))))if(X)G=w.nestedQuerystring?qs.stringify(G):querystring.stringify(G);else{var Z=D.headers["Content-Type"]||D.headers["content-type"];Z||(w.contentType==="json"?Z="application/json":Z="application/x-www-form-urlencoded",D.headers["Content-Type"]=Z),parseContentType(Z).type==="application/json"?G=(0,p.default)(G):G=w.nestedQuerystring?qs.stringify(G):querystring.stringify(G)}X&&G&&(D.path+=(O.query?"&":"?")+G,G=null);var ee=0;if(G){var Se=G.length;m.isBuffer(G)||(Se=m.byteLength(G)),ee=D.headers["Content-Length"]=Se}w.dataType==="json"&&(D.headers.Accept="application/json"),typeof w.beforeRequest=="function"&&w.beforeRequest(D);var $=null,pe=null,xe=null,_e=!1,Ue=!1,ye=0,Be=-1,Q=!1,ie="",Ve="",J=null;w.timing&&(J={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function W(){$&&(clearTimeout($),$=null)}function j(){pe&&(clearTimeout(pe),pe=null)}function Y(Pe,Dt,et){if(j(),!_){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),S,y.pid,D.method,b),Pe&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
|
|
|
stack: %s`,Date(),S,y.pid,Pe.name,Pe.message,Pe.stack);return}var _t=_;_=null;var Nt={};if(et&&(Be=et.statusCode,Nt=et.headers),Be===401&&Nt["www-authenticate"]&&(!w.headers||!w.headers.Authorization)&&w.digestAuth){var Bt=Nt["www-authenticate"];if(Bt.indexOf("Digest ")>=0)return d("Request#%d %s: got digest auth header WWW-Authenticate: %s",S,b,Bt),w.headers=w.headers||{},w.headers.Authorization=digestAuthHeader(D.method,D.path,Bt,w.digestAuth),d("Request#%d %s: auth with digest header: %s",S,b,w.headers.Authorization),et.headers["set-cookie"]&&(w.headers.Cookie=et.headers["set-cookie"].join(";")),r.requestWithCallback(b,w,_t)}var Ft=Date.now()-I;J&&(J.contentDownload=Ft),d("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",Ft,ye,Be,D.method,D.host,D.path,Ue,J);var Gt={status:Be,statusCode:Be,headers:Nt,size:ye,aborted:Q,rt:Ft,keepAliveSocket:Ue,data:Dt,requestUrls:w.requestUrls,timing:J,remoteAddress:ie,remotePort:Ve};if(Pe){var qe="";P&&typeof P.getCurrentStatus=="function"&&(qe=", agent status: "+(0,p.default)(P.getCurrentStatus())),Pe.message+=", "+D.method+" "+b+" "+Be+" (connected: "+_e+", keepalive socket: "+Ue+qe+`)
|
|
|
headers: `+(0,p.default)(Nt),Pe.data=Dt,Pe.path=D.path,Pe.status=Be,Pe.headers=Nt,Pe.res=Gt}_t(Pe,Dt,w.streaming?et:Gt),w.emitter&&(E.url=b,E.socket=ut&&ut.connection,E.options=D,E.size=ee,w.emitter.emit("response",{requestId:S,error:Pe,ctx:w.ctx,req:E,res:Gt}))}function me(Pe){var Dt=null;if(w.followRedirect&&statuses.redirect[Pe.statusCode]){w._followRedirectCount=(w._followRedirectCount||0)+1;var et=Pe.headers.location;if(!et)Dt=new Error("Got statusCode "+Pe.statusCode+" but cannot resolve next location from headers"),Dt.name="FollowRedirectError";else if(w._followRedirectCount>w.maxRedirects)Dt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+b),Dt.name="MaxRedirectError";else{var _t=w.formatRedirectUrl?w.formatRedirectUrl(b,et):n.resolve(b,et);d("Request#%d %s: `redirected` from %s to %s",S,D.path,b,_t),j(),w.headers&&w.headers.Host&&u.test(et)&&(w.headers.Host=null);var Nt=_;return _=null,r.requestWithCallback(_t,w,Nt),{redirect:!0,error:null}}}return{redirect:!1,error:Dt}}!D.headers["User-Agent"]&&!D.headers["user-agent"]&&(D.headers["User-Agent"]=navigator.userAgent),w.gzip&&(!D.headers["Accept-Encoding"]&&!D.headers["accept-encoding"]&&(D.headers["Accept-Encoding"]="gzip"));function ae(Pe,Dt,et){var _t=Pe.headers["content-encoding"];return et(null,Dt,_t)}var Le=w.writeStream;d("Request#%d %s %s with headers %j, options.path: %s",S,F,b,D.headers,D.path),w.requestUrls.push(b);function Ee(Pe){if(J&&(J.waiting=Date.now()-I),d("Request#%d %s `req response` event emit: status %d, headers: %j",S,b,Pe.statusCode,Pe.headers),w.streaming){var Dt=me(Pe);if(Dt.redirect){Pe.resume();return}return Dt.error?(Pe.resume(),Y(Dt.error,null,Pe)):Y(null,null,Pe)}if(Pe.on("close",function(){d("Request#%d %s: `res close` event emit, total size %d",S,b,ye)}),Pe.on("error",function(){d("Request#%d %s: `res error` event emit, total size %d",S,b,ye)}),Pe.on("aborted",function(){Q=!0,d("Request#%d %s: `res aborted` event emit, total size %d",S,b,ye)}),Le){var Dt=me(Pe);if(Dt.redirect){Pe.resume();return}return Dt.error?(Pe.resume(),Le.end(),Y(Dt.error,null,Pe)):(w.consumeWriteStream===!1?Pe.on("end",Y.bind(null,null,null,Pe)):isNode010||isNode012?first([[Le,"close"],[Pe,"aborted"]],function(Nt,Bt,Ft){d("Request#%d %s: writeStream or res %s event emitted",S,b,Ft),Y(xe||null,null,Pe)}):Le.on("close",function(){d("Request#%d %s: writeStream close event emitted",S,b),Y(xe||null,null,Pe)}),Pe.pipe(Le))}var et=[];Pe.on("data",function(_t){d("Request#%d %s: `res data` event emit, size %d",S,b,_t.length),ye+=_t.length,et.push(_t)}),Pe.on("end",function(){var _t=m.concat(et,ye);if(d("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",S,b,ye,Pe._dumped),xe)return Y(xe,_t,Pe);var Nt=me(Pe);if(Nt.error)return Y(Nt.error,_t,Pe);if(Nt.redirect)return;ae(Pe,_t,function(Bt,Ft,Gt){if(Bt)return Y(Bt,_t,Pe);if(!Gt&&v.indexOf(w.dataType)>=0){try{Ft=decodeBodyByCharset(Ft,Pe)}catch(we){return d("decodeBodyByCharset error: %s",we),Y(null,Ft,Pe)}if(w.dataType==="json")if(ye===0)Ft=null;else{var qe=parseJSON(Ft,V);qe.error?Bt=qe.error:Ft=qe.data}}Q&&d("Request#%d %s: Remote socket was terminated before `response.end()` was called",S,b),Y(Bt,Ft,Pe)})})}var ne,ge;Array.isArray(w.timeout)?(ne=i(w.timeout[0]),ge=i(w.timeout[1])):ne=ge=i(w.timeout),d("ConnectTimeout: %d, ResponseTimeout: %d",ne,ge);function Ie(){d("Connect timer ticking, timeout: %d",ne),$=setTimeout(function(){$=null,Be===-1&&(Be=-2);var Pe="Connect timeout for "+ne+"ms",Dt="ConnectionTimeoutError";ut.socket||(Dt="SocketAssignTimeoutError",Pe+=", working sockets is full"),xe=new Error(Pe),xe.name=Dt,xe.requestId=S,d("ConnectTimeout: Request#%d %s %s: %s, connected: %s",S,b,xe.name,Pe,_e),wt()},ne)}function Ge(){d("Response timer ticking, timeout: %d",ge),pe=setTimeout(function(){pe=null;var Pe="Response timeout for "+ge+"ms",Dt="ResponseTimeoutError";xe=new Error(Pe),xe.name=Dt,xe.requestId=S,d("ResponseTimeout: Request#%d %s %s: %s, connected: %s",S,b,xe.name,Pe,_e),wt()},ge)}var ut;D.mode=w.mode?w.mode:"";try{ut=M.request(D,Ee)}catch(Pe){return Y(Pe)}typeof window=="undefined"?Ie():ut.on("requestTimeout",function(){Be===-1&&(Be=-2);var Pe="Connect timeout for "+ne+"ms",Dt="ConnectionTimeoutError";xe=new Error(Pe),xe.name=Dt,xe.requestId=S,wt()});function wt(){d("Request#%d %s abort, connected: %s",S,b,_e),ut.socket||(xe.noSocket=!0,Y(xe)),ut.abort()}return J&&ut.on("finish",function(){J.requestSent=Date.now()-I}),ut.once("socket",function(Pe){J&&(J.queuing=Date.now()-I),isNode010&&Pe.socket&&(Pe=Pe.socket);var Dt=Pe.readyState;if(Dt==="opening"){Pe.once("lookup",function(et,_t,Nt){d("Request#%d %s lookup: %s, %s, %s",S,b,et,_t,Nt),J&&(J.dnslookup=Date.now()-I),_t&&(ie=_t)}),Pe.once("connect",function(){J&&(J.connected=Date.now()-I),W(),Ge(),d("Request#%d %s new socket connected",S,b),_e=!0,ie||(ie=Pe.remoteAddress),Ve=Pe.remotePort});return}d("Request#%d %s reuse socket connected, readyState: %s",S,b,Dt),_e=!0,Ue=!0,ie||(ie=Pe.remoteAddress),Ve=Pe.remotePort,W(),Ge()}),ut.on("error",function(Pe){(Pe.name==="Error"||Pe.name==="TypeError")&&(Pe.name=_e?"ResponseError":"RequestError"),Pe.message+=' (req "error")',d("Request#%d %s `req error` event emit, %s: %s",S,b,Pe.name,Pe.message),Y(xe||Pe)}),Le&&Le.once("error",function(Pe){Pe.message+=' (writeStream "error")',xe=Pe,d("Request#%d %s `writeStream error` event emit, %s: %s",S,b,Pe.name,Pe.message),wt()}),w.stream?(w.stream.pipe(ut),w.stream.once("error",function(Pe){Pe.message+=' (stream "error")',xe=Pe,d("Request#%d %s `readStream error` event emit, %s: %s",S,b,Pe.name,Pe.message),wt()})):ut.end(G),ut.requestId=S,ut}}).call(this,B("_process"),B("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(B,N,r){var y=r("hX1E"),m=y.normalizeRadian,C=Math.PI*2;function p(g,h,c,o,n,t,a,d,i){if(a===0)return!1;var l=a;d-=g,i-=h;var e=Math.sqrt(d*d+i*i);if(e-l>c||e+l<c)return!1;if(Math.abs(o-n)%C<1e-4)return!0;if(t){var s=o;o=m(n),n=m(s)}else o=m(o),n=m(n);o>n&&(n+=C);var u=Math.atan2(i,d);return u<0&&(u+=C),u>=o&&u<=n||u+C>=o&&u+C<=n}N.containStroke=p},n4Lv:function(B,N,r){var y=r("7hqr"),m=y.isDimensionStacked,C=r("bYtY"),p=C.map;function g(o,n,t){var a=o.getBaseAxis(),d=o.getOtherAxis(a),i=h(d,t),l=a.dim,e=d.dim,s=n.mapDimension(e),u=n.mapDimension(l),f=e==="x"||e==="radius"?1:0,A=p(o.dimensions,function(b){return n.mapDimension(b)}),v,x=n.getCalculationInfo("stackResultDimension");return(v|=m(n,A[0]))&&(A[0]=x),(v|=m(n,A[1]))&&(A[1]=x),{dataDimsForPoint:A,valueStart:i,valueAxisDim:e,baseAxisDim:l,stacked:!!v,valueDim:s,baseDim:u,baseDataOffset:f,stackedOverDimension:n.getCalculationInfo("stackedOverDimension")}}function h(o,n){var t=0,a=o.scale.getExtent();return n==="start"?t=a[0]:n==="end"?t=a[1]:a[0]>0?t=a[0]:a[1]<0&&(t=a[1]),t}function c(o,n,t,a){var d=NaN;o.stacked&&(d=t.get(t.getCalculationInfo("stackedOverDimension"),a)),isNaN(d)&&(d=o.valueStart);var i=o.baseDataOffset,l=[];return l[i]=t.get(o.baseDim,a),l[1-i]=d,n.dataToPoint(l)}N.prepareDataCoordInfo=g,N.getStackedOnPoint=c},n6Mw:function(B,N,r){var y=r("SrGk"),m=r("bYtY"),C=r("Fofx");function p(h,c){y.call(this,h,c,"clipPath","__clippath_in_use__")}m.inherits(p,y),p.prototype.update=function(h){var c=this.getSvgElement(h);c&&this.updateDom(c,h.__clipPaths,!1);var o=this.getTextSvgElement(h);o&&this.updateDom(o,h.__clipPaths,!0),this.markUsed(h)},p.prototype.updateDom=function(h,c,o){if(c&&c.length>0){var n=this.getDefs(!0),t=c[0],a,d,i=o?"_textDom":"_dom";t[i]?(d=t[i].getAttribute("id"),a=t[i],n.contains(a)||n.appendChild(a)):(d="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,a=this.createElement("clipPath"),a.setAttribute("id",d),n.appendChild(a),t[i]=a);var l=this.getSvgProxy(t);if(t.transform&&t.parent.invTransform&&!o){var e=Array.prototype.slice.call(t.transform);C.mul(t.transform,t.parent.invTransform,t.transform),l.brush(t),t.transform=e}else l.brush(t);var s=this.getSvgElement(t);a.innerHTML="",a.appendChild(s.cloneNode()),h.setAttribute("clip-path","url(#"+d+")"),c.length>1&&this.updateDom(a,c.slice(1),o)}else h&&h.setAttribute("clip-path","none")},p.prototype.markUsed=function(h){var c=this;h.__clipPaths&&m.each(h.__clipPaths,function(o){o._dom&&y.prototype.markUsed.call(c,o._dom),o._textDom&&y.prototype.markUsed.call(c,o._textDom)})};var g=p;B.exports=g},nCxF:function(B,N,r){var y=r("QBsz"),m=y.min,C=y.max,p=y.scale,g=y.distance,h=y.add,c=y.clone,o=y.sub;function n(t,a,d,i){var l=[],e=[],s=[],u=[],f,A,v,x;if(i){v=[Infinity,Infinity],x=[-Infinity,-Infinity];for(var b=0,w=t.length;b<w;b++)m(v,v,t[b]),C(x,x,t[b]);m(v,v,i[0]),C(x,x,i[1])}for(var b=0,w=t.length;b<w;b++){var _=t[b];if(d)f=t[b?b-1:w-1],A=t[(b+1)%w];else if(b===0||b===w-1){l.push(c(t[b]));continue}else f=t[b-1],A=t[b+1];o(e,A,f),p(e,e,a);var T=g(_,f),S=g(_,A),E=T+S;E!==0&&(T/=E,S/=E),p(s,e,-T),p(u,e,S);var I=h([],_,s),O=h([],_,u);i&&(C(I,I,v),m(I,I,x),C(O,O,v),m(O,O,x)),l.push(I),l.push(O)}return d&&l.push(l.shift()),l}B.exports=n},nKiI:function(B,N,r){var y=r("bYtY"),m=r("mFDi"),C=r("OELB"),p=C.parsePercent,g=C.MAX_SAFE_INTEGER,h=r("+TT/"),c=r("VaxA"),o=Math.max,n=Math.min,t=y.retrieve,a=y.each,d=["itemStyle","borderWidth"],i=["itemStyle","gapWidth"],l=["upperLabel","show"],e=["upperLabel","height"],s={seriesType:"treemap",reset:function(I,O,F,k){var M=F.getWidth(),P=F.getHeight(),V=I.option,D=h.getLayoutRect(I.getBoxLayoutParams(),{width:F.getWidth(),height:F.getHeight()}),H=V.size||[],U=p(t(D.width,H[0]),M),z=p(t(D.height,H[1]),P),K=k&&k.type,G=["treemapZoomToNode","treemapRootToNode"],X=c.retrieveTargetInfo(k,G,I),Z=K==="treemapRender"||K==="treemapMove"?k.rootRect:null,ee=I.getViewRoot(),Se=c.getPathToRoot(ee);if(K!=="treemapMove"){var $=K==="treemapZoomToNode"?_(I,X,ee,U,z):Z?[Z.width,Z.height]:[U,z],pe=V.sort;pe&&pe!=="asc"&&pe!=="desc"&&(pe="desc");var xe={squareRatio:V.squareRatio,sort:pe,leafDepth:V.leafDepth};ee.hostTree.clearLayouts();var _e={x:0,y:0,width:$[0],height:$[1],area:$[0]*$[1]};ee.setLayout(_e),u(ee,xe,!1,0);var _e=ee.getLayout();a(Se,function(ye,Be){var Q=(Se[Be+1]||ee).getValue();ye.setLayout(y.extend({dataExtent:[Q,Q],borderWidth:0,upperHeight:0},_e))})}var Ue=I.getData().tree.root;Ue.setLayout(T(D,Z,X),!0),I.setLayoutInfo(D),S(Ue,new m(-D.x,-D.y,M,P),Se,ee,0)}};function u(I,O,F,k){var M,P;if(I.isRemoved())return;var V=I.getLayout();M=V.width,P=V.height;var D=I.getModel(),H=D.get(d),U=D.get(i)/2,z=E(D),K=Math.max(H,z),G=H-U,X=K-U,D=I.getModel();I.setLayout({borderWidth:H,upperHeight:K,upperLabelHeight:z},!0),M=o(M-2*G,0),P=o(P-G-X,0);var Z=M*P,ee=f(I,D,Z,O,F,k);if(!ee.length)return;var Se={x:G,y:X,width:M,height:P},$=n(M,P),pe=Infinity,xe=[];xe.area=0;for(var _e=0,Ue=ee.length;_e<Ue;){var ye=ee[_e];xe.push(ye),xe.area+=ye.getLayout().area;var Be=b(xe,$,O.squareRatio);Be<=pe?(_e++,pe=Be):(xe.area-=xe.pop().getLayout().area,w(xe,$,Se,U,!1),$=n(Se.width,Se.height),xe.length=xe.area=0,pe=Infinity)}if(xe.length&&w(xe,$,Se,U,!0),!F){var Q=D.get("childrenVisibleMin");Q!=null&&Z<Q&&(F=!0)}for(var _e=0,Ue=ee.length;_e<Ue;_e++)u(ee[_e],O,F,k+1)}function f(I,O,F,k,M,P){var V=I.children||[],D=k.sort;D!=="asc"&&D!=="desc"&&(D=null);var H=k.leafDepth!=null&&k.leafDepth<=P;if(M&&!H)return I.viewChildren=[];V=y.filter(V,function(X){return!X.isRemoved()}),v(V,D);var U=x(O,V,D);if(U.sum===0)return I.viewChildren=[];if(U.sum=A(O,F,U.sum,D,V),U.sum===0)return I.viewChildren=[];for(var z=0,K=V.length;z<K;z++){var G=V[z].getValue()/U.sum*F;V[z].setLayout({area:G})}return H&&(V.length&&I.setLayout({isLeafRoot:!0},!0),V.length=0),I.viewChildren=V,I.setLayout({dataExtent:U.dataExtent},!0),V}function A(I,O,F,k,M){if(!k)return F;for(var P=I.get("visibleMin"),V=M.length,D=V,H=V-1;H>=0;H--){var U=M[k==="asc"?V-H-1:H].getValue();U/F*O<P&&(D=H,F-=U)}return k==="asc"?M.splice(0,V-D):M.splice(D,V-D),F}function v(I,O){return O&&I.sort(function(F,k){var M=O==="asc"?F.getValue()-k.getValue():k.getValue()-F.getValue();return M===0?O==="asc"?F.dataIndex-k.dataIndex:k.dataIndex-F.dataIndex:M}),I}function x(I,O,F){for(var k=0,M=0,P=O.length;M<P;M++)k+=O[M].getValue();var V=I.get("visualDimension"),D;if(!O||!O.length)D=[NaN,NaN];else if(V==="value"&&F)D=[O[O.length-1].getValue(),O[0].getValue()],F==="asc"&&D.reverse();else{var D=[Infinity,-Infinity];a(O,function(U){var z=U.getValue(V);z<D[0]&&(D[0]=z),z>D[1]&&(D[1]=z)})}return{sum:k,dataExtent:D}}function b(I,O,F){for(var k=0,M=Infinity,P=0,V,D=I.length;P<D;P++)V=I[P].getLayout().area,V&&(V<M&&(M=V),V>k&&(k=V));var H=I.area*I.area,U=O*O*F;return H?o(U*k/H,H/(U*M)):Infinity}function w(I,O,F,k,M){var P=O===F.width?0:1,V=1-P,D=["x","y"],H=["width","height"],U=F[D[P]],z=O?I.area/O:0;(M||z>F[H[V]])&&(z=F[H[V]]);for(var K=0,G=I.length;K<G;K++){var X=I[K],Z={},ee=z?X.getLayout().area/z:0,Se=Z[H[V]]=o(z-2*k,0),$=F[D[P]]+F[H[P]]-U,pe=K===G-1||$<ee?$:ee,xe=Z[H[P]]=o(pe-2*k,0);Z[D[V]]=F[D[V]]+n(k,Se/2),Z[D[P]]=U+n(k,xe/2),U+=pe,X.setLayout(Z,!0)}F[D[V]]+=z,F[H[V]]-=z}function _(I,O,F,k,M){var P=(O||{}).node,V=[k,M];if(!P||P===F)return V;for(var D,H=k*M,U=H*I.option.zoomToNodeRatio;D=P.parentNode;){for(var z=0,K=D.children,G=0,X=K.length;G<X;G++)z+=K[G].getValue();var Z=P.getValue();if(Z===0)return V;U*=z/Z;var ee=D.getModel(),Se=ee.get(d),$=Math.max(Se,E(ee,Se));U+=4*Se*Se+(3*Se+$)*Math.pow(U,.5),U>g&&(U=g),P=D}U<H&&(U=H);var pe=Math.pow(U/H,.5);return[k*pe,M*pe]}function T(I,O,F){if(O)return{x:O.x,y:O.y};var k={x:0,y:0};if(!F)return k;var M=F.node,P=M.getLayout();if(!P)return k;for(var V=[P.width/2,P.height/2],D=M;D;){var H=D.getLayout();V[0]+=H.x,V[1]+=H.y,D=D.parentNode}return{x:I.width/2-V[0],y:I.height/2-V[1]}}function S(I,O,F,k,M){var P=I.getLayout(),V=F[M],D=V&&V===I;if(V&&!D||M===F.length&&I!==k)return;I.setLayout({isInView:!0,invisible:!D&&!O.intersect(P),isAboveViewRoot:D},!0);var H=new m(O.x-P.x,O.y-P.y,O.width,O.height);a(I.viewChildren||[],function(U){S(U,H,F,k,M+1)})}function E(I){return I.get(l)?I.get(e):0}B.exports=s},nPnh:function(B,N){var r=Math.round;function y(p,g,h){if(!g)return;var c=g.x1,o=g.x2,n=g.y1,t=g.y2;p.x1=c,p.x2=o,p.y1=n,p.y2=t;var a=h&&h.lineWidth;if(!a)return;r(c*2)===r(o*2)&&(p.x1=p.x2=C(c,a,!0)),r(n*2)===r(t*2)&&(p.y1=p.y2=C(n,a,!0))}function m(p,g,h){if(!g)return;var c=g.x,o=g.y,n=g.width,t=g.height;p.x=c,p.y=o,p.width=n,p.height=t;var a=h&&h.lineWidth;if(!a)return;p.x=C(c,a,!0),p.y=C(o,a,!0),p.width=Math.max(C(c+n,a,!1)-p.x,n===0?0:1),p.height=Math.max(C(o+t,a,!1)-p.y,t===0?0:1)}function C(p,g,h){if(!g)return p;var c=r(p*2);return(c+r(g))%2===0?c/2:(c+(h?1:-1))/2}N.subPixelOptimizeLine=y,N.subPixelOptimizeRect=m,N.subPixelOptimize=C},nRaC:function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("0fbx"),p=r.n(C),g=r("OaEy"),h=r("R9oj")},nVfU:function(B,N,r){var y=r("bYtY"),m=r("OELB"),C=m.parsePercent,p=r("7hqr"),g=p.isDimensionStacked,h=r("zM3Q"),c="__ec_stack_",o=.5,n=typeof Float32Array!="undefined"?Float32Array:Array;function t(w){return w.get("stack")||c+w.seriesIndex}function a(w){return w.dim+w.index}function d(w){var _=[],T=w.axis,S="axis0";if(T.type!=="category")return;for(var E=T.getBandWidth(),I=0;I<w.count||0;I++)_.push(y.defaults({bandWidth:E,axisKey:S,stackId:c+I},w));for(var O=s(_),F=[],I=0;I<w.count;I++){var k=O[S][c+I];k.offsetCenter=k.offset+k.width/2,F.push(k)}return F}function i(w,_){var T=[];return _.eachSeriesByType(w,function(S){v(S)&&!x(S)&&T.push(S)}),T}function l(w){var _={};y.each(w,function(k){var M=k.coordinateSystem,P=M.getBaseAxis();if(P.type!=="time"&&P.type!=="value")return;for(var V=k.getData(),D=P.dim+"_"+P.index,H=V.mapDimension(P.dim),U=0,z=V.count();U<z;++U){var K=V.get(H,U);_[D]?_[D].push(K):_[D]=[K]}});var T=[];for(var S in _)if(_.hasOwnProperty(S)){var E=_[S];if(E){E.sort(function(k,M){return k-M});for(var I=null,O=1;O<E.length;++O){var F=E[O]-E[O-1];F>0&&(I=I===null?F:Math.min(I,F))}T[S]=I}}return T}function e(w){var _=l(w),T=[];return y.each(w,function(S){var E=S.coordinateSystem,I=E.getBaseAxis(),O=I.getExtent(),F;if(I.type==="category")F=I.getBandWidth();else if(I.type==="value"||I.type==="time"){var k=I.dim+"_"+I.index,M=_[k],P=Math.abs(O[1]-O[0]),V=I.scale.getExtent(),D=Math.abs(V[1]-V[0]);F=M?P/D*M:P}else{var H=S.getData();F=Math.abs(O[1]-O[0])/H.count()}var U=C(S.get("barWidth"),F),z=C(S.get("barMaxWidth"),F),K=C(S.get("barMinWidth")||1,F),G=S.get("barGap"),X=S.get("barCategoryGap");T.push({bandWidth:F,barWidth:U,barMaxWidth:z,barMinWidth:K,barGap:G,barCategoryGap:X,axisKey:a(I),stackId:t(S)})}),s(T)}function s(w){var _={};y.each(w,function(S,E){var I=S.axisKey,O=S.bandWidth,F=_[I]||{bandWidth:O,remainedWidth:O,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},k=F.stacks;_[I]=F;var M=S.stackId;k[M]||F.autoWidthCount++,k[M]=k[M]||{width:0,maxWidth:0};var P=S.barWidth;P&&!k[M].width&&(k[M].width=P,P=Math.min(F.remainedWidth,P),F.remainedWidth-=P);var V=S.barMaxWidth;V&&(k[M].maxWidth=V);var D=S.barMinWidth;D&&(k[M].minWidth=D);var H=S.barGap;H!=null&&(F.gap=H);var U=S.barCategoryGap;U!=null&&(F.categoryGap=U)});var T={};return y.each(_,function(S,E){T[E]={};var I=S.stacks,O=S.bandWidth,F=C(S.categoryGap,O),k=C(S.gap,1),M=S.remainedWidth,P=S.autoWidthCount,V=(M-F)/(P+(P-1)*k);V=Math.max(V,0),y.each(I,function(z){var K=z.maxWidth,G=z.minWidth;if(z.width){var X=z.width;K&&(X=Math.min(X,K)),G&&(X=Math.max(X,G)),z.width=X,M-=X+k*X,P--}else{var X=V;K&&K<X&&(X=Math.min(K,M)),G&&G>X&&(X=G),X!==V&&(z.width=X,M-=X+k*X,P--)}}),V=(M-F)/(P+(P-1)*k),V=Math.max(V,0);var D=0,H;y.each(I,function(z,K){z.width||(z.width=V),H=z,D+=z.width*(1+k)}),H&&(D-=H.width*k);var U=-D/2;y.each(I,function(z,K){T[E][K]=T[E][K]||{bandWidth:O,offset:U,width:z.width},U+=z.width*(1+k)})}),T}function u(w,_,T){if(w&&_){var S=w[a(_)];return S!=null&&T!=null&&(S=S[t(T)]),S}}function f(w,_){var T=i(w,_),S=e(T),E={},I={};y.each(T,function(O){var F=O.getData(),k=O.coordinateSystem,M=k.getBaseAxis(),P=t(O),V=S[a(M)][P],D=V.offset,H=V.width,U=k.getOtherAxis(M),z=O.get("barMinHeight")||0;E[P]=E[P]||[],I[P]=I[P]||[],F.setLayout({bandWidth:V.bandWidth,offset:D,size:H});for(var K=F.mapDimension(U.dim),G=F.mapDimension(M.dim),X=g(F,K),Z=U.isHorizontal(),ee=b(M,U,X),Se=0,$=F.count();Se<$;Se++){var pe=F.get(K,Se),xe=F.get(G,Se),_e=pe>=0?"p":"n",Ue=ee;X&&(E[P][xe]||(E[P][xe]={p:ee,n:ee}),Ue=E[P][xe][_e]);var ye,Be,Q,ie;if(Z){var Ve=k.dataToPoint([pe,xe]);ye=Ue,Be=Ve[1]+D,Q=Ve[0]-ee,ie=H,Math.abs(Q)<z&&(Q=(Q<0?-1:1)*z),isNaN(Q)||X&&(E[P][xe][_e]+=Q)}else{var Ve=k.dataToPoint([xe,pe]);ye=Ve[0]+D,Be=Ue,Q=H,ie=Ve[1]-ee,Math.abs(ie)<z&&(ie=(ie<=0?-1:1)*z),isNaN(ie)||X&&(E[P][xe][_e]+=ie)}F.setItemLayout(Se,{x:ye,y:Be,width:Q,height:ie})}},this)}var A={seriesType:"bar",plan:h(),reset:function(w){if(!v(w)||!x(w))return;var _=w.getData(),T=w.coordinateSystem,S=T.grid.getRect(),E=T.getBaseAxis(),I=T.getOtherAxis(E),O=_.mapDimension(I.dim),F=_.mapDimension(E.dim),k=I.isHorizontal(),M=k?0:1,P=u(e([w]),E,w).width;return P>o||(P=o),{progress:V};function V(D,H){for(var U=D.count,z=new n(U*2),K=new n(U*2),G=new n(U),X,Z=[],ee=[],Se=0,$=0;(X=D.next())!=null;)ee[M]=H.get(O,X),ee[1-M]=H.get(F,X),Z=T.dataToPoint(ee,null,Z),K[Se]=k?S.x+S.width:Z[0],z[Se++]=Z[0],K[Se]=k?Z[1]:S.y+S.height,z[Se++]=Z[1],G[$++]=X;H.setLayout({largePoints:z,largeDataIndices:G,largeBackgroundPoints:K,barWidth:P,valueAxisStart:b(E,I,!1),backgroundStart:k?S.x:S.y,valueAxisHorizontal:k})}}};function v(w){return w.coordinateSystem&&w.coordinateSystem.type==="cartesian2d"}function x(w){return w.pipelineContext&&w.pipelineContext.large}function b(w,_,T){return _.toGlobalCoord(_.dataToCoord(_.type==="log"?1:0))}N.getLayoutOnAxis=d,N.prepareLayoutBarSeries=i,N.makeColumnLayout=e,N.retrieveColumnLayout=u,N.layout=f,N.largeLayout=A},ngQI:function(B,N,r){"use strict";r.d(N,"a",function(){return Ku}),r.d(N,"b",function(){return gu}),r.d(N,"c",function(){return Ll});var y=r("q1tI"),m=r.n(y),C=r("dI71"),p=r("wx14"),g=r("ANjH"),h=r("/MKj");function c(lt,ve){if(lt.length!==ve.length)return!1;for(var Xe=0;Xe<lt.length;Xe++)if(lt[Xe]!==ve[Xe])return!1;return!0}function o(lt,ve){var Xe=Object(y.useState)(function(){return{inputs:ve,result:lt()}})[0],bt=Object(y.useRef)(!0),zt=Object(y.useRef)(Xe),nr=bt.current||Boolean(ve&&zt.current.inputs&&c(ve,zt.current.inputs)),lr=nr?zt.current:{inputs:ve,result:lt()};return Object(y.useEffect)(function(){bt.current=!1,zt.current=lr},[lr]),lr.result}function n(lt,ve){return o(function(){return lt},ve)}var t=o,a=n,d=r("9R94"),i=function(ve){var Xe=ve.top,bt=ve.right,zt=ve.bottom,nr=ve.left,lr=bt-nr,mr=zt-Xe,Nr={top:Xe,right:bt,bottom:zt,left:nr,width:lr,height:mr,x:nr,y:Xe,center:{x:(bt+nr)/2,y:(zt+Xe)/2}};return Nr},l=function(ve,Xe){return{top:ve.top-Xe.top,left:ve.left-Xe.left,bottom:ve.bottom+Xe.bottom,right:ve.right+Xe.right}},e=function(ve,Xe){return{top:ve.top+Xe.top,left:ve.left+Xe.left,bottom:ve.bottom-Xe.bottom,right:ve.right-Xe.right}},s=function(ve,Xe){return{top:ve.top+Xe.y,left:ve.left+Xe.x,bottom:ve.bottom+Xe.y,right:ve.right+Xe.x}},u={top:0,right:0,bottom:0,left:0},f=function(ve){var Xe=ve.borderBox,bt=ve.margin,zt=bt===void 0?u:bt,nr=ve.border,lr=nr===void 0?u:nr,mr=ve.padding,Nr=mr===void 0?u:mr,an=i(l(Xe,zt)),on=i(e(Xe,lr)),Jr=i(e(on,Nr));return{marginBox:an,borderBox:i(Xe),paddingBox:on,contentBox:Jr,margin:zt,border:lr,padding:Nr}},A=function(ve){var Xe=ve.slice(0,-2),bt=ve.slice(-2);if(bt!=="px")return 0;var zt=Number(Xe);return isNaN(zt)&&Object(d.a)(!1),zt},v=function(){return{x:window.pageXOffset,y:window.pageYOffset}},x=function(ve,Xe){var bt=ve.borderBox,zt=ve.border,nr=ve.margin,lr=ve.padding,mr=s(bt,Xe);return f({borderBox:mr,border:zt,margin:nr,padding:lr})},b=function(ve,Xe){return Xe===void 0&&(Xe=v()),x(ve,Xe)},w=function(ve,Xe){var bt={top:A(Xe.marginTop),right:A(Xe.marginRight),bottom:A(Xe.marginBottom),left:A(Xe.marginLeft)},zt={top:A(Xe.paddingTop),right:A(Xe.paddingRight),bottom:A(Xe.paddingBottom),left:A(Xe.paddingLeft)},nr={top:A(Xe.borderTopWidth),right:A(Xe.borderRightWidth),bottom:A(Xe.borderBottomWidth),left:A(Xe.borderLeftWidth)};return f({borderBox:ve,margin:bt,padding:zt,border:nr})},_=function(ve){var Xe=ve.getBoundingClientRect(),bt=window.getComputedStyle(ve);return w(Xe,bt)},T=Number.isNaN||function(ve){return typeof ve=="number"&&ve!==ve};function S(lt,ve){return lt===ve?!0:!!(T(lt)&&T(ve))}function E(lt,ve){if(lt.length!==ve.length)return!1;for(var Xe=0;Xe<lt.length;Xe++)if(!S(lt[Xe],ve[Xe]))return!1;return!0}function I(lt,ve){ve===void 0&&(ve=E);var Xe,bt=[],zt,nr=!1;function lr(){for(var mr=[],Nr=0;Nr<arguments.length;Nr++)mr[Nr]=arguments[Nr];return nr&&Xe===this&&ve(mr,bt)||(zt=lt.apply(this,mr),nr=!0,Xe=this,bt=mr),zt}return lr}var O=I,F=function(ve){var Xe=[],bt=null,zt=function(){for(var lr=arguments.length,mr=new Array(lr),Nr=0;Nr<lr;Nr++)mr[Nr]=arguments[Nr];if(Xe=mr,bt)return;bt=requestAnimationFrame(function(){bt=null,ve.apply(void 0,Xe)})};return zt.cancel=function(){if(!bt)return;cancelAnimationFrame(bt),bt=null},zt},k=F,M=r("i8i4"),P=r.n(M),V=!0,D=/[ \t]{2,}/g,H=/^[ \t]*/gm,U=function(ve){return ve.replace(D," ").replace(H,"").trim()},z=function(ve){return U(`
|
|
|
%creact-beautiful-dnd
|
|
|
|
|
|
%c`+U(ve)+`
|
|
|
|
|
|
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
|
|
|
`)},K=function(ve){return[z(ve),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},G="__react-beautiful-dnd-disable-dev-warnings";function X(lt,ve){var Xe;if(V)return;if(typeof window!="undefined"&&window[G])return;(Xe=console)[lt].apply(Xe,K(ve))}var Z=X.bind(null,"warn"),ee=X.bind(null,"error");function Se(){}function $(lt,ve){return Object(p.a)({},lt,{},ve)}function pe(lt,ve,Xe){var bt=ve.map(function(zt){var nr=$(Xe,zt.options);return lt.addEventListener(zt.eventName,zt.fn,nr),function(){lt.removeEventListener(zt.eventName,zt.fn,nr)}});return function(){bt.forEach(function(nr){nr()})}}var xe=!0,_e="Invariant failed";function Ue(lt){this.message=lt}Ue.prototype.toString=function(){return this.message};function ye(lt,ve){if(lt)return;throw xe?new Ue(_e):new Ue(_e+": "+(ve||""))}var Be=function(lt){Object(C.a)(ve,lt);function ve(){for(var bt,zt=arguments.length,nr=new Array(zt),lr=0;lr<zt;lr++)nr[lr]=arguments[lr];return bt=lt.call.apply(lt,[this].concat(nr))||this,bt.callbacks=null,bt.unbind=Se,bt.onWindowError=function(mr){var Nr=bt.getCallbacks();Nr.isDragging()&&Nr.tryAbort();var an=mr.error;an instanceof Ue&&mr.preventDefault()},bt.getCallbacks=function(){if(!bt.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return bt.callbacks},bt.setCallbacks=function(mr){bt.callbacks=mr},bt}var Xe=ve.prototype;return Xe.componentDidMount=function(){this.unbind=pe(window,[{eventName:"error",fn:this.onWindowError}])},Xe.componentWillUnmount=function(){this.unbind()},Xe.componentDidCatch=function(zt){if(zt instanceof Ue){this.setState({});return}throw zt},Xe.render=function(){return this.props.children(this.setCallbacks)},ve}(m.a.Component),Q=`
|
|
|
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
|
|
|
`,ie=function(ve){return ve+1},Ve=function(ve){return`
|
|
|
You have lifted an item in position `+ie(ve.source.index)+`
|
|
|
`},J=function(ve,Xe){var bt=ve.droppableId===Xe.droppableId,zt=ie(ve.index),nr=ie(Xe.index);return bt?`
|
|
|
You have moved the item from position `+zt+`
|
|
|
to position `+nr+`
|
|
|
`:`
|
|
|
You have moved the item from position `+zt+`
|
|
|
in list `+ve.droppableId+`
|
|
|
to list `+Xe.droppableId+`
|
|
|
in position `+nr+`
|
|
|
`},W=function(ve,Xe,bt){var zt=Xe.droppableId===bt.droppableId;return zt?`
|
|
|
The item `+ve+`
|
|
|
has been combined with `+bt.draggableId:`
|
|
|
The item `+ve+`
|
|
|
in list `+Xe.droppableId+`
|
|
|
has been combined with `+bt.draggableId+`
|
|
|
in list `+bt.droppableId+`
|
|
|
`},j=function(ve){var Xe=ve.destination;if(Xe)return J(ve.source,Xe);var bt=ve.combine;return bt?W(ve.draggableId,ve.source,bt):"You are over an area that cannot be dropped on"},Y=function(ve){return`
|
|
|
The item has returned to its starting position
|
|
|
of `+ie(ve.index)+`
|
|
|
`},me=function(ve){if(ve.reason==="CANCEL")return`
|
|
|
Movement cancelled.
|
|
|
`+Y(ve.source)+`
|
|
|
`;var Xe=ve.destination,bt=ve.combine;return Xe?`
|
|
|
You have dropped the item.
|
|
|
`+J(ve.source,Xe)+`
|
|
|
`:bt?`
|
|
|
You have dropped the item.
|
|
|
`+W(ve.draggableId,ve.source,bt)+`
|
|
|
`:`
|
|
|
The item has been dropped while not over a drop area.
|
|
|
`+Y(ve.source)+`
|
|
|
`},ae={dragHandleUsageInstructions:Q,onDragStart:Ve,onDragUpdate:j,onDragEnd:me},Le={x:0,y:0},Ee=function(ve,Xe){return{x:ve.x+Xe.x,y:ve.y+Xe.y}},ne=function(ve,Xe){return{x:ve.x-Xe.x,y:ve.y-Xe.y}},ge=function(ve,Xe){return ve.x===Xe.x&&ve.y===Xe.y},Ie=function(ve){return{x:ve.x!==0?-ve.x:0,y:ve.y!==0?-ve.y:0}},Ge=function(ve,Xe,bt){var zt;return bt===void 0&&(bt=0),zt={},zt[ve]=Xe,zt[ve==="x"?"y":"x"]=bt,zt},ut=function(ve,Xe){return Math.sqrt(Math.pow(Xe.x-ve.x,2)+Math.pow(Xe.y-ve.y,2))},wt=function(ve,Xe){return Math.min.apply(Math,Xe.map(function(bt){return ut(ve,bt)}))},Pe=function(ve){return function(Xe){return{x:ve(Xe.x),y:ve(Xe.y)}}},Dt=function(ve,Xe){var bt=i({top:Math.max(Xe.top,ve.top),right:Math.min(Xe.right,ve.right),bottom:Math.min(Xe.bottom,ve.bottom),left:Math.max(Xe.left,ve.left)});return bt.width<=0||bt.height<=0?null:bt},et=function(ve,Xe){return{top:ve.top+Xe.y,left:ve.left+Xe.x,bottom:ve.bottom+Xe.y,right:ve.right+Xe.x}},_t=function(ve){return[{x:ve.left,y:ve.top},{x:ve.right,y:ve.top},{x:ve.left,y:ve.bottom},{x:ve.right,y:ve.bottom}]},Nt={top:0,right:0,bottom:0,left:0},Bt=function(ve,Xe){return Xe?et(ve,Xe.scroll.diff.displacement):ve},Ft=function(ve,Xe,bt){if(bt&&bt.increasedBy){var zt;return Object(p.a)({},ve,(zt={},zt[Xe.end]=ve[Xe.end]+bt.increasedBy[Xe.line],zt))}return ve},Gt=function(ve,Xe){return Xe&&Xe.shouldClipSubject?Dt(Xe.pageMarginBox,ve):i(ve)},qe=function(ve){var Xe=ve.page,bt=ve.withPlaceholder,zt=ve.axis,nr=ve.frame,lr=Bt(Xe.marginBox,nr),mr=Ft(lr,zt,bt),Nr=Gt(mr,nr);return{page:Xe,withPlaceholder:bt,active:Nr}},we=function(ve,Xe){ve.frame||ye(!1);var bt=ve.frame,zt=ne(Xe,bt.scroll.initial),nr=Ie(zt),lr=Object(p.a)({},bt,{scroll:{initial:bt.scroll.initial,current:Xe,diff:{value:zt,displacement:nr},max:bt.scroll.max}}),mr=qe({page:ve.subject.page,withPlaceholder:ve.subject.withPlaceholder,axis:ve.axis,frame:lr}),Nr=Object(p.a)({},ve,{frame:lr,subject:mr});return Nr};function ue(lt){return Number.isInteger?Number.isInteger(lt):typeof lt=="number"&&isFinite(lt)&&Math.floor(lt)===lt}function vt(lt){return Object.values?Object.values(lt):Object.keys(lt).map(function(ve){return lt[ve]})}function at(lt,ve){if(lt.findIndex)return lt.findIndex(ve);for(var Xe=0;Xe<lt.length;Xe++)if(ve(lt[Xe]))return Xe;return-1}function Ae(lt,ve){if(lt.find)return lt.find(ve);var Xe=at(lt,ve);return Xe!==-1?lt[Xe]:void 0}function Xt(lt){return Array.prototype.slice.call(lt)}var Ot=O(function(lt){return lt.reduce(function(ve,Xe){return ve[Xe.descriptor.id]=Xe,ve},{})}),rt=O(function(lt){return lt.reduce(function(ve,Xe){return ve[Xe.descriptor.id]=Xe,ve},{})}),Et=O(function(lt){return vt(lt)}),Zt=O(function(lt){return vt(lt)}),vr=O(function(lt,ve){var Xe=Zt(ve).filter(function(bt){return lt===bt.descriptor.droppableId}).sort(function(bt,zt){return bt.descriptor.index-zt.descriptor.index});return Xe});function mt(lt){return lt.at&<.at.type==="REORDER"?lt.at.destination:null}function ce(lt){return lt.at&<.at.type==="COMBINE"?lt.at.combine:null}var le=O(function(lt,ve){return ve.filter(function(Xe){return Xe.descriptor.id!==lt.descriptor.id})}),oe=function(ve){var Xe=ve.isMovingForward,bt=ve.draggable,zt=ve.destination,nr=ve.insideDestination,lr=ve.previousImpact;if(!zt.isCombineEnabled)return null;var mr=mt(lr);if(!mr)return null;function Nr(gi){var Ui={type:"COMBINE",combine:{draggableId:gi,droppableId:zt.descriptor.id}};return Object(p.a)({},lr,{at:Ui})}var an=lr.displaced.all,on=an.length?an[0]:null;if(Xe)return on?Nr(on):null;var Jr=le(bt,nr);if(!on){if(!Jr.length)return null;var Gr=Jr[Jr.length-1];return Nr(Gr.descriptor.id)}var rn=at(Jr,function(gi){return gi.descriptor.id===on});rn!==-1||ye(!1);var En=rn-1;if(En<0)return null;var zn=Jr[En];return Nr(zn.descriptor.id)},fe=function(ve,Xe){return ve.descriptor.droppableId===Xe.descriptor.id},De={point:Le,value:0},He={invisible:{},visible:{},all:[]},je={displaced:He,displacedBy:De,at:null},We=function(ve,Xe){return function(bt){return ve<=bt&&bt<=Xe}},nt=function(ve){var Xe=We(ve.top,ve.bottom),bt=We(ve.left,ve.right);return function(zt){var nr=Xe(zt.top)&&Xe(zt.bottom)&&bt(zt.left)&&bt(zt.right);if(nr)return!0;var lr=Xe(zt.top)||Xe(zt.bottom),mr=bt(zt.left)||bt(zt.right),Nr=lr&&mr;if(Nr)return!0;var an=zt.top<ve.top&&zt.bottom>ve.bottom,on=zt.left<ve.left&&zt.right>ve.right,Jr=an&&on;if(Jr)return!0;var Gr=an&&mr||on&&lr;return Gr}},xt=function(ve){var Xe=We(ve.top,ve.bottom),bt=We(ve.left,ve.right);return function(zt){var nr=Xe(zt.top)&&Xe(zt.bottom)&&bt(zt.left)&&bt(zt.right);return nr}},It={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},ir={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},Me=function(ve){return function(Xe){var bt=We(Xe.top,Xe.bottom),zt=We(Xe.left,Xe.right);return function(nr){return ve===It?bt(nr.top)&&bt(nr.bottom):zt(nr.left)&&zt(nr.right)}}},ke=function(ve,Xe){var bt=Xe.frame?Xe.frame.scroll.diff.displacement:Le;return et(ve,bt)},re=function(ve,Xe,bt){return Xe.subject.active?bt(Xe.subject.active)(ve):!1},be=function(ve,Xe,bt){return bt(Xe)(ve)},Ne=function(ve){var Xe=ve.target,bt=ve.destination,zt=ve.viewport,nr=ve.withDroppableDisplacement,lr=ve.isVisibleThroughFrameFn,mr=nr?ke(Xe,bt):Xe;return re(mr,bt,lr)&&be(mr,zt,lr)},Ke=function(ve){return Ne(Object(p.a)({},ve,{isVisibleThroughFrameFn:nt}))},Qe=function(ve){return Ne(Object(p.a)({},ve,{isVisibleThroughFrameFn:xt}))},ct=function(ve){return Ne(Object(p.a)({},ve,{isVisibleThroughFrameFn:Me(ve.destination.axis)}))},Lt=function(ve,Xe,bt){if(typeof bt=="boolean")return bt;if(!Xe)return!0;var zt=Xe.invisible,nr=Xe.visible;if(zt[ve])return!1;var lr=nr[ve];return lr?lr.shouldAnimate:!0};function rr(lt,ve){var Xe=lt.page.marginBox,bt={top:ve.point.y,right:0,bottom:0,left:ve.point.x};return i(l(Xe,bt))}function dr(lt){var ve=lt.afterDragging,Xe=lt.destination,bt=lt.displacedBy,zt=lt.viewport,nr=lt.forceShouldAnimate,lr=lt.last;return ve.reduce(function(Nr,an){var on=rr(an,bt),Jr=an.descriptor.id;Nr.all.push(Jr);var Gr=Ke({target:on,destination:Xe,viewport:zt,withDroppableDisplacement:!0});if(!Gr)return Nr.invisible[an.descriptor.id]=!0,Nr;var rn=Lt(Jr,lr,nr),En={draggableId:Jr,shouldAnimate:rn};return Nr.visible[Jr]=En,Nr},{all:[],visible:{},invisible:{}})}function Pt(lt,ve){if(!lt.length)return 0;var Xe=lt[lt.length-1].descriptor.index;return ve.inHomeList?Xe:Xe+1}function jt(lt){var ve=lt.insideDestination,Xe=lt.inHomeList,bt=lt.displacedBy,zt=lt.destination,nr=Pt(ve,{inHomeList:Xe});return{displaced:He,displacedBy:bt,at:{type:"REORDER",destination:{droppableId:zt.descriptor.id,index:nr}}}}function Ct(lt){var ve=lt.draggable,Xe=lt.insideDestination,bt=lt.destination,zt=lt.viewport,nr=lt.displacedBy,lr=lt.last,mr=lt.index,Nr=lt.forceShouldAnimate,an=fe(ve,bt);if(mr==null)return jt({insideDestination:Xe,inHomeList:an,displacedBy:nr,destination:bt});var on=Ae(Xe,function(zn){return zn.descriptor.index===mr});if(!on)return jt({insideDestination:Xe,inHomeList:an,displacedBy:nr,destination:bt});var Jr=le(ve,Xe),Gr=Xe.indexOf(on),rn=Jr.slice(Gr),En=dr({afterDragging:rn,destination:bt,displacedBy:nr,last:lr,viewport:zt.frame,forceShouldAnimate:Nr});return{displaced:En,displacedBy:nr,at:{type:"REORDER",destination:{droppableId:bt.descriptor.id,index:mr}}}}function Rt(lt,ve){return Boolean(ve.effected[lt])}var pt=function(ve){var Xe=ve.isMovingForward,bt=ve.destination,zt=ve.draggables,nr=ve.combine,lr=ve.afterCritical;if(!bt.isCombineEnabled)return null;var mr=nr.draggableId,Nr=zt[mr],an=Nr.descriptor.index,on=Rt(mr,lr);return on?Xe?an:an-1:Xe?an+1:an},ot=function(ve){var Xe=ve.isMovingForward,bt=ve.isInHomeList,zt=ve.insideDestination,nr=ve.location;if(!zt.length)return null;var lr=nr.index,mr=Xe?lr+1:lr-1,Nr=zt[0].descriptor.index,an=zt[zt.length-1].descriptor.index,on=bt?an:an+1;return mr<Nr||mr>on?null:mr},gt=function(ve){var Xe=ve.isMovingForward,bt=ve.isInHomeList,zt=ve.draggable,nr=ve.draggables,lr=ve.destination,mr=ve.insideDestination,Nr=ve.previousImpact,an=ve.viewport,on=ve.afterCritical,Jr=Nr.at;if(Jr||ye(!1),Jr.type==="REORDER"){var Gr=ot({isMovingForward:Xe,isInHomeList:bt,location:Jr.destination,insideDestination:mr});return Gr==null?null:Ct({draggable:zt,insideDestination:mr,destination:lr,viewport:an,last:Nr.displaced,displacedBy:Nr.displacedBy,index:Gr})}var rn=pt({isMovingForward:Xe,destination:lr,displaced:Nr.displaced,draggables:nr,combine:Jr.combine,afterCritical:on});return rn==null?null:Ct({draggable:zt,insideDestination:mr,destination:lr,viewport:an,last:Nr.displaced,displacedBy:Nr.displacedBy,index:rn})},Ye=function(ve){var Xe=ve.displaced,bt=ve.afterCritical,zt=ve.combineWith,nr=ve.displacedBy,lr=Boolean(Xe.visible[zt]||Xe.invisible[zt]);return Rt(zt,bt)?lr?Le:Ie(nr.point):lr?nr.point:Le},$e=function(ve){var Xe=ve.afterCritical,bt=ve.impact,zt=ve.draggables,nr=ce(bt);nr||ye(!1);var lr=nr.draggableId,mr=zt[lr].page.borderBox.center,Nr=Ye({displaced:bt.displaced,afterCritical:Xe,combineWith:lr,displacedBy:bt.displacedBy});return Ee(mr,Nr)},Je=function(ve,Xe){return Xe.margin[ve.start]+Xe.borderBox[ve.size]/2},it=function(ve,Xe){return Xe.margin[ve.end]+Xe.borderBox[ve.size]/2},ft=function(ve,Xe,bt){return Xe[ve.crossAxisStart]+bt.margin[ve.crossAxisStart]+bt.borderBox[ve.crossAxisSize]/2},ht=function(ve){var Xe=ve.axis,bt=ve.moveRelativeTo,zt=ve.isMoving;return Ge(Xe.line,bt.marginBox[Xe.end]+Je(Xe,zt),ft(Xe,bt.marginBox,zt))},st=function(ve){var Xe=ve.axis,bt=ve.moveRelativeTo,zt=ve.isMoving;return Ge(Xe.line,bt.marginBox[Xe.start]-it(Xe,zt),ft(Xe,bt.marginBox,zt))},kt=function(ve){var Xe=ve.axis,bt=ve.moveInto,zt=ve.isMoving;return Ge(Xe.line,bt.contentBox[Xe.start]+Je(Xe,zt),ft(Xe,bt.contentBox,zt))},Tt=function(ve){var Xe=ve.impact,bt=ve.draggable,zt=ve.draggables,nr=ve.droppable,lr=ve.afterCritical,mr=vr(nr.descriptor.id,zt),Nr=bt.page,an=nr.axis;if(!mr.length)return kt({axis:an,moveInto:nr.page,isMoving:Nr});var on=Xe.displaced,Jr=Xe.displacedBy,Gr=on.all[0];if(Gr){var rn=zt[Gr];if(Rt(Gr,lr))return st({axis:an,moveRelativeTo:rn.page,isMoving:Nr});var En=x(rn.page,Jr.point);return st({axis:an,moveRelativeTo:En,isMoving:Nr})}var zn=mr[mr.length-1];if(zn.descriptor.id===bt.descriptor.id)return Nr.borderBox.center;if(Rt(zn.descriptor.id,lr)){var gi=x(zn.page,Ie(lr.displacedBy.point));return ht({axis:an,moveRelativeTo:gi,isMoving:Nr})}return ht({axis:an,moveRelativeTo:zn.page,isMoving:Nr})},ar=function(ve,Xe){var bt=ve.frame;return bt?Ee(Xe,bt.scroll.diff.displacement):Xe},Qt=function(ve){var Xe=ve.impact,bt=ve.draggable,zt=ve.droppable,nr=ve.draggables,lr=ve.afterCritical,mr=bt.page.borderBox.center,Nr=Xe.at;return zt&&Nr?Nr.type==="REORDER"?Tt({impact:Xe,draggable:bt,draggables:nr,droppable:zt,afterCritical:lr}):$e({impact:Xe,draggables:nr,afterCritical:lr}):mr},Er=function(ve){var Xe=Qt(ve),bt=ve.droppable,zt=bt?ar(bt,Xe):Xe;return zt},Ir=function(ve,Xe){var bt=ne(Xe,ve.scroll.initial),zt=Ie(bt),nr=i({top:Xe.y,bottom:Xe.y+ve.frame.height,left:Xe.x,right:Xe.x+ve.frame.width}),lr={frame:nr,scroll:{initial:ve.scroll.initial,max:ve.scroll.max,current:Xe,diff:{value:bt,displacement:zt}}};return lr};function jr(lt,ve){return lt.map(function(Xe){return ve[Xe]})}function zr(lt,ve){for(var Xe=0;Xe<ve.length;Xe++){var bt=ve[Xe].visible[lt];if(bt)return bt}return null}var hn=function(ve){var Xe=ve.impact,bt=ve.viewport,zt=ve.destination,nr=ve.draggables,lr=ve.maxScrollChange,mr=Ir(bt,Ee(bt.scroll.current,lr)),Nr=zt.frame?we(zt,Ee(zt.frame.scroll.current,lr)):zt,an=Xe.displaced,on=dr({afterDragging:jr(an.all,nr),destination:zt,displacedBy:Xe.displacedBy,viewport:mr.frame,last:an,forceShouldAnimate:!1}),Jr=dr({afterDragging:jr(an.all,nr),destination:Nr,displacedBy:Xe.displacedBy,viewport:bt.frame,last:an,forceShouldAnimate:!1}),Gr={},rn={},En=[an,on,Jr];an.all.forEach(function(gi){var Ui=zr(gi,En);if(Ui){rn[gi]=Ui;return}Gr[gi]=!0});var zn=Object(p.a)({},Xe,{displaced:{all:an.all,invisible:Gr,visible:rn}});return zn},gn=function(ve,Xe){return Ee(ve.scroll.diff.displacement,Xe)},Br=function(ve){var Xe=ve.pageBorderBoxCenter,bt=ve.draggable,zt=ve.viewport,nr=gn(zt,Xe),lr=ne(nr,bt.page.borderBox.center);return Ee(bt.client.borderBox.center,lr)},ln=function(ve){var Xe=ve.draggable,bt=ve.destination,zt=ve.newPageBorderBoxCenter,nr=ve.viewport,lr=ve.withDroppableDisplacement,mr=ve.onlyOnMainAxis,Nr=mr===void 0?!1:mr,an=ne(zt,Xe.page.borderBox.center),on=et(Xe.page.borderBox,an),Jr={target:on,destination:bt,withDroppableDisplacement:lr,viewport:nr};return Nr?ct(Jr):Qe(Jr)},Xr=function(ve){var Xe=ve.isMovingForward,bt=ve.draggable,zt=ve.destination,nr=ve.draggables,lr=ve.previousImpact,mr=ve.viewport,Nr=ve.previousPageBorderBoxCenter,an=ve.previousClientSelection,on=ve.afterCritical;if(!zt.isEnabled)return null;var Jr=vr(zt.descriptor.id,nr),Gr=fe(bt,zt),rn=oe({isMovingForward:Xe,draggable:bt,destination:zt,insideDestination:Jr,previousImpact:lr})||gt({isMovingForward:Xe,isInHomeList:Gr,draggable:bt,draggables:nr,destination:zt,insideDestination:Jr,previousImpact:lr,viewport:mr,afterCritical:on});if(!rn)return null;var En=Er({impact:rn,draggable:bt,droppable:zt,draggables:nr,afterCritical:on}),zn=ln({draggable:bt,destination:zt,newPageBorderBoxCenter:En,viewport:mr.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(zn){var gi=Br({pageBorderBoxCenter:En,draggable:bt,viewport:mr});return{clientSelection:gi,impact:rn,scrollJumpRequest:null}}var Ui=ne(En,Nr),Di=hn({impact:rn,viewport:mr,destination:zt,draggables:nr,maxScrollChange:Ui});return{clientSelection:an,impact:Di,scrollJumpRequest:Ui}},cr=function(ve){var Xe=ve.subject.active;return Xe||ye(!1),Xe},wr=function(ve){var Xe=ve.isMovingForward,bt=ve.pageBorderBoxCenter,zt=ve.source,nr=ve.droppables,lr=ve.viewport,mr=zt.subject.active;if(!mr)return null;var Nr=zt.axis,an=We(mr[Nr.start],mr[Nr.end]),on=Et(nr).filter(function(Gr){return Gr!==zt}).filter(function(Gr){return Gr.isEnabled}).filter(function(Gr){return Boolean(Gr.subject.active)}).filter(function(Gr){return nt(lr.frame)(cr(Gr))}).filter(function(Gr){var rn=cr(Gr);return Xe?mr[Nr.crossAxisEnd]<rn[Nr.crossAxisEnd]:rn[Nr.crossAxisStart]<mr[Nr.crossAxisStart]}).filter(function(Gr){var rn=cr(Gr),En=We(rn[Nr.start],rn[Nr.end]);return an(rn[Nr.start])||an(rn[Nr.end])||En(mr[Nr.start])||En(mr[Nr.end])}).sort(function(Gr,rn){var En=cr(Gr)[Nr.crossAxisStart],zn=cr(rn)[Nr.crossAxisStart];return Xe?En-zn:zn-En}).filter(function(Gr,rn,En){return cr(Gr)[Nr.crossAxisStart]===cr(En[0])[Nr.crossAxisStart]});if(!on.length)return null;if(on.length===1)return on[0];var Jr=on.filter(function(Gr){var rn=We(cr(Gr)[Nr.start],cr(Gr)[Nr.end]);return rn(bt[Nr.line])});return Jr.length===1?Jr[0]:Jr.length>1?Jr.sort(function(Gr,rn){return cr(Gr)[Nr.start]-cr(rn)[Nr.start]})[0]:on.sort(function(Gr,rn){var En=wt(bt,_t(cr(Gr))),zn=wt(bt,_t(cr(rn)));return En!==zn?En-zn:cr(Gr)[Nr.start]-cr(rn)[Nr.start]})[0]},hr=function(ve,Xe){var bt=ve.page.borderBox.center;return Rt(ve.descriptor.id,Xe)?ne(bt,Xe.displacedBy.point):bt},Ar=function(ve,Xe){var bt=ve.page.borderBox;return Rt(ve.descriptor.id,Xe)?et(bt,Ie(Xe.displacedBy.point)):bt},kr=function(ve){var Xe=ve.pageBorderBoxCenter,bt=ve.viewport,zt=ve.destination,nr=ve.insideDestination,lr=ve.afterCritical,mr=nr.filter(function(Nr){return Qe({target:Ar(Nr,lr),destination:zt,viewport:bt.frame,withDroppableDisplacement:!0})}).sort(function(Nr,an){var on=ut(Xe,ar(zt,hr(Nr,lr))),Jr=ut(Xe,ar(zt,hr(an,lr)));return on<Jr?-1:Jr<on?1:Nr.descriptor.index-an.descriptor.index});return mr[0]||null},nn=O(function(ve,Xe){var bt=Xe[ve.line];return{value:bt,point:Ge(ve.line,bt)}}),wn=function(ve,Xe,bt){var zt=ve.axis;if(ve.descriptor.mode==="virtual")return Ge(zt.line,Xe[zt.line]);var nr=ve.subject.page.contentBox[zt.size],lr=vr(ve.descriptor.id,bt),mr=lr.reduce(function(on,Jr){return on+Jr.client.marginBox[zt.size]},0),Nr=mr+Xe[zt.line],an=Nr-nr;return an<=0?null:Ge(zt.line,an)},oi=function(ve,Xe){return Object(p.a)({},ve,{scroll:Object(p.a)({},ve.scroll,{max:Xe})})},tn=function(ve,Xe,bt){var zt=ve.frame;fe(Xe,ve)&&ye(!1),ve.subject.withPlaceholder&&ye(!1);var nr=nn(ve.axis,Xe.displaceBy).point,lr=wn(ve,nr,bt),mr={placeholderSize:nr,increasedBy:lr,oldFrameMaxScroll:ve.frame?ve.frame.scroll.max:null};if(!zt){var Nr=qe({page:ve.subject.page,withPlaceholder:mr,axis:ve.axis,frame:ve.frame});return Object(p.a)({},ve,{subject:Nr})}var an=lr?Ee(zt.scroll.max,lr):zt.scroll.max,on=oi(zt,an),Jr=qe({page:ve.subject.page,withPlaceholder:mr,axis:ve.axis,frame:on});return Object(p.a)({},ve,{subject:Jr,frame:on})},Vn=function(ve){var Xe=ve.subject.withPlaceholder;Xe||ye(!1);var bt=ve.frame;if(!bt){var zt=qe({page:ve.subject.page,axis:ve.axis,frame:null,withPlaceholder:null});return Object(p.a)({},ve,{subject:zt})}var nr=Xe.oldFrameMaxScroll;nr||ye(!1);var lr=oi(bt,nr),mr=qe({page:ve.subject.page,axis:ve.axis,frame:lr,withPlaceholder:null});return Object(p.a)({},ve,{subject:mr,frame:lr})},On=function(ve){var Xe=ve.previousPageBorderBoxCenter,bt=ve.moveRelativeTo,zt=ve.insideDestination,nr=ve.draggable,lr=ve.draggables,mr=ve.destination,Nr=ve.viewport,an=ve.afterCritical;if(!bt){if(zt.length)return null;var on={displaced:He,displacedBy:De,at:{type:"REORDER",destination:{droppableId:mr.descriptor.id,index:0}}},Jr=Er({impact:on,draggable:nr,droppable:mr,draggables:lr,afterCritical:an}),Gr=fe(nr,mr)?mr:tn(mr,nr,lr),rn=ln({draggable:nr,destination:Gr,newPageBorderBoxCenter:Jr,viewport:Nr.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return rn?on:null}var En=Boolean(Xe[mr.axis.line]<=bt.page.borderBox.center[mr.axis.line]),zn=function(){var Ui=bt.descriptor.index;return bt.descriptor.id===nr.descriptor.id||En?Ui:Ui+1}(),gi=nn(mr.axis,nr.displaceBy);return Ct({draggable:nr,insideDestination:zt,destination:mr,viewport:Nr,displacedBy:gi,last:He,index:zn})},$n=function(ve){var Xe=ve.isMovingForward,bt=ve.previousPageBorderBoxCenter,zt=ve.draggable,nr=ve.isOver,lr=ve.draggables,mr=ve.droppables,Nr=ve.viewport,an=ve.afterCritical,on=wr({isMovingForward:Xe,pageBorderBoxCenter:bt,source:nr,droppables:mr,viewport:Nr});if(!on)return null;var Jr=vr(on.descriptor.id,lr),Gr=kr({pageBorderBoxCenter:bt,viewport:Nr,destination:on,insideDestination:Jr,afterCritical:an}),rn=On({previousPageBorderBoxCenter:bt,destination:on,draggable:zt,draggables:lr,moveRelativeTo:Gr,insideDestination:Jr,viewport:Nr,afterCritical:an});if(!rn)return null;var En=Er({impact:rn,draggable:zt,droppable:on,draggables:lr,afterCritical:an}),zn=Br({pageBorderBoxCenter:En,draggable:zt,viewport:Nr});return{clientSelection:zn,impact:rn,scrollJumpRequest:null}},Qn=function(ve){var Xe=ve.at;return Xe?Xe.type==="REORDER"?Xe.destination.droppableId:Xe.combine.droppableId:null},ei=function(ve,Xe){var bt=Qn(ve);return bt?Xe[bt]:null},zi=function(ve){var Xe=ve.state,bt=ve.type,zt=ei(Xe.impact,Xe.dimensions.droppables),nr=Boolean(zt),lr=Xe.dimensions.droppables[Xe.critical.droppable.id],mr=zt||lr,Nr=mr.axis.direction,an=Nr==="vertical"&&(bt==="MOVE_UP"||bt==="MOVE_DOWN")||Nr==="horizontal"&&(bt==="MOVE_LEFT"||bt==="MOVE_RIGHT");if(an&&!nr)return null;var on=bt==="MOVE_DOWN"||bt==="MOVE_RIGHT",Jr=Xe.dimensions.draggables[Xe.critical.draggable.id],Gr=Xe.current.page.borderBoxCenter,rn=Xe.dimensions,En=rn.draggables,zn=rn.droppables;return an?Xr({isMovingForward:on,previousPageBorderBoxCenter:Gr,draggable:Jr,destination:mr,draggables:En,viewport:Xe.viewport,previousClientSelection:Xe.current.client.selection,previousImpact:Xe.impact,afterCritical:Xe.afterCritical}):$n({isMovingForward:on,previousPageBorderBoxCenter:Gr,draggable:Jr,isOver:mr,draggables:En,droppables:zn,viewport:Xe.viewport,afterCritical:Xe.afterCritical})};function hi(lt){return lt.phase==="DRAGGING"||lt.phase==="COLLECTING"}function Bn(lt){var ve=We(lt.top,lt.bottom),Xe=We(lt.left,lt.right);return function(zt){return ve(zt.y)&&Xe(zt.x)}}function sn(lt,ve){return lt.left<ve.right&<.right>ve.left&<.top<ve.bottom&<.bottom>ve.top}function ta(lt){var ve=lt.pageBorderBox,Xe=lt.draggable,bt=lt.candidates,zt=Xe.page.borderBox.center,nr=bt.map(function(lr){var mr=lr.axis,Nr=Ge(lr.axis.line,ve.center[mr.line],lr.page.borderBox.center[mr.crossAxisLine]);return{id:lr.descriptor.id,distance:ut(zt,Nr)}}).sort(function(lr,mr){return mr.distance-lr.distance});return nr[0]?nr[0].id:null}function ua(lt){var ve=lt.pageBorderBox,Xe=lt.draggable,bt=lt.droppables,zt=Et(bt).filter(function(nr){if(!nr.isEnabled)return!1;var lr=nr.subject.active;if(!lr)return!1;if(!sn(ve,lr))return!1;if(Bn(lr)(ve.center))return!0;var mr=nr.axis,Nr=lr.center[mr.crossAxisLine],an=ve[mr.crossAxisStart],on=ve[mr.crossAxisEnd],Jr=We(lr[mr.crossAxisStart],lr[mr.crossAxisEnd]),Gr=Jr(an),rn=Jr(on);return!Gr&&!rn?!0:Gr?an<Nr:on>Nr});return zt.length?zt.length===1?zt[0].descriptor.id:ta({pageBorderBox:ve,draggable:Xe,candidates:zt}):null}var fa=function(ve,Xe){return i(et(ve,Xe))},Bi=function(ve,Xe){var bt=ve.frame;return bt?fa(Xe,bt.scroll.diff.value):Xe};function pa(lt){var ve=lt.displaced,Xe=lt.id;return Boolean(ve.visible[Xe]||ve.invisible[Xe])}function ui(lt){var ve=lt.draggable,Xe=lt.closest,bt=lt.inHomeList;return Xe?bt&&Xe.descriptor.index>ve.descriptor.index?Xe.descriptor.index-1:Xe.descriptor.index:null}var ba=function(ve){var Xe=ve.pageBorderBoxWithDroppableScroll,bt=ve.draggable,zt=ve.destination,nr=ve.insideDestination,lr=ve.last,mr=ve.viewport,Nr=ve.afterCritical,an=zt.axis,on=nn(zt.axis,bt.displaceBy),Jr=on.value,Gr=Xe[an.start],rn=Xe[an.end],En=le(bt,nr),zn=Ae(En,function(Ui){var Di=Ui.descriptor.id,Ca=Ui.page.borderBox.center[an.line],Oi=Rt(Di,Nr),Xa=pa({displaced:lr,id:Di});return Oi?Xa?rn<=Ca:Gr<Ca-Jr:Xa?rn<=Ca+Jr:Gr<Ca}),gi=ui({draggable:bt,closest:zn,inHomeList:fe(bt,zt)});return Ct({draggable:bt,insideDestination:nr,destination:zt,viewport:mr,last:lr,displacedBy:on,index:gi})},Dn=4,Pn=function(ve){var Xe=ve.draggable,bt=ve.pageBorderBoxWithDroppableScroll,zt=ve.previousImpact,nr=ve.destination,lr=ve.insideDestination,mr=ve.afterCritical;if(!nr.isCombineEnabled)return null;var Nr=nr.axis,an=nn(nr.axis,Xe.displaceBy),on=an.value,Jr=bt[Nr.start],Gr=bt[Nr.end],rn=le(Xe,lr),En=Ae(rn,function(gi){var Ui=gi.descriptor.id,Di=gi.page.borderBox,Ca=Di[Nr.size],Oi=Ca/Dn,Xa=Rt(Ui,mr),Ka=pa({displaced:zt.displaced,id:Ui});return Xa?Ka?Gr>Di[Nr.start]+Oi&&Gr<Di[Nr.end]-Oi:Jr>Di[Nr.start]-on+Oi&&Jr<Di[Nr.end]-on-Oi:Ka?Gr>Di[Nr.start]+on+Oi&&Gr<Di[Nr.end]+on-Oi:Jr>Di[Nr.start]+Oi&&Jr<Di[Nr.end]-Oi});if(!En)return null;var zn={displacedBy:an,displaced:zt.displaced,at:{type:"COMBINE",combine:{draggableId:En.descriptor.id,droppableId:nr.descriptor.id}}};return zn},Yn=function(ve){var Xe=ve.pageOffset,bt=ve.draggable,zt=ve.draggables,nr=ve.droppables,lr=ve.previousImpact,mr=ve.viewport,Nr=ve.afterCritical,an=fa(bt.page.borderBox,Xe),on=ua({pageBorderBox:an,draggable:bt,droppables:nr});if(!on)return je;var Jr=nr[on],Gr=vr(Jr.descriptor.id,zt),rn=Bi(Jr,an);return Pn({pageBorderBoxWithDroppableScroll:rn,draggable:bt,previousImpact:lr,destination:Jr,insideDestination:Gr,afterCritical:Nr})||ba({pageBorderBoxWithDroppableScroll:rn,draggable:bt,destination:Jr,insideDestination:Gr,last:lr.displaced,viewport:mr,afterCritical:Nr})},Jn=function(ve,Xe){var bt;return Object(p.a)({},ve,(bt={},bt[Xe.descriptor.id]=Xe,bt))},ni=function(ve){var Xe=ve.previousImpact,bt=ve.impact,zt=ve.droppables,nr=Qn(Xe),lr=Qn(bt);if(!nr)return zt;if(nr===lr)return zt;var mr=zt[nr];if(!mr.subject.withPlaceholder)return zt;var Nr=Vn(mr);return Jn(zt,Nr)},Fi=function(ve){var Xe=ve.draggable,bt=ve.draggables,zt=ve.droppables,nr=ve.previousImpact,lr=ve.impact,mr=ni({previousImpact:nr,impact:lr,droppables:zt}),Nr=Qn(lr);if(!Nr)return mr;var an=zt[Nr];if(fe(Xe,an))return mr;if(an.subject.withPlaceholder)return mr;var on=tn(an,Xe,bt);return Jn(mr,on)},Hi=function(ve){var Xe=ve.state,bt=ve.clientSelection,zt=ve.dimensions,nr=ve.viewport,lr=ve.impact,mr=ve.scrollJumpRequest,Nr=nr||Xe.viewport,an=zt||Xe.dimensions,on=bt||Xe.current.client.selection,Jr=ne(on,Xe.initial.client.selection),Gr={offset:Jr,selection:on,borderBoxCenter:Ee(Xe.initial.client.borderBoxCenter,Jr)},rn={selection:Ee(Gr.selection,Nr.scroll.current),borderBoxCenter:Ee(Gr.borderBoxCenter,Nr.scroll.current),offset:Ee(Gr.offset,Nr.scroll.diff.value)},En={client:Gr,page:rn};if(Xe.phase==="COLLECTING")return Object(p.a)({phase:"COLLECTING"},Xe,{dimensions:an,viewport:Nr,current:En});var zn=an.draggables[Xe.critical.draggable.id],gi=lr||Yn({pageOffset:rn.offset,draggable:zn,draggables:an.draggables,droppables:an.droppables,previousImpact:Xe.impact,viewport:Nr,afterCritical:Xe.afterCritical}),Ui=Fi({draggable:zn,impact:gi,previousImpact:Xe.impact,draggables:an.draggables,droppables:an.droppables}),Di=Object(p.a)({},Xe,{current:En,dimensions:{draggables:an.draggables,droppables:Ui},impact:gi,viewport:Nr,scrollJumpRequest:mr||null,forceShouldAnimate:mr?!1:null});return Di};function Za(lt,ve){return lt.map(function(Xe){return ve[Xe]})}var va=function(ve){var Xe=ve.impact,bt=ve.viewport,zt=ve.draggables,nr=ve.destination,lr=ve.forceShouldAnimate,mr=Xe.displaced,Nr=Za(mr.all,zt),an=dr({afterDragging:Nr,destination:nr,displacedBy:Xe.displacedBy,viewport:bt.frame,forceShouldAnimate:lr,last:mr});return Object(p.a)({},Xe,{displaced:an})},za=function(ve){var Xe=ve.impact,bt=ve.draggable,zt=ve.droppable,nr=ve.draggables,lr=ve.viewport,mr=ve.afterCritical,Nr=Er({impact:Xe,draggable:bt,draggables:nr,droppable:zt,afterCritical:mr});return Br({pageBorderBoxCenter:Nr,draggable:bt,viewport:lr})},to=function(ve){var Xe=ve.state,bt=ve.dimensions,zt=ve.viewport;Xe.movementMode==="SNAP"||ye(!1);var nr=Xe.impact,lr=zt||Xe.viewport,mr=bt||Xe.dimensions,Nr=mr.draggables,an=mr.droppables,on=Nr[Xe.critical.draggable.id],Jr=Qn(nr);Jr||ye(!1);var Gr=an[Jr],rn=va({impact:nr,viewport:lr,destination:Gr,draggables:Nr}),En=za({impact:rn,draggable:on,droppable:Gr,draggables:Nr,viewport:lr,afterCritical:Xe.afterCritical});return Hi({impact:rn,clientSelection:En,state:Xe,dimensions:mr,viewport:lr})},lo=function(ve){return{index:ve.index,droppableId:ve.droppableId}},_a=function(ve){var Xe=ve.draggable,bt=ve.home,zt=ve.draggables,nr=ve.viewport,lr=nn(bt.axis,Xe.displaceBy),mr=vr(bt.descriptor.id,zt),Nr=mr.indexOf(Xe);Nr!==-1||ye(!1);var an=mr.slice(Nr+1),on=an.reduce(function(En,zn){return En[zn.descriptor.id]=!0,En},{}),Jr={inVirtualList:bt.descriptor.mode==="virtual",displacedBy:lr,effected:on},Gr=dr({afterDragging:an,destination:bt,displacedBy:lr,last:null,viewport:nr.frame,forceShouldAnimate:!1}),rn={displaced:Gr,displacedBy:lr,at:{type:"REORDER",destination:lo(Xe.descriptor)}};return{impact:rn,afterCritical:Jr}},Qo=function(ve,Xe){return{draggables:ve.draggables,droppables:Jn(ve.droppables,Xe)}},Uo=function(ve){},jo=function(ve){},Ao=function(ve){var Xe=ve.draggable,bt=ve.offset,zt=ve.initialWindowScroll,nr=x(Xe.client,bt),lr=b(nr,zt),mr=Object(p.a)({},Xe,{placeholder:Object(p.a)({},Xe.placeholder,{client:nr}),client:nr,page:lr});return mr},fo=function(ve){var Xe=ve.frame;return Xe||ye(!1),Xe},Ro=function(ve){var Xe=ve.additions,bt=ve.updatedDroppables,zt=ve.viewport,nr=zt.scroll.diff.value;return Xe.map(function(lr){var mr=lr.descriptor.droppableId,Nr=bt[mr],an=fo(Nr),on=an.scroll.diff.value,Jr=Ee(nr,on),Gr=Ao({draggable:lr,offset:Jr,initialWindowScroll:zt.scroll.initial});return Gr})},si=function(ve){var Xe=ve.state,bt=ve.published;Uo();var zt=bt.modified.map(function(Oi){var Xa=Xe.dimensions.droppables[Oi.droppableId],Ka=we(Xa,Oi.scroll);return Ka}),nr=Object(p.a)({},Xe.dimensions.droppables,{},Ot(zt)),lr=rt(Ro({additions:bt.additions,updatedDroppables:nr,viewport:Xe.viewport})),mr=Object(p.a)({},Xe.dimensions.draggables,{},lr);bt.removals.forEach(function(Oi){delete mr[Oi]});var Nr={droppables:nr,draggables:mr},an=Qn(Xe.impact),on=an?Nr.droppables[an]:null,Jr=Nr.draggables[Xe.critical.draggable.id],Gr=Nr.droppables[Xe.critical.droppable.id],rn=_a({draggable:Jr,home:Gr,draggables:mr,viewport:Xe.viewport}),En=rn.impact,zn=rn.afterCritical,gi=on&&on.isCombineEnabled?Xe.impact:En,Ui=Yn({pageOffset:Xe.current.page.offset,draggable:Nr.draggables[Xe.critical.draggable.id],draggables:Nr.draggables,droppables:Nr.droppables,previousImpact:gi,viewport:Xe.viewport,afterCritical:zn});jo();var Di=Object(p.a)({phase:"DRAGGING"},Xe,{phase:"DRAGGING",impact:Ui,onLiftImpact:En,dimensions:Nr,afterCritical:zn,forceShouldAnimate:!1});if(Xe.phase==="COLLECTING")return Di;var Ca=Object(p.a)({phase:"DROP_PENDING"},Di,{phase:"DROP_PENDING",reason:Xe.reason,isWaiting:!1});return Ca},Ma=function(ve){return ve.movementMode==="SNAP"},Xo=function(ve,Xe,bt){var zt=Qo(ve.dimensions,Xe);return!Ma(ve)||bt?Hi({state:ve,dimensions:zt}):to({state:ve,dimensions:zt})};function Io(lt){return lt.isDragging&<.movementMode==="SNAP"?Object(p.a)({phase:"DRAGGING"},lt,{scrollJumpRequest:null}):lt}var vo={phase:"IDLE",completed:null,shouldFlush:!1},Co=function(ve,Xe){if(ve===void 0&&(ve=vo),Xe.type==="FLUSH")return Object(p.a)({},vo,{shouldFlush:!0});if(Xe.type==="INITIAL_PUBLISH"){ve.phase==="IDLE"||ye(!1);var bt=Xe.payload,zt=bt.critical,nr=bt.clientSelection,lr=bt.viewport,mr=bt.dimensions,Nr=bt.movementMode,an=mr.draggables[zt.draggable.id],on=mr.droppables[zt.droppable.id],Jr={selection:nr,borderBoxCenter:an.client.borderBox.center,offset:Le},Gr={client:Jr,page:{selection:Ee(Jr.selection,lr.scroll.initial),borderBoxCenter:Ee(Jr.selection,lr.scroll.initial),offset:Ee(Jr.selection,lr.scroll.diff.value)}},rn=Et(mr.droppables).every(function(qa){return!qa.isFixedOnPage}),En=_a({draggable:an,home:on,draggables:mr.draggables,viewport:lr}),zn=En.impact,gi=En.afterCritical,Ui={phase:"DRAGGING",isDragging:!0,critical:zt,movementMode:Nr,dimensions:mr,initial:Gr,current:Gr,isWindowScrollAllowed:rn,impact:zn,afterCritical:gi,onLiftImpact:zn,viewport:lr,scrollJumpRequest:null,forceShouldAnimate:null};return Ui}if(Xe.type==="COLLECTION_STARTING"){if(ve.phase==="COLLECTING"||ve.phase==="DROP_PENDING")return ve;ve.phase==="DRAGGING"||ye(!1);var Di=Object(p.a)({phase:"COLLECTING"},ve,{phase:"COLLECTING"});return Di}if(Xe.type==="PUBLISH_WHILE_DRAGGING")return ve.phase==="COLLECTING"||ve.phase==="DROP_PENDING"||ye(!1),si({state:ve,published:Xe.payload});if(Xe.type==="MOVE"){if(ve.phase==="DROP_PENDING")return ve;hi(ve)||ye(!1);var Ca=Xe.payload.client;return ge(Ca,ve.current.client.selection)?ve:Hi({state:ve,clientSelection:Ca,impact:Ma(ve)?ve.impact:null})}if(Xe.type==="UPDATE_DROPPABLE_SCROLL"){if(ve.phase==="DROP_PENDING")return Io(ve);if(ve.phase==="COLLECTING")return Io(ve);hi(ve)||ye(!1);var Oi=Xe.payload,Xa=Oi.id,Ka=Oi.newScroll,Oa=ve.dimensions.droppables[Xa];if(!Oa)return ve;var Wo=we(Oa,Ka);return Xo(ve,Wo,!1)}if(Xe.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(ve.phase==="DROP_PENDING")return ve;hi(ve)||ye(!1);var L=Xe.payload,R=L.id,q=L.isEnabled,te=ve.dimensions.droppables[R];te||ye(!1),te.isEnabled!==q||ye(!1);var se=Object(p.a)({},te,{isEnabled:q});return Xo(ve,se,!0)}if(Xe.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(ve.phase==="DROP_PENDING")return ve;hi(ve)||ye(!1);var Fe=Xe.payload,At=Fe.id,Mt=Fe.isCombineEnabled,Yt=ve.dimensions.droppables[At];Yt||ye(!1),Yt.isCombineEnabled!==Mt||ye(!1);var $t=Object(p.a)({},Yt,{isCombineEnabled:Mt});return Xo(ve,$t,!0)}if(Xe.type==="MOVE_BY_WINDOW_SCROLL"){if(ve.phase==="DROP_PENDING"||ve.phase==="DROP_ANIMATING")return ve;hi(ve)||ye(!1),ve.isWindowScrollAllowed||ye(!1);var Fr=Xe.payload.newScroll;if(ge(ve.viewport.scroll.current,Fr))return Io(ve);var $r=Ir(ve.viewport,Fr);return Ma(ve)?to({state:ve,viewport:$r}):Hi({state:ve,viewport:$r})}if(Xe.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!hi(ve))return ve;var mn=Xe.payload.maxScroll;if(ge(mn,ve.viewport.scroll.max))return ve;var vn=Object(p.a)({},ve.viewport,{scroll:Object(p.a)({},ve.viewport.scroll,{max:mn})});return Object(p.a)({phase:"DRAGGING"},ve,{viewport:vn})}if(Xe.type==="MOVE_UP"||Xe.type==="MOVE_DOWN"||Xe.type==="MOVE_LEFT"||Xe.type==="MOVE_RIGHT"){if(ve.phase==="COLLECTING"||ve.phase==="DROP_PENDING")return ve;ve.phase==="DRAGGING"||ye(!1);var Mn=zi({state:ve,type:Xe.type});return Mn?Hi({state:ve,impact:Mn.impact,clientSelection:Mn.clientSelection,scrollJumpRequest:Mn.scrollJumpRequest}):ve}if(Xe.type==="DROP_PENDING"){var ai=Xe.payload.reason;ve.phase==="COLLECTING"||ye(!1);var yi=Object(p.a)({phase:"DROP_PENDING"},ve,{phase:"DROP_PENDING",isWaiting:!0,reason:ai});return yi}if(Xe.type==="DROP_ANIMATE"){var Ai=Xe.payload,Ni=Ai.completed,Mi=Ai.dropDuration,Gi=Ai.newHomeClientOffset;ve.phase==="DRAGGING"||ve.phase==="DROP_PENDING"||ye(!1);var ya={phase:"DROP_ANIMATING",completed:Ni,dropDuration:Mi,newHomeClientOffset:Gi,dimensions:ve.dimensions};return ya}if(Xe.type==="DROP_COMPLETE"){var da=Xe.payload.completed;return{phase:"IDLE",completed:da,shouldFlush:!1}}return ve},tr=function(ve){return{type:"BEFORE_INITIAL_CAPTURE",payload:ve}},Wr=function(ve){return{type:"LIFT",payload:ve}},Yr=function(ve){return{type:"INITIAL_PUBLISH",payload:ve}},pn=function(ve){return{type:"PUBLISH_WHILE_DRAGGING",payload:ve}},Ze=function(){return{type:"COLLECTION_STARTING",payload:null}},Ht=function(ve){return{type:"UPDATE_DROPPABLE_SCROLL",payload:ve}},sr=function(ve){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:ve}},er=function(ve){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:ve}},Lr=function(ve){return{type:"MOVE",payload:ve}},Or=function(ve){return{type:"MOVE_BY_WINDOW_SCROLL",payload:ve}},qr=function(ve){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:ve}},Hr=function(){return{type:"MOVE_UP",payload:null}},un=function(){return{type:"MOVE_DOWN",payload:null}},fn=function(){return{type:"MOVE_RIGHT",payload:null}},yn=function(){return{type:"MOVE_LEFT",payload:null}},St=function(){return{type:"FLUSH",payload:null}},qt=function(ve){return{type:"DROP_ANIMATE",payload:ve}},ur=function(ve){return{type:"DROP_COMPLETE",payload:ve}},yr=function(ve){return{type:"DROP",payload:ve}},Ur=function(ve){return{type:"DROP_PENDING",payload:ve}},Zr=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function cn(lt){if(lt.length<=1)return;for(var ve=lt.map(function(mr){return mr.descriptor.index}),Xe={},bt=1;bt<ve.length;bt++){var zt=ve[bt],nr=ve[bt-1];zt!==nr+1&&(Xe[zt]=!0)}if(!Object.keys(Xe).length)return;var lr=ve.map(function(mr){var Nr=Boolean(Xe[mr]);return Nr?"[\u{1F525}"+mr+"]":""+mr}).join(", ")}function _n(lt,ve){if(!1)var Xe}var Fn=function(ve){return function(Xe){var bt=Xe.getState,zt=Xe.dispatch;return function(nr){return function(lr){if(lr.type!=="LIFT"){nr(lr);return}var mr=lr.payload,Nr=mr.id,an=mr.clientSelection,on=mr.movementMode,Jr=bt();Jr.phase==="DROP_ANIMATING"&&zt(ur({completed:Jr.completed})),bt().phase==="IDLE"||ye(!1),zt(St()),zt(tr({draggableId:Nr,movementMode:on}));var Gr={shouldPublishImmediately:on==="SNAP"},rn={draggableId:Nr,scrollOptions:Gr},En=ve.startPublishing(rn),zn=En.critical,gi=En.dimensions,Ui=En.viewport;_n(zn,gi),zt(Yr({critical:zn,dimensions:gi,clientSelection:an,movementMode:on,viewport:Ui}))}}}},qn=function(ve){return function(){return function(Xe){return function(bt){bt.type==="INITIAL_PUBLISH"&&ve.dragging(),bt.type==="DROP_ANIMATE"&&ve.dropping(bt.payload.completed.result.reason),(bt.type==="FLUSH"||bt.type==="DROP_COMPLETE")&&ve.resting(),Xe(bt)}}}},Wn={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},Rn={opacity:{drop:0,combining:.7},scale:{drop:.75}},Kn={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},Gn=Kn.outOfTheWay+"s "+Wn.outOfTheWay,In={fluid:"opacity "+Gn,snap:"transform "+Gn+", opacity "+Gn,drop:function(ve){var Xe=ve+"s "+Wn.drop;return"transform "+Xe+", opacity "+Xe},outOfTheWay:"transform "+Gn,placeholder:"height "+Gn+", width "+Gn+", margin "+Gn},kn=function(ve){return ge(ve,Le)?null:"translate("+ve.x+"px, "+ve.y+"px)"},ti={moveTo:kn,drop:function(ve,Xe){var bt=kn(ve);return bt?Xe?bt+" scale("+Rn.scale.drop+")":bt:null}},or=Kn.minDropTime,br=Kn.maxDropTime,Mr=br-or,Sr=1500,Wt=.6,fr=function(ve){var Xe=ve.current,bt=ve.destination,zt=ve.reason,nr=ut(Xe,bt);if(nr<=0)return or;if(nr>=Sr)return br;var lr=nr/Sr,mr=or+Mr*lr,Nr=zt==="CANCEL"?mr*Wt:mr;return Number(Nr.toFixed(2))},Jt=function(ve){var Xe=ve.impact,bt=ve.draggable,zt=ve.dimensions,nr=ve.viewport,lr=ve.afterCritical,mr=zt.draggables,Nr=zt.droppables,an=Qn(Xe),on=an?Nr[an]:null,Jr=Nr[bt.descriptor.droppableId],Gr=za({impact:Xe,draggable:bt,draggables:mr,afterCritical:lr,droppable:on||Jr,viewport:nr}),rn=ne(Gr,bt.client.borderBox.center);return rn},Tr=function(ve){var Xe=ve.draggables,bt=ve.reason,zt=ve.lastImpact,nr=ve.home,lr=ve.viewport,mr=ve.onLiftImpact;if(!zt.at||bt!=="DROP"){var Nr=va({draggables:Xe,impact:mr,destination:nr,viewport:lr,forceShouldAnimate:!0});return{impact:Nr,didDropInsideDroppable:!1}}if(zt.at.type==="REORDER")return{impact:zt,didDropInsideDroppable:!0};var an=Object(p.a)({},zt,{displaced:He});return{impact:an,didDropInsideDroppable:!0}},_r=function(ve){var Xe=ve.getState,bt=ve.dispatch;return function(zt){return function(nr){if(nr.type!=="DROP"){zt(nr);return}var lr=Xe(),mr=nr.payload.reason;if(lr.phase==="COLLECTING"){bt(Ur({reason:mr}));return}if(lr.phase==="IDLE")return;var Nr=lr.phase==="DROP_PENDING"&&lr.isWaiting;Nr&&ye(!1),lr.phase==="DRAGGING"||lr.phase==="DROP_PENDING"||ye(!1);var an=lr.critical,on=lr.dimensions,Jr=on.draggables[lr.critical.draggable.id],Gr=Tr({reason:mr,lastImpact:lr.impact,afterCritical:lr.afterCritical,onLiftImpact:lr.onLiftImpact,home:lr.dimensions.droppables[lr.critical.droppable.id],viewport:lr.viewport,draggables:lr.dimensions.draggables}),rn=Gr.impact,En=Gr.didDropInsideDroppable,zn=En?mt(rn):null,gi=En?ce(rn):null,Ui={index:an.draggable.index,droppableId:an.droppable.id},Di={draggableId:Jr.descriptor.id,type:Jr.descriptor.type,source:Ui,reason:mr,mode:lr.movementMode,destination:zn,combine:gi},Ca=Jt({impact:rn,draggable:Jr,dimensions:on,viewport:lr.viewport,afterCritical:lr.afterCritical}),Oi={critical:lr.critical,afterCritical:lr.afterCritical,result:Di,impact:rn},Xa=!ge(lr.current.client.offset,Ca)||Boolean(Di.combine);if(!Xa){bt(ur({completed:Oi}));return}var Ka=fr({current:lr.current.client.offset,destination:Ca,reason:mr}),Oa={newHomeClientOffset:Ca,dropDuration:Ka,completed:Oi};bt(qt(Oa))}}},Qr=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Kr(lt){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(Xe){if(Xe.target!==window&&Xe.target!==window.document)return;lt()}}}function en(lt){var ve=lt.onWindowScroll;function Xe(){ve(Qr())}var bt=k(Xe),zt=Kr(bt),nr=Se;function lr(){return nr!==Se}function mr(){lr()&&ye(!1),nr=pe(window,[zt])}function Nr(){lr()||ye(!1),bt.cancel(),nr(),nr=Se}return{start:mr,stop:Nr,isActive:lr}}var An=function(ve){return ve.type==="DROP_COMPLETE"||ve.type==="DROP_ANIMATE"||ve.type==="FLUSH"},xn=function(ve){var Xe=en({onWindowScroll:function(zt){ve.dispatch(Or({newScroll:zt}))}});return function(bt){return function(zt){!Xe.isActive()&&zt.type==="INITIAL_PUBLISH"&&Xe.start(),Xe.isActive()&&An(zt)&&Xe.stop(),bt(zt)}}},Cn=function(ve){var Xe=!1,bt=!1,zt=setTimeout(function(){bt=!0}),nr=function(mr){if(Xe)return;if(bt)return;Xe=!0,ve(mr),clearTimeout(zt)};return nr.wasCalled=function(){return Xe},nr},jn=function(){var ve=[],Xe=function(lr){var mr=at(ve,function(on){return on.timerId===lr});mr!==-1||ye(!1);var Nr=ve.splice(mr,1),an=Nr[0];an.callback()},bt=function(lr){var mr=setTimeout(function(){return Xe(mr)}),Nr={timerId:mr,callback:lr};ve.push(Nr)},zt=function(){if(!ve.length)return;var lr=[].concat(ve);ve.length=0,lr.forEach(function(mr){clearTimeout(mr.timerId),mr.callback()})};return{add:bt,flush:zt}},di=function(ve,Xe){return ve==null&&Xe==null?!0:ve==null||Xe==null?!1:ve.droppableId===Xe.droppableId&&ve.index===Xe.index},Ei=function(ve,Xe){return ve==null&&Xe==null?!0:ve==null||Xe==null?!1:ve.draggableId===Xe.draggableId&&ve.droppableId===Xe.droppableId},Ii=function(ve,Xe){if(ve===Xe)return!0;var bt=ve.draggable.id===Xe.draggable.id&&ve.draggable.droppableId===Xe.draggable.droppableId&&ve.draggable.type===Xe.draggable.type&&ve.draggable.index===Xe.draggable.index,zt=ve.droppable.id===Xe.droppable.id&&ve.droppable.type===Xe.droppable.type;return bt&&zt},vi=function(ve,Xe){Uo(),Xe(),jo()},wi=function(ve,Xe){return{draggableId:ve.draggable.id,type:ve.droppable.type,source:{droppableId:ve.droppable.id,index:ve.draggable.index},mode:Xe}},ri=function(ve,Xe,bt,zt){if(!ve){bt(zt(Xe));return}var nr=Cn(bt),lr={announce:nr};ve(Xe,lr),nr.wasCalled()||bt(zt(Xe))},Un=function(ve,Xe){var bt=jn(),zt=null,nr=function(rn,En){zt&&ye(!1),vi("onBeforeCapture",function(){var zn=ve().onBeforeCapture;if(zn){var gi={draggableId:rn,mode:En};zn(gi)}})},lr=function(rn,En){zt&&ye(!1),vi("onBeforeDragStart",function(){var zn=ve().onBeforeDragStart;zn&&zn(wi(rn,En))})},mr=function(rn,En){zt&&ye(!1);var zn=wi(rn,En);zt={mode:En,lastCritical:rn,lastLocation:zn.source,lastCombine:null},bt.add(function(){vi("onDragStart",function(){return ri(ve().onDragStart,zn,Xe,ae.onDragStart)})})},Nr=function(rn,En){var zn=mt(En),gi=ce(En);zt||ye(!1);var Ui=!Ii(rn,zt.lastCritical);Ui&&(zt.lastCritical=rn);var Di=!di(zt.lastLocation,zn);Di&&(zt.lastLocation=zn);var Ca=!Ei(zt.lastCombine,gi);if(Ca&&(zt.lastCombine=gi),!Ui&&!Di&&!Ca)return;var Oi=Object(p.a)({},wi(rn,zt.mode),{combine:gi,destination:zn});bt.add(function(){vi("onDragUpdate",function(){return ri(ve().onDragUpdate,Oi,Xe,ae.onDragUpdate)})})},an=function(){zt||ye(!1),bt.flush()},on=function(rn){zt||ye(!1),zt=null,vi("onDragEnd",function(){return ri(ve().onDragEnd,rn,Xe,ae.onDragEnd)})},Jr=function(){if(!zt)return;var rn=Object(p.a)({},wi(zt.lastCritical,zt.mode),{combine:null,destination:null,reason:"CANCEL"});on(rn)};return{beforeCapture:nr,beforeStart:lr,start:mr,update:Nr,flush:an,drop:on,abort:Jr}},ci=function(ve,Xe){var bt=Un(ve,Xe);return function(zt){return function(nr){return function(lr){if(lr.type==="BEFORE_INITIAL_CAPTURE"){bt.beforeCapture(lr.payload.draggableId,lr.payload.movementMode);return}if(lr.type==="INITIAL_PUBLISH"){var mr=lr.payload.critical;bt.beforeStart(mr,lr.payload.movementMode),nr(lr),bt.start(mr,lr.payload.movementMode);return}if(lr.type==="DROP_COMPLETE"){var Nr=lr.payload.completed.result;bt.flush(),nr(lr),bt.drop(Nr);return}if(nr(lr),lr.type==="FLUSH"){bt.abort();return}var an=zt.getState();an.phase==="DRAGGING"&&bt.update(an.critical,an.impact)}}}},mi=function(ve){return function(Xe){return function(bt){if(bt.type!=="DROP_ANIMATION_FINISHED"){Xe(bt);return}var zt=ve.getState();zt.phase==="DROP_ANIMATING"||ye(!1),ve.dispatch(ur({completed:zt.completed}))}}},Ki=function(ve){var Xe=null,bt=null;function zt(){bt&&(cancelAnimationFrame(bt),bt=null),Xe&&(Xe(),Xe=null)}return function(nr){return function(lr){if((lr.type==="FLUSH"||lr.type==="DROP_COMPLETE"||lr.type==="DROP_ANIMATION_FINISHED")&&zt(),nr(lr),lr.type!=="DROP_ANIMATE")return;var mr={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var an=ve.getState();an.phase==="DROP_ANIMATING"&&ve.dispatch(Zr())}};bt=requestAnimationFrame(function(){bt=null,Xe=pe(window,[mr])})}}},ii=function(ve){return function(){return function(Xe){return function(bt){(bt.type==="DROP_COMPLETE"||bt.type==="FLUSH"||bt.type==="DROP_ANIMATE")&&ve.stopPublishing(),Xe(bt)}}}},fi=function(ve){var Xe=!1;return function(){return function(bt){return function(zt){if(zt.type==="INITIAL_PUBLISH"){Xe=!0,ve.tryRecordFocus(zt.payload.critical.draggable.id),bt(zt),ve.tryRestoreFocusRecorded();return}if(bt(zt),!Xe)return;if(zt.type==="FLUSH"){Xe=!1,ve.tryRestoreFocusRecorded();return}if(zt.type==="DROP_COMPLETE"){Xe=!1;var nr=zt.payload.completed.result;nr.combine&&ve.tryShiftRecord(nr.draggableId,nr.combine.draggableId),ve.tryRestoreFocusRecorded()}}}}},pi=function(ve){return ve.type==="DROP_COMPLETE"||ve.type==="DROP_ANIMATE"||ve.type==="FLUSH"},ra=function(ve){return function(Xe){return function(bt){return function(zt){if(pi(zt)){ve.stop(),bt(zt);return}if(zt.type==="INITIAL_PUBLISH"){bt(zt);var nr=Xe.getState();nr.phase==="DRAGGING"||ye(!1),ve.start(nr);return}bt(zt),ve.scroll(Xe.getState())}}}},ki=function(ve){return function(Xe){return function(bt){if(Xe(bt),bt.type!=="PUBLISH_WHILE_DRAGGING")return;var zt=ve.getState();if(zt.phase!=="DROP_PENDING")return;if(zt.isWaiting)return;ve.dispatch(yr({reason:zt.reason}))}}},Zn=g.d,Si=function(ve){var Xe=ve.dimensionMarshal,bt=ve.focusMarshal,zt=ve.styleMarshal,nr=ve.getResponders,lr=ve.announce,mr=ve.autoScroller;return Object(g.e)(Co,Zn(Object(g.a)(qn(zt),ii(Xe),Fn(Xe),_r,mi,Ki,ki,ra(mr),xn,fi(bt),ci(nr,lr))))},Yi=function(){return{additions:{},removals:{},modified:{}}};function Pi(lt){var ve=lt.registry,Xe=lt.callbacks,bt=Yi(),zt=null,nr=function(){if(zt)return;Xe.collectionStarting(),zt=requestAnimationFrame(function(){zt=null,Uo();var on=bt,Jr=on.additions,Gr=on.removals,rn=on.modified,En=Object.keys(Jr).map(function(Ui){return ve.draggable.getById(Ui).getDimension(Le)}).sort(function(Ui,Di){return Ui.descriptor.index-Di.descriptor.index}),zn=Object.keys(rn).map(function(Ui){var Di=ve.droppable.getById(Ui),Ca=Di.callbacks.getScrollWhileDragging();return{droppableId:Ui,scroll:Ca}}),gi={additions:En,removals:Object.keys(Gr),modified:zn};bt=Yi(),jo(),Xe.publish(gi)})},lr=function(on){var Jr=on.descriptor.id;bt.additions[Jr]=on,bt.modified[on.descriptor.droppableId]=!0,bt.removals[Jr]&&delete bt.removals[Jr],nr()},mr=function(on){var Jr=on.descriptor;bt.removals[Jr.id]=!0,bt.modified[Jr.droppableId]=!0,bt.additions[Jr.id]&&delete bt.additions[Jr.id],nr()},Nr=function(){if(!zt)return;cancelAnimationFrame(zt),zt=null,bt=Yi()};return{add:lr,remove:mr,stop:Nr}}var Ci=function(ve){var Xe=ve.scrollHeight,bt=ve.scrollWidth,zt=ve.height,nr=ve.width,lr=ne({x:bt,y:Xe},{x:nr,y:zt}),mr={x:Math.max(0,lr.x),y:Math.max(0,lr.y)};return mr},bi=function(){var ve=document.documentElement;return ve||ye(!1),ve},wa=function(){var ve=bi(),Xe=Ci({scrollHeight:ve.scrollHeight,scrollWidth:ve.scrollWidth,width:ve.clientWidth,height:ve.clientHeight});return Xe},Zi=function(){var ve=Qr(),Xe=wa(),bt=ve.y,zt=ve.x,nr=bi(),lr=nr.clientWidth,mr=nr.clientHeight,Nr=zt+lr,an=bt+mr,on=i({top:bt,left:zt,right:Nr,bottom:an}),Jr={frame:on,scroll:{initial:ve,current:ve,max:Xe,diff:{value:Le,displacement:Le}}};return Jr},ha=function(ve){var Xe=ve.critical,bt=ve.scrollOptions,zt=ve.registry;Uo();var nr=Zi(),lr=nr.scroll.current,mr=Xe.droppable,Nr=zt.droppable.getAllByType(mr.type).map(function(Gr){return Gr.callbacks.getDimensionAndWatchScroll(lr,bt)}),an=zt.draggable.getAllByType(Xe.draggable.type).map(function(Gr){return Gr.getDimension(lr)}),on={draggables:rt(an),droppables:Ot(Nr)};jo();var Jr={dimensions:on,critical:Xe,viewport:nr};return Jr};function Ia(lt,ve,Xe){if(Xe.descriptor.id===ve.id)return!1;if(Xe.descriptor.type!==ve.type)return!1;var bt=lt.droppable.getById(Xe.descriptor.droppableId);return!(bt.descriptor.mode!=="virtual")}var xi=function(ve,Xe){var bt=null,zt=Pi({callbacks:{publish:Xe.publishWhileDragging,collectionStarting:Xe.collectionStarting},registry:ve}),nr=function(En,zn){if(ve.droppable.exists(En)||ye(!1),!bt)return;Xe.updateDroppableIsEnabled({id:En,isEnabled:zn})},lr=function(En,zn){if(!bt)return;ve.droppable.exists(En)||ye(!1),Xe.updateDroppableIsCombineEnabled({id:En,isCombineEnabled:zn})},mr=function(En,zn){if(!bt)return;ve.droppable.exists(En)||ye(!1),Xe.updateDroppableScroll({id:En,newScroll:zn})},Nr=function(En,zn){if(!bt)return;ve.droppable.getById(En).callbacks.scroll(zn)},an=function(){if(!bt)return;zt.stop();var En=bt.critical.droppable;ve.droppable.getAllByType(En.type).forEach(function(zn){return zn.callbacks.dragStopped()}),bt.unsubscribe(),bt=null},on=function(En){bt||ye(!1);var zn=bt.critical.draggable;En.type==="ADDITION"&&(Ia(ve,zn,En.value)&&zt.add(En.value)),En.type==="REMOVAL"&&(Ia(ve,zn,En.value)&&zt.remove(En.value))},Jr=function(En){bt&&ye(!1);var zn=ve.draggable.getById(En.draggableId),gi=ve.droppable.getById(zn.descriptor.droppableId),Ui={draggable:zn.descriptor,droppable:gi.descriptor},Di=ve.subscribe(on);return bt={critical:Ui,unsubscribe:Di},ha({critical:Ui,registry:ve,scrollOptions:En.scrollOptions})},Gr={updateDroppableIsEnabled:nr,updateDroppableIsCombineEnabled:lr,scrollDroppable:Nr,updateDroppableScroll:mr,startPublishing:Jr,stopPublishing:an};return Gr},Ba=function(ve,Xe){return ve.phase==="IDLE"?!0:ve.phase!=="DROP_ANIMATING"||ve.completed.result.draggableId===Xe?!1:ve.completed.result.reason==="DROP"},oa=function(ve){window.scrollBy(ve.x,ve.y)},qi=O(function(lt){return Et(lt).filter(function(ve){return ve.isEnabled?!!ve.frame:!1})}),ga=function(ve,Xe){var bt=Ae(qi(Xe),function(zt){return zt.frame||ye(!1),Bn(zt.frame.pageMarginBox)(ve)});return bt},na=function(ve){var Xe=ve.center,bt=ve.destination,zt=ve.droppables;if(bt){var nr=zt[bt];return nr.frame?nr:null}var lr=ga(Xe,zt);return lr},ca={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ve){return Math.pow(ve,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},Wa=function(ve,Xe){var bt=ve[Xe.size]*ca.startFromPercentage,zt=ve[Xe.size]*ca.maxScrollAtPercentage,nr={startScrollingFrom:bt,maxScrollValueAt:zt};return nr},Pa=function(ve){var Xe=ve.startOfRange,bt=ve.endOfRange,zt=ve.current,nr=bt-Xe;if(nr===0)return 0;var lr=zt-Xe,mr=lr/nr;return mr},ro=1,Fa=function(ve,Xe){if(ve>Xe.startScrollingFrom)return 0;if(ve<=Xe.maxScrollValueAt)return ca.maxPixelScroll;if(ve===Xe.startScrollingFrom)return ro;var bt=Pa({startOfRange:Xe.maxScrollValueAt,endOfRange:Xe.startScrollingFrom,current:ve}),zt=1-bt,nr=ca.maxPixelScroll*ca.ease(zt);return Math.ceil(nr)},Ua=ca.durationDampening.accelerateAt,Ya=ca.durationDampening.stopDampeningAt,Aa=function(ve,Xe){var bt=Xe,zt=Ya,nr=Date.now(),lr=nr-bt;if(lr>=Ya)return ve;if(lr<Ua)return ro;var mr=Pa({startOfRange:Ua,endOfRange:zt,current:lr}),Nr=ve*ca.ease(mr);return Math.ceil(Nr)},Ji=function(ve){var Xe=ve.distanceToEdge,bt=ve.thresholds,zt=ve.dragStartTime,nr=ve.shouldUseTimeDampening,lr=Fa(Xe,bt);return lr===0?0:nr?Math.max(Aa(lr,zt),ro):lr},La=function(ve){var Xe=ve.container,bt=ve.distanceToEdges,zt=ve.dragStartTime,nr=ve.axis,lr=ve.shouldUseTimeDampening,mr=Wa(Xe,nr),Nr=bt[nr.end]<bt[nr.start];return Nr?Ji({distanceToEdge:bt[nr.end],thresholds:mr,dragStartTime:zt,shouldUseTimeDampening:lr}):-1*Ji({distanceToEdge:bt[nr.start],thresholds:mr,dragStartTime:zt,shouldUseTimeDampening:lr})},ja=function(ve){var Xe=ve.container,bt=ve.subject,zt=ve.proposedScroll,nr=bt.height>Xe.height,lr=bt.width>Xe.width;return!lr&&!nr?zt:lr&&nr?null:{x:lr?0:zt.x,y:nr?0:zt.y}},ji=Pe(function(lt){return lt===0?0:lt}),Qi=function(ve){var Xe=ve.dragStartTime,bt=ve.container,zt=ve.subject,nr=ve.center,lr=ve.shouldUseTimeDampening,mr={top:nr.y-bt.top,right:bt.right-nr.x,bottom:bt.bottom-nr.y,left:nr.x-bt.left},Nr=La({container:bt,distanceToEdges:mr,dragStartTime:Xe,axis:It,shouldUseTimeDampening:lr}),an=La({container:bt,distanceToEdges:mr,dragStartTime:Xe,axis:ir,shouldUseTimeDampening:lr}),on=ji({x:an,y:Nr});if(ge(on,Le))return null;var Jr=ja({container:bt,subject:zt,proposedScroll:on});return Jr?ge(Jr,Le)?null:Jr:null},uo=Pe(function(lt){return lt===0?0:lt>0?1:-1}),yo=function(){var lt=function(Xe,bt){return Xe<0?Xe:Xe>bt?Xe-bt:0};return function(ve){var Xe=ve.current,bt=ve.max,zt=ve.change,nr=Ee(Xe,zt),lr={x:lt(nr.x,bt.x),y:lt(nr.y,bt.y)};return ge(lr,Le)?null:lr}}(),Lo=function(ve){var Xe=ve.max,bt=ve.current,zt=ve.change,nr={x:Math.max(bt.x,Xe.x),y:Math.max(bt.y,Xe.y)},lr=uo(zt),mr=yo({max:nr,current:bt,change:lr});return mr?lr.x!==0&&mr.x===0?!0:lr.y!==0&&mr.y===0:!0},Oo=function(ve,Xe){return Lo({current:ve.scroll.current,max:ve.scroll.max,change:Xe})},Va=function(ve,Xe){if(!Oo(ve,Xe))return null;var bt=ve.scroll.max,zt=ve.scroll.current;return yo({current:zt,max:bt,change:Xe})},$i=function(ve,Xe){var bt=ve.frame;return bt?Lo({current:bt.scroll.current,max:bt.scroll.max,change:Xe}):!1},co=function(ve,Xe){var bt=ve.frame;return bt&&$i(ve,Xe)?yo({current:bt.scroll.current,max:bt.scroll.max,change:Xe}):null},Zo=function(ve){var Xe=ve.viewport,bt=ve.subject,zt=ve.center,nr=ve.dragStartTime,lr=ve.shouldUseTimeDampening,mr=Qi({dragStartTime:nr,container:Xe.frame,subject:bt,center:zt,shouldUseTimeDampening:lr});return mr&&Oo(Xe,mr)?mr:null},Ha=function(ve){var Xe=ve.droppable,bt=ve.subject,zt=ve.center,nr=ve.dragStartTime,lr=ve.shouldUseTimeDampening,mr=Xe.frame;if(!mr)return null;var Nr=Qi({dragStartTime:nr,container:mr.pageMarginBox,subject:bt,center:zt,shouldUseTimeDampening:lr});return Nr&&$i(Xe,Nr)?Nr:null},bo=function(ve){var Xe=ve.state,bt=ve.dragStartTime,zt=ve.shouldUseTimeDampening,nr=ve.scrollWindow,lr=ve.scrollDroppable,mr=Xe.current.page.borderBoxCenter,Nr=Xe.dimensions.draggables[Xe.critical.draggable.id],an=Nr.page.marginBox;if(Xe.isWindowScrollAllowed){var on=Xe.viewport,Jr=Zo({dragStartTime:bt,viewport:on,subject:an,center:mr,shouldUseTimeDampening:zt});if(Jr){nr(Jr);return}}var Gr=na({center:mr,destination:Qn(Xe.impact),droppables:Xe.dimensions.droppables});if(!Gr)return;var rn=Ha({dragStartTime:bt,droppable:Gr,subject:an,center:mr,shouldUseTimeDampening:zt});rn&&lr(Gr.descriptor.id,rn)},ma=function(ve){var Xe=ve.scrollWindow,bt=ve.scrollDroppable,zt=k(Xe),nr=k(bt),lr=null,mr=function(Jr){lr||ye(!1);var Gr=lr,rn=Gr.shouldUseTimeDampening,En=Gr.dragStartTime;bo({state:Jr,scrollWindow:zt,scrollDroppable:nr,dragStartTime:En,shouldUseTimeDampening:rn})},Nr=function(Jr){Uo(),lr&&ye(!1);var Gr=Date.now(),rn=!1,En=function(){rn=!0};bo({state:Jr,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:En,scrollDroppable:En}),lr={dragStartTime:Gr,shouldUseTimeDampening:rn},jo(),rn&&mr(Jr)},an=function(){if(!lr)return;zt.cancel(),nr.cancel(),lr=null};return{start:Nr,stop:an,scroll:mr}},Bo=function(ve){var Xe=ve.move,bt=ve.scrollDroppable,zt=ve.scrollWindow,nr=function(on,Jr){var Gr=Ee(on.current.client.selection,Jr);Xe({client:Gr})},lr=function(on,Jr){if(!$i(on,Jr))return Jr;var Gr=co(on,Jr);if(!Gr)return bt(on.descriptor.id,Jr),null;var rn=ne(Jr,Gr);bt(on.descriptor.id,rn);var En=ne(Jr,rn);return En},mr=function(on,Jr,Gr){if(!on)return Gr;if(!Oo(Jr,Gr))return Gr;var rn=Va(Jr,Gr);if(!rn)return zt(Gr),null;var En=ne(Gr,rn);zt(En);var zn=ne(Gr,En);return zn},Nr=function(on){var Jr=on.scrollJumpRequest;if(!Jr)return;var Gr=Qn(on.impact);Gr||ye(!1);var rn=lr(on.dimensions.droppables[Gr],Jr);if(!rn)return;var En=on.viewport,zn=mr(on.isWindowScrollAllowed,En,rn);if(!zn)return;nr(on,zn)};return Nr},$s=function(ve){var Xe=ve.scrollDroppable,bt=ve.scrollWindow,zt=ve.move,nr=ma({scrollWindow:bt,scrollDroppable:Xe}),lr=Bo({move:zt,scrollWindow:bt,scrollDroppable:Xe}),mr=function(on){if(on.phase!=="DRAGGING")return;if(on.movementMode==="FLUID"){nr.scroll(on);return}if(!on.scrollJumpRequest)return;lr(on)},Nr={scroll:mr,start:nr.start,stop:nr.stop};return Nr},ss="data-rbd",Ho=function(){var lt=ss+"-drag-handle";return{base:lt,draggableId:lt+"-draggable-id",contextId:lt+"-context-id"}}(),vs=function(){var lt=ss+"-draggable";return{base:lt,contextId:lt+"-context-id",id:lt+"-id"}}(),cs=function(){var lt=ss+"-droppable";return{base:lt,contextId:lt+"-context-id",id:lt+"-id"}}(),Jo={contextId:ss+"-scroll-container-context-id"},Fo=function(ve){return function(Xe){return"["+Xe+'="'+ve+'"]'}},eo=function(ve,Xe){return ve.map(function(bt){var zt=bt.styles[Xe];return zt?bt.selector+" { "+zt+" }":""}).join(" ")},Mo="pointer-events: none;",po=function(ve){var Xe=Fo(ve),bt=function(){var Nr=`
|
|
|
cursor: -webkit-grab;
|
|
|
cursor: grab;
|
|
|
`;return{selector:Xe(Ho.contextId),styles:{always:`
|
|
|
-webkit-touch-callout: none;
|
|
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
|
touch-action: manipulation;
|
|
|
`,resting:Nr,dragging:Mo,dropAnimating:Nr}}}(),zt=function(){var Nr=`
|
|
|
transition: `+In.outOfTheWay+`;
|
|
|
`;return{selector:Xe(vs.contextId),styles:{dragging:Nr,dropAnimating:Nr,userCancel:Nr}}}(),nr={selector:Xe(cs.contextId),styles:{always:"overflow-anchor: none;"}},lr={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;
|
|
|
`}},mr=[zt,bt,nr,lr];return{always:eo(mr,"always"),resting:eo(mr,"resting"),dragging:eo(mr,"dragging"),dropAnimating:eo(mr,"dropAnimating"),userCancel:eo(mr,"userCancel")}},wo=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?y.useLayoutEffect:y.useEffect,Dr=function(){var ve=document.querySelector("head");return ve||ye(!1),ve},Hn=function(ve){var Xe=document.createElement("style");return ve&&Xe.setAttribute("nonce",ve),Xe.type="text/css",Xe};function Ls(lt,ve){var Xe=t(function(){return po(lt)},[lt]),bt=Object(y.useRef)(null),zt=Object(y.useRef)(null),nr=a(O(function(Jr){var Gr=zt.current;Gr||ye(!1),Gr.textContent=Jr}),[]),lr=a(function(Jr){var Gr=bt.current;Gr||ye(!1),Gr.textContent=Jr},[]);wo(function(){!bt.current&&!zt.current||ye(!1);var Jr=Hn(ve),Gr=Hn(ve);return bt.current=Jr,zt.current=Gr,Jr.setAttribute(ss+"-always",lt),Gr.setAttribute(ss+"-dynamic",lt),Dr().appendChild(Jr),Dr().appendChild(Gr),lr(Xe.always),nr(Xe.resting),function(){var rn=function(zn){var gi=zn.current;gi||ye(!1),Dr().removeChild(gi),zn.current=null};rn(bt),rn(zt)}},[ve,lr,nr,Xe.always,Xe.resting,lt]);var mr=a(function(){return nr(Xe.dragging)},[nr,Xe.dragging]),Nr=a(function(Jr){if(Jr==="DROP"){nr(Xe.dropAnimating);return}nr(Xe.userCancel)},[nr,Xe.dropAnimating,Xe.userCancel]),an=a(function(){if(!zt.current)return;nr(Xe.resting)},[nr,Xe.resting]),on=t(function(){return{dragging:mr,dropping:Nr,resting:an}},[mr,Nr,an]);return on}var Ss=function(ve){return ve&&ve.ownerDocument?ve.ownerDocument.defaultView:window};function ys(lt){return lt instanceof Ss(lt).HTMLElement}function Na(lt,ve){var Xe="["+Ho.contextId+'="'+lt+'"]',bt=Xt(document.querySelectorAll(Xe));if(!bt.length)return null;var zt=Ae(bt,function(nr){return nr.getAttribute(Ho.draggableId)===ve});return zt&&ys(zt)?zt:null}function Ga(lt){var ve=Object(y.useRef)({}),Xe=Object(y.useRef)(null),bt=Object(y.useRef)(null),zt=Object(y.useRef)(!1),nr=a(function(Gr,rn){var En={id:Gr,focus:rn};return ve.current[Gr]=En,function(){var gi=ve.current,Ui=gi[Gr];Ui!==En&&delete gi[Gr]}},[]),lr=a(function(Gr){var rn=Na(lt,Gr);rn&&rn!==document.activeElement&&rn.focus()},[lt]),mr=a(function(Gr,rn){Xe.current===Gr&&(Xe.current=rn)},[]),Nr=a(function(){if(bt.current)return;if(!zt.current)return;bt.current=requestAnimationFrame(function(){bt.current=null;var Gr=Xe.current;Gr&&lr(Gr)})},[lr]),an=a(function(Gr){Xe.current=null;var rn=document.activeElement;if(!rn)return;if(rn.getAttribute(Ho.draggableId)!==Gr)return;Xe.current=Gr},[]);wo(function(){return zt.current=!0,function(){zt.current=!1;var Gr=bt.current;Gr&&cancelAnimationFrame(Gr)}},[]);var on=t(function(){return{register:nr,tryRecordFocus:an,tryRestoreFocusRecorded:Nr,tryShiftRecord:mr}},[nr,an,Nr,mr]);return on}function To(){var lt={draggables:{},droppables:{}},ve=[];function Xe(Jr){return ve.push(Jr),function(){var rn=ve.indexOf(Jr);if(rn===-1)return;ve.splice(rn,1)}}function bt(Jr){ve.length&&ve.forEach(function(Gr){return Gr(Jr)})}function zt(Jr){return lt.draggables[Jr]||null}function nr(Jr){var Gr=zt(Jr);return Gr||ye(!1),Gr}var lr={register:function(Gr){lt.draggables[Gr.descriptor.id]=Gr,bt({type:"ADDITION",value:Gr})},update:function(Gr,rn){var En=lt.draggables[rn.descriptor.id];if(!En)return;if(En.uniqueId!==Gr.uniqueId)return;delete lt.draggables[rn.descriptor.id],lt.draggables[Gr.descriptor.id]=Gr},unregister:function(Gr){var rn=Gr.descriptor.id,En=zt(rn);if(!En)return;if(Gr.uniqueId!==En.uniqueId)return;delete lt.draggables[rn],bt({type:"REMOVAL",value:Gr})},getById:nr,findById:zt,exists:function(Gr){return Boolean(zt(Gr))},getAllByType:function(Gr){return vt(lt.draggables).filter(function(rn){return rn.descriptor.type===Gr})}};function mr(Jr){return lt.droppables[Jr]||null}function Nr(Jr){var Gr=mr(Jr);return Gr||ye(!1),Gr}var an={register:function(Gr){lt.droppables[Gr.descriptor.id]=Gr},unregister:function(Gr){var rn=mr(Gr.descriptor.id);if(!rn)return;if(Gr.uniqueId!==rn.uniqueId)return;delete lt.droppables[Gr.descriptor.id]},getById:Nr,findById:mr,exists:function(Gr){return Boolean(mr(Gr))},getAllByType:function(Gr){return vt(lt.droppables).filter(function(rn){return rn.descriptor.type===Gr})}};function on(){lt.draggables={},lt.droppables={},ve.length=0}return{draggable:lr,droppable:an,subscribe:Xe,clean:on}}function xo(){var lt=t(To,[]);return Object(y.useEffect)(function(){return function(){requestAnimationFrame(lt.clean)}},[lt]),lt}var $o=m.a.createContext(null),es=function(){var ve=document.body;return ve||ye(!1),ve},ts={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Gs=function(ve){return"rbd-announcement-"+ve};function Os(lt){var ve=t(function(){return Gs(lt)},[lt]),Xe=Object(y.useRef)(null);Object(y.useEffect)(function(){var nr=document.createElement("div");return Xe.current=nr,nr.id=ve,nr.setAttribute("aria-live","assertive"),nr.setAttribute("aria-atomic","true"),Object(p.a)(nr.style,ts),es().appendChild(nr),function(){setTimeout(function(){var Nr=es();Nr.contains(nr)&&Nr.removeChild(nr),nr===Xe.current&&(Xe.current=null)})}},[ve]);var bt=a(function(zt){var nr=Xe.current;if(nr){nr.textContent=zt;return}},[]);return bt}var Ws=0,Ns={separator:"::"};function Go(){Ws=0}function xs(lt,ve){return ve===void 0&&(ve=Ns),t(function(){return""+lt+ve.separator+Ws++},[ve.separator,lt])}function ao(lt){var ve=lt.contextId,Xe=lt.uniqueId;return"rbd-hidden-text-"+ve+"-"+Xe}function el(lt){var ve=lt.contextId,Xe=lt.text,bt=xs("hidden-text",{separator:"-"}),zt=t(function(){return ao({contextId:ve,uniqueId:bt})},[bt,ve]);return Object(y.useEffect)(function(){var lr=document.createElement("div");return lr.id=zt,lr.textContent=Xe,lr.style.display="none",es().appendChild(lr),function(){var Nr=es();Nr.contains(lr)&&Nr.removeChild(lr)}},[zt,Xe]),zt}var Ds=m.a.createContext(null),ds={react:"^16.8.5","react-dom":"^16.8.5"},Vt=/(\d+)\.(\d+)\.(\d+)/,de=function(ve){var Xe=Vt.exec(ve);Xe!=null||ye(!1);var bt=Number(Xe[1]),zt=Number(Xe[2]),nr=Number(Xe[3]);return{major:bt,minor:zt,patch:nr,raw:ve}},Te=function(ve,Xe){return Xe.major>ve.major?!0:Xe.major<ve.major?!1:Xe.minor>ve.minor?!0:Xe.minor<ve.minor?!1:Xe.patch>=ve.patch},Oe=function(ve,Xe){var bt=de(ve),zt=de(Xe);if(Te(bt,zt))return},ze=`
|
|
|
We expect a html5 doctype: <!doctype html>
|
|
|
This is to ensure consistent browser layout and measurement
|
|
|
|
|
|
More information: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/doctype.md
|
|
|
`,yt=function(ve){var Xe=ve.doctype;if(!Xe)return;Xe.name.toLowerCase()!=="html",Xe.publicId!==""};function Kt(lt){}function gr(lt,ve){Kt(function(){Object(y.useEffect)(function(){try{lt()}catch(Xe){ee(`
|
|
|
A setup problem was encountered.
|
|
|
|
|
|
> `+Xe.message+`
|
|
|
`)}},ve)})}function xr(){gr(function(){Oe(ds.react,m.a.version),yt(document)},[])}function Pr(lt){var ve=Object(y.useRef)(lt);return Object(y.useEffect)(function(){ve.current=lt}),ve}function dn(){var lt=null;function ve(){return Boolean(lt)}function Xe(lr){return lr===lt}function bt(lr){lt&&ye(!1);var mr={abandon:lr};return lt=mr,mr}function zt(){lt||ye(!1),lt=null}function nr(){lt&&(lt.abandon(),zt())}return{isClaimed:ve,isActive:Xe,claim:bt,release:zt,tryAbandon:nr}}var bn=9,Nn=13,Xn=27,li=32,Li=33,ea=34,Sa=35,xa=36,Da=37,oo=38,Qa=39,So=40,Ea,no=(Ea={},Ea[Nn]=!0,Ea[bn]=!0,Ea),Yo=function(ve){no[ve.keyCode]&&ve.preventDefault()},Ko=function(){var lt="visibilitychange";if(typeof document=="undefined")return lt;var ve=[lt,"ms"+lt,"webkit"+lt,"moz"+lt,"o"+lt],Xe=Ae(ve,function(bt){return"on"+bt in document});return Xe||lt}(),so=0,ls=5;function hs(lt,ve){return Math.abs(ve.x-lt.x)>=ls||Math.abs(ve.y-lt.y)>=ls}var fs={type:"IDLE"};function mo(lt){var ve=lt.cancel,Xe=lt.completed,bt=lt.getPhase,zt=lt.setPhase;return[{eventName:"mousemove",fn:function(lr){var mr=lr.button,Nr=lr.clientX,an=lr.clientY;if(mr!==so)return;var on={x:Nr,y:an},Jr=bt();if(Jr.type==="DRAGGING"){lr.preventDefault(),Jr.actions.move(on);return}Jr.type==="PENDING"||ye(!1);var Gr=Jr.point;if(!hs(Gr,on))return;lr.preventDefault();var rn=Jr.actions.fluidLift(on);zt({type:"DRAGGING",actions:rn})}},{eventName:"mouseup",fn:function(lr){var mr=bt();if(mr.type!=="DRAGGING"){ve();return}lr.preventDefault(),mr.actions.drop({shouldBlockNextClick:!0}),Xe()}},{eventName:"mousedown",fn:function(lr){bt().type==="DRAGGING"&&lr.preventDefault(),ve()}},{eventName:"keydown",fn:function(lr){var mr=bt();if(mr.type==="PENDING"){ve();return}if(lr.keyCode===Xn){lr.preventDefault(),ve();return}Yo(lr)}},{eventName:"resize",fn:ve},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){bt().type==="PENDING"&&ve()}},{eventName:"webkitmouseforcedown",fn:function(lr){var mr=bt();if(mr.type!=="IDLE"||ye(!1),mr.actions.shouldRespectForcePress()){ve();return}lr.preventDefault()}},{eventName:Ko,fn:ve}]}function ks(lt){var ve=Object(y.useRef)(fs),Xe=Object(y.useRef)(Se),bt=t(function(){return{eventName:"mousedown",fn:function(Jr){if(Jr.defaultPrevented)return;if(Jr.button!==so)return;if(Jr.ctrlKey||Jr.metaKey||Jr.shiftKey||Jr.altKey)return;var Gr=lt.findClosestDraggableId(Jr);if(!Gr)return;var rn=lt.tryGetLock(Gr,lr,{sourceEvent:Jr});if(!rn)return;Jr.preventDefault();var En={x:Jr.clientX,y:Jr.clientY};Xe.current(),an(rn,En)}}},[lt]),zt=t(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(Jr){if(Jr.defaultPrevented)return;var Gr=lt.findClosestDraggableId(Jr);if(!Gr)return;var rn=lt.findOptionsForDraggable(Gr);if(!rn)return;if(rn.shouldRespectForcePress)return;if(!lt.canGetLock(Gr))return;Jr.preventDefault()}}},[lt]),nr=a(function(){var Jr={passive:!1,capture:!0};Xe.current=pe(window,[zt,bt],Jr)},[zt,bt]),lr=a(function(){var on=ve.current;if(on.type==="IDLE")return;ve.current=fs,Xe.current(),nr()},[nr]),mr=a(function(){var on=ve.current;lr(),on.type==="DRAGGING"&&on.actions.cancel({shouldBlockNextClick:!0}),on.type==="PENDING"&&on.actions.abort()},[lr]),Nr=a(function(){var Jr={capture:!0,passive:!1},Gr=mo({cancel:mr,completed:lr,getPhase:function(){return ve.current},setPhase:function(En){ve.current=En}});Xe.current=pe(window,Gr,Jr)},[mr,lr]),an=a(function(Jr,Gr){ve.current.type==="IDLE"||ye(!1),ve.current={type:"PENDING",point:Gr,actions:Jr},Nr()},[Nr]);wo(function(){return nr(),function(){Xe.current()}},[nr])}var rs;function pl(){}var ml=(rs={},rs[ea]=!0,rs[Li]=!0,rs[xa]=!0,rs[Sa]=!0,rs);function bs(lt,ve){function Xe(){ve(),lt.cancel()}function bt(){ve(),lt.drop()}return[{eventName:"keydown",fn:function(nr){if(nr.keyCode===Xn){nr.preventDefault(),Xe();return}if(nr.keyCode===li){nr.preventDefault(),bt();return}if(nr.keyCode===So){nr.preventDefault(),lt.moveDown();return}if(nr.keyCode===oo){nr.preventDefault(),lt.moveUp();return}if(nr.keyCode===Qa){nr.preventDefault(),lt.moveRight();return}if(nr.keyCode===Da){nr.preventDefault(),lt.moveLeft();return}if(ml[nr.keyCode]){nr.preventDefault();return}Yo(nr)}},{eventName:"mousedown",fn:Xe},{eventName:"mouseup",fn:Xe},{eventName:"click",fn:Xe},{eventName:"touchstart",fn:Xe},{eventName:"resize",fn:Xe},{eventName:"wheel",fn:Xe,options:{passive:!0}},{eventName:Ko,fn:Xe}]}function No(lt){var ve=Object(y.useRef)(pl),Xe=t(function(){return{eventName:"keydown",fn:function(nr){if(nr.defaultPrevented)return;if(nr.keyCode!==li)return;var lr=lt.findClosestDraggableId(nr);if(!lr)return;var mr=lt.tryGetLock(lr,on,{sourceEvent:nr});if(!mr)return;nr.preventDefault();var Nr=!0,an=mr.snapLift();ve.current();function on(){Nr||ye(!1),Nr=!1,ve.current(),bt()}ve.current=pe(window,bs(an,on),{capture:!0,passive:!1})}}},[lt]),bt=a(function(){var nr={passive:!1,capture:!0};ve.current=pe(window,[Xe],nr)},[Xe]);wo(function(){return bt(),function(){ve.current()}},[bt])}var Ri={type:"IDLE"},il=120,al=.15;function ol(lt){var ve=lt.cancel,Xe=lt.getPhase;return[{eventName:"orientationchange",fn:ve},{eventName:"resize",fn:ve},{eventName:"contextmenu",fn:function(zt){zt.preventDefault()}},{eventName:"keydown",fn:function(zt){if(Xe().type!=="DRAGGING"){ve();return}zt.keyCode===Xn&&zt.preventDefault(),ve()}},{eventName:Ko,fn:ve}]}function ns(lt){var ve=lt.cancel,Xe=lt.completed,bt=lt.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(nr){var lr=bt();if(lr.type!=="DRAGGING"){ve();return}lr.hasMoved=!0;var mr=nr.touches[0],Nr=mr.clientX,an=mr.clientY,on={x:Nr,y:an};nr.preventDefault(),lr.actions.move(on)}},{eventName:"touchend",fn:function(nr){var lr=bt();if(lr.type!=="DRAGGING"){ve();return}nr.preventDefault(),lr.actions.drop({shouldBlockNextClick:!0}),Xe()}},{eventName:"touchcancel",fn:function(nr){if(bt().type!=="DRAGGING"){ve();return}nr.preventDefault(),ve()}},{eventName:"touchforcechange",fn:function(nr){var lr=bt();lr.type!=="IDLE"||ye(!1);var mr=nr.touches[0];if(!mr)return;var Nr=mr.force>=al;if(!Nr)return;var an=lr.actions.shouldRespectForcePress();if(lr.type==="PENDING"){an&&ve();return}if(an){if(lr.hasMoved){nr.preventDefault();return}ve();return}nr.preventDefault()}},{eventName:Ko,fn:ve}]}function sl(lt){var ve=Object(y.useRef)(Ri),Xe=Object(y.useRef)(Se),bt=a(function(){return ve.current},[]),zt=a(function(rn){ve.current=rn},[]),nr=t(function(){return{eventName:"touchstart",fn:function(rn){if(rn.defaultPrevented)return;var En=lt.findClosestDraggableId(rn);if(!En)return;var zn=lt.tryGetLock(En,mr,{sourceEvent:rn});if(!zn)return;var gi=rn.touches[0],Ui=gi.clientX,Di=gi.clientY,Ca={x:Ui,y:Di};Xe.current(),Jr(zn,Ca)}}},[lt]),lr=a(function(){var rn={capture:!0,passive:!1};Xe.current=pe(window,[nr],rn)},[nr]),mr=a(function(){var Gr=ve.current;if(Gr.type==="IDLE")return;Gr.type==="PENDING"&&clearTimeout(Gr.longPressTimerId),zt(Ri),Xe.current(),lr()},[lr,zt]),Nr=a(function(){var Gr=ve.current;mr(),Gr.type==="DRAGGING"&&Gr.actions.cancel({shouldBlockNextClick:!0}),Gr.type==="PENDING"&&Gr.actions.abort()},[mr]),an=a(function(){var rn={capture:!0,passive:!1},En={cancel:Nr,completed:mr,getPhase:bt},zn=pe(window,ns(En),rn),gi=pe(window,ol(En),rn);Xe.current=function(){zn(),gi()}},[Nr,bt,mr]),on=a(function(){var rn=bt();rn.type==="PENDING"||ye(!1);var En=rn.actions.fluidLift(rn.point);zt({type:"DRAGGING",actions:En,hasMoved:!1})},[bt,zt]),Jr=a(function(rn,En){bt().type==="IDLE"||ye(!1);var zn=setTimeout(on,il);zt({type:"PENDING",point:En,actions:rn,longPressTimerId:zn}),an()},[an,bt,zt,on]);wo(function(){return lr(),function(){Xe.current();var En=bt();En.type==="PENDING"&&(clearTimeout(En.longPressTimerId),zt(Ri))}},[bt,lr,zt]),wo(function(){var rn=pe(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return rn},[])}function Qs(lt){Kt(function(){var ve=Pr(lt);gr(function(){ve.current.length===lt.length||ye(!1)})})}var Ps={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Ys(lt,ve){if(ve==null)return!1;var Xe=Boolean(Ps[ve.tagName.toLowerCase()]);if(Xe)return!0;var bt=ve.getAttribute("contenteditable");return bt==="true"||bt===""?!0:ve===lt?!1:Ys(lt,ve.parentElement)}function Zs(lt,ve){var Xe=ve.target;return ys(Xe)?Ys(lt,Xe):!1}var Ra=function(ve){return i(ve.getBoundingClientRect()).center};function Wi(lt){return lt instanceof Ss(lt).Element}var sa=function(){var lt="matches";if(typeof document=="undefined")return lt;var ve=[lt,"msMatchesSelector","webkitMatchesSelector"],Xe=Ae(ve,function(bt){return bt in Element.prototype});return Xe||lt}();function ka(lt,ve){return lt==null?null:lt[sa](ve)?lt:ka(lt.parentElement,ve)}function zo(lt,ve){return lt.closest?lt.closest(ve):ka(lt,ve)}function Rs(lt){return"["+Ho.contextId+'="'+lt+'"]'}function Us(lt,ve){var Xe=ve.target;if(!Wi(Xe))return null;var bt=Rs(lt),zt=zo(Xe,bt);return zt&&ys(zt)?zt:null}function Ms(lt,ve){var Xe=Us(lt,ve);return Xe?Xe.getAttribute(Ho.draggableId):null}function Es(lt,ve){var Xe="["+vs.contextId+'="'+lt+'"]',bt=Xt(document.querySelectorAll(Xe)),zt=Ae(bt,function(nr){return nr.getAttribute(vs.id)===ve});return zt&&ys(zt)?zt:null}function Cs(lt){lt.preventDefault()}function Bs(lt){var ve=lt.expected,Xe=lt.phase,bt=lt.isLockActive,zt=lt.shouldWarn;return bt()?!(ve!==Xe):!1}function is(lt){var ve=lt.lockAPI,Xe=lt.store,bt=lt.registry,zt=lt.draggableId;if(ve.isClaimed())return!1;var nr=bt.draggable.findById(zt);return nr&&nr.options.isEnabled?!!Ba(Xe.getState(),zt):!1}function Dl(lt){var ve=lt.lockAPI,Xe=lt.contextId,bt=lt.store,zt=lt.registry,nr=lt.draggableId,lr=lt.forceSensorStop,mr=lt.sourceEvent,Nr=is({lockAPI:ve,store:bt,registry:zt,draggableId:nr});if(!Nr)return null;var an=zt.draggable.getById(nr),on=Es(Xe,an.descriptor.id);if(!on)return null;if(mr&&!an.options.canDragInteractiveElements&&Zs(on,mr))return null;var Jr=ve.claim(lr||Se),Gr="PRE_DRAG";function rn(){return an.options.shouldRespectForcePress}function En(){return ve.isActive(Jr)}function zn(Ka,Oa){Bs({expected:Ka,phase:Gr,isLockActive:En,shouldWarn:!0})&&bt.dispatch(Oa())}var gi=zn.bind(null,"DRAGGING");function Ui(Ka){function Oa(){ve.release(),Gr="COMPLETED"}Gr!=="PRE_DRAG"&&(Oa(),Gr==="PRE_DRAG"||ye(!1)),bt.dispatch(Wr(Ka.liftActionArgs)),Gr="DRAGGING";function Wo(L,R){if(R===void 0&&(R={shouldBlockNextClick:!1}),Ka.cleanup(),R.shouldBlockNextClick){var q=pe(window,[{eventName:"click",fn:Cs,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(q)}Oa(),bt.dispatch(yr({reason:L}))}return Object(p.a)({isActive:function(){return Bs({expected:"DRAGGING",phase:Gr,isLockActive:En,shouldWarn:!1})},shouldRespectForcePress:rn,drop:function(R){return Wo("DROP",R)},cancel:function(R){return Wo("CANCEL",R)}},Ka.actions)}function Di(Ka){var Oa=k(function(L){gi(function(){return Lr({client:L})})}),Wo=Ui({liftActionArgs:{id:nr,clientSelection:Ka,movementMode:"FLUID"},cleanup:function(){return Oa.cancel()},actions:{move:Oa}});return Object(p.a)({},Wo,{move:Oa})}function Ca(){var Ka={moveUp:function(){return gi(Hr)},moveRight:function(){return gi(fn)},moveDown:function(){return gi(un)},moveLeft:function(){return gi(yn)}};return Ui({liftActionArgs:{id:nr,clientSelection:Ra(on),movementMode:"SNAP"},cleanup:Se,actions:Ka})}function Oi(){var Ka=Bs({expected:"PRE_DRAG",phase:Gr,isLockActive:En,shouldWarn:!0});Ka&&ve.release()}var Xa={isActive:function(){return Bs({expected:"PRE_DRAG",phase:Gr,isLockActive:En,shouldWarn:!1})},shouldRespectForcePress:rn,fluidLift:Di,snapLift:Ca,abort:Oi};return Xa}var Su=[ks,No,sl];function Uu(lt){var ve=lt.contextId,Xe=lt.store,bt=lt.registry,zt=lt.customSensors,nr=lt.enableDefaultSensors,lr=[].concat(nr?Su:[],zt||[]),mr=Object(y.useState)(function(){return dn()})[0],Nr=a(function(Di,Ca){Di.isDragging&&!Ca.isDragging&&mr.tryAbandon()},[mr]);wo(function(){var Di=Xe.getState(),Ca=Xe.subscribe(function(){var Oi=Xe.getState();Nr(Di,Oi),Di=Oi});return Ca},[mr,Xe,Nr]),wo(function(){return mr.tryAbandon},[mr.tryAbandon]);var an=a(function(Ui){return is({lockAPI:mr,registry:bt,store:Xe,draggableId:Ui})},[mr,bt,Xe]),on=a(function(Ui,Di,Ca){return Dl({lockAPI:mr,registry:bt,contextId:ve,store:Xe,draggableId:Ui,forceSensorStop:Di,sourceEvent:Ca&&Ca.sourceEvent?Ca.sourceEvent:null})},[ve,mr,bt,Xe]),Jr=a(function(Ui){return Ms(ve,Ui)},[ve]),Gr=a(function(Ui){var Di=bt.draggable.findById(Ui);return Di?Di.options:null},[bt.draggable]),rn=a(function(){if(!mr.isClaimed())return;mr.tryAbandon(),Xe.getState().phase!=="IDLE"&&Xe.dispatch(St())},[mr,Xe]),En=a(mr.isClaimed,[mr]),zn=t(function(){return{canGetLock:an,tryGetLock:on,findClosestDraggableId:Jr,findOptionsForDraggable:Gr,tryReleaseLock:rn,isLockClaimed:En}},[an,on,Jr,Gr,rn,En]);Qs(lr);for(var gi=0;gi<lr.length;gi++)lr[gi](zn)}var xu=function(ve){return{onBeforeCapture:ve.onBeforeCapture,onBeforeDragStart:ve.onBeforeDragStart,onDragStart:ve.onDragStart,onDragEnd:ve.onDragEnd,onDragUpdate:ve.onDragUpdate}};function Vs(lt){return lt.current||ye(!1),lt.current}function gl(lt){var ve=lt.contextId,Xe=lt.setCallbacks,bt=lt.sensors,zt=lt.nonce,nr=lt.dragHandleUsageInstructions,lr=Object(y.useRef)(null);xr();var mr=Pr(lt),Nr=a(function(){return xu(mr.current)},[mr]),an=Os(ve),on=el({contextId:ve,text:nr}),Jr=Ls(ve,zt),Gr=a(function(L){Vs(lr).dispatch(L)},[]),rn=t(function(){return Object(g.b)({publishWhileDragging:pn,updateDroppableScroll:Ht,updateDroppableIsEnabled:sr,updateDroppableIsCombineEnabled:er,collectionStarting:Ze},Gr)},[Gr]),En=xo(),zn=t(function(){return xi(En,rn)},[En,rn]),gi=t(function(){return $s(Object(p.a)({scrollWindow:oa,scrollDroppable:zn.scrollDroppable},Object(g.b)({move:Lr},Gr)))},[zn.scrollDroppable,Gr]),Ui=Ga(ve),Di=t(function(){return Si({announce:an,autoScroller:gi,dimensionMarshal:zn,focusMarshal:Ui,getResponders:Nr,styleMarshal:Jr})},[an,gi,zn,Ui,Nr,Jr]);lr.current=Di;var Ca=a(function(){var L=Vs(lr),R=L.getState();R.phase!=="IDLE"&&L.dispatch(St())},[]),Oi=a(function(){var L=Vs(lr).getState();return L.isDragging||L.phase==="DROP_ANIMATING"},[]),Xa=t(function(){return{isDragging:Oi,tryAbort:Ca}},[Oi,Ca]);Xe(Xa);var Ka=a(function(L){return Ba(Vs(lr).getState(),L)},[]),Oa=a(function(){return hi(Vs(lr).getState())},[]),Wo=t(function(){return{marshal:zn,focus:Ui,contextId:ve,canLift:Ka,isMovementAllowed:Oa,dragHandleUsageInstructionsId:on,registry:En}},[ve,zn,on,Ui,Ka,Oa,En]);return Uu({contextId:ve,store:Di,registry:En,customSensors:bt,enableDefaultSensors:lt.enableDefaultSensors!==!1}),Object(y.useEffect)(function(){return Ca},[Ca]),m.a.createElement(Ds.Provider,{value:Wo},m.a.createElement(h.a,{context:$o,store:Di},lt.children))}var vl=0;function ju(){vl=0}function Eu(){return t(function(){return""+vl++},[])}function Hu(){ju(),Go()}function Ku(lt){var ve=Eu(),Xe=lt.dragHandleUsageInstructions||ae.dragHandleUsageInstructions;return m.a.createElement(Be,null,function(bt){return m.a.createElement(gl,{nonce:lt.nonce,contextId:ve,setCallbacks:bt,dragHandleUsageInstructions:Xe,enableDefaultSensors:lt.enableDefaultSensors,sensors:lt.sensors,onBeforeCapture:lt.onBeforeCapture,onBeforeDragStart:lt.onBeforeDragStart,onDragStart:lt.onDragStart,onDragUpdate:lt.onDragUpdate,onDragEnd:lt.onDragEnd},lt.children)})}var yl=function(ve){return function(Xe){return ve===Xe}},js=yl("scroll"),zl=yl("auto"),nu=yl("visible"),iu=function(ve,Xe){return Xe(ve.overflowX)||Xe(ve.overflowY)},Cu=function(ve,Xe){return Xe(ve.overflowX)&&Xe(ve.overflowY)},au=function(ve){var Xe=window.getComputedStyle(ve),bt={overflowX:Xe.overflowX,overflowY:Xe.overflowY};return iu(bt,js)||iu(bt,zl)},ou=function(){return!1;var ve,Xe;if(!au(ve))return!1;var bt,zt;if(Cu(zt,nu))return!1},Rl=function lt(ve){return ve==null?null:ve===document.body?ou()?ve:null:ve===document.documentElement?null:au(ve)?ve:lt(ve.parentElement)},Tu=function(ve){if(!ve)return;var Xe=Rl(ve.parentElement);if(!Xe)return},Wl=function(ve){return{x:ve.scrollLeft,y:ve.scrollTop}},_u=function lt(ve){if(!ve)return!1;var Xe=window.getComputedStyle(ve);return Xe.position==="fixed"?!0:lt(ve.parentElement)},ll=function(ve){var Xe=Rl(ve),bt=_u(ve);return{closestScrollable:Xe,isFixedOnPage:bt}},bl=function(ve){var Xe=ve.descriptor,bt=ve.isEnabled,zt=ve.isCombineEnabled,nr=ve.isFixedOnPage,lr=ve.direction,mr=ve.client,Nr=ve.page,an=ve.closest,on=function(){if(!an)return null;var En=an.scrollSize,zn=an.client,gi=Ci({scrollHeight:En.scrollHeight,scrollWidth:En.scrollWidth,height:zn.paddingBox.height,width:zn.paddingBox.width});return{pageMarginBox:an.page.marginBox,frameClient:zn,scrollSize:En,shouldClipSubject:an.shouldClipSubject,scroll:{initial:an.scroll,current:an.scroll,max:gi,diff:{value:Le,displacement:Le}}}}(),Jr=lr==="vertical"?It:ir,Gr=qe({page:Nr,withPlaceholder:null,axis:Jr,frame:on}),rn={descriptor:Xe,isCombineEnabled:zt,isFixedOnPage:nr,axis:Jr,isEnabled:bt,client:mr,page:Nr,frame:on,subject:Gr};return rn},wl=function(ve,Xe){var bt=_(ve);if(!Xe)return bt;if(ve!==Xe)return bt;var zt=bt.paddingBox.top-Xe.scrollTop,nr=bt.paddingBox.left-Xe.scrollLeft,lr=zt+Xe.scrollHeight,mr=nr+Xe.scrollWidth,Nr={top:zt,right:mr,bottom:lr,left:nr},an=l(Nr,bt.border),on=f({borderBox:an,margin:bt.margin,border:bt.border,padding:bt.padding});return on},Ml=function(ve){var Xe=ve.ref,bt=ve.descriptor,zt=ve.env,nr=ve.windowScroll,lr=ve.direction,mr=ve.isDropDisabled,Nr=ve.isCombineEnabled,an=ve.shouldClipSubject,on=zt.closestScrollable,Jr=wl(Xe,on),Gr=b(Jr,nr),rn=function(){if(!on)return null;var zn=_(on),gi={scrollHeight:on.scrollHeight,scrollWidth:on.scrollWidth};return{client:zn,page:b(zn,nr),scroll:Wl(on),scrollSize:gi,shouldClipSubject:an}}(),En=bl({descriptor:bt,isEnabled:!mr,isCombineEnabled:Nr,isFixedOnPage:zt.isFixedOnPage,direction:lr,client:Jr,page:Gr,closest:rn});return En},ul={passive:!1},zu={passive:!0},Hs=function(ve){return ve.shouldPublishImmediately?ul:zu};function Js(lt){var ve=Object(y.useContext)(lt);return ve||ye(!1),ve}var Bl=function(ve){return ve&&ve.env.closestScrollable||null};function Iu(lt){var ve=Object(y.useRef)(null),Xe=Js(Ds),bt=xs("droppable"),zt=Xe.registry,nr=Xe.marshal,lr=Pr(lt),mr=t(function(){return{id:lt.droppableId,type:lt.type,mode:lt.mode}},[lt.droppableId,lt.mode,lt.type]),Nr=Object(y.useRef)(mr),an=t(function(){return O(function(Oi,Xa){ve.current||ye(!1);var Ka={x:Oi,y:Xa};nr.updateDroppableScroll(mr.id,Ka)})},[mr.id,nr]),on=a(function(){var Oi=ve.current;return!Oi||!Oi.env.closestScrollable?Le:Wl(Oi.env.closestScrollable)},[]),Jr=a(function(){var Oi=on();an(Oi.x,Oi.y)},[on,an]),Gr=t(function(){return k(Jr)},[Jr]),rn=a(function(){var Oi=ve.current,Xa=Bl(Oi);Oi&&Xa||ye(!1);var Ka=Oi.scrollOptions;if(Ka.shouldPublishImmediately){Jr();return}Gr()},[Gr,Jr]),En=a(function(Oi,Xa){ve.current&&ye(!1);var Ka=lr.current,Oa=Ka.getDroppableRef();Oa||ye(!1);var Wo=ll(Oa),L={ref:Oa,descriptor:mr,env:Wo,scrollOptions:Xa};ve.current=L;var R=Ml({ref:Oa,descriptor:mr,env:Wo,windowScroll:Oi,direction:Ka.direction,isDropDisabled:Ka.isDropDisabled,isCombineEnabled:Ka.isCombineEnabled,shouldClipSubject:!Ka.ignoreContainerClipping}),q=Wo.closestScrollable;return q&&(q.setAttribute(Jo.contextId,Xe.contextId),q.addEventListener("scroll",rn,Hs(L.scrollOptions))),R},[Xe.contextId,mr,rn,lr]),zn=a(function(){var Oi=ve.current,Xa=Bl(Oi);return Oi&&Xa||ye(!1),Wl(Xa)},[]),gi=a(function(){var Oi=ve.current;Oi||ye(!1);var Xa=Bl(Oi);if(ve.current=null,!Xa)return;Gr.cancel(),Xa.removeAttribute(Jo.contextId),Xa.removeEventListener("scroll",rn,Hs(Oi.scrollOptions))},[rn,Gr]),Ui=a(function(Oi){var Xa=ve.current;Xa||ye(!1);var Ka=Bl(Xa);Ka||ye(!1),Ka.scrollTop+=Oi.y,Ka.scrollLeft+=Oi.x},[]),Di=t(function(){return{getDimensionAndWatchScroll:En,getScrollWhileDragging:zn,dragStopped:gi,scroll:Ui}},[gi,En,zn,Ui]),Ca=t(function(){return{uniqueId:bt,descriptor:mr,callbacks:Di}},[Di,mr,bt]);wo(function(){return Nr.current=Ca.descriptor,zt.droppable.register(Ca),function(){ve.current&&gi(),zt.droppable.unregister(Ca)}},[Di,mr,gi,Ca,nr,zt.droppable]),wo(function(){if(!ve.current)return;nr.updateDroppableIsEnabled(Nr.current.id,!lt.isDropDisabled)},[lt.isDropDisabled,nr]),wo(function(){if(!ve.current)return;nr.updateDroppableIsCombineEnabled(Nr.current.id,lt.isCombineEnabled)},[lt.isCombineEnabled,nr])}function Vl(){}var Sl={width:0,height:0,margin:Nt},xl=function(ve){var Xe=ve.isAnimatingOpenOnMount,bt=ve.placeholder,zt=ve.animate;return Xe||zt==="close"?Sl:{height:bt.client.borderBox.height,width:bt.client.borderBox.width,margin:bt.client.margin}},su=function(ve){var Xe=ve.isAnimatingOpenOnMount,bt=ve.placeholder,zt=ve.animate,nr=xl({isAnimatingOpenOnMount:Xe,placeholder:bt,animate:zt});return{display:bt.display,boxSizing:"border-box",width:nr.width,height:nr.height,marginTop:nr.margin.top,marginRight:nr.margin.right,marginBottom:nr.margin.bottom,marginLeft:nr.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:zt!=="none"?In.placeholder:null}};function lu(lt){var ve=Object(y.useRef)(null),Xe=a(function(){if(!ve.current)return;clearTimeout(ve.current),ve.current=null},[]),bt=lt.animate,zt=lt.onTransitionEnd,nr=lt.onClose,lr=lt.contextId,mr=Object(y.useState)(lt.animate==="open"),Nr=mr[0],an=mr[1];Object(y.useEffect)(function(){return Nr?bt!=="open"?(Xe(),an(!1),Vl):ve.current?Vl:(ve.current=setTimeout(function(){ve.current=null,an(!1)}),Xe):Vl},[bt,Nr,Xe]);var on=a(function(Gr){if(Gr.propertyName!=="height")return;zt(),bt==="close"&&nr()},[bt,nr,zt]),Jr=su({isAnimatingOpenOnMount:Nr,animate:lt.animate,placeholder:lt.placeholder});return m.a.createElement(lt.placeholder.tagName,{style:Jr,"data-rbd-placeholder-context-id":lr,onTransitionEnd:on,ref:lt.innerRef})}var uu=m.a.memo(lu),cu=m.a.createContext(null);function Al(lt){lt&&ys(lt)||ye(!1)}function Xl(lt){return typeof lt=="boolean"}function Fl(lt,ve){ve.forEach(function(Xe){return Xe(lt)})}var du=[function(ve){var Xe=ve.props;Xe.droppableId||ye(!1),typeof Xe.droppableId=="string"||ye(!1)},function(ve){var Xe=ve.props;Xl(Xe.isDropDisabled)||ye(!1),Xl(Xe.isCombineEnabled)||ye(!1),Xl(Xe.ignoreContainerClipping)||ye(!1)},function(ve){var Xe=ve.getDroppableRef;Al(Xe())}],ps=[function(ve){var Xe=ve.props,bt=ve.getPlaceholderRef;if(!Xe.placeholder)return;var zt=bt();if(zt)return}],kl=[function(ve){var Xe=ve.props;Xe.renderClone||ye(!1)},function(ve){var Xe=ve.getPlaceholderRef;Xe()&&ye(!1)}];function Wu(lt){gr(function(){Fl(lt,du),lt.props.mode==="standard"&&Fl(lt,ps),lt.props.mode==="virtual"&&Fl(lt,kl)})}var Pl=function(lt){Object(C.a)(ve,lt);function ve(){for(var bt,zt=arguments.length,nr=new Array(zt),lr=0;lr<zt;lr++)nr[lr]=arguments[lr];return bt=lt.call.apply(lt,[this].concat(nr))||this,bt.state={isVisible:Boolean(bt.props.on),data:bt.props.on,animate:bt.props.shouldAnimate&&bt.props.on?"open":"none"},bt.onClose=function(){if(bt.state.animate!=="close")return;bt.setState({isVisible:!1})},bt}ve.getDerivedStateFromProps=function(zt,nr){return zt.shouldAnimate?zt.on?{isVisible:!0,data:zt.on,animate:"open"}:nr.isVisible?{isVisible:!0,data:nr.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(zt.on),data:zt.on,animate:"none"}};var Xe=ve.prototype;return Xe.render=function(){if(!this.state.isVisible)return null;var zt={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(zt)},ve}(m.a.PureComponent),Gl={dragging:5e3,dropAnimating:4500},Lu=function(ve,Xe){return Xe?In.drop(Xe.duration):ve?In.snap:In.fluid},Vu=function(ve,Xe){return ve?Xe?Rn.opacity.drop:Rn.opacity.combining:null},hu=function(ve){return ve.forceShouldAnimate!=null?ve.forceShouldAnimate:ve.mode==="SNAP"};function Ou(lt){var ve=lt.dimension,Xe=ve.client,bt=lt.offset,zt=lt.combineWith,nr=lt.dropping,lr=Boolean(zt),mr=hu(lt),Nr=Boolean(nr),an=Nr?ti.drop(bt,lr):ti.moveTo(bt),on={position:"fixed",top:Xe.marginBox.top,left:Xe.marginBox.left,boxSizing:"border-box",width:Xe.borderBox.width,height:Xe.borderBox.height,transition:Lu(mr,nr),transform:an,opacity:Vu(lr,Nr),zIndex:Nr?Gl.dropAnimating:Gl.dragging,pointerEvents:"none"};return on}function Xu(lt){return{transform:ti.moveTo(lt.offset),transition:lt.shouldAnimateDisplacement?null:"none"}}function Nu(lt){return lt.type==="DRAGGING"?Ou(lt):Xu(lt)}function Du(lt,ve,Xe){Xe===void 0&&(Xe=Le);var bt=window.getComputedStyle(ve),zt=ve.getBoundingClientRect(),nr=w(zt,bt),lr=b(nr,Xe),mr={client:nr,tagName:ve.tagName.toLowerCase(),display:bt.display},Nr={x:nr.marginBox.width,y:nr.marginBox.height},an={descriptor:lt,placeholder:mr,displaceBy:Nr,client:nr,page:lr};return an}function Gu(lt){var ve=xs("draggable"),Xe=lt.descriptor,bt=lt.registry,zt=lt.getDraggableRef,nr=lt.canDragInteractiveElements,lr=lt.shouldRespectForcePress,mr=lt.isEnabled,Nr=t(function(){return{canDragInteractiveElements:nr,shouldRespectForcePress:lr,isEnabled:mr}},[nr,mr,lr]),an=a(function(rn){var En=zt();return En||ye(!1),Du(Xe,En,rn)},[Xe,zt]),on=t(function(){return{uniqueId:ve,descriptor:Xe,options:Nr,getDimension:an}},[Xe,an,Nr,ve]),Jr=Object(y.useRef)(on),Gr=Object(y.useRef)(!0);wo(function(){return bt.draggable.register(Jr.current),function(){return bt.draggable.unregister(Jr.current)}},[bt.draggable]),wo(function(){if(Gr.current){Gr.current=!1;return}var rn=Jr.current;Jr.current=on,bt.draggable.update(on,rn)},[on,bt.draggable])}function Ql(lt,ve,Xe){gr(function(){function bt(nr){return"Draggable[id: "+nr+"]: "}var zt=lt.draggableId;if(zt||ye(!1),typeof zt=="string"||ye(!1),ue(lt.index)||ye(!1),lt.mapped.type==="DRAGGING")return;Al(Xe()),lt.isEnabled&&(Na(ve,zt)||ye(!1))})}function El(lt){Kt(function(){var ve=Object(y.useRef)(lt);gr(function(){lt===ve.current||ye(!1)},[lt])})}function Cl(lt){lt.preventDefault()}function Ru(lt){var ve=Object(y.useRef)(null),Xe=a(function(L){ve.current=L},[]),bt=a(function(){return ve.current},[]),zt=Js(Ds),nr=zt.contextId,lr=zt.dragHandleUsageInstructionsId,mr=zt.registry,Nr=Js(cu),an=Nr.type,on=Nr.droppableId,Jr=t(function(){return{id:lt.draggableId,index:lt.index,type:an,droppableId:on}},[lt.draggableId,lt.index,an,on]),Gr=lt.children,rn=lt.draggableId,En=lt.isEnabled,zn=lt.shouldRespectForcePress,gi=lt.canDragInteractiveElements,Ui=lt.isClone,Di=lt.mapped,Ca=lt.dropAnimationFinished;if(Ql(lt,nr,bt),El(Ui),!Ui){var Oi=t(function(){return{descriptor:Jr,registry:mr,getDraggableRef:bt,canDragInteractiveElements:gi,shouldRespectForcePress:zn,isEnabled:En}},[Jr,mr,bt,gi,zn,En]);Gu(Oi)}var Xa=t(function(){return En?{tabIndex:0,role:"button","aria-describedby":lr,"data-rbd-drag-handle-draggable-id":rn,"data-rbd-drag-handle-context-id":nr,draggable:!1,onDragStart:Cl}:null},[nr,lr,rn,En]),Ka=a(function(L){if(Di.type!=="DRAGGING")return;if(!Di.dropping)return;if(L.propertyName!=="transform")return;Ca()},[Ca,Di]),Oa=t(function(){var L=Nu(Di),R=Di.type==="DRAGGING"&&Di.dropping?Ka:null,q={innerRef:Xe,draggableProps:{"data-rbd-draggable-context-id":nr,"data-rbd-draggable-id":rn,style:L,onTransitionEnd:R},dragHandleProps:Xa};return q},[nr,Xa,rn,Di,Ka,Xe]),Wo=t(function(){return{draggableId:Jr.id,type:Jr.type,source:{index:Jr.index,droppableId:Jr.droppableId}}},[Jr.droppableId,Jr.id,Jr.index,Jr.type]);return Gr(Oa,Di.snapshot,Wo)}var Ul=function(ve,Xe){return ve===Xe},Mu=function(ve){var Xe=ve.combine,bt=ve.destination;return bt?bt.droppableId:Xe?Xe.droppableId:null},Qu=function(ve){return ve.combine?ve.combine.draggableId:null},Yu=function(ve){return ve.at&&ve.at.type==="COMBINE"?ve.at.combine.draggableId:null};function Zu(){var lt=O(function(zt,nr){return{x:zt,y:nr}}),ve=O(function(zt,nr,lr,mr,Nr){return{isDragging:!0,isClone:nr,isDropAnimating:Boolean(Nr),dropAnimation:Nr,mode:zt,draggingOver:lr,combineWith:mr,combineTargetFor:null}}),Xe=O(function(zt,nr,lr,mr,Nr,an,on){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:Nr,combineWith:an,mode:nr,offset:zt,dimension:lr,forceShouldAnimate:on,snapshot:ve(nr,mr,Nr,an,null)}}}),bt=function(nr,lr){if(nr.isDragging){if(nr.critical.draggable.id!==lr.draggableId)return null;var mr=nr.current.client.offset,Nr=nr.dimensions.draggables[lr.draggableId],an=Qn(nr.impact),on=Yu(nr.impact),Jr=nr.forceShouldAnimate;return Xe(lt(mr.x,mr.y),nr.movementMode,Nr,lr.isClone,an,on,Jr)}if(nr.phase==="DROP_ANIMATING"){var Gr=nr.completed;if(Gr.result.draggableId!==lr.draggableId)return null;var rn=lr.isClone,En=nr.dimensions.draggables[lr.draggableId],zn=Gr.result,gi=zn.mode,Ui=Mu(zn),Di=Qu(zn),Ca=nr.dropDuration,Oi={duration:Ca,curve:Wn.drop,moveTo:nr.newHomeClientOffset,opacity:Di?Rn.opacity.drop:null,scale:Di?Rn.scale.drop:null};return{mapped:{type:"DRAGGING",offset:nr.newHomeClientOffset,dimension:En,dropping:Oi,draggingOver:Ui,combineWith:Di,mode:gi,forceShouldAnimate:null,snapshot:ve(gi,rn,Ui,Di,Oi)}}}return null};return bt}function Tl(lt){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:lt,combineWith:null}}var Yl={mapped:{type:"SECONDARY",offset:Le,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Tl(null)}};function qu(){var lt=O(function(lr,mr){return{x:lr,y:mr}}),ve=O(Tl),Xe=O(function(lr,mr,Nr){return mr===void 0&&(mr=null),{mapped:{type:"SECONDARY",offset:lr,combineTargetFor:mr,shouldAnimateDisplacement:Nr,snapshot:ve(mr)}}}),bt=function(mr){return mr?Xe(Le,mr,!0):null},zt=function(mr,Nr,an,on){var Jr=an.displaced.visible[mr],Gr=Boolean(on.inVirtualList&&on.effected[mr]),rn=ce(an),En=rn&&rn.draggableId===mr?Nr:null;if(!Jr){if(!Gr)return bt(En);if(an.displaced.invisible[mr])return null;var zn=Ie(on.displacedBy.point),gi=lt(zn.x,zn.y);return Xe(gi,En,!0)}if(Gr)return bt(En);var Ui=an.displacedBy.point,Di=lt(Ui.x,Ui.y);return Xe(Di,En,Jr.shouldAnimate)},nr=function(mr,Nr){if(mr.isDragging)return mr.critical.draggable.id===Nr.draggableId?null:zt(Nr.draggableId,mr.critical.draggable.id,mr.impact,mr.afterCritical);if(mr.phase==="DROP_ANIMATING"){var an=mr.completed;return an.result.draggableId===Nr.draggableId?null:zt(Nr.draggableId,an.result.draggableId,an.impact,an.afterCritical)}return null};return nr}var fu=function(){var ve=Zu(),Xe=qu(),bt=function(nr,lr){return ve(nr,lr)||Xe(nr,lr)||Yl};return bt},jl={dropAnimationFinished:Zr},pu=Object(h.c)(fu,jl,null,{context:$o,pure:!0,areStatePropsEqual:Ul})(Ru);function mu(lt){var ve=Js(cu),Xe=ve.isUsingCloneFor;return Xe===lt.draggableId&&!lt.isClone?null:m.a.createElement(pu,lt)}function gu(lt){var ve=typeof lt.isDragDisabled=="boolean"?!lt.isDragDisabled:!0,Xe=Boolean(lt.disableInteractiveElementBlocking),bt=Boolean(lt.shouldRespectForcePress);return m.a.createElement(mu,Object(p.a)({},lt,{isClone:!1,isEnabled:ve,canDragInteractiveElements:Xe,shouldRespectForcePress:bt}))}function _l(lt){var ve=Object(y.useContext)(Ds);ve||ye(!1);var Xe=ve.contextId,bt=ve.isMovementAllowed,zt=Object(y.useRef)(null),nr=Object(y.useRef)(null),lr=lt.children,mr=lt.droppableId,Nr=lt.type,an=lt.mode,on=lt.direction,Jr=lt.ignoreContainerClipping,Gr=lt.isDropDisabled,rn=lt.isCombineEnabled,En=lt.snapshot,zn=lt.useClone,gi=lt.updateViewportMaxScroll,Ui=lt.getContainerForClone,Di=a(function(){return zt.current},[]),Ca=a(function(te){zt.current=te},[]),Oi=a(function(){return nr.current},[]),Xa=a(function(te){nr.current=te},[]);Wu({props:lt,getDroppableRef:Di,getPlaceholderRef:Oi});var Ka=a(function(){bt()&&gi({maxScroll:wa()})},[bt,gi]);Iu({droppableId:mr,type:Nr,mode:an,direction:on,isDropDisabled:Gr,isCombineEnabled:rn,ignoreContainerClipping:Jr,getDroppableRef:Di});var Oa=m.a.createElement(Pl,{on:lt.placeholder,shouldAnimate:lt.shouldAnimatePlaceholder},function(te){var se=te.onClose,Fe=te.data,At=te.animate;return m.a.createElement(uu,{placeholder:Fe,onClose:se,innerRef:Xa,animate:At,contextId:Xe,onTransitionEnd:Ka})}),Wo=t(function(){return{innerRef:Ca,placeholder:Oa,droppableProps:{"data-rbd-droppable-id":mr,"data-rbd-droppable-context-id":Xe}}},[Xe,mr,Oa,Ca]),L=zn?zn.dragging.draggableId:null,R=t(function(){return{droppableId:mr,type:Nr,isUsingCloneFor:L}},[mr,L,Nr]);function q(){if(!zn)return null;var te=zn.dragging,se=zn.render,Fe=m.a.createElement(mu,{draggableId:te.draggableId,index:te.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(At,Mt){return se(At,Mt,te)});return P.a.createPortal(Fe,Ui())}return m.a.createElement(cu.Provider,{value:R},lr(Wo,En),q())}var Zl=function(ve,Xe){return ve===Xe.droppable.type},Il=function(ve,Xe){return Xe.draggables[ve.draggable.id]},Bu=function(){var ve={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},Xe=Object(p.a)({},ve,{shouldAnimatePlaceholder:!1}),bt=O(function(lr){return{draggableId:lr.id,type:lr.type,source:{index:lr.index,droppableId:lr.droppableId}}}),zt=O(function(lr,mr,Nr,an,on,Jr){var Gr=on.descriptor.id,rn=on.descriptor.droppableId===lr;if(rn){var En=Jr?{render:Jr,dragging:bt(on.descriptor)}:null,zn={isDraggingOver:Nr,draggingOverWith:Nr?Gr:null,draggingFromThisWith:Gr,isUsingPlaceholder:!0};return{placeholder:on.placeholder,shouldAnimatePlaceholder:!1,snapshot:zn,useClone:En}}if(!mr)return Xe;if(!an)return ve;var gi={isDraggingOver:Nr,draggingOverWith:Gr,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:on.placeholder,shouldAnimatePlaceholder:!0,snapshot:gi,useClone:null}}),nr=function(mr,Nr){var an=Nr.droppableId,on=Nr.type,Jr=!Nr.isDropDisabled,Gr=Nr.renderClone;if(mr.isDragging){var rn=mr.critical;if(!Zl(on,rn))return Xe;var En=Il(rn,mr.dimensions),zn=Qn(mr.impact)===an;return zt(an,Jr,zn,zn,En,Gr)}if(mr.phase==="DROP_ANIMATING"){var gi=mr.completed;if(!Zl(on,gi.critical))return Xe;var Ui=Il(gi.critical,mr.dimensions);return zt(an,Jr,Mu(gi.result)===an,Qn(gi.impact)===an,Ui,Gr)}if(mr.phase==="IDLE"&&mr.completed&&!mr.shouldFlush){var Di=mr.completed;if(!Zl(on,Di.critical))return Xe;var Ca=Qn(Di.impact)===an,Oi=Boolean(Di.impact.at&&Di.impact.at.type==="COMBINE"),Xa=Di.critical.droppable.id===an;return Ca?Oi?ve:Xe:Xa?ve:Xe}return Xe};return nr},Ju={updateViewportMaxScroll:qr};function $u(){return document.body||ye(!1),document.body}var ko={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:$u},Ll=Object(h.c)(Bu,Ju,null,{context:$o,pure:!0,areStatePropsEqual:Ul})(_l);Ll.defaultProps=ko},ni6a:function(B,N,r){var y=r("pzxd"),m=r("mFDi"),C=r("gut8"),p=C.WILL_BE_RESTORED,g=new m,h=function(){};h.prototype={constructor:h,drawRectText:function(n,t){var a=this.style;t=a.textRect||t,this.__dirty&&y.normalizeTextStyle(a,!0);var d=a.text;if(d!=null&&(d+=""),!y.needDrawText(d,a))return;n.save();var i=this.transform;a.transformText?this.setTransform(n):i&&(g.copy(t),g.applyTransform(i),t=g),y.renderText(this,n,d,a,t,p),n.restore()}};var c=h;B.exports=c},nkfE:function(B,N,r){var y=r("bYtY"),m=r("ca2m"),C=r("bLfw"),p=r("+TT/"),g=p.getLayoutParams,h=p.mergeLayoutParam,c=r("jkPA"),o=["value","category","time","log"];function n(t,a,d,i){y.each(o,function(l){a.extend({type:t+"Axis."+l,mergeDefaultAndTheme:function(e,s){var u=this.layoutMode,f=u?g(e):{},A=s.getTheme();y.merge(e,A.get(l+"Axis")),y.merge(e,this.getDefaultOption()),e.type=d(t,e),u&&h(e,f,u)},optionUpdated:function(){var e=this.option;e.type==="category"&&(this.__ordinalMeta=c.createByAxisModel(this))},getCategories:function(e){var s=this.option;if(s.type==="category")return e?s.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:y.mergeAll([{},m[l+"Axis"],i],!0)})}),C.registerSubTypeDefaulter(t+"Axis",y.curry(d,t))}B.exports=n},noeP:function(B,N,r){var y=r("ProS"),m=r("bYtY"),C=r("UOVi");y.registerAction("dataZoom",function(p,g){var h=C.createLinkedNodesFinder(m.bind(g.eachComponent,g,"dataZoom"),C.eachAxisDim,function(o,n){return o.get(n.axisIndex)}),c=[];g.eachComponent({mainType:"dataZoom",query:p},function(o,n){c.push.apply(c,h(o).nodes)}),m.each(c,function(o,n){o.setRawRange({start:p.start,end:p.end,startValue:p.startValue,endValue:p.endValue})})})},o40c:function(B,N,r){var y=r("IwbS"),m=r("OS9S"),C=r("loD1"),p=r("aKvl"),g=y.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(n,t){var a=t.segs,d=t.curveness;if(t.polyline)for(var i=0;i<a.length;){var l=a[i++];if(l>0){n.moveTo(a[i++],a[i++]);for(var e=1;e<l;e++)n.lineTo(a[i++],a[i++])}}else for(var i=0;i<a.length;){var s=a[i++],u=a[i++],f=a[i++],A=a[i++];if(n.moveTo(s,u),d>0){var v=(s+f)/2-(u-A)*d,x=(u+A)/2-(f-s)*d;n.quadraticCurveTo(v,x,f,A)}else n.lineTo(f,A)}},findDataIndex:function(n,t){var a=this.shape,d=a.segs,i=a.curveness;if(a.polyline)for(var l=0,e=0;e<d.length;){var s=d[e++];if(s>0)for(var u=d[e++],f=d[e++],A=1;A<s;A++){var v=d[e++],x=d[e++];if(C.containStroke(u,f,v,x))return l}l++}else for(var l=0,e=0;e<d.length;){var u=d[e++],f=d[e++],v=d[e++],x=d[e++];if(i>0){var b=(u+v)/2-(f-x)*i,w=(f+x)/2-(v-u)*i;if(p.containStroke(u,f,b,w,v,x))return l}else if(C.containStroke(u,f,v,x))return l;l++}return-1}});function h(){this.group=new y.Group}var c=h.prototype;c.isPersistent=function(){return!this._incremental},c.updateData=function(n){this.group.removeAll();var t=new g({rectHover:!0,cursor:"default"});t.setShape({segs:n.getLayout("linesPoints")}),this._setCommon(t,n),this.group.add(t),this._incremental=null},c.incrementalPrepareUpdate=function(n){this.group.removeAll(),this._clearIncremental(),n.count()>5e5?(this._incremental||(this._incremental=new m({silent:!0})),this.group.add(this._incremental)):this._incremental=null},c.incrementalUpdate=function(n,t){var a=new g;a.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(a,t,!!this._incremental),this._incremental?this._incremental.addDisplayable(a,!0):(a.rectHover=!0,a.cursor="default",a.__startIndex=n.start,this.group.add(a))},c.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},c._setCommon=function(n,t,a){var d=t.hostModel;n.setShape({polyline:d.get("polyline"),curveness:d.get("lineStyle.curveness")}),n.useStyle(d.getModel("lineStyle").getLineStyle()),n.style.strokeNoScale=!0;var i=t.getVisual("color");i&&n.setStyle("stroke",i),n.setStyle("fill"),a||(n.seriesIndex=d.seriesIndex,n.on("mousemove",function(l){n.dataIndex=null;var e=n.findDataIndex(l.offsetX,l.offsetY);e>0&&(n.dataIndex=e+n.__startIndex)}))},c._clearIncremental=function(){var n=this._incremental;n&&n.clearDisplaybles()};var o=h;B.exports=o},oBaM:function(B,N,r){var y=r("T4UG"),m=r("5GtS"),C=r("bYtY"),p=r("7aKB"),g=p.encodeHTML,h=r("xKMd"),c=y.extend({type:"series.radar",dependencies:["radar"],init:function(n){c.superApply(this,"init",arguments),this.legendVisualProvider=new h(C.bind(this.getData,this),C.bind(this.getRawData,this))},getInitialData:function(n,t){return m(this,{generateCoord:"indicator_",generateCoordCount:Infinity})},formatTooltip:function(n){var t=this.getData(),a=this.coordinateSystem,d=a.getIndicatorAxes(),i=this.getData().getName(n);return g(i===""?this.name:i)+"<br/>"+C.map(d,function(l,e){var s=t.get(t.mapDimension(l.dim),n);return g(l.name+" : "+s)}).join("<br />")},getTooltipPosition:function(n){if(n!=null){for(var t=this.getData(),a=this.coordinateSystem,d=t.getValues(C.map(a.dimensions,function(s){return t.mapDimension(s)}),n,!0),i=0,l=d.length;i<l;i++)if(!isNaN(d[i])){var e=a.getIndicatorAxes();return a.coordToPoint(e[i].dataToCoord(d[i]),i)}}},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}}),o=c;B.exports=o},oE7X:function(B,N,r){var y=r("bLfw");y.registerSubTypeDefaulter("timeline",function(){return"slider"})},oIFs:function(B,N,r){},oVpE:function(B,N,r){var y=r("bYtY"),m=r("IwbS"),C=r("mFDi"),p=r("6GrX"),g=p.calculateTextPosition,h=m.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(s,u){var f=u.cx,A=u.cy,v=u.width/2,x=u.height/2;s.moveTo(f,A-x),s.lineTo(f+v,A+x),s.lineTo(f-v,A+x),s.closePath()}}),c=m.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(s,u){var f=u.cx,A=u.cy,v=u.width/2,x=u.height/2;s.moveTo(f,A-x),s.lineTo(f+v,A),s.lineTo(f,A+x),s.lineTo(f-v,A),s.closePath()}}),o=m.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(s,u){var f=u.x,A=u.y,v=u.width/5*3,x=Math.max(v,u.height),b=v/2,w=b*b/(x-b),_=A-x+b+w,T=Math.asin(w/b),S=Math.cos(T)*b,E=Math.sin(T),I=Math.cos(T),O=b*.6,F=b*.7;s.moveTo(f-S,_+w),s.arc(f,_,b,Math.PI-T,Math.PI*2+T),s.bezierCurveTo(f+S-E*O,_+w+I*O,f,A-F,f,A),s.bezierCurveTo(f,A-F,f-S+E*O,_+w+I*O,f-S,_+w),s.closePath()}}),n=m.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(s,u){var f=u.height,A=u.width,v=u.x,x=u.y,b=A/3*2;s.moveTo(v,x),s.lineTo(v+b,x+f),s.lineTo(v,x+f/4*3),s.lineTo(v-b,x+f),s.lineTo(v,x),s.closePath()}}),t={line:m.Line,rect:m.Rect,roundRect:m.Rect,square:m.Rect,circle:m.Circle,diamond:c,pin:o,arrow:n,triangle:h},a={line:function(s,u,f,A,v){v.x1=s,v.y1=u+A/2,v.x2=s+f,v.y2=u+A/2},rect:function(s,u,f,A,v){v.x=s,v.y=u,v.width=f,v.height=A},roundRect:function(s,u,f,A,v){v.x=s,v.y=u,v.width=f,v.height=A,v.r=Math.min(f,A)/4},square:function(s,u,f,A,v){var x=Math.min(f,A);v.x=s,v.y=u,v.width=x,v.height=x},circle:function(s,u,f,A,v){v.cx=s+f/2,v.cy=u+A/2,v.r=Math.min(f,A)/2},diamond:function(s,u,f,A,v){v.cx=s+f/2,v.cy=u+A/2,v.width=f,v.height=A},pin:function(s,u,f,A,v){v.x=s+f/2,v.y=u+A/2,v.width=f,v.height=A},arrow:function(s,u,f,A,v){v.x=s+f/2,v.y=u+A/2,v.width=f,v.height=A},triangle:function(s,u,f,A,v){v.cx=s+f/2,v.cy=u+A/2,v.width=f,v.height=A}},d={};y.each(t,function(s,u){d[u]=new s});var i=m.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(s,u,f){var A=g(s,u,f),v=this.shape;return v&&v.symbolType==="pin"&&u.textPosition==="inside"&&(A.y=f.y+f.height*.4),A},buildPath:function(s,u,f){var A=u.symbolType;if(A!=="none"){var v=d[A];v||(A="rect",v=d[A]),a[A](u.x,u.y,u.width,u.height,v.shape),v.buildPath(s,v.shape,f)}}});function l(s,u){if(this.type!=="image"){var f=this.style,A=this.shape;A&&A.symbolType==="line"?f.stroke=s:this.__isEmptyBrush?(f.stroke=s,f.fill=u||"#fff"):(f.fill&&(f.fill=s),f.stroke&&(f.stroke=s)),this.dirty(!1)}}function e(s,u,f,A,v,x,b){var w=s.indexOf("empty")===0;w&&(s=s.substr(5,1).toLowerCase()+s.substr(6));var _;return s.indexOf("image://")===0?_=m.makeImage(s.slice(8),new C(u,f,A,v),b?"center":"cover"):s.indexOf("path://")===0?_=m.makePath(s.slice(7),{},new C(u,f,A,v),b?"center":"cover"):_=new i({shape:{symbolType:s,x:u,y:f,width:A,height:v}}),_.__isEmptyBrush=w,_.setColor=l,_.setColor(x),_}N.createSymbol=e},oY9F:function(B,N,r){var y=r("OlYY"),m=y.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});B.exports=m},osHv:function(B,N,r){(function(y){y(r("VrN/"))})(function(y){"use strict";var m=y.Pos;function C(u,f){return u.line-f.line||u.ch-f.ch}var p="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",g=p+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",h=new RegExp("<(/?)(["+p+"]["+g+"]*)","g");function c(u,f,A,v){this.line=f,this.ch=A,this.cm=u,this.text=u.getLine(f),this.min=v?Math.max(v.from,u.firstLine()):u.firstLine(),this.max=v?Math.min(v.to-1,u.lastLine()):u.lastLine()}function o(u,f){var A=u.cm.getTokenTypeAt(m(u.line,f));return A&&/\btag\b/.test(A)}function n(u){return u.line>=u.max?void 0:(u.ch=0,u.text=u.cm.getLine(++u.line),!0)}function t(u){return u.line<=u.min?void 0:(u.text=u.cm.getLine(--u.line),u.ch=u.text.length,!0)}function a(u){for(;;){var f=u.text.indexOf(">",u.ch);if(f==-1){if(n(u))continue;return}if(!o(u,f+1)){u.ch=f+1;continue}var A=u.text.lastIndexOf("/",f),v=A>-1&&!/\S/.test(u.text.slice(A+1,f));return u.ch=f+1,v?"selfClose":"regular"}}function d(u){for(;;){var f=u.ch?u.text.lastIndexOf("<",u.ch-1):-1;if(f==-1){if(t(u))continue;return}if(!o(u,f+1)){u.ch=f;continue}h.lastIndex=f,u.ch=f;var A=h.exec(u.text);if(A&&A.index==f)return A}}function i(u){for(;;){h.lastIndex=u.ch;var f=h.exec(u.text);if(!f){if(n(u))continue;return}if(!o(u,f.index+1)){u.ch=f.index+1;continue}return u.ch=f.index+f[0].length,f}}function l(u){for(;;){var f=u.ch?u.text.lastIndexOf(">",u.ch-1):-1;if(f==-1){if(t(u))continue;return}if(!o(u,f+1)){u.ch=f;continue}var A=u.text.lastIndexOf("/",f),v=A>-1&&!/\S/.test(u.text.slice(A+1,f));return u.ch=f+1,v?"selfClose":"regular"}}function e(u,f){for(var A=[];;){var v=i(u),x,b=u.line,w=u.ch-(v?v[0].length:0);if(!v||!(x=a(u)))return;if(x=="selfClose")continue;if(v[1]){for(var _=A.length-1;_>=0;--_)if(A[_]==v[2]){A.length=_;break}if(_<0&&(!f||f==v[2]))return{tag:v[2],from:m(b,w),to:m(u.line,u.ch)}}else A.push(v[2])}}function s(u,f){for(var A=[];;){var v=l(u);if(!v)return;if(v=="selfClose"){d(u);continue}var x=u.line,b=u.ch,w=d(u);if(!w)return;if(w[1])A.push(w[2]);else{for(var _=A.length-1;_>=0;--_)if(A[_]==w[2]){A.length=_;break}if(_<0&&(!f||f==w[2]))return{tag:w[2],from:m(u.line,u.ch),to:m(x,b)}}}}y.registerHelper("fold","xml",function(u,f){for(var A=new c(u,f.line,0);;){var v=i(A);if(!v||A.line!=f.line)return;var x=a(A);if(!x)return;if(!v[1]&&x!="selfClose"){var b=m(A.line,A.ch),w=e(A,v[2]);return w&&C(w.from,b)>0?{from:b,to:w.from}:null}}}),y.findMatchingTag=function(u,f,A){var v=new c(u,f.line,f.ch,A);if(v.text.indexOf(">")==-1&&v.text.indexOf("<")==-1)return;var x=a(v),b=x&&m(v.line,v.ch),w=x&&d(v);if(!x||!w||C(v,f)>0)return;var _={from:m(v.line,v.ch),to:b,tag:w[2]};return x=="selfClose"?{open:_,close:null,at:"open"}:w[1]?{open:s(v,w[2]),close:_,at:"close"}:(v=new c(u,b.line,b.ch,A),{open:_,close:e(v,w[2]),at:"open"})},y.findEnclosingTag=function(u,f,A,v){for(var x=new c(u,f.line,f.ch,A);;){var b=s(x,v);if(!b)break;var w=new c(u,f.line,f.ch,A),_=e(w,b.tag);if(_)return{open:b,close:_}}},y.scanForClosingTag=function(u,f,A,v){var x=new c(u,f.line,f.ch,v?{from:0,to:v}:null);return e(x,A)}})},ozfa:function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("KxFI"),p=r.n(C)},"p+If":function(B,N,r){var y=r("ProS");r("cpOr"),r("rkZ5");var m=r("ZYIC"),C=r("7ph2");y.registerLayout(m),y.registerVisual(C)},"p/La":function(B,N){var r=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function y(m,C){m==="china"&&C.name==="\u53F0\u6E7E"&&C.geometries.push({type:"polygon",exterior:r[0]})}B.exports=y},p1MT:function(B,N,r){var y=r("Hw7h"),m=r("IwbS"),C=r("6Ic6"),p=r("OELB"),g=p.parsePercent,h=p.round,c=p.linearMap;function o(i,l){var e=i.get("center"),s=l.getWidth(),u=l.getHeight(),f=Math.min(s,u),A=g(e[0],l.getWidth()),v=g(e[1],l.getHeight()),x=g(i.get("radius"),f/2);return{cx:A,cy:v,r:x}}function n(i,l){return l&&(typeof l=="string"?i=l.replace("{value}",i!=null?i:""):typeof l=="function"&&(i=l(i))),i}var t=Math.PI*2,a=C.extend({type:"gauge",render:function(i,l,e){this.group.removeAll();var s=i.get("axisLine.lineStyle.color"),u=o(i,e);this._renderMain(i,l,e,s,u)},dispose:function(){},_renderMain:function(i,l,e,s,u){for(var f=this.group,A=i.getModel("axisLine"),v=A.getModel("lineStyle"),x=i.get("clockwise"),b=-i.get("startAngle")/180*Math.PI,w=-i.get("endAngle")/180*Math.PI,_=(w-b)%t,T=b,S=v.get("width"),E=A.get("show"),I=0;E&&I<s.length;I++){var O=Math.min(Math.max(s[I][0],0),1),w=b+_*O,F=new m.Sector({shape:{startAngle:T,endAngle:w,cx:u.cx,cy:u.cy,clockwise:x,r0:u.r-S,r:u.r},silent:!0});F.setStyle({fill:s[I][1]}),F.setStyle(v.getLineStyle(["color","borderWidth","borderColor"])),f.add(F),T=w}var k=function(P){if(P<=0)return s[0][1];for(var V=0;V<s.length;V++)if(s[V][0]>=P&&(V===0?0:s[V-1][0])<P)return s[V][1];return s[V-1][1]};if(!x){var M=b;b=w,w=M}this._renderTicks(i,l,e,k,u,b,w,x),this._renderPointer(i,l,e,k,u,b,w,x),this._renderTitle(i,l,e,k,u),this._renderDetail(i,l,e,k,u)},_renderTicks:function(i,l,e,s,u,f,A,v){for(var x=this.group,b=u.cx,w=u.cy,_=u.r,T=+i.get("min"),S=+i.get("max"),E=i.getModel("splitLine"),I=i.getModel("axisTick"),O=i.getModel("axisLabel"),F=i.get("splitNumber"),k=I.get("splitNumber"),M=g(E.get("length"),_),P=g(I.get("length"),_),V=f,D=(A-f)/F,H=D/k,U=E.getModel("lineStyle").getLineStyle(),z=I.getModel("lineStyle").getLineStyle(),K=0;K<=F;K++){var G=Math.cos(V),X=Math.sin(V);if(E.get("show")){var Z=new m.Line({shape:{x1:G*_+b,y1:X*_+w,x2:G*(_-M)+b,y2:X*(_-M)+w},style:U,silent:!0});U.stroke==="auto"&&Z.setStyle({stroke:s(K/F)}),x.add(Z)}if(O.get("show")){var ee=n(h(K/F*(S-T)+T),O.get("formatter")),Se=O.get("distance"),$=s(K/F);x.add(new m.Text({style:m.setTextStyle({},O,{text:ee,x:G*(_-M-Se)+b,y:X*(_-M-Se)+w,textVerticalAlign:X<-.4?"top":X>.4?"bottom":"middle",textAlign:G<-.4?"left":G>.4?"right":"center"},{autoColor:$}),silent:!0}))}if(I.get("show")&&K!==F){for(var pe=0;pe<=k;pe++){var G=Math.cos(V),X=Math.sin(V),xe=new m.Line({shape:{x1:G*_+b,y1:X*_+w,x2:G*(_-P)+b,y2:X*(_-P)+w},silent:!0,style:z});z.stroke==="auto"&&xe.setStyle({stroke:s((K+pe/k)/F)}),x.add(xe),V+=H}V-=H}else V+=D}},_renderPointer:function(i,l,e,s,u,f,A,v){var x=this.group,b=this._data;if(!i.get("pointer.show")){b&&b.eachItemGraphicEl(function(E){x.remove(E)});return}var w=[+i.get("min"),+i.get("max")],_=[f,A],T=i.getData(),S=T.mapDimension("value");T.diff(b).add(function(E){var I=new y({shape:{angle:f}});m.initProps(I,{shape:{angle:c(T.get(S,E),w,_,!0)}},i),x.add(I),T.setItemGraphicEl(E,I)}).update(function(E,I){var O=b.getItemGraphicEl(I);m.updateProps(O,{shape:{angle:c(T.get(S,E),w,_,!0)}},i),x.add(O),T.setItemGraphicEl(E,O)}).remove(function(E){var I=b.getItemGraphicEl(E);x.remove(I)}).execute(),T.eachItemGraphicEl(function(E,I){var O=T.getItemModel(I),F=O.getModel("pointer");E.setShape({x:u.cx,y:u.cy,width:g(F.get("width"),u.r),r:g(F.get("length"),u.r)}),E.useStyle(O.getModel("itemStyle").getItemStyle()),E.style.fill==="auto"&&E.setStyle("fill",s(c(T.get(S,I),w,[0,1],!0))),m.setHoverStyle(E,O.getModel("emphasis.itemStyle").getItemStyle())}),this._data=T},_renderTitle:function(i,l,e,s,u){var f=i.getData(),A=f.mapDimension("value"),v=i.getModel("title");if(v.get("show")){var x=v.get("offsetCenter"),b=u.cx+g(x[0],u.r),w=u.cy+g(x[1],u.r),_=+i.get("min"),T=+i.get("max"),S=i.getData().get(A,0),E=s(c(S,[_,T],[0,1],!0));this.group.add(new m.Text({silent:!0,style:m.setTextStyle({},v,{x:b,y:w,text:f.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:E,forceRich:!0})}))}},_renderDetail:function(i,l,e,s,u){var f=i.getModel("detail"),A=+i.get("min"),v=+i.get("max");if(f.get("show")){var x=f.get("offsetCenter"),b=u.cx+g(x[0],u.r),w=u.cy+g(x[1],u.r),_=g(f.get("width"),u.r),T=g(f.get("height"),u.r),S=i.getData(),E=S.get(S.mapDimension("value"),0),I=s(c(E,[A,v],[0,1],!0));this.group.add(new m.Text({silent:!0,style:m.setTextStyle({},f,{x:b,y:w,text:n(E,f.get("formatter")),textWidth:isNaN(_)?null:_,textHeight:isNaN(T)?null:T,textAlign:"center",textVerticalAlign:"middle"},{autoColor:I,forceRich:!0})}))}}}),d=a;B.exports=d},"p77/":function(B,N,r){},pC0b:function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("xzDV"),p=r.n(C),g=r("5Dmo")},"pED+":function(B,N,r){},pG52:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("WXVj"));function m(p){return p&&p.__esModule?p:{default:p}}var C=y;N.default=C,B.exports=C},pLH3:function(B,N,r){var y=r("ProS");r("ALo7"),r("TWL2");var m=r("mOdp"),C=r("JLnu"),p=r("0/Rx");y.registerVisual(m("funnel")),y.registerLayout(C),y.registerProcessor(p("funnel"))},pP6R:function(B,N,r){var y=r("ProS"),m="\0_ec_interaction_mutex";function C(c,o,n){var t=h(c);t[o]=n}function p(c,o,n){var t=h(c),a=t[o];a===n&&(t[o]=null)}function g(c,o){return!!h(c)[o]}function h(c){return c[m]||(c[m]={})}y.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),N.take=C,N.release=p,N.isTaken=g},pmaE:function(B,N,r){var y=r("ProS"),m=r("bYtY"),C=r("IwbS"),p=r("DEFe"),g="__seriesMapHighDown",h="__seriesMapCallKey",c=y.extendChartView({type:"map",render:function(t,a,d,i){if(i&&i.type==="mapToggleSelect"&&i.from===this.uid)return;var l=this.group;if(l.removeAll(),t.getHostGeoModel())return;if(i&&i.type==="geoRoam"&&i.componentType==="series"&&i.seriesId===t.id){var e=this._mapDraw;e&&l.add(e.group)}else if(t.needsDrawMap){var e=this._mapDraw||new p(d,!0);l.add(e.group),e.draw(t,a,d,this,i),this._mapDraw=e}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&a.getComponent("legend")&&this._renderSymbols(t,a,d)},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(t,a,d){var i=t.originalData,l=this.group;i.each(i.mapDimension("value"),function(e,s){if(isNaN(e))return;var u=i.getItemLayout(s);if(!u||!u.point)return;var f=u.point,A=u.offset,v=new C.Circle({style:{fill:t.getData().getVisual("color")},shape:{cx:f[0]+A*9,cy:f[1],r:3},silent:!0,z2:8+(A?0:C.Z2_EMPHASIS_LIFT+1)});if(!A){var x=t.mainSeries.getData(),b=i.getName(s),w=x.indexOfName(b),_=i.getItemModel(s),T=_.getModel("label"),S=_.getModel("emphasis.label"),E=x.getItemGraphicEl(w),I=m.retrieve2(t.getFormattedLabel(w,"normal"),b),O=m.retrieve2(t.getFormattedLabel(w,"emphasis"),I),F=E[g],k=Math.random();if(!F){F=E[g]={};var M=m.curry(o,!0),P=m.curry(o,!1);E.on("mouseover",M).on("mouseout",P).on("emphasis",M).on("normal",P)}E[h]=k,m.extend(F,{recordVersion:k,circle:v,labelModel:T,hoverLabelModel:S,emphasisText:O,normalText:I}),n(F,!1)}l.add(v)})}});function o(t){var a=this[g];a&&a.recordVersion===this[h]&&n(a,t)}function n(t,a){var d=t.circle,i=t.labelModel,l=t.hoverLabelModel,e=t.emphasisText,s=t.normalText;a?(d.style.extendFrom(C.setTextStyle({},l,{text:l.get("show")?e:null},{isRectText:!0,useInsideStyle:!1},!0)),d.__mapOriginalZ2=d.z2,d.z2+=C.Z2_EMPHASIS_LIFT):(C.setTextStyle(d.style,i,{text:i.get("show")?s:null,textPosition:i.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),d.dirty(!1),d.__mapOriginalZ2!=null&&(d.z2=d.__mapOriginalZ2,d.__mapOriginalZ2=null))}B.exports=c},pwpV:function(B,N,r){},pzxd:function(B,N,r){var y=r("bYtY"),m=y.retrieve2,C=y.retrieve3,p=y.each,g=y.normalizeCssArray,h=y.isString,c=y.isObject,o=r("6GrX"),n=r("VpOo"),t=r("Xnb7"),a=r("fW2E"),d=r("gut8"),i=d.ContextCachedBy,l=d.WILL_BE_RESTORED,e=o.DEFAULT_FONT,s={left:1,right:1,center:1},u={top:1,bottom:1,middle:1},f=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],A={},v={};function x(K){return b(K),p(K.rich,b),K}function b(K){if(K){K.font=o.makeFont(K);var G=K.textAlign;G==="middle"&&(G="center"),K.textAlign=G==null||s[G]?G:"left";var X=K.textVerticalAlign||K.textBaseline;X==="center"&&(X="middle"),K.textVerticalAlign=X==null||u[X]?X:"top";var Z=K.textPadding;Z&&(K.textPadding=g(K.textPadding))}}function w(K,G,X,Z,ee,Se){Z.rich?T(K,G,X,Z,ee,Se):_(K,G,X,Z,ee,Se)}function _(K,G,X,Z,ee,Se){"use strict";var $=O(Z),pe,xe=!1,_e=G.__attrCachedBy===i.PLAIN_TEXT;Se!==l?(Se&&(pe=Se.style,xe=!$&&_e&&pe),G.__attrCachedBy=$?i.NONE:i.PLAIN_TEXT):_e&&(G.__attrCachedBy=i.NONE);var Ue=Z.font||e;(!xe||Ue!==(pe.font||e))&&(G.font=Ue);var ye=K.__computedFont;K.__styleFont!==Ue&&(K.__styleFont=Ue,ye=K.__computedFont=G.font);var Be=Z.textPadding,Q=Z.textLineHeight,ie=K.__textCotentBlock;(!ie||K.__dirtyText)&&(ie=K.__textCotentBlock=o.parsePlainText(X,ye,Be,Q,Z.truncate));var Ve=ie.outerHeight,J=ie.lines,W=ie.lineHeight,j=M(v,K,Z,ee),Y=j.baseX,me=j.baseY,ae=j.textAlign||"left",Le=j.textVerticalAlign;E(G,Z,ee,Y,me);var Ee=o.adjustTextY(me,Ve,Le),ne=Y,ge=Ee;if($||Be){var Ie=o.getWidth(X,ye),Ge=Ie;Be&&(Ge+=Be[1]+Be[3]);var ut=o.adjustTextX(Y,Ge,ae);$&&F(K,G,Z,ut,Ee,Ge,Ve),Be&&(ne=U(Y,ae,Be),ge+=Be[0])}G.textAlign=ae,G.textBaseline="middle",G.globalAlpha=Z.opacity||1;for(var wt=0;wt<f.length;wt++){var Pe=f[wt],Dt=Pe[0],et=Pe[1],_t=Z[Dt];(!xe||_t!==pe[Dt])&&(G[et]=a(G,et,_t||Pe[2]))}ge+=W/2;var Nt=Z.textStrokeWidth,Bt=xe?pe.textStrokeWidth:null,Ft=!xe||Nt!==Bt,Gt=!xe||Ft||Z.textStroke!==pe.textStroke,qe=V(Z.textStroke,Nt),we=D(Z.textFill);if(qe&&(Ft&&(G.lineWidth=Nt),Gt&&(G.strokeStyle=qe)),we&&((!xe||Z.textFill!==pe.textFill)&&(G.fillStyle=we)),J.length===1)qe&&G.strokeText(J[0],ne,ge),we&&G.fillText(J[0],ne,ge);else for(var wt=0;wt<J.length;wt++)qe&&G.strokeText(J[wt],ne,ge),we&&G.fillText(J[wt],ne,ge),ge+=W}function T(K,G,X,Z,ee,Se){Se!==l&&(G.__attrCachedBy=i.NONE);var $=K.__textCotentBlock;(!$||K.__dirtyText)&&($=K.__textCotentBlock=o.parseRichText(X,Z)),S(K,G,$,Z,ee)}function S(K,G,X,Z,ee){var Se=X.width,$=X.outerWidth,pe=X.outerHeight,xe=Z.textPadding,_e=M(v,K,Z,ee),Ue=_e.baseX,ye=_e.baseY,Be=_e.textAlign,Q=_e.textVerticalAlign;E(G,Z,ee,Ue,ye);var ie=o.adjustTextX(Ue,$,Be),Ve=o.adjustTextY(ye,pe,Q),J=ie,W=Ve;xe&&(J+=xe[3],W+=xe[0]);var j=J+Se;O(Z)&&F(K,G,Z,ie,Ve,$,pe);for(var Y=0;Y<X.lines.length;Y++){for(var me=X.lines[Y],ae=me.tokens,Le=ae.length,Ee=me.lineHeight,ne=me.width,ge=0,Ie=J,Ge=j,ut=Le-1,wt;ge<Le&&(wt=ae[ge],!wt.textAlign||wt.textAlign==="left");)I(K,G,wt,Z,Ee,W,Ie,"left"),ne-=wt.width,Ie+=wt.width,ge++;for(;ut>=0&&(wt=ae[ut],wt.textAlign==="right");)I(K,G,wt,Z,Ee,W,Ge,"right"),ne-=wt.width,Ge-=wt.width,ut--;for(Ie+=(Se-(Ie-J)-(j-Ge)-ne)/2;ge<=ut;)wt=ae[ge],I(K,G,wt,Z,Ee,W,Ie+wt.width/2,"center"),Ie+=wt.width,ge++;W+=Ee}}function E(K,G,X,Z,ee){if(X&&G.textRotation){var Se=G.textOrigin;Se==="center"?(Z=X.width/2+X.x,ee=X.height/2+X.y):Se&&(Z=Se[0]+X.x,ee=Se[1]+X.y),K.translate(Z,ee),K.rotate(-G.textRotation),K.translate(-Z,-ee)}}function I(K,G,X,Z,ee,Se,$,pe){var xe=Z.rich[X.styleName]||{};xe.text=X.text;var _e=X.textVerticalAlign,Ue=Se+ee/2;_e==="top"?Ue=Se+X.height/2:_e==="bottom"&&(Ue=Se+ee-X.height/2),!X.isLineHolder&&O(xe)&&F(K,G,xe,pe==="right"?$-X.width:pe==="center"?$-X.width/2:$,Ue-X.height/2,X.width,X.height);var ye=X.textPadding;ye&&($=U($,pe,ye),Ue-=X.height/2-ye[2]-X.textHeight/2),P(G,"shadowBlur",C(xe.textShadowBlur,Z.textShadowBlur,0)),P(G,"shadowColor",xe.textShadowColor||Z.textShadowColor||"transparent"),P(G,"shadowOffsetX",C(xe.textShadowOffsetX,Z.textShadowOffsetX,0)),P(G,"shadowOffsetY",C(xe.textShadowOffsetY,Z.textShadowOffsetY,0)),P(G,"textAlign",pe),P(G,"textBaseline","middle"),P(G,"font",X.font||e);var Be=V(xe.textStroke||Z.textStroke,ie),Q=D(xe.textFill||Z.textFill),ie=m(xe.textStrokeWidth,Z.textStrokeWidth);Be&&(P(G,"lineWidth",ie),P(G,"strokeStyle",Be),G.strokeText(X.text,$,Ue)),Q&&(P(G,"fillStyle",Q),G.fillText(X.text,$,Ue))}function O(K){return!!(K.textBackgroundColor||K.textBorderWidth&&K.textBorderColor)}function F(K,G,X,Z,ee,Se,$){var pe=X.textBackgroundColor,xe=X.textBorderWidth,_e=X.textBorderColor,Ue=h(pe);if(P(G,"shadowBlur",X.textBoxShadowBlur||0),P(G,"shadowColor",X.textBoxShadowColor||"transparent"),P(G,"shadowOffsetX",X.textBoxShadowOffsetX||0),P(G,"shadowOffsetY",X.textBoxShadowOffsetY||0),Ue||xe&&_e){G.beginPath();var ye=X.textBorderRadius;ye?n.buildPath(G,{x:Z,y:ee,width:Se,height:$,r:ye}):G.rect(Z,ee,Se,$),G.closePath()}if(Ue)if(P(G,"fillStyle",pe),X.fillOpacity!=null){var Be=G.globalAlpha;G.globalAlpha=X.fillOpacity*X.opacity,G.fill(),G.globalAlpha=Be}else G.fill();else if(c(pe)){var Q=pe.image;Q=t.createOrUpdateImage(Q,null,K,k,pe),Q&&t.isImageReady(Q)&&G.drawImage(Q,Z,ee,Se,$)}if(xe&&_e)if(P(G,"lineWidth",xe),P(G,"strokeStyle",_e),X.strokeOpacity!=null){var Be=G.globalAlpha;G.globalAlpha=X.strokeOpacity*X.opacity,G.stroke(),G.globalAlpha=Be}else G.stroke()}function k(K,G){G.image=K}function M(K,G,X,Z){var ee=X.x||0,Se=X.y||0,$=X.textAlign,pe=X.textVerticalAlign;if(Z){var xe=X.textPosition;if(xe instanceof Array)ee=Z.x+H(xe[0],Z.width),Se=Z.y+H(xe[1],Z.height);else{var _e=G&&G.calculateTextPosition?G.calculateTextPosition(A,X,Z):o.calculateTextPosition(A,X,Z);ee=_e.x,Se=_e.y,$=$||_e.textAlign,pe=pe||_e.textVerticalAlign}var Ue=X.textOffset;Ue&&(ee+=Ue[0],Se+=Ue[1])}return K=K||{},K.baseX=ee,K.baseY=Se,K.textAlign=$,K.textVerticalAlign=pe,K}function P(K,G,X){return K[G]=a(K,G,X),K[G]}function V(K,G){return K==null||G<=0||K==="transparent"||K==="none"?null:K.image||K.colorStops?"#000":K}function D(K){return K==null||K==="none"?null:K.image||K.colorStops?"#000":K}function H(K,G){return typeof K=="string"?K.lastIndexOf("%")>=0?parseFloat(K)/100*G:parseFloat(K):K}function U(K,G,X){return G==="right"?K-X[1]:G==="center"?K+X[3]/2-X[1]/2:K+X[3]}function z(K,G){return K!=null&&(K||G.textBackgroundColor||G.textBorderWidth&&G.textBorderColor||G.textPadding)}N.normalizeTextStyle=x,N.renderText=w,N.getBoxPosition=M,N.getStroke=V,N.getFill=D,N.parsePercent=H,N.needDrawText=z},"q/+u":function(B,N,r){var y=r("ProS"),m=r("9wZj"),C=r("yWXo"),p=r("h8O9");y.extendChartView({type:"scatter",render:function(g,h,c){var o=g.getData(),n=this._updateSymbolDraw(o,g);n.updateData(o,{clipShape:this._getClipShape(g)}),this._finished=!0},incrementalPrepareRender:function(g,h,c){var o=g.getData(),n=this._updateSymbolDraw(o,g);n.incrementalPrepareUpdate(o),this._finished=!1},incrementalRender:function(g,h,c){this._symbolDraw.incrementalUpdate(g,h.getData(),{clipShape:this._getClipShape(h)}),this._finished=g.end===h.getData().count()},updateTransform:function(g,h,c){var o=g.getData();if(this.group.dirty(),!this._finished||o.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var n=p().reset(g);n.progress&&n.progress({start:0,end:o.count()},o),this._symbolDraw.updateLayout(o)},_getClipShape:function(g){var h=g.coordinateSystem,c=h&&h.getArea&&h.getArea();return g.get("clip",!0)?c:null},_updateSymbolDraw:function(g,h){var c=this._symbolDraw,o=h.pipelineContext,n=o.large;return(!c||n!==this._isLargeDraw)&&(c&&c.remove(),c=this._symbolDraw=n?new C:new m,this._isLargeDraw=n,this.group.removeAll()),this.group.add(c.group),c},remove:function(g,h){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},q3GZ:function(B,N){var r=["lineStyle","normal","opacity"],y={seriesType:"parallel",reset:function(m,C,p){var g=m.getModel("itemStyle"),h=m.getModel("lineStyle"),c=C.get("color"),o=h.get("color")||g.get("color")||c[m.seriesIndex%c.length],n=m.get("inactiveOpacity"),t=m.get("activeOpacity"),a=m.getModel("lineStyle").getLineStyle(),d=m.coordinateSystem,i=m.getData(),l={normal:a.opacity,active:t,inactive:n};i.setVisual("color",o);function e(s,u){d.eachActiveState(u,function(f,A){var v=l[f];if(f==="normal"&&u.hasItemOption){var x=u.getItemModel(A).get(r,!0);x!=null&&(v=x)}u.setItemVisual(A,"opacity",v)},s.start,s.end)}return{progress:e}}};B.exports=y},q4HE:function(B,N){var r="\\ud800-\\udfff",y="\\u0300-\\u036f",m="\\ufe20-\\ufe2f",C="\\u20d0-\\u20ff",p=y+m+C,g="\\ufe0e\\ufe0f",h="["+r+"]",c="["+p+"]",o="\\ud83c[\\udffb-\\udfff]",n="(?:"+c+"|"+o+")",t="[^"+r+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",i="\\u200d",l=n+"?",e="["+g+"]?",s="(?:"+i+"(?:"+[t,a,d].join("|")+")"+e+l+")*",u=e+l+s,f="(?:"+[t+c+"?",c,a,d,h].join("|")+")",A=RegExp(o+"(?="+o+")|"+f+u,"g");function v(x){for(var b=A.lastIndex=0;A.test(x);)++b;return b}B.exports=v},q7KB:function(B,N,r){},qH13:function(B,N,r){var y=r("ItGF"),m=r("QBsz"),C=m.applyTransform,p=r("mFDi"),g=r("Qe9p"),h=r("6GrX"),c=r("pzxd"),o=r("ni6a"),n=r("Gev7"),t=r("Dagg"),a=r("dqUG"),d=r("y+Vt"),i=r("IMiH"),l=r("QuXc"),e=r("06Qe"),s=i.CMD,u=Math.round,f=Math.sqrt,A=Math.abs,v=Math.cos,x=Math.sin,b=Math.max;if(!y.canvasSupported){var w=",",_="progid:DXImageTransform.Microsoft",T=21600,S=T/2,E=1e5,I=1e3,O=function(me){me.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",me.coordsize=T+","+T,me.coordorigin="0,0"},F=function(me){return String(me).replace(/&/g,"&").replace(/"/g,""")},k=function(me,ae,Le){return"rgb("+[me,ae,Le].join(",")+")"},M=function(me,ae){ae&&me&&ae.parentNode!==me&&me.appendChild(ae)},P=function(me,ae){ae&&me&&ae.parentNode===me&&me.removeChild(ae)},V=function(me,ae,Le){return(parseFloat(me)||0)*E+(parseFloat(ae)||0)*I+Le},D=c.parsePercent,H=function(me,ae,Le){var Ee=g.parse(ae);Le=+Le,isNaN(Le)&&(Le=1),Ee&&(me.color=k(Ee[0],Ee[1],Ee[2]),me.opacity=Le*Ee[3])},U=function(me){var ae=g.parse(me);return[k(ae[0],ae[1],ae[2]),ae[3]]},z=function(me,ae,Le){var Ee=ae.fill;if(Ee!=null)if(Ee instanceof l){var ne,ge=0,Ie=[0,0],Ge=0,ut=1,wt=Le.getBoundingRect(),Pe=wt.width,Dt=wt.height;if(Ee.type==="linear"){ne="gradient";var et=Le.transform,_t=[Ee.x*Pe,Ee.y*Dt],Nt=[Ee.x2*Pe,Ee.y2*Dt];et&&(C(_t,_t,et),C(Nt,Nt,et));var Bt=Nt[0]-_t[0],Ft=Nt[1]-_t[1];ge=Math.atan2(Bt,Ft)*180/Math.PI,ge<0&&(ge+=360),ge<1e-6&&(ge=0)}else{ne="gradientradial";var _t=[Ee.x*Pe,Ee.y*Dt],et=Le.transform,Gt=Le.scale,qe=Pe,we=Dt;Ie=[(_t[0]-wt.x)/qe,(_t[1]-wt.y)/we],et&&C(_t,_t,et),qe/=Gt[0]*T,we/=Gt[1]*T;var ue=b(qe,we);Ge=2*0/ue,ut=2*Ee.r/ue-Ge}var vt=Ee.colorStops.slice();vt.sort(function(le,oe){return le.offset-oe.offset});for(var at=vt.length,Ae=[],Xt=[],Ot=0;Ot<at;Ot++){var rt=vt[Ot],Et=U(rt.color);Xt.push(rt.offset*ut+Ge+" "+Et[0]),(Ot===0||Ot===at-1)&&Ae.push(Et)}if(at>=2){var Zt=Ae[0][0],vr=Ae[1][0],mt=Ae[0][1]*ae.opacity,ce=Ae[1][1]*ae.opacity;me.type=ne,me.method="none",me.focus="100%",me.angle=ge,me.color=Zt,me.color2=vr,me.colors=Xt.join(","),me.opacity=ce,me.opacity2=mt}ne==="radial"&&(me.focusposition=Ie.join(","))}else H(me,Ee,ae.opacity)},K=function(me,ae){ae.lineDash&&(me.dashstyle=ae.lineDash.join(" ")),ae.stroke!=null&&!(ae.stroke instanceof l)&&H(me,ae.stroke,ae.opacity)},G=function(me,ae,Le,Ee){var ne=ae==="fill",ge=me.getElementsByTagName(ae)[0];Le[ae]!=null&&Le[ae]!=="none"&&(ne||!ne&&Le.lineWidth)?(me[ne?"filled":"stroked"]="true",Le[ae]instanceof l&&P(me,ge),ge||(ge=e.createNode(ae)),ne?z(ge,Le,Ee):K(ge,Le),M(me,ge)):(me[ne?"filled":"stroked"]="false",P(me,ge))},X=[[],[],[]],Z=function(me,ae){var Le=s.M,Ee=s.C,ne=s.L,ge=s.A,Ie=s.Q,Ge=[],ut,wt,Pe,Dt,et,_t,Nt=me.data,Bt=me.len();for(Dt=0;Dt<Bt;){Pe=Nt[Dt++],wt="",ut=0;switch(Pe){case Le:wt=" m ",ut=1,et=Nt[Dt++],_t=Nt[Dt++],X[0][0]=et,X[0][1]=_t;break;case ne:wt=" l ",ut=1,et=Nt[Dt++],_t=Nt[Dt++],X[0][0]=et,X[0][1]=_t;break;case Ie:case Ee:wt=" c ",ut=3;var Ft=Nt[Dt++],Gt=Nt[Dt++],qe=Nt[Dt++],we=Nt[Dt++],ue,vt;Pe===Ie?(ue=qe,vt=we,qe=(qe+2*Ft)/3,we=(we+2*Gt)/3,Ft=(et+2*Ft)/3,Gt=(_t+2*Gt)/3):(ue=Nt[Dt++],vt=Nt[Dt++]),X[0][0]=Ft,X[0][1]=Gt,X[1][0]=qe,X[1][1]=we,X[2][0]=ue,X[2][1]=vt,et=ue,_t=vt;break;case ge:var at=0,Ae=0,Xt=1,Ot=1,rt=0;ae&&(at=ae[4],Ae=ae[5],Xt=f(ae[0]*ae[0]+ae[1]*ae[1]),Ot=f(ae[2]*ae[2]+ae[3]*ae[3]),rt=Math.atan2(-ae[1]/Ot,ae[0]/Xt));var Et=Nt[Dt++],Zt=Nt[Dt++],vr=Nt[Dt++],mt=Nt[Dt++],ce=Nt[Dt++]+rt,le=Nt[Dt++]+ce+rt;Dt++;var oe=Nt[Dt++],fe=Et+v(ce)*vr,De=Zt+x(ce)*mt,Ft=Et+v(le)*vr,Gt=Zt+x(le)*mt,He=oe?" wa ":" at ";Math.abs(fe-Ft)<1e-4&&(Math.abs(le-ce)>.01?oe&&(fe+=270/T):Math.abs(De-Zt)<1e-4?oe&&fe<Et||!oe&&fe>Et?Gt-=270/T:Gt+=270/T:oe&&De<Zt||!oe&&De>Zt?Ft+=270/T:Ft-=270/T),Ge.push(He,u(((Et-vr)*Xt+at)*T-S),w,u(((Zt-mt)*Ot+Ae)*T-S),w,u(((Et+vr)*Xt+at)*T-S),w,u(((Zt+mt)*Ot+Ae)*T-S),w,u((fe*Xt+at)*T-S),w,u((De*Ot+Ae)*T-S),w,u((Ft*Xt+at)*T-S),w,u((Gt*Ot+Ae)*T-S)),et=Ft,_t=Gt;break;case s.R:var je=X[0],We=X[1];je[0]=Nt[Dt++],je[1]=Nt[Dt++],We[0]=je[0]+Nt[Dt++],We[1]=je[1]+Nt[Dt++],ae&&(C(je,je,ae),C(We,We,ae)),je[0]=u(je[0]*T-S),We[0]=u(We[0]*T-S),je[1]=u(je[1]*T-S),We[1]=u(We[1]*T-S),Ge.push(" m ",je[0],w,je[1]," l ",We[0],w,je[1]," l ",We[0],w,We[1]," l ",je[0],w,We[1]);break;case s.Z:Ge.push(" x ")}if(ut>0){Ge.push(wt);for(var nt=0;nt<ut;nt++){var xt=X[nt];ae&&C(xt,xt,ae),Ge.push(u(xt[0]*T-S),w,u(xt[1]*T-S),nt<ut-1?w:"")}}}return Ge.join("")};d.prototype.brushVML=function(Y){var me=this.style,ae=this._vmlEl;ae||(ae=e.createNode("shape"),O(ae),this._vmlEl=ae),G(ae,"fill",me,this),G(ae,"stroke",me,this);var Le=this.transform,Ee=Le!=null,ne=ae.getElementsByTagName("stroke")[0];if(ne){var ge=me.lineWidth;if(Ee&&!me.strokeNoScale){var Ie=Le[0]*Le[3]-Le[1]*Le[2];ge*=f(A(Ie))}ne.weight=ge+"px"}var Ge=this.path||(this.path=new i);this.__dirtyPath&&(Ge.beginPath(),Ge.subPixelOptimize=!1,this.buildPath(Ge,this.shape),Ge.toStatic(),this.__dirtyPath=!1),ae.path=Z(Ge,this.transform),ae.style.zIndex=V(this.zlevel,this.z,this.z2),M(Y,ae),me.text!=null?this.drawRectText(Y,this.getBoundingRect()):this.removeRectText(Y)},d.prototype.onRemove=function(Y){P(Y,this._vmlEl),this.removeRectText(Y)},d.prototype.onAdd=function(Y){M(Y,this._vmlEl),this.appendRectText(Y)};var ee=function(me){return typeof me=="object"&&me.tagName&&me.tagName.toUpperCase()==="IMG"};t.prototype.brushVML=function(Y){var me=this.style,ae=me.image,Le,Ee;if(ee(ae)){var ne=ae.src;if(ne===this._imageSrc)Le=this._imageWidth,Ee=this._imageHeight;else{var ge=ae.runtimeStyle,Ie=ge.width,Ge=ge.height;ge.width="auto",ge.height="auto",Le=ae.width,Ee=ae.height,ge.width=Ie,ge.height=Ge,this._imageSrc=ne,this._imageWidth=Le,this._imageHeight=Ee}ae=ne}else ae===this._imageSrc&&(Le=this._imageWidth,Ee=this._imageHeight);if(!ae)return;var ut=me.x||0,wt=me.y||0,Pe=me.width,Dt=me.height,et=me.sWidth,_t=me.sHeight,Nt=me.sx||0,Bt=me.sy||0,Ft=et&&_t,Gt=this._vmlEl;Gt||(Gt=e.doc.createElement("div"),O(Gt),this._vmlEl=Gt);var qe=Gt.style,we=!1,ue,vt=1,at=1;if(this.transform&&(ue=this.transform,vt=f(ue[0]*ue[0]+ue[1]*ue[1]),at=f(ue[2]*ue[2]+ue[3]*ue[3]),we=ue[1]||ue[2]),we){var Ae=[ut,wt],Xt=[ut+Pe,wt],Ot=[ut,wt+Dt],rt=[ut+Pe,wt+Dt];C(Ae,Ae,ue),C(Xt,Xt,ue),C(Ot,Ot,ue),C(rt,rt,ue);var Et=b(Ae[0],Xt[0],Ot[0],rt[0]),Zt=b(Ae[1],Xt[1],Ot[1],rt[1]),vr=[];vr.push("M11=",ue[0]/vt,w,"M12=",ue[2]/at,w,"M21=",ue[1]/vt,w,"M22=",ue[3]/at,w,"Dx=",u(ut*vt+ue[4]),w,"Dy=",u(wt*at+ue[5])),qe.padding="0 "+u(Et)+"px "+u(Zt)+"px 0",qe.filter=_+".Matrix("+vr.join("")+", SizingMethod=clip)"}else ue&&(ut=ut*vt+ue[4],wt=wt*at+ue[5]),qe.filter="",qe.left=u(ut)+"px",qe.top=u(wt)+"px";var mt=this._imageEl,ce=this._cropEl;mt||(mt=e.doc.createElement("div"),this._imageEl=mt);var le=mt.style;if(Ft){if(Le&&Ee)le.width=u(vt*Le*Pe/et)+"px",le.height=u(at*Ee*Dt/_t)+"px";else{var oe=new Image,fe=this;oe.onload=function(){oe.onload=null,Le=oe.width,Ee=oe.height,le.width=u(vt*Le*Pe/et)+"px",le.height=u(at*Ee*Dt/_t)+"px",fe._imageWidth=Le,fe._imageHeight=Ee,fe._imageSrc=ae},oe.src=ae}ce||(ce=e.doc.createElement("div"),ce.style.overflow="hidden",this._cropEl=ce);var De=ce.style;De.width=u((Pe+Nt*Pe/et)*vt),De.height=u((Dt+Bt*Dt/_t)*at),De.filter=_+".Matrix(Dx="+-Nt*Pe/et*vt+",Dy="+-Bt*Dt/_t*at+")",ce.parentNode||Gt.appendChild(ce),mt.parentNode!==ce&&ce.appendChild(mt)}else le.width=u(vt*Pe)+"px",le.height=u(at*Dt)+"px",Gt.appendChild(mt),ce&&ce.parentNode&&(Gt.removeChild(ce),this._cropEl=null);var He="",je=me.opacity;je<1&&(He+=".Alpha(opacity="+u(je*100)+") "),He+=_+".AlphaImageLoader(src="+ae+", SizingMethod=scale)",le.filter=He,Gt.style.zIndex=V(this.zlevel,this.z,this.z2),M(Y,Gt),me.text!=null&&this.drawRectText(Y,this.getBoundingRect())},t.prototype.onRemove=function(Y){P(Y,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(Y)},t.prototype.onAdd=function(Y){M(Y,this._vmlEl),this.appendRectText(Y)};var Se="normal",$={},pe=0,xe=100,_e=document.createElement("div"),Ue=function(me){var ae=$[me];if(!ae){pe>xe&&(pe=0,$={});var Le=_e.style,Ee;try{Le.font=me,Ee=Le.fontFamily.split(",")[0]}catch(ne){}ae={style:Le.fontStyle||Se,variant:Le.fontVariant||Se,weight:Le.fontWeight||Se,size:parseFloat(Le.fontSize||12)|0,family:Ee||"Microsoft YaHei"},$[me]=ae,pe++}return ae},ye;h.$override("measureText",function(Y,me){var ae=e.doc;ye||(ye=ae.createElement("div"),ye.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",e.doc.body.appendChild(ye));try{ye.style.font=me}catch(Le){}return ye.innerHTML="",ye.appendChild(ae.createTextNode(Y)),{width:ye.offsetWidth}});for(var Be=new p,Q=function(me,ae,Le,Ee){var ne=this.style;this.__dirty&&c.normalizeTextStyle(ne,!0);var ge=ne.text;if(ge!=null&&(ge+=""),!ge)return;if(ne.rich){var Ie=h.parseRichText(ge,ne);ge=[];for(var Ge=0;Ge<Ie.lines.length;Ge++){for(var ut=Ie.lines[Ge].tokens,wt=[],Pe=0;Pe<ut.length;Pe++)wt.push(ut[Pe].text);ge.push(wt.join(""))}ge=ge.join(`
|
|
|
`)}var Dt,et,_t=ne.textAlign,Nt=ne.textVerticalAlign,Bt=Ue(ne.font),Ft=Bt.style+" "+Bt.variant+" "+Bt.weight+" "+Bt.size+'px "'+Bt.family+'"';Le=Le||h.getBoundingRect(ge,Ft,_t,Nt,ne.textPadding,ne.textLineHeight);var Gt=this.transform;if(Gt&&!Ee&&(Be.copy(ae),Be.applyTransform(Gt),ae=Be),Ee)Dt=ae.x,et=ae.y;else{var qe=ne.textPosition;if(qe instanceof Array)Dt=ae.x+D(qe[0],ae.width),et=ae.y+D(qe[1],ae.height),_t=_t||"left";else{var we=this.calculateTextPosition?this.calculateTextPosition({},ne,ae):h.calculateTextPosition({},ne,ae);Dt=we.x,et=we.y,_t=_t||we.textAlign,Nt=Nt||we.textVerticalAlign}}Dt=h.adjustTextX(Dt,Le.width,_t),et=h.adjustTextY(et,Le.height,Nt),et+=Le.height/2;var ue=e.createNode,vt=this._textVmlEl,at,Ae,Xt;vt?(Xt=vt.firstChild,at=Xt.nextSibling,Ae=at.nextSibling):(vt=ue("line"),at=ue("path"),Ae=ue("textpath"),Xt=ue("skew"),Ae.style["v-text-align"]="left",O(vt),at.textpathok=!0,Ae.on=!0,vt.from="0 0",vt.to="1000 0.05",M(vt,Xt),M(vt,at),M(vt,Ae),this._textVmlEl=vt);var Ot=[Dt,et],rt=vt.style;Gt&&Ee?(C(Ot,Ot,Gt),Xt.on=!0,Xt.matrix=Gt[0].toFixed(3)+w+Gt[2].toFixed(3)+w+Gt[1].toFixed(3)+w+Gt[3].toFixed(3)+",0,0",Xt.offset=(u(Ot[0])||0)+","+(u(Ot[1])||0),Xt.origin="0 0",rt.left="0px",rt.top="0px"):(Xt.on=!1,rt.left=u(Dt)+"px",rt.top=u(et)+"px"),Ae.string=F(ge);try{Ae.style.font=Ft}catch(Et){}G(vt,"fill",{fill:ne.textFill,opacity:ne.opacity},this),G(vt,"stroke",{stroke:ne.textStroke,opacity:ne.opacity,lineDash:ne.lineDash||null},this),vt.style.zIndex=V(this.zlevel,this.z,this.z2),M(me,vt)},ie=function(me){P(me,this._textVmlEl),this._textVmlEl=null},Ve=function(me){M(me,this._textVmlEl)},J=[o,n,t,d,a],W=0;W<J.length;W++){var j=J[W].prototype;j.drawRectText=Q,j.removeRectText=ie,j.appendRectText=Ve}a.prototype.brushVML=function(Y){var me=this.style;me.text!=null?this.drawRectText(Y,{x:me.x||0,y:me.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(Y)},a.prototype.onRemove=function(Y){this.removeRectText(Y)},a.prototype.onAdd=function(Y){this.appendRectText(Y)}}},qJCg:function(B,N,r){var y=r("BlVb"),m=r("mFDi"),C=r("IwbS"),p=C.linePolygonIntersect,g={lineX:h(0),lineY:h(1),rect:{point:function(n,t,a){return n&&a.boundingRect.contain(n[0],n[1])},rect:function(n,t,a){return n&&a.boundingRect.intersect(n)}},polygon:{point:function(n,t,a){return n&&a.boundingRect.contain(n[0],n[1])&&y.contain(a.range,n[0],n[1])},rect:function(n,t,a){var d=a.range;if(!n||d.length<=1)return!1;var i=n.x,l=n.y,e=n.width,s=n.height,u=d[0];if(y.contain(d,i,l)||y.contain(d,i+e,l)||y.contain(d,i,l+s)||y.contain(d,i+e,l+s)||m.create(n).contain(u[0],u[1])||p(i,l,i+e,l,d)||p(i,l,i,l+s,d)||p(i+e,l,i+e,l+s,d)||p(i,l+s,i+e,l+s,d))return!0}}};function h(n){var t=["x","y"],a=["width","height"];return{point:function(d,i,l){if(d){var e=l.range,s=d[n];return c(s,e)}},rect:function(d,i,l){if(d){var e=l.range,s=[d[t[n]],d[t[n]]+d[a[n]]];return s[1]<s[0]&&s.reverse(),c(s[0],e)||c(s[1],e)||c(e[0],s)||c(e[1],s)}}}}function c(n,t){return t[0]<=n&&n<=t[1]}var o=g;B.exports=o},qMZE:function(B,N,r){var y=r("JEkh"),m=y.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}}}});B.exports=m},qNPg:function(B,N,r){"use strict";r.d(N,"a",function(){return X});var y=r("rePB"),m=r("VTBJ"),C=r("KQm4"),p=r("ODXe"),g=r("Ff2n"),h=r("q1tI"),c=r("4IlW"),o=r("TSYQ"),n=r.n(o),t=r("6cGi"),a=r("bX4T"),d=r("8XRh"),i=r("8OUc"),l=r("c+Xe"),e=function(ee,Se){var $=ee.prefixCls,pe=ee.id,xe=ee.inputElement,_e=ee.disabled,Ue=ee.tabIndex,ye=ee.autoFocus,Be=ee.autoComplete,Q=ee.editable,ie=ee.accessibilityIndex,Ve=ee.value,J=ee.onKeyDown,W=ee.onMouseDown,j=ee.onChange,Y=ee.onPaste,me=ee.onCompositionStart,ae=ee.onCompositionEnd,Le=ee.open,Ee=ee.attrs,ne=xe||h.createElement("input",null),ge=ne,Ie=ge.ref,Ge=ge.props,ut=Ge.onKeyDown,wt=Ge.onChange,Pe=Ge.onMouseDown,Dt=Ge.onCompositionStart,et=Ge.onCompositionEnd,_t=Ge.style;return ne=h.cloneElement(ne,Object(m.a)(Object(m.a)({id:pe,ref:Object(l.a)(Se,Ie),disabled:_e,tabIndex:Ue,autoComplete:Be||"off",autoFocus:ye,className:"".concat($,"-selection-search-input"),style:Object(m.a)(Object(m.a)({},_t),{},{opacity:Q?null:0}),role:"combobox","aria-expanded":Le,"aria-haspopup":"listbox","aria-owns":"".concat(pe,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(pe,"_list"),"aria-activedescendant":"".concat(pe,"_list_").concat(ie)},Ee),{},{value:Q?Ve:"",readOnly:!Q,unselectable:Q?null:"on",onKeyDown:function(Bt){J(Bt),ut&&ut(Bt)},onMouseDown:function(Bt){W(Bt),Pe&&Pe(Bt)},onChange:function(Bt){j(Bt),wt&&wt(Bt)},onCompositionStart:function(Bt){me(Bt),Dt&&Dt(Bt)},onCompositionEnd:function(Bt){ae(Bt),et&&et(Bt)},onPaste:Y})),ne},s=h.forwardRef(e);s.displayName="Input";var u=s,f=r("WKfj");function A(Z,ee){f.b?h.useLayoutEffect(Z,ee):h.useEffect(Z,ee)}var v="__RC_SELECT_MAX_REST_COUNT__",x=function(ee){var Se=ee.id,$=ee.prefixCls,pe=ee.values,xe=ee.open,_e=ee.searchValue,Ue=ee.inputRef,ye=ee.placeholder,Be=ee.disabled,Q=ee.mode,ie=ee.showSearch,Ve=ee.autoFocus,J=ee.autoComplete,W=ee.accessibilityIndex,j=ee.tabIndex,Y=ee.removeIcon,me=ee.choiceTransitionName,ae=ee.maxTagCount,Le=ee.maxTagTextLength,Ee=ee.maxTagPlaceholder,ne=Ee===void 0?function(Et){return"+ ".concat(Et.length," ...")}:Ee,ge=ee.tagRender,Ie=ee.onSelect,Ge=ee.onInputChange,ut=ee.onInputPaste,wt=ee.onInputKeyDown,Pe=ee.onInputMouseDown,Dt=ee.onInputCompositionStart,et=ee.onInputCompositionEnd,_t=h.useState(!1),Nt=Object(p.a)(_t,2),Bt=Nt[0],Ft=Nt[1],Gt=h.useRef(null),qe=h.useState(0),we=Object(p.a)(qe,2),ue=we[0],vt=we[1];h.useEffect(function(){Ft(!0)},[]);var at=xe||Q==="tags"?_e:"",Ae=Q==="tags"||xe&&ie;A(function(){vt(Gt.current.scrollWidth)},[at]);var Xt=pe,Ot;typeof ae=="number"&&(Ot=pe.length-ae,Xt=pe.slice(0,ae)),typeof Le=="number"&&(Xt=Xt.map(function(Et){var Zt=Et.label,vr=Object(g.a)(Et,["label"]),mt=Zt;if(typeof Zt=="string"||typeof Zt=="number"){var ce=String(mt);ce.length>Le&&(mt="".concat(ce.slice(0,Le),"..."))}return Object(m.a)(Object(m.a)({},vr),{},{label:mt})})),Ot>0&&Xt.push({key:v,label:typeof ne=="function"?ne(pe.slice(ae)):ne});var rt=h.createElement(d.CSSMotionList,{component:!1,keys:Xt,motionName:me,motionAppear:Bt},function(Et){var Zt=Et.key,vr=Et.label,mt=Et.value,ce=Et.disabled,le=Et.className,oe=Et.style,fe=Zt||mt,De=Zt!==v&&!ce,He=function(nt){nt.preventDefault(),nt.stopPropagation()},je=function(nt){nt&&nt.stopPropagation(),Ie(mt,{selected:!1})};return typeof ge=="function"?h.createElement("span",{key:fe,onMouseDown:He,className:le,style:oe},ge({label:vr,value:mt,disabled:ce,closable:De,onClose:je})):h.createElement("span",{key:fe,className:n()(le,"".concat($,"-selection-item"),Object(y.a)({},"".concat($,"-selection-item-disabled"),ce)),style:oe},h.createElement("span",{className:"".concat($,"-selection-item-content")},vr),De&&h.createElement(i.a,{className:"".concat($,"-selection-item-remove"),onMouseDown:He,onClick:je,customizeIcon:Y},"\xD7"))});return h.createElement(h.Fragment,null,rt,h.createElement("span",{className:"".concat($,"-selection-search"),style:{width:ue}},h.createElement(u,{ref:Ue,open:xe,prefixCls:$,id:Se,inputElement:null,disabled:Be,autoFocus:Ve,autoComplete:J,editable:Ae,accessibilityIndex:W,value:at,onKeyDown:wt,onMouseDown:Pe,onChange:Ge,onPaste:ut,onCompositionStart:Dt,onCompositionEnd:et,tabIndex:j,attrs:Object(a.a)(ee,!0)}),h.createElement("span",{ref:Gt,className:"".concat($,"-selection-search-mirror"),"aria-hidden":!0},at,"\xA0")),!pe.length&&!at&&h.createElement("span",{className:"".concat($,"-selection-placeholder")},ye))},b=x,w=function(ee){var Se=ee.inputElement,$=ee.prefixCls,pe=ee.id,xe=ee.inputRef,_e=ee.disabled,Ue=ee.autoFocus,ye=ee.autoComplete,Be=ee.accessibilityIndex,Q=ee.mode,ie=ee.open,Ve=ee.values,J=ee.placeholder,W=ee.tabIndex,j=ee.showSearch,Y=ee.searchValue,me=ee.activeValue,ae=ee.onInputKeyDown,Le=ee.onInputMouseDown,Ee=ee.onInputChange,ne=ee.onInputPaste,ge=ee.onInputCompositionStart,Ie=ee.onInputCompositionEnd,Ge=h.useState(!1),ut=Object(p.a)(Ge,2),wt=ut[0],Pe=ut[1],Dt=Q==="combobox",et=Dt||j&&ie,_t=Ve[0],Nt=Y||"";Dt&&me&&!wt&&(Nt=me),h.useEffect(function(){Dt&&Pe(!1)},[Dt,me]);var Bt=Q!=="combobox"&&!ie?!1:!!Nt,Ft=_t&&(typeof _t.label=="string"||typeof _t.label=="number")?_t.label.toString():void 0;return h.createElement(h.Fragment,null,h.createElement("span",{className:"".concat($,"-selection-search")},h.createElement(u,{ref:xe,prefixCls:$,id:pe,open:ie,inputElement:Se,disabled:_e,autoFocus:Ue,autoComplete:ye,editable:et,accessibilityIndex:Be,value:Nt,onKeyDown:ae,onMouseDown:Le,onChange:function(qe){Pe(!0),Ee(qe)},onPaste:ne,onCompositionStart:ge,onCompositionEnd:Ie,tabIndex:W,attrs:Object(a.a)(ee,!0)})),!Dt&&_t&&!Bt&&h.createElement("span",{className:"".concat($,"-selection-item"),title:Ft},_t.label),!_t&&!Bt&&h.createElement("span",{className:"".concat($,"-selection-placeholder")},J))},_=w;function T(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,ee=h.useRef(null),Se=h.useRef(null);h.useEffect(function(){return function(){window.clearTimeout(Se.current)}},[]);function $(pe){(pe||ee.current===null)&&(ee.current=pe),window.clearTimeout(Se.current),Se.current=window.setTimeout(function(){ee.current=null},Z)}return[function(){return ee.current},$]}var S=function(ee,Se){var $=Object(h.useRef)(null),pe=Object(h.useRef)(!1),xe=ee.prefixCls,_e=ee.multiple,Ue=ee.open,ye=ee.mode,Be=ee.showSearch,Q=ee.tokenWithEnter,ie=ee.onSearch,Ve=ee.onSearchSubmit,J=ee.onToggleOpen,W=ee.onInputKeyDown,j=ee.domRef;h.useImperativeHandle(Se,function(){return{focus:function(){$.current.focus()},blur:function(){$.current.blur()}}});var Y=T(0),me=Object(p.a)(Y,2),ae=me[0],Le=me[1],Ee=function(Bt){var Ft=Bt.which;(Ft===c.a.UP||Ft===c.a.DOWN)&&Bt.preventDefault(),W&&W(Bt),Ft===c.a.ENTER&&ye==="tags"&&!pe.current&&!Ue&&Ve(Bt.target.value),[c.a.SHIFT,c.a.TAB,c.a.BACKSPACE,c.a.ESC].includes(Ft)||J(!0)},ne=function(){Le(!0)},ge=Object(h.useRef)(null),Ie=function(Bt){ie(Bt,!0,pe.current)!==!1&&J(!0)},Ge=function(){pe.current=!0},ut=function(){pe.current=!1},wt=function(Bt){var Ft=Bt.target.value;if(Q&&ge.current&&/[\r\n]/.test(ge.current)){var Gt=ge.current.replace(/\r\n/g," ").replace(/[\r\n]/g," ");Ft=Ft.replace(Gt,ge.current)}ge.current=null,Ie(Ft)},Pe=function(Bt){var Ft=Bt.clipboardData,Gt=Ft.getData("text");ge.current=Gt},Dt=function(Bt){var Ft=ae();if(Bt.target!==$.current){Ft||Bt.preventDefault();var Gt=document.body.style.msTouchAction!==void 0;Gt?setTimeout(function(){$.current.focus()}):$.current.focus()}(ye!=="combobox"&&(!Be||!Ft)||!Ue)&&(Ue&&ie("",!0,!1),J())},et={inputRef:$,onInputKeyDown:Ee,onInputMouseDown:ne,onInputChange:wt,onInputPaste:Pe,onInputCompositionStart:Ge,onInputCompositionEnd:ut},_t=_e?h.createElement(b,Object.assign({},ee,et)):h.createElement(_,Object.assign({},ee,et));return h.createElement("div",{ref:j,className:"".concat(xe,"-selector"),onMouseDown:Dt},_t)},E=h.forwardRef(S);E.displayName="Selector";var I=E,O=r("uciX"),F=function(ee){var Se=typeof ee!="number"?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Se,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Se,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Se,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Se,adjustY:1}}}},k=function(ee,Se){var $=ee.prefixCls,pe=ee.disabled,xe=ee.visible,_e=ee.children,Ue=ee.popupElement,ye=ee.containerWidth,Be=ee.animation,Q=ee.transitionName,ie=ee.dropdownStyle,Ve=ee.dropdownClassName,J=ee.direction,W=J===void 0?"ltr":J,j=ee.dropdownMatchSelectWidth,Y=j===void 0?!0:j,me=ee.dropdownRender,ae=ee.dropdownAlign,Le=ee.getPopupContainer,Ee=ee.empty,ne=ee.getTriggerDOMNode,ge=Object(g.a)(ee,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode"]),Ie="".concat($,"-dropdown"),Ge=Ue;me&&(Ge=me(Ue));var ut=h.useMemo(function(){return F(Y)},[Y]),wt=Be?"".concat(Ie,"-").concat(Be):Q,Pe=h.useRef(null);h.useImperativeHandle(Se,function(){return{getPopupElement:function(){return Pe.current}}});var Dt=Object(m.a)({minWidth:ye},ie);return typeof Y=="number"?Dt.width=Y:Y&&(Dt.width=ye),h.createElement(O.a,Object.assign({},ge,{showAction:[],hideAction:[],popupPlacement:W==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:ut,prefixCls:Ie,popupTransitionName:wt,popup:h.createElement("div",{ref:Pe},Ge),popupAlign:ae,popupVisible:xe,getPopupContainer:Le,popupClassName:n()(Ve,Object(y.a)({},"".concat(Ie,"-empty"),Ee)),popupStyle:Dt,getTriggerDOMNode:ne}),_e)},M=h.forwardRef(k);M.displayName="SelectTrigger";var P=M,V=r("wPlo");function D(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,ee=h.useState(!1),Se=Object(p.a)(ee,2),$=Se[0],pe=Se[1],xe=h.useRef(null),_e=function(){window.clearTimeout(xe.current)};h.useEffect(function(){return _e},[]);var Ue=function(Be,Q){_e(),xe.current=window.setTimeout(function(){pe(Be),Q&&Q()},Z)};return[$,Ue,_e]}var H=r("2Qr1");function U(Z,ee,Se){var $=h.useRef(null);$.current={elements:Z.filter(function(pe){return pe}),open:ee,triggerOpen:Se},h.useEffect(function(){function pe(xe){var _e=xe.target;$.current.open&&$.current.elements.every(function(Ue){return!Ue.contains(_e)&&Ue!==_e})&&$.current.triggerOpen(!1)}return window.addEventListener("mousedown",pe),function(){return window.removeEventListener("mousedown",pe)}},[])}function z(Z){var ee=h.useRef(Z),Se=h.useMemo(function(){var $=new Map;ee.current.forEach(function(xe){var _e=xe.value,Ue=xe.label;_e!==Ue&&$.set(_e,Ue)});var pe=Z.map(function(xe){var _e=$.get(xe.value);return xe.value===xe.label&&_e?Object(m.a)(Object(m.a)({},xe),{},{label:_e}):xe});return ee.current=pe,pe},[Z]);return Se}function K(Z,ee){var Se=h.useRef(null),$=h.useMemo(function(){var xe=new Map;return ee.forEach(function(_e){var Ue=_e.data.value;xe.set(Ue,_e)}),xe},[Z,ee]);Se.current=$;var pe=function(_e){return _e.map(function(Ue){return Se.current.get(Ue)}).filter(Boolean)};return pe}var G=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown"];function X(Z){var ee=Z.prefixCls,Se=Z.components.optionList,$=Z.convertChildrenToData,pe=Z.flattenOptions,xe=Z.getLabeledValue,_e=Z.filterOptions,Ue=Z.isValueDisabled,ye=Z.findValueOption,Be=Z.warningProps,Q=Z.fillOptionsWithMissingValue,ie=Z.omitDOMProps;function Ve(W,j){var Y,me=W.prefixCls,ae=me===void 0?ee:me,Le=W.className,Ee=W.id,ne=W.open,ge=W.defaultOpen,Ie=W.options,Ge=W.children,ut=W.mode,wt=W.value,Pe=W.defaultValue,Dt=W.labelInValue,et=W.showSearch,_t=W.inputValue,Nt=W.searchValue,Bt=W.filterOption,Ft=W.optionFilterProp,Gt=Ft===void 0?"value":Ft,qe=W.autoClearSearchValue,we=qe===void 0?!0:qe,ue=W.onSearch,vt=W.allowClear,at=W.clearIcon,Ae=W.showArrow,Xt=W.inputIcon,Ot=W.menuItemSelectedIcon,rt=W.disabled,Et=W.loading,Zt=W.defaultActiveFirstOption,vr=W.notFoundContent,mt=vr===void 0?"Not Found":vr,ce=W.optionLabelProp,le=W.backfill,oe=W.getInputElement,fe=W.getPopupContainer,De=W.listHeight,He=De===void 0?200:De,je=W.listItemHeight,We=je===void 0?20:je,nt=W.animation,xt=W.transitionName,It=W.virtual,ir=W.dropdownStyle,Me=W.dropdownClassName,ke=W.dropdownMatchSelectWidth,re=W.dropdownRender,be=W.dropdownAlign,Ne=W.showAction,Ke=Ne===void 0?[]:Ne,Qe=W.direction,ct=W.tokenSeparators,Lt=W.tagRender,rr=W.onPopupScroll,dr=W.onDropdownVisibleChange,Pt=W.onFocus,jt=W.onBlur,Ct=W.onKeyUp,Rt=W.onKeyDown,pt=W.onMouseDown,ot=W.onChange,gt=W.onSelect,Ye=W.onDeselect,$e=W.onClear,Je=W.internalProps,it=Je===void 0?{}:Je,ft=Object(g.a)(W,["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"]),ht=it.mark===V.a,st=ie?ie(ft):ft;G.forEach(function(In){delete st[In]});var kt=Object(h.useRef)(null),Tt=Object(h.useRef)(null),ar=Object(h.useRef)(null),Qt=Object(h.useRef)(null),Er=Object(h.useMemo)(function(){return(ct||[]).some(function(In){return[`
|
|
|
`,`\r
|
|
|
`].includes(In)})},[ct]),Ir=D(),jr=Object(p.a)(Ir,3),zr=jr[0],hn=jr[1],gn=jr[2],Br=Object(h.useState)(),ln=Object(p.a)(Br,2),Xr=ln[0],cr=ln[1];Object(h.useEffect)(function(){cr("rc_select_".concat(Object(f.a)()))},[]);var wr=Ee||Xr,hr=ce;hr===void 0&&(hr=Ie?"label":"children");var Ar=ut==="combobox"?!1:Dt,kr=ut==="tags"||ut==="multiple",nn=et!==void 0?et:kr||ut==="combobox",wn=Object(h.useRef)(null);h.useImperativeHandle(j,function(){return{focus:ar.current.focus,blur:ar.current.blur}});var oi=Object(t.a)(Pe,{value:wt}),tn=Object(p.a)(oi,2),Vn=tn[0],On=tn[1],$n=Object(h.useMemo)(function(){return Object(f.e)(Vn,{labelInValue:Ar,combobox:ut==="combobox"})},[Vn,Ar]),Qn=Object(h.useMemo)(function(){return new Set($n)},[$n]),ei=Object(h.useState)(null),zi=Object(p.a)(ei,2),hi=zi[0],Bn=zi[1],sn=Object(h.useState)(""),ta=Object(p.a)(sn,2),ua=ta[0],fa=ta[1],Bi=ua;ut==="combobox"&&Vn!==void 0?Bi=Vn:Nt!==void 0?Bi=Nt:_t&&(Bi=_t);var pa=Object(h.useMemo)(function(){var In=Ie;return In===void 0&&(In=$(Ge)),ut==="tags"&&Q&&(In=Q(In,Vn,hr,Dt)),In||[]},[Ie,Ge,ut,Vn]),ui=Object(h.useMemo)(function(){return pe(pa,W)},[pa]),ba=K($n,ui),Dn=Object(h.useMemo)(function(){if(!Bi||!nn)return Object(C.a)(pa);var In=_e(Bi,pa,{optionFilterProp:Gt,filterOption:ut==="combobox"&&Bt===void 0?function(){return!0}:Bt});return ut==="tags"&&In.every(function(kn){return kn[Gt]!==Bi})&&In.unshift({value:Bi,label:Bi,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),In},[pa,Bi,ut,nn]),Pn=Object(h.useMemo)(function(){return pe(Dn,W)},[Dn]);Object(h.useEffect)(function(){Qt.current&&Qt.current.scrollTo&&Qt.current.scrollTo(0)},[Bi]);var Yn=Object(h.useMemo)(function(){var In=$n.map(function(kn){var ti=ba([kn]),or=xe(kn,{options:ti,prevValue:Vn,labelInValue:Ar,optionLabelProp:hr});return Object(m.a)(Object(m.a)({},or),{},{disabled:Ue(kn,ti)})});return!ut&&In.length===1&&In[0].value===null&&In[0].label===null?[]:In},[Vn,pa,ut]);Yn=z(Yn);var Jn=function(kn,ti,or){var br=ba([kn]),Mr=ye([kn],br)[0];if(!it.skipTriggerSelect){var Sr=Ar?xe(kn,{options:br,prevValue:Vn,labelInValue:Ar,optionLabelProp:hr}):kn;ti&>?gt(Sr,Mr):!ti&&Ye&&Ye(Sr,Mr)}ht&&(ti&&it.onRawSelect?it.onRawSelect(kn,Mr,or):!ti&&it.onRawDeselect&&it.onRawDeselect(kn,Mr,or))},ni=Object(h.useState)([]),Fi=Object(p.a)(ni,2),Hi=Fi[0],Za=Fi[1],va=function(kn){if(ht&&it.skipTriggerChange)return;var ti=ba(kn),or=Object(f.f)(Array.from(kn),{labelInValue:Ar,options:ti,getLabeledValue:xe,prevValue:Vn,optionLabelProp:hr}),br=kr?or:or[0];if(ot&&($n.length!==0||or.length!==0)){var Mr=ye(kn,ti,{prevValueOptions:Hi});Za(Mr.map(function(Sr,Wt){var fr=Object(m.a)({},Sr);return Object.defineProperty(fr,"_INTERNAL_OPTION_VALUE_",{get:function(){return kn[Wt]}}),fr})),ot(br,kr?Mr:Mr[0])}On(br)},za=function(kn,ti){var or=ti.selected,br=ti.source;if(rt)return;var Mr;kr?(Mr=new Set($n),or?Mr.add(kn):Mr.delete(kn)):(Mr=new Set,Mr.add(kn)),(kr||!kr&&Array.from($n)[0]!==kn)&&va(Array.from(Mr)),Jn(kn,!kr||or,br),ut==="combobox"?(fa(String(kn)),Bn("")):(!kr||we)&&(fa(""),Bn(""))},to=function(kn,ti){za(kn,Object(m.a)(Object(m.a)({},ti),{},{source:"option"}))},lo=function(kn,ti){za(kn,Object(m.a)(Object(m.a)({},ti),{},{source:"selection"}))},_a=ut==="combobox"&&oe&&oe()||null,Qo=Object(t.a)(void 0,{defaultValue:ge,value:ne}),Uo=Object(p.a)(Qo,2),jo=Uo[0],Ao=Uo[1],fo=jo,Ro=!mt&&!Dn.length;(rt||Ro&&fo&&ut==="combobox")&&(fo=!1);var si=Ro?!1:fo,Ma=function(kn){var ti=kn!==void 0?kn:!fo;jo!==ti&&!rt&&(Ao(ti),dr&&dr(ti))};U([kt.current,Tt.current&&Tt.current.getPopupElement()],si,Ma);var Xo=function(kn,ti,or){var br=!0,Mr=kn;Bn(null);var Sr=or?null:Object(H.f)(kn,ct),Wt=Sr;if(ut==="combobox")ti&&va([Mr]);else if(Sr){Mr="",ut!=="tags"&&(Wt=Sr.map(function(Jt){var Tr=ui.find(function(_r){var Qr=_r.data;return Qr[hr]===Jt});return Tr?Tr.data.value:null}).filter(function(Jt){return Jt!==null}));var fr=Array.from(new Set([].concat(Object(C.a)($n),Object(C.a)(Wt))));va(fr),fr.forEach(function(Jt){Jn(Jt,!0,"input")}),Ma(!1),br=!1}return fa(Mr),ue&&Bi!==Mr&&ue(Mr),br},Io=function(kn){var ti=Array.from(new Set([].concat(Object(C.a)($n),[kn])));va(ti),ti.forEach(function(or){Jn(or,!0,"input")}),fa("")};Object(h.useEffect)(function(){jo&&!!rt&&Ao(!1)},[rt]),Object(h.useEffect)(function(){!fo&&!kr&&ut!=="combobox"&&Xo("",!1,!1)},[fo]);var vo=T(),Co=Object(p.a)(vo,2),tr=Co[0],Wr=Co[1],Yr=function(kn){var ti=tr(),or=kn.which;if(!fo&&or===c.a.ENTER&&Ma(!0),Wr(!!Bi),or===c.a.BACKSPACE&&!ti&&kr&&!Bi&&$n.length){var br=Object(f.c)(Yn,$n);br.removedValue!==null&&(va(br.values),Jn(br.removedValue,!1,"input"))}for(var Mr=arguments.length,Sr=new Array(Mr>1?Mr-1:0),Wt=1;Wt<Mr;Wt++)Sr[Wt-1]=arguments[Wt];if(fo&&Qt.current){var fr;(fr=Qt.current).onKeyDown.apply(fr,[kn].concat(Sr))}Rt&&Rt.apply(void 0,[kn].concat(Sr))},pn=function(kn){for(var ti=arguments.length,or=new Array(ti>1?ti-1:0),br=1;br<ti;br++)or[br-1]=arguments[br];if(fo&&Qt.current){var Mr;(Mr=Qt.current).onKeyUp.apply(Mr,[kn].concat(or))}Ct&&Ct.apply(void 0,[kn].concat(or))},Ze=Object(h.useRef)(!1),Ht=function(){hn(!0),rt||(Pt&&!Ze.current&&Pt.apply(void 0,arguments),Ke.includes("focus")&&Ma(!0)),Ze.current=!0},sr=function(){if(hn(!1,function(){Ze.current=!1,Ma(!1)}),rt)return;Bi&&(ut==="tags"?(Xo("",!1,!1),va(Array.from(new Set([].concat(Object(C.a)($n),[Bi]))))):ut==="multiple"&&fa("")),jt&&jt.apply(void 0,arguments)},er=[];Object(h.useEffect)(function(){return function(){er.forEach(function(In){return clearTimeout(In)}),er.splice(0,er.length)}},[]);var Lr=function(kn){var ti=kn.target,or=Tt.current&&Tt.current.getPopupElement();if(or&&or.contains(ti)){var br=setTimeout(function(){var fr=er.indexOf(br);fr!==-1&&er.splice(fr,1),gn(),or.contains(document.activeElement)||ar.current.focus()});er.push(br)}if(pt){for(var Mr=arguments.length,Sr=new Array(Mr>1?Mr-1:0),Wt=1;Wt<Mr;Wt++)Sr[Wt-1]=arguments[Wt];pt.apply(void 0,[kn].concat(Sr))}},Or=Object(h.useState)(0),qr=Object(p.a)(Or,2),Hr=qr[0],un=qr[1],fn=Zt!==void 0?Zt:ut!=="combobox",yn=function(kn,ti){un(ti),le&&ut==="combobox"&&kn!==null&&Bn(String(kn))},St=Object(h.useState)(null),qt=Object(p.a)(St,2),ur=qt[0],yr=qt[1],Ur=Object(h.useState)({}),Zr=Object(p.a)(Ur,2),cn=Zr[1];function _n(){cn({})}A(function(){if(si){var In=Math.ceil(kt.current.offsetWidth);ur!==In&&yr(In)}},[si]);var Fn=h.createElement(Se,{ref:Qt,prefixCls:ae,id:wr,open:fo,childrenAsData:!Ie,options:Dn,flattenOptions:Pn,multiple:kr,values:Qn,height:He,itemHeight:We,onSelect:to,onToggleOpen:Ma,onActiveValue:yn,defaultActiveFirstOption:fn,notFoundContent:mt,onScroll:rr,searchValue:Bi,menuItemSelectedIcon:Ot,virtual:It!==!1&&ke!==!1,onMouseEnter:_n}),qn,Wn=function(){ht&&it.onClear&&it.onClear(),$e&&$e(),va([]),Xo("",!1,!1)};!rt&&vt&&($n.length||Bi)&&(qn=h.createElement(i.a,{className:"".concat(ae,"-clear"),onMouseDown:Wn,customizeIcon:at},"\xD7"));var Rn=Ae!==void 0?Ae:Et||!kr&&ut!=="combobox",Kn;Rn&&(Kn=h.createElement(i.a,{className:n()("".concat(ae,"-arrow"),Object(y.a)({},"".concat(ae,"-arrow-loading"),Et)),customizeIcon:Xt,customizeIconProps:{loading:Et,searchValue:Bi,open:fo,focused:zr,showSearch:nn}}));var Gn=n()(ae,Le,(Y={},Object(y.a)(Y,"".concat(ae,"-focused"),zr),Object(y.a)(Y,"".concat(ae,"-multiple"),kr),Object(y.a)(Y,"".concat(ae,"-single"),!kr),Object(y.a)(Y,"".concat(ae,"-allow-clear"),vt),Object(y.a)(Y,"".concat(ae,"-show-arrow"),Rn),Object(y.a)(Y,"".concat(ae,"-disabled"),rt),Object(y.a)(Y,"".concat(ae,"-loading"),Et),Object(y.a)(Y,"".concat(ae,"-open"),fo),Object(y.a)(Y,"".concat(ae,"-customize-input"),_a),Object(y.a)(Y,"".concat(ae,"-show-search"),nn),Y));return h.createElement("div",Object.assign({className:Gn},st,{ref:kt,onMouseDown:Lr,onKeyDown:Yr,onKeyUp:pn,onFocus:Ht,onBlur:sr}),zr&&!fo&&h.createElement("span",{style:{width:0,height:0,display:"flex",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat($n.join(", "))),h.createElement(P,{ref:Tt,disabled:rt,prefixCls:ae,visible:si,popupElement:Fn,containerWidth:ur,animation:nt,transitionName:xt,dropdownStyle:ir,dropdownClassName:Me,direction:Qe,dropdownMatchSelectWidth:ke,dropdownRender:re,dropdownAlign:be,getPopupContainer:fe,empty:!pa.length,getTriggerDOMNode:function(){return wn.current}},h.createElement(I,Object.assign({},W,{domRef:wn,prefixCls:ae,inputElement:_a,ref:ar,id:wr,showSearch:nn,mode:ut,accessibilityIndex:Hr,multiple:kr,tagRender:Lt,values:Yn,open:fo,onToggleOpen:Ma,searchValue:Bi,activeValue:hi,onSearch:Xo,onSearchSubmit:Io,onSelect:lo,tokenWithEnter:Er}))),Kn,qn)}var J=h.forwardRef(Ve);return J}},qPY4:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("u4NN"));function m(p){return p&&p.__esModule?p:{default:p}}var C=y;N.default=C,B.exports=C},qWUW:function(B,N,r){"use strict";var y=r("284h"),m=r("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var C=m(r("3tO9")),p=y(r("q1tI")),g=m(r("DL4k")),h=m(r("KQxl")),c=function(t,a){return p.createElement(h.default,(0,C.default)((0,C.default)({},t),{},{ref:a,icon:g.default}))};c.displayName="CaretDownOutlined";var o=p.forwardRef(c);N.default=o},qWt2:function(B,N,r){var y=r("ProS"),m=y.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}}});B.exports=m},qZFw:function(B,N,r){var y=r("bYtY"),m=r("6GrX"),C=r("hM6l"),p=r("4NO4"),g=p.makeInner,h=g();function c(n,t){t=t||[0,360],C.call(this,"angle",n,t),this.type="category"}c.prototype={constructor:c,pointToData:function(n,t){return this.polar.pointToData(n,t)[this.dim==="radius"?0:1]},dataToAngle:C.prototype.dataToCoord,angleToData:C.prototype.coordToData,calculateCategoryInterval:function(){var n=this,t=n.getLabelModel(),a=n.scale,d=a.getExtent(),i=a.count();if(d[1]-d[0]<1)return 0;var l=d[0],e=n.dataToCoord(l+1)-n.dataToCoord(l),s=Math.abs(e),u=m.getBoundingRect(l,t.getFont(),"center","top"),f=Math.max(u.height,7),A=f/s;isNaN(A)&&(A=Infinity);var v=Math.max(0,Math.floor(A)),x=h(n.model),b=x.lastAutoInterval,w=x.lastTickCount;return b!=null&&w!=null&&Math.abs(b-v)<=1&&Math.abs(w-i)<=1&&b>v?v=b:(x.lastTickCount=i,x.lastAutoInterval=v),v}},y.inherits(c,C);var o=c;B.exports=o},qgGe:function(B,N,r){var y=r("bYtY"),m=r("T4UG"),C=r("Bsck"),p=r("VaxA"),g=p.wrapTreePathInfo,h=m.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(o,n){var t={name:o.name,children:o.data};c(t);var a=o.levels||[],d={};return d.levels=a,C.createTree(t,this,d).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(o){var n=m.prototype.getDataParams.apply(this,arguments),t=this.getData().tree.getNodeByDataIndex(o);return n.treePathInfo=g(t,this),n},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(o){o?this._viewRoot=o:o=this._viewRoot;var n=this.getRawData().tree.root;(!o||o!==n&&!n.contains(o))&&(this._viewRoot=n)}});function c(o){var n=0;y.each(o.children,function(a){c(a);var d=a.value;y.isArray(d)&&(d=d[0]),n+=d});var t=o.value;y.isArray(t)&&(t=t[0]),(t==null||isNaN(t))&&(t=n),t<0&&(t=0),y.isArray(o.value)?o.value[0]=t:o.value=t}B.exports=h},qj72:function(B,N,r){var y=r("bYtY");function m(p,g){return g=g||[0,0],y.map(["x","y"],function(h,c){var o=this.getAxis(h),n=g[c],t=p[c]/2;return o.type==="category"?o.getBandWidth():Math.abs(o.dataToCoord(n-t)-o.dataToCoord(n+t))},this)}function C(p){var g=p.grid.getRect();return{coordSys:{type:"cartesian2d",x:g.x,y:g.y,width:g.width,height:g.height},api:{coord:function(h){return p.dataToPoint(h)},size:y.bind(m,p)}}}B.exports=C},"qt/9":function(B,N,r){var y=r("ProS"),m=r("bYtY");r("Wqna"),r("1tlw"),r("Mylv");var C=r("nVfU"),p=C.layout,g=r("f5Yq");r("Ae16"),y.registerLayout(m.curry(p,"pictorialBar")),y.registerVisual(g("pictorialBar","roundRect"))},quyA:function(B,N){var r="\\ud800-\\udfff",y="\\u0300-\\u036f",m="\\ufe20-\\ufe2f",C="\\u20d0-\\u20ff",p=y+m+C,g="\\ufe0e\\ufe0f",h="\\u200d",c=RegExp("["+h+r+p+g+"]");function o(n){return c.test(n)}B.exports=o},qwVE:function(B,N,r){var y=r("ProS"),m=r("bYtY"),C=r("K4ya"),p=r("XxSj"),g=y.PRIORITY.VISUAL.COMPONENT;y.registerVisual(g,{createOnAllSeries:!0,reset:function(c,o){var n=[];return o.eachComponent("visualMap",function(t){var a=c.pipelineContext;if(!t.isTargetSeries(c)||a&&a.large)return;n.push(C.incrementalApplyVisual(t.stateList,t.targetVisuals,m.bind(t.getValueState,t),t.getDataDimension(c.getData())))}),n}}),y.registerVisual(g,{createOnAllSeries:!0,reset:function(c,o){var n=c.getData(),t=[];o.eachComponent("visualMap",function(a){if(a.isTargetSeries(c)){var d=a.getVisualMeta(m.bind(h,null,c,a))||{stops:[],outerColors:[]},i=a.getDataDimension(n),l=n.getDimensionInfo(i);l!=null&&(d.dimension=l.index,t.push(d))}}),c.getData().setVisual("visualMeta",t)}});function h(c,o,n,t){for(var a=o.targetVisuals[t],d=p.prepareVisualTypes(a),i={color:c.getData().getVisual("color")},l=0,e=d.length;l<e;l++){var s=d[l],u=a[s==="opacity"?"__alphaForOpacity":s];u&&u.applyVisual(n,f,A)}return i.color;function f(v){return i[v]}function A(v,x){i[v]=x}}},"r+aA":function(B,N,r){"use strict";var y=r("284h"),m=r("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var C=m(r("3tO9")),p=y(r("q1tI")),g=m(r("s2MQ")),h=m(r("KQxl")),c=function(t,a){return p.createElement(h.default,(0,C.default)((0,C.default)({},t),{},{ref:a,icon:g.default}))};c.displayName="EyeInvisibleOutlined";var o=p.forwardRef(c);N.default=o},"r/2G":function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("+Zaj"));function m(p){return p&&p.__esModule?p:{default:p}}var C=y;N.default=C,B.exports=C},r6Bn:function(B,N,r){var y=r("bYtY"),m=r("ItGF"),C=r("4fz+"),p=r("BPZU");function g(o,n){return o.zlevel===n.zlevel?o.z===n.z?o.z2-n.z2:o.z-n.z:o.zlevel-n.zlevel}var h=function(){this._roots=[],this._displayList=[],this._displayListLen=0};h.prototype={constructor:h,traverse:function(n,t){for(var a=0;a<this._roots.length;a++)this._roots[a].traverse(n,t)},getDisplayList:function(n,t){return t=t||!1,n&&this.updateDisplayList(t),this._displayList},updateDisplayList:function(n){this._displayListLen=0;for(var t=this._roots,a=this._displayList,d=0,i=t.length;d<i;d++)this._updateAndAddDisplayable(t[d],null,n);a.length=this._displayListLen,m.canvasSupported&&p(a,g)},_updateAndAddDisplayable:function(n,t,a){if(n.ignore&&!a)return;n.beforeUpdate(),n.__dirty&&n.update(),n.afterUpdate();var d=n.clipPath;if(d){t?t=t.slice():t=[];for(var i=d,l=n;i;)i.parent=l,i.updateTransform(),t.push(i),l=i,i=i.clipPath}if(n.isGroup){for(var e=n._children,s=0;s<e.length;s++){var u=e[s];n.__dirty&&(u.__dirty=!0),this._updateAndAddDisplayable(u,t,a)}n.__dirty=!1}else n.__clipPaths=t,this._displayList[this._displayListLen++]=n},addRoot:function(n){if(n.__storage===this)return;n instanceof C&&n.addChildrenToStorage(this),this.addToStorage(n),this._roots.push(n)},delRoot:function(n){if(n==null){for(var t=0;t<this._roots.length;t++){var a=this._roots[t];a instanceof C&&a.delChildrenFromStorage(this)}this._roots=[],this._displayList=[],this._displayListLen=0;return}if(n instanceof Array){for(var t=0,d=n.length;t<d;t++)this.delRoot(n[t]);return}var i=y.indexOf(this._roots,n);i>=0&&(this.delFromStorage(n),this._roots.splice(i,1),n instanceof C&&n.delChildrenFromStorage(this))},addToStorage:function(n){return n&&(n.__storage=this,n.dirty(!1)),this},delFromStorage:function(n){return n&&(n.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:g};var c=h;B.exports=c},rA99:function(B,N,r){var y=r("y+Vt"),m=r("QBsz"),C=r("Sj9i"),p=C.quadraticSubdivide,g=C.cubicSubdivide,h=C.quadraticAt,c=C.cubicAt,o=C.quadraticDerivativeAt,n=C.cubicDerivativeAt,t=[];function a(i,l,e){var s=i.cpx2,u=i.cpy2;return s===null||u===null?[(e?n:c)(i.x1,i.cpx1,i.cpx2,i.x2,l),(e?n:c)(i.y1,i.cpy1,i.cpy2,i.y2,l)]:[(e?o:h)(i.x1,i.cpx1,i.x2,l),(e?o:h)(i.y1,i.cpy1,i.y2,l)]}var d=y.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(l,e){var s=e.x1,u=e.y1,f=e.x2,A=e.y2,v=e.cpx1,x=e.cpy1,b=e.cpx2,w=e.cpy2,_=e.percent;if(_===0)return;l.moveTo(s,u),b==null||w==null?(_<1&&(p(s,v,f,_,t),v=t[1],f=t[2],p(u,x,A,_,t),x=t[1],A=t[2]),l.quadraticCurveTo(v,x,f,A)):(_<1&&(g(s,v,b,f,_,t),v=t[1],b=t[2],f=t[3],g(u,x,w,A,_,t),x=t[1],w=t[2],A=t[3]),l.bezierCurveTo(v,x,b,w,f,A))},pointAt:function(l){return a(this.shape,l,!1)},tangentAt:function(l){var e=a(this.shape,l,!0);return m.normalize(e,e)}});B.exports=d},rHrb:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.CopyToClipboard=void 0;var y=C(r("q1tI")),m=C(r("+QRC"));function C(A){return A&&A.__esModule?A:{default:A}}function p(A){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?p=function(x){return typeof x}:p=function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x},p(A)}function g(A,v){var x=Object.keys(A);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(A);v&&(b=b.filter(function(w){return Object.getOwnPropertyDescriptor(A,w).enumerable})),x.push.apply(x,b)}return x}function h(A){for(var v=1;v<arguments.length;v++){var x=arguments[v]!=null?arguments[v]:{};v%2?g(x,!0).forEach(function(b){u(A,b,x[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(x)):g(x).forEach(function(b){Object.defineProperty(A,b,Object.getOwnPropertyDescriptor(x,b))})}return A}function c(A,v){if(A==null)return{};var x=o(A,v),b,w;if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(A);for(w=0;w<_.length;w++){if(b=_[w],v.indexOf(b)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(A,b))continue;x[b]=A[b]}}return x}function o(A,v){if(A==null)return{};var x={},b=Object.keys(A),w,_;for(_=0;_<b.length;_++){if(w=b[_],v.indexOf(w)>=0)continue;x[w]=A[w]}return x}function n(A,v){if(!(A instanceof v))throw new TypeError("Cannot call a class as a function")}function t(A,v){for(var x=0;x<v.length;x++){var b=v[x];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(A,b.key,b)}}function a(A,v,x){return v&&t(A.prototype,v),x&&t(A,x),A}function d(A,v){return v&&(p(v)==="object"||typeof v=="function")?v:l(A)}function i(A){return i=Object.setPrototypeOf?Object.getPrototypeOf:function(x){return x.__proto__||Object.getPrototypeOf(x)},i(A)}function l(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}function e(A,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function");A.prototype=Object.create(v&&v.prototype,{constructor:{value:A,writable:!0,configurable:!0}}),v&&s(A,v)}function s(A,v){return s=Object.setPrototypeOf||function(b,w){return b.__proto__=w,b},s(A,v)}function u(A,v,x){return v in A?Object.defineProperty(A,v,{value:x,enumerable:!0,configurable:!0,writable:!0}):A[v]=x,A}var f=function(A){e(v,A);function v(){var x,b;n(this,v);for(var w=arguments.length,_=new Array(w),T=0;T<w;T++)_[T]=arguments[T];return b=d(this,(x=i(v)).call.apply(x,[this].concat(_))),u(l(b),"onClick",function(S){var E=b.props,I=E.text,O=E.onCopy,F=E.children,k=E.options,M=y.default.Children.only(F),P=(0,m.default)(I,k);O&&O(I,P),M&&M.props&&typeof M.props.onClick=="function"&&M.props.onClick(S)}),b}return a(v,[{key:"render",value:function(){var b=this.props,w=b.text,_=b.onCopy,T=b.options,S=b.children,E=c(b,["text","onCopy","options","children"]),I=y.default.Children.only(S);return y.default.cloneElement(I,h({},E,{onClick:this.onClick}))}}]),v}(y.default.PureComponent);N.CopyToClipboard=f,u(f,"defaultProps",{onCopy:void 0,options:void 0})},rLCj:function(B,N,r){"use strict";var y=r("VTBJ"),m=r("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"},p=C,g=r("6VBw"),h=function(n,t){return m.createElement(g.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};h.displayName="ReloadOutlined";var c=N.a=m.forwardRef(h)},rUJ1:function(B,N){var r=/[&<>"']/,y=/[&<>"']/g,m=/[<>"']|&(?!#?\w+;)/,C=/[<>"']|&(?!#?\w+;)/g,p={"&":"&","<":"<",">":">",'"':""","'":"'"},g=function(S){return p[S]};function h(T,S){if(S){if(r.test(T))return T.replace(y,g)}else if(m.test(T))return T.replace(C,g);return T}var c=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function o(T){return T.replace(c,function(S,E){return E=E.toLowerCase(),E==="colon"?":":E.charAt(0)==="#"?E.charAt(1)==="x"?String.fromCharCode(parseInt(E.substring(2),16)):String.fromCharCode(+E.substring(1)):""})}var n=/(^|[^\[])\^/g;function t(T,S){T=T.source||T,S=S||"";var E={replace:function(O,F){return F=F.source||F,F=F.replace(n,"$1"),T=T.replace(O,F),E},getRegex:function(){return new RegExp(T,S)}};return E}var a=/[^\w:]/g,d=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function i(T,S,E){if(T){var I;try{I=decodeURIComponent(o(E)).replace(a,"").toLowerCase()}catch(O){return null}if(I.indexOf("javascript:")===0||I.indexOf("vbscript:")===0||I.indexOf("data:")===0)return null}S&&!d.test(E)&&(E=f(S,E));try{E=encodeURI(E).replace(/%25/g,"%")}catch(O){return null}return E}var l={},e=/^[^:]+:\/*[^/]*$/,s=/^([^:]+:)[\s\S]*$/,u=/^([^:]+:\/*[^/]*)[\s\S]*$/;function f(T,S){l[" "+T]||(e.test(T)?l[" "+T]=T+"/":l[" "+T]=b(T,"/",!0)),T=l[" "+T];var E=T.indexOf(":")===-1;return S.substring(0,2)==="//"?E?S:T.replace(s,"$1")+S:S.charAt(0)==="/"?E?S:T.replace(u,"$1")+S:T+S}var A={exec:function(){}};function v(T){for(var S=1,E,I;S<arguments.length;S++){E=arguments[S];for(I in E)Object.prototype.hasOwnProperty.call(E,I)&&(T[I]=E[I])}return T}function x(T,S){var E=T.replace(/\|/g,function(F,k,M){for(var P=!1,V=k;--V>=0&&M[V]==="\\";)P=!P;return P?"|":" |"}),I=E.split(/ \|/),O=0;if(I.length>S)I.splice(S);else for(;I.length<S;)I.push("");for(;O<I.length;O++)I[O]=I[O].trim().replace(/\\\|/g,"|");return I}function b(T,S,E){var I=T.length;if(I===0)return"";for(var O=0;O<I;){var F=T.charAt(I-O-1);if(F===S&&!E)O++;else if(F!==S&&E)O++;else break}return T.substr(0,I-O)}function w(T,S){if(T.indexOf(S[1])===-1)return-1;for(var E=T.length,I=0,O=0;O<E;O++)if(T[O]==="\\")O++;else if(T[O]===S[0])I++;else if(T[O]===S[1]&&(I--,I<0))return O;return-1}function _(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")}B.exports={escape:h,unescape:o,edit:t,cleanUrl:i,resolveUrl:f,noopTest:A,merge:v,splitCells:x,rtrim:b,findClosingBracket:w,checkSanitizeDeprecation:_}},rdUC:function(B,N,r){var y=r("MFOe"),m=y.Global;B.exports={name:"localStorage",read:p,write:g,each:h,remove:c,clearAll:o};function C(){return m.localStorage}function p(n){return C().getItem(n)}function g(n,t){return C().setItem(n,t)}function h(n){for(var t=C().length-1;t>=0;t--){var a=C().key(t);n(p(a),a)}}function c(n){return C().removeItem(n)}function o(){return C().clear()}},rdor:function(B,N,r){var y=r("lOQZ"),m=y.circularLayout;function C(p){p.eachSeriesByType("graph",function(g){g.get("layout")==="circular"&&m(g,"symbolSize")})}B.exports=C},rfSb:function(B,N,r){var y=r("T4UG"),m=r("sdST"),C=r("L0Ub"),p=C.getDimensionTypeByAxis,g=r("YXkt"),h=r("bYtY"),c=r("4NO4"),o=c.groupData,n=r("7aKB"),t=n.encodeHTML,a=r("xKMd"),d=2,i=y.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(e){i.superApply(this,"init",arguments),this.legendVisualProvider=new a(h.bind(this.getData,this),h.bind(this.getRawData,this))},fixData:function(e){var s=e.length,u=o(e,function(M){return M[2]}),f=[];u.buckets.each(function(M,P){f.push({name:P,dataList:M})});for(var A=f.length,v=-1,x=-1,b=0;b<A;++b){var w=f[b].dataList.length;w>v&&(v=w,x=b)}for(var _=0;_<A;++_){if(_===x)continue;for(var T=f[_].name,S=0;S<v;++S){for(var E=f[x].dataList[S][0],I=f[_].dataList.length,O=-1,F=0;F<I;++F){var k=f[_].dataList[F][0];if(k===E){O=F;break}}O===-1&&(e[s]=[],e[s][0]=E,e[s][1]=0,e[s][2]=T,s++)}}return e},getInitialData:function(e,s){for(var u=s.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0],f=u.get("type"),A=h.filter(e.data,function(E){return E[2]!==void 0}),v=this.fixData(A||[]),x=[],b=this.nameMap=h.createHashMap(),w=0,_=0;_<v.length;++_)x.push(v[_][d]),b.get(v[_][d])||(b.set(v[_][d],w),w++);var T=m(v,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:p(f)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),S=new g(T,this);return S.initData(v),S},getLayerSeries:function(){for(var e=this.getData(),s=e.count(),u=[],f=0;f<s;++f)u[f]=f;var A=e.mapDimension("single"),v=o(u,function(b){return e.get("name",b)}),x=[];return v.buckets.each(function(b,w){b.sort(function(_,T){return e.get(A,_)-e.get(A,T)}),x.push({name:w,indices:b})}),x},getAxisTooltipData:function(e,s,u){h.isArray(e)||(e=e?[e]:[]);for(var f=this.getData(),A=this.getLayerSeries(),v=[],x=A.length,b,w=0;w<x;++w){for(var _=Number.MAX_VALUE,T=-1,S=A[w].indices.length,E=0;E<S;++E){var I=f.get(e[0],A[w].indices[E]),O=Math.abs(I-s);O<=_&&(b=I,_=O,T=A[w].indices[E])}v.push(T)}return{dataIndices:v,nestestValue:b}},formatTooltip:function(e){var s=this.getData(),u=s.getName(e),f=s.get(s.mapDimension("value"),e);return(isNaN(f)||f==null)&&(f="-"),t(u+" : "+f)},defaultOption:{zlevel:0,z:2,coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",color:"#000",fontSize:11},emphasis:{label:{show:!0}}}}),l=i;B.exports=l},rkZ5:function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("ProS"),p=r("c8qY"),g=r("D9ME"),h=r("fls0"),c=r("RSch"),o=r("akwb"),n=r("o40c"),t=r("ZYIC"),a=r("sK/D"),d=a.createClipPath,i=C.extendChartView({type:"lines",init:function(){},render:function(l,e,s){var u=l.getData(),f=this._updateLineDraw(u,l),A=l.get("zlevel"),v=l.get("effect.trailLength"),x=s.getZr(),b=x.painter.getType()==="svg";b||x.painter.getLayer(A).clear(!0),this._lastZlevel!=null&&!b&&x.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(l)&&v&&(b||x.configLayer(A,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(v/10+.9,1),0)})),f.updateData(u);var w=l.get("clip",!0)&&d(l.coordinateSystem,!1,l);w?this.group.setClipPath(w):this.group.removeClipPath(),this._lastZlevel=A,this._finished=!0},incrementalPrepareRender:function(l,e,s){var u=l.getData(),f=this._updateLineDraw(u,l);f.incrementalPrepareUpdate(u),this._clearLayer(s),this._finished=!1},incrementalRender:function(l,e,s){this._lineDraw.incrementalUpdate(l,e.getData()),this._finished=l.end===e.getData().count()},updateTransform:function(l,e,s){var u=l.getData(),f=l.pipelineContext;if(!this._finished||f.large||f.progressiveRender)return{update:!0};var A=t.reset(l);A.progress&&A.progress({start:0,end:u.count()},u),this._lineDraw.updateLayout(),this._clearLayer(s)},_updateLineDraw:function(l,e){var s=this._lineDraw,u=this._showEffect(e),f=!!e.get("polyline"),A=e.pipelineContext,v=A.large;return(!s||u!==this._hasEffet||f!==this._isPolyline||v!==this._isLargeDraw)&&(s&&s.remove(),s=this._lineDraw=v?new n:new p(f?u?o:c:u?g:h),this._hasEffet=u,this._isPolyline=f,this._isLargeDraw=v,this.group.removeAll()),this.group.add(s.group),s},_showEffect:function(l){return!!l.get("effect.show")},_clearLayer:function(l){var e=l.getZr(),s=e.painter.getType()==="svg";!s&&this._lastZlevel!=null&&e.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(l,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},dispose:function(){}});B.exports=i},rmlV:function(B,N,r){var y=r("y+Vt"),m=y.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(p,g){var h=.5522848,c=g.cx,o=g.cy,n=g.rx,t=g.ry,a=n*h,d=t*h;p.moveTo(c-n,o),p.bezierCurveTo(c-n,o-d,c-a,o-t,c,o-t),p.bezierCurveTo(c+a,o-t,c+n,o-d,c+n,o),p.bezierCurveTo(c+n,o+d,c+a,o+t,c,o+t),p.bezierCurveTo(c-a,o+t,c-n,o+d,c-n,o),p.closePath()}});B.exports=m},rnVJ:function(B,N,r){var y=r("bYtY"),m=["rect","polygon","keep","clear"];function C(g,h){var c=g&&g.brush;if(y.isArray(c)||(c=c?[c]:[]),!c.length)return;var o=[];y.each(c,function(i){var l=i.hasOwnProperty("toolbox")?i.toolbox:[];l instanceof Array&&(o=o.concat(l))});var n=g&&g.toolbox;y.isArray(n)&&(n=n[0]),n||(n={feature:{}},g.toolbox=[n]);var t=n.feature||(n.feature={}),a=t.brush||(t.brush={}),d=a.type||(a.type=[]);d.push.apply(d,o),p(d),h&&!d.length&&d.push.apply(d,m)}function p(g){var h={};y.each(g,function(c){h[c]=1}),g.length=0,y.each(h,function(c,o){g.push(o)})}B.exports=C},rwxt:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=r("GdRQ");function m(c,o){if(!(c instanceof o))throw new TypeError("Cannot call a class as a function")}function C(c,o){for(var n=0;n<o.length;n++){var t=o[n];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(c,t.key,t)}}function p(c,o,n){return o&&C(c.prototype,o),n&&C(c,n),c}var g=!y.supportsCursorURIs||y.isTouchDevice,h=function(){function c(){m(this,c),this._target=null,this._canvas=document.createElement("canvas"),g&&(this._canvas.style.position="fixed",this._canvas.style.zIndex="65535",this._canvas.style.pointerEvents="none",this._canvas.style.visibility="hidden"),this._position={x:0,y:0},this._hotSpot={x:0,y:0},this._eventHandlers={mouseover:this._handleMouseOver.bind(this),mouseleave:this._handleMouseLeave.bind(this),mousemove:this._handleMouseMove.bind(this),mouseup:this._handleMouseUp.bind(this)}}return p(c,[{key:"attach",value:function(n){if(this._target&&this.detach(),this._target=n,g){document.body.appendChild(this._canvas);var t={capture:!0,passive:!0};this._target.addEventListener("mouseover",this._eventHandlers.mouseover,t),this._target.addEventListener("mouseleave",this._eventHandlers.mouseleave,t),this._target.addEventListener("mousemove",this._eventHandlers.mousemove,t),this._target.addEventListener("mouseup",this._eventHandlers.mouseup,t)}this.clear()}},{key:"detach",value:function(){if(!this._target)return;if(g){var n={capture:!0,passive:!0};this._target.removeEventListener("mouseover",this._eventHandlers.mouseover,n),this._target.removeEventListener("mouseleave",this._eventHandlers.mouseleave,n),this._target.removeEventListener("mousemove",this._eventHandlers.mousemove,n),this._target.removeEventListener("mouseup",this._eventHandlers.mouseup,n),document.body.removeChild(this._canvas)}this._target=null}},{key:"change",value:function(n,t,a,d,i){if(d===0||i===0){this.clear();return}this._position.x=this._position.x+this._hotSpot.x-t,this._position.y=this._position.y+this._hotSpot.y-a,this._hotSpot.x=t,this._hotSpot.y=a;var l=this._canvas.getContext("2d");this._canvas.width=d,this._canvas.height=i;var e;try{e=new ImageData(new Uint8ClampedArray(n),d,i)}catch(u){e=l.createImageData(d,i),e.data.set(new Uint8ClampedArray(n))}if(l.clearRect(0,0,d,i),l.putImageData(e,0,0),g)this._updatePosition();else{var s=this._canvas.toDataURL();this._target.style.cursor="url("+s+")"+t+" "+a+", 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(n,t){if(!g)return;window.visualViewport?(this._position.x=n+window.visualViewport.offsetLeft,this._position.y=t+window.visualViewport.offsetTop):(this._position.x=n,this._position.y=t),this._updatePosition();var a=document.elementFromPoint(n,t);this._updateVisibility(a)}},{key:"_handleMouseOver",value:function(n){this._handleMouseMove(n)}},{key:"_handleMouseLeave",value:function(n){this._updateVisibility(n.relatedTarget)}},{key:"_handleMouseMove",value:function(n){this._updateVisibility(n.target),this._position.x=n.clientX-this._hotSpot.x,this._position.y=n.clientY-this._hotSpot.y,this._updatePosition()}},{key:"_handleMouseUp",value:function(n){var t=this,a=document.elementFromPoint(n.clientX,n.clientY);this._updateVisibility(a),this._captureIsActive()&&window.setTimeout(function(){if(!t._target)return;a=document.elementFromPoint(n.clientX,n.clientY),t._updateVisibility(a)},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(n){return n?n===this._target?!0:this._target.contains(n)?!(window.getComputedStyle(n).cursor!=="none"):!1:!1}},{key:"_updateVisibility",value:function(n){this._captureIsActive()&&(n=document.captureElement),this._shouldShowCursor(n)?this._showCursor():this._hideCursor()}},{key:"_updatePosition",value:function(){this._canvas.style.left=this._position.x+"px",this._canvas.style.top=this._position.y+"px"}},{key:"_captureIsActive",value:function(){return document.captureElement&&document.documentElement.contains(document.captureElement)}}]),c}();N.default=h},rySg:function(B,N,r){r("SMc4"),r("8nMs")},s2MQ:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"};N.default=y},s2lz:function(B,N,r){var y=r("ProS"),m=r("bYtY"),C=r("IwbS"),p=r("gPAo"),g=r("VaxA"),h=r("9hCq"),c=r("SgGq"),o=r("mFDi"),n=r("Fofx"),t=r("5s0K"),a=r("KCsZ"),d=r("7aKB"),i=d.windowOpen,l=m.bind,e=C.Group,s=C.Rect,u=m.each,f=3,A=["label"],v=["emphasis","label"],x=["upperLabel"],b=["emphasis","upperLabel"],w=10,_=1,T=2,S=a([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),E=function(M){var P=S(M);return P.stroke=P.fill=P.lineWidth=null,P},I=y.extendChartView({type:"treemap",init:function(M,P){this._containerGroup,this._storage=O(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(M,P,V,D){var H=P.findComponents({mainType:"series",subType:"treemap",query:D});if(m.indexOf(H,M)<0)return;this.seriesModel=M,this.api=V,this.ecModel=P;var U=["treemapZoomToNode","treemapRootToNode"],z=g.retrieveTargetInfo(D,U,M),K=D&&D.type,G=M.layoutInfo,X=!this._oldTree,Z=this._storage,ee=K==="treemapRootToNode"&&z&&Z?{rootNodeGroup:Z.nodeGroup[z.node.getRawIndex()],direction:D.direction}:null,Se=this._giveContainerGroup(G),$=this._doRender(Se,M,ee);!X&&(!K||K==="treemapZoomToNode"||K==="treemapRootToNode")?this._doAnimation(Se,$,M,ee):$.renderFinally(),this._resetController(V),this._renderBreadcrumb(M,V,z)},_giveContainerGroup:function(M){var P=this._containerGroup;return P||(P=this._containerGroup=new e,this._initEvents(P),this.group.add(P)),P.attr("position",[M.x,M.y]),P},_doRender:function(M,P,V){var D=P.getData().tree,H=this._oldTree,U=O(),z=O(),K=this._storage,G=[],X=m.curry(F,P,z,K,V,U,G);ee(D.root?[D.root]:[],H&&H.root?[H.root]:[],M,D===H||!H,0);var Z=Se(K);return this._oldTree=D,this._storage=z,{lastsForAnimation:U,willDeleteEls:Z,renderFinally:$};function ee(pe,xe,_e,Ue,ye){Ue?(xe=pe,u(pe,function(ie,Ve){!ie.isRemoved()&&Q(Ve,Ve)})):new p(xe,pe,Be,Be).add(Q).update(Q).remove(m.curry(Q,null)).execute();function Be(ie){return ie.getId()}function Q(ie,Ve){var J=ie!=null?pe[ie]:null,W=Ve!=null?xe[Ve]:null,j=X(J,W,_e,ye);j&&ee(J&&J.viewChildren||[],W&&W.viewChildren||[],j,Ue,ye+1)}}function Se(pe){var xe=O();return pe&&u(pe,function(_e,Ue){var ye=xe[Ue];u(_e,function(Be){Be&&(ye.push(Be),Be.__tmWillDelete=1)})}),xe}function $(){u(Z,function(pe){u(pe,function(xe){xe.parent&&xe.parent.remove(xe)})}),u(G,function(pe){pe.invisible=!0,pe.dirty()})}},_doAnimation:function(M,P,V,D){if(!V.get("animation"))return;var H=V.get("animationDurationUpdate"),U=V.get("animationEasing"),z=t.createWrap();u(P.willDeleteEls,function(K,G){u(K,function(X,Z){if(X.invisible)return;var ee=X.parent,Se;if(D&&D.direction==="drillDown")Se=ee===D.rootNodeGroup?{shape:{x:0,y:0,width:ee.__tmNodeWidth,height:ee.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var $=0,pe=0;ee.__tmWillDelete||($=ee.__tmNodeWidth/2,pe=ee.__tmNodeHeight/2),Se=G==="nodeGroup"?{position:[$,pe],style:{opacity:0}}:{shape:{x:$,y:pe,width:0,height:0},style:{opacity:0}}}Se&&z.add(X,Se,H,U)})}),u(this._storage,function(K,G){u(K,function(X,Z){var ee=P.lastsForAnimation[G][Z],Se={};if(!ee)return;G==="nodeGroup"?ee.old&&(Se.position=X.position.slice(),X.attr("position",ee.old)):(ee.old&&(Se.shape=m.extend({},X.shape),X.setShape(ee.old)),ee.fadein?(X.setStyle("opacity",0),Se.style={opacity:1}):X.style.opacity!==1&&(Se.style={opacity:1})),z.add(X,Se,H,U)})},this),this._state="animating",z.done(l(function(){this._state="ready",P.renderFinally()},this)).start()},_resetController:function(M){var P=this._controller;P||(P=this._controller=new c(M.getZr()),P.enable(this.seriesModel.get("roam")),P.on("pan",l(this._onPan,this)),P.on("zoom",l(this._onZoom,this)));var V=new o(0,0,M.getWidth(),M.getHeight());P.setPointerChecker(function(D,H,U){return V.contain(H,U)})},_clearController:function(){var M=this._controller;M&&(M.dispose(),M=null)},_onPan:function(M){if(this._state!=="animating"&&(Math.abs(M.dx)>f||Math.abs(M.dy)>f)){var P=this.seriesModel.getData().tree.root;if(!P)return;var V=P.getLayout();if(!V)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:V.x+M.dx,y:V.y+M.dy,width:V.width,height:V.height}})}},_onZoom:function(M){var P=M.originX,V=M.originY;if(this._state!=="animating"){var D=this.seriesModel.getData().tree.root;if(!D)return;var H=D.getLayout();if(!H)return;var U=new o(H.x,H.y,H.width,H.height),z=this.seriesModel.layoutInfo;P-=z.x,V-=z.y;var K=n.create();n.translate(K,K,[-P,-V]),n.scale(K,K,[M.scale,M.scale]),n.translate(K,K,[P,V]),U.applyTransform(K),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:U.x,y:U.y,width:U.width,height:U.height}})}},_initEvents:function(M){M.on("click",function(P){if(this._state!=="ready")return;var V=this.seriesModel.get("nodeClick",!0);if(!V)return;var D=this.findTarget(P.offsetX,P.offsetY);if(!D)return;var H=D.node;if(H.getLayout().isLeafRoot)this._rootToNode(D);else if(V==="zoomToNode")this._zoomToNode(D);else if(V==="link"){var U=H.hostTree.data.getItemModel(H.dataIndex),z=U.get("link",!0),K=U.get("target",!0)||"blank";z&&i(z,K)}},this)},_renderBreadcrumb:function(M,P,V){V||(V=M.get("leafDepth",!0)!=null?{node:M.getViewRoot()}:this.findTarget(P.getWidth()/2,P.getHeight()/2),V||(V={node:M.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new h(this.group))).render(M,P,V.node,l(D,this));function D(H){this._state!=="animating"&&(g.aboveViewRoot(M.getViewRoot(),H)?this._rootToNode({node:H}):this._zoomToNode({node:H}))}},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=O(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(M){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:M.node})},_rootToNode:function(M){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:M.node})},findTarget:function(M,P){var V,D=this.seriesModel.getViewRoot();return D.eachNode({attr:"viewChildren",order:"preorder"},function(H){var U=this._storage.background[H.getRawIndex()];if(U){var z=U.transformCoordToLocal(M,P),K=U.shape;if(K.x<=z[0]&&z[0]<=K.x+K.width&&K.y<=z[1]&&z[1]<=K.y+K.height)V={node:H,offsetX:z[0],offsetY:z[1]};else return!1}},this),V}});function O(){return{nodeGroup:[],background:[],content:[]}}function F(M,P,V,D,H,U,z,K,G,X){if(!z)return;var Z=z.getLayout(),ee=M.getData();if(ee.setItemGraphicEl(z.dataIndex,null),!Z||!Z.isInView)return;var Se=Z.width,$=Z.height,pe=Z.borderWidth,xe=Z.invisible,_e=z.getRawIndex(),Ue=K&&K.getRawIndex(),ye=z.viewChildren,Be=Z.upperHeight,Q=ye&&ye.length,ie=z.getModel("itemStyle"),Ve=z.getModel("emphasis.itemStyle"),J=ge("nodeGroup",e);if(!J)return;if(G.add(J),J.attr("position",[Z.x||0,Z.y||0]),J.__tmNodeWidth=Se,J.__tmNodeHeight=$,Z.isAboveViewRoot)return J;var W=z.getModel(),j=ge("background",s,X,_);if(j&&me(J,j,Q&&Z.upperLabelHeight),Q)C.isHighDownDispatcher(J)&&C.setAsHighDownDispatcher(J,!1),j&&(C.setAsHighDownDispatcher(j,!0),ee.setItemGraphicEl(z.dataIndex,j));else{var Y=ge("content",s,X,T);Y&&ae(J,Y),j&&C.isHighDownDispatcher(j)&&C.setAsHighDownDispatcher(j,!1),C.setAsHighDownDispatcher(J,!0),ee.setItemGraphicEl(z.dataIndex,J)}return J;function me(ut,wt,Pe){if(wt.dataIndex=z.dataIndex,wt.seriesIndex=M.seriesIndex,wt.setShape({x:0,y:0,width:Se,height:$}),xe)Le(wt);else{wt.invisible=!1;var Dt=z.getVisual("borderColor",!0),et=Ve.get("borderColor"),_t=E(ie);_t.fill=Dt;var Nt=S(Ve);if(Nt.fill=et,Pe){var Bt=Se-2*pe;Ee(_t,Nt,Dt,Bt,Be,{x:pe,y:0,width:Bt,height:Be})}else _t.text=Nt.text=null;wt.setStyle(_t),C.setElementHoverStyle(wt,Nt)}ut.add(wt)}function ae(ut,wt){wt.dataIndex=z.dataIndex,wt.seriesIndex=M.seriesIndex;var Pe=Math.max(Se-2*pe,0),Dt=Math.max($-2*pe,0);if(wt.culling=!0,wt.setShape({x:pe,y:pe,width:Pe,height:Dt}),xe)Le(wt);else{wt.invisible=!1;var et=z.getVisual("color",!0),_t=E(ie);_t.fill=et;var Nt=S(Ve);Ee(_t,Nt,et,Pe,Dt),wt.setStyle(_t),C.setElementHoverStyle(wt,Nt)}ut.add(wt)}function Le(ut){!ut.invisible&&U.push(ut)}function Ee(ut,wt,Pe,Dt,et,_t){var Nt=W.get("name"),Bt=W.getModel(_t?x:A),Ft=W.getModel(_t?b:v),Gt=Bt.getShallow("show");C.setLabelStyle(ut,wt,Bt,Ft,{defaultText:Gt?Nt:null,autoColor:Pe,isRectText:!0,labelFetcher:M,labelDataIndex:z.dataIndex,labelProp:_t?"upperLabel":"label"}),ne(ut,_t,Z),ne(wt,_t,Z),_t&&(ut.textRect=m.clone(_t)),ut.truncate=Gt&&Bt.get("ellipsis")?{outerWidth:Dt,outerHeight:et,minChar:2}:null}function ne(ut,wt,Pe){var Dt=ut.text;if(!wt&&Pe.isLeafRoot&&Dt!=null){var et=M.get("drillDownIcon",!0);ut.text=et?et+" "+Dt:Dt}}function ge(ut,wt,Pe,Dt){var et=Ue!=null&&V[ut][Ue],_t=H[ut];return et?(V[ut][Ue]=null,Ie(_t,et,ut)):xe||(et=new wt({z:k(Pe,Dt)}),et.__tmDepth=Pe,et.__tmStorageName=ut,Ge(_t,et,ut)),P[ut][_e]=et}function Ie(ut,wt,Pe){var Dt=ut[_e]={};Dt.old=Pe==="nodeGroup"?wt.position.slice():m.extend({},wt.shape)}function Ge(ut,wt,Pe){var Dt=ut[_e]={},et=z.parentNode;if(et&&(!D||D.direction==="drillDown")){var _t=0,Nt=0,Bt=H.background[et.getRawIndex()];!D&&Bt&&Bt.old&&(_t=Bt.old.width,Nt=Bt.old.height),Dt.old=Pe==="nodeGroup"?[0,Nt]:{x:_t,y:Nt,width:0,height:0}}Dt.fadein=Pe!=="nodeGroup"}}function k(M,P){var V=M*w+P;return(V-1)/V}B.exports=I},sAZ8:function(B,N,r){var y=r("ProS"),m=r("bYtY"),C=r("+rIm"),p=r("/IIm"),g=r("9KIM"),h=r("IwbS"),c=["axisLine","axisTickLabel","axisName"],o=y.extendComponentView({type:"parallelAxis",init:function(i,l){o.superApply(this,"init",arguments),(this._brushController=new p(l.getZr())).on("brush",m.bind(this._onBrush,this))},render:function(i,l,e,s){if(n(i,l,s))return;this.axisModel=i,this.api=e,this.group.removeAll();var u=this._axisGroup;if(this._axisGroup=new h.Group,this.group.add(this._axisGroup),!i.get("show"))return;var f=a(i,l),A=f.coordinateSystem,v=i.getAreaSelectStyle(),x=v.width,b=i.axis.dim,w=A.getAxisLayout(b),_=m.extend({strokeContainThreshold:x},w),T=new C(i,_);m.each(c,T.add,T),this._axisGroup.add(T.getGroup()),this._refreshBrushController(_,v,i,f,x,e);var S=s&&s.animation===!1?null:i;h.groupTransition(u,this._axisGroup,S)},_refreshBrushController:function(i,l,e,s,u,f){var A=e.axis.getExtent(),v=A[1]-A[0],x=Math.min(30,Math.abs(v)*.1),b=h.BoundingRect.create({x:A[0],y:-u/2,width:v,height:u});b.x-=x,b.width+=2*x,this._brushController.mount({enableGlobalPan:!0,rotation:i.rotation,position:i.position}).setPanels([{panelId:"pl",clipPath:g.makeRectPanelClipPath(b),isTargetByCursor:g.makeRectIsTargetByCursor(b,f,s),getLinearBrushOtherExtent:g.makeLinearBrushOtherExtent(b,0)}]).enableBrush({brushType:"lineX",brushStyle:l,removeOnClick:!0}).updateCovers(t(e))},_onBrush:function(i,l){var e=this.axisModel,s=e.axis,u=m.map(i,function(f){return[s.coordToData(f.range[0],!0),s.coordToData(f.range[1],!0)]});(!e.option.realtime===l.isEnd||l.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:e.id,intervals:u})},dispose:function(){this._brushController.dispose()}});function n(i,l,e){return e&&e.type==="axisAreaSelect"&&l.findComponents({mainType:"parallelAxis",query:e})[0]===i}function t(i){var l=i.axis;return m.map(i.activeIntervals,function(e){return{brushType:"lineX",panelId:"pl",range:[l.dataToCoord(e[0],!0),l.dataToCoord(e[1],!0)]}})}function a(i,l){return l.getComponent("parallel",i.get("parallelIndex"))}var d=o;B.exports=d},sE09:function(B,N,r){},sGsY:function(B,N,r){"use strict";var y=r("lSNA"),m=r.n(y),C=r("pVnL"),p=r.n(C),g=r("q1tI"),h=r("TSYQ"),c=r.n(h),o=r("H84U"),n=r("B6l+"),t=r.n(n),a=function(z){var K=z.value,G=z.formatter,X=z.precision,Z=z.decimalSeparator,ee=z.groupSeparator,Se=ee===void 0?"":ee,$=z.prefixCls,pe;if(typeof G=="function")pe=G(K);else{var xe=String(K),_e=xe.match(/^(-?)(\d*)(\.(\d+))?$/);if(!_e||xe==="-")pe=xe;else{var Ue=_e[1],ye=_e[2]||"0",Be=_e[4]||"";ye=ye.replace(/\B(?=(\d{3})+(?!\d))/g,Se),typeof X=="number"&&(Be=t()(Be,X,"0").slice(0,X)),Be&&(Be="".concat(Z).concat(Be)),pe=[g.createElement("span",{key:"int",className:"".concat($,"-content-value-int")},Ue,ye),Be&&g.createElement("span",{key:"decimal",className:"".concat($,"-content-value-decimal")},Be)]}}return g.createElement("span",{className:"".concat($,"-content-value")},pe)},d=a,i=function(z){var K=z.prefixCls,G=z.className,X=z.style,Z=z.valueStyle,ee=z.value,Se=ee===void 0?0:ee,$=z.title,pe=z.valueRender,xe=z.prefix,_e=z.suffix,Ue=z.direction,ye=z.onMouseEnter,Be=z.onMouseLeave,Q=g.createElement(d,p()({},z,{value:Se})),ie=c()(K,G,m()({},"".concat(K,"-rtl"),Ue==="rtl"));return g.createElement("div",{className:ie,style:X,onMouseEnter:ye,onMouseLeave:Be},$&&g.createElement("div",{className:"".concat(K,"-title")},$),g.createElement("div",{style:Z,className:"".concat(K,"-content")},xe&&g.createElement("span",{className:"".concat(K,"-content-prefix")},xe),pe?pe(Q):Q,_e&&g.createElement("span",{className:"".concat(K,"-content-suffix")},_e)))};i.defaultProps={decimalSeparator:".",groupSeparator:","};var l=Object(o.c)({prefixCls:"statistic"})(i),e=l,s=r("lwsE"),u=r.n(s),f=r("W8MJ"),A=r.n(f),v=r("7W2i"),x=r.n(v),b=r("LQ03"),w=r.n(b),_=r("J4zp"),T=r.n(_),S=r("QQZ/"),E=r.n(S),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 O(U,z){var K=U,G=/\[[^\]]*]/g,X=(z.match(G)||[]).map(function($){return $.slice(1,-1)}),Z=z.replace(G,"[]"),ee=I.reduce(function($,pe){var xe=T()(pe,2),_e=xe[0],Ue=xe[1];if($.indexOf(_e)!==-1){var ye=Math.floor(K/Ue);return K-=ye*Ue,$.replace(new RegExp("".concat(_e,"+"),"g"),function(Be){var Q=Be.length;return E()(ye.toString(),Q,"0")})}return $},Z),Se=0;return ee.replace(G,function(){var $=X[Se];return Se+=1,$})}function F(U,z){var K=z.format,G=K===void 0?"":K,X=new Date(U).getTime(),Z=Date.now(),ee=Math.max(X-Z,0);return O(ee,G)}var k=r("0n0R"),M=1e3/30;function P(U){return new Date(U).getTime()}var V=function(U){x()(K,U);var z=w()(K);function K(){var G;return u()(this,K),G=z.apply(this,arguments),G.syncTimer=function(){var X=G.props.value,Z=P(X);Z>=Date.now()?G.startTimer():G.stopTimer()},G.startTimer=function(){if(G.countdownId)return;G.countdownId=window.setInterval(function(){G.forceUpdate()},M)},G.stopTimer=function(){var X=G.props,Z=X.onFinish,ee=X.value;if(G.countdownId){clearInterval(G.countdownId),G.countdownId=void 0;var Se=P(ee);Z&&Se<Date.now()&&Z()}},G.formatCountdown=function(X,Z){var ee=G.props.format;return F(X,p()(p()({},Z),{format:ee}))},G.valueRender=function(X){return Object(k.a)(X,{title:void 0})},G}return A()(K,[{key:"componentDidMount",value:function(){this.syncTimer()}},{key:"componentDidUpdate",value:function(){this.syncTimer()}},{key:"componentWillUnmount",value:function(){this.stopTimer()}},{key:"render",value:function(){return g.createElement(e,p()({valueRender:this.valueRender},this.props,{formatter:this.formatCountdown}))}}]),K}(g.Component);V.defaultProps={format:"HH:mm:ss"};var D=V;e.Countdown=D;var H=N.a=e},"sK/D":function(B,N,r){var y=r("IwbS"),m=r("OELB"),C=m.round;function p(c,o,n){var t=c.getArea(),a=c.getBaseAxis().isHorizontal(),d=t.x,i=t.y,l=t.width,e=t.height,s=n.get("lineStyle.width")||2;d-=s/2,i-=s/2,l+=s,e+=s,d=Math.floor(d),l=Math.round(l);var u=new y.Rect({shape:{x:d,y:i,width:l,height:e}});return o&&(u.shape[a?"width":"height"]=0,y.initProps(u,{shape:{width:l,height:e}},n)),u}function g(c,o,n){var t=c.getArea(),a=new y.Sector({shape:{cx:C(c.cx,1),cy:C(c.cy,1),r0:C(t.r0,1),r:C(t.r,1),startAngle:t.startAngle,endAngle:t.endAngle,clockwise:t.clockwise}});return o&&(a.shape.endAngle=t.startAngle,y.initProps(a,{shape:{endAngle:t.endAngle}},n)),a}function h(c,o,n){if(c){if(c.type==="polar")return g(c,o,n);if(c.type==="cartesian2d")return p(c,o,n)}else return null;return null}N.createGridClipPath=p,N.createPolarClipPath=g,N.createClipPath=h},sKgW:function(B,N){var r=9007199254740991,y=Math.floor;function m(C,p){var g="";if(!C||p<1||p>r)return g;do p%2&&(g+=C),p=y(p/2),p&&(C+=C);while(p);return g}B.exports=m},sPJy:function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("AOa7"),p=r.n(C),g=r("lUTK"),h=r("qVdP")},sPtV:function(B,N,r){"use strict";r.d(N,"a",function(){return p});var y=r("q1tI"),m=r.n(y),C=r("hkKa");function p(g){var h=y.useRef(g),c=Object(C.a)();return[function(){return h.current},function(o){h.current=o,c()}]}},sRwP:function(B,N,r){r("jsU+"),r("2548"),r("Tp9H"),r("06DH"),r("dnwI"),r("fE02"),r("33Ds")},"sS/r":function(B,N,r){var y=r("4fz+"),m=r("iRjW"),C=r("Yl7c"),p=function(){this.group=new y,this.uid=m.getUID("viewComponent")};p.prototype={constructor:p,init:function(c,o){},render:function(c,o,n,t){},dispose:function(){},filterForExposedEvent:null};var g=p.prototype;g.updateView=g.updateLayout=g.updateVisual=function(c,o,n,t){},C.enableClassExtend(p),C.enableClassManagement(p,{registerWhenExtend:!0});var h=p;B.exports=h},"sW+o":function(B,N,r){var y=r("SrGk"),m=r("bYtY"),C=r("SUKs"),p=r("Qe9p");function g(c,o){y.call(this,c,o,["linearGradient","radialGradient"],"__gradient_in_use__")}m.inherits(g,y),g.prototype.addWithoutUpdate=function(c,o){if(o&&o.style){var n=this;m.each(["fill","stroke"],function(t){if(o.style[t]&&(o.style[t].type==="linear"||o.style[t].type==="radial")){var a=o.style[t],d=n.getDefs(!0),i;a._dom?(i=a._dom,d.contains(a._dom)||n.addDom(i)):i=n.add(a),n.markUsed(o);var l=i.getAttribute("id");c.setAttribute(t,"url(#"+l+")")}})}},g.prototype.add=function(c){var o;if(c.type==="linear")o=this.createElement("linearGradient");else if(c.type==="radial")o=this.createElement("radialGradient");else return C("Illegal gradient type."),null;return c.id=c.id||this.nextId++,o.setAttribute("id","zr"+this._zrId+"-gradient-"+c.id),this.updateDom(c,o),this.addDom(o),o},g.prototype.update=function(c){var o=this;y.prototype.update.call(this,c,function(){var n=c.type,t=c._dom.tagName;n==="linear"&&t==="linearGradient"||n==="radial"&&t==="radialGradient"?o.updateDom(c,c._dom):(o.removeDom(c),o.add(c))})},g.prototype.updateDom=function(c,o){if(c.type==="linear")o.setAttribute("x1",c.x),o.setAttribute("y1",c.y),o.setAttribute("x2",c.x2),o.setAttribute("y2",c.y2);else if(c.type==="radial")o.setAttribute("cx",c.x),o.setAttribute("cy",c.y),o.setAttribute("r",c.r);else{C("Illegal gradient type.");return}c.global?o.setAttribute("gradientUnits","userSpaceOnUse"):o.setAttribute("gradientUnits","objectBoundingBox"),o.innerHTML="";for(var n=c.colorStops,t=0,a=n.length;t<a;++t){var d=this.createElement("stop");d.setAttribute("offset",n[t].offset*100+"%");var i=n[t].color;if(i.indexOf("rgba">-1)){var l=p.parse(i)[3],e=p.toHex(i);d.setAttribute("stop-color","#"+e),d.setAttribute("stop-opacity",l)}else d.setAttribute("stop-color",n[t].color);o.appendChild(d)}c._dom=o},g.prototype.markUsed=function(c){if(c.style){var o=c.style.fill;o&&o._dom&&y.prototype.markUsed.call(this,o._dom),o=c.style.stroke,o&&o._dom&&y.prototype.markUsed.call(this,o._dom)}};var h=g;B.exports=h},sboe:function(B,N,r){"use strict";r.d(N,"a",function(){return C});var y=r("q1tI"),m=r.n(y),C=y.createContext(null)},sdST:function(B,N,r){var y=r("hi0g");function m(C,p){return p=p||{},y(p.coordDimensions||[],C,{dimsDef:p.dimensionsDefine||C.dimensionsDefine,encodeDef:p.encodeDefine||C.encodeDefine,dimCount:p.dimensionsCount,encodeDefaulter:p.encodeDefaulter,generateCoord:p.generateCoord,generateCoordCount:p.generateCoordCount})}B.exports=m},sjKO:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=C;var y=30,m=12;function C(p,g){var h,c,o,n,t,a,d,i,l,e,s,u,f,A,v,x,b,w,_,T,S,E,I,O,F;h=p.state,c=p.next_in,O=p.input,o=c+(p.avail_in-5),n=p.next_out,F=p.output,t=n-(g-p.avail_out),a=n+(p.avail_out-257),d=h.dmax,i=h.wsize,l=h.whave,e=h.wnext,s=h.window,u=h.hold,f=h.bits,A=h.lencode,v=h.distcode,x=(1<<h.lenbits)-1,b=(1<<h.distbits)-1;e:do{f<15&&(u+=O[c++]<<f,f+=8,u+=O[c++]<<f,f+=8),w=A[u&x];t:for(;;){if(_=w>>>24,u>>>=_,f-=_,_=w>>>16&255,_===0)F[n++]=w&65535;else if(_&16){T=w&65535,_&=15,_&&(f<_&&(u+=O[c++]<<f,f+=8),T+=u&(1<<_)-1,u>>>=_,f-=_),f<15&&(u+=O[c++]<<f,f+=8,u+=O[c++]<<f,f+=8),w=v[u&b];r:for(;;){if(_=w>>>24,u>>>=_,f-=_,_=w>>>16&255,_&16){if(S=w&65535,_&=15,f<_&&(u+=O[c++]<<f,f+=8,f<_&&(u+=O[c++]<<f,f+=8)),S+=u&(1<<_)-1,S>d){p.msg="invalid distance too far back",h.mode=y;break e}if(u>>>=_,f-=_,_=n-t,S>_){if(_=S-_,_>l&&h.sane){p.msg="invalid distance too far back",h.mode=y;break e}if(E=0,I=s,e===0){if(E+=i-_,_<T){T-=_;do F[n++]=s[E++];while(--_);E=n-S,I=F}}else if(e<_){if(E+=i+e-_,_-=e,_<T){T-=_;do F[n++]=s[E++];while(--_);if(E=0,e<T){_=e,T-=_;do F[n++]=s[E++];while(--_);E=n-S,I=F}}}else if(E+=e-_,_<T){T-=_;do F[n++]=s[E++];while(--_);E=n-S,I=F}for(;T>2;)F[n++]=I[E++],F[n++]=I[E++],F[n++]=I[E++],T-=3;T&&(F[n++]=I[E++],T>1&&(F[n++]=I[E++]))}else{E=n-S;do F[n++]=F[E++],F[n++]=F[E++],F[n++]=F[E++],T-=3;while(T>2);T&&(F[n++]=F[E++],T>1&&(F[n++]=F[E++]))}}else if((_&64)===0){w=v[(w&65535)+(u&(1<<_)-1)];continue r}else{p.msg="invalid distance code",h.mode=y;break e}break}}else if((_&64)===0){w=A[(w&65535)+(u&(1<<_)-1)];continue t}else if(_&32){h.mode=m;break e}else{p.msg="invalid literal/length code",h.mode=y;break e}break}}while(c<o&&n<a);T=f>>3,c-=T,f-=T<<3,u&=(1<<f)-1,p.next_in=c,p.next_out=n,p.avail_in=c<o?5+(o-c):5-(c-o),p.avail_out=n<a?257+(a-n):257-(n-a),h.hold=u,h.bits=f;return}},szbU:function(B,N,r){var y=r("bYtY"),m=y.each;function C(g){var h=g&&g.visualMap;y.isArray(h)||(h=h?[h]:[]),m(h,function(c){if(!c)return;p(c,"splitList")&&!p(c,"pieces")&&(c.pieces=c.splitList,delete c.splitList);var o=c.pieces;o&&y.isArray(o)&&m(o,function(n){y.isObject(n)&&(p(n,"start")&&!p(n,"min")&&(n.min=n.start),p(n,"end")&&!p(n,"max")&&(n.max=n.end))})})}function p(g,h){return g&&g.hasOwnProperty&&g.hasOwnProperty(h)}B.exports=C},t23M:function(B,N,r){"use strict";var y=r("VTBJ"),m=r("1OyB"),C=r("vuIU"),p=r("Ji7U"),g=r("LK+K"),h=r("q1tI"),c=r.n(h),o=r("m+aA"),n=r("Zm9Q"),t=r("Kwbf"),a=r("c+Xe"),d=r("bdgK"),i="rc-observer-key",l=function(e){Object(p.a)(u,e);var s=Object(g.a)(u);function u(){var f;return Object(m.a)(this,u),f=s.apply(this,arguments),f.resizeObserver=null,f.childNode=null,f.currentElement=null,f.state={width:0,height:0,offsetHeight:0,offsetWidth:0},f.onResize=function(A){var v=f.props.onResize,x=A[0].target,b=x.getBoundingClientRect(),w=b.width,_=b.height,T=x.offsetWidth,S=x.offsetHeight,E=Math.floor(w),I=Math.floor(_);if(f.state.width!==E||f.state.height!==I||f.state.offsetWidth!==T||f.state.offsetHeight!==S){var O={width:E,height:I,offsetWidth:T,offsetHeight:S};f.setState(O),v&&Promise.resolve().then(function(){v(Object(y.a)(Object(y.a)({},O),{},{offsetWidth:T,offsetHeight:S}))})}},f.setChildNode=function(A){f.childNode=A},f}return Object(C.a)(u,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var A=this.props.disabled;if(A){this.destroyObserver();return}var v=Object(o.a)(this.childNode||this),x=v!==this.currentElement;x&&(this.destroyObserver(),this.currentElement=v),!this.resizeObserver&&v&&(this.resizeObserver=new d.default(this.onResize),this.resizeObserver.observe(v))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var A=this.props.children,v=Object(n.a)(A);if(v.length>1)Object(t.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(v.length===0)return Object(t.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var x=v[0];if(h.isValidElement(x)&&Object(a.c)(x)){var b=x.ref;v[0]=h.cloneElement(x,{ref:Object(a.a)(b,this.setChildNode)})}return v.length===1?v[0]:v.map(function(w,_){return!h.isValidElement(w)||"key"in w&&w.key!==null?w:h.cloneElement(w,{key:"".concat(i,"-").concat(_)})})}}]),u}(h.Component);l.displayName="ResizeObserver",N.a=l},t3Fx:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=Object.assign||function(s){for(var u=1;u<arguments.length;u++){var f=arguments[u];for(var A in f)Object.prototype.hasOwnProperty.call(f,A)&&(s[A]=f[A])}return s},m=function(){function s(u,f){for(var A=0;A<f.length;A++){var v=f[A];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(u,v.key,v)}}return function(u,f,A){return f&&s(u.prototype,f),A&&s(u,A),u}}(),C=r("q1tI"),p=a(C),g=r("17x9"),h=a(g),c=r("tkwv"),o=a(c),n=r("u3os"),t=r("kzFp");function a(s){return s&&s.__esModule?s:{default:s}}function d(s,u){if(!(s instanceof u))throw new TypeError("Cannot call a class as a function")}function i(s,u){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:s}function l(s,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);s.prototype=Object.create(u&&u.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(s,u):s.__proto__=u)}var e=function(s){l(u,s);function u(f){d(this,u);var A=i(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,f));return A.getEchartsInstance=function(){return A.echartsLib.getInstanceByDom(A.echartsElement)||A.echartsLib.init(A.echartsElement,A.props.theme,A.props.opts)},A.dispose=function(){if(A.echartsElement){try{(0,n.clear)(A.echartsElement)}catch(v){console.warn(v)}A.echartsLib.dispose(A.echartsElement)}},A.rerender=function(){var v=A.props,x=v.onEvents,b=v.onChartReady,w=A.renderEchartDom();A.bindEvents(w,x||{}),typeof b=="function"&&A.props.onChartReady(w),A.echartsElement&&(0,n.bind)(A.echartsElement,function(){try{w.resize()}catch(_){console.warn(_)}})},A.bindEvents=function(v,x){var b=function(T,S){typeof T=="string"&&typeof S=="function"&&v.on(T,function(E){S(E,v)})};for(var w in x)Object.prototype.hasOwnProperty.call(x,w)&&b(w,x[w])},A.renderEchartDom=function(){var v=A.getEchartsInstance();return v.setOption(A.props.option,A.props.notMerge||!1,A.props.lazyUpdate||!1),A.props.showLoading?v.showLoading(A.props.loadingOption||null):v.hideLoading(),v},A.echartsLib=f.echarts,A.echartsElement=null,A}return m(u,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(A){if(typeof this.props.shouldSetOption=="function"&&!this.props.shouldSetOption(A,this.props))return;if(!(0,o.default)(A.theme,this.props.theme)||!(0,o.default)(A.opts,this.props.opts)||!(0,o.default)(A.onEvents,this.props.onEvents)){this.dispose(),this.rerender();return}var v=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if((0,o.default)((0,t.pick)(this.props,v),(0,t.pick)(A,v)))return;var x=this.renderEchartDom();if(!(0,o.default)(A.style,this.props.style)||!(0,o.default)(A.className,this.props.className))try{x.resize()}catch(b){console.warn(b)}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var A=this,v=this.props,x=v.style,b=v.className,w=y({height:300},x);return p.default.createElement("div",{ref:function(T){A.echartsElement=T},style:w,className:"echarts-for-react "+b})}}]),u}(C.Component);N.default=e,e.propTypes={option:h.default.object.isRequired,echarts:h.default.object,notMerge:h.default.bool,lazyUpdate:h.default.bool,style:h.default.object,className:h.default.string,theme:h.default.oneOfType([h.default.string,h.default.object]),onChartReady:h.default.func,showLoading:h.default.bool,loadingOption:h.default.object,onEvents:h.default.object,opts:h.default.shape({devicePixelRatio:h.default.number,renderer:h.default.oneOf(["canvas","svg"]),width:h.default.oneOfType([h.default.number,h.default.oneOf([null,void 0,"auto"])]),height:h.default.oneOfType([h.default.number,h.default.oneOf([null,void 0,"auto"])])}),shouldSetOption:h.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(B,N,r){var y=r("bYtY"),m=r("IwbS"),C=r("Qxkt"),p=r("Znkb"),g=r("+rIm"),h=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function c(a,d,i){d[1]>d[0]&&(d=d.slice().reverse());var l=a.coordToPoint([d[0],i]),e=a.coordToPoint([d[1],i]);return{x1:l[0],y1:l[1],x2:e[0],y2:e[1]}}function o(a){var d=a.getRadiusAxis();return d.inverse?0:1}function n(a){var d=a[0],i=a[a.length-1];d&&i&&Math.abs(Math.abs(d.coord-i.coord)-360)<1e-4&&a.pop()}var t=p.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(a,d){if(this.group.removeAll(),!a.get("show"))return;var i=a.axis,l=i.polar,e=l.getRadiusAxis().getExtent(),s=i.getTicksCoords(),u=i.getMinorTicksCoords(),f=y.map(i.getViewLabels(),function(A){var A=y.clone(A);return A.coord=i.dataToCoord(A.tickValue),A});n(f),n(s),y.each(h,function(A){a.get(A+".show")&&(!i.scale.isBlank()||A==="axisLine")&&this["_"+A](a,l,s,u,e,f)},this)},_axisLine:function(a,d,i,l,e){var s=a.getModel("axisLine.lineStyle"),u=o(d),f=u?0:1,A;e[f]===0?A=new m.Circle({shape:{cx:d.cx,cy:d.cy,r:e[u]},style:s.getLineStyle(),z2:1,silent:!0}):A=new m.Ring({shape:{cx:d.cx,cy:d.cy,r:e[u],r0:e[f]},style:s.getLineStyle(),z2:1,silent:!0}),A.style.fill=null,this.group.add(A)},_axisTick:function(a,d,i,l,e){var s=a.getModel("axisTick"),u=(s.get("inside")?-1:1)*s.get("length"),f=e[o(d)],A=y.map(i,function(v){return new m.Line({shape:c(d,[f,f+u],v.coord)})});this.group.add(m.mergePath(A,{style:y.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:a.get("axisLine.lineStyle.color")})}))},_minorTick:function(a,d,i,l,e){if(!l.length)return;for(var s=a.getModel("axisTick"),u=a.getModel("minorTick"),f=(s.get("inside")?-1:1)*u.get("length"),A=e[o(d)],v=[],x=0;x<l.length;x++)for(var b=0;b<l[x].length;b++)v.push(new m.Line({shape:c(d,[A,A+f],l[x][b].coord)}));this.group.add(m.mergePath(v,{style:y.defaults(u.getModel("lineStyle").getLineStyle(),y.defaults(s.getLineStyle(),{stroke:a.get("axisLine.lineStyle.color")}))}))},_axisLabel:function(a,d,i,l,e,s){var u=a.getCategories(!0),f=a.getModel("axisLabel"),A=f.get("margin"),v=a.get("triggerEvent");y.each(s,function(x,b){var w=f,_=x.tickValue,T=e[o(d)],S=d.coordToPoint([T+A,x.coord]),E=d.cx,I=d.cy,O=Math.abs(S[0]-E)/T<.3?"center":S[0]>E?"left":"right",F=Math.abs(S[1]-I)/T<.3?"middle":S[1]>I?"top":"bottom";u&&u[_]&&u[_].textStyle&&(w=new C(u[_].textStyle,f,f.ecModel));var k=new m.Text({silent:g.isLabelSilent(a)});this.group.add(k),m.setTextStyle(k.style,w,{x:S[0],y:S[1],textFill:w.getTextColor()||a.get("axisLine.lineStyle.color"),text:x.formattedLabel,textAlign:O,textVerticalAlign:F}),v&&(k.eventData=g.makeAxisEventDataBase(a),k.eventData.targetType="axisLabel",k.eventData.value=x.rawLabel)},this)},_splitLine:function(a,d,i,l,e){var s=a.getModel("splitLine"),u=s.getModel("lineStyle"),f=u.get("color"),A=0;f=f instanceof Array?f:[f];for(var v=[],x=0;x<i.length;x++){var b=A++%f.length;v[b]=v[b]||[],v[b].push(new m.Line({shape:c(d,e,i[x].coord)}))}for(var x=0;x<v.length;x++)this.group.add(m.mergePath(v[x],{style:y.defaults({stroke:f[x%f.length]},u.getLineStyle()),silent:!0,z:a.get("z")}))},_minorSplitLine:function(a,d,i,l,e){if(!l.length)return;for(var s=a.getModel("minorSplitLine"),u=s.getModel("lineStyle"),f=[],A=0;A<l.length;A++)for(var v=0;v<l[A].length;v++)f.push(new m.Line({shape:c(d,e,l[A][v].coord)}));this.group.add(m.mergePath(f,{style:u.getLineStyle(),silent:!0,z:a.get("z")}))},_splitArea:function(a,d,i,l,e){if(!i.length)return;var s=a.getModel("splitArea"),u=s.getModel("areaStyle"),f=u.get("color"),A=0;f=f instanceof Array?f:[f];for(var v=[],x=Math.PI/180,b=-i[0].coord*x,w=Math.min(e[0],e[1]),_=Math.max(e[0],e[1]),T=a.get("clockwise"),S=1;S<i.length;S++){var E=A++%f.length;v[E]=v[E]||[],v[E].push(new m.Sector({shape:{cx:d.cx,cy:d.cy,r0:w,r:_,startAngle:b,endAngle:-i[S].coord*x,clockwise:T},silent:!0})),b=-i[S].coord*x}for(var S=0;S<v.length;S++)this.group.add(m.mergePath(v[S],{style:y.defaults({fill:f[S%f.length]},u.getAreaStyle()),silent:!0}))}});B.exports=t},tSko:function(B,N,r){"use strict";var y=r("284h"),m=r("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var C=m(r("3tO9")),p=y(r("q1tI")),g=m(r("SRve")),h=m(r("KQxl")),c=function(t,a){return p.createElement(h.default,(0,C.default)((0,C.default)({},t),{},{ref:a,icon:g.default}))};c.displayName="PlusOutlined";var o=p.forwardRef(c);N.default=o},tceW:function(B,N,r){var y=r("KCsZ"),m=y([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),C={getBarItemStyle:function(p){var g=m(this,p);if(this.getBorderLineDash){var h=this.getBorderLineDash();h&&(g.lineDash=h)}return g}};B.exports=C},tkwv:function(B,N,r){"use strict";var y=Array.isArray,m=Object.keys,C=Object.prototype.hasOwnProperty;B.exports=function p(g,h){if(g===h)return!0;if(g&&h&&typeof g=="object"&&typeof h=="object"){var c=y(g),o=y(h),n,t,a;if(c&&o){if(t=g.length,t!=h.length)return!1;for(n=t;n--!==0;)if(!p(g[n],h[n]))return!1;return!0}if(c!=o)return!1;var d=g instanceof Date,i=h instanceof Date;if(d!=i)return!1;if(d&&i)return g.getTime()==h.getTime();var l=g instanceof RegExp,e=h instanceof RegExp;if(l!=e)return!1;if(l&&e)return g.toString()==h.toString();var s=m(g);if(t=s.length,t!==m(h).length)return!1;for(n=t;n--!==0;)if(!C.call(h,s[n]))return!1;for(n=t;n--!==0;)if(a=s[n],!p(g[a],h[a]))return!1;return!0}return g!==g&&h!==h}},txkQ:function(B,N,r){var y=r("aX58");N.zrender=y;var m=r("Fofx");N.matrix=m;var C=r("QBsz");N.vector=C;var p=r("bYtY"),g=r("Qe9p");N.color=g;var h=r("IwbS"),c=r("OELB");N.number=c;var o=r("7aKB");N.format=o;var n=r("iLNv"),t=n.throttle;N.throttle=n.throttle;var a=r("FUi9");N.helper=a;var d=r("vafp");N.parseGeoJSON=d;var i=r("YXkt");N.List=i;var l=r("Qxkt");N.Model=l;var e=r("hM6l");N.Axis=e;var s=r("ItGF");N.env=s;var u=d,f={};p.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(v){f[v]=p[v]});var A={};p.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],function(v){A[v]=h[v]}),N.parseGeoJson=u,N.util=f,N.graphic=A},u3DP:function(B,N,r){var y=r("6GrX"),m=r("OELB"),C=m.parsePercent,p=Math.PI/180;function g(n,t,a,d,i,l,e,s,u,f){n.sort(function(O,F){return O.y-F.y});function A(O,F,k,M){for(var P=O;P<F&&!(n[P].y+k>u+e);P++)if(n[P].y+=k,P>O&&P+1<F&&n[P+1].y>n[P].y+n[P].height){v(P,k/2);return}v(F-1,k/2)}function v(O,F){for(var k=O;k>=0&&!(n[k].y-F<u);k--)if(n[k].y-=F,k>0&&n[k].y>n[k-1].y+n[k-1].height)break}function x(O,F,k,M,P,V){for(var D=(V>0,F?Number.MAX_VALUE:0),H=0,U=O.length;H<U;H++){if(O[H].labelAlignTo!=="none")continue;var z=Math.abs(O[H].y-M),K=O[H].len,G=O[H].len2,X=z<P+K?Math.sqrt((P+K+G)*(P+K+G)-z*z):Math.abs(O[H].x-k);F&&X>=D&&(X=D-10),!F&&X<=D&&(X=D+10),O[H].x=k+X*V,D=X}}for(var b=0,w,_=n.length,T=[],S=[],E=0;E<_;E++){if(n[E].position==="outer"&&n[E].labelAlignTo==="labelLine"){var I=n[E].x-f;n[E].linePoints[1][0]+=I,n[E].x=f}w=n[E].y-b,w<0&&A(E,_,-w,i),b=n[E].y+n[E].height}e-b<0&&v(_-1,b-e);for(var E=0;E<_;E++)n[E].y>=a?S.push(n[E]):T.push(n[E]);x(T,!1,t,a,d,i),x(S,!0,t,a,d,i)}function h(n,t,a,d,i,l,e,s){for(var u=[],f=[],A=Number.MAX_VALUE,v=-Number.MAX_VALUE,x=0;x<n.length;x++){if(c(n[x]))continue;n[x].x<t?(A=Math.min(A,n[x].x),u.push(n[x])):(v=Math.max(v,n[x].x),f.push(n[x]))}g(f,t,a,d,1,i,l,e,s,v),g(u,t,a,d,-1,i,l,e,s,A);for(var x=0;x<n.length;x++){var b=n[x];if(c(b))continue;var w=b.linePoints;if(w){var _=b.labelAlignTo==="edge",T=b.textRect.width,S;_?b.x<t?S=w[2][0]-b.labelDistance-e-b.labelMargin:S=e+i-b.labelMargin-w[2][0]-b.labelDistance:b.x<t?S=b.x-e-b.bleedMargin:S=e+i-b.x-b.bleedMargin,S<b.textRect.width&&(b.text=y.truncateText(b.text,S,b.font),b.labelAlignTo==="edge"&&(T=y.getWidth(b.text,b.font)));var E=w[1][0]-w[2][0];_?b.x<t?w[2][0]=e+b.labelMargin+T+b.labelDistance:w[2][0]=e+i-b.labelMargin-T-b.labelDistance:(b.x<t?w[2][0]=b.x+b.labelDistance:w[2][0]=b.x-b.labelDistance,w[1][0]=w[2][0]+E),w[1][1]=w[2][1]=b.y}}}function c(n){return n.position==="center"}function o(n,t,a,d,i,l){var e=n.getData(),s=[],u,f,A=!1,v=(n.get("minShowLabelAngle")||0)*p;e.each(function(x){var b=e.getItemLayout(x),w=e.getItemModel(x),_=w.getModel("label"),T=_.get("position")||w.get("emphasis.label.position"),S=_.get("distanceToLabelLine"),E=_.get("alignTo"),I=C(_.get("margin"),a),O=_.get("bleedMargin"),F=_.getFont(),k=w.getModel("labelLine"),M=k.get("length");M=C(M,a);var P=k.get("length2");if(P=C(P,a),b.angle<v)return;var V=(b.startAngle+b.endAngle)/2,D=Math.cos(V),H=Math.sin(V),U,z,K,G;u=b.cx,f=b.cy;var X=n.getFormattedLabel(x,"normal")||e.getName(x),Z=y.getBoundingRect(X,F,G,"top"),ee=T==="inside"||T==="inner";if(T==="center")U=b.cx,z=b.cy,G="center";else{var Se=(ee?(b.r+b.r0)/2*D:b.r*D)+u,$=(ee?(b.r+b.r0)/2*H:b.r*H)+f;if(U=Se+D*3,z=$+H*3,!ee){var pe=Se+D*(M+t-b.r),xe=$+H*(M+t-b.r),_e=pe+(D<0?-1:1)*P,Ue=xe;E==="edge"?U=D<0?i+I:i+a-I:U=_e+(D<0?-S:S),z=Ue,K=[[Se,$],[pe,xe],[_e,Ue]]}G=ee?"center":E==="edge"?D>0?"right":"left":D>0?"left":"right"}var ye,Be=_.get("rotate");typeof Be=="number"?ye=Be*(Math.PI/180):ye=Be?D<0?-V+Math.PI:-V:0,A=!!ye,b.label={x:U,y:z,position:T,height:Z.height,len:M,len2:P,linePoints:K,textAlign:G,verticalAlign:"middle",rotation:ye,inside:ee,labelDistance:S,labelAlignTo:E,labelMargin:I,bleedMargin:O,textRect:Z,text:X,font:F},ee||s.push(b.label)}),!A&&n.get("avoidLabelOverlap")&&h(s,u,f,t,a,d,i,l)}B.exports=o},u3os:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.ver=N.clear=N.bind=void 0;var y=r("P4Qj"),m=function(h,c){var o=(0,y.getSensor)(h);return o.bind(c),function(){o.unbind(c)}};N.bind=m;var C=function(h){var c=(0,y.getSensor)(h);(0,y.removeSensor)(c)};N.clear=C;var p="1.0.1";N.ver=p},u4NN:function(B,N,r){"use strict";var y=r("284h"),m=r("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var C=m(r("3tO9")),p=y(r("q1tI")),g=m(r("Uc92")),h=m(r("KQxl")),c=function(t,a){return p.createElement(h.default,(0,C.default)((0,C.default)({},t),{},{ref:a,icon:g.default}))};c.displayName="EyeOutlined";var o=p.forwardRef(c);N.default=o},u9fO:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("b80e"));function m(p){return p&&p.__esModule?p:{default:p}}var C=y;N.default=C,B.exports=C},uAnK:function(B,N,r){var y=r("bYtY"),m=r("Kagy"),C=r("KxfA"),p=C.retrieveRawValue;function g(h,c){var o=c.getModel("aria");if(o.get("show")){if(o.get("description")){h.setAttribute("aria-label",o.get("description"));return}}else return;var n=0;c.eachSeries(function(x,b){++n},this);var t=o.get("data.maxCount")||10,a=o.get("series.maxCount")||10,d=Math.min(n,a),i;if(n<1)return;var l=A();l?i=u(f("general.withTitle"),{title:l}):i=f("general.withoutTitle");var e=[],s=n>1?"series.multiple.prefix":"series.single.prefix";i+=u(f(s),{seriesCount:n}),c.eachSeries(function(x,b){if(b<d){var w,_=x.get("name"),T="series."+(n>1?"multiple":"single")+".";w=f(_?T+"withName":T+"withoutName"),w=u(w,{seriesId:x.seriesIndex,seriesName:x.get("name"),seriesType:v(x.subType)});var S=x.getData();window.data=S,S.count()>t?w+=u(f("data.partialData"),{displayCnt:t}):w+=f("data.allData");for(var E=[],I=0;I<S.count();I++)if(I<t){var O=S.getName(I),F=p(S,I);E.push(u(f(O?"data.withName":"data.withoutName"),{name:O,value:F}))}w+=E.join(f("data.separator.middle"))+f("data.separator.end"),e.push(w)}}),i+=e.join(f("series.multiple.separator.middle"))+f("series.multiple.separator.end"),h.setAttribute("aria-label",i);function u(x,b){if(typeof x!="string")return x;var w=x;return y.each(b,function(_,T){w=w.replace(new RegExp("\\{\\s*"+T+"\\s*\\}","g"),_)}),w}function f(x){var b=o.get(x);if(b==null){for(var w=x.split("."),_=m.aria,T=0;T<w.length;++T)_=_[w[T]];return _}else return b}function A(){var x=c.getModel("title").option;return x&&x.length&&(x=x[0]),x&&x.text}function v(x){return m.series.typeNames[x]||"\u81EA\u5B9A\u4E49\u56FE"}}B.exports=g},uK0f:function(B,N,r){(function(y,m){B.exports=m()})(this,function(){"use strict";function y(m,C,p){p=p||{},p.childrenKeyName=p.childrenKeyName||"children";var g=m||[],h=[],c=0;do{var o=g.filter(function(n){return C(n,c)})[0];if(!o)break;h.push(o),g=o[p.childrenKeyName]||[],c+=1}while(g.length>0);return h}return y})},uOyE:function(B,N,r){var y=r("ProS");y.registerAction({type:"brush",event:"brush"},function(m,C){C.eachComponent({mainType:"brush",query:m},function(p){p.setAreas(m.areas)})}),y.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){}),y.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},function(){})},uQRt:function(B,N,r){B.exports=y;function y(){return r("gaXo"),{}}},ugBc:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};N.default=y},v3Qx:function(B,N){var r={}.toString;B.exports=Array.isArray||function(y){return r.call(y)=="[object Array]"}},v56E:function(B,N,r){},v5uJ:function(B,N,r){var y=r("ProS"),m=r("2B6p"),C=m.updateCenterAndZoom;y.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(p,g){g.eachComponent({mainType:"series",subType:"tree",query:p},function(h){var c=p.dataIndex,o=h.getData().tree,n=o.getNodeByDataIndex(c);n.isExpand=!n.isExpand})}),y.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(p,g){g.eachComponent({mainType:"series",subType:"tree",query:p},function(h){var c=h.coordinateSystem,o=C(c,p);h.setCenter&&h.setCenter(o.center),h.setZoom&&h.setZoom(o.zoom)})})},"vF/C":function(B,N,r){var y=r("bLfw");y.registerSubTypeDefaulter("visualMap",function(m){return!m.categories&&(!(m.pieces?m.pieces.length>0:m.splitNumber>0)||m.calculable)?"continuous":"piecewise"})},vKoX:function(B,N,r){var y=r("SrGk"),m=r("bYtY");function C(h,c){y.call(this,h,c,["filter"],"__filter_in_use__","_shadowDom")}m.inherits(C,y),C.prototype.addWithoutUpdate=function(h,c){if(c&&p(c.style)){var o;if(c._shadowDom){o=c._shadowDom;var n=this.getDefs(!0);n.contains(c._shadowDom)||this.addDom(o)}else o=this.add(c);this.markUsed(c);var t=o.getAttribute("id");h.style.filter="url(#"+t+")"}},C.prototype.add=function(h){var c=this.createElement("filter");return h._shadowDomId=h._shadowDomId||this.nextId++,c.setAttribute("id","zr"+this._zrId+"-shadow-"+h._shadowDomId),this.updateDom(h,c),this.addDom(c),c},C.prototype.update=function(h,c){var o=c.style;if(p(o)){var n=this;y.prototype.update.call(this,c,function(){n.updateDom(c,c._shadowDom)})}else this.remove(h,c)},C.prototype.remove=function(h,c){c._shadowDomId!=null&&(this.removeDom(h),h.style.filter="")},C.prototype.updateDom=function(h,c){var o=c.getElementsByTagName("feDropShadow");o.length===0?o=this.createElement("feDropShadow"):o=o[0];var n=h.style,t=h.scale&&h.scale[0]||1,a=h.scale&&h.scale[1]||1,d,i,l,e;if(n.shadowBlur||n.shadowOffsetX||n.shadowOffsetY)d=n.shadowOffsetX||0,i=n.shadowOffsetY||0,l=n.shadowBlur,e=n.shadowColor;else if(n.textShadowBlur)d=n.textShadowOffsetX||0,i=n.textShadowOffsetY||0,l=n.textShadowBlur,e=n.textShadowColor;else{this.removeDom(c,n);return}o.setAttribute("dx",d/t),o.setAttribute("dy",i/a),o.setAttribute("flood-color",e);var s=l/2/t,u=l/2/a,f=s+" "+u;o.setAttribute("stdDeviation",f),c.setAttribute("x","-100%"),c.setAttribute("y","-100%"),c.setAttribute("width",Math.ceil(l/2*200)+"%"),c.setAttribute("height",Math.ceil(l/2*200)+"%"),c.appendChild(o),h._shadowDom=c},C.prototype.markUsed=function(h){h._shadowDom&&y.prototype.markUsed.call(this,h._shadowDom)};function p(h){return h&&(h.shadowBlur||h.shadowOffsetX||h.shadowOffsetY||h.textShadowBlur||h.textShadowOffsetX||h.textShadowOffsetY)}var g=C;B.exports=g},vL6D:function(B,N,r){var y=r("bYtY"),m=r("+rIm"),C=r("IwbS"),p=r("7bkD"),g=r("Znkb"),h=r("WN+l"),c=h.rectCoordAxisBuildSplitArea,o=h.rectCoordAxisHandleRemove,n=["axisLine","axisTickLabel","axisName"],t=["splitArea","splitLine"],a=g.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(i,l,e,s){var u=this.group;u.removeAll();var f=this._axisGroup;this._axisGroup=new C.Group;var A=p.layout(i),v=new m(i,A);y.each(n,v.add,v),u.add(this._axisGroup),u.add(v.getGroup()),y.each(t,function(x){i.get(x+".show")&&this["_"+x](i)},this),C.groupTransition(f,this._axisGroup,i),a.superCall(this,"render",i,l,e,s)},remove:function(){o(this)},_splitLine:function(i){var l=i.axis;if(l.scale.isBlank())return;var e=i.getModel("splitLine"),s=e.getModel("lineStyle"),u=s.get("width"),f=s.get("color");f=f instanceof Array?f:[f];for(var A=i.coordinateSystem.getRect(),v=l.isHorizontal(),x=[],b=0,w=l.getTicksCoords({tickModel:e}),_=[],T=[],S=0;S<w.length;++S){var E=l.toGlobalCoord(w[S].coord);v?(_[0]=E,_[1]=A.y,T[0]=E,T[1]=A.y+A.height):(_[0]=A.x,_[1]=E,T[0]=A.x+A.width,T[1]=E);var I=b++%f.length;x[I]=x[I]||[],x[I].push(new C.Line({subPixelOptimize:!0,shape:{x1:_[0],y1:_[1],x2:T[0],y2:T[1]},style:{lineWidth:u},silent:!0}))}for(var S=0;S<x.length;++S)this.group.add(C.mergePath(x[S],{style:{stroke:f[S%f.length],lineDash:s.getLineDash(u),lineWidth:u},silent:!0}))},_splitArea:function(i){c(this,this._axisGroup,i,i)}}),d=a;B.exports=d},vWvF:function(B,N,r){var y=r("Bq2U"),m=r("SUKs"),C=r("bYtY"),p=C.isString,g=C.isFunction,h=C.isObject,c=C.isArrayLike,o=C.indexOf,n=function(){this.animators=[]};n.prototype={constructor:n,animate:function(e,s){var u,f=!1,A=this,v=this.__zr;if(e){var x=e.split("."),b=A;f=x[0]==="shape";for(var w=0,_=x.length;w<_;w++){if(!b)continue;b=b[x[w]]}b&&(u=b)}else u=A;if(!u){m('Property "'+e+'" is not existed in element '+A.id);return}var T=A.animators,S=new y(u,s);return S.during(function(E){A.dirty(f)}).done(function(){T.splice(o(T,S),1)}),T.push(S),v&&v.animation.addAnimator(S),S},stopAnimation:function(e){for(var s=this.animators,u=s.length,f=0;f<u;f++)s[f].stop(e);return s.length=0,this},animateTo:function(e,s,u,f,A,v){t(this,e,s,u,f,A,v)},animateFrom:function(e,s,u,f,A,v){t(this,e,s,u,f,A,v,!0)}};function t(l,e,s,u,f,A,v,x){p(u)?(A=f,f=u,u=0):g(f)?(A=f,f="linear",u=0):g(u)?(A=u,u=0):g(s)?(A=s,s=500):s||(s=500),l.stopAnimation(),a(l,"",l,e,s,u,x);var b=l.animators.slice(),w=b.length;function _(){w--,w||A&&A()}w||A&&A();for(var T=0;T<b.length;T++)b[T].done(_).start(f,v)}function a(l,e,s,u,f,A,v){var x={},b=0;for(var w in u){if(!u.hasOwnProperty(w))continue;s[w]!=null?h(u[w])&&!c(u[w])?a(l,e?e+"."+w:w,s[w],u[w],f,A,v):(v?(x[w]=s[w],d(l,e,w,u[w])):x[w]=u[w],b++):u[w]!=null&&!v&&d(l,e,w,u[w])}b>0&&l.animate(e,!1).when(f==null?500:f,x).delay(A||0)}function d(l,e,s,u){if(!e)l.attr(s,u);else{var f={};f[e]={},f[e][s]=u,l.attr(f)}}var i=n;B.exports=i},vZ6x:function(B,N,r){var y=r("Tghj"),m=y.__DEV__,C=r("bYtY"),p=r("IwbS"),g=r("4NO4"),h=r("9KIM"),c=C.each,o=C.indexOf,n=C.curry,t=["dataToPoint","pointToData"],a=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function d(S,E,I){var O=this._targetInfoList=[],F={},k=e(E,S);c(s,function(M,P){(!I||!I.include||o(I.include,P)>=0)&&M(k,O,F)})}var i=d.prototype;i.setOutputRanges=function(S,E){this.matchOutputRanges(S,E,function(I,O,F){if((I.coordRanges||(I.coordRanges=[])).push(O),!I.coordRange){I.coordRange=O;var k=A[I.brushType](0,F,O);I.__rangeOffset={offset:x[I.brushType](k.values,I.range,[1,1]),xyMinMax:k.xyMinMax}}})},i.matchOutputRanges=function(S,E,I){c(S,function(O){var F=this.findTargetInfo(O,E);F&&F!==!0&&C.each(F.coordSyses,function(k){var M=A[O.brushType](1,k,O.range);I(O,M.values,k,E)})},this)},i.setInputRanges=function(S,E){c(S,function(I){var O=this.findTargetInfo(I,E);if(I.range=I.range||[],O&&O!==!0){I.panelId=O.panelId;var F=A[I.brushType](0,O.coordSys,I.coordRange),k=I.__rangeOffset;I.range=k?x[I.brushType](F.values,k.offset,w(F.xyMinMax,k.xyMinMax)):F.values}},this)},i.makePanelOpts=function(S,E){return C.map(this._targetInfoList,function(I){var O=I.getPanelRect();return{panelId:I.panelId,defaultBrushType:E&&E(I),clipPath:h.makeRectPanelClipPath(O),isTargetByCursor:h.makeRectIsTargetByCursor(O,S,I.coordSysModel),getLinearBrushOtherExtent:h.makeLinearBrushOtherExtent(O)}})},i.controlSeries=function(S,E,I){var O=this.findTargetInfo(S,I);return O===!0||O&&o(O.coordSyses,E.coordinateSystem)>=0},i.findTargetInfo=function(S,E){for(var I=this._targetInfoList,O=e(E,S),F=0;F<I.length;F++){var k=I[F],M=S.panelId;if(M){if(k.panelId===M)return k}else for(var F=0;F<u.length;F++)if(u[F](O,k))return k}return!0};function l(S){return S[0]>S[1]&&S.reverse(),S}function e(S,E){return g.parseFinder(S,E,{includeMainTypes:a})}var s={grid:function(S,E){var I=S.xAxisModels,O=S.yAxisModels,F=S.gridModels,k=C.createHashMap(),M={},P={};if(!I&&!O&&!F)return;c(I,function(V){var D=V.axis.grid.model;k.set(D.id,D),M[D.id]=!0}),c(O,function(V){var D=V.axis.grid.model;k.set(D.id,D),P[D.id]=!0}),c(F,function(V){k.set(V.id,V),M[V.id]=!0,P[V.id]=!0}),k.each(function(V){var D=V.coordinateSystem,H=[];c(D.getCartesians(),function(U,z){(o(I,U.getAxis("x").model)>=0||o(O,U.getAxis("y").model)>=0)&&H.push(U)}),E.push({panelId:"grid--"+V.id,gridModel:V,coordSysModel:V,coordSys:H[0],coordSyses:H,getPanelRect:f.grid,xAxisDeclared:M[V.id],yAxisDeclared:P[V.id]})})},geo:function(S,E){c(S.geoModels,function(I){var O=I.coordinateSystem;E.push({panelId:"geo--"+I.id,geoModel:I,coordSysModel:I,coordSys:O,coordSyses:[O],getPanelRect:f.geo})})}},u=[function(S,E){var I=S.xAxisModel,O=S.yAxisModel,F=S.gridModel;return!F&&I&&(F=I.axis.grid.model),!F&&O&&(F=O.axis.grid.model),F&&F===E.gridModel},function(S,E){var I=S.geoModel;return I&&I===E.geoModel}],f={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var S=this.coordSys,E=S.getBoundingRect().clone();return E.applyTransform(p.getTransform(S)),E}},A={lineX:n(v,0),lineY:n(v,1),rect:function(S,E,I){var O=E[t[S]]([I[0][0],I[1][0]]),F=E[t[S]]([I[0][1],I[1][1]]),k=[l([O[0],F[0]]),l([O[1],F[1]])];return{values:k,xyMinMax:k}},polygon:function(S,E,I){var O=[[Infinity,-Infinity],[Infinity,-Infinity]],F=C.map(I,function(k){var M=E[t[S]](k);return O[0][0]=Math.min(O[0][0],M[0]),O[1][0]=Math.min(O[1][0],M[1]),O[0][1]=Math.max(O[0][1],M[0]),O[1][1]=Math.max(O[1][1],M[1]),M});return{values:F,xyMinMax:O}}};function v(S,E,I,O){var F=I.getAxis(["x","y"][S]),k=l(C.map([0,1],function(P){return E?F.coordToData(F.toLocalCoord(O[P])):F.toGlobalCoord(F.dataToCoord(O[P]))})),M=[];return M[S]=k,M[1-S]=[NaN,NaN],{values:k,xyMinMax:M}}var x={lineX:n(b,0),lineY:n(b,1),rect:function(S,E,I){return[[S[0][0]-I[0]*E[0][0],S[0][1]-I[0]*E[0][1]],[S[1][0]-I[1]*E[1][0],S[1][1]-I[1]*E[1][1]]]},polygon:function(S,E,I){return C.map(S,function(O,F){return[O[0]-I[0]*E[F][0],O[1]-I[1]*E[F][1]]})}};function b(S,E,I,O){return[E[0]-O[S]*I[0],E[1]-O[S]*I[1]]}function w(S,E){var I=_(S),O=_(E),F=[I[0]/O[0],I[1]/O[1]];return isNaN(F[0])&&(F[0]=1),isNaN(F[1])&&(F[1]=1),F}function _(S){return S?[S[0][1]-S[0][0],S[1][1]-S[1][0]]:[NaN,NaN]}var T=d;B.exports=T},vZI5:function(B,N,r){var y=r("bYtY"),m=r("T4UG"),C=r("5GhG"),p=C.seriesModelMixin,g=m.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,clip:!0,itemStyle:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},brushSelector:function(c,o,n){var t=o.getItemLayout(c);return t&&n.rect(t.brushRect)}});y.mixin(g,p,!0);var h=g;B.exports=h},vafp:function(B,N,r){var y=r("bYtY"),m=r("8nly");function C(h){if(!h.UTF8Encoding)return h;var c=h.UTF8Scale;c==null&&(c=1024);for(var o=h.features,n=0;n<o.length;n++)for(var t=o[n],a=t.geometry,d=a.coordinates,i=a.encodeOffsets,l=0;l<d.length;l++){var e=d[l];if(a.type==="Polygon")d[l]=p(e,i[l],c);else if(a.type==="MultiPolygon")for(var s=0;s<e.length;s++){var u=e[s];e[s]=p(u,i[l][s],c)}}return h.UTF8Encoding=!1,h}function p(h,c,o){for(var n=[],t=c[0],a=c[1],d=0;d<h.length;d+=2){var i=h.charCodeAt(d)-64,l=h.charCodeAt(d+1)-64;i=i>>1^-(i&1),l=l>>1^-(l&1),i+=t,l+=a,t=i,a=l,n.push([i/o,l/o])}return n}function g(h,c){return C(h),y.map(y.filter(h.features,function(o){return o.geometry&&o.properties&&o.geometry.coordinates.length>0}),function(o){var n=o.properties,t=o.geometry,a=t.coordinates,d=[];t.type==="Polygon"&&d.push({type:"polygon",exterior:a[0],interiors:a.slice(1)}),t.type==="MultiPolygon"&&y.each(a,function(l){l[0]&&d.push({type:"polygon",exterior:l[0],interiors:l.slice(1)})});var i=new m(n[c||"name"],d,n.cp);return i.properties=n,i})}B.exports=g},vcCh:function(B,N,r){var y=r("ProS");r("0qV/"),y.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(m,C){C.eachComponent({mainType:"series",subType:"sankey",query:m},function(p){p.setNodePosition(m.dataIndex,[m.localX,m.localY])})})},vewr:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.getPointerEvent=y,N.stopEvent=m,N.setCapture=o,N.releaseCapture=n;function y(t){return t.changedTouches?t.changedTouches[0]:t.touches?t.touches[0]:t}function m(t){t.stopPropagation(),t.preventDefault()}var C=!1,p=null;document.captureElement=null;function g(t){if(C)return;var a=new t.constructor(t.type,t);C=!0,document.captureElement?document.captureElement.dispatchEvent(a):p.dispatchEvent(a),C=!1,t.stopPropagation(),a.defaultPrevented&&t.preventDefault(),t.type==="mouseup"&&n()}function h(){var t=document.getElementById("noVNC_mouse_capture_elem");t.style.cursor=window.getComputedStyle(document.captureElement).cursor}var c=new MutationObserver(h);function o(t){if(t.setCapture)t.setCapture(),document.captureElement=t,t.addEventListener("mouseup",n);else{n();var a=document.getElementById("noVNC_mouse_capture_elem");a===null&&(a=document.createElement("div"),a.id="noVNC_mouse_capture_elem",a.style.position="fixed",a.style.top="0px",a.style.left="0px",a.style.width="100%",a.style.height="100%",a.style.zIndex=1e4,a.style.display="none",document.body.appendChild(a),a.addEventListener("contextmenu",g),a.addEventListener("mousemove",g),a.addEventListener("mouseup",g)),document.captureElement=t,c.observe(t,{attributes:!0}),h(),a.style.display="",window.addEventListener("mousemove",g),window.addEventListener("mouseup",g)}}function n(){if(document.releaseCapture)document.releaseCapture(),document.captureElement=null;else{if(!document.captureElement)return;p=document.captureElement,document.captureElement=null,c.disconnect();var t=document.getElementById("noVNC_mouse_capture_elem");t.style.display="none",window.removeEventListener("mousemove",g),window.removeEventListener("mouseup",g)}}},vg9a:function(B,N,r){},"vk+C":function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("RZPm"));function m(p){return p&&p.__esModule?p:{default:p}}var C=y;N.default=C,B.exports=C},w5pM:function(B,N,r){"use strict";var y=r("VTBJ"),m=r("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"},p=C,g=r("6VBw"),h=function(n,t){return m.createElement(g.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};h.displayName="PlusCircleOutlined";var c=N.a=m.forwardRef(h)},w6Tc:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("apAg"));function m(p){return p&&p.__esModule?p:{default:p}}var C=y;N.default=C,B.exports=C},wCAj:function(B,N,r){"use strict";var y=r("cDf5"),m=r.n(y),C=r("lSNA"),p=r.n(C),g=r("J4zp"),h=r.n(g),c=r("pVnL"),o=r.n(c),n=r("q1tI"),t=r("TSYQ"),a=r.n(t),d=r("BGR+"),i=r("rePB"),l=r("VTBJ"),e=r("KQm4"),s=r("U8pU"),u=r("ODXe"),f=r("Gytx"),A=r.n(f),v=r("Kwbf"),x=r("t23M"),b=r("qx4F");function w(tr){return null}var _=w;function T(tr){return null}var S=T,E=r("Ff2n"),I=r("c+Xe"),O="RC_TABLE_KEY";function F(tr){return tr==null?[]:Array.isArray(tr)?tr:[tr]}function k(tr,Wr){if(!Wr&&typeof Wr!="number")return tr;for(var Yr=F(Wr),pn=tr,Ze=0;Ze<Yr.length;Ze+=1){if(!pn)return null;var Ht=Yr[Ze];pn=pn[Ht]}return pn}function M(tr){var Wr=[],Yr={};return tr.forEach(function(pn){for(var Ze=pn||{},Ht=Ze.key,sr=Ze.dataIndex,er=Ht||F(sr).join("-")||O;Yr[er];)er="".concat(er,"_next");Yr[er]=!0,Wr.push(er)}),Wr}function P(){var tr={};function Wr(Ht,sr){sr&&Object.keys(sr).forEach(function(er){var Lr=sr[er];Lr&&Object(s.a)(Lr)==="object"?(Ht[er]=Ht[er]||{},Wr(Ht[er],Lr)):Ht[er]=Lr})}for(var Yr=arguments.length,pn=new Array(Yr),Ze=0;Ze<Yr;Ze++)pn[Ze]=arguments[Ze];return pn.forEach(function(Ht){Wr(tr,Ht)}),tr}function V(tr){return tr!=null}function D(tr){return tr&&Object(s.a)(tr)==="object"&&!Array.isArray(tr)&&!n.isValidElement(tr)}function H(tr){return typeof tr=="string"?!0:Object(I.c)(tr)}function U(tr,Wr){var Yr,pn=tr.prefixCls,Ze=tr.className,Ht=tr.record,sr=tr.index,er=tr.dataIndex,Lr=tr.render,Or=tr.children,qr=tr.component,Hr=qr===void 0?"td":qr,un=tr.colSpan,fn=tr.rowSpan,yn=tr.fixLeft,St=tr.fixRight,qt=tr.firstFixLeft,ur=tr.lastFixLeft,yr=tr.firstFixRight,Ur=tr.lastFixRight,Zr=tr.appendNode,cn=tr.additionalProps,_n=cn===void 0?{}:cn,Fn=tr.ellipsis,qn=tr.align,Wn=tr.rowType,Rn=tr.isSticky,Kn="".concat(pn,"-cell"),Gn,In;if(Or)In=Or;else{var kn=k(Ht,er);if(In=kn,Lr){var ti=Lr(kn,Ht,sr);D(ti)?(In=ti.children,Gn=ti.props):In=ti}}Object(s.a)(In)==="object"&&!Array.isArray(In)&&!n.isValidElement(In)&&(In=null),Fn&&(ur||yr)&&(In=n.createElement("span",{className:"".concat(Kn,"-content")},In));var or=Gn||{},br=or.colSpan,Mr=or.rowSpan,Sr=or.style,Wt=or.className,fr=Object(E.a)(or,["colSpan","rowSpan","style","className"]),Jt=br!==void 0?br:un,Tr=Mr!==void 0?Mr:fn;if(Jt===0||Tr===0)return null;var _r={},Qr=typeof yn=="number",Kr=typeof St=="number";Qr&&(_r.position="sticky",_r.left=yn),Kr&&(_r.position="sticky",_r.right=St);var en={};qn&&(en.textAlign=qn);var An,xn=Fn===!0?{showTitle:!0}:Fn;xn&&(xn.showTitle||Wn==="header")&&(typeof In=="string"||typeof In=="number"?An=In.toString():n.isValidElement(In)&&typeof In.props.children=="string"&&(An=In.props.children));var Cn=Object(l.a)(Object(l.a)(Object(l.a)({title:An},fr),_n),{},{colSpan:Jt&&Jt!==1?Jt:null,rowSpan:Tr&&Tr!==1?Tr:null,className:a()(Kn,Ze,(Yr={},Object(i.a)(Yr,"".concat(Kn,"-fix-left"),Qr),Object(i.a)(Yr,"".concat(Kn,"-fix-left-first"),qt),Object(i.a)(Yr,"".concat(Kn,"-fix-left-last"),ur),Object(i.a)(Yr,"".concat(Kn,"-fix-right"),Kr),Object(i.a)(Yr,"".concat(Kn,"-fix-right-first"),yr),Object(i.a)(Yr,"".concat(Kn,"-fix-right-last"),Ur),Object(i.a)(Yr,"".concat(Kn,"-ellipsis"),Fn),Object(i.a)(Yr,"".concat(Kn,"-with-append"),Zr),Object(i.a)(Yr,"".concat(Kn,"-fix-sticky"),(Qr||Kr)&&Rn),Yr),_n.className,Wt),style:Object(l.a)(Object(l.a)(Object(l.a)(Object(l.a)({},_n.style),en),_r),Sr),ref:H(Hr)?Wr:null});return n.createElement(Hr,Object.assign({},Cn),Zr,In)}var z=n.forwardRef(U);z.displayName="Cell";var K=n.memo(z,function(tr,Wr){return Wr.shouldCellUpdate?!Wr.shouldCellUpdate(Wr.record,tr.record):!1}),G=K,X=n.createContext(null),Z=X;function ee(tr,Wr,Yr,pn,Ze){var Ht=Yr[tr]||{},sr=Yr[Wr]||{},er,Lr;Ht.fixed==="left"?er=pn.left[tr]:sr.fixed==="right"&&(Lr=pn.right[Wr]);var Or=!1,qr=!1,Hr=!1,un=!1,fn=Yr[Wr+1],yn=Yr[tr-1];if(Ze==="rtl"){if(er!==void 0){var St=yn&&yn.fixed==="left";un=!St}else if(Lr!==void 0){var qt=fn&&fn.fixed==="right";Hr=!qt}}else if(er!==void 0){var ur=fn&&fn.fixed==="left";Or=!ur}else if(Lr!==void 0){var yr=yn&&yn.fixed==="right";qr=!yr}return{fixLeft:er,fixRight:Lr,lastFixLeft:Or,firstFixRight:qr,lastFixRight:Hr,firstFixLeft:un,isSticky:pn.isSticky}}function Se(tr){var Wr=tr.cells,Yr=tr.stickyOffsets,pn=tr.flattenColumns,Ze=tr.rowComponent,Ht=tr.cellComponent,sr=tr.onHeaderRow,er=tr.index,Lr=n.useContext(Z),Or=Lr.prefixCls,qr=Lr.direction,Hr;sr&&(Hr=sr(Wr.map(function(fn){return fn.column}),er));var un=M(Wr.map(function(fn){return fn.column}));return n.createElement(Ze,Object.assign({},Hr),Wr.map(function(fn,yn){var St=fn.column,qt=ee(fn.colStart,fn.colEnd,pn,Yr,qr),ur;return St&&St.onHeaderCell&&(ur=fn.column.onHeaderCell(St)),n.createElement(G,Object.assign({},fn,{ellipsis:St.ellipsis,align:St.align,component:Ht,prefixCls:Or,key:un[yn]},qt,{additionalProps:ur,rowType:"header"}))}))}Se.displayName="HeaderRow";var $=Se;function pe(tr){var Wr=[];function Yr(sr,er){var Lr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Wr[Lr]=Wr[Lr]||[];var Or=er,qr=sr.filter(Boolean).map(function(Hr){var un={key:Hr.key,className:Hr.className||"",children:Hr.title,column:Hr,colStart:Or},fn=1,yn=Hr.children;return yn&&yn.length>0&&(fn=Yr(yn,Or,Lr+1).reduce(function(St,qt){return St+qt},0),un.hasSubColumns=!0),"colSpan"in Hr&&(fn=Hr.colSpan),"rowSpan"in Hr&&(un.rowSpan=Hr.rowSpan),un.colSpan=fn,un.colEnd=un.colStart+fn-1,Wr[Lr].push(un),Or+=fn,fn});return qr}Yr(tr,0);for(var pn=Wr.length,Ze=function(er){Wr[er].forEach(function(Lr){!("rowSpan"in Lr)&&!Lr.hasSubColumns&&(Lr.rowSpan=pn-er)})},Ht=0;Ht<pn;Ht+=1)Ze(Ht);return Wr}function xe(tr){var Wr=tr.stickyOffsets,Yr=tr.columns,pn=tr.flattenColumns,Ze=tr.onHeaderRow,Ht=n.useContext(Z),sr=Ht.prefixCls,er=Ht.getComponent,Lr=n.useMemo(function(){return pe(Yr)},[Yr]),Or=er(["header","wrapper"],"thead"),qr=er(["header","row"],"tr"),Hr=er(["header","cell"],"th");return n.createElement(Or,{className:"".concat(sr,"-thead")},Lr.map(function(un,fn){var yn=n.createElement($,{key:fn,flattenColumns:pn,cells:un,stickyOffsets:Wr,rowComponent:qr,cellComponent:Hr,onHeaderRow:Ze,index:fn});return yn}))}var _e=xe,Ue="RC_TABLE_INTERNAL_COL_DEFINE";function ye(tr){var Wr=tr.expandable,Yr=Object(E.a)(tr,["expandable"]);return"expandable"in tr?Object(l.a)(Object(l.a)({},Yr),Wr):Yr}function Be(tr){return Object.keys(tr).reduce(function(Wr,Yr){return(Yr.substr(0,5)==="data-"||Yr.substr(0,5)==="aria-")&&(Wr[Yr]=tr[Yr]),Wr},{})}function Q(tr){for(var Wr=tr.colWidths,Yr=tr.columns,pn=tr.columCount,Ze=[],Ht=pn||Yr.length,sr=!1,er=Ht-1;er>=0;er-=1){var Lr=Wr[er],Or=Yr&&Yr[er],qr=Or&&Or[Ue];(Lr||qr||sr)&&(Ze.unshift(n.createElement("col",Object.assign({key:er,style:{width:Lr,minWidth:Lr}},qr))),sr=!0)}return n.createElement("colgroup",null,Ze)}var ie=Q;function Ve(tr,Wr){return Object(n.useMemo)(function(){for(var Yr=[],pn=0;pn<Wr;pn+=1){var Ze=tr[pn];if(Ze!==void 0)Yr[pn]=Ze;else return null}return Yr},[tr.join("_"),Wr])}var J=n.forwardRef(function(tr,Wr){var Yr=tr.noData,pn=tr.columns,Ze=tr.flattenColumns,Ht=tr.colWidths,sr=tr.columCount,er=tr.stickyOffsets,Lr=tr.direction,Or=tr.fixHeader,qr=tr.offsetHeader,Hr=tr.stickyClassName,un=tr.onScroll,fn=Object(E.a)(tr,["noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","offsetHeader","stickyClassName","onScroll"]),yn=n.useContext(Z),St=yn.prefixCls,qt=yn.scrollbarSize,ur=yn.isSticky,yr=ur&&!Or?0:qt,Ur=n.useRef(null),Zr=n.useCallback(function(Kn){Object(I.b)(Wr,Kn),Object(I.b)(Ur,Kn)},[]);n.useEffect(function(){var Kn;function Gn(In){var kn=In.currentTarget,ti=In.deltaX;ti&&(un({currentTarget:kn,scrollLeft:kn.scrollLeft+ti}),In.preventDefault())}return(Kn=Ur.current)===null||Kn===void 0||Kn.addEventListener("wheel",Gn),function(){var In;(In=Ur.current)===null||In===void 0||In.removeEventListener("wheel",Gn)}},[]);var cn=Ze[Ze.length-1],_n={fixed:cn?cn.fixed:null,onHeaderCell:function(){return{className:"".concat(St,"-cell-scrollbar")}}},Fn=Object(n.useMemo)(function(){return yr?[].concat(Object(e.a)(pn),[_n]):pn},[yr,pn]),qn=Object(n.useMemo)(function(){return yr?[].concat(Object(e.a)(Ze),[_n]):Ze},[yr,Ze]),Wn=Object(n.useMemo)(function(){var Kn=er.right,Gn=er.left;return Object(l.a)(Object(l.a)({},er),{},{left:Lr==="rtl"?[].concat(Object(e.a)(Gn.map(function(In){return In+yr})),[0]):Gn,right:Lr==="rtl"?Kn:[].concat(Object(e.a)(Kn.map(function(In){return In+yr})),[0]),isSticky:ur})},[yr,er,ur]),Rn=Ve(Ht,sr);return n.createElement("div",{style:Object(l.a)({overflow:"hidden"},ur?{top:qr}:{}),ref:Zr,className:a()("".concat(St,"-header"),Object(i.a)({},Hr,!!Hr))},n.createElement("table",{style:{tableLayout:"fixed",visibility:Yr||Rn?null:"hidden"}},n.createElement(ie,{colWidths:Rn?[].concat(Object(e.a)(Rn),[yr]):[],columCount:sr+1,columns:qn}),n.createElement(_e,Object.assign({},fn,{stickyOffsets:Wn,columns:Fn,flattenColumns:qn}))))});J.displayName="FixedHeader";var W=J,j=n.createContext(null),Y=j;function me(tr){var Wr=tr.prefixCls,Yr=tr.children,pn=tr.component,Ze=tr.cellComponent,Ht=tr.fixHeader,sr=tr.fixColumn,er=tr.horizonScroll,Lr=tr.className,Or=tr.expanded,qr=tr.componentWidth,Hr=tr.colSpan,un=n.useContext(Z),fn=un.scrollbarSize;return n.useMemo(function(){var yn=Yr;return sr&&(yn=n.createElement("div",{style:{width:qr-(Ht?fn:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Wr,"-expanded-row-fixed")},yn)),n.createElement(pn,{className:Lr,style:{display:Or?null:"none"}},n.createElement(G,{component:Ze,prefixCls:Wr,colSpan:Hr},yn))},[Yr,pn,Ht,er,Lr,Or,qr,Hr,fn])}var ae=me;function Le(tr){var Wr=tr.className,Yr=tr.style,pn=tr.record,Ze=tr.index,Ht=tr.rowKey,sr=tr.getRowKey,er=tr.rowExpandable,Lr=tr.expandedKeys,Or=tr.onRow,qr=tr.indent,Hr=qr===void 0?0:qr,un=tr.rowComponent,fn=tr.cellComponent,yn=tr.childrenColumnName,St=n.useContext(Z),qt=St.prefixCls,ur=St.fixedInfoList,yr=n.useContext(Y),Ur=yr.fixHeader,Zr=yr.fixColumn,cn=yr.horizonScroll,_n=yr.componentWidth,Fn=yr.flattenColumns,qn=yr.expandableType,Wn=yr.expandRowByClick,Rn=yr.onTriggerExpand,Kn=yr.rowClassName,Gn=yr.expandedRowClassName,In=yr.indentSize,kn=yr.expandIcon,ti=yr.expandedRowRender,or=yr.expandIconColumnIndex,br=n.useState(!1),Mr=Object(u.a)(br,2),Sr=Mr[0],Wt=Mr[1],fr=Lr&&Lr.has(tr.recordKey);n.useEffect(function(){fr&&Wt(!0)},[fr]);var Jt=qn==="row"&&(!er||er(pn)),Tr=qn==="nest",_r=yn&&pn&&pn[yn],Qr=Jt||Tr,Kr;Or&&(Kr=Or(pn,Ze));var en=function(wi){if(Wn&&Qr&&Rn(pn,wi),Kr&&Kr.onClick){for(var ri,Un=arguments.length,ci=new Array(Un>1?Un-1:0),mi=1;mi<Un;mi++)ci[mi-1]=arguments[mi];(ri=Kr).onClick.apply(ri,[wi].concat(ci))}},An;typeof Kn=="string"?An=Kn:typeof Kn=="function"&&(An=Kn(pn,Ze,Hr));var xn=M(Fn),Cn=n.createElement(un,Object.assign({},Kr,{"data-row-key":Ht,className:a()(Wr,"".concat(qt,"-row"),"".concat(qt,"-row-level-").concat(Hr),An,Kr&&Kr.className),style:Object(l.a)(Object(l.a)({},Yr),Kr?Kr.style:null),onClick:en}),Fn.map(function(vi,wi){var ri=vi.render,Un=vi.dataIndex,ci=vi.className,mi=xn[wi],Ki=ur[wi],ii;wi===(or||0)&&Tr&&(ii=n.createElement(n.Fragment,null,n.createElement("span",{style:{paddingLeft:"".concat(In*Hr,"px")},className:"".concat(qt,"-row-indent indent-level-").concat(Hr)}),kn({prefixCls:qt,expanded:fr,expandable:_r,record:pn,onExpand:Rn})));var fi;return vi.onCell&&(fi=vi.onCell(pn,Ze)),n.createElement(G,Object.assign({className:ci,ellipsis:vi.ellipsis,align:vi.align,component:fn,prefixCls:qt,key:mi,record:pn,index:Ze,dataIndex:Un,render:ri,shouldCellUpdate:vi.shouldCellUpdate},Ki,{appendNode:ii,additionalProps:fi}))})),jn;if(Jt&&(Sr||fr)){var di=ti(pn,Ze,Hr+1,fr),Ei=Gn&&Gn(pn,Ze,Hr);jn=n.createElement(ae,{expanded:fr,className:a()("".concat(qt,"-expanded-row"),"".concat(qt,"-expanded-row-level-").concat(Hr+1),Ei),prefixCls:qt,fixHeader:Ur,fixColumn:Zr,horizonScroll:cn,component:un,componentWidth:_n,cellComponent:fn,colSpan:Fn.length},di)}var Ii;return _r&&fr&&(Ii=(pn[yn]||[]).map(function(vi,wi){var ri=sr(vi,wi);return n.createElement(Le,Object.assign({},tr,{key:ri,rowKey:ri,record:vi,recordKey:ri,index:wi,indent:Hr+1}))})),n.createElement(n.Fragment,null,Cn,jn,Ii)}Le.displayName="BodyRow";var Ee=Le,ne=n.createContext(null),ge=ne;function Ie(tr){var Wr=tr.columnKey,Yr=tr.onColumnResize,pn=n.useRef();return n.useEffect(function(){pn.current&&Yr(Wr,pn.current.offsetWidth)},[]),n.createElement(x.a,{onResize:function(Ht){var sr=Ht.offsetWidth;Yr(Wr,sr)}},n.createElement("td",{ref:pn,style:{padding:0,border:0,height:0}},n.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function Ge(tr){var Wr=tr.data,Yr=tr.getRowKey,pn=tr.measureColumnWidth,Ze=tr.expandedKeys,Ht=tr.onRow,sr=tr.rowExpandable,er=tr.emptyNode,Lr=tr.childrenColumnName,Or=n.useContext(ge),qr=Or.onColumnResize,Hr=n.useContext(Z),un=Hr.prefixCls,fn=Hr.getComponent,yn=n.useContext(Y),St=yn.fixHeader,qt=yn.horizonScroll,ur=yn.flattenColumns,yr=yn.componentWidth;return n.useMemo(function(){var Ur=fn(["body","wrapper"],"tbody"),Zr=fn(["body","row"],"tr"),cn=fn(["body","cell"],"td"),_n;Wr.length?_n=Wr.map(function(qn,Wn){var Rn=Yr(qn,Wn);return n.createElement(Ee,{key:Rn,rowKey:Rn,record:qn,recordKey:Rn,index:Wn,rowComponent:Zr,cellComponent:cn,expandedKeys:Ze,onRow:Ht,getRowKey:Yr,rowExpandable:sr,childrenColumnName:Lr})}):_n=n.createElement(ae,{expanded:!0,className:"".concat(un,"-placeholder"),prefixCls:un,fixHeader:St,fixColumn:qt,horizonScroll:qt,component:Zr,componentWidth:yr,cellComponent:cn,colSpan:ur.length},er);var Fn=M(ur);return n.createElement(Ur,{className:"".concat(un,"-tbody")},pn&&n.createElement("tr",{"aria-hidden":"true",className:"".concat(un,"-measure-row"),style:{height:0}},Fn.map(function(qn){return n.createElement(Ie,{key:qn,columnKey:qn,onColumnResize:qr})})),_n)},[Wr,un,Ht,pn,Ze,Yr,fn,yr,er,ur])}var ut=n.memo(Ge);ut.displayName="Body";var wt=ut,Pe=r("Zm9Q");function Dt(tr){return Object(Pe.a)(tr).filter(function(Wr){return n.isValidElement(Wr)}).map(function(Wr){var Yr=Wr.key,pn=Wr.props,Ze=pn.children,Ht=Object(E.a)(pn,["children"]),sr=Object(l.a)({key:Yr},Ht);return Ze&&(sr.children=Dt(Ze)),sr})}function et(tr){return tr.reduce(function(Wr,Yr){var pn=Yr.fixed,Ze=pn===!0?"left":pn,Ht=Yr.children;return Ht&&Ht.length>0?[].concat(Object(e.a)(Wr),Object(e.a)(et(Ht).map(function(sr){return Object(l.a)({fixed:Ze},sr)}))):[].concat(Object(e.a)(Wr),[Object(l.a)(Object(l.a)({},Yr),{},{fixed:Ze})])},[])}function _t(tr){for(var Wr=!0,Yr=0;Yr<tr.length;Yr+=1){var pn=tr[Yr];if(Wr&&pn.fixed!=="left")Wr=!1;else if(!Wr&&pn.fixed==="left"){Object(v.a)(!1,"Index ".concat(Yr-1," of `columns` missing `fixed='left'` prop."));break}}for(var Ze=!0,Ht=tr.length-1;Ht>=0;Ht-=1){var sr=tr[Ht];if(Ze&&sr.fixed!=="right")Ze=!1;else if(!Ze&&sr.fixed==="right"){Object(v.a)(!1,"Index ".concat(Ht+1," of `columns` missing `fixed='right'` prop."));break}}}function Nt(tr){return tr.map(function(Wr){var Yr=Wr.fixed,pn=Object(E.a)(Wr,["fixed"]),Ze=Yr;return Yr==="left"?Ze="right":Yr==="right"&&(Ze="left"),Object(l.a)({fixed:Ze},pn)})}function Bt(tr,Wr){var Yr=tr.prefixCls,pn=tr.columns,Ze=tr.children,Ht=tr.expandable,sr=tr.expandedKeys,er=tr.getRowKey,Lr=tr.onTriggerExpand,Or=tr.expandIcon,qr=tr.rowExpandable,Hr=tr.expandIconColumnIndex,un=tr.direction,fn=tr.expandRowByClick,yn=n.useMemo(function(){return pn||Dt(Ze)},[pn,Ze]),St=n.useMemo(function(){if(Ht){var yr,Ur=Hr||0,Zr=yn[Ur],cn=(yr={},Object(i.a)(yr,Ue,{className:"".concat(Yr,"-expand-icon-col")}),Object(i.a)(yr,"title",""),Object(i.a)(yr,"fixed",Zr?Zr.fixed:null),Object(i.a)(yr,"className","".concat(Yr,"-row-expand-icon-cell")),Object(i.a)(yr,"render",function(qn,Wn,Rn){var Kn=er(Wn,Rn),Gn=sr.has(Kn),In=qr?qr(Wn):!0,kn=Or({prefixCls:Yr,expanded:Gn,expandable:In,record:Wn,onExpand:Lr});return fn?n.createElement("span",{onClick:function(or){return or.stopPropagation()}},kn):kn}),yr),_n=yn.slice();return Ur>=0&&_n.splice(Ur,0,cn),_n}return yn},[Ht,yn,er,sr,Or,un]),qt=n.useMemo(function(){var yr=St;return Wr&&(yr=Wr(yr)),yr.length||(yr=[{render:function(){return null}}]),yr},[Wr,St,un]),ur=n.useMemo(function(){return un==="rtl"?Nt(et(qt)):et(qt)},[qt,un]);return[qt,ur]}var Ft=Bt,Gt=r("xEkU"),qe=r.n(Gt);function we(tr){var Wr=Object(n.useRef)(tr),Yr=Object(n.useState)({}),pn=Object(u.a)(Yr,2),Ze=pn[1],Ht=Object(n.useRef)(null),sr=Object(n.useRef)([]);function er(Lr){Ht.current===null&&(sr.current=[],Ht.current=qe()(function(){sr.current.forEach(function(Or){Wr.current=Or(Wr.current)}),Ht.current=null,Ze({})})),sr.current.push(Lr)}return Object(n.useEffect)(function(){return function(){qe.a.cancel(Ht.current)}},[]),[Wr.current,er]}function ue(tr){var Wr=Object(n.useRef)(tr),Yr=Object(n.useRef)(null);function pn(){window.clearTimeout(Yr.current)}function Ze(sr){Wr.current=sr,pn(),Yr.current=window.setTimeout(function(){Wr.current=null,Yr.current=null},100)}function Ht(){return Wr.current}return Object(n.useEffect)(function(){return pn},[]),[Ze,Ht]}function vt(tr,Wr,Yr){var pn=Object(n.useMemo)(function(){for(var Ze=[],Ht=[],sr=0,er=0,Lr=0;Lr<Wr;Lr+=1)if(Yr==="rtl"){Ht[Lr]=er,er+=tr[Lr]||0;var Or=Wr-Lr-1;Ze[Or]=sr,sr+=tr[Or]||0}else{Ze[Lr]=sr,sr+=tr[Lr]||0;var qr=Wr-Lr-1;Ht[qr]=er,er+=tr[qr]||0}return{left:Ze,right:Ht}},[tr,Wr,Yr]);return pn}var at=vt;function Ae(tr){var Wr=tr.className,Yr=tr.children;return n.createElement("div",{className:Wr},Yr)}var Xt=Ae;function Ot(tr){var Wr=tr.className,Yr=tr.index,pn=tr.children,Ze=tr.colSpan,Ht=tr.rowSpan,sr=n.useContext(Z),er=sr.prefixCls,Lr=sr.fixedInfoList,Or=Lr[Yr];return n.createElement(G,Object.assign({className:Wr,index:Yr,component:"td",prefixCls:er,record:null,dataIndex:null,render:function(){return{children:pn,props:{colSpan:Ze,rowSpan:Ht}}}},Or))}function rt(tr){return n.createElement("tr",Object.assign({},tr))}function Et(tr){var Wr=tr.children,Yr=n.useContext(Z),pn=Yr.prefixCls;return n.createElement("tfoot",{className:"".concat(pn,"-summary")},Wr)}var Zt=Et,vr={Cell:Ot,Row:rt};function mt(tr){var Wr,Yr=tr.prefixCls,pn=tr.record,Ze=tr.onExpand,Ht=tr.expanded,sr=tr.expandable,er="".concat(Yr,"-row-expand-icon");if(!sr)return n.createElement("span",{className:a()(er,"".concat(Yr,"-row-spaced"))});var Lr=function(qr){Ze(pn,qr),qr.stopPropagation()};return n.createElement("span",{className:a()(er,(Wr={},Object(i.a)(Wr,"".concat(Yr,"-row-expanded"),Ht),Object(i.a)(Wr,"".concat(Yr,"-row-collapsed"),!Ht),Wr)),onClick:Lr})}function ce(tr,Wr,Yr){var pn=[];function Ze(Ht){(Ht||[]).forEach(function(sr,er){pn.push(Wr(sr,er)),Ze(sr[Yr])})}return Ze(tr),pn}var le=r("zT1h"),oe=r("y0+3"),fe=function(Wr,Yr){var pn,Ze,Ht=Wr.scrollBodyRef,sr=Wr.onScroll,er=Wr.offsetScroll,Lr=n.useContext(Z),Or=Lr.prefixCls,qr=((pn=Ht.current)===null||pn===void 0?void 0:pn.scrollWidth)||0,Hr=((Ze=Ht.current)===null||Ze===void 0?void 0:Ze.clientWidth)||0,un=qr&&Hr*(Hr/qr),fn=n.useRef(),yn=we({scrollLeft:0,isHiddenScrollBar:!1}),St=Object(u.a)(yn,2),qt=St[0],ur=St[1],yr=n.useRef({delta:0,x:0}),Ur=n.useState(!1),Zr=Object(u.a)(Ur,2),cn=Zr[0],_n=Zr[1],Fn=function(){_n(!1)},qn=function(In){In.persist(),yr.current.delta=In.pageX-qt.scrollLeft,yr.current.x=0,_n(!0),In.preventDefault()},Wn=function(In){var kn,ti=In||((kn=window)===null||kn===void 0?void 0:kn.event),or=ti.buttons;if(!cn||or===0){cn&&_n(!1);return}var br=yr.current.x+In.pageX-yr.current.x-yr.current.delta;br<=0&&(br=0),br+un>=Hr&&(br=Hr-un),sr({scrollLeft:br/Hr*(qr+2)}),yr.current.x=In.pageX},Rn=function(){var In=Object(oe.b)(Ht.current).top,kn=In+Ht.current.offsetHeight,ti=document.documentElement.scrollTop+window.innerHeight;kn-Object(b.a)()<=ti||In>=ti-er?ur(function(or){return Object(l.a)(Object(l.a)({},or),{},{isHiddenScrollBar:!0})}):ur(function(or){return Object(l.a)(Object(l.a)({},or),{},{isHiddenScrollBar:!1})})},Kn=function(In){ur(function(kn){return Object(l.a)(Object(l.a)({},kn),{},{scrollLeft:In/qr*Hr||0})})};return n.useImperativeHandle(Yr,function(){return{setScrollLeft:Kn}}),n.useEffect(function(){var Gn=Object(le.a)(document.body,"mouseup",Fn,!1),In=Object(le.a)(document.body,"mousemove",Wn,!1);return Rn(),function(){Gn.remove(),In.remove()}},[un,cn]),n.useEffect(function(){var Gn=Object(le.a)(window,"scroll",Rn,!1),In=Object(le.a)(window,"resize",Rn,!1);return function(){Gn.remove(),In.remove()}},[]),n.useEffect(function(){qt.isHiddenScrollBar||ur(function(Gn){var In,kn;return Object(l.a)(Object(l.a)({},Gn),{},{scrollLeft:Ht.current.scrollLeft/((In=Ht.current)===null||In===void 0?void 0:In.scrollWidth)*((kn=Ht.current)===null||kn===void 0?void 0:kn.clientWidth)})})},[qt.isHiddenScrollBar]),qr<=Hr||!un||qt.isHiddenScrollBar?null:n.createElement("div",{style:{height:Object(b.a)(),width:Hr,bottom:er},className:"".concat(Or,"-sticky-scroll")},n.createElement("div",{onMouseDown:qn,ref:fn,className:a()("".concat(Or,"-sticky-scroll-bar"),Object(i.a)({},"".concat(Or,"-sticky-scroll-bar-active"),cn)),style:{width:"".concat(un,"px"),transform:"translate3d(".concat(qt.scrollLeft,"px, 0, 0)")}}))},De=n.forwardRef(fe);function He(tr,Wr){return n.useMemo(function(){var Yr=!!tr;return{isSticky:Yr,stickyClassName:Yr?"".concat(Wr,"-sticky-header"):"",offsetHeader:Object(s.a)(tr)==="object"&&tr.offsetHeader||0,offsetScroll:Object(s.a)(tr)==="object"&&tr.offsetScroll||0}},[tr,Wr])}var je=[],We={},nt="rc-table-internal-hook",xt=n.memo(function(tr){var Wr=tr.children;return Wr},function(tr,Wr){return A()(tr.props,Wr.props)?tr.pingLeft!==Wr.pingLeft||tr.pingRight!==Wr.pingRight:!1});function It(tr){var Wr,Yr=tr.prefixCls,pn=tr.className,Ze=tr.rowClassName,Ht=tr.style,sr=tr.data,er=tr.rowKey,Lr=tr.scroll,Or=tr.tableLayout,qr=tr.direction,Hr=tr.title,un=tr.footer,fn=tr.summary,yn=tr.id,St=tr.showHeader,qt=tr.components,ur=tr.emptyText,yr=tr.onRow,Ur=tr.onHeaderRow,Zr=tr.internalHooks,cn=tr.transformColumns,_n=tr.internalRefs,Fn=tr.sticky,qn=sr||je,Wn=!!qn.length,Rn=n.useState(0),Kn=Object(u.a)(Rn,2),Gn=Kn[0],In=Kn[1];n.useEffect(function(){In(Object(b.a)())});var kn=n.useMemo(function(){return P(qt,{})},[qt]),ti=n.useCallback(function(Na,Ga){return k(kn,Na)||Ga},[kn]),or=n.useMemo(function(){return typeof er=="function"?er:function(Na){var Ga=Na&&Na[er];return Ga}},[er]),br=ye(tr),Mr=br.expandIcon,Sr=br.expandedRowKeys,Wt=br.defaultExpandedRowKeys,fr=br.defaultExpandAllRows,Jt=br.expandedRowRender,Tr=br.onExpand,_r=br.onExpandedRowsChange,Qr=br.expandRowByClick,Kr=br.rowExpandable,en=br.expandIconColumnIndex,An=br.expandedRowClassName,xn=br.childrenColumnName,Cn=br.indentSize,jn=Mr||mt,di=xn||"children",Ei=n.useMemo(function(){return Jt?"row":tr.expandable&&Zr===nt&&tr.expandable.__PARENT_RENDER_ICON__||qn.some(function(Na){return Na&&Object(s.a)(Na)==="object"&&Na[di]})?"nest":!1},[!!Jt,qn]),Ii=n.useState(function(){return Wt||(fr?ce(qn,or,di):[])}),vi=Object(u.a)(Ii,2),wi=vi[0],ri=vi[1],Un=n.useMemo(function(){return new Set(Sr||wi||[])},[Sr,wi]),ci=n.useCallback(function(Na){var Ga=or(Na,qn.indexOf(Na)),To,xo=Un.has(Ga);xo?(Un.delete(Ga),To=Object(e.a)(Un)):To=[].concat(Object(e.a)(Un),[Ga]),ri(To),Tr&&Tr(!xo,Na),_r&&_r(To)},[or,Un,qn,Tr,_r]),mi=n.useState(0),Ki=Object(u.a)(mi,2),ii=Ki[0],fi=Ki[1],pi=Ft(Object(l.a)(Object(l.a)(Object(l.a)({},tr),br),{},{expandable:!!Jt,expandedKeys:Un,getRowKey:or,onTriggerExpand:ci,expandIcon:jn,expandIconColumnIndex:en,direction:qr}),Zr===nt?cn:null),ra=Object(u.a)(pi,2),ki=ra[0],Zn=ra[1],Si=n.useMemo(function(){return{columns:ki,flattenColumns:Zn}},[ki,Zn]),Yi=n.useRef(),Pi=n.useRef(),Ci=n.useRef(),bi=n.useState(!1),wa=Object(u.a)(bi,2),Zi=wa[0],ha=wa[1],Ia=n.useState(!1),xi=Object(u.a)(Ia,2),Ba=xi[0],oa=xi[1],qi=we(new Map),ga=Object(u.a)(qi,2),na=ga[0],ca=ga[1],Wa=M(Zn),Pa=Wa.map(function(Na){return na.get(Na)}),ro=n.useMemo(function(){return Pa},[Pa.join("_")]),Fa=at(ro,Zn.length,qr),Ua=Lr&&V(Lr.y),Ya=Lr&&V(Lr.x),Aa=Ya&&Zn.some(function(Na){var Ga=Na.fixed;return Ga}),Ji=n.useRef(),La=He(Fn,Yr),ja=La.isSticky,ji=La.offsetHeader,Qi=La.offsetScroll,uo=La.stickyClassName,yo,Lo,Oo;Ua&&(Lo={overflowY:"scroll",maxHeight:Lr.y}),Ya&&(yo={overflowX:"auto"},Ua||(Lo={overflowY:"hidden"}),Oo={width:Lr.x===!0?"auto":Lr.x,minWidth:"100%"});var Va=n.useCallback(function(Na,Ga){ca(function(To){var xo=new Map(To);return xo.set(Na,Ga),xo})},[]),$i=ue(null),co=Object(u.a)($i,2),Zo=co[0],Ha=co[1];function bo(Na,Ga){if(!Ga)return;typeof Ga=="function"?Ga(Na):Ga.scrollLeft!==Na&&(Ga.scrollLeft=Na)}var ma=function(Ga){var To=Ga.currentTarget,xo=Ga.scrollLeft,$o=typeof xo=="number"?xo:To.scrollLeft,es=To||We;if(!Ha()||Ha()===es){var ts;Zo(es),bo($o,Pi.current),bo($o,Ci.current),bo($o,(ts=Ji.current)===null||ts===void 0?void 0:ts.setScrollLeft)}if(To){var Gs=To.scrollWidth,Os=To.clientWidth;ha($o>0),oa($o<Gs-Os)}},Bo=function(){Ci.current&&ma({currentTarget:Ci.current})},$s=function(Ga){var To=Ga.width;Bo(),fi(Yi.current?Yi.current.offsetWidth:To)};n.useEffect(function(){return Bo},[]),n.useEffect(function(){Ya&&Bo()},[Ya]),n.useEffect(function(){Zr===nt&&_n&&(_n.body.current=Ci.current)});var ss=ti(["table"],"table"),Ho=n.useMemo(function(){return Or||(Aa?Lr.x==="max-content"?"auto":"fixed":Ua||Zn.some(function(Na){var Ga=Na.ellipsis;return Ga})?"fixed":"auto")},[Ua,Aa,Zn,Or]),vs,cs={colWidths:ro,columCount:Zn.length,stickyOffsets:Fa,onHeaderRow:Ur,fixHeader:Ua},Jo=n.useMemo(function(){return Wn?null:typeof ur=="function"?ur():ur},[Wn,ur]),Fo=n.createElement(wt,{data:qn,measureColumnWidth:Ua||Ya||ja,expandedKeys:Un,rowExpandable:Kr,getRowKey:or,onRow:yr,emptyNode:Jo,childrenColumnName:di}),eo=n.createElement(ie,{colWidths:Zn.map(function(Na){var Ga=Na.width;return Ga}),columns:Zn}),Mo=fn&&n.createElement(Zt,null,fn(qn)),po=ti(["body"]);if(Ua||ja){var wo;typeof po=="function"?(wo=po(qn,{scrollbarSize:Gn,ref:Ci,onScroll:ma}),cs.colWidths=Zn.map(function(Na,Ga){var To=Na.width,xo=Ga===ki.length-1?To-Gn:To;return typeof xo=="number"&&!Number.isNaN(xo)?xo:(Object(v.a)(!1,"When use `components.body` with render props. Each column should have a fixed value."),0)})):wo=n.createElement("div",{style:Object(l.a)(Object(l.a)({},yo),Lo),onScroll:ma,ref:Ci,className:a()("".concat(Yr,"-body"))},n.createElement(ss,{style:Object(l.a)(Object(l.a)({},Oo),{},{tableLayout:Ho})},eo,Fo,Mo),ja&&n.createElement(De,{ref:Ji,offsetScroll:Qi,scrollBodyRef:Ci,onScroll:ma})),vs=n.createElement(n.Fragment,null,St!==!1&&n.createElement(W,Object.assign({noData:!qn.length},cs,Si,{direction:qr,offsetHeader:ji,stickyClassName:uo,ref:Pi,onScroll:ma})),wo)}else vs=n.createElement("div",{style:Object(l.a)(Object(l.a)({},yo),Lo),className:a()("".concat(Yr,"-content")),onScroll:ma,ref:Ci},n.createElement(ss,{style:Object(l.a)(Object(l.a)({},Oo),{},{tableLayout:Ho})},eo,St!==!1&&n.createElement(_e,Object.assign({},cs,Si)),Fo,Mo));var Dr=Be(tr),Hn=n.createElement("div",Object.assign({className:a()(Yr,pn,(Wr={},Object(i.a)(Wr,"".concat(Yr,"-rtl"),qr==="rtl"),Object(i.a)(Wr,"".concat(Yr,"-ping-left"),Zi),Object(i.a)(Wr,"".concat(Yr,"-ping-right"),Ba),Object(i.a)(Wr,"".concat(Yr,"-layout-fixed"),Or==="fixed"),Object(i.a)(Wr,"".concat(Yr,"-fixed-header"),Ua),Object(i.a)(Wr,"".concat(Yr,"-fixed-column"),Aa),Object(i.a)(Wr,"".concat(Yr,"-scroll-horizontal"),Ya),Object(i.a)(Wr,"".concat(Yr,"-has-fix-left"),Zn[0]&&Zn[0].fixed),Object(i.a)(Wr,"".concat(Yr,"-has-fix-right"),Zn[Zn.length-1]&&Zn[Zn.length-1].fixed==="right"),Wr)),style:Ht,id:yn,ref:Yi},Dr),n.createElement(xt,{pingLeft:Zi,pingRight:Ba,props:Object(l.a)(Object(l.a)({},tr),{},{stickyOffsets:Fa,mergedExpandedKeys:Un})},Hr&&n.createElement(Xt,{className:"".concat(Yr,"-title")},Hr(qn)),n.createElement("div",{className:"".concat(Yr,"-container")},vs),un&&n.createElement(Xt,{className:"".concat(Yr,"-footer")},un(qn))));Ya&&(Hn=n.createElement(x.a,{onResize:$s},Hn));var Ls=n.useMemo(function(){return{prefixCls:Yr,getComponent:ti,scrollbarSize:Gn,direction:qr,fixedInfoList:Zn.map(function(Na,Ga){return ee(Ga,Ga,Zn,Fa,qr)}),isSticky:ja}},[Yr,ti,Gn,qr,Zn,Fa,qr,ja]),Ss=n.useMemo(function(){return Object(l.a)(Object(l.a)({},Si),{},{tableLayout:Ho,rowClassName:Ze,expandedRowClassName:An,componentWidth:ii,fixHeader:Ua,fixColumn:Aa,horizonScroll:Ya,expandIcon:jn,expandableType:Ei,expandRowByClick:Qr,expandedRowRender:Jt,onTriggerExpand:ci,expandIconColumnIndex:en,indentSize:Cn})},[Si,Ho,Ze,An,ii,Ua,Aa,Ya,jn,Ei,Qr,Jt,ci,en,Cn]),ys=n.useMemo(function(){return{onColumnResize:Va}},[Va]);return n.createElement(Z.Provider,{value:Ls},n.createElement(Y.Provider,{value:Ss},n.createElement(ge.Provider,{value:ys},Hn)))}It.Column=S,It.ColumnGroup=_,It.Summary=vr,It.defaultProps={rowKey:"key",prefixCls:"rc-table",emptyText:function(){return"No Data"}};var ir=It,Me=ir,ke=r("W9HT"),re=r("NUBc"),be=r("H84U"),Ne=function(tr,Wr){var Yr={};for(var pn in tr)Object.prototype.hasOwnProperty.call(tr,pn)&&Wr.indexOf(pn)<0&&(Yr[pn]=tr[pn]);if(tr!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,pn=Object.getOwnPropertySymbols(tr);Ze<pn.length;Ze++)Wr.indexOf(pn[Ze])<0&&Object.prototype.propertyIsEnumerable.call(tr,pn[Ze])&&(Yr[pn[Ze]]=tr[pn[Ze]]);return Yr},Ke=10;function Qe(tr,Wr){var Yr={current:Wr.current,pageSize:Wr.pageSize},pn=tr&&m()(tr)==="object"?tr:{};return Object.keys(pn).forEach(function(Ze){var Ht=Wr[Ze];typeof Ht!="function"&&(Yr[Ze]=Ht)}),Yr}function ct(){for(var tr={},Wr=arguments.length,Yr=new Array(Wr),pn=0;pn<Wr;pn++)Yr[pn]=arguments[pn];return Yr.forEach(function(Ze){Ze&&Object.keys(Ze).forEach(function(Ht){var sr=Ze[Ht];sr!==void 0&&(tr[Ht]=sr)})}),tr}function Lt(tr,Wr,Yr){var pn=Wr&&m()(Wr)==="object"?Wr:{},Ze=pn.total,Ht=Ze===void 0?0:Ze,sr=Ne(pn,["total"]),er=Object(n.useState)(function(){return{current:"defaultCurrent"in sr?sr.defaultCurrent:1,pageSize:"defaultPageSize"in sr?sr.defaultPageSize:Ke}}),Lr=h()(er,2),Or=Lr[0],qr=Lr[1],Hr=ct(Or,sr,{total:Ht>0?Ht:tr});if(!Ht){var un=Math.ceil(tr/Hr.pageSize);un<Hr.current&&(Hr.current=1)}var fn=function(){var qt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,ur=arguments.length>1?arguments[1]:void 0;qr(o()(o()({},Hr),{current:qt,pageSize:ur||Hr.pageSize}))},yn=function(qt,ur){var yr=Hr==null?void 0:Hr.pageSize;ur&&ur!==yr&&(qt=1,Wr&&Wr.onShowSizeChange&&Wr.onShowSizeChange(qt,ur)),Wr&&Wr.onChange&&Wr.onChange(qt,ur),fn(qt,ur),Yr(qt,ur||yr)};return Wr===!1?[{},function(){}]:[o()(o()({},Hr),{onChange:yn}),fn]}function rr(tr,Wr,Yr){var pn=n.useRef({});function Ze(Ht){if(!pn.current||pn.current.data!==tr||pn.current.childrenColumnName!==Wr||pn.current.getRowKey!==Yr){var sr=function Lr(Or){Or.forEach(function(qr,Hr){var un=Yr(qr,Hr);er.set(un,qr),qr&&m()(qr)==="object"&&Wr in qr&&Lr(qr[Wr]||[])})},er=new Map;sr(tr),pn.current={data:tr,childrenColumnName:Wr,kvMap:er,getRowKey:Yr}}return pn.current.kvMap.get(Ht)}return[Ze]}var dr=r("SA+Z"),Pt=r.n(dr),jt=r("RIqP"),Ct=r.n(jt),Rt=r("HQEm"),pt=r.n(Rt),ot=r("815F"),gt=r("NvD2"),Ye=r("OZM5"),$e=r("6cGi"),Je=r("kaz8"),it=r("jsC+"),ft=r("BvKs"),ht=r("9yH6"),st=r("uaoM"),kt="SELECT_ALL",Tt="SELECT_INVERT";function ar(tr){return tr&&tr.fixed}function Qt(tr,Wr){var Yr=[];return(tr||[]).forEach(function(pn){Yr.push(pn),pn&&m()(pn)==="object"&&Wr in pn&&(Yr=[].concat(Ct()(Yr),Ct()(Qt(pn[Wr],Wr))))}),Yr}function Er(tr,Wr){var Yr=tr||{},pn=Yr.preserveSelectedRowKeys,Ze=Yr.selectedRowKeys,Ht=Yr.getCheckboxProps,sr=Yr.onChange,er=Yr.onSelect,Lr=Yr.onSelectAll,Or=Yr.onSelectInvert,qr=Yr.onSelectMultiple,Hr=Yr.columnWidth,un=Yr.type,fn=Yr.selections,yn=Yr.fixed,St=Yr.renderCell,qt=Yr.hideSelectAll,ur=Yr.checkStrictly,yr=ur===void 0?!0:ur,Ur=Wr.prefixCls,Zr=Wr.data,cn=Wr.pageData,_n=Wr.getRecordByKey,Fn=Wr.getRowKey,qn=Wr.expandType,Wn=Wr.childrenColumnName,Rn=Wr.locale,Kn=Wr.expandIconColumnIndex,Gn=Wr.getPopupContainer,In=n.useRef(new Map),kn=Object($e.a)(Ze||[],{value:Ze}),ti=h()(kn,2),or=ti[0],br=ti[1],Mr=Object(n.useMemo)(function(){return yr?{keyEntities:null}:Object(ot.a)(Zr,void 0,Fn)},[Zr,Fn,yr]),Sr=Mr.keyEntities,Wt=Object(n.useMemo)(function(){return Qt(cn,Wn)},[cn,Wn]),fr=Object(n.useMemo)(function(){var ri=new Map;return Wt.forEach(function(Un,ci){var mi=Fn(Un,ci),Ki=(Ht?Ht(Un):null)||{};ri.set(mi,Ki)}),ri},[Wt,Fn,Ht]),Jt=Object(n.useCallback)(function(ri){var Un;return!!((Un=fr.get(Fn(ri)))===null||Un===void 0?void 0:Un.disabled)},[fr,Fn]),Tr=Object(n.useMemo)(function(){if(yr)return[or,[]];var ri=Object(gt.a)(or,!0,Sr,Jt),Un=ri.checkedKeys,ci=ri.halfCheckedKeys;return[Un,ci]},[or,yr,Sr,Jt]),_r=h()(Tr,2),Qr=_r[0],Kr=_r[1],en=Object(n.useMemo)(function(){var ri=un==="radio"?Qr.slice(0,1):Qr;return new Set(ri)},[Qr,un]),An=Object(n.useMemo)(function(){return un==="radio"?new Set:new Set(Kr)},[Kr,un]),xn=Object(n.useState)(null),Cn=h()(xn,2),jn=Cn[0],di=Cn[1];n.useEffect(function(){tr||br([])},[!!tr]);var Ei=Object(n.useCallback)(function(ri){var Un,ci;if(pn){var mi=new Map;Un=ri,ci=ri.map(function(Ki){var ii=_n(Ki);return!ii&&In.current.has(Ki)&&(ii=In.current.get(Ki)),mi.set(Ki,ii),ii}),In.current=mi}else Un=[],ci=[],ri.forEach(function(Ki){var ii=_n(Ki);ii!==void 0&&(Un.push(Ki),ci.push(ii))});br(Un),sr&&sr(Un,ci)},[br,_n,sr,pn]),Ii=Object(n.useCallback)(function(ri,Un,ci,mi){if(er){var Ki=ci.map(function(ii){return _n(ii)});er(_n(ri),Un,Ki,mi)}Ei(ci)},[er,_n,Ei]),vi=Object(n.useMemo)(function(){if(!fn||qt)return null;var ri=fn===!0?[kt,Tt]:fn;return ri.map(function(Un){return Un===kt?{key:"all",text:Rn.selectionAll,onSelect:function(){Ei(Zr.map(function(mi,Ki){return Fn(mi,Ki)}))}}:Un===Tt?{key:"invert",text:Rn.selectInvert,onSelect:function(){var mi=new Set(en);cn.forEach(function(ii,fi){var pi=Fn(ii,fi);mi.has(pi)?mi.delete(pi):mi.add(pi)});var Ki=Array.from(mi);Ei(Ki),Or&&(Object(st.a)(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),Or(Ki))}}:Un})},[fn,en,cn,Fn,Or,Ei]),wi=Object(n.useCallback)(function(ri){if(!tr)return ri;var Un=new Set(en),ci=Wt.map(Fn).filter(function(Zi){return!fr.get(Zi).disabled}),mi=ci.every(function(Zi){return Un.has(Zi)}),Ki=ci.some(function(Zi){return Un.has(Zi)}),ii=function(){var ha=[];mi?ci.forEach(function(xi){Un.delete(xi),ha.push(xi)}):ci.forEach(function(xi){Un.has(xi)||(Un.add(xi),ha.push(xi))});var Ia=Array.from(Un);Ei(Ia),Lr&&Lr(!mi,Ia.map(function(xi){return _n(xi)}),ha.map(function(xi){return _n(xi)}))},fi;if(un!=="radio"){var pi;if(vi){var ra=n.createElement(ft.a,{getPopupContainer:Gn},vi.map(function(Zi,ha){var Ia=Zi.key,xi=Zi.text,Ba=Zi.onSelect;return n.createElement(ft.a.Item,{key:Ia||ha,onClick:function(){Ba&&Ba(ci)}},xi)}));pi=n.createElement("div",{className:"".concat(Ur,"-selection-extra")},n.createElement(it.a,{overlay:ra,getPopupContainer:Gn},n.createElement("span",null,n.createElement(pt.a,null))))}var ki=Wt.every(function(Zi,ha){var Ia=Fn(Zi,ha),xi=fr.get(Ia)||{};return xi.disabled});fi=!qt&&n.createElement("div",{className:"".concat(Ur,"-selection")},n.createElement(Je.a,{checked:!ki&&!!Wt.length&&mi,indeterminate:!mi&&Ki,onChange:ii,disabled:Wt.length===0||ki}),pi)}var Zn;un==="radio"?Zn=function(ha,Ia,xi){var Ba=Fn(Ia,xi),oa=Un.has(Ba);return{node:n.createElement(ht.a,o()({},fr.get(Ba),{checked:oa,onClick:function(ga){return ga.stopPropagation()},onChange:function(ga){Un.has(Ba)||Ii(Ba,!0,[Ba],ga.nativeEvent)}})),checked:oa}}:Zn=function(ha,Ia,xi){var Ba,oa=Fn(Ia,xi),qi=Un.has(oa),ga=An.has(oa),na=fr.get(oa),ca;return qn==="nest"?(ca=ga,Object(st.a)(!(typeof(na==null?void 0:na.indeterminate)=="boolean"),"Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):ca=(Ba=na==null?void 0:na.indeterminate)!==null&&Ba!==void 0?Ba:ga,{node:n.createElement(Je.a,o()({},na,{indeterminate:ca,checked:qi,onClick:function(Pa){return Pa.stopPropagation()},onChange:function(Pa){var ro=Pa.nativeEvent,Fa=ro.shiftKey,Ua=-1,Ya=-1;if(Fa&&yr){var Aa=new Set([jn,oa]);ci.some(function($i,co){if(Aa.has($i))if(Ua===-1)Ua=co;else return Ya=co,!0;return!1})}if(Ya!==-1&&Ua!==Ya&&yr){var Ji=ci.slice(Ua,Ya+1),La=[];qi?Ji.forEach(function($i){Un.has($i)&&(La.push($i),Un.delete($i))}):Ji.forEach(function($i){Un.has($i)||(La.push($i),Un.add($i))});var ja=Array.from(Un);Ei(ja),qr&&qr(!qi,ja.map(function($i){return _n($i)}),La.map(function($i){return _n($i)}))}else{var ji=Qr;if(yr){var Qi=qi?Object(Ye.b)(ji,oa):Object(Ye.a)(ji,oa);Ii(oa,!qi,Qi,ro)}else{var uo=Object(gt.a)([].concat(Ct()(ji),[oa]),!0,Sr,Jt),yo=uo.checkedKeys,Lo=uo.halfCheckedKeys,Oo=yo;if(qi){var Va=new Set(yo);Va.delete(oa),Oo=Object(gt.a)(Array.from(Va),{checked:!1,halfCheckedKeys:Lo},Sr,Jt).checkedKeys}Ii(oa,!qi,Oo,ro)}}di(oa)}})),checked:qi}};var Si=function(ha,Ia,xi){var Ba=Zn(ha,Ia,xi),oa=Ba.node,qi=Ba.checked;return St?St(qi,Ia,xi,oa):oa},Yi=p()({width:Hr,className:"".concat(Ur,"-selection-column"),title:tr.columnTitle||fi,render:Si},Ue,{className:"".concat(Ur,"-selection-col")});if(qn==="row"&&ri.length&&!Kn){var Pi=Pt()(ri),Ci=Pi[0],bi=Pi.slice(1),wa=yn||ar(bi[0]);return wa&&(Ci.fixed=wa),[Ci,o()(o()({},Yi),{fixed:wa})].concat(Ct()(bi))}return[o()(o()({},Yi),{fixed:yn||ar(ri[0])})].concat(Ct()(ri))},[Fn,Wt,tr,Qr,en,An,Hr,vi,qn,jn,fr,qr,Ii,Jt]);return[wi,en]}var Ir=r("6SEX"),jr=r.n(Ir),zr=r("i8CU"),hn=r.n(zr),gn=r("3S7+");function Br(tr,Wr){return"key"in tr&&tr.key!==void 0&&tr.key!==null?tr.key:tr.dataIndex?Array.isArray(tr.dataIndex)?tr.dataIndex.join("."):tr.dataIndex:Wr}function ln(tr,Wr){return Wr?"".concat(Wr,"-").concat(tr):"".concat(tr)}function Xr(tr,Wr){return typeof tr=="function"?tr(Wr):tr}var cr="ascend",wr="descend";function hr(tr){return m()(tr.sorter)==="object"&&typeof tr.sorter.multiple=="number"?tr.sorter.multiple:!1}function Ar(tr){return typeof tr=="function"?tr:tr&&m()(tr)==="object"&&tr.compare?tr.compare:!1}function kr(tr,Wr){return Wr?tr[tr.indexOf(Wr)+1]:tr[0]}function nn(tr,Wr,Yr){var pn=[];function Ze(Ht,sr){pn.push({column:Ht,key:Br(Ht,sr),multiplePriority:hr(Ht),sortOrder:Ht.sortOrder})}return(tr||[]).forEach(function(Ht,sr){var er=ln(sr,Yr);Ht.children?("sortOrder"in Ht&&Ze(Ht,er),pn=[].concat(Ct()(pn),Ct()(nn(Ht.children,Wr,er)))):Ht.sorter&&("sortOrder"in Ht?Ze(Ht,er):Wr&&Ht.defaultSortOrder&&pn.push({column:Ht,key:Br(Ht,er),multiplePriority:hr(Ht),sortOrder:Ht.defaultSortOrder}))}),pn}function wn(tr,Wr,Yr,pn,Ze,Ht,sr,er){return(Wr||[]).map(function(Lr,Or){var qr=ln(Or,er),Hr=Lr;if(Hr.sorter){var un=Hr.sortDirections||Ze,fn=Hr.showSorterTooltip===void 0?sr:Hr.showSorterTooltip,yn=Br(Hr,qr),St=Yr.find(function(Wn){var Rn=Wn.key;return Rn===yn}),qt=St?St.sortOrder:null,ur=kr(un,qt),yr=un.includes(cr)&&n.createElement(hn.a,{className:a()("".concat(tr,"-column-sorter-up"),{active:qt===cr})}),Ur=un.includes(wr)&&n.createElement(jr.a,{className:a()("".concat(tr,"-column-sorter-down"),{active:qt===wr})}),Zr=Ht||{},cn=Zr.cancelSort,_n=Zr.triggerAsc,Fn=Zr.triggerDesc,qn=cn;ur===wr?qn=Fn:ur===cr&&(qn=_n),Hr=o()(o()({},Hr),{className:a()(Hr.className,p()({},"".concat(tr,"-column-sort"),qt)),title:function(Rn){var Kn=n.createElement("div",{className:"".concat(tr,"-column-sorters")},n.createElement("span",null,Xr(Lr.title,Rn)),n.createElement("span",{className:a()("".concat(tr,"-column-sorter"),p()({},"".concat(tr,"-column-sorter-full"),yr&&Ur))},n.createElement("span",{className:"".concat(tr,"-column-sorter-inner")},yr,Ur)));return fn?n.createElement(gn.a,{title:qn},n.createElement("div",{className:"".concat(tr,"-column-sorters-with-tooltip")},Kn)):Kn},onHeaderCell:function(Rn){var Kn=Lr.onHeaderCell&&Lr.onHeaderCell(Rn)||{},Gn=Kn.onClick;return Kn.onClick=function(In){pn({column:Lr,key:yn,sortOrder:ur,multiplePriority:hr(Lr)}),Gn&&Gn(In)},Kn.className=a()(Kn.className,"".concat(tr,"-column-has-sorters")),Kn}})}return"children"in Hr&&(Hr=o()(o()({},Hr),{children:wn(tr,Hr.children,Yr,pn,Ze,Ht,sr,qr)})),Hr})}function oi(tr){var Wr=tr.column,Yr=tr.sortOrder;return{column:Wr,order:Yr,field:Wr.dataIndex,columnKey:Wr.key}}function tn(tr){var Wr=tr.filter(function(Yr){var pn=Yr.sortOrder;return pn}).map(oi);return Wr.length===0&&tr.length?o()(o()({},oi(tr[tr.length-1])),{column:void 0}):Wr.length<=1?Wr[0]||{}:Wr}function Vn(tr,Wr,Yr){var pn=Wr.slice().sort(function(sr,er){return er.multiplePriority-sr.multiplePriority}),Ze=tr.slice(),Ht=pn.filter(function(sr){var er=sr.column.sorter,Lr=sr.sortOrder;return Ar(er)&&Lr});return Ht.length?Ze.sort(function(sr,er){for(var Lr=0;Lr<Ht.length;Lr+=1){var Or=Ht[Lr],qr=Or.column.sorter,Hr=Or.sortOrder,un=Ar(qr);if(un&&Hr){var fn=un(sr,er,Hr);if(fn!==0)return Hr===cr?fn:-fn}}return 0}).map(function(sr){var er=sr[Yr];return er?o()(o()({},sr),p()({},Yr,Vn(er,Wr,Yr))):sr}):Ze}function On(tr){var Wr=tr.prefixCls,Yr=tr.mergedColumns,pn=tr.onSorterChange,Ze=tr.sortDirections,Ht=tr.tableLocale,sr=tr.showSorterTooltip,er=n.useState(nn(Yr,!0)),Lr=h()(er,2),Or=Lr[0],qr=Lr[1],Hr=n.useMemo(function(){var qt=!0,ur=nn(Yr,!1);if(!ur.length)return Or;var yr=[];function Ur(cn){qt?yr.push(cn):yr.push(o()(o()({},cn),{sortOrder:null}))}var Zr=null;return ur.forEach(function(cn){Zr===null?(Ur(cn),cn.sortOrder&&(cn.multiplePriority===!1?qt=!1:Zr=!0)):(Zr&&cn.multiplePriority!==!1||(qt=!1),Ur(cn))}),yr},[Yr,Or]),un=n.useMemo(function(){var qt=Hr.map(function(ur){var yr=ur.column,Ur=ur.sortOrder;return{column:yr,order:Ur}});return{sortColumns:qt,sortColumn:qt[0]&&qt[0].column,sortOrder:qt[0]&&qt[0].order}},[Hr]);function fn(qt){var ur;qt.multiplePriority===!1||!Hr.length||Hr[0].multiplePriority===!1?ur=[qt]:ur=[].concat(Ct()(Hr.filter(function(yr){var Ur=yr.key;return Ur!==qt.key})),[qt]),qr(ur),pn(tn(ur),ur)}var yn=function(ur){return wn(Wr,ur,Hr,fn,Ze,Ht,sr)},St=function(){return tn(Hr)};return[yn,Hr,un,St]}var $n=r("Y+p1"),Qn=r.n($n),ei=r("5Uyt"),zi=r.n(ei),hi=r("2/Rp"),Bn=r("ECub"),sn=function(Wr){return n.createElement("div",{className:Wr.className,onClick:function(pn){return pn.stopPropagation()}},Wr.children)},ta=sn,ua=r("sPtV"),fa=ft.a.SubMenu,Bi=ft.a.Item;function pa(tr){return tr.some(function(Wr){var Yr=Wr.children;return Yr})}function ui(tr){var Wr=tr.filters,Yr=tr.prefixCls,pn=tr.filteredKeys,Ze=tr.filterMultiple,Ht=tr.locale;return Wr.length===0?n.createElement(n.Fragment,null,n.createElement(Bn.a,{image:Bn.a.PRESENTED_IMAGE_SIMPLE,description:Ht.filterEmptyText,style:{margin:"16px 0"},imageStyle:{height:24}})):Wr.map(function(sr,er){var Lr=String(sr.value);if(sr.children)return n.createElement(fa,{key:Lr||er,title:sr.text,popupClassName:"".concat(Yr,"-dropdown-submenu")},ui({filters:sr.children,prefixCls:Yr,filteredKeys:pn,filterMultiple:Ze,locale:Ht}));var Or=Ze?Je.a:ht.a;return n.createElement(Bi,{key:sr.value!==void 0?Lr:er},n.createElement(Or,{checked:pn.includes(Lr)}),n.createElement("span",null,sr.text))})}function ba(tr){var Wr,Yr=tr.prefixCls,pn=tr.column,Ze=tr.dropdownPrefixCls,Ht=tr.columnKey,sr=tr.filterMultiple,er=tr.filterState,Lr=tr.triggerFilter,Or=tr.locale,qr=tr.children,Hr=tr.getPopupContainer,un=pn.filterDropdownVisible,fn=pn.onFilterDropdownVisibleChange,yn=n.useState(!1),St=h()(yn,2),qt=St[0],ur=St[1],yr=!!(er&&(((Wr=er.filteredKeys)===null||Wr===void 0?void 0:Wr.length)||er.forceFiltered)),Ur=function(Cn){ur(Cn),fn&&fn(Cn)},Zr=typeof un=="boolean"?un:qt,cn=er&&er.filteredKeys,_n=Object(ua.a)(cn||[]),Fn=h()(_n,2),qn=Fn[0],Wn=Fn[1],Rn=function(Cn){var jn=Cn.selectedKeys;Wn(jn)};n.useEffect(function(){Rn({selectedKeys:cn||[]})},[cn]);var Kn=n.useState([]),Gn=h()(Kn,2),In=Gn[0],kn=Gn[1],ti=n.useRef(),or=function(Cn){ti.current=window.setTimeout(function(){kn(Cn)})},br=function(){window.clearTimeout(ti.current)};n.useEffect(function(){return function(){window.clearTimeout(ti.current)}},[]);var Mr=function(Cn){Ur(!1);var jn=Cn&&Cn.length?Cn:null;if(jn===null&&(!er||!er.filteredKeys))return null;if(Qn()(jn,er==null?void 0:er.filteredKeys))return null;Lr({column:pn,key:Ht,filteredKeys:jn})},Sr=function(){Mr(qn())},Wt=function(){Wn([]),Mr([])},fr=function(Cn){Cn&&cn!==void 0&&Wn(cn||[]),Ur(Cn),!Cn&&!pn.filterDropdown&&Sr()},Jt=a()(p()({},"".concat(Ze,"-menu-without-submenu"),!pa(pn.filters||[]))),Tr;if(typeof pn.filterDropdown=="function")Tr=pn.filterDropdown({prefixCls:"".concat(Ze,"-custom"),setSelectedKeys:function(Cn){return Rn({selectedKeys:Cn})},selectedKeys:qn(),confirm:Sr,clearFilters:Wt,filters:pn.filters,visible:Zr});else if(pn.filterDropdown)Tr=pn.filterDropdown;else{var _r=qn()||[];Tr=n.createElement(n.Fragment,null,n.createElement(ft.a,{multiple:sr,prefixCls:"".concat(Ze,"-menu"),className:Jt,onClick:br,onSelect:Rn,onDeselect:Rn,selectedKeys:_r,getPopupContainer:Hr,openKeys:In,onOpenChange:or},ui({filters:pn.filters||[],prefixCls:Yr,filteredKeys:qn(),filterMultiple:sr,locale:Or})),n.createElement("div",{className:"".concat(Yr,"-dropdown-btns")},n.createElement(hi.a,{type:"link",size:"small",disabled:_r.length===0,onClick:Wt},Or.filterReset),n.createElement(hi.a,{type:"primary",size:"small",onClick:Sr},Or.filterConfirm)))}var Qr=n.createElement(ta,{className:"".concat(Yr,"-dropdown")},Tr),Kr;typeof pn.filterIcon=="function"?Kr=pn.filterIcon(yr):pn.filterIcon?Kr=pn.filterIcon:Kr=n.createElement(zi.a,null);var en=n.useContext(be.b),An=en.direction;return n.createElement("div",{className:a()("".concat(Yr,"-column"))},n.createElement("span",{className:"".concat(Yr,"-column-title")},qr),n.createElement("span",{className:a()("".concat(Yr,"-trigger-container"),p()({},"".concat(Yr,"-trigger-container-open"),Zr)),onClick:function(Cn){Cn.stopPropagation()}},n.createElement(it.a,{overlay:Qr,trigger:["click"],visible:Zr,onVisibleChange:fr,getPopupContainer:Hr,placement:An==="rtl"?"bottomLeft":"bottomRight"},n.createElement("span",{role:"button",tabIndex:-1,className:a()("".concat(Yr,"-trigger"),{active:yr})},Kr))))}var Dn=ba;function Pn(tr,Wr,Yr){var pn=[];return(tr||[]).forEach(function(Ze,Ht){var sr=ln(Ht,Yr);"children"in Ze?pn=[].concat(Ct()(pn),Ct()(Pn(Ze.children,Wr,sr))):(Ze.filters||"filterDropdown"in Ze||"onFilter"in Ze)&&("filteredValue"in Ze?pn.push({column:Ze,key:Br(Ze,sr),filteredKeys:Ze.filteredValue,forceFiltered:Ze.filtered}):pn.push({column:Ze,key:Br(Ze,sr),filteredKeys:Wr&&Ze.defaultFilteredValue?Ze.defaultFilteredValue:void 0,forceFiltered:Ze.filtered}))}),pn}function Yn(tr,Wr,Yr,pn,Ze,Ht,sr,er){return Yr.map(function(Lr,Or){var qr=ln(Or,er),Hr=Lr.filterMultiple,un=Hr===void 0?!0:Hr;if(Lr.filters||"filterDropdown"in Lr){var fn=Br(Lr,qr),yn=pn.find(function(St){var qt=St.key;return fn===qt});return o()(o()({},Lr),{title:function(qt){return n.createElement(Dn,{prefixCls:"".concat(tr,"-filter"),dropdownPrefixCls:Wr,column:Lr,columnKey:fn,filterState:yn,filterMultiple:un,triggerFilter:Ze,locale:sr,getPopupContainer:Ht},Xr(Lr.title,qt))}})}return"children"in Lr?o()(o()({},Lr),{children:Yn(tr,Wr,Lr.children,pn,Ze,Ht,sr,qr)}):Lr})}function Jn(tr){var Wr={};return tr.forEach(function(Yr){var pn=Yr.key,Ze=Yr.filteredKeys;Wr[pn]=Ze||null}),Wr}function ni(tr){var Wr=[];return(tr||[]).forEach(function(Yr){var pn=Yr.value,Ze=Yr.children;Wr.push(pn),Ze&&(Wr=[].concat(Ct()(Wr),Ct()(ni(Ze))))}),Wr}function Fi(tr,Wr){return Wr.reduce(function(Yr,pn){var Ze=pn.column,Ht=Ze.onFilter,sr=Ze.filters,er=pn.filteredKeys;return Ht&&er&&er.length?Yr.filter(function(Lr){return er.some(function(Or){var qr=ni(sr),Hr=qr.findIndex(function(fn){return String(fn)===String(Or)}),un=Hr!==-1?qr[Hr]:Or;return Ht(un,Lr)})}):Yr},tr)}function Hi(tr){var Wr=tr.prefixCls,Yr=tr.dropdownPrefixCls,pn=tr.mergedColumns,Ze=tr.onFilterChange,Ht=tr.getPopupContainer,sr=tr.locale,er=n.useState(Pn(pn,!0)),Lr=h()(er,2),Or=Lr[0],qr=Lr[1],Hr=n.useMemo(function(){var St=Pn(pn,!1);return St.every(function(qt){var ur=qt.filteredKeys;return ur===void 0})?Or:St},[pn,Or]),un=n.useCallback(function(){return Jn(Hr)},[Hr]),fn=function(qt){var ur=Hr.filter(function(yr){var Ur=yr.key;return Ur!==qt.key});ur.push(qt),qr(ur),Ze(Jn(ur),ur)},yn=function(qt){return Yn(Wr,Yr,qt,Hr,fn,Ht,sr)};return[yn,Hr,un]}var Za=Hi;function va(tr,Wr){return tr.map(function(Yr){var pn=o()({},Yr);return pn.title=Xr(Yr.title,Wr),"children"in pn&&(pn.children=va(pn.children,Wr)),pn})}function za(tr){var Wr=n.useCallback(function(Yr){return va(Yr,tr)},[tr]);return[Wr]}function to(tr){return function(Yr){var pn,Ze=Yr.prefixCls,Ht=Yr.onExpand,sr=Yr.record,er=Yr.expanded,Lr=Yr.expandable,Or="".concat(Ze,"-row-expand-icon");return n.createElement("button",{type:"button",onClick:function(Hr){Ht(sr,Hr),Hr.stopPropagation()},className:a()(Or,(pn={},p()(pn,"".concat(Or,"-spaced"),!Lr),p()(pn,"".concat(Or,"-expanded"),Lr&&er),p()(pn,"".concat(Or,"-collapsed"),Lr&&!er),pn)),"aria-label":er?tr.collapse:tr.expand})}}var lo=to,_a=r("zAh6"),Qo=r("ZvpZ"),Uo=Qo.a,jo=r("3Nzz");function Ao(tr){return null}var fo=Ao;function Ro(tr){return null}var si=Ro,Ma=r("5OYt"),Xo=[];function Io(tr){var Wr,Yr=tr.prefixCls,pn=tr.className,Ze=tr.style,Ht=tr.size,sr=tr.bordered,er=tr.dropdownPrefixCls,Lr=tr.dataSource,Or=tr.pagination,qr=tr.rowSelection,Hr=tr.rowKey,un=tr.rowClassName,fn=tr.columns,yn=tr.children,St=tr.childrenColumnName,qt=tr.onChange,ur=tr.getPopupContainer,yr=tr.loading,Ur=tr.expandIcon,Zr=tr.expandable,cn=tr.expandedRowRender,_n=tr.expandIconColumnIndex,Fn=tr.indentSize,qn=tr.scroll,Wn=tr.sortDirections,Rn=tr.locale,Kn=tr.showSorterTooltip,Gn=Kn===void 0?!0:Kn;Object(st.a)(!(typeof Hr=="function"&&Hr.length>1),"Table","`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected.");var In=Object(Ma.a)(),kn=n.useMemo(function(){var Va=new Set(Object.keys(In).filter(function($i){return In[$i]}));return(fn||Dt(yn)).filter(function($i){return!$i.responsive||$i.responsive.some(function(co){return Va.has(co)})})},[yn,fn,In]),ti=Object(d.default)(tr,["className","style","columns"]),or=n.useContext(jo.b),br=n.useContext(be.b),Mr=br.locale,Sr=Mr===void 0?Uo:Mr,Wt=br.renderEmpty,fr=br.direction,Jt=Ht||or,Tr=o()(o()({},Sr.Table),Rn),_r=Lr||Xo,Qr=n.useContext(be.b),Kr=Qr.getPrefixCls,en=Kr("table",Yr),An=Kr("dropdown",er),xn=o()({childrenColumnName:St,expandIconColumnIndex:_n},Zr),Cn=xn.childrenColumnName,jn=Cn===void 0?"children":Cn,di=n.useMemo(function(){return _r.some(function(Va){var $i;return($i=Va)===null||$i===void 0?void 0:$i[jn]})?"nest":cn||Zr&&Zr.expandedRowRender?"row":null},[_r]),Ei={body:n.useRef()},Ii=n.useMemo(function(){return typeof Hr=="function"?Hr:function(Va){var $i;return($i=Va)===null||$i===void 0?void 0:$i[Hr]}},[Hr]),vi=rr(_r,jn,Ii),wi=h()(vi,1),ri=wi[0],Un={},ci=function($i,co){var Zo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Ha=o()(o()({},Un),$i);Zo&&(Un.resetPagination(),Ha.pagination.current&&(Ha.pagination.current=1),Or&&Or.onChange&&Or.onChange(1,Ha.pagination.pageSize)),qn&&qn.scrollToFirstRowOnChange!==!1&&Ei.body.current&&Object(_a.a)(0,{getContainer:function(){return Ei.body.current}}),qt&&qt(Ha.pagination,Ha.filters,Ha.sorter,{currentDataSource:Fi(Vn(_r,Ha.sorterStates,jn),Ha.filterStates),action:co})},mi=function($i,co){ci({sorter:$i,sorterStates:co},"sort",!1)},Ki=On({prefixCls:en,mergedColumns:kn,onSorterChange:mi,sortDirections:Wn||["ascend","descend"],tableLocale:Tr,showSorterTooltip:Gn}),ii=h()(Ki,4),fi=ii[0],pi=ii[1],ra=ii[2],ki=ii[3],Zn=n.useMemo(function(){return Vn(_r,pi,jn)},[_r,pi]);Un.sorter=ki(),Un.sorterStates=pi;var Si=function($i,co){ci({filters:$i,filterStates:co},"filter",!0)},Yi=Za({prefixCls:en,locale:Tr,dropdownPrefixCls:An,mergedColumns:kn,onFilterChange:Si,getPopupContainer:ur}),Pi=h()(Yi,3),Ci=Pi[0],bi=Pi[1],wa=Pi[2],Zi=Fi(Zn,bi);Un.filters=wa(),Un.filterStates=bi;var ha=n.useMemo(function(){return o()({},ra)},[ra]),Ia=za(ha),xi=h()(Ia,1),Ba=xi[0],oa=function($i,co){ci({pagination:o()(o()({},Un.pagination),{current:$i,pageSize:co})},"paginate")},qi=Lt(Zi.length,Or,oa),ga=h()(qi,2),na=ga[0],ca=ga[1];Un.pagination=Or===!1?{}:Qe(Or,na),Un.resetPagination=ca;var Wa=n.useMemo(function(){if(Or===!1||!na.pageSize)return Zi;var Va=na.current,$i=Va===void 0?1:Va,co=na.total,Zo=na.pageSize,Ha=Zo===void 0?Ke:Zo;return Zi.length<co?Zi.length>Ha?(Object(st.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."),Zi.slice(($i-1)*Ha,$i*Ha)):Zi:Zi.slice(($i-1)*Ha,$i*Ha)},[!!Or,Zi,na&&na.current,na&&na.pageSize,na&&na.total]),Pa=Er(qr,{prefixCls:en,data:Zi,pageData:Wa,getRowKey:Ii,getRecordByKey:ri,expandType:di,childrenColumnName:jn,locale:Tr,expandIconColumnIndex:xn.expandIconColumnIndex,getPopupContainer:ur}),ro=h()(Pa,2),Fa=ro[0],Ua=ro[1],Ya=function($i,co,Zo){var Ha;return typeof un=="function"?Ha=a()(un($i,co,Zo)):Ha=a()(un),a()(p()({},"".concat(en,"-row-selected"),Ua.has(Ii($i,co))),Ha)};xn.__PARENT_RENDER_ICON__=xn.expandIcon,xn.expandIcon=xn.expandIcon||Ur||lo(Tr),di==="nest"&&xn.expandIconColumnIndex===void 0?xn.expandIconColumnIndex=qr?1:0:xn.expandIconColumnIndex>0&&qr&&(xn.expandIconColumnIndex-=1),typeof xn.indentSize!="number"&&(xn.indentSize=typeof Fn=="number"?Fn:15);var Aa=n.useCallback(function(Va){return Ba(Fa(Ci(fi(Va))))},[fi,Ci,Fa]),Ji,La;if(Or!==!1){var ja;na.size?ja=na.size:ja=Jt==="small"||Jt==="middle"?"small":void 0;var ji=function($i){return n.createElement(re.a,o()({className:"".concat(en,"-pagination ").concat(en,"-pagination-").concat($i)},na,{size:ja}))},Qi=fr==="rtl"?"left":"right";if(na.position!==null&&Array.isArray(na.position)){var uo=na.position.find(function(Va){return Va.indexOf("top")!==-1}),yo=na.position.find(function(Va){return Va.indexOf("bottom")!==-1});!uo&&!yo?La=ji(Qi):(uo&&(Ji=ji(uo.toLowerCase().replace("top",""))),yo&&(La=ji(yo.toLowerCase().replace("bottom",""))))}else La=ji(Qi)}var Lo;typeof yr=="boolean"?Lo={spinning:yr}:m()(yr)==="object"&&(Lo=o()({spinning:!0},yr));var Oo=a()("".concat(en,"-wrapper"),pn,p()({},"".concat(en,"-wrapper-rtl"),fr==="rtl"));return n.createElement("div",{className:Oo,style:Ze},n.createElement(ke.a,o()({spinning:!1},Lo),Ji,n.createElement(Me,o()({},ti,{columns:kn,direction:fr,expandable:xn,prefixCls:en,className:a()((Wr={},p()(Wr,"".concat(en,"-middle"),Jt==="middle"),p()(Wr,"".concat(en,"-small"),Jt==="small"),p()(Wr,"".concat(en,"-bordered"),sr),p()(Wr,"".concat(en,"-empty"),_r.length===0),Wr)),data:Wa,rowKey:Ii,rowClassName:Ya,emptyText:Rn&&Rn.emptyText||Wt("Table"),internalHooks:nt,internalRefs:Ei,transformColumns:Aa})),Zi&&Zi.length>0&&La))}Io.defaultProps={rowKey:"key"},Io.SELECTION_ALL=kt,Io.SELECTION_INVERT=Tt,Io.Column=fo,Io.ColumnGroup=si,Io.Summary=vr;var vo=Io,Co=N.a=vo},wDdD:function(B,N,r){var y=r("ProS"),m=r("bYtY");r("98bh"),r("GrNh");var C=r("d4KN"),p=r("mOdp"),g=r("KS52"),h=r("0/Rx");C("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),y.registerVisual(p("pie")),y.registerLayout(m.curry(g,"pie")),y.registerProcessor(h("pie"))},wOnQ:function(B,N,r){/*!
|
|
|
* html2canvas 1.3.2 <https://html2canvas.hertzen.com>
|
|
|
* Copyright (c) 2021 Niklas von Hertzen <https://hertzen.com>
|
|
|
* Released under MIT License
|
|
|
*/(function(y,m){B.exports=m()})(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 y=function(he,Ce){return y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Re,tt){Re.__proto__=tt}||function(Re,tt){for(var Ut in tt)Object.prototype.hasOwnProperty.call(tt,Ut)&&(Re[Ut]=tt[Ut])},y(he,Ce)};function m(dt,he){if(typeof he!="function"&&he!==null)throw new TypeError("Class extends value "+String(he)+" is not a constructor or null");y(dt,he);function Ce(){this.constructor=dt}dt.prototype=he===null?Object.create(he):(Ce.prototype=he.prototype,new Ce)}var C=function(){return C=Object.assign||function(Ce){for(var Re,tt=1,Ut=arguments.length;tt<Ut;tt++){Re=arguments[tt];for(var pr in Re)Object.prototype.hasOwnProperty.call(Re,pr)&&(Ce[pr]=Re[pr])}return Ce},C.apply(this,arguments)};function p(dt,he,Ce,Re){function tt(Ut){return Ut instanceof Ce?Ut:new Ce(function(pr){pr(Ut)})}return new(Ce||(Ce=Promise))(function(Ut,pr){function Cr(Tn){try{Vr(Re.next(Tn))}catch(Sn){pr(Sn)}}function Rr(Tn){try{Vr(Re.throw(Tn))}catch(Sn){pr(Sn)}}function Vr(Tn){Tn.done?Ut(Tn.value):tt(Tn.value).then(Cr,Rr)}Vr((Re=Re.apply(dt,he||[])).next())})}function g(dt,he){var Ce={label:0,sent:function(){if(Ut[0]&1)throw Ut[1];return Ut[1]},trys:[],ops:[]},Re,tt,Ut,pr;return pr={next:Cr(0),throw:Cr(1),return:Cr(2)},typeof Symbol=="function"&&(pr[Symbol.iterator]=function(){return this}),pr;function Cr(Vr){return function(Tn){return Rr([Vr,Tn])}}function Rr(Vr){if(Re)throw new TypeError("Generator is already executing.");for(;Ce;)try{if(Re=1,tt&&(Ut=Vr[0]&2?tt.return:Vr[0]?tt.throw||((Ut=tt.return)&&Ut.call(tt),0):tt.next)&&!(Ut=Ut.call(tt,Vr[1])).done)return Ut;(tt=0,Ut)&&(Vr=[Vr[0]&2,Ut.value]);switch(Vr[0]){case 0:case 1:Ut=Vr;break;case 4:return Ce.label++,{value:Vr[1],done:!1};case 5:Ce.label++,tt=Vr[1],Vr=[0];continue;case 7:Vr=Ce.ops.pop(),Ce.trys.pop();continue;default:if(!(Ut=Ce.trys,Ut=Ut.length>0&&Ut[Ut.length-1])&&(Vr[0]===6||Vr[0]===2)){Ce=0;continue}if(Vr[0]===3&&(!Ut||Vr[1]>Ut[0]&&Vr[1]<Ut[3])){Ce.label=Vr[1];break}if(Vr[0]===6&&Ce.label<Ut[1]){Ce.label=Ut[1],Ut=Vr;break}if(Ut&&Ce.label<Ut[2]){Ce.label=Ut[2],Ce.ops.push(Vr);break}Ut[2]&&Ce.ops.pop(),Ce.trys.pop();continue}Vr=he.call(dt,Ce)}catch(Tn){Vr=[6,Tn],tt=0}finally{Re=Ut=0}if(Vr[0]&5)throw Vr[1];return{value:Vr[0]?Vr[1]:void 0,done:!0}}}function h(dt,he,Ce){if(Ce||arguments.length===2)for(var Re=0,tt=he.length,Ut;Re<tt;Re++)(Ut||!(Re in he))&&(Ut||(Ut=Array.prototype.slice.call(he,0,Re)),Ut[Re]=he[Re]);return dt.concat(Ut||he)}for(var c=function(){function dt(he,Ce,Re,tt){this.left=he,this.top=Ce,this.width=Re,this.height=tt}return dt.prototype.add=function(he,Ce,Re,tt){return new dt(this.left+he,this.top+Ce,this.width+Re,this.height+tt)},dt.fromClientRect=function(he,Ce){return new dt(Ce.left+he.windowBounds.left,Ce.top+he.windowBounds.top,Ce.width,Ce.height)},dt.fromDOMRectList=function(he,Ce){var Re=Ce[0];return Re?new dt(Re.x+he.windowBounds.left,Re.y+he.windowBounds.top,Re.width,Re.height):dt.EMPTY},dt.EMPTY=new dt(0,0,0,0),dt}(),o=function(he,Ce){return c.fromClientRect(he,Ce.getBoundingClientRect())},n=function(he){var Ce=he.body,Re=he.documentElement;if(!Ce||!Re)throw new Error("Unable to get document size");var tt=Math.max(Math.max(Ce.scrollWidth,Re.scrollWidth),Math.max(Ce.offsetWidth,Re.offsetWidth),Math.max(Ce.clientWidth,Re.clientWidth)),Ut=Math.max(Math.max(Ce.scrollHeight,Re.scrollHeight),Math.max(Ce.offsetHeight,Re.offsetHeight),Math.max(Ce.clientHeight,Re.clientHeight));return new c(0,0,tt,Ut)},t=function(he){for(var Ce=[],Re=0,tt=he.length;Re<tt;){var Ut=he.charCodeAt(Re++);if(Ut>=55296&&Ut<=56319&&Re<tt){var pr=he.charCodeAt(Re++);(pr&64512)===56320?Ce.push(((Ut&1023)<<10)+(pr&1023)+65536):(Ce.push(Ut),Re--)}else Ce.push(Ut)}return Ce},a=function(){for(var he=[],Ce=0;Ce<arguments.length;Ce++)he[Ce]=arguments[Ce];if(String.fromCodePoint)return String.fromCodePoint.apply(String,he);var Re=he.length;if(!Re)return"";for(var tt=[],Ut=-1,pr="";++Ut<Re;){var Cr=he[Ut];Cr<=65535?tt.push(Cr):(Cr-=65536,tt.push((Cr>>10)+55296,Cr%1024+56320)),(Ut+1===Re||tt.length>16384)&&(pr+=String.fromCharCode.apply(String,tt),tt.length=0)}return pr},d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),l=0;l<d.length;l++)i[d.charCodeAt(l)]=l;var e=function(he){var Ce=he.length*.75,Re=he.length,tt,Ut=0,pr,Cr,Rr,Vr;he[he.length-1]==="="&&(Ce--,he[he.length-2]==="="&&Ce--);var Tn=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(Ce):new Array(Ce),Sn=Array.isArray(Tn)?Tn:new Uint8Array(Tn);for(tt=0;tt<Re;tt+=4)pr=i[he.charCodeAt(tt)],Cr=i[he.charCodeAt(tt+1)],Rr=i[he.charCodeAt(tt+2)],Vr=i[he.charCodeAt(tt+3)],Sn[Ut++]=pr<<2|Cr>>4,Sn[Ut++]=(Cr&15)<<4|Rr>>2,Sn[Ut++]=(Rr&3)<<6|Vr&63;return Tn},s=function(he){for(var Ce=he.length,Re=[],tt=0;tt<Ce;tt+=2)Re.push(he[tt+1]<<8|he[tt]);return Re},u=function(he){for(var Ce=he.length,Re=[],tt=0;tt<Ce;tt+=4)Re.push(he[tt+3]<<24|he[tt+2]<<16|he[tt+1]<<8|he[tt]);return Re},f=5,A=6+5,v=2,x=A-f,b=65536>>f,w=1<<f,_=w-1,T=1024>>f,S=b+T,E=S,I=2048>>6,O=E+I,F=65536>>A,k=1<<x,M=k-1,P=function(he,Ce,Re){return he.slice?he.slice(Ce,Re):new Uint16Array(Array.prototype.slice.call(he,Ce,Re))},V=function(he,Ce,Re){return he.slice?he.slice(Ce,Re):new Uint32Array(Array.prototype.slice.call(he,Ce,Re))},D=function(he){var Ce=e(he),Re=Array.isArray(Ce)?u(Ce):new Uint32Array(Ce),tt=Array.isArray(Ce)?s(Ce):new Uint16Array(Ce),Ut=24,pr=P(tt,Ut/2,Re[4]/2),Cr=Re[5]===2?P(tt,(Ut+Re[4])/2):V(Re,Math.ceil((Ut+Re[4])/4));return new H(Re[0],Re[1],Re[2],Re[3],pr,Cr)},H=function(){function dt(he,Ce,Re,tt,Ut,pr){this.initialValue=he,this.errorValue=Ce,this.highStart=Re,this.highValueIndex=tt,this.index=Ut,this.data=pr}return dt.prototype.get=function(he){var Ce;if(he>=0){if(he<55296||he>56319&&he<=65535)return Ce=this.index[he>>f],Ce=(Ce<<v)+(he&_),this.data[Ce];if(he<=65535)return Ce=this.index[b+(he-55296>>f)],Ce=(Ce<<v)+(he&_),this.data[Ce];if(he<this.highStart)return Ce=O-F+(he>>A),Ce=this.index[Ce],Ce+=he>>f&M,Ce=this.index[Ce],Ce=(Ce<<v)+(he&_),this.data[Ce];if(he<=1114111)return this.data[this.highValueIndex]}return this.errorValue},dt}(),U="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==",z=50,K=1,G=2,X=3,Z=4,ee=5,Se=7,$=8,pe=9,xe=10,_e=11,Ue=12,ye=13,Be=14,Q=15,ie=16,Ve=17,J=18,W=19,j=20,Y=21,me=22,ae=23,Le=24,Ee=25,ne=26,ge=27,Ie=28,Ge=29,ut=30,wt=31,Pe=32,Dt=33,et=34,_t=35,Nt=36,Bt=37,Ft=38,Gt=39,qe=40,we=41,ue=42,vt=43,at=[9001,65288],Ae="!",Xt="\xD7",Ot="\xF7",rt=D(U),Et=[ut,Nt],Zt=[K,G,X,ee],vr=[xe,$],mt=[ge,ne],ce=Zt.concat(vr),le=[Ft,Gt,qe,et,_t],oe=[Q,ye],fe=function(he,Ce){Ce===void 0&&(Ce="strict");var Re=[],tt=[],Ut=[];return he.forEach(function(pr,Cr){var Rr=rt.get(pr);if(Rr>z?(Ut.push(!0),Rr-=z):Ut.push(!1),["normal","auto","loose"].indexOf(Ce)!==-1&&[8208,8211,12316,12448].indexOf(pr)!==-1)return tt.push(Cr),Re.push(ie);if(Rr===Z||Rr===_e){if(Cr===0)return tt.push(Cr),Re.push(ut);var Vr=Re[Cr-1];return ce.indexOf(Vr)===-1?(tt.push(tt[Cr-1]),Re.push(Vr)):(tt.push(Cr),Re.push(ut))}if(tt.push(Cr),Rr===wt)return Re.push(Ce==="strict"?Y:Bt);if(Rr===ue)return Re.push(ut);if(Rr===Ge)return Re.push(ut);if(Rr===vt)return pr>=131072&&pr<=196605||pr>=196608&&pr<=262141?Re.push(Bt):Re.push(ut);Re.push(Rr)}),[tt,Re,Ut]},De=function(he,Ce,Re,tt){var Ut=tt[Re];if(Array.isArray(he)?he.indexOf(Ut)!==-1:he===Ut)for(var pr=Re;pr<=tt.length;){pr++;var Cr=tt[pr];if(Cr===Ce)return!0;if(Cr!==xe)break}if(Ut===xe)for(var pr=Re;pr>0;){pr--;var Rr=tt[pr];if(Array.isArray(he)?he.indexOf(Rr)!==-1:he===Rr)for(var Vr=Re;Vr<=tt.length;){Vr++;var Cr=tt[Vr];if(Cr===Ce)return!0;if(Cr!==xe)break}if(Rr!==xe)break}return!1},He=function(he,Ce){for(var Re=he;Re>=0;){var tt=Ce[Re];if(tt===xe)Re--;else return tt}return 0},je=function(he,Ce,Re,tt,Ut){if(Re[tt]===0)return Xt;var pr=tt-1;if(Array.isArray(Ut)&&Ut[pr]===!0)return Xt;var Cr=pr-1,Rr=pr+1,Vr=Ce[pr],Tn=Cr>=0?Ce[Cr]:0,Sn=Ce[Rr];if(Vr===G&&Sn===X)return Xt;if(Zt.indexOf(Vr)!==-1)return Ae;if(Zt.indexOf(Sn)!==-1)return Xt;if(vr.indexOf(Sn)!==-1)return Xt;if(He(pr,Ce)===$)return Ot;if(rt.get(he[pr])===_e)return Xt;if((Vr===Pe||Vr===Dt)&&rt.get(he[Rr])===_e)return Xt;if(Vr===Se||Sn===Se)return Xt;if(Vr===pe)return Xt;if([xe,ye,Q].indexOf(Vr)===-1&&Sn===pe)return Xt;if([Ve,J,W,Le,Ie].indexOf(Sn)!==-1)return Xt;if(He(pr,Ce)===me)return Xt;if(De(ae,me,pr,Ce))return Xt;if(De([Ve,J],Y,pr,Ce))return Xt;if(De(Ue,Ue,pr,Ce))return Xt;if(Vr===xe)return Ot;if(Vr===ae||Sn===ae)return Xt;if(Sn===ie||Vr===ie)return Ot;if([ye,Q,Y].indexOf(Sn)!==-1||Vr===Be)return Xt;if(Tn===Nt&&oe.indexOf(Vr)!==-1)return Xt;if(Vr===Ie&&Sn===Nt)return Xt;if(Sn===j)return Xt;if(Et.indexOf(Sn)!==-1&&Vr===Ee||Et.indexOf(Vr)!==-1&&Sn===Ee)return Xt;if(Vr===ge&&[Bt,Pe,Dt].indexOf(Sn)!==-1||[Bt,Pe,Dt].indexOf(Vr)!==-1&&Sn===ne)return Xt;if(Et.indexOf(Vr)!==-1&&mt.indexOf(Sn)!==-1||mt.indexOf(Vr)!==-1&&Et.indexOf(Sn)!==-1)return Xt;if([ge,ne].indexOf(Vr)!==-1&&(Sn===Ee||[me,Q].indexOf(Sn)!==-1&&Ce[Rr+1]===Ee)||[me,Q].indexOf(Vr)!==-1&&Sn===Ee||Vr===Ee&&[Ee,Ie,Le].indexOf(Sn)!==-1)return Xt;if([Ee,Ie,Le,Ve,J].indexOf(Sn)!==-1)for(var Ln=pr;Ln>=0;){var Ti=Ce[Ln];if(Ti===Ee)return Xt;if([Ie,Le].indexOf(Ti)!==-1)Ln--;else break}if([ge,ne].indexOf(Sn)!==-1)for(var Ln=[Ve,J].indexOf(Vr)!==-1?Cr:pr;Ln>=0;){var Ti=Ce[Ln];if(Ti===Ee)return Xt;if([Ie,Le].indexOf(Ti)!==-1)Ln--;else break}if(Ft===Vr&&[Ft,Gt,et,_t].indexOf(Sn)!==-1||[Gt,et].indexOf(Vr)!==-1&&[Gt,qe].indexOf(Sn)!==-1||[qe,_t].indexOf(Vr)!==-1&&Sn===qe)return Xt;if(le.indexOf(Vr)!==-1&&[j,ne].indexOf(Sn)!==-1||le.indexOf(Sn)!==-1&&Vr===ge)return Xt;if(Et.indexOf(Vr)!==-1&&Et.indexOf(Sn)!==-1)return Xt;if(Vr===Le&&Et.indexOf(Sn)!==-1)return Xt;if(Et.concat(Ee).indexOf(Vr)!==-1&&Sn===me&&at.indexOf(he[Rr])===-1||Et.concat(Ee).indexOf(Sn)!==-1&&Vr===J)return Xt;if(Vr===we&&Sn===we){for(var _i=Re[pr],Xi=1;_i>0&&(_i--,Ce[_i]===we);)Xi++;if(Xi%2!==0)return Xt}return Vr===Pe&&Sn===Dt?Xt:Ot},We=function(he,Ce){Ce||(Ce={lineBreak:"normal",wordBreak:"normal"});var Re=fe(he,Ce.lineBreak),tt=Re[0],Ut=Re[1],pr=Re[2];(Ce.wordBreak==="break-all"||Ce.wordBreak==="break-word")&&(Ut=Ut.map(function(Rr){return[Ee,ut,ue].indexOf(Rr)!==-1?Bt:Rr}));var Cr=Ce.wordBreak==="keep-all"?pr.map(function(Rr,Vr){return Rr&&he[Vr]>=19968&&he[Vr]<=40959}):void 0;return[tt,Ut,Cr]},nt=function(){function dt(he,Ce,Re,tt){this.codePoints=he,this.required=Ce===Ae,this.start=Re,this.end=tt}return dt.prototype.slice=function(){return a.apply(void 0,this.codePoints.slice(this.start,this.end))},dt}(),xt=function(he,Ce){var Re=t(he),tt=We(Re,Ce),Ut=tt[0],pr=tt[1],Cr=tt[2],Rr=Re.length,Vr=0,Tn=0;return{next:function(){if(Tn>=Rr)return{done:!0,value:null};for(var Ln=Xt;Tn<Rr&&(Ln=je(Re,pr,Ut,++Tn,Cr))===Xt;);if(Ln!==Xt||Tn===Rr){var Ti=new nt(Re,Ln,Vr,Tn);return Vr=Tn,{value:Ti,done:!1}}return{done:!0,value:null}}}},It=1<<0,ir=1<<1,Me=1<<2,ke=1<<3,re=10,be=47,Ne=92,Ke=9,Qe=32,ct=34,Lt=61,rr=35,dr=36,Pt=37,jt=39,Ct=40,Rt=41,pt=95,ot=45,gt=33,Ye=60,$e=62,Je=64,it=91,ft=93,ht=61,st=123,kt=63,Tt=125,ar=124,Qt=126,Er=128,Ir=65533,jr=42,zr=43,hn=44,gn=58,Br=59,ln=46,Xr=0,cr=8,wr=11,hr=14,Ar=31,kr=127,nn=-1,wn=48,oi=97,tn=101,Vn=102,On=117,$n=122,Qn=65,ei=69,zi=70,hi=85,Bn=90,sn=function(he){return he>=wn&&he<=57},ta=function(he){return he>=55296&&he<=57343},ua=function(he){return sn(he)||he>=Qn&&he<=zi||he>=oi&&he<=Vn},fa=function(he){return he>=oi&&he<=$n},Bi=function(he){return he>=Qn&&he<=Bn},pa=function(he){return fa(he)||Bi(he)},ui=function(he){return he>=Er},ba=function(he){return he===re||he===Ke||he===Qe},Dn=function(he){return pa(he)||ui(he)||he===pt},Pn=function(he){return Dn(he)||sn(he)||he===ot},Yn=function(he){return he>=Xr&&he<=cr||he===wr||he>=hr&&he<=Ar||he===kr},Jn=function(he,Ce){return he!==Ne?!1:Ce!==re},ni=function(he,Ce,Re){return he===ot?Dn(Ce)||Jn(Ce,Re):Dn(he)?!0:!!(he===Ne&&Jn(he,Ce))},Fi=function(he,Ce,Re){return he===zr||he===ot?sn(Ce)?!0:Ce===ln&&sn(Re):he===ln?sn(Ce):sn(he)},Hi=function(he){var Ce=0,Re=1;(he[Ce]===zr||he[Ce]===ot)&&(he[Ce]===ot&&(Re=-1),Ce++);for(var tt=[];sn(he[Ce]);)tt.push(he[Ce++]);var Ut=tt.length?parseInt(a.apply(void 0,tt),10):0;he[Ce]===ln&&Ce++;for(var pr=[];sn(he[Ce]);)pr.push(he[Ce++]);var Cr=pr.length,Rr=Cr?parseInt(a.apply(void 0,pr),10):0;(he[Ce]===ei||he[Ce]===tn)&&Ce++;var Vr=1;(he[Ce]===zr||he[Ce]===ot)&&(he[Ce]===ot&&(Vr=-1),Ce++);for(var Tn=[];sn(he[Ce]);)Tn.push(he[Ce++]);var Sn=Tn.length?parseInt(a.apply(void 0,Tn),10):0;return Re*(Ut+Rr*Math.pow(10,-Cr))*Math.pow(10,Vr*Sn)},Za={type:2},va={type:3},za={type:4},to={type:13},lo={type:8},_a={type:21},Qo={type:9},Uo={type:10},jo={type:11},Ao={type:12},fo={type:14},Ro={type:23},si={type:1},Ma={type:25},Xo={type:24},Io={type:26},vo={type:27},Co={type:28},tr={type:29},Wr={type:31},Yr={type:32},pn=function(){function dt(){this._value=[]}return dt.prototype.write=function(he){this._value=this._value.concat(t(he))},dt.prototype.read=function(){for(var he=[],Ce=this.consumeToken();Ce!==Yr;)he.push(Ce),Ce=this.consumeToken();return he},dt.prototype.consumeToken=function(){var he=this.consumeCodePoint();switch(he){case ct:return this.consumeStringToken(ct);case rr:var Ce=this.peekCodePoint(0),Re=this.peekCodePoint(1),tt=this.peekCodePoint(2);if(Pn(Ce)||Jn(Re,tt)){var Ut=ni(Ce,Re,tt)?ir:It,pr=this.consumeName();return{type:5,value:pr,flags:Ut}}break;case dr:if(this.peekCodePoint(0)===Lt)return this.consumeCodePoint(),to;break;case jt:return this.consumeStringToken(jt);case Ct:return Za;case Rt:return va;case jr:if(this.peekCodePoint(0)===Lt)return this.consumeCodePoint(),fo;break;case zr:if(Fi(he,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(he),this.consumeNumericToken();break;case hn:return za;case ot:var Cr=he,Rr=this.peekCodePoint(0),Vr=this.peekCodePoint(1);if(Fi(Cr,Rr,Vr))return this.reconsumeCodePoint(he),this.consumeNumericToken();if(ni(Cr,Rr,Vr))return this.reconsumeCodePoint(he),this.consumeIdentLikeToken();if(Rr===ot&&Vr===$e)return this.consumeCodePoint(),this.consumeCodePoint(),Xo;break;case ln:if(Fi(he,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(he),this.consumeNumericToken();break;case be:if(this.peekCodePoint(0)===jr)for(this.consumeCodePoint();;){var Tn=this.consumeCodePoint();if(Tn===jr&&(Tn=this.consumeCodePoint(),Tn===be))return this.consumeToken();if(Tn===nn)return this.consumeToken()}break;case gn:return Io;case Br:return vo;case Ye:if(this.peekCodePoint(0)===gt&&this.peekCodePoint(1)===ot&&this.peekCodePoint(2)===ot)return this.consumeCodePoint(),this.consumeCodePoint(),Ma;break;case Je:var Sn=this.peekCodePoint(0),Ln=this.peekCodePoint(1),Ti=this.peekCodePoint(2);if(ni(Sn,Ln,Ti)){var pr=this.consumeName();return{type:7,value:pr}}break;case it:return Co;case Ne:if(Jn(he,this.peekCodePoint(0)))return this.reconsumeCodePoint(he),this.consumeIdentLikeToken();break;case ft:return tr;case ht:if(this.peekCodePoint(0)===Lt)return this.consumeCodePoint(),lo;break;case st:return jo;case Tt:return Ao;case On:case hi:var _i=this.peekCodePoint(0),Xi=this.peekCodePoint(1);return _i===zr&&(ua(Xi)||Xi===kt)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(he),this.consumeIdentLikeToken();case ar:if(this.peekCodePoint(0)===Lt)return this.consumeCodePoint(),Qo;if(this.peekCodePoint(0)===ar)return this.consumeCodePoint(),_a;break;case Qt:if(this.peekCodePoint(0)===Lt)return this.consumeCodePoint(),Uo;break;case nn:return Yr}return ba(he)?(this.consumeWhiteSpace(),Wr):sn(he)?(this.reconsumeCodePoint(he),this.consumeNumericToken()):Dn(he)?(this.reconsumeCodePoint(he),this.consumeIdentLikeToken()):{type:6,value:a(he)}},dt.prototype.consumeCodePoint=function(){var he=this._value.shift();return typeof he=="undefined"?-1:he},dt.prototype.reconsumeCodePoint=function(he){this._value.unshift(he)},dt.prototype.peekCodePoint=function(he){return he>=this._value.length?-1:this._value[he]},dt.prototype.consumeUnicodeRangeToken=function(){for(var he=[],Ce=this.consumeCodePoint();ua(Ce)&&he.length<6;)he.push(Ce),Ce=this.consumeCodePoint();for(var Re=!1;Ce===kt&&he.length<6;)he.push(Ce),Ce=this.consumeCodePoint(),Re=!0;if(Re){var tt=parseInt(a.apply(void 0,he.map(function(Rr){return Rr===kt?wn:Rr})),16),Ut=parseInt(a.apply(void 0,he.map(function(Rr){return Rr===kt?zi:Rr})),16);return{type:30,start:tt,end:Ut}}var pr=parseInt(a.apply(void 0,he),16);if(this.peekCodePoint(0)===ot&&ua(this.peekCodePoint(1))){this.consumeCodePoint(),Ce=this.consumeCodePoint();for(var Cr=[];ua(Ce)&&Cr.length<6;)Cr.push(Ce),Ce=this.consumeCodePoint();var Ut=parseInt(a.apply(void 0,Cr),16);return{type:30,start:pr,end:Ut}}else return{type:30,start:pr,end:pr}},dt.prototype.consumeIdentLikeToken=function(){var he=this.consumeName();return he.toLowerCase()==="url"&&this.peekCodePoint(0)===Ct?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Ct?(this.consumeCodePoint(),{type:19,value:he}):{type:20,value:he}},dt.prototype.consumeUrlToken=function(){var he=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===nn)return{type:22,value:""};var Ce=this.peekCodePoint(0);if(Ce===jt||Ce===ct){var Re=this.consumeStringToken(this.consumeCodePoint());return Re.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===nn||this.peekCodePoint(0)===Rt)?(this.consumeCodePoint(),{type:22,value:Re.value}):(this.consumeBadUrlRemnants(),Ro)}for(;;){var tt=this.consumeCodePoint();if(tt===nn||tt===Rt)return{type:22,value:a.apply(void 0,he)};if(ba(tt))return this.consumeWhiteSpace(),this.peekCodePoint(0)===nn||this.peekCodePoint(0)===Rt?(this.consumeCodePoint(),{type:22,value:a.apply(void 0,he)}):(this.consumeBadUrlRemnants(),Ro);if(tt===ct||tt===jt||tt===Ct||Yn(tt))return this.consumeBadUrlRemnants(),Ro;if(tt===Ne)if(Jn(tt,this.peekCodePoint(0)))he.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Ro;else he.push(tt)}},dt.prototype.consumeWhiteSpace=function(){for(;ba(this.peekCodePoint(0));)this.consumeCodePoint()},dt.prototype.consumeBadUrlRemnants=function(){for(;;){var he=this.consumeCodePoint();if(he===Rt||he===nn)return;Jn(he,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},dt.prototype.consumeStringSlice=function(he){for(var Ce=6e4,Re="";he>0;){var tt=Math.min(Ce,he);Re+=a.apply(void 0,this._value.splice(0,tt)),he-=tt}return this._value.shift(),Re},dt.prototype.consumeStringToken=function(he){var Ce="",Re=0;do{var tt=this._value[Re];if(tt===nn||tt===void 0||tt===he)return Ce+=this.consumeStringSlice(Re),{type:0,value:Ce};if(tt===re)return this._value.splice(0,Re),si;if(tt===Ne){var Ut=this._value[Re+1];Ut!==nn&&Ut!==void 0&&(Ut===re?(Ce+=this.consumeStringSlice(Re),Re=-1,this._value.shift()):Jn(tt,Ut)&&(Ce+=this.consumeStringSlice(Re),Ce+=a(this.consumeEscapedCodePoint()),Re=-1))}Re++}while(!0)},dt.prototype.consumeNumber=function(){var he=[],Ce=Me,Re=this.peekCodePoint(0);for((Re===zr||Re===ot)&&he.push(this.consumeCodePoint());sn(this.peekCodePoint(0));)he.push(this.consumeCodePoint());Re=this.peekCodePoint(0);var tt=this.peekCodePoint(1);if(Re===ln&&sn(tt))for(he.push(this.consumeCodePoint(),this.consumeCodePoint()),Ce=ke;sn(this.peekCodePoint(0));)he.push(this.consumeCodePoint());Re=this.peekCodePoint(0),tt=this.peekCodePoint(1);var Ut=this.peekCodePoint(2);if((Re===ei||Re===tn)&&((tt===zr||tt===ot)&&sn(Ut)||sn(tt)))for(he.push(this.consumeCodePoint(),this.consumeCodePoint()),Ce=ke;sn(this.peekCodePoint(0));)he.push(this.consumeCodePoint());return[Hi(he),Ce]},dt.prototype.consumeNumericToken=function(){var he=this.consumeNumber(),Ce=he[0],Re=he[1],tt=this.peekCodePoint(0),Ut=this.peekCodePoint(1),pr=this.peekCodePoint(2);if(ni(tt,Ut,pr)){var Cr=this.consumeName();return{type:15,number:Ce,flags:Re,unit:Cr}}return tt===Pt?(this.consumeCodePoint(),{type:16,number:Ce,flags:Re}):{type:17,number:Ce,flags:Re}},dt.prototype.consumeEscapedCodePoint=function(){var he=this.consumeCodePoint();if(ua(he)){for(var Ce=a(he);ua(this.peekCodePoint(0))&&Ce.length<6;)Ce+=a(this.consumeCodePoint());ba(this.peekCodePoint(0))&&this.consumeCodePoint();var Re=parseInt(Ce,16);return Re===0||ta(Re)||Re>1114111?Ir:Re}return he===nn?Ir:he},dt.prototype.consumeName=function(){for(var he="";;){var Ce=this.consumeCodePoint();if(Pn(Ce))he+=a(Ce);else if(Jn(Ce,this.peekCodePoint(0)))he+=a(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(Ce),he}},dt}(),Ze=function(){function dt(he){this._tokens=he}return dt.create=function(he){var Ce=new pn;return Ce.write(he),new dt(Ce.read())},dt.parseValue=function(he){return dt.create(he).parseComponentValue()},dt.parseValues=function(he){return dt.create(he).parseComponentValues()},dt.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 Ce=this.consumeComponentValue();do he=this.consumeToken();while(he.type===31);if(he.type===32)return Ce;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},dt.prototype.parseComponentValues=function(){for(var he=[];;){var Ce=this.consumeComponentValue();if(Ce.type===32)return he;he.push(Ce),he.push()}},dt.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},dt.prototype.consumeSimpleBlock=function(he){for(var Ce={type:he,values:[]},Re=this.consumeToken();;){if(Re.type===32||fn(Re,he))return Ce;this.reconsumeToken(Re),Ce.values.push(this.consumeComponentValue()),Re=this.consumeToken()}},dt.prototype.consumeFunction=function(he){for(var Ce={name:he.value,values:[],type:18};;){var Re=this.consumeToken();if(Re.type===32||Re.type===3)return Ce;this.reconsumeToken(Re),Ce.values.push(this.consumeComponentValue())}},dt.prototype.consumeToken=function(){var he=this._tokens.shift();return typeof he=="undefined"?Yr:he},dt.prototype.reconsumeToken=function(he){this._tokens.unshift(he)},dt}(),Ht=function(he){return he.type===15},sr=function(he){return he.type===17},er=function(he){return he.type===20},Lr=function(he){return he.type===0},Or=function(he,Ce){return er(he)&&he.value===Ce},qr=function(he){return he.type!==31},Hr=function(he){return he.type!==31&&he.type!==4},un=function(he){var Ce=[],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");Ce.push(Re),Re=[];return}tt.type!==31&&Re.push(tt)}),Re.length&&Ce.push(Re),Ce},fn=function(he,Ce){return Ce===11&&he.type===12||Ce===28&&he.type===29?!0:Ce===2&&he.type===3},yn=function(he){return he.type===17||he.type===15},St=function(he){return he.type===16||yn(he)},qt=function(he){return he.length>1?[he[0],he[1]]:[he[0]]},ur={type:17,number:0,flags:Me},yr={type:16,number:50,flags:Me},Ur={type:16,number:100,flags:Me},Zr=function(he,Ce,Re){var tt=he[0],Ut=he[1];return[cn(tt,Ce),cn(typeof Ut!="undefined"?Ut:tt,Re)]},cn=function(he,Ce){if(he.type===16)return he.number/100*Ce;if(Ht(he))switch(he.unit){case"rem":case"em":return 16*he.number;case"px":default:return he.number}return he.number},_n="deg",Fn="grad",qn="rad",Wn="turn",Rn={name:"angle",parse:function(he,Ce){if(Ce.type===15)switch(Ce.unit){case _n:return Math.PI*Ce.number/180;case Fn:return Math.PI/200*Ce.number;case qn:return Ce.number;case Wn:return Math.PI*2*Ce.number}throw new Error("Unsupported angle type")}},Kn=function(he){return he.type===15&&(he.unit===_n||he.unit===Fn||he.unit===qn||he.unit===Wn)},Gn=function(he){var Ce=he.filter(er).map(function(Re){return Re.value}).join(" ");switch(Ce){case"to bottom right":case"to right bottom":case"left top":case"top left":return[ur,ur];case"to top":case"bottom":return In(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[ur,Ur];case"to right":case"left":return In(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Ur,Ur];case"to bottom":case"top":return In(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Ur,ur];case"to left":case"right":return In(270)}return 0},In=function(he){return Math.PI*he/180},kn={name:"color",parse:function(he,Ce){if(Ce.type===18){var Re=Jt[Ce.name];if(typeof Re=="undefined")throw new Error('Attempting to parse an unsupported color function "'+Ce.name+'"');return Re(he,Ce.values)}if(Ce.type===5){if(Ce.value.length===3){var tt=Ce.value.substring(0,1),Ut=Ce.value.substring(1,2),pr=Ce.value.substring(2,3);return br(parseInt(tt+tt,16),parseInt(Ut+Ut,16),parseInt(pr+pr,16),1)}if(Ce.value.length===4){var tt=Ce.value.substring(0,1),Ut=Ce.value.substring(1,2),pr=Ce.value.substring(2,3),Cr=Ce.value.substring(3,4);return br(parseInt(tt+tt,16),parseInt(Ut+Ut,16),parseInt(pr+pr,16),parseInt(Cr+Cr,16)/255)}if(Ce.value.length===6){var tt=Ce.value.substring(0,2),Ut=Ce.value.substring(2,4),pr=Ce.value.substring(4,6);return br(parseInt(tt,16),parseInt(Ut,16),parseInt(pr,16),1)}if(Ce.value.length===8){var tt=Ce.value.substring(0,2),Ut=Ce.value.substring(2,4),pr=Ce.value.substring(4,6),Cr=Ce.value.substring(6,8);return br(parseInt(tt,16),parseInt(Ut,16),parseInt(pr,16),parseInt(Cr,16)/255)}}if(Ce.type===20){var Rr=_r[Ce.value.toUpperCase()];if(typeof Rr!="undefined")return Rr}return _r.TRANSPARENT}},ti=function(he){return(255&he)===0},or=function(he){var Ce=255&he,Re=255&he>>8,tt=255&he>>16,Ut=255&he>>24;return Ce<255?"rgba("+Ut+","+tt+","+Re+","+Ce/255+")":"rgb("+Ut+","+tt+","+Re+")"},br=function(he,Ce,Re,tt){return(he<<24|Ce<<16|Re<<8|Math.round(tt*255)<<0)>>>0},Mr=function(he,Ce){if(he.type===17)return he.number;if(he.type===16){var Re=Ce===3?1:255;return Ce===3?he.number/100*Re:Math.round(he.number/100*Re)}return 0},Sr=function(he,Ce){var Re=Ce.filter(Hr);if(Re.length===3){var tt=Re.map(Mr),Ut=tt[0],pr=tt[1],Cr=tt[2];return br(Ut,pr,Cr,1)}if(Re.length===4){var Rr=Re.map(Mr),Ut=Rr[0],pr=Rr[1],Cr=Rr[2],Vr=Rr[3];return br(Ut,pr,Cr,Vr)}return 0};function Wt(dt,he,Ce){return Ce<0&&(Ce+=1),Ce>=1&&(Ce-=1),Ce<1/6?(he-dt)*Ce*6+dt:Ce<1/2?he:Ce<2/3?(he-dt)*6*(2/3-Ce)+dt:dt}var fr=function(he,Ce){var Re=Ce.filter(Hr),tt=Re[0],Ut=Re[1],pr=Re[2],Cr=Re[3],Rr=(tt.type===17?In(tt.number):Rn.parse(he,tt))/(Math.PI*2),Vr=St(Ut)?Ut.number/100:0,Tn=St(pr)?pr.number/100:0,Sn=typeof Cr!="undefined"&&St(Cr)?cn(Cr,1):1;if(Vr===0)return br(Tn*255,Tn*255,Tn*255,1);var Ln=Tn<=.5?Tn*(Vr+1):Tn+Vr-Tn*Vr,Ti=Tn*2-Ln,_i=Wt(Ti,Ln,Rr+1/3),Xi=Wt(Ti,Ln,Rr),Ta=Wt(Ti,Ln,Rr-1/3);return br(_i*255,Xi*255,Ta*255,Sn)},Jt={hsl:fr,hsla:fr,rgb:Sr,rgba:Sr},Tr=function(he,Ce){return kn.parse(he,Ze.create(Ce).parseComponentValue())},_r={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},Qr;(function(dt){dt[dt.BORDER_BOX=0]="BORDER_BOX",dt[dt.PADDING_BOX=1]="PADDING_BOX",dt[dt.CONTENT_BOX=2]="CONTENT_BOX"})(Qr||(Qr={}));var Kr={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(he,Ce){return Ce.map(function(Re){if(er(Re))switch(Re.value){case"padding-box":return Qr.PADDING_BOX;case"content-box":return Qr.CONTENT_BOX}return Qr.BORDER_BOX})}},en={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},An=function(he,Ce){var Re=kn.parse(he,Ce[0]),tt=Ce[1];return tt&&St(tt)?{color:Re,stop:tt}:{color:Re,stop:null}},xn=function(he,Ce){var Re=he[0],tt=he[he.length-1];Re.stop===null&&(Re.stop=ur),tt.stop===null&&(tt.stop=Ur);for(var Ut=[],pr=0,Cr=0;Cr<he.length;Cr++){var Rr=he[Cr].stop;if(Rr!==null){var Vr=cn(Rr,Ce);Vr>pr?Ut.push(Vr):Ut.push(pr),pr=Vr}else Ut.push(null)}for(var Tn=null,Cr=0;Cr<Ut.length;Cr++){var Sn=Ut[Cr];if(Sn===null)Tn===null&&(Tn=Cr);else if(Tn!==null){for(var Ln=Cr-Tn,Ti=Ut[Tn-1],_i=(Sn-Ti)/(Ln+1),Xi=1;Xi<=Ln;Xi++)Ut[Tn+Xi-1]=_i*Xi;Tn=null}}return he.map(function(Ta,la){var aa=Ta.color;return{color:aa,stop:Math.max(Math.min(1,Ut[la]/Ce),0)}})},Cn=function(he,Ce,Re){var tt=Ce/2,Ut=Re/2,pr=cn(he[0],Ce)-tt,Cr=Ut-cn(he[1],Re);return(Math.atan2(Cr,pr)+Math.PI*2)%(Math.PI*2)},jn=function(he,Ce,Re){var tt=typeof he=="number"?he:Cn(he,Ce,Re),Ut=Math.abs(Ce*Math.sin(tt))+Math.abs(Re*Math.cos(tt)),pr=Ce/2,Cr=Re/2,Rr=Ut/2,Vr=Math.sin(tt-Math.PI/2)*Rr,Tn=Math.cos(tt-Math.PI/2)*Rr;return[Ut,pr-Tn,pr+Tn,Cr-Vr,Cr+Vr]},di=function(he,Ce){return Math.sqrt(he*he+Ce*Ce)},Ei=function(he,Ce,Re,tt,Ut){var pr=[[0,0],[0,Ce],[he,0],[he,Ce]];return pr.reduce(function(Cr,Rr){var Vr=Rr[0],Tn=Rr[1],Sn=di(Re-Vr,tt-Tn);return(Ut?Sn<Cr.optimumDistance:Sn>Cr.optimumDistance)?{optimumCorner:Rr,optimumDistance:Sn}:Cr},{optimumDistance:Ut?Infinity:-Infinity,optimumCorner:null}).optimumCorner},Ii=function(he,Ce,Re,tt,Ut){var pr=0,Cr=0;switch(he.size){case bi.CLOSEST_SIDE:he.shape===Ci.CIRCLE?pr=Cr=Math.min(Math.abs(Ce),Math.abs(Ce-tt),Math.abs(Re),Math.abs(Re-Ut)):he.shape===Ci.ELLIPSE&&(pr=Math.min(Math.abs(Ce),Math.abs(Ce-tt)),Cr=Math.min(Math.abs(Re),Math.abs(Re-Ut)));break;case bi.CLOSEST_CORNER:if(he.shape===Ci.CIRCLE)pr=Cr=Math.min(di(Ce,Re),di(Ce,Re-Ut),di(Ce-tt,Re),di(Ce-tt,Re-Ut));else if(he.shape===Ci.ELLIPSE){var Rr=Math.min(Math.abs(Re),Math.abs(Re-Ut))/Math.min(Math.abs(Ce),Math.abs(Ce-tt)),Vr=Ei(tt,Ut,Ce,Re,!0),Tn=Vr[0],Sn=Vr[1];pr=di(Tn-Ce,(Sn-Re)/Rr),Cr=Rr*pr}break;case bi.FARTHEST_SIDE:he.shape===Ci.CIRCLE?pr=Cr=Math.max(Math.abs(Ce),Math.abs(Ce-tt),Math.abs(Re),Math.abs(Re-Ut)):he.shape===Ci.ELLIPSE&&(pr=Math.max(Math.abs(Ce),Math.abs(Ce-tt)),Cr=Math.max(Math.abs(Re),Math.abs(Re-Ut)));break;case bi.FARTHEST_CORNER:if(he.shape===Ci.CIRCLE)pr=Cr=Math.max(di(Ce,Re),di(Ce,Re-Ut),di(Ce-tt,Re),di(Ce-tt,Re-Ut));else if(he.shape===Ci.ELLIPSE){var Rr=Math.max(Math.abs(Re),Math.abs(Re-Ut))/Math.max(Math.abs(Ce),Math.abs(Ce-tt)),Ln=Ei(tt,Ut,Ce,Re,!1),Tn=Ln[0],Sn=Ln[1];pr=di(Tn-Ce,(Sn-Re)/Rr),Cr=Rr*pr}break}return Array.isArray(he.size)&&(pr=cn(he.size[0],tt),Cr=he.size.length===2?cn(he.size[1],Ut):pr),[pr,Cr]},vi=function(he,Ce){var Re=In(180),tt=[];return un(Ce).forEach(function(Ut,pr){if(pr===0){var Cr=Ut[0];if(Cr.type===20&&Cr.value==="to"){Re=Gn(Ut);return}else if(Kn(Cr)){Re=Rn.parse(he,Cr);return}}var Rr=An(he,Ut);tt.push(Rr)}),{angle:Re,stops:tt,type:Si.LINEAR_GRADIENT}},wi=function(he,Ce){var Re=In(180),tt=[];return un(Ce).forEach(function(Ut,pr){if(pr===0){var Cr=Ut[0];if(Cr.type===20&&["top","left","right","bottom"].indexOf(Cr.value)!==-1){Re=Gn(Ut);return}else if(Kn(Cr)){Re=(Rn.parse(he,Cr)+In(270))%In(360);return}}var Rr=An(he,Ut);tt.push(Rr)}),{angle:Re,stops:tt,type:Si.LINEAR_GRADIENT}},ri=function(he,Ce){var Re=In(180),tt=[],Ut=Si.LINEAR_GRADIENT,pr=Ci.CIRCLE,Cr=bi.FARTHEST_CORNER,Rr=[];return un(Ce).forEach(function(Vr,Tn){var Sn=Vr[0];if(Tn===0){if(er(Sn)&&Sn.value==="linear"){Ut=Si.LINEAR_GRADIENT;return}else if(er(Sn)&&Sn.value==="radial"){Ut=Si.RADIAL_GRADIENT;return}}if(Sn.type===18){if(Sn.name==="from"){var Ln=kn.parse(he,Sn.values[0]);tt.push({stop:ur,color:Ln})}else if(Sn.name==="to"){var Ln=kn.parse(he,Sn.values[0]);tt.push({stop:Ur,color:Ln})}else if(Sn.name==="color-stop"){var Ti=Sn.values.filter(Hr);if(Ti.length===2){var Ln=kn.parse(he,Ti[1]),_i=Ti[0];sr(_i)&&tt.push({stop:{type:16,number:_i.number*100,flags:_i.flags},color:Ln})}}}}),Ut===Si.LINEAR_GRADIENT?{angle:(Re+In(180))%In(360),stops:tt,type:Ut}:{size:Cr,shape:pr,stops:tt,position:Rr,type:Ut}},Un="closest-side",ci="farthest-side",mi="closest-corner",Ki="farthest-corner",ii="circle",fi="ellipse",pi="cover",ra="contain",ki=function(he,Ce){var Re=Ci.CIRCLE,tt=bi.FARTHEST_CORNER,Ut=[],pr=[];return un(Ce).forEach(function(Cr,Rr){var Vr=!0;if(Rr===0){var Tn=!1;Vr=Cr.reduce(function(Ln,Ti){if(Tn)if(er(Ti))switch(Ti.value){case"center":return pr.push(yr),Ln;case"top":case"left":return pr.push(ur),Ln;case"right":case"bottom":return pr.push(Ur),Ln}else(St(Ti)||yn(Ti))&&pr.push(Ti);else if(er(Ti))switch(Ti.value){case ii:return Re=Ci.CIRCLE,!1;case fi:return Re=Ci.ELLIPSE,!1;case"at":return Tn=!0,!1;case Un:return tt=bi.CLOSEST_SIDE,!1;case pi:case ci:return tt=bi.FARTHEST_SIDE,!1;case ra:case mi:return tt=bi.CLOSEST_CORNER,!1;case Ki:return tt=bi.FARTHEST_CORNER,!1}else if(yn(Ti)||St(Ti))return Array.isArray(tt)||(tt=[]),tt.push(Ti),!1;return Ln},Vr)}if(Vr){var Sn=An(he,Cr);Ut.push(Sn)}}),{size:tt,shape:Re,stops:Ut,position:pr,type:Si.RADIAL_GRADIENT}},Zn=function(he,Ce){var Re=Ci.CIRCLE,tt=bi.FARTHEST_CORNER,Ut=[],pr=[];return un(Ce).forEach(function(Cr,Rr){var Vr=!0;if(Rr===0?Vr=Cr.reduce(function(Sn,Ln){if(er(Ln))switch(Ln.value){case"center":return pr.push(yr),!1;case"top":case"left":return pr.push(ur),!1;case"right":case"bottom":return pr.push(Ur),!1}else if(St(Ln)||yn(Ln))return pr.push(Ln),!1;return Sn},Vr):Rr===1&&(Vr=Cr.reduce(function(Sn,Ln){if(er(Ln))switch(Ln.value){case ii:return Re=Ci.CIRCLE,!1;case fi:return Re=Ci.ELLIPSE,!1;case ra:case Un:return tt=bi.CLOSEST_SIDE,!1;case ci:return tt=bi.FARTHEST_SIDE,!1;case mi:return tt=bi.CLOSEST_CORNER,!1;case pi:case Ki:return tt=bi.FARTHEST_CORNER,!1}else if(yn(Ln)||St(Ln))return Array.isArray(tt)||(tt=[]),tt.push(Ln),!1;return Sn},Vr)),Vr){var Tn=An(he,Cr);Ut.push(Tn)}}),{size:tt,shape:Re,stops:Ut,position:pr,type:Si.RADIAL_GRADIENT}},Si;(function(dt){dt[dt.URL=0]="URL",dt[dt.LINEAR_GRADIENT=1]="LINEAR_GRADIENT",dt[dt.RADIAL_GRADIENT=2]="RADIAL_GRADIENT"})(Si||(Si={}));var Yi=function(he){return he.type===Si.LINEAR_GRADIENT},Pi=function(he){return he.type===Si.RADIAL_GRADIENT},Ci;(function(dt){dt[dt.CIRCLE=0]="CIRCLE",dt[dt.ELLIPSE=1]="ELLIPSE"})(Ci||(Ci={}));var bi;(function(dt){dt[dt.CLOSEST_SIDE=0]="CLOSEST_SIDE",dt[dt.FARTHEST_SIDE=1]="FARTHEST_SIDE",dt[dt.CLOSEST_CORNER=2]="CLOSEST_CORNER",dt[dt.FARTHEST_CORNER=3]="FARTHEST_CORNER"})(bi||(bi={}));var wa={name:"image",parse:function(he,Ce){if(Ce.type===22){var Re={url:Ce.value,type:Si.URL};return he.cache.addImage(Ce.value),Re}if(Ce.type===18){var tt=ha[Ce.name];if(typeof tt=="undefined")throw new Error('Attempting to parse an unsupported image function "'+Ce.name+'"');return tt(he,Ce.values)}throw new Error("Unsupported image type "+Ce.type)}};function Zi(dt){return!(dt.type===20&&dt.value==="none")&&(dt.type!==18||!!ha[dt.name])}var ha={"linear-gradient":vi,"-moz-linear-gradient":wi,"-ms-linear-gradient":wi,"-o-linear-gradient":wi,"-webkit-linear-gradient":wi,"radial-gradient":ki,"-moz-radial-gradient":Zn,"-ms-radial-gradient":Zn,"-o-radial-gradient":Zn,"-webkit-radial-gradient":Zn,"-webkit-gradient":ri},Ia={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(he,Ce){if(Ce.length===0)return[];var Re=Ce[0];return Re.type===20&&Re.value==="none"?[]:Ce.filter(function(tt){return Hr(tt)&&Zi(tt)}).map(function(tt){return wa.parse(he,tt)})}},xi={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(he,Ce){return Ce.map(function(Re){if(er(Re))switch(Re.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Ba={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(he,Ce){return un(Ce).map(function(Re){return Re.filter(St)}).map(qt)}},oa;(function(dt){dt[dt.REPEAT=0]="REPEAT",dt[dt.NO_REPEAT=1]="NO_REPEAT",dt[dt.REPEAT_X=2]="REPEAT_X",dt[dt.REPEAT_Y=3]="REPEAT_Y"})(oa||(oa={}));var qi={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(he,Ce){return un(Ce).map(function(Re){return Re.filter(er).map(function(tt){return tt.value}).join(" ")}).map(ga)}},ga=function(he){switch(he){case"no-repeat":return oa.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return oa.REPEAT_X;case"repeat-y":case"no-repeat repeat":return oa.REPEAT_Y;case"repeat":default:return oa.REPEAT}},na;(function(dt){dt.AUTO="auto",dt.CONTAIN="contain",dt.COVER="cover"})(na||(na={}));var ca={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(he,Ce){return un(Ce).map(function(Re){return Re.filter(Wa)})}},Wa=function(he){return er(he)||St(he)},Pa=function(he){return{name:"border-"+he+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},ro=Pa("top"),Fa=Pa("right"),Ua=Pa("bottom"),Ya=Pa("left"),Aa=function(he){return{name:"border-radius-"+he,initialValue:"0 0",prefix:!1,type:1,parse:function(Re,tt){return qt(tt.filter(St))}}},Ji=Aa("top-left"),La=Aa("top-right"),ja=Aa("bottom-right"),ji=Aa("bottom-left"),Qi;(function(dt){dt[dt.NONE=0]="NONE",dt[dt.SOLID=1]="SOLID",dt[dt.DASHED=2]="DASHED",dt[dt.DOTTED=3]="DOTTED",dt[dt.DOUBLE=4]="DOUBLE"})(Qi||(Qi={}));var uo=function(he){return{name:"border-"+he+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(Re,tt){switch(tt){case"none":return Qi.NONE;case"dashed":return Qi.DASHED;case"dotted":return Qi.DOTTED;case"double":return Qi.DOUBLE}return Qi.SOLID}}},yo=uo("top"),Lo=uo("right"),Oo=uo("bottom"),Va=uo("left"),$i=function(he){return{name:"border-"+he+"-width",initialValue:"0",type:0,prefix:!1,parse:function(Re,tt){return Ht(tt)?tt.number:0}}},co=$i("top"),Zo=$i("right"),Ha=$i("bottom"),bo=$i("left"),ma={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Bo={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(he,Ce){switch(Ce){case"rtl":return 1;case"ltr":default:return 0}}},$s={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(he,Ce){return Ce.filter(er).reduce(function(Re,tt){return Re|ss(tt.value)},0)}},ss=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},Ho;(function(dt){dt[dt.NONE=0]="NONE",dt[dt.LEFT=1]="LEFT",dt[dt.RIGHT=2]="RIGHT",dt[dt.INLINE_START=3]="INLINE_START",dt[dt.INLINE_END=4]="INLINE_END"})(Ho||(Ho={}));var vs={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(he,Ce){switch(Ce){case"left":return Ho.LEFT;case"right":return Ho.RIGHT;case"inline-start":return Ho.INLINE_START;case"inline-end":return Ho.INLINE_END}return Ho.NONE}},cs={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(he,Ce){return Ce.type===20&&Ce.value==="normal"?0:Ce.type===17||Ce.type===15?Ce.number:0}},Jo;(function(dt){dt.NORMAL="normal",dt.STRICT="strict"})(Jo||(Jo={}));var Fo={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(he,Ce){switch(Ce){case"strict":return Jo.STRICT;case"normal":default:return Jo.NORMAL}}},eo={name:"line-height",initialValue:"normal",prefix:!1,type:4},Mo=function(he,Ce){return er(he)&&he.value==="normal"?1.2*Ce:he.type===17?Ce*he.number:St(he)?cn(he,Ce):Ce},po={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(he,Ce){return Ce.type===20&&Ce.value==="none"?null:wa.parse(he,Ce)}},wo;(function(dt){dt[dt.INSIDE=0]="INSIDE",dt[dt.OUTSIDE=1]="OUTSIDE"})(wo||(wo={}));var Dr={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(he,Ce){switch(Ce){case"inside":return wo.INSIDE;case"outside":default:return wo.OUTSIDE}}},Hn;(function(dt){dt[dt.NONE=-1]="NONE",dt[dt.DISC=0]="DISC",dt[dt.CIRCLE=1]="CIRCLE",dt[dt.SQUARE=2]="SQUARE",dt[dt.DECIMAL=3]="DECIMAL",dt[dt.CJK_DECIMAL=4]="CJK_DECIMAL",dt[dt.DECIMAL_LEADING_ZERO=5]="DECIMAL_LEADING_ZERO",dt[dt.LOWER_ROMAN=6]="LOWER_ROMAN",dt[dt.UPPER_ROMAN=7]="UPPER_ROMAN",dt[dt.LOWER_GREEK=8]="LOWER_GREEK",dt[dt.LOWER_ALPHA=9]="LOWER_ALPHA",dt[dt.UPPER_ALPHA=10]="UPPER_ALPHA",dt[dt.ARABIC_INDIC=11]="ARABIC_INDIC",dt[dt.ARMENIAN=12]="ARMENIAN",dt[dt.BENGALI=13]="BENGALI",dt[dt.CAMBODIAN=14]="CAMBODIAN",dt[dt.CJK_EARTHLY_BRANCH=15]="CJK_EARTHLY_BRANCH",dt[dt.CJK_HEAVENLY_STEM=16]="CJK_HEAVENLY_STEM",dt[dt.CJK_IDEOGRAPHIC=17]="CJK_IDEOGRAPHIC",dt[dt.DEVANAGARI=18]="DEVANAGARI",dt[dt.ETHIOPIC_NUMERIC=19]="ETHIOPIC_NUMERIC",dt[dt.GEORGIAN=20]="GEORGIAN",dt[dt.GUJARATI=21]="GUJARATI",dt[dt.GURMUKHI=22]="GURMUKHI",dt[dt.HEBREW=22]="HEBREW",dt[dt.HIRAGANA=23]="HIRAGANA",dt[dt.HIRAGANA_IROHA=24]="HIRAGANA_IROHA",dt[dt.JAPANESE_FORMAL=25]="JAPANESE_FORMAL",dt[dt.JAPANESE_INFORMAL=26]="JAPANESE_INFORMAL",dt[dt.KANNADA=27]="KANNADA",dt[dt.KATAKANA=28]="KATAKANA",dt[dt.KATAKANA_IROHA=29]="KATAKANA_IROHA",dt[dt.KHMER=30]="KHMER",dt[dt.KOREAN_HANGUL_FORMAL=31]="KOREAN_HANGUL_FORMAL",dt[dt.KOREAN_HANJA_FORMAL=32]="KOREAN_HANJA_FORMAL",dt[dt.KOREAN_HANJA_INFORMAL=33]="KOREAN_HANJA_INFORMAL",dt[dt.LAO=34]="LAO",dt[dt.LOWER_ARMENIAN=35]="LOWER_ARMENIAN",dt[dt.MALAYALAM=36]="MALAYALAM",dt[dt.MONGOLIAN=37]="MONGOLIAN",dt[dt.MYANMAR=38]="MYANMAR",dt[dt.ORIYA=39]="ORIYA",dt[dt.PERSIAN=40]="PERSIAN",dt[dt.SIMP_CHINESE_FORMAL=41]="SIMP_CHINESE_FORMAL",dt[dt.SIMP_CHINESE_INFORMAL=42]="SIMP_CHINESE_INFORMAL",dt[dt.TAMIL=43]="TAMIL",dt[dt.TELUGU=44]="TELUGU",dt[dt.THAI=45]="THAI",dt[dt.TIBETAN=46]="TIBETAN",dt[dt.TRAD_CHINESE_FORMAL=47]="TRAD_CHINESE_FORMAL",dt[dt.TRAD_CHINESE_INFORMAL=48]="TRAD_CHINESE_INFORMAL",dt[dt.UPPER_ARMENIAN=49]="UPPER_ARMENIAN",dt[dt.DISCLOSURE_OPEN=50]="DISCLOSURE_OPEN",dt[dt.DISCLOSURE_CLOSED=51]="DISCLOSURE_CLOSED"})(Hn||(Hn={}));var Ls={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(he,Ce){switch(Ce){case"disc":return Hn.DISC;case"circle":return Hn.CIRCLE;case"square":return Hn.SQUARE;case"decimal":return Hn.DECIMAL;case"cjk-decimal":return Hn.CJK_DECIMAL;case"decimal-leading-zero":return Hn.DECIMAL_LEADING_ZERO;case"lower-roman":return Hn.LOWER_ROMAN;case"upper-roman":return Hn.UPPER_ROMAN;case"lower-greek":return Hn.LOWER_GREEK;case"lower-alpha":return Hn.LOWER_ALPHA;case"upper-alpha":return Hn.UPPER_ALPHA;case"arabic-indic":return Hn.ARABIC_INDIC;case"armenian":return Hn.ARMENIAN;case"bengali":return Hn.BENGALI;case"cambodian":return Hn.CAMBODIAN;case"cjk-earthly-branch":return Hn.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return Hn.CJK_HEAVENLY_STEM;case"cjk-ideographic":return Hn.CJK_IDEOGRAPHIC;case"devanagari":return Hn.DEVANAGARI;case"ethiopic-numeric":return Hn.ETHIOPIC_NUMERIC;case"georgian":return Hn.GEORGIAN;case"gujarati":return Hn.GUJARATI;case"gurmukhi":return Hn.GURMUKHI;case"hebrew":return Hn.HEBREW;case"hiragana":return Hn.HIRAGANA;case"hiragana-iroha":return Hn.HIRAGANA_IROHA;case"japanese-formal":return Hn.JAPANESE_FORMAL;case"japanese-informal":return Hn.JAPANESE_INFORMAL;case"kannada":return Hn.KANNADA;case"katakana":return Hn.KATAKANA;case"katakana-iroha":return Hn.KATAKANA_IROHA;case"khmer":return Hn.KHMER;case"korean-hangul-formal":return Hn.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return Hn.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return Hn.KOREAN_HANJA_INFORMAL;case"lao":return Hn.LAO;case"lower-armenian":return Hn.LOWER_ARMENIAN;case"malayalam":return Hn.MALAYALAM;case"mongolian":return Hn.MONGOLIAN;case"myanmar":return Hn.MYANMAR;case"oriya":return Hn.ORIYA;case"persian":return Hn.PERSIAN;case"simp-chinese-formal":return Hn.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return Hn.SIMP_CHINESE_INFORMAL;case"tamil":return Hn.TAMIL;case"telugu":return Hn.TELUGU;case"thai":return Hn.THAI;case"tibetan":return Hn.TIBETAN;case"trad-chinese-formal":return Hn.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return Hn.TRAD_CHINESE_INFORMAL;case"upper-armenian":return Hn.UPPER_ARMENIAN;case"disclosure-open":return Hn.DISCLOSURE_OPEN;case"disclosure-closed":return Hn.DISCLOSURE_CLOSED;case"none":default:return Hn.NONE}}},Ss=function(he){return{name:"margin-"+he,initialValue:"0",prefix:!1,type:4}},ys=Ss("top"),Na=Ss("right"),Ga=Ss("bottom"),To=Ss("left"),xo;(function(dt){dt[dt.VISIBLE=0]="VISIBLE",dt[dt.HIDDEN=1]="HIDDEN",dt[dt.SCROLL=2]="SCROLL",dt[dt.CLIP=3]="CLIP",dt[dt.AUTO=4]="AUTO"})(xo||(xo={}));var $o={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(he,Ce){return Ce.filter(er).map(function(Re){switch(Re.value){case"hidden":return xo.HIDDEN;case"scroll":return xo.SCROLL;case"clip":return xo.CLIP;case"auto":return xo.AUTO;case"visible":default:return xo.VISIBLE}})}},es={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(he,Ce){switch(Ce){case"break-word":return"break-word";case"normal":default:return"normal"}}},ts=function(he){return{name:"padding-"+he,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Gs=ts("top"),Os=ts("right"),Ws=ts("bottom"),Ns=ts("left"),Go;(function(dt){dt[dt.LEFT=0]="LEFT",dt[dt.CENTER=1]="CENTER",dt[dt.RIGHT=2]="RIGHT"})(Go||(Go={}));var xs={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(he,Ce){switch(Ce){case"right":return Go.RIGHT;case"center":case"justify":return Go.CENTER;case"left":default:return Go.LEFT}}},ao;(function(dt){dt[dt.STATIC=0]="STATIC",dt[dt.RELATIVE=1]="RELATIVE",dt[dt.ABSOLUTE=2]="ABSOLUTE",dt[dt.FIXED=3]="FIXED",dt[dt.STICKY=4]="STICKY"})(ao||(ao={}));var el={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(he,Ce){switch(Ce){case"relative":return ao.RELATIVE;case"absolute":return ao.ABSOLUTE;case"fixed":return ao.FIXED;case"sticky":return ao.STICKY}return ao.STATIC}},Ds={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(he,Ce){return Ce.length===1&&Or(Ce[0],"none")?[]:un(Ce).map(function(Re){for(var tt={color:_r.TRANSPARENT,offsetX:ur,offsetY:ur,blur:ur},Ut=0,pr=0;pr<Re.length;pr++){var Cr=Re[pr];yn(Cr)?(Ut===0?tt.offsetX=Cr:Ut===1?tt.offsetY=Cr:tt.blur=Cr,Ut++):tt.color=kn.parse(he,Cr)}return tt})}},ds;(function(dt){dt[dt.NONE=0]="NONE",dt[dt.LOWERCASE=1]="LOWERCASE",dt[dt.UPPERCASE=2]="UPPERCASE",dt[dt.CAPITALIZE=3]="CAPITALIZE"})(ds||(ds={}));var Vt={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(he,Ce){switch(Ce){case"uppercase":return ds.UPPERCASE;case"lowercase":return ds.LOWERCASE;case"capitalize":return ds.CAPITALIZE}return ds.NONE}},de={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(he,Ce){if(Ce.type===20&&Ce.value==="none")return null;if(Ce.type===18){var Re=ze[Ce.name];if(typeof Re=="undefined")throw new Error('Attempting to parse an unsupported transform function "'+Ce.name+'"');return Re(Ce.values)}return null}},Te=function(he){var Ce=he.filter(function(Re){return Re.type===17}).map(function(Re){return Re.number});return Ce.length===6?Ce:null},Oe=function(he){var Ce=he.filter(function(Vr){return Vr.type===17}).map(function(Vr){return Vr.number}),Re=Ce[0],tt=Ce[1];Ce[2],Ce[3];var Ut=Ce[4],pr=Ce[5];Ce[6],Ce[7],Ce[8],Ce[9],Ce[10],Ce[11];var Cr=Ce[12],Rr=Ce[13];return Ce[14],Ce[15],Ce.length===16?[Re,tt,Ut,pr,Cr,Rr]:null},ze={matrix:Te,matrix3d:Oe},yt={type:16,number:50,flags:Me},Kt=[yt,yt],gr={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(he,Ce){var Re=Ce.filter(St);return Re.length!==2?Kt:[Re[0],Re[1]]}},xr;(function(dt){dt[dt.VISIBLE=0]="VISIBLE",dt[dt.HIDDEN=1]="HIDDEN",dt[dt.COLLAPSE=2]="COLLAPSE"})(xr||(xr={}));var Pr={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(he,Ce){switch(Ce){case"hidden":return xr.HIDDEN;case"collapse":return xr.COLLAPSE;case"visible":default:return xr.VISIBLE}}},dn;(function(dt){dt.NORMAL="normal",dt.BREAK_ALL="break-all",dt.KEEP_ALL="keep-all"})(dn||(dn={}));var bn={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(he,Ce){switch(Ce){case"break-all":return dn.BREAK_ALL;case"keep-all":return dn.KEEP_ALL;case"normal":default:return dn.NORMAL}}},Nn={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(he,Ce){if(Ce.type===20)return{auto:!0,order:0};if(sr(Ce))return{auto:!1,order:Ce.number};throw new Error("Invalid z-index number parsed")}},Xn={name:"time",parse:function(he,Ce){if(Ce.type===15)switch(Ce.unit.toLowerCase()){case"s":return 1e3*Ce.number;case"ms":return Ce.number}throw new Error("Unsupported time type")}},li={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(he,Ce){return sr(Ce)?Ce.number:1}},Li={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ea={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(he,Ce){return Ce.filter(er).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})}},Sa={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(he,Ce){var Re=[],tt=[];return Ce.forEach(function(Ut){switch(Ut.type){case 20:case 0:Re.push(Ut.value);break;case 17:Re.push(Ut.number.toString());break;case 4:tt.push(Re.join(" ")),Re.length=0;break}}),Re.length&&tt.push(Re.join(" ")),tt.map(function(Ut){return Ut.indexOf(" ")===-1?Ut:"'"+Ut+"'"})}},xa={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Da={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(he,Ce){if(sr(Ce))return Ce.number;if(er(Ce))switch(Ce.value){case"bold":return 700;case"normal":default:return 400}return 400}},oo={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(he,Ce){return Ce.filter(er).map(function(Re){return Re.value})}},Qa;(function(dt){dt.NORMAL="normal",dt.ITALIC="italic",dt.OBLIQUE="oblique"})(Qa||(Qa={}));var So={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(he,Ce){switch(Ce){case"oblique":return Qa.OBLIQUE;case"italic":return Qa.ITALIC;case"normal":default:return Qa.NORMAL}}},Ea=function(he,Ce){return(he&Ce)!==0},no={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(he,Ce){if(Ce.length===0)return[];var Re=Ce[0];return Re.type===20&&Re.value==="none"?[]:Ce}},Yo={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(he,Ce){if(Ce.length===0)return null;var Re=Ce[0];if(Re.type===20&&Re.value==="none")return null;for(var tt=[],Ut=Ce.filter(qr),pr=0;pr<Ut.length;pr++){var Cr=Ut[pr],Rr=Ut[pr+1];if(Cr.type===20){var Vr=Rr&&sr(Rr)?Rr.number:1;tt.push({counter:Cr.value,increment:Vr})}}return tt}},Ko={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(he,Ce){if(Ce.length===0)return[];for(var Re=[],tt=Ce.filter(qr),Ut=0;Ut<tt.length;Ut++){var pr=tt[Ut],Cr=tt[Ut+1];if(er(pr)&&pr.value!=="none"){var Rr=Cr&&sr(Cr)?Cr.number:0;Re.push({counter:pr.value,reset:Rr})}}return Re}},so={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(he,Ce){return Ce.filter(Ht).map(function(Re){return Xn.parse(he,Re)})}},ls={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(he,Ce){if(Ce.length===0)return null;var Re=Ce[0];if(Re.type===20&&Re.value==="none")return null;var tt=[],Ut=Ce.filter(Lr);if(Ut.length%2!==0)return null;for(var pr=0;pr<Ut.length;pr+=2){var Cr=Ut[pr].value,Rr=Ut[pr+1].value;tt.push({open:Cr,close:Rr})}return tt}},hs=function(he,Ce,Re){if(!he)return"";var tt=he[Math.min(Ce,he.length-1)];return tt?Re?tt.open:tt.close:""},fs={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(he,Ce){return Ce.length===1&&Or(Ce[0],"none")?[]:un(Ce).map(function(Re){for(var tt={color:255,offsetX:ur,offsetY:ur,blur:ur,spread:ur,inset:!1},Ut=0,pr=0;pr<Re.length;pr++){var Cr=Re[pr];Or(Cr,"inset")?tt.inset=!0:yn(Cr)?(Ut===0?tt.offsetX=Cr:Ut===1?tt.offsetY=Cr:Ut===2?tt.blur=Cr:tt.spread=Cr,Ut++):tt.color=kn.parse(he,Cr)}return tt})}},mo;(function(dt){dt[dt.FILL=0]="FILL",dt[dt.STROKE=1]="STROKE",dt[dt.MARKERS=2]="MARKERS"})(mo||(mo={}));for(var ks={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(he,Ce){var Re=[mo.FILL,mo.STROKE,mo.MARKERS],tt=[];return Ce.filter(er).forEach(function(Ut){switch(Ut.value){case"stroke":tt.push(mo.STROKE);break;case"fill":tt.push(mo.FILL);break;case"markers":tt.push(mo.MARKERS);break}}),Re.forEach(function(Ut){tt.indexOf(Ut)===-1&&tt.push(Ut)}),tt}},rs={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},pl={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(he,Ce){return Ht(Ce)?Ce.number:0}},ml=function(){function dt(he,Ce){var Re,tt;this.animationDuration=Ri(he,so,Ce.animationDuration),this.backgroundClip=Ri(he,Kr,Ce.backgroundClip),this.backgroundColor=Ri(he,en,Ce.backgroundColor),this.backgroundImage=Ri(he,Ia,Ce.backgroundImage),this.backgroundOrigin=Ri(he,xi,Ce.backgroundOrigin),this.backgroundPosition=Ri(he,Ba,Ce.backgroundPosition),this.backgroundRepeat=Ri(he,qi,Ce.backgroundRepeat),this.backgroundSize=Ri(he,ca,Ce.backgroundSize),this.borderTopColor=Ri(he,ro,Ce.borderTopColor),this.borderRightColor=Ri(he,Fa,Ce.borderRightColor),this.borderBottomColor=Ri(he,Ua,Ce.borderBottomColor),this.borderLeftColor=Ri(he,Ya,Ce.borderLeftColor),this.borderTopLeftRadius=Ri(he,Ji,Ce.borderTopLeftRadius),this.borderTopRightRadius=Ri(he,La,Ce.borderTopRightRadius),this.borderBottomRightRadius=Ri(he,ja,Ce.borderBottomRightRadius),this.borderBottomLeftRadius=Ri(he,ji,Ce.borderBottomLeftRadius),this.borderTopStyle=Ri(he,yo,Ce.borderTopStyle),this.borderRightStyle=Ri(he,Lo,Ce.borderRightStyle),this.borderBottomStyle=Ri(he,Oo,Ce.borderBottomStyle),this.borderLeftStyle=Ri(he,Va,Ce.borderLeftStyle),this.borderTopWidth=Ri(he,co,Ce.borderTopWidth),this.borderRightWidth=Ri(he,Zo,Ce.borderRightWidth),this.borderBottomWidth=Ri(he,Ha,Ce.borderBottomWidth),this.borderLeftWidth=Ri(he,bo,Ce.borderLeftWidth),this.boxShadow=Ri(he,fs,Ce.boxShadow),this.color=Ri(he,ma,Ce.color),this.direction=Ri(he,Bo,Ce.direction),this.display=Ri(he,$s,Ce.display),this.float=Ri(he,vs,Ce.cssFloat),this.fontFamily=Ri(he,Sa,Ce.fontFamily),this.fontSize=Ri(he,xa,Ce.fontSize),this.fontStyle=Ri(he,So,Ce.fontStyle),this.fontVariant=Ri(he,oo,Ce.fontVariant),this.fontWeight=Ri(he,Da,Ce.fontWeight),this.letterSpacing=Ri(he,cs,Ce.letterSpacing),this.lineBreak=Ri(he,Fo,Ce.lineBreak),this.lineHeight=Ri(he,eo,Ce.lineHeight),this.listStyleImage=Ri(he,po,Ce.listStyleImage),this.listStylePosition=Ri(he,Dr,Ce.listStylePosition),this.listStyleType=Ri(he,Ls,Ce.listStyleType),this.marginTop=Ri(he,ys,Ce.marginTop),this.marginRight=Ri(he,Na,Ce.marginRight),this.marginBottom=Ri(he,Ga,Ce.marginBottom),this.marginLeft=Ri(he,To,Ce.marginLeft),this.opacity=Ri(he,li,Ce.opacity);var Ut=Ri(he,$o,Ce.overflow);this.overflowX=Ut[0],this.overflowY=Ut[Ut.length>1?1:0],this.overflowWrap=Ri(he,es,Ce.overflowWrap),this.paddingTop=Ri(he,Gs,Ce.paddingTop),this.paddingRight=Ri(he,Os,Ce.paddingRight),this.paddingBottom=Ri(he,Ws,Ce.paddingBottom),this.paddingLeft=Ri(he,Ns,Ce.paddingLeft),this.paintOrder=Ri(he,ks,Ce.paintOrder),this.position=Ri(he,el,Ce.position),this.textAlign=Ri(he,xs,Ce.textAlign),this.textDecorationColor=Ri(he,Li,(Re=Ce.textDecorationColor)!==null&&Re!==void 0?Re:Ce.color),this.textDecorationLine=Ri(he,ea,(tt=Ce.textDecorationLine)!==null&&tt!==void 0?tt:Ce.textDecoration),this.textShadow=Ri(he,Ds,Ce.textShadow),this.textTransform=Ri(he,Vt,Ce.textTransform),this.transform=Ri(he,de,Ce.transform),this.transformOrigin=Ri(he,gr,Ce.transformOrigin),this.visibility=Ri(he,Pr,Ce.visibility),this.webkitTextStrokeColor=Ri(he,rs,Ce.webkitTextStrokeColor),this.webkitTextStrokeWidth=Ri(he,pl,Ce.webkitTextStrokeWidth),this.wordBreak=Ri(he,bn,Ce.wordBreak),this.zIndex=Ri(he,Nn,Ce.zIndex)}return dt.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===xr.VISIBLE},dt.prototype.isTransparent=function(){return ti(this.backgroundColor)},dt.prototype.isTransformed=function(){return this.transform!==null},dt.prototype.isPositioned=function(){return this.position!==ao.STATIC},dt.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},dt.prototype.isFloating=function(){return this.float!==Ho.NONE},dt.prototype.isInlineLevel=function(){return Ea(this.display,4)||Ea(this.display,33554432)||Ea(this.display,268435456)||Ea(this.display,536870912)||Ea(this.display,67108864)||Ea(this.display,134217728)},dt}(),bs=function(){function dt(he,Ce){this.content=Ri(he,no,Ce.content),this.quotes=Ri(he,ls,Ce.quotes)}return dt}(),No=function(){function dt(he,Ce){this.counterIncrement=Ri(he,Yo,Ce.counterIncrement),this.counterReset=Ri(he,Ko,Ce.counterReset)}return dt}(),Ri=function(he,Ce,Re){var tt=new pn,Ut=Re!==null&&typeof Re!="undefined"?Re.toString():Ce.initialValue;tt.write(Ut);var pr=new Ze(tt.read());switch(Ce.type){case 2:var Cr=pr.parseComponentValue();return Ce.parse(he,er(Cr)?Cr.value:Ce.initialValue);case 0:return Ce.parse(he,pr.parseComponentValue());case 1:return Ce.parse(he,pr.parseComponentValues());case 4:return pr.parseComponentValue();case 3:switch(Ce.format){case"angle":return Rn.parse(he,pr.parseComponentValue());case"color":return kn.parse(he,pr.parseComponentValue());case"image":return wa.parse(he,pr.parseComponentValue());case"length":var Rr=pr.parseComponentValue();return yn(Rr)?Rr:ur;case"length-percentage":var Vr=pr.parseComponentValue();return St(Vr)?Vr:ur;case"time":return Xn.parse(he,pr.parseComponentValue())}break}},il="data-html2canvas-debug",al=function(he){var Ce=he.getAttribute(il);switch(Ce){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},ol=function(he,Ce){var Re=al(he);return Re===1||Ce===Re},ns=function(){function dt(he,Ce){if(this.context=he,this.textNodes=[],this.elements=[],this.flags=0,ol(Ce,3))debugger;this.styles=new ml(he,window.getComputedStyle(Ce,null)),lt(Ce)&&(this.styles.animationDuration.some(function(Re){return Re>0})&&(Ce.style.animationDuration="0s"),this.styles.transform!==null&&(Ce.style.transform="none")),this.bounds=o(this.context,Ce),ol(Ce,4)&&(this.flags|=16)}return dt}(),sl="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Qs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ps=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Ys=0;Ys<Qs.length;Ys++)Ps[Qs.charCodeAt(Ys)]=Ys;for(var Zs=function(he){var Ce=he.length*.75,Re=he.length,tt,Ut=0,pr,Cr,Rr,Vr;he[he.length-1]==="="&&(Ce--,he[he.length-2]==="="&&Ce--);var Tn=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(Ce):new Array(Ce),Sn=Array.isArray(Tn)?Tn:new Uint8Array(Tn);for(tt=0;tt<Re;tt+=4)pr=Ps[he.charCodeAt(tt)],Cr=Ps[he.charCodeAt(tt+1)],Rr=Ps[he.charCodeAt(tt+2)],Vr=Ps[he.charCodeAt(tt+3)],Sn[Ut++]=pr<<2|Cr>>4,Sn[Ut++]=(Cr&15)<<4|Rr>>2,Sn[Ut++]=(Rr&3)<<6|Vr&63;return Tn},Ra=function(he){for(var Ce=he.length,Re=[],tt=0;tt<Ce;tt+=2)Re.push(he[tt+1]<<8|he[tt]);return Re},Wi=function(he){for(var Ce=he.length,Re=[],tt=0;tt<Ce;tt+=4)Re.push(he[tt+3]<<24|he[tt+2]<<16|he[tt+1]<<8|he[tt]);return Re},sa=5,ka=6+5,zo=2,Rs=ka-sa,Us=65536>>sa,Ms=1<<sa,Es=Ms-1,Cs=1024>>sa,Bs=Us+Cs,is=Bs,Dl=2048>>6,Su=is+Dl,Uu=65536>>ka,xu=1<<Rs,Vs=xu-1,gl=function(he,Ce,Re){return he.slice?he.slice(Ce,Re):new Uint16Array(Array.prototype.slice.call(he,Ce,Re))},vl=function(he,Ce,Re){return he.slice?he.slice(Ce,Re):new Uint32Array(Array.prototype.slice.call(he,Ce,Re))},ju=function(he,Ce){var Re=Zs(he),tt=Array.isArray(Re)?Wi(Re):new Uint32Array(Re),Ut=Array.isArray(Re)?Ra(Re):new Uint16Array(Re),pr=24,Cr=gl(Ut,pr/2,tt[4]/2),Rr=tt[5]===2?gl(Ut,(pr+tt[4])/2):vl(tt,Math.ceil((pr+tt[4])/4));return new Eu(tt[0],tt[1],tt[2],tt[3],Cr,Rr)},Eu=function(){function dt(he,Ce,Re,tt,Ut,pr){this.initialValue=he,this.errorValue=Ce,this.highStart=Re,this.highValueIndex=tt,this.index=Ut,this.data=pr}return dt.prototype.get=function(he){var Ce;if(he>=0){if(he<55296||he>56319&&he<=65535)return Ce=this.index[he>>sa],Ce=(Ce<<zo)+(he&Es),this.data[Ce];if(he<=65535)return Ce=this.index[Us+(he-55296>>sa)],Ce=(Ce<<zo)+(he&Es),this.data[Ce];if(he<this.highStart)return Ce=Su-Uu+(he>>ka),Ce=this.index[Ce],Ce+=he>>sa&Vs,Ce=this.index[Ce],Ce=(Ce<<zo)+(he&Es),this.data[Ce];if(he<=1114111)return this.data[this.highValueIndex]}return this.errorValue},dt}(),Hu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ku=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),yl=0;yl<Hu.length;yl++)Ku[Hu.charCodeAt(yl)]=yl;var js=1,zl=2,nu=3,iu=4,Cu=5,au=7,ou=8,Rl=9,Tu=10,Wl=11,_u=12,ll=13,bl=14,wl=15,Ml=function(he){for(var Ce=[],Re=0,tt=he.length;Re<tt;){var Ut=he.charCodeAt(Re++);if(Ut>=55296&&Ut<=56319&&Re<tt){var pr=he.charCodeAt(Re++);(pr&64512)===56320?Ce.push(((Ut&1023)<<10)+(pr&1023)+65536):(Ce.push(Ut),Re--)}else Ce.push(Ut)}return Ce},ul=function(){for(var he=[],Ce=0;Ce<arguments.length;Ce++)he[Ce]=arguments[Ce];if(String.fromCodePoint)return String.fromCodePoint.apply(String,he);var Re=he.length;if(!Re)return"";for(var tt=[],Ut=-1,pr="";++Ut<Re;){var Cr=he[Ut];Cr<=65535?tt.push(Cr):(Cr-=65536,tt.push((Cr>>10)+55296,Cr%1024+56320)),(Ut+1===Re||tt.length>16384)&&(pr+=String.fromCharCode.apply(String,tt),tt.length=0)}return pr},zu=ju(sl),Hs="\xD7",Js="\xF7",Bl=function(he){return zu.get(he)},Iu=function(he,Ce,Re){var tt=Re-2,Ut=Ce[tt],pr=Ce[Re-1],Cr=Ce[Re];if(pr===zl&&Cr===nu)return Hs;if(pr===zl||pr===nu||pr===iu)return Js;if(Cr===zl||Cr===nu||Cr===iu)return Js;if(pr===ou&&[ou,Rl,Wl,_u].indexOf(Cr)!==-1)return Hs;if((pr===Wl||pr===Rl)&&(Cr===Rl||Cr===Tu))return Hs;if((pr===_u||pr===Tu)&&Cr===Tu)return Hs;if(Cr===ll||Cr===Cu)return Hs;if(Cr===au)return Hs;if(pr===js)return Hs;if(pr===ll&&Cr===bl){for(;Ut===Cu;)Ut=Ce[--tt];if(Ut===bl)return Hs}if(pr===wl&&Cr===wl){for(var Rr=0;Ut===wl;)Rr++,Ut=Ce[--tt];if(Rr%2===0)return Hs}return Js},Vl=function(he){var Ce=Ml(he),Re=Ce.length,tt=0,Ut=0,pr=Ce.map(Bl);return{next:function(){if(tt>=Re)return{done:!0,value:null};for(var Rr=Hs;tt<Re&&(Rr=Iu(Ce,pr,++tt))===Hs;);if(Rr!==Hs||tt===Re){var Vr=ul.apply(null,Ce.slice(Ut,tt));return Ut=tt,{value:Vr,done:!1}}return{done:!0,value:null}}}},Sl=function(he){for(var Ce=Vl(he),Re=[],tt;!(tt=Ce.next()).done;)tt.value&&Re.push(tt.value.slice());return Re},xl=function(he){var Ce=123;if(he.createRange){var Re=he.createRange();if(Re.getBoundingClientRect){var tt=he.createElement("boundtest");tt.style.height=Ce+"px",tt.style.display="block",he.body.appendChild(tt),Re.selectNode(tt);var Ut=Re.getBoundingClientRect(),pr=Math.round(Ut.height);if(he.body.removeChild(tt),pr===Ce)return!0}}return!1},su=function(he){var Ce=he.createElement("boundtest");Ce.style.width="50px",Ce.style.display="block",Ce.style.fontSize="12px",Ce.style.letterSpacing="0px",Ce.style.wordSpacing="0px",he.body.appendChild(Ce);var Re=he.createRange();Ce.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";var tt=Ce.firstChild,Ut=t(tt.data).map(function(Vr){return a(Vr)}),pr=0,Cr={},Rr=Ut.every(function(Vr,Tn){Re.setStart(tt,pr),Re.setEnd(tt,pr+Vr.length);var Sn=Re.getBoundingClientRect();pr+=Vr.length;var Ln=Sn.x>Cr.x||Sn.y>Cr.y;return Cr=Sn,Tn===0?!0:Ln});return he.body.removeChild(Ce),Rr},lu=function(){return typeof new Image().crossOrigin!="undefined"},uu=function(){return typeof new XMLHttpRequest().responseType=="string"},cu=function(he){var Ce=new Image,Re=he.createElement("canvas"),tt=Re.getContext("2d");if(!tt)return!1;Ce.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{tt.drawImage(Ce,0,0),Re.toDataURL()}catch(Ut){return!1}return!0},Al=function(he){return he[0]===0&&he[1]===255&&he[2]===0&&he[3]===255},Xl=function(he){var Ce=he.createElement("canvas"),Re=100;Ce.width=Re,Ce.height=Re;var tt=Ce.getContext("2d");if(!tt)return Promise.reject(!1);tt.fillStyle="rgb(0, 255, 0)",tt.fillRect(0,0,Re,Re);var Ut=new Image,pr=Ce.toDataURL();Ut.src=pr;var Cr=Fl(Re,Re,0,0,Ut);return tt.fillStyle="red",tt.fillRect(0,0,Re,Re),du(Cr).then(function(Rr){tt.drawImage(Rr,0,0);var Vr=tt.getImageData(0,0,Re,Re).data;tt.fillStyle="red",tt.fillRect(0,0,Re,Re);var Tn=he.createElement("div");return Tn.style.backgroundImage="url("+pr+")",Tn.style.height=Re+"px",Al(Vr)?du(Fl(Re,Re,0,0,Tn)):Promise.reject(!1)}).then(function(Rr){return tt.drawImage(Rr,0,0),Al(tt.getImageData(0,0,Re,Re).data)}).catch(function(){return!1})},Fl=function(he,Ce,Re,tt,Ut){var pr="http://www.w3.org/2000/svg",Cr=document.createElementNS(pr,"svg"),Rr=document.createElementNS(pr,"foreignObject");return Cr.setAttributeNS(null,"width",he.toString()),Cr.setAttributeNS(null,"height",Ce.toString()),Rr.setAttributeNS(null,"width","100%"),Rr.setAttributeNS(null,"height","100%"),Rr.setAttributeNS(null,"x",Re.toString()),Rr.setAttributeNS(null,"y",tt.toString()),Rr.setAttributeNS(null,"externalResourcesRequired","true"),Cr.appendChild(Rr),Rr.appendChild(Ut),Cr},du=function(he){return new Promise(function(Ce,Re){var tt=new Image;tt.onload=function(){return Ce(tt)},tt.onerror=Re,tt.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(he))})},ps={get SUPPORT_RANGE_BOUNDS(){var dt=xl(document);return Object.defineProperty(ps,"SUPPORT_RANGE_BOUNDS",{value:dt}),dt},get SUPPORT_WORD_BREAKING(){var dt=ps.SUPPORT_RANGE_BOUNDS&&su(document);return Object.defineProperty(ps,"SUPPORT_WORD_BREAKING",{value:dt}),dt},get SUPPORT_SVG_DRAWING(){var dt=cu(document);return Object.defineProperty(ps,"SUPPORT_SVG_DRAWING",{value:dt}),dt},get SUPPORT_FOREIGNOBJECT_DRAWING(){var dt=typeof Array.from=="function"&&typeof window.fetch=="function"?Xl(document):Promise.resolve(!1);return Object.defineProperty(ps,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:dt}),dt},get SUPPORT_CORS_IMAGES(){var dt=lu();return Object.defineProperty(ps,"SUPPORT_CORS_IMAGES",{value:dt}),dt},get SUPPORT_RESPONSE_TYPE(){var dt=uu();return Object.defineProperty(ps,"SUPPORT_RESPONSE_TYPE",{value:dt}),dt},get SUPPORT_CORS_XHR(){var dt="withCredentials"in new XMLHttpRequest;return Object.defineProperty(ps,"SUPPORT_CORS_XHR",{value:dt}),dt}},kl=function(){function dt(he,Ce){this.text=he,this.bounds=Ce}return dt}(),Wu=function(he,Ce,Re,tt){var Ut=Vu(Ce,Re),pr=[],Cr=0;return Ut.forEach(function(Rr){if(Re.textDecorationLine.length||Rr.trim().length>0)if(ps.SUPPORT_RANGE_BOUNDS)ps.SUPPORT_WORD_BREAKING?pr.push(new kl(Rr,Lu(he,tt,Cr,Rr.length))):pr.push(new kl(Rr,c.fromDOMRectList(he,Gl(tt,Cr,Rr.length).getClientRects())));else{var Vr=tt.splitText(Rr.length);pr.push(new kl(Rr,Pl(he,tt))),tt=Vr}else ps.SUPPORT_RANGE_BOUNDS||(tt=tt.splitText(Rr.length));Cr+=Rr.length}),pr},Pl=function(he,Ce){var Re=Ce.ownerDocument;if(Re){var tt=Re.createElement("html2canvaswrapper");tt.appendChild(Ce.cloneNode(!0));var Ut=Ce.parentNode;if(Ut){Ut.replaceChild(tt,Ce);var pr=o(he,tt);return tt.firstChild&&Ut.replaceChild(tt.firstChild,tt),pr}}return c.EMPTY},Gl=function(he,Ce,Re){var tt=he.ownerDocument;if(!tt)throw new Error("Node has no owner document");var Ut=tt.createRange();return Ut.setStart(he,Ce),Ut.setEnd(he,Ce+Re),Ut},Lu=function(he,Ce,Re,tt){return c.fromClientRect(he,Gl(Ce,Re,tt).getBoundingClientRect())},Vu=function(he,Ce){return Ce.letterSpacing!==0?Sl(he):Ou(he,Ce)},hu=[32,160,4961,65792,65793,4153,4241],Ou=function(he,Ce){for(var Re=xt(he,{lineBreak:Ce.lineBreak,wordBreak:Ce.overflowWrap==="break-word"?"break-word":Ce.wordBreak}),tt=[],Ut,pr=function(){if(Ut.value){var Rr=Ut.value.slice(),Vr=t(Rr),Tn="";Vr.forEach(function(Sn){hu.indexOf(Sn)===-1?Tn+=a(Sn):(Tn.length&&tt.push(Tn),tt.push(a(Sn)),Tn="")}),Tn.length&&tt.push(Tn)}};!(Ut=Re.next()).done;)pr();return tt},Xu=function(){function dt(he,Ce,Re){this.text=Nu(Ce.data,Re.textTransform),this.textBounds=Wu(he,this.text,Re,Ce)}return dt}(),Nu=function(he,Ce){switch(Ce){case ds.LOWERCASE:return he.toLowerCase();case ds.CAPITALIZE:return he.replace(Du,Gu);case ds.UPPERCASE:return he.toUpperCase();default:return he}},Du=/(^|\s|:|-|\(|\))([a-z])/g,Gu=function(he,Ce,Re){return he.length>0?Ce+Re.toUpperCase():he},Ql=function(dt){m(he,dt);function he(Ce,Re){var tt=dt.call(this,Ce,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}(ns),El=function(dt){m(he,dt);function he(Ce,Re){var tt=dt.call(this,Ce,Re)||this;return tt.canvas=Re,tt.intrinsicWidth=Re.width,tt.intrinsicHeight=Re.height,tt}return he}(ns),Cl=function(dt){m(he,dt);function he(Ce,Re){var tt=dt.call(this,Ce,Re)||this,Ut=new XMLSerializer,pr=o(Ce,Re);return Re.setAttribute("width",pr.width+"px"),Re.setAttribute("height",pr.height+"px"),tt.svg="data:image/svg+xml,"+encodeURIComponent(Ut.serializeToString(Re)),tt.intrinsicWidth=Re.width.baseVal.value,tt.intrinsicHeight=Re.height.baseVal.value,tt.context.cache.addImage(tt.svg),tt}return he}(ns),Ru=function(dt){m(he,dt);function he(Ce,Re){var tt=dt.call(this,Ce,Re)||this;return tt.value=Re.value,tt}return he}(ns),Ul=function(dt){m(he,dt);function he(Ce,Re){var tt=dt.call(this,Ce,Re)||this;return tt.start=Re.start,tt.reversed=typeof Re.reversed=="boolean"&&Re.reversed===!0,tt}return he}(ns),Mu=[{type:15,flags:0,unit:"px",number:3}],Qu=[{type:16,flags:0,number:50}],Yu=function(he){return he.width>he.height?new c(he.left+(he.width-he.height)/2,he.top,he.height,he.height):he.width<he.height?new c(he.left,he.top+(he.height-he.width)/2,he.width,he.width):he},Zu=function(he){var Ce=he.type===qu?new Array(he.value.length+1).join("\u2022"):he.value;return Ce.length===0?he.placeholder||"":Ce},Tl="checkbox",Yl="radio",qu="password",fu=707406591,jl=function(dt){m(he,dt);function he(Ce,Re){var tt=dt.call(this,Ce,Re)||this;tt.type=Re.type.toLowerCase(),tt.checked=Re.checked,tt.value=Zu(Re),(tt.type===Tl||tt.type===Yl)&&(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=Qi.SOLID,tt.styles.backgroundClip=[Qr.BORDER_BOX],tt.styles.backgroundOrigin=[0],tt.bounds=Yu(tt.bounds));switch(tt.type){case Tl:tt.styles.borderTopRightRadius=tt.styles.borderTopLeftRadius=tt.styles.borderBottomRightRadius=tt.styles.borderBottomLeftRadius=Mu;break;case Yl:tt.styles.borderTopRightRadius=tt.styles.borderTopLeftRadius=tt.styles.borderBottomRightRadius=tt.styles.borderBottomLeftRadius=Qu;break}return tt}return he}(ns),pu=function(dt){m(he,dt);function he(Ce,Re){var tt=dt.call(this,Ce,Re)||this,Ut=Re.options[Re.selectedIndex||0];return tt.value=Ut&&Ut.text||"",tt}return he}(ns),mu=function(dt){m(he,dt);function he(Ce,Re){var tt=dt.call(this,Ce,Re)||this;return tt.value=Re.value,tt}return he}(ns),gu=function(dt){m(he,dt);function he(Ce,Re){var tt=dt.call(this,Ce,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=Bu(Ce,Re.contentWindow.document.documentElement);var Ut=Re.contentWindow.document.documentElement?Tr(Ce,getComputedStyle(Re.contentWindow.document.documentElement).backgroundColor):_r.TRANSPARENT,pr=Re.contentWindow.document.body?Tr(Ce,getComputedStyle(Re.contentWindow.document.body).backgroundColor):_r.TRANSPARENT;tt.backgroundColor=ti(Ut)?ti(pr)?tt.styles.backgroundColor:pr:Ut}}catch(Cr){}return tt}return he}(ns),_l=["OL","UL","MENU"],Zl=function dt(he,Ce,Re,tt){for(var Ut=Ce.firstChild,pr=void 0;Ut;Ut=pr)if(pr=Ut.nextSibling,ko(Ut)&&Ut.data.trim().length>0)Re.textNodes.push(new Xu(he,Ut,Re.styles));else if(Ll(Ut))if(zn(Ut)&&Ut.assignedNodes)Ut.assignedNodes().forEach(function(Rr){return dt(he,Rr,Re,tt)});else{var Cr=Il(he,Ut);Cr.styles.isVisible()&&(Ju(Ut,Cr,tt)?Cr.flags|=4:$u(Cr.styles)&&(Cr.flags|=2),_l.indexOf(Ut.tagName)!==-1&&(Cr.flags|=8),Re.elements.push(Cr),Ut.slot,Ut.shadowRoot?dt(he,Ut.shadowRoot,Cr,tt):!rn(Ut)&&!lr(Ut)&&!En(Ut)&&dt(he,Ut,Cr,tt))}},Il=function(he,Ce){return an(Ce)?new Ql(he,Ce):Nr(Ce)?new El(he,Ce):lr(Ce)?new Cl(he,Ce):Xe(Ce)?new Ru(he,Ce):bt(Ce)?new Ul(he,Ce):zt(Ce)?new jl(he,Ce):En(Ce)?new pu(he,Ce):rn(Ce)?new mu(he,Ce):on(Ce)?new gu(he,Ce):new ns(he,Ce)},Bu=function(he,Ce){var Re=Il(he,Ce);return Re.flags|=4,Zl(he,Ce,Re,Re),Re},Ju=function(he,Ce,Re){return Ce.styles.isPositionedWithZIndex()||Ce.styles.opacity<1||Ce.styles.isTransformed()||mr(he)&&Re.styles.isTransparent()},$u=function(he){return he.isPositioned()||he.isFloating()},ko=function(he){return he.nodeType===Node.TEXT_NODE},Ll=function(he){return he.nodeType===Node.ELEMENT_NODE},lt=function(he){return Ll(he)&&typeof he.style!="undefined"&&!ve(he)},ve=function(he){return typeof he.className=="object"},Xe=function(he){return he.tagName==="LI"},bt=function(he){return he.tagName==="OL"},zt=function(he){return he.tagName==="INPUT"},nr=function(he){return he.tagName==="HTML"},lr=function(he){return he.tagName==="svg"},mr=function(he){return he.tagName==="BODY"},Nr=function(he){return he.tagName==="CANVAS"},an=function(he){return he.tagName==="IMG"},on=function(he){return he.tagName==="IFRAME"},Jr=function(he){return he.tagName==="STYLE"},Gr=function(he){return he.tagName==="SCRIPT"},rn=function(he){return he.tagName==="TEXTAREA"},En=function(he){return he.tagName==="SELECT"},zn=function(he){return he.tagName==="SLOT"},gi=function(){function dt(){this.counters={}}return dt.prototype.getCounterValue=function(he){var Ce=this.counters[he];return Ce&&Ce.length?Ce[Ce.length-1]:1},dt.prototype.getCounterValues=function(he){var Ce=this.counters[he];return Ce||[]},dt.prototype.pop=function(he){var Ce=this;he.forEach(function(Re){return Ce.counters[Re].pop()})},dt.prototype.parse=function(he){var Ce=this,Re=he.counterIncrement,tt=he.counterReset,Ut=!0;Re!==null&&Re.forEach(function(Cr){var Rr=Ce.counters[Cr.counter];Rr&&Cr.increment!==0&&(Ut=!1,Rr.length||Rr.push(1),Rr[Math.max(0,Rr.length-1)]+=Cr.increment)});var pr=[];return Ut&&tt.forEach(function(Cr){var Rr=Ce.counters[Cr.counter];pr.push(Cr.counter),Rr||(Rr=Ce.counters[Cr.counter]=[]),Rr.push(Cr.reset)}),pr},dt}(),Ui={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"]},Di={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"]},Ca={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"]},Oi={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"]},Xa=function(he,Ce,Re,tt,Ut,pr){return he<Ce||he>Re?$t(he,Ut,pr.length>0):tt.integers.reduce(function(Cr,Rr,Vr){for(;he>=Rr;)he-=Rr,Cr+=tt.values[Vr];return Cr},"")+pr},Ka=function(he,Ce,Re,tt){var Ut="";do Re||he--,Ut=tt(he)+Ut,he/=Ce;while(he*Ce>=Ce);return Ut},Oa=function(he,Ce,Re,tt,Ut){var pr=Re-Ce+1;return(he<0?"-":"")+(Ka(Math.abs(he),pr,tt,function(Cr){return a(Math.floor(Cr%pr)+Ce)})+Ut)},Wo=function(he,Ce,Re){Re===void 0&&(Re=". ");var tt=Ce.length;return Ka(Math.abs(he),tt,!1,function(Ut){return Ce[Math.floor(Ut%tt)]})+Re},L=1<<0,R=1<<1,q=1<<2,te=1<<3,se=function(he,Ce,Re,tt,Ut,pr){if(he<-9999||he>9999)return $t(he,Hn.CJK_DECIMAL,Ut.length>0);var Cr=Math.abs(he),Rr=Ut;if(Cr===0)return Ce[0]+Rr;for(var Vr=0;Cr>0&&Vr<=4;Vr++){var Tn=Cr%10;Tn===0&&Ea(pr,L)&&Rr!==""?Rr=Ce[Tn]+Rr:Tn>1||Tn===1&&Vr===0||Tn===1&&Vr===1&&Ea(pr,R)||Tn===1&&Vr===1&&Ea(pr,q)&&he>100||Tn===1&&Vr>1&&Ea(pr,te)?Rr=Ce[Tn]+(Vr>0?Re[Vr-1]:"")+Rr:Tn===1&&Vr>0&&(Rr=Re[Vr-1]+Rr),Cr=Math.floor(Cr/10)}return(he<0?tt:"")+Rr},Fe="\u5341\u767E\u5343\u842C",At="\u62FE\u4F70\u4EDF\u842C",Mt="\u30DE\u30A4\u30CA\u30B9",Yt="\uB9C8\uC774\uB108\uC2A4",$t=function(he,Ce,Re){var tt=Re?". ":"",Ut=Re?"\u3001":"",pr=Re?", ":"",Cr=Re?" ":"";switch(Ce){case Hn.DISC:return"\u2022"+Cr;case Hn.CIRCLE:return"\u25E6"+Cr;case Hn.SQUARE:return"\u25FE"+Cr;case Hn.DECIMAL_LEADING_ZERO:var Rr=Oa(he,48,57,!0,tt);return Rr.length<4?"0"+Rr:Rr;case Hn.CJK_DECIMAL:return Wo(he,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Ut);case Hn.LOWER_ROMAN:return Xa(he,1,3999,Ui,Hn.DECIMAL,tt).toLowerCase();case Hn.UPPER_ROMAN:return Xa(he,1,3999,Ui,Hn.DECIMAL,tt);case Hn.LOWER_GREEK:return Oa(he,945,969,!1,tt);case Hn.LOWER_ALPHA:return Oa(he,97,122,!1,tt);case Hn.UPPER_ALPHA:return Oa(he,65,90,!1,tt);case Hn.ARABIC_INDIC:return Oa(he,1632,1641,!0,tt);case Hn.ARMENIAN:case Hn.UPPER_ARMENIAN:return Xa(he,1,9999,Di,Hn.DECIMAL,tt);case Hn.LOWER_ARMENIAN:return Xa(he,1,9999,Di,Hn.DECIMAL,tt).toLowerCase();case Hn.BENGALI:return Oa(he,2534,2543,!0,tt);case Hn.CAMBODIAN:case Hn.KHMER:return Oa(he,6112,6121,!0,tt);case Hn.CJK_EARTHLY_BRANCH:return Wo(he,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",Ut);case Hn.CJK_HEAVENLY_STEM:return Wo(he,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",Ut);case Hn.CJK_IDEOGRAPHIC:case Hn.TRAD_CHINESE_INFORMAL:return se(he,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Fe,"\u8CA0",Ut,R|q|te);case Hn.TRAD_CHINESE_FORMAL:return se(he,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",At,"\u8CA0",Ut,L|R|q|te);case Hn.SIMP_CHINESE_INFORMAL:return se(he,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Fe,"\u8D1F",Ut,R|q|te);case Hn.SIMP_CHINESE_FORMAL:return se(he,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",At,"\u8D1F",Ut,L|R|q|te);case Hn.JAPANESE_INFORMAL:return se(he,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",Mt,Ut,0);case Hn.JAPANESE_FORMAL:return se(he,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",Mt,Ut,L|R|q);case Hn.KOREAN_HANGUL_FORMAL:return se(he,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",Yt,pr,L|R|q);case Hn.KOREAN_HANJA_INFORMAL:return se(he,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",Yt,pr,0);case Hn.KOREAN_HANJA_FORMAL:return se(he,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",Yt,pr,L|R|q);case Hn.DEVANAGARI:return Oa(he,2406,2415,!0,tt);case Hn.GEORGIAN:return Xa(he,1,19999,Oi,Hn.DECIMAL,tt);case Hn.GUJARATI:return Oa(he,2790,2799,!0,tt);case Hn.GURMUKHI:return Oa(he,2662,2671,!0,tt);case Hn.HEBREW:return Xa(he,1,10999,Ca,Hn.DECIMAL,tt);case Hn.HIRAGANA:return Wo(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 Hn.HIRAGANA_IROHA:return Wo(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 Hn.KANNADA:return Oa(he,3302,3311,!0,tt);case Hn.KATAKANA:return Wo(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",Ut);case Hn.KATAKANA_IROHA:return Wo(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",Ut);case Hn.LAO:return Oa(he,3792,3801,!0,tt);case Hn.MONGOLIAN:return Oa(he,6160,6169,!0,tt);case Hn.MYANMAR:return Oa(he,4160,4169,!0,tt);case Hn.ORIYA:return Oa(he,2918,2927,!0,tt);case Hn.PERSIAN:return Oa(he,1776,1785,!0,tt);case Hn.TAMIL:return Oa(he,3046,3055,!0,tt);case Hn.TELUGU:return Oa(he,3174,3183,!0,tt);case Hn.THAI:return Oa(he,3664,3673,!0,tt);case Hn.TIBETAN:return Oa(he,3872,3881,!0,tt);case Hn.DECIMAL:default:return Oa(he,48,57,!0,tt)}},Fr="data-html2canvas-ignore",$r=function(){function dt(he,Ce,Re){if(this.context=he,this.options=Re,this.scrolledElements=[],this.referenceElement=Ce,this.counters=new gi,this.quoteDepth=0,!Ce.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(Ce.ownerDocument.documentElement)}return dt.prototype.toIFrame=function(he,Ce){var Re=this,tt=vn(he,Ce);if(!tt.contentWindow)return Promise.reject("Unable to find iframe window");var Ut=he.defaultView.pageXOffset,pr=he.defaultView.pageYOffset,Cr=tt.contentWindow,Rr=Cr.document,Vr=yi(tt).then(function(){return p(Re,void 0,void 0,function(){var Tn,Sn;return g(this,function(Ln){switch(Ln.label){case 0:return this.scrolledElements.forEach(ya),Cr&&(Cr.scrollTo(Ce.left,Ce.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(Cr.scrollY!==Ce.top||Cr.scrollX!==Ce.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(Cr.scrollX-Ce.left,Cr.scrollY-Ce.top,0,0))),Tn=this.options.onclone,Sn=this.clonedReferenceElement,typeof Sn=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Rr.fonts&&Rr.fonts.ready?[4,Rr.fonts.ready]:[3,2];case 1:Ln.sent(),Ln.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,ai(Rr)]:[3,4];case 3:Ln.sent(),Ln.label=4;case 4:return typeof Tn=="function"?[2,Promise.resolve().then(function(){return Tn(Rr,Sn)}).then(function(){return tt})]:[2,tt]}})})});return Rr.open(),Rr.write(Mi(document.doctype)+"<html></html>"),Gi(this.referenceElement.ownerDocument,Ut,pr),Rr.replaceChild(Rr.adoptNode(this.documentElement),Rr.documentElement),Rr.close(),Vr},dt.prototype.createElementClone=function(he){if(ol(he,2))debugger;if(Nr(he))return this.createCanvasClone(he);if(Jr(he))return this.createStyleClone(he);var Ce=he.cloneNode(!1);return an(Ce)&&(an(he)&&he.currentSrc&&he.currentSrc!==he.src&&(Ce.src=he.currentSrc,Ce.srcset=""),Ce.loading==="lazy"&&(Ce.loading="eager")),Ce},dt.prototype.createStyleClone=function(he){try{var Ce=he.sheet;if(Ce&&Ce.cssRules){var Re=[].slice.call(Ce.cssRules,0).reduce(function(Ut,pr){return pr&&typeof pr.cssText=="string"?Ut+pr.cssText:Ut},""),tt=he.cloneNode(!1);return tt.textContent=Re,tt}}catch(Ut){if(this.context.logger.error("Unable to access cssRules property",Ut),Ut.name!=="SecurityError")throw Ut}return he.cloneNode(!1)},dt.prototype.createCanvasClone=function(he){var Ce;if(this.options.inlineImages&&he.ownerDocument){var Re=he.ownerDocument.createElement("img");try{return Re.src=he.toDataURL(),Re}catch(Vr){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 Ut=he.getContext("2d"),pr=tt.getContext("2d");if(pr)if(!this.options.allowTaint&&Ut)pr.putImageData(Ut.getImageData(0,0,he.width,he.height),0,0);else{var Cr=(Ce=he.getContext("webgl2"))!==null&&Ce!==void 0?Ce:he.getContext("webgl");if(Cr){var Rr=Cr.getContextAttributes();(Rr==null?void 0:Rr.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",he)}pr.drawImage(he,0,0)}return tt}catch(Vr){this.context.logger.info("Unable to clone canvas as it is tainted",he)}return tt},dt.prototype.cloneNode=function(he){if(ko(he))return document.createTextNode(he.data);if(!he.ownerDocument)return he.cloneNode(!1);var Ce=he.ownerDocument.defaultView;if(Ce&&Ll(he)&&(lt(he)||ve(he))){var Re=this.createElementClone(he);Re.style.transitionProperty="none";var tt=Ce.getComputedStyle(he),Ut=Ce.getComputedStyle(he,":before"),pr=Ce.getComputedStyle(he,":after");this.referenceElement===he&<(Re)&&(this.clonedReferenceElement=Re),mr(Re)&&Fs(Re);for(var Cr=this.counters.parse(new No(this.context,tt)),Rr=this.resolvePseudoContent(he,Re,Ut,mn.BEFORE),Vr=he.firstChild;Vr;Vr=Vr.nextSibling)(!Ll(Vr)||!Gr(Vr)&&!Vr.hasAttribute(Fr)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(Vr)))&&((!this.options.copyStyles||!Ll(Vr)||!Jr(Vr))&&Re.appendChild(this.cloneNode(Vr)));Rr&&Re.insertBefore(Rr,Re.firstChild);var Tn=this.resolvePseudoContent(he,Re,pr,mn.AFTER);return Tn&&Re.appendChild(Tn),this.counters.pop(Cr),tt&&(this.options.copyStyles||ve(he))&&!on(he)&&Ni(tt,Re),(he.scrollTop!==0||he.scrollLeft!==0)&&this.scrolledElements.push([Re,he.scrollLeft,he.scrollTop]),(rn(he)||En(he))&&(rn(Re)||En(Re))&&(Re.value=he.value),Re}return he.cloneNode(!1)},dt.prototype.resolvePseudoContent=function(he,Ce,Re,tt){var Ut=this;if(!Re)return;var pr=Re.content,Cr=Ce.ownerDocument;if(!Cr||!pr||pr==="none"||pr==="-moz-alt-content"||Re.display==="none")return;this.counters.parse(new No(this.context,Re));var Rr=new bs(this.context,Re),Vr=Cr.createElement("html2canvaspseudoelement");Ni(Re,Vr),Rr.content.forEach(function(Sn){if(Sn.type===0)Vr.appendChild(Cr.createTextNode(Sn.value));else if(Sn.type===22){var Ln=Cr.createElement("img");Ln.src=Sn.value,Ln.style.opacity="1",Vr.appendChild(Ln)}else if(Sn.type===18){if(Sn.name==="attr"){var Ti=Sn.values.filter(er);Ti.length&&Vr.appendChild(Cr.createTextNode(he.getAttribute(Ti[0].value)||""))}else if(Sn.name==="counter"){var _i=Sn.values.filter(Hr),Xi=_i[0],Ta=_i[1];if(Xi&&er(Xi)){var la=Ut.counters.getCounterValue(Xi.value),aa=Ta&&er(Ta)?Ls.parse(Ut.context,Ta.value):Hn.DECIMAL;Vr.appendChild(Cr.createTextNode($t(la,aa,!1)))}}else if(Sn.name==="counters"){var io=Sn.values.filter(Hr),Xi=io[0],go=io[1],Ta=io[2];if(Xi&&er(Xi)){var Ja=Ut.counters.getCounterValues(Xi.value),ia=Ta&&er(Ta)?Ls.parse(Ut.context,Ta.value):Hn.DECIMAL,_o=go&&go.type===0?go.value:"",Do=Ja.map(function(fl){return $t(fl,ia,!1)}).join(_o);Vr.appendChild(Cr.createTextNode(Do))}}}else if(Sn.type===20)switch(Sn.value){case"open-quote":Vr.appendChild(Cr.createTextNode(hs(Rr.quotes,Ut.quoteDepth++,!0)));break;case"close-quote":Vr.appendChild(Cr.createTextNode(hs(Rr.quotes,--Ut.quoteDepth,!1)));break;default:Vr.appendChild(Cr.createTextNode(Sn.value))}}),Vr.className=ho+" "+ms;var Tn=tt===mn.BEFORE?" "+ho:" "+ms;return ve(Ce)?Ce.className.baseValue+=Tn:Ce.className+=Tn,Vr},dt.destroy=function(he){return he.parentNode?(he.parentNode.removeChild(he),!0):!1},dt}(),mn;(function(dt){dt[dt.BEFORE=0]="BEFORE",dt[dt.AFTER=1]="AFTER"})(mn||(mn={}));var vn=function(he,Ce){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=Ce.width.toString(),Re.height=Ce.height.toString(),Re.scrolling="no",Re.setAttribute(Fr,"true"),he.body.appendChild(Re),Re},Mn=function(he){return new Promise(function(Ce){if(he.complete){Ce();return}if(!he.src){Ce();return}he.onload=Ce,he.onerror=Ce})},ai=function(he){return Promise.all([].slice.call(he.images,0).map(Mn))},yi=function(he){return new Promise(function(Ce,Re){var tt=he.contentWindow;if(!tt)return Re("No window assigned for iframe");var Ut=tt.document;tt.onload=he.onload=function(){tt.onload=he.onload=null;var pr=setInterval(function(){Ut.body.childNodes.length>0&&Ut.readyState==="complete"&&(clearInterval(pr),Ce(he))},50)}})},Ai=["all","d","content"],Ni=function(he,Ce){for(var Re=he.length-1;Re>=0;Re--){var tt=he.item(Re);Ai.indexOf(tt)===-1&&Ce.style.setProperty(tt,he.getPropertyValue(tt))}return Ce},Mi=function(he){var Ce="";return he&&(Ce+="<!DOCTYPE ",he.name&&(Ce+=he.name),he.internalSubset&&(Ce+=he.internalSubset),he.publicId&&(Ce+='"'+he.publicId+'"'),he.systemId&&(Ce+='"'+he.systemId+'"'),Ce+=">"),Ce},Gi=function(he,Ce,Re){he&&he.defaultView&&(Ce!==he.defaultView.pageXOffset||Re!==he.defaultView.pageYOffset)&&he.defaultView.scrollTo(Ce,Re)},ya=function(he){var Ce=he[0],Re=he[1],tt=he[2];Ce.scrollLeft=Re,Ce.scrollTop=tt},da=":before",qa=":after",ho="___html2canvas___pseudoelement_before",ms="___html2canvas___pseudoelement_after",Po=`{
|
|
|
content: "" !important;
|
|
|
display: none !important;
|
|
|
}`,Fs=function(he){Ks(he,"."+ho+da+Po+`
|
|
|
.`+ms+qa+Po)},Ks=function(he,Ce){var Re=he.ownerDocument;if(Re){var tt=Re.createElement("style");tt.textContent=Ce,he.appendChild(tt)}},as=function(){function dt(){}return dt.getOrigin=function(he){var Ce=dt._link;return Ce?(Ce.href=he,Ce.href=Ce.href,Ce.protocol+Ce.hostname+Ce.port):"about:blank"},dt.isSameOrigin=function(he){return dt.getOrigin(he)===dt._origin},dt.setContext=function(he){dt._link=he.document.createElement("a"),dt._origin=dt.getOrigin(he.location.href)},dt._origin="about:blank",dt}(),zs=function(){function dt(he,Ce){this.context=he,this._options=Ce,this._cache={}}return dt.prototype.addImage=function(he){var Ce=Promise.resolve();return this.has(he)||(cl(he)||qo(he))&&(this._cache[he]=this.loadImage(he)).catch(function(){}),Ce},dt.prototype.match=function(he){return this._cache[he]},dt.prototype.loadImage=function(he){return p(this,void 0,void 0,function(){var Ce,Re,tt,Ut,pr=this;return g(this,function(Cr){switch(Cr.label){case 0:return Ce=as.isSameOrigin(he),Re=!Ts(he)&&this._options.useCORS===!0&&ps.SUPPORT_CORS_IMAGES&&!Ce,tt=!Ts(he)&&!Ce&&!cl(he)&&typeof this._options.proxy=="string"&&ps.SUPPORT_CORS_XHR&&!Re,!Ce&&this._options.allowTaint===!1&&!Ts(he)&&!cl(he)&&!tt&&!Re?[2]:(Ut=he,tt?[4,this.proxy(Ut)]:[3,2]);case 1:Ut=Cr.sent(),Cr.label=2;case 2:return this.context.logger.debug("Added image "+he.substring(0,256)),[4,new Promise(function(Rr,Vr){var Tn=new Image;Tn.onload=function(){return Rr(Tn)},Tn.onerror=Vr,(ql(Ut)||Re)&&(Tn.crossOrigin="anonymous"),Tn.src=Ut,Tn.complete===!0&&setTimeout(function(){return Rr(Tn)},500),pr._options.imageTimeout>0&&setTimeout(function(){return Vr("Timed out ("+pr._options.imageTimeout+"ms) loading image")},pr._options.imageTimeout)})];case 3:return[2,Cr.sent()]}})})},dt.prototype.has=function(he){return typeof this._cache[he]!="undefined"},dt.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},dt.prototype.proxy=function(he){var Ce=this,Re=this._options.proxy;if(!Re)throw new Error("No proxy defined");var tt=he.substring(0,256);return new Promise(function(Ut,pr){var Cr=ps.SUPPORT_RESPONSE_TYPE?"blob":"text",Rr=new XMLHttpRequest;Rr.onload=function(){if(Rr.status===200)if(Cr==="text")Ut(Rr.response);else{var Sn=new FileReader;Sn.addEventListener("load",function(){return Ut(Sn.result)},!1),Sn.addEventListener("error",function(Ln){return pr(Ln)},!1),Sn.readAsDataURL(Rr.response)}else pr("Failed to proxy resource "+tt+" with status code "+Rr.status)},Rr.onerror=pr;var Vr=Re.indexOf("?")>-1?"&":"?";if(Rr.open("GET",""+Re+Vr+"url="+encodeURIComponent(he)+"&responseType="+Cr),Cr!=="text"&&Rr instanceof XMLHttpRequest&&(Rr.responseType=Cr),Ce._options.imageTimeout){var Tn=Ce._options.imageTimeout;Rr.timeout=Tn,Rr.ontimeout=function(){return pr("Timed out ("+Tn+"ms) proxying "+tt)}}Rr.send()})},dt}(),ws=/^data:image\/svg\+xml/i,gs=/^data:image\/.*;base64,/i,us=/^data:image\/.*/i,qo=function(he){return ps.SUPPORT_SVG_DRAWING||!_s(he)},Ts=function(he){return us.test(he)},ql=function(he){return gs.test(he)},cl=function(he){return he.substr(0,4)==="blob"},_s=function(he){return he.substr(-3).toLowerCase()==="svg"||ws.test(he)},Xs;(function(dt){dt[dt.VECTOR=0]="VECTOR",dt[dt.BEZIER_CURVE=1]="BEZIER_CURVE"})(Xs||(Xs={}));var As=function(he,Ce){return he.length===Ce.length?he.some(function(Re,tt){return Re===Ce[tt]}):!1},ec=function(he,Ce,Re,tt,Ut){return he.map(function(pr,Cr){switch(Cr){case 0:return pr.add(Ce,Re);case 1:return pr.add(Ce+tt,Re);case 2:return pr.add(Ce+tt,Re+Ut);case 3:return pr.add(Ce,Re+Ut)}return pr})},Vi=function(){function dt(he,Ce){this.type=Xs.VECTOR,this.x=he,this.y=Ce}return dt.prototype.add=function(he,Ce){return new dt(this.x+he,this.y+Ce)},dt}(),tl=function(he,Ce,Re){return new Vi(he.x+(Ce.x-he.x)*Re,he.y+(Ce.y-he.y)*Re)},dl=function(){function dt(he,Ce,Re,tt){this.type=Xs.BEZIER_CURVE,this.start=he,this.startControl=Ce,this.endControl=Re,this.end=tt}return dt.prototype.subdivide=function(he,Ce){var Re=tl(this.start,this.startControl,he),tt=tl(this.startControl,this.endControl,he),Ut=tl(this.endControl,this.end,he),pr=tl(Re,tt,he),Cr=tl(tt,Ut,he),Rr=tl(pr,Cr,he);return Ce?new dt(this.start,Re,pr,Rr):new dt(Rr,Cr,Ut,this.end)},dt.prototype.add=function(he,Ce){return new dt(this.start.add(he,Ce),this.startControl.add(he,Ce),this.endControl.add(he,Ce),this.end.add(he,Ce))},dt.prototype.reverse=function(){return new dt(this.end,this.endControl,this.startControl,this.start)},dt}(),Vo=function(he){return he.type===Xs.BEZIER_CURVE},Jl=function(){function dt(he){var Ce=he.styles,Re=he.bounds,tt=Zr(Ce.borderTopLeftRadius,Re.width,Re.height),Ut=tt[0],pr=tt[1],Cr=Zr(Ce.borderTopRightRadius,Re.width,Re.height),Rr=Cr[0],Vr=Cr[1],Tn=Zr(Ce.borderBottomRightRadius,Re.width,Re.height),Sn=Tn[0],Ln=Tn[1],Ti=Zr(Ce.borderBottomLeftRadius,Re.width,Re.height),_i=Ti[0],Xi=Ti[1],Ta=[];Ta.push((Ut+Rr)/Re.width),Ta.push((_i+Sn)/Re.width),Ta.push((pr+Xi)/Re.height),Ta.push((Vr+Ln)/Re.height);var la=Math.max.apply(Math,Ta);la>1&&(Ut/=la,pr/=la,Rr/=la,Vr/=la,Sn/=la,Ln/=la,_i/=la,Xi/=la);var aa=Re.width-Rr,io=Re.height-Ln,go=Re.width-Sn,Ja=Re.height-Xi,ia=Ce.borderTopWidth,_o=Ce.borderRightWidth,Do=Ce.borderBottomWidth,$a=Ce.borderLeftWidth,rl=cn(Ce.paddingTop,he.bounds.width),fl=cn(Ce.paddingRight,he.bounds.width),nl=cn(Ce.paddingBottom,he.bounds.width),Is=cn(Ce.paddingLeft,he.bounds.width);this.topLeftBorderDoubleOuterBox=Ut>0||pr>0?os(Re.left+$a/3,Re.top+ia/3,Ut-$a/3,pr-ia/3,Eo.TOP_LEFT):new Vi(Re.left+$a/3,Re.top+ia/3),this.topRightBorderDoubleOuterBox=Ut>0||pr>0?os(Re.left+aa,Re.top+ia/3,Rr-_o/3,Vr-ia/3,Eo.TOP_RIGHT):new Vi(Re.left+Re.width-_o/3,Re.top+ia/3),this.bottomRightBorderDoubleOuterBox=Sn>0||Ln>0?os(Re.left+go,Re.top+io,Sn-_o/3,Ln-Do/3,Eo.BOTTOM_RIGHT):new Vi(Re.left+Re.width-_o/3,Re.top+Re.height-Do/3),this.bottomLeftBorderDoubleOuterBox=_i>0||Xi>0?os(Re.left+$a/3,Re.top+Ja,_i-$a/3,Xi-Do/3,Eo.BOTTOM_LEFT):new Vi(Re.left+$a/3,Re.top+Re.height-Do/3),this.topLeftBorderDoubleInnerBox=Ut>0||pr>0?os(Re.left+$a*2/3,Re.top+ia*2/3,Ut-$a*2/3,pr-ia*2/3,Eo.TOP_LEFT):new Vi(Re.left+$a*2/3,Re.top+ia*2/3),this.topRightBorderDoubleInnerBox=Ut>0||pr>0?os(Re.left+aa,Re.top+ia*2/3,Rr-_o*2/3,Vr-ia*2/3,Eo.TOP_RIGHT):new Vi(Re.left+Re.width-_o*2/3,Re.top+ia*2/3),this.bottomRightBorderDoubleInnerBox=Sn>0||Ln>0?os(Re.left+go,Re.top+io,Sn-_o*2/3,Ln-Do*2/3,Eo.BOTTOM_RIGHT):new Vi(Re.left+Re.width-_o*2/3,Re.top+Re.height-Do*2/3),this.bottomLeftBorderDoubleInnerBox=_i>0||Xi>0?os(Re.left+$a*2/3,Re.top+Ja,_i-$a*2/3,Xi-Do*2/3,Eo.BOTTOM_LEFT):new Vi(Re.left+$a*2/3,Re.top+Re.height-Do*2/3),this.topLeftBorderStroke=Ut>0||pr>0?os(Re.left+$a/2,Re.top+ia/2,Ut-$a/2,pr-ia/2,Eo.TOP_LEFT):new Vi(Re.left+$a/2,Re.top+ia/2),this.topRightBorderStroke=Ut>0||pr>0?os(Re.left+aa,Re.top+ia/2,Rr-_o/2,Vr-ia/2,Eo.TOP_RIGHT):new Vi(Re.left+Re.width-_o/2,Re.top+ia/2),this.bottomRightBorderStroke=Sn>0||Ln>0?os(Re.left+go,Re.top+io,Sn-_o/2,Ln-Do/2,Eo.BOTTOM_RIGHT):new Vi(Re.left+Re.width-_o/2,Re.top+Re.height-Do/2),this.bottomLeftBorderStroke=_i>0||Xi>0?os(Re.left+$a/2,Re.top+Ja,_i-$a/2,Xi-Do/2,Eo.BOTTOM_LEFT):new Vi(Re.left+$a/2,Re.top+Re.height-Do/2),this.topLeftBorderBox=Ut>0||pr>0?os(Re.left,Re.top,Ut,pr,Eo.TOP_LEFT):new Vi(Re.left,Re.top),this.topRightBorderBox=Rr>0||Vr>0?os(Re.left+aa,Re.top,Rr,Vr,Eo.TOP_RIGHT):new Vi(Re.left+Re.width,Re.top),this.bottomRightBorderBox=Sn>0||Ln>0?os(Re.left+go,Re.top+io,Sn,Ln,Eo.BOTTOM_RIGHT):new Vi(Re.left+Re.width,Re.top+Re.height),this.bottomLeftBorderBox=_i>0||Xi>0?os(Re.left,Re.top+Ja,_i,Xi,Eo.BOTTOM_LEFT):new Vi(Re.left,Re.top+Re.height),this.topLeftPaddingBox=Ut>0||pr>0?os(Re.left+$a,Re.top+ia,Math.max(0,Ut-$a),Math.max(0,pr-ia),Eo.TOP_LEFT):new Vi(Re.left+$a,Re.top+ia),this.topRightPaddingBox=Rr>0||Vr>0?os(Re.left+Math.min(aa,Re.width-_o),Re.top+ia,aa>Re.width+_o?0:Math.max(0,Rr-_o),Math.max(0,Vr-ia),Eo.TOP_RIGHT):new Vi(Re.left+Re.width-_o,Re.top+ia),this.bottomRightPaddingBox=Sn>0||Ln>0?os(Re.left+Math.min(go,Re.width-$a),Re.top+Math.min(io,Re.height-Do),Math.max(0,Sn-_o),Math.max(0,Ln-Do),Eo.BOTTOM_RIGHT):new Vi(Re.left+Re.width-_o,Re.top+Re.height-Do),this.bottomLeftPaddingBox=_i>0||Xi>0?os(Re.left+$a,Re.top+Math.min(Ja,Re.height-Do),Math.max(0,_i-$a),Math.max(0,Xi-Do),Eo.BOTTOM_LEFT):new Vi(Re.left+$a,Re.top+Re.height-Do),this.topLeftContentBox=Ut>0||pr>0?os(Re.left+$a+Is,Re.top+ia+rl,Math.max(0,Ut-($a+Is)),Math.max(0,pr-(ia+rl)),Eo.TOP_LEFT):new Vi(Re.left+$a+Is,Re.top+ia+rl),this.topRightContentBox=Rr>0||Vr>0?os(Re.left+Math.min(aa,Re.width+$a+Is),Re.top+ia+rl,aa>Re.width+$a+Is?0:Rr-$a+Is,Vr-(ia+rl),Eo.TOP_RIGHT):new Vi(Re.left+Re.width-(_o+fl),Re.top+ia+rl),this.bottomRightContentBox=Sn>0||Ln>0?os(Re.left+Math.min(go,Re.width-($a+Is)),Re.top+Math.min(io,Re.height+ia+rl),Math.max(0,Sn-(_o+fl)),Ln-(Do+nl),Eo.BOTTOM_RIGHT):new Vi(Re.left+Re.width-(_o+fl),Re.top+Re.height-(Do+nl)),this.bottomLeftContentBox=_i>0||Xi>0?os(Re.left+$a+Is,Re.top+Ja,Math.max(0,_i-($a+Is)),Xi-(Do+nl),Eo.BOTTOM_LEFT):new Vi(Re.left+$a+Is,Re.top+Re.height-(Do+nl))}return dt}(),Eo;(function(dt){dt[dt.TOP_LEFT=0]="TOP_LEFT",dt[dt.TOP_RIGHT=1]="TOP_RIGHT",dt[dt.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",dt[dt.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Eo||(Eo={}));var os=function(he,Ce,Re,tt,Ut){var pr=4*((Math.sqrt(2)-1)/3),Cr=Re*pr,Rr=tt*pr,Vr=he+Re,Tn=Ce+tt;switch(Ut){case Eo.TOP_LEFT:return new dl(new Vi(he,Tn),new Vi(he,Tn-Rr),new Vi(Vr-Cr,Ce),new Vi(Vr,Ce));case Eo.TOP_RIGHT:return new dl(new Vi(he,Ce),new Vi(he+Cr,Ce),new Vi(Vr,Tn-Rr),new Vi(Vr,Tn));case Eo.BOTTOM_RIGHT:return new dl(new Vi(Vr,Ce),new Vi(Vr,Ce+Rr),new Vi(he+Cr,Tn),new Vi(he,Tn));case Eo.BOTTOM_LEFT:default:return new dl(new Vi(Vr,Tn),new Vi(Vr-Cr,Tn),new Vi(he,Ce+Rr),new Vi(he,Ce))}},rc=function(he){return[he.topLeftBorderBox,he.topRightBorderBox,he.bottomRightBorderBox,he.bottomLeftBorderBox]},Ac=function(he){return[he.topLeftContentBox,he.topRightContentBox,he.bottomRightContentBox,he.bottomLeftContentBox]},nc=function(he){return[he.topLeftPaddingBox,he.topRightPaddingBox,he.bottomRightPaddingBox,he.bottomLeftPaddingBox]},vc=function(){function dt(he,Ce,Re){this.offsetX=he,this.offsetY=Ce,this.matrix=Re,this.type=0,this.target=2|4}return dt}(),ic=function(){function dt(he,Ce){this.path=he,this.target=Ce,this.type=1}return dt}(),yc=function(){function dt(he){this.opacity=he,this.type=2,this.target=2|4}return dt}(),bc=function(he){return he.type===0},uc=function(he){return he.type===1},wc=function(he){return he.type===2},cc=function(){function dt(he){this.element=he,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return dt}(),dc=function(){function dt(he,Ce){if(this.container=he,this.parent=Ce,this.effects=[],this.curves=new Jl(this.container),this.container.styles.opacity<1&&this.effects.push(new yc(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,Ut=this.container.styles.transform;this.effects.push(new vc(Re,tt,Ut))}if(this.container.styles.overflowX!==xo.VISIBLE){var pr=rc(this.curves),Cr=nc(this.curves);As(pr,Cr)?this.effects.push(new ic(pr,2|4)):(this.effects.push(new ic(pr,2)),this.effects.push(new ic(Cr,4)))}}return dt.prototype.getEffects=function(he){for(var Ce=[ao.ABSOLUTE,ao.FIXED].indexOf(this.container.styles.position)===-1,Re=this.parent,tt=this.effects.slice(0);Re;){var Ut=Re.effects.filter(function(Rr){return!uc(Rr)});if(Ce||Re.container.styles.position!==ao.STATIC||!Re.parent){if(tt.unshift.apply(tt,Ut),Ce=[ao.ABSOLUTE,ao.FIXED].indexOf(Re.container.styles.position)===-1,Re.container.styles.overflowX!==xo.VISIBLE){var pr=rc(Re.curves),Cr=nc(Re.curves);As(pr,Cr)||tt.unshift(new ic(Cr,2|4))}}else tt.unshift.apply(tt,Ut);Re=Re.parent}return tt.filter(function(Rr){return Ea(Rr.target,he)})},dt}(),Sc=function dt(he,Ce,Re,tt){he.container.elements.forEach(function(Ut){var pr=Ea(Ut.flags,4),Cr=Ea(Ut.flags,2),Rr=new dc(Ut,he);Ea(Ut.styles.display,2048)&&tt.push(Rr);var Vr=Ea(Ut.flags,8)?[]:tt;if(pr||Cr){var Tn=pr||Ut.styles.isPositioned()?Re:Ce,Sn=new cc(Rr);if(Ut.styles.isPositioned()||Ut.styles.opacity<1||Ut.styles.isTransformed()){var Ln=Ut.styles.zIndex.order;if(Ln<0){var Ti=0;Tn.negativeZIndex.some(function(Xi,Ta){return Ln>Xi.element.container.styles.zIndex.order?(Ti=Ta,!1):Ti>0}),Tn.negativeZIndex.splice(Ti,0,Sn)}else if(Ln>0){var _i=0;Tn.positiveZIndex.some(function(Xi,Ta){return Ln>=Xi.element.container.styles.zIndex.order?(_i=Ta+1,!1):_i>0}),Tn.positiveZIndex.splice(_i,0,Sn)}else Tn.zeroOrAutoZIndexOrTransformedOrOpacity.push(Sn)}else Ut.styles.isFloating()?Tn.nonPositionedFloats.push(Sn):Tn.nonPositionedInlineLevel.push(Sn);dt(Rr,Sn,pr?Sn:Re,Vr)}else Ut.styles.isInlineLevel()?Ce.inlineLevel.push(Rr):Ce.nonInlineLevel.push(Rr),dt(Rr,Ce,Re,Vr);Ea(Ut.flags,8)&&hc(Ut,Vr)})},hc=function(he,Ce){for(var Re=he instanceof Ul?he.start:1,tt=he instanceof Ul?he.reversed:!1,Ut=0;Ut<Ce.length;Ut++){var pr=Ce[Ut];pr.container instanceof Ru&&typeof pr.container.value=="number"&&pr.container.value!==0&&(Re=pr.container.value),pr.listValue=$t(Re,pr.container.styles.listStyleType,!0),Re+=tt?-1:1}},xc=function(he){var Ce=new dc(he,null),Re=new cc(Ce),tt=[];return Sc(Ce,Re,Re,tt),hc(Ce.container,tt),Re},fc=function(he,Ce){switch(Ce){case 0:return hl(he.topLeftBorderBox,he.topLeftPaddingBox,he.topRightBorderBox,he.topRightPaddingBox);case 1:return hl(he.topRightBorderBox,he.topRightPaddingBox,he.bottomRightBorderBox,he.bottomRightPaddingBox);case 2:return hl(he.bottomRightBorderBox,he.bottomRightPaddingBox,he.bottomLeftBorderBox,he.bottomLeftPaddingBox);case 3:default:return hl(he.bottomLeftBorderBox,he.bottomLeftPaddingBox,he.topLeftBorderBox,he.topLeftPaddingBox)}},Ec=function(he,Ce){switch(Ce){case 0:return hl(he.topLeftBorderBox,he.topLeftBorderDoubleOuterBox,he.topRightBorderBox,he.topRightBorderDoubleOuterBox);case 1:return hl(he.topRightBorderBox,he.topRightBorderDoubleOuterBox,he.bottomRightBorderBox,he.bottomRightBorderDoubleOuterBox);case 2:return hl(he.bottomRightBorderBox,he.bottomRightBorderDoubleOuterBox,he.bottomLeftBorderBox,he.bottomLeftBorderDoubleOuterBox);case 3:default:return hl(he.bottomLeftBorderBox,he.bottomLeftBorderDoubleOuterBox,he.topLeftBorderBox,he.topLeftBorderDoubleOuterBox)}},Cc=function(he,Ce){switch(Ce){case 0:return hl(he.topLeftBorderDoubleInnerBox,he.topLeftPaddingBox,he.topRightBorderDoubleInnerBox,he.topRightPaddingBox);case 1:return hl(he.topRightBorderDoubleInnerBox,he.topRightPaddingBox,he.bottomRightBorderDoubleInnerBox,he.bottomRightPaddingBox);case 2:return hl(he.bottomRightBorderDoubleInnerBox,he.bottomRightPaddingBox,he.bottomLeftBorderDoubleInnerBox,he.bottomLeftPaddingBox);case 3:default:return hl(he.bottomLeftBorderDoubleInnerBox,he.bottomLeftPaddingBox,he.topLeftBorderDoubleInnerBox,he.topLeftPaddingBox)}},Tc=function(he,Ce){switch(Ce){case 0:return ac(he.topLeftBorderStroke,he.topRightBorderStroke);case 1:return ac(he.topRightBorderStroke,he.bottomRightBorderStroke);case 2:return ac(he.bottomRightBorderStroke,he.bottomLeftBorderStroke);case 3:default:return ac(he.bottomLeftBorderStroke,he.topLeftBorderStroke)}},ac=function(he,Ce){var Re=[];return Vo(he)?Re.push(he.subdivide(.5,!1)):Re.push(he),Vo(Ce)?Re.push(Ce.subdivide(.5,!0)):Re.push(Ce),Re},hl=function(he,Ce,Re,tt){var Ut=[];return Vo(he)?Ut.push(he.subdivide(.5,!1)):Ut.push(he),Vo(Re)?Ut.push(Re.subdivide(.5,!0)):Ut.push(Re),Vo(tt)?Ut.push(tt.subdivide(.5,!0).reverse()):Ut.push(tt),Vo(Ce)?Ut.push(Ce.subdivide(.5,!1).reverse()):Ut.push(Ce),Ut},pc=function(he){var Ce=he.bounds,Re=he.styles;return Ce.add(Re.borderLeftWidth,Re.borderTopWidth,-(Re.borderRightWidth+Re.borderLeftWidth),-(Re.borderTopWidth+Re.borderBottomWidth))},oc=function(he){var Ce=he.styles,Re=he.bounds,tt=cn(Ce.paddingLeft,Re.width),Ut=cn(Ce.paddingRight,Re.width),pr=cn(Ce.paddingTop,Re.width),Cr=cn(Ce.paddingBottom,Re.width);return Re.add(tt+Ce.borderLeftWidth,pr+Ce.borderTopWidth,-(Ce.borderRightWidth+Ce.borderLeftWidth+tt+Ut),-(Ce.borderTopWidth+Ce.borderBottomWidth+pr+Cr))},_c=function(he,Ce){return he===0?Ce.bounds:he===2?oc(Ce):pc(Ce)},Ic=function(he,Ce){return he===Qr.BORDER_BOX?Ce.bounds:he===Qr.CONTENT_BOX?oc(Ce):pc(Ce)},lc=function(he,Ce,Re){var tt=_c(ku(he.styles.backgroundOrigin,Ce),he),Ut=Ic(ku(he.styles.backgroundClip,Ce),he),pr=Lc(ku(he.styles.backgroundSize,Ce),Re,tt),Cr=pr[0],Rr=pr[1],Vr=Zr(ku(he.styles.backgroundPosition,Ce),tt.width-Cr,tt.height-Rr),Tn=Oc(ku(he.styles.backgroundRepeat,Ce),Vr,pr,tt,Ut),Sn=Math.round(tt.left+Vr[0]),Ln=Math.round(tt.top+Vr[1]);return[Tn,Sn,Ln,Cr,Rr]},Fu=function(he){return er(he)&&he.value===na.AUTO},sc=function(he){return typeof he=="number"},Lc=function(he,Ce,Re){var tt=Ce[0],Ut=Ce[1],pr=Ce[2],Cr=he[0],Rr=he[1];if(!Cr)return[0,0];if(St(Cr)&&Rr&&St(Rr))return[cn(Cr,Re.width),cn(Rr,Re.height)];var Vr=sc(pr);if(er(Cr)&&(Cr.value===na.CONTAIN||Cr.value===na.COVER)){if(sc(pr)){var Tn=Re.width/Re.height;return Tn<pr!==(Cr.value===na.COVER)?[Re.width,Re.width/pr]:[Re.height*pr,Re.height]}return[Re.width,Re.height]}var Sn=sc(tt),Ln=sc(Ut),Ti=Sn||Ln;if(Fu(Cr)&&(!Rr||Fu(Rr))){if(Sn&&Ln)return[tt,Ut];if(!Vr&&!Ti)return[Re.width,Re.height];if(Ti&&Vr){var _i=Sn?tt:Ut*pr,Xi=Ln?Ut:tt/pr;return[_i,Xi]}var Ta=Sn?tt:Re.width,la=Ln?Ut:Re.height;return[Ta,la]}if(Vr){var aa=0,io=0;return St(Cr)?aa=cn(Cr,Re.width):St(Rr)&&(io=cn(Rr,Re.height)),Fu(Cr)?aa=io*pr:(!Rr||Fu(Rr))&&(io=aa/pr),[aa,io]}var go=null,Ja=null;if(St(Cr)?go=cn(Cr,Re.width):Rr&&St(Rr)&&(Ja=cn(Rr,Re.height)),go!==null&&(!Rr||Fu(Rr))&&(Ja=Sn&&Ln?go/tt*Ut:Re.height),Ja!==null&&Fu(Cr)&&(go=Sn&&Ln?Ja/Ut*tt:Re.width),go!==null&&Ja!==null)return[go,Ja];throw new Error("Unable to calculate background-size for element")},ku=function(he,Ce){var Re=he[Ce];return typeof Re=="undefined"?he[0]:Re},Oc=function(he,Ce,Re,tt,Ut){var pr=Ce[0],Cr=Ce[1],Rr=Re[0],Vr=Re[1];switch(he){case oa.REPEAT_X:return[new Vi(Math.round(tt.left),Math.round(tt.top+Cr)),new Vi(Math.round(tt.left+tt.width),Math.round(tt.top+Cr)),new Vi(Math.round(tt.left+tt.width),Math.round(Vr+tt.top+Cr)),new Vi(Math.round(tt.left),Math.round(Vr+tt.top+Cr))];case oa.REPEAT_Y:return[new Vi(Math.round(tt.left+pr),Math.round(tt.top)),new Vi(Math.round(tt.left+pr+Rr),Math.round(tt.top)),new Vi(Math.round(tt.left+pr+Rr),Math.round(tt.height+tt.top)),new Vi(Math.round(tt.left+pr),Math.round(tt.height+tt.top))];case oa.NO_REPEAT:return[new Vi(Math.round(tt.left+pr),Math.round(tt.top+Cr)),new Vi(Math.round(tt.left+pr+Rr),Math.round(tt.top+Cr)),new Vi(Math.round(tt.left+pr+Rr),Math.round(tt.top+Cr+Vr)),new Vi(Math.round(tt.left+pr),Math.round(tt.top+Cr+Vr))];default:return[new Vi(Math.round(Ut.left),Math.round(Ut.top)),new Vi(Math.round(Ut.left+Ut.width),Math.round(Ut.top)),new Vi(Math.round(Ut.left+Ut.width),Math.round(Ut.height+Ut.top)),new Vi(Math.round(Ut.left),Math.round(Ut.height+Ut.top))]}},Nc="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",mc="Hidden Text",Dc=function(){function dt(he){this._data={},this._document=he}return dt.prototype.parseMetrics=function(he,Ce){var Re=this._document.createElement("div"),tt=this._document.createElement("img"),Ut=this._document.createElement("span"),pr=this._document.body;Re.style.visibility="hidden",Re.style.fontFamily=he,Re.style.fontSize=Ce,Re.style.margin="0",Re.style.padding="0",pr.appendChild(Re),tt.src=Nc,tt.width=1,tt.height=1,tt.style.margin="0",tt.style.padding="0",tt.style.verticalAlign="baseline",Ut.style.fontFamily=he,Ut.style.fontSize=Ce,Ut.style.margin="0",Ut.style.padding="0",Ut.appendChild(this._document.createTextNode(mc)),Re.appendChild(Ut),Re.appendChild(tt);var Cr=tt.offsetTop-Ut.offsetTop+2;Re.removeChild(Ut),Re.appendChild(this._document.createTextNode(mc)),Re.style.lineHeight="normal",tt.style.verticalAlign="super";var Rr=tt.offsetTop-Re.offsetTop+2;return pr.removeChild(Re),{baseline:Cr,middle:Rr}},dt.prototype.getMetrics=function(he,Ce){var Re=he+" "+Ce;return typeof this._data[Re]=="undefined"&&(this._data[Re]=this.parseMetrics(he,Ce)),this._data[Re]},dt}(),gc=function(){function dt(he,Ce){this.context=he,this.options=Ce}return dt}(),Rc=1e4,Mc=function(dt){m(he,dt);function he(Ce,Re){var tt=dt.call(this,Ce,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 Dc(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(Ce){for(var Re=this;this._activeEffects.length;)this.popEffect();Ce.forEach(function(tt){return Re.applyEffect(tt)})},he.prototype.applyEffect=function(Ce){this.ctx.save(),wc(Ce)&&(this.ctx.globalAlpha=Ce.opacity),bc(Ce)&&(this.ctx.translate(Ce.offsetX,Ce.offsetY),this.ctx.transform(Ce.matrix[0],Ce.matrix[1],Ce.matrix[2],Ce.matrix[3],Ce.matrix[4],Ce.matrix[5]),this.ctx.translate(-Ce.offsetX,-Ce.offsetY)),uc(Ce)&&(this.path(Ce.path),this.ctx.clip()),this._activeEffects.push(Ce)},he.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},he.prototype.renderStack=function(Ce){return p(this,void 0,void 0,function(){var Re;return g(this,function(tt){switch(tt.label){case 0:return Re=Ce.element.container.styles,Re.isVisible()?[4,this.renderStackContent(Ce)]:[3,2];case 1:tt.sent(),tt.label=2;case 2:return[2]}})})},he.prototype.renderNode=function(Ce){return p(this,void 0,void 0,function(){return g(this,function(Re){switch(Re.label){case 0:if(Ea(Ce.container.flags,16))debugger;return Ce.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(Ce)]:[3,3];case 1:return Re.sent(),[4,this.renderNodeContent(Ce)];case 2:Re.sent(),Re.label=3;case 3:return[2]}})})},he.prototype.renderTextWithLetterSpacing=function(Ce,Re,tt){var Ut=this;if(Re===0)this.ctx.fillText(Ce.text,Ce.bounds.left,Ce.bounds.top+tt);else{var pr=Sl(Ce.text);pr.reduce(function(Cr,Rr){return Ut.ctx.fillText(Rr,Cr,Ce.bounds.top+tt),Cr+Ut.ctx.measureText(Rr).width},Ce.bounds.left)}},he.prototype.createFontStyle=function(Ce){var Re=Ce.fontVariant.filter(function(pr){return pr==="normal"||pr==="small-caps"}).join(""),tt=Ce.fontFamily.join(", "),Ut=Ht(Ce.fontSize)?""+Ce.fontSize.number+Ce.fontSize.unit:Ce.fontSize.number+"px";return[[Ce.fontStyle,Re,Ce.fontWeight,Ut,tt].join(" "),tt,Ut]},he.prototype.renderTextNode=function(Ce,Re){return p(this,void 0,void 0,function(){var tt,Ut,pr,Cr,Rr,Vr,Tn,Sn,Ln=this;return g(this,function(Ti){return tt=this.createFontStyle(Re),Ut=tt[0],pr=tt[1],Cr=tt[2],this.ctx.font=Ut,this.ctx.direction=Re.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",Rr=this.fontMetrics.getMetrics(pr,Cr),Vr=Rr.baseline,Tn=Rr.middle,Sn=Re.paintOrder,Ce.textBounds.forEach(function(_i){Sn.forEach(function(Xi){switch(Xi){case mo.FILL:Ln.ctx.fillStyle=or(Re.color),Ln.renderTextWithLetterSpacing(_i,Re.letterSpacing,Vr);var Ta=Re.textShadow;Ta.length&&_i.text.trim().length&&(Ta.slice(0).reverse().forEach(function(la){Ln.ctx.shadowColor=or(la.color),Ln.ctx.shadowOffsetX=la.offsetX.number*Ln.options.scale,Ln.ctx.shadowOffsetY=la.offsetY.number*Ln.options.scale,Ln.ctx.shadowBlur=la.blur.number,Ln.renderTextWithLetterSpacing(_i,Re.letterSpacing,Vr)}),Ln.ctx.shadowColor="",Ln.ctx.shadowOffsetX=0,Ln.ctx.shadowOffsetY=0,Ln.ctx.shadowBlur=0),Re.textDecorationLine.length&&(Ln.ctx.fillStyle=or(Re.textDecorationColor||Re.color),Re.textDecorationLine.forEach(function(la){switch(la){case 1:Ln.ctx.fillRect(_i.bounds.left,Math.round(_i.bounds.top+Vr),_i.bounds.width,1);break;case 2:Ln.ctx.fillRect(_i.bounds.left,Math.round(_i.bounds.top),_i.bounds.width,1);break;case 3:Ln.ctx.fillRect(_i.bounds.left,Math.ceil(_i.bounds.top+Tn),_i.bounds.width,1);break}}));break;case mo.STROKE:Re.webkitTextStrokeWidth&&_i.text.trim().length&&(Ln.ctx.strokeStyle=or(Re.webkitTextStrokeColor),Ln.ctx.lineWidth=Re.webkitTextStrokeWidth,Ln.ctx.lineJoin=window.chrome?"miter":"round",Ln.ctx.strokeText(_i.text,_i.bounds.left,_i.bounds.top+Vr)),Ln.ctx.strokeStyle="",Ln.ctx.lineWidth=0,Ln.ctx.lineJoin="miter";break}})}),[2]})})},he.prototype.renderReplacedElement=function(Ce,Re,tt){if(tt&&Ce.intrinsicWidth>0&&Ce.intrinsicHeight>0){var Ut=oc(Ce),pr=nc(Re);this.path(pr),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(tt,0,0,Ce.intrinsicWidth,Ce.intrinsicHeight,Ut.left,Ut.top,Ut.width,Ut.height),this.ctx.restore()}},he.prototype.renderNodeContent=function(Ce){return p(this,void 0,void 0,function(){var Re,tt,Ut,pr,Cr,Rr,Vr,Vr,Tn,Sn,Ln,Ti,_i,Xi,Ta,la,aa,io,go,Vr,Ja,_i,la;return g(this,function(ia){switch(ia.label){case 0:this.applyEffects(Ce.getEffects(4)),Re=Ce.container,tt=Ce.curves,Ut=Re.styles,pr=0,Cr=Re.textNodes,ia.label=1;case 1:return pr<Cr.length?(Rr=Cr[pr],[4,this.renderTextNode(Rr,Ut)]):[3,4];case 2:ia.sent(),ia.label=3;case 3:return pr++,[3,1];case 4:if(!(Re instanceof Ql))return[3,8];ia.label=5;case 5:return ia.trys.push([5,7,,8]),[4,this.context.cache.match(Re.src)];case 6:return Vr=ia.sent(),this.renderReplacedElement(Re,tt,Vr),[3,8];case 7:return ia.sent(),this.context.logger.error("Error loading image "+Re.src),[3,8];case 8:if(Re instanceof El&&this.renderReplacedElement(Re,tt,Re.canvas),!(Re instanceof Cl))return[3,12];ia.label=9;case 9:return ia.trys.push([9,11,,12]),[4,this.context.cache.match(Re.svg)];case 10:return Vr=ia.sent(),this.renderReplacedElement(Re,tt,Vr),[3,12];case 11:return ia.sent(),this.context.logger.error("Error loading svg "+Re.svg.substring(0,255)),[3,12];case 12:return Re instanceof gu&&Re.tree?(Tn=new he(this.context,{scale:this.options.scale,backgroundColor:Re.backgroundColor,x:0,y:0,width:Re.width,height:Re.height}),[4,Tn.render(Re.tree)]):[3,14];case 13:Sn=ia.sent(),Re.width&&Re.height&&this.ctx.drawImage(Sn,0,0,Re.width,Re.height,Re.bounds.left,Re.bounds.top,Re.bounds.width,Re.bounds.height),ia.label=14;case 14:if(Re instanceof jl&&(Ln=Math.min(Re.bounds.width,Re.bounds.height),Re.type===Tl?Re.checked&&(this.ctx.save(),this.path([new Vi(Re.bounds.left+Ln*.39363,Re.bounds.top+Ln*.79),new Vi(Re.bounds.left+Ln*.16,Re.bounds.top+Ln*.5549),new Vi(Re.bounds.left+Ln*.27347,Re.bounds.top+Ln*.44071),new Vi(Re.bounds.left+Ln*.39694,Re.bounds.top+Ln*.5649),new Vi(Re.bounds.left+Ln*.72983,Re.bounds.top+Ln*.23),new Vi(Re.bounds.left+Ln*.84,Re.bounds.top+Ln*.34085),new Vi(Re.bounds.left+Ln*.39363,Re.bounds.top+Ln*.79)]),this.ctx.fillStyle=or(fu),this.ctx.fill(),this.ctx.restore()):Re.type===Yl&&(Re.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(Re.bounds.left+Ln/2,Re.bounds.top+Ln/2,Ln/4,0,Math.PI*2,!0),this.ctx.fillStyle=or(fu),this.ctx.fill(),this.ctx.restore()))),Bc(Re)&&Re.value.length){Ti=this.createFontStyle(Ut),_i=Ti[0],Xi=Ti[1],Ta=this.fontMetrics.getMetrics(_i,Xi).baseline,this.ctx.font=_i,this.ctx.fillStyle=or(Ut.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=kc(Re.styles.textAlign),la=oc(Re),aa=0;switch(Re.styles.textAlign){case Go.CENTER:aa+=la.width/2;break;case Go.RIGHT:aa+=la.width;break}io=la.add(aa,0,0,-la.height/2+1),this.ctx.save(),this.path([new Vi(la.left,la.top),new Vi(la.left+la.width,la.top),new Vi(la.left+la.width,la.top+la.height),new Vi(la.left,la.top+la.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new kl(Re.value,io),Ut.letterSpacing,Ta),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Ea(Re.styles.display,2048))return[3,20];if(!(Re.styles.listStyleImage!==null))return[3,19];if(go=Re.styles.listStyleImage,!(go.type===Si.URL))return[3,18];Vr=void 0,Ja=go.url,ia.label=15;case 15:return ia.trys.push([15,17,,18]),[4,this.context.cache.match(Ja)];case 16:return Vr=ia.sent(),this.ctx.drawImage(Vr,Re.bounds.left-(Vr.width+10),Re.bounds.top),[3,18];case 17:return ia.sent(),this.context.logger.error("Error loading list-style-image "+Ja),[3,18];case 18:return[3,20];case 19:Ce.listValue&&Re.styles.listStyleType!==Hn.NONE&&(_i=this.createFontStyle(Ut)[0],this.ctx.font=_i,this.ctx.fillStyle=or(Ut.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",la=new c(Re.bounds.left,Re.bounds.top+cn(Re.styles.paddingTop,Re.bounds.width),Re.bounds.width,Mo(Ut.lineHeight,Ut.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new kl(Ce.listValue,la),Ut.letterSpacing,Mo(Ut.lineHeight,Ut.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),ia.label=20;case 20:return[2]}})})},he.prototype.renderStackContent=function(Ce){return p(this,void 0,void 0,function(){var Re,tt,Ut,pr,Cr,Ut,Rr,Vr,Ut,Tn,Sn,Ut,Ln,Ti,Ut,_i,Xi,Ut,Ta,la,Ut;return g(this,function(aa){switch(aa.label){case 0:if(Ea(Ce.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(Ce.element)];case 1:aa.sent(),Re=0,tt=Ce.negativeZIndex,aa.label=2;case 2:return Re<tt.length?(Ut=tt[Re],[4,this.renderStack(Ut)]):[3,5];case 3:aa.sent(),aa.label=4;case 4:return Re++,[3,2];case 5:return[4,this.renderNodeContent(Ce.element)];case 6:aa.sent(),pr=0,Cr=Ce.nonInlineLevel,aa.label=7;case 7:return pr<Cr.length?(Ut=Cr[pr],[4,this.renderNode(Ut)]):[3,10];case 8:aa.sent(),aa.label=9;case 9:return pr++,[3,7];case 10:Rr=0,Vr=Ce.nonPositionedFloats,aa.label=11;case 11:return Rr<Vr.length?(Ut=Vr[Rr],[4,this.renderStack(Ut)]):[3,14];case 12:aa.sent(),aa.label=13;case 13:return Rr++,[3,11];case 14:Tn=0,Sn=Ce.nonPositionedInlineLevel,aa.label=15;case 15:return Tn<Sn.length?(Ut=Sn[Tn],[4,this.renderStack(Ut)]):[3,18];case 16:aa.sent(),aa.label=17;case 17:return Tn++,[3,15];case 18:Ln=0,Ti=Ce.inlineLevel,aa.label=19;case 19:return Ln<Ti.length?(Ut=Ti[Ln],[4,this.renderNode(Ut)]):[3,22];case 20:aa.sent(),aa.label=21;case 21:return Ln++,[3,19];case 22:_i=0,Xi=Ce.zeroOrAutoZIndexOrTransformedOrOpacity,aa.label=23;case 23:return _i<Xi.length?(Ut=Xi[_i],[4,this.renderStack(Ut)]):[3,26];case 24:aa.sent(),aa.label=25;case 25:return _i++,[3,23];case 26:Ta=0,la=Ce.positiveZIndex,aa.label=27;case 27:return Ta<la.length?(Ut=la[Ta],[4,this.renderStack(Ut)]):[3,30];case 28:aa.sent(),aa.label=29;case 29:return Ta++,[3,27];case 30:return[2]}})})},he.prototype.mask=function(Ce){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(Ce.slice(0).reverse()),this.ctx.closePath()},he.prototype.path=function(Ce){this.ctx.beginPath(),this.formatPath(Ce),this.ctx.closePath()},he.prototype.formatPath=function(Ce){var Re=this;Ce.forEach(function(tt,Ut){var pr=Vo(tt)?tt.start:tt;Ut===0?Re.ctx.moveTo(pr.x,pr.y):Re.ctx.lineTo(pr.x,pr.y),Vo(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(Ce,Re,tt,Ut){this.path(Ce),this.ctx.fillStyle=Re,this.ctx.translate(tt,Ut),this.ctx.fill(),this.ctx.translate(-tt,-Ut)},he.prototype.resizeImage=function(Ce,Re,tt){var Ut;if(Ce.width===Re&&Ce.height===tt)return Ce;var pr=(Ut=this.canvas.ownerDocument)!==null&&Ut!==void 0?Ut:document,Cr=pr.createElement("canvas");Cr.width=Math.max(1,Re),Cr.height=Math.max(1,tt);var Rr=Cr.getContext("2d");return Rr.drawImage(Ce,0,0,Ce.width,Ce.height,0,0,Re,tt),Cr},he.prototype.renderBackgroundImage=function(Ce){return p(this,void 0,void 0,function(){var Re,tt,Ut,pr,Cr,Rr;return g(this,function(Vr){switch(Vr.label){case 0:Re=Ce.styles.backgroundImage.length-1,tt=function(Sn){var Ln,Ti,_i,Xi,Ta,la,aa,io,go,Ja,Xi,Ta,la,aa,io,ia,_o,Do,$a,rl,fl,nl,Is,Au,go,Ol,Xi,$l,eu,aa,io,tu,Ta,la,vu,Nl,ru,yu,bu,Hl,wu,Kl;return g(this,function(Pu){switch(Pu.label){case 0:if(!(Sn.type===Si.URL))return[3,5];Ln=void 0,Ti=Sn.url,Pu.label=1;case 1:return Pu.trys.push([1,3,,4]),[4,Ut.context.cache.match(Ti)];case 2:return Ln=Pu.sent(),[3,4];case 3:return Pu.sent(),Ut.context.logger.error("Error loading background-image "+Ti),[3,4];case 4:return Ln&&(_i=lc(Ce,Re,[Ln.width,Ln.height,Ln.width/Ln.height]),Xi=_i[0],Ta=_i[1],la=_i[2],aa=_i[3],io=_i[4],go=Ut.ctx.createPattern(Ut.resizeImage(Ln,aa,io),"repeat"),Ut.renderRepeat(Xi,go,Ta,la)),[3,6];case 5:Yi(Sn)?(Ja=lc(Ce,Re,[null,null,null]),Xi=Ja[0],Ta=Ja[1],la=Ja[2],aa=Ja[3],io=Ja[4],ia=jn(Sn.angle,aa,io),_o=ia[0],Do=ia[1],$a=ia[2],rl=ia[3],fl=ia[4],nl=document.createElement("canvas"),nl.width=aa,nl.height=io,Is=nl.getContext("2d"),Au=Is.createLinearGradient(Do,rl,$a,fl),xn(Sn.stops,_o).forEach(function(tc){return Au.addColorStop(tc.stop,or(tc.color))}),Is.fillStyle=Au,Is.fillRect(0,0,aa,io),aa>0&&io>0&&(go=Ut.ctx.createPattern(nl,"repeat"),Ut.renderRepeat(Xi,go,Ta,la))):Pi(Sn)&&(Ol=lc(Ce,Re,[null,null,null]),Xi=Ol[0],$l=Ol[1],eu=Ol[2],aa=Ol[3],io=Ol[4],tu=Sn.position.length===0?[yr]:Sn.position,Ta=cn(tu[0],aa),la=cn(tu[tu.length-1],io),vu=Ii(Sn,Ta,la,aa,io),Nl=vu[0],ru=vu[1],Nl>0&&ru>0&&(yu=Ut.ctx.createRadialGradient($l+Ta,eu+la,0,$l+Ta,eu+la,Nl),xn(Sn.stops,Nl*2).forEach(function(tc){return yu.addColorStop(tc.stop,or(tc.color))}),Ut.path(Xi),Ut.ctx.fillStyle=yu,Nl!==ru?(bu=Ce.bounds.left+.5*Ce.bounds.width,Hl=Ce.bounds.top+.5*Ce.bounds.height,wu=ru/Nl,Kl=1/wu,Ut.ctx.save(),Ut.ctx.translate(bu,Hl),Ut.ctx.transform(1,0,0,wu,0,0),Ut.ctx.translate(-bu,-Hl),Ut.ctx.fillRect($l,Kl*(eu-Hl)+Hl,aa,io*Kl),Ut.ctx.restore()):Ut.ctx.fill())),Pu.label=6;case 6:return Re--,[2]}})},Ut=this,pr=0,Cr=Ce.styles.backgroundImage.slice(0).reverse(),Vr.label=1;case 1:return pr<Cr.length?(Rr=Cr[pr],[5,tt(Rr)]):[3,4];case 2:Vr.sent(),Vr.label=3;case 3:return pr++,[3,1];case 4:return[2]}})})},he.prototype.renderSolidBorder=function(Ce,Re,tt){return p(this,void 0,void 0,function(){return g(this,function(Ut){return this.path(fc(tt,Re)),this.ctx.fillStyle=or(Ce),this.ctx.fill(),[2]})})},he.prototype.renderDoubleBorder=function(Ce,Re,tt,Ut){return p(this,void 0,void 0,function(){var pr,Cr;return g(this,function(Rr){switch(Rr.label){case 0:return Re<3?[4,this.renderSolidBorder(Ce,tt,Ut)]:[3,2];case 1:return Rr.sent(),[2];case 2:return pr=Ec(Ut,tt),this.path(pr),this.ctx.fillStyle=or(Ce),this.ctx.fill(),Cr=Cc(Ut,tt),this.path(Cr),this.ctx.fill(),[2]}})})},he.prototype.renderNodeBackgroundAndBorders=function(Ce){return p(this,void 0,void 0,function(){var Re,tt,Ut,pr,Cr,Rr,Vr,Tn,Sn=this;return g(this,function(Ln){switch(Ln.label){case 0:return this.applyEffects(Ce.getEffects(2)),Re=Ce.container.styles,tt=!ti(Re.backgroundColor)||Re.backgroundImage.length,Ut=[{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}],pr=Fc(ku(Re.backgroundClip,0),Ce.curves),tt||Re.boxShadow.length?(this.ctx.save(),this.path(pr),this.ctx.clip(),ti(Re.backgroundColor)||(this.ctx.fillStyle=or(Re.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(Ce.container)]):[3,2];case 1:Ln.sent(),this.ctx.restore(),Re.boxShadow.slice(0).reverse().forEach(function(Ti){Sn.ctx.save();var _i=rc(Ce.curves),Xi=Ti.inset?0:Rc,Ta=ec(_i,-Xi+(Ti.inset?1:-1)*Ti.spread.number,(Ti.inset?1:-1)*Ti.spread.number,Ti.spread.number*(Ti.inset?-2:2),Ti.spread.number*(Ti.inset?-2:2));Ti.inset?(Sn.path(_i),Sn.ctx.clip(),Sn.mask(Ta)):(Sn.mask(_i),Sn.ctx.clip(),Sn.path(Ta)),Sn.ctx.shadowOffsetX=Ti.offsetX.number+Xi,Sn.ctx.shadowOffsetY=Ti.offsetY.number,Sn.ctx.shadowColor=or(Ti.color),Sn.ctx.shadowBlur=Ti.blur.number,Sn.ctx.fillStyle=Ti.inset?or(Ti.color):"rgba(0,0,0,1)",Sn.ctx.fill(),Sn.ctx.restore()}),Ln.label=2;case 2:Cr=0,Rr=0,Vr=Ut,Ln.label=3;case 3:return Rr<Vr.length?(Tn=Vr[Rr],Tn.style!==Qi.NONE&&!ti(Tn.color)&&Tn.width>0?Tn.style===Qi.DASHED?[4,this.renderDashedDottedBorder(Tn.color,Tn.width,Cr,Ce.curves,Qi.DASHED)]:[3,5]:[3,11]):[3,13];case 4:return Ln.sent(),[3,11];case 5:return Tn.style===Qi.DOTTED?[4,this.renderDashedDottedBorder(Tn.color,Tn.width,Cr,Ce.curves,Qi.DOTTED)]:[3,7];case 6:return Ln.sent(),[3,11];case 7:return Tn.style===Qi.DOUBLE?[4,this.renderDoubleBorder(Tn.color,Tn.width,Cr,Ce.curves)]:[3,9];case 8:return Ln.sent(),[3,11];case 9:return[4,this.renderSolidBorder(Tn.color,Cr,Ce.curves)];case 10:Ln.sent(),Ln.label=11;case 11:Cr++,Ln.label=12;case 12:return Rr++,[3,3];case 13:return[2]}})})},he.prototype.renderDashedDottedBorder=function(Ce,Re,tt,Ut,pr){return p(this,void 0,void 0,function(){var Cr,Rr,Vr,Tn,Sn,Ln,Ti,_i,Xi,Ta,la,aa,io,go,Ja,ia,Ja,ia;return g(this,function(_o){return this.ctx.save(),Cr=Tc(Ut,tt),Rr=fc(Ut,tt),pr===Qi.DASHED&&(this.path(Rr),this.ctx.clip()),Vo(Rr[0])?(Vr=Rr[0].start.x,Tn=Rr[0].start.y):(Vr=Rr[0].x,Tn=Rr[0].y),Vo(Rr[1])?(Sn=Rr[1].end.x,Ln=Rr[1].end.y):(Sn=Rr[1].x,Ln=Rr[1].y),tt===0||tt===2?Ti=Math.abs(Vr-Sn):Ti=Math.abs(Tn-Ln),this.ctx.beginPath(),pr===Qi.DOTTED?this.formatPath(Cr):this.formatPath(Rr.slice(0,2)),_i=Re<3?Re*3:Re*2,Xi=Re<3?Re*2:Re,pr===Qi.DOTTED&&(_i=Re,Xi=Re),Ta=!0,Ti<=_i*2?Ta=!1:Ti<=_i*2+Xi?(la=Ti/(2*_i+Xi),_i*=la,Xi*=la):(aa=Math.floor((Ti+Xi)/(_i+Xi)),io=(Ti-aa*_i)/(aa-1),go=(Ti-(aa+1)*_i)/aa,Xi=go<=0||Math.abs(Xi-io)<Math.abs(Xi-go)?io:go),Ta&&(pr===Qi.DOTTED?this.ctx.setLineDash([0,_i+Xi]):this.ctx.setLineDash([_i,Xi])),pr===Qi.DOTTED?(this.ctx.lineCap="round",this.ctx.lineWidth=Re):this.ctx.lineWidth=Re*2+1.1,this.ctx.strokeStyle=or(Ce),this.ctx.stroke(),this.ctx.setLineDash([]),pr===Qi.DASHED&&(Vo(Rr[0])&&(Ja=Rr[3],ia=Rr[0],this.ctx.beginPath(),this.formatPath([new Vi(Ja.end.x,Ja.end.y),new Vi(ia.start.x,ia.start.y)]),this.ctx.stroke()),Vo(Rr[1])&&(Ja=Rr[1],ia=Rr[2],this.ctx.beginPath(),this.formatPath([new Vi(Ja.end.x,Ja.end.y),new Vi(ia.start.x,ia.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},he.prototype.render=function(Ce){return p(this,void 0,void 0,function(){var Re;return g(this,function(tt){switch(tt.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=or(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),Re=xc(Ce),[4,this.renderStack(Re)];case 1:return tt.sent(),this.applyEffects([]),[2,this.canvas]}})})},he}(gc),Bc=function(he){return he instanceof mu||he instanceof pu?!0:he instanceof jl&&he.type!==Yl&&he.type!==Tl},Fc=function(he,Ce){switch(he){case Qr.BORDER_BOX:return rc(Ce);case Qr.CONTENT_BOX:return Ac(Ce);case Qr.PADDING_BOX:default:return nc(Ce)}},kc=function(he){switch(he){case Go.CENTER:return"center";case Go.RIGHT:return"right";case Go.LEFT:default:return"left"}},Pc=function(dt){m(he,dt);function he(Ce,Re){var tt=dt.call(this,Ce,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(Ce){return p(this,void 0,void 0,function(){var Re,tt;return g(this,function(Ut){switch(Ut.label){case 0:return Re=Fl(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,Ce),[4,Uc(Re)];case 1:return tt=Ut.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=or(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}(gc),Uc=function(he){return new Promise(function(Ce,Re){var tt=new Image;tt.onload=function(){Ce(tt)},tt.onerror=Re,tt.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(he))})},jc=function(){function dt(he){var Ce=he.id,Re=he.enabled;this.id=Ce,this.enabled=Re,this.start=Date.now()}return dt.prototype.debug=function(){for(var he=[],Ce=0;Ce<arguments.length;Ce++)he[Ce]=arguments[Ce];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,h([this.id,this.getTime()+"ms"],he)):this.info.apply(this,he))},dt.prototype.getTime=function(){return Date.now()-this.start},dt.prototype.info=function(){for(var he=[],Ce=0;Ce<arguments.length;Ce++)he[Ce]=arguments[Ce];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.info=="function"&&console.info.apply(console,h([this.id,this.getTime()+"ms"],he)))},dt.prototype.warn=function(){for(var he=[],Ce=0;Ce<arguments.length;Ce++)he[Ce]=arguments[Ce];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,h([this.id,this.getTime()+"ms"],he)):this.info.apply(this,he))},dt.prototype.error=function(){for(var he=[],Ce=0;Ce<arguments.length;Ce++)he[Ce]=arguments[Ce];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.error=="function"?console.error.apply(console,h([this.id,this.getTime()+"ms"],he)):this.info.apply(this,he))},dt.instances={},dt}(),Hc=function(){function dt(he,Ce){var Re;this.windowBounds=Ce,this.instanceName="#"+dt.instanceCount++,this.logger=new jc({id:this.instanceName,enabled:he.logging}),this.cache=(Re=he.cache)!==null&&Re!==void 0?Re:new zs(this,he)}return dt.instanceCount=1,dt}(),Kc=function(he,Ce){return Ce===void 0&&(Ce={}),zc(he,Ce)};typeof window!="undefined"&&as.setContext(window);var zc=function(he,Ce){return p(void 0,void 0,void 0,function(){var Re,tt,Ut,pr,Cr,Rr,Vr,Tn,Sn,Ln,Ti,_i,Xi,Ta,la,aa,io,go,Ja,ia,_o,Do,_o,$a,rl,fl,nl,Is,Au,Ol,$l,eu,tu,vu,Nl,ru,yu,bu,Hl,wu;return g(this,function(Kl){switch(Kl.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 Ut={allowTaint:($a=Ce.allowTaint)!==null&&$a!==void 0?$a:!1,imageTimeout:(rl=Ce.imageTimeout)!==null&&rl!==void 0?rl:15e3,proxy:Ce.proxy,useCORS:(fl=Ce.useCORS)!==null&&fl!==void 0?fl:!1},pr=C({logging:(nl=Ce.logging)!==null&&nl!==void 0?nl:!0,cache:Ce.cache},Ut),Cr={windowWidth:(Is=Ce.windowWidth)!==null&&Is!==void 0?Is:tt.innerWidth,windowHeight:(Au=Ce.windowHeight)!==null&&Au!==void 0?Au:tt.innerHeight,scrollX:(Ol=Ce.scrollX)!==null&&Ol!==void 0?Ol:tt.pageXOffset,scrollY:($l=Ce.scrollY)!==null&&$l!==void 0?$l:tt.pageYOffset},Rr=new c(Cr.scrollX,Cr.scrollY,Cr.windowWidth,Cr.windowHeight),Vr=new Hc(pr,Rr),Tn=(eu=Ce.foreignObjectRendering)!==null&&eu!==void 0?eu:!1,Sn={allowTaint:(tu=Ce.allowTaint)!==null&&tu!==void 0?tu:!1,onclone:Ce.onclone,ignoreElements:Ce.ignoreElements,inlineImages:Tn,copyStyles:Tn},Vr.logger.debug("Starting document clone with size "+Rr.width+"x"+Rr.height+" scrolled to "+-Rr.left+","+-Rr.top),Ln=new $r(Vr,he,Sn),Ti=Ln.clonedReferenceElement,Ti?[4,Ln.toIFrame(Re,Rr)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return _i=Kl.sent(),Xi=mr(Ti)||nr(Ti)?n(Ti.ownerDocument):o(Vr,Ti),Ta=Xi.width,la=Xi.height,aa=Xi.left,io=Xi.top,go=Wc(Vr,Ti,Ce.backgroundColor),Ja={canvas:Ce.canvas,backgroundColor:go,scale:(Nl=(vu=Ce.scale)!==null&&vu!==void 0?vu:tt.devicePixelRatio)!==null&&Nl!==void 0?Nl:1,x:((ru=Ce.x)!==null&&ru!==void 0?ru:0)+aa,y:((yu=Ce.y)!==null&&yu!==void 0?yu:0)+io,width:(bu=Ce.width)!==null&&bu!==void 0?bu:Math.ceil(Ta),height:(Hl=Ce.height)!==null&&Hl!==void 0?Hl:Math.ceil(la)},Tn?(Vr.logger.debug("Document cloned, using foreign object rendering"),_o=new Pc(Vr,Ja),[4,_o.render(Ti)]):[3,3];case 2:return ia=Kl.sent(),[3,5];case 3:return Vr.logger.debug("Document cloned, element located at "+aa+","+io+" with size "+Ta+"x"+la+" using computed rendering"),Vr.logger.debug("Starting DOM parsing"),Do=Bu(Vr,Ti),go===Do.styles.backgroundColor&&(Do.styles.backgroundColor=_r.TRANSPARENT),Vr.logger.debug("Starting renderer for element at "+Ja.x+","+Ja.y+" with size "+Ja.width+"x"+Ja.height),_o=new Mc(Vr,Ja),[4,_o.render(Do)];case 4:ia=Kl.sent(),Kl.label=5;case 5:return((wu=Ce.removeContainer)!==null&&wu!==void 0?wu:!0)&&($r.destroy(_i)||Vr.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),Vr.logger.debug("Finished rendering"),[2,ia]}})})},Wc=function(he,Ce,Re){var tt=Ce.ownerDocument,Ut=tt.documentElement?Tr(he,getComputedStyle(tt.documentElement).backgroundColor):_r.TRANSPARENT,pr=tt.body?Tr(he,getComputedStyle(tt.body).backgroundColor):_r.TRANSPARENT,Cr=typeof Re=="string"?Tr(he,Re):Re===null?_r.TRANSPARENT:4294967295;return Ce===tt.documentElement?ti(Ut)?ti(pr)?Cr:pr:Ut:Cr};return Kc})},wPlo:function(B,N,r){"use strict";r.d(N,"a",function(){return y});var y="RC_SELECT_INTERNAL_PROPS_MARK"},wXyp:function(B,N,r){"use strict";var y=r("284h"),m=r("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var C=m(r("3tO9")),p=y(r("q1tI")),g=m(r("ygfH")),h=m(r("KQxl")),c=function(t,a){return p.createElement(h.default,(0,C.default)((0,C.default)({},t),{},{ref:a,icon:g.default}))};c.displayName="CheckOutlined";var o=p.forwardRef(c);N.default=o},wYyv:function(B,N,r){"use strict";var y=r("GmyR"),m=r("47nA"),C=function(h,c,o){var n=c<0?h.length+c:c;if(n>=0&&n<h.length){var t=o<0?h.length+o:o,a=h.splice(c,1),d=m(a,1),i=d[0];h.splice(t,0,i)}},p=function(h,c,o){return h=y(h),C(h,c,o),h};B.exports=p,B.exports.mutate=C},wgjA:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};N.default=y},whVF:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=r("lNSK"),m=C(r("1q3G"));function C(o){return o&&o.__esModule?o:{default:o}}function p(o,n){if(!(o instanceof n))throw new TypeError("Cannot call a class as a function")}function g(o,n){for(var t=0;t<n.length;t++){var a=n[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(o,a.key,a)}}function h(o,n,t){return n&&g(o.prototype,n),t&&g(o,t),o}var c=function(){function o(){p(this,o),this.strm=new m.default,this.chunkSize=1024*10*10,this.outputBuffer=new Uint8Array(this.chunkSize),this.windowBits=5,(0,y.deflateInit)(this.strm,this.windowBits)}return h(o,[{key:"deflate",value:function(t){this.strm.input=t,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 a=(0,y.deflate)(this.strm,y.Z_FULL_FLUSH),d=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);if(a<0)throw new Error("zlib deflate failed");if(this.strm.avail_in>0){var i=[d],l=d.length;do{if(this.strm.output=new Uint8Array(this.chunkSize),this.strm.next_out=0,this.strm.avail_out=this.chunkSize,a=(0,y.deflate)(this.strm,y.Z_FULL_FLUSH),a<0)throw new Error("zlib deflate failed");var e=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);l+=e.length,i.push(e)}while(this.strm.avail_in>0);for(var s=new Uint8Array(l),u=0,f=0;f<i.length;f++)s.set(i[f],u),u+=i[f].length;d=s}return this.strm.input=null,this.strm.avail_in=0,this.strm.next_in=0,d}}]),o}();N.default=c},wlus:function(B,N,r){"use strict";var y=r("VTBJ"),m=r("q1tI"),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},p=C,g=r("6VBw"),h=function(n,t){return m.createElement(g.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};h.displayName="MinusCircleOutlined";var c=N.a=m.forwardRef(h)},wr5s:function(B,N,r){var y=r("IwbS"),m=y.extendShape,C=m({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},buildPath:function(p,g){var h=g.cx,c=g.cy,o=Math.max(g.r0||0,0),n=Math.max(g.r,0),t=(n-o)*.5,a=o+t,d=g.startAngle,i=g.endAngle,l=g.clockwise,e=Math.cos(d),s=Math.sin(d),u=Math.cos(i),f=Math.sin(i),A=l?i-d<Math.PI*2:d-i<Math.PI*2;A&&(p.moveTo(e*o+h,s*o+c),p.arc(e*a+h,s*a+c,t,-Math.PI+d,d,!l)),p.arc(h,c,n,d,i,!l),p.moveTo(u*n+h,f*n+c),p.arc(u*a+h,f*a+c,t,i-Math.PI*2,i-Math.PI,!l),o!==0&&(p.arc(h,c,o,i,d,l),p.moveTo(e*o+h,f*o+c)),p.closePath()}});B.exports=C},wt3j:function(B,N,r){var y=r("ProS"),m=r("bYtY"),C=r("/IIm"),p=r("EMyp"),g=p.layoutCovers,h=y.extendComponentView({type:"brush",init:function(o,n){this.ecModel=o,this.api=n,this.model,(this._brushController=new C(n.getZr())).on("brush",m.bind(this._onBrush,this)).mount()},render:function(o){return this.model=o,c.apply(this,arguments)},updateTransform:function(o,n){return g(n),c.apply(this,arguments)},updateView:c,dispose:function(){this._brushController.dispose()},_onBrush:function(o,n){var t=this.model.id;this.model.brushTargetManager.setOutputRanges(o,this.ecModel),(!n.isEnd||n.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:t,areas:m.clone(o),$from:t}),n.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:t,areas:m.clone(o),$from:t})}});function c(o,n,t,a){(!a||a.$from!==o.id)&&this._brushController.setPanels(o.brushTargetManager.makePanelOpts(t)).enableBrush(o.brushOption).updateCovers(o.areas.slice())}B.exports=h},wy8a:function(B,N,r){var y=r("KxBF");function m(C,p,g){var h=C.length;return g=g===void 0?h:g,!p&&g>=h?C:y(C,p,g)}B.exports=m},x3X8:function(B,N,r){var y=r("KxfA"),m=y.retrieveRawValue;function C(p,g){var h=p.mapDimension("defaultedLabel",!0),c=h.length;if(c===1)return m(p,g,h[0]);if(c){for(var o=[],n=0;n<h.length;n++){var t=m(p,g,h[n]);o.push(t)}return o.join(" ")}}N.getDefaultLabel=C},x54q:function(B,N,r){},x6Kt:function(B,N,r){var y=r("y+Vt"),m=r("VpOo"),C=r("nPnh"),p=C.subPixelOptimizeRect,g={},h=y.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(o,n){var t,a,d,i;this.subPixelOptimize?(p(g,n,this.style),t=g.x,a=g.y,d=g.width,i=g.height,g.r=n.r,n=g):(t=n.x,a=n.y,d=n.width,i=n.height),n.r?m.buildPath(o,n):o.rect(t,a,d,i),o.closePath();return}});B.exports=h},xGfz:function(B,N,r){"use strict";var y=r("VTBJ"),m=r("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"},p=C,g=r("6VBw"),h=function(n,t){return m.createElement(g.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};h.displayName="PlusSquareOutlined";var c=N.a=m.forwardRef(h)},xKMd:function(B,N){function r(m,C){this.getAllNames=function(){var p=C();return p.mapArray(p.getName)},this.containName=function(p){var g=C();return g.indexOfName(p)>=0},this.indexOfName=function(p){var g=m();return g.indexOfName(p)},this.getItemVisual=function(p,g){var h=m();return h.getItemVisual(p,g)}}var y=r;B.exports=y},xO64:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(r("8K/p"));function m(e){return e&&e.__esModule?e:{default:e}}function C(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?C=function(u){return typeof u}:C=function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},C(e)}function p(e,s){if(!(e instanceof s))throw new TypeError("Cannot call a class as a function")}function g(e,s){for(var u=0;u<s.length;u++){var f=s[u];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(e,f.key,f)}}function h(e,s,u){return s&&g(e.prototype,s),u&&g(e,u),e}function c(e,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(s&&s.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),s&&o(e,s)}function o(e,s){return o=Object.setPrototypeOf||function(f,A){return f.__proto__=A,f},o(e,s)}function n(e){var s=d();return function(){var f=i(e),A;if(s){var v=i(this).constructor;A=Reflect.construct(f,arguments,v)}else A=f.apply(this,arguments);return t(this,A)}}function t(e,s){return s&&(C(s)==="object"||typeof s=="function")?s:a(e)}function a(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(){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 i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf:function(u){return u.__proto__||Object.getPrototypeOf(u)},i(e)}var l=function(e){c(u,e);var s=n(u);function u(){return p(this,u),s.apply(this,arguments)}return h(u,[{key:"_pngRect",value:function(A,v,x,b,w,_,T){var S=this._readData(w);return S===null?!1:(_.imageRect(A,v,x,b,"image/png",S),!0)}},{key:"_basicRect",value:function(A,v,x,b,w,_,T,S){throw new Error("BasicCompression received in TightPNG rect")}}]),u}(y.default);N.default=l},xOOu:function(B,N,r){(function(y,m){var C,C;/*!
|
|
|
|
|
|
JSZip v3.7.1 - A JavaScript class for generating and reading zip files
|
|
|
<http://stuartk.com/jszip>
|
|
|
|
|
|
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
|
|
|
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/master/LICENSE.markdown.
|
|
|
|
|
|
JSZip uses the library pako released under the MIT license :
|
|
|
https://github.com/nodeca/pako/blob/master/LICENSE
|
|
|
*/!function(p){B.exports=p()}(function(){return function p(g,h,c){function o(a,d){if(!h[a]){if(!g[a]){var i=typeof C=="function"&&C;if(!d&&i)return C(a,!0);if(n)return n(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var e=h[a]={exports:{}};g[a][0].call(e.exports,function(s){var u=g[a][1][s];return o(u||s)},e,e.exports,p,g,h,c)}return h[a].exports}for(var n=typeof C=="function"&&C,t=0;t<c.length;t++)o(c[t]);return o}({1:[function(p,g,h){"use strict";var c=p("./utils"),o=p("./support"),n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";h.encode=function(t){for(var a,d,i,l,e,s,u,f=[],A=0,v=t.length,x=v,b=c.getTypeOf(t)!=="string";A<t.length;)x=v-A,i=b?(a=t[A++],d=A<v?t[A++]:0,A<v?t[A++]:0):(a=t.charCodeAt(A++),d=A<v?t.charCodeAt(A++):0,A<v?t.charCodeAt(A++):0),l=a>>2,e=(3&a)<<4|d>>4,s=1<x?(15&d)<<2|i>>6:64,u=2<x?63&i:64,f.push(n.charAt(l)+n.charAt(e)+n.charAt(s)+n.charAt(u));return f.join("")},h.decode=function(t){var a,d,i,l,e,s,u=0,f=0,A="data:";if(t.substr(0,A.length)===A)throw new Error("Invalid base64 input, it looks like a data url.");var v,x=3*(t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(t.charAt(t.length-1)===n.charAt(64)&&x--,t.charAt(t.length-2)===n.charAt(64)&&x--,x%1!=0)throw new Error("Invalid base64 input, bad content length.");for(v=o.uint8array?new Uint8Array(0|x):new Array(0|x);u<t.length;)a=n.indexOf(t.charAt(u++))<<2|(l=n.indexOf(t.charAt(u++)))>>4,d=(15&l)<<4|(e=n.indexOf(t.charAt(u++)))>>2,i=(3&e)<<6|(s=n.indexOf(t.charAt(u++))),v[f++]=a,e!==64&&(v[f++]=d),s!==64&&(v[f++]=i);return v}},{"./support":30,"./utils":32}],2:[function(p,g,h){"use strict";var c=p("./external"),o=p("./stream/DataWorker"),n=p("./stream/Crc32Probe"),t=p("./stream/DataLengthProbe");function a(d,i,l,e,s){this.compressedSize=d,this.uncompressedSize=i,this.crc32=l,this.compression=e,this.compressedContent=s}a.prototype={getContentWorker:function(){var i=new o(c.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new t("data_length")),l=this;return i.on("end",function(){if(this.streamInfo.data_length!==l.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),i},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)}},a.createWorkerFrom=function(d,i,l){return d.pipe(new n).pipe(new t("uncompressedSize")).pipe(i.compressWorker(l)).pipe(new t("compressedSize")).withStreamInfo("compression",i)},g.exports=a},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(p,g,h){"use strict";var c=p("./stream/GenericWorker");h.STORE={magic:"\0\0",compressWorker:function(n){return new c("STORE compression")},uncompressWorker:function(){return new c("STORE decompression")}},h.DEFLATE=p("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(p,g,h){"use strict";var c=p("./utils"),o=function(){for(var n,t=[],a=0;a<256;a++){n=a;for(var d=0;d<8;d++)n=1&n?3988292384^n>>>1:n>>>1;t[a]=n}return t}();g.exports=function(n,t){return n!==void 0&&n.length?c.getTypeOf(n)!=="string"?function(a,d,i,l){var e=o,s=l+i;a^=-1;for(var u=l;u<s;u++)a=a>>>8^e[255&(a^d[u])];return-1^a}(0|t,n,n.length,0):function(a,d,i,l){var e=o,s=l+i;a^=-1;for(var u=l;u<s;u++)a=a>>>8^e[255&(a^d.charCodeAt(u))];return-1^a}(0|t,n,n.length,0):0}},{"./utils":32}],5:[function(p,g,h){"use strict";h.base64=!1,h.binary=!1,h.dir=!1,h.createFolders=!0,h.date=null,h.compression=null,h.compressionOptions=null,h.comment=null,h.unixPermissions=null,h.dosPermissions=null},{}],6:[function(p,g,h){"use strict";var c=null;c=typeof Promise!="undefined"?Promise:p("lie"),g.exports={Promise:c}},{lie:37}],7:[function(p,g,h){"use strict";var c=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",o=p("pako"),n=p("./utils"),t=p("./stream/GenericWorker"),a=c?"uint8array":"array";function d(i,l){t.call(this,"FlateWorker/"+i),this._pako=null,this._pakoAction=i,this._pakoOptions=l,this.meta={}}h.magic="\b\0",n.inherits(d,t),d.prototype.processChunk=function(i){this.meta=i.meta,this._pako===null&&this._createPako(),this._pako.push(n.transformTo(a,i.data),!1)},d.prototype.flush=function(){t.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},d.prototype.cleanUp=function(){t.prototype.cleanUp.call(this),this._pako=null},d.prototype._createPako=function(){this._pako=new o[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var i=this;this._pako.onData=function(l){i.push({data:l,meta:i.meta})}},h.compressWorker=function(i){return new d("Deflate",i)},h.uncompressWorker=function(){return new d("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(p,g,h){"use strict";function c(e,s){var u,f="";for(u=0;u<s;u++)f+=String.fromCharCode(255&e),e>>>=8;return f}function o(e,s,u,f,A,v){var x,b,w=e.file,_=e.compression,T=v!==a.utf8encode,S=n.transformTo("string",v(w.name)),E=n.transformTo("string",a.utf8encode(w.name)),I=w.comment,O=n.transformTo("string",v(I)),F=n.transformTo("string",a.utf8encode(I)),k=E.length!==w.name.length,M=F.length!==I.length,P="",V="",D="",H=w.dir,U=w.date,z={crc32:0,compressedSize:0,uncompressedSize:0};s&&!u||(z.crc32=e.crc32,z.compressedSize=e.compressedSize,z.uncompressedSize=e.uncompressedSize);var K=0;s&&(K|=8),T||!k&&!M||(K|=2048);var G=0,X=0;H&&(G|=16),A==="UNIX"?(X=798,G|=function(ee,Se){var $=ee;return ee||($=Se?16893:33204),(65535&$)<<16}(w.unixPermissions,H)):(X=20,G|=function(ee){return 63&(ee||0)}(w.dosPermissions)),x=U.getUTCHours(),x<<=6,x|=U.getUTCMinutes(),x<<=5,x|=U.getUTCSeconds()/2,b=U.getUTCFullYear()-1980,b<<=4,b|=U.getUTCMonth()+1,b<<=5,b|=U.getUTCDate(),k&&(V=c(1,1)+c(d(S),4)+E,P+="up"+c(V.length,2)+V),M&&(D=c(1,1)+c(d(O),4)+F,P+="uc"+c(D.length,2)+D);var Z="";return Z+=`
|
|
|
\0`,Z+=c(K,2),Z+=_.magic,Z+=c(x,2),Z+=c(b,2),Z+=c(z.crc32,4),Z+=c(z.compressedSize,4),Z+=c(z.uncompressedSize,4),Z+=c(S.length,2),Z+=c(P.length,2),{fileRecord:i.LOCAL_FILE_HEADER+Z+S+P,dirRecord:i.CENTRAL_FILE_HEADER+c(X,2)+Z+c(O.length,2)+"\0\0\0\0"+c(G,4)+c(f,4)+S+P+O}}var n=p("../utils"),t=p("../stream/GenericWorker"),a=p("../utf8"),d=p("../crc32"),i=p("../signature");function l(e,s,u,f){t.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=s,this.zipPlatform=u,this.encodeFileName=f,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}n.inherits(l,t),l.prototype.push=function(e){var s=e.meta.percent||0,u=this.entriesCount,f=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,t.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:u?(s+100*(u-f-1))/u:100}}))},l.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var s=this.streamFiles&&!e.file.dir;if(s){var u=o(e,s,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:u.fileRecord,meta:{percent:0}})}else this.accumulate=!0},l.prototype.closedSource=function(e){this.accumulate=!1;var s=this.streamFiles&&!e.file.dir,u=o(e,s,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(u.dirRecord),s)this.push({data:function(f){return i.DATA_DESCRIPTOR+c(f.crc32,4)+c(f.compressedSize,4)+c(f.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:u.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},l.prototype.flush=function(){for(var e=this.bytesWritten,s=0;s<this.dirRecords.length;s++)this.push({data:this.dirRecords[s],meta:{percent:100}});var u=this.bytesWritten-e,f=function(A,v,x,b,w){var _=n.transformTo("string",w(b));return i.CENTRAL_DIRECTORY_END+"\0\0\0\0"+c(A,2)+c(A,2)+c(v,4)+c(x,4)+c(_.length,2)+_}(this.dirRecords.length,u,e,this.zipComment,this.encodeFileName);this.push({data:f,meta:{percent:100}})},l.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},l.prototype.registerPrevious=function(e){this._sources.push(e);var s=this;return e.on("data",function(u){s.processChunk(u)}),e.on("end",function(){s.closedSource(s.previous.streamInfo),s._sources.length?s.prepareNextSource():s.end()}),e.on("error",function(u){s.error(u)}),this},l.prototype.resume=function(){return!!t.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},l.prototype.error=function(e){var s=this._sources;if(!t.prototype.error.call(this,e))return!1;for(var u=0;u<s.length;u++)try{s[u].error(e)}catch(f){}return!0},l.prototype.lock=function(){t.prototype.lock.call(this);for(var e=this._sources,s=0;s<e.length;s++)e[s].lock()},g.exports=l},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(p,g,h){"use strict";var c=p("../compressions"),o=p("./ZipFileWorker");h.generateWorker=function(n,t,a){var d=new o(t.streamFiles,a,t.platform,t.encodeFileName),i=0;try{n.forEach(function(l,e){i++;var s=function(v,x){var b=v||x,w=c[b];if(!w)throw new Error(b+" is not a valid compression method !");return w}(e.options.compression,t.compression),u=e.options.compressionOptions||t.compressionOptions||{},f=e.dir,A=e.date;e._compressWorker(s,u).withStreamInfo("file",{name:l,dir:f,date:A,comment:e.comment||"",unixPermissions:e.unixPermissions,dosPermissions:e.dosPermissions}).pipe(d)}),d.entriesCount=i}catch(l){d.error(l)}return d}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(p,g,h){"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 n in this)typeof this[n]!="function"&&(o[n]=this[n]);return o}}(c.prototype=p("./object")).loadAsync=p("./load"),c.support=p("./support"),c.defaults=p("./defaults"),c.version="3.7.1",c.loadAsync=function(o,n){return new c().loadAsync(o,n)},c.external=p("./external"),g.exports=c},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(p,g,h){"use strict";var c=p("./utils"),o=p("./external"),n=p("./utf8"),t=p("./zipEntries"),a=p("./stream/Crc32Probe"),d=p("./nodejsUtils");function i(l){return new o.Promise(function(e,s){var u=l.decompressed.getContentWorker().pipe(new a);u.on("error",function(f){s(f)}).on("end",function(){u.streamInfo.crc32!==l.decompressed.crc32?s(new Error("Corrupted zip : CRC32 mismatch")):e()}).resume()})}g.exports=function(l,e){var s=this;return e=c.extend(e||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:n.utf8decode}),d.isNode&&d.isStream(l)?o.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):c.prepareContent("the loaded zip file",l,!0,e.optimizedBinaryString,e.base64).then(function(u){var f=new t(e);return f.load(u),f}).then(function(u){var f=[o.Promise.resolve(u)],A=u.files;if(e.checkCRC32)for(var v=0;v<A.length;v++)f.push(i(A[v]));return o.Promise.all(f)}).then(function(u){for(var f=u.shift(),A=f.files,v=0;v<A.length;v++){var x=A[v];s.file(x.fileNameStr,x.decompressed,{binary:!0,optimizedBinaryString:!0,date:x.date,dir:x.dir,comment:x.fileCommentStr.length?x.fileCommentStr:null,unixPermissions:x.unixPermissions,dosPermissions:x.dosPermissions,createFolders:e.createFolders})}return f.zipComment.length&&(s.comment=f.zipComment),s})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(p,g,h){"use strict";var c=p("../utils"),o=p("../stream/GenericWorker");function n(t,a){o.call(this,"Nodejs stream input adapter for "+t),this._upstreamEnded=!1,this._bindStream(a)}c.inherits(n,o),n.prototype._bindStream=function(t){var a=this;(this._stream=t).pause(),t.on("data",function(d){a.push({data:d,meta:{percent:0}})}).on("error",function(d){a.isPaused?this.generatedError=d:a.error(d)}).on("end",function(){a.isPaused?a._upstreamEnded=!0:a.end()})},n.prototype.pause=function(){return!!o.prototype.pause.call(this)&&(this._stream.pause(),!0)},n.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},g.exports=n},{"../stream/GenericWorker":28,"../utils":32}],13:[function(p,g,h){"use strict";var c=p("readable-stream").Readable;function o(n,t,a){c.call(this,t),this._helper=n;var d=this;n.on("data",function(i,l){d.push(i)||d._helper.pause(),a&&a(l)}).on("error",function(i){d.emit("error",i)}).on("end",function(){d.push(null)})}p("../utils").inherits(o,c),o.prototype._read=function(){this._helper.resume()},g.exports=o},{"../utils":32,"readable-stream":16}],14:[function(p,g,h){"use strict";g.exports={isNode:typeof y!="undefined",newBufferFrom:function(o,n){if(y.from&&y.from!==Uint8Array.from)return y.from(o,n);if(typeof o=="number")throw new Error('The "data" argument must not be a number');return new y(o,n)},allocBuffer:function(o){if(y.alloc)return y.alloc(o);var n=new y(o);return n.fill(0),n},isBuffer:function(o){return y.isBuffer(o)},isStream:function(o){return o&&typeof o.on=="function"&&typeof o.pause=="function"&&typeof o.resume=="function"}}},{}],15:[function(p,g,h){"use strict";function c(w,_,T){var S,E=n.getTypeOf(_),I=n.extend(T||{},d);I.date=I.date||new Date,I.compression!==null&&(I.compression=I.compression.toUpperCase()),typeof I.unixPermissions=="string"&&(I.unixPermissions=parseInt(I.unixPermissions,8)),I.unixPermissions&&16384&I.unixPermissions&&(I.dir=!0),I.dosPermissions&&16&I.dosPermissions&&(I.dir=!0),I.dir&&(w=A(w)),I.createFolders&&(S=f(w))&&v.call(this,S,!0);var O=E==="string"&&I.binary===!1&&I.base64===!1;T&&T.binary!==void 0||(I.binary=!O),(_ instanceof i&&_.uncompressedSize===0||I.dir||!_||_.length===0)&&(I.base64=!1,I.binary=!0,_="",I.compression="STORE",E="string");var F=null;F=_ instanceof i||_ instanceof t?_:s.isNode&&s.isStream(_)?new u(w,_):n.prepareContent(w,_,I.binary,I.optimizedBinaryString,I.base64);var k=new l(w,F,I);this.files[w]=k}var o=p("./utf8"),n=p("./utils"),t=p("./stream/GenericWorker"),a=p("./stream/StreamHelper"),d=p("./defaults"),i=p("./compressedObject"),l=p("./zipObject"),e=p("./generate"),s=p("./nodejsUtils"),u=p("./nodejs/NodejsStreamInputAdapter"),f=function(_){_.slice(-1)==="/"&&(_=_.substring(0,_.length-1));var T=_.lastIndexOf("/");return 0<T?_.substring(0,T):""},A=function(_){return _.slice(-1)!=="/"&&(_+="/"),_},v=function(_,T){return T=T!==void 0?T:d.createFolders,_=A(_),this.files[_]||c.call(this,_,null,{dir:!0,createFolders:T}),this.files[_]};function x(w){return Object.prototype.toString.call(w)==="[object RegExp]"}var b={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(_){var T,S,E;for(T in this.files)E=this.files[T],(S=T.slice(this.root.length,T.length))&&T.slice(0,this.root.length)===this.root&&_(S,E)},filter:function(_){var T=[];return this.forEach(function(S,E){_(S,E)&&T.push(E)}),T},file:function(_,T,S){if(arguments.length!==1)return _=this.root+_,c.call(this,_,T,S),this;if(x(_)){var E=_;return this.filter(function(O,F){return!F.dir&&E.test(O)})}var I=this.files[this.root+_];return I&&!I.dir?I:null},folder:function(_){if(!_)return this;if(x(_))return this.filter(function(I,O){return O.dir&&_.test(I)});var T=this.root+_,S=v.call(this,T),E=this.clone();return E.root=S.name,E},remove:function(_){_=this.root+_;var T=this.files[_];if(T||(_.slice(-1)!=="/"&&(_+="/"),T=this.files[_]),T&&!T.dir)delete this.files[_];else for(var S=this.filter(function(I,O){return O.name.slice(0,_.length)===_}),E=0;E<S.length;E++)delete this.files[S[E].name];return this},generate:function(_){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(_){var T,S={};try{if((S=n.extend(_||{},{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.");n.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 E=S.comment||this.comment||"";T=e.generateWorker(this,S,E)}catch(I){(T=new t("error")).error(I)}return new a(T,S.type||"string",S.mimeType)},generateAsync:function(_,T){return this.generateInternalStream(_).accumulate(T)},generateNodeStream:function(_,T){return(_=_||{}).type||(_.type="nodebuffer"),this.generateInternalStream(_).toNodejsStream(T)}};g.exports=b},{"./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(p,g,h){g.exports=p("stream")},{stream:void 0}],17:[function(p,g,h){"use strict";var c=p("./DataReader");function o(n){c.call(this,n);for(var t=0;t<this.data.length;t++)n[t]=255&n[t]}p("../utils").inherits(o,c),o.prototype.byteAt=function(n){return this.data[this.zero+n]},o.prototype.lastIndexOfSignature=function(n){for(var t=n.charCodeAt(0),a=n.charCodeAt(1),d=n.charCodeAt(2),i=n.charCodeAt(3),l=this.length-4;0<=l;--l)if(this.data[l]===t&&this.data[l+1]===a&&this.data[l+2]===d&&this.data[l+3]===i)return l-this.zero;return-1},o.prototype.readAndCheckSignature=function(n){var t=n.charCodeAt(0),a=n.charCodeAt(1),d=n.charCodeAt(2),i=n.charCodeAt(3),l=this.readData(4);return t===l[0]&&a===l[1]&&d===l[2]&&i===l[3]},o.prototype.readData=function(n){if(this.checkOffset(n),n===0)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,t},g.exports=o},{"../utils":32,"./DataReader":18}],18:[function(p,g,h){"use strict";var c=p("../utils");function o(n){this.data=n,this.length=n.length,this.index=0,this.zero=0}o.prototype={checkOffset:function(t){this.checkIndex(this.index+t)},checkIndex:function(t){if(this.length<this.zero+t||t<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+t+"). Corrupted zip ?")},setIndex:function(t){this.checkIndex(t),this.index=t},skip:function(t){this.setIndex(this.index+t)},byteAt:function(t){},readInt:function(t){var a,d=0;for(this.checkOffset(t),a=this.index+t-1;a>=this.index;a--)d=(d<<8)+this.byteAt(a);return this.index+=t,d},readString:function(t){return c.transformTo("string",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readAndCheckSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},g.exports=o},{"../utils":32}],19:[function(p,g,h){"use strict";var c=p("./Uint8ArrayReader");function o(n){c.call(this,n)}p("../utils").inherits(o,c),o.prototype.readData=function(n){this.checkOffset(n);var t=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,t},g.exports=o},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(p,g,h){"use strict";var c=p("./DataReader");function o(n){c.call(this,n)}p("../utils").inherits(o,c),o.prototype.byteAt=function(n){return this.data.charCodeAt(this.zero+n)},o.prototype.lastIndexOfSignature=function(n){return this.data.lastIndexOf(n)-this.zero},o.prototype.readAndCheckSignature=function(n){return n===this.readData(4)},o.prototype.readData=function(n){this.checkOffset(n);var t=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,t},g.exports=o},{"../utils":32,"./DataReader":18}],21:[function(p,g,h){"use strict";var c=p("./ArrayReader");function o(n){c.call(this,n)}p("../utils").inherits(o,c),o.prototype.readData=function(n){if(this.checkOffset(n),n===0)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+n);return this.index+=n,t},g.exports=o},{"../utils":32,"./ArrayReader":17}],22:[function(p,g,h){"use strict";var c=p("../utils"),o=p("../support"),n=p("./ArrayReader"),t=p("./StringReader"),a=p("./NodeBufferReader"),d=p("./Uint8ArrayReader");g.exports=function(i){var l=c.getTypeOf(i);return c.checkSupport(l),l!=="string"||o.uint8array?l==="nodebuffer"?new a(i):o.uint8array?new d(c.transformTo("uint8array",i)):new n(c.transformTo("array",i)):new t(i)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(p,g,h){"use strict";h.LOCAL_FILE_HEADER="PK",h.CENTRAL_FILE_HEADER="PK",h.CENTRAL_DIRECTORY_END="PK",h.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",h.ZIP64_CENTRAL_DIRECTORY_END="PK",h.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(p,g,h){"use strict";var c=p("./GenericWorker"),o=p("../utils");function n(t){c.call(this,"ConvertWorker to "+t),this.destType=t}o.inherits(n,c),n.prototype.processChunk=function(t){this.push({data:o.transformTo(this.destType,t.data),meta:t.meta})},g.exports=n},{"../utils":32,"./GenericWorker":28}],25:[function(p,g,h){"use strict";var c=p("./GenericWorker"),o=p("../crc32");function n(){c.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}p("../utils").inherits(n,c),n.prototype.processChunk=function(t){this.streamInfo.crc32=o(t.data,this.streamInfo.crc32||0),this.push(t)},g.exports=n},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(p,g,h){"use strict";var c=p("../utils"),o=p("./GenericWorker");function n(t){o.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}c.inherits(n,o),n.prototype.processChunk=function(t){if(t){var a=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=a+t.data.length}o.prototype.processChunk.call(this,t)},g.exports=n},{"../utils":32,"./GenericWorker":28}],27:[function(p,g,h){"use strict";var c=p("../utils"),o=p("./GenericWorker");function n(t){o.call(this,"DataWorker");var a=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then(function(d){a.dataIsReady=!0,a.data=d,a.max=d&&d.length||0,a.type=c.getTypeOf(d),a.isPaused||a._tickAndRepeat()},function(d){a.error(d)})}c.inherits(n,o),n.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this.data=null},n.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,c.delay(this._tickAndRepeat,[],this)),!0)},n.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(c.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},n.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,a=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,a);break;case"uint8array":t=this.data.subarray(this.index,a);break;case"array":case"nodebuffer":t=this.data.slice(this.index,a)}return this.index=a,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},g.exports=n},{"../utils":32,"./GenericWorker":28}],28:[function(p,g,h){"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(n){this.emit("data",n)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(n){this.emit("error",n)}return!0},error:function(n){return!this.isFinished&&(this.isPaused?this.generatedError=n:(this.isFinished=!0,this.emit("error",n),this.previous&&this.previous.error(n),this.cleanUp()),!0)},on:function(n,t){return this._listeners[n].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(n,t){if(this._listeners[n])for(var a=0;a<this._listeners[n].length;a++)this._listeners[n][a].call(this,t)},pipe:function(n){return n.registerPrevious(this)},registerPrevious:function(n){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=n.streamInfo,this.mergeStreamInfo(),this.previous=n;var t=this;return n.on("data",function(a){t.processChunk(a)}),n.on("end",function(){t.end()}),n.on("error",function(a){t.error(a)}),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 n=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),n=!0),this.previous&&this.previous.resume(),!n},flush:function(){},processChunk:function(n){this.push(n)},withStreamInfo:function(n,t){return this.extraStreamInfo[n]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var n in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(n)&&(this.streamInfo[n]=this.extraStreamInfo[n])},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 n="Worker "+this.name;return this.previous?this.previous+" -> "+n:n}},g.exports=c},{}],29:[function(p,g,h){"use strict";var c=p("../utils"),o=p("./ConvertWorker"),n=p("./GenericWorker"),t=p("../base64"),a=p("../support"),d=p("../external"),i=null;if(a.nodestream)try{i=p("../nodejs/NodejsStreamOutputAdapter")}catch(s){}function l(s,u){return new d.Promise(function(f,A){var v=[],x=s._internalType,b=s._outputType,w=s._mimeType;s.on("data",function(_,T){v.push(_),u&&u(T)}).on("error",function(_){v=[],A(_)}).on("end",function(){try{var _=function(T,S,E){switch(T){case"blob":return c.newBlob(c.transformTo("arraybuffer",S),E);case"base64":return t.encode(S);default:return c.transformTo(T,S)}}(b,function(T,S){var E,I=0,O=null,F=0;for(E=0;E<S.length;E++)F+=S[E].length;switch(T){case"string":return S.join("");case"array":return Array.prototype.concat.apply([],S);case"uint8array":for(O=new Uint8Array(F),E=0;E<S.length;E++)O.set(S[E],I),I+=S[E].length;return O;case"nodebuffer":return y.concat(S);default:throw new Error("concat : unsupported type '"+T+"'")}}(x,v),w);f(_)}catch(T){A(T)}v=[]}).resume()})}function e(s,u,f){var A=u;switch(u){case"blob":case"arraybuffer":A="uint8array";break;case"base64":A="string"}try{this._internalType=A,this._outputType=u,this._mimeType=f,c.checkSupport(A),this._worker=s.pipe(new o(A)),s.lock()}catch(v){this._worker=new n("error"),this._worker.error(v)}}e.prototype={accumulate:function(u){return l(this,u)},on:function(u,f){var A=this;return u==="data"?this._worker.on(u,function(v){f.call(A,v.data,v.meta)}):this._worker.on(u,function(){c.delay(f,arguments,A)}),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 i(this,{objectMode:this._outputType!=="nodebuffer"},u)}},g.exports=e},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(p,g,h){"use strict";if(h.base64=!0,h.array=!0,h.string=!0,h.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",h.nodebuffer=typeof y!="undefined",h.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")h.blob=!1;else{var c=new ArrayBuffer(0);try{h.blob=new Blob([c],{type:"application/zip"}).size===0}catch(n){try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);o.append(c),h.blob=o.getBlob("application/zip").size===0}catch(t){h.blob=!1}}}try{h.nodestream=!!p("readable-stream").Readable}catch(n){h.nodestream=!1}},{"readable-stream":16}],31:[function(p,g,h){"use strict";for(var c=p("./utils"),o=p("./support"),n=p("./nodejsUtils"),t=p("./stream/GenericWorker"),a=new Array(256),d=0;d<256;d++)a[d]=252<=d?6:248<=d?5:240<=d?4:224<=d?3:192<=d?2:1;a[254]=a[254]=1;function i(){t.call(this,"utf-8 decode"),this.leftOver=null}function l(){t.call(this,"utf-8 encode")}h.utf8encode=function(e){return o.nodebuffer?n.newBufferFrom(e,"utf-8"):function(s){var u,f,A,v,x,b=s.length,w=0;for(v=0;v<b;v++)(64512&(f=s.charCodeAt(v)))==55296&&v+1<b&&(64512&(A=s.charCodeAt(v+1)))==56320&&(f=65536+(f-55296<<10)+(A-56320),v++),w+=f<128?1:f<2048?2:f<65536?3:4;for(u=o.uint8array?new Uint8Array(w):new Array(w),v=x=0;x<w;v++)(64512&(f=s.charCodeAt(v)))==55296&&v+1<b&&(64512&(A=s.charCodeAt(v+1)))==56320&&(f=65536+(f-55296<<10)+(A-56320),v++),f<128?u[x++]=f:(f<2048?u[x++]=192|f>>>6:(f<65536?u[x++]=224|f>>>12:(u[x++]=240|f>>>18,u[x++]=128|f>>>12&63),u[x++]=128|f>>>6&63),u[x++]=128|63&f);return u}(e)},h.utf8decode=function(e){return o.nodebuffer?c.transformTo("nodebuffer",e).toString("utf-8"):function(s){var u,f,A,v,x=s.length,b=new Array(2*x);for(u=f=0;u<x;)if((A=s[u++])<128)b[f++]=A;else if(4<(v=a[A]))b[f++]=65533,u+=v-1;else{for(A&=v===2?31:v===3?15:7;1<v&&u<x;)A=A<<6|63&s[u++],v--;1<v?b[f++]=65533:A<65536?b[f++]=A:(A-=65536,b[f++]=55296|A>>10&1023,b[f++]=56320|1023&A)}return b.length!==f&&(b.subarray?b=b.subarray(0,f):b.length=f),c.applyFromCharCode(b)}(e=c.transformTo(o.uint8array?"uint8array":"array",e))},c.inherits(i,t),i.prototype.processChunk=function(e){var s=c.transformTo(o.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(o.uint8array){var u=s;(s=new Uint8Array(u.length+this.leftOver.length)).set(this.leftOver,0),s.set(u,this.leftOver.length)}else s=this.leftOver.concat(s);this.leftOver=null}var f=function(v,x){var b;for((x=x||v.length)>v.length&&(x=v.length),b=x-1;0<=b&&(192&v[b])==128;)b--;return b<0||b===0?x:b+a[v[b]]>x?b:x}(s),A=s;f!==s.length&&(o.uint8array?(A=s.subarray(0,f),this.leftOver=s.subarray(f,s.length)):(A=s.slice(0,f),this.leftOver=s.slice(f,s.length))),this.push({data:h.utf8decode(A),meta:e.meta})},i.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:h.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},h.Utf8DecodeWorker=i,c.inherits(l,t),l.prototype.processChunk=function(e){this.push({data:h.utf8encode(e.data),meta:e.meta})},h.Utf8EncodeWorker=l},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(p,g,h){"use strict";var c=p("./support"),o=p("./base64"),n=p("./nodejsUtils"),t=p("set-immediate-shim"),a=p("./external");function d(f){return f}function i(f,A){for(var v=0;v<f.length;++v)A[v]=255&f.charCodeAt(v);return A}h.newBlob=function(f,A){h.checkSupport("blob");try{return new Blob([f],{type:A})}catch(x){try{var v=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return v.append(f),v.getBlob(A)}catch(b){throw new Error("Bug : can't construct the Blob.")}}};var l={stringifyByChunk:function(A,v,x){var b=[],w=0,_=A.length;if(_<=x)return String.fromCharCode.apply(null,A);for(;w<_;)v==="array"||v==="nodebuffer"?b.push(String.fromCharCode.apply(null,A.slice(w,Math.min(w+x,_)))):b.push(String.fromCharCode.apply(null,A.subarray(w,Math.min(w+x,_)))),w+=x;return b.join("")},stringifyByChar:function(A){for(var v="",x=0;x<A.length;x++)v+=String.fromCharCode(A[x]);return v},applyCanBeUsed:{uint8array:function(){try{return c.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(f){return!1}}(),nodebuffer:function(){try{return c.nodebuffer&&String.fromCharCode.apply(null,n.allocBuffer(1)).length===1}catch(f){return!1}}()}};function e(f){var A=65536,v=h.getTypeOf(f),x=!0;if(v==="uint8array"?x=l.applyCanBeUsed.uint8array:v==="nodebuffer"&&(x=l.applyCanBeUsed.nodebuffer),x)for(;1<A;)try{return l.stringifyByChunk(f,v,A)}catch(b){A=Math.floor(A/2)}return l.stringifyByChar(f)}function s(f,A){for(var v=0;v<f.length;v++)A[v]=f[v];return A}h.applyFromCharCode=e;var u={};u.string={string:d,array:function(A){return i(A,new Array(A.length))},arraybuffer:function(A){return u.string.uint8array(A).buffer},uint8array:function(A){return i(A,new Uint8Array(A.length))},nodebuffer:function(A){return i(A,n.allocBuffer(A.length))}},u.array={string:e,array:d,arraybuffer:function(A){return new Uint8Array(A).buffer},uint8array:function(A){return new Uint8Array(A)},nodebuffer:function(A){return n.newBufferFrom(A)}},u.arraybuffer={string:function(A){return e(new Uint8Array(A))},array:function(A){return s(new Uint8Array(A),new Array(A.byteLength))},arraybuffer:d,uint8array:function(A){return new Uint8Array(A)},nodebuffer:function(A){return n.newBufferFrom(new Uint8Array(A))}},u.uint8array={string:e,array:function(A){return s(A,new Array(A.length))},arraybuffer:function(A){return A.buffer},uint8array:d,nodebuffer:function(A){return n.newBufferFrom(A)}},u.nodebuffer={string:e,array:function(A){return s(A,new Array(A.length))},arraybuffer:function(A){return u.nodebuffer.uint8array(A).buffer},uint8array:function(A){return s(A,new Uint8Array(A.length))},nodebuffer:d},h.transformTo=function(f,A){if(A=A||"",!f)return A;h.checkSupport(f);var v=h.getTypeOf(A);return u[v][f](A)},h.getTypeOf=function(f){return typeof f=="string"?"string":Object.prototype.toString.call(f)==="[object Array]"?"array":c.nodebuffer&&n.isBuffer(f)?"nodebuffer":c.uint8array&&f instanceof Uint8Array?"uint8array":c.arraybuffer&&f instanceof ArrayBuffer?"arraybuffer":void 0},h.checkSupport=function(f){if(!c[f.toLowerCase()])throw new Error(f+" is not supported by this platform")},h.MAX_VALUE_16BITS=65535,h.MAX_VALUE_32BITS=-1,h.pretty=function(f){var A,v,x="";for(v=0;v<(f||"").length;v++)x+="\\x"+((A=f.charCodeAt(v))<16?"0":"")+A.toString(16).toUpperCase();return x},h.delay=function(f,A,v){t(function(){f.apply(v||null,A||[])})},h.inherits=function(f,A){function v(){}v.prototype=A.prototype,f.prototype=new v},h.extend=function(){var f,A,v={};for(f=0;f<arguments.length;f++)for(A in arguments[f])arguments[f].hasOwnProperty(A)&&v[A]===void 0&&(v[A]=arguments[f][A]);return v},h.prepareContent=function(f,A,v,x,b){return a.Promise.resolve(A).then(function(w){return c.blob&&(w instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(w))!==-1)&&typeof FileReader!="undefined"?new a.Promise(function(_,T){var S=new FileReader;S.onload=function(E){_(E.target.result)},S.onerror=function(E){T(E.target.error)},S.readAsArrayBuffer(w)}):w}).then(function(w){var _=h.getTypeOf(w);return _?(_==="arraybuffer"?w=h.transformTo("uint8array",w):_==="string"&&(b?w=o.decode(w):v&&x!==!0&&(w=function(T){return i(T,c.uint8array?new Uint8Array(T.length):new Array(T.length))}(w))),w):a.Promise.reject(new Error("Can't read the data of '"+f+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,"set-immediate-shim":54}],33:[function(p,g,h){"use strict";var c=p("./reader/readerFor"),o=p("./utils"),n=p("./signature"),t=p("./zipEntry"),a=(p("./utf8"),p("./support"));function d(i){this.files=[],this.loadOptions=i}d.prototype={checkSignature:function(l){if(!this.reader.readAndCheckSignature(l)){this.reader.index-=4;var e=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+o.pretty(e)+", expected "+o.pretty(l)+")")}},isSignature:function(l,e){var s=this.reader.index;this.reader.setIndex(l);var u=this.reader.readString(4)===e;return this.reader.setIndex(s),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 l=this.reader.readData(this.zipCommentLength),e=a.uint8array?"uint8array":"array",s=o.transformTo(e,l);this.zipComment=this.loadOptions.decodeFileName(s)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var l,e,s,u=this.zip64EndOfCentralSize-44;0<u;)l=this.reader.readInt(2),e=this.reader.readInt(4),s=this.reader.readData(e),this.zip64ExtensibleData[l]={id:l,length:e,value:s}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var l,e;for(l=0;l<this.files.length;l++)e=this.files[l],this.reader.setIndex(e.localHeaderOffset),this.checkSignature(n.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8(),e.processAttributes()},readCentralDir:function(){var l;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(n.CENTRAL_FILE_HEADER);)(l=new t({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(l);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var l=this.reader.lastIndexOfSignature(n.CENTRAL_DIRECTORY_END);if(l<0)throw this.isSignature(0,n.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(l);var e=l;if(this.checkSignature(n.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,(l=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(l),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,n.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(n.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(n.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var s=this.centralDirOffset+this.centralDirSize;this.zip64&&(s+=20,s+=12+this.zip64EndOfCentralSize);var u=e-s;if(0<u)this.isSignature(e,n.CENTRAL_FILE_HEADER)||(this.reader.zero=u);else if(u<0)throw new Error("Corrupted zip: missing "+Math.abs(u)+" bytes.")},prepareReader:function(l){this.reader=c(l)},load:function(l){this.prepareReader(l),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},g.exports=d},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(p,g,h){"use strict";var c=p("./reader/readerFor"),o=p("./utils"),n=p("./compressedObject"),t=p("./crc32"),a=p("./utf8"),d=p("./compressions"),i=p("./support");function l(e,s){this.options=e,this.loadOptions=s}l.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(s){var u,f;if(s.skip(22),this.fileNameLength=s.readInt(2),f=s.readInt(2),this.fileName=s.readData(this.fileNameLength),s.skip(f),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(A){for(var v in d)if(d.hasOwnProperty(v)&&d[v].magic===A)return d[v];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 n(this.compressedSize,this.uncompressedSize,this.crc32,u,s.readData(this.compressedSize))},readCentralPart:function(s){this.versionMadeBy=s.readInt(2),s.skip(2),this.bitFlag=s.readInt(2),this.compressionMethod=s.readString(2),this.date=s.readDate(),this.crc32=s.readInt(4),this.compressedSize=s.readInt(4),this.uncompressedSize=s.readInt(4);var u=s.readInt(2);if(this.extraFieldsLength=s.readInt(2),this.fileCommentLength=s.readInt(2),this.diskNumberStart=s.readInt(2),this.internalFileAttributes=s.readInt(2),this.externalFileAttributes=s.readInt(4),this.localHeaderOffset=s.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");s.skip(u),this.readExtraFields(s),this.parseZIP64ExtraField(s),this.fileComment=s.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var s=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),s==0&&(this.dosPermissions=63&this.externalFileAttributes),s==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(s){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(s){var u,f,A,v=s.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});s.index+4<v;)u=s.readInt(2),f=s.readInt(2),A=s.readData(f),this.extraFields[u]={id:u,length:f,value:A};s.setIndex(v)},handleUTF8:function(){var s=i.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=a.utf8decode(this.fileName),this.fileCommentStr=a.utf8decode(this.fileComment);else{var u=this.findExtraFieldUnicodePath();if(u!==null)this.fileNameStr=u;else{var f=o.transformTo(s,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(f)}var A=this.findExtraFieldUnicodeComment();if(A!==null)this.fileCommentStr=A;else{var v=o.transformTo(s,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(v)}}},findExtraFieldUnicodePath:function(){var s=this.extraFields[28789];if(s){var u=c(s.value);return u.readInt(1)!==1||t(this.fileName)!==u.readInt(4)?null:a.utf8decode(u.readData(s.length-5))}return null},findExtraFieldUnicodeComment:function(){var s=this.extraFields[25461];if(s){var u=c(s.value);return u.readInt(1)!==1||t(this.fileComment)!==u.readInt(4)?null:a.utf8decode(u.readData(s.length-5))}return null}},g.exports=l},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(p,g,h){"use strict";function c(s,u,f){this.name=s,this.dir=f.dir,this.date=f.date,this.comment=f.comment,this.unixPermissions=f.unixPermissions,this.dosPermissions=f.dosPermissions,this._data=u,this._dataBinary=f.binary,this.options={compression:f.compression,compressionOptions:f.compressionOptions}}var o=p("./stream/StreamHelper"),n=p("./stream/DataWorker"),t=p("./utf8"),a=p("./compressedObject"),d=p("./stream/GenericWorker");c.prototype={internalStream:function(u){var f=null,A="string";try{if(!u)throw new Error("No output type specified.");var v=(A=u.toLowerCase())==="string"||A==="text";A!=="binarystring"&&A!=="text"||(A="string"),f=this._decompressWorker();var x=!this._dataBinary;x&&!v&&(f=f.pipe(new t.Utf8EncodeWorker)),!x&&v&&(f=f.pipe(new t.Utf8DecodeWorker))}catch(b){(f=new d("error")).error(b)}return new o(f,A,"")},async:function(u,f){return this.internalStream(u).accumulate(f)},nodeStream:function(u,f){return this.internalStream(u||"nodebuffer").toNodejsStream(f)},_compressWorker:function(u,f){if(this._data instanceof a&&this._data.compression.magic===u.magic)return this._data.getCompressedWorker();var A=this._decompressWorker();return this._dataBinary||(A=A.pipe(new t.Utf8EncodeWorker)),a.createWorkerFrom(A,u,f)},_decompressWorker:function(){return this._data instanceof a?this._data.getContentWorker():this._data instanceof d?this._data:new n(this._data)}};for(var i=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],l=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},e=0;e<i.length;e++)c.prototype[i[e]]=l;g.exports=c},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(p,g,h){(function(c){"use strict";var o,n,t=c.MutationObserver||c.WebKitMutationObserver;if(t){var a=0,d=new t(s),i=c.document.createTextNode("");d.observe(i,{characterData:!0}),o=function(){i.data=a=++a%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(){s(),u.onreadystatechange=null,u.parentNode.removeChild(u),u=null},c.document.documentElement.appendChild(u)}:function(){setTimeout(s,0)};else{var l=new c.MessageChannel;l.port1.onmessage=s,o=function(){l.port2.postMessage(0)}}var e=[];function s(){var u,f;n=!0;for(var A=e.length;A;){for(f=e,e=[],u=-1;++u<A;)f[u]();A=e.length}n=!1}g.exports=function(u){e.push(u)!==1||n||o()}}).call(this,typeof m!="undefined"?m:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(p,g,h){"use strict";var c=p("immediate");function o(){}var n={},t=["REJECTED"],a=["FULFILLED"],d=["PENDING"];function i(A){if(typeof A!="function")throw new TypeError("resolver must be a function");this.state=d,this.queue=[],this.outcome=void 0,A!==o&&u(this,A)}function l(A,v,x){this.promise=A,typeof v=="function"&&(this.onFulfilled=v,this.callFulfilled=this.otherCallFulfilled),typeof x=="function"&&(this.onRejected=x,this.callRejected=this.otherCallRejected)}function e(A,v,x){c(function(){var b;try{b=v(x)}catch(w){return n.reject(A,w)}b===A?n.reject(A,new TypeError("Cannot resolve promise with itself")):n.resolve(A,b)})}function s(A){var v=A&&A.then;if(A&&(typeof A=="object"||typeof A=="function")&&typeof v=="function")return function(){v.apply(A,arguments)}}function u(A,v){var x=!1;function b(T){x||(x=!0,n.reject(A,T))}function w(T){x||(x=!0,n.resolve(A,T))}var _=f(function(){v(w,b)});_.status==="error"&&b(_.value)}function f(A,v){var x={};try{x.value=A(v),x.status="success"}catch(b){x.status="error",x.value=b}return x}(g.exports=i).prototype.finally=function(A){if(typeof A!="function")return this;var v=this.constructor;return this.then(function(x){return v.resolve(A()).then(function(){return x})},function(x){return v.resolve(A()).then(function(){throw x})})},i.prototype.catch=function(A){return this.then(null,A)},i.prototype.then=function(A,v){if(typeof A!="function"&&this.state===a||typeof v!="function"&&this.state===t)return this;var x=new this.constructor(o);return this.state!==d?e(x,this.state===a?A:v,this.outcome):this.queue.push(new l(x,A,v)),x},l.prototype.callFulfilled=function(A){n.resolve(this.promise,A)},l.prototype.otherCallFulfilled=function(A){e(this.promise,this.onFulfilled,A)},l.prototype.callRejected=function(A){n.reject(this.promise,A)},l.prototype.otherCallRejected=function(A){e(this.promise,this.onRejected,A)},n.resolve=function(A,v){var x=f(s,v);if(x.status==="error")return n.reject(A,x.value);var b=x.value;if(b)u(A,b);else{A.state=a,A.outcome=v;for(var w=-1,_=A.queue.length;++w<_;)A.queue[w].callFulfilled(v)}return A},n.reject=function(A,v){A.state=t,A.outcome=v;for(var x=-1,b=A.queue.length;++x<b;)A.queue[x].callRejected(v);return A},i.resolve=function(A){return A instanceof this?A:n.resolve(new this(o),A)},i.reject=function(A){var v=new this(o);return n.reject(v,A)},i.all=function(A){var v=this;if(Object.prototype.toString.call(A)!=="[object Array]")return this.reject(new TypeError("must be an array"));var x=A.length,b=!1;if(!x)return this.resolve([]);for(var w=new Array(x),_=0,T=-1,S=new this(o);++T<x;)E(A[T],T);return S;function E(I,O){v.resolve(I).then(function(F){w[O]=F,++_!==x||b||(b=!0,n.resolve(S,w))},function(F){b||(b=!0,n.reject(S,F))})}},i.race=function(A){var v=this;if(Object.prototype.toString.call(A)!=="[object Array]")return this.reject(new TypeError("must be an array"));var x=A.length,b=!1;if(!x)return this.resolve([]);for(var w=-1,_=new this(o);++w<x;)T=A[w],v.resolve(T).then(function(S){b||(b=!0,n.resolve(_,S))},function(S){b||(b=!0,n.reject(_,S))});var T;return _}},{immediate:36}],38:[function(p,g,h){"use strict";var c={};(0,p("./lib/utils/common").assign)(c,p("./lib/deflate"),p("./lib/inflate"),p("./lib/zlib/constants")),g.exports=c},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(p,g,h){"use strict";var c=p("./zlib/deflate"),o=p("./utils/common"),n=p("./utils/strings"),t=p("./zlib/messages"),a=p("./zlib/zstream"),d=Object.prototype.toString,i=0,l=-1,e=0,s=8;function u(A){if(!(this instanceof u))return new u(A);this.options=o.assign({level:l,method:s,chunkSize:16384,windowBits:15,memLevel:8,strategy:e,to:""},A||{});var v=this.options;v.raw&&0<v.windowBits?v.windowBits=-v.windowBits:v.gzip&&0<v.windowBits&&v.windowBits<16&&(v.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new a,this.strm.avail_out=0;var x=c.deflateInit2(this.strm,v.level,v.method,v.windowBits,v.memLevel,v.strategy);if(x!==i)throw new Error(t[x]);if(v.header&&c.deflateSetHeader(this.strm,v.header),v.dictionary){var b;if(b=typeof v.dictionary=="string"?n.string2buf(v.dictionary):d.call(v.dictionary)==="[object ArrayBuffer]"?new Uint8Array(v.dictionary):v.dictionary,(x=c.deflateSetDictionary(this.strm,b))!==i)throw new Error(t[x]);this._dict_set=!0}}function f(A,v){var x=new u(v);if(x.push(A,!0),x.err)throw x.msg||t[x.err];return x.result}u.prototype.push=function(A,v){var x,b,w=this.strm,_=this.options.chunkSize;if(this.ended)return!1;b=v===~~v?v:v===!0?4:0,typeof A=="string"?w.input=n.string2buf(A):d.call(A)==="[object ArrayBuffer]"?w.input=new Uint8Array(A):w.input=A,w.next_in=0,w.avail_in=w.input.length;do{if(w.avail_out===0&&(w.output=new o.Buf8(_),w.next_out=0,w.avail_out=_),(x=c.deflate(w,b))!==1&&x!==i)return this.onEnd(x),!(this.ended=!0);w.avail_out!==0&&(w.avail_in!==0||b!==4&&b!==2)||(this.options.to==="string"?this.onData(n.buf2binstring(o.shrinkBuf(w.output,w.next_out))):this.onData(o.shrinkBuf(w.output,w.next_out)))}while((0<w.avail_in||w.avail_out===0)&&x!==1);return b===4?(x=c.deflateEnd(this.strm),this.onEnd(x),this.ended=!0,x===i):b!==2||(this.onEnd(i),!(w.avail_out=0))},u.prototype.onData=function(A){this.chunks.push(A)},u.prototype.onEnd=function(A){A===i&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=A,this.msg=this.strm.msg},h.Deflate=u,h.deflate=f,h.deflateRaw=function(A,v){return(v=v||{}).raw=!0,f(A,v)},h.gzip=function(A,v){return(v=v||{}).gzip=!0,f(A,v)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(p,g,h){"use strict";var c=p("./zlib/inflate"),o=p("./utils/common"),n=p("./utils/strings"),t=p("./zlib/constants"),a=p("./zlib/messages"),d=p("./zlib/zstream"),i=p("./zlib/gzheader"),l=Object.prototype.toString;function e(u){if(!(this instanceof e))return new e(u);this.options=o.assign({chunkSize:16384,windowBits:0,to:""},u||{});var f=this.options;f.raw&&0<=f.windowBits&&f.windowBits<16&&(f.windowBits=-f.windowBits,f.windowBits===0&&(f.windowBits=-15)),!(0<=f.windowBits&&f.windowBits<16)||u&&u.windowBits||(f.windowBits+=32),15<f.windowBits&&f.windowBits<48&&(15&f.windowBits)==0&&(f.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new d,this.strm.avail_out=0;var A=c.inflateInit2(this.strm,f.windowBits);if(A!==t.Z_OK)throw new Error(a[A]);this.header=new i,c.inflateGetHeader(this.strm,this.header)}function s(u,f){var A=new e(f);if(A.push(u,!0),A.err)throw A.msg||a[A.err];return A.result}e.prototype.push=function(u,f){var A,v,x,b,w,_,T=this.strm,S=this.options.chunkSize,E=this.options.dictionary,I=!1;if(this.ended)return!1;v=f===~~f?f:f===!0?t.Z_FINISH:t.Z_NO_FLUSH,typeof u=="string"?T.input=n.binstring2buf(u):l.call(u)==="[object ArrayBuffer]"?T.input=new Uint8Array(u):T.input=u,T.next_in=0,T.avail_in=T.input.length;do{if(T.avail_out===0&&(T.output=new o.Buf8(S),T.next_out=0,T.avail_out=S),(A=c.inflate(T,t.Z_NO_FLUSH))===t.Z_NEED_DICT&&E&&(_=typeof E=="string"?n.string2buf(E):l.call(E)==="[object ArrayBuffer]"?new Uint8Array(E):E,A=c.inflateSetDictionary(this.strm,_)),A===t.Z_BUF_ERROR&&I===!0&&(A=t.Z_OK,I=!1),A!==t.Z_STREAM_END&&A!==t.Z_OK)return this.onEnd(A),!(this.ended=!0);T.next_out&&(T.avail_out!==0&&A!==t.Z_STREAM_END&&(T.avail_in!==0||v!==t.Z_FINISH&&v!==t.Z_SYNC_FLUSH)||(this.options.to==="string"?(x=n.utf8border(T.output,T.next_out),b=T.next_out-x,w=n.buf2string(T.output,x),T.next_out=b,T.avail_out=S-b,b&&o.arraySet(T.output,T.output,x,b,0),this.onData(w)):this.onData(o.shrinkBuf(T.output,T.next_out)))),T.avail_in===0&&T.avail_out===0&&(I=!0)}while((0<T.avail_in||T.avail_out===0)&&A!==t.Z_STREAM_END);return A===t.Z_STREAM_END&&(v=t.Z_FINISH),v===t.Z_FINISH?(A=c.inflateEnd(this.strm),this.onEnd(A),this.ended=!0,A===t.Z_OK):v!==t.Z_SYNC_FLUSH||(this.onEnd(t.Z_OK),!(T.avail_out=0))},e.prototype.onData=function(u){this.chunks.push(u)},e.prototype.onEnd=function(u){u===t.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},h.Inflate=e,h.inflate=s,h.inflateRaw=function(u,f){return(f=f||{}).raw=!0,s(u,f)},h.ungzip=s},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(p,g,h){"use strict";var c=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";h.assign=function(t){for(var a=Array.prototype.slice.call(arguments,1);a.length;){var d=a.shift();if(d){if(typeof d!="object")throw new TypeError(d+"must be non-object");for(var i in d)d.hasOwnProperty(i)&&(t[i]=d[i])}}return t},h.shrinkBuf=function(t,a){return t.length===a?t:t.subarray?t.subarray(0,a):(t.length=a,t)};var o={arraySet:function(a,d,i,l,e){if(d.subarray&&a.subarray)a.set(d.subarray(i,i+l),e);else for(var s=0;s<l;s++)a[e+s]=d[i+s]},flattenChunks:function(a){var d,i,l,e,s,u;for(d=l=0,i=a.length;d<i;d++)l+=a[d].length;for(u=new Uint8Array(l),d=e=0,i=a.length;d<i;d++)s=a[d],u.set(s,e),e+=s.length;return u}},n={arraySet:function(a,d,i,l,e){for(var s=0;s<l;s++)a[e+s]=d[i+s]},flattenChunks:function(a){return[].concat.apply([],a)}};h.setTyped=function(t){t?(h.Buf8=Uint8Array,h.Buf16=Uint16Array,h.Buf32=Int32Array,h.assign(h,o)):(h.Buf8=Array,h.Buf16=Array,h.Buf32=Array,h.assign(h,n))},h.setTyped(c)},{}],42:[function(p,g,h){"use strict";var c=p("./common"),o=!0,n=!0;try{String.fromCharCode.apply(null,[0])}catch(i){o=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(i){n=!1}for(var t=new c.Buf8(256),a=0;a<256;a++)t[a]=252<=a?6:248<=a?5:240<=a?4:224<=a?3:192<=a?2:1;function d(i,l){if(l<65537&&(i.subarray&&n||!i.subarray&&o))return String.fromCharCode.apply(null,c.shrinkBuf(i,l));for(var e="",s=0;s<l;s++)e+=String.fromCharCode(i[s]);return e}t[254]=t[254]=1,h.string2buf=function(i){var l,e,s,u,f,A=i.length,v=0;for(u=0;u<A;u++)(64512&(e=i.charCodeAt(u)))==55296&&u+1<A&&(64512&(s=i.charCodeAt(u+1)))==56320&&(e=65536+(e-55296<<10)+(s-56320),u++),v+=e<128?1:e<2048?2:e<65536?3:4;for(l=new c.Buf8(v),u=f=0;f<v;u++)(64512&(e=i.charCodeAt(u)))==55296&&u+1<A&&(64512&(s=i.charCodeAt(u+1)))==56320&&(e=65536+(e-55296<<10)+(s-56320),u++),e<128?l[f++]=e:(e<2048?l[f++]=192|e>>>6:(e<65536?l[f++]=224|e>>>12:(l[f++]=240|e>>>18,l[f++]=128|e>>>12&63),l[f++]=128|e>>>6&63),l[f++]=128|63&e);return l},h.buf2binstring=function(i){return d(i,i.length)},h.binstring2buf=function(i){for(var l=new c.Buf8(i.length),e=0,s=l.length;e<s;e++)l[e]=i.charCodeAt(e);return l},h.buf2string=function(i,l){var e,s,u,f,A=l||i.length,v=new Array(2*A);for(e=s=0;e<A;)if((u=i[e++])<128)v[s++]=u;else if(4<(f=t[u]))v[s++]=65533,e+=f-1;else{for(u&=f===2?31:f===3?15:7;1<f&&e<A;)u=u<<6|63&i[e++],f--;1<f?v[s++]=65533:u<65536?v[s++]=u:(u-=65536,v[s++]=55296|u>>10&1023,v[s++]=56320|1023&u)}return d(v,s)},h.utf8border=function(i,l){var e;for((l=l||i.length)>i.length&&(l=i.length),e=l-1;0<=e&&(192&i[e])==128;)e--;return e<0||e===0?l:e+t[i[e]]>l?e:l}},{"./common":41}],43:[function(p,g,h){"use strict";g.exports=function(c,o,n,t){for(var a=65535&c|0,d=c>>>16&65535|0,i=0;n!==0;){for(n-=i=2e3<n?2e3:n;d=d+(a=a+o[t++]|0)|0,--i;);a%=65521,d%=65521}return a|d<<16|0}},{}],44:[function(p,g,h){"use strict";g.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(p,g,h){"use strict";var c=function(){for(var o,n=[],t=0;t<256;t++){o=t;for(var a=0;a<8;a++)o=1&o?3988292384^o>>>1:o>>>1;n[t]=o}return n}();g.exports=function(o,n,t,a){var d=c,i=a+t;o^=-1;for(var l=a;l<i;l++)o=o>>>8^d[255&(o^n[l])];return-1^o}},{}],46:[function(p,g,h){"use strict";var c,o=p("../utils/common"),n=p("./trees"),t=p("./adler32"),a=p("./crc32"),d=p("./messages"),i=0,l=4,e=0,s=-2,u=-1,f=4,A=2,v=8,x=9,b=286,w=30,_=19,T=2*b+1,S=15,E=3,I=258,O=I+E+1,F=42,k=113,M=1,P=2,V=3,D=4;function H(Q,ie){return Q.msg=d[ie],ie}function U(Q){return(Q<<1)-(4<Q?9:0)}function z(Q){for(var ie=Q.length;0<=--ie;)Q[ie]=0}function K(Q){var ie=Q.state,Ve=ie.pending;Ve>Q.avail_out&&(Ve=Q.avail_out),Ve!==0&&(o.arraySet(Q.output,ie.pending_buf,ie.pending_out,Ve,Q.next_out),Q.next_out+=Ve,ie.pending_out+=Ve,Q.total_out+=Ve,Q.avail_out-=Ve,ie.pending-=Ve,ie.pending===0&&(ie.pending_out=0))}function G(Q,ie){n._tr_flush_block(Q,0<=Q.block_start?Q.block_start:-1,Q.strstart-Q.block_start,ie),Q.block_start=Q.strstart,K(Q.strm)}function X(Q,ie){Q.pending_buf[Q.pending++]=ie}function Z(Q,ie){Q.pending_buf[Q.pending++]=ie>>>8&255,Q.pending_buf[Q.pending++]=255&ie}function ee(Q,ie){var Ve,J,W=Q.max_chain_length,j=Q.strstart,Y=Q.prev_length,me=Q.nice_match,ae=Q.strstart>Q.w_size-O?Q.strstart-(Q.w_size-O):0,Le=Q.window,Ee=Q.w_mask,ne=Q.prev,ge=Q.strstart+I,Ie=Le[j+Y-1],Ge=Le[j+Y];Q.prev_length>=Q.good_match&&(W>>=2),me>Q.lookahead&&(me=Q.lookahead);do if(Le[(Ve=ie)+Y]===Ge&&Le[Ve+Y-1]===Ie&&Le[Ve]===Le[j]&&Le[++Ve]===Le[j+1]){j+=2,Ve++;do;while(Le[++j]===Le[++Ve]&&Le[++j]===Le[++Ve]&&Le[++j]===Le[++Ve]&&Le[++j]===Le[++Ve]&&Le[++j]===Le[++Ve]&&Le[++j]===Le[++Ve]&&Le[++j]===Le[++Ve]&&Le[++j]===Le[++Ve]&&j<ge);if(J=I-(ge-j),j=ge-I,Y<J){if(Q.match_start=ie,me<=(Y=J))break;Ie=Le[j+Y-1],Ge=Le[j+Y]}}while((ie=ne[ie&Ee])>ae&&--W!=0);return Y<=Q.lookahead?Y:Q.lookahead}function Se(Q){var ie,Ve,J,W,j,Y,me,ae,Le,Ee,ne=Q.w_size;do{if(W=Q.window_size-Q.lookahead-Q.strstart,Q.strstart>=ne+(ne-O)){for(o.arraySet(Q.window,Q.window,ne,ne,0),Q.match_start-=ne,Q.strstart-=ne,Q.block_start-=ne,ie=Ve=Q.hash_size;J=Q.head[--ie],Q.head[ie]=ne<=J?J-ne:0,--Ve;);for(ie=Ve=ne;J=Q.prev[--ie],Q.prev[ie]=ne<=J?J-ne:0,--Ve;);W+=ne}if(Q.strm.avail_in===0)break;if(Y=Q.strm,me=Q.window,ae=Q.strstart+Q.lookahead,Le=W,Ee=void 0,Ee=Y.avail_in,Le<Ee&&(Ee=Le),Ve=Ee===0?0:(Y.avail_in-=Ee,o.arraySet(me,Y.input,Y.next_in,Ee,ae),Y.state.wrap===1?Y.adler=t(Y.adler,me,Ee,ae):Y.state.wrap===2&&(Y.adler=a(Y.adler,me,Ee,ae)),Y.next_in+=Ee,Y.total_in+=Ee,Ee),Q.lookahead+=Ve,Q.lookahead+Q.insert>=E)for(j=Q.strstart-Q.insert,Q.ins_h=Q.window[j],Q.ins_h=(Q.ins_h<<Q.hash_shift^Q.window[j+1])&Q.hash_mask;Q.insert&&(Q.ins_h=(Q.ins_h<<Q.hash_shift^Q.window[j+E-1])&Q.hash_mask,Q.prev[j&Q.w_mask]=Q.head[Q.ins_h],Q.head[Q.ins_h]=j,j++,Q.insert--,!(Q.lookahead+Q.insert<E)););}while(Q.lookahead<O&&Q.strm.avail_in!==0)}function $(Q,ie){for(var Ve,J;;){if(Q.lookahead<O){if(Se(Q),Q.lookahead<O&&ie===i)return M;if(Q.lookahead===0)break}if(Ve=0,Q.lookahead>=E&&(Q.ins_h=(Q.ins_h<<Q.hash_shift^Q.window[Q.strstart+E-1])&Q.hash_mask,Ve=Q.prev[Q.strstart&Q.w_mask]=Q.head[Q.ins_h],Q.head[Q.ins_h]=Q.strstart),Ve!==0&&Q.strstart-Ve<=Q.w_size-O&&(Q.match_length=ee(Q,Ve)),Q.match_length>=E)if(J=n._tr_tally(Q,Q.strstart-Q.match_start,Q.match_length-E),Q.lookahead-=Q.match_length,Q.match_length<=Q.max_lazy_match&&Q.lookahead>=E){for(Q.match_length--;Q.strstart++,Q.ins_h=(Q.ins_h<<Q.hash_shift^Q.window[Q.strstart+E-1])&Q.hash_mask,Ve=Q.prev[Q.strstart&Q.w_mask]=Q.head[Q.ins_h],Q.head[Q.ins_h]=Q.strstart,--Q.match_length!=0;);Q.strstart++}else Q.strstart+=Q.match_length,Q.match_length=0,Q.ins_h=Q.window[Q.strstart],Q.ins_h=(Q.ins_h<<Q.hash_shift^Q.window[Q.strstart+1])&Q.hash_mask;else J=n._tr_tally(Q,0,Q.window[Q.strstart]),Q.lookahead--,Q.strstart++;if(J&&(G(Q,!1),Q.strm.avail_out===0))return M}return Q.insert=Q.strstart<E-1?Q.strstart:E-1,ie===l?(G(Q,!0),Q.strm.avail_out===0?V:D):Q.last_lit&&(G(Q,!1),Q.strm.avail_out===0)?M:P}function pe(Q,ie){for(var Ve,J,W;;){if(Q.lookahead<O){if(Se(Q),Q.lookahead<O&&ie===i)return M;if(Q.lookahead===0)break}if(Ve=0,Q.lookahead>=E&&(Q.ins_h=(Q.ins_h<<Q.hash_shift^Q.window[Q.strstart+E-1])&Q.hash_mask,Ve=Q.prev[Q.strstart&Q.w_mask]=Q.head[Q.ins_h],Q.head[Q.ins_h]=Q.strstart),Q.prev_length=Q.match_length,Q.prev_match=Q.match_start,Q.match_length=E-1,Ve!==0&&Q.prev_length<Q.max_lazy_match&&Q.strstart-Ve<=Q.w_size-O&&(Q.match_length=ee(Q,Ve),Q.match_length<=5&&(Q.strategy===1||Q.match_length===E&&4096<Q.strstart-Q.match_start)&&(Q.match_length=E-1)),Q.prev_length>=E&&Q.match_length<=Q.prev_length){for(W=Q.strstart+Q.lookahead-E,J=n._tr_tally(Q,Q.strstart-1-Q.prev_match,Q.prev_length-E),Q.lookahead-=Q.prev_length-1,Q.prev_length-=2;++Q.strstart<=W&&(Q.ins_h=(Q.ins_h<<Q.hash_shift^Q.window[Q.strstart+E-1])&Q.hash_mask,Ve=Q.prev[Q.strstart&Q.w_mask]=Q.head[Q.ins_h],Q.head[Q.ins_h]=Q.strstart),--Q.prev_length!=0;);if(Q.match_available=0,Q.match_length=E-1,Q.strstart++,J&&(G(Q,!1),Q.strm.avail_out===0))return M}else if(Q.match_available){if((J=n._tr_tally(Q,0,Q.window[Q.strstart-1]))&&G(Q,!1),Q.strstart++,Q.lookahead--,Q.strm.avail_out===0)return M}else Q.match_available=1,Q.strstart++,Q.lookahead--}return Q.match_available&&(J=n._tr_tally(Q,0,Q.window[Q.strstart-1]),Q.match_available=0),Q.insert=Q.strstart<E-1?Q.strstart:E-1,ie===l?(G(Q,!0),Q.strm.avail_out===0?V:D):Q.last_lit&&(G(Q,!1),Q.strm.avail_out===0)?M:P}function xe(Q,ie,Ve,J,W){this.good_length=Q,this.max_lazy=ie,this.nice_length=Ve,this.max_chain=J,this.func=W}function _e(){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=v,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*T),this.dyn_dtree=new o.Buf16(2*(2*w+1)),this.bl_tree=new o.Buf16(2*(2*_+1)),z(this.dyn_ltree),z(this.dyn_dtree),z(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*b+1),z(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new o.Buf16(2*b+1),z(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 Ue(Q){var ie;return Q&&Q.state?(Q.total_in=Q.total_out=0,Q.data_type=A,(ie=Q.state).pending=0,ie.pending_out=0,ie.wrap<0&&(ie.wrap=-ie.wrap),ie.status=ie.wrap?F:k,Q.adler=ie.wrap===2?0:1,ie.last_flush=i,n._tr_init(ie),e):H(Q,s)}function ye(Q){var ie=Ue(Q);return ie===e&&function(Ve){Ve.window_size=2*Ve.w_size,z(Ve.head),Ve.max_lazy_match=c[Ve.level].max_lazy,Ve.good_match=c[Ve.level].good_length,Ve.nice_match=c[Ve.level].nice_length,Ve.max_chain_length=c[Ve.level].max_chain,Ve.strstart=0,Ve.block_start=0,Ve.lookahead=0,Ve.insert=0,Ve.match_length=Ve.prev_length=E-1,Ve.match_available=0,Ve.ins_h=0}(Q.state),ie}function Be(Q,ie,Ve,J,W,j){if(!Q)return s;var Y=1;if(ie===u&&(ie=6),J<0?(Y=0,J=-J):15<J&&(Y=2,J-=16),W<1||x<W||Ve!==v||J<8||15<J||ie<0||9<ie||j<0||f<j)return H(Q,s);J===8&&(J=9);var me=new _e;return(Q.state=me).strm=Q,me.wrap=Y,me.gzhead=null,me.w_bits=J,me.w_size=1<<me.w_bits,me.w_mask=me.w_size-1,me.hash_bits=W+7,me.hash_size=1<<me.hash_bits,me.hash_mask=me.hash_size-1,me.hash_shift=~~((me.hash_bits+E-1)/E),me.window=new o.Buf8(2*me.w_size),me.head=new o.Buf16(me.hash_size),me.prev=new o.Buf16(me.w_size),me.lit_bufsize=1<<W+6,me.pending_buf_size=4*me.lit_bufsize,me.pending_buf=new o.Buf8(me.pending_buf_size),me.d_buf=1*me.lit_bufsize,me.l_buf=3*me.lit_bufsize,me.level=ie,me.strategy=j,me.method=Ve,ye(Q)}c=[new xe(0,0,0,0,function(Q,ie){var Ve=65535;for(Ve>Q.pending_buf_size-5&&(Ve=Q.pending_buf_size-5);;){if(Q.lookahead<=1){if(Se(Q),Q.lookahead===0&&ie===i)return M;if(Q.lookahead===0)break}Q.strstart+=Q.lookahead,Q.lookahead=0;var J=Q.block_start+Ve;if((Q.strstart===0||Q.strstart>=J)&&(Q.lookahead=Q.strstart-J,Q.strstart=J,G(Q,!1),Q.strm.avail_out===0))return M;if(Q.strstart-Q.block_start>=Q.w_size-O&&(G(Q,!1),Q.strm.avail_out===0))return M}return Q.insert=0,ie===l?(G(Q,!0),Q.strm.avail_out===0?V:D):(Q.strstart>Q.block_start&&(G(Q,!1),Q.strm.avail_out),M)}),new xe(4,4,8,4,$),new xe(4,5,16,8,$),new xe(4,6,32,32,$),new xe(4,4,16,16,pe),new xe(8,16,32,32,pe),new xe(8,16,128,128,pe),new xe(8,32,128,256,pe),new xe(32,128,258,1024,pe),new xe(32,258,258,4096,pe)],h.deflateInit=function(Q,ie){return Be(Q,ie,v,15,8,0)},h.deflateInit2=Be,h.deflateReset=ye,h.deflateResetKeep=Ue,h.deflateSetHeader=function(Q,ie){return Q&&Q.state?Q.state.wrap!==2?s:(Q.state.gzhead=ie,e):s},h.deflate=function(Q,ie){var Ve,J,W,j;if(!Q||!Q.state||5<ie||ie<0)return Q?H(Q,s):s;if(J=Q.state,!Q.output||!Q.input&&Q.avail_in!==0||J.status===666&&ie!==l)return H(Q,Q.avail_out===0?-5:s);if(J.strm=Q,Ve=J.last_flush,J.last_flush=ie,J.status===F)if(J.wrap===2)Q.adler=0,X(J,31),X(J,139),X(J,8),J.gzhead?(X(J,(J.gzhead.text?1:0)+(J.gzhead.hcrc?2:0)+(J.gzhead.extra?4:0)+(J.gzhead.name?8:0)+(J.gzhead.comment?16:0)),X(J,255&J.gzhead.time),X(J,J.gzhead.time>>8&255),X(J,J.gzhead.time>>16&255),X(J,J.gzhead.time>>24&255),X(J,J.level===9?2:2<=J.strategy||J.level<2?4:0),X(J,255&J.gzhead.os),J.gzhead.extra&&J.gzhead.extra.length&&(X(J,255&J.gzhead.extra.length),X(J,J.gzhead.extra.length>>8&255)),J.gzhead.hcrc&&(Q.adler=a(Q.adler,J.pending_buf,J.pending,0)),J.gzindex=0,J.status=69):(X(J,0),X(J,0),X(J,0),X(J,0),X(J,0),X(J,J.level===9?2:2<=J.strategy||J.level<2?4:0),X(J,3),J.status=k);else{var Y=v+(J.w_bits-8<<4)<<8;Y|=(2<=J.strategy||J.level<2?0:J.level<6?1:J.level===6?2:3)<<6,J.strstart!==0&&(Y|=32),Y+=31-Y%31,J.status=k,Z(J,Y),J.strstart!==0&&(Z(J,Q.adler>>>16),Z(J,65535&Q.adler)),Q.adler=1}if(J.status===69)if(J.gzhead.extra){for(W=J.pending;J.gzindex<(65535&J.gzhead.extra.length)&&(J.pending!==J.pending_buf_size||(J.gzhead.hcrc&&J.pending>W&&(Q.adler=a(Q.adler,J.pending_buf,J.pending-W,W)),K(Q),W=J.pending,J.pending!==J.pending_buf_size));)X(J,255&J.gzhead.extra[J.gzindex]),J.gzindex++;J.gzhead.hcrc&&J.pending>W&&(Q.adler=a(Q.adler,J.pending_buf,J.pending-W,W)),J.gzindex===J.gzhead.extra.length&&(J.gzindex=0,J.status=73)}else J.status=73;if(J.status===73)if(J.gzhead.name){W=J.pending;do{if(J.pending===J.pending_buf_size&&(J.gzhead.hcrc&&J.pending>W&&(Q.adler=a(Q.adler,J.pending_buf,J.pending-W,W)),K(Q),W=J.pending,J.pending===J.pending_buf_size)){j=1;break}j=J.gzindex<J.gzhead.name.length?255&J.gzhead.name.charCodeAt(J.gzindex++):0,X(J,j)}while(j!==0);J.gzhead.hcrc&&J.pending>W&&(Q.adler=a(Q.adler,J.pending_buf,J.pending-W,W)),j===0&&(J.gzindex=0,J.status=91)}else J.status=91;if(J.status===91)if(J.gzhead.comment){W=J.pending;do{if(J.pending===J.pending_buf_size&&(J.gzhead.hcrc&&J.pending>W&&(Q.adler=a(Q.adler,J.pending_buf,J.pending-W,W)),K(Q),W=J.pending,J.pending===J.pending_buf_size)){j=1;break}j=J.gzindex<J.gzhead.comment.length?255&J.gzhead.comment.charCodeAt(J.gzindex++):0,X(J,j)}while(j!==0);J.gzhead.hcrc&&J.pending>W&&(Q.adler=a(Q.adler,J.pending_buf,J.pending-W,W)),j===0&&(J.status=103)}else J.status=103;if(J.status===103&&(J.gzhead.hcrc?(J.pending+2>J.pending_buf_size&&K(Q),J.pending+2<=J.pending_buf_size&&(X(J,255&Q.adler),X(J,Q.adler>>8&255),Q.adler=0,J.status=k)):J.status=k),J.pending!==0){if(K(Q),Q.avail_out===0)return J.last_flush=-1,e}else if(Q.avail_in===0&&U(ie)<=U(Ve)&&ie!==l)return H(Q,-5);if(J.status===666&&Q.avail_in!==0)return H(Q,-5);if(Q.avail_in!==0||J.lookahead!==0||ie!==i&&J.status!==666){var me=J.strategy===2?function(ae,Le){for(var Ee;;){if(ae.lookahead===0&&(Se(ae),ae.lookahead===0)){if(Le===i)return M;break}if(ae.match_length=0,Ee=n._tr_tally(ae,0,ae.window[ae.strstart]),ae.lookahead--,ae.strstart++,Ee&&(G(ae,!1),ae.strm.avail_out===0))return M}return ae.insert=0,Le===l?(G(ae,!0),ae.strm.avail_out===0?V:D):ae.last_lit&&(G(ae,!1),ae.strm.avail_out===0)?M:P}(J,ie):J.strategy===3?function(ae,Le){for(var Ee,ne,ge,Ie,Ge=ae.window;;){if(ae.lookahead<=I){if(Se(ae),ae.lookahead<=I&&Le===i)return M;if(ae.lookahead===0)break}if(ae.match_length=0,ae.lookahead>=E&&0<ae.strstart&&(ne=Ge[ge=ae.strstart-1])===Ge[++ge]&&ne===Ge[++ge]&&ne===Ge[++ge]){Ie=ae.strstart+I;do;while(ne===Ge[++ge]&&ne===Ge[++ge]&&ne===Ge[++ge]&&ne===Ge[++ge]&&ne===Ge[++ge]&&ne===Ge[++ge]&&ne===Ge[++ge]&&ne===Ge[++ge]&&ge<Ie);ae.match_length=I-(Ie-ge),ae.match_length>ae.lookahead&&(ae.match_length=ae.lookahead)}if(ae.match_length>=E?(Ee=n._tr_tally(ae,1,ae.match_length-E),ae.lookahead-=ae.match_length,ae.strstart+=ae.match_length,ae.match_length=0):(Ee=n._tr_tally(ae,0,ae.window[ae.strstart]),ae.lookahead--,ae.strstart++),Ee&&(G(ae,!1),ae.strm.avail_out===0))return M}return ae.insert=0,Le===l?(G(ae,!0),ae.strm.avail_out===0?V:D):ae.last_lit&&(G(ae,!1),ae.strm.avail_out===0)?M:P}(J,ie):c[J.level].func(J,ie);if(me!==V&&me!==D||(J.status=666),me===M||me===V)return Q.avail_out===0&&(J.last_flush=-1),e;if(me===P&&(ie===1?n._tr_align(J):ie!==5&&(n._tr_stored_block(J,0,0,!1),ie===3&&(z(J.head),J.lookahead===0&&(J.strstart=0,J.block_start=0,J.insert=0))),K(Q),Q.avail_out===0))return J.last_flush=-1,e}return ie!==l?e:J.wrap<=0?1:(J.wrap===2?(X(J,255&Q.adler),X(J,Q.adler>>8&255),X(J,Q.adler>>16&255),X(J,Q.adler>>24&255),X(J,255&Q.total_in),X(J,Q.total_in>>8&255),X(J,Q.total_in>>16&255),X(J,Q.total_in>>24&255)):(Z(J,Q.adler>>>16),Z(J,65535&Q.adler)),K(Q),0<J.wrap&&(J.wrap=-J.wrap),J.pending!==0?e:1)},h.deflateEnd=function(Q){var ie;return Q&&Q.state?(ie=Q.state.status)!==F&&ie!==69&&ie!==73&&ie!==91&&ie!==103&&ie!==k&&ie!==666?H(Q,s):(Q.state=null,ie===k?H(Q,-3):e):s},h.deflateSetDictionary=function(Q,ie){var Ve,J,W,j,Y,me,ae,Le,Ee=ie.length;if(!Q||!Q.state)return s;if((j=(Ve=Q.state).wrap)===2||j===1&&Ve.status!==F||Ve.lookahead)return s;for(j===1&&(Q.adler=t(Q.adler,ie,Ee,0)),Ve.wrap=0,Ee>=Ve.w_size&&(j===0&&(z(Ve.head),Ve.strstart=0,Ve.block_start=0,Ve.insert=0),Le=new o.Buf8(Ve.w_size),o.arraySet(Le,ie,Ee-Ve.w_size,Ve.w_size,0),ie=Le,Ee=Ve.w_size),Y=Q.avail_in,me=Q.next_in,ae=Q.input,Q.avail_in=Ee,Q.next_in=0,Q.input=ie,Se(Ve);Ve.lookahead>=E;){for(J=Ve.strstart,W=Ve.lookahead-(E-1);Ve.ins_h=(Ve.ins_h<<Ve.hash_shift^Ve.window[J+E-1])&Ve.hash_mask,Ve.prev[J&Ve.w_mask]=Ve.head[Ve.ins_h],Ve.head[Ve.ins_h]=J,J++,--W;);Ve.strstart=J,Ve.lookahead=E-1,Se(Ve)}return Ve.strstart+=Ve.lookahead,Ve.block_start=Ve.strstart,Ve.insert=Ve.lookahead,Ve.lookahead=0,Ve.match_length=Ve.prev_length=E-1,Ve.match_available=0,Q.next_in=me,Q.input=ae,Q.avail_in=Y,Ve.wrap=j,e},h.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(p,g,h){"use strict";g.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(p,g,h){"use strict";g.exports=function(c,o){var n,t,a,d,i,l,e,s,u,f,A,v,x,b,w,_,T,S,E,I,O,F,k,M,P;n=c.state,t=c.next_in,M=c.input,a=t+(c.avail_in-5),d=c.next_out,P=c.output,i=d-(o-c.avail_out),l=d+(c.avail_out-257),e=n.dmax,s=n.wsize,u=n.whave,f=n.wnext,A=n.window,v=n.hold,x=n.bits,b=n.lencode,w=n.distcode,_=(1<<n.lenbits)-1,T=(1<<n.distbits)-1;e:do{x<15&&(v+=M[t++]<<x,x+=8,v+=M[t++]<<x,x+=8),S=b[v&_];t:for(;;){if(v>>>=E=S>>>24,x-=E,(E=S>>>16&255)===0)P[d++]=65535&S;else{if(!(16&E)){if((64&E)==0){S=b[(65535&S)+(v&(1<<E)-1)];continue t}if(32&E){n.mode=12;break e}c.msg="invalid literal/length code",n.mode=30;break e}I=65535&S,(E&=15)&&(x<E&&(v+=M[t++]<<x,x+=8),I+=v&(1<<E)-1,v>>>=E,x-=E),x<15&&(v+=M[t++]<<x,x+=8,v+=M[t++]<<x,x+=8),S=w[v&T];r:for(;;){if(v>>>=E=S>>>24,x-=E,!(16&(E=S>>>16&255))){if((64&E)==0){S=w[(65535&S)+(v&(1<<E)-1)];continue r}c.msg="invalid distance code",n.mode=30;break e}if(O=65535&S,x<(E&=15)&&(v+=M[t++]<<x,(x+=8)<E&&(v+=M[t++]<<x,x+=8)),e<(O+=v&(1<<E)-1)){c.msg="invalid distance too far back",n.mode=30;break e}if(v>>>=E,x-=E,(E=d-i)<O){if(u<(E=O-E)&&n.sane){c.msg="invalid distance too far back",n.mode=30;break e}if(k=A,(F=0)===f){if(F+=s-E,E<I){for(I-=E;P[d++]=A[F++],--E;);F=d-O,k=P}}else if(f<E){if(F+=s+f-E,(E-=f)<I){for(I-=E;P[d++]=A[F++],--E;);if(F=0,f<I){for(I-=E=f;P[d++]=A[F++],--E;);F=d-O,k=P}}}else if(F+=f-E,E<I){for(I-=E;P[d++]=A[F++],--E;);F=d-O,k=P}for(;2<I;)P[d++]=k[F++],P[d++]=k[F++],P[d++]=k[F++],I-=3;I&&(P[d++]=k[F++],1<I&&(P[d++]=k[F++]))}else{for(F=d-O;P[d++]=P[F++],P[d++]=P[F++],P[d++]=P[F++],2<(I-=3););I&&(P[d++]=P[F++],1<I&&(P[d++]=P[F++]))}break}}break}}while(t<a&&d<l);t-=I=x>>3,v&=(1<<(x-=I<<3))-1,c.next_in=t,c.next_out=d,c.avail_in=t<a?a-t+5:5-(t-a),c.avail_out=d<l?l-d+257:257-(d-l),n.hold=v,n.bits=x}},{}],49:[function(p,g,h){"use strict";var c=p("../utils/common"),o=p("./adler32"),n=p("./crc32"),t=p("./inffast"),a=p("./inftrees"),d=1,i=2,l=0,e=-2,s=1,u=852,f=592;function A(F){return(F>>>24&255)+(F>>>8&65280)+((65280&F)<<8)+((255&F)<<24)}function v(){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 x(F){var k;return F&&F.state?(k=F.state,F.total_in=F.total_out=k.total=0,F.msg="",k.wrap&&(F.adler=1&k.wrap),k.mode=s,k.last=0,k.havedict=0,k.dmax=32768,k.head=null,k.hold=0,k.bits=0,k.lencode=k.lendyn=new c.Buf32(u),k.distcode=k.distdyn=new c.Buf32(f),k.sane=1,k.back=-1,l):e}function b(F){var k;return F&&F.state?((k=F.state).wsize=0,k.whave=0,k.wnext=0,x(F)):e}function w(F,k){var M,P;return F&&F.state?(P=F.state,k<0?(M=0,k=-k):(M=1+(k>>4),k<48&&(k&=15)),k&&(k<8||15<k)?e:(P.window!==null&&P.wbits!==k&&(P.window=null),P.wrap=M,P.wbits=k,b(F))):e}function _(F,k){var M,P;return F?(P=new v,(F.state=P).window=null,(M=w(F,k))!==l&&(F.state=null),M):e}var T,S,E=!0;function I(F){if(E){var k;for(T=new c.Buf32(512),S=new c.Buf32(32),k=0;k<144;)F.lens[k++]=8;for(;k<256;)F.lens[k++]=9;for(;k<280;)F.lens[k++]=7;for(;k<288;)F.lens[k++]=8;for(a(d,F.lens,0,288,T,0,F.work,{bits:9}),k=0;k<32;)F.lens[k++]=5;a(i,F.lens,0,32,S,0,F.work,{bits:5}),E=!1}F.lencode=T,F.lenbits=9,F.distcode=S,F.distbits=5}function O(F,k,M,P){var V,D=F.state;return D.window===null&&(D.wsize=1<<D.wbits,D.wnext=0,D.whave=0,D.window=new c.Buf8(D.wsize)),P>=D.wsize?(c.arraySet(D.window,k,M-D.wsize,D.wsize,0),D.wnext=0,D.whave=D.wsize):(P<(V=D.wsize-D.wnext)&&(V=P),c.arraySet(D.window,k,M-P,V,D.wnext),(P-=V)?(c.arraySet(D.window,k,M-P,P,0),D.wnext=P,D.whave=D.wsize):(D.wnext+=V,D.wnext===D.wsize&&(D.wnext=0),D.whave<D.wsize&&(D.whave+=V))),0}h.inflateReset=b,h.inflateReset2=w,h.inflateResetKeep=x,h.inflateInit=function(F){return _(F,15)},h.inflateInit2=_,h.inflate=function(F,k){var M,P,V,D,H,U,z,K,G,X,Z,ee,Se,$,pe,xe,_e,Ue,ye,Be,Q,ie,Ve,J,W=0,j=new c.Buf8(4),Y=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!F||!F.state||!F.output||!F.input&&F.avail_in!==0)return e;(M=F.state).mode===12&&(M.mode=13),H=F.next_out,V=F.output,z=F.avail_out,D=F.next_in,P=F.input,U=F.avail_in,K=M.hold,G=M.bits,X=U,Z=z,ie=l;e:for(;;)switch(M.mode){case s:if(M.wrap===0){M.mode=13;break}for(;G<16;){if(U===0)break e;U--,K+=P[D++]<<G,G+=8}if(2&M.wrap&&K===35615){j[M.check=0]=255&K,j[1]=K>>>8&255,M.check=n(M.check,j,2,0),G=K=0,M.mode=2;break}if(M.flags=0,M.head&&(M.head.done=!1),!(1&M.wrap)||(((255&K)<<8)+(K>>8))%31){F.msg="incorrect header check",M.mode=30;break}if((15&K)!=8){F.msg="unknown compression method",M.mode=30;break}if(G-=4,Q=8+(15&(K>>>=4)),M.wbits===0)M.wbits=Q;else if(Q>M.wbits){F.msg="invalid window size",M.mode=30;break}M.dmax=1<<Q,F.adler=M.check=1,M.mode=512&K?10:12,G=K=0;break;case 2:for(;G<16;){if(U===0)break e;U--,K+=P[D++]<<G,G+=8}if(M.flags=K,(255&M.flags)!=8){F.msg="unknown compression method",M.mode=30;break}if(57344&M.flags){F.msg="unknown header flags set",M.mode=30;break}M.head&&(M.head.text=K>>8&1),512&M.flags&&(j[0]=255&K,j[1]=K>>>8&255,M.check=n(M.check,j,2,0)),G=K=0,M.mode=3;case 3:for(;G<32;){if(U===0)break e;U--,K+=P[D++]<<G,G+=8}M.head&&(M.head.time=K),512&M.flags&&(j[0]=255&K,j[1]=K>>>8&255,j[2]=K>>>16&255,j[3]=K>>>24&255,M.check=n(M.check,j,4,0)),G=K=0,M.mode=4;case 4:for(;G<16;){if(U===0)break e;U--,K+=P[D++]<<G,G+=8}M.head&&(M.head.xflags=255&K,M.head.os=K>>8),512&M.flags&&(j[0]=255&K,j[1]=K>>>8&255,M.check=n(M.check,j,2,0)),G=K=0,M.mode=5;case 5:if(1024&M.flags){for(;G<16;){if(U===0)break e;U--,K+=P[D++]<<G,G+=8}M.length=K,M.head&&(M.head.extra_len=K),512&M.flags&&(j[0]=255&K,j[1]=K>>>8&255,M.check=n(M.check,j,2,0)),G=K=0}else M.head&&(M.head.extra=null);M.mode=6;case 6:if(1024&M.flags&&(U<(ee=M.length)&&(ee=U),ee&&(M.head&&(Q=M.head.extra_len-M.length,M.head.extra||(M.head.extra=new Array(M.head.extra_len)),c.arraySet(M.head.extra,P,D,ee,Q)),512&M.flags&&(M.check=n(M.check,P,ee,D)),U-=ee,D+=ee,M.length-=ee),M.length))break e;M.length=0,M.mode=7;case 7:if(2048&M.flags){if(U===0)break e;for(ee=0;Q=P[D+ee++],M.head&&Q&&M.length<65536&&(M.head.name+=String.fromCharCode(Q)),Q&&ee<U;);if(512&M.flags&&(M.check=n(M.check,P,ee,D)),U-=ee,D+=ee,Q)break e}else M.head&&(M.head.name=null);M.length=0,M.mode=8;case 8:if(4096&M.flags){if(U===0)break e;for(ee=0;Q=P[D+ee++],M.head&&Q&&M.length<65536&&(M.head.comment+=String.fromCharCode(Q)),Q&&ee<U;);if(512&M.flags&&(M.check=n(M.check,P,ee,D)),U-=ee,D+=ee,Q)break e}else M.head&&(M.head.comment=null);M.mode=9;case 9:if(512&M.flags){for(;G<16;){if(U===0)break e;U--,K+=P[D++]<<G,G+=8}if(K!==(65535&M.check)){F.msg="header crc mismatch",M.mode=30;break}G=K=0}M.head&&(M.head.hcrc=M.flags>>9&1,M.head.done=!0),F.adler=M.check=0,M.mode=12;break;case 10:for(;G<32;){if(U===0)break e;U--,K+=P[D++]<<G,G+=8}F.adler=M.check=A(K),G=K=0,M.mode=11;case 11:if(M.havedict===0)return F.next_out=H,F.avail_out=z,F.next_in=D,F.avail_in=U,M.hold=K,M.bits=G,2;F.adler=M.check=1,M.mode=12;case 12:if(k===5||k===6)break e;case 13:if(M.last){K>>>=7&G,G-=7&G,M.mode=27;break}for(;G<3;){if(U===0)break e;U--,K+=P[D++]<<G,G+=8}switch(M.last=1&K,G-=1,3&(K>>>=1)){case 0:M.mode=14;break;case 1:if(I(M),M.mode=20,k!==6)break;K>>>=2,G-=2;break e;case 2:M.mode=17;break;case 3:F.msg="invalid block type",M.mode=30}K>>>=2,G-=2;break;case 14:for(K>>>=7&G,G-=7&G;G<32;){if(U===0)break e;U--,K+=P[D++]<<G,G+=8}if((65535&K)!=(K>>>16^65535)){F.msg="invalid stored block lengths",M.mode=30;break}if(M.length=65535&K,G=K=0,M.mode=15,k===6)break e;case 15:M.mode=16;case 16:if(ee=M.length){if(U<ee&&(ee=U),z<ee&&(ee=z),ee===0)break e;c.arraySet(V,P,D,ee,H),U-=ee,D+=ee,z-=ee,H+=ee,M.length-=ee;break}M.mode=12;break;case 17:for(;G<14;){if(U===0)break e;U--,K+=P[D++]<<G,G+=8}if(M.nlen=257+(31&K),K>>>=5,G-=5,M.ndist=1+(31&K),K>>>=5,G-=5,M.ncode=4+(15&K),K>>>=4,G-=4,286<M.nlen||30<M.ndist){F.msg="too many length or distance symbols",M.mode=30;break}M.have=0,M.mode=18;case 18:for(;M.have<M.ncode;){for(;G<3;){if(U===0)break e;U--,K+=P[D++]<<G,G+=8}M.lens[Y[M.have++]]=7&K,K>>>=3,G-=3}for(;M.have<19;)M.lens[Y[M.have++]]=0;if(M.lencode=M.lendyn,M.lenbits=7,Ve={bits:M.lenbits},ie=a(0,M.lens,0,19,M.lencode,0,M.work,Ve),M.lenbits=Ve.bits,ie){F.msg="invalid code lengths set",M.mode=30;break}M.have=0,M.mode=19;case 19:for(;M.have<M.nlen+M.ndist;){for(;xe=(W=M.lencode[K&(1<<M.lenbits)-1])>>>16&255,_e=65535&W,!((pe=W>>>24)<=G);){if(U===0)break e;U--,K+=P[D++]<<G,G+=8}if(_e<16)K>>>=pe,G-=pe,M.lens[M.have++]=_e;else{if(_e===16){for(J=pe+2;G<J;){if(U===0)break e;U--,K+=P[D++]<<G,G+=8}if(K>>>=pe,G-=pe,M.have===0){F.msg="invalid bit length repeat",M.mode=30;break}Q=M.lens[M.have-1],ee=3+(3&K),K>>>=2,G-=2}else if(_e===17){for(J=pe+3;G<J;){if(U===0)break e;U--,K+=P[D++]<<G,G+=8}G-=pe,Q=0,ee=3+(7&(K>>>=pe)),K>>>=3,G-=3}else{for(J=pe+7;G<J;){if(U===0)break e;U--,K+=P[D++]<<G,G+=8}G-=pe,Q=0,ee=11+(127&(K>>>=pe)),K>>>=7,G-=7}if(M.have+ee>M.nlen+M.ndist){F.msg="invalid bit length repeat",M.mode=30;break}for(;ee--;)M.lens[M.have++]=Q}}if(M.mode===30)break;if(M.lens[256]===0){F.msg="invalid code -- missing end-of-block",M.mode=30;break}if(M.lenbits=9,Ve={bits:M.lenbits},ie=a(d,M.lens,0,M.nlen,M.lencode,0,M.work,Ve),M.lenbits=Ve.bits,ie){F.msg="invalid literal/lengths set",M.mode=30;break}if(M.distbits=6,M.distcode=M.distdyn,Ve={bits:M.distbits},ie=a(i,M.lens,M.nlen,M.ndist,M.distcode,0,M.work,Ve),M.distbits=Ve.bits,ie){F.msg="invalid distances set",M.mode=30;break}if(M.mode=20,k===6)break e;case 20:M.mode=21;case 21:if(6<=U&&258<=z){F.next_out=H,F.avail_out=z,F.next_in=D,F.avail_in=U,M.hold=K,M.bits=G,t(F,Z),H=F.next_out,V=F.output,z=F.avail_out,D=F.next_in,P=F.input,U=F.avail_in,K=M.hold,G=M.bits,M.mode===12&&(M.back=-1);break}for(M.back=0;xe=(W=M.lencode[K&(1<<M.lenbits)-1])>>>16&255,_e=65535&W,!((pe=W>>>24)<=G);){if(U===0)break e;U--,K+=P[D++]<<G,G+=8}if(xe&&(240&xe)==0){for(Ue=pe,ye=xe,Be=_e;xe=(W=M.lencode[Be+((K&(1<<Ue+ye)-1)>>Ue)])>>>16&255,_e=65535&W,!(Ue+(pe=W>>>24)<=G);){if(U===0)break e;U--,K+=P[D++]<<G,G+=8}K>>>=Ue,G-=Ue,M.back+=Ue}if(K>>>=pe,G-=pe,M.back+=pe,M.length=_e,xe===0){M.mode=26;break}if(32&xe){M.back=-1,M.mode=12;break}if(64&xe){F.msg="invalid literal/length code",M.mode=30;break}M.extra=15&xe,M.mode=22;case 22:if(M.extra){for(J=M.extra;G<J;){if(U===0)break e;U--,K+=P[D++]<<G,G+=8}M.length+=K&(1<<M.extra)-1,K>>>=M.extra,G-=M.extra,M.back+=M.extra}M.was=M.length,M.mode=23;case 23:for(;xe=(W=M.distcode[K&(1<<M.distbits)-1])>>>16&255,_e=65535&W,!((pe=W>>>24)<=G);){if(U===0)break e;U--,K+=P[D++]<<G,G+=8}if((240&xe)==0){for(Ue=pe,ye=xe,Be=_e;xe=(W=M.distcode[Be+((K&(1<<Ue+ye)-1)>>Ue)])>>>16&255,_e=65535&W,!(Ue+(pe=W>>>24)<=G);){if(U===0)break e;U--,K+=P[D++]<<G,G+=8}K>>>=Ue,G-=Ue,M.back+=Ue}if(K>>>=pe,G-=pe,M.back+=pe,64&xe){F.msg="invalid distance code",M.mode=30;break}M.offset=_e,M.extra=15&xe,M.mode=24;case 24:if(M.extra){for(J=M.extra;G<J;){if(U===0)break e;U--,K+=P[D++]<<G,G+=8}M.offset+=K&(1<<M.extra)-1,K>>>=M.extra,G-=M.extra,M.back+=M.extra}if(M.offset>M.dmax){F.msg="invalid distance too far back",M.mode=30;break}M.mode=25;case 25:if(z===0)break e;if(ee=Z-z,M.offset>ee){if((ee=M.offset-ee)>M.whave&&M.sane){F.msg="invalid distance too far back",M.mode=30;break}Se=ee>M.wnext?(ee-=M.wnext,M.wsize-ee):M.wnext-ee,ee>M.length&&(ee=M.length),$=M.window}else $=V,Se=H-M.offset,ee=M.length;for(z<ee&&(ee=z),z-=ee,M.length-=ee;V[H++]=$[Se++],--ee;);M.length===0&&(M.mode=21);break;case 26:if(z===0)break e;V[H++]=M.length,z--,M.mode=21;break;case 27:if(M.wrap){for(;G<32;){if(U===0)break e;U--,K|=P[D++]<<G,G+=8}if(Z-=z,F.total_out+=Z,M.total+=Z,Z&&(F.adler=M.check=M.flags?n(M.check,V,Z,H-Z):o(M.check,V,Z,H-Z)),Z=z,(M.flags?K:A(K))!==M.check){F.msg="incorrect data check",M.mode=30;break}G=K=0}M.mode=28;case 28:if(M.wrap&&M.flags){for(;G<32;){if(U===0)break e;U--,K+=P[D++]<<G,G+=8}if(K!==(4294967295&M.total)){F.msg="incorrect length check",M.mode=30;break}G=K=0}M.mode=29;case 29:ie=1;break e;case 30:ie=-3;break e;case 31:return-4;case 32:default:return e}return F.next_out=H,F.avail_out=z,F.next_in=D,F.avail_in=U,M.hold=K,M.bits=G,(M.wsize||Z!==F.avail_out&&M.mode<30&&(M.mode<27||k!==4))&&O(F,F.output,F.next_out,Z-F.avail_out)?(M.mode=31,-4):(X-=F.avail_in,Z-=F.avail_out,F.total_in+=X,F.total_out+=Z,M.total+=Z,M.wrap&&Z&&(F.adler=M.check=M.flags?n(M.check,V,Z,F.next_out-Z):o(M.check,V,Z,F.next_out-Z)),F.data_type=M.bits+(M.last?64:0)+(M.mode===12?128:0)+(M.mode===20||M.mode===15?256:0),(X==0&&Z===0||k===4)&&ie===l&&(ie=-5),ie)},h.inflateEnd=function(F){if(!F||!F.state)return e;var k=F.state;return k.window&&(k.window=null),F.state=null,l},h.inflateGetHeader=function(F,k){var M;return F&&F.state?(2&(M=F.state).wrap)==0?e:((M.head=k).done=!1,l):e},h.inflateSetDictionary=function(F,k){var M,P=k.length;return F&&F.state?(M=F.state).wrap!==0&&M.mode!==11?e:M.mode===11&&o(1,k,P,0)!==M.check?-3:O(F,k,P,P)?(M.mode=31,-4):(M.havedict=1,l):e},h.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(p,g,h){"use strict";var c=p("../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],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],a=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];g.exports=function(d,i,l,e,s,u,f,A){var v,x,b,w,_,T,S,E,I,O=A.bits,F=0,k=0,M=0,P=0,V=0,D=0,H=0,U=0,z=0,K=0,G=null,X=0,Z=new c.Buf16(16),ee=new c.Buf16(16),Se=null,$=0;for(F=0;F<=15;F++)Z[F]=0;for(k=0;k<e;k++)Z[i[l+k]]++;for(V=O,P=15;1<=P&&Z[P]===0;P--);if(P<V&&(V=P),P===0)return s[u++]=20971520,s[u++]=20971520,A.bits=1,0;for(M=1;M<P&&Z[M]===0;M++);for(V<M&&(V=M),F=U=1;F<=15;F++)if(U<<=1,(U-=Z[F])<0)return-1;if(0<U&&(d===0||P!==1))return-1;for(ee[1]=0,F=1;F<15;F++)ee[F+1]=ee[F]+Z[F];for(k=0;k<e;k++)i[l+k]!==0&&(f[ee[i[l+k]]++]=k);if(T=d===0?(G=Se=f,19):d===1?(G=o,X-=257,Se=n,$-=257,256):(G=t,Se=a,-1),F=M,_=u,H=k=K=0,b=-1,w=(z=1<<(D=V))-1,d===1&&852<z||d===2&&592<z)return 1;for(;;){for(S=F-H,I=f[k]<T?(E=0,f[k]):f[k]>T?(E=Se[$+f[k]],G[X+f[k]]):(E=96,0),v=1<<F-H,M=x=1<<D;s[_+(K>>H)+(x-=v)]=S<<24|E<<16|I|0,x!==0;);for(v=1<<F-1;K&v;)v>>=1;if(v!==0?(K&=v-1,K+=v):K=0,k++,--Z[F]==0){if(F===P)break;F=i[l+f[k]]}if(V<F&&(K&w)!==b){for(H===0&&(H=V),_+=M,U=1<<(D=F-H);D+H<P&&!((U-=Z[D+H])<=0);)D++,U<<=1;if(z+=1<<D,d===1&&852<z||d===2&&592<z)return 1;s[b=K&w]=V<<24|D<<16|_-u|0}}return K!==0&&(s[_+K]=F-H<<24|64<<16|0),A.bits=V,0}},{"../utils/common":41}],51:[function(p,g,h){"use strict";g.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(p,g,h){"use strict";var c=p("../utils/common"),o=0,n=1;function t(W){for(var j=W.length;0<=--j;)W[j]=0}var a=0,d=29,i=256,l=i+1+d,e=30,s=19,u=2*l+1,f=15,A=16,v=7,x=256,b=16,w=17,_=18,T=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],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],E=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],I=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],O=new Array(2*(l+2));t(O);var F=new Array(2*e);t(F);var k=new Array(512);t(k);var M=new Array(256);t(M);var P=new Array(d);t(P);var V,D,H,U=new Array(e);function z(W,j,Y,me,ae){this.static_tree=W,this.extra_bits=j,this.extra_base=Y,this.elems=me,this.max_length=ae,this.has_stree=W&&W.length}function K(W,j){this.dyn_tree=W,this.max_code=0,this.stat_desc=j}function G(W){return W<256?k[W]:k[256+(W>>>7)]}function X(W,j){W.pending_buf[W.pending++]=255&j,W.pending_buf[W.pending++]=j>>>8&255}function Z(W,j,Y){W.bi_valid>A-Y?(W.bi_buf|=j<<W.bi_valid&65535,X(W,W.bi_buf),W.bi_buf=j>>A-W.bi_valid,W.bi_valid+=Y-A):(W.bi_buf|=j<<W.bi_valid&65535,W.bi_valid+=Y)}function ee(W,j,Y){Z(W,Y[2*j],Y[2*j+1])}function Se(W,j){for(var Y=0;Y|=1&W,W>>>=1,Y<<=1,0<--j;);return Y>>>1}function $(W,j,Y){var me,ae,Le=new Array(f+1),Ee=0;for(me=1;me<=f;me++)Le[me]=Ee=Ee+Y[me-1]<<1;for(ae=0;ae<=j;ae++){var ne=W[2*ae+1];ne!==0&&(W[2*ae]=Se(Le[ne]++,ne))}}function pe(W){var j;for(j=0;j<l;j++)W.dyn_ltree[2*j]=0;for(j=0;j<e;j++)W.dyn_dtree[2*j]=0;for(j=0;j<s;j++)W.bl_tree[2*j]=0;W.dyn_ltree[2*x]=1,W.opt_len=W.static_len=0,W.last_lit=W.matches=0}function xe(W){8<W.bi_valid?X(W,W.bi_buf):0<W.bi_valid&&(W.pending_buf[W.pending++]=W.bi_buf),W.bi_buf=0,W.bi_valid=0}function _e(W,j,Y,me){var ae=2*j,Le=2*Y;return W[ae]<W[Le]||W[ae]===W[Le]&&me[j]<=me[Y]}function Ue(W,j,Y){for(var me=W.heap[Y],ae=Y<<1;ae<=W.heap_len&&(ae<W.heap_len&&_e(j,W.heap[ae+1],W.heap[ae],W.depth)&&ae++,!_e(j,me,W.heap[ae],W.depth));)W.heap[Y]=W.heap[ae],Y=ae,ae<<=1;W.heap[Y]=me}function ye(W,j,Y){var me,ae,Le,Ee,ne=0;if(W.last_lit!==0)for(;me=W.pending_buf[W.d_buf+2*ne]<<8|W.pending_buf[W.d_buf+2*ne+1],ae=W.pending_buf[W.l_buf+ne],ne++,me===0?ee(W,ae,j):(ee(W,(Le=M[ae])+i+1,j),(Ee=T[Le])!==0&&Z(W,ae-=P[Le],Ee),ee(W,Le=G(--me),Y),(Ee=S[Le])!==0&&Z(W,me-=U[Le],Ee)),ne<W.last_lit;);ee(W,x,j)}function Be(W,j){var Y,me,ae,Le=j.dyn_tree,Ee=j.stat_desc.static_tree,ne=j.stat_desc.has_stree,ge=j.stat_desc.elems,Ie=-1;for(W.heap_len=0,W.heap_max=u,Y=0;Y<ge;Y++)Le[2*Y]!==0?(W.heap[++W.heap_len]=Ie=Y,W.depth[Y]=0):Le[2*Y+1]=0;for(;W.heap_len<2;)Le[2*(ae=W.heap[++W.heap_len]=Ie<2?++Ie:0)]=1,W.depth[ae]=0,W.opt_len--,ne&&(W.static_len-=Ee[2*ae+1]);for(j.max_code=Ie,Y=W.heap_len>>1;1<=Y;Y--)Ue(W,Le,Y);for(ae=ge;Y=W.heap[1],W.heap[1]=W.heap[W.heap_len--],Ue(W,Le,1),me=W.heap[1],W.heap[--W.heap_max]=Y,W.heap[--W.heap_max]=me,Le[2*ae]=Le[2*Y]+Le[2*me],W.depth[ae]=(W.depth[Y]>=W.depth[me]?W.depth[Y]:W.depth[me])+1,Le[2*Y+1]=Le[2*me+1]=ae,W.heap[1]=ae++,Ue(W,Le,1),2<=W.heap_len;);W.heap[--W.heap_max]=W.heap[1],function(Ge,ut){var wt,Pe,Dt,et,_t,Nt,Bt=ut.dyn_tree,Ft=ut.max_code,Gt=ut.stat_desc.static_tree,qe=ut.stat_desc.has_stree,we=ut.stat_desc.extra_bits,ue=ut.stat_desc.extra_base,vt=ut.stat_desc.max_length,at=0;for(et=0;et<=f;et++)Ge.bl_count[et]=0;for(Bt[2*Ge.heap[Ge.heap_max]+1]=0,wt=Ge.heap_max+1;wt<u;wt++)vt<(et=Bt[2*Bt[2*(Pe=Ge.heap[wt])+1]+1]+1)&&(et=vt,at++),Bt[2*Pe+1]=et,Ft<Pe||(Ge.bl_count[et]++,_t=0,ue<=Pe&&(_t=we[Pe-ue]),Nt=Bt[2*Pe],Ge.opt_len+=Nt*(et+_t),qe&&(Ge.static_len+=Nt*(Gt[2*Pe+1]+_t)));if(at!==0){do{for(et=vt-1;Ge.bl_count[et]===0;)et--;Ge.bl_count[et]--,Ge.bl_count[et+1]+=2,Ge.bl_count[vt]--,at-=2}while(0<at);for(et=vt;et!==0;et--)for(Pe=Ge.bl_count[et];Pe!==0;)Ft<(Dt=Ge.heap[--wt])||(Bt[2*Dt+1]!==et&&(Ge.opt_len+=(et-Bt[2*Dt+1])*Bt[2*Dt],Bt[2*Dt+1]=et),Pe--)}}(W,j),$(Le,Ie,W.bl_count)}function Q(W,j,Y){var me,ae,Le=-1,Ee=j[1],ne=0,ge=7,Ie=4;for(Ee===0&&(ge=138,Ie=3),j[2*(Y+1)+1]=65535,me=0;me<=Y;me++)ae=Ee,Ee=j[2*(me+1)+1],++ne<ge&&ae===Ee||(ne<Ie?W.bl_tree[2*ae]+=ne:ae!==0?(ae!==Le&&W.bl_tree[2*ae]++,W.bl_tree[2*b]++):ne<=10?W.bl_tree[2*w]++:W.bl_tree[2*_]++,Le=ae,Ie=(ne=0)===Ee?(ge=138,3):ae===Ee?(ge=6,3):(ge=7,4))}function ie(W,j,Y){var me,ae,Le=-1,Ee=j[1],ne=0,ge=7,Ie=4;for(Ee===0&&(ge=138,Ie=3),me=0;me<=Y;me++)if(ae=Ee,Ee=j[2*(me+1)+1],!(++ne<ge&&ae===Ee)){if(ne<Ie)for(;ee(W,ae,W.bl_tree),--ne!=0;);else ae!==0?(ae!==Le&&(ee(W,ae,W.bl_tree),ne--),ee(W,b,W.bl_tree),Z(W,ne-3,2)):ne<=10?(ee(W,w,W.bl_tree),Z(W,ne-3,3)):(ee(W,_,W.bl_tree),Z(W,ne-11,7));Le=ae,Ie=(ne=0)===Ee?(ge=138,3):ae===Ee?(ge=6,3):(ge=7,4)}}t(U);var Ve=!1;function J(W,j,Y,me){Z(W,(a<<1)+(me?1:0),3),function(ae,Le,Ee,ne){xe(ae),ne&&(X(ae,Ee),X(ae,~Ee)),c.arraySet(ae.pending_buf,ae.window,Le,Ee,ae.pending),ae.pending+=Ee}(W,j,Y,!0)}h._tr_init=function(W){Ve||(function(){var j,Y,me,ae,Le,Ee=new Array(f+1);for(ae=me=0;ae<d-1;ae++)for(P[ae]=me,j=0;j<1<<T[ae];j++)M[me++]=ae;for(M[me-1]=ae,ae=Le=0;ae<16;ae++)for(U[ae]=Le,j=0;j<1<<S[ae];j++)k[Le++]=ae;for(Le>>=7;ae<e;ae++)for(U[ae]=Le<<7,j=0;j<1<<S[ae]-7;j++)k[256+Le++]=ae;for(Y=0;Y<=f;Y++)Ee[Y]=0;for(j=0;j<=143;)O[2*j+1]=8,j++,Ee[8]++;for(;j<=255;)O[2*j+1]=9,j++,Ee[9]++;for(;j<=279;)O[2*j+1]=7,j++,Ee[7]++;for(;j<=287;)O[2*j+1]=8,j++,Ee[8]++;for($(O,l+1,Ee),j=0;j<e;j++)F[2*j+1]=5,F[2*j]=Se(j,5);V=new z(O,T,i+1,l,f),D=new z(F,S,0,e,f),H=new z(new Array(0),E,0,s,v)}(),Ve=!0),W.l_desc=new K(W.dyn_ltree,V),W.d_desc=new K(W.dyn_dtree,D),W.bl_desc=new K(W.bl_tree,H),W.bi_buf=0,W.bi_valid=0,pe(W)},h._tr_stored_block=J,h._tr_flush_block=function(W,j,Y,me){var ae,Le,Ee=0;0<W.level?(W.strm.data_type===2&&(W.strm.data_type=function(ne){var ge,Ie=4093624447;for(ge=0;ge<=31;ge++,Ie>>>=1)if(1&Ie&&ne.dyn_ltree[2*ge]!==0)return o;if(ne.dyn_ltree[18]!==0||ne.dyn_ltree[20]!==0||ne.dyn_ltree[26]!==0)return n;for(ge=32;ge<i;ge++)if(ne.dyn_ltree[2*ge]!==0)return n;return o}(W)),Be(W,W.l_desc),Be(W,W.d_desc),Ee=function(ne){var ge;for(Q(ne,ne.dyn_ltree,ne.l_desc.max_code),Q(ne,ne.dyn_dtree,ne.d_desc.max_code),Be(ne,ne.bl_desc),ge=s-1;3<=ge&&ne.bl_tree[2*I[ge]+1]===0;ge--);return ne.opt_len+=3*(ge+1)+5+5+4,ge}(W),ae=W.opt_len+3+7>>>3,(Le=W.static_len+3+7>>>3)<=ae&&(ae=Le)):ae=Le=Y+5,Y+4<=ae&&j!==-1?J(W,j,Y,me):W.strategy===4||Le===ae?(Z(W,2+(me?1:0),3),ye(W,O,F)):(Z(W,4+(me?1:0),3),function(ne,ge,Ie,Ge){var ut;for(Z(ne,ge-257,5),Z(ne,Ie-1,5),Z(ne,Ge-4,4),ut=0;ut<Ge;ut++)Z(ne,ne.bl_tree[2*I[ut]+1],3);ie(ne,ne.dyn_ltree,ge-1),ie(ne,ne.dyn_dtree,Ie-1)}(W,W.l_desc.max_code+1,W.d_desc.max_code+1,Ee+1),ye(W,W.dyn_ltree,W.dyn_dtree)),pe(W),me&&xe(W)},h._tr_tally=function(W,j,Y){return W.pending_buf[W.d_buf+2*W.last_lit]=j>>>8&255,W.pending_buf[W.d_buf+2*W.last_lit+1]=255&j,W.pending_buf[W.l_buf+W.last_lit]=255&Y,W.last_lit++,j===0?W.dyn_ltree[2*Y]++:(W.matches++,j--,W.dyn_ltree[2*(M[Y]+i+1)]++,W.dyn_dtree[2*G(j)]++),W.last_lit===W.lit_bufsize-1},h._tr_align=function(W){Z(W,2,3),ee(W,x,O),function(j){j.bi_valid===16?(X(j,j.bi_buf),j.bi_buf=0,j.bi_valid=0):8<=j.bi_valid&&(j.pending_buf[j.pending++]=255&j.bi_buf,j.bi_buf>>=8,j.bi_valid-=8)}(W)}},{"../utils/common":41}],53:[function(p,g,h){"use strict";g.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(p,g,h){"use strict";g.exports=typeof setImmediate=="function"?setImmediate:function(){var c=[].slice.apply(arguments);c.splice(1,0,0),setTimeout.apply(null,c)}},{}]},{},[10])(10)})}).call(this,r("HDXh").Buffer,r("yLpj"))},xRUu:function(B,N,r){r("hJvP"),r("hFmY"),r("sAZ8")},xSIq:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"};N.default=y},xSat:function(B,N){var r={axisPointer:1,tooltip:1,brush:1};function y(m,C,p){var g=C.getComponentByElement(m.topTarget),h=g&&g.coordinateSystem;return g&&g!==p&&!r[g.mainType]&&h&&h.model!==p}N.onIrrelevantElement=y},xTNl:function(B,N){var r=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],y={color:r,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],r]};B.exports=y},xb2K:function(B,N,r){"use strict";var y=r("284h"),m=r("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var C=m(r("3tO9")),p=y(r("q1tI")),g=m(r("5yev")),h=m(r("KQxl")),c=function(t,a){return p.createElement(h.default,(0,C.default)((0,C.default)({},t),{},{ref:a,icon:g.default}))};c.displayName="RedoOutlined";var o=p.forwardRef(c);N.default=o},xiyX:function(B,N,r){var y=r("bYtY"),m=r("bLfw"),C=r("nkfE"),p=r("ICMv"),g=m.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),h={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}};function c(n,t){return t.type||(t.data?"category":"value")}y.merge(g.prototype,p),C("single",g,c,h);var o=g;B.exports=o},xlC8:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=y;function y(m,C,p,g){for(var h=m&65535|0,c=m>>>16&65535|0,o=0;p!==0;){o=p>2e3?2e3:p,p-=o;do h=h+C[g++]|0,c=c+h|0;while(--o);h%=65521,c%=65521}return h|c<<16|0}},xvlK:function(B,N,r){"use strict";var y=r("VTBJ"),m=r("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"},p=C,g=r("6VBw"),h=function(n,t){return m.createElement(g.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};h.displayName="PlusOutlined";var c=N.a=m.forwardRef(h)},xzDV:function(B,N,r){},"y+Vt":function(B,N,r){var y=r("Gev7"),m=r("bYtY"),C=r("IMiH"),p=r("2DNl"),g=r("3C/r"),h=g.prototype.getCanvasPattern,c=Math.abs,o=new C(!0);function n(a){y.call(this,a),this.path=null}n.prototype={constructor:n,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(d,i){var l=this.style,e=this.path||o,s=l.hasStroke(),u=l.hasFill(),f=l.fill,A=l.stroke,v=u&&!!f.colorStops,x=s&&!!A.colorStops,b=u&&!!f.image,w=s&&!!A.image;if(l.bind(d,this,i),this.setTransform(d),this.__dirty){var _;v&&(_=_||this.getBoundingRect(),this._fillGradient=l.getGradient(d,f,_)),x&&(_=_||this.getBoundingRect(),this._strokeGradient=l.getGradient(d,A,_))}v?d.fillStyle=this._fillGradient:b&&(d.fillStyle=h.call(f,d)),x?d.strokeStyle=this._strokeGradient:w&&(d.strokeStyle=h.call(A,d));var T=l.lineDash,S=l.lineDashOffset,E=!!d.setLineDash,I=this.getGlobalScale();if(e.setScale(I[0],I[1],this.segmentIgnoreThreshold),this.__dirtyPath||T&&!E&&s?(e.beginPath(d),T&&!E&&(e.setLineDash(T),e.setLineDashOffset(S)),this.buildPath(e,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(d.beginPath(),this.path.rebuildPath(d)),u)if(l.fillOpacity!=null){var O=d.globalAlpha;d.globalAlpha=l.fillOpacity*l.opacity,e.fill(d),d.globalAlpha=O}else e.fill(d);if(T&&E&&(d.setLineDash(T),d.lineDashOffset=S),s)if(l.strokeOpacity!=null){var O=d.globalAlpha;d.globalAlpha=l.strokeOpacity*l.opacity,e.stroke(d),d.globalAlpha=O}else e.stroke(d);T&&E&&d.setLineDash([]),l.text!=null&&(this.restoreTransform(d),this.drawRectText(d,this.getBoundingRect()))},buildPath:function(d,i,l){},createPathProxy:function(){this.path=new C},getBoundingRect:function(){var d=this._rect,i=this.style,l=!d;if(l){var e=this.path;e||(e=this.path=new C),this.__dirtyPath&&(e.beginPath(),this.buildPath(e,this.shape,!1)),d=e.getBoundingRect()}if(this._rect=d,i.hasStroke()){var s=this._rectWithStroke||(this._rectWithStroke=d.clone());if(this.__dirty||l){s.copy(d);var u=i.lineWidth,f=i.strokeNoScale?this.getLineScale():1;i.hasFill()||(u=Math.max(u,this.strokeContainThreshold||4)),f>1e-10&&(s.width+=u/f,s.height+=u/f,s.x-=u/f/2,s.y-=u/f/2)}return s}return d},contain:function(d,i){var l=this.transformCoordToLocal(d,i),e=this.getBoundingRect(),s=this.style;if(d=l[0],i=l[1],e.contain(d,i)){var u=this.path.data;if(s.hasStroke()){var f=s.lineWidth,A=s.strokeNoScale?this.getLineScale():1;if(A>1e-10&&(s.hasFill()||(f=Math.max(f,this.strokeContainThreshold)),p.containStroke(u,f/A,d,i)))return!0}if(s.hasFill())return p.contain(u,d,i)}return!1},dirty:function(d){d==null&&(d=!0),d&&(this.__dirtyPath=d,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(d){return this.animate("shape",d)},attrKV:function(d,i){d==="shape"?(this.setShape(i),this.__dirtyPath=!0,this._rect=null):y.prototype.attrKV.call(this,d,i)},setShape:function(d,i){var l=this.shape;if(l){if(m.isObject(d))for(var e in d)d.hasOwnProperty(e)&&(l[e]=d[e]);else l[d]=i;this.dirty(!0)}return this},getLineScale:function(){var d=this.transform;return d&&c(d[0]-1)>1e-10&&c(d[3]-1)>1e-10?Math.sqrt(c(d[0]*d[3]-d[2]*d[1])):1}},n.extend=function(a){var d=function(e){n.call(this,e),a.style&&this.style.extendFrom(a.style,!1);var s=a.shape;if(s){this.shape=this.shape||{};var u=this.shape;for(var f in s)!u.hasOwnProperty(f)&&s.hasOwnProperty(f)&&(u[f]=s[f])}a.init&&a.init.call(this,e)};m.inherits(d,n);for(var i in a)i!=="style"&&i!=="shape"&&(d.prototype[i]=a[i]);return d},m.inherits(n,y);var t=n;B.exports=t},"y+lR":function(B,N,r){var y=r("bYtY"),m=r("mFDi"),C=r("z35g");function p(h){C.call(this,h)}p.prototype={constructor:p,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(h){var c=this.getAxis("x"),o=this.getAxis("y");return c.contain(c.toLocalCoord(h[0]))&&o.contain(o.toLocalCoord(h[1]))},containData:function(h){return this.getAxis("x").containData(h[0])&&this.getAxis("y").containData(h[1])},dataToPoint:function(h,c,o){var n=this.getAxis("x"),t=this.getAxis("y");return o=o||[],o[0]=n.toGlobalCoord(n.dataToCoord(h[0])),o[1]=t.toGlobalCoord(t.dataToCoord(h[1])),o},clampData:function(h,c){var o=this.getAxis("x").scale,n=this.getAxis("y").scale,t=o.getExtent(),a=n.getExtent(),d=o.parse(h[0]),i=n.parse(h[1]);return c=c||[],c[0]=Math.min(Math.max(Math.min(t[0],t[1]),d),Math.max(t[0],t[1])),c[1]=Math.min(Math.max(Math.min(a[0],a[1]),i),Math.max(a[0],a[1])),c},pointToData:function(h,c){var o=this.getAxis("x"),n=this.getAxis("y");return c=c||[],c[0]=o.coordToData(o.toLocalCoord(h[0])),c[1]=n.coordToData(n.toLocalCoord(h[1])),c},getOtherAxis:function(h){return this.getAxis(h.dim==="x"?"y":"x")},getArea:function(){var h=this.getAxis("x").getGlobalExtent(),c=this.getAxis("y").getGlobalExtent(),o=Math.min(h[0],h[1]),n=Math.min(c[0],c[1]),t=Math.max(h[0],h[1])-o,a=Math.max(c[0],c[1])-n,d=new m(o,n,t,a);return d}},y.inherits(p,C);var g=p;B.exports=g},"y0+3":function(B,N,r){"use strict";r.d(N,"a",function(){return a}),r.d(N,"b",function(){return i});var y=/margin|padding|width|height|max|min|offset/,m={left:!0,top:!0},C={cssFloat:1,styleFloat:1,float:1};function p(l){return l.nodeType===1?l.ownerDocument.defaultView.getComputedStyle(l,null):{}}function g(l,e,s){if(e=e.toLowerCase(),s==="auto"){if(e==="height")return l.offsetHeight;if(e==="width")return l.offsetWidth}return e in m||(m[e]=y.test(e)),m[e]?parseFloat(s)||0:s}function h(l,e){var s=arguments.length,u=p(l);return e=C[e]?"cssFloat"in l.style?"cssFloat":"styleFloat":e,s===1?u:g(l,e,u[e]||l.style[e])}function c(l,e,s){var u=arguments.length;if(e=C[e]?"cssFloat"in l.style?"cssFloat":"styleFloat":e,u===3)return typeof s=="number"&&y.test(e)&&(s="".concat(s,"px")),l.style[e]=s,s;for(var f in e)e.hasOwnProperty(f)&&c(l,f,e[f]);return p(l)}function o(l){return l===document.body?document.documentElement.clientWidth:l.offsetWidth}function n(l){return l===document.body?window.innerHeight||document.documentElement.clientHeight:l.offsetHeight}function t(){var l=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),e=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:l,height:e}}function a(){var l=document.documentElement.clientWidth,e=window.innerHeight||document.documentElement.clientHeight;return{width:l,height:e}}function d(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function i(l){var e=l.getBoundingClientRect(),s=document.documentElement;return{left:e.left+(window.pageXOffset||s.scrollLeft)-(s.clientLeft||document.body.clientLeft||0),top:e.top+(window.pageYOffset||s.scrollTop)-(s.clientTop||document.body.clientTop||0)}}},"y1t/":function(B,N,r){"use strict";r.d(N,"a",function(){return y});function y(m){if(m==null)throw new TypeError("Cannot destructure undefined")}},y23F:function(B,N){function r(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}r.prototype={constructor:r,_dragStart:function(p){for(var g=p.target;g&&!g.draggable;)g=g.parent;g&&(this._draggingTarget=g,g.dragging=!0,this._x=p.offsetX,this._y=p.offsetY,this.dispatchToElement(y(g,p),"dragstart",p.event))},_drag:function(p){var g=this._draggingTarget;if(g){var h=p.offsetX,c=p.offsetY,o=h-this._x,n=c-this._y;this._x=h,this._y=c,g.drift(o,n,p),this.dispatchToElement(y(g,p),"drag",p.event);var t=this.findHover(h,c,g).target,a=this._dropTarget;this._dropTarget=t,g!==t&&(a&&t!==a&&this.dispatchToElement(y(a,p),"dragleave",p.event),t&&t!==a&&this.dispatchToElement(y(t,p),"dragenter",p.event))}},_dragEnd:function(p){var g=this._draggingTarget;g&&(g.dragging=!1),this.dispatchToElement(y(g,p),"dragend",p.event),this._dropTarget&&this.dispatchToElement(y(this._dropTarget,p),"drop",p.event),this._draggingTarget=null,this._dropTarget=null}};function y(C,p){return{target:C,topTarget:p&&p.topTarget}}var m=r;B.exports=m},y2l5:function(B,N,r){var y=r("MwEJ"),m=r("T4UG"),C=m.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(p,g){return y(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var p=this.option.progressive;return p==null?this.option.large?5e3:this.get("progressive"):p},getProgressiveThreshold:function(){var p=this.option.progressiveThreshold;return p==null?this.option.large?1e4:this.get("progressiveThreshold"):p},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});B.exports=C},y3Kf:function(B,N,r){"use strict";var y=r("VTBJ"),m=r("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"},p=C,g=r("6VBw"),h=function(n,t){return m.createElement(g.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};h.displayName="UpOutlined";var c=N.a=m.forwardRef(h)},y3NT:function(B,N,r){var y=r("OELB"),m=y.parsePercent,C=r("bYtY"),p=Math.PI/180;function g(o,n,t,a){n.eachSeriesByType(o,function(d){var i=d.get("center"),l=d.get("radius");C.isArray(l)||(l=[0,l]),C.isArray(i)||(i=[i,i]);var e=t.getWidth(),s=t.getHeight(),u=Math.min(e,s),f=m(i[0],e),A=m(i[1],s),v=m(l[0],u/2),x=m(l[1],u/2),b=-d.get("startAngle")*p,w=d.get("minAngle")*p,_=d.getData().tree.root,T=d.getViewRoot(),S=T.depth,E=d.get("sort");E!=null&&h(T,E);var I=0;C.each(T.children,function(X){!isNaN(X.getValue())&&I++});var O=T.getValue(),F=Math.PI/(O||I)*2,k=T.depth>0,M=T.height-(k?-1:1),P=(x-v)/(M||1),V=d.get("clockwise"),D=d.get("stillShowZeroSum"),H=V?1:-1,U=function(X,Z){if(!X)return;var ee=Z;if(X!==_){var Se=X.getValue(),$=O===0&&D?F:Se*F;$<w&&($=w),ee=Z+H*$;var pe=X.depth-S-(k?-1:1),xe=v+P*pe,_e=v+P*(pe+1),Ue=X.getModel();Ue.get("r0")!=null&&(xe=m(Ue.get("r0"),u/2)),Ue.get("r")!=null&&(_e=m(Ue.get("r"),u/2)),X.setLayout({angle:$,startAngle:Z,endAngle:ee,clockwise:V,cx:f,cy:A,r0:xe,r:_e})}if(X.children&&X.children.length){var ye=0;C.each(X.children,function(Be){ye+=U(Be,Z+ye)})}return ee-Z};if(k){var z=v,K=v+P,G=Math.PI*2;_.setLayout({angle:G,startAngle:b,endAngle:b+G,clockwise:V,cx:f,cy:A,r0:z,r:K})}U(T,b)})}function h(o,n){var t=o.children||[];o.children=c(t,n),t.length&&C.each(o.children,function(a){h(a,n)})}function c(o,n){if(typeof n=="function")return o.sort(n);var t=n==="asc";return o.sort(function(a,d){var i=(a.getValue()-d.getValue())*(t?1:-1);return i===0?(a.dataIndex-d.dataIndex)*(t?-1:1):i})}B.exports=g},y3Yb:function(B,N,r){"use strict";var y=r("284h"),m=r("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var C=m(r("3tO9")),p=y(r("q1tI")),g=m(r("HBhm")),h=m(r("KQxl")),c=function(t,a){return p.createElement(h.default,(0,C.default)((0,C.default)({},t),{},{ref:a,icon:g.default}))};c.displayName="PaperClipOutlined";var o=p.forwardRef(c);N.default=o},"y4/Y":function(B,N,r){var y=r("ProS"),m=r("bYtY"),C=r("zTMp"),p=r("62sa");r("SKx+"),r("1LEl"),r("Sp2Z"),y.registerPreprocessor(function(g){if(g){(!g.axisPointer||g.axisPointer.length===0)&&(g.axisPointer={});var h=g.axisPointer.link;h&&!m.isArray(h)&&(g.axisPointer.link=[h])}}),y.registerProcessor(y.PRIORITY.PROCESSOR.STATISTIC,function(g,h){g.getComponent("axisPointer").coordSysAxesInfo=C.collect(g,h)}),y.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},p)},y7Aq:function(B,N,r){var y=r("bYtY"),m=r("+TT/"),C=m.getLayoutRect;function p(h,c,o){var n=h.option,t=n.align;if(t!=null&&t!=="auto")return t;for(var a={width:c.getWidth(),height:c.getHeight()},d=n.orient==="horizontal"?1:0,i=[["left","right","width"],["top","bottom","height"]],l=i[d],e=[0,null,10],s={},u=0;u<3;u++)s[i[1-d][u]]=e[u],s[l[u]]=u===2?o[0]:n[l[u]];var f=[["x","width",3],["y","height",0]][d],A=C(s,a,n.padding);return l[(A.margin[f[2]]||0)+A[f[0]]+A[f[1]]*.5<a[f[1]]*.5?0:1]}function g(h,c){return y.each(h||[],function(o){o.dataIndex!=null&&(o.dataIndexInside=o.dataIndex,o.dataIndex=null),o.highlightKey="visualMap"+(c?c.componentIndex:"")}),h}N.getItemAlign=p,N.makeHighDownBatch=g},y8nQ:function(B,N,r){"use strict";var y=r("cIOH"),m=r.n(y),C=r("gwTy"),p=r.n(C),g=r("1GLa")},yEEn:function(B,N,r){"use strict";var y=r("VTBJ"),m=r("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"},p=C,g=r("6VBw"),h=function(n,t){return m.createElement(g.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};h.displayName="ArrowDownOutlined";var c=N.a=m.forwardRef(h)},yO87:function(B,N,r){var y=r("bYtY"),m=r("oVpE"),C=m.createSymbol,p=r("IwbS"),g=p.Group,h=r("OELB"),c=h.parsePercent,o=r("FBjb"),n=3;function t(e){return y.isArray(e)||(e=[+e,+e]),e}function a(e,s){var u=s.rippleEffectColor||s.color;e.eachChild(function(f){f.attr({z:s.z,zlevel:s.zlevel,style:{stroke:s.brushType==="stroke"?u:null,fill:s.brushType==="fill"?u:null}})})}function d(e,s){g.call(this);var u=new o(e,s),f=new g;this.add(u),this.add(f),f.beforeUpdate=function(){this.attr(u.getScale())},this.updateData(e,s)}var i=d.prototype;i.stopEffectAnimation=function(){this.childAt(1).removeAll()},i.startEffectAnimation=function(e){for(var s=e.symbolType,u=e.color,f=this.childAt(1),A=0;A<n;A++){var v=C(s,-1,-1,2,2,u);v.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var x=-A/n*e.period+e.effectOffset;v.animate("",!0).when(e.period,{scale:[e.rippleScale/2,e.rippleScale/2]}).delay(x).start(),v.animateStyle(!0).when(e.period,{opacity:0}).delay(x).start(),f.add(v)}a(f,e)},i.updateEffectAnimation=function(e){for(var s=this._effectCfg,u=this.childAt(1),f=["symbolType","period","rippleScale"],A=0;A<f.length;A++){var v=f[A];if(s[v]!==e[v]){this.stopEffectAnimation(),this.startEffectAnimation(e);return}}a(u,e)},i.highlight=function(){this.trigger("emphasis")},i.downplay=function(){this.trigger("normal")},i.updateData=function(e,s){var u=e.hostModel;this.childAt(0).updateData(e,s);var f=this.childAt(1),A=e.getItemModel(s),v=e.getItemVisual(s,"symbol"),x=t(e.getItemVisual(s,"symbolSize")),b=e.getItemVisual(s,"color");f.attr("scale",x),f.traverse(function(F){F.attr({fill:b})});var w=A.getShallow("symbolOffset");if(w){var _=f.position;_[0]=c(w[0],x[0]),_[1]=c(w[1],x[1])}var T=e.getItemVisual(s,"symbolRotate");f.rotation=(T||0)*Math.PI/180||0;var S={};if(S.showEffectOn=u.get("showEffectOn"),S.rippleScale=A.get("rippleEffect.scale"),S.brushType=A.get("rippleEffect.brushType"),S.period=A.get("rippleEffect.period")*1e3,S.effectOffset=s/e.count(),S.z=A.getShallow("z")||0,S.zlevel=A.getShallow("zlevel")||0,S.symbolType=v,S.color=b,S.rippleEffectColor=A.get("rippleEffect.color"),this.off("mouseover").off("mouseout").off("emphasis").off("normal"),S.showEffectOn==="render")this._effectCfg?this.updateEffectAnimation(S):this.startEffectAnimation(S),this._effectCfg=S;else{this._effectCfg=null,this.stopEffectAnimation();var E=this.childAt(0),I=function(){E.highlight(),S.showEffectOn!=="render"&&this.startEffectAnimation(S)},O=function(){E.downplay(),S.showEffectOn!=="render"&&this.stopEffectAnimation()};this.on("mouseover",I,this).on("mouseout",O,this).on("emphasis",I,this).on("normal",O,this)}this._effectCfg=S},i.fadeOut=function(e){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),e&&e()},y.inherits(d,g);var l=d;B.exports=l},yS9w:function(B,N,r){var y=r("MEGo"),m=y.parseSVG,C=y.makeViewBoxTransform,p=r("4fz+"),g=r("x6Kt"),h=r("bYtY"),c=h.assert,o=h.createHashMap,n=r("mFDi"),t=r("4NO4"),a=t.makeInner,d=a(),i={load:function(e,s){var u=d(s).originRoot;if(u)return{root:u,boundingRect:d(s).boundingRect};var f=l(s);return d(s).originRoot=f.root,d(s).boundingRect=f.boundingRect,f},makeGraphic:function(e,s,u){var f=d(s),A=f.rootMap||(f.rootMap=o()),v=A.get(u);if(v)return v;var x=f.originRoot,b=f.boundingRect;return f.originRootHostKey?v=l(s,b).root:(f.originRootHostKey=u,v=x),A.set(u,v)},removeGraphic:function(e,s,u){var f=d(s),A=f.rootMap;A&&A.removeKey(u),u===f.originRootHostKey&&(f.originRootHostKey=null)}};function l(e,s){var u=e.svgXML,f,A;try{f=u&&m(u,{ignoreViewBox:!0,ignoreRootClip:!0})||{},A=f.root,c(A!=null)}catch(T){throw new Error(`Invalid svg format
|
|
|
`+T.message)}var v=f.width,x=f.height,b=f.viewBoxRect;if(s||(s=v==null||x==null?A.getBoundingRect():new n(0,0,0,0),v!=null&&(s.width=v),x!=null&&(s.height=x)),b){var w=C(b,s.width,s.height),_=A;A=new p,A.add(_),_.scale=w.scale,_.position=w.position}return A.setClipPath(new g({shape:s.plain()})),{root:A,boundingRect:s}}B.exports=i},yWXo:function(B,N,r){var y=r("IwbS"),m=r("oVpE"),C=m.createSymbol,p=r("OS9S"),g=4,h=y.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(t,a){var d=a.points,i=a.size,l=this.symbolProxy,e=l.shape,s=t.getContext?t.getContext():t,u=s&&i[0]<g;if(u)return;for(var f=0;f<d.length;){var A=d[f++],v=d[f++];if(isNaN(A)||isNaN(v))continue;if(this.softClipShape&&!this.softClipShape.contain(A,v))continue;e.x=A-i[0]/2,e.y=v-i[1]/2,e.width=i[0],e.height=i[1],l.buildPath(t,e,!0)}},afterBrush:function(t){var a=this.shape,d=a.points,i=a.size,l=i[0]<g;if(!l)return;this.setTransform(t);for(var e=0;e<d.length;){var s=d[e++],u=d[e++];if(isNaN(s)||isNaN(u))continue;if(this.softClipShape&&!this.softClipShape.contain(s,u))continue;t.fillRect(s-i[0]/2,u-i[1]/2,i[0],i[1])}this.restoreTransform(t)},findDataIndex:function(t,a){for(var d=this.shape,i=d.points,l=d.size,e=Math.max(l[0],4),s=Math.max(l[1],4),u=i.length/2-1;u>=0;u--){var f=u*2,A=i[f]-e/2,v=i[f+1]-s/2;if(t>=A&&a>=v&&t<=A+e&&a<=v+s)return u}return-1}});function c(){this.group=new y.Group}var o=c.prototype;o.isPersistent=function(){return!this._incremental},o.updateData=function(t,a){this.group.removeAll();var d=new h({rectHover:!0,cursor:"default"});d.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(d,t,!1,a),this.group.add(d),this._incremental=null},o.updateLayout=function(t){if(this._incremental)return;var a=t.getLayout("symbolPoints");this.group.eachChild(function(d){if(d.startIndex!=null){var i=(d.endIndex-d.startIndex)*2,l=d.startIndex*4*2;a=new Float32Array(a.buffer,l,i)}d.setShape("points",a)})},o.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>2e6?(this._incremental||(this._incremental=new p({silent:!0})),this.group.add(this._incremental)):this._incremental=null},o.incrementalUpdate=function(t,a,d){var i;this._incremental?(i=new h,this._incremental.addDisplayable(i,!0)):(i=new h({rectHover:!0,cursor:"default",startIndex:t.start,endIndex:t.end}),i.incremental=!0,this.group.add(i)),i.setShape({points:a.getLayout("symbolPoints")}),this._setCommon(i,a,!!this._incremental,d)},o._setCommon=function(t,a,d,i){var l=a.hostModel;i=i||{};var e=a.getVisual("symbolSize");t.setShape("size",e instanceof Array?e:[e,e]),t.softClipShape=i.clipShape||null,t.symbolProxy=C(a.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var s=t.shape.size[0]<g;t.useStyle(l.getModel("itemStyle").getItemStyle(s?["color","shadowBlur","shadowColor"]:["color"]));var u=a.getVisual("color");u&&t.setColor(u),d||(t.seriesIndex=l.seriesIndex,t.on("mousemove",function(f){t.dataIndex=null;var A=t.findDataIndex(f.offsetX,f.offsetY);A>=0&&(t.dataIndex=A+(t.startIndex||0))}))},o.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},o._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var n=c;B.exports=n},ycre:function(B,N,r){var y=r("711d"),m=y("length");B.exports=m},ye1Q:function(B,N,r){"use strict";var y=r("VTBJ"),m=r("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"},p=C,g=r("6VBw"),h=function(n,t){return m.createElement(g.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};h.displayName="LoadingOutlined";var c=N.a=m.forwardRef(h)},ygfH:function(B,N,r){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};N.default=y},yik8:function(B,N,r){var y=r("bZqE"),m=y.eachAfter,C=y.eachBefore,p=r("Itpr"),g=p.init,h=p.firstWalk,c=p.secondWalk,o=p.separation,n=p.radialCoordinate,t=p.getViewRect;function a(i,l){i.eachSeriesByType("tree",function(e){d(e,l)})}function d(i,l){var e=t(i,l);i.layoutInfo=e;var s=i.get("layout"),u=0,f=0,A=null;s==="radial"?(u=2*Math.PI,f=Math.min(e.height,e.width)/2,A=o(function(M,P){return(M.parentNode===P.parentNode?1:2)/M.depth})):(u=e.width,f=e.height,A=o());var v=i.getData().tree.root,x=v.children[0];if(x){g(v),m(x,h,A),v.hierNode.modifier=-x.hierNode.prelim,C(x,c);var b=x,w=x,_=x;C(x,function(M){var P=M.getLayout().x;P<b.getLayout().x&&(b=M),P>w.getLayout().x&&(w=M),M.depth>_.depth&&(_=M)});var T=b===w?1:A(b,w)/2,S=T-b.getLayout().x,E=0,I=0,O=0,F=0;if(s==="radial")E=u/(w.getLayout().x+T+S),I=f/(_.depth-1||1),C(x,function(M){O=(M.getLayout().x+S)*E,F=(M.depth-1)*I;var P=n(O,F);M.setLayout({x:P.x,y:P.y,rawX:O,rawY:F},!0)});else{var k=i.getOrient();k==="RL"||k==="LR"?(I=f/(w.getLayout().x+T+S),E=u/(_.depth-1||1),C(x,function(M){F=(M.getLayout().x+S)*I,O=k==="LR"?(M.depth-1)*E:u-(M.depth-1)*E,M.setLayout({x:O,y:F},!0)})):(k==="TB"||k==="BT")&&(E=u/(w.getLayout().x+T+S),I=f/(_.depth-1||1),C(x,function(M){O=(M.getLayout().x+S)*E,F=k==="TB"?(M.depth-1)*I:f-(M.depth-1)*I,M.setLayout({x:O,y:F},!0)}))}}}B.exports=a},ynwM:function(B,N,r){var y=r("MFOe"),m=y.Global;B.exports={name:"oldFF-globalStorage",read:p,write:g,each:h,remove:c,clearAll:o};var C=m.globalStorage;function p(n){return C[n]}function g(n,t){C[n]=t}function h(n){for(var t=C.length-1;t>=0;t--){var a=C.key(t);n(C[a],a)}}function c(n){return C.removeItem(n)}function o(){h(function(n,t){delete C[n]})}},ypgQ:function(B,N,r){var y=r("bYtY"),m=r("4NO4"),C=r("bLfw"),p=y.each,g=y.clone,h=y.map,c=y.merge,o=/^(min|max)?(.+)$/;function n(s){this._api=s,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}n.prototype={constructor:n,setOption:function(s,u){s&&y.each(m.normalizeToArray(s.series),function(v){v&&v.data&&y.isTypedArray(v.data)&&y.setAsPrimitive(v.data)}),s=g(s);var f=this._optionBackup,A=t.call(this,s,u,!f);this._newBaseOption=A.baseOption,f?(l(f.baseOption,A.baseOption),A.timelineOptions.length&&(f.timelineOptions=A.timelineOptions),A.mediaList.length&&(f.mediaList=A.mediaList),A.mediaDefault&&(f.mediaDefault=A.mediaDefault)):this._optionBackup=A},mountOption:function(s){var u=this._optionBackup;return this._timelineOptions=h(u.timelineOptions,g),this._mediaList=h(u.mediaList,g),this._mediaDefault=g(u.mediaDefault),this._currentMediaIndices=[],g(s?u.baseOption:this._newBaseOption)},getTimelineOption:function(s){var u,f=this._timelineOptions;if(f.length){var A=s.getComponent("timeline");A&&(u=g(f[A.getCurrentIndex()],!0))}return u},getMediaOption:function(s){var u=this._api.getWidth(),f=this._api.getHeight(),A=this._mediaList,v=this._mediaDefault,x=[],b=[];if(!A.length&&!v)return b;for(var w=0,_=A.length;w<_;w++)a(A[w].query,u,f)&&x.push(w);return!x.length&&v&&(x=[-1]),x.length&&!i(x,this._currentMediaIndices)&&(b=h(x,function(T){return g(T===-1?v.option:A[T].option)})),this._currentMediaIndices=x,b}};function t(s,u,f){var A=[],v=[],x,b,w=s.timeline;if(s.baseOption&&(b=s.baseOption),(w||s.options)&&(b=b||{},A=(s.options||[]).slice()),s.media){b=b||{};var _=s.media;p(_,function(T){T&&T.option&&(T.query?v.push(T):x||(x=T))})}return b||(b=s),b.timeline||(b.timeline=w),p([b].concat(A).concat(y.map(v,function(T){return T.option})),function(T){p(u,function(S){S(T,f)})}),{baseOption:b,timelineOptions:A,mediaDefault:x,mediaList:v}}function a(s,u,f){var A={width:u,height:f,aspectratio:u/f},v=!0;return y.each(s,function(x,b){var w=b.match(o);if(!w||!w[1]||!w[2])return;var _=w[1],T=w[2].toLowerCase();d(A[T],x,_)||(v=!1)}),v}function d(s,u,f){return f==="min"?s>=u:f==="max"?s<=u:s===u}function i(s,u){return s.join(",")===u.join(",")}function l(s,u){u=u||{},p(u,function(f,A){if(f==null)return;var v=s[A];if(!C.hasClass(A))s[A]=c(v,f,!0);else{f=m.normalizeToArray(f),v=m.normalizeToArray(v);var x=m.mappingToExists(v,f);s[A]=h(x,function(b){return b.option&&b.exist?c(b.exist,b.option,!0):b.exist||b.option})}})}var e=n;B.exports=e},yxFR:function(B,N,r){var y=r("y+Vt"),m=r("nPnh"),C=m.subPixelOptimizeLine,p={},g=y.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(c,o){var n,t,a,d;this.subPixelOptimize?(C(p,o,this.style),n=p.x1,t=p.y1,a=p.x2,d=p.y2):(n=o.x1,t=o.y1,a=o.x2,d=o.y2);var i=o.percent;if(i===0)return;c.moveTo(n,t),i<1&&(a=n*(1-i)+a*i,d=t*(1-i)+d*i),c.lineTo(a,d)},pointAt:function(c){var o=this.shape;return[o.x1*(1-c)+o.x2*c,o.y1*(1-c)+o.y2*c]}});B.exports=g},z35g:function(B,N,r){var y=r("bYtY");function m(g){return this._axes[g]}var C=function(g){this._axes={},this._dimList=[],this.name=g||""};C.prototype={constructor:C,type:"cartesian",getAxis:function(g){return this._axes[g]},getAxes:function(){return y.map(this._dimList,m,this)},getAxesByScale:function(g){return g=g.toLowerCase(),y.filter(this.getAxes(),function(h){return h.scale.type===g})},addAxis:function(g){var h=g.dim;this._axes[h]=g,this._dimList.push(h)},dataToCoord:function(g){return this._dataCoordConvert(g,"dataToCoord")},coordToData:function(g){return this._dataCoordConvert(g,"coordToData")},_dataCoordConvert:function(g,h){for(var c=this._dimList,o=g instanceof Array?[]:{},n=0;n<c.length;n++){var t=c[n],a=this._axes[t];o[t]=a[h](g[t])}return o}};var p=C;B.exports=p},z7Xi:function(B,N,r){"use strict";var y=r("VTBJ"),m=r("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"},p=C,g=r("6VBw"),h=function(n,t){return m.createElement(g.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};h.displayName="UploadOutlined";var c=N.a=m.forwardRef(h)},zAh6:function(B,N,r){"use strict";r.d(N,"a",function(){return g});var y=r("xEkU"),m=r.n(y),C=r("i6bk");function p(h,c,o,n){var t=o-c;return h/=n/2,h<1?t/2*h*h*h+c:t/2*((h-=2)*h*h+2)+c}function g(h){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=c.getContainer,n=o===void 0?function(){return window}:o,t=c.callback,a=c.duration,d=a===void 0?450:a,i=n(),l=Object(C.a)(i,!0),e=Date.now(),s=function u(){var f=Date.now(),A=f-e,v=p(A>d?d:A,l,h,d);Object(C.b)(i)?i.scrollTo(window.pageXOffset,v):i instanceof HTMLDocument||i.constructor.name==="HTMLDocument"?i.documentElement.scrollTop=v:i.scrollTop=v,A<d?m()(u):typeof t=="function"&&t()};m()(s)}},zDms:function(B,N,r){var y=r("bYtY"),m=r("OELB"),C=r("UOVi"),p=r("72pK"),g=y.each,h=m.asc,c=function(i,l,e,s){this._dimName=i,this._axisIndex=l,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=s,this._dataZoomModel=e};c.prototype={constructor:c,hostedBy:function(i){return this._dataZoomModel===i},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var i=[],l=this.ecModel;return l.eachSeries(function(e){if(C.isCoordSupported(e.get("coordinateSystem"))){var s=this._dimName,u=l.queryComponents({mainType:s+"Axis",index:e.get(s+"AxisIndex"),id:e.get(s+"AxisId")})[0];this._axisIndex===(u&&u.componentIndex)&&i.push(e)}},this),i},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var i=this._dimName,l=this.ecModel,e=this.getAxisModel(),s=i==="x"||i==="y",u,f;s?(f="gridIndex",u=i==="x"?"y":"x"):(f="polarIndex",u=i==="angle"?"radius":"angle");var A;return l.eachComponent(u+"Axis",function(v){(v.get(f)||0)===(e.get(f)||0)&&(A=v)}),A},getMinMaxSpan:function(){return y.clone(this._minMaxSpan)},calculateDataWindow:function(i){var l=this._dataExtent,e=this.getAxisModel(),s=e.axis.scale,u=this._dataZoomModel.getRangePropMode(),f=[0,100],A=[],v=[],x;g(["start","end"],function(_,T){var S=i[_],E=i[_+"Value"];u[T]==="percent"?(S==null&&(S=f[T]),E=s.parse(m.linearMap(S,f,l))):(x=!0,E=E==null?l[T]:s.parse(E),S=m.linearMap(E,l,f)),v[T]=E,A[T]=S}),h(v),h(A);var b=this._minMaxSpan;x?w(v,A,l,f,!1):w(A,v,f,l,!0);function w(_,T,S,E,I){var O=I?"Span":"ValueSpan";p(0,_,S,"all",b["min"+O],b["max"+O]);for(var F=0;F<2;F++)T[F]=m.linearMap(_[F],S,E,!0),I&&(T[F]=s.parse(T[F]))}return{valueWindow:v,percentWindow:A}},reset:function(i){if(i!==this._dataZoomModel)return;var l=this.getTargetSeriesModels();this._dataExtent=o(this,this._dimName,l),a(this);var e=this.calculateDataWindow(i.settledOption);this._valueWindow=e.valueWindow,this._percentWindow=e.percentWindow,t(this)},restore:function(i){if(i!==this._dataZoomModel)return;this._valueWindow=this._percentWindow=null,t(this,!0)},filterData:function(i,l){if(i!==this._dataZoomModel)return;var e=this._dimName,s=this.getTargetSeriesModels(),u=i.get("filterMode"),f=this._valueWindow;if(u==="none")return;g(s,function(v){var x=v.getData(),b=x.mapDimension(e,!0);if(!b.length)return;u==="weakFilter"?x.filterSelf(function(w){for(var _,T,S,E=0;E<b.length;E++){var I=x.get(b[E],w),O=!isNaN(I),F=I<f[0],k=I>f[1];if(O&&!F&&!k)return!0;O&&(S=!0),F&&(_=!0),k&&(T=!0)}return S&&_&&T}):g(b,function(w){if(u==="empty")v.setData(x=x.map(w,function(T){return A(T)?T:NaN}));else{var _={};_[w]=f,x.selectRange(_)}}),g(b,function(w){x.setApproximateExtent(f,w)})});function A(v){return v>=f[0]&&v<=f[1]}}};function o(i,l,e){var s=[Infinity,-Infinity];return g(e,function(u){var f=u.getData();f&&g(f.mapDimension(l,!0),function(A){var v=f.getApproximateExtent(A);v[0]<s[0]&&(s[0]=v[0]),v[1]>s[1]&&(s[1]=v[1])})}),s[1]<s[0]&&(s=[NaN,NaN]),n(i,s),s}function n(i,l){var e=i.getAxisModel(),s=e.getMin(!0),u=e.get("type")==="category",f=u&&e.getCategories().length;s!=null&&s!=="dataMin"&&typeof s!="function"?l[0]=s:u&&(l[0]=f>0?0:NaN);var A=e.getMax(!0);return A!=null&&A!=="dataMax"&&typeof A!="function"?l[1]=A:u&&(l[1]=f>0?f-1:NaN),e.get("scale",!0)||(l[0]>0&&(l[0]=0),l[1]<0&&(l[1]=0)),l}function t(i,l){var e=i.getAxisModel(),s=i._percentWindow,u=i._valueWindow;if(!s)return;var f=m.getPixelPrecision(u,[0,500]);f=Math.min(f,20);var A=l||s[0]===0&&s[1]===100;e.setRange(A?null:+u[0].toFixed(f),A?null:+u[1].toFixed(f))}function a(i){var l=i._minMaxSpan={},e=i._dataZoomModel,s=i._dataExtent;g(["min","max"],function(u){var f=e.get(u+"Span"),A=e.get(u+"ValueSpan");A!=null&&(A=i.getAxisModel().axis.scale.parse(A)),A!=null?f=m.linearMap(s[0]+A,s,[0,100],!0):f!=null&&(A=m.linearMap(f,[0,100],s,!0)-s[0]),l[u+"Span"]=f,l[u+"ValueSpan"]=A})}var d=c;B.exports=d},zM3Q:function(B,N,r){var y=r("4NO4"),m=y.makeInner;function C(){var p=m();return function(g){var h=p(g),c=g.pipelineContext,o=h.large,n=h.progressiveRender,t=h.large=c&&c.large,a=h.progressiveRender=c&&c.progressiveRender;return!!(o^t||n^a)&&"reset"}}B.exports=C},zRKj:function(B,N,r){r("Ae16"),r("Sp2Z"),r("y4/Y")},zTMp:function(B,N,r){var y=r("bYtY"),m=r("Qxkt"),C=y.each,p=y.curry;function g(s,u){var f={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return h(f,s,u),f.seriesInvolved&&o(f,s),f}function h(s,u,f){var A=u.getComponent("tooltip"),v=u.getComponent("axisPointer"),x=v.get("link",!0)||[],b=[];C(f.getCoordinateSystems(),function(w){if(!w.axisPointerEnabled)return;var _=e(w.model),T=s.coordSysAxesInfo[_]={};s.coordSysMap[_]=w;var S=w.model,E=S.getModel("tooltip",A);if(C(w.getAxes(),p(k,!1,null)),w.getTooltipAxes&&A&&E.get("show")){var I=E.get("trigger")==="axis",O=E.get("axisPointer.type")==="cross",F=w.getTooltipAxes(E.get("axisPointer.axis"));(I||O)&&C(F.baseAxes,p(k,O?"cross":!0,I)),O&&C(F.otherAxes,p(k,"cross",!1))}function k(M,P,V){var D=V.model.getModel("axisPointer",v),H=D.get("show");if(!H||H==="auto"&&!M&&!l(D))return;P==null&&(P=D.get("triggerTooltip")),D=M?c(V,E,v,u,M,P):D;var U=D.get("snap"),z=e(V.model),K=P||U||V.type==="category",G=s.axesInfo[z]={key:z,axis:V,coordSys:w,axisPointerModel:D,triggerTooltip:P,involveSeries:K,snap:U,useHandle:l(D),seriesModels:[]};T[z]=G,s.seriesInvolved|=K;var X=n(x,V);if(X!=null){var Z=b[X]||(b[X]={axesInfo:{}});Z.axesInfo[z]=G,Z.mapper=x[X].mapper,G.linkGroup=Z}}})}function c(s,u,f,A,v,x){var b=u.getModel("axisPointer"),w={};C(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(E){w[E]=y.clone(b.get(E))}),w.snap=s.type!=="category"&&!!x,b.get("type")==="cross"&&(w.type="line");var _=w.label||(w.label={});if(_.show==null&&(_.show=!1),v==="cross"){var T=b.get("label.show");if(_.show=T!=null?T:!0,!x){var S=w.lineStyle=b.get("crossStyle");S&&y.defaults(_,S.textStyle)}}return s.model.getModel("axisPointer",new m(w,f,A))}function o(s,u){u.eachSeries(function(f){var A=f.coordinateSystem,v=f.get("tooltip.trigger",!0),x=f.get("tooltip.show",!0);if(!A||v==="none"||v===!1||v==="item"||x===!1||f.get("axisPointer.show",!0)===!1)return;C(s.coordSysAxesInfo[e(A.model)],function(b){var w=b.axis;A.getAxis(w.dim)===w&&(b.seriesModels.push(f),b.seriesDataCount==null&&(b.seriesDataCount=0),b.seriesDataCount+=f.getData().count())})},this)}function n(s,u){for(var f=u.model,A=u.dim,v=0;v<s.length;v++){var x=s[v]||{};if(t(x[A+"AxisId"],f.id)||t(x[A+"AxisIndex"],f.componentIndex)||t(x[A+"AxisName"],f.name))return v}}function t(s,u){return s==="all"||y.isArray(s)&&y.indexOf(s,u)>=0||s===u}function a(s){var u=d(s);if(!u)return;var f=u.axisPointerModel,A=u.axis.scale,v=f.option,x=f.get("status"),b=f.get("value");b!=null&&(b=A.parse(b));var w=l(f);x==null&&(v.status=w?"show":"hide");var _=A.getExtent().slice();_[0]>_[1]&&_.reverse(),(b==null||b>_[1])&&(b=_[1]),b<_[0]&&(b=_[0]),v.value=b,w&&(v.status=u.axis.scale.isBlank()?"hide":"show")}function d(s){var u=(s.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return u&&u.axesInfo[e(s)]}function i(s){var u=d(s);return u&&u.axisPointerModel}function l(s){return!!s.get("handle.show")}function e(s){return s.type+"||"+s.id}N.collect=g,N.fixValue=a,N.getAxisInfo=d,N.getAxisPointerModel=i,N.makeKey=e},zYTA:function(B,N,r){var y=r("bYtY"),m=256;function C(){var g=y.createCanvas();this.canvas=g,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}C.prototype={update:function(g,h,c,o,n,t){var a=this._getBrush(),d=this._getGradient(g,n,"inRange"),i=this._getGradient(g,n,"outOfRange"),l=this.pointSize+this.blurSize,e=this.canvas,s=e.getContext("2d"),u=g.length;e.width=h,e.height=c;for(var f=0;f<u;++f){var A=g[f],v=A[0],x=A[1],b=A[2],w=o(b);s.globalAlpha=w,s.drawImage(a,v-l,x-l)}if(!e.width||!e.height)return e;for(var _=s.getImageData(0,0,e.width,e.height),T=_.data,S=0,E=T.length,I=this.minOpacity,O=this.maxOpacity,F=O-I;S<E;){var w=T[S+3]/256,k=Math.floor(w*(m-1))*4;if(w>0){var M=t(w)?d:i;w>0&&(w=w*F+I),T[S++]=M[k],T[S++]=M[k+1],T[S++]=M[k+2],T[S++]=M[k+3]*w*256}else S+=4}return s.putImageData(_,0,0),e},_getBrush:function(){var g=this._brushCanvas||(this._brushCanvas=y.createCanvas()),h=this.pointSize+this.blurSize,c=h*2;g.width=c,g.height=c;var o=g.getContext("2d");return o.clearRect(0,0,c,c),o.shadowOffsetX=c,o.shadowBlur=this.blurSize,o.shadowColor="#000",o.beginPath(),o.arc(-h,h,this.pointSize,0,Math.PI*2,!0),o.closePath(),o.fill(),g},_getGradient:function(g,h,c){for(var o=this._gradientPixels,n=o[c]||(o[c]=new Uint8ClampedArray(256*4)),t=[0,0,0,0],a=0,d=0;d<256;d++)h[c](d/255,!0,t),n[a++]=t[0],n[a++]=t[1],n[a++]=t[2],n[a++]=t[3];return n}};var p=C;B.exports=p},zarK:function(B,N,r){var y=r("YH21"),m=y.addEventListener,C=y.removeEventListener,p=y.normalizeEvent,g=y.getNativeEvent,h=r("bYtY"),c=r("H6uX"),o=r("ItGF"),n=300,t=o.domSupported,a=function(){var M=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],P=["touchstart","touchend","touchmove"],V={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},D=h.map(M,function(H){var U=H.replace("mouse","pointer");return V.hasOwnProperty(U)?U:H});return{mouse:M,touch:P,pointer:D}}(),d={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function i(M){return M==="mousewheel"&&o.browser.firefox?"DOMMouseScroll":M}function l(M){var P=M.pointerType;return P==="pen"||P==="touch"}function e(M){M.touching=!0,M.touchTimer!=null&&(clearTimeout(M.touchTimer),M.touchTimer=null),M.touchTimer=setTimeout(function(){M.touching=!1,M.touchTimer=null},700)}function s(M){M&&(M.zrByTouch=!0)}function u(M,P){return p(M.dom,new A(M,P),!0)}function f(M,P){for(var V=P,D=!1;V&&V.nodeType!==9&&!(D=V.domBelongToZr||V!==P&&V===M.painterRoot);)V=V.parentNode;return D}function A(M,P){this.type=P.type,this.target=this.currentTarget=M.dom,this.pointerType=P.pointerType,this.clientX=P.clientX,this.clientY=P.clientY}var v=A.prototype;v.stopPropagation=v.stopImmediatePropagation=v.preventDefault=h.noop;var x={mousedown:function(P){P=p(this.dom,P),this._mayPointerCapture=[P.zrX,P.zrY],this.trigger("mousedown",P)},mousemove:function(P){P=p(this.dom,P);var V=this._mayPointerCapture;V&&(P.zrX!==V[0]||P.zrY!==V[1])&&E(this,!0),this.trigger("mousemove",P)},mouseup:function(P){P=p(this.dom,P),E(this,!1),this.trigger("mouseup",P)},mouseout:function(P){P=p(this.dom,P),this._pointerCapturing&&(P.zrEventControl="no_globalout");var V=P.toElement||P.relatedTarget;P.zrIsToLocalDOM=f(this,V),this.trigger("mouseout",P)},touchstart:function(P){P=p(this.dom,P),s(P),this._lastTouchMoment=new Date,this.handler.processGesture(P,"start"),x.mousemove.call(this,P),x.mousedown.call(this,P)},touchmove:function(P){P=p(this.dom,P),s(P),this.handler.processGesture(P,"change"),x.mousemove.call(this,P)},touchend:function(P){P=p(this.dom,P),s(P),this.handler.processGesture(P,"end"),x.mouseup.call(this,P),+new Date-this._lastTouchMoment<n&&x.click.call(this,P)},pointerdown:function(P){x.mousedown.call(this,P)},pointermove:function(P){l(P)||x.mousemove.call(this,P)},pointerup:function(P){x.mouseup.call(this,P)},pointerout:function(P){l(P)||x.mouseout.call(this,P)}};h.each(["click","mousewheel","dblclick","contextmenu"],function(M){x[M]=function(P){P=p(this.dom,P),this.trigger(M,P)}});var b={pointermove:function(P){l(P)||b.mousemove.call(this,P)},pointerup:function(P){b.mouseup.call(this,P)},mousemove:function(P){this.trigger("mousemove",P)},mouseup:function(P){var V=this._pointerCapturing;E(this,!1),this.trigger("mouseup",P),V&&(P.zrEventControl="only_globalout",this.trigger("mouseout",P))}};function w(M,P){var V=P.domHandlers;o.pointerEventsSupported?h.each(a.pointer,function(D){T(P,D,function(H){V[D].call(M,H)})}):(o.touchEventsSupported&&h.each(a.touch,function(D){T(P,D,function(H){V[D].call(M,H),e(P)})}),h.each(a.mouse,function(D){T(P,D,function(H){H=g(H),P.touching||V[D].call(M,H)})}))}function _(M,P){o.pointerEventsSupported?h.each(d.pointer,V):o.touchEventsSupported||h.each(d.mouse,V);function V(D){function H(U){U=g(U),f(M,U.target)||(U=u(M,U),P.domHandlers[D].call(M,U))}T(P,D,H,{capture:!0})}}function T(M,P,V,D){M.mounted[P]=V,M.listenerOpts[P]=D,m(M.domTarget,i(P),V,D)}function S(M){var P=M.mounted;for(var V in P)P.hasOwnProperty(V)&&C(M.domTarget,i(V),P[V],M.listenerOpts[V]);M.mounted={}}function E(M,P){if(M._mayPointerCapture=null,t&&M._pointerCapturing^P){M._pointerCapturing=P;var V=M._globalHandlerScope;P?_(M,V):S(V)}}function I(M,P){this.domTarget=M,this.domHandlers=P,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function O(M,P){c.call(this),this.dom=M,this.painterRoot=P,this._localHandlerScope=new I(M,x),t&&(this._globalHandlerScope=new I(document,b)),this._pointerCapturing=!1,this._mayPointerCapture=null,w(this,this._localHandlerScope)}var F=O.prototype;F.dispose=function(){S(this._localHandlerScope),t&&S(this._globalHandlerScope)},F.setCursor=function(M){this.dom.style&&(this.dom.style.cursor=M||"default")},h.mixin(O,c);var k=O;B.exports=k},zdCA:function(B,N,r){"use strict";var y=r("284h"),m=r("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var C=m(r("3tO9")),p=y(r("q1tI")),g=m(r("PSzr")),h=m(r("KQxl")),c=function(t,a){return p.createElement(h.default,(0,C.default)((0,C.default)({},t),{},{ref:a,icon:g.default}))};c.displayName="BarsOutlined";var o=p.forwardRef(c);N.default=o},zeV3:function(B,N,r){"use strict";var y=r("pVnL"),m=r.n(y),C=r("lSNA"),p=r.n(C),g=r("q1tI"),h=r.n(g),c=r("TSYQ"),o=r.n(c),n=r("H84U"),t=function(i,l){var e={};for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&l.indexOf(s)<0&&(e[s]=i[s]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,s=Object.getOwnPropertySymbols(i);u<s.length;u++)l.indexOf(s[u])<0&&Object.prototype.propertyIsEnumerable.call(i,s[u])&&(e[s[u]]=i[s[u]]);return e},a={small:8,middle:16,large:24},d=function(l){var e,s=g.useContext(n.b),u=s.getPrefixCls,f=s.space,A=s.direction,v=l.size,x=v===void 0?(f==null?void 0:f.size)||"small":v,b=l.align,w=l.className,_=l.children,T=l.direction,S=T===void 0?"horizontal":T,E=l.prefixCls,I=t(l,["size","align","className","children","direction","prefixCls"]),O=g.Children.count(_);if(O===0)return null;var F=b===void 0&&S==="horizontal"?"center":b,k=u("space",E),M=o()(k,"".concat(k,"-").concat(S),(e={},p()(e,"".concat(k,"-rtl"),A==="rtl"),p()(e,"".concat(k,"-align-").concat(F),F),e),w),P="".concat(k,"-item"),V=A==="rtl"?"marginLeft":"marginRight";return g.createElement("div",m()({className:M},I),g.Children.map(_,function(D,H){return g.createElement("div",{className:P,key:"".concat(P,"-").concat(H),style:H===O-1||D===null||D===void 0?{}:p()({},S==="vertical"?"marginBottom":V,typeof x=="string"?a[x]:x)},D)}))};N.a=d},zoYe:function(B,N,r){var y=r("nmnc"),m=r("eUgh"),C=r("Z0cm"),p=r("/9aa"),g=1/0,h=y?y.prototype:void 0,c=h?h.toString:void 0;function o(n){if(typeof n=="string")return n;if(C(n))return m(n,o)+"";if(p(n))return c?c.call(n):"";var t=n+"";return t=="0"&&1/n==-g?"-0":t}B.exports=o},zs7G:function(B,N,r){"use strict";var y=r("VTBJ"),m=r("q1tI"),C={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"},p=C,g=r("6VBw"),h=function(n,t){return m.createElement(g.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};h.displayName="DoubleRightOutlined";var c=N.a=m.forwardRef(h)},zuHt:function(B,N,r){var y=r("bYtY");function m(C){var p={};C.eachSeriesByType("map",function(g){var h=g.getMapType();if(g.getHostGeoModel()||p[h])return;var c={};y.each(g.seriesGroup,function(n){var t=n.coordinateSystem,a=n.originalData;n.get("showLegendSymbol")&&C.getComponent("legend")&&a.each(a.mapDimension("value"),function(d,i){var l=a.getName(i),e=t.getRegion(l);if(!e||isNaN(d))return;var s=c[l]||0,u=t.dataToPoint(e.center);c[l]=s+1,a.setItemLayout(i,{point:u,offset:s})})});var o=g.getData();o.each(function(n){var t=o.getName(n),a=o.getItemLayout(n)||{};a.showLabel=!c[t],o.setItemLayout(n,a)}),p[h]=!0})}B.exports=m}}]);
|