|
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+6Fa":function(te,U,e){"use strict";var y=e("wx14"),L=e("rePB"),g=e("Ff2n"),v=e("VTBJ"),A=e("1OyB"),b=e("vuIU"),m=e("Ji7U"),d=e("LK+K"),r=e("q1tI"),a=e.n(r),s=e("TSYQ"),i=e.n(s),n=function(l){Object(m.a)(u,l);var t=Object(d.a)(u);function u(o){var c;Object(A.a)(this,u),c=t.call(this,o),c.handleChange=function(f){var w=c.props,x=w.disabled,I=w.onChange;if(x)return;"checked"in c.props||c.setState({checked:f.target.checked}),I&&I({target:Object(v.a)(Object(v.a)({},c.props),{},{checked:f.target.checked}),stopPropagation:function(){f.stopPropagation()},preventDefault:function(){f.preventDefault()},nativeEvent:f.nativeEvent})},c.saveInput=function(f){c.input=f};var h="checked"in o?o.checked:o.defaultChecked;return c.state={checked:h},c}return Object(b.a)(u,[{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){var c,h=this.props,f=h.prefixCls,w=h.className,x=h.style,I=h.name,C=h.id,N=h.type,S=h.disabled,E=h.readOnly,T=h.tabIndex,D=h.onClick,B=h.onFocus,R=h.onBlur,F=h.onKeyDown,M=h.onKeyPress,K=h.onKeyUp,j=h.autoFocus,H=h.value,k=h.required,P=Object(g.a)(h,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","onKeyDown","onKeyPress","onKeyUp","autoFocus","value","required"]),z=Object.keys(P).reduce(function(G,J){return(J.substr(0,5)==="aria-"||J.substr(0,5)==="data-"||J==="role")&&(G[J]=P[J]),G},{}),Y=this.state.checked,_=i()(f,w,(c={},Object(L.a)(c,"".concat(f,"-checked"),Y),Object(L.a)(c,"".concat(f,"-disabled"),S),c));return a.a.createElement("span",{className:_,style:x},a.a.createElement("input",Object(y.a)({name:I,id:C,type:N,required:k,readOnly:E,disabled:S,tabIndex:T,className:"".concat(f,"-input"),checked:!!Y,onClick:D,onFocus:B,onBlur:R,onKeyUp:K,onKeyDown:F,onKeyPress:M,onChange:this.handleChange,autoFocus:j,ref:this.saveInput,value:H},z)),a.a.createElement("span",{className:"".concat(f,"-inner")}))}}],[{key:"getDerivedStateFromProps",value:function(c,h){return"checked"in c?Object(v.a)(Object(v.a)({},h),{},{checked:c.checked}):null}}]),u}(r.Component);n.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){},onKeyDown:function(){},onKeyPress:function(){},onKeyUp:function(){}},U.a=n},"+BJd":function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("6MrE"),v=e.n(g)},"+QRC":function(te,U,e){"use strict";var y=e("E9nw"),L={"text/plain":"Text","text/html":"Url",default:"Text"},g="Copy to clipboard: #{key}, Enter";function v(b){var m=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return b.replace(/#{\s*key\s*}/g,m)}function A(b,m){var d,r,a,s,i,n,l=!1;m||(m={}),d=m.debug||!1;try{a=y(),s=document.createRange(),i=document.getSelection(),n=document.createElement("span"),n.textContent=b,n.style.all="unset",n.style.position="fixed",n.style.top=0,n.style.clip="rect(0, 0, 0, 0)",n.style.whiteSpace="pre",n.style.webkitUserSelect="text",n.style.MozUserSelect="text",n.style.msUserSelect="text",n.style.userSelect="text",n.addEventListener("copy",function(u){if(u.stopPropagation(),m.format)if(u.preventDefault(),typeof u.clipboardData=="undefined"){d&&console.warn("unable to use e.clipboardData"),d&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=L[m.format]||L.default;window.clipboardData.setData(o,b)}else u.clipboardData.clearData(),u.clipboardData.setData(m.format,b);m.onCopy&&(u.preventDefault(),m.onCopy(u.clipboardData))}),document.body.appendChild(n),s.selectNodeContents(n),i.addRange(s);var t=document.execCommand("copy");if(!t)throw new Error("copy command was unsuccessful");l=!0}catch(u){d&&console.error("unable to copy using execCommand: ",u),d&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(m.format||"text",b),m.onCopy&&m.onCopy(window.clipboardData),l=!0}catch(o){d&&console.error("unable to copy using clipboardData: ",o),d&&console.error("falling back to prompt"),r=v("message"in m?m.message:g),window.prompt(r,b)}}finally{i&&(typeof i.removeRange=="function"?i.removeRange(s):i.removeAllRanges()),n&&document.body.removeChild(n),a()}return l}te.exports=A},"+TT/":function(te,U,e){var y=e("bYtY"),L=e("mFDi"),g=e("OELB"),v=g.parsePercent,A=e("7aKB"),b=y.each,m=["left","right","top","bottom","width","height"],d=[["width","left","right"],["height","top","bottom"]];function r(f,w,x,I,C){var N=0,S=0;I==null&&(I=Infinity),C==null&&(C=Infinity);var E=0;w.eachChild(function(T,D){var B=T.position,R=T.getBoundingRect(),F=w.childAt(D+1),M=F&&F.getBoundingRect(),K,j;if(f==="horizontal"){var H=R.width+(M?-M.x+R.x:0);K=N+H,K>I||T.newline?(N=0,K=H,S+=E+x,E=R.height):E=Math.max(E,R.height)}else{var k=R.height+(M?-M.y+R.y:0);j=S+k,j>C||T.newline?(N+=E+x,S=0,j=k,E=R.width):E=Math.max(E,R.width)}if(T.newline)return;B[0]=N,B[1]=S,f==="horizontal"?N=K+x:S=j+x})}var a=r,s=y.curry(r,"vertical"),i=y.curry(r,"horizontal");function n(f,w,x){var I=w.width,C=w.height,N=v(f.x,I),S=v(f.y,C),E=v(f.x2,I),T=v(f.y2,C);return(isNaN(N)||isNaN(parseFloat(f.x)))&&(N=0),(isNaN(E)||isNaN(parseFloat(f.x2)))&&(E=I),(isNaN(S)||isNaN(parseFloat(f.y)))&&(S=0),(isNaN(T)||isNaN(parseFloat(f.y2)))&&(T=C),x=A.normalizeCssArray(x||0),{width:Math.max(E-N-x[1]-x[3],0),height:Math.max(T-S-x[0]-x[2],0)}}function l(f,w,x){x=A.normalizeCssArray(x||0);var I=w.width,C=w.height,N=v(f.left,I),S=v(f.top,C),E=v(f.right,I),T=v(f.bottom,C),D=v(f.width,I),B=v(f.height,C),R=x[2]+x[0],F=x[1]+x[3],M=f.aspect;isNaN(D)&&(D=I-E-F-N),isNaN(B)&&(B=C-T-R-S),M!=null&&(isNaN(D)&&isNaN(B)&&(M>I/C?D=I*.8:B=C*.8),isNaN(D)&&(D=M*B),isNaN(B)&&(B=D/M)),isNaN(N)&&(N=I-E-D-F),isNaN(S)&&(S=C-T-B-R);switch(f.left||f.right){case"center":N=I/2-D/2-x[3];break;case"right":N=I-D-F;break}switch(f.top||f.bottom){case"middle":case"center":S=C/2-B/2-x[0];break;case"bottom":S=C-B-R;break}N=N||0,S=S||0,isNaN(D)&&(D=I-F-N-(E||0)),isNaN(B)&&(B=C-R-S-(T||0));var K=new L(N+x[3],S+x[0],D,B);return K.margin=x,K}function t(f,w,x,I,C){var N=!C||!C.hv||C.hv[0],S=!C||!C.hv||C.hv[1],E=C&&C.boundingMode||"all";if(!N&&!S)return;var T;if(E==="raw")T=f.type==="group"?new L(0,0,+w.width||0,+w.height||0):f.getBoundingRect();else if(T=f.getBoundingRect(),f.needLocalTransform()){var D=f.getLocalTransform();T=T.clone(),T.applyTransform(D)}w=l(y.defaults({width:T.width,height:T.height},w),x,I);var B=f.position,R=N?w.x-T.x:0,F=S?w.y-T.y:0;f.attr("position",E==="raw"?[R,F]:[B[0]+R,B[1]+F])}function u(f,w){return f[d[w][0]]!=null||f[d[w][1]]!=null&&f[d[w][2]]!=null}function o(f,w,x){!y.isObject(x)&&(x={});var I=x.ignoreSize;!y.isArray(I)&&(I=[I,I]);var C=S(d[0],0),N=S(d[1],1);D(d[0],f,C),D(d[1],f,N);function S(B,R){var F={},M=0,K={},j=0,H=2;if(b(B,function(z){K[z]=f[z]}),b(B,function(z){E(w,z)&&(F[z]=K[z]=w[z]),T(F,z)&&M++,T(K,z)&&j++}),I[R])return T(w,B[1])?K[B[2]]=null:T(w,B[2])&&(K[B[1]]=null),K;if(j===H||!M)return K;if(M>=H)return F;for(var k=0;k<B.length;k++){var P=B[k];if(!E(F,P)&&E(f,P)){F[P]=f[P];break}}return F}function E(B,R){return B.hasOwnProperty(R)}function T(B,R){return B[R]!=null&&B[R]!=="auto"}function D(B,R,F){b(B,function(M){R[M]=F[M]})}}function c(f){return h({},f)}function h(f,w){return w&&f&&b(m,function(x){w.hasOwnProperty(x)&&(f[x]=w[x])}),f}U.LOCATION_PARAMS=m,U.HV_NAMES=d,U.box=a,U.vbox=s,U.hbox=i,U.getAvailableSize=n,U.getLayoutRect=l,U.positionElement=t,U.sizeCalculable=u,U.mergeLayoutParam=o,U.getLayoutParams=c,U.copyLayoutParams=h},"+Zaj":function(te,U,e){"use strict";var y=e("284h"),L=e("TqRt");Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var g=L(e("3tO9")),v=y(e("q1tI")),A=L(e("ugBc")),b=L(e("KQxl")),m=function(a,s){return v.createElement(b.default,(0,g.default)((0,g.default)({},a),{},{ref:s,icon:A.default}))};m.displayName="CalendarOutlined";var d=v.forwardRef(m);U.default=d},"+d4F":function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=L(e("y3Yb"));function L(v){return v&&v.__esModule?v:{default:v}}var g=y;U.default=g,te.exports=g},"+eQT":function(te,U,e){"use strict";var y=e("wd/R"),L=e.n(y),g=e("Kwbf"),v={getNow:function(){return L()()},getWeekDay:function(At){var qt=At.clone().locale("en_US");return qt.weekday()+qt.localeData().firstDayOfWeek()},getYear:function(At){return At.year()},getMonth:function(At){return At.month()},getDate:function(At){return At.date()},getHour:function(At){return At.hour()},getMinute:function(At){return At.minute()},getSecond:function(At){return At.second()},addYear:function(At,qt){var $t=At.clone();return $t.add(qt,"year")},addMonth:function(At,qt){var $t=At.clone();return $t.add(qt,"month")},addDate:function(At,qt){var $t=At.clone();return $t.add(qt,"day")},setYear:function(At,qt){var $t=At.clone();return $t.year(qt)},setMonth:function(At,qt){var $t=At.clone();return $t.month(qt)},setDate:function(At,qt){var $t=At.clone();return $t.date(qt)},setHour:function(At,qt){var $t=At.clone();return $t.hour(qt)},setMinute:function(At,qt){var $t=At.clone();return $t.minute(qt)},setSecond:function(At,qt){var $t=At.clone();return $t.second(qt)},isAfter:function(At,qt){return At.isAfter(qt)},isValidate:function(At){return At.isValid()},locale:{getWeekFirstDay:function(At){var qt=L()().locale(At);return qt.localeData().firstDayOfWeek()},getWeek:function(At,qt){var $t=qt.clone(),Cn=$t.locale(At);return Cn.week()},getShortWeekDays:function(At){var qt=L()().locale(At);return qt.localeData().weekdaysMin()},getShortMonths:function(At){var qt=L()().locale(At);return qt.localeData().monthsShort()},format:function(At,qt,$t){var Cn=qt.clone(),Dn=Cn.locale(At);return Dn.format($t)},parse:function(At,qt,$t){for(var Cn=[],Dn=0;Dn<$t.length;Dn+=1){var Hn=$t[Dn],ar=qt;if(Hn.includes("wo")||Hn.includes("Wo")){Hn=Hn.replace(/wo/g,"w").replace(/Wo/g,"W");var Er=Hn.match(/[-YyMmDdHhSsWwGg]+/g),gr=ar.match(/[-\d]+/g);Er&&gr?(Hn=Er.join(""),ar=gr.join("")):Cn.push(Hn.replace(/o/g,""))}var Rr=L()(ar,Hn,At,!0);if(Rr.isValid())return Rr}for(var kr=0;kr<Cn.length;kr+=1){var wr=L()(qt,Cn[kr],At,!1);if(wr.isValid())return Object(g.b)(!1,"Not match any format strictly and fallback to fuzzy match. Please help to fire a issue about this."),wr}return null}}},A=v,b=e("pVnL"),m=e.n(b),d=e("q1tI"),r=e("2/Rp");function a(Re){return d.createElement(r.a,m()({size:"small",type:"primary"},Re))}var s=e("mr32");function i(Re){return d.createElement(s.a,m()({color:"blue"},Re))}var n=e("lSNA"),l=e.n(n),t=e("lwsE"),u=e.n(t),o=e("W8MJ"),c=e.n(o),h=e("7W2i"),f=e.n(h),w=e("LQ03"),x=e.n(w),I=e("TSYQ"),C=e.n(I),N=e("r/2G"),S=e.n(N),E=e("XzQk"),T=e.n(E),D=e("kbBi"),B=e.n(D),R=e("1OyB"),F=e("vuIU"),M=e("Ji7U"),K=e("LK+K"),j=e("rePB"),H=e("VTBJ"),k=e("ODXe"),P=e("6cGi"),z=e("U8pU"),Y=e("4IlW"),_=d.createContext({}),G=_,J={visibility:"hidden"};function ue(Re){var At=Re.prefixCls,qt=Re.prevIcon,$t=qt===void 0?"\u2039":qt,Cn=Re.nextIcon,Dn=Cn===void 0?"\u203A":Cn,Hn=Re.superPrevIcon,ar=Hn===void 0?"\xAB":Hn,Er=Re.superNextIcon,gr=Er===void 0?"\xBB":Er,Rr=Re.onSuperPrev,kr=Re.onSuperNext,wr=Re.onPrev,Lr=Re.onNext,Ir=Re.children,zr=d.useContext(G),Gr=zr.hideNextBtn,ri=zr.hidePrevBtn;return d.createElement("div",{className:At},Rr&&d.createElement("button",{type:"button",onClick:Rr,tabIndex:-1,className:"".concat(At,"-super-prev-btn"),style:ri?J:{}},ar),wr&&d.createElement("button",{type:"button",onClick:wr,tabIndex:-1,className:"".concat(At,"-prev-btn"),style:ri?J:{}},$t),d.createElement("div",{className:"".concat(At,"-view")},Ir),Lr&&d.createElement("button",{type:"button",onClick:Lr,tabIndex:-1,className:"".concat(At,"-next-btn"),style:Gr?J:{}},Dn),kr&&d.createElement("button",{type:"button",onClick:kr,tabIndex:-1,className:"".concat(At,"-super-next-btn"),style:Gr?J:{}},gr))}var q=ue;function re(Re){var At=d.useContext(G),qt=At.hideHeader;if(qt)return null;var $t=Re.prefixCls,Cn=Re.generateConfig,Dn=Re.locale,Hn=Re.value,ar=Re.format,Er="".concat($t,"-header");return d.createElement(q,{prefixCls:Er},Hn?Cn.locale.format(Dn.locale,Hn,ar):"\xA0")}var me=re,be=e("YrtM"),ke=e("KQm4"),ce=new Map;function Ee(Re,At,qt){if(ce.get(Re)&&cancelAnimationFrame(ce.get(Re)),qt<=0){ce.set(Re,requestAnimationFrame(function(){Re.scrollTop=At}));return}var $t=At-Re.scrollTop,Cn=$t/qt*10;ce.set(Re,requestAnimationFrame(function(){Re.scrollTop+=Cn,Re.scrollTop!==At&&Ee(Re,At,qt-10)}))}function pe(Re,At){var qt=At.onLeftRight,$t=At.onCtrlLeftRight,Cn=At.onUpDown,Dn=At.onPageUpDown,Hn=At.onEnter,ar=Re.which,Er=Re.ctrlKey,gr=Re.metaKey;switch(ar){case Y.a.LEFT:if(Er||gr){if($t)return $t(-1),!0}else if(qt)return qt(-1),!0;break;case Y.a.RIGHT:if(Er||gr){if($t)return $t(1),!0}else if(qt)return qt(1),!0;break;case Y.a.UP:if(Cn)return Cn(-1),!0;break;case Y.a.DOWN:if(Cn)return Cn(1),!0;break;case Y.a.PAGE_UP:if(Dn)return Dn(-1),!0;break;case Y.a.PAGE_DOWN:if(Dn)return Dn(1),!0;break;case Y.a.ENTER:if(Hn)return Hn(),!0;break}return!1}function Se(Re,At,qt,$t){var Cn=Re;if(!Cn)switch(At){case"time":Cn=$t?"hh:mm:ss a":"HH:mm:ss";break;case"week":Cn="gggg-wo";break;case"month":Cn="YYYY-MM";break;case"quarter":Cn="YYYY-[Q]Q";break;case"year":Cn="YYYY";break;default:Cn=qt?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Cn}function st(Re,At){var qt=Re==="time"?8:10;return Math.max(qt,At.length)+2}var qe=null,tt=new Set;function Dt(Re){return!qe&&typeof window!="undefined"&&window.addEventListener&&(qe=function(qt){Object(ke.a)(tt).forEach(function($t){$t(qt)})},window.addEventListener("mousedown",qe)),tt.add(Re),function(){tt.delete(Re),tt.size===0&&(window.removeEventListener("mousedown",qe),qe=null)}}var ct=function(At){return At==="month"||At==="date"?"year":At},St=function(At){return At==="date"?"month":At},rt=function(At){return At==="month"||At==="date"?"quarter":At},ht=function(At){return At==="date"?"week":At},je={year:ct,month:St,quarter:rt,week:ht,time:null,date:null};function Me(Re,At){return Re.some(function(qt){return qt&&qt.contains(At)})}function Ne(Re){var At=Re.prefixCls,qt=Re.units,$t=Re.onSelect,Cn=Re.value,Dn=Re.active,Hn=Re.hideDisabledOptions,ar="".concat(At,"-cell"),Er=d.useContext(G),gr=Er.open,Rr=d.useRef(null),kr=d.useRef(new Map);return d.useLayoutEffect(function(){var wr=kr.current.get(Cn);wr&&gr!==!1&&Ee(Rr.current,wr.offsetTop,120)},[Cn]),d.useLayoutEffect(function(){if(gr){var wr=kr.current.get(Cn);wr&&Ee(Rr.current,wr.offsetTop,0)}},[gr]),d.createElement("ul",{className:C()("".concat(At,"-column"),Object(j.a)({},"".concat(At,"-column-active"),Dn)),ref:Rr,style:{position:"relative"}},qt.map(function(wr){var Lr;return Hn&&wr.disabled?null:d.createElement("li",{key:wr.value,ref:function(zr){kr.current.set(wr.value,zr)},className:C()(ar,(Lr={},Object(j.a)(Lr,"".concat(ar,"-disabled"),wr.disabled),Object(j.a)(Lr,"".concat(ar,"-selected"),Cn===wr.value),Lr)),onClick:function(){if(wr.disabled)return;$t(wr.value)}},d.createElement("div",{className:"".concat(ar,"-inner")},wr.label))}))}var it=Ne;function wt(Re,At){for(var qt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",$t=String(Re);$t.length<At;)$t="".concat(qt).concat(Re);return $t}var jt=function(){for(var At=arguments.length,qt=new Array(At),$t=0;$t<At;$t++)qt[$t]=arguments[$t];return qt};function lt(Re){return Re==null?[]:Array.isArray(Re)?Re:[Re]}function Te(Re){var At={};return Object.keys(Re).forEach(function(qt){(qt.substr(0,5)==="data-"||qt.substr(0,5)==="aria-"||qt==="role"||qt==="name")&&qt.substr(0,7)!=="data-__"&&(At[qt]=Re[qt])}),At}function mt(Re,At){return Re?Re[At]:null}function tn(Re,At,qt){var $t=[mt(Re,0),mt(Re,1)];return $t[qt]=typeof At=="function"?At($t[qt]):At,!$t[0]&&!$t[1]?null:$t}function Vt(Re,At,qt,$t,Cn){var Dn=Re.setHour(At,qt);return Dn=Re.setMinute(Dn,$t),Dn=Re.setSecond(Dn,Cn),Dn}function Yt(Re,At,qt,$t,Cn,Dn){var Hn=Math.floor(Re/$t)*$t;if(Hn<Re)return[Hn,60-Cn,60-Dn];var ar=Math.floor(At/Cn)*Cn;if(ar<At)return[Hn,ar,60-Dn];var Er=Math.floor(qt/Dn)*Dn;return[Hn,ar,Er]}function Qt(Re,At){if(Re.length!==At.length)return!0;for(var qt=0;qt<Re.length;qt+=1)if(Re[qt].disabled!==At[qt].disabled)return!0;return!1}function an(Re,At,qt,$t){for(var Cn=[],Dn=Re;Dn<=At;Dn+=qt)Cn.push({label:wt(Dn,2),value:Dn,disabled:($t||[]).includes(Dn)});return Cn}function on(Re){var At=Re.generateConfig,qt=Re.prefixCls,$t=Re.operationRef,Cn=Re.activeColumnIndex,Dn=Re.value,Hn=Re.showHour,ar=Re.showMinute,Er=Re.showSecond,gr=Re.use12Hours,Rr=Re.hourStep,kr=Rr===void 0?1:Rr,wr=Re.minuteStep,Lr=wr===void 0?1:wr,Ir=Re.secondStep,zr=Ir===void 0?1:Ir,Gr=Re.disabledHours,ri=Re.disabledMinutes,yi=Re.disabledSeconds,li=Re.hideDisabledOptions,Ti=Re.onSelect,Fi=[],Si="".concat(qt,"-content"),mi="".concat(qt,"-time-panel"),Ni,Wr=Dn?At.getHour(Dn):-1,Ri=Dn?At.getMinute(Dn):-1,Ki=Dn?At.getSecond(Dn):-1,hn=function(Yr,Jr,Ci,ta){var oa=Dn||At.getNow(),da=Math.max(0,Jr),ua=Math.max(0,Ci),ma=Math.max(0,ta);return oa=Vt(At,oa,!gr||!Yr?da:da+12,ua,ma),oa},Rn=an(0,23,kr,Gr&&Gr()),Yn=Object(be.a)(function(){return Rn},Rn,Qt);gr&&(Ni=Wr>=12,Wr%=12);var En=d.useMemo(function(){if(!gr)return[!1,!1];var _r=[!0,!0];return Yn.forEach(function(Yr){var Jr=Yr.disabled,Ci=Yr.value;if(Jr)return;Ci>=12?_r[1]=!1:_r[0]=!1}),_r},[gr,Yn]),Mt=Object(k.a)(En,2),mn=Mt[0],zt=Mt[1],_n=d.useMemo(function(){return gr?Yn.filter(Ni?function(_r){return _r.value>=12}:function(_r){return _r.value<12}).map(function(_r){var Yr=_r.value%12,Jr=Yr===0?"12":wt(Yr,2);return Object(H.a)(Object(H.a)({},_r),{},{label:Jr,value:Yr})}):Yn},[gr,Yn]),kn=an(0,59,Lr,ri&&ri(Wr)),pr=an(0,59,zr,yi&&yi(Wr,Ri));$t.current={onUpDown:function(Yr){var Jr=Fi[Cn];if(Jr)for(var Ci=Jr.units.findIndex(function(ua){return ua.value===Jr.value}),ta=Jr.units.length,oa=1;oa<ta;oa+=1){var da=Jr.units[(Ci+Yr*oa+ta)%ta];if(da.disabled!==!0){Jr.onSelect(da.value);break}}}};function or(_r,Yr,Jr,Ci,ta){_r!==!1&&Fi.push({node:d.cloneElement(Yr,{prefixCls:mi,value:Jr,active:Cn===Fi.length,onSelect:ta,units:Ci,hideDisabledOptions:li}),onSelect:ta,value:Jr,units:Ci})}or(Hn,d.createElement(it,{key:"hour"}),Wr,_n,function(_r){Ti(hn(Ni,_r,Ri,Ki),"mouse")}),or(ar,d.createElement(it,{key:"minute"}),Ri,kn,function(_r){Ti(hn(Ni,Wr,_r,Ki),"mouse")}),or(Er,d.createElement(it,{key:"second"}),Ki,pr,function(_r){Ti(hn(Ni,Wr,Ri,_r),"mouse")});var yr=-1;return typeof Ni=="boolean"&&(yr=Ni?1:0),or(gr===!0,d.createElement(it,{key:"12hours"}),yr,[{label:"AM",value:0,disabled:mn},{label:"PM",value:1,disabled:zt}],function(_r){Ti(hn(!!_r,Wr,Ri,Ki),"mouse")}),d.createElement("div",{className:Si},Fi.map(function(_r){var Yr=_r.node;return Yr}))}var vt=on,de=function(At){return At.filter(function(qt){return qt!==!1}).length};function he(Re){var At=Re.generateConfig,qt=Re.format,$t=qt===void 0?"HH:mm:ss":qt,Cn=Re.prefixCls,Dn=Re.active,Hn=Re.operationRef,ar=Re.showHour,Er=Re.showMinute,gr=Re.showSecond,Rr=Re.use12Hours,kr=Rr===void 0?!1:Rr,wr=Re.onSelect,Lr=Re.value,Ir="".concat(Cn,"-time-panel"),zr=d.useRef(),Gr=d.useState(-1),ri=Object(k.a)(Gr,2),yi=ri[0],li=ri[1],Ti=de([ar,Er,gr,kr]);return Hn.current={onKeyDown:function(Si){return pe(Si,{onLeftRight:function(Ni){li((yi+Ni+Ti)%Ti)},onUpDown:function(Ni){yi===-1?li(0):zr.current&&zr.current.onUpDown(Ni)},onEnter:function(){wr(Lr||At.getNow(),"key"),li(-1)}})},onBlur:function(){li(-1)}},d.createElement("div",{className:C()(Ir,Object(j.a)({},"".concat(Ir,"-active"),Dn))},d.createElement(me,Object.assign({},Re,{format:$t,prefixCls:Cn})),d.createElement(vt,Object.assign({},Re,{prefixCls:Cn,activeColumnIndex:yi,operationRef:zr})))}var Pt=he,We=7;function Je(Re,At){return!Re&&!At?!0:!Re||!At?!1:void 0}function Ln(Re,At,qt){var $t=Je(At,qt);if(typeof $t=="boolean")return $t;var Cn=Math.floor(Re.getYear(At)/10),Dn=Math.floor(Re.getYear(qt)/10);return Cn===Dn}function jn(Re,At,qt){var $t=Je(At,qt);return typeof $t=="boolean"?$t:Re.getYear(At)===Re.getYear(qt)}function Sn(Re,At){var qt=Math.floor(Re.getMonth(At)/3);return qt+1}function Xn(Re,At,qt){var $t=Je(At,qt);return typeof $t=="boolean"?$t:jn(Re,At,qt)&&Sn(Re,At)===Sn(Re,qt)}function rr(Re,At,qt){var $t=Je(At,qt);return typeof $t=="boolean"?$t:jn(Re,At,qt)&&Re.getMonth(At)===Re.getMonth(qt)}function hr(Re,At,qt){var $t=Je(At,qt);return typeof $t=="boolean"?$t:Re.getYear(At)===Re.getYear(qt)&&Re.getMonth(At)===Re.getMonth(qt)&&Re.getDate(At)===Re.getDate(qt)}function gn(Re,At,qt){var $t=Je(At,qt);return typeof $t=="boolean"?$t:Re.getHour(At)===Re.getHour(qt)&&Re.getMinute(At)===Re.getMinute(qt)&&Re.getSecond(At)===Re.getSecond(qt)}function vn(Re,At,qt,$t){var Cn=Je(qt,$t);return typeof Cn=="boolean"?Cn:Re.locale.getWeek(At,qt)===Re.locale.getWeek(At,$t)}function Ft(Re,At,qt){return hr(Re,At,qt)&&gn(Re,At,qt)}function Ye(Re,At,qt,$t){return!At||!qt||!$t?!1:!hr(Re,At,$t)&&!hr(Re,qt,$t)&&Re.isAfter($t,At)&&Re.isAfter(qt,$t)}function Pe(Re,At,qt){var $t=At.locale.getWeekFirstDay(Re),Cn=At.setDate(qt,1),Dn=At.getWeekDay(Cn),Hn=At.addDate(Cn,$t-Dn);return At.getMonth(Hn)===At.getMonth(qt)&&At.getDate(Hn)>1&&(Hn=At.addDate(Hn,-7)),Hn}function Jt(Re,At,qt){var $t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(At){case"year":return qt.addYear(Re,$t*10);case"quarter":case"month":return qt.addYear(Re,$t);default:return qt.addMonth(Re,$t)}}var bn=d.createContext({}),An=bn;function dn(Re){var At=Re.cellPrefixCls,qt=Re.generateConfig,$t=Re.rangedValue,Cn=Re.hoverRangedValue,Dn=Re.isInView,Hn=Re.isSameCell,ar=Re.offsetCell,Er=Re.today,gr=Re.value;function Rr(kr){var wr,Lr=ar(kr,-1),Ir=ar(kr,1),zr=mt($t,0),Gr=mt($t,1),ri=mt(Cn,0),yi=mt(Cn,1),li=Ye(qt,ri,yi,kr);function Ti(Ri){return Hn(zr,Ri)}function Fi(Ri){return Hn(Gr,Ri)}var Si=Hn(ri,kr),mi=Hn(yi,kr),Ni=(li||mi)&&(!Dn(Lr)||Fi(Lr)),Wr=(li||Si)&&(!Dn(Ir)||Ti(Ir));return wr={},Object(j.a)(wr,"".concat(At,"-in-view"),Dn(kr)),Object(j.a)(wr,"".concat(At,"-in-range"),Ye(qt,zr,Gr,kr)),Object(j.a)(wr,"".concat(At,"-range-start"),Ti(kr)),Object(j.a)(wr,"".concat(At,"-range-end"),Fi(kr)),Object(j.a)(wr,"".concat(At,"-range-start-single"),Ti(kr)&&!Gr),Object(j.a)(wr,"".concat(At,"-range-end-single"),Fi(kr)&&!zr),Object(j.a)(wr,"".concat(At,"-range-start-near-hover"),Ti(kr)&&(Hn(Lr,ri)||Ye(qt,ri,yi,Lr))),Object(j.a)(wr,"".concat(At,"-range-end-near-hover"),Fi(kr)&&(Hn(Ir,yi)||Ye(qt,ri,yi,Ir))),Object(j.a)(wr,"".concat(At,"-range-hover"),li),Object(j.a)(wr,"".concat(At,"-range-hover-start"),Si),Object(j.a)(wr,"".concat(At,"-range-hover-end"),mi),Object(j.a)(wr,"".concat(At,"-range-hover-edge-start"),Ni),Object(j.a)(wr,"".concat(At,"-range-hover-edge-end"),Wr),Object(j.a)(wr,"".concat(At,"-range-hover-edge-start-near-range"),Ni&&Hn(Lr,Gr)),Object(j.a)(wr,"".concat(At,"-range-hover-edge-end-near-range"),Wr&&Hn(Ir,zr)),Object(j.a)(wr,"".concat(At,"-today"),Hn(Er,kr)),Object(j.a)(wr,"".concat(At,"-selected"),Hn(gr,kr)),wr}return Rr}function vr(Re){for(var At=Re.prefixCls,qt=Re.disabledDate,$t=Re.onSelect,Cn=Re.rowNum,Dn=Re.colNum,Hn=Re.prefixColumn,ar=Re.rowClassName,Er=Re.baseDate,gr=Re.getCellClassName,Rr=Re.getCellText,kr=Re.getCellNode,wr=Re.getCellDate,Lr=Re.titleCell,Ir=Re.headerCells,zr=d.useContext(G),Gr=zr.onDateMouseEnter,ri=zr.onDateMouseLeave,yi="".concat(At,"-cell"),li=[],Ti=0;Ti<Cn;Ti+=1){for(var Fi=[],Si=void 0,mi=function(Ri){var Ki=Ti*Dn+Ri,hn=wr(Er,Ki),Rn=qt&&qt(hn);Ri===0&&(Si=hn,Hn&&Fi.push(Hn(Si))),Fi.push(d.createElement("td",{key:Ri,title:Lr&&Lr(hn),className:C()(yi,Object(H.a)(Object(j.a)({},"".concat(yi,"-disabled"),Rn),gr(hn))),onClick:function(){Rn||$t(hn)},onMouseEnter:function(){!Rn&&Gr&&Gr(hn)},onMouseLeave:function(){!Rn&&ri&&ri(hn)}},kr?kr(hn):d.createElement("div",{className:"".concat(yi,"-inner")},Rr(hn))))},Ni=0;Ni<Dn;Ni+=1)mi(Ni);li.push(d.createElement("tr",{key:Ti,className:ar&&ar(Si)},Fi))}return d.createElement("div",{className:"".concat(At,"-body")},d.createElement("table",{className:"".concat(At,"-content")},Ir&&d.createElement("thead",null,d.createElement("tr",null,Ir)),d.createElement("tbody",null,li)))}function qn(Re){var At=Re.prefixCls,qt=Re.generateConfig,$t=Re.prefixColumn,Cn=Re.locale,Dn=Re.rowCount,Hn=Re.viewDate,ar=Re.value,Er=Re.dateRender,gr=d.useContext(An),Rr=gr.rangedValue,kr=gr.hoverRangedValue,wr=Pe(Cn.locale,qt,Hn),Lr="".concat(At,"-cell"),Ir=qt.locale.getWeekFirstDay(Cn.locale),zr=qt.getNow(),Gr=[],ri=Cn.shortWeekDays||(qt.locale.getShortWeekDays?qt.locale.getShortWeekDays(Cn.locale):[]);$t&&Gr.push(d.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var yi=0;yi<We;yi+=1)Gr.push(d.createElement("th",{key:yi},ri[(yi+Ir)%We]));var li=dn({cellPrefixCls:Lr,today:zr,value:ar,generateConfig:qt,rangedValue:$t?null:Rr,hoverRangedValue:$t?null:kr,isSameCell:function(Si,mi){return hr(qt,Si,mi)},isInView:function(Si){return rr(qt,Si,Hn)},offsetCell:function(Si,mi){return qt.addDate(Si,mi)}}),Ti=Er?function(Fi){return Er(Fi,zr)}:void 0;return d.createElement(vr,Object.assign({},Re,{rowNum:Dn,colNum:We,baseDate:wr,getCellNode:Ti,getCellText:qt.getDate,getCellClassName:li,getCellDate:qt.addDate,titleCell:function(Si){return qt.locale.format(Cn.locale,Si,"YYYY-MM-DD")},headerCells:Gr}))}var Ur=qn;function Ue(Re){var At=Re.prefixCls,qt=Re.generateConfig,$t=Re.locale,Cn=Re.viewDate,Dn=Re.onNextMonth,Hn=Re.onPrevMonth,ar=Re.onNextYear,Er=Re.onPrevYear,gr=Re.onYearClick,Rr=Re.onMonthClick,kr=d.useContext(G),wr=kr.hideHeader;if(wr)return null;var Lr="".concat(At,"-header"),Ir=$t.shortMonths||(qt.locale.getShortMonths?qt.locale.getShortMonths($t.locale):[]),zr=qt.getMonth(Cn),Gr=d.createElement("button",{type:"button",key:"year",onClick:gr,tabIndex:-1,className:"".concat(At,"-year-btn")},qt.locale.format($t.locale,Cn,$t.yearFormat)),ri=d.createElement("button",{type:"button",key:"month",onClick:Rr,tabIndex:-1,className:"".concat(At,"-month-btn")},$t.monthFormat?qt.locale.format($t.locale,Cn,$t.monthFormat):Ir[zr]),yi=$t.monthBeforeYear?[ri,Gr]:[Gr,ri];return d.createElement(q,Object.assign({},Re,{prefixCls:Lr,onSuperPrev:Er,onPrev:Hn,onNext:Dn,onSuperNext:ar}),yi)}var He=Ue,se=6;function Ae(Re){var At=Re.prefixCls,qt=Re.panelName,$t=qt===void 0?"date":qt,Cn=Re.keyboardConfig,Dn=Re.active,Hn=Re.operationRef,ar=Re.generateConfig,Er=Re.value,gr=Re.viewDate,Rr=Re.onViewDateChange,kr=Re.onPanelChange,wr=Re.onSelect,Lr="".concat(At,"-").concat($t,"-panel");Hn.current={onKeyDown:function(ri){return pe(ri,Object(H.a)({onLeftRight:function(li){wr(ar.addDate(Er||gr,li),"key")},onCtrlLeftRight:function(li){wr(ar.addYear(Er||gr,li),"key")},onUpDown:function(li){wr(ar.addDate(Er||gr,li*We),"key")},onPageUpDown:function(li){wr(ar.addMonth(Er||gr,li),"key")}},Cn))}};var Ir=function(ri){var yi=ar.addYear(gr,ri);Rr(yi),kr(null,yi)},zr=function(ri){var yi=ar.addMonth(gr,ri);Rr(yi),kr(null,yi)};return d.createElement("div",{className:C()(Lr,Object(j.a)({},"".concat(Lr,"-active"),Dn))},d.createElement(He,Object.assign({},Re,{prefixCls:At,value:Er,viewDate:gr,onPrevYear:function(){Ir(-1)},onNextYear:function(){Ir(1)},onPrevMonth:function(){zr(-1)},onNextMonth:function(){zr(1)},onMonthClick:function(){kr("month",gr)},onYearClick:function(){kr("year",gr)}})),d.createElement(Ur,Object.assign({},Re,{onSelect:function(ri){return wr(ri,"mouse")},prefixCls:At,value:Er,viewDate:gr,rowCount:se})))}var Oe=Ae;function ze(Re,At,qt){if(!qt)return At;var $t=At;return $t=Re.setHour($t,Re.getHour(qt)),$t=Re.setMinute($t,Re.getMinute(qt)),$t=Re.setSecond($t,Re.getSecond(qt)),$t}var Rt=jt("date","time");function Et(Re){var At=Re.prefixCls,qt=Re.operationRef,$t=Re.generateConfig,Cn=Re.value,Dn=Re.defaultValue,Hn=Re.disabledTime,ar=Re.showTime,Er=Re.onSelect,gr="".concat(At,"-datetime-panel"),Rr=d.useState(null),kr=Object(k.a)(Rr,2),wr=kr[0],Lr=kr[1],Ir=d.useRef({}),zr=d.useRef({}),Gr=Object(z.a)(ar)==="object"?Object(H.a)({},ar):{};function ri(Fi){var Si=Rt.indexOf(wr)+Fi,mi=Rt[Si]||null;return mi}var yi=function(Si){zr.current.onBlur&&zr.current.onBlur(Si),Lr(null)};qt.current={onKeyDown:function(Si){if(Si.which===Y.a.TAB){var mi=ri(Si.shiftKey?-1:1);return Lr(mi),mi&&Si.preventDefault(),!0}if(wr){var Ni=wr==="date"?Ir:zr;return Ni.current&&Ni.current.onKeyDown&&Ni.current.onKeyDown(Si),!0}return[Y.a.LEFT,Y.a.RIGHT,Y.a.UP,Y.a.DOWN].includes(Si.which)?(Lr("date"),!0):!1},onBlur:yi,onClose:yi};var li=function(Si,mi){var Ni=Si;mi==="date"&&!Cn&&Gr.defaultValue?(Ni=$t.setHour(Ni,$t.getHour(Gr.defaultValue)),Ni=$t.setMinute(Ni,$t.getMinute(Gr.defaultValue)),Ni=$t.setSecond(Ni,$t.getSecond(Gr.defaultValue))):mi==="time"&&!Cn&&Dn&&(Ni=$t.setYear(Ni,$t.getYear(Dn)),Ni=$t.setMonth(Ni,$t.getMonth(Dn)),Ni=$t.setDate(Ni,$t.getDate(Dn))),Er&&Er(Ni,"mouse")},Ti=Hn?Hn(Cn||null):{};return d.createElement("div",{className:C()(gr,Object(j.a)({},"".concat(gr,"-active"),wr))},d.createElement(Oe,Object.assign({},Re,{operationRef:Ir,active:wr==="date",onSelect:function(Si){li(ze($t,Si,ar&&Object(z.a)(ar)==="object"?ar.defaultValue:null),"date")}})),d.createElement(Pt,Object.assign({},Re,{format:void 0},Gr,Ti,{defaultValue:void 0,operationRef:zr,active:wr==="time",onSelect:function(Si){li(Si,"time")}})))}var _t=Et;function Nn(Re){var At=Re.prefixCls,qt=Re.generateConfig,$t=Re.locale,Cn=Re.value,Dn="".concat(At,"-cell"),Hn=function(Rr){return d.createElement("td",{key:"week",className:C()(Dn,"".concat(Dn,"-week"))},qt.locale.getWeek($t.locale,Rr))},ar="".concat(At,"-week-panel-row"),Er=function(Rr){return C()(ar,Object(j.a)({},"".concat(ar,"-selected"),vn(qt,$t.locale,Cn,Rr)))};return d.createElement(Oe,Object.assign({},Re,{panelName:"week",prefixColumn:Hn,rowClassName:Er,keyboardConfig:{onLeftRight:null}}))}var Mn=Nn;function lr(Re){var At=Re.prefixCls,qt=Re.generateConfig,$t=Re.locale,Cn=Re.viewDate,Dn=Re.onNextYear,Hn=Re.onPrevYear,ar=Re.onYearClick,Er=d.useContext(G),gr=Er.hideHeader;if(gr)return null;var Rr="".concat(At,"-header");return d.createElement(q,Object.assign({},Re,{prefixCls:Rr,onSuperPrev:Hn,onSuperNext:Dn}),d.createElement("button",{type:"button",onClick:ar,className:"".concat(At,"-year-btn")},qt.locale.format($t.locale,Cn,$t.yearFormat)))}var Lt=lr,$e=3,Qe=4;function kt(Re){var At=Re.prefixCls,qt=Re.locale,$t=Re.value,Cn=Re.viewDate,Dn=Re.generateConfig,Hn=Re.monthCellRender,ar=d.useContext(An),Er=ar.rangedValue,gr=ar.hoverRangedValue,Rr="".concat(At,"-cell"),kr=dn({cellPrefixCls:Rr,value:$t,generateConfig:Dn,rangedValue:Er,hoverRangedValue:gr,isSameCell:function(Gr,ri){return rr(Dn,Gr,ri)},isInView:function(){return!0},offsetCell:function(Gr,ri){return Dn.addMonth(Gr,ri)}}),wr=qt.shortMonths||(Dn.locale.getShortMonths?Dn.locale.getShortMonths(qt.locale):[]),Lr=Dn.setMonth(Cn,0),Ir=Hn?function(zr){return Hn(zr,qt)}:void 0;return d.createElement(vr,Object.assign({},Re,{rowNum:Qe,colNum:$e,baseDate:Lr,getCellNode:Ir,getCellText:function(Gr){return qt.monthFormat?Dn.locale.format(qt.locale,Gr,qt.monthFormat):wr[Dn.getMonth(Gr)]},getCellClassName:kr,getCellDate:Dn.addMonth,titleCell:function(Gr){return Dn.locale.format(qt.locale,Gr,"YYYY-MM")}}))}var Ht=kt;function ot(Re){var At=Re.prefixCls,qt=Re.operationRef,$t=Re.onViewDateChange,Cn=Re.generateConfig,Dn=Re.value,Hn=Re.viewDate,ar=Re.onPanelChange,Er=Re.onSelect,gr="".concat(At,"-month-panel");qt.current={onKeyDown:function(wr){return pe(wr,{onLeftRight:function(Ir){Er(Cn.addMonth(Dn||Hn,Ir),"key")},onCtrlLeftRight:function(Ir){Er(Cn.addYear(Dn||Hn,Ir),"key")},onUpDown:function(Ir){Er(Cn.addMonth(Dn||Hn,Ir*$e),"key")},onEnter:function(){ar("date",Dn||Hn)}})}};var Rr=function(wr){var Lr=Cn.addYear(Hn,wr);$t(Lr),ar(null,Lr)};return d.createElement("div",{className:gr},d.createElement(Lt,Object.assign({},Re,{prefixCls:At,onPrevYear:function(){Rr(-1)},onNextYear:function(){Rr(1)},onYearClick:function(){ar("year",Hn)}})),d.createElement(Ht,Object.assign({},Re,{prefixCls:At,onSelect:function(wr){Er(wr,"mouse"),ar("date",wr)}})))}var Ct=ot;function nt(Re){var At=Re.prefixCls,qt=Re.generateConfig,$t=Re.locale,Cn=Re.viewDate,Dn=Re.onNextYear,Hn=Re.onPrevYear,ar=Re.onYearClick,Er=d.useContext(G),gr=Er.hideHeader;if(gr)return null;var Rr="".concat(At,"-header");return d.createElement(q,Object.assign({},Re,{prefixCls:Rr,onSuperPrev:Hn,onSuperNext:Dn}),d.createElement("button",{type:"button",onClick:ar,className:"".concat(At,"-year-btn")},qt.locale.format($t.locale,Cn,$t.yearFormat)))}var Ot=nt,sn=4,Zt=1;function Gt(Re){var At=Re.prefixCls,qt=Re.locale,$t=Re.value,Cn=Re.viewDate,Dn=Re.generateConfig,Hn=d.useContext(An),ar=Hn.rangedValue,Er=Hn.hoverRangedValue,gr="".concat(At,"-cell"),Rr=dn({cellPrefixCls:gr,value:$t,generateConfig:Dn,rangedValue:ar,hoverRangedValue:Er,isSameCell:function(Lr,Ir){return Xn(Dn,Lr,Ir)},isInView:function(){return!0},offsetCell:function(Lr,Ir){return Dn.addMonth(Lr,Ir*3)}}),kr=Dn.setDate(Dn.setMonth(Cn,0),1);return d.createElement(vr,Object.assign({},Re,{rowNum:Zt,colNum:sn,baseDate:kr,getCellText:function(Lr){return Dn.locale.format(qt.locale,Lr,qt.quarterFormat||"[Q]Q")},getCellClassName:Rr,getCellDate:function(Lr,Ir){return Dn.addMonth(Lr,Ir*3)},titleCell:function(Lr){return Dn.locale.format(qt.locale,Lr,"YYYY-[Q]Q")}}))}var Qn=Gt;function Gn(Re){var At=Re.prefixCls,qt=Re.operationRef,$t=Re.onViewDateChange,Cn=Re.generateConfig,Dn=Re.value,Hn=Re.viewDate,ar=Re.onPanelChange,Er=Re.onSelect,gr="".concat(At,"-quarter-panel");qt.current={onKeyDown:function(wr){return pe(wr,{onLeftRight:function(Ir){Er(Cn.addMonth(Dn||Hn,Ir*3),"key")},onCtrlLeftRight:function(Ir){Er(Cn.addYear(Dn||Hn,Ir),"key")},onUpDown:function(Ir){Er(Cn.addYear(Dn||Hn,Ir),"key")}})}};var Rr=function(wr){var Lr=Cn.addYear(Hn,wr);$t(Lr),ar(null,Lr)};return d.createElement("div",{className:gr},d.createElement(Ot,Object.assign({},Re,{prefixCls:At,onPrevYear:function(){Rr(-1)},onNextYear:function(){Rr(1)},onYearClick:function(){ar("year",Hn)}})),d.createElement(Qn,Object.assign({},Re,{prefixCls:At,onSelect:function(wr){Er(wr,"mouse")}})))}var Or=Gn;function Nr(Re){var At=Re.prefixCls,qt=Re.generateConfig,$t=Re.viewDate,Cn=Re.onPrevDecade,Dn=Re.onNextDecade,Hn=Re.onDecadeClick,ar=d.useContext(G),Er=ar.hideHeader;if(Er)return null;var gr="".concat(At,"-header"),Rr=qt.getYear($t),kr=Math.floor(Rr/le)*le,wr=kr+le-1;return d.createElement(q,Object.assign({},Re,{prefixCls:gr,onSuperPrev:Cn,onSuperNext:Dn}),d.createElement("button",{type:"button",onClick:Hn,className:"".concat(At,"-decade-btn")},kr,"-",wr))}var Kr=Nr,ei=3,vi=4;function Pi(Re){var At=Re.prefixCls,qt=Re.value,$t=Re.viewDate,Cn=Re.locale,Dn=Re.generateConfig,Hn=d.useContext(An),ar=Hn.rangedValue,Er=Hn.hoverRangedValue,gr="".concat(At,"-cell"),Rr=Dn.getYear($t),kr=Math.floor(Rr/le)*le,wr=kr+le-1,Lr=Dn.setYear($t,kr-Math.ceil((ei*vi-le)/2)),Ir=function(ri){var yi=Dn.getYear(ri);return kr<=yi&&yi<=wr},zr=dn({cellPrefixCls:gr,value:qt,generateConfig:Dn,rangedValue:ar,hoverRangedValue:Er,isSameCell:function(ri,yi){return jn(Dn,ri,yi)},isInView:Ir,offsetCell:function(ri,yi){return Dn.addYear(ri,yi)}});return d.createElement(vr,Object.assign({},Re,{rowNum:vi,colNum:ei,baseDate:Lr,getCellText:Dn.getYear,getCellClassName:zr,getCellDate:Dn.addYear,titleCell:function(ri){return Dn.locale.format(Cn.locale,ri,"YYYY")}}))}var Be=Pi,le=10;function ye(Re){var At=Re.prefixCls,qt=Re.operationRef,$t=Re.onViewDateChange,Cn=Re.generateConfig,Dn=Re.value,Hn=Re.viewDate,ar=Re.sourceMode,Er=Re.onSelect,gr=Re.onPanelChange,Rr="".concat(At,"-year-panel");qt.current={onKeyDown:function(Lr){return pe(Lr,{onLeftRight:function(zr){Er(Cn.addYear(Dn||Hn,zr),"key")},onCtrlLeftRight:function(zr){Er(Cn.addYear(Dn||Hn,zr*le),"key")},onUpDown:function(zr){Er(Cn.addYear(Dn||Hn,zr*ei),"key")},onEnter:function(){gr(ar==="date"?"date":"month",Dn||Hn)}})}};var kr=function(Lr){var Ir=Cn.addYear(Hn,Lr*10);$t(Ir),gr(null,Ir)};return d.createElement("div",{className:Rr},d.createElement(Kr,Object.assign({},Re,{prefixCls:At,onPrevDecade:function(){kr(-1)},onNextDecade:function(){kr(1)},onDecadeClick:function(){gr("decade",Hn)}})),d.createElement(Be,Object.assign({},Re,{prefixCls:At,onSelect:function(Lr){gr(ar==="date"?"date":"month",Lr),Er(Lr,"mouse")}})))}var xe=ye;function De(Re){var At=Re.prefixCls,qt=Re.generateConfig,$t=Re.viewDate,Cn=Re.onPrevDecades,Dn=Re.onNextDecades,Hn=d.useContext(G),ar=Hn.hideHeader;if(ar)return null;var Er="".concat(At,"-header"),gr=qt.getYear($t),Rr=Math.floor(gr/rn)*rn,kr=Rr+rn-1;return d.createElement(q,Object.assign({},Re,{prefixCls:Er,onSuperPrev:Cn,onSuperNext:Dn}),Rr,"-",kr)}var Le=De,Fe=3,at=4;function Ve(Re){var At=pn-1,qt=Re.prefixCls,$t=Re.viewDate,Cn=Re.generateConfig,Dn=Re.disabledDate,Hn="".concat(qt,"-cell"),ar=Cn.getYear($t),Er=Math.floor(ar/pn)*pn,gr=Math.floor(ar/rn)*rn,Rr=gr+rn-1,kr=Cn.setYear($t,gr-Math.ceil((Fe*at*pn-rn)/2)),wr=function(Ir){var zr,Gr=Dn&&Dn(Ir),ri=Cn.getYear(Ir),yi=ri+At;return zr={},Object(j.a)(zr,"".concat(Hn,"-disabled"),Gr),Object(j.a)(zr,"".concat(Hn,"-in-view"),gr<=ri&&yi<=Rr),Object(j.a)(zr,"".concat(Hn,"-selected"),ri===Er),zr};return d.createElement(vr,Object.assign({},Re,{rowNum:at,colNum:Fe,baseDate:kr,getCellText:function(Ir){var zr=Cn.getYear(Ir);return"".concat(zr,"-").concat(zr+At)},getCellClassName:wr,getCellDate:function(Ir,zr){return Cn.addYear(Ir,zr*pn)}}))}var It=Ve,pn=10,rn=pn*10;function Tn(Re){var At=Re.prefixCls,qt=Re.onViewDateChange,$t=Re.generateConfig,Cn=Re.viewDate,Dn=Re.operationRef,Hn=Re.onSelect,ar=Re.onPanelChange,Er="".concat(At,"-decade-panel");Dn.current={onKeyDown:function(wr){return pe(wr,{onLeftRight:function(Ir){Hn($t.addYear(Cn,Ir*pn),"key")},onCtrlLeftRight:function(Ir){Hn($t.addYear(Cn,Ir*rn),"key")},onUpDown:function(Ir){Hn($t.addYear(Cn,Ir*pn*Fe),"key")},onEnter:function(){ar("year",Cn)}})}};var gr=function(wr){var Lr=$t.addYear(Cn,wr*rn);qt(Lr),ar(null,Lr)},Rr=function(wr){Hn(wr,"mouse"),ar("year",wr)};return d.createElement("div",{className:Er},d.createElement(Le,Object.assign({},Re,{prefixCls:At,onPrevDecades:function(){gr(-1)},onNextDecades:function(){gr(1)}})),d.createElement(It,Object.assign({},Re,{prefixCls:At,onSelect:Rr})))}var Nt=Tn;function ur(Re,At,qt){return qt?d.createElement("div",{className:"".concat(Re,"-footer-extra")},qt(At)):null}function Xt(Re){var At=Re.prefixCls,qt=Re.rangeList,$t=qt===void 0?[]:qt,Cn=Re.components,Dn=Cn===void 0?{}:Cn,Hn=Re.needConfirmButton,ar=Re.onNow,Er=Re.onOk,gr=Re.okDisabled,Rr=Re.showNow,kr=Re.locale,wr,Lr;if($t.length){var Ir=Dn.rangeItem||"span";wr=d.createElement(d.Fragment,null,$t.map(function(Gr){var ri=Gr.label,yi=Gr.onClick,li=Gr.onMouseEnter,Ti=Gr.onMouseLeave;return d.createElement("li",{key:ri,className:"".concat(At,"-preset")},d.createElement(Ir,{onClick:yi,onMouseEnter:li,onMouseLeave:Ti},ri))}))}if(Hn){var zr=Dn.button||"button";ar&&!wr&&Rr!==!1&&(wr=d.createElement("li",{className:"".concat(At,"-now")},d.createElement("a",{className:"".concat(At,"-now-btn"),onClick:ar},kr.now))),Lr=Hn&&d.createElement("li",{className:"".concat(At,"-ok")},d.createElement(zr,{disabled:gr,onClick:Er},kr.ok))}return!wr&&!Lr?null:d.createElement("ul",{className:"".concat(At,"-ranges")},wr,Lr)}function Kn(Re){var At,qt=Re.prefixCls,$t=qt===void 0?"rc-picker":qt,Cn=Re.className,Dn=Re.style,Hn=Re.locale,ar=Re.generateConfig,Er=Re.value,gr=Re.defaultValue,Rr=Re.pickerValue,kr=Re.defaultPickerValue,wr=Re.disabledDate,Lr=Re.mode,Ir=Re.picker,zr=Ir===void 0?"date":Ir,Gr=Re.tabIndex,ri=Gr===void 0?0:Gr,yi=Re.showNow,li=Re.showTime,Ti=Re.showToday,Fi=Re.renderExtraFooter,Si=Re.hideHeader,mi=Re.onSelect,Ni=Re.onChange,Wr=Re.onPanelChange,Ri=Re.onMouseDown,Ki=Re.onPickerValueChange,hn=Re.onOk,Rn=Re.components,Yn=Re.direction,En=Re.hourStep,Mt=En===void 0?1:En,mn=Re.minuteStep,zt=mn===void 0?1:mn,_n=Re.secondStep,kn=_n===void 0?1:_n,pr=zr==="date"&&!!li||zr==="time",or=24%Mt===0,yr=60%zt===0,_r=60%kn===0,Yr=d.useContext(G),Jr=Yr.operationRef,Ci=Yr.panelRef,ta=Yr.onSelect,oa=Yr.hideRanges,da=Yr.defaultOpenValue,ua=d.useContext(An),ma=ua.inRange,ki=ua.panelPosition,Di=ua.rangedValue,na=ua.hoverRangedValue,qi=d.useRef({}),va=d.useRef(!0),Ta=Object(P.a)(null,{value:Er,defaultValue:gr,postState:function(_i){return!_i&&da&&zr==="time"?da:_i}}),Zi=Object(k.a)(Ta,2),Qi=Zi[0],Na=Zi[1],ga=Object(P.a)(null,{value:Rr,defaultValue:kr||Qi,postState:function(_i){return _i||ar.getNow()}}),Ii=Object(k.a)(ga,2),Sa=Ii[0],Ra=Ii[1],Da=function(_i){Ra(_i),Ki&&Ki(_i)},ka=function(_i){var Ma=je[zr];return Ma?Ma(_i):_i},Pa=Object(P.a)(function(){return zr==="time"?"time":ka("date")},{value:Lr}),Ka=Object(k.a)(Pa,2),xa=Ka[0],ja=Ka[1];d.useEffect(function(){ja(zr)},[zr]);var io=d.useState(function(){return xa}),ia=Object(k.a)(io,2),lo=ia[0],Ya=ia[1],Ca=function(_i,Ma){var Ro=ka(_i||xa);Ya(xa),ja(Ro),Wr&&(xa!==Ro||Ft(ar,Sa,Sa))&&Wr(Ma,Ro)},Xa=function(_i,Ma){var Ro=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(xa===zr||Ro)&&(Na(_i),mi&&mi(_i),ta&&ta(_i,Ma),Ni&&!Ft(ar,_i,Qi)&&Ni(_i))},Ba=function(_i){return qi.current&&qi.current.onKeyDown?([Y.a.LEFT,Y.a.RIGHT,Y.a.UP,Y.a.DOWN,Y.a.PAGE_UP,Y.a.PAGE_DOWN,Y.a.ENTER].includes(_i.which)&&_i.preventDefault(),qi.current.onKeyDown(_i)):(Object(g.a)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},La=function(_i){qi.current&&qi.current.onBlur&&qi.current.onBlur(_i)};Jr&&ki!=="right"&&(Jr.current={onKeyDown:Ba,onClose:function(){qi.current&&qi.current.onClose&&qi.current.onClose()}}),d.useEffect(function(){Er&&!va.current&&Ra(Er)},[Er]),d.useEffect(function(){va.current=!1},[]);var yo,ao=Object(H.a)(Object(H.a)({},Re),{},{operationRef:qi,prefixCls:$t,viewDate:Sa,value:Qi,onViewDateChange:Da,sourceMode:lo,onPanelChange:Ca,disabledDate:xa!=="decade"?wr:void 0});delete ao.onChange,delete ao.onSelect;switch(xa){case"decade":yo=d.createElement(Nt,Object.assign({},ao,{onSelect:function(_i,Ma){Da(_i),Xa(_i,Ma)}}));break;case"year":yo=d.createElement(xe,Object.assign({},ao,{onSelect:function(_i,Ma){Da(_i),Xa(_i,Ma)}}));break;case"month":yo=d.createElement(Ct,Object.assign({},ao,{onSelect:function(_i,Ma){Da(_i),Xa(_i,Ma)}}));break;case"quarter":yo=d.createElement(Or,Object.assign({},ao,{onSelect:function(_i,Ma){Da(_i),Xa(_i,Ma)}}));break;case"week":yo=d.createElement(Mn,Object.assign({},ao,{onSelect:function(_i,Ma){Da(_i),Xa(_i,Ma)}}));break;case"time":delete ao.showTime,yo=d.createElement(Pt,Object.assign({},ao,Object(z.a)(li)==="object"?li:null,{onSelect:function(_i,Ma){Da(_i),Xa(_i,Ma)}}));break;default:li?yo=d.createElement(_t,Object.assign({},ao,{onSelect:function(_i,Ma){Da(_i),Xa(_i,Ma)}})):yo=d.createElement(Oe,Object.assign({},ao,{onSelect:function(_i,Ma){Da(_i),Xa(_i,Ma)}}))}var bo,uo,co=function(){var _i=ar.getNow(),Ma=Yt(ar.getHour(_i),ar.getMinute(_i),ar.getSecond(_i),or?Mt:1,yr?zt:1,_r?kn:1),Ro=Vt(ar,_i,Ma[0],Ma[1],Ma[2]);Xa(Ro,"submit")};oa||(bo=ur($t,xa,Fi),uo=Xt({prefixCls:$t,components:Rn,needConfirmButton:pr,okDisabled:!Qi||wr&&wr(Qi),locale:Hn,showNow:yi,onNow:pr&&co,onOk:function(){Qi&&(Xa(Qi,"submit",!0),hn&&hn(Qi))}}));var Ga;if(Ti&&xa==="date"&&zr==="date"&&!li){var eo=ar.getNow(),wa="".concat($t,"-today-btn"),no=wr&&wr(eo);Ga=d.createElement("a",{className:C()(wa,no&&"".concat(wa,"-disabled")),"aria-disabled":no,onClick:function(){no||Xa(eo,"mouse",!0)}},Hn.today)}return d.createElement(G.Provider,{value:Object(H.a)(Object(H.a)({},Yr),{},{hideHeader:"hideHeader"in Re?Si:Yr.hideHeader,hidePrevBtn:ma&&ki==="right",hideNextBtn:ma&&ki==="left"})},d.createElement("div",{tabIndex:ri,className:C()("".concat($t,"-panel"),Cn,(At={},Object(j.a)(At,"".concat($t,"-panel-has-range"),Di&&Di[0]&&Di[1]),Object(j.a)(At,"".concat($t,"-panel-has-range-hover"),na&&na[0]&&na[1]),Object(j.a)(At,"".concat($t,"-panel-rtl"),Yn==="rtl"),At)),style:Dn,onKeyDown:Ba,onBlur:La,onMouseDown:Ri,ref:Ci},yo,bo||uo||Ga?d.createElement("div",{className:"".concat($t,"-footer")},bo,uo,Ga):null))}var Fn=Kn,un=e("uciX"),Sr={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 Fr(Re){var At,qt=Re.prefixCls,$t=Re.popupElement,Cn=Re.popupStyle,Dn=Re.visible,Hn=Re.dropdownClassName,ar=Re.dropdownAlign,Er=Re.transitionName,gr=Re.getPopupContainer,Rr=Re.children,kr=Re.range,wr=Re.popupPlacement,Lr=Re.direction,Ir="".concat(qt,"-dropdown"),zr=function(){return wr!==void 0?wr:Lr==="rtl"?"bottomRight":"bottomLeft"};return d.createElement(un.a,{showAction:[],hideAction:[],popupPlacement:zr(),builtinPlacements:Sr,prefixCls:Ir,popupTransitionName:Er,popup:$t,popupAlign:ar,popupVisible:Dn,popupClassName:C()(Hn,(At={},Object(j.a)(At,"".concat(Ir,"-range"),kr),Object(j.a)(At,"".concat(Ir,"-rtl"),Lr==="rtl"),At)),popupStyle:Cn,getPopupContainer:gr},Rr)}var ii=Fr;function oi(Re){var At=Re.open,qt=Re.value,$t=Re.isClickOutside,Cn=Re.triggerOpen,Dn=Re.forwardKeyDown,Hn=Re.blurToCancel,ar=Re.onSubmit,Er=Re.onCancel,gr=Re.onFocus,Rr=Re.onBlur,kr=Object(d.useState)(!1),wr=Object(k.a)(kr,2),Lr=wr[0],Ir=wr[1],zr=Object(d.useState)(!1),Gr=Object(k.a)(zr,2),ri=Gr[0],yi=Gr[1],li=Object(d.useRef)(!1),Ti=Object(d.useRef)(!1),Fi={onMouseDown:function(){Ir(!0),Cn(!0)},onKeyDown:function(mi){switch(mi.which){case Y.a.ENTER:{At?ar()!==!1&&Ir(!0):Cn(!0),mi.preventDefault();return}case Y.a.TAB:{Lr&&At&&!mi.shiftKey?(Ir(!1),mi.preventDefault()):!Lr&&At&&(!Dn(mi)&&mi.shiftKey&&(Ir(!0),mi.preventDefault()));return}case Y.a.ESC:{Ir(!0),Er();return}}!At&&![Y.a.SHIFT].includes(mi.which)?Cn(!0):Lr||Dn(mi)},onFocus:function(mi){Ir(!0),yi(!0),gr&&gr(mi)},onBlur:function(mi){if(li.current||!$t(document.activeElement)){li.current=!1;return}Hn?setTimeout(function(){$t(document.activeElement)&&Er()},0):At&&(Cn(!1),Ti.current&&ar()),yi(!1),Rr&&Rr(mi)}};return Object(d.useEffect)(function(){Ti.current=!1},[At]),Object(d.useEffect)(function(){Ti.current=!0},[qt]),Object(d.useEffect)(function(){return Dt(function(Si){var mi=Si.target;At&&($t(mi)?ri||Cn(!1):(li.current=!0,requestAnimationFrame(function(){li.current=!1})))})}),[Fi,{focused:ri,typing:Lr}]}function ti(Re){var At=Re.valueTexts,qt=Re.onTextChange,$t=d.useState(""),Cn=Object(k.a)($t,2),Dn=Cn[0],Hn=Cn[1],ar=d.useRef([]);ar.current=At;function Er(Rr){Hn(Rr),qt(Rr)}function gr(){Hn(ar.current[0])}return d.useEffect(function(){At.every(function(Rr){return Rr!==Dn})&&gr()},[At.join("||")]),[Dn,Er,gr]}var bi=e("Gytx"),Mr=e.n(bi);function Oi(Re,At){var qt=At.formatList,$t=At.generateConfig,Cn=At.locale;return Object(be.a)(function(){if(!Re)return[[""],""];for(var Dn="",Hn=[],ar=0;ar<qt.length;ar+=1){var Er=qt[ar],gr=$t.locale.format(Cn.locale,Re,Er);Hn.push(gr),ar===0&&(Dn=gr)}return[Hn,Dn]},[Re,qt],function(Dn,Hn){return Dn[0]!==Hn[0]||!Mr()(Dn[1],Hn[1])})}function Ar(Re,At){var qt=At.formatList,$t=At.generateConfig,Cn=At.locale,Dn=Object(d.useState)(null),Hn=Object(k.a)(Dn,2),ar=Hn[0],Er=Hn[1],gr=Object(d.useRef)(null);function Rr(Gr){var ri=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(gr.current),ri){Er(Gr);return}gr.current=requestAnimationFrame(function(){Er(Gr)})}var kr=Oi(ar,{formatList:qt,generateConfig:$t,locale:Cn}),wr=Object(k.a)(kr,2),Lr=wr[1];function Ir(Gr){Rr(Gr)}function zr(){var Gr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Rr(null,Gr)}return Object(d.useEffect)(function(){zr(!0)},[Re]),Object(d.useEffect)(function(){return function(){return cancelAnimationFrame(gr.current)}},[]),[Lr,Ir,zr]}function Wn(Re){var At,qt=Re.prefixCls,$t=qt===void 0?"rc-picker":qt,Cn=Re.id,Dn=Re.tabIndex,Hn=Re.style,ar=Re.className,Er=Re.dropdownClassName,gr=Re.dropdownAlign,Rr=Re.popupStyle,kr=Re.transitionName,wr=Re.generateConfig,Lr=Re.locale,Ir=Re.inputReadOnly,zr=Re.allowClear,Gr=Re.autoFocus,ri=Re.showTime,yi=Re.picker,li=yi===void 0?"date":yi,Ti=Re.format,Fi=Re.use12Hours,Si=Re.value,mi=Re.defaultValue,Ni=Re.open,Wr=Re.defaultOpen,Ri=Re.defaultOpenValue,Ki=Re.suffixIcon,hn=Re.clearIcon,Rn=Re.disabled,Yn=Re.disabledDate,En=Re.placeholder,Mt=Re.getPopupContainer,mn=Re.pickerRef,zt=Re.panelRender,_n=Re.onChange,kn=Re.onOpenChange,pr=Re.onFocus,or=Re.onBlur,yr=Re.onMouseDown,_r=Re.onMouseUp,Yr=Re.onMouseEnter,Jr=Re.onMouseLeave,Ci=Re.onContextMenu,ta=Re.onClick,oa=Re.direction,da=Re.autoComplete,ua=da===void 0?"off":da,ma=d.useRef(null),ki=li==="date"&&!!ri||li==="time",Di=lt(Se(Ti,li,ri,Fi)),na=d.useRef(null),qi=d.useRef(null),va=Object(P.a)(null,{value:Si,defaultValue:mi}),Ta=Object(k.a)(va,2),Zi=Ta[0],Qi=Ta[1],Na=d.useState(Zi),ga=Object(k.a)(Na,2),Ii=ga[0],Sa=ga[1],Ra=d.useRef(null),Da=Object(P.a)(!1,{value:Ni,defaultValue:Wr,postState:function(za){return Rn?!1:za},onChange:function(za){kn&&kn(za),!za&&Ra.current&&Ra.current.onClose&&Ra.current.onClose()}}),ka=Object(k.a)(Da,2),Pa=ka[0],Ka=ka[1],xa=Oi(Ii,{formatList:Di,generateConfig:wr,locale:Lr}),ja=Object(k.a)(xa,2),io=ja[0],ia=ja[1],lo=ti({valueTexts:io,onTextChange:function(za){var Yo=wr.locale.parse(Lr.locale,za,Di);Yo&&(!Yn||!Yn(Yo))&&Sa(Yo)}}),Ya=Object(k.a)(lo,3),Ca=Ya[0],Xa=Ya[1],Ba=Ya[2],La=function(za){Sa(za),Qi(za),_n&&!Ft(wr,Zi,za)&&_n(za,za?wr.locale.format(Lr.locale,za,Di[0]):"")},yo=function(za){if(Rn&&za)return;Ka(za)},ao=function(za){return Pa&&Ra.current&&Ra.current.onKeyDown?Ra.current.onKeyDown(za):(Object(g.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},bo=function(){_r&&_r.apply(void 0,arguments),ma.current&&(ma.current.focus(),yo(!0))},uo=oi({blurToCancel:ki,open:Pa,value:Ca,triggerOpen:yo,forwardKeyDown:ao,isClickOutside:function(za){return!Me([na.current,qi.current],za)},onSubmit:function(){return Yn&&Yn(Ii)?!1:(La(Ii),yo(!1),Ba(),!0)},onCancel:function(){yo(!1),Sa(Zi),Ba()},onFocus:pr,onBlur:or}),co=Object(k.a)(uo,2),Ga=co[0],eo=co[1],wa=eo.focused,no=eo.typing;d.useEffect(function(){Pa||(Sa(Zi),!io.length||io[0]===""?Xa(""):ia!==Ca&&Ba())},[Pa,io]),d.useEffect(function(){Pa||Ba()},[li]),d.useEffect(function(){Sa(Zi)},[Zi]),mn&&(mn.current={focus:function(){ma.current&&ma.current.focus()},blur:function(){ma.current&&ma.current.blur()}});var fo=Object(H.a)(Object(H.a)({},Re),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0}),_i=d.createElement(Fn,Object.assign({},fo,{generateConfig:wr,className:C()(Object(j.a)({},"".concat($t,"-panel-focused"),!no)),value:Ii,locale:Lr,tabIndex:-1,onChange:Sa,direction:oa}));zt&&(_i=zt(_i));var Ma=d.createElement("div",{className:"".concat($t,"-panel-container"),onMouseDown:function(za){za.preventDefault()}},_i),Ro;Ki&&(Ro=d.createElement("span",{className:"".concat($t,"-suffix")},Ki));var jo;zr&&Zi&&!Rn&&(jo=d.createElement("span",{onMouseDown:function(za){za.preventDefault(),za.stopPropagation()},onMouseUp:function(za){za.preventDefault(),za.stopPropagation(),La(null),yo(!1)},className:"".concat($t,"-clear")},hn||d.createElement("span",{className:"".concat($t,"-clear-btn")})));var Vo=function(za,Yo){(Yo==="submit"||Yo!=="key"&&!ki)&&(La(za),yo(!1))},Qo=oa==="rtl"?"bottomRight":"bottomLeft",wo=Ar(Ca,{formatList:Di,generateConfig:wr,locale:Lr}),Oa=Object(k.a)(wo,3),Po=Oa[0],ds=Oa[1],ho=Oa[2];return d.createElement(G.Provider,{value:{operationRef:Ra,hideHeader:li==="time",panelRef:na,onSelect:Vo,open:Pa,defaultOpenValue:Ri,onDateMouseEnter:ds,onDateMouseLeave:ho}},d.createElement(ii,{visible:Pa,popupElement:Ma,popupStyle:Rr,prefixCls:$t,dropdownClassName:Er,dropdownAlign:gr,getPopupContainer:Mt,transitionName:kr,popupPlacement:Qo,direction:oa},d.createElement("div",{className:C()($t,ar,(At={},Object(j.a)(At,"".concat($t,"-disabled"),Rn),Object(j.a)(At,"".concat($t,"-focused"),wa),Object(j.a)(At,"".concat($t,"-rtl"),oa==="rtl"),At)),style:Hn,onMouseDown:yr,onMouseUp:bo,onMouseEnter:Yr,onMouseLeave:Jr,onContextMenu:Ci,onClick:ta},d.createElement("div",{className:C()("".concat($t,"-input"),Object(j.a)({},"".concat($t,"-input-placeholder"),!!Po)),ref:qi},d.createElement("input",Object.assign({id:Cn,tabIndex:Dn,disabled:Rn,readOnly:Ir||!no,value:Po||Ca,onChange:function(za){Xa(za.target.value)},autoFocus:Gr,placeholder:En,ref:ma,title:Ca},Ga,{size:st(li,Di[0])},Te(Re),{autoComplete:ua})),Ro,jo))))}var xr=function(Re){Object(M.a)(qt,Re);var At=Object(K.a)(qt);function qt(){var $t;return Object(R.a)(this,qt),$t=At.apply(this,arguments),$t.pickerRef=d.createRef(),$t.focus=function(){$t.pickerRef.current&&$t.pickerRef.current.focus()},$t.blur=function(){$t.pickerRef.current&&$t.pickerRef.current.blur()},$t}return Object(F.a)(qt,[{key:"render",value:function(){return d.createElement(Wn,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),qt}(d.Component),er=xr;function ci(Re,At,qt){var $t=Re.picker,Cn=Re.locale,Dn=Re.selectedValue,Hn=Re.disabledDate,ar=Re.disabled,Er=Re.generateConfig,gr=mt(Dn,0),Rr=mt(Dn,1);function kr(Gr){var ri=Er.getYear(Gr),yi=Er.locale.getWeek(Cn.locale,Gr);return ri*100+yi}function wr(Gr){var ri=Er.getYear(Gr),yi=Er.getMonth(Gr);return ri*100+yi}function Lr(Gr){var ri=Er.getYear(Gr),yi=Sn(Er,Gr);return ri*10+yi}var Ir=d.useCallback(function(Gr){if(Hn&&Hn(Gr))return!0;if(ar[1]&&Rr)return!hr(Er,Gr,Rr)&&Er.isAfter(Gr,Rr);if(At&&Rr)switch($t){case"quarter":return Lr(Gr)>Lr(Rr);case"month":return wr(Gr)>wr(Rr);case"week":return kr(Gr)>kr(Rr);default:return!hr(Er,Gr,Rr)&&Er.isAfter(Gr,Rr)}return!1},[Hn,ar[1],Rr,At]),zr=d.useCallback(function(Gr){if(Hn&&Hn(Gr))return!0;if(ar[0]&&gr)return!hr(Er,Gr,Rr)&&Er.isAfter(gr,Gr);if(qt&&gr)switch($t){case"quarter":return Lr(Gr)<Lr(gr);case"month":return wr(Gr)<wr(gr);case"week":return kr(Gr)<kr(gr);default:return!hr(Er,Gr,gr)&&Er.isAfter(gr,Gr)}return!1},[Hn,ar[0],gr,qt]);return[Ir,zr]}function qr(Re,At,qt,$t){var Cn=Jt(Re,qt,$t,1);function Dn(Hn){return Hn(Re,At)?"same":Hn(Cn,At)?"closing":"far"}switch(qt){case"year":return Dn(function(Hn,ar){return Ln($t,Hn,ar)});case"quarter":case"month":return Dn(function(Hn,ar){return jn($t,Hn,ar)});default:return Dn(function(Hn,ar){return rr($t,Hn,ar)})}}function wi(Re,At,qt,$t){var Cn=mt(Re,0),Dn=mt(Re,1);if(At===0)return Cn;if(Cn&&Dn){var Hn=qr(Cn,Dn,qt,$t);switch(Hn){case"same":return Cn;case"closing":return Cn;default:return Jt(Dn,qt,$t,-1)}}return Cn}function Xr(Re){var At=Re.values,qt=Re.picker,$t=Re.defaultDates,Cn=Re.generateConfig,Dn=d.useState(function(){return[mt($t,0),mt($t,1)]}),Hn=Object(k.a)(Dn,2),ar=Hn[0],Er=Hn[1],gr=d.useState(null),Rr=Object(k.a)(gr,2),kr=Rr[0],wr=Rr[1],Lr=mt(At,0),Ir=mt(At,1);function zr(ri){return ar[ri]?ar[ri]:mt(kr,ri)||wi(At,ri,qt,Cn)||Lr||Ir||Cn.getNow()}function Gr(ri,yi){if(ri){var li=tn(kr,ri,yi);Er(tn(ar,null,yi)||[null,null]);var Ti=(yi+1)%2;mt(At,Ti)||(li=tn(li,ri,Ti)),wr(li)}else(Lr||Ir)&&wr(null)}return[zr,Gr]}function Hi(Re,At){return Re&&Re[0]&&Re[1]&&At.isAfter(Re[0],Re[1])?[Re[1],Re[0]]:Re}function ni(Re,At,qt,$t){return Re||$t&&$t[At]?!0:!!qt[(At+1)%2]}function Mi(Re){var At,qt,$t,Cn=Re.prefixCls,Dn=Cn===void 0?"rc-picker":Cn,Hn=Re.id,ar=Re.style,Er=Re.className,gr=Re.popupStyle,Rr=Re.dropdownClassName,kr=Re.transitionName,wr=Re.dropdownAlign,Lr=Re.getPopupContainer,Ir=Re.generateConfig,zr=Re.locale,Gr=Re.placeholder,ri=Re.autoFocus,yi=Re.disabled,li=Re.format,Ti=Re.picker,Fi=Ti===void 0?"date":Ti,Si=Re.showTime,mi=Re.use12Hours,Ni=Re.separator,Wr=Ni===void 0?"~":Ni,Ri=Re.value,Ki=Re.defaultValue,hn=Re.defaultPickerValue,Rn=Re.open,Yn=Re.defaultOpen,En=Re.disabledDate,Mt=Re.disabledTime,mn=Re.dateRender,zt=Re.panelRender,_n=Re.ranges,kn=Re.allowEmpty,pr=Re.allowClear,or=Re.suffixIcon,yr=Re.clearIcon,_r=Re.pickerRef,Yr=Re.inputReadOnly,Jr=Re.mode,Ci=Re.renderExtraFooter,ta=Re.onChange,oa=Re.onOpenChange,da=Re.onPanelChange,ua=Re.onCalendarChange,ma=Re.onFocus,ki=Re.onBlur,Di=Re.onOk,na=Re.components,qi=Re.order,va=Re.direction,Ta=Re.activePickerIndex,Zi=Re.autoComplete,Qi=Zi===void 0?"off":Zi,Na=Fi==="date"&&!!Si||Fi==="time",ga=Object(d.useRef)({}),Ii=Object(d.useRef)(null),Sa=Object(d.useRef)(null),Ra=Object(d.useRef)(null),Da=Object(d.useRef)(null),ka=Object(d.useRef)(null),Pa=Object(d.useRef)(null),Ka=Object(d.useRef)(null),xa=lt(Se(li,Fi,Si,mi)),ja=Object(P.a)(0,{value:Ta}),io=Object(k.a)(ja,2),ia=io[0],lo=io[1],Ya=Object(d.useRef)(null),Ca=d.useMemo(function(){return Array.isArray(yi)?yi:[yi||!1,yi||!1]},[yi]),Xa=Object(P.a)(null,{value:Ri,defaultValue:Ki,postState:function(Aa){return Fi==="time"&&!qi?Aa:Hi(Aa,Ir)}}),Ba=Object(k.a)(Xa,2),La=Ba[0],yo=Ba[1],ao=Xr({values:La,picker:Fi,defaultDates:hn,generateConfig:Ir}),bo=Object(k.a)(ao,2),uo=bo[0],co=bo[1],Ga=Object(P.a)(La,{postState:function(Aa){var Wa=Aa;if(Ca[0]&&Ca[1])return Wa;for(var oo=0;oo<2;oo+=1)Ca[oo]&&!mt(Wa,oo)&&!mt(kn,oo)&&(Wa=tn(Wa,Ir.getNow(),oo));return Wa}}),eo=Object(k.a)(Ga,2),wa=eo[0],no=eo[1],fo=Object(P.a)([Fi,Fi],{value:Jr}),_i=Object(k.a)(fo,2),Ma=_i[0],Ro=_i[1];Object(d.useEffect)(function(){Ro([Fi,Fi])},[Fi]);var jo=function(Aa,Wa){Ro(Aa),da&&da(Wa,Aa)},Vo=ci({picker:Fi,selectedValue:wa,locale:zr,disabled:Ca,disabledDate:En,generateConfig:Ir},ga.current[1],ga.current[0]),Qo=Object(k.a)(Vo,2),wo=Qo[0],Oa=Qo[1],Po=Object(P.a)(!1,{value:Rn,defaultValue:Yn,postState:function(Aa){return Ca[ia]?!1:Aa},onChange:function(Aa){oa&&oa(Aa),!Aa&&Ya.current&&Ya.current.onClose&&Ya.current.onClose()}}),ds=Object(k.a)(Po,2),ho=ds[0],To=ds[1],za=ho&&ia===0,Yo=ho&&ia===1,nl=Object(d.useState)(0),Is=Object(k.a)(nl,2),Ls=Is[0],xs=Is[1];Object(d.useEffect)(function(){!ho&&Ii.current&&xs(Ii.current.offsetWidth)},[ho]);var ps=d.useRef();function Ts(Qa,Aa){if(Qa)clearTimeout(ps.current),ga.current[Aa]=!0,lo(Aa),To(Qa),ho||co(null,Aa);else if(ia===Aa){To(Qa);var Wa=ga.current;ps.current=setTimeout(function(){Wa===ga.current&&(ga.current={})})}}function Ho(Qa){Ts(!0,Qa),setTimeout(function(){var Aa=[Pa,Ka][Qa];Aa.current&&Aa.current.focus()},0)}function mo(Qa,Aa){var Wa=Qa,oo=mt(Wa,0),Jo=mt(Wa,1);oo&&Jo&&Ir.isAfter(oo,Jo)&&(Fi==="week"&&!vn(Ir,zr.locale,oo,Jo)||Fi==="quarter"&&!Xn(Ir,oo,Jo)||Fi!=="week"&&Fi!=="quarter"&&Fi!=="time"&&!hr(Ir,oo,Jo)?(Aa===0?(Wa=[oo,null],Jo=null):(oo=null,Wa=[null,Jo]),ga.current=Object(j.a)({},Aa,!0)):(Fi!=="time"||qi!==!1)&&(Wa=Hi(Wa,Ir))),no(Wa);var Hs=Wa&&Wa[0]?Ir.locale.format(zr.locale,Wa[0],xa[0]):"",bs=Wa&&Wa[1]?Ir.locale.format(zr.locale,Wa[1],xa[0]):"";if(ua){var ws={range:Aa===0?"start":"end"};ua(Wa,[Hs,bs],ws)}var ko=ni(oo,0,Ca,kn),Oo=ni(Jo,1,Ca,kn),Zo=Wa===null||ko&&Oo;Zo&&(yo(Wa),ta&&(!Ft(Ir,mt(La,0),oo)||!Ft(Ir,mt(La,1),Jo))&&ta(Wa,[Hs,bs]));var xo=null;Aa===0&&!Ca[1]?xo=1:Aa===1&&!Ca[0]&&(xo=0),xo!==null&&xo!==ia&&(!ga.current[xo]||!mt(Wa,xo))&&mt(Wa,Aa)?Ho(xo):Ts(!1,Aa)}var es=function(Aa){return ho&&Ya.current&&Ya.current.onKeyDown?Ya.current.onKeyDown(Aa):(Object(g.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},zo={formatList:xa,generateConfig:Ir,locale:zr},_o=Oi(mt(wa,0),zo),zn=Object(k.a)(_o,2),Go=zn[0],rl=zn[1],zs=Oi(mt(wa,1),zo),Ps=Object(k.a)(zs,2),ro=Ps[0],go=Ps[1],Uo=function(Aa,Wa){var oo=Ir.locale.parse(zr.locale,Aa,xa),Jo=Wa===0?wo:Oa;oo&&!Jo(oo)&&(no(tn(wa,oo,Wa)),co(oo,Wa))},rs=ti({valueTexts:Go,onTextChange:function(Aa){return Uo(Aa,0)}}),ys=Object(k.a)(rs,3),ms=ys[0],Os=ys[1],al=ys[2],Ns=ti({valueTexts:ro,onTextChange:function(Aa){return Uo(Aa,1)}}),Ys=Object(k.a)(Ns,3),_s=Ys[0],As=Ys[1],Ds=Ys[2],ut=Object(d.useState)(null),bt=Object(k.a)(ut,2),tr=bt[0],Tr=bt[1],et=Object(d.useState)(null),X=Object(k.a)(et,2),ee=X[0],ie=X[1],we=Ar(ms,{formatList:xa,generateConfig:Ir,locale:zr}),Ge=Object(k.a)(we,3),gt=Ge[0],fn=Ge[1],In=Ge[2],Jn=Ar(_s,{formatList:xa,generateConfig:Ir,locale:zr}),Cr=Object(k.a)(Jn,3),Hr=Cr[0],si=Cr[1],xi=Cr[2],Bi=function(Aa){ie(tn(wa,Aa,ia)),ia===0?fn(Aa):si(Aa)},sa=function(){ie(tn(wa,null,ia)),ia===0?In():xi()},ya=function(Aa,Wa){return{blurToCancel:Na,forwardKeyDown:es,onBlur:ki,isClickOutside:function(Jo){return!Me([Sa.current,Ra.current,Da.current],Jo)},onFocus:function(Jo){lo(Aa),ma&&ma(Jo)},triggerOpen:function(Jo){Ts(Jo,Aa)},onSubmit:function(){mo(wa,Aa),Wa()},onCancel:function(){Ts(!1,Aa),no(La),Wa()}}},Ja=oi(Object(H.a)(Object(H.a)({},ya(0,al)),{},{open:za,value:ms})),$a=Object(k.a)(Ja,2),to=$a[0],Lo=$a[1],Co=Lo.focused,Bo=Lo.typing,Ao=oi(Object(H.a)(Object(H.a)({},ya(1,Ds)),{},{open:Yo,value:_s})),So=Object(k.a)(Ao,2),is=So[0],ts=So[1],Io=ts.focused,Gi=ts.typing,Rs=function(Aa){!ho&&!Pa.current.contains(Aa.target)&&!Ka.current.contains(Aa.target)&&(Ca[0]?Ca[1]||Ho(1):Ho(0))},Es=function(Aa){ho&&(Co||Io)&&!Pa.current.contains(Aa.target)&&!Ka.current.contains(Aa.target)&&Aa.preventDefault()},as=La&&La[0]?Ir.locale.format(zr.locale,La[0],"YYYYMMDDHHmmss"):"",Xo=La&&La[1]?Ir.locale.format(zr.locale,La[1],"YYYYMMDDHHmmss"):"";Object(d.useEffect)(function(){ho||(no(La),!Go.length||Go[0]===""?Os(""):rl!==ms&&al(),!ro.length||ro[0]===""?As(""):go!==_s&&Ds())},[ho,Go,ro]),Object(d.useEffect)(function(){no(La)},[as,Xo]),_r&&(_r.current={focus:function(){Pa.current&&Pa.current.focus()},blur:function(){Pa.current&&Pa.current.blur(),Ka.current&&Ka.current.blur()}});var hs=Object.keys(_n||{}),Al=hs.map(function(Qa){var Aa=_n[Qa],Wa=typeof Aa=="function"?Aa():Aa;return{label:Qa,onClick:function(){mo(Wa,null),Ts(!1,ia)},onMouseEnter:function(){Tr(Wa)},onMouseLeave:function(){Tr(null)}}});function ol(){var Qa=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Aa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Wa=null;ho&&ee&&ee[0]&&ee[1]&&Ir.isAfter(ee[1],ee[0])&&(Wa=ee);var oo=Si;if(Si&&Object(z.a)(Si)==="object"&&Si.defaultValue){var Jo=Si.defaultValue;oo=Object(H.a)(Object(H.a)({},Si),{},{defaultValue:mt(Jo,ia)||void 0})}var Hs=null;return mn&&(Hs=function(ws,ko){return mn(ws,ko,{range:ia?"end":"start"})}),d.createElement(An.Provider,{value:{inRange:!0,panelPosition:Qa,rangedValue:tr||wa,hoverRangedValue:Wa}},d.createElement(Fn,Object.assign({},Re,Aa,{dateRender:Hs,showTime:oo,mode:Ma[ia],generateConfig:Ir,style:void 0,direction:va,disabledDate:ia===0?wo:Oa,disabledTime:function(ws){return Mt?Mt(ws,ia===0?"start":"end"):!1},className:C()(Object(j.a)({},"".concat(Dn,"-panel-focused"),ia===0?!Bo:!Gi)),value:mt(wa,ia),locale:zr,tabIndex:-1,onPanelChange:function(ws,ko){jo(tn(Ma,ko,ia),tn(wa,ws,ia));var Oo=ws;Qa==="right"&&Ma[ia]===ko&&(Oo=Jt(Oo,ko,Ir,-1)),co(Oo,ia)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:void 0,defaultPickerValue:void 0})))}var fs=0,No=0;ia&&Ra.current&&ka.current&&Sa.current&&(fs=Ra.current.offsetWidth+ka.current.offsetWidth,Sa.current.offsetWidth&&fs>Sa.current.offsetWidth&&(No=fs));var ls=va==="rtl"?{right:fs}:{left:fs};function Zs(){var Qa,Aa=ur(Dn,Ma[ia],Ci),Wa=Xt({prefixCls:Dn,components:na,needConfirmButton:Na,okDisabled:!mt(wa,ia)||En&&En(wa[ia]),locale:zr,rangeList:Al,onOk:function(){mt(wa,ia)&&(mo(wa,ia),Di&&Di(wa))}});if(Fi!=="time"&&!Si){var oo=uo(ia),Jo=Jt(oo,Fi,Ir),Hs=Ma[ia],bs=Hs===Fi,ws=ol(bs?"left":!1,{pickerValue:oo,onPickerValueChange:function(xo){co(xo,ia)}}),ko=ol("right",{pickerValue:Jo,onPickerValueChange:function(xo){co(Jt(xo,Fi,Ir,-1),ia)}});va==="rtl"?Qa=d.createElement(d.Fragment,null,ko,bs&&ws):Qa=d.createElement(d.Fragment,null,ws,bs&&ko)}else Qa=ol();var Oo=d.createElement(d.Fragment,null,d.createElement("div",{className:"".concat(Dn,"-panels")},Qa),(Aa||Wa)&&d.createElement("div",{className:"".concat(Dn,"-footer")},Aa,Wa));return zt&&(Oo=zt(Oo)),d.createElement("div",{className:"".concat(Dn,"-panel-container"),style:{marginLeft:No},ref:Sa,onMouseDown:function(xo){xo.preventDefault()}},Oo)}var gs=d.createElement("div",{className:C()("".concat(Dn,"-range-wrapper"),"".concat(Dn,"-").concat(Fi,"-range-wrapper")),style:{minWidth:Ls}},d.createElement("div",{className:"".concat(Dn,"-range-arrow"),style:ls}),Zs()),Us;or&&(Us=d.createElement("span",{className:"".concat(Dn,"-suffix")},or));var ks;pr&&(mt(La,0)&&!Ca[0]||mt(La,1)&&!Ca[1])&&(ks=d.createElement("span",{onMouseDown:function(Aa){Aa.preventDefault(),Aa.stopPropagation()},onMouseUp:function(Aa){Aa.preventDefault(),Aa.stopPropagation();var Wa=La;Ca[0]||(Wa=tn(Wa,null,0)),Ca[1]||(Wa=tn(Wa,null,1)),mo(Wa,null),Ts(!1,ia)},className:"".concat(Dn,"-clear")},yr||d.createElement("span",{className:"".concat(Dn,"-clear-btn")})));var Bs={size:st(Fi,xa[0])},il=0,$s=0;Ra.current&&Da.current&&ka.current&&(ia===0?$s=Ra.current.offsetWidth:(il=fs,$s=Da.current.offsetWidth));var Gs=va==="rtl"?{right:il}:{left:il},js=function(Aa,Wa){var oo=tn(wa,Aa,ia);Wa==="submit"||Wa!=="key"&&!Na?(mo(oo,ia),ia===0?In():xi()):no(oo)};return d.createElement(G.Provider,{value:{operationRef:Ya,hideHeader:Fi==="time",onDateMouseEnter:Bi,onDateMouseLeave:sa,hideRanges:!0,onSelect:js,open:ho}},d.createElement(ii,{visible:ho,popupElement:gs,popupStyle:gr,prefixCls:Dn,dropdownClassName:Rr,dropdownAlign:wr,getPopupContainer:Lr,transitionName:kr,range:!0,direction:va},d.createElement("div",Object.assign({ref:Ii,className:C()(Dn,"".concat(Dn,"-range"),Er,(At={},Object(j.a)(At,"".concat(Dn,"-disabled"),Ca[0]&&Ca[1]),Object(j.a)(At,"".concat(Dn,"-focused"),ia===0?Co:Io),Object(j.a)(At,"".concat(Dn,"-rtl"),va==="rtl"),At)),style:ar,onClick:Rs,onMouseDown:Es},Te(Re)),d.createElement("div",{className:C()("".concat(Dn,"-input"),(qt={},Object(j.a)(qt,"".concat(Dn,"-input-active"),ia===0),Object(j.a)(qt,"".concat(Dn,"-input-placeholder"),!!gt),qt)),ref:Ra},d.createElement("input",Object.assign({id:Hn,disabled:Ca[0],readOnly:Yr||!Bo,value:gt||ms,onChange:function(Aa){Os(Aa.target.value)},autoFocus:ri,placeholder:mt(Gr,0)||"",ref:Pa},to,Bs,{autoComplete:Qi}))),d.createElement("div",{className:"".concat(Dn,"-range-separator"),ref:ka},Wr),d.createElement("div",{className:C()("".concat(Dn,"-input"),($t={},Object(j.a)($t,"".concat(Dn,"-input-active"),ia===1),Object(j.a)($t,"".concat(Dn,"-input-placeholder"),!!Hr),$t)),ref:Da},d.createElement("input",Object.assign({disabled:Ca[1],readOnly:Yr||!Gi,value:Hr||_s,onChange:function(Aa){As(Aa.target.value)},placeholder:mt(Gr,1)||"",ref:Ka},is,Bs,{autoComplete:Qi}))),d.createElement("div",{className:"".concat(Dn,"-active-bar"),style:Object(H.a)(Object(H.a)({},Gs),{},{width:$s,position:"absolute"})}),Us,ks)))}var cr=function(Re){Object(M.a)(qt,Re);var At=Object(K.a)(qt);function qt(){var $t;return Object(R.a)(this,qt),$t=At.apply(this,arguments),$t.pickerRef=d.createRef(),$t.focus=function(){$t.pickerRef.current&&$t.pickerRef.current.focus()},$t.blur=function(){$t.pickerRef.current&&$t.pickerRef.current.blur()},$t}return Object(F.a)(qt,[{key:"render",value:function(){return d.createElement(Mi,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),qt}(d.Component),Pn=cr,br=er,Br=e("61s2");function Qr(Re,At,qt){return qt!==void 0?qt:Re==="year"&&At.lang.yearPlaceholder?At.lang.yearPlaceholder:Re==="quarter"&&At.lang.quarterPlaceholder?At.lang.quarterPlaceholder:Re==="month"&&At.lang.monthPlaceholder?At.lang.monthPlaceholder:Re==="week"&&At.lang.weekPlaceholder?At.lang.weekPlaceholder:Re==="time"&&At.timePickerLocale.placeholder?At.timePickerLocale.placeholder:At.lang.placeholder}function $r(Re,At,qt){return qt!==void 0?qt:Re==="year"&&At.lang.yearPlaceholder?At.lang.rangeYearPlaceholder:Re==="month"&&At.lang.monthPlaceholder?At.lang.rangeMonthPlaceholder:Re==="week"&&At.lang.weekPlaceholder?At.lang.rangeWeekPlaceholder:Re==="time"&&At.timePickerLocale.placeholder?At.timePickerLocale.rangePlaceholder:At.lang.rangePlaceholder}var hi=e("uaoM"),fi=e("H84U"),Ai=e("YMnH"),Wi=e("3Nzz"),ra=function(Re,At){var qt={};for(var $t in Re)Object.prototype.hasOwnProperty.call(Re,$t)&&At.indexOf($t)<0&&(qt[$t]=Re[$t]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Cn=0,$t=Object.getOwnPropertySymbols(Re);Cn<$t.length;Cn++)At.indexOf($t[Cn])<0&&Object.prototype.propertyIsEnumerable.call(Re,$t[Cn])&&(qt[$t[Cn]]=Re[$t[Cn]]);return qt};function $i(Re){function At(Er,gr){var Rr=function(kr){f()(Lr,kr);var wr=x()(Lr);function Lr(Ir){var zr;return u()(this,Lr),zr=wr.call(this,Ir),zr.pickerRef=d.createRef(),zr.focus=function(){zr.pickerRef.current&&zr.pickerRef.current.focus()},zr.blur=function(){zr.pickerRef.current&&zr.pickerRef.current.blur()},zr.getDefaultLocale=function(){var Gr=zr.props.locale,ri=m()(m()({},Br.a),Gr);return ri.lang=m()(m()({},ri.lang),(Gr||{}).lang),ri},zr.renderPicker=function(Gr){var ri=zr.context,yi=ri.getPrefixCls,li=ri.direction,Ti=ri.getPopupContainer,Fi=zr.props,Si=Fi.prefixCls,mi=Fi.getPopupContainer,Ni=Fi.className,Wr=Fi.size,Ri=Fi.bordered,Ki=Ri===void 0?!0:Ri,hn=Fi.placeholder,Rn=ra(Fi,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),Yn=zr.props,En=Yn.format,Mt=Yn.showTime,mn=yi("picker",Si),zt={showToday:!0},_n={};Er&&(_n.picker=Er);var kn=Er||zr.props.picker;return _n=m()(m()(m()({},_n),Mt?ea(m()({format:En,picker:kn},Mt)):{}),kn==="time"?ea(m()(m()({format:En},zr.props),{picker:kn})):{}),d.createElement(Wi.b.Consumer,null,function(pr){var or,yr=Wr||pr;return d.createElement(br,m()({ref:zr.pickerRef,placeholder:Qr(kn,Gr,hn),suffixIcon:kn==="time"?d.createElement(T.a,null):d.createElement(S.a,null),clearIcon:d.createElement(B.a,null),allowClear:!0,transitionName:"slide-up"},zt,Rn,_n,{locale:Gr.lang,className:C()(Ni,(or={},l()(or,"".concat(mn,"-").concat(yr),yr),l()(or,"".concat(mn,"-borderless"),!Ki),or)),prefixCls:mn,getPopupContainer:mi||Ti,generateConfig:Re,prevIcon:d.createElement("span",{className:"".concat(mn,"-prev-icon")}),nextIcon:d.createElement("span",{className:"".concat(mn,"-next-icon")}),superPrevIcon:d.createElement("span",{className:"".concat(mn,"-super-prev-icon")}),superNextIcon:d.createElement("span",{className:"".concat(mn,"-super-next-icon")}),components:Ji,direction:li}))})},Object(hi.a)(Er!=="quarter",gr,"DatePicker.".concat(gr," is legacy usage. Please use DatePicker[picker='").concat(Er,"'] directly.")),zr}return c()(Lr,[{key:"render",value:function(){return d.createElement(Ai.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),Lr}(d.Component);return Rr.contextType=fi.b,gr&&(Rr.displayName=gr),Rr}var qt=At(),$t=At("week","WeekPicker"),Cn=At("month","MonthPicker"),Dn=At("year","YearPicker"),Hn=At("time","TimePicker"),ar=At("quarter","QuarterPicker");return{DatePicker:qt,WeekPicker:$t,MonthPicker:Cn,YearPicker:Dn,TimePicker:Hn,QuarterPicker:ar}}var Ha=e("8ISB"),pi=e.n(Ha),sr=function(Re,At){var qt={};for(var $t in Re)Object.prototype.hasOwnProperty.call(Re,$t)&&At.indexOf($t)<0&&(qt[$t]=Re[$t]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Cn=0,$t=Object.getOwnPropertySymbols(Re);Cn<$t.length;Cn++)At.indexOf($t[Cn])<0&&Object.prototype.propertyIsEnumerable.call(Re,$t[Cn])&&(qt[$t[Cn]]=Re[$t[Cn]]);return qt};function Li(Re){var At=function(qt){f()(Cn,qt);var $t=x()(Cn);function Cn(){var Dn;return u()(this,Cn),Dn=$t.apply(this,arguments),Dn.pickerRef=d.createRef(),Dn.focus=function(){Dn.pickerRef.current&&Dn.pickerRef.current.focus()},Dn.blur=function(){Dn.pickerRef.current&&Dn.pickerRef.current.blur()},Dn.getDefaultLocale=function(){var Hn=Dn.props.locale,ar=m()(m()({},Br.a),Hn);return ar.lang=m()(m()({},ar.lang),(Hn||{}).lang),ar},Dn.renderPicker=function(Hn){var ar=Dn.context,Er=ar.getPrefixCls,gr=ar.direction,Rr=ar.getPopupContainer,kr=Dn.props,wr=kr.prefixCls,Lr=kr.getPopupContainer,Ir=kr.className,zr=kr.size,Gr=kr.bordered,ri=Gr===void 0?!0:Gr,yi=kr.placeholder,li=sr(kr,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),Ti=Dn.props,Fi=Ti.format,Si=Ti.showTime,mi=Ti.picker,Ni=Er("picker",wr),Wr={};return Wr=m()(m()(m()({},Wr),Si?ea(m()({format:Fi,picker:mi},Si)):{}),mi==="time"?ea(m()(m()({format:Fi},Dn.props),{picker:mi})):{}),d.createElement(Wi.b.Consumer,null,function(Ri){var Ki,hn=zr||Ri;return d.createElement(Pn,m()({separator:d.createElement("span",{"aria-label":"to",className:"".concat(Ni,"-separator")},d.createElement(pi.a,null)),ref:Dn.pickerRef,placeholder:$r(mi,Hn,yi),suffixIcon:mi==="time"?d.createElement(T.a,null):d.createElement(S.a,null),clearIcon:d.createElement(B.a,null),allowClear:!0,transitionName:"slide-up"},li,Wr,{className:C()(Ir,(Ki={},l()(Ki,"".concat(Ni,"-").concat(hn),hn),l()(Ki,"".concat(Ni,"-borderless"),!ri),Ki)),locale:Hn.lang,prefixCls:Ni,getPopupContainer:Lr||Rr,generateConfig:Re,prevIcon:d.createElement("span",{className:"".concat(Ni,"-prev-icon")}),nextIcon:d.createElement("span",{className:"".concat(Ni,"-next-icon")}),superPrevIcon:d.createElement("span",{className:"".concat(Ni,"-super-prev-icon")}),superNextIcon:d.createElement("span",{className:"".concat(Ni,"-super-next-icon")}),components:Ji,direction:gr}))})},Dn}return c()(Cn,[{key:"render",value:function(){return d.createElement(Ai.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),Cn}(d.Component);return At.contextType=fi.b,At}var Ji={button:a,rangeItem:i};function Ui(Re){return Re?Array.isArray(Re)?Re:[Re]:[]}function ea(Re){var At=Re.format,qt=Re.picker,$t=Re.showHour,Cn=Re.showMinute,Dn=Re.showSecond,Hn=Re.use12Hours,ar=Ui(At)[0],Er=m()({},Re);return ar&&(!ar.includes("s")&&Dn===void 0&&(Er.showSecond=!1),!ar.includes("m")&&Cn===void 0&&(Er.showMinute=!1),!ar.includes("H")&&!ar.includes("h")&&$t===void 0&&(Er.showHour=!1),(ar.includes("a")||ar.includes("A"))&&Hn===void 0&&(Er.use12Hours=!0)),qt==="time"?Er:{showTime:Er}}function Bt(Re){var At=$i(Re),qt=At.DatePicker,$t=At.WeekPicker,Cn=At.MonthPicker,Dn=At.YearPicker,Hn=At.TimePicker,ar=At.QuarterPicker,Er=Li(Re),gr=qt;return gr.WeekPicker=$t,gr.MonthPicker=Cn,gr.YearPicker=Dn,gr.RangePicker=Er,gr.TimePicker=Hn,gr.QuarterPicker=ar,gr}var Vn=Bt,nr=Vn(A),fr=U.a=nr},"+lIL":function(te,U,e){var y=e("ProS");e("/ry/"),e("3OrL");var L=e("L5E0"),g=e("7Phj");y.registerVisual(L),y.registerLayout(g)},"+nKL":function(te,U,e){"use strict";var y=e("q1tI"),L=e("TSYQ"),g=e.n(L),v=e("wx14"),A=e("Zm9Q"),b=e("Kwbf"),m=e("VTBJ"),d=e("c+Xe"),r=e("m+aA"),a=e("bdgK"),s=new Map;function i(Ue){Ue.forEach(function(He){var se,Ae=He.target;(se=s.get(Ae))===null||se===void 0||se.forEach(function(Oe){return Oe(Ae)})})}var n=new a.default(i),l=null,t=null;function u(Ue,He){s.has(Ue)||(s.set(Ue,new Set),n.observe(Ue)),s.get(Ue).add(He)}function o(Ue,He){s.has(Ue)&&(s.get(Ue).delete(He),s.get(Ue).size||(n.unobserve(Ue),s.delete(Ue)))}var c=e("1OyB"),h=e("vuIU"),f=e("Ji7U"),w=e("LK+K"),x=function(Ue){Object(f.a)(se,Ue);var He=Object(w.a)(se);function se(){return Object(c.a)(this,se),He.apply(this,arguments)}return Object(h.a)(se,[{key:"render",value:function(){return this.props.children}}]),se}(y.Component),I=y.createContext(null);function C(Ue){var He=Ue.children,se=Ue.onBatchResize,Ae=y.useRef(0),Oe=y.useRef([]),ze=y.useContext(I),Rt=y.useCallback(function(Et,_t,Nn){Ae.current+=1;var Mn=Ae.current;Oe.current.push({size:Et,element:_t,data:Nn}),Promise.resolve().then(function(){Mn===Ae.current&&(se==null||se(Oe.current),Oe.current=[])}),ze==null||ze(Et,_t,Nn)},[se,ze]);return y.createElement(I.Provider,{value:Rt},He)}function N(Ue){var He=Ue.children,se=Ue.disabled,Ae=y.useRef(null),Oe=y.useRef(null),ze=y.useContext(I),Rt=y.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Et=y.isValidElement(He)&&Object(d.c)(He),_t=Et?He.ref:null,Nn=y.useMemo(function(){return Object(d.a)(_t,Ae)},[_t,Ae]),Mn=y.useRef(Ue);Mn.current=Ue;var lr=y.useCallback(function(Lt){var $e=Mn.current,Qe=$e.onResize,kt=$e.data,Ht=Lt.getBoundingClientRect(),ot=Ht.width,Ct=Ht.height,nt=Lt.offsetWidth,Ot=Lt.offsetHeight,sn=Math.floor(ot),Zt=Math.floor(Ct);if(Rt.current.width!==sn||Rt.current.height!==Zt||Rt.current.offsetWidth!==nt||Rt.current.offsetHeight!==Ot){var Gt={width:sn,height:Zt,offsetWidth:nt,offsetHeight:Ot};Rt.current=Gt;var Qn=nt===Math.round(ot)?ot:nt,Gn=Ot===Math.round(Ct)?Ct:Ot,Or=Object(m.a)(Object(m.a)({},Gt),{},{offsetWidth:Qn,offsetHeight:Gn});ze==null||ze(Or,Lt,kt),Qe&&Promise.resolve().then(function(){Qe(Or,Lt)})}},[]);return y.useEffect(function(){var Lt=Object(r.a)(Ae.current)||Object(r.a)(Oe.current);return Lt&&!se&&u(Lt,lr),function(){return o(Lt,lr)}},[Ae.current,se]),y.createElement(x,{ref:Oe},Et?y.cloneElement(He,{ref:Nn}):He)}var S="rc-observer-key";function E(Ue){var He=Ue.children,se=Object(A.a)(He);return se.map(function(Ae,Oe){var ze=(Ae==null?void 0:Ae.key)||"".concat(S,"-").concat(Oe);return y.createElement(N,Object(v.a)({},Ue,{key:ze}),Ae)})}E.Collection=C;var T=E;function D(Ue,He){var se=Object.keys(Ue);if(Object.getOwnPropertySymbols){var Ae=Object.getOwnPropertySymbols(Ue);He&&(Ae=Ae.filter(function(Oe){return Object.getOwnPropertyDescriptor(Ue,Oe).enumerable})),se.push.apply(se,Ae)}return se}function B(Ue){for(var He=1;He<arguments.length;He++){var se=arguments[He]!=null?arguments[He]:{};He%2?D(Object(se),!0).forEach(function(Ae){R(Ue,Ae,se[Ae])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ue,Object.getOwnPropertyDescriptors(se)):D(Object(se)).forEach(function(Ae){Object.defineProperty(Ue,Ae,Object.getOwnPropertyDescriptor(se,Ae))})}return Ue}function R(Ue,He,se){return He in Ue?Object.defineProperty(Ue,He,{value:se,enumerable:!0,configurable:!0,writable:!0}):Ue[He]=se,Ue}var F=y.forwardRef(function(Ue,He){var se=Ue.height,Ae=Ue.offset,Oe=Ue.children,ze=Ue.prefixCls,Rt=Ue.onInnerResize,Et={},_t={display:"flex",flexDirection:"column"};return Ae!==void 0&&(Et={height:se,position:"relative",overflow:"hidden"},_t=B(B({},_t),{},{transform:"translateY(".concat(Ae,"px)"),position:"absolute",left:0,right:0,top:0})),y.createElement("div",{style:Et},y.createElement(T,{onResize:function(Mn){var lr=Mn.offsetHeight;lr&&Rt&&Rt()}},y.createElement("div",{style:_t,className:g()(R({},"".concat(ze,"-holder-inner"),ze)),ref:He},Oe)))});F.displayName="Filler";var M=F,K=e("wgJM");function j(Ue){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?j=function(se){return typeof se}:j=function(se){return se&&typeof Symbol=="function"&&se.constructor===Symbol&&se!==Symbol.prototype?"symbol":typeof se},j(Ue)}function H(Ue,He,se){return He in Ue?Object.defineProperty(Ue,He,{value:se,enumerable:!0,configurable:!0,writable:!0}):Ue[He]=se,Ue}function k(Ue,He){if(!(Ue instanceof He))throw new TypeError("Cannot call a class as a function")}function P(Ue,He){for(var se=0;se<He.length;se++){var Ae=He[se];Ae.enumerable=Ae.enumerable||!1,Ae.configurable=!0,"value"in Ae&&(Ae.writable=!0),Object.defineProperty(Ue,Ae.key,Ae)}}function z(Ue,He,se){return He&&P(Ue.prototype,He),se&&P(Ue,se),Ue}function Y(Ue,He){if(typeof He!="function"&&He!==null)throw new TypeError("Super expression must either be null or a function");Ue.prototype=Object.create(He&&He.prototype,{constructor:{value:Ue,writable:!0,configurable:!0}}),He&&_(Ue,He)}function _(Ue,He){return _=Object.setPrototypeOf||function(Ae,Oe){return Ae.__proto__=Oe,Ae},_(Ue,He)}function G(Ue){var He=q();return function(){var Ae=re(Ue),Oe;if(He){var ze=re(this).constructor;Oe=Reflect.construct(Ae,arguments,ze)}else Oe=Ae.apply(this,arguments);return J(this,Oe)}}function J(Ue,He){if(He&&(j(He)==="object"||typeof He=="function"))return He;if(He!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ue(Ue)}function ue(Ue){if(Ue===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ue}function q(){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(Ue){return!1}}function re(Ue){return re=Object.setPrototypeOf?Object.getPrototypeOf:function(se){return se.__proto__||Object.getPrototypeOf(se)},re(Ue)}var me=20;function be(Ue){return"touches"in Ue?Ue.touches[0].pageY:Ue.pageY}var ke=function(Ue){Y(se,Ue);var He=G(se);function se(){var Ae;k(this,se);for(var Oe=arguments.length,ze=new Array(Oe),Rt=0;Rt<Oe;Rt++)ze[Rt]=arguments[Rt];return Ae=He.call.apply(He,[this].concat(ze)),Ae.moveRaf=null,Ae.scrollbarRef=y.createRef(),Ae.thumbRef=y.createRef(),Ae.visibleTimeout=null,Ae.state={dragging:!1,pageY:null,startTop:null,visible:!1},Ae.delayHidden=function(){clearTimeout(Ae.visibleTimeout),Ae.setState({visible:!0}),Ae.visibleTimeout=setTimeout(function(){Ae.setState({visible:!1})},2e3)},Ae.onScrollbarTouchStart=function(Et){Et.preventDefault()},Ae.onContainerMouseDown=function(Et){Et.stopPropagation(),Et.preventDefault()},Ae.patchEvents=function(){window.addEventListener("mousemove",Ae.onMouseMove),window.addEventListener("mouseup",Ae.onMouseUp),Ae.thumbRef.current.addEventListener("touchmove",Ae.onMouseMove),Ae.thumbRef.current.addEventListener("touchend",Ae.onMouseUp)},Ae.removeEvents=function(){window.removeEventListener("mousemove",Ae.onMouseMove),window.removeEventListener("mouseup",Ae.onMouseUp),Ae.scrollbarRef.current.removeEventListener("touchstart",Ae.onScrollbarTouchStart),Ae.thumbRef.current.removeEventListener("touchstart",Ae.onMouseDown),Ae.thumbRef.current.removeEventListener("touchmove",Ae.onMouseMove),Ae.thumbRef.current.removeEventListener("touchend",Ae.onMouseUp),K.a.cancel(Ae.moveRaf)},Ae.onMouseDown=function(Et){var _t=Ae.props.onStartMove;Ae.setState({dragging:!0,pageY:be(Et),startTop:Ae.getTop()}),_t(),Ae.patchEvents(),Et.stopPropagation(),Et.preventDefault()},Ae.onMouseMove=function(Et){var _t=Ae.state,Nn=_t.dragging,Mn=_t.pageY,lr=_t.startTop,Lt=Ae.props.onScroll;if(K.a.cancel(Ae.moveRaf),Nn){var $e=be(Et)-Mn,Qe=lr+$e,kt=Ae.getEnableScrollRange(),Ht=Ae.getEnableHeightRange(),ot=Ht?Qe/Ht:0,Ct=Math.ceil(ot*kt);Ae.moveRaf=Object(K.a)(function(){Lt(Ct)})}},Ae.onMouseUp=function(){var Et=Ae.props.onStopMove;Ae.setState({dragging:!1}),Et(),Ae.removeEvents()},Ae.getSpinHeight=function(){var Et=Ae.props,_t=Et.height,Nn=Et.count,Mn=_t/Nn*10;return Mn=Math.max(Mn,me),Mn=Math.min(Mn,_t/2),Math.floor(Mn)},Ae.getEnableScrollRange=function(){var Et=Ae.props,_t=Et.scrollHeight,Nn=Et.height;return _t-Nn||0},Ae.getEnableHeightRange=function(){var Et=Ae.props.height,_t=Ae.getSpinHeight();return Et-_t||0},Ae.getTop=function(){var Et=Ae.props.scrollTop,_t=Ae.getEnableScrollRange(),Nn=Ae.getEnableHeightRange();if(Et===0||_t===0)return 0;var Mn=Et/_t;return Mn*Nn},Ae.showScroll=function(){var Et=Ae.props,_t=Et.height,Nn=Et.scrollHeight;return Nn>_t},Ae}return z(se,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(Oe){Oe.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var Oe=this.state,ze=Oe.dragging,Rt=Oe.visible,Et=this.props.prefixCls,_t=this.getSpinHeight(),Nn=this.getTop(),Mn=this.showScroll(),lr=Mn&&Rt;return y.createElement("div",{ref:this.scrollbarRef,className:g()("".concat(Et,"-scrollbar"),H({},"".concat(Et,"-scrollbar-show"),Mn)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:lr?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},y.createElement("div",{ref:this.thumbRef,className:g()("".concat(Et,"-scrollbar-thumb"),H({},"".concat(Et,"-scrollbar-thumb-moving"),ze)),style:{width:"100%",height:_t,top:Nn,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),se}(y.Component);function ce(Ue){var He=Ue.children,se=Ue.setRef,Ae=y.useCallback(function(Oe){se(Oe)},[]);return y.cloneElement(He,{ref:Ae})}function Ee(Ue,He,se,Ae,Oe,ze){var Rt=ze.getKey;return Ue.slice(He,se+1).map(function(Et,_t){var Nn=He+_t,Mn=Oe(Et,Nn,{}),lr=Rt(Et);return y.createElement(ce,{key:lr,setRef:function($e){return Ae(Et,$e)}},Mn)})}function pe(Ue,He){if(!(Ue instanceof He))throw new TypeError("Cannot call a class as a function")}function Se(Ue,He){for(var se=0;se<He.length;se++){var Ae=He[se];Ae.enumerable=Ae.enumerable||!1,Ae.configurable=!0,"value"in Ae&&(Ae.writable=!0),Object.defineProperty(Ue,Ae.key,Ae)}}function st(Ue,He,se){return He&&Se(Ue.prototype,He),se&&Se(Ue,se),Ue}var qe=function(){function Ue(){pe(this,Ue),this.maps=void 0,this.maps=Object.create(null)}return st(Ue,[{key:"set",value:function(se,Ae){this.maps[se]=Ae}},{key:"get",value:function(se){return this.maps[se]}}]),Ue}(),tt=qe;function Dt(Ue,He){return je(Ue)||ht(Ue,He)||St(Ue,He)||ct()}function ct(){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 St(Ue,He){if(!Ue)return;if(typeof Ue=="string")return rt(Ue,He);var se=Object.prototype.toString.call(Ue).slice(8,-1);if(se==="Object"&&Ue.constructor&&(se=Ue.constructor.name),se==="Map"||se==="Set")return Array.from(Ue);if(se==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(se))return rt(Ue,He)}function rt(Ue,He){(He==null||He>Ue.length)&&(He=Ue.length);for(var se=0,Ae=new Array(He);se<He;se++)Ae[se]=Ue[se];return Ae}function ht(Ue,He){var se=Ue==null?null:typeof Symbol!="undefined"&&Ue[Symbol.iterator]||Ue["@@iterator"];if(se==null)return;var Ae=[],Oe=!0,ze=!1,Rt,Et;try{for(se=se.call(Ue);!(Oe=(Rt=se.next()).done)&&!(Ae.push(Rt.value),He&&Ae.length===He);Oe=!0);}catch(_t){ze=!0,Et=_t}finally{try{!Oe&&se.return!=null&&se.return()}finally{if(ze)throw Et}}return Ae}function je(Ue){if(Array.isArray(Ue))return Ue}function Me(Ue,He,se){var Ae=y.useState(0),Oe=Dt(Ae,2),ze=Oe[0],Rt=Oe[1],Et=Object(y.useRef)(new Map),_t=Object(y.useRef)(new tt),Nn=Object(y.useRef)(0);function Mn(){Nn.current+=1;var Lt=Nn.current;Promise.resolve().then(function(){if(Lt!==Nn.current)return;Et.current.forEach(function($e,Qe){if($e&&$e.offsetParent){var kt=Object(r.a)($e),Ht=kt.offsetHeight;_t.current.get(Qe)!==Ht&&_t.current.set(Qe,kt.offsetHeight)}}),Rt(function($e){return $e+1})})}function lr(Lt,$e){var Qe=Ue(Lt),kt=Et.current.get(Qe);$e?(Et.current.set(Qe,$e),Mn()):Et.current.delete(Qe),!kt!==!$e&&($e?He==null||He(Lt):se==null||se(Lt))}return[lr,Mn,_t.current,ze]}function Ne(Ue){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ne=function(se){return typeof se}:Ne=function(se){return se&&typeof Symbol=="function"&&se.constructor===Symbol&&se!==Symbol.prototype?"symbol":typeof se},Ne(Ue)}function it(Ue,He,se,Ae,Oe,ze,Rt,Et){var _t=y.useRef();return function(Nn){if(Nn==null){Et();return}if(K.a.cancel(_t.current),typeof Nn=="number")Rt(Nn);else if(Nn&&Ne(Nn)==="object"){var Mn,lr=Nn.align;"index"in Nn?Mn=Nn.index:Mn=He.findIndex(function(kt){return Oe(kt)===Nn.key});var Lt=Nn.offset,$e=Lt===void 0?0:Lt,Qe=function kt(Ht,ot){if(Ht<0||!Ue.current)return;var Ct=Ue.current.clientHeight,nt=!1,Ot=ot;if(Ct){for(var sn=ot||lr,Zt=0,Gt=0,Qn=0,Gn=Math.min(He.length,Mn),Or=0;Or<=Gn;Or+=1){var Nr=Oe(He[Or]);Gt=Zt;var Kr=se.get(Nr);Qn=Gt+(Kr===void 0?Ae:Kr),Zt=Qn,Or===Mn&&Kr===void 0&&(nt=!0)}var ei=null;switch(sn){case"top":ei=Gt-$e;break;case"bottom":ei=Qn-Ct+$e;break;default:{var vi=Ue.current.scrollTop,Pi=vi+Ct;Gt<vi?Ot="top":Qn>Pi&&(Ot="bottom")}}ei!==null&&ei!==Ue.current.scrollTop&&Rt(ei)}_t.current=Object(K.a)(function(){nt&&ze(),kt(Ht-1,Ot)})};Qe(3)}}}function wt(Ue,He,se,Ae){var Oe=se-Ue,ze=He-se,Rt=Math.min(Oe,ze)*2;if(Ae<=Rt){var Et=Math.floor(Ae/2);return Ae%2?se+Et+1:se-Et}return Oe>ze?se-(Ae-ze):se+(Ae-Oe)}function jt(Ue,He,se){var Ae=Ue.length,Oe=He.length,ze,Rt;if(Ae===0&&Oe===0)return null;Ae<Oe?(ze=Ue,Rt=He):(ze=He,Rt=Ue);var Et={__EMPTY_ITEM__:!0};function _t(Qe){return Qe!==void 0?se(Qe):Et}for(var Nn=null,Mn=Math.abs(Ae-Oe)!==1,lr=0;lr<Rt.length;lr+=1){var Lt=_t(ze[lr]),$e=_t(Rt[lr]);if(Lt!==$e){Nn=lr,Mn=Mn||Lt!==_t(Rt[lr+1]);break}}return Nn===null?null:{index:Nn,multiple:Mn}}function lt(Ue,He){return Yt(Ue)||Vt(Ue,He)||mt(Ue,He)||Te()}function Te(){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 mt(Ue,He){if(!Ue)return;if(typeof Ue=="string")return tn(Ue,He);var se=Object.prototype.toString.call(Ue).slice(8,-1);if(se==="Object"&&Ue.constructor&&(se=Ue.constructor.name),se==="Map"||se==="Set")return Array.from(Ue);if(se==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(se))return tn(Ue,He)}function tn(Ue,He){(He==null||He>Ue.length)&&(He=Ue.length);for(var se=0,Ae=new Array(He);se<He;se++)Ae[se]=Ue[se];return Ae}function Vt(Ue,He){var se=Ue==null?null:typeof Symbol!="undefined"&&Ue[Symbol.iterator]||Ue["@@iterator"];if(se==null)return;var Ae=[],Oe=!0,ze=!1,Rt,Et;try{for(se=se.call(Ue);!(Oe=(Rt=se.next()).done)&&!(Ae.push(Rt.value),He&&Ae.length===He);Oe=!0);}catch(_t){ze=!0,Et=_t}finally{try{!Oe&&se.return!=null&&se.return()}finally{if(ze)throw Et}}return Ae}function Yt(Ue){if(Array.isArray(Ue))return Ue}function Qt(Ue,He,se){var Ae=y.useState(Ue),Oe=lt(Ae,2),ze=Oe[0],Rt=Oe[1],Et=y.useState(null),_t=lt(Et,2),Nn=_t[0],Mn=_t[1];return y.useEffect(function(){var lr=jt(ze||[],Ue||[],He);(lr==null?void 0:lr.index)!==void 0&&(se==null||se(lr.index),Mn(Ue[lr.index])),Rt(Ue)},[Ue]),[Nn]}function an(Ue){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?an=function(se){return typeof se}:an=function(se){return se&&typeof Symbol=="function"&&se.constructor===Symbol&&se!==Symbol.prototype?"symbol":typeof se},an(Ue)}var on=(typeof navigator=="undefined"?"undefined":an(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),vt=on,de=function(Ue,He){var se=Object(y.useRef)(!1),Ae=Object(y.useRef)(null);function Oe(){clearTimeout(Ae.current),se.current=!0,Ae.current=setTimeout(function(){se.current=!1},50)}var ze=Object(y.useRef)({top:Ue,bottom:He});return ze.current.top=Ue,ze.current.bottom=He,function(Rt){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_t=Rt<0&&ze.current.top||Rt>0&&ze.current.bottom;return Et&&_t?(clearTimeout(Ae.current),se.current=!1):(!_t||se.current)&&Oe(),!se.current&&_t}};function he(Ue,He,se,Ae){var Oe=Object(y.useRef)(0),ze=Object(y.useRef)(null),Rt=Object(y.useRef)(null),Et=Object(y.useRef)(!1),_t=de(He,se);function Nn(lr){if(!Ue)return;K.a.cancel(ze.current);var Lt=lr.deltaY;if(Oe.current+=Lt,Rt.current=Lt,_t(Lt))return;vt||lr.preventDefault(),ze.current=Object(K.a)(function(){var $e=Et.current?10:1;Ae(Oe.current*$e),Oe.current=0})}function Mn(lr){if(!Ue)return;Et.current=lr.detail===Rt.current}return[Nn,Mn]}var Pt=14/15;function We(Ue,He,se){var Ae=Object(y.useRef)(!1),Oe=Object(y.useRef)(0),ze=Object(y.useRef)(null),Rt=Object(y.useRef)(null),Et,_t=function(Lt){if(Ae.current){var $e=Math.ceil(Lt.touches[0].pageY),Qe=Oe.current-$e;Oe.current=$e,se(Qe)&&Lt.preventDefault(),clearInterval(Rt.current),Rt.current=setInterval(function(){Qe*=Pt,(!se(Qe,!0)||Math.abs(Qe)<=.1)&&clearInterval(Rt.current)},16)}},Nn=function(){Ae.current=!1,Et()},Mn=function(Lt){Et(),Lt.touches.length===1&&!Ae.current&&(Ae.current=!0,Oe.current=Math.ceil(Lt.touches[0].pageY),ze.current=Lt.target,ze.current.addEventListener("touchmove",_t),ze.current.addEventListener("touchend",Nn))};Et=function(){ze.current&&(ze.current.removeEventListener("touchmove",_t),ze.current.removeEventListener("touchend",Nn))},y.useLayoutEffect(function(){return Ue&&He.current.addEventListener("touchstart",Mn),function(){He.current.removeEventListener("touchstart",Mn),Et(),clearInterval(Rt.current)}},[Ue])}var Je=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange"];function Ln(){return Ln=Object.assign||function(Ue){for(var He=1;He<arguments.length;He++){var se=arguments[He];for(var Ae in se)Object.prototype.hasOwnProperty.call(se,Ae)&&(Ue[Ae]=se[Ae])}return Ue},Ln.apply(this,arguments)}function jn(Ue,He){var se=Object.keys(Ue);if(Object.getOwnPropertySymbols){var Ae=Object.getOwnPropertySymbols(Ue);He&&(Ae=Ae.filter(function(Oe){return Object.getOwnPropertyDescriptor(Ue,Oe).enumerable})),se.push.apply(se,Ae)}return se}function Sn(Ue){for(var He=1;He<arguments.length;He++){var se=arguments[He]!=null?arguments[He]:{};He%2?jn(Object(se),!0).forEach(function(Ae){Xn(Ue,Ae,se[Ae])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ue,Object.getOwnPropertyDescriptors(se)):jn(Object(se)).forEach(function(Ae){Object.defineProperty(Ue,Ae,Object.getOwnPropertyDescriptor(se,Ae))})}return Ue}function Xn(Ue,He,se){return He in Ue?Object.defineProperty(Ue,He,{value:se,enumerable:!0,configurable:!0,writable:!0}):Ue[He]=se,Ue}function rr(Ue,He){return Ye(Ue)||Ft(Ue,He)||gn(Ue,He)||hr()}function hr(){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 gn(Ue,He){if(!Ue)return;if(typeof Ue=="string")return vn(Ue,He);var se=Object.prototype.toString.call(Ue).slice(8,-1);if(se==="Object"&&Ue.constructor&&(se=Ue.constructor.name),se==="Map"||se==="Set")return Array.from(Ue);if(se==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(se))return vn(Ue,He)}function vn(Ue,He){(He==null||He>Ue.length)&&(He=Ue.length);for(var se=0,Ae=new Array(He);se<He;se++)Ae[se]=Ue[se];return Ae}function Ft(Ue,He){var se=Ue==null?null:typeof Symbol!="undefined"&&Ue[Symbol.iterator]||Ue["@@iterator"];if(se==null)return;var Ae=[],Oe=!0,ze=!1,Rt,Et;try{for(se=se.call(Ue);!(Oe=(Rt=se.next()).done)&&!(Ae.push(Rt.value),He&&Ae.length===He);Oe=!0);}catch(_t){ze=!0,Et=_t}finally{try{!Oe&&se.return!=null&&se.return()}finally{if(ze)throw Et}}return Ae}function Ye(Ue){if(Array.isArray(Ue))return Ue}function Pe(Ue,He){if(Ue==null)return{};var se=Jt(Ue,He),Ae,Oe;if(Object.getOwnPropertySymbols){var ze=Object.getOwnPropertySymbols(Ue);for(Oe=0;Oe<ze.length;Oe++){if(Ae=ze[Oe],He.indexOf(Ae)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Ue,Ae))continue;se[Ae]=Ue[Ae]}}return se}function Jt(Ue,He){if(Ue==null)return{};var se={},Ae=Object.keys(Ue),Oe,ze;for(ze=0;ze<Ae.length;ze++){if(Oe=Ae[ze],He.indexOf(Oe)>=0)continue;se[Oe]=Ue[Oe]}return se}var bn=[],An={overflowY:"auto",overflowAnchor:"none"};function dn(Ue,He){var se=Ue.prefixCls,Ae=se===void 0?"rc-virtual-list":se,Oe=Ue.className,ze=Ue.height,Rt=Ue.itemHeight,Et=Ue.fullHeight,_t=Et===void 0?!0:Et,Nn=Ue.style,Mn=Ue.data,lr=Ue.children,Lt=Ue.itemKey,$e=Ue.virtual,Qe=Ue.component,kt=Qe===void 0?"div":Qe,Ht=Ue.onScroll,ot=Ue.onVisibleChange,Ct=Pe(Ue,Je),nt=!!($e!==!1&&ze&&Rt),Ot=nt&&Mn&&Rt*Mn.length>ze,sn=Object(y.useState)(0),Zt=rr(sn,2),Gt=Zt[0],Qn=Zt[1],Gn=Object(y.useState)(!1),Or=rr(Gn,2),Nr=Or[0],Kr=Or[1],ei=g()(Ae,Oe),vi=Mn||bn,Pi=Object(y.useRef)(),Be=Object(y.useRef)(),le=Object(y.useRef)(),ye=y.useCallback(function(ni){return typeof Lt=="function"?Lt(ni):ni==null?void 0:ni[Lt]},[Lt]),xe={getKey:ye};function De(ni){Qn(function(Mi){var cr;typeof ni=="function"?cr=ni(Mi):cr=ni;var Pn=ti(cr);return Pi.current.scrollTop=Pn,Pn})}var Le=Object(y.useRef)({start:0,end:vi.length}),Fe=Object(y.useRef)(),at=Qt(vi,ye),Ve=rr(at,1),It=Ve[0];Fe.current=It;var pn=Me(ye,null,null),rn=rr(pn,4),Tn=rn[0],Nt=rn[1],ur=rn[2],Xt=rn[3],Kn=y.useMemo(function(){if(!nt)return{scrollHeight:void 0,start:0,end:vi.length-1,offset:void 0};if(!Ot){var ni;return{scrollHeight:((ni=Be.current)===null||ni===void 0?void 0:ni.offsetHeight)||0,start:0,end:vi.length-1,offset:void 0}}for(var Mi=0,cr,Pn,br,Br=vi.length,Qr=0;Qr<Br;Qr+=1){var $r=vi[Qr],hi=ye($r),fi=ur.get(hi),Ai=Mi+(fi===void 0?Rt:fi);Ai>=Gt&&cr===void 0&&(cr=Qr,Pn=Mi),Ai>Gt+ze&&br===void 0&&(br=Qr),Mi=Ai}return cr===void 0&&(cr=0,Pn=0),br===void 0&&(br=vi.length-1),br=Math.min(br+1,vi.length),{scrollHeight:Mi,start:cr,end:br,offset:Pn}},[Ot,nt,Gt,vi,Xt,ze]),Fn=Kn.scrollHeight,un=Kn.start,Sr=Kn.end,Fr=Kn.offset;Le.current.start=un,Le.current.end=Sr;var ii=Fn-ze,oi=Object(y.useRef)(ii);oi.current=ii;function ti(ni){var Mi=ni;return Number.isNaN(oi.current)||(Mi=Math.min(Mi,oi.current)),Mi=Math.max(Mi,0),Mi}var bi=Gt<=0,Mr=Gt>=ii,Oi=de(bi,Mr);function Ar(ni){var Mi=ni;De(Mi)}function Wn(ni){var Mi=ni.currentTarget.scrollTop;Mi!==Gt&&De(Mi),Ht==null||Ht(ni)}var xr=he(nt,bi,Mr,function(ni){De(function(Mi){var cr=Mi+ni;return cr})}),er=rr(xr,2),ci=er[0],qr=er[1];We(nt,Pi,function(ni,Mi){return Oi(ni,Mi)?!1:(ci({preventDefault:function(){},deltaY:ni}),!0)}),Object(y.useLayoutEffect)(function(){function ni(Mi){nt&&Mi.preventDefault()}return Pi.current.addEventListener("wheel",ci),Pi.current.addEventListener("DOMMouseScroll",qr),Pi.current.addEventListener("MozMousePixelScroll",ni),function(){Pi.current.removeEventListener("wheel",ci),Pi.current.removeEventListener("DOMMouseScroll",qr),Pi.current.removeEventListener("MozMousePixelScroll",ni)}},[nt]);var wi=it(Pi,vi,ur,Rt,ye,Nt,De,function(){var ni;(ni=le.current)===null||ni===void 0||ni.delayHidden()});y.useImperativeHandle(He,function(){return{scrollTo:wi}}),Object(y.useLayoutEffect)(function(){if(ot){var ni=vi.slice(un,Sr+1);ot(ni,vi)}},[un,Sr,vi]);var Xr=Ee(vi,un,Sr,Tn,lr,xe),Hi=null;return ze&&(Hi=Sn(Xn({},_t?"height":"maxHeight",ze),An),nt&&(Hi.overflowY="hidden",Nr&&(Hi.pointerEvents="none"))),y.createElement("div",Ln({style:Sn(Sn({},Nn),{},{position:"relative"}),className:ei},Ct),y.createElement(kt,{className:"".concat(Ae,"-holder"),style:Hi,ref:Pi,onScroll:Wn},y.createElement(M,{prefixCls:Ae,height:Fn,offset:Fr,onInnerResize:Nt,ref:Be},Xr)),nt&&y.createElement(ke,{ref:le,prefixCls:Ae,scrollTop:Gt,height:ze,scrollHeight:Fn,count:vi.length,onScroll:Ar,onStartMove:function(){Kr(!0)},onStopMove:function(){Kr(!1)}}))}var vr=y.forwardRef(dn);vr.displayName="List";var qn=vr,Ur=U.a=qn},"+rIm":function(te,U,e){var y=e("bYtY"),L=y.retrieve,g=y.defaults,v=y.extend,A=y.each,b=e("7aKB"),m=e("IwbS"),d=e("Qxkt"),r=e("OELB"),a=r.isRadianAroundZero,s=r.remRadian,i=e("oVpE"),n=i.createSymbol,l=e("Fofx"),t=e("QBsz"),u=t.applyTransform,o=e("aX7z"),c=o.shouldShowAllLabels,h=Math.PI,f=function(j,H){this.opt=H,this.axisModel=j,g(H,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new m.Group;var k=new m.Group({position:H.position.slice(),rotation:H.rotation});k.updateTransform(),this._transform=k.transform,this._dumbGroup=k};f.prototype={constructor:f,hasBuilder:function(j){return!!w[j]},add:function(j){w[j].call(this)},getGroup:function(){return this.group}};var w={axisLine:function(){var j=this.opt,H=this.axisModel;if(!H.get("axisLine.show"))return;var k=this.axisModel.axis.getExtent(),P=this._transform,z=[k[0],0],Y=[k[1],0];P&&(u(z,z,P),u(Y,Y,P));var _=v({lineCap:"round"},H.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new m.Line({anid:"line",subPixelOptimize:!0,shape:{x1:z[0],y1:z[1],x2:Y[0],y2:Y[1]},style:_,strokeContainThreshold:j.strokeContainThreshold||5,silent:!0,z2:1}));var G=H.get("axisLine.symbol"),J=H.get("axisLine.symbolSize"),ue=H.get("axisLine.symbolOffset")||0;if(typeof ue=="number"&&(ue=[ue,ue]),G!=null){typeof G=="string"&&(G=[G,G]),(typeof J=="string"||typeof J=="number")&&(J=[J,J]);var q=J[0],re=J[1];A([{rotate:j.rotation+Math.PI/2,offset:ue[0],r:0},{rotate:j.rotation-Math.PI/2,offset:ue[1],r:Math.sqrt((z[0]-Y[0])*(z[0]-Y[0])+(z[1]-Y[1])*(z[1]-Y[1]))}],function(me,be){if(G[be]!=="none"&&G[be]!=null){var ke=n(G[be],-q/2,-re/2,q,re,_.stroke,!0),ce=me.r+me.offset,Ee=[z[0]+ce*Math.cos(j.rotation),z[1]-ce*Math.sin(j.rotation)];ke.attr({rotation:me.rotate,position:Ee,silent:!0,z2:11}),this.group.add(ke)}},this)}},axisTickLabel:function(){var j=this.axisModel,H=this.opt,k=R(this,j,H),P=M(this,j,H);S(j,P,k),F(this,j,H)},axisName:function(){var j=this.opt,H=this.axisModel,k=L(j.axisName,H.get("name"));if(!k)return;var P=H.get("nameLocation"),z=j.nameDirection,Y=H.getModel("nameTextStyle"),_=H.get("nameGap")||0,G=this.axisModel.axis.getExtent(),J=G[0]>G[1]?-1:1,ue=[P==="start"?G[0]-J*_:P==="end"?G[1]+J*_:(G[0]+G[1])/2,D(P)?j.labelOffset+z*_:0],q,re=H.get("nameRotate");re!=null&&(re=re*h/180);var me;D(P)?q=I(j.rotation,re!=null?re:j.rotation,z):(q=C(j,P,re||0,G),me=j.axisNameAvailableWidth,me!=null&&(me=Math.abs(me/Math.sin(q.rotation)),!isFinite(me)&&(me=null)));var be=Y.getFont(),ke=H.get("nameTruncate",!0)||{},ce=ke.ellipsis,Ee=L(j.nameTruncateMaxWidth,ke.maxWidth,me),pe=ce!=null&&Ee!=null?b.truncateText(k,Ee,be,ce,{minChar:2,placeholder:ke.placeholder}):k,Se=H.get("tooltip",!0),st=H.mainType,qe={componentType:st,name:k,$vars:["name"]};qe[st+"Index"]=H.componentIndex;var tt=new m.Text({anid:"name",__fullText:k,__truncatedText:pe,position:ue,rotation:q.rotation,silent:N(H),z2:1,tooltip:Se&&Se.show?v({content:k,formatter:function(){return k},formatterParams:qe},Se):null});m.setTextStyle(tt.style,Y,{text:pe,textFont:be,textFill:Y.getTextColor()||H.get("axisLine.lineStyle.color"),textAlign:Y.get("align")||q.textAlign,textVerticalAlign:Y.get("verticalAlign")||q.textVerticalAlign}),H.get("triggerEvent")&&(tt.eventData=x(H),tt.eventData.targetType="axisName",tt.eventData.name=k),this._dumbGroup.add(tt),tt.updateTransform(),this.group.add(tt),tt.decomposeTransform()}},x=f.makeAxisEventDataBase=function(j){var H={componentType:j.mainType,componentIndex:j.componentIndex};return H[j.mainType+"Index"]=j.componentIndex,H},I=f.innerTextLayout=function(j,H,k){var P=s(H-j),z,Y;return a(P)?(Y=k>0?"top":"bottom",z="center"):a(P-h)?(Y=k>0?"bottom":"top",z="center"):(Y="middle",P>0&&P<h?z=k>0?"right":"left":z=k>0?"left":"right"),{rotation:P,textAlign:z,textVerticalAlign:Y}};function C(j,H,k,P){var z=s(k-j.rotation),Y,_,G=P[0]>P[1],J=H==="start"&&!G||H!=="start"&&G;return a(z-h/2)?(_=J?"bottom":"top",Y="center"):a(z-h*1.5)?(_=J?"top":"bottom",Y="center"):(_="middle",z<h*1.5&&z>h/2?Y=J?"left":"right":Y=J?"right":"left"),{rotation:z,textAlign:Y,textVerticalAlign:_}}var N=f.isLabelSilent=function(j){var H=j.get("tooltip");return j.get("silent")||!(j.get("triggerEvent")||H&&H.show)};function S(j,H,k){if(c(j.axis))return;var P=j.get("axisLabel.showMinLabel"),z=j.get("axisLabel.showMaxLabel");H=H||[],k=k||[];var Y=H[0],_=H[1],G=H[H.length-1],J=H[H.length-2],ue=k[0],q=k[1],re=k[k.length-1],me=k[k.length-2];P===!1?(E(Y),E(ue)):T(Y,_)&&(P?(E(_),E(q)):(E(Y),E(ue))),z===!1?(E(G),E(re)):T(J,G)&&(z?(E(J),E(me)):(E(G),E(re)))}function E(j){j&&(j.ignore=!0)}function T(j,H,k){var P=j&&j.getBoundingRect().clone(),z=H&&H.getBoundingRect().clone();if(!P||!z)return;var Y=l.identity([]);return l.rotate(Y,Y,-j.rotation),P.applyTransform(l.mul([],Y,j.getLocalTransform())),z.applyTransform(l.mul([],Y,H.getLocalTransform())),P.intersect(z)}function D(j){return j==="middle"||j==="center"}function B(j,H,k,P,z){for(var Y=[],_=[],G=[],J=0;J<j.length;J++){var ue=j[J].coord;_[0]=ue,_[1]=0,G[0]=ue,G[1]=k,H&&(u(_,_,H),u(G,G,H));var q=new m.Line({anid:z+"_"+j[J].tickValue,subPixelOptimize:!0,shape:{x1:_[0],y1:_[1],x2:G[0],y2:G[1]},style:P,z2:2,silent:!0});Y.push(q)}return Y}function R(j,H,k){var P=H.axis,z=H.getModel("axisTick");if(!z.get("show")||P.scale.isBlank())return;for(var Y=z.getModel("lineStyle"),_=k.tickDirection*z.get("length"),G=P.getTicksCoords(),J=B(G,j._transform,_,g(Y.getLineStyle(),{stroke:H.get("axisLine.lineStyle.color")}),"ticks"),ue=0;ue<J.length;ue++)j.group.add(J[ue]);return J}function F(j,H,k){var P=H.axis,z=H.getModel("minorTick");if(!z.get("show")||P.scale.isBlank())return;var Y=P.getMinorTicksCoords();if(!Y.length)return;for(var _=z.getModel("lineStyle"),G=k.tickDirection*z.get("length"),J=g(_.getLineStyle(),g(H.getModel("axisTick").getLineStyle(),{stroke:H.get("axisLine.lineStyle.color")})),ue=0;ue<Y.length;ue++)for(var q=B(Y[ue],j._transform,G,J,"minorticks_"+ue),re=0;re<q.length;re++)j.group.add(q[re])}function M(j,H,k){var P=H.axis,z=L(k.axisLabelShow,H.get("axisLabel.show"));if(!z||P.scale.isBlank())return;var Y=H.getModel("axisLabel"),_=Y.get("margin"),G=P.getViewLabels(),J=(L(k.labelRotate,Y.get("rotate"))||0)*h/180,ue=I(k.rotation,J,k.labelDirection),q=H.getCategories&&H.getCategories(!0),re=[],me=N(H),be=H.get("triggerEvent");return A(G,function(ke,ce){var Ee=ke.tickValue,pe=ke.formattedLabel,Se=ke.rawLabel,st=Y;q&&q[Ee]&&q[Ee].textStyle&&(st=new d(q[Ee].textStyle,Y,H.ecModel));var qe=st.getTextColor()||H.get("axisLine.lineStyle.color"),tt=P.dataToCoord(Ee),Dt=[tt,k.labelOffset+k.labelDirection*_],ct=new m.Text({anid:"label_"+Ee,position:Dt,rotation:ue.rotation,silent:me,z2:10});m.setTextStyle(ct.style,st,{text:pe,textAlign:st.getShallow("align",!0)||ue.textAlign,textVerticalAlign:st.getShallow("verticalAlign",!0)||st.getShallow("baseline",!0)||ue.textVerticalAlign,textFill:typeof qe=="function"?qe(P.type==="category"?Se:P.type==="value"?Ee+"":Ee,ce):qe}),be&&(ct.eventData=x(H),ct.eventData.targetType="axisLabel",ct.eventData.value=Se),j._dumbGroup.add(ct),ct.updateTransform(),re.push(ct),j.group.add(ct),ct.decomposeTransform()}),re}var K=f;te.exports=K},"+wW9":function(te,U,e){var y=e("bYtY"),L=y.each,g=y.isArray,v=y.isObject,A=e("JuEJ"),b=e("4NO4"),m=b.normalizeToArray;function d(l,t){t=t.split(",");for(var u=l,o=0;o<t.length&&!(u=u&&u[t[o]],u==null);o++);return u}function r(l,t,u,o){t=t.split(",");for(var c=l,h,f=0;f<t.length-1;f++)h=t[f],c[h]==null&&(c[h]={}),c=c[h];(o||c[t[f]]==null)&&(c[t[f]]=u)}function a(l){L(s,function(t){t[0]in l&&!(t[1]in l)&&(l[t[1]]=l[t[0]])})}var s=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],i=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];function n(l,t){A(l,t),l.series=m(l.series),L(l.series,function(u){if(!v(u))return;var o=u.type;if(o==="line")u.clipOverflow!=null&&(u.clip=u.clipOverflow);else if(o==="pie"||o==="gauge")u.clockWise!=null&&(u.clockwise=u.clockWise);else if(o==="gauge"){var c=d(u,"pointer.color");c!=null&&r(u,"itemStyle.color",c)}a(u)}),l.dataRange&&(l.visualMap=l.dataRange),L(i,function(u){var o=l[u];o&&(g(o)||(o=[o]),L(o,function(c){a(c)}))})}te.exports=n},"/IIm":function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("bYtY"),v=e("H6uX"),A=e("IwbS"),b=e("pP6R"),m=e("gPAo"),d=g.curry,r=g.each,a=g.map,s=Math.min,i=Math.max,n=Math.pow,l=1e4,t=6,u=6,o="globalPan",c={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},h={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},f={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},w=0;function x(Me){v.call(this),this._zr=Me,this.group=new A.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+w++,this._handlers={},r(Dt,function(Ne,it){this._handlers[it]=g.bind(Ne,this)},this)}x.prototype={constructor:x,enableBrush:function(Me){return this._brushType&&C(this),Me.brushType&&I(this,Me),this},setPanels:function(Me){if(Me&&Me.length){var Ne=this._panels={};g.each(Me,function(it){Ne[it.panelId]=g.clone(it)})}else this._panels=null;return this},mount:function(Me){Me=Me||{},this._enableGlobalPan=Me.enableGlobalPan;var Ne=this.group;return this._zr.add(Ne),Ne.attr({position:Me.position||[0,0],rotation:Me.rotation||0,scale:Me.scale||[1,1]}),this._transform=Ne.getLocalTransform(),this},eachCover:function(Me,Ne){r(this._covers,Me,Ne)},updateCovers:function(Me){Me=g.map(Me,function(Yt){return g.merge(g.clone(f),Yt,!0)});var Ne="\0-brush-index-",it=this._covers,wt=this._covers=[],jt=this,lt=this._creatingCover;return new m(it,Me,mt,Te).add(tn).update(tn).remove(Vt).execute(),this;function Te(Yt,Qt){return(Yt.id!=null?Yt.id:Ne+Qt)+"-"+Yt.brushType}function mt(Yt,Qt){return Te(Yt.__brushOption,Qt)}function tn(Yt,Qt){var an=Me[Yt];if(Qt!=null&&it[Qt]===lt)wt[Yt]=it[Qt];else{var on=wt[Yt]=Qt!=null?(it[Qt].__brushOption=an,it[Qt]):T(jt,E(jt,an));R(jt,on)}}function Vt(Yt){it[Yt]!==lt&&jt.group.remove(it[Yt])}},unmount:function(){return this.enableBrush(!1),j(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},g.mixin(x,v);function I(Me,Ne){var it=Me._zr;Me._enableGlobalPan||b.take(it,o,Me._uid),N(it,Me._handlers),Me._brushType=Ne.brushType,Me._brushOption=g.merge(g.clone(f),Ne,!0)}function C(Me){var Ne=Me._zr;b.release(Ne,o,Me._uid),S(Ne,Me._handlers),Me._brushType=Me._brushOption=null}function N(Me,Ne){r(Ne,function(it,wt){Me.on(wt,it)})}function S(Me,Ne){r(Ne,function(it,wt){Me.off(wt,it)})}function E(Me,Ne){var it=rt[Ne.brushType].createCover(Me,Ne);return it.__brushOption=Ne,B(it,Ne),Me.group.add(it),it}function T(Me,Ne){var it=F(Ne);return it.endCreating&&(it.endCreating(Me,Ne),B(Ne,Ne.__brushOption)),Ne}function D(Me,Ne){var it=Ne.__brushOption;F(Ne).updateCoverShape(Me,Ne,it.range,it)}function B(Me,Ne){var it=Ne.z;it==null&&(it=l),Me.traverse(function(wt){wt.z=it,wt.z2=it})}function R(Me,Ne){F(Ne).updateCommon(Me,Ne),D(Me,Ne)}function F(Me){return rt[Me.__brushOption.brushType]}function M(Me,Ne,it){var wt=Me._panels;if(!wt)return!0;var jt,lt=Me._transform;return r(wt,function(Te){Te.isTargetByCursor(Ne,it,lt)&&(jt=Te)}),jt}function K(Me,Ne){var it=Me._panels;if(!it)return!0;var wt=Ne.__brushOption.panelId;return wt!=null?it[wt]:!0}function j(Me){var Ne=Me._covers,it=Ne.length;return r(Ne,function(wt){Me.group.remove(wt)},Me),Ne.length=0,!!it}function H(Me,Ne){var it=a(Me._covers,function(wt){var jt=wt.__brushOption,lt=g.clone(jt.range);return{brushType:jt.brushType,panelId:jt.panelId,range:lt}});Me.trigger("brush",it,{isEnd:!!Ne.isEnd,removeOnClick:!!Ne.removeOnClick})}function k(Me){var Ne=Me._track;if(!Ne.length)return!1;var it=Ne[Ne.length-1],wt=Ne[0],jt=it[0]-wt[0],lt=it[1]-wt[1],Te=n(jt*jt+lt*lt,.5);return Te>t}function P(Me){var Ne=Me.length-1;return Ne<0&&(Ne=0),[Me[0],Me[Ne]]}function z(Me,Ne,it,wt){var jt=new A.Group;return jt.add(new A.Rect({name:"main",style:J(it),silent:!0,draggable:!0,cursor:"move",drift:d(Me,Ne,jt,"nswe"),ondragend:d(H,Ne,{isEnd:!0})})),r(wt,function(lt){jt.add(new A.Rect({name:lt,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:d(Me,Ne,jt,lt),ondragend:d(H,Ne,{isEnd:!0})}))}),jt}function Y(Me,Ne,it,wt){var jt=wt.brushStyle.lineWidth||0,lt=i(jt,u),Te=it[0][0],mt=it[1][0],tn=Te-jt/2,Vt=mt-jt/2,Yt=it[0][1],Qt=it[1][1],an=Yt-lt+jt/2,on=Qt-lt+jt/2,vt=Yt-Te,de=Qt-mt,he=vt+jt,Pt=de+jt;G(Me,Ne,"main",Te,mt,vt,de),wt.transformable&&(G(Me,Ne,"w",tn,Vt,lt,Pt),G(Me,Ne,"e",an,Vt,lt,Pt),G(Me,Ne,"n",tn,Vt,he,lt),G(Me,Ne,"s",tn,on,he,lt),G(Me,Ne,"nw",tn,Vt,lt,lt),G(Me,Ne,"ne",an,Vt,lt,lt),G(Me,Ne,"sw",tn,on,lt,lt),G(Me,Ne,"se",an,on,lt,lt))}function _(Me,Ne){var it=Ne.__brushOption,wt=it.transformable,jt=Ne.childAt(0);jt.useStyle(J(it)),jt.attr({silent:!wt,cursor:wt?"move":"default"}),r(["w","e","n","s","se","sw","ne","nw"],function(lt){var Te=Ne.childOfName(lt),mt=re(Me,lt);Te&&Te.attr({silent:!wt,invisible:!wt,cursor:wt?h[mt]+"-resize":null})})}function G(Me,Ne,it,wt,jt,lt,Te){var mt=Ne.childOfName(it);mt&&mt.setShape(Ee(ce(Me,Ne,[[wt,jt],[wt+lt,jt+Te]])))}function J(Me){return g.defaults({strokeNoScale:!0},Me.brushStyle)}function ue(Me,Ne,it,wt){var jt=[s(Me,it),s(Ne,wt)],lt=[i(Me,it),i(Ne,wt)];return[[jt[0],lt[0]],[jt[1],lt[1]]]}function q(Me){return A.getTransform(Me.group)}function re(Me,Ne){if(Ne.length>1){Ne=Ne.split("");var it=[re(Me,Ne[0]),re(Me,Ne[1])];return(it[0]==="e"||it[0]==="w")&&it.reverse(),it.join("")}else{var wt={w:"left",e:"right",n:"top",s:"bottom"},jt={left:"w",right:"e",top:"n",bottom:"s"},it=A.transformDirection(wt[Ne],q(Me));return jt[it]}}function me(Me,Ne,it,wt,jt,lt,Te,mt){var tn=wt.__brushOption,Vt=Me(tn.range),Yt=ke(it,lt,Te);r(jt.split(""),function(Qt){var an=c[Qt];Vt[an[0]][an[1]]+=Yt[an[0]]}),tn.range=Ne(ue(Vt[0][0],Vt[1][0],Vt[0][1],Vt[1][1])),R(it,wt),H(it,{isEnd:!1})}function be(Me,Ne,it,wt,jt){var lt=Ne.__brushOption.range,Te=ke(Me,it,wt);r(lt,function(mt){mt[0]+=Te[0],mt[1]+=Te[1]}),R(Me,Ne),H(Me,{isEnd:!1})}function ke(Me,Ne,it){var wt=Me.group,jt=wt.transformCoordToLocal(Ne,it),lt=wt.transformCoordToLocal(0,0);return[jt[0]-lt[0],jt[1]-lt[1]]}function ce(Me,Ne,it){var wt=K(Me,Ne);return wt&&wt!==!0?wt.clipPath(it,Me._transform):g.clone(it)}function Ee(Me){var Ne=s(Me[0][0],Me[1][0]),it=s(Me[0][1],Me[1][1]),wt=i(Me[0][0],Me[1][0]),jt=i(Me[0][1],Me[1][1]);return{x:Ne,y:it,width:wt-Ne,height:jt-it}}function pe(Me,Ne,it){if(!Me._brushType||St(Me,Ne))return;var wt=Me._zr,jt=Me._covers,lt=M(Me,Ne,it);if(!Me._dragging)for(var Te=0;Te<jt.length;Te++){var mt=jt[Te].__brushOption;if(lt&&(lt===!0||mt.panelId===lt.panelId)&&rt[mt.brushType].contain(jt[Te],it[0],it[1]))return}lt&&wt.setCursorStyle("crosshair")}function Se(Me){var Ne=Me.event;Ne.preventDefault&&Ne.preventDefault()}function st(Me,Ne,it){return Me.childOfName("main").contain(Ne,it)}function qe(Me,Ne,it,wt){var jt=Me._creatingCover,lt=Me._creatingPanel,Te=Me._brushOption,mt;if(Me._track.push(it.slice()),k(Me)||jt){if(lt&&!jt){Te.brushMode==="single"&&j(Me);var tn=g.clone(Te);tn.brushType=tt(tn.brushType,lt),tn.panelId=lt===!0?null:lt.panelId,jt=Me._creatingCover=E(Me,tn),Me._covers.push(jt)}if(jt){var Vt=rt[tt(Me._brushType,lt)],Yt=jt.__brushOption;Yt.range=Vt.getCreatingRange(ce(Me,jt,Me._track)),wt&&(T(Me,jt),Vt.updateCommon(Me,jt)),D(Me,jt),mt={isEnd:wt}}}else wt&&Te.brushMode==="single"&&Te.removeOnClick&&(M(Me,Ne,it)&&j(Me)&&(mt={isEnd:wt,removeOnClick:!0}));return mt}function tt(Me,Ne){return Me==="auto"?Ne.defaultBrushType:Me}var Dt={mousedown:function(Me){if(this._dragging)ct(this,Me);else if(!Me.target||!Me.target.draggable){Se(Me);var Ne=this.group.transformCoordToLocal(Me.offsetX,Me.offsetY);this._creatingCover=null;var it=this._creatingPanel=M(this,Me,Ne);it&&(this._dragging=!0,this._track=[Ne.slice()])}},mousemove:function(Me){var Ne=Me.offsetX,it=Me.offsetY,wt=this.group.transformCoordToLocal(Ne,it);if(pe(this,Me,wt),this._dragging){Se(Me);var jt=qe(this,Me,wt,!1);jt&&H(this,jt)}},mouseup:function(Me){ct(this,Me)}};function ct(Me,Ne){if(Me._dragging){Se(Ne);var it=Ne.offsetX,wt=Ne.offsetY,jt=Me.group.transformCoordToLocal(it,wt),lt=qe(Me,Ne,jt,!0);Me._dragging=!1,Me._track=[],Me._creatingCover=null,lt&&H(Me,lt)}}function St(Me,Ne,it){var wt=Me._zr;return Ne<0||Ne>wt.getWidth()||it<0||it>wt.getHeight()}var rt={lineX:ht(0),lineY:ht(1),rect:{createCover:function(Me,Ne){return z(d(me,function(it){return it},function(it){return it}),Me,Ne,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(Me){var Ne=P(Me);return ue(Ne[1][0],Ne[1][1],Ne[0][0],Ne[0][1])},updateCoverShape:function(Me,Ne,it,wt){Y(Me,Ne,it,wt)},updateCommon:_,contain:st},polygon:{createCover:function(Me,Ne){var it=new A.Group;return it.add(new A.Polyline({name:"main",style:J(Ne),silent:!0})),it},getCreatingRange:function(Me){return Me},endCreating:function(Me,Ne){Ne.remove(Ne.childAt(0)),Ne.add(new A.Polygon({name:"main",draggable:!0,drift:d(be,Me,Ne),ondragend:d(H,Me,{isEnd:!0})}))},updateCoverShape:function(Me,Ne,it,wt){Ne.childAt(0).setShape({points:ce(Me,Ne,it)})},updateCommon:_,contain:st}};function ht(Me){return{createCover:function(Ne,it){return z(d(me,function(wt){var jt=[wt,[0,100]];return Me&&jt.reverse(),jt},function(wt){return wt[Me]}),Ne,it,[["w","e"],["n","s"]][Me])},getCreatingRange:function(Ne){var it=P(Ne),wt=s(it[0][Me],it[1][Me]),jt=i(it[0][Me],it[1][Me]);return[wt,jt]},updateCoverShape:function(Ne,it,wt,jt){var lt,Te=K(Ne,it);if(Te!==!0&&Te.getLinearBrushOtherExtent)lt=Te.getLinearBrushOtherExtent(Me,Ne._transform);else{var mt=Ne._zr;lt=[0,[mt.getWidth(),mt.getHeight()][1-Me]]}var tn=[wt,lt];Me&&tn.reverse(),Y(Ne,it,tn,jt)},updateCommon:_,contain:st}}var je=x;te.exports=je},"/MfK":function(te,U,e){"use strict";var y=e("VTBJ"),L=e("q1tI"),g={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"},v=g,A=e("6VBw"),b=function(r,a){return L.createElement(A.a,Object(y.a)(Object(y.a)({},r),{},{ref:a,icon:v}))};b.displayName="DeleteOutlined";var m=U.a=L.forwardRef(b)},"/SeX":function(te,U,e){var y=e("knOB"),L=e("qZFw"),g=function(A){this.name=A||"",this.cx=0,this.cy=0,this._radiusAxis=new y,this._angleAxis=new L,this._radiusAxis.polar=this._angleAxis.polar=this};g.prototype={type:"polar",axisPointerEnabled:!0,constructor:g,dimensions:["radius","angle"],model:null,containPoint:function(A){var b=this.pointToCoord(A);return this._radiusAxis.contain(b[0])&&this._angleAxis.contain(b[1])},containData:function(A){return this._radiusAxis.containData(A[0])&&this._angleAxis.containData(A[1])},getAxis:function(A){return this["_"+A+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(A){var b=[],m=this._angleAxis,d=this._radiusAxis;return m.scale.type===A&&b.push(m),d.scale.type===A&&b.push(d),b},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(A){var b=this._angleAxis;return A===b?this._radiusAxis:b},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(A){var b=A!=null&&A!=="auto"?this.getAxis(A):this.getBaseAxis();return{baseAxes:[b],otherAxes:[this.getOtherAxis(b)]}},dataToPoint:function(A,b){return this.coordToPoint([this._radiusAxis.dataToRadius(A[0],b),this._angleAxis.dataToAngle(A[1],b)])},pointToData:function(A,b){var m=this.pointToCoord(A);return[this._radiusAxis.radiusToData(m[0],b),this._angleAxis.angleToData(m[1],b)]},pointToCoord:function(A){var b=A[0]-this.cx,m=A[1]-this.cy,d=this.getAngleAxis(),r=d.getExtent(),a=Math.min(r[0],r[1]),s=Math.max(r[0],r[1]);d.inverse?a=s-360:s=a+360;var i=Math.sqrt(b*b+m*m);b/=i,m/=i;for(var n=Math.atan2(-m,b)/Math.PI*180,l=n<a?1:-1;n<a||n>s;)n+=l*360;return[i,n]},coordToPoint:function(A){var b=A[0],m=A[1]/180*Math.PI,d=Math.cos(m)*b+this.cx,r=-Math.sin(m)*b+this.cy;return[d,r]},getArea:function(){var A=this.getAngleAxis(),b=this.getRadiusAxis(),m=b.getExtent().slice();m[0]>m[1]&&m.reverse();var d=A.getExtent(),r=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:m[0],r:m[1],startAngle:-d[0]*r,endAngle:-d[1]*r,clockwise:A.inverse,contain:function(a,s){var i=a-this.cx,n=s-this.cy,l=i*i+n*n,t=this.r,u=this.r0;return l<=t*t&&l>=u*u}}}};var v=g;te.exports=v},"/WM3":function(te,U,e){var y=e("QuXc"),L=e("bYtY"),g=L.isFunction,v={createOnAllSeries:!0,performRawSeries:!0,reset:function(A,b){var m=A.getData(),d=(A.visualColorAccessPath||"itemStyle.color").split("."),r=A.get(d),a=g(r)&&!(r instanceof y)?r:null;(!r||a)&&(r=A.getColorFromPalette(A.name,null,b.getSeriesCount())),m.setVisual("color",r);var s=(A.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),i=A.get(s);if(m.setVisual("borderColor",i),!b.isSeriesFiltered(A)){a&&m.each(function(l){m.setItemVisual(l,"color",a(A.getDataParams(l)))});var n=function(l,t){var u=l.getItemModel(t),o=u.get(d,!0),c=u.get(s,!0);o!=null&&l.setItemVisual(t,"color",o),c!=null&&l.setItemVisual(t,"borderColor",c)};return{dataEach:m.hasItemOption?n:null}}}};te.exports=v},"/d5a":function(te,U){var e={average:function(g){for(var v=0,A=0,b=0;b<g.length;b++)isNaN(g[b])||(v+=g[b],A++);return A===0?NaN:v/A},sum:function(g){for(var v=0,A=0;A<g.length;A++)v+=g[A]||0;return v},max:function(g){for(var v=-Infinity,A=0;A<g.length;A++)g[A]>v&&(v=g[A]);return isFinite(v)?v:NaN},min:function(g){for(var v=Infinity,A=0;A<g.length;A++)g[A]<v&&(v=g[A]);return isFinite(v)?v:NaN},nearest:function(g){return g[0]}},y=function(g,v){return Math.round(g.length/2)};function L(g){return{seriesType:g,modifyOutputEnd:!0,reset:function(v,A,b){var m=v.getData(),d=v.get("sampling"),r=v.coordinateSystem;if(r.type==="cartesian2d"&&d){var a=r.getBaseAxis(),s=r.getOtherAxis(a),i=a.getExtent(),n=i[1]-i[0],l=Math.round(m.count()/n);if(l>1){var t;typeof d=="string"?t=e[d]:typeof d=="function"&&(t=d),t&&v.setData(m.downSample(m.mapDimension(s.dim),1/l,t,y))}}}}}te.exports=L},"/ezw":function(te,U,e){"use strict";var y=e("lSNA"),L=e.n(y),g=e("pVnL"),v=e.n(g),A=e("cDf5"),b=e.n(A),m=e("q1tI"),d=e("TSYQ"),r=e.n(d),a=function(k){var P=k.prefixCls,z=k.className,Y=k.width,_=k.style;return m.createElement("h3",{className:r()(P,z),style:v()({width:Y},_)})},s=a,i=e("RIqP"),n=e.n(i),l=function(k){var P=function(q){var re=k.width,me=k.rows,be=me===void 0?2:me;return Array.isArray(re)?re[q]:be-1===q?re:void 0},z=k.prefixCls,Y=k.className,_=k.style,G=k.rows,J=n()(Array(G)).map(function(ue,q){return m.createElement("li",{key:q,style:{width:P(q)}})});return m.createElement("ul",{className:r()(z,Y),style:_},J)},t=l,u=e("H84U"),o=function(k){var P,z,Y=k.prefixCls,_=k.className,G=k.style,J=k.size,ue=k.shape,q=r()((P={},L()(P,"".concat(Y,"-lg"),J==="large"),L()(P,"".concat(Y,"-sm"),J==="small"),P)),re=r()((z={},L()(z,"".concat(Y,"-circle"),ue==="circle"),L()(z,"".concat(Y,"-square"),ue==="square"),L()(z,"".concat(Y,"-round"),ue==="round"),z)),me=typeof J=="number"?{width:J,height:J,lineHeight:"".concat(J,"px")}:{};return m.createElement("span",{className:r()(Y,_,q,re),style:v()(v()({},me),G)})},c=o,h=e("BGR+"),f=function(k){var P=function(Y){var _=Y.getPrefixCls,G=k.prefixCls,J=k.className,ue=k.active,q=_("skeleton",G),re=Object(h.default)(k,["prefixCls"]),me=r()(q,J,"".concat(q,"-element"),L()({},"".concat(q,"-active"),ue));return m.createElement("div",{className:me},m.createElement(c,v()({prefixCls:"".concat(q,"-avatar")},re)))};return m.createElement(u.a,null,P)};f.defaultProps={size:"default",shape:"circle"};var w=f,x=function(k){var P=function(Y){var _=Y.getPrefixCls,G=k.prefixCls,J=k.className,ue=k.active,q=_("skeleton",G),re=Object(h.default)(k,["prefixCls"]),me=r()(q,J,"".concat(q,"-element"),L()({},"".concat(q,"-active"),ue));return m.createElement("div",{className:me},m.createElement(c,v()({prefixCls:"".concat(q,"-button")},re)))};return m.createElement(u.a,null,P)};x.defaultProps={size:"default"};var I=x,C=function(k){var P=function(Y){var _=Y.getPrefixCls,G=k.prefixCls,J=k.className,ue=k.active,q=_("skeleton",G),re=Object(h.default)(k,["prefixCls"]),me=r()(q,J,"".concat(q,"-element"),L()({},"".concat(q,"-active"),ue));return m.createElement("div",{className:me},m.createElement(c,v()({prefixCls:"".concat(q,"-input")},re)))};return m.createElement(u.a,null,P)};C.defaultProps={size:"default"};var N=C,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(k){var P=function(Y){var _=Y.getPrefixCls,G=k.prefixCls,J=k.className,ue=k.style,q=_("skeleton",G),re=r()(q,J,"".concat(q,"-element"));return m.createElement("div",{className:re},m.createElement("div",{className:r()("".concat(q,"-image"),J),style:ue},m.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(q,"-image-svg")},m.createElement("path",{d:S,className:"".concat(q,"-image-path")}))))};return m.createElement(u.a,null,P)},T=E;function D(H){return H&&b()(H)==="object"?H:{}}function B(H,k){return H&&!k?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function R(H,k){return!H&&k?{width:"38%"}:H&&k?{width:"50%"}:{}}function F(H,k){var P={};return(!H||!k)&&(P.width="61%"),!H&&k?P.rows=3:P.rows=2,P}var M=function(k){var P=function(Y){var _=Y.getPrefixCls,G=Y.direction,J=k.prefixCls,ue=k.loading,q=k.className,re=k.children,me=k.avatar,be=k.title,ke=k.paragraph,ce=k.active,Ee=k.round,pe=_("skeleton",J);if(ue||!("loading"in k)){var Se,st=!!me,qe=!!be,tt=!!ke,Dt;if(st){var ct=v()(v()({prefixCls:"".concat(pe,"-avatar")},B(qe,tt)),D(me));Dt=m.createElement("div",{className:"".concat(pe,"-header")},m.createElement(c,ct))}var St;if(qe||tt){var rt;if(qe){var ht=v()(v()({prefixCls:"".concat(pe,"-title")},R(st,tt)),D(be));rt=m.createElement(s,ht)}var je;if(tt){var Me=v()(v()({prefixCls:"".concat(pe,"-paragraph")},F(st,qe)),D(ke));je=m.createElement(t,Me)}St=m.createElement("div",{className:"".concat(pe,"-content")},rt,je)}var Ne=r()(pe,q,(Se={},L()(Se,"".concat(pe,"-with-avatar"),st),L()(Se,"".concat(pe,"-active"),ce),L()(Se,"".concat(pe,"-rtl"),G==="rtl"),L()(Se,"".concat(pe,"-round"),Ee),Se));return m.createElement("div",{className:Ne},Dt,St)}return re};return m.createElement(u.a,null,P)};M.defaultProps={avatar:!1,title:!0,paragraph:!0},M.Button=I,M.Avatar=w,M.Input=N,M.Image=T;var K=M,j=U.a=K},"/iHx":function(te,U,e){var y=e("6GrX"),L=e("IwbS"),g=["textStyle","color"],v={getTextColor:function(A){var b=this.ecModel;return this.getShallow("color")||(!A&&b?b.get(g):null)},getFont:function(){return L.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(A){return y.getBoundingRect(A,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};te.exports=v},"/kpp":function(te,U,e){"use strict";var y=e("lSNA"),L=e.n(y),g=e("pVnL"),v=e.n(g),A=e("cDf5"),b=e.n(A),m=e("q1tI"),d=e.n(m),r=e("TSYQ"),a=e.n(r),s=e("o/2+"),i=e("H84U"),n=function(u,o){var c={};for(var h in u)Object.prototype.hasOwnProperty.call(u,h)&&o.indexOf(h)<0&&(c[h]=u[h]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,h=Object.getOwnPropertySymbols(u);f<h.length;f++)o.indexOf(h[f])<0&&Object.prototype.propertyIsEnumerable.call(u,h[f])&&(c[h[f]]=u[h[f]]);return c};function l(u){return typeof u=="number"?"".concat(u," ").concat(u," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(u)?"0 0 ".concat(u):u}var t=m.forwardRef(function(u,o){var c=function(f){var w,x=f.getPrefixCls,I=f.direction,C=u.prefixCls,N=u.span,S=u.order,E=u.offset,T=u.push,D=u.pull,B=u.className,R=u.children,F=u.flex,M=u.style,K=n(u,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),j=x("col",C),H={};["xs","sm","md","lg","xl","xxl"].forEach(function(P){var z,Y={},_=u[P];typeof _=="number"?Y.span=_:b()(_)==="object"&&(Y=_||{}),delete K[P],H=v()(v()({},H),(z={},L()(z,"".concat(j,"-").concat(P,"-").concat(Y.span),Y.span!==void 0),L()(z,"".concat(j,"-").concat(P,"-order-").concat(Y.order),Y.order||Y.order===0),L()(z,"".concat(j,"-").concat(P,"-offset-").concat(Y.offset),Y.offset||Y.offset===0),L()(z,"".concat(j,"-").concat(P,"-push-").concat(Y.push),Y.push||Y.push===0),L()(z,"".concat(j,"-").concat(P,"-pull-").concat(Y.pull),Y.pull||Y.pull===0),L()(z,"".concat(j,"-rtl"),I==="rtl"),z))});var k=a()(j,(w={},L()(w,"".concat(j,"-").concat(N),N!==void 0),L()(w,"".concat(j,"-order-").concat(S),S),L()(w,"".concat(j,"-offset-").concat(E),E),L()(w,"".concat(j,"-push-").concat(T),T),L()(w,"".concat(j,"-pull-").concat(D),D),w),B,H);return m.createElement(s.a.Consumer,null,function(P){var z=P.gutter,Y=v()({},M);return z&&(Y=v()(v()(v()({},z[0]>0?{paddingLeft:z[0]/2,paddingRight:z[0]/2}:{}),z[1]>0?{paddingTop:z[1]/2,paddingBottom:z[1]/2}:{}),Y)),F&&(Y.flex=l(F)),m.createElement("div",v()({},K,{style:Y,className:k,ref:o}),R)})};return m.createElement(i.a,null,c)});t.displayName="Col",U.a=t},"/ry/":function(te,U,e){var y=e("bYtY"),L=e("T4UG"),g=e("5GhG"),v=g.seriesModelMixin,A=L.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(A,v,!0);var b=A;te.exports=b},"/stD":function(te,U,e){var y=e("bYtY"),L=e("IUWy"),g=e("Kagy"),v=g.toolbox.brush;function A(d,r,a){this.model=d,this.ecModel=r,this.api=a,this._brushType,this._brushMode}A.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:y.clone(v.title)};var b=A.prototype;b.render=b.updateView=function(d,r,a){var s,i,n;r.eachComponent({mainType:"brush"},function(l){s=l.brushType,i=l.brushOption.brushMode||"single",n|=l.areas.length}),this._brushType=s,this._brushMode=i,y.each(d.get("type",!0),function(l){d.setIconStatus(l,(l==="keep"?i==="multiple":l==="clear"?n:l===s)?"emphasis":"normal")})},b.getIcons=function(){var d=this.model,r=d.get("icon",!0),a={};return y.each(d.get("type",!0),function(s){r[s]&&(a[s]=r[s])}),a},b.onclick=function(d,r,a){var s=this._brushType,i=this._brushMode;a==="clear"?(r.dispatchAction({type:"axisAreaSelect",intervals:[]}),r.dispatchAction({type:"brush",command:"clear",areas:[]})):r.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:a==="keep"?s:s===a?!1:a,brushMode:a==="keep"?i==="multiple"?"single":"multiple":i}})},L.register("brush",A);var m=A;te.exports=m},"/wGt":function(te,U,e){"use strict";var y=e("lSNA"),L=e.n(y),g=e("pVnL"),v=e.n(g),A=e("lwsE"),b=e.n(A),m=e("W8MJ"),d=e.n(m),r=e("PJYZ"),a=e.n(r),s=e("7W2i"),i=e.n(s),n=e("LQ03"),l=e.n(n),t=e("q1tI"),u=e("Ff2n"),o=e("1OyB"),c=e("vuIU"),h=e("Ji7U"),f=e("md7G"),w=e("foSv"),x=e("1W/9"),I=e("rePB"),C=e("JX7q"),N=e("TSYQ"),S=e.n(N),E=e("qx4F"),T=e("4IlW");function D(rt){return Array.isArray(rt)?rt:[rt]}var B={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},R=Object.keys(B).filter(function(rt){if(typeof document=="undefined")return!1;var ht=document.getElementsByTagName("html")[0];return rt in(ht?ht.style:{})})[0],F=B[R];function M(rt,ht,je,Me){rt.addEventListener?rt.addEventListener(ht,je,Me):rt.attachEvent&&rt.attachEvent("on".concat(ht),je)}function K(rt,ht,je,Me){rt.removeEventListener?rt.removeEventListener(ht,je,Me):rt.attachEvent&&rt.detachEvent("on".concat(ht),je)}function j(rt,ht){var je=typeof rt=="function"?rt(ht):rt;return Array.isArray(je)?je.length===2?je:[je[0],je[1]]:[je]}var H=function(ht){return!isNaN(parseFloat(ht))&&isFinite(ht)},k=!(typeof window!="undefined"&&window.document&&window.document.createElement),P=function rt(ht,je,Me,Ne){if(!je||je===document||je instanceof Document)return!1;if(je===ht.parentNode)return!0;var it=Math.max(Math.abs(Me),Math.abs(Ne))===Math.abs(Ne),wt=Math.max(Math.abs(Me),Math.abs(Ne))===Math.abs(Me),jt=je.scrollHeight-je.clientHeight,lt=je.scrollWidth-je.clientWidth,Te=document.defaultView.getComputedStyle(je),mt=Te.overflowY==="auto"||Te.overflowY==="scroll",tn=Te.overflowX==="auto"||Te.overflowX==="scroll",Vt=jt&&mt,Yt=lt&&tn;return it&&(!Vt||Vt&&(je.scrollTop>=jt&&Ne<0||je.scrollTop<=0&&Ne>0))||wt&&(!Yt||Yt&&(je.scrollLeft>=lt&&Me<0||je.scrollLeft<=0&&Me>0))?rt(ht,je.parentNode,Me,Ne):!1};function z(rt){var ht=Y();return function(){var Me=Object(w.a)(rt),Ne;if(ht){var it=Object(w.a)(this).constructor;Ne=Reflect.construct(Me,arguments,it)}else Ne=Me.apply(this,arguments);return Object(f.a)(this,Ne)}}function Y(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(rt){return!1}}var _={},G=function(rt){Object(h.a)(je,rt);var ht=z(je);function je(Me){var Ne;return Object(o.a)(this,je),Ne=ht.call(this,Me),Ne.domFocus=function(){Ne.dom&&Ne.dom.focus()},Ne.removeStartHandler=function(it){if(it.touches.length>1)return;Ne.startPos={x:it.touches[0].clientX,y:it.touches[0].clientY}},Ne.removeMoveHandler=function(it){if(it.changedTouches.length>1)return;var wt=it.currentTarget,jt=it.changedTouches[0].clientX-Ne.startPos.x,lt=it.changedTouches[0].clientY-Ne.startPos.y;(wt===Ne.maskDom||wt===Ne.handlerDom||wt===Ne.contentDom&&P(wt,it.target,jt,lt))&&it.cancelable&&it.preventDefault()},Ne.transitionEnd=function(it){var wt=it.target;K(wt,F,Ne.transitionEnd),wt.style.transition=""},Ne.onKeyDown=function(it){if(it.keyCode===T.a.ESC){var wt=Ne.props.onClose;it.stopPropagation(),wt&&wt(it)}},Ne.onWrapperTransitionEnd=function(it){var wt=Ne.props,jt=wt.open,lt=wt.afterVisibleChange;it.target===Ne.contentWrapper&&it.propertyName.match(/transform$/)&&(Ne.dom.style.transition="",!jt&&Ne.getCurrentDrawerSome()&&(document.body.style.overflowX="",Ne.maskDom&&(Ne.maskDom.style.left="",Ne.maskDom.style.width="")),lt&<(!!jt))},Ne.openLevelTransition=function(){var it=Ne.props,wt=it.open,jt=it.width,lt=it.height,Te=Ne.getHorizontalBoolAndPlacementName(),mt=Te.isHorizontal,tn=Te.placementName,Vt=Ne.contentDom?Ne.contentDom.getBoundingClientRect()[mt?"width":"height"]:0,Yt=(mt?jt:lt)||Vt;Ne.setLevelAndScrolling(wt,tn,Yt)},Ne.setLevelTransform=function(it,wt,jt,lt){var Te=Ne.props,mt=Te.placement,tn=Te.levelMove,Vt=Te.duration,Yt=Te.ease,Qt=Te.showMask;Ne.levelDom.forEach(function(an){an.style.transition="transform ".concat(Vt," ").concat(Yt),M(an,F,Ne.transitionEnd);var on=it?jt:0;if(tn){var vt=j(tn,{target:an,open:it});on=it?vt[0]:vt[1]||0}var de=typeof on=="number"?"".concat(on,"px"):on,he=mt==="left"||mt==="top"?de:"-".concat(de);he=Qt&&mt==="right"&<?"calc(".concat(he," + ").concat(lt,"px)"):he,an.style.transform=on?"".concat(wt,"(").concat(he,")"):""})},Ne.setLevelAndScrolling=function(it,wt,jt){var lt=Ne.props.onChange;if(!k){var Te=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?Object(E.a)(!0):0;Ne.setLevelTransform(it,wt,jt,Te),Ne.toggleScrollingToDrawerAndBody(Te)}lt&<(it)},Ne.toggleScrollingToDrawerAndBody=function(it){var wt=Ne.props,jt=wt.getOpenCount,lt=wt.getContainer,Te=wt.showMask,mt=wt.open,tn=lt&<(),Vt=jt&&jt();if(tn&&tn.parentNode===document.body&&Te){var Yt=["touchstart"],Qt=[document.body,Ne.maskDom,Ne.handlerDom,Ne.contentDom];mt&&document.body.style.overflow!=="hidden"?(it&&Ne.addScrollingEffect(it),Vt===1&&(document.body.style.overflow="hidden"),document.body.style.touchAction="none",Qt.forEach(function(an,on){if(!an)return;M(an,Yt[on]||"touchmove",on?Ne.removeMoveHandler:Ne.removeStartHandler,Ne.passive)})):Ne.getCurrentDrawerSome()&&(Vt||(document.body.style.overflow=""),document.body.style.touchAction="",it&&Ne.remScrollingEffect(it),Qt.forEach(function(an,on){if(!an)return;K(an,Yt[on]||"touchmove",on?Ne.removeMoveHandler:Ne.removeStartHandler,Ne.passive)}))}},Ne.addScrollingEffect=function(it){var wt=Ne.props,jt=wt.placement,lt=wt.duration,Te=wt.ease,mt=wt.getOpenCount,tn=wt.switchScrollingEffect,Vt=mt&&mt();Vt===1&&tn();var Yt="width ".concat(lt," ").concat(Te),Qt="transform ".concat(lt," ").concat(Te);Ne.dom.style.transition="none";switch(jt){case"right":Ne.dom.style.transform="translateX(-".concat(it,"px)");break;case"top":case"bottom":Ne.dom.style.width="calc(100% - ".concat(it,"px)"),Ne.dom.style.transform="translateZ(0)";break;default:break}clearTimeout(Ne.timeout),Ne.timeout=setTimeout(function(){Ne.dom&&(Ne.dom.style.transition="".concat(Qt,",").concat(Yt),Ne.dom.style.width="",Ne.dom.style.transform="")})},Ne.remScrollingEffect=function(it){var wt=Ne.props,jt=wt.placement,lt=wt.duration,Te=wt.ease,mt=wt.getOpenCount,tn=wt.switchScrollingEffect,Vt=mt&&mt();Vt||tn(!0),R&&(document.body.style.overflowX="hidden"),Ne.dom.style.transition="none";var Yt,Qt="width ".concat(lt," ").concat(Te),an="transform ".concat(lt," ").concat(Te);switch(jt){case"left":{Ne.dom.style.width="100%",Qt="width 0s ".concat(Te," ").concat(lt);break}case"right":{Ne.dom.style.transform="translateX(".concat(it,"px)"),Ne.dom.style.width="100%",Qt="width 0s ".concat(Te," ").concat(lt),Ne.maskDom&&(Ne.maskDom.style.left="-".concat(it,"px"),Ne.maskDom.style.width="calc(100% + ".concat(it,"px)"));break}case"top":case"bottom":{Ne.dom.style.width="calc(100% + ".concat(it,"px)"),Ne.dom.style.height="100%",Ne.dom.style.transform="translateZ(0)",Yt="height 0s ".concat(Te," ").concat(lt);break}default:break}clearTimeout(Ne.timeout),Ne.timeout=setTimeout(function(){Ne.dom&&(Ne.dom.style.transition="".concat(an,",").concat(Yt?"".concat(Yt,","):"").concat(Qt),Ne.dom.style.transform="",Ne.dom.style.width="",Ne.dom.style.height="")})},Ne.getCurrentDrawerSome=function(){return!Object.keys(_).some(function(it){return _[it]})},Ne.getLevelDom=function(it){var wt=it.level,jt=it.getContainer;if(k)return;var lt=jt&&jt(),Te=lt?lt.parentNode:null;if(Ne.levelDom=[],wt==="all"){var mt=Te?Array.prototype.slice.call(Te.children):[];mt.forEach(function(tn){tn.nodeName!=="SCRIPT"&&tn.nodeName!=="STYLE"&&tn.nodeName!=="LINK"&&tn!==lt&&Ne.levelDom.push(tn)})}else wt&&D(wt).forEach(function(tn){document.querySelectorAll(tn).forEach(function(Vt){Ne.levelDom.push(Vt)})})},Ne.getHorizontalBoolAndPlacementName=function(){var it=Ne.props.placement,wt=it==="left"||it==="right",jt="translate".concat(wt?"X":"Y");return{isHorizontal:wt,placementName:jt}},Ne.state={_self:Object(C.a)(Ne)},Ne}return Object(c.a)(je,[{key:"componentDidMount",value:function(){var Ne=this;if(!k){var it=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return it=!0,null}}))}catch(mt){}this.passive=it?{passive:!1}:!1}var wt=this.props,jt=wt.open,lt=wt.getContainer,Te=lt&<();this.drawerId="drawer_id_".concat(Number((Date.now()+Math.random()).toString().replace(".",Math.round(Math.random()*9).toString())).toString(16)),this.getLevelDom(this.props),jt&&(Te&&Te.parentNode===document.body&&(_[this.drawerId]=jt),this.openLevelTransition(),this.forceUpdate(function(){Ne.domFocus()}))}},{key:"componentDidUpdate",value:function(Ne){var it=this.props,wt=it.open,jt=it.getContainer,lt=jt&&jt();wt!==Ne.open&&(wt&&this.domFocus(),lt&<.parentNode===document.body&&(_[this.drawerId]=!!wt),this.openLevelTransition())}},{key:"componentWillUnmount",value:function(){var Ne=this.props,it=Ne.getOpenCount,wt=Ne.open,jt=Ne.switchScrollingEffect,lt=typeof it=="function"&&it();delete _[this.drawerId],wt&&(this.setLevelTransform(!1),document.body.style.touchAction=""),lt||(document.body.style.overflow="",jt(!0))}},{key:"render",value:function(){var Ne,it=this,wt=this.props,jt=wt.className,lt=wt.children,Te=wt.style,mt=wt.width,tn=wt.height,Vt=wt.defaultOpen,Yt=wt.open,Qt=wt.prefixCls,an=wt.placement,on=wt.level,vt=wt.levelMove,de=wt.ease,he=wt.duration,Pt=wt.getContainer,We=wt.handler,Je=wt.onChange,Ln=wt.afterVisibleChange,jn=wt.showMask,Sn=wt.maskClosable,Xn=wt.maskStyle,rr=wt.onClose,hr=wt.onHandleClick,gn=wt.keyboard,vn=wt.getOpenCount,Ft=wt.switchScrollingEffect,Ye=Object(u.a)(wt,["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"]),Pe=this.dom?Yt:!1,Jt=S()(Qt,(Ne={},Object(I.a)(Ne,"".concat(Qt,"-").concat(an),!0),Object(I.a)(Ne,"".concat(Qt,"-open"),Pe),Object(I.a)(Ne,jt||"",!!jt),Object(I.a)(Ne,"no-mask",!jn),Ne)),bn=this.getHorizontalBoolAndPlacementName(),An=bn.placementName,dn=an==="left"||an==="top"?"-100%":"100%",vr=Pe?"":"".concat(An,"(").concat(dn,")"),qn=We&&t.cloneElement(We,{onClick:function(Ue){We.props.onClick&&We.props.onClick(),hr&&hr(Ue)},ref:function(Ue){it.handlerDom=Ue}});return t.createElement("div",Object.assign({},Ye,{tabIndex:-1,className:Jt,style:Te,ref:function(Ue){it.dom=Ue},onKeyDown:Pe&&gn?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),jn&&t.createElement("div",{className:"".concat(Qt,"-mask"),onClick:Sn?rr:void 0,style:Xn,ref:function(Ue){it.maskDom=Ue}}),t.createElement("div",{className:"".concat(Qt,"-content-wrapper"),style:{transform:vr,msTransform:vr,width:H(mt)?"".concat(mt,"px"):mt,height:H(tn)?"".concat(tn,"px"):tn},ref:function(Ue){it.contentWrapper=Ue}},t.createElement("div",{className:"".concat(Qt,"-content"),ref:function(Ue){it.contentDom=Ue},onTouchStart:Pe&&jn?this.removeStartHandler:void 0,onTouchMove:Pe&&jn?this.removeMoveHandler:void 0},lt),qn))}}],[{key:"getDerivedStateFromProps",value:function(Ne,it){var wt=it.prevProps,jt=it._self,lt={prevProps:Ne};if(wt!==void 0){var Te=Ne.placement,mt=Ne.level;Te!==wt.placement&&(jt.contentDom=null),mt!==wt.level&&jt.getLevelDom(Ne)}return lt}}]),je}(t.Component);G.defaultProps={switchScrollingEffect:function(){}};var J=G;function ue(rt){var ht=q();return function(){var Me=Object(w.a)(rt),Ne;if(ht){var it=Object(w.a)(this).constructor;Ne=Reflect.construct(Me,arguments,it)}else Ne=Me.apply(this,arguments);return Object(f.a)(this,Ne)}}function q(){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(rt){return!1}}var re=function(rt){Object(h.a)(je,rt);var ht=ue(je);function je(Me){var Ne;Object(o.a)(this,je),Ne=ht.call(this,Me),Ne.onHandleClick=function(wt){var jt=Ne.props,lt=jt.onHandleClick,Te=jt.open;if(lt&<(wt),typeof Te=="undefined"){var mt=Ne.state.open;Ne.setState({open:!mt})}},Ne.onClose=function(wt){var jt=Ne.props,lt=jt.onClose,Te=jt.open;lt&<(wt),typeof Te=="undefined"&&Ne.setState({open:!1})};var it=typeof Me.open!="undefined"?Me.open:!!Me.defaultOpen;return Ne.state={open:it},"onMaskClick"in Me&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),Ne}return Object(c.a)(je,[{key:"render",value:function(){var Ne=this,it=this.props,wt=it.defaultOpen,jt=it.getContainer,lt=it.wrapperClassName,Te=it.forceRender,mt=it.handler,tn=Object(u.a)(it,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),Vt=this.state.open;if(!jt)return t.createElement("div",{className:lt,ref:function(an){Ne.dom=an}},t.createElement(J,Object.assign({},tn,{open:Vt,handler:mt,getContainer:function(){return Ne.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var Yt=!!mt||Te;return t.createElement(x.a,{visible:Vt,forceRender:Yt,getContainer:jt,wrapperClassName:lt},function(Qt){var an=Qt.visible,on=Qt.afterClose,vt=Object(u.a)(Qt,["visible","afterClose"]);return t.createElement(J,Object.assign({},tn,vt,{open:an!==void 0?an:Vt,afterVisibleChange:on!==void 0?on:tn.afterVisibleChange,handler:mt,onClose:Ne.onClose,onHandleClick:Ne.onHandleClick}))})}}],[{key:"getDerivedStateFromProps",value:function(Ne,it){var wt=it.prevProps,jt={prevProps:Ne};return typeof wt!="undefined"&&Ne.open!==wt.open&&(jt.open=Ne.open),jt}}]),je}(t.Component);re.defaultProps={prefixCls:"drawer",placement:"left",getContainer:"body",defaultOpen:!1,level:"all",duration:".3s",ease:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",onChange:function(){},afterVisibleChange:function(){},handler:t.createElement("div",{className:"drawer-handle"},t.createElement("i",{className:"drawer-handle-icon"})),showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",className:"",keyboard:!0,forceRender:!1};var me=re,be=me,ke=e("V/uB"),ce=e.n(ke),Ee=e("BGR+"),pe=e("H84U"),Se=e("CWQg"),st=function(rt,ht){var je={};for(var Me in rt)Object.prototype.hasOwnProperty.call(rt,Me)&&ht.indexOf(Me)<0&&(je[Me]=rt[Me]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Me=Object.getOwnPropertySymbols(rt);Ne<Me.length;Ne++)ht.indexOf(Me[Ne])<0&&Object.prototype.propertyIsEnumerable.call(rt,Me[Ne])&&(je[Me[Ne]]=rt[Me[Ne]]);return je},qe=t.createContext(null),tt=Object(Se.a)("top","right","bottom","left"),Dt={distance:180},ct=function(rt){i()(je,rt);var ht=l()(je);function je(){var Me;return b()(this,je),Me=ht.apply(this,arguments),Me.state={push:!1},Me.push=function(){Me.props.push&&Me.setState({push:!0})},Me.pull=function(){Me.props.push&&Me.setState({push:!1})},Me.onDestroyTransitionEnd=function(){var Ne=Me.getDestroyOnClose();if(!Ne)return;Me.props.visible||(Me.destroyClose=!0,Me.forceUpdate())},Me.getDestroyOnClose=function(){return Me.props.destroyOnClose&&!Me.props.visible},Me.getPushDistance=function(){var Ne=Me.props.push,it;return typeof Ne=="boolean"?it=Ne?Dt.distance:0:it=Ne.distance,parseFloat(String(it||0))},Me.getPushTransform=function(Ne){var it=Me.getPushDistance();if(Ne==="left"||Ne==="right")return"translateX(".concat(Ne==="left"?it:-it,"px)");if(Ne==="top"||Ne==="bottom")return"translateY(".concat(Ne==="top"?it:-it,"px)")},Me.getRcDrawerStyle=function(){var Ne=Me.props,it=Ne.zIndex,wt=Ne.placement,jt=Ne.mask,lt=Ne.style,Te=Me.state.push,mt=jt?{}:Me.getOffsetStyle();return v()(v()({zIndex:it,transform:Te?Me.getPushTransform(wt):void 0},mt),lt)},Me.renderBody=function(){var Ne=Me.props,it=Ne.bodyStyle,wt=Ne.drawerStyle,jt=Ne.prefixCls,lt=Ne.visible;if(Me.destroyClose&&!lt)return null;Me.destroyClose=!1;var Te={},mt=Me.getDestroyOnClose();return mt&&(Te.opacity=0,Te.transition="opacity .3s"),t.createElement("div",{className:"".concat(jt,"-wrapper-body"),style:v()(v()({},Te),wt),onTransitionEnd:Me.onDestroyTransitionEnd},Me.renderHeader(),t.createElement("div",{className:"".concat(jt,"-body"),style:it},Me.props.children),Me.renderFooter())},Me.renderProvider=function(Ne){return Me.parentDrawer=Ne,t.createElement(pe.a,null,function(it){var wt=it.getPopupContainer,jt=it.getPrefixCls,lt=Me.props,Te=lt.prefixCls,mt=lt.placement,tn=lt.className,Vt=lt.mask,Yt=lt.direction,Qt=lt.visible,an=st(lt,["prefixCls","placement","className","mask","direction","visible"]),on=jt("select",Te),vt=S()(tn,L()({"no-mask":!Vt},"".concat(on,"-rtl"),Yt==="rtl")),de=Vt?Me.getOffsetStyle():{};return t.createElement(qe.Provider,{value:a()(Me)},t.createElement(be,v()({handler:!1},Object(Ee.default)(an,["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:an.getContainer===void 0&&wt?function(){return wt(document.body)}:an.getContainer},de,{prefixCls:on,open:Qt,showMask:Vt,placement:mt,style:Me.getRcDrawerStyle(),className:vt}),Me.renderBody()))})},Me}return d()(je,[{key:"componentDidMount",value:function(){var Ne=this.props.visible;Ne&&this.parentDrawer&&this.parentDrawer.push()}},{key:"componentDidUpdate",value:function(Ne){var it=this.props.visible;Ne.visible!==it&&this.parentDrawer&&(it?this.parentDrawer.push():this.parentDrawer.pull())}},{key:"componentWillUnmount",value:function(){this.parentDrawer&&(this.parentDrawer.pull(),this.parentDrawer=null)}},{key:"getOffsetStyle",value:function(){var Ne=this.props,it=Ne.placement,wt=Ne.width,jt=Ne.height,lt=Ne.visible,Te=Ne.mask;if(!lt&&!Te)return{};var mt={};return it==="left"||it==="right"?mt.width=wt:mt.height=jt,mt}},{key:"renderHeader",value:function(){var Ne=this.props,it=Ne.title,wt=Ne.prefixCls,jt=Ne.closable,lt=Ne.headerStyle;if(!it&&!jt)return null;var Te=it?"".concat(wt,"-header"):"".concat(wt,"-header-no-title");return t.createElement("div",{className:Te,style:lt},it&&t.createElement("div",{className:"".concat(wt,"-title")},it),jt&&this.renderCloseIcon())}},{key:"renderFooter",value:function(){var Ne=this.props,it=Ne.footer,wt=Ne.footerStyle,jt=Ne.prefixCls;if(!it)return null;var lt="".concat(jt,"-footer");return t.createElement("div",{className:lt,style:wt},it)}},{key:"renderCloseIcon",value:function(){var Ne=this.props,it=Ne.closable,wt=Ne.closeIcon,jt=wt===void 0?t.createElement(ce.a,null):wt,lt=Ne.prefixCls,Te=Ne.onClose;return it&&t.createElement("button",{onClick:Te,"aria-label":"Close",className:"".concat(lt,"-close"),style:{"--scroll-bar":"".concat(Object(E.a)(),"px")}},jt)}},{key:"render",value:function(){return t.createElement(qe.Consumer,null,this.renderProvider)}}]),je}(t.Component);ct.defaultProps={width:256,height:256,closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0,push:Dt};var St=U.a=Object(pe.c)({prefixCls:"drawer"})(ct)},"/y7N":function(te,U,e){var y=e("bYtY"),L=e("IwbS"),g=e("6GrX"),v=e("7aKB"),A=e("Fofx"),b=e("aX7z"),m=e("+rIm");function d(o){var c=o.get("type"),h=o.getModel(c+"Style"),f;return c==="line"?(f=h.getLineStyle(),f.fill=null):c==="shadow"&&(f=h.getAreaStyle(),f.stroke=null),f}function r(o,c,h,f,w){var x=h.get("value"),I=s(x,c.axis,c.ecModel,h.get("seriesDataIndices"),{precision:h.get("label.precision"),formatter:h.get("label.formatter")}),C=h.getModel("label"),N=v.normalizeCssArray(C.get("padding")||0),S=C.getFont(),E=g.getBoundingRect(I,S),T=w.position,D=E.width+N[1]+N[3],B=E.height+N[0]+N[2],R=w.align;R==="right"&&(T[0]-=D),R==="center"&&(T[0]-=D/2);var F=w.verticalAlign;F==="bottom"&&(T[1]-=B),F==="middle"&&(T[1]-=B/2),a(T,D,B,f);var M=C.get("backgroundColor");(!M||M==="auto")&&(M=c.get("axisLine.lineStyle.color")),o.label={shape:{x:0,y:0,width:D,height:B,r:C.get("borderRadius")},position:T.slice(),style:{text:I,textFont:S,textFill:C.getTextColor(),textPosition:"inside",textPadding:N,fill:M,stroke:C.get("borderColor")||"transparent",lineWidth:C.get("borderWidth")||0,shadowBlur:C.get("shadowBlur"),shadowColor:C.get("shadowColor"),shadowOffsetX:C.get("shadowOffsetX"),shadowOffsetY:C.get("shadowOffsetY")},z2:10}}function a(o,c,h,f){var w=f.getWidth(),x=f.getHeight();o[0]=Math.min(o[0]+c,w)-c,o[1]=Math.min(o[1]+h,x)-h,o[0]=Math.max(o[0],0),o[1]=Math.max(o[1],0)}function s(o,c,h,f,w){o=c.scale.parse(o);var x=c.scale.getLabel(o,{precision:w.precision}),I=w.formatter;if(I){var C={value:b.getAxisRawValue(c,o),axisDimension:c.dim,axisIndex:c.index,seriesData:[]};y.each(f,function(N){var S=h.getSeriesByIndex(N.seriesIndex),E=N.dataIndexInside,T=S&&S.getDataParams(E);T&&C.seriesData.push(T)}),y.isString(I)?x=I.replace("{value}",x):y.isFunction(I)&&(x=I(C))}return x}function i(o,c,h){var f=A.create();return A.rotate(f,f,h.rotation),A.translate(f,f,h.position),L.applyTransform([o.dataToCoord(c),(h.labelOffset||0)+(h.labelDirection||1)*(h.labelMargin||0)],f)}function n(o,c,h,f,w,x){var I=m.innerTextLayout(h.rotation,0,h.labelDirection);h.labelMargin=w.get("label.margin"),r(c,f,w,x,{position:i(f.axis,o,h),align:I.textAlign,verticalAlign:I.textVerticalAlign})}function l(o,c,h){return h=h||0,{x1:o[h],y1:o[1-h],x2:c[h],y2:c[1-h]}}function t(o,c,h){return h=h||0,{x:o[h],y:o[1-h],width:c[h],height:c[1-h]}}function u(o,c,h,f,w,x){return{cx:o,cy:c,r0:h,r:f,startAngle:w,endAngle:x,clockwise:!0}}U.buildElStyle=d,U.buildLabelElOption=r,U.getValueLabel=s,U.getTransformedPosition=i,U.buildCartesianSingleLabelElOption=n,U.makeLineShape=l,U.makeRectShape=t,U.makeSectorShape=u},"/zsF":function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("bE4E"),v=e.n(g)},"0/Rx":function(te,U){function e(y){return{seriesType:y,reset:function(L,g){var v=g.findComponents({mainType:"legend"});if(!v||!v.length)return;var A=L.getData();A.filterSelf(function(b){for(var m=A.getName(b),d=0;d<v.length;d++)if(!v[d].isSelected(m))return!1;return!0})}}}te.exports=e},"01d+":function(te,U,e){var y=e("bYtY"),L=y.each,g=e("HF/U"),v=g.simpleLayout,A=g.simpleLayoutEdge;function b(m,d){m.eachSeriesByType("graph",function(r){var a=r.get("layout"),s=r.coordinateSystem;if(s&&s.type!=="view"){var i=r.getData(),n=[];L(s.dimensions,function(h){n=n.concat(i.mapDimension(h,!0))});for(var l=0;l<i.count();l++){for(var t=[],u=!1,o=0;o<n.length;o++){var c=i.get(n[o],l);isNaN(c)||(u=!0),t.push(c)}u?i.setItemLayout(l,s.dataToPoint(t)):i.setItemLayout(l,[NaN,NaN])}A(i.graph)}else(!a||a==="none")&&v(r)})}te.exports=b},"06DH":function(te,U,e){var y=e("ProS"),L=e("bYtY"),g=e("Kagy"),v=e("IUWy"),A=g.toolbox.magicType,b="__ec_magicType_stack__";function m(i){this.model=i}m.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:L.clone(A.title),option:{},seriesIndex:{}};var d=m.prototype;d.getIcons=function(){var i=this.model,n=i.get("icon"),l={};return L.each(i.get("type"),function(t){n[t]&&(l[t]=n[t])}),l};var r={line:function(i,n,l,t){if(i==="bar")return L.merge({id:n,type:"line",data:l.get("data"),stack:l.get("stack"),markPoint:l.get("markPoint"),markLine:l.get("markLine")},t.get("option.line")||{},!0)},bar:function(i,n,l,t){if(i==="line")return L.merge({id:n,type:"bar",data:l.get("data"),stack:l.get("stack"),markPoint:l.get("markPoint"),markLine:l.get("markLine")},t.get("option.bar")||{},!0)},stack:function(i,n,l,t){var u=l.get("stack")===b;if(i==="line"||i==="bar")return t.setIconStatus("stack",u?"normal":"emphasis"),L.merge({id:n,stack:u?"":b},t.get("option.stack")||{},!0)}},a=[["line","bar"],["stack"]];d.onclick=function(i,n,l){var t=this.model,u=t.get("seriesIndex."+l);if(!r[l])return;var o={series:[]},c=function(w){var x=w.subType,I=w.id,C=r[l](x,I,w,t);C&&(L.defaults(C,w.option),o.series.push(C));var N=w.coordinateSystem;if(N&&N.type==="cartesian2d"&&(l==="line"||l==="bar")){var S=N.getAxesByScale("ordinal")[0];if(S){var E=S.dim,T=E+"Axis",D=i.queryComponents({mainType:T,index:w.get(name+"Index"),id:w.get(name+"Id")})[0],B=D.componentIndex;o[T]=o[T]||[];for(var R=0;R<=B;R++)o[T][B]=o[T][B]||{};o[T][B].boundaryGap=l==="bar"}}};L.each(a,function(w){L.indexOf(w,l)>=0&&L.each(w,function(x){t.setIconStatus(x,"normal")})}),t.setIconStatus(l,"emphasis"),i.eachComponent({mainType:"series",query:u==null?null:{seriesIndex:u}},c);var h;if(l==="stack"){var f=o.series&&o.series[0]&&o.series[0].stack===b;h=f?L.merge({stack:A.title.tiled},A.title):L.clone(A.title)}n.dispatchAction({type:"changeMagicType",currentType:l,newOption:o,newTitle:h,featureName:"magicType"})},y.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(i,n){n.mergeOption(i.newOption)}),v.register("magicType",m);var s=m;te.exports=s},"06Qe":function(te,U,e){var y=e("ItGF"),L="urn:schemas-microsoft-com:vml",g=typeof window=="undefined"?null:window,v=!1,A=g&&g.document;function b(r){return m(r)}var m;if(A&&!y.canvasSupported)try{!A.namespaces.zrvml&&A.namespaces.add("zrvml",L),m=function(a){return A.createElement("<zrvml:"+a+' class="zrvml">')}}catch(r){m=function(s){return A.createElement("<"+s+' xmlns="'+L+'" class="zrvml">')}}function d(){if(v||!A)return;v=!0;var r=A.styleSheets;r.length<31?A.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):r[0].addRule(".zrvml","behavior:url(#default#VML)")}U.doc=A,U.createNode=b,U.initVML=d},"09Wf":function(te,U,e){"use strict";e.d(U,"b",function(){return L}),e.d(U,"a",function(){return g});var y=e("CWQg"),L=Object(y.a)("success","processing","error","default","warning"),g=Object(y.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"0Bwj":function(te,U,e){var y=e("T4UG"),L=e("I3/A"),g=e("7aKB"),v=g.encodeHTML,A=e("Qxkt"),b=e("Tghj"),m=b.__DEV__,d=y.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(a,s){for(var i=a.edges||a.links,n=a.data||a.nodes,l=a.levels,t=this.levelModels={},u=0;u<l.length;u++)l[u].depth!=null&&l[u].depth>=0&&(t[l[u].depth]=new A(l[u],this,s));if(n&&i){var o=L(n,i,this,!0,c);return o.data}function c(h,f){h.wrapMethod("getItemModel",function(w,x){return w.customizeGetParent(function(I){var C=this.parentModel,N=C.getData().getItemLayout(x).depth,S=C.levelModels[N];return S||this.parentModel}),w}),f.wrapMethod("getItemModel",function(w,x){return w.customizeGetParent(function(I){var C=this.parentModel,N=C.getGraph().getEdgeByIndex(x),S=N.node1.getLayout().depth,E=C.levelModels[S];return E||this.parentModel}),w})}},setNodePosition:function(a,s){var i=this.option.data[a];i.localX=s[0],i.localY=s[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(a,s,i){if(i==="edge"){var n=this.getDataParams(a,i),l=n.data,t=l.source+" -- "+l.target;return n.value&&(t+=" : "+n.value),v(t)}else if(i==="node"){var u=this.getGraph().getNodeByIndex(a),o=u.getLayout().value,c=this.getDataParams(a,i).data.name;if(o)var t=c+" : "+o;return v(t)}return d.superCall(this,"formatTooltip",a,s)},optionUpdated:function(){var a=this.option;a.focusNodeAdjacency===!0&&(a.focusNodeAdjacency="allEdges")},getDataParams:function(a,s){var i=d.superCall(this,"getDataParams",a,s);if(i.value==null&&s==="node"){var n=this.getGraph().getNodeByIndex(a),l=n.getLayout().value;i.value=l}return i},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},animationEasing:"linear",animationDuration:1e3}}),r=d;te.exports=r},"0HBW":function(te,U,e){var y=e("ProS"),L=e("bYtY");e("Hxpc"),e("7uqq"),e("dmGj"),e("SehX");function g(v,A){A.update="updateView",y.registerAction(A,function(b,m){var d={};return m.eachComponent({mainType:"geo",query:b},function(r){r[v](b.name);var a=r.coordinateSystem;L.each(a.regions,function(s){d[s.name]=r.isSelected(s.name)||!1})}),{selected:d,name:b.name}})}g("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),g("select",{type:"geoSelect",event:"geoselected"}),g("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(te,U,e){var y=e("bYtY"),L=e("+TT/"),g=e("OELB"),v=e("IDmD"),A=864e5;function b(r,a,s){this._model=r}b.prototype={constructor:b,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(r){r=g.parseDate(r);var a=r.getFullYear(),s=r.getMonth()+1;s=s<10?"0"+s:s;var i=r.getDate();i=i<10?"0"+i:i;var n=r.getDay();return n=Math.abs((n+7-this.getFirstDayOfWeek())%7),{y:a,m:s,d:i,day:n,time:r.getTime(),formatedDate:a+"-"+s+"-"+i,date:r}},getNextNDay:function(r,a){return a=a||0,a===0?this.getDateInfo(r):(r=new Date(this.getDateInfo(r).time),r.setDate(r.getDate()+a),this.getDateInfo(r))},update:function(r,a){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var s=this._rangeInfo.weeks||1,i=["width","height"],n=this._model.get("cellSize").slice(),l=this._model.getBoxLayoutParams(),t=this._orient==="horizontal"?[s,7]:[7,s];y.each([0,1],function(h){c(n,h)&&(l[i[h]]=n[h]*t[h])});var u={width:a.getWidth(),height:a.getHeight()},o=this._rect=L.getLayoutRect(l,u);y.each([0,1],function(h){c(n,h)||(n[h]=o[i[h]]/t[h])});function c(h,f){return h[f]!=null&&h[f]!=="auto"}this._sw=n[0],this._sh=n[1]},dataToPoint:function(r,a){y.isArray(r)&&(r=r[0]),a==null&&(a=!0);var s=this.getDateInfo(r),i=this._rangeInfo,n=s.formatedDate;if(a&&!(s.time>=i.start.time&&s.time<i.end.time+A))return[NaN,NaN];var l=s.day,t=this._getRangeInfo([i.start.time,n]).nthWeek;return this._orient==="vertical"?[this._rect.x+l*this._sw+this._sw/2,this._rect.y+t*this._sh+this._sh/2]:[this._rect.x+t*this._sw+this._sw/2,this._rect.y+l*this._sh+this._sh/2]},pointToData:function(r){var a=this.pointToDate(r);return a&&a.time},dataToRect:function(r,a){var s=this.dataToPoint(r,a);return{contentShape:{x:s[0]-(this._sw-this._lineWidth)/2,y:s[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:s,tl:[s[0]-this._sw/2,s[1]-this._sh/2],tr:[s[0]+this._sw/2,s[1]-this._sh/2],br:[s[0]+this._sw/2,s[1]+this._sh/2],bl:[s[0]-this._sw/2,s[1]+this._sh/2]}},pointToDate:function(r){var a=Math.floor((r[0]-this._rect.x)/this._sw)+1,s=Math.floor((r[1]-this._rect.y)/this._sh)+1,i=this._rangeInfo.range;return this._orient==="vertical"?this._getDateByWeeksAndDay(s,a-1,i):this._getDateByWeeksAndDay(a,s-1,i)},convertToPixel:y.curry(m,"dataToPoint"),convertFromPixel:y.curry(m,"pointToData"),_initRangeOption:function(){var r=this._model.get("range"),a=r;if(y.isArray(a)&&a.length===1&&(a=a[0]),/^\d{4}$/.test(a)&&(r=[a+"-01-01",a+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(a)){var s=this.getDateInfo(a),i=s.date;i.setMonth(i.getMonth()+1);var n=this.getNextNDay(i,-1);r=[s.formatedDate,n.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(a)&&(r=[a,a]);var l=this._getRangeInfo(r);return l.start.time>l.end.time&&r.reverse(),r},_getRangeInfo:function(r){r=[this.getDateInfo(r[0]),this.getDateInfo(r[1])];var a;r[0].time>r[1].time&&(a=!0,r.reverse());var s=Math.floor(r[1].time/A)-Math.floor(r[0].time/A)+1,i=new Date(r[0].time),n=i.getDate(),l=r[1].date.getDate();i.setDate(n+s-1);var t=i.getDate();if(t!==l)for(var u=i.getTime()-r[1].time>0?1:-1;(t=i.getDate())!==l&&(i.getTime()-r[1].time)*u>0;)s-=u,i.setDate(t-u);var o=Math.floor((s+r[0].day+6)/7),c=a?-o+1:o-1;return a&&r.reverse(),{range:[r[0].formatedDate,r[1].formatedDate],start:r[0],end:r[1],allDay:s,weeks:o,nthWeek:c,fweek:r[0].day,lweek:r[1].day}},_getDateByWeeksAndDay:function(r,a,s){var i=this._getRangeInfo(s);if(r>i.weeks||r===0&&a<i.fweek||r===i.weeks&&a>i.lweek)return!1;var n=(r-1)*7-i.fweek+a,l=new Date(i.start.time);return l.setDate(i.start.d+n),this.getDateInfo(l)}},b.dimensions=b.prototype.dimensions,b.getDimensionsInfo=b.prototype.getDimensionsInfo,b.create=function(r,a){var s=[];return r.eachComponent("calendar",function(i){var n=new b(i,r,a);s.push(n),i.coordinateSystem=n}),r.eachSeries(function(i){i.get("coordinateSystem")==="calendar"&&(i.coordinateSystem=s[i.get("calendarIndex")||0])}),s};function m(r,a,s,i){var n=s.calendarModel,l=s.seriesModel,t=n?n.coordinateSystem:l?l.coordinateSystem:null;return t===this?t[r](i):null}v.register("calendar",b);var d=b;te.exports=d},"0JQy":function(te,U){var e="\\ud800-\\udfff",y="\\u0300-\\u036f",L="\\ufe20-\\ufe2f",g="\\u20d0-\\u20ff",v=y+L+g,A="\\ufe0e\\ufe0f",b="["+e+"]",m="["+v+"]",d="\\ud83c[\\udffb-\\udfff]",r="(?:"+m+"|"+d+")",a="[^"+e+"]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",i="[\\ud800-\\udbff][\\udc00-\\udfff]",n="\\u200d",l=r+"?",t="["+A+"]?",u="(?:"+n+"(?:"+[a,s,i].join("|")+")"+t+l+")*",o=t+l+u,c="(?:"+[a+m+"?",m,s,i,b].join("|")+")",h=RegExp(d+"(?="+d+")|"+c+o,"g");function f(w){return w.match(h)||[]}te.exports=f},"0NbB":function(te,U,e){"use strict";var y=e("VTBJ"),L=e("q1tI"),g={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"},v=g,A=e("6VBw"),b=function(r,a){return L.createElement(A.a,Object(y.a)(Object(y.a)({},r),{},{ref:a,icon:v}))};b.displayName="CaretDownOutlined";var m=U.a=L.forwardRef(b)},"0V0F":function(te,U,e){var y=e("bYtY"),L=y.createHashMap,g=y.each;function v(b){var m=L();b.eachSeries(function(d){var r=d.get("stack");if(r){var a=m.get(r)||m.set(r,[]),s=d.getData(),i={stackResultDimension:s.getCalculationInfo("stackResultDimension"),stackedOverDimension:s.getCalculationInfo("stackedOverDimension"),stackedDimension:s.getCalculationInfo("stackedDimension"),stackedByDimension:s.getCalculationInfo("stackedByDimension"),isStackedByIndex:s.getCalculationInfo("isStackedByIndex"),data:s,seriesModel:d};if(!i.stackedDimension||!(i.isStackedByIndex||i.stackedByDimension))return;a.length&&s.setCalculationInfo("stackedOnSeries",a[a.length-1].seriesModel),a.push(i)}}),m.each(A)}function A(b){g(b,function(m,d){var r=[],a=[NaN,NaN],s=[m.stackResultDimension,m.stackedOverDimension],i=m.data,n=m.isStackedByIndex,l=i.map(s,function(t,u,o){var c=i.get(m.stackedDimension,o);if(isNaN(c))return a;var h,f;n?f=i.getRawIndex(o):h=i.get(m.stackedByDimension,o);for(var w=NaN,x=d-1;x>=0;x--){var I=b[x];if(n||(f=I.data.rawIndexOf(I.stackedByDimension,h)),f>=0){var C=I.data.getByRawIndex(I.stackResultDimension,f);if(c>=0&&C>0||c<=0&&C<0){c+=C,w=C;break}}}return r[0]=c,r[1]=w,r});i.hostModel.setData(l),m.data=l})}te.exports=v},"0XgM":function(te,U,e){},"0fbx":function(te,U,e){},"0o9m":function(te,U,e){var y=e("ProS");e("hNWo"),e("RlCK"),e("XpcN");var L=e("kDyi"),g=e("bLfw");y.registerProcessor(y.PRIORITY.PROCESSOR.SERIES_FILTER,L),g.registerSubTypeDefaulter("legend",function(){return"plain"})},"0qV/":function(te,U,e){var y=e("ProS");y.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),y.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},"0r65":function(te,U){var e=arguments[3],y=arguments[4],L=arguments[5],g=JSON.stringify;te.exports=function(v,A){for(var b,m=Object.keys(L),d=0,r=m.length;d<r;d++){var a=m[d],s=L[a].exports;if(s===v||s&&s.default===v){b=a;break}}if(!b){b=Math.floor(Math.pow(16,8)*Math.random()).toString(16);for(var i={},d=0,r=m.length;d<r;d++){var a=m[d];i[a]=a}y[b]=["function(require,module,exports){"+v+"(self); }",i]}var n=Math.floor(Math.pow(16,8)*Math.random()).toString(16),l={};l[b]=b,y[n]=["function(require,module,exports){var f = require("+g(b)+");(f.default ? f.default : f)(self);}",l];var t={};u(n);function u(x){t[x]=!0;for(var I in y[x][1]){var C=y[x][1][I];t[C]||u(C)}}var o="("+e+")({"+Object.keys(t).map(function(x){return g(x)+":["+y[x][0]+","+g(y[x][1])+"]"}).join(",")+"},{},["+g(n)+"])",c=window.URL||window.webkitURL||window.mozURL||window.msURL,h=new Blob([o],{type:"text/javascript"});if(A&&A.bare)return h;var f=c.createObjectURL(h),w=new Worker(f);return w.objectURL=f,w}},"0s+r":function(te,U,e){var y=e("bYtY"),L=e("QBsz"),g=e("y23F"),v=e("H6uX"),A=e("YH21"),b=e("C0SR"),m="silent";function d(u,o,c){return{type:u,event:c,target:o.target,topTarget:o.topTarget,cancelBubble:!1,offsetX:c.zrX,offsetY:c.zrY,gestureEvent:c.gestureEvent,pinchX:c.pinchX,pinchY:c.pinchY,pinchScale:c.pinchScale,wheelDelta:c.zrDelta,zrByTouch:c.zrByTouch,which:c.which,stop:r}}function r(){A.stop(this.event)}function a(){}a.prototype.dispose=function(){};var s=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],i=function(o,c,h,f){v.call(this),this.storage=o,this.painter=c,this.painterRoot=f,h=h||new a,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,g.call(this),this.setHandlerProxy(h)};i.prototype={constructor:i,setHandlerProxy:function(o){this.proxy&&this.proxy.dispose(),o&&(y.each(s,function(c){o.on&&o.on(c,this[c],this)},this),o.handler=this),this.proxy=o},mousemove:function(o){var c=o.zrX,h=o.zrY,f=l(this,c,h),w=this._hovered,x=w.target;x&&!x.__zr&&(w=this.findHover(w.x,w.y),x=w.target);var I=this._hovered=f?{x:c,y:h}:this.findHover(c,h),C=I.target,N=this.proxy;N.setCursor&&N.setCursor(C?C.cursor:"default"),x&&C!==x&&this.dispatchToElement(w,"mouseout",o),this.dispatchToElement(I,"mousemove",o),C&&C!==x&&this.dispatchToElement(I,"mouseover",o)},mouseout:function(o){var c=o.zrEventControl,h=o.zrIsToLocalDOM;c!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",o),c!=="no_globalout"&&(!h&&this.trigger("globalout",{type:"globalout",event:o}))},resize:function(o){this._hovered={}},dispatch:function(o,c){var h=this[o];h&&h.call(this,c)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(o){var c=this.proxy;c.setCursor&&c.setCursor(o)},dispatchToElement:function(o,c,h){o=o||{};var f=o.target;if(f&&f.silent)return;for(var w="on"+c,x=d(c,o,h);f&&!(f[w]&&(x.cancelBubble=f[w].call(f,x)),f.trigger(c,x),f=f.parent,x.cancelBubble););x.cancelBubble||(this.trigger(c,x),this.painter&&this.painter.eachOtherLayer(function(I){typeof I[w]=="function"&&I[w].call(I,x),I.trigger&&I.trigger(c,x)}))},findHover:function(o,c,h){for(var f=this.storage.getDisplayList(),w={x:o,y:c},x=f.length-1;x>=0;x--){var I;if(f[x]!==h&&!f[x].ignore&&(I=n(f[x],o,c))&&(!w.topTarget&&(w.topTarget=f[x]),I!==m)){w.target=f[x];break}}return w},processGesture:function(o,c){this._gestureMgr||(this._gestureMgr=new b);var h=this._gestureMgr;c==="start"&&h.clear();var f=h.recognize(o,this.findHover(o.zrX,o.zrY,null).target,this.proxy.dom);if(c==="end"&&h.clear(),f){var w=f.type;o.gestureEvent=w,this.dispatchToElement({target:f.target},w,f.event)}}},y.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(u){i.prototype[u]=function(o){var c=o.zrX,h=o.zrY,f=l(this,c,h),w,x;if((u!=="mouseup"||!f)&&(w=this.findHover(c,h),x=w.target),u==="mousedown")this._downEl=x,this._downPoint=[o.zrX,o.zrY],this._upEl=x;else if(u==="mouseup")this._upEl=x;else if(u==="click"){if(this._downEl!==this._upEl||!this._downPoint||L.dist(this._downPoint,[o.zrX,o.zrY])>4)return;this._downPoint=null}this.dispatchToElement(w,u,o)}});function n(u,o,c){if(u[u.rectHover?"rectContain":"contain"](o,c)){for(var h=u,f;h;){if(h.clipPath&&!h.clipPath.contain(o,c))return!1;h.silent&&(f=!0),h=h.parent}return f?m:!0}return!1}function l(u,o,c){var h=u.painter;return o<0||o>h.getWidth()||c<0||c>h.getHeight()}y.mixin(i,v),y.mixin(i,g);var t=i;te.exports=t},"10cm":function(te,U,e){var y=e("ProS"),L=e("2B6p"),g=L.updateCenterAndZoom;e("0qV/");var v={type:"graphRoam",event:"graphRoam",update:"none"};y.registerAction(v,function(A,b){b.eachComponent({mainType:"series",query:A},function(m){var d=m.coordinateSystem,r=g(d,A);m.setCenter&&m.setCenter(r.center),m.setZoom&&m.setZoom(r.zoom)})})},"14J3":function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("1GLa")},"15/o":function(te,U,e){},"19Vz":function(te,U,e){(function(y){y(e("VrN/"))})(function(y){y.defineOption("placeholder","",function(d,r,a){var s=a&&a!=y.Init;if(r&&!s)d.on("blur",A),d.on("change",b),d.on("swapDoc",b),y.on(d.getInputField(),"compositionupdate",d.state.placeholderCompose=function(){v(d)}),b(d);else if(!r&&s){d.off("blur",A),d.off("change",b),d.off("swapDoc",b),y.off(d.getInputField(),"compositionupdate",d.state.placeholderCompose),L(d);var i=d.getWrapperElement();i.className=i.className.replace(" CodeMirror-empty","")}r&&!d.hasFocus()&&A(d)});function L(d){d.state.placeholder&&(d.state.placeholder.parentNode.removeChild(d.state.placeholder),d.state.placeholder=null)}function g(d){L(d);var r=d.state.placeholder=document.createElement("pre");r.style.cssText="height: 0; overflow: visible",r.style.direction=d.getOption("direction"),r.className="CodeMirror-placeholder CodeMirror-line-like";var a=d.getOption("placeholder");typeof a=="string"&&(a=document.createTextNode(a)),r.appendChild(a),d.display.lineSpace.insertBefore(r,d.display.lineSpace.firstChild)}function v(d){setTimeout(function(){var r=!1,a=d.getInputField();a.nodeName=="TEXTAREA"?r=!a.value:d.lineCount()==1&&(r=!/[^\u200b]/.test(a.querySelector(".CodeMirror-line").textContent)),r?g(d):L(d)},20)}function A(d){m(d)&&g(d)}function b(d){var r=d.getWrapperElement(),a=m(d);r.className=r.className.replace(" CodeMirror-empty","")+(a?" CodeMirror-empty":""),a?g(d):L(d)}function m(d){return d.lineCount()===1&&d.getLine(0)===""}})},"1GLa":function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("FIfw"),v=e.n(g)},"1Jh7":function(te,U,e){var y=e("y+Vt"),L=e("T6xi"),g=y.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(A,b){L.buildPath(A,b,!1)}});te.exports=g},"1LEl":function(te,U,e){var y=e("ProS"),L=e("F9bG"),g=y.extendComponentView({type:"axisPointer",render:function(A,b,m){var d=b.getComponent("tooltip"),r=A.get("triggerOn")||d&&d.get("triggerOn")||"mousemove|click";L.register("axisPointer",m,function(a,s,i){r!=="none"&&(a==="leave"||r.indexOf(a)>=0)&&i({type:"updateAxisPointer",currTrigger:a,x:s&&s.offsetX,y:s&&s.offsetY})})},remove:function(A,b){L.unregister(b.getZr(),"axisPointer"),g.superApply(this._model,"remove",arguments)},dispose:function(A,b){L.unregister("axisPointer",b),g.superApply(this._model,"dispose",arguments)}}),v=g;te.exports=v},"1MYJ":function(te,U,e){var y=e("y+Vt"),L=y.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var v=this.__dirtyPath,A=this.shape.paths,b=0;b<A.length;b++)v=v||A[b].__dirtyPath;this.__dirtyPath=v,this.__dirty=this.__dirty||v},beforeBrush:function(){this._updatePathDirty();for(var v=this.shape.paths||[],A=this.getGlobalScale(),b=0;b<v.length;b++)v[b].path||v[b].createPathProxy(),v[b].path.setScale(A[0],A[1],v[b].segmentIgnoreThreshold)},buildPath:function(v,A){for(var b=A.paths||[],m=0;m<b.length;m++)b[m].buildPath(v,b[m].shape,!0)},afterBrush:function(){for(var v=this.shape.paths||[],A=0;A<v.length;A++)v[A].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),y.prototype.getBoundingRect.call(this)}});te.exports=L},"1NG9":function(te,U,e){var y=e("y+Vt"),L=e("QBsz"),g=e("iXp4"),v=L.min,A=L.max,b=L.scaleAndAdd,m=L.copy,d=[],r=[],a=[];function s(c){return isNaN(c[0])||isNaN(c[1])}function i(c,h,f,w,x,I,C,N,S,E,T){return E==="none"||!E?l.apply(this,arguments):n.apply(this,arguments)}function n(c,h,f,w,x,I,C,N,S,E,T){for(var D=0,B=f,R=0;R<w;R++){var F=h[B];if(B>=x||B<0)break;if(s(F)){if(T){B+=I;continue}break}if(B===f)c[I>0?"moveTo":"lineTo"](F[0],F[1]);else if(S>0){var M=h[D],K=E==="y"?1:0,j=(F[K]-M[K])*S;m(r,M),r[K]=M[K]+j,m(a,F),a[K]=F[K]-j,c.bezierCurveTo(r[0],r[1],a[0],a[1],F[0],F[1])}else c.lineTo(F[0],F[1]);D=B,B+=I}return R}function l(c,h,f,w,x,I,C,N,S,E,T){for(var D=0,B=f,R=0;R<w;R++){var F=h[B];if(B>=x||B<0)break;if(s(F)){if(T){B+=I;continue}break}if(B===f)c[I>0?"moveTo":"lineTo"](F[0],F[1]),m(r,F);else if(S>0){var M=B+I,K=h[M];if(T)for(;K&&s(h[M]);)M+=I,K=h[M];var j=.5,H=h[D],K=h[M];if(!K||s(K))m(a,F);else{s(K)&&!T&&(K=F),L.sub(d,K,H);var k,P;if(E==="x"||E==="y"){var z=E==="x"?0:1;k=Math.abs(F[z]-H[z]),P=Math.abs(F[z]-K[z])}else k=L.dist(F,H),P=L.dist(F,K);j=P/(P+k),b(a,F,d,-S*(1-j))}v(r,r,N),A(r,r,C),v(a,a,N),A(a,a,C),c.bezierCurveTo(r[0],r[1],a[0],a[1],F[0],F[1]),b(r,F,d,S*j)}else c.lineTo(F[0],F[1]);D=B,B+=I}return R}function t(c,h){var f=[Infinity,Infinity],w=[-Infinity,-Infinity];if(h)for(var x=0;x<c.length;x++){var I=c[x];I[0]<f[0]&&(f[0]=I[0]),I[1]<f[1]&&(f[1]=I[1]),I[0]>w[0]&&(w[0]=I[0]),I[1]>w[1]&&(w[1]=I[1])}return{min:h?f:w,max:h?w:f}}var u=y.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:g(y.prototype.brush),buildPath:function(c,h){var f=h.points,w=0,x=f.length,I=t(f,h.smoothConstraint);if(h.connectNulls){for(;x>0&&s(f[x-1]);x--);for(;w<x&&s(f[w]);w++);}for(;w<x;)w+=i(c,f,w,x,x,1,I.min,I.max,h.smooth,h.smoothMonotone,h.connectNulls)+1}}),o=y.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:g(y.prototype.brush),buildPath:function(c,h){var f=h.points,w=h.stackedOnPoints,x=0,I=f.length,C=h.smoothMonotone,N=t(f,h.smoothConstraint),S=t(w,h.smoothConstraint);if(h.connectNulls){for(;I>0&&s(f[I-1]);I--);for(;x<I&&s(f[x]);x++);}for(;x<I;){var E=i(c,f,x,I,I,1,N.min,N.max,h.smooth,C,h.connectNulls);i(c,w,x+E-1,E,I,-1,S.min,S.max,h.stackedOnSmooth,C,h.connectNulls),x+=E+1,c.closePath()}}});U.Polyline=u,U.Polygon=o},"1RvN":function(te,U){var e=function(){this.head=null,this.tail=null,this._len=0},y=e.prototype;y.insert=function(b){var m=new L(b);return this.insertEntry(m),m},y.insertEntry=function(b){this.head?(this.tail.next=b,b.prev=this.tail,b.next=null,this.tail=b):this.head=this.tail=b,this._len++},y.remove=function(b){var m=b.prev,d=b.next;m?m.next=d:this.head=d,d?d.prev=m:this.tail=m,b.next=b.prev=null,this._len--},y.len=function(){return this._len},y.clear=function(){this.head=this.tail=null,this._len=0};var L=function(m){this.value=m,this.next,this.prev},g=function(m){this._list=new e,this._map={},this._maxSize=m||10,this._lastRemovedEntry=null},v=g.prototype;v.put=function(b,m){var d=this._list,r=this._map,a=null;if(r[b]==null){var s=d.len(),i=this._lastRemovedEntry;if(s>=this._maxSize&&s>0){var n=d.head;d.remove(n),delete r[n.key],a=n.value,this._lastRemovedEntry=n}i?i.value=m:i=new L(m),i.key=b,d.insertEntry(i),r[b]=i}return a},v.get=function(b){var m=this._map[b],d=this._list;if(m!=null)return m!==d.tail&&(d.remove(m),d.insertEntry(m)),m.value},v.clear=function(){this._list.clear(),this._map={}};var A=g;te.exports=A},"1bdT":function(te,U,e){var y=e("3gBT"),L=e("H6uX"),g=e("DN4a"),v=e("vWvF"),A=e("bYtY"),b=function(r){g.call(this,r),L.call(this,r),v.call(this,r),this.id=r.id||y()};b.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(r,a){switch(this.draggable){case"horizontal":a=0;break;case"vertical":r=0;break}var s=this.transform;s||(s=this.transform=[1,0,0,1,0,0]),s[4]+=r,s[5]+=a,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(r,a){},attrKV:function(r,a){if(r==="position"||r==="scale"||r==="origin"){if(a){var s=this[r];s||(s=this[r]=[]),s[0]=a[0],s[1]=a[1]}}else this[r]=a},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(r,a){if(typeof r=="string")this.attrKV(r,a);else if(A.isObject(r))for(var s in r)r.hasOwnProperty(s)&&this.attrKV(s,r[s]);return this.dirty(!1),this},setClipPath:function(r){var a=this.__zr;a&&r.addSelfToZr(a),this.clipPath&&this.clipPath!==r&&this.removeClipPath(),this.clipPath=r,r.__zr=a,r.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var r=this.clipPath;r&&(r.__zr&&r.removeSelfFromZr(r.__zr),r.__zr=null,r.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(r){this.__zr=r;var a=this.animators;if(a)for(var s=0;s<a.length;s++)r.animation.addAnimator(a[s]);this.clipPath&&this.clipPath.addSelfToZr(r)},removeSelfFromZr:function(r){this.__zr=null;var a=this.animators;if(a)for(var s=0;s<a.length;s++)r.animation.removeAnimator(a[s]);this.clipPath&&this.clipPath.removeSelfFromZr(r)}},A.mixin(b,v),A.mixin(b,g),A.mixin(b,L);var m=b;te.exports=m},"1eCo":function(te,U,e){(function(y){y(e("VrN/"))})(function(y){"use strict";var L={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},g={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};y.defineMode("xml",function(v,A){var b=v.indentUnit,m={},d=A.htmlMode?L:g;for(var r in d)m[r]=d[r];for(var r in A)m[r]=A[r];var a,s;function i(D,B){function R(K){return B.tokenize=K,K(D,B)}var F=D.next();if(F=="<")return D.eat("!")?D.eat("[")?D.match("CDATA[")?R(t("atom","]]>")):null:D.match("--")?R(t("comment","-->")):D.match("DOCTYPE",!0,!0)?(D.eatWhile(/[\w\._\-]/),R(u(1))):null:D.eat("?")?(D.eatWhile(/[\w\._\-]/),B.tokenize=t("meta","?>"),"meta"):(a=D.eat("/")?"closeTag":"openTag",B.tokenize=n,"tag bracket");if(F=="&"){var M;return D.eat("#")?D.eat("x")?M=D.eatWhile(/[a-fA-F\d]/)&&D.eat(";"):M=D.eatWhile(/[\d]/)&&D.eat(";"):M=D.eatWhile(/[\w\.\-:]/)&&D.eat(";"),M?"atom":"error"}else return D.eatWhile(/[^&<]/),null}i.isInText=!0;function n(D,B){var R=D.next();if(R==">"||R=="/"&&D.eat(">"))return B.tokenize=i,a=R==">"?"endTag":"selfcloseTag","tag bracket";if(R=="=")return a="equals",null;if(R=="<"){B.tokenize=i,B.state=f,B.tagName=B.tagStart=null;var F=B.tokenize(D,B);return F?F+" tag error":"tag error"}else return/[\'\"]/.test(R)?(B.tokenize=l(R),B.stringStartCol=D.column(),B.tokenize(D,B)):(D.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function l(D){var B=function(F,M){for(;!F.eol();)if(F.next()==D){M.tokenize=n;break}return"string"};return B.isInAttribute=!0,B}function t(D,B){return function(R,F){for(;!R.eol();){if(R.match(B)){F.tokenize=i;break}R.next()}return D}}function u(D){return function(B,R){for(var F;(F=B.next())!=null;){if(F=="<")return R.tokenize=u(D+1),R.tokenize(B,R);if(F==">")if(D==1){R.tokenize=i;break}else return R.tokenize=u(D-1),R.tokenize(B,R)}return"meta"}}function o(D,B,R){this.prev=D.context,this.tagName=B,this.indent=D.indented,this.startOfLine=R,(m.doNotIndent.hasOwnProperty(B)||D.context&&D.context.noIndent)&&(this.noIndent=!0)}function c(D){D.context&&(D.context=D.context.prev)}function h(D,B){for(var R;;){if(!D.context)return;if(R=D.context.tagName,!m.contextGrabbers.hasOwnProperty(R)||!m.contextGrabbers[R].hasOwnProperty(B))return;c(D)}}function f(D,B,R){return D=="openTag"?(R.tagStart=B.column(),w):D=="closeTag"?x:f}function w(D,B,R){return D=="word"?(R.tagName=B.current(),s="tag",N):m.allowMissingTagName&&D=="endTag"?(s="tag bracket",N(D,B,R)):(s="error",w)}function x(D,B,R){if(D=="word"){var F=B.current();return R.context&&R.context.tagName!=F&&m.implicitlyClosed.hasOwnProperty(R.context.tagName)&&c(R),R.context&&R.context.tagName==F||m.matchClosing===!1?(s="tag",I):(s="tag error",C)}else return m.allowMissingTagName&&D=="endTag"?(s="tag bracket",I(D,B,R)):(s="error",C)}function I(D,B,R){return D!="endTag"?(s="error",I):(c(R),f)}function C(D,B,R){return s="error",I(D,B,R)}function N(D,B,R){if(D=="word")return s="attribute",S;if(D=="endTag"||D=="selfcloseTag"){var F=R.tagName,M=R.tagStart;return R.tagName=R.tagStart=null,D=="selfcloseTag"||m.autoSelfClosers.hasOwnProperty(F)?h(R,F):(h(R,F),R.context=new o(R,F,M==R.indented)),f}return s="error",N}function S(D,B,R){return D=="equals"?E:(m.allowMissing||(s="error"),N(D,B,R))}function E(D,B,R){return D=="string"?T:D=="word"&&m.allowUnquoted?(s="string",N):(s="error",N(D,B,R))}function T(D,B,R){return D=="string"?T:N(D,B,R)}return{startState:function(B){var R={tokenize:i,state:f,indented:B||0,tagName:null,tagStart:null,context:null};return B!=null&&(R.baseIndent=B),R},token:function(B,R){if(!R.tagName&&B.sol()&&(R.indented=B.indentation()),B.eatSpace())return null;a=null;var F=R.tokenize(B,R);return(F||a)&&F!="comment"&&(s=null,R.state=R.state(a||F,B,R),s&&(F=s=="error"?F+" error":s)),F},indent:function(B,R,F){var M=B.context;if(B.tokenize.isInAttribute)return B.tagStart==B.indented?B.stringStartCol+1:B.indented+b;if(M&&M.noIndent)return y.Pass;if(B.tokenize!=n&&B.tokenize!=i)return F?F.match(/^(\s*)/)[0].length:0;if(B.tagName)return m.multilineTagIndentPastTag!==!1?B.tagStart+B.tagName.length+2:B.tagStart+b*(m.multilineTagIndentFactor||1);if(m.alignCDATA&&/<!\[CDATA\[/.test(R))return 0;var K=R&&/^<(\/)?([\w_:\.-]*)/.exec(R);if(K&&K[1])for(;M;)if(M.tagName==K[2]){M=M.prev;break}else if(m.implicitlyClosed.hasOwnProperty(M.tagName))M=M.prev;else break;else if(K)for(;M;){var j=m.contextGrabbers[M.tagName];if(j&&j.hasOwnProperty(K[2]))M=M.prev;else break}for(;M&&M.prev&&!M.startOfLine;)M=M.prev;return M?M.indent+b:B.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:m.htmlMode?"html":"xml",helperType:m.htmlMode?"html":"xml",skipAttribute:function(B){B.state==E&&(B.state=N)},xmlCurrentTag:function(B){return B.tagName?{name:B.tagName,close:B.type=="closeTag"}:null},xmlCurrentContext:function(B){for(var R=[],F=B.context;F;F=F.prev)F.tagName&&R.push(F.tagName);return R.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(te,U,e){(function(y,L){/*!
|
|
|
* html2pdf.js v0.10.1
|
|
|
* Copyright (c) 2021 Erik Koopmans
|
|
|
* Released under the MIT License.
|
|
|
*/(function(v,A){te.exports=A(e("dtIV"),e("wOnQ"))})(self,function(g,v){return function(){var A={"./src/plugin/hyperlinks.js":function(a,s,i){"use strict";i.r(s);var n=i("./node_modules/core-js/modules/web.dom-collections.for-each.js"),l=i.n(n),t=i("./node_modules/core-js/modules/es.string.link.js"),u=i.n(t),o=i("./src/worker.js"),c=i("./src/utils.js"),h=[],f={toContainer:o.default.prototype.toContainer,toPdf:o.default.prototype.toPdf};o.default.prototype.toContainer=function(){return f.toContainer.call(this).then(function(){if(this.opt.enableLinks){var I=this.prop.container,C=I.querySelectorAll("a"),N=(0,c.unitConvert)(I.getBoundingClientRect(),this.prop.pageSize.k);h=[],Array.prototype.forEach.call(C,function(S){for(var E=S.getClientRects(),T=0;T<E.length;T++){var D=(0,c.unitConvert)(E[T],this.prop.pageSize.k);D.left-=N.left,D.top-=N.top;var B=Math.floor(D.top/this.prop.pageSize.inner.height)+1,R=this.opt.margin[0]+D.top%this.prop.pageSize.inner.height,F=this.opt.margin[1]+D.left;h.push({page:B,top:R,left:F,clientRect:D,link:S})}},this)}})},o.default.prototype.toPdf=function(){return f.toPdf.call(this).then(function(){if(this.opt.enableLinks){h.forEach(function(C){this.prop.pdf.setPage(C.page),this.prop.pdf.link(C.left,C.top,C.clientRect.width,C.clientRect.height,{url:C.link.href})},this);var I=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(I)}})}},"./src/plugin/jspdf-plugin.js":function(a,s,i){"use strict";i.r(s);var n=i("./node_modules/core-js/modules/es.symbol.js"),l=i.n(n),t=i("./node_modules/core-js/modules/es.symbol.description.js"),u=i.n(t),o=i("./node_modules/core-js/modules/es.object.to-string.js"),c=i.n(o),h=i("./node_modules/core-js/modules/es.symbol.iterator.js"),f=i.n(h),w=i("./node_modules/core-js/modules/es.array.iterator.js"),x=i.n(w),I=i("./node_modules/core-js/modules/es.string.iterator.js"),C=i.n(I),N=i("./node_modules/core-js/modules/web.dom-collections.iterator.js"),S=i.n(N),E=i("jspdf"),T=i.n(E);function D(B){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?D=function(F){return typeof F}:D=function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},D(B)}E.jsPDF.getPageSize=function(B,R,F){if(D(B)==="object"){var M=B;B=M.orientation,R=M.unit||R,F=M.format||F}R=R||"mm",F=F||"a4",B=(""+(B||"P")).toLowerCase();var K=(""+F).toLowerCase(),j={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(R){case"pt":var H=1;break;case"mm":var H=72/25.4;break;case"cm":var H=72/2.54;break;case"in":var H=72;break;case"px":var H=72/96;break;case"pc":var H=12;break;case"em":var H=12;break;case"ex":var H=6;break;default:throw"Invalid unit: "+R}if(j.hasOwnProperty(K))var k=j[K][1]/H,P=j[K][0]/H;else try{var k=F[1],P=F[0]}catch(_){throw new Error("Invalid format: "+F)}if(B==="p"||B==="portrait"){if(B="p",P>k){var z=P;P=k,k=z}}else if(B==="l"||B==="landscape"){if(B="l",k>P){var z=P;P=k,k=z}}else throw"Invalid orientation: "+B;var Y={width:P,height:k,unit:R,k:H};return Y},s.default=E.jsPDF},"./src/plugin/pagebreaks.js":function(a,s,i){"use strict";i.r(s);var n=i("./node_modules/core-js/modules/es.array.concat.js"),l=i.n(n),t=i("./node_modules/core-js/modules/es.array.slice.js"),u=i.n(t),o=i("./node_modules/core-js/modules/es.array.join.js"),c=i.n(o),h=i("./node_modules/core-js/modules/web.dom-collections.for-each.js"),f=i.n(h),w=i("./node_modules/core-js/modules/es.object.keys.js"),x=i.n(w),I=i("./src/worker.js"),C=i("./src/utils.js"),N={toContainer:I.default.prototype.toContainer};I.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},I.default.prototype.toContainer=function(){return N.toContainer.call(this).then(function(){var T=this.prop.container,D=this.prop.pageSize.inner.px.height,B=[].concat(this.opt.pagebreak.mode),R={avoidAll:B.indexOf("avoid-all")!==-1,css:B.indexOf("css")!==-1,legacy:B.indexOf("legacy")!==-1},F={},M=this;["before","after","avoid"].forEach(function(H){var k=R.avoidAll&&H==="avoid";F[H]=k?[]:[].concat(M.opt.pagebreak[H]||[]),F[H].length>0&&(F[H]=Array.prototype.slice.call(T.querySelectorAll(F[H].join(", "))))});var K=T.querySelectorAll(".html2pdf__page-break");K=Array.prototype.slice.call(K);var j=T.querySelectorAll("*");Array.prototype.forEach.call(j,function(k){var P={before:!1,after:R.legacy&&K.indexOf(k)!==-1,avoid:R.avoidAll};if(R.css){var z=window.getComputedStyle(k),Y=["always","page","left","right"],_=["avoid","avoid-page"];P={before:P.before||Y.indexOf(z.breakBefore||z.pageBreakBefore)!==-1,after:P.after||Y.indexOf(z.breakAfter||z.pageBreakAfter)!==-1,avoid:P.avoid||_.indexOf(z.breakInside||z.pageBreakInside)!==-1}}Object.keys(P).forEach(function(me){P[me]=P[me]||F[me].indexOf(k)!==-1});var G=k.getBoundingClientRect();if(P.avoid&&!P.before){var J=Math.floor(G.top/D),ue=Math.floor(G.bottom/D),q=Math.abs(G.bottom-G.top)/D;ue!==J&&q<=1&&(P.before=!0)}if(P.before){var re=(0,C.createElement)("div",{style:{display:"block",height:D-G.top%D+"px"}});k.parentNode.insertBefore(re,k)}if(P.after){var re=(0,C.createElement)("div",{style:{display:"block",height:D-G.bottom%D+"px"}});k.parentNode.insertBefore(re,k.nextSibling)}})})}},"./src/utils.js":function(a,s,i){"use strict";i.r(s),i.d(s,{objType:function(){return B},createElement:function(){return R},cloneNode:function(){return F},unitConvert:function(){return M},toPx:function(){return K}});var n=i("./node_modules/core-js/modules/es.number.constructor.js"),l=i.n(n),t=i("./node_modules/core-js/modules/es.symbol.js"),u=i.n(t),o=i("./node_modules/core-js/modules/es.symbol.description.js"),c=i.n(o),h=i("./node_modules/core-js/modules/es.object.to-string.js"),f=i.n(h),w=i("./node_modules/core-js/modules/es.symbol.iterator.js"),x=i.n(w),I=i("./node_modules/core-js/modules/es.array.iterator.js"),C=i.n(I),N=i("./node_modules/core-js/modules/es.string.iterator.js"),S=i.n(N),E=i("./node_modules/core-js/modules/web.dom-collections.iterator.js"),T=i.n(E);function D(j){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?D=function(k){return typeof k}:D=function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},D(j)}var B=function(H){var k=D(H);return k==="undefined"?"undefined":k==="string"||H instanceof String?"string":k==="number"||H instanceof Number?"number":k==="function"||H instanceof Function?"function":!!H&&H.constructor===Array?"array":H&&H.nodeType===1?"element":k==="object"?"object":"unknown"},R=function(H,k){var P=document.createElement(H);if(k.className&&(P.className=k.className),k.innerHTML){P.innerHTML=k.innerHTML;for(var z=P.getElementsByTagName("script"),Y=z.length;Y-- >0;null)z[Y].parentNode.removeChild(z[Y])}for(var _ in k.style)P.style[_]=k.style[_];return P},F=function j(H,k){for(var P=H.nodeType===3?document.createTextNode(H.nodeValue):H.cloneNode(!1),z=H.firstChild;z;z=z.nextSibling)(k===!0||z.nodeType!==1||z.nodeName!=="SCRIPT")&&P.appendChild(j(z,k));return H.nodeType===1&&(H.nodeName==="CANVAS"?(P.width=H.width,P.height=H.height,P.getContext("2d").drawImage(H,0,0)):(H.nodeName==="TEXTAREA"||H.nodeName==="SELECT")&&(P.value=H.value),P.addEventListener("load",function(){P.scrollTop=H.scrollTop,P.scrollLeft=H.scrollLeft},!0)),P},M=function(H,k){if(B(H)==="number")return H*72/96/k;var P={};for(var z in H)P[z]=H[z]*72/96/k;return P},K=function(H,k){return Math.floor(H*k/72*96)}},"./src/worker.js":function(a,s,i){"use strict";i.r(s);var n=i("./node_modules/core-js/modules/es.object.assign.js"),l=i.n(n),t=i("./node_modules/core-js/modules/es.array.map.js"),u=i.n(t),o=i("./node_modules/core-js/modules/es.object.keys.js"),c=i.n(o),h=i("./node_modules/core-js/modules/es.array.concat.js"),f=i.n(h),w=i("./node_modules/core-js/modules/es.object.to-string.js"),x=i.n(w),I=i("./node_modules/core-js/modules/es.regexp.to-string.js"),C=i.n(I),N=i("./node_modules/core-js/modules/es.function.name.js"),S=i.n(N),E=i("./node_modules/core-js/modules/web.dom-collections.for-each.js"),T=i.n(E),D=i("jspdf"),B=i.n(D),R=i("html2canvas"),F=i.n(R),M=i("./src/utils.js"),K=i("./node_modules/es6-promise/dist/es6-promise.js"),j=i.n(K),H=j().Promise,k=function P(z){var Y=Object.assign(P.convert(H.resolve()),JSON.parse(JSON.stringify(P.template))),_=P.convert(H.resolve(),Y);return _=_.setProgress(1,P,1,[P]),_=_.set(z),_};k.prototype=Object.create(H.prototype),k.prototype.constructor=k,k.convert=function(z,Y){return z.__proto__=Y||k.prototype,z},k.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:{}}},k.prototype.from=function(z,Y){function _(G){switch((0,M.objType)(G)){case"string":return"string";case"element":return G.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){Y=Y||_(z);switch(Y){case"string":return this.set({src:(0,M.createElement)("div",{innerHTML:z})});case"element":return this.set({src:z});case"canvas":return this.set({canvas:z});case"img":return this.set({img:z});default:return this.error("Unknown source type.")}})},k.prototype.to=function(z){switch(z){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.")}},k.prototype.toContainer=function(){var z=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(z).then(function(){var _={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},G={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};_.opacity=0;var J=(0,M.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,M.createElement)("div",{className:"html2pdf__overlay",style:_}),this.prop.container=(0,M.createElement)("div",{className:"html2pdf__container",style:G}),this.prop.container.appendChild(J),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},k.prototype.toCanvas=function(){var z=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(z).then(function(){var _=Object.assign({},this.opt.html2canvas);return delete _.onrendered,R(this.prop.container,_)}).then(function(_){var G=this.opt.html2canvas.onrendered||function(){};G(_),this.prop.canvas=_,document.body.removeChild(this.prop.overlay)})},k.prototype.toImg=function(){var z=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(z).then(function(){var _=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=_})},k.prototype.toPdf=function(){var z=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(z).then(function(){var _=this.prop.canvas,G=this.opt,J=_.height,ue=Math.floor(_.width*this.prop.pageSize.inner.ratio),q=Math.ceil(J/ue),re=this.prop.pageSize.inner.height,me=document.createElement("canvas"),be=me.getContext("2d");me.width=_.width,me.height=ue,this.prop.pdf=this.prop.pdf||new D.jsPDF(G.jsPDF);for(var ke=0;ke<q;ke++){ke===q-1&&J%ue!==0&&(me.height=J%ue,re=me.height*this.prop.pageSize.inner.width/me.width);var ce=me.width,Ee=me.height;be.fillStyle="white",be.fillRect(0,0,ce,Ee),be.drawImage(_,0,ke*ue,ce,Ee,0,0,ce,Ee),ke&&this.prop.pdf.addPage();var pe=me.toDataURL("image/"+G.image.type,G.image.quality);this.prop.pdf.addImage(pe,G.image.type,G.margin[1],G.margin[0],this.prop.pageSize.inner.width,re)}})},k.prototype.output=function(z,Y,_){return _=_||"pdf",_.toLowerCase()==="img"||_.toLowerCase()==="image"?this.outputImg(z,Y):this.outputPdf(z,Y)},k.prototype.outputPdf=function(z,Y){var _=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(_).then(function(){return this.prop.pdf.output(z,Y)})},k.prototype.outputImg=function(z,Y){var _=[function(){return this.prop.img||this.toImg()}];return this.thenList(_).then(function(){switch(z){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 "'+z+'" is not supported.'}})},k.prototype.save=function(z){var Y=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(Y).set(z?{filename:z}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},k.prototype.set=function(z){if((0,M.objType)(z)!=="object")return this;var Y=Object.keys(z||{}).map(function(_){switch(_){case"margin":return this.setMargin.bind(this,z.margin);case"jsPDF":return function(){return this.opt.jsPDF=z.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,z.pageSize);default:return _ in k.template.prop?function(){this.prop[_]=z[_]}:function(){this.opt[_]=z[_]}}},this);return this.then(function(){return this.thenList(Y)})},k.prototype.get=function(z,Y){return this.then(function(){var G=z in k.template.prop?this.prop[z]:this.opt[z];return Y?Y(G):G})},k.prototype.setMargin=function(z){return this.then(function(){switch((0,M.objType)(z)){case"number":z=[z,z,z,z];case"array":if(z.length===2&&(z=[z[0],z[1],z[0],z[1]]),z.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=z}).then(this.setPageSize)},k.prototype.setPageSize=function(z){return this.then(function(){z=z||D.jsPDF.getPageSize(this.opt.jsPDF),z.hasOwnProperty("inner")||(z.inner={width:z.width-this.opt.margin[1]-this.opt.margin[3],height:z.height-this.opt.margin[0]-this.opt.margin[2]},z.inner.px={width:(0,M.toPx)(z.inner.width,z.k),height:(0,M.toPx)(z.inner.height,z.k)},z.inner.ratio=z.inner.height/z.inner.width),this.prop.pageSize=z})},k.prototype.setProgress=function(z,Y,_,G){return z!=null&&(this.progress.val=z),Y!=null&&(this.progress.state=Y),_!=null&&(this.progress.n=_),G!=null&&(this.progress.stack=G),this.progress.ratio=this.progress.val/this.progress.state,this},k.prototype.updateProgress=function(z,Y,_,G){return this.setProgress(z?this.progress.val+z:null,Y||null,_?this.progress.n+_:null,G?this.progress.stack.concat(G):null)},k.prototype.then=function(z,Y){var _=this;return this.thenCore(z,Y,function(J,ue){return _.updateProgress(null,null,1,[J]),H.prototype.then.call(this,function(re){return _.updateProgress(null,J),re}).then(J,ue).then(function(re){return _.updateProgress(1),re})})},k.prototype.thenCore=function(z,Y,_){_=_||H.prototype.then;var G=this;z&&(z=z.bind(G)),Y&&(Y=Y.bind(G));var J=H.toString().indexOf("[native code]")!==-1&&H.name==="Promise",ue=J?G:k.convert(Object.assign({},G),H.prototype),q=_.call(ue,z,Y);return k.convert(q,G.__proto__)},k.prototype.thenExternal=function(z,Y){return H.prototype.then.call(this,z,Y)},k.prototype.thenList=function(z){var Y=this;return z.forEach(function(G){Y=Y.thenCore(G)}),Y},k.prototype.catch=function(P){P&&(P=P.bind(this));var z=H.prototype.catch.call(this,P);return k.convert(z,this)},k.prototype.catchExternal=function(z){return H.prototype.catch.call(this,z)},k.prototype.error=function(z){return this.then(function(){throw new Error(z)})},k.prototype.using=k.prototype.set,k.prototype.saveAs=k.prototype.save,k.prototype.export=k.prototype.output,k.prototype.run=k.prototype.then,s.default=k},"./node_modules/core-js/internals/a-function.js":function(a){a.exports=function(s){if(typeof s!="function")throw TypeError(String(s)+" is not a function");return s}},"./node_modules/core-js/internals/a-possible-prototype.js":function(a,s,i){var n=i("./node_modules/core-js/internals/is-object.js");a.exports=function(l){if(!n(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"./node_modules/core-js/internals/add-to-unscopables.js":function(a,s,i){var n=i("./node_modules/core-js/internals/well-known-symbol.js"),l=i("./node_modules/core-js/internals/object-create.js"),t=i("./node_modules/core-js/internals/object-define-property.js"),u=n("unscopables"),o=Array.prototype;o[u]==null&&t.f(o,u,{configurable:!0,value:l(null)}),a.exports=function(c){o[u][c]=!0}},"./node_modules/core-js/internals/an-object.js":function(a,s,i){var n=i("./node_modules/core-js/internals/is-object.js");a.exports=function(l){if(!n(l))throw TypeError(String(l)+" is not an object");return l}},"./node_modules/core-js/internals/array-for-each.js":function(a,s,i){"use strict";var n=i("./node_modules/core-js/internals/array-iteration.js").forEach,l=i("./node_modules/core-js/internals/array-method-is-strict.js"),t=l("forEach");a.exports=t?[].forEach:function(o){return n(this,o,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(a,s,i){var n=i("./node_modules/core-js/internals/to-indexed-object.js"),l=i("./node_modules/core-js/internals/to-length.js"),t=i("./node_modules/core-js/internals/to-absolute-index.js"),u=function(c){return function(h,f,w){var x=n(h),I=l(x.length),C=t(w,I),N;if(c&&f!=f){for(;I>C;)if(N=x[C++],N!=N)return!0}else for(;I>C;C++)if((c||C in x)&&x[C]===f)return c||C||0;return!c&&-1}};a.exports={includes:u(!0),indexOf:u(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(a,s,i){var n=i("./node_modules/core-js/internals/function-bind-context.js"),l=i("./node_modules/core-js/internals/indexed-object.js"),t=i("./node_modules/core-js/internals/to-object.js"),u=i("./node_modules/core-js/internals/to-length.js"),o=i("./node_modules/core-js/internals/array-species-create.js"),c=[].push,h=function(w){var x=w==1,I=w==2,C=w==3,N=w==4,S=w==6,E=w==7,T=w==5||S;return function(D,B,R,F){for(var M=t(D),K=l(M),j=n(B,R,3),H=u(K.length),k=0,P=F||o,z=x?P(D,H):I||E?P(D,0):void 0,Y,_;H>k;k++)if((T||k in K)&&(Y=K[k],_=j(Y,k,M),w))if(x)z[k]=_;else if(_)switch(w){case 3:return!0;case 5:return Y;case 6:return k;case 2:c.call(z,Y)}else switch(w){case 4:return!1;case 7:c.call(z,Y)}return S?-1:C||N?N:z}};a.exports={forEach:h(0),map:h(1),filter:h(2),some:h(3),every:h(4),find:h(5),findIndex:h(6),filterReject:h(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(a,s,i){var n=i("./node_modules/core-js/internals/fails.js"),l=i("./node_modules/core-js/internals/well-known-symbol.js"),t=i("./node_modules/core-js/internals/engine-v8-version.js"),u=l("species");a.exports=function(o){return t>=51||!n(function(){var c=[],h=c.constructor={};return h[u]=function(){return{foo:1}},c[o](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(a,s,i){"use strict";var n=i("./node_modules/core-js/internals/fails.js");a.exports=function(l,t){var u=[][l];return!!u&&n(function(){u.call(null,t||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(a,s,i){var n=i("./node_modules/core-js/internals/is-object.js"),l=i("./node_modules/core-js/internals/is-array.js"),t=i("./node_modules/core-js/internals/well-known-symbol.js"),u=t("species");a.exports=function(o){var c;return l(o)&&(c=o.constructor,typeof c=="function"&&(c===Array||l(c.prototype))?c=void 0:n(c)&&(c=c[u],c===null&&(c=void 0))),c===void 0?Array:c}},"./node_modules/core-js/internals/array-species-create.js":function(a,s,i){var n=i("./node_modules/core-js/internals/array-species-constructor.js");a.exports=function(l,t){return new(n(l))(t===0?0:t)}},"./node_modules/core-js/internals/classof-raw.js":function(a){var s={}.toString;a.exports=function(i){return s.call(i).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(a,s,i){var n=i("./node_modules/core-js/internals/to-string-tag-support.js"),l=i("./node_modules/core-js/internals/classof-raw.js"),t=i("./node_modules/core-js/internals/well-known-symbol.js"),u=t("toStringTag"),o=l(function(){return arguments}())=="Arguments",c=function(f,w){try{return f[w]}catch(x){}};a.exports=n?l:function(h){var f,w,x;return h===void 0?"Undefined":h===null?"Null":typeof(w=c(f=Object(h),u))=="string"?w:o?l(f):(x=l(f))=="Object"&&typeof f.callee=="function"?"Arguments":x}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(a,s,i){var n=i("./node_modules/core-js/internals/has.js"),l=i("./node_modules/core-js/internals/own-keys.js"),t=i("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),u=i("./node_modules/core-js/internals/object-define-property.js");a.exports=function(o,c){for(var h=l(c),f=u.f,w=t.f,x=0;x<h.length;x++){var I=h[x];n(o,I)||f(o,I,w(c,I))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(a,s,i){var n=i("./node_modules/core-js/internals/fails.js");a.exports=!n(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},"./node_modules/core-js/internals/create-html.js":function(a,s,i){var n=i("./node_modules/core-js/internals/require-object-coercible.js"),l=i("./node_modules/core-js/internals/to-string.js"),t=/"/g;a.exports=function(u,o,c,h){var f=l(n(u)),w="<"+o;return c!==""&&(w+=" "+c+'="'+l(h).replace(t,""")+'"'),w+">"+f+"</"+o+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(a,s,i){"use strict";var n=i("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,l=i("./node_modules/core-js/internals/object-create.js"),t=i("./node_modules/core-js/internals/create-property-descriptor.js"),u=i("./node_modules/core-js/internals/set-to-string-tag.js"),o=i("./node_modules/core-js/internals/iterators.js"),c=function(){return this};a.exports=function(h,f,w){var x=f+" Iterator";return h.prototype=l(n,{next:t(1,w)}),u(h,x,!1,!0),o[x]=c,h}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(a,s,i){var n=i("./node_modules/core-js/internals/descriptors.js"),l=i("./node_modules/core-js/internals/object-define-property.js"),t=i("./node_modules/core-js/internals/create-property-descriptor.js");a.exports=n?function(u,o,c){return l.f(u,o,t(1,c))}:function(u,o,c){return u[o]=c,u}},"./node_modules/core-js/internals/create-property-descriptor.js":function(a){a.exports=function(s,i){return{enumerable:!(s&1),configurable:!(s&2),writable:!(s&4),value:i}}},"./node_modules/core-js/internals/create-property.js":function(a,s,i){"use strict";var n=i("./node_modules/core-js/internals/to-property-key.js"),l=i("./node_modules/core-js/internals/object-define-property.js"),t=i("./node_modules/core-js/internals/create-property-descriptor.js");a.exports=function(u,o,c){var h=n(o);h in u?l.f(u,h,t(0,c)):u[h]=c}},"./node_modules/core-js/internals/define-iterator.js":function(a,s,i){"use strict";var n=i("./node_modules/core-js/internals/export.js"),l=i("./node_modules/core-js/internals/create-iterator-constructor.js"),t=i("./node_modules/core-js/internals/object-get-prototype-of.js"),u=i("./node_modules/core-js/internals/object-set-prototype-of.js"),o=i("./node_modules/core-js/internals/set-to-string-tag.js"),c=i("./node_modules/core-js/internals/create-non-enumerable-property.js"),h=i("./node_modules/core-js/internals/redefine.js"),f=i("./node_modules/core-js/internals/well-known-symbol.js"),w=i("./node_modules/core-js/internals/is-pure.js"),x=i("./node_modules/core-js/internals/iterators.js"),I=i("./node_modules/core-js/internals/iterators-core.js"),C=I.IteratorPrototype,N=I.BUGGY_SAFARI_ITERATORS,S=f("iterator"),E="keys",T="values",D="entries",B=function(){return this};a.exports=function(R,F,M,K,j,H,k){l(M,F,K);var P=function(ke){if(ke===j&&J)return J;if(!N&&ke in _)return _[ke];switch(ke){case E:return function(){return new M(this,ke)};case T:return function(){return new M(this,ke)};case D:return function(){return new M(this,ke)}}return function(){return new M(this)}},z=F+" Iterator",Y=!1,_=R.prototype,G=_[S]||_["@@iterator"]||j&&_[j],J=!N&&G||P(j),ue=F=="Array"&&_.entries||G,q,re,me;if(ue&&(q=t(ue.call(new R)),C!==Object.prototype&&q.next&&(!w&&t(q)!==C&&(u?u(q,C):typeof q[S]!="function"&&c(q,S,B)),o(q,z,!0,!0),w&&(x[z]=B))),j==T&&G&&G.name!==T&&(Y=!0,J=function(){return G.call(this)}),(!w||k)&&_[S]!==J&&c(_,S,J),x[F]=J,j)if(re={values:P(T),keys:H?J:P(E),entries:P(D)},k)for(me in re)(N||Y||!(me in _))&&h(_,me,re[me]);else n({target:F,proto:!0,forced:N||Y},re);return re}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(a,s,i){var n=i("./node_modules/core-js/internals/path.js"),l=i("./node_modules/core-js/internals/has.js"),t=i("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),u=i("./node_modules/core-js/internals/object-define-property.js").f;a.exports=function(o){var c=n.Symbol||(n.Symbol={});l(c,o)||u(c,o,{value:t.f(o)})}},"./node_modules/core-js/internals/descriptors.js":function(a,s,i){var n=i("./node_modules/core-js/internals/fails.js");a.exports=!n(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(a,s,i){var n=i("./node_modules/core-js/internals/global.js"),l=i("./node_modules/core-js/internals/is-object.js"),t=n.document,u=l(t)&&l(t.createElement);a.exports=function(o){return u?t.createElement(o):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(a){a.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/engine-user-agent.js":function(a,s,i){var n=i("./node_modules/core-js/internals/get-built-in.js");a.exports=n("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(a,s,i){var n=i("./node_modules/core-js/internals/global.js"),l=i("./node_modules/core-js/internals/engine-user-agent.js"),t=n.process,u=n.Deno,o=t&&t.versions||u&&u.version,c=o&&o.v8,h,f;c?(h=c.split("."),f=h[0]<4?1:h[0]+h[1]):l&&(h=l.match(/Edge\/(\d+)/),(!h||h[1]>=74)&&(h=l.match(/Chrome\/(\d+)/),h&&(f=h[1]))),a.exports=f&&+f},"./node_modules/core-js/internals/enum-bug-keys.js":function(a){a.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(a,s,i){var n=i("./node_modules/core-js/internals/global.js"),l=i("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,t=i("./node_modules/core-js/internals/create-non-enumerable-property.js"),u=i("./node_modules/core-js/internals/redefine.js"),o=i("./node_modules/core-js/internals/set-global.js"),c=i("./node_modules/core-js/internals/copy-constructor-properties.js"),h=i("./node_modules/core-js/internals/is-forced.js");a.exports=function(f,w){var x=f.target,I=f.global,C=f.stat,N,S,E,T,D,B;if(I?S=n:C?S=n[x]||o(x,{}):S=(n[x]||{}).prototype,S)for(E in w){if(D=w[E],f.noTargetGet?(B=l(S,E),T=B&&B.value):T=S[E],N=h(I?E:x+(C?".":"#")+E,f.forced),!N&&T!==void 0){if(typeof D===typeof T)continue;c(D,T)}(f.sham||T&&T.sham)&&t(D,"sham",!0),u(S,E,D,f)}}},"./node_modules/core-js/internals/fails.js":function(a){a.exports=function(s){try{return!!s()}catch(i){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(a,s,i){var n=i("./node_modules/core-js/internals/a-function.js");a.exports=function(l,t,u){if(n(l),t===void 0)return l;switch(u){case 0:return function(){return l.call(t)};case 1:return function(o){return l.call(t,o)};case 2:return function(o,c){return l.call(t,o,c)};case 3:return function(o,c,h){return l.call(t,o,c,h)}}return function(){return l.apply(t,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(a,s,i){var n=i("./node_modules/core-js/internals/global.js"),l=function(u){return typeof u=="function"?u:void 0};a.exports=function(t,u){return arguments.length<2?l(n[t]):n[t]&&n[t][u]}},"./node_modules/core-js/internals/global.js":function(a){var s=function(n){return n&&n.Math==Math&&n};a.exports=s(typeof globalThis=="object"&&globalThis)||s(typeof window=="object"&&window)||s(typeof self=="object"&&self)||s(typeof y=="object"&&y)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(a,s,i){var n=i("./node_modules/core-js/internals/to-object.js"),l={}.hasOwnProperty;a.exports=Object.hasOwn||function(u,o){return l.call(n(u),o)}},"./node_modules/core-js/internals/hidden-keys.js":function(a){a.exports={}},"./node_modules/core-js/internals/html.js":function(a,s,i){var n=i("./node_modules/core-js/internals/get-built-in.js");a.exports=n("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(a,s,i){var n=i("./node_modules/core-js/internals/descriptors.js"),l=i("./node_modules/core-js/internals/fails.js"),t=i("./node_modules/core-js/internals/document-create-element.js");a.exports=!n&&!l(function(){return Object.defineProperty(t("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(a,s,i){var n=i("./node_modules/core-js/internals/fails.js"),l=i("./node_modules/core-js/internals/classof-raw.js"),t="".split;a.exports=n(function(){return!Object("z").propertyIsEnumerable(0)})?function(u){return l(u)=="String"?t.call(u,""):Object(u)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(a,s,i){var n=i("./node_modules/core-js/internals/is-object.js"),l=i("./node_modules/core-js/internals/object-set-prototype-of.js");a.exports=function(t,u,o){var c,h;return l&&typeof(c=u.constructor)=="function"&&c!==o&&n(h=c.prototype)&&h!==o.prototype&&l(t,h),t}},"./node_modules/core-js/internals/inspect-source.js":function(a,s,i){var n=i("./node_modules/core-js/internals/shared-store.js"),l=Function.toString;typeof n.inspectSource!="function"&&(n.inspectSource=function(t){return l.call(t)}),a.exports=n.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(a,s,i){var n=i("./node_modules/core-js/internals/native-weak-map.js"),l=i("./node_modules/core-js/internals/global.js"),t=i("./node_modules/core-js/internals/is-object.js"),u=i("./node_modules/core-js/internals/create-non-enumerable-property.js"),o=i("./node_modules/core-js/internals/has.js"),c=i("./node_modules/core-js/internals/shared-store.js"),h=i("./node_modules/core-js/internals/shared-key.js"),f=i("./node_modules/core-js/internals/hidden-keys.js"),w="Object already initialized",x=l.WeakMap,I,C,N,S=function(K){return N(K)?C(K):I(K,{})},E=function(K){return function(j){var H;if(!t(j)||(H=C(j)).type!==K)throw TypeError("Incompatible receiver, "+K+" required");return H}};if(n||c.state){var T=c.state||(c.state=new x),D=T.get,B=T.has,R=T.set;I=function(K,j){if(B.call(T,K))throw new TypeError(w);return j.facade=K,R.call(T,K,j),j},C=function(K){return D.call(T,K)||{}},N=function(K){return B.call(T,K)}}else{var F=h("state");f[F]=!0,I=function(K,j){if(o(K,F))throw new TypeError(w);return j.facade=K,u(K,F,j),j},C=function(K){return o(K,F)?K[F]:{}},N=function(K){return o(K,F)}}a.exports={set:I,get:C,has:N,enforce:S,getterFor:E}},"./node_modules/core-js/internals/is-array.js":function(a,s,i){var n=i("./node_modules/core-js/internals/classof-raw.js");a.exports=Array.isArray||function(t){return n(t)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(a,s,i){var n=i("./node_modules/core-js/internals/fails.js"),l=/#|\.prototype\./,t=function(w,x){var I=o[u(w)];return I==h?!0:I==c?!1:typeof x=="function"?n(x):!!x},u=t.normalize=function(f){return String(f).replace(l,".").toLowerCase()},o=t.data={},c=t.NATIVE="N",h=t.POLYFILL="P";a.exports=t},"./node_modules/core-js/internals/is-object.js":function(a){a.exports=function(s){return typeof s=="object"?s!==null:typeof s=="function"}},"./node_modules/core-js/internals/is-pure.js":function(a){a.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(a,s,i){var n=i("./node_modules/core-js/internals/get-built-in.js"),l=i("./node_modules/core-js/internals/use-symbol-as-uid.js");a.exports=l?function(t){return typeof t=="symbol"}:function(t){var u=n("Symbol");return typeof u=="function"&&Object(t)instanceof u}},"./node_modules/core-js/internals/iterators-core.js":function(a,s,i){"use strict";var n=i("./node_modules/core-js/internals/fails.js"),l=i("./node_modules/core-js/internals/object-get-prototype-of.js"),t=i("./node_modules/core-js/internals/create-non-enumerable-property.js"),u=i("./node_modules/core-js/internals/has.js"),o=i("./node_modules/core-js/internals/well-known-symbol.js"),c=i("./node_modules/core-js/internals/is-pure.js"),h=o("iterator"),f=!1,w=function(){return this},x,I,C;[].keys&&(C=[].keys(),"next"in C?(I=l(l(C)),I!==Object.prototype&&(x=I)):f=!0);var N=x==null||n(function(){var S={};return x[h].call(S)!==S});N&&(x={}),(!c||N)&&!u(x,h)&&t(x,h,w),a.exports={IteratorPrototype:x,BUGGY_SAFARI_ITERATORS:f}},"./node_modules/core-js/internals/iterators.js":function(a){a.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(a,s,i){var n=i("./node_modules/core-js/internals/engine-v8-version.js"),l=i("./node_modules/core-js/internals/fails.js");a.exports=!!Object.getOwnPropertySymbols&&!l(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41})},"./node_modules/core-js/internals/native-weak-map.js":function(a,s,i){var n=i("./node_modules/core-js/internals/global.js"),l=i("./node_modules/core-js/internals/inspect-source.js"),t=n.WeakMap;a.exports=typeof t=="function"&&/native code/.test(l(t))},"./node_modules/core-js/internals/object-assign.js":function(a,s,i){"use strict";var n=i("./node_modules/core-js/internals/descriptors.js"),l=i("./node_modules/core-js/internals/fails.js"),t=i("./node_modules/core-js/internals/object-keys.js"),u=i("./node_modules/core-js/internals/object-get-own-property-symbols.js"),o=i("./node_modules/core-js/internals/object-property-is-enumerable.js"),c=i("./node_modules/core-js/internals/to-object.js"),h=i("./node_modules/core-js/internals/indexed-object.js"),f=Object.assign,w=Object.defineProperty;a.exports=!f||l(function(){if(n&&f({b:1},f(w({},"a",{enumerable:!0,get:function(){w(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var x={},I={},C=Symbol(),N="abcdefghijklmnopqrst";return x[C]=7,N.split("").forEach(function(S){I[S]=S}),f({},x)[C]!=7||t(f({},I)).join("")!=N})?function(I,C){for(var N=c(I),S=arguments.length,E=1,T=u.f,D=o.f;S>E;)for(var B=h(arguments[E++]),R=T?t(B).concat(T(B)):t(B),F=R.length,M=0,K;F>M;)K=R[M++],(!n||D.call(B,K))&&(N[K]=B[K]);return N}:f},"./node_modules/core-js/internals/object-create.js":function(a,s,i){var n=i("./node_modules/core-js/internals/an-object.js"),l=i("./node_modules/core-js/internals/object-define-properties.js"),t=i("./node_modules/core-js/internals/enum-bug-keys.js"),u=i("./node_modules/core-js/internals/hidden-keys.js"),o=i("./node_modules/core-js/internals/html.js"),c=i("./node_modules/core-js/internals/document-create-element.js"),h=i("./node_modules/core-js/internals/shared-key.js"),f=">",w="<",x="prototype",I="script",C=h("IE_PROTO"),N=function(){},S=function(F){return w+I+f+F+w+"/"+I+f},E=function(F){F.write(S("")),F.close();var M=F.parentWindow.Object;return F=null,M},T=function(){var F=c("iframe"),M="java"+I+":",K;if(F.style)return F.style.display="none",o.appendChild(F),F.src=String(M),K=F.contentWindow.document,K.open(),K.write(S("document.F=Object")),K.close(),K.F},D,B=function(){try{D=new ActiveXObject("htmlfile")}catch(M){}B=document.domain&&D?E(D):T()||E(D);for(var F=t.length;F--;)delete B[x][t[F]];return B()};u[C]=!0,a.exports=Object.create||function(F,M){var K;return F!==null?(N[x]=n(F),K=new N,N[x]=null,K[C]=F):K=B(),M===void 0?K:l(K,M)}},"./node_modules/core-js/internals/object-define-properties.js":function(a,s,i){var n=i("./node_modules/core-js/internals/descriptors.js"),l=i("./node_modules/core-js/internals/object-define-property.js"),t=i("./node_modules/core-js/internals/an-object.js"),u=i("./node_modules/core-js/internals/object-keys.js");a.exports=n?Object.defineProperties:function(c,h){t(c);for(var f=u(h),w=f.length,x=0,I;w>x;)l.f(c,I=f[x++],h[I]);return c}},"./node_modules/core-js/internals/object-define-property.js":function(a,s,i){var n=i("./node_modules/core-js/internals/descriptors.js"),l=i("./node_modules/core-js/internals/ie8-dom-define.js"),t=i("./node_modules/core-js/internals/an-object.js"),u=i("./node_modules/core-js/internals/to-property-key.js"),o=Object.defineProperty;s.f=n?o:function(h,f,w){if(t(h),f=u(f),t(w),l)try{return o(h,f,w)}catch(x){}if("get"in w||"set"in w)throw TypeError("Accessors not supported");return"value"in w&&(h[f]=w.value),h}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(a,s,i){var n=i("./node_modules/core-js/internals/descriptors.js"),l=i("./node_modules/core-js/internals/object-property-is-enumerable.js"),t=i("./node_modules/core-js/internals/create-property-descriptor.js"),u=i("./node_modules/core-js/internals/to-indexed-object.js"),o=i("./node_modules/core-js/internals/to-property-key.js"),c=i("./node_modules/core-js/internals/has.js"),h=i("./node_modules/core-js/internals/ie8-dom-define.js"),f=Object.getOwnPropertyDescriptor;s.f=n?f:function(x,I){if(x=u(x),I=o(I),h)try{return f(x,I)}catch(C){}if(c(x,I))return t(!l.f.call(x,I),x[I])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(a,s,i){var n=i("./node_modules/core-js/internals/to-indexed-object.js"),l=i("./node_modules/core-js/internals/object-get-own-property-names.js").f,t={}.toString,u=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],o=function(h){try{return l(h)}catch(f){return u.slice()}};a.exports.f=function(h){return u&&t.call(h)=="[object Window]"?o(h):l(n(h))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(a,s,i){var n=i("./node_modules/core-js/internals/object-keys-internal.js"),l=i("./node_modules/core-js/internals/enum-bug-keys.js"),t=l.concat("length","prototype");s.f=Object.getOwnPropertyNames||function(o){return n(o,t)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(a,s){s.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(a,s,i){var n=i("./node_modules/core-js/internals/has.js"),l=i("./node_modules/core-js/internals/to-object.js"),t=i("./node_modules/core-js/internals/shared-key.js"),u=i("./node_modules/core-js/internals/correct-prototype-getter.js"),o=t("IE_PROTO"),c=Object.prototype;a.exports=u?Object.getPrototypeOf:function(h){return h=l(h),n(h,o)?h[o]:typeof h.constructor=="function"&&h instanceof h.constructor?h.constructor.prototype:h instanceof Object?c:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(a,s,i){var n=i("./node_modules/core-js/internals/has.js"),l=i("./node_modules/core-js/internals/to-indexed-object.js"),t=i("./node_modules/core-js/internals/array-includes.js").indexOf,u=i("./node_modules/core-js/internals/hidden-keys.js");a.exports=function(o,c){var h=l(o),f=0,w=[],x;for(x in h)!n(u,x)&&n(h,x)&&w.push(x);for(;c.length>f;)n(h,x=c[f++])&&(~t(w,x)||w.push(x));return w}},"./node_modules/core-js/internals/object-keys.js":function(a,s,i){var n=i("./node_modules/core-js/internals/object-keys-internal.js"),l=i("./node_modules/core-js/internals/enum-bug-keys.js");a.exports=Object.keys||function(u){return n(u,l)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(a,s){"use strict";var i={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,l=n&&!i.call({1:2},1);s.f=l?function(u){var o=n(this,u);return!!o&&o.enumerable}:i},"./node_modules/core-js/internals/object-set-prototype-of.js":function(a,s,i){var n=i("./node_modules/core-js/internals/an-object.js"),l=i("./node_modules/core-js/internals/a-possible-prototype.js");a.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t=!1,u={},o;try{o=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,o.call(u,[]),t=u instanceof Array}catch(c){}return function(h,f){return n(h),l(f),t?o.call(h,f):h.__proto__=f,h}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(a,s,i){"use strict";var n=i("./node_modules/core-js/internals/to-string-tag-support.js"),l=i("./node_modules/core-js/internals/classof.js");a.exports=n?{}.toString:function(){return"[object "+l(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(a,s,i){var n=i("./node_modules/core-js/internals/is-object.js");a.exports=function(l,t){var u,o;if(t==="string"&&typeof(u=l.toString)=="function"&&!n(o=u.call(l)))return o;if(typeof(u=l.valueOf)=="function"&&!n(o=u.call(l)))return o;if(t!=="string"&&typeof(u=l.toString)=="function"&&!n(o=u.call(l)))return o;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(a,s,i){var n=i("./node_modules/core-js/internals/get-built-in.js"),l=i("./node_modules/core-js/internals/object-get-own-property-names.js"),t=i("./node_modules/core-js/internals/object-get-own-property-symbols.js"),u=i("./node_modules/core-js/internals/an-object.js");a.exports=n("Reflect","ownKeys")||function(c){var h=l.f(u(c)),f=t.f;return f?h.concat(f(c)):h}},"./node_modules/core-js/internals/path.js":function(a,s,i){var n=i("./node_modules/core-js/internals/global.js");a.exports=n},"./node_modules/core-js/internals/redefine.js":function(a,s,i){var n=i("./node_modules/core-js/internals/global.js"),l=i("./node_modules/core-js/internals/create-non-enumerable-property.js"),t=i("./node_modules/core-js/internals/has.js"),u=i("./node_modules/core-js/internals/set-global.js"),o=i("./node_modules/core-js/internals/inspect-source.js"),c=i("./node_modules/core-js/internals/internal-state.js"),h=c.get,f=c.enforce,w=String(String).split("String");(a.exports=function(x,I,C,N){var S=N?!!N.unsafe:!1,E=N?!!N.enumerable:!1,T=N?!!N.noTargetGet:!1,D;if(typeof C=="function"&&(typeof I=="string"&&!t(C,"name")&&l(C,"name",I),D=f(C),D.source||(D.source=w.join(typeof I=="string"?I:""))),x===n){E?x[I]=C:u(I,C);return}else S?!T&&x[I]&&(E=!0):delete x[I];E?x[I]=C:l(x,I,C)})(Function.prototype,"toString",function(){return typeof this=="function"&&h(this).source||o(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(a,s,i){"use strict";var n=i("./node_modules/core-js/internals/an-object.js");a.exports=function(){var l=n(this),t="";return l.global&&(t+="g"),l.ignoreCase&&(t+="i"),l.multiline&&(t+="m"),l.dotAll&&(t+="s"),l.unicode&&(t+="u"),l.sticky&&(t+="y"),t}},"./node_modules/core-js/internals/require-object-coercible.js":function(a){a.exports=function(s){if(s==null)throw TypeError("Can't call method on "+s);return s}},"./node_modules/core-js/internals/set-global.js":function(a,s,i){var n=i("./node_modules/core-js/internals/global.js");a.exports=function(l,t){try{Object.defineProperty(n,l,{value:t,configurable:!0,writable:!0})}catch(u){n[l]=t}return t}},"./node_modules/core-js/internals/set-to-string-tag.js":function(a,s,i){var n=i("./node_modules/core-js/internals/object-define-property.js").f,l=i("./node_modules/core-js/internals/has.js"),t=i("./node_modules/core-js/internals/well-known-symbol.js"),u=t("toStringTag");a.exports=function(o,c,h){o&&!l(o=h?o:o.prototype,u)&&n(o,u,{configurable:!0,value:c})}},"./node_modules/core-js/internals/shared-key.js":function(a,s,i){var n=i("./node_modules/core-js/internals/shared.js"),l=i("./node_modules/core-js/internals/uid.js"),t=n("keys");a.exports=function(u){return t[u]||(t[u]=l(u))}},"./node_modules/core-js/internals/shared-store.js":function(a,s,i){var n=i("./node_modules/core-js/internals/global.js"),l=i("./node_modules/core-js/internals/set-global.js"),t="__core-js_shared__",u=n[t]||l(t,{});a.exports=u},"./node_modules/core-js/internals/shared.js":function(a,s,i){var n=i("./node_modules/core-js/internals/is-pure.js"),l=i("./node_modules/core-js/internals/shared-store.js");(a.exports=function(t,u){return l[t]||(l[t]=u!==void 0?u:{})})("versions",[]).push({version:"3.16.0",mode:n?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(a,s,i){var n=i("./node_modules/core-js/internals/fails.js");a.exports=function(l){return n(function(){var t=""[l]('"');return t!==t.toLowerCase()||t.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(a,s,i){var n=i("./node_modules/core-js/internals/to-integer.js"),l=i("./node_modules/core-js/internals/to-string.js"),t=i("./node_modules/core-js/internals/require-object-coercible.js"),u=function(c){return function(h,f){var w=l(t(h)),x=n(f),I=w.length,C,N;return x<0||x>=I?c?"":void 0:(C=w.charCodeAt(x),C<55296||C>56319||x+1===I||(N=w.charCodeAt(x+1))<56320||N>57343?c?w.charAt(x):C:c?w.slice(x,x+2):(C-55296<<10)+(N-56320)+65536)}};a.exports={codeAt:u(!1),charAt:u(!0)}},"./node_modules/core-js/internals/string-trim.js":function(a,s,i){var n=i("./node_modules/core-js/internals/require-object-coercible.js"),l=i("./node_modules/core-js/internals/to-string.js"),t=i("./node_modules/core-js/internals/whitespaces.js"),u="["+t+"]",o=RegExp("^"+u+u+"*"),c=RegExp(u+u+"*$"),h=function(w){return function(x){var I=l(n(x));return w&1&&(I=I.replace(o,"")),w&2&&(I=I.replace(c,"")),I}};a.exports={start:h(1),end:h(2),trim:h(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(a,s,i){var n=i("./node_modules/core-js/internals/to-integer.js"),l=Math.max,t=Math.min;a.exports=function(u,o){var c=n(u);return c<0?l(c+o,0):t(c,o)}},"./node_modules/core-js/internals/to-indexed-object.js":function(a,s,i){var n=i("./node_modules/core-js/internals/indexed-object.js"),l=i("./node_modules/core-js/internals/require-object-coercible.js");a.exports=function(t){return n(l(t))}},"./node_modules/core-js/internals/to-integer.js":function(a){var s=Math.ceil,i=Math.floor;a.exports=function(n){return isNaN(n=+n)?0:(n>0?i:s)(n)}},"./node_modules/core-js/internals/to-length.js":function(a,s,i){var n=i("./node_modules/core-js/internals/to-integer.js"),l=Math.min;a.exports=function(t){return t>0?l(n(t),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(a,s,i){var n=i("./node_modules/core-js/internals/require-object-coercible.js");a.exports=function(l){return Object(n(l))}},"./node_modules/core-js/internals/to-primitive.js":function(a,s,i){var n=i("./node_modules/core-js/internals/is-object.js"),l=i("./node_modules/core-js/internals/is-symbol.js"),t=i("./node_modules/core-js/internals/ordinary-to-primitive.js"),u=i("./node_modules/core-js/internals/well-known-symbol.js"),o=u("toPrimitive");a.exports=function(c,h){if(!n(c)||l(c))return c;var f=c[o],w;if(f!==void 0){if(h===void 0&&(h="default"),w=f.call(c,h),!n(w)||l(w))return w;throw TypeError("Can't convert object to primitive value")}return h===void 0&&(h="number"),t(c,h)}},"./node_modules/core-js/internals/to-property-key.js":function(a,s,i){var n=i("./node_modules/core-js/internals/to-primitive.js"),l=i("./node_modules/core-js/internals/is-symbol.js");a.exports=function(t){var u=n(t,"string");return l(u)?u:String(u)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(a,s,i){var n=i("./node_modules/core-js/internals/well-known-symbol.js"),l=n("toStringTag"),t={};t[l]="z",a.exports=String(t)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(a,s,i){var n=i("./node_modules/core-js/internals/is-symbol.js");a.exports=function(l){if(n(l))throw TypeError("Cannot convert a Symbol value to a string");return String(l)}},"./node_modules/core-js/internals/uid.js":function(a){var s=0,i=Math.random();a.exports=function(n){return"Symbol("+String(n===void 0?"":n)+")_"+(++s+i).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(a,s,i){var n=i("./node_modules/core-js/internals/native-symbol.js");a.exports=n&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(a,s,i){var n=i("./node_modules/core-js/internals/well-known-symbol.js");s.f=n},"./node_modules/core-js/internals/well-known-symbol.js":function(a,s,i){var n=i("./node_modules/core-js/internals/global.js"),l=i("./node_modules/core-js/internals/shared.js"),t=i("./node_modules/core-js/internals/has.js"),u=i("./node_modules/core-js/internals/uid.js"),o=i("./node_modules/core-js/internals/native-symbol.js"),c=i("./node_modules/core-js/internals/use-symbol-as-uid.js"),h=l("wks"),f=n.Symbol,w=c?f:f&&f.withoutSetter||u;a.exports=function(x){return(!t(h,x)||!(o||typeof h[x]=="string"))&&(o&&t(f,x)?h[x]=f[x]:h[x]=w("Symbol."+x)),h[x]}},"./node_modules/core-js/internals/whitespaces.js":function(a){a.exports=`
|
|
|
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"./node_modules/core-js/modules/es.array.concat.js":function(a,s,i){"use strict";var n=i("./node_modules/core-js/internals/export.js"),l=i("./node_modules/core-js/internals/fails.js"),t=i("./node_modules/core-js/internals/is-array.js"),u=i("./node_modules/core-js/internals/is-object.js"),o=i("./node_modules/core-js/internals/to-object.js"),c=i("./node_modules/core-js/internals/to-length.js"),h=i("./node_modules/core-js/internals/create-property.js"),f=i("./node_modules/core-js/internals/array-species-create.js"),w=i("./node_modules/core-js/internals/array-method-has-species-support.js"),x=i("./node_modules/core-js/internals/well-known-symbol.js"),I=i("./node_modules/core-js/internals/engine-v8-version.js"),C=x("isConcatSpreadable"),N=9007199254740991,S="Maximum allowed index exceeded",E=I>=51||!l(function(){var R=[];return R[C]=!1,R.concat()[0]!==R}),T=w("concat"),D=function(F){if(!u(F))return!1;var M=F[C];return M!==void 0?!!M:t(F)},B=!E||!T;n({target:"Array",proto:!0,forced:B},{concat:function(F){var M=o(this),K=f(M,0),j=0,H,k,P,z,Y;for(H=-1,P=arguments.length;H<P;H++)if(Y=H===-1?M:arguments[H],D(Y)){if(z=c(Y.length),j+z>N)throw TypeError(S);for(k=0;k<z;k++,j++)k in Y&&h(K,j,Y[k])}else{if(j>=N)throw TypeError(S);h(K,j++,Y)}return K.length=j,K}})},"./node_modules/core-js/modules/es.array.iterator.js":function(a,s,i){"use strict";var n=i("./node_modules/core-js/internals/to-indexed-object.js"),l=i("./node_modules/core-js/internals/add-to-unscopables.js"),t=i("./node_modules/core-js/internals/iterators.js"),u=i("./node_modules/core-js/internals/internal-state.js"),o=i("./node_modules/core-js/internals/define-iterator.js"),c="Array Iterator",h=u.set,f=u.getterFor(c);a.exports=o(Array,"Array",function(w,x){h(this,{type:c,target:n(w),index:0,kind:x})},function(){var w=f(this),x=w.target,I=w.kind,C=w.index++;return!x||C>=x.length?(w.target=void 0,{value:void 0,done:!0}):I=="keys"?{value:C,done:!1}:I=="values"?{value:x[C],done:!1}:{value:[C,x[C]],done:!1}},"values"),t.Arguments=t.Array,l("keys"),l("values"),l("entries")},"./node_modules/core-js/modules/es.array.join.js":function(a,s,i){"use strict";var n=i("./node_modules/core-js/internals/export.js"),l=i("./node_modules/core-js/internals/indexed-object.js"),t=i("./node_modules/core-js/internals/to-indexed-object.js"),u=i("./node_modules/core-js/internals/array-method-is-strict.js"),o=[].join,c=l!=Object,h=u("join",",");n({target:"Array",proto:!0,forced:c||!h},{join:function(w){return o.call(t(this),w===void 0?",":w)}})},"./node_modules/core-js/modules/es.array.map.js":function(a,s,i){"use strict";var n=i("./node_modules/core-js/internals/export.js"),l=i("./node_modules/core-js/internals/array-iteration.js").map,t=i("./node_modules/core-js/internals/array-method-has-species-support.js"),u=t("map");n({target:"Array",proto:!0,forced:!u},{map:function(c){return l(this,c,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(a,s,i){"use strict";var n=i("./node_modules/core-js/internals/export.js"),l=i("./node_modules/core-js/internals/is-object.js"),t=i("./node_modules/core-js/internals/is-array.js"),u=i("./node_modules/core-js/internals/to-absolute-index.js"),o=i("./node_modules/core-js/internals/to-length.js"),c=i("./node_modules/core-js/internals/to-indexed-object.js"),h=i("./node_modules/core-js/internals/create-property.js"),f=i("./node_modules/core-js/internals/well-known-symbol.js"),w=i("./node_modules/core-js/internals/array-method-has-species-support.js"),x=w("slice"),I=f("species"),C=[].slice,N=Math.max;n({target:"Array",proto:!0,forced:!x},{slice:function(E,T){var D=c(this),B=o(D.length),R=u(E,B),F=u(T===void 0?B:T,B),M,K,j;if(t(D)&&(M=D.constructor,typeof M=="function"&&(M===Array||t(M.prototype))?M=void 0:l(M)&&(M=M[I],M===null&&(M=void 0)),M===Array||M===void 0))return C.call(D,R,F);for(K=new(M===void 0?Array:M)(N(F-R,0)),j=0;R<F;R++,j++)R in D&&h(K,j,D[R]);return K.length=j,K}})},"./node_modules/core-js/modules/es.function.name.js":function(a,s,i){var n=i("./node_modules/core-js/internals/descriptors.js"),l=i("./node_modules/core-js/internals/object-define-property.js").f,t=Function.prototype,u=t.toString,o=/^\s*function ([^ (]*)/,c="name";n&&!(c in t)&&l(t,c,{configurable:!0,get:function(){try{return u.call(this).match(o)[1]}catch(f){return""}}})},"./node_modules/core-js/modules/es.number.constructor.js":function(a,s,i){"use strict";var n=i("./node_modules/core-js/internals/descriptors.js"),l=i("./node_modules/core-js/internals/global.js"),t=i("./node_modules/core-js/internals/is-forced.js"),u=i("./node_modules/core-js/internals/redefine.js"),o=i("./node_modules/core-js/internals/has.js"),c=i("./node_modules/core-js/internals/classof-raw.js"),h=i("./node_modules/core-js/internals/inherit-if-required.js"),f=i("./node_modules/core-js/internals/is-symbol.js"),w=i("./node_modules/core-js/internals/to-primitive.js"),x=i("./node_modules/core-js/internals/fails.js"),I=i("./node_modules/core-js/internals/object-create.js"),C=i("./node_modules/core-js/internals/object-get-own-property-names.js").f,N=i("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,S=i("./node_modules/core-js/internals/object-define-property.js").f,E=i("./node_modules/core-js/internals/string-trim.js").trim,T="Number",D=l[T],B=D.prototype,R=c(I(B))==T,F=function(P){if(f(P))throw TypeError("Cannot convert a Symbol value to a number");var z=w(P,"number"),Y,_,G,J,ue,q,re,me;if(typeof z=="string"&&z.length>2){if(z=E(z),Y=z.charCodeAt(0),Y===43||Y===45){if(_=z.charCodeAt(2),_===88||_===120)return NaN}else if(Y===48){switch(z.charCodeAt(1)){case 66:case 98:G=2,J=49;break;case 79:case 111:G=8,J=55;break;default:return+z}for(ue=z.slice(2),q=ue.length,re=0;re<q;re++)if(me=ue.charCodeAt(re),me<48||me>J)return NaN;return parseInt(ue,G)}}return+z};if(t(T,!D(" 0o1")||!D("0b1")||D("+0x1"))){for(var M=function(P){var z=arguments.length<1?0:P,Y=this;return Y instanceof M&&(R?x(function(){B.valueOf.call(Y)}):c(Y)!=T)?h(new D(F(z)),Y,M):F(z)},K=n?C(D):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),j=0,H;K.length>j;j++)o(D,H=K[j])&&!o(M,H)&&S(M,H,N(D,H));M.prototype=B,B.constructor=M,u(l,T,M)}},"./node_modules/core-js/modules/es.object.assign.js":function(a,s,i){var n=i("./node_modules/core-js/internals/export.js"),l=i("./node_modules/core-js/internals/object-assign.js");n({target:"Object",stat:!0,forced:Object.assign!==l},{assign:l})},"./node_modules/core-js/modules/es.object.keys.js":function(a,s,i){var n=i("./node_modules/core-js/internals/export.js"),l=i("./node_modules/core-js/internals/to-object.js"),t=i("./node_modules/core-js/internals/object-keys.js"),u=i("./node_modules/core-js/internals/fails.js"),o=u(function(){t(1)});n({target:"Object",stat:!0,forced:o},{keys:function(h){return t(l(h))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(a,s,i){var n=i("./node_modules/core-js/internals/to-string-tag-support.js"),l=i("./node_modules/core-js/internals/redefine.js"),t=i("./node_modules/core-js/internals/object-to-string.js");n||l(Object.prototype,"toString",t,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(a,s,i){"use strict";var n=i("./node_modules/core-js/internals/redefine.js"),l=i("./node_modules/core-js/internals/an-object.js"),t=i("./node_modules/core-js/internals/to-string.js"),u=i("./node_modules/core-js/internals/fails.js"),o=i("./node_modules/core-js/internals/regexp-flags.js"),c="toString",h=RegExp.prototype,f=h[c],w=u(function(){return f.call({source:"a",flags:"b"})!="/a/b"}),x=f.name!=c;(w||x)&&n(RegExp.prototype,c,function(){var C=l(this),N=t(C.source),S=C.flags,E=t(S===void 0&&C instanceof RegExp&&!("flags"in h)?o.call(C):S);return"/"+N+"/"+E},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(a,s,i){"use strict";var n=i("./node_modules/core-js/internals/string-multibyte.js").charAt,l=i("./node_modules/core-js/internals/to-string.js"),t=i("./node_modules/core-js/internals/internal-state.js"),u=i("./node_modules/core-js/internals/define-iterator.js"),o="String Iterator",c=t.set,h=t.getterFor(o);u(String,"String",function(f){c(this,{type:o,string:l(f),index:0})},function(){var w=h(this),x=w.string,I=w.index,C;return I>=x.length?{value:void 0,done:!0}:(C=n(x,I),w.index+=C.length,{value:C,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(a,s,i){"use strict";var n=i("./node_modules/core-js/internals/export.js"),l=i("./node_modules/core-js/internals/create-html.js"),t=i("./node_modules/core-js/internals/string-html-forced.js");n({target:"String",proto:!0,forced:t("link")},{link:function(o){return l(this,"a","href",o)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(a,s,i){"use strict";var n=i("./node_modules/core-js/internals/export.js"),l=i("./node_modules/core-js/internals/descriptors.js"),t=i("./node_modules/core-js/internals/global.js"),u=i("./node_modules/core-js/internals/has.js"),o=i("./node_modules/core-js/internals/is-object.js"),c=i("./node_modules/core-js/internals/object-define-property.js").f,h=i("./node_modules/core-js/internals/copy-constructor-properties.js"),f=t.Symbol;if(l&&typeof f=="function"&&(!("description"in f.prototype)||f().description!==void 0)){var w={},x=function(){var T=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),D=this instanceof x?new f(T):T===void 0?f():f(T);return T===""&&(w[D]=!0),D};h(x,f);var I=x.prototype=f.prototype;I.constructor=x;var C=I.toString,N=String(f("test"))=="Symbol(test)",S=/^Symbol\((.*)\)[^)]+$/;c(I,"description",{configurable:!0,get:function(){var T=o(this)?this.valueOf():this,D=C.call(T);if(u(w,T))return"";var B=N?D.slice(7,-1):D.replace(S,"$1");return B===""?void 0:B}}),n({global:!0,forced:!0},{Symbol:x})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(a,s,i){var n=i("./node_modules/core-js/internals/define-well-known-symbol.js");n("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(a,s,i){"use strict";var n=i("./node_modules/core-js/internals/export.js"),l=i("./node_modules/core-js/internals/global.js"),t=i("./node_modules/core-js/internals/get-built-in.js"),u=i("./node_modules/core-js/internals/is-pure.js"),o=i("./node_modules/core-js/internals/descriptors.js"),c=i("./node_modules/core-js/internals/native-symbol.js"),h=i("./node_modules/core-js/internals/fails.js"),f=i("./node_modules/core-js/internals/has.js"),w=i("./node_modules/core-js/internals/is-array.js"),x=i("./node_modules/core-js/internals/is-object.js"),I=i("./node_modules/core-js/internals/is-symbol.js"),C=i("./node_modules/core-js/internals/an-object.js"),N=i("./node_modules/core-js/internals/to-object.js"),S=i("./node_modules/core-js/internals/to-indexed-object.js"),E=i("./node_modules/core-js/internals/to-property-key.js"),T=i("./node_modules/core-js/internals/to-string.js"),D=i("./node_modules/core-js/internals/create-property-descriptor.js"),B=i("./node_modules/core-js/internals/object-create.js"),R=i("./node_modules/core-js/internals/object-keys.js"),F=i("./node_modules/core-js/internals/object-get-own-property-names.js"),M=i("./node_modules/core-js/internals/object-get-own-property-names-external.js"),K=i("./node_modules/core-js/internals/object-get-own-property-symbols.js"),j=i("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),H=i("./node_modules/core-js/internals/object-define-property.js"),k=i("./node_modules/core-js/internals/object-property-is-enumerable.js"),P=i("./node_modules/core-js/internals/create-non-enumerable-property.js"),z=i("./node_modules/core-js/internals/redefine.js"),Y=i("./node_modules/core-js/internals/shared.js"),_=i("./node_modules/core-js/internals/shared-key.js"),G=i("./node_modules/core-js/internals/hidden-keys.js"),J=i("./node_modules/core-js/internals/uid.js"),ue=i("./node_modules/core-js/internals/well-known-symbol.js"),q=i("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),re=i("./node_modules/core-js/internals/define-well-known-symbol.js"),me=i("./node_modules/core-js/internals/set-to-string-tag.js"),be=i("./node_modules/core-js/internals/internal-state.js"),ke=i("./node_modules/core-js/internals/array-iteration.js").forEach,ce=_("hidden"),Ee="Symbol",pe="prototype",Se=ue("toPrimitive"),st=be.set,qe=be.getterFor(Ee),tt=Object[pe],Dt=l.Symbol,ct=t("JSON","stringify"),St=j.f,rt=H.f,ht=M.f,je=k.f,Me=Y("symbols"),Ne=Y("op-symbols"),it=Y("string-to-symbol-registry"),wt=Y("symbol-to-string-registry"),jt=Y("wks"),lt=l.QObject,Te=!lt||!lt[pe]||!lt[pe].findChild,mt=o&&h(function(){return B(rt({},"a",{get:function(){return rt(this,"a",{value:7}).a}})).a!=7})?function(Pt,We,Je){var Ln=St(tt,We);Ln&&delete tt[We],rt(Pt,We,Je),Ln&&Pt!==tt&&rt(tt,We,Ln)}:rt,tn=function(We,Je){var Ln=Me[We]=B(Dt[pe]);return st(Ln,{type:Ee,tag:We,description:Je}),o||(Ln.description=Je),Ln},Vt=function(We,Je,Ln){We===tt&&Vt(Ne,Je,Ln),C(We);var jn=E(Je);return C(Ln),f(Me,jn)?(Ln.enumerable?(f(We,ce)&&We[ce][jn]&&(We[ce][jn]=!1),Ln=B(Ln,{enumerable:D(0,!1)})):(f(We,ce)||rt(We,ce,D(1,{})),We[ce][jn]=!0),mt(We,jn,Ln)):rt(We,jn,Ln)},Yt=function(We,Je){C(We);var Ln=S(Je),jn=R(Ln).concat(de(Ln));return ke(jn,function(Sn){(!o||an.call(Ln,Sn))&&Vt(We,Sn,Ln[Sn])}),We},Qt=function(We,Je){return Je===void 0?B(We):Yt(B(We),Je)},an=function(We){var Je=E(We),Ln=je.call(this,Je);return this===tt&&f(Me,Je)&&!f(Ne,Je)?!1:Ln||!f(this,Je)||!f(Me,Je)||f(this,ce)&&this[ce][Je]?Ln:!0},on=function(We,Je){var Ln=S(We),jn=E(Je);if(Ln===tt&&f(Me,jn)&&!f(Ne,jn))return;var Sn=St(Ln,jn);return Sn&&f(Me,jn)&&!(f(Ln,ce)&&Ln[ce][jn])&&(Sn.enumerable=!0),Sn},vt=function(We){var Je=ht(S(We)),Ln=[];return ke(Je,function(jn){!f(Me,jn)&&!f(G,jn)&&Ln.push(jn)}),Ln},de=function(We){var Je=We===tt,Ln=ht(Je?Ne:S(We)),jn=[];return ke(Ln,function(Sn){f(Me,Sn)&&(!Je||f(tt,Sn))&&jn.push(Me[Sn])}),jn};if(c||(Dt=function(){if(this instanceof Dt)throw TypeError("Symbol is not a constructor");var We=!arguments.length||arguments[0]===void 0?void 0:T(arguments[0]),Je=J(We),Ln=function jn(Sn){this===tt&&jn.call(Ne,Sn),f(this,ce)&&f(this[ce],Je)&&(this[ce][Je]=!1),mt(this,Je,D(1,Sn))};return o&&Te&&mt(tt,Je,{configurable:!0,set:Ln}),tn(Je,We)},z(Dt[pe],"toString",function(){return qe(this).tag}),z(Dt,"withoutSetter",function(Pt){return tn(J(Pt),Pt)}),k.f=an,H.f=Vt,j.f=on,F.f=M.f=vt,K.f=de,q.f=function(Pt){return tn(ue(Pt),Pt)},o&&(rt(Dt[pe],"description",{configurable:!0,get:function(){return qe(this).description}}),u||z(tt,"propertyIsEnumerable",an,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:Dt}),ke(R(jt),function(Pt){re(Pt)}),n({target:Ee,stat:!0,forced:!c},{for:function(We){var Je=T(We);if(f(it,Je))return it[Je];var Ln=Dt(Je);return it[Je]=Ln,wt[Ln]=Je,Ln},keyFor:function(We){if(!I(We))throw TypeError(We+" is not a symbol");if(f(wt,We))return wt[We]},useSetter:function(){Te=!0},useSimple:function(){Te=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!o},{create:Qt,defineProperty:Vt,defineProperties:Yt,getOwnPropertyDescriptor:on}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:vt,getOwnPropertySymbols:de}),n({target:"Object",stat:!0,forced:h(function(){K.f(1)})},{getOwnPropertySymbols:function(We){return K.f(N(We))}}),ct){var he=!c||h(function(){var Pt=Dt();return ct([Pt])!="[null]"||ct({a:Pt})!="{}"||ct(Object(Pt))!="{}"});n({target:"JSON",stat:!0,forced:he},{stringify:function(We,Je,Ln){for(var jn=[We],Sn=1,Xn;arguments.length>Sn;)jn.push(arguments[Sn++]);return Xn=Je,!x(Je)&&We===void 0||I(We)?void 0:(w(Je)||(Je=function(hr,gn){if(typeof Xn=="function"&&(gn=Xn.call(this,hr,gn)),!I(gn))return gn}),jn[1]=Je,ct.apply(null,jn))}})}Dt[pe][Se]||P(Dt[pe],Se,Dt[pe].valueOf),me(Dt,Ee),G[ce]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(a,s,i){var n=i("./node_modules/core-js/internals/global.js"),l=i("./node_modules/core-js/internals/dom-iterables.js"),t=i("./node_modules/core-js/internals/array-for-each.js"),u=i("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var o in l){var c=n[o],h=c&&c.prototype;if(h&&h.forEach!==t)try{u(h,"forEach",t)}catch(f){h.forEach=t}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(a,s,i){var n=i("./node_modules/core-js/internals/global.js"),l=i("./node_modules/core-js/internals/dom-iterables.js"),t=i("./node_modules/core-js/modules/es.array.iterator.js"),u=i("./node_modules/core-js/internals/create-non-enumerable-property.js"),o=i("./node_modules/core-js/internals/well-known-symbol.js"),c=o("iterator"),h=o("toStringTag"),f=t.values;for(var w in l){var x=n[w],I=x&&x.prototype;if(I){if(I[c]!==f)try{u(I,c,f)}catch(N){I[c]=f}if(I[h]||u(I,h,w),l[w]){for(var C in t)if(I[C]!==t[C])try{u(I,C,t[C])}catch(N){I[C]=t[C]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(a){/*!
|
|
|
* @overview es6-promise - a tiny implementation of Promises/A+.
|
|
|
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
|
|
|
* @license Licensed under MIT license
|
|
|
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
|
|
|
* @version v4.2.8+1e68dce6
|
|
|
*/(function(s,i){a.exports=i()})(this,function(){"use strict";function s(lt){var Te=typeof lt;return lt!==null&&(Te==="object"||Te==="function")}function i(lt){return typeof lt=="function"}var n=void 0;Array.isArray?n=Array.isArray:n=function(Te){return Object.prototype.toString.call(Te)==="[object Array]"};var l=n,t=0,u=void 0,o=void 0,c=function(Te,mt){R[t]=Te,R[t+1]=mt,t+=2,t===2&&(o?o(F):K())};function h(lt){o=lt}function f(lt){c=lt}var w=typeof window!="undefined"?window:void 0,x=w||{},I=x.MutationObserver||x.WebKitMutationObserver,C=typeof self=="undefined"&&typeof L!="undefined"&&{}.toString.call(L)==="[object process]",N=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function S(){return function(){return L.nextTick(F)}}function E(){return typeof u!="undefined"?function(){u(F)}:B()}function T(){var lt=0,Te=new I(F),mt=document.createTextNode("");return Te.observe(mt,{characterData:!0}),function(){mt.data=lt=++lt%2}}function D(){var lt=new MessageChannel;return lt.port1.onmessage=F,function(){return lt.port2.postMessage(0)}}function B(){var lt=setTimeout;return function(){return lt(F,1)}}var R=new Array(1e3);function F(){for(var lt=0;lt<t;lt+=2){var Te=R[lt],mt=R[lt+1];Te(mt),R[lt]=void 0,R[lt+1]=void 0}t=0}function M(){try{var lt=Function("return this")().require("vertx");return u=lt.runOnLoop||lt.runOnContext,E()}catch(Te){return B()}}var K=void 0;C?K=S():I?K=T():N?K=D():w===void 0&&!0?K=M():K=B();function j(lt,Te){var mt=this,tn=new this.constructor(P);tn[k]===void 0&&ct(tn);var Vt=mt._state;if(Vt){var Yt=arguments[Vt-1];c(function(){return st(Vt,tn,Yt,mt._result)})}else pe(mt,tn,lt,Te);return tn}function H(lt){var Te=this;if(lt&&typeof lt=="object"&<.constructor===Te)return lt;var mt=new Te(P);return be(mt,lt),mt}var k=Math.random().toString(36).substring(2);function P(){}var z=void 0,Y=1,_=2;function G(){return new TypeError("You cannot resolve a promise with itself")}function J(){return new TypeError("A promises callback cannot return that same promise.")}function ue(lt,Te,mt,tn){try{lt.call(Te,mt,tn)}catch(Vt){return Vt}}function q(lt,Te,mt){c(function(tn){var Vt=!1,Yt=ue(mt,Te,function(Qt){if(Vt)return;Vt=!0,Te!==Qt?be(tn,Qt):ce(tn,Qt)},function(Qt){if(Vt)return;Vt=!0,Ee(tn,Qt)},"Settle: "+(tn._label||" unknown promise"));!Vt&&Yt&&(Vt=!0,Ee(tn,Yt))},lt)}function re(lt,Te){Te._state===Y?ce(lt,Te._result):Te._state===_?Ee(lt,Te._result):pe(Te,void 0,function(mt){return be(lt,mt)},function(mt){return Ee(lt,mt)})}function me(lt,Te,mt){Te.constructor===lt.constructor&&mt===j&&Te.constructor.resolve===H?re(lt,Te):mt===void 0?ce(lt,Te):i(mt)?q(lt,Te,mt):ce(lt,Te)}function be(lt,Te){if(lt===Te)Ee(lt,G());else if(s(Te)){var mt=void 0;try{mt=Te.then}catch(tn){Ee(lt,tn);return}me(lt,Te,mt)}else ce(lt,Te)}function ke(lt){lt._onerror&<._onerror(lt._result),Se(lt)}function ce(lt,Te){if(lt._state!==z)return;lt._result=Te,lt._state=Y,lt._subscribers.length!==0&&c(Se,lt)}function Ee(lt,Te){if(lt._state!==z)return;lt._state=_,lt._result=Te,c(ke,lt)}function pe(lt,Te,mt,tn){var Vt=lt._subscribers,Yt=Vt.length;lt._onerror=null,Vt[Yt]=Te,Vt[Yt+Y]=mt,Vt[Yt+_]=tn,Yt===0&<._state&&c(Se,lt)}function Se(lt){var Te=lt._subscribers,mt=lt._state;if(Te.length===0)return;for(var tn=void 0,Vt=void 0,Yt=lt._result,Qt=0;Qt<Te.length;Qt+=3)tn=Te[Qt],Vt=Te[Qt+mt],tn?st(mt,tn,Vt,Yt):Vt(Yt);lt._subscribers.length=0}function st(lt,Te,mt,tn){var Vt=i(mt),Yt=void 0,Qt=void 0,an=!0;if(Vt){try{Yt=mt(tn)}catch(on){an=!1,Qt=on}if(Te===Yt){Ee(Te,J());return}}else Yt=tn;Te._state!==z||(Vt&&an?be(Te,Yt):an===!1?Ee(Te,Qt):lt===Y?ce(Te,Yt):lt===_&&Ee(Te,Yt))}function qe(lt,Te){try{Te(function(tn){be(lt,tn)},function(tn){Ee(lt,tn)})}catch(mt){Ee(lt,mt)}}var tt=0;function Dt(){return tt++}function ct(lt){lt[k]=tt++,lt._state=void 0,lt._result=void 0,lt._subscribers=[]}function St(){return new Error("Array Methods must be provided an Array")}var rt=function(){function lt(Te,mt){this._instanceConstructor=Te,this.promise=new Te(P),this.promise[k]||ct(this.promise),l(mt)?(this.length=mt.length,this._remaining=mt.length,this._result=new Array(this.length),this.length===0?ce(this.promise,this._result):(this.length=this.length||0,this._enumerate(mt),this._remaining===0&&ce(this.promise,this._result))):Ee(this.promise,St())}return lt.prototype._enumerate=function(mt){for(var tn=0;this._state===z&&tn<mt.length;tn++)this._eachEntry(mt[tn],tn)},lt.prototype._eachEntry=function(mt,tn){var Vt=this._instanceConstructor,Yt=Vt.resolve;if(Yt===H){var Qt=void 0,an=void 0,on=!1;try{Qt=mt.then}catch(de){on=!0,an=de}if(Qt===j&&mt._state!==z)this._settledAt(mt._state,tn,mt._result);else if(typeof Qt!="function")this._remaining--,this._result[tn]=mt;else if(Vt===wt){var vt=new Vt(P);on?Ee(vt,an):me(vt,mt,Qt),this._willSettleAt(vt,tn)}else this._willSettleAt(new Vt(function(de){return de(mt)}),tn)}else this._willSettleAt(Yt(mt),tn)},lt.prototype._settledAt=function(mt,tn,Vt){var Yt=this.promise;Yt._state===z&&(this._remaining--,mt===_?Ee(Yt,Vt):this._result[tn]=Vt),this._remaining===0&&ce(Yt,this._result)},lt.prototype._willSettleAt=function(mt,tn){var Vt=this;pe(mt,void 0,function(Yt){return Vt._settledAt(Y,tn,Yt)},function(Yt){return Vt._settledAt(_,tn,Yt)})},lt}();function ht(lt){return new rt(this,lt).promise}function je(lt){var Te=this;return l(lt)?new Te(function(mt,tn){for(var Vt=lt.length,Yt=0;Yt<Vt;Yt++)Te.resolve(lt[Yt]).then(mt,tn)}):new Te(function(mt,tn){return tn(new TypeError("You must pass an array to race."))})}function Me(lt){var Te=this,mt=new Te(P);return Ee(mt,lt),mt}function Ne(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function it(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var wt=function(){function lt(Te){this[k]=Dt(),this._result=this._state=void 0,this._subscribers=[],P!==Te&&(typeof Te!="function"&&Ne(),this instanceof lt?qe(this,Te):it())}return lt.prototype.catch=function(mt){return this.then(null,mt)},lt.prototype.finally=function(mt){var tn=this,Vt=tn.constructor;return i(mt)?tn.then(function(Yt){return Vt.resolve(mt()).then(function(){return Yt})},function(Yt){return Vt.resolve(mt()).then(function(){throw Yt})}):tn.then(mt,mt)},lt}();wt.prototype.then=j,wt.all=ht,wt.race=je,wt.resolve=H,wt.reject=Me,wt._setScheduler=h,wt._setAsap=f,wt._asap=c;function jt(){var lt=void 0;if(typeof y!="undefined")lt=y;else if(typeof self!="undefined")lt=self;else try{lt=Function("return this")()}catch(tn){throw new Error("polyfill failed because global object is unavailable in this environment")}var Te=lt.Promise;if(Te){var mt=null;try{mt=Object.prototype.toString.call(Te.resolve())}catch(tn){}if(mt==="[object Promise]"&&!Te.cast)return}lt.Promise=wt}return wt.polyfill=jt,wt.Promise=wt,wt})},html2canvas:function(a){"use strict";a.exports=v},jspdf:function(a){"use strict";a.exports=g}},b={};function m(r){var a=b[r];if(a!==void 0)return a.exports;var s=b[r]={exports:{}};return A[r].call(s.exports,s,s.exports,m),s.exports}!function(){m.n=function(r){var a=r&&r.__esModule?function(){return r.default}:function(){return r};return m.d(a,{a}),a}}(),!function(){m.d=function(r,a){for(var s in a)m.o(a,s)&&!m.o(r,s)&&Object.defineProperty(r,s,{enumerable:!0,get:a[s]})}}(),!function(){m.o=function(r,a){return Object.prototype.hasOwnProperty.call(r,a)}}(),!function(){m.r=function(r){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})}}();var d={};return!function(){"use strict";/*!**********************!*\
|
|
|
!*** ./src/index.js ***!
|
|
|
\**********************/m.r(d);var r=m("./src/worker.js"),a=m("./src/plugin/jspdf-plugin.js"),s=m("./src/plugin/pagebreaks.js"),i=m("./src/plugin/hyperlinks.js"),n=function l(t,u){var o=new l.Worker(u);return t?o.from(t).save():o};n.Worker=r.default,d.default=n}(),d=d.default,d}()})}).call(this,e("IyRk"),e("Q2Ig"))},"1tlw":function(te,U,e){var y=e("MBQ8"),L=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(v){return v.stack=null,L.superApply(this,"getInitialData",arguments)}}),g=L;te.exports=g},"1u/T":function(te,U,e){var y=e("ProS"),L={type:"selectDataRange",event:"dataRangeSelected",update:"update"};y.registerAction(L,function(g,v){v.eachComponent({mainType:"visualMap",query:g},function(A){A.setSelected(g.selected)})})},"1vzs":function(te,U,e){"use strict";e.d(U,"a",function(){return t});var y=e("q1tI"),L=e.n(y),g=e("HQEm"),v=e.n(g),A=e("gZBC"),b=e.n(A),m=e("NAnI"),d=e.n(m),r=e("V/uB"),a=e.n(r),s=e("kbBi"),i=e.n(s),n=e("w6Tc"),l=e.n(n);function t(u){var o=u.suffixIcon,c=u.clearIcon,h=u.menuItemSelectedIcon,f=u.removeIcon,w=u.loading,x=u.multiple,I=u.prefixCls,C=c;c||(C=y.createElement(i.a,null));var N=null;if(o!==void 0)N=o;else if(w)N=y.createElement(b.a,{spin:!0});else{var S="".concat(I,"-suffix");N=function(B){var R=B.open,F=B.showSearch;return R&&F?y.createElement(l.a,{className:S}):y.createElement(v.a,{className:S})}}var E=null;h!==void 0?E=h:x?E=y.createElement(d.a,null):E=null;var T=null;return f!==void 0?T=f:T=y.createElement(a.a,null),{clearIcon:C,suffixIcon:N,itemIcon:E,removeIcon:T}}},"1xaR":function(te,U,e){var y=e("ProS"),L=e("bYtY");e("qgGe"),e("NA0q"),e("RPvy");var g=e("mOdp"),v=e("y3NT"),A=e("0/Rx");y.registerVisual(L.curry(g,"sunburst")),y.registerLayout(L.curry(v,"sunburst")),y.registerProcessor(L.curry(A,"sunburst"))},"24YM":function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.SensorTabIndex=U.SensorClassName=U.SizeSensorId=void 0;var y="size-sensor-id";U.SizeSensorId=y;var L="size-sensor-object";U.SensorClassName=L;var g="-1";U.SensorTabIndex=g},"2548":function(te,U,e){var y=e("ProS"),L=e("bYtY"),g=e("6GrX"),v=e("IUWy"),A=e("IwbS"),b=e("Qxkt"),m=e("gPAo"),d=e("eRkO"),r=y.extendComponentView({type:"toolbox",render:function(s,i,n,l){var t=this.group;if(t.removeAll(),!s.get("show"))return;var u=+s.get("itemSize"),o=s.get("feature")||{},c=this._features||(this._features={}),h=[];L.each(o,function(x,I){h.push(I)}),new m(this._featureNames||[],h).add(f).update(f).remove(L.curry(f,null)).execute(),this._featureNames=h;function f(x,I){var C=h[x],N=h[I],S=o[C],E=new b(S,s,s.ecModel),T;if(l&&l.newTitle!=null&&l.featureName===C&&(S.title=l.newTitle),C&&!N){if(a(C))T={model:E,onclick:E.option.onclick,featureName:C};else{var D=v.get(C);if(!D)return;T=new D(E,i,n)}c[C]=T}else{if(T=c[N],!T)return;T.model=E,T.ecModel=i,T.api=n}if(!C&&N){T.dispose&&T.dispose(i,n);return}if(!E.get("show")||T.unusable){T.remove&&T.remove(i,n);return}w(E,T,C),E.setIconStatus=function(B,R){var F=this.option,M=this.iconPaths;F.iconStatus=F.iconStatus||{},F.iconStatus[B]=R,M[B]&&M[B].trigger(R)},T.render&&T.render(E,i,n,l)}function w(x,I,C){var N=x.getModel("iconStyle"),S=x.getModel("emphasis.iconStyle"),E=I.getIcons?I.getIcons():x.get("icon"),T=x.get("title")||{};if(typeof E=="string"){var D=E,B=T;E={},T={},E[C]=D,T[C]=B}var R=x.iconPaths={};L.each(E,function(F,M){var K=A.createIcon(F,{},{x:-u/2,y:-u/2,width:u,height:u});K.setStyle(N.getItemStyle()),K.hoverStyle=S.getItemStyle(),K.setStyle({text:T[M],textAlign:S.get("textAlign"),textBorderRadius:S.get("textBorderRadius"),textPadding:S.get("textPadding"),textFill:null});var j=s.getModel("tooltip");j&&j.get("show")&&K.attr("tooltip",L.extend({content:T[M],formatter:j.get("formatter",!0)||function(){return T[M]},formatterParams:{componentType:"toolbox",name:M,title:T[M],$vars:["name","title"]},position:j.get("position",!0)||"bottom"},j.option)),A.setHoverStyle(K),s.get("showTitle")&&(K.__title=T[M],K.on("mouseover",function(){var H=S.getItemStyle(),k=s.get("orient")==="vertical"?s.get("right")==null?"right":"left":s.get("bottom")==null?"bottom":"top";K.setStyle({textFill:S.get("textFill")||H.fill||H.stroke||"#000",textBackgroundColor:S.get("textBackgroundColor"),textPosition:S.get("textPosition")||k})}).on("mouseout",function(){K.setStyle({textFill:null,textBackgroundColor:null})})),K.trigger(x.get("iconStatus."+M)||"normal"),t.add(K),K.on("click",L.bind(I.onclick,I,i,n,M)),R[M]=K})}d.layout(t,s,n),t.add(d.makeBackground(t.getBoundingRect(),s)),t.eachChild(function(x){var I=x.__title,C=x.hoverStyle;if(C&&I){var N=g.getBoundingRect(I,g.makeFont(C)),S=x.position[0]+t.position[0],E=x.position[1]+t.position[1]+u,T=!1;E+N.height>n.getHeight()&&(C.textPosition="top",T=!0);var D=T?-5-N.height:u+8;S+N.width/2>n.getWidth()?(C.textPosition=["100%",D],C.textAlign="right"):S-N.width/2<0&&(C.textPosition=[0,D],C.textAlign="left")}})},updateView:function(s,i,n,l){L.each(this._features,function(t){t.updateView&&t.updateView(t.model,i,n,l)})},remove:function(s,i){L.each(this._features,function(n){n.remove&&n.remove(s,i)}),this.group.removeAll()},dispose:function(s,i){L.each(this._features,function(n){n.dispose&&n.dispose(s,i)})}});function a(s){return s.indexOf("my")===0}te.exports=r},"2B6p":function(te,U){function e(y,L,g){var v=y.getZoom(),A=y.getCenter(),b=L.zoom,m=y.dataToPoint(A);if(L.dx!=null&&L.dy!=null){m[0]-=L.dx,m[1]-=L.dy;var A=y.pointToData(m);y.setCenter(A)}if(b!=null){if(g){var d=g.min||0,r=g.max||Infinity;b=Math.max(Math.min(v*b,r),d)/v}y.scale[0]*=b,y.scale[1]*=b;var a=y.position,s=(L.originX-a[0])*(b-1),i=(L.originY-a[1])*(b-1);a[0]-=s,a[1]-=i,y.updateTransform();var A=y.pointToData(m);y.setCenter(A),y.setZoom(b*v)}return{center:y.getCenter(),zoom:y.getZoom()}}U.updateCenterAndZoom=e},"2BaD":function(te,U,e){"use strict";var y=e("VTBJ"),L=e("q1tI"),g={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"},v=g,A=e("6VBw"),b=function(r,a){return L.createElement(A.a,Object(y.a)(Object(y.a)({},r),{},{ref:a,icon:v}))};b.displayName="CloseCircleOutlined";var m=U.a=L.forwardRef(b)},"2DNl":function(te,U,e){var y=e("IMiH"),L=e("loD1"),g=e("59Ip"),v=e("aKvl"),A=e("n1HI"),b=e("hX1E"),m=b.normalizeRadian,d=e("Sj9i"),r=e("hyiK"),a=y.CMD,s=Math.PI*2,i=1e-4;function n(I,C){return Math.abs(I-C)<i}var l=[-1,-1,-1],t=[-1,-1];function u(){var I=t[0];t[0]=t[1],t[1]=I}function o(I,C,N,S,E,T,D,B,R,F){if(F>C&&F>S&&F>T&&F>B||F<C&&F<S&&F<T&&F<B)return 0;var M=d.cubicRootAt(C,S,T,B,F,l);if(M===0)return 0;for(var K=0,j=-1,H,k,P=0;P<M;P++){var z=l[P],Y=z===0||z===1?.5:1,_=d.cubicAt(I,N,E,D,z);if(_<R)continue;j<0&&(j=d.cubicExtrema(C,S,T,B,t),t[1]<t[0]&&j>1&&u(),H=d.cubicAt(C,S,T,B,t[0]),j>1&&(k=d.cubicAt(C,S,T,B,t[1]))),j===2?z<t[0]?K+=H<C?Y:-Y:z<t[1]?K+=k<H?Y:-Y:K+=B<k?Y:-Y:z<t[0]?K+=H<C?Y:-Y:K+=B<H?Y:-Y}return K}function c(I,C,N,S,E,T,D,B){if(B>C&&B>S&&B>T||B<C&&B<S&&B<T)return 0;var R=d.quadraticRootAt(C,S,T,B,l);if(R===0)return 0;var F=d.quadraticExtremum(C,S,T);if(F>=0&&F<=1){for(var M=0,K=d.quadraticAt(C,S,T,F),j=0;j<R;j++){var H=l[j]===0||l[j]===1?.5:1,k=d.quadraticAt(I,N,E,l[j]);if(k<D)continue;l[j]<F?M+=K<C?H:-H:M+=T<K?H:-H}return M}else{var H=l[0]===0||l[0]===1?.5:1,k=d.quadraticAt(I,N,E,l[0]);return k<D?0:T<C?H:-H}}function h(I,C,N,S,E,T,D,B){if(B-=C,B>N||B<-N)return 0;var R=Math.sqrt(N*N-B*B);l[0]=-R,l[1]=R;var F=Math.abs(S-E);if(F<1e-4)return 0;if(F%s<1e-4){S=0,E=s;var M=T?1:-1;return D>=l[0]+I&&D<=l[1]+I?M:0}if(T){var R=S;S=m(E),E=m(R)}else S=m(S),E=m(E);S>E&&(E+=s);for(var K=0,j=0;j<2;j++){var H=l[j];if(H+I>D){var k=Math.atan2(B,H),M=T?1:-1;k<0&&(k=s+k),(k>=S&&k<=E||k+s>=S&&k+s<=E)&&(k>Math.PI/2&&k<Math.PI*1.5&&(M=-M),K+=M)}}return K}function f(I,C,N,S,E){for(var T=0,D=0,B=0,R=0,F=0,M=0;M<I.length;){var K=I[M++];K===a.M&&M>1&&(N||(T+=r(D,B,R,F,S,E))),M===1&&(D=I[M],B=I[M+1],R=D,F=B);switch(K){case a.M:R=I[M++],F=I[M++],D=R,B=F;break;case a.L:if(N){if(L.containStroke(D,B,I[M],I[M+1],C,S,E))return!0}else T+=r(D,B,I[M],I[M+1],S,E)||0;D=I[M++],B=I[M++];break;case a.C:if(N){if(g.containStroke(D,B,I[M++],I[M++],I[M++],I[M++],I[M],I[M+1],C,S,E))return!0}else T+=o(D,B,I[M++],I[M++],I[M++],I[M++],I[M],I[M+1],S,E)||0;D=I[M++],B=I[M++];break;case a.Q:if(N){if(v.containStroke(D,B,I[M++],I[M++],I[M],I[M+1],C,S,E))return!0}else T+=c(D,B,I[M++],I[M++],I[M],I[M+1],S,E)||0;D=I[M++],B=I[M++];break;case a.A:var j=I[M++],H=I[M++],k=I[M++],P=I[M++],z=I[M++],Y=I[M++];M+=1;var _=1-I[M++],G=Math.cos(z)*k+j,J=Math.sin(z)*P+H;M>1?T+=r(D,B,G,J,S,E):(R=G,F=J);var ue=(S-j)*P/k+j;if(N){if(A.containStroke(j,H,P,z,z+Y,_,C,ue,E))return!0}else T+=h(j,H,P,z,z+Y,_,ue,E);D=Math.cos(z+Y)*k+j,B=Math.sin(z+Y)*P+H;break;case a.R:R=D=I[M++],F=B=I[M++];var q=I[M++],re=I[M++],G=R+q,J=F+re;if(N){if(L.containStroke(R,F,G,F,C,S,E)||L.containStroke(G,F,G,J,C,S,E)||L.containStroke(G,J,R,J,C,S,E)||L.containStroke(R,J,R,F,C,S,E))return!0}else T+=r(G,F,G,J,S,E),T+=r(R,J,R,F,S,E);break;case a.Z:if(N){if(L.containStroke(D,B,R,F,C,S,E))return!0}else T+=r(D,B,R,F,S,E);D=R,B=F;break}}return!N&&!n(B,F)&&(T+=r(D,B,R,F,S,E)||0),T!==0}function w(I,C,N){return f(I,0,!1,C,N)}function x(I,C,N,S){return f(I,C,!0,N,S)}U.contain=w,U.containStroke=x},"2Qr1":function(te,U,e){"use strict";e.d(U,"d",function(){return r}),e.d(U,"c",function(){return s}),e.d(U,"e",function(){return i}),e.d(U,"b",function(){return t}),e.d(U,"f",function(){return u}),e.d(U,"g",function(){return o}),e.d(U,"a",function(){return c});var y=e("rePB"),L=e("KQm4"),g=e("T5bk"),v=e("U8pU"),A=e("VTBJ"),b=e("Kwbf"),m=e("WKfj");function d(h,f){var w=h.key,x;return"value"in h&&(x=h.value),w!=null?w:x!==void 0?x:"rc-index-key-".concat(f)}function r(h){var f=[];function w(x,I){x.forEach(function(C){I||!("options"in C)?f.push({key:d(C,f.length),groupOption:I,data:C}):(f.push({key:d(C,f.length),group:!0,data:C}),w(C.options,!0))})}return w(h,!1),f}function a(h){var f=Object(A.a)({},h);return"props"in f||Object.defineProperty(f,"props",{get:function(){return Object(b.a)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),f}}),f}function s(h,f){var w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},x=w.prevValueOptions,I=x===void 0?[]:x,C=new Map;return f.forEach(function(N){if(!N.group){var S=N.data;C.set(S.value,S)}}),h.map(function(N){var S=C.get(N);return S||(S=Object(A.a)({},I.find(function(E){return E._INTERNAL_OPTION_VALUE_===N}))),a(S)})}var i=function(f,w){var x=w.options,I=w.prevValue,C=w.labelInValue,N=w.optionLabelProp,S=s([f],x)[0],E={value:f},T,D=Object(m.d)(I);return C&&(T=D.find(function(B){return Object(v.a)(B)==="object"&&"value"in B?B.value===f:B.key===f})),T&&Object(v.a)(T)==="object"&&"label"in T?(E.label=T.label,S&&typeof T.label=="string"&&typeof S[N]=="string"&&T.label.trim()!==S[N].trim()&&Object(b.a)(!1,"`label` of `value` is not same as `label` in Select options.")):S&&N in S?E.label=S[N]:E.label=f,E.key=E.value,E};function n(h){return Object(m.d)(h).join("")}function l(h){return function(f,w){var x=f.toLowerCase();if("options"in w)return n(w.label).toLowerCase().includes(x);var I=w[h],C=n(I).toLowerCase();return C.includes(x)}}function t(h,f,w){var x=w.optionFilterProp,I=w.filterOption,C=[],N;return I===!1?f:(typeof I=="function"?N=I:N=l(x),f.forEach(function(S){if("options"in S){var E=N(h,S);if(E)C.push(S);else{var T=S.options.filter(function(D){return N(h,D)});T.length&&C.push(Object(A.a)(Object(A.a)({},S),{},{options:T}))}return}N(h,a(S))&&C.push(S)}),C)}function u(h,f){if(!f||!f.length)return null;var w=!1;function x(C,N){var S=Object(g.a)(N),E=S[0],T=S.slice(1);if(!E)return[C];var D=C.split(E);return w=w||D.length>1,D.reduce(function(B,R){return[].concat(Object(L.a)(B),Object(L.a)(x(R,T)))},[]).filter(function(B){return B})}var I=x(h,f);return w?I:null}function o(h,f){var w=s([h],f)[0];return w.disabled}function c(h,f,w,x){var I=Object(m.d)(f).slice().sort(),C=Object(L.a)(h),N=new Set;return h.forEach(function(S){S.options?S.options.forEach(function(E){N.add(E.value)}):N.add(S.value)}),I.forEach(function(S){var E=x?S.value:S;if(!N.has(E)){var T;C.push(x?(T={},Object(y.a)(T,w,S.label),Object(y.a)(T,"value",E),T):{value:E})}}),C}},"2dDv":function(te,U,e){var y=e("bYtY"),L=e("Fofx"),g=e("+TT/"),v=e("aX7z"),A=e("D1WM"),b=e("IwbS"),m=e("OELB"),d=e("72pK"),r=y.each,a=Math.min,s=Math.max,i=Math.floor,n=Math.ceil,l=m.round,t=Math.PI;function u(w,x,I){this._axesMap=y.createHashMap(),this._axesLayout={},this.dimensions=w.dimensions,this._rect,this._model=w,this._init(w,x,I)}u.prototype={type:"parallel",constructor:u,_init:function(w,x,I){var C=w.dimensions,N=w.parallelAxisIndex;r(C,function(S,E){var T=N[E],D=x.getComponent("parallelAxis",T),B=this._axesMap.set(S,new A(S,v.createScaleByModel(D),[0,0],D.get("type"),T)),R=B.type==="category";B.onBand=R&&D.get("boundaryGap"),B.inverse=D.get("inverse"),D.axis=B,B.model=D,B.coordinateSystem=D.coordinateSystem=this},this)},update:function(w,x){this._updateAxesFromSeries(this._model,w)},containPoint:function(w){var x=this._makeLayoutInfo(),I=x.axisBase,C=x.layoutBase,N=x.pixelDimIndex,S=w[1-N],E=w[N];return S>=I&&S<=I+x.axisLength&&E>=C&&E<=C+x.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(w,x){x.eachSeries(function(I){if(!w.contains(I,x))return;var C=I.getData();r(this.dimensions,function(N){var S=this._axesMap.get(N);S.scale.unionExtentFromData(C,C.mapDimension(N)),v.niceScaleExtent(S.scale,S.model)},this)},this)},resize:function(w,x){this._rect=g.getLayoutRect(w.getBoxLayoutParams(),{width:x.getWidth(),height:x.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var w=this._model,x=this._rect,I=["x","y"],C=["width","height"],N=w.get("layout"),S=N==="horizontal"?0:1,E=x[C[S]],T=[0,E],D=this.dimensions.length,B=o(w.get("axisExpandWidth"),T),R=o(w.get("axisExpandCount")||0,[0,D]),F=w.get("axisExpandable")&&D>3&&D>R&&R>1&&B>0&&E>0,M=w.get("axisExpandWindow"),K;if(M)K=o(M[1]-M[0],T),M[1]=M[0]+K;else{K=o(B*(R-1),T);var j=w.get("axisExpandCenter")||i(D/2);M=[B*j-K/2],M[1]=M[0]+K}var H=(E-K)/(D-R);H<3&&(H=0);var k=[i(l(M[0]/B,1))+1,n(l(M[1]/B,1))-1],P=H/B*M[0];return{layout:N,pixelDimIndex:S,layoutBase:x[I[S]],layoutLength:E,axisBase:x[I[1-S]],axisLength:x[C[1-S]],axisExpandable:F,axisExpandWidth:B,axisCollapseWidth:H,axisExpandWindow:M,axisCount:D,winInnerIndices:k,axisExpandWindow0Pos:P}},_layoutAxes:function(){var w=this._rect,x=this._axesMap,I=this.dimensions,C=this._makeLayoutInfo(),N=C.layout;x.each(function(S){var E=[0,C.axisLength],T=S.inverse?1:0;S.setExtent(E[T],E[1-T])}),r(I,function(S,E){var T=(C.axisExpandable?h:c)(E,C),D={horizontal:{x:T.position,y:C.axisLength},vertical:{x:0,y:T.position}},B={horizontal:t/2,vertical:0},R=[D[N].x+w.x,D[N].y+w.y],F=B[N],M=L.create();L.rotate(M,M,F),L.translate(M,M,R),this._axesLayout[S]={position:R,rotation:F,transform:M,axisNameAvailableWidth:T.axisNameAvailableWidth,axisLabelShow:T.axisLabelShow,nameTruncateMaxWidth:T.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(w){return this._axesMap.get(w)},dataToPoint:function(w,x){return this.axisCoordToPoint(this._axesMap.get(x).dataToCoord(w),x)},eachActiveState:function(w,x,I,C){I==null&&(I=0),C==null&&(C=w.count());var N=this._axesMap,S=this.dimensions,E=[],T=[];y.each(S,function(H){E.push(w.mapDimension(H)),T.push(N.get(H).model)});for(var D=this.hasAxisBrushed(),B=I;B<C;B++){var R;if(!D)R="normal";else{R="active";for(var F=w.getValues(E,B),M=0,K=S.length;M<K;M++){var j=T[M].getActiveState(F[M]);if(j==="inactive"){R="inactive";break}}}x(R,B)}},hasAxisBrushed:function(){for(var w=this.dimensions,x=this._axesMap,I=!1,C=0,N=w.length;C<N;C++)x.get(w[C]).model.getActiveState()!=="normal"&&(I=!0);return I},axisCoordToPoint:function(w,x){var I=this._axesLayout[x];return b.applyTransform([w,0],I.transform)},getAxisLayout:function(w){return y.clone(this._axesLayout[w])},getSlidedAxisExpandWindow:function(w){var x=this._makeLayoutInfo(),I=x.pixelDimIndex,C=x.axisExpandWindow.slice(),N=C[1]-C[0],S=[0,x.axisExpandWidth*(x.axisCount-1)];if(!this.containPoint(w))return{behavior:"none",axisExpandWindow:C};var E=w[I]-x.layoutBase-x.axisExpandWindow0Pos,T,D="slide",B=x.axisCollapseWidth,R=this._model.get("axisExpandSlideTriggerArea"),F=R[0]!=null;if(B)F&&B&&E<N*R[0]?(D="jump",T=E-N*R[2]):F&&B&&E>N*(1-R[0])?(D="jump",T=E-N*(1-R[2])):(T=E-N*R[1])>=0&&(T=E-N*(1-R[1]))<=0&&(T=0),T*=x.axisExpandWidth/B,T?d(T,C,S,"all"):D="none";else{var N=C[1]-C[0],M=S[1]*E/N;C=[s(0,M-N/2)],C[1]=a(S[1],C[0]+N),C[0]=C[1]-N}return{axisExpandWindow:C,behavior:D}}};function o(w,x){return a(s(w,x[0]),x[1])}function c(w,x){var I=x.layoutLength/(x.axisCount-1);return{position:I*w,axisNameAvailableWidth:I,axisLabelShow:!0}}function h(w,x){var I=x.layoutLength,C=x.axisExpandWidth,N=x.axisCount,S=x.axisCollapseWidth,E=x.winInnerIndices,T,D=S,B=!1,R;return w<E[0]?(T=w*S,R=S):w<=E[1]?(T=x.axisExpandWindow0Pos+w*C-x.axisExpandWindow[0],D=C,B=!0):(T=I-(N-1-w)*S,R=S),{position:T,axisNameAvailableWidth:D,axisLabelShow:B,nameTruncateMaxWidth:R}}var f=u;te.exports=f},"2fGM":function(te,U,e){var y=e("bYtY"),L=e("bLfw"),g=e("nkfE"),v=e("ICMv"),A=L.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});y.merge(A.prototype,v);var b={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function m(d,r){return r.type||(r.data?"category":"value")}g("angle",A,m,b.angle),g("radius",A,m,b.radius)},"2fM7":function(te,U,e){"use strict";var y=e("lSNA"),L=e.n(y),g=e("pVnL"),v=e.n(g),A=e("lwsE"),b=e.n(A),m=e("W8MJ"),d=e.n(m),r=e("7W2i"),a=e.n(r),s=e("LQ03"),i=e.n(s),n=e("q1tI"),l=e("BGR+"),t=e("TSYQ"),u=e.n(t),o=e("1OyB"),c=e("vuIU"),h=e("Ji7U"),f=e("LK+K"),w=e("rePB"),x=e("Ff2n"),I=e("ODXe"),C=e("4IlW"),N=e("bX4T"),S=e("YrtM"),E=e("+nKL"),T=e("8OUc"),D=function(Dt,ct){var St=Dt.prefixCls,rt=Dt.id,ht=Dt.flattenOptions,je=Dt.childrenAsData,Me=Dt.values,Ne=Dt.searchValue,it=Dt.multiple,wt=Dt.defaultActiveFirstOption,jt=Dt.height,lt=Dt.itemHeight,Te=Dt.notFoundContent,mt=Dt.open,tn=Dt.menuItemSelectedIcon,Vt=Dt.virtual,Yt=Dt.onSelect,Qt=Dt.onToggleOpen,an=Dt.onActiveValue,on=Dt.onScroll,vt=Dt.onMouseEnter,de="".concat(St,"-item"),he=Object(S.a)(function(){return ht},[mt,ht],function(Ft,Ye){return Ye[0]&&Ft[1]!==Ye[1]}),Pt=n.useRef(null),We=function(Ye){Ye.preventDefault()},Je=function(Ye){Pt.current&&Pt.current.scrollTo({index:Ye})},Ln=function(Ye){for(var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Jt=he.length,bn=0;bn<Jt;bn+=1){var An=(Ye+bn*Pe+Jt)%Jt,dn=he[An],vr=dn.group,qn=dn.data;if(!vr&&!qn.disabled)return An}return-1},jn=n.useState(function(){return Ln(0)}),Sn=Object(I.a)(jn,2),Xn=Sn[0],rr=Sn[1],hr=function(Ye){rr(Ye);var Pe=he[Ye];if(!Pe){an(null,-1);return}an(Pe.data.value,Ye)};n.useEffect(function(){hr(wt!==!1?Ln(0):-1)},[he.length,Ne]),n.useEffect(function(){var Ft=setTimeout(function(){if(!it&&mt&&Me.size===1){var Ye=Array.from(Me)[0],Pe=he.findIndex(function(Jt){var bn=Jt.data;return bn.value===Ye});hr(Pe),Je(Pe)}});return function(){return clearTimeout(Ft)}},[mt]);var gn=function(Ye){Ye!==void 0&&Yt(Ye,{selected:!Me.has(Ye)}),it||Qt(!1)};if(n.useImperativeHandle(ct,function(){return{onKeyDown:function(Ye){var Pe=Ye.which;switch(Pe){case C.a.UP:case C.a.DOWN:{var Jt=0;if(Pe===C.a.UP?Jt=-1:Pe===C.a.DOWN&&(Jt=1),Jt!==0){var bn=Ln(Xn+Jt,Jt);Je(bn),hr(bn)}break}case C.a.ENTER:{var An=he[Xn];An&&!An.data.disabled?gn(An.data.value):gn(void 0),mt&&Ye.preventDefault();break}case C.a.ESC:Qt(!1)}},onKeyUp:function(){},scrollTo:function(Ye){Je(Ye)}}}),he.length===0)return n.createElement("div",{role:"listbox",id:"".concat(rt,"_list"),className:"".concat(de,"-empty"),onMouseDown:We},Te);function vn(Ft){var Ye=he[Ft];if(!Ye)return null;var Pe=Ye.data||{},Jt=Pe.value,bn=Pe.label,An=Pe.children,dn=Object(N.a)(Pe,!0),vr=je?An:bn;return Ye?n.createElement("div",Object.assign({"aria-label":typeof vr=="string"?vr:null},dn,{key:Ft,role:"option",id:"".concat(rt,"_list_").concat(Ft),"aria-selected":Me.has(Jt)}),Jt):null}return n.createElement(n.Fragment,null,n.createElement("div",{role:"listbox",id:"".concat(rt,"_list"),style:{height:0,width:0,overflow:"hidden"}},vn(Xn-1),vn(Xn),vn(Xn+1)),n.createElement(E.a,{itemKey:"key",ref:Pt,data:he,height:jt,itemHeight:lt,fullHeight:!1,onMouseDown:We,onScroll:on,virtual:Vt,onMouseEnter:vt},function(Ft,Ye){var Pe,Jt=Ft.group,bn=Ft.groupOption,An=Ft.data,dn=An.label,vr=An.key;if(Jt)return n.createElement("div",{className:u()(de,"".concat(de,"-group"))},dn!==void 0?dn:vr);var qn=An.disabled,Ur=An.value,Ue=An.title,He=An.children,se=An.style,Ae=An.className,Oe=Object(x.a)(An,["disabled","value","title","children","style","className"]),ze=Me.has(Ur),Rt="".concat(de,"-option"),Et=u()(de,Rt,Ae,(Pe={},Object(w.a)(Pe,"".concat(Rt,"-grouped"),bn),Object(w.a)(Pe,"".concat(Rt,"-active"),Xn===Ye&&!qn),Object(w.a)(Pe,"".concat(Rt,"-disabled"),qn),Object(w.a)(Pe,"".concat(Rt,"-selected"),ze),Pe)),_t=je?He:dn,Nn=!tn||typeof tn=="function"||ze;return n.createElement("div",Object.assign({},Oe,{"aria-selected":ze,className:Et,title:Ue,onMouseMove:function(){if(Xn===Ye||qn)return;hr(Ye)},onClick:function(){qn||gn(Ur)},style:se}),n.createElement("div",{className:"".concat(Rt,"-content")},_t||Ur),n.isValidElement(tn)||ze,Nn&&n.createElement(T.a,{className:"".concat(de,"-option-state"),customizeIcon:tn,customizeIconProps:{isSelected:ze}},ze?"\u2713":null))}))},B=n.forwardRef(D);B.displayName="OptionList";var R=B,F=function(){return null};F.isSelectOption=!0;var M=F,K=function(){return null};K.isSelectOptGroup=!0;var j=K,H=e("VTBJ"),k=e("Zm9Q");function P(tt){var Dt=tt.key,ct=tt.props,St=ct.children,rt=ct.value,ht=Object(x.a)(ct,["children","value"]);return Object(H.a)({key:Dt,value:rt!==void 0?rt:Dt,children:St},ht)}function z(tt){var Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Object(k.a)(tt).map(function(ct,St){if(!n.isValidElement(ct)||!ct.type)return null;var rt=ct.type.isSelectOptGroup,ht=ct.key,je=ct.props,Me=je.children,Ne=Object(x.a)(je,["children"]);return Dt||!rt?P(ct):Object(H.a)(Object(H.a)({key:"__RC_SELECT_GRP__".concat(ht===null?St:ht,"__"),label:ht},Ne),{},{options:z(Me)})}).filter(function(ct){return ct})}var Y=e("2Qr1"),_=e("qNPg"),G=e("U8pU"),J=e("Kwbf"),ue=e("WKfj");function q(tt){var Dt=tt.mode,ct=tt.options,St=tt.children,rt=tt.backfill,ht=tt.allowClear,je=tt.placeholder,Me=tt.getInputElement,Ne=tt.showSearch,it=tt.onSearch,wt=tt.defaultOpen,jt=tt.autoFocus,lt=tt.labelInValue,Te=tt.value,mt=tt.inputValue,tn=tt.optionLabelProp,Vt=Dt==="multiple"||Dt==="tags",Yt=Ne!==void 0?Ne:Vt||Dt==="combobox",Qt=ct||z(St);if(Object(J.a)(Dt!=="tags"||Qt.every(function(de){return!de.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Dt==="tags"||Dt==="combobox"){var an=Qt.some(function(de){return de.options?de.options.some(function(he){return typeof("value"in he?he.value:he.key)=="number"}):typeof("value"in de?de.value:de.key)=="number"});Object(J.a)(!an,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(J.a)(Dt!=="combobox"||!tn,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(J.a)(Dt==="combobox"||!rt,"`backfill` only works with `combobox` mode."),Object(J.a)(Dt==="combobox"||!Me,"`getInputElement` only work with `combobox` mode."),Object(J.b)(Dt!=="combobox"||!Me||!ht||!je,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),it&&!Yt&&Dt!=="combobox"&&Dt!=="tags"&&Object(J.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(J.b)(!wt||jt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Te!=null){var on=Object(ue.d)(Te);Object(J.a)(!lt||on.every(function(de){return Object(G.a)(de)==="object"&&("key"in de||"value"in de)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(J.a)(!Vt||Array.isArray(Te),"`value` should be array when `mode` is `multiple` or `tags`")}if(St){var vt=null;Object(k.a)(St).some(function(de){if(!n.isValidElement(de)||!de.type)return!1;var he=de.type;if(he.isSelectOption)return!1;if(he.isSelectOptGroup){var Pt=Object(k.a)(de.props.children).every(function(We){return!n.isValidElement(We)||!de.type||We.type.isSelectOption?!0:(vt=We.type,!1)});return!Pt}return vt=he,!0}),vt&&Object(J.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(vt.displayName||vt.name||vt,"`.")),Object(J.a)(mt===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var re=q,me=Object(_.a)({prefixCls:"rc-select",components:{optionList:R},convertChildrenToData:z,flattenOptions:Y.d,getLabeledValue:Y.e,filterOptions:Y.b,isValueDisabled:Y.g,findValueOption:Y.c,warningProps:re,fillOptionsWithMissingValue:Y.a}),be=function(tt){Object(h.a)(ct,tt);var Dt=Object(f.a)(ct);function ct(){var St;return Object(o.a)(this,ct),St=Dt.apply(this,arguments),St.selectRef=n.createRef(),St.focus=function(){St.selectRef.current.focus()},St.blur=function(){St.selectRef.current.blur()},St}return Object(c.a)(ct,[{key:"render",value:function(){return n.createElement(me,Object.assign({ref:this.selectRef},this.props))}}]),ct}(n.Component);be.Option=M,be.OptGroup=j;var ke=be,ce=ke,Ee=e("H84U"),pe=e("1vzs"),Se=e("3Nzz"),st=function(tt){a()(ct,tt);var Dt=i()(ct);function ct(){var St;return b()(this,ct),St=Dt.apply(this,arguments),St.selectRef=n.createRef(),St.focus=function(){St.selectRef.current&&St.selectRef.current.focus()},St.blur=function(){St.selectRef.current&&St.selectRef.current.blur()},St.getMode=function(){var rt=St.props.mode;return rt==="combobox"?void 0:rt===ct.SECRET_COMBOBOX_MODE_DO_NOT_USE?"combobox":rt},St.renderSelect=function(rt){var ht=rt.getPopupContainer,je=rt.getPrefixCls,Me=rt.renderEmpty,Ne=rt.direction,it=rt.virtual,wt=rt.dropdownMatchSelectWidth,jt=St.props,lt=jt.prefixCls,Te=jt.notFoundContent,mt=jt.className,tn=jt.size,Vt=jt.listHeight,Yt=Vt===void 0?256:Vt,Qt=jt.listItemHeight,an=Qt===void 0?24:Qt,on=jt.getPopupContainer,vt=jt.dropdownClassName,de=jt.bordered,he=je("select",lt),Pt=St.getMode(),We=Pt==="multiple"||Pt==="tags",Je;Te!==void 0?Je=Te:Pt==="combobox"?Je=null:Je=Me("Select");var Ln=Object(pe.a)(v()(v()({},St.props),{multiple:We,prefixCls:he})),jn=Ln.suffixIcon,Sn=Ln.itemIcon,Xn=Ln.removeIcon,rr=Ln.clearIcon,hr=Object(l.default)(St.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered"]),gn=u()(vt,L()({},"".concat(he,"-dropdown-").concat(Ne),Ne==="rtl"));return n.createElement(Se.b.Consumer,null,function(vn){var Ft,Ye=tn||vn,Pe=u()(mt,(Ft={},L()(Ft,"".concat(he,"-lg"),Ye==="large"),L()(Ft,"".concat(he,"-sm"),Ye==="small"),L()(Ft,"".concat(he,"-rtl"),Ne==="rtl"),L()(Ft,"".concat(he,"-borderless"),!de),Ft));return n.createElement(ce,v()({ref:St.selectRef,virtual:it,dropdownMatchSelectWidth:wt},hr,{listHeight:Yt,listItemHeight:an,mode:Pt,prefixCls:he,direction:Ne,inputIcon:jn,menuItemSelectedIcon:Sn,removeIcon:Xn,clearIcon:rr,notFoundContent:Je,className:Pe,getPopupContainer:on||ht,dropdownClassName:gn}))})},St}return d()(ct,[{key:"render",value:function(){return n.createElement(Ee.a,null,this.renderSelect)}}]),ct}(n.Component);st.Option=M,st.OptGroup=j,st.SECRET_COMBOBOX_MODE_DO_NOT_USE="SECRET_COMBOBOX_MODE_DO_NOT_USE",st.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var qe=U.a=st},"2fw6":function(te,U,e){var y=e("y+Vt"),L=y.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(v,A,b){b&&v.moveTo(A.cx+A.r,A.cy),v.arc(A.cx,A.cy,A.r,0,Math.PI*2,!0)}});te.exports=L},"2jpz":function(te,U,e){"use strict";e.d(U,"a",function(){return c});var y=e("cDf5"),L=e.n(y),g=e("q1tI"),v=e.n(g),A=e("TSYQ"),b=e.n(A),m=e("gZBC"),d=e.n(m),r=e("vk+C"),a=e.n(r),s=e("pG52"),i=e.n(s),n=e("Csr3"),l=e.n(n),t=e("e5VY"),u=e.n(t),o=e("0n0R");function c(h,f,w,x){var I=x.isLeaf,C=x.expanded,N=x.loading;if(N)return g.createElement(d.a,{className:"".concat(h,"-switcher-loading-icon")});var S;if(w&&L()(w)==="object"&&(S=w.showLeafIcon),I)return w?L()(w)==="object"&&!S?g.createElement("span",{className:"".concat(h,"-switcher-leaf-line")}):g.createElement(a.a,{className:"".concat(h,"-switcher-line-icon")}):null;var E="".concat(h,"-switcher-icon");return Object(o.b)(f)?Object(o.a)(f,{className:b()(f.props.className||"",E)}):f||(w?C?g.createElement(i.a,{className:"".concat(h,"-switcher-line-icon")}):g.createElement(l.a,{className:"".concat(h,"-switcher-line-icon")}):g.createElement(u.a,{className:E}))}},"2oIt":function(te,U,e){"use strict";Object.defineProperty(U,"__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"};U.default=y},"2uGb":function(te,U,e){var y=e("ProS");e("ko1b"),e("s2lz"),e("RBEP");var L=e("kMLO"),g=e("nKiI");y.registerVisual(L),y.registerLayout(g)},"2w7y":function(te,U,e){var y=e("ProS");e("qMZE"),e("g0SD"),y.registerPreprocessor(function(L){L.markPoint=L.markPoint||{}})},"33Ds":function(te,U,e){var y=e("ProS"),L=e("b9oc"),g=e("Kagy"),v=e("IUWy"),A=g.toolbox.restore;function b(r){this.model=r}b.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:A.title};var m=b.prototype;m.onclick=function(r,a,s){L.clear(r),a.dispatchAction({type:"restore",from:this.uid})},v.register("restore",b),y.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(r,a){a.resetOption("recreate")});var d=b;te.exports=d},"3C/r":function(te,U){var e=function(g,v){this.image=g,this.repeat=v,this.type="pattern"};e.prototype.getCanvasPattern=function(L){return L.createPattern(this.image,this.repeat||"repeat")};var y=e;te.exports=y},"3CBa":function(te,U,e){var y=e("hydK"),L=y.createElement,g=e("bYtY"),v=e("SUKs"),A=e("y+Vt"),b=e("Dagg"),m=e("dqUG"),d=e("DBLp"),r=e("sW+o"),a=e("n6Mw"),s=e("vKoX"),i=e("P47w"),n=i.path,l=i.image,t=i.text;function u(E){return parseInt(E,10)}function o(E){return E instanceof A?n:E instanceof b?l:E instanceof m?t:n}function c(E,T){return T&&E&&T.parentNode!==E}function h(E,T,D){if(c(E,T)&&D){var B=D.nextSibling;B?E.insertBefore(T,B):E.appendChild(T)}}function f(E,T){if(c(E,T)){var D=E.firstChild;D?E.insertBefore(T,D):E.appendChild(T)}}function w(E,T){T&&E&&T.parentNode===E&&E.removeChild(T)}function x(E){return E.__textSvgEl}function I(E){return E.__svgEl}var C=function(T,D,B,R){this.root=T,this.storage=D,this._opts=B=g.extend({},B||{});var F=L("svg");F.setAttribute("xmlns","http://www.w3.org/2000/svg"),F.setAttribute("version","1.1"),F.setAttribute("baseProfile","full"),F.style.cssText="user-select:none;position:absolute;left:0;top:0;";var M=L("g");F.appendChild(M);var K=L("g");F.appendChild(K),this.gradientManager=new r(R,K),this.clipPathManager=new a(R,K),this.shadowManager=new s(R,K);var j=document.createElement("div");j.style.cssText="overflow:hidden;position:relative",this._svgDom=F,this._svgRoot=K,this._backgroundRoot=M,this._viewport=j,T.appendChild(j),j.appendChild(F),this.resize(B.width,B.height),this._visibleList=[]};C.prototype={constructor:C,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var T=this.getViewportRoot();if(T)return{offsetLeft:T.offsetLeft||0,offsetTop:T.offsetTop||0}},refresh:function(){var T=this.storage.getDisplayList(!0);this._paintList(T)},setBackgroundColor:function(T){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var D=L("rect");D.setAttribute("width",this.getWidth()),D.setAttribute("height",this.getHeight()),D.setAttribute("x",0),D.setAttribute("y",0),D.setAttribute("id",0),D.style.fill=T,this._backgroundRoot.appendChild(D),this._backgroundNode=D},_paintList:function(T){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var D=this._svgRoot,B=this._visibleList,R=T.length,F=[],M;for(M=0;M<R;M++){var K=T[M],j=o(K),H=I(K)||x(K);K.invisible||(K.__dirty&&(j&&j.brush(K),this.clipPathManager.update(K),K.style&&(this.gradientManager.update(K.style.fill),this.gradientManager.update(K.style.stroke),this.shadowManager.update(H,K)),K.__dirty=!1),F.push(K))}var k=d(B,F),P;for(M=0;M<k.length;M++){var z=k[M];if(z.removed)for(var Y=0;Y<z.count;Y++){var K=B[z.indices[Y]],H=I(K),_=x(K);w(D,H),w(D,_)}}for(M=0;M<k.length;M++){var z=k[M];if(z.added)for(var Y=0;Y<z.count;Y++){var K=F[z.indices[Y]],H=I(K),_=x(K);P?h(D,H,P):f(D,H),H?h(D,_,H):P?h(D,_,P):f(D,_),h(D,_,H),P=_||H||P,this.gradientManager.addWithoutUpdate(H||_,K),this.shadowManager.addWithoutUpdate(H||_,K),this.clipPathManager.markUsed(K)}else if(!z.removed)for(var Y=0;Y<z.count;Y++){var K=F[z.indices[Y]],H=I(K),_=x(K),H=I(K),_=x(K);this.gradientManager.markUsed(K),this.gradientManager.addWithoutUpdate(H||_,K),this.shadowManager.markUsed(K),this.shadowManager.addWithoutUpdate(H||_,K),this.clipPathManager.markUsed(K),_&&h(D,_,H),P=H||_||P}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=F},_getDefs:function(T){var D=this._svgDom,B=D.getElementsByTagName("defs");if(B.length===0)if(T){var B=D.insertBefore(L("defs"),D.firstChild);return B.contains||(B.contains=function(F){var M=B.children;if(!M)return!1;for(var K=M.length-1;K>=0;--K)if(M[K]===F)return!0;return!1}),B}else return null;else return B[0]},resize:function(T,D){var B=this._viewport;B.style.display="none";var R=this._opts;if(T!=null&&(R.width=T),D!=null&&(R.height=D),T=this._getSize(0),D=this._getSize(1),B.style.display="",this._width!==T||this._height!==D){this._width=T,this._height=D;var F=B.style;F.width=T+"px",F.height=D+"px";var M=this._svgDom;M.setAttribute("width",T),M.setAttribute("height",D)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",T),this._backgroundNode.setAttribute("height",D))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(T){var D=this._opts,B=["width","height"][T],R=["clientWidth","clientHeight"][T],F=["paddingLeft","paddingTop"][T],M=["paddingRight","paddingBottom"][T];if(D[B]!=null&&D[B]!=="auto")return parseFloat(D[B]);var K=this.root,j=document.defaultView.getComputedStyle(K);return(K[R]||u(j[B])||u(K.style[B]))-(u(j[F])||0)-(u(j[M])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){this.refresh();var T=encodeURIComponent(this._svgDom.outerHTML.replace(/></g,`>
|
|
|
\r<`));return"data:image/svg+xml;charset=UTF-8,"+T}};function N(E){return function(){v('In SVG mode painter not support method "'+E+'"')}}g.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],function(E){C.prototype[E]=N(E)});var S=C;te.exports=S},"3LNs":function(te,U,e){var y=e("bYtY"),L=e("Yl7c"),g=e("IwbS"),v=e("zTMp"),A=e("YH21"),b=e("iLNv"),m=e("4NO4"),d=m.makeInner,r=d(),a=y.clone,s=y.bind;function i(){}i.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(h,f,w,x){var I=f.get("value"),C=f.get("status");if(this._axisModel=h,this._axisPointerModel=f,this._api=w,!x&&this._lastValue===I&&this._lastStatus===C)return;this._lastValue=I,this._lastStatus=C;var N=this._group,S=this._handle;if(!C||C==="hide"){N&&N.hide(),S&&S.hide();return}N&&N.show(),S&&S.show();var E={};this.makeElOption(E,I,h,f,w);var T=E.graphicKey;T!==this._lastGraphicKey&&this.clear(w),this._lastGraphicKey=T;var D=this._moveAnimation=this.determineAnimation(h,f);if(!N)N=this._group=new g.Group,this.createPointerEl(N,E,h,f),this.createLabelEl(N,E,h,f),w.getZr().add(N);else{var B=y.curry(n,f,D);this.updatePointerEl(N,E,B,f),this.updateLabelEl(N,E,B,f)}o(N,f,!0),this._renderHandle(I)},remove:function(h){this.clear(h)},dispose:function(h){this.clear(h)},determineAnimation:function(h,f){var w=f.get("animation"),x=h.axis,I=x.type==="category",C=f.get("snap");if(!C&&!I)return!1;if(w==="auto"||w==null){var N=this.animationThreshold;if(I&&x.getBandWidth()>N)return!0;if(C){var S=v.getAxisInfo(h).seriesDataCount,E=x.getExtent();return Math.abs(E[0]-E[1])/S>N}return!1}return w===!0},makeElOption:function(h,f,w,x,I){},createPointerEl:function(h,f,w,x){var I=f.pointer;if(I){var C=r(h).pointerEl=new g[I.type](a(f.pointer));h.add(C)}},createLabelEl:function(h,f,w,x){if(f.label){var I=r(h).labelEl=new g.Rect(a(f.label));h.add(I),t(I,x)}},updatePointerEl:function(h,f,w){var x=r(h).pointerEl;x&&f.pointer&&(x.setStyle(f.pointer.style),w(x,{shape:f.pointer.shape}))},updateLabelEl:function(h,f,w,x){var I=r(h).labelEl;I&&(I.setStyle(f.label.style),w(I,{shape:f.label.shape,position:f.label.position}),t(I,x))},_renderHandle:function(h){if(this._dragging||!this.updateHandleTransform)return;var f=this._axisPointerModel,w=this._api.getZr(),x=this._handle,I=f.getModel("handle"),C=f.get("status");if(!I.get("show")||!C||C==="hide"){x&&w.remove(x),this._handle=null;return}var N;this._handle||(N=!0,x=this._handle=g.createIcon(I.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(T){A.stop(T.event)},onmousedown:s(this._onHandleDragMove,this,0,0),drift:s(this._onHandleDragMove,this),ondragend:s(this._onHandleDragEnd,this)}),w.add(x)),o(x,f,!1);var S=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];x.setStyle(I.getItemStyle(null,S));var E=I.get("size");y.isArray(E)||(E=[E,E]),x.attr("scale",[E[0]/2,E[1]/2]),b.createOrUpdate(this,"_doDispatchAxisPointer",I.get("throttle")||0,"fixRate"),this._moveHandleToValue(h,N)},_moveHandleToValue:function(h,f){n(this._axisPointerModel,!f&&this._moveAnimation,this._handle,u(this.getHandleTransform(h,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(h,f){var w=this._handle;if(!w)return;this._dragging=!0;var x=this.updateHandleTransform(u(w),[h,f],this._axisModel,this._axisPointerModel);this._payloadInfo=x,w.stopAnimation(),w.attr(u(x)),r(w).lastProp=null,this._doDispatchAxisPointer()},_doDispatchAxisPointer:function(){var h=this._handle;if(!h)return;var f=this._payloadInfo,w=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:f.cursorPoint[0],y:f.cursorPoint[1],tooltipOption:f.tooltipOption,axesInfo:[{axisDim:w.axis.dim,axisIndex:w.componentIndex}]})},_onHandleDragEnd:function(h){this._dragging=!1;var f=this._handle;if(!f)return;var w=this._axisPointerModel.get("value");this._moveHandleToValue(w),this._api.dispatchAction({type:"hideTip"})},getHandleTransform:null,updateHandleTransform:null,clear:function(h){this._lastValue=null,this._lastStatus=null;var f=h.getZr(),w=this._group,x=this._handle;f&&w&&(this._lastGraphicKey=null,w&&f.remove(w),x&&f.remove(x),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(h,f,w){return w=w||0,{x:h[w],y:h[1-w],width:f[w],height:f[1-w]}}},i.prototype.constructor=i;function n(h,f,w,x){l(r(w).lastProp,x)||(r(w).lastProp=x,f?g.updateProps(w,x,h):(w.stopAnimation(),w.attr(x)))}function l(h,f){if(y.isObject(h)&&y.isObject(f)){var w=!0;return y.each(f,function(x,I){w=w&&l(h[I],x)}),!!w}else return h===f}function t(h,f){h[f.get("label.show")?"show":"hide"]()}function u(h){return{position:h.position.slice(),rotation:h.rotation||0}}function o(h,f,w){var x=f.get("z"),I=f.get("zlevel");h&&h.traverse(function(C){C.type!=="group"&&(x!=null&&(C.z=x),I!=null&&(C.zlevel=I),C.silent=w)})}L.enableClassExtend(i);var c=i;te.exports=c},"3OrL":function(te,U,e){var y=e("bYtY"),L=e("6Ic6"),g=e("IwbS"),v=e("y+Vt"),A=["itemStyle"],b=["emphasis","itemStyle"],m=L.extend({type:"boxplot",render:function(n,l,t){var u=n.getData(),o=this.group,c=this._data;this._data||o.removeAll();var h=n.get("layout")==="horizontal"?1:0;u.diff(c).add(function(f){if(u.hasValue(f)){var w=u.getItemLayout(f),x=r(w,u,f,h,!0);u.setItemGraphicEl(f,x),o.add(x)}}).update(function(f,w){var x=c.getItemGraphicEl(w);if(!u.hasValue(f)){o.remove(x);return}var I=u.getItemLayout(f);x?a(I,x,u,f):x=r(I,u,f,h),o.add(x),u.setItemGraphicEl(f,x)}).remove(function(f){var w=c.getItemGraphicEl(f);w&&o.remove(w)}).execute(),this._data=u},remove:function(n){var l=this.group,t=this._data;this._data=null,t&&t.eachItemGraphicEl(function(u){u&&l.remove(u)})},dispose:y.noop}),d=v.extend({type:"boxplotBoxPath",shape:{},buildPath:function(n,l){var t=l.points,u=0;for(n.moveTo(t[u][0],t[u][1]),u++;u<4;u++)n.lineTo(t[u][0],t[u][1]);for(n.closePath();u<t.length;u++)n.moveTo(t[u][0],t[u][1]),u++,n.lineTo(t[u][0],t[u][1])}});function r(n,l,t,u,o){var c=n.ends,h=new d({shape:{points:o?s(c,u,n):c}});return a(n,h,l,t,o),h}function a(n,l,t,u,o){var c=t.hostModel,h=g[o?"initProps":"updateProps"];h(l,{shape:{points:n.ends}},c,u);var f=t.getItemModel(u),w=f.getModel(A),x=t.getItemVisual(u,"color"),I=w.getItemStyle(["borderColor"]);I.stroke=x,I.strokeNoScale=!0,l.useStyle(I),l.z2=100;var C=f.getModel(b).getItemStyle();g.setHoverStyle(l,C)}function s(n,l,t){return y.map(n,function(u){return u=u.slice(),u[l]=t.initBaseline,u})}var i=m;te.exports=i},"3S7+":function(te,U,e){"use strict";var y=e("lSNA"),L=e.n(y),g=e("J4zp"),v=e.n(g),A=e("pVnL"),b=e.n(A),m=e("q1tI"),d=e("U8pU"),r=e("VTBJ"),a=e("Ff2n"),s=e("uciX"),i={adjustX:1,adjustY:1},n=[0,0],l={left:{points:["cr","cl"],overflow:i,offset:[-4,0],targetOffset:n},right:{points:["cl","cr"],overflow:i,offset:[4,0],targetOffset:n},top:{points:["bc","tc"],overflow:i,offset:[0,-4],targetOffset:n},bottom:{points:["tc","bc"],overflow:i,offset:[0,4],targetOffset:n},topLeft:{points:["bl","tl"],overflow:i,offset:[0,-4],targetOffset:n},leftTop:{points:["tr","tl"],overflow:i,offset:[-4,0],targetOffset:n},topRight:{points:["br","tr"],overflow:i,offset:[0,-4],targetOffset:n},rightTop:{points:["tl","tr"],overflow:i,offset:[4,0],targetOffset:n},bottomRight:{points:["tr","br"],overflow:i,offset:[0,4],targetOffset:n},rightBottom:{points:["bl","br"],overflow:i,offset:[4,0],targetOffset:n},bottomLeft:{points:["tl","bl"],overflow:i,offset:[0,4],targetOffset:n},leftBottom:{points:["br","bl"],overflow:i,offset:[-4,0],targetOffset:n}},t=l,u=function(k){var P=k.overlay,z=k.prefixCls,Y=k.id,_=k.overlayInnerStyle;return m.createElement("div",{className:"".concat(z,"-inner"),id:Y,role:"tooltip",style:_},typeof P=="function"?P():P)},o=u,c=function(k,P){var z=k.overlayClassName,Y=k.trigger,_=Y===void 0?["hover"]:Y,G=k.mouseEnterDelay,J=G===void 0?0:G,ue=k.mouseLeaveDelay,q=ue===void 0?.1:ue,re=k.overlayStyle,me=k.prefixCls,be=me===void 0?"rc-tooltip":me,ke=k.children,ce=k.onVisibleChange,Ee=k.afterVisibleChange,pe=k.transitionName,Se=k.animation,st=k.placement,qe=st===void 0?"right":st,tt=k.align,Dt=tt===void 0?{}:tt,ct=k.destroyTooltipOnHide,St=ct===void 0?!1:ct,rt=k.defaultVisible,ht=k.getTooltipContainer,je=k.overlayInnerStyle,Me=Object(a.a)(k,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),Ne=Object(m.useRef)(null);Object(m.useImperativeHandle)(P,function(){return Ne.current});var it=Object(r.a)({},Me);"visible"in k&&(it.popupVisible=k.visible);var wt=function(){var tn=k.arrowContent,Vt=tn===void 0?null:tn,Yt=k.overlay,Qt=k.id;return[m.createElement("div",{className:"".concat(be,"-arrow"),key:"arrow"},Vt),m.createElement(o,{key:"content",prefixCls:be,id:Qt,overlay:Yt,overlayInnerStyle:je})]},jt=!1,lt=!1;if(typeof St=="boolean")jt=St;else if(St&&Object(d.a)(St)==="object"){var Te=St.keepParent;jt=Te===!0,lt=Te===!1}return m.createElement(s.a,Object.assign({popupClassName:z,prefixCls:be,popup:wt,action:_,builtinPlacements:l,popupPlacement:qe,ref:Ne,popupAlign:Dt,getPopupContainer:ht,onPopupVisibleChange:ce,afterPopupVisibleChange:Ee,popupTransitionName:pe,popupAnimation:Se,defaultPopupVisible:rt,destroyPopupOnHide:jt,autoDestroy:lt,mouseLeaveDelay:q,popupStyle:re,mouseEnterDelay:J},it),ke)},h=Object(m.forwardRef)(c),f=h,w=e("TSYQ"),x=e.n(w),I={adjustX:1,adjustY:1},C={adjustX:0,adjustY:0},N=[0,0];function S(H){return typeof H=="boolean"?H?I:C:b()(b()({},C),H)}function E(H){var k=H.arrowWidth,P=k===void 0?5:k,z=H.horizontalArrowShift,Y=z===void 0?16:z,_=H.verticalArrowShift,G=_===void 0?8:_,J=H.autoAdjustOverflow,ue={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:[-(Y+P),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(G+P)]},topRight:{points:["br","tc"],offset:[Y+P,-4]},rightTop:{points:["tl","cr"],offset:[4,-(G+P)]},bottomRight:{points:["tr","bc"],offset:[Y+P,4]},rightBottom:{points:["bl","cr"],offset:[4,G+P]},bottomLeft:{points:["tl","bc"],offset:[-(Y+P),4]},leftBottom:{points:["br","cl"],offset:[-4,G+P]}};return Object.keys(ue).forEach(function(q){ue[q]=H.arrowPointAtCenter?b()(b()({},ue[q]),{overflow:S(J),targetOffset:N}):b()(b()({},l[q]),{overflow:S(J)}),ue[q].ignoreShake=!0}),ue}var T=e("0n0R"),D=e("H84U"),B=e("09Wf"),R=function(k,P){var z={},Y=b()({},k);return P.forEach(function(_){k&&_ in k&&(z[_]=k[_],delete Y[_])}),{picked:z,omitted:Y}},F=new RegExp("^(".concat(B.a.join("|"),")(-inverse)?$"));function M(H,k){var P=H.type;if((P.__ANT_BUTTON===!0||P.__ANT_SWITCH===!0||P.__ANT_CHECKBOX===!0||H.type==="button")&&H.props.disabled){var z=R(H.props.style,["position","left","right","top","bottom","float","display","zIndex"]),Y=z.picked,_=z.omitted,G=b()(b()({display:"inline-block"},Y),{cursor:"not-allowed",width:H.props.block?"100%":null}),J=b()(b()({},_),{pointerEvents:"none"}),ue=Object(T.a)(H,{style:J,className:null});return m.createElement("span",{style:G,className:x()(H.props.className,"".concat(k,"-disabled-compatible-wrapper"))},ue)}return H}var K=m.forwardRef(function(H,k){var P,z=m.useContext(D.b),Y=z.getPopupContainer,_=z.getPrefixCls,G=z.direction,J=m.useState(!!H.visible||!!H.defaultVisible),ue=v()(J,2),q=ue[0],re=ue[1];m.useEffect(function(){"visible"in H&&re(H.visible)},[H.visible]);var me=function(){var Te=H.title,mt=H.overlay;return!Te&&!mt&&Te!==0},be=function(Te){"visible"in H||re(me()?!1:Te),H.onVisibleChange&&!me()&&H.onVisibleChange(Te)},ke=function(){var Te=H.builtinPlacements,mt=H.arrowPointAtCenter,tn=H.autoAdjustOverflow;return Te||E({arrowPointAtCenter:mt,autoAdjustOverflow:tn})},ce=function(Te,mt){var tn=ke(),Vt=Object.keys(tn).filter(function(an){return tn[an].points[0]===mt.points[0]&&tn[an].points[1]===mt.points[1]})[0];if(!Vt)return;var Yt=Te.getBoundingClientRect(),Qt={top:"50%",left:"50%"};Vt.indexOf("top")>=0||Vt.indexOf("Bottom")>=0?Qt.top="".concat(Yt.height-mt.offset[1],"px"):(Vt.indexOf("Top")>=0||Vt.indexOf("bottom")>=0)&&(Qt.top="".concat(-mt.offset[1],"px")),Vt.indexOf("left")>=0||Vt.indexOf("Right")>=0?Qt.left="".concat(Yt.width-mt.offset[0],"px"):(Vt.indexOf("right")>=0||Vt.indexOf("Left")>=0)&&(Qt.left="".concat(-mt.offset[0],"px")),Te.style.transformOrigin="".concat(Qt.left," ").concat(Qt.top)},Ee=function(){var Te=H.title,mt=H.overlay;return Te===0?Te:mt||Te||""},pe=H.prefixCls,Se=H.openClassName,st=H.getPopupContainer,qe=H.getTooltipContainer,tt=H.overlayClassName,Dt=H.color,ct=H.overlayInnerStyle,St=H.children,rt=_("tooltip",pe),ht=q;!("visible"in H)&&me()&&(ht=!1);var je=M(Object(T.b)(St)?St:m.createElement("span",null,St),rt),Me=je.props,Ne=x()(Me.className,L()({},Se||"".concat(rt,"-open"),!0)),it=x()(tt,(P={},L()(P,"".concat(rt,"-rtl"),G==="rtl"),L()(P,"".concat(rt,"-").concat(Dt),Dt&&F.test(Dt)),P)),wt,jt;return Dt&&!F.test(Dt)&&(wt=b()(b()({},ct),{background:Dt}),jt={background:Dt}),m.createElement(f,b()({},H,{prefixCls:rt,overlayClassName:it,getTooltipContainer:st||qe||Y,ref:k,builtinPlacements:ke(),overlay:Ee(),visible:ht,onVisibleChange:be,onPopupAlign:ce,overlayInnerStyle:wt,arrowContent:m.createElement("span",{className:"".concat(rt,"-arrow-content"),style:jt})}),ht?Object(T.a)(je,{className:Ne}):je)});K.displayName="Tooltip",K.defaultProps={placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var j=U.a=K},"3TkU":function(te,U,e){e("aTJb"),e("OlYY"),e("fc+c"),e("QUw5"),e("Swgg"),e("LBfv"),e("noeP")},"3X6L":function(te,U,e){var y=e("bYtY"),L=e("7a+S"),g=e("OKJ2"),v=L.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(v,g);var A=v;te.exports=A},"3e3G":function(te,U,e){var y=e("bYtY"),L=e("QuXc"),g=function(b,m,d,r,a){this.x=b==null?.5:b,this.y=m==null?.5:m,this.r=d==null?.5:d,this.type="radial",this.global=a||!1,L.call(this,r)};g.prototype={constructor:g},y.inherits(g,L);var v=g;te.exports=v},"3gBT":function(te,U){var e=2311;function y(){return e++}te.exports=y},"3hzK":function(te,U){var e={getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}};te.exports=e},"3m61":function(te,U){function e(L){return L instanceof Array||(L=[L,L]),L}function y(L){L.eachSeriesByType("graph",function(g){var v=g.getGraph(),A=g.getEdgeData(),b=e(g.get("edgeSymbol")),m=e(g.get("edgeSymbolSize")),d="lineStyle.color".split("."),r="lineStyle.opacity".split(".");A.setVisual("fromSymbol",b&&b[0]),A.setVisual("toSymbol",b&&b[1]),A.setVisual("fromSymbolSize",m&&m[0]),A.setVisual("toSymbolSize",m&&m[1]),A.setVisual("color",g.get(d)),A.setVisual("opacity",g.get(r)),A.each(function(a){var s=A.getItemModel(a),i=v.getEdgeByIndex(a),n=e(s.getShallow("symbol",!0)),l=e(s.getShallow("symbolSize",!0)),t=s.get(d),u=s.get(r);switch(t){case"source":t=i.node1.getVisual("color");break;case"target":t=i.node2.getVisual("color");break}n[0]&&i.setVisual("fromSymbol",n[0]),n[1]&&i.setVisual("toSymbol",n[1]),l[0]&&i.setVisual("fromSymbolSize",l[0]),l[1]&&i.setVisual("toSymbolSize",l[1]),i.setVisual("color",t),i.setVisual("opacity",u)})})}te.exports=y},"3zoK":function(te,U,e){var y=e("bYtY"),L=e("bLfw"),g=e("KCsZ"),v=e("nkfE"),A=e("OELB"),b=e("ICMv"),m=L.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return g([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(s){var i=this.activeIntervals=y.clone(s);if(i)for(var n=i.length-1;n>=0;n--)A.asc(i[n])},getActiveState:function(s){var i=this.activeIntervals;if(!i.length)return"normal";if(s==null||isNaN(s))return"inactive";if(i.length===1){var n=i[0];if(n[0]<=s&&s<=n[1])return"active"}else for(var l=0,t=i.length;l<t;l++)if(i[l][0]<=s&&s<=i[l][1])return"active";return"inactive"}}),d={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(m.prototype,b);function r(s,i){return i.type||(i.data?"category":"value")}v("parallel",m,r,d);var a=m;te.exports=a},"4Feb":function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("bYtY"),v=e("IwbS"),A=e("x3X8"),b=A.getDefaultLabel,m=e("MwEJ"),d=e("nVfU"),r=d.getLayoutOnAxis,a=e("gPAo"),s=e("T4UG"),i=e("Qxkt"),n=e("6Ic6"),l=e("sK/D"),t=l.createClipPath,u=e("qj72"),o=e("ANjR"),c=e("MHtr"),h=e("6usn"),f=e("Rx6q"),w=v.CACHED_LABEL_STYLE_PROPERTIES,x=["itemStyle"],I=["emphasis","itemStyle"],C=["label"],N=["emphasis","label"],S="e\0\0",E={cartesian2d:u,geo:o,singleAxis:c,polar:h,calendar:f};s.extend({type:"series.custom",dependencies:["grid","polar","geo","singleAxis","calendar"],defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,useTransform:!0,clip:!1},getInitialData:function(q,re){return m(this.getSource(),this)},getDataParams:function(q,re,me){var be=s.prototype.getDataParams.apply(this,arguments);return me&&(be.info=me.info),be}}),n.extend({type:"custom",_data:null,render:function(q,re,me,be){var ke=this._data,ce=q.getData(),Ee=this.group,pe=R(q,ce,re,me);ce.diff(ke).add(function(st){M(null,st,pe(st,be),q,Ee,ce)}).update(function(st,qe){var tt=ke.getItemGraphicEl(qe);M(tt,st,pe(st,be),q,Ee,ce)}).remove(function(st){var qe=ke.getItemGraphicEl(st);qe&&Ee.remove(qe)}).execute();var Se=q.get("clip",!0)?t(q.coordinateSystem,!1,q):null;Se?Ee.setClipPath(Se):Ee.removeClipPath(),this._data=ce},incrementalPrepareRender:function(q,re,me){this.group.removeAll(),this._data=null},incrementalRender:function(q,re,me,be,ke){var ce=re.getData(),Ee=R(re,ce,me,be);function pe(qe){qe.isGroup||(qe.incremental=!0,qe.useHoverLayer=!0)}for(var Se=q.start;Se<q.end;Se++){var st=M(null,Se,Ee(Se,ke),re,this.group,ce);st.traverse(pe)}},dispose:g.noop,filterForExposedEvent:function(q,re,me,be){var ke=re.element;if(ke==null||me.name===ke)return!0;for(;(me=me.parent)&&me!==this.group;)if(me.name===ke)return!0;return!1}});function T(q){var re=q.type,me;if(re==="path"){var be=q.shape,ke=be.width!=null&&be.height!=null?{x:be.x||0,y:be.y||0,width:be.width,height:be.height}:null,ce=G(be);me=v.makePath(ce,null,ke,be.layout||"center"),me.__customPathData=ce}else if(re==="image")me=new v.Image({}),me.__customImagePath=q.style.image;else if(re==="text")me=new v.Text({}),me.__customText=q.style.text;else if(re==="group")me=new v.Group;else{if(re==="compoundPath")throw new Error('"compoundPath" is not supported yet.');var Ee=v.getShapeClass(re);me=new Ee}return me.__customGraphicType=re,me.name=q.name,me}function D(q,re,me,be,ke,ce,Ee){var pe={},Se=me.style||{};if(me.shape&&(pe.shape=g.clone(me.shape)),me.position&&(pe.position=me.position.slice()),me.scale&&(pe.scale=me.scale.slice()),me.origin&&(pe.origin=me.origin.slice()),me.rotation&&(pe.rotation=me.rotation),q.type==="image"&&me.style){var st=pe.style={};g.each(["x","y","width","height"],function(Dt){B(Dt,st,Se,q.style,ce)})}if(q.type==="text"&&me.style){var st=pe.style={};g.each(["x","y"],function(ct){B(ct,st,Se,q.style,ce)}),!Se.hasOwnProperty("textFill")&&Se.fill&&(Se.textFill=Se.fill),!Se.hasOwnProperty("textStroke")&&Se.stroke&&(Se.textStroke=Se.stroke)}if(q.type!=="group"&&(q.useStyle(Se),ce)){q.style.opacity=0;var qe=Se.opacity;qe==null&&(qe=1),v.initProps(q,{style:{opacity:qe}},be,re)}ce?q.attr(pe):v.updateProps(q,pe,be,re),me.hasOwnProperty("z2")&&q.attr("z2",me.z2||0),me.hasOwnProperty("silent")&&q.attr("silent",me.silent),me.hasOwnProperty("invisible")&&q.attr("invisible",me.invisible),me.hasOwnProperty("ignore")&&q.attr("ignore",me.ignore),me.hasOwnProperty("info")&&q.attr("info",me.info);var tt=me.styleEmphasis;v.setElementHoverStyle(q,tt),Ee&&v.setAsHighDownDispatcher(q,tt!==!1)}function B(q,re,me,be,ke){me[q]!=null&&!ke&&(re[q]=me[q],me[q]=be[q])}function R(q,re,me,be){var ke=q.get("renderItem"),ce=q.coordinateSystem,Ee={};ce&&(Ee=ce.prepareCustoms?ce.prepareCustoms():E[ce.type](ce));var pe=g.defaults({getWidth:be.getWidth,getHeight:be.getHeight,getZr:be.getZr,getDevicePixelRatio:be.getDevicePixelRatio,value:ht,style:je,styleEmphasis:Me,visual:Ne,barLayout:it,currentSeriesIndices:wt,font:jt},Ee.api||{}),Se={context:{},seriesId:q.id,seriesName:q.name,seriesIndex:q.seriesIndex,coordSys:Ee.coordSys,dataInsideLength:re.count(),encode:F(q.getData())},st,qe=!0,tt,Dt,ct,St;return function(lt,Te){return st=lt,qe=!0,ke&&ke(g.defaults({dataIndexInside:lt,dataIndex:re.getRawIndex(lt),actionType:Te?Te.type:null},Se),pe)};function rt(lt){lt==null&&(lt=st),qe&&(tt=re.getItemModel(lt),Dt=tt.getModel(C),ct=tt.getModel(N),St=re.getItemVisual(lt,"color"),qe=!1)}function ht(lt,Te){return Te==null&&(Te=st),re.get(re.getDimension(lt||0),Te)}function je(lt,Te){Te==null&&(Te=st),rt(Te);var mt=tt.getModel(x).getItemStyle();St!=null&&(mt.fill=St);var tn=re.getItemVisual(Te,"opacity");tn!=null&&(mt.opacity=tn);var Vt=lt?z(lt,Dt):Dt;return v.setTextStyle(mt,Vt,null,{autoColor:St,isRectText:!0}),mt.text=Vt.getShallow("show")?g.retrieve2(q.getFormattedLabel(Te,"normal"),b(re,Te)):null,lt&&Y(mt,lt),mt}function Me(lt,Te){Te==null&&(Te=st),rt(Te);var mt=tt.getModel(I).getItemStyle(),tn=lt?z(lt,ct):ct;return v.setTextStyle(mt,tn,null,{isRectText:!0},!0),mt.text=tn.getShallow("show")?g.retrieve3(q.getFormattedLabel(Te,"emphasis"),q.getFormattedLabel(Te,"normal"),b(re,Te)):null,lt&&Y(mt,lt),mt}function Ne(lt,Te){return Te==null&&(Te=st),re.getItemVisual(Te,lt)}function it(lt){if(ce.getBaseAxis){var Te=ce.getBaseAxis();return r(g.defaults({axis:Te},lt),be)}}function wt(){return me.getCurrentSeriesIndices()}function jt(lt){return v.getFont(lt,me)}}function F(q){var re={};return g.each(q.dimensions,function(me,be){var ke=q.getDimensionInfo(me);if(!ke.isExtraCoord){var ce=ke.coordDim,Ee=re[ce]=re[ce]||[];Ee[ke.coordDimIndex]=be}}),re}function M(q,re,me,be,ke,ce){return q=K(q,re,me,be,ke,ce,!0),q&&ce.setItemGraphicEl(re,q),q}function K(q,re,me,be,ke,ce,Ee){var pe=!me;me=me||{};var Se=me.type,st=me.shape,qe=me.style;if(q&&(pe||Se!=null&&Se!==q.__customGraphicType||Se==="path"&&J(st)&&G(st)!==q.__customPathData||Se==="image"&&ue(qe,"image")&&qe.image!==q.__customImagePath||Se==="text"&&ue(st,"text")&&qe.text!==q.__customText)&&(ke.remove(q),q=null),pe)return;var tt=!q;return!q&&(q=T(me)),D(q,re,me,be,ce,tt,Ee),Se==="group"&&j(q,re,me,be,ce),ke.add(q),q}function j(q,re,me,be,ke){var ce=me.children,Ee=ce?ce.length:0,pe=me.$mergeChildren,Se=pe==="byName"||me.diffChildrenByName,st=pe===!1;if(!Ee&&!Se&&!st)return;if(Se){H({oldChildren:q.children()||[],newChildren:ce||[],dataIndex:re,animatableModel:be,group:q,data:ke});return}st&&q.removeAll();for(var qe=0;qe<Ee;qe++)ce[qe]&&K(q.childAt(qe),re,ce[qe],be,q,ke)}function H(q){new a(q.oldChildren,q.newChildren,k,k,q).add(P).update(P).remove(_).execute()}function k(q,re){var me=q&&q.name;return me!=null?me:S+re}function P(q,re){var me=this.context,be=q!=null?me.newChildren[q]:null,ke=re!=null?me.oldChildren[re]:null;K(ke,me.dataIndex,be,me.animatableModel,me.group,me.data)}function z(q,re){var me=new i({},re);return g.each(w,function(be,ke){q.hasOwnProperty(be)&&(me.option[ke]=q[be])}),me}function Y(q,re){for(var me in re)(re.hasOwnProperty(me)||!w.hasOwnProperty(me))&&(q[me]=re[me])}function _(q){var re=this.context,me=re.oldChildren[q];me&&re.group.remove(me)}function G(q){return q&&(q.pathData||q.d)}function J(q){return q&&(q.hasOwnProperty("pathData")||q.hasOwnProperty("d"))}function ue(q,re){return q&&q.hasOwnProperty(re)}},"4HMb":function(te,U,e){var y=e("bYtY"),L=e("6GrX"),g=e("4NO4"),v=g.makeInner,A=e("aX7z"),b=A.makeLabelFormatter,m=A.getOptionCategoryInterval,d=A.shouldShowAllLabels,r=v();function a(C){return C.type==="category"?i(C):t(C)}function s(C,N){return C.type==="category"?l(C,N):{ticks:C.scale.getTicks()}}function i(C){var N=C.getLabelModel(),S=n(C,N);return!N.get("show")||C.scale.isBlank()?{labels:[],labelCategoryInterval:S.labelCategoryInterval}:S}function n(C,N){var S=u(C,"labels"),E=m(N),T=o(S,E);if(T)return T;var D,B;return y.isFunction(E)?D=I(C,E):(B=E==="auto"?h(C):E,D=x(C,B)),c(S,E,{labels:D,labelCategoryInterval:B})}function l(C,N){var S=u(C,"ticks"),E=m(N),T=o(S,E);if(T)return T;var D,B;if((!N.get("show")||C.scale.isBlank())&&(D=[]),y.isFunction(E))D=I(C,E,!0);else if(E==="auto"){var R=n(C,C.getLabelModel());B=R.labelCategoryInterval,D=y.map(R.labels,function(F){return F.tickValue})}else B=E,D=x(C,B,!0);return c(S,E,{ticks:D,tickCategoryInterval:B})}function t(C){var N=C.scale.getTicks(),S=b(C);return{labels:y.map(N,function(E,T){return{formattedLabel:S(E,T),rawLabel:C.scale.getLabel(E),tickValue:E}})}}function u(C,N){return r(C)[N]||(r(C)[N]=[])}function o(C,N){for(var S=0;S<C.length;S++)if(C[S].key===N)return C[S].value}function c(C,N,S){return C.push({key:N,value:S}),S}function h(C){var N=r(C).autoInterval;return N!=null?N:r(C).autoInterval=C.calculateCategoryInterval()}function f(C){var N=w(C),S=b(C),E=(N.axisRotate-N.labelRotate)/180*Math.PI,T=C.scale,D=T.getExtent(),B=T.count();if(D[1]-D[0]<1)return 0;var R=1;B>40&&(R=Math.max(1,Math.floor(B/40)));for(var F=D[0],M=C.dataToCoord(F+1)-C.dataToCoord(F),K=Math.abs(M*Math.cos(E)),j=Math.abs(M*Math.sin(E)),H=0,k=0;F<=D[1];F+=R){var P=0,z=0,Y=L.getBoundingRect(S(F),N.font,"center","top");P=Y.width*1.3,z=Y.height*1.3,H=Math.max(H,P,7),k=Math.max(k,z,7)}var _=H/K,G=k/j;isNaN(_)&&(_=Infinity),isNaN(G)&&(G=Infinity);var J=Math.max(0,Math.floor(Math.min(_,G))),ue=r(C.model),q=C.getExtent(),re=ue.lastAutoInterval,me=ue.lastTickCount;return re!=null&&me!=null&&Math.abs(re-J)<=1&&Math.abs(me-B)<=1&&re>J&&ue.axisExtend0===q[0]&&ue.axisExtend1===q[1]?J=re:(ue.lastTickCount=B,ue.lastAutoInterval=J,ue.axisExtend0=q[0],ue.axisExtend1=q[1]),J}function w(C){var N=C.getLabelModel();return{axisRotate:C.getRotate?C.getRotate():C.isHorizontal&&!C.isHorizontal()?90:0,labelRotate:N.get("rotate")||0,font:N.getFont()}}function x(C,N,S){var E=b(C),T=C.scale,D=T.getExtent(),B=C.getLabelModel(),R=[],F=Math.max((N||0)+1,1),M=D[0],K=T.count();M!==0&&F>1&&K/F>2&&(M=Math.round(Math.ceil(M/F)*F));var j=d(C),H=B.get("showMinLabel")||j,k=B.get("showMaxLabel")||j;H&&M!==D[0]&&z(D[0]);for(var P=M;P<=D[1];P+=F)z(P);k&&P-F!==D[1]&&z(D[1]);function z(Y){R.push(S?Y:{formattedLabel:E(Y),rawLabel:T.getLabel(Y),tickValue:Y})}return R}function I(C,N,S){var E=C.scale,T=b(C),D=[];return y.each(E.getTicks(),function(B){var R=E.getLabel(B);N(B,R)&&D.push(S?B:{formattedLabel:T(B),rawLabel:R,tickValue:B})}),D}U.createAxisLabels=a,U.createAxisTicks=s,U.calculateCategoryInterval=f},"4NO4":function(te,U,e){var y=e("bYtY"),L=e("ItGF"),g=y.each,v=y.isObject,A=y.isArray,b="series\0";function m(S){return S instanceof Array?S:S==null?[]:[S]}function d(S,E,T){if(S){S[E]=S[E]||{},S.emphasis=S.emphasis||{},S.emphasis[E]=S.emphasis[E]||{};for(var D=0,B=T.length;D<B;D++){var R=T[D];!S.emphasis[E].hasOwnProperty(R)&&S[E].hasOwnProperty(R)&&(S.emphasis[E][R]=S[E][R])}}}var r=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function a(S){return v(S)&&!A(S)&&!(S instanceof Date)?S.value:S}function s(S){return v(S)&&!(S instanceof Array)}function i(S,E){E=(E||[]).slice();var T=y.map(S||[],function(D,B){return{exist:D}});return g(E,function(D,B){if(!v(D))return;for(var R=0;R<T.length;R++)if(!T[R].option&&D.id!=null&&T[R].exist.id===D.id+""){T[R].option=D,E[B]=null;return}for(var R=0;R<T.length;R++){var F=T[R].exist;if(!T[R].option&&(F.id==null||D.id==null)&&D.name!=null&&!t(D)&&!t(F)&&F.name===D.name+""){T[R].option=D,E[B]=null;return}}}),g(E,function(D,B){if(!v(D))return;for(var R=0;R<T.length;R++){var F=T[R].exist;if(!T[R].option&&!t(F)&&D.id==null){T[R].option=D;break}}R>=T.length&&T.push({option:D})}),T}function n(S){var E=y.createHashMap();g(S,function(T,D){var B=T.exist;B&&E.set(B.id,T)}),g(S,function(T,D){var B=T.option;y.assert(!B||B.id==null||!E.get(B.id)||E.get(B.id)===T,"id duplicates: "+(B&&B.id)),B&&B.id!=null&&E.set(B.id,T),!T.keyInfo&&(T.keyInfo={})}),g(S,function(T,D){var B=T.exist,R=T.option,F=T.keyInfo;if(!v(R))return;if(F.name=R.name!=null?R.name+"":B?B.name:b+D,B)F.id=B.id;else if(R.id!=null)F.id=R.id+"";else{var M=0;do F.id="\0"+F.name+"\0"+M++;while(E.get(F.id))}E.set(F.id,T)})}function l(S){var E=S.name;return!!(E&&E.indexOf(b))}function t(S){return v(S)&&S.id&&(S.id+"").indexOf("\0_ec_\0")===0}function u(S,E){var T={},D={};return B(S||[],T),B(E||[],D,T),[R(T),R(D)];function B(F,M,K){for(var j=0,H=F.length;j<H;j++)for(var k=F[j].seriesId,P=m(F[j].dataIndex),z=K&&K[k],Y=0,_=P.length;Y<_;Y++){var G=P[Y];z&&z[G]?z[G]=null:(M[k]||(M[k]={}))[G]=1}}function R(F,M){var K=[];for(var j in F)if(F.hasOwnProperty(j)&&F[j]!=null)if(M)K.push(+j);else{var H=R(F[j],!0);H.length&&K.push({seriesId:j,dataIndex:H})}return K}}function o(S,E){if(E.dataIndexInside!=null)return E.dataIndexInside;if(E.dataIndex!=null)return y.isArray(E.dataIndex)?y.map(E.dataIndex,function(T){return S.indexOfRawIndex(T)}):S.indexOfRawIndex(E.dataIndex);if(E.name!=null)return y.isArray(E.name)?y.map(E.name,function(T){return S.indexOfName(T)}):S.indexOfName(E.name)}function c(){var S="__\0ec_inner_"+h+++"_"+Math.random().toFixed(5);return function(E){return E[S]||(E[S]={})}}var h=0;function f(S,E,T){if(y.isString(E)){var D={};D[E+"Index"]=0,E=D}var B=T&&T.defaultMainType;B&&!w(E,B+"Index")&&!w(E,B+"Id")&&!w(E,B+"Name")&&(E[B+"Index"]=0);var R={};return g(E,function(F,M){var F=E[M];if(M==="dataIndex"||M==="dataIndexInside"){R[M]=F;return}var K=M.match(/^(\w+)(Index|Id|Name)$/)||[],j=K[1],H=(K[2]||"").toLowerCase();if(!j||!H||F==null||H==="index"&&F==="none"||T&&T.includeMainTypes&&y.indexOf(T.includeMainTypes,j)<0)return;var k={mainType:j};(H!=="index"||F!=="all")&&(k[H]=F);var P=S.queryComponents(k);R[j+"Models"]=P,R[j+"Model"]=P[0]}),R}function w(S,E){return S&&S.hasOwnProperty(E)}function x(S,E,T){S.setAttribute?S.setAttribute(E,T):S[E]=T}function I(S,E){return S.getAttribute?S.getAttribute(E):S[E]}function C(S){return S==="auto"?L.domSupported?"html":"richText":S||"html"}function N(S,E){var T=y.createHashMap(),D=[];return y.each(S,function(B){var R=E(B);(T.get(R)||(D.push(R),T.set(R,[]))).push(B)}),{keys:D,buckets:T}}U.normalizeToArray=m,U.defaultEmphasis=d,U.TEXT_STYLE_OPTIONS=r,U.getDataItemValue=a,U.isDataItemOption=s,U.mappingToExists=i,U.makeIdAndName=n,U.isNameSpecified=l,U.isIdInner=t,U.compressBatches=u,U.queryDataIndex=o,U.makeInner=c,U.parseFinder=f,U.setAttribute=x,U.getAttribute=I,U.getTooltipRenderMode=C,U.groupData=N},"4NgU":function(te,U,e){var y=e("Yl7c");function L(v){this._setting=v||{},this._extent=[Infinity,-Infinity],this._interval=0,this.init&&this.init.apply(this,arguments)}L.prototype.parse=function(v){return v},L.prototype.getSetting=function(v){return this._setting[v]},L.prototype.contain=function(v){var A=this._extent;return v>=A[0]&&v<=A[1]},L.prototype.normalize=function(v){var A=this._extent;return A[1]===A[0]?.5:(v-A[0])/(A[1]-A[0])},L.prototype.scale=function(v){var A=this._extent;return v*(A[1]-A[0])+A[0]},L.prototype.unionExtent=function(v){var A=this._extent;v[0]<A[0]&&(A[0]=v[0]),v[1]>A[1]&&(A[1]=v[1])},L.prototype.unionExtentFromData=function(v,A){this.unionExtent(v.getApproximateExtent(A))},L.prototype.getExtent=function(){return this._extent.slice()},L.prototype.setExtent=function(v,A){var b=this._extent;isNaN(v)||(b[0]=v),isNaN(A)||(b[1]=A)},L.prototype.isBlank=function(){return this._isBlank},L.prototype.setBlank=function(v){this._isBlank=v},L.prototype.getLabel=null,y.enableClassExtend(L),y.enableClassManagement(L,{registerWhenExtend:!0});var g=L;te.exports=g},"4fz+":function(te,U,e){var y=e("bYtY"),L=e("1bdT"),g=e("mFDi"),v=function(m){m=m||{},L.call(this,m);for(var d in m)m.hasOwnProperty(d)&&(this[d]=m[d]);this._children=[],this.__storage=null,this.__dirty=!0};v.prototype={constructor:v,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(m){return this._children[m]},childOfName:function(m){for(var d=this._children,r=0;r<d.length;r++)if(d[r].name===m)return d[r]},childCount:function(){return this._children.length},add:function(m){return m&&m!==this&&m.parent!==this&&(this._children.push(m),this._doAdd(m)),this},addBefore:function(m,d){if(m&&m!==this&&m.parent!==this&&d&&d.parent===this){var r=this._children,a=r.indexOf(d);a>=0&&(r.splice(a,0,m),this._doAdd(m))}return this},_doAdd:function(m){m.parent&&m.parent.remove(m),m.parent=this;var d=this.__storage,r=this.__zr;d&&d!==m.__storage&&(d.addToStorage(m),m instanceof v&&m.addChildrenToStorage(d)),r&&r.refresh()},remove:function(m){var d=this.__zr,r=this.__storage,a=this._children,s=y.indexOf(a,m);return s<0?this:(a.splice(s,1),m.parent=null,r&&(r.delFromStorage(m),m instanceof v&&m.delChildrenFromStorage(r)),d&&d.refresh(),this)},removeAll:function(){var m=this._children,d=this.__storage,r,a;for(a=0;a<m.length;a++)r=m[a],d&&(d.delFromStorage(r),r instanceof v&&r.delChildrenFromStorage(d)),r.parent=null;return m.length=0,this},eachChild:function(m,d){for(var r=this._children,a=0;a<r.length;a++){var s=r[a];m.call(d,s,a)}return this},traverse:function(m,d){for(var r=0;r<this._children.length;r++){var a=this._children[r];m.call(d,a),a.type==="group"&&a.traverse(m,d)}return this},addChildrenToStorage:function(m){for(var d=0;d<this._children.length;d++){var r=this._children[d];m.addToStorage(r),r instanceof v&&r.addChildrenToStorage(m)}},delChildrenFromStorage:function(m){for(var d=0;d<this._children.length;d++){var r=this._children[d];m.delFromStorage(r),r instanceof v&&r.delChildrenFromStorage(m)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(m){for(var d=null,r=new g(0,0,0,0),a=m||this._children,s=[],i=0;i<a.length;i++){var n=a[i];if(n.ignore||n.invisible)continue;var l=n.getBoundingRect(),t=n.getLocalTransform(s);t?(r.copy(l),r.applyTransform(t),d=d||r.clone(),d.union(r)):(d=d||l.clone(),d.union(l))}return d||r}},y.inherits(v,L);var A=v;te.exports=A},"4i/N":function(te,U,e){"use strict";var y=e("VTBJ"),L=e("q1tI"),g={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"},v=g,A=e("6VBw"),b=function(r,a){return L.createElement(A.a,Object(y.a)(Object(y.a)({},r),{},{ref:a,icon:v}))};b.displayName="CloseOutlined";var m=U.a=L.forwardRef(b)},"4mN7":function(te,U,e){var y=e("QBsz"),L=e("Sj9i"),g=Math.min,v=Math.max,A=Math.sin,b=Math.cos,m=Math.PI*2,d=y.create(),r=y.create(),a=y.create();function s(c,h,f){if(c.length===0)return;var w=c[0],x=w[0],I=w[0],C=w[1],N=w[1],S;for(S=1;S<c.length;S++)w=c[S],x=g(x,w[0]),I=v(I,w[0]),C=g(C,w[1]),N=v(N,w[1]);h[0]=x,h[1]=C,f[0]=I,f[1]=N}function i(c,h,f,w,x,I){x[0]=g(c,f),x[1]=g(h,w),I[0]=v(c,f),I[1]=v(h,w)}var n=[],l=[];function t(c,h,f,w,x,I,C,N,S,E){var T=L.cubicExtrema,D=L.cubicAt,B,R=T(c,f,x,C,n);for(S[0]=Infinity,S[1]=Infinity,E[0]=-Infinity,E[1]=-Infinity,B=0;B<R;B++){var F=D(c,f,x,C,n[B]);S[0]=g(F,S[0]),E[0]=v(F,E[0])}for(R=T(h,w,I,N,l),B=0;B<R;B++){var M=D(h,w,I,N,l[B]);S[1]=g(M,S[1]),E[1]=v(M,E[1])}S[0]=g(c,S[0]),E[0]=v(c,E[0]),S[0]=g(C,S[0]),E[0]=v(C,E[0]),S[1]=g(h,S[1]),E[1]=v(h,E[1]),S[1]=g(N,S[1]),E[1]=v(N,E[1])}function u(c,h,f,w,x,I,C,N){var S=L.quadraticExtremum,E=L.quadraticAt,T=v(g(S(c,f,x),1),0),D=v(g(S(h,w,I),1),0),B=E(c,f,x,T),R=E(h,w,I,D);C[0]=g(c,x,B),C[1]=g(h,I,R),N[0]=v(c,x,B),N[1]=v(h,I,R)}function o(c,h,f,w,x,I,C,N,S){var E=y.min,T=y.max,D=Math.abs(x-I);if(D%m<1e-4&&D>1e-4){N[0]=c-f,N[1]=h-w,S[0]=c+f,S[1]=h+w;return}if(d[0]=b(x)*f+c,d[1]=A(x)*w+h,r[0]=b(I)*f+c,r[1]=A(I)*w+h,E(N,d,r),T(S,d,r),x=x%m,x<0&&(x=x+m),I=I%m,I<0&&(I=I+m),x>I&&!C?I+=m:x<I&&C&&(x+=m),C){var B=I;I=x,x=B}for(var R=0;R<I;R+=Math.PI/2)R>x&&(a[0]=b(R)*f+c,a[1]=A(R)*w+h,E(N,a,N),T(S,a,S))}U.fromPoints=s,U.fromLine=i,U.fromCubic=t,U.fromQuadratic=u,U.fromArc=o},"4vCz":function(te,U,e){"use strict";var y=e("284h"),L=e("TqRt");Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var g=L(e("3tO9")),v=y(e("q1tI")),A=L(e("X2/X")),b=L(e("KQxl")),m=function(a,s){return v.createElement(b.default,(0,g.default)((0,g.default)({},a),{},{ref:s,icon:A.default}))};m.displayName="PlusSquareOutlined";var d=v.forwardRef(m);U.default=d},"4xFK":function(te,U,e){"use strict";Object.defineProperty(U,"__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"};U.default=y},"56rv":function(te,U,e){var y=e("IwbS"),L=e("x3X8"),g=L.getDefaultLabel;function v(b,m,d,r,a,s,i){var n=d.getModel("label"),l=d.getModel("emphasis.label");y.setLabelStyle(b,m,n,l,{labelFetcher:a,labelDataIndex:s,defaultText:g(a.getData(),s),isRectText:!0,autoColor:r}),A(b),A(m)}function A(b,m){b.textPosition==="outside"&&(b.textPosition=m)}U.setLabel=v},"59Ip":function(te,U,e){var y=e("Sj9i");function L(g,v,A,b,m,d,r,a,s,i,n){if(s===0)return!1;var l=s;if(n>v+l&&n>b+l&&n>d+l&&n>a+l||n<v-l&&n<b-l&&n<d-l&&n<a-l||i>g+l&&i>A+l&&i>m+l&&i>r+l||i<g-l&&i<A-l&&i<m-l&&i<r-l)return!1;var t=y.cubicProjectPoint(g,v,A,b,m,d,r,a,i,n,null);return t<=l/2}U.containStroke=L},"5Dmo":function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("5YgA"),v=e.n(g)},"5GOC":function(te,U,e){"use strict";var y=e("cIOH"),L=e("b56q"),g=e("15/o")},"5GhG":function(te,U,e){var y=e("5GtS"),L=e("bYtY"),g=e("L0Ub"),v=g.getDimensionTypeByAxis,A=e("D5nY"),b=A.makeSeriesEncodeForAxisCoordSys,m={_baseAxisDim:null,getInitialData:function(d,r){var a,s=r.getComponent("xAxis",this.get("xAxisIndex")),i=r.getComponent("yAxis",this.get("yAxisIndex")),n=s.get("type"),l=i.get("type"),t;n==="category"?(d.layout="horizontal",a=s.getOrdinalMeta(),t=!0):l==="category"?(d.layout="vertical",a=i.getOrdinalMeta(),t=!0):d.layout=d.layout||"horizontal";var u=["x","y"],o=d.layout==="horizontal"?0:1,c=this._baseAxisDim=u[o],h=u[1-o],f=[s,i],w=f[o].get("type"),x=f[1-o].get("type"),I=d.data;if(I&&t){var C=[];L.each(I,function(E,T){var D;E.value&&L.isArray(E.value)?(D=E.value.slice(),E.value.unshift(T)):L.isArray(E)?(D=E.slice(),E.unshift(T)):D=E,C.push(D)}),d.data=C}var N=this.defaultValueDimensions,S=[{name:c,type:v(w),ordinalMeta:a,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:h,type:v(x),dimsDef:N.slice()}];return y(this,{coordDimensions:S,dimensionsCount:N.length+1,encodeDefaulter:L.curry(b,S,this)})},getBaseAxis:function(){var d=this._baseAxisDim;return this.ecModel.getComponent(d+"Axis",this.get(d+"AxisIndex")).axis}};U.seriesModelMixin=m},"5GtS":function(te,U,e){var y=e("sdST"),L=e("YXkt"),g=e("bYtY"),v=g.extend,A=g.isArray;function b(m,d,r){d=A(d)&&{coordDimensions:d}||v({},d);var a=m.getSource(),s=y(a,d),i=new L(s,m);return i.initData(a,r),i}te.exports=b},"5Hur":function(te,U,e){var y=e("4NO4"),L=y.makeInner,g=y.normalizeToArray,v=L();function A(m,d){for(var r=m.length,a=0;a<r;a++)if(m[a].length>d)return m[a];return m[r-1]}var b={clearColorPalette:function(){v(this).colorIdx=0,v(this).colorNameMap={}},getColorFromPalette:function(m,d,r){d=d||this;var a=v(d),s=a.colorIdx||0,i=a.colorNameMap=a.colorNameMap||{};if(i.hasOwnProperty(m))return i[m];var n=g(this.get("color",!0)),l=this.get("colorLayer",!0),t=r==null||!l?n:A(l,r);if(t=t||n,!t||!t.length)return;var u=t[s];return m&&(i[m]=u),a.colorIdx=(s+1)%t.length,u}};te.exports=b},"5NDa":function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("OnYD"),v=e.n(g),A=e("+L6B")},"5NHt":function(te,U,e){e("aTJb"),e("OlYY"),e("fc+c"),e("N5BQ"),e("IyUQ"),e("LBfv"),e("noeP")},"5OYt":function(te,U,e){"use strict";var y=e("J4zp"),L=e.n(y),g=e("q1tI"),v=e.n(g),A=e("ACnJ");function b(){var m=Object(g.useState)({}),d=L()(m,2),r=d[0],a=d[1];return Object(g.useEffect)(function(){var s=A.a.subscribe(function(i){a(i)});return function(){return A.a.unsubscribe(s)}},[]),r}U.a=b},"5RzL":function(te,U,e){"use strict";var y=e("pVnL"),L=e.n(y),g=e("lSNA"),v=e.n(g),A=e("lwsE"),b=e.n(A),m=e("W8MJ"),d=e.n(m),r=e("7W2i"),a=e.n(r),s=e("LQ03"),i=e.n(s),n=e("q1tI"),l=e("1OyB"),t=e("vuIU"),u=e("Ji7U"),o=e("LK+K"),c=e("KQm4"),h=e("U8pU"),f=e("ODXe"),w=e("VTBJ"),x=e("qNPg"),I=e("2Qr1"),C=e("815F"),N=e("NvD2"),S=e("wPlo"),E=e("6cGi"),T=e("Kwbf"),D=e("4IlW"),B=e("YrtM"),R=e("fAei"),F=n.createContext(null);function M(Sn,Xn){if(!Sn)return!0;var rr=Sn.data,hr=rr.disabled,gn=rr.disableCheckbox;switch(Xn){case"select":return hr;case"checkbox":return hr||gn}return!1}function K(Sn,Xn){var rr=n.useCallback(function(gn){var vn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",Ft=arguments.length>2?arguments[2]:void 0,Ye=Sn.get(gn);return!Ft&&M(Ye,vn)?null:Ye},[Sn]),hr=n.useCallback(function(gn){var vn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",Ft=arguments.length>2?arguments[2]:void 0,Ye=Xn.get(gn);return!Ft&&M(Ye,vn)?null:Ye},[Xn]);return[rr,hr]}function j(Sn){return n.useMemo(function(){var Xn=new Map,rr=new Map;return Sn.forEach(function(hr){Xn.set(hr.key,hr),rr.set(hr.data.value,hr)}),[Xn,rr]},[Sn])}var H={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},k=function(Xn,rr){var hr=Xn.prefixCls,gn=Xn.height,vn=Xn.itemHeight,Ft=Xn.virtual,Ye=Xn.options,Pe=Xn.flattenOptions,Jt=Xn.multiple,bn=Xn.searchValue,An=Xn.onSelect,dn=Xn.onToggleOpen,vr=Xn.open,qn=Xn.notFoundContent,Ur=Xn.onMouseEnter,Ue=n.useContext(F),He=Ue.checkable,se=Ue.checkedKeys,Ae=Ue.halfCheckedKeys,Oe=Ue.treeExpandedKeys,ze=Ue.treeDefaultExpandAll,Rt=Ue.treeDefaultExpandedKeys,Et=Ue.onTreeExpand,_t=Ue.treeIcon,Nn=Ue.showTreeIcon,Mn=Ue.switcherIcon,lr=Ue.treeLine,Lt=Ue.treeNodeFilterProp,$e=Ue.loadData,Qe=Ue.treeLoadedKeys,kt=Ue.treeMotion,Ht=Ue.onTreeLoad,ot=n.useRef(),Ct=Object(B.a)(function(){return Ye},[vr,Ye],function(Fn,un){return un[0]&&Fn[1]!==un[1]}),nt=j(Pe),Ot=Object(f.a)(nt,2),sn=Ot[0],Zt=Ot[1],Gt=K(sn,Zt),Qn=Object(f.a)(Gt,2),Gn=Qn[0],Or=Qn[1],Nr=n.useMemo(function(){return se.map(function(Fn){var un=Or(Fn);return un?un.key:null})},[se]),Kr=n.useMemo(function(){return He?{checked:Nr,halfChecked:Ae}:null},[Nr,Ae,He]);n.useEffect(function(){if(vr&&!Jt&&Nr.length){var Fn;(Fn=ot.current)===null||Fn===void 0||Fn.scrollTo({key:Nr[0]})}},[vr]);var ei=String(bn).toLowerCase(),vi=function(un){return ei?String(un[Lt]).toLowerCase().includes(ei):!1},Pi=n.useState(Rt),Be=Object(f.a)(Pi,2),le=Be[0],ye=Be[1],xe=n.useState(null),De=Object(f.a)(xe,2),Le=De[0],Fe=De[1],at=n.useMemo(function(){return Oe?Object(c.a)(Oe):bn?Le:le},[le,Le,ei,Oe]);n.useEffect(function(){bn&&Fe(Pe.map(function(Fn){return Fn.key}))},[bn]);var Ve=function(un){ye(un),Fe(un),Et&&Et(un)},It=function(un){un.preventDefault()},pn=function(un,Sr){var Fr=Sr.node.key,ii=Gn(Fr,He?"checkbox":"select");ii!==null&&An(ii.data.value,{selected:!se.includes(ii.data.value)}),Jt||dn(!1)},rn=n.useState(null),Tn=Object(f.a)(rn,2),Nt=Tn[0],ur=Tn[1],Xt=Gn(Nt);if(n.useImperativeHandle(rr,function(){return{onKeyDown:function(un){var Sr,Fr=un.which;switch(Fr){case D.a.UP:case D.a.DOWN:case D.a.LEFT:case D.a.RIGHT:(Sr=ot.current)===null||Sr===void 0||Sr.onKeyDown(un);break;case D.a.ENTER:{Xt!==null&&pn(null,{node:{key:Nt},selected:!se.includes(Xt.data.value)});break}case D.a.ESC:dn(!1)}},onKeyUp:function(){}}}),Ct.length===0)return n.createElement("div",{role:"listbox",className:"".concat(hr,"-empty"),onMouseDown:It},qn);var Kn={};return Qe&&(Kn.loadedKeys=Qe),at&&(Kn.expandedKeys=at),n.createElement("div",{onMouseDown:It,onMouseEnter:Ur},Xt&&vr&&n.createElement("span",{style:H,"aria-live":"assertive"},Xt.data.value),n.createElement(R.b,Object.assign({ref:ot,focusable:!1,prefixCls:"".concat(hr,"-tree"),treeData:Ct,height:gn,itemHeight:vn,virtual:Ft,multiple:Jt,icon:_t,showIcon:Nn,switcherIcon:Mn,showLine:lr,loadData:bn?null:$e,motion:kt,checkable:He,checkStrictly:!0,checkedKeys:Kr,selectedKeys:He?[]:Nr,defaultExpandAll:ze},Kn,{onActiveChange:ur,onSelect:pn,onCheck:pn,onExpand:Ve,onLoad:Ht,filterTreeNode:vi})))},P=n.forwardRef(k);P.displayName="OptionList";var z=P,Y=function(){return null},_=Y,G=e("Ff2n"),J=e("Zm9Q");function ue(Sn){return Object(J.a)(Sn).map(function(Xn){if(!n.isValidElement(Xn)||!Xn.type)return null;var rr=Xn.key,hr=Xn.props,gn=hr.children,vn=hr.value,Ft=Object(G.a)(hr,["children","value"]),Ye=Object(w.a)({key:rr,value:vn},Ft),Pe=ue(gn);return Pe.length&&(Ye.children=Pe),Ye}).filter(function(Xn){return Xn})}function q(Sn){if(!Sn)return Sn;var Xn=Object(w.a)({},Sn);return"props"in Xn||Object.defineProperty(Xn,"props",{get:function(){return Object(T.a)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),Xn}}),Xn}function re(Sn,Xn,rr,hr,gn){var vn=null,Ft=null;function Ye(){function Pe(Jt){var bn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",An=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Jt.map(function(dn,vr){var qn="".concat(bn,"-").concat(vr),Ur=rr.includes(dn.value),Ue=Pe(dn.children||[],qn,Ur),He=n.createElement(_,Object.assign({},dn),Ue.map(function(Ae){return Ae.node}));if(Xn===dn.value&&(vn=He),Ur){var se={pos:qn,node:He,children:Ue};return An||Ft.push(se),se}return null}).filter(function(dn){return dn})}Ft||(Ft=[],Pe(hr),Ft.sort(function(Jt,bn){var An=Jt.node.props.value,dn=bn.node.props.value,vr=rr.indexOf(An),qn=rr.indexOf(dn);return vr-qn}))}Object.defineProperty(Sn,"triggerNode",{get:function(){return Object(T.a)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),Ye(),vn}}),Object.defineProperty(Sn,"allCheckedNodes",{get:function(){return Object(T.a)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),Ye(),gn?Ft:Ft.map(function(Jt){var bn=Jt.node;return bn})}})}function me(Sn){return Array.isArray(Sn)?Sn:Sn!==void 0?[Sn]:[]}function be(Sn,Xn){var rr=new Map;return Xn.forEach(function(hr){var gn=hr.data;rr.set(gn.value,gn)}),Sn.map(function(hr){return q(rr.get(hr))})}function ke(Sn,Xn){var rr=be([Sn],Xn)[0];return rr?rr.disabled:!1}function ce(Sn){return Sn.disabled||Sn.disableCheckbox||Sn.checkable===!1}function Ee(Sn){for(var Xn=Sn.parent,rr=0,hr=Xn;hr;)hr=hr.parent,rr+=1;return rr}function pe(Sn){function Xn(hr){return(hr||[]).map(function(gn){var vn=gn.value,Ft=gn.key,Ye=gn.children,Pe=Object(w.a)(Object(w.a)({},gn),{},{key:"key"in gn?Ft:vn});return Ye&&(Pe.children=Xn(Ye)),Pe})}var rr=Object(C.d)(Xn(Sn),!0);return rr.map(function(hr){return{key:hr.data.key,data:hr.data,level:Ee(hr)}})}function Se(Sn){return function(Xn,rr){var hr=rr[Sn];return String(hr).toLowerCase().includes(String(Xn).toLowerCase())}}function st(Sn,Xn,rr){var hr=rr.optionFilterProp,gn=rr.filterOption;if(gn===!1)return Xn;var vn;typeof gn=="function"?vn=gn:vn=Se(hr);function Ft(Ye){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Ye.map(function(Jt){var bn=Jt.children,An=Pe||vn(Sn,q(Jt)),dn=Ft(bn||[],An);return An||dn.length?Object(w.a)(Object(w.a)({},Jt),{},{children:dn}):null}).filter(function(Jt){return Jt})}return Ft(Xn)}function qe(Sn,Xn,rr,hr){var gn=new Map;return me(Xn).forEach(function(vn){vn&&Object(h.a)(vn)==="object"&&"value"in vn&&gn.set(vn.value,vn)}),Sn.map(function(vn){var Ft={value:vn},Ye=rr(vn,"select",!0),Pe=Ye?hr(Ye.data):vn;if(gn.has(vn)){var Jt=gn.get(vn);Ft.label="label"in Jt?Jt.label:Pe,"halfChecked"in Jt&&(Ft.halfChecked=Jt.halfChecked)}else Ft.label=Pe;return Ft})}function tt(Sn,Xn){var rr=new Set(Sn);return rr.add(Xn),Array.from(rr)}function Dt(Sn,Xn){var rr=new Set(Sn);return rr.delete(Xn),Array.from(rr)}function ct(Sn){var Xn=Sn.searchPlaceholder,rr=Sn.treeCheckStrictly,hr=Sn.treeCheckable,gn=Sn.labelInValue,vn=Sn.value,Ft=Sn.multiple;Object(T.a)(!Xn,"`searchPlaceholder` has been removed."),rr&&gn===!1&&Object(T.a)(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(gn||rr)&&Object(T.a)(me(vn).every(function(Ye){return Ye&&Object(h.a)(Ye)==="object"&&"value"in Ye}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),rr||Ft||hr?Object(T.a)(!vn||Array.isArray(vn),"`value` should be an array when `TreeSelect` is checkable or multiple."):Object(T.a)(!Array.isArray(vn),"`value` should not be array when `TreeSelect` is single mode.")}var St=ct,rt=10;function ht(Sn,Xn){var rr=Xn.id,hr=Xn.pId,gn=Xn.rootPId,vn={},Ft=[],Ye=Sn.map(function(Pe){var Jt=Object(w.a)({},Pe),bn=Jt[rr];return vn[bn]=Jt,Jt.key=Jt.key||bn,Jt});return Ye.forEach(function(Pe){var Jt=Pe[hr],bn=vn[Jt];bn&&(bn.children=bn.children||[],bn.children.push(Pe)),(Jt===gn||!bn&&gn===null)&&Ft.push(Pe)}),Ft}function je(Sn,Xn){var rr=0,hr=new Set;function gn(vn){return(vn||[]).map(function(Ft){var Ye=Ft.key,Pe=Ft.value,Jt=Ft.children,bn=Object(G.a)(Ft,["key","value","children"]),An="value"in Ft?Pe:Ye,dn=Object(w.a)(Object(w.a)({},bn),{},{key:Ye!=null?Ye:An,value:An,title:Xn(Ft)});return"children"in Ft&&(dn.children=gn(Jt)),dn})}return gn(Sn)}function Me(Sn,Xn,rr){var hr=rr.getLabelProp,gn=rr.simpleMode,vn=n.useRef({});return Sn?(vn.current.formatTreeData=vn.current.treeData===Sn?vn.current.formatTreeData:je(gn?ht(Sn,Object(w.a)({id:"id",pId:"pId",rootPId:null},gn!==!0?gn:{})):Sn,hr),vn.current.treeData=Sn):vn.current.formatTreeData=vn.current.children===Xn?vn.current.formatTreeData:je(ue(Xn),hr),vn.current.formatTreeData}var Ne="SHOW_ALL",it="SHOW_PARENT",wt="SHOW_CHILD";function jt(Sn,Xn,rr){var hr=new Set(Sn);return Xn===wt?Sn.filter(function(gn){var vn=rr[gn];return!(vn&&vn.children&&vn.children.every(function(Ft){var Ye=Ft.node;return ce(Ye)||hr.has(Ye.key)}))}):Xn===it?Sn.filter(function(gn){var vn=rr[gn],Ft=vn?vn.parent:null;return!(Ft&&!ce(Ft.node)&&hr.has(Ft.node.key))}):Sn}function lt(Sn,Xn){var rr=Xn.value,hr=Xn.getEntityByValue,gn=Xn.getEntityByKey,vn=Xn.treeConduction,Ft=Xn.showCheckedStrategy,Ye=Xn.conductKeyEntities,Pe=Xn.getLabelProp;return n.useMemo(function(){var Jt=Sn;if(vn){var bn=jt(Sn.map(function(An){var dn=hr(An);return dn?dn.key:An}),Ft,Ye);Jt=bn.map(function(An){var dn=gn(An);return dn?dn.data.value:An})}return qe(Jt,rr,hr,Pe)},[Sn,rr,vn,Ft,hr])}var Te=["expandedKeys","treeData","treeCheckable","showCheckedStrategy","searchPlaceholder","treeLine","treeIcon","showTreeIcon","switcherIcon","treeNodeFilterProp","filterTreeNode","dropdownPopupAlign","treeDefaultExpandAll","treeCheckStrictly","treeExpandedKeys","treeLoadedKeys","treeMotion","onTreeExpand","onTreeLoad","loadData","treeDataSimpleMode","treeNodeLabelProp","treeDefaultExpandedKeys"],mt=Object(x.a)({prefixCls:"rc-tree-select",components:{optionList:z},convertChildrenToData:function(){return null},flattenOptions:pe,getLabeledValue:I.e,filterOptions:st,isValueDisabled:ke,findValueOption:be,omitDOMProps:function(Xn){var rr=Object(w.a)({},Xn);return Te.forEach(function(hr){delete rr[hr]}),rr}});mt.displayName="Select";var tn=n.forwardRef(function(Sn,Xn){var rr=Sn.multiple,hr=Sn.treeCheckable,gn=Sn.treeCheckStrictly,vn=Sn.showCheckedStrategy,Ft=vn===void 0?"SHOW_CHILD":vn,Ye=Sn.labelInValue,Pe=Sn.loadData,Jt=Sn.treeLoadedKeys,bn=Sn.treeNodeFilterProp,An=bn===void 0?"value":bn,dn=Sn.treeNodeLabelProp,vr=Sn.treeDataSimpleMode,qn=Sn.treeData,Ur=Sn.treeExpandedKeys,Ue=Sn.treeDefaultExpandedKeys,He=Sn.treeDefaultExpandAll,se=Sn.children,Ae=Sn.treeIcon,Oe=Sn.showTreeIcon,ze=Sn.switcherIcon,Rt=Sn.treeLine,Et=Sn.treeMotion,_t=Sn.filterTreeNode,Nn=Sn.dropdownPopupAlign,Mn=Sn.onChange,lr=Sn.onTreeExpand,Lt=Sn.onTreeLoad,$e=Sn.onDropdownVisibleChange,Qe=Sn.onSelect,kt=Sn.onDeselect,Ht=hr||gn,ot=rr||Ht,Ct=hr&&!gn,nt=gn||Ye,Ot=n.useRef(null);n.useImperativeHandle(Xn,function(){return{focus:Ot.current.focus,blur:Ot.current.blur}});var sn=function(Fr){return qn&&Fr.label||Fr.title},Zt=function(Fr){return dn?Fr[dn]:sn(Fr)},Gt=Me(qn,se,{getLabelProp:sn,simpleMode:vr}),Qn=Object(n.useMemo)(function(){return pe(Gt)},[Gt]),Gn=j(Qn),Or=Object(f.a)(Gn,2),Nr=Or[0],Kr=Or[1],ei=K(Nr,Kr),vi=Object(f.a)(ei,2),Pi=vi[0],Be=vi[1],le=Object(n.useMemo)(function(){return Ct?Object(C.a)(Gt):{keyEntities:null}},[Gt,hr,gn]),ye=le.keyEntities,xe=Object(E.a)(Sn.defaultValue,{value:Sn.value}),De=Object(f.a)(xe,2),Le=De[0],Fe=De[1],at=function(Fr){var ii=[],oi=[];return Fr.forEach(function(ti){Be(ti)?oi.push(ti):ii.push(ti)}),{missingRawValues:ii,existRawValues:oi}},Ve=Object(n.useMemo)(function(){var Sr=[],Fr=[];if(me(Le).forEach(function(Wn){if(Wn&&Object(h.a)(Wn)==="object"&&"value"in Wn)if(Wn.halfChecked&&gn){var xr=Be(Wn.value);Sr.push(xr?xr.key:Wn.value)}else Fr.push(Wn.value);else Fr.push(Wn)}),Ct){var ii=at(Fr),oi=ii.missingRawValues,ti=ii.existRawValues,bi=ti.map(function(Wn){return Be(Wn).key}),Mr=Object(N.a)(bi,!0,ye),Oi=Mr.checkedKeys,Ar=Mr.halfCheckedKeys;return[[].concat(Object(c.a)(oi),Object(c.a)(Oi.map(function(Wn){return Pi(Wn).data.value}))),Ar]}return[Fr,Sr]},[Le,ot,nt,hr,gn]),It=Object(f.a)(Ve,2),pn=It[0],rn=It[1],Tn=lt(pn,{treeConduction:Ct,value:Le,showCheckedStrategy:Ft,conductKeyEntities:ye,getEntityByValue:Be,getEntityByKey:Pi,getLabelProp:Zt}),Nt=function(Fr,ii,oi){if(Fe(ot?Fr:Fr[0]),Mn){var ti=Fr;if(Ct&&Ft!=="SHOW_ALL"){var bi=Fr.map(function(wi){var Xr=Be(wi);return Xr?Xr.key:wi}),Mr=jt(bi,Ft,ye);ti=Mr.map(function(wi){var Xr=Pi(wi);return Xr?Xr.data.value:wi})}var Oi=ii||{triggerValue:void 0,selected:void 0},Ar=Oi.triggerValue,Wn=Oi.selected,xr=nt?qe(ti,Le,Be,Zt):ti;if(gn){var er=rn.map(function(wi){var Xr=Pi(wi);return Xr?Xr.data.value:wi}).filter(function(wi){return!ti.includes(wi)});xr=[].concat(Object(c.a)(xr),Object(c.a)(qe(er,Le,Be,Zt)))}var ci={preValue:Tn,triggerValue:Ar},qr=!0;(gn||oi==="selection"&&!Wn)&&(qr=!1),re(ci,Ar,Fr,Gt,qr),Ht?ci.checked=Wn:ci.selected=Wn,Mn(ot?xr:xr[0],nt?null:ti.map(function(wi){var Xr=Be(wi);return Xr?Zt(Xr.data):null}),ci)}},ur=function(Fr,ii,oi){var ti=Fr;if(!ot)Nt([Fr],{selected:!0,triggerValue:Fr},oi);else{var bi=tt(pn,Fr);if(Ct){var Mr=at(bi),Oi=Mr.missingRawValues,Ar=Mr.existRawValues,Wn=Ar.map(function(ci){return Be(ci).key}),xr=Object(N.a)(Wn,!0,ye),er=xr.checkedKeys;bi=[].concat(Object(c.a)(Oi),Object(c.a)(er.map(function(ci){return Pi(ci).data.value})))}Nt(bi,{selected:!0,triggerValue:Fr},oi)}Qe&&Qe(ti,ii)},Xt=function(Fr,ii,oi){var ti=Fr,bi=Dt(pn,Fr);if(Ct){var Mr=at(bi),Oi=Mr.missingRawValues,Ar=Mr.existRawValues,Wn=Ar.map(function(ci){return Be(ci).key}),xr=Object(N.a)(Wn,{checked:!1,halfCheckedKeys:rn},ye),er=xr.checkedKeys;bi=[].concat(Object(c.a)(Oi),Object(c.a)(er.map(function(ci){return Pi(ci).data.value})))}Nt(bi,{selected:!1,triggerValue:Fr},oi),kt&&kt(ti,ii)},Kn=function(){Nt([],null,"clear")},Fn=n.useCallback(function(Sr){if($e){var Fr={};Object.defineProperty(Fr,"documentClickClose",{get:function(){return Object(T.a)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),$e(Sr,Fr)}},[$e]),un={optionLabelProp:null,optionFilterProp:An,dropdownAlign:Nn,internalProps:{mark:S.a,onClear:Kn,skipTriggerChange:!0,skipTriggerSelect:!0,onRawSelect:ur,onRawDeselect:Xt}};return"filterTreeNode"in Sn&&(un.filterOption=_t),n.createElement(F.Provider,{value:{checkable:Ht,loadData:Pe,treeLoadedKeys:Jt,onTreeLoad:Lt,checkedKeys:pn,halfCheckedKeys:rn,treeDefaultExpandAll:He,treeExpandedKeys:Ur,treeDefaultExpandedKeys:Ue,onTreeExpand:lr,treeIcon:Ae,treeMotion:Et,showTreeIcon:Oe,switcherIcon:ze,treeLine:Rt,treeNodeFilterProp:An}},n.createElement(mt,Object.assign({ref:Ot,mode:ot?"multiple":null},Sn,un,{value:Tn,labelInValue:!0,options:Gt,onChange:null,onSelect:null,onDeselect:null,onDropdownVisibleChange:Fn})))}),Vt=function(Sn){Object(u.a)(rr,Sn);var Xn=Object(o.a)(rr);function rr(){var hr;return Object(l.a)(this,rr),hr=Xn.apply(this,arguments),hr.selectRef=n.createRef(),hr.focus=function(){hr.selectRef.current.focus()},hr.blur=function(){hr.selectRef.current.blur()},hr}return Object(t.a)(rr,[{key:"render",value:function(){return n.createElement(tn,Object.assign({ref:this.selectRef},this.props))}}]),rr}(n.Component);Vt.TreeNode=_,Vt.SHOW_ALL=Ne,Vt.SHOW_PARENT=it,Vt.SHOW_CHILD=wt;var Yt=Vt,Qt=Yt,an=e("TSYQ"),on=e.n(an),vt=e("BGR+"),de=e("H84U"),he=e("uaoM"),Pt=e("1vzs"),We=e("2jpz"),Je=e("3Nzz"),Ln=function(Sn){a()(rr,Sn);var Xn=i()(rr);function rr(hr){var gn;return b()(this,rr),gn=Xn.call(this,hr),gn.selectRef=n.createRef(),gn.renderTreeSelect=function(vn){var Ft=vn.getPopupContainer,Ye=vn.getPrefixCls,Pe=vn.renderEmpty,Jt=vn.direction,bn=vn.virtual,An=vn.dropdownMatchSelectWidth,dn=gn.props,vr=dn.prefixCls,qn=dn.size,Ur=dn.className,Ue=dn.treeCheckable,He=dn.multiple,se=dn.listHeight,Ae=se===void 0?256:se,Oe=dn.listItemHeight,ze=Oe===void 0?26:Oe,Rt=dn.notFoundContent,Et=dn.switcherIcon,_t=dn.treeLine,Nn=dn.getPopupContainer,Mn=dn.dropdownClassName,lr=dn.bordered,Lt=dn.treeIcon,$e=Lt===void 0?!1:Lt,Qe=Ye("select",vr),kt=Ye("select-tree",vr),Ht=Ye("tree-select",vr),ot=on()(Mn,"".concat(Ht,"-dropdown"),v()({},"".concat(Ht,"-dropdown-rtl"),Jt==="rtl")),Ct=!!(Ue||He),nt=Object(Pt.a)(L()(L()({},gn.props),{multiple:Ct,prefixCls:Qe})),Ot=nt.suffixIcon,sn=nt.itemIcon,Zt=nt.removeIcon,Gt=nt.clearIcon,Qn;Rt!==void 0?Qn=Rt:Qn=Pe("Select");var Gn=Object(vt.default)(gn.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","size","bordered"]);return n.createElement(Je.b.Consumer,null,function(Or){var Nr,Kr=qn||Or,ei=on()(!vr&&Ht,(Nr={},v()(Nr,"".concat(Qe,"-lg"),Kr==="large"),v()(Nr,"".concat(Qe,"-sm"),Kr==="small"),v()(Nr,"".concat(Qe,"-rtl"),Jt==="rtl"),v()(Nr,"".concat(Qe,"-borderless"),!lr),Nr),Ur);return n.createElement(Qt,L()({virtual:bn,dropdownMatchSelectWidth:An},Gn,{ref:gn.selectRef,prefixCls:Qe,className:ei,listHeight:Ae,listItemHeight:ze,treeCheckable:Ue&&n.createElement("span",{className:"".concat(Qe,"-tree-checkbox-inner")}),inputIcon:Ot,menuItemSelectedIcon:sn,removeIcon:Zt,clearIcon:Gt,switcherIcon:function(Pi){return Object(We.a)(kt,Et,_t,Pi)},showTreeIcon:$e,notFoundContent:Qn,getPopupContainer:Nn||Ft,treeMotion:null,dropdownClassName:ot}))})},Object(he.a)(hr.multiple!==!1||!hr.treeCheckable,"TreeSelect","`multiple` will alway be `true` when `treeCheckable` is true"),gn}return d()(rr,[{key:"focus",value:function(){this.selectRef.current&&this.selectRef.current.focus()}},{key:"blur",value:function(){this.selectRef.current&&this.selectRef.current.blur()}},{key:"render",value:function(){return n.createElement(de.a,null,this.renderTreeSelect)}}]),rr}(n.Component);Ln.TreeNode=_,Ln.SHOW_ALL=Ne,Ln.SHOW_PARENT=it,Ln.SHOW_CHILD=wt,Ln.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var jn=U.a=Ln},"5Uyt":function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=L(e("KmBX"));function L(v){return v&&v.__esModule?v:{default:v}}var g=y;U.default=g,te.exports=g},"5YOS":function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=L(e("xb2K"));function L(v){return v&&v.__esModule?v:{default:v}}var g=y;U.default=g,te.exports=g},"5YgA":function(te,U,e){},"5bA4":function(te,U,e){"use strict";var y=e("VTBJ"),L=e("q1tI"),g={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"},v=g,A=e("6VBw"),b=function(r,a){return L.createElement(A.a,Object(y.a)(Object(y.a)({},r),{},{ref:a,icon:v}))};b.displayName="LeftOutlined";var m=U.a=L.forwardRef(b)},"5nXd":function(te,U,e){var y=e("MFOe"),L=y.slice,g=y.pluck,v=y.each,A=y.bind,b=y.create,m=y.isList,d=y.isFunction,r=y.isObject;te.exports={createStore:i};var a={version:"2.0.12",enabled:!1,get:function(l,t){var u=this.storage.read(this._namespacePrefix+l);return this._deserialize(u,t)},set:function(l,t){return t===void 0?this.remove(l):(this.storage.write(this._namespacePrefix+l,this._serialize(t)),t)},remove:function(l){this.storage.remove(this._namespacePrefix+l)},each:function(l){var t=this;this.storage.each(function(u,o){l.call(t,t._deserialize(u),(o||"").replace(t._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(l){return this._namespacePrefix=="__storejs_"+l+"_"},createStore:function(){return i.apply(this,arguments)},addPlugin:function(l){this._addPlugin(l)},namespace:function(l){return i(this.storage,this.plugins,l)}};function s(){var n=typeof console=="undefined"?null:console;if(!n)return;var l=n.warn?n.warn:n.log;l.apply(n,arguments)}function i(n,l,t){t||(t=""),n&&!m(n)&&(n=[n]),l&&!m(l)&&(l=[l]);var u=t?"__storejs_"+t+"_":"",o=t?new RegExp("^"+u):null,c=/^[a-zA-Z0-9_\-]*$/;if(!c.test(t))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var h={_namespacePrefix:u,_namespaceRegexp:o,_testStorage:function(x){try{var I="__storejs__test__";x.write(I,I);var C=x.read(I)===I;return x.remove(I),C}catch(N){return!1}},_assignPluginFnProp:function(x,I){var C=this[I];this[I]=function(){var S=L(arguments,0),E=this;function T(){return C?(v(arguments,function(B,R){S[R]=B}),C.apply(E,S)):void 0}var D=[T].concat(S);return x.apply(E,D)}},_serialize:function(x){return JSON.stringify(x)},_deserialize:function(x,I){if(!x)return I;var C="";try{C=JSON.parse(x)}catch(N){C=x}return C!==void 0?C:I},_addStorage:function(x){if(this.enabled)return;this._testStorage(x)&&(this.storage=x,this.enabled=!0)},_addPlugin:function(x){var I=this;if(m(x)){v(x,function(S){I._addPlugin(S)});return}var C=g(this.plugins,function(S){return x===S});if(C)return;if(this.plugins.push(x),!d(x))throw new Error("Plugins must be function values that return objects");var N=x.call(this);if(!r(N))throw new Error("Plugins must return an object of function properties");v(N,function(S,E){if(!d(S))throw new Error("Bad plugin property: "+E+" from plugin "+x.name+". Plugins should only return functions.");I._assignPluginFnProp(S,E)})},addStorage:function(x){s("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(x)}},f=b(h,a,{plugins:[]});return f.raw={},v(f,function(w,x){d(w)&&(f.raw[x]=A(f,w))}),v(n,function(w){f._addStorage(w)}),v(l,function(w){f._addPlugin(w)}),f}},"5rEg":function(te,U,e){"use strict";var y=e("pVnL"),L=e.n(y),g=e("lwsE"),v=e.n(g),A=e("W8MJ"),b=e.n(A),m=e("7W2i"),d=e.n(m),r=e("LQ03"),a=e.n(r),s=e("lSNA"),i=e.n(s),n=e("q1tI"),l=e("TSYQ"),t=e.n(l),u=e("BGR+"),o=e("kbBi"),c=e.n(o),h=e("CWQg"),f=e("0n0R"),w=Object(h.a)("text","input");function x(ct){return!!(ct.prefix||ct.suffix||ct.allowClear)}var I=function(ct){d()(rt,ct);var St=a()(rt);function rt(){var ht;return v()(this,rt),ht=St.apply(this,arguments),ht.containerRef=n.createRef(),ht.onInputMouseUp=function(je){var Me;if((Me=ht.containerRef.current)===null||Me===void 0?void 0:Me.contains(je.target)){var Ne=ht.props.triggerFocus;Ne()}},ht}return b()(rt,[{key:"renderClearIcon",value:function(je){var Me=this.props,Ne=Me.allowClear,it=Me.value,wt=Me.disabled,jt=Me.readOnly,lt=Me.inputType,Te=Me.handleReset;if(!Ne)return null;var mt=!wt&&!jt&&it,tn=lt===w[0]?"".concat(je,"-textarea-clear-icon"):"".concat(je,"-clear-icon");return n.createElement(c.a,{onClick:Te,className:t()(tn,i()({},"".concat(tn,"-hidden"),!mt)),role:"button"})}},{key:"renderSuffix",value:function(je){var Me=this.props,Ne=Me.suffix,it=Me.allowClear;return Ne||it?n.createElement("span",{className:"".concat(je,"-suffix")},this.renderClearIcon(je),Ne):null}},{key:"renderLabeledIcon",value:function(je,Me){var Ne,it=this.props,wt=it.focused,jt=it.value,lt=it.prefix,Te=it.className,mt=it.size,tn=it.suffix,Vt=it.disabled,Yt=it.allowClear,Qt=it.direction,an=it.style,on=it.readOnly,vt=it.bordered,de=this.renderSuffix(je);if(!x(this.props))return Object(f.a)(Me,{value:jt});var he=lt?n.createElement("span",{className:"".concat(je,"-prefix")},lt):null,Pt=t()(Te,"".concat(je,"-affix-wrapper"),(Ne={},i()(Ne,"".concat(je,"-affix-wrapper-focused"),wt),i()(Ne,"".concat(je,"-affix-wrapper-disabled"),Vt),i()(Ne,"".concat(je,"-affix-wrapper-sm"),mt==="small"),i()(Ne,"".concat(je,"-affix-wrapper-lg"),mt==="large"),i()(Ne,"".concat(je,"-affix-wrapper-input-with-clear-btn"),tn&&Yt&&jt),i()(Ne,"".concat(je,"-affix-wrapper-rtl"),Qt==="rtl"),i()(Ne,"".concat(je,"-affix-wrapper-readonly"),on),i()(Ne,"".concat(je,"-affix-wrapper-borderless"),!vt),Ne));return n.createElement("span",{ref:this.containerRef,className:Pt,style:an,onMouseUp:this.onInputMouseUp},he,Object(f.a)(Me,{style:null,value:jt,className:B(je,vt,mt,Vt)}),de)}},{key:"renderInputWithLabel",value:function(je,Me){var Ne,it,wt=this.props,jt=wt.addonBefore,lt=wt.addonAfter,Te=wt.style,mt=wt.size,tn=wt.className,Vt=wt.direction;if(!jt&&!lt)return Me;var Yt="".concat(je,"-group"),Qt="".concat(Yt,"-addon"),an=jt?n.createElement("span",{className:Qt},jt):null,on=lt?n.createElement("span",{className:Qt},lt):null,vt=t()("".concat(je,"-wrapper"),(Ne={},i()(Ne,Yt,jt||lt),i()(Ne,"".concat(Yt,"-rtl"),Vt==="rtl"),Ne)),de=t()(tn,"".concat(je,"-group-wrapper"),(it={},i()(it,"".concat(je,"-group-wrapper-sm"),mt==="small"),i()(it,"".concat(je,"-group-wrapper-lg"),mt==="large"),i()(it,"".concat(je,"-group-wrapper-rtl"),Vt==="rtl"),it));return n.createElement("span",{className:de,style:Te},n.createElement("span",{className:vt},an,Object(f.a)(Me,{style:null}),on))}},{key:"renderTextAreaWithClearIcon",value:function(je,Me){var Ne,it=this.props,wt=it.value,jt=it.allowClear,lt=it.className,Te=it.style,mt=it.direction,tn=it.bordered;if(!jt)return Object(f.a)(Me,{value:wt});var Vt=t()(lt,"".concat(je,"-affix-wrapper"),"".concat(je,"-affix-wrapper-textarea-with-clear-btn"),(Ne={},i()(Ne,"".concat(je,"-affix-wrapper-rtl"),mt==="rtl"),i()(Ne,"".concat(je,"-affix-wrapper-borderless"),!tn),Ne));return n.createElement("span",{className:Vt,style:Te},Object(f.a)(Me,{style:null,value:wt}),this.renderClearIcon(je))}},{key:"render",value:function(){var je=this.props,Me=je.prefixCls,Ne=je.inputType,it=je.element;return Ne===w[0]?this.renderTextAreaWithClearIcon(Me,it):this.renderInputWithLabel(Me,this.renderLabeledIcon(Me,it))}}]),rt}(n.Component),C=I,N=e("H84U"),S=e("3Nzz"),E=e("uaoM");function T(ct){return typeof ct=="undefined"||ct===null?"":ct}function D(ct,St,rt){if(rt){var ht=St;if(St.type==="click"){ht=Object.create(St),ht.target=ct,ht.currentTarget=ct;var je=ct.value;ct.value="",rt(ht),ct.value=je;return}rt(ht)}}function B(ct,St,rt,ht,je){var Me;return t()(ct,(Me={},i()(Me,"".concat(ct,"-sm"),rt==="small"),i()(Me,"".concat(ct,"-lg"),rt==="large"),i()(Me,"".concat(ct,"-disabled"),ht),i()(Me,"".concat(ct,"-rtl"),je==="rtl"),i()(Me,"".concat(ct,"-borderless"),!St),Me))}var R=function(ct){d()(rt,ct);var St=a()(rt);function rt(ht){var je;v()(this,rt),je=St.call(this,ht),je.direction="ltr",je.focus=function(){je.input.focus()},je.saveClearableInput=function(Ne){je.clearableInput=Ne},je.saveInput=function(Ne){je.input=Ne},je.onFocus=function(Ne){var it=je.props.onFocus;je.setState({focused:!0},je.clearPasswordValueAttribute),it&&it(Ne)},je.onBlur=function(Ne){var it=je.props.onBlur;je.setState({focused:!1},je.clearPasswordValueAttribute),it&&it(Ne)},je.handleReset=function(Ne){je.setValue("",function(){je.focus()}),D(je.input,Ne,je.props.onChange)},je.renderInput=function(Ne,it,wt){var jt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},lt=je.props,Te=lt.className,mt=lt.addonBefore,tn=lt.addonAfter,Vt=lt.size,Yt=lt.disabled,Qt=Object(u.default)(je.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType","bordered"]);return n.createElement("input",L()({autoComplete:jt.autoComplete},Qt,{onChange:je.handleChange,onFocus:je.onFocus,onBlur:je.onBlur,onKeyDown:je.handleKeyDown,className:t()(B(Ne,wt,Vt||it,Yt,je.direction),i()({},Te,Te&&!mt&&!tn)),ref:je.saveInput}))},je.clearPasswordValueAttribute=function(){je.removePasswordTimeout=setTimeout(function(){je.input&&je.input.getAttribute("type")==="password"&&je.input.hasAttribute("value")&&je.input.removeAttribute("value")})},je.handleChange=function(Ne){je.setValue(Ne.target.value,je.clearPasswordValueAttribute),D(je.input,Ne,je.props.onChange)},je.handleKeyDown=function(Ne){var it=je.props,wt=it.onPressEnter,jt=it.onKeyDown;Ne.keyCode===13&&wt&&wt(Ne),jt&&jt(Ne)},je.renderComponent=function(Ne){var it=Ne.getPrefixCls,wt=Ne.direction,jt=Ne.input,lt=je.state,Te=lt.value,mt=lt.focused,tn=je.props,Vt=tn.prefixCls,Yt=tn.bordered,Qt=Yt===void 0?!0:Yt,an=it("input",Vt);return je.direction=wt,n.createElement(S.b.Consumer,null,function(on){return n.createElement(C,L()({size:on},je.props,{prefixCls:an,inputType:"input",value:T(Te),element:je.renderInput(an,on,Qt,jt),handleReset:je.handleReset,ref:je.saveClearableInput,direction:wt,focused:mt,triggerFocus:je.focus,bordered:Qt}))})};var Me=typeof ht.value=="undefined"?ht.defaultValue:ht.value;return je.state={value:Me,focused:!1,prevValue:ht.value},je}return b()(rt,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(je){return x(je)!==x(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(je,Me){this.props.value===void 0&&this.setState({value:je},Me)}},{key:"render",value:function(){return n.createElement(N.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(je,Me){var Ne=Me.prevValue,it={prevValue:je.value};return(je.value!==void 0||Ne!==je.value)&&(it.value=je.value),it}}]),rt}(n.Component);R.defaultProps={type:"text"};var F=R,M=function(St){return n.createElement(N.a,null,function(rt){var ht,je=rt.getPrefixCls,Me=rt.direction,Ne=St.prefixCls,it=St.className,wt=it===void 0?"":it,jt=je("input-group",Ne),lt=t()(jt,(ht={},i()(ht,"".concat(jt,"-lg"),St.size==="large"),i()(ht,"".concat(jt,"-sm"),St.size==="small"),i()(ht,"".concat(jt,"-compact"),St.compact),i()(ht,"".concat(jt,"-rtl"),Me==="rtl"),ht),wt);return n.createElement("span",{className:lt,style:St.style,onMouseEnter:St.onMouseEnter,onMouseLeave:St.onMouseLeave,onFocus:St.onFocus,onBlur:St.onBlur},St.children)})},K=M,j=e("c+Xe"),H=e("w6Tc"),k=e.n(H),P=e("gZBC"),z=e.n(P),Y=e("2/Rp"),_=function(ct,St){var rt={};for(var ht in ct)Object.prototype.hasOwnProperty.call(ct,ht)&&St.indexOf(ht)<0&&(rt[ht]=ct[ht]);if(ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,ht=Object.getOwnPropertySymbols(ct);je<ht.length;je++)St.indexOf(ht[je])<0&&Object.prototype.propertyIsEnumerable.call(ct,ht[je])&&(rt[ht[je]]=ct[ht[je]]);return rt},G=n.forwardRef(function(ct,St){var rt=n.useRef(null),ht=function(Te){var mt=ct.onChange,tn=ct.onSearch;Te&&Te.target&&Te.type==="click"&&tn&&tn(Te.target.value,Te),mt&&mt(Te)},je=function(Te){var mt;document.activeElement===((mt=rt.current)===null||mt===void 0?void 0:mt.input)&&Te.preventDefault()},Me=function(Te){var mt,tn=ct.onSearch,Vt=ct.loading,Yt=ct.disabled;if(Vt||Yt)return;tn&&tn((mt=rt.current)===null||mt===void 0?void 0:mt.input.value,Te)},Ne=function(Te){var mt=ct.enterButton,tn=ct.size;return mt?n.createElement(S.b.Consumer,{key:"enterButton"},function(Vt){return n.createElement(Y.a,{className:"".concat(Te,"-button"),type:"primary",size:tn||Vt},n.createElement(z.a,null))}):n.createElement(z.a,{className:"".concat(Te,"-icon"),key:"loadingIcon"})},it=function(Te){var mt=ct.suffix,tn=ct.enterButton,Vt=ct.loading;if(Vt&&!tn)return[mt,Ne(Te)];if(tn)return mt;var Yt=n.createElement(k.a,{className:"".concat(Te,"-icon"),key:"searchIcon",onClick:Me});return mt?[Object(f.c)(mt,null,{key:"suffix"}),Yt]:Yt},wt=function(Te,mt){var tn=ct.enterButton,Vt=ct.disabled,Yt=ct.addonAfter,Qt=ct.loading,an="".concat(Te,"-button");if(Qt&&tn)return[Ne(Te),Yt];if(!tn)return Yt;var on,vt=tn,de=vt.type&&vt.type.__ANT_BUTTON===!0;return de||vt.type==="button"?on=Object(f.a)(vt,L()({onMouseDown:je,onClick:Me,key:"enterButton"},de?{className:an,size:mt}:{})):on=n.createElement(Y.a,{className:an,type:"primary",size:mt,disabled:Vt,key:"enterButton",onMouseDown:je,onClick:Me},tn===!0?n.createElement(k.a,null):tn),Yt?[on,Object(f.c)(Yt,null,{key:"addonAfter"})]:on},jt=function(Te){var mt=Te.getPrefixCls,tn=Te.direction,Vt=ct.prefixCls,Yt=ct.inputPrefixCls,Qt=ct.enterButton,an=ct.className,on=ct.size,vt=_(ct,["prefixCls","inputPrefixCls","enterButton","className","size"]);delete vt.onSearch,delete vt.loading;var de=mt("input-search",Vt),he=mt("input",Yt),Pt=function(Je){var Ln;if(Qt){var jn;Ln=t()(de,an,(jn={},i()(jn,"".concat(de,"-rtl"),tn==="rtl"),i()(jn,"".concat(de,"-enter-button"),!!Qt),i()(jn,"".concat(de,"-").concat(Je),!!Je),jn))}else Ln=t()(de,an,i()({},"".concat(de,"-rtl"),tn==="rtl"));return Ln};return n.createElement(S.b.Consumer,null,function(We){return n.createElement(F,L()({ref:Object(j.a)(rt,St),onPressEnter:Me},vt,{size:on||We,prefixCls:he,addonAfter:wt(de,on||We),suffix:it(de),onChange:ht,className:Pt(on||We)}))})};return n.createElement(N.a,null,jt)});G.defaultProps={enterButton:!1},G.displayName="Search";var J=G,ue=e("Y1PL"),q=function(ct){d()(rt,ct);var St=a()(rt);function rt(ht){var je;v()(this,rt),je=St.call(this,ht),je.focus=function(){je.resizableTextArea.textArea.focus()},je.saveTextArea=function(Ne){je.resizableTextArea=Ne==null?void 0:Ne.resizableTextArea},je.saveClearableInput=function(Ne){je.clearableInput=Ne},je.handleChange=function(Ne){je.setValue(Ne.target.value),D(je.resizableTextArea.textArea,Ne,je.props.onChange)},je.handleReset=function(Ne){je.setValue("",function(){je.focus()}),D(je.resizableTextArea.textArea,Ne,je.props.onChange)},je.renderTextArea=function(Ne,it){return n.createElement(ue.default,L()({},Object(u.default)(je.props,["allowClear","bordered"]),{className:t()(je.props.className,i()({},"".concat(Ne,"-borderless"),!it)),prefixCls:Ne,onChange:je.handleChange,ref:je.saveTextArea}))},je.renderComponent=function(Ne){var it=Ne.getPrefixCls,wt=Ne.direction,jt=je.state.value,lt=je.props,Te=lt.prefixCls,mt=lt.bordered,tn=mt===void 0?!0:mt,Vt=it("input",Te);return n.createElement(C,L()({},je.props,{prefixCls:Vt,direction:wt,inputType:"text",value:T(jt),element:je.renderTextArea(Vt,tn),handleReset:je.handleReset,ref:je.saveClearableInput,triggerFocus:je.focus,bordered:tn}))};var Me=typeof ht.value=="undefined"?ht.defaultValue:ht.value;return je.state={value:Me},je}return b()(rt,[{key:"setValue",value:function(je,Me){this.props.value===void 0&&this.setState({value:je},Me)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return n.createElement(N.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(je){return je.value!==void 0?{value:je.value}:null}}]),rt}(n.Component),re=q,me=e("J4zp"),be=e.n(me),ke=e("qPY4"),ce=e.n(ke),Ee=e("fUL4"),pe=e.n(Ee),Se=function(ct,St){var rt={};for(var ht in ct)Object.prototype.hasOwnProperty.call(ct,ht)&&St.indexOf(ht)<0&&(rt[ht]=ct[ht]);if(ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,ht=Object.getOwnPropertySymbols(ct);je<ht.length;je++)St.indexOf(ht[je])<0&&Object.prototype.propertyIsEnumerable.call(ct,ht[je])&&(rt[ht[je]]=ct[ht[je]]);return rt},st={click:"onClick",hover:"onMouseOver"},qe=n.forwardRef(function(ct,St){var rt=Object(n.useState)(!1),ht=be()(rt,2),je=ht[0],Me=ht[1],Ne=function(){var lt=ct.disabled;if(lt)return;Me(!je)},it=function(lt){var Te,mt=ct.action,tn=ct.iconRender,Vt=tn===void 0?function(){return null}:tn,Yt=st[mt]||"",Qt=Vt(je),an=(Te={},i()(Te,Yt,Ne),i()(Te,"className","".concat(lt,"-icon")),i()(Te,"key","passwordIcon"),i()(Te,"onMouseDown",function(vt){vt.preventDefault()}),i()(Te,"onMouseUp",function(vt){vt.preventDefault()}),Te);return n.cloneElement(n.isValidElement(Qt)?Qt:n.createElement("span",null,Qt),an)},wt=function(lt){var Te=lt.getPrefixCls,mt=ct.className,tn=ct.prefixCls,Vt=ct.inputPrefixCls,Yt=ct.size,Qt=ct.visibilityToggle,an=Se(ct,["className","prefixCls","inputPrefixCls","size","visibilityToggle"]),on=Te("input",Vt),vt=Te("input-password",tn),de=Qt&&it(vt),he=t()(vt,mt,i()({},"".concat(vt,"-").concat(Yt),!!Yt)),Pt=L()(L()({},Object(u.default)(an,["suffix","iconRender"])),{type:je?"text":"password",className:he,prefixCls:on,suffix:de});return Yt&&(Pt.size=Yt),n.createElement(F,L()({ref:St},Pt))};return n.createElement(N.a,null,wt)});qe.defaultProps={action:"click",visibilityToggle:!0,iconRender:function(St){return St?n.createElement(ce.a,null):n.createElement(pe.a,null)}},qe.displayName="Password";var tt=qe;F.Group=K,F.Search=J,F.TextArea=re,F.Password=tt;var Dt=U.a=F},"5s0K":function(te,U,e){var y=e("bYtY");function L(){var g=[],v={},A;return{add:function(b,m,d,r,a){return y.isString(r)&&(a=r,r=0),v[b.id]?!1:(v[b.id]=1,g.push({el:b,target:m,time:d,delay:r,easing:a}),!0)},done:function(b){return A=b,this},start:function(){for(var b=g.length,m=0,d=g.length;m<d;m++){var r=g[m];r.el.animateTo(r.target,r.time,r.delay,r.easing,a)}return this;function a(){b--,b||(g.length=0,v={},A&&A())}}}}U.createWrap=L},"5yev":function(te,U,e){"use strict";Object.defineProperty(U,"__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"};U.default=y},"6/nd":function(te,U,e){var y=e("ProS");y.registerAction("legendScroll","legendscroll",function(L,g){var v=L.scrollDataIndex;v!=null&&g.eachComponent({mainType:"legend",subType:"scroll",query:L},function(A){A.setScrollDataIndex(v)})})},"62sa":function(te,U,e){var y=e("bYtY"),L=e("4NO4"),g=L.makeInner,v=e("zTMp"),A=e("Ez2D"),b=y.each,m=y.curry,d=g();function r(f,w,x){var I=f.currTrigger,C=[f.x,f.y],N=f,S=f.dispatchAction||y.bind(x.dispatchAction,x),E=w.getComponent("axisPointer").coordSysAxesInfo;if(!E)return;h(C)&&(C=A({seriesIndex:N.seriesIndex,dataIndex:N.dataIndex},w).point);var T=h(C),D=N.axesInfo,B=E.axesInfo,R=I==="leave"||h(C),F={},M={},K={list:[],map:{}},j={showPointer:m(i,M),showTooltip:m(n,K)};b(E.coordSysMap,function(k,P){var z=T||k.containPoint(C);b(E.coordSysAxesInfo[P],function(Y,_){var G=Y.axis,J=o(D,Y);if(!R&&z&&(!D||J)){var ue=J&&J.value;ue==null&&!T&&(ue=G.pointToData(C)),ue!=null&&a(Y,ue,j,!1,F)}})});var H={};return b(B,function(k,P){var z=k.linkGroup;z&&!M[P]&&b(z.axesInfo,function(Y,_){var G=M[_];if(Y!==k&&G){var J=G.value;z.mapper&&(J=k.axis.scale.parse(z.mapper(J,c(Y),c(k)))),H[k.key]=J}})}),b(H,function(k,P){a(B[P],k,j,!0,F)}),l(M,B,F),t(K,C,f,S),u(B,S,x),F}function a(f,w,x,I,C){var N=f.axis;if(N.scale.isBlank()||!N.containData(w))return;if(!f.involveSeries){x.showPointer(f,w);return}var S=s(w,f),E=S.payloadBatch,T=S.snapToValue;E[0]&&C.seriesIndex==null&&y.extend(C,E[0]),!I&&f.snap&&(N.containData(T)&&T!=null&&(w=T)),x.showPointer(f,w,E,C),x.showTooltip(f,S,T)}function s(f,w){var x=w.axis,I=x.dim,C=f,N=[],S=Number.MAX_VALUE,E=-1;return b(w.seriesModels,function(T,D){var B=T.getData().mapDimension(I,!0),R,F;if(T.getAxisTooltipData){var M=T.getAxisTooltipData(B,f,x);F=M.dataIndices,R=M.nestestValue}else{if(F=T.getData().indicesOfNearest(B[0],f,x.type==="category"?.5:null),!F.length)return;R=T.getData().get(B[0],F[0])}if(R==null||!isFinite(R))return;var K=f-R,j=Math.abs(K);j<=S&&((j<S||K>=0&&E<0)&&(S=j,E=K,C=R,N.length=0),b(F,function(H){N.push({seriesIndex:T.seriesIndex,dataIndexInside:H,dataIndex:T.getData().getRawIndex(H)})}))}),{payloadBatch:N,snapToValue:C}}function i(f,w,x,I){f[w.key]={value:x,payloadBatch:I}}function n(f,w,x,I){var C=x.payloadBatch,N=w.axis,S=N.model,E=w.axisPointerModel;if(!w.triggerTooltip||!C.length)return;var T=w.coordSys.model,D=v.makeKey(T),B=f.map[D];B||(B=f.map[D]={coordSysId:T.id,coordSysIndex:T.componentIndex,coordSysType:T.type,coordSysMainType:T.mainType,dataByAxis:[]},f.list.push(B)),B.dataByAxis.push({axisDim:N.dim,axisIndex:S.componentIndex,axisType:S.type,axisId:S.id,value:I,valueLabelOpt:{precision:E.get("label.precision"),formatter:E.get("label.formatter")},seriesDataIndices:C.slice()})}function l(f,w,x){var I=x.axesInfo=[];b(w,function(C,N){var S=C.axisPointerModel.option,E=f[N];E?(!C.useHandle&&(S.status="show"),S.value=E.value,S.seriesDataIndices=(E.payloadBatch||[]).slice()):!C.useHandle&&(S.status="hide"),S.status==="show"&&I.push({axisDim:C.axis.dim,axisIndex:C.axis.model.componentIndex,value:S.value})})}function t(f,w,x,I){if(h(w)||!f.list.length){I({type:"hideTip"});return}var C=((f.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};I({type:"showTip",escapeConnect:!0,x:w[0],y:w[1],tooltipOption:x.tooltipOption,position:x.position,dataIndexInside:C.dataIndexInside,dataIndex:C.dataIndex,seriesIndex:C.seriesIndex,dataByCoordSys:f.list})}function u(f,w,x){var I=x.getZr(),C="axisPointerLastHighlights",N=d(I)[C]||{},S=d(I)[C]={};b(f,function(D,B){var R=D.axisPointerModel.option;R.status==="show"&&b(R.seriesDataIndices,function(F){var M=F.seriesIndex+" | "+F.dataIndex;S[M]=F})});var E=[],T=[];y.each(N,function(D,B){!S[B]&&T.push(D)}),y.each(S,function(D,B){!N[B]&&E.push(D)}),T.length&&x.dispatchAction({type:"downplay",escapeConnect:!0,batch:T}),E.length&&x.dispatchAction({type:"highlight",escapeConnect:!0,batch:E})}function o(f,w){for(var x=0;x<(f||[]).length;x++){var I=f[x];if(w.axis.dim===I.axisDim&&w.axis.model.componentIndex===I.axisIndex)return I}}function c(f){var w=f.axis.model,x={},I=x.axisDim=f.axis.dim;return x.axisIndex=x[I+"AxisIndex"]=w.componentIndex,x.axisName=x[I+"AxisName"]=w.name,x.axisId=x[I+"AxisId"]=w.id,x}function h(f){return!f||f[0]==null||isNaN(f[0])||f[1]==null||isNaN(f[1])}te.exports=r},"6D9b":function(te,U,e){},"6GrX":function(te,U,e){var y=e("mFDi"),L=e("Xnb7"),g=e("bYtY"),v=g.getContext,A=g.extend,b=g.retrieve2,m=g.retrieve3,d=g.trim,r={},a=0,s=5e3,i=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,n="12px sans-serif",l={};function t(K,j){l[K]=j}function u(K,j){j=j||n;var H=K+":"+j;if(r[H])return r[H];for(var k=(K+"").split(`
|
|
|
`),P=0,z=0,Y=k.length;z<Y;z++)P=Math.max(D(k[z],j).width,P);return a>s&&(a=0,r={}),a++,r[H]=P,P}function o(K,j,H,k,P,z,Y,_){return Y?h(K,j,H,k,P,z,Y,_):c(K,j,H,k,P,z,_)}function c(K,j,H,k,P,z,Y){var _=B(K,j,P,z,Y),G=u(K,j);P&&(G+=P[1]+P[3]);var J=_.outerHeight,ue=f(0,G,H),q=w(0,J,k),re=new y(ue,q,G,J);return re.lineHeight=_.lineHeight,re}function h(K,j,H,k,P,z,Y,_){var G=R(K,{rich:Y,truncate:_,font:j,textAlign:H,textPadding:P,textLineHeight:z}),J=G.outerWidth,ue=G.outerHeight,q=f(0,J,H),re=w(0,ue,k);return new y(q,re,J,ue)}function f(K,j,H){return H==="right"?K-=j:H==="center"&&(K-=j/2),K}function w(K,j,H){return H==="middle"?K-=j/2:H==="bottom"&&(K-=j),K}function x(K,j,H){var k=j.textPosition,P=j.textDistance,z=H.x,Y=H.y;P=P||0;var _=H.height,G=H.width,J=_/2,ue="left",q="top";switch(k){case"left":z-=P,Y+=J,ue="right",q="middle";break;case"right":z+=P+G,Y+=J,q="middle";break;case"top":z+=G/2,Y-=P,ue="center",q="bottom";break;case"bottom":z+=G/2,Y+=_+P,ue="center";break;case"inside":z+=G/2,Y+=J,ue="center",q="middle";break;case"insideLeft":z+=P,Y+=J,q="middle";break;case"insideRight":z+=G-P,Y+=J,ue="right",q="middle";break;case"insideTop":z+=G/2,Y+=P,ue="center";break;case"insideBottom":z+=G/2,Y+=_-P,ue="center",q="bottom";break;case"insideTopLeft":z+=P,Y+=P;break;case"insideTopRight":z+=G-P,Y+=P,ue="right";break;case"insideBottomLeft":z+=P,Y+=_-P,q="bottom";break;case"insideBottomRight":z+=G-P,Y+=_-P,ue="right",q="bottom";break}return K=K||{},K.x=z,K.y=Y,K.textAlign=ue,K.textVerticalAlign=q,K}function I(K,j,H){var k={textPosition:K,textDistance:H};return x({},k,j)}function C(K,j,H,k,P){if(!j)return"";var z=(K+"").split(`
|
|
|
`);P=N(j,H,k,P);for(var Y=0,_=z.length;Y<_;Y++)z[Y]=S(z[Y],P);return z.join(`
|
|
|
`)}function N(K,j,H,k){k=A({},k),k.font=j;var H=b(H,"...");k.maxIterations=b(k.maxIterations,2);var P=k.minChar=b(k.minChar,0);k.cnCharWidth=u("\u56FD",j);var z=k.ascCharWidth=u("a",j);k.placeholder=b(k.placeholder,"");for(var Y=K=Math.max(0,K-1),_=0;_<P&&Y>=z;_++)Y-=z;var G=u(H,j);return G>Y&&(H="",G=0),Y=K-G,k.ellipsis=H,k.ellipsisWidth=G,k.contentWidth=Y,k.containerWidth=K,k}function S(K,j){var H=j.containerWidth,k=j.font,P=j.contentWidth;if(!H)return"";var z=u(K,k);if(z<=H)return K;for(var Y=0;;Y++){if(z<=P||Y>=j.maxIterations){K+=j.ellipsis;break}var _=Y===0?E(K,P,j.ascCharWidth,j.cnCharWidth):z>0?Math.floor(K.length*P/z):0;K=K.substr(0,_),z=u(K,k)}return K===""&&(K=j.placeholder),K}function E(K,j,H,k){for(var P=0,z=0,Y=K.length;z<Y&&P<j;z++){var _=K.charCodeAt(z);P+=0<=_&&_<=127?H:k}return z}function T(K){return u("\u56FD",K)}function D(K,j){return l.measureText(K,j)}l.measureText=function(K,j){var H=v();return H.font=j||n,H.measureText(K)};function B(K,j,H,k,P){K!=null&&(K+="");var z=b(k,T(j)),Y=K?K.split(`
|
|
|
`):[],_=Y.length*z,G=_,J=!0;if(H&&(G+=H[0]+H[2]),K&&P){J=!1;var ue=P.outerHeight,q=P.outerWidth;if(ue!=null&&G>ue)K="",Y=[];else if(q!=null)for(var re=N(q-(H?H[1]+H[3]:0),j,P.ellipsis,{minChar:P.minChar,placeholder:P.placeholder}),me=0,be=Y.length;me<be;me++)Y[me]=S(Y[me],re)}return{lines:Y,height:_,outerHeight:G,lineHeight:z,canCacheByTextString:J}}function R(K,j){var H={lines:[],width:0,height:0};if(K!=null&&(K+=""),!K)return H;for(var k=i.lastIndex=0,P;(P=i.exec(K))!=null;){var z=P.index;z>k&&F(H,K.substring(k,z)),F(H,P[2],P[1]),k=i.lastIndex}k<K.length&&F(H,K.substring(k,K.length));var Y=H.lines,_=0,G=0,J=[],ue=j.textPadding,q=j.truncate,re=q&&q.outerWidth,me=q&&q.outerHeight;ue&&(re!=null&&(re-=ue[1]+ue[3]),me!=null&&(me-=ue[0]+ue[2]));for(var be=0;be<Y.length;be++){for(var ke=Y[be],ce=0,Ee=0,pe=0;pe<ke.tokens.length;pe++){var Se=ke.tokens[pe],st=Se.styleName&&j.rich[Se.styleName]||{},qe=Se.textPadding=st.textPadding,tt=Se.font=st.font||j.font,Dt=Se.textHeight=b(st.textHeight,T(tt));if(qe&&(Dt+=qe[0]+qe[2]),Se.height=Dt,Se.lineHeight=m(st.textLineHeight,j.textLineHeight,Dt),Se.textAlign=st&&st.textAlign||j.textAlign,Se.textVerticalAlign=st&&st.textVerticalAlign||"middle",me!=null&&_+Se.lineHeight>me)return{lines:[],width:0,height:0};Se.textWidth=u(Se.text,tt);var ct=st.textWidth,St=ct==null||ct==="auto";if(typeof ct=="string"&&ct.charAt(ct.length-1)==="%")Se.percentWidth=ct,J.push(Se),ct=0;else{if(St){ct=Se.textWidth;var rt=st.textBackgroundColor,ht=rt&&rt.image;ht&&(ht=L.findExistImage(ht),L.isImageReady(ht)&&(ct=Math.max(ct,ht.width*Dt/ht.height)))}var je=qe?qe[1]+qe[3]:0;ct+=je;var Me=re!=null?re-Ee:null;Me!=null&&Me<ct&&(!St||Me<je?(Se.text="",Se.textWidth=ct=0):(Se.text=C(Se.text,Me-je,tt,q.ellipsis,{minChar:q.minChar}),Se.textWidth=u(Se.text,tt),ct=Se.textWidth+je))}Ee+=Se.width=ct,st&&(ce=Math.max(ce,Se.lineHeight))}ke.width=Ee,ke.lineHeight=ce,_+=ce,G=Math.max(G,Ee)}H.outerWidth=H.width=b(j.textWidth,G),H.outerHeight=H.height=b(j.textHeight,_),ue&&(H.outerWidth+=ue[1]+ue[3],H.outerHeight+=ue[0]+ue[2]);for(var be=0;be<J.length;be++){var Se=J[be],Ne=Se.percentWidth;Se.width=parseInt(Ne,10)/100*G}return H}function F(K,j,H){for(var k=j==="",P=j.split(`
|
|
|
`),z=K.lines,Y=0;Y<P.length;Y++){var _=P[Y],G={styleName:H,text:_,isLineHolder:!_&&!k};if(Y)z.push({tokens:[G]});else{var J=(z[z.length-1]||(z[0]={tokens:[]})).tokens,ue=J.length;ue===1&&J[0].isLineHolder?J[0]=G:(_||!ue||k)&&J.push(G)}}}function M(K){var j=(K.fontSize||K.fontFamily)&&[K.fontStyle,K.fontWeight,(K.fontSize||12)+"px",K.fontFamily||"sans-serif"].join(" ");return j&&d(j)||K.textFont||K.font}U.DEFAULT_FONT=n,U.$override=t,U.getWidth=u,U.getBoundingRect=o,U.adjustTextX=f,U.adjustTextY=w,U.calculateTextPosition=x,U.adjustTextPositionOnRect=I,U.truncateText=C,U.getLineHeight=T,U.measureText=D,U.parsePlainText=B,U.parseRichText=R,U.makeFont=M},"6Hfg":function(te,U,e){"use strict";var y=e("284h"),L=e("TqRt");Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var g=L(e("3tO9")),v=y(e("q1tI")),A=L(e("FhB9")),b=L(e("KQxl")),m=function(a,s){return v.createElement(b.default,(0,g.default)((0,g.default)({},a),{},{ref:s,icon:A.default}))};m.displayName="SwapRightOutlined";var d=v.forwardRef(m);U.default=d},"6Ic6":function(te,U,e){var y=e("bYtY"),L=y.each,g=e("4fz+"),v=e("iRjW"),A=e("Yl7c"),b=e("4NO4"),m=e("IwbS"),d=e("9H2F"),r=d.createTask,a=e("zM3Q"),s=b.makeInner(),i=a();function n(){this.group=new g,this.uid=v.getUID("viewChart"),this.renderTask=r({plan:o,reset:c}),this.renderTask.context={view:this}}n.prototype={type:"chart",init:function(w,x){},render:function(w,x,I,C){},highlight:function(w,x,I,C){u(w.getData(),C,"emphasis")},downplay:function(w,x,I,C){u(w.getData(),C,"normal")},remove:function(w,x){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var l=n.prototype;l.updateView=l.updateLayout=l.updateVisual=function(w,x,I,C){this.render(w,x,I,C)};function t(w,x,I){if(w&&(w.trigger(x,I),w.isGroup&&!m.isHighDownDispatcher(w)))for(var C=0,N=w.childCount();C<N;C++)t(w.childAt(C),x,I)}function u(w,x,I){var C=b.queryDataIndex(w,x),N=x&&x.highlightKey!=null?m.getHighlightDigit(x.highlightKey):null;C!=null?L(b.normalizeToArray(C),function(S){t(w.getItemGraphicEl(S),I,N)}):w.eachItemGraphicEl(function(S){t(S,I,N)})}A.enableClassExtend(n,["dispose"]),A.enableClassManagement(n,{registerWhenExtend:!0}),n.markUpdateMethod=function(w,x){s(w).updateMethod=x};function o(w){return i(w.model)}function c(w){var x=w.model,I=w.ecModel,C=w.api,N=w.payload,S=x.pipelineContext.progressiveRender,E=w.view,T=N&&s(N).updateMethod,D=S?"incrementalPrepareRender":T&&E[T]?T:"render";return D!=="render"&&E[D](x,I,C,N),h[D]}var h={incrementalPrepareRender:{progress:function(w,x){x.view.incrementalRender(w,x.model,x.ecModel,x.api,x.payload)}},render:{forceFirstProgress:!0,progress:function(w,x){x.view.render(x.model,x.ecModel,x.api,x.payload)}}},f=n;te.exports=f},"6MrE":function(te,U,e){},"6SEX":function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=L(e("qWUW"));function L(v){return v&&v.__esModule?v:{default:v}}var g=y;U.default=g,te.exports=g},"6UJt":function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("v56E"),v=e.n(g),A=e("R9oj"),b=e("5NDa")},"6VBw":function(te,U,e){"use strict";var y=e("VTBJ"),L=e("ODXe"),g=e("rePB"),v=e("Ff2n"),A=e("q1tI"),b=e("TSYQ"),m=e.n(b),d=e("Pw59"),r=e("Qi1f"),a=["icon","className","onClick","style","primaryColor","secondaryColor"],s={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function i(w){var x=w.primaryColor,I=w.secondaryColor;s.primaryColor=x,s.secondaryColor=I||Object(r.b)(x),s.calculated=!!I}function n(){return Object(y.a)({},s)}var l=function(x){var I=x.icon,C=x.className,N=x.onClick,S=x.style,E=x.primaryColor,T=x.secondaryColor,D=Object(v.a)(x,a),B=s;if(E&&(B={primaryColor:E,secondaryColor:T||Object(r.b)(E)}),Object(r.f)(),Object(r.g)(Object(r.c)(I),"icon should be icon definiton, but got ".concat(I)),!Object(r.c)(I))return null;var R=I;return R&&typeof R.icon=="function"&&(R=Object(y.a)(Object(y.a)({},R),{},{icon:R.icon(B.primaryColor,B.secondaryColor)})),Object(r.a)(R.icon,"svg-".concat(R.name),Object(y.a)({className:C,onClick:N,style:S,"data-icon":R.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},D))};l.displayName="IconReact",l.getTwoToneColors=n,l.setTwoToneColors=i;var t=l;function u(w){var x=Object(r.d)(w),I=Object(L.a)(x,2),C=I[0],N=I[1];return t.setTwoToneColors({primaryColor:C,secondaryColor:N})}function o(){var w=t.getTwoToneColors();return w.calculated?[w.primaryColor,w.secondaryColor]:w.primaryColor}var c=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];u("#1890ff");var h=A.forwardRef(function(w,x){var I,C=w.className,N=w.icon,S=w.spin,E=w.rotate,T=w.tabIndex,D=w.onClick,B=w.twoToneColor,R=Object(v.a)(w,c),F=A.useContext(d.a),M=F.prefixCls,K=M===void 0?"anticon":M,j=m()(K,(I={},Object(g.a)(I,"".concat(K,"-").concat(N.name),!!N.name),Object(g.a)(I,"".concat(K,"-spin"),!!S||N.name==="loading"),I),C),H=T;H===void 0&&D&&(H=-1);var k=E?{msTransform:"rotate(".concat(E,"deg)"),transform:"rotate(".concat(E,"deg)")}:void 0,P=Object(r.d)(B),z=Object(L.a)(P,2),Y=z[0],_=z[1];return A.createElement("span",Object(y.a)(Object(y.a)({role:"img","aria-label":N.name},R),{},{ref:x,tabIndex:H,onClick:D,className:j}),A.createElement(t,{icon:N,primaryColor:Y,secondaryColor:_,style:k}))});h.displayName="AntdIcon",h.getTwoToneColor=o,h.setTwoToneColor=u;var f=U.a=h},"6cGi":function(te,U,e){"use strict";e.d(U,"a",function(){return v});var y=e("ODXe"),L=e("q1tI"),g=e.n(L);function v(A,b){var m=b||{},d=m.defaultValue,r=m.value,a=m.onChange,s=m.postState,i=L.useState(function(){return r!==void 0?r:d!==void 0?typeof d=="function"?d():d:typeof A=="function"?A():A}),n=Object(y.a)(i,2),l=n[0],t=n[1],u=r!==void 0?r:l;s&&(u=s(u));var o=L.useRef(a);o.current=a;var c=L.useCallback(function(f){t(f),u!==f&&o.current&&o.current(f,u)},[u,o]),h=L.useRef(!0);return L.useEffect(function(){if(h.current){h.current=!1;return}r===void 0&&t(r)},[r]),[u,c]}},"6fms":function(te,U,e){var y=e("SUKs"),L=e("06Qe"),g=e("bYtY"),v=g.each;function A(r){return parseInt(r,10)}function b(r,a){L.initVML(),this.root=r,this.storage=a;var s=document.createElement("div"),i=document.createElement("div");s.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",i.style.cssText="position:absolute;left:0;top:0;",r.appendChild(s),this._vmlRoot=i,this._vmlViewport=s,this.resize();var n=a.delFromStorage,l=a.addToStorage;a.delFromStorage=function(t){n.call(a,t),t&&(t.onRemove&&t.onRemove(i))},a.addToStorage=function(t){t.onAdd&&t.onAdd(i),l.call(a,t)},this._firstPaint=!0}b.prototype={constructor:b,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var a=this.getViewportRoot();if(a)return{offsetLeft:a.offsetLeft||0,offsetTop:a.offsetTop||0}},refresh:function(){var a=this.storage.getDisplayList(!0,!0);this._paintList(a)},_paintList:function(a){for(var s=this._vmlRoot,i=0;i<a.length;i++){var n=a[i];n.invisible||n.ignore?(n.__alreadyNotVisible||n.onRemove(s),n.__alreadyNotVisible=!0):(n.__alreadyNotVisible&&n.onAdd(s),n.__alreadyNotVisible=!1,n.__dirty&&(n.beforeBrush&&n.beforeBrush(),(n.brushVML||n.brush).call(n,s),n.afterBrush&&n.afterBrush())),n.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(s),this._firstPaint=!1)},resize:function(a,s){var a=a==null?this._getWidth():a,s=s==null?this._getHeight():s;if(this._width!==a||this._height!==s){this._width=a,this._height=s;var i=this._vmlViewport.style;i.width=a+"px",i.height=s+"px"}},dispose:function(){this.root.innerHTML="",this._vmlRoot=this._vmlViewport=this.storage=null},getWidth:function(){return this._width},getHeight:function(){return this._height},clear:function(){this._vmlViewport&&this.root.removeChild(this._vmlViewport)},_getWidth:function(){var a=this.root,s=a.currentStyle;return(a.clientWidth||A(s.width))-A(s.paddingLeft)-A(s.paddingRight)|0},_getHeight:function(){var a=this.root,s=a.currentStyle;return(a.clientHeight||A(s.height))-A(s.paddingTop)-A(s.paddingBottom)|0}};function m(r){return function(){y('In IE8.0 VML mode painter not support method "'+r+'"')}}v(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(r){b.prototype[r]=m(r)});var d=b;te.exports=d},"6r85":function(te,U,e){var y=e("bYtY");function L(g){if(!g||!y.isArray(g.series))return;y.each(g.series,function(v){y.isObject(v)&&v.type==="k"&&(v.type="candlestick")})}te.exports=L},"6uqw":function(te,U,e){var y=e("ProS"),L=e("bYtY"),g=e("ItGF"),v=e("YOMW"),A=e("XxSj"),b=e("K4ya"),m=e("4NO4"),d=e("OELB"),r=A.mapVisual,a=A.eachVisual,s=L.isArray,i=L.each,n=d.asc,l=d.linearMap,t=L.noop,u=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(c,h,f){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(c,f)},optionUpdated:function(c,h){var f=this.option;g.canvasSupported||(f.realtime=!1),!h&&b.replaceVisualOption(f,c,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(c){var h=this.stateList;c=L.bind(c,this),this.controllerVisuals=b.createVisualMappings(this.option.controller,h,c),this.targetVisuals=b.createVisualMappings(this.option.target,h,c)},getTargetSeriesIndices:function(){var c=this.option.seriesIndex,h=[];return c==null||c==="all"?this.ecModel.eachSeries(function(f,w){h.push(w)}):h=m.normalizeToArray(c),h},eachTargetSeries:function(c,h){L.each(this.getTargetSeriesIndices(),function(f){c.call(h,this.ecModel.getSeriesByIndex(f))},this)},isTargetSeries:function(c){var h=!1;return this.eachTargetSeries(function(f){f===c&&(h=!0)}),h},formatValueText:function(c,h,f){var w=this.option,x=w.precision,I=this.dataBound,C=w.formatter,N,S;if(f=f||["<",">"],L.isArray(c)&&(c=c.slice(),N=!0),S=h?c:N?[E(c[0]),E(c[1])]:E(c),L.isString(C))return C.replace("{value}",N?S[0]:S).replace("{value2}",N?S[1]:S);if(L.isFunction(C))return N?C(c[0],c[1]):C(c);if(N)return c[0]===I[0]?f[0]+" "+S[1]:c[1]===I[1]?f[1]+" "+S[0]:S[0]+" - "+S[1];return S;function E(T){return T===I[0]?"min":T===I[1]?"max":(+T).toFixed(Math.min(x,20))}},resetExtent:function(){var c=this.option,h=n([c.min,c.max]);this._dataExtent=h},getDataDimension:function(c){var h=this.option.dimension,f=c.dimensions;if(h==null&&!f.length)return;if(h!=null)return c.getDimension(h);for(var w=c.dimensions,x=w.length-1;x>=0;x--){var I=w[x],C=c.getDimensionInfo(I);if(!C.isCalculationCoord)return I}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var c=this.ecModel,h=this.option,f={inRange:h.inRange,outOfRange:h.outOfRange},w=h.target||(h.target={}),x=h.controller||(h.controller={});L.merge(w,f),L.merge(x,f);var I=this.isCategory();C.call(this,w),C.call(this,x),N.call(this,w,"inRange","outOfRange"),S.call(this,x);function C(E){s(h.color)&&!E.inRange&&(E.inRange={color:h.color.slice().reverse()}),E.inRange=E.inRange||{color:c.get("gradientColor")},i(this.stateList,function(T){var D=E[T];if(L.isString(D)){var B=v.get(D,"active",I);B?(E[T]={},E[T][D]=B):delete E[T]}},this)}function N(E,T,D){var B=E[T],R=E[D];B&&!R&&(R=E[D]={},i(B,function(F,M){if(!A.isValidType(M))return;var K=v.get(M,"inactive",I);K!=null&&(R[M]=K,M==="color"&&!R.hasOwnProperty("opacity")&&!R.hasOwnProperty("colorAlpha")&&(R.opacity=[0,0]))}))}function S(E){var T=(E.inRange||{}).symbol||(E.outOfRange||{}).symbol,D=(E.inRange||{}).symbolSize||(E.outOfRange||{}).symbolSize,B=this.get("inactiveColor");i(this.stateList,function(R){var F=this.itemSize,M=E[R];M||(M=E[R]={color:I?B:[B]}),M.symbol==null&&(M.symbol=T&&L.clone(T)||(I?"roundRect":["roundRect"])),M.symbolSize==null&&(M.symbolSize=D&&L.clone(D)||(I?F[0]:[F[0],F[0]])),M.symbol=r(M.symbol,function(H){return H==="none"||H==="square"?"roundRect":H});var K=M.symbolSize;if(K!=null){var j=-Infinity;a(K,function(H){H>j&&(j=H)}),M.symbolSize=r(K,function(H){return l(H,[0,j],[0,F[0]],!0)})}},this)}},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:t,getValueState:t,getVisualMeta:t}),o=u;te.exports=o},"6usn":function(te,U,e){var y=e("bYtY");function L(v,A){return y.map(["Radius","Angle"],function(b,m){var d=this["get"+b+"Axis"](),r=A[m],a=v[m]/2,s="dataTo"+b,i=d.type==="category"?d.getBandWidth():Math.abs(d[s](r-a)-d[s](r+a));return b==="Angle"&&(i=i*Math.PI/180),i},this)}function g(v){var A=v.getRadiusAxis(),b=v.getAngleAxis(),m=A.getExtent();return m[0]>m[1]&&m.reverse(),{coordSys:{type:"polar",cx:v.cx,cy:v.cy,r:m[1],r0:m[0]},api:{coord:y.bind(function(d){var r=A.dataToRadius(d[0]),a=b.dataToAngle(d[1]),s=v.coordToPoint([r,a]);return s.push(r,a*Math.PI/180),s}),size:y.bind(L,v)}}}te.exports=g},"6xvX":function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=L(e("V7ic"));function L(v){return v&&v.__esModule?v:{default:v}}var g=y;U.default=g,te.exports=g},"711d":function(te,U){function e(y){return function(L){return L==null?void 0:L[y]}}te.exports=e},"72pK":function(te,U){function e(g,v,A,b,m,d){g=g||0;var r=A[1]-A[0];if(m!=null&&(m=L(m,[0,r])),d!=null&&(d=Math.max(d,m!=null?m:0)),b==="all"){var a=Math.abs(v[1]-v[0]);a=L(a,[0,r]),m=d=L(a,[m,d]),b=0}v[0]=L(v[0],A),v[1]=L(v[1],A);var s=y(v,b);v[b]+=g;var i=m||0,n=A.slice();s.sign<0?n[0]+=i:n[1]-=i,v[b]=L(v[b],n);var l=y(v,b);m!=null&&(l.sign!==s.sign||l.span<m)&&(v[1-b]=v[b]+s.sign*m);var l=y(v,b);return d!=null&&l.span>d&&(v[1-b]=v[b]+l.sign*d),v}function y(g,v){var A=g[v]-g[1-v];return{span:Math.abs(A),sign:A>0?-1:A<0?1:v?-1:1}}function L(g,v){return Math.min(v[1]!=null?v[1]:Infinity,Math.max(v[0]!=null?v[0]:-Infinity,g))}te.exports=e},"75ce":function(te,U,e){var y=e("ProS");e("IXuL"),e("8X+K");var L=e("f5Yq"),g=e("h8O9"),v=e("/d5a");e("Ae16"),y.registerVisual(L("line","circle","line")),y.registerLayout(g("line")),y.registerProcessor(y.PRIORITY.PROCESSOR.STATISTIC,v("line"))},"75ev":function(te,U,e){var y=e("ProS");e("IWNH"),e("bNin"),e("v5uJ");var L=e("f5Yq"),g=e("yik8");y.registerVisual(L("tree","circle")),y.registerLayout(g)},"7AJT":function(te,U,e){var y=e("bYtY"),L=e("hM6l"),g=function(A,b,m,d,r){L.call(this,A,b,m),this.type=d||"value",this.position=r||"bottom"};g.prototype={constructor:g,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var A=this.position;return A==="top"||A==="bottom"},getGlobalExtent:function(A){var b=this.getExtent();return b[0]=this.toGlobalCoord(b[0]),b[1]=this.toGlobalCoord(b[1]),A&&b[0]>b[1]&&b.reverse(),b},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(A,b){return this.coordToData(this.toLocalCoord(A[this.dim==="x"?0:1]),b)},toLocalCoord:null,toGlobalCoord:null},y.inherits(g,L);var v=g;te.exports=v},"7DRL":function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("bYtY"),v=g.createHashMap,A=g.isString,b=g.isArray,m=g.each,d=g.assert,r=e("MEGo"),a=r.parseXML,s=v(),i={registerMap:function(l,t,u){var o;return b(t)?o=t:t.svg?o=[{type:"svg",source:t.svg,specialAreas:t.specialAreas}]:(t.geoJson&&!t.features&&(u=t.specialAreas,t=t.geoJson),o=[{type:"geoJSON",source:t,specialAreas:u}]),m(o,function(c){var h=c.type;h==="geoJson"&&(h=c.type="geoJSON");var f=n[h];f(c)}),s.set(l,o)},retrieveMap:function(l){return s.get(l)}},n={geoJSON:function(l){var t=l.source;l.geoJSON=A(t)?typeof JSON!="undefined"&&JSON.parse?JSON.parse(t):new Function("return ("+t+");")():t},svg:function(l){l.svgXML=a(l.source)}};te.exports=i},"7G+c":function(te,U,e){var y=e("bYtY"),L=y.createHashMap,g=y.isTypedArray,v=e("Yl7c"),A=v.enableClassCheck,b=e("k9D9"),m=b.SOURCE_FORMAT_ORIGINAL,d=b.SERIES_LAYOUT_BY_COLUMN,r=b.SOURCE_FORMAT_UNKNOWN,a=b.SOURCE_FORMAT_TYPED_ARRAY,s=b.SOURCE_FORMAT_KEYED_COLUMNS;function i(l){this.fromDataset=l.fromDataset,this.data=l.data||(l.sourceFormat===s?{}:[]),this.sourceFormat=l.sourceFormat||r,this.seriesLayoutBy=l.seriesLayoutBy||d,this.dimensionsDefine=l.dimensionsDefine,this.encodeDefine=l.encodeDefine&&L(l.encodeDefine),this.startIndex=l.startIndex||0,this.dimensionsDetectCount=l.dimensionsDetectCount}i.seriesDataToSource=function(l){return new i({data:l,sourceFormat:g(l)?a:m,fromDataset:!1})},A(i);var n=i;te.exports=n},"7Kak":function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("KPFz"),v=e.n(g)},"7Phj":function(te,U,e){var y=e("bYtY"),L=e("OELB"),g=L.parsePercent,v=y.each;function A(r){var a=b(r);v(a,function(s){var i=s.seriesModels;if(!i.length)return;m(s),v(i,function(n,l){d(n,s.boxOffsetList[l],s.boxWidthList[l])})})}function b(r){var a=[],s=[];return r.eachSeriesByType("boxplot",function(i){var n=i.getBaseAxis(),l=y.indexOf(s,n);l<0&&(l=s.length,s[l]=n,a[l]={axis:n,seriesModels:[]}),a[l].seriesModels.push(i)}),a}function m(r){var a,s=r.axis,i=r.seriesModels,n=i.length,l=r.boxWidthList=[],t=r.boxOffsetList=[],u=[],o;if(s.type==="category")o=s.getBandWidth();else{var c=0;v(i,function(I){c=Math.max(c,I.getData().count())}),a=s.getExtent(),Math.abs(a[1]-a[0])/c}v(i,function(I){var C=I.get("boxWidth");y.isArray(C)||(C=[C,C]),u.push([g(C[0],o)||0,g(C[1],o)||0])});var h=o*.8-2,f=h/n*.3,w=(h-f*(n-1))/n,x=w/2-h/2;v(i,function(I,C){t.push(x),x+=f+w,l.push(Math.min(Math.max(w,u[C][0]),u[C][1]))})}function d(r,a,s){var i=r.coordinateSystem,n=r.getData(),l=s/2,t=r.get("layout")==="horizontal"?0:1,u=1-t,o=["x","y"],c=n.mapDimension(o[t]),h=n.mapDimension(o[u],!0);if(c==null||h.length<5)return;for(var f=0;f<n.count();f++){var w=n.get(c,f),x=T(w,h[2],f),I=T(w,h[0],f),C=T(w,h[1],f),N=T(w,h[3],f),S=T(w,h[4],f),E=[];D(E,C,0),D(E,N,1),E.push(I,C,S,N),B(E,I),B(E,S),B(E,x),n.setItemLayout(f,{initBaseline:x[u],ends:E})}function T(R,F,M){var K=n.get(F,M),j=[];j[t]=R,j[u]=K;var H;return isNaN(R)||isNaN(K)?H=[NaN,NaN]:(H=i.dataToPoint(j),H[t]+=a),H}function D(R,F,M){var K=F.slice(),j=F.slice();K[t]+=l,j[t]-=l,M?R.push(K,j):R.push(j,K)}function B(R,F){var M=F.slice(),K=F.slice();M[t]-=l,K[t]+=l,R.push(M,K)}}te.exports=A},"7SHv":function(te,U,e){var y=e("LPTA"),L=y.devicePixelRatio,g=e("bYtY"),v=e("SUKs"),A=e("mFDi"),b=e("BPZU"),m=e("Xmg4"),d=e("mLcG"),r=e("Dagg"),a=e("ItGF"),s=1e5,i=314159,n=.01,l=.001;function t(N){return parseInt(N,10)}function u(N){return N?N.__builtin__?!0:!(typeof N.resize!="function"||typeof N.refresh!="function"):!1}var o=new A(0,0,0,0),c=new A(0,0,0,0);function h(N,S,E){return o.copy(N.getBoundingRect()),N.transform&&o.applyTransform(N.transform),c.width=S,c.height=E,!o.intersect(c)}function f(N,S){if(N===S)return!1;if(!N||!S||N.length!==S.length)return!0;for(var E=0;E<N.length;E++)if(N[E]!==S[E])return!0;return!1}function w(N,S){for(var E=0;E<N.length;E++){var T=N[E];T.setTransform(S),S.beginPath(),T.buildPath(S,T.shape),S.clip(),T.restoreTransform(S)}}function x(N,S){var E=document.createElement("div");return E.style.cssText=["position:relative","width:"+N+"px","height:"+S+"px","padding:0","margin:0","border-width:0"].join(";")+";",E}var I=function(S,E,T){this.type="canvas";var D=!S.nodeName||S.nodeName.toUpperCase()==="CANVAS";this._opts=T=g.extend({},T||{}),this.dpr=T.devicePixelRatio||L,this._singleCanvas=D,this.root=S;var B=S.style;B&&(B["-webkit-tap-highlight-color"]="transparent",B["-webkit-user-select"]=B["user-select"]=B["-webkit-touch-callout"]="none",S.innerHTML=""),this.storage=E;var R=this._zlevelList=[],F=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,D){var K=S.width,j=S.height;T.width!=null&&(K=T.width),T.height!=null&&(j=T.height),this.dpr=T.devicePixelRatio||1,S.width=K*this.dpr,S.height=j*this.dpr,this._width=K,this._height=j;var H=new m(S,this,this.dpr);H.__builtin__=!0,H.initContext(),F[i]=H,H.zlevel=i,R.push(i),this._domRoot=S}else{this._width=this._getSize(0),this._height=this._getSize(1);var M=this._domRoot=x(this._width,this._height);S.appendChild(M)}this._hoverlayer=null,this._hoverElements=[]};I.prototype={constructor:I,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),T=this._zlevelList;this._redrawId=Math.random(),this._paintList(E,S,this._redrawId);for(var D=0;D<T.length;D++){var B=T[D],R=this._layers[B];if(!R.__builtin__&&R.refresh){var F=D===0?this._backgroundColor:null;R.refresh(F)}}return this.refreshHover(),this},addHover:function(S,E){if(S.__hoverMir)return;var T=new S.constructor({style:S.style,shape:S.shape,z:S.z,z2:S.z2,silent:S.silent});return T.__from=S,S.__hoverMir=T,E&&T.setStyle(E),this._hoverElements.push(T),T},removeHover:function(S){var E=S.__hoverMir,T=this._hoverElements,D=g.indexOf(T,E);D>=0&&T.splice(D,1),S.__hoverMir=null},clearHover:function(S){for(var E=this._hoverElements,T=0;T<E.length;T++){var D=E[T].__from;D&&(D.__hoverMir=null)}E.length=0},refreshHover:function(){var S=this._hoverElements,E=S.length,T=this._hoverlayer;if(T&&T.clear(),!E)return;b(S,this.storage.displayableSortFunc),T||(T=this._hoverlayer=this.getLayer(s));var D={};T.ctx.save();for(var B=0;B<E;){var R=S[B],F=R.__from;if(!(F&&F.__zr)){S.splice(B,1),F.__hoverMir=null,E--;continue}B++,F.invisible||(R.transform=F.transform,R.invTransform=F.invTransform,R.__clipPaths=F.__clipPaths,this._doPaintEl(R,T,!0,D))}T.ctx.restore()},getHoverLayer:function(){return this.getLayer(s)},_paintList:function(S,E,T){if(this._redrawId!==T)return;E=E||!1,this._updateLayerStatus(S);var D=this._doPaintList(S,E);if(this._needsManuallyCompositing&&this._compositeManually(),!D){var B=this;d(function(){B._paintList(S,E,T)})}},_compositeManually:function(){var S=this.getLayer(i).ctx,E=this._domRoot.width,T=this._domRoot.height;S.clearRect(0,0,E,T),this.eachBuiltinLayer(function(D){D.virtual&&S.drawImage(D.dom,0,0,E,T)})},_doPaintList:function(S,E){for(var T=[],D=0;D<this._zlevelList.length;D++){var B=this._zlevelList[D],R=this._layers[B];R.__builtin__&&R!==this._hoverlayer&&(R.__dirty||E)&&T.push(R)}for(var F=!0,M=0;M<T.length;M++){var R=T[M],K=R.ctx,j={};K.save();var H=E?R.__startIndex:R.__drawIndex,k=!E&&R.incremental&&Date.now,P=k&&Date.now(),z=R.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(R.__startIndex===R.__endIndex)R.clear(!1,z);else if(H===R.__startIndex){var Y=S[H];(!Y.incremental||!Y.notClear||E)&&R.clear(!1,z)}H===-1&&(console.error("For some unknown reason. drawIndex is -1"),H=R.__startIndex);for(var _=H;_<R.__endIndex;_++){var G=S[_];if(this._doPaintEl(G,R,E,j),G.__dirty=G.__dirtyText=!1,k){var J=Date.now()-P;if(J>15)break}}R.__drawIndex=_,R.__drawIndex<R.__endIndex&&(F=!1),j.prevElClipPaths&&K.restore(),K.restore()}return a.wxa&&g.each(this._layers,function(ue){ue&&ue.ctx&&ue.ctx.draw&&ue.ctx.draw()}),F},_doPaintEl:function(S,E,T,D){var B=E.ctx,R=S.transform;if((E.__dirty||T)&&!S.invisible&&S.style.opacity!==0&&!(R&&!R[0]&&!R[3])&&!(S.culling&&h(S,this._width,this._height))){var F=S.__clipPaths,M=D.prevElClipPaths;(!M||f(F,M))&&(M&&(B.restore(),D.prevElClipPaths=null,D.prevEl=null),F&&(B.save(),w(F,B),D.prevElClipPaths=F)),S.beforeBrush&&S.beforeBrush(B),S.brush(B,D.prevEl||null),D.prevEl=S,S.afterBrush&&S.afterBrush(B)}},getLayer:function(S,E){this._singleCanvas&&!this._needsManuallyCompositing&&(S=i);var T=this._layers[S];return T||(T=new m("zr_"+S,this,this.dpr),T.zlevel=S,T.__builtin__=!0,this._layerConfig[S]?g.merge(T,this._layerConfig[S],!0):this._layerConfig[S-n]&&g.merge(T,this._layerConfig[S-n],!0),E&&(T.virtual=E),this.insertLayer(S,T),T.initContext()),T},insertLayer:function(S,E){var T=this._layers,D=this._zlevelList,B=D.length,R=null,F=-1,M=this._domRoot;if(T[S]){v("ZLevel "+S+" has been used already");return}if(!u(E)){v("Layer of zlevel "+S+" is not valid");return}if(B>0&&S>D[0]){for(F=0;F<B-1&&!(D[F]<S&&D[F+1]>S);F++);R=T[D[F]]}if(D.splice(F+1,0,S),T[S]=E,!E.virtual)if(R){var K=R.dom;K.nextSibling?M.insertBefore(E.dom,K.nextSibling):M.appendChild(E.dom)}else M.firstChild?M.insertBefore(E.dom,M.firstChild):M.appendChild(E.dom)},eachLayer:function(S,E){var T=this._zlevelList,D,B;for(B=0;B<T.length;B++)D=T[B],S.call(E,this._layers[D],D)},eachBuiltinLayer:function(S,E){var T=this._zlevelList,D,B,R;for(R=0;R<T.length;R++)B=T[R],D=this._layers[B],D.__builtin__&&S.call(E,D,B)},eachOtherLayer:function(S,E){var T=this._zlevelList,D,B,R;for(R=0;R<T.length;R++)B=T[R],D=this._layers[B],D.__builtin__||S.call(E,D,B)},getLayers:function(){return this._layers},_updateLayerStatus:function(S){this.eachBuiltinLayer(function(j,H){j.__dirty=j.__used=!1});function E(j){B&&(B.__endIndex!==j&&(B.__dirty=!0),B.__endIndex=j)}if(this._singleCanvas)for(var T=1;T<S.length;T++){var D=S[T];if(D.zlevel!==S[T-1].zlevel||D.incremental){this._needsManuallyCompositing=!0;break}}for(var B=null,R=0,F,T=0;T<S.length;T++){var D=S[T],M=D.zlevel,K;F!==M&&(F=M,R=0),D.incremental?(K=this.getLayer(M+l,this._needsManuallyCompositing),K.incremental=!0,R=1):K=this.getLayer(M+(R>0?n:0),this._needsManuallyCompositing),K.__builtin__||v("ZLevel "+M+" has been used by unkown layer "+K.id),K!==B&&(K.__used=!0,K.__startIndex!==T&&(K.__dirty=!0),K.__startIndex=T,K.incremental?K.__drawIndex=-1:K.__drawIndex=T,E(T),B=K),D.__dirty&&(K.__dirty=!0,K.incremental&&K.__drawIndex<0&&(K.__drawIndex=T))}E(T),this.eachBuiltinLayer(function(j,H){!j.__used&&j.getElementCount()>0&&(j.__dirty=!0,j.__startIndex=j.__endIndex=j.__drawIndex=0),j.__dirty&&j.__drawIndex<0&&(j.__drawIndex=j.__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 T=this._layerConfig;T[S]?g.merge(T[S],E,!0):T[S]=E;for(var D=0;D<this._zlevelList.length;D++){var B=this._zlevelList[D];if(B===S||B===S+n){var R=this._layers[B];g.merge(R,T[S],!0)}}}},delLayer:function(S){var E=this._layers,T=this._zlevelList,D=E[S];if(!D)return;D.dom.parentNode.removeChild(D.dom),delete E[S],T.splice(g.indexOf(T,S),1)},resize:function(S,E){if(this._domRoot.style){var T=this._domRoot;T.style.display="none";var D=this._opts;if(S!=null&&(D.width=S),E!=null&&(D.height=E),S=this._getSize(0),E=this._getSize(1),T.style.display="",this._width!==S||E!==this._height){T.style.width=S+"px",T.style.height=E+"px";for(var B in this._layers)this._layers.hasOwnProperty(B)&&this._layers[B].resize(S,E);g.each(this._progressiveLayers,function(R){R.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(i).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[i].dom;var E=new m("image",this,S.pixelRatio||this.dpr);if(E.initContext(),E.clear(!1,S.backgroundColor||this._backgroundColor),S.pixelRatio<=this.dpr){this.refresh();var T=E.dom.width,D=E.dom.height,B=E.ctx;this.eachLayer(function(j){j.__builtin__?B.drawImage(j.dom,0,0,T,D):j.renderToCanvas&&(E.ctx.save(),j.renderToCanvas(E.ctx),E.ctx.restore())})}else for(var R={},F=this.storage.getDisplayList(!0),M=0;M<F.length;M++){var K=F[M];this._doPaintEl(K,E,!0,R)}return E.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(S){var E=this._opts,T=["width","height"][S],D=["clientWidth","clientHeight"][S],B=["paddingLeft","paddingTop"][S],R=["paddingRight","paddingBottom"][S];if(E[T]!=null&&E[T]!=="auto")return parseFloat(E[T]);var F=this.root,M=document.defaultView.getComputedStyle(F);return(F[D]||t(M[T])||t(F.style[T]))-(t(M[B])||0)-(t(M[R])||0)|0},pathToImage:function(S,E){E=E||this.dpr;var T=document.createElement("canvas"),D=T.getContext("2d"),B=S.getBoundingRect(),R=S.style,F=R.shadowBlur*E,M=R.shadowOffsetX*E,K=R.shadowOffsetY*E,j=R.hasStroke()?R.lineWidth:0,H=Math.max(j/2,-M+F),k=Math.max(j/2,M+F),P=Math.max(j/2,-K+F),z=Math.max(j/2,K+F),Y=B.width+H+k,_=B.height+P+z;T.width=Y*E,T.height=_*E,D.scale(E,E),D.clearRect(0,0,Y,_),D.dpr=E;var G={position:S.position,rotation:S.rotation,scale:S.scale};S.position=[H-B.x,P-B.y],S.rotation=0,S.scale=[1,1],S.updateTransform(),S&&S.brush(D);var J=r,ue=new J({style:{x:0,y:0,image:T}});return G.position!=null&&(ue.position=S.position=G.position),G.rotation!=null&&(ue.rotation=S.rotation=G.rotation),G.scale!=null&&(ue.scale=S.scale=G.scale),ue}};var C=I;te.exports=C},"7a+S":function(te,U,e){var y=e("bYtY"),L=e("bLfw"),g=e("YXkt"),v=e("4NO4"),A=L.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(m,d,r){this._data,this._names,this.mergeDefaultAndTheme(m,r),this._initData()},mergeOption:function(m){A.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(m){m==null&&(m=this.option.currentIndex);var d=this._data.count();this.option.loop?m=(m%d+d)%d:(m>=d&&(m=d-1),m<0&&(m=0)),this.option.currentIndex=m},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(m){this.option.autoPlay=!!m},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var m=this.option,d=m.data||[],r=m.axisType,a=this._names=[];if(r==="category"){var s=[];y.each(d,function(l,t){var u=v.getDataItemValue(l),o;y.isObject(l)?(o=y.clone(l),o.value=t):o=t,s.push(o),!y.isString(u)&&(u==null||isNaN(u))&&(u=""),a.push(u+"")}),d=s}var i={category:"ordinal",time:"time"}[r]||"number",n=this._data=new g([{name:"value",type:i}],this);n.initData(d,a)},getData:function(){return this._data},getCategories:function(){if(this.get("axisType")==="category")return this._names.slice()}}),b=A;te.exports=b},"7aKB":function(te,U,e){var y=e("bYtY"),L=e("6GrX"),g=e("OELB");function v(x){return isNaN(x)?"-":(x=(x+"").split("."),x[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(x.length>1?"."+x[1]:""))}function A(x,I){return x=(x||"").toLowerCase().replace(/-(.)/g,function(C,N){return N.toUpperCase()}),I&&x&&(x=x.charAt(0).toUpperCase()+x.slice(1)),x}var b=y.normalizeCssArray,m=/([&<>"'])/g,d={"&":"&","<":"<",">":">",'"':""","'":"'"};function r(x){return x==null?"":(x+"").replace(m,function(I,C){return d[C]})}var a=["a","b","c","d","e","f","g"],s=function(x,I){return"{"+x+(I==null?"":I)+"}"};function i(x,I,C){y.isArray(I)||(I=[I]);var N=I.length;if(!N)return"";for(var S=I[0].$vars||[],E=0;E<S.length;E++){var T=a[E];x=x.replace(s(T),s(T,0))}for(var D=0;D<N;D++)for(var B=0;B<S.length;B++){var R=I[D][S[B]];x=x.replace(s(a[B],D),C?r(R):R)}return x}function n(x,I,C){return y.each(I,function(N,S){x=x.replace("{"+S+"}",C?r(N):N)}),x}function l(x,I){x=y.isString(x)?{color:x,extraCssText:I}:x||{};var C=x.color,N=x.type,I=x.extraCssText,S=x.renderMode||"html",E=x.markerId||"X";return C?S==="html"?N==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+r(C)+";"+(I||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+r(C)+";"+(I||"")+'"></span>':{renderMode:S,content:"{marker"+E+"|} ",style:{color:C}}:""}function t(x,I){return x+="","0000".substr(0,I-x.length)+x}function u(x,I,C){(x==="week"||x==="month"||x==="quarter"||x==="half-year"||x==="year")&&(x=`MM-dd
|
|
|
yyyy`);var N=g.parseDate(I),S=C?"UTC":"",E=N["get"+S+"FullYear"](),T=N["get"+S+"Month"]()+1,D=N["get"+S+"Date"](),B=N["get"+S+"Hours"](),R=N["get"+S+"Minutes"](),F=N["get"+S+"Seconds"](),M=N["get"+S+"Milliseconds"]();return x=x.replace("MM",t(T,2)).replace("M",T).replace("yyyy",E).replace("yy",E%100).replace("dd",t(D,2)).replace("d",D).replace("hh",t(B,2)).replace("h",B).replace("mm",t(R,2)).replace("m",R).replace("ss",t(F,2)).replace("s",F).replace("SSS",t(M,3)),x}function o(x){return x&&x.charAt(0).toUpperCase()+x.substr(1)}var c=L.truncateText;function h(x){return L.getBoundingRect(x.text,x.font,x.textAlign,x.textVerticalAlign,x.textPadding,x.textLineHeight,x.rich,x.truncate)}function f(x,I,C,N,S,E,T,D){return L.getBoundingRect(x,I,C,N,S,D,E,T)}function w(x,I){if(I==="_blank"||I==="blank"){var C=window.open();C.opener=null,C.location=x}else window.open(x,I)}U.addCommas=v,U.toCamelCase=A,U.normalizeCssArray=b,U.encodeHTML=r,U.formatTpl=i,U.formatTplSimple=n,U.getTooltipMarker=l,U.formatTime=u,U.capitalFirst=o,U.truncateText=c,U.getTextBoundingRect=h,U.getTextRect=f,U.windowOpen=w},"7bkD":function(te,U,e){var y=e("bYtY");function L(g,v){v=v||{};var A=g.coordinateSystem,b=g.axis,m={},d=b.position,r=b.orient,a=A.getRect(),s=[a.x,a.x+a.width,a.y,a.y+a.height],i={horizontal:{top:s[2],bottom:s[3]},vertical:{left:s[0],right:s[1]}};m.position=[r==="vertical"?i.vertical[d]:s[0],r==="horizontal"?i.horizontal[d]:s[3]];var n={horizontal:0,vertical:1};m.rotation=Math.PI/2*n[r];var l={top:-1,bottom:1,right:1,left:-1};m.labelDirection=m.tickDirection=m.nameDirection=l[d],g.get("axisTick.inside")&&(m.tickDirection=-m.tickDirection),y.retrieve(v.labelInside,g.get("axisLabel.inside"))&&(m.labelDirection=-m.labelDirection);var t=v.rotate;return t==null&&(t=g.get("axisLabel.rotate")),m.labelRotation=d==="top"?-t:t,m.z2=1,m}U.layout=L},"7hqr":function(te,U,e){var y=e("bYtY"),L=y.each,g=y.isString;function v(m,d,r){r=r||{};var a=r.byIndex,s=r.stackedCoordDimension,i=!!(m&&m.get("stack")),n,l,t,u;if(L(d,function(f,w){g(f)&&(d[w]=f={name:f}),i&&!f.isExtraCoord&&(!a&&!n&&f.ordinalMeta&&(n=f),!l&&f.type!=="ordinal"&&f.type!=="time"&&(!s||s===f.coordDim)&&(l=f))}),l&&!a&&!n&&(a=!0),l){t="__\0ecstackresult",u="__\0ecstackedover",n&&(n.createInvertedIndices=!0);var o=l.coordDim,c=l.type,h=0;L(d,function(f){f.coordDim===o&&h++}),d.push({name:t,coordDim:o,coordDimIndex:h,type:c,isExtraCoord:!0,isCalculationCoord:!0}),h++,d.push({name:u,coordDim:u,coordDimIndex:h,type:c,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:l&&l.name,stackedByDimension:n&&n.name,isStackedByIndex:a,stackedOverDimension:u,stackResultDimension:t}}function A(m,d){return!!d&&d===m.getCalculationInfo("stackedDimension")}function b(m,d){return A(m,d)?m.getCalculationInfo("stackResultDimension"):d}U.enableDataStack=v,U.isDimensionStacked=A,U.getStackedDimension=b},"7mYs":function(te,U,e){var y=e("ProS"),L=e("bYtY"),g=e("IwbS"),v=e("7aKB"),A=e("OELB"),b={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"]},m={EN:["S","M","T","W","T","F","S"],CN:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]},d=y.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(r,a,s){var i=this.group;i.removeAll();var n=r.coordinateSystem,l=n.getRangeInfo(),t=n.getOrient();this._renderDayRect(r,l,i),this._renderLines(r,l,t,i),this._renderYearText(r,l,t,i),this._renderMonthText(r,t,i),this._renderWeekText(r,l,t,i)},_renderDayRect:function(r,a,s){for(var i=r.coordinateSystem,n=r.getModel("itemStyle").getItemStyle(),l=i.getCellWidth(),t=i.getCellHeight(),u=a.start.time;u<=a.end.time;u=i.getNextNDay(u,1).time){var o=i.dataToRect([u],!1).tl,c=new g.Rect({shape:{x:o[0],y:o[1],width:l,height:t},cursor:"default",style:n});s.add(c)}},_renderLines:function(r,a,s,i){var n=this,l=r.coordinateSystem,t=r.getModel("splitLine.lineStyle").getLineStyle(),u=r.get("splitLine.show"),o=t.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var c=a.start,h=0;c.time<=a.end.time;h++){w(c.formatedDate),h===0&&(c=l.getDateInfo(a.start.y+"-"+a.start.m));var f=c.date;f.setMonth(f.getMonth()+1),c=l.getDateInfo(f)}w(l.getNextNDay(a.end.time,1).formatedDate);function w(x){n._firstDayOfMonth.push(l.getDateInfo(x)),n._firstDayPoints.push(l.dataToRect([x],!1).tl);var I=n._getLinePointsOfOneWeek(r,x,s);n._tlpoints.push(I[0]),n._blpoints.push(I[I.length-1]),u&&n._drawSplitline(I,t,i)}u&&this._drawSplitline(n._getEdgesPoints(n._tlpoints,o,s),t,i),u&&this._drawSplitline(n._getEdgesPoints(n._blpoints,o,s),t,i)},_getEdgesPoints:function(r,a,s){var i=[r[0].slice(),r[r.length-1].slice()],n=s==="horizontal"?0:1;return i[0][n]=i[0][n]-a/2,i[1][n]=i[1][n]+a/2,i},_drawSplitline:function(r,a,s){var i=new g.Polyline({z2:20,shape:{points:r},style:a});s.add(i)},_getLinePointsOfOneWeek:function(r,a,s){var i=r.coordinateSystem;a=i.getDateInfo(a);for(var n=[],l=0;l<7;l++){var t=i.getNextNDay(a.time,l),u=i.dataToRect([t.time],!1);n[2*t.day]=u.tl,n[2*t.day+1]=u[s==="horizontal"?"bl":"tr"]}return n},_formatterLabel:function(r,a){return typeof r=="string"&&r?v.formatTplSimple(r,a):typeof r=="function"?r(a):a.nameMap},_yearTextPositionControl:function(r,a,s,i,n){a=a.slice();var l=["center","bottom"];i==="bottom"?(a[1]+=n,l=["center","top"]):i==="left"?a[0]-=n:i==="right"?(a[0]+=n,l=["center","top"]):a[1]-=n;var t=0;return(i==="left"||i==="right")&&(t=Math.PI/2),{rotation:t,position:a,style:{textAlign:l[0],textVerticalAlign:l[1]}}},_renderYearText:function(r,a,s,i){var n=r.getModel("yearLabel");if(!n.get("show"))return;var l=n.get("margin"),t=n.get("position");t||(t=s!=="horizontal"?"top":"left");var u=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],o=(u[0][0]+u[1][0])/2,c=(u[0][1]+u[1][1])/2,h=s==="horizontal"?0:1,f={top:[o,u[h][1]],bottom:[o,u[1-h][1]],left:[u[1-h][0],c],right:[u[h][0],c]},w=a.start.y;+a.end.y>+a.start.y&&(w=w+"-"+a.end.y);var x=n.get("formatter"),I={start:a.start.y,end:a.end.y,nameMap:w},C=this._formatterLabel(x,I),N=new g.Text({z2:30});g.setTextStyle(N.style,n,{text:C}),N.attr(this._yearTextPositionControl(N,f[t],s,t,l)),i.add(N)},_monthTextPositionControl:function(r,a,s,i,n){var l="left",t="top",u=r[0],o=r[1];return s==="horizontal"?(o=o+n,a&&(l="center"),i==="start"&&(t="bottom")):(u=u+n,a&&(t="middle"),i==="start"&&(l="right")),{x:u,y:o,textAlign:l,textVerticalAlign:t}},_renderMonthText:function(r,a,s){var i=r.getModel("monthLabel");if(!i.get("show"))return;var n=i.get("nameMap"),l=i.get("margin"),t=i.get("position"),u=i.get("align"),o=[this._tlpoints,this._blpoints];L.isString(n)&&(n=b[n.toUpperCase()]||[]);var c=t==="start"?0:1,h=a==="horizontal"?0:1;l=t==="start"?-l:l;for(var f=u==="center",w=0;w<o[c].length-1;w++){var x=o[c][w].slice(),I=this._firstDayOfMonth[w];if(f){var C=this._firstDayPoints[w];x[h]=(C[h]+o[0][w+1][h])/2}var N=i.get("formatter"),S=n[+I.m-1],E={yyyy:I.y,yy:(I.y+"").slice(2),MM:I.m,M:+I.m,nameMap:S},T=this._formatterLabel(N,E),D=new g.Text({z2:30});L.extend(g.setTextStyle(D.style,i,{text:T}),this._monthTextPositionControl(x,f,a,t,l)),s.add(D)}},_weekTextPositionControl:function(r,a,s,i,n){var l="center",t="middle",u=r[0],o=r[1],c=s==="start";return a==="horizontal"?(u=u+i+(c?1:-1)*n[0]/2,l=c?"right":"left"):(o=o+i+(c?1:-1)*n[1]/2,t=c?"bottom":"top"),{x:u,y:o,textAlign:l,textVerticalAlign:t}},_renderWeekText:function(r,a,s,i){var n=r.getModel("dayLabel");if(!n.get("show"))return;var l=r.coordinateSystem,t=n.get("position"),u=n.get("nameMap"),o=n.get("margin"),c=l.getFirstDayOfWeek();L.isString(u)&&(u=m[u.toUpperCase()]||[]);var h=l.getNextNDay(a.end.time,7-a.lweek).time,f=[l.getCellWidth(),l.getCellHeight()];o=A.parsePercent(o,f[s==="horizontal"?0:1]),t==="start"&&(h=l.getNextNDay(a.start.time,-(7+a.fweek)).time,o=-o);for(var w=0;w<7;w++){var x=l.getNextNDay(h,w),I=l.dataToRect([x.time],!1).center,C=w;C=Math.abs((w+c)%7);var N=new g.Text({z2:30});L.extend(g.setTextStyle(N.style,n,{text:u[C]}),this._weekTextPositionControl(I,s,t,o,f)),i.add(N)}}});te.exports=d},"7oTu":function(te,U,e){var y=e("IMiH"),L=e("QBsz"),g=L.applyTransform,v=y.CMD,A=[[],[],[]],b=Math.sqrt,m=Math.atan2;function d(r,a){var s=r.data,i,n,l,t,u,o,c=v.M,h=v.C,f=v.L,w=v.R,x=v.A,I=v.Q;for(l=0,t=0;l<s.length;){i=s[l++],t=l,n=0;switch(i){case c:n=1;break;case f:n=1;break;case h:n=3;break;case I:n=2;break;case x:var C=a[4],N=a[5],S=b(a[0]*a[0]+a[1]*a[1]),E=b(a[2]*a[2]+a[3]*a[3]),T=m(-a[1]/E,a[0]/S);s[l]*=S,s[l++]+=C,s[l]*=E,s[l++]+=N,s[l++]*=S,s[l++]*=E,s[l++]+=T,s[l++]+=T,l+=2,t=l;break;case w:o[0]=s[l++],o[1]=s[l++],g(o,o,a),s[t++]=o[0],s[t++]=o[1],o[0]+=s[l++],o[1]+=s[l++],g(o,o,a),s[t++]=o[0],s[t++]=o[1]}for(u=0;u<n;u++){var o=A[u];o[0]=s[l++],o[1]=s[l++],g(o,o,a),s[t++]=o[0],s[t++]=o[1]}}}te.exports=d},"7pVf":function(te,U,e){var y=e("ProS"),L=e("ZqQs");e("oE7X"),e("OUJF"),e("3X6L"),e("NH9N"),y.registerPreprocessor(L)},"7ph2":function(te,U){function e(g){return g instanceof Array||(g=[g,g]),g}var y="lineStyle.opacity".split("."),L={seriesType:"lines",reset:function(g,v,A){var b=e(g.get("symbol")),m=e(g.get("symbolSize")),d=g.getData();d.setVisual("fromSymbol",b&&b[0]),d.setVisual("toSymbol",b&&b[1]),d.setVisual("fromSymbolSize",m&&m[0]),d.setVisual("toSymbolSize",m&&m[1]),d.setVisual("opacity",g.get(y));function r(a,s){var i=a.getItemModel(s),n=e(i.getShallow("symbol",!0)),l=e(i.getShallow("symbolSize",!0)),t=i.get(y);n[0]&&a.setItemVisual(s,"fromSymbol",n[0]),n[1]&&a.setItemVisual(s,"toSymbol",n[1]),l[0]&&a.setItemVisual(s,"fromSymbolSize",l[0]),l[1]&&a.setItemVisual(s,"toSymbolSize",l[1]),a.setItemVisual(s,"opacity",t)}return{dataEach:d.hasItemOption?r:null}}};te.exports=L},"7uqq":function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("ProS"),v=e("bYtY"),A=e("AUH6"),b=e("+TT/"),m=e("OELB"),d=e("W4dC"),r=e("7DRL");function a(l,t){var u=l.get("boundingCoords");if(u!=null){var o=u[0],c=u[1];isNaN(o[0])||isNaN(o[1])||isNaN(c[0])||isNaN(c[1])||this.setBoundingRect(o[0],o[1],c[0]-o[0],c[1]-o[1])}var h=this.getBoundingRect(),f,w=l.get("layoutCenter"),x=l.get("layoutSize"),I=t.getWidth(),C=t.getHeight(),N=h.width/h.height*this.aspectScale,S=!1;w&&x&&(w=[m.parsePercent(w[0],I),m.parsePercent(w[1],C)],x=m.parsePercent(x,Math.min(I,C)),!isNaN(w[0])&&!isNaN(w[1])&&!isNaN(x)&&(S=!0));var E;if(S){var E={};N>1?(E.width=x,E.height=x/N):(E.height=x,E.width=x*N),E.y=w[1]-E.height/2,E.x=w[0]-E.width/2}else f=l.getBoxLayoutParams(),f.aspect=N,E=b.getLayoutRect(f,{width:I,height:C});this.setViewRect(E.x,E.y,E.width,E.height),this.setCenter(l.get("center")),this.setZoom(l.get("zoom"))}function s(l,t){v.each(t.get("geoCoord"),function(u,o){l.addGeoCoord(o,u)})}var i={dimensions:A.prototype.dimensions,create:function(l,t){var u=[];l.eachComponent("geo",function(c,h){var f=c.get("map"),w=c.get("aspectScale"),x=!0,I=r.retrieveMap(f);I&&I[0]&&I[0].type==="svg"?(w==null&&(w=1),x=!1):w==null&&(w=.75);var C=new A(f+h,f,c.get("nameMap"),x);C.aspectScale=w,C.zoomLimit=c.get("scaleLimit"),u.push(C),s(C,c),c.coordinateSystem=C,C.model=c,C.resize=a,C.resize(c,t)}),l.eachSeries(function(c){var h=c.get("coordinateSystem");if(h==="geo"){var f=c.get("geoIndex")||0;c.coordinateSystem=u[f]}});var o={};return l.eachSeriesByType("map",function(c){if(!c.getHostGeoModel()){var h=c.getMapType();o[h]=o[h]||[],o[h].push(c)}}),v.each(o,function(c,h){var f=v.map(c,function(x){return x.get("nameMap")}),w=new A(h,h,v.mergeAll(f));w.zoomLimit=v.retrieve.apply(null,v.map(c,function(x){return x.get("scaleLimit")})),u.push(w),w.resize=a,w.aspectScale=c[0].get("aspectScale"),w.resize(c[0],t),v.each(c,function(x){x.coordinateSystem=w,s(w,x)})}),u},getFilledRegions:function(l,t,u){for(var o=(l||[]).slice(),c=v.createHashMap(),h=0;h<o.length;h++)c.set(o[h].name,o[h]);var f=d.load(t,u);return v.each(f.regions,function(w){var x=w.name;!c.get(x)&&o.push({name:x})}),o}};g.registerCoordinateSystem("geo",i);var n=i;te.exports=n},"7yuC":function(te,U,e){var y=e("QBsz"),L=y.scaleAndAdd;function g(v,A,b){for(var m=b.rect,d=m.width,r=m.height,a=[m.x+d/2,m.y+r/2],s=b.gravity==null?.1:b.gravity,i=0;i<v.length;i++){var n=v[i];n.p||(n.p=y.create(d*(Math.random()-.5)+a[0],r*(Math.random()-.5)+a[1])),n.pp=y.clone(n.p),n.edges=null}var l=b.friction==null?.6:b.friction,t=l;return{warmUp:function(){t=l*.8},setFixed:function(u){v[u].fixed=!0},setUnfixed:function(u){v[u].fixed=!1},step:function(u){for(var o=[],c=v.length,h=0;h<A.length;h++){var f=A[h];if(f.ignoreForceLayout)continue;var w=f.n1,x=f.n2;y.sub(o,x.p,w.p);var I=y.len(o)-f.d,C=x.w/(w.w+x.w);isNaN(C)&&(C=0),y.normalize(o,o),!w.fixed&&L(w.p,w.p,o,C*I*t),!x.fixed&&L(x.p,x.p,o,-(1-C)*I*t)}for(var h=0;h<c;h++){var N=v[h];N.fixed||(y.sub(o,a,N.p),L(N.p,N.p,o,s*t))}for(var h=0;h<c;h++)for(var w=v[h],S=h+1;S<c;S++){var x=v[S];y.sub(o,x.p,w.p);var I=y.len(o);I===0&&(y.set(o,Math.random()-.5,Math.random()-.5),I=1);var E=(w.rep+x.rep)/I/I;!w.fixed&&L(w.pp,w.pp,o,E),!x.fixed&&L(x.pp,x.pp,o,-E)}for(var T=[],h=0;h<c;h++){var N=v[h];N.fixed||(y.sub(T,N.p,N.pp),L(N.p,N.p,T,t),y.copy(N.pp,N.p))}t=t*.992,u&&u(v,A,t<.01)}}}U.forceLayout=g},"815F":function(te,U,e){"use strict";e.d(U,"e",function(){return m}),e.d(U,"c",function(){return r}),e.d(U,"d",function(){return a}),e.d(U,"a",function(){return i}),e.d(U,"f",function(){return n}),e.d(U,"b",function(){return l});var y=e("KQm4"),L=e("VTBJ"),g=e("Ff2n"),v=e("Zm9Q"),A=e("Kwbf"),b=e("OZM5");function m(t,u){return t!=null?t:u}function d(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],u=new Map;function o(c){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(c||[]).forEach(function(f){var w=f.key,x=f.children;Object(A.a)(w!=null,"Tree node must have a certain key: [".concat(h).concat(w,"]"));var I=String(w);Object(A.a)(!u.has(I)||w===null||w===void 0,"Same 'key' exist in the Tree: ".concat(I)),u.set(I,!0),o(x,"".concat(h).concat(I," > "))})}o(t)}function r(t){function u(o){var c=Object(v.a)(o);return c.map(function(h){if(!Object(b.i)(h))return Object(A.a)(!h,"Tree/TreeNode can only accept TreeNode as children."),null;var f=h.key,w=h.props,x=w.children,I=Object(g.a)(w,["children"]),C=Object(L.a)({key:f},I),N=u(x);return N.length&&(C.children=N),C}).filter(function(h){return h})}return u(t)}function a(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],o=new Set(u===!0?[]:u),c=[];function h(f){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return f.map(function(x,I){var C=Object(b.h)(w?w.pos:"0",I),N=m(x.key,C),S=Object(L.a)(Object(L.a)({},x),{},{parent:w,pos:C,children:null,data:x,isStart:[].concat(Object(y.a)(w?w.isStart:[]),[I===0]),isEnd:[].concat(Object(y.a)(w?w.isEnd:[]),[I===f.length-1])});return c.push(S),u===!0||o.has(N)?S.children=h(x.children||[],S):S.children=[],S})}return h(t),c}function s(t,u,o){var c;o?typeof o=="string"?c=function(w){return w[o]}:typeof o=="function"&&(c=function(w){return o(w)}):c=function(w,x){return m(w.key,x)};function h(f,w,x){var I=f?f.children:t,C=f?Object(b.h)(x.pos,w):"0";if(f){var N=c(f,C),S={node:f,index:w,pos:C,key:N,parentPos:x.node?x.pos:null,level:x.level+1};u(S)}I&&I.forEach(function(E,T){h(E,T,{node:f,pos:C,level:x?x.level+1:-1})})}h(null)}function i(t){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=u.initWrapper,c=u.processEntity,h=u.onProcessFinished,f=arguments.length>2?arguments[2]:void 0,w={},x={},I={posEntities:w,keyEntities:x};return o&&(I=o(I)||I),s(t,function(C){var N=C.node,S=C.index,E=C.pos,T=C.key,D=C.parentPos,B=C.level,R={node:N,index:S,key:T,pos:E,level:B},F=m(T,E);w[E]=R,x[F]=R,R.parent=w[D],R.parent&&(R.parent.children=R.parent.children||[],R.parent.children.push(R)),c&&c(R,I)},f),h&&h(I),I}function n(t,u){var o=u.expandedKeys,c=u.selectedKeys,h=u.loadedKeys,f=u.loadingKeys,w=u.checkedKeys,x=u.halfCheckedKeys,I=u.dragOverNodeKey,C=u.dropPosition,N=u.keyEntities,S=N[t],E={eventKey:t,expanded:o.indexOf(t)!==-1,selected:c.indexOf(t)!==-1,loaded:h.indexOf(t)!==-1,loading:f.indexOf(t)!==-1,checked:w.indexOf(t)!==-1,halfChecked:x.indexOf(t)!==-1,pos:String(S?S.pos:""),dragOver:I===t&&C===0,dragOverGapTop:I===t&&C===-1,dragOverGapBottom:I===t&&C===1};return E}function l(t){var u=t.data,o=t.expanded,c=t.selected,h=t.checked,f=t.loaded,w=t.loading,x=t.halfChecked,I=t.dragOver,C=t.dragOverGapTop,N=t.dragOverGapBottom,S=t.pos,E=t.active,T=Object(L.a)(Object(L.a)({},u),{},{expanded:o,selected:c,checked:h,loaded:f,loading:w,halfChecked:x,dragOver:I,dragOverGapTop:C,dragOverGapBottom:N,pos:S,active:E});return"props"in T||Object.defineProperty(T,"props",{get:function(){return Object(A.a)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),t}}),T}},"8EBN":function(te,U,e){(function(y){y(e("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 L=0;L<y.modeInfo.length;L++){var g=y.modeInfo[L];g.mimes&&(g.mime=g.mimes[0])}y.findModeByMIME=function(v){v=v.toLowerCase();for(var A=0;A<y.modeInfo.length;A++){var b=y.modeInfo[A];if(b.mime==v)return b;if(b.mimes){for(var m=0;m<b.mimes.length;m++)if(b.mimes[m]==v)return b}}if(/\+xml$/.test(v))return y.findModeByMIME("application/xml");if(/\+json$/.test(v))return y.findModeByMIME("application/json")},y.findModeByExtension=function(v){v=v.toLowerCase();for(var A=0;A<y.modeInfo.length;A++){var b=y.modeInfo[A];if(b.ext){for(var m=0;m<b.ext.length;m++)if(b.ext[m]==v)return b}}},y.findModeByFileName=function(v){for(var A=0;A<y.modeInfo.length;A++){var b=y.modeInfo[A];if(b.file&&b.file.test(v))return b}var m=v.lastIndexOf("."),d=m>-1&&v.substring(m+1,v.length);if(d)return y.findModeByExtension(d)},y.findModeByName=function(v){v=v.toLowerCase();for(var A=0;A<y.modeInfo.length;A++){var b=y.modeInfo[A];if(b.name.toLowerCase()==v)return b;if(b.alias){for(var m=0;m<b.alias.length;m++)if(b.alias[m].toLowerCase()==v)return b}}}})},"8IMR":function(te,U,e){"use strict";Object.defineProperty(U,"__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"};U.default=y},"8ISB":function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=L(e("6Hfg"));function L(v){return v&&v.__esModule?v:{default:v}}var g=y;U.default=g,te.exports=g},"8OUc":function(te,U,e){"use strict";var y=e("q1tI"),L=e.n(y),g=e("TSYQ"),v=e.n(g),A=function(m){var d=m.className,r=m.customizeIcon,a=m.customizeIconProps,s=m.onMouseDown,i=m.onClick,n=m.children,l;return typeof r=="function"?l=r(a):l=r,y.createElement("span",{className:d,onMouseDown:function(u){u.preventDefault(),s&&s(u)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:i,"aria-hidden":!0},l!==void 0?l:y.createElement("span",{className:v()(d.split(/\s+/).map(function(t){return"".concat(t,"-icon")}))},n))};U.a=A},"8SMY":function(te,U,e){var y=e("n4Lv"),L=y.prepareDataCoordInfo,g=y.getStackedOnPoint;function v(b,m){var d=[];return m.diff(b).add(function(r){d.push({cmd:"+",idx:r})}).update(function(r,a){d.push({cmd:"=",idx:a,idx1:r})}).remove(function(r){d.push({cmd:"-",idx:r})}).execute(),d}function A(b,m,d,r,a,s,i,n){for(var l=v(b,m),t=[],u=[],o=[],c=[],h=[],f=[],w=[],x=L(a,m,i),I=L(s,b,n),C=0;C<l.length;C++){var N=l[C],S=!0;switch(N.cmd){case"=":var E=b.getItemLayout(N.idx),T=m.getItemLayout(N.idx1);(isNaN(E[0])||isNaN(E[1]))&&(E=T.slice()),t.push(E),u.push(T),o.push(d[N.idx]),c.push(r[N.idx1]),w.push(m.getRawIndex(N.idx1));break;case"+":var D=N.idx;t.push(a.dataToPoint([m.get(x.dataDimsForPoint[0],D),m.get(x.dataDimsForPoint[1],D)])),u.push(m.getItemLayout(D).slice()),o.push(g(x,a,m,D)),c.push(r[D]),w.push(m.getRawIndex(D));break;case"-":var D=N.idx,B=b.getRawIndex(D);B!==D?(t.push(b.getItemLayout(D)),u.push(s.dataToPoint([b.get(I.dataDimsForPoint[0],D),b.get(I.dataDimsForPoint[1],D)])),o.push(d[D]),c.push(g(I,s,b,D)),w.push(B)):S=!1}S&&(h.push(N),f.push(f.length))}f.sort(function(H,k){return w[H]-w[k]});for(var R=[],F=[],M=[],K=[],j=[],C=0;C<f.length;C++){var D=f[C];R[C]=t[D],F[C]=u[D],M[C]=o[D],K[C]=c[D],j[C]=h[D]}return{current:R,next:F,stackedOnCurrent:M,stackedOnNext:K,status:j}}te.exports=A},"8Skl":function(te,U,e){"use strict";var y=e("VTBJ"),L=e("q1tI"),g={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"},v=g,A=e("6VBw"),b=function(r,a){return L.createElement(A.a,Object(y.a)(Object(y.a)({},r),{},{ref:a,icon:v}))};b.displayName="DownOutlined";var m=U.a=L.forwardRef(b)},"8Th4":function(te,U,e){var y=e("3LNs"),L=e("/y7N"),g=e("7bkD"),v=e("Znkb"),A=["x","y"],b=["width","height"],m=y.extend({makeElOption:function(i,n,l,t,u){var o=l.axis,c=o.coordinateSystem,h=a(c,1-r(o)),f=c.dataToPoint(n)[0],w=t.get("type");if(w&&w!=="none"){var x=L.buildElStyle(t),I=d[w](o,f,h);I.style=x,i.graphicKey=I.type,i.pointer=I}var C=g.layout(l);L.buildCartesianSingleLabelElOption(n,i,C,l,t,u)},getHandleTransform:function(i,n,l){var t=g.layout(n,{labelInside:!1});return t.labelMargin=l.get("handle.margin"),{position:L.getTransformedPosition(n.axis,i,t),rotation:t.rotation+(t.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(i,n,l,t){var u=l.axis,o=u.coordinateSystem,c=r(u),h=a(o,c),f=i.position;f[c]+=n[c],f[c]=Math.min(h[1],f[c]),f[c]=Math.max(h[0],f[c]);var w=a(o,1-c),x=(w[1]+w[0])/2,I=[x,x];return I[c]=f[c],{position:f,rotation:i.rotation,cursorPoint:I,tooltipOption:{verticalAlign:"middle"}}}}),d={line:function(i,n,l){var t=L.makeLineShape([n,l[0]],[n,l[1]],r(i));return{type:"Line",subPixelOptimize:!0,shape:t}},shadow:function(i,n,l){var t=i.getBandWidth(),u=l[1]-l[0];return{type:"Rect",shape:L.makeRectShape([n-t/2,l[0]],[t,u],r(i))}}};function r(i){return i.isHorizontal()?0:1}function a(i,n){var l=i.getRect();return[l[A[n]],l[A[n]]+l[b[n]]]}v.registerAxisPointerClass("SingleAxisPointer",m);var s=m;te.exports=s},"8Uz6":function(te,U,e){var y=e("hNWo"),L=e("+TT/"),g=L.mergeLayoutParam,v=L.getLayoutParams,A=y.extend({type:"legend.scroll",setScrollDataIndex:function(d){this.option.scrollDataIndex=d},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(d,r,a,s){var i=v(d);A.superCall(this,"init",d,r,a,s),b(this,d,i)},mergeOption:function(d,r){A.superCall(this,"mergeOption",d,r),b(this,this.option,d)}});function b(d,r,a){var s=d.getOrient(),i=[1,1];i[s.index]=0,g(r,a,{type:"box",ignoreSize:i})}var m=A;te.exports=m},"8X+K":function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("bYtY"),v=e("4mN7"),A=v.fromPoints,b=e("9wZj"),m=e("FBjb"),d=e("8SMY"),r=e("IwbS"),a=e("4NO4"),s=e("1NG9"),i=s.Polyline,n=s.Polygon,l=e("6Ic6"),t=e("n4Lv"),u=t.prepareDataCoordInfo,o=t.getStackedOnPoint,c=e("sK/D"),h=c.createGridClipPath,f=c.createPolarClipPath;function w(R,F){if(R.length!==F.length)return;for(var M=0;M<R.length;M++){var K=R[M],j=F[M];if(K[0]!==j[0]||K[1]!==j[1])return}return!0}function x(R,F){var M=[],K=[],j=[],H=[];return A(R,M,K),A(F,j,H),Math.max(Math.abs(M[0]-j[0]),Math.abs(M[1]-j[1]),Math.abs(K[0]-H[0]),Math.abs(K[1]-H[1]))}function I(R){return typeof R=="number"?R:R?.5:0}function C(R,F,M){if(!M.valueDim)return[];for(var K=[],j=0,H=F.count();j<H;j++)K.push(o(M,R,F,j));return K}function N(R,F,M){for(var K=F.getBaseAxis(),j=K.dim==="x"||K.dim==="radius"?0:1,H=[],k=0;k<R.length-1;k++){var P=R[k+1],z=R[k];H.push(z);var Y=[];switch(M){case"end":Y[j]=P[j],Y[1-j]=z[1-j],H.push(Y);break;case"middle":var _=(z[j]+P[j])/2,G=[];Y[j]=G[j]=_,Y[1-j]=z[1-j],G[1-j]=P[1-j],H.push(Y),H.push(G);break;default:Y[j]=z[j],Y[1-j]=P[1-j],H.push(Y)}}return R[k]&&H.push(R[k]),H}function S(R,F){var M=R.getVisual("visualMeta");if(!M||!M.length||!R.count())return;if(F.type!=="cartesian2d")return;for(var K,j,H=M.length-1;H>=0;H--){var k=M[H].dimension,P=R.dimensions[k],z=R.getDimensionInfo(P);if(K=z&&z.coordDim,K==="x"||K==="y"){j=M[H];break}}if(!j)return;var Y=F.getAxis(K),_=g.map(j.stops,function(ke){return{coord:Y.toGlobalCoord(Y.dataToCoord(ke.value)),color:ke.color}}),G=_.length,J=j.outerColors.slice();G&&_[0].coord>_[G-1].coord&&(_.reverse(),J.reverse());var ue=10,q=_[0].coord-ue,re=_[G-1].coord+ue,me=re-q;if(me<.001)return"transparent";g.each(_,function(ke){ke.offset=(ke.coord-q)/me}),_.push({offset:G?_[G-1].offset:.5,color:J[1]||"transparent"}),_.unshift({offset:G?_[0].offset:.5,color:J[0]||"transparent"});var be=new r.LinearGradient(0,0,0,0,_,!0);return be[K]=q,be[K+"2"]=re,be}function E(R,F,M){var K=R.get("showAllSymbol"),j=K==="auto";if(K&&!j)return;var H=M.getAxesByScale("ordinal")[0];if(!H)return;if(j&&T(H,F))return;var k=F.mapDimension(H.dim),P={};return g.each(H.getViewLabels(),function(z){P[z.tickValue]=1}),function(z){return!P.hasOwnProperty(F.get(k,z))}}function T(R,F){var M=R.getExtent(),K=Math.abs(M[1]-M[0])/R.scale.count();isNaN(K)&&(K=0);for(var j=F.count(),H=Math.max(1,Math.round(j/5)),k=0;k<j;k+=H)if(m.getSymbolSize(F,k)[R.isHorizontal()?1:0]*1.5>K)return!1;return!0}function D(R,F,M){if(R.type==="cartesian2d"){var K=R.getBaseAxis().isHorizontal(),j=h(R,F,M);if(!M.get("clip",!0)){var H=j.shape,k=Math.max(H.width,H.height);K?(H.y-=k,H.height+=k*2):(H.x-=k,H.width+=k*2)}return j}else return f(R,F,M)}var B=l.extend({type:"line",init:function(){var R=new r.Group,F=new b;this.group.add(F.group),this._symbolDraw=F,this._lineGroup=R},render:function(R,F,M){var K=R.coordinateSystem,j=this.group,H=R.getData(),k=R.getModel("lineStyle"),P=R.getModel("areaStyle"),z=H.mapArray(H.getItemLayout),Y=K.type==="polar",_=this._coordSys,G=this._symbolDraw,J=this._polyline,ue=this._polygon,q=this._lineGroup,re=R.get("animation"),me=!P.isEmpty(),be=P.get("origin"),ke=u(K,H,be),ce=C(K,H,ke),Ee=R.get("showSymbol"),pe=Ee&&!Y&&E(R,H,K),Se=this._data;Se&&Se.eachItemGraphicEl(function(rt,ht){rt.__temp&&(j.remove(rt),Se.setItemGraphicEl(ht,null))}),Ee||G.remove(),j.add(q);var st=!Y&&R.get("step"),qe;K&&K.getArea&&R.get("clip",!0)&&(qe=K.getArea(),qe.width!=null?(qe.x-=.1,qe.y-=.1,qe.width+=.2,qe.height+=.2):qe.r0&&(qe.r0-=.5,qe.r1+=.5)),this._clipShapeForSymbol=qe,J&&_.type===K.type&&st===this._step?(me&&!ue?ue=this._newPolygon(z,ce,K,re):ue&&!me&&(q.remove(ue),ue=this._polygon=null),q.setClipPath(D(K,!1,R)),Ee&&G.updateData(H,{isIgnore:pe,clipShape:qe}),H.eachItemGraphicEl(function(rt){rt.stopAnimation(!0)}),(!w(this._stackedOnPoints,ce)||!w(this._points,z))&&(re?this._updateAnimation(H,ce,K,M,st,be):(st&&(z=N(z,K,st),ce=N(ce,K,st)),J.setShape({points:z}),ue&&ue.setShape({points:z,stackedOnPoints:ce})))):(Ee&&G.updateData(H,{isIgnore:pe,clipShape:qe}),st&&(z=N(z,K,st),ce=N(ce,K,st)),J=this._newPolyline(z,K,re),me&&(ue=this._newPolygon(z,ce,K,re)),q.setClipPath(D(K,!0,R)));var tt=S(H,K)||H.getVisual("color");J.useStyle(g.defaults(k.getLineStyle(),{fill:"none",stroke:tt,lineJoin:"bevel"}));var Dt=R.get("smooth");if(Dt=I(R.get("smooth")),J.setShape({smooth:Dt,smoothMonotone:R.get("smoothMonotone"),connectNulls:R.get("connectNulls")}),ue){var ct=H.getCalculationInfo("stackedOnSeries"),St=0;ue.useStyle(g.defaults(P.getAreaStyle(),{fill:tt,opacity:.7,lineJoin:"bevel"})),ct&&(St=I(ct.get("smooth"))),ue.setShape({smooth:Dt,stackedOnSmooth:St,smoothMonotone:R.get("smoothMonotone"),connectNulls:R.get("connectNulls")})}this._data=H,this._coordSys=K,this._stackedOnPoints=ce,this._points=z,this._step=st,this._valueOrigin=be},dispose:function(){},highlight:function(R,F,M,K){var j=R.getData(),H=a.queryDataIndex(j,K);if(!(H instanceof Array)&&H!=null&&H>=0){var k=j.getItemGraphicEl(H);if(!k){var P=j.getItemLayout(H);if(!P)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(P[0],P[1]))return;k=new m(j,H),k.position=P,k.setZ(R.get("zlevel"),R.get("z")),k.ignore=isNaN(P[0])||isNaN(P[1]),k.__temp=!0,j.setItemGraphicEl(H,k),k.stopSymbolAnimation(!0),this.group.add(k)}k.highlight()}else l.prototype.highlight.call(this,R,F,M,K)},downplay:function(R,F,M,K){var j=R.getData(),H=a.queryDataIndex(j,K);if(H!=null&&H>=0){var k=j.getItemGraphicEl(H);k&&(k.__temp?(j.setItemGraphicEl(H,null),this.group.remove(k)):k.downplay())}else l.prototype.downplay.call(this,R,F,M,K)},_newPolyline:function(R){var F=this._polyline;return F&&this._lineGroup.remove(F),F=new i({shape:{points:R},silent:!0,z2:10}),this._lineGroup.add(F),this._polyline=F,F},_newPolygon:function(R,F){var M=this._polygon;return M&&this._lineGroup.remove(M),M=new n({shape:{points:R,stackedOnPoints:F},silent:!0}),this._lineGroup.add(M),this._polygon=M,M},_updateAnimation:function(R,F,M,K,j,H){var k=this._polyline,P=this._polygon,z=R.hostModel,Y=d(this._data,R,this._stackedOnPoints,F,this._coordSys,M,this._valueOrigin,H),_=Y.current,G=Y.stackedOnCurrent,J=Y.next,ue=Y.stackedOnNext;if(j&&(_=N(Y.current,M,j),G=N(Y.stackedOnCurrent,M,j),J=N(Y.next,M,j),ue=N(Y.stackedOnNext,M,j)),x(_,J)>3e3||P&&x(G,ue)>3e3){k.setShape({points:J}),P&&P.setShape({points:J,stackedOnPoints:ue});return}k.shape.__points=Y.current,k.shape.points=_,r.updateProps(k,{shape:{points:J}},z),P&&(P.setShape({points:_,stackedOnPoints:G}),r.updateProps(P,{shape:{points:J,stackedOnPoints:ue}},z));for(var q=[],re=Y.status,me=0;me<re.length;me++){var be=re[me].cmd;if(be==="="){var ke=R.getItemGraphicEl(re[me].idx1);ke&&q.push({el:ke,ptIdx:me})}}k.animators&&k.animators.length&&k.animators[0].during(function(){for(var ce=0;ce<q.length;ce++){var Ee=q[ce].el;Ee.attr("position",k.shape.__points[q[ce].ptIdx])}})},remove:function(R){var F=this.group,M=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),M&&M.eachItemGraphicEl(function(K,j){K.__temp&&(F.remove(K),M.setItemGraphicEl(j,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});te.exports=B},"8XDt":function(te,U,e){e("qH13");var y=e("aX58"),L=y.registerPainter,g=e("6fms");L("vml",g)},"8hn6":function(te,U){var e="#eee",y=function(){return{axisLine:{lineStyle:{color:e}},axisTick:{lineStyle:{color:e}},axisLabel:{textStyle:{color:e}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:e}}}},L=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],g={color:L,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:e},crossStyle:{color:e},label:{color:"#000"}}},legend:{textStyle:{color:e}},textStyle:{color:e},title:{textStyle:{color:e}},toolbox:{iconStyle:{normal:{borderColor:e}}},dataZoom:{textStyle:{color:e}},visualMap:{textStyle:{color:e}},timeline:{lineStyle:{color:e},itemStyle:{normal:{color:L[1]}},label:{normal:{textStyle:{color:e}}},controlStyle:{normal:{color:e,borderColor:e}}},timeAxis:y(),logAxis:y(),valueAxis:y(),categoryAxis:y(),line:{symbol:"circle"},graph:{color:L},gauge:{title:{textStyle:{color:e}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};g.categoryAxis.splitLine.show=!1;var v=g;te.exports=v},"8nMs":function(te,U,e){var y=e("bYtY"),L=e("IwbS"),g=e("+rIm"),v=e("Znkb"),A=e("AVZG"),b=e("WN+l"),m=b.rectCoordAxisBuildSplitArea,d=b.rectCoordAxisHandleRemove,r=["axisLine","axisTickLabel","axisName"],a=["splitArea","splitLine","minorSplitLine"],s=v.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(i,n,l,t){this.group.removeAll();var u=this._axisGroup;if(this._axisGroup=new L.Group,this.group.add(this._axisGroup),!i.get("show"))return;var o=i.getCoordSysModel(),c=A.layout(o,i),h=new g(i,c);y.each(r,h.add,h),this._axisGroup.add(h.getGroup()),y.each(a,function(f){i.get(f+".show")&&this["_"+f](i,o)},this),L.groupTransition(u,this._axisGroup,i),s.superCall(this,"render",i,n,l,t)},remove:function(){d(this)},_splitLine:function(i,n){var l=i.axis;if(l.scale.isBlank())return;var t=i.getModel("splitLine"),u=t.getModel("lineStyle"),o=u.get("color");o=y.isArray(o)?o:[o];for(var c=n.coordinateSystem.getRect(),h=l.isHorizontal(),f=0,w=l.getTicksCoords({tickModel:t}),x=[],I=[],C=u.getLineStyle(),N=0;N<w.length;N++){var S=l.toGlobalCoord(w[N].coord);h?(x[0]=S,x[1]=c.y,I[0]=S,I[1]=c.y+c.height):(x[0]=c.x,x[1]=S,I[0]=c.x+c.width,I[1]=S);var E=f++%o.length,T=w[N].tickValue;this._axisGroup.add(new L.Line({anid:T!=null?"line_"+w[N].tickValue:null,subPixelOptimize:!0,shape:{x1:x[0],y1:x[1],x2:I[0],y2:I[1]},style:y.defaults({stroke:o[E]},C),silent:!0}))}},_minorSplitLine:function(i,n){var l=i.axis,t=i.getModel("minorSplitLine"),u=t.getModel("lineStyle"),o=n.coordinateSystem.getRect(),c=l.isHorizontal(),h=l.getMinorTicksCoords();if(!h.length)return;for(var f=[],w=[],x=u.getLineStyle(),I=0;I<h.length;I++)for(var C=0;C<h[I].length;C++){var N=l.toGlobalCoord(h[I][C].coord);c?(f[0]=N,f[1]=o.y,w[0]=N,w[1]=o.y+o.height):(f[0]=o.x,f[1]=N,w[0]=o.x+o.width,w[1]=N),this._axisGroup.add(new L.Line({anid:"minor_line_"+h[I][C].tickValue,subPixelOptimize:!0,shape:{x1:f[0],y1:f[1],x2:w[0],y2:w[1]},style:x,silent:!0}))}},_splitArea:function(i,n){m(this,this._axisGroup,i,n)}});s.extend({type:"xAxis"}),s.extend({type:"yAxis"})},"8nly":function(te,U,e){var y=e("mFDi"),L=e("4mN7"),g=e("QBsz"),v=e("BlVb");function A(m,d,r){if(this.name=m,this.geometries=d,r)r=[r[0],r[1]];else{var a=this.getBoundingRect();r=[a.x+a.width/2,a.y+a.height/2]}this.center=r}A.prototype={constructor:A,properties:null,getBoundingRect:function(){var m=this._rect;if(m)return m;for(var d=Number.MAX_VALUE,r=[d,d],a=[-d,-d],s=[],i=[],n=this.geometries,l=0;l<n.length;l++){if(n[l].type!=="polygon")continue;var t=n[l].exterior;L.fromPoints(t,s,i),g.min(r,r,s),g.max(a,a,i)}return l===0&&(r[0]=r[1]=a[0]=a[1]=0),this._rect=new y(r[0],r[1],a[0]-r[0],a[1]-r[1])},contain:function(m){var d=this.getBoundingRect(),r=this.geometries;if(!d.contain(m[0],m[1]))return!1;e:for(var a=0,s=r.length;a<s;a++){if(r[a].type!=="polygon")continue;var i=r[a].exterior,n=r[a].interiors;if(v.contain(i,m[0],m[1])){for(var l=0;l<(n?n.length:0);l++)if(v.contain(n[l]))continue e;return!0}}return!1},transformTo:function(m,d,r,a){var s=this.getBoundingRect(),i=s.width/s.height;r?a||(a=r/i):r=i*a;for(var n=new y(m,d,r,a),l=s.calculateTransform(n),t=this.geometries,u=0;u<t.length;u++){if(t[u].type!=="polygon")continue;for(var o=t[u].exterior,c=t[u].interiors,h=0;h<o.length;h++)g.applyTransform(o[h],o[h],l);for(var f=0;f<(c?c.length:0);f++)for(var h=0;h<c[f].length;h++)g.applyTransform(c[f][h],c[f][h],l)}s=this._rect,s.copy(n),this.center=[s.x+s.width/2,s.y+s.height/2]},cloneShallow:function(m){m==null&&(m=this.name);var d=new A(m,this.geometries,this.center);return d._rect=this._rect,d.transformTo=null,d}};var b=A;te.exports=b},"8waO":function(te,U,e){var y=e("ProS"),L=e("bYtY"),g=e("iLNv"),v=e("ZWlE");e("hJvP"),e("IXyC"),e("xRUu");var A=5;y.extendComponentView({type:"parallel",render:function(d,r,a){this._model=d,this._api=a,this._handlers||(this._handlers={},L.each(b,function(s,i){a.getZr().on(i,this._handlers[i]=L.bind(s,this))},this)),g.createOrUpdate(this,"_throttledDispatchExpand",d.get("axisExpandRate"),"fixRate")},dispose:function(d,r){L.each(this._handlers,function(a,s){r.getZr().off(s,a)}),this._handlers=null},_throttledDispatchExpand:function(d){this._dispatchExpand(d)},_dispatchExpand:function(d){d&&this._api.dispatchAction(L.extend({type:"parallelAxisExpand"},d))}});var b={mousedown:function(d){m(this,"click")&&(this._mouseDownPoint=[d.offsetX,d.offsetY])},mouseup:function(d){var r=this._mouseDownPoint;if(m(this,"click")&&r){var a=[d.offsetX,d.offsetY],s=Math.pow(r[0]-a[0],2)+Math.pow(r[1]-a[1],2);if(s>A)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([d.offsetX,d.offsetY]);i.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(d){if(this._mouseDownPoint||!m(this,"mousemove"))return;var r=this._model,a=r.coordinateSystem.getSlidedAxisExpandWindow([d.offsetX,d.offsetY]),s=a.behavior;s==="jump"&&this._throttledDispatchExpand.debounceNextCall(r.get("axisExpandDebounce")),this._throttledDispatchExpand(s==="none"?null:{axisExpandWindow:a.axisExpandWindow,animation:s==="jump"?null:!1})}};function m(d,r){var a=d._model;return a.get("axisExpandable")&&a.get("axisExpandTriggerOn")===r}y.registerPreprocessor(v)},"8x+h":function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("ProS"),v=e("bYtY"),A=e("K4ya"),b=e("Qxkt"),m=["#ddd"],d=g.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(s,i){var n=this.option;!i&&A.replaceVisualOption(n,s,["inBrush","outOfBrush"]);var l=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:m},l.hasOwnProperty("liftZ")||(l.liftZ=5)},setAreas:function(s){if(!s)return;this.areas=v.map(s,function(i){return r(this.option,i)},this)},setBrushOption:function(s){this.brushOption=r(this.option,s),this.brushType=this.brushOption.brushType}});function r(s,i){return v.merge({brushType:s.brushType,brushMode:s.brushMode,transformable:s.transformable,brushStyle:new b(s.brushStyle).getItemStyle(),removeOnClick:s.removeOnClick,z:s.z},i,!0)}var a=d;te.exports=a},"8z0m":function(te,U,e){"use strict";var y=e("lSNA"),L=e.n(y),g=e("RIqP"),v=e.n(g),A=e("pVnL"),b=e.n(A),m=e("J4zp"),d=e.n(m),r=e("q1tI"),a=e.n(r),s=e("TSYQ"),i=e.n(s);function n(gn,vn){var Ft="cannot "+gn.method+" "+gn.action+" "+vn.status+"'",Ye=new Error(Ft);return Ye.status=vn.status,Ye.method=gn.method,Ye.url=gn.action,Ye}function l(gn){var vn=gn.responseText||gn.response;if(!vn)return vn;try{return JSON.parse(vn)}catch(Ft){return vn}}function t(gn){var vn=new XMLHttpRequest;gn.onProgress&&vn.upload&&(vn.upload.onprogress=function(Jt){Jt.total>0&&(Jt.percent=Jt.loaded/Jt.total*100),gn.onProgress(Jt)});var Ft=new FormData;gn.data&&Object.keys(gn.data).forEach(function(Pe){var Jt=gn.data[Pe];if(Array.isArray(Jt)){Jt.forEach(function(bn){Ft.append(Pe+"[]",bn)});return}Ft.append(Pe,gn.data[Pe])}),gn.file instanceof Blob?Ft.append(gn.filename,gn.file,gn.file.name):Ft.append(gn.filename,gn.file),vn.onerror=function(Jt){gn.onError(Jt)},vn.onload=function(){return vn.status<200||vn.status>=300?gn.onError(n(gn,vn),l(vn)):gn.onSuccess(l(vn),vn)},vn.open(gn.method,gn.action,!0),gn.withCredentials&&"withCredentials"in vn&&(vn.withCredentials=!0);var Ye=gn.headers||{};return Ye["X-Requested-With"]!==null&&vn.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Ye).forEach(function(Pe){Ye[Pe]!==null&&vn.setRequestHeader(Pe,Ye[Pe])}),vn.send(Ft),{abort:function(){vn.abort()}}}var u=+new Date,o=0;function c(){return"rc-upload-"+u+"-"+ ++o}function h(gn,vn){return gn.indexOf(vn,gn.length-vn.length)!==-1}var f=function(gn,vn){if(gn&&vn){var Ft=Array.isArray(vn)?vn:vn.split(","),Ye=gn.name||"",Pe=gn.type||"",Jt=Pe.replace(/\/.*$/,"");return Ft.some(function(bn){var An=bn.trim();return An.charAt(0)==="."?h(Ye.toLowerCase(),An.toLowerCase()):/\/\*$/.test(An)?Jt===An.replace(/\/.*$/,""):Pe===An})}return!0};function w(gn,vn){var Ft=gn.createReader(),Ye=[];function Pe(){Ft.readEntries(function(Jt){var bn=Array.prototype.slice.apply(Jt);Ye=Ye.concat(bn);var An=!bn.length;An?vn(Ye):Pe()})}Pe()}var x=function(vn,Ft,Ye){var Pe=function Jt(bn,An){An=An||"",bn.isFile?bn.file(function(dn){Ye(dn)&&(bn.fullPath&&!dn.webkitRelativePath&&(Object.defineProperties(dn,{webkitRelativePath:{writable:!0}}),dn.webkitRelativePath=bn.fullPath.replace(/^\//,""),Object.defineProperties(dn,{webkitRelativePath:{writable:!1}})),Ft([dn]))}):bn.isDirectory&&w(bn,function(dn){dn.forEach(function(vr){Jt(vr,""+An+bn.name+"/")})})};vn.forEach(function(Jt){Pe(Jt.webkitGetAsEntry())})},I=x,C=Object.assign||function(gn){for(var vn=1;vn<arguments.length;vn++){var Ft=arguments[vn];for(var Ye in Ft)Object.prototype.hasOwnProperty.call(Ft,Ye)&&(gn[Ye]=Ft[Ye])}return gn},N=function(){function gn(vn,Ft){var Ye=[],Pe=!0,Jt=!1,bn=void 0;try{for(var An=vn[Symbol.iterator](),dn;!(Pe=(dn=An.next()).done)&&!(Ye.push(dn.value),Ft&&Ye.length===Ft);Pe=!0);}catch(vr){Jt=!0,bn=vr}finally{try{!Pe&&An.return&&An.return()}finally{if(Jt)throw bn}}return Ye}return function(vn,Ft){if(Array.isArray(vn))return vn;if(Symbol.iterator in Object(vn))return gn(vn,Ft);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),S=function(){function gn(vn,Ft){for(var Ye=0;Ye<Ft.length;Ye++){var Pe=Ft[Ye];Pe.enumerable=Pe.enumerable||!1,Pe.configurable=!0,"value"in Pe&&(Pe.writable=!0),Object.defineProperty(vn,Pe.key,Pe)}}return function(vn,Ft,Ye){return Ft&&gn(vn.prototype,Ft),Ye&&gn(vn,Ye),vn}}();function E(gn,vn,Ft){return vn in gn?Object.defineProperty(gn,vn,{value:Ft,enumerable:!0,configurable:!0,writable:!0}):gn[vn]=Ft,gn}function T(gn,vn){var Ft={};for(var Ye in gn){if(vn.indexOf(Ye)>=0)continue;if(!Object.prototype.hasOwnProperty.call(gn,Ye))continue;Ft[Ye]=gn[Ye]}return Ft}function D(gn,vn){if(!(gn instanceof vn))throw new TypeError("Cannot call a class as a function")}function B(gn,vn){if(!gn)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return vn&&(typeof vn=="object"||typeof vn=="function")?vn:gn}function R(gn,vn){if(typeof vn!="function"&&vn!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof vn);gn.prototype=Object.create(vn&&vn.prototype,{constructor:{value:gn,enumerable:!1,writable:!0,configurable:!0}}),vn&&(Object.setPrototypeOf?Object.setPrototypeOf(gn,vn):gn.__proto__=vn)}var F=function(vn){return Object.keys(vn).reduce(function(Ft,Ye){return(Ye.substr(0,5)==="data-"||Ye.substr(0,5)==="aria-"||Ye==="role")&&(Ft[Ye]=vn[Ye]),Ft},{})},M=function(gn){R(vn,gn);function vn(){var Ft,Ye,Pe,Jt;D(this,vn);for(var bn=arguments.length,An=Array(bn),dn=0;dn<bn;dn++)An[dn]=arguments[dn];return Jt=(Ye=(Pe=B(this,(Ft=vn.__proto__||Object.getPrototypeOf(vn)).call.apply(Ft,[this].concat(An))),Pe),Pe.state={uid:c()},Pe.reqs={},Pe.onChange=function(vr){var qn=vr.target.files;Pe.uploadFiles(qn),Pe.reset()},Pe.onClick=function(vr){var qn=Pe.fileInput;if(!qn)return;var Ur=Pe.props,Ue=Ur.children,He=Ur.onClick;Ue&&Ue.type==="button"&&(qn.parentNode.focus(),qn.parentNode.querySelector("button").blur()),qn.click(),He&&He(vr)},Pe.onKeyDown=function(vr){vr.key==="Enter"&&Pe.onClick()},Pe.onFileDrop=function(vr){var qn=Pe.props.multiple;if(vr.preventDefault(),vr.type==="dragover")return;if(Pe.props.directory)I(Array.prototype.slice.call(vr.dataTransfer.items),Pe.uploadFiles,function(Ue){return f(Ue,Pe.props.accept)});else{var Ur=Array.prototype.slice.call(vr.dataTransfer.files).filter(function(Ue){return f(Ue,Pe.props.accept)});qn===!1&&(Ur=Ur.slice(0,1)),Pe.uploadFiles(Ur)}},Pe.uploadFiles=function(vr){var qn=Array.prototype.slice.call(vr);qn.map(function(Ur){return Ur.uid=c(),Ur}).forEach(function(Ur){Pe.upload(Ur,qn)})},Pe.saveFileInput=function(vr){Pe.fileInput=vr},Ye),B(Pe,Jt)}return S(vn,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(Ye,Pe){var Jt=this,bn=this.props;if(!bn.beforeUpload)return setTimeout(function(){return Jt.post(Ye)},0);var An=bn.beforeUpload(Ye,Pe);An&&An.then?An.then(function(dn){var vr=Object.prototype.toString.call(dn);return vr==="[object File]"||vr==="[object Blob]"?Jt.post(dn):Jt.post(Ye)}).catch(function(dn){console.log(dn)}):An!==!1&&setTimeout(function(){return Jt.post(Ye)},0);return}},{key:"post",value:function(Ye){var Pe=this;if(!this._isMounted)return;var Jt=this.props,bn=Jt.onStart,An=Jt.onProgress,dn=Jt.transformFile,vr=dn===void 0?function(qn){return qn}:dn;new Promise(function(qn){var Ur=Jt.action;return typeof Ur=="function"&&(Ur=Ur(Ye)),qn(Ur)}).then(function(qn){var Ur=Ye.uid,Ue=Jt.customRequest||t,He=Promise.resolve(vr(Ye)).then(function(se){var Ae=Jt.data;return typeof Ae=="function"&&(Ae=Ae(se)),Promise.all([se,Ae])}).catch(function(se){console.error(se)});He.then(function(se){var Ae=N(se,2),Oe=Ae[0],ze=Ae[1],Rt={action:qn,filename:Jt.name,data:ze,file:Oe,headers:Jt.headers,withCredentials:Jt.withCredentials,method:Jt.method||"post",onProgress:An?function(Et){An(Et,Ye)}:null,onSuccess:function(_t,Nn){delete Pe.reqs[Ur],Jt.onSuccess(_t,Ye,Nn)},onError:function(_t,Nn){delete Pe.reqs[Ur],Jt.onError(_t,Nn,Ye)}};bn(Ye),Pe.reqs[Ur]=Ue(Rt)})})}},{key:"reset",value:function(){this.setState({uid:c()})}},{key:"abort",value:function(Ye){var Pe=this.reqs;if(Ye){var Jt=Ye;Ye&&Ye.uid&&(Jt=Ye.uid),Pe[Jt]&&Pe[Jt].abort&&Pe[Jt].abort(),delete Pe[Jt]}else Object.keys(Pe).forEach(function(bn){Pe[bn]&&Pe[bn].abort&&Pe[bn].abort(),delete Pe[bn]})}},{key:"render",value:function(){var Ye,Pe=this.props,Jt=Pe.component,bn=Pe.prefixCls,An=Pe.className,dn=Pe.disabled,vr=Pe.id,qn=Pe.style,Ur=Pe.multiple,Ue=Pe.accept,He=Pe.children,se=Pe.directory,Ae=Pe.openFileDialogOnClick,Oe=Pe.onMouseEnter,ze=Pe.onMouseLeave,Rt=T(Pe,["component","prefixCls","className","disabled","id","style","multiple","accept","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"]),Et=i()((Ye={},E(Ye,bn,!0),E(Ye,bn+"-disabled",dn),E(Ye,An,An),Ye)),_t=dn?{}:{onClick:Ae?this.onClick:function(){},onKeyDown:Ae?this.onKeyDown:function(){},onMouseEnter:Oe,onMouseLeave:ze,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return a.a.createElement(Jt,C({},_t,{className:Et,role:"button",style:qn}),a.a.createElement("input",C({},F(Rt),{id:vr,type:"file",ref:this.saveFileInput,onClick:function(Mn){return Mn.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:Ue,directory:se?"directory":null,webkitdirectory:se?"webkitdirectory":null,multiple:Ur,onChange:this.onChange})),He)}}]),vn}(r.Component),K=M,j=Object.assign||function(gn){for(var vn=1;vn<arguments.length;vn++){var Ft=arguments[vn];for(var Ye in Ft)Object.prototype.hasOwnProperty.call(Ft,Ye)&&(gn[Ye]=Ft[Ye])}return gn},H=function(){function gn(vn,Ft){for(var Ye=0;Ye<Ft.length;Ye++){var Pe=Ft[Ye];Pe.enumerable=Pe.enumerable||!1,Pe.configurable=!0,"value"in Pe&&(Pe.writable=!0),Object.defineProperty(vn,Pe.key,Pe)}}return function(vn,Ft,Ye){return Ft&&gn(vn.prototype,Ft),Ye&&gn(vn,Ye),vn}}();function k(gn,vn){if(!(gn instanceof vn))throw new TypeError("Cannot call a class as a function")}function P(gn,vn){if(!gn)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return vn&&(typeof vn=="object"||typeof vn=="function")?vn:gn}function z(gn,vn){if(typeof vn!="function"&&vn!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof vn);gn.prototype=Object.create(vn&&vn.prototype,{constructor:{value:gn,enumerable:!1,writable:!0,configurable:!0}}),vn&&(Object.setPrototypeOf?Object.setPrototypeOf(gn,vn):gn.__proto__=vn)}function Y(){}var _=function(gn){z(vn,gn);function vn(){var Ft,Ye,Pe,Jt;k(this,vn);for(var bn=arguments.length,An=Array(bn),dn=0;dn<bn;dn++)An[dn]=arguments[dn];return Jt=(Ye=(Pe=P(this,(Ft=vn.__proto__||Object.getPrototypeOf(vn)).call.apply(Ft,[this].concat(An))),Pe),Pe.saveUploader=function(vr){Pe.uploader=vr},Ye),P(Pe,Jt)}return H(vn,[{key:"abort",value:function(Ye){this.uploader.abort(Ye)}},{key:"render",value:function(){return a.a.createElement(K,j({},this.props,{ref:this.saveUploader}))}}]),vn}(r.Component);_.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:Y,onError:Y,onSuccess:Y,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var G=_,J=G,ue=function(gn,vn){var Ft={};for(var Ye in gn)Object.prototype.hasOwnProperty.call(gn,Ye)&&vn.indexOf(Ye)<0&&(Ft[Ye]=gn[Ye]);if(gn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,Ye=Object.getOwnPropertySymbols(gn);Pe<Ye.length;Pe++)vn.indexOf(Ye[Pe])<0&&Object.prototype.propertyIsEnumerable.call(gn,Ye[Pe])&&(Ft[Ye[Pe]]=gn[Ye[Pe]]);return Ft},q=function(vn,Ft){var Ye=vn.style,Pe=vn.height,Jt=ue(vn,["style","height"]);return r.createElement(rr,b()({ref:Ft},Jt,{type:"drag",style:b()(b()({},Ye),{height:Pe})}))},re=r.forwardRef(q);re.displayName="Dragger";var me=re,be=e("UmKh"),ke=e("gZBC"),ce=e.n(ke),Ee=e("+d4F"),pe=e.n(Ee),Se=e("XAae"),st=e.n(Se),qe=e("6xvX"),tt=e.n(qe),Dt=e("qPY4"),ct=e.n(Dt),St=e("QB+1"),rt=e.n(St),ht=e("Qs3X"),je=e.n(ht),Me=e("0n0R");function Ne(){return!0}function it(gn){return b()(b()({},gn),{lastModified:gn.lastModified,lastModifiedDate:gn.lastModifiedDate,name:gn.name,size:gn.size,type:gn.type,uid:gn.uid,percent:0,originFileObj:gn})}function wt(gn,vn){var Ft=gn.uid!==void 0?"uid":"name";return vn.filter(function(Ye){return Ye[Ft]===gn[Ft]})[0]}function jt(gn,vn){var Ft=gn.uid!==void 0?"uid":"name",Ye=vn.filter(function(Pe){return Pe[Ft]!==gn[Ft]});return Ye.length===vn.length?null:Ye}var lt=function(){var vn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",Ft=vn.split("/"),Ye=Ft[Ft.length-1],Pe=Ye.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Pe)||[""])[0]},Te=function(vn){return vn.indexOf("image/")===0},mt=function(vn){if(vn.type&&!vn.thumbUrl)return Te(vn.type);var Ft=vn.thumbUrl||vn.url,Ye=lt(Ft);return/^data:image\//.test(Ft)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(Ye)?!0:/^data:/.test(Ft)?!1:!Ye},tn=200;function Vt(gn){return new Promise(function(vn){if(!gn.type||!Te(gn.type)){vn("");return}var Ft=document.createElement("canvas");Ft.width=tn,Ft.height=tn,Ft.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(tn,"px; height: ").concat(tn,"px; z-index: 9999; display: none;"),document.body.appendChild(Ft);var Ye=Ft.getContext("2d"),Pe=new Image;Pe.onload=function(){var Jt=Pe.width,bn=Pe.height,An=tn,dn=tn,vr=0,qn=0;Jt<bn?(dn=bn*(tn/Jt),qn=-(dn-An)/2):(An=Jt*(tn/bn),vr=-(An-dn)/2),Ye.drawImage(Pe,vr,qn,An,dn);var Ur=Ft.toDataURL();document.body.removeChild(Ft),vn(Ur)},Pe.src=window.URL.createObjectURL(gn)})}var Yt=e("3S7+"),Qt=e("CFYs"),an=e("H84U"),on=e("2/Rp"),vt=e("hkKa"),de=function(vn,Ft){var Ye,Pe=vn.listType,Jt=vn.previewFile,bn=vn.onPreview,An=vn.onDownload,dn=vn.onRemove,vr=vn.locale,qn=vn.iconRender,Ur=vn.isImageUrl,Ue=vn.prefixCls,He=vn.items,se=He===void 0?[]:He,Ae=vn.showPreviewIcon,Oe=vn.showRemoveIcon,ze=vn.showDownloadIcon,Rt=vn.removeIcon,Et=vn.downloadIcon,_t=vn.progress,Nn=Object(vt.a)();r.useEffect(function(){if(Pe!=="picture"&&Pe!=="picture-card")return;(se||[]).forEach(function(Zt){if(typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Zt.originFileObj instanceof File||Zt.originFileObj instanceof Blob)||Zt.thumbUrl!==void 0)return;Zt.thumbUrl="",Jt&&Jt(Zt.originFileObj).then(function(Gt){Zt.thumbUrl=Gt||"",Nn()})})},[Pe,se,Jt]);var Mn=function(Gt,Qn){return bn?(Qn.preventDefault(),bn(Gt)):void 0},lr=function(Gt){typeof An=="function"?An(Gt):Gt.url&&window.open(Gt.url)},Lt=function(Gt){dn&&dn(Gt)},$e=function(Gt){if(qn)return qn(Gt,Pe);var Qn=Gt.status==="uploading",Gn=Ur&&Ur(Gt)?r.createElement(st.a,null):r.createElement(tt.a,null),Or=Qn?r.createElement(ce.a,null):r.createElement(pe.a,null);return Pe==="picture"?Or=Qn?r.createElement(ce.a,null):Gn:Pe==="picture-card"&&(Or=Qn?vr.uploading:Gn),Or},Qe=function(Gt,Qn,Gn,Or){var Nr={type:"text",size:"small",title:Or,onClick:function(vi){Qn(),Object(Me.b)(Gt)&&Gt.props.onClick&&Gt.props.onClick(vi)},className:"".concat(Gn,"-list-item-card-actions-btn")};if(Object(Me.b)(Gt)){var Kr=Object(Me.a)(Gt,b()(b()({},Gt.props),{onClick:function(){}}));return r.createElement(on.a,b()({},Nr,{icon:Kr}))}return r.createElement(on.a,Nr,r.createElement("span",null,Gt))};r.useImperativeHandle(Ft,function(){return{handlePreview:Mn,handleDownload:lr}});var kt=r.useContext(an.b),Ht=kt.getPrefixCls,ot=kt.direction,Ct=Ht("upload",Ue),nt=se.map(function(Zt){var Gt,Qn,Gn,Or=$e(Zt),Nr=r.createElement("div",{className:"".concat(Ct,"-text-icon")},Or);if(Pe==="picture"||Pe==="picture-card")if(Zt.status==="uploading"||!Zt.thumbUrl&&!Zt.url){var Kr,ei=i()((Kr={},L()(Kr,"".concat(Ct,"-list-item-thumbnail"),!0),L()(Kr,"".concat(Ct,"-list-item-file"),Zt.status!=="uploading"),Kr));Nr=r.createElement("div",{className:ei},Or)}else{var vi,Pi=Ur&&Ur(Zt)?r.createElement("img",{src:Zt.thumbUrl||Zt.url,alt:Zt.name,className:"".concat(Ct,"-list-item-image")}):Or,Be=i()((vi={},L()(vi,"".concat(Ct,"-list-item-thumbnail"),!0),L()(vi,"".concat(Ct,"-list-item-file"),Ur&&!Ur(Zt)),vi));Nr=r.createElement("a",{className:Be,onClick:function(Fn){return Mn(Zt,Fn)},href:Zt.url||Zt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Pi)}if(Zt.status==="uploading"){var le="percent"in Zt?r.createElement(Qt.a,b()({},_t,{type:"line",percent:Zt.percent})):null;Gn=r.createElement("div",{className:"".concat(Ct,"-list-item-progress"),key:"progress"},le)}var ye=i()((Gt={},L()(Gt,"".concat(Ct,"-list-item"),!0),L()(Gt,"".concat(Ct,"-list-item-").concat(Zt.status),!0),L()(Gt,"".concat(Ct,"-list-item-list-type-").concat(Pe),!0),Gt)),xe=typeof Zt.linkProps=="string"?JSON.parse(Zt.linkProps):Zt.linkProps,De=Oe?Qe(Rt||r.createElement(rt.a,null),function(){return Lt(Zt)},Ct,vr.removeFile):null,Le=ze&&Zt.status==="done"?Qe(Et||r.createElement(je.a,null),function(){return lr(Zt)},Ct,vr.downloadFile):null,Fe=Pe!=="picture-card"&&r.createElement("span",{key:"download-delete",className:"".concat(Ct,"-list-item-card-actions ").concat(Pe==="picture"?"picture":"")},Le,De),at=i()((Qn={},L()(Qn,"".concat(Ct,"-list-item-name"),!0),L()(Qn,"".concat(Ct,"-list-item-name-icon-count-").concat([Le,De].filter(function(Kn){return Kn}).length),!0),Qn)),Ve=Zt.url?[r.createElement("a",b()({key:"view",target:"_blank",rel:"noopener noreferrer",className:at,title:Zt.name},xe,{href:Zt.url,onClick:function(Fn){return Mn(Zt,Fn)}}),Zt.name),Fe]:[r.createElement("span",{key:"view",className:at,onClick:function(Fn){return Mn(Zt,Fn)},title:Zt.name},Zt.name),Fe],It={pointerEvents:"none",opacity:.5},pn=Ae?r.createElement("a",{href:Zt.url||Zt.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Zt.url||Zt.thumbUrl?void 0:It,onClick:function(Fn){return Mn(Zt,Fn)},title:vr.previewFile},r.createElement(ct.a,null)):null,rn=Pe==="picture-card"&&Zt.status!=="uploading"&&r.createElement("span",{className:"".concat(Ct,"-list-item-actions")},pn,Zt.status==="done"&&Le,De),Tn;Zt.response&&typeof Zt.response=="string"?Tn=Zt.response:Tn=Zt.error&&Zt.error.statusText||vr.uploadError;var Nt=r.createElement("span",null,Nr,Ve),ur=r.createElement("div",{className:ye},r.createElement("div",{className:"".concat(Ct,"-list-item-info")},Nt),rn,r.createElement(be.a,{transitionName:"fade",component:""},Gn)),Xt=i()(L()({},"".concat(Ct,"-list-picture-card-container"),Pe==="picture-card"));return r.createElement("div",{key:Zt.uid,className:Xt},Zt.status==="error"?r.createElement(Yt.a,{title:Tn,getPopupContainer:function(Fn){return Fn.parentNode}},ur):r.createElement("span",null,ur))}),Ot=i()((Ye={},L()(Ye,"".concat(Ct,"-list"),!0),L()(Ye,"".concat(Ct,"-list-").concat(Pe),!0),L()(Ye,"".concat(Ct,"-list-rtl"),ot==="rtl"),Ye)),sn=Pe==="picture-card"?"animate-inline":"animate";return r.createElement(be.a,{transitionName:"".concat(Ct,"-").concat(sn),component:"div",className:Ot},nt)},he=r.forwardRef(de);he.displayName="UploadList",he.defaultProps={listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:Vt,isImageUrl:mt};var Pt=he,We=e("YMnH"),Je=e("ZvpZ"),Ln=e("uaoM"),jn=e("sPtV"),Sn=function(vn,Ft){var Ye,Pe=vn.fileList,Jt=vn.defaultFileList,bn=vn.onRemove,An=vn.showUploadList,dn=vn.listType,vr=vn.onPreview,qn=vn.onDownload,Ur=vn.previewFile,Ue=vn.disabled,He=vn.locale,se=vn.iconRender,Ae=vn.isImageUrl,Oe=vn.progress,ze=vn.prefixCls,Rt=vn.className,Et=vn.type,_t=vn.children,Nn=vn.style,Mn=Object(jn.a)(Pe||Jt||[]),lr=d()(Mn,2),Lt=lr[0],$e=lr[1],Qe=r.useState("drop"),kt=d()(Qe,2),Ht=kt[0],ot=kt[1],Ct=r.useRef();r.useEffect(function(){$e(Pe||Jt||[]),Object(Ln.a)("fileList"in vn||!("value"in vn),"Upload","`value` is not a valid prop, do you mean `fileList`?")},[]),r.useEffect(function(){"fileList"in vn&&$e(Pe||[])},[Pe]);var nt=function(Ve){"fileList"in vn||$e(Ve.fileList);var It=vn.onChange;It&&It(b()(b()({},Ve),{fileList:v()(Ve.fileList)}))},Ot=function(Ve){var It=it(Ve);It.status="uploading";var pn=Lt().concat(),rn=pn.findIndex(function(Tn){var Nt=Tn.uid;return Nt===It.uid});rn===-1?pn.push(It):pn[rn]=It,nt({file:It,fileList:pn})},sn=function(Ve,It,pn){try{typeof Ve=="string"&&(Ve=JSON.parse(Ve))}catch(Tn){}var rn=wt(It,Lt());if(!rn)return;rn.status="done",rn.response=Ve,rn.xhr=pn,nt({file:b()({},rn),fileList:Lt().concat()})},Zt=function(Ve,It){var pn=wt(It,Lt());if(!pn)return;pn.percent=Ve.percent,nt({event:Ve,file:b()({},pn),fileList:Lt().concat()})},Gt=function(Ve,It,pn){var rn=wt(pn,Lt());if(!rn)return;rn.error=Ve,rn.response=It,rn.status="error",nt({file:b()({},rn),fileList:Lt().concat()})},Qn=function(Ve){Promise.resolve(typeof bn=="function"?bn(Ve):bn).then(function(It){if(It===!1)return;var pn=jt(Ve,Lt());pn&&(Ve.status="removed",Ct.current&&Ct.current.abort(Ve),nt({file:Ve,fileList:pn}))})},Gn=function(Ve){ot(Ve.type)},Or=function(Ve,It){var pn=vn.beforeUpload;if(!pn)return!0;var rn=pn(Ve,It);if(rn===!1){var Tn=[];return Lt().concat(It.map(it)).forEach(function(Nt){Tn.every(function(ur){return ur.uid!==Nt.uid})&&Tn.push(Nt)}),nt({file:Ve,fileList:Tn}),!1}return rn&&rn.then?rn:!0},Nr=Object(vt.a)();r.useImperativeHandle(Ft,function(){return{onStart:Ot,onSuccess:sn,onProgress:Zt,onError:Gt,fileList:Lt(),upload:Ct.current,forceUpdate:Nr}});var Kr=function(Ve){var It=An.showRemoveIcon,pn=An.showPreviewIcon,rn=An.showDownloadIcon,Tn=An.removeIcon,Nt=An.downloadIcon;return r.createElement(Pt,{listType:dn,items:Lt(),previewFile:Ur,onPreview:vr,onDownload:qn,onRemove:Qn,showRemoveIcon:!Ue&&It,showPreviewIcon:pn,showDownloadIcon:rn,removeIcon:Tn,downloadIcon:Nt,iconRender:se,locale:b()(b()({},Ve),He),isImageUrl:Ae,progress:Oe})},ei=r.useContext(an.b),vi=ei.getPrefixCls,Pi=ei.direction,Be=vi("upload",ze),le=b()(b()({onStart:Ot,onError:Gt,onProgress:Zt,onSuccess:sn},vn),{prefixCls:Be,beforeUpload:Or});delete le.className,delete le.style,(!_t||Ue)&&delete le.id;var ye=An?r.createElement(We.a,{componentName:"Upload",defaultLocale:Je.a.Upload},Kr):null;if(Et==="drag"){var xe,De=i()(Be,(xe={},L()(xe,"".concat(Be,"-drag"),!0),L()(xe,"".concat(Be,"-drag-uploading"),Lt().some(function(at){return at.status==="uploading"})),L()(xe,"".concat(Be,"-drag-hover"),Ht==="dragover"),L()(xe,"".concat(Be,"-disabled"),Ue),L()(xe,"".concat(Be,"-rtl"),Pi==="rtl"),xe),Rt);return r.createElement("span",null,r.createElement("div",{className:De,onDrop:Gn,onDragOver:Gn,onDragLeave:Gn,style:Nn},r.createElement(J,b()({},le,{ref:Ct,className:"".concat(Be,"-btn")}),r.createElement("div",{className:"".concat(Be,"-drag-container")},_t))),ye)}var Le=i()(Be,(Ye={},L()(Ye,"".concat(Be,"-select"),!0),L()(Ye,"".concat(Be,"-select-").concat(dn),!0),L()(Ye,"".concat(Be,"-disabled"),Ue),L()(Ye,"".concat(Be,"-rtl"),Pi==="rtl"),Ye)),Fe=r.createElement("div",{className:Le,style:_t?void 0:{display:"none"}},r.createElement(J,b()({},le,{ref:Ct})));return dn==="picture-card"?r.createElement("span",{className:i()(Rt,"".concat(Be,"-picture-card-wrapper"))},ye,Fe):r.createElement("span",{className:Rt},Fe,ye)},Xn=r.forwardRef(Sn);Xn.Dragger=me,Xn.displayName="Upload",Xn.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:Ne,showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0};var rr=Xn;rr.Dragger=me;var hr=U.a=rr},"98bh":function(te,U,e){var y=e("ProS"),L=e("5GtS"),g=e("bYtY"),v=e("4NO4"),A=e("OELB"),b=A.getPercentWithPrecision,m=e("cCMj"),d=e("KxfA"),r=d.retrieveRawAttr,a=e("D5nY"),s=a.makeSeriesEncodeForNameBased,i=e("xKMd"),n=y.extendSeriesModel({type:"series.pie",init:function(t){n.superApply(this,"init",arguments),this.legendVisualProvider=new i(g.bind(this.getData,this),g.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(t)},mergeOption:function(t){n.superCall(this,"mergeOption",t),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(t,u){return L(this,{coordDimensions:["value"],encodeDefaulter:g.curry(s,this)})},_createSelectableList:function(){for(var t=this.getRawData(),u=t.mapDimension("value"),o=[],c=0,h=t.count();c<h;c++)o.push({name:t.getName(c),value:t.get(u,c),selected:r(t,c,"selected")});return o},getDataParams:function(t){var u=this.getData(),o=n.superCall(this,"getDataParams",t),c=[];return u.each(u.mapDimension("value"),function(h){c.push(h)}),o.percent=b(c,t,u.hostModel.get("percentPrecision")),o.$vars.push("percent"),o},_defaultLabelLine:function(t){v.defaultEmphasis(t,"labelLine",["show"]);var u=t.labelLine,o=t.emphasis.labelLine;u.show=u.show&&t.label.show,o.show=o.show&&t.emphasis.label.show},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,hoverOffset:10,avoidLabelOverlap:!0,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:!1,show:!0,position:"outer",alignTo:"none",margin:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1},animationType:"expansion",animationTypeUpdate:"transition",animationEasing:"cubicOut"}});g.mixin(n,m);var l=n;te.exports=l},"9H2F":function(te,U,e){var y=e("bYtY"),L=y.assert,g=y.isArray,v=e("Tghj"),A=v.__DEV__;function b(i){return new m(i)}function m(i){i=i||{},this._reset=i.reset,this._plan=i.plan,this._count=i.count,this._onDirty=i.onDirty,this._dirty=!0,this.context}var d=m.prototype;d.perform=function(i){var n=this._upstream,l=i&&i.skip;if(this._dirty&&n){var t=this.context;t.data=t.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var u;this._plan&&!l&&(u=this._plan(this.context));var o=w(this._modBy),c=this._modDataCount||0,h=w(i&&i.modBy),f=i&&i.modDataCount||0;(o!==h||c!==f)&&(u="reset");function w(D){return!(D>=1)&&(D=1),D}var x;(this._dirty||u==="reset")&&(this._dirty=!1,x=s(this,l)),this._modBy=h,this._modDataCount=f;var I=i&&i.step;if(n?this._dueEnd=n._outputDueEnd:this._dueEnd=this._count?this._count(this.context):Infinity,this._progress){var C=this._dueIndex,N=Math.min(I!=null?this._dueIndex+I:Infinity,this._dueEnd);if(!l&&(x||C<N)){var S=this._progress;if(g(S))for(var E=0;E<S.length;E++)a(this,S[E],C,N,h,f);else a(this,S,C,N,h,f)}this._dueIndex=N;var T=this._settedOutputEnd!=null?this._settedOutputEnd:N;this._outputDueEnd=T}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var r=function(){var i,n,l,t,u,o={reset:function(f,w,x,I){n=f,i=w,l=x,t=I,u=Math.ceil(t/l),o.next=l>1&&t>0?h:c}};return o;function c(){return n<i?n++:null}function h(){var f=n%u*l+Math.ceil(n/u),w=n>=i?null:f<t?f:n;return n++,w}}();d.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)};function a(i,n,l,t,u,o){r.reset(l,t,u,o),i._callingProgress=n,i._callingProgress({start:l,end:t,count:t-l,next:r.next},i.context)}function s(i,n){i._dueIndex=i._outputDueEnd=i._dueEnd=0,i._settedOutputEnd=null;var l,t;!n&&i._reset&&(l=i._reset(i.context),l&&l.progress&&(t=l.forceFirstProgress,l=l.progress),g(l)&&!l.length&&(l=null)),i._progress=l,i._modBy=i._modDataCount=null;var u=i._downstream;return u&&u.dirty(),t}d.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},d.pipe=function(i){(this._downstream!==i||this._dirty)&&(this._downstream=i,i._upstream=this,i.dirty())},d.dispose=function(){if(this._disposed)return;this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0},d.getUpstream=function(){return this._upstream},d.getDownstream=function(){return this._downstream},d.setOutputEnd=function(i){this._outputDueEnd=this._settedOutputEnd=i},U.createTask=b},"9KIM":function(te,U,e){var y=e("mFDi"),L=e("xSat"),g=L.onIrrelevantElement,v=e("IwbS");function A(r){return r=d(r),function(a,s){return v.clipPointsByRect(a,r)}}function b(r,a){return r=d(r),function(s){var i=a!=null?a:s,n=i?r.width:r.height,l=i?r.x:r.y;return[l,l+(n||0)]}}function m(r,a,s){return r=d(r),function(i,n,l){return r.contain(n[0],n[1])&&!g(i,a,s)}}function d(r){return y.create(r)}U.makeRectPanelClipPath=A,U.makeLinearBrushOtherExtent=b,U.makeRectIsTargetByCursor=m},"9ama":function(te,U,e){},"9eas":function(te,U,e){e("HM/N"),e("tBnm")},"9hCq":function(te,U,e){var y=e("IwbS"),L=e("+TT/"),g=e("bYtY"),v=e("VaxA"),A=v.wrapTreePathInfo,b=8,m=8,d=5;function r(n){this.group=new y.Group,n.add(this.group)}r.prototype={constructor:r,render:function(n,l,t,u){var o=n.getModel("breadcrumb"),c=this.group;if(c.removeAll(),!o.get("show")||!t)return;var h=o.getModel("itemStyle"),f=h.getModel("textStyle"),w={pos:{left:o.get("left"),right:o.get("right"),top:o.get("top"),bottom:o.get("bottom")},box:{width:l.getWidth(),height:l.getHeight()},emptyItemWidth:o.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(t,w,f),this._renderContent(n,w,h,f,u),L.positionElement(c,w.pos,w.box)},_prepare:function(n,l,t){for(var u=n;u;u=u.parentNode){var o=u.getModel().get("name"),c=t.getTextRect(o),h=Math.max(c.width+b*2,l.emptyItemWidth);l.totalWidth+=h+m,l.renderList.push({node:u,text:o,width:h})}},_renderContent:function(n,l,t,u,o){for(var c=0,h=l.emptyItemWidth,f=n.get("breadcrumb.height"),w=L.getAvailableSize(l.pos,l.box),x=l.totalWidth,I=l.renderList,C=I.length-1;C>=0;C--){var N=I[C],S=N.node,E=N.width,T=N.text;x>w.width&&(x-=E-h,E=h,T=null);var D=new y.Polygon({shape:{points:a(c,0,E,f,C===I.length-1,C===0)},style:g.defaults(t.getItemStyle(),{lineJoin:"bevel",text:T,textFill:u.getTextColor(),textFont:u.getFont()}),z:10,onclick:g.curry(o,S)});this.group.add(D),s(D,n,S),c+=E+m}},remove:function(){this.group.removeAll()}};function a(n,l,t,u,o,c){var h=[[o?n:n-d,l],[n+t,l],[n+t,l+u],[o?n:n-d,l+u]];return!c&&h.splice(2,0,[n+t+d,l+u/2]),!o&&h.push([n,l+u/2]),h}function s(n,l,t){n.eventData={componentType:"series",componentSubType:"treemap",componentIndex:l.componentIndex,seriesIndex:l.componentIndex,seriesName:l.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:t&&t.dataIndex,name:t&&t.name},treePathInfo:t&&A(t,l)}}var i=r;te.exports=i},"9u0u":function(te,U,e){var y=e("bYtY");function L(v,A){var b={};return y.each(v,function(m){m.each(m.mapDimension("value"),function(d,r){var a="ec-"+m.getName(r);b[a]=b[a]||[],isNaN(d)||b[a].push(d)})}),v[0].map(v[0].mapDimension("value"),function(m,d){for(var r="ec-"+v[0].getName(d),a=0,s=Infinity,i=-Infinity,n=b[r].length,l=0;l<n;l++)s=Math.min(s,b[r][l]),i=Math.max(i,b[r][l]),a+=b[r][l];var t;return A==="min"?t=s:A==="max"?t=i:A==="average"?t=a/n:t=a,n===0?NaN:t})}function g(v){var A={};v.eachSeriesByType("map",function(b){var m=b.getHostGeoModel(),d=m?"o"+m.id:"i"+b.getMapType();(A[d]=A[d]||[]).push(b)}),y.each(A,function(b,m){for(var d=L(y.map(b,function(a){return a.getData()}),b[0].get("mapValueCalculation")),r=0;r<b.length;r++)b[r].originalData=b[r].getData();for(var r=0;r<b.length;r++)b[r].seriesGroup=b,b[r].needsDrawMap=r===0&&!b[r].getHostGeoModel(),b[r].setData(d.cloneShallow()),b[r].mainSeries=b[0]})}te.exports=g},"9wZj":function(te,U,e){var y=e("IwbS"),L=e("FBjb"),g=e("bYtY"),v=g.isObject;function A(s){this.group=new y.Group,this._symbolCtor=s||L}var b=A.prototype;function m(s,i,n,l){return i&&!isNaN(i[0])&&!isNaN(i[1])&&!(l.isIgnore&&l.isIgnore(n))&&!(l.clipShape&&!l.clipShape.contain(i[0],i[1]))&&s.getItemVisual(n,"symbol")!=="none"}b.updateData=function(s,i){i=d(i);var n=this.group,l=s.hostModel,t=this._data,u=this._symbolCtor,o=r(s);t||n.removeAll(),s.diff(t).add(function(c){var h=s.getItemLayout(c);if(m(s,h,c,i)){var f=new u(s,c,o);f.attr("position",h),s.setItemGraphicEl(c,f),n.add(f)}}).update(function(c,h){var f=t.getItemGraphicEl(h),w=s.getItemLayout(c);if(!m(s,w,c,i)){n.remove(f);return}f?(f.updateData(s,c,o),y.updateProps(f,{position:w},l)):(f=new u(s,c),f.attr("position",w)),n.add(f),s.setItemGraphicEl(c,f)}).remove(function(c){var h=t.getItemGraphicEl(c);h&&h.fadeOut(function(){n.remove(h)})}).execute(),this._data=s},b.isPersistent=function(){return!0},b.updateLayout=function(){var s=this._data;s&&s.eachItemGraphicEl(function(i,n){var l=s.getItemLayout(n);i.attr("position",l)})},b.incrementalPrepareUpdate=function(s){this._seriesScope=r(s),this._data=null,this.group.removeAll()},b.incrementalUpdate=function(s,i,n){n=d(n);function l(c){c.isGroup||(c.incremental=c.useHoverLayer=!0)}for(var t=s.start;t<s.end;t++){var u=i.getItemLayout(t);if(m(i,u,t,n)){var o=new this._symbolCtor(i,t,this._seriesScope);o.traverse(l),o.attr("position",u),this.group.add(o),i.setItemGraphicEl(t,o)}}};function d(s){return s!=null&&!v(s)&&(s={isIgnore:s}),s||{}}b.remove=function(s){var i=this.group,n=this._data;n&&s?n.eachItemGraphicEl(function(l){l.fadeOut(function(){i.remove(l)})}):i.removeAll()};function r(s){var i=s.hostModel;return{itemStyle:i.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:i.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:i.get("symbolRotate"),symbolOffset:i.get("symbolOffset"),hoverAnimation:i.get("hoverAnimation"),labelModel:i.getModel("label"),hoverLabelModel:i.getModel("emphasis.label"),cursorStyle:i.get("cursor")}}var a=A;te.exports=a},"9yH6":function(te,U,e){"use strict";var y=e("lSNA"),L=e.n(y),g=e("pVnL"),v=e.n(g),A=e("q1tI"),b=e("+6Fa"),m=e("TSYQ"),d=e.n(m),r=e("H84U"),a=A.createContext(null),s=a.Provider,i=a,n=e("cDf5"),l=e.n(n);function t(M,K){typeof M=="function"?M(K):l()(M)==="object"&&M&&"current"in M&&(M.current=K)}function u(){for(var M=arguments.length,K=new Array(M),j=0;j<M;j++)K[j]=arguments[j];return function(H){K.forEach(function(k){t(k,H)})}}var o=e("uaoM"),c=function(M,K){var j={};for(var H in M)Object.prototype.hasOwnProperty.call(M,H)&&K.indexOf(H)<0&&(j[H]=M[H]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,H=Object.getOwnPropertySymbols(M);k<H.length;k++)K.indexOf(H[k])<0&&Object.prototype.propertyIsEnumerable.call(M,H[k])&&(j[H[k]]=M[H[k]]);return j},h=function(K,j){var H,k=A.useContext(i),P=A.useContext(r.b),z=P.getPrefixCls,Y=P.direction,_=A.useRef(),G=u(j,_);A.useEffect(function(){Object(o.a)(!("optionType"in K),"Radio","`optionType` is only support in Radio.Group.")},[]);var J=function(Se){K.onChange&&K.onChange(Se),(k==null?void 0:k.onChange)&&k.onChange(Se)},ue=K.prefixCls,q=K.className,re=K.children,me=K.style,be=c(K,["prefixCls","className","children","style"]),ke=z("radio",ue),ce=v()({},be);k&&(ce.name=k.name,ce.onChange=J,ce.checked=K.value===k.value,ce.disabled=K.disabled||k.disabled);var Ee=d()(q,(H={},L()(H,"".concat(ke,"-wrapper"),!0),L()(H,"".concat(ke,"-wrapper-checked"),ce.checked),L()(H,"".concat(ke,"-wrapper-disabled"),ce.disabled),L()(H,"".concat(ke,"-wrapper-rtl"),Y==="rtl"),H));return A.createElement("label",{className:Ee,style:me,onMouseEnter:K.onMouseEnter,onMouseLeave:K.onMouseLeave},A.createElement(b.a,v()({},ce,{prefixCls:ke,ref:G})),re!==void 0?A.createElement("span",null,re):null)},f=A.forwardRef(h);f.displayName="Radio",f.defaultProps={type:"radio"};var w=f,x=e("J4zp"),I=e.n(x),C=e("6cGi"),N=e("3Nzz"),S=A.forwardRef(function(M,K){var j=A.useContext(r.b),H=j.getPrefixCls,k=j.direction,P=A.useContext(N.b),z=Object(C.a)(M.defaultValue,{value:M.value}),Y=I()(z,2),_=Y[0],G=Y[1],J=function(re){var me=_,be=re.target.value;"value"in M||G(be);var ke=M.onChange;ke&&be!==me&&ke(re)},ue=function(){var re,me=M.prefixCls,be=M.className,ke=be===void 0?"":be,ce=M.options,Ee=M.optionType,pe=M.buttonStyle,Se=M.disabled,st=M.children,qe=M.size,tt=M.style,Dt=M.id,ct=M.onMouseEnter,St=M.onMouseLeave,rt=H("radio",me),ht="".concat(rt,"-group"),je=st;if(ce&&ce.length>0){var Me=Ee==="button"?"".concat(rt,"-button"):rt;je=ce.map(function(wt){return typeof wt=="string"?A.createElement(w,{ref:K,key:wt,prefixCls:Me,disabled:Se,value:wt,checked:_===wt},wt):A.createElement(w,{ref:K,key:"radio-group-value-options-".concat(wt.value),prefixCls:Me,disabled:wt.disabled||Se,value:wt.value,checked:_===wt.value,style:wt.style},wt.label)})}var Ne=qe||P,it=d()(ht,"".concat(ht,"-").concat(pe),(re={},L()(re,"".concat(ht,"-").concat(Ne),Ne),L()(re,"".concat(ht,"-rtl"),k==="rtl"),re),ke);return A.createElement("div",{className:it,style:tt,onMouseEnter:ct,onMouseLeave:St,id:Dt},je)};return A.createElement(s,{value:{onChange:J,value:_,disabled:M.disabled,name:M.name}},ue())});S.defaultProps={buttonStyle:"outline"};var E=A.memo(S),T=function(M,K){var j={};for(var H in M)Object.prototype.hasOwnProperty.call(M,H)&&K.indexOf(H)<0&&(j[H]=M[H]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,H=Object.getOwnPropertySymbols(M);k<H.length;k++)K.indexOf(H[k])<0&&Object.prototype.propertyIsEnumerable.call(M,H[k])&&(j[H[k]]=M[H[k]]);return j},D=function(K,j){var H=A.useContext(i),k=A.useContext(r.b),P=k.getPrefixCls,z=K.prefixCls,Y=T(K,["prefixCls"]),_=P("radio-button",z);return H&&(Y.checked=K.value===H.value,Y.disabled=K.disabled||H.disabled),A.createElement(w,v()({prefixCls:_},Y,{type:"radio",ref:j}))},B=A.forwardRef(D),R=w;R.Button=B,R.Group=E;var F=U.a=R},A1Ka:function(te,U,e){var y=e("bLfw"),L=e("sS/r"),g=e("D5nY"),v=g.detectSourceFormat,A=e("k9D9"),b=A.SERIES_LAYOUT_BY_COLUMN;y.extend({type:"dataset",defaultOption:{seriesLayoutBy:b,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){v(this)}}),L.extend({type:"dataset"})},ABKa:function(te,U,e){"use strict";var y=e("284h"),L=e("TqRt");Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var g=L(e("3tO9")),v=y(e("q1tI")),A=L(e("Qs9O")),b=L(e("KQxl")),m=function(a,s){return v.createElement(b.default,(0,g.default)((0,g.default)({},a),{},{ref:s,icon:A.default}))};m.displayName="FolderOutlined";var d=v.forwardRef(m);U.default=d},ACnJ:function(te,U,e){"use strict";e.d(U,"b",function(){return A});var y=e("lSNA"),L=e.n(y),g=e("pVnL"),v=e.n(g),A=["xxl","xl","lg","md","sm","xs"],b={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},m=new Map,d=-1,r={},a={matchHandlers:{},dispatch:function(i){return r=i,m.forEach(function(n){return n(r)}),m.size>=1},subscribe:function(i){return m.size||this.register(),d+=1,m.set(d,i),i(r),d},unsubscribe:function(i){m.delete(i),m.size||this.unregister()},unregister:function(){var i=this;Object.keys(b).forEach(function(n){var l=b[n],t=i.matchHandlers[l];t==null||t.mql.removeListener(t==null?void 0:t.listener)}),m.clear()},register:function(){var i=this;Object.keys(b).forEach(function(n){var l=b[n],t=function(c){var h=c.matches;i.dispatch(v()(v()({},r),L()({},n,h)))},u=window.matchMedia(l);u.addListener(t),i.matchHandlers[l]={mql:u,listener:t},t(u)})}};U.a=a},AE9C:function(te,U,e){var y=e("bYtY"),L=e("crZl"),g=e("IwbS"),v=e("oVpE"),A=v.createSymbol,b=e("+TT/"),m=e("y7Aq"),d=L.extend({type:"visualMap.piecewise",doRender:function(){var a=this.group;a.removeAll();var s=this.visualMapModel,i=s.get("textGap"),n=s.textStyleModel,l=n.getFont(),t=n.getTextColor(),u=this._getItemAlign(),o=s.itemSize,c=this._getViewData(),h=c.endsText,f=y.retrieve(s.get("showLabel",!0),!h);h&&this._renderEndsText(a,h[0],o,f,u),y.each(c.viewPieceList,w,this),h&&this._renderEndsText(a,h[1],o,f,u),b.box(s.get("orient"),a,s.get("itemGap")),this.renderBackground(a),this.positionGroup(a);function w(x){var I=x.piece,C=new g.Group;C.onclick=y.bind(this._onItemClick,this,I),this._enableHoverLink(C,x.indexInModelPieceList);var N=s.getRepresentValue(I);if(this._createItemSymbol(C,N,[0,0,o[0],o[1]]),f){var S=this.visualMapModel.getValueState(N);C.add(new g.Text({style:{x:u==="right"?-i:o[0]+i,y:o[1]/2,text:I.text,textVerticalAlign:"middle",textAlign:u,textFont:l,textFill:t,opacity:S==="outOfRange"?.5:1}}))}a.add(C)}},_enableHoverLink:function(a,s){a.on("mouseover",y.bind(i,this,"highlight")).on("mouseout",y.bind(i,this,"downplay"));function i(n){var l=this.visualMapModel;l.option.hoverLink&&this.api.dispatchAction({type:n,batch:m.makeHighDownBatch(l.findTargetDataIndices(s),l)})}},_getItemAlign:function(){var a=this.visualMapModel,s=a.option;if(s.orient==="vertical")return m.getItemAlign(a,this.api,a.itemSize);var i=s.align;return(!i||i==="auto")&&(i="left"),i},_renderEndsText:function(a,s,i,n,l){if(!s)return;var t=new g.Group,u=this.visualMapModel.textStyleModel;t.add(new g.Text({style:{x:n?l==="right"?i[0]:0:i[0]/2,y:i[1]/2,textVerticalAlign:"middle",textAlign:n?l:"center",text:s,textFont:u.getFont(),textFill:u.getTextColor()}})),a.add(t)},_getViewData:function(){var a=this.visualMapModel,s=y.map(a.getPieceList(),function(t,u){return{piece:t,indexInModelPieceList:u}}),i=a.get("text"),n=a.get("orient"),l=a.get("inverse");return(n==="horizontal"?l:!l)?s.reverse():i&&(i=i.slice().reverse()),{viewPieceList:s,endsText:i}},_createItemSymbol:function(a,s,i){a.add(A(this.getControllerVisual(s,"symbol"),i[0],i[1],i[2],i[3],this.getControllerVisual(s,"color")))},_onItemClick:function(a){var s=this.visualMapModel,i=s.option,n=y.clone(i.selected),l=s.getSelectedMapKey(a);i.selectedMode==="single"?(n[l]=!0,y.each(n,function(t,u){n[u]=u===l})):n[l]=!n[l],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:n})}}),r=d;te.exports=r},AEZ6:function(te,U,e){var y=e("bYtY"),L=y.each,g=y.createHashMap,v=e("T4UG"),A=e("MwEJ"),b=v.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(r,a){var s=this.getSource();return m(s,this),A(s,this)},getRawIndicesByActiveState:function(r){var a=this.coordinateSystem,s=this.getData(),i=[];return a.eachActiveState(s,function(n,l){r===n&&i.push(s.getRawIndex(l))}),i},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"}});function m(r,a){if(r.encodeDefine)return;var s=a.ecModel.getComponent("parallel",a.get("parallelIndex"));if(!s)return;var i=r.encodeDefine=g();L(s.dimensions,function(n){var l=d(n);i.set(n,l)})}function d(r){return+r.replace("dim","")}te.exports=b},AH3D:function(te,U,e){var y=e("ProS");e("y4/Y"),e("qWt2"),e("Qvb6"),y.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),y.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},ALo7:function(te,U,e){var y=e("ProS"),L=e("bYtY"),g=e("5GtS"),v=e("4NO4"),A=v.defaultEmphasis,b=e("D5nY"),m=b.makeSeriesEncodeForNameBased,d=e("xKMd"),r=y.extendSeriesModel({type:"series.funnel",init:function(s){r.superApply(this,"init",arguments),this.legendVisualProvider=new d(L.bind(this.getData,this),L.bind(this.getRawData,this)),this._defaultLabelLine(s)},getInitialData:function(s,i){return g(this,{coordDimensions:["value"],encodeDefaulter:L.curry(m,this)})},_defaultLabelLine:function(s){A(s,"labelLine",["show"]);var i=s.labelLine,n=s.emphasis.labelLine;i.show=i.show&&s.label.show,n.show=n.show&&s.emphasis.label.show},getDataParams:function(s){var i=this.getData(),n=r.superCall(this,"getDataParams",s),l=i.mapDimension("value"),t=i.getSum(l);return n.percent=t?+(i.get(l,s)/t*100).toFixed(2):0,n.$vars.push("percent"),n},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}}),a=r;te.exports=a},ANhw:function(te,U){(function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y={rotl:function(g,v){return g<<v|g>>>32-v},rotr:function(g,v){return g<<32-v|g>>>v},endian:function(g){if(g.constructor==Number)return y.rotl(g,8)&16711935|y.rotl(g,24)&4278255360;for(var v=0;v<g.length;v++)g[v]=y.endian(g[v]);return g},randomBytes:function(g){for(var v=[];g>0;g--)v.push(Math.floor(Math.random()*256));return v},bytesToWords:function(g){for(var v=[],A=0,b=0;A<g.length;A++,b+=8)v[b>>>5]|=g[A]<<24-b%32;return v},wordsToBytes:function(g){for(var v=[],A=0;A<g.length*32;A+=8)v.push(g[A>>>5]>>>24-A%32&255);return v},bytesToHex:function(g){for(var v=[],A=0;A<g.length;A++)v.push((g[A]>>>4).toString(16)),v.push((g[A]&15).toString(16));return v.join("")},hexToBytes:function(g){for(var v=[],A=0;A<g.length;A+=2)v.push(parseInt(g.substr(A,2),16));return v},bytesToBase64:function(g){for(var v=[],A=0;A<g.length;A+=3)for(var b=g[A]<<16|g[A+1]<<8|g[A+2],m=0;m<4;m++)A*8+m*6<=g.length*8?v.push(e.charAt(b>>>6*(3-m)&63)):v.push("=");return v.join("")},base64ToBytes:function(g){g=g.replace(/[^A-Z0-9+\/]/ig,"");for(var v=[],A=0,b=0;A<g.length;b=++A%4){if(b==0)continue;v.push((e.indexOf(g.charAt(A-1))&Math.pow(2,-2*b+8)-1)<<b*2|e.indexOf(g.charAt(A))>>>6-b*2)}return v}};te.exports=y})()},ANjR:function(te,U,e){var y=e("bYtY");function L(v,A){return A=A||[0,0],y.map([0,1],function(b){var m=A[b],d=v[b]/2,r=[],a=[];return r[b]=m-d,a[b]=m+d,r[1-b]=a[1-b]=A[1-b],Math.abs(this.dataToPoint(r)[b]-this.dataToPoint(a)[b])},this)}function g(v){var A=v.getBoundingRect();return{coordSys:{type:"geo",x:A.x,y:A.y,width:A.width,height:A.height,zoom:v.getZoom()},api:{coord:function(b){return v.dataToPoint(b)},size:y.bind(L,v)}}}te.exports=g},AOa7:function(te,U,e){},AUH6:function(te,U,e){var y=e("bYtY"),L=e("mFDi"),g=e("bMXI"),v=e("W4dC");function A(d,r,a,s){g.call(this,d),this.map=r;var i=v.load(r,a);this._nameCoordMap=i.nameCoordMap,this._regionsMap=i.regionsMap,this._invertLongitute=s==null?!0:s,this.regions=i.regions,this._rect=i.boundingRect}A.prototype={constructor:A,type:"geo",dimensions:["lng","lat"],containCoord:function(d){for(var r=this.regions,a=0;a<r.length;a++)if(r[a].contain(d))return!0;return!1},transformTo:function(d,r,a,s){var i=this.getBoundingRect(),n=this._invertLongitute;i=i.clone(),n&&(i.y=-i.y-i.height);var l=this._rawTransformable;if(l.transform=i.calculateTransform(new L(d,r,a,s)),l.decomposeTransform(),n){var t=l.scale;t[1]=-t[1]}l.updateTransform(),this._updateTransform()},getRegion:function(d){return this._regionsMap.get(d)},getRegionByCoord:function(d){for(var r=this.regions,a=0;a<r.length;a++)if(r[a].contain(d))return r[a]},addGeoCoord:function(d,r){this._nameCoordMap.set(d,r)},getGeoCoord:function(d){return this._nameCoordMap.get(d)},getBoundingRect:function(){return this._rect},dataToPoint:function(d,r,a){if(typeof d=="string"&&(d=this.getGeoCoord(d)),d)return g.prototype.dataToPoint.call(this,d,r,a)},convertToPixel:y.curry(b,"dataToPoint"),convertFromPixel:y.curry(b,"pointToData")},y.mixin(A,g);function b(d,r,a,s){var i=a.geoModel,n=a.seriesModel,l=i?i.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return l===this?l[d](s):null}var m=A;te.exports=m},AVZG:function(te,U,e){var y=e("bYtY");function L(g,v,A){A=A||{};var b=g.coordinateSystem,m=v.axis,d={},r=m.getAxesOnZeroOf()[0],a=m.position,s=r?"onZero":a,i=m.dim,n=b.getRect(),l=[n.x,n.x+n.width,n.y,n.y+n.height],t={left:0,right:1,top:0,bottom:1,onZero:2},u=v.get("offset")||0,o=i==="x"?[l[2]-u,l[3]+u]:[l[0]-u,l[1]+u];if(r){var c=r.toGlobalCoord(r.dataToCoord(0));o[t.onZero]=Math.max(Math.min(c,o[1]),o[0])}d.position=[i==="y"?o[t[s]]:l[0],i==="x"?o[t[s]]:l[3]],d.rotation=Math.PI/2*(i==="x"?0:1);var h={top:-1,bottom:1,left:-1,right:1};d.labelDirection=d.tickDirection=d.nameDirection=h[a],d.labelOffset=r?o[t[a]]-o[t.onZero]:0,v.get("axisTick.inside")&&(d.tickDirection=-d.tickDirection),y.retrieve(A.labelInside,v.get("axisLabel.inside"))&&(d.labelDirection=-d.labelDirection);var f=v.get("axisLabel.rotate");return d.labelRotate=s==="top"?-f:f,d.z2=1,d}U.layout=L},"Ae+d":function(te,U){function e(L,g,v){var A=L.target,b=A.position;b[0]+=g,b[1]+=v,A.dirty()}function y(L,g,v,A){var b=L.target,m=L.zoomLimit,d=b.position,r=b.scale,a=L.zoom=L.zoom||1;if(a*=g,m){var s=m.min||0,i=m.max||Infinity;a=Math.max(Math.min(i,a),s)}var n=a/L.zoom;L.zoom=a,d[0]-=(v-d[0])*(n-1),d[1]-=(A-d[1])*(n-1),r[0]*=n,r[1]*=n,b.dirty()}U.updateViewOnPan=e,U.updateViewOnZoom=y},Ae16:function(te,U,e){var y=e("ProS"),L=e("bYtY"),g=e("IwbS");e("Wqna"),e("rySg"),y.extendComponentView({type:"grid",render:function(v,A){this.group.removeAll(),v.get("show")&&this.group.add(new g.Rect({shape:v.coordinateSystem.getRect(),style:L.defaults({fill:v.get("backgroundColor")},v.getItemStyle()),silent:!0,z2:-1}))}}),y.registerPreprocessor(function(v){v.xAxis&&v.yAxis&&!v.grid&&(v.grid={})})},Awhp:function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("PQMj"),v=e.n(g)},"B+YJ":function(te,U,e){e("TYVI"),e("p1MT")},"B6l+":function(te,U,e){var y=e("Sq3C"),L=e("Z1HP"),g=e("Sxd8"),v=e("dt0z");function A(b,m,d){b=v(b),m=g(m);var r=m?L(b):0;return m&&r<m?b+y(m-r,d):b}te.exports=A},B9cy:function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("0XgM"),v=e.n(g)},B9fm:function(te,U,e){var y=e("bYtY"),L=e("Qe9p"),g=e("YH21"),v=e("Ze12"),A=e("ItGF"),b=e("7aKB"),m=y.each,d=b.toCamelCase,r=["","-webkit-","-moz-","-o-"],a="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function s(o){var c="cubic-bezier(0.23, 1, 0.32, 1)",h="left "+o+"s "+c+",top "+o+"s "+c;return y.map(r,function(f){return f+"transition:"+h}).join(";")}function i(o){var c=[],h=o.get("fontSize"),f=o.getTextColor();return f&&c.push("color:"+f),c.push("font:"+o.getFont()),h&&c.push("line-height:"+Math.round(h*3/2)+"px"),m(["decoration","align"],function(w){var x=o.get(w);x&&c.push("text-"+w+":"+x)}),c.join(";")}function n(o){var c=[],h=o.get("transitionDuration"),f=o.get("backgroundColor"),w=o.getModel("textStyle"),x=o.get("padding");return h&&c.push(s(h)),f&&(A.canvasSupported?c.push("background-Color:"+f):(c.push("background-Color:#"+L.toHex(f)),c.push("filter:alpha(opacity=70)"))),m(["width","color","radius"],function(I){var C="border-"+I,N=d(C),S=o.get(N);S!=null&&c.push(C+":"+S+(I==="color"?"":"px"))}),c.push(i(w)),x!=null&&c.push("padding:"+b.normalizeCssArray(x).join("px ")+"px"),c.join(";")+";"}function l(o,c,h,f,w){var x=c&&c.painter;if(h){var I=x&&x.getViewportRoot();I&&v.transformLocalCoord(o,I,document.body,f,w)}else{o[0]=f,o[1]=w;var C=x&&x.getViewportRootOffset();C&&(o[0]+=C.offsetLeft,o[1]+=C.offsetTop)}}function t(o,c,h){if(A.wxa)return null;var f=document.createElement("div");f.domBelongToZr=!0,this.el=f;var w=this._zr=c.getZr(),x=this._appendToBody=h&&h.appendToBody;this._styleCoord=[0,0],l(this._styleCoord,w,x,c.getWidth()/2,c.getHeight()/2),x?document.body.appendChild(f):o.appendChild(f),this._container=o,this._show=!1,this._hideTimeout;var I=this;f.onmouseenter=function(){I._enterable&&(clearTimeout(I._hideTimeout),I._show=!0),I._inContent=!0},f.onmousemove=function(C){if(C=C||window.event,!I._enterable){var N=w.handler,S=w.painter.getViewportRoot();g.normalizeEvent(S,C,!0),N.dispatch("mousemove",C)}},f.onmouseleave=function(){I._enterable&&(I._show&&I.hideLater(I._hideDelay)),I._inContent=!1}}t.prototype={constructor:t,_enterable:!0,update:function(){var o=this._container,c=o.currentStyle||document.defaultView.getComputedStyle(o),h=o.style;h.position!=="absolute"&&c.position!=="absolute"&&(h.position="relative")},show:function(o){clearTimeout(this._hideTimeout);var c=this.el,h=this._styleCoord;c.style.cssText=a+n(o)+";left:"+h[0]+"px;top:"+h[1]+"px;"+(o.get("extraCssText")||""),c.style.display=c.innerHTML?"block":"none",c.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(o){this.el.innerHTML=o==null?"":o},setEnterable:function(o){this._enterable=o},getSize:function(){var o=this.el;return[o.clientWidth,o.clientHeight]},moveTo:function(o,c){var h=this._styleCoord;l(h,this._zr,this._appendToBody,o,c);var f=this.el.style;f.left=h[0]+"px",f.top=h[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(o){this._show&&!(this._inContent&&this._enterable)&&(o?(this._hideDelay=o,this._show=!1,this._hideTimeout=setTimeout(y.bind(this.hide,this),o)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var o=this.el.clientWidth,c=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var h=document.defaultView.getComputedStyle(this.el);h&&(o+=parseInt(h.borderLeftWidth,10)+parseInt(h.borderRightWidth,10),c+=parseInt(h.borderTopWidth,10)+parseInt(h.borderBottomWidth,10))}return{width:o,height:c}}};var u=t;te.exports=u},BEtg:function(te,U){/*!
|
|
|
* Determine if an object is a Buffer
|
|
|
*
|
|
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
|
* @license MIT
|
|
|
*/te.exports=function(L){return L!=null&&(e(L)||y(L)||!!L._isBuffer)};function e(L){return!!L.constructor&&typeof L.constructor.isBuffer=="function"&&L.constructor.isBuffer(L)}function y(L){return typeof L.readFloatLE=="function"&&typeof L.slice=="function"&&e(L.slice(0,0))}},BMrR:function(te,U,e){"use strict";var y=e("qrJ5");U.a=y.a},BPZU:function(te,U){var e=32,y=7,L=256;function g(s){for(var i=0;s>=e;)i|=s&1,s>>=1;return s+i}function v(s,i,n,l){var t=i+1;if(t===n)return 1;if(l(s[t++],s[i])<0){for(;t<n&&l(s[t],s[t-1])<0;)t++;A(s,i,t)}else for(;t<n&&l(s[t],s[t-1])>=0;)t++;return t-i}function A(s,i,n){for(n--;i<n;){var l=s[i];s[i++]=s[n],s[n--]=l}}function b(s,i,n,l,t){for(l===i&&l++;l<n;l++){for(var u=s[l],o=i,c=l,h;o<c;)h=o+c>>>1,t(u,s[h])<0?c=h:o=h+1;var f=l-o;switch(f){case 3:s[o+3]=s[o+2];case 2:s[o+2]=s[o+1];case 1:s[o+1]=s[o];break;default:for(;f>0;)s[o+f]=s[o+f-1],f--}s[o]=u}}function m(s,i,n,l,t,u){var o=0,c=0,h=1;if(u(s,i[n+t])>0){for(c=l-t;h<c&&u(s,i[n+t+h])>0;)o=h,h=(h<<1)+1,h<=0&&(h=c);h>c&&(h=c),o+=t,h+=t}else{for(c=t+1;h<c&&u(s,i[n+t-h])<=0;)o=h,h=(h<<1)+1,h<=0&&(h=c);h>c&&(h=c);var f=o;o=t-h,h=t-f}for(o++;o<h;){var w=o+(h-o>>>1);u(s,i[n+w])>0?o=w+1:h=w}return h}function d(s,i,n,l,t,u){var o=0,c=0,h=1;if(u(s,i[n+t])<0){for(c=t+1;h<c&&u(s,i[n+t-h])<0;)o=h,h=(h<<1)+1,h<=0&&(h=c);h>c&&(h=c);var f=o;o=t-h,h=t-f}else{for(c=l-t;h<c&&u(s,i[n+t+h])>=0;)o=h,h=(h<<1)+1,h<=0&&(h=c);h>c&&(h=c),o+=t,h+=t}for(o++;o<h;){var w=o+(h-o>>>1);u(s,i[n+w])<0?h=w:o=w+1}return h}function r(s,i){var n=y,l=0,t=L,u=0,o,c,h=0;l=s.length,l<2*L&&(t=l>>>1);var f=[];u=l<120?5:l<1542?10:l<119151?19:40,o=[],c=[];function w(E,T){o[h]=E,c[h]=T,h+=1}function x(){for(;h>1;){var E=h-2;if(E>=1&&c[E-1]<=c[E]+c[E+1]||E>=2&&c[E-2]<=c[E]+c[E-1])c[E-1]<c[E+1]&&E--;else if(c[E]>c[E+1])break;C(E)}}function I(){for(;h>1;){var E=h-2;E>0&&c[E-1]<c[E+1]&&E--,C(E)}}function C(E){var T=o[E],D=c[E],B=o[E+1],R=c[E+1];c[E]=D+R,E===h-3&&(o[E+1]=o[E+2],c[E+1]=c[E+2]),h--;var F=d(s[B],s,T,D,0,i);if(T+=F,D-=F,D===0)return;if(R=m(s[T+D-1],s,B,R,R-1,i),R===0)return;D<=R?N(T,D,B,R):S(T,D,B,R)}function N(E,T,D,B){var R=0;for(R=0;R<T;R++)f[R]=s[E+R];var F=0,M=D,K=E;if(s[K++]=s[M++],--B===0){for(R=0;R<T;R++)s[K+R]=f[F+R];return}if(T===1){for(R=0;R<B;R++)s[K+R]=s[M+R];s[K+B]=f[F];return}for(var j=n,H,k,P;;){H=0,k=0,P=!1;do if(i(s[M],f[F])<0){if(s[K++]=s[M++],k++,H=0,--B===0){P=!0;break}}else if(s[K++]=f[F++],H++,k=0,--T===1){P=!0;break}while((H|k)<j);if(P)break;do{if(H=d(s[M],f,F,T,0,i),H!==0){for(R=0;R<H;R++)s[K+R]=f[F+R];if(K+=H,F+=H,T-=H,T<=1){P=!0;break}}if(s[K++]=s[M++],--B===0){P=!0;break}if(k=m(f[F],s,M,B,0,i),k!==0){for(R=0;R<k;R++)s[K+R]=s[M+R];if(K+=k,M+=k,B-=k,B===0){P=!0;break}}if(s[K++]=f[F++],--T===1){P=!0;break}j--}while(H>=y||k>=y);if(P)break;j<0&&(j=0),j+=2}if(n=j,n<1&&(n=1),T===1){for(R=0;R<B;R++)s[K+R]=s[M+R];s[K+B]=f[F]}else{if(T===0)throw new Error;for(R=0;R<T;R++)s[K+R]=f[F+R]}}function S(E,T,D,B){var R=0;for(R=0;R<B;R++)f[R]=s[D+R];var F=E+T-1,M=B-1,K=D+B-1,j=0,H=0;if(s[K--]=s[F--],--T===0){for(j=K-(B-1),R=0;R<B;R++)s[j+R]=f[R];return}if(B===1){for(K-=T,F-=T,H=K+1,j=F+1,R=T-1;R>=0;R--)s[H+R]=s[j+R];s[K]=f[M];return}for(var k=n;;){var P=0,z=0,Y=!1;do if(i(f[M],s[F])<0){if(s[K--]=s[F--],P++,z=0,--T===0){Y=!0;break}}else if(s[K--]=f[M--],z++,P=0,--B===1){Y=!0;break}while((P|z)<k);if(Y)break;do{if(P=T-d(f[M],s,E,T,T-1,i),P!==0){for(K-=P,F-=P,T-=P,H=K+1,j=F+1,R=P-1;R>=0;R--)s[H+R]=s[j+R];if(T===0){Y=!0;break}}if(s[K--]=f[M--],--B===1){Y=!0;break}if(z=B-m(s[F],f,0,B,B-1,i),z!==0){for(K-=z,M-=z,B-=z,H=K+1,j=M+1,R=0;R<z;R++)s[H+R]=f[j+R];if(B<=1){Y=!0;break}}if(s[K--]=s[F--],--T===0){Y=!0;break}k--}while(P>=y||z>=y);if(Y)break;k<0&&(k=0),k+=2}if(n=k,n<1&&(n=1),B===1){for(K-=T,F-=T,H=K+1,j=F+1,R=T-1;R>=0;R--)s[H+R]=s[j+R];s[K]=f[M]}else{if(B===0)throw new Error;for(j=K-(B-1),R=0;R<B;R++)s[j+R]=f[R]}}this.mergeRuns=x,this.forceMergeRuns=I,this.pushRun=w}function a(s,i,n,l){n||(n=0),l||(l=s.length);var t=l-n;if(t<2)return;var u=0;if(t<e){u=v(s,n,l,i),b(s,n,l,n+u,i);return}var o=new r(s,i),c=g(t);do{if(u=v(s,n,l,i),u<c){var h=t;h>c&&(h=c),b(s,n,n+h,n+u,i),u=h}o.pushRun(n,u),o.mergeRuns(),t-=u,n+=u}while(t!==0);o.forceMergeRuns()}te.exports=a},Bd2K:function(te,U,e){(function(y){y(e("VrN/"),e("osHv"))})(function(y){y.defineOption("autoCloseTags",!1,function(r,a,s){if(s!=y.Init&&s&&r.removeKeyMap("autoCloseTags"),!a)return;var i={name:"autoCloseTags"};(typeof a!="object"||a.whenClosing!==!1)&&(i["'/'"]=function(n){return b(n)}),(typeof a!="object"||a.whenOpening!==!1)&&(i["'>'"]=function(n){return v(n)}),r.addKeyMap(i)});var L=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],g=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function v(r){if(r.getOption("disableInput"))return y.Pass;for(var a=r.listSelections(),s=[],i=r.getOption("autoCloseTags"),n=0;n<a.length;n++){if(!a[n].empty())return y.Pass;var l=a[n].head,t=r.getTokenAt(l),u=y.innerMode(r.getMode(),t.state),o=u.state,c=u.mode.xmlCurrentTag&&u.mode.xmlCurrentTag(o),h=c&&c.name;if(!h)return y.Pass;var f=u.mode.configuration=="html",w=typeof i=="object"&&i.dontCloseTags||f&&L,x=typeof i=="object"&&i.indentTags||f&&g;t.end>l.ch&&(h=h.slice(0,h.length-t.end+l.ch));var I=h.toLowerCase();if(!h||t.type=="string"&&(t.end!=l.ch||!/[\"\']/.test(t.string.charAt(t.string.length-1))||t.string.length==1)||t.type=="tag"&&c.close||t.string.indexOf("/")==l.ch-t.start-1||w&&m(w,I)>-1||d(r,u.mode.xmlCurrentContext&&u.mode.xmlCurrentContext(o)||[],h,l,!0))return y.Pass;var C=typeof i=="object"&&i.emptyTags;if(C&&m(C,h)>-1){s[n]={text:"/>",newPos:y.Pos(l.line,l.ch+2)};continue}var N=x&&m(x,I)>-1;s[n]={indent:N,text:">"+(N?`
|
|
|
|
|
|
`:"")+"</"+h+">",newPos:N?y.Pos(l.line+1,0):y.Pos(l.line,l.ch+1)}}for(var S=typeof i=="object"&&i.dontIndentOnAutoClose,n=a.length-1;n>=0;n--){var E=s[n];r.replaceRange(E.text,a[n].head,a[n].anchor,"+insert");var T=r.listSelections().slice(0);T[n]={head:E.newPos,anchor:E.newPos},r.setSelections(T),!S&&E.indent&&(r.indentLine(E.newPos.line,null,!0),r.indentLine(E.newPos.line+1,null,!0))}}function A(r,a){for(var s=r.listSelections(),i=[],n=a?"/":"</",l=r.getOption("autoCloseTags"),t=typeof l=="object"&&l.dontIndentOnSlash,u=0;u<s.length;u++){if(!s[u].empty())return y.Pass;var o=s[u].head,c=r.getTokenAt(o),h=y.innerMode(r.getMode(),c.state),f=h.state;if(a&&(c.type=="string"||c.string.charAt(0)!="<"||c.start!=o.ch-1))return y.Pass;var w,x=h.mode.name!="xml"&&r.getMode().name=="htmlmixed";if(x&&h.mode.name=="javascript")w=n+"script";else if(x&&h.mode.name=="css")w=n+"style";else{var I=h.mode.xmlCurrentContext&&h.mode.xmlCurrentContext(f);if(!I||I.length&&d(r,I,I[I.length-1],o))return y.Pass;w=n+I[I.length-1]}r.getLine(o.line).charAt(c.end)!=">"&&(w+=">"),i[u]=w}if(r.replaceSelections(i),s=r.listSelections(),!t)for(var u=0;u<s.length;u++)(u==s.length-1||s[u].head.line<s[u+1].head.line)&&r.indentLine(s[u].head.line)}function b(r){return r.getOption("disableInput")?y.Pass:A(r,!0)}y.commands.closeTag=function(r){return A(r)};function m(r,a){if(r.indexOf)return r.indexOf(a);for(var s=0,i=r.length;s<i;++s)if(r[s]==a)return s;return-1}function d(r,a,s,i,n){if(!y.scanForClosingTag)return!1;var l=Math.min(r.lastLine()+1,i.line+500),t=y.scanForClosingTag(r,i,null,l);if(!t||t.tag!=s)return!1;for(var u=n?1:0,o=a.length-1;o>=0&&a[o]==s;o--)++u;i=t.to;for(var o=1;o<u;o++){var c=y.scanForClosingTag(r,i,null,l);if(!c||c.tag!=s)return!1;i=c.to}return!0}})},BlVb:function(te,U,e){var y=e("hyiK"),L=1e-8;function g(A,b){return Math.abs(A-b)<L}function v(A,b,m){var d=0,r=A[0];if(!r)return!1;for(var a=1;a<A.length;a++){var s=A[a];d+=y(r[0],r[1],s[0],s[1],b,m),r=s}var i=A[0];return(!g(r[0],i[0])||!g(r[1],i[1]))&&(d+=y(r[0],r[1],i[0],i[1],b,m)),d!==0}U.contain=v},BoS7:function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("czTT"),v=e.n(g)},Bq2U:function(te,U,e){var y=e("RDYZ"),L=e("Qe9p"),g=e("bYtY"),v=g.isArrayLike,A=Array.prototype.slice;function b(w,x){return w[x]}function m(w,x,I){w[x]=I}function d(w,x,I){return(x-w)*I+w}function r(w,x,I){return I>.5?x:w}function a(w,x,I,C,N){var S=w.length;if(N===1)for(var E=0;E<S;E++)C[E]=d(w[E],x[E],I);else for(var T=S&&w[0].length,E=0;E<S;E++)for(var D=0;D<T;D++)C[E][D]=d(w[E][D],x[E][D],I)}function s(w,x,I){var C=w.length,N=x.length;if(C!==N){var S=C>N;if(S)w.length=N;else for(var E=C;E<N;E++)w.push(I===1?x[E]:A.call(x[E]))}for(var T=w[0]&&w[0].length,E=0;E<w.length;E++)if(I===1)isNaN(w[E])&&(w[E]=x[E]);else for(var D=0;D<T;D++)isNaN(w[E][D])&&(w[E][D]=x[E][D])}function i(w,x,I){if(w===x)return!0;var C=w.length;if(C!==x.length)return!1;if(I===1){for(var N=0;N<C;N++)if(w[N]!==x[N])return!1}else for(var S=w[0].length,N=0;N<C;N++)for(var E=0;E<S;E++)if(w[N][E]!==x[N][E])return!1;return!0}function n(w,x,I,C,N,S,E,T,D){var B=w.length;if(D===1)for(var R=0;R<B;R++)T[R]=l(w[R],x[R],I[R],C[R],N,S,E);else for(var F=w[0].length,R=0;R<B;R++)for(var M=0;M<F;M++)T[R][M]=l(w[R][M],x[R][M],I[R][M],C[R][M],N,S,E)}function l(w,x,I,C,N,S,E){var T=(I-w)*.5,D=(C-x)*.5;return(2*(x-I)+T+D)*E+(-3*(x-I)-2*T-D)*S+T*N+x}function t(w){if(v(w)){var x=w.length;if(v(w[0])){for(var I=[],C=0;C<x;C++)I.push(A.call(w[C]));return I}return A.call(w)}return w}function u(w){return w[0]=Math.floor(w[0]),w[1]=Math.floor(w[1]),w[2]=Math.floor(w[2]),"rgba("+w.join(",")+")"}function o(w){var x=w[w.length-1].value;return v(x&&x[0])?2:1}function c(w,x,I,C,N,S){var E=w._getter,T=w._setter,D=x==="spline",B=C.length;if(!B)return;var R=C[0].value,F=v(R),M=!1,K=!1,j=F?o(C):0,H;C.sort(function(tt,Dt){return tt.time-Dt.time}),H=C[B-1].time;for(var k=[],P=[],z=C[0].value,Y=!0,_=0;_<B;_++){k.push(C[_].time/H);var G=C[_].value;if(F&&i(G,z,j)||!F&&G===z||(Y=!1),z=G,typeof G=="string"){var J=L.parse(G);J?(G=J,M=!0):K=!0}P.push(G)}if(!S&&Y)return;for(var ue=P[B-1],_=0;_<B-1;_++)F?s(P[_],ue,j):isNaN(P[_])&&!isNaN(ue)&&!K&&!M&&(P[_]=ue);F&&s(E(w._target,N),ue,j);var q=0,re=0,me,be,ke,ce,Ee,pe;if(M)var Se=[0,0,0,0];var st=function(Dt,ct){var St;if(ct<0)St=0;else if(ct<re){for(me=Math.min(q+1,B-1),St=me;St>=0&&!(k[St]<=ct);St--);St=Math.min(St,B-2)}else{for(St=q;St<B&&!(k[St]>ct);St++);St=Math.min(St-1,B-2)}q=St,re=ct;var rt=k[St+1]-k[St];if(rt===0)return;if(be=(ct-k[St])/rt,D)if(ce=P[St],ke=P[St===0?St:St-1],Ee=P[St>B-2?B-1:St+1],pe=P[St>B-3?B-1:St+2],F)n(ke,ce,Ee,pe,be,be*be,be*be*be,E(Dt,N),j);else{var ht;if(M)ht=n(ke,ce,Ee,pe,be,be*be,be*be*be,Se,1),ht=u(Se);else{if(K)return r(ce,Ee,be);ht=l(ke,ce,Ee,pe,be,be*be,be*be*be)}T(Dt,N,ht)}else if(F)a(P[St],P[St+1],be,E(Dt,N),j);else{var ht;if(M)a(P[St],P[St+1],be,Se,1),ht=u(Se);else{if(K)return r(P[St],P[St+1],be);ht=d(P[St],P[St+1],be)}T(Dt,N,ht)}},qe=new y({target:w._target,life:H,loop:w._loop,delay:w._delay,onframe:st,ondestroy:I});return x&&x!=="spline"&&(qe.easing=x),qe}var h=function(x,I,C,N){this._tracks={},this._target=x,this._loop=I||!1,this._getter=C||b,this._setter=N||m,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};h.prototype={when:function(x,I){var C=this._tracks;for(var N in I){if(!I.hasOwnProperty(N))continue;if(!C[N]){C[N]=[];var S=this._getter(this._target,N);if(S==null)continue;x!==0&&C[N].push({time:0,value:t(S)})}C[N].push({time:x,value:I[N]})}return this},during:function(x){return this._onframeList.push(x),this},pause:function(){for(var x=0;x<this._clipList.length;x++)this._clipList[x].pause();this._paused=!0},resume:function(){for(var x=0;x<this._clipList.length;x++)this._clipList[x].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var x=this._doneList,I=x.length,C=0;C<I;C++)x[C].call(this)},start:function(x,I){var C=this,N=0,S=function(){N--,N||C._doneCallback()},E;for(var T in this._tracks){if(!this._tracks.hasOwnProperty(T))continue;var D=c(this,x,S,this._tracks[T],T,I);D&&(this._clipList.push(D),N++,this.animation&&this.animation.addClip(D),E=D)}if(E){var B=E.onframe;E.onframe=function(R,F){B(R,F);for(var M=0;M<C._onframeList.length;M++)C._onframeList[M](R,F)}}return N||this._doneCallback(),this},stop:function(x){for(var I=this._clipList,C=this.animation,N=0;N<I.length;N++){var S=I[N];x&&S.onframe(this._target,1),C&&C.removeClip(S)}I.length=0},delay:function(x){return this._delay=x,this},done:function(x){return x&&this._doneList.push(x),this},getClips:function(){return this._clipList}};var f=h;te.exports=f},Bqw1:function(te,U,e){"use strict";Object.defineProperty(U,"__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"};U.default=y},Bsck:function(te,U,e){var y=e("bYtY"),L=e("Qxkt"),g=e("Mdki"),v=e("YXkt"),A=e("sdST"),b=function(a,s){this.name=a||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=s};b.prototype={constructor:b,isRemoved:function(){return this.dataIndex<0},eachNode:function(a,s,i){typeof a=="function"&&(i=s,s=a,a=null),a=a||{},y.isString(a)&&(a={order:a});var n=a.order||"preorder",l=this[a.attr||"children"],t;n==="preorder"&&(t=s.call(i,this));for(var u=0;!t&&u<l.length;u++)l[u].eachNode(a,s,i);n==="postorder"&&s.call(i,this)},updateDepthAndHeight:function(a){var s=0;this.depth=a;for(var i=0;i<this.children.length;i++){var n=this.children[i];n.updateDepthAndHeight(a+1),n.height>s&&(s=n.height)}this.height=s+1},getNodeById:function(a){if(this.getId()===a)return this;for(var s=0,i=this.children,n=i.length;s<n;s++){var l=i[s].getNodeById(a);if(l)return l}},contains:function(a){if(a===this)return!0;for(var s=0,i=this.children,n=i.length;s<n;s++){var l=i[s].contains(a);if(l)return l}},getAncestors:function(a){for(var s=[],i=a?this:this.parentNode;i;)s.push(i),i=i.parentNode;return s.reverse(),s},getValue:function(a){var s=this.hostTree.data;return s.get(s.getDimension(a||"value"),this.dataIndex)},setLayout:function(a,s){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,a,s)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(a){if(this.dataIndex<0)return;var s=this.hostTree,i=s.data.getItemModel(this.dataIndex),n=this.getLevelModel();return n?i.getModel(a,n.getModel(a)):i.getModel(a)},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(a,s){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,a,s)},getVisual:function(a,s){return this.hostTree.data.getItemVisual(this.dataIndex,a,s)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(a){for(var s=a.parentNode;s;){if(s===this)return!0;s=s.parentNode}return!1},isDescendantOf:function(a){return a!==this&&a.isAncestorOf(this)}};function m(a,s){this.root,this.data,this._nodes=[],this.hostModel=a,this.levelModels=y.map(s||[],function(i){return new L(i,a,a.ecModel)})}m.prototype={constructor:m,type:"tree",eachNode:function(a,s,i){this.root.eachNode(a,s,i)},getNodeByDataIndex:function(a){var s=this.data.getRawIndex(a);return this._nodes[s]},getNodeByName:function(a){return this.root.getNodeByName(a)},update:function(){for(var a=this.data,s=this._nodes,i=0,n=s.length;i<n;i++)s[i].dataIndex=-1;for(var i=0,n=a.count();i<n;i++)s[a.getRawIndex(i)].dataIndex=i},clearLayouts:function(){this.data.clearItemLayouts()}},m.createTree=function(a,s,i,n){var l=new m(s,i&&i.levels),t=[],u=1;o(a);function o(f,w){var x=f.value;u=Math.max(u,y.isArray(x)?x.length:1),t.push(f);var I=new b(f.name,l);w?d(I,w):l.root=I,l._nodes.push(I);var C=f.children;if(C)for(var N=0;N<C.length;N++)o(C[N],I)}l.root.updateDepthAndHeight(0);var c=A(t,{coordDimensions:["value"],dimensionsCount:u}),h=new v(c,s);return h.initData(t),n&&n(h),g({mainData:h,struct:l,structAttr:"tree"}),l.update(),l};function d(a,s){var i=s.children;if(a.parentNode===s)return;i.push(a),a.parentNode=s}var r=m;te.exports=r},BtR2:function(te,U,e){"use strict";var y=e("VTBJ"),L=e("q1tI"),g={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"},v=g,A=e("6VBw"),b=function(r,a){return L.createElement(A.a,Object(y.a)(Object(y.a)({},r),{},{ref:a,icon:v}))};b.displayName="LikeOutlined";var m=U.a=L.forwardRef(b)},BuqR:function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("bYtY"),v=e("6uqw"),A=e("XxSj"),b=e("YOMW"),m=e("OELB"),d=m.reformIntervals,r=v.extend({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(n,l){r.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var t=this._mode=this._determineMode();a[this._mode].call(this),this._resetSelected(n,l);var u=this.option.categories;this.resetVisual(function(o,c){t==="categories"?(o.mappingMethod="category",o.categories=g.clone(u)):(o.dataExtent=this.getExtent(),o.mappingMethod="piecewise",o.pieceList=g.map(this._pieceList,function(h){var h=g.clone(h);return c!=="inRange"&&(h.visual=null),h}))})},completeVisualOption:function(){var n=this.option,l={},t=A.listVisualTypes(),u=this.isCategory();g.each(n.pieces,function(c){g.each(t,function(h){c.hasOwnProperty(h)&&(l[h]=1)})}),g.each(l,function(c,h){var f=0;g.each(this.stateList,function(w){f|=o(n,w,h)||o(n.target,w,h)},this),!f&&g.each(this.stateList,function(w){(n[w]||(n[w]={}))[h]=b.get(h,w==="inRange"?"active":"inactive",u)})},this);function o(c,h,f){return c&&c[h]&&(g.isObject(c[h])?c[h].hasOwnProperty(f):c[h]===f)}v.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(n,l){var t=this.option,u=this._pieceList,o=(l?t:n).selected||{};if(t.selected=o,g.each(u,function(h,f){var w=this.getSelectedMapKey(h);o.hasOwnProperty(w)||(o[w]=!0)},this),t.selectedMode==="single"){var c=!1;g.each(u,function(h,f){var w=this.getSelectedMapKey(h);o[w]&&(c?o[w]=!1:c=!0)},this)}},getSelectedMapKey:function(n){return this._mode==="categories"?n.value+"":n.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var n=this.option;return n.pieces&&n.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(n){this.option.selected=g.clone(n)},getValueState:function(n){var l=A.findPieceIndex(n,this._pieceList);return l!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[l])]?"inRange":"outOfRange"},findTargetDataIndices:function(n){var l=[];return this.eachTargetSeries(function(t){var u=[],o=t.getData();o.each(this.getDataDimension(o),function(c,h){var f=A.findPieceIndex(c,this._pieceList);f===n&&u.push(h)},this),l.push({seriesId:t.id,dataIndex:u})},this),l},getRepresentValue:function(n){var l;if(this.isCategory())l=n.value;else if(n.value!=null)l=n.value;else{var t=n.interval||[];l=t[0]===-Infinity&&t[1]===Infinity?0:(t[0]+t[1])/2}return l},getVisualMeta:function(n){if(this.isCategory())return;var l=[],t=[],u=this;function o(w,x){var I=u.getRepresentValue({interval:w});x||(x=u.getValueState(I));var C=n(I,x);w[0]===-Infinity?t[0]=C:w[1]===Infinity?t[1]=C:l.push({value:w[0],color:C},{value:w[1],color:C})}var c=this._pieceList.slice();if(!c.length)c.push({interval:[-Infinity,Infinity]});else{var h=c[0].interval[0];h!==-Infinity&&c.unshift({interval:[-Infinity,h]}),h=c[c.length-1].interval[1],h!==Infinity&&c.push({interval:[h,Infinity]})}var f=-Infinity;return g.each(c,function(w){var x=w.interval;x&&(x[0]>f&&o([f,x[0]],"outOfRange"),o(x.slice()),f=x[1])},this),{stops:l,outerColors:t}}}),a={splitNumber:function(){var n=this.option,l=this._pieceList,t=Math.min(n.precision,20),u=this.getExtent(),o=n.splitNumber;o=Math.max(parseInt(o,10),1),n.splitNumber=o;for(var c=(u[1]-u[0])/o;+c.toFixed(t)!==c&&t<5;)t++;n.precision=t,c=+c.toFixed(t),n.minOpen&&l.push({interval:[-Infinity,u[0]],close:[0,0]});for(var h=0,f=u[0];h<o;f+=c,h++){var w=h===o-1?u[1]:f+c;l.push({interval:[f,w],close:[1,1]})}n.maxOpen&&l.push({interval:[u[1],Infinity],close:[0,0]}),d(l),g.each(l,function(x,I){x.index=I,x.text=this.formatValueText(x.interval)},this)},categories:function(){var n=this.option;g.each(n.categories,function(l){this._pieceList.push({text:this.formatValueText(l,!0),value:l})},this),s(n,this._pieceList)},pieces:function(){var n=this.option,l=this._pieceList;g.each(n.pieces,function(t,u){g.isObject(t)||(t={value:t});var o={text:"",index:u};if(t.label!=null&&(o.text=t.label),t.hasOwnProperty("value")){var c=o.value=t.value;o.interval=[c,c],o.close=[1,1]}else{for(var h=o.interval=[],f=o.close=[0,0],w=[1,0,1],x=[-Infinity,Infinity],I=[],C=0;C<2;C++){for(var N=[["gte","gt","min"],["lte","lt","max"]][C],S=0;S<3&&h[C]==null;S++)h[C]=t[N[S]],f[C]=w[S],I[C]=S===2;h[C]==null&&(h[C]=x[C])}I[0]&&h[1]===Infinity&&(f[0]=0),I[1]&&h[0]===-Infinity&&(f[1]=0),h[0]===h[1]&&f[0]&&f[1]&&(o.value=h[0])}o.visual=A.retrieveVisuals(t),l.push(o)},this),s(n,l),d(l),g.each(l,function(t){var u=t.close,o=[["<","\u2264"][u[1]],[">","\u2265"][u[0]]];t.text=t.text||this.formatValueText(t.value!=null?t.value:t.interval,!1,o)},this)}};function s(n,l){var t=n.inverse;(n.orient==="vertical"?!t:t)&&l.reverse()}var i=r;te.exports=i},BvKs:function(te,U,e){"use strict";e.d(U,"a",function(){return Lt});var y=e("pVnL"),L=e.n(y),g=e("lSNA"),v=e.n(g),A=e("lwsE"),b=e.n(A),m=e("W8MJ"),d=e.n(m),r=e("7W2i"),a=e.n(r),s=e("LQ03"),i=e.n(s),n=e("q1tI"),l=e("VTBJ"),t=e("1OyB"),u=e("vuIU"),o=e("JX7q"),c=e("Ji7U"),h=e("LK+K"),f=e("I8Z2"),w=e("BGR+"),x=e("wx14"),I=e("rePB"),C=e("4IlW"),N=e("2GS6"),S=e("Gytx"),E=e.n(S),T=e("TSYQ"),D=e.n(T),B=e("U8pU"),R=e("ODXe"),F=/iPhone/i,M=/iPod/i,K=/iPad/i,j=/\bAndroid(?:.+)Mobile\b/i,H=/Android/i,k=/\bAndroid(?:.+)SD4930UR\b/i,P=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,z=/Windows Phone/i,Y=/\bWindows(?:.+)ARM\b/i,_=/BlackBerry/i,G=/BB10/i,J=/Opera Mini/i,ue=/\b(CriOS|Chrome)(?:.+)Mobile/i,q=/Mobile(?:.+)Firefox\b/i;function re($e,Qe){return $e.test(Qe)}function me($e){var Qe=$e||(typeof navigator!="undefined"?navigator.userAgent:""),kt=Qe.split("[FBAN");if(typeof kt[1]!="undefined"){var Ht=kt,ot=Object(R.a)(Ht,1);Qe=ot[0]}if(kt=Qe.split("Twitter"),typeof kt[1]!="undefined"){var Ct=kt,nt=Object(R.a)(Ct,1);Qe=nt[0]}var Ot={apple:{phone:re(F,Qe)&&!re(z,Qe),ipod:re(M,Qe),tablet:!re(F,Qe)&&re(K,Qe)&&!re(z,Qe),device:(re(F,Qe)||re(M,Qe)||re(K,Qe))&&!re(z,Qe)},amazon:{phone:re(k,Qe),tablet:!re(k,Qe)&&re(P,Qe),device:re(k,Qe)||re(P,Qe)},android:{phone:!re(z,Qe)&&re(k,Qe)||!re(z,Qe)&&re(j,Qe),tablet:!re(z,Qe)&&!re(k,Qe)&&!re(j,Qe)&&(re(P,Qe)||re(H,Qe)),device:!re(z,Qe)&&(re(k,Qe)||re(P,Qe)||re(j,Qe)||re(H,Qe))||re(/\bokhttp\b/i,Qe)},windows:{phone:re(z,Qe),tablet:re(Y,Qe),device:re(z,Qe)||re(Y,Qe)},other:{blackberry:re(_,Qe),blackberry10:re(G,Qe),opera:re(J,Qe),firefox:re(q,Qe),chrome:re(ue,Qe),device:re(_,Qe)||re(G,Qe)||re(J,Qe)||re(q,Qe)||re(ue,Qe)},any:null,phone:null,tablet:null};return Ot.any=Ot.apple.device||Ot.android.device||Ot.windows.device||Ot.other.device,Ot.phone=Ot.apple.phone||Ot.android.phone||Ot.windows.phone,Ot.tablet=Ot.apple.tablet||Ot.android.tablet||Ot.windows.tablet,Ot}var be=Object(l.a)(Object(l.a)({},me()),{},{isMobile:me}),ke=be;function ce(){}function Ee($e,Qe,kt){var Ht=Qe||"";return $e.key||"".concat(Ht,"item_").concat(kt)}function pe($e){return"".concat($e,"-menu-")}function Se($e,Qe){var kt=-1;n.Children.forEach($e,function(Ht){kt+=1,Ht&&Ht.type&&Ht.type.isMenuItemGroup?n.Children.forEach(Ht.props.children,function(ot){kt+=1,Qe(ot,kt)}):Qe(Ht,kt)})}function st($e,Qe,kt){if(!$e||kt.find)return;n.Children.forEach($e,function(Ht){if(Ht){var ot=Ht.type;if(!ot||!(ot.isSubMenu||ot.isMenuItem||ot.isMenuItemGroup))return;Qe.indexOf(Ht.key)!==-1?kt.find=!0:Ht.props.children&&st(Ht.props.children,Qe,kt)}})}var qe=["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"],tt=function(Qe){var kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ht=Qe&&typeof Qe.getBoundingClientRect=="function"&&Qe.getBoundingClientRect().width;if(Ht){if(kt){var ot=getComputedStyle(Qe),Ct=ot.marginLeft,nt=ot.marginRight;Ht+=+Ct.replace("px","")+ +nt.replace("px","")}Ht=+Ht.toFixed(6)}return Ht||0},Dt=function(Qe,kt,Ht){Qe&&Object(B.a)(Qe.style)==="object"&&(Qe.style[kt]=Ht)},ct=function(){return ke.any},St=e("KQm4"),rt=e("Ff2n"),ht=e("i8i4"),je=e("bdgK"),Me=e("uciX"),Ne=e("8XRh"),it={adjustX:1,adjustY:1},wt={topLeft:{points:["bl","tl"],overflow:it,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:it,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:it,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:it,offset:[4,0]}},jt={topLeft:{points:["bl","tl"],overflow:it,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:it,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:it,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:it,offset:[4,0]}},lt=wt,Te=0,mt={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},tn=function(Qe,kt,Ht){var ot=pe(kt),Ct=Qe.getState();Qe.setState({defaultActiveFirst:Object(l.a)(Object(l.a)({},Ct.defaultActiveFirst),{},Object(I.a)({},ot,Ht))})},Vt=function($e){Object(c.a)(kt,$e);var Qe=Object(h.a)(kt);function kt(Ht){var ot;Object(t.a)(this,kt),ot=Qe.call(this,Ht),ot.onDestroy=function(Gt){ot.props.onDestroy(Gt)},ot.onKeyDown=function(Gt){var Qn=Gt.keyCode,Gn=ot.menuInstance,Or=ot.props,Nr=Or.isOpen,Kr=Or.store;if(Qn===C.a.ENTER)return ot.onTitleClick(Gt),tn(Kr,ot.props.eventKey,!0),!0;if(Qn===C.a.RIGHT)return Nr?Gn.onKeyDown(Gt):(ot.triggerOpenChange(!0),tn(Kr,ot.props.eventKey,!0)),!0;if(Qn===C.a.LEFT){var ei;if(Nr)ei=Gn.onKeyDown(Gt);else return;return ei||(ot.triggerOpenChange(!1),ei=!0),ei}return Nr&&(Qn===C.a.UP||Qn===C.a.DOWN)?Gn.onKeyDown(Gt):void 0},ot.onOpenChange=function(Gt){ot.props.onOpenChange(Gt)},ot.onPopupVisibleChange=function(Gt){ot.triggerOpenChange(Gt,Gt?"mouseenter":"mouseleave")},ot.onMouseEnter=function(Gt){var Qn=ot.props,Gn=Qn.eventKey,Or=Qn.onMouseEnter,Nr=Qn.store;tn(Nr,ot.props.eventKey,!1),Or({key:Gn,domEvent:Gt})},ot.onMouseLeave=function(Gt){var Qn=ot.props,Gn=Qn.parentMenu,Or=Qn.eventKey,Nr=Qn.onMouseLeave;Gn.subMenuInstance=Object(o.a)(ot),Nr({key:Or,domEvent:Gt})},ot.onTitleMouseEnter=function(Gt){var Qn=ot.props,Gn=Qn.eventKey,Or=Qn.onItemHover,Nr=Qn.onTitleMouseEnter;Or({key:Gn,hover:!0}),Nr({key:Gn,domEvent:Gt})},ot.onTitleMouseLeave=function(Gt){var Qn=ot.props,Gn=Qn.parentMenu,Or=Qn.eventKey,Nr=Qn.onItemHover,Kr=Qn.onTitleMouseLeave;Gn.subMenuInstance=Object(o.a)(ot),Nr({key:Or,hover:!1}),Kr({key:Or,domEvent:Gt})},ot.onTitleClick=function(Gt){var Qn=Object(o.a)(ot),Gn=Qn.props;if(Gn.onTitleClick({key:Gn.eventKey,domEvent:Gt}),Gn.triggerSubMenuAction==="hover")return;ot.triggerOpenChange(!Gn.isOpen,"click"),tn(Gn.store,ot.props.eventKey,!1)},ot.onSubMenuClick=function(Gt){typeof ot.props.onClick=="function"&&ot.props.onClick(ot.addKeyPath(Gt))},ot.onSelect=function(Gt){ot.props.onSelect(Gt)},ot.onDeselect=function(Gt){ot.props.onDeselect(Gt)},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(Gt){ot.menuInstance=Gt},ot.addKeyPath=function(Gt){return Object(l.a)(Object(l.a)({},Gt),{},{keyPath:(Gt.keyPath||[]).concat(ot.props.eventKey)})},ot.triggerOpenChange=function(Gt,Qn){var Gn=ot.props.eventKey,Or=function(){ot.onOpenChange({key:Gn,item:Object(o.a)(ot),trigger:Qn,open:Gt})};Qn==="mouseenter"?ot.mouseenterTimeout=setTimeout(function(){Or()},0):Or()},ot.isChildrenSelected=function(){var Gt={find:!1};return st(ot.props.children,ot.props.selectedKeys,Gt),Gt.find},ot.isOpen=function(){return ot.props.openKeys.indexOf(ot.props.eventKey)!==-1},ot.adjustWidth=function(){if(!ot.subMenuTitle||!ot.menuInstance)return;var Gt=ht.findDOMNode(ot.menuInstance);if(Gt.offsetWidth>=ot.subMenuTitle.offsetWidth)return;Gt.style.minWidth="".concat(ot.subMenuTitle.offsetWidth,"px")},ot.saveSubMenuTitle=function(Gt){ot.subMenuTitle=Gt},ot.getBaseProps=function(){var Gt=Object(o.a)(ot),Qn=Gt.props;return{mode:Qn.mode==="horizontal"?"vertical":Qn.mode,visible:ot.props.isOpen,level:Qn.level+1,inlineIndent:Qn.inlineIndent,focusable:!1,onClick:ot.onSubMenuClick,onSelect:ot.onSelect,onDeselect:ot.onDeselect,onDestroy:ot.onDestroy,selectedKeys:Qn.selectedKeys,eventKey:"".concat(Qn.eventKey,"-menu-"),openKeys:Qn.openKeys,motion:Qn.motion,onOpenChange:ot.onOpenChange,subMenuOpenDelay:Qn.subMenuOpenDelay,parentMenu:Object(o.a)(ot),subMenuCloseDelay:Qn.subMenuCloseDelay,forceSubMenuRender:Qn.forceSubMenuRender,triggerSubMenuAction:Qn.triggerSubMenuAction,builtinPlacements:Qn.builtinPlacements,defaultActiveFirst:Qn.store.getState().defaultActiveFirst[pe(Qn.eventKey)],multiple:Qn.multiple,prefixCls:Qn.rootPrefixCls,id:ot.internalMenuId,manualRef:ot.saveMenuInstance,itemIcon:Qn.itemIcon,expandIcon:Qn.expandIcon,direction:Qn.direction}},ot.getMotion=function(Gt,Qn){var Gn=Object(o.a)(ot),Or=Gn.haveRendered,Nr=ot.props,Kr=Nr.motion,ei=Nr.rootPrefixCls,vi=Object(l.a)(Object(l.a)({},Kr),{},{leavedClassName:"".concat(ei,"-hidden"),removeOnLeave:!1,motionAppear:Or||!Qn||Gt!=="inline"});return vi};var Ct=Ht.store,nt=Ht.eventKey,Ot=Ct.getState(),sn=Ot.defaultActiveFirst;ot.isRootMenu=!1;var Zt=!1;return sn&&(Zt=sn[nt]),tn(Ct,nt,Zt),ot}return Object(u.a)(kt,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var ot=this,Ct=this.props,nt=Ct.mode,Ot=Ct.parentMenu,sn=Ct.manualRef;if(sn&&sn(this),nt!=="horizontal"||!Ot.isRootMenu||!this.props.isOpen)return;this.minWidthTimeout=setTimeout(function(){return ot.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var ot=this.props,Ct=ot.onDestroy,nt=ot.eventKey;Ct&&Ct(nt),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)}},{key:"renderChildren",value:function(ot){var Ct=this,nt=this.getBaseProps(),Ot=this.getMotion(nt.mode,nt.visible);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||nt.visible||nt.forceSubMenuRender,!this.haveOpened)return n.createElement("div",null);var sn=nt.direction;return n.createElement(Ne.default,Object.assign({visible:nt.visible},Ot),function(Zt){var Gt=Zt.className,Qn=Zt.style,Gn=D()("".concat(nt.prefixCls,"-sub"),Gt,Object(I.a)({},"".concat(nt.prefixCls,"-rtl"),sn==="rtl"));return n.createElement(Xn,Object.assign({},nt,{id:Ct.internalMenuId,className:Gn,style:Qn}),ot)})}},{key:"render",value:function(){var ot,Ct=Object(l.a)({},this.props),nt=Ct.isOpen,Ot=this.getPrefixCls(),sn=Ct.mode==="inline",Zt=D()(Ot,"".concat(Ot,"-").concat(Ct.mode),(ot={},Object(I.a)(ot,Ct.className,!!Ct.className),Object(I.a)(ot,this.getOpenClassName(),nt),Object(I.a)(ot,this.getActiveClassName(),Ct.active||nt&&!sn),Object(I.a)(ot,this.getDisabledClassName(),Ct.disabled),Object(I.a)(ot,this.getSelectedClassName(),this.isChildrenSelected()),ot));this.internalMenuId||(Ct.eventKey?this.internalMenuId="".concat(Ct.eventKey,"$Menu"):(Te+=1,this.internalMenuId="$__$".concat(Te,"$Menu")));var Gt={},Qn={},Gn={};Ct.disabled||(Gt={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},Qn={onClick:this.onTitleClick},Gn={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var Or={},Nr=Ct.direction;sn&&(Nr==="rtl"?Or.paddingRight=Ct.inlineIndent*Ct.level:Or.paddingLeft=Ct.inlineIndent*Ct.level);var Kr={};this.props.isOpen&&(Kr={"aria-owns":this.internalMenuId});var ei=null;Ct.mode!=="horizontal"&&(ei=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(ei=n.createElement(this.props.expandIcon,Object(l.a)({},this.props))));var vi=n.createElement("div",Object.assign({ref:this.saveSubMenuTitle,style:Or,className:"".concat(Ot,"-title"),role:"button"},Gn,Qn,{"aria-expanded":nt},Kr,{"aria-haspopup":"true",title:typeof Ct.title=="string"?Ct.title:void 0}),Ct.title,ei||n.createElement("i",{className:"".concat(Ot,"-arrow")})),Pi=this.renderChildren(Ct.children),Be=Ct.parentMenu.isRootMenu?Ct.parentMenu.props.getPopupContainer:function(rn){return rn.parentNode},le=mt[Ct.mode],ye=Ct.popupOffset?{offset:Ct.popupOffset}:{},xe=Ct.mode==="inline"?"":Ct.popupClassName;xe+=Nr==="rtl"?" ".concat(Ot,"-rtl"):"";var De=Ct.disabled,Le=Ct.triggerSubMenuAction,Fe=Ct.subMenuOpenDelay,at=Ct.forceSubMenuRender,Ve=Ct.subMenuCloseDelay,It=Ct.builtinPlacements;qe.forEach(function(rn){return delete Ct[rn]}),delete Ct.onClick;var pn=Nr==="rtl"?Object.assign({},jt,It):Object.assign({},wt,It);return delete Ct.direction,n.createElement("li",Object.assign({},Ct,Gt,{className:Zt,role:"menuitem"}),sn&&vi,sn&&Pi,!sn&&n.createElement(Me.a,{prefixCls:Ot,popupClassName:D()("".concat(Ot,"-popup"),xe),getPopupContainer:Be,builtinPlacements:pn,popupPlacement:le,popupVisible:nt,popupAlign:ye,popup:Pi,action:De?[]:[Le],mouseEnterDelay:Fe,mouseLeaveDelay:Ve,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:at},vi))}}]),kt}(n.Component);Vt.defaultProps={onMouseEnter:ce,onMouseLeave:ce,onTitleMouseEnter:ce,onTitleMouseLeave:ce,onTitleClick:ce,manualRef:ce,mode:"vertical",title:""};var Yt=Object(f.b)(function($e,Qe){var kt=$e.openKeys,Ht=$e.activeKey,ot=$e.selectedKeys,Ct=Qe.eventKey,nt=Qe.subMenuKey;return{isOpen:kt.indexOf(Ct)>-1,active:Ht[nt]===Ct,selectedKeys:ot}})(Vt);Yt.isSubMenu=!0;var Qt=Yt,an="menuitem-overflowed",on=.5,vt=function($e){Object(c.a)(kt,$e);var Qe=Object(h.a)(kt);function kt(){var Ht;return Object(t.a)(this,kt),Ht=Qe.apply(this,arguments),Ht.resizeObserver=null,Ht.mutationObserver=null,Ht.originalTotalWidth=0,Ht.overflowedItems=[],Ht.menuItemSizes=[],Ht.cancelFrameId=null,Ht.state={lastVisibleIndex:void 0},Ht.getMenuItemNodes=function(){var ot=Ht.props.prefixCls,Ct=ht.findDOMNode(Object(o.a)(Ht));return Ct?[].slice.call(Ct.children).filter(function(nt){return nt.className.split(" ").indexOf("".concat(ot,"-overflowed-submenu"))<0}):[]},Ht.getOverflowedSubMenuItem=function(ot,Ct,nt){var Ot=Ht.props,sn=Ot.overflowedIndicator,Zt=Ot.level,Gt=Ot.mode,Qn=Ot.prefixCls,Gn=Ot.theme;if(Zt!==1||Gt!=="horizontal")return null;var Or=Ht.props.children[0],Nr=Or.props,Kr=Nr.children,ei=Nr.title,vi=Nr.style,Pi=Object(rt.a)(Nr,["children","title","style"]),Be=Object(l.a)({},vi),le="".concat(ot,"-overflowed-indicator"),ye="".concat(ot,"-overflowed-indicator");Ct.length===0&&nt!==!0?Be=Object(l.a)(Object(l.a)({},Be),{},{display:"none"}):nt&&(Be=Object(l.a)(Object(l.a)({},Be),{},{visibility:"hidden",position:"absolute"}),le="".concat(le,"-placeholder"),ye="".concat(ye,"-placeholder"));var xe=Gn?"".concat(Qn,"-").concat(Gn):"",De={};return qe.forEach(function(Le){Pi[Le]!==void 0&&(De[Le]=Pi[Le])}),n.createElement(Qt,Object.assign({title:sn,className:"".concat(Qn,"-overflowed-submenu"),popupClassName:xe},De,{key:le,eventKey:ye,disabled:!1,style:Be}),Ct)},Ht.setChildrenWidthAndResize=function(){if(Ht.props.mode!=="horizontal")return;var ot=ht.findDOMNode(Object(o.a)(Ht));if(!ot)return;var Ct=ot.children;if(!Ct||Ct.length===0)return;var nt=ot.children[Ct.length-1];Dt(nt,"display","inline-block");var Ot=Ht.getMenuItemNodes(),sn=Ot.filter(function(Zt){return Zt.className.split(" ").indexOf(an)>=0});sn.forEach(function(Zt){Dt(Zt,"display","inline-block")}),Ht.menuItemSizes=Ot.map(function(Zt){return tt(Zt,!0)}),sn.forEach(function(Zt){Dt(Zt,"display","none")}),Ht.overflowedIndicatorWidth=tt(ot.children[ot.children.length-1],!0),Ht.originalTotalWidth=Ht.menuItemSizes.reduce(function(Zt,Gt){return Zt+Gt},0),Ht.handleResize(),Dt(nt,"display","none")},Ht.handleResize=function(){if(Ht.props.mode!=="horizontal")return;var ot=ht.findDOMNode(Object(o.a)(Ht));if(!ot)return;var Ct=tt(ot);Ht.overflowedItems=[];var nt=0,Ot;Ht.originalTotalWidth>Ct+on&&(Ot=-1,Ht.menuItemSizes.forEach(function(sn){nt+=sn,nt+Ht.overflowedIndicatorWidth<=Ct&&(Ot+=1)})),Ht.setState({lastVisibleIndex:Ot})},Ht}return Object(u.a)(kt,[{key:"componentDidMount",value:function(){var ot=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var Ct=ht.findDOMNode(this);if(!Ct)return;this.resizeObserver=new je.default(function(nt){nt.forEach(function(){var Ot=ot.cancelFrameId;cancelAnimationFrame(Ot),ot.cancelFrameId=requestAnimationFrame(ot.setChildrenWidthAndResize)})}),[].slice.call(Ct.children).concat(Ct).forEach(function(nt){ot.resizeObserver.observe(nt)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){ot.resizeObserver.disconnect(),[].slice.call(Ct.children).concat(Ct).forEach(function(nt){ot.resizeObserver.observe(nt)}),ot.setChildrenWidthAndResize()}),this.mutationObserver.observe(Ct,{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 Ct=this,nt=this.state.lastVisibleIndex;return(ot||[]).reduce(function(Ot,sn,Zt){var Gt=sn;if(Ct.props.mode==="horizontal"){var Qn=Ct.getOverflowedSubMenuItem(sn.props.eventKey,[]);nt!==void 0&&Ct.props.className.indexOf("".concat(Ct.props.prefixCls,"-root"))!==-1&&(Zt>nt&&(Gt=n.cloneElement(sn,{style:{display:"none"},eventKey:"".concat(sn.props.eventKey,"-hidden"),className:"".concat(an)})),Zt===nt+1&&(Ct.overflowedItems=ot.slice(nt+1).map(function(Or){return n.cloneElement(Or,{key:Or.props.eventKey,mode:"vertical-left"})}),Qn=Ct.getOverflowedSubMenuItem(sn.props.eventKey,Ct.overflowedItems)));var Gn=[].concat(Object(St.a)(Ot),[Qn,Gt]);return Zt===ot.length-1&&Gn.push(Ct.getOverflowedSubMenuItem(sn.props.eventKey,[],!0)),Gn}return[].concat(Object(St.a)(Ot),[Gt])},[])}},{key:"render",value:function(){var ot=this.props,Ct=ot.visible,nt=ot.prefixCls,Ot=ot.overflowedIndicator,sn=ot.mode,Zt=ot.level,Gt=ot.tag,Qn=ot.children,Gn=ot.theme,Or=Object(rt.a)(ot,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),Nr=Gt;return n.createElement(Nr,Object.assign({},Or),this.renderChildren(Qn))}}]),kt}(n.Component);vt.defaultProps={tag:"div",className:""};var de=vt;function he($e){return $e.length?$e.every(function(Qe){return!!Qe.props.disabled}):!0}function Pt($e,Qe,kt){var Ht=$e.getState();$e.setState({activeKey:Object(l.a)(Object(l.a)({},Ht.activeKey),{},Object(I.a)({},Qe,kt))})}function We($e){return $e.eventKey||"0-menu-"}function Je($e,Qe){var kt=Qe,Ht=$e.children,ot=$e.eventKey;if(kt){var Ct;if(Se(Ht,function(nt,Ot){nt&&nt.props&&!nt.props.disabled&&kt===Ee(nt,ot,Ot)&&(Ct=!0)}),Ct)return kt}return kt=null,$e.defaultActiveFirst&&Se(Ht,function(nt,Ot){!kt&&nt&&!nt.props.disabled&&(kt=Ee(nt,ot,Ot))}),kt}function Ln($e){if($e){var Qe=this.instanceArray.indexOf($e);Qe!==-1?this.instanceArray[Qe]=$e:this.instanceArray.push($e)}}var jn=function($e){Object(c.a)(kt,$e);var Qe=Object(h.a)(kt);function kt(Ht){var ot;return Object(t.a)(this,kt),ot=Qe.call(this,Ht),ot.onKeyDown=function(Ct,nt){var Ot=Ct.keyCode,sn;if(ot.getFlatInstanceArray().forEach(function(Gt){Gt&&Gt.props.active&&Gt.onKeyDown&&(sn=Gt.onKeyDown(Ct))}),sn)return 1;var Zt=null;return(Ot===C.a.UP||Ot===C.a.DOWN)&&(Zt=ot.step(Ot===C.a.UP?-1:1)),Zt?(Ct.preventDefault(),Pt(ot.props.store,We(ot.props),Zt.props.eventKey),typeof nt=="function"&&nt(Zt),1):void 0},ot.onItemHover=function(Ct){var nt=Ct.key,Ot=Ct.hover;Pt(ot.props.store,We(ot.props),Ot?nt:null)},ot.onDeselect=function(Ct){ot.props.onDeselect(Ct)},ot.onSelect=function(Ct){ot.props.onSelect(Ct)},ot.onClick=function(Ct){ot.props.onClick(Ct)},ot.onOpenChange=function(Ct){ot.props.onOpenChange(Ct)},ot.onDestroy=function(Ct){ot.props.onDestroy(Ct)},ot.getFlatInstanceArray=function(){return ot.instanceArray},ot.step=function(Ct){var nt=ot.getFlatInstanceArray(),Ot=ot.props.store.getState().activeKey[We(ot.props)],sn=nt.length;if(!sn)return null;Ct<0&&(nt=nt.concat().reverse());var Zt=-1;if(nt.every(function(Or,Nr){return Or&&Or.props.eventKey===Ot?(Zt=Nr,!1):!0}),!ot.props.defaultActiveFirst&&Zt!==-1&&he(nt.slice(Zt,sn-1)))return;var Gt=(Zt+1)%sn,Qn=Gt;do{var Gn=nt[Qn];if(!Gn||Gn.props.disabled)Qn=(Qn+1)%sn;else return Gn}while(Qn!==Gt);return null},ot.renderCommonMenuItem=function(Ct,nt,Ot){var sn=ot.props.store.getState(),Zt=Object(o.a)(ot),Gt=Zt.props,Qn=Ee(Ct,Gt.eventKey,nt),Gn=Ct.props;if(!Gn||typeof Ct.type=="string")return Ct;var Or=Qn===sn.activeKey,Nr=Object(l.a)(Object(l.a)({mode:Gn.mode||Gt.mode,level:Gt.level,inlineIndent:Gt.inlineIndent,renderMenuItem:ot.renderMenuItem,rootPrefixCls:Gt.prefixCls,index:nt,parentMenu:Gt.parentMenu,manualRef:Gn.disabled?void 0:Object(N.a)(Ct.ref,Ln.bind(Object(o.a)(ot))),eventKey:Qn,active:!Gn.disabled&&Or,multiple:Gt.multiple,onClick:function(ei){(Gn.onClick||ce)(ei),ot.onClick(ei)},onItemHover:ot.onItemHover,motion:Gt.motion,subMenuOpenDelay:Gt.subMenuOpenDelay,subMenuCloseDelay:Gt.subMenuCloseDelay,forceSubMenuRender:Gt.forceSubMenuRender,onOpenChange:ot.onOpenChange,onDeselect:ot.onDeselect,onSelect:ot.onSelect,builtinPlacements:Gt.builtinPlacements,itemIcon:Gn.itemIcon||ot.props.itemIcon,expandIcon:Gn.expandIcon||ot.props.expandIcon},Ot),{},{direction:Gt.direction});return(Gt.mode==="inline"||ct())&&(Nr.triggerSubMenuAction="click"),n.cloneElement(Ct,Nr)},ot.renderMenuItem=function(Ct,nt,Ot){if(!Ct)return null;var sn=ot.props.store.getState(),Zt={openKeys:sn.openKeys,selectedKeys:sn.selectedKeys,triggerSubMenuAction:ot.props.triggerSubMenuAction,subMenuKey:Ot};return ot.renderCommonMenuItem(Ct,nt,Zt)},Ht.store.setState({activeKey:Object(l.a)(Object(l.a)({},Ht.store.getState().activeKey),{},Object(I.a)({},Ht.eventKey,Je(Ht,Ht.activeKey)))}),ot.instanceArray=[],ot}return Object(u.a)(kt,[{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 Ct=this.props,nt="activeKey"in Ct?Ct.activeKey:Ct.store.getState().activeKey[We(Ct)],Ot=Je(Ct,nt);if(Ot!==nt)Pt(Ct.store,We(Ct),Ot);else if("activeKey"in ot){var sn=Je(ot,ot.activeKey);Ot!==sn&&Pt(Ct.store,We(Ct),Ot)}}},{key:"render",value:function(){var ot=this,Ct=Object(x.a)({},this.props);this.instanceArray=[];var nt=D()(Ct.prefixCls,Ct.className,"".concat(Ct.prefixCls,"-").concat(Ct.mode)),Ot={className:nt,role:Ct.role||"menu"};Ct.id&&(Ot.id=Ct.id),Ct.focusable&&(Ot.tabIndex=0,Ot.onKeyDown=this.onKeyDown);var sn=Ct.prefixCls,Zt=Ct.eventKey,Gt=Ct.visible,Qn=Ct.level,Gn=Ct.mode,Or=Ct.overflowedIndicator,Nr=Ct.theme;return qe.forEach(function(Kr){return delete Ct[Kr]}),delete Ct.onClick,n.createElement(de,Object.assign({},Ct,{prefixCls:sn,mode:Gn,tag:"ul",level:Qn,theme:Nr,visible:Gt,overflowedIndicator:Or},Ot),n.Children.map(Ct.children,function(Kr,ei){return ot.renderMenuItem(Kr,ei,Zt||"0-menu-")}))}}]),kt}(n.Component);jn.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:ce};var Sn=Object(f.b)()(jn),Xn=Sn,rr=e("Kwbf");function hr($e,Qe,kt){var Ht=$e.prefixCls,ot=$e.motion,Ct=$e.defaultMotions,nt=Ct===void 0?{}:Ct,Ot=$e.openAnimation,sn=$e.openTransitionName,Zt=Qe.switchingModeFromInline;if(ot)return ot;if(Object(B.a)(Ot)==="object"&&Ot)Object(rr.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof Ot=="string")return{motionName:"".concat(Ht,"-open-").concat(Ot)};if(sn)return{motionName:sn};var Gt=nt[kt];return Gt||(Zt?null:nt.other)}var gn=function($e){Object(c.a)(kt,$e);var Qe=Object(h.a)(kt);function kt(Ht){var ot;Object(t.a)(this,kt),ot=Qe.call(this,Ht),ot.inlineOpenKeys=[],ot.onSelect=function(Ot){var sn=Object(o.a)(ot),Zt=sn.props;if(Zt.selectable){var Gt=ot.store.getState(),Qn=Gt.selectedKeys,Gn=Ot.key;Zt.multiple?Qn=Qn.concat([Gn]):Qn=[Gn],"selectedKeys"in Zt||ot.store.setState({selectedKeys:Qn}),Zt.onSelect(Object(l.a)(Object(l.a)({},Ot),{},{selectedKeys:Qn}))}},ot.onClick=function(Ot){var sn=ot.getRealMenuMode(),Zt=Object(o.a)(ot),Gt=Zt.store,Qn=Zt.props.onOpenChange;sn!=="inline"&&!("openKeys"in ot.props)&&(Gt.setState({openKeys:[]}),Qn([])),ot.props.onClick(Ot)},ot.onKeyDown=function(Ot,sn){ot.innerMenu.getWrappedInstance().onKeyDown(Ot,sn)},ot.onOpenChange=function(Ot){var sn=Object(o.a)(ot),Zt=sn.props,Gt=ot.store.getState().openKeys.concat(),Qn=!1,Gn=function(Nr){var Kr=!1;if(Nr.open)Kr=Gt.indexOf(Nr.key)===-1,Kr&&Gt.push(Nr.key);else{var ei=Gt.indexOf(Nr.key);Kr=ei!==-1,Kr&&Gt.splice(ei,1)}Qn=Qn||Kr};Array.isArray(Ot)?Ot.forEach(Gn):Gn(Ot),Qn&&("openKeys"in ot.props||ot.store.setState({openKeys:Gt}),Zt.onOpenChange(Gt))},ot.onDeselect=function(Ot){var sn=Object(o.a)(ot),Zt=sn.props;if(Zt.selectable){var Gt=ot.store.getState().selectedKeys.concat(),Qn=Ot.key,Gn=Gt.indexOf(Qn);Gn!==-1&&Gt.splice(Gn,1),"selectedKeys"in Zt||ot.store.setState({selectedKeys:Gt}),Zt.onDeselect(Object(l.a)(Object(l.a)({},Ot),{},{selectedKeys:Gt}))}},ot.onMouseEnter=function(Ot){ot.restoreModeVerticalFromInline();var sn=ot.props.onMouseEnter;sn&&sn(Ot)},ot.onTransitionEnd=function(Ot){var sn=Ot.propertyName==="width"&&Ot.target===Ot.currentTarget,Zt=Ot.target.className,Gt=Object.prototype.toString.call(Zt)==="[object SVGAnimatedString]"?Zt.animVal:Zt,Qn=Ot.propertyName==="font-size"&&Gt.indexOf("anticon")>=0;(sn||Qn)&&ot.restoreModeVerticalFromInline()},ot.setInnerMenu=function(Ot){ot.innerMenu=Ot},ot.isRootMenu=!0;var Ct=Ht.defaultSelectedKeys,nt=Ht.defaultOpenKeys;return"selectedKeys"in Ht&&(Ct=Ht.selectedKeys||[]),"openKeys"in Ht&&(nt=Ht.openKeys||[]),ot.store=Object(f.c)({selectedKeys:Ct,openKeys:nt,activeKey:{"0-menu-":Je(Ht,Ht.activeKey)}}),ot.state={switchingModeFromInline:!1},ot}return Object(u.a)(kt,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(ot){this.updateOpentKeysWhenSwitchMode(ot),this.updateMiniStore();var Ct=this.props,nt=Ct.siderCollapsed,Ot=Ct.inlineCollapsed,sn=Ct.onOpenChange;(!ot.inlineCollapsed&&Ot||!ot.siderCollapsed&&nt)&&sn([]),this.updateMenuDisplay()}},{key:"updateOpentKeysWhenSwitchMode",value:function(ot){var Ct=this.props,nt=this.store,Ot=this.inlineOpenKeys,sn=nt.getState(),Zt={};ot.mode==="inline"&&Ct.mode!=="inline"&&this.setState({switchingModeFromInline:!0}),"openKeys"in Ct||((Ct.inlineCollapsed&&!ot.inlineCollapsed||Ct.siderCollapsed&&!ot.siderCollapsed)&&(this.setState({switchingModeFromInline:!0}),this.inlineOpenKeys=sn.openKeys.concat(),Zt.openKeys=[]),(!Ct.inlineCollapsed&&ot.inlineCollapsed||!Ct.siderCollapsed&&ot.siderCollapsed)&&(Zt.openKeys=Ot,this.inlineOpenKeys=[])),Object.keys(Zt).length&&nt.setState(Zt)}},{key:"updateMenuDisplay",value:function(){var ot=this.props.collapsedWidth,Ct=this.store,nt=this.prevOpenKeys,Ot=this.getInlineCollapsed()&&(ot===0||ot==="0"||ot==="0px");Ot?(this.prevOpenKeys=Ct.getState().openKeys.concat(),this.store.setState({openKeys:[]})):nt&&(this.store.setState({openKeys:nt}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var ot=this.props.mode,Ct=this.state.switchingModeFromInline,nt=this.getInlineCollapsed();return Ct&&nt?"inline":nt?"vertical":ot}},{key:"getInlineCollapsed",value:function(){var ot=this.props,Ct=ot.inlineCollapsed,nt=ot.siderCollapsed;return nt!==void 0?nt:Ct}},{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(w.default)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),Ct=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:Ct,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:hr(this.props,this.state,Ct)}),delete ot.openAnimation,delete ot.openTransitionName,n.createElement(f.a,{store:this.store},n.createElement(Xn,Object.assign({},ot,{ref:this.setInnerMenu}),this.props.children))}}]),kt}(n.Component);gn.defaultProps={selectable:!0,onClick:ce,onSelect:ce,onOpenChange:ce,onDeselect:ce,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:n.createElement("span",null,"\xB7\xB7\xB7")};var vn=gn,Ft=function($e){Object(c.a)(kt,$e);var Qe=Object(h.a)(kt);function kt(){var Ht;return Object(t.a)(this,kt),Ht=Qe.apply(this,arguments),Ht.onKeyDown=function(ot){var Ct=ot.keyCode;return Ct===C.a.ENTER?(Ht.onClick(ot),!0):void 0},Ht.onMouseLeave=function(ot){var Ct=Ht.props,nt=Ct.eventKey,Ot=Ct.onItemHover,sn=Ct.onMouseLeave;Ot({key:nt,hover:!1}),sn({key:nt,domEvent:ot})},Ht.onMouseEnter=function(ot){var Ct=Ht.props,nt=Ct.eventKey,Ot=Ct.onItemHover,sn=Ct.onMouseEnter;Ot({key:nt,hover:!0}),sn({key:nt,domEvent:ot})},Ht.onClick=function(ot){var Ct=Ht.props,nt=Ct.eventKey,Ot=Ct.multiple,sn=Ct.onClick,Zt=Ct.onSelect,Gt=Ct.onDeselect,Qn=Ct.isSelected,Gn={key:nt,keyPath:[nt],item:Object(o.a)(Ht),domEvent:ot};sn(Gn),Ot?Qn?Gt(Gn):Zt(Gn):Qn||Zt(Gn)},Ht.saveNode=function(ot){Ht.node=ot},Ht}return Object(u.a)(kt,[{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,Ct=Object(l.a)({},this.props),nt=D()(this.getPrefixCls(),Ct.className,(ot={},Object(I.a)(ot,this.getActiveClassName(),!Ct.disabled&&Ct.active),Object(I.a)(ot,this.getSelectedClassName(),Ct.isSelected),Object(I.a)(ot,this.getDisabledClassName(),Ct.disabled),ot)),Ot=Object(l.a)(Object(l.a)({},Ct.attribute),{},{title:typeof Ct.title=="string"?Ct.title:void 0,className:nt,role:Ct.role||"menuitem","aria-disabled":Ct.disabled});Ct.role==="option"?Ot=Object(l.a)(Object(l.a)({},Ot),{},{role:"option","aria-selected":Ct.isSelected}):(Ct.role===null||Ct.role==="none")&&(Ot.role="none");var sn={onClick:Ct.disabled?null:this.onClick,onMouseLeave:Ct.disabled?null:this.onMouseLeave,onMouseEnter:Ct.disabled?null:this.onMouseEnter},Zt=Object(l.a)({},Ct.style);Ct.mode==="inline"&&(Ct.direction==="rtl"?Zt.paddingRight=Ct.inlineIndent*Ct.level:Zt.paddingLeft=Ct.inlineIndent*Ct.level),qe.forEach(function(Qn){return delete Ct[Qn]}),delete Ct.direction;var Gt=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(Gt=n.createElement(this.props.itemIcon,this.props)),n.createElement("li",Object.assign({},Object(w.default)(Ct,["onClick","onMouseEnter","onMouseLeave","onSelect"]),Ot,sn,{style:Zt,ref:this.saveNode}),Ct.children,Gt)}}]),kt}(n.Component);Ft.isMenuItem=!0,Ft.defaultProps={onSelect:ce,onMouseEnter:ce,onMouseLeave:ce,manualRef:ce};var Ye=Object(f.b)(function($e,Qe){var kt=$e.activeKey,Ht=$e.selectedKeys,ot=Qe.eventKey,Ct=Qe.subMenuKey;return{active:kt[Ct]===ot,isSelected:Ht.indexOf(ot)!==-1}})(Ft),Pe=Ye,Jt=function($e){Object(c.a)(kt,$e);var Qe=Object(h.a)(kt);function kt(){var Ht;return Object(t.a)(this,kt),Ht=Qe.apply(this,arguments),Ht.renderInnerMenuItem=function(ot){var Ct=Ht.props,nt=Ct.renderMenuItem,Ot=Ct.index;return nt(ot,Ot,Ht.props.subMenuKey)},Ht}return Object(u.a)(kt,[{key:"render",value:function(){var ot=Object(x.a)({},this.props),Ct=ot.className,nt=Ct===void 0?"":Ct,Ot=ot.rootPrefixCls,sn="".concat(Ot,"-item-group-title"),Zt="".concat(Ot,"-item-group-list"),Gt=ot.title,Qn=ot.children;return qe.forEach(function(Gn){return delete ot[Gn]}),delete ot.onClick,delete ot.direction,n.createElement("li",Object.assign({},ot,{className:"".concat(nt," ").concat(Ot,"-item-group")}),n.createElement("div",{className:sn,title:typeof Gt=="string"?Gt:void 0},Gt),n.createElement("ul",{className:Zt},n.Children.map(Qn,this.renderInnerMenuItem)))}}]),kt}(n.Component);Jt.isMenuItemGroup=!0,Jt.defaultProps={disabled:!0};var bn=Jt,An=function(Qe){var kt=Qe.className,Ht=Qe.rootPrefixCls,ot=Qe.style;return n.createElement("li",{className:"".concat(kt," ").concat(Ht,"-item-divider"),style:ot})};An.defaultProps={disabled:!0,className:"",style:{}};var dn=An,vr=vn,qn=Object(n.createContext)({inlineCollapsed:!1}),Ur=qn,Ue=e("0n0R"),He=function($e){a()(kt,$e);var Qe=i()(kt);function kt(){return b()(this,kt),Qe.apply(this,arguments)}return d()(kt,[{key:"renderTitle",value:function(ot){var Ct=this.props,nt=Ct.icon,Ot=Ct.title,sn=Ct.level,Zt=Ct.rootPrefixCls;if(!nt)return ot&&sn===1&&Ot&&typeof Ot=="string"?n.createElement("div",{className:"".concat(Zt,"-inline-collapsed-noicon")},Ot.charAt(0)):Ot;var Gt=Object(Ue.b)(Ot)&&Ot.type==="span";return n.createElement(n.Fragment,null,nt,Gt?Ot:n.createElement("span",null,Ot))}},{key:"render",value:function(){var ot=this,Ct=this.props,nt=Ct.rootPrefixCls,Ot=Ct.popupClassName;return n.createElement(Ur.Consumer,null,function(sn){var Zt=sn.inlineCollapsed,Gt=sn.antdMenuTheme;return n.createElement(Qt,L()({},Object(w.default)(ot.props,["icon"]),{title:ot.renderTitle(Zt),popupClassName:D()(nt,"".concat(nt,"-").concat(Gt),Ot)}))})}}]),kt}(n.Component);He.contextType=Ur,He.isSubMenu=1;var se=He,Ae=e("Zm9Q"),Oe=e("3S7+"),ze=e("ZX9x"),Rt=function($e,Qe){var kt={};for(var Ht in $e)Object.prototype.hasOwnProperty.call($e,Ht)&&Qe.indexOf(Ht)<0&&(kt[Ht]=$e[Ht]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,Ht=Object.getOwnPropertySymbols($e);ot<Ht.length;ot++)Qe.indexOf(Ht[ot])<0&&Object.prototype.propertyIsEnumerable.call($e,Ht[ot])&&(kt[Ht[ot]]=$e[Ht[ot]]);return kt},Et=function($e){a()(kt,$e);var Qe=i()(kt);function kt(){var Ht;return b()(this,kt),Ht=Qe.apply(this,arguments),Ht.renderItem=function(ot){var Ct=ot.siderCollapsed,nt=Ht.props,Ot=nt.level,sn=nt.className,Zt=nt.children,Gt=nt.rootPrefixCls,Qn=Ht.props,Gn=Qn.title,Or=Qn.icon,Nr=Qn.danger,Kr=Rt(Qn,["title","icon","danger"]);return n.createElement(Ur.Consumer,null,function(ei){var vi,Pi=ei.inlineCollapsed,Be=ei.direction,le=Gn;typeof Gn=="undefined"?le=Ot===1?Zt:"":Gn===!1&&(le="");var ye={title:le};!Ct&&!Pi&&(ye.title=null,ye.visible=!1);var xe=Object(Ae.a)(Zt).length;return n.createElement(Oe.a,L()({},ye,{placement:Be==="rtl"?"left":"right",overlayClassName:"".concat(Gt,"-inline-collapsed-tooltip")}),n.createElement(Pe,L()({},Kr,{className:D()(sn,(vi={},v()(vi,"".concat(Gt,"-item-danger"),Nr),v()(vi,"".concat(Gt,"-item-only-child"),(Or?xe+1:xe)===1),vi)),title:Gn}),Or,Ht.renderItemChildren(Pi)))})},Ht}return d()(kt,[{key:"renderItemChildren",value:function(ot){var Ct=this.props,nt=Ct.icon,Ot=Ct.children,sn=Ct.level,Zt=Ct.rootPrefixCls;return!nt||Object(Ue.b)(Ot)&&Ot.type==="span"?Ot&&ot&&sn===1&&typeof Ot=="string"?n.createElement("div",{className:"".concat(Zt,"-inline-collapsed-noicon")},Ot.charAt(0)):Ot:n.createElement("span",null,Ot)}},{key:"render",value:function(){return n.createElement(ze.a.Consumer,null,this.renderItem)}}]),kt}(n.Component);Et.isMenuItem=!0;var _t=e("H84U"),Nn=e("uaoM"),Mn=e("EXcs"),lr=function($e){a()(kt,$e);var Qe=i()(kt);function kt(Ht){var ot;return b()(this,kt),ot=Qe.call(this,Ht),ot.renderMenu=function(Ct){var nt=Ct.getPopupContainer,Ot=Ct.getPrefixCls,sn=Ct.direction,Zt=ot.props,Gt=Zt.prefixCls,Qn=Zt.className,Gn=Zt.theme,Or={horizontal:{motionName:"slide-up"},inline:Mn.a,other:{motionName:"zoom-big"}},Nr=Ot("menu",Gt),Kr=D()(Qn,"".concat(Nr,"-").concat(Gn),v()({},"".concat(Nr,"-inline-collapsed"),ot.getInlineCollapsed()));return n.createElement(Ur.Provider,{value:{inlineCollapsed:ot.getInlineCollapsed()||!1,antdMenuTheme:Gn,direction:sn}},n.createElement(vr,L()({getPopupContainer:nt},ot.props,{className:Kr,prefixCls:Nr,direction:sn,defaultMotions:Or})))},Object(Nn.a)(!("inlineCollapsed"in Ht&&Ht.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(Nn.a)(!(Ht.siderCollapsed!==void 0&&"inlineCollapsed"in Ht),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),ot}return d()(kt,[{key:"getInlineCollapsed",value:function(){var ot=this.props,Ct=ot.inlineCollapsed,nt=ot.siderCollapsed;return nt!==void 0?nt:Ct}},{key:"render",value:function(){return n.createElement(_t.a,null,this.renderMenu)}}]),kt}(n.Component);lr.defaultProps={className:"",theme:"light",focusable:!1};var Lt=function($e){a()(kt,$e);var Qe=i()(kt);function kt(){return b()(this,kt),Qe.apply(this,arguments)}return d()(kt,[{key:"render",value:function(){var ot=this;return n.createElement(ze.a.Consumer,null,function(Ct){return n.createElement(lr,L()({},ot.props,Ct))})}}]),kt}(n.Component);Lt.Divider=dn,Lt.Item=Et,Lt.SubMenu=se,Lt.ItemGroup=bn},C0SR:function(te,U,e){var y=e("YH21"),L=function(){this._track=[]};L.prototype={constructor:L,recognize:function(d,r,a){return this._doTrack(d,r,a),this._recognize(d)},clear:function(){return this._track.length=0,this},_doTrack:function(d,r,a){var s=d.touches;if(!s)return;for(var i={points:[],touches:[],target:r,event:d},n=0,l=s.length;n<l;n++){var t=s[n],u=y.clientToLocal(a,t,{});i.points.push([u.zrX,u.zrY]),i.touches.push(t)}this._track.push(i)},_recognize:function(d){for(var r in A)if(A.hasOwnProperty(r)){var a=A[r](this._track,d);if(a)return a}}};function g(m){var d=m[1][0]-m[0][0],r=m[1][1]-m[0][1];return Math.sqrt(d*d+r*r)}function v(m){return[(m[0][0]+m[1][0])/2,(m[0][1]+m[1][1])/2]}var A={pinch:function(d,r){var a=d.length;if(!a)return;var s=(d[a-1]||{}).points,i=(d[a-2]||{}).points||s;if(i&&i.length>1&&s&&s.length>1){var n=g(s)/g(i);!isFinite(n)&&(n=1),r.pinchScale=n;var l=v(s);return r.pinchX=l[0],r.pinchY=l[1],{type:"pinch",target:d[0].target,event:r}}}},b=L;te.exports=b},C0tN:function(te,U,e){e("0o9m"),e("8Uz6"),e("Ducp"),e("6/nd")},CBdT:function(te,U,e){var y=e("ProS");e("8waO"),e("AEZ6"),e("YNf1");var L=e("q3GZ");y.registerVisual(L)},CF2D:function(te,U,e){var y=e("ProS");e("vZI5"),e("GeKi");var L=e("6r85"),g=e("TJmX"),v=e("CbHG");y.registerPreprocessor(L),y.registerVisual(g),y.registerLayout(v)},CFYs:function(te,U,e){"use strict";var y=e("lSNA"),L=e.n(y),g=e("pVnL"),v=e.n(g),A=e("lwsE"),b=e.n(A),m=e("W8MJ"),d=e.n(m),r=e("PJYZ"),a=e.n(r),s=e("7W2i"),i=e.n(s),n=e("LQ03"),l=e.n(n),t=e("q1tI"),u=e.n(t),o=e("TSYQ"),c=e.n(o),h=e("BGR+"),f=e("V/uB"),w=e.n(f),x=e("NAnI"),I=e.n(x),C=e("J84W"),N=e.n(C),S=e("kbBi"),E=e.n(S),T=e("H84U"),D=e("CWQg"),B=e("uaoM"),R=e("Zss7"),F=e.n(R),M=2,K=.16,j=.05,H=.05,k=.15,P=5,z=4,Y=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function _(Et,_t,Nn){var Mn;return Math.round(Et.h)>=60&&Math.round(Et.h)<=240?Mn=Nn?Math.round(Et.h)-M*_t:Math.round(Et.h)+M*_t:Mn=Nn?Math.round(Et.h)+M*_t:Math.round(Et.h)-M*_t,Mn<0?Mn+=360:Mn>=360&&(Mn-=360),Mn}function G(Et,_t,Nn){if(Et.h===0&&Et.s===0)return Et.s;var Mn;return Nn?Mn=Et.s-K*_t:_t===z?Mn=Et.s+K:Mn=Et.s+j*_t,Mn>1&&(Mn=1),Nn&&_t===P&&Mn>.1&&(Mn=.1),Mn<.06&&(Mn=.06),Number(Mn.toFixed(2))}function J(Et,_t,Nn){var Mn;return Nn?Mn=Et.v+H*_t:Mn=Et.v-k*_t,Mn>1&&(Mn=1),Number(Mn.toFixed(2))}function ue(Et){for(var _t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Nn=[],Mn=F()(Et),lr=P;lr>0;lr-=1){var Lt=Mn.toHsv(),$e=F()({h:_(Lt,lr,!0),s:G(Lt,lr,!0),v:J(Lt,lr,!0)}).toHexString();Nn.push($e)}Nn.push(Mn.toHexString());for(var Qe=1;Qe<=z;Qe+=1){var kt=Mn.toHsv(),Ht=F()({h:_(kt,Qe),s:G(kt,Qe),v:J(kt,Qe)}).toHexString();Nn.push(Ht)}return _t.theme==="dark"?Y.map(function(ot){var Ct=ot.index,nt=ot.opacity,Ot=F.a.mix(_t.backgroundColor||"#141414",Nn[Ct],nt*100).toHexString();return Ot}):Nn}var q={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"},re={},me={};Object.keys(q).forEach(function(Et){re[Et]=ue(q[Et]),re[Et].primary=re[Et][5],me[Et]=ue(q[Et],{theme:"dark",backgroundColor:"#141414"}),me[Et].primary=me[Et][5]});var be=re.red,ke=re.volcano,ce=re.gold,Ee=re.orange,pe=re.yellow,Se=re.lime,st=re.green,qe=re.cyan,tt=re.blue,Dt=re.geekblue,ct=re.purple,St=re.magenta,rt=re.grey;function ht(Et){return!Et||Et<0?0:Et>100?100:Et}function je(Et){var _t=Et.success,Nn=Et.successPercent,Mn=Nn;return _t&&"progress"in _t&&(Object(B.a)(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),Mn=_t.progress),_t&&"percent"in _t&&(Mn=_t.percent),Mn}var Me=function(Et,_t){var Nn={};for(var Mn in Et)Object.prototype.hasOwnProperty.call(Et,Mn)&&_t.indexOf(Mn)<0&&(Nn[Mn]=Et[Mn]);if(Et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lr=0,Mn=Object.getOwnPropertySymbols(Et);lr<Mn.length;lr++)_t.indexOf(Mn[lr])<0&&Object.prototype.propertyIsEnumerable.call(Et,Mn[lr])&&(Nn[Mn[lr]]=Et[Mn[lr]]);return Nn},Ne=function(_t){var Nn=[];return Object.keys(_t).forEach(function(Mn){var lr=parseFloat(Mn.replace(/%/g,""));isNaN(lr)||Nn.push({key:lr,value:_t[Mn]})}),Nn=Nn.sort(function(Mn,lr){return Mn.key-lr.key}),Nn.map(function(Mn){var lr=Mn.key,Lt=Mn.value;return"".concat(Lt," ").concat(lr,"%")}).join(", ")},it=function(_t){var Nn=_t.from,Mn=Nn===void 0?q.blue:Nn,lr=_t.to,Lt=lr===void 0?q.blue:lr,$e=_t.direction,Qe=$e===void 0?"to right":$e,kt=Me(_t,["from","to","direction"]);if(Object.keys(kt).length!==0){var Ht=Ne(kt);return{backgroundImage:"linear-gradient(".concat(Qe,", ").concat(Ht,")")}}return{backgroundImage:"linear-gradient(".concat(Qe,", ").concat(Mn,", ").concat(Lt,")")}},wt=function(_t){var Nn=_t.prefixCls,Mn=_t.percent,lr=_t.strokeWidth,Lt=_t.size,$e=_t.strokeColor,Qe=_t.strokeLinecap,kt=_t.children,Ht=_t.trailColor,ot=_t.success,Ct=$e&&typeof $e!="string"?it($e):{background:$e},nt=Ht?{backgroundColor:Ht}:void 0,Ot=v()({width:"".concat(ht(Mn),"%"),height:lr||(Lt==="small"?6:8),borderRadius:Qe==="square"?0:""},Ct),sn=je(_t),Zt={width:"".concat(ht(sn),"%"),height:lr||(Lt==="small"?6:8),borderRadius:Qe==="square"?0:"",backgroundColor:ot==null?void 0:ot.strokeColor},Gt=sn!==void 0?t.createElement("div",{className:"".concat(Nn,"-success-bg"),style:Zt}):null;return t.createElement(t.Fragment,null,t.createElement("div",{className:"".concat(Nn,"-outer")},t.createElement("div",{className:"".concat(Nn,"-inner"),style:nt},t.createElement("div",{className:"".concat(Nn,"-bg"),style:Ot}),Gt)),kt)},jt=wt,lt={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},Te=function(_t){var Nn=_t.map(function(){return Object(t.useRef)()}),Mn=Object(t.useRef)();return Object(t.useEffect)(function(){var lr=Date.now(),Lt=!1;Object.keys(Nn).forEach(function($e){var Qe=Nn[$e].current;if(!Qe)return;Lt=!0;var kt=Qe.style;kt.transitionDuration=".3s, .3s, .3s, .06s",Mn.current&&lr-Mn.current<100&&(kt.transitionDuration="0s, 0s")}),Lt&&(Mn.current=Date.now())}),[Nn]};function mt(){return mt=Object.assign||function(Et){for(var _t=1;_t<arguments.length;_t++){var Nn=arguments[_t];for(var Mn in Nn)Object.prototype.hasOwnProperty.call(Nn,Mn)&&(Et[Mn]=Nn[Mn])}return Et},mt.apply(this,arguments)}function tn(Et,_t){return on(Et)||an(Et,_t)||Yt(Et,_t)||Vt()}function Vt(){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 Yt(Et,_t){if(!Et)return;if(typeof Et=="string")return Qt(Et,_t);var Nn=Object.prototype.toString.call(Et).slice(8,-1);if(Nn==="Object"&&Et.constructor&&(Nn=Et.constructor.name),Nn==="Map"||Nn==="Set")return Array.from(Et);if(Nn==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Nn))return Qt(Et,_t)}function Qt(Et,_t){(_t==null||_t>Et.length)&&(_t=Et.length);for(var Nn=0,Mn=new Array(_t);Nn<_t;Nn++)Mn[Nn]=Et[Nn];return Mn}function an(Et,_t){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Et)))return;var Nn=[],Mn=!0,lr=!1,Lt=void 0;try{for(var $e=Et[Symbol.iterator](),Qe;!(Mn=(Qe=$e.next()).done)&&!(Nn.push(Qe.value),_t&&Nn.length===_t);Mn=!0);}catch(kt){lr=!0,Lt=kt}finally{try{!Mn&&$e.return!=null&&$e.return()}finally{if(lr)throw Lt}}return Nn}function on(Et){if(Array.isArray(Et))return Et}function vt(Et,_t){if(Et==null)return{};var Nn=de(Et,_t),Mn,lr;if(Object.getOwnPropertySymbols){var Lt=Object.getOwnPropertySymbols(Et);for(lr=0;lr<Lt.length;lr++){if(Mn=Lt[lr],_t.indexOf(Mn)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Et,Mn))continue;Nn[Mn]=Et[Mn]}}return Nn}function de(Et,_t){if(Et==null)return{};var Nn={},Mn=Object.keys(Et),lr,Lt;for(Lt=0;Lt<Mn.length;Lt++){if(lr=Mn[Lt],_t.indexOf(lr)>=0)continue;Nn[lr]=Et[lr]}return Nn}var he=function(_t){var Nn=_t.className,Mn=_t.percent,lr=_t.prefixCls,Lt=_t.strokeColor,$e=_t.strokeLinecap,Qe=_t.strokeWidth,kt=_t.style,Ht=_t.trailColor,ot=_t.trailWidth,Ct=_t.transition,nt=vt(_t,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete nt.gapPosition;var Ot=Array.isArray(Mn)?Mn:[Mn],sn=Array.isArray(Lt)?Lt:[Lt],Zt=Te(Ot),Gt=tn(Zt,1),Qn=Gt[0],Gn=Qe/2,Or=100-Qe/2,Nr="M ".concat($e==="round"?Gn:0,",").concat(Gn,`
|
|
|
L `).concat($e==="round"?Or:100,",").concat(Gn),Kr="0 0 100 ".concat(Qe),ei=0;return u.a.createElement("svg",mt({className:c()("".concat(lr,"-line"),Nn),viewBox:Kr,preserveAspectRatio:"none",style:kt},nt),u.a.createElement("path",{className:"".concat(lr,"-line-trail"),d:Nr,strokeLinecap:$e,stroke:Ht,strokeWidth:ot||Qe,fillOpacity:"0"}),Ot.map(function(vi,Pi){var Be={strokeDasharray:"".concat(vi,"px, 100px"),strokeDashoffset:"-".concat(ei,"px"),transition:Ct||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},le=sn[Pi]||sn[sn.length-1];return ei+=vi,u.a.createElement("path",{key:Pi,className:"".concat(lr,"-line-path"),d:Nr,strokeLinecap:$e,stroke:le,strokeWidth:Qe,fillOpacity:"0",ref:Qn[Pi],style:Be})}))};he.defaultProps=lt;var Pt=he;function We(){return We=Object.assign||function(Et){for(var _t=1;_t<arguments.length;_t++){var Nn=arguments[_t];for(var Mn in Nn)Object.prototype.hasOwnProperty.call(Nn,Mn)&&(Et[Mn]=Nn[Mn])}return Et},We.apply(this,arguments)}function Je(Et,_t){return rr(Et)||Xn(Et,_t)||jn(Et,_t)||Ln()}function Ln(){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 jn(Et,_t){if(!Et)return;if(typeof Et=="string")return Sn(Et,_t);var Nn=Object.prototype.toString.call(Et).slice(8,-1);if(Nn==="Object"&&Et.constructor&&(Nn=Et.constructor.name),Nn==="Map"||Nn==="Set")return Array.from(Et);if(Nn==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Nn))return Sn(Et,_t)}function Sn(Et,_t){(_t==null||_t>Et.length)&&(_t=Et.length);for(var Nn=0,Mn=new Array(_t);Nn<_t;Nn++)Mn[Nn]=Et[Nn];return Mn}function Xn(Et,_t){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Et)))return;var Nn=[],Mn=!0,lr=!1,Lt=void 0;try{for(var $e=Et[Symbol.iterator](),Qe;!(Mn=(Qe=$e.next()).done)&&!(Nn.push(Qe.value),_t&&Nn.length===_t);Mn=!0);}catch(kt){lr=!0,Lt=kt}finally{try{!Mn&&$e.return!=null&&$e.return()}finally{if(lr)throw Lt}}return Nn}function rr(Et){if(Array.isArray(Et))return Et}function hr(Et,_t){if(Et==null)return{};var Nn=gn(Et,_t),Mn,lr;if(Object.getOwnPropertySymbols){var Lt=Object.getOwnPropertySymbols(Et);for(lr=0;lr<Lt.length;lr++){if(Mn=Lt[lr],_t.indexOf(Mn)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Et,Mn))continue;Nn[Mn]=Et[Mn]}}return Nn}function gn(Et,_t){if(Et==null)return{};var Nn={},Mn=Object.keys(Et),lr,Lt;for(Lt=0;Lt<Mn.length;Lt++){if(lr=Mn[Lt],_t.indexOf(lr)>=0)continue;Nn[lr]=Et[lr]}return Nn}var vn=0;function Ft(Et){return+Et.replace("%","")}function Ye(Et){return Array.isArray(Et)?Et:[Et]}function Pe(Et,_t,Nn,Mn){var lr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,Lt=arguments.length>5?arguments[5]:void 0,$e=50-Mn/2,Qe=0,kt=-$e,Ht=0,ot=-2*$e;switch(Lt){case"left":Qe=-$e,kt=0,Ht=2*$e,ot=0;break;case"right":Qe=$e,kt=0,Ht=-2*$e,ot=0;break;case"bottom":kt=$e,ot=2*$e;break;default:}var Ct="M 50,50 m ".concat(Qe,",").concat(kt,`
|
|
|
a `).concat($e,",").concat($e," 0 1 1 ").concat(Ht,",").concat(-ot,`
|
|
|
a `).concat($e,",").concat($e," 0 1 1 ").concat(-Ht,",").concat(ot),nt=Math.PI*2*$e,Ot={stroke:Nn,strokeDasharray:"".concat(_t/100*(nt-lr),"px ").concat(nt,"px"),strokeDashoffset:"-".concat(lr/2+Et/100*(nt-lr),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:Ct,pathStyle:Ot}}var Jt=function(_t){var Nn=_t.prefixCls,Mn=_t.strokeWidth,lr=_t.trailWidth,Lt=_t.gapDegree,$e=_t.gapPosition,Qe=_t.trailColor,kt=_t.strokeLinecap,Ht=_t.style,ot=_t.className,Ct=_t.strokeColor,nt=_t.percent,Ot=hr(_t,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),sn=Object(t.useMemo)(function(){return vn+=1,vn},[]),Zt=Pe(0,100,Qe,Mn,Lt,$e),Gt=Zt.pathString,Qn=Zt.pathStyle,Gn=Ye(nt),Or=Ye(Ct),Nr=Or.find(function(Be){return Object.prototype.toString.call(Be)==="[object Object]"}),Kr=Te(Gn),ei=Je(Kr,1),vi=ei[0],Pi=function(){var le=0;return Gn.map(function(ye,xe){var De=Or[xe]||Or[Or.length-1],Le=Object.prototype.toString.call(De)==="[object Object]"?"url(#".concat(Nn,"-gradient-").concat(sn,")"):"",Fe=Pe(le,ye,De,Mn,Lt,$e);return le+=ye,u.a.createElement("path",{key:xe,className:"".concat(Nn,"-circle-path"),d:Fe.pathString,stroke:Le,strokeLinecap:kt,strokeWidth:Mn,opacity:ye===0?0:1,fillOpacity:"0",style:Fe.pathStyle,ref:vi[xe]})})};return u.a.createElement("svg",We({className:c()("".concat(Nn,"-circle"),ot),viewBox:"0 0 100 100",style:Ht},Ot),Nr&&u.a.createElement("defs",null,u.a.createElement("linearGradient",{id:"".concat(Nn,"-gradient-").concat(sn),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(Nr).sort(function(Be,le){return Ft(Be)-Ft(le)}).map(function(Be,le){return u.a.createElement("stop",{key:le,offset:Be,stopColor:Nr[Be]})}))),u.a.createElement("path",{className:"".concat(Nn,"-circle-trail"),d:Gt,stroke:Qe,strokeLinecap:kt,strokeWidth:lr||Mn,fillOpacity:"0",style:Qn}),Pi().reverse())};Jt.defaultProps=lt;var bn=Jt,An={Line:Pt,Circle:bn};function dn(Et){var _t=Et.percent,Nn=Et.success,Mn=Et.successPercent,lr=ht(_t),Lt=je({success:Nn,successPercent:Mn});return Lt?[ht(Lt),ht(lr-ht(Lt))]:lr}function vr(Et){var _t=Et.success,Nn=Et.strokeColor,Mn=Et.successPercent,lr=Nn||null,Lt=je({success:_t,successPercent:Mn});return Lt?[q.green,lr]:lr}var qn=function(_t){var Nn=_t.prefixCls,Mn=_t.width,lr=_t.strokeWidth,Lt=_t.trailColor,$e=_t.strokeLinecap,Qe=_t.gapPosition,kt=_t.gapDegree,Ht=_t.type,ot=_t.children,Ct=Mn||120,nt={width:Ct,height:Ct,fontSize:Ct*.15+6},Ot=lr||6,sn=Qe||Ht==="dashboard"&&"bottom"||"top",Zt=function(){return kt||kt===0?kt:Ht==="dashboard"?75:void 0},Gt=vr(_t),Qn=Object.prototype.toString.call(Gt)==="[object Object]",Gn=c()("".concat(Nn,"-inner"),L()({},"".concat(Nn,"-circle-gradient"),Qn));return t.createElement("div",{className:Gn,style:nt},t.createElement(bn,{percent:dn(_t),strokeWidth:Ot,trailWidth:Ot,strokeColor:Gt,strokeLinecap:$e,trailColor:Lt,prefixCls:Nn,gapDegree:Zt(),gapPosition:sn}),ot)},Ur=qn,Ue=function(_t){for(var Nn=_t.size,Mn=_t.steps,lr=_t.percent,Lt=lr===void 0?0:lr,$e=_t.strokeWidth,Qe=$e===void 0?8:$e,kt=_t.strokeColor,Ht=_t.trailColor,ot=_t.prefixCls,Ct=_t.children,nt=Math.floor(Mn*(Lt/100)),Ot=Nn==="small"?2:14,sn=[],Zt=0;Zt<Mn;Zt+=1)sn.push(t.createElement("div",{key:Zt,className:c()("".concat(ot,"-steps-item"),L()({},"".concat(ot,"-steps-item-active"),Zt<=nt-1)),style:{backgroundColor:Zt<=nt-1?kt:Ht,width:Ot,height:Qe}}));return t.createElement("div",{className:"".concat(ot,"-steps-outer")},sn,Ct)},He=Ue,se=function(Et,_t){var Nn={};for(var Mn in Et)Object.prototype.hasOwnProperty.call(Et,Mn)&&_t.indexOf(Mn)<0&&(Nn[Mn]=Et[Mn]);if(Et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lr=0,Mn=Object.getOwnPropertySymbols(Et);lr<Mn.length;lr++)_t.indexOf(Mn[lr])<0&&Object.prototype.propertyIsEnumerable.call(Et,Mn[lr])&&(Nn[Mn[lr]]=Et[Mn[lr]]);return Nn},Ae=Object(D.a)("line","circle","dashboard"),Oe=Object(D.a)("normal","exception","active","success"),ze=function(Et){i()(Nn,Et);var _t=l()(Nn);function Nn(){var Mn;return b()(this,Nn),Mn=_t.apply(this,arguments),Mn.renderProgress=function(lr){var Lt,$e=lr.getPrefixCls,Qe=lr.direction,kt=a()(Mn),Ht=kt.props,ot=Ht.prefixCls,Ct=Ht.className,nt=Ht.size,Ot=Ht.type,sn=Ht.steps,Zt=Ht.showInfo,Gt=Ht.strokeColor,Qn=se(Ht,["prefixCls","className","size","type","steps","showInfo","strokeColor"]),Gn=$e("progress",ot),Or=Mn.getProgressStatus(),Nr=Mn.renderProcessInfo(Gn,Or);Object(B.a)(!("successPercent"in Ht),"Progress","`successPercent` is deprecated. Please use `success.percent` instead.");var Kr;Ot==="line"?Kr=sn?t.createElement(He,v()({},Mn.props,{strokeColor:typeof Gt=="string"?Gt:void 0,prefixCls:Gn,steps:sn}),Nr):t.createElement(jt,v()({},Mn.props,{prefixCls:Gn}),Nr):(Ot==="circle"||Ot==="dashboard")&&(Kr=t.createElement(Ur,v()({},Mn.props,{prefixCls:Gn,progressStatus:Or}),Nr));var ei=c()(Gn,(Lt={},L()(Lt,"".concat(Gn,"-").concat(Ot==="dashboard"&&"circle"||sn&&"steps"||Ot),!0),L()(Lt,"".concat(Gn,"-status-").concat(Or),!0),L()(Lt,"".concat(Gn,"-show-info"),Zt),L()(Lt,"".concat(Gn,"-").concat(nt),nt),L()(Lt,"".concat(Gn,"-rtl"),Qe==="rtl"),Lt),Ct);return t.createElement("div",v()({},Object(h.default)(Qn,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent","steps","success","successPercent"]),{className:ei}),Kr)},Mn}return d()(Nn,[{key:"getPercentNumber",value:function(){var lr=this.props.percent,Lt=lr===void 0?0:lr,$e=je(this.props);return parseInt($e!==void 0?$e.toString():Lt.toString(),10)}},{key:"getProgressStatus",value:function(){var lr=this.props.status;return Oe.indexOf(lr)<0&&this.getPercentNumber()>=100?"success":lr||"normal"}},{key:"renderProcessInfo",value:function(lr,Lt){var $e=this.props,Qe=$e.showInfo,kt=$e.format,Ht=$e.type,ot=$e.percent,Ct=je(this.props);if(!Qe)return null;var nt,Ot=kt||function(Zt){return"".concat(Zt,"%")},sn=Ht==="line";return kt||Lt!=="exception"&&Lt!=="success"?nt=Ot(ht(ot),ht(Ct)):Lt==="exception"?nt=sn?t.createElement(E.a,null):t.createElement(w.a,null):Lt==="success"&&(nt=sn?t.createElement(N.a,null):t.createElement(I.a,null)),t.createElement("span",{className:"".concat(lr,"-text"),title:typeof nt=="string"?nt:void 0},nt)}},{key:"render",value:function(){return t.createElement(T.a,null,this.renderProgress)}}]),Nn}(t.Component);ze.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",gapDegree:void 0,strokeLinecap:"round"};var Rt=U.a=ze},"CMP+":function(te,U,e){var y=e("bYtY"),L=e("hM6l"),g=function(A,b,m,d){L.call(this,A,b,m),this.type=d||"value",this.model=null};g.prototype={constructor:g,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return this.model.get("orient")==="horizontal"}},y.inherits(g,L);var v=g;te.exports=v},CP8R:function(te,U,e){"use strict";Object.defineProperty(U,"__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"};U.default=y},"CWI+":function(te,U,e){},CbHG:function(te,U,e){var y=e("IwbS"),L=y.subPixelOptimize,g=e("zM3Q"),v=e("OELB"),A=v.parsePercent,b=e("bYtY"),m=b.retrieve2,d=typeof Float32Array!="undefined"?Float32Array:Array,r={seriesType:"candlestick",plan:g(),reset:function(i){var n=i.coordinateSystem,l=i.getData(),t=s(i,l),u=0,o=1,c=["x","y"],h=l.mapDimension(c[u]),f=l.mapDimension(c[o],!0),w=f[0],x=f[1],I=f[2],C=f[3];if(l.setLayout({candleWidth:t,isSimpleBox:t<=1.3}),h==null||f.length<4)return;return{progress:i.pipelineContext.large?S:N};function N(E,T){for(var D;(D=E.next())!=null;){var B=T.get(h,D),R=T.get(w,D),F=T.get(x,D),M=T.get(I,D),K=T.get(C,D),j=Math.min(R,F),H=Math.max(R,F),k=G(j,B),P=G(H,B),z=G(M,B),Y=G(K,B),_=[];J(_,P,0),J(_,k,1),_.push(q(Y),q(P),q(z),q(k)),T.setItemLayout(D,{sign:a(T,D,R,F,x),initBaseline:R>F?P[o]:k[o],ends:_,brushRect:ue(M,K,B)})}function G(re,me){var be=[];return be[u]=me,be[o]=re,isNaN(me)||isNaN(re)?[NaN,NaN]:n.dataToPoint(be)}function J(re,me,be){var ke=me.slice(),ce=me.slice();ke[u]=L(ke[u]+t/2,1,!1),ce[u]=L(ce[u]-t/2,1,!0),be?re.push(ke,ce):re.push(ce,ke)}function ue(re,me,be){var ke=G(re,be),ce=G(me,be);return ke[u]-=t/2,ce[u]-=t/2,{x:ke[0],y:ke[1],width:o?t:ce[0]-ke[0],height:o?ce[1]-ke[1]:t}}function q(re){return re[u]=L(re[u],1),re}}function S(E,T){for(var D=new d(E.count*4),B=0,R,F=[],M=[],K;(K=E.next())!=null;){var j=T.get(h,K),H=T.get(w,K),k=T.get(x,K),P=T.get(I,K),z=T.get(C,K);if(isNaN(j)||isNaN(P)||isNaN(z)){D[B++]=NaN,B+=3;continue}D[B++]=a(T,K,H,k,x),F[u]=j,F[o]=P,R=n.dataToPoint(F,null,M),D[B++]=R?R[0]:NaN,D[B++]=R?R[1]:NaN,F[o]=z,R=n.dataToPoint(F,null,M),D[B++]=R?R[1]:NaN}T.setLayout("largePoints",D)}}};function a(i,n,l,t,u){var o;return l>t?o=-1:l<t?o=1:o=n>0?i.get(u,n-1)<=t?1:-1:1,o}function s(i,n){var l=i.getBaseAxis(),t,u=l.type==="category"?l.getBandWidth():(t=l.getExtent(),Math.abs(t[1]-t[0])/n.count()),o=A(m(i.get("barMaxWidth"),u),u),c=A(m(i.get("barMinWidth"),1),u),h=i.get("barWidth");return h!=null?A(h,u):Math.max(Math.min(u/2,o),c)}te.exports=r},CiB2:function(te,U,e){"use strict";e.d(U,"a",function(){return y});function y(L){if(L==null)throw new TypeError("Cannot destructure undefined")}},Cm0C:function(te,U,e){e("5NHt"),e("f3JH")},CrYA:function(te,U,e){var y=e("MFOe"),L=y.Global;te.exports={name:"sessionStorage",read:v,write:A,each:b,remove:m,clearAll:d};function g(){return L.sessionStorage}function v(r){return g().getItem(r)}function A(r,a){return g().setItem(r,a)}function b(r){for(var a=g().length-1;a>=0;a--){var s=g().key(a);r(v(s),s)}}function m(r){return g().removeItem(r)}function d(){return g().clear()}},Csr3:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=L(e("4vCz"));function L(v){return v&&v.__esModule?v:{default:v}}var g=y;U.default=g,te.exports=g},D1WM:function(te,U,e){var y=e("bYtY"),L=e("hM6l"),g=function(A,b,m,d,r){L.call(this,A,b,m),this.type=d||"value",this.axisIndex=r};g.prototype={constructor:g,model:null,isHorizontal:function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"}},y.inherits(g,L);var v=g;te.exports=v},D5nY:function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("4NO4"),v=g.makeInner,A=g.getDataItemValue,b=e("bYtY"),m=b.createHashMap,d=b.each,r=b.map,a=b.isArray,s=b.isString,i=b.isObject,n=b.isTypedArray,l=b.isArrayLike,t=b.extend,u=b.assert,o=e("7G+c"),c=e("k9D9"),h=c.SOURCE_FORMAT_ORIGINAL,f=c.SOURCE_FORMAT_ARRAY_ROWS,w=c.SOURCE_FORMAT_OBJECT_ROWS,x=c.SOURCE_FORMAT_KEYED_COLUMNS,I=c.SOURCE_FORMAT_UNKNOWN,C=c.SOURCE_FORMAT_TYPED_ARRAY,N=c.SERIES_LAYOUT_BY_ROW,S={Must:1,Might:2,Not:3},E=v();function T(_){var G=_.option.source,J=I;if(n(G))J=C;else if(a(G)){G.length===0&&(J=f);for(var ue=0,q=G.length;ue<q;ue++){var re=G[ue];if(re==null)continue;if(a(re)){J=f;break}else if(i(re)){J=w;break}}}else if(i(G)){for(var me in G)if(G.hasOwnProperty(me)&&l(G[me])){J=x;break}}else if(G!=null)throw new Error("Invalid data");E(_).sourceFormat=J}function D(_){return E(_).source}function B(_){E(_).datasetMap=m()}function R(_){var G=_.option,J=G.data,ue=n(J)?C:h,q=!1,re=G.seriesLayoutBy,me=G.sourceHeader,be=G.dimensions,ke=P(_);if(ke){var ce=ke.option;J=ce.source,ue=E(ke).sourceFormat,q=!0,re=re||ce.seriesLayoutBy,me==null&&(me=ce.sourceHeader),be=be||ce.dimensions}var Ee=F(J,ue,re,me,be);E(_).source=new o({data:J,fromDataset:q,seriesLayoutBy:re,sourceFormat:ue,dimensionsDefine:Ee.dimensionsDefine,startIndex:Ee.startIndex,dimensionsDetectCount:Ee.dimensionsDetectCount,encodeDefine:G.encode})}function F(_,G,J,ue,q){if(!_)return{dimensionsDefine:M(q)};var re,me;if(G===f)ue==="auto"||ue==null?K(function(ke){ke!=null&&ke!=="-"&&(s(ke)?me==null&&(me=1):me=0)},J,_,10):me=ue?1:0,!q&&me===1&&(q=[],K(function(ke,ce){q[ce]=ke!=null?ke:""},J,_)),re=q?q.length:J===N?_.length:_[0]?_[0].length:null;else if(G===w)q||(q=j(_));else if(G===x)q||(q=[],d(_,function(ke,ce){q.push(ce)}));else if(G===h){var be=A(_[0]);re=a(be)&&be.length||1}else G===C;return{startIndex:me,dimensionsDefine:M(q),dimensionsDetectCount:re}}function M(_){if(!_)return;var G=m();return r(_,function(J,ue){if(J=t({},i(J)?J:{name:J}),J.name==null)return J;J.name+="",J.displayName==null&&(J.displayName=J.name);var q=G.get(J.name);return q?J.name+="-"+q.count++:G.set(J.name,{count:1}),J})}function K(_,G,J,ue){if(ue==null&&(ue=Infinity),G===N)for(var q=0;q<J.length&&q<ue;q++)_(J[q]?J[q][0]:null,q);else for(var re=J[0]||[],q=0;q<re.length&&q<ue;q++)_(re[q],q)}function j(_){for(var G=0,J;G<_.length&&!(J=_[G++]););if(J){var ue=[];return d(J,function(q,re){ue.push(re)}),ue}}function H(_,G,J){var ue={},q=P(G);if(!q||!_)return ue;var re=[],me=[],be=G.ecModel,ke=E(be).datasetMap,ce=q.uid+"_"+J.seriesLayoutBy,Ee,pe;_=_.slice(),d(_,function(tt,Dt){!i(tt)&&(_[Dt]={name:tt}),tt.type==="ordinal"&&Ee==null&&(Ee=Dt,pe=qe(_[Dt])),ue[tt.name]=[]});var Se=ke.get(ce)||ke.set(ce,{categoryWayDim:pe,valueWayDim:0});d(_,function(tt,Dt){var ct=tt.name,St=qe(tt);if(Ee==null){var rt=Se.valueWayDim;st(ue[ct],rt,St),st(me,rt,St),Se.valueWayDim+=St}else if(Ee===Dt)st(ue[ct],0,St),st(re,0,St);else{var rt=Se.categoryWayDim;st(ue[ct],rt,St),st(me,rt,St),Se.categoryWayDim+=St}});function st(tt,Dt,ct){for(var St=0;St<ct;St++)tt.push(Dt+St)}function qe(tt){var Dt=tt.dimsDef;return Dt?Dt.length:1}return re.length&&(ue.itemName=re),me.length&&(ue.seriesName=me),ue}function k(_,G,J){var ue={},q=P(_);if(!q)return ue;var re=G.sourceFormat,me=G.dimensionsDefine,be;(re===w||re===x)&&d(me,function(Ee,pe){(i(Ee)?Ee.name:Ee)==="name"&&(be=pe)});var ke=function(){for(var Ee={},pe={},Se=[],st=0,qe=Math.min(5,J);st<qe;st++){var tt=Y(G.data,re,G.seriesLayoutBy,me,G.startIndex,st);Se.push(tt);var Dt=tt===S.Not;if(Dt&&Ee.v==null&&st!==be&&(Ee.v=st),(Ee.n==null||Ee.n===Ee.v||!Dt&&Se[Ee.n]===S.Not)&&(Ee.n=st),ct(Ee)&&Se[Ee.n]!==S.Not)return Ee;Dt||(tt===S.Might&&pe.v==null&&st!==be&&(pe.v=st),(pe.n==null||pe.n===pe.v)&&(pe.n=st))}function ct(St){return St.v!=null&&St.n!=null}return ct(Ee)?Ee:ct(pe)?pe:null}();if(ke){ue.value=ke.v;var ce=be!=null?be:ke.n;ue.itemName=[ce],ue.seriesName=[ce]}return ue}function P(_){var G=_.option,J=G.data;if(!J)return _.ecModel.getComponent("dataset",G.datasetIndex||0)}function z(_,G){return Y(_.data,_.sourceFormat,_.seriesLayoutBy,_.dimensionsDefine,_.startIndex,G)}function Y(_,G,J,ue,q,re){var me,be=5;if(n(_))return S.Not;var ke,ce;if(ue){var Ee=ue[re];i(Ee)?(ke=Ee.name,ce=Ee.type):s(Ee)&&(ke=Ee)}if(ce!=null)return ce==="ordinal"?S.Must:S.Not;if(G===f)if(J===N){for(var pe=_[re],Se=0;Se<(pe||[]).length&&Se<be;Se++)if((me=Dt(pe[q+Se]))!=null)return me}else for(var Se=0;Se<_.length&&Se<be;Se++){var st=_[q+Se];if(st&&(me=Dt(st[re]))!=null)return me}else if(G===w){if(!ke)return S.Not;for(var Se=0;Se<_.length&&Se<be;Se++){var qe=_[Se];if(qe&&(me=Dt(qe[ke]))!=null)return me}}else if(G===x){if(!ke)return S.Not;var pe=_[ke];if(!pe||n(pe))return S.Not;for(var Se=0;Se<pe.length&&Se<be;Se++)if((me=Dt(pe[Se]))!=null)return me}else if(G===h)for(var Se=0;Se<_.length&&Se<be;Se++){var qe=_[Se],tt=A(qe);if(!a(tt))return S.Not;if((me=Dt(tt[re]))!=null)return me}function Dt(ct){var St=s(ct);if(ct!=null&&isFinite(ct)&&ct!=="")return St?S.Might:S.Not;if(St&&ct!=="-")return S.Must}return S.Not}U.BE_ORDINAL=S,U.detectSourceFormat=T,U.getSource=D,U.resetSourceDefaulter=B,U.prepareSource=R,U.makeSeriesEncodeForAxisCoordSys=H,U.makeSeriesEncodeForNameBased=k,U.guessOrdinal=z},D9ME:function(te,U,e){var y=e("IwbS"),L=e("fls0"),g=e("bYtY"),v=e("oVpE"),A=v.createSymbol,b=e("QBsz"),m=e("Sj9i");function d(s,i,n){y.Group.call(this),this.add(this.createLine(s,i,n)),this._updateEffectSymbol(s,i)}var r=d.prototype;r.createLine=function(s,i,n){return new L(s,i,n)},r._updateEffectSymbol=function(s,i){var n=s.getItemModel(i),l=n.getModel("effect"),t=l.get("symbolSize"),u=l.get("symbol");g.isArray(t)||(t=[t,t]);var o=l.get("color")||s.getItemVisual(i,"color"),c=this.childAt(1);if(this._symbolType!==u&&(this.remove(c),c=A(u,-.5,-.5,1,1,o),c.z2=100,c.culling=!0,this.add(c)),!c)return;c.setStyle("shadowColor",o),c.setStyle(l.getItemStyle(["color"])),c.attr("scale",t),c.setColor(o),c.attr("scale",t),this._symbolType=u,this._symbolScale=t,this._updateEffectAnimation(s,l,i)},r._updateEffectAnimation=function(s,i,n){var l=this.childAt(1);if(!l)return;var t=this,u=s.getItemLayout(n),o=i.get("period")*1e3,c=i.get("loop"),h=i.get("constantSpeed"),f=g.retrieve(i.get("delay"),function(C){return C/s.count()*o/3}),w=typeof f=="function";if(l.ignore=!0,this.updateAnimationPoints(l,u),h>0&&(o=this.getLineLength(l)/h*1e3),o!==this._period||c!==this._loop){l.stopAnimation();var x=f;w&&(x=f(n)),l.__t>0&&(x=-o*l.__t),l.__t=0;var I=l.animate("",c).when(o,{__t:1}).delay(x).during(function(){t.updateSymbolPosition(l)});c||I.done(function(){t.remove(l)}),I.start()}this._period=o,this._loop=c},r.getLineLength=function(s){return b.dist(s.__p1,s.__cp1)+b.dist(s.__cp1,s.__p2)},r.updateAnimationPoints=function(s,i){s.__p1=i[0],s.__p2=i[1],s.__cp1=i[2]||[(i[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2]},r.updateData=function(s,i,n){this.childAt(0).updateData(s,i,n),this._updateEffectSymbol(s,i)},r.updateSymbolPosition=function(s){var i=s.__p1,n=s.__p2,l=s.__cp1,t=s.__t,u=s.position,o=[u[0],u[1]],c=m.quadraticAt,h=m.quadraticDerivativeAt;u[0]=c(i[0],l[0],n[0],t),u[1]=c(i[1],l[1],n[1],t);var f=h(i[0],l[0],n[0],t),w=h(i[1],l[1],n[1],t);if(s.rotation=-Math.atan2(w,f)-Math.PI/2,this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")if(s.__lastT!==void 0&&s.__lastT<s.__t){var x=b.dist(o,u)*1.05;s.attr("scale",[s.scale[0],x]),t===1&&(u[0]=o[0]+(u[0]-o[0])/2,u[1]=o[1]+(u[1]-o[1])/2)}else if(s.__lastT===1){var x=2*b.dist(i,u);s.attr("scale",[s.scale[0],x])}else s.attr("scale",this._symbolScale);s.__lastT=s.__t,s.ignore=!1},r.updateLayout=function(s,i){this.childAt(0).updateLayout(s,i);var n=s.getItemModel(i).getModel("effect");this._updateEffectAnimation(s,n,i)},g.inherits(d,y.Group);var a=d;te.exports=a},DBLp:function(te,U){function e(){}e.prototype={diff:function(b,m,d){d||(d=function(w,x){return w===x}),this.equals=d;var r=this;b=b.slice(),m=m.slice();var a=m.length,s=b.length,i=1,n=a+s,l=[{newPos:-1,components:[]}],t=this.extractCommon(l[0],m,b,0);if(l[0].newPos+1>=a&&t+1>=s){for(var u=[],o=0;o<m.length;o++)u.push(o);return[{indices:u,count:m.length}]}function c(){for(var f=-1*i;f<=i;f+=2){var w,x=l[f-1],I=l[f+1],C=(I?I.newPos:0)-f;x&&(l[f-1]=void 0);var N=x&&x.newPos+1<a,S=I&&0<=C&&C<s;if(!N&&!S){l[f]=void 0;continue}if(!N||S&&x.newPos<I.newPos?(w=L(I),r.pushComponent(w.components,void 0,!0)):(w=x,w.newPos++,r.pushComponent(w.components,!0,void 0)),C=r.extractCommon(w,m,b,f),w.newPos+1>=a&&C+1>=s)return y(r,w.components,m,b);l[f]=w}i++}for(;i<=n;){var h=c();if(h)return h}},pushComponent:function(b,m,d){var r=b[b.length-1];r&&r.added===m&&r.removed===d?b[b.length-1]={count:r.count+1,added:m,removed:d}:b.push({count:1,added:m,removed:d})},extractCommon:function(b,m,d,r){for(var a=m.length,s=d.length,i=b.newPos,n=i-r,l=0;i+1<a&&n+1<s&&this.equals(m[i+1],d[n+1]);)i++,n++,l++;return l&&b.components.push({count:l}),b.newPos=i,n},tokenize:function(b){return b.slice()},join:function(b){return b.slice()}};function y(A,b,m,d){for(var r=0,a=b.length,s=0,i=0;r<a;r++){var n=b[r];if(n.removed){for(var l=[],t=i;t<i+n.count;t++)l.push(t);n.indices=l,i+=n.count}else{for(var l=[],t=s;t<s+n.count;t++)l.push(t);n.indices=l,s+=n.count,n.added||(i+=n.count)}}return b}function L(A){return{newPos:A.newPos,components:A.components.slice(0)}}var g=new e;function v(A,b,m){return g.diff(A,b,m)}te.exports=v},DEFe:function(te,U,e){var y=e("bYtY"),L=e("SgGq"),g=e("Ae+d"),v=e("xSat"),A=v.onIrrelevantElement,b=e("IwbS"),m=e("W4dC"),d=e("iRjW"),r=d.getUID,a=e("DN4a");function s(u){var o=u.getItemStyle(),c=u.get("areaColor");return c!=null&&(o.fill=c),o}function i(u,o,c,h,f){c.off("click"),c.off("mousedown"),o.get("selectedMode")&&(c.on("mousedown",function(){u._mouseDownFlag=!0}),c.on("click",function(w){if(!u._mouseDownFlag)return;u._mouseDownFlag=!1;for(var x=w.target;!x.__regions;)x=x.parent;if(!x)return;var I={type:(o.mainType==="geo"?"geo":"map")+"ToggleSelect",batch:y.map(x.__regions,function(C){return{name:C.name,from:f.uid}})};I[o.mainType+"Id"]=o.id,h.dispatchAction(I),n(o,c)}))}function n(u,o){o.eachChild(function(c){y.each(c.__regions,function(h){c.trigger(u.isSelected(h.name)?"emphasis":"normal")})})}function l(u,o){var c=new b.Group;this.uid=r("ec_map_draw"),this._controller=new L(u.getZr()),this._controllerHost={target:o?c:null},this.group=c,this._updateGroup=o,this._mouseDownFlag,this._mapName,this._initialized,c.add(this._regionsGroup=new b.Group),c.add(this._backgroundGroup=new b.Group)}l.prototype={constructor:l,draw:function(u,o,c,h,f){var w=u.mainType==="geo",x=u.getData&&u.getData();w&&o.eachComponent({mainType:"series",subType:"map"},function(P){!x&&P.getHostGeoModel()===u&&(x=P.getData())});var I=u.coordinateSystem;this._updateBackground(I);var C=this._regionsGroup,N=this.group,S=I.getTransformInfo(),E=!C.childAt(0)||f,T;if(E)N.transform=S.roamTransform,N.decomposeTransform(),N.dirty();else{var D=new a;D.transform=S.roamTransform,D.decomposeTransform();var B={scale:D.scale,position:D.position};T=D.scale,b.updateProps(N,B,u)}var R=S.rawScale,F=S.rawPosition;C.removeAll();var M=["itemStyle"],K=["emphasis","itemStyle"],j=["label"],H=["emphasis","label"],k=y.createHashMap();y.each(I.regions,function(P){var z=k.get(P.name)||k.set(P.name,new b.Group),Y=new b.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});z.add(Y);var _=u.getRegionModel(P.name)||u,G=_.getModel(M),J=_.getModel(K),ue=s(G),q=s(J),re=_.getModel(j),me=_.getModel(H),be;if(x){be=x.indexOfName(P.name);var ke=x.getItemVisual(be,"color",!0);ke&&(ue.fill=ke)}var ce=function(rt){return[rt[0]*R[0]+F[0],rt[1]*R[1]+F[1]]};y.each(P.geometries,function(rt){if(rt.type!=="polygon")return;for(var ht=[],je=0;je<rt.exterior.length;++je)ht.push(ce(rt.exterior[je]));Y.shape.paths.push(new b.Polygon({segmentIgnoreThreshold:1,shape:{points:ht}}));for(var je=0;je<(rt.interiors?rt.interiors.length:0);++je){for(var Me=rt.interiors[je],ht=[],Ne=0;Ne<Me.length;++Ne)ht.push(ce(Me[Ne]));Y.shape.paths.push(new b.Polygon({segmentIgnoreThreshold:1,shape:{points:ht}}))}}),Y.setStyle(ue),Y.style.strokeNoScale=!0,Y.culling=!0;var Ee=re.get("show"),pe=me.get("show"),Se=x&&isNaN(x.get(x.mapDimension("value"),be)),st=x&&x.getItemLayout(be);if(w||Se&&(Ee||pe)||st&&st.showLabel){var qe=w?P.name:be,tt;(!x||be>=0)&&(tt=u);var Dt=new b.Text({position:ce(P.center.slice()),scale:[1/N.scale[0],1/N.scale[1]],z2:10,silent:!0});if(b.setLabelStyle(Dt.style,Dt.hoverStyle={},re,me,{labelFetcher:tt,labelDataIndex:qe,defaultText:P.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!E){var ct=[1/T[0],1/T[1]];b.updateProps(Dt,{scale:ct},u)}z.add(Dt)}if(x)x.setItemGraphicEl(be,z);else{var _=u.getRegionModel(P.name);Y.eventData={componentType:"geo",componentIndex:u.componentIndex,geoIndex:u.componentIndex,name:P.name,region:_&&_.option||{}}}var St=z.__regions||(z.__regions=[]);St.push(P),z.highDownSilentOnTouch=!!u.get("selectedMode"),b.setHoverStyle(z,q),C.add(z)}),this._updateController(u,o,c),i(this,u,C,c,h),n(u,C)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&m.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(u){var o=u.map;this._mapName!==o&&y.each(m.makeGraphic(o,this.uid),function(c){this._backgroundGroup.add(c)},this),this._mapName=o},_updateController:function(u,o,c){var h=u.coordinateSystem,f=this._controller,w=this._controllerHost;w.zoomLimit=u.get("scaleLimit"),w.zoom=h.getZoom(),f.enable(u.get("roam")||!1);var x=u.mainType;function I(){var C={type:"geoRoam",componentType:x};return C[x+"Id"]=u.id,C}f.off("pan").on("pan",function(C){this._mouseDownFlag=!1,g.updateViewOnPan(w,C.dx,C.dy),c.dispatchAction(y.extend(I(),{dx:C.dx,dy:C.dy}))},this),f.off("zoom").on("zoom",function(C){if(this._mouseDownFlag=!1,g.updateViewOnZoom(w,C.scale,C.originX,C.originY),c.dispatchAction(y.extend(I(),{zoom:C.scale,originX:C.originX,originY:C.originY})),this._updateGroup){var N=this.group.scale;this._regionsGroup.traverse(function(S){S.type==="text"&&S.attr("scale",[1/N[0],1/N[1]])})}},this),f.setPointerChecker(function(C,N,S){return h.getViewRectAfterRoam().contain(N,S)&&!A(C,c,u)})}};var t=l;te.exports=t},DFOY:function(te,U,e){"use strict";var y=e("pVnL"),L=e.n(y),g=e("lSNA"),v=e.n(g),A=e("lwsE"),b=e.n(A),m=e("W8MJ"),d=e.n(m),r=e("PJYZ"),a=e.n(r),s=e("7W2i"),i=e.n(s),n=e("LQ03"),l=e.n(n),t=e("q1tI"),u=e("uciX"),o=e("2W6z"),c=e.n(o),h=e("4IlW"),f=e("uK0f"),w=e.n(f);function x(Ye,Pe){if(Ye===Pe)return!0;if(!Ye||!Pe)return!1;var Jt=Ye.length;if(Pe.length!==Jt)return!1;for(var bn=0;bn<Jt;bn++)if(Ye[bn]!==Pe[bn])return!1;return!0}function I(Ye){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?I=function(Jt){return typeof Jt}:I=function(Jt){return Jt&&typeof Symbol=="function"&&Jt.constructor===Symbol&&Jt!==Symbol.prototype?"symbol":typeof Jt},I(Ye)}function C(Ye,Pe){if(!(Ye instanceof Pe))throw new TypeError("Cannot call a class as a function")}function N(Ye,Pe){for(var Jt=0;Jt<Pe.length;Jt++){var bn=Pe[Jt];bn.enumerable=bn.enumerable||!1,bn.configurable=!0,"value"in bn&&(bn.writable=!0),Object.defineProperty(Ye,bn.key,bn)}}function S(Ye,Pe,Jt){return Pe&&N(Ye.prototype,Pe),Jt&&N(Ye,Jt),Ye}function E(Ye,Pe){if(typeof Pe!="function"&&Pe!==null)throw new TypeError("Super expression must either be null or a function");Ye.prototype=Object.create(Pe&&Pe.prototype,{constructor:{value:Ye,writable:!0,configurable:!0}}),Pe&&T(Ye,Pe)}function T(Ye,Pe){return T=Object.setPrototypeOf||function(bn,An){return bn.__proto__=An,bn},T(Ye,Pe)}function D(Ye){var Pe=F();return function(){var Jt=M(Ye),bn;if(Pe){var An=M(this).constructor;bn=Reflect.construct(Jt,arguments,An)}else bn=Jt.apply(this,arguments);return B(this,bn)}}function B(Ye,Pe){return Pe&&(I(Pe)==="object"||typeof Pe=="function")?Pe:R(Ye)}function R(Ye){if(Ye===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ye}function F(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Ye){return!1}}function M(Ye){return M=Object.setPrototypeOf?Object.getPrototypeOf:function(Jt){return Jt.__proto__||Object.getPrototypeOf(Jt)},M(Ye)}var K=function(){var Ye=function(Pe){E(bn,Pe);var Jt=D(bn);function bn(){var An;return C(this,bn),An=Jt.apply(this,arguments),An.menuItems={},An.saveMenuItem=function(dn){return function(vr){An.menuItems[dn]=vr}},An}return S(bn,[{key:"componentDidMount",value:function(){this.scrollActiveItemToView()}},{key:"componentDidUpdate",value:function(dn){!dn.visible&&this.props.visible&&this.scrollActiveItemToView()}},{key:"getFieldName",value:function(dn){var vr=this.props,qn=vr.fieldNames,Ur=vr.defaultFieldNames;return qn[dn]||Ur[dn]}},{key:"getOption",value:function(dn,vr){var qn=this.props,Ur=qn.prefixCls,Ue=qn.expandTrigger,He=qn.expandIcon,se=qn.loadingIcon,Ae=this.props.onSelect.bind(this,dn,vr),Oe=this.props.onItemDoubleClick.bind(this,dn,vr),ze={onClick:Ae,onDoubleClick:Oe},Rt="".concat(Ur,"-menu-item"),Et=null,_t=dn[this.getFieldName("children")]&&dn[this.getFieldName("children")].length>0;(_t||dn.isLeaf===!1)&&(Rt+=" ".concat(Ur,"-menu-item-expand"),dn.loading||(Et=t.createElement("span",{className:"".concat(Ur,"-menu-item-expand-icon")},He))),Ue==="hover"&&(_t||dn.isLeaf===!1)&&(ze={onMouseEnter:this.delayOnSelect.bind(this,Ae),onMouseLeave:this.delayOnSelect.bind(this),onClick:Ae}),this.isActiveOption(dn,vr)&&(Rt+=" ".concat(Ur,"-menu-item-active"),ze.ref=this.saveMenuItem(vr)),dn.disabled&&(Rt+=" ".concat(Ur,"-menu-item-disabled"));var Nn=null;dn.loading&&(Rt+=" ".concat(Ur,"-menu-item-loading"),Nn=se||null);var Mn="";return"title"in dn?Mn=dn.title:typeof dn[this.getFieldName("label")]=="string"&&(Mn=dn[this.getFieldName("label")]),t.createElement("li",Object.assign({key:dn[this.getFieldName("value")],className:Rt,title:Mn},ze,{role:"menuitem",onMouseDown:function(Lt){return Lt.preventDefault()}}),dn[this.getFieldName("label")],Et,Nn)}},{key:"getActiveOptions",value:function(dn){var vr=this,qn=this.props.options,Ur=dn||this.props.activeValue;return w()(qn,function(Ue,He){return Ue[vr.getFieldName("value")]===Ur[He]},{childrenKeyName:this.getFieldName("children")})}},{key:"getShowOptions",value:function(){var dn=this,vr=this.props.options,qn=this.getActiveOptions().map(function(Ur){return Ur[dn.getFieldName("children")]}).filter(function(Ur){return!!Ur});return qn.unshift(vr),qn}},{key:"delayOnSelect",value:function(dn){for(var vr=this,qn=arguments.length,Ur=new Array(qn>1?qn-1:0),Ue=1;Ue<qn;Ue++)Ur[Ue-1]=arguments[Ue];this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null),typeof dn=="function"&&(this.delayTimer=window.setTimeout(function(){dn(Ur),vr.delayTimer=null},150))}},{key:"scrollActiveItemToView",value:function(){for(var dn=this.getShowOptions().length,vr=0;vr<dn;vr++){var qn=this.menuItems[vr];qn&&qn.parentElement&&(qn.parentElement.scrollTop=qn.offsetTop)}}},{key:"isActiveOption",value:function(dn,vr){var qn=this.props.activeValue,Ur=qn===void 0?[]:qn;return Ur[vr]===dn[this.getFieldName("value")]}},{key:"render",value:function(){var dn=this,vr=this.props,qn=vr.prefixCls,Ur=vr.dropdownMenuColumnStyle;return t.createElement("div",null,this.getShowOptions().map(function(Ue,He){return t.createElement("ul",{className:"".concat(qn,"-menu"),key:He,style:Ur},Ue.map(function(se){return dn.getOption(se,He)}))}))}}]),bn}(t.Component);return Ye.defaultProps={options:[],value:[],activeValue:[],onSelect:function(){},prefixCls:"rc-cascader-menus",visible:!1,expandTrigger:"click"},Ye}(),j=K,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}}},k=H;function P(Ye){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?P=function(Jt){return typeof Jt}:P=function(Jt){return Jt&&typeof Symbol=="function"&&Jt.constructor===Symbol&&Jt!==Symbol.prototype?"symbol":typeof Jt},P(Ye)}function z(Ye,Pe){if(Ye==null)return{};var Jt=Y(Ye,Pe),bn,An;if(Object.getOwnPropertySymbols){var dn=Object.getOwnPropertySymbols(Ye);for(An=0;An<dn.length;An++){if(bn=dn[An],Pe.indexOf(bn)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Ye,bn))continue;Jt[bn]=Ye[bn]}}return Jt}function Y(Ye,Pe){if(Ye==null)return{};var Jt={},bn=Object.keys(Ye),An,dn;for(dn=0;dn<bn.length;dn++){if(An=bn[dn],Pe.indexOf(An)>=0)continue;Jt[An]=Ye[An]}return Jt}function _(Ye){return q(Ye)||ue(Ye)||J(Ye)||G()}function G(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function J(Ye,Pe){if(!Ye)return;if(typeof Ye=="string")return re(Ye,Pe);var Jt=Object.prototype.toString.call(Ye).slice(8,-1);if(Jt==="Object"&&Ye.constructor&&(Jt=Ye.constructor.name),Jt==="Map"||Jt==="Set")return Array.from(Ye);if(Jt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Jt))return re(Ye,Pe)}function ue(Ye){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(Ye))return Array.from(Ye)}function q(Ye){if(Array.isArray(Ye))return re(Ye)}function re(Ye,Pe){(Pe==null||Pe>Ye.length)&&(Pe=Ye.length);for(var Jt=0,bn=new Array(Pe);Jt<Pe;Jt++)bn[Jt]=Ye[Jt];return bn}function me(Ye,Pe){if(!(Ye instanceof Pe))throw new TypeError("Cannot call a class as a function")}function be(Ye,Pe){for(var Jt=0;Jt<Pe.length;Jt++){var bn=Pe[Jt];bn.enumerable=bn.enumerable||!1,bn.configurable=!0,"value"in bn&&(bn.writable=!0),Object.defineProperty(Ye,bn.key,bn)}}function ke(Ye,Pe,Jt){return Pe&&be(Ye.prototype,Pe),Jt&&be(Ye,Jt),Ye}function ce(Ye,Pe){if(typeof Pe!="function"&&Pe!==null)throw new TypeError("Super expression must either be null or a function");Ye.prototype=Object.create(Pe&&Pe.prototype,{constructor:{value:Ye,writable:!0,configurable:!0}}),Pe&&Ee(Ye,Pe)}function Ee(Ye,Pe){return Ee=Object.setPrototypeOf||function(bn,An){return bn.__proto__=An,bn},Ee(Ye,Pe)}function pe(Ye){var Pe=qe();return function(){var Jt=tt(Ye),bn;if(Pe){var An=tt(this).constructor;bn=Reflect.construct(Jt,arguments,An)}else bn=Jt.apply(this,arguments);return Se(this,bn)}}function Se(Ye,Pe){return Pe&&(P(Pe)==="object"||typeof Pe=="function")?Pe:st(Ye)}function st(Ye){if(Ye===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ye}function qe(){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(Ye){return!1}}function tt(Ye){return tt=Object.setPrototypeOf?Object.getPrototypeOf:function(Jt){return Jt.__proto__||Object.getPrototypeOf(Jt)},tt(Ye)}var Dt=function(){var Ye=function(Pe){ce(bn,Pe);var Jt=pe(bn);function bn(An){var dn;me(this,bn),dn=Jt.call(this,An),dn.setPopupVisible=function(qn){var Ur=dn.state.value;"popupVisible"in dn.props||dn.setState({popupVisible:qn}),qn&&!dn.state.popupVisible&&dn.setState({activeValue:Ur}),dn.props.onPopupVisibleChange(qn)},dn.handleChange=function(qn,Ur,Ue){var He=Ur.visible;(Ue.type!=="keydown"||Ue.keyCode===h.a.ENTER)&&(dn.props.onChange(qn.map(function(se){return se[dn.getFieldName("value")]}),qn),dn.setPopupVisible(He))},dn.handlePopupVisibleChange=function(qn){dn.setPopupVisible(qn)},dn.handleMenuSelect=function(qn,Ur,Ue){var He=dn.trigger.getRootDomNode();He&&He.focus&&He.focus();var se=dn.props,Ae=se.changeOnSelect,Oe=se.loadData,ze=se.expandTrigger;if(!qn||qn.disabled)return;var Rt=dn.state.activeValue;Rt=Rt.slice(0,Ur+1),Rt[Ur]=qn[dn.getFieldName("value")];var Et=dn.getActiveOptions(Rt);if(qn.isLeaf===!1&&!qn[dn.getFieldName("children")]&&Oe){Ae&&dn.handleChange(Et,{visible:!0},Ue),dn.setState({activeValue:Rt}),Oe(Et);return}var _t={};!qn[dn.getFieldName("children")]||!qn[dn.getFieldName("children")].length?(dn.handleChange(Et,{visible:!1},Ue),_t.value=Rt):Ae&&(Ue.type==="click"||Ue.type==="keydown")&&(ze==="hover"?dn.handleChange(Et,{visible:!1},Ue):dn.handleChange(Et,{visible:!0},Ue),_t.value=Rt),_t.activeValue=Rt,("value"in dn.props||Ue.type==="keydown"&&Ue.keyCode!==h.a.ENTER)&&delete _t.value,dn.setState(_t)},dn.handleItemDoubleClick=function(){var qn=dn.props.changeOnSelect;qn&&dn.setPopupVisible(!1)},dn.handleKeyDown=function(qn){var Ur=dn.props.children;if(Ur&&Ur.props.onKeyDown){Ur.props.onKeyDown(qn);return}var Ue=_(dn.state.activeValue),He=Ue.length-1<0?0:Ue.length-1,se=dn.getCurrentLevelOptions(),Ae=se.map(function(Et){return Et[dn.getFieldName("value")]}).indexOf(Ue[He]);if(qn.keyCode!==h.a.DOWN&&qn.keyCode!==h.a.UP&&qn.keyCode!==h.a.LEFT&&qn.keyCode!==h.a.RIGHT&&qn.keyCode!==h.a.ENTER&&qn.keyCode!==h.a.SPACE&&qn.keyCode!==h.a.BACKSPACE&&qn.keyCode!==h.a.ESC&&qn.keyCode!==h.a.TAB)return;if(!dn.state.popupVisible&&qn.keyCode!==h.a.BACKSPACE&&qn.keyCode!==h.a.LEFT&&qn.keyCode!==h.a.RIGHT&&qn.keyCode!==h.a.ESC&&qn.keyCode!==h.a.TAB){dn.setPopupVisible(!0);return}if(qn.keyCode===h.a.DOWN||qn.keyCode===h.a.UP){qn.preventDefault();var Oe=Ae;Oe!==-1?qn.keyCode===h.a.DOWN?(Oe+=1,Oe=Oe>=se.length?0:Oe):(Oe-=1,Oe=Oe<0?se.length-1:Oe):Oe=0,Ue[He]=se[Oe][dn.getFieldName("value")]}else if(qn.keyCode===h.a.LEFT||qn.keyCode===h.a.BACKSPACE)qn.preventDefault(),Ue.splice(Ue.length-1,1);else if(qn.keyCode===h.a.RIGHT)qn.preventDefault(),se[Ae]&&se[Ae][dn.getFieldName("children")]&&Ue.push(se[Ae][dn.getFieldName("children")][0][dn.getFieldName("value")]);else if(qn.keyCode===h.a.ESC||qn.keyCode===h.a.TAB){dn.setPopupVisible(!1);return}(!Ue||Ue.length===0)&&dn.setPopupVisible(!1);var ze=dn.getActiveOptions(Ue),Rt=ze[ze.length-1];dn.handleMenuSelect(Rt,ze.length-1,qn),dn.props.onKeyDown&&dn.props.onKeyDown(qn)},dn.saveTrigger=function(qn){dn.trigger=qn};var vr=[];return"value"in An?vr=An.value||[]:"defaultValue"in An&&(vr=An.defaultValue||[]),c()(!("filedNames"in An),"`filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead."),dn.state={popupVisible:An.popupVisible,activeValue:vr,value:vr,prevProps:An},dn.defaultFieldNames={label:"label",value:"value",children:"children"},dn}return ke(bn,[{key:"getPopupDOMNode",value:function(){return this.trigger.getPopupDomNode()}},{key:"getFieldName",value:function(dn){var vr=this.defaultFieldNames,qn=this.props,Ur=qn.fieldNames,Ue=qn.filedNames;return"filedNames"in this.props?Ue[dn]||vr[dn]:Ur[dn]||vr[dn]}},{key:"getFieldNames",value:function(){var dn=this.props,vr=dn.fieldNames,qn=dn.filedNames;return"filedNames"in this.props?qn:vr}},{key:"getCurrentLevelOptions",value:function(){var dn=this,vr=this.props.options,qn=vr===void 0?[]:vr,Ur=this.state.activeValue,Ue=Ur===void 0?[]:Ur,He=w()(qn,function(se,Ae){return se[dn.getFieldName("value")]===Ue[Ae]},{childrenKeyName:this.getFieldName("children")});return He[He.length-2]?He[He.length-2][this.getFieldName("children")]:_(qn).filter(function(se){return!se.disabled})}},{key:"getActiveOptions",value:function(dn){var vr=this;return w()(this.props.options||[],function(qn,Ur){return qn[vr.getFieldName("value")]===dn[Ur]},{childrenKeyName:this.getFieldName("children")})}},{key:"render",value:function(){var dn=this.props,vr=dn.prefixCls,qn=dn.transitionName,Ur=dn.popupClassName,Ue=dn.options,He=Ue===void 0?[]:Ue,se=dn.disabled,Ae=dn.builtinPlacements,Oe=dn.popupPlacement,ze=dn.children,Rt=dn.dropdownRender,Et=z(dn,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement","children","dropdownRender"]),_t=t.createElement("div",null),Nn="";He&&He.length>0?_t=t.createElement(j,Object.assign({},this.props,{fieldNames:this.getFieldNames(),defaultFieldNames:this.defaultFieldNames,activeValue:this.state.activeValue,onSelect:this.handleMenuSelect,onItemDoubleClick:this.handleItemDoubleClick,visible:this.state.popupVisible})):Nn=" ".concat(vr,"-menus-empty");var Mn=_t;return Rt&&(Mn=Rt(_t)),t.createElement(u.a,Object.assign({ref:this.saveTrigger},Et,{popupPlacement:Oe,builtinPlacements:Ae,popupTransitionName:qn,action:se?[]:["click"],popupVisible:se?!1:this.state.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,prefixCls:"".concat(vr,"-menus"),popupClassName:Ur+Nn,popup:Mn}),t.cloneElement(ze,{onKeyDown:this.handleKeyDown,tabIndex:se?void 0:0}))}}],[{key:"getDerivedStateFromProps",value:function(dn,vr){var qn=vr.prevProps,Ur=qn===void 0?{}:qn,Ue={prevProps:dn};return"value"in dn&&!x(Ur.value,dn.value)&&(Ue.value=dn.value||[],"loadData"in dn||(Ue.activeValue=dn.value||[])),"popupVisible"in dn&&(Ue.popupVisible=dn.popupVisible),Ue}}]),bn}(t.Component);return Ye.defaultProps={onChange:function(){},onPopupVisibleChange:function(){},disabled:!1,transitionName:"",prefixCls:"rc-cascader",popupClassName:"",popupPlacement:"bottomLeft",builtinPlacements:k,expandTrigger:"click",fieldNames:{label:"label",value:"value",children:"children"},expandIcon:">"},Ye}(),ct=Dt,St=ct,rt=e("TSYQ"),ht=e.n(rt),je=e("BGR+"),Me=e("kbBi"),Ne=e.n(Me),it=e("HQEm"),wt=e.n(it),jt=e("fEPi"),lt=e.n(jt),Te=e("5YOS"),mt=e.n(Te),tn=e("DFhj"),Vt=e.n(tn),Yt=e("5rEg"),Qt=e("H84U"),an=e("YMnH"),on=e("uaoM"),vt=e("3Nzz"),de=e("0n0R"),he=function(Ye,Pe){var Jt={};for(var bn in Ye)Object.prototype.hasOwnProperty.call(Ye,bn)&&Pe.indexOf(bn)<0&&(Jt[bn]=Ye[bn]);if(Ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var An=0,bn=Object.getOwnPropertySymbols(Ye);An<bn.length;An++)Pe.indexOf(bn[An])<0&&Object.prototype.propertyIsEnumerable.call(Ye,bn[An])&&(Jt[bn[An]]=Ye[bn[An]]);return Jt},Pt=50;function We(Ye,Pe,Jt){return Ye.split(Pe).map(function(bn,An){return An===0?bn:[t.createElement("span",{className:"".concat(Jt,"-menu-item-keyword"),key:"seperator"},Pe),bn]})}function Je(Ye,Pe,Jt){return Pe.some(function(bn){return bn[Jt.label].indexOf(Ye)>-1})}function Ln(Ye,Pe,Jt,bn){return Pe.map(function(An,dn){var vr=An[bn.label],qn=vr.indexOf(Ye)>-1?We(vr,Ye,Jt):vr;return dn===0?qn:[" / ",qn]})}function jn(Ye,Pe,Jt,bn){function An(dn){return dn[bn.label].indexOf(Jt)>-1}return Ye.findIndex(An)-Pe.findIndex(An)}function Sn(Ye){var Pe=Ye.fieldNames;return Pe}function Xn(Ye){var Pe=Sn(Ye)||{},Jt={children:Pe.children||"children",label:Pe.label||"label",value:Pe.value||"value"};return Jt}function rr(Ye,Pe){var Jt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],bn=Xn(Pe),An=[],dn=bn.children;return Ye.forEach(function(vr){var qn=Jt.concat(vr);(Pe.changeOnSelect||!vr[dn]||!vr[dn].length)&&An.push(qn),vr[dn]&&(An=An.concat(rr(vr[dn],Pe,qn)))}),An}var hr=function(Pe){return Pe.join(" / ")};function gn(Ye){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(Ye||[]).forEach(function(Jt){var bn=Pe.value||"value";Object(on.a)(bn in Jt,"Cascader","Not found `value` in `options`."),gn(Jt[Pe.children||"children"],Pe)})}var vn=function(Ye){i()(Jt,Ye);var Pe=l()(Jt);function Jt(bn){var An;return b()(this,Jt),An=Pe.call(this,bn),An.cachedOptions=[],An.setValue=function(dn){var vr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];"value"in An.props||An.setState({value:dn});var qn=An.props.onChange;qn&&qn(dn,vr)},An.saveInput=function(dn){An.input=dn},An.handleChange=function(dn,vr){if(An.setState({inputValue:""}),vr[0].__IS_FILTERED_OPTION){var qn=dn[0],Ur=vr[0].path;An.setValue(qn,Ur);return}An.setValue(dn,vr)},An.handlePopupVisibleChange=function(dn){"popupVisible"in An.props||An.setState(function(qn){return{popupVisible:dn,inputFocused:dn,inputValue:dn?qn.inputValue:""}});var vr=An.props.onPopupVisibleChange;vr&&vr(dn)},An.handleInputBlur=function(){An.setState({inputFocused:!1})},An.handleInputClick=function(dn){var vr=An.state,qn=vr.inputFocused,Ur=vr.popupVisible;(qn||Ur)&&dn.stopPropagation()},An.handleKeyDown=function(dn){(dn.keyCode===h.a.BACKSPACE||dn.keyCode===h.a.SPACE)&&dn.stopPropagation()},An.handleInputChange=function(dn){var vr=An.state.popupVisible,qn=dn.target.value;vr||An.handlePopupVisibleChange(!0),An.setState({inputValue:qn})},An.clearSelection=function(dn){var vr=An.state.inputValue;dn.preventDefault(),dn.stopPropagation(),vr?An.setState({inputValue:""}):(An.handlePopupVisibleChange(!1),An.clearSelectionTimeout=setTimeout(function(){An.setValue([])},200))},An.renderCascader=function(dn,vr){var qn=dn.getPopupContainer,Ur=dn.getPrefixCls,Ue=dn.renderEmpty,He=dn.direction;return t.createElement(vt.b.Consumer,null,function(se){var Ae,Oe,ze,Rt,Et=a()(An),_t=Et.props,Nn=Et.state,Mn=_t.prefixCls,lr=_t.inputPrefixCls,Lt=_t.children,$e=_t.placeholder,Qe=$e===void 0?vr.placeholder||"Please select":$e,kt=_t.size,Ht=_t.disabled,ot=_t.className,Ct=_t.style,nt=_t.allowClear,Ot=_t.showSearch,sn=Ot===void 0?!1:Ot,Zt=_t.suffixIcon,Gt=_t.expandIcon,Qn=_t.notFoundContent,Gn=_t.popupClassName,Or=_t.bordered,Nr=_t.dropdownRender,Kr=he(_t,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch","suffixIcon","expandIcon","notFoundContent","popupClassName","bordered","dropdownRender"]),ei=kt||se,vi=Nn.value,Pi=Nn.inputFocused,Be=He==="rtl",le=Ur("cascader",Mn),ye=Ur("input",lr),xe=ht()((Ae={},v()(Ae,"".concat(ye,"-lg"),ei==="large"),v()(Ae,"".concat(ye,"-sm"),ei==="small"),Ae)),De=nt&&!Ht&&vi.length>0||Nn.inputValue?t.createElement(Ne.a,{className:"".concat(le,"-picker-clear"),onClick:An.clearSelection}):null,Le=ht()((Oe={},v()(Oe,"".concat(le,"-picker-arrow"),!0),v()(Oe,"".concat(le,"-picker-arrow-expand"),Nn.popupVisible),Oe)),Fe=ht()(ot,"".concat(le,"-picker"),(ze={},v()(ze,"".concat(le,"-picker-rtl"),Be),v()(ze,"".concat(le,"-picker-with-value"),Nn.inputValue),v()(ze,"".concat(le,"-picker-disabled"),Ht),v()(ze,"".concat(le,"-picker-").concat(ei),!!ei),v()(ze,"".concat(le,"-picker-show-search"),!!sn),v()(ze,"".concat(le,"-picker-focused"),Pi),v()(ze,"".concat(le,"-picker-borderless"),!Or),ze)),at=Object(je.default)(Kr,["onChange","options","popupPlacement","transitionName","displayRender","onPopupVisibleChange","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","popupClassName","filterOption","renderFilteredOption","sortFilteredOption","notFoundContent","fieldNames","bordered"]),Ve=_t.options,It=Xn(An.props);if(Ve&&Ve.length>0)Nn.inputValue&&(Ve=An.generateFilteredOptions(le,Ue));else{var pn;Ve=[(pn={},v()(pn,It.label,Qn||Ue("Cascader")),v()(pn,It.value,"ANT_CASCADER_NOT_FOUND"),pn)]}Nn.popupVisible?An.cachedOptions=Ve:Ve=An.cachedOptions;var rn={},Tn=(Ve||[]).length===1&&Ve[0].isEmptyNode;Tn&&(rn.height="auto");var Nt=sn.matchInputWidth!==!1;Nt&&(Nn.inputValue||Tn)&&An.input&&(rn.width=An.input.input.offsetWidth);var ur;Zt?ur=Object(de.c)(Zt,t.createElement("span",{className:"".concat(le,"-picker-arrow")},Zt),function(){var ii;return{className:ht()((ii={},v()(ii,Zt.props.className,Zt.props.className),v()(ii,"".concat(le,"-picker-arrow"),!0),ii))}}):ur=t.createElement(wt.a,{className:Le});var Xt=Lt||t.createElement("span",{style:Ct,className:Fe},t.createElement("span",{className:"".concat(le,"-picker-label")},An.getLabel()),t.createElement(Yt.a,L()({},at,{tabIndex:"-1",ref:An.saveInput,prefixCls:ye,placeholder:vi&&vi.length>0?void 0:Qe,className:"".concat(le,"-input ").concat(xe),value:Nn.inputValue,disabled:Ht,readOnly:!sn,autoComplete:at.autoComplete||"off",onClick:sn?An.handleInputClick:void 0,onBlur:sn?An.handleInputBlur:void 0,onKeyDown:An.handleKeyDown,onChange:sn?An.handleInputChange:void 0})),De,ur),Kn;Gt?Kn=Gt:Kn=Be?t.createElement(Vt.a,null):t.createElement(lt.a,null);var Fn=t.createElement("span",{className:"".concat(le,"-menu-item-loading-icon")},t.createElement(mt.a,{spin:!0})),un=_t.getPopupContainer||qn,Sr=Object(je.default)(_t,["inputIcon","expandIcon","loadingIcon","bordered"]),Fr=ht()(Gn,(Rt={},v()(Rt,"".concat(le,"-menu-").concat(He),He==="rtl"),v()(Rt,"".concat(le,"-menu-empty"),Ve.length===1&&Ve[0].value==="ANT_CASCADER_NOT_FOUND"),Rt));return t.createElement(St,L()({},Sr,{prefixCls:le,getPopupContainer:un,options:Ve,value:vi,popupVisible:Nn.popupVisible,onPopupVisibleChange:An.handlePopupVisibleChange,onChange:An.handleChange,dropdownMenuColumnStyle:rn,expandIcon:Kn,loadingIcon:Fn,popupClassName:Fr,popupPlacement:An.getPopupPlacement(He),dropdownRender:Nr}),Xt)})},An.state={value:bn.value||bn.defaultValue||[],inputValue:"",inputFocused:!1,popupVisible:bn.popupVisible,flattenOptions:bn.showSearch?rr(bn.options,bn):void 0,prevProps:bn},An}return d()(Jt,[{key:"componentWillUnmount",value:function(){this.clearSelectionTimeout&&clearTimeout(this.clearSelectionTimeout)}},{key:"getLabel",value:function(){var An=this.props,dn=An.options,vr=An.displayRender,qn=vr===void 0?hr:vr,Ur=Xn(this.props),Ue=this.state.value,He=Array.isArray(Ue[0])?Ue[0]:Ue,se=w()(dn,function(Oe,ze){return Oe[Ur.value]===He[ze]},{childrenKeyName:Ur.children}),Ae=se.length?se.map(function(Oe){return Oe[Ur.label]}):Ue;return qn(Ae,se)}},{key:"generateFilteredOptions",value:function(An,dn){var vr=this,qn,Ur=this.props,Ue=Ur.showSearch,He=Ur.notFoundContent,se=Xn(this.props),Ae=Ue.filter,Oe=Ae===void 0?Je:Ae,ze=Ue.render,Rt=ze===void 0?Ln:ze,Et=Ue.sort,_t=Et===void 0?jn:Et,Nn=Ue.limit,Mn=Nn===void 0?Pt:Nn,lr=this.state,Lt=lr.flattenOptions,$e=Lt===void 0?[]:Lt,Qe=lr.inputValue,kt;if(Mn>0){kt=[];var Ht=0;$e.some(function(ot){var Ct=Oe(vr.state.inputValue,ot,se);return Ct&&(kt.push(ot),Ht+=1),Ht>=Mn})}else Object(on.a)(typeof Mn!="number","Cascader","'limit' of showSearch should be positive number or false."),kt=$e.filter(function(ot){return Oe(vr.state.inputValue,ot,se)});return kt=kt.sort(function(ot,Ct){return _t(ot,Ct,Qe,se)}),kt.length>0?kt.map(function(ot){var Ct;return Ct={__IS_FILTERED_OPTION:!0,path:ot},v()(Ct,se.value,ot.map(function(nt){return nt[se.value]})),v()(Ct,se.label,Rt(Qe,ot,An,se)),v()(Ct,"disabled",ot.some(function(nt){return!!nt.disabled})),v()(Ct,"isEmptyNode",!0),Ct}):[(qn={},v()(qn,se.value,"ANT_CASCADER_NOT_FOUND"),v()(qn,se.label,He||dn("Cascader")),v()(qn,"disabled",!0),v()(qn,"isEmptyNode",!0),qn)]}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"getPopupPlacement",value:function(){var An=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ltr",dn=this.props.popupPlacement;return dn!==void 0?dn:An==="rtl"?"bottomRight":"bottomLeft"}},{key:"render",value:function(){var An=this;return t.createElement(Qt.a,null,function(dn){return t.createElement(an.a,null,function(vr){return An.renderCascader(dn,vr)})})}}],[{key:"getDerivedStateFromProps",value:function(An,dn){var vr=dn.prevProps,qn={prevProps:An};return"value"in An&&(qn.value=An.value||[]),"popupVisible"in An&&(qn.popupVisible=An.popupVisible),An.showSearch&&vr.options!==An.options&&(qn.flattenOptions=rr(An.options,An)),qn}}]),Jt}(t.Component);vn.defaultProps={transitionName:"slide-up",options:[],disabled:!1,allowClear:!0,bordered:!0};var Ft=U.a=vn},DFhj:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=L(e("GGyF"));function L(v){return v&&v.__esModule?v:{default:v}}var g=y;U.default=g,te.exports=g},DL4k:function(te,U,e){"use strict";Object.defineProperty(U,"__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"};U.default=y},DN4a:function(te,U,e){var y=e("Fofx"),L=e("QBsz"),g=y.identity,v=5e-5;function A(i){return i>v||i<-v}var b=function(n){n=n||{},n.position||(this.position=[0,0]),n.rotation==null&&(this.rotation=0),n.scale||(this.scale=[1,1]),this.origin=this.origin||null},m=b.prototype;m.transform=null,m.needLocalTransform=function(){return A(this.rotation)||A(this.position[0])||A(this.position[1])||A(this.scale[0]-1)||A(this.scale[1]-1)};var d=[];m.updateTransform=function(){var i=this.parent,n=i&&i.transform,l=this.needLocalTransform(),t=this.transform;if(!(l||n)){t&&g(t);return}t=t||y.create(),l?this.getLocalTransform(t):g(t),n&&(l?y.mul(t,i.transform,t):y.copy(t,i.transform)),this.transform=t;var u=this.globalScaleRatio;if(u!=null&&u!==1){this.getGlobalScale(d);var o=d[0]<0?-1:1,c=d[1]<0?-1:1,h=((d[0]-o)*u+o)/d[0]||0,f=((d[1]-c)*u+c)/d[1]||0;t[0]*=h,t[1]*=h,t[2]*=f,t[3]*=f}this.invTransform=this.invTransform||y.create(),y.invert(this.invTransform,t)},m.getLocalTransform=function(i){return b.getLocalTransform(this,i)},m.setTransform=function(i){var n=this.transform,l=i.dpr||1;n?i.setTransform(l*n[0],l*n[1],l*n[2],l*n[3],l*n[4],l*n[5]):i.setTransform(l,0,0,l,0,0)},m.restoreTransform=function(i){var n=i.dpr||1;i.setTransform(n,0,0,n,0,0)};var r=[],a=y.create();m.setLocalTransform=function(i){if(!i)return;var n=i[0]*i[0]+i[1]*i[1],l=i[2]*i[2]+i[3]*i[3],t=this.position,u=this.scale;A(n-1)&&(n=Math.sqrt(n)),A(l-1)&&(l=Math.sqrt(l)),i[0]<0&&(n=-n),i[3]<0&&(l=-l),t[0]=i[4],t[1]=i[5],u[0]=n,u[1]=l,this.rotation=Math.atan2(-i[1]/l,i[0]/n)},m.decomposeTransform=function(){if(!this.transform)return;var i=this.parent,n=this.transform;i&&i.transform&&(y.mul(r,i.invTransform,n),n=r);var l=this.origin;l&&(l[0]||l[1])&&(a[4]=l[0],a[5]=l[1],y.mul(r,n,a),r[4]-=l[0],r[5]-=l[1],n=r),this.setLocalTransform(n)},m.getGlobalScale=function(i){var n=this.transform;return i=i||[],n?(i[0]=Math.sqrt(n[0]*n[0]+n[1]*n[1]),i[1]=Math.sqrt(n[2]*n[2]+n[3]*n[3]),n[0]<0&&(i[0]=-i[0]),n[3]<0&&(i[1]=-i[1]),i):(i[0]=1,i[1]=1,i)},m.transformCoordToLocal=function(i,n){var l=[i,n],t=this.invTransform;return t&&L.applyTransform(l,l,t),l},m.transformCoordToGlobal=function(i,n){var l=[i,n],t=this.transform;return t&&L.applyTransform(l,l,t),l},b.getLocalTransform=function(i,n){n=n||[],g(n);var l=i.origin,t=i.scale||[1,1],u=i.rotation||0,o=i.position||[0,0];return l&&(n[4]-=l[0],n[5]-=l[1]),y.scale(n,n,t),u&&y.rotate(n,n,u),l&&(n[4]+=l[0],n[5]+=l[1]),n[4]+=o[0],n[5]+=o[1],n};var s=b;te.exports=s},DO2E:function(te,U,e){"use strict";Object.defineProperty(U,"__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"};U.default=y},DYRE:function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("OPEp"),v=e.n(g)},DZo9:function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("JGo8"),v=e.n(g),A=e("+L6B"),b=e("MXD1"),m=e("5Dmo")},Dagg:function(te,U,e){var y=e("Gev7"),L=e("mFDi"),g=e("bYtY"),v=e("Xnb7");function A(m){y.call(this,m)}A.prototype={constructor:A,type:"image",brush:function(d,r){var a=this.style,s=a.image;a.bind(d,this,r);var i=this._image=v.createOrUpdateImage(s,this._image,this,this.onload);if(!i||!v.isImageReady(i))return;var n=a.x||0,l=a.y||0,t=a.width,u=a.height,o=i.width/i.height;if(t==null&&u!=null?t=u*o:u==null&&t!=null?u=t/o:t==null&&u==null&&(t=i.width,u=i.height),this.setTransform(d),a.sWidth&&a.sHeight){var c=a.sx||0,h=a.sy||0;d.drawImage(i,c,h,a.sWidth,a.sHeight,n,l,t,u)}else if(a.sx&&a.sy){var c=a.sx,h=a.sy,f=t-c,w=u-h;d.drawImage(i,c,h,f,w,n,l,t,u)}else d.drawImage(i,n,l,t,u);a.text!=null&&(this.restoreTransform(d),this.drawRectText(d,this.getBoundingRect()))},getBoundingRect:function(){var d=this.style;return this._rect||(this._rect=new L(d.x||0,d.y||0,d.width||0,d.height||0)),this._rect}},g.inherits(A,y);var b=A;te.exports=b},Dg8C:function(te,U,e){var y=e("XxSj"),L=e("bYtY");function g(v,A){v.eachSeriesByType("sankey",function(b){var m=b.getGraph(),d=m.nodes;if(d.length){var r=Infinity,a=-Infinity;L.each(d,function(s){var i=s.getLayout().value;i<r&&(r=i),i>a&&(a=i)}),L.each(d,function(s){var i=new y({type:"color",mappingMethod:"linear",dataExtent:[r,a],visual:b.get("color")}),n=i.mapValueToVisual(s.getLayout().value),l=s.getModel().get("itemStyle.color");l!=null?s.setVisual("color",l):s.setVisual("color",n)})}})}te.exports=g},DjyN:function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("Urep"),v=e.n(g),A=e("OaEy")},DlQD:function(te,U,e){(function(y,L){te.exports=L()})(this,function(){"use strict";function y(Qt,an){for(var on=0;on<an.length;on++){var vt=an[on];vt.enumerable=vt.enumerable||!1,vt.configurable=!0,"value"in vt&&(vt.writable=!0),Object.defineProperty(Qt,vt.key,vt)}}function L(Qt,an,on){return an&&y(Qt.prototype,an),on&&y(Qt,on),Qt}function g(Qt,an){if(!Qt)return;if(typeof Qt=="string")return v(Qt,an);var on=Object.prototype.toString.call(Qt).slice(8,-1);if(on==="Object"&&Qt.constructor&&(on=Qt.constructor.name),on==="Map"||on==="Set")return Array.from(Qt);if(on==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(on))return v(Qt,an)}function v(Qt,an){(an==null||an>Qt.length)&&(an=Qt.length);for(var on=0,vt=new Array(an);on<an;on++)vt[on]=Qt[on];return vt}function A(Qt,an){var on;if(typeof Symbol=="undefined"||Qt[Symbol.iterator]==null){if(Array.isArray(Qt)||(on=g(Qt))||an&&Qt&&typeof Qt.length=="number"){on&&(Qt=on);var vt=0;return function(){return vt>=Qt.length?{done:!0}:{done:!1,value:Qt[vt++]}}}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 on=Qt[Symbol.iterator](),on.next.bind(on)}function b(Qt,an){return an={exports:{}},Qt(an,an.exports),an.exports}var m=b(function(Qt){function an(){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 on(vt){Qt.exports.defaults=vt}Qt.exports={defaults:an(),getDefaults:an,changeDefaults:on}}),d=m.defaults,r=m.getDefaults,a=m.changeDefaults,s=/[&<>"']/,i=/[&<>"']/g,n=/[<>"']|&(?!#?\w+;)/,l=/[<>"']|&(?!#?\w+;)/g,t={"&":"&","<":"<",">":">",'"':""","'":"'"},u=function(an){return t[an]};function o(Qt,an){if(an){if(s.test(Qt))return Qt.replace(i,u)}else if(n.test(Qt))return Qt.replace(l,u);return Qt}var c=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function h(Qt){return Qt.replace(c,function(an,on){return on=on.toLowerCase(),on==="colon"?":":on.charAt(0)==="#"?on.charAt(1)==="x"?String.fromCharCode(parseInt(on.substring(2),16)):String.fromCharCode(+on.substring(1)):""})}var f=/(^|[^\[])\^/g;function w(Qt,an){Qt=Qt.source||Qt,an=an||"";var on={replace:function(de,he){return he=he.source||he,he=he.replace(f,"$1"),Qt=Qt.replace(de,he),on},getRegex:function(){return new RegExp(Qt,an)}};return on}var x=/[^\w:]/g,I=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function C(Qt,an,on){if(Qt){var vt;try{vt=decodeURIComponent(h(on)).replace(x,"").toLowerCase()}catch(de){return null}if(vt.indexOf("javascript:")===0||vt.indexOf("vbscript:")===0||vt.indexOf("data:")===0)return null}an&&!I.test(on)&&(on=D(an,on));try{on=encodeURI(on).replace(/%25/g,"%")}catch(de){return null}return on}var N={},S=/^[^:]+:\/*[^/]*$/,E=/^([^:]+:)[\s\S]*$/,T=/^([^:]+:\/*[^/]*)[\s\S]*$/;function D(Qt,an){N[" "+Qt]||(S.test(Qt)?N[" "+Qt]=Qt+"/":N[" "+Qt]=M(Qt,"/",!0)),Qt=N[" "+Qt];var on=Qt.indexOf(":")===-1;return an.substring(0,2)==="//"?on?an:Qt.replace(E,"$1")+an:an.charAt(0)==="/"?on?an:Qt.replace(T,"$1")+an:Qt+an}var B={exec:function(){}};function R(Qt){for(var an=1,on,vt;an<arguments.length;an++){on=arguments[an];for(vt in on)Object.prototype.hasOwnProperty.call(on,vt)&&(Qt[vt]=on[vt])}return Qt}function F(Qt,an){var on=Qt.replace(/\|/g,function(he,Pt,We){for(var Je=!1,Ln=Pt;--Ln>=0&&We[Ln]==="\\";)Je=!Je;return Je?"|":" |"}),vt=on.split(/ \|/),de=0;if(vt.length>an)vt.splice(an);else for(;vt.length<an;)vt.push("");for(;de<vt.length;de++)vt[de]=vt[de].trim().replace(/\\\|/g,"|");return vt}function M(Qt,an,on){var vt=Qt.length;if(vt===0)return"";for(var de=0;de<vt;){var he=Qt.charAt(vt-de-1);if(he===an&&!on)de++;else if(he!==an&&on)de++;else break}return Qt.substr(0,vt-de)}function K(Qt,an){if(Qt.indexOf(an[1])===-1)return-1;for(var on=Qt.length,vt=0,de=0;de<on;de++)if(Qt[de]==="\\")de++;else if(Qt[de]===an[0])vt++;else if(Qt[de]===an[1]&&(vt--,vt<0))return de;return-1}function j(Qt){Qt&&Qt.sanitize&&!Qt.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:o,unescape:h,edit:w,cleanUrl:C,resolveUrl:D,noopTest:B,merge:R,splitCells:F,rtrim:M,findClosingBracket:K,checkSanitizeDeprecation:j},k=m.defaults,P=H.rtrim,z=H.splitCells,Y=H.escape,_=H.findClosingBracket;function G(Qt,an,on){var vt=an.href,de=an.title?Y(an.title):null,he=Qt[1].replace(/\\([\[\]])/g,"$1");return Qt[0].charAt(0)!=="!"?{type:"link",raw:on,href:vt,title:de,text:he}:{type:"image",raw:on,href:vt,title:de,text:Y(he)}}function J(Qt,an){var on=Qt.match(/^(\s+)(?:```)/);if(on===null)return an;var vt=on[1];return an.split(`
|
|
|
`).map(function(de){var he=de.match(/^\s+/);if(he===null)return de;var Pt=he[0];return Pt.length>=vt.length?de.slice(vt.length):de}).join(`
|
|
|
`)}var ue=function(){function Qt(on){this.options=on||k}var an=Qt.prototype;return an.space=function(vt){var de=this.rules.block.newline.exec(vt);if(de)return de[0].length>1?{type:"space",raw:de[0]}:{raw:`
|
|
|
`}},an.code=function(vt,de){var he=this.rules.block.code.exec(vt);if(he){var Pt=de[de.length-1];if(Pt&&Pt.type==="paragraph")return{raw:he[0],text:he[0].trimRight()};var We=he[0].replace(/^ {4}/gm,"");return{type:"code",raw:he[0],codeBlockStyle:"indented",text:this.options.pedantic?We:P(We,`
|
|
|
`)}}},an.fences=function(vt){var de=this.rules.block.fences.exec(vt);if(de){var he=de[0],Pt=J(he,de[3]||"");return{type:"code",raw:he,lang:de[2]?de[2].trim():de[2],text:Pt}}},an.heading=function(vt){var de=this.rules.block.heading.exec(vt);if(de)return{type:"heading",raw:de[0],depth:de[1].length,text:de[2]}},an.nptable=function(vt){var de=this.rules.block.nptable.exec(vt);if(de){var he={type:"table",header:z(de[1].replace(/^ *| *\| *$/g,"")),align:de[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:de[3]?de[3].replace(/\n$/,"").split(`
|
|
|
`):[],raw:de[0]};if(he.header.length===he.align.length){var Pt=he.align.length,We;for(We=0;We<Pt;We++)/^ *-+: *$/.test(he.align[We])?he.align[We]="right":/^ *:-+: *$/.test(he.align[We])?he.align[We]="center":/^ *:-+ *$/.test(he.align[We])?he.align[We]="left":he.align[We]=null;for(Pt=he.cells.length,We=0;We<Pt;We++)he.cells[We]=z(he.cells[We],he.header.length);return he}}},an.hr=function(vt){var de=this.rules.block.hr.exec(vt);if(de)return{type:"hr",raw:de[0]}},an.blockquote=function(vt){var de=this.rules.block.blockquote.exec(vt);if(de){var he=de[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:de[0],text:he}}},an.list=function(vt){var de=this.rules.block.list.exec(vt);if(de){for(var he=de[0],Pt=de[2],We=Pt.length>1,Je=Pt[Pt.length-1]===")",Ln={type:"list",raw:he,ordered:We,start:We?+Pt.slice(0,-1):"",loose:!1,items:[]},jn=de[0].match(this.rules.block.item),Sn=!1,Xn,rr,hr,gn,vn,Ft,Ye,Pe=jn.length,Jt=0;Jt<Pe;Jt++)Xn=jn[Jt],he=Xn,rr=Xn.length,Xn=Xn.replace(/^ *([*+-]|\d+[.)]) */,""),~Xn.indexOf(`
|
|
|
`)&&(rr-=Xn.length,Xn=this.options.pedantic?Xn.replace(/^ {1,4}/gm,""):Xn.replace(new RegExp("^ {1,"+rr+"}","gm"),"")),Jt!==Pe-1&&(hr=this.rules.block.bullet.exec(jn[Jt+1])[0],(We?hr.length===1||!Je&&hr[hr.length-1]===")":hr.length>1||this.options.smartLists&&hr!==Pt)&&(gn=jn.slice(Jt+1).join(`
|
|
|
`),Ln.raw=Ln.raw.substring(0,Ln.raw.length-gn.length),Jt=Pe-1)),vn=Sn||/\n\n(?!\s*$)/.test(Xn),Jt!==Pe-1&&(Sn=Xn.charAt(Xn.length-1)===`
|
|
|
`,vn||(vn=Sn)),vn&&(Ln.loose=!0),Ft=/^\[[ xX]\] /.test(Xn),Ye=void 0,Ft&&(Ye=Xn[1]!==" ",Xn=Xn.replace(/^\[[ xX]\] +/,"")),Ln.items.push({type:"list_item",raw:he,task:Ft,checked:Ye,loose:vn,text:Xn});return Ln}},an.html=function(vt){var de=this.rules.block.html.exec(vt);if(de)return{type:this.options.sanitize?"paragraph":"html",raw:de[0],pre:!this.options.sanitizer&&(de[1]==="pre"||de[1]==="script"||de[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(de[0]):Y(de[0]):de[0]}},an.def=function(vt){var de=this.rules.block.def.exec(vt);if(de){de[3]&&(de[3]=de[3].substring(1,de[3].length-1));var he=de[1].toLowerCase().replace(/\s+/g," ");return{tag:he,raw:de[0],href:de[2],title:de[3]}}},an.table=function(vt){var de=this.rules.block.table.exec(vt);if(de){var he={type:"table",header:z(de[1].replace(/^ *| *\| *$/g,"")),align:de[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:de[3]?de[3].replace(/\n$/,"").split(`
|
|
|
`):[]};if(he.header.length===he.align.length){he.raw=de[0];var Pt=he.align.length,We;for(We=0;We<Pt;We++)/^ *-+: *$/.test(he.align[We])?he.align[We]="right":/^ *:-+: *$/.test(he.align[We])?he.align[We]="center":/^ *:-+ *$/.test(he.align[We])?he.align[We]="left":he.align[We]=null;for(Pt=he.cells.length,We=0;We<Pt;We++)he.cells[We]=z(he.cells[We].replace(/^ *\| *| *\| *$/g,""),he.header.length);return he}}},an.lheading=function(vt){var de=this.rules.block.lheading.exec(vt);if(de)return{type:"heading",raw:de[0],depth:de[2].charAt(0)==="="?1:2,text:de[1]}},an.paragraph=function(vt){var de=this.rules.block.paragraph.exec(vt);if(de)return{type:"paragraph",raw:de[0],text:de[1].charAt(de[1].length-1)===`
|
|
|
`?de[1].slice(0,-1):de[1]}},an.text=function(vt,de){var he=this.rules.block.text.exec(vt);if(he){var Pt=de[de.length-1];return Pt&&Pt.type==="text"?{raw:he[0],text:he[0]}:{type:"text",raw:he[0],text:he[0]}}},an.escape=function(vt){var de=this.rules.inline.escape.exec(vt);if(de)return{type:"escape",raw:de[0],text:Y(de[1])}},an.tag=function(vt,de,he){var Pt=this.rules.inline.tag.exec(vt);if(Pt)return!de&&/^<a /i.test(Pt[0])?de=!0:de&&/^<\/a>/i.test(Pt[0])&&(de=!1),!he&&/^<(pre|code|kbd|script)(\s|>)/i.test(Pt[0])?he=!0:he&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(Pt[0])&&(he=!1),{type:this.options.sanitize?"text":"html",raw:Pt[0],inLink:de,inRawBlock:he,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Pt[0]):Y(Pt[0]):Pt[0]}},an.link=function(vt){var de=this.rules.inline.link.exec(vt);if(de){var he=_(de[2],"()");if(he>-1){var Pt=de[0].indexOf("!")===0?5:4,We=Pt+de[1].length+he;de[2]=de[2].substring(0,he),de[0]=de[0].substring(0,We).trim(),de[3]=""}var Je=de[2],Ln="";if(this.options.pedantic){var jn=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(Je);jn?(Je=jn[1],Ln=jn[3]):Ln=""}else Ln=de[3]?de[3].slice(1,-1):"";Je=Je.trim().replace(/^<([\s\S]*)>$/,"$1");var Sn=G(de,{href:Je&&Je.replace(this.rules.inline._escapes,"$1"),title:Ln&&Ln.replace(this.rules.inline._escapes,"$1")},de[0]);return Sn}},an.reflink=function(vt,de){var he;if((he=this.rules.inline.reflink.exec(vt))||(he=this.rules.inline.nolink.exec(vt))){var Pt=(he[2]||he[1]).replace(/\s+/g," ");if(Pt=de[Pt.toLowerCase()],!Pt||!Pt.href){var We=he[0].charAt(0);return{type:"text",raw:We,text:We}}var Je=G(he,Pt,he[0]);return Je}},an.strong=function(vt,de,he){he===void 0&&(he="");var Pt=this.rules.inline.strong.start.exec(vt);if(Pt&&(!Pt[1]||Pt[1]&&(he===""||this.rules.inline.punctuation.exec(he)))){de=de.slice(-1*vt.length);var We=Pt[0]==="**"?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;We.lastIndex=0;for(var Je;(Pt=We.exec(de))!=null;)if(Je=this.rules.inline.strong.middle.exec(de.slice(0,Pt.index+3)),Je)return{type:"strong",raw:vt.slice(0,Je[0].length),text:vt.slice(2,Je[0].length-2)}}},an.em=function(vt,de,he){he===void 0&&(he="");var Pt=this.rules.inline.em.start.exec(vt);if(Pt&&(!Pt[1]||Pt[1]&&(he===""||this.rules.inline.punctuation.exec(he)))){de=de.slice(-1*vt.length);var We=Pt[0]==="*"?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;We.lastIndex=0;for(var Je;(Pt=We.exec(de))!=null;)if(Je=this.rules.inline.em.middle.exec(de.slice(0,Pt.index+2)),Je)return{type:"em",raw:vt.slice(0,Je[0].length),text:vt.slice(1,Je[0].length-1)}}},an.codespan=function(vt){var de=this.rules.inline.code.exec(vt);if(de){var he=de[2].replace(/\n/g," "),Pt=/[^ ]/.test(he),We=he.startsWith(" ")&&he.endsWith(" ");return Pt&&We&&(he=he.substring(1,he.length-1)),he=Y(he,!0),{type:"codespan",raw:de[0],text:he}}},an.br=function(vt){var de=this.rules.inline.br.exec(vt);if(de)return{type:"br",raw:de[0]}},an.del=function(vt){var de=this.rules.inline.del.exec(vt);if(de)return{type:"del",raw:de[0],text:de[1]}},an.autolink=function(vt,de){var he=this.rules.inline.autolink.exec(vt);if(he){var Pt,We;return he[2]==="@"?(Pt=Y(this.options.mangle?de(he[1]):he[1]),We="mailto:"+Pt):(Pt=Y(he[1]),We=Pt),{type:"link",raw:he[0],text:Pt,href:We,tokens:[{type:"text",raw:Pt,text:Pt}]}}},an.url=function(vt,de){var he;if(he=this.rules.inline.url.exec(vt)){var Pt,We;if(he[2]==="@")Pt=Y(this.options.mangle?de(he[0]):he[0]),We="mailto:"+Pt;else{var Je;do Je=he[0],he[0]=this.rules.inline._backpedal.exec(he[0])[0];while(Je!==he[0]);Pt=Y(he[0]),he[1]==="www."?We="http://"+Pt:We=Pt}return{type:"link",raw:he[0],text:Pt,href:We,tokens:[{type:"text",raw:Pt,text:Pt}]}}},an.inlineText=function(vt,de,he){var Pt=this.rules.inline.text.exec(vt);if(Pt){var We;return de?We=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Pt[0]):Y(Pt[0]):Pt[0]:We=Y(this.options.smartypants?he(Pt[0]):Pt[0]),{type:"text",raw:Pt[0],text:We}}},Qt}(),q=H.noopTest,re=H.edit,me=H.merge,be={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:q,table:q,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};be._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,be._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,be.def=re(be.def).replace("label",be._label).replace("title",be._title).getRegex(),be.bullet=/(?:[*+-]|\d{1,9}[.)])/,be.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,be.item=re(be.item,"gm").replace(/bull/g,be.bullet).getRegex(),be.list=re(be.list).replace(/bull/g,be.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+be.def.source+")").getRegex(),be._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",be._comment=/<!--(?!-?>)[\s\S]*?-->/,be.html=re(be.html,"i").replace("comment",be._comment).replace("tag",be._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),be.paragraph=re(be._paragraph).replace("hr",be.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",be._tag).getRegex(),be.blockquote=re(be.blockquote).replace("paragraph",be.paragraph).getRegex(),be.normal=me({},be),be.gfm=me({},be.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*|$)"}),be.gfm.nptable=re(be.gfm.nptable).replace("hr",be.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",be._tag).getRegex(),be.gfm.table=re(be.gfm.table).replace("hr",be.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",be._tag).getRegex(),be.pedantic=me({},be.normal,{html:re(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",be._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:q,paragraph:re(be.normal._paragraph).replace("hr",be.hr).replace("heading",` *#{1,6} *[^
|
|
|
]`).replace("lheading",be.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var ke={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:q,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:q,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,punctuation:/^([\s*punctuation])/};ke._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",ke.punctuation=re(ke.punctuation).replace(/punctuation/g,ke._punctuation).getRegex(),ke._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",ke._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",ke.em.start=re(ke.em.start).replace(/punctuation/g,ke._punctuation).getRegex(),ke.em.middle=re(ke.em.middle).replace(/punctuation/g,ke._punctuation).replace(/overlapSkip/g,ke._overlapSkip).getRegex(),ke.em.endAst=re(ke.em.endAst,"g").replace(/punctuation/g,ke._punctuation).getRegex(),ke.em.endUnd=re(ke.em.endUnd,"g").replace(/punctuation/g,ke._punctuation).getRegex(),ke.strong.start=re(ke.strong.start).replace(/punctuation/g,ke._punctuation).getRegex(),ke.strong.middle=re(ke.strong.middle).replace(/punctuation/g,ke._punctuation).replace(/blockSkip/g,ke._blockSkip).getRegex(),ke.strong.endAst=re(ke.strong.endAst,"g").replace(/punctuation/g,ke._punctuation).getRegex(),ke.strong.endUnd=re(ke.strong.endUnd,"g").replace(/punctuation/g,ke._punctuation).getRegex(),ke.blockSkip=re(ke._blockSkip,"g").getRegex(),ke.overlapSkip=re(ke._overlapSkip,"g").getRegex(),ke._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,ke._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,ke._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,ke.autolink=re(ke.autolink).replace("scheme",ke._scheme).replace("email",ke._email).getRegex(),ke._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,ke.tag=re(ke.tag).replace("comment",be._comment).replace("attribute",ke._attribute).getRegex(),ke._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,ke._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,ke._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,ke.link=re(ke.link).replace("label",ke._label).replace("href",ke._href).replace("title",ke._title).getRegex(),ke.reflink=re(ke.reflink).replace("label",ke._label).getRegex(),ke.reflinkSearch=re(ke.reflinkSearch,"g").replace("reflink",ke.reflink).replace("nolink",ke.nolink).getRegex(),ke.normal=me({},ke),ke.pedantic=me({},ke.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:re(/^!?\[(label)\]\((.*?)\)/).replace("label",ke._label).getRegex(),reflink:re(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ke._label).getRegex()}),ke.gfm=me({},ke.normal,{escape:re(ke.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),ke.gfm.url=re(ke.gfm.url,"i").replace("email",ke.gfm._extended_email).getRegex(),ke.breaks=me({},ke.gfm,{br:re(ke.br).replace("{2,}","*").getRegex(),text:re(ke.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var ce={block:be,inline:ke},Ee=m.defaults,pe=ce.block,Se=ce.inline;function st(Qt){return Qt.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 qe(Qt){var an="",on,vt,de=Qt.length;for(on=0;on<de;on++)vt=Qt.charCodeAt(on),Math.random()>.5&&(vt="x"+vt.toString(16)),an+="&#"+vt+";";return an}var tt=function(){function Qt(on){this.tokens=[],this.tokens.links=Object.create(null),this.options=on||Ee,this.options.tokenizer=this.options.tokenizer||new ue,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var vt={block:pe.normal,inline:Se.normal};this.options.pedantic?(vt.block=pe.pedantic,vt.inline=Se.pedantic):this.options.gfm&&(vt.block=pe.gfm,this.options.breaks?vt.inline=Se.breaks:vt.inline=Se.gfm),this.tokenizer.rules=vt}Qt.lex=function(vt,de){var he=new Qt(de);return he.lex(vt)};var an=Qt.prototype;return an.lex=function(vt){return vt=vt.replace(/\r\n|\r/g,`
|
|
|
`).replace(/\t/g," "),this.blockTokens(vt,this.tokens,!0),this.inline(this.tokens),this.tokens},an.blockTokens=function(vt,de,he){de===void 0&&(de=[]),he===void 0&&(he=!0),vt=vt.replace(/^ +$/gm,"");for(var Pt,We,Je,Ln;vt;){if(Pt=this.tokenizer.space(vt)){vt=vt.substring(Pt.raw.length),Pt.type&&de.push(Pt);continue}if(Pt=this.tokenizer.code(vt,de)){vt=vt.substring(Pt.raw.length),Pt.type?de.push(Pt):(Ln=de[de.length-1],Ln.raw+=`
|
|
|
`+Pt.raw,Ln.text+=`
|
|
|
`+Pt.text);continue}if(Pt=this.tokenizer.fences(vt)){vt=vt.substring(Pt.raw.length),de.push(Pt);continue}if(Pt=this.tokenizer.heading(vt)){vt=vt.substring(Pt.raw.length),de.push(Pt);continue}if(Pt=this.tokenizer.nptable(vt)){vt=vt.substring(Pt.raw.length),de.push(Pt);continue}if(Pt=this.tokenizer.hr(vt)){vt=vt.substring(Pt.raw.length),de.push(Pt);continue}if(Pt=this.tokenizer.blockquote(vt)){vt=vt.substring(Pt.raw.length),Pt.tokens=this.blockTokens(Pt.text,[],he),de.push(Pt);continue}if(Pt=this.tokenizer.list(vt)){for(vt=vt.substring(Pt.raw.length),Je=Pt.items.length,We=0;We<Je;We++)Pt.items[We].tokens=this.blockTokens(Pt.items[We].text,[],!1);de.push(Pt);continue}if(Pt=this.tokenizer.html(vt)){vt=vt.substring(Pt.raw.length),de.push(Pt);continue}if(he&&(Pt=this.tokenizer.def(vt))){vt=vt.substring(Pt.raw.length),this.tokens.links[Pt.tag]||(this.tokens.links[Pt.tag]={href:Pt.href,title:Pt.title});continue}if(Pt=this.tokenizer.table(vt)){vt=vt.substring(Pt.raw.length),de.push(Pt);continue}if(Pt=this.tokenizer.lheading(vt)){vt=vt.substring(Pt.raw.length),de.push(Pt);continue}if(he&&(Pt=this.tokenizer.paragraph(vt))){vt=vt.substring(Pt.raw.length),de.push(Pt);continue}if(Pt=this.tokenizer.text(vt,de)){vt=vt.substring(Pt.raw.length),Pt.type?de.push(Pt):(Ln=de[de.length-1],Ln.raw+=`
|
|
|
`+Pt.raw,Ln.text+=`
|
|
|
`+Pt.text);continue}if(vt){var jn="Infinite loop on byte: "+vt.charCodeAt(0);if(this.options.silent){console.error(jn);break}else throw new Error(jn)}}return de},an.inline=function(vt){var de,he,Pt,We,Je,Ln,jn=vt.length;for(de=0;de<jn;de++){Ln=vt[de];switch(Ln.type){case"paragraph":case"text":case"heading":{Ln.tokens=[],this.inlineTokens(Ln.text,Ln.tokens);break}case"table":{for(Ln.tokens={header:[],cells:[]},We=Ln.header.length,he=0;he<We;he++)Ln.tokens.header[he]=[],this.inlineTokens(Ln.header[he],Ln.tokens.header[he]);for(We=Ln.cells.length,he=0;he<We;he++)for(Je=Ln.cells[he],Ln.tokens.cells[he]=[],Pt=0;Pt<Je.length;Pt++)Ln.tokens.cells[he][Pt]=[],this.inlineTokens(Je[Pt],Ln.tokens.cells[he][Pt]);break}case"blockquote":{this.inline(Ln.tokens);break}case"list":{for(We=Ln.items.length,he=0;he<We;he++)this.inline(Ln.items[he].tokens);break}}}return vt},an.inlineTokens=function(vt,de,he,Pt,We){de===void 0&&(de=[]),he===void 0&&(he=!1),Pt===void 0&&(Pt=!1),We===void 0&&(We="");var Je,Ln=vt,jn;if(this.tokens.links){var Sn=Object.keys(this.tokens.links);if(Sn.length>0)for(;(jn=this.tokenizer.rules.inline.reflinkSearch.exec(Ln))!=null;)Sn.includes(jn[0].slice(jn[0].lastIndexOf("[")+1,-1))&&(Ln=Ln.slice(0,jn.index)+"["+"a".repeat(jn[0].length-2)+"]"+Ln.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(jn=this.tokenizer.rules.inline.blockSkip.exec(Ln))!=null;)Ln=Ln.slice(0,jn.index)+"["+"a".repeat(jn[0].length-2)+"]"+Ln.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;vt;){if(Je=this.tokenizer.escape(vt)){vt=vt.substring(Je.raw.length),de.push(Je);continue}if(Je=this.tokenizer.tag(vt,he,Pt)){vt=vt.substring(Je.raw.length),he=Je.inLink,Pt=Je.inRawBlock,de.push(Je);continue}if(Je=this.tokenizer.link(vt)){vt=vt.substring(Je.raw.length),Je.type==="link"&&(Je.tokens=this.inlineTokens(Je.text,[],!0,Pt)),de.push(Je);continue}if(Je=this.tokenizer.reflink(vt,this.tokens.links)){vt=vt.substring(Je.raw.length),Je.type==="link"&&(Je.tokens=this.inlineTokens(Je.text,[],!0,Pt)),de.push(Je);continue}if(Je=this.tokenizer.strong(vt,Ln,We)){vt=vt.substring(Je.raw.length),Je.tokens=this.inlineTokens(Je.text,[],he,Pt),de.push(Je);continue}if(Je=this.tokenizer.em(vt,Ln,We)){vt=vt.substring(Je.raw.length),Je.tokens=this.inlineTokens(Je.text,[],he,Pt),de.push(Je);continue}if(Je=this.tokenizer.codespan(vt)){vt=vt.substring(Je.raw.length),de.push(Je);continue}if(Je=this.tokenizer.br(vt)){vt=vt.substring(Je.raw.length),de.push(Je);continue}if(Je=this.tokenizer.del(vt)){vt=vt.substring(Je.raw.length),Je.tokens=this.inlineTokens(Je.text,[],he,Pt),de.push(Je);continue}if(Je=this.tokenizer.autolink(vt,qe)){vt=vt.substring(Je.raw.length),de.push(Je);continue}if(!he&&(Je=this.tokenizer.url(vt,qe))){vt=vt.substring(Je.raw.length),de.push(Je);continue}if(Je=this.tokenizer.inlineText(vt,Pt,st)){vt=vt.substring(Je.raw.length),We=Je.raw.slice(-1),de.push(Je);continue}if(vt){var Xn="Infinite loop on byte: "+vt.charCodeAt(0);if(this.options.silent){console.error(Xn);break}else throw new Error(Xn)}}return de},L(Qt,null,[{key:"rules",get:function(){return{block:pe,inline:Se}}}]),Qt}(),Dt=m.defaults,ct=H.cleanUrl,St=H.escape,rt=function(){function Qt(on){this.options=on||Dt}var an=Qt.prototype;return an.code=function(vt,de,he){var Pt=(de||"").match(/\S*/)[0];if(this.options.highlight){var We=this.options.highlight(vt,Pt);We!=null&&We!==vt&&(he=!0,vt=We)}return Pt?'<pre><code class="'+this.options.langPrefix+St(Pt,!0)+'">'+(he?vt:St(vt,!0))+`</code></pre>
|
|
|
`:"<pre><code>"+(he?vt:St(vt,!0))+`</code></pre>
|
|
|
`},an.blockquote=function(vt){return`<blockquote>
|
|
|
`+vt+`</blockquote>
|
|
|
`},an.html=function(vt){return vt},an.heading=function(vt,de,he,Pt){return this.options.headerIds?"<h"+de+' id="'+this.options.headerPrefix+Pt.slug(he)+'">'+vt+"</h"+de+`>
|
|
|
`:"<h"+de+">"+vt+"</h"+de+`>
|
|
|
`},an.hr=function(){return this.options.xhtml?`<hr/>
|
|
|
`:`<hr>
|
|
|
`},an.list=function(vt,de,he){var Pt=de?"ol":"ul",We=de&&he!==1?' start="'+he+'"':"";return"<"+Pt+We+`>
|
|
|
`+vt+"</"+Pt+`>
|
|
|
`},an.listitem=function(vt){return"<li>"+vt+`</li>
|
|
|
`},an.checkbox=function(vt){return"<input "+(vt?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},an.paragraph=function(vt){return"<p>"+vt+`</p>
|
|
|
`},an.table=function(vt,de){return de&&(de="<tbody>"+de+"</tbody>"),`<table>
|
|
|
<thead>
|
|
|
`+vt+`</thead>
|
|
|
`+de+`</table>
|
|
|
`},an.tablerow=function(vt){return`<tr>
|
|
|
`+vt+`</tr>
|
|
|
`},an.tablecell=function(vt,de){var he=de.header?"th":"td",Pt=de.align?"<"+he+' align="'+de.align+'">':"<"+he+">";return Pt+vt+"</"+he+`>
|
|
|
`},an.strong=function(vt){return"<strong>"+vt+"</strong>"},an.em=function(vt){return"<em>"+vt+"</em>"},an.codespan=function(vt){return"<code>"+vt+"</code>"},an.br=function(){return this.options.xhtml?"<br/>":"<br>"},an.del=function(vt){return"<del>"+vt+"</del>"},an.link=function(vt,de,he){if(vt=ct(this.options.sanitize,this.options.baseUrl,vt),vt===null)return he;var Pt='<a href="'+St(vt)+'"';return de&&(Pt+=' title="'+de+'"'),Pt+=">"+he+"</a>",Pt},an.image=function(vt,de,he){if(vt=ct(this.options.sanitize,this.options.baseUrl,vt),vt===null)return he;var Pt='<img src="'+vt+'" alt="'+he+'"';return de&&(Pt+=' title="'+de+'"'),Pt+=this.options.xhtml?"/>":">",Pt},an.text=function(vt){return vt},Qt}(),ht=function(){function Qt(){}var an=Qt.prototype;return an.strong=function(vt){return vt},an.em=function(vt){return vt},an.codespan=function(vt){return vt},an.del=function(vt){return vt},an.html=function(vt){return vt},an.text=function(vt){return vt},an.link=function(vt,de,he){return""+he},an.image=function(vt,de,he){return""+he},an.br=function(){return""},Qt}(),je=function(){function Qt(){this.seen={}}var an=Qt.prototype;return an.slug=function(vt){var de=vt.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(de)){var he=de;do this.seen[he]++,de=he+"-"+this.seen[he];while(this.seen.hasOwnProperty(de))}return this.seen[de]=0,de},Qt}(),Me=m.defaults,Ne=H.unescape,it=function(){function Qt(on){this.options=on||Me,this.options.renderer=this.options.renderer||new rt,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new ht,this.slugger=new je}Qt.parse=function(vt,de){var he=new Qt(de);return he.parse(vt)};var an=Qt.prototype;return an.parse=function(vt,de){de===void 0&&(de=!0);var he="",Pt,We,Je,Ln,jn,Sn,Xn,rr,hr,gn,vn,Ft,Ye,Pe,Jt,bn,An,dn,vr=vt.length;for(Pt=0;Pt<vr;Pt++){gn=vt[Pt];switch(gn.type){case"space":continue;case"hr":{he+=this.renderer.hr();continue}case"heading":{he+=this.renderer.heading(this.parseInline(gn.tokens),gn.depth,Ne(this.parseInline(gn.tokens,this.textRenderer)),this.slugger);continue}case"code":{he+=this.renderer.code(gn.text,gn.lang,gn.escaped);continue}case"table":{for(rr="",Xn="",Ln=gn.header.length,We=0;We<Ln;We++)Xn+=this.renderer.tablecell(this.parseInline(gn.tokens.header[We]),{header:!0,align:gn.align[We]});for(rr+=this.renderer.tablerow(Xn),hr="",Ln=gn.cells.length,We=0;We<Ln;We++){for(Sn=gn.tokens.cells[We],Xn="",jn=Sn.length,Je=0;Je<jn;Je++)Xn+=this.renderer.tablecell(this.parseInline(Sn[Je]),{header:!1,align:gn.align[Je]});hr+=this.renderer.tablerow(Xn)}he+=this.renderer.table(rr,hr);continue}case"blockquote":{hr=this.parse(gn.tokens),he+=this.renderer.blockquote(hr);continue}case"list":{for(vn=gn.ordered,Ft=gn.start,Ye=gn.loose,Ln=gn.items.length,hr="",We=0;We<Ln;We++)Jt=gn.items[We],bn=Jt.checked,An=Jt.task,Pe="",Jt.task&&(dn=this.renderer.checkbox(bn),Ye?Jt.tokens.length>0&&Jt.tokens[0].type==="text"?(Jt.tokens[0].text=dn+" "+Jt.tokens[0].text,Jt.tokens[0].tokens&&Jt.tokens[0].tokens.length>0&&Jt.tokens[0].tokens[0].type==="text"&&(Jt.tokens[0].tokens[0].text=dn+" "+Jt.tokens[0].tokens[0].text)):Jt.tokens.unshift({type:"text",text:dn}):Pe+=dn),Pe+=this.parse(Jt.tokens,Ye),hr+=this.renderer.listitem(Pe,An,bn);he+=this.renderer.list(hr,vn,Ft);continue}case"html":{he+=this.renderer.html(gn.text);continue}case"paragraph":{he+=this.renderer.paragraph(this.parseInline(gn.tokens));continue}case"text":{for(hr=gn.tokens?this.parseInline(gn.tokens):gn.text;Pt+1<vr&&vt[Pt+1].type==="text";)gn=vt[++Pt],hr+=`
|
|
|
`+(gn.tokens?this.parseInline(gn.tokens):gn.text);he+=de?this.renderer.paragraph(hr):hr;continue}default:{var qn='Token with "'+gn.type+'" type was not found.';if(this.options.silent){console.error(qn);return}else throw new Error(qn)}}}return he},an.parseInline=function(vt,de){de=de||this.renderer;var he="",Pt,We,Je=vt.length;for(Pt=0;Pt<Je;Pt++){We=vt[Pt];switch(We.type){case"escape":{he+=de.text(We.text);break}case"html":{he+=de.html(We.text);break}case"link":{he+=de.link(We.href,We.title,this.parseInline(We.tokens,de));break}case"image":{he+=de.image(We.href,We.title,We.text);break}case"strong":{he+=de.strong(this.parseInline(We.tokens,de));break}case"em":{he+=de.em(this.parseInline(We.tokens,de));break}case"codespan":{he+=de.codespan(We.text);break}case"br":{he+=de.br();break}case"del":{he+=de.del(this.parseInline(We.tokens,de));break}case"text":{he+=de.text(We.text);break}default:{var Ln='Token with "'+We.type+'" type was not found.';if(this.options.silent){console.error(Ln);return}else throw new Error(Ln)}}}return he},Qt}(),wt=H.merge,jt=H.checkSanitizeDeprecation,lt=H.escape,Te=m.getDefaults,mt=m.changeDefaults,tn=m.defaults;function Vt(Qt,an,on){if(typeof Qt=="undefined"||Qt===null)throw new Error("marked(): input parameter is undefined or null");if(typeof Qt!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(Qt)+", string expected");if(typeof an=="function"&&(on=an,an=null),an=wt({},Vt.defaults,an||{}),jt(an),on){var vt=an.highlight,de;try{de=tt.lex(Qt,an)}catch(Je){return on(Je)}var he=function(Ln){var jn;if(!Ln)try{jn=it.parse(de,an)}catch(Sn){Ln=Sn}return an.highlight=vt,Ln?on(Ln):on(null,jn)};if(!vt||vt.length<3)return he();if(delete an.highlight,!de.length)return he();var Pt=0;Vt.walkTokens(de,function(Je){Je.type==="code"&&(Pt++,setTimeout(function(){vt(Je.text,Je.lang,function(Ln,jn){if(Ln)return he(Ln);jn!=null&&jn!==Je.text&&(Je.text=jn,Je.escaped=!0),Pt--,Pt===0&&he()})},0))}),Pt===0&&he();return}try{var We=tt.lex(Qt,an);return an.walkTokens&&Vt.walkTokens(We,an.walkTokens),it.parse(We,an)}catch(Je){if(Je.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,an.silent)return"<p>An error occurred:</p><pre>"+lt(Je.message+"",!0)+"</pre>";throw Je}}Vt.options=Vt.setOptions=function(Qt){return wt(Vt.defaults,Qt),mt(Vt.defaults),Vt},Vt.getDefaults=Te,Vt.defaults=tn,Vt.use=function(Qt){var an=wt({},Qt);if(Qt.renderer&&function(){var vt=Vt.defaults.renderer||new rt,de=function(We){var Je=vt[We];vt[We]=function(){for(var Ln=arguments.length,jn=new Array(Ln),Sn=0;Sn<Ln;Sn++)jn[Sn]=arguments[Sn];var Xn=Qt.renderer[We].apply(vt,jn);return Xn===!1&&(Xn=Je.apply(vt,jn)),Xn}};for(var he in Qt.renderer)de(he);an.renderer=vt}(),Qt.tokenizer&&function(){var vt=Vt.defaults.tokenizer||new ue,de=function(We){var Je=vt[We];vt[We]=function(){for(var Ln=arguments.length,jn=new Array(Ln),Sn=0;Sn<Ln;Sn++)jn[Sn]=arguments[Sn];var Xn=Qt.tokenizer[We].apply(vt,jn);return Xn===!1&&(Xn=Je.apply(vt,jn)),Xn}};for(var he in Qt.tokenizer)de(he);an.tokenizer=vt}(),Qt.walkTokens){var on=Vt.defaults.walkTokens;an.walkTokens=function(vt){Qt.walkTokens(vt),on&&on(vt)}}Vt.setOptions(an)},Vt.walkTokens=function(Qt,an){for(var on=A(Qt),vt;!(vt=on()).done;){var de=vt.value;an(de);switch(de.type){case"table":{for(var he=A(de.tokens.header),Pt;!(Pt=he()).done;){var We=Pt.value;Vt.walkTokens(We,an)}for(var Je=A(de.tokens.cells),Ln;!(Ln=Je()).done;)for(var jn=Ln.value,Sn=A(jn),Xn;!(Xn=Sn()).done;){var rr=Xn.value;Vt.walkTokens(rr,an)}break}case"list":{Vt.walkTokens(de.items,an);break}default:de.tokens&&Vt.walkTokens(de.tokens,an)}}},Vt.Parser=it,Vt.parser=it.parse,Vt.Renderer=rt,Vt.TextRenderer=ht,Vt.Lexer=tt,Vt.lexer=tt.lex,Vt.Tokenizer=ue,Vt.Slugger=je,Vt.parse=Vt;var Yt=Vt;return Yt})},"DlR+":function(te,U,e){var y=e("MFOe"),L=y.Global,g=y.trim;te.exports={name:"cookieStorage",read:A,write:m,each:b,remove:d,clearAll:r};var v=L.document;function A(s){if(!s||!a(s))return null;var i="(?:^|.*;\\s*)"+escape(s).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(v.cookie.replace(new RegExp(i),"$1"))}function b(s){for(var i=v.cookie.split(/; ?/g),n=i.length-1;n>=0;n--){if(!g(i[n]))continue;var l=i[n].split("="),t=unescape(l[0]),u=unescape(l[1]);s(u,t)}}function m(s,i){if(!s)return;v.cookie=escape(s)+"="+escape(i)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"}function d(s){if(!s||!a(s))return;v.cookie=escape(s)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"}function r(){b(function(s,i){d(i)})}function a(s){return new RegExp("(?:^|;\\s*)"+escape(s).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(v.cookie)}},Ducp:function(te,U,e){var y=e("bYtY"),L=e("IwbS"),g=e("+TT/"),v=e("XpcN"),A=L.Group,b=["width","height"],m=["x","y"],d=v.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){d.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new A),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new A),this._showController},resetInner:function(){d.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(a,s,i,n,l,t,u){var o=this;d.superCall(this,"renderInner",a,s,i,n,l,t,u);var c=this._controllerGroup,h=s.get("pageIconSize",!0);y.isArray(h)||(h=[h,h]),w("pagePrev",0);var f=s.getModel("pageTextStyle");c.add(new L.Text({name:"pageText",style:{textFill:f.getTextColor(),font:f.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),w("pageNext",1);function w(x,I){var C=x+"DataIndex",N=L.createIcon(s.get("pageIcons",!0)[s.getOrient().name][I],{onclick:y.bind(o._pageGo,o,C,s,n)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});N.name=x,c.add(N)}},layoutInner:function(a,s,i,n,l,t){var u=this.getSelectorGroup(),o=a.getOrient().index,c=b[o],h=m[o],f=b[1-o],w=m[1-o];l&&g.box("horizontal",u,a.get("selectorItemGap",!0));var x=a.get("selectorButtonGap",!0),I=u.getBoundingRect(),C=[-I.x,-I.y],N=y.clone(i);l&&(N[c]=i[c]-I[c]-x);var S=this._layoutContentAndController(a,n,N,o,c,f,w);if(l){if(t==="end")C[o]+=S[c]+x;else{var E=I[c]+x;C[o]-=E,S[h]-=E}S[c]+=I[c]+x,C[1-o]+=S[w]+S[f]/2-I[f]/2,S[f]=Math.max(S[f],I[f]),S[w]=Math.min(S[w],I[w]+C[1-o]),u.attr("position",C)}return S},_layoutContentAndController:function(a,s,i,n,l,t,u){var o=this.getContentGroup(),c=this._containerGroup,h=this._controllerGroup;g.box(a.get("orient"),o,a.get("itemGap"),n?i.width:null,n?null:i.height),g.box("horizontal",h,a.get("pageButtonItemGap",!0));var f=o.getBoundingRect(),w=h.getBoundingRect(),x=this._showController=f[l]>i[l],I=[-f.x,-f.y];s||(I[n]=o.position[n]);var C=[0,0],N=[-w.x,-w.y],S=y.retrieve2(a.get("pageButtonGap",!0),a.get("itemGap",!0));if(x){var E=a.get("pageButtonPosition",!0);E==="end"?N[n]+=i[l]-w[l]:C[n]+=w[l]+S}N[1-n]+=f[t]/2-w[t]/2,o.attr("position",I),c.attr("position",C),h.attr("position",N);var T={x:0,y:0};if(T[l]=x?i[l]:f[l],T[t]=Math.max(f[t],w[t]),T[u]=Math.min(0,w[u]+N[1-n]),c.__rectSize=i[l],x){var D={x:0,y:0};D[l]=Math.max(i[l]-w[l]-S,0),D[t]=T[t],c.setClipPath(new L.Rect({shape:D})),c.__rectSize=D[l]}else h.eachChild(function(R){R.attr({invisible:!0,silent:!0})});var B=this._getPageInfo(a);return B.pageIndex!=null&&L.updateProps(o,{position:B.contentPosition},x?a:!1),this._updatePageInfoView(a,B),T},_pageGo:function(a,s,i){var n=this._getPageInfo(s)[a];n!=null&&i.dispatchAction({type:"legendScroll",scrollDataIndex:n,legendId:s.id})},_updatePageInfoView:function(a,s){var i=this._controllerGroup;y.each(["pagePrev","pageNext"],function(c){var h=s[c+"DataIndex"]!=null,f=i.childOfName(c);f&&(f.setStyle("fill",h?a.get("pageIconColor",!0):a.get("pageIconInactiveColor",!0)),f.cursor=h?"pointer":"default")});var n=i.childOfName("pageText"),l=a.get("pageFormatter"),t=s.pageIndex,u=t!=null?t+1:0,o=s.pageCount;n&&l&&n.setStyle("text",y.isString(l)?l.replace("{current}",u).replace("{total}",o):l({current:u,total:o}))},_getPageInfo:function(a){var s=a.get("scrollDataIndex",!0),i=this.getContentGroup(),n=this._containerGroup.__rectSize,l=a.getOrient().index,t=b[l],u=m[l],o=this._findTargetItemIndex(s),c=i.children(),h=c[o],f=c.length,w=f?1:0,x={contentPosition:i.position.slice(),pageCount:w,pageIndex:w-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!h)return x;var I=T(h);x.contentPosition[l]=-I.s;for(var C=o+1,N=I,S=I,E=null;C<=f;++C)E=T(c[C]),(!E&&S.e>N.s+n||E&&!D(E,N.s))&&(S.i>N.i?N=S:N=E,N&&(x.pageNextDataIndex==null&&(x.pageNextDataIndex=N.i),++x.pageCount)),S=E;for(var C=o-1,N=I,S=I,E=null;C>=-1;--C)E=T(c[C]),(!E||!D(S,E.s))&&N.i<S.i&&(S=N,x.pagePrevDataIndex==null&&(x.pagePrevDataIndex=N.i),++x.pageCount,++x.pageIndex),N=E;return x;function T(B){if(B){var R=B.getBoundingRect(),F=R[u]+B.position[l];return{s:F,e:F+R[t],i:B.__legendDataIndex}}}function D(B,R){return B.e>=R&&B.s<=R+n}},_findTargetItemIndex:function(a){if(!this._showController)return 0;var s,i=this.getContentGroup(),n;return i.eachChild(function(l,t){var u=l.__legendDataIndex;n==null&&u!=null&&(n=t),u===a&&(s=t)}),s!=null?s:n}}),r=d;te.exports=r},"E/ki":function(te,U,e){"use strict";Object.defineProperty(U,"__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"};U.default=y},E2g8:function(te,U,e){(function(y,L){/*!
|
|
|
* @overview es6-promise - a tiny implementation of Promises/A+.
|
|
|
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
|
|
|
* @license Licensed under MIT license
|
|
|
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
|
|
|
* @version v4.2.8+1e68dce6
|
|
|
*/(function(g,v){te.exports=v()})(this,function(){"use strict";function g(rt){var ht=typeof rt;return rt!==null&&(ht==="object"||ht==="function")}function v(rt){return typeof rt=="function"}var A=void 0;Array.isArray?A=Array.isArray:A=function(ht){return Object.prototype.toString.call(ht)==="[object Array]"};var b=A,m=0,d=void 0,r=void 0,a=function(ht,je){I[m]=ht,I[m+1]=je,m+=2,m===2&&(r?r(C):S())};function s(rt){r=rt}function i(rt){a=rt}var n=typeof window!="undefined"?window:void 0,l=n||{},t=l.MutationObserver||l.WebKitMutationObserver,u=typeof self=="undefined"&&typeof y!="undefined"&&{}.toString.call(y)==="[object process]",o=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function c(){return function(){return y.nextTick(C)}}function h(){return typeof d!="undefined"?function(){d(C)}:x()}function f(){var rt=0,ht=new t(C),je=document.createTextNode("");return ht.observe(je,{characterData:!0}),function(){je.data=rt=++rt%2}}function w(){var rt=new MessageChannel;return rt.port1.onmessage=C,function(){return rt.port2.postMessage(0)}}function x(){var rt=setTimeout;return function(){return rt(C,1)}}var I=new Array(1e3);function C(){for(var rt=0;rt<m;rt+=2){var ht=I[rt],je=I[rt+1];ht(je),I[rt]=void 0,I[rt+1]=void 0}m=0}function N(){try{var rt=Function("return this")().require("vertx");return d=rt.runOnLoop||rt.runOnContext,h()}catch(ht){return x()}}var S=void 0;u?S=c():t?S=f():o?S=w():n===void 0&&!0?S=N():S=x();function E(rt,ht){var je=this,Me=new this.constructor(B);Me[D]===void 0&&ce(Me);var Ne=je._state;if(Ne){var it=arguments[Ne-1];a(function(){return re(Ne,Me,it,je._result)})}else ue(je,Me,rt,ht);return Me}function T(rt){var ht=this;if(rt&&typeof rt=="object"&&rt.constructor===ht)return rt;var je=new ht(B);return Y(je,rt),je}var D=Math.random().toString(36).substring(2);function B(){}var R=void 0,F=1,M=2;function K(){return new TypeError("You cannot resolve a promise with itself")}function j(){return new TypeError("A promises callback cannot return that same promise.")}function H(rt,ht,je,Me){try{rt.call(ht,je,Me)}catch(Ne){return Ne}}function k(rt,ht,je){a(function(Me){var Ne=!1,it=H(je,ht,function(wt){if(Ne)return;Ne=!0,ht!==wt?Y(Me,wt):G(Me,wt)},function(wt){if(Ne)return;Ne=!0,J(Me,wt)},"Settle: "+(Me._label||" unknown promise"));!Ne&&it&&(Ne=!0,J(Me,it))},rt)}function P(rt,ht){ht._state===F?G(rt,ht._result):ht._state===M?J(rt,ht._result):ue(ht,void 0,function(je){return Y(rt,je)},function(je){return J(rt,je)})}function z(rt,ht,je){ht.constructor===rt.constructor&&je===E&&ht.constructor.resolve===T?P(rt,ht):je===void 0?G(rt,ht):v(je)?k(rt,ht,je):G(rt,ht)}function Y(rt,ht){if(rt===ht)J(rt,K());else if(g(ht)){var je=void 0;try{je=ht.then}catch(Me){J(rt,Me);return}z(rt,ht,je)}else G(rt,ht)}function _(rt){rt._onerror&&rt._onerror(rt._result),q(rt)}function G(rt,ht){if(rt._state!==R)return;rt._result=ht,rt._state=F,rt._subscribers.length!==0&&a(q,rt)}function J(rt,ht){if(rt._state!==R)return;rt._state=M,rt._result=ht,a(_,rt)}function ue(rt,ht,je,Me){var Ne=rt._subscribers,it=Ne.length;rt._onerror=null,Ne[it]=ht,Ne[it+F]=je,Ne[it+M]=Me,it===0&&rt._state&&a(q,rt)}function q(rt){var ht=rt._subscribers,je=rt._state;if(ht.length===0)return;for(var Me=void 0,Ne=void 0,it=rt._result,wt=0;wt<ht.length;wt+=3)Me=ht[wt],Ne=ht[wt+je],Me?re(je,Me,Ne,it):Ne(it);rt._subscribers.length=0}function re(rt,ht,je,Me){var Ne=v(je),it=void 0,wt=void 0,jt=!0;if(Ne){try{it=je(Me)}catch(lt){jt=!1,wt=lt}if(ht===it){J(ht,j());return}}else it=Me;ht._state!==R||(Ne&&jt?Y(ht,it):jt===!1?J(ht,wt):rt===F?G(ht,it):rt===M&&J(ht,it))}function me(rt,ht){try{ht(function(Me){Y(rt,Me)},function(Me){J(rt,Me)})}catch(je){J(rt,je)}}var be=0;function ke(){return be++}function ce(rt){rt[D]=be++,rt._state=void 0,rt._result=void 0,rt._subscribers=[]}function Ee(){return new Error("Array Methods must be provided an Array")}var pe=function(){function rt(ht,je){this._instanceConstructor=ht,this.promise=new ht(B),this.promise[D]||ce(this.promise),b(je)?(this.length=je.length,this._remaining=je.length,this._result=new Array(this.length),this.length===0?G(this.promise,this._result):(this.length=this.length||0,this._enumerate(je),this._remaining===0&&G(this.promise,this._result))):J(this.promise,Ee())}return rt.prototype._enumerate=function(je){for(var Me=0;this._state===R&&Me<je.length;Me++)this._eachEntry(je[Me],Me)},rt.prototype._eachEntry=function(je,Me){var Ne=this._instanceConstructor,it=Ne.resolve;if(it===T){var wt=void 0,jt=void 0,lt=!1;try{wt=je.then}catch(mt){lt=!0,jt=mt}if(wt===E&&je._state!==R)this._settledAt(je._state,Me,je._result);else if(typeof wt!="function")this._remaining--,this._result[Me]=je;else if(Ne===ct){var Te=new Ne(B);lt?J(Te,jt):z(Te,je,wt),this._willSettleAt(Te,Me)}else this._willSettleAt(new Ne(function(mt){return mt(je)}),Me)}else this._willSettleAt(it(je),Me)},rt.prototype._settledAt=function(je,Me,Ne){var it=this.promise;it._state===R&&(this._remaining--,je===M?J(it,Ne):this._result[Me]=Ne),this._remaining===0&&G(it,this._result)},rt.prototype._willSettleAt=function(je,Me){var Ne=this;ue(je,void 0,function(it){return Ne._settledAt(F,Me,it)},function(it){return Ne._settledAt(M,Me,it)})},rt}();function Se(rt){return new pe(this,rt).promise}function st(rt){var ht=this;return b(rt)?new ht(function(je,Me){for(var Ne=rt.length,it=0;it<Ne;it++)ht.resolve(rt[it]).then(je,Me)}):new ht(function(je,Me){return Me(new TypeError("You must pass an array to race."))})}function qe(rt){var ht=this,je=new ht(B);return J(je,rt),je}function tt(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Dt(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var ct=function(){function rt(ht){this[D]=ke(),this._result=this._state=void 0,this._subscribers=[],B!==ht&&(typeof ht!="function"&&tt(),this instanceof rt?me(this,ht):Dt())}return rt.prototype.catch=function(je){return this.then(null,je)},rt.prototype.finally=function(je){var Me=this,Ne=Me.constructor;return v(je)?Me.then(function(it){return Ne.resolve(je()).then(function(){return it})},function(it){return Ne.resolve(je()).then(function(){throw it})}):Me.then(je,je)},rt}();ct.prototype.then=E,ct.all=Se,ct.race=st,ct.resolve=T,ct.reject=qe,ct._setScheduler=s,ct._setAsap=i,ct._asap=a;function St(){var rt=void 0;if(typeof L!="undefined")rt=L;else if(typeof self!="undefined")rt=self;else try{rt=Function("return this")()}catch(Me){throw new Error("polyfill failed because global object is unavailable in this environment")}var ht=rt.Promise;if(ht){var je=null;try{je=Object.prototype.toString.call(ht.resolve())}catch(Me){}if(je==="[object Promise]"&&!ht.cast)return}rt.Promise=ct}return ct.polyfill=St,ct.Promise=ct,ct})}).call(this,e("Q2Ig"),e("IyRk"))},E9nw:function(te,U){te.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var y=document.activeElement,L=[],g=0;g<e.rangeCount;g++)L.push(e.getRangeAt(g));switch(y.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":y.blur();break;default:y=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||L.forEach(function(v){e.addRange(v)}),y&&y.focus()}}},ELLl:function(te,U,e){(function(y){y(e("VrN/"))})(function(y){var L={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},g=y.Pos;y.defineOption("autoCloseBrackets",!1,function(t,u,o){o&&o!=y.Init&&(t.removeKeyMap(A),t.state.closeBrackets=null),u&&(b(v(u,"pairs")),t.state.closeBrackets=u,t.addKeyMap(A))});function v(t,u){return u=="pairs"&&typeof t=="string"?t:typeof t=="object"&&t[u]!=null?t[u]:L[u]}var A={Backspace:r,Enter:a};function b(t){for(var u=0;u<t.length;u++){var o=t.charAt(u),c="'"+o+"'";A[c]||(A[c]=m(o))}}b(L.pairs+"`");function m(t){return function(u){return i(u,t)}}function d(t){var u=t.state.closeBrackets;if(!u||u.override)return u;var o=t.getModeAt(t.getCursor());return o.closeBrackets||u}function r(t){var u=d(t);if(!u||t.getOption("disableInput"))return y.Pass;for(var o=v(u,"pairs"),c=t.listSelections(),h=0;h<c.length;h++){if(!c[h].empty())return y.Pass;var f=n(t,c[h].head);if(!f||o.indexOf(f)%2!=0)return y.Pass}for(var h=c.length-1;h>=0;h--){var w=c[h].head;t.replaceRange("",g(w.line,w.ch-1),g(w.line,w.ch+1),"+delete")}}function a(t){var u=d(t),o=u&&v(u,"explode");if(!o||t.getOption("disableInput"))return y.Pass;for(var c=t.listSelections(),h=0;h<c.length;h++){if(!c[h].empty())return y.Pass;var f=n(t,c[h].head);if(!f||o.indexOf(f)%2!=0)return y.Pass}t.operation(function(){var w=t.lineSeparator()||`
|
|
|
`;t.replaceSelection(w+w,null),t.execCommand("goCharLeft"),c=t.listSelections();for(var x=0;x<c.length;x++){var I=c[x].head.line;t.indentLine(I,null,!0),t.indentLine(I+1,null,!0)}})}function s(t){var u=y.cmpPos(t.anchor,t.head)>0;return{anchor:new g(t.anchor.line,t.anchor.ch+(u?-1:1)),head:new g(t.head.line,t.head.ch+(u?1:-1))}}function i(t,u){var o=d(t);if(!o||t.getOption("disableInput"))return y.Pass;var c=v(o,"pairs"),h=c.indexOf(u);if(h==-1)return y.Pass;for(var f=v(o,"closeBefore"),w=v(o,"triples"),x=c.charAt(h+1)==u,I=t.listSelections(),C=h%2==0,N,S=0;S<I.length;S++){var E=I[S],T=E.head,D,B=t.getRange(T,g(T.line,T.ch+1));if(C&&!E.empty())D="surround";else if((x||!C)&&B==u)x&&l(t,T)?D="both":w.indexOf(u)>=0&&t.getRange(T,g(T.line,T.ch+3))==u+u+u?D="skipThree":D="skip";else if(x&&T.ch>1&&w.indexOf(u)>=0&&t.getRange(g(T.line,T.ch-2),T)==u+u){if(T.ch>2&&/\bstring/.test(t.getTokenTypeAt(g(T.line,T.ch-2))))return y.Pass;D="addFour"}else if(x){var R=T.ch==0?" ":t.getRange(g(T.line,T.ch-1),T);if(!y.isWordChar(B)&&R!=u&&!y.isWordChar(R))D="both";else return y.Pass}else if(C&&(B.length===0||/\s/.test(B)||f.indexOf(B)>-1))D="both";else return y.Pass;if(!N)N=D;else if(N!=D)return y.Pass}var F=h%2?c.charAt(h-1):u,M=h%2?u:c.charAt(h+1);t.operation(function(){if(N=="skip")t.execCommand("goCharRight");else if(N=="skipThree")for(var K=0;K<3;K++)t.execCommand("goCharRight");else if(N=="surround"){for(var j=t.getSelections(),K=0;K<j.length;K++)j[K]=F+j[K]+M;t.replaceSelections(j,"around"),j=t.listSelections().slice();for(var K=0;K<j.length;K++)j[K]=s(j[K]);t.setSelections(j)}else N=="both"?(t.replaceSelection(F+M,null),t.triggerElectric(F+M),t.execCommand("goCharLeft")):N=="addFour"&&(t.replaceSelection(F+F+F+F,"before"),t.execCommand("goCharRight"))})}function n(t,u){var o=t.getRange(g(u.line,u.ch-1),g(u.line,u.ch+1));return o.length==2?o:null}function l(t,u){var o=t.getTokenAt(g(u.line,u.ch+1));return/\bstring/.test(o.type)&&o.start==u.ch&&(u.ch==0||!/\bstring/.test(t.getTokenTypeAt(u)))}})},EMyp:function(te,U,e){var y=e("ProS"),L=e("bYtY"),g=e("mFDi"),v=e("K4ya"),A=e("qJCg"),b=e("iLNv"),m=e("vZ6x"),d=["inBrush","outOfBrush"],r="__ecBrushSelect",a="__ecInBrushSelectEvent",s=y.PRIORITY.VISUAL.BRUSH;y.registerLayout(s,function(w,x,I){w.eachComponent({mainType:"brush"},function(C){I&&I.type==="takeGlobalCursor"&&C.setBrushOption(I.key==="brush"?I.brushOption:{brushType:!1})}),i(w)});function i(w){w.eachComponent({mainType:"brush"},function(x){var I=x.brushTargetManager=new m(x.option,w);I.setInputRanges(x.areas,w)})}y.registerVisual(s,function(w,x,I){var C=[],N,S;w.eachComponent({mainType:"brush"},function(E,T){var D={brushId:E.id,brushIndex:T,brushName:E.name,areas:L.clone(E.areas),selected:[]};C.push(D);var B=E.option,R=B.brushLink,F=[],M=[],K=[],j=0;T||(N=B.throttleType,S=B.throttleDelay);var H=L.map(E.areas,function(G){return c(L.defaults({boundingRect:h[G.brushType](G)},G))}),k=v.createVisualMappings(E.option,d,function(G){G.mappingMethod="fixed"});L.isArray(R)&&L.each(R,function(G){F[G]=1});function P(G){return R==="all"||F[G]}function z(G){return!!G.length}w.eachSeries(function(G,J){var ue=K[J]=[];G.subType==="parallel"?Y(G,J,ue):_(G,J,ue)});function Y(G,J){var ue=G.coordinateSystem;j|=ue.hasAxisBrushed(),P(J)&&ue.eachActiveState(G.getData(),function(q,re){q==="active"&&(M[re]=1)})}function _(G,J,ue){var q=u(G);if(!q||o(E,J))return;if(L.each(H,function(me){q[me.brushType]&&E.brushTargetManager.controlSeries(me,G,w)&&ue.push(me),j|=z(ue)}),P(J)&&z(ue)){var re=G.getData();re.each(function(me){t(q,ue,re,me)&&(M[me]=1)})}}w.eachSeries(function(G,J){var ue={seriesId:G.id,seriesIndex:J,seriesName:G.name,dataIndex:[]};D.selected.push(ue);var q=u(G),re=K[J],me=G.getData(),be=P(J)?function(ke){return M[ke]?(ue.dataIndex.push(me.getRawIndex(ke)),"inBrush"):"outOfBrush"}:function(ke){return t(q,re,me,ke)?(ue.dataIndex.push(me.getRawIndex(ke)),"inBrush"):"outOfBrush"};(P(J)?j:z(re))&&v.applyVisual(d,k,me,be)})}),n(x,N,S,C,I)});function n(w,x,I,C,N){if(!N)return;var S=w.getZr();if(S[a])return;S[r]||(S[r]=l);var E=b.createOrUpdate(S,r,I,x);E(w,C)}function l(w,x){if(!w.isDisposed()){var I=w.getZr();I[a]=!0,w.dispatchAction({type:"brushSelect",batch:x}),I[a]=!1}}function t(w,x,I,C){for(var N=0,S=x.length;N<S;N++){var E=x[N];if(w[E.brushType](C,I,E.selectors,E))return!0}}function u(w){var x=w.brushSelector;if(L.isString(x)){var I=[];return L.each(A,function(N,S){I[S]=function(E,T,D,B){var R=T.getItemLayout(E);return N[x](R,D,B)}}),I}else if(L.isFunction(x)){var C={};return L.each(A,function(N,S){C[S]=x}),C}return x}function o(w,x){var I=w.option.seriesIndex;return I!=null&&I!=="all"&&(L.isArray(I)?L.indexOf(I,x)<0:x!==I)}function c(w){var x=w.selectors={};return L.each(A[w.brushType],function(I,C){x[C]=function(N){return I(N,x,w)}}),w}var h={lineX:L.noop,lineY:L.noop,rect:function(w){return f(w.range)},polygon:function(w){for(var x,I=w.range,C=0,N=I.length;C<N;C++){x=x||[[Infinity,-Infinity],[Infinity,-Infinity]];var S=I[C];S[0]<x[0][0]&&(x[0][0]=S[0]),S[0]>x[0][1]&&(x[0][1]=S[0]),S[1]<x[1][0]&&(x[1][0]=S[1]),S[1]>x[1][1]&&(x[1][1]=S[1])}return x&&f(x)}};function f(w){return new g(w[0][0],w[1][0],w[0][1]-w[0][0],w[1][1]-w[1][0])}U.layoutCovers=i},ERHi:function(te,U,e){var y=e("ProS");e("Z6js"),e("R4Th");var L=e("f5Yq"),g=e("h8O9");y.registerVisual(L("effectScatter","circle")),y.registerLayout(g("effectScatter"))},EXcs:function(te,U,e){"use strict";var y=function(){return{height:0,opacity:0}},L=function(m){return{height:m.scrollHeight,opacity:1}},g=function(m){return{height:m.offsetHeight}},v=function(m,d){return d.propertyName==="height"},A={motionName:"ant-motion-collapse",onAppearStart:y,onEnterStart:y,onAppearActive:L,onEnterActive:L,onLeaveStart:g,onLeaveActive:y,onAppearEnd:v,onEnterEnd:v,onLeaveEnd:v,motionDeadline:500};U.a=A},Em2t:function(te,U,e){var y=e("bahg"),L=e("quyA"),g=e("0JQy");function v(A){return L(A)?g(A):y(A)}te.exports=v},Ez2D:function(te,U,e){var y=e("bYtY"),L=e("4NO4");function g(v,A){var b=[],m=v.seriesIndex,d;if(m==null||!(d=A.getSeriesByIndex(m)))return{point:[]};var r=d.getData(),a=L.queryDataIndex(r,v);if(a==null||a<0||y.isArray(a))return{point:[]};var s=r.getItemGraphicEl(a),i=d.coordinateSystem;if(d.getTooltipPosition)b=d.getTooltipPosition(a)||[];else if(i&&i.dataToPoint)b=i.dataToPoint(r.getValues(y.map(i.dimensions,function(l){return r.mapDimension(l)}),a,!0))||[];else if(s){var n=s.getBoundingRect().clone();n.applyTransform(s.transform),b=[n.x+n.width/2,n.y+n.height/2]}return{point:b,el:s}}te.exports=g},F0hE:function(te,U,e){var y=e("ProS"),L=e("bYtY"),g=e("ca2m"),v=e("Qxkt"),A=e("ICMv"),b=g.valueAxis;function m(a,s){return L.defaults({show:s},a)}var d=y.extendComponentModel({type:"radar",optionUpdated:function(){var a=this.get("boundaryGap"),s=this.get("splitNumber"),i=this.get("scale"),n=this.get("axisLine"),l=this.get("axisTick"),t=this.get("axisType"),u=this.get("axisLabel"),o=this.get("name"),c=this.get("name.show"),h=this.get("name.formatter"),f=this.get("nameGap"),w=this.get("triggerEvent"),x=L.map(this.get("indicator")||[],function(I){I.max!=null&&I.max>0&&!I.min?I.min=0:I.min!=null&&I.min<0&&!I.max&&(I.max=0);var C=o;if(I.color!=null&&(C=L.defaults({color:I.color},o)),I=L.merge(L.clone(I),{boundaryGap:a,splitNumber:s,scale:i,axisLine:n,axisTick:l,axisType:t,axisLabel:u,name:I.text,nameLocation:"end",nameGap:f,nameTextStyle:C,triggerEvent:w},!1),c||(I.name=""),typeof h=="string"){var N=I.name;I.name=h.replace("{value}",N!=null?N:"")}else typeof h=="function"&&(I.name=h(I.name,I));var S=L.extend(new v(I,null,this.ecModel),A);return S.mainType="radar",S.componentIndex=this.componentIndex,S},this);this.getIndicatorModels=function(){return x}},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:L.merge({lineStyle:{color:"#bbb"}},b.axisLine),axisLabel:m(b.axisLabel,!1),axisTick:m(b.axisTick,!1),axisType:"interval",splitLine:m(b.splitLine,!0),splitArea:m(b.splitArea,!0),indicator:[]}}),r=d;te.exports=r},F5Ls:function(te,U){var e={\u5357\u6D77\u8BF8\u5C9B:[32,80],\u5E7F\u4E1C:[0,-10],\u9999\u6E2F:[10,5],\u6FB3\u95E8:[-10,10],\u5929\u6D25:[5,5]};function y(L,g){if(L==="china"){var v=e[g.name];if(v){var A=g.center;A[0]+=v[0]/10.5,A[1]+=-v[1]/(10.5/.75)}}}te.exports=y},F7hV:function(te,U,e){var y=e("MBQ8"),L=y.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return this.get("large")?this.get("progressive"):!1},getProgressiveThreshold:function(){var g=this.get("progressiveThreshold"),v=this.get("largeThreshold");return v>g&&(g=v),g},defaultOption:{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1}}});te.exports=L},F9bG:function(te,U,e){var y=e("bYtY"),L=e("ItGF"),g=e("4NO4"),v=g.makeInner,A=v(),b=y.each;function m(l,t,u){if(L.node)return;var o=t.getZr();A(o).records||(A(o).records={}),d(o,t);var c=A(o).records[l]||(A(o).records[l]={});c.handler=u}function d(l,t){if(A(l).initialized)return;A(l).initialized=!0,u("click",y.curry(s,"click")),u("mousemove",y.curry(s,"mousemove")),u("globalout",a);function u(o,c){l.on(o,function(h){var f=i(t);b(A(l).records,function(w){w&&c(w,h,f.dispatchAction)}),r(f.pendings,t)})}}function r(l,t){var u=l.showTip.length,o=l.hideTip.length,c;u?c=l.showTip[u-1]:o&&(c=l.hideTip[o-1]),c&&(c.dispatchAction=null,t.dispatchAction(c))}function a(l,t,u){l.handler("leave",null,u)}function s(l,t,u,o){t.handler(l,u,o)}function i(l){var t={showTip:[],hideTip:[]},u=function(o){var c=t[o.type];c?c.push(o):(o.dispatchAction=u,l.dispatchAction(o))};return{dispatchAction:u,pendings:t}}function n(l,t){if(L.node)return;var u=t.getZr(),o=(A(u).records||{})[l];o&&(A(u).records[l]=null)}U.register=m,U.unregister=n},FBjb:function(te,U,e){var y=e("bYtY"),L=e("oVpE"),g=L.createSymbol,v=e("IwbS"),A=e("OELB"),b=A.parsePercent,m=e("x3X8"),d=m.getDefaultLabel;function r(f,w,x){v.Group.call(this),this.updateData(f,w,x)}var a=r.prototype,s=r.getSymbolSize=function(f,w){var x=f.getItemVisual(w,"symbolSize");return x instanceof Array?x.slice():[+x,+x]};function i(f){return[f[0]/2,f[1]/2]}function n(f,w){this.parent.drift(f,w)}a._createSymbol=function(f,w,x,I,C){this.removeAll();var N=w.getItemVisual(x,"color"),S=g(f,-1,-1,2,2,N,C);S.attr({z2:100,culling:!0,scale:i(I)}),S.drift=n,this._symbolType=f,this.add(S)},a.stopSymbolAnimation=function(f){this.childAt(0).stopAnimation(f)},a.getSymbolPath=function(){return this.childAt(0)},a.getScale=function(){return this.childAt(0).scale},a.highlight=function(){this.childAt(0).trigger("emphasis")},a.downplay=function(){this.childAt(0).trigger("normal")},a.setZ=function(f,w){var x=this.childAt(0);x.zlevel=f,x.z=w},a.setDraggable=function(f){var w=this.childAt(0);w.draggable=f,w.cursor=f?"move":w.cursor},a.updateData=function(f,w,x){this.silent=!1;var I=f.getItemVisual(w,"symbol")||"circle",C=f.hostModel,N=s(f,w),S=I!==this._symbolType;if(S){var E=f.getItemVisual(w,"symbolKeepAspect");this._createSymbol(I,f,w,N,E)}else{var T=this.childAt(0);T.silent=!1,v.updateProps(T,{scale:i(N)},C,w)}if(this._updateCommon(f,w,N,x),S){var T=this.childAt(0),D=x&&x.fadeIn,B={scale:T.scale.slice()};D&&(B.style={opacity:T.style.opacity}),T.scale=[0,0],D&&(T.style.opacity=0),v.initProps(T,B,C,w)}this._seriesModel=C};var l=["itemStyle"],t=["emphasis","itemStyle"],u=["label"],o=["emphasis","label"];a._updateCommon=function(f,w,x,I){var C=this.childAt(0),N=f.hostModel,S=f.getItemVisual(w,"color");C.type!=="image"?C.useStyle({strokeNoScale:!0}):C.setStyle({opacity:null,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var E=I&&I.itemStyle,T=I&&I.hoverItemStyle,D=I&&I.symbolOffset,B=I&&I.labelModel,R=I&&I.hoverLabelModel,F=I&&I.hoverAnimation,M=I&&I.cursorStyle;if(!I||f.hasItemOption){var K=I&&I.itemModel?I.itemModel:f.getItemModel(w);E=K.getModel(l).getItemStyle(["color"]),T=K.getModel(t).getItemStyle(),D=K.getShallow("symbolOffset"),B=K.getModel(u),R=K.getModel(o),F=K.getShallow("hoverAnimation"),M=K.getShallow("cursor")}else T=y.extend({},T);var j=C.style,H=f.getItemVisual(w,"symbolRotate");C.attr("rotation",(H||0)*Math.PI/180||0),D&&C.attr("position",[b(D[0],x[0]),b(D[1],x[1])]),M&&C.attr("cursor",M),C.setColor(S,I&&I.symbolInnerColor),C.setStyle(E);var k=f.getItemVisual(w,"opacity");k!=null&&(j.opacity=k);var P=f.getItemVisual(w,"liftZ"),z=C.__z2Origin;P!=null?z==null&&(C.__z2Origin=C.z2,C.z2+=P):z!=null&&(C.z2=z,C.__z2Origin=null);var Y=I&&I.useNameLabel;v.setLabelStyle(j,T,B,R,{labelFetcher:N,labelDataIndex:w,defaultText:_,isRectText:!0,autoColor:S});function _(G,J){return Y?f.getName(G):d(f,G)}C.__symbolOriginalScale=i(x),C.hoverStyle=T,C.highDownOnUpdate=F&&N.isAnimationEnabled()?c:null,v.setHoverStyle(C)};function c(f,w){if(this.incremental||this.useHoverLayer)return;if(w==="emphasis"){var x=this.__symbolOriginalScale,I=x[1]/x[0],C={scale:[Math.max(x[0]*1.1,x[0]+3),Math.max(x[1]*1.1,x[1]+3*I)]};this.animateTo(C,400,"elasticOut")}else w==="normal"&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}a.fadeOut=function(f,w){var x=this.childAt(0);this.silent=x.silent=!0,!(w&&w.keepLabel)&&(x.style.text=null),v.updateProps(x,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,f)},y.inherits(r,v.Group);var h=r;te.exports=h},FGaS:function(te,U,e){var y=e("ProS"),L=e("IwbS"),g=e("bYtY"),v=e("oVpE");function A(m){return g.isArray(m)||(m=[+m,+m]),m}var b=y.extendChartView({type:"radar",render:function(m,d,r){var a=m.coordinateSystem,s=this.group,i=m.getData(),n=this._data;function l(o,c){var h=o.getItemVisual(c,"symbol")||"circle",f=o.getItemVisual(c,"color");if(h==="none")return;var w=A(o.getItemVisual(c,"symbolSize")),x=v.createSymbol(h,-1,-1,2,2,f);return x.attr({style:{strokeNoScale:!0},z2:100,scale:[w[0]/2,w[1]/2]}),x}function t(o,c,h,f,w,x){h.removeAll();for(var I=0;I<c.length-1;I++){var C=l(f,w);C&&(C.__dimIdx=I,o[I]?(C.attr("position",o[I]),L[x?"initProps":"updateProps"](C,{position:c[I]},m,w)):C.attr("position",c[I]),h.add(C))}}function u(o){return g.map(o,function(c){return[a.cx,a.cy]})}i.diff(n).add(function(o){var c=i.getItemLayout(o);if(!c)return;var h=new L.Polygon,f=new L.Polyline,w={shape:{points:c}};h.shape.points=u(c),f.shape.points=u(c),L.initProps(h,w,m,o),L.initProps(f,w,m,o);var x=new L.Group,I=new L.Group;x.add(f),x.add(h),x.add(I),t(f.shape.points,c,I,i,o,!0),i.setItemGraphicEl(o,x)}).update(function(o,c){var h=n.getItemGraphicEl(c),f=h.childAt(0),w=h.childAt(1),x=h.childAt(2),I={shape:{points:i.getItemLayout(o)}};if(!I.shape.points)return;t(f.shape.points,I.shape.points,x,i,o,!1),L.updateProps(f,I,m),L.updateProps(w,I,m),i.setItemGraphicEl(o,h)}).remove(function(o){s.remove(n.getItemGraphicEl(o))}).execute(),i.eachItemGraphicEl(function(o,c){var h=i.getItemModel(c),f=o.childAt(0),w=o.childAt(1),x=o.childAt(2),I=i.getItemVisual(c,"color");s.add(o),f.useStyle(g.defaults(h.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:I})),f.hoverStyle=h.getModel("emphasis.lineStyle").getLineStyle();var C=h.getModel("areaStyle"),N=h.getModel("emphasis.areaStyle"),S=C.isEmpty()&&C.parentModel.isEmpty(),E=N.isEmpty()&&N.parentModel.isEmpty();E=E&&S,w.ignore=S,w.useStyle(g.defaults(C.getAreaStyle(),{fill:I,opacity:.7})),w.hoverStyle=N.getAreaStyle();var T=h.getModel("itemStyle").getItemStyle(["color"]),D=h.getModel("emphasis.itemStyle").getItemStyle(),B=h.getModel("label"),R=h.getModel("emphasis.label");x.eachChild(function(F){F.setStyle(T),F.hoverStyle=g.clone(D);var M=i.get(i.dimensions[F.__dimIdx],c);(M==null||isNaN(M))&&(M=""),L.setLabelStyle(F.style,F.hoverStyle,B,R,{labelFetcher:i.hostModel,labelDataIndex:c,labelDimIndex:F.__dimIdx,defaultText:M,autoColor:I,isRectText:!0})}),o.highDownOnUpdate=function(F,M){w.attr("ignore",M==="emphasis"?E:S)},L.setHoverStyle(o)}),this._data=i},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});te.exports=b},FH2Y:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=L(e("ZMnZ"));function L(v){return v&&v.__esModule?v:{default:v}}var g=y;U.default=g,te.exports=g},FIfw:function(te,U,e){},FNN5:function(te,U,e){var y=e("bYtY"),L=e("IwbS"),g=e("+rIm"),v=e("Znkb"),A=["axisLine","axisTickLabel","axisName"],b=["splitLine","splitArea","minorSplitLine"],m=v.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(r,a){if(this.group.removeAll(),!r.get("show"))return;var s=r.axis,i=s.polar,n=i.getAngleAxis(),l=s.getTicksCoords(),t=s.getMinorTicksCoords(),u=n.getExtent()[0],o=s.getExtent(),c=d(i,r,u),h=new g(r,c);y.each(A,h.add,h),this.group.add(h.getGroup()),y.each(b,function(f){r.get(f+".show")&&!s.scale.isBlank()&&this["_"+f](r,i,u,o,l,t)},this)},_splitLine:function(r,a,s,i,n){var l=r.getModel("splitLine"),t=l.getModel("lineStyle"),u=t.get("color"),o=0;u=u instanceof Array?u:[u];for(var c=[],h=0;h<n.length;h++){var f=o++%u.length;c[f]=c[f]||[],c[f].push(new L.Circle({shape:{cx:a.cx,cy:a.cy,r:n[h].coord}}))}for(var h=0;h<c.length;h++)this.group.add(L.mergePath(c[h],{style:y.defaults({stroke:u[h%u.length],fill:null},t.getLineStyle()),silent:!0}))},_minorSplitLine:function(r,a,s,i,n,l){if(!l.length)return;for(var t=r.getModel("minorSplitLine"),u=t.getModel("lineStyle"),o=[],c=0;c<l.length;c++)for(var h=0;h<l[c].length;h++)o.push(new L.Circle({shape:{cx:a.cx,cy:a.cy,r:l[c][h].coord}}));this.group.add(L.mergePath(o,{style:y.defaults({fill:null},u.getLineStyle()),silent:!0}))},_splitArea:function(r,a,s,i,n){if(!n.length)return;var l=r.getModel("splitArea"),t=l.getModel("areaStyle"),u=t.get("color"),o=0;u=u instanceof Array?u:[u];for(var c=[],h=n[0].coord,f=1;f<n.length;f++){var w=o++%u.length;c[w]=c[w]||[],c[w].push(new L.Sector({shape:{cx:a.cx,cy:a.cy,r0:h,r:n[f].coord,startAngle:0,endAngle:Math.PI*2},silent:!0})),h=n[f].coord}for(var f=0;f<c.length;f++)this.group.add(L.mergePath(c[f],{style:y.defaults({fill:u[f%u.length]},t.getAreaStyle()),silent:!0}))}});function d(r,a,s){return{position:[r.cx,r.cy],rotation:s/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:a.getModel("axisLabel").get("rotate"),z2:1}}te.exports=m},FUi9:function(te,U,e){var y=e("bYtY"),L=e("MwEJ"),g=e("aX7z"),v=e("ICMv"),A=e("Qxkt"),b=e("+TT/"),m=b.getLayoutRect;U.getLayoutRect=b.getLayoutRect;var d=e("7hqr"),r=d.enableDataStack,a=d.isDimensionStacked,s=d.getStackedDimension,i=e("hi0g");U.completeDimensions=i;var n=e("sdST");U.createDimensions=n;var l=e("oVpE");U.createSymbol=l.createSymbol;function t(h){return L(h.getSource(),h)}var u={isDimensionStacked:a,enableDataStack:r,getStackedDimension:s};function o(h,f){var w=f;A.isInstance(f)||(w=new A(f),y.mixin(w,v));var x=g.createScaleByModel(w);return x.setExtent(h[0],h[1]),g.niceScaleExtent(x,w),x}function c(h){y.mixin(h,v)}U.createList=t,U.dataStack=u,U.createScale=o,U.mixinAxisModelCommonMethods=c},"Fa/5":function(te,U,e){var y=e("ProS");e("y2l5"),e("q/+u");var L=e("f5Yq"),g=e("h8O9");e("Ae16"),y.registerVisual(L("scatter","circle")),y.registerLayout(g("scatter"))},FhB9:function(te,U,e){"use strict";Object.defineProperty(U,"__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"};U.default=y},"Fm1+":function(te,U,e){"use strict";var y=e("284h"),L=e("TqRt");Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var g=L(e("3tO9")),v=y(e("q1tI")),A=L(e("a7Wl")),b=L(e("KQxl")),m=function(a,s){return v.createElement(b.default,(0,g.default)((0,g.default)({},a),{},{ref:s,icon:A.default}))};m.displayName="CaretUpOutlined";var d=v.forwardRef(m);U.default=d},Fofx:function(te,U){var e=typeof Float32Array=="undefined"?Array:Float32Array;function y(){var a=new e(6);return L(a),a}function L(a){return a[0]=1,a[1]=0,a[2]=0,a[3]=1,a[4]=0,a[5]=0,a}function g(a,s){return a[0]=s[0],a[1]=s[1],a[2]=s[2],a[3]=s[3],a[4]=s[4],a[5]=s[5],a}function v(a,s,i){var n=s[0]*i[0]+s[2]*i[1],l=s[1]*i[0]+s[3]*i[1],t=s[0]*i[2]+s[2]*i[3],u=s[1]*i[2]+s[3]*i[3],o=s[0]*i[4]+s[2]*i[5]+s[4],c=s[1]*i[4]+s[3]*i[5]+s[5];return a[0]=n,a[1]=l,a[2]=t,a[3]=u,a[4]=o,a[5]=c,a}function A(a,s,i){return a[0]=s[0],a[1]=s[1],a[2]=s[2],a[3]=s[3],a[4]=s[4]+i[0],a[5]=s[5]+i[1],a}function b(a,s,i){var n=s[0],l=s[2],t=s[4],u=s[1],o=s[3],c=s[5],h=Math.sin(i),f=Math.cos(i);return a[0]=n*f+u*h,a[1]=-n*h+u*f,a[2]=l*f+o*h,a[3]=-l*h+f*o,a[4]=f*t+h*c,a[5]=f*c-h*t,a}function m(a,s,i){var n=i[0],l=i[1];return a[0]=s[0]*n,a[1]=s[1]*l,a[2]=s[2]*n,a[3]=s[3]*l,a[4]=s[4]*n,a[5]=s[5]*l,a}function d(a,s){var i=s[0],n=s[2],l=s[4],t=s[1],u=s[3],o=s[5],c=i*u-t*n;return c?(c=1/c,a[0]=u*c,a[1]=-t*c,a[2]=-n*c,a[3]=i*c,a[4]=(n*o-u*l)*c,a[5]=(t*l-i*o)*c,a):null}function r(a){var s=y();return g(s,a),s}U.create=y,U.identity=L,U.copy=g,U.mul=v,U.translate=A,U.rotate=b,U.scale=m,U.invert=d,U.clone=r},FxDU:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.createSensor=void 0;var y=e("QO+J"),L=e("j5sG"),g=typeof ResizeObserver!="undefined"?L.createSensor:y.createSensor;U.createSensor=g},GGyF:function(te,U,e){"use strict";var y=e("284h"),L=e("TqRt");Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var g=L(e("3tO9")),v=y(e("q1tI")),A=L(e("wgjA")),b=L(e("KQxl")),m=function(a,s){return v.createElement(b.default,(0,g.default)((0,g.default)({},a),{},{ref:s,icon:A.default}))};m.displayName="LeftOutlined";var d=v.forwardRef(m);U.default=d},GIiI:function(te,U,e){"use strict";var y=e("VTBJ"),L=e("q1tI"),g={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"},v=g,A=e("6VBw"),b=function(r,a){return L.createElement(A.a,Object(y.a)(Object(y.a)({},r),{},{ref:a,icon:v}))};b.displayName="PoweroffOutlined";var m=U.a=L.forwardRef(b)},GMDS:function(te,U,e){var y=e("bYtY"),L=e("4NgU"),g=e("jkPA"),v=L.prototype,A=L.extend({type:"ordinal",init:function(m,d){(!m||y.isArray(m))&&(m=new g({categories:m})),this._ordinalMeta=m,this._extent=d||[0,m.categories.length-1]},parse:function(m){return typeof m=="string"?this._ordinalMeta.getOrdinal(m):Math.round(m)},contain:function(m){return m=this.parse(m),v.contain.call(this,m)&&this._ordinalMeta.categories[m]!=null},normalize:function(m){return v.normalize.call(this,this.parse(m))},scale:function(m){return Math.round(v.scale.call(this,m))},getTicks:function(){for(var m=[],d=this._extent,r=d[0];r<=d[1];)m.push(r),r++;return m},getLabel:function(m){if(!this.isBlank())return this._ordinalMeta.categories[m]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(m,d){this.unionExtent(m.getApproximateExtent(d))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:y.noop,niceExtent:y.noop});A.create=function(){return new A};var b=A;te.exports=b},GUcZ:function(te,U,e){"use strict";var y=e("fWQN"),L=e("mtLc"),g=function(){function Ue(){Object(y.a)(this,Ue)}return Object(L.a)(Ue,null,[{key:"install",value:function(){Object.setPrototypeOf=Object.setPrototypeOf||function(se,Ae){return se.__proto__=Ae,se},Object.assign=Object.assign||function(se){if(se==null)throw new TypeError("Cannot convert undefined or null to object");for(var Ae=Object(se),Oe=1;Oe<arguments.length;Oe++){var ze=arguments[Oe];if(ze!=null)for(var Rt in ze)ze.hasOwnProperty(Rt)&&(Ae[Rt]=ze[Rt])}return Ae},typeof self.Promise!="function"&&e("E2g8").polyfill()}}]),Ue}();g.install();var v=g,A=e("+qE3"),b=e.n(A),m=function(){function Ue(){Object(y.a)(this,Ue)}return Object(L.a)(Ue,null,[{key:"e",value:function(se,Ae){(!se||Ue.FORCE_GLOBAL_TAG)&&(se=Ue.GLOBAL_TAG);var Oe="[".concat(se,"] > ").concat(Ae);if(Ue.ENABLE_CALLBACK&&Ue.emitter.emit("log","error",Oe),!Ue.ENABLE_ERROR)return;console.error?console.error(Oe):console.warn?console.warn(Oe):console.log(Oe)}},{key:"i",value:function(se,Ae){(!se||Ue.FORCE_GLOBAL_TAG)&&(se=Ue.GLOBAL_TAG);var Oe="[".concat(se,"] > ").concat(Ae);if(Ue.ENABLE_CALLBACK&&Ue.emitter.emit("log","info",Oe),!Ue.ENABLE_INFO)return;console.info?console.info(Oe):console.log(Oe)}},{key:"w",value:function(se,Ae){(!se||Ue.FORCE_GLOBAL_TAG)&&(se=Ue.GLOBAL_TAG);var Oe="[".concat(se,"] > ").concat(Ae);if(Ue.ENABLE_CALLBACK&&Ue.emitter.emit("log","warn",Oe),!Ue.ENABLE_WARN)return;console.warn?console.warn(Oe):console.log(Oe)}},{key:"d",value:function(se,Ae){(!se||Ue.FORCE_GLOBAL_TAG)&&(se=Ue.GLOBAL_TAG);var Oe="[".concat(se,"] > ").concat(Ae);if(Ue.ENABLE_CALLBACK&&Ue.emitter.emit("log","debug",Oe),!Ue.ENABLE_DEBUG)return;console.debug?console.debug(Oe):console.log(Oe)}},{key:"v",value:function(se,Ae){(!se||Ue.FORCE_GLOBAL_TAG)&&(se=Ue.GLOBAL_TAG);var Oe="[".concat(se,"] > ").concat(Ae);if(Ue.ENABLE_CALLBACK&&Ue.emitter.emit("log","verbose",Oe),!Ue.ENABLE_VERBOSE)return;console.log(Oe)}}]),Ue}();m.GLOBAL_TAG="flv.js",m.FORCE_GLOBAL_TAG=!1,m.ENABLE_ERROR=!0,m.ENABLE_INFO=!0,m.ENABLE_WARN=!0,m.ENABLE_DEBUG=!0,m.ENABLE_VERBOSE=!0,m.ENABLE_CALLBACK=!1,m.emitter=new b.a;var d=m,r=function(){function Ue(){Object(y.a)(this,Ue),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(L.a)(Ue,[{key:"reset",value:function(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}},{key:"addBytes",value:function(se){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=se,this._totalBytes+=se):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=se,this._totalBytes+=se):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=se,this._totalBytes+=se,this._lastCheckpoint=this._now())}},{key:"currentKBps",get:function(){this.addBytes(0);var se=(this._now()-this._lastCheckpoint)/1e3;return se==0&&(se=1),this._intervalBytes/se/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 se=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/se/1024}}]),Ue}(),a=r,s=e("yKVA"),i=e("879j"),n=function(){function Ue(He){Object(y.a)(this,Ue),this._message=He}return Object(L.a)(Ue,[{key:"name",get:function(){return"RuntimeException"}},{key:"message",get:function(){return this._message}},{key:"toString",value:function(){return this.name+": "+this.message}}]),Ue}(),l=function(Ue){Object(s.a)(se,Ue);var He=Object(i.a)(se);function se(Ae){return Object(y.a)(this,se),He.call(this,Ae)}return Object(L.a)(se,[{key:"name",get:function(){return"IllegalStateException"}}]),se}(n),t=function(Ue){Object(s.a)(se,Ue);var He=Object(i.a)(se);function se(Ae){return Object(y.a)(this,se),He.call(this,Ae)}return Object(L.a)(se,[{key:"name",get:function(){return"InvalidArgumentException"}}]),se}(n),u=function(Ue){Object(s.a)(se,Ue);var He=Object(i.a)(se);function se(Ae){return Object(y.a)(this,se),He.call(this,Ae)}return Object(L.a)(se,[{key:"name",get:function(){return"NotImplementedException"}}]),se}(n),o={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},c={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"},h=function(){function Ue(He){Object(y.a)(this,Ue),this._type=He||"undefined",this._status=o.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}return Object(L.a)(Ue,[{key:"destroy",value:function(){this._status=o.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}},{key:"isWorking",value:function(){return this._status===o.kConnecting||this._status===o.kBuffering}},{key:"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(se){this._onContentLengthKnown=se}},{key:"onURLRedirect",get:function(){return this._onURLRedirect},set:function(se){this._onURLRedirect=se}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(se){this._onDataArrival=se}},{key:"onError",get:function(){return this._onError},set:function(se){this._onError=se}},{key:"onComplete",get:function(){return this._onComplete},set:function(se){this._onComplete=se}},{key:"open",value:function(se,Ae){throw new u("Unimplemented abstract function!")}},{key:"abort",value:function(){throw new u("Unimplemented abstract function!")}}]),Ue}(),f=e("w4Tj"),w=e("oZsa"),x={};function I(){var Ue=self.navigator.userAgent.toLowerCase(),He=/(edge)\/([\w.]+)/.exec(Ue)||/(opr)[\/]([\w.]+)/.exec(Ue)||/(chrome)[ \/]([\w.]+)/.exec(Ue)||/(iemobile)[\/]([\w.]+)/.exec(Ue)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(Ue)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(Ue)||/(webkit)[ \/]([\w.]+)/.exec(Ue)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(Ue)||/(msie) ([\w.]+)/.exec(Ue)||Ue.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(Ue)||Ue.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(Ue)||[],se=/(ipad)/.exec(Ue)||/(ipod)/.exec(Ue)||/(windows phone)/.exec(Ue)||/(iphone)/.exec(Ue)||/(kindle)/.exec(Ue)||/(android)/.exec(Ue)||/(windows)/.exec(Ue)||/(mac)/.exec(Ue)||/(linux)/.exec(Ue)||/(cros)/.exec(Ue)||[],Ae={browser:He[5]||He[3]||He[1]||"",version:He[2]||He[4]||"0",majorVersion:He[4]||He[2]||"0",platform:se[0]||""},Oe={};if(Ae.browser){Oe[Ae.browser]=!0;var ze=Ae.majorVersion.split(".");Oe.version={major:parseInt(Ae.majorVersion,10),string:Ae.version},ze.length>1&&(Oe.version.minor=parseInt(ze[1],10)),ze.length>2&&(Oe.version.build=parseInt(ze[2],10))}if(Ae.platform&&(Oe[Ae.platform]=!0),(Oe.chrome||Oe.opr||Oe.safari)&&(Oe.webkit=!0),Oe.rv||Oe.iemobile){Oe.rv&&delete Oe.rv;var Rt="msie";Ae.browser=Rt,Oe[Rt]=!0}if(Oe.edge){delete Oe.edge;var Et="msedge";Ae.browser=Et,Oe[Et]=!0}if(Oe.opr){var _t="opera";Ae.browser=_t,Oe[_t]=!0}if(Oe.safari&&Oe.android){var Nn="android";Ae.browser=Nn,Oe[Nn]=!0}Oe.name=Ae.browser,Oe.platform=Ae.platform;for(var Mn in x)x.hasOwnProperty(Mn)&&delete x[Mn];Object.assign(x,Oe)}I();var C=x,N=function(Ue){Object(s.a)(se,Ue);var He=Object(i.a)(se);function se(Ae,Oe){var ze;return Object(y.a)(this,se),ze=He.call(this,"fetch-stream-loader"),ze.TAG="FetchStreamLoader",ze._seekHandler=Ae,ze._config=Oe,ze._needStash=!0,ze._requestAbort=!1,ze._contentLength=null,ze._receivedLength=0,ze}return Object(L.a)(se,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),Object(f.a)(Object(w.a)(se.prototype),"destroy",this).call(this)}},{key:"open",value:function(Oe,ze){var Rt=this;this._dataSource=Oe,this._range=ze;var Et=Oe.url;this._config.reuseRedirectedURL&&Oe.redirectedURL!=null&&(Et=Oe.redirectedURL);var _t=this._seekHandler.getConfig(Et,ze),Nn=new self.Headers;if(typeof _t.headers=="object"){var Mn=_t.headers;for(var lr in Mn)Mn.hasOwnProperty(lr)&&Nn.append(lr,Mn[lr])}var Lt={method:"GET",headers:Nn,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(var $e in this._config.headers)Nn.append($e,this._config.headers[$e]);Oe.cors===!1&&(Lt.mode="same-origin"),Oe.withCredentials&&(Lt.credentials="include"),Oe.referrerPolicy&&(Lt.referrerPolicy=Oe.referrerPolicy),this._status=o.kConnecting,self.fetch(_t.url,Lt).then(function(Qe){if(Rt._requestAbort){Rt._requestAbort=!1,Rt._status=o.kIdle;return}if(Qe.ok&&Qe.status>=200&&Qe.status<=299){if(Qe.url!==_t.url&&Rt._onURLRedirect){var kt=Rt._seekHandler.removeURLParameters(Qe.url);Rt._onURLRedirect(kt)}var Ht=Qe.headers.get("Content-Length");return Ht!=null&&(Rt._contentLength=parseInt(Ht),Rt._contentLength!==0&&(Rt._onContentLengthKnown&&Rt._onContentLengthKnown(Rt._contentLength))),Rt._pump.call(Rt,Qe.body.getReader())}else if(Rt._status=o.kError,Rt._onError)Rt._onError(c.HTTP_STATUS_CODE_INVALID,{code:Qe.status,msg:Qe.statusText});else throw new n("FetchStreamLoader: Http code invalid, "+Qe.status+" "+Qe.statusText)}).catch(function(Qe){if(Rt._status=o.kError,Rt._onError)Rt._onError(c.EXCEPTION,{code:-1,msg:Qe.message});else throw Qe})}},{key:"abort",value:function(){this._requestAbort=!0}},{key:"_pump",value:function(Oe){var ze=this;return Oe.read().then(function(Rt){if(Rt.done)if(ze._contentLength!==null&&ze._receivedLength<ze._contentLength){ze._status=o.kError;var Et=c.EARLY_EOF,_t={code:-1,msg:"Fetch stream meet Early-EOF"};if(ze._onError)ze._onError(Et,_t);else throw new n(_t.msg)}else ze._status=o.kComplete,ze._onComplete&&ze._onComplete(ze._range.from,ze._range.from+ze._receivedLength-1);else{if(ze._requestAbort===!0)return ze._requestAbort=!1,ze._status=o.kComplete,Oe.cancel();ze._status=o.kBuffering;var Nn=Rt.value.buffer,Mn=ze._range.from+ze._receivedLength;ze._receivedLength+=Nn.byteLength,ze._onDataArrival&&ze._onDataArrival(Nn,Mn,ze._receivedLength),ze._pump(Oe)}}).catch(function(Rt){if(Rt.code===11&&C.msedge)return;ze._status=o.kError;var Et=0,_t=null;if((Rt.code===19||Rt.message==="network error")&&(ze._contentLength===null||ze._contentLength!==null&&ze._receivedLength<ze._contentLength)?(Et=c.EARLY_EOF,_t={code:Rt.code,msg:"Fetch stream meet Early-EOF"}):(Et=c.EXCEPTION,_t={code:Rt.code,msg:Rt.message}),ze._onError)ze._onError(Et,_t);else throw new n(_t.msg)})}}],[{key:"isSupported",value:function(){try{var Oe=C.msedge&&C.version.minor>=15048,ze=C.msedge?Oe:!0;return self.fetch&&self.ReadableStream&&ze}catch(Rt){return!1}}}]),se}(h),S=N,E=function(Ue){Object(s.a)(se,Ue);var He=Object(i.a)(se);function se(Ae,Oe){var ze;return Object(y.a)(this,se),ze=He.call(this,"xhr-moz-chunked-loader"),ze.TAG="MozChunkedLoader",ze._seekHandler=Ae,ze._config=Oe,ze._needStash=!0,ze._xhr=null,ze._requestAbort=!1,ze._contentLength=null,ze._receivedLength=0,ze}return Object(L.a)(se,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onloadend=null,this._xhr.onerror=null,this._xhr=null),Object(f.a)(Object(w.a)(se.prototype),"destroy",this).call(this)}},{key:"open",value:function(Oe,ze){this._dataSource=Oe,this._range=ze;var Rt=Oe.url;this._config.reuseRedirectedURL&&Oe.redirectedURL!=null&&(Rt=Oe.redirectedURL);var Et=this._seekHandler.getConfig(Rt,ze);this._requestURL=Et.url;var _t=this._xhr=new XMLHttpRequest;if(_t.open("GET",Et.url,!0),_t.responseType="moz-chunked-arraybuffer",_t.onreadystatechange=this._onReadyStateChange.bind(this),_t.onprogress=this._onProgress.bind(this),_t.onloadend=this._onLoadEnd.bind(this),_t.onerror=this._onXhrError.bind(this),Oe.withCredentials&&(_t.withCredentials=!0),typeof Et.headers=="object"){var Nn=Et.headers;for(var Mn in Nn)Nn.hasOwnProperty(Mn)&&_t.setRequestHeader(Mn,Nn[Mn])}if(typeof this._config.headers=="object"){var lr=this._config.headers;for(var Lt in lr)lr.hasOwnProperty(Lt)&&_t.setRequestHeader(Lt,lr[Lt])}this._status=o.kConnecting,_t.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._xhr&&this._xhr.abort(),this._status=o.kComplete}},{key:"_onReadyStateChange",value:function(Oe){var ze=Oe.target;if(ze.readyState===2){if(ze.responseURL!=null&&ze.responseURL!==this._requestURL&&this._onURLRedirect){var Rt=this._seekHandler.removeURLParameters(ze.responseURL);this._onURLRedirect(Rt)}if(ze.status!==0&&(ze.status<200||ze.status>299))if(this._status=o.kError,this._onError)this._onError(c.HTTP_STATUS_CODE_INVALID,{code:ze.status,msg:ze.statusText});else throw new n("MozChunkedLoader: Http code invalid, "+ze.status+" "+ze.statusText);else this._status=o.kBuffering}}},{key:"_onProgress",value:function(Oe){if(this._status===o.kError)return;this._contentLength===null&&(Oe.total!==null&&Oe.total!==0&&(this._contentLength=Oe.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)));var ze=Oe.target.response,Rt=this._range.from+this._receivedLength;this._receivedLength+=ze.byteLength,this._onDataArrival&&this._onDataArrival(ze,Rt,this._receivedLength)}},{key:"_onLoadEnd",value:function(Oe){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===o.kError)return;this._status=o.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}},{key:"_onXhrError",value:function(Oe){this._status=o.kError;var ze=0,Rt=null;if(this._contentLength&&Oe.loaded<this._contentLength?(ze=c.EARLY_EOF,Rt={code:-1,msg:"Moz-Chunked stream meet Early-Eof"}):(ze=c.EXCEPTION,Rt={code:-1,msg:Oe.constructor.name+" "+Oe.type}),this._onError)this._onError(ze,Rt);else throw new n(Rt.msg)}}],[{key:"isSupported",value:function(){try{var Oe=new XMLHttpRequest;return Oe.open("GET","https://example.com",!0),Oe.responseType="moz-chunked-arraybuffer",Oe.responseType==="moz-chunked-arraybuffer"}catch(ze){return d.w("MozChunkedLoader",ze.message),!1}}}]),se}(h),T=E,D=function(Ue){Object(s.a)(se,Ue);var He=Object(i.a)(se);function se(Ae,Oe){var ze;return Object(y.a)(this,se),ze=He.call(this,"xhr-msstream-loader"),ze.TAG="MSStreamLoader",ze._seekHandler=Ae,ze._config=Oe,ze._needStash=!0,ze._xhr=null,ze._reader=null,ze._totalRange=null,ze._currentRange=null,ze._currentRequestURL=null,ze._currentRedirectedURL=null,ze._contentLength=null,ze._receivedLength=0,ze._bufferLimit=16*1024*1024,ze._lastTimeBufferSize=0,ze._isReconnecting=!1,ze}return Object(L.a)(se,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._reader&&(this._reader.onprogress=null,this._reader.onload=null,this._reader.onerror=null,this._reader=null),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr=null),Object(f.a)(Object(w.a)(se.prototype),"destroy",this).call(this)}},{key:"open",value:function(Oe,ze){this._internalOpen(Oe,ze,!1)}},{key:"_internalOpen",value:function(Oe,ze,Rt){this._dataSource=Oe,Rt?this._currentRange=ze:this._totalRange=ze;var Et=Oe.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?Et=this._currentRedirectedURL:Oe.redirectedURL!=null&&(Et=Oe.redirectedURL));var _t=this._seekHandler.getConfig(Et,ze);this._currentRequestURL=_t.url;var Nn=this._reader=new self.MSStreamReader;Nn.onprogress=this._msrOnProgress.bind(this),Nn.onload=this._msrOnLoad.bind(this),Nn.onerror=this._msrOnError.bind(this);var Mn=this._xhr=new XMLHttpRequest;if(Mn.open("GET",_t.url,!0),Mn.responseType="ms-stream",Mn.onreadystatechange=this._xhrOnReadyStateChange.bind(this),Mn.onerror=this._xhrOnError.bind(this),Oe.withCredentials&&(Mn.withCredentials=!0),typeof _t.headers=="object"){var lr=_t.headers;for(var Lt in lr)lr.hasOwnProperty(Lt)&&Mn.setRequestHeader(Lt,lr[Lt])}if(typeof this._config.headers=="object"){var $e=this._config.headers;for(var Qe in $e)$e.hasOwnProperty(Qe)&&Mn.setRequestHeader(Qe,$e[Qe])}this._isReconnecting?this._isReconnecting=!1:this._status=o.kConnecting,Mn.send()}},{key:"abort",value:function(){this._internalAbort(),this._status=o.kComplete}},{key:"_internalAbort",value:function(){this._reader&&(this._reader.readyState===1&&this._reader.abort(),this._reader.onprogress=null,this._reader.onload=null,this._reader.onerror=null,this._reader=null),this._xhr&&(this._xhr.abort(),this._xhr.onreadystatechange=null,this._xhr=null)}},{key:"_xhrOnReadyStateChange",value:function(Oe){var ze=Oe.target;if(ze.readyState===2)if(ze.status>=200&&ze.status<=299){if(this._status=o.kBuffering,ze.responseURL!=null){var Rt=this._seekHandler.removeURLParameters(ze.responseURL);ze.responseURL!==this._currentRequestURL&&Rt!==this._currentRedirectedURL&&(this._currentRedirectedURL=Rt,this._onURLRedirect&&this._onURLRedirect(Rt))}var Et=ze.getResponseHeader("Content-Length");if(Et!=null&&this._contentLength==null){var _t=parseInt(Et);_t>0&&(this._contentLength=_t,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=o.kError,this._onError)this._onError(c.HTTP_STATUS_CODE_INVALID,{code:ze.status,msg:ze.statusText});else throw new n("MSStreamLoader: Http code invalid, "+ze.status+" "+ze.statusText);else if(ze.readyState===3&&(ze.status>=200&&ze.status<=299)){this._status=o.kBuffering;var Nn=ze.response;this._reader.readAsArrayBuffer(Nn)}}},{key:"_xhrOnError",value:function(Oe){this._status=o.kError;var ze=c.EXCEPTION,Rt={code:-1,msg:Oe.constructor.name+" "+Oe.type};if(this._onError)this._onError(ze,Rt);else throw new n(Rt.msg)}},{key:"_msrOnProgress",value:function(Oe){var ze=Oe.target,Rt=ze.result;if(Rt==null){this._doReconnectIfNeeded();return}var Et=Rt.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=Rt.byteLength;var _t=this._totalRange.from+this._receivedLength;this._receivedLength+=Et.byteLength,this._onDataArrival&&this._onDataArrival(Et,_t,this._receivedLength),Rt.byteLength>=this._bufferLimit&&(d.v(this.TAG,"MSStream buffer exceeded max size near ".concat(_t+Et.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 Oe={from:this._totalRange.from+this._receivedLength,to:-1};this._internalOpen(this._dataSource,Oe,!0)}}},{key:"_msrOnLoad",value:function(Oe){this._status=o.kComplete,this._onComplete&&this._onComplete(this._totalRange.from,this._totalRange.from+this._receivedLength-1)}},{key:"_msrOnError",value:function(Oe){this._status=o.kError;var ze=0,Rt=null;if(this._contentLength&&this._receivedLength<this._contentLength?(ze=c.EARLY_EOF,Rt={code:-1,msg:"MSStream meet Early-Eof"}):(ze=c.EARLY_EOF,Rt={code:-1,msg:Oe.constructor.name+" "+Oe.type}),this._onError)this._onError(ze,Rt);else throw new n(Rt.msg)}}],[{key:"isSupported",value:function(){try{if(typeof self.MSStream=="undefined"||typeof self.MSStreamReader=="undefined")return!1;var Oe=new XMLHttpRequest;return Oe.open("GET","https://example.com",!0),Oe.responseType="ms-stream",Oe.responseType==="ms-stream"}catch(ze){return d.w("MSStreamLoader",ze.message),!1}}}]),se}(h),B=D,R=function(Ue){Object(s.a)(se,Ue);var He=Object(i.a)(se);function se(Ae,Oe){var ze;return Object(y.a)(this,se),ze=He.call(this,"xhr-range-loader"),ze.TAG="RangeLoader",ze._seekHandler=Ae,ze._config=Oe,ze._needStash=!1,ze._chunkSizeKBList=[128,256,384,512,768,1024,1536,2048,3072,4096,5120,6144,7168,8192],ze._currentChunkSizeKB=384,ze._currentSpeedNormalized=0,ze._zeroSpeedChunkCount=0,ze._xhr=null,ze._speedSampler=new a,ze._requestAbort=!1,ze._waitForTotalLength=!1,ze._totalLengthReceived=!1,ze._currentRequestURL=null,ze._currentRedirectedURL=null,ze._currentRequestRange=null,ze._totalLength=null,ze._contentLength=null,ze._receivedLength=0,ze._lastTimeLoaded=0,ze}return Object(L.a)(se,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr=null),Object(f.a)(Object(w.a)(se.prototype),"destroy",this).call(this)}},{key:"currentSpeed",get:function(){return this._speedSampler.lastSecondKBps}},{key:"open",value:function(Oe,ze){this._dataSource=Oe,this._range=ze,this._status=o.kConnecting;var Rt=!1;this._dataSource.filesize!=null&&this._dataSource.filesize!==0&&(Rt=!0,this._totalLength=this._dataSource.filesize),!this._totalLengthReceived&&!Rt?(this._waitForTotalLength=!0,this._internalOpen(this._dataSource,{from:0,to:-1})):this._openSubRange()}},{key:"_openSubRange",value:function(){var Oe=this._currentChunkSizeKB*1024,ze=this._range.from+this._receivedLength,Rt=ze+Oe;this._contentLength!=null&&(Rt-this._range.from>=this._contentLength&&(Rt=this._range.from+this._contentLength-1)),this._currentRequestRange={from:ze,to:Rt},this._internalOpen(this._dataSource,this._currentRequestRange)}},{key:"_internalOpen",value:function(Oe,ze){this._lastTimeLoaded=0;var Rt=Oe.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?Rt=this._currentRedirectedURL:Oe.redirectedURL!=null&&(Rt=Oe.redirectedURL));var Et=this._seekHandler.getConfig(Rt,ze);this._currentRequestURL=Et.url;var _t=this._xhr=new XMLHttpRequest;if(_t.open("GET",Et.url,!0),_t.responseType="arraybuffer",_t.onreadystatechange=this._onReadyStateChange.bind(this),_t.onprogress=this._onProgress.bind(this),_t.onload=this._onLoad.bind(this),_t.onerror=this._onXhrError.bind(this),Oe.withCredentials&&(_t.withCredentials=!0),typeof Et.headers=="object"){var Nn=Et.headers;for(var Mn in Nn)Nn.hasOwnProperty(Mn)&&_t.setRequestHeader(Mn,Nn[Mn])}if(typeof this._config.headers=="object"){var lr=this._config.headers;for(var Lt in lr)lr.hasOwnProperty(Lt)&&_t.setRequestHeader(Lt,lr[Lt])}_t.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._internalAbort(),this._status=o.kComplete}},{key:"_internalAbort",value:function(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}},{key:"_onReadyStateChange",value:function(Oe){var ze=Oe.target;if(ze.readyState===2){if(ze.responseURL!=null){var Rt=this._seekHandler.removeURLParameters(ze.responseURL);ze.responseURL!==this._currentRequestURL&&Rt!==this._currentRedirectedURL&&(this._currentRedirectedURL=Rt,this._onURLRedirect&&this._onURLRedirect(Rt))}if(ze.status>=200&&ze.status<=299){if(this._waitForTotalLength)return;this._status=o.kBuffering}else if(this._status=o.kError,this._onError)this._onError(c.HTTP_STATUS_CODE_INVALID,{code:ze.status,msg:ze.statusText});else throw new n("RangeLoader: Http code invalid, "+ze.status+" "+ze.statusText)}}},{key:"_onProgress",value:function(Oe){if(this._status===o.kError)return;if(this._contentLength===null){var ze=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,ze=!0;var Rt=Oe.total;this._internalAbort(),Rt!=null&Rt!==0&&(this._totalLength=Rt)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,ze){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}var Et=Oe.loaded-this._lastTimeLoaded;this._lastTimeLoaded=Oe.loaded,this._speedSampler.addBytes(Et)}},{key:"_normalizeSpeed",value:function(Oe){var ze=this._chunkSizeKBList,Rt=ze.length-1,Et=0,_t=0,Nn=Rt;if(Oe<ze[0])return ze[0];for(;_t<=Nn;){if(Et=_t+Math.floor((Nn-_t)/2),Et===Rt||Oe>=ze[Et]&&Oe<ze[Et+1])return ze[Et];ze[Et]<Oe?_t=Et+1:Nn=Et-1}}},{key:"_onLoad",value:function(Oe){if(this._status===o.kError)return;if(this._waitForTotalLength){this._waitForTotalLength=!1;return}this._lastTimeLoaded=0;var ze=this._speedSampler.lastSecondKBps;if(ze===0&&(this._zeroSpeedChunkCount++,this._zeroSpeedChunkCount>=3&&(ze=this._speedSampler.currentKBps)),ze!==0){var Rt=this._normalizeSpeed(ze);this._currentSpeedNormalized!==Rt&&(this._currentSpeedNormalized=Rt,this._currentChunkSizeKB=Rt)}var Et=Oe.target.response,_t=this._range.from+this._receivedLength;this._receivedLength+=Et.byteLength;var Nn=!1;this._contentLength!=null&&this._receivedLength<this._contentLength?this._openSubRange():Nn=!0,this._onDataArrival&&this._onDataArrival(Et,_t,this._receivedLength),Nn&&(this._status=o.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1))}},{key:"_onXhrError",value:function(Oe){this._status=o.kError;var ze=0,Rt=null;if(this._contentLength&&this._receivedLength>0&&this._receivedLength<this._contentLength?(ze=c.EARLY_EOF,Rt={code:-1,msg:"RangeLoader meet Early-Eof"}):(ze=c.EXCEPTION,Rt={code:-1,msg:Oe.constructor.name+" "+Oe.type}),this._onError)this._onError(ze,Rt);else throw new n(Rt.msg)}}],[{key:"isSupported",value:function(){try{var Oe=new XMLHttpRequest;return Oe.open("GET","https://example.com",!0),Oe.responseType="arraybuffer",Oe.responseType==="arraybuffer"}catch(ze){return d.w("RangeLoader",ze.message),!1}}}]),se}(h),F=R,M=function(Ue){Object(s.a)(se,Ue);var He=Object(i.a)(se);function se(){var Ae;return Object(y.a)(this,se),Ae=He.call(this,"websocket-loader"),Ae.TAG="WebSocketLoader",Ae._needStash=!0,Ae._ws=null,Ae._requestAbort=!1,Ae._receivedLength=0,Ae}return Object(L.a)(se,[{key:"destroy",value:function(){this._ws&&this.abort(),Object(f.a)(Object(w.a)(se.prototype),"destroy",this).call(this)}},{key:"open",value:function(Oe){try{var ze=this._ws=new self.WebSocket(Oe.url);ze.binaryType="arraybuffer",ze.onopen=this._onWebSocketOpen.bind(this),ze.onclose=this._onWebSocketClose.bind(this),ze.onmessage=this._onWebSocketMessage.bind(this),ze.onerror=this._onWebSocketError.bind(this),this._status=o.kConnecting}catch(Et){this._status=o.kError;var Rt={code:Et.code,msg:Et.message};if(this._onError)this._onError(c.EXCEPTION,Rt);else throw new n(Rt.msg)}}},{key:"abort",value:function(){var Oe=this._ws;Oe&&(Oe.readyState===0||Oe.readyState===1)&&(this._requestAbort=!0,Oe.close()),this._ws=null,this._status=o.kComplete}},{key:"_onWebSocketOpen",value:function(Oe){this._status=o.kBuffering}},{key:"_onWebSocketClose",value:function(Oe){if(this._requestAbort===!0){this._requestAbort=!1;return}this._status=o.kComplete,this._onComplete&&this._onComplete(0,this._receivedLength-1)}},{key:"_onWebSocketMessage",value:function(Oe){var ze=this;if(Oe.data instanceof ArrayBuffer)this._dispatchArrayBuffer(Oe.data);else if(Oe.data instanceof Blob){var Rt=new FileReader;Rt.onload=function(){ze._dispatchArrayBuffer(Rt.result)},Rt.readAsArrayBuffer(Oe.data)}else{this._status=o.kError;var Et={code:-1,msg:"Unsupported WebSocket message type: "+Oe.data.constructor.name};if(this._onError)this._onError(c.EXCEPTION,Et);else throw new n(Et.msg)}}},{key:"_dispatchArrayBuffer",value:function(Oe){var ze=Oe,Rt=this._receivedLength;this._receivedLength+=ze.byteLength,this._onDataArrival&&this._onDataArrival(ze,Rt,this._receivedLength)}},{key:"_onWebSocketError",value:function(Oe){this._status=o.kError;var ze={code:Oe.code,msg:Oe.message};if(this._onError)this._onError(c.EXCEPTION,ze);else throw new n(ze.msg)}}],[{key:"isSupported",value:function(){try{return typeof self.WebSocket!="undefined"}catch(Oe){return!1}}}]),se}(h),K=M,j=function(){function Ue(He){Object(y.a)(this,Ue),this._zeroStart=He||!1}return Object(L.a)(Ue,[{key:"getConfig",value:function(se,Ae){var Oe={};if(Ae.from!==0||Ae.to!==-1){var ze;Ae.to!==-1?ze="bytes=".concat(Ae.from.toString(),"-").concat(Ae.to.toString()):ze="bytes=".concat(Ae.from.toString(),"-"),Oe.Range=ze}else this._zeroStart&&(Oe.Range="bytes=0-");return{url:se,headers:Oe}}},{key:"removeURLParameters",value:function(se){return se}}]),Ue}(),H=j,k=function(){function Ue(He,se){Object(y.a)(this,Ue),this._startName=He,this._endName=se}return Object(L.a)(Ue,[{key:"getConfig",value:function(se,Ae){var Oe=se;if(Ae.from!==0||Ae.to!==-1){var ze=!0;Oe.indexOf("?")===-1&&(Oe+="?",ze=!1),ze&&(Oe+="&"),Oe+="".concat(this._startName,"=").concat(Ae.from.toString()),Ae.to!==-1&&(Oe+="&".concat(this._endName,"=").concat(Ae.to.toString()))}return{url:Oe,headers:{}}}},{key:"removeURLParameters",value:function(se){var Ae=se.split("?")[0],Oe=void 0,ze=se.indexOf("?");ze!==-1&&(Oe=se.substring(ze+1));var Rt="";if(Oe!=null&&Oe.length>0)for(var Et=Oe.split("&"),_t=0;_t<Et.length;_t++){var Nn=Et[_t].split("="),Mn=_t>0;Nn[0]!==this._startName&&Nn[0]!==this._endName&&(Mn&&(Rt+="&"),Rt+=Et[_t])}return Rt.length===0?Ae:Ae+"?"+Rt}}]),Ue}(),P=k,z=function(){function Ue(He,se,Ae){Object(y.a)(this,Ue),this.TAG="IOController",this._config=se,this._extraData=Ae,this._stashInitialSize=1024*384,se.stashInitialSize!=null&&se.stashInitialSize>0&&(this._stashInitialSize=se.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,se.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=He,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(He.url),this._refTotalLength=He.filesize?He.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new a,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}return Object(L.a)(Ue,[{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(se){this._extraData=se}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(se){this._onDataArrival=se}},{key:"onSeeked",get:function(){return this._onSeeked},set:function(se){this._onSeeked=se}},{key:"onError",get:function(){return this._onError},set:function(se){this._onError=se}},{key:"onComplete",get:function(){return this._onComplete},set:function(se){this._onComplete=se}},{key:"onRedirect",get:function(){return this._onRedirect},set:function(se){this._onRedirect=se}},{key:"onRecoveredEarlyEof",get:function(){return this._onRecoveredEarlyEof},set:function(se){this._onRecoveredEarlyEof=se}},{key:"currentURL",get:function(){return this._dataSource.url}},{key:"hasRedirect",get:function(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}},{key:"currentRedirectedURL",get:function(){return this._redirectedURL||this._dataSource.redirectedURL}},{key:"currentSpeed",get:function(){return this._loaderClass===F?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}},{key:"loaderType",get:function(){return this._loader.type}},{key:"_selectSeekHandler",value:function(){var se=this._config;if(se.seekType==="range")this._seekHandler=new H(this._config.rangeLoadZeroStart);else if(se.seekType==="param"){var Ae=se.seekParamStart||"bstart",Oe=se.seekParamEnd||"bend";this._seekHandler=new P(Ae,Oe)}else if(se.seekType==="custom"){if(typeof se.customSeekHandler!="function")throw new t("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new se.customSeekHandler}else throw new t("Invalid seekType in config: ".concat(se.seekType))}},{key:"_selectLoader",value:function(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=K;else if(S.isSupported())this._loaderClass=S;else if(T.isSupported())this._loaderClass=T;else if(F.isSupported())this._loaderClass=F;else throw new n("Your browser doesn't support xhr with arraybuffer responseType!")}},{key:"_createLoader",value:function(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}},{key:"open",value:function(se){this._currentRange={from:0,to:-1},se&&(this._currentRange.from=se),this._speedSampler.reset(),se||(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 se=this._resumeFrom;this._resumeFrom=0,this._internalSeek(se,!0)}}},{key:"seek",value:function(se){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(se,!0)}},{key:"_internalSeek",value:function(se,Ae){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(Ae),this._loader.destroy(),this._loader=null;var Oe={from:se,to:-1};this._currentRange={from:Oe.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,Oe),this._onSeeked&&this._onSeeked()}},{key:"updateUrl",value:function(se){if(!se||typeof se!="string"||se.length===0)throw new t("Url must be a non-empty string!");this._dataSource.url=se}},{key:"_expandBuffer",value:function(se){for(var Ae=this._stashSize;Ae+1024*1024*1<se;)Ae*=2;if(Ae+=1024*1024*1,Ae===this._bufferSize)return;var Oe=new ArrayBuffer(Ae);if(this._stashUsed>0){var ze=new Uint8Array(this._stashBuffer,0,this._stashUsed),Rt=new Uint8Array(Oe,0,Ae);Rt.set(ze,0)}this._stashBuffer=Oe,this._bufferSize=Ae}},{key:"_normalizeSpeed",value:function(se){var Ae=this._speedNormalizeList,Oe=Ae.length-1,ze=0,Rt=0,Et=Oe;if(se<Ae[0])return Ae[0];for(;Rt<=Et;){if(ze=Rt+Math.floor((Et-Rt)/2),ze===Oe||se>=Ae[ze]&&se<Ae[ze+1])return Ae[ze];Ae[ze]<se?Rt=ze+1:Et=ze-1}}},{key:"_adjustStashSize",value:function(se){var Ae=0;this._config.isLive||se<512?Ae=se:se>=512&&se<=1024?Ae=Math.floor(se*1.5):Ae=se*2,Ae>8192&&(Ae=8192);var Oe=Ae*1024+1024*1024*1;this._bufferSize<Oe&&this._expandBuffer(Oe),this._stashSize=Ae*1024}},{key:"_dispatchChunks",value:function(se,Ae){return this._currentRange.to=Ae+se.byteLength-1,this._onDataArrival(se,Ae)}},{key:"_onURLRedirect",value:function(se){this._redirectedURL=se,this._onRedirect&&this._onRedirect(se)}},{key:"_onContentLengthKnown",value:function(se){se&&this._fullRequestFlag&&(this._totalLength=se,this._fullRequestFlag=!1)}},{key:"_onLoaderChunkArrival",value:function(se,Ae,Oe){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(se.byteLength);var ze=this._speedSampler.lastSecondKBps;if(ze!==0){var Rt=this._normalizeSpeed(ze);this._speedNormalized!==Rt&&(this._speedNormalized=Rt,this._adjustStashSize(Rt))}if(this._enableStash)if(this._stashUsed===0&&this._stashByteStart===0&&(this._stashByteStart=Ae),this._stashUsed+se.byteLength<=this._stashSize){var $e=new Uint8Array(this._stashBuffer,0,this._stashSize);$e.set(new Uint8Array(se),this._stashUsed),this._stashUsed+=se.byteLength}else{var Qe=new Uint8Array(this._stashBuffer,0,this._bufferSize);if(this._stashUsed>0){var kt=this._stashBuffer.slice(0,this._stashUsed),Ht=this._dispatchChunks(kt,this._stashByteStart);if(Ht<kt.byteLength){if(Ht>0){var ot=new Uint8Array(kt,Ht);Qe.set(ot,0),this._stashUsed=ot.byteLength,this._stashByteStart+=Ht}}else this._stashUsed=0,this._stashByteStart+=Ht;this._stashUsed+se.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+se.byteLength),Qe=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Qe.set(new Uint8Array(se),this._stashUsed),this._stashUsed+=se.byteLength}else{var Ct=this._dispatchChunks(se,Ae);if(Ct<se.byteLength){var nt=se.byteLength-Ct;nt>this._bufferSize&&(this._expandBuffer(nt),Qe=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Qe.set(new Uint8Array(se,Ct),0),this._stashUsed+=nt,this._stashByteStart=Ae+Ct}}}else if(this._stashUsed===0){var Et=this._dispatchChunks(se,Ae);if(Et<se.byteLength){var _t=se.byteLength-Et;_t>this._bufferSize&&this._expandBuffer(_t);var Nn=new Uint8Array(this._stashBuffer,0,this._bufferSize);Nn.set(new Uint8Array(se,Et),0),this._stashUsed+=_t,this._stashByteStart=Ae+Et}}else{this._stashUsed+se.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+se.byteLength);var Mn=new Uint8Array(this._stashBuffer,0,this._bufferSize);Mn.set(new Uint8Array(se),this._stashUsed),this._stashUsed+=se.byteLength;var lr=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(lr<this._stashUsed&&lr>0){var Lt=new Uint8Array(this._stashBuffer,lr);Mn.set(Lt,0)}this._stashUsed-=lr,this._stashByteStart+=lr}}},{key:"_flushStashBuffer",value:function(se){if(this._stashUsed>0){var Ae=this._stashBuffer.slice(0,this._stashUsed),Oe=this._dispatchChunks(Ae,this._stashByteStart),ze=Ae.byteLength-Oe;if(Oe<Ae.byteLength)if(se)d.w(this.TAG,"".concat(ze," bytes unconsumed data remain when flush buffer, dropped"));else{if(Oe>0){var Rt=new Uint8Array(this._stashBuffer,0,this._bufferSize),Et=new Uint8Array(Ae,Oe);Rt.set(Et,0),this._stashUsed=Et.byteLength,this._stashByteStart+=Oe}return 0}return this._stashUsed=0,this._stashByteStart=0,ze}return 0}},{key:"_onLoaderComplete",value:function(se,Ae){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}},{key:"_onLoaderError",value:function(se,Ae){d.e(this.TAG,"Loader error, code = ".concat(Ae.code,", msg = ").concat(Ae.msg)),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,se=c.UNRECOVERABLE_EARLY_EOF);switch(se){case c.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){var Oe=this._currentRange.to+1;Oe<this._totalLength&&(d.w(this.TAG,"Connection lost, trying reconnect..."),this._isEarlyEofReconnecting=!0,this._internalSeek(Oe,!1));return}se=c.UNRECOVERABLE_EARLY_EOF;break}case c.UNRECOVERABLE_EARLY_EOF:case c.CONNECTING_TIMEOUT:case c.HTTP_STATUS_CODE_INVALID:case c.EXCEPTION:break}if(this._onError)this._onError(se,Ae);else throw new n("IOException: "+Ae.msg)}}]),Ue}(),Y=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 G(){return Object.assign({},_)}var J=function(){function Ue(){Object(y.a)(this,Ue)}return Object(L.a)(Ue,null,[{key:"supportMSEH264Playback",value:function(){return window.MediaSource&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')}},{key:"supportNetworkStreamIO",value:function(){var se=new Y({},G()),Ae=se.loaderType;return se.destroy(),Ae=="fetch-stream-loader"||Ae=="xhr-moz-chunked-loader"}},{key:"getNetworkLoaderTypeName",value:function(){var se=new Y({},G()),Ae=se.loaderType;return se.destroy(),Ae}},{key:"supportNativeMediaPlayback",value:function(se){Ue.videoElement==null&&(Ue.videoElement=window.document.createElement("video"));var Ae=Ue.videoElement.canPlayType(se);return Ae==="probably"||Ae=="maybe"}},{key:"getFeatureList",value:function(){var se={mseFlvPlayback:!1,mseLiveFlvPlayback:!1,networkStreamIO:!1,networkLoaderName:"",nativeMP4H264Playback:!1,nativeWebmVP8Playback:!1,nativeWebmVP9Playback:!1};return se.mseFlvPlayback=Ue.supportMSEH264Playback(),se.networkStreamIO=Ue.supportNetworkStreamIO(),se.networkLoaderName=Ue.getNetworkLoaderTypeName(),se.mseLiveFlvPlayback=se.mseFlvPlayback&&se.networkStreamIO,se.nativeMP4H264Playback=Ue.supportNativeMediaPlayback('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),se.nativeWebmVP8Playback=Ue.supportNativeMediaPlayback('video/webm; codecs="vp8.0, vorbis"'),se.nativeWebmVP9Playback=Ue.supportNativeMediaPlayback('video/webm; codecs="vp9"'),se}}]),Ue}(),ue=J,q={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"},re=q,me=function(){function Ue(){Object(y.a)(this,Ue)}return Object(L.a)(Ue,null,[{key:"forceGlobalTag",get:function(){return d.FORCE_GLOBAL_TAG},set:function(se){d.FORCE_GLOBAL_TAG=se,Ue._notifyChange()}},{key:"globalTag",get:function(){return d.GLOBAL_TAG},set:function(se){d.GLOBAL_TAG=se,Ue._notifyChange()}},{key:"enableAll",get:function(){return d.ENABLE_VERBOSE&&d.ENABLE_DEBUG&&d.ENABLE_INFO&&d.ENABLE_WARN&&d.ENABLE_ERROR},set:function(se){d.ENABLE_VERBOSE=se,d.ENABLE_DEBUG=se,d.ENABLE_INFO=se,d.ENABLE_WARN=se,d.ENABLE_ERROR=se,Ue._notifyChange()}},{key:"enableDebug",get:function(){return d.ENABLE_DEBUG},set:function(se){d.ENABLE_DEBUG=se,Ue._notifyChange()}},{key:"enableVerbose",get:function(){return d.ENABLE_VERBOSE},set:function(se){d.ENABLE_VERBOSE=se,Ue._notifyChange()}},{key:"enableInfo",get:function(){return d.ENABLE_INFO},set:function(se){d.ENABLE_INFO=se,Ue._notifyChange()}},{key:"enableWarn",get:function(){return d.ENABLE_WARN},set:function(se){d.ENABLE_WARN=se,Ue._notifyChange()}},{key:"enableError",get:function(){return d.ENABLE_ERROR},set:function(se){d.ENABLE_ERROR=se,Ue._notifyChange()}},{key:"getConfig",value:function(){return{globalTag:d.GLOBAL_TAG,forceGlobalTag:d.FORCE_GLOBAL_TAG,enableVerbose:d.ENABLE_VERBOSE,enableDebug:d.ENABLE_DEBUG,enableInfo:d.ENABLE_INFO,enableWarn:d.ENABLE_WARN,enableError:d.ENABLE_ERROR,enableCallback:d.ENABLE_CALLBACK}}},{key:"applyConfig",value:function(se){d.GLOBAL_TAG=se.globalTag,d.FORCE_GLOBAL_TAG=se.forceGlobalTag,d.ENABLE_VERBOSE=se.enableVerbose,d.ENABLE_DEBUG=se.enableDebug,d.ENABLE_INFO=se.enableInfo,d.ENABLE_WARN=se.enableWarn,d.ENABLE_ERROR=se.enableError,d.ENABLE_CALLBACK=se.enableCallback}},{key:"_notifyChange",value:function(){var se=Ue.emitter;if(se.listenerCount("change")>0){var Ae=Ue.getConfig();se.emit("change",Ae)}}},{key:"registerListener",value:function(se){Ue.emitter.addListener("change",se)}},{key:"removeListener",value:function(se){Ue.emitter.removeListener("change",se)}},{key:"addLogListener",value:function(se){d.emitter.addListener("log",se),d.emitter.listenerCount("log")>0&&(d.ENABLE_CALLBACK=!0,Ue._notifyChange())}},{key:"removeLogListener",value:function(se){d.emitter.removeListener("log",se),d.emitter.listenerCount("log")===0&&(d.ENABLE_CALLBACK=!1,Ue._notifyChange())}}]),Ue}();me.emitter=new b.a;var be=me,ke=function(){function Ue(){Object(y.a)(this,Ue),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(L.a)(Ue,[{key:"isComplete",value:function(){var se=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,Ae=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&&se&&Ae}},{key:"isSeekable",value:function(){return this.hasKeyframesIndex===!0}},{key:"getNearestKeyframe",value:function(se){if(this.keyframesIndex==null)return null;var Ae=this.keyframesIndex,Oe=this._search(Ae.times,se);return{index:Oe,milliseconds:Ae.times[Oe],fileposition:Ae.filepositions[Oe]}}},{key:"_search",value:function(se,Ae){var Oe=0,ze=se.length-1,Rt=0,Et=0,_t=ze;for(Ae<se[0]&&(Oe=0,Et=_t+1);Et<=_t;)if(Rt=Et+Math.floor((_t-Et)/2),Rt===ze||Ae>=se[Rt]&&Ae<se[Rt+1]){Oe=Rt;break}else se[Rt]<Ae?Et=Rt+1:_t=Rt-1;return Oe}}]),Ue}(),ce=ke;function Ee(Ue,He,se){var Ae=Ue;if(He+se<Ae.length){for(;se--;)if((Ae[++He]&192)!==128)return!1;return!0}else return!1}function pe(Ue){for(var He=[],se=Ue,Ae=0,Oe=Ue.length;Ae<Oe;){if(se[Ae]<128){He.push(String.fromCharCode(se[Ae])),++Ae;continue}else if(!(se[Ae]<192)){if(se[Ae]<224){if(Ee(se,Ae,1)){var ze=(se[Ae]&31)<<6|se[Ae+1]&63;if(ze>=128){He.push(String.fromCharCode(ze&65535)),Ae+=2;continue}}}else if(se[Ae]<240){if(Ee(se,Ae,2)){var Rt=(se[Ae]&15)<<12|(se[Ae+1]&63)<<6|se[Ae+2]&63;if(Rt>=2048&&(Rt&63488)!==55296){He.push(String.fromCharCode(Rt&65535)),Ae+=3;continue}}}else if(se[Ae]<248&&Ee(se,Ae,3)){var Et=(se[Ae]&7)<<18|(se[Ae+1]&63)<<12|(se[Ae+2]&63)<<6|se[Ae+3]&63;if(Et>65536&&Et<1114112){Et-=65536,He.push(String.fromCharCode(Et>>>10|55296)),He.push(String.fromCharCode(Et&1023|56320)),Ae+=4;continue}}}He.push(String.fromCharCode(65533)),++Ae}return He.join("")}var Se=pe,st=function(){var Ue=new ArrayBuffer(2);return new DataView(Ue).setInt16(0,256,!0),new Int16Array(Ue)[0]===256}(),qe=function(){function Ue(){Object(y.a)(this,Ue)}return Object(L.a)(Ue,null,[{key:"parseScriptData",value:function(se,Ae,Oe){var ze={};try{var Rt=Ue.parseValue(se,Ae,Oe),Et=Ue.parseValue(se,Ae+Rt.size,Oe-Rt.size);ze[Rt.data]=Et.data}catch(_t){d.e("AMF",_t.toString())}return ze}},{key:"parseObject",value:function(se,Ae,Oe){if(Oe<3)throw new l("Data not enough when parse ScriptDataObject");var ze=Ue.parseString(se,Ae,Oe),Rt=Ue.parseValue(se,Ae+ze.size,Oe-ze.size),Et=Rt.objectEnd;return{data:{name:ze.data,value:Rt.data},size:ze.size+Rt.size,objectEnd:Et}}},{key:"parseVariable",value:function(se,Ae,Oe){return Ue.parseObject(se,Ae,Oe)}},{key:"parseString",value:function(se,Ae,Oe){if(Oe<2)throw new l("Data not enough when parse String");var ze=new DataView(se,Ae,Oe),Rt=ze.getUint16(0,!st),Et;return Rt>0?Et=Se(new Uint8Array(se,Ae+2,Rt)):Et="",{data:Et,size:2+Rt}}},{key:"parseLongString",value:function(se,Ae,Oe){if(Oe<4)throw new l("Data not enough when parse LongString");var ze=new DataView(se,Ae,Oe),Rt=ze.getUint32(0,!st),Et;return Rt>0?Et=Se(new Uint8Array(se,Ae+4,Rt)):Et="",{data:Et,size:4+Rt}}},{key:"parseDate",value:function(se,Ae,Oe){if(Oe<10)throw new l("Data size invalid when parse Date");var ze=new DataView(se,Ae,Oe),Rt=ze.getFloat64(0,!st),Et=ze.getInt16(8,!st);return Rt+=Et*60*1e3,{data:new Date(Rt),size:8+2}}},{key:"parseValue",value:function(se,Ae,Oe){if(Oe<1)throw new l("Data not enough when parse Value");var ze=new DataView(se,Ae,Oe),Rt=1,Et=ze.getUint8(0),_t,Nn=!1;try{switch(Et){case 0:_t=ze.getFloat64(1,!st),Rt+=8;break;case 1:{var Mn=ze.getUint8(1);_t=!!Mn,Rt+=1;break}case 2:{var lr=Ue.parseString(se,Ae+1,Oe-1);_t=lr.data,Rt+=lr.size;break}case 3:{_t={};var Lt=0;for((ze.getUint32(Oe-4,!st)&16777215)===9&&(Lt=3);Rt<Oe-4;){var $e=Ue.parseObject(se,Ae+Rt,Oe-Rt-Lt);if($e.objectEnd)break;_t[$e.data.name]=$e.data.value,Rt+=$e.size}if(Rt<=Oe-3){var Qe=ze.getUint32(Rt-1,!st)&16777215;Qe===9&&(Rt+=3)}break}case 8:{_t={},Rt+=4;var kt=0;for((ze.getUint32(Oe-4,!st)&16777215)===9&&(kt=3);Rt<Oe-8;){var Ht=Ue.parseVariable(se,Ae+Rt,Oe-Rt-kt);if(Ht.objectEnd)break;_t[Ht.data.name]=Ht.data.value,Rt+=Ht.size}if(Rt<=Oe-3){var ot=ze.getUint32(Rt-1,!st)&16777215;ot===9&&(Rt+=3)}break}case 9:_t=void 0,Rt=1,Nn=!0;break;case 10:{_t=[];var Ct=ze.getUint32(1,!st);Rt+=4;for(var nt=0;nt<Ct;nt++){var Ot=Ue.parseValue(se,Ae+Rt,Oe-Rt);_t.push(Ot.data),Rt+=Ot.size}break}case 11:{var sn=Ue.parseDate(se,Ae+1,Oe-1);_t=sn.data,Rt+=sn.size;break}case 12:{var Zt=Ue.parseString(se,Ae+1,Oe-1);_t=Zt.data,Rt+=Zt.size;break}default:Rt=Oe,d.w("AMF","Unsupported AMF value type "+Et)}}catch(Gt){d.e("AMF",Gt.toString())}return{data:_t,size:Rt,objectEnd:Nn}}}]),Ue}(),tt=qe,Dt=function(){function Ue(He){Object(y.a)(this,Ue),this.TAG="ExpGolomb",this._buffer=He,this._buffer_index=0,this._total_bytes=He.byteLength,this._total_bits=He.byteLength*8,this._current_word=0,this._current_word_bits_left=0}return Object(L.a)(Ue,[{key:"destroy",value:function(){this._buffer=null}},{key:"_fillCurrentWord",value:function(){var se=this._total_bytes-this._buffer_index;if(se<=0)throw new l("ExpGolomb: _fillCurrentWord() but no bytes available");var Ae=Math.min(4,se),Oe=new Uint8Array(4);Oe.set(this._buffer.subarray(this._buffer_index,this._buffer_index+Ae)),this._current_word=new DataView(Oe.buffer).getUint32(0,!1),this._buffer_index+=Ae,this._current_word_bits_left=Ae*8}},{key:"readBits",value:function(se){if(se>32)throw new t("ExpGolomb: readBits() bits exceeded max 32bits!");if(se<=this._current_word_bits_left){var Ae=this._current_word>>>32-se;return this._current_word<<=se,this._current_word_bits_left-=se,Ae}var Oe=this._current_word_bits_left?this._current_word:0;Oe=Oe>>>32-this._current_word_bits_left;var ze=se-this._current_word_bits_left;this._fillCurrentWord();var Rt=Math.min(ze,this._current_word_bits_left),Et=this._current_word>>>32-Rt;return this._current_word<<=Rt,this._current_word_bits_left-=Rt,Oe=Oe<<Rt|Et,Oe}},{key:"readBool",value:function(){return this.readBits(1)===1}},{key:"readByte",value:function(){return this.readBits(8)}},{key:"_skipLeadingZero",value:function(){var se;for(se=0;se<this._current_word_bits_left;se++)if((this._current_word&2147483648>>>se)!==0)return this._current_word<<=se,this._current_word_bits_left-=se,se;return this._fillCurrentWord(),se+this._skipLeadingZero()}},{key:"readUEG",value:function(){var se=this._skipLeadingZero();return this.readBits(se+1)-1}},{key:"readSEG",value:function(){var se=this.readUEG();return se&1?se+1>>>1:-1*(se>>>1)}}]),Ue}(),ct=Dt,St=function(){function Ue(){Object(y.a)(this,Ue)}return Object(L.a)(Ue,null,[{key:"_ebsp2rbsp",value:function(se){for(var Ae=se,Oe=Ae.byteLength,ze=new Uint8Array(Oe),Rt=0,Et=0;Et<Oe;Et++){if(Et>=2&&(Ae[Et]===3&&Ae[Et-1]===0&&Ae[Et-2]===0))continue;ze[Rt]=Ae[Et],Rt++}return new Uint8Array(ze.buffer,0,Rt)}},{key:"parseSPS",value:function(se){var Ae=Ue._ebsp2rbsp(se),Oe=new ct(Ae);Oe.readByte();var ze=Oe.readByte();Oe.readByte();var Rt=Oe.readByte();Oe.readUEG();var Et=Ue.getProfileString(ze),_t=Ue.getLevelString(Rt),Nn=1,Mn=420,lr=[0,420,422,444],Lt=8;if((ze===100||ze===110||ze===122||ze===244||ze===44||ze===83||ze===86||ze===118||ze===128||ze===138||ze===144)&&(Nn=Oe.readUEG(),Nn===3&&Oe.readBits(1),Nn<=3&&(Mn=lr[Nn]),Lt=Oe.readUEG()+8,Oe.readUEG(),Oe.readBits(1),Oe.readBool()))for(var $e=Nn!==3?8:12,Qe=0;Qe<$e;Qe++)Oe.readBool()&&(Qe<6?Ue._skipScalingList(Oe,16):Ue._skipScalingList(Oe,64));Oe.readUEG();var kt=Oe.readUEG();if(kt===0)Oe.readUEG();else if(kt===1){Oe.readBits(1),Oe.readSEG(),Oe.readSEG();for(var Ht=Oe.readUEG(),ot=0;ot<Ht;ot++)Oe.readSEG()}var Ct=Oe.readUEG();Oe.readBits(1);var nt=Oe.readUEG(),Ot=Oe.readUEG(),sn=Oe.readBits(1);sn===0&&Oe.readBits(1),Oe.readBits(1);var Zt=0,Gt=0,Qn=0,Gn=0,Or=Oe.readBool();Or&&(Zt=Oe.readUEG(),Gt=Oe.readUEG(),Qn=Oe.readUEG(),Gn=Oe.readUEG());var Nr=1,Kr=1,ei=0,vi=!0,Pi=0,Be=0,le=Oe.readBool();if(le){if(Oe.readBool()){var ye=Oe.readByte(),xe=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],De=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];ye>0&&ye<16?(Nr=xe[ye-1],Kr=De[ye-1]):ye===255&&(Nr=Oe.readByte()<<8|Oe.readByte(),Kr=Oe.readByte()<<8|Oe.readByte())}if(Oe.readBool()&&Oe.readBool(),Oe.readBool()&&(Oe.readBits(4),Oe.readBool()&&Oe.readBits(24)),Oe.readBool()&&(Oe.readUEG(),Oe.readUEG()),Oe.readBool()){var Le=Oe.readBits(32),Fe=Oe.readBits(32);vi=Oe.readBool(),Pi=Fe,Be=Le*2,ei=Pi/Be}}var at=1;(Nr!==1||Kr!==1)&&(at=Nr/Kr);var Ve=0,It=0;if(Nn===0)Ve=1,It=2-sn;else{var pn=Nn===3?1:2,rn=Nn===1?2:1;Ve=pn,It=rn*(2-sn)}var Tn=(nt+1)*16,Nt=(2-sn)*((Ot+1)*16);Tn-=(Zt+Gt)*Ve,Nt-=(Qn+Gn)*It;var ur=Math.ceil(Tn*at);return Oe.destroy(),Oe=null,{profile_string:Et,level_string:_t,bit_depth:Lt,ref_frames:Ct,chroma_format:Mn,chroma_format_string:Ue.getChromaFormatString(Mn),frame_rate:{fixed:vi,fps:ei,fps_den:Be,fps_num:Pi},sar_ratio:{width:Nr,height:Kr},codec_size:{width:Tn,height:Nt},present_size:{width:ur,height:Nt}}}},{key:"_skipScalingList",value:function(se,Ae){for(var Oe=8,ze=8,Rt=0,Et=0;Et<Ae;Et++)ze!==0&&(Rt=se.readSEG(),ze=(Oe+Rt+256)%256),Oe=ze===0?Oe:ze}},{key:"getProfileString",value:function(se){switch(se){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(se){return(se/10).toFixed(1)}},{key:"getChromaFormatString",value:function(se){switch(se){case 420:return"4:2:0";case 422:return"4:2:2";case 444:return"4:4:4";default:return"Unknown"}}}]),Ue}(),rt=St,ht={OK:"OK",FORMAT_ERROR:"FormatError",FORMAT_UNSUPPORTED:"FormatUnsupported",CODEC_UNSUPPORTED:"CodecUnsupported"},je=ht;function Me(Ue){return Ue>>>8&255|(Ue&255)<<8}function Ne(Ue){return(Ue&4278190080)>>>24|(Ue&16711680)>>>8|(Ue&65280)<<8|(Ue&255)<<24}function it(Ue,He){return Ue[He]<<24|Ue[He+1]<<16|Ue[He+2]<<8|Ue[He+3]}var wt=function(){function Ue(He,se){Object(y.a)(this,Ue),this.TAG="FLVDemuxer",this._config=se,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=He.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=He.hasAudioTrack,this._hasVideo=He.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new ce,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){var Ae=new ArrayBuffer(2);return new DataView(Ae).setInt16(0,256,!0),new Int16Array(Ae)[0]===256}()}return Object(L.a)(Ue,[{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(se){return se.onDataArrival=this.parseChunks.bind(this),this}},{key:"onTrackMetadata",get:function(){return this._onTrackMetadata},set:function(se){this._onTrackMetadata=se}},{key:"onMediaInfo",get:function(){return this._onMediaInfo},set:function(se){this._onMediaInfo=se}},{key:"onMetaDataArrived",get:function(){return this._onMetaDataArrived},set:function(se){this._onMetaDataArrived=se}},{key:"onScriptDataArrived",get:function(){return this._onScriptDataArrived},set:function(se){this._onScriptDataArrived=se}},{key:"onError",get:function(){return this._onError},set:function(se){this._onError=se}},{key:"onDataAvailable",get:function(){return this._onDataAvailable},set:function(se){this._onDataAvailable=se}},{key:"timestampBase",get:function(){return this._timestampBase},set:function(se){this._timestampBase=se}},{key:"overridedDuration",get:function(){return this._duration},set:function(se){this._durationOverrided=!0,this._duration=se,this._mediaInfo.duration=se}},{key:"overridedHasAudio",set:function(se){this._hasAudioFlagOverrided=!0,this._hasAudio=se,this._mediaInfo.hasAudio=se}},{key:"overridedHasVideo",set:function(se){this._hasVideoFlagOverrided=!0,this._hasVideo=se,this._mediaInfo.hasVideo=se}},{key:"resetMediaInfo",value:function(){this._mediaInfo=new ce}},{key:"_isInitialMetadataDispatched",value:function(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1}},{key:"parseChunks",value:function(se,Ae){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new l("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");var Oe=0,ze=this._littleEndian;if(Ae===0)if(se.byteLength>13){var Rt=Ue.probe(se);Oe=Rt.dataOffset}else return 0;if(this._firstParse){this._firstParse=!1,Ae+Oe!==this._dataOffset&&d.w(this.TAG,"First time parsing but chunk byteStart invalid!");var Et=new DataView(se,Oe),_t=Et.getUint32(0,!ze);_t!==0&&d.w(this.TAG,"PrevTagSize0 !== 0 !!!"),Oe+=4}for(;Oe<se.byteLength;){this._dispatch=!0;var Nn=new DataView(se,Oe);if(Oe+11+4>se.byteLength)break;var Mn=Nn.getUint8(0),lr=Nn.getUint32(0,!ze)&16777215;if(Oe+11+lr+4>se.byteLength)break;if(Mn!==8&&Mn!==9&&Mn!==18){d.w(this.TAG,"Unsupported tag type ".concat(Mn,", skipped")),Oe+=11+lr+4;continue}var Lt=Nn.getUint8(4),$e=Nn.getUint8(5),Qe=Nn.getUint8(6),kt=Nn.getUint8(7),Ht=Qe|$e<<8|Lt<<16|kt<<24,ot=Nn.getUint32(7,!ze)&16777215;ot!==0&&d.w(this.TAG,"Meet tag which has StreamID != 0!");var Ct=Oe+11;switch(Mn){case 8:this._parseAudioData(se,Ct,lr,Ht);break;case 9:this._parseVideoData(se,Ct,lr,Ht,Ae+Oe);break;case 18:this._parseScriptData(se,Ct,lr);break}var nt=Nn.getUint32(11+lr,!ze);nt!==11+lr&&d.w(this.TAG,"Invalid PrevTagSize ".concat(nt)),Oe+=11+lr+4}return this._isInitialMetadataDispatched()&&(this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack)),Oe}},{key:"_parseScriptData",value:function(se,Ae,Oe){var ze=tt.parseScriptData(se,Ae,Oe);if(ze.hasOwnProperty("onMetaData")){if(ze.onMetaData==null||typeof ze.onMetaData!="object"){d.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&d.w(this.TAG,"Found another onMetaData tag!"),this._metadata=ze;var Rt=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},Rt)),typeof Rt.hasAudio=="boolean"&&(this._hasAudioFlagOverrided===!1&&(this._hasAudio=Rt.hasAudio,this._mediaInfo.hasAudio=this._hasAudio)),typeof Rt.hasVideo=="boolean"&&(this._hasVideoFlagOverrided===!1&&(this._hasVideo=Rt.hasVideo,this._mediaInfo.hasVideo=this._hasVideo)),typeof Rt.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=Rt.audiodatarate),typeof Rt.videodatarate=="number"&&(this._mediaInfo.videoDataRate=Rt.videodatarate),typeof Rt.width=="number"&&(this._mediaInfo.width=Rt.width),typeof Rt.height=="number"&&(this._mediaInfo.height=Rt.height),typeof Rt.duration=="number"){if(!this._durationOverrided){var Et=Math.floor(Rt.duration*this._timescale);this._duration=Et,this._mediaInfo.duration=Et}}else this._mediaInfo.duration=0;if(typeof Rt.framerate=="number"){var _t=Math.floor(Rt.framerate*1e3);if(_t>0){var Nn=_t/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=Nn,this._referenceFrameRate.fps_num=_t,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=Nn}}if(typeof Rt.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;var Mn=Rt.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(Mn),Rt.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=Rt,d.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(ze).length>0&&(this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},ze)))}},{key:"_parseKeyframesIndex",value:function(se){for(var Ae=[],Oe=[],ze=1;ze<se.times.length;ze++){var Rt=this._timestampBase+Math.floor(se.times[ze]*1e3);Ae.push(Rt),Oe.push(se.filepositions[ze])}return{times:Ae,filepositions:Oe}}},{key:"_parseAudioData",value:function(se,Ae,Oe,ze){if(Oe<=1){d.w(this.TAG,"Flv: Invalid audio packet, missing SoundData payload!");return}if(this._hasAudioFlagOverrided===!0&&this._hasAudio===!1)return;var Rt=this._littleEndian,Et=new DataView(se,Ae,Oe),_t=Et.getUint8(0),Nn=_t>>>4;if(Nn!==2&&Nn!==10){this._onError(je.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+Nn);return}var Mn=0,lr=(_t&12)>>>2;if(lr>=0&&lr<=4)Mn=this._flvSoundRateTable[lr];else{this._onError(je.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+lr);return}var Lt=(_t&2)>>>1,$e=_t&1,Qe=this._audioMetadata,kt=this._audioTrack;if(Qe||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),Qe=this._audioMetadata={},Qe.type="audio",Qe.id=kt.id,Qe.timescale=this._timescale,Qe.duration=this._duration,Qe.audioSampleRate=Mn,Qe.channelCount=$e===0?1:2),Nn===10){var Ht=this._parseAACAudioData(se,Ae+1,Oe-1);if(Ht==null)return;if(Ht.packetType===0){Qe.config&&d.w(this.TAG,"Found another AudioSpecificConfig!");var ot=Ht.data;Qe.audioSampleRate=ot.samplingRate,Qe.channelCount=ot.channelCount,Qe.codec=ot.codec,Qe.originalCodec=ot.originalCodec,Qe.config=ot.config,Qe.refSampleDuration=1024/Qe.audioSampleRate*Qe.timescale,d.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",Qe);var Ct=this._mediaInfo;Ct.audioCodec=Qe.originalCodec,Ct.audioSampleRate=Qe.audioSampleRate,Ct.audioChannelCount=Qe.channelCount,Ct.hasVideo?Ct.videoCodec!=null&&(Ct.mimeType='video/x-flv; codecs="'+Ct.videoCodec+","+Ct.audioCodec+'"'):Ct.mimeType='video/x-flv; codecs="'+Ct.audioCodec+'"',Ct.isComplete()&&this._onMediaInfo(Ct)}else if(Ht.packetType===1){var nt=this._timestampBase+ze,Ot={unit:Ht.data,length:Ht.data.byteLength,dts:nt,pts:nt};kt.samples.push(Ot),kt.length+=Ht.data.length}else d.e(this.TAG,"Flv: Unsupported AAC data type ".concat(Ht.packetType))}else if(Nn===2){if(!Qe.codec){var sn=this._parseMP3AudioData(se,Ae+1,Oe-1,!0);if(sn==null)return;Qe.audioSampleRate=sn.samplingRate,Qe.channelCount=sn.channelCount,Qe.codec=sn.codec,Qe.originalCodec=sn.originalCodec,Qe.refSampleDuration=1152/Qe.audioSampleRate*Qe.timescale,d.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",Qe);var Zt=this._mediaInfo;Zt.audioCodec=Qe.codec,Zt.audioSampleRate=Qe.audioSampleRate,Zt.audioChannelCount=Qe.channelCount,Zt.audioDataRate=sn.bitRate,Zt.hasVideo?Zt.videoCodec!=null&&(Zt.mimeType='video/x-flv; codecs="'+Zt.videoCodec+","+Zt.audioCodec+'"'):Zt.mimeType='video/x-flv; codecs="'+Zt.audioCodec+'"',Zt.isComplete()&&this._onMediaInfo(Zt)}var Gt=this._parseMP3AudioData(se,Ae+1,Oe-1,!1);if(Gt==null)return;var Qn=this._timestampBase+ze,Gn={unit:Gt,length:Gt.byteLength,dts:Qn,pts:Qn};kt.samples.push(Gn),kt.length+=Gt.length}}},{key:"_parseAACAudioData",value:function(se,Ae,Oe){if(Oe<=1){d.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}var ze={},Rt=new Uint8Array(se,Ae,Oe);return ze.packetType=Rt[0],Rt[0]===0?ze.data=this._parseAACAudioSpecificConfig(se,Ae+1,Oe-1):ze.data=Rt.subarray(1),ze}},{key:"_parseAACAudioSpecificConfig",value:function(se,Ae,Oe){var ze=new Uint8Array(se,Ae,Oe),Rt=null,Et=0,_t=0,Nn=null,Mn=0,lr=null;if(Et=_t=ze[0]>>>3,Mn=(ze[0]&7)<<1|ze[1]>>>7,Mn<0||Mn>=this._mpegSamplingRates.length){this._onError(je.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}var Lt=this._mpegSamplingRates[Mn],$e=(ze[1]&120)>>>3;if($e<0||$e>=8){this._onError(je.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}Et===5&&(lr=(ze[1]&7)<<1|ze[2]>>>7,Nn=(ze[2]&124)>>>2);var Qe=self.navigator.userAgent.toLowerCase();return Qe.indexOf("firefox")!==-1?Mn>=6?(Et=5,Rt=new Array(4),lr=Mn-3):(Et=2,Rt=new Array(2),lr=Mn):Qe.indexOf("android")!==-1?(Et=2,Rt=new Array(2),lr=Mn):(Et=5,lr=Mn,Rt=new Array(4),Mn>=6?lr=Mn-3:$e===1&&(Et=2,Rt=new Array(2),lr=Mn)),Rt[0]=Et<<3,Rt[0]|=(Mn&15)>>>1,Rt[1]=(Mn&15)<<7,Rt[1]|=($e&15)<<3,Et===5&&(Rt[1]|=(lr&15)>>>1,Rt[2]=(lr&1)<<7,Rt[2]|=2<<2,Rt[3]=0),{config:Rt,samplingRate:Lt,channelCount:$e,codec:"mp4a.40."+Et,originalCodec:"mp4a.40."+_t}}},{key:"_parseMP3AudioData",value:function(se,Ae,Oe,ze){if(Oe<4){d.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}var Rt=this._littleEndian,Et=new Uint8Array(se,Ae,Oe),_t=null;if(ze){if(Et[0]!==255)return;var Nn=Et[1]>>>3&3,Mn=(Et[1]&6)>>1,lr=(Et[2]&240)>>>4,Lt=(Et[2]&12)>>>2,$e=Et[3]>>>6&3,Qe=$e!==3?2:1,kt=0,Ht=0,ot=34,Ct="mp3";switch(Nn){case 0:kt=this._mpegAudioV25SampleRateTable[Lt];break;case 2:kt=this._mpegAudioV20SampleRateTable[Lt];break;case 3:kt=this._mpegAudioV10SampleRateTable[Lt];break}switch(Mn){case 1:ot=34,lr<this._mpegAudioL3BitRateTable.length&&(Ht=this._mpegAudioL3BitRateTable[lr]);break;case 2:ot=33,lr<this._mpegAudioL2BitRateTable.length&&(Ht=this._mpegAudioL2BitRateTable[lr]);break;case 3:ot=32,lr<this._mpegAudioL1BitRateTable.length&&(Ht=this._mpegAudioL1BitRateTable[lr]);break}_t={bitRate:Ht,samplingRate:kt,channelCount:Qe,codec:Ct,originalCodec:Ct}}else _t=Et;return _t}},{key:"_parseVideoData",value:function(se,Ae,Oe,ze,Rt){if(Oe<=1){d.w(this.TAG,"Flv: Invalid video packet, missing VideoData payload!");return}if(this._hasVideoFlagOverrided===!0&&this._hasVideo===!1)return;var Et=new Uint8Array(se,Ae,Oe)[0],_t=(Et&240)>>>4,Nn=Et&15;if(Nn!==7){this._onError(je.CODEC_UNSUPPORTED,"Flv: Unsupported codec in video frame: ".concat(Nn));return}this._parseAVCVideoPacket(se,Ae+1,Oe-1,ze,Rt,_t)}},{key:"_parseAVCVideoPacket",value:function(se,Ae,Oe,ze,Rt,Et){if(Oe<4){d.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}var _t=this._littleEndian,Nn=new DataView(se,Ae,Oe),Mn=Nn.getUint8(0),lr=Nn.getUint32(0,!_t)&16777215,Lt=lr<<8>>8;if(Mn===0)this._parseAVCDecoderConfigurationRecord(se,Ae+4,Oe-4);else if(Mn===1)this._parseAVCVideoData(se,Ae+4,Oe-4,ze,Rt,Et,Lt);else if(!(Mn===2)){this._onError(je.FORMAT_ERROR,"Flv: Invalid video packet type ".concat(Mn));return}}},{key:"_parseAVCDecoderConfigurationRecord",value:function(se,Ae,Oe){if(Oe<7){d.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}var ze=this._videoMetadata,Rt=this._videoTrack,Et=this._littleEndian,_t=new DataView(se,Ae,Oe);ze?typeof ze.avcc!="undefined"&&d.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),ze=this._videoMetadata={},ze.type="video",ze.id=Rt.id,ze.timescale=this._timescale,ze.duration=this._duration);var Nn=_t.getUint8(0),Mn=_t.getUint8(1),lr=_t.getUint8(2),Lt=_t.getUint8(3);if(Nn!==1||Mn===0){this._onError(je.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(_t.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(je.FORMAT_ERROR,"Flv: Strange NaluLengthSizeMinusOne: ".concat(this._naluLengthSize-1));return}var $e=_t.getUint8(5)&31;if($e===0){this._onError(je.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else $e>1&&d.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ".concat($e));for(var Qe=6,kt=0;kt<$e;kt++){var Ht=_t.getUint16(Qe,!Et);if(Qe+=2,Ht===0)continue;var ot=new Uint8Array(se,Ae+Qe,Ht);Qe+=Ht;var Ct=rt.parseSPS(ot);if(kt!==0)continue;ze.codecWidth=Ct.codec_size.width,ze.codecHeight=Ct.codec_size.height,ze.presentWidth=Ct.present_size.width,ze.presentHeight=Ct.present_size.height,ze.profile=Ct.profile_string,ze.level=Ct.level_string,ze.bitDepth=Ct.bit_depth,ze.chromaFormat=Ct.chroma_format,ze.sarRatio=Ct.sar_ratio,ze.frameRate=Ct.frame_rate,(Ct.frame_rate.fixed===!1||Ct.frame_rate.fps_num===0||Ct.frame_rate.fps_den===0)&&(ze.frameRate=this._referenceFrameRate);var nt=ze.frameRate.fps_den,Ot=ze.frameRate.fps_num;ze.refSampleDuration=ze.timescale*(nt/Ot);for(var sn=ot.subarray(1,4),Zt="avc1.",Gt=0;Gt<3;Gt++){var Qn=sn[Gt].toString(16);Qn.length<2&&(Qn="0"+Qn),Zt+=Qn}ze.codec=Zt;var Gn=this._mediaInfo;Gn.width=ze.codecWidth,Gn.height=ze.codecHeight,Gn.fps=ze.frameRate.fps,Gn.profile=ze.profile,Gn.level=ze.level,Gn.refFrames=Ct.ref_frames,Gn.chromaFormat=Ct.chroma_format_string,Gn.sarNum=ze.sarRatio.width,Gn.sarDen=ze.sarRatio.height,Gn.videoCodec=Zt,Gn.hasAudio?Gn.audioCodec!=null&&(Gn.mimeType='video/x-flv; codecs="'+Gn.videoCodec+","+Gn.audioCodec+'"'):Gn.mimeType='video/x-flv; codecs="'+Gn.videoCodec+'"',Gn.isComplete()&&this._onMediaInfo(Gn)}var Or=_t.getUint8(Qe);if(Or===0){this._onError(je.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No PPS");return}else Or>1&&d.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ".concat(Or));Qe++;for(var Nr=0;Nr<Or;Nr++){var Kr=_t.getUint16(Qe,!Et);if(Qe+=2,Kr===0)continue;Qe+=Kr}ze.avcc=new Uint8Array(Oe),ze.avcc.set(new Uint8Array(se,Ae,Oe),0),d.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",ze)}},{key:"_parseAVCVideoData",value:function(se,Ae,Oe,ze,Rt,Et,_t){for(var Nn=this._littleEndian,Mn=new DataView(se,Ae,Oe),lr=[],Lt=0,$e=0,Qe=this._naluLengthSize,kt=this._timestampBase+ze,Ht=Et===1;$e<Oe;){if($e+4>=Oe){d.w(this.TAG,"Malformed Nalu near timestamp ".concat(kt,", offset = ").concat($e,", dataSize = ").concat(Oe));break}var ot=Mn.getUint32($e,!Nn);if(Qe===3&&(ot>>>=8),ot>Oe-Qe){d.w(this.TAG,"Malformed Nalus near timestamp ".concat(kt,", NaluSize > DataSize!"));return}var Ct=Mn.getUint8($e+Qe)&31;Ct===5&&(Ht=!0);var nt=new Uint8Array(se,Ae+$e,Qe+ot),Ot={type:Ct,data:nt};lr.push(Ot),Lt+=nt.byteLength,$e+=Qe+ot}if(lr.length){var sn=this._videoTrack,Zt={units:lr,length:Lt,isKeyframe:Ht,dts:kt,cts:_t,pts:kt+_t};Ht&&(Zt.fileposition=Rt),sn.samples.push(Zt),sn.length+=Lt}}}],[{key:"probe",value:function(se){var Ae=new Uint8Array(se),Oe={match:!1};if(Ae[0]!==70||Ae[1]!==76||Ae[2]!==86||Ae[3]!==1)return Oe;var ze=(Ae[4]&4)>>>2!==0,Rt=(Ae[4]&1)!==0,Et=it(Ae,5);return Et<9?Oe:{match:!0,consumed:Et,dataOffset:Et,hasAudioTrack:ze,hasVideoTrack:Rt}}}]),Ue}(),jt=wt,lt=function(){function Ue(){Object(y.a)(this,Ue)}return Object(L.a)(Ue,null,[{key:"init",value:function(){Ue.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 se in Ue.types)Ue.types.hasOwnProperty(se)&&(Ue.types[se]=[se.charCodeAt(0),se.charCodeAt(1),se.charCodeAt(2),se.charCodeAt(3)]);var Ae=Ue.constants={};Ae.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),Ae.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),Ae.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),Ae.STSC=Ae.STCO=Ae.STTS,Ae.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),Ae.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]),Ae.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]),Ae.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),Ae.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),Ae.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}},{key:"box",value:function(se){for(var Ae=8,Oe=null,ze=Array.prototype.slice.call(arguments,1),Rt=ze.length,Et=0;Et<Rt;Et++)Ae+=ze[Et].byteLength;Oe=new Uint8Array(Ae),Oe[0]=Ae>>>24&255,Oe[1]=Ae>>>16&255,Oe[2]=Ae>>>8&255,Oe[3]=Ae&255,Oe.set(se,4);for(var _t=8,Nn=0;Nn<Rt;Nn++)Oe.set(ze[Nn],_t),_t+=ze[Nn].byteLength;return Oe}},{key:"generateInitSegment",value:function(se){var Ae=Ue.box(Ue.types.ftyp,Ue.constants.FTYP),Oe=Ue.moov(se),ze=new Uint8Array(Ae.byteLength+Oe.byteLength);return ze.set(Ae,0),ze.set(Oe,Ae.byteLength),ze}},{key:"moov",value:function(se){var Ae=Ue.mvhd(se.timescale,se.duration),Oe=Ue.trak(se),ze=Ue.mvex(se);return Ue.box(Ue.types.moov,Ae,Oe,ze)}},{key:"mvhd",value:function(se,Ae){return Ue.box(Ue.types.mvhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,se>>>24&255,se>>>16&255,se>>>8&255,se&255,Ae>>>24&255,Ae>>>16&255,Ae>>>8&255,Ae&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(se){return Ue.box(Ue.types.trak,Ue.tkhd(se),Ue.mdia(se))}},{key:"tkhd",value:function(se){var Ae=se.id,Oe=se.duration,ze=se.presentWidth,Rt=se.presentHeight;return Ue.box(Ue.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,Ae>>>24&255,Ae>>>16&255,Ae>>>8&255,Ae&255,0,0,0,0,Oe>>>24&255,Oe>>>16&255,Oe>>>8&255,Oe&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,ze>>>8&255,ze&255,0,0,Rt>>>8&255,Rt&255,0,0]))}},{key:"mdia",value:function(se){return Ue.box(Ue.types.mdia,Ue.mdhd(se),Ue.hdlr(se),Ue.minf(se))}},{key:"mdhd",value:function(se){var Ae=se.timescale,Oe=se.duration;return Ue.box(Ue.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,Ae>>>24&255,Ae>>>16&255,Ae>>>8&255,Ae&255,Oe>>>24&255,Oe>>>16&255,Oe>>>8&255,Oe&255,85,196,0,0]))}},{key:"hdlr",value:function(se){var Ae=null;return se.type==="audio"?Ae=Ue.constants.HDLR_AUDIO:Ae=Ue.constants.HDLR_VIDEO,Ue.box(Ue.types.hdlr,Ae)}},{key:"minf",value:function(se){var Ae=null;return se.type==="audio"?Ae=Ue.box(Ue.types.smhd,Ue.constants.SMHD):Ae=Ue.box(Ue.types.vmhd,Ue.constants.VMHD),Ue.box(Ue.types.minf,Ae,Ue.dinf(),Ue.stbl(se))}},{key:"dinf",value:function(){var se=Ue.box(Ue.types.dinf,Ue.box(Ue.types.dref,Ue.constants.DREF));return se}},{key:"stbl",value:function(se){var Ae=Ue.box(Ue.types.stbl,Ue.stsd(se),Ue.box(Ue.types.stts,Ue.constants.STTS),Ue.box(Ue.types.stsc,Ue.constants.STSC),Ue.box(Ue.types.stsz,Ue.constants.STSZ),Ue.box(Ue.types.stco,Ue.constants.STCO));return Ae}},{key:"stsd",value:function(se){return se.type==="audio"?se.codec==="mp3"?Ue.box(Ue.types.stsd,Ue.constants.STSD_PREFIX,Ue.mp3(se)):Ue.box(Ue.types.stsd,Ue.constants.STSD_PREFIX,Ue.mp4a(se)):Ue.box(Ue.types.stsd,Ue.constants.STSD_PREFIX,Ue.avc1(se))}},{key:"mp3",value:function(se){var Ae=se.channelCount,Oe=se.audioSampleRate,ze=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,Ae,0,16,0,0,0,0,Oe>>>8&255,Oe&255,0,0]);return Ue.box(Ue.types[".mp3"],ze)}},{key:"mp4a",value:function(se){var Ae=se.channelCount,Oe=se.audioSampleRate,ze=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,Ae,0,16,0,0,0,0,Oe>>>8&255,Oe&255,0,0]);return Ue.box(Ue.types.mp4a,ze,Ue.esds(se))}},{key:"esds",value:function(se){var Ae=se.config||[],Oe=Ae.length,ze=new Uint8Array([0,0,0,0,3,23+Oe,0,1,0,4,15+Oe,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([Oe]).concat(Ae).concat([6,1,2]));return Ue.box(Ue.types.esds,ze)}},{key:"avc1",value:function(se){var Ae=se.avcc,Oe=se.codecWidth,ze=se.codecHeight,Rt=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,Oe>>>8&255,Oe&255,ze>>>8&255,ze&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 Ue.box(Ue.types.avc1,Rt,Ue.box(Ue.types.avcC,Ae))}},{key:"mvex",value:function(se){return Ue.box(Ue.types.mvex,Ue.trex(se))}},{key:"trex",value:function(se){var Ae=se.id,Oe=new Uint8Array([0,0,0,0,Ae>>>24&255,Ae>>>16&255,Ae>>>8&255,Ae&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return Ue.box(Ue.types.trex,Oe)}},{key:"moof",value:function(se,Ae){return Ue.box(Ue.types.moof,Ue.mfhd(se.sequenceNumber),Ue.traf(se,Ae))}},{key:"mfhd",value:function(se){var Ae=new Uint8Array([0,0,0,0,se>>>24&255,se>>>16&255,se>>>8&255,se&255]);return Ue.box(Ue.types.mfhd,Ae)}},{key:"traf",value:function(se,Ae){var Oe=se.id,ze=Ue.box(Ue.types.tfhd,new Uint8Array([0,0,0,0,Oe>>>24&255,Oe>>>16&255,Oe>>>8&255,Oe&255])),Rt=Ue.box(Ue.types.tfdt,new Uint8Array([0,0,0,0,Ae>>>24&255,Ae>>>16&255,Ae>>>8&255,Ae&255])),Et=Ue.sdtp(se),_t=Ue.trun(se,Et.byteLength+16+16+8+16+8+8);return Ue.box(Ue.types.traf,ze,Rt,_t,Et)}},{key:"sdtp",value:function(se){for(var Ae=se.samples||[],Oe=Ae.length,ze=new Uint8Array(4+Oe),Rt=0;Rt<Oe;Rt++){var Et=Ae[Rt].flags;ze[Rt+4]=Et.isLeading<<6|Et.dependsOn<<4|Et.isDependedOn<<2|Et.hasRedundancy}return Ue.box(Ue.types.sdtp,ze)}},{key:"trun",value:function(se,Ae){var Oe=se.samples||[],ze=Oe.length,Rt=12+16*ze,Et=new Uint8Array(Rt);Ae+=8+Rt,Et.set([0,0,15,1,ze>>>24&255,ze>>>16&255,ze>>>8&255,ze&255,Ae>>>24&255,Ae>>>16&255,Ae>>>8&255,Ae&255],0);for(var _t=0;_t<ze;_t++){var Nn=Oe[_t].duration,Mn=Oe[_t].size,lr=Oe[_t].flags,Lt=Oe[_t].cts;Et.set([Nn>>>24&255,Nn>>>16&255,Nn>>>8&255,Nn&255,Mn>>>24&255,Mn>>>16&255,Mn>>>8&255,Mn&255,lr.isLeading<<2|lr.dependsOn,lr.isDependedOn<<6|lr.hasRedundancy<<4|lr.isNonSync,0,0,Lt>>>24&255,Lt>>>16&255,Lt>>>8&255,Lt&255],12+16*_t)}return Ue.box(Ue.types.trun,Et)}},{key:"mdat",value:function(se){return Ue.box(Ue.types.mdat,se)}}]),Ue}();lt.init();var Te=lt,mt=function(){function Ue(){Object(y.a)(this,Ue)}return Object(L.a)(Ue,null,[{key:"getSilentFrame",value:function(se,Ae){if(se==="mp4a.40.2"){if(Ae===1)return new Uint8Array([0,200,0,128,35,128]);if(Ae===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(Ae===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(Ae===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(Ae===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(Ae===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(Ae===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(Ae===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(Ae===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}}]),Ue}(),tn=mt,Vt=function Ue(He,se,Ae,Oe,ze){Object(y.a)(this,Ue),this.dts=He,this.pts=se,this.duration=Ae,this.originalDts=Oe,this.isSyncPoint=ze,this.fileposition=null},Yt=function(){function Ue(){Object(y.a)(this,Ue),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(L.a)(Ue,[{key:"appendSyncPoint",value:function(se){se.isSyncPoint=!0,this.syncPoints.push(se)}}]),Ue}(),Qt=function(){function Ue(){Object(y.a)(this,Ue),this._list=[]}return Object(L.a)(Ue,[{key:"clear",value:function(){this._list=[]}},{key:"appendArray",value:function(se){var Ae=this._list;if(se.length===0)return;Ae.length>0&&se[0].originalDts<Ae[Ae.length-1].originalDts&&this.clear(),Array.prototype.push.apply(Ae,se)}},{key:"getLastSyncPointBeforeDts",value:function(se){if(this._list.length==0)return null;var Ae=this._list,Oe=0,ze=Ae.length-1,Rt=0,Et=0,_t=ze;for(se<Ae[0].dts&&(Oe=0,Et=_t+1);Et<=_t;)if(Rt=Et+Math.floor((_t-Et)/2),Rt===ze||se>=Ae[Rt].dts&&se<Ae[Rt+1].dts){Oe=Rt;break}else Ae[Rt].dts<se?Et=Rt+1:_t=Rt-1;return this._list[Oe]}}]),Ue}(),an=function(){function Ue(He){Object(y.a)(this,Ue),this._type=He,this._list=[],this._lastAppendLocation=-1}return Object(L.a)(Ue,[{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(se){var Ae=this._list;if(Ae.length===0)return-2;var Oe=Ae.length-1,ze=0,Rt=0,Et=Oe,_t=0;if(se<Ae[0].originalBeginDts)return _t=-1,_t;for(;Rt<=Et;)if(ze=Rt+Math.floor((Et-Rt)/2),ze===Oe||se>Ae[ze].lastSample.originalDts&&se<Ae[ze+1].originalBeginDts){_t=ze;break}else Ae[ze].originalBeginDts<se?Rt=ze+1:Et=ze-1;return _t}},{key:"_searchNearestSegmentAfter",value:function(se){return this._searchNearestSegmentBefore(se)+1}},{key:"append",value:function(se){var Ae=this._list,Oe=se,ze=this._lastAppendLocation,Rt=0;ze!==-1&&ze<Ae.length&&Oe.originalBeginDts>=Ae[ze].lastSample.originalDts&&(ze===Ae.length-1||ze<Ae.length-1&&Oe.originalBeginDts<Ae[ze+1].originalBeginDts)?Rt=ze+1:Ae.length>0&&(Rt=this._searchNearestSegmentBefore(Oe.originalBeginDts)+1),this._lastAppendLocation=Rt,this._list.splice(Rt,0,Oe)}},{key:"getLastSegmentBefore",value:function(se){var Ae=this._searchNearestSegmentBefore(se);return Ae>=0?this._list[Ae]:null}},{key:"getLastSampleBefore",value:function(se){var Ae=this.getLastSegmentBefore(se);return Ae!=null?Ae.lastSample:null}},{key:"getLastSyncPointBefore",value:function(se){for(var Ae=this._searchNearestSegmentBefore(se),Oe=this._list[Ae].syncPoints;Oe.length===0&&Ae>0;)Ae--,Oe=this._list[Ae].syncPoints;return Oe.length>0?Oe[Oe.length-1]:null}}]),Ue}(),on=function(){function Ue(He){Object(y.a)(this,Ue),this.TAG="MP4Remuxer",this._config=He,this._isLive=He.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 an("audio"),this._videoSegmentInfoList=new an("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(C.chrome&&(C.version.major<50||C.version.major===50&&C.version.build<2661)),this._fillSilentAfterSeek=C.msedge||C.msie,this._mp3UseMpegAudio=!C.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}return Object(L.a)(Ue,[{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(se){return se.onDataAvailable=this.remux.bind(this),se.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}},{key:"onInitSegment",get:function(){return this._onInitSegment},set:function(se){this._onInitSegment=se}},{key:"onMediaSegment",get:function(){return this._onMediaSegment},set:function(se){this._onMediaSegment=se}},{key:"insertDiscontinuity",value:function(){this._audioNextDts=this._videoNextDts=void 0}},{key:"seek",value:function(se){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}},{key:"remux",value:function(se,Ae){if(!this._onMediaSegment)throw new l("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(se,Ae),this._remuxVideo(Ae),this._remuxAudio(se)}},{key:"_onTrackMetadataReceived",value:function(se,Ae){var Oe=null,ze="mp4",Rt=Ae.codec;if(se==="audio")this._audioMeta=Ae,Ae.codec==="mp3"&&this._mp3UseMpegAudio?(ze="mpeg",Rt="",Oe=new Uint8Array):Oe=Te.generateInitSegment(Ae);else if(se==="video")this._videoMeta=Ae,Oe=Te.generateInitSegment(Ae);else return;if(!this._onInitSegment)throw new l("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(se,{type:se,data:Oe.buffer,codec:Rt,container:"".concat(se,"/").concat(ze),mediaDuration:Ae.duration})}},{key:"_calculateDtsBase",value:function(se,Ae){if(this._dtsBaseInited)return;se.samples&&se.samples.length&&(this._audioDtsBase=se.samples[0].dts),Ae.samples&&Ae.samples.length&&(this._videoDtsBase=Ae.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0}},{key:"flushStashedSamples",value:function(){var se=this._videoStashedLastSample,Ae=this._audioStashedLastSample,Oe={type:"video",id:1,sequenceNumber:0,samples:[],length:0};se!=null&&(Oe.samples.push(se),Oe.length=se.length);var ze={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};Ae!=null&&(ze.samples.push(Ae),ze.length=Ae.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(Oe,!0),this._remuxAudio(ze,!0)}},{key:"_remuxAudio",value:function(se,Ae){if(this._audioMeta==null)return;var Oe=se,ze=Oe.samples,Rt=void 0,Et=-1,_t=-1,Nn=-1,Mn=this._audioMeta.refSampleDuration,lr=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,Lt=this._dtsBaseInited&&this._audioNextDts===void 0,$e=!1;if(!ze||ze.length===0)return;if(ze.length===1&&!Ae)return;var Qe=0,kt=null,Ht=0;lr?(Qe=0,Ht=Oe.length):(Qe=8,Ht=8+Oe.length);var ot=null;if(ze.length>1&&(ot=ze.pop(),Ht-=ot.length),this._audioStashedLastSample!=null){var Ct=this._audioStashedLastSample;this._audioStashedLastSample=null,ze.unshift(Ct),Ht+=Ct.length}ot!=null&&(this._audioStashedLastSample=ot);var nt=ze[0].dts-this._dtsBase;if(this._audioNextDts)Rt=nt-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())Rt=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&(this._audioMeta.originalCodec!=="mp3"&&($e=!0));else{var Ot=this._audioSegmentInfoList.getLastSampleBefore(nt);if(Ot!=null){var sn=nt-(Ot.originalDts+Ot.duration);sn<=3&&(sn=0);var Zt=Ot.dts+Ot.duration+sn;Rt=nt-Zt}else Rt=0}if($e){var Gt=nt-Rt,Qn=this._videoSegmentInfoList.getLastSegmentBefore(nt);if(Qn!=null&&Qn.beginDts<Gt){var Gn=tn.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);if(Gn){var Or=Qn.beginDts,Nr=Gt-Qn.beginDts;d.v(this.TAG,"InsertPrefixSilentAudio: dts: ".concat(Or,", duration: ").concat(Nr)),ze.unshift({unit:Gn,dts:Or,pts:Or}),Ht+=Gn.byteLength}}else $e=!1}for(var Kr=[],ei=0;ei<ze.length;ei++){var vi=ze[ei],Pi=vi.unit,Be=vi.dts-this._dtsBase,le=Be-Rt;Et===-1&&(Et=le);var ye=0;if(ei!==ze.length-1){var xe=ze[ei+1].dts-this._dtsBase-Rt;ye=xe-le}else if(ot!=null){var De=ot.dts-this._dtsBase-Rt;ye=De-le}else Kr.length>=1?ye=Kr[Kr.length-1].duration:ye=Math.floor(Mn);var Le=!1,Fe=null;if(ye>Mn*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!C.safari){Le=!0;var at=Math.abs(ye-Mn),Ve=Math.ceil(at/Mn),It=le+Mn;d.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync.
|
|
|
`+"dts: ".concat(le+ye," ms, expected: ").concat(le+Math.round(Mn)," ms, ")+"delta: ".concat(Math.round(at)," ms, generate: ").concat(Ve," frames"));var pn=tn.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);pn==null&&(d.w(this.TAG,"Unable to generate silent frame for "+"".concat(this._audioMeta.originalCodec," with ").concat(this._audioMeta.channelCount," channels, repeat last frame")),pn=Pi),Fe=[];for(var rn=0;rn<Ve;rn++){var Tn=Math.round(It);if(Fe.length>0){var Nt=Fe[Fe.length-1];Nt.duration=Tn-Nt.dts}var ur={dts:Tn,pts:Tn,cts:0,unit:pn,size:pn.byteLength,duration:0,originalDts:Be,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};Fe.push(ur),Ht+=ur.size,It+=Mn}var Xt=Fe[Fe.length-1];Xt.duration=le+ye-Xt.dts,ye=Math.round(Mn)}Kr.push({dts:le,pts:le,cts:0,unit:vi.unit,size:vi.unit.byteLength,duration:ye,originalDts:Be,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),Le&&Kr.push.apply(Kr,Fe)}lr?kt=new Uint8Array(Ht):(kt=new Uint8Array(Ht),kt[0]=Ht>>>24&255,kt[1]=Ht>>>16&255,kt[2]=Ht>>>8&255,kt[3]=Ht&255,kt.set(Te.types.mdat,4));for(var Kn=0;Kn<Kr.length;Kn++){var Fn=Kr[Kn].unit;kt.set(Fn,Qe),Qe+=Fn.byteLength}var un=Kr[Kr.length-1];_t=un.dts+un.duration,this._audioNextDts=_t;var Sr=new Yt;Sr.beginDts=Et,Sr.endDts=_t,Sr.beginPts=Et,Sr.endPts=_t,Sr.originalBeginDts=Kr[0].originalDts,Sr.originalEndDts=un.originalDts+un.duration,Sr.firstSample=new Vt(Kr[0].dts,Kr[0].pts,Kr[0].duration,Kr[0].originalDts,!1),Sr.lastSample=new Vt(un.dts,un.pts,un.duration,un.originalDts,!1),this._isLive||this._audioSegmentInfoList.append(Sr),Oe.samples=Kr,Oe.sequenceNumber++;var Fr=null;lr?Fr=new Uint8Array:Fr=Te.moof(Oe,Et),Oe.samples=[],Oe.length=0;var ii={type:"audio",data:this._mergeBoxes(Fr,kt).buffer,sampleCount:Kr.length,info:Sr};lr&&Lt&&(ii.timestampOffset=Et),this._onMediaSegment("audio",ii)}},{key:"_remuxVideo",value:function(se,Ae){if(this._videoMeta==null)return;var Oe=se,ze=Oe.samples,Rt=void 0,Et=-1,_t=-1,Nn=-1,Mn=-1;if(!ze||ze.length===0)return;if(ze.length===1&&!Ae)return;var lr=8,Lt=null,$e=8+se.length,Qe=null;if(ze.length>1&&(Qe=ze.pop(),$e-=Qe.length),this._videoStashedLastSample!=null){var kt=this._videoStashedLastSample;this._videoStashedLastSample=null,ze.unshift(kt),$e+=kt.length}Qe!=null&&(this._videoStashedLastSample=Qe);var Ht=ze[0].dts-this._dtsBase;if(this._videoNextDts)Rt=Ht-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())Rt=0;else{var ot=this._videoSegmentInfoList.getLastSampleBefore(Ht);if(ot!=null){var Ct=Ht-(ot.originalDts+ot.duration);Ct<=3&&(Ct=0);var nt=ot.dts+ot.duration+Ct;Rt=Ht-nt}else Rt=0}for(var Ot=new Yt,sn=[],Zt=0;Zt<ze.length;Zt++){var Gt=ze[Zt],Qn=Gt.dts-this._dtsBase,Gn=Gt.isKeyframe,Or=Qn-Rt,Nr=Gt.cts,Kr=Or+Nr;Et===-1&&(Et=Or,Nn=Kr);var ei=0;if(Zt!==ze.length-1){var vi=ze[Zt+1].dts-this._dtsBase-Rt;ei=vi-Or}else if(Qe!=null){var Pi=Qe.dts-this._dtsBase-Rt;ei=Pi-Or}else sn.length>=1?ei=sn[sn.length-1].duration:ei=Math.floor(this._videoMeta.refSampleDuration);if(Gn){var Be=new Vt(Or,Kr,ei,Gt.dts,!0);Be.fileposition=Gt.fileposition,Ot.appendSyncPoint(Be)}sn.push({dts:Or,pts:Kr,cts:Nr,units:Gt.units,size:Gt.length,isKeyframe:Gn,duration:ei,originalDts:Qn,flags:{isLeading:0,dependsOn:Gn?2:1,isDependedOn:Gn?1:0,hasRedundancy:0,isNonSync:Gn?0:1}})}Lt=new Uint8Array($e),Lt[0]=$e>>>24&255,Lt[1]=$e>>>16&255,Lt[2]=$e>>>8&255,Lt[3]=$e&255,Lt.set(Te.types.mdat,4);for(var le=0;le<sn.length;le++)for(var ye=sn[le].units;ye.length;){var xe=ye.shift(),De=xe.data;Lt.set(De,lr),lr+=De.byteLength}var Le=sn[sn.length-1];if(_t=Le.dts+Le.duration,Mn=Le.pts+Le.duration,this._videoNextDts=_t,Ot.beginDts=Et,Ot.endDts=_t,Ot.beginPts=Nn,Ot.endPts=Mn,Ot.originalBeginDts=sn[0].originalDts,Ot.originalEndDts=Le.originalDts+Le.duration,Ot.firstSample=new Vt(sn[0].dts,sn[0].pts,sn[0].duration,sn[0].originalDts,sn[0].isKeyframe),Ot.lastSample=new Vt(Le.dts,Le.pts,Le.duration,Le.originalDts,Le.isKeyframe),this._isLive||this._videoSegmentInfoList.append(Ot),Oe.samples=sn,Oe.sequenceNumber++,this._forceFirstIDR){var Fe=sn[0].flags;Fe.dependsOn=2,Fe.isNonSync=0}var at=Te.moof(Oe,Et);Oe.samples=[],Oe.length=0,this._onMediaSegment("video",{type:"video",data:this._mergeBoxes(at,Lt).buffer,sampleCount:sn.length,info:Ot})}},{key:"_mergeBoxes",value:function(se,Ae){var Oe=new Uint8Array(se.byteLength+Ae.byteLength);return Oe.set(se,0),Oe.set(Ae,se.byteLength),Oe}}]),Ue}(),vt=on,de={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"},he=de,Pt=function(){function Ue(He,se){Object(y.a)(this,Ue),this.TAG="TransmuxingController",this._emitter=new b.a,this._config=se,He.segments||(He.segments=[{duration:He.duration,filesize:He.filesize,url:He.url}]),typeof He.cors!="boolean"&&(He.cors=!0),typeof He.withCredentials!="boolean"&&(He.withCredentials=!1),this._mediaDataSource=He,this._currentSegmentIndex=0;var Ae=0;this._mediaDataSource.segments.forEach(function(Oe){Oe.timestampBase=Ae,Ae+=Oe.duration,Oe.cors=He.cors,Oe.withCredentials=He.withCredentials,se.referrerPolicy&&(Oe.referrerPolicy=se.referrerPolicy)}),!isNaN(Ae)&&this._mediaDataSource.duration!==Ae&&(this._mediaDataSource.duration=Ae),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}return Object(L.a)(Ue,[{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(se,Ae){this._emitter.addListener(se,Ae)}},{key:"off",value:function(se,Ae){this._emitter.removeListener(se,Ae)}},{key:"start",value:function(){this._loadSegment(0),this._enableStatisticsReporter()}},{key:"_loadSegment",value:function(se,Ae){this._currentSegmentIndex=se;var Oe=this._mediaDataSource.segments[se],ze=this._ioctl=new Y(Oe,this._config,se);ze.onError=this._onIOException.bind(this),ze.onSeeked=this._onIOSeeked.bind(this),ze.onComplete=this._onIOComplete.bind(this),ze.onRedirect=this._onIORedirect.bind(this),ze.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),Ae?this._demuxer.bindDataSource(this._ioctl):ze.onDataArrival=this._onInitChunkArrival.bind(this),ze.open(Ae)}},{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(se){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;var Ae=this._searchSegmentIndexContains(se);if(Ae===this._currentSegmentIndex){var Oe=this._mediaInfo.segments[Ae];if(Oe==null)this._pendingSeekTime=se;else{var ze=Oe.getNearestKeyframe(se);this._remuxer.seek(ze.milliseconds),this._ioctl.seek(ze.fileposition),this._pendingResolveSeekPoint=ze.milliseconds}}else{var Rt=this._mediaInfo.segments[Ae];if(Rt==null)this._pendingSeekTime=se,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(Ae);else{var Et=Rt.getNearestKeyframe(se);this._internalAbort(),this._remuxer.seek(se),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[Ae].timestampBase,this._loadSegment(Ae,Et.fileposition),this._pendingResolveSeekPoint=Et.milliseconds,this._reportSegmentMediaInfo(Ae)}}this._enableStatisticsReporter()}},{key:"_searchSegmentIndexContains",value:function(se){for(var Ae=this._mediaDataSource.segments,Oe=Ae.length-1,ze=0;ze<Ae.length;ze++)if(se<Ae[ze].timestampBase){Oe=ze-1;break}return Oe}},{key:"_onInitChunkArrival",value:function(se,Ae){var Oe=this,ze=null,Rt=0;if(Ae>0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,Rt=this._demuxer.parseChunks(se,Ae);else if((ze=jt.probe(se)).match){this._demuxer=new jt(ze,this._config),this._remuxer||(this._remuxer=new vt(this._config));var Et=this._mediaDataSource;Et.duration!=null&&!isNaN(Et.duration)&&(this._demuxer.overridedDuration=Et.duration),typeof Et.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=Et.hasAudio),typeof Et.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=Et.hasVideo),this._demuxer.timestampBase=Et.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),Rt=this._demuxer.parseChunks(se,Ae)}else ze=null,d.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(function(){Oe._internalAbort()}),this._emitter.emit(he.DEMUX_ERROR,je.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),Rt=0;return Rt}},{key:"_onMediaInfo",value:function(se){var Ae=this;this._mediaInfo==null&&(this._mediaInfo=Object.assign({},se),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,ce.prototype));var Oe=Object.assign({},se);Object.setPrototypeOf(Oe,ce.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=Oe,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(function(){var ze=Ae._pendingSeekTime;Ae._pendingSeekTime=null,Ae.seek(ze)})}},{key:"_onMetaDataArrived",value:function(se){this._emitter.emit(he.METADATA_ARRIVED,se)}},{key:"_onScriptDataArrived",value:function(se){this._emitter.emit(he.SCRIPTDATA_ARRIVED,se)}},{key:"_onIOSeeked",value:function(){this._remuxer.insertDiscontinuity()}},{key:"_onIOComplete",value:function(se){var Ae=se,Oe=Ae+1;Oe<this._mediaDataSource.segments.length?(this._internalAbort(),this._remuxer.flushStashedSamples(),this._loadSegment(Oe)):(this._remuxer.flushStashedSamples(),this._emitter.emit(he.LOADING_COMPLETE),this._disableStatisticsReporter())}},{key:"_onIORedirect",value:function(se){var Ae=this._ioctl.extraData;this._mediaDataSource.segments[Ae].redirectedURL=se}},{key:"_onIORecoveredEarlyEof",value:function(){this._emitter.emit(he.RECOVERED_EARLY_EOF)}},{key:"_onIOException",value:function(se,Ae){d.e(this.TAG,"IOException: type = ".concat(se,", code = ").concat(Ae.code,", msg = ").concat(Ae.msg)),this._emitter.emit(he.IO_ERROR,se,Ae),this._disableStatisticsReporter()}},{key:"_onDemuxException",value:function(se,Ae){d.e(this.TAG,"DemuxException: type = ".concat(se,", info = ").concat(Ae)),this._emitter.emit(he.DEMUX_ERROR,se,Ae)}},{key:"_onRemuxerInitSegmentArrival",value:function(se,Ae){this._emitter.emit(he.INIT_SEGMENT,se,Ae)}},{key:"_onRemuxerMediaSegmentArrival",value:function(se,Ae){if(this._pendingSeekTime!=null)return;if(this._emitter.emit(he.MEDIA_SEGMENT,se,Ae),this._pendingResolveSeekPoint!=null&&se==="video"){var Oe=Ae.info.syncPoints,ze=this._pendingResolveSeekPoint;this._pendingResolveSeekPoint=null,C.safari&&Oe.length>0&&Oe[0].originalDts===ze&&(ze=Oe[0].pts),this._emitter.emit(he.RECOMMEND_SEEKPOINT,ze)}}},{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(se){var Ae=this._mediaInfo.segments[se],Oe=Object.assign({},Ae);Oe.duration=this._mediaInfo.duration,Oe.segmentCount=this._mediaInfo.segmentCount,delete Oe.segments,delete Oe.keyframesIndex,this._emitter.emit(he.MEDIA_INFO,Oe)}},{key:"_reportStatisticsInfo",value:function(){var se={};se.url=this._ioctl.currentURL,se.hasRedirect=this._ioctl.hasRedirect,se.hasRedirect&&(se.redirectedURL=this._ioctl.currentRedirectedURL),se.speed=this._ioctl.currentSpeed,se.loaderType=this._ioctl.loaderType,se.currentSegmentIndex=this._currentSegmentIndex,se.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(he.STATISTICS_INFO,se)}}]),Ue}(),We=Pt,Je=function(He){var se="TransmuxingWorker",Ae=null,Oe=Ht.bind(this);v.install(),He.addEventListener("message",function(ot){switch(ot.data.cmd){case"init":Ae=new We(ot.data.param[0],ot.data.param[1]),Ae.on(he.IO_ERROR,$e.bind(this)),Ae.on(he.DEMUX_ERROR,Qe.bind(this)),Ae.on(he.INIT_SEGMENT,ze.bind(this)),Ae.on(he.MEDIA_SEGMENT,Rt.bind(this)),Ae.on(he.LOADING_COMPLETE,Et.bind(this)),Ae.on(he.RECOVERED_EARLY_EOF,_t.bind(this)),Ae.on(he.MEDIA_INFO,Nn.bind(this)),Ae.on(he.METADATA_ARRIVED,Mn.bind(this)),Ae.on(he.SCRIPTDATA_ARRIVED,lr.bind(this)),Ae.on(he.STATISTICS_INFO,Lt.bind(this)),Ae.on(he.RECOMMEND_SEEKPOINT,kt.bind(this));break;case"destroy":Ae&&(Ae.destroy(),Ae=null),He.postMessage({msg:"destroyed"});break;case"start":Ae.start();break;case"stop":Ae.stop();break;case"seek":Ae.seek(ot.data.param);break;case"pause":Ae.pause();break;case"resume":Ae.resume();break;case"logging_config":{var Ct=ot.data.param;be.applyConfig(Ct),Ct.enableCallback===!0?be.addLogListener(Oe):be.removeLogListener(Oe);break}}});function ze(ot,Ct){var nt={msg:he.INIT_SEGMENT,data:{type:ot,data:Ct}};He.postMessage(nt,[Ct.data])}function Rt(ot,Ct){var nt={msg:he.MEDIA_SEGMENT,data:{type:ot,data:Ct}};He.postMessage(nt,[Ct.data])}function Et(){var ot={msg:he.LOADING_COMPLETE};He.postMessage(ot)}function _t(){var ot={msg:he.RECOVERED_EARLY_EOF};He.postMessage(ot)}function Nn(ot){var Ct={msg:he.MEDIA_INFO,data:ot};He.postMessage(Ct)}function Mn(ot){var Ct={msg:he.METADATA_ARRIVED,data:ot};He.postMessage(Ct)}function lr(ot){var Ct={msg:he.SCRIPTDATA_ARRIVED,data:ot};He.postMessage(Ct)}function Lt(ot){var Ct={msg:he.STATISTICS_INFO,data:ot};He.postMessage(Ct)}function $e(ot,Ct){He.postMessage({msg:he.IO_ERROR,data:{type:ot,info:Ct}})}function Qe(ot,Ct){He.postMessage({msg:he.DEMUX_ERROR,data:{type:ot,info:Ct}})}function kt(ot){He.postMessage({msg:he.RECOMMEND_SEEKPOINT,data:ot})}function Ht(ot,Ct){He.postMessage({msg:"logcat_callback",data:{type:ot,logcat:Ct}})}},Ln=Je,jn=function(){function Ue(He,se){if(Object(y.a)(this,Ue),this.TAG="Transmuxer",this._emitter=new b.a,se.enableWorker&&typeof Worker!="undefined")try{var Ae=e("0r65");this._worker=Ae(Ln),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[He,se]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},be.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:be.getConfig()})}catch(ze){d.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new We(He,se)}else this._controller=new We(He,se);if(this._controller){var Oe=this._controller;Oe.on(he.IO_ERROR,this._onIOError.bind(this)),Oe.on(he.DEMUX_ERROR,this._onDemuxError.bind(this)),Oe.on(he.INIT_SEGMENT,this._onInitSegment.bind(this)),Oe.on(he.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),Oe.on(he.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),Oe.on(he.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),Oe.on(he.MEDIA_INFO,this._onMediaInfo.bind(this)),Oe.on(he.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),Oe.on(he.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),Oe.on(he.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),Oe.on(he.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}return Object(L.a)(Ue,[{key:"destroy",value:function(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),be.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(se,Ae){this._emitter.addListener(se,Ae)}},{key:"off",value:function(se,Ae){this._emitter.removeListener(se,Ae)}},{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(se){this._worker?this._worker.postMessage({cmd:"seek",param:se}):this._controller.seek(se)}},{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(se,Ae){var Oe=this;Promise.resolve().then(function(){Oe._emitter.emit(he.INIT_SEGMENT,se,Ae)})}},{key:"_onMediaSegment",value:function(se,Ae){var Oe=this;Promise.resolve().then(function(){Oe._emitter.emit(he.MEDIA_SEGMENT,se,Ae)})}},{key:"_onLoadingComplete",value:function(){var se=this;Promise.resolve().then(function(){se._emitter.emit(he.LOADING_COMPLETE)})}},{key:"_onRecoveredEarlyEof",value:function(){var se=this;Promise.resolve().then(function(){se._emitter.emit(he.RECOVERED_EARLY_EOF)})}},{key:"_onMediaInfo",value:function(se){var Ae=this;Promise.resolve().then(function(){Ae._emitter.emit(he.MEDIA_INFO,se)})}},{key:"_onMetaDataArrived",value:function(se){var Ae=this;Promise.resolve().then(function(){Ae._emitter.emit(he.METADATA_ARRIVED,se)})}},{key:"_onScriptDataArrived",value:function(se){var Ae=this;Promise.resolve().then(function(){Ae._emitter.emit(he.SCRIPTDATA_ARRIVED,se)})}},{key:"_onStatisticsInfo",value:function(se){var Ae=this;Promise.resolve().then(function(){Ae._emitter.emit(he.STATISTICS_INFO,se)})}},{key:"_onIOError",value:function(se,Ae){var Oe=this;Promise.resolve().then(function(){Oe._emitter.emit(he.IO_ERROR,se,Ae)})}},{key:"_onDemuxError",value:function(se,Ae){var Oe=this;Promise.resolve().then(function(){Oe._emitter.emit(he.DEMUX_ERROR,se,Ae)})}},{key:"_onRecommendSeekpoint",value:function(se){var Ae=this;Promise.resolve().then(function(){Ae._emitter.emit(he.RECOMMEND_SEEKPOINT,se)})}},{key:"_onLoggingConfigChanged",value:function(se){this._worker&&this._worker.postMessage({cmd:"logging_config",param:se})}},{key:"_onWorkerMessage",value:function(se){var Ae=se.data,Oe=Ae.data;if(Ae.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(Ae.msg){case he.INIT_SEGMENT:case he.MEDIA_SEGMENT:this._emitter.emit(Ae.msg,Oe.type,Oe.data);break;case he.LOADING_COMPLETE:case he.RECOVERED_EARLY_EOF:this._emitter.emit(Ae.msg);break;case he.MEDIA_INFO:Object.setPrototypeOf(Oe,ce.prototype),this._emitter.emit(Ae.msg,Oe);break;case he.METADATA_ARRIVED:case he.SCRIPTDATA_ARRIVED:case he.STATISTICS_INFO:this._emitter.emit(Ae.msg,Oe);break;case he.IO_ERROR:case he.DEMUX_ERROR:this._emitter.emit(Ae.msg,Oe.type,Oe.info);break;case he.RECOMMEND_SEEKPOINT:this._emitter.emit(Ae.msg,Oe);break;case"logcat_callback":d.emitter.emit("log",Oe.type,Oe.logcat);break;default:break}}}]),Ue}(),Sn=jn,Xn={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"},rr=Xn,hr=function(){function Ue(He){Object(y.a)(this,Ue),this.TAG="MSEController",this._config=He,this._emitter=new b.a,this._config.isLive&&this._config.autoCleanupSourceBuffer==null&&(this._config.autoCleanupSourceBuffer=!0),this.e={onSourceOpen:this._onSourceOpen.bind(this),onSourceEnded:this._onSourceEnded.bind(this),onSourceClose:this._onSourceClose.bind(this),onSourceBufferError:this._onSourceBufferError.bind(this),onSourceBufferUpdateEnd:this._onSourceBufferUpdateEnd.bind(this)},this._mediaSource=null,this._mediaSourceObjectURL=null,this._mediaElement=null,this._isBufferFull=!1,this._hasPendingEos=!1,this._requireSetMediaDuration=!1,this._pendingMediaDuration=0,this._pendingSourceBufferInit=[],this._mimeTypes={video:null,audio:null},this._sourceBuffers={video:null,audio:null},this._lastInitSegments={video:null,audio:null},this._pendingSegments={video:[],audio:[]},this._pendingRemoveRanges={video:[],audio:[]},this._idrList=new Qt}return Object(L.a)(Ue,[{key:"destroy",value:function(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(se,Ae){this._emitter.addListener(se,Ae)}},{key:"off",value:function(se,Ae){this._emitter.removeListener(se,Ae)}},{key:"attachMediaElement",value:function(se){if(this._mediaSource)throw new l("MediaSource has been attached to an HTMLMediaElement!");var Ae=this._mediaSource=new window.MediaSource;Ae.addEventListener("sourceopen",this.e.onSourceOpen),Ae.addEventListener("sourceended",this.e.onSourceEnded),Ae.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=se,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),se.src=this._mediaSourceObjectURL}},{key:"detachMediaElement",value:function(){if(this._mediaSource){var se=this._mediaSource;for(var Ae in this._sourceBuffers){var Oe=this._pendingSegments[Ae];Oe.splice(0,Oe.length),this._pendingSegments[Ae]=null,this._pendingRemoveRanges[Ae]=null,this._lastInitSegments[Ae]=null;var ze=this._sourceBuffers[Ae];if(ze){if(se.readyState!=="closed"){try{se.removeSourceBuffer(ze)}catch(Rt){d.e(this.TAG,Rt.message)}ze.removeEventListener("error",this.e.onSourceBufferError),ze.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[Ae]=null,this._sourceBuffers[Ae]=null}}if(se.readyState==="open")try{se.endOfStream()}catch(Rt){d.e(this.TAG,Rt.message)}se.removeEventListener("sourceopen",this.e.onSourceOpen),se.removeEventListener("sourceended",this.e.onSourceEnded),se.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(se,Ae){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(se),this._pendingSegments[se.type].push(se);return}var Oe=se,ze="".concat(Oe.container);Oe.codec&&Oe.codec.length>0&&(ze+=";codecs=".concat(Oe.codec));var Rt=!1;if(d.v(this.TAG,"Received Initialization Segment, mimeType: "+ze),this._lastInitSegments[Oe.type]=Oe,ze!==this._mimeTypes[Oe.type]){if(this._mimeTypes[Oe.type])d.v(this.TAG,"Notice: ".concat(Oe.type," mimeType changed, origin: ").concat(this._mimeTypes[Oe.type],", target: ").concat(ze));else{Rt=!0;try{var Et=this._sourceBuffers[Oe.type]=this._mediaSource.addSourceBuffer(ze);Et.addEventListener("error",this.e.onSourceBufferError),Et.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(_t){d.e(this.TAG,_t.message),this._emitter.emit(rr.ERROR,{code:_t.code,msg:_t.message});return}}this._mimeTypes[Oe.type]=ze}Ae||this._pendingSegments[Oe.type].push(Oe),Rt||this._sourceBuffers[Oe.type]&&!this._sourceBuffers[Oe.type].updating&&this._doAppendSegments(),C.safari&&Oe.container==="audio/mpeg"&&Oe.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=Oe.mediaDuration/1e3,this._updateMediaSourceDuration())}},{key:"appendMediaSegment",value:function(se){var Ae=se;this._pendingSegments[Ae.type].push(Ae),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();var Oe=this._sourceBuffers[Ae.type];Oe&&!Oe.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}},{key:"seek",value:function(se){for(var Ae in this._sourceBuffers){if(!this._sourceBuffers[Ae])continue;var Oe=this._sourceBuffers[Ae];if(this._mediaSource.readyState==="open")try{Oe.abort()}catch(Mn){d.e(this.TAG,Mn.message)}this._idrList.clear();var ze=this._pendingSegments[Ae];if(ze.splice(0,ze.length),this._mediaSource.readyState==="closed")continue;for(var Rt=0;Rt<Oe.buffered.length;Rt++){var Et=Oe.buffered.start(Rt),_t=Oe.buffered.end(Rt);this._pendingRemoveRanges[Ae].push({start:Et,end:_t})}if(Oe.updating||this._doRemoveRanges(),C.safari){var Nn=this._lastInitSegments[Ae];Nn&&(this._pendingSegments[Ae].push(Nn),Oe.updating||this._doAppendSegments())}}}},{key:"endOfStream",value:function(){var se=this._mediaSource,Ae=this._sourceBuffers;if(!se||se.readyState!=="open"){se&&se.readyState==="closed"&&this._hasPendingSegments()&&(this._hasPendingEos=!0);return}Ae.video&&Ae.video.updating||Ae.audio&&Ae.audio.updating?this._hasPendingEos=!0:(this._hasPendingEos=!1,se.endOfStream())}},{key:"getNearestKeyframe",value:function(se){return this._idrList.getLastSyncPointBeforeDts(se)}},{key:"_needCleanupSourceBuffer",value:function(){if(!this._config.autoCleanupSourceBuffer)return!1;var se=this._mediaElement.currentTime;for(var Ae in this._sourceBuffers){var Oe=this._sourceBuffers[Ae];if(Oe){var ze=Oe.buffered;if(ze.length>=1&&se-ze.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}},{key:"_doCleanupSourceBuffer",value:function(){var se=this._mediaElement.currentTime;for(var Ae in this._sourceBuffers){var Oe=this._sourceBuffers[Ae];if(Oe){for(var ze=Oe.buffered,Rt=!1,Et=0;Et<ze.length;Et++){var _t=ze.start(Et),Nn=ze.end(Et);if(_t<=se&&se<Nn+3){if(se-_t>=this._config.autoCleanupMaxBackwardDuration){Rt=!0;var Mn=se-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[Ae].push({start:_t,end:Mn})}}else Nn<se&&(Rt=!0,this._pendingRemoveRanges[Ae].push({start:_t,end:Nn}))}Rt&&!Oe.updating&&this._doRemoveRanges()}}}},{key:"_updateMediaSourceDuration",value:function(){var se=this._sourceBuffers;if(this._mediaElement.readyState===0||this._mediaSource.readyState!=="open")return;if(se.video&&se.video.updating||se.audio&&se.audio.updating)return;var Ae=this._mediaSource.duration,Oe=this._pendingMediaDuration;Oe>0&&(isNaN(Ae)||Oe>Ae)&&(d.v(this.TAG,"Update MediaSource duration from ".concat(Ae," to ").concat(Oe)),this._mediaSource.duration=Oe),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}},{key:"_doRemoveRanges",value:function(){for(var se in this._pendingRemoveRanges){if(!this._sourceBuffers[se]||this._sourceBuffers[se].updating)continue;for(var Ae=this._sourceBuffers[se],Oe=this._pendingRemoveRanges[se];Oe.length&&!Ae.updating;){var ze=Oe.shift();Ae.remove(ze.start,ze.end)}}}},{key:"_doAppendSegments",value:function(){var se=this._pendingSegments;for(var Ae in se){if(!this._sourceBuffers[Ae]||this._sourceBuffers[Ae].updating)continue;if(se[Ae].length>0){var Oe=se[Ae].shift();if(Oe.timestampOffset){var ze=this._sourceBuffers[Ae].timestampOffset,Rt=Oe.timestampOffset/1e3,Et=Math.abs(ze-Rt);Et>.1&&(d.v(this.TAG,"Update MPEG audio timestampOffset from ".concat(ze," to ").concat(Rt)),this._sourceBuffers[Ae].timestampOffset=Rt),delete Oe.timestampOffset}if(!Oe.data||Oe.data.byteLength===0)continue;try{this._sourceBuffers[Ae].appendBuffer(Oe.data),this._isBufferFull=!1,Ae==="video"&&Oe.hasOwnProperty("info")&&this._idrList.appendArray(Oe.info.syncPoints)}catch(_t){this._pendingSegments[Ae].unshift(Oe),_t.code===22?(this._isBufferFull||this._emitter.emit(rr.BUFFER_FULL),this._isBufferFull=!0):(d.e(this.TAG,_t.message),this._emitter.emit(rr.ERROR,{code:_t.code,msg:_t.message}))}}}}},{key:"_onSourceOpen",value:function(){if(d.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0)for(var se=this._pendingSourceBufferInit;se.length;){var Ae=se.shift();this.appendInitSegment(Ae,!0)}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(rr.SOURCE_OPEN)}},{key:"_onSourceEnded",value:function(){d.v(this.TAG,"MediaSource onSourceEnded")}},{key:"_onSourceClose",value:function(){d.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 se=this._pendingSegments;return se.video.length>0||se.audio.length>0}},{key:"_hasPendingRemoveRanges",value:function(){var se=this._pendingRemoveRanges;return se.video.length>0||se.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(rr.UPDATE_END)}},{key:"_onSourceBufferError",value:function(se){d.e(this.TAG,"SourceBuffer Error: ".concat(se))}}]),Ue}(),gn=hr,vn={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},Ft={NETWORK_EXCEPTION:c.EXCEPTION,NETWORK_STATUS_CODE_INVALID:c.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:c.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:c.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:je.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:je.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:je.CODEC_UNSUPPORTED},Ye=function(){function Ue(He,se){if(Object(y.a)(this,Ue),this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new b.a,this._config=G(),typeof se=="object"&&Object.assign(this._config,se),He.type.toLowerCase()!=="flv")throw new t("FlvPlayer requires an flv MediaDataSource input!");He.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=He,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 Ae=C.chrome&&(C.version.major<50||C.version.major===50&&C.version.build<2661);this._alwaysSeekKeyframe=!!(Ae||C.msedge||C.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}return Object(L.a)(Ue,[{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(se,Ae){var Oe=this;se===re.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(function(){Oe._emitter.emit(re.MEDIA_INFO,Oe.mediaInfo)}):se===re.STATISTICS_INFO&&(this._statisticsInfo!=null&&Promise.resolve().then(function(){Oe._emitter.emit(re.STATISTICS_INFO,Oe.statisticsInfo)})),this._emitter.addListener(se,Ae)}},{key:"off",value:function(se,Ae){this._emitter.removeListener(se,Ae)}},{key:"attachMediaElement",value:function(se){var Ae=this;if(this._mediaElement=se,se.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),se.addEventListener("seeking",this.e.onvSeeking),se.addEventListener("canplay",this.e.onvCanPlay),se.addEventListener("stalled",this.e.onvStalled),se.addEventListener("progress",this.e.onvProgress),this._msectl=new gn(this._config),this._msectl.on(rr.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(rr.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(rr.SOURCE_OPEN,function(){Ae._mseSourceOpened=!0,Ae._hasPendingLoad&&(Ae._hasPendingLoad=!1,Ae.load())}),this._msectl.on(rr.ERROR,function(Oe){Ae._emitter.emit(re.ERROR,vn.MEDIA_ERROR,Ft.MEDIA_MSE_ERROR,Oe)}),this._msectl.attachMediaElement(se),this._pendingSeekTime!=null)try{se.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(Oe){}}},{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 se=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 Sn(this._mediaDataSource,this._config),this._transmuxer.on(he.INIT_SEGMENT,function(Ae,Oe){se._msectl.appendInitSegment(Oe)}),this._transmuxer.on(he.MEDIA_SEGMENT,function(Ae,Oe){if(se._msectl.appendMediaSegment(Oe),se._config.lazyLoad&&!se._config.isLive){var ze=se._mediaElement.currentTime;Oe.info.endDts>=(ze+se._config.lazyLoadMaxDuration)*1e3&&(se._progressChecker==null&&(d.v(se.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),se._suspendTransmuxer()))}}),this._transmuxer.on(he.LOADING_COMPLETE,function(){se._msectl.endOfStream(),se._emitter.emit(re.LOADING_COMPLETE)}),this._transmuxer.on(he.RECOVERED_EARLY_EOF,function(){se._emitter.emit(re.RECOVERED_EARLY_EOF)}),this._transmuxer.on(he.IO_ERROR,function(Ae,Oe){se._emitter.emit(re.ERROR,vn.NETWORK_ERROR,Ae,Oe)}),this._transmuxer.on(he.DEMUX_ERROR,function(Ae,Oe){se._emitter.emit(re.ERROR,vn.MEDIA_ERROR,Ae,{code:-1,msg:Oe})}),this._transmuxer.on(he.MEDIA_INFO,function(Ae){se._mediaInfo=Ae,se._emitter.emit(re.MEDIA_INFO,Object.assign({},Ae))}),this._transmuxer.on(he.METADATA_ARRIVED,function(Ae){se._emitter.emit(re.METADATA_ARRIVED,Ae)}),this._transmuxer.on(he.SCRIPTDATA_ARRIVED,function(Ae){se._emitter.emit(re.SCRIPTDATA_ARRIVED,Ae)}),this._transmuxer.on(he.STATISTICS_INFO,function(Ae){se._statisticsInfo=se._fillStatisticsInfo(Ae),se._emitter.emit(re.STATISTICS_INFO,Object.assign({},se._statisticsInfo))}),this._transmuxer.on(he.RECOMMEND_SEEKPOINT,function(Ae){se._mediaElement&&!se._config.accurateSeek&&(se._requestSetTime=!0,se._mediaElement.currentTime=Ae/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(se){this._mediaElement.volume=se}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(se){this._mediaElement.muted=se}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(se){this._mediaElement?this._internalSeek(se):this._pendingSeekTime=se}},{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(se){if(se.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return se;var Ae=!0,Oe=0,ze=0;if(this._mediaElement.getVideoPlaybackQuality){var Rt=this._mediaElement.getVideoPlaybackQuality();Oe=Rt.totalVideoFrames,ze=Rt.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Oe=this._mediaElement.webkitDecodedFrameCount,ze=this._mediaElement.webkitDroppedFrameCount):Ae=!1;return Ae&&(se.decodedFrames=Oe,se.droppedFrames=ze),se}},{key:"_onmseUpdateEnd",value:function(){if(!this._config.lazyLoad||this._config.isLive)return;for(var se=this._mediaElement.buffered,Ae=this._mediaElement.currentTime,Oe=0,ze=0,Rt=0;Rt<se.length;Rt++){var Et=se.start(Rt),_t=se.end(Rt);if(Et<=Ae&&Ae<_t){Oe=Et,ze=_t;break}}ze>=Ae+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(d.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}},{key:"_onmseBufferFull",value:function(){d.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 se=this._mediaElement.currentTime,Ae=this._mediaElement.buffered,Oe=!1,ze=0;ze<Ae.length;ze++){var Rt=Ae.start(ze),Et=Ae.end(ze);if(se>=Rt&&se<Et){se>=Et-this._config.lazyLoadRecoverDuration&&(Oe=!0);break}}Oe&&(window.clearInterval(this._progressChecker),this._progressChecker=null,Oe&&(d.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}},{key:"_isTimepointBuffered",value:function(se){for(var Ae=this._mediaElement.buffered,Oe=0;Oe<Ae.length;Oe++){var ze=Ae.start(Oe),Rt=Ae.end(Oe);if(se>=ze&&se<Rt)return!0}return!1}},{key:"_internalSeek",value:function(se){var Ae=this._isTimepointBuffered(se),Oe=!1,ze=0;if(se<1&&this._mediaElement.buffered.length>0){var Rt=this._mediaElement.buffered.start(0);(Rt<1&&se<Rt||C.safari)&&(Oe=!0,ze=C.safari?.1:Rt)}if(Oe)this._requestSetTime=!0,this._mediaElement.currentTime=ze;else if(Ae){if(!this._alwaysSeekKeyframe)this._requestSetTime=!0,this._mediaElement.currentTime=se;else{var Et=this._msectl.getNearestKeyframe(Math.floor(se*1e3));this._requestSetTime=!0,Et!=null?this._mediaElement.currentTime=Et.dts/1e3:this._mediaElement.currentTime=se}this._progressChecker!=null&&this._checkProgressAndResume()}else this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._msectl.seek(se),this._transmuxer.seek(Math.floor(se*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=se)}},{key:"_checkAndApplyUnbufferedSeekpoint",value:function(){if(this._seekpointRecord)if(this._seekpointRecord.recordTime<=this._now()-100){var se=this._mediaElement.currentTime;this._seekpointRecord=null,this._isTimepointBuffered(se)||(this._progressChecker!=null&&(window.clearTimeout(this._progressChecker),this._progressChecker=null),this._msectl.seek(se),this._transmuxer.seek(Math.floor(se*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=se))}else window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_checkAndResumeStuckPlayback",value:function(se){var Ae=this._mediaElement;if(se||!this._receivedCanPlay||Ae.readyState<2){var Oe=Ae.buffered;Oe.length>0&&Ae.currentTime<Oe.start(0)&&(d.w(this.TAG,"Playback seems stuck at ".concat(Ae.currentTime,", seek to ").concat(Oe.start(0))),this._requestSetTime=!0,this._mediaElement.currentTime=Oe.start(0),this._mediaElement.removeEventListener("progress",this.e.onvProgress))}else this._mediaElement.removeEventListener("progress",this.e.onvProgress)}},{key:"_onvLoadedMetadata",value:function(se){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null)}},{key:"_onvSeeking",value:function(se){var Ae=this._mediaElement.currentTime,Oe=this._mediaElement.buffered;if(this._requestSetTime){this._requestSetTime=!1;return}if(Ae<1&&Oe.length>0){var ze=Oe.start(0);if(ze<1&&Ae<ze||C.safari){this._requestSetTime=!0,this._mediaElement.currentTime=C.safari?.1:ze;return}}if(this._isTimepointBuffered(Ae)){if(this._alwaysSeekKeyframe){var Rt=this._msectl.getNearestKeyframe(Math.floor(Ae*1e3));Rt!=null&&(this._requestSetTime=!0,this._mediaElement.currentTime=Rt.dts/1e3)}this._progressChecker!=null&&this._checkProgressAndResume();return}this._seekpointRecord={seekPoint:Ae,recordTime:this._now()},window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_onvCanPlay",value:function(se){this._receivedCanPlay=!0,this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay)}},{key:"_onvStalled",value:function(se){this._checkAndResumeStuckPlayback(!0)}},{key:"_onvProgress",value:function(se){this._checkAndResumeStuckPlayback()}}]),Ue}(),Pe=Ye,Jt=function(){function Ue(He,se){if(Object(y.a)(this,Ue),this.TAG="NativePlayer",this._type="NativePlayer",this._emitter=new b.a,this._config=G(),typeof se=="object"&&Object.assign(this._config,se),He.type.toLowerCase()==="flv")throw new t("NativePlayer does't support flv MediaDataSource input!");if(He.hasOwnProperty("segments"))throw new t("NativePlayer(".concat(He.type,") doesn't support multipart playback!"));this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this)},this._pendingSeekTime=null,this._statisticsReporter=null,this._mediaDataSource=He,this._mediaElement=null}return Object(L.a)(Ue,[{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(se,Ae){var Oe=this;se===re.MEDIA_INFO?this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){Oe._emitter.emit(re.MEDIA_INFO,Oe.mediaInfo)}):se===re.STATISTICS_INFO&&(this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){Oe._emitter.emit(re.STATISTICS_INFO,Oe.statisticsInfo)})),this._emitter.addListener(se,Ae)}},{key:"off",value:function(se,Ae){this._emitter.removeListener(se,Ae)}},{key:"attachMediaElement",value:function(se){if(this._mediaElement=se,se.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{se.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(Ae){}}},{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(se){this._mediaElement.volume=se}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(se){this._mediaElement.muted=se}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(se){this._mediaElement?this._mediaElement.currentTime=se:this._pendingSeekTime=se}},{key:"mediaInfo",get:function(){var se=this._mediaElement instanceof HTMLAudioElement?"audio/":"video/",Ae={mimeType:se+this._mediaDataSource.type};return this._mediaElement&&(Ae.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(Ae.width=this._mediaElement.videoWidth,Ae.height=this._mediaElement.videoHeight)),Ae}},{key:"statisticsInfo",get:function(){var se={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return se;var Ae=!0,Oe=0,ze=0;if(this._mediaElement.getVideoPlaybackQuality){var Rt=this._mediaElement.getVideoPlaybackQuality();Oe=Rt.totalVideoFrames,ze=Rt.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Oe=this._mediaElement.webkitDecodedFrameCount,ze=this._mediaElement.webkitDroppedFrameCount):Ae=!1;return Ae&&(se.decodedFrames=Oe,se.droppedFrames=ze),se}},{key:"_onvLoadedMetadata",value:function(se){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(re.MEDIA_INFO,this.mediaInfo)}},{key:"_reportStatisticsInfo",value:function(){this._emitter.emit(re.STATISTICS_INFO,this.statisticsInfo)}}]),Ue}(),bn=Jt;v.install();function An(Ue,He){var se=Ue;if(se==null||typeof se!="object")throw new t("MediaDataSource must be an javascript object!");if(!se.hasOwnProperty("type"))throw new t("MediaDataSource must has type field to indicate video file type!");switch(se.type){case"flv":return new Pe(se,He);default:return new bn(se,He)}}function dn(){return ue.supportMSEH264Playback()}function vr(){return ue.getFeatureList()}var qn={};qn.createPlayer=An,qn.isSupported=dn,qn.getFeatureList=vr,qn.BaseLoader=h,qn.LoaderStatus=o,qn.LoaderErrors=c,qn.Events=re,qn.ErrorTypes=vn,qn.ErrorDetails=Ft,qn.FlvPlayer=Pe,qn.NativePlayer=bn,qn.LoggingControl=be,Object.defineProperty(qn,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var Ur=U.a=qn},GVMX:function(te,U,e){var y=e("JEkh"),L=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"}});te.exports=L},GeKi:function(te,U,e){var y=e("bYtY"),L=e("6Ic6"),g=e("IwbS"),v=e("y+Vt"),A=e("sK/D"),b=A.createClipPath,m=["itemStyle"],d=["emphasis","itemStyle"],r=["color","color0","borderColor","borderColor0"],a=L.extend({type:"candlestick",render:function(f,w,x){this.group.removeClipPath(),this._updateDrawMode(f),this._isLargeDraw?this._renderLarge(f):this._renderNormal(f)},incrementalPrepareRender:function(f,w,x){this._clear(),this._updateDrawMode(f)},incrementalRender:function(f,w,x,I){this._isLargeDraw?this._incrementalRenderLarge(f,w):this._incrementalRenderNormal(f,w)},_updateDrawMode:function(f){var w=f.pipelineContext.large;(this._isLargeDraw==null||w^this._isLargeDraw)&&(this._isLargeDraw=w,this._clear())},_renderNormal:function(f){var w=f.getData(),x=this._data,I=this.group,C=w.getLayout("isSimpleBox"),N=f.get("clip",!0),S=f.coordinateSystem,E=S.getArea&&S.getArea();this._data||I.removeAll(),w.diff(x).add(function(T){if(w.hasValue(T)){var D,B=w.getItemLayout(T);if(N&&n(E,B))return;D=i(B,T,!0),g.initProps(D,{shape:{points:B.ends}},f,T),l(D,w,T,C),I.add(D),w.setItemGraphicEl(T,D)}}).update(function(T,D){var B=x.getItemGraphicEl(D);if(!w.hasValue(T)){I.remove(B);return}var R=w.getItemLayout(T);if(N&&n(E,R)){I.remove(B);return}B?g.updateProps(B,{shape:{points:R.ends}},f,T):B=i(R,T),l(B,w,T,C),I.add(B),w.setItemGraphicEl(T,B)}).remove(function(T){var D=x.getItemGraphicEl(T);D&&I.remove(D)}).execute(),this._data=w},_renderLarge:function(f){this._clear(),o(f,this.group);var w=f.get("clip",!0)?b(f.coordinateSystem,!1,f):null;w?this.group.setClipPath(w):this.group.removeClipPath()},_incrementalRenderNormal:function(f,w){for(var x=w.getData(),I=x.getLayout("isSimpleBox"),C;(C=f.next())!=null;){var N,S=x.getItemLayout(C);N=i(S,C),l(N,x,C,I),N.incremental=!0,this.group.add(N)}},_incrementalRenderLarge:function(f,w){o(w,this.group,!0)},remove:function(f){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:y.noop}),s=v.extend({type:"normalCandlestickBox",shape:{},buildPath:function(f,w){var x=w.points;this.__simpleBox?(f.moveTo(x[4][0],x[4][1]),f.lineTo(x[6][0],x[6][1])):(f.moveTo(x[0][0],x[0][1]),f.lineTo(x[1][0],x[1][1]),f.lineTo(x[2][0],x[2][1]),f.lineTo(x[3][0],x[3][1]),f.closePath(),f.moveTo(x[4][0],x[4][1]),f.lineTo(x[5][0],x[5][1]),f.moveTo(x[6][0],x[6][1]),f.lineTo(x[7][0],x[7][1]))}});function i(f,w,x){var I=f.ends;return new s({shape:{points:x?t(I,f):I},z2:100})}function n(f,w){for(var x=!0,I=0;I<w.ends.length;I++)if(f.contain(w.ends[I][0],w.ends[I][1])){x=!1;break}return x}function l(f,w,x,I){var C=w.getItemModel(x),N=C.getModel(m),S=w.getItemVisual(x,"color"),E=w.getItemVisual(x,"borderColor")||S,T=N.getItemStyle(r);f.useStyle(T),f.style.strokeNoScale=!0,f.style.fill=S,f.style.stroke=E,f.__simpleBox=I;var D=C.getModel(d).getItemStyle();g.setHoverStyle(f,D)}function t(f,w){return y.map(f,function(x){return x=x.slice(),x[1]=w.initBaseline,x})}var u=v.extend({type:"largeCandlestickBox",shape:{},buildPath:function(f,w){for(var x=w.points,I=0;I<x.length;)if(this.__sign===x[I++]){var C=x[I++];f.moveTo(C,x[I++]),f.lineTo(C,x[I++])}else I+=3}});function o(f,w,x){var I=f.getData(),C=I.getLayout("largePoints"),N=new u({shape:{points:C},__sign:1});w.add(N);var S=new u({shape:{points:C},__sign:-1});w.add(S),c(1,N,f,I),c(-1,S,f,I),x&&(N.incremental=!0,S.incremental=!0)}function c(f,w,x,I){var C=f>0?"P":"N",N=I.getVisual("borderColor"+C)||I.getVisual("color"+C),S=x.getModel(m).getItemStyle(r);w.useStyle(S),w.style.fill=null,w.style.stroke=N}var h=a;te.exports=h},Gev7:function(te,U,e){var y=e("bYtY"),L=e("K2GJ"),g=e("1bdT"),v=e("ni6a");function A(m){m=m||{},g.call(this,m);for(var d in m)m.hasOwnProperty(d)&&d!=="style"&&(this[d]=m[d]);this.style=new L(m.style,this),this._rect=null,this.__clipPaths=null}A.prototype={constructor:A,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(d){},afterBrush:function(d){},brush:function(d,r){},getBoundingRect:function(){},contain:function(d,r){return this.rectContain(d,r)},traverse:function(d,r){d.call(r,this)},rectContain:function(d,r){var a=this.transformCoordToLocal(d,r),s=this.getBoundingRect();return s.contain(a[0],a[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(d){return this.animate("style",d)},attrKV:function(d,r){d!=="style"?g.prototype.attrKV.call(this,d,r):this.style.set(r)},setStyle:function(d,r){return this.style.set(d,r),this.dirty(!1),this},useStyle:function(d){return this.style=new L(d,this),this.dirty(!1),this},calculateTextPosition:null},y.inherits(A,g),y.mixin(A,v);var b=A;te.exports=b},GrNh:function(te,U,e){var y=e("bYtY"),L=e("IwbS"),g=e("6Ic6");function v(a,s,i,n){var l=s.getData(),t=this.dataIndex,u=l.getName(t),o=s.get("selectedOffset");n.dispatchAction({type:"pieToggleSelect",from:a,name:u,seriesId:s.id}),l.each(function(c){A(l.getItemGraphicEl(c),l.getItemLayout(c),s.isSelected(l.getName(c)),o,i)})}function A(a,s,i,n,l){var t=(s.startAngle+s.endAngle)/2,u=Math.cos(t),o=Math.sin(t),c=i?n:0,h=[u*c,o*c];l?a.animate().when(200,{position:h}).start("bounceOut"):a.attr("position",h)}function b(a,s){L.Group.call(this);var i=new L.Sector({z2:2}),n=new L.Polyline,l=new L.Text;this.add(i),this.add(n),this.add(l),this.updateData(a,s,!0)}var m=b.prototype;m.updateData=function(a,s,i){var n=this.childAt(0),l=this.childAt(1),t=this.childAt(2),u=a.hostModel,o=a.getItemModel(s),c=a.getItemLayout(s),h=y.extend({},c);h.label=null;var f=u.getShallow("animationTypeUpdate");if(i){n.setShape(h);var w=u.getShallow("animationType");w==="scale"?(n.shape.r=c.r0,L.initProps(n,{shape:{r:c.r}},u,s)):(n.shape.endAngle=c.startAngle,L.updateProps(n,{shape:{endAngle:c.endAngle}},u,s))}else f==="expansion"?n.setShape(h):L.updateProps(n,{shape:h},u,s);var x=a.getItemVisual(s,"color");n.useStyle(y.defaults({lineJoin:"bevel",fill:x},o.getModel("itemStyle").getItemStyle())),n.hoverStyle=o.getModel("emphasis.itemStyle").getItemStyle();var I=o.getShallow("cursor");I&&n.attr("cursor",I),A(this,a.getItemLayout(s),u.isSelected(a.getName(s)),u.get("selectedOffset"),u.get("animation"));var C=!i&&f==="transition";this._updateLabel(a,s,C),this.highDownOnUpdate=u.get("silent")?null:function(N,S){var E=u.isAnimationEnabled()&&o.get("hoverAnimation");S==="emphasis"?(l.ignore=l.hoverIgnore,t.ignore=t.hoverIgnore,E&&(n.stopAnimation(!0),n.animateTo({shape:{r:c.r+u.get("hoverOffset")}},300,"elasticOut"))):(l.ignore=l.normalIgnore,t.ignore=t.normalIgnore,E&&(n.stopAnimation(!0),n.animateTo({shape:{r:c.r}},300,"elasticOut")))},L.setHoverStyle(this)},m._updateLabel=function(a,s,i){var n=this.childAt(1),l=this.childAt(2),t=a.hostModel,u=a.getItemModel(s),o=a.getItemLayout(s),c=o.label,h=a.getItemVisual(s,"color");if(!c||isNaN(c.x)||isNaN(c.y)){l.ignore=l.normalIgnore=l.hoverIgnore=n.ignore=n.normalIgnore=n.hoverIgnore=!0;return}var f={points:c.linePoints||[[c.x,c.y],[c.x,c.y],[c.x,c.y]]},w={x:c.x,y:c.y};i?(L.updateProps(n,{shape:f},t,s),L.updateProps(l,{style:w},t,s)):(n.attr({shape:f}),l.attr({style:w})),l.attr({rotation:c.rotation,origin:[c.x,c.y],z2:10});var x=u.getModel("label"),I=u.getModel("emphasis.label"),C=u.getModel("labelLine"),N=u.getModel("emphasis.labelLine"),h=a.getItemVisual(s,"color");L.setLabelStyle(l.style,l.hoverStyle={},x,I,{labelFetcher:a.hostModel,labelDataIndex:s,defaultText:c.text,autoColor:h,useInsideStyle:!!c.inside},{textAlign:c.textAlign,textVerticalAlign:c.verticalAlign,opacity:a.getItemVisual(s,"opacity")}),l.ignore=l.normalIgnore=!x.get("show"),l.hoverIgnore=!I.get("show"),n.ignore=n.normalIgnore=!C.get("show"),n.hoverIgnore=!N.get("show"),n.setStyle({stroke:h,opacity:a.getItemVisual(s,"opacity")}),n.setStyle(C.getModel("lineStyle").getLineStyle()),n.hoverStyle=N.getModel("lineStyle").getLineStyle();var S=C.get("smooth");S&&S===!0&&(S=.4),n.setShape({smooth:S})},y.inherits(b,L.Group);var d=g.extend({type:"pie",init:function(){var a=new L.Group;this._sectorGroup=a},render:function(a,s,i,n){if(n&&n.from===this.uid)return;var l=a.getData(),t=this._data,u=this.group,o=s.get("animation"),c=!t,h=a.get("animationType"),f=a.get("animationTypeUpdate"),w=y.curry(v,this.uid,a,o,i),x=a.get("selectedMode");if(l.diff(t).add(function(E){var T=new b(l,E);c&&h!=="scale"&&T.eachChild(function(D){D.stopAnimation(!0)}),x&&T.on("click",w),l.setItemGraphicEl(E,T),u.add(T)}).update(function(E,T){var D=t.getItemGraphicEl(T);!c&&f!=="transition"&&D.eachChild(function(B){B.stopAnimation(!0)}),D.updateData(l,E),D.off("click"),x&&D.on("click",w),u.add(D),l.setItemGraphicEl(E,D)}).remove(function(E){var T=t.getItemGraphicEl(E);u.remove(T)}).execute(),o&&l.count()>0&&(c?h!=="scale":f!=="transition")){for(var I=l.getItemLayout(0),C=1;isNaN(I.startAngle)&&C<l.count();++C)I=l.getItemLayout(C);var N=Math.max(i.getWidth(),i.getHeight())/2,S=y.bind(u.removeClipPath,u);u.setClipPath(this._createClipPath(I.cx,I.cy,N,I.startAngle,I.clockwise,S,a,c))}else u.removeClipPath();this._data=l},dispose:function(){},_createClipPath:function(a,s,i,n,l,t,u,o){var c=new L.Sector({shape:{cx:a,cy:s,r0:0,r:i,startAngle:n,endAngle:n,clockwise:l}}),h=o?L.initProps:L.updateProps;return h(c,{shape:{endAngle:n+(l?1:-1)*Math.PI*2}},u,t),c},containPoint:function(a,s){var i=s.getData(),n=i.getItemLayout(0);if(n){var l=a[0]-n.cx,t=a[1]-n.cy,u=Math.sqrt(l*l+t*t);return u<=n.r&&u>=n.r0}}}),r=d;te.exports=r},Gytx:function(te,U){te.exports=function(y,L,g,v){var A=g?g.call(v,y,L):void 0;if(A!==void 0)return!!A;if(y===L)return!0;if(typeof y!="object"||!y||typeof L!="object"||!L)return!1;var b=Object.keys(y),m=Object.keys(L);if(b.length!==m.length)return!1;for(var d=Object.prototype.hasOwnProperty.bind(L),r=0;r<b.length;r++){var a=b[r];if(!d(a))return!1;var s=y[a],i=L[a];if(A=g?g.call(v,s,i,a):void 0,A===!1||A===void 0&&s!==i)return!1}return!0}},GzdX:function(te,U,e){"use strict";var y=e("pVnL"),L=e.n(y),g=e("q1tI"),v=e.n(g),A=e("rePB"),b=e("1OyB"),m=e("vuIU"),d=e("Ji7U"),r=e("md7G"),a=e("foSv"),s=e("m+aA"),i=e("TSYQ"),n=e.n(i),l=e("4IlW");function t(H){var k=H.pageXOffset,P="scrollLeft";if(typeof k!="number"){var z=H.document;k=z.documentElement[P],typeof k!="number"&&(k=z.body[P])}return k}function u(H){var k,P,z=H.ownerDocument,Y=z.body,_=z&&z.documentElement,G=H.getBoundingClientRect();return k=G.left,P=G.top,k-=_.clientLeft||Y.clientLeft||0,P-=_.clientTop||Y.clientTop||0,{left:k,top:P}}function o(H){var k=u(H),P=H.ownerDocument,z=P.defaultView||P.parentWindow;return k.left+=t(z),k.left}function c(H){var k=h();return function(){var z=Object(a.a)(H),Y;if(k){var _=Object(a.a)(this).constructor;Y=Reflect.construct(z,arguments,_)}else Y=z.apply(this,arguments);return Object(r.a)(this,Y)}}function h(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(H){return!1}}var f=function(H){Object(d.a)(P,H);var k=c(P);function P(){var z;return Object(b.a)(this,P),z=k.apply(this,arguments),z.onHover=function(Y){var _=z.props,G=_.onHover,J=_.index;G(Y,J)},z.onClick=function(Y){var _=z.props,G=_.onClick,J=_.index;G(Y,J)},z.onKeyDown=function(Y){var _=z.props,G=_.onClick,J=_.index;Y.keyCode===13&&G(Y,J)},z}return Object(m.a)(P,[{key:"getClassName",value:function(){var Y=this.props,_=Y.prefixCls,G=Y.index,J=Y.value,ue=Y.allowHalf,q=Y.focused,re=G+1,me=_;return J===0&&G===0&&q?me+=" ".concat(_,"-focused"):ue&&J+.5>=re&&J<re?(me+=" ".concat(_,"-half ").concat(_,"-active"),q&&(me+=" ".concat(_,"-focused"))):(me+=re<=J?" ".concat(_,"-full"):" ".concat(_,"-zero"),re===J&&q&&(me+=" ".concat(_,"-focused"))),me}},{key:"render",value:function(){var Y=this.onHover,_=this.onClick,G=this.onKeyDown,J=this.props,ue=J.disabled,q=J.prefixCls,re=J.character,me=J.characterRender,be=J.index,ke=J.count,ce=J.value,Ee=typeof re=="function"?re(this.props):re,pe=v.a.createElement("li",{className:this.getClassName()},v.a.createElement("div",{onClick:ue?null:_,onKeyDown:ue?null:G,onMouseMove:ue?null:Y,role:"radio","aria-checked":ce>be?"true":"false","aria-posinset":be+1,"aria-setsize":ke,tabIndex:ue?-1:0},v.a.createElement("div",{className:"".concat(q,"-first")},Ee),v.a.createElement("div",{className:"".concat(q,"-second")},Ee)));return me&&(pe=me(pe,this.props)),pe}}]),P}(v.a.Component);function w(H,k){var P=Object.keys(H);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols(H);k&&(z=z.filter(function(Y){return Object.getOwnPropertyDescriptor(H,Y).enumerable})),P.push.apply(P,z)}return P}function x(H){for(var k=1;k<arguments.length;k++){var P=arguments[k]!=null?arguments[k]:{};k%2?w(Object(P),!0).forEach(function(z){Object(A.a)(H,z,P[z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(H,Object.getOwnPropertyDescriptors(P)):w(Object(P)).forEach(function(z){Object.defineProperty(H,z,Object.getOwnPropertyDescriptor(P,z))})}return H}function I(H){var k=C();return function(){var z=Object(a.a)(H),Y;if(k){var _=Object(a.a)(this).constructor;Y=Reflect.construct(z,arguments,_)}else Y=z.apply(this,arguments);return Object(r.a)(this,Y)}}function C(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(H){return!1}}function N(){}var S=function(H){Object(d.a)(P,H);var k=I(P);function P(z){var Y;Object(b.a)(this,P),Y=k.call(this,z),Y.onHover=function(G,J){var ue=Y.props.onHoverChange,q=Y.getStarValue(J,G.pageX),re=Y.state.cleanedValue;q!==re&&Y.setState({hoverValue:q,cleanedValue:null}),ue(q)},Y.onMouseLeave=function(){var G=Y.props.onHoverChange;Y.setState({hoverValue:void 0,cleanedValue:null}),G(void 0)},Y.onClick=function(G,J){var ue=Y.props.allowClear,q=Y.state.value,re=Y.getStarValue(J,G.pageX),me=!1;ue&&(me=re===q),Y.onMouseLeave(),Y.changeValue(me?0:re),Y.setState({cleanedValue:me?re:null})},Y.onFocus=function(){var G=Y.props.onFocus;Y.setState({focused:!0}),G&&G()},Y.onBlur=function(){var G=Y.props.onBlur;Y.setState({focused:!1}),G&&G()},Y.onKeyDown=function(G){var J=G.keyCode,ue=Y.props,q=ue.count,re=ue.allowHalf,me=ue.onKeyDown,be=ue.direction,ke=be==="rtl",ce=Y.state.value;J===l.a.RIGHT&&ce<q&&!ke?(re?ce+=.5:ce+=1,Y.changeValue(ce),G.preventDefault()):J===l.a.LEFT&&ce>0&&!ke||J===l.a.RIGHT&&ce>0&&ke?(re?ce-=.5:ce-=1,Y.changeValue(ce),G.preventDefault()):J===l.a.LEFT&&ce<q&&ke&&(re?ce+=.5:ce+=1,Y.changeValue(ce),G.preventDefault()),me&&me(G)},Y.saveRef=function(G){return function(J){Y.stars[G]=J}},Y.saveRate=function(G){Y.rate=G};var _=z.value;return _===void 0&&(_=z.defaultValue),Y.stars={},Y.state={value:_,focused:!1,cleanedValue:null},Y}return Object(m.a)(P,[{key:"componentDidMount",value:function(){var Y=this.props,_=Y.autoFocus,G=Y.disabled;_&&!G&&this.focus()}},{key:"getStarDOM",value:function(Y){return Object(s.a)(this.stars[Y])}},{key:"getStarValue",value:function(Y,_){var G=this.props,J=G.allowHalf,ue=G.direction,q=ue==="rtl",re=Y+1;if(J){var me=this.getStarDOM(Y),be=o(me),ke=me.clientWidth;(q&&_-be>ke/2||!q&&_-be<ke/2)&&(re-=.5)}return re}},{key:"focus",value:function(){var Y=this.props.disabled;Y||this.rate.focus()}},{key:"blur",value:function(){var Y=this.props.disabled;Y||this.rate.blur()}},{key:"changeValue",value:function(Y){var _=this.props.onChange;"value"in this.props||this.setState({value:Y}),_(Y)}},{key:"render",value:function(){for(var Y=this.props,_=Y.count,G=Y.allowHalf,J=Y.style,ue=Y.prefixCls,q=Y.disabled,re=Y.className,me=Y.character,be=Y.characterRender,ke=Y.tabIndex,ce=Y.direction,Ee=this.state,pe=Ee.value,Se=Ee.hoverValue,st=Ee.focused,qe=[],tt=q?"".concat(ue,"-disabled"):"",Dt=0;Dt<_;Dt+=1)qe.push(v.a.createElement(f,{ref:this.saveRef(Dt),index:Dt,count:_,disabled:q,prefixCls:"".concat(ue,"-star"),allowHalf:G,value:Se===void 0?pe:Se,onClick:this.onClick,onHover:this.onHover,key:Dt,character:me,characterRender:be,focused:st}));var ct=n()(ue,tt,re,Object(A.a)({},"".concat(ue,"-rtl"),ce==="rtl"));return v.a.createElement("ul",{className:ct,style:J,onMouseLeave:q?null:this.onMouseLeave,tabIndex:q?-1:ke,onFocus:q?null:this.onFocus,onBlur:q?null:this.onBlur,onKeyDown:q?null:this.onKeyDown,ref:this.saveRate,role:"radiogroup"},qe)}}],[{key:"getDerivedStateFromProps",value:function(Y,_){return"value"in Y&&Y.value!==void 0?x(x({},_),{},{value:Y.value}):_}}]),P}(v.a.Component);S.defaultProps={defaultValue:0,count:5,allowHalf:!1,allowClear:!0,style:{},prefixCls:"rc-rate",onChange:N,character:"\u2605",onHoverChange:N,tabIndex:0,direction:"ltr"};var E=S,T=E,D=e("Lerx"),B=e.n(D),R=e("3S7+"),F=e("H84U"),M=function(H,k){var P={};for(var z in H)Object.prototype.hasOwnProperty.call(H,z)&&k.indexOf(z)<0&&(P[z]=H[z]);if(H!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Y=0,z=Object.getOwnPropertySymbols(H);Y<z.length;Y++)k.indexOf(z[Y])<0&&Object.prototype.propertyIsEnumerable.call(H,z[Y])&&(P[z[Y]]=H[z[Y]]);return P},K=g.forwardRef(function(H,k){var P=H.prefixCls,z=H.tooltips,Y=M(H,["prefixCls","tooltips"]),_=function(me,be){var ke=be.index;return z?g.createElement(R.a,{title:z[ke]},me):me},G=g.useContext(F.b),J=G.getPrefixCls,ue=G.direction,q=J("rate",P);return g.createElement(T,L()({ref:k,characterRender:_},Y,{prefixCls:q,direction:ue}))});K.displayName="Rate",K.defaultProps={character:g.createElement(B.a,null)};var j=U.a=K},H6uX:function(te,U){var e=Array.prototype.slice,y=function(b){this._$handlers={},this._$eventProcessor=b};y.prototype={constructor:y,one:function(b,m,d,r){return g(this,b,m,d,r,!0)},on:function(b,m,d,r){return g(this,b,m,d,r,!1)},isSilent:function(b){var m=this._$handlers;return!m[b]||!m[b].length},off:function(b,m){var d=this._$handlers;if(!b)return this._$handlers={},this;if(m){if(d[b]){for(var r=[],a=0,s=d[b].length;a<s;a++)d[b][a].h!==m&&r.push(d[b][a]);d[b]=r}d[b]&&d[b].length===0&&delete d[b]}else delete d[b];return this},trigger:function(b){var m=this._$handlers[b],d=this._$eventProcessor;if(m){var r=arguments,a=r.length;a>3&&(r=e.call(r,1));for(var s=m.length,i=0;i<s;){var n=m[i];if(d&&d.filter&&n.query!=null&&!d.filter(b,n.query)){i++;continue}switch(a){case 1:n.h.call(n.ctx);break;case 2:n.h.call(n.ctx,r[1]);break;case 3:n.h.call(n.ctx,r[1],r[2]);break;default:n.h.apply(n.ctx,r);break}n.one?(m.splice(i,1),s--):i++}}return d&&d.afterTrigger&&d.afterTrigger(b),this},triggerWithContext:function(b){var m=this._$handlers[b],d=this._$eventProcessor;if(m){var r=arguments,a=r.length;a>4&&(r=e.call(r,1,r.length-1));for(var s=r[r.length-1],i=m.length,n=0;n<i;){var l=m[n];if(d&&d.filter&&l.query!=null&&!d.filter(b,l.query)){n++;continue}switch(a){case 1:l.h.call(s);break;case 2:l.h.call(s,r[1]);break;case 3:l.h.call(s,r[1],r[2]);break;default:l.h.apply(s,r);break}l.one?(m.splice(n,1),i--):n++}}return d&&d.afterTrigger&&d.afterTrigger(b),this}};function L(A,b){var m=A._$eventProcessor;return b!=null&&m&&m.normalizeQuery&&(b=m.normalizeQuery(b)),b}function g(A,b,m,d,r,a){var s=A._$handlers;if(typeof m=="function"&&(r=d,d=m,m=null),!d||!b)return A;m=L(A,m),s[b]||(s[b]=[]);for(var i=0;i<s[b].length;i++)if(s[b][i].h===d)return A;var n={h:d,one:a,query:m,ctx:r||A,callAtLast:d.zrEventfulCallAtLast},l=s[b].length-1,t=s[b][l];return t&&t.callAtLast?s[b].splice(l,0,n):s[b].push(n),A}var v=y;te.exports=v},HBhm:function(te,U,e){"use strict";Object.defineProperty(U,"__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"};U.default=y},"HF/U":function(te,U,e){var y=e("QBsz");function L(v){var A=v.coordinateSystem;if(A&&A.type!=="view")return;var b=v.getGraph();b.eachNode(function(m){var d=m.getModel();m.setLayout([+d.get("x"),+d.get("y")])}),g(b)}function g(v){v.eachEdge(function(A){var b=A.getModel().get("lineStyle.curveness")||0,m=y.clone(A.node1.getLayout()),d=y.clone(A.node2.getLayout()),r=[m,d];+b&&r.push([(m[0]+d[0])/2-(m[1]-d[1])*b,(m[1]+d[1])/2-(d[0]-m[0])*b]),A.setLayout(r)})}U.simpleLayout=L,U.simpleLayoutEdge=g},"HM/N":function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("bYtY"),v=e("/SeX"),A=e("OELB"),b=A.parsePercent,m=e("aX7z"),d=m.createScaleByModel,r=m.niceScaleExtent,a=e("IDmD"),s=e("7hqr"),i=s.getStackedDimension;e("ePAk");function n(o,c,h){var f=c.get("center"),w=h.getWidth(),x=h.getHeight();o.cx=b(f[0],w),o.cy=b(f[1],x);var I=o.getRadiusAxis(),C=Math.min(w,x)/2,N=c.get("radius");N==null?N=[0,"100%"]:g.isArray(N)||(N=[0,N]),N=[b(N[0],C),b(N[1],C)],I.inverse?I.setExtent(N[1],N[0]):I.setExtent(N[0],N[1])}function l(o,c){var h=this,f=h.getAngleAxis(),w=h.getRadiusAxis();if(f.scale.setExtent(Infinity,-Infinity),w.scale.setExtent(Infinity,-Infinity),o.eachSeries(function(C){if(C.coordinateSystem===h){var N=C.getData();g.each(N.mapDimension("radius",!0),function(S){w.scale.unionExtentFromData(N,i(N,S))}),g.each(N.mapDimension("angle",!0),function(S){f.scale.unionExtentFromData(N,i(N,S))})}}),r(f.scale,f.model),r(w.scale,w.model),f.type==="category"&&!f.onBand){var x=f.getExtent(),I=360/f.scale.count();f.inverse?x[1]+=I:x[1]-=I,f.setExtent(x[0],x[1])}}function t(o,c){if(o.type=c.get("type"),o.scale=d(c),o.onBand=c.get("boundaryGap")&&o.type==="category",o.inverse=c.get("inverse"),c.mainType==="angleAxis"){o.inverse^=c.get("clockwise");var h=c.get("startAngle");o.setExtent(h,h+(o.inverse?-360:360))}c.axis=o,o.model=c}var u={dimensions:v.prototype.dimensions,create:function(o,c){var h=[];return o.eachComponent("polar",function(f,w){var x=new v(w);x.update=l;var I=x.getRadiusAxis(),C=x.getAngleAxis(),N=f.findAxisModel("radiusAxis"),S=f.findAxisModel("angleAxis");t(I,N),t(C,S),n(x,f,c),h.push(x),f.coordinateSystem=x,x.model=f}),o.eachSeries(function(f){if(f.get("coordinateSystem")==="polar"){var w=o.queryComponents({mainType:"polar",index:f.get("polarIndex"),id:f.get("polarId")})[0];f.coordinateSystem=w.coordinateSystem}}),h}};a.register("polar",u)},HQEm:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=L(e("Sj0X"));function L(v){return v&&v.__esModule?v:{default:v}}var g=y;U.default=g,te.exports=g},HjIi:function(te,U,e){var y=e("bYtY"),L=e("OELB"),g=L.parsePercent,v=e("7hqr"),A=v.isDimensionStacked;function b(s){return s.get("stack")||"__ec_stack_"+s.seriesIndex}function m(s,i){return i.dim+s.model.componentIndex}function d(s,i,n){var l={},t=r(y.filter(i.getSeriesByType(s),function(u){return!i.isSeriesFiltered(u)&&u.coordinateSystem&&u.coordinateSystem.type==="polar"}));i.eachSeriesByType(s,function(u){if(u.coordinateSystem.type!=="polar")return;var o=u.getData(),c=u.coordinateSystem,h=c.getBaseAxis(),f=m(c,h),w=b(u),x=t[f][w],I=x.offset,C=x.width,N=c.getOtherAxis(h),S=u.coordinateSystem.cx,E=u.coordinateSystem.cy,T=u.get("barMinHeight")||0,D=u.get("barMinAngle")||0;l[w]=l[w]||[];for(var B=o.mapDimension(N.dim),R=o.mapDimension(h.dim),F=A(o,B),M=h.dim!=="radius"||!u.get("roundCap",!0),K=N.getExtent()[0],j=0,H=o.count();j<H;j++){var k=o.get(B,j),P=o.get(R,j),z=k>=0?"p":"n",Y=K;F&&(l[w][P]||(l[w][P]={p:K,n:K}),Y=l[w][P][z]);var _,G,J,ue;if(N.dim==="radius"){var q=N.dataToRadius(k)-K,re=h.dataToAngle(P);Math.abs(q)<T&&(q=(q<0?-1:1)*T),_=Y,G=Y+q,J=re-I,ue=J-C,F&&(l[w][P][z]=G)}else{var me=N.dataToAngle(k,M)-K,be=h.dataToRadius(P);Math.abs(me)<D&&(me=(me<0?-1:1)*D),_=be+I,G=_+C,J=Y,ue=Y+me,F&&(l[w][P][z]=ue)}o.setItemLayout(j,{cx:S,cy:E,r0:_,r:G,startAngle:-J*Math.PI/180,endAngle:-ue*Math.PI/180})}},this)}function r(s,i){var n={};y.each(s,function(t,u){var o=t.getData(),c=t.coordinateSystem,h=c.getBaseAxis(),f=m(c,h),w=h.getExtent(),x=h.type==="category"?h.getBandWidth():Math.abs(w[1]-w[0])/o.count(),I=n[f]||{bandWidth:x,remainedWidth:x,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},C=I.stacks;n[f]=I;var N=b(t);C[N]||I.autoWidthCount++,C[N]=C[N]||{width:0,maxWidth:0};var S=g(t.get("barWidth"),x),E=g(t.get("barMaxWidth"),x),T=t.get("barGap"),D=t.get("barCategoryGap");S&&!C[N].width&&(S=Math.min(I.remainedWidth,S),C[N].width=S,I.remainedWidth-=S),E&&(C[N].maxWidth=E),T!=null&&(I.gap=T),D!=null&&(I.categoryGap=D)});var l={};return y.each(n,function(t,u){l[u]={};var o=t.stacks,c=t.bandWidth,h=g(t.categoryGap,c),f=g(t.gap,1),w=t.remainedWidth,x=t.autoWidthCount,I=(w-h)/(x+(x-1)*f);I=Math.max(I,0),y.each(o,function(E,T){var D=E.maxWidth;D&&D<I&&(D=Math.min(D,w),E.width&&(D=Math.min(D,E.width)),w-=D,E.width=D,x--)}),I=(w-h)/(x+(x-1)*f),I=Math.max(I,0);var C=0,N;y.each(o,function(E,T){E.width||(E.width=I),N=E,C+=E.width*(1+f)}),N&&(C-=N.width*f);var S=-C/2;y.each(o,function(E,T){l[u][T]=l[u][T]||{offset:S,width:E.width},S+=E.width*(1+f)})}),l}var a=d;te.exports=a},HjOm:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.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"},L=y;U.default=L},Hw7h:function(te,U,e){var y=e("y+Vt"),L=y.extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(g,v){var A=Math.cos,b=Math.sin,m=v.r,d=v.width,r=v.angle,a=v.x-A(r)*d*(d>=m/3?1:2),s=v.y-b(r)*d*(d>=m/3?1:2);r=v.angle-Math.PI/2,g.moveTo(a,s),g.lineTo(v.x+A(r)*d,v.y+b(r)*d),g.lineTo(v.x+A(v.angle)*m,v.y+b(v.angle)*m),g.lineTo(v.x-A(r)*d,v.y-b(r)*d),g.lineTo(a,s);return}});te.exports=L},Hxpc:function(te,U,e){var y=e("bYtY"),L=e("4NO4"),g=e("bLfw"),v=e("Qxkt"),A=e("cCMj"),b=e("7uqq"),m=g.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(r){g.prototype.init.apply(this,arguments),L.defaultEmphasis(r,"label",["show"])},optionUpdated:function(){var r=this.option,a=this;r.regions=b.getFilledRegions(r.regions,r.map,r.nameMap),this._optionModelMap=y.reduce(r.regions||[],function(s,i){return i.name&&s.set(i.name,new v(i,a)),s},y.createHashMap()),this.updateSelectedMap(r.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(r){return this._optionModelMap.get(r)||new v(null,this,this.ecModel)},getFormattedLabel:function(r,a){var s=this.getRegionModel(r),i=s.get("label"+(a==="normal"?".":a+".")+"formatter"),n={name:r};if(typeof i=="function")return n.status=a,i(n);if(typeof i=="string")return i.replace("{a}",r!=null?r:"")},setZoom:function(r){this.option.zoom=r},setCenter:function(r){this.option.center=r}});y.mixin(m,A);var d=m;te.exports=d},"I+77":function(te,U,e){var y=e("ProS");e("h54F"),e("lwQL"),e("10cm");var L=e("Z1r0"),g=e("f5Yq"),v=e("KUOm"),A=e("3m61"),b=e("01d+"),m=e("rdor"),d=e("WGYa"),r=e("ewwo");y.registerProcessor(L),y.registerVisual(g("graph","circle",null)),y.registerVisual(v),y.registerVisual(A),y.registerLayout(b),y.registerLayout(y.PRIORITY.VISUAL.POST_CHART_LAYOUT,m),y.registerLayout(d),y.registerCoordinateSystem("graphView",{create:r})},"I+Bx":function(te,U,e){var y=e("bYtY"),L=e("eIcI"),g=e("ieMj"),v=e("OELB"),A=e("aX7z"),b=A.getScaleExtent,m=A.niceScaleExtent,d=e("IDmD"),r=e("jCoz");function a(i,n,l){this._model=i,this.dimensions=[],this._indicatorAxes=y.map(i.getIndicatorModels(),function(t,u){var o="indicator_"+u,c=new L(o,t.get("axisType")==="log"?new r:new g);return c.name=t.get("name"),c.model=t,t.axis=c,this.dimensions.push(o),c},this),this.resize(i,l),this.cx,this.cy,this.r,this.r0,this.startAngle}a.prototype.getIndicatorAxes=function(){return this._indicatorAxes},a.prototype.dataToPoint=function(i,n){var l=this._indicatorAxes[n];return this.coordToPoint(l.dataToCoord(i),n)},a.prototype.coordToPoint=function(i,n){var l=this._indicatorAxes[n],t=l.angle,u=this.cx+i*Math.cos(t),o=this.cy-i*Math.sin(t);return[u,o]},a.prototype.pointToData=function(i){var n=i[0]-this.cx,l=i[1]-this.cy,t=Math.sqrt(n*n+l*l);n/=t,l/=t;for(var u=Math.atan2(-l,n),o=Infinity,c,h=-1,f=0;f<this._indicatorAxes.length;f++){var w=this._indicatorAxes[f],x=Math.abs(u-w.angle);x<o&&(c=w,h=f,o=x)}return[h,+(c&&c.coordToData(t))]},a.prototype.resize=function(i,n){var l=i.get("center"),t=n.getWidth(),u=n.getHeight(),o=Math.min(t,u)/2;this.cx=v.parsePercent(l[0],t),this.cy=v.parsePercent(l[1],u),this.startAngle=i.get("startAngle")*Math.PI/180;var c=i.get("radius");(typeof c=="string"||typeof c=="number")&&(c=[0,c]),this.r0=v.parsePercent(c[0],o),this.r=v.parsePercent(c[1],o),y.each(this._indicatorAxes,function(h,f){h.setExtent(this.r0,this.r);var w=this.startAngle+f*Math.PI*2/this._indicatorAxes.length;w=Math.atan2(Math.sin(w),Math.cos(w)),h.angle=w},this)},a.prototype.update=function(i,n){var l=this._indicatorAxes,t=this._model;y.each(l,function(c){c.scale.setExtent(Infinity,-Infinity)}),i.eachSeriesByType("radar",function(c,h){if(c.get("coordinateSystem")!=="radar"||i.getComponent("radar",c.get("radarIndex"))!==t)return;var f=c.getData();y.each(l,function(w){w.scale.unionExtentFromData(f,f.mapDimension(w.dim))})},this);var u=t.get("splitNumber");function o(c){var h=Math.pow(10,Math.floor(Math.log(c)/Math.LN10)),f=c/h;return f===2?f=5:f*=2,f*h}y.each(l,function(c,h){var f=b(c.scale,c.model).extent;m(c.scale,c.model);var w=c.model,x=c.scale,I=w.getMin(),C=w.getMax(),N=x.getInterval();if(I!=null&&C!=null)x.setExtent(+I,+C),x.setInterval((C-I)/u);else if(I!=null){var S;do S=I+N*u,x.setExtent(+I,S),x.setInterval(N),N=o(N);while(S<f[1]&&isFinite(S)&&isFinite(f[1]))}else if(C!=null){var E;do E=C-N*u,x.setExtent(E,+C),x.setInterval(N),N=o(N);while(E>f[0]&&isFinite(E)&&isFinite(f[0]))}else{var T=x.getTicks().length-1;T>u&&(N=o(N));var S=Math.ceil(f[1]/N)*N,E=v.round(S-N*u);x.setExtent(E,S),x.setInterval(N)}})},a.dimensions=[],a.create=function(i,n){var l=[];return i.eachComponent("radar",function(t){var u=new a(t,i,n);l.push(u),t.coordinateSystem=u}),i.eachSeriesByType("radar",function(t){t.get("coordinateSystem")==="radar"&&(t.coordinateSystem=l[t.get("radarIndex")||0])}),l},d.register("radar",a);var s=a;te.exports=s},"I3/A":function(te,U,e){var y=e("bYtY"),L=e("YXkt"),g=e("c2i1"),v=e("Mdki"),A=e("sdST"),b=e("IDmD"),m=e("MwEJ");function d(r,a,s,i,n){for(var l=new g(i),t=0;t<r.length;t++)l.addNode(y.retrieve(r[t].id,r[t].name,t),t);for(var u=[],o=[],c=0,t=0;t<a.length;t++){var h=a[t],f=h.source,w=h.target;l.addEdge(f,w,c)&&(o.push(h),u.push(y.retrieve(h.id,f+" > "+w)),c++)}var x=s.get("coordinateSystem"),I;if(x==="cartesian2d"||x==="polar")I=m(r,s);else{var C=b.get(x),N=C&&C.type!=="view"?C.dimensions||[]:[];y.indexOf(N,"value")<0&&N.concat(["value"]);var S=A(r,{coordDimensions:N});I=new L(S,s),I.initData(r)}var E=new L(["value"],s);return E.initData(o,u),n&&n(I,E),v({mainData:I,struct:l,structAttr:"graph",datas:{node:I,edge:E},datasAttr:{node:"data",edge:"edgeData"}}),l.update(),l}te.exports=d},I8Z2:function(te,U,e){"use strict";e.d(U,"a",function(){return v}),e.d(U,"b",function(){return n}),e.d(U,"c",function(){return t});var y=e("q1tI"),L=function(){var u=function(c,h){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,w){f.__proto__=w}||function(f,w){for(var x in w)w.hasOwnProperty(x)&&(f[x]=w[x])},u(c,h)};return function(o,c){u(o,c);function h(){this.constructor=o}o.prototype=c===null?Object.create(c):(h.prototype=c.prototype,new h)}}(),g=y.createContext(null),v=function(u){L(o,u);function o(){return u!==null&&u.apply(this,arguments)||this}return o.prototype.render=function(){return y.createElement(g.Provider,{value:this.props.store},this.props.children)},o}(y.Component),A=e("Gytx"),b=e.n(A),m=e("2mql"),d=e.n(m),r=function(){var u=function(c,h){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,w){f.__proto__=w}||function(f,w){for(var x in w)w.hasOwnProperty(x)&&(f[x]=w[x])},u(c,h)};return function(o,c){u(o,c);function h(){this.constructor=o}o.prototype=c===null?Object.create(c):(h.prototype=c.prototype,new h)}}(),a=function(){return a=Object.assign||function(u){for(var o,c=1,h=arguments.length;c<h;c++){o=arguments[c];for(var f in o)Object.prototype.hasOwnProperty.call(o,f)&&(u[f]=o[f])}return u},a.apply(this,arguments)};function s(u){return u.displayName||u.name||"Component"}var i=function(){return{}};function n(u,o){o===void 0&&(o={});var c=!!u,h=u||i;return function(w){var x=function(C){r(N,C);function N(S,E){var T=C.call(this,S,E)||this;return T.unsubscribe=null,T.handleChange=function(){if(!T.unsubscribe)return;var D=h(T.store.getState(),T.props);T.setState({subscribed:D})},T.store=T.context,T.state={subscribed:h(T.store.getState(),S),store:T.store,props:S},T}return N.getDerivedStateFromProps=function(S,E){return u&&u.length===2&&S!==E.props?{subscribed:h(E.store.getState(),S),props:S}:{props:S}},N.prototype.componentDidMount=function(){this.trySubscribe()},N.prototype.componentWillUnmount=function(){this.tryUnsubscribe()},N.prototype.shouldComponentUpdate=function(S,E){return!b()(this.props,S)||!b()(this.state.subscribed,E.subscribed)},N.prototype.trySubscribe=function(){c&&(this.unsubscribe=this.store.subscribe(this.handleChange),this.handleChange())},N.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},N.prototype.render=function(){var S=a(a(a({},this.props),this.state.subscribed),{store:this.store});return y.createElement(w,a({},S,{ref:this.props.miniStoreForwardedRef}))},N.displayName="Connect("+s(w)+")",N.contextType=g,N}(y.Component);if(o.forwardRef){var I=y.forwardRef(function(C,N){return y.createElement(x,a({},C,{miniStoreForwardedRef:N}))});return d()(I,w)}return d()(x,w)}}var l=function(){return l=Object.assign||function(u){for(var o,c=1,h=arguments.length;c<h;c++){o=arguments[c];for(var f in o)Object.prototype.hasOwnProperty.call(o,f)&&(u[f]=o[f])}return u},l.apply(this,arguments)};function t(u){var o=u,c=[];function h(x){o=l(l({},o),x);for(var I=0;I<c.length;I++)c[I]()}function f(){return o}function w(x){return c.push(x),function(){var C=c.indexOf(x);c.splice(C,1)}}return{setState:h,getState:f,subscribe:w}}},"I9Y+":function(te,U,e){"use strict";var y=e("284h"),L=e("TqRt");Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var g=L(e("3tO9")),v=y(e("q1tI")),A=L(e("4xFK")),b=L(e("KQxl")),m=function(a,s){return v.createElement(b.default,(0,g.default)((0,g.default)({},a),{},{ref:s,icon:A.default}))};m.displayName="DoubleRightOutlined";var d=v.forwardRef(m);U.default=d},ICMv:function(te,U,e){var y=e("bYtY"),L={getMin:function(g){var v=this.option,A=!g&&v.rangeStart!=null?v.rangeStart:v.min;return this.axis&&A!=null&&A!=="dataMin"&&typeof A!="function"&&!y.eqNaN(A)&&(A=this.axis.scale.parse(A)),A},getMax:function(g){var v=this.option,A=!g&&v.rangeEnd!=null?v.rangeEnd:v.max;return this.axis&&A!=null&&A!=="dataMax"&&typeof A!="function"&&!y.eqNaN(A)&&(A=this.axis.scale.parse(A)),A},getNeedCrossZero:function(){var g=this.option;return g.rangeStart!=null||g.rangeEnd!=null?!1:!g.scale},getCoordSysModel:y.noop,setRange:function(g,v){this.option.rangeStart=g,this.option.rangeEnd=v},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};te.exports=L},IDmD:function(te,U,e){var y=e("bYtY"),L={};function g(){this._coordinateSystems=[]}g.prototype={constructor:g,create:function(A,b){var m=[];y.each(L,function(d,r){var a=d.create(A,b);m=m.concat(a||[])}),this._coordinateSystems=m},update:function(A,b){y.each(this._coordinateSystems,function(m){m.update&&m.update(A,b)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},g.register=function(A,b){L[A]=b},g.get=function(A){return L[A]};var v=g;te.exports=v},IMiH:function(te,U,e){var y=e("Sj9i"),L=e("QBsz"),g=e("4mN7"),v=e("mFDi"),A=e("LPTA"),b=A.devicePixelRatio,m={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},d=[],r=[],a=[],s=[],i=Math.min,n=Math.max,l=Math.cos,t=Math.sin,u=Math.sqrt,o=Math.abs,c=typeof Float32Array!="undefined",h=function(x){this._saveData=!(x||!1),this._saveData&&(this.data=[]),this._ctx=null};h.prototype={constructor:h,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(x,I,C){C=C||0,this._ux=o(C/b/x)||0,this._uy=o(C/b/I)||0},getContext:function(){return this._ctx},beginPath:function(x){return this._ctx=x,x&&x.beginPath(),x&&(this.dpr=x.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(x,I){return this.addData(m.M,x,I),this._ctx&&this._ctx.moveTo(x,I),this._x0=x,this._y0=I,this._xi=x,this._yi=I,this},lineTo:function(x,I){var C=o(x-this._xi)>this._ux||o(I-this._yi)>this._uy||this._len<5;return this.addData(m.L,x,I),this._ctx&&C&&(this._needsDash()?this._dashedLineTo(x,I):this._ctx.lineTo(x,I)),C&&(this._xi=x,this._yi=I),this},bezierCurveTo:function(x,I,C,N,S,E){return this.addData(m.C,x,I,C,N,S,E),this._ctx&&(this._needsDash()?this._dashedBezierTo(x,I,C,N,S,E):this._ctx.bezierCurveTo(x,I,C,N,S,E)),this._xi=S,this._yi=E,this},quadraticCurveTo:function(x,I,C,N){return this.addData(m.Q,x,I,C,N),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(x,I,C,N):this._ctx.quadraticCurveTo(x,I,C,N)),this._xi=C,this._yi=N,this},arc:function(x,I,C,N,S,E){return this.addData(m.A,x,I,C,C,N,S-N,0,E?0:1),this._ctx&&this._ctx.arc(x,I,C,N,S,E),this._xi=l(S)*C+x,this._yi=t(S)*C+I,this},arcTo:function(x,I,C,N,S){return this._ctx&&this._ctx.arcTo(x,I,C,N,S),this},rect:function(x,I,C,N){return this._ctx&&this._ctx.rect(x,I,C,N),this.addData(m.R,x,I,C,N),this},closePath:function(){this.addData(m.Z);var x=this._ctx,I=this._x0,C=this._y0;return x&&(this._needsDash()&&this._dashedLineTo(I,C),x.closePath()),this._xi=I,this._yi=C,this},fill:function(x){x&&x.fill(),this.toStatic()},stroke:function(x){x&&x.stroke(),this.toStatic()},setLineDash:function(x){if(x instanceof Array){this._lineDash=x,this._dashIdx=0;for(var I=0,C=0;C<x.length;C++)I+=x[C];this._dashSum=I}return this},setLineDashOffset:function(x){return this._dashOffset=x,this},len:function(){return this._len},setData:function(x){var I=x.length;!(this.data&&this.data.length===I)&&c&&(this.data=new Float32Array(I));for(var C=0;C<I;C++)this.data[C]=x[C];this._len=I},appendPath:function(x){x instanceof Array||(x=[x]);for(var I=x.length,C=0,N=this._len,S=0;S<I;S++)C+=x[S].len();c&&this.data instanceof Float32Array&&(this.data=new Float32Array(N+C));for(var S=0;S<I;S++)for(var E=x[S].data,T=0;T<E.length;T++)this.data[N++]=E[T];this._len=N},addData:function(x){if(!this._saveData)return;var I=this.data;this._len+arguments.length>I.length&&(this._expandData(),I=this.data);for(var C=0;C<arguments.length;C++)I[this._len++]=arguments[C];this._prevCmd=x},_expandData:function(){if(!(this.data instanceof Array)){for(var x=[],I=0;I<this._len;I++)x[I]=this.data[I];this.data=x}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(x,I){var C=this._dashSum,N=this._dashOffset,S=this._lineDash,E=this._ctx,T=this._xi,D=this._yi,B=x-T,R=I-D,F=u(B*B+R*R),M=T,K=D,j,H=S.length,k;for(B/=F,R/=F,N<0&&(N=C+N),N%=C,M-=N*B,K-=N*R;B>0&&M<=x||B<0&&M>=x||B===0&&(R>0&&K<=I||R<0&&K>=I);){if(k=this._dashIdx,j=S[k],M+=B*j,K+=R*j,this._dashIdx=(k+1)%H,B>0&&M<T||B<0&&M>T||R>0&&K<D||R<0&&K>D)continue;E[k%2?"moveTo":"lineTo"](B>=0?i(M,x):n(M,x),R>=0?i(K,I):n(K,I))}B=M-x,R=K-I,this._dashOffset=-u(B*B+R*R)},_dashedBezierTo:function(x,I,C,N,S,E){var T=this._dashSum,D=this._dashOffset,B=this._lineDash,R=this._ctx,F=this._xi,M=this._yi,K,j,H,k=y.cubicAt,P=0,z=this._dashIdx,Y=B.length,_,G,J=0;for(D<0&&(D=T+D),D%=T,K=0;K<1;K+=.1)j=k(F,x,C,S,K+.1)-k(F,x,C,S,K),H=k(M,I,N,E,K+.1)-k(M,I,N,E,K),P+=u(j*j+H*H);for(;z<Y&&!(J+=B[z],J>D);z++);for(K=(J-D)/P;K<=1;)_=k(F,x,C,S,K),G=k(M,I,N,E,K),z%2?R.moveTo(_,G):R.lineTo(_,G),K+=B[z]/P,z=(z+1)%Y;z%2!==0&&R.lineTo(S,E),j=S-_,H=E-G,this._dashOffset=-u(j*j+H*H)},_dashedQuadraticTo:function(x,I,C,N){var S=C,E=N;C=(C+2*x)/3,N=(N+2*I)/3,x=(this._xi+2*x)/3,I=(this._yi+2*I)/3,this._dashedBezierTo(x,I,C,N,S,E)},toStatic:function(){var x=this.data;x instanceof Array&&(x.length=this._len,c&&(this.data=new Float32Array(x)))},getBoundingRect:function(){d[0]=d[1]=a[0]=a[1]=Number.MAX_VALUE,r[0]=r[1]=s[0]=s[1]=-Number.MAX_VALUE;for(var x=this.data,I=0,C=0,N=0,S=0,E=0;E<x.length;){var T=x[E++];E===1&&(I=x[E],C=x[E+1],N=I,S=C);switch(T){case m.M:N=x[E++],S=x[E++],I=N,C=S,a[0]=N,a[1]=S,s[0]=N,s[1]=S;break;case m.L:g.fromLine(I,C,x[E],x[E+1],a,s),I=x[E++],C=x[E++];break;case m.C:g.fromCubic(I,C,x[E++],x[E++],x[E++],x[E++],x[E],x[E+1],a,s),I=x[E++],C=x[E++];break;case m.Q:g.fromQuadratic(I,C,x[E++],x[E++],x[E],x[E+1],a,s),I=x[E++],C=x[E++];break;case m.A:var D=x[E++],B=x[E++],R=x[E++],F=x[E++],M=x[E++],K=x[E++]+M;E+=1;var j=1-x[E++];E===1&&(N=l(M)*R+D,S=t(M)*F+B),g.fromArc(D,B,R,F,M,K,j,a,s),I=l(K)*R+D,C=t(K)*F+B;break;case m.R:N=I=x[E++],S=C=x[E++];var H=x[E++],k=x[E++];g.fromLine(N,S,N+H,S+k,a,s);break;case m.Z:I=N,C=S;break}L.min(d,d,a),L.max(r,r,s)}return E===0&&(d[0]=d[1]=r[0]=r[1]=0),new v(d[0],d[1],r[0]-d[0],r[1]-d[1])},rebuildPath:function(x){for(var I=this.data,C,N,S,E,T,D,B=this._ux,R=this._uy,F=this._len,M=0;M<F;){var K=I[M++];M===1&&(S=I[M],E=I[M+1],C=S,N=E);switch(K){case m.M:C=S=I[M++],N=E=I[M++],x.moveTo(S,E);break;case m.L:T=I[M++],D=I[M++],(o(T-S)>B||o(D-E)>R||M===F-1)&&(x.lineTo(T,D),S=T,E=D);break;case m.C:x.bezierCurveTo(I[M++],I[M++],I[M++],I[M++],I[M++],I[M++]),S=I[M-2],E=I[M-1];break;case m.Q:x.quadraticCurveTo(I[M++],I[M++],I[M++],I[M++]),S=I[M-2],E=I[M-1];break;case m.A:var j=I[M++],H=I[M++],k=I[M++],P=I[M++],z=I[M++],Y=I[M++],_=I[M++],G=I[M++],J=k>P?k:P,ue=k>P?1:k/P,q=k>P?P/k:1,re=Math.abs(k-P)>.001,me=z+Y;re?(x.translate(j,H),x.rotate(_),x.scale(ue,q),x.arc(0,0,J,z,me,1-G),x.scale(1/ue,1/q),x.rotate(-_),x.translate(-j,-H)):x.arc(j,H,J,z,me,1-G),M===1&&(C=l(z)*k+j,N=t(z)*P+H),S=l(me)*k+j,E=t(me)*P+H;break;case m.R:C=S=I[M],N=E=I[M+1],x.rect(I[M++],I[M++],I[M++],I[M++]);break;case m.Z:x.closePath(),S=C,E=N}}}},h.CMD=m;var f=h;te.exports=f},IUWy:function(te,U){var e={};function y(g,v){e[g]=v}function L(g){return e[g]}U.register=y,U.get=L},IWNH:function(te,U,e){var y=e("T4UG"),L=e("Bsck"),g=e("7aKB"),v=g.encodeHTML,A=e("Qxkt"),b=y.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(m){var d={name:m.name,children:m.data},r=m.leaves||{},a=new A(r,this,this.ecModel),s=L.createTree(d,this,{},i);function i(u){u.wrapMethod("getItemModel",function(o,c){var h=s.getNodeByDataIndex(c);return(!h.children.length||!h.isExpand)&&(o.parentModel=a),o})}var n=0;s.eachNode("preorder",function(u){u.depth>n&&(n=u.depth)});var l=m.expandAndCollapse,t=l&&m.initialTreeDepth>=0?m.initialTreeDepth:n;return s.root.eachNode("preorder",function(u){var o=u.hostTree.data.getRawDataItem(u.dataIndex);u.isExpand=o&&o.collapsed!=null?!o.collapsed:u.depth<=t}),s.data},getOrient:function(){var m=this.get("orient");return m==="horizontal"?m="LR":m==="vertical"&&(m="TB"),m},setZoom:function(m){this.option.zoom=m},setCenter:function(m){this.option.center=m},formatTooltip:function(m){for(var d=this.getData().tree,r=d.root.children[0],a=d.getNodeByDataIndex(m),s=a.getValue(),i=a.name;a&&a!==r;)i=a.parentNode.name+"."+i,a=a.parentNode;return v(i+(isNaN(s)||s==null?"":" : "+s))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});te.exports=b},IWp7:function(te,U,e){var y=e("bYtY"),L=e("OELB"),g=e("7aKB"),v=e("lE7J"),A=e("ieMj"),b=A.prototype,m=Math.ceil,d=Math.floor,r=1e3,a=r*60,s=a*60,i=s*24,n=function(o,c,h,f){for(;h<f;){var w=h+f>>>1;o[w][1]<c?h=w+1:f=w}return h},l=A.extend({type:"time",getLabel:function(o){var c=this._stepLvl,h=new Date(o);return g.formatTime(c[0],h,this.getSetting("useUTC"))},niceExtent:function(o){var c=this._extent;if(c[0]===c[1]&&(c[0]-=i,c[1]+=i),c[1]===-Infinity&&c[0]===Infinity){var h=new Date;c[1]=+new Date(h.getFullYear(),h.getMonth(),h.getDate()),c[0]=c[1]-i}this.niceTicks(o.splitNumber,o.minInterval,o.maxInterval);var f=this._interval;o.fixMin||(c[0]=L.round(d(c[0]/f)*f)),o.fixMax||(c[1]=L.round(m(c[1]/f)*f))},niceTicks:function(o,c,h){o=o||10;var f=this._extent,w=f[1]-f[0],x=w/o;c!=null&&x<c&&(x=c),h!=null&&x>h&&(x=h);var I=t.length,C=n(t,x,0,I),N=t[Math.min(C,I-1)],S=N[1];if(N[0]==="year"){var E=w/S,T=L.nice(E/o,!0);S*=T}var D=this.getSetting("useUTC")?0:new Date(+f[0]||+f[1]).getTimezoneOffset()*60*1e3,B=[Math.round(m((f[0]-D)/S)*S+D),Math.round(d((f[1]-D)/S)*S+D)];v.fixExtent(B,f),this._stepLvl=N,this._interval=S,this._niceExtent=B},parse:function(o){return+L.parseDate(o)}});y.each(["contain","normalize"],function(o){l.prototype[o]=function(c){return b[o].call(this,this.parse(c))}});var t=[["hh:mm:ss",r],["hh:mm:ss",r*5],["hh:mm:ss",r*10],["hh:mm:ss",r*15],["hh:mm:ss",r*30],[`hh:mm
|
|
|
MM-dd`,a],[`hh:mm
|
|
|
MM-dd`,a*5],[`hh:mm
|
|
|
MM-dd`,a*10],[`hh:mm
|
|
|
MM-dd`,a*15],[`hh:mm
|
|
|
MM-dd`,a*30],[`hh:mm
|
|
|
MM-dd`,s],[`hh:mm
|
|
|
MM-dd`,s*2],[`hh:mm
|
|
|
MM-dd`,s*6],[`hh:mm
|
|
|
MM-dd`,s*12],[`MM-dd
|
|
|
yyyy`,i],[`MM-dd
|
|
|
yyyy`,i*2],[`MM-dd
|
|
|
yyyy`,i*3],[`MM-dd
|
|
|
yyyy`,i*4],[`MM-dd
|
|
|
yyyy`,i*5],[`MM-dd
|
|
|
yyyy`,i*6],["week",i*7],[`MM-dd
|
|
|
yyyy`,i*10],["week",i*14],["week",i*21],["month",i*31],["week",i*42],["month",i*62],["week",i*70],["quarter",i*95],["month",i*31*4],["month",i*31*5],["half-year",i*380/2],["month",i*31*8],["month",i*31*10],["year",i*380]];l.create=function(o){return new l({useUTC:o.ecModel.get("useUTC")})};var u=l;te.exports=u},IXuL:function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("MwEJ"),v=e("T4UG"),A=v.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(b,m){return g(this.getSource(),this,{useEncodeDefaulter:!0})},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:Infinity}});te.exports=A},IXyC:function(te,U,e){var y=e("bYtY"),L=e("bLfw");e("3zoK");var g=L.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(){L.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(v){var A=this.option;v&&y.merge(A,v,!0),this._initDimensions()},contains:function(v,A){var b=v.get("parallelIndex");return b!=null&&A.getComponent("parallel",b)===this},setAxisExpand:function(v){y.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(A){v.hasOwnProperty(A)&&(this.option[A]=v[A])},this)},_initDimensions:function(){var v=this.dimensions=[],A=this.parallelAxisIndex=[],b=y.filter(this.dependentModels.parallelAxis,function(m){return(m.get("parallelIndex")||0)===this.componentIndex},this);y.each(b,function(m){v.push("dim"+m.get("dim")),A.push(m.componentIndex)})}});te.exports=g},ItGF:function(te,U){var e={};typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?e={browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:typeof document=="undefined"&&typeof self!="undefined"?e={browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:typeof navigator=="undefined"?e={browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:e=L(navigator.userAgent);var y=e;function L(g){var v={},A={},b=g.match(/Firefox\/([\d.]+)/),m=g.match(/MSIE\s([\d.]+)/)||g.match(/Trident\/.+?rv:(([\d.]+))/),d=g.match(/Edge\/([\d.]+)/),r=/micromessenger/i.test(g);return b&&(A.firefox=!0,A.version=b[1]),m&&(A.ie=!0,A.version=m[1]),d&&(A.edge=!0,A.version=d[1]),r&&(A.weChat=!0),{browser:A,os:v,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:typeof SVGRect!="undefined",touchEventsSupported:"ontouchstart"in window&&!A.ie&&!A.edge,pointerEventsSupported:"onpointerdown"in window&&(A.edge||A.ie&&A.version>=11),domSupported:typeof document!="undefined"}}te.exports=y},Itpr:function(te,U,e){var y=e("+TT/");function L(t){t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var u=[t],o,c;o=u.pop();)if(c=o.children,o.isExpand&&c.length)for(var h=c.length,f=h-1;f>=0;f--){var w=c[f];w.hierNode={defaultAncestor:null,ancestor:w,prelim:0,modifier:0,change:0,shift:0,i:f,thread:null},u.push(w)}}function g(t,u){var o=t.isExpand?t.children:[],c=t.parentNode.children,h=t.hierNode.i?c[t.hierNode.i-1]:null;if(o.length){d(t);var f=(o[0].hierNode.prelim+o[o.length-1].hierNode.prelim)/2;h?(t.hierNode.prelim=h.hierNode.prelim+u(t,h),t.hierNode.modifier=t.hierNode.prelim-f):t.hierNode.prelim=f}else h&&(t.hierNode.prelim=h.hierNode.prelim+u(t,h));t.parentNode.hierNode.defaultAncestor=r(t,h,t.parentNode.hierNode.defaultAncestor||c[0],u)}function v(t){var u=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:u},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function A(t){return arguments.length?t:l}function b(t,u){var o={};return t-=Math.PI/2,o.x=u*Math.cos(t),o.y=u*Math.sin(t),o}function m(t,u){return y.getLayoutRect(t.getBoxLayoutParams(),{width:u.getWidth(),height:u.getHeight()})}function d(t){for(var u=t.children,o=u.length,c=0,h=0;--o>=0;){var f=u[o];f.hierNode.prelim+=c,f.hierNode.modifier+=c,h+=f.hierNode.change,c+=f.hierNode.shift+h}}function r(t,u,o,c){if(u){for(var h=t,f=t,w=f.parentNode.children[0],x=u,I=h.hierNode.modifier,C=f.hierNode.modifier,N=w.hierNode.modifier,S=x.hierNode.modifier;x=a(x),f=s(f),x&&f;){h=a(h),w=s(w),h.hierNode.ancestor=t;var E=x.hierNode.prelim+S-f.hierNode.prelim-C+c(x,f);E>0&&(n(i(x,t,o),t,E),C+=E,I+=E),S+=x.hierNode.modifier,C+=f.hierNode.modifier,I+=h.hierNode.modifier,N+=w.hierNode.modifier}x&&!a(h)&&(h.hierNode.thread=x,h.hierNode.modifier+=S-I),f&&!s(w)&&(w.hierNode.thread=f,w.hierNode.modifier+=C-N,o=t)}return o}function a(t){var u=t.children;return u.length&&t.isExpand?u[u.length-1]:t.hierNode.thread}function s(t){var u=t.children;return u.length&&t.isExpand?u[0]:t.hierNode.thread}function i(t,u,o){return t.hierNode.ancestor.parentNode===u.parentNode?t.hierNode.ancestor:o}function n(t,u,o){var c=o/(u.hierNode.i-t.hierNode.i);u.hierNode.change-=c,u.hierNode.shift+=o,u.hierNode.modifier+=o,u.hierNode.prelim+=o,t.hierNode.change+=c}function l(t,u){return t.parentNode===u.parentNode?1:2}U.init=L,U.firstWalk=g,U.secondWalk=v,U.separation=A,U.radialCoordinate=b,U.getViewRect=m},IwbS:function(te,U,e){var y=e("bYtY"),L=e("NC18"),g=e("Qe9p"),v=e("Fofx"),A=e("QBsz"),b=e("y+Vt"),m=e("DN4a"),d=e("Dagg");U.Image=d;var r=e("4fz+");U.Group=r;var a=e("dqUG");U.Text=a;var s=e("2fw6");U.Circle=s;var i=e("SqI9");U.Sector=i;var n=e("RXMa");U.Ring=n;var l=e("h7HQ");U.Polygon=l;var t=e("1Jh7");U.Polyline=t;var u=e("x6Kt");U.Rect=u;var o=e("yxFR");U.Line=o;var c=e("rA99");U.BezierCurve=c;var h=e("jTL6");U.Arc=h;var f=e("1MYJ");U.CompoundPath=f;var w=e("SKnc");U.LinearGradient=w;var x=e("3e3G");U.RadialGradient=x;var I=e("mFDi");U.BoundingRect=I;var C=e("OS9S");U.IncrementalDisplayable=C;var N=e("nPnh"),S=Math.max,E=Math.min,T={},D=1,B={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},R="emphasis",F="normal",M=1,K={},j={};function H(Ye){return b.extend(Ye)}function k(Ye,Pe){return L.extendFromString(Ye,Pe)}function P(Ye,Pe){j[Ye]=Pe}function z(Ye){if(j.hasOwnProperty(Ye))return j[Ye]}function Y(Ye,Pe,Jt,bn){var An=L.createFromString(Ye,Pe);return Jt&&(bn==="center"&&(Jt=G(Jt,An.getBoundingRect())),ue(An,Jt)),An}function _(Ye,Pe,Jt){var bn=new d({style:{image:Ye,x:Pe.x,y:Pe.y,width:Pe.width,height:Pe.height},onload:function(An){if(Jt==="center"){var dn={width:An.width,height:An.height};bn.setStyle(G(Pe,dn))}}});return bn}function G(Ye,Pe){var Jt=Pe.width/Pe.height,bn=Ye.height*Jt,An;bn<=Ye.width?An=Ye.height:(bn=Ye.width,An=bn/Jt);var dn=Ye.x+Ye.width/2,vr=Ye.y+Ye.height/2;return{x:dn-bn/2,y:vr-An/2,width:bn,height:An}}var J=L.mergePath;function ue(Ye,Pe){if(!Ye.applyTransform)return;var Jt=Ye.getBoundingRect(),bn=Jt.calculateTransform(Pe);Ye.applyTransform(bn)}function q(Ye){return N.subPixelOptimizeLine(Ye.shape,Ye.shape,Ye.style),Ye}function re(Ye){return N.subPixelOptimizeRect(Ye.shape,Ye.shape,Ye.style),Ye}var me=N.subPixelOptimize;function be(Ye){return Ye!=null&&Ye!=="none"}var ke=y.createHashMap(),ce=0;function Ee(Ye){if(typeof Ye!="string")return Ye;var Pe=ke.get(Ye);return Pe||(Pe=g.lift(Ye,-.1),ce<1e4&&(ke.set(Ye,Pe),ce++)),Pe}function pe(Ye){if(!Ye.__hoverStlDirty)return;Ye.__hoverStlDirty=!1;var Pe=Ye.__hoverStl;if(!Pe){Ye.__cachedNormalStl=Ye.__cachedNormalZ2=null;return}var Jt=Ye.__cachedNormalStl={};Ye.__cachedNormalZ2=Ye.z2;var bn=Ye.style;for(var An in Pe)Pe[An]!=null&&(Jt[An]=bn[An]);Jt.fill=bn.fill,Jt.stroke=bn.stroke}function Se(Ye){var Pe=Ye.__hoverStl;if(!Pe||Ye.__highlighted)return;var Jt=Ye.__zr,bn=Ye.useHoverLayer&&Jt&&Jt.painter.type==="canvas";if(Ye.__highlighted=bn?"layer":"plain",Ye.isGroup||!Jt&&Ye.useHoverLayer)return;var An=Ye,dn=Ye.style;bn&&(An=Jt.addHover(Ye),dn=An.style),on(dn),bn||pe(An),dn.extendFrom(Pe),st(dn,Pe,"fill"),st(dn,Pe,"stroke"),an(dn),bn||(Ye.dirty(!1),Ye.z2+=D)}function st(Ye,Pe,Jt){!be(Pe[Jt])&&be(Ye[Jt])&&(Ye[Jt]=Ee(Ye[Jt]))}function qe(Ye){var Pe=Ye.__highlighted;if(!Pe)return;if(Ye.__highlighted=!1,Ye.isGroup)return;if(Pe==="layer")Ye.__zr&&Ye.__zr.removeHover(Ye);else{var Jt=Ye.style,bn=Ye.__cachedNormalStl;bn&&(on(Jt),Ye.setStyle(bn),an(Jt));var An=Ye.__cachedNormalZ2;An!=null&&Ye.z2-An===D&&(Ye.z2=An)}}function tt(Ye,Pe,Jt){var bn=F,An=F,dn;Ye.__highlighted&&(bn=R,dn=!0),Pe(Ye,Jt),Ye.__highlighted&&(An=R,dn=!0),Ye.isGroup&&Ye.traverse(function(vr){!vr.isGroup&&Pe(vr,Jt)}),dn&&Ye.__highDownOnUpdate&&Ye.__highDownOnUpdate(bn,An)}function Dt(Ye,Pe){Pe=Ye.__hoverStl=Pe!==!1&&(Ye.hoverStyle||Pe||{}),Ye.__hoverStlDirty=!0,Ye.__highlighted&&(Ye.__cachedNormalStl=null,qe(Ye),Se(Ye))}function ct(Ye){!je(this,Ye)&&!this.__highByOuter&&tt(this,Se)}function St(Ye){!je(this,Ye)&&!this.__highByOuter&&tt(this,qe)}function rt(Ye){this.__highByOuter|=1<<(Ye||0),tt(this,Se)}function ht(Ye){!(this.__highByOuter&=~(1<<(Ye||0)))&&tt(this,qe)}function je(Ye,Pe){return Ye.__highDownSilentOnTouch&&Pe.zrByTouch}function Me(Ye,Pe){Ne(Ye,!0),tt(Ye,Dt,Pe)}function Ne(Ye,Pe){var Jt=Pe===!1;if(Ye.__highDownSilentOnTouch=Ye.highDownSilentOnTouch,Ye.__highDownOnUpdate=Ye.highDownOnUpdate,!Jt||Ye.__highDownDispatcher){var bn=Jt?"off":"on";Ye[bn]("mouseover",ct)[bn]("mouseout",St),Ye[bn]("emphasis",rt)[bn]("normal",ht),Ye.__highByOuter=Ye.__highByOuter||0,Ye.__highDownDispatcher=!Jt}}function it(Ye){return!!(Ye&&Ye.__highDownDispatcher)}function wt(Ye){var Pe=K[Ye];return Pe==null&&M<=32&&(Pe=K[Ye]=M++),Pe}function jt(Ye,Pe,Jt,bn,An,dn,vr){An=An||T;var qn=An.labelFetcher,Ur=An.labelDataIndex,Ue=An.labelDimIndex,He=An.labelProp,se=Jt.getShallow("show"),Ae=bn.getShallow("show"),Oe;(se||Ae)&&(qn&&(Oe=qn.getFormattedLabel(Ur,"normal",null,Ue,He)),Oe==null&&(Oe=y.isFunction(An.defaultText)?An.defaultText(Ur,An):An.defaultText));var ze=se?Oe:null,Rt=Ae?y.retrieve2(qn?qn.getFormattedLabel(Ur,"emphasis",null,Ue,He):null,Oe):null;(ze!=null||Rt!=null)&&(Te(Ye,Jt,dn,An),Te(Pe,bn,vr,An,!0)),Ye.text=ze,Pe.text=Rt}function lt(Ye,Pe,Jt){var bn=Ye.style;Pe&&(on(bn),Ye.setStyle(Pe),an(bn)),bn=Ye.__hoverStl,Jt&&bn&&(on(bn),y.extend(bn,Jt),an(bn))}function Te(Ye,Pe,Jt,bn,An){return tn(Ye,Pe,bn,An),Jt&&y.extend(Ye,Jt),Ye}function mt(Ye,Pe,Jt){var bn={isRectText:!0},An;Jt===!1?An=!0:bn.autoColor=Jt,tn(Ye,Pe,bn,An)}function tn(Ye,Pe,Jt,bn){if(Jt=Jt||T,Jt.isRectText){var An;Jt.getTextPosition?An=Jt.getTextPosition(Pe,bn):(An=Pe.getShallow("position")||(bn?null:"inside"),An==="outside"&&(An="top")),Ye.textPosition=An,Ye.textOffset=Pe.getShallow("offset");var dn=Pe.getShallow("rotate");dn!=null&&(dn*=Math.PI/180),Ye.textRotation=dn,Ye.textDistance=y.retrieve2(Pe.getShallow("distance"),bn?null:5)}var vr=Pe.ecModel,qn=vr&&vr.option.textStyle,Ur=Vt(Pe),Ue;if(Ur){Ue={};for(var He in Ur)if(Ur.hasOwnProperty(He)){var se=Pe.getModel(["rich",He]);Yt(Ue[He]={},se,qn,Jt,bn)}}return Ye.rich=Ue,Yt(Ye,Pe,qn,Jt,bn,!0),Jt.forceRich&&!Jt.textStyle&&(Jt.textStyle={}),Ye}function Vt(Ye){for(var Pe;Ye&&Ye!==Ye.ecModel;){var Jt=(Ye.option||T).rich;if(Jt){Pe=Pe||{};for(var bn in Jt)Jt.hasOwnProperty(bn)&&(Pe[bn]=1)}Ye=Ye.parentModel}return Pe}function Yt(Ye,Pe,Jt,bn,An,dn){Jt=!An&&Jt||T,Ye.textFill=Qt(Pe.getShallow("color"),bn)||Jt.color,Ye.textStroke=Qt(Pe.getShallow("textBorderColor"),bn)||Jt.textBorderColor,Ye.textStrokeWidth=y.retrieve2(Pe.getShallow("textBorderWidth"),Jt.textBorderWidth),An||(dn&&(Ye.insideRollbackOpt=bn,an(Ye)),Ye.textFill==null&&(Ye.textFill=bn.autoColor)),Ye.fontStyle=Pe.getShallow("fontStyle")||Jt.fontStyle,Ye.fontWeight=Pe.getShallow("fontWeight")||Jt.fontWeight,Ye.fontSize=Pe.getShallow("fontSize")||Jt.fontSize,Ye.fontFamily=Pe.getShallow("fontFamily")||Jt.fontFamily,Ye.textAlign=Pe.getShallow("align"),Ye.textVerticalAlign=Pe.getShallow("verticalAlign")||Pe.getShallow("baseline"),Ye.textLineHeight=Pe.getShallow("lineHeight"),Ye.textWidth=Pe.getShallow("width"),Ye.textHeight=Pe.getShallow("height"),Ye.textTag=Pe.getShallow("tag"),(!dn||!bn.disableBox)&&(Ye.textBackgroundColor=Qt(Pe.getShallow("backgroundColor"),bn),Ye.textPadding=Pe.getShallow("padding"),Ye.textBorderColor=Qt(Pe.getShallow("borderColor"),bn),Ye.textBorderWidth=Pe.getShallow("borderWidth"),Ye.textBorderRadius=Pe.getShallow("borderRadius"),Ye.textBoxShadowColor=Pe.getShallow("shadowColor"),Ye.textBoxShadowBlur=Pe.getShallow("shadowBlur"),Ye.textBoxShadowOffsetX=Pe.getShallow("shadowOffsetX"),Ye.textBoxShadowOffsetY=Pe.getShallow("shadowOffsetY")),Ye.textShadowColor=Pe.getShallow("textShadowColor")||Jt.textShadowColor,Ye.textShadowBlur=Pe.getShallow("textShadowBlur")||Jt.textShadowBlur,Ye.textShadowOffsetX=Pe.getShallow("textShadowOffsetX")||Jt.textShadowOffsetX,Ye.textShadowOffsetY=Pe.getShallow("textShadowOffsetY")||Jt.textShadowOffsetY}function Qt(Ye,Pe){return Ye!=="auto"?Ye:Pe&&Pe.autoColor?Pe.autoColor:null}function an(Ye){var Pe=Ye.textPosition,Jt=Ye.insideRollbackOpt,bn;if(Jt&&Ye.textFill==null){var An=Jt.autoColor,dn=Jt.isRectText,vr=Jt.useInsideStyle,qn=vr!==!1&&(vr===!0||dn&&Pe&&typeof Pe=="string"&&Pe.indexOf("inside")>=0),Ur=!qn&&An!=null;(qn||Ur)&&(bn={textFill:Ye.textFill,textStroke:Ye.textStroke,textStrokeWidth:Ye.textStrokeWidth}),qn&&(Ye.textFill="#fff",Ye.textStroke==null&&(Ye.textStroke=An,Ye.textStrokeWidth==null&&(Ye.textStrokeWidth=2))),Ur&&(Ye.textFill=An)}Ye.insideRollback=bn}function on(Ye){var Pe=Ye.insideRollback;Pe&&(Ye.textFill=Pe.textFill,Ye.textStroke=Pe.textStroke,Ye.textStrokeWidth=Pe.textStrokeWidth,Ye.insideRollback=null)}function vt(Ye,Pe){var Jt=Pe&&Pe.getModel("textStyle");return y.trim([Ye.fontStyle||Jt&&Jt.getShallow("fontStyle")||"",Ye.fontWeight||Jt&&Jt.getShallow("fontWeight")||"",(Ye.fontSize||Jt&&Jt.getShallow("fontSize")||12)+"px",Ye.fontFamily||Jt&&Jt.getShallow("fontFamily")||"sans-serif"].join(" "))}function de(Ye,Pe,Jt,bn,An,dn){typeof An=="function"&&(dn=An,An=null);var vr=bn&&bn.isAnimationEnabled();if(vr){var qn=Ye?"Update":"",Ur=bn.getShallow("animationDuration"+qn),Ue=bn.getShallow("animationEasing"+qn),He=bn.getShallow("animationDelay"+qn);typeof He=="function"&&(He=He(An,bn.getAnimationDelayParams?bn.getAnimationDelayParams(Pe,An):null)),typeof Ur=="function"&&(Ur=Ur(An)),Ur>0?Pe.animateTo(Jt,Ur,He||0,Ue,dn,!!dn):(Pe.stopAnimation(),Pe.attr(Jt),dn&&dn())}else Pe.stopAnimation(),Pe.attr(Jt),dn&&dn()}function he(Ye,Pe,Jt,bn,An){de(!0,Ye,Pe,Jt,bn,An)}function Pt(Ye,Pe,Jt,bn,An){de(!1,Ye,Pe,Jt,bn,An)}function We(Ye,Pe){for(var Jt=v.identity([]);Ye&&Ye!==Pe;)v.mul(Jt,Ye.getLocalTransform(),Jt),Ye=Ye.parent;return Jt}function Je(Ye,Pe,Jt){return Pe&&!y.isArrayLike(Pe)&&(Pe=m.getLocalTransform(Pe)),Jt&&(Pe=v.invert([],Pe)),A.applyTransform([],Ye,Pe)}function Ln(Ye,Pe,Jt){var bn=Pe[4]===0||Pe[5]===0||Pe[0]===0?1:Math.abs(2*Pe[4]/Pe[0]),An=Pe[4]===0||Pe[5]===0||Pe[2]===0?1:Math.abs(2*Pe[4]/Pe[2]),dn=[Ye==="left"?-bn:Ye==="right"?bn:0,Ye==="top"?-An:Ye==="bottom"?An:0];return dn=Je(dn,Pe,Jt),Math.abs(dn[0])>Math.abs(dn[1])?dn[0]>0?"right":"left":dn[1]>0?"bottom":"top"}function jn(Ye,Pe,Jt,bn){if(!Ye||!Pe)return;function An(qn){var Ur={};return qn.traverse(function(Ue){!Ue.isGroup&&Ue.anid&&(Ur[Ue.anid]=Ue)}),Ur}function dn(qn){var Ur={position:A.clone(qn.position),rotation:qn.rotation};return qn.shape&&(Ur.shape=y.extend({},qn.shape)),Ur}var vr=An(Ye);Pe.traverse(function(qn){if(!qn.isGroup&&qn.anid){var Ur=vr[qn.anid];if(Ur){var Ue=dn(qn);qn.attr(dn(Ur)),he(qn,Ue,Jt,qn.dataIndex)}}})}function Sn(Ye,Pe){return y.map(Ye,function(Jt){var bn=Jt[0];bn=S(bn,Pe.x),bn=E(bn,Pe.x+Pe.width);var An=Jt[1];return An=S(An,Pe.y),An=E(An,Pe.y+Pe.height),[bn,An]})}function Xn(Ye,Pe){var Jt=S(Ye.x,Pe.x),bn=E(Ye.x+Ye.width,Pe.x+Pe.width),An=S(Ye.y,Pe.y),dn=E(Ye.y+Ye.height,Pe.y+Pe.height);if(bn>=Jt&&dn>=An)return{x:Jt,y:An,width:bn-Jt,height:dn-An}}function rr(Ye,Pe,Jt){Pe=y.extend({rectHover:!0},Pe);var bn=Pe.style={strokeNoScale:!0};if(Jt=Jt||{x:-1,y:-1,width:2,height:2},Ye)return Ye.indexOf("image://")===0?(bn.image=Ye.slice(8),y.defaults(bn,Jt),new d(Pe)):Y(Ye.replace("path://",""),Pe,Jt,"center")}function hr(Ye,Pe,Jt,bn,An){for(var dn=0,vr=An[An.length-1];dn<An.length;dn++){var qn=An[dn];if(gn(Ye,Pe,Jt,bn,qn[0],qn[1],vr[0],vr[1]))return!0;vr=qn}}function gn(Ye,Pe,Jt,bn,An,dn,vr,qn){var Ur=Jt-Ye,Ue=bn-Pe,He=vr-An,se=qn-dn,Ae=vn(He,se,Ur,Ue);if(Ft(Ae))return!1;var Oe=Ye-An,ze=Pe-dn,Rt=vn(Oe,ze,Ur,Ue)/Ae;if(Rt<0||Rt>1)return!1;var Et=vn(Oe,ze,He,se)/Ae;return!(Et<0||Et>1)}function vn(Ye,Pe,Jt,bn){return Ye*bn-Jt*Pe}function Ft(Ye){return Ye<=1e-6&&Ye>=-1e-6}P("circle",s),P("sector",i),P("ring",n),P("polygon",l),P("polyline",t),P("rect",u),P("line",o),P("bezierCurve",c),P("arc",h),U.Z2_EMPHASIS_LIFT=D,U.CACHED_LABEL_STYLE_PROPERTIES=B,U.extendShape=H,U.extendPath=k,U.registerShape=P,U.getShapeClass=z,U.makePath=Y,U.makeImage=_,U.mergePath=J,U.resizePath=ue,U.subPixelOptimizeLine=q,U.subPixelOptimizeRect=re,U.subPixelOptimize=me,U.setElementHoverStyle=Dt,U.setHoverStyle=Me,U.setAsHighDownDispatcher=Ne,U.isHighDownDispatcher=it,U.getHighlightDigit=wt,U.setLabelStyle=jt,U.modifyLabelStyle=lt,U.setTextStyle=Te,U.setText=mt,U.getFont=vt,U.updateProps=he,U.initProps=Pt,U.getTransform=We,U.applyTransform=Je,U.transformDirection=Ln,U.groupTransition=jn,U.clipPointsByRect=Sn,U.clipRectByRect=Xn,U.createIcon=rr,U.linePolygonIntersect=hr,U.lineLineIntersect=gn},IyUQ:function(te,U,e){var y=e("bYtY"),L=e("YH21"),g=e("IwbS"),v=e("iLNv"),A=e("fc+c"),b=e("OELB"),m=e("+TT/"),d=e("72pK"),r=g.Rect,a=b.linearMap,s=b.asc,i=y.bind,n=y.each,l=7,t=1,u=30,o="horizontal",c="vertical",h=5,f=["line","bar","candlestick","scatter"],w=A.extend({type:"dataZoom.slider",init:function(N,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(N,S,E,T){if(w.superApply(this,"render",arguments),v.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=N.get("orient"),this.dataZoomModel.get("show")===!1){this.group.removeAll();return}(!T||T.type!=="dataZoom"||T.from!==this.uid)&&this._buildView(),this._updateView()},remove:function(){w.superApply(this,"remove",arguments),v.clear(this,"_dispatchZoomAction")},dispose:function(){w.superApply(this,"dispose",arguments),v.clear(this,"_dispatchZoomAction")},_buildView:function(){var N=this.group;N.removeAll(),this._resetLocation(),this._resetInterval();var S=this._displayables.barGroup=new g.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),N.add(S),this._positionGroup()},_resetLocation:function(){var N=this.dataZoomModel,S=this.api,E=this._findCoordRect(),T={width:S.getWidth(),height:S.getHeight()},D=this._orient===o?{right:T.width-E.x-E.width,top:T.height-u-l,width:E.width,height:u}:{right:l,top:E.y,width:u,height:E.height},B=m.getLayoutParams(N.option);y.each(["right","top","width","height"],function(F){B[F]==="ph"&&(B[F]=D[F])});var R=m.getLayoutRect(B,T,N.padding);this._location={x:R.x,y:R.y},this._size=[R.width,R.height],this._orient===c&&this._size.reverse()},_positionGroup:function(){var N=this.group,S=this._location,E=this._orient,T=this.dataZoomModel.getFirstTargetAxisModel(),D=T&&T.get("inverse"),B=this._displayables.barGroup,R=(this._dataShadowInfo||{}).otherAxisInverse;B.attr(E===o&&!D?{scale:R?[1,1]:[1,-1]}:E===o&&D?{scale:R?[-1,1]:[-1,-1]}:E===c&&!D?{scale:R?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:R?[-1,-1]:[-1,1],rotation:Math.PI/2});var F=N.getBoundingRect([B]);N.attr("position",[S.x-F.x,S.y-F.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var N=this.dataZoomModel,S=this._size,E=this._displayables.barGroup;E.add(new r({silent:!0,shape:{x:0,y:0,width:S[0],height:S[1]},style:{fill:N.get("backgroundColor")},z2:-40})),E.add(new r({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 N=this._dataShadowInfo=this._prepareDataShadowInfo();if(!N)return;var S=this._size,E=N.series,T=E.getRawData(),D=E.getShadowDim?E.getShadowDim():N.otherDim;if(D==null)return;var B=T.getDataExtent(D),R=(B[1]-B[0])*.3;B=[B[0]-R,B[1]+R];var F=[0,S[1]],M=[0,S[0]],K=[[S[0],0],[0,0]],j=[],H=M[1]/(T.count()-1),k=0,P=Math.round(T.count()/S[0]),z;T.each([D],function(_,G){if(P>0&&G%P){k+=H;return}var J=_==null||isNaN(_)||_==="",ue=J?0:a(_,B,F,!0);J&&!z&&G?(K.push([K[K.length-1][0],0]),j.push([j[j.length-1][0],0])):!J&&z&&(K.push([k,0]),j.push([k,0])),K.push([k,ue]),j.push([k,ue]),k+=H,z=J});var Y=this.dataZoomModel;this._displayables.barGroup.add(new g.Polygon({shape:{points:K},style:y.defaults({fill:Y.get("dataBackgroundColor")},Y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new g.Polyline({shape:{points:j},style:Y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))},_prepareDataShadowInfo:function(){var N=this.dataZoomModel,S=N.get("showDataShadow");if(S===!1)return;var E,T=this.ecModel;return N.eachTargetAxis(function(D,B){var R=N.getAxisProxy(D.name,B).getTargetSeriesModels();y.each(R,function(F){if(E)return;if(S!==!0&&y.indexOf(f,F.get("type"))<0)return;var M=T.getComponent(D.axis,B).axis,K=x(D.name),j,H=F.coordinateSystem;K!=null&&H.getOtherAxis&&(j=H.getOtherAxis(M).inverse),K=F.getData().mapDimension(K),E={thisAxis:M,series:F,thisDim:D.name,otherDim:K,otherAxisInverse:j}},this)},this),E},_renderHandle:function(){var N=this._displayables,S=N.handles=[],E=N.handleLabels=[],T=this._displayables.barGroup,D=this._size,B=this.dataZoomModel;T.add(N.filler=new r({draggable:!0,cursor:I(this._orient),drift:i(this._onDragMove,this,"all"),ondragstart:i(this._showDataInfo,this,!0),ondragend:i(this._onDragEnd,this),onmouseover:i(this._showDataInfo,this,!0),onmouseout:i(this._showDataInfo,this,!1),style:{fill:B.get("fillerColor"),textPosition:"inside"}})),T.add(new r({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:D[0],height:D[1]},style:{stroke:B.get("dataBackgroundColor")||B.get("borderColor"),lineWidth:t,fill:"rgba(0,0,0,0)"}})),n([0,1],function(R){var F=g.createIcon(B.get("handleIcon"),{cursor:I(this._orient),draggable:!0,drift:i(this._onDragMove,this,R),ondragend:i(this._onDragEnd,this),onmouseover:i(this._showDataInfo,this,!0),onmouseout:i(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),M=F.getBoundingRect();this._handleHeight=b.parsePercent(B.get("handleSize"),this._size[1]),this._handleWidth=M.width/M.height*this._handleHeight,F.setStyle(B.getModel("handleStyle").getItemStyle());var K=B.get("handleColor");K!=null&&(F.style.fill=K),T.add(S[R]=F);var j=B.textStyleModel;this.group.add(E[R]=new g.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:j.getTextColor(),textFont:j.getFont()},z2:10}))},this)},_resetInterval:function(){var N=this._range=this.dataZoomModel.getPercentRange(),S=this._getViewExtent();this._handleEnds=[a(N[0],[0,100],S,!0),a(N[1],[0,100],S,!0)]},_updateInterval:function(N,S){var E=this.dataZoomModel,T=this._handleEnds,D=this._getViewExtent(),B=E.findRepresentativeAxisProxy().getMinMaxSpan(),R=[0,100];d(S,T,D,E.get("zoomLock")?"all":N,B.minSpan!=null?a(B.minSpan,R,D,!0):null,B.maxSpan!=null?a(B.maxSpan,R,D,!0):null);var F=this._range,M=this._range=s([a(T[0],D,R,!0),a(T[1],D,R,!0)]);return!F||F[0]!==M[0]||F[1]!==M[1]},_updateView:function(N){var S=this._displayables,E=this._handleEnds,T=s(E.slice()),D=this._size;n([0,1],function(B){var R=S.handles[B],F=this._handleHeight;R.attr({scale:[F/2,F/2],position:[E[B],D[1]/2-F/2]})},this),S.filler.setShape({x:T[0],y:0,width:T[1]-T[0],height:D[1]}),this._updateDataInfo(N)},_updateDataInfo:function(N){var S=this.dataZoomModel,E=this._displayables,T=E.handleLabels,D=this._orient,B=["",""];if(S.get("showDetail")){var R=S.findRepresentativeAxisProxy();if(R){var F=R.getAxisModel().axis,M=this._range,K=N?R.calculateDataWindow({start:M[0],end:M[1]}).valueWindow:R.getDataValueWindow();B=[this._formatLabel(K[0],F),this._formatLabel(K[1],F)]}}var j=s(this._handleEnds.slice());H.call(this,0),H.call(this,1);function H(k){var P=g.getTransform(E.handles[k].parent,this.group),z=g.transformDirection(k===0?"right":"left",P),Y=this._handleWidth/2+h,_=g.applyTransform([j[k]+(k===0?-Y:Y),this._size[1]/2],P);T[k].setStyle({x:_[0],y:_[1],textVerticalAlign:D===o?"middle":z,textAlign:D===o?z:"center",text:B[k]})}},_formatLabel:function(N,S){var E=this.dataZoomModel,T=E.get("labelFormatter"),D=E.get("labelPrecision");(D==null||D==="auto")&&(D=S.getPixelPrecision());var B=N==null||isNaN(N)?"":S.type==="category"||S.type==="time"?S.scale.getLabel(Math.round(N)):N.toFixed(Math.min(D,20));return y.isFunction(T)?T(N,B):y.isString(T)?T.replace("{value}",B):B},_showDataInfo:function(N){N=this._dragging||N;var S=this._displayables.handleLabels;S[0].attr("invisible",!N),S[1].attr("invisible",!N)},_onDragMove:function(N,S,E,T){this._dragging=!0,L.stop(T.event);var D=this._displayables.barGroup.getLocalTransform(),B=g.applyTransform([S,E],D,!0),R=this._updateInterval(N,B[0]),F=this.dataZoomModel.get("realtime");this._updateView(!F),R&&F&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var N=this.dataZoomModel.get("realtime");!N&&this._dispatchZoomAction()},_onClickPanelClick:function(N){var S=this._size,E=this._displayables.barGroup.transformCoordToLocal(N.offsetX,N.offsetY);if(E[0]<0||E[0]>S[0]||E[1]<0||E[1]>S[1])return;var T=this._handleEnds,D=(T[0]+T[1])/2,B=this._updateInterval("all",E[0]-D);this._updateView(),B&&this._dispatchZoomAction()},_dispatchZoomAction:function(){var N=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:N[0],end:N[1]})},_findCoordRect:function(){var N;if(n(this.getTargetCoordInfo(),function(T){if(!N&&T.length){var D=T[0].model.coordinateSystem;N=D.getRect&&D.getRect()}}),!N){var S=this.api.getWidth(),E=this.api.getHeight();N={x:S*.2,y:E*.2,width:S*.6,height:E*.6}}return N}});function x(N){var S={x:"y",y:"x",radius:"angle",angle:"radius"};return S[N]}function I(N){return N==="vertical"?"ns-resize":"ew-resize"}var C=w;te.exports=C},IzEo:function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("lnY3"),v=e.n(g),A=e("Znn+"),b=e("14J3"),m=e("jCWc")},J66h:function(te,U,e){(function(y){var L,g;(function(v,A){te.exports=A(v)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof y!="undefined"?y:this,function(v){"use strict";v=v||{};var A=v.Base64,b="2.6.4",m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=function(F){for(var M={},K=0,j=F.length;K<j;K++)M[F.charAt(K)]=K;return M}(m),r=String.fromCharCode,a=function(M){if(M.length<2){var K=M.charCodeAt(0);return K<128?M:K<2048?r(192|K>>>6)+r(128|K&63):r(224|K>>>12&15)+r(128|K>>>6&63)+r(128|K&63)}else{var K=65536+(M.charCodeAt(0)-55296)*1024+(M.charCodeAt(1)-56320);return r(240|K>>>18&7)+r(128|K>>>12&63)+r(128|K>>>6&63)+r(128|K&63)}},s=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,i=function(M){return M.replace(s,a)},n=function(M){var K=[0,2,1][M.length%3],j=M.charCodeAt(0)<<16|(M.length>1?M.charCodeAt(1):0)<<8|(M.length>2?M.charCodeAt(2):0),H=[m.charAt(j>>>18),m.charAt(j>>>12&63),K>=2?"=":m.charAt(j>>>6&63),K>=1?"=":m.charAt(j&63)];return H.join("")},l=v.btoa&&typeof v.btoa=="function"?function(F){return v.btoa(F)}:function(F){if(F.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return F.replace(/[\s\S]{1,3}/g,n)},t=function(M){return l(i(String(M)))},u=function(M){return M.replace(/[+\/]/g,function(K){return K=="+"?"-":"_"}).replace(/=/g,"")},o=function(M,K){return K?u(t(M)):t(M)},c=function(M){return o(M,!0)},h;v.Uint8Array&&(h=function(M,K){for(var j="",H=0,k=M.length;H<k;H+=3){var P=M[H],z=M[H+1],Y=M[H+2],_=P<<16|z<<8|Y;j+=m.charAt(_>>>18)+m.charAt(_>>>12&63)+(typeof z!="undefined"?m.charAt(_>>>6&63):"=")+(typeof Y!="undefined"?m.charAt(_&63):"=")}return K?u(j):j});var f=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,w=function(M){switch(M.length){case 4:var K=(7&M.charCodeAt(0))<<18|(63&M.charCodeAt(1))<<12|(63&M.charCodeAt(2))<<6|63&M.charCodeAt(3),j=K-65536;return r((j>>>10)+55296)+r((j&1023)+56320);case 3:return r((15&M.charCodeAt(0))<<12|(63&M.charCodeAt(1))<<6|63&M.charCodeAt(2));default:return r((31&M.charCodeAt(0))<<6|63&M.charCodeAt(1))}},x=function(M){return M.replace(f,w)},I=function(M){var K=M.length,j=K%4,H=(K>0?d[M.charAt(0)]<<18:0)|(K>1?d[M.charAt(1)]<<12:0)|(K>2?d[M.charAt(2)]<<6:0)|(K>3?d[M.charAt(3)]:0),k=[r(H>>>16),r(H>>>8&255),r(H&255)];return k.length-=[0,0,2,1][j],k.join("")},C=v.atob&&typeof v.atob=="function"?function(F){return v.atob(F)}:function(F){return F.replace(/\S{1,4}/g,I)},N=function(M){return C(String(M).replace(/[^A-Za-z0-9\+\/]/g,""))},S=function(M){return x(C(M))},E=function(M){return String(M).replace(/[-_]/g,function(K){return K=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},T=function(M){return S(E(M))},D;v.Uint8Array&&(D=function(M){return Uint8Array.from(N(E(M)),function(K){return K.charCodeAt(0)})});var B=function(){var M=v.Base64;return v.Base64=A,M};if(v.Base64={VERSION:b,atob:N,btoa:l,fromBase64:T,toBase64:o,utob:i,encode:o,encodeURI:c,btou:x,decode:T,noConflict:B,fromUint8Array:h,toUint8Array:D},typeof Object.defineProperty=="function"){var R=function(M){return{value:M,enumerable:!1,writable:!0,configurable:!0}};v.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",R(function(){return T(this)})),Object.defineProperty(String.prototype,"toBase64",R(function(F){return o(this,F)})),Object.defineProperty(String.prototype,"toBase64URI",R(function(){return o(this,!0)}))}}return v.Meteor&&(Base64=v.Base64),te.exports?te.exports.Base64=v.Base64:!(L=[],g=function(){return v.Base64}.apply(U,L),g!==void 0&&(te.exports=g)),{Base64:v.Base64}})}).call(this,e("IyRk"))},JEkh:function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("ProS"),v=e("bYtY"),A=e("ItGF"),b=e("4NO4"),m=e("7aKB"),d=e("OKJ2"),r=m.addCommas,a=m.encodeHTML;function s(l){b.defaultEmphasis(l,"label",["show"])}var i=g.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(l,t,u){this.mergeDefaultAndTheme(l,u),this._mergeOption(l,u,!1,!0)},isAnimationEnabled:function(){if(A.node)return!1;var l=this.__hostSeries;return this.getShallow("animation")&&l&&l.isAnimationEnabled()},mergeOption:function(l,t){this._mergeOption(l,t,!1,!1)},_mergeOption:function(l,t,u,o){var c=this.constructor,h=this.mainType+"Model";u||t.eachSeries(function(f){var w=f.get(this.mainType,!0),x=f[h];if(!w||!w.data){f[h]=null;return}x?x._mergeOption(w,t,!0):(o&&s(w),v.each(w.data,function(I){I instanceof Array?(s(I[0]),s(I[1])):s(I)}),x=new c(w,this,t),v.extend(x,{mainType:this.mainType,seriesIndex:f.seriesIndex,name:f.name,createdBySelf:!0}),x.__hostSeries=f),f[h]=x},this)},formatTooltip:function(l){var t=this.getData(),u=this.getRawValue(l),o=v.isArray(u)?v.map(u,r).join(", "):r(u),c=t.getName(l),h=a(this.name);return(u!=null||c)&&(h+="<br />"),c&&(h+=a(c),u!=null&&(h+=" : ")),u!=null&&(h+=a(o)),h},getData:function(){return this._data},setData:function(l){this._data=l}});v.mixin(i,d);var n=i;te.exports=n},JGo8:function(te,U,e){},JLnu:function(te,U,e){var y=e("+TT/"),L=e("OELB"),g=L.parsePercent,v=L.linearMap;function A(r,a){return y.getLayoutRect(r.getBoxLayoutParams(),{width:a.getWidth(),height:a.getHeight()})}function b(r,a){for(var s=r.mapDimension("value"),i=r.mapArray(s,function(o){return o}),n=[],l=a==="ascending",t=0,u=r.count();t<u;t++)n[t]=t;return typeof a=="function"?n.sort(a):a!=="none"&&n.sort(function(o,c){return l?i[o]-i[c]:i[c]-i[o]}),n}function m(r){r.each(function(a){var s=r.getItemModel(a),i=s.getModel("label"),n=i.get("position"),l=s.getModel("labelLine"),t=r.getItemLayout(a),u=t.points,o=n==="inner"||n==="inside"||n==="center"||n==="insideLeft"||n==="insideRight",c,h,f,w;if(o)n==="insideLeft"?(h=(u[0][0]+u[3][0])/2+5,f=(u[0][1]+u[3][1])/2,c="left"):n==="insideRight"?(h=(u[1][0]+u[2][0])/2-5,f=(u[1][1]+u[2][1])/2,c="right"):(h=(u[0][0]+u[1][0]+u[2][0]+u[3][0])/4,f=(u[0][1]+u[1][1]+u[2][1]+u[3][1])/4,c="center"),w=[[h,f],[h,f]];else{var x,I,C,N=l.get("length");n==="left"?(x=(u[3][0]+u[0][0])/2,I=(u[3][1]+u[0][1])/2,C=x-N,h=C-5,c="right"):n==="right"?(x=(u[1][0]+u[2][0])/2,I=(u[1][1]+u[2][1])/2,C=x+N,h=C+5,c="left"):n==="rightTop"?(x=u[1][0],I=u[1][1],C=x+N,h=C+5,c="top"):n==="rightBottom"?(x=u[2][0],I=u[2][1],C=x+N,h=C+5,c="bottom"):n==="leftTop"?(x=u[0][0],I=u[1][1],C=x-N,h=C-5,c="right"):n==="leftBottom"?(x=u[3][0],I=u[2][1],C=x-N,h=C-5,c="right"):(x=(u[1][0]+u[2][0])/2,I=(u[1][1]+u[2][1])/2,C=x+N,h=C+5,c="left");var S=I;w=[[x,I],[C,S]],f=S}t.label={linePoints:w,x:h,y:f,verticalAlign:"middle",textAlign:c,inside:o}})}function d(r,a,s){r.eachSeriesByType("funnel",function(i){var n=i.getData(),l=n.mapDimension("value"),t=i.get("sort"),u=A(i,a),o=b(n,t),c=[g(i.get("minSize"),u.width),g(i.get("maxSize"),u.width)],h=n.getDataExtent(l),f=i.get("min"),w=i.get("max");f==null&&(f=Math.min(h[0],0)),w==null&&(w=h[1]);var x=i.get("funnelAlign"),I=i.get("gap"),C=(u.height-I*(n.count()-1))/n.count(),N=u.y,S=function(K,j){var H=n.get(l,K)||0,k=v(H,[f,w],c,!0),P;switch(x){case"left":P=u.x;break;case"center":P=u.x+(u.width-k)/2;break;case"right":P=u.x+u.width-k;break}return[[P,j],[P+k,j]]};t==="ascending"&&(C=-C,I=-I,N+=u.height,o=o.reverse());for(var E=0;E<o.length;E++){var T=o[E],D=o[E+1],B=n.getItemModel(T),R=B.get("itemStyle.height");R==null?R=C:(R=g(R,u.height),t==="ascending"&&(R=-R));var F=S(T,N),M=S(D,N+R);N+=R+I,n.setItemLayout(T,{points:F.concat(M.slice().reverse())})}m(n)})}te.exports=d},JVwQ:function(te,U,e){var y=e("ProS"),L=e("1NG9"),g=L.Polygon,v=e("IwbS"),A=e("bYtY"),b=A.bind,m=A.extend,d=e("gPAo"),r=y.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(s,i,n){var l=s.getData(),t=this.group,u=s.getLayerSeries(),o=l.getLayout("layoutInfo"),c=o.rect,h=o.boundaryGap;t.attr("position",[0,c.y+h[0]]);function f(C){return C.name}var w=new d(this._layersSeries||[],u,f,f),x={};w.add(b(I,this,"add")).update(b(I,this,"update")).remove(b(I,this,"remove")).execute();function I(C,N,S){var E=this._layers;if(C==="remove"){t.remove(E[N]);return}for(var T=[],D=[],B,R=u[N].indices,F=0;F<R.length;F++){var M=l.getItemLayout(R[F]),K=M.x,j=M.y0,H=M.y;T.push([K,j]),D.push([K,j+H]),B=l.getItemVisual(R[F],"color")}var k,P,z=l.getItemLayout(R[0]),Y=l.getItemModel(R[F-1]),_=Y.getModel("label"),G=_.get("margin");if(C==="add"){var J=x[N]=new v.Group;k=new g({shape:{points:T,stackedOnPoints:D,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),P=new v.Text({style:{x:z.x-G,y:z.y0+z.y/2}}),J.add(k),J.add(P),t.add(J),k.setClipPath(a(k.getBoundingRect(),s,function(){k.removeClipPath()}))}else{var J=E[S];k=J.childAt(0),P=J.childAt(1),t.add(J),x[N]=J,v.updateProps(k,{shape:{points:T,stackedOnPoints:D}},s),v.updateProps(P,{style:{x:z.x-G,y:z.y0+z.y/2}},s)}var ue=Y.getModel("emphasis.itemStyle"),q=Y.getModel("itemStyle");v.setTextStyle(P.style,_,{text:_.get("show")?s.getFormattedLabel(R[F-1],"normal")||l.getName(R[F-1]):null,textVerticalAlign:"middle"}),k.setStyle(m({fill:B},q.getItemStyle(["color"]))),v.setHoverStyle(k,ue.getItemStyle())}this._layersSeries=u,this._layers=x},dispose:function(){}});function a(s,i,n){var l=new v.Rect({shape:{x:s.x-10,y:s.y-10,width:0,height:s.height+20}});return v.initProps(l,{shape:{width:s.width+20,height:s.height+20}},i,n),l}te.exports=r},JgUQ:function(te,U,e){"use strict";Object.defineProperty(U,"__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"};U.default=y},JsLm:function(te,U,e){"use strict";var y=e("pVnL"),L=e.n(y),g=e("lSNA"),v=e.n(g),A=e("lwsE"),b=e.n(A),m=e("W8MJ"),d=e.n(m),r=e("PJYZ"),a=e.n(r),s=e("7W2i"),i=e.n(s),n=e("LQ03"),l=e.n(n),t=e("q1tI"),u=e("i8i4"),o=e("TSYQ"),c=e.n(o),h=e("zT1h"),f=e("cDf5"),w=e.n(f),x=e("BGR+"),I=e("t23M"),C=e("H84U"),N=e("PEeC");function S(ce){return ce!==window?ce.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function E(ce,Ee,pe){return pe!==void 0&&Ee.top>ce.top-pe?pe+Ee.top:void 0}function T(ce,Ee,pe){if(pe!==void 0&&Ee.bottom<ce.bottom+pe){var Se=window.innerHeight-Ee.bottom;return pe+Se}return}var D=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],B=[];function R(){return B}function F(ce,Ee){if(!ce)return;var pe=B.find(function(Se){return Se.target===ce});pe?pe.affixList.push(Ee):(pe={target:ce,affixList:[Ee],eventHandlers:{}},B.push(pe),D.forEach(function(Se){pe.eventHandlers[Se]=Object(h.a)(ce,Se,function(){pe.affixList.forEach(function(st){st.lazyUpdatePosition()})})}))}function M(ce){var Ee=B.find(function(pe){var Se=pe.affixList.some(function(st){return st===ce});return Se&&(pe.affixList=pe.affixList.filter(function(st){return st!==ce})),Se});Ee&&Ee.affixList.length===0&&(B=B.filter(function(pe){return pe!==Ee}),D.forEach(function(pe){var Se=Ee.eventHandlers[pe];Se&&Se.remove&&Se.remove()}))}var K=function(ce,Ee,pe,Se){var st=arguments.length,qe=st<3?Ee:Se===null?Se=Object.getOwnPropertyDescriptor(Ee,pe):Se,tt;if((typeof Reflect=="undefined"?"undefined":w()(Reflect))==="object"&&typeof Reflect.decorate=="function")qe=Reflect.decorate(ce,Ee,pe,Se);else for(var Dt=ce.length-1;Dt>=0;Dt--)(tt=ce[Dt])&&(qe=(st<3?tt(qe):st>3?tt(Ee,pe,qe):tt(Ee,pe))||qe);return st>3&&qe&&Object.defineProperty(Ee,pe,qe),qe};function j(){return typeof window!="undefined"?window:null}var H;(function(ce){ce[ce.None=0]="None",ce[ce.Prepare=1]="Prepare"})(H||(H={}));var k=function(ce){i()(pe,ce);var Ee=l()(pe);function pe(){var Se;return b()(this,pe),Se=Ee.apply(this,arguments),Se.state={status:H.None,lastAffix:!1,prevTarget:null},Se.getOffsetTop=function(){var st=Se.props.offsetBottom,qe=Se.props.offsetTop;return st===void 0&&qe===void 0&&(qe=0),qe},Se.getOffsetBottom=function(){return Se.props.offsetBottom},Se.savePlaceholderNode=function(st){Se.placeholderNode=st},Se.saveFixedNode=function(st){Se.fixedNode=st},Se.measure=function(){var st=Se.state,qe=st.status,tt=st.lastAffix,Dt=Se.props.onChange,ct=Se.getTargetFunc();if(qe!==H.Prepare||!Se.fixedNode||!Se.placeholderNode||!ct)return;var St=Se.getOffsetTop(),rt=Se.getOffsetBottom(),ht=ct();if(!ht)return;var je={status:H.None},Me=S(ht),Ne=S(Se.placeholderNode),it=E(Ne,Me,St),wt=T(Ne,Me,rt);it!==void 0?(je.affixStyle={position:"fixed",top:it,width:Ne.width,height:Ne.height},je.placeholderStyle={width:Ne.width,height:Ne.height}):wt!==void 0&&(je.affixStyle={position:"fixed",bottom:wt,width:Ne.width,height:Ne.height},je.placeholderStyle={width:Ne.width,height:Ne.height}),je.lastAffix=!!je.affixStyle,Dt&&tt!==je.lastAffix&&Dt(je.lastAffix),Se.setState(je)},Se.prepareMeasure=function(){if(Se.setState({status:H.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var st},Se.render=function(){var st=Se.context.getPrefixCls,qe=Se.state,tt=qe.affixStyle,Dt=qe.placeholderStyle,ct=Se.props,St=ct.prefixCls,rt=ct.children,ht=c()(v()({},st("affix",St),tt)),je=Object(x.default)(Se.props,["prefixCls","offsetTop","offsetBottom","target","onChange"]);return t.createElement(I.a,{onResize:function(){Se.updatePosition()}},t.createElement("div",L()({},je,{ref:Se.savePlaceholderNode}),tt&&t.createElement("div",{style:Dt,"aria-hidden":"true"}),t.createElement("div",{className:ht,ref:Se.saveFixedNode,style:tt},t.createElement(I.a,{onResize:function(){Se.updatePosition()}},rt))))},Se}return d()(pe,[{key:"getTargetFunc",value:function(){var st=this.context.getTargetContainer,qe=this.props.target;return qe!==void 0?qe:st||j}},{key:"componentDidMount",value:function(){var st=this,qe=this.getTargetFunc();qe&&(this.timeout=setTimeout(function(){F(qe(),st),st.updatePosition()}))}},{key:"componentDidUpdate",value:function(st){var qe=this.state.prevTarget,tt=this.getTargetFunc(),Dt=null;tt&&(Dt=tt()||null),qe!==Dt&&(M(this),Dt&&(F(Dt,this),this.updatePosition()),this.setState({prevTarget:Dt})),(st.offsetTop!==this.props.offsetTop||st.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),M(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var st=this.getTargetFunc(),qe=this.state.affixStyle;if(st&&qe){var tt=this.getOffsetTop(),Dt=this.getOffsetBottom(),ct=st();if(ct&&this.placeholderNode){var St=S(ct),rt=S(this.placeholderNode),ht=E(rt,St,tt),je=T(rt,St,Dt);if(ht!==void 0&&qe.top===ht||je!==void 0&&qe.bottom===je)return}}this.prepareMeasure()}}]),pe}(t.Component);k.contextType=C.b,K([Object(N.b)()],k.prototype,"updatePosition",null),K([Object(N.b)()],k.prototype,"lazyUpdatePosition",null);var P=k,z=e("zAh6"),Y=e("i6bk"),_=t.createContext(null),G=_;function J(){return window}function ue(ce,Ee){if(!ce.getClientRects().length)return 0;var pe=ce.getBoundingClientRect();return pe.width||pe.height?Ee===window?(Ee=ce.ownerDocument.documentElement,pe.top-Ee.clientTop):pe.top-Ee.getBoundingClientRect().top:pe.top}var q=/#(\S+)$/,re=function(ce){i()(pe,ce);var Ee=l()(pe);function pe(){var Se;return b()(this,pe),Se=Ee.apply(this,arguments),Se.state={activeLink:null},Se.links=[],Se.registerLink=function(st){Se.links.includes(st)||Se.links.push(st)},Se.unregisterLink=function(st){var qe=Se.links.indexOf(st);qe!==-1&&Se.links.splice(qe,1)},Se.getContainer=function(){var st=Se.context.getTargetContainer,qe=Se.props.getContainer,tt=qe||st||J;return tt()},Se.handleScrollTo=function(st){var qe=Se.props,tt=qe.offsetTop,Dt=qe.targetOffset;Se.setCurrentActiveLink(st);var ct=Se.getContainer(),St=Object(Y.a)(ct,!0),rt=q.exec(st);if(!rt)return;var ht=document.getElementById(rt[1]);if(!ht)return;var je=ue(ht,ct),Me=St+je;Me-=Dt!==void 0?Dt:tt||0,Se.animating=!0,Object(z.a)(Me,{callback:function(){Se.animating=!1},getContainer:Se.getContainer})},Se.saveInkNode=function(st){Se.inkNode=st},Se.setCurrentActiveLink=function(st){var qe=Se.state.activeLink,tt=Se.props.onChange;qe!==st&&(Se.setState({activeLink:st}),tt&&tt(st))},Se.handleScroll=function(){if(Se.animating)return;var st=Se.props,qe=st.offsetTop,tt=st.bounds,Dt=st.targetOffset,ct=Se.getCurrentAnchor(Dt!==void 0?Dt:qe||0,tt);Se.setCurrentActiveLink(ct)},Se.updateInk=function(){var st=a()(Se),qe=st.prefixCls,tt=u.findDOMNode(a()(Se)),Dt=tt.getElementsByClassName("".concat(qe,"-link-title-active"))[0];Dt&&(Se.inkNode.style.top="".concat(Dt.offsetTop+Dt.clientHeight/2-4.5,"px"))},Se.render=function(){var st=Se.context,qe=st.getPrefixCls,tt=st.direction,Dt=Se.props,ct=Dt.prefixCls,St=Dt.className,rt=St===void 0?"":St,ht=Dt.style,je=Dt.offsetTop,Me=Dt.affix,Ne=Dt.showInkInFixed,it=Dt.children,wt=Se.state.activeLink,jt=qe("anchor",ct);Se.prefixCls=jt;var lt=c()("".concat(jt,"-ink-ball"),{visible:wt}),Te=c()(rt,"".concat(jt,"-wrapper"),v()({},"".concat(jt,"-rtl"),tt==="rtl")),mt=c()(jt,{fixed:!Me&&!Ne}),tn=L()({maxHeight:je?"calc(100vh - ".concat(je,"px)"):"100vh"},ht),Vt=t.createElement("div",{className:Te,style:tn},t.createElement("div",{className:mt},t.createElement("div",{className:"".concat(jt,"-ink")},t.createElement("span",{className:lt,ref:Se.saveInkNode})),it));return t.createElement(G.Provider,{value:{registerLink:Se.registerLink,unregisterLink:Se.unregisterLink,activeLink:Se.state.activeLink,scrollTo:Se.handleScrollTo,onClick:Se.props.onClick}},Me?t.createElement(P,{offsetTop:je,target:Se.getContainer},Vt):Vt)},Se}return d()(pe,[{key:"componentDidMount",value:function(){this.scrollContainer=this.getContainer(),this.scrollEvent=Object(h.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll()}},{key:"componentDidUpdate",value:function(){if(this.scrollEvent){var st=this.getContainer();this.scrollContainer!==st&&(this.scrollContainer=st,this.scrollEvent.remove(),this.scrollEvent=Object(h.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll())}this.updateInk()}},{key:"componentWillUnmount",value:function(){this.scrollEvent&&this.scrollEvent.remove()}},{key:"getCurrentAnchor",value:function(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,tt=this.props.getCurrentAnchor;if(typeof tt=="function")return tt();var Dt=[],ct=this.getContainer();if(this.links.forEach(function(rt){var ht=q.exec(rt.toString());if(!ht)return;var je=document.getElementById(ht[1]);if(je){var Me=ue(je,ct);Me<st+qe&&Dt.push({link:rt,top:Me})}}),Dt.length){var St=Dt.reduce(function(rt,ht){return ht.top>rt.top?ht:rt});return St.link}return""}}]),pe}(t.Component);re.defaultProps={affix:!0,showInkInFixed:!1},re.contextType=C.b;var me=function(ce){i()(pe,ce);var Ee=l()(pe);function pe(){var Se;return b()(this,pe),Se=Ee.apply(this,arguments),Se.handleClick=function(st){var qe=Se.context,tt=qe.scrollTo,Dt=qe.onClick,ct=Se.props,St=ct.href,rt=ct.title;Dt&&Dt(st,{title:rt,href:St}),tt(St)},Se.renderAnchorLink=function(st){var qe=st.getPrefixCls,tt=Se.props,Dt=tt.prefixCls,ct=tt.href,St=tt.title,rt=tt.children,ht=tt.className,je=tt.target,Me=qe("anchor",Dt),Ne=Se.context.activeLink===ct,it=c()(ht,"".concat(Me,"-link"),v()({},"".concat(Me,"-link-active"),Ne)),wt=c()("".concat(Me,"-link-title"),v()({},"".concat(Me,"-link-title-active"),Ne));return t.createElement("div",{className:it},t.createElement("a",{className:wt,href:ct,title:typeof St=="string"?St:"",target:je,onClick:Se.handleClick},St),rt)},Se}return d()(pe,[{key:"componentDidMount",value:function(){this.context.registerLink(this.props.href)}},{key:"componentDidUpdate",value:function(st){var qe=st.href,tt=this.props.href;qe!==tt&&(this.context.unregisterLink(qe),this.context.registerLink(tt))}},{key:"componentWillUnmount",value:function(){this.context.unregisterLink(this.props.href)}},{key:"render",value:function(){return t.createElement(C.a,null,this.renderAnchorLink)}}]),pe}(t.Component);me.defaultProps={href:"#"},me.contextType=G;var be=me;re.Link=be;var ke=U.a=re},JuEJ:function(te,U,e){var y=e("bYtY"),L=e("4NO4"),g=y.each,v=y.isObject,A=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function b(t){var u=t&&t.itemStyle;if(!u)return;for(var o=0,c=A.length;o<c;o++){var h=A[o],f=u.normal,w=u.emphasis;f&&f[h]&&(t[h]=t[h]||{},t[h].normal?y.merge(t[h].normal,f[h]):t[h].normal=f[h],f[h]=null),w&&w[h]&&(t[h]=t[h]||{},t[h].emphasis?y.merge(t[h].emphasis,w[h]):t[h].emphasis=w[h],w[h]=null)}}function m(t,u,o){if(t&&t[u]&&(t[u].normal||t[u].emphasis)){var c=t[u].normal,h=t[u].emphasis;c&&(o?(t[u].normal=t[u].emphasis=null,y.defaults(t[u],c)):t[u]=c),h&&(t.emphasis=t.emphasis||{},t.emphasis[u]=h)}}function d(t){m(t,"itemStyle"),m(t,"lineStyle"),m(t,"areaStyle"),m(t,"label"),m(t,"labelLine"),m(t,"upperLabel"),m(t,"edgeLabel")}function r(t,u){var o=v(t)&&t[u],c=v(o)&&o.textStyle;if(c)for(var h=0,f=L.TEXT_STYLE_OPTIONS.length;h<f;h++){var u=L.TEXT_STYLE_OPTIONS[h];c.hasOwnProperty(u)&&(o[u]=c[u])}}function a(t){t&&(d(t),r(t,"label"),t.emphasis&&r(t.emphasis,"label"))}function s(t){if(!v(t))return;b(t),d(t),r(t,"label"),r(t,"upperLabel"),r(t,"edgeLabel"),t.emphasis&&(r(t.emphasis,"label"),r(t.emphasis,"upperLabel"),r(t.emphasis,"edgeLabel"));var u=t.markPoint;u&&(b(u),a(u));var o=t.markLine;o&&(b(o),a(o));var c=t.markArea;c&&a(c);var h=t.data;if(t.type==="graph"){h=h||t.nodes;var f=t.links||t.edges;if(f&&!y.isTypedArray(f))for(var w=0;w<f.length;w++)a(f[w]);y.each(t.categories,function(C){d(C)})}if(h&&!y.isTypedArray(h))for(var w=0;w<h.length;w++)a(h[w]);var u=t.markPoint;if(u&&u.data)for(var x=u.data,w=0;w<x.length;w++)a(x[w]);var o=t.markLine;if(o&&o.data)for(var I=o.data,w=0;w<I.length;w++)y.isArray(I[w])?(a(I[w][0]),a(I[w][1])):a(I[w]);t.type==="gauge"?(r(t,"axisLabel"),r(t,"title"),r(t,"detail")):t.type==="treemap"?(m(t.breadcrumb,"itemStyle"),y.each(t.levels,function(C){d(C)})):t.type==="tree"&&d(t.leaves)}function i(t){return y.isArray(t)?t:t?[t]:[]}function n(t){return(y.isArray(t)?t[0]:t)||{}}function l(t,u){g(i(t.series),function(c){v(c)&&s(c)});var o=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];u&&o.push("valueAxis","categoryAxis","logAxis","timeAxis"),g(o,function(c){g(i(t[c]),function(h){h&&(r(h,"axisLabel"),r(h.axisPointer,"label"))})}),g(i(t.parallel),function(c){var h=c&&c.parallelAxisDefault;r(h,"axisLabel"),r(h&&h.axisPointer,"label")}),g(i(t.calendar),function(c){m(c,"itemStyle"),r(c,"dayLabel"),r(c,"monthLabel"),r(c,"yearLabel")}),g(i(t.radar),function(c){r(c,"name")}),g(i(t.geo),function(c){v(c)&&(a(c),g(i(c.regions),function(h){a(h)}))}),g(i(t.timeline),function(c){a(c),m(c,"label"),m(c,"itemStyle"),m(c,"controlStyle",!0);var h=c.data;y.isArray(h)&&y.each(h,function(f){y.isObject(f)&&(m(f,"label"),m(f,"itemStyle"))})}),g(i(t.toolbox),function(c){m(c,"iconStyle"),g(c.feature,function(h){m(h,"iconStyle")})}),r(n(t.axisPointer),"label"),r(n(t.tooltip).axisPointer,"label")}te.exports=l},K2GJ:function(te,U,e){var y=e("fW2E"),L=e("gut8"),g=L.ContextCachedBy,v=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],A=function(n){this.extendFrom(n,!1)};function b(i,n,l){var t=n.x==null?0:n.x,u=n.x2==null?1:n.x2,o=n.y==null?0:n.y,c=n.y2==null?0:n.y2;n.global||(t=t*l.width+l.x,u=u*l.width+l.x,o=o*l.height+l.y,c=c*l.height+l.y),t=isNaN(t)?0:t,u=isNaN(u)?1:u,o=isNaN(o)?0:o,c=isNaN(c)?0:c;var h=i.createLinearGradient(t,o,u,c);return h}function m(i,n,l){var t=l.width,u=l.height,o=Math.min(t,u),c=n.x==null?.5:n.x,h=n.y==null?.5:n.y,f=n.r==null?.5:n.r;n.global||(c=c*t+l.x,h=h*u+l.y,f=f*o);var w=i.createRadialGradient(c,h,0,c,h,f);return w}A.prototype={constructor:A,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(n,l,t){var u=this,o=t&&t.style,c=!o||n.__attrCachedBy!==g.STYLE_BIND;n.__attrCachedBy=g.STYLE_BIND;for(var h=0;h<v.length;h++){var f=v[h],w=f[0];(c||u[w]!==o[w])&&(n[w]=y(n,w,u[w]||f[1]))}if((c||u.fill!==o.fill)&&(n.fillStyle=u.fill),(c||u.stroke!==o.stroke)&&(n.strokeStyle=u.stroke),(c||u.opacity!==o.opacity)&&(n.globalAlpha=u.opacity==null?1:u.opacity),(c||u.blend!==o.blend)&&(n.globalCompositeOperation=u.blend||"source-over"),this.hasStroke()){var x=u.lineWidth;n.lineWidth=x/(this.strokeNoScale&&l&&l.getLineScale?l.getLineScale():1)}},hasFill:function(){var n=this.fill;return n!=null&&n!=="none"},hasStroke:function(){var n=this.stroke;return n!=null&&n!=="none"&&this.lineWidth>0},extendFrom:function(n,l){if(n)for(var t in n)n.hasOwnProperty(t)&&(l===!0||(l===!1?!this.hasOwnProperty(t):n[t]!=null))&&(this[t]=n[t])},set:function(n,l){typeof n=="string"?this[n]=l:this.extendFrom(n,!0)},clone:function(){var n=new this.constructor;return n.extendFrom(this,!0),n},getGradient:function(n,l,t){for(var u=l.type==="radial"?m:b,o=u(n,l,t),c=l.colorStops,h=0;h<c.length;h++)o.addColorStop(c[h].offset,c[h].color);return o}};for(var d=A.prototype,r=0;r<v.length;r++){var a=v[r];a[0]in d||(d[a[0]]=a[1])}A.getGradient=d.getGradient;var s=A;te.exports=s},K4ya:function(te,U,e){var y=e("bYtY"),L=e("XxSj"),g=y.each;function v(r){if(r){for(var a in r)if(r.hasOwnProperty(a))return!0}}function A(r,a,s){var i={};return g(a,function(l){var t=i[l]=n();g(r[l],function(u,o){if(!L.isValidType(o))return;var c={type:o,visual:u};s&&s(c,l),t[o]=new L(c),o==="opacity"&&(c=y.clone(c),c.type="colorAlpha",t.__hidden.__alphaForOpacity=new L(c))})}),i;function n(){var l=function(){};l.prototype.__hidden=l.prototype;var t=new l;return t}}function b(r,a,s){var i;y.each(s,function(n){a.hasOwnProperty(n)&&v(a[n])&&(i=!0)}),i&&y.each(s,function(n){a.hasOwnProperty(n)&&v(a[n])?r[n]=y.clone(a[n]):delete r[n]})}function m(r,a,s,i,n,l){var t={};y.each(r,function(f){var w=L.prepareVisualTypes(a[f]);t[f]=w});var u;function o(f){return s.getItemVisual(u,f)}function c(f,w){s.setItemVisual(u,f,w)}l==null?s.each(h):s.each([l],h);function h(f,w){u=l==null?f:w;var x=s.getRawDataItem(u);if(x&&x.visualMap===!1)return;for(var I=i.call(n,f),C=a[I],N=t[I],S=0,E=N.length;S<E;S++){var T=N[S];C[T]&&C[T].applyVisual(f,o,c)}}}function d(r,a,s,i){var n={};y.each(r,function(t){var u=L.prepareVisualTypes(a[t]);n[t]=u});function l(t,u){i!=null&&(i=u.getDimension(i));function o(T){return u.getItemVisual(h,T)}function c(T,D){u.setItemVisual(h,T,D)}for(var h;(h=t.next())!=null;){var f=u.getRawDataItem(h);if(f&&f.visualMap===!1)continue;for(var w=i!=null?u.get(i,h,!0):h,x=s(w),I=a[x],C=n[x],N=0,S=C.length;N<S;N++){var E=C[N];I[E]&&I[E].applyVisual(w,o,c)}}}return{progress:l}}U.createVisualMappings=A,U.replaceVisualOption=b,U.applyVisual=m,U.incrementalApplyVisual=d},KCY9:function(te,U,e){},KCsZ:function(te,U,e){var y=e("bYtY");function L(g){for(var v=0;v<g.length;v++)g[v][1]||(g[v][1]=g[v][0]);return function(A,b,m){for(var d={},r=0;r<g.length;r++){var a=g[r][1];if(b&&y.indexOf(b,a)>=0||m&&y.indexOf(m,a)<0)continue;var s=A.getShallow(a);s!=null&&(d[g[r][0]]=s)}return d}}te.exports=L},KPFz:function(te,U,e){},KQeH:function(te,U,e){"use strict";Object.defineProperty(U,"__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"};U.default=y},KS52:function(te,U,e){var y=e("OELB"),L=y.parsePercent,g=y.linearMap,v=e("+TT/"),A=e("u3DP"),b=e("bYtY"),m=Math.PI*2,d=Math.PI/180;function r(s,i){return v.getLayoutRect(s.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})}function a(s,i,n,l){i.eachSeriesByType(s,function(t){var u=t.getData(),o=u.mapDimension("value"),c=r(t,n),h=t.get("center"),f=t.get("radius");b.isArray(f)||(f=[0,f]),b.isArray(h)||(h=[h,h]);var w=L(c.width,n.getWidth()),x=L(c.height,n.getHeight()),I=Math.min(w,x),C=L(h[0],w)+c.x,N=L(h[1],x)+c.y,S=L(f[0],I/2),E=L(f[1],I/2),T=-t.get("startAngle")*d,D=t.get("minAngle")*d,B=0;u.each(o,function(G){!isNaN(G)&&B++});var R=u.getSum(o),F=Math.PI/(R||B)*2,M=t.get("clockwise"),K=t.get("roseType"),j=t.get("stillShowZeroSum"),H=u.getDataExtent(o);H[0]=0;var k=m,P=0,z=T,Y=M?1:-1;if(u.each(o,function(G,J){var ue;if(isNaN(G)){u.setItemLayout(J,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:M,cx:C,cy:N,r0:S,r:K?NaN:E,viewRect:c});return}K!=="area"?ue=R===0&&j?F:G*F:ue=m/B,ue<D?(ue=D,k-=D):P+=G;var q=z+Y*ue;u.setItemLayout(J,{angle:ue,startAngle:z,endAngle:q,clockwise:M,cx:C,cy:N,r0:S,r:K?g(G,H,[S,E]):E,viewRect:c}),z=q}),k<m&&B)if(k<=.001){var _=m/B;u.each(o,function(G,J){if(!isNaN(G)){var ue=u.getItemLayout(J);ue.angle=_,ue.startAngle=T+Y*J*_,ue.endAngle=T+Y*(J+1)*_}})}else F=k/P,z=T,u.each(o,function(G,J){if(!isNaN(G)){var ue=u.getItemLayout(J),q=ue.angle===D?D:G*F;ue.startAngle=z,ue.endAngle=z+Y*q,z+=Y*q}});A(t,E,c.width,c.height,c.x,c.y)})}te.exports=a},KUOm:function(te,U){function e(y){var L={};y.eachSeriesByType("graph",function(g){var v=g.getCategoriesData(),A=g.getData(),b={};v.each(function(m){var d=v.getName(m);b["ec-"+d]=m;var r=v.getItemModel(m),a=r.get("itemStyle.color")||g.getColorFromPalette(d,L);v.setItemVisual(m,"color",a);for(var s=["opacity","symbol","symbolSize","symbolKeepAspect"],i=0;i<s.length;i++){var n=r.getShallow(s[i],!0);n!=null&&v.setItemVisual(m,s[i],n)}}),v.count()&&A.each(function(m){var d=A.getItemModel(m),r=d.getShallow("category");if(r!=null){typeof r=="string"&&(r=b["ec-"+r]);for(var a=["color","opacity","symbol","symbolSize","symbolKeepAspect"],s=0;s<a.length;s++)A.getItemVisual(m,a[s],!0)==null&&A.setItemVisual(m,a[s],v.getItemVisual(r,a[s]))}})})}te.exports=e},Kagy:function(te,U){var e={legend:{selector:{all:"\u5168\u9009",inverse:"\u53CD\u9009"}},toolbox:{brush:{title:{rect:"\u77E9\u5F62\u9009\u62E9",polygon:"\u5708\u9009",lineX:"\u6A2A\u5411\u9009\u62E9",lineY:"\u7EB5\u5411\u9009\u62E9",keep:"\u4FDD\u6301\u9009\u62E9",clear:"\u6E05\u9664\u9009\u62E9"}},dataView:{title:"\u6570\u636E\u89C6\u56FE",lang:["\u6570\u636E\u89C6\u56FE","\u5173\u95ED","\u5237\u65B0"]},dataZoom:{title:{zoom:"\u533A\u57DF\u7F29\u653E",back:"\u533A\u57DF\u7F29\u653E\u8FD8\u539F"}},magicType:{title:{line:"\u5207\u6362\u4E3A\u6298\u7EBF\u56FE",bar:"\u5207\u6362\u4E3A\u67F1\u72B6\u56FE",stack:"\u5207\u6362\u4E3A\u5806\u53E0",tiled:"\u5207\u6362\u4E3A\u5E73\u94FA"}},restore:{title:"\u8FD8\u539F"},saveAsImage:{title:"\u4FDD\u5B58\u4E3A\u56FE\u7247",lang:["\u53F3\u952E\u53E6\u5B58\u4E3A\u56FE\u7247"]}},series:{typeNames:{pie:"\u997C\u56FE",bar:"\u67F1\u72B6\u56FE",line:"\u6298\u7EBF\u56FE",scatter:"\u6563\u70B9\u56FE",effectScatter:"\u6D9F\u6F2A\u6563\u70B9\u56FE",radar:"\u96F7\u8FBE\u56FE",tree:"\u6811\u56FE",treemap:"\u77E9\u5F62\u6811\u56FE",boxplot:"\u7BB1\u578B\u56FE",candlestick:"K\u7EBF\u56FE",k:"K\u7EBF\u56FE",heatmap:"\u70ED\u529B\u56FE",map:"\u5730\u56FE",parallel:"\u5E73\u884C\u5750\u6807\u56FE",lines:"\u7EBF\u56FE",graph:"\u5173\u7CFB\u56FE",sankey:"\u6851\u57FA\u56FE",funnel:"\u6F0F\u6597\u56FE",gauge:"\u4EEA\u8868\u76D8\u56FE",pictorialBar:"\u8C61\u5F62\u67F1\u56FE",themeRiver:"\u4E3B\u9898\u6CB3\u6D41\u56FE",sunburst:"\u65ED\u65E5\u56FE"}},aria:{general:{withTitle:"\u8FD9\u662F\u4E00\u4E2A\u5173\u4E8E\u201C{title}\u201D\u7684\u56FE\u8868\u3002",withoutTitle:"\u8FD9\u662F\u4E00\u4E2A\u56FE\u8868\uFF0C"},series:{single:{prefix:"",withName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\uFF0C\u8868\u793A{seriesName}\u3002",withoutName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\u3002"},multiple:{prefix:"\u5B83\u7531{seriesCount}\u4E2A\u56FE\u8868\u7CFB\u5217\u7EC4\u6210\u3002",withName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A\u8868\u793A{seriesName}\u7684{seriesType}\uFF0C",withoutName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A{seriesType}\uFF0C",separator:{middle:"\uFF1B",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636E\u662F\u2014\u2014",partialData:"\u5176\u4E2D\uFF0C\u524D{displayCnt}\u9879\u662F\u2014\u2014",withName:"{name}\u7684\u6570\u636E\u662F{value}",withoutName:"{value}",separator:{middle:"\uFF0C",end:""}}}};te.exports=e},KamJ:function(te,U,e){var y=e("ProS"),L=e("szbU");e("vF/C"),e("qwVE"),e("BuqR"),e("AE9C"),e("1u/T"),y.registerPreprocessor(L)},KmBX:function(te,U,e){"use strict";var y=e("284h"),L=e("TqRt");Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var g=L(e("3tO9")),v=y(e("q1tI")),A=L(e("CP8R")),b=L(e("KQxl")),m=function(a,s){return v.createElement(b.default,(0,g.default)((0,g.default)({},a),{},{ref:s,icon:A.default}))};m.displayName="FilterFilled";var d=v.forwardRef(m);U.default=d},"KpQ+":function(te,U,e){"use strict";var y=e("284h"),L=e("TqRt");Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var g=L(e("3tO9")),v=y(e("q1tI")),A=L(e("E/ki")),b=L(e("KQxl")),m=function(a,s){return v.createElement(b.default,(0,g.default)((0,g.default)({},a),{},{ref:s,icon:A.default}))};m.displayName="ClockCircleOutlined";var d=v.forwardRef(m);U.default=d},KrTs:function(te,U,e){"use strict";var y=e("lSNA"),L=e.n(y),g=e("cDf5"),v=e.n(g),A=e("pVnL"),b=e.n(A),m=e("q1tI"),d=e("UmKh"),r=e("TSYQ"),a=e.n(r),s=e("J4zp"),i=e.n(s),n=e("H84U"),l=e("0n0R"),t=function(E,T){var D={};for(var B in E)Object.prototype.hasOwnProperty.call(E,B)&&T.indexOf(B)<0&&(D[B]=E[B]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,B=Object.getOwnPropertySymbols(E);R<B.length;R++)T.indexOf(B[R])<0&&Object.prototype.propertyIsEnumerable.call(E,B[R])&&(D[B[R]]=E[B[R]]);return D};function u(E){return E?E.toString().split("").reverse().map(function(T){var D=Number(T);return isNaN(D)?T:D}):[]}function o(E,T){for(var D=[],B=0;B<30;B++)D.push(m.createElement("p",{key:B.toString(),className:a()(T,{current:E===B})},B%10));return D}var c=function(T){var D=T.prefixCls,B=T.count,R=T.className,F=T.style,M=T.title,K=T.component,j=K===void 0?"sup":K,H=T.displayComponent,k=T.onAnimated,P=k===void 0?function(){}:k,z=t(T,["prefixCls","count","className","style","title","component","displayComponent","onAnimated"]),Y=m.useState(!0),_=i()(Y,2),G=_[0],J=_[1],ue=m.useState(B),q=i()(ue,2),re=q[0],me=q[1],be=m.useState(B),ke=i()(be,2),ce=ke[0],Ee=ke[1],pe=m.useState(B),Se=i()(pe,2),st=Se[0],qe=Se[1],tt=m.useContext(n.b),Dt=tt.getPrefixCls,ct=Dt("scroll-number",D);ce!==B&&(J(!0),Ee(B)),m.useEffect(function(){qe(re);var Me;return G&&(Me=setTimeout(function(){J(!1),me(B),P()})),function(){Me&&clearTimeout(Me)}},[G,B,P]);var St=function(Ne,it){var wt=Math.abs(Number(re)),jt=Math.abs(Number(st)),lt=Math.abs(u(re)[it]),Te=Math.abs(u(jt)[it]);return G?10+Ne:wt>jt?lt>=Te?10+Ne:20+Ne:lt<=Te?10+Ne:Ne},rt=function(Ne,it){if(typeof Ne=="number"){var wt=St(Ne,it),jt=G||u(st)[it]===void 0;return m.createElement("span",{className:"".concat(ct,"-only"),style:{transition:jt?"none":void 0,msTransform:"translateY(".concat(-wt*100,"%)"),WebkitTransform:"translateY(".concat(-wt*100,"%)"),transform:"translateY(".concat(-wt*100,"%)")},key:it},o(wt,"".concat(ct,"-only-unit")))}return m.createElement("span",{key:"symbol",className:"".concat(ct,"-symbol")},Ne)},ht=function(){return re&&Number(re)%1===0?u(re).map(function(Ne,it){return rt(Ne,it)}).reverse():re},je=b()(b()({},z),{style:F,className:a()(ct,R),title:M});return F&&F.borderColor&&(je.style=b()(b()({},F),{boxShadow:"0 0 0 1px ".concat(F.borderColor," inset")})),H?Object(l.a)(H,{className:a()("".concat(ct,"-custom-component"),H.props&&H.props.className)}):m.createElement(j,je,ht())},h=c,f=e("09Wf");function w(E){return f.a.indexOf(E)!==-1}var x=function(T){var D,B=T.className,R=T.prefixCls,F=T.style,M=T.color,K=T.children,j=T.text,H=T.placement,k=H===void 0?"end":H,P=m.useContext(n.b),z=P.getPrefixCls,Y=P.direction,_=z("ribbon",R),G=w(M),J=a()(_,B,"".concat(_,"-placement-").concat(k),(D={},L()(D,"".concat(_,"-rtl"),Y==="rtl"),L()(D,"".concat(_,"-color-").concat(M),G),D)),ue={},q={};return M&&!G&&(ue.background=M,q.color=M),m.createElement("div",{className:"".concat(_,"-wrapper")},K,m.createElement("div",{className:J,style:b()(b()({},ue),F)},j,m.createElement("div",{className:"".concat(_,"-corner"),style:q})))},I=x,C=function(E,T){var D={};for(var B in E)Object.prototype.hasOwnProperty.call(E,B)&&T.indexOf(B)<0&&(D[B]=E[B]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,B=Object.getOwnPropertySymbols(E);R<B.length;R++)T.indexOf(B[R])<0&&Object.prototype.propertyIsEnumerable.call(E,B[R])&&(D[B[R]]=E[B[R]]);return D},N=function(T){var D,B,R=T.prefixCls,F=T.scrollNumberPrefixCls,M=T.children,K=T.status,j=T.text,H=T.color,k=T.count,P=k===void 0?null:k,z=T.overflowCount,Y=z===void 0?99:z,_=T.dot,G=_===void 0?!1:_,J=T.size,ue=J===void 0?"default":J,q=T.title,re=T.offset,me=T.style,be=T.className,ke=T.showZero,ce=ke===void 0?!1:ke,Ee=C(T,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","showZero"]),pe=m.useContext(n.b),Se=pe.getPrefixCls,st=pe.direction,qe=Se("badge",R),tt=function(){var Yt=P>Y?"".concat(Y,"+"):P;return Yt},Dt=function(){return!!K||!!H},ct=function(){var Yt=tt();return Yt==="0"||Yt===0},St=function(){return G&&!ct()||Dt()},rt=function(){return St()?"":tt()},ht=function(){return q||(typeof P=="string"||typeof P=="number"?P:void 0)},je=function(){return st==="rtl"?re?b()({left:parseInt(re[0],10),marginTop:re[1]},me):me:re?b()({right:-parseInt(re[0],10),marginTop:re[1]},me):me},Me=function(){var Yt=rt(),Qt=Yt==null||Yt==="";return(Qt||ct()&&!ce)&&!St()},Ne=function(){var Yt=Me();return Yt||!j?null:m.createElement("span",{className:"".concat(qe,"-status-text")},j)},it=function(){var Yt=P;return!Yt||v()(Yt)!=="object"?void 0:Object(l.a)(Yt,{style:b()(b()({},je()),Yt.props&&Yt.props.style)})},wt=function(){var Yt,Qt=Se("scroll-number",F),an=rt(),on=St(),vt=Me(),de=a()((Yt={},L()(Yt,"".concat(qe,"-dot"),on),L()(Yt,"".concat(qe,"-count"),!on),L()(Yt,"".concat(qe,"-count-sm"),ue==="small"),L()(Yt,"".concat(qe,"-multiple-words"),!on&&P&&P.toString&&P.toString().length>1),L()(Yt,"".concat(qe,"-status-").concat(K),!!K),L()(Yt,"".concat(qe,"-status-").concat(H),w(H)),Yt)),he=je();return H&&!w(H)&&(he=he||{},he.background=H),vt?null:m.createElement(h,{prefixCls:Qt,"data-show":!vt,className:de,count:an,displayComponent:it(),title:ht(),style:he,key:"scrollNumber"})},jt=a()((D={},L()(D,"".concat(qe,"-status-dot"),Dt()),L()(D,"".concat(qe,"-status-").concat(K),!!K),L()(D,"".concat(qe,"-status-").concat(H),w(H)),D)),lt={};H&&!w(H)&&(lt.background=H);var Te=a()(be,qe,(B={},L()(B,"".concat(qe,"-status"),Dt()),L()(B,"".concat(qe,"-not-a-wrapper"),!M),L()(B,"".concat(qe,"-rtl"),st==="rtl"),B));if(!M&&Dt()){var mt=je(),tn=mt&&mt.color;return m.createElement("span",b()({},Ee,{className:Te,style:mt}),m.createElement("span",{className:jt,style:lt}),m.createElement("span",{style:{color:tn},className:"".concat(qe,"-status-text")},j))}return m.createElement("span",b()({},Ee,{className:Te}),M,m.createElement(d.a,{component:"",showProp:"data-show",transitionName:M?"".concat(qe,"-zoom"):"",transitionAppear:!0},wt()),Ne())};N.Ribbon=I;var S=U.a=N},Kvyg:function(te,U,e){},KxBF:function(te,U){function e(y,L,g){var v=-1,A=y.length;L<0&&(L=-L>A?0:A+L),g=g>A?A:g,g<0&&(g+=A),A=L>g?0:g-L>>>0,L>>>=0;for(var b=Array(A);++v<A;)b[v]=y[v+L];return b}te.exports=e},KxFI:function(te,U,e){},KxfA:function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("bYtY"),v=g.isTypedArray,A=g.extend,b=g.assert,m=g.each,d=g.isObject,r=e("4NO4"),a=r.getDataItemValue,s=r.isDataItemOption,i=e("OELB"),n=i.parseDate,l=e("7G+c"),t=e("k9D9"),u=t.SOURCE_FORMAT_TYPED_ARRAY,o=t.SOURCE_FORMAT_ARRAY_ROWS,c=t.SOURCE_FORMAT_ORIGINAL,h=t.SOURCE_FORMAT_OBJECT_ROWS;function f(M,K){l.isInstance(M)||(M=l.seriesDataToSource(M)),this._source=M;var j=this._data=M.data,H=M.sourceFormat;H===u&&(this._offset=0,this._dimSize=K,this._data=j);var k=x[H===o?H+"_"+M.seriesLayoutBy:H];A(this,k)}var w=f.prototype;w.pure=!1,w.persistent=!0,w.getSource=function(){return this._source};var x={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(M){return this._data[M+this._source.startIndex]},appendData:N},arrayRows_row:{pure:!0,count:function(){var M=this._data[0];return M?Math.max(0,M.length-this._source.startIndex):0},getItem:function(M){M+=this._source.startIndex;for(var K=[],j=this._data,H=0;H<j.length;H++){var k=j[H];K.push(k?k[M]:null)}return K},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:I,getItem:C,appendData:N},keyedColumns:{pure:!0,count:function(){var M=this._source.dimensionsDefine[0].name,K=this._data[M];return K?K.length:0},getItem:function(M){for(var K=[],j=this._source.dimensionsDefine,H=0;H<j.length;H++){var k=this._data[j[H].name];K.push(k?k[M]:null)}return K},appendData:function(M){var K=this._data;m(M,function(j,H){for(var k=K[H]||(K[H]=[]),P=0;P<(j||[]).length;P++)k.push(j[P])})}},original:{count:I,getItem:C,appendData:N},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(M,K){M=M-this._offset,K=K||[];for(var j=this._dimSize*M,H=0;H<this._dimSize;H++)K[H]=this._data[j+H];return K},appendData:function(M){this._data=M},clean:function(){this._offset+=this.count(),this._data=null}}};function I(){return this._data.length}function C(M){return this._data[M]}function N(M){for(var K=0;K<M.length;K++)this._data.push(M[K])}var S={arrayRows:E,objectRows:function(M,K,j,H){return j!=null?M[H]:M},keyedColumns:E,original:function(M,K,j,H){var k=a(M);return j==null||!(k instanceof Array)?k:k[j]},typedArray:E};function E(M,K,j,H){return j!=null?M[j]:M}var T={arrayRows:D,objectRows:function(M,K,j,H){return B(M[K],this._dimensionInfos[K])},keyedColumns:D,original:function(M,K,j,H){var k=M&&(M.value==null?M:M.value);return!this._rawData.pure&&s(M)&&(this.hasItemOption=!0),B(k instanceof Array?k[H]:k,this._dimensionInfos[K])},typedArray:function(M,K,j,H){return M[H]}};function D(M,K,j,H){return B(M[H],this._dimensionInfos[K])}function B(M,K){var j=K&&K.type;if(j==="ordinal"){var H=K&&K.ordinalMeta;return H?H.parseAndCollect(M):M}return j==="time"&&typeof M!="number"&&M!=null&&M!=="-"&&(M=+n(M)),M==null||M===""?NaN:+M}function R(M,K,j){if(!M)return;var H=M.getRawDataItem(K);if(H==null)return;var k=M.getProvider().getSource().sourceFormat,P,z,Y=M.getDimensionInfo(j);return Y&&(P=Y.name,z=Y.index),S[k](H,K,z,P)}function F(M,K,j){if(!M)return;var H=M.getProvider().getSource().sourceFormat;if(H!==c&&H!==h)return;var k=M.getRawDataItem(K);if(H===c&&!d(k)&&(k=null),k)return k[j]}U.DefaultDataProvider=f,U.defaultDimValueGetters=T,U.retrieveRawValue=R,U.retrieveRawAttr=F},L0Ub:function(te,U,e){var y=e("bYtY"),L=y.each,g=y.createHashMap,v=y.assert,A=e("Tghj"),b=A.__DEV__,m=g(["tooltip","label","itemName","itemId","seriesName"]);function d(i){var n={},l=n.encode={},t=g(),u=[],o=[],c=n.userOutput={dimensionNames:i.dimensions.slice(),encode:{}};L(i.dimensions,function(I){var C=i.getDimensionInfo(I),N=C.coordDim;if(N){var S=C.coordDimIndex;r(l,N)[S]=I,C.isExtraCoord||(t.set(N,1),s(C.type)&&(u[0]=I),r(c.encode,N)[S]=C.index),C.defaultTooltip&&o.push(I)}m.each(function(E,T){var D=r(l,T),B=C.otherDims[T];B!=null&&B!==!1&&(D[B]=C.name)})});var h=[],f={};t.each(function(I,C){var N=l[C];f[C]=N[0],h=h.concat(N)}),n.dataDimsOnCoord=h,n.encodeFirstDimNotExtra=f;var w=l.label;w&&w.length&&(u=w.slice());var x=l.tooltip;return x&&x.length?o=x.slice():o.length||(o=u.slice()),l.defaultedLabel=u,l.defaultedTooltip=o,n}function r(i,n){return i.hasOwnProperty(n)||(i[n]=[]),i[n]}function a(i){return i==="category"?"ordinal":i==="time"?"time":"float"}function s(i){return!(i==="ordinal"||i==="time")}U.OTHER_DIMENSIONS=m,U.summarizeDimensions=d,U.getDimensionTypeByAxis=a},L3Oj:function(te,U,e){var y=e("ProS"),L=e("bYtY"),g=e("HjIi");e("HM/N"),e("9eas"),e("eS4l"),e("y4/Y"),e("as94"),y.registerLayout(L.curry(g,"bar")),y.extendComponentView({type:"polar"})},L5E0:function(te,U){var e=["itemStyle","borderColor"];function y(L,g){var v=L.get("color");L.eachRawSeriesByType("boxplot",function(A){var b=v[A.seriesIndex%v.length],m=A.getData();m.setVisual({legendSymbol:"roundRect",color:A.get(e)||b}),L.isSeriesFiltered(A)||m.each(function(d){var r=m.getItemModel(d);m.setItemVisual(d,{color:r.get(e,!0)})})})}te.exports=y},LBfv:function(te,U,e){var y=e("ProS"),L=e("bYtY"),g=L.createHashMap,v=L.each;y.registerProcessor({getTargetSeries:function(A){var b=g();return A.eachComponent("dataZoom",function(m){m.eachTargetAxis(function(d,r,a){var s=a.getAxisProxy(d.name,r);v(s.getTargetSeriesModels(),function(i){b.set(i.uid,i)})})}),b},modifyOutputEnd:!0,overallReset:function(A,b){A.eachComponent("dataZoom",function(m){m.eachTargetAxis(function(d,r,a){a.getAxisProxy(d.name,r).reset(a,b)}),m.eachTargetAxis(function(d,r,a){a.getAxisProxy(d.name,r).filterData(a,b)})}),A.eachComponent("dataZoom",function(m){var d=m.findRepresentativeAxisProxy(),r=d.getDataPercentWindow(),a=d.getDataValueWindow();m.setCalculatedRange({start:r[0],end:r[1],startValue:a[0],endValue:a[1]})})}})},LPTA:function(te,U){var e=1;typeof window!="undefined"&&(e=Math.max(window.devicePixelRatio||1,1));var y=0,L=e;U.debugMode=y,U.devicePixelRatio=L},LPzL:function(te,U,e){var y=e("ProS");e("QzjZ"),e("vL6D"),e("xiyX"),e("y4/Y"),e("8Th4"),y.extendComponentView({type:"single"})},LSTS:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0});var y=function(){function i(n,l){for(var t=0;t<l.length;t++){var u=l[t];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(n,u.key,u)}}return function(n,l,t){return l&&i(n.prototype,l),t&&i(n,t),n}}(),L=e("q1tI"),g=b(L),v=e("17x9"),A=b(v);function b(i){return i&&i.__esModule?i:{default:i}}function m(i,n){var l={};for(var t in i){if(n.indexOf(t)>=0)continue;if(!Object.prototype.hasOwnProperty.call(i,t))continue;l[t]=i[t]}return l}function d(i,n){if(!(i instanceof n))throw new TypeError("Cannot call a class as a function")}function r(i,n){if(!i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:i}function a(i,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);i.prototype=Object.create(n&&n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(i,n):i.__proto__=n)}var s=function(i){a(n,i);function n(l){d(this,n);var t=r(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,l));return t.scrollListener=t.scrollListener.bind(t),t.eventListenerOptions=t.eventListenerOptions.bind(t),t.mousewheelListener=t.mousewheelListener.bind(t),t}return y(n,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var t=this.getParentElement(this.scrollComponent);t.scrollTop=t.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var t=!1,u={get passive(){t=!0}};try{document.addEventListener("test",null,u),document.removeEventListener("test",null,u)}catch(o){}return t}},{key:"eventListenerOptions",value:function(){var t=this.props.useCapture;return this.isPassiveSupported()&&(t={useCapture:this.props.useCapture,passive:!0}),t}},{key:"setDefaultLoader",value:function(t){this.defaultLoader=t}},{key:"detachMousewheelListener",value:function(){var t=window;this.props.useWindow===!1&&(t=this.scrollComponent.parentNode),t.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var t=window;this.props.useWindow===!1&&(t=this.getParentElement(this.scrollComponent)),t.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),t.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(t){var u=this.props.getScrollParent&&this.props.getScrollParent();return u!=null?u:t&&t.parentNode}},{key:"filterProps",value:function(t){return t}},{key:"attachScrollListener",value:function(){var t=this.getParentElement(this.scrollComponent);if(!this.props.hasMore||!t)return;var u=window;this.props.useWindow===!1&&(u=t),u.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),u.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),u.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}},{key:"mousewheelListener",value:function(t){t.deltaY===1&&!this.isPassiveSupported()&&t.preventDefault()}},{key:"scrollListener",value:function(){var t=this.scrollComponent,u=window,o=this.getParentElement(t),c=void 0;if(this.props.useWindow){var h=document.documentElement||document.body.parentNode||document.body,f=u.pageYOffset!==void 0?u.pageYOffset:h.scrollTop;this.props.isReverse?c=f:c=this.calculateOffset(t,f)}else this.props.isReverse?c=o.scrollTop:c=t.scrollHeight-o.scrollTop-o.clientHeight;c<Number(this.props.threshold)&&t&&t.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=o.scrollHeight,this.beforeScrollTop=o.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(t,u){return t?this.calculateTopPosition(t)+(t.offsetHeight-u-window.innerHeight):0}},{key:"calculateTopPosition",value:function(t){return t?t.offsetTop+this.calculateTopPosition(t.offsetParent):0}},{key:"render",value:function(){var t=this,u=this.filterProps(this.props),o=u.children,c=u.element,h=u.hasMore,f=u.initialLoad,w=u.isReverse,x=u.loader,I=u.loadMore,C=u.pageStart,N=u.ref,S=u.threshold,E=u.useCapture,T=u.useWindow,D=u.getScrollParent,B=m(u,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);B.ref=function(F){t.scrollComponent=F,N&&N(F)};var R=[o];return h&&(x?w?R.unshift(x):R.push(x):this.defaultLoader&&(w?R.unshift(this.defaultLoader):R.push(this.defaultLoader))),g.default.createElement(c,B,R)}}]),n}(L.Component);s.propTypes={children:A.default.node.isRequired,element:A.default.node,hasMore:A.default.bool,initialLoad:A.default.bool,isReverse:A.default.bool,loader:A.default.node,loadMore:A.default.func.isRequired,pageStart:A.default.number,ref:A.default.func,getScrollParent:A.default.func,threshold:A.default.number,useCapture:A.default.bool,useWindow:A.default.bool},s.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},U.default=s,te.exports=U.default},Lerx:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=L(e("Mds0"));function L(v){return v&&v.__esModule?v:{default:v}}var g=y;U.default=g,te.exports=g},Llu2:function(te,U,e){"use strict";var y=e("VTBJ"),L=e("q1tI"),g={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"},v=g,A=e("6VBw"),b=function(r,a){return L.createElement(A.a,Object(y.a)(Object(y.a)({},r),{},{ref:a,icon:v}))};b.displayName="DeliveredProcedureOutlined";var m=U.a=L.forwardRef(b)},LtfV:function(te,U,e){"use strict";var y=e("VTBJ"),L=e("q1tI"),g={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"},v=g,A=e("6VBw"),b=function(r,a){return L.createElement(A.a,Object(y.a)(Object(y.a)({},r),{},{ref:a,icon:v}))};b.displayName="InboxOutlined";var m=U.a=L.forwardRef(b)},Lyp1:function(te,U,e){"use strict";var y=e("VTBJ"),L=e("q1tI"),g={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"},v=g,A=e("6VBw"),b=function(r,a){return L.createElement(A.a,Object(y.a)(Object(y.a)({},r),{},{ref:a,icon:v}))};b.displayName="QuestionCircleOutlined";var m=U.a=L.forwardRef(b)},LzGr:function(te,U,e){var y=e("ProS"),L=e("rnVJ");e("EMyp"),e("8x+h"),e("wt3j"),e("uOyE"),e("/stD"),y.registerPreprocessor(L)},MBQ8:function(te,U,e){var y=e("T4UG"),L=e("MwEJ"),g=y.extend({type:"series.__base_bar__",getInitialData:function(v,A){return L(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(v){var A=this.coordinateSystem;if(A){var b=A.dataToPoint(A.clampData(v)),m=this.getData(),d=m.getLayout("offset"),r=m.getLayout("size"),a=A.getBaseAxis().isHorizontal()?0:1;return b[a]+=d+r/2,b}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",itemStyle:{},emphasis:{}}});te.exports=g},MEGo:function(te,U,e){var y=e("4fz+"),L=e("Dagg"),g=e("dqUG"),v=e("2fw6"),A=e("x6Kt"),b=e("rmlV"),m=e("yxFR"),d=e("y+Vt"),r=e("h7HQ"),a=e("1Jh7"),s=e("SKnc"),i=e("K2GJ"),n=e("Fofx"),l=e("NC18"),t=l.createFromString,u=e("bYtY"),o=u.isString,c=u.extend,h=u.defaults,f=u.trim,w=u.each,x=/[\s,]+/;function I(Y){if(o(Y)){var _=new DOMParser;Y=_.parseFromString(Y,"text/xml")}for(Y.nodeType===9&&(Y=Y.firstChild);Y.nodeName.toLowerCase()!=="svg"||Y.nodeType!==1;)Y=Y.nextSibling;return Y}function C(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}C.prototype.parse=function(Y,_){_=_||{};var G=I(Y);if(!G)throw new Error("Illegal svg");var J=new y;this._root=J;var ue=G.getAttribute("viewBox")||"",q=parseFloat(G.getAttribute("width")||_.width),re=parseFloat(G.getAttribute("height")||_.height);isNaN(q)&&(q=null),isNaN(re)&&(re=null),R(G,J,null,!0);for(var me=G.firstChild;me;)this._parseNode(me,J),me=me.nextSibling;var be,ke;if(ue){var ce=f(ue).split(x);ce.length>=4&&(be={x:parseFloat(ce[0]||0),y:parseFloat(ce[1]||0),width:parseFloat(ce[2]),height:parseFloat(ce[3])})}if(be&&q!=null&&re!=null&&(ke=P(be,q,re),!_.ignoreViewBox)){var Ee=J;J=new y,J.add(Ee),Ee.scale=ke.scale.slice(),Ee.position=ke.position.slice()}return!_.ignoreRootClip&&q!=null&&re!=null&&J.setClipPath(new A({shape:{x:0,y:0,width:q,height:re}})),{root:J,width:q,height:re,viewBoxRect:be,viewBoxTransform:ke}},C.prototype._parseNode=function(Y,_){var G=Y.nodeName.toLowerCase();G==="defs"?this._isDefine=!0:G==="text"&&(this._isText=!0);var J;if(this._isDefine){var ue=S[G];if(ue){var q=ue.call(this,Y),re=Y.getAttribute("id");re&&(this._defs[re]=q)}}else{var ue=N[G];ue&&(J=ue.call(this,Y,_),_.add(J))}for(var me=Y.firstChild;me;)me.nodeType===1&&this._parseNode(me,J),me.nodeType===3&&this._isText&&this._parseText(me,J),me=me.nextSibling;G==="defs"?this._isDefine=!1:G==="text"&&(this._isText=!1)},C.prototype._parseText=function(Y,_){if(Y.nodeType===1){var G=Y.getAttribute("dx")||0,J=Y.getAttribute("dy")||0;this._textX+=parseFloat(G),this._textY+=parseFloat(J)}var ue=new g({style:{text:Y.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});T(_,ue),R(Y,ue,this._defs);var q=ue.style.fontSize;q&&q<9&&(ue.style.fontSize=9,ue.scale=ue.scale||[1,1],ue.scale[0]*=q/9,ue.scale[1]*=q/9);var re=ue.getBoundingRect();return this._textX+=re.width,_.add(ue),ue};var N={g:function(_,G){var J=new y;return T(G,J),R(_,J,this._defs),J},rect:function(_,G){var J=new A;return T(G,J),R(_,J,this._defs),J.setShape({x:parseFloat(_.getAttribute("x")||0),y:parseFloat(_.getAttribute("y")||0),width:parseFloat(_.getAttribute("width")||0),height:parseFloat(_.getAttribute("height")||0)}),J},circle:function(_,G){var J=new v;return T(G,J),R(_,J,this._defs),J.setShape({cx:parseFloat(_.getAttribute("cx")||0),cy:parseFloat(_.getAttribute("cy")||0),r:parseFloat(_.getAttribute("r")||0)}),J},line:function(_,G){var J=new m;return T(G,J),R(_,J,this._defs),J.setShape({x1:parseFloat(_.getAttribute("x1")||0),y1:parseFloat(_.getAttribute("y1")||0),x2:parseFloat(_.getAttribute("x2")||0),y2:parseFloat(_.getAttribute("y2")||0)}),J},ellipse:function(_,G){var J=new b;return T(G,J),R(_,J,this._defs),J.setShape({cx:parseFloat(_.getAttribute("cx")||0),cy:parseFloat(_.getAttribute("cy")||0),rx:parseFloat(_.getAttribute("rx")||0),ry:parseFloat(_.getAttribute("ry")||0)}),J},polygon:function(_,G){var J=_.getAttribute("points");J&&(J=D(J));var ue=new r({shape:{points:J||[]}});return T(G,ue),R(_,ue,this._defs),ue},polyline:function(_,G){var J=new d;T(G,J),R(_,J,this._defs);var ue=_.getAttribute("points");ue&&(ue=D(ue));var q=new a({shape:{points:ue||[]}});return q},image:function(_,G){var J=new L;return T(G,J),R(_,J,this._defs),J.setStyle({image:_.getAttribute("xlink:href"),x:_.getAttribute("x"),y:_.getAttribute("y"),width:_.getAttribute("width"),height:_.getAttribute("height")}),J},text:function(_,G){var J=_.getAttribute("x")||0,ue=_.getAttribute("y")||0,q=_.getAttribute("dx")||0,re=_.getAttribute("dy")||0;this._textX=parseFloat(J)+parseFloat(q),this._textY=parseFloat(ue)+parseFloat(re);var me=new y;return T(G,me),R(_,me,this._defs),me},tspan:function(_,G){var J=_.getAttribute("x"),ue=_.getAttribute("y");J!=null&&(this._textX=parseFloat(J)),ue!=null&&(this._textY=parseFloat(ue));var q=_.getAttribute("dx")||0,re=_.getAttribute("dy")||0,me=new y;return T(G,me),R(_,me,this._defs),this._textX+=q,this._textY+=re,me},path:function(_,G){var J=_.getAttribute("d")||"",ue=t(J);return T(G,ue),R(_,ue,this._defs),ue}},S={lineargradient:function(_){var G=parseInt(_.getAttribute("x1")||0,10),J=parseInt(_.getAttribute("y1")||0,10),ue=parseInt(_.getAttribute("x2")||10,10),q=parseInt(_.getAttribute("y2")||0,10),re=new s(G,J,ue,q);return E(_,re),re},radialgradient:function(_){}};function E(Y,_){for(var G=Y.firstChild;G;){if(G.nodeType===1){var J=G.getAttribute("offset");J.indexOf("%")>0?J=parseInt(J,10)/100:J?J=parseFloat(J):J=0;var ue=G.getAttribute("stop-color")||"#000000";_.addColorStop(J,ue)}G=G.nextSibling}}function T(Y,_){Y&&Y.__inheritedStyle&&(_.__inheritedStyle||(_.__inheritedStyle={}),h(_.__inheritedStyle,Y.__inheritedStyle))}function D(Y){for(var _=f(Y).split(x),G=[],J=0;J<_.length;J+=2){var ue=parseFloat(_[J]),q=parseFloat(_[J+1]);G.push([ue,q])}return G}var B={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-align":"textAlign","alignment-baseline":"textBaseline"};function R(Y,_,G,J){var ue=_.__inheritedStyle||{},q=_.type==="text";if(Y.nodeType===1&&(j(Y,_),c(ue,k(Y)),!J)){for(var re in B)if(B.hasOwnProperty(re)){var me=Y.getAttribute(re);me!=null&&(ue[B[re]]=me)}}var be=q?"textFill":"fill",ke=q?"textStroke":"stroke";_.style=_.style||new i;var ce=_.style;ue.fill!=null&&ce.set(be,M(ue.fill,G)),ue.stroke!=null&&ce.set(ke,M(ue.stroke,G)),w(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(Ee){var pe=Ee==="lineWidth"&&q?"textStrokeWidth":Ee;ue[Ee]!=null&&ce.set(pe,parseFloat(ue[Ee]))}),(!ue.textBaseline||ue.textBaseline==="auto")&&(ue.textBaseline="alphabetic"),ue.textBaseline==="alphabetic"&&(ue.textBaseline="bottom"),ue.textAlign==="start"&&(ue.textAlign="left"),ue.textAlign==="end"&&(ue.textAlign="right"),w(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(Ee){ue[Ee]!=null&&ce.set(Ee,ue[Ee])}),ue.lineDash&&(_.style.lineDash=f(ue.lineDash).split(x)),ce[ke]&&ce[ke]!=="none"&&(_[ke]=!0),_.__inheritedStyle=ue}var F=/url\(\s*#(.*?)\)/;function M(Y,_){var G=_&&Y&&Y.match(F);if(G){var J=f(G[1]),ue=_[J];return ue}return Y}var K=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function j(Y,_){var G=Y.getAttribute("transform");if(G){G=G.replace(/,/g," ");var J=null,ue=[];G.replace(K,function(be,ke,ce){ue.push(ke,ce)});for(var q=ue.length-1;q>0;q-=2){var re=ue[q],me=ue[q-1];J=J||n.create();switch(me){case"translate":re=f(re).split(x),n.translate(J,J,[parseFloat(re[0]),parseFloat(re[1]||0)]);break;case"scale":re=f(re).split(x),n.scale(J,J,[parseFloat(re[0]),parseFloat(re[1]||re[0])]);break;case"rotate":re=f(re).split(x),n.rotate(J,J,parseFloat(re[0]));break;case"skew":re=f(re).split(x),console.warn("Skew transform is not supported yet");break;case"matrix":var re=f(re).split(x);J[0]=parseFloat(re[0]),J[1]=parseFloat(re[1]),J[2]=parseFloat(re[2]),J[3]=parseFloat(re[3]),J[4]=parseFloat(re[4]),J[5]=parseFloat(re[5]);break}}_.setLocalTransform(J)}}var H=/([^\s:;]+)\s*:\s*([^:;]+)/g;function k(Y){var _=Y.getAttribute("style"),G={};if(!_)return G;var J={};H.lastIndex=0;for(var ue;(ue=H.exec(_))!=null;)J[ue[1]]=ue[2];for(var q in B)B.hasOwnProperty(q)&&J[q]!=null&&(G[B[q]]=J[q]);return G}function P(Y,_,G){var J=_/Y.width,ue=G/Y.height,q=Math.min(J,ue),re=[q,q],me=[-(Y.x+Y.width/2)*q+_/2,-(Y.y+Y.height/2)*q+G/2];return{scale:re,position:me}}function z(Y,_){var G=new C;return G.parse(Y,_)}U.parseXML=I,U.makeViewBoxTransform=P,U.parseSVG=z},MFOe:function(te,U,e){(function(y){var L=b(),g=m(),v=d(),A=typeof window!="undefined"?window:y;te.exports={assign:L,create:g,trim:v,bind:r,slice:a,each:s,map:i,pluck:n,isList:l,isFunction:t,isObject:u,Global:A};function b(){return Object.assign?Object.assign:function(c,h,f,w){for(var x=1;x<arguments.length;x++)s(Object(arguments[x]),function(I,C){c[C]=I});return c}}function m(){if(Object.create)return function(h,f,w,x){var I=a(arguments,1);return L.apply(this,[Object.create(h)].concat(I))};var o=function(){};return function(h,f,w,x){var I=a(arguments,1);return o.prototype=h,L.apply(this,[new o].concat(I))}}function d(){return String.prototype.trim?function(c){return String.prototype.trim.call(c)}:function(c){return c.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}function r(o,c){return function(){return c.apply(o,Array.prototype.slice.call(arguments,0))}}function a(o,c){return Array.prototype.slice.call(o,c||0)}function s(o,c){n(o,function(h,f){return c(h,f),!1})}function i(o,c){var h=l(o)?[]:{};return n(o,function(f,w){return h[w]=c(f,w),!1}),h}function n(o,c){if(l(o)){for(var h=0;h<o.length;h++)if(c(o[h],h))return o[h]}else for(var f in o)if(o.hasOwnProperty(f)&&c(o[f],f))return o[f]}function l(o){return o!=null&&typeof o!="function"&&typeof o.length=="number"}function t(o){return o&&{}.toString.call(o)==="[object Function]"}function u(o){return o&&{}.toString.call(o)==="[object Object]"}}).call(this,e("IyRk"))},MH26:function(te,U,e){var y=e("bYtY"),L=e("YXkt"),g=e("OELB"),v=e("kj2x"),A=e("c8qY"),b=e("iPDy"),m=e("7hqr"),d=m.getStackedDimension,r=function(u,o,c,h){var f=u.getData(),w=h.type;if(!y.isArray(h)&&(w==="min"||w==="max"||w==="average"||w==="median"||h.xAxis!=null||h.yAxis!=null)){var x,I;if(h.yAxis!=null||h.xAxis!=null)x=o.getAxis(h.yAxis!=null?"y":"x"),I=y.retrieve(h.yAxis,h.xAxis);else{var C=v.getAxisInfo(h,f,o,u);x=C.valueAxis;var N=d(f,C.valueDataDim);I=v.numCalculate(f,N,w)}var S=x.dim==="x"?0:1,E=1-S,T=y.clone(h),D={};T.type=null,T.coord=[],D.coord=[],T.coord[E]=-Infinity,D.coord[E]=Infinity;var B=c.get("precision");B>=0&&typeof I=="number"&&(I=+I.toFixed(Math.min(B,20))),T.coord[S]=D.coord[S]=I,h=[T,D,{type:w,valueIndex:h.valueIndex,value:I}]}return h=[v.dataTransform(u,h[0]),v.dataTransform(u,h[1]),y.extend({},h[2])],h[2].type=h[2].type||"",y.merge(h[2],h[0]),y.merge(h[2],h[1]),h};function a(u){return!isNaN(u)&&!isFinite(u)}function s(u,o,c,h){var f=1-u,w=h.dimensions[u];return a(o[f])&&a(c[f])&&o[u]===c[u]&&h.getAxis(w).containData(o[u])}function i(u,o){if(u.type==="cartesian2d"){var c=o[0].coord,h=o[1].coord;if(c&&h&&(s(1,c,h,u)||s(0,c,h,u)))return!0}return v.dataFilter(u,o[0])&&v.dataFilter(u,o[1])}function n(u,o,c,h,f){var w=h.coordinateSystem,x=u.getItemModel(o),I,C=g.parsePercent(x.get("x"),f.getWidth()),N=g.parsePercent(x.get("y"),f.getHeight());if(!isNaN(C)&&!isNaN(N))I=[C,N];else{if(h.getMarkerPosition)I=h.getMarkerPosition(u.getValues(u.dimensions,o));else{var S=w.dimensions,E=u.get(S[0],o),T=u.get(S[1],o);I=w.dataToPoint([E,T])}if(w.type==="cartesian2d"){var D=w.getAxis("x"),B=w.getAxis("y"),S=w.dimensions;a(u.get(S[0],o))?I[0]=D.toGlobalCoord(D.getExtent()[c?0:1]):a(u.get(S[1],o))&&(I[1]=B.toGlobalCoord(B.getExtent()[c?0:1]))}isNaN(C)||(I[0]=C),isNaN(N)||(I[1]=N)}u.setItemLayout(o,I)}var l=b.extend({type:"markLine",updateTransform:function(u,o,c){o.eachSeries(function(h){var f=h.markLineModel;if(f){var w=f.getData(),x=f.__from,I=f.__to;x.each(function(C){n(x,C,!0,h,c),n(I,C,!1,h,c)}),w.each(function(C){w.setItemLayout(C,[x.getItemLayout(C),I.getItemLayout(C)])}),this.markerGroupMap.get(h.id).updateLayout()}},this)},renderSeries:function(u,o,c,h){var f=u.coordinateSystem,w=u.id,x=u.getData(),I=this.markerGroupMap,C=I.get(w)||I.set(w,new A);this.group.add(C.group);var N=t(f,u,o),S=N.from,E=N.to,T=N.line;o.__from=S,o.__to=E,o.setData(T);var D=o.get("symbol"),B=o.get("symbolSize");y.isArray(D)||(D=[D,D]),typeof B=="number"&&(B=[B,B]),N.from.each(function(F){R(S,F,!0),R(E,F,!1)}),T.each(function(F){var M=T.getItemModel(F).get("lineStyle.color");T.setItemVisual(F,{color:M||S.getItemVisual(F,"color")}),T.setItemLayout(F,[S.getItemLayout(F),E.getItemLayout(F)]),T.setItemVisual(F,{fromSymbolSize:S.getItemVisual(F,"symbolSize"),fromSymbol:S.getItemVisual(F,"symbol"),toSymbolSize:E.getItemVisual(F,"symbolSize"),toSymbol:E.getItemVisual(F,"symbol")})}),C.updateData(T),N.line.eachItemGraphicEl(function(F,M){F.traverse(function(K){K.dataModel=o})});function R(F,M,K){var j=F.getItemModel(M);n(F,M,K,u,h),F.setItemVisual(M,{symbolSize:j.get("symbolSize")||B[K?0:1],symbol:j.get("symbol",!0)||D[K?0:1],color:j.get("itemStyle.color")||x.getVisual("color")})}C.__keep=!0,C.group.silent=o.get("silent")||u.get("silent")}});function t(u,o,c){var h;u?h=y.map(u&&u.dimensions,function(N){var S=o.getData().getDimensionInfo(o.getData().mapDimension(N))||{};return y.defaults({name:N},S)}):h=[{name:"value",type:"float"}];var f=new L(h,c),w=new L(h,c),x=new L([],c),I=y.map(c.get("data"),y.curry(r,o,u,c));u&&(I=y.filter(I,y.curry(i,u)));var C=u?v.dimValueGetter:function(N){return N.value};return f.initData(y.map(I,function(N){return N[0]}),null,C),w.initData(y.map(I,function(N){return N[1]}),null,C),x.initData(y.map(I,function(N){return N[2]})),x.hasItemOption=!0,{from:f,to:w,line:x}}te.exports=l},MHoB:function(te,U,e){var y=e("bYtY"),L=e("6uqw"),g=e("OELB"),v=[20,140],A=L.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(d,r){A.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(a){a.mappingMethod="linear",a.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){A.superApply(this,"resetItemSize",arguments);var d=this.itemSize;this._orient==="horizontal"&&d.reverse(),(d[0]==null||isNaN(d[0]))&&(d[0]=v[0]),(d[1]==null||isNaN(d[1]))&&(d[1]=v[1])},_resetRange:function(){var d=this.getExtent(),r=this.option.range;!r||r.auto?(d.auto=1,this.option.range=d):y.isArray(r)&&(r[0]>r[1]&&r.reverse(),r[0]=Math.max(r[0],d[0]),r[1]=Math.min(r[1],d[1]))},completeVisualOption:function(){L.prototype.completeVisualOption.apply(this,arguments),y.each(this.stateList,function(d){var r=this.option.controller[d].symbolSize;r&&r[0]!==r[1]&&(r[0]=0)},this)},setSelected:function(d){this.option.range=d.slice(),this._resetRange()},getSelected:function(){var d=this.getExtent(),r=g.asc((this.get("range")||[]).slice());return r[0]>d[1]&&(r[0]=d[1]),r[1]>d[1]&&(r[1]=d[1]),r[0]<d[0]&&(r[0]=d[0]),r[1]<d[0]&&(r[1]=d[0]),r},getValueState:function(d){var r=this.option.range,a=this.getExtent();return(r[0]<=a[0]||r[0]<=d)&&(r[1]>=a[1]||d<=r[1])?"inRange":"outOfRange"},findTargetDataIndices:function(d){var r=[];return this.eachTargetSeries(function(a){var s=[],i=a.getData();i.each(this.getDataDimension(i),function(n,l){d[0]<=n&&n<=d[1]&&s.push(l)},this),r.push({seriesId:a.id,dataIndex:s})},this),r},getVisualMeta:function(d){var r=b(this,"outOfRange",this.getExtent()),a=b(this,"inRange",this.option.range.slice()),s=[];function i(h,f){s.push({value:h,color:d(h,f)})}for(var n=0,l=0,t=a.length,u=r.length;l<u&&(!a.length||r[l]<=a[0]);l++)r[l]<a[n]&&i(r[l],"outOfRange");for(var o=1;n<t;n++,o=0)o&&s.length&&i(a[n],"outOfRange"),i(a[n],"inRange");for(var o=1;l<u;l++)(!a.length||a[a.length-1]<r[l])&&(o&&(s.length&&i(s[s.length-1].value,"outOfRange"),o=0),i(r[l],"outOfRange"));var c=s.length;return{stops:s,outerColors:[c?s[0].color:"transparent",c?s[c-1].color:"transparent"]}}});function b(d,r,a){if(a[0]===a[1])return a.slice();for(var s=200,i=(a[1]-a[0])/s,n=a[0],l=[],t=0;t<=s&&n<a[1];t++)l.push(n),n+=i;return l.push(a[1]),l}var m=A;te.exports=m},MHtr:function(te,U,e){var y=e("bYtY");function L(v,A){var b=this.getAxis(),m=A instanceof Array?A[0]:A,d=(v instanceof Array?v[0]:v)/2;return b.type==="category"?b.getBandWidth():Math.abs(b.dataToCoord(m-d)-b.dataToCoord(m+d))}function g(v){var A=v.getRect();return{coordSys:{type:"singleAxis",x:A.x,y:A.y,width:A.width,height:A.height},api:{coord:function(b){return v.dataToPoint(b)},size:y.bind(L,v)}}}te.exports=g},MJZm:function(te,U,e){"use strict";var y=e("lSNA"),L=e.n(y),g=e("pVnL"),v=e.n(g),A=e("q1tI"),b=e("fAei"),m=e("TSYQ"),d=e.n(m),r=e("RIqP"),a=e.n(r),s=e("J4zp"),i=e.n(s),n=e("sEfC"),l=e.n(n),t=e("OZM5"),u=e("815F"),o=e("vk+C"),c=e.n(o),h=e("Vy0f"),f=e.n(h),w=e("kGiB"),x=e.n(w),I=e("H84U"),C;(function(z){z[z.None=0]="None",z[z.Start=1]="Start",z[z.End=2]="End"})(C||(C={}));function N(z,Y){function _(G){var J=G.key,ue=G.children;Y(J,G)!==!1&&N(ue||[],Y)}z.forEach(_)}function S(z){var Y=z.treeData,_=z.expandedKeys,G=z.startKey,J=z.endKey,ue=[],q=C.None;if(G&&G===J)return[G];if(!G||!J)return[];function re(me){return me===G||me===J}return N(Y,function(me){if(q===C.End)return!1;if(re(me)){if(ue.push(me),q===C.None)q=C.Start;else if(q===C.Start)return q=C.End,!1}else q===C.Start&&ue.push(me);return!(_.indexOf(me)===-1)}),ue}function E(z,Y){var _=a()(Y),G=[];return N(z,function(J,ue){var q=_.indexOf(J);return q!==-1&&(G.push(ue),_.splice(q,1)),!!_.length}),G}var T=function(z,Y){var _={};for(var G in z)Object.prototype.hasOwnProperty.call(z,G)&&Y.indexOf(G)<0&&(_[G]=z[G]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var J=0,G=Object.getOwnPropertySymbols(z);J<G.length;J++)Y.indexOf(G[J])<0&&Object.prototype.propertyIsEnumerable.call(z,G[J])&&(_[G[J]]=z[G[J]]);return _};function D(z){var Y=z.isLeaf,_=z.expanded;return Y?A.createElement(c.a,null):_?A.createElement(f.a,null):A.createElement(x.a,null)}function B(z){var Y=z.treeData,_=z.children;return Y||Object(u.c)(_)}var R=function(Y,_){var G=Y.defaultExpandAll,J=Y.defaultExpandParent,ue=Y.defaultExpandedKeys,q=T(Y,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]),re=A.useRef(),me=A.useRef(),be=A.createRef();A.useImperativeHandle(_,function(){return be.current});var ke=function(){var Yt=Object(u.a)(B(q)),Qt=Yt.keyEntities,an;return G?an=Object.keys(Qt):J?an=Object(t.e)(q.expandedKeys||ue,Qt):an=q.expandedKeys||ue,an},ce=A.useState(q.selectedKeys||q.defaultSelectedKeys||[]),Ee=i()(ce,2),pe=Ee[0],Se=Ee[1],st=A.useState(ke()),qe=i()(st,2),tt=qe[0],Dt=qe[1];A.useEffect(function(){"selectedKeys"in q&&Se(q.selectedKeys)},[q.selectedKeys]),A.useEffect(function(){"expandedKeys"in q&&Dt(q.expandedKeys)},[q.expandedKeys]);var ct=function(Yt,Qt){var an=Qt.isLeaf;if(an||Yt.shiftKey||Yt.metaKey||Yt.ctrlKey)return;be.current.onNodeExpand(Yt,Qt)},St=l()(ct,200,{leading:!0}),rt=function(Yt,Qt){return"expandedKeys"in q||Dt(Yt),q.onExpand?q.onExpand(Yt,Qt):void 0},ht=function(Yt,Qt){var an=q.expandAction;an==="click"&&St(Yt,Qt),q.onClick&&q.onClick(Yt,Qt)},je=function(Yt,Qt){var an=q.expandAction;an==="doubleClick"&&St(Yt,Qt),q.onDoubleClick&&q.onDoubleClick(Yt,Qt)},Me=function(Yt,Qt){var an=q.multiple,on=Qt.node,vt=Qt.nativeEvent,de=on.key,he=de===void 0?"":de,Pt=B(q),We=v()(v()({},Qt),{selected:!0}),Je=vt.ctrlKey||vt.metaKey,Ln=vt.shiftKey,jn;an&&Je?(jn=Yt,re.current=he,me.current=jn,We.selectedNodes=E(Pt,jn)):an&&Ln?(jn=Array.from(new Set([].concat(a()(me.current||[]),a()(S({treeData:Pt,expandedKeys:tt,startKey:he,endKey:re.current}))))),We.selectedNodes=E(Pt,jn)):(jn=[he],re.current=he,me.current=jn,We.selectedNodes=E(Pt,jn)),q.onSelect&&q.onSelect(jn,We),"selectedKeys"in q||Se(jn)},Ne=A.useContext(I.b),it=Ne.getPrefixCls,wt=Ne.direction,jt=q.prefixCls,lt=q.className,Te=T(q,["prefixCls","className"]),mt=it("tree",jt),tn=d()("".concat(mt,"-directory"),lt,L()({},"".concat(mt,"-directory-rtl"),wt==="rtl"));return A.createElement(k,v()({icon:D,ref:be,blockNode:!0},Te,{prefixCls:mt,className:tn,expandedKeys:tt,selectedKeys:pe,onSelect:Me,onClick:ht,onDoubleClick:je,onExpand:rt}))},F=A.forwardRef(R);F.displayName="DirectoryTree",F.defaultProps={showIcon:!0,expandAction:"click"};var M=F,K=e("EXcs"),j=e("2jpz"),H=A.forwardRef(function(z,Y){var _,G=A.useContext(I.b),J=G.getPrefixCls,ue=G.direction,q=G.virtual,re=z.prefixCls,me=z.className,be=z.showIcon,ke=z.showLine,ce=z.switcherIcon,Ee=z.blockNode,pe=z.children,Se=z.checkable,st=v()(v()({},z),{showLine:Boolean(ke)}),qe=J("tree",re);return A.createElement(b.b,v()({itemHeight:20,ref:Y,virtual:q},st,{prefixCls:qe,className:d()(me,(_={},L()(_,"".concat(qe,"-icon-hide"),!be),L()(_,"".concat(qe,"-block-node"),Ee),L()(_,"".concat(qe,"-rtl"),ue==="rtl"),_)),checkable:Se&&A.createElement("span",{className:"".concat(qe,"-checkbox-inner")}),switcherIcon:function(Dt){return Object(j.a)(qe,ce,ke,Dt)}}),pe)});H.TreeNode=b.a,H.DirectoryTree=M,H.defaultProps={checkable:!1,showIcon:!1,motion:v()(v()({},K.a),{motionAppear:!1}),blockNode:!1};var k=H,P=U.a=k},MKOG:function(te,U,e){var y=e("bYtY"),L=e("YH21"),g=L.Dispatcher,v=e("mLcG"),A=e("Bq2U"),b=function(r){r=r||{},this.stage=r.stage||{},this.onframe=r.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,g.call(this)};b.prototype={constructor:b,addClip:function(r){this._clips.push(r)},addAnimator:function(r){r.animation=this;for(var a=r.getClips(),s=0;s<a.length;s++)this.addClip(a[s])},removeClip:function(r){var a=y.indexOf(this._clips,r);a>=0&&this._clips.splice(a,1)},removeAnimator:function(r){for(var a=r.getClips(),s=0;s<a.length;s++)this.removeClip(a[s]);r.animation=null},_update:function(){for(var r=new Date().getTime()-this._pausedTime,a=r-this._time,s=this._clips,i=s.length,n=[],l=[],t=0;t<i;t++){var u=s[t],o=u.step(r,a);o&&(n.push(o),l.push(u))}for(var t=0;t<i;)s[t]._needsRemove?(s[t]=s[i-1],s.pop(),i--):t++;i=n.length;for(var t=0;t<i;t++)l[t].fire(n[t]);this._time=r,this.onframe(a),this.trigger("frame",a),this.stage.update&&this.stage.update()},_startLoop:function(){var r=this;this._running=!0;function a(){r._running&&(v(a),!r._paused&&r._update())}v(a)},start:function(){this._time=new Date().getTime(),this._pausedTime=0,this._startLoop()},stop:function(){this._running=!1},pause:function(){this._paused||(this._pauseStart=new Date().getTime(),this._paused=!0)},resume:function(){this._paused&&(this._pausedTime+=new Date().getTime()-this._pauseStart,this._paused=!1)},clear:function(){this._clips=[]},isFinished:function(){return!this._clips.length},animate:function(r,a){a=a||{};var s=new A(r,a.loop,a.getter,a.setter);return this.addAnimator(s),s}},y.mixin(b,g);var m=b;te.exports=m},MRoa:function(te,U,e){var y=e("ProS");e("0Bwj"),e("W2nI"),e("vcCh");var L=e("gawk"),g=e("Dg8C");y.registerLayout(L),y.registerVisual(g)},MT78:function(te,U,e){var y=e("ProS");(function(){for(var g in y){if(y==null||!y.hasOwnProperty(g)||g==="default"||g==="__esModule")return;U[g]=y[g]}})();var L=e("txkQ");(function(){for(var g in L){if(L==null||!L.hasOwnProperty(g)||g==="default"||g==="__esModule")return;U[g]=L[g]}})(),e("A1Ka"),e("75ce"),e("lLGD"),e("wDdD"),e("Fa/5"),e("jett"),e("Z1wy"),e("75ev"),e("2uGb"),e("I+77"),e("B+YJ"),e("pLH3"),e("CBdT"),e("MRoa"),e("+lIL"),e("CF2D"),e("ERHi"),e("p+If"),e("XOKv"),e("qt/9"),e("bBL8"),e("1xaR"),e("4Feb"),e("zRKj"),e("L3Oj"),e("0HBW"),e("LPzL"),e("8waO"),e("k5C7"),e("f1nB"),e("sRwP"),e("AH3D"),e("y4/Y"),e("LzGr"),e("Ynxi"),e("7pVf"),e("2w7y"),e("laiN"),e("fjKi"),e("C0tN"),e("0o9m"),e("Cm0C"),e("f3JH"),e("5NHt"),e("VFCP"),e("dBmv"),e("KamJ"),e("8XDt"),e("juDX")},MXD1:function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("Kvyg"),v=e.n(g)},Mdki:function(te,U,e){var y=e("bYtY"),L=y.each,g="\0__link_datas",v="\0__link_mainData";function A(l){var t=l.mainData,u=l.datas;u||(u={main:t},l.datasAttr={main:"data"}),l.datas=l.mainData=null,s(t,u,l),L(u,function(o){L(t.TRANSFERABLE_METHODS,function(c){o.wrapMethod(c,y.curry(b,l))})}),t.wrapMethod("cloneShallow",y.curry(d,l)),L(t.CHANGABLE_METHODS,function(o){t.wrapMethod(o,y.curry(m,l))}),y.assert(u[t.dataType]===t)}function b(l,t){if(a(this)){var u=y.extend({},this[g]);u[this.dataType]=t,s(t,u,l)}else i(t,this.dataType,this[v],l);return t}function m(l,t){return l.struct&&l.struct.update(this),t}function d(l,t){return L(t[g],function(u,o){u!==t&&i(u.cloneShallow(),o,t,l)}),t}function r(l){var t=this[v];return l==null||t==null?t:t[g][l]}function a(l){return l[v]===l}function s(l,t,u){l[g]={},L(t,function(o,c){i(o,c,l,u)})}function i(l,t,u,o){u[g][t]=l,l[v]=u,l.dataType=t,o.struct&&(l[o.structAttr]=o.struct,o.struct[o.datasAttr[t]]=l),l.getLinkedData=r}var n=A;te.exports=n},Mds0:function(te,U,e){"use strict";var y=e("284h"),L=e("TqRt");Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var g=L(e("3tO9")),v=y(e("q1tI")),A=L(e("8IMR")),b=L(e("KQxl")),m=function(a,s){return v.createElement(b.default,(0,g.default)((0,g.default)({},a),{},{ref:s,icon:A.default}))};m.displayName="StarFilled";var d=v.forwardRef(m);U.default=d},Mgri:function(te,U,e){for(var y=e("bYtY"),L=e("8nly"),g=[126,25],v=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],A=0;A<v.length;A++)for(var b=0;b<v[A].length;b++)v[A][b][0]/=10.5,v[A][b][1]/=-10.5/.75,v[A][b][0]+=g[0],v[A][b][1]+=g[1];function m(d,r){d==="china"&&r.push(new L("\u5357\u6D77\u8BF8\u5C9B",y.map(v,function(a){return{type:"polygon",exterior:a}}),g))}te.exports=m},MqEG:function(te,U,e){var y=e("bYtY"),L=e("fc+c"),g=e("72pK"),v=e("VXYp"),A=y.bind,b=L.extend({type:"dataZoom.inside",init:function(s,i){this._range},render:function(s,i,n,l){b.superApply(this,"render",arguments),this._range=s.getPercentRange(),y.each(this.getTargetCoordInfo(),function(t,u){var o=y.map(t,function(c){return v.generateCoordId(c.model)});y.each(t,function(c){var h=c.model,f={};y.each(["pan","zoom","scrollMove"],function(w){f[w]=A(m[w],this,c,u)},this),v.register(n,{coordId:v.generateCoordId(h),allCoordIds:o,containsPoint:function(w,x,I){return h.coordinateSystem.containPoint([x,I])},dataZoomId:s.id,dataZoomModel:s,getRange:f})},this)},this)},dispose:function(){v.unregister(this.api,this.dataZoomModel.id),b.superApply(this,"dispose",arguments),this._range=null}}),m={zoom:function(s,i,n,l){var t=this._range,u=t.slice(),o=s.axisModels[0];if(!o)return;var c=r[i](null,[l.originX,l.originY],o,n,s),h=(c.signal>0?c.pixelStart+c.pixelLength-c.pixel:c.pixel-c.pixelStart)/c.pixelLength*(u[1]-u[0])+u[0],f=Math.max(1/l.scale,0);u[0]=(u[0]-h)*f+h,u[1]=(u[1]-h)*f+h;var w=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(g(0,u,[0,100],0,w.minSpan,w.maxSpan),this._range=u,t[0]!==u[0]||t[1]!==u[1])return u},pan:d(function(s,i,n,l,t,u){var o=r[l]([u.oldX,u.oldY],[u.newX,u.newY],i,t,n);return o.signal*(s[1]-s[0])*o.pixel/o.pixelLength}),scrollMove:d(function(s,i,n,l,t,u){var o=r[l]([0,0],[u.scrollDelta,u.scrollDelta],i,t,n);return o.signal*(s[1]-s[0])*u.scrollDelta})};function d(s){return function(i,n,l,t){var u=this._range,o=u.slice(),c=i.axisModels[0];if(!c)return;var h=s(o,c,i,n,l,t);if(g(h,o,[0,100],"all"),this._range=o,u[0]!==o[0]||u[1]!==o[1])return o}}var r={grid:function(s,i,n,l,t){var u=n.axis,o={},c=t.model.coordinateSystem.getRect();return s=s||[0,0],u.dim==="x"?(o.pixel=i[0]-s[0],o.pixelLength=c.width,o.pixelStart=c.x,o.signal=u.inverse?1:-1):(o.pixel=i[1]-s[1],o.pixelLength=c.height,o.pixelStart=c.y,o.signal=u.inverse?-1:1),o},polar:function(s,i,n,l,t){var u=n.axis,o={},c=t.model.coordinateSystem,h=c.getRadiusAxis().getExtent(),f=c.getAngleAxis().getExtent();return s=s?c.pointToCoord(s):[0,0],i=c.pointToCoord(i),n.mainType==="radiusAxis"?(o.pixel=i[0]-s[0],o.pixelLength=h[1]-h[0],o.pixelStart=h[0],o.signal=u.inverse?1:-1):(o.pixel=i[1]-s[1],o.pixelLength=f[1]-f[0],o.pixelStart=f[0],o.signal=u.inverse?-1:1),o},singleAxis:function(s,i,n,l,t){var u=n.axis,o=t.model.coordinateSystem.getRect(),c={};return s=s||[0,0],u.orient==="horizontal"?(c.pixel=i[0]-s[0],c.pixelLength=o.width,c.pixelStart=o.x,c.signal=u.inverse?1:-1):(c.pixel=i[1]-s[1],c.pixelLength=o.height,c.pixelStart=o.y,c.signal=u.inverse?-1:1),c}},a=b;te.exports=a},MwEJ:function(te,U,e){var y=e("bYtY"),L=e("YXkt"),g=e("sdST"),v=e("k9D9"),A=v.SOURCE_FORMAT_ORIGINAL,b=e("L0Ub"),m=b.getDimensionTypeByAxis,d=e("4NO4"),r=d.getDataItemValue,a=e("IDmD"),s=e("i38C"),i=s.getCoordSysInfoBySeries,n=e("7G+c"),l=e("7hqr"),t=l.enableDataStack,u=e("D5nY"),o=u.makeSeriesEncodeForAxisCoordSys;function c(x,I,C){C=C||{},n.isInstance(x)||(x=n.seriesDataToSource(x));var N=I.get("coordinateSystem"),S=a.get(N),E=i(I),T;E&&(T=y.map(E.coordSysDims,function(j){var H={name:j},k=E.axisMap.get(j);if(k){var P=k.get("type");H.type=m(P)}return H})),T||(T=S&&(S.getDimensionsInfo?S.getDimensionsInfo():S.dimensions.slice())||["x","y"]);var D=g(x,{coordDimensions:T,generateCoord:C.generateCoord,encodeDefaulter:C.useEncodeDefaulter?y.curry(o,T,I):null}),B,R;E&&y.each(D,function(j,H){var k=j.coordDim,P=E.categoryAxisMap.get(k);P&&(B==null&&(B=H),j.ordinalMeta=P.getOrdinalMeta()),j.otherDims.itemName!=null&&(R=!0)}),!R&&B!=null&&(D[B].otherDims.itemName=0);var F=t(I,D),M=new L(D,I);M.setCalculationInfo(F);var K=B!=null&&h(x)?function(j,H,k,P){return P===B?k:this.defaultDimValueGetter(j,H,k,P)}:null;return M.hasItemOption=!1,M.initData(x,null,K),M}function h(x){if(x.sourceFormat===A){var I=f(x.data||[]);return I!=null&&!y.isArray(r(I))}}function f(x){for(var I=0;I<x.length&&x[I]==null;)I++;return x[I]}var w=c;te.exports=w},Mylv:function(te,U,e){var y=e("ProS"),L=e("bYtY"),g=e("IwbS"),v=e("oVpE"),A=v.createSymbol,b=e("OELB"),m=b.parsePercent,d=b.isNumeric,r=e("56rv"),a=r.setLabel,s=["itemStyle","borderWidth"],i=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],n=new g.Circle,l=y.extendChartView({type:"pictorialBar",render:function(z,Y,_){var G=this.group,J=z.getData(),ue=this._data,q=z.coordinateSystem,re=q.getBaseAxis(),me=!!re.isHorizontal(),be=q.grid.getRect(),ke={ecSize:{width:_.getWidth(),height:_.getHeight()},seriesModel:z,coordSys:q,coordSysExtent:[[be.x,be.x+be.width],[be.y,be.y+be.height]],isHorizontal:me,valueDim:i[+me],categoryDim:i[1-me]};return J.diff(ue).add(function(ce){if(!J.hasValue(ce))return;var Ee=S(J,ce),pe=t(J,ce,Ee,ke),Se=B(J,ke,pe);J.setItemGraphicEl(ce,Se),G.add(Se),H(Se,ke,pe)}).update(function(ce,Ee){var pe=ue.getItemGraphicEl(Ee);if(!J.hasValue(ce)){G.remove(pe);return}var Se=S(J,ce),st=t(J,ce,Se,ke),qe=M(J,st);pe&&qe!==pe.__pictorialShapeStr&&(G.remove(pe),J.setItemGraphicEl(ce,null),pe=null),pe?R(pe,ke,st):pe=B(J,ke,st,!0),J.setItemGraphicEl(ce,pe),pe.__pictorialSymbolMeta=st,G.add(pe),H(pe,ke,st)}).remove(function(ce){var Ee=ue.getItemGraphicEl(ce);Ee&&F(ue,ce,Ee.__pictorialSymbolMeta.animationModel,Ee)}).execute(),this._data=J,this.group},dispose:L.noop,remove:function(z,Y){var _=this.group,G=this._data;z.get("animation")?G&&G.eachItemGraphicEl(function(J){F(G,J.dataIndex,z,J)}):_.removeAll()}});function t(z,Y,_,G){var J=z.getItemLayout(Y),ue=_.get("symbolRepeat"),q=_.get("symbolClip"),re=_.get("symbolPosition")||"start",me=_.get("symbolRotate"),be=(me||0)*Math.PI/180||0,ke=_.get("symbolPatternSize")||2,ce=_.isAnimationEnabled(),Ee={dataIndex:Y,layout:J,itemModel:_,symbolType:z.getItemVisual(Y,"symbol")||"circle",color:z.getItemVisual(Y,"color"),symbolClip:q,symbolRepeat:ue,symbolRepeatDirection:_.get("symbolRepeatDirection"),symbolPatternSize:ke,rotation:be,animationModel:ce?_:null,hoverAnimation:ce&&_.get("hoverAnimation"),z2:_.getShallow("z",!0)||0};u(_,ue,J,G,Ee),c(z,Y,J,ue,q,Ee.boundingLength,Ee.pxSign,ke,G,Ee),h(_,Ee.symbolScale,be,G,Ee);var pe=Ee.symbolSize,Se=_.get("symbolOffset");return L.isArray(Se)&&(Se=[m(Se[0],pe[0]),m(Se[1],pe[1])]),f(_,pe,J,ue,q,Se,re,Ee.valueLineWidth,Ee.boundingLength,Ee.repeatCutLength,G,Ee),Ee}function u(z,Y,_,G,J){var ue=G.valueDim,q=z.get("symbolBoundingData"),re=G.coordSys.getOtherAxis(G.coordSys.getBaseAxis()),me=re.toGlobalCoord(re.dataToCoord(0)),be=1-+(_[ue.wh]<=0),ke;if(L.isArray(q)){var ce=[o(re,q[0])-me,o(re,q[1])-me];ce[1]<ce[0]&&ce.reverse(),ke=ce[be]}else q!=null?ke=o(re,q)-me:Y?ke=G.coordSysExtent[ue.index][be]-me:ke=_[ue.wh];J.boundingLength=ke,Y&&(J.repeatCutLength=_[ue.wh]),J.pxSign=ke>0?1:ke<0?-1:0}function o(z,Y){return z.toGlobalCoord(z.dataToCoord(z.scale.parse(Y)))}function c(z,Y,_,G,J,ue,q,re,me,be){var ke=me.valueDim,ce=me.categoryDim,Ee=Math.abs(_[ce.wh]),pe=z.getItemVisual(Y,"symbolSize");L.isArray(pe)?pe=pe.slice():(pe==null&&(pe="100%"),pe=[pe,pe]),pe[ce.index]=m(pe[ce.index],Ee),pe[ke.index]=m(pe[ke.index],G?Ee:Math.abs(ue)),be.symbolSize=pe;var Se=be.symbolScale=[pe[0]/re,pe[1]/re];Se[ke.index]*=(me.isHorizontal?-1:1)*q}function h(z,Y,_,G,J){var ue=z.get(s)||0;ue&&(n.attr({scale:Y.slice(),rotation:_}),n.updateTransform(),ue/=n.getLineScale(),ue*=Y[G.valueDim.index]),J.valueLineWidth=ue}function f(z,Y,_,G,J,ue,q,re,me,be,ke,ce){var Ee=ke.categoryDim,pe=ke.valueDim,Se=ce.pxSign,st=Math.max(Y[pe.index]+re,0),qe=st;if(G){var tt=Math.abs(me),Dt=L.retrieve(z.get("symbolMargin"),"15%")+"",ct=!1;Dt.lastIndexOf("!")===Dt.length-1&&(ct=!0,Dt=Dt.slice(0,Dt.length-1)),Dt=m(Dt,Y[pe.index]);var St=Math.max(st+Dt*2,0),rt=ct?0:Dt*2,ht=d(G),je=ht?G:k((tt+rt)/St),Me=tt-je*st;Dt=Me/2/(ct?je:je-1),St=st+Dt*2,rt=ct?0:Dt*2,!ht&&G!=="fixed"&&(je=be?k((Math.abs(be)+rt)/St):0),qe=je*St-rt,ce.repeatTimes=je,ce.symbolMargin=Dt}var Ne=Se*(qe/2),it=ce.pathPosition=[];it[Ee.index]=_[Ee.wh]/2,it[pe.index]=q==="start"?Ne:q==="end"?me-Ne:me/2,ue&&(it[0]+=ue[0],it[1]+=ue[1]);var wt=ce.bundlePosition=[];wt[Ee.index]=_[Ee.xy],wt[pe.index]=_[pe.xy];var jt=ce.barRectShape=L.extend({},_);jt[pe.wh]=Se*Math.max(Math.abs(_[pe.wh]),Math.abs(it[pe.index]+Ne)),jt[Ee.wh]=_[Ee.wh];var lt=ce.clipShape={};lt[Ee.xy]=-_[Ee.xy],lt[Ee.wh]=ke.ecSize[Ee.wh],lt[pe.xy]=0,lt[pe.wh]=_[pe.wh]}function w(z){var Y=z.symbolPatternSize,_=A(z.symbolType,-Y/2,-Y/2,Y,Y,z.color);return _.attr({culling:!0}),_.type!=="image"&&_.setStyle({strokeNoScale:!0}),_}function x(z,Y,_,G){var J=z.__pictorialBundle,ue=_.symbolSize,q=_.valueLineWidth,re=_.pathPosition,me=Y.valueDim,be=_.repeatTimes||0,ke=0,ce=ue[Y.valueDim.index]+q+_.symbolMargin*2;for(K(z,function(tt){tt.__pictorialAnimationIndex=ke,tt.__pictorialRepeatTimes=be,ke<be?j(tt,null,Se(ke),_,G):j(tt,null,{scale:[0,0]},_,G,function(){J.remove(tt)}),D(tt,_),ke++});ke<be;ke++){var Ee=w(_);Ee.__pictorialAnimationIndex=ke,Ee.__pictorialRepeatTimes=be,J.add(Ee);var pe=Se(ke);j(Ee,{position:pe.position,scale:[0,0]},{scale:pe.scale,rotation:pe.rotation},_,G),Ee.on("mouseover",st).on("mouseout",qe),D(Ee,_)}function Se(tt){var Dt=re.slice(),ct=_.pxSign,St=tt;return(_.symbolRepeatDirection==="start"?ct>0:ct<0)&&(St=be-1-tt),Dt[me.index]=ce*(St-be/2+.5)+re[me.index],{position:Dt,scale:_.symbolScale.slice(),rotation:_.rotation}}function st(){K(z,function(tt){tt.trigger("emphasis")})}function qe(){K(z,function(tt){tt.trigger("normal")})}}function I(z,Y,_,G){var J=z.__pictorialBundle,ue=z.__pictorialMainPath;ue?j(ue,null,{position:_.pathPosition.slice(),scale:_.symbolScale.slice(),rotation:_.rotation},_,G):(ue=z.__pictorialMainPath=w(_),J.add(ue),j(ue,{position:_.pathPosition.slice(),scale:[0,0],rotation:_.rotation},{scale:_.symbolScale.slice()},_,G),ue.on("mouseover",q).on("mouseout",re)),D(ue,_);function q(){this.trigger("emphasis")}function re(){this.trigger("normal")}}function C(z,Y,_){var G=L.extend({},Y.barRectShape),J=z.__pictorialBarRect;J?j(J,null,{shape:G},Y,_):(J=z.__pictorialBarRect=new g.Rect({z2:2,shape:G,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),z.add(J))}function N(z,Y,_,G){if(_.symbolClip){var J=z.__pictorialClipPath,ue=L.extend({},_.clipShape),q=Y.valueDim,re=_.animationModel,me=_.dataIndex;if(J)g.updateProps(J,{shape:ue},re,me);else{ue[q.wh]=0,J=new g.Rect({shape:ue}),z.__pictorialBundle.setClipPath(J),z.__pictorialClipPath=J;var be={};be[q.wh]=_.clipShape[q.wh],g[G?"updateProps":"initProps"](J,{shape:be},re,me)}}}function S(z,Y){var _=z.getItemModel(Y);return _.getAnimationDelayParams=E,_.isAnimationEnabled=T,_}function E(z){return{index:z.__pictorialAnimationIndex,count:z.__pictorialRepeatTimes}}function T(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function D(z,Y){z.off("emphasis").off("normal");var _=Y.symbolScale.slice();Y.hoverAnimation&&z.on("emphasis",function(){this.animateTo({scale:[_[0]*1.1,_[1]*1.1]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:_.slice()},400,"elasticOut")})}function B(z,Y,_,G){var J=new g.Group,ue=new g.Group;return J.add(ue),J.__pictorialBundle=ue,ue.attr("position",_.bundlePosition.slice()),_.symbolRepeat?x(J,Y,_):I(J,Y,_),C(J,_,G),N(J,Y,_,G),J.__pictorialShapeStr=M(z,_),J.__pictorialSymbolMeta=_,J}function R(z,Y,_){var G=_.animationModel,J=_.dataIndex,ue=z.__pictorialBundle;g.updateProps(ue,{position:_.bundlePosition.slice()},G,J),_.symbolRepeat?x(z,Y,_,!0):I(z,Y,_,!0),C(z,_,!0),N(z,Y,_,!0)}function F(z,Y,_,G){var J=G.__pictorialBarRect;J&&(J.style.text=null);var ue=[];K(G,function(q){ue.push(q)}),G.__pictorialMainPath&&ue.push(G.__pictorialMainPath),G.__pictorialClipPath&&(_=null),L.each(ue,function(q){g.updateProps(q,{scale:[0,0]},_,Y,function(){G.parent&&G.parent.remove(G)})}),z.setItemGraphicEl(Y,null)}function M(z,Y){return[z.getItemVisual(Y.dataIndex,"symbol")||"none",!!Y.symbolRepeat,!!Y.symbolClip].join(":")}function K(z,Y,_){L.each(z.__pictorialBundle.children(),function(G){G!==z.__pictorialBarRect&&Y.call(_,G)})}function j(z,Y,_,G,J,ue){Y&&z.attr(Y),G.symbolClip&&!J?_&&z.attr(_):_&&g[J?"updateProps":"initProps"](z,_,G.animationModel,G.dataIndex,ue)}function H(z,Y,_){var G=_.color,J=_.dataIndex,ue=_.itemModel,q=ue.getModel("itemStyle").getItemStyle(["color"]),re=ue.getModel("emphasis.itemStyle").getItemStyle(),me=ue.getShallow("cursor");K(z,function(Ee){Ee.setColor(G),Ee.setStyle(L.defaults({fill:G,opacity:_.opacity},q)),g.setHoverStyle(Ee,re),me&&(Ee.cursor=me),Ee.z2=_.z2});var be={},ke=Y.valueDim.posDesc[+(_.boundingLength>0)],ce=z.__pictorialBarRect;a(ce.style,be,ue,G,Y.seriesModel,J,ke),g.setHoverStyle(ce,be)}function k(z){var Y=Math.round(z);return Math.abs(z-Y)<1e-4?Y:Math.ceil(z)}var P=l;te.exports=P},N5BQ:function(te,U,e){var y=e("OlYY"),L=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"}}}),g=L;te.exports=g},NA0q:function(te,U,e){var y=e("bYtY"),L=e("6Ic6"),g=e("TkdX"),v=e("gPAo"),A=e("7aKB"),b=A.windowOpen,m="sunburstRootToNode",d=L.extend({type:"sunburst",init:function(){},render:function(a,s,i,n){var l=this;this.seriesModel=a,this.api=i,this.ecModel=s;var t=a.getData(),u=t.tree.root,o=a.getViewRoot(),c=this.group,h=a.get("renderLabelForZeroData"),f=[];o.eachNode(function(T){f.push(T)});var w=this._oldChildren||[];if(C(f,w),E(u,o),n&&n.highlight&&n.highlight.piece){var x=a.getShallow("highlightPolicy");n.highlight.piece.onEmphasis(x)}else if(n&&n.unhighlight){var I=this.virtualPiece;!I&&u.children.length&&(I=u.children[0].piece),I&&I.onNormal()}this._initEvents(),this._oldChildren=f;function C(T,D){if(T.length===0&&D.length===0)return;new v(D,T,B,B).add(R).update(R).remove(y.curry(R,null)).execute();function B(F){return F.getId()}function R(F,M){var K=F==null?null:T[F],j=M==null?null:D[M];N(K,j)}}function N(T,D){if(!h&&T&&!T.getValue()&&(T=null),T!==u&&D!==u){if(D&&D.piece)T?(D.piece.updateData(!1,T,"normal",a,s),t.setItemGraphicEl(T.dataIndex,D.piece)):S(D);else if(T){var B=new g(T,a,s);c.add(B),t.setItemGraphicEl(T.dataIndex,B)}}}function S(T){if(!T)return;T.piece&&(c.remove(T.piece),T.piece=null)}function E(T,D){if(D.depth>0){l.virtualPiece?l.virtualPiece.updateData(!1,T,"normal",a,s):(l.virtualPiece=new g(T,a,s),c.add(l.virtualPiece)),D.piece._onclickEvent&&D.piece.off("click",D.piece._onclickEvent);var B=function(R){l._rootToNode(D.parentNode)};D.piece._onclickEvent=B,l.virtualPiece.on("click",B)}else l.virtualPiece&&(c.remove(l.virtualPiece),l.virtualPiece=null)}},dispose:function(){},_initEvents:function(){var a=this,s=function(i){var n=!1,l=a.seriesModel.getViewRoot();l.eachNode(function(t){if(!n&&t.piece&&t.piece.childAt(0)===i.target){var u=t.getModel().get("nodeClick");if(u==="rootToNode")a._rootToNode(t);else if(u==="link"){var o=t.getModel(),c=o.get("link");if(c){var h=o.get("target",!0)||"_blank";b(c,h)}}n=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",s),this.group._onclickEvent=s},_rootToNode:function(a){a!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:m,from:this.uid,seriesId:this.seriesModel.id,targetNode:a})},containPoint:function(a,s){var i=s.getData(),n=i.getItemLayout(0);if(n){var l=a[0]-n.cx,t=a[1]-n.cy,u=Math.sqrt(l*l+t*t);return u<=n.r&&u>=n.r0}}}),r=d;te.exports=r},NAnI:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=L(e("wXyp"));function L(v){return v&&v.__esModule?v:{default:v}}var g=y;U.default=g,te.exports=g},NC18:function(te,U,e){var y=e("y+Vt"),L=e("IMiH"),g=e("7oTu"),v=Math.sqrt,A=Math.sin,b=Math.cos,m=Math.PI,d=function(f){return Math.sqrt(f[0]*f[0]+f[1]*f[1])},r=function(f,w){return(f[0]*w[0]+f[1]*w[1])/(d(f)*d(w))},a=function(f,w){return(f[0]*w[1]<f[1]*w[0]?-1:1)*Math.acos(r(f,w))};function s(h,f,w,x,I,C,N,S,E,T,D){var B=E*(m/180),R=b(B)*(h-w)/2+A(B)*(f-x)/2,F=-1*A(B)*(h-w)/2+b(B)*(f-x)/2,M=R*R/(N*N)+F*F/(S*S);M>1&&(N*=v(M),S*=v(M));var K=(I===C?-1:1)*v((N*N*(S*S)-N*N*(F*F)-S*S*(R*R))/(N*N*(F*F)+S*S*(R*R)))||0,j=K*N*F/S,H=K*-S*R/N,k=(h+w)/2+b(B)*j-A(B)*H,P=(f+x)/2+A(B)*j+b(B)*H,z=a([1,0],[(R-j)/N,(F-H)/S]),Y=[(R-j)/N,(F-H)/S],_=[(-1*R-j)/N,(-1*F-H)/S],G=a(Y,_);r(Y,_)<=-1&&(G=m),r(Y,_)>=1&&(G=0),C===0&&G>0&&(G=G-2*m),C===1&&G<0&&(G=G+2*m),D.addData(T,k,P,N,S,z,G,B,C)}var i=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,n=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function l(h){if(!h)return new L;for(var f=0,w=0,x=f,I=w,C,N=new L,S=L.CMD,E=h.match(i),T=0;T<E.length;T++){for(var D=E[T],B=D.charAt(0),R,F=D.match(n)||[],M=F.length,K=0;K<M;K++)F[K]=parseFloat(F[K]);for(var j=0;j<M;){var H,k,P,z,Y,_,G,J=f,ue=w;switch(B){case"l":f+=F[j++],w+=F[j++],R=S.L,N.addData(R,f,w);break;case"L":f=F[j++],w=F[j++],R=S.L,N.addData(R,f,w);break;case"m":f+=F[j++],w+=F[j++],R=S.M,N.addData(R,f,w),x=f,I=w,B="l";break;case"M":f=F[j++],w=F[j++],R=S.M,N.addData(R,f,w),x=f,I=w,B="L";break;case"h":f+=F[j++],R=S.L,N.addData(R,f,w);break;case"H":f=F[j++],R=S.L,N.addData(R,f,w);break;case"v":w+=F[j++],R=S.L,N.addData(R,f,w);break;case"V":w=F[j++],R=S.L,N.addData(R,f,w);break;case"C":R=S.C,N.addData(R,F[j++],F[j++],F[j++],F[j++],F[j++],F[j++]),f=F[j-2],w=F[j-1];break;case"c":R=S.C,N.addData(R,F[j++]+f,F[j++]+w,F[j++]+f,F[j++]+w,F[j++]+f,F[j++]+w),f+=F[j-2],w+=F[j-1];break;case"S":H=f,k=w;var q=N.len(),re=N.data;C===S.C&&(H+=f-re[q-4],k+=w-re[q-3]),R=S.C,J=F[j++],ue=F[j++],f=F[j++],w=F[j++],N.addData(R,H,k,J,ue,f,w);break;case"s":H=f,k=w;var q=N.len(),re=N.data;C===S.C&&(H+=f-re[q-4],k+=w-re[q-3]),R=S.C,J=f+F[j++],ue=w+F[j++],f+=F[j++],w+=F[j++],N.addData(R,H,k,J,ue,f,w);break;case"Q":J=F[j++],ue=F[j++],f=F[j++],w=F[j++],R=S.Q,N.addData(R,J,ue,f,w);break;case"q":J=F[j++]+f,ue=F[j++]+w,f+=F[j++],w+=F[j++],R=S.Q,N.addData(R,J,ue,f,w);break;case"T":H=f,k=w;var q=N.len(),re=N.data;C===S.Q&&(H+=f-re[q-4],k+=w-re[q-3]),f=F[j++],w=F[j++],R=S.Q,N.addData(R,H,k,f,w);break;case"t":H=f,k=w;var q=N.len(),re=N.data;C===S.Q&&(H+=f-re[q-4],k+=w-re[q-3]),f+=F[j++],w+=F[j++],R=S.Q,N.addData(R,H,k,f,w);break;case"A":P=F[j++],z=F[j++],Y=F[j++],_=F[j++],G=F[j++],J=f,ue=w,f=F[j++],w=F[j++],R=S.A,s(J,ue,f,w,_,G,P,z,Y,R,N);break;case"a":P=F[j++],z=F[j++],Y=F[j++],_=F[j++],G=F[j++],J=f,ue=w,f+=F[j++],w+=F[j++],R=S.A,s(J,ue,f,w,_,G,P,z,Y,R,N);break}}(B==="z"||B==="Z")&&(R=S.Z,N.addData(R),f=x,w=I),C=R}return N.toStatic(),N}function t(h,f){var w=l(h);return f=f||{},f.buildPath=function(x){if(x.setData){x.setData(w.data);var I=x.getContext();I&&x.rebuildPath(I)}else{var I=x;w.rebuildPath(I)}},f.applyTransform=function(x){g(w,x),this.dirty(!0)},f}function u(h,f){return new y(t(h,f))}function o(h,f){return y.extend(t(h,f))}function c(h,f){for(var w=[],x=h.length,I=0;I<x;I++){var C=h[I];C.path||C.createPathProxy(),C.__dirtyPath&&C.buildPath(C.path,C.shape,!0),w.push(C.path)}var N=new y(f);return N.createPathProxy(),N.buildPath=function(S){S.appendPath(w);var E=S.getContext();E&&S.rebuildPath(E)},N}U.createFromString=u,U.extendFromString=o,U.mergePath=c},NH9N:function(te,U,e){var y=e("bYtY"),L=e("mFDi"),g=e("Fofx"),v=e("IwbS"),A=e("+TT/"),b=e("kzvK"),m=e("CMP+"),d=e("oVpE"),r=d.createSymbol,a=e("aX7z"),s=e("OELB"),i=e("7aKB"),n=i.encodeHTML,l=y.bind,t=y.each,u=Math.PI,o=b.extend({type:"timeline.slider",init:function(x,I){this.api=I,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(x,I,C,N){if(this.model=x,this.api=C,this.ecModel=I,this.group.removeAll(),x.get("show",!0)){var S=this._layout(x,C),E=this._createGroup("mainGroup"),T=this._createGroup("labelGroup"),D=this._axis=this._createAxis(S,x);x.formatTooltip=function(B){return n(D.scale.getLabel(B))},t(["AxisLine","AxisTick","Control","CurrentPointer"],function(B){this["_render"+B](S,E,D,x)},this),this._renderAxisLabel(S,T,D,x),this._position(S,x)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(x,I){var C=x.get("label.position"),N=x.get("orient"),S=c(x,I);C==null||C==="auto"?C=N==="horizontal"?S.y+S.height/2<I.getHeight()/2?"-":"+":S.x+S.width/2<I.getWidth()/2?"+":"-":isNaN(C)&&(C={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[N][C]);var E={horizontal:"center",vertical:C>=0||C==="+"?"left":"right"},T={horizontal:C>=0||C==="+"?"top":"bottom",vertical:"middle"},D={horizontal:0,vertical:u/2},B=N==="vertical"?S.height:S.width,R=x.getModel("controlStyle"),F=R.get("show",!0),M=F?R.get("itemSize"):0,K=F?R.get("itemGap"):0,j=M+K,H=x.get("label.rotate")||0;H=H*u/180;var k,P,z,Y,_=R.get("position",!0),G=F&&R.get("showPlayBtn",!0),J=F&&R.get("showPrevBtn",!0),ue=F&&R.get("showNextBtn",!0),q=0,re=B;return _==="left"||_==="bottom"?(G&&(k=[0,0],q+=j),J&&(P=[q,0],q+=j),ue&&(z=[re-M,0],re-=j)):(G&&(k=[re-M,0],re-=j),J&&(P=[0,0],q+=j),ue&&(z=[re-M,0],re-=j)),Y=[q,re],x.get("inverse")&&Y.reverse(),{viewRect:S,mainLength:B,orient:N,rotation:D[N],labelRotation:H,labelPosOpt:C,labelAlign:x.get("label.align")||E[N],labelBaseline:x.get("label.verticalAlign")||x.get("label.baseline")||T[N],playPosition:k,prevBtnPosition:P,nextBtnPosition:z,axisExtent:Y,controlSize:M,controlGap:K}},_position:function(x,I){var C=this._mainGroup,N=this._labelGroup,S=x.viewRect;if(x.orient==="vertical"){var E=g.create(),T=S.x,D=S.y+S.height;g.translate(E,E,[-T,-D]),g.rotate(E,E,-u/2),g.translate(E,E,[T,D]),S=S.clone(),S.applyTransform(E)}var B=P(S),R=P(C.getBoundingRect()),F=P(N.getBoundingRect()),M=C.position,K=N.position;K[0]=M[0]=B[0][0];var j=x.labelPosOpt;if(isNaN(j)){var H=j==="+"?0:1;z(M,R,B,1,H),z(K,F,B,1,1-H)}else{var H=j>=0?0:1;z(M,R,B,1,H),K[1]=M[1]+j}C.attr("position",M),N.attr("position",K),C.rotation=N.rotation=x.rotation,k(C),k(N);function k(Y){var _=Y.position;Y.origin=[B[0][0]-_[0],B[1][0]-_[1]]}function P(Y){return[[Y.x,Y.x+Y.width],[Y.y,Y.y+Y.height]]}function z(Y,_,G,J,ue){Y[J]+=G[J][ue]-_[J][ue]}},_createAxis:function(x,I){var C=I.getData(),N=I.get("axisType"),S=a.createScaleByModel(I,N);S.getTicks=function(){return C.mapArray(["value"],function(D){return D})};var E=C.getDataExtent("value");S.setExtent(E[0],E[1]),S.niceTicks();var T=new m("value",S,x.axisExtent,N);return T.model=I,T},_createGroup:function(x){var I=this["_"+x]=new v.Group;return this.group.add(I),I},_renderAxisLine:function(x,I,C,N){var S=C.getExtent();if(!N.get("lineStyle.show"))return;I.add(new v.Line({shape:{x1:S[0],y1:0,x2:S[1],y2:0},style:y.extend({lineCap:"round"},N.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(x,I,C,N){var S=N.getData(),E=C.scale.getTicks();t(E,function(T){var D=C.dataToCoord(T),B=S.getItemModel(T),R=B.getModel("itemStyle"),F=B.getModel("emphasis.itemStyle"),M={position:[D,0],onclick:l(this._changeTimeline,this,T)},K=f(B,R,I,M);v.setHoverStyle(K,F.getItemStyle()),B.get("tooltip")?(K.dataIndex=T,K.dataModel=N):K.dataIndex=K.dataModel=null},this)},_renderAxisLabel:function(x,I,C,N){var S=C.getLabelModel();if(!S.get("show"))return;var E=N.getData(),T=C.getViewLabels();t(T,function(D){var B=D.tickValue,R=E.getItemModel(B),F=R.getModel("label"),M=R.getModel("emphasis.label"),K=C.dataToCoord(D.tickValue),j=new v.Text({position:[K,0],rotation:x.labelRotation-x.rotation,onclick:l(this._changeTimeline,this,B),silent:!1});v.setTextStyle(j.style,F,{text:D.formattedLabel,textAlign:x.labelAlign,textVerticalAlign:x.labelBaseline}),I.add(j),v.setHoverStyle(j,v.setTextStyle({},M))},this)},_renderControl:function(x,I,C,N){var S=x.controlSize,E=x.rotation,T=N.getModel("controlStyle").getItemStyle(),D=N.getModel("emphasis.controlStyle").getItemStyle(),B=[0,-S/2,S,S],R=N.getPlayState(),F=N.get("inverse",!0);M(x.nextBtnPosition,"controlStyle.nextIcon",l(this._changeTimeline,this,F?"-":"+")),M(x.prevBtnPosition,"controlStyle.prevIcon",l(this._changeTimeline,this,F?"+":"-")),M(x.playPosition,"controlStyle."+(R?"stopIcon":"playIcon"),l(this._handlePlayClick,this,!R),!0);function M(K,j,H,k){if(!K)return;var P={position:K,origin:[S/2,0],rotation:k?-E:0,rectHover:!0,style:T,onclick:H},z=h(N,j,B,P);I.add(z),v.setHoverStyle(z,D)}},_renderCurrentPointer:function(x,I,C,N){var S=N.getData(),E=N.getCurrentIndex(),T=S.getItemModel(E).getModel("checkpointStyle"),D=this,B={onCreate:function(R){R.draggable=!0,R.drift=l(D._handlePointerDrag,D),R.ondragend=l(D._handlePointerDragend,D),w(R,E,C,N,!0)},onUpdate:function(R){w(R,E,C,N)}};this._currentPointer=f(T,T,this._mainGroup,{},this._currentPointer,B)},_handlePlayClick:function(x){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:x,from:this.uid})},_handlePointerDrag:function(x,I,C){this._clearTimer(),this._pointerChangeTimeline([C.offsetX,C.offsetY])},_handlePointerDragend:function(x){this._pointerChangeTimeline([x.offsetX,x.offsetY],!0)},_pointerChangeTimeline:function(x,I){var C=this._toAxisCoord(x)[0],N=this._axis,S=s.asc(N.getExtent().slice());C>S[1]&&(C=S[1]),C<S[0]&&(C=S[0]),this._currentPointer.position[0]=C,this._currentPointer.dirty();var E=this._findNearestTick(C),T=this.model;(I||E!==T.getCurrentIndex()&&T.get("realtime"))&&this._changeTimeline(E)},_doPlayStop:function(){this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(l(x,this),this.model.get("playInterval")));function x(){var I=this.model;this._changeTimeline(I.getCurrentIndex()+(I.get("rewind",!0)?-1:1))}},_toAxisCoord:function(x){var I=this._mainGroup.getLocalTransform();return v.applyTransform(x,I,!0)},_findNearestTick:function(x){var I=this.model.getData(),C=Infinity,N,S=this._axis;return I.each(["value"],function(E,T){var D=S.dataToCoord(E),B=Math.abs(D-x);B<C&&(C=B,N=T)}),N},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(x){var I=this.model.getCurrentIndex();x==="+"?x=I+1:x==="-"&&(x=I-1),this.api.dispatchAction({type:"timelineChange",currentIndex:x,from:this.uid})}});function c(x,I){return A.getLayoutRect(x.getBoxLayoutParams(),{width:I.getWidth(),height:I.getHeight()},x.get("padding"))}function h(x,I,C,N){var S=v.makePath(x.get(I).replace(/^path:\/\//,""),y.clone(N||{}),new L(C[0],C[1],C[2],C[3]),"center");return S}function f(x,I,C,N,S,E){var T=I.get("color");if(S)S.setColor(T),C.add(S),E&&E.onUpdate(S);else{var D=x.get("symbol");S=r(D,-1,-1,2,2,T),S.setStyle("strokeNoScale",!0),C.add(S),E&&E.onCreate(S)}var B=I.getItemStyle(["color","symbol","symbolSize"]);S.setStyle(B),N=y.merge({rectHover:!0,z2:100},N,!0);var R=x.get("symbolSize");R=R instanceof Array?R.slice():[+R,+R],R[0]/=2,R[1]/=2,N.scale=R;var F=x.get("symbolOffset");if(F){var M=N.position=N.position||[0,0];M[0]+=s.parsePercent(F[0],R[0]),M[1]+=s.parsePercent(F[1],R[1])}var K=x.get("symbolRotate");return N.rotation=(K||0)*Math.PI/180||0,S.attr(N),S.updateTransform(),S}function w(x,I,C,N,S){if(x.dragging)return;var E=N.getModel("checkpointStyle"),T=C.dataToCoord(N.getData().get(["value"],I));S||!E.get("animation",!0)?x.attr({position:[T,0]}):(x.stopAnimation(!0),x.animateTo({position:[T,0]},E.get("animationDuration",!0),E.get("animationEasing",!0)))}te.exports=o},NJEC:function(te,U,e){"use strict";var y=e("pVnL"),L=e.n(y),g=e("J4zp"),v=e.n(g),A=e("q1tI"),b=e.n(A),m=e("TSYQ"),d=e.n(m),r=e("sKbD"),a=e.n(r),s=e("4IlW"),i=e("3S7+"),n=e("2/Rp"),l=e("zvFY"),t=e("YMnH"),u=e("ZvpZ"),o=e("H84U"),c=e("bogI"),h=e("0n0R"),f=void 0,w=function(I,C){var N={};for(var S in I)Object.prototype.hasOwnProperty.call(I,S)&&C.indexOf(S)<0&&(N[S]=I[S]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,S=Object.getOwnPropertySymbols(I);E<S.length;E++)C.indexOf(S[E])<0&&Object.prototype.propertyIsEnumerable.call(I,S[E])&&(N[S[E]]=I[S[E]]);return N},x=A.forwardRef(function(I,C){var N=A.useState(I.visible),S=v()(N,2),E=S[0],T=S[1];A.useEffect(function(){"visible"in I&&T(I.visible)},[I.visible]),A.useEffect(function(){"defaultVisible"in I&&T(I.defaultVisible)},[I.defaultVisible]);var D=function(me,be){"visible"in I||T(me),I.onVisibleChange&&I.onVisibleChange(me,be)},B=function(me){D(!1,me),I.onConfirm&&I.onConfirm.call(f,me)},R=function(me){D(!1,me),I.onCancel&&I.onCancel.call(f,me)},F=function(me){me.keyCode===s.a.ESC&&E&&D(!1,me)},M=function(me){var be=I.disabled;if(be)return;D(me)},K=function(me,be){var ke=I.okButtonProps,ce=I.cancelButtonProps,Ee=I.title,pe=I.cancelText,Se=I.okText,st=I.okType,qe=I.icon;return A.createElement("div",{className:"".concat(me,"-inner-content")},A.createElement("div",{className:"".concat(me,"-message")},qe,A.createElement("div",{className:"".concat(me,"-message-title")},Object(c.a)(Ee))),A.createElement("div",{className:"".concat(me,"-buttons")},A.createElement(n.a,L()({onClick:R,size:"small"},ce),pe||be.cancelText),A.createElement(n.a,L()({onClick:B},Object(l.a)(st),{size:"small"},ke),Se||be.okText)))},j=A.useContext(o.b),H=j.getPrefixCls,k=I.prefixCls,P=I.placement,z=I.children,Y=I.overlayClassName,_=w(I,["prefixCls","placement","children","overlayClassName"]),G=H("popover",k),J=H("popconfirm",k),ue=d()(J,Y),q=A.createElement(t.a,{componentName:"Popconfirm",defaultLocale:u.a.Popconfirm},function(re){return K(G,re)});return A.createElement(i.a,L()({},_,{prefixCls:G,placement:P,onVisibleChange:M,visible:E,overlay:q,overlayClassName:ue,ref:C}),Object(h.a)(z,{onKeyDown:function(me){var be,ke;(ke=z==null?void 0:(be=z.props).onKeyDown)===null||ke===void 0||ke.call(be,me),F(me)}}))});x.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:A.createElement(a.a,null),disabled:!1},U.a=x},NUBc:function(te,U,e){"use strict";var y=e("lSNA"),L=e.n(y),g=e("pVnL"),v=e.n(g),A=e("q1tI"),b=e.n(A),m=e("wx14"),d=e("rePB"),r=e("VTBJ"),a=e("1OyB"),s=e("vuIU"),i=e("Ji7U"),n=e("LK+K"),l=e("TSYQ"),t=e.n(l),u=function(be){var ke,ce="".concat(be.rootPrefixCls,"-item"),Ee=t()(ce,"".concat(ce,"-").concat(be.page),(ke={},Object(d.a)(ke,"".concat(ce,"-active"),be.active),Object(d.a)(ke,be.className,!!be.className),Object(d.a)(ke,"".concat(ce,"-disabled"),!be.page),ke)),pe=function(){be.onClick(be.page)},Se=function(qe){be.onKeyPress(qe,be.onClick,be.page)};return b.a.createElement("li",{title:be.showTitle?be.page:null,className:Ee,onClick:pe,onKeyPress:Se,tabIndex:"0"},be.itemRender(be.page,"page",b.a.createElement("a",{rel:"nofollow"},be.page)))},o=u,c={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},h=function(me){Object(i.a)(ke,me);var be=Object(n.a)(ke);function ke(){var ce;Object(a.a)(this,ke);for(var Ee=arguments.length,pe=new Array(Ee),Se=0;Se<Ee;Se++)pe[Se]=arguments[Se];return ce=be.call.apply(be,[this].concat(pe)),ce.state={goInputText:""},ce.buildOptionText=function(st){return"".concat(st," ").concat(ce.props.locale.items_per_page)},ce.changeSize=function(st){ce.props.changeSize(Number(st))},ce.handleChange=function(st){ce.setState({goInputText:st.target.value})},ce.handleBlur=function(st){var qe=ce.props,tt=qe.goButton,Dt=qe.quickGo,ct=qe.rootPrefixCls,St=ce.state.goInputText;if(tt||St==="")return;if(st.relatedTarget&&(st.relatedTarget.className.indexOf("".concat(ct,"-prev"))>=0||st.relatedTarget.className.indexOf("".concat(ct,"-next"))>=0))return;ce.setState({goInputText:""}),Dt(ce.getValidValue())},ce.go=function(st){var qe=ce.state.goInputText;if(qe==="")return;(st.keyCode===c.ENTER||st.type==="click")&&(ce.setState({goInputText:""}),ce.props.quickGo(ce.getValidValue()))},ce}return Object(s.a)(ke,[{key:"getValidValue",value:function(){var Ee=this.state,pe=Ee.goInputText,Se=Ee.current;return!pe||isNaN(pe)?Se:Number(pe)}},{key:"getPageSizeOptions",value:function(){var Ee=this.props,pe=Ee.pageSize,Se=Ee.pageSizeOptions;return Se.some(function(st){return st.toString()===pe.toString()})?Se:Se.concat([pe.toString()]).sort(function(st,qe){var tt=isNaN(Number(st))?0:Number(st),Dt=isNaN(Number(qe))?0:Number(qe);return tt-Dt})}},{key:"render",value:function(){var Ee=this,pe=this.props,Se=pe.pageSize,st=pe.locale,qe=pe.rootPrefixCls,tt=pe.changeSize,Dt=pe.quickGo,ct=pe.goButton,St=pe.selectComponentClass,rt=pe.buildOptionText,ht=pe.selectPrefixCls,je=pe.disabled,Me=this.state.goInputText,Ne="".concat(qe,"-options"),it=St,wt=null,jt=null,lt=null;if(!tt&&!Dt)return null;var Te=this.getPageSizeOptions();if(tt&&it){var mt=Te.map(function(tn,Vt){return b.a.createElement(it.Option,{key:Vt,value:tn.toString()},(rt||Ee.buildOptionText)(tn))});wt=b.a.createElement(it,{disabled:je,prefixCls:ht,showSearch:!1,className:"".concat(Ne,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(Se||Te[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Vt){return Vt.parentNode}},mt)}return Dt&&(ct&&(lt=typeof ct=="boolean"?b.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:je,className:"".concat(Ne,"-quick-jumper-button")},st.jump_to_confirm):b.a.createElement("span",{onClick:this.go,onKeyUp:this.go},ct)),jt=b.a.createElement("div",{className:"".concat(Ne,"-quick-jumper")},st.jump_to,b.a.createElement("input",{disabled:je,type:"text",value:Me,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),st.page,lt)),b.a.createElement("li",{className:"".concat(Ne)},wt,jt)}}]),ke}(b.a.Component);h.defaultProps={pageSizeOptions:["10","20","50","100"]};var f=h,w=e("N2Kk");function x(){}function I(me){return typeof me=="number"&&isFinite(me)&&Math.floor(me)===me}function C(me,be,ke){return ke}function N(me,be,ke){var ce=typeof me=="undefined"?be.pageSize:me;return Math.floor((ke.total-1)/ce)+1}var S=function(me){Object(i.a)(ke,me);var be=Object(n.a)(ke);function ke(ce){var Ee;Object(a.a)(this,ke),Ee=be.call(this,ce),Ee.getJumpPrevPage=function(){return Math.max(1,Ee.state.current-(Ee.props.showLessItems?3:5))},Ee.getJumpNextPage=function(){return Math.min(N(void 0,Ee.state,Ee.props),Ee.state.current+(Ee.props.showLessItems?3:5))},Ee.getItemIcon=function(tt,Dt){var ct=Ee.props.prefixCls,St=tt||b.a.createElement("button",{type:"button","aria-label":Dt,className:"".concat(ct,"-item-link")});return typeof tt=="function"&&(St=b.a.createElement(tt,Object(r.a)({},Ee.props))),St},Ee.savePaginationNode=function(tt){Ee.paginationNode=tt},Ee.isValid=function(tt){return I(tt)&&tt!==Ee.state.current},Ee.shouldDisplayQuickJumper=function(){var tt=Ee.props,Dt=tt.showQuickJumper,ct=tt.pageSize,St=tt.total;return St<=ct?!1:Dt},Ee.handleKeyDown=function(tt){(tt.keyCode===c.ARROW_UP||tt.keyCode===c.ARROW_DOWN)&&tt.preventDefault()},Ee.handleKeyUp=function(tt){var Dt=Ee.getValidValue(tt),ct=Ee.state.currentInputValue;Dt!==ct&&Ee.setState({currentInputValue:Dt}),tt.keyCode===c.ENTER?Ee.handleChange(Dt):tt.keyCode===c.ARROW_UP?Ee.handleChange(Dt-1):tt.keyCode===c.ARROW_DOWN&&Ee.handleChange(Dt+1)},Ee.changePageSize=function(tt){var Dt=Ee.state.current,ct=N(tt,Ee.state,Ee.props);Dt=Dt>ct?ct:Dt,ct===0&&(Dt=Ee.state.current),typeof tt=="number"&&("pageSize"in Ee.props||Ee.setState({pageSize:tt}),"current"in Ee.props||Ee.setState({current:Dt,currentInputValue:Dt})),Ee.props.onShowSizeChange(Dt,tt),"onChange"in Ee.props&&Ee.props.onChange&&Ee.props.onChange(Dt,tt)},Ee.handleChange=function(tt){var Dt=Ee.props.disabled,ct=tt;if(Ee.isValid(ct)&&!Dt){var St=N(void 0,Ee.state,Ee.props);ct>St?ct=St:ct<1&&(ct=1),"current"in Ee.props||Ee.setState({current:ct,currentInputValue:ct});var rt=Ee.state.pageSize;return Ee.props.onChange(ct,rt),ct}return Ee.state.current},Ee.prev=function(){Ee.hasPrev()&&Ee.handleChange(Ee.state.current-1)},Ee.next=function(){Ee.hasNext()&&Ee.handleChange(Ee.state.current+1)},Ee.jumpPrev=function(){Ee.handleChange(Ee.getJumpPrevPage())},Ee.jumpNext=function(){Ee.handleChange(Ee.getJumpNextPage())},Ee.hasPrev=function(){return Ee.state.current>1},Ee.hasNext=function(){return Ee.state.current<N(void 0,Ee.state,Ee.props)},Ee.runIfEnter=function(tt,Dt){if(tt.key==="Enter"||tt.charCode===13){for(var ct=arguments.length,St=new Array(ct>2?ct-2:0),rt=2;rt<ct;rt++)St[rt-2]=arguments[rt];Dt.apply(void 0,St)}},Ee.runIfEnterPrev=function(tt){Ee.runIfEnter(tt,Ee.prev)},Ee.runIfEnterNext=function(tt){Ee.runIfEnter(tt,Ee.next)},Ee.runIfEnterJumpPrev=function(tt){Ee.runIfEnter(tt,Ee.jumpPrev)},Ee.runIfEnterJumpNext=function(tt){Ee.runIfEnter(tt,Ee.jumpNext)},Ee.handleGoTO=function(tt){(tt.keyCode===c.ENTER||tt.type==="click")&&Ee.handleChange(Ee.state.currentInputValue)};var pe=ce.onChange!==x,Se="current"in ce;Se&&!pe&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var st=ce.defaultCurrent;"current"in ce&&(st=ce.current);var qe=ce.defaultPageSize;return"pageSize"in ce&&(qe=ce.pageSize),st=Math.min(st,N(qe,void 0,ce)),Ee.state={current:st,currentInputValue:st,pageSize:qe},Ee}return Object(s.a)(ke,[{key:"componentDidUpdate",value:function(Ee,pe){var Se=this.props.prefixCls;if(pe.current!==this.state.current&&this.paginationNode){var st=this.paginationNode.querySelector(".".concat(Se,"-item-").concat(pe.current));st&&document.activeElement===st&&st.blur()}}},{key:"getValidValue",value:function(Ee){var pe=Ee.target.value,Se=N(void 0,this.state,this.props),st=this.state.currentInputValue,qe;return pe===""?qe=pe:isNaN(Number(pe))?qe=st:pe>=Se?qe=Se:qe=Number(pe),qe}},{key:"getShowSizeChanger",value:function(){var Ee=this.props,pe=Ee.showSizeChanger,Se=Ee.total,st=Ee.totalBoundaryShowSizeChanger;return typeof pe!="undefined"?pe:Se>st}},{key:"renderPrev",value:function(Ee){var pe=this.props,Se=pe.prevIcon,st=pe.itemRender,qe=st(Ee,"prev",this.getItemIcon(Se,"prev page")),tt=!this.hasPrev();return Object(A.isValidElement)(qe)?Object(A.cloneElement)(qe,{disabled:tt}):qe}},{key:"renderNext",value:function(Ee){var pe=this.props,Se=pe.nextIcon,st=pe.itemRender,qe=st(Ee,"next",this.getItemIcon(Se,"next page")),tt=!this.hasNext();return Object(A.isValidElement)(qe)?Object(A.cloneElement)(qe,{disabled:tt}):qe}},{key:"render",value:function(){var Ee=this,pe=this.props,Se=pe.prefixCls,st=pe.className,qe=pe.style,tt=pe.disabled,Dt=pe.hideOnSinglePage,ct=pe.total,St=pe.locale,rt=pe.showQuickJumper,ht=pe.showLessItems,je=pe.showTitle,Me=pe.showTotal,Ne=pe.simple,it=pe.itemRender,wt=pe.showPrevNextJumpers,jt=pe.jumpPrevIcon,lt=pe.jumpNextIcon,Te=pe.selectComponentClass,mt=pe.selectPrefixCls,tn=pe.pageSizeOptions,Vt=this.state,Yt=Vt.current,Qt=Vt.pageSize,an=Vt.currentInputValue;if(Dt===!0&&ct<=Qt)return null;var on=N(void 0,this.state,this.props),vt=[],de=null,he=null,Pt=null,We=null,Je=null,Ln=rt&&rt.goButton,jn=ht?1:2,Sn=Yt-1>0?Yt-1:0,Xn=Yt+1<on?Yt+1:on,rr=Object.keys(this.props).reduce(function(Ur,Ue){return(Ue.substr(0,5)==="data-"||Ue.substr(0,5)==="aria-"||Ue==="role")&&(Ur[Ue]=Ee.props[Ue]),Ur},{});if(Ne)return Ln&&(typeof Ln=="boolean"?Je=b.a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},St.jump_to_confirm):Je=b.a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Ln),Je=b.a.createElement("li",{title:je?"".concat(St.jump_to).concat(Yt,"/").concat(on):null,className:"".concat(Se,"-simple-pager")},Je)),b.a.createElement("ul",Object(m.a)({className:t()(Se,"".concat(Se,"-simple"),Object(d.a)({},"".concat(Se,"-disabled"),tt),st),style:qe,ref:this.savePaginationNode},rr),b.a.createElement("li",{title:je?St.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:t()("".concat(Se,"-prev"),Object(d.a)({},"".concat(Se,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(Sn)),b.a.createElement("li",{title:je?"".concat(Yt,"/").concat(on):null,className:"".concat(Se,"-simple-pager")},b.a.createElement("input",{type:"text",value:an,disabled:tt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"}),b.a.createElement("span",{className:"".concat(Se,"-slash")},"/"),on),b.a.createElement("li",{title:je?St.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:t()("".concat(Se,"-next"),Object(d.a)({},"".concat(Se,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Xn)),Je);if(on<=3+jn*2){var hr={locale:St,rootPrefixCls:Se,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:je,itemRender:it};on||vt.push(b.a.createElement(o,Object(m.a)({},hr,{key:"noPager",page:on,className:"".concat(Se,"-disabled")})));for(var gn=1;gn<=on;gn+=1){var vn=Yt===gn;vt.push(b.a.createElement(o,Object(m.a)({},hr,{key:gn,page:gn,active:vn})))}}else{var Ft=ht?St.prev_3:St.prev_5,Ye=ht?St.next_3:St.next_5;wt&&(de=b.a.createElement("li",{title:je?Ft:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:t()("".concat(Se,"-jump-prev"),Object(d.a)({},"".concat(Se,"-jump-prev-custom-icon"),!!jt))},it(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(jt,"prev page"))),he=b.a.createElement("li",{title:je?Ye:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:t()("".concat(Se,"-jump-next"),Object(d.a)({},"".concat(Se,"-jump-next-custom-icon"),!!lt))},it(this.getJumpNextPage(),"jump-next",this.getItemIcon(lt,"next page")))),We=b.a.createElement(o,{locale:St,last:!0,rootPrefixCls:Se,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:on,page:on,active:!1,showTitle:je,itemRender:it}),Pt=b.a.createElement(o,{locale:St,rootPrefixCls:Se,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:je,itemRender:it});var Pe=Math.max(1,Yt-jn),Jt=Math.min(Yt+jn,on);Yt-1<=jn&&(Jt=1+jn*2),on-Yt<=jn&&(Pe=on-jn*2);for(var bn=Pe;bn<=Jt;bn+=1){var An=Yt===bn;vt.push(b.a.createElement(o,{locale:St,rootPrefixCls:Se,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:bn,page:bn,active:An,showTitle:je,itemRender:it}))}Yt-1>=jn*2&&Yt!==1+2&&(vt[0]=Object(A.cloneElement)(vt[0],{className:"".concat(Se,"-item-after-jump-prev")}),vt.unshift(de)),on-Yt>=jn*2&&Yt!==on-2&&(vt[vt.length-1]=Object(A.cloneElement)(vt[vt.length-1],{className:"".concat(Se,"-item-before-jump-next")}),vt.push(he)),Pe!==1&&vt.unshift(Pt),Jt!==on&&vt.push(We)}var dn=null;Me&&(dn=b.a.createElement("li",{className:"".concat(Se,"-total-text")},Me(ct,[ct===0?0:(Yt-1)*Qt+1,Yt*Qt>ct?ct:Yt*Qt])));var vr=!this.hasPrev()||!on,qn=!this.hasNext()||!on;return b.a.createElement("ul",Object(m.a)({className:t()(Se,st,Object(d.a)({},"".concat(Se,"-disabled"),tt)),style:qe,unselectable:"unselectable",ref:this.savePaginationNode},rr),dn,b.a.createElement("li",{title:je?St.prev_page:null,onClick:this.prev,tabIndex:vr?null:0,onKeyPress:this.runIfEnterPrev,className:t()("".concat(Se,"-prev"),Object(d.a)({},"".concat(Se,"-disabled"),vr)),"aria-disabled":vr},this.renderPrev(Sn)),vt,b.a.createElement("li",{title:je?St.next_page:null,onClick:this.next,tabIndex:qn?null:0,onKeyPress:this.runIfEnterNext,className:t()("".concat(Se,"-next"),Object(d.a)({},"".concat(Se,"-disabled"),qn)),"aria-disabled":qn},this.renderNext(Xn)),b.a.createElement(f,{disabled:tt,locale:St,rootPrefixCls:Se,selectComponentClass:Te,selectPrefixCls:mt,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Yt,pageSize:Qt,pageSizeOptions:tn,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Ln}))}}],[{key:"getDerivedStateFromProps",value:function(Ee,pe){var Se={};if("current"in Ee&&(Se.current=Ee.current,Ee.current!==pe.current&&(Se.currentInputValue=Se.current)),"pageSize"in Ee&&Ee.pageSize!==pe.pageSize){var st=pe.current,qe=N(Ee.pageSize,pe,Ee);st=st>qe?qe:st,"current"in Ee||(Se.current=st,Se.currentInputValue=st),Se.pageSize=Ee.pageSize}return Se}}]),ke}(b.a.Component);S.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:x,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:x,locale:w.a,style:{},itemRender:C,totalBoundaryShowSizeChanger:50};var E=S,T=e("H4fg"),D=e("DFhj"),B=e.n(D),R=e("fEPi"),F=e.n(R),M=e("u9fO"),K=e.n(M),j=e("mO/d"),H=e.n(j),k=e("2fM7"),P=function(be){return A.createElement(k.a,v()({size:"small"},be))};P.Option=k.a.Option;var z=P,Y=e("YMnH"),_=e("H84U"),G=e("5OYt"),J=function(me,be){var ke={};for(var ce in me)Object.prototype.hasOwnProperty.call(me,ce)&&be.indexOf(ce)<0&&(ke[ce]=me[ce]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,ce=Object.getOwnPropertySymbols(me);Ee<ce.length;Ee++)be.indexOf(ce[Ee])<0&&Object.prototype.propertyIsEnumerable.call(me,ce[Ee])&&(ke[ce[Ee]]=me[ce[Ee]]);return ke},ue=function(be){var ke=be.prefixCls,ce=be.selectPrefixCls,Ee=be.className,pe=be.size,Se=be.locale,st=J(be,["prefixCls","selectPrefixCls","className","size","locale"]),qe=Object(G.a)(),tt=qe.xs,Dt=A.useContext(_.b),ct=Dt.getPrefixCls,St=Dt.direction,rt=ct("pagination",ke),ht=function(){var Ne=A.createElement("span",{className:"".concat(rt,"-item-ellipsis")},"\u2022\u2022\u2022"),it=A.createElement("button",{className:"".concat(rt,"-item-link"),type:"button",tabIndex:-1},A.createElement(B.a,null)),wt=A.createElement("button",{className:"".concat(rt,"-item-link"),type:"button",tabIndex:-1},A.createElement(F.a,null)),jt=A.createElement("a",{className:"".concat(rt,"-item-link")},A.createElement("div",{className:"".concat(rt,"-item-container")},A.createElement(K.a,{className:"".concat(rt,"-item-link-icon")}),Ne)),lt=A.createElement("a",{className:"".concat(rt,"-item-link")},A.createElement("div",{className:"".concat(rt,"-item-container")},A.createElement(H.a,{className:"".concat(rt,"-item-link-icon")}),Ne));if(St==="rtl"){var Te=[wt,it];it=Te[0],wt=Te[1];var mt=[lt,jt];jt=mt[0],lt=mt[1]}return{prevIcon:it,nextIcon:wt,jumpPrevIcon:jt,jumpNextIcon:lt}},je=function(Ne){var it=v()(v()({},Ne),Se),wt=pe==="small"||!!(tt&&!pe&&st.responsive),jt=ct("select",ce),lt=t()(Ee,L()({mini:wt},"".concat(rt,"-rtl"),St==="rtl"));return A.createElement(E,v()({},st,{prefixCls:rt,selectPrefixCls:jt},ht(),{className:lt,selectComponentClass:wt?z:k.a,locale:it}))};return A.createElement(Y.a,{componentName:"Pagination",defaultLocale:T.a},je)},q=ue,re=U.a=q},NohK:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=function(g){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,A=null;return function(){for(var b=this,m=arguments.length,d=new Array(m),r=0;r<m;r++)d[r]=arguments[r];clearTimeout(A),A=setTimeout(function(){g.apply(b,d)},v)}};U.default=y},Nu4q:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0});var y={icon:function(g,v){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:g}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:v}},{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:v}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:v}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:g}}]}},name:"picture",theme:"twotone"};U.default=y},NvD2:function(te,U,e){"use strict";e.d(U,"a",function(){return b});var y=e("Kwbf");function L(m,d){var r=new Set;return m.forEach(function(a){d.has(a)||r.add(a)}),r}function g(m){var d=m||{},r=d.disabled,a=d.disableCheckbox,s=d.checkable;return!!(r||a)||s===!1}function v(m,d,r,a){for(var s=new Set(m),i=new Set,n=0;n<=r;n+=1){var l=d.get(n)||new Set;l.forEach(function(c){var h=c.key,f=c.node,w=c.children,x=w===void 0?[]:w;s.has(h)&&!a(f)&&x.filter(function(I){return!a(I.node)}).forEach(function(I){s.add(I.key)})})}for(var t=new Set,u=r;u>=0;u-=1){var o=d.get(u)||new Set;o.forEach(function(c){var h=c.parent,f=c.node;if(a(f)||!c.parent||t.has(c.parent.key))return;if(a(c.parent.node)){t.add(h.key);return}var w=!0,x=!1;(h.children||[]).filter(function(I){return!a(I.node)}).forEach(function(I){var C=I.key,N=s.has(C);w&&!N&&(w=!1),!x&&(N||i.has(C))&&(x=!0)}),w&&s.add(h.key),x&&i.add(h.key),t.add(h.key)})}return{checkedKeys:Array.from(s),halfCheckedKeys:Array.from(L(i,s))}}function A(m,d,r,a,s){for(var i=new Set(m),n=new Set(d),l=0;l<=a;l+=1){var t=r.get(l)||new Set;t.forEach(function(h){var f=h.key,w=h.node,x=h.children,I=x===void 0?[]:x;!i.has(f)&&!n.has(f)&&!s(w)&&I.filter(function(C){return!s(C.node)}).forEach(function(C){i.delete(C.key)})})}n=new Set;for(var u=new Set,o=a;o>=0;o-=1){var c=r.get(o)||new Set;c.forEach(function(h){var f=h.parent,w=h.node;if(s(w)||!h.parent||u.has(h.parent.key))return;if(s(h.parent.node)){u.add(f.key);return}var x=!0,I=!1;(f.children||[]).filter(function(C){return!s(C.node)}).forEach(function(C){var N=C.key,S=i.has(N);x&&!S&&(x=!1),!I&&(S||n.has(N))&&(I=!0)}),x||i.delete(f.key),I&&n.add(f.key),u.add(f.key)})}return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(L(n,i))}}function b(m,d,r,a){var s=[],i;a?i=a:i=g;var n=new Set(m.filter(function(o){var c=!!r[o];return c||s.push(o),c})),l=new Map,t=0;Object.keys(r).forEach(function(o){var c=r[o],h=c.level,f=l.get(h);f||(f=new Set,l.set(h,f)),f.add(c),t=Math.max(t,h)}),Object(y.a)(!s.length,"Tree missing follow keys: ".concat(s.slice(0,100).map(function(o){return"'".concat(o,"'")}).join(", ")));var u;return d===!0?u=v(n,l,t,i):u=A(n,d.halfCheckedKeys,l,t,i),u}},"O/iA":function(te,U,e){},O3gP:function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("O/iA"),v=e.n(g),A=e("OaEy")},OELB:function(te,U,e){var y=e("bYtY"),L=1e-4;function g(I){return I.replace(/^\s+|\s+$/g,"")}function v(I,C,N,S){var E=C[1]-C[0],T=N[1]-N[0];if(E===0)return T===0?N[0]:(N[0]+N[1])/2;if(S)if(E>0){if(I<=C[0])return N[0];if(I>=C[1])return N[1]}else{if(I>=C[0])return N[0];if(I<=C[1])return N[1]}else{if(I===C[0])return N[0];if(I===C[1])return N[1]}return(I-C[0])/E*T+N[0]}function A(I,C){switch(I){case"center":case"middle":I="50%";break;case"left":case"top":I="0%";break;case"right":case"bottom":I="100%";break}return typeof I=="string"?g(I).match(/%$/)?parseFloat(I)/100*C:parseFloat(I):I==null?NaN:+I}function b(I,C,N){return C==null&&(C=10),C=Math.min(Math.max(0,C),20),I=(+I).toFixed(C),N?I:+I}function m(I){return I.sort(function(C,N){return C-N}),I}function d(I){if(I=+I,isNaN(I))return 0;for(var C=1,N=0;Math.round(I*C)/C!==I;)C*=10,N++;return N}function r(I){var C=I.toString(),N=C.indexOf("e");if(N>0){var S=+C.slice(N+1);return S<0?-S:0}else{var E=C.indexOf(".");return E<0?0:C.length-1-E}}function a(I,C){var N=Math.log,S=Math.LN10,E=Math.floor(N(I[1]-I[0])/S),T=Math.round(N(Math.abs(C[1]-C[0]))/S),D=Math.min(Math.max(-E+T,0),20);return isFinite(D)?D:20}function s(I,C,N){if(!I[C])return 0;var S=y.reduce(I,function(k,P){return k+(isNaN(P)?0:P)},0);if(S===0)return 0;for(var E=Math.pow(10,N),T=y.map(I,function(k){return(isNaN(k)?0:k)/S*E*100}),D=E*100,B=y.map(T,function(k){return Math.floor(k)}),R=y.reduce(B,function(k,P){return k+P},0),F=y.map(T,function(k,P){return k-B[P]});R<D;){for(var M=Number.NEGATIVE_INFINITY,K=null,j=0,H=F.length;j<H;++j)F[j]>M&&(M=F[j],K=j);++B[K],F[K]=0,++R}return B[C]/E}var i=9007199254740991;function n(I){var C=Math.PI*2;return(I%C+C)%C}function l(I){return I>-L&&I<L}var t=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function u(I){if(I instanceof Date)return I;if(typeof I=="string"){var C=t.exec(I);if(!C)return new Date(NaN);if(C[8]){var N=+C[4]||0;return C[8].toUpperCase()!=="Z"&&(N-=C[8].slice(0,3)),new Date(Date.UTC(+C[1],+(C[2]||1)-1,+C[3]||1,N,+(C[5]||0),+C[6]||0,+C[7]||0))}else return new Date(+C[1],+(C[2]||1)-1,+C[3]||1,+C[4]||0,+(C[5]||0),+C[6]||0,+C[7]||0)}else if(I==null)return new Date(NaN);return new Date(Math.round(I))}function o(I){return Math.pow(10,c(I))}function c(I){if(I===0)return 0;var C=Math.floor(Math.log(I)/Math.LN10);return I/Math.pow(10,C)>=10&&C++,C}function h(I,C){var N=c(I),S=Math.pow(10,N),E=I/S,T;return C?E<1.5?T=1:E<2.5?T=2:E<4?T=3:E<7?T=5:T=10:E<1?T=1:E<2?T=2:E<3?T=3:E<5?T=5:T=10,I=T*S,N>=-20?+I.toFixed(N<0?-N:0):I}function f(I,C){var N=(I.length-1)*C+1,S=Math.floor(N),E=+I[S-1],T=N-S;return T?E+T*(I[S]-E):E}function w(I){I.sort(function(R,F){return B(R,F,0)?-1:1});for(var C=-Infinity,N=1,S=0;S<I.length;){for(var E=I[S].interval,T=I[S].close,D=0;D<2;D++)E[D]<=C&&(E[D]=C,T[D]=D?1:1-N),C=E[D],N=T[D];E[0]===E[1]&&T[0]*T[1]!==1?I.splice(S,1):S++}return I;function B(R,F,M){return R.interval[M]<F.interval[M]||R.interval[M]===F.interval[M]&&(R.close[M]-F.close[M]===(M?-1:1)||!M&&B(R,F,1))}}function x(I){return I-parseFloat(I)>=0}U.linearMap=v,U.parsePercent=A,U.round=b,U.asc=m,U.getPrecision=d,U.getPrecisionSafe=r,U.getPixelPrecision=a,U.getPercentWithPrecision=s,U.MAX_SAFE_INTEGER=i,U.remRadian=n,U.isRadianAroundZero=l,U.parseDate=u,U.quantity=o,U.quantityExponent=c,U.nice=h,U.quantile=f,U.reformIntervals=w,U.isNumeric=x},OKJ2:function(te,U,e){var y=e("KxfA"),L=y.retrieveRawValue,g=e("7aKB"),v=g.getTooltipMarker,A=g.formatTpl,b=e("4NO4"),m=b.getTooltipRenderMode,d=/\{@(.+?)\}/g,r={getDataParams:function(a,s){var i=this.getData(s),n=this.getRawValue(a,s),l=i.getRawIndex(a),t=i.getName(a),u=i.getRawDataItem(a),o=i.getItemVisual(a,"color"),c=i.getItemVisual(a,"borderColor"),h=this.ecModel.getComponent("tooltip"),f=h&&h.get("renderMode"),w=m(f),x=this.mainType,I=x==="series",C=i.userOutput;return{componentType:x,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:I?this.subType:null,seriesIndex:this.seriesIndex,seriesId:I?this.id:null,seriesName:I?this.name:null,name:t,dataIndex:l,data:u,dataType:s,value:n,color:o,borderColor:c,dimensionNames:C?C.dimensionNames:null,encode:C?C.encode:null,marker:v({color:o,renderMode:w}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(a,s,i,n,l){s=s||"normal";var t=this.getData(i),u=t.getItemModel(a),o=this.getDataParams(a,i);n!=null&&o.value instanceof Array&&(o.value=o.value[n]);var c=u.get(s==="normal"?[l||"label","formatter"]:[s,l||"label","formatter"]);if(typeof c=="function")return o.status=s,o.dimensionIndex=n,c(o);if(typeof c=="string"){var h=A(c,o);return h.replace(d,function(f,w){var x=w.length;return w.charAt(0)==="["&&w.charAt(x-1)==="]"&&(w=+w.slice(1,x-1)),L(t,a,w)})}},getRawValue:function(a,s){return L(this.getData(s),a)},formatTooltip:function(){}};te.exports=r},OPEp:function(te,U,e){},OQFs:function(te,U,e){var y=e("KCsZ"),L=y([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),g={getLineStyle:function(v){var A=L(this,v);return A.lineDash=this.getLineDash(A.lineWidth),A},getLineDash:function(v){v==null&&(v=1);var A=this.get("type"),b=Math.max(v,2),m=v*4;return A==="solid"||A==null?!1:A==="dashed"?[m,m]:[b,b]}};te.exports=g},OS9S:function(te,U,e){var y=e("bYtY"),L=y.inherits,g=e("Gev7"),v=e("mFDi");function A(d){g.call(this,d),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}A.prototype.incremental=!0,A.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},A.prototype.addDisplayable=function(d,r){r?this._temporaryDisplayables.push(d):this._displayables.push(d),this.dirty()},A.prototype.addDisplayables=function(d,r){r=r||!1;for(var a=0;a<d.length;a++)this.addDisplayable(d[a],r)},A.prototype.eachPendingDisplayable=function(d){for(var r=this._cursor;r<this._displayables.length;r++)d&&d(this._displayables[r]);for(var r=0;r<this._temporaryDisplayables.length;r++)d&&d(this._temporaryDisplayables[r])},A.prototype.update=function(){this.updateTransform();for(var d=this._cursor;d<this._displayables.length;d++){var r=this._displayables[d];r.parent=this,r.update(),r.parent=null}for(var d=0;d<this._temporaryDisplayables.length;d++){var r=this._temporaryDisplayables[d];r.parent=this,r.update(),r.parent=null}},A.prototype.brush=function(d,r){for(var a=this._cursor;a<this._displayables.length;a++){var s=this._displayables[a];s.beforeBrush&&s.beforeBrush(d),s.brush(d,a===this._cursor?null:this._displayables[a-1]),s.afterBrush&&s.afterBrush(d)}this._cursor=a;for(var a=0;a<this._temporaryDisplayables.length;a++){var s=this._temporaryDisplayables[a];s.beforeBrush&&s.beforeBrush(d),s.brush(d,a===0?null:this._temporaryDisplayables[a-1]),s.afterBrush&&s.afterBrush(d)}this._temporaryDisplayables=[],this.notClear=!0};var b=[];A.prototype.getBoundingRect=function(){if(!this._rect){for(var d=new v(Infinity,Infinity,-Infinity,-Infinity),r=0;r<this._displayables.length;r++){var a=this._displayables[r],s=a.getBoundingRect().clone();a.needLocalTransform()&&s.applyTransform(a.getLocalTransform(b)),d.union(s)}this._rect=d}return this._rect},A.prototype.contain=function(d,r){var a=this.transformCoordToLocal(d,r),s=this.getBoundingRect();if(s.contain(a[0],a[1]))for(var i=0;i<this._displayables.length;i++){var n=this._displayables[i];if(n.contain(d,r))return!0}return!1},L(A,g);var m=A;te.exports=m},OUJF:function(te,U,e){var y=e("ProS"),L=e("bYtY");y.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(g,v){var A=v.getComponent("timeline");return A&&g.currentIndex!=null&&(A.setCurrentIndex(g.currentIndex),!A.get("loop",!0)&&A.isIndexMax()&&A.setPlayState(!1)),v.resetOption("timeline"),L.defaults({currentIndex:A.option.currentIndex},g)}),y.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(g,v){var A=v.getComponent("timeline");A&&g.playState!=null&&A.setPlayState(g.playState)})},OXB0:function(te,U,e){var y=e("T4UG"),L=e("MwEJ"),g=e("IDmD"),v=y.extend({type:"series.heatmap",getInitialData:function(A,b){return L(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var A=g.get(this.get("coordinateSystem"));if(A&&A.dimensions)return A.dimensions[0]==="lng"&&A.dimensions[1]==="lat"},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});te.exports=v},OZM5:function(te,U,e){"use strict";e.d(U,"b",function(){return a}),e.d(U,"a",function(){return s}),e.d(U,"k",function(){return i}),e.d(U,"h",function(){return n}),e.d(U,"i",function(){return l}),e.d(U,"g",function(){return t}),e.d(U,"c",function(){return u}),e.d(U,"d",function(){return o}),e.d(U,"j",function(){return f}),e.d(U,"e",function(){return w}),e.d(U,"f",function(){return x});var y=e("KQm4"),L=e("U8pU"),g=e("Ff2n"),v=e("q1tI"),A=e.n(v),b=e("Kwbf"),m=e("WaYH"),d=.25,r=2;function a(I,C){var N=I.slice(),S=N.indexOf(C);return S>=0&&N.splice(S,1),N}function s(I,C){var N=I.slice();return N.indexOf(C)===-1&&N.push(C),N}function i(I){return I.split("-")}function n(I,C){return"".concat(I,"-").concat(C)}function l(I){return I&&I.type&&I.type.isTreeNode}function t(I,C){var N=[I],S=C[I];function E(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];T.forEach(function(D){var B=D.key,R=D.children;N.push(B),E(R)})}return E(S.children),N}function u(I,C){var N=I.clientY,S=C.selectHandle.getBoundingClientRect(),E=S.top,T=S.bottom,D=S.height,B=Math.max(D*d,r);return N<=E+B?-1:N>=T-B?1:0}function o(I,C){if(!I)return;var N=C.multiple;return N?I.slice():I.length?[I[0]]:I}var c=function(C){return C};function h(I,C){if(!I)return[];var N=C||{},S=N.processProps,E=S===void 0?c:S,T=Array.isArray(I)?I:[I];return T.map(function(D){var B=D.children,R=Object(g.a)(D,["children"]),F=h(B,C);return A.a.createElement(m.a,Object.assign({},E(R)),F)})}function f(I){if(!I)return null;var C;if(Array.isArray(I))C={checkedKeys:I,halfCheckedKeys:void 0};else if(Object(L.a)(I)==="object")C={checkedKeys:I.checked||void 0,halfCheckedKeys:I.halfChecked||void 0};else return Object(b.a)(!1,"`checkedKeys` is not an array or an object"),null;return C}function w(I,C){var N=new Set;function S(E){if(N.has(E))return;var T=C[E];if(!T)return;N.add(E);var D=T.parent,B=T.node;if(B.disabled)return;D&&S(D.key)}return(I||[]).forEach(function(E){S(E)}),Object(y.a)(N)}function x(I){var C={};return Object.keys(I).forEach(function(N){(N.startsWith("data-")||N.startsWith("aria-"))&&(C[N]=I[N])}),C}},OaEy:function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("bKJz"),v=e.n(g),A=e("R9oj")},Ol7k:function(te,U,e){"use strict";var y=e("PKem"),L=e("ZX9x");y.b.Sider=L.b,U.a=y.b},OlYY:function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("ProS"),v=e("bYtY"),A=e("ItGF"),b=e("4NO4"),m=e("UOVi"),d=e("zDms"),r=v.each,a=m.eachAxisDim,s=g.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(t,u,o){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var c=i(t);this.settledOption=c,this.mergeDefaultAndTheme(t,o),this.doInit(c)},mergeOption:function(t){var u=i(t);v.merge(this.option,t,!0),v.merge(this.settledOption,u,!0),this.doInit(u)},doInit:function(t){var u=this.option;A.canvasSupported||(u.realtime=!1),this._setDefaultThrottle(t),n(this,t);var o=this.settledOption;r([["start","startValue"],["end","endValue"]],function(c,h){this._rangePropMode[h]==="value"&&(u[c[0]]=o[c[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var t=this._axisProxies;this.eachTargetAxis(function(u,o,c,h){var f=this.dependentModels[u.axis][o],w=f.__dzAxisProxy||(f.__dzAxisProxy=new d(u.name,o,this,h));t[u.name+"_"+o]=w},this)},_resetTarget:function(){var t=this.option,u=this._judgeAutoMode();a(function(o){var c=o.axisIndex;t[c]=b.normalizeToArray(t[c])},this),u==="axisIndex"?this._autoSetAxisIndex():u==="orient"&&this._autoSetOrient()},_judgeAutoMode:function(){var t=this.option,u=!1;a(function(c){t[c.axisIndex]!=null&&(u=!0)},this);var o=t.orient;if(o==null&&u)return"orient";if(!u)return o==null&&(t.orient="horizontal"),"axisIndex"},_autoSetAxisIndex:function(){var t=!0,u=this.get("orient",!0),o=this.option,c=this.dependentModels;if(t){var h=u==="vertical"?"y":"x";c[h+"Axis"].length?(o[h+"AxisIndex"]=[0],t=!1):r(c.singleAxis,function(f){t&&f.get("orient",!0)===u&&(o.singleAxisIndex=[f.componentIndex],t=!1)})}t&&a(function(f){if(!t)return;var w=[],x=this.dependentModels[f.axis];if(x.length&&!w.length)for(var I=0,C=x.length;I<C;I++)x[I].get("type")==="category"&&w.push(I);o[f.axisIndex]=w,w.length&&(t=!1)},this),t&&this.ecModel.eachSeries(function(f){this._isSeriesHasAllAxesTypeOf(f,"value")&&a(function(w){var x=o[w.axisIndex],I=f.get(w.axisIndex),C=f.get(w.axisId),N=f.ecModel.queryComponents({mainType:w.axis,index:I,id:C})[0];I=N.componentIndex,v.indexOf(x,I)<0&&x.push(I)})},this)},_autoSetOrient:function(){var t;this.eachTargetAxis(function(u){!t&&(t=u.name)},this),this.option.orient=t==="y"?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(t,u){var o=!0;return a(function(c){var h=t.get(c.axisIndex),f=this.dependentModels[c.axis][h];(!f||f.get("type")!==u)&&(o=!1)},this),o},_setDefaultThrottle:function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var u=this.ecModel.option;this.option.throttle=u.animation&&u.animationDurationUpdate>0?100:20}},getFirstTargetAxisModel:function(){var t;return a(function(u){if(t==null){var o=this.get(u.axisIndex);o.length&&(t=this.dependentModels[u.axis][o[0]])}},this),t},eachTargetAxis:function(t,u){var o=this.ecModel;a(function(c){r(this.get(c.axisIndex),function(h){t.call(u,c,h,this,o)},this)},this)},getAxisProxy:function(t,u){return this._axisProxies[t+"_"+u]},getAxisModel:function(t,u){var o=this.getAxisProxy(t,u);return o&&o.getAxisModel()},setRawRange:function(t){var u=this.option,o=this.settledOption;r([["start","startValue"],["end","endValue"]],function(c){(t[c[0]]!=null||t[c[1]]!=null)&&(u[c[0]]=o[c[0]]=t[c[0]],u[c[1]]=o[c[1]]=t[c[1]])},this),n(this,t)},setCalculatedRange:function(t){var u=this.option;r(["start","startValue","end","endValue"],function(o){u[o]=t[o]})},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,u){if(t==null&&u==null){var o=this.findRepresentativeAxisProxy();if(o)return o.getDataValueWindow()}else return this.getAxisProxy(t,u).getDataValueWindow()},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var u=this._axisProxies;for(var o in u)if(u.hasOwnProperty(o)&&u[o].hostedBy(this))return u[o];for(var o in u)if(u.hasOwnProperty(o)&&!u[o].hostedBy(this))return u[o]},getRangePropMode:function(){return this._rangePropMode.slice()}});function i(t){var u={};return r(["start","end","startValue","endValue","throttle"],function(o){t.hasOwnProperty(o)&&(u[o]=t[o])}),u}function n(t,u){var o=t._rangePropMode,c=t.get("rangeMode");r([["start","startValue"],["end","endValue"]],function(h,f){var w=u[h[0]]!=null,x=u[h[1]]!=null;w&&!x?o[f]="percent":!w&&x?o[f]="value":c?o[f]=c[f]:w&&(o[f]="percent")})}var l=s;te.exports=l},OnYD:function(te,U,e){},"Oy/b":function(te,U,e){(function(L,g){te.exports=g()})(typeof self!="undefined"?self:this,function(){return function(y){var L={};function g(v){if(L[v])return L[v].exports;var A=L[v]={i:v,l:!1,exports:{}};return y[v].call(A.exports,A,A.exports,g),A.l=!0,A.exports}return g.m=y,g.c=L,g.d=function(v,A,b){g.o(v,A)||Object.defineProperty(v,A,{enumerable:!0,get:b})},g.r=function(v){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(v,"__esModule",{value:!0})},g.t=function(v,A){if(A&1&&(v=g(v)),A&8)return v;if(A&4&&typeof v=="object"&&v&&v.__esModule)return v;var b=Object.create(null);if(g.r(b),Object.defineProperty(b,"default",{enumerable:!0,value:v}),A&2&&typeof v!="string")for(var m in v)g.d(b,m,function(d){return v[d]}.bind(null,m));return b},g.n=function(v){var A=v&&v.__esModule?function(){return v.default}:function(){return v};return g.d(A,"a",A),A},g.o=function(v,A){return Object.prototype.hasOwnProperty.call(v,A)},g.p="",g(g.s=1)}([function(y,L,g){},function(y,L,g){"use strict";g.r(L);var v=g(0),A=function(){function et(X,ee,ie){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=X,this.start=ee,this.end=ie}return et.range=function(ee,ie){return ie?!ee||!ee.loc||!ie.loc||ee.loc.lexer!==ie.loc.lexer?null:new et(ee.loc.lexer,ee.loc.start,ie.loc.end):ee&&ee.loc},et}(),b=function(){function et(ee,ie){this.text=void 0,this.loc=void 0,this.text=ee,this.loc=ie}var X=et.prototype;return X.range=function(ie,we){return new et(we,A.range(this,ie))},et}(),m=function et(X,ee){this.position=void 0;var ie="KaTeX parse error: "+X,we,Ge=ee&&ee.loc;if(Ge&&Ge.start<=Ge.end){var gt=Ge.lexer.input;we=Ge.start;var fn=Ge.end;we===gt.length?ie+=" at end of input: ":ie+=" at position "+(we+1)+": ";var In=gt.slice(we,fn).replace(/[^]/g,"$&\u0332"),Jn;we>15?Jn="\u2026"+gt.slice(we-15,we):Jn=gt.slice(0,we);var Cr;fn+15<gt.length?Cr=gt.slice(fn,fn+15)+"\u2026":Cr=gt.slice(fn),ie+=Jn+In+Cr}var Hr=new Error(ie);return Hr.name="ParseError",Hr.__proto__=et.prototype,Hr.position=we,Hr};m.prototype.__proto__=Error.prototype;var d=m,r=function(X,ee){return X.indexOf(ee)!==-1},a=function(X,ee){return X===void 0?ee:X},s=/([A-Z])/g,i=function(X){return X.replace(s,"-$1").toLowerCase()},n={"&":"&",">":">","<":"<",'"':""","'":"'"},l=/[&><"']/g;function t(et){return String(et).replace(l,function(X){return n[X]})}var u=function et(X){return X.type==="ordgroup"||X.type==="color"?X.body.length===1?et(X.body[0]):X:X.type==="font"?et(X.body):X},o=function(X){var ee=u(X);return ee.type==="mathord"||ee.type==="textord"||ee.type==="atom"},c=function(X){if(!X)throw new Error("Expected non-null, but got "+String(X));return X},h=function(X){var ee=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(X);return ee!=null?ee[1]:"_relative"},f={contains:r,deflt:a,escape:t,hyphenate:i,getBaseElem:u,isCharacterBox:o,protocolFromUrl:h},w=function(){function et(ee){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,ee=ee||{},this.displayMode=f.deflt(ee.displayMode,!1),this.output=f.deflt(ee.output,"htmlAndMathml"),this.leqno=f.deflt(ee.leqno,!1),this.fleqn=f.deflt(ee.fleqn,!1),this.throwOnError=f.deflt(ee.throwOnError,!0),this.errorColor=f.deflt(ee.errorColor,"#cc0000"),this.macros=ee.macros||{},this.minRuleThickness=Math.max(0,f.deflt(ee.minRuleThickness,0)),this.colorIsTextColor=f.deflt(ee.colorIsTextColor,!1),this.strict=f.deflt(ee.strict,"warn"),this.trust=f.deflt(ee.trust,!1),this.maxSize=Math.max(0,f.deflt(ee.maxSize,Infinity)),this.maxExpand=Math.max(0,f.deflt(ee.maxExpand,1e3))}var X=et.prototype;return X.reportNonstrict=function(ie,we,Ge){var gt=this.strict;if(typeof gt=="function"&&(gt=gt(ie,we,Ge)),!gt||gt==="ignore")return;if(gt===!0||gt==="error")throw new d("LaTeX-incompatible input and strict mode is set to 'error': "+(we+" ["+ie+"]"),Ge);gt==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(we+" ["+ie+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+gt+"': "+we+" ["+ie+"]"))},X.useStrictBehavior=function(ie,we,Ge){var gt=this.strict;if(typeof gt=="function")try{gt=gt(ie,we,Ge)}catch(fn){gt="error"}return!gt||gt==="ignore"?!1:gt===!0||gt==="error"?!0:gt==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(we+" ["+ie+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+gt+"': "+we+" ["+ie+"]")),!1)},X.isTrusted=function(ie){ie.url&&!ie.protocol&&(ie.protocol=f.protocolFromUrl(ie.url));var we=typeof this.trust=="function"?this.trust(ie):this.trust;return Boolean(we)},et}(),x=function(){function et(ee,ie,we){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=ee,this.size=ie,this.cramped=we}var X=et.prototype;return X.sup=function(){return R[F[this.id]]},X.sub=function(){return R[M[this.id]]},X.fracNum=function(){return R[K[this.id]]},X.fracDen=function(){return R[j[this.id]]},X.cramp=function(){return R[H[this.id]]},X.text=function(){return R[k[this.id]]},X.isTight=function(){return this.size>=2},et}(),I=0,C=1,N=2,S=3,E=4,T=5,D=6,B=7,R=[new x(I,0,!1),new x(C,0,!0),new x(N,1,!1),new x(S,1,!0),new x(E,2,!1),new x(T,2,!0),new x(D,3,!1),new x(B,3,!0)],F=[E,T,E,T,D,B,D,B],M=[T,T,T,T,B,B,B,B],K=[N,S,E,T,D,B,D,B],j=[S,S,T,T,B,B,B,B],H=[C,C,S,S,T,T,B,B],k=[I,C,N,S,N,S,N,S],P={DISPLAY:R[I],TEXT:R[N],SCRIPT:R[E],SCRIPTSCRIPT:R[D]},z=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Y(et){for(var X=0;X<z.length;X++)for(var ee=z[X],ie=0;ie<ee.blocks.length;ie++){var we=ee.blocks[ie];if(et>=we[0]&&et<=we[1])return ee.name}return null}var _=[];z.forEach(function(et){return et.blocks.forEach(function(X){return _.push.apply(_,X)})});function G(et){for(var X=0;X<_.length;X+=2)if(et>=_[X]&&et<=_[X+1])return!0;return!1}var J=80,ue=function(X,ee){return"M95,"+(622+X+ee)+`
|
|
|
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`+X/2.075+" -"+X+`
|
|
|
c5.3,-9.3,12,-14,20,-14
|
|
|
H400000v`+(40+X)+`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+X)+" "+ee+"h400000v"+(40+X)+"h-400000z"},q=function(X,ee){return"M263,"+(601+X+ee)+`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`+X/2.084+" -"+X+`
|
|
|
c4.7,-7.3,11,-11,19,-11
|
|
|
H40000v`+(40+X)+`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+X)+" "+ee+"h400000v"+(40+X)+"h-400000z"},re=function(X,ee){return"M983 "+(10+X+ee)+`
|
|
|
l`+X/3.13+" -"+X+`
|
|
|
c4,-6.7,10,-10,18,-10 H400000v`+(40+X)+`
|
|
|
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+X)+" "+ee+"h400000v"+(40+X)+"h-400000z"},me=function(X,ee){return"M424,"+(2398+X+ee)+`
|
|
|
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`+X/4.223+" -"+X+`c4,-6.7,10,-10,18,-10 H400000
|
|
|
v`+(40+X)+`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+X)+" "+ee+`
|
|
|
h400000v`+(40+X)+"h-400000z"},be=function(X,ee){return"M473,"+(2713+X+ee)+`
|
|
|
c339.3,-1799.3,509.3,-2700,510,-2702 l`+X/5.298+" -"+X+`
|
|
|
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+X)+`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+X)+" "+ee+"h400000v"+(40+X)+"H1017.7z"},ke=function(X,ee,ie){var we=ie-54-ee-X;return"M702 "+(X+ee)+"H400000"+(40+X)+`
|
|
|
H742v`+we+`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 `+ee+"H400000v"+(40+X)+"H742z"},ce=function(X,ee,ie){ee=1e3*ee;var we="";switch(X){case"sqrtMain":we=ue(ee,J);break;case"sqrtSize1":we=q(ee,J);break;case"sqrtSize2":we=re(ee,J);break;case"sqrtSize3":we=me(ee,J);break;case"sqrtSize4":we=be(ee,J);break;case"sqrtTall":we=ke(ee,J,ie)}return we},Ee={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`},pe=function(){function et(ee){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=ee,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var X=et.prototype;return X.hasClass=function(ie){return f.contains(this.classes,ie)},X.toNode=function(){for(var ie=document.createDocumentFragment(),we=0;we<this.children.length;we++)ie.appendChild(this.children[we].toNode());return ie},X.toMarkup=function(){for(var ie="",we=0;we<this.children.length;we++)ie+=this.children[we].toMarkup();return ie},X.toText=function(){var ie=function(Ge){return Ge.toText()};return this.children.map(ie).join("")},et}(),Se=function(X){return X.filter(function(ee){return ee}).join(" ")},st=function(X,ee,ie){if(this.classes=X||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=ie||{},ee){ee.style.isTight()&&this.classes.push("mtight");var we=ee.getColor();we&&(this.style.color=we)}},qe=function(X){var ee=document.createElement(X);ee.className=Se(this.classes);for(var ie in this.style)this.style.hasOwnProperty(ie)&&(ee.style[ie]=this.style[ie]);for(var we in this.attributes)this.attributes.hasOwnProperty(we)&&ee.setAttribute(we,this.attributes[we]);for(var Ge=0;Ge<this.children.length;Ge++)ee.appendChild(this.children[Ge].toNode());return ee},tt=function(X){var ee="<"+X;this.classes.length&&(ee+=' class="'+f.escape(Se(this.classes))+'"');var ie="";for(var we in this.style)this.style.hasOwnProperty(we)&&(ie+=f.hyphenate(we)+":"+this.style[we]+";");ie&&(ee+=' style="'+f.escape(ie)+'"');for(var Ge in this.attributes)this.attributes.hasOwnProperty(Ge)&&(ee+=" "+Ge+'="'+f.escape(this.attributes[Ge])+'"');ee+=">";for(var gt=0;gt<this.children.length;gt++)ee+=this.children[gt].toMarkup();return ee+="</"+X+">",ee},Dt=function(){function et(ee,ie,we,Ge){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,st.call(this,ee,we,Ge),this.children=ie||[]}var X=et.prototype;return X.setAttribute=function(ie,we){this.attributes[ie]=we},X.hasClass=function(ie){return f.contains(this.classes,ie)},X.toNode=function(){return qe.call(this,"span")},X.toMarkup=function(){return tt.call(this,"span")},et}(),ct=function(){function et(ee,ie,we,Ge){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,st.call(this,ie,Ge),this.children=we||[],this.setAttribute("href",ee)}var X=et.prototype;return X.setAttribute=function(ie,we){this.attributes[ie]=we},X.hasClass=function(ie){return f.contains(this.classes,ie)},X.toNode=function(){return qe.call(this,"a")},X.toMarkup=function(){return tt.call(this,"a")},et}(),St=function(){function et(ee,ie,we){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=ie,this.src=ee,this.classes=["mord"],this.style=we}var X=et.prototype;return X.hasClass=function(ie){return f.contains(this.classes,ie)},X.toNode=function(){var ie=document.createElement("img");ie.src=this.src,ie.alt=this.alt,ie.className="mord";for(var we in this.style)this.style.hasOwnProperty(we)&&(ie.style[we]=this.style[we]);return ie},X.toMarkup=function(){var ie="<img src='"+this.src+" 'alt='"+this.alt+"' ",we="";for(var Ge in this.style)this.style.hasOwnProperty(Ge)&&(we+=f.hyphenate(Ge)+":"+this.style[Ge]+";");return we&&(ie+=' style="'+f.escape(we)+'"'),ie+="'/>",ie},et}(),rt={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},ht=function(){function et(ee,ie,we,Ge,gt,fn,In,Jn){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=ee,this.height=ie||0,this.depth=we||0,this.italic=Ge||0,this.skew=gt||0,this.width=fn||0,this.classes=In||[],this.style=Jn||{},this.maxFontSize=0;var Cr=Y(this.text.charCodeAt(0));Cr&&this.classes.push(Cr+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=rt[this.text])}var X=et.prototype;return X.hasClass=function(ie){return f.contains(this.classes,ie)},X.toNode=function(){var ie=document.createTextNode(this.text),we=null;this.italic>0&&(we=document.createElement("span"),we.style.marginRight=this.italic+"em"),this.classes.length>0&&(we=we||document.createElement("span"),we.className=Se(this.classes));for(var Ge in this.style)this.style.hasOwnProperty(Ge)&&(we=we||document.createElement("span"),we.style[Ge]=this.style[Ge]);return we?(we.appendChild(ie),we):ie},X.toMarkup=function(){var ie=!1,we="<span";this.classes.length&&(ie=!0,we+=' class="',we+=f.escape(Se(this.classes)),we+='"');var Ge="";this.italic>0&&(Ge+="margin-right:"+this.italic+"em;");for(var gt in this.style)this.style.hasOwnProperty(gt)&&(Ge+=f.hyphenate(gt)+":"+this.style[gt]+";");Ge&&(ie=!0,we+=' style="'+f.escape(Ge)+'"');var fn=f.escape(this.text);return ie?(we+=">",we+=fn,we+="</span>",we):fn},et}(),je=function(){function et(ee,ie){this.children=void 0,this.attributes=void 0,this.children=ee||[],this.attributes=ie||{}}var X=et.prototype;return X.toNode=function(){var ie="http://www.w3.org/2000/svg",we=document.createElementNS(ie,"svg");for(var Ge in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ge)&&we.setAttribute(Ge,this.attributes[Ge]);for(var gt=0;gt<this.children.length;gt++)we.appendChild(this.children[gt].toNode());return we},X.toMarkup=function(){var ie="<svg";for(var we in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,we)&&(ie+=" "+we+"='"+this.attributes[we]+"'");ie+=">";for(var Ge=0;Ge<this.children.length;Ge++)ie+=this.children[Ge].toMarkup();return ie+="</svg>",ie},et}(),Me=function(){function et(ee,ie){this.pathName=void 0,this.alternate=void 0,this.pathName=ee,this.alternate=ie}var X=et.prototype;return X.toNode=function(){var ie="http://www.w3.org/2000/svg",we=document.createElementNS(ie,"path");return this.alternate?we.setAttribute("d",this.alternate):we.setAttribute("d",Ee[this.pathName]),we},X.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+Ee[this.pathName]+"'/>"},et}(),Ne=function(){function et(ee){this.attributes=void 0,this.attributes=ee||{}}var X=et.prototype;return X.toNode=function(){var ie="http://www.w3.org/2000/svg",we=document.createElementNS(ie,"line");for(var Ge in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ge)&&we.setAttribute(Ge,this.attributes[Ge]);return we},X.toMarkup=function(){var ie="<line";for(var we in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,we)&&(ie+=" "+we+"='"+this.attributes[we]+"'");return ie+="/>",ie},et}();function it(et){if(et instanceof ht)return et;throw new Error("Expected symbolNode but got "+String(et)+".")}function wt(et){if(et instanceof Dt)return et;throw new Error("Expected span<HtmlDomNode> but got "+String(et)+".")}var jt={"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]}},lt={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]},Te={\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 mt(et,X){jt[et]=X}function tn(et,X,ee){if(!jt[X])throw new Error("Font metrics not found for font: "+X+".");var ie=et.charCodeAt(0),we=jt[X][ie];if(!we&&et[0]in Te&&(ie=Te[et[0]].charCodeAt(0),we=jt[X][ie]),!we&&ee==="text"&&(G(ie)&&(we=jt[X][77])),we)return{depth:we[0],height:we[1],italic:we[2],skew:we[3],width:we[4]}}var Vt={};function Yt(et){var X;if(et>=5?X=0:et>=3?X=1:X=2,!Vt[X]){var ee=Vt[X]={cssEmPerMu:lt.quad[X]/18};for(var ie in lt)lt.hasOwnProperty(ie)&&(ee[ie]=lt[ie][X])}return Vt[X]}var Qt={bin:1,close:1,inner:1,open:1,punct:1,rel:1},an={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},on={math:{},text:{}},vt=on;function de(et,X,ee,ie,we,Ge){on[et][we]={font:X,group:ee,replace:ie},Ge&&ie&&(on[et][ie]=on[et][we])}var he="math",Pt="text",We="main",Je="ams",Ln="accent-token",jn="bin",Sn="close",Xn="inner",rr="mathord",hr="op-token",gn="open",vn="punct",Ft="rel",Ye="spacing",Pe="textord";de(he,We,Ft,"\u2261","\\equiv",!0),de(he,We,Ft,"\u227A","\\prec",!0),de(he,We,Ft,"\u227B","\\succ",!0),de(he,We,Ft,"\u223C","\\sim",!0),de(he,We,Ft,"\u22A5","\\perp"),de(he,We,Ft,"\u2AAF","\\preceq",!0),de(he,We,Ft,"\u2AB0","\\succeq",!0),de(he,We,Ft,"\u2243","\\simeq",!0),de(he,We,Ft,"\u2223","\\mid",!0),de(he,We,Ft,"\u226A","\\ll",!0),de(he,We,Ft,"\u226B","\\gg",!0),de(he,We,Ft,"\u224D","\\asymp",!0),de(he,We,Ft,"\u2225","\\parallel"),de(he,We,Ft,"\u22C8","\\bowtie",!0),de(he,We,Ft,"\u2323","\\smile",!0),de(he,We,Ft,"\u2291","\\sqsubseteq",!0),de(he,We,Ft,"\u2292","\\sqsupseteq",!0),de(he,We,Ft,"\u2250","\\doteq",!0),de(he,We,Ft,"\u2322","\\frown",!0),de(he,We,Ft,"\u220B","\\ni",!0),de(he,We,Ft,"\u221D","\\propto",!0),de(he,We,Ft,"\u22A2","\\vdash",!0),de(he,We,Ft,"\u22A3","\\dashv",!0),de(he,We,Ft,"\u220B","\\owns"),de(he,We,vn,".","\\ldotp"),de(he,We,vn,"\u22C5","\\cdotp"),de(he,We,Pe,"#","\\#"),de(Pt,We,Pe,"#","\\#"),de(he,We,Pe,"&","\\&"),de(Pt,We,Pe,"&","\\&"),de(he,We,Pe,"\u2135","\\aleph",!0),de(he,We,Pe,"\u2200","\\forall",!0),de(he,We,Pe,"\u210F","\\hbar",!0),de(he,We,Pe,"\u2203","\\exists",!0),de(he,We,Pe,"\u2207","\\nabla",!0),de(he,We,Pe,"\u266D","\\flat",!0),de(he,We,Pe,"\u2113","\\ell",!0),de(he,We,Pe,"\u266E","\\natural",!0),de(he,We,Pe,"\u2663","\\clubsuit",!0),de(he,We,Pe,"\u2118","\\wp",!0),de(he,We,Pe,"\u266F","\\sharp",!0),de(he,We,Pe,"\u2662","\\diamondsuit",!0),de(he,We,Pe,"\u211C","\\Re",!0),de(he,We,Pe,"\u2661","\\heartsuit",!0),de(he,We,Pe,"\u2111","\\Im",!0),de(he,We,Pe,"\u2660","\\spadesuit",!0),de(Pt,We,Pe,"\xA7","\\S",!0),de(Pt,We,Pe,"\xB6","\\P",!0),de(he,We,Pe,"\u2020","\\dag"),de(Pt,We,Pe,"\u2020","\\dag"),de(Pt,We,Pe,"\u2020","\\textdagger"),de(he,We,Pe,"\u2021","\\ddag"),de(Pt,We,Pe,"\u2021","\\ddag"),de(Pt,We,Pe,"\u2021","\\textdaggerdbl"),de(he,We,Sn,"\u23B1","\\rmoustache",!0),de(he,We,gn,"\u23B0","\\lmoustache",!0),de(he,We,Sn,"\u27EF","\\rgroup",!0),de(he,We,gn,"\u27EE","\\lgroup",!0),de(he,We,jn,"\u2213","\\mp",!0),de(he,We,jn,"\u2296","\\ominus",!0),de(he,We,jn,"\u228E","\\uplus",!0),de(he,We,jn,"\u2293","\\sqcap",!0),de(he,We,jn,"\u2217","\\ast"),de(he,We,jn,"\u2294","\\sqcup",!0),de(he,We,jn,"\u25EF","\\bigcirc"),de(he,We,jn,"\u2219","\\bullet"),de(he,We,jn,"\u2021","\\ddagger"),de(he,We,jn,"\u2240","\\wr",!0),de(he,We,jn,"\u2A3F","\\amalg"),de(he,We,jn,"&","\\And"),de(he,We,Ft,"\u27F5","\\longleftarrow",!0),de(he,We,Ft,"\u21D0","\\Leftarrow",!0),de(he,We,Ft,"\u27F8","\\Longleftarrow",!0),de(he,We,Ft,"\u27F6","\\longrightarrow",!0),de(he,We,Ft,"\u21D2","\\Rightarrow",!0),de(he,We,Ft,"\u27F9","\\Longrightarrow",!0),de(he,We,Ft,"\u2194","\\leftrightarrow",!0),de(he,We,Ft,"\u27F7","\\longleftrightarrow",!0),de(he,We,Ft,"\u21D4","\\Leftrightarrow",!0),de(he,We,Ft,"\u27FA","\\Longleftrightarrow",!0),de(he,We,Ft,"\u21A6","\\mapsto",!0),de(he,We,Ft,"\u27FC","\\longmapsto",!0),de(he,We,Ft,"\u2197","\\nearrow",!0),de(he,We,Ft,"\u21A9","\\hookleftarrow",!0),de(he,We,Ft,"\u21AA","\\hookrightarrow",!0),de(he,We,Ft,"\u2198","\\searrow",!0),de(he,We,Ft,"\u21BC","\\leftharpoonup",!0),de(he,We,Ft,"\u21C0","\\rightharpoonup",!0),de(he,We,Ft,"\u2199","\\swarrow",!0),de(he,We,Ft,"\u21BD","\\leftharpoondown",!0),de(he,We,Ft,"\u21C1","\\rightharpoondown",!0),de(he,We,Ft,"\u2196","\\nwarrow",!0),de(he,We,Ft,"\u21CC","\\rightleftharpoons",!0),de(he,Je,Ft,"\u226E","\\nless",!0),de(he,Je,Ft,"\uE010","\\@nleqslant"),de(he,Je,Ft,"\uE011","\\@nleqq"),de(he,Je,Ft,"\u2A87","\\lneq",!0),de(he,Je,Ft,"\u2268","\\lneqq",!0),de(he,Je,Ft,"\uE00C","\\@lvertneqq"),de(he,Je,Ft,"\u22E6","\\lnsim",!0),de(he,Je,Ft,"\u2A89","\\lnapprox",!0),de(he,Je,Ft,"\u2280","\\nprec",!0),de(he,Je,Ft,"\u22E0","\\npreceq",!0),de(he,Je,Ft,"\u22E8","\\precnsim",!0),de(he,Je,Ft,"\u2AB9","\\precnapprox",!0),de(he,Je,Ft,"\u2241","\\nsim",!0),de(he,Je,Ft,"\uE006","\\@nshortmid"),de(he,Je,Ft,"\u2224","\\nmid",!0),de(he,Je,Ft,"\u22AC","\\nvdash",!0),de(he,Je,Ft,"\u22AD","\\nvDash",!0),de(he,Je,Ft,"\u22EA","\\ntriangleleft"),de(he,Je,Ft,"\u22EC","\\ntrianglelefteq",!0),de(he,Je,Ft,"\u228A","\\subsetneq",!0),de(he,Je,Ft,"\uE01A","\\@varsubsetneq"),de(he,Je,Ft,"\u2ACB","\\subsetneqq",!0),de(he,Je,Ft,"\uE017","\\@varsubsetneqq"),de(he,Je,Ft,"\u226F","\\ngtr",!0),de(he,Je,Ft,"\uE00F","\\@ngeqslant"),de(he,Je,Ft,"\uE00E","\\@ngeqq"),de(he,Je,Ft,"\u2A88","\\gneq",!0),de(he,Je,Ft,"\u2269","\\gneqq",!0),de(he,Je,Ft,"\uE00D","\\@gvertneqq"),de(he,Je,Ft,"\u22E7","\\gnsim",!0),de(he,Je,Ft,"\u2A8A","\\gnapprox",!0),de(he,Je,Ft,"\u2281","\\nsucc",!0),de(he,Je,Ft,"\u22E1","\\nsucceq",!0),de(he,Je,Ft,"\u22E9","\\succnsim",!0),de(he,Je,Ft,"\u2ABA","\\succnapprox",!0),de(he,Je,Ft,"\u2246","\\ncong",!0),de(he,Je,Ft,"\uE007","\\@nshortparallel"),de(he,Je,Ft,"\u2226","\\nparallel",!0),de(he,Je,Ft,"\u22AF","\\nVDash",!0),de(he,Je,Ft,"\u22EB","\\ntriangleright"),de(he,Je,Ft,"\u22ED","\\ntrianglerighteq",!0),de(he,Je,Ft,"\uE018","\\@nsupseteqq"),de(he,Je,Ft,"\u228B","\\supsetneq",!0),de(he,Je,Ft,"\uE01B","\\@varsupsetneq"),de(he,Je,Ft,"\u2ACC","\\supsetneqq",!0),de(he,Je,Ft,"\uE019","\\@varsupsetneqq"),de(he,Je,Ft,"\u22AE","\\nVdash",!0),de(he,Je,Ft,"\u2AB5","\\precneqq",!0),de(he,Je,Ft,"\u2AB6","\\succneqq",!0),de(he,Je,Ft,"\uE016","\\@nsubseteqq"),de(he,Je,jn,"\u22B4","\\unlhd"),de(he,Je,jn,"\u22B5","\\unrhd"),de(he,Je,Ft,"\u219A","\\nleftarrow",!0),de(he,Je,Ft,"\u219B","\\nrightarrow",!0),de(he,Je,Ft,"\u21CD","\\nLeftarrow",!0),de(he,Je,Ft,"\u21CF","\\nRightarrow",!0),de(he,Je,Ft,"\u21AE","\\nleftrightarrow",!0),de(he,Je,Ft,"\u21CE","\\nLeftrightarrow",!0),de(he,Je,Ft,"\u25B3","\\vartriangle"),de(he,Je,Pe,"\u210F","\\hslash"),de(he,Je,Pe,"\u25BD","\\triangledown"),de(he,Je,Pe,"\u25CA","\\lozenge"),de(he,Je,Pe,"\u24C8","\\circledS"),de(he,Je,Pe,"\xAE","\\circledR"),de(Pt,Je,Pe,"\xAE","\\circledR"),de(he,Je,Pe,"\u2221","\\measuredangle",!0),de(he,Je,Pe,"\u2204","\\nexists"),de(he,Je,Pe,"\u2127","\\mho"),de(he,Je,Pe,"\u2132","\\Finv",!0),de(he,Je,Pe,"\u2141","\\Game",!0),de(he,Je,Pe,"\u2035","\\backprime"),de(he,Je,Pe,"\u25B2","\\blacktriangle"),de(he,Je,Pe,"\u25BC","\\blacktriangledown"),de(he,Je,Pe,"\u25A0","\\blacksquare"),de(he,Je,Pe,"\u29EB","\\blacklozenge"),de(he,Je,Pe,"\u2605","\\bigstar"),de(he,Je,Pe,"\u2222","\\sphericalangle",!0),de(he,Je,Pe,"\u2201","\\complement",!0),de(he,Je,Pe,"\xF0","\\eth",!0),de(he,Je,Pe,"\u2571","\\diagup"),de(he,Je,Pe,"\u2572","\\diagdown"),de(he,Je,Pe,"\u25A1","\\square"),de(he,Je,Pe,"\u25A1","\\Box"),de(he,Je,Pe,"\u25CA","\\Diamond"),de(he,Je,Pe,"\xA5","\\yen",!0),de(Pt,Je,Pe,"\xA5","\\yen",!0),de(he,Je,Pe,"\u2713","\\checkmark",!0),de(Pt,Je,Pe,"\u2713","\\checkmark"),de(he,Je,Pe,"\u2136","\\beth",!0),de(he,Je,Pe,"\u2138","\\daleth",!0),de(he,Je,Pe,"\u2137","\\gimel",!0),de(he,Je,Pe,"\u03DD","\\digamma",!0),de(he,Je,Pe,"\u03F0","\\varkappa"),de(he,Je,gn,"\u250C","\\ulcorner",!0),de(he,Je,Sn,"\u2510","\\urcorner",!0),de(he,Je,gn,"\u2514","\\llcorner",!0),de(he,Je,Sn,"\u2518","\\lrcorner",!0),de(he,Je,Ft,"\u2266","\\leqq",!0),de(he,Je,Ft,"\u2A7D","\\leqslant",!0),de(he,Je,Ft,"\u2A95","\\eqslantless",!0),de(he,Je,Ft,"\u2272","\\lesssim",!0),de(he,Je,Ft,"\u2A85","\\lessapprox",!0),de(he,Je,Ft,"\u224A","\\approxeq",!0),de(he,Je,jn,"\u22D6","\\lessdot"),de(he,Je,Ft,"\u22D8","\\lll",!0),de(he,Je,Ft,"\u2276","\\lessgtr",!0),de(he,Je,Ft,"\u22DA","\\lesseqgtr",!0),de(he,Je,Ft,"\u2A8B","\\lesseqqgtr",!0),de(he,Je,Ft,"\u2251","\\doteqdot"),de(he,Je,Ft,"\u2253","\\risingdotseq",!0),de(he,Je,Ft,"\u2252","\\fallingdotseq",!0),de(he,Je,Ft,"\u223D","\\backsim",!0),de(he,Je,Ft,"\u22CD","\\backsimeq",!0),de(he,Je,Ft,"\u2AC5","\\subseteqq",!0),de(he,Je,Ft,"\u22D0","\\Subset",!0),de(he,Je,Ft,"\u228F","\\sqsubset",!0),de(he,Je,Ft,"\u227C","\\preccurlyeq",!0),de(he,Je,Ft,"\u22DE","\\curlyeqprec",!0),de(he,Je,Ft,"\u227E","\\precsim",!0),de(he,Je,Ft,"\u2AB7","\\precapprox",!0),de(he,Je,Ft,"\u22B2","\\vartriangleleft"),de(he,Je,Ft,"\u22B4","\\trianglelefteq"),de(he,Je,Ft,"\u22A8","\\vDash",!0),de(he,Je,Ft,"\u22AA","\\Vvdash",!0),de(he,Je,Ft,"\u2323","\\smallsmile"),de(he,Je,Ft,"\u2322","\\smallfrown"),de(he,Je,Ft,"\u224F","\\bumpeq",!0),de(he,Je,Ft,"\u224E","\\Bumpeq",!0),de(he,Je,Ft,"\u2267","\\geqq",!0),de(he,Je,Ft,"\u2A7E","\\geqslant",!0),de(he,Je,Ft,"\u2A96","\\eqslantgtr",!0),de(he,Je,Ft,"\u2273","\\gtrsim",!0),de(he,Je,Ft,"\u2A86","\\gtrapprox",!0),de(he,Je,jn,"\u22D7","\\gtrdot"),de(he,Je,Ft,"\u22D9","\\ggg",!0),de(he,Je,Ft,"\u2277","\\gtrless",!0),de(he,Je,Ft,"\u22DB","\\gtreqless",!0),de(he,Je,Ft,"\u2A8C","\\gtreqqless",!0),de(he,Je,Ft,"\u2256","\\eqcirc",!0),de(he,Je,Ft,"\u2257","\\circeq",!0),de(he,Je,Ft,"\u225C","\\triangleq",!0),de(he,Je,Ft,"\u223C","\\thicksim"),de(he,Je,Ft,"\u2248","\\thickapprox"),de(he,Je,Ft,"\u2AC6","\\supseteqq",!0),de(he,Je,Ft,"\u22D1","\\Supset",!0),de(he,Je,Ft,"\u2290","\\sqsupset",!0),de(he,Je,Ft,"\u227D","\\succcurlyeq",!0),de(he,Je,Ft,"\u22DF","\\curlyeqsucc",!0),de(he,Je,Ft,"\u227F","\\succsim",!0),de(he,Je,Ft,"\u2AB8","\\succapprox",!0),de(he,Je,Ft,"\u22B3","\\vartriangleright"),de(he,Je,Ft,"\u22B5","\\trianglerighteq"),de(he,Je,Ft,"\u22A9","\\Vdash",!0),de(he,Je,Ft,"\u2223","\\shortmid"),de(he,Je,Ft,"\u2225","\\shortparallel"),de(he,Je,Ft,"\u226C","\\between",!0),de(he,Je,Ft,"\u22D4","\\pitchfork",!0),de(he,Je,Ft,"\u221D","\\varpropto"),de(he,Je,Ft,"\u25C0","\\blacktriangleleft"),de(he,Je,Ft,"\u2234","\\therefore",!0),de(he,Je,Ft,"\u220D","\\backepsilon"),de(he,Je,Ft,"\u25B6","\\blacktriangleright"),de(he,Je,Ft,"\u2235","\\because",!0),de(he,Je,Ft,"\u22D8","\\llless"),de(he,Je,Ft,"\u22D9","\\gggtr"),de(he,Je,jn,"\u22B2","\\lhd"),de(he,Je,jn,"\u22B3","\\rhd"),de(he,Je,Ft,"\u2242","\\eqsim",!0),de(he,We,Ft,"\u22C8","\\Join"),de(he,Je,Ft,"\u2251","\\Doteq",!0),de(he,Je,jn,"\u2214","\\dotplus",!0),de(he,Je,jn,"\u2216","\\smallsetminus"),de(he,Je,jn,"\u22D2","\\Cap",!0),de(he,Je,jn,"\u22D3","\\Cup",!0),de(he,Je,jn,"\u2A5E","\\doublebarwedge",!0),de(he,Je,jn,"\u229F","\\boxminus",!0),de(he,Je,jn,"\u229E","\\boxplus",!0),de(he,Je,jn,"\u22C7","\\divideontimes",!0),de(he,Je,jn,"\u22C9","\\ltimes",!0),de(he,Je,jn,"\u22CA","\\rtimes",!0),de(he,Je,jn,"\u22CB","\\leftthreetimes",!0),de(he,Je,jn,"\u22CC","\\rightthreetimes",!0),de(he,Je,jn,"\u22CF","\\curlywedge",!0),de(he,Je,jn,"\u22CE","\\curlyvee",!0),de(he,Je,jn,"\u229D","\\circleddash",!0),de(he,Je,jn,"\u229B","\\circledast",!0),de(he,Je,jn,"\u22C5","\\centerdot"),de(he,Je,jn,"\u22BA","\\intercal",!0),de(he,Je,jn,"\u22D2","\\doublecap"),de(he,Je,jn,"\u22D3","\\doublecup"),de(he,Je,jn,"\u22A0","\\boxtimes",!0),de(he,Je,Ft,"\u21E2","\\dashrightarrow",!0),de(he,Je,Ft,"\u21E0","\\dashleftarrow",!0),de(he,Je,Ft,"\u21C7","\\leftleftarrows",!0),de(he,Je,Ft,"\u21C6","\\leftrightarrows",!0),de(he,Je,Ft,"\u21DA","\\Lleftarrow",!0),de(he,Je,Ft,"\u219E","\\twoheadleftarrow",!0),de(he,Je,Ft,"\u21A2","\\leftarrowtail",!0),de(he,Je,Ft,"\u21AB","\\looparrowleft",!0),de(he,Je,Ft,"\u21CB","\\leftrightharpoons",!0),de(he,Je,Ft,"\u21B6","\\curvearrowleft",!0),de(he,Je,Ft,"\u21BA","\\circlearrowleft",!0),de(he,Je,Ft,"\u21B0","\\Lsh",!0),de(he,Je,Ft,"\u21C8","\\upuparrows",!0),de(he,Je,Ft,"\u21BF","\\upharpoonleft",!0),de(he,Je,Ft,"\u21C3","\\downharpoonleft",!0),de(he,Je,Ft,"\u22B8","\\multimap",!0),de(he,Je,Ft,"\u21AD","\\leftrightsquigarrow",!0),de(he,Je,Ft,"\u21C9","\\rightrightarrows",!0),de(he,Je,Ft,"\u21C4","\\rightleftarrows",!0),de(he,Je,Ft,"\u21A0","\\twoheadrightarrow",!0),de(he,Je,Ft,"\u21A3","\\rightarrowtail",!0),de(he,Je,Ft,"\u21AC","\\looparrowright",!0),de(he,Je,Ft,"\u21B7","\\curvearrowright",!0),de(he,Je,Ft,"\u21BB","\\circlearrowright",!0),de(he,Je,Ft,"\u21B1","\\Rsh",!0),de(he,Je,Ft,"\u21CA","\\downdownarrows",!0),de(he,Je,Ft,"\u21BE","\\upharpoonright",!0),de(he,Je,Ft,"\u21C2","\\downharpoonright",!0),de(he,Je,Ft,"\u21DD","\\rightsquigarrow",!0),de(he,Je,Ft,"\u21DD","\\leadsto"),de(he,Je,Ft,"\u21DB","\\Rrightarrow",!0),de(he,Je,Ft,"\u21BE","\\restriction"),de(he,We,Pe,"\u2018","`"),de(he,We,Pe,"$","\\$"),de(Pt,We,Pe,"$","\\$"),de(Pt,We,Pe,"$","\\textdollar"),de(he,We,Pe,"%","\\%"),de(Pt,We,Pe,"%","\\%"),de(he,We,Pe,"_","\\_"),de(Pt,We,Pe,"_","\\_"),de(Pt,We,Pe,"_","\\textunderscore"),de(he,We,Pe,"\u2220","\\angle",!0),de(he,We,Pe,"\u221E","\\infty",!0),de(he,We,Pe,"\u2032","\\prime"),de(he,We,Pe,"\u25B3","\\triangle"),de(he,We,Pe,"\u0393","\\Gamma",!0),de(he,We,Pe,"\u0394","\\Delta",!0),de(he,We,Pe,"\u0398","\\Theta",!0),de(he,We,Pe,"\u039B","\\Lambda",!0),de(he,We,Pe,"\u039E","\\Xi",!0),de(he,We,Pe,"\u03A0","\\Pi",!0),de(he,We,Pe,"\u03A3","\\Sigma",!0),de(he,We,Pe,"\u03A5","\\Upsilon",!0),de(he,We,Pe,"\u03A6","\\Phi",!0),de(he,We,Pe,"\u03A8","\\Psi",!0),de(he,We,Pe,"\u03A9","\\Omega",!0),de(he,We,Pe,"A","\u0391"),de(he,We,Pe,"B","\u0392"),de(he,We,Pe,"E","\u0395"),de(he,We,Pe,"Z","\u0396"),de(he,We,Pe,"H","\u0397"),de(he,We,Pe,"I","\u0399"),de(he,We,Pe,"K","\u039A"),de(he,We,Pe,"M","\u039C"),de(he,We,Pe,"N","\u039D"),de(he,We,Pe,"O","\u039F"),de(he,We,Pe,"P","\u03A1"),de(he,We,Pe,"T","\u03A4"),de(he,We,Pe,"X","\u03A7"),de(he,We,Pe,"\xAC","\\neg",!0),de(he,We,Pe,"\xAC","\\lnot"),de(he,We,Pe,"\u22A4","\\top"),de(he,We,Pe,"\u22A5","\\bot"),de(he,We,Pe,"\u2205","\\emptyset"),de(he,Je,Pe,"\u2205","\\varnothing"),de(he,We,rr,"\u03B1","\\alpha",!0),de(he,We,rr,"\u03B2","\\beta",!0),de(he,We,rr,"\u03B3","\\gamma",!0),de(he,We,rr,"\u03B4","\\delta",!0),de(he,We,rr,"\u03F5","\\epsilon",!0),de(he,We,rr,"\u03B6","\\zeta",!0),de(he,We,rr,"\u03B7","\\eta",!0),de(he,We,rr,"\u03B8","\\theta",!0),de(he,We,rr,"\u03B9","\\iota",!0),de(he,We,rr,"\u03BA","\\kappa",!0),de(he,We,rr,"\u03BB","\\lambda",!0),de(he,We,rr,"\u03BC","\\mu",!0),de(he,We,rr,"\u03BD","\\nu",!0),de(he,We,rr,"\u03BE","\\xi",!0),de(he,We,rr,"\u03BF","\\omicron",!0),de(he,We,rr,"\u03C0","\\pi",!0),de(he,We,rr,"\u03C1","\\rho",!0),de(he,We,rr,"\u03C3","\\sigma",!0),de(he,We,rr,"\u03C4","\\tau",!0),de(he,We,rr,"\u03C5","\\upsilon",!0),de(he,We,rr,"\u03D5","\\phi",!0),de(he,We,rr,"\u03C7","\\chi",!0),de(he,We,rr,"\u03C8","\\psi",!0),de(he,We,rr,"\u03C9","\\omega",!0),de(he,We,rr,"\u03B5","\\varepsilon",!0),de(he,We,rr,"\u03D1","\\vartheta",!0),de(he,We,rr,"\u03D6","\\varpi",!0),de(he,We,rr,"\u03F1","\\varrho",!0),de(he,We,rr,"\u03C2","\\varsigma",!0),de(he,We,rr,"\u03C6","\\varphi",!0),de(he,We,jn,"\u2217","*"),de(he,We,jn,"+","+"),de(he,We,jn,"\u2212","-"),de(he,We,jn,"\u22C5","\\cdot",!0),de(he,We,jn,"\u2218","\\circ"),de(he,We,jn,"\xF7","\\div",!0),de(he,We,jn,"\xB1","\\pm",!0),de(he,We,jn,"\xD7","\\times",!0),de(he,We,jn,"\u2229","\\cap",!0),de(he,We,jn,"\u222A","\\cup",!0),de(he,We,jn,"\u2216","\\setminus"),de(he,We,jn,"\u2227","\\land"),de(he,We,jn,"\u2228","\\lor"),de(he,We,jn,"\u2227","\\wedge",!0),de(he,We,jn,"\u2228","\\vee",!0),de(he,We,Pe,"\u221A","\\surd"),de(he,We,gn,"(","("),de(he,We,gn,"[","["),de(he,We,gn,"\u27E8","\\langle",!0),de(he,We,gn,"\u2223","\\lvert"),de(he,We,gn,"\u2225","\\lVert"),de(he,We,Sn,")",")"),de(he,We,Sn,"]","]"),de(he,We,Sn,"?","?"),de(he,We,Sn,"!","!"),de(he,We,Sn,"\u27E9","\\rangle",!0),de(he,We,Sn,"\u2223","\\rvert"),de(he,We,Sn,"\u2225","\\rVert"),de(he,We,Ft,"=","="),de(he,We,Ft,"<","<"),de(he,We,Ft,">",">"),de(he,We,Ft,":",":"),de(he,We,Ft,"\u2248","\\approx",!0),de(he,We,Ft,"\u2245","\\cong",!0),de(he,We,Ft,"\u2265","\\ge"),de(he,We,Ft,"\u2265","\\geq",!0),de(he,We,Ft,"\u2190","\\gets"),de(he,We,Ft,">","\\gt"),de(he,We,Ft,"\u2208","\\in",!0),de(he,We,Ft,"\uE020","\\@not"),de(he,We,Ft,"\u2282","\\subset",!0),de(he,We,Ft,"\u2283","\\supset",!0),de(he,We,Ft,"\u2286","\\subseteq",!0),de(he,We,Ft,"\u2287","\\supseteq",!0),de(he,Je,Ft,"\u2288","\\nsubseteq",!0),de(he,Je,Ft,"\u2289","\\nsupseteq",!0),de(he,We,Ft,"\u22A8","\\models"),de(he,We,Ft,"\u2190","\\leftarrow",!0),de(he,We,Ft,"\u2264","\\le"),de(he,We,Ft,"\u2264","\\leq",!0),de(he,We,Ft,"<","\\lt"),de(he,We,Ft,"\u2192","\\rightarrow",!0),de(he,We,Ft,"\u2192","\\to"),de(he,Je,Ft,"\u2271","\\ngeq",!0),de(he,Je,Ft,"\u2270","\\nleq",!0),de(he,We,Ye,"\xA0","\\ "),de(he,We,Ye,"\xA0","~"),de(he,We,Ye,"\xA0","\\space"),de(he,We,Ye,"\xA0","\\nobreakspace"),de(Pt,We,Ye,"\xA0","\\ "),de(Pt,We,Ye,"\xA0","~"),de(Pt,We,Ye,"\xA0","\\space"),de(Pt,We,Ye,"\xA0","\\nobreakspace"),de(he,We,Ye,null,"\\nobreak"),de(he,We,Ye,null,"\\allowbreak"),de(he,We,vn,",",","),de(he,We,vn,";",";"),de(he,Je,jn,"\u22BC","\\barwedge",!0),de(he,Je,jn,"\u22BB","\\veebar",!0),de(he,We,jn,"\u2299","\\odot",!0),de(he,We,jn,"\u2295","\\oplus",!0),de(he,We,jn,"\u2297","\\otimes",!0),de(he,We,Pe,"\u2202","\\partial",!0),de(he,We,jn,"\u2298","\\oslash",!0),de(he,Je,jn,"\u229A","\\circledcirc",!0),de(he,Je,jn,"\u22A1","\\boxdot",!0),de(he,We,jn,"\u25B3","\\bigtriangleup"),de(he,We,jn,"\u25BD","\\bigtriangledown"),de(he,We,jn,"\u2020","\\dagger"),de(he,We,jn,"\u22C4","\\diamond"),de(he,We,jn,"\u22C6","\\star"),de(he,We,jn,"\u25C3","\\triangleleft"),de(he,We,jn,"\u25B9","\\triangleright"),de(he,We,gn,"{","\\{"),de(Pt,We,Pe,"{","\\{"),de(Pt,We,Pe,"{","\\textbraceleft"),de(he,We,Sn,"}","\\}"),de(Pt,We,Pe,"}","\\}"),de(Pt,We,Pe,"}","\\textbraceright"),de(he,We,gn,"{","\\lbrace"),de(he,We,Sn,"}","\\rbrace"),de(he,We,gn,"[","\\lbrack"),de(Pt,We,Pe,"[","\\lbrack"),de(he,We,Sn,"]","\\rbrack"),de(Pt,We,Pe,"]","\\rbrack"),de(he,We,gn,"(","\\lparen"),de(he,We,Sn,")","\\rparen"),de(Pt,We,Pe,"<","\\textless"),de(Pt,We,Pe,">","\\textgreater"),de(he,We,gn,"\u230A","\\lfloor",!0),de(he,We,Sn,"\u230B","\\rfloor",!0),de(he,We,gn,"\u2308","\\lceil",!0),de(he,We,Sn,"\u2309","\\rceil",!0),de(he,We,Pe,"\\","\\backslash"),de(he,We,Pe,"\u2223","|"),de(he,We,Pe,"\u2223","\\vert"),de(Pt,We,Pe,"|","\\textbar"),de(he,We,Pe,"\u2225","\\|"),de(he,We,Pe,"\u2225","\\Vert"),de(Pt,We,Pe,"\u2225","\\textbardbl"),de(Pt,We,Pe,"~","\\textasciitilde"),de(Pt,We,Pe,"\\","\\textbackslash"),de(Pt,We,Pe,"^","\\textasciicircum"),de(he,We,Ft,"\u2191","\\uparrow",!0),de(he,We,Ft,"\u21D1","\\Uparrow",!0),de(he,We,Ft,"\u2193","\\downarrow",!0),de(he,We,Ft,"\u21D3","\\Downarrow",!0),de(he,We,Ft,"\u2195","\\updownarrow",!0),de(he,We,Ft,"\u21D5","\\Updownarrow",!0),de(he,We,hr,"\u2210","\\coprod"),de(he,We,hr,"\u22C1","\\bigvee"),de(he,We,hr,"\u22C0","\\bigwedge"),de(he,We,hr,"\u2A04","\\biguplus"),de(he,We,hr,"\u22C2","\\bigcap"),de(he,We,hr,"\u22C3","\\bigcup"),de(he,We,hr,"\u222B","\\int"),de(he,We,hr,"\u222B","\\intop"),de(he,We,hr,"\u222C","\\iint"),de(he,We,hr,"\u222D","\\iiint"),de(he,We,hr,"\u220F","\\prod"),de(he,We,hr,"\u2211","\\sum"),de(he,We,hr,"\u2A02","\\bigotimes"),de(he,We,hr,"\u2A01","\\bigoplus"),de(he,We,hr,"\u2A00","\\bigodot"),de(he,We,hr,"\u222E","\\oint"),de(he,We,hr,"\u222F","\\oiint"),de(he,We,hr,"\u2230","\\oiiint"),de(he,We,hr,"\u2A06","\\bigsqcup"),de(he,We,hr,"\u222B","\\smallint"),de(Pt,We,Xn,"\u2026","\\textellipsis"),de(he,We,Xn,"\u2026","\\mathellipsis"),de(Pt,We,Xn,"\u2026","\\ldots",!0),de(he,We,Xn,"\u2026","\\ldots",!0),de(he,We,Xn,"\u22EF","\\@cdots",!0),de(he,We,Xn,"\u22F1","\\ddots",!0),de(he,We,Pe,"\u22EE","\\varvdots"),de(he,We,Ln,"\u02CA","\\acute"),de(he,We,Ln,"\u02CB","\\grave"),de(he,We,Ln,"\xA8","\\ddot"),de(he,We,Ln,"~","\\tilde"),de(he,We,Ln,"\u02C9","\\bar"),de(he,We,Ln,"\u02D8","\\breve"),de(he,We,Ln,"\u02C7","\\check"),de(he,We,Ln,"^","\\hat"),de(he,We,Ln,"\u20D7","\\vec"),de(he,We,Ln,"\u02D9","\\dot"),de(he,We,Ln,"\u02DA","\\mathring"),de(he,We,rr,"\u0131","\\imath",!0),de(he,We,rr,"\u0237","\\jmath",!0),de(Pt,We,Pe,"\u0131","\\i",!0),de(Pt,We,Pe,"\u0237","\\j",!0),de(Pt,We,Pe,"\xDF","\\ss",!0),de(Pt,We,Pe,"\xE6","\\ae",!0),de(Pt,We,Pe,"\xE6","\\ae",!0),de(Pt,We,Pe,"\u0153","\\oe",!0),de(Pt,We,Pe,"\xF8","\\o",!0),de(Pt,We,Pe,"\xC6","\\AE",!0),de(Pt,We,Pe,"\u0152","\\OE",!0),de(Pt,We,Pe,"\xD8","\\O",!0),de(Pt,We,Ln,"\u02CA","\\'"),de(Pt,We,Ln,"\u02CB","\\`"),de(Pt,We,Ln,"\u02C6","\\^"),de(Pt,We,Ln,"\u02DC","\\~"),de(Pt,We,Ln,"\u02C9","\\="),de(Pt,We,Ln,"\u02D8","\\u"),de(Pt,We,Ln,"\u02D9","\\."),de(Pt,We,Ln,"\u02DA","\\r"),de(Pt,We,Ln,"\u02C7","\\v"),de(Pt,We,Ln,"\xA8",'\\"'),de(Pt,We,Ln,"\u02DD","\\H"),de(Pt,We,Ln,"\u25EF","\\textcircled");var Jt={"--":!0,"---":!0,"``":!0,"''":!0};de(Pt,We,Pe,"\u2013","--"),de(Pt,We,Pe,"\u2013","\\textendash"),de(Pt,We,Pe,"\u2014","---"),de(Pt,We,Pe,"\u2014","\\textemdash"),de(Pt,We,Pe,"\u2018","`"),de(Pt,We,Pe,"\u2018","\\textquoteleft"),de(Pt,We,Pe,"\u2019","'"),de(Pt,We,Pe,"\u2019","\\textquoteright"),de(Pt,We,Pe,"\u201C","``"),de(Pt,We,Pe,"\u201C","\\textquotedblleft"),de(Pt,We,Pe,"\u201D","''"),de(Pt,We,Pe,"\u201D","\\textquotedblright"),de(he,We,Pe,"\xB0","\\degree",!0),de(Pt,We,Pe,"\xB0","\\degree"),de(Pt,We,Pe,"\xB0","\\textdegree",!0),de(he,We,rr,"\xA3","\\pounds"),de(he,We,rr,"\xA3","\\mathsterling",!0),de(Pt,We,rr,"\xA3","\\pounds"),de(Pt,We,rr,"\xA3","\\textsterling",!0),de(he,Je,Pe,"\u2720","\\maltese"),de(Pt,Je,Pe,"\u2720","\\maltese"),de(Pt,We,Ye,"\xA0","\\ "),de(Pt,We,Ye,"\xA0"," "),de(Pt,We,Ye,"\xA0","~");for(var bn='0123456789/@."',An=0;An<bn.length;An++){var dn=bn.charAt(An);de(he,We,Pe,dn,dn)}for(var vr='0123456789!@*()-=+[]<>|";:?/.,',qn=0;qn<vr.length;qn++){var Ur=vr.charAt(qn);de(Pt,We,Pe,Ur,Ur)}for(var Ue="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",He=0;He<Ue.length;He++){var se=Ue.charAt(He);de(he,We,rr,se,se),de(Pt,We,Pe,se,se)}de(he,Je,Pe,"C","\u2102"),de(Pt,Je,Pe,"C","\u2102"),de(he,Je,Pe,"H","\u210D"),de(Pt,Je,Pe,"H","\u210D"),de(he,Je,Pe,"N","\u2115"),de(Pt,Je,Pe,"N","\u2115"),de(he,Je,Pe,"P","\u2119"),de(Pt,Je,Pe,"P","\u2119"),de(he,Je,Pe,"Q","\u211A"),de(Pt,Je,Pe,"Q","\u211A"),de(he,Je,Pe,"R","\u211D"),de(Pt,Je,Pe,"R","\u211D"),de(he,Je,Pe,"Z","\u2124"),de(Pt,Je,Pe,"Z","\u2124"),de(he,We,rr,"h","\u210E"),de(Pt,We,rr,"h","\u210E");for(var Ae="",Oe=0;Oe<Ue.length;Oe++){var ze=Ue.charAt(Oe);Ae=String.fromCharCode(55349,56320+Oe),de(he,We,rr,ze,Ae),de(Pt,We,Pe,ze,Ae),Ae=String.fromCharCode(55349,56372+Oe),de(he,We,rr,ze,Ae),de(Pt,We,Pe,ze,Ae),Ae=String.fromCharCode(55349,56424+Oe),de(he,We,rr,ze,Ae),de(Pt,We,Pe,ze,Ae),Ae=String.fromCharCode(55349,56580+Oe),de(he,We,rr,ze,Ae),de(Pt,We,Pe,ze,Ae),Ae=String.fromCharCode(55349,56736+Oe),de(he,We,rr,ze,Ae),de(Pt,We,Pe,ze,Ae),Ae=String.fromCharCode(55349,56788+Oe),de(he,We,rr,ze,Ae),de(Pt,We,Pe,ze,Ae),Ae=String.fromCharCode(55349,56840+Oe),de(he,We,rr,ze,Ae),de(Pt,We,Pe,ze,Ae),Ae=String.fromCharCode(55349,56944+Oe),de(he,We,rr,ze,Ae),de(Pt,We,Pe,ze,Ae),Oe<26&&(Ae=String.fromCharCode(55349,56632+Oe),de(he,We,rr,ze,Ae),de(Pt,We,Pe,ze,Ae),Ae=String.fromCharCode(55349,56476+Oe),de(he,We,rr,ze,Ae),de(Pt,We,Pe,ze,Ae))}Ae=String.fromCharCode(55349,56668),de(he,We,rr,"k",Ae),de(Pt,We,Pe,"k",Ae);for(var Rt=0;Rt<10;Rt++){var Et=Rt.toString();Ae=String.fromCharCode(55349,57294+Rt),de(he,We,rr,Et,Ae),de(Pt,We,Pe,Et,Ae),Ae=String.fromCharCode(55349,57314+Rt),de(he,We,rr,Et,Ae),de(Pt,We,Pe,Et,Ae),Ae=String.fromCharCode(55349,57324+Rt),de(he,We,rr,Et,Ae),de(Pt,We,Pe,Et,Ae),Ae=String.fromCharCode(55349,57334+Rt),de(he,We,rr,Et,Ae),de(Pt,We,Pe,Et,Ae)}for(var _t="\xC7\xD0\xDE\xE7\xFE",Nn=0;Nn<_t.length;Nn++){var Mn=_t.charAt(Nn);de(he,We,rr,Mn,Mn),de(Pt,We,Pe,Mn,Mn)}de(Pt,We,Pe,"\xF0","\xF0"),de(Pt,We,Pe,"\u2013","\u2013"),de(Pt,We,Pe,"\u2014","\u2014"),de(Pt,We,Pe,"\u2018","\u2018"),de(Pt,We,Pe,"\u2019","\u2019"),de(Pt,We,Pe,"\u201C","\u201C"),de(Pt,We,Pe,"\u201D","\u201D");var lr=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathdefault","textit","Math-Italic"],["mathdefault","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Lt=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],$e=function(X,ee){var ie=X.charCodeAt(0),we=X.charCodeAt(1),Ge=(ie-55296)*1024+(we-56320)+65536,gt=ee==="math"?0:1;if(119808<=Ge&&Ge<120484){var fn=Math.floor((Ge-119808)/26);return[lr[fn][2],lr[fn][gt]]}else if(120782<=Ge&&Ge<=120831){var In=Math.floor((Ge-120782)/10);return[Lt[In][2],Lt[In][gt]]}else{if(Ge===120485||Ge===120486)return[lr[0][2],lr[0][gt]];if(120486<Ge&&Ge<120782)return["",""];throw new d("Unsupported character: "+X)}},Qe=[[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]],kt=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Ht=function(X,ee){return ee.size<2?X:Qe[X-1][ee.size-1]},ot=function(){function et(ee){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=ee.style,this.color=ee.color,this.size=ee.size||et.BASESIZE,this.textSize=ee.textSize||this.size,this.phantom=!!ee.phantom,this.font=ee.font||"",this.fontFamily=ee.fontFamily||"",this.fontWeight=ee.fontWeight||"",this.fontShape=ee.fontShape||"",this.sizeMultiplier=kt[this.size-1],this.maxSize=ee.maxSize,this.minRuleThickness=ee.minRuleThickness,this._fontMetrics=void 0}var X=et.prototype;return X.extend=function(ie){var we={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 Ge in ie)ie.hasOwnProperty(Ge)&&(we[Ge]=ie[Ge]);return new et(we)},X.havingStyle=function(ie){return this.style===ie?this:this.extend({style:ie,size:Ht(this.textSize,ie)})},X.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},X.havingSize=function(ie){return this.size===ie&&this.textSize===ie?this:this.extend({style:this.style.text(),size:ie,textSize:ie,sizeMultiplier:kt[ie-1]})},X.havingBaseStyle=function(ie){ie=ie||this.style.text();var we=Ht(et.BASESIZE,ie);return this.size===we&&this.textSize===et.BASESIZE&&this.style===ie?this:this.extend({style:ie,size:we})},X.havingBaseSizing=function(){var ie;switch(this.style.id){case 4:case 5:ie=3;break;case 6:case 7:ie=1;break;default:ie=6}return this.extend({style:this.style.text(),size:ie})},X.withColor=function(ie){return this.extend({color:ie})},X.withPhantom=function(){return this.extend({phantom:!0})},X.withFont=function(ie){return this.extend({font:ie})},X.withTextFontFamily=function(ie){return this.extend({fontFamily:ie,font:""})},X.withTextFontWeight=function(ie){return this.extend({fontWeight:ie,font:""})},X.withTextFontShape=function(ie){return this.extend({fontShape:ie,font:""})},X.sizingClasses=function(ie){return ie.size!==this.size?["sizing","reset-size"+ie.size,"size"+this.size]:[]},X.baseSizingClasses=function(){return this.size!==et.BASESIZE?["sizing","reset-size"+this.size,"size"+et.BASESIZE]:[]},X.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=Yt(this.size)),this._fontMetrics},X.getColor=function(){return this.phantom?"transparent":this.color},et}();ot.BASESIZE=6;var Ct=ot,nt={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},Ot={ex:!0,em:!0,mu:!0},sn=function(X){return typeof X!="string"&&(X=X.unit),X in nt||X in Ot||X==="ex"},Zt=function(X,ee){var ie;if(X.unit in nt)ie=nt[X.unit]/ee.fontMetrics().ptPerEm/ee.sizeMultiplier;else if(X.unit==="mu")ie=ee.fontMetrics().cssEmPerMu;else{var we;if(ee.style.isTight()?we=ee.havingStyle(ee.style.text()):we=ee,X.unit==="ex")ie=we.fontMetrics().xHeight;else if(X.unit==="em")ie=we.fontMetrics().quad;else throw new d("Invalid unit: '"+X.unit+"'");we!==ee&&(ie*=we.sizeMultiplier/ee.sizeMultiplier)}return Math.min(X.number*ie,ee.maxSize)},Gt=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],Qn=function(X,ee,ie){return vt[ie][X]&&vt[ie][X].replace&&(X=vt[ie][X].replace),{value:X,metrics:tn(X,ee,ie)}},Gn=function(X,ee,ie,we,Ge){var gt=Qn(X,ee,ie),fn=gt.metrics;X=gt.value;var In;if(fn){var Jn=fn.italic;(ie==="text"||we&&we.font==="mathit")&&(Jn=0),In=new ht(X,fn.height,fn.depth,Jn,fn.skew,fn.width,Ge)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+X+"' in style '"+ee+"' and mode '"+ie+"'")),In=new ht(X,0,0,0,0,0,Ge);if(we){In.maxFontSize=we.sizeMultiplier,we.style.isTight()&&In.classes.push("mtight");var Cr=we.getColor();Cr&&(In.style.color=Cr)}return In},Or=function(X,ee,ie,we){return we===void 0&&(we=[]),ie.font==="boldsymbol"&&Qn(X,"Main-Bold",ee).metrics?Gn(X,"Main-Bold",ee,ie,we.concat(["mathbf"])):X==="\\"||vt[ee][X].font==="main"?Gn(X,"Main-Regular",ee,ie,we):Gn(X,"AMS-Regular",ee,ie,we.concat(["amsrm"]))},Nr=function(X,ee,ie,we){return/[0-9]/.test(X.charAt(0))||f.contains(Gt,X)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Kr=function(X,ee,ie,we){return f.contains(Gt,X)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(X.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},ei=function(X,ee,ie,we){return Qn(X,"Math-BoldItalic",ee).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},vi=function(X,ee,ie){var we=X.mode,Ge=X.text,gt=["mord"],fn=we==="math"||we==="text"&&ee.font,In=fn?ee.font:ee.fontFamily;if(Ge.charCodeAt(0)===55349){var Jn=$e(Ge,we),Cr=Jn[0],Hr=Jn[1];return Gn(Ge,Cr,we,ee,gt.concat(Hr))}else if(In){var si,xi;if(In==="boldsymbol"||In==="mathnormal"){var Bi=In==="boldsymbol"?ei(Ge,we,ee,gt):Kr(Ge,we,ee,gt);si=Bi.fontName,xi=[Bi.fontClass]}else f.contains(Gt,Ge)?(si="Main-Italic",xi=["mathit"]):fn?(si=Tn[In].fontName,xi=[In]):(si=rn(In,ee.fontWeight,ee.fontShape),xi=[In,ee.fontWeight,ee.fontShape]);if(Qn(Ge,si,we).metrics)return Gn(Ge,si,we,ee,gt.concat(xi));if(Jt.hasOwnProperty(Ge)&&si.substr(0,10)==="Typewriter"){for(var sa=[],ya=0;ya<Ge.length;ya++)sa.push(Gn(Ge[ya],si,we,ee,gt.concat(xi)));return Fe(sa)}}if(ie==="mathord"){var Ja=Nr(Ge,we,ee,gt);return Gn(Ge,Ja.fontName,we,ee,gt.concat([Ja.fontClass]))}else if(ie==="textord"){var $a=vt[we][Ge]&&vt[we][Ge].font;if($a==="ams"){var to=rn("amsrm",ee.fontWeight,ee.fontShape);return Gn(Ge,to,we,ee,gt.concat("amsrm",ee.fontWeight,ee.fontShape))}else if($a==="main"||!$a){var Lo=rn("textrm",ee.fontWeight,ee.fontShape);return Gn(Ge,Lo,we,ee,gt.concat(ee.fontWeight,ee.fontShape))}else{var Co=rn($a,ee.fontWeight,ee.fontShape);return Gn(Ge,Co,we,ee,gt.concat(Co,ee.fontWeight,ee.fontShape))}}else throw new Error("unexpected type: "+ie+" in makeOrd")},Pi=function(X,ee){if(Se(X.classes)!==Se(ee.classes)||X.skew!==ee.skew||X.maxFontSize!==ee.maxFontSize)return!1;for(var ie in X.style)if(X.style.hasOwnProperty(ie)&&X.style[ie]!==ee.style[ie])return!1;for(var we in ee.style)if(ee.style.hasOwnProperty(we)&&X.style[we]!==ee.style[we])return!1;return!0},Be=function(X){for(var ee=0;ee<X.length-1;ee++){var ie=X[ee],we=X[ee+1];ie instanceof ht&&we instanceof ht&&Pi(ie,we)&&(ie.text+=we.text,ie.height=Math.max(ie.height,we.height),ie.depth=Math.max(ie.depth,we.depth),ie.italic=we.italic,X.splice(ee+1,1),ee--)}return X},le=function(X){for(var ee=0,ie=0,we=0,Ge=0;Ge<X.children.length;Ge++){var gt=X.children[Ge];gt.height>ee&&(ee=gt.height),gt.depth>ie&&(ie=gt.depth),gt.maxFontSize>we&&(we=gt.maxFontSize)}X.height=ee,X.depth=ie,X.maxFontSize=we},ye=function(X,ee,ie,we){var Ge=new Dt(X,ee,ie,we);return le(Ge),Ge},xe=function(X,ee,ie,we){return new Dt(X,ee,ie,we)},De=function(X,ee,ie){var we=ye([X],[],ee);return we.height=Math.max(ie||ee.fontMetrics().defaultRuleThickness,ee.minRuleThickness),we.style.borderBottomWidth=we.height+"em",we.maxFontSize=1,we},Le=function(X,ee,ie,we){var Ge=new ct(X,ee,ie,we);return le(Ge),Ge},Fe=function(X){var ee=new pe(X);return le(ee),ee},at=function(X,ee){return X instanceof pe?ye([],[X],ee):X},Ve=function(X){if(X.positionType==="individualShift"){for(var ee=X.children,ie=[ee[0]],we=-ee[0].shift-ee[0].elem.depth,Ge=we,gt=1;gt<ee.length;gt++){var fn=-ee[gt].shift-Ge-ee[gt].elem.depth,In=fn-(ee[gt-1].elem.height+ee[gt-1].elem.depth);Ge=Ge+fn,ie.push({type:"kern",size:In}),ie.push(ee[gt])}return{children:ie,depth:we}}var Jn;if(X.positionType==="top"){for(var Cr=X.positionData,Hr=0;Hr<X.children.length;Hr++){var si=X.children[Hr];Cr-=si.type==="kern"?si.size:si.elem.height+si.elem.depth}Jn=Cr}else if(X.positionType==="bottom")Jn=-X.positionData;else{var xi=X.children[0];if(xi.type!=="elem")throw new Error('First child must have type "elem".');if(X.positionType==="shift")Jn=-xi.elem.depth-X.positionData;else if(X.positionType==="firstBaseline")Jn=-xi.elem.depth;else throw new Error("Invalid positionType "+X.positionType+".")}return{children:X.children,depth:Jn}},It=function(X,ee){for(var ie=Ve(X),we=ie.children,Ge=ie.depth,gt=0,fn=0;fn<we.length;fn++){var In=we[fn];if(In.type==="elem"){var Jn=In.elem;gt=Math.max(gt,Jn.maxFontSize,Jn.height)}}gt+=2;var Cr=ye(["pstrut"],[]);Cr.style.height=gt+"em";for(var Hr=[],si=Ge,xi=Ge,Bi=Ge,sa=0;sa<we.length;sa++){var ya=we[sa];if(ya.type==="kern")Bi+=ya.size;else{var Ja=ya.elem,$a=ya.wrapperClasses||[],to=ya.wrapperStyle||{},Lo=ye($a,[Cr,Ja],void 0,to);Lo.style.top=-gt-Bi-Ja.depth+"em",ya.marginLeft&&(Lo.style.marginLeft=ya.marginLeft),ya.marginRight&&(Lo.style.marginRight=ya.marginRight),Hr.push(Lo),Bi+=Ja.height+Ja.depth}si=Math.min(si,Bi),xi=Math.max(xi,Bi)}var Co=ye(["vlist"],Hr);Co.style.height=xi+"em";var Bo;if(si<0){var Ao=ye([],[]),So=ye(["vlist"],[Ao]);So.style.height=-si+"em";var is=ye(["vlist-s"],[new ht("\u200B")]);Bo=[ye(["vlist-r"],[Co,is]),ye(["vlist-r"],[So])]}else Bo=[ye(["vlist-r"],[Co])];var ts=ye(["vlist-t"],Bo);return Bo.length===2&&ts.classes.push("vlist-t2"),ts.height=xi,ts.depth=-si,ts},pn=function(X,ee){var ie=ye(["mspace"],[],ee),we=Zt(X,ee);return ie.style.marginRight=we+"em",ie},rn=function(X,ee,ie){var we="";switch(X){case"amsrm":we="AMS";break;case"textrm":we="Main";break;case"textsf":we="SansSerif";break;case"texttt":we="Typewriter";break;default:we=X}var Ge;return ee==="textbf"&&ie==="textit"?Ge="BoldItalic":ee==="textbf"?Ge="Bold":ee==="textit"?Ge="Italic":Ge="Regular",we+"-"+Ge},Tn={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"}},Nt={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},ur=function(X,ee){var ie=Nt[X],we=ie[0],Ge=ie[1],gt=ie[2],fn=new Me(we),In=new je([fn],{width:Ge+"em",height:gt+"em",style:"width:"+Ge+"em",viewBox:"0 0 "+1e3*Ge+" "+1e3*gt,preserveAspectRatio:"xMinYMin"}),Jn=xe(["overlay"],[In],ee);return Jn.height=gt,Jn.style.height=gt+"em",Jn.style.width=Ge+"em",Jn},Xt={fontMap:Tn,makeSymbol:Gn,mathsym:Or,makeSpan:ye,makeSvgSpan:xe,makeLineSpan:De,makeAnchor:Le,makeFragment:Fe,wrapFragment:at,makeVList:It,makeOrd:vi,makeGlue:pn,staticSvg:ur,svgData:Nt,tryCombineChars:Be};function Kn(et,X){var ee=Fn(et,X);if(!ee)throw new Error("Expected node of type "+X+", but got "+(et?"node of type "+et.type:String(et)));return ee}function Fn(et,X){return et&&et.type===X?et:null}function un(et,X){var ee=Sr(et,X);if(!ee)throw new Error('Expected node of type "atom" and family "'+X+'", but got '+(et?et.type==="atom"?"atom of family "+et.family:"node of type "+et.type:String(et)));return ee}function Sr(et,X){return et&&et.type==="atom"&&et.family===X?et:null}function Fr(et){var X=ii(et);if(!X)throw new Error("Expected node of symbol group type, but got "+(et?"node of type "+et.type:String(et)));return X}function ii(et){return et&&(et.type==="atom"||an.hasOwnProperty(et.type))?et:null}var oi={number:3,unit:"mu"},ti={number:4,unit:"mu"},bi={number:5,unit:"mu"},Mr={mord:{mop:oi,mbin:ti,mrel:bi,minner:oi},mop:{mord:oi,mop:oi,mrel:bi,minner:oi},mbin:{mord:ti,mop:ti,mopen:ti,minner:ti},mrel:{mord:bi,mop:bi,mopen:bi,minner:bi},mopen:{},mclose:{mop:oi,mbin:ti,mrel:bi,minner:oi},mpunct:{mord:oi,mop:oi,mrel:bi,mopen:oi,mclose:oi,mpunct:oi,minner:oi},minner:{mord:oi,mop:oi,mbin:ti,mrel:bi,mopen:oi,mpunct:oi,minner:oi}},Oi={mord:{mop:oi},mop:{mord:oi,mop:oi},mbin:{},mrel:{},mopen:{},mclose:{mop:oi},mpunct:{},minner:{mop:oi}},Ar={},Wn={},xr={};function er(et){for(var X=et.type,ee=et.names,ie=et.props,we=et.handler,Ge=et.htmlBuilder,gt=et.mathmlBuilder,fn={type:X,numArgs:ie.numArgs,argTypes:ie.argTypes,greediness:ie.greediness===void 0?1:ie.greediness,allowedInText:!!ie.allowedInText,allowedInMath:ie.allowedInMath===void 0?!0:ie.allowedInMath,numOptionalArgs:ie.numOptionalArgs||0,infix:!!ie.infix,handler:we},In=0;In<ee.length;++In)Ar[ee[In]]=fn;X&&(Ge&&(Wn[X]=Ge),gt&&(xr[X]=gt))}function ci(et){var X=et.type,ee=et.htmlBuilder,ie=et.mathmlBuilder;er({type:X,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:ee,mathmlBuilder:ie})}var qr=function(X){var ee=Fn(X,"ordgroup");return ee?ee.body:[X]},wi=Xt.makeSpan,Xr=["leftmost","mbin","mopen","mrel","mop","mpunct"],Hi=["rightmost","mrel","mclose","mpunct"],ni={display:P.DISPLAY,text:P.TEXT,script:P.SCRIPT,scriptscript:P.SCRIPTSCRIPT},Mi={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},cr=function(X,ee,ie,we){we===void 0&&(we=[null,null]);for(var Ge=[],gt=0;gt<X.length;gt++){var fn=hi(X[gt],ee);if(fn instanceof pe){var In=fn.children;Ge.push.apply(Ge,In)}else Ge.push(fn)}if(!ie)return Ge;var Jn=ee;if(X.length===1){var Cr=Fn(X[0],"sizing")||Fn(X[0],"styling");Cr&&(Cr.type==="sizing"?Jn=ee.havingSize(Cr.size):Cr.type==="styling"&&(Jn=ee.havingStyle(ni[Cr.style])))}var Hr=wi([we[0]||"leftmost"],[],ee),si=wi([we[1]||"rightmost"],[],ee);return Pn(Ge,function(xi,Bi){var sa=Bi.classes[0],ya=xi.classes[0];sa==="mbin"&&f.contains(Hi,ya)?Bi.classes[0]="mord":ya==="mbin"&&f.contains(Xr,sa)&&(xi.classes[0]="mord")},{node:Hr},si),Pn(Ge,function(xi,Bi){var sa=Qr(Bi),ya=Qr(xi),Ja=sa&&ya?xi.hasClass("mtight")?Oi[sa][ya]:Mr[sa][ya]:null;if(Ja)return Xt.makeGlue(Ja,Jn)},{node:Hr},si),Ge},Pn=function et(X,ee,ie,we){we&&X.push(we);for(var Ge=0;Ge<X.length;Ge++){var gt=X[Ge],fn=br(gt);if(fn){et(fn.children,ee,ie);continue}if(gt.classes[0]==="mspace")continue;var In=ee(gt,ie.node);In&&(ie.insertAfter?ie.insertAfter(In):(X.unshift(In),Ge++)),ie.node=gt,ie.insertAfter=function(Jn){return function(Cr){X.splice(Jn+1,0,Cr),Ge++}}(Ge)}we&&X.pop()},br=function(X){return X instanceof pe||X instanceof ct?X:null},Br=function et(X,ee){var ie=br(X);if(ie){var we=ie.children;if(we.length){if(ee==="right")return et(we[we.length-1],"right");if(ee==="left")return et(we[0],"left")}}return X},Qr=function(X,ee){return X?(ee&&(X=Br(X,ee)),Mi[X.classes[0]]||null):null},$r=function(X,ee){var ie=["nulldelimiter"].concat(X.baseSizingClasses());return wi(ee.concat(ie))},hi=function(X,ee,ie){if(!X)return wi();if(Wn[X.type]){var we=Wn[X.type](X,ee);if(ie&&ee.size!==ie.size){we=wi(ee.sizingClasses(ie),[we],ee);var Ge=ee.sizeMultiplier/ie.sizeMultiplier;we.height*=Ge,we.depth*=Ge}return we}else throw new d("Got group of unknown type: '"+X.type+"'")};function fi(et,X){var ee=wi(["base"],et,X),ie=wi(["strut"]);return ie.style.height=ee.height+ee.depth+"em",ie.style.verticalAlign=-ee.depth+"em",ee.children.unshift(ie),ee}function Ai(et,X){var ee=null;et.length===1&&et[0].type==="tag"&&(ee=et[0].tag,et=et[0].body);for(var ie=cr(et,X,!0),we=[],Ge=[],gt=0;gt<ie.length;gt++)if(Ge.push(ie[gt]),ie[gt].hasClass("mbin")||ie[gt].hasClass("mrel")||ie[gt].hasClass("allowbreak")){for(var fn=!1;gt<ie.length-1&&ie[gt+1].hasClass("mspace")&&!ie[gt+1].hasClass("newline");)gt++,Ge.push(ie[gt]),ie[gt].hasClass("nobreak")&&(fn=!0);fn||(we.push(fi(Ge,X)),Ge=[])}else ie[gt].hasClass("newline")&&(Ge.pop(),Ge.length>0&&(we.push(fi(Ge,X)),Ge=[]),we.push(ie[gt]));Ge.length>0&&we.push(fi(Ge,X));var In;ee&&(In=fi(cr(ee,X,!0)),In.classes=["tag"],we.push(In));var Jn=wi(["katex-html"],we);if(Jn.setAttribute("aria-hidden","true"),In){var Cr=In.children[0];Cr.style.height=Jn.height+Jn.depth+"em",Cr.style.verticalAlign=-Jn.depth+"em"}return Jn}function Wi(et){return new pe(et)}var ra=function(){function et(ee,ie){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=ee,this.attributes={},this.children=ie||[]}var X=et.prototype;return X.setAttribute=function(ie,we){this.attributes[ie]=we},X.getAttribute=function(ie){return this.attributes[ie]},X.toNode=function(){var ie=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var we in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,we)&&ie.setAttribute(we,this.attributes[we]);for(var Ge=0;Ge<this.children.length;Ge++)ie.appendChild(this.children[Ge].toNode());return ie},X.toMarkup=function(){var ie="<"+this.type;for(var we in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,we)&&(ie+=" "+we+'="',ie+=f.escape(this.attributes[we]),ie+='"');ie+=">";for(var Ge=0;Ge<this.children.length;Ge++)ie+=this.children[Ge].toMarkup();return ie+="</"+this.type+">",ie},X.toText=function(){return this.children.map(function(ie){return ie.toText()}).join("")},et}(),$i=function(){function et(ee){this.text=void 0,this.text=ee}var X=et.prototype;return X.toNode=function(){return document.createTextNode(this.text)},X.toMarkup=function(){return f.escape(this.toText())},X.toText=function(){return this.text},et}(),Ha=function(){function et(ee){this.width=void 0,this.character=void 0,this.width=ee,ee>=.05555&&ee<=.05556?this.character="\u200A":ee>=.1666&&ee<=.1667?this.character="\u2009":ee>=.2222&&ee<=.2223?this.character="\u2005":ee>=.2777&&ee<=.2778?this.character="\u2005\u200A":ee>=-.05556&&ee<=-.05555?this.character="\u200A\u2063":ee>=-.1667&&ee<=-.1666?this.character="\u2009\u2063":ee>=-.2223&&ee<=-.2222?this.character="\u205F\u2063":ee>=-.2778&&ee<=-.2777?this.character="\u2005\u2063":this.character=null}var X=et.prototype;return X.toNode=function(){if(this.character)return document.createTextNode(this.character);var ie=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return ie.setAttribute("width",this.width+"em"),ie},X.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},X.toText=function(){return this.character?this.character:" "},et}(),pi={MathNode:ra,TextNode:$i,SpaceNode:Ha,newDocumentFragment:Wi},sr=function(X,ee,ie){return vt[ee][X]&&vt[ee][X].replace&&X.charCodeAt(0)!==55349&&!(Jt.hasOwnProperty(X)&&ie&&(ie.fontFamily&&ie.fontFamily.substr(4,2)==="tt"||ie.font&&ie.font.substr(4,2)==="tt"))&&(X=vt[ee][X].replace),new pi.TextNode(X)},Li=function(X){return X.length===1?X[0]:new pi.MathNode("mrow",X)},Ji=function(X,ee){if(ee.fontFamily==="texttt")return"monospace";if(ee.fontFamily==="textsf")return ee.fontShape==="textit"&&ee.fontWeight==="textbf"?"sans-serif-bold-italic":ee.fontShape==="textit"?"sans-serif-italic":ee.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(ee.fontShape==="textit"&&ee.fontWeight==="textbf")return"bold-italic";if(ee.fontShape==="textit")return"italic";if(ee.fontWeight==="textbf")return"bold";var ie=ee.font;if(!ie||ie==="mathnormal")return null;var we=X.mode;if(ie==="mathit")return"italic";if(ie==="boldsymbol")return"bold-italic";if(ie==="mathbf")return"bold";if(ie==="mathbb")return"double-struck";if(ie==="mathfrak")return"fraktur";if(ie==="mathscr"||ie==="mathcal")return"script";if(ie==="mathsf")return"sans-serif";if(ie==="mathtt")return"monospace";var Ge=X.text;if(f.contains(["\\imath","\\jmath"],Ge))return null;vt[we][Ge]&&vt[we][Ge].replace&&(Ge=vt[we][Ge].replace);var gt=Xt.fontMap[ie].fontName;return tn(Ge,gt,we)?Xt.fontMap[ie].variant:null},Ui=function(X,ee,ie){if(X.length===1){var we=Bt(X[0],ee);return ie&&we instanceof ra&&we.type==="mo"&&(we.setAttribute("lspace","0em"),we.setAttribute("rspace","0em")),[we]}for(var Ge=[],gt,fn=0;fn<X.length;fn++){var In=Bt(X[fn],ee);if(In instanceof ra&> instanceof ra){if(In.type==="mtext"&>.type==="mtext"&&In.getAttribute("mathvariant")===gt.getAttribute("mathvariant")){var Jn;(Jn=gt.children).push.apply(Jn,In.children);continue}else if(In.type==="mn"&>.type==="mn"){var Cr;(Cr=gt.children).push.apply(Cr,In.children);continue}else if(In.type==="mi"&&In.children.length===1&>.type==="mn"){var Hr=In.children[0];if(Hr instanceof $i&&Hr.text==="."){var si;(si=gt.children).push.apply(si,In.children);continue}}else if(gt.type==="mi"&>.children.length===1){var xi=gt.children[0];if(xi instanceof $i&&xi.text==="\u0338"&&(In.type==="mo"||In.type==="mi"||In.type==="mn")){var Bi=In.children[0];Bi instanceof $i&&Bi.text.length>0&&(Bi.text=Bi.text.slice(0,1)+"\u0338"+Bi.text.slice(1),Ge.pop())}}}Ge.push(In),gt=In}return Ge},ea=function(X,ee,ie){return Li(Ui(X,ee,ie))},Bt=function(X,ee){if(!X)return new pi.MathNode("mrow");if(xr[X.type]){var ie=xr[X.type](X,ee);return ie}else throw new d("Got group of unknown type: '"+X.type+"'")};function Vn(et,X,ee,ie){var we=Ui(et,ee),Ge;we.length===1&&we[0]instanceof ra&&f.contains(["mrow","mtable"],we[0].type)?Ge=we[0]:Ge=new pi.MathNode("mrow",we);var gt=new pi.MathNode("annotation",[new pi.TextNode(X)]);gt.setAttribute("encoding","application/x-tex");var fn=new pi.MathNode("semantics",[Ge,gt]),In=new pi.MathNode("math",[fn]);In.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var Jn=ie?"katex":"katex-mathml";return Xt.makeSpan([Jn],[In])}var nr=function(X){return new Ct({style:X.displayMode?P.DISPLAY:P.TEXT,maxSize:X.maxSize,minRuleThickness:X.minRuleThickness})},fr=function(X,ee){if(ee.displayMode){var ie=["katex-display"];ee.leqno&&ie.push("leqno"),ee.fleqn&&ie.push("fleqn"),X=Xt.makeSpan(ie,[X])}return X},Re=function(X,ee,ie){var we=nr(ie),Ge;if(ie.output==="mathml")return Vn(X,ee,we,!0);if(ie.output==="html"){var gt=Ai(X,we);Ge=Xt.makeSpan(["katex"],[gt])}else{var fn=Vn(X,ee,we,!1),In=Ai(X,we);Ge=Xt.makeSpan(["katex"],[fn,In])}return fr(Ge,ie)},At=function(X,ee,ie){var we=nr(ie),Ge=Ai(X,we),gt=Xt.makeSpan(["katex"],[Ge]);return fr(gt,ie)},qt=Re,$t={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"},Cn=function(X){var ee=new pi.MathNode("mo",[new pi.TextNode($t[X.substr(1)])]);return ee.setAttribute("stretchy","true"),ee},Dn={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]},Hn=function(X){return X.type==="ordgroup"?X.body.length:1},ar=function(X,ee){function ie(){var In=4e5,Jn=X.label.substr(1);if(f.contains(["widehat","widecheck","widetilde","utilde"],Jn)){var Cr=X,Hr=Hn(Cr.base),si,xi,Bi;if(Hr>5)Jn==="widehat"||Jn==="widecheck"?(si=420,In=2364,Bi=.42,xi=Jn+"4"):(si=312,In=2340,Bi=.34,xi="tilde4");else{var sa=[1,1,2,2,3,3][Hr];Jn==="widehat"||Jn==="widecheck"?(In=[0,1062,2364,2364,2364][sa],si=[0,239,300,360,420][sa],Bi=[0,.24,.3,.3,.36,.42][sa],xi=Jn+sa):(In=[0,600,1033,2339,2340][sa],si=[0,260,286,306,312][sa],Bi=[0,.26,.286,.3,.306,.34][sa],xi="tilde"+sa)}var ya=new Me(xi),Ja=new je([ya],{width:"100%",height:Bi+"em",viewBox:"0 0 "+In+" "+si,preserveAspectRatio:"none"});return{span:Xt.makeSvgSpan([],[Ja],ee),minWidth:0,height:Bi}}else{var $a=[],to=Dn[Jn],Lo=to[0],Co=to[1],Bo=to[2],Ao=Bo/1e3,So=Lo.length,is,ts;if(So===1){var Io=to[3];is=["hide-tail"],ts=[Io]}else if(So===2)is=["halfarrow-left","halfarrow-right"],ts=["xMinYMin","xMaxYMin"];else if(So===3)is=["brace-left","brace-center","brace-right"],ts=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
|
`+So+" children.");for(var Gi=0;Gi<So;Gi++){var Rs=new Me(Lo[Gi]),Es=new je([Rs],{width:"400em",height:Ao+"em",viewBox:"0 0 "+In+" "+Bo,preserveAspectRatio:ts[Gi]+" slice"}),as=Xt.makeSvgSpan([is[Gi]],[Es],ee);if(So===1)return{span:as,minWidth:Co,height:Ao};as.style.height=Ao+"em",$a.push(as)}return{span:Xt.makeSpan(["stretchy"],$a,ee),minWidth:Co,height:Ao}}}var we=ie(),Ge=we.span,gt=we.minWidth,fn=we.height;return Ge.height=fn,Ge.style.height=fn+"em",gt>0&&(Ge.style.minWidth=gt+"em"),Ge},Er=function(X,ee,ie,we){var Ge,gt=X.height+X.depth+2*ie;if(/fbox|color/.test(ee)){if(Ge=Xt.makeSpan(["stretchy",ee],[],we),ee==="fbox"){var fn=we.color&&we.getColor();fn&&(Ge.style.borderColor=fn)}}else{var In=[];/^[bx]cancel$/.test(ee)&&In.push(new Ne({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(ee)&&In.push(new Ne({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var Jn=new je(In,{width:"100%",height:gt+"em"});Ge=Xt.makeSvgSpan([],[Jn],we)}return Ge.height=gt,Ge.style.height=gt+"em",Ge},gr={encloseSpan:Er,mathMLnode:Cn,svgSpan:ar},Rr=function(X,ee){var ie,we,Ge=Fn(X,"supsub"),gt;Ge?(we=Kn(Ge.base,"accent"),ie=we.base,Ge.base=ie,gt=wt(hi(Ge,ee)),Ge.base=we):(we=Kn(X,"accent"),ie=we.base);var fn=hi(ie,ee.havingCrampedStyle()),In=we.isShifty&&f.isCharacterBox(ie),Jn=0;if(In){var Cr=f.getBaseElem(ie),Hr=hi(Cr,ee.havingCrampedStyle());Jn=it(Hr).skew}var si=Math.min(fn.height,ee.fontMetrics().xHeight),xi;if(we.isStretchy)xi=gr.svgSpan(we,ee),xi=Xt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:fn},{type:"elem",elem:xi,wrapperClasses:["svg-align"],wrapperStyle:Jn>0?{width:"calc(100% - "+2*Jn+"em)",marginLeft:2*Jn+"em"}:void 0}]},ee);else{var Bi,sa;we.label==="\\vec"?(Bi=Xt.staticSvg("vec",ee),sa=Xt.svgData.vec[1]):(Bi=Xt.makeOrd({mode:we.mode,text:we.label},ee,"textord"),Bi=it(Bi),Bi.italic=0,sa=Bi.width),xi=Xt.makeSpan(["accent-body"],[Bi]);var ya=we.label==="\\textcircled";ya&&(xi.classes.push("accent-full"),si=fn.height);var Ja=Jn;ya||(Ja-=sa/2),xi.style.left=Ja+"em",we.label==="\\textcircled"&&(xi.style.top=".2em"),xi=Xt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:fn},{type:"kern",size:-si},{type:"elem",elem:xi}]},ee)}var $a=Xt.makeSpan(["mord","accent"],[xi],ee);return gt?(gt.children[0]=$a,gt.height=Math.max($a.height,gt.height),gt.classes[0]="mord",gt):$a},kr=function(X,ee){var ie=X.isStretchy?gr.mathMLnode(X.label):new pi.MathNode("mo",[sr(X.label,X.mode)]),we=new pi.MathNode("mover",[Bt(X.base,ee),ie]);return we.setAttribute("accent","true"),we},wr=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(et){return"\\"+et}).join("|"));er({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(X,ee){var ie=ee[0],we=!wr.test(X.funcName),Ge=!we||X.funcName==="\\widehat"||X.funcName==="\\widetilde"||X.funcName==="\\widecheck";return{type:"accent",mode:X.parser.mode,label:X.funcName,isStretchy:we,isShifty:Ge,base:ie}},htmlBuilder:Rr,mathmlBuilder:kr}),er({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(X,ee){var ie=ee[0];return{type:"accent",mode:X.parser.mode,label:X.funcName,isStretchy:!1,isShifty:!0,base:ie}},htmlBuilder:Rr,mathmlBuilder:kr}),er({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(X,ee){var ie=X.parser,we=X.funcName,Ge=ee[0];return{type:"accentUnder",mode:ie.mode,label:we,base:Ge}},htmlBuilder:function(X,ee){var ie=hi(X.base,ee),we=gr.svgSpan(X,ee),Ge=X.label==="\\utilde"?.12:0,gt=Xt.makeVList({positionType:"bottom",positionData:we.height+Ge,children:[{type:"elem",elem:we,wrapperClasses:["svg-align"]},{type:"kern",size:Ge},{type:"elem",elem:ie}]},ee);return Xt.makeSpan(["mord","accentunder"],[gt],ee)},mathmlBuilder:function(X,ee){var ie=gr.mathMLnode(X.label),we=new pi.MathNode("munder",[Bt(X.base,ee),ie]);return we.setAttribute("accentunder","true"),we}});var Lr=function(X){var ee=new pi.MathNode("mpadded",X?[X]:[]);return ee.setAttribute("width","+0.6em"),ee.setAttribute("lspace","0.3em"),ee};er({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(X,ee,ie){var we=X.parser,Ge=X.funcName;return{type:"xArrow",mode:we.mode,label:Ge,body:ee[0],below:ie[0]}},htmlBuilder:function(X,ee){var ie=ee.style,we=ee.havingStyle(ie.sup()),Ge=Xt.wrapFragment(hi(X.body,we,ee),ee);Ge.classes.push("x-arrow-pad");var gt;X.below&&(we=ee.havingStyle(ie.sub()),gt=Xt.wrapFragment(hi(X.below,we,ee),ee),gt.classes.push("x-arrow-pad"));var fn=gr.svgSpan(X,ee),In=-ee.fontMetrics().axisHeight+.5*fn.height,Jn=-ee.fontMetrics().axisHeight-.5*fn.height-.111;(Ge.depth>.25||X.label==="\\xleftequilibrium")&&(Jn-=Ge.depth);var Cr;if(gt){var Hr=-ee.fontMetrics().axisHeight+gt.height+.5*fn.height+.111;Cr=Xt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ge,shift:Jn},{type:"elem",elem:fn,shift:In},{type:"elem",elem:gt,shift:Hr}]},ee)}else Cr=Xt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ge,shift:Jn},{type:"elem",elem:fn,shift:In}]},ee);return Cr.children[0].children[0].children[1].classes.push("svg-align"),Xt.makeSpan(["mrel","x-arrow"],[Cr],ee)},mathmlBuilder:function(X,ee){var ie=gr.mathMLnode(X.label),we;if(X.body){var Ge=Lr(Bt(X.body,ee));if(X.below){var gt=Lr(Bt(X.below,ee));we=new pi.MathNode("munderover",[ie,gt,Ge])}else we=new pi.MathNode("mover",[ie,Ge])}else if(X.below){var fn=Lr(Bt(X.below,ee));we=new pi.MathNode("munder",[ie,fn])}else we=Lr(),we=new pi.MathNode("mover",[ie,we]);return we}}),er({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(X,ee){for(var ie=X.parser,we=Kn(ee[0],"ordgroup"),Ge=we.body,gt="",fn=0;fn<Ge.length;fn++){var In=Kn(Ge[fn],"textord");gt+=In.text}var Jn=parseInt(gt);if(isNaN(Jn))throw new d("\\@char has non-numeric argument "+gt);return{type:"textord",mode:ie.mode,text:String.fromCharCode(Jn)}}});var Ir=function(X,ee){var ie=cr(X.body,ee.withColor(X.color),!1);return Xt.makeFragment(ie)},zr=function(X,ee){var ie=Ui(X.body,ee.withColor(X.color)),we=new pi.MathNode("mstyle",ie);return we.setAttribute("mathcolor",X.color),we};er({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(X,ee){var ie=X.parser,we=Kn(ee[0],"color-token").color,Ge=ee[1];return{type:"color",mode:ie.mode,color:we,body:qr(Ge)}},htmlBuilder:Ir,mathmlBuilder:zr}),er({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(X,ee){var ie=X.parser,we=X.breakOnTokenText,Ge=Kn(ee[0],"color-token").color;ie.gullet.macros.set("\\current@color",Ge);var gt=ie.parseExpression(!0,we);return{type:"color",mode:ie.mode,color:Ge,body:gt}},htmlBuilder:Ir,mathmlBuilder:zr}),er({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(X,ee,ie){var we=X.parser,Ge=X.funcName,gt=ie[0],fn=Ge==="\\cr",In=!1;return fn||(we.settings.displayMode&&we.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?In=!1:In=!0),{type:"cr",mode:we.mode,newLine:In,newRow:fn,size:gt&&Kn(gt,"size").value}},htmlBuilder:function(X,ee){if(X.newRow)throw new d("\\cr valid only within a tabular/array environment");var ie=Xt.makeSpan(["mspace"],[],ee);return X.newLine&&(ie.classes.push("newline"),X.size&&(ie.style.marginTop=Zt(X.size,ee)+"em")),ie},mathmlBuilder:function(X,ee){var ie=new pi.MathNode("mspace");return X.newLine&&(ie.setAttribute("linebreak","newline"),X.size&&ie.setAttribute("height",Zt(X.size,ee)+"em")),ie}});var Gr=function(X,ee,ie){var we=vt.math[X]&&vt.math[X].replace,Ge=tn(we||X,ee,ie);if(!Ge)throw new Error("Unsupported symbol "+X+" and font size "+ee+".");return Ge},ri=function(X,ee,ie,we){var Ge=ie.havingBaseStyle(ee),gt=Xt.makeSpan(we.concat(Ge.sizingClasses(ie)),[X],ie),fn=Ge.sizeMultiplier/ie.sizeMultiplier;return gt.height*=fn,gt.depth*=fn,gt.maxFontSize=Ge.sizeMultiplier,gt},yi=function(X,ee,ie){var we=ee.havingBaseStyle(ie),Ge=(1-ee.sizeMultiplier/we.sizeMultiplier)*ee.fontMetrics().axisHeight;X.classes.push("delimcenter"),X.style.top=Ge+"em",X.height-=Ge,X.depth+=Ge},li=function(X,ee,ie,we,Ge,gt){var fn=Xt.makeSymbol(X,"Main-Regular",Ge,we),In=ri(fn,ee,we,gt);return ie&&yi(In,we,ee),In},Ti=function(X,ee,ie,we){return Xt.makeSymbol(X,"Size"+ee+"-Regular",ie,we)},Fi=function(X,ee,ie,we,Ge,gt){var fn=Ti(X,ee,Ge,we),In=ri(Xt.makeSpan(["delimsizing","size"+ee],[fn],we),P.TEXT,we,gt);return ie&&yi(In,we,P.TEXT),In},Si=function(X,ee,ie){var we;ee==="Size1-Regular"?we="delim-size1":we="delim-size4";var Ge=Xt.makeSpan(["delimsizinginner",we],[Xt.makeSpan([],[Xt.makeSymbol(X,ee,ie)])]);return{type:"elem",elem:Ge}},mi={type:"kern",size:-.005},Ni=function(X,ee,ie,we,Ge,gt){var fn,In,Jn,Cr;fn=Jn=Cr=X,In=null;var Hr="Size1-Regular";X==="\\uparrow"?Jn=Cr="\u23D0":X==="\\Uparrow"?Jn=Cr="\u2016":X==="\\downarrow"?fn=Jn="\u23D0":X==="\\Downarrow"?fn=Jn="\u2016":X==="\\updownarrow"?(fn="\\uparrow",Jn="\u23D0",Cr="\\downarrow"):X==="\\Updownarrow"?(fn="\\Uparrow",Jn="\u2016",Cr="\\Downarrow"):X==="["||X==="\\lbrack"?(fn="\u23A1",Jn="\u23A2",Cr="\u23A3",Hr="Size4-Regular"):X==="]"||X==="\\rbrack"?(fn="\u23A4",Jn="\u23A5",Cr="\u23A6",Hr="Size4-Regular"):X==="\\lfloor"||X==="\u230A"?(Jn=fn="\u23A2",Cr="\u23A3",Hr="Size4-Regular"):X==="\\lceil"||X==="\u2308"?(fn="\u23A1",Jn=Cr="\u23A2",Hr="Size4-Regular"):X==="\\rfloor"||X==="\u230B"?(Jn=fn="\u23A5",Cr="\u23A6",Hr="Size4-Regular"):X==="\\rceil"||X==="\u2309"?(fn="\u23A4",Jn=Cr="\u23A5",Hr="Size4-Regular"):X==="("||X==="\\lparen"?(fn="\u239B",Jn="\u239C",Cr="\u239D",Hr="Size4-Regular"):X===")"||X==="\\rparen"?(fn="\u239E",Jn="\u239F",Cr="\u23A0",Hr="Size4-Regular"):X==="\\{"||X==="\\lbrace"?(fn="\u23A7",In="\u23A8",Cr="\u23A9",Jn="\u23AA",Hr="Size4-Regular"):X==="\\}"||X==="\\rbrace"?(fn="\u23AB",In="\u23AC",Cr="\u23AD",Jn="\u23AA",Hr="Size4-Regular"):X==="\\lgroup"||X==="\u27EE"?(fn="\u23A7",Cr="\u23A9",Jn="\u23AA",Hr="Size4-Regular"):X==="\\rgroup"||X==="\u27EF"?(fn="\u23AB",Cr="\u23AD",Jn="\u23AA",Hr="Size4-Regular"):X==="\\lmoustache"||X==="\u23B0"?(fn="\u23A7",Cr="\u23AD",Jn="\u23AA",Hr="Size4-Regular"):(X==="\\rmoustache"||X==="\u23B1")&&(fn="\u23AB",Cr="\u23A9",Jn="\u23AA",Hr="Size4-Regular");var si=Gr(fn,Hr,Ge),xi=si.height+si.depth,Bi=Gr(Jn,Hr,Ge),sa=Bi.height+Bi.depth,ya=Gr(Cr,Hr,Ge),Ja=ya.height+ya.depth,$a=0,to=1;if(In!==null){var Lo=Gr(In,Hr,Ge);$a=Lo.height+Lo.depth,to=2}var Co=xi+Ja+$a,Bo=Math.max(0,Math.ceil((ee-Co)/(to*sa))),Ao=Co+Bo*to*sa,So=we.fontMetrics().axisHeight;ie&&(So*=we.sizeMultiplier);var is=Ao/2-So,ts=(Bo+1)*.005-sa,Io=[];if(Io.push(Si(Cr,Hr,Ge)),In===null)for(var Gi=0;Gi<Bo;Gi++)Io.push(mi),Io.push(Si(Jn,Hr,Ge));else{for(var Rs=0;Rs<Bo;Rs++)Io.push(mi),Io.push(Si(Jn,Hr,Ge));Io.push({type:"kern",size:ts}),Io.push(Si(Jn,Hr,Ge)),Io.push(mi),Io.push(Si(In,Hr,Ge));for(var Es=0;Es<Bo;Es++)Io.push(mi),Io.push(Si(Jn,Hr,Ge))}Io.push({type:"kern",size:ts}),Io.push(Si(Jn,Hr,Ge)),Io.push(mi),Io.push(Si(fn,Hr,Ge));var as=we.havingBaseStyle(P.TEXT),Xo=Xt.makeVList({positionType:"bottom",positionData:is,children:Io},as);return ri(Xt.makeSpan(["delimsizing","mult"],[Xo],as),P.TEXT,we,gt)},Wr=80,Ri=.08,Ki=function(X,ee,ie,we,Ge){var gt=ce(X,we,ie),fn=new Me(X,gt),In=new je([fn],{width:"400em",height:ee+"em",viewBox:"0 0 400000 "+ie,preserveAspectRatio:"xMinYMin slice"});return Xt.makeSvgSpan(["hide-tail"],[In],Ge)},hn=function(X,ee){var ie=ee.havingBaseSizing(),we=or("\\surd",X*ie.sizeMultiplier,kn,ie),Ge=ie.sizeMultiplier,gt=Math.max(0,ee.minRuleThickness-ee.fontMetrics().sqrtRuleThickness),fn,In=0,Jn=0,Cr=0,Hr;return we.type==="small"?(Cr=1e3+1e3*gt+Wr,X<1?Ge=1:X<1.4&&(Ge=.7),In=(1+gt+Ri)/Ge,Jn=(1+gt)/Ge,fn=Ki("sqrtMain",In,Cr,gt,ee),fn.style.minWidth="0.853em",Hr=.833/Ge):we.type==="large"?(Cr=(1e3+Wr)*Mt[we.size],Jn=(Mt[we.size]+gt)/Ge,In=(Mt[we.size]+gt+Ri)/Ge,fn=Ki("sqrtSize"+we.size,In,Cr,gt,ee),fn.style.minWidth="1.02em",Hr=1/Ge):(In=X+gt+Ri,Jn=X+gt,Cr=Math.floor(1e3*X+gt)+Wr,fn=Ki("sqrtTall",In,Cr,gt,ee),fn.style.minWidth="0.742em",Hr=1.056),fn.height=Jn,fn.style.height=In+"em",{span:fn,advanceWidth:Hr,ruleWidth:(ee.fontMetrics().sqrtRuleThickness+gt)*Ge}},Rn=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],Yn=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],En=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Mt=[0,1.2,1.8,2.4,3],mn=function(X,ee,ie,we,Ge){if(X==="<"||X==="\\lt"||X==="\u27E8"?X="\\langle":(X===">"||X==="\\gt"||X==="\u27E9")&&(X="\\rangle"),f.contains(Rn,X)||f.contains(En,X))return Fi(X,ee,!1,ie,we,Ge);if(f.contains(Yn,X))return Ni(X,Mt[ee],!1,ie,we,Ge);throw new d("Illegal delimiter: '"+X+"'")},zt=[{type:"small",style:P.SCRIPTSCRIPT},{type:"small",style:P.SCRIPT},{type:"small",style:P.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],_n=[{type:"small",style:P.SCRIPTSCRIPT},{type:"small",style:P.SCRIPT},{type:"small",style:P.TEXT},{type:"stack"}],kn=[{type:"small",style:P.SCRIPTSCRIPT},{type:"small",style:P.SCRIPT},{type:"small",style:P.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],pr=function(X){if(X.type==="small")return"Main-Regular";if(X.type==="large")return"Size"+X.size+"-Regular";if(X.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+X.type+"' here.")},or=function(X,ee,ie,we){for(var Ge=Math.min(2,3-we.style.size),gt=Ge;gt<ie.length&&!(ie[gt].type==="stack");gt++){var fn=Gr(X,pr(ie[gt]),"math"),In=fn.height+fn.depth;if(ie[gt].type==="small"){var Jn=we.havingBaseStyle(ie[gt].style);In*=Jn.sizeMultiplier}if(In>ee)return ie[gt]}return ie[ie.length-1]},yr=function(X,ee,ie,we,Ge,gt){X==="<"||X==="\\lt"||X==="\u27E8"?X="\\langle":(X===">"||X==="\\gt"||X==="\u27E9")&&(X="\\rangle");var fn;f.contains(En,X)?fn=zt:f.contains(Rn,X)?fn=kn:fn=_n;var In=or(X,ee,fn,we);return In.type==="small"?li(X,In.style,ie,we,Ge,gt):In.type==="large"?Fi(X,In.size,ie,we,Ge,gt):Ni(X,ee,ie,we,Ge,gt)},_r=function(X,ee,ie,we,Ge,gt){var fn=we.fontMetrics().axisHeight*we.sizeMultiplier,In=901,Jn=5/we.fontMetrics().ptPerEm,Cr=Math.max(ee-fn,ie+fn),Hr=Math.max(Cr/500*In,2*Cr-Jn);return yr(X,Hr,!0,we,Ge,gt)},Yr={sqrtImage:hn,sizedDelim:mn,customSizedDelim:yr,leftRightDelim:_r},Jr={"\\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}},Ci=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function ta(et,X){var ee=ii(et);if(ee&&f.contains(Ci,ee.text))return ee;throw new d("Invalid delimiter: '"+(ee?ee.text:JSON.stringify(et))+"' after '"+X.funcName+"'",et)}er({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(X,ee){var ie=ta(ee[0],X);return{type:"delimsizing",mode:X.parser.mode,size:Jr[X.funcName].size,mclass:Jr[X.funcName].mclass,delim:ie.text}},htmlBuilder:function(X,ee){return X.delim==="."?Xt.makeSpan([X.mclass]):Yr.sizedDelim(X.delim,X.size,ee,X.mode,[X.mclass])},mathmlBuilder:function(X){var ee=[];X.delim!=="."&&ee.push(sr(X.delim,X.mode));var ie=new pi.MathNode("mo",ee);return X.mclass==="mopen"||X.mclass==="mclose"?ie.setAttribute("fence","true"):ie.setAttribute("fence","false"),ie}});function oa(et){if(!et.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}er({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(X,ee){var ie=X.parser.gullet.macros.get("\\current@color");if(ie&&typeof ie!="string")throw new d("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:X.parser.mode,delim:ta(ee[0],X).text,color:ie}}}),er({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(X,ee){var ie=ta(ee[0],X),we=X.parser;++we.leftrightDepth;var Ge=we.parseExpression(!1);--we.leftrightDepth,we.expect("\\right",!1);var gt=Kn(we.parseFunction(),"leftright-right");return{type:"leftright",mode:we.mode,body:Ge,left:ie.text,right:gt.delim,rightColor:gt.color}},htmlBuilder:function(X,ee){oa(X);for(var ie=cr(X.body,ee,!0,["mopen","mclose"]),we=0,Ge=0,gt=!1,fn=0;fn<ie.length;fn++)ie[fn].isMiddle?gt=!0:(we=Math.max(ie[fn].height,we),Ge=Math.max(ie[fn].depth,Ge));we*=ee.sizeMultiplier,Ge*=ee.sizeMultiplier;var In;if(X.left==="."?In=$r(ee,["mopen"]):In=Yr.leftRightDelim(X.left,we,Ge,ee,X.mode,["mopen"]),ie.unshift(In),gt)for(var Jn=1;Jn<ie.length;Jn++){var Cr=ie[Jn],Hr=Cr.isMiddle;Hr&&(ie[Jn]=Yr.leftRightDelim(Hr.delim,we,Ge,Hr.options,X.mode,[]))}var si;if(X.right===".")si=$r(ee,["mclose"]);else{var xi=X.rightColor?ee.withColor(X.rightColor):ee;si=Yr.leftRightDelim(X.right,we,Ge,xi,X.mode,["mclose"])}return ie.push(si),Xt.makeSpan(["minner"],ie,ee)},mathmlBuilder:function(X,ee){oa(X);var ie=Ui(X.body,ee);if(X.left!=="."){var we=new pi.MathNode("mo",[sr(X.left,X.mode)]);we.setAttribute("fence","true"),ie.unshift(we)}if(X.right!=="."){var Ge=new pi.MathNode("mo",[sr(X.right,X.mode)]);Ge.setAttribute("fence","true"),X.rightColor&&Ge.setAttribute("mathcolor",X.rightColor),ie.push(Ge)}return Li(ie)}}),er({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(X,ee){var ie=ta(ee[0],X);if(!X.parser.leftrightDepth)throw new d("\\middle without preceding \\left",ie);return{type:"middle",mode:X.parser.mode,delim:ie.text}},htmlBuilder:function(X,ee){var ie;if(X.delim===".")ie=$r(ee,[]);else{ie=Yr.sizedDelim(X.delim,1,ee,X.mode,[]);var we={delim:X.delim,options:ee};ie.isMiddle=we}return ie},mathmlBuilder:function(X,ee){var ie=X.delim==="\\vert"||X.delim==="|"?sr("|","text"):sr(X.delim,X.mode),we=new pi.MathNode("mo",[ie]);return we.setAttribute("fence","true"),we.setAttribute("lspace","0.05em"),we.setAttribute("rspace","0.05em"),we}});var da=function(X,ee){var ie=Xt.wrapFragment(hi(X.body,ee),ee),we=X.label.substr(1),Ge=ee.sizeMultiplier,gt,fn=0,In=f.isCharacterBox(X.body);if(we==="sout")gt=Xt.makeSpan(["stretchy","sout"]),gt.height=ee.fontMetrics().defaultRuleThickness/Ge,fn=-.5*ee.fontMetrics().xHeight;else{/cancel/.test(we)?In||ie.classes.push("cancel-pad"):ie.classes.push("boxpad");var Jn=0,Cr=0;/box/.test(we)?(Cr=Math.max(ee.fontMetrics().fboxrule,ee.minRuleThickness),Jn=ee.fontMetrics().fboxsep+(we==="colorbox"?0:Cr)):Jn=In?.2:0,gt=gr.encloseSpan(ie,we,Jn,ee),/fbox|boxed|fcolorbox/.test(we)&&(gt.style.borderStyle="solid",gt.style.borderWidth=Cr+"em"),fn=ie.depth+Jn,X.backgroundColor&&(gt.style.backgroundColor=X.backgroundColor,X.borderColor&&(gt.style.borderColor=X.borderColor))}var Hr;return X.backgroundColor?Hr=Xt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:gt,shift:fn},{type:"elem",elem:ie,shift:0}]},ee):Hr=Xt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ie,shift:0},{type:"elem",elem:gt,shift:fn,wrapperClasses:/cancel/.test(we)?["svg-align"]:[]}]},ee),/cancel/.test(we)&&(Hr.height=ie.height,Hr.depth=ie.depth),/cancel/.test(we)&&!In?Xt.makeSpan(["mord","cancel-lap"],[Hr],ee):Xt.makeSpan(["mord"],[Hr],ee)},ua=function(X,ee){var ie=0,we=new pi.MathNode(X.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Bt(X.body,ee)]);switch(X.label){case"\\cancel":we.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":we.setAttribute("notation","downdiagonalstrike");break;case"\\sout":we.setAttribute("notation","horizontalstrike");break;case"\\fbox":we.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(ie=ee.fontMetrics().fboxsep*ee.fontMetrics().ptPerEm,we.setAttribute("width","+"+2*ie+"pt"),we.setAttribute("height","+"+2*ie+"pt"),we.setAttribute("lspace",ie+"pt"),we.setAttribute("voffset",ie+"pt"),X.label==="\\fcolorbox"){var Ge=Math.max(ee.fontMetrics().fboxrule,ee.minRuleThickness);we.setAttribute("style","border: "+Ge+"em solid "+String(X.borderColor))}break;case"\\xcancel":we.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return X.backgroundColor&&we.setAttribute("mathbackground",X.backgroundColor),we};er({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(X,ee,ie){var we=X.parser,Ge=X.funcName,gt=Kn(ee[0],"color-token").color,fn=ee[1];return{type:"enclose",mode:we.mode,label:Ge,backgroundColor:gt,body:fn}},htmlBuilder:da,mathmlBuilder:ua}),er({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(X,ee,ie){var we=X.parser,Ge=X.funcName,gt=Kn(ee[0],"color-token").color,fn=Kn(ee[1],"color-token").color,In=ee[2];return{type:"enclose",mode:we.mode,label:Ge,backgroundColor:fn,borderColor:gt,body:In}},htmlBuilder:da,mathmlBuilder:ua}),er({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(X,ee){var ie=X.parser;return{type:"enclose",mode:ie.mode,label:"\\fbox",body:ee[0]}}}),er({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(X,ee,ie){var we=X.parser,Ge=X.funcName,gt=ee[0];return{type:"enclose",mode:we.mode,label:Ge,body:gt}},htmlBuilder:da,mathmlBuilder:ua});var ma={};function ki(et){for(var X=et.type,ee=et.names,ie=et.props,we=et.handler,Ge=et.htmlBuilder,gt=et.mathmlBuilder,fn={type:X,numArgs:ie.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:we},In=0;In<ee.length;++In)ma[ee[In]]=fn;Ge&&(Wn[X]=Ge),gt&&(xr[X]=gt)}function Di(et){var X=[];et.consumeSpaces();for(var ee=et.fetch().text;ee==="\\hline"||ee==="\\hdashline";)et.consume(),X.push(ee==="\\hdashline"),et.consumeSpaces(),ee=et.fetch().text;return X}function na(et,X,ee){var ie=X.hskipBeforeAndAfter,we=X.addJot,Ge=X.cols,gt=X.arraystretch,fn=X.colSeparationType;if(et.gullet.beginGroup(),et.gullet.macros.set("\\\\","\\cr"),!gt){var In=et.gullet.expandMacroAsText("\\arraystretch");if(In==null)gt=1;else if(gt=parseFloat(In),!gt||gt<0)throw new d("Invalid \\arraystretch: "+In)}et.gullet.beginGroup();var Jn=[],Cr=[Jn],Hr=[],si=[];for(si.push(Di(et));;){var xi=et.parseExpression(!1,"\\cr");et.gullet.endGroup(),et.gullet.beginGroup(),xi={type:"ordgroup",mode:et.mode,body:xi},ee&&(xi={type:"styling",mode:et.mode,style:ee,body:[xi]}),Jn.push(xi);var Bi=et.fetch().text;if(Bi==="&")et.consume();else if(Bi==="\\end"){Jn.length===1&&xi.type==="styling"&&xi.body[0].body.length===0&&Cr.pop(),si.length<Cr.length+1&&si.push([]);break}else if(Bi==="\\cr"){var sa=Kn(et.parseFunction(),"cr");Hr.push(sa.size),si.push(Di(et)),Jn=[],Cr.push(Jn)}else throw new d("Expected & or \\\\ or \\cr or \\end",et.nextToken)}return et.gullet.endGroup(),et.gullet.endGroup(),{type:"array",mode:et.mode,addJot:we,arraystretch:gt,body:Cr,cols:Ge,rowGaps:Hr,hskipBeforeAndAfter:ie,hLinesBeforeRow:si,colSeparationType:fn}}function qi(et){return et.substr(0,1)==="d"?"display":"text"}var va=function(X,ee){var ie,we,Ge=X.body.length,gt=X.hLinesBeforeRow,fn=0,In=new Array(Ge),Jn=[],Cr=Math.max(ee.fontMetrics().arrayRuleWidth,ee.minRuleThickness),Hr=1/ee.fontMetrics().ptPerEm,si=5*Hr;if(X.colSeparationType&&X.colSeparationType==="small"){var xi=ee.havingStyle(P.SCRIPT).sizeMultiplier;si=.2778*(xi/ee.sizeMultiplier)}var Bi=12*Hr,sa=3*Hr,ya=X.arraystretch*Bi,Ja=.7*ya,$a=.3*ya,to=0;function Lo(js){for(var Qa=0;Qa<js.length;++Qa)Qa>0&&(to+=.25),Jn.push({pos:to,isDashed:js[Qa]})}for(Lo(gt[0]),ie=0;ie<X.body.length;++ie){var Co=X.body[ie],Bo=Ja,Ao=$a;fn<Co.length&&(fn=Co.length);var So=new Array(Co.length);for(we=0;we<Co.length;++we){var is=hi(Co[we],ee);Ao<is.depth&&(Ao=is.depth),Bo<is.height&&(Bo=is.height),So[we]=is}var ts=X.rowGaps[ie],Io=0;ts&&(Io=Zt(ts,ee),Io>0&&(Io+=$a,Ao<Io&&(Ao=Io),Io=0)),X.addJot&&(Ao+=sa),So.height=Bo,So.depth=Ao,to+=Bo,So.pos=to,to+=Ao+Io,In[ie]=So,Lo(gt[ie+1])}var Gi=to/2+ee.fontMetrics().axisHeight,Rs=X.cols||[],Es=[],as,Xo;for(we=0,Xo=0;we<fn||Xo<Rs.length;++we,++Xo){for(var hs=Rs[Xo]||{},Al=!0;hs.type==="separator";){if(Al||(as=Xt.makeSpan(["arraycolsep"],[]),as.style.width=ee.fontMetrics().doubleRuleSep+"em",Es.push(as)),hs.separator==="|"||hs.separator===":"){var ol=hs.separator==="|"?"solid":"dashed",fs=Xt.makeSpan(["vertical-separator"],[],ee);fs.style.height=to+"em",fs.style.borderRightWidth=Cr+"em",fs.style.borderRightStyle=ol,fs.style.margin="0 -"+Cr/2+"em",fs.style.verticalAlign=-(to-Gi)+"em",Es.push(fs)}else throw new d("Invalid separator type: "+hs.separator);Xo++,hs=Rs[Xo]||{},Al=!1}if(we>=fn)continue;var No=void 0;(we>0||X.hskipBeforeAndAfter)&&(No=f.deflt(hs.pregap,si),No!==0&&(as=Xt.makeSpan(["arraycolsep"],[]),as.style.width=No+"em",Es.push(as)));var ls=[];for(ie=0;ie<Ge;++ie){var Zs=In[ie],gs=Zs[we];if(!gs)continue;var Us=Zs.pos-Gi;gs.depth=Zs.depth,gs.height=Zs.height,ls.push({type:"elem",elem:gs,shift:Us})}ls=Xt.makeVList({positionType:"individualShift",children:ls},ee),ls=Xt.makeSpan(["col-align-"+(hs.align||"c")],[ls]),Es.push(ls),(we<fn-1||X.hskipBeforeAndAfter)&&(No=f.deflt(hs.postgap,si),No!==0&&(as=Xt.makeSpan(["arraycolsep"],[]),as.style.width=No+"em",Es.push(as)))}if(In=Xt.makeSpan(["mtable"],Es),Jn.length>0){for(var ks=Xt.makeLineSpan("hline",ee,Cr),Bs=Xt.makeLineSpan("hdashline",ee,Cr),il=[{type:"elem",elem:In,shift:0}];Jn.length>0;){var $s=Jn.pop(),Gs=$s.pos-Gi;$s.isDashed?il.push({type:"elem",elem:Bs,shift:Gs}):il.push({type:"elem",elem:ks,shift:Gs})}In=Xt.makeVList({positionType:"individualShift",children:il},ee)}return Xt.makeSpan(["mord"],[In],ee)},Ta={c:"center ",l:"left ",r:"right "},Zi=function(X,ee){var ie=new pi.MathNode("mtable",X.body.map(function(to){return new pi.MathNode("mtr",to.map(function(Lo){return new pi.MathNode("mtd",[Bt(Lo,ee)])}))})),we=X.arraystretch===.5?.1:.16+X.arraystretch-1+(X.addJot?.09:0);ie.setAttribute("rowspacing",we+"em");var Ge="",gt="";if(X.cols){var fn=X.cols,In="",Jn=!1,Cr=0,Hr=fn.length;fn[0].type==="separator"&&(Ge+="top ",Cr=1),fn[fn.length-1].type==="separator"&&(Ge+="bottom ",Hr-=1);for(var si=Cr;si<Hr;si++)fn[si].type==="align"?(gt+=Ta[fn[si].align],Jn&&(In+="none "),Jn=!0):fn[si].type==="separator"&&(Jn&&(In+=fn[si].separator==="|"?"solid ":"dashed ",Jn=!1));ie.setAttribute("columnalign",gt.trim()),/[sd]/.test(In)&&ie.setAttribute("columnlines",In.trim())}if(X.colSeparationType==="align"){for(var xi=X.cols||[],Bi="",sa=1;sa<xi.length;sa++)Bi+=sa%2?"0em ":"1em ";ie.setAttribute("columnspacing",Bi.trim())}else X.colSeparationType==="alignat"?ie.setAttribute("columnspacing","0em"):X.colSeparationType==="small"?ie.setAttribute("columnspacing","0.2778em"):ie.setAttribute("columnspacing","1em");var ya="",Ja=X.hLinesBeforeRow;Ge+=Ja[0].length>0?"left ":"",Ge+=Ja[Ja.length-1].length>0?"right ":"";for(var $a=1;$a<Ja.length-1;$a++)ya+=Ja[$a].length===0?"none ":Ja[$a][0]?"dashed ":"solid ";return/[sd]/.test(ya)&&ie.setAttribute("rowlines",ya.trim()),Ge!==""&&(ie=new pi.MathNode("menclose",[ie]),ie.setAttribute("notation",Ge.trim())),X.arraystretch&&X.arraystretch<1&&(ie=new pi.MathNode("mstyle",[ie]),ie.setAttribute("scriptlevel","1")),ie},Qi=function(X,ee){var ie=[],we=na(X.parser,{cols:ie,addJot:!0},"display"),Ge,gt=0,fn={type:"ordgroup",mode:X.mode,body:[]},In=Fn(ee[0],"ordgroup");if(In){for(var Jn="",Cr=0;Cr<In.body.length;Cr++){var Hr=Kn(In.body[Cr],"textord");Jn+=Hr.text}Ge=Number(Jn),gt=Ge*2}var si=!gt;we.body.forEach(function(ya){for(var Ja=1;Ja<ya.length;Ja+=2){var $a=Kn(ya[Ja],"styling"),to=Kn($a.body[0],"ordgroup");to.body.unshift(fn)}if(si)gt<ya.length&&(gt=ya.length);else{var Lo=ya.length/2;if(Ge<Lo)throw new d("Too many math in a row: "+("expected "+Ge+", but got "+Lo),ya[0])}});for(var xi=0;xi<gt;++xi){var Bi="r",sa=0;xi%2===1?Bi="l":xi>0&&si&&(sa=1),ie[xi]={type:"align",align:Bi,pregap:sa,postgap:0}}return we.colSeparationType=si?"align":"alignat",we};ki({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(X,ee){var ie=ii(ee[0]),we=ie?[ee[0]]:Kn(ee[0],"ordgroup").body,Ge=we.map(function(fn){var In=Fr(fn),Jn=In.text;if("lcr".indexOf(Jn)!==-1)return{type:"align",align:Jn};if(Jn==="|")return{type:"separator",separator:"|"};if(Jn===":")return{type:"separator",separator:":"};throw new d("Unknown column alignment: "+Jn,fn)}),gt={cols:Ge,hskipBeforeAndAfter:!0};return na(X.parser,gt,qi(X.envName))},htmlBuilder:va,mathmlBuilder:Zi}),ki({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(X){var ee={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[X.envName],ie={hskipBeforeAndAfter:!1},we=na(X.parser,ie,qi(X.envName));return ee?{type:"leftright",mode:X.mode,body:[we],left:ee[0],right:ee[1],rightColor:void 0}:we},htmlBuilder:va,mathmlBuilder:Zi}),ki({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(X){var ee={arraystretch:.5},ie=na(X.parser,ee,"script");return ie.colSeparationType="small",ie},htmlBuilder:va,mathmlBuilder:Zi}),ki({type:"array",names:["subarray"],props:{numArgs:1},handler:function(X,ee){var ie=ii(ee[0]),we=ie?[ee[0]]:Kn(ee[0],"ordgroup").body,Ge=we.map(function(fn){var In=Fr(fn),Jn=In.text;if("lc".indexOf(Jn)!==-1)return{type:"align",align:Jn};throw new d("Unknown column alignment: "+Jn,fn)});if(Ge.length>1)throw new d("{subarray} can contain only one column");var gt={cols:Ge,hskipBeforeAndAfter:!1,arraystretch:.5};if(gt=na(X.parser,gt,"script"),gt.body[0].length>1)throw new d("{subarray} can contain only one column");return gt},htmlBuilder:va,mathmlBuilder:Zi}),ki({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(X){var ee={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},ie=na(X.parser,ee,qi(X.envName));return{type:"leftright",mode:X.mode,body:[ie],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:va,mathmlBuilder:Zi}),ki({type:"array",names:["aligned"],props:{numArgs:0},handler:Qi,htmlBuilder:va,mathmlBuilder:Zi}),ki({type:"array",names:["gathered"],props:{numArgs:0},handler:function(X){var ee={cols:[{type:"align",align:"c"}],addJot:!0};return na(X.parser,ee,"display")},htmlBuilder:va,mathmlBuilder:Zi}),ki({type:"array",names:["alignedat"],props:{numArgs:1},handler:Qi,htmlBuilder:va,mathmlBuilder:Zi}),er({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(X,ee){throw new d(X.funcName+" valid only within array environment")}});var Na=ma,ga=Na;er({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(X,ee){var ie=X.parser,we=X.funcName,Ge=ee[0];if(Ge.type!=="ordgroup")throw new d("Invalid environment name",Ge);for(var gt="",fn=0;fn<Ge.body.length;++fn)gt+=Kn(Ge.body[fn],"textord").text;if(we==="\\begin"){if(!ga.hasOwnProperty(gt))throw new d("No such environment: "+gt,Ge);var In=ga[gt],Jn=ie.parseArguments("\\begin{"+gt+"}",In),Cr=Jn.args,Hr=Jn.optArgs,si={mode:ie.mode,envName:gt,parser:ie},xi=In.handler(si,Cr,Hr);ie.expect("\\end",!1);var Bi=ie.nextToken,sa=Kn(ie.parseFunction(),"environment");if(sa.name!==gt)throw new d("Mismatch: \\begin{"+gt+"} matched by \\end{"+sa.name+"}",Bi);return xi}return{type:"environment",mode:ie.mode,name:gt,nameGroup:Ge}}});var Ii=Xt.makeSpan;function Sa(et,X){var ee=cr(et.body,X,!0);return Ii([et.mclass],ee,X)}function Ra(et,X){var ee,ie=Ui(et.body,X);return et.mclass==="minner"?pi.newDocumentFragment(ie):(et.mclass==="mord"?et.isCharacterBox?(ee=ie[0],ee.type="mi"):ee=new pi.MathNode("mi",ie):(et.isCharacterBox?(ee=ie[0],ee.type="mo"):ee=new pi.MathNode("mo",ie),et.mclass==="mbin"?(ee.attributes.lspace="0.22em",ee.attributes.rspace="0.22em"):et.mclass==="mpunct"?(ee.attributes.lspace="0em",ee.attributes.rspace="0.17em"):(et.mclass==="mopen"||et.mclass==="mclose")&&(ee.attributes.lspace="0em",ee.attributes.rspace="0em")),ee)}er({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(X,ee){var ie=X.parser,we=X.funcName,Ge=ee[0];return{type:"mclass",mode:ie.mode,mclass:"m"+we.substr(5),body:qr(Ge),isCharacterBox:f.isCharacterBox(Ge)}},htmlBuilder:Sa,mathmlBuilder:Ra});var Da=function(X){var ee=X.type==="ordgroup"&&X.body.length?X.body[0]:X;return ee.type==="atom"&&(ee.family==="bin"||ee.family==="rel")?"m"+ee.family:"mord"};er({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(X,ee){var ie=X.parser;return{type:"mclass",mode:ie.mode,mclass:Da(ee[0]),body:[ee[1]],isCharacterBox:f.isCharacterBox(ee[1])}}}),er({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(X,ee){var ie=X.parser,we=X.funcName,Ge=ee[1],gt=ee[0],fn;we!=="\\stackrel"?fn=Da(Ge):fn="mrel";var In={type:"op",mode:Ge.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:we!=="\\stackrel",body:qr(Ge)},Jn={type:"supsub",mode:gt.mode,base:In,sup:we==="\\underset"?null:gt,sub:we==="\\underset"?gt:null};return{type:"mclass",mode:ie.mode,mclass:fn,body:[Jn],isCharacterBox:f.isCharacterBox(Jn)}},htmlBuilder:Sa,mathmlBuilder:Ra});var ka=function(X,ee){var ie=X.font,we=ee.withFont(ie);return hi(X.body,we)},Pa=function(X,ee){var ie=X.font,we=ee.withFont(ie);return Bt(X.body,we)},Ka={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};er({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(X,ee){var ie=X.parser,we=X.funcName,Ge=ee[0],gt=we;return gt in Ka&&(gt=Ka[gt]),{type:"font",mode:ie.mode,font:gt.slice(1),body:Ge}},htmlBuilder:ka,mathmlBuilder:Pa}),er({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(X,ee){var ie=X.parser,we=ee[0],Ge=f.isCharacterBox(we);return{type:"mclass",mode:ie.mode,mclass:Da(we),body:[{type:"font",mode:ie.mode,font:"boldsymbol",body:we}],isCharacterBox:Ge}}}),er({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(X,ee){var ie=X.parser,we=X.funcName,Ge=X.breakOnTokenText,gt=ie.mode,fn=ie.parseExpression(!0,Ge),In="math"+we.slice(1);return{type:"font",mode:gt,font:In,body:{type:"ordgroup",mode:ie.mode,body:fn}}},htmlBuilder:ka,mathmlBuilder:Pa});var xa=function(X,ee){var ie=ee;return X==="display"?ie=ie.id>=P.SCRIPT.id?ie.text():P.DISPLAY:X==="text"&&ie.size===P.DISPLAY.size?ie=P.TEXT:X==="script"?ie=P.SCRIPT:X==="scriptscript"&&(ie=P.SCRIPTSCRIPT),ie},ja=function(X,ee){var ie=xa(X.size,ee.style),we=ie.fracNum(),Ge=ie.fracDen(),gt;gt=ee.havingStyle(we);var fn=hi(X.numer,gt,ee);if(X.continued){var In=8.5/ee.fontMetrics().ptPerEm,Jn=3.5/ee.fontMetrics().ptPerEm;fn.height=fn.height<In?In:fn.height,fn.depth=fn.depth<Jn?Jn:fn.depth}gt=ee.havingStyle(Ge);var Cr=hi(X.denom,gt,ee),Hr,si,xi;X.hasBarLine?(X.barSize?(si=Zt(X.barSize,ee),Hr=Xt.makeLineSpan("frac-line",ee,si)):Hr=Xt.makeLineSpan("frac-line",ee),si=Hr.height,xi=Hr.height):(Hr=null,si=0,xi=ee.fontMetrics().defaultRuleThickness);var Bi,sa,ya;ie.size===P.DISPLAY.size||X.size==="display"?(Bi=ee.fontMetrics().num1,si>0?sa=3*xi:sa=7*xi,ya=ee.fontMetrics().denom1):(si>0?(Bi=ee.fontMetrics().num2,sa=xi):(Bi=ee.fontMetrics().num3,sa=3*xi),ya=ee.fontMetrics().denom2);var Ja;if(Hr){var to=ee.fontMetrics().axisHeight;Bi-fn.depth-(to+.5*si)<sa&&(Bi+=sa-(Bi-fn.depth-(to+.5*si))),to-.5*si-(Cr.height-ya)<sa&&(ya+=sa-(to-.5*si-(Cr.height-ya)));var Lo=-(to-.5*si);Ja=Xt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Cr,shift:ya},{type:"elem",elem:Hr,shift:Lo},{type:"elem",elem:fn,shift:-Bi}]},ee)}else{var $a=Bi-fn.depth-(Cr.height-ya);$a<sa&&(Bi+=.5*(sa-$a),ya+=.5*(sa-$a)),Ja=Xt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Cr,shift:ya},{type:"elem",elem:fn,shift:-Bi}]},ee)}gt=ee.havingStyle(ie),Ja.height*=gt.sizeMultiplier/ee.sizeMultiplier,Ja.depth*=gt.sizeMultiplier/ee.sizeMultiplier;var Co;ie.size===P.DISPLAY.size?Co=ee.fontMetrics().delim1:Co=ee.fontMetrics().delim2;var Bo,Ao;return X.leftDelim==null?Bo=$r(ee,["mopen"]):Bo=Yr.customSizedDelim(X.leftDelim,Co,!0,ee.havingStyle(ie),X.mode,["mopen"]),X.continued?Ao=Xt.makeSpan([]):X.rightDelim==null?Ao=$r(ee,["mclose"]):Ao=Yr.customSizedDelim(X.rightDelim,Co,!0,ee.havingStyle(ie),X.mode,["mclose"]),Xt.makeSpan(["mord"].concat(gt.sizingClasses(ee)),[Bo,Xt.makeSpan(["mfrac"],[Ja]),Ao],ee)},io=function(X,ee){var ie=new pi.MathNode("mfrac",[Bt(X.numer,ee),Bt(X.denom,ee)]);if(!X.hasBarLine)ie.setAttribute("linethickness","0px");else if(X.barSize){var we=Zt(X.barSize,ee);ie.setAttribute("linethickness",we+"em")}var Ge=xa(X.size,ee.style);if(Ge.size!==ee.style.size){ie=new pi.MathNode("mstyle",[ie]);var gt=Ge.size===P.DISPLAY.size?"true":"false";ie.setAttribute("displaystyle",gt),ie.setAttribute("scriptlevel","0")}if(X.leftDelim!=null||X.rightDelim!=null){var fn=[];if(X.leftDelim!=null){var In=new pi.MathNode("mo",[new pi.TextNode(X.leftDelim.replace("\\",""))]);In.setAttribute("fence","true"),fn.push(In)}if(fn.push(ie),X.rightDelim!=null){var Jn=new pi.MathNode("mo",[new pi.TextNode(X.rightDelim.replace("\\",""))]);Jn.setAttribute("fence","true"),fn.push(Jn)}return Li(fn)}return ie};er({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(X,ee){var ie=X.parser,we=X.funcName,Ge=ee[0],gt=ee[1],fn,In=null,Jn=null,Cr="auto";switch(we){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":fn=!0;break;case"\\\\atopfrac":fn=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":fn=!1,In="(",Jn=")";break;case"\\\\bracefrac":fn=!1,In="\\{",Jn="\\}";break;case"\\\\brackfrac":fn=!1,In="[",Jn="]";break;default:throw new Error("Unrecognized genfrac command")}switch(we){case"\\cfrac":case"\\dfrac":case"\\dbinom":Cr="display";break;case"\\tfrac":case"\\tbinom":Cr="text";break}return{type:"genfrac",mode:ie.mode,continued:we==="\\cfrac",numer:Ge,denom:gt,hasBarLine:fn,leftDelim:In,rightDelim:Jn,size:Cr,barSize:null}},htmlBuilder:ja,mathmlBuilder:io}),er({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(X){var ee=X.parser,ie=X.funcName,we=X.token,Ge;switch(ie){case"\\over":Ge="\\frac";break;case"\\choose":Ge="\\binom";break;case"\\atop":Ge="\\\\atopfrac";break;case"\\brace":Ge="\\\\bracefrac";break;case"\\brack":Ge="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:ee.mode,replaceWith:Ge,token:we}}});var ia=["display","text","script","scriptscript"],lo=function(X){var ee=null;return X.length>0&&(ee=X,ee=ee==="."?null:ee),ee};er({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(X,ee){var ie=X.parser,we=ee[4],Ge=ee[5],gt=Fn(ee[0],"atom");gt&&(gt=un(ee[0],"open"));var fn=gt?lo(gt.text):null,In=Fn(ee[1],"atom");In&&(In=un(ee[1],"close"));var Jn=In?lo(In.text):null,Cr=Kn(ee[2],"size"),Hr,si=null;Cr.isBlank?Hr=!0:(si=Cr.value,Hr=si.number>0);var xi="auto",Bi=Fn(ee[3],"ordgroup");if(Bi){if(Bi.body.length>0){var sa=Kn(Bi.body[0],"textord");xi=ia[Number(sa.text)]}}else Bi=Kn(ee[3],"textord"),xi=ia[Number(Bi.text)];return{type:"genfrac",mode:ie.mode,numer:we,denom:Ge,continued:!1,hasBarLine:Hr,barSize:si,leftDelim:fn,rightDelim:Jn,size:xi}},htmlBuilder:ja,mathmlBuilder:io}),er({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(X,ee){var ie=X.parser,we=X.funcName,Ge=X.token;return{type:"infix",mode:ie.mode,replaceWith:"\\\\abovefrac",size:Kn(ee[0],"size").value,token:Ge}}}),er({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(X,ee){var ie=X.parser,we=X.funcName,Ge=ee[0],gt=c(Kn(ee[1],"infix").size),fn=ee[2],In=gt.number>0;return{type:"genfrac",mode:ie.mode,numer:Ge,denom:fn,continued:!1,hasBarLine:In,barSize:gt,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:ja,mathmlBuilder:io});var Ya=function(X,ee){var ie=ee.style,we,Ge,gt=Fn(X,"supsub");gt?(we=gt.sup?hi(gt.sup,ee.havingStyle(ie.sup()),ee):hi(gt.sub,ee.havingStyle(ie.sub()),ee),Ge=Kn(gt.base,"horizBrace")):Ge=Kn(X,"horizBrace");var fn=hi(Ge.base,ee.havingBaseStyle(P.DISPLAY)),In=gr.svgSpan(Ge,ee),Jn;if(Ge.isOver?(Jn=Xt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:fn},{type:"kern",size:.1},{type:"elem",elem:In}]},ee),Jn.children[0].children[0].children[1].classes.push("svg-align")):(Jn=Xt.makeVList({positionType:"bottom",positionData:fn.depth+.1+In.height,children:[{type:"elem",elem:In},{type:"kern",size:.1},{type:"elem",elem:fn}]},ee),Jn.children[0].children[0].children[0].classes.push("svg-align")),we){var Cr=Xt.makeSpan(["mord",Ge.isOver?"mover":"munder"],[Jn],ee);Ge.isOver?Jn=Xt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Cr},{type:"kern",size:.2},{type:"elem",elem:we}]},ee):Jn=Xt.makeVList({positionType:"bottom",positionData:Cr.depth+.2+we.height+we.depth,children:[{type:"elem",elem:we},{type:"kern",size:.2},{type:"elem",elem:Cr}]},ee)}return Xt.makeSpan(["mord",Ge.isOver?"mover":"munder"],[Jn],ee)},Ca=function(X,ee){var ie=gr.mathMLnode(X.label);return new pi.MathNode(X.isOver?"mover":"munder",[Bt(X.base,ee),ie])};er({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(X,ee){var ie=X.parser,we=X.funcName;return{type:"horizBrace",mode:ie.mode,label:we,isOver:/^\\over/.test(we),base:ee[0]}},htmlBuilder:Ya,mathmlBuilder:Ca}),er({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(X,ee){var ie=X.parser,we=ee[1],Ge=Kn(ee[0],"url").url;return ie.settings.isTrusted({command:"\\href",url:Ge})?{type:"href",mode:ie.mode,href:Ge,body:qr(we)}:ie.formatUnsupportedCmd("\\href")},htmlBuilder:function(X,ee){var ie=cr(X.body,ee,!1);return Xt.makeAnchor(X.href,[],ie,ee)},mathmlBuilder:function(X,ee){var ie=ea(X.body,ee);return ie instanceof ra||(ie=new ra("mrow",[ie])),ie.setAttribute("href",X.href),ie}}),er({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(X,ee){var ie=X.parser,we=Kn(ee[0],"url").url;if(!ie.settings.isTrusted({command:"\\url",url:we}))return ie.formatUnsupportedCmd("\\url");for(var Ge=[],gt=0;gt<we.length;gt++){var fn=we[gt];fn==="~"&&(fn="\\textasciitilde"),Ge.push({type:"textord",mode:"text",text:fn})}var In={type:"text",mode:ie.mode,font:"\\texttt",body:Ge};return{type:"href",mode:ie.mode,href:we,body:qr(In)}}}),er({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(X,ee){var ie=X.parser;return{type:"htmlmathml",mode:ie.mode,html:qr(ee[0]),mathml:qr(ee[1])}},htmlBuilder:function(X,ee){var ie=cr(X.html,ee,!1);return Xt.makeFragment(ie)},mathmlBuilder:function(X,ee){return ea(X.mathml,ee)}});var Xa=function(X){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(X))return{number:+X,unit:"bp"};var ee=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(X);if(!ee)throw new d("Invalid size: '"+X+"' in \\includegraphics");var ie={number:+(ee[1]+ee[2]),unit:ee[3]};if(!sn(ie))throw new d("Invalid unit: '"+ie.unit+"' in \\includegraphics.");return ie};er({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(X,ee,ie){var we=X.parser,Ge={number:0,unit:"em"},gt={number:.9,unit:"em"},fn={number:0,unit:"em"},In="";if(ie[0])for(var Jn=Kn(ie[0],"raw").string,Cr=Jn.split(","),Hr=0;Hr<Cr.length;Hr++){var si=Cr[Hr].split("=");if(si.length===2){var xi=si[1].trim();switch(si[0].trim()){case"alt":In=xi;break;case"width":Ge=Xa(xi);break;case"height":gt=Xa(xi);break;case"totalheight":fn=Xa(xi);break;default:throw new d("Invalid key: '"+si[0]+"' in \\includegraphics.")}}}var Bi=Kn(ee[0],"url").url;return In===""&&(In=Bi,In=In.replace(/^.*[\\/]/,""),In=In.substring(0,In.lastIndexOf("."))),we.settings.isTrusted({command:"\\includegraphics",url:Bi})?{type:"includegraphics",mode:we.mode,alt:In,width:Ge,height:gt,totalheight:fn,src:Bi}:we.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(X,ee){var ie=Zt(X.height,ee),we=0;X.totalheight.number>0&&(we=Zt(X.totalheight,ee)-ie,we=Number(we.toFixed(2)));var Ge=0;X.width.number>0&&(Ge=Zt(X.width,ee));var gt={height:ie+we+"em"};Ge>0&&(gt.width=Ge+"em"),we>0&&(gt.verticalAlign=-we+"em");var fn=new St(X.src,X.alt,gt);return fn.height=ie,fn.depth=we,fn},mathmlBuilder:function(X,ee){var ie=new pi.MathNode("mglyph",[]);ie.setAttribute("alt",X.alt);var we=Zt(X.height,ee),Ge=0;if(X.totalheight.number>0&&(Ge=Zt(X.totalheight,ee)-we,Ge=Ge.toFixed(2),ie.setAttribute("valign","-"+Ge+"em")),ie.setAttribute("height",we+Ge+"em"),X.width.number>0){var gt=Zt(X.width,ee);ie.setAttribute("width",gt+"em")}return ie.setAttribute("src",X.src),ie}}),er({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(X,ee){var ie=X.parser,we=X.funcName,Ge=Kn(ee[0],"size");if(ie.settings.strict){var gt=we[1]==="m",fn=Ge.value.unit==="mu";gt?(fn||ie.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+we+" supports only mu units, "+("not "+Ge.value.unit+" units")),ie.mode!=="math"&&ie.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+we+" works only in math mode")):fn&&ie.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+we+" doesn't support mu units")}return{type:"kern",mode:ie.mode,dimension:Ge.value}},htmlBuilder:function(X,ee){return Xt.makeGlue(X.dimension,ee)},mathmlBuilder:function(X,ee){var ie=Zt(X.dimension,ee);return new pi.SpaceNode(ie)}}),er({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(X,ee){var ie=X.parser,we=X.funcName,Ge=ee[0];return{type:"lap",mode:ie.mode,alignment:we.slice(5),body:Ge}},htmlBuilder:function(X,ee){var ie;X.alignment==="clap"?(ie=Xt.makeSpan([],[hi(X.body,ee)]),ie=Xt.makeSpan(["inner"],[ie],ee)):ie=Xt.makeSpan(["inner"],[hi(X.body,ee)]);var we=Xt.makeSpan(["fix"],[]),Ge=Xt.makeSpan([X.alignment],[ie,we],ee),gt=Xt.makeSpan(["strut"]);return gt.style.height=Ge.height+Ge.depth+"em",gt.style.verticalAlign=-Ge.depth+"em",Ge.children.unshift(gt),Ge=Xt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ge}]},ee),Xt.makeSpan(["mord"],[Ge],ee)},mathmlBuilder:function(X,ee){var ie=new pi.MathNode("mpadded",[Bt(X.body,ee)]);if(X.alignment!=="rlap"){var we=X.alignment==="llap"?"-1":"-0.5";ie.setAttribute("lspace",we+"width")}return ie.setAttribute("width","0px"),ie}}),er({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(X,ee){var ie=X.funcName,we=X.parser,Ge=we.mode;we.switchMode("math");var gt=ie==="\\("?"\\)":"$",fn=we.parseExpression(!1,gt);return we.expect(gt),we.switchMode(Ge),{type:"styling",mode:we.mode,style:"text",body:fn}}}),er({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(X,ee){throw new d("Mismatched "+X.funcName)}});var Ba=function(X,ee){switch(ee.style.size){case P.DISPLAY.size:return X.display;case P.TEXT.size:return X.text;case P.SCRIPT.size:return X.script;case P.SCRIPTSCRIPT.size:return X.scriptscript;default:return X.text}};er({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(X,ee){var ie=X.parser;return{type:"mathchoice",mode:ie.mode,display:qr(ee[0]),text:qr(ee[1]),script:qr(ee[2]),scriptscript:qr(ee[3])}},htmlBuilder:function(X,ee){var ie=Ba(X,ee),we=cr(ie,ee,!1);return Xt.makeFragment(we)},mathmlBuilder:function(X,ee){var ie=Ba(X,ee);return ea(ie,ee)}});var La=function(X,ee,ie,we,Ge,gt,fn){X=Xt.makeSpan([],[X]);var In,Jn;if(ee){var Cr=hi(ee,we.havingStyle(Ge.sup()),we);Jn={elem:Cr,kern:Math.max(we.fontMetrics().bigOpSpacing1,we.fontMetrics().bigOpSpacing3-Cr.depth)}}if(ie){var Hr=hi(ie,we.havingStyle(Ge.sub()),we);In={elem:Hr,kern:Math.max(we.fontMetrics().bigOpSpacing2,we.fontMetrics().bigOpSpacing4-Hr.height)}}var si;if(Jn&&In){var xi=we.fontMetrics().bigOpSpacing5+In.elem.height+In.elem.depth+In.kern+X.depth+fn;si=Xt.makeVList({positionType:"bottom",positionData:xi,children:[{type:"kern",size:we.fontMetrics().bigOpSpacing5},{type:"elem",elem:In.elem,marginLeft:-gt+"em"},{type:"kern",size:In.kern},{type:"elem",elem:X},{type:"kern",size:Jn.kern},{type:"elem",elem:Jn.elem,marginLeft:gt+"em"},{type:"kern",size:we.fontMetrics().bigOpSpacing5}]},we)}else if(In){var Bi=X.height-fn;si=Xt.makeVList({positionType:"top",positionData:Bi,children:[{type:"kern",size:we.fontMetrics().bigOpSpacing5},{type:"elem",elem:In.elem,marginLeft:-gt+"em"},{type:"kern",size:In.kern},{type:"elem",elem:X}]},we)}else if(Jn){var sa=X.depth+fn;si=Xt.makeVList({positionType:"bottom",positionData:sa,children:[{type:"elem",elem:X},{type:"kern",size:Jn.kern},{type:"elem",elem:Jn.elem,marginLeft:gt+"em"},{type:"kern",size:we.fontMetrics().bigOpSpacing5}]},we)}else return X;return Xt.makeSpan(["mop","op-limits"],[si],we)},yo=["\\smallint"],ao=function(X,ee){var ie,we,Ge=!1,gt,fn=Fn(X,"supsub");fn?(ie=fn.sup,we=fn.sub,gt=Kn(fn.base,"op"),Ge=!0):gt=Kn(X,"op");var In=ee.style,Jn=!1;In.size===P.DISPLAY.size&>.symbol&&!f.contains(yo,gt.name)&&(Jn=!0);var Cr;if(gt.symbol){var Hr=Jn?"Size2-Regular":"Size1-Regular",si="";if((gt.name==="\\oiint"||gt.name==="\\oiiint")&&(si=gt.name.substr(1),gt.name=si==="oiint"?"\\iint":"\\iiint"),Cr=Xt.makeSymbol(gt.name,Hr,"math",ee,["mop","op-symbol",Jn?"large-op":"small-op"]),si.length>0){var xi=Cr.italic,Bi=Xt.staticSvg(si+"Size"+(Jn?"2":"1"),ee);Cr=Xt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Cr,shift:0},{type:"elem",elem:Bi,shift:Jn?.08:0}]},ee),gt.name="\\"+si,Cr.classes.unshift("mop"),Cr.italic=xi}}else if(gt.body){var sa=cr(gt.body,ee,!0);sa.length===1&&sa[0]instanceof ht?(Cr=sa[0],Cr.classes[0]="mop"):Cr=Xt.makeSpan(["mop"],Xt.tryCombineChars(sa),ee)}else{for(var ya=[],Ja=1;Ja<gt.name.length;Ja++)ya.push(Xt.mathsym(gt.name[Ja],gt.mode,ee));Cr=Xt.makeSpan(["mop"],ya,ee)}var $a=0,to=0;return(Cr instanceof ht||gt.name==="\\oiint"||gt.name==="\\oiiint")&&!gt.suppressBaseShift&&($a=(Cr.height-Cr.depth)/2-ee.fontMetrics().axisHeight,to=Cr.italic),Ge?La(Cr,ie,we,ee,In,to,$a):($a&&(Cr.style.position="relative",Cr.style.top=$a+"em"),Cr)},bo=function(X,ee){var ie;if(X.symbol)ie=new ra("mo",[sr(X.name,X.mode)]),f.contains(yo,X.name)&&ie.setAttribute("largeop","false");else if(X.body)ie=new ra("mo",Ui(X.body,ee));else{ie=new ra("mi",[new $i(X.name.slice(1))]);var we=new ra("mo",[sr("\u2061","text")]);X.parentIsSupSub?ie=new ra("mo",[ie,we]):ie=Wi([ie,we])}return ie},uo={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};er({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(X,ee){var ie=X.parser,we=X.funcName,Ge=we;return Ge.length===1&&(Ge=uo[Ge]),{type:"op",mode:ie.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:Ge}},htmlBuilder:ao,mathmlBuilder:bo}),er({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(X,ee){var ie=X.parser,we=ee[0];return{type:"op",mode:ie.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:qr(we)}},htmlBuilder:ao,mathmlBuilder:bo});var co={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};er({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(X){var ee=X.parser,ie=X.funcName;return{type:"op",mode:ee.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:ie}},htmlBuilder:ao,mathmlBuilder:bo}),er({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(X){var ee=X.parser,ie=X.funcName;return{type:"op",mode:ee.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:ie}},htmlBuilder:ao,mathmlBuilder:bo}),er({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(X){var ee=X.parser,ie=X.funcName,we=ie;return we.length===1&&(we=co[we]),{type:"op",mode:ee.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:we}},htmlBuilder:ao,mathmlBuilder:bo});var Ga=function(X,ee){var ie,we,Ge=!1,gt,fn=Fn(X,"supsub");fn?(ie=fn.sup,we=fn.sub,gt=Kn(fn.base,"operatorname"),Ge=!0):gt=Kn(X,"operatorname");var In;if(gt.body.length>0){for(var Jn=gt.body.map(function(xi){var Bi=xi.text;return typeof Bi=="string"?{type:"textord",mode:xi.mode,text:Bi}:xi}),Cr=cr(Jn,ee.withFont("mathrm"),!0),Hr=0;Hr<Cr.length;Hr++){var si=Cr[Hr];si instanceof ht&&(si.text=si.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}In=Xt.makeSpan(["mop"],Cr,ee)}else In=Xt.makeSpan(["mop"],[],ee);return Ge?La(In,ie,we,ee,ee.style,0,0):In},eo=function(X,ee){for(var ie=Ui(X.body,ee.withFont("mathrm")),we=!0,Ge=0;Ge<ie.length;Ge++){var gt=ie[Ge];if(!(gt instanceof pi.SpaceNode))if(gt instanceof pi.MathNode)switch(gt.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var fn=gt.children[0];gt.children.length===1&&fn instanceof pi.TextNode?fn.text=fn.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):we=!1;break}default:we=!1}else we=!1}if(we){var In=ie.map(function(Hr){return Hr.toText()}).join("");ie=[new pi.TextNode(In)]}var Jn=new pi.MathNode("mi",ie);Jn.setAttribute("mathvariant","normal");var Cr=new pi.MathNode("mo",[sr("\u2061","text")]);return X.parentIsSupSub?new pi.MathNode("mo",[Jn,Cr]):pi.newDocumentFragment([Jn,Cr])};er({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(X,ee){var ie=X.parser,we=X.funcName,Ge=ee[0];return{type:"operatorname",mode:ie.mode,body:qr(Ge),alwaysHandleSupSub:we==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Ga,mathmlBuilder:eo}),ci({type:"ordgroup",htmlBuilder:function(X,ee){return X.semisimple?Xt.makeFragment(cr(X.body,ee,!1)):Xt.makeSpan(["mord"],cr(X.body,ee,!0),ee)},mathmlBuilder:function(X,ee){return ea(X.body,ee,!0)}}),er({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(X,ee){var ie=X.parser,we=ee[0];return{type:"overline",mode:ie.mode,body:we}},htmlBuilder:function(X,ee){var ie=hi(X.body,ee.havingCrampedStyle()),we=Xt.makeLineSpan("overline-line",ee),Ge=ee.fontMetrics().defaultRuleThickness,gt=Xt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ie},{type:"kern",size:3*Ge},{type:"elem",elem:we},{type:"kern",size:Ge}]},ee);return Xt.makeSpan(["mord","overline"],[gt],ee)},mathmlBuilder:function(X,ee){var ie=new pi.MathNode("mo",[new pi.TextNode("\u203E")]);ie.setAttribute("stretchy","true");var we=new pi.MathNode("mover",[Bt(X.body,ee),ie]);return we.setAttribute("accent","true"),we}}),er({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(X,ee){var ie=X.parser,we=ee[0];return{type:"phantom",mode:ie.mode,body:qr(we)}},htmlBuilder:function(X,ee){var ie=cr(X.body,ee.withPhantom(),!1);return Xt.makeFragment(ie)},mathmlBuilder:function(X,ee){var ie=Ui(X.body,ee);return new pi.MathNode("mphantom",ie)}}),er({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(X,ee){var ie=X.parser,we=ee[0];return{type:"hphantom",mode:ie.mode,body:we}},htmlBuilder:function(X,ee){var ie=Xt.makeSpan([],[hi(X.body,ee.withPhantom())]);if(ie.height=0,ie.depth=0,ie.children)for(var we=0;we<ie.children.length;we++)ie.children[we].height=0,ie.children[we].depth=0;return ie=Xt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ie}]},ee),Xt.makeSpan(["mord"],[ie],ee)},mathmlBuilder:function(X,ee){var ie=Ui(qr(X.body),ee),we=new pi.MathNode("mphantom",ie),Ge=new pi.MathNode("mpadded",[we]);return Ge.setAttribute("height","0px"),Ge.setAttribute("depth","0px"),Ge}}),er({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(X,ee){var ie=X.parser,we=ee[0];return{type:"vphantom",mode:ie.mode,body:we}},htmlBuilder:function(X,ee){var ie=Xt.makeSpan(["inner"],[hi(X.body,ee.withPhantom())]),we=Xt.makeSpan(["fix"],[]);return Xt.makeSpan(["mord","rlap"],[ie,we],ee)},mathmlBuilder:function(X,ee){var ie=Ui(qr(X.body),ee),we=new pi.MathNode("mphantom",ie),Ge=new pi.MathNode("mpadded",[we]);return Ge.setAttribute("width","0px"),Ge}}),er({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(X,ee){var ie=X.parser,we=Kn(ee[0],"size").value,Ge=ee[1];return{type:"raisebox",mode:ie.mode,dy:we,body:Ge}},htmlBuilder:function(X,ee){var ie=hi(X.body,ee),we=Zt(X.dy,ee);return Xt.makeVList({positionType:"shift",positionData:-we,children:[{type:"elem",elem:ie}]},ee)},mathmlBuilder:function(X,ee){var ie=new pi.MathNode("mpadded",[Bt(X.body,ee)]),we=X.dy.number+X.dy.unit;return ie.setAttribute("voffset",we),ie}}),er({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(X,ee,ie){var we=X.parser,Ge=ie[0],gt=Kn(ee[0],"size"),fn=Kn(ee[1],"size");return{type:"rule",mode:we.mode,shift:Ge&&Kn(Ge,"size").value,width:gt.value,height:fn.value}},htmlBuilder:function(X,ee){var ie=Xt.makeSpan(["mord","rule"],[],ee),we=Zt(X.width,ee),Ge=Zt(X.height,ee),gt=X.shift?Zt(X.shift,ee):0;return ie.style.borderRightWidth=we+"em",ie.style.borderTopWidth=Ge+"em",ie.style.bottom=gt+"em",ie.width=we,ie.height=Ge+gt,ie.depth=-gt,ie.maxFontSize=Ge*1.125*ee.sizeMultiplier,ie},mathmlBuilder:function(X,ee){var ie=Zt(X.width,ee),we=Zt(X.height,ee),Ge=X.shift?Zt(X.shift,ee):0,gt=ee.color&&ee.getColor()||"black",fn=new pi.MathNode("mspace");fn.setAttribute("mathbackground",gt),fn.setAttribute("width",ie+"em"),fn.setAttribute("height",we+"em");var In=new pi.MathNode("mpadded",[fn]);return Ge>=0?In.setAttribute("height","+"+Ge+"em"):(In.setAttribute("height",Ge+"em"),In.setAttribute("depth","+"+-Ge+"em")),In.setAttribute("voffset",Ge+"em"),In}});function wa(et,X,ee){for(var ie=cr(et,X,!1),we=X.sizeMultiplier/ee.sizeMultiplier,Ge=0;Ge<ie.length;Ge++){var gt=ie[Ge].classes.indexOf("sizing");gt<0?Array.prototype.push.apply(ie[Ge].classes,X.sizingClasses(ee)):ie[Ge].classes[gt+1]==="reset-size"+X.size&&(ie[Ge].classes[gt+1]="reset-size"+ee.size),ie[Ge].height*=we,ie[Ge].depth*=we}return Xt.makeFragment(ie)}var no=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],fo=function(X,ee){var ie=ee.havingSize(X.size);return wa(X.body,ie,ee)};er({type:"sizing",names:no,props:{numArgs:0,allowedInText:!0},handler:function(X,ee){var ie=X.breakOnTokenText,we=X.funcName,Ge=X.parser,gt=Ge.parseExpression(!1,ie);return{type:"sizing",mode:Ge.mode,size:no.indexOf(we)+1,body:gt}},htmlBuilder:fo,mathmlBuilder:function(X,ee){var ie=ee.havingSize(X.size),we=Ui(X.body,ie),Ge=new pi.MathNode("mstyle",we);return Ge.setAttribute("mathsize",ie.sizeMultiplier+"em"),Ge}}),er({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(X,ee,ie){var we=X.parser,Ge=!1,gt=!1,fn=ie[0]&&Kn(ie[0],"ordgroup");if(fn)for(var In="",Jn=0;Jn<fn.body.length;++Jn){var Cr=fn.body[Jn];if(In=Cr.text,In==="t")Ge=!0;else if(In==="b")gt=!0;else{Ge=!1,gt=!1;break}}else Ge=!0,gt=!0;var Hr=ee[0];return{type:"smash",mode:we.mode,body:Hr,smashHeight:Ge,smashDepth:gt}},htmlBuilder:function(X,ee){var ie=Xt.makeSpan([],[hi(X.body,ee)]);if(!X.smashHeight&&!X.smashDepth)return ie;if(X.smashHeight&&(ie.height=0,ie.children))for(var we=0;we<ie.children.length;we++)ie.children[we].height=0;if(X.smashDepth&&(ie.depth=0,ie.children))for(var Ge=0;Ge<ie.children.length;Ge++)ie.children[Ge].depth=0;var gt=Xt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ie}]},ee);return Xt.makeSpan(["mord"],[gt],ee)},mathmlBuilder:function(X,ee){var ie=new pi.MathNode("mpadded",[Bt(X.body,ee)]);return X.smashHeight&&ie.setAttribute("height","0px"),X.smashDepth&&ie.setAttribute("depth","0px"),ie}}),er({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(X,ee,ie){var we=X.parser,Ge=ie[0],gt=ee[0];return{type:"sqrt",mode:we.mode,body:gt,index:Ge}},htmlBuilder:function(X,ee){var ie=hi(X.body,ee.havingCrampedStyle());ie.height===0&&(ie.height=ee.fontMetrics().xHeight),ie=Xt.wrapFragment(ie,ee);var we=ee.fontMetrics(),Ge=we.defaultRuleThickness,gt=Ge;ee.style.id<P.TEXT.id&&(gt=ee.fontMetrics().xHeight);var fn=Ge+gt/4,In=ie.height+ie.depth+fn+Ge,Jn=Yr.sqrtImage(In,ee),Cr=Jn.span,Hr=Jn.ruleWidth,si=Jn.advanceWidth,xi=Cr.height-Hr;xi>ie.height+ie.depth+fn&&(fn=(fn+xi-ie.height-ie.depth)/2);var Bi=Cr.height-ie.height-fn-Hr;ie.style.paddingLeft=si+"em";var sa=Xt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ie,wrapperClasses:["svg-align"]},{type:"kern",size:-(ie.height+Bi)},{type:"elem",elem:Cr},{type:"kern",size:Hr}]},ee);if(X.index){var ya=ee.havingStyle(P.SCRIPTSCRIPT),Ja=hi(X.index,ya,ee),$a=.6*(sa.height-sa.depth),to=Xt.makeVList({positionType:"shift",positionData:-$a,children:[{type:"elem",elem:Ja}]},ee),Lo=Xt.makeSpan(["root"],[to]);return Xt.makeSpan(["mord","sqrt"],[Lo,sa],ee)}else return Xt.makeSpan(["mord","sqrt"],[sa],ee)},mathmlBuilder:function(X,ee){var ie=X.body,we=X.index;return we?new pi.MathNode("mroot",[Bt(ie,ee),Bt(we,ee)]):new pi.MathNode("msqrt",[Bt(ie,ee)])}});var _i={display:P.DISPLAY,text:P.TEXT,script:P.SCRIPT,scriptscript:P.SCRIPTSCRIPT};er({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(X,ee){var ie=X.breakOnTokenText,we=X.funcName,Ge=X.parser,gt=Ge.parseExpression(!0,ie),fn=we.slice(1,we.length-5);return{type:"styling",mode:Ge.mode,style:fn,body:gt}},htmlBuilder:function(X,ee){var ie=_i[X.style],we=ee.havingStyle(ie).withFont("");return wa(X.body,we,ee)},mathmlBuilder:function(X,ee){var ie=_i[X.style],we=ee.havingStyle(ie),Ge=Ui(X.body,we),gt=new pi.MathNode("mstyle",Ge),fn={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},In=fn[X.style];return gt.setAttribute("scriptlevel",In[0]),gt.setAttribute("displaystyle",In[1]),gt}});var Ma=function(X,ee){var ie=X.base;if(ie)if(ie.type==="op"){var we=ie.limits&&(ee.style.size===P.DISPLAY.size||ie.alwaysHandleSupSub);return we?ao:null}else if(ie.type==="operatorname"){var Ge=ie.alwaysHandleSupSub&&(ee.style.size===P.DISPLAY.size||ie.limits);return Ge?Ga:null}else{if(ie.type==="accent")return f.isCharacterBox(ie.base)?Rr:null;if(ie.type==="horizBrace"){var gt=!X.sub;return gt===ie.isOver?Ya:null}else return null}else return null};ci({type:"supsub",htmlBuilder:function(X,ee){var ie=Ma(X,ee);if(ie)return ie(X,ee);var we=X.base,Ge=X.sup,gt=X.sub,fn=hi(we,ee),In,Jn,Cr=ee.fontMetrics(),Hr=0,si=0,xi=we&&f.isCharacterBox(we);if(Ge){var Bi=ee.havingStyle(ee.style.sup());In=hi(Ge,Bi,ee),xi||(Hr=fn.height-Bi.fontMetrics().supDrop*Bi.sizeMultiplier/ee.sizeMultiplier)}if(gt){var sa=ee.havingStyle(ee.style.sub());Jn=hi(gt,sa,ee),xi||(si=fn.depth+sa.fontMetrics().subDrop*sa.sizeMultiplier/ee.sizeMultiplier)}var ya;ee.style===P.DISPLAY?ya=Cr.sup1:ee.style.cramped?ya=Cr.sup3:ya=Cr.sup2;var Ja=ee.sizeMultiplier,$a=.5/Cr.ptPerEm/Ja+"em",to=null;if(Jn){var Lo=X.base&&X.base.type==="op"&&X.base.name&&(X.base.name==="\\oiint"||X.base.name==="\\oiiint");(fn instanceof ht||Lo)&&(to=-fn.italic+"em")}var Co;if(In&&Jn){Hr=Math.max(Hr,ya,In.depth+.25*Cr.xHeight),si=Math.max(si,Cr.sub2);var Bo=Cr.defaultRuleThickness,Ao=4*Bo;if(Hr-In.depth-(Jn.height-si)<Ao){si=Ao-(Hr-In.depth)+Jn.height;var So=.8*Cr.xHeight-(Hr-In.depth);So>0&&(Hr+=So,si-=So)}var is=[{type:"elem",elem:Jn,shift:si,marginRight:$a,marginLeft:to},{type:"elem",elem:In,shift:-Hr,marginRight:$a}];Co=Xt.makeVList({positionType:"individualShift",children:is},ee)}else if(Jn){si=Math.max(si,Cr.sub1,Jn.height-.8*Cr.xHeight);var ts=[{type:"elem",elem:Jn,marginLeft:to,marginRight:$a}];Co=Xt.makeVList({positionType:"shift",positionData:si,children:ts},ee)}else if(In)Hr=Math.max(Hr,ya,In.depth+.25*Cr.xHeight),Co=Xt.makeVList({positionType:"shift",positionData:-Hr,children:[{type:"elem",elem:In,marginRight:$a}]},ee);else throw new Error("supsub must have either sup or sub.");var Io=Qr(fn,"right")||"mord";return Xt.makeSpan([Io],[fn,Xt.makeSpan(["msupsub"],[Co])],ee)},mathmlBuilder:function(X,ee){var ie=!1,we,Ge,gt=Fn(X.base,"horizBrace");gt&&(Ge=!!X.sup,Ge===gt.isOver&&(ie=!0,we=gt.isOver)),X.base&&(X.base.type==="op"||X.base.type==="operatorname")&&(X.base.parentIsSupSub=!0);var fn=[Bt(X.base,ee)];X.sub&&fn.push(Bt(X.sub,ee)),X.sup&&fn.push(Bt(X.sup,ee));var In;if(ie)In=we?"mover":"munder";else if(X.sub)if(X.sup){var Hr=X.base;Hr&&Hr.type==="op"&&Hr.limits&&ee.style===P.DISPLAY||Hr&&Hr.type==="operatorname"&&Hr.alwaysHandleSupSub&&(ee.style===P.DISPLAY||Hr.limits)?In="munderover":In="msubsup"}else{var Cr=X.base;Cr&&Cr.type==="op"&&Cr.limits&&(ee.style===P.DISPLAY||Cr.alwaysHandleSupSub)||Cr&&Cr.type==="operatorname"&&Cr.alwaysHandleSupSub&&(Cr.limits||ee.style===P.DISPLAY)?In="munder":In="msub"}else{var Jn=X.base;Jn&&Jn.type==="op"&&Jn.limits&&(ee.style===P.DISPLAY||Jn.alwaysHandleSupSub)||Jn&&Jn.type==="operatorname"&&Jn.alwaysHandleSupSub&&(Jn.limits||ee.style===P.DISPLAY)?In="mover":In="msup"}var si=new pi.MathNode(In,fn);return si}}),ci({type:"atom",htmlBuilder:function(X,ee){return Xt.mathsym(X.text,X.mode,ee,["m"+X.family])},mathmlBuilder:function(X,ee){var ie=new pi.MathNode("mo",[sr(X.text,X.mode)]);if(X.family==="bin"){var we=Ji(X,ee);we==="bold-italic"&&ie.setAttribute("mathvariant",we)}else X.family==="punct"?ie.setAttribute("separator","true"):(X.family==="open"||X.family==="close")&&ie.setAttribute("stretchy","false");return ie}});var Ro={mi:"italic",mn:"normal",mtext:"normal"};ci({type:"mathord",htmlBuilder:function(X,ee){return Xt.makeOrd(X,ee,"mathord")},mathmlBuilder:function(X,ee){var ie=new pi.MathNode("mi",[sr(X.text,X.mode,ee)]),we=Ji(X,ee)||"italic";return we!==Ro[ie.type]&&ie.setAttribute("mathvariant",we),ie}}),ci({type:"textord",htmlBuilder:function(X,ee){return Xt.makeOrd(X,ee,"textord")},mathmlBuilder:function(X,ee){var ie=sr(X.text,X.mode,ee),we=Ji(X,ee)||"normal",Ge;return X.mode==="text"?Ge=new pi.MathNode("mtext",[ie]):/[0-9]/.test(X.text)?Ge=new pi.MathNode("mn",[ie]):X.text==="\\prime"?Ge=new pi.MathNode("mo",[ie]):Ge=new pi.MathNode("mi",[ie]),we!==Ro[Ge.type]&&Ge.setAttribute("mathvariant",we),Ge}});var jo={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Vo={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ci({type:"spacing",htmlBuilder:function(X,ee){if(Vo.hasOwnProperty(X.text)){var ie=Vo[X.text].className||"";if(X.mode==="text"){var we=Xt.makeOrd(X,ee,"textord");return we.classes.push(ie),we}else return Xt.makeSpan(["mspace",ie],[Xt.mathsym(X.text,X.mode,ee)],ee)}else{if(jo.hasOwnProperty(X.text))return Xt.makeSpan(["mspace",jo[X.text]],[],ee);throw new d('Unknown type of space "'+X.text+'"')}},mathmlBuilder:function(X,ee){var ie;if(Vo.hasOwnProperty(X.text))ie=new pi.MathNode("mtext",[new pi.TextNode("\xA0")]);else{if(jo.hasOwnProperty(X.text))return new pi.MathNode("mspace");throw new d('Unknown type of space "'+X.text+'"')}return ie}});var Qo=function(){var X=new pi.MathNode("mtd",[]);return X.setAttribute("width","50%"),X};ci({type:"tag",mathmlBuilder:function(X,ee){var ie=new pi.MathNode("mtable",[new pi.MathNode("mtr",[Qo(),new pi.MathNode("mtd",[ea(X.body,ee)]),Qo(),new pi.MathNode("mtd",[ea(X.tag,ee)])])]);return ie.setAttribute("width","100%"),ie}});var wo={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Oa={"\\textbf":"textbf","\\textmd":"textmd"},Po={"\\textit":"textit","\\textup":"textup"},ds=function(X,ee){var ie=X.font;return ie?wo[ie]?ee.withTextFontFamily(wo[ie]):Oa[ie]?ee.withTextFontWeight(Oa[ie]):ee.withTextFontShape(Po[ie]):ee};er({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(X,ee){var ie=X.parser,we=X.funcName,Ge=ee[0];return{type:"text",mode:ie.mode,body:qr(Ge),font:we}},htmlBuilder:function(X,ee){var ie=ds(X,ee),we=cr(X.body,ie,!0);return Xt.makeSpan(["mord","text"],Xt.tryCombineChars(we),ie)},mathmlBuilder:function(X,ee){var ie=ds(X,ee);return ea(X.body,ie)}}),er({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(X,ee){var ie=X.parser;return{type:"underline",mode:ie.mode,body:ee[0]}},htmlBuilder:function(X,ee){var ie=hi(X.body,ee),we=Xt.makeLineSpan("underline-line",ee),Ge=ee.fontMetrics().defaultRuleThickness,gt=Xt.makeVList({positionType:"top",positionData:ie.height,children:[{type:"kern",size:Ge},{type:"elem",elem:we},{type:"kern",size:3*Ge},{type:"elem",elem:ie}]},ee);return Xt.makeSpan(["mord","underline"],[gt],ee)},mathmlBuilder:function(X,ee){var ie=new pi.MathNode("mo",[new pi.TextNode("\u203E")]);ie.setAttribute("stretchy","true");var we=new pi.MathNode("munder",[Bt(X.body,ee),ie]);return we.setAttribute("accentunder","true"),we}}),er({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(X,ee,ie){throw new d("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(X,ee){for(var ie=ho(X),we=[],Ge=ee.havingStyle(ee.style.text()),gt=0;gt<ie.length;gt++){var fn=ie[gt];fn==="~"&&(fn="\\textasciitilde"),we.push(Xt.makeSymbol(fn,"Typewriter-Regular",X.mode,Ge,["mord","texttt"]))}return Xt.makeSpan(["mord","text"].concat(Ge.sizingClasses(ee)),Xt.tryCombineChars(we),Ge)},mathmlBuilder:function(X,ee){var ie=new pi.TextNode(ho(X)),we=new pi.MathNode("mtext",[ie]);return we.setAttribute("mathvariant","monospace"),we}});var ho=function(X){return X.body.replace(/ /g,X.star?"\u2423":"\xA0")},To=Ar,za=To,Yo=`[ \r
|
|
|
]`,nl="\\\\[a-zA-Z@]+",Is="\\\\[^\uD800-\uDFFF]",Ls=""+nl+Yo+"*",xs=new RegExp("^("+nl+")"+Yo+"*$"),ps="[\u0300-\u036F]",Ts=new RegExp(ps+"+$"),Ho="("+Yo+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(ps+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(ps+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+Ls)+("|"+Is+")"),mo=function(){function et(ee,ie){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=ee,this.settings=ie,this.tokenRegex=new RegExp(Ho,"g"),this.catcodes={"%":14}}var X=et.prototype;return X.setCatcode=function(ie,we){this.catcodes[ie]=we},X.lex=function(){var ie=this.input,we=this.tokenRegex.lastIndex;if(we===ie.length)return new b("EOF",new A(this,we,we));var Ge=this.tokenRegex.exec(ie);if(Ge===null||Ge.index!==we)throw new d("Unexpected character: '"+ie[we]+"'",new b(ie[we],new A(this,we,we+1)));var gt=Ge[2]||" ";if(this.catcodes[gt]===14){var fn=ie.indexOf(`
|
|
|
`,this.tokenRegex.lastIndex);return fn===-1?(this.tokenRegex.lastIndex=ie.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=fn+1,this.lex()}var In=gt.match(xs);return In&&(gt=In[1]),new b(gt,new A(this,we,this.tokenRegex.lastIndex))},et}(),es=function(){function et(ee,ie){ee===void 0&&(ee={}),ie===void 0&&(ie={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=ie,this.builtins=ee,this.undefStack=[]}var X=et.prototype;return X.beginGroup=function(){this.undefStack.push({})},X.endGroup=function(){if(this.undefStack.length===0)throw new d("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var ie=this.undefStack.pop();for(var we in ie)ie.hasOwnProperty(we)&&(ie[we]===void 0?delete this.current[we]:this.current[we]=ie[we])},X.has=function(ie){return this.current.hasOwnProperty(ie)||this.builtins.hasOwnProperty(ie)},X.get=function(ie){return this.current.hasOwnProperty(ie)?this.current[ie]:this.builtins[ie]},X.set=function(ie,we,Ge){if(Ge===void 0&&(Ge=!1),Ge){for(var gt=0;gt<this.undefStack.length;gt++)delete this.undefStack[gt][ie];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][ie]=we)}else{var fn=this.undefStack[this.undefStack.length-1];fn&&!fn.hasOwnProperty(ie)&&(fn[ie]=this.current[ie])}this.current[ie]=we},et}(),zo={},_o=zo;function zn(et,X){zo[et]=X}zn("\\@firstoftwo",function(et){var X=et.consumeArgs(2);return{tokens:X[0],numArgs:0}}),zn("\\@secondoftwo",function(et){var X=et.consumeArgs(2);return{tokens:X[1],numArgs:0}}),zn("\\@ifnextchar",function(et){var X=et.consumeArgs(3),ee=et.future();return X[0].length===1&&X[0][0].text===ee.text?{tokens:X[1],numArgs:0}:{tokens:X[2],numArgs:0}}),zn("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),zn("\\TextOrMath",function(et){var X=et.consumeArgs(2);return et.mode==="text"?{tokens:X[0],numArgs:0}:{tokens:X[1],numArgs:0}});var Go={"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};zn("\\char",function(et){var X=et.popToken(),ee,ie="";if(X.text==="'")ee=8,X=et.popToken();else if(X.text==='"')ee=16,X=et.popToken();else if(X.text==="`")if(X=et.popToken(),X.text[0]==="\\")ie=X.text.charCodeAt(1);else{if(X.text==="EOF")throw new d("\\char` missing argument");ie=X.text.charCodeAt(0)}else ee=10;if(ee){if(ie=Go[X.text],ie==null||ie>=ee)throw new d("Invalid base-"+ee+" digit "+X.text);for(var we;(we=Go[et.future().text])!=null&&we<ee;)ie*=ee,ie+=we,et.popToken()}return"\\@char{"+ie+"}"});var rl=function(X,ee){var ie=X.consumeArgs(1)[0];if(ie.length!==1)throw new d("\\gdef's first argument must be a macro name");var we=ie[0].text,Ge=0;for(ie=X.consumeArgs(1)[0];ie.length===1&&ie[0].text==="#";){if(ie=X.consumeArgs(1)[0],ie.length!==1)throw new d('Invalid argument number length "'+ie.length+'"');if(!/^[1-9]$/.test(ie[0].text))throw new d('Invalid argument number "'+ie[0].text+'"');if(Ge++,parseInt(ie[0].text)!==Ge)throw new d('Argument number "'+ie[0].text+'" out of order');ie=X.consumeArgs(1)[0]}return X.macros.set(we,{tokens:ie,numArgs:Ge},ee),""};zn("\\gdef",function(et){return rl(et,!0)}),zn("\\def",function(et){return rl(et,!1)}),zn("\\global",function(et){var X=et.consumeArgs(1)[0];if(X.length!==1)throw new d("Invalid command after \\global");var ee=X[0].text;if(ee==="\\def")return rl(et,!0);throw new d("Invalid command '"+ee+"' after \\global")});var zs=function(X,ee,ie){var we=X.consumeArgs(1)[0];if(we.length!==1)throw new d("\\newcommand's first argument must be a macro name");var Ge=we[0].text,gt=X.isDefined(Ge);if(gt&&!ee)throw new d("\\newcommand{"+Ge+"} attempting to redefine "+(Ge+"; use \\renewcommand"));if(!gt&&!ie)throw new d("\\renewcommand{"+Ge+"} when command "+Ge+" does not yet exist; use \\newcommand");var fn=0;if(we=X.consumeArgs(1)[0],we.length===1&&we[0].text==="["){for(var In="",Jn=X.expandNextToken();Jn.text!=="]"&&Jn.text!=="EOF";)In+=Jn.text,Jn=X.expandNextToken();if(!In.match(/^\s*[0-9]+\s*$/))throw new d("Invalid number of arguments: "+In);fn=parseInt(In),we=X.consumeArgs(1)[0]}return X.macros.set(Ge,{tokens:we,numArgs:fn}),""};zn("\\newcommand",function(et){return zs(et,!1,!0)}),zn("\\renewcommand",function(et){return zs(et,!0,!1)}),zn("\\providecommand",function(et){return zs(et,!0,!0)}),zn("\\bgroup","{"),zn("\\egroup","}"),zn("\\lq","`"),zn("\\rq","'"),zn("\\aa","\\r a"),zn("\\AA","\\r A"),zn("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),zn("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),zn("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),zn("\u212C","\\mathscr{B}"),zn("\u2130","\\mathscr{E}"),zn("\u2131","\\mathscr{F}"),zn("\u210B","\\mathscr{H}"),zn("\u2110","\\mathscr{I}"),zn("\u2112","\\mathscr{L}"),zn("\u2133","\\mathscr{M}"),zn("\u211B","\\mathscr{R}"),zn("\u212D","\\mathfrak{C}"),zn("\u210C","\\mathfrak{H}"),zn("\u2128","\\mathfrak{Z}"),zn("\\Bbbk","\\Bbb{k}"),zn("\xB7","\\cdotp"),zn("\\llap","\\mathllap{\\textrm{#1}}"),zn("\\rlap","\\mathrlap{\\textrm{#1}}"),zn("\\clap","\\mathclap{\\textrm{#1}}"),zn("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),zn("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),zn("\\ne","\\neq"),zn("\u2260","\\neq"),zn("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),zn("\u2209","\\notin"),zn("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),zn("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),zn("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),zn("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),zn("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),zn("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),zn("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),zn("\u27C2","\\perp"),zn("\u203C","\\mathclose{!\\mkern-0.8mu!}"),zn("\u220C","\\notni"),zn("\u231C","\\ulcorner"),zn("\u231D","\\urcorner"),zn("\u231E","\\llcorner"),zn("\u231F","\\lrcorner"),zn("\xA9","\\copyright"),zn("\xAE","\\textregistered"),zn("\uFE0F","\\textregistered"),zn("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),zn("\u22EE","\\vdots"),zn("\\varGamma","\\mathit{\\Gamma}"),zn("\\varDelta","\\mathit{\\Delta}"),zn("\\varTheta","\\mathit{\\Theta}"),zn("\\varLambda","\\mathit{\\Lambda}"),zn("\\varXi","\\mathit{\\Xi}"),zn("\\varPi","\\mathit{\\Pi}"),zn("\\varSigma","\\mathit{\\Sigma}"),zn("\\varUpsilon","\\mathit{\\Upsilon}"),zn("\\varPhi","\\mathit{\\Phi}"),zn("\\varPsi","\\mathit{\\Psi}"),zn("\\varOmega","\\mathit{\\Omega}"),zn("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),zn("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),zn("\\boxed","\\fbox{$\\displaystyle{#1}$}"),zn("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),zn("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),zn("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Ps={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};zn("\\dots",function(et){var X="\\dotso",ee=et.expandAfterFuture().text;return ee in Ps?X=Ps[ee]:ee.substr(0,4)==="\\not"?X="\\dotsb":ee in vt.math&&(f.contains(["bin","rel"],vt.math[ee].group)&&(X="\\dotsb")),X});var ro={")":!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};zn("\\dotso",function(et){var X=et.future().text;return X in ro?"\\ldots\\,":"\\ldots"}),zn("\\dotsc",function(et){var X=et.future().text;return X in ro&&X!==","?"\\ldots\\,":"\\ldots"}),zn("\\cdots",function(et){var X=et.future().text;return X in ro?"\\@cdots\\,":"\\@cdots"}),zn("\\dotsb","\\cdots"),zn("\\dotsm","\\cdots"),zn("\\dotsi","\\!\\cdots"),zn("\\dotsx","\\ldots\\,"),zn("\\DOTSI","\\relax"),zn("\\DOTSB","\\relax"),zn("\\DOTSX","\\relax"),zn("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),zn("\\,","\\tmspace+{3mu}{.1667em}"),zn("\\thinspace","\\,"),zn("\\>","\\mskip{4mu}"),zn("\\:","\\tmspace+{4mu}{.2222em}"),zn("\\medspace","\\:"),zn("\\;","\\tmspace+{5mu}{.2777em}"),zn("\\thickspace","\\;"),zn("\\!","\\tmspace-{3mu}{.1667em}"),zn("\\negthinspace","\\!"),zn("\\negmedspace","\\tmspace-{4mu}{.2222em}"),zn("\\negthickspace","\\tmspace-{5mu}{.277em}"),zn("\\enspace","\\kern.5em "),zn("\\enskip","\\hskip.5em\\relax"),zn("\\quad","\\hskip1em\\relax"),zn("\\qquad","\\hskip2em\\relax"),zn("\\tag","\\@ifstar\\tag@literal\\tag@paren"),zn("\\tag@paren","\\tag@literal{({#1})}"),zn("\\tag@literal",function(et){if(et.macros.get("\\df@tag"))throw new d("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),zn("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),zn("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),zn("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),zn("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),zn("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),zn("\\\\","\\newline"),zn("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var go=jt["Main-Regular"]["T".charCodeAt(0)][1]-.7*jt["Main-Regular"]["A".charCodeAt(0)][1]+"em";zn("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+go+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),zn("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+go+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),zn("\\hspace","\\@ifstar\\@hspacer\\@hspace"),zn("\\@hspace","\\hskip #1\\relax"),zn("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),zn("\\ordinarycolon",":"),zn("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),zn("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),zn("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),zn("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),zn("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),zn("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),zn("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),zn("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),zn("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),zn("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),zn("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),zn("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),zn("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),zn("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),zn("\u2237","\\dblcolon"),zn("\u2239","\\eqcolon"),zn("\u2254","\\coloneqq"),zn("\u2255","\\eqqcolon"),zn("\u2A74","\\Coloneqq"),zn("\\ratio","\\vcentcolon"),zn("\\coloncolon","\\dblcolon"),zn("\\colonequals","\\coloneqq"),zn("\\coloncolonequals","\\Coloneqq"),zn("\\equalscolon","\\eqqcolon"),zn("\\equalscoloncolon","\\Eqqcolon"),zn("\\colonminus","\\coloneq"),zn("\\coloncolonminus","\\Coloneq"),zn("\\minuscolon","\\eqcolon"),zn("\\minuscoloncolon","\\Eqcolon"),zn("\\coloncolonapprox","\\Colonapprox"),zn("\\coloncolonsim","\\Colonsim"),zn("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),zn("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),zn("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),zn("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),zn("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),zn("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),zn("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),zn("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),zn("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),zn("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),zn("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),zn("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),zn("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),zn("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),zn("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),zn("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),zn("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),zn("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),zn("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),zn("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),zn("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),zn("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),zn("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),zn("\u27E6","\\llbracket"),zn("\u27E7","\\rrbracket"),zn("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),zn("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),zn("\u2983","\\lBrace"),zn("\u2984","\\rBrace"),zn("\\darr","\\downarrow"),zn("\\dArr","\\Downarrow"),zn("\\Darr","\\Downarrow"),zn("\\lang","\\langle"),zn("\\rang","\\rangle"),zn("\\uarr","\\uparrow"),zn("\\uArr","\\Uparrow"),zn("\\Uarr","\\Uparrow"),zn("\\N","\\mathbb{N}"),zn("\\R","\\mathbb{R}"),zn("\\Z","\\mathbb{Z}"),zn("\\alef","\\aleph"),zn("\\alefsym","\\aleph"),zn("\\Alpha","\\mathrm{A}"),zn("\\Beta","\\mathrm{B}"),zn("\\bull","\\bullet"),zn("\\Chi","\\mathrm{X}"),zn("\\clubs","\\clubsuit"),zn("\\cnums","\\mathbb{C}"),zn("\\Complex","\\mathbb{C}"),zn("\\Dagger","\\ddagger"),zn("\\diamonds","\\diamondsuit"),zn("\\empty","\\emptyset"),zn("\\Epsilon","\\mathrm{E}"),zn("\\Eta","\\mathrm{H}"),zn("\\exist","\\exists"),zn("\\harr","\\leftrightarrow"),zn("\\hArr","\\Leftrightarrow"),zn("\\Harr","\\Leftrightarrow"),zn("\\hearts","\\heartsuit"),zn("\\image","\\Im"),zn("\\infin","\\infty"),zn("\\Iota","\\mathrm{I}"),zn("\\isin","\\in"),zn("\\Kappa","\\mathrm{K}"),zn("\\larr","\\leftarrow"),zn("\\lArr","\\Leftarrow"),zn("\\Larr","\\Leftarrow"),zn("\\lrarr","\\leftrightarrow"),zn("\\lrArr","\\Leftrightarrow"),zn("\\Lrarr","\\Leftrightarrow"),zn("\\Mu","\\mathrm{M}"),zn("\\natnums","\\mathbb{N}"),zn("\\Nu","\\mathrm{N}"),zn("\\Omicron","\\mathrm{O}"),zn("\\plusmn","\\pm"),zn("\\rarr","\\rightarrow"),zn("\\rArr","\\Rightarrow"),zn("\\Rarr","\\Rightarrow"),zn("\\real","\\Re"),zn("\\reals","\\mathbb{R}"),zn("\\Reals","\\mathbb{R}"),zn("\\Rho","\\mathrm{P}"),zn("\\sdot","\\cdot"),zn("\\sect","\\S"),zn("\\spades","\\spadesuit"),zn("\\sub","\\subset"),zn("\\sube","\\subseteq"),zn("\\supe","\\supseteq"),zn("\\Tau","\\mathrm{T}"),zn("\\thetasym","\\vartheta"),zn("\\weierp","\\wp"),zn("\\Zeta","\\mathrm{Z}"),zn("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),zn("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),zn("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),zn("\\blue","\\textcolor{##6495ed}{#1}"),zn("\\orange","\\textcolor{##ffa500}{#1}"),zn("\\pink","\\textcolor{##ff00af}{#1}"),zn("\\red","\\textcolor{##df0030}{#1}"),zn("\\green","\\textcolor{##28ae7b}{#1}"),zn("\\gray","\\textcolor{gray}{#1}"),zn("\\purple","\\textcolor{##9d38bd}{#1}"),zn("\\blueA","\\textcolor{##ccfaff}{#1}"),zn("\\blueB","\\textcolor{##80f6ff}{#1}"),zn("\\blueC","\\textcolor{##63d9ea}{#1}"),zn("\\blueD","\\textcolor{##11accd}{#1}"),zn("\\blueE","\\textcolor{##0c7f99}{#1}"),zn("\\tealA","\\textcolor{##94fff5}{#1}"),zn("\\tealB","\\textcolor{##26edd5}{#1}"),zn("\\tealC","\\textcolor{##01d1c1}{#1}"),zn("\\tealD","\\textcolor{##01a995}{#1}"),zn("\\tealE","\\textcolor{##208170}{#1}"),zn("\\greenA","\\textcolor{##b6ffb0}{#1}"),zn("\\greenB","\\textcolor{##8af281}{#1}"),zn("\\greenC","\\textcolor{##74cf70}{#1}"),zn("\\greenD","\\textcolor{##1fab54}{#1}"),zn("\\greenE","\\textcolor{##0d923f}{#1}"),zn("\\goldA","\\textcolor{##ffd0a9}{#1}"),zn("\\goldB","\\textcolor{##ffbb71}{#1}"),zn("\\goldC","\\textcolor{##ff9c39}{#1}"),zn("\\goldD","\\textcolor{##e07d10}{#1}"),zn("\\goldE","\\textcolor{##a75a05}{#1}"),zn("\\redA","\\textcolor{##fca9a9}{#1}"),zn("\\redB","\\textcolor{##ff8482}{#1}"),zn("\\redC","\\textcolor{##f9685d}{#1}"),zn("\\redD","\\textcolor{##e84d39}{#1}"),zn("\\redE","\\textcolor{##bc2612}{#1}"),zn("\\maroonA","\\textcolor{##ffbde0}{#1}"),zn("\\maroonB","\\textcolor{##ff92c6}{#1}"),zn("\\maroonC","\\textcolor{##ed5fa6}{#1}"),zn("\\maroonD","\\textcolor{##ca337c}{#1}"),zn("\\maroonE","\\textcolor{##9e034e}{#1}"),zn("\\purpleA","\\textcolor{##ddd7ff}{#1}"),zn("\\purpleB","\\textcolor{##c6b9fc}{#1}"),zn("\\purpleC","\\textcolor{##aa87ff}{#1}"),zn("\\purpleD","\\textcolor{##7854ab}{#1}"),zn("\\purpleE","\\textcolor{##543b78}{#1}"),zn("\\mintA","\\textcolor{##f5f9e8}{#1}"),zn("\\mintB","\\textcolor{##edf2df}{#1}"),zn("\\mintC","\\textcolor{##e0e5cc}{#1}"),zn("\\grayA","\\textcolor{##f6f7f7}{#1}"),zn("\\grayB","\\textcolor{##f0f1f2}{#1}"),zn("\\grayC","\\textcolor{##e3e5e6}{#1}"),zn("\\grayD","\\textcolor{##d6d8da}{#1}"),zn("\\grayE","\\textcolor{##babec2}{#1}"),zn("\\grayF","\\textcolor{##888d93}{#1}"),zn("\\grayG","\\textcolor{##626569}{#1}"),zn("\\grayH","\\textcolor{##3b3e40}{#1}"),zn("\\grayI","\\textcolor{##21242c}{#1}"),zn("\\kaBlue","\\textcolor{##314453}{#1}"),zn("\\kaGreen","\\textcolor{##71B307}{#1}");var Uo={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},rs=function(){function et(ee,ie,we){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=ie,this.expansionCount=0,this.feed(ee),this.macros=new es(_o,ie.macros),this.mode=we,this.stack=[]}var X=et.prototype;return X.feed=function(ie){this.lexer=new mo(ie,this.settings)},X.switchMode=function(ie){this.mode=ie},X.beginGroup=function(){this.macros.beginGroup()},X.endGroup=function(){this.macros.endGroup()},X.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},X.popToken=function(){return this.future(),this.stack.pop()},X.pushToken=function(ie){this.stack.push(ie)},X.pushTokens=function(ie){var we;(we=this.stack).push.apply(we,ie)},X.consumeSpaces=function(){for(;;){var ie=this.future();if(ie.text===" ")this.stack.pop();else break}},X.consumeArgs=function(ie){for(var we=[],Ge=0;Ge<ie;++Ge){this.consumeSpaces();var gt=this.popToken();if(gt.text==="{"){for(var fn=[],In=1;In!==0;){var Jn=this.popToken();if(fn.push(Jn),Jn.text==="{")++In;else if(Jn.text==="}")--In;else if(Jn.text==="EOF")throw new d("End of input in macro argument",gt)}fn.pop(),fn.reverse(),we[Ge]=fn}else{if(gt.text==="EOF")throw new d("End of input expecting macro argument");we[Ge]=[gt]}}return we},X.expandOnce=function(){var ie=this.popToken(),we=ie.text,Ge=this._getExpansion(we);if(Ge==null)return this.pushToken(ie),ie;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new d("Too many expansions: infinite loop or need to increase maxExpand setting");var gt=Ge.tokens;if(Ge.numArgs){var fn=this.consumeArgs(Ge.numArgs);gt=gt.slice();for(var In=gt.length-1;In>=0;--In){var Jn=gt[In];if(Jn.text==="#"){if(In===0)throw new d("Incomplete placeholder at end of macro body",Jn);if(Jn=gt[--In],Jn.text==="#")gt.splice(In+1,1);else if(/^[1-9]$/.test(Jn.text)){var Cr;(Cr=gt).splice.apply(Cr,[In,2].concat(fn[+Jn.text-1]))}else throw new d("Not a valid argument number",Jn)}}}return this.pushTokens(gt),gt},X.expandAfterFuture=function(){return this.expandOnce(),this.future()},X.expandNextToken=function(){for(;;){var ie=this.expandOnce();if(ie instanceof b)if(ie.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},X.expandMacro=function(ie){if(!this.macros.get(ie))return;var we=[],Ge=this.stack.length;for(this.pushToken(new b(ie));this.stack.length>Ge;){var gt=this.expandOnce();gt instanceof b&&we.push(this.stack.pop())}return we},X.expandMacroAsText=function(ie){var we=this.expandMacro(ie);return we&&we.map(function(Ge){return Ge.text}).join("")},X._getExpansion=function(ie){var we=this.macros.get(ie);if(we==null)return we;var Ge=typeof we=="function"?we(this):we;if(typeof Ge=="string"){var gt=0;if(Ge.indexOf("#")!==-1)for(var fn=Ge.replace(/##/g,"");fn.indexOf("#"+(gt+1))!==-1;)++gt;for(var In=new mo(Ge,this.settings),Jn=[],Cr=In.lex();Cr.text!=="EOF";)Jn.push(Cr),Cr=In.lex();Jn.reverse();var Hr={tokens:Jn,numArgs:gt};return Hr}return Ge},X.isDefined=function(ie){return this.macros.has(ie)||za.hasOwnProperty(ie)||vt.math.hasOwnProperty(ie)||vt.text.hasOwnProperty(ie)||Uo.hasOwnProperty(ie)},et}(),ys={"\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"}},ms={\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"},Os=function(){function et(ee,ie){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 rs(ee,ie,this.mode),this.settings=ie,this.leftrightDepth=0}var X=et.prototype;return X.expect=function(ie,we){if(we===void 0&&(we=!0),this.fetch().text!==ie)throw new d("Expected '"+ie+"', got '"+this.fetch().text+"'",this.fetch());we&&this.consume()},X.consume=function(){this.nextToken=null},X.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},X.switchMode=function(ie){this.mode=ie,this.gullet.switchMode(ie)},X.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var ie=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),ie},X.parseExpression=function(ie,we){for(var Ge=[];;){this.mode==="math"&&this.consumeSpaces();var gt=this.fetch();if(et.endOfExpression.indexOf(gt.text)!==-1)break;if(we&>.text===we)break;if(ie&&za[gt.text]&&za[gt.text].infix)break;var fn=this.parseAtom(we);if(!fn)break;Ge.push(fn)}return this.mode==="text"&&this.formLigatures(Ge),this.handleInfixNodes(Ge)},X.handleInfixNodes=function(ie){for(var we=-1,Ge,gt=0;gt<ie.length;gt++){var fn=Fn(ie[gt],"infix");if(fn){if(we!==-1)throw new d("only one infix operator per group",fn.token);we=gt,Ge=fn.replaceWith}}if(we!==-1&&Ge){var In,Jn,Cr=ie.slice(0,we),Hr=ie.slice(we+1);Cr.length===1&&Cr[0].type==="ordgroup"?In=Cr[0]:In={type:"ordgroup",mode:this.mode,body:Cr},Hr.length===1&&Hr[0].type==="ordgroup"?Jn=Hr[0]:Jn={type:"ordgroup",mode:this.mode,body:Hr};var si;return Ge==="\\\\abovefrac"?si=this.callFunction(Ge,[In,ie[we],Jn],[]):si=this.callFunction(Ge,[In,Jn],[]),[si]}else return ie},X.handleSupSubscript=function(ie){var we=this.fetch(),Ge=we.text;this.consume();var gt=this.parseGroup(ie,!1,et.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!gt)throw new d("Expected group after '"+Ge+"'",we);return gt},X.formatUnsupportedCmd=function(ie){for(var we=[],Ge=0;Ge<ie.length;Ge++)we.push({type:"textord",mode:"text",text:ie[Ge]});var gt={type:"text",mode:this.mode,body:we},fn={type:"color",mode:this.mode,color:this.settings.errorColor,body:[gt]};return fn},X.parseAtom=function(ie){var we=this.parseGroup("atom",!1,null,ie);if(this.mode==="text")return we;for(var Ge,gt;;){this.consumeSpaces();var fn=this.fetch();if(fn.text==="\\limits"||fn.text==="\\nolimits"){var In=Fn(we,"op");if(In){var Jn=fn.text==="\\limits";In.limits=Jn,In.alwaysHandleSupSub=!0}else if(In=Fn(we,"operatorname"),In&&In.alwaysHandleSupSub){var Cr=fn.text==="\\limits";In.limits=Cr}else throw new d("Limit controls must follow a math operator",fn);this.consume()}else if(fn.text==="^"){if(Ge)throw new d("Double superscript",fn);Ge=this.handleSupSubscript("superscript")}else if(fn.text==="_"){if(gt)throw new d("Double subscript",fn);gt=this.handleSupSubscript("subscript")}else if(fn.text==="'"){if(Ge)throw new d("Double superscript",fn);var Hr={type:"textord",mode:this.mode,text:"\\prime"},si=[Hr];for(this.consume();this.fetch().text==="'";)si.push(Hr),this.consume();this.fetch().text==="^"&&si.push(this.handleSupSubscript("superscript")),Ge={type:"ordgroup",mode:this.mode,body:si}}else break}return Ge||gt?{type:"supsub",mode:this.mode,base:we,sup:Ge,sub:gt}:we},X.parseFunction=function(ie,we,Ge){var gt=this.fetch(),fn=gt.text,In=za[fn];if(!In)return null;if(this.consume(),Ge!=null&&In.greediness<=Ge)throw new d("Got function '"+fn+"' with no arguments"+(we?" as "+we:""),gt);if(this.mode==="text"&&!In.allowedInText)throw new d("Can't use function '"+fn+"' in text mode",gt);if(this.mode==="math"&&In.allowedInMath===!1)throw new d("Can't use function '"+fn+"' in math mode",gt);var Jn=this.parseArguments(fn,In),Cr=Jn.args,Hr=Jn.optArgs;return this.callFunction(fn,Cr,Hr,gt,ie)},X.callFunction=function(ie,we,Ge,gt,fn){var In={funcName:ie,parser:this,token:gt,breakOnTokenText:fn},Jn=za[ie];if(Jn&&Jn.handler)return Jn.handler(In,we,Ge);throw new d("No function handler for "+ie)},X.parseArguments=function(ie,we){var Ge=we.numArgs+we.numOptionalArgs;if(Ge===0)return{args:[],optArgs:[]};for(var gt=we.greediness,fn=[],In=[],Jn=0;Jn<Ge;Jn++){var Cr=we.argTypes&&we.argTypes[Jn],Hr=Jn<we.numOptionalArgs,si=Jn>0&&!Hr||Jn===0&&!Hr&&this.mode==="math",xi=this.parseGroupOfType("argument to '"+ie+"'",Cr,Hr,gt,si);if(!xi){if(Hr){In.push(null);continue}throw new d("Expected group after '"+ie+"'",this.fetch())}(Hr?In:fn).push(xi)}return{args:fn,optArgs:In}},X.parseGroupOfType=function(ie,we,Ge,gt,fn){switch(we){case"color":return fn&&this.consumeSpaces(),this.parseColorGroup(Ge);case"size":return fn&&this.consumeSpaces(),this.parseSizeGroup(Ge);case"url":return this.parseUrlGroup(Ge,fn);case"math":case"text":return this.parseGroup(ie,Ge,gt,void 0,we,fn);case"hbox":{var In=this.parseGroup(ie,Ge,gt,void 0,"text",fn);if(!In)return In;var Jn={type:"styling",mode:In.mode,body:[In],style:"text"};return Jn}case"raw":{if(fn&&this.consumeSpaces(),Ge&&this.fetch().text==="{")return null;var Cr=this.parseStringGroup("raw",Ge,!0);if(Cr)return{type:"raw",mode:"text",string:Cr.text};throw new d("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(ie,Ge,gt,void 0,void 0,fn);default:throw new d("Unknown group type as "+ie,this.fetch())}},X.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},X.parseStringGroup=function(ie,we,Ge){var gt=we?"[":"{",fn=we?"]":"}",In=this.fetch();if(In.text!==gt){if(we)return null;if(Ge&&In.text!=="EOF"&&/[^{}[\]]/.test(In.text))return this.consume(),In}var Jn=this.mode;this.mode="text",this.expect(gt);for(var Cr="",Hr=this.fetch(),si=0,xi=Hr,Bi;(Bi=this.fetch()).text!==fn||Ge&&si>0;){switch(Bi.text){case"EOF":throw new d("Unexpected end of input in "+ie,Hr.range(xi,Cr));case gt:si++;break;case fn:si--;break}xi=Bi,Cr+=xi.text,this.consume()}return this.expect(fn),this.mode=Jn,Hr.range(xi,Cr)},X.parseRegexGroup=function(ie,we){var Ge=this.mode;this.mode="text";for(var gt=this.fetch(),fn=gt,In="",Jn;(Jn=this.fetch()).text!=="EOF"&&ie.test(In+Jn.text);)fn=Jn,In+=fn.text,this.consume();if(In==="")throw new d("Invalid "+we+": '"+gt.text+"'",gt);return this.mode=Ge,gt.range(fn,In)},X.parseColorGroup=function(ie){var we=this.parseStringGroup("color",ie);if(!we)return null;var Ge=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(we.text);if(!Ge)throw new d("Invalid color: '"+we.text+"'",we);var gt=Ge[0];return/^[0-9a-f]{6}$/i.test(gt)&&(gt="#"+gt),{type:"color-token",mode:this.mode,color:gt}},X.parseSizeGroup=function(ie){var we,Ge=!1;if(!ie&&this.fetch().text!=="{"?we=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):we=this.parseStringGroup("size",ie),!we)return null;!ie&&we.text.length===0&&(we.text="0pt",Ge=!0);var gt=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(we.text);if(!gt)throw new d("Invalid size: '"+we.text+"'",we);var fn={number:+(gt[1]+gt[2]),unit:gt[3]};if(!sn(fn))throw new d("Invalid unit: '"+fn.unit+"'",we);return{type:"size",mode:this.mode,value:fn,isBlank:Ge}},X.parseUrlGroup=function(ie,we){this.gullet.lexer.setCatcode("%",13);var Ge=this.parseStringGroup("url",ie,!0);if(this.gullet.lexer.setCatcode("%",14),!Ge)return null;var gt=Ge.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:gt}},X.parseGroup=function(ie,we,Ge,gt,fn,In){var Jn=this.mode;fn&&this.switchMode(fn),In&&this.consumeSpaces();var Cr=this.fetch(),Hr=Cr.text,si;if(we?Hr==="[":Hr==="{"||Hr==="\\begingroup"){this.consume();var xi=et.endOfGroup[Hr];this.gullet.beginGroup();var Bi=this.parseExpression(!1,xi),sa=this.fetch();this.expect(xi),this.gullet.endGroup(),si={type:"ordgroup",mode:this.mode,loc:A.range(Cr,sa),body:Bi,semisimple:Hr==="\\begingroup"||void 0}}else if(we)si=null;else if(si=this.parseFunction(gt,ie,Ge)||this.parseSymbol(),si==null&&Hr[0]==="\\"&&!Uo.hasOwnProperty(Hr)){if(this.settings.throwOnError)throw new d("Undefined control sequence: "+Hr,Cr);si=this.formatUnsupportedCmd(Hr),this.consume()}return fn&&this.switchMode(Jn),si},X.formLigatures=function(ie){for(var we=ie.length-1,Ge=0;Ge<we;++Ge){var gt=ie[Ge],fn=gt.text;fn==="-"&&ie[Ge+1].text==="-"&&(Ge+1<we&&ie[Ge+2].text==="-"?(ie.splice(Ge,3,{type:"textord",mode:"text",loc:A.range(gt,ie[Ge+2]),text:"---"}),we-=2):(ie.splice(Ge,2,{type:"textord",mode:"text",loc:A.range(gt,ie[Ge+1]),text:"--"}),we-=1)),(fn==="'"||fn==="`")&&ie[Ge+1].text===fn&&(ie.splice(Ge,2,{type:"textord",mode:"text",loc:A.range(gt,ie[Ge+1]),text:fn+fn}),we-=1)}},X.parseSymbol=function(){var ie=this.fetch(),we=ie.text;if(/^\\verb[^a-zA-Z]/.test(we)){this.consume();var Ge=we.slice(5),gt=Ge.charAt(0)==="*";if(gt&&(Ge=Ge.slice(1)),Ge.length<2||Ge.charAt(0)!==Ge.slice(-1))throw new d(`\\verb assertion failed --
|
|
|
please report what input caused this bug`);return Ge=Ge.slice(1,-1),{type:"verb",mode:"text",body:Ge,star:gt}}ms.hasOwnProperty(we[0])&&!vt[this.mode][we[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+we[0]+'" used in math mode',ie),we=ms[we[0]]+we.substr(1));var fn=Ts.exec(we);fn&&(we=we.substring(0,fn.index),we==="i"?we="\u0131":we==="j"&&(we="\u0237"));var In;if(vt[this.mode][we]){this.settings.strict&&this.mode==="math"&&_t.indexOf(we)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+we[0]+'" used in math mode',ie);var Jn=vt[this.mode][we].group,Cr=A.range(ie),Hr;if(Qt.hasOwnProperty(Jn)){var si=Jn;Hr={type:"atom",mode:this.mode,family:si,loc:Cr,text:we}}else Hr={type:Jn,mode:this.mode,loc:Cr,text:we};In=Hr}else if(we.charCodeAt(0)>=128)this.settings.strict&&(G(we.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+we[0]+'" used in math mode',ie):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+we[0]+'"'+(" ("+we.charCodeAt(0)+")"),ie)),In={type:"textord",mode:"text",loc:A.range(ie),text:we};else return null;if(this.consume(),fn)for(var xi=0;xi<fn[0].length;xi++){var Bi=fn[0][xi];if(!ys[Bi])throw new d("Unknown accent ' "+Bi+"'",ie);var sa=ys[Bi][this.mode];if(!sa)throw new d("Accent "+Bi+" unsupported in "+this.mode+" mode",ie);In={type:"accent",mode:this.mode,loc:A.range(ie),label:sa,isStretchy:!1,isShifty:!0,base:In}}return In},et}();Os.endOfExpression=["}","\\endgroup","\\end","\\right","&"],Os.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},Os.SUPSUB_GREEDINESS=1;var al=function(X,ee){if(!(typeof X=="string"||X instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var ie=new Os(X,ee);delete ie.gullet.macros.current["\\df@tag"];var we=ie.parse();if(ie.gullet.macros.get("\\df@tag")){if(!ee.displayMode)throw new d("\\tag works only in display equations");ie.gullet.feed("\\df@tag"),we=[{type:"tag",mode:"text",body:we,tag:ie.parse()}]}return we},Ns=al,Ys=function(X,ee,ie){ee.textContent="";var we=ut(X,ie).toNode();ee.appendChild(we)};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."),Ys=function(){throw new d("KaTeX doesn't work in quirks mode.")}));var _s=function(X,ee){var ie=ut(X,ee).toMarkup();return ie},As=function(X,ee){var ie=new w(ee);return Ns(X,ie)},Ds=function(X,ee,ie){if(ie.throwOnError||!(X instanceof d))throw X;var we=Xt.makeSpan(["katex-error"],[new ht(ee)]);return we.setAttribute("title",X.toString()),we.setAttribute("style","color:"+ie.errorColor),we},ut=function(X,ee){var ie=new w(ee);try{var we=Ns(X,ie);return Re(we,X,ie)}catch(Ge){return Ds(Ge,X,ie)}},bt=function(X,ee){var ie=new w(ee);try{var we=Ns(X,ie);return At(we,X,ie)}catch(Ge){return Ds(Ge,X,ie)}},tr={version:"0.11.1",render:Ys,renderToString:_s,ParseError:d,__parse:As,__renderToDomTree:ut,__renderToHTMLTree:bt,__setFontMetrics:mt,__defineSymbol:de,__defineMacro:zn,__domTree:{Span:Dt,Anchor:ct,SymbolNode:ht,SvgNode:je,PathNode:Me,LineNode:Ne}},Tr=L.default=tr}]).default})},P2fV:function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("Q9mQ"),v=e("+L6B"),A=e("sE09"),b=e.n(A)},P47w:function(te,U,e){var y=e("hydK"),L=y.createElement,g=e("IMiH"),v=e("mFDi"),A=e("Fofx"),b=e("6GrX"),m=e("pzxd"),d=e("dqUG"),r=g.CMD,a=Array.prototype.join,s="none",i=Math.round,n=Math.sin,l=Math.cos,t=Math.PI,u=Math.PI*2,o=180/t,c=1e-4;function h(Y){return i(Y*1e4)/1e4}function f(Y){return Y<c&&Y>-c}function w(Y,_){var G=_?Y.textFill:Y.fill;return G!=null&&G!==s}function x(Y,_){var G=_?Y.textStroke:Y.stroke;return G!=null&&G!==s}function I(Y,_){_&&C(Y,"transform","matrix("+a.call(_,",")+")")}function C(Y,_,G){(!G||G.type!=="linear"&&G.type!=="radial")&&Y.setAttribute(_,G)}function N(Y,_,G){Y.setAttributeNS("http://www.w3.org/1999/xlink",_,G)}function S(Y,_,G,J){if(w(_,G)){var ue=G?_.textFill:_.fill;ue=ue==="transparent"?s:ue,C(Y,"fill",ue),C(Y,"fill-opacity",_.fillOpacity!=null?_.fillOpacity*_.opacity:_.opacity)}else C(Y,"fill",s);if(x(_,G)){var q=G?_.textStroke:_.stroke;q=q==="transparent"?s:q,C(Y,"stroke",q);var re=G?_.textStrokeWidth:_.lineWidth,me=!G&&_.strokeNoScale?J.getLineScale():1;C(Y,"stroke-width",re/me),C(Y,"paint-order",G?"stroke":"fill"),C(Y,"stroke-opacity",_.strokeOpacity!=null?_.strokeOpacity:_.opacity);var be=_.lineDash;be?(C(Y,"stroke-dasharray",_.lineDash.join(",")),C(Y,"stroke-dashoffset",i(_.lineDashOffset||0))):C(Y,"stroke-dasharray",""),_.lineCap&&C(Y,"stroke-linecap",_.lineCap),_.lineJoin&&C(Y,"stroke-linejoin",_.lineJoin),_.miterLimit&&C(Y,"stroke-miterlimit",_.miterLimit)}else C(Y,"stroke",s)}function E(Y){for(var _=[],G=Y.data,J=Y.len(),ue=0;ue<J;){var q=G[ue++],re="",me=0;switch(q){case r.M:re="M",me=2;break;case r.L:re="L",me=2;break;case r.Q:re="Q",me=4;break;case r.C:re="C",me=6;break;case r.A:var be=G[ue++],ke=G[ue++],ce=G[ue++],Ee=G[ue++],pe=G[ue++],Se=G[ue++],st=G[ue++],qe=G[ue++],tt=Math.abs(Se),Dt=f(tt-u)||(qe?Se>=u:-Se>=u),ct=Se>0?Se%u:Se%u+u,St=!1;Dt?St=!0:f(tt)?St=!1:St=ct>=t===!!qe;var rt=h(be+ce*l(pe)),ht=h(ke+Ee*n(pe));Dt&&(qe?Se=u-1e-4:Se=-u+1e-4,St=!0,ue===9&&_.push("M",rt,ht));var je=h(be+ce*l(pe+Se)),Me=h(ke+Ee*n(pe+Se));_.push("A",h(ce),h(Ee),i(st*o),+St,+qe,je,Me);break;case r.Z:re="Z";break;case r.R:var je=h(G[ue++]),Me=h(G[ue++]),Ne=h(G[ue++]),it=h(G[ue++]);_.push("M",je,Me,"L",je+Ne,Me,"L",je+Ne,Me+it,"L",je,Me+it,"L",je,Me);break}re&&_.push(re);for(var wt=0;wt<me;wt++)_.push(h(G[ue++]))}return _.join(" ")}var T={};T.brush=function(Y){var _=Y.style,G=Y.__svgEl;G||(G=L("path"),Y.__svgEl=G),Y.path||Y.createPathProxy();var J=Y.path;if(Y.__dirtyPath){J.beginPath(),J.subPixelOptimize=!1,Y.buildPath(J,Y.shape),Y.__dirtyPath=!1;var ue=E(J);ue.indexOf("NaN")<0&&C(G,"d",ue)}S(G,_,!1,Y),I(G,Y.transform),_.text!=null?j(Y,Y.getBoundingRect()):z(Y)};var D={};D.brush=function(Y){var _=Y.style,G=_.image;if(G instanceof HTMLImageElement){var J=G.src;G=J}if(!G)return;var ue=_.x||0,q=_.y||0,re=_.width,me=_.height,be=Y.__svgEl;be||(be=L("image"),Y.__svgEl=be),G!==Y.__imageSrc&&(N(be,"href",G),Y.__imageSrc=G),C(be,"width",re),C(be,"height",me),C(be,"x",ue),C(be,"y",q),I(be,Y.transform),_.text!=null?j(Y,Y.getBoundingRect()):z(Y)};var B={},R=new v,F={},M=[],K={left:"start",right:"end",center:"middle",middle:"middle"},j=function(_,G){var J=_.style,ue=_.transform,q=_ instanceof d||J.transformText;_.__dirty&&m.normalizeTextStyle(J,!0);var re=J.text;if(re!=null&&(re+=""),!m.needDrawText(re,J))return;re==null&&(re=""),!q&&ue&&(R.copy(G),R.applyTransform(ue),G=R);var me=_.__textSvgEl;me||(me=L("text"),_.__textSvgEl=me);var be=me.style,ke=J.font||b.DEFAULT_FONT,ce=me.__computedFont;ke!==me.__styleFont&&(be.font=me.__styleFont=ke,ce=me.__computedFont=be.font);var Ee=J.textPadding,pe=J.textLineHeight,Se=_.__textCotentBlock;(!Se||_.__dirtyText)&&(Se=_.__textCotentBlock=b.parsePlainText(re,ce,Ee,pe,J.truncate));var st=Se.outerHeight,qe=Se.lineHeight;m.getBoxPosition(F,_,J,G);var tt=F.baseX,Dt=F.baseY,ct=F.textAlign||"left",St=F.textVerticalAlign;H(me,q,ue,J,G,tt,Dt);var rt=b.adjustTextY(Dt,st,St),ht=tt,je=rt;Ee&&(ht=k(tt,ct,Ee),je+=Ee[0]),je+=qe/2,S(me,J,!0,_);var Me=Se.canCacheByTextString,Ne=_.__tspanList||(_.__tspanList=[]),it=Ne.length;if(Me&&_.__canCacheByTextString&&_.__text===re){if(_.__dirtyText&&it)for(var wt=0;wt<it;++wt)P(Ne[wt],ct,ht,je+wt*qe)}else{_.__text=re,_.__canCacheByTextString=Me;for(var jt=Se.lines,lt=jt.length,wt=0;wt<lt;wt++){var Te=Ne[wt],mt=jt[wt];Te?Te.__zrText!==mt&&(Te.innerHTML="",Te.appendChild(document.createTextNode(mt))):(Te=Ne[wt]=L("tspan"),me.appendChild(Te),Te.appendChild(document.createTextNode(mt))),P(Te,ct,ht,je+wt*qe)}if(it>lt){for(;wt<it;wt++)me.removeChild(Ne[wt]);Ne.length=lt}}};function H(Y,_,G,J,ue,q,re){A.identity(M),_&&G&&A.copy(M,G);var me=J.textRotation;if(ue&&me){var be=J.textOrigin;be==="center"?(q=ue.width/2+ue.x,re=ue.height/2+ue.y):be&&(q=be[0]+ue.x,re=be[1]+ue.y),M[4]-=q,M[5]-=re,A.rotate(M,M,me),M[4]+=q,M[5]+=re}I(Y,M)}function k(Y,_,G){return _==="right"?Y-G[1]:_==="center"?Y+G[3]/2-G[1]/2:Y+G[3]}function P(Y,_,G,J){C(Y,"dominant-baseline","middle"),C(Y,"text-anchor",K[_]),C(Y,"x",G),C(Y,"y",J)}function z(Y){Y&&Y.__textSvgEl&&(Y.__textSvgEl.parentNode&&Y.__textSvgEl.parentNode.removeChild(Y.__textSvgEl),Y.__textSvgEl=null,Y.__tspanList=[],Y.__text=null)}B.drawRectText=j,B.brush=function(Y){var _=Y.style;_.text!=null?j(Y,!1):z(Y)},U.path=T,U.image=D,U.text=B},P4Qj:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.removeSensor=U.getSensor=void 0;var y=v(e("chpo")),L=e("FxDU"),g=e("24YM");function v(d){return d&&d.__esModule?d:{default:d}}var A={},b=function(r){var a=r.getAttribute(g.SizeSensorId);if(a&&A[a])return A[a];var s=(0,y.default)();r.setAttribute(g.SizeSensorId,s);var i=(0,L.createSensor)(r);return A[s]=i,i};U.getSensor=b;var m=function(r){var a=r.element.getAttribute(g.SizeSensorId);r.element.removeAttribute(g.SizeSensorId),r.destroy(),a&&A[a]&&delete A[a]};U.removeSensor=m},P5Jw:function(te,U,e){"use strict";var y=e("rHrb"),L=y.CopyToClipboard;L.CopyToClipboard=L,te.exports=L},PArb:function(te,U,e){"use strict";var y=e("pVnL"),L=e.n(y),g=e("lSNA"),v=e.n(g),A=e("q1tI"),b=e.n(A),m=e("TSYQ"),d=e.n(m),r=e("H84U"),a=function(i,n){var l={};for(var t in i)Object.prototype.hasOwnProperty.call(i,t)&&n.indexOf(t)<0&&(l[t]=i[t]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,t=Object.getOwnPropertySymbols(i);u<t.length;u++)n.indexOf(t[u])<0&&Object.prototype.propertyIsEnumerable.call(i,t[u])&&(l[t[u]]=i[t[u]]);return l},s=function(n){return A.createElement(r.a,null,function(l){var t,u=l.getPrefixCls,o=l.direction,c=n.prefixCls,h=n.type,f=h===void 0?"horizontal":h,w=n.orientation,x=w===void 0?"center":w,I=n.className,C=n.children,N=n.dashed,S=n.plain,E=a(n,["prefixCls","type","orientation","className","children","dashed","plain"]),T=u("divider",c),D=x.length>0?"-".concat(x):x,B=!!C,R=d()(I,T,"".concat(T,"-").concat(f),(t={},v()(t,"".concat(T,"-with-text"),B),v()(t,"".concat(T,"-with-text").concat(D),B),v()(t,"".concat(T,"-dashed"),!!N),v()(t,"".concat(T,"-plain"),!!S),v()(t,"".concat(T,"-rtl"),o==="rtl"),t));return A.createElement("div",L()({className:R},E,{role:"separator"}),C&&A.createElement("span",{className:"".concat(T,"-inner-text")},C))})};U.a=s},PD8m:function(te,U){te.exports={name:"memoryStorage",read:y,write:L,each:g,remove:v,clearAll:A};var e={};function y(b){return e[b]}function L(b,m){e[b]=m}function g(b){for(var m in e)e.hasOwnProperty(m)&&b(e[m],m)}function v(b){delete e[b]}function A(b){e={}}},PEeC:function(te,U,e){"use strict";e.d(U,"a",function(){return A}),e.d(U,"b",function(){return b});var y=e("RIqP"),L=e.n(y),g=e("xEkU"),v=e.n(g);function A(m){var d,r=function(i){return function(){d=null,m.apply(void 0,L()(i))}},a=function(){if(d==null){for(var i=arguments.length,n=new Array(i),l=0;l<i;l++)n[l]=arguments[l];d=v()(r(n))}};return a.cancel=function(){return v.a.cancel(d)},a}function b(){return function(m,d,r){var a=r.value,s=!1;return{configurable:!0,get:function(){if(s||this===m.prototype||this.hasOwnProperty(d))return a;var n=A(a.bind(this));return s=!0,Object.defineProperty(this,d,{value:n,configurable:!0,writable:!0}),s=!1,n}}}}},PKem:function(te,U,e){"use strict";e.d(U,"a",function(){return w});var y=e("RIqP"),L=e.n(y),g=e("lSNA"),v=e.n(g),A=e("pVnL"),b=e.n(A),m=e("lwsE"),d=e.n(m),r=e("W8MJ"),a=e.n(r),s=e("7W2i"),i=e.n(s),n=e("LQ03"),l=e.n(n),t=e("q1tI"),u=e.n(t),o=e("TSYQ"),c=e.n(o),h=e("H84U"),f=function(D,B){var R={};for(var F in D)Object.prototype.hasOwnProperty.call(D,F)&&B.indexOf(F)<0&&(R[F]=D[F]);if(D!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,F=Object.getOwnPropertySymbols(D);M<F.length;M++)B.indexOf(F[M])<0&&Object.prototype.propertyIsEnumerable.call(D,F[M])&&(R[F[M]]=D[F[M]]);return R},w=t.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function x(D){var B=D.suffixCls,R=D.tagName,F=D.displayName;return function(M){var K;return K=function(j){i()(k,j);var H=l()(k);function k(){var P;return d()(this,k),P=H.apply(this,arguments),P.renderComponent=function(z){var Y=z.getPrefixCls,_=P.props.prefixCls,G=Y(B,_);return t.createElement(M,b()({prefixCls:G,tagName:R},P.props))},P}return a()(k,[{key:"render",value:function(){return t.createElement(h.a,null,this.renderComponent)}}]),k}(t.Component),K.displayName=F,K}}var I=function(B){var R=B.prefixCls,F=B.className,M=B.children,K=B.tagName,j=f(B,["prefixCls","className","children","tagName"]),H=c()(R,F);return t.createElement(K,b()({className:H},j),M)},C=function(D){i()(R,D);var B=l()(R);function R(){var F;return d()(this,R),F=B.apply(this,arguments),F.state={siders:[]},F.renderComponent=function(M){var K,j=M.direction,H=F.props,k=H.prefixCls,P=H.className,z=H.children,Y=H.hasSider,_=H.tagName,G=f(H,["prefixCls","className","children","hasSider","tagName"]),J=c()(k,(K={},v()(K,"".concat(k,"-has-sider"),typeof Y=="boolean"?Y:F.state.siders.length>0),v()(K,"".concat(k,"-rtl"),j==="rtl"),K),P);return t.createElement(w.Provider,{value:{siderHook:F.getSiderHook()}},t.createElement(_,b()({className:J},G),z))},F}return a()(R,[{key:"getSiderHook",value:function(){var M=this;return{addSider:function(j){M.setState(function(H){return{siders:[].concat(L()(H.siders),[j])}})},removeSider:function(j){M.setState(function(H){return{siders:H.siders.filter(function(k){return k!==j})}})}}}},{key:"render",value:function(){return t.createElement(h.a,null,this.renderComponent)}}]),R}(t.Component),N=x({suffixCls:"layout",tagName:"section",displayName:"Layout"})(C),S=x({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(I),E=x({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(I),T=x({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(I);N.Header=S,N.Footer=E,N.Content=T,U.b=N},PNag:function(te,U,e){var y=e("bYtY"),L=e("SKnc"),g=e("YH21"),v=e("crZl"),A=e("IwbS"),b=e("OELB"),m=e("72pK"),d=e("y7Aq"),r=e("4NO4"),a=b.linearMap,s=y.each,i=Math.min,n=Math.max,l=12,t=6,u=v.extend({type:"visualMap.continuous",init:function(){u.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(C,N,S,E){(!E||E.type!=="selectDataRange"||E.from!==this.uid)&&this._buildView()},_buildView:function(){this.group.removeAll();var C=this.visualMapModel,N=this.group;this._orient=C.get("orient"),this._useHandle=C.get("calculable"),this._resetInterval(),this._renderBar(N);var S=C.get("text");this._renderEndsText(N,S,0),this._renderEndsText(N,S,1),this._updateView(!0),this.renderBackground(N),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(N)},_renderEndsText:function(C,N,S){if(!N)return;var E=N[1-S];E=E!=null?E+"":"";var T=this.visualMapModel,D=T.get("textGap"),B=T.itemSize,R=this._shapes.barGroup,F=this._applyTransform([B[0]/2,S===0?-D:B[1]+D],R),M=this._applyTransform(S===0?"bottom":"top",R),K=this._orient,j=this.visualMapModel.textStyleModel;this.group.add(new A.Text({style:{x:F[0],y:F[1],textVerticalAlign:K==="horizontal"?"middle":M,textAlign:K==="horizontal"?M:"center",text:E,textFont:j.getFont(),textFill:j.getTextColor()}}))},_renderBar:function(C){var N=this.visualMapModel,S=this._shapes,E=N.itemSize,T=this._orient,D=this._useHandle,B=d.getItemAlign(N,this.api,E),R=S.barGroup=this._createBarGroup(B);R.add(S.outOfRange=o()),R.add(S.inRange=o(null,D?x(this._orient):null,y.bind(this._dragHandle,this,"all",!1),y.bind(this._dragHandle,this,"all",!0)));var F=N.textStyleModel.getTextRect("\u56FD"),M=n(F.width,F.height);D&&(S.handleThumbs=[],S.handleLabels=[],S.handleLabelPoints=[],this._createHandle(R,0,E,M,T,B),this._createHandle(R,1,E,M,T,B)),this._createIndicator(R,E,M,T),C.add(R)},_createHandle:function(C,N,S,E,T){var D=y.bind(this._dragHandle,this,N,!1),B=y.bind(this._dragHandle,this,N,!0),R=o(c(N,E),x(this._orient),D,B);R.position[0]=S[0],C.add(R);var F=this.visualMapModel.textStyleModel,M=new A.Text({draggable:!0,drift:D,onmousemove:function(H){g.stop(H.event)},ondragend:B,style:{x:0,y:0,text:"",textFont:F.getFont(),textFill:F.getTextColor()}});this.group.add(M);var K=[T==="horizontal"?E/2:E*1.5,T==="horizontal"?N===0?-(E*1.5):E*1.5:N===0?-E/2:E/2],j=this._shapes;j.handleThumbs[N]=R,j.handleLabelPoints[N]=K,j.handleLabels[N]=M},_createIndicator:function(C,N,S,E){var T=o([[0,0]],"move");T.position[0]=N[0],T.attr({invisible:!0,silent:!0}),C.add(T);var D=this.visualMapModel.textStyleModel,B=new A.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:D.getFont(),textFill:D.getTextColor()}});this.group.add(B);var R=[E==="horizontal"?S/2:t+3,0],F=this._shapes;F.indicator=T,F.indicatorLabel=B,F.indicatorLabelPoint=R},_dragHandle:function(C,N,S,E){if(!this._useHandle)return;if(this._dragging=!N,!N){var T=this._applyTransform([S,E],this._shapes.barGroup,!0);this._updateInterval(C,T[1]),this._updateView()}N===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),N?!this._hovering&&this._clearHoverLinkToSeries():w(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[C],!1)},_resetInterval:function(){var C=this.visualMapModel,N=this._dataInterval=C.getSelected(),S=C.getExtent(),E=[0,C.itemSize[1]];this._handleEnds=[a(N[0],S,E,!0),a(N[1],S,E,!0)]},_updateInterval:function(C,N){N=N||0;var S=this.visualMapModel,E=this._handleEnds,T=[0,S.itemSize[1]];m(N,E,T,C,0);var D=S.getExtent();this._dataInterval=[a(E[0],T,D,!0),a(E[1],T,D,!0)]},_updateView:function(C){var N=this.visualMapModel,S=N.getExtent(),E=this._shapes,T=[0,N.itemSize[1]],D=C?T:this._handleEnds,B=this._createBarVisual(this._dataInterval,S,D,"inRange"),R=this._createBarVisual(S,S,T,"outOfRange");E.inRange.setStyle({fill:B.barColor,opacity:B.opacity}).setShape("points",B.barPoints),E.outOfRange.setStyle({fill:R.barColor,opacity:R.opacity}).setShape("points",R.barPoints),this._updateHandle(D,B)},_createBarVisual:function(C,N,S,E){var T={forceState:E,convertOpacityToAlpha:!0},D=this._makeColorGradient(C,T),B=[this.getControllerVisual(C[0],"symbolSize",T),this.getControllerVisual(C[1],"symbolSize",T)],R=this._createBarPoints(S,B);return{barColor:new L(0,0,0,1,D),barPoints:R,handlesColor:[D[0].color,D[D.length-1].color]}},_makeColorGradient:function(C,N){var S=100,E=[],T=(C[1]-C[0])/S;E.push({color:this.getControllerVisual(C[0],"color",N),offset:0});for(var D=1;D<S;D++){var B=C[0]+T*D;if(B>C[1])break;E.push({color:this.getControllerVisual(B,"color",N),offset:D/S})}return E.push({color:this.getControllerVisual(C[1],"color",N),offset:1}),E},_createBarPoints:function(C,N){var S=this.visualMapModel.itemSize;return[[S[0]-N[0],C[0]],[S[0],C[0]],[S[0],C[1]],[S[0]-N[1],C[1]]]},_createBarGroup:function(C){var N=this._orient,S=this.visualMapModel.get("inverse");return new A.Group(N==="horizontal"&&!S?{scale:C==="bottom"?[1,1]:[-1,1],rotation:Math.PI/2}:N==="horizontal"&&S?{scale:C==="bottom"?[-1,1]:[1,1],rotation:-Math.PI/2}:N==="vertical"&&!S?{scale:C==="left"?[1,-1]:[-1,-1]}:{scale:C==="left"?[1,1]:[-1,1]})},_updateHandle:function(C,N){if(!this._useHandle)return;var S=this._shapes,E=this.visualMapModel,T=S.handleThumbs,D=S.handleLabels;s([0,1],function(B){var R=T[B];R.setStyle("fill",N.handlesColor[B]),R.position[1]=C[B];var F=A.applyTransform(S.handleLabelPoints[B],A.getTransform(R,this.group));D[B].setStyle({x:F[0],y:F[1],text:E.formatValueText(this._dataInterval[B]),textVerticalAlign:"middle",textAlign:this._applyTransform(this._orient==="horizontal"?B===0?"bottom":"top":"left",S.barGroup)})},this)},_showIndicator:function(C,N,S,E){var T=this.visualMapModel,D=T.getExtent(),B=T.itemSize,R=[0,B[1]],F=a(C,D,R,!0),M=this._shapes,K=M.indicator;if(!K)return;K.position[1]=F,K.attr("invisible",!1),K.setShape("points",h(!!S,E,F,B[1]));var j={convertOpacityToAlpha:!0},H=this.getControllerVisual(C,"color",j);K.setStyle("fill",H);var k=A.applyTransform(M.indicatorLabelPoint,A.getTransform(K,this.group)),P=M.indicatorLabel;P.attr("invisible",!1);var z=this._applyTransform("left",M.barGroup),Y=this._orient;P.setStyle({text:(S||"")+T.formatValueText(N),textVerticalAlign:Y==="horizontal"?z:"middle",textAlign:Y==="horizontal"?"center":z,x:k[0],y:k[1]})},_enableHoverLinkToSeries:function(){var C=this;this._shapes.barGroup.on("mousemove",function(N){if(C._hovering=!0,!C._dragging){var S=C.visualMapModel.itemSize,E=C._applyTransform([N.offsetX,N.offsetY],C._shapes.barGroup,!0,!0);E[1]=i(n(0,E[1]),S[1]),C._doHoverLinkToSeries(E[1],0<=E[0]&&E[0]<=S[0])}}).on("mouseout",function(){C._hovering=!1,!C._dragging&&C._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var C=this.api.getZr();this.visualMapModel.option.hoverLink?(C.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),C.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(C,N){var S=this.visualMapModel,E=S.itemSize;if(!S.option.hoverLink)return;var T=[0,E[1]],D=S.getExtent();C=i(n(T[0],C),T[1]);var B=f(S,D,T),R=[C-B,C+B],F=a(C,T,D,!0),M=[a(R[0],T,D,!0),a(R[1],T,D,!0)];R[0]<T[0]&&(M[0]=-Infinity),R[1]>T[1]&&(M[1]=Infinity),N&&(M[0]===-Infinity?this._showIndicator(F,M[1],"< ",B):M[1]===Infinity?this._showIndicator(F,M[0],"> ",B):this._showIndicator(F,F,"\u2248 ",B));var K=this._hoverLinkDataIndices,j=[];(N||w(S))&&(j=this._hoverLinkDataIndices=S.findTargetDataIndices(M));var H=r.compressBatches(K,j);this._dispatchHighDown("downplay",d.makeHighDownBatch(H[0],S)),this._dispatchHighDown("highlight",d.makeHighDownBatch(H[1],S))},_hoverLinkFromSeriesMouseOver:function(C){var N=C.target,S=this.visualMapModel;if(!N||N.dataIndex==null)return;var E=this.ecModel.getSeriesByIndex(N.seriesIndex);if(!S.isTargetSeries(E))return;var T=E.getData(N.dataType),D=T.get(S.getDataDimension(T),N.dataIndex,!0);isNaN(D)||this._showIndicator(D,D)},_hideIndicator:function(){var C=this._shapes;C.indicator&&C.indicator.attr("invisible",!0),C.indicatorLabel&&C.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var C=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",d.makeHighDownBatch(C,this.visualMapModel)),C.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var C=this.api.getZr();C.off("mouseover",this._hoverLinkFromSeriesMouseOver),C.off("mouseout",this._hideIndicator)},_applyTransform:function(C,N,S,E){var T=A.getTransform(N,E?null:this.group);return A[y.isArray(C)?"applyTransform":"transformDirection"](C,T,S)},_dispatchHighDown:function(C,N){N&&N.length&&this.api.dispatchAction({type:C,batch:N})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function o(C,N,S,E){return new A.Polygon({shape:{points:C},draggable:!!S,cursor:N,drift:S,onmousemove:function(T){g.stop(T.event)},ondragend:E})}function c(C,N){return C===0?[[0,0],[N,0],[N,-N]]:[[0,0],[N,0],[N,N]]}function h(C,N,S,E){return C?[[0,-i(N,n(S,0))],[t,0],[0,i(N,n(E-S,0))]]:[[0,0],[5,-5],[5,5]]}function f(C,N,S){var E=l/2,T=C.get("hoverLinkDataSize");return T&&(E=a(T,N,S,!0)/2),E}function w(C){var N=C.get("hoverLinkOnHandle");return!!(N==null?C.get("realtime"):N)}function x(C){return C==="vertical"?"ns-resize":"ew-resize"}var I=u;te.exports=I},PQMj:function(te,U,e){},PSzr:function(te,U,e){"use strict";Object.defineProperty(U,"__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"};U.default=y},ProS:function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("aX58"),v=e("bYtY"),A=e("Qe9p"),b=e("ItGF"),m=e("BPZU"),d=e("H6uX"),r=e("fmMI"),a=e("hD7B"),s=e("IDmD"),i=e("ypgQ"),n=e("+wW9"),l=e("0V0F"),t=e("bLfw"),u=e("T4UG"),o=e("sS/r"),c=e("6Ic6"),h=e("IwbS"),f=e("4NO4"),w=e("iLNv"),x=w.throttle,I=e("/WM3"),C=e("uAnK"),N=e("mYwL"),S=e("af/B"),E=e("xTNl"),T=e("8hn6");e("A1Ka");var D=e("7DRL"),B=v.assert,R=v.each,F=v.isFunction,M=v.isObject,K=t.parseClassType,j="4.8.0",H={zrender:"4.3.1"},k=1,P=1e3,z=800,Y=900,_=5e3,G=1e3,J=1100,ue=2e3,q=3e3,re=3500,me=4e3,be=5e3,ke={PROCESSOR:{FILTER:P,SERIES_FILTER:z,STATISTIC:_},VISUAL:{LAYOUT:G,PROGRESSIVE_LAYOUT:J,GLOBAL:ue,CHART:q,POST_CHART_LAYOUT:re,COMPONENT:me,BRUSH:be}},ce="__flagInMainProcess",Ee="__optionUpdated",pe=/^[a-zA-Z0-9_]+$/;function Se(nt,Ot){return function(sn,Zt,Gt){if(!Ot&&this._disposed){Yt(this.id);return}sn=sn&&sn.toLowerCase(),d.prototype[nt].call(this,sn,Zt,Gt)}}function st(){d.call(this)}st.prototype.on=Se("on",!0),st.prototype.off=Se("off",!0),st.prototype.one=Se("one",!0),v.mixin(st,d);function qe(nt,Ot,sn){sn=sn||{},typeof Ot=="string"&&(Ot=Sn[Ot]),this.id,this.group,this._dom=nt;var Zt="canvas",Gt=this._zr=g.init(nt,{renderer:sn.renderer||Zt,devicePixelRatio:sn.devicePixelRatio,width:sn.width,height:sn.height});this._throttledZrFlush=x(v.bind(Gt.flush,Gt),17);var Ot=v.clone(Ot);Ot&&n(Ot,!0),this._theme=Ot,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new s;var Qn=this._api=vt(this);function Gn(Or,Nr){return Or.__prio-Nr.__prio}m(jn,Gn),m(We,Gn),this._scheduler=new S(this,Qn,We,jn),d.call(this,this._ecEventProcessor=new de),this._messageCenter=new st,this._initEvents(),this.resize=v.bind(this.resize,this),this._pendingActions=[],Gt.animation.on("frame",this._onframe,this),it(Gt,this),v.setAsPrimitive(this)}var tt=qe.prototype;tt._onframe=function(){if(this._disposed)return;var nt=this._scheduler;if(this[Ee]){var Ot=this[Ee].silent;this[ce]=!0,St(this),ct.update.call(this),this[ce]=!1,this[Ee]=!1,Me.call(this,Ot),Ne.call(this,Ot)}else if(nt.unfinished){var sn=k,Zt=this._model,Gt=this._api;nt.unfinished=!1;do{var Qn=+new Date;nt.performSeriesTasks(Zt),nt.performDataProcessorTasks(Zt),ht(this,Zt),nt.performVisualTasks(Zt),mt(this,this._model,Gt,"remain"),sn-=+new Date-Qn}while(sn>0&&nt.unfinished);nt.unfinished||this._zr.flush()}},tt.getDom=function(){return this._dom},tt.getZr=function(){return this._zr},tt.setOption=function(nt,Ot,sn){if(this._disposed){Yt(this.id);return}var Zt;if(M(Ot)&&(sn=Ot.lazyUpdate,Zt=Ot.silent,Ot=Ot.notMerge),this[ce]=!0,!this._model||Ot){var Gt=new i(this._api),Qn=this._theme,Gn=this._model=new r;Gn.scheduler=this._scheduler,Gn.init(null,null,Qn,Gt)}this._model.setOption(nt,Je),sn?(this[Ee]={silent:Zt},this[ce]=!1):(St(this),ct.update.call(this),this._zr.flush(),this[Ee]=!1,this[ce]=!1,Me.call(this,Zt),Ne.call(this,Zt))},tt.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},tt.getModel=function(){return this._model},tt.getOption=function(){return this._model&&this._model.getOption()},tt.getWidth=function(){return this._zr.getWidth()},tt.getHeight=function(){return this._zr.getHeight()},tt.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},tt.getRenderedCanvas=function(nt){if(!b.canvasSupported)return;nt=nt||{},nt.pixelRatio=nt.pixelRatio||1,nt.backgroundColor=nt.backgroundColor||this._model.get("backgroundColor");var Ot=this._zr;return Ot.painter.getRenderedCanvas(nt)},tt.getSvgDataURL=function(){if(!b.svgSupported)return;var nt=this._zr,Ot=nt.storage.getDisplayList();return v.each(Ot,function(sn){sn.stopAnimation(!0)}),nt.painter.toDataURL()},tt.getDataURL=function(nt){if(this._disposed){Yt(this.id);return}nt=nt||{};var Ot=nt.excludeComponents,sn=this._model,Zt=[],Gt=this;R(Ot,function(Gn){sn.eachComponent({mainType:Gn},function(Or){var Nr=Gt._componentsMap[Or.__viewId];Nr.group.ignore||(Zt.push(Nr),Nr.group.ignore=!0)})});var Qn=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.getRenderedCanvas(nt).toDataURL("image/"+(nt&&nt.type||"png"));return R(Zt,function(Gn){Gn.group.ignore=!1}),Qn},tt.getConnectedDataURL=function(nt){if(this._disposed){Yt(this.id);return}if(!b.canvasSupported)return;var Ot=nt.type==="svg",sn=this.group,Zt=Math.min,Gt=Math.max,Qn=Infinity;if(hr[sn]){var Gn=Qn,Or=Qn,Nr=-Qn,Kr=-Qn,ei=[],vi=nt&&nt.pixelRatio||1;v.each(rr,function(De,Le){if(De.group===sn){var Fe=Ot?De.getZr().painter.getSvgDom().innerHTML:De.getRenderedCanvas(v.clone(nt)),at=De.getDom().getBoundingClientRect();Gn=Zt(at.left,Gn),Or=Zt(at.top,Or),Nr=Gt(at.right,Nr),Kr=Gt(at.bottom,Kr),ei.push({dom:Fe,left:at.left,top:at.top})}}),Gn*=vi,Or*=vi,Nr*=vi,Kr*=vi;var Pi=Nr-Gn,Be=Kr-Or,le=v.createCanvas(),ye=g.init(le,{renderer:Ot?"svg":"canvas"});if(ye.resize({width:Pi,height:Be}),Ot){var xe="";return R(ei,function(De){var Le=De.left-Gn,Fe=De.top-Or;xe+='<g transform="translate('+Le+","+Fe+')">'+De.dom+"</g>"}),ye.painter.getSvgRoot().innerHTML=xe,nt.connectedBackgroundColor&&ye.painter.setBackgroundColor(nt.connectedBackgroundColor),ye.refreshImmediately(),ye.painter.toDataURL()}else return nt.connectedBackgroundColor&&ye.add(new h.Rect({shape:{x:0,y:0,width:Pi,height:Be},style:{fill:nt.connectedBackgroundColor}})),R(ei,function(De){var Le=new h.Image({style:{x:De.left*vi-Gn,y:De.top*vi-Or,image:De.dom}});ye.add(Le)}),ye.refreshImmediately(),le.toDataURL("image/"+(nt&&nt.type||"png"))}else return this.getDataURL(nt)},tt.convertToPixel=v.curry(Dt,"convertToPixel"),tt.convertFromPixel=v.curry(Dt,"convertFromPixel");function Dt(nt,Ot,sn){if(this._disposed){Yt(this.id);return}var Zt=this._model,Gt=this._coordSysMgr.getCoordinateSystems(),Qn;Ot=f.parseFinder(Zt,Ot);for(var Gn=0;Gn<Gt.length;Gn++){var Or=Gt[Gn];if(Or[nt]&&(Qn=Or[nt](Zt,Ot,sn))!=null)return Qn}}tt.containPixel=function(nt,Ot){if(this._disposed){Yt(this.id);return}var sn=this._model,Zt;return nt=f.parseFinder(sn,nt),v.each(nt,function(Gt,Qn){Qn.indexOf("Models")>=0&&v.each(Gt,function(Gn){var Or=Gn.coordinateSystem;if(Or&&Or.containPoint)Zt|=!!Or.containPoint(Ot);else if(Qn==="seriesModels"){var Nr=this._chartsMap[Gn.__viewId];Nr&&Nr.containPoint&&(Zt|=Nr.containPoint(Ot,Gn))}},this)},this),!!Zt},tt.getVisual=function(nt,Ot){var sn=this._model;nt=f.parseFinder(sn,nt,{defaultMainType:"series"});var Zt=nt.seriesModel,Gt=Zt.getData(),Qn=nt.hasOwnProperty("dataIndexInside")?nt.dataIndexInside:nt.hasOwnProperty("dataIndex")?Gt.indexOfRawIndex(nt.dataIndex):null;return Qn!=null?Gt.getItemVisual(Qn,Ot):Gt.getVisual(Ot)},tt.getViewOfComponentModel=function(nt){return this._componentsMap[nt.__viewId]},tt.getViewOfSeriesModel=function(nt){return this._chartsMap[nt.__viewId]};var ct={prepareAndUpdate:function(nt){St(this),ct.update.call(this,nt)},update:function(nt){var Ot=this._model,sn=this._api,Zt=this._zr,Gt=this._coordSysMgr,Qn=this._scheduler;if(!Ot)return;Qn.restoreData(Ot,nt),Qn.performSeriesTasks(Ot),Gt.create(Ot,sn),Qn.performDataProcessorTasks(Ot,nt),ht(this,Ot),Gt.update(Ot,sn),jt(Ot),Qn.performVisualTasks(Ot,nt),lt(this,Ot,sn,nt);var Gn=Ot.get("backgroundColor")||"transparent";if(b.canvasSupported)Zt.setBackgroundColor(Gn);else{var Or=A.parse(Gn);Gn=A.stringify(Or,"rgb"),Or[3]===0&&(Gn="transparent")}tn(Ot,sn)},updateTransform:function(nt){var Ot=this._model,sn=this,Zt=this._api;if(!Ot)return;var Gt=[];Ot.eachComponent(function(Gn,Or){var Nr=sn.getViewOfComponentModel(Or);if(Nr&&Nr.__alive)if(Nr.updateTransform){var Kr=Nr.updateTransform(Or,Ot,Zt,nt);Kr&&Kr.update&&Gt.push(Nr)}else Gt.push(Nr)});var Qn=v.createHashMap();Ot.eachSeries(function(Gn){var Or=sn._chartsMap[Gn.__viewId];if(Or.updateTransform){var Nr=Or.updateTransform(Gn,Ot,Zt,nt);Nr&&Nr.update&&Qn.set(Gn.uid,1)}else Qn.set(Gn.uid,1)}),jt(Ot),this._scheduler.performVisualTasks(Ot,nt,{setDirty:!0,dirtyMap:Qn}),mt(sn,Ot,Zt,nt,Qn),tn(Ot,this._api)},updateView:function(nt){var Ot=this._model;if(!Ot)return;c.markUpdateMethod(nt,"updateView"),jt(Ot),this._scheduler.performVisualTasks(Ot,nt,{setDirty:!0}),lt(this,this._model,this._api,nt),tn(Ot,this._api)},updateVisual:function(nt){ct.update.call(this,nt)},updateLayout:function(nt){ct.update.call(this,nt)}};function St(nt){var Ot=nt._model,sn=nt._scheduler;sn.restorePipelines(Ot),sn.prepareStageTasks(),wt(nt,"component",Ot,sn),wt(nt,"chart",Ot,sn),sn.plan()}function rt(nt,Ot,sn,Zt,Gt){var Qn=nt._model;if(!Zt){R(nt._componentsViews.concat(nt._chartsViews),Kr);return}var Gn={};Gn[Zt+"Id"]=sn[Zt+"Id"],Gn[Zt+"Index"]=sn[Zt+"Index"],Gn[Zt+"Name"]=sn[Zt+"Name"];var Or={mainType:Zt,query:Gn};Gt&&(Or.subType=Gt);var Nr=sn.excludeSeriesId;Nr!=null&&(Nr=v.createHashMap(f.normalizeToArray(Nr))),Qn&&Qn.eachComponent(Or,function(ei){(!Nr||Nr.get(ei.id)==null)&&Kr(nt[Zt==="series"?"_chartsMap":"_componentsMap"][ei.__viewId])},nt);function Kr(ei){ei&&ei.__alive&&ei[Ot]&&ei[Ot](ei.__model,Qn,nt._api,sn)}}tt.resize=function(nt){if(this._disposed){Yt(this.id);return}this._zr.resize(nt);var Ot=this._model;if(this._loadingFX&&this._loadingFX.resize(),!Ot)return;var sn=Ot.resetOption("media"),Zt=nt&&nt.silent;this[ce]=!0,sn&&St(this),ct.update.call(this),this[ce]=!1,Me.call(this,Zt),Ne.call(this,Zt)};function ht(nt,Ot){var sn=nt._chartsMap,Zt=nt._scheduler;Ot.eachSeries(function(Gt){Zt.updateStreamModes(Gt,sn[Gt.__viewId])})}tt.showLoading=function(nt,Ot){if(this._disposed){Yt(this.id);return}if(M(nt)&&(Ot=nt,nt=""),nt=nt||"default",this.hideLoading(),!Xn[nt])return;var sn=Xn[nt](this._api,Ot),Zt=this._zr;this._loadingFX=sn,Zt.add(sn)},tt.hideLoading=function(){if(this._disposed){Yt(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},tt.makeActionFromEvent=function(nt){var Ot=v.extend({},nt);return Ot.type=Pt[nt.type],Ot},tt.dispatchAction=function(nt,Ot){if(this._disposed){Yt(this.id);return}if(M(Ot)||(Ot={silent:!!Ot}),!he[nt.type])return;if(!this._model)return;if(this[ce]){this._pendingActions.push(nt);return}je.call(this,nt,Ot.silent),Ot.flush?this._zr.flush(!0):Ot.flush!==!1&&b.browser.weChat&&this._throttledZrFlush(),Me.call(this,Ot.silent),Ne.call(this,Ot.silent)};function je(nt,Ot){var sn=nt.type,Zt=nt.escapeConnect,Gt=he[sn],Qn=Gt.actionInfo,Gn=(Qn.update||"update").split(":"),Or=Gn.pop();Gn=Gn[0]!=null&&K(Gn[0]),this[ce]=!0;var Nr=[nt],Kr=!1;nt.batch&&(Kr=!0,Nr=v.map(nt.batch,function(Be){return Be=v.defaults(v.extend({},Be),nt),Be.batch=null,Be}));var ei=[],vi,Pi=sn==="highlight"||sn==="downplay";R(Nr,function(Be){vi=Gt.action(Be,this._model,this._api),vi=vi||v.extend({},Be),vi.type=Qn.event||vi.type,ei.push(vi),Pi?rt(this,Or,Be,"series"):Gn&&rt(this,Or,Be,Gn.main,Gn.sub)},this),Or!=="none"&&!Pi&&!Gn&&(this[Ee]?(St(this),ct.update.call(this,nt),this[Ee]=!1):ct[Or].call(this,nt)),Kr?vi={type:Qn.event||sn,escapeConnect:Zt,batch:ei}:vi=ei[0],this[ce]=!1,!Ot&&this._messageCenter.trigger(vi.type,vi)}function Me(nt){for(var Ot=this._pendingActions;Ot.length;){var sn=Ot.shift();je.call(this,sn,nt)}}function Ne(nt){!nt&&this.trigger("updated")}function it(nt,Ot){nt.on("rendered",function(){Ot.trigger("rendered"),nt.animation.isFinished()&&!Ot[Ee]&&!Ot._scheduler.unfinished&&!Ot._pendingActions.length&&Ot.trigger("finished")})}tt.appendData=function(nt){if(this._disposed){Yt(this.id);return}var Ot=nt.seriesIndex,sn=this.getModel(),Zt=sn.getSeriesByIndex(Ot);Zt.appendData(nt),this._scheduler.unfinished=!0},tt.on=Se("on",!1),tt.off=Se("off",!1),tt.one=Se("one",!1);function wt(nt,Ot,sn,Zt){for(var Gt=Ot==="component",Qn=Gt?nt._componentsViews:nt._chartsViews,Gn=Gt?nt._componentsMap:nt._chartsMap,Or=nt._zr,Nr=nt._api,Kr=0;Kr<Qn.length;Kr++)Qn[Kr].__alive=!1;Gt?sn.eachComponent(function(Pi,Be){Pi!=="series"&&ei(Be)}):sn.eachSeries(ei);function ei(Pi){var Be="_ec_"+Pi.id+"_"+Pi.type,le=Gn[Be];if(!le){var ye=K(Pi.type),xe=Gt?o.getClass(ye.main,ye.sub):c.getClass(ye.sub);le=new xe,le.init(sn,Nr),Gn[Be]=le,Qn.push(le),Or.add(le.group)}Pi.__viewId=le.__id=Be,le.__alive=!0,le.__model=Pi,le.group.__ecComponentInfo={mainType:Pi.mainType,index:Pi.componentIndex},!Gt&&Zt.prepareView(le,Pi,sn,Nr)}for(var Kr=0;Kr<Qn.length;){var vi=Qn[Kr];vi.__alive?Kr++:(!Gt&&vi.renderTask.dispose(),Or.remove(vi.group),vi.dispose(sn,Nr),Qn.splice(Kr,1),delete Gn[vi.__id],vi.__id=vi.group.__ecComponentInfo=null)}}function jt(nt){nt.clearColorPalette(),nt.eachSeries(function(Ot){Ot.clearColorPalette()})}function lt(nt,Ot,sn,Zt){Te(nt,Ot,sn,Zt),R(nt._chartsViews,function(Gt){Gt.__alive=!1}),mt(nt,Ot,sn,Zt),R(nt._chartsViews,function(Gt){Gt.__alive||Gt.remove(Ot,sn)})}function Te(nt,Ot,sn,Zt,Gt){R(Gt||nt._componentsViews,function(Qn){var Gn=Qn.__model;Qn.render(Gn,Ot,sn,Zt),on(Gn,Qn)})}function mt(nt,Ot,sn,Zt,Gt){var Qn=nt._scheduler,Gn;Ot.eachSeries(function(Or){var Nr=nt._chartsMap[Or.__viewId];Nr.__alive=!0;var Kr=Nr.renderTask;Qn.updatePayload(Kr,Zt),Gt&&Gt.get(Or.uid)&&Kr.dirty(),Gn|=Kr.perform(Qn.getPerformArgs(Kr)),Nr.group.silent=!!Or.get("silent"),on(Or,Nr),an(Or,Nr)}),Qn.unfinished|=Gn,Qt(nt,Ot),C(nt._zr.dom,Ot)}function tn(nt,Ot){R(Ln,function(sn){sn(nt,Ot)})}var Vt=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];tt._initEvents=function(){R(Vt,function(nt){var Ot=function(sn){var Zt=this.getModel(),Gt=sn.target,Qn,Gn=nt==="globalout";if(Gn)Qn={};else if(Gt&&Gt.dataIndex!=null){var Or=Gt.dataModel||Zt.getSeriesByIndex(Gt.seriesIndex);Qn=Or&&Or.getDataParams(Gt.dataIndex,Gt.dataType,Gt)||{}}else Gt&&Gt.eventData&&(Qn=v.extend({},Gt.eventData));if(Qn){var Nr=Qn.componentType,Kr=Qn.componentIndex;(Nr==="markLine"||Nr==="markPoint"||Nr==="markArea")&&(Nr="series",Kr=Qn.seriesIndex);var ei=Nr&&Kr!=null&&Zt.getComponent(Nr,Kr),vi=ei&&this[ei.mainType==="series"?"_chartsMap":"_componentsMap"][ei.__viewId];Qn.event=sn,Qn.type=nt,this._ecEventProcessor.eventInfo={targetEl:Gt,packedEvent:Qn,model:ei,view:vi},this.trigger(nt,Qn)}};Ot.zrEventfulCallAtLast=!0,this._zr.on(nt,Ot,this)},this),R(Pt,function(nt,Ot){this._messageCenter.on(Ot,function(sn){this.trigger(Ot,sn)},this)},this)},tt.isDisposed=function(){return this._disposed},tt.clear=function(){if(this._disposed){Yt(this.id);return}this.setOption({series:[]},!0)},tt.dispose=function(){if(this._disposed){Yt(this.id);return}this._disposed=!0,f.setAttribute(this.getDom(),Ft,"");var nt=this._api,Ot=this._model;R(this._componentsViews,function(sn){sn.dispose(Ot,nt)}),R(this._chartsViews,function(sn){sn.dispose(Ot,nt)}),this._zr.dispose(),delete rr[this.id]},v.mixin(qe,d);function Yt(nt){}function Qt(nt,Ot){var sn=nt._zr,Zt=sn.storage,Gt=0;Zt.traverse(function(Qn){Gt++}),Gt>Ot.get("hoverLayerThreshold")&&!b.node&&Ot.eachSeries(function(Qn){if(Qn.preventUsingHoverLayer)return;var Gn=nt._chartsMap[Qn.__viewId];Gn.__alive&&Gn.group.traverse(function(Or){Or.useHoverLayer=!0})})}function an(nt,Ot){var sn=nt.get("blendMode")||null;Ot.group.traverse(function(Zt){Zt.isGroup||Zt.style.blend!==sn&&Zt.setStyle("blend",sn),Zt.eachPendingDisplayable&&Zt.eachPendingDisplayable(function(Gt){Gt.setStyle("blend",sn)})})}function on(nt,Ot){var sn=nt.get("z"),Zt=nt.get("zlevel");Ot.group.traverse(function(Gt){Gt.type!=="group"&&(sn!=null&&(Gt.z=sn),Zt!=null&&(Gt.zlevel=Zt))})}function vt(nt){var Ot=nt._coordSysMgr;return v.extend(new a(nt),{getCoordinateSystems:v.bind(Ot.getCoordinateSystems,Ot),getComponentByElement:function(sn){for(;sn;){var Zt=sn.__ecComponentInfo;if(Zt!=null)return nt._model.getComponent(Zt.mainType,Zt.index);sn=sn.parent}}})}function de(){this.eventInfo}de.prototype={constructor:de,normalizeQuery:function(nt){var Ot={},sn={},Zt={};if(v.isString(nt)){var Gt=K(nt);Ot.mainType=Gt.main||null,Ot.subType=Gt.sub||null}else{var Qn=["Index","Name","Id"],Gn={name:1,dataIndex:1,dataType:1};v.each(nt,function(Or,Nr){for(var Kr=!1,ei=0;ei<Qn.length;ei++){var vi=Qn[ei],Pi=Nr.lastIndexOf(vi);if(Pi>0&&Pi===Nr.length-vi.length){var Be=Nr.slice(0,Pi);Be!=="data"&&(Ot.mainType=Be,Ot[vi.toLowerCase()]=Or,Kr=!0)}}Gn.hasOwnProperty(Nr)&&(sn[Nr]=Or,Kr=!0),Kr||(Zt[Nr]=Or)})}return{cptQuery:Ot,dataQuery:sn,otherQuery:Zt}},filter:function(nt,Ot,sn){var Zt=this.eventInfo;if(!Zt)return!0;var Gt=Zt.targetEl,Qn=Zt.packedEvent,Gn=Zt.model,Or=Zt.view;if(!Gn||!Or)return!0;var Nr=Ot.cptQuery,Kr=Ot.dataQuery;return ei(Nr,Gn,"mainType")&&ei(Nr,Gn,"subType")&&ei(Nr,Gn,"index","componentIndex")&&ei(Nr,Gn,"name")&&ei(Nr,Gn,"id")&&ei(Kr,Qn,"name")&&ei(Kr,Qn,"dataIndex")&&ei(Kr,Qn,"dataType")&&(!Or.filterForExposedEvent||Or.filterForExposedEvent(nt,Ot.otherQuery,Gt,Qn));function ei(vi,Pi,Be,le){return vi[Be]==null||Pi[le||Be]===vi[Be]}},afterTrigger:function(){this.eventInfo=null}};var he={},Pt={},We=[],Je=[],Ln=[],jn=[],Sn={},Xn={},rr={},hr={},gn=new Date-0,vn=new Date-0,Ft="_echarts_instance_";function Ye(nt){var Ot=0,sn=1,Zt=2,Gt="__connectUpdateStatus";function Qn(Gn,Or){for(var Nr=0;Nr<Gn.length;Nr++){var Kr=Gn[Nr];Kr[Gt]=Or}}R(Pt,function(Gn,Or){nt._messageCenter.on(Or,function(Nr){if(hr[nt.group]&&nt[Gt]!==Ot){if(Nr&&Nr.escapeConnect)return;var Kr=nt.makeActionFromEvent(Nr),ei=[];R(rr,function(vi){vi!==nt&&vi.group===nt.group&&ei.push(vi)}),Qn(ei,Ot),R(ei,function(vi){vi[Gt]!==sn&&vi.dispatchAction(Kr)}),Qn(ei,Zt)}})})}function Pe(nt,Ot,sn){var Zt=vr(nt);if(Zt)return Zt;var Gt=new qe(nt,Ot,sn);return Gt.id="ec_"+gn++,rr[Gt.id]=Gt,f.setAttribute(nt,Ft,Gt.id),Ye(Gt),Gt}function Jt(nt){if(v.isArray(nt)){var Ot=nt;nt=null,R(Ot,function(sn){sn.group!=null&&(nt=sn.group)}),nt=nt||"g_"+vn++,R(Ot,function(sn){sn.group=nt})}return hr[nt]=!0,nt}function bn(nt){hr[nt]=!1}var An=bn;function dn(nt){typeof nt=="string"?nt=rr[nt]:nt instanceof qe||(nt=vr(nt)),nt instanceof qe&&!nt.isDisposed()&&nt.dispose()}function vr(nt){return rr[f.getAttribute(nt,Ft)]}function qn(nt){return rr[nt]}function Ur(nt,Ot){Sn[nt]=Ot}function Ue(nt){Je.push(nt)}function He(nt,Ot){_t(We,nt,Ot,P)}function se(nt){Ln.push(nt)}function Ae(nt,Ot,sn){typeof Ot=="function"&&(sn=Ot,Ot="");var Zt=M(nt)?nt.type:[nt,nt={event:Ot}][0];nt.event=(nt.event||Zt).toLowerCase(),Ot=nt.event,B(pe.test(Zt)&&pe.test(Ot)),he[Zt]||(he[Zt]={action:sn,actionInfo:nt}),Pt[Ot]=Zt}function Oe(nt,Ot){s.register(nt,Ot)}function ze(nt){var Ot=s.get(nt);if(Ot)return Ot.getDimensionsInfo?Ot.getDimensionsInfo():Ot.dimensions.slice()}function Rt(nt,Ot){_t(jn,nt,Ot,G,"layout")}function Et(nt,Ot){_t(jn,nt,Ot,q,"visual")}function _t(nt,Ot,sn,Zt,Gt){(F(Ot)||M(Ot))&&(sn=Ot,Ot=Zt);var Qn=S.wrapStageHandler(sn,Gt);return Qn.__prio=Ot,Qn.__raw=sn,nt.push(Qn),Qn}function Nn(nt,Ot){Xn[nt]=Ot}function Mn(nt){return t.extend(nt)}function lr(nt){return o.extend(nt)}function Lt(nt){return u.extend(nt)}function $e(nt){return c.extend(nt)}function Qe(nt){v.$override("createCanvas",nt)}function kt(nt,Ot,sn){D.registerMap(nt,Ot,sn)}function Ht(nt){var Ot=D.retrieveMap(nt);return Ot&&Ot[0]&&{geoJson:Ot[0].geoJSON,specialAreas:Ot[0].specialAreas}}Et(ue,I),Ue(n),He(Y,l),Nn("default",N),Ae({type:"highlight",event:"highlight",update:"highlight"},v.noop),Ae({type:"downplay",event:"downplay",update:"downplay"},v.noop),Ur("light",E),Ur("dark",T);var ot={};U.version=j,U.dependencies=H,U.PRIORITY=ke,U.init=Pe,U.connect=Jt,U.disConnect=bn,U.disconnect=An,U.dispose=dn,U.getInstanceByDom=vr,U.getInstanceById=qn,U.registerTheme=Ur,U.registerPreprocessor=Ue,U.registerProcessor=He,U.registerPostUpdate=se,U.registerAction=Ae,U.registerCoordinateSystem=Oe,U.getCoordinateSystemDimensions=ze,U.registerLayout=Rt,U.registerVisual=Et,U.registerLoading=Nn,U.extendComponentModel=Mn,U.extendComponentView=lr,U.extendSeriesModel=Lt,U.extendChartView=$e,U.setCanvasCreator=Qe,U.registerMap=kt,U.getMap=Ht,U.dataTool=ot;var Ct=e("txkQ");(function(){for(var nt in Ct)Ct.hasOwnProperty(nt)&&(U[nt]=Ct[nt])})()},"Pv/L":function(te,U,e){"use strict";e.d(U,"a",function(){return A});var y=e("+kx5"),L=e("Y9hK"),g=e("Qw5x"),v=e("u6e6");function A(b){return Object(y.a)(b)||Object(L.a)(b)||Object(g.a)(b)||Object(v.a)()}},Pw59:function(te,U,e){"use strict";var y=e("q1tI"),L=e.n(y),g=Object(y.createContext)({});U.a=g},Q7if:function(te,U,e){var y=e("JEkh"),L=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"}}}});te.exports=L},Q9mQ:function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("UADf"),v=e.n(g)},"QB+1":function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=L(e("Ywus"));function L(v){return v&&v.__esModule?v:{default:v}}var g=y;U.default=g,te.exports=g},QBsz:function(te,U){var e=typeof Float32Array=="undefined"?Array:Float32Array;function y(S,E){var T=new e(2);return S==null&&(S=0),E==null&&(E=0),T[0]=S,T[1]=E,T}function L(S,E){return S[0]=E[0],S[1]=E[1],S}function g(S){var E=new e(2);return E[0]=S[0],E[1]=S[1],E}function v(S,E,T){return S[0]=E,S[1]=T,S}function A(S,E,T){return S[0]=E[0]+T[0],S[1]=E[1]+T[1],S}function b(S,E,T,D){return S[0]=E[0]+T[0]*D,S[1]=E[1]+T[1]*D,S}function m(S,E,T){return S[0]=E[0]-T[0],S[1]=E[1]-T[1],S}function d(S){return Math.sqrt(a(S))}var r=d;function a(S){return S[0]*S[0]+S[1]*S[1]}var s=a;function i(S,E,T){return S[0]=E[0]*T[0],S[1]=E[1]*T[1],S}function n(S,E,T){return S[0]=E[0]/T[0],S[1]=E[1]/T[1],S}function l(S,E){return S[0]*E[0]+S[1]*E[1]}function t(S,E,T){return S[0]=E[0]*T,S[1]=E[1]*T,S}function u(S,E){var T=d(E);return T===0?(S[0]=0,S[1]=0):(S[0]=E[0]/T,S[1]=E[1]/T),S}function o(S,E){return Math.sqrt((S[0]-E[0])*(S[0]-E[0])+(S[1]-E[1])*(S[1]-E[1]))}var c=o;function h(S,E){return(S[0]-E[0])*(S[0]-E[0])+(S[1]-E[1])*(S[1]-E[1])}var f=h;function w(S,E){return S[0]=-E[0],S[1]=-E[1],S}function x(S,E,T,D){return S[0]=E[0]+D*(T[0]-E[0]),S[1]=E[1]+D*(T[1]-E[1]),S}function I(S,E,T){var D=E[0],B=E[1];return S[0]=T[0]*D+T[2]*B+T[4],S[1]=T[1]*D+T[3]*B+T[5],S}function C(S,E,T){return S[0]=Math.min(E[0],T[0]),S[1]=Math.min(E[1],T[1]),S}function N(S,E,T){return S[0]=Math.max(E[0],T[0]),S[1]=Math.max(E[1],T[1]),S}U.create=y,U.copy=L,U.clone=g,U.set=v,U.add=A,U.scaleAndAdd=b,U.sub=m,U.len=d,U.length=r,U.lenSquare=a,U.lengthSquare=s,U.mul=i,U.div=n,U.dot=l,U.scale=t,U.normalize=u,U.distance=o,U.dist=c,U.distanceSquare=h,U.distSquare=f,U.negate=w,U.lerp=x,U.applyTransform=I,U.min=C,U.max=N},"QO+J":function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.createSensor=void 0;var y=g(e("NohK")),L=e("24YM");function g(A){return A&&A.__esModule?A:{default:A}}var v=function(b){var m=void 0,d=[],r=function(){getComputedStyle(b).position==="static"&&(b.style.position="relative");var t=document.createElement("object");return t.onload=function(){t.contentDocument.defaultView.addEventListener("resize",a),a()},t.style.display="block",t.style.position="absolute",t.style.top="0",t.style.left="0",t.style.height="100%",t.style.width="100%",t.style.overflow="hidden",t.style.pointerEvents="none",t.style.zIndex="-1",t.style.opacity="0",t.setAttribute("class",L.SensorClassName),t.setAttribute("tabindex",L.SensorTabIndex),t.type="text/html",b.appendChild(t),t.data="about:blank",t},a=(0,y.default)(function(){d.forEach(function(l){l(b)})}),s=function(t){m||(m=r()),d.indexOf(t)===-1&&d.push(t)},i=function(){m&&m.parentNode&&(m.contentDocument&&m.contentDocument.defaultView.removeEventListener("resize",a),m.parentNode.removeChild(m),m=void 0,d=[])},n=function(t){var u=d.indexOf(t);u!==-1&&d.splice(u,1),d.length===0&&m&&i()};return{element:b,bind:s,destroy:i,unbind:n}};U.createSensor=v},"QQZ/":function(te,U,e){var y=e("Sq3C"),L=e("Z1HP"),g=e("Sxd8"),v=e("dt0z");function A(b,m,d){b=v(b),m=g(m);var r=m?L(b):0;return m&&r<m?y(m-r,d)+b:b}te.exports=A},QUw5:function(te,U,e){var y=e("OlYY"),L=y.extend({type:"dataZoom.select"});te.exports=L},QbM5:function(te,U,e){},Qe9p:function(te,U,e){var y=e("1RvN"),L={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function g(E){return E=Math.round(E),E<0?0:E>255?255:E}function v(E){return E=Math.round(E),E<0?0:E>360?360:E}function A(E){return E<0?0:E>1?1:E}function b(E){return E.length&&E.charAt(E.length-1)==="%"?g(parseFloat(E)/100*255):g(parseInt(E,10))}function m(E){return E.length&&E.charAt(E.length-1)==="%"?A(parseFloat(E)/100):A(parseFloat(E))}function d(E,T,D){return D<0?D+=1:D>1&&(D-=1),D*6<1?E+(T-E)*D*6:D*2<1?T:D*3<2?E+(T-E)*(2/3-D)*6:E}function r(E,T,D){return E+(T-E)*D}function a(E,T,D,B,R){return E[0]=T,E[1]=D,E[2]=B,E[3]=R,E}function s(E,T){return E[0]=T[0],E[1]=T[1],E[2]=T[2],E[3]=T[3],E}var i=new y(20),n=null;function l(E,T){n&&s(n,T),n=i.put(E,n||T.slice())}function t(E,T){if(!E)return;T=T||[];var D=i.get(E);if(D)return s(T,D);E=E+"";var B=E.replace(/ /g,"").toLowerCase();if(B in L)return s(T,L[B]),l(E,T),T;if(B.charAt(0)==="#"){if(B.length===4){var R=parseInt(B.substr(1),16);if(!(R>=0&&R<=4095)){a(T,0,0,0,1);return}return a(T,(R&3840)>>4|(R&3840)>>8,R&240|(R&240)>>4,R&15|(R&15)<<4,1),l(E,T),T}else if(B.length===7){var R=parseInt(B.substr(1),16);if(!(R>=0&&R<=16777215)){a(T,0,0,0,1);return}return a(T,(R&16711680)>>16,(R&65280)>>8,R&255,1),l(E,T),T}return}var F=B.indexOf("("),M=B.indexOf(")");if(F!==-1&&M+1===B.length){var K=B.substr(0,F),j=B.substr(F+1,M-(F+1)).split(","),H=1;switch(K){case"rgba":if(j.length!==4){a(T,0,0,0,1);return}H=m(j.pop());case"rgb":if(j.length!==3){a(T,0,0,0,1);return}return a(T,b(j[0]),b(j[1]),b(j[2]),H),l(E,T),T;case"hsla":if(j.length!==4){a(T,0,0,0,1);return}return j[3]=m(j[3]),u(j,T),l(E,T),T;case"hsl":if(j.length!==3){a(T,0,0,0,1);return}return u(j,T),l(E,T),T;default:return}}a(T,0,0,0,1);return}function u(E,T){var D=(parseFloat(E[0])%360+360)%360/360,B=m(E[1]),R=m(E[2]),F=R<=.5?R*(B+1):R+B-R*B,M=R*2-F;return T=T||[],a(T,g(d(M,F,D+1/3)*255),g(d(M,F,D)*255),g(d(M,F,D-1/3)*255),1),E.length===4&&(T[3]=E[3]),T}function o(E){if(!E)return;var T=E[0]/255,D=E[1]/255,B=E[2]/255,R=Math.min(T,D,B),F=Math.max(T,D,B),M=F-R,K=(F+R)/2,j,H;if(M===0)j=0,H=0;else{K<.5?H=M/(F+R):H=M/(2-F-R);var k=((F-T)/6+M/2)/M,P=((F-D)/6+M/2)/M,z=((F-B)/6+M/2)/M;T===F?j=z-P:D===F?j=1/3+k-z:B===F&&(j=2/3+P-k),j<0&&(j+=1),j>1&&(j-=1)}var Y=[j*360,H,K];return E[3]!=null&&Y.push(E[3]),Y}function c(E,T){var D=t(E);if(D){for(var B=0;B<3;B++)T<0?D[B]=D[B]*(1-T)|0:D[B]=(255-D[B])*T+D[B]|0,D[B]>255?D[B]=255:E[B]<0&&(D[B]=0);return S(D,D.length===4?"rgba":"rgb")}}function h(E){var T=t(E);if(T)return((1<<24)+(T[0]<<16)+(T[1]<<8)+ +T[2]).toString(16).slice(1)}function f(E,T,D){if(!(T&&T.length)||!(E>=0&&E<=1))return;D=D||[];var B=E*(T.length-1),R=Math.floor(B),F=Math.ceil(B),M=T[R],K=T[F],j=B-R;return D[0]=g(r(M[0],K[0],j)),D[1]=g(r(M[1],K[1],j)),D[2]=g(r(M[2],K[2],j)),D[3]=A(r(M[3],K[3],j)),D}var w=f;function x(E,T,D){if(!(T&&T.length)||!(E>=0&&E<=1))return;var B=E*(T.length-1),R=Math.floor(B),F=Math.ceil(B),M=t(T[R]),K=t(T[F]),j=B-R,H=S([g(r(M[0],K[0],j)),g(r(M[1],K[1],j)),g(r(M[2],K[2],j)),A(r(M[3],K[3],j))],"rgba");return D?{color:H,leftIndex:R,rightIndex:F,value:B}:H}var I=x;function C(E,T,D,B){if(E=t(E),E)return E=o(E),T!=null&&(E[0]=v(T)),D!=null&&(E[1]=m(D)),B!=null&&(E[2]=m(B)),S(u(E),"rgba")}function N(E,T){if(E=t(E),E&&T!=null)return E[3]=A(T),S(E,"rgba")}function S(E,T){if(!E||!E.length)return;var D=E[0]+","+E[1]+","+E[2];return(T==="rgba"||T==="hsva"||T==="hsla")&&(D+=","+E[3]),T+"("+D+")"}U.parse=t,U.lift=c,U.toHex=h,U.fastLerp=f,U.fastMapToColor=w,U.lerp=x,U.mapToColor=I,U.modifyHSL=C,U.modifyAlpha=N,U.stringify=S},Qi1f:function(te,U,e){"use strict";e.d(U,"g",function(){return l}),e.d(U,"c",function(){return t}),e.d(U,"a",function(){return o}),e.d(U,"b",function(){return c}),e.d(U,"d",function(){return h}),e.d(U,"e",function(){return f}),e.d(U,"f",function(){return x});var y=e("VTBJ"),L=e("U8pU"),g=e("u3cA"),v=e("q1tI"),A=e.n(v),b=e("Kwbf"),m=e("MNnm"),d="rc-util-key";function r(I){if(I.attachTo)return I.attachTo;var C=document.querySelector("head");return C||document.body}function a(I){var C,N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Object(m.a)())return null;var S=document.createElement("style");if((C=N.csp)===null||C===void 0?void 0:C.nonce){var E;S.nonce=(E=N.csp)===null||E===void 0?void 0:E.nonce}S.innerHTML=I;var T=r(N),D=T.firstChild;return N.prepend&&T.prepend?T.prepend(S):N.prepend&&D?T.insertBefore(S,D):T.appendChild(S),S}var s=new Map;function i(I,C){var N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},S=r(N);if(!s.has(S)){var E=a("",N),T=E.parentNode;s.set(S,T),T.removeChild(E)}var D=Array.from(s.get(S).children).find(function(K){return K.tagName==="STYLE"&&K[d]===C});if(D){var B,R;if(((B=N.csp)===null||B===void 0?void 0:B.nonce)&&D.nonce!==((R=N.csp)===null||R===void 0?void 0:R.nonce)){var F;D.nonce=(F=N.csp)===null||F===void 0?void 0:F.nonce}return D.innerHTML!==I&&(D.innerHTML=I),D}var M=a(I,N);return M[d]=C,M}var n=e("Pw59");function l(I,C){Object(b.a)(I,"[@ant-design/icons] ".concat(C))}function t(I){return Object(L.a)(I)==="object"&&typeof I.name=="string"&&typeof I.theme=="string"&&(Object(L.a)(I.icon)==="object"||typeof I.icon=="function")}function u(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(I).reduce(function(C,N){var S=I[N];switch(N){case"class":C.className=S,delete C.class;break;default:C[N]=S}return C},{})}function o(I,C,N){return N?A.a.createElement(I.tag,Object(y.a)(Object(y.a)({key:C},u(I.attrs)),N),(I.children||[]).map(function(S,E){return o(S,"".concat(C,"-").concat(I.tag,"-").concat(E))})):A.a.createElement(I.tag,Object(y.a)({key:C},u(I.attrs)),(I.children||[]).map(function(S,E){return o(S,"".concat(C,"-").concat(I.tag,"-").concat(E))}))}function c(I){return Object(g.generate)(I)[0]}function h(I){return I?Array.isArray(I)?I:[I]:[]}var f={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},w=`
|
|
|
.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);
|
|
|
}
|
|
|
}
|
|
|
`,x=function(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:w,N=Object(v.useContext)(n.a),S=N.csp;Object(v.useEffect)(function(){i(C,"@ant-design-icons",{prepend:!0,csp:S})},[])}},Qs3X:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=L(e("X+im"));function L(v){return v&&v.__esModule?v:{default:v}}var g=y;U.default=g,te.exports=g},Qs9O:function(te,U,e){"use strict";Object.defineProperty(U,"__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"};U.default=y},QuXc:function(te,U){var e=function(g){this.colorStops=g||[]};e.prototype={constructor:e,addColorStop:function(g,v){this.colorStops.push({offset:g,color:v})}};var y=e;te.exports=y},Qvb6:function(te,U,e){var y=e("ProS"),L=e("bYtY"),g=e("ItGF"),v=e("B9fm"),A=e("gvm7"),b=e("7aKB"),m=e("OELB"),d=e("IwbS"),r=e("Ez2D"),a=e("+TT/"),s=e("Qxkt"),i=e("F9bG"),n=e("aX7z"),l=e("/y7N"),t=e("4NO4"),u=t.getTooltipRenderMode,o=L.bind,c=L.each,h=m.parsePercent,f=new d.Rect({shape:{x:-1,y:-1,width:2,height:2}}),w=y.extendComponentView({type:"tooltip",init:function(T,D){if(g.node)return;var B=T.getComponent("tooltip"),R=B.get("renderMode");this._renderMode=u(R);var F;this._renderMode==="html"?(F=new v(D.getDom(),D,{appendToBody:B.get("appendToBody",!0)}),this._newLine="<br/>"):(F=new A(D),this._newLine=`
|
|
|
`),this._tooltipContent=F},render:function(T,D,B){if(g.node)return;this.group.removeAll(),this._tooltipModel=T,this._ecModel=D,this._api=B,this._lastDataByCoordSys=null,this._alwaysShowContent=T.get("alwaysShowContent");var R=this._tooltipContent;R.update(),R.setEnterable(T.get("enterable")),this._initGlobalListener(),this._keepShow()},_initGlobalListener:function(){var T=this._tooltipModel,D=T.get("triggerOn");i.register("itemTooltip",this._api,o(function(B,R,F){D!=="none"&&(D.indexOf(B)>=0?this._tryShow(R,F):B==="leave"&&this._hide(F))},this))},_keepShow:function(){var T=this._tooltipModel,D=this._ecModel,B=this._api;if(this._lastX!=null&&this._lastY!=null&&T.get("triggerOn")!=="none"){var R=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!B.isDisposed()&&R.manuallyShowTip(T,D,B,{x:R._lastX,y:R._lastY})})}},manuallyShowTip:function(T,D,B,R){if(R.from===this.uid||g.node)return;var F=I(R,B);this._ticket="";var M=R.dataByCoordSys;if(R.tooltip&&R.x!=null&&R.y!=null){var K=f;K.position=[R.x,R.y],K.update(),K.tooltip=R.tooltip,this._tryShow({offsetX:R.x,offsetY:R.y,target:K},F)}else if(M)this._tryShow({offsetX:R.x,offsetY:R.y,position:R.position,dataByCoordSys:R.dataByCoordSys,tooltipOption:R.tooltipOption},F);else if(R.seriesIndex!=null){if(this._manuallyAxisShowTip(T,D,B,R))return;var j=r(R,D),H=j.point[0],k=j.point[1];H!=null&&k!=null&&this._tryShow({offsetX:H,offsetY:k,position:R.position,target:j.el},F)}else R.x!=null&&R.y!=null&&(B.dispatchAction({type:"updateAxisPointer",x:R.x,y:R.y}),this._tryShow({offsetX:R.x,offsetY:R.y,position:R.position,target:B.getZr().findHover(R.x,R.y).target},F))},manuallyHideTip:function(T,D,B,R){var F=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&F.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,R.from!==this.uid&&this._hide(I(R,B))},_manuallyAxisShowTip:function(T,D,B,R){var F=R.seriesIndex,M=R.dataIndex,K=D.getComponent("axisPointer").coordSysAxesInfo;if(F==null||M==null||K==null)return;var j=D.getSeriesByIndex(F);if(!j)return;var H=j.getData(),T=x([H.getItemModel(M),j,(j.coordinateSystem||{}).model,T]);return T.get("trigger")!=="axis"?void 0:(B.dispatchAction({type:"updateAxisPointer",seriesIndex:F,dataIndex:M,position:R.position}),!0)},_tryShow:function(T,D){var B=T.target,R=this._tooltipModel;if(!R)return;this._lastX=T.offsetX,this._lastY=T.offsetY;var F=T.dataByCoordSys;F&&F.length?this._showAxisTooltip(F,T):B&&B.dataIndex!=null?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(T,B,D)):B&&B.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(T,B,D)):(this._lastDataByCoordSys=null,this._hide(D))},_showOrMove:function(T,D){var B=T.get("showDelay");D=L.bind(D,this),clearTimeout(this._showTimout),B>0?this._showTimout=setTimeout(D,B):D()},_showAxisTooltip:function(T,D){var B=this._ecModel,R=this._tooltipModel,F=[D.offsetX,D.offsetY],M=[],K=[],j=x([D.tooltipOption,R]),H=this._renderMode,k=this._newLine,P={};c(T,function(Y){c(Y.dataByAxis,function(_){var G=B.getComponent(_.axisDim+"Axis",_.axisIndex),J=_.value,ue=[];if(!G||J==null)return;var q=l.getValueLabel(J,G.axis,B,_.seriesDataIndices,_.valueLabelOpt);L.each(_.seriesDataIndices,function(me){var be=B.getSeriesByIndex(me.seriesIndex),ke=me.dataIndexInside,ce=be&&be.getDataParams(ke);if(ce.axisDim=_.axisDim,ce.axisIndex=_.axisIndex,ce.axisType=_.axisType,ce.axisId=_.axisId,ce.axisValue=n.getAxisRawValue(G.axis,J),ce.axisValueLabel=q,ce){K.push(ce);var Ee=be.formatTooltip(ke,!0,null,H),pe;if(L.isObject(Ee)){pe=Ee.html;var Se=Ee.markers;L.merge(P,Se)}else pe=Ee;ue.push(pe)}});var re=q;H!=="html"?M.push(ue.join(k)):M.push((re?b.encodeHTML(re)+k:"")+ue.join(k))})},this),M.reverse(),M=M.join(this._newLine+this._newLine);var z=D.position;this._showOrMove(j,function(){this._updateContentNotChangedOnAxis(T)?this._updatePosition(j,z,F[0],F[1],this._tooltipContent,K):this._showTooltipContent(j,M,K,Math.random(),F[0],F[1],z,void 0,P)})},_showSeriesItemTooltip:function(T,D,B){var R=this._ecModel,F=D.seriesIndex,M=R.getSeriesByIndex(F),K=D.dataModel||M,j=D.dataIndex,H=D.dataType,k=K.getData(H),P=x([k.getItemModel(j),K,M&&(M.coordinateSystem||{}).model,this._tooltipModel]),z=P.get("trigger");if(z!=null&&z!=="item")return;var Y=K.getDataParams(j,H),_=K.formatTooltip(j,!1,H,this._renderMode),G,J;L.isObject(_)?(G=_.html,J=_.markers):(G=_,J=null);var ue="item_"+K.name+"_"+j;this._showOrMove(P,function(){this._showTooltipContent(P,G,Y,ue,T.offsetX,T.offsetY,T.position,T.target,J)}),B({type:"showTip",dataIndexInside:j,dataIndex:k.getRawIndex(j),seriesIndex:F,from:this.uid})},_showComponentItemTooltip:function(T,D,B){var R=D.tooltip;if(typeof R=="string"){var F=R;R={content:F,formatter:F}}var M=new s(R,this._tooltipModel,this._ecModel),K=M.get("content"),j=Math.random();this._showOrMove(M,function(){this._showTooltipContent(M,K,M.get("formatterParams")||{},j,T.offsetX,T.offsetY,T.position,D)}),B({type:"showTip",from:this.uid})},_showTooltipContent:function(T,D,B,R,F,M,K,j,H){if(this._ticket="",!T.get("showContent")||!T.get("show"))return;var k=this._tooltipContent,P=T.get("formatter");K=K||T.get("position");var z=D;if(P&&typeof P=="string")z=b.formatTpl(P,B,!0);else if(typeof P=="function"){var Y=o(function(_,G){_===this._ticket&&(k.setContent(G,H,T),this._updatePosition(T,K,F,M,k,B,j))},this);this._ticket=R,z=P(B,R,Y)}k.setContent(z,H,T),k.show(T),this._updatePosition(T,K,F,M,k,B,j)},_updatePosition:function(T,D,B,R,F,M,K){var j=this._api.getWidth(),H=this._api.getHeight();D=D||T.get("position");var k=F.getSize(),P=T.get("align"),z=T.get("verticalAlign"),Y=K&&K.getBoundingRect().clone();if(K&&Y.applyTransform(K.transform),typeof D=="function"&&(D=D([B,R],M,F.el,Y,{viewSize:[j,H],contentSize:k.slice()})),L.isArray(D))B=h(D[0],j),R=h(D[1],H);else if(L.isObject(D)){D.width=k[0],D.height=k[1];var _=a.getLayoutRect(D,{width:j,height:H});B=_.x,R=_.y,P=null,z=null}else if(typeof D=="string"&&K){var G=S(D,Y,k);B=G[0],R=G[1]}else{var G=C(B,R,F,j,H,P?null:20,z?null:20);B=G[0],R=G[1]}if(P&&(B-=E(P)?k[0]/2:P==="right"?k[0]:0),z&&(R-=E(z)?k[1]/2:z==="bottom"?k[1]:0),T.get("confine")){var G=N(B,R,F,j,H);B=G[0],R=G[1]}F.moveTo(B,R)},_updateContentNotChangedOnAxis:function(T){var D=this._lastDataByCoordSys,B=!!D&&D.length===T.length;return B&&c(D,function(R,F){var M=R.dataByAxis||{},K=T[F]||{},j=K.dataByAxis||[];B&=M.length===j.length,B&&c(M,function(H,k){var P=j[k]||{},z=H.seriesDataIndices||[],Y=P.seriesDataIndices||[];B&=H.value===P.value&&H.axisType===P.axisType&&H.axisId===P.axisId&&z.length===Y.length,B&&c(z,function(_,G){var J=Y[G];B&=_.seriesIndex===J.seriesIndex&&_.dataIndex===J.dataIndex})})}),this._lastDataByCoordSys=T,!!B},_hide:function(T){this._lastDataByCoordSys=null,T({type:"hideTip",from:this.uid})},dispose:function(T,D){if(g.node)return;this._tooltipContent.dispose(),i.unregister("itemTooltip",D)}});function x(T){for(var D=T.pop();T.length;){var B=T.pop();B&&(s.isInstance(B)&&(B=B.get("tooltip",!0)),typeof B=="string"&&(B={formatter:B}),D=new s(B,D,D.ecModel))}return D}function I(T,D){return T.dispatchAction||L.bind(D.dispatchAction,D)}function C(T,D,B,R,F,M,K){var j=B.getOuterSize(),H=j.width,k=j.height;return M!=null&&(T+H+M>R?T-=H+M:T+=M),K!=null&&(D+k+K>F?D-=k+K:D+=K),[T,D]}function N(T,D,B,R,F){var M=B.getOuterSize(),K=M.width,j=M.height;return T=Math.min(T+K,R)-K,D=Math.min(D+j,F)-j,T=Math.max(T,0),D=Math.max(D,0),[T,D]}function S(T,D,B){var R=B[0],F=B[1],M=5,K=0,j=0,H=D.width,k=D.height;switch(T){case"inside":K=D.x+H/2-R/2,j=D.y+k/2-F/2;break;case"top":K=D.x+H/2-R/2,j=D.y-F-M;break;case"bottom":K=D.x+H/2-R/2,j=D.y+k+M;break;case"left":K=D.x-R-M,j=D.y+k/2-F/2;break;case"right":K=D.x+H+M,j=D.y+k/2-F/2}return[K,j]}function E(T){return T==="center"||T==="middle"}te.exports=w},Qxkt:function(te,U,e){var y=e("bYtY"),L=e("ItGF"),g=e("4NO4"),v=g.makeInner,A=e("Yl7c"),b=A.enableClassExtend,m=A.enableClassCheck,d=e("OQFs"),r=e("m9t5"),a=e("/iHx"),s=e("VR9l"),i=y.mixin,n=v();function l(c,h,f){this.parentModel=h,this.ecModel=f,this.option=c}l.prototype={constructor:l,init:null,mergeOption:function(c){y.merge(this.option,c,!0)},get:function(c,h){return c==null?this.option:t(this.option,this.parsePath(c),!h&&u(this,c))},getShallow:function(c,h){var f=this.option,w=f==null?f:f[c],x=!h&&u(this,c);return w==null&&x&&(w=x.getShallow(c)),w},getModel:function(c,h){var f=c==null?this.option:t(this.option,c=this.parsePath(c)),w;return h=h||(w=u(this,c))&&w.getModel(c),new l(f,h,this.ecModel)},isEmpty:function(){return this.option==null},restoreData:function(){},clone:function(){var c=this.constructor;return new c(y.clone(this.option))},setReadOnly:function(c){},parsePath:function(c){return typeof c=="string"&&(c=c.split(".")),c},customizeGetParent:function(c){n(this).getParent=c},isAnimationEnabled:function(){if(!L.node){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}};function t(c,h,f){for(var w=0;w<h.length;w++){if(!h[w])continue;if(c=c&&typeof c=="object"?c[h[w]]:null,c==null)break}return c==null&&f&&(c=f.get(h)),c}function u(c,h){var f=n(c).getParent;return f?f.call(c,h):c.parentModel}b(l),m(l),i(l,d),i(l,r),i(l,a),i(l,s);var o=l;te.exports=o},QyFq:function(te,U,e){"use strict";Object.defineProperty(U,"__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"};U.default=y},QzjZ:function(te,U,e){var y=e("S/Yl"),L=e("IDmD");function g(v,A){var b=[];return v.eachComponent("singleAxis",function(m,d){var r=new y(m,v,A);r.name="single_"+d,r.resize(m,A),m.coordinateSystem=r,b.push(r)}),v.eachSeries(function(m){if(m.get("coordinateSystem")==="singleAxis"){var d=v.queryComponents({mainType:"singleAxis",index:m.get("singleAxisIndex"),id:m.get("singleAxisId")})[0];m.coordinateSystem=d&&d.coordinateSystem}}),b}L.register("single",{create:g,dimensions:y.prototype.dimensions})},R4Th:function(te,U,e){var y=e("ProS"),L=e("9wZj"),g=e("yO87"),v=e("Fofx"),A=e("h8O9"),b=y.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new L(g)},render:function(m,d,r){var a=m.getData(),s=this._symbolDraw;s.updateData(a),this.group.add(s.group)},updateTransform:function(m,d,r){var a=m.getData();this.group.dirty();var s=A().reset(m);s.progress&&s.progress({start:0,end:a.count()},a),this._symbolDraw.updateLayout(a)},_updateGroupTransform:function(m){var d=m.coordinateSystem;d&&d.getRoamTransform&&(this.group.transform=v.clone(d.getRoamTransform()),this.group.decomposeTransform())},remove:function(m,d){this._symbolDraw&&this._symbolDraw.remove(d)},dispose:function(){}});te.exports=b},R9oj:function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("pwpV"),v=e.n(g)},RBEP:function(te,U,e){for(var y=e("ProS"),L=e("VaxA"),g=function(){},v=["treemapZoomToNode","treemapRender","treemapMove"],A=0;A<v.length;A++)y.registerAction({type:v[A],update:"updateView"},g);y.registerAction({type:"treemapRootToNode",update:"updateView"},function(b,m){m.eachComponent({mainType:"series",subType:"treemap",query:b},d);function d(r,a){var s=["treemapZoomToNode","treemapRootToNode"],i=L.retrieveTargetInfo(b,s,r);if(i){var n=r.getViewRoot();n&&(b.direction=L.aboveViewRoot(n,i.node)?"rollUp":"drillDown"),r.resetViewRoot(i.node)}}})},RCxd:function(te,U,e){"use strict";var y=e("VTBJ"),L=e("q1tI"),g={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"},v=g,A=e("6VBw"),b=function(r,a){return L.createElement(A.a,Object(y.a)(Object(y.a)({},r),{},{ref:a,icon:v}))};b.displayName="ExclamationCircleOutlined";var m=U.a=L.forwardRef(b)},RDYZ:function(te,U,e){var y=e("dMvE");function L(v){this._target=v.target,this._life=v.life||1e3,this._delay=v.delay||0,this._initialized=!1,this.loop=v.loop==null?!1:v.loop,this.gap=v.gap||0,this.easing=v.easing||"Linear",this.onframe=v.onframe,this.ondestroy=v.ondestroy,this.onrestart=v.onrestart,this._pausedTime=0,this._paused=!1}L.prototype={constructor:L,step:function(A,b){if(this._initialized||(this._startTime=A+this._delay,this._initialized=!0),this._paused){this._pausedTime+=b;return}var m=(A-this._startTime-this._pausedTime)/this._life;if(m<0)return;m=Math.min(m,1);var d=this.easing,r=typeof d=="string"?y[d]:d,a=typeof r=="function"?r(m):m;return this.fire("frame",a),m===1?this.loop?(this.restart(A),"restart"):(this._needsRemove=!0,"destroy"):null},restart:function(A){var b=(A-this._startTime-this._pausedTime)%this._life;this._startTime=A-b+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(A,b){A="on"+A,this[A]&&this[A](this._target,b)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var g=L;te.exports=g},RELg:function(te,U,e){var y=e("MFOe"),L=y.Global;te.exports={name:"oldIE-userDataStorage",write:m,read:d,each:r,remove:a,clearAll:s};var g="storejs",v=L.document,A=l(),b=(L.navigator?L.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function m(t,u){if(b)return;var o=n(t);A(function(c){c.setAttribute(o,u),c.save(g)})}function d(t){if(b)return;var u=n(t),o=null;return A(function(c){o=c.getAttribute(u)}),o}function r(t){A(function(u){for(var o=u.XMLDocument.documentElement.attributes,c=o.length-1;c>=0;c--){var h=o[c];t(u.getAttribute(h.name),h.name)}})}function a(t){var u=n(t);A(function(o){o.removeAttribute(u),o.save(g)})}function s(){A(function(t){var u=t.XMLDocument.documentElement.attributes;t.load(g);for(var o=u.length-1;o>=0;o--)t.removeAttribute(u[o].name);t.save(g)})}var i=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function n(t){return t.replace(/^\d/,"___$&").replace(i,"___")}function l(){if(!v||!v.documentElement||!v.documentElement.addBehavior)return null;var t="script",u,o,c;try{o=new ActiveXObject("htmlfile"),o.open(),o.write("<"+t+">document.w=window</"+t+'><iframe src="/favicon.ico"></iframe>'),o.close(),u=o.w.frames[0].document,c=u.createElement("div")}catch(h){c=v.createElement("div"),u=v.body}return function(h){var f=[].slice.call(arguments,0);f.unshift(c),u.appendChild(c),c.addBehavior("#default#userData"),c.load(g),h.apply(this,f),u.removeChild(c);return}}},RPvy:function(te,U,e){var y=e("ProS"),L=e("VaxA"),g="sunburstRootToNode";y.registerAction({type:g,update:"updateView"},function(b,m){m.eachComponent({mainType:"series",subType:"sunburst",query:b},d);function d(r,a){var s=L.retrieveTargetInfo(b,[g],r);if(s){var i=r.getViewRoot();i&&(b.direction=L.aboveViewRoot(i,s.node)?"rollUp":"drillDown"),r.resetViewRoot(s.node)}}});var v="sunburstHighlight";y.registerAction({type:v,update:"updateView"},function(b,m){m.eachComponent({mainType:"series",subType:"sunburst",query:b},d);function d(r,a){var s=L.retrieveTargetInfo(b,[v],r);s&&(b.highlight=s.node)}});var A="sunburstUnhighlight";y.registerAction({type:A,update:"updateView"},function(b,m){m.eachComponent({mainType:"series",subType:"sunburst",query:b},d);function d(r,a){b.unhighlight=!0}})},RSch:function(te,U,e){var y=e("IwbS"),L=e("bYtY");function g(b,m,d){y.Group.call(this),this._createPolyline(b,m,d)}var v=g.prototype;v._createPolyline=function(b,m,d){var r=b.getItemLayout(m),a=new y.Polyline({shape:{points:r}});this.add(a),this._updateCommonStl(b,m,d)},v.updateData=function(b,m,d){var r=b.hostModel,a=this.childAt(0),s={shape:{points:b.getItemLayout(m)}};y.updateProps(a,s,r,m),this._updateCommonStl(b,m,d)},v._updateCommonStl=function(b,m,d){var r=this.childAt(0),a=b.getItemModel(m),s=b.getItemVisual(m,"color"),i=d&&d.lineStyle,n=d&&d.hoverLineStyle;(!d||b.hasItemOption)&&(i=a.getModel("lineStyle").getLineStyle(),n=a.getModel("emphasis.lineStyle").getLineStyle()),r.useStyle(L.defaults({strokeNoScale:!0,fill:"none",stroke:s},i)),r.hoverStyle=n,y.setHoverStyle(this)},v.updateLayout=function(b,m){var d=this.childAt(0);d.setShape("points",b.getItemLayout(m))},L.inherits(g,y.Group);var A=g;te.exports=A},RXMa:function(te,U,e){var y=e("y+Vt"),L=y.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(v,A){var b=A.cx,m=A.cy,d=Math.PI*2;v.moveTo(b+A.r,m),v.arc(b,m,A.r,0,d,!1),v.moveTo(b+A.r0,m),v.arc(b,m,A.r0,0,d,!0)}});te.exports=L},RZPm:function(te,U,e){"use strict";var y=e("284h"),L=e("TqRt");Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var g=L(e("3tO9")),v=y(e("q1tI")),A=L(e("JgUQ")),b=L(e("KQxl")),m=function(a,s){return v.createElement(b.default,(0,g.default)((0,g.default)({},a),{},{ref:s,icon:A.default}))};m.displayName="FileOutlined";var d=v.forwardRef(m);U.default=d},RlCK:function(te,U,e){var y=e("ProS"),L=e("bYtY");function g(v,A,b){var m={},d=v==="toggleSelected",r;return b.eachComponent("legend",function(a){d&&r!=null?a[r?"select":"unSelect"](A.name):v==="allSelect"||v==="inverseSelect"?a[v]():(a[v](A.name),r=a.isSelected(A.name));var s=a.getData();L.each(s,function(i){var n=i.get("name");if(n===`
|
|
|
`||n==="")return;var l=a.isSelected(n);m.hasOwnProperty(n)?m[n]=m[n]&&l:m[n]=l})}),v==="allSelect"||v==="inverseSelect"?{selected:m}:{name:A.name,selected:m}}y.registerAction("legendToggleSelect","legendselectchanged",L.curry(g,"toggleSelected")),y.registerAction("legendAllSelect","legendselectall",L.curry(g,"allSelect")),y.registerAction("legendInverseSelect","legendinverseselect",L.curry(g,"inverseSelect")),y.registerAction("legendSelect","legendselected",L.curry(g,"select")),y.registerAction("legendUnSelect","legendunselected",L.curry(g,"unSelect"))},RotF:function(te,U,e){te.exports=e("LSTS")},Rx6q:function(te,U){function e(y){var L=y.getRect(),g=y.getRangeInfo();return{coordSys:{type:"calendar",x:L.x,y:L.y,width:L.width,height:L.height,cellWidth:y.getCellWidth(),cellHeight:y.getCellHeight(),rangeInfo:{start:g.start,end:g.end,weeks:g.weeks,dayCount:g.allDay}},api:{coord:function(v,A){return y.dataToPoint(v,A)}}}}te.exports=e},"S/Yl":function(te,U,e){var y=e("Zvw2"),L=e("aX7z"),g=e("+TT/"),v=g.getLayoutRect,A=e("bYtY"),b=A.each;function m(r,a,s){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(r,a,s),this.model=r}m.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:m,_init:function(r,a,s){var i=this.dimension,n=new y(i,L.createScaleByModel(r),[0,0],r.get("type"),r.get("position")),l=n.type==="category";n.onBand=l&&r.get("boundaryGap"),n.inverse=r.get("inverse"),n.orient=r.get("orient"),r.axis=n,n.model=r,n.coordinateSystem=this,this._axis=n},update:function(r,a){r.eachSeries(function(s){if(s.coordinateSystem===this){var i=s.getData();b(i.mapDimension(this.dimension,!0),function(n){this._axis.scale.unionExtentFromData(i,n)},this),L.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(r,a){this._rect=v({left:r.get("left"),top:r.get("top"),right:r.get("right"),bottom:r.get("bottom"),width:r.get("width"),height:r.get("height")},{width:a.getWidth(),height:a.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var r=this._rect,a=this._axis,s=a.isHorizontal(),i=s?[0,r.width]:[0,r.height],n=a.reverse?1:0;a.setExtent(i[n],i[1-n]),this._updateAxisTransform(a,s?r.x:r.y)},_updateAxisTransform:function(r,a){var s=r.getExtent(),i=s[0]+s[1],n=r.isHorizontal();r.toGlobalCoord=n?function(l){return l+a}:function(l){return i-l+a},r.toLocalCoord=n?function(l){return l-a}:function(l){return i-l+a}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(r){var a=this.getRect(),s=this.getAxis(),i=s.orient;return i==="horizontal"?s.contain(s.toLocalCoord(r[0]))&&r[1]>=a.y&&r[1]<=a.y+a.height:s.contain(s.toLocalCoord(r[1]))&&r[0]>=a.y&&r[0]<=a.y+a.height},pointToData:function(r){var a=this.getAxis();return[a.coordToData(a.toLocalCoord(r[a.orient==="horizontal"?0:1]))]},dataToPoint:function(r){var a=this.getAxis(),s=this.getRect(),i=[],n=a.orient==="horizontal"?0:1;return r instanceof Array&&(r=r[0]),i[n]=a.toGlobalCoord(a.dataToCoord(+r)),i[1-n]=n===0?s.y+s.height/2:s.x+s.width/2,i}};var d=m;te.exports=d},"SA+Z":function(te,U,e){var y=e("wTVA"),L=e("EbDI"),g=e("ZhPi"),v=e("wkBT");function A(b){return y(b)||L(b)||g(b)||v()}te.exports=A,te.exports.__esModule=!0,te.exports.default=te.exports},"SA4+":function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("ProS"),v=e("IwbS"),A=e("zYTA"),b=e("bYtY");function m(s,i,n){var l=s[1]-s[0];i=b.map(i,function(o){return{interval:[(o.interval[0]-s[0])/l,(o.interval[1]-s[0])/l]}});var t=i.length,u=0;return function(o){for(var c=u;c<t;c++){var h=i[c].interval;if(h[0]<=o&&o<=h[1]){u=c;break}}if(c===t)for(var c=u-1;c>=0;c--){var h=i[c].interval;if(h[0]<=o&&o<=h[1]){u=c;break}}return c>=0&&c<t&&n[c]}}function d(s,i){var n=s[1]-s[0];return i=[(i[0]-s[0])/n,(i[1]-s[0])/n],function(l){return l>=i[0]&&l<=i[1]}}function r(s){var i=s.dimensions;return i[0]==="lng"&&i[1]==="lat"}var a=g.extendChartView({type:"heatmap",render:function(s,i,n){var l;i.eachComponent("visualMap",function(u){u.eachTargetSeries(function(o){o===s&&(l=u)})}),this.group.removeAll(),this._incrementalDisplayable=null;var t=s.coordinateSystem;t.type==="cartesian2d"||t.type==="calendar"?this._renderOnCartesianAndCalendar(s,n,0,s.getData().count()):r(t)&&this._renderOnGeo(t,s,l,n)},incrementalPrepareRender:function(s,i,n){this.group.removeAll()},incrementalRender:function(s,i,n,l){var t=i.coordinateSystem;t&&this._renderOnCartesianAndCalendar(i,l,s.start,s.end,!0)},_renderOnCartesianAndCalendar:function(s,i,n,l,t){var u=s.coordinateSystem,o,c;if(u.type==="cartesian2d"){var h=u.getAxis("x"),f=u.getAxis("y");o=h.getBandWidth(),c=f.getBandWidth()}for(var w=this.group,x=s.getData(),I="itemStyle",C="emphasis.itemStyle",N="label",S="emphasis.label",E=s.getModel(I).getItemStyle(["color"]),T=s.getModel(C).getItemStyle(),D=s.getModel(N),B=s.getModel(S),R=u.type,F=R==="cartesian2d"?[x.mapDimension("x"),x.mapDimension("y"),x.mapDimension("value")]:[x.mapDimension("time"),x.mapDimension("value")],M=n;M<l;M++){var K;if(R==="cartesian2d"){if(isNaN(x.get(F[2],M)))continue;var j=u.dataToPoint([x.get(F[0],M),x.get(F[1],M)]);K=new v.Rect({shape:{x:Math.floor(Math.round(j[0])-o/2),y:Math.floor(Math.round(j[1])-c/2),width:Math.ceil(o),height:Math.ceil(c)},style:{fill:x.getItemVisual(M,"color"),opacity:x.getItemVisual(M,"opacity")}})}else{if(isNaN(x.get(F[1],M)))continue;K=new v.Rect({z2:1,shape:u.dataToRect([x.get(F[0],M)]).contentShape,style:{fill:x.getItemVisual(M,"color"),opacity:x.getItemVisual(M,"opacity")}})}var H=x.getItemModel(M);x.hasItemOption&&(E=H.getModel(I).getItemStyle(["color"]),T=H.getModel(C).getItemStyle(),D=H.getModel(N),B=H.getModel(S));var k=s.getRawValue(M),P="-";k&&k[2]!=null&&(P=k[2]),v.setLabelStyle(E,T,D,B,{labelFetcher:s,labelDataIndex:M,defaultText:P,isRectText:!0}),K.setStyle(E),v.setHoverStyle(K,x.hasItemOption?T:b.extend({},T)),K.incremental=t,t&&(K.useHoverLayer=!0),w.add(K),x.setItemGraphicEl(M,K)}},_renderOnGeo:function(s,i,n,l){var t=n.targetVisuals.inRange,u=n.targetVisuals.outOfRange,o=i.getData(),c=this._hmLayer||this._hmLayer||new A;c.blurSize=i.get("blurSize"),c.pointSize=i.get("pointSize"),c.minOpacity=i.get("minOpacity"),c.maxOpacity=i.get("maxOpacity");var h=s.getViewRect().clone(),f=s.getRoamTransform();h.applyTransform(f);var w=Math.max(h.x,0),x=Math.max(h.y,0),I=Math.min(h.width+h.x,l.getWidth()),C=Math.min(h.height+h.y,l.getHeight()),N=I-w,S=C-x,E=[o.mapDimension("lng"),o.mapDimension("lat"),o.mapDimension("value")],T=o.mapArray(E,function(F,M,K){var j=s.dataToPoint([F,M]);return j[0]-=w,j[1]-=x,j.push(K),j}),D=n.getExtent(),B=n.type==="visualMap.continuous"?d(D,n.option.range):m(D,n.getPieceList(),n.option.selected);c.update(T,N,S,t.color.getNormalizer(),{inRange:t.color.getColorMapper(),outOfRange:u.color.getColorMapper()},B);var R=new v.Image({style:{width:N,height:S,x:w,y:x,image:c.canvas},silent:!0});this.group.add(R)},dispose:function(){}});te.exports=a},SA8n:function(te,U,e){var y=e("Sj9i"),L=e("QBsz"),g=e("U/Mo"),v=g.getSymbolSize,A=[],b=[],m=[],d=y.quadraticAt,r=L.distSquare,a=Math.abs;function s(n,l,t){for(var u=n[0],o=n[1],c=n[2],h=Infinity,f,w=t*t,x=.1,I=.1;I<=.9;I+=.1){A[0]=d(u[0],o[0],c[0],I),A[1]=d(u[1],o[1],c[1],I);var C=a(r(A,l)-w);C<h&&(h=C,f=I)}for(var N=0;N<32;N++){var S=f+x;b[0]=d(u[0],o[0],c[0],f),b[1]=d(u[1],o[1],c[1],f),m[0]=d(u[0],o[0],c[0],S),m[1]=d(u[1],o[1],c[1],S);var C=r(b,l)-w;if(a(C)<.01)break;var E=r(m,l)-w;x/=2,C<0?E>=0?f=f+x:f=f-x:E>=0?f=f-x:f=f+x}return f}function i(n,l){var t=[],u=y.quadraticSubdivide,o=[[],[],[]],c=[[],[]],h=[];l/=2,n.eachEdge(function(f,w){var x=f.getLayout(),I=f.getVisual("fromSymbol"),C=f.getVisual("toSymbol");x.__original||(x.__original=[L.clone(x[0]),L.clone(x[1])],x[2]&&x.__original.push(L.clone(x[2])));var N=x.__original;if(x[2]!=null){if(L.copy(o[0],N[0]),L.copy(o[1],N[2]),L.copy(o[2],N[1]),I&&I!=="none"){var S=v(f.node1),E=s(o,N[0],S*l);u(o[0][0],o[1][0],o[2][0],E,t),o[0][0]=t[3],o[1][0]=t[4],u(o[0][1],o[1][1],o[2][1],E,t),o[0][1]=t[3],o[1][1]=t[4]}if(C&&C!=="none"){var S=v(f.node2),E=s(o,N[1],S*l);u(o[0][0],o[1][0],o[2][0],E,t),o[1][0]=t[1],o[2][0]=t[2],u(o[0][1],o[1][1],o[2][1],E,t),o[1][1]=t[1],o[2][1]=t[2]}L.copy(x[0],o[0]),L.copy(x[1],o[2]),L.copy(x[2],o[1])}else{if(L.copy(c[0],N[0]),L.copy(c[1],N[1]),L.sub(h,c[1],c[0]),L.normalize(h,h),I&&I!=="none"){var S=v(f.node1);L.scaleAndAdd(c[0],c[0],h,S*l)}if(C&&C!=="none"){var S=v(f.node2);L.scaleAndAdd(c[1],c[1],h,-S*l)}L.copy(x[0],c[0]),L.copy(x[1],c[1])}})}te.exports=i},SJMd:function(te,U){/**
|
|
|
* @license
|
|
|
* Copyright (C) 2006 Google Inc.
|
|
|
*
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
* You may obtain a copy of the License at
|
|
|
*
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
*
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
* See the License for the specific language governing permissions and
|
|
|
* limitations under the License.
|
|
|
*/var e,y,L,g=!1,v,A;window.PR_SHOULD_USE_CONTINUATION=!0;var b,m;(function(){var d=window,r=["break,continue,do,else,for,if,return,while"],a=[r,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],s=[a,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],i=[s,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],n=[s,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],l=[s,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],t="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",u=[s,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],o="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",c=[r,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],h=[r,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],f=[r,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],w=[i,l,n,u,o,c,h,f],x=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,I="str",C="kwd",N="com",S="typ",E="lit",T="pun",D="pln",B="tag",R="dec",F="src",M="atn",K="atv",j="nocode",H="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function k(qe){for(var tt=0,Dt=!1,ct=!1,St=0,rt=qe.length;St<rt;++St){var ht=qe[St];if(ht.ignoreCase)ct=!0;else if(/[a-z]/i.test(ht.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){Dt=!0,ct=!1;break}}var je={b:8,t:9,n:10,v:11,f:12,r:13};function Me(lt){var Te=lt.charCodeAt(0);if(Te!==92)return Te;var mt=lt.charAt(1);return Te=je[mt],Te||("0"<=mt&&mt<="7"?parseInt(lt.substring(1),8):mt==="u"||mt==="x"?parseInt(lt.substring(2),16):lt.charCodeAt(1))}function Ne(lt){if(lt<32)return(lt<16?"\\x0":"\\x")+lt.toString(16);var Te=String.fromCharCode(lt);return Te==="\\"||Te==="-"||Te==="]"||Te==="^"?"\\"+Te:Te}function it(lt){var Te=lt.substring(1,lt.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")),mt=[],tn=Te[0]==="^",Vt=["["];tn&&Vt.push("^");for(var Yt=tn?1:0,Qt=Te.length;Yt<Qt;++Yt){var an=Te[Yt];if(/\\[bdsw]/i.test(an))Vt.push(an);else{var on=Me(an),vt;Yt+2<Qt&&Te[Yt+1]==="-"?(vt=Me(Te[Yt+2]),Yt+=2):vt=on,mt.push([on,vt]),vt<65||on>122||(vt<65||on>90||mt.push([Math.max(65,on)|32,Math.min(vt,90)|32]),vt<97||on>122||mt.push([Math.max(97,on)&~32,Math.min(vt,122)&~32]))}}mt.sort(function(We,Je){return We[0]-Je[0]||Je[1]-We[1]});for(var de=[],he=[],Yt=0;Yt<mt.length;++Yt){var Pt=mt[Yt];Pt[0]<=he[1]+1?he[1]=Math.max(he[1],Pt[1]):de.push(he=Pt)}for(var Yt=0;Yt<de.length;++Yt){var Pt=de[Yt];Vt.push(Ne(Pt[0])),Pt[1]>Pt[0]&&(Pt[1]+1>Pt[0]&&Vt.push("-"),Vt.push(Ne(Pt[1])))}return Vt.push("]"),Vt.join("")}function wt(lt){for(var Te=lt.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")),mt=Te.length,tn=[],Vt=0,Yt=0;Vt<mt;++Vt){var Qt=Te[Vt];if(Qt==="(")++Yt;else if(Qt.charAt(0)==="\\"){var an=+Qt.substring(1);an&&(an<=Yt?tn[an]=-1:Te[Vt]=Ne(an))}}for(var Vt=1;Vt<tn.length;++Vt)tn[Vt]===-1&&(tn[Vt]=++tt);for(var Vt=0,Yt=0;Vt<mt;++Vt){var Qt=Te[Vt];if(Qt==="(")++Yt,tn[Yt]||(Te[Vt]="(?:");else if(Qt.charAt(0)==="\\"){var an=+Qt.substring(1);an&&an<=Yt&&(Te[Vt]="\\"+tn[an])}}for(var Vt=0;Vt<mt;++Vt)Te[Vt]==="^"&&Te[Vt+1]!=="^"&&(Te[Vt]="");if(lt.ignoreCase&&Dt)for(var Vt=0;Vt<mt;++Vt){var Qt=Te[Vt],on=Qt.charAt(0);Qt.length>=2&&on==="["?Te[Vt]=it(Qt):on!=="\\"&&(Te[Vt]=Qt.replace(/[a-zA-Z]/g,function(he){var Pt=he.charCodeAt(0);return"["+String.fromCharCode(Pt&~32,Pt|32)+"]"}))}return Te.join("")}for(var jt=[],St=0,rt=qe.length;St<rt;++St){var ht=qe[St];if(ht.global||ht.multiline)throw new Error(""+ht);jt.push("(?:"+wt(ht)+")")}return new RegExp(jt.join("|"),ct?"gi":"g")}function P(qe,tt){var Dt=/(?:^|\s)nocode(?:\s|$)/,ct=[],St=0,rt=[],ht=0;function je(Me){var Ne=Me.nodeType;if(Ne==1){if(Dt.test(Me.className))return;for(var it=Me.firstChild;it;it=it.nextSibling)je(it);var wt=Me.nodeName.toLowerCase();(wt==="br"||wt==="li")&&(ct[ht]=`
|
|
|
`,rt[ht<<1]=St++,rt[ht++<<1|1]=Me)}else if(Ne==3||Ne==4){var jt=Me.nodeValue;jt.length&&(tt?jt=jt.replace(/\r\n?/g,`
|
|
|
`):jt=jt.replace(/[ \t\r\n]+/g," "),ct[ht]=jt,rt[ht<<1]=St,St+=jt.length,rt[ht++<<1|1]=Me)}}return je(qe),{sourceCode:ct.join("").replace(/\n$/,""),spans:rt}}function z(qe,tt,Dt,ct,St){if(!Dt)return;var rt={sourceNode:qe,pre:1,langExtension:null,numberLines:null,sourceCode:Dt,spans:null,basePos:tt,decorations:null};ct(rt),St.push.apply(St,rt.decorations)}var Y=/\S/;function _(qe){for(var tt=void 0,Dt=qe.firstChild;Dt;Dt=Dt.nextSibling){var ct=Dt.nodeType;tt=ct===1?tt?qe:Dt:ct===3&&Y.test(Dt.nodeValue)?qe:tt}return tt===qe?void 0:tt}function G(qe,tt){var Dt={},ct;(function(){for(var ht=qe.concat(tt),je=[],Me={},Ne=0,it=ht.length;Ne<it;++Ne){var wt=ht[Ne],jt=wt[3];if(jt)for(var lt=jt.length;--lt>=0;)Dt[jt.charAt(lt)]=wt;var Te=wt[1],mt=""+Te;Me.hasOwnProperty(mt)||(je.push(Te),Me[mt]=null)}je.push(/[\0-\uffff]/),ct=k(je)})();var St=tt.length,rt=function ht(je){for(var Me=je.sourceCode,Ne=je.basePos,it=je.sourceNode,wt=[Ne,D],jt=0,lt=Me.match(ct)||[],Te={},mt=0,tn=lt.length;mt<tn;++mt){var Vt=lt[mt],Yt=Te[Vt],Qt=void 0,an;if(typeof Yt=="string")an=!1;else{var on=Dt[Vt.charAt(0)];if(on)Qt=Vt.match(on[1]),Yt=on[0];else{for(var vt=0;vt<St;++vt)if(on=tt[vt],Qt=Vt.match(on[1]),Qt){Yt=on[0];break}Qt||(Yt=D)}an=Yt.length>=5&&Yt.substring(0,5)==="lang-",an&&!(Qt&&typeof Qt[1]=="string")&&(an=!1,Yt=F),an||(Te[Vt]=Yt)}var de=jt;if(jt+=Vt.length,!an)wt.push(Ne+de,Yt);else{var he=Qt[1],Pt=Vt.indexOf(he),We=Pt+he.length;Qt[2]&&(We=Vt.length-Qt[2].length,Pt=We-he.length);var Je=Yt.substring(5);z(it,Ne+de,Vt.substring(0,Pt),ht,wt),z(it,Ne+de+Pt,he,ke(Je,he),wt),z(it,Ne+de+We,Vt.substring(We),ht,wt)}}je.decorations=wt};return rt}function J(qe){var tt=[],Dt=[];qe.tripleQuotedStrings?tt.push([I,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):qe.multiLineStrings?tt.push([I,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):tt.push([I,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),qe.verbatimStrings&&Dt.push([I,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var ct=qe.hashComments;ct&&(qe.cStyleComments?(ct>1?tt.push([N,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):tt.push([N,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),Dt.push([I,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):tt.push([N,/^#[^\r\n]*/,null,"#"])),qe.cStyleComments&&(Dt.push([N,/^\/\/[^\r\n]*/,null]),Dt.push([N,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var St=qe.regexLiterals;if(St){var rt=St>1?"":`
|
|
|
\r`,ht=rt?".":"[\\S\\s]",je="/(?=[^/*"+rt+"])(?:[^/\\x5B\\x5C"+rt+"]|\\x5C"+ht+"|\\x5B(?:[^\\x5C\\x5D"+rt+"]|\\x5C"+ht+")*(?:\\x5D|$))+/";Dt.push(["lang-regex",RegExp("^"+H+"("+je+")")])}var Me=qe.types;Me&&Dt.push([S,Me]);var Ne=(""+qe.keywords).replace(/^ | $/g,"");Ne.length&&Dt.push([C,new RegExp("^(?:"+Ne.replace(/[\s,]+/g,"|")+")\\b"),null]),tt.push([D,/^\s+/,null,` \r
|
|
|
\xA0`]);var it="^.[^\\s\\w.$@'\"`/\\\\]*";return qe.regexLiterals&&(it+="(?!s*/)"),Dt.push([E,/^@[a-z_$][a-z_$@0-9]*/i,null],[S,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[D,/^[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"],[D,/^\\[\s\S]?/,null],[T,new RegExp(it),null]),G(tt,Dt)}var ue=J({keywords:w,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function q(qe,tt,Dt){for(var ct=/(?:^|\s)nocode(?:\s|$)/,St=/\r\n?|\n/,rt=qe.ownerDocument,ht=rt.createElement("li");qe.firstChild;)ht.appendChild(qe.firstChild);var je=[ht];function Me(Te){var mt=Te.nodeType;if(mt==1&&!ct.test(Te.className))if(Te.nodeName==="br")Ne(Te),Te.parentNode&&Te.parentNode.removeChild(Te);else for(var tn=Te.firstChild;tn;tn=tn.nextSibling)Me(tn);else if((mt==3||mt==4)&&Dt){var Vt=Te.nodeValue,Yt=Vt.match(St);if(Yt){var Qt=Vt.substring(0,Yt.index);Te.nodeValue=Qt;var an=Vt.substring(Yt.index+Yt[0].length);if(an){var on=Te.parentNode;on.insertBefore(rt.createTextNode(an),Te.nextSibling)}Ne(Te),Qt||Te.parentNode.removeChild(Te)}}}function Ne(Te){for(;!Te.nextSibling;)if(Te=Te.parentNode,!Te)return;function mt(Yt,Qt){var an=Qt?Yt.cloneNode(!1):Yt,on=Yt.parentNode;if(on){var vt=mt(on,1),de=Yt.nextSibling;vt.appendChild(an);for(var he=de;he;he=de)de=he.nextSibling,vt.appendChild(he)}return an}for(var tn=mt(Te.nextSibling,0),Vt;(Vt=tn.parentNode)&&Vt.nodeType===1;)tn=Vt;je.push(tn)}for(var it=0;it<je.length;++it)Me(je[it]);tt===(tt|0)&&je[0].setAttribute("value",tt);var wt=rt.createElement("ol");wt.className="linenums";for(var jt=Math.max(0,tt-1|0)||0,it=0,lt=je.length;it<lt;++it)ht=je[it],ht.className="L"+(it+jt)%10,ht.firstChild||ht.appendChild(rt.createTextNode("\xA0")),wt.appendChild(ht);qe.appendChild(wt)}function re(qe){var tt=/\bMSIE\s(\d+)/.exec(navigator.userAgent);tt=tt&&+tt[1]<=8;var Dt=/\n/g,ct=qe.sourceCode,St=ct.length,rt=0,ht=qe.spans,je=ht.length,Me=0,Ne=qe.decorations,it=Ne.length,wt=0;Ne[it]=St;var jt,lt;for(lt=jt=0;lt<it;)Ne[lt]!==Ne[lt+2]?(Ne[jt++]=Ne[lt++],Ne[jt++]=Ne[lt++]):lt+=2;for(it=jt,lt=jt=0;lt<it;){for(var Te=Ne[lt],mt=Ne[lt+1],tn=lt+2;tn+2<=it&&Ne[tn+1]===mt;)tn+=2;Ne[jt++]=Te,Ne[jt++]=mt,lt=tn}it=Ne.length=jt;var Vt=qe.sourceNode,Yt="";Vt&&(Yt=Vt.style.display,Vt.style.display="none");try{for(var Qt=null;Me<je;){var an=ht[Me],on=ht[Me+2]||St,vt=Ne[wt+2]||St,tn=Math.min(on,vt),de=ht[Me+1],he;if(de.nodeType!==1&&(he=ct.substring(rt,tn))){tt&&(he=he.replace(Dt,"\r")),de.nodeValue=he;var Pt=de.ownerDocument,We=Pt.createElement("span");We.className=Ne[wt+1];var Je=de.parentNode;Je.replaceChild(We,de),We.appendChild(de),rt<on&&(ht[Me+1]=de=Pt.createTextNode(ct.substring(tn,on)),Je.insertBefore(de,We.nextSibling))}rt=tn,rt>=on&&(Me+=2),rt>=vt&&(wt+=2)}}finally{Vt&&(Vt.style.display=Yt)}}var me={};function be(qe,tt){for(var Dt=tt.length;--Dt>=0;){var ct=tt[Dt];me.hasOwnProperty(ct)?d.console&&console.warn("cannot override language handler %s",ct):me[ct]=qe}}function ke(qe,tt){return qe&&me.hasOwnProperty(qe)||(qe=/^\s*</.test(tt)?"default-markup":"default-code"),me[qe]}be(ue,["default-code"]),be(G([],[[D,/^[^<?]+/],[R,/^<!\w[^>]*(?:>|$)/],[N,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[T,/^(?:<[%?]|[%?]>)/],["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"]),be(G([[D,/^[\s]+/,null,` \r
|
|
|
`],[K,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[B,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[M,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[T,/^[=<>\/]+/],["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"]),be(G([],[[K,/^[\s\S]+/]]),["uq.val"]),be(J({keywords:i,hashComments:!0,cStyleComments:!0,types:x}),["c","cc","cpp","cxx","cyc","m"]),be(J({keywords:"null,true,false"}),["json"]),be(J({keywords:l,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:x}),["cs"]),be(J({keywords:n,cStyleComments:!0}),["java"]),be(J({keywords:f,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),be(J({keywords:c,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),be(J({keywords:o,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),be(J({keywords:h,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),be(J({keywords:u,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),be(J({keywords:t,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),be(G([],[[I,/^[\s\S]+/]]),["regex"]);function ce(qe){var tt=qe.langExtension;try{var Dt=P(qe.sourceNode,qe.pre),ct=Dt.sourceCode;qe.sourceCode=ct,qe.spans=Dt.spans,qe.basePos=0,ke(tt,ct)(qe),re(qe)}catch(St){d.console&&console.log(St&&St.stack||St)}}function Ee(qe,tt,Dt){var ct=Dt||!1,St=tt||null,rt=document.createElement("div");rt.innerHTML="<pre>"+qe+"</pre>",rt=rt.firstChild,ct&&q(rt,ct,!0);var ht={langExtension:St,numberLines:ct,sourceNode:rt,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return ce(ht),rt.innerHTML}function pe(qe,tt){var Dt=tt||document.body,ct=Dt.ownerDocument||document;function St(an){return Dt.getElementsByTagName(an)}for(var rt=[St("pre"),St("code"),St("xmp")],ht=[],je=0;je<rt.length;++je)for(var Me=0,Ne=rt[je].length;Me<Ne;++Me)ht.push(rt[je][Me]);rt=null;var it=Date;it.now||(it={now:function(){return+new Date}});var wt=0,jt=/\blang(?:uage)?-([\w.]+)(?!\S)/,lt=/\bprettyprint\b/,Te=/\bprettyprinted\b/,mt=/pre|xmp/i,tn=/^code$/i,Vt=/^(?:pre|code|xmp)$/i,Yt={};function Qt(){for(var an=d.PR_SHOULD_USE_CONTINUATION?it.now()+250:Infinity;wt<ht.length&&it.now()<an;wt++){for(var on=ht[wt],vt=Yt,de=on;de=de.previousSibling;){var he=de.nodeType,Pt=(he===7||he===8)&&de.nodeValue;if(Pt?!/^\??prettify\b/.test(Pt):he!==3||/\S/.test(de.nodeValue))break;if(Pt){vt={},Pt.replace(/\b(\w+)=([\w:.%+-]+)/g,function(Pe,Jt,bn){vt[Jt]=bn});break}}var We=on.className;if((vt!==Yt||lt.test(We))&&!Te.test(We)){for(var Je=!1,Ln=on.parentNode;Ln;Ln=Ln.parentNode){var jn=Ln.tagName;if(Vt.test(jn)&&Ln.className&<.test(Ln.className)){Je=!0;break}}if(!Je){on.className+=" prettyprinted";var Sn=vt.lang;if(!Sn){Sn=We.match(jt);var Xn;!Sn&&(Xn=_(on))&&tn.test(Xn.tagName)&&(Sn=Xn.className.match(jt)),Sn&&(Sn=Sn[1])}var rr;if(mt.test(on.tagName))rr=1;else{var hr=on.currentStyle,gn=ct.defaultView,vn=hr?hr.whiteSpace:gn&&gn.getComputedStyle?gn.getComputedStyle(on,null).getPropertyValue("white-space"):0;rr=vn&&vn.substring(0,3)==="pre"}var Ft=vt.linenums;(Ft=Ft==="true"||+Ft)||(Ft=We.match(/\blinenums\b(?::(\d+))?/),Ft=Ft?Ft[1]&&Ft[1].length?+Ft[1]:!0:!1),Ft&&q(on,Ft,rr);var Ye={langExtension:Sn,sourceNode:on,numberLines:Ft,pre:rr,sourceCode:null,basePos:null,spans:null,decorations:null};ce(Ye)}}}wt<ht.length?d.setTimeout(Qt,250):typeof qe=="function"&&qe()}Qt()}var Se=d.PR={createSimpleLexer:G,registerLangHandler:be,sourceDecorator:J,PR_ATTRIB_NAME:M,PR_ATTRIB_VALUE:K,PR_COMMENT:N,PR_DECLARATION:R,PR_KEYWORD:C,PR_LITERAL:E,PR_NOCODE:j,PR_PLAIN:D,PR_PUNCTUATION:T,PR_SOURCE:F,PR_STRING:I,PR_TAG:B,PR_TYPE:S,prettyPrintOne:g?d.prettyPrintOne=Ee:b=Ee,prettyPrint:m=g?d.prettyPrint=pe:m=pe},st=d.define;typeof st=="function"&&st.amd&&st("google-code-prettify",[],function(){return Se})})()},SKnc:function(te,U,e){var y=e("bYtY"),L=e("QuXc"),g=function(b,m,d,r,a,s){this.x=b==null?0:b,this.y=m==null?0:m,this.x2=d==null?1:d,this.y2=r==null?0:r,this.type="linear",this.global=s||!1,L.call(this,a)};g.prototype={constructor:g},y.inherits(g,L);var v=g;te.exports=v},"SKx+":function(te,U,e){var y=e("ProS"),L=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}}}),g=L;te.exports=g},SMc4:function(te,U,e){var y=e("bYtY"),L=e("bLfw"),g=e("nkfE"),v=e("ICMv"),A=L.extend({type:"cartesian2dAxis",axis:null,init:function(){A.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){A.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){A.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function b(r,a){return a.type||(a.data?"category":"value")}y.merge(A.prototype,v);var m={offset:0};g("x",A,b,m),g("y",A,b,m);var d=A;te.exports=d},SRve:function(te,U,e){"use strict";Object.defineProperty(U,"__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"};U.default=y},SUKs:function(te,U,e){var y=e("LPTA"),L=y.debugMode,g=function(){};L===1&&(g=console.error);var v=g;te.exports=v},Sdc0:function(te,U,e){"use strict";var y=e("pVnL"),L=e.n(y),g=e("lSNA"),v=e.n(g),A=e("q1tI"),b=e("rePB"),m=e("ODXe"),d=e("Ff2n"),r=e("TSYQ"),a=e.n(r),s=e("6cGi"),i=e("4IlW"),n=A.forwardRef(function(C,N){var S,E=C.prefixCls,T=E===void 0?"rc-switch":E,D=C.className,B=C.checked,R=C.defaultChecked,F=C.disabled,M=C.loadingIcon,K=C.checkedChildren,j=C.unCheckedChildren,H=C.onClick,k=C.onChange,P=C.onKeyDown,z=Object(d.a)(C,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),Y=Object(s.a)(!1,{value:B,defaultValue:R}),_=Object(m.a)(Y,2),G=_[0],J=_[1];function ue(be,ke){var ce=G;return F||(ce=be,J(ce),k==null||k(ce,ke)),ce}function q(be){be.which===i.a.LEFT?ue(!1,be):be.which===i.a.RIGHT&&ue(!0,be),P==null||P(be)}function re(be){var ke=ue(!G,be);H==null||H(ke,be)}var me=a()(T,D,(S={},Object(b.a)(S,"".concat(T,"-checked"),G),Object(b.a)(S,"".concat(T,"-disabled"),F),S));return A.createElement("button",Object.assign({},z,{type:"button",role:"switch","aria-checked":G,disabled:F,className:me,ref:N,onKeyDown:q,onClick:re}),M,A.createElement("span",{className:"".concat(T,"-inner")},G?K:j))});n.displayName="Switch";var l=n,t=e("gZBC"),u=e.n(t),o=e("g0mS"),c=e("H84U"),h=e("3Nzz"),f=e("uaoM"),w=function(C,N){var S={};for(var E in C)Object.prototype.hasOwnProperty.call(C,E)&&N.indexOf(E)<0&&(S[E]=C[E]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,E=Object.getOwnPropertySymbols(C);T<E.length;T++)N.indexOf(E[T])<0&&Object.prototype.propertyIsEnumerable.call(C,E[T])&&(S[E[T]]=C[E[T]]);return S},x=A.forwardRef(function(C,N){var S,E=C.prefixCls,T=C.size,D=C.loading,B=C.className,R=B===void 0?"":B,F=C.disabled,M=w(C,["prefixCls","size","loading","className","disabled"]);Object(f.a)("checked"in M||!("value"in M),"Switch","`value` is not a valid prop, do you mean `checked`?");var K=A.useContext(c.b),j=K.getPrefixCls,H=K.direction,k=A.useContext(h.b),P=j("switch",E),z=A.createElement("div",{className:"".concat(P,"-handle")},D&&A.createElement(u.a,{className:"".concat(P,"-loading-icon")})),Y=a()(R,(S={},v()(S,"".concat(P,"-small"),(T||k)==="small"),v()(S,"".concat(P,"-loading"),D),v()(S,"".concat(P,"-rtl"),H==="rtl"),S));return A.createElement(o.a,{insertExtraNode:!0},A.createElement(l,L()({},M,{prefixCls:P,className:Y,disabled:F||D,ref:N,loadingIcon:z})))});x.__ANT_SWITCH=!0,x.displayName="Switch";var I=U.a=x},SehX:function(te,U,e){var y=e("ProS"),L=e("bYtY"),g=e("2B6p"),v=g.updateCenterAndZoom;y.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(A,b){var m=A.componentType||"series";b.eachComponent({mainType:m,query:A},function(d){var r=d.coordinateSystem;if(r.type!=="geo")return;var a=v(r,A,d.get("scaleLimit"));d.setCenter&&d.setCenter(a.center),d.setZoom&&d.setZoom(a.zoom),m==="series"&&L.each(d.seriesGroup,function(s){s.setCenter(a.center),s.setZoom(a.zoom)})})})},SgGq:function(te,U,e){var y=e("bYtY"),L=e("H6uX"),g=e("YH21"),v=e("pP6R");function A(t){this.pointerChecker,this._zr=t,this._opt={};var u=y.bind,o=u(b,this),c=u(m,this),h=u(d,this),f=u(r,this),w=u(a,this);L.call(this),this.setPointerChecker=function(x){this.pointerChecker=x},this.enable=function(x,I){this.disable(),this._opt=y.defaults(y.clone(I)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),x==null&&(x=!0),(x===!0||x==="move"||x==="pan")&&(t.on("mousedown",o),t.on("mousemove",c),t.on("mouseup",h)),(x===!0||x==="scale"||x==="zoom")&&(t.on("mousewheel",f),t.on("pinch",w))},this.disable=function(){t.off("mousedown",o),t.off("mousemove",c),t.off("mouseup",h),t.off("mousewheel",f),t.off("pinch",w)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}y.mixin(A,L);function b(t){if(g.isMiddleOrRightButtonOnMouseUpDown(t)||t.target&&t.target.draggable)return;var u=t.offsetX,o=t.offsetY;this.pointerChecker&&this.pointerChecker(t,u,o)&&(this._x=u,this._y=o,this._dragging=!0)}function m(t){if(!this._dragging||!n("moveOnMouseMove",t,this._opt)||t.gestureEvent==="pinch"||v.isTaken(this._zr,"globalPan"))return;var u=t.offsetX,o=t.offsetY,c=this._x,h=this._y,f=u-c,w=o-h;this._x=u,this._y=o,this._opt.preventDefaultMouseMove&&g.stop(t.event),i(this,"pan","moveOnMouseMove",t,{dx:f,dy:w,oldX:c,oldY:h,newX:u,newY:o})}function d(t){g.isMiddleOrRightButtonOnMouseUpDown(t)||(this._dragging=!1)}function r(t){var u=n("zoomOnMouseWheel",t,this._opt),o=n("moveOnMouseWheel",t,this._opt),c=t.wheelDelta,h=Math.abs(c),f=t.offsetX,w=t.offsetY;if(c===0||!u&&!o)return;if(u){var x=h>3?1.4:h>1?1.2:1.1,I=c>0?x:1/x;s(this,"zoom","zoomOnMouseWheel",t,{scale:I,originX:f,originY:w})}if(o){var C=Math.abs(c),N=(c>0?1:-1)*(C>3?.4:C>1?.15:.05);s(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:N,originX:f,originY:w})}}function a(t){if(v.isTaken(this._zr,"globalPan"))return;var u=t.pinchScale>1?1.1:1/1.1;s(this,"zoom",null,t,{scale:u,originX:t.pinchX,originY:t.pinchY})}function s(t,u,o,c,h){t.pointerChecker&&t.pointerChecker(c,h.originX,h.originY)&&(g.stop(c.event),i(t,u,o,c,h))}function i(t,u,o,c,h){h.isAvailableBehavior=y.bind(n,null,o,c),t.trigger(u,h)}function n(t,u,o){var c=o[t];return!t||c&&(!y.isString(c)||u.event[c+"Key"])}var l=A;te.exports=l},Sj0X:function(te,U,e){"use strict";var y=e("284h"),L=e("TqRt");Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var g=L(e("3tO9")),v=y(e("q1tI")),A=L(e("XuBP")),b=L(e("KQxl")),m=function(a,s){return v.createElement(b.default,(0,g.default)((0,g.default)({},a),{},{ref:s,icon:A.default}))};m.displayName="DownOutlined";var d=v.forwardRef(m);U.default=d},Sj9i:function(te,U,e){var y=e("QBsz"),L=y.create,g=y.distSquare,v=Math.pow,A=Math.sqrt,b=1e-8,m=1e-4,d=A(3),r=1/3,a=L(),s=L(),i=L();function n(E){return E>-b&&E<b}function l(E){return E>b||E<-b}function t(E,T,D,B,R){var F=1-R;return F*F*(F*E+3*R*T)+R*R*(R*B+3*F*D)}function u(E,T,D,B,R){var F=1-R;return 3*(((T-E)*F+2*(D-T)*R)*F+(B-D)*R*R)}function o(E,T,D,B,R,F){var M=B+3*(T-D)-E,K=3*(D-T*2+E),j=3*(T-E),H=E-R,k=K*K-3*M*j,P=K*j-9*M*H,z=j*j-3*K*H,Y=0;if(n(k)&&n(P))if(n(K))F[0]=0;else{var _=-j/K;_>=0&&_<=1&&(F[Y++]=_)}else{var G=P*P-4*k*z;if(n(G)){var J=P/k,_=-K/M+J,ue=-J/2;_>=0&&_<=1&&(F[Y++]=_),ue>=0&&ue<=1&&(F[Y++]=ue)}else if(G>0){var q=A(G),re=k*K+1.5*M*(-P+q),me=k*K+1.5*M*(-P-q);re<0?re=-v(-re,r):re=v(re,r),me<0?me=-v(-me,r):me=v(me,r);var _=(-K-(re+me))/(3*M);_>=0&&_<=1&&(F[Y++]=_)}else{var be=(2*k*K-3*M*P)/(2*A(k*k*k)),ke=Math.acos(be)/3,ce=A(k),Ee=Math.cos(ke),_=(-K-2*ce*Ee)/(3*M),ue=(-K+ce*(Ee+d*Math.sin(ke)))/(3*M),pe=(-K+ce*(Ee-d*Math.sin(ke)))/(3*M);_>=0&&_<=1&&(F[Y++]=_),ue>=0&&ue<=1&&(F[Y++]=ue),pe>=0&&pe<=1&&(F[Y++]=pe)}}return Y}function c(E,T,D,B,R){var F=6*D-12*T+6*E,M=9*T+3*B-3*E-9*D,K=3*T-3*E,j=0;if(n(M)){if(l(F)){var H=-K/F;H>=0&&H<=1&&(R[j++]=H)}}else{var k=F*F-4*M*K;if(n(k))R[0]=-F/(2*M);else if(k>0){var P=A(k),H=(-F+P)/(2*M),z=(-F-P)/(2*M);H>=0&&H<=1&&(R[j++]=H),z>=0&&z<=1&&(R[j++]=z)}}return j}function h(E,T,D,B,R,F){var M=(T-E)*R+E,K=(D-T)*R+T,j=(B-D)*R+D,H=(K-M)*R+M,k=(j-K)*R+K,P=(k-H)*R+H;F[0]=E,F[1]=M,F[2]=H,F[3]=P,F[4]=P,F[5]=k,F[6]=j,F[7]=B}function f(E,T,D,B,R,F,M,K,j,H,k){var P,z=.005,Y=Infinity,_,G,J,ue;a[0]=j,a[1]=H;for(var q=0;q<1;q+=.05)s[0]=t(E,D,R,M,q),s[1]=t(T,B,F,K,q),J=g(a,s),J<Y&&(P=q,Y=J);Y=Infinity;for(var re=0;re<32&&!(z<m);re++)_=P-z,G=P+z,s[0]=t(E,D,R,M,_),s[1]=t(T,B,F,K,_),J=g(s,a),_>=0&&J<Y?(P=_,Y=J):(i[0]=t(E,D,R,M,G),i[1]=t(T,B,F,K,G),ue=g(i,a),G<=1&&ue<Y?(P=G,Y=ue):z*=.5);return k&&(k[0]=t(E,D,R,M,P),k[1]=t(T,B,F,K,P)),A(Y)}function w(E,T,D,B){var R=1-B;return R*(R*E+2*B*T)+B*B*D}function x(E,T,D,B){return 2*((1-B)*(T-E)+B*(D-T))}function I(E,T,D,B,R){var F=E-2*T+D,M=2*(T-E),K=E-B,j=0;if(n(F)){if(l(M)){var H=-K/M;H>=0&&H<=1&&(R[j++]=H)}}else{var k=M*M-4*F*K;if(n(k)){var H=-M/(2*F);H>=0&&H<=1&&(R[j++]=H)}else if(k>0){var P=A(k),H=(-M+P)/(2*F),z=(-M-P)/(2*F);H>=0&&H<=1&&(R[j++]=H),z>=0&&z<=1&&(R[j++]=z)}}return j}function C(E,T,D){var B=E+D-2*T;return B===0?.5:(E-T)/B}function N(E,T,D,B,R){var F=(T-E)*B+E,M=(D-T)*B+T,K=(M-F)*B+F;R[0]=E,R[1]=F,R[2]=K,R[3]=K,R[4]=M,R[5]=D}function S(E,T,D,B,R,F,M,K,j){var H,k=.005,P=Infinity;a[0]=M,a[1]=K;for(var z=0;z<1;z+=.05){s[0]=w(E,D,R,z),s[1]=w(T,B,F,z);var Y=g(a,s);Y<P&&(H=z,P=Y)}P=Infinity;for(var _=0;_<32&&!(k<m);_++){var G=H-k,J=H+k;s[0]=w(E,D,R,G),s[1]=w(T,B,F,G);var Y=g(s,a);if(G>=0&&Y<P)H=G,P=Y;else{i[0]=w(E,D,R,J),i[1]=w(T,B,F,J);var ue=g(i,a);J<=1&&ue<P?(H=J,P=ue):k*=.5}}return j&&(j[0]=w(E,D,R,H),j[1]=w(T,B,F,H)),A(P)}U.cubicAt=t,U.cubicDerivativeAt=u,U.cubicRootAt=o,U.cubicExtrema=c,U.cubicSubdivide=h,U.cubicProjectPoint=f,U.quadraticAt=w,U.quadraticDerivativeAt=x,U.quadraticRootAt=I,U.quadraticExtremum=C,U.quadraticSubdivide=N,U.quadraticProjectPoint=S},Sp2Z:function(te,U,e){var y=e("3LNs"),L=e("/y7N"),g=e("AVZG"),v=e("Znkb"),A=y.extend({makeElOption:function(a,s,i,n,l){var t=i.axis,u=t.grid,o=n.get("type"),c=b(u,t).getOtherAxis(t).getGlobalExtent(),h=t.toGlobalCoord(t.dataToCoord(s,!0));if(o&&o!=="none"){var f=L.buildElStyle(n),w=m[o](t,h,c);w.style=f,a.graphicKey=w.type,a.pointer=w}var x=g.layout(u.model,i);L.buildCartesianSingleLabelElOption(s,a,x,i,n,l)},getHandleTransform:function(a,s,i){var n=g.layout(s.axis.grid.model,s,{labelInside:!1});return n.labelMargin=i.get("handle.margin"),{position:L.getTransformedPosition(s.axis,a,n),rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(a,s,i,n){var l=i.axis,t=l.grid,u=l.getGlobalExtent(!0),o=b(t,l).getOtherAxis(l).getGlobalExtent(),c=l.dim==="x"?0:1,h=a.position;h[c]+=s[c],h[c]=Math.min(u[1],h[c]),h[c]=Math.max(u[0],h[c]);var f=(o[1]+o[0])/2,w=[f,f];w[c]=h[c];var x=[{verticalAlign:"middle"},{align:"center"}];return{position:h,rotation:a.rotation,cursorPoint:w,tooltipOption:x[c]}}});function b(a,s){var i={};return i[s.dim+"AxisIndex"]=s.index,a.getCartesian(i)}var m={line:function(a,s,i){var n=L.makeLineShape([s,i[0]],[s,i[1]],d(a));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(a,s,i){var n=Math.max(1,a.getBandWidth()),l=i[1]-i[0];return{type:"Rect",shape:L.makeRectShape([s-n/2,i[0]],[n,l],d(a))}}};function d(a){return a.dim==="x"?0:1}v.registerAxisPointerClass("CartesianAxisPointer",A);var r=A;te.exports=r},Sq3C:function(te,U,e){var y=e("sKgW"),L=e("zoYe"),g=e("wy8a"),v=e("quyA"),A=e("Z1HP"),b=e("Em2t"),m=Math.ceil;function d(r,a){a=a===void 0?" ":L(a);var s=a.length;if(s<2)return s?y(a,r):a;var i=y(a,m(r/A(a)));return v(a)?g(b(i),0,r).join(""):i.slice(0,r)}te.exports=d},SqI9:function(te,U,e){var y=e("y+Vt"),L=e("iXp4"),g=y.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},brush:L(y.prototype.brush),buildPath:function(A,b){var m=b.cx,d=b.cy,r=Math.max(b.r0||0,0),a=Math.max(b.r,0),s=b.startAngle,i=b.endAngle,n=b.clockwise,l=Math.cos(s),t=Math.sin(s);A.moveTo(l*r+m,t*r+d),A.lineTo(l*a+m,t*a+d),A.arc(m,d,a,s,i,!n),A.lineTo(Math.cos(i)*r+m,Math.sin(i)*r+d),r!==0&&A.arc(m,d,r,i,s,n),A.closePath()}});te.exports=g},SrGk:function(te,U,e){var y=e("hydK"),L=y.createElement,g=e("bYtY"),v=e("y+Vt"),A=e("Dagg"),b=e("dqUG"),m=e("P47w"),d=m.path,r=m.image,a=m.text,s="0",i="1";function n(t,u,o,c,h){this._zrId=t,this._svgRoot=u,this._tagNames=typeof o=="string"?[o]:o,this._markLabel=c,this._domName=h||"_dom",this.nextId=0}n.prototype.createElement=L,n.prototype.getDefs=function(t){var u=this._svgRoot,o=this._svgRoot.getElementsByTagName("defs");return o.length===0?t?(o=u.insertBefore(this.createElement("defs"),u.firstChild),o.contains||(o.contains=function(c){var h=o.children;if(!h)return!1;for(var f=h.length-1;f>=0;--f)if(h[f]===c)return!0;return!1}),o):null:o[0]},n.prototype.update=function(t,u){if(!t)return;var o=this.getDefs(!1);if(t[this._domName]&&o.contains(t[this._domName]))typeof u=="function"&&u(t);else{var c=this.add(t);c&&(t[this._domName]=c)}},n.prototype.addDom=function(t){var u=this.getDefs(!0);u.appendChild(t)},n.prototype.removeDom=function(t){var u=this.getDefs(!1);u&&t[this._domName]&&(u.removeChild(t[this._domName]),t[this._domName]=null)},n.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var u=[];return g.each(this._tagNames,function(o){var c=t.getElementsByTagName(o);u=u.concat([].slice.call(c))}),u},n.prototype.markAllUnused=function(){var t=this.getDoms(),u=this;g.each(t,function(o){o[u._markLabel]=s})},n.prototype.markUsed=function(t){t&&(t[this._markLabel]=i)},n.prototype.removeUnused=function(){var t=this.getDefs(!1);if(!t)return;var u=this.getDoms(),o=this;g.each(u,function(c){c[o._markLabel]!==i&&t.removeChild(c)})},n.prototype.getSvgProxy=function(t){return t instanceof v?d:t instanceof A?r:t instanceof b?a:d},n.prototype.getTextSvgElement=function(t){return t.__textSvgEl},n.prototype.getSvgElement=function(t){return t.__svgEl};var l=n;te.exports=l},Swgg:function(te,U,e){var y=e("fc+c"),L=y.extend({type:"dataZoom.select"});te.exports=L},Sxd8:function(te,U,e){var y=e("ZCgT");function L(g){var v=y(g),A=v%1;return v===v?A?v-A:v:0}te.exports=L},T1rO:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=L(e("zdCA"));function L(v){return v&&v.__esModule?v:{default:v}}var g=y;U.default=g,te.exports=g},T4UG:function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("bYtY"),v=e("ItGF"),A=e("7aKB"),b=A.formatTime,m=A.encodeHTML,d=A.addCommas,r=A.getTooltipMarker,a=e("4NO4"),s=e("bLfw"),i=e("5Hur"),n=e("OKJ2"),l=e("+TT/"),t=l.getLayoutParams,u=l.mergeLayoutParam,o=e("9H2F"),c=o.createTask,h=e("D5nY"),f=h.prepareSource,w=h.getSource,x=e("KxfA"),I=x.retrieveRawValue,C=a.makeInner(),N=s.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(j,H,k,P){this.seriesIndex=this.componentIndex,this.dataTask=c({count:T,reset:D}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(j,k),f(this);var z=this.getInitialData(j,k);R(z,this),this.dataTask.context.data=z,C(this).dataBeforeProcessed=z,S(this)},mergeDefaultAndTheme:function(j,H){var k=this.layoutMode,P=k?t(j):{},z=this.subType;s.hasClass(z)&&(z+="Series"),g.merge(j,H.getTheme().get(this.subType)),g.merge(j,this.getDefaultOption()),a.defaultEmphasis(j,"label",["show"]),this.fillDataTextStyle(j.data),k&&u(j,P,k)},mergeOption:function(j,H){j=g.merge(this.option,j,!0),this.fillDataTextStyle(j.data);var k=this.layoutMode;k&&u(this.option,j,k),f(this);var P=this.getInitialData(j,H);R(P,this),this.dataTask.dirty(),this.dataTask.context.data=P,C(this).dataBeforeProcessed=P,S(this)},fillDataTextStyle:function(j){if(j&&!g.isTypedArray(j))for(var H=["show"],k=0;k<j.length;k++)j[k]&&j[k].label&&a.defaultEmphasis(j[k],"label",H)},getInitialData:function(){},appendData:function(j){var H=this.getRawData();H.appendData(j.data)},getData:function(j){var H=M(this);if(H){var k=H.context.data;return j==null?k:k.getLinkedData(j)}else return C(this).data},setData:function(j){var H=M(this);if(H){var k=H.context;k.data!==j&&H.modifyOutputEnd&&H.setOutputEnd(j.count()),k.outputData=j,H!==this.dataTask&&(k.data=j)}C(this).data=j},getSource:function(){return w(this)},getRawData:function(){return C(this).dataBeforeProcessed},getBaseAxis:function(){var j=this.coordinateSystem;return j&&j.getBaseAxis&&j.getBaseAxis()},formatTooltip:function(j,H,k,P){var z=this;P=P||"html";var Y=P==="html"?"<br/>":`
|
|
|
`,_=P==="richText",G={},J=0;function ue(rt){var ht=g.reduce(rt,function(wt,jt,lt){var Te=re.getDimensionInfo(lt);return wt|=Te&&Te.tooltip!==!1&&Te.displayName!=null},0),je=[];me.length?g.each(me,function(wt){Me(I(re,j,wt),wt)}):g.each(rt,Me);function Me(wt,jt){var lt=re.getDimensionInfo(jt);if(!lt||lt.otherDims.tooltip===!1)return;var Te=lt.type,mt="sub"+z.seriesIndex+"at"+J,tn=r({color:Ee,type:"subItem",renderMode:P,markerId:mt}),Vt=typeof tn=="string"?tn:tn.content,Yt=(ht?Vt+m(lt.displayName||"-")+": ":"")+m(Te==="ordinal"?wt+"":Te==="time"?H?"":b("yyyy/MM/dd hh:mm:ss",wt):d(wt));Yt&&je.push(Yt),_&&(G[mt]=Ee,++J)}var Ne=ht?_?`
|
|
|
`:"<br/>":"",it=Ne+je.join(Ne||", ");return{renderMode:P,content:it,style:G}}function q(rt){return{renderMode:P,content:m(d(rt)),style:G}}var re=this.getData(),me=re.mapDimension("defaultedTooltip",!0),be=me.length,ke=this.getRawValue(j),ce=g.isArray(ke),Ee=re.getItemVisual(j,"color");g.isObject(Ee)&&Ee.colorStops&&(Ee=(Ee.colorStops[0]||{}).color),Ee=Ee||"transparent";var pe=be>1||ce&&!be?ue(ke):q(be?I(re,j,me[0]):ce?ke[0]:ke),Se=pe.content,st=z.seriesIndex+"at"+J,qe=r({color:Ee,type:"item",renderMode:P,markerId:st});G[st]=Ee,++J;var tt=re.getName(j),Dt=this.name;a.isNameSpecified(this)||(Dt=""),Dt=Dt?m(Dt)+(H?": ":Y):"";var ct=typeof qe=="string"?qe:qe.content,St=H?ct+Dt+Se:Dt+ct+(tt?m(tt)+": "+Se:Se);return{html:St,markers:G}},isAnimationEnabled:function(){if(v.node)return!1;var j=this.getShallow("animation");return j&&(this.getData().count()>this.getShallow("animationThreshold")&&(j=!1)),j},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(j,H,k){var P=this.ecModel,z=i.getColorFromPalette.call(this,j,H,k);return z||(z=P.getColorFromPalette(j,H,k)),z},coordDimToDataDim:function(j){return this.getRawData().mapDimension(j,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});g.mixin(N,n),g.mixin(N,i);function S(j){var H=j.name;a.isNameSpecified(j)||(j.name=E(j)||H)}function E(j){var H=j.getRawData(),k=H.mapDimension("seriesName",!0),P=[];return g.each(k,function(z){var Y=H.getDimensionInfo(z);Y.displayName&&P.push(Y.displayName)}),P.join(" ")}function T(j){return j.model.getRawData().count()}function D(j){var H=j.model;return H.setData(H.getRawData().cloneShallow()),B}function B(j,H){H.outputData&&j.end>H.outputData.count()&&H.model.getRawData().cloneShallow(H.outputData)}function R(j,H){g.each(j.CHANGABLE_METHODS,function(k){j.wrapMethod(k,g.curry(F,H))})}function F(j){var H=M(j);H&&H.setOutputEnd(this.count())}function M(j){var H=(j.ecModel||{}).scheduler,k=H&&H.getPipeline(j.uid);if(k){var P=k.currentTask;if(P){var z=P.agentStubMap;z&&(P=z.get(j.uid))}return P}}var K=N;te.exports=K},T6xi:function(te,U,e){var y=e("YgsL"),L=e("nCxF");function g(v,A,b){var m=A.points,d=A.smooth;if(m&&m.length>=2){if(d&&d!=="spline"){var r=L(m,d,b,A.smoothConstraint);v.moveTo(m[0][0],m[0][1]);for(var a=m.length,s=0;s<(b?a:a-1);s++){var i=r[s*2],n=r[s*2+1],l=m[(s+1)%a];v.bezierCurveTo(i[0],i[1],n[0],n[1],l[0],l[1])}}else{d==="spline"&&(m=y(m,b)),v.moveTo(m[0][0],m[0][1]);for(var s=1,t=m.length;s<t;s++)v.lineTo(m[s][0],m[s][1])}b&&v.closePath()}}U.buildPath=g},TIY9:function(te,U,e){var y=e("bYtY"),L=y.each,g=e("vafp"),v=e("4NO4"),A=v.makeInner,b=e("Mgri"),m=e("F5Ls"),d=e("a9QJ"),r=e("p/La"),a=A(),s={load:function(n,l,t){var u=a(l).parsed;if(u)return u;var o=l.specialAreas||{},c=l.geoJSON,h;try{h=c?g(c,t):[]}catch(f){throw new Error(`Invalid geoJson format
|
|
|
`+f.message)}return b(n,h),L(h,function(f){var w=f.name;m(n,f),d(n,f),r(n,f);var x=o[w];x&&f.transformTo(x.left,x.top,x.width,x.height)}),a(l).parsed={regions:h,boundingRect:i(h)}}};function i(n){for(var l,t=0;t<n.length;t++){var u=n[t].getBoundingRect();l=l||u.clone(),l.union(u)}return l}te.exports=s},TJmX:function(te,U,e){var y=e("zM3Q"),L=["itemStyle","borderColor"],g=["itemStyle","borderColor0"],v=["itemStyle","color"],A=["itemStyle","color0"],b={seriesType:"candlestick",plan:y(),performRawSeries:!0,reset:function(m,d){var r=m.getData();if(r.setVisual({legendSymbol:"roundRect",colorP:i(1,m),colorN:i(-1,m),borderColorP:n(1,m),borderColorN:n(-1,m)}),d.isSeriesFiltered(m))return;var a=m.pipelineContext.large;return!a&&{progress:s};function s(l,t){for(var u;(u=l.next())!=null;){var o=t.getItemModel(u),c=t.getItemLayout(u).sign;t.setItemVisual(u,{color:i(c,o),borderColor:n(c,o)})}}function i(l,t){return t.get(l>0?v:A)}function n(l,t){return t.get(l>0?L:g)}}};te.exports=b},TWL2:function(te,U,e){var y=e("IwbS"),L=e("bYtY"),g=e("6Ic6");function v(r,a){y.Group.call(this);var s=new y.Polygon,i=new y.Polyline,n=new y.Text;this.add(s),this.add(i),this.add(n),this.highDownOnUpdate=function(l,t){t==="emphasis"?(i.ignore=i.hoverIgnore,n.ignore=n.hoverIgnore):(i.ignore=i.normalIgnore,n.ignore=n.normalIgnore)},this.updateData(r,a,!0)}var A=v.prototype,b=["itemStyle","opacity"];A.updateData=function(r,a,s){var i=this.childAt(0),n=r.hostModel,l=r.getItemModel(a),t=r.getItemLayout(a),u=r.getItemModel(a).get(b);u=u==null?1:u,i.useStyle({}),s?(i.setShape({points:t.points}),i.setStyle({opacity:0}),y.initProps(i,{style:{opacity:u}},n,a)):y.updateProps(i,{style:{opacity:u},shape:{points:t.points}},n,a);var o=l.getModel("itemStyle"),c=r.getItemVisual(a,"color");i.setStyle(L.defaults({lineJoin:"round",fill:c},o.getItemStyle(["opacity"]))),i.hoverStyle=o.getModel("emphasis").getItemStyle(),this._updateLabel(r,a),y.setHoverStyle(this)},A._updateLabel=function(r,a){var s=this.childAt(1),i=this.childAt(2),n=r.hostModel,l=r.getItemModel(a),t=r.getItemLayout(a),u=t.label,o=r.getItemVisual(a,"color");y.updateProps(s,{shape:{points:u.linePoints||u.linePoints}},n,a),y.updateProps(i,{style:{x:u.x,y:u.y}},n,a),i.attr({rotation:u.rotation,origin:[u.x,u.y],z2:10});var c=l.getModel("label"),h=l.getModel("emphasis.label"),f=l.getModel("labelLine"),w=l.getModel("emphasis.labelLine"),o=r.getItemVisual(a,"color");y.setLabelStyle(i.style,i.hoverStyle={},c,h,{labelFetcher:r.hostModel,labelDataIndex:a,defaultText:r.getName(a),autoColor:o,useInsideStyle:!!u.inside},{textAlign:u.textAlign,textVerticalAlign:u.verticalAlign}),i.ignore=i.normalIgnore=!c.get("show"),i.hoverIgnore=!h.get("show"),s.ignore=s.normalIgnore=!f.get("show"),s.hoverIgnore=!w.get("show"),s.setStyle({stroke:o}),s.setStyle(f.getModel("lineStyle").getLineStyle()),s.hoverStyle=w.getModel("lineStyle").getLineStyle()},L.inherits(v,y.Group);var m=g.extend({type:"funnel",render:function(r,a,s){var i=r.getData(),n=this._data,l=this.group;i.diff(n).add(function(t){var u=new v(i,t);i.setItemGraphicEl(t,u),l.add(u)}).update(function(t,u){var o=n.getItemGraphicEl(u);o.updateData(i,t),l.add(o),i.setItemGraphicEl(t,o)}).remove(function(t){var u=n.getItemGraphicEl(t);l.remove(u)}).execute(),this._data=i},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),d=m;te.exports=d},TYVI:function(te,U,e){var y=e("5GtS"),L=e("T4UG"),g=L.extend({type:"series.gauge",getInitialData:function(A,b){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}}}),v=g;te.exports=v},Tghj:function(te,U,e){(function(y){var L;typeof window!="undefined"?L=window.__DEV__:typeof y!="undefined"&&(L=y.__DEV__),typeof L=="undefined"&&(L=!0);var g=L;U.__DEV__=g}).call(this,e("IyRk"))},ThAp:function(te,U,e){var y=e("bYtY"),L=e("5GtS"),g=e("T4UG"),v=e("7aKB"),A=v.encodeHTML,b=v.addCommas,m=e("cCMj"),d=e("KxfA"),r=d.retrieveRawAttr,a=e("W4dC"),s=e("D5nY"),i=s.makeSeriesEncodeForNameBased,n=g.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(t){for(var u=L(this,{coordDimensions:["value"],encodeDefaulter:y.curry(i,this)}),o=u.mapDimension("value"),c=y.createHashMap(),h=[],f=[],w=0,x=u.count();w<x;w++){var I=u.getName(w);c.set(I,!0),h.push({name:I,value:u.get(o,w),selected:r(u,w,"selected")})}var C=a.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return y.each(C.regions,function(N){var S=N.name;c.get(S)||(h.push({name:S}),f.push(S))}),this.updateSelectedMap(h),u.appendValues([],f),u},getHostGeoModel:function(){var t=this.option.geoIndex;return t!=null?this.dependentModels.geo[t]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},getRawValue:function(t){var u=this.getData();return u.get(u.mapDimension("value"),t)},getRegionModel:function(t){var u=this.getData();return u.getItemModel(u.indexOfName(t))},formatTooltip:function(t){for(var u=this.getData(),o=b(this.getRawValue(t)),c=u.getName(t),h=this.seriesGroup,f=[],w=0;w<h.length;w++){var x=h[w].originalData.indexOfName(c),I=u.mapDimension("value");isNaN(h[w].originalData.get(I,x))||f.push(A(h[w].name))}return f.join(", ")+"<br />"+A(c+" : "+o)},getTooltipPosition:function(t){if(t!=null){var u=this.getData().getName(t),o=this.coordinateSystem,c=o.getRegion(u);return c&&o.dataToPoint(c.center)}},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},nameProperty:"name"}});y.mixin(n,m);var l=n;te.exports=l},TkdX:function(te,U,e){var y=e("bYtY"),L=e("IwbS"),g={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},v=2,A=4;function b(n,l,t){L.Group.call(this);var u=new L.Sector({z2:v});u.seriesIndex=l.seriesIndex;var o=new L.Text({z2:A,silent:n.getModel("label").get("silent")});this.add(u),this.add(o),this.updateData(!0,n,"normal",l,t);function c(){o.ignore=o.hoverIgnore}function h(){o.ignore=o.normalIgnore}this.on("emphasis",c).on("normal",h).on("mouseover",c).on("mouseout",h)}var m=b.prototype;m.updateData=function(n,l,t,u,o){this.node=l,l.piece=this,u=u||this._seriesModel,o=o||this._ecModel;var c=this.childAt(0);c.dataIndex=l.dataIndex;var h=l.getModel(),f=l.getLayout(),w=y.extend({},f);w.label=null;var x=r(l,u,o);i(l,u,x);var I=h.getModel("itemStyle").getItemStyle(),C;if(t==="normal")C=I;else{var N=h.getModel(t+".itemStyle").getItemStyle();C=y.merge(N,I)}C=y.defaults({lineJoin:"bevel",fill:C.fill||x},C),n?(c.setShape(w),c.shape.r=f.r0,L.updateProps(c,{shape:{r:f.r}},u,l.dataIndex),c.useStyle(C)):typeof C.fill=="object"&&C.fill.type||typeof c.style.fill=="object"&&c.style.fill.type?(L.updateProps(c,{shape:w},u),c.useStyle(C)):L.updateProps(c,{shape:w,style:C},u),this._updateLabel(u,x,t);var S=h.getShallow("cursor");if(S&&c.attr("cursor",S),n){var E=u.getShallow("highlightPolicy");this._initEvents(c,l,u,E)}this._seriesModel=u||this._seriesModel,this._ecModel=o||this._ecModel,L.setHoverStyle(this)},m.onEmphasis=function(n){var l=this;this.node.hostTree.root.eachNode(function(t){t.piece&&(l.node===t?t.piece.updateData(!1,t,"emphasis"):s(t,l.node,n)?t.piece.childAt(0).trigger("highlight"):n!==g.NONE&&t.piece.childAt(0).trigger("downplay"))})},m.onNormal=function(){this.node.hostTree.root.eachNode(function(n){n.piece&&n.piece.updateData(!1,n,"normal")})},m.onHighlight=function(){this.updateData(!1,this.node,"highlight")},m.onDownplay=function(){this.updateData(!1,this.node,"downplay")},m._updateLabel=function(n,l,t){var u=this.node.getModel(),o=u.getModel("label"),c=t==="normal"||t==="emphasis"?o:u.getModel(t+".label"),h=u.getModel("emphasis.label"),f=y.retrieve(n.getFormattedLabel(this.node.dataIndex,t,null,null,"label"),this.node.name);H("show")===!1&&(f="");var w=this.node.getLayout(),x=c.get("minAngle");x==null&&(x=o.get("minAngle")),x=x/180*Math.PI;var I=w.endAngle-w.startAngle;x!=null&&Math.abs(I)<x&&(f="");var C=this.childAt(1);L.setLabelStyle(C.style,C.hoverStyle||{},o,h,{defaultText:c.getShallow("show")?f:null,autoColor:l,useInsideStyle:!0});var N=(w.startAngle+w.endAngle)/2,S=Math.cos(N),E=Math.sin(N),T,D=H("position"),B=H("distance")||0,R=H("align");D==="outside"?(T=w.r+B,R=N>Math.PI/2?"right":"left"):!R||R==="center"?(T=(w.r+w.r0)/2,R="center"):R==="left"?(T=w.r0+B,N>Math.PI/2&&(R="right")):R==="right"&&(T=w.r-B,N>Math.PI/2&&(R="left")),C.attr("style",{text:f,textAlign:R,textVerticalAlign:H("verticalAlign")||"middle",opacity:H("opacity")});var F=T*S+w.cx,M=T*E+w.cy;C.attr("position",[F,M]);var K=H("rotate"),j=0;K==="radial"?(j=-N,j<-Math.PI/2&&(j+=Math.PI)):K==="tangential"?(j=Math.PI/2-N,j>Math.PI/2?j-=Math.PI:j<-Math.PI/2&&(j+=Math.PI)):typeof K=="number"&&(j=K*Math.PI/180),C.attr("rotation",j);function H(k){var P=c.get(k);return P==null?o.get(k):P}},m._initEvents=function(n,l,t,u){n.off("mouseover").off("mouseout").off("emphasis").off("normal");var o=this,c=function(){o.onEmphasis(u)},h=function(){o.onNormal()},f=function(){o.onDownplay()},w=function(){o.onHighlight()};t.isAnimationEnabled()&&n.on("mouseover",c).on("mouseout",h).on("emphasis",c).on("normal",h).on("downplay",f).on("highlight",w)},y.inherits(b,L.Group);var d=b;function r(n,l,t){var u=n.getVisual("color"),o=n.getVisual("visualMeta");(!o||o.length===0)&&(u=null);var c=n.getModel("itemStyle").get("color");if(c)return c;if(u)return u;if(n.depth===0)return t.option.color[0];var h=t.option.color.length;return c=t.option.color[a(n)%h],c}function a(n){for(var l=n;l.depth>1;)l=l.parentNode;var t=n.getAncestors()[0];return y.indexOf(t.children,l)}function s(n,l,t){return t===g.NONE?!1:t===g.SELF?n===l:t===g.ANCESTOR?n===l||n.isAncestorOf(l):n===l||n.isDescendantOf(l)}function i(n,l,t){var u=l.getData();u.setItemVisual(n.dataIndex,"color",t)}te.exports=d},Tp9H:function(te,U,e){var y=e("ItGF"),L=e("Kagy"),g=e("IUWy"),v=L.toolbox.saveAsImage;function A(d){this.model=d}A.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:v.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:v.lang.slice()},A.prototype.unusable=!y.canvasSupported;var b=A.prototype;b.onclick=function(d,r){var a=this.model,s=a.get("name")||d.get("title.0.text")||"echarts",i=r.getZr().painter.getType()==="svg",n=i?"svg":a.get("type",!0)||"png",l=r.getConnectedDataURL({type:n,backgroundColor:a.get("backgroundColor",!0)||d.get("backgroundColor")||"#fff",connectedBackgroundColor:a.get("connectedBackgroundColor"),excludeComponents:a.get("excludeComponents"),pixelRatio:a.get("pixelRatio")});if(typeof MouseEvent=="function"&&!y.browser.ie&&!y.browser.edge){var t=document.createElement("a");t.download=s+"."+n,t.target="_blank",t.href=l;var u=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});t.dispatchEvent(u)}else if(window.navigator.msSaveOrOpenBlob){for(var o=atob(l.split(",")[1]),c=o.length,h=new Uint8Array(c);c--;)h[c]=o.charCodeAt(c);var f=new Blob([h]);window.navigator.msSaveOrOpenBlob(f,s+"."+n)}else{var w=a.get("lang"),x='<body style="margin:0;"><img src="'+l+'" style="max-width:100%;" title="'+(w&&w[0]||"")+'" /></body>',I=window.open();I.document.write(x)}},g.register("saveAsImage",A);var m=A;te.exports=m},"U/Mo":function(te,U){function e(L){var g=L.coordinateSystem;if(g.type!=="view")return 1;var v=L.option.nodeScaleRatio,A=g.scale,b=A&&A[0]||1,m=g.getZoom(),d=(m-1)*v+1;return d/b}function y(L){var g=L.getVisual("symbolSize");return g instanceof Array&&(g=(g[0]+g[1])/2),+g}U.getNodeGlobalScale=e,U.getSymbolSize=y},UADf:function(te,U,e){},UOVi:function(te,U,e){var y=e("bYtY"),L=e("7aKB"),g=["x","y","z","radius","angle","single"],v=["cartesian2d","polar","singleAxis"];function A(r){return y.indexOf(v,r)>=0}function b(r,a){r=r.slice();var s=y.map(r,L.capitalFirst);a=(a||[]).slice();var i=y.map(a,L.capitalFirst);return function(n,l){y.each(r,function(t,u){for(var o={name:t,capital:s[u]},c=0;c<a.length;c++)o[a[c]]=t+i[c];n.call(l,o)})}}var m=b(g,["axisIndex","axis","index","id"]);function d(r,a,s){return function(t){var u={nodes:[],records:{}};if(a(function(h){u.records[h.name]={}}),!t)return u;l(t,u);var o;do o=!1,r(c);while(o);function c(h){!i(h,u)&&n(h,u)&&(l(h,u),o=!0)}return u};function i(t,u){return y.indexOf(u.nodes,t)>=0}function n(t,u){var o=!1;return a(function(c){y.each(s(t,c)||[],function(h){u.records[c.name][h]&&(o=!0)})}),o}function l(t,u){u.nodes.push(t),a(function(o){y.each(s(t,o)||[],function(c){u.records[o.name][c]=!0})})}}U.isCoordSupported=A,U.createNameEach=b,U.eachAxisDim=m,U.createLinkedNodesFinder=d},Uc92:function(te,U,e){"use strict";Object.defineProperty(U,"__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"};U.default=y},UmKh:function(te,U,e){"use strict";var y=e("q1tI"),L=e.n(y),g=function(H){var k=H.prototype;if(!k||!k.isReactComponent)throw new Error("Can only polyfill class components");return typeof k.componentWillReceiveProps!="function"||L.a.Profiler&&(k.UNSAFE_componentWillReceiveProps=k.componentWillReceiveProps,delete k.componentWillReceiveProps),H},v=g;function A(j){var H=[];return L.a.Children.forEach(j,function(k){H.push(k)}),H}function b(j,H){var k=null;return j&&j.forEach(function(P){if(k)return;P&&P.key===H&&(k=P)}),k}function m(j,H,k){var P=null;return j&&j.forEach(function(z){if(z&&z.key===H&&z.props[k]){if(P)throw new Error("two child with same key for <rc-animate> children");P=z}}),P}function d(j,H,k){var P=0;return j&&j.forEach(function(z){if(P)return;P=z&&z.key===H&&!z.props[k]}),P}function r(j,H,k){var P=j.length===H.length;return P&&j.forEach(function(z,Y){var _=H[Y];z&&_&&((z&&!_||!z&&_||(z.key!==_.key||k&&z.props[k]!==_.props[k]))&&(P=!1))}),P}function a(j,H){var k=[],P={},z=[];return j.forEach(function(Y){Y&&b(H,Y.key)?z.length&&(P[Y.key]=z,z=[]):z.push(Y)}),H.forEach(function(Y){Y&&Object.prototype.hasOwnProperty.call(P,Y.key)&&(k=k.concat(P[Y.key])),k.push(Y)}),k=k.concat(z),k}var s=e("i8i4"),i=e.n(s),n=e("UwPn"),l={isAppearSupported:function(H){return H.transitionName&&H.transitionAppear||H.animation.appear},isEnterSupported:function(H){return H.transitionName&&H.transitionEnter||H.animation.enter},isLeaveSupported:function(H){return H.transitionName&&H.transitionLeave||H.animation.leave},allowAppearCallback:function(H){return H.transitionAppear||H.animation.appear},allowEnterCallback:function(H){return H.transitionEnter||H.animation.enter},allowLeaveCallback:function(H){return H.transitionLeave||H.animation.leave}},t=l,u=function(){function j(H,k){for(var P=0;P<k.length;P++){var z=k[P];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(H,z.key,z)}}return function(H,k,P){return k&&j(H.prototype,k),P&&j(H,P),H}}();function o(j,H){if(!(j instanceof H))throw new TypeError("Cannot call a class as a function")}function c(j,H){if(!j)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return H&&(typeof H=="object"||typeof H=="function")?H:j}function h(j,H){if(typeof H!="function"&&H!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof H);j.prototype=Object.create(H&&H.prototype,{constructor:{value:j,enumerable:!1,writable:!0,configurable:!0}}),H&&(Object.setPrototypeOf?Object.setPrototypeOf(j,H):j.__proto__=H)}var f={enter:"transitionEnter",appear:"transitionAppear",leave:"transitionLeave"},w=function(j){h(H,j);function H(){return o(this,H),c(this,(H.__proto__||Object.getPrototypeOf(H)).apply(this,arguments))}return u(H,[{key:"componentWillUnmount",value:function(){this.stop()}},{key:"componentWillEnter",value:function(P){t.isEnterSupported(this.props)?this.transition("enter",P):P()}},{key:"componentWillAppear",value:function(P){t.isAppearSupported(this.props)?this.transition("appear",P):P()}},{key:"componentWillLeave",value:function(P){t.isLeaveSupported(this.props)?this.transition("leave",P):P()}},{key:"transition",value:function(P,z){var Y=this,_=i.a.findDOMNode(this),G=this.props,J=G.transitionName,ue=typeof J=="object";this.stop();var q=function(){Y.stopper=null,z()};if((n.b||!G.animation[P])&&J&&G[f[P]]){var re=ue?J[P]:J+"-"+P,me=re+"-active";ue&&J[P+"Active"]&&(me=J[P+"Active"]),this.stopper=Object(n.a)(_,{name:re,active:me},q)}else this.stopper=G.animation[P](_,q)}},{key:"stop",value:function(){var P=this.stopper;P&&(this.stopper=null,P.stop())}},{key:"render",value:function(){return this.props.children}}]),H}(L.a.Component),x=w,I=Object.assign||function(j){for(var H=1;H<arguments.length;H++){var k=arguments[H];for(var P in k)Object.prototype.hasOwnProperty.call(k,P)&&(j[P]=k[P])}return j},C=function(){function j(H,k){for(var P=0;P<k.length;P++){var z=k[P];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(H,z.key,z)}}return function(H,k,P){return k&&j(H.prototype,k),P&&j(H,P),H}}();function N(j,H,k){return H in j?Object.defineProperty(j,H,{value:k,enumerable:!0,configurable:!0,writable:!0}):j[H]=k,j}function S(j,H){if(!(j instanceof H))throw new TypeError("Cannot call a class as a function")}function E(j,H){if(!j)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return H&&(typeof H=="object"||typeof H=="function")?H:j}function T(j,H){if(typeof H!="function"&&H!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof H);j.prototype=Object.create(H&&H.prototype,{constructor:{value:j,enumerable:!1,writable:!0,configurable:!0}}),H&&(Object.setPrototypeOf?Object.setPrototypeOf(j,H):j.__proto__=H)}var D="rc_animate_"+Date.now();function B(j){var H=j.children;return L.a.isValidElement(H)&&!H.key?L.a.cloneElement(H,{key:D}):H}function R(){}var F=function(j){T(H,j);function H(k){S(this,H);var P=E(this,(H.__proto__||Object.getPrototypeOf(H)).call(this,k));return M.call(P),P.currentlyAnimatingKeys={},P.keysToEnter=[],P.keysToLeave=[],P.state={children:A(B(k))},P.childrenRefs={},P}return C(H,[{key:"componentDidMount",value:function(){var P=this,z=this.props.showProp,Y=this.state.children;z&&(Y=Y.filter(function(_){return!!_.props[z]})),Y.forEach(function(_){_&&P.performAppear(_.key)})}},{key:"componentWillReceiveProps",value:function(P){var z=this;this.nextProps=P;var Y=A(B(P)),_=this.props;_.exclusive&&Object.keys(this.currentlyAnimatingKeys).forEach(function(re){z.stop(re)});var G=_.showProp,J=this.currentlyAnimatingKeys,ue=_.exclusive?A(B(_)):this.state.children,q=[];G?(ue.forEach(function(re){var me=re&&b(Y,re.key),be=void 0;(!me||!me.props[G])&&re.props[G]?be=L.a.cloneElement(me||re,N({},G,!0)):be=me,be&&q.push(be)}),Y.forEach(function(re){(!re||!b(ue,re.key))&&q.push(re)})):q=a(ue,Y),this.setState({children:q}),Y.forEach(function(re){var me=re&&re.key;if(re&&J[me])return;var be=re&&b(ue,me);if(G){var ke=re.props[G];if(be){var ce=m(ue,me,G);!ce&&ke&&z.keysToEnter.push(me)}else ke&&z.keysToEnter.push(me)}else be||z.keysToEnter.push(me)}),ue.forEach(function(re){var me=re&&re.key;if(re&&J[me])return;var be=re&&b(Y,me);if(G){var ke=re.props[G];if(be){var ce=m(Y,me,G);!ce&&ke&&z.keysToLeave.push(me)}else ke&&z.keysToLeave.push(me)}else be||z.keysToLeave.push(me)})}},{key:"componentDidUpdate",value:function(){var P=this.keysToEnter;this.keysToEnter=[],P.forEach(this.performEnter);var z=this.keysToLeave;this.keysToLeave=[],z.forEach(this.performLeave)}},{key:"isValidChildByKey",value:function(P,z){var Y=this.props.showProp;return Y?m(P,z,Y):b(P,z)}},{key:"stop",value:function(P){delete this.currentlyAnimatingKeys[P];var z=this.childrenRefs[P];z&&z.stop()}},{key:"render",value:function(){var P=this,z=this.props;this.nextProps=z;var Y=this.state.children,_=null;Y&&(_=Y.map(function(ue){if(ue==null)return ue;if(!ue.key)throw new Error("must set key for <rc-animate> children");return L.a.createElement(x,{key:ue.key,ref:function(re){P.childrenRefs[ue.key]=re},animation:z.animation,transitionName:z.transitionName,transitionEnter:z.transitionEnter,transitionAppear:z.transitionAppear,transitionLeave:z.transitionLeave},ue)}));var G=z.component;if(G){var J=z;return typeof G=="string"&&(J=I({className:z.className,style:z.style},z.componentProps)),L.a.createElement(G,J,_)}return _[0]||null}}]),H}(L.a.Component);F.isAnimate=!0,F.defaultProps={animation:{},component:"span",componentProps:{},transitionEnter:!0,transitionLeave:!0,transitionAppear:!1,onEnd:R,onEnter:R,onLeave:R,onAppear:R};var M=function(){var H=this;this.performEnter=function(k){H.childrenRefs[k]&&(H.currentlyAnimatingKeys[k]=!0,H.childrenRefs[k].componentWillEnter(H.handleDoneAdding.bind(H,k,"enter")))},this.performAppear=function(k){H.childrenRefs[k]&&(H.currentlyAnimatingKeys[k]=!0,H.childrenRefs[k].componentWillAppear(H.handleDoneAdding.bind(H,k,"appear")))},this.handleDoneAdding=function(k,P){var z=H.props;if(delete H.currentlyAnimatingKeys[k],z.exclusive&&z!==H.nextProps)return;var Y=A(B(z));H.isValidChildByKey(Y,k)?P==="appear"?t.allowAppearCallback(z)&&(z.onAppear(k),z.onEnd(k,!0)):t.allowEnterCallback(z)&&(z.onEnter(k),z.onEnd(k,!0)):H.performLeave(k)},this.performLeave=function(k){H.childrenRefs[k]&&(H.currentlyAnimatingKeys[k]=!0,H.childrenRefs[k].componentWillLeave(H.handleDoneLeaving.bind(H,k)))},this.handleDoneLeaving=function(k){var P=H.props;if(delete H.currentlyAnimatingKeys[k],P.exclusive&&P!==H.nextProps)return;var z=A(B(P));if(H.isValidChildByKey(z,k))H.performEnter(k);else{var Y=function(){t.allowLeaveCallback(P)&&(P.onLeave(k),P.onEnd(k,!1))};r(H.state.children,z,P.showProp)?Y():H.setState({children:z},Y)}}},K=U.a=v(F)},UnoB:function(te,U,e){var y=e("bYtY"),L=e("OELB");function g(b,m){b.eachSeriesByType("themeRiver",function(d){var r=d.getData(),a=d.coordinateSystem,s={},i=a.getRect();s.rect=i;var n=d.get("boundaryGap"),l=a.getAxis();if(s.boundaryGap=n,l.orient==="horizontal"){n[0]=L.parsePercent(n[0],i.height),n[1]=L.parsePercent(n[1],i.height);var t=i.height-n[0]-n[1];v(r,d,t)}else{n[0]=L.parsePercent(n[0],i.width),n[1]=L.parsePercent(n[1],i.width);var u=i.width-n[0]-n[1];v(r,d,u)}r.setLayout("layoutInfo",s)})}function v(b,m,d){if(!b.count())return;for(var r=m.coordinateSystem,a=m.getLayerSeries(),s=b.mapDimension("single"),i=b.mapDimension("value"),n=y.map(a,function(x){return y.map(x.indices,function(I){var C=r.dataToPoint(b.get(s,I));return C[1]=b.get(i,I),C})}),l=A(n),t=l.y0,u=d/l.max,o=a.length,c=a[0].indices.length,h,f=0;f<c;++f){h=t[f]*u,b.setItemLayout(a[0].indices[f],{layerIndex:0,x:n[0][f][0],y0:h,y:n[0][f][1]*u});for(var w=1;w<o;++w)h+=n[w-1][f][1]*u,b.setItemLayout(a[w].indices[f],{layerIndex:w,x:n[w][f][0],y0:h,y:n[w][f][1]*u})}}function A(b){for(var m=b.length,d=b[0].length,r=[],a=[],s=0,i,n={},l=0;l<d;++l){for(var t=0,i=0;t<m;++t)i+=b[t][l][1];i>s&&(s=i),r.push(i)}for(var u=0;u<d;++u)a[u]=(s-r[u])/2;s=0;for(var o=0;o<d;++o){var c=r[o]+a[o];c>s&&(s=c)}return n.y0=a,n.max=s,n}te.exports=g},Urep:function(te,U,e){},V7ic:function(te,U,e){"use strict";var y=e("284h"),L=e("TqRt");Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var g=L(e("3tO9")),v=y(e("q1tI")),A=L(e("digP")),b=L(e("KQxl")),m=function(a,s){return v.createElement(b.default,(0,g.default)((0,g.default)({},a),{},{ref:s,icon:A.default}))};m.displayName="FileTwoTone";var d=v.forwardRef(m);U.default=d},VFCP:function(te,U,e){e("dBmv"),e("KamJ")},VPsl:function(te,U){function e(y){y.eachSeriesByType("map",function(L){var g=L.get("color"),v=L.getModel("itemStyle"),A=v.get("areaColor"),b=v.get("color")||g[L.seriesIndex%g.length];L.getData().setVisual({areaColor:A,color:b})})}te.exports=e},VR9l:function(te,U,e){var y=e("KCsZ"),L=y([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),g={getItemStyle:function(v,A){var b=L(this,v,A),m=this.getBorderLineDash();return m&&(b.lineDash=m),b},getBorderLineDash:function(){var v=this.get("borderType");return v==="solid"||v==null?null:v==="dashed"?[5,5]:[1,1]}};te.exports=g},VSLf:function(te,U,e){e("I+Bx"),e("F0hE"),e("bBKM")},VXYp:function(te,U,e){var y=e("bYtY"),L=e("SgGq"),g=e("iLNv"),v="\0_ec_dataZoom_roams";function A(n,l){var t=d(n),u=l.dataZoomId,o=l.coordId;y.each(t,function(f,w){var x=f.dataZoomInfos;x[u]&&y.indexOf(l.allCoordIds,o)<0&&(delete x[u],f.count--)}),a(t);var c=t[o];c||(c=t[o]={coordId:o,dataZoomInfos:{},count:0},c.controller=r(n,c),c.dispatchAction=y.curry(s,n)),!c.dataZoomInfos[u]&&c.count++,c.dataZoomInfos[u]=l;var h=i(c.dataZoomInfos);c.controller.enable(h.controlType,h.opt),c.controller.setPointerChecker(l.containsPoint),g.createOrUpdate(c,"dispatchAction",l.dataZoomModel.get("throttle",!0),"fixRate")}function b(n,l){var t=d(n);y.each(t,function(u){u.controller.dispose();var o=u.dataZoomInfos;o[l]&&(delete o[l],u.count--)}),a(t)}function m(n){return n.type+"\0_"+n.id}function d(n){var l=n.getZr();return l[v]||(l[v]={})}function r(n,l){var t=new L(n.getZr());return y.each(["pan","zoom","scrollMove"],function(u){t.on(u,function(o){var c=[];y.each(l.dataZoomInfos,function(h){if(!o.isAvailableBehavior(h.dataZoomModel.option))return;var f=(h.getRange||{})[u],w=f&&f(l.controller,o);!h.dataZoomModel.get("disabled",!0)&&w&&c.push({dataZoomId:h.dataZoomId,start:w[0],end:w[1]})}),c.length&&l.dispatchAction(c)})}),t}function a(n){y.each(n,function(l,t){l.count||(l.controller.dispose(),delete n[t])})}function s(n,l){n.dispatchAction({type:"dataZoom",batch:l})}function i(n){var l,t="type_",u={type_true:2,type_move:1,type_false:0,type_undefined:-1},o=!0;return y.each(n,function(c){var h=c.dataZoomModel,f=h.get("disabled",!0)?!1:h.get("zoomLock",!0)?"move":!0;u[t+f]>u[t+l]&&(l=f),o&=h.get("preventDefaultMouseMove",!0)}),{controlType:l,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!o}}}U.register=A,U.unregister=b,U.generateCoordId=m},VaxA:function(te,U,e){var y=e("bYtY");function L(b,m,d){if(b&&y.indexOf(m,b.type)>=0){var r=d.getData().tree.root,a=b.targetNode;if(typeof a=="string"&&(a=r.getNodeById(a)),a&&r.contains(a))return{node:a};var s=b.targetNodeId;if(s!=null&&(a=r.getNodeById(s)))return{node:a}}}function g(b){for(var m=[];b;)b=b.parentNode,b&&m.push(b);return m.reverse()}function v(b,m){var d=g(b);return y.indexOf(d,m)>=0}function A(b,m){for(var d=[];b;){var r=b.dataIndex;d.push({name:b.name,dataIndex:r,value:m.getRawValue(r)}),b=b.parentNode}return d.reverse(),d}U.retrieveTargetInfo=L,U.getPathToRoot=g,U.aboveViewRoot=v,U.wrapTreePathInfo=A},Vi4m:function(te,U,e){var y=e("bYtY");function L(v){v!=null&&y.extend(this,v),this.otherDims={}}var g=L;te.exports=g},Vl3Y:function(te,U,e){"use strict";var y=e("pVnL"),L=e.n(y),g=e("J4zp"),v=e.n(g),A=e("lSNA"),b=e.n(A),m=e("q1tI"),d=e("TSYQ"),r=e.n(d),a=e("85Yc"),s=e("H84U"),i=e("BGR+"),n=m.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),l=m.createContext({updateItemErrors:function(){}}),t=function(Ln){var jn=Object(i.default)(Ln,["prefixCls"]);return m.createElement(a.FormProvider,jn)};function u(Je){return typeof Je=="object"&&Je!=null&&Je.nodeType===1}function o(Je,Ln){return(!Ln||Je!=="hidden")&&Je!=="visible"&&Je!=="clip"}function c(Je,Ln){if(Je.clientHeight<Je.scrollHeight||Je.clientWidth<Je.scrollWidth){var jn=getComputedStyle(Je,null);return o(jn.overflowY,Ln)||o(jn.overflowX,Ln)||function(Sn){var Xn=function(rr){if(!rr.ownerDocument||!rr.ownerDocument.defaultView)return null;try{return rr.ownerDocument.defaultView.frameElement}catch(hr){return null}}(Sn);return!!Xn&&(Xn.clientHeight<Sn.scrollHeight||Xn.clientWidth<Sn.scrollWidth)}(Je)}return!1}function h(Je,Ln,jn,Sn,Xn,rr,hr,gn){return rr<Je&&hr>Ln||rr>Je&&hr<Ln?0:rr<=Je&&gn<=jn||hr>=Ln&&gn>=jn?rr-Je-Sn:hr>Ln&&gn<jn||rr<Je&&gn>jn?hr-Ln+Xn:0}var f=function(Je,Ln){var jn=window,Sn=Ln.scrollMode,Xn=Ln.block,rr=Ln.inline,hr=Ln.boundary,gn=Ln.skipOverflowHiddenElements,vn=typeof hr=="function"?hr:function(Nr){return Nr!==hr};if(!u(Je))throw new TypeError("Invalid target");for(var Ft=document.scrollingElement||document.documentElement,Ye=[],Pe=Je;u(Pe)&&vn(Pe);){if((Pe=Pe.parentElement)===Ft){Ye.push(Pe);break}Pe!=null&&Pe===document.body&&c(Pe)&&!c(document.documentElement)||Pe!=null&&c(Pe,gn)&&Ye.push(Pe)}for(var Jt=jn.visualViewport?jn.visualViewport.width:innerWidth,bn=jn.visualViewport?jn.visualViewport.height:innerHeight,An=window.scrollX||pageXOffset,dn=window.scrollY||pageYOffset,vr=Je.getBoundingClientRect(),qn=vr.height,Ur=vr.width,Ue=vr.top,He=vr.right,se=vr.bottom,Ae=vr.left,Oe=Xn==="start"||Xn==="nearest"?Ue:Xn==="end"?se:Ue+qn/2,ze=rr==="center"?Ae+Ur/2:rr==="end"?He:Ae,Rt=[],Et=0;Et<Ye.length;Et++){var _t=Ye[Et],Nn=_t.getBoundingClientRect(),Mn=Nn.height,lr=Nn.width,Lt=Nn.top,$e=Nn.right,Qe=Nn.bottom,kt=Nn.left;if(Sn==="if-needed"&&Ue>=0&&Ae>=0&&se<=bn&&He<=Jt&&Ue>=Lt&&se<=Qe&&Ae>=kt&&He<=$e)return Rt;var Ht=getComputedStyle(_t),ot=parseInt(Ht.borderLeftWidth,10),Ct=parseInt(Ht.borderTopWidth,10),nt=parseInt(Ht.borderRightWidth,10),Ot=parseInt(Ht.borderBottomWidth,10),sn=0,Zt=0,Gt="offsetWidth"in _t?_t.offsetWidth-_t.clientWidth-ot-nt:0,Qn="offsetHeight"in _t?_t.offsetHeight-_t.clientHeight-Ct-Ot:0;if(Ft===_t)sn=Xn==="start"?Oe:Xn==="end"?Oe-bn:Xn==="nearest"?h(dn,dn+bn,bn,Ct,Ot,dn+Oe,dn+Oe+qn,qn):Oe-bn/2,Zt=rr==="start"?ze:rr==="center"?ze-Jt/2:rr==="end"?ze-Jt:h(An,An+Jt,Jt,ot,nt,An+ze,An+ze+Ur,Ur),sn=Math.max(0,sn+dn),Zt=Math.max(0,Zt+An);else{sn=Xn==="start"?Oe-Lt-Ct:Xn==="end"?Oe-Qe+Ot+Qn:Xn==="nearest"?h(Lt,Qe,Mn,Ct,Ot+Qn,Oe,Oe+qn,qn):Oe-(Lt+Mn/2)+Qn/2,Zt=rr==="start"?ze-kt-ot:rr==="center"?ze-(kt+lr/2)+Gt/2:rr==="end"?ze-$e+nt+Gt:h(kt,$e,lr,ot,nt+Gt,ze,ze+Ur,Ur);var Gn=_t.scrollLeft,Or=_t.scrollTop;Oe+=Or-(sn=Math.max(0,Math.min(Or+sn,_t.scrollHeight-Mn+Qn))),ze+=Gn-(Zt=Math.max(0,Math.min(Gn+Zt,_t.scrollWidth-lr+Gt)))}Rt.push({el:_t,top:sn,left:Zt})}return Rt};function w(Je){return Je===Object(Je)&&Object.keys(Je).length!==0}function x(Je,Ln){Ln===void 0&&(Ln="auto");var jn="scrollBehavior"in document.body.style;Je.forEach(function(Sn){var Xn=Sn.el,rr=Sn.top,hr=Sn.left;Xn.scroll&&jn?Xn.scroll({top:rr,left:hr,behavior:Ln}):(Xn.scrollTop=rr,Xn.scrollLeft=hr)})}function I(Je){return Je===!1?{block:"end",inline:"nearest"}:w(Je)?Je:{block:"start",inline:"nearest"}}function C(Je,Ln){var jn=!Je.ownerDocument.documentElement.contains(Je);if(w(Ln)&&typeof Ln.behavior=="function")return Ln.behavior(jn?[]:f(Je,Ln));if(jn)return;var Sn=I(Ln);return x(f(Je,Sn),Sn.behavior)}var N=C;function S(Je){return Je===void 0||Je===!1?[]:Array.isArray(Je)?Je:[Je]}function E(Je,Ln){if(!Je.length)return;var jn=Je.join("_");return Ln?"".concat(Ln,"_").concat(jn):jn}function T(Je){var Ln=S(Je);return Ln.join("_")}function D(Je){var Ln=Object(a.useForm)(),jn=v()(Ln,1),Sn=jn[0],Xn=Object(m.useRef)({}),rr=Object(m.useMemo)(function(){return Je||L()(L()({},Sn),{__INTERNAL__:{itemRef:function(gn){return function(vn){var Ft=T(gn);vn?Xn.current[Ft]=vn:delete Xn.current[Ft]}}},scrollToField:function(gn){var vn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ft=S(gn),Ye=E(Ft,rr.__INTERNAL__.name),Pe=Ye?document.getElementById(Ye):null;Pe&&N(Pe,L()({scrollMode:"if-needed",block:"nearest"},vn))},getFieldInstance:function(gn){var vn=T(gn);return Xn.current[vn]}})},[Je,Sn]);return[rr]}var B=e("3Nzz"),R=function(Je,Ln){var jn={};for(var Sn in Je)Object.prototype.hasOwnProperty.call(Je,Sn)&&Ln.indexOf(Sn)<0&&(jn[Sn]=Je[Sn]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xn=0,Sn=Object.getOwnPropertySymbols(Je);Xn<Sn.length;Xn++)Ln.indexOf(Sn[Xn])<0&&Object.prototype.propertyIsEnumerable.call(Je,Sn[Xn])&&(jn[Sn[Xn]]=Je[Sn[Xn]]);return jn},F=function(Ln,jn){var Sn,Xn=m.useContext(B.b),rr=m.useContext(s.b),hr=rr.getPrefixCls,gn=rr.direction,vn=Ln.name,Ft=Ln.prefixCls,Ye=Ln.className,Pe=Ye===void 0?"":Ye,Jt=Ln.size,bn=Jt===void 0?Xn:Jt,An=Ln.form,dn=Ln.colon,vr=Ln.labelAlign,qn=Ln.labelCol,Ur=Ln.wrapperCol,Ue=Ln.hideRequiredMark,He=Ln.layout,se=He===void 0?"horizontal":He,Ae=Ln.scrollToFirstError,Oe=Ln.requiredMark,ze=Ln.onFinishFailed,Rt=R(Ln,["prefixCls","className","size","form","colon","labelAlign","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed"]),Et=Object(m.useMemo)(function(){return Oe!==void 0?Oe:!Ue},[Ue,Oe]),_t=hr("form",Ft),Nn=r()(_t,(Sn={},b()(Sn,"".concat(_t,"-").concat(se),!0),b()(Sn,"".concat(_t,"-hide-required-mark"),Et===!1),b()(Sn,"".concat(_t,"-rtl"),gn==="rtl"),b()(Sn,"".concat(_t,"-").concat(bn),bn),Sn),Pe),Mn=D(An),lr=v()(Mn,1),Lt=lr[0],$e=Lt.__INTERNAL__;$e.name=vn;var Qe=Object(m.useMemo)(function(){return{name:vn,labelAlign:vr,labelCol:qn,wrapperCol:Ur,vertical:se==="vertical",colon:dn,requiredMark:Et,itemRef:$e.itemRef}},[vn,vr,qn,Ur,se,dn,Et]);m.useImperativeHandle(jn,function(){return Lt});var kt=function(ot){ze&&ze(ot),Ae&&ot.errorFields.length&&Lt.scrollToField(ot.errorFields[0].name)};return m.createElement(B.a,{size:bn},m.createElement(n.Provider,{value:Qe},m.createElement(a.default,L()({id:vn},Rt,{onFinishFailed:kt,form:Lt,className:Nn}))))},M=m.forwardRef(F),K=M,j=e("cDf5"),H=e.n(j),k=e("RIqP"),P=e.n(k),z=e("Y+p1"),Y=e.n(z),_=e("KW7l"),G=e("c+Xe"),J=e("qrJ5"),ue=e("CWQg"),q=e("uaoM"),re=e("/kpp"),me=e("YMnH"),be=e("ZvpZ"),ke=function(Ln){var jn=Ln.prefixCls,Sn=Ln.label,Xn=Ln.htmlFor,rr=Ln.labelCol,hr=Ln.labelAlign,gn=Ln.colon,vn=Ln.required,Ft=Ln.requiredMark,Ye=Object(me.b)("Form"),Pe=v()(Ye,1),Jt=Pe[0];return Sn?m.createElement(n.Consumer,{key:"label"},function(bn){var An,dn=bn.vertical,vr=bn.labelAlign,qn=bn.labelCol,Ur=bn.colon,Ue,He=rr||qn||{},se=hr||vr,Ae="".concat(jn,"-item-label"),Oe=r()(Ae,se==="left"&&"".concat(Ae,"-left"),He.className),ze=Sn,Rt=gn===!0||Ur!==!1&&gn!==!1,Et=Rt&&!dn;Et&&typeof Sn=="string"&&Sn.trim()!==""&&(ze=Sn.replace(/[:|:]\s*$/,"")),Ft==="optional"&&!vn&&(ze=m.createElement(m.Fragment,null,ze,m.createElement("span",{className:"".concat(jn,"-item-optional")},(Jt==null?void 0:Jt.optional)||((Ue=be.a.Form)===null||Ue===void 0?void 0:Ue.optional))));var _t=r()((An={},b()(An,"".concat(jn,"-item-required"),vn),b()(An,"".concat(jn,"-item-required-mark-optional"),Ft==="optional"),b()(An,"".concat(jn,"-item-no-colon"),!Rt),An));return m.createElement(re.a,L()({},He,{className:Oe}),m.createElement("label",{htmlFor:Xn,className:_t,title:typeof Sn=="string"?Sn:""},ze))}):null},ce=ke,Ee=e("gZBC"),pe=e.n(Ee),Se=e("kbBi"),st=e.n(Se),qe=e("J84W"),tt=e.n(qe),Dt=e("sKbD"),ct=e.n(Dt),St=e("YrtM"),rt=e("8XRh"),ht=e("hkKa");function je(Je,Ln,jn){var Sn=m.useRef({errors:Je,visible:!!Je.length}),Xn=Object(ht.a)(),rr=function(){var gn=Sn.current.visible,vn=!!Je.length,Ft=Sn.current.errors;Sn.current.errors=Je,Sn.current.visible=vn,gn!==vn?Ln(vn):(Ft.length!==Je.length||Ft.some(function(Ye,Pe){return Ye!==Je[Pe]}))&&Xn()};return m.useEffect(function(){if(!jn){var hr=setTimeout(rr,10);return function(){return clearTimeout(hr)}}},[Je]),jn&&rr(),[Sn.current.visible,Sn.current.errors]}var Me={success:tt.a,warning:ct.a,error:st.a,validating:pe.a},Ne=function(Ln){var jn=Ln.prefixCls,Sn=Ln.wrapperCol,Xn=Ln.children,rr=Ln.help,hr=Ln.errors,gn=Ln.onDomErrorVisibleChange,vn=Ln.hasFeedback,Ft=Ln.validateStatus,Ye=Ln.extra,Pe=Object(ht.a)(),Jt="".concat(jn,"-item"),bn=m.useContext(n),An=Sn||bn.wrapperCol||{},dn=r()("".concat(Jt,"-control"),An.className),vr=je(hr,function(ze){ze&&Promise.resolve().then(function(){gn(!0)}),Pe()},!!rr),qn=v()(vr,2),Ur=qn[0],Ue=qn[1];m.useEffect(function(){return function(){gn(!1)}},[]);var He=Object(St.a)(function(){return Ue},Ur,function(ze,Rt){return Rt}),se=Ft&&Me[Ft],Ae=vn&&se?m.createElement("span",{className:"".concat(Jt,"-children-icon")},m.createElement(se,null)):null,Oe=L()({},bn);return delete Oe.labelCol,delete Oe.wrapperCol,m.createElement(n.Provider,{value:Oe},m.createElement(re.a,L()({},An,{className:dn}),m.createElement("div",{className:"".concat(Jt,"-control-input")},m.createElement("div",{className:"".concat(Jt,"-control-input-content")},Xn),Ae),m.createElement(rt.default,{motionDeadline:500,visible:Ur,motionName:"show-help",onLeaveEnd:function(){gn(!1)},motionAppear:!0,removeOnLeave:!0},function(ze){var Rt=ze.className;return m.createElement("div",{className:r()("".concat(Jt,"-explain"),Rt),key:"help"},He.map(function(Et,_t){return m.createElement("div",{key:_t,role:"alert"},Et)}))}),Ye&&m.createElement("div",{className:"".concat(Jt,"-extra")},Ye)))},it=Ne,wt=e("0n0R"),jt=e("xEkU"),lt=e.n(jt);function Te(Je){var Ln=m.useState(Je),jn=v()(Ln,2),Sn=jn[0],Xn=jn[1],rr=Object(m.useRef)(null),hr=Object(m.useRef)([]),gn=Object(m.useRef)(!1);m.useEffect(function(){return function(){gn.current=!0,lt.a.cancel(rr.current)}},[]);function vn(Ft){if(gn.current)return;rr.current===null&&(hr.current=[],rr.current=lt()(function(){rr.current=null,Xn(function(Ye){var Pe=Ye;return hr.current.forEach(function(Jt){Pe=Jt(Pe)}),Pe})})),hr.current.push(Ft)}return[Sn,vn]}function mt(){var Je=m.useContext(n),Ln=Je.itemRef,jn=m.useRef({});function Sn(Xn,rr){var hr=rr&&H()(rr)==="object"&&rr.ref,gn=Xn.join("_");return(jn.current.name!==gn||jn.current.originRef!==hr)&&(jn.current.name=gn,jn.current.originRef=hr,jn.current.ref=Object(G.a)(Ln(Xn),hr)),jn.current.ref}return Sn}var tn=function(Je,Ln){var jn={};for(var Sn in Je)Object.prototype.hasOwnProperty.call(Je,Sn)&&Ln.indexOf(Sn)<0&&(jn[Sn]=Je[Sn]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xn=0,Sn=Object.getOwnPropertySymbols(Je);Xn<Sn.length;Xn++)Ln.indexOf(Sn[Xn])<0&&Object.prototype.propertyIsEnumerable.call(Je,Sn[Xn])&&(jn[Sn[Xn]]=Je[Sn[Xn]]);return jn},Vt=Object(ue.a)("success","warning","error","validating",""),Yt=m.memo(function(Je){var Ln=Je.children;return Ln},function(Je,Ln){return Je.value===Ln.value&&Je.update===Ln.update});function Qt(Je){return Je===null&&Object(q.a)(!1,"Form.Item","`null` is passed as `name` property"),!(Je==null)}function an(Je){var Ln=Je.name,jn=Je.fieldKey,Sn=Je.noStyle,Xn=Je.dependencies,rr=Je.prefixCls,hr=Je.style,gn=Je.className,vn=Je.shouldUpdate,Ft=Je.hasFeedback,Ye=Je.help,Pe=Je.rules,Jt=Je.validateStatus,bn=Je.children,An=Je.required,dn=Je.label,vr=Je.trigger,qn=vr===void 0?"onChange":vr,Ur=Je.validateTrigger,Ue=Je.hidden,He=tn(Je,["name","fieldKey","noStyle","dependencies","prefixCls","style","className","shouldUpdate","hasFeedback","help","rules","validateStatus","children","required","label","trigger","validateTrigger","hidden"]),se=m.useRef(!1),Ae=m.useContext(s.b),Oe=Ae.getPrefixCls,ze=m.useContext(n),Rt=ze.name,Et=ze.requiredMark,_t=m.useContext(l),Nn=_t.updateItemErrors,Mn=m.useState(!!Ye),lr=v()(Mn,2),Lt=lr[0],$e=lr[1],Qe=m.useRef(Jt),kt=Te({}),Ht=v()(kt,2),ot=Ht[0],Ct=Ht[1],nt=m.useContext(_.b),Ot=nt.validateTrigger,sn=Ur!==void 0?Ur:Ot;function Zt(Be){se.current||$e(Be)}var Gt=Qt(Ln),Qn=m.useRef([]);m.useEffect(function(){return function(){se.current=!0,Nn(Qn.current.join("__SPLIT__"),[])}},[]);var Gn=Oe("form",rr),Or=Sn?Nn:function(Be,le){Ct(function(){var ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Y()(ye[Be],le)?ye:L()(L()({},ye),b()({},Be,le))})},Nr=mt();function Kr(Be,le,ye,xe){var De,Le;if(Sn&&!Ue)return Be;var Fe=[];Object.keys(ot).forEach(function(pn){Fe=[].concat(P()(Fe),P()(ot[pn]||[]))});var at;Ye!=null?at=S(Ye):(at=ye?ye.errors:[],at=[].concat(P()(at),P()(Fe)));var Ve="";Jt!==void 0?Ve=Jt:(ye==null?void 0:ye.validating)?Ve="validating":((Le=ye==null?void 0:ye.errors)===null||Le===void 0?void 0:Le.length)||Fe.length?Ve="error":(ye==null?void 0:ye.touched)&&(Ve="success"),Lt&&Ye&&(Qe.current=Ve);var It=(De={},b()(De,"".concat(Gn,"-item"),!0),b()(De,"".concat(Gn,"-item-with-help"),Lt||Ye),b()(De,"".concat(gn),!!gn),b()(De,"".concat(Gn,"-item-has-feedback"),Ve&&Ft),b()(De,"".concat(Gn,"-item-has-success"),Ve==="success"),b()(De,"".concat(Gn,"-item-has-warning"),Ve==="warning"),b()(De,"".concat(Gn,"-item-has-error"),Ve==="error"),b()(De,"".concat(Gn,"-item-has-error-leave"),!Ye&&Lt&&Qe.current==="error"),b()(De,"".concat(Gn,"-item-is-validating"),Ve==="validating"),b()(De,"".concat(Gn,"-item-hidden"),Ue),De);return m.createElement(J.a,L()({className:r()(It),style:hr,key:"row"},Object(i.default)(He,["colon","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","normalize","preserve","required","validateFirst","validateStatus","valuePropName","wrapperCol"])),m.createElement(ce,L()({htmlFor:le,required:xe,requiredMark:Et},Je,{prefixCls:Gn})),m.createElement(it,L()({},Je,ye,{errors:at,prefixCls:Gn,onDomErrorVisibleChange:Zt,validateStatus:Ve}),m.createElement(l.Provider,{value:{updateItemErrors:Or}},Be)))}var ei=typeof bn=="function",vi=m.useRef(0);if(vi.current+=1,!Gt&&!ei&&!Xn)return Kr(bn);var Pi={};return typeof dn=="string"&&(Pi.label=dn),m.createElement(a.Field,L()({},Je,{messageVariables:Pi,trigger:qn,validateTrigger:sn,onReset:function(){Zt(!1)}}),function(Be,le,ye){var xe=le.errors,De=S(Ln).length&&le?le.name:[],Le=E(De,Rt);if(Sn){if(Qn.current=P()(De),jn){var Fe=Array.isArray(jn)?jn:[jn];Qn.current=[].concat(P()(De.slice(0,-1)),P()(Fe))}Nn(Qn.current.join("__SPLIT__"),xe)}var at=An!==void 0?An:!!(Pe&&Pe.some(function(Tn){if(Tn&&H()(Tn)==="object"&&Tn.required)return!0;if(typeof Tn=="function"){var Nt=Tn(ye);return Nt&&Nt.required}return!1})),Ve=L()({},Be),It=null;if(Object(q.a)(!(vn&&Xn),"Form.Item","`shouldUpdate` and `dependencies` shouldn't be used together. See https://ant.design/components/form/#dependencies."),Array.isArray(bn)&&Gt)Object(q.a)(!1,"Form.Item","`children` is array of render props cannot have `name`."),It=bn;else if(ei&&(!(vn||Xn)||Gt))Object(q.a)(!!(vn||Xn),"Form.Item","`children` of render props only work with `shouldUpdate` or `dependencies`."),Object(q.a)(!Gt,"Form.Item","Do not use `name` with `children` of render props since it's not a field.");else if(Xn&&!ei&&!Gt)Object(q.a)(!1,"Form.Item","Must set `name` or use render props when `dependencies` is set.");else if(Object(wt.b)(bn)){Object(q.a)(bn.props.defaultValue===void 0,"Form.Item","`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");var pn=L()(L()({},bn.props),Ve);pn.id||(pn.id=Le),Object(G.c)(bn)&&(pn.ref=Nr(De,bn));var rn=new Set([].concat(P()(S(qn)),P()(S(sn))));rn.forEach(function(Tn){pn[Tn]=function(){for(var Nt,ur,Xt,Kn,Fn,un=arguments.length,Sr=new Array(un),Fr=0;Fr<un;Fr++)Sr[Fr]=arguments[Fr];(Xt=Ve[Tn])===null||Xt===void 0||(Nt=Xt).call.apply(Nt,[Ve].concat(Sr)),(Fn=(Kn=bn.props)[Tn])===null||Fn===void 0||(ur=Fn).call.apply(ur,[Kn].concat(Sr))}}),It=m.createElement(Yt,{value:Ve[Je.valuePropName||"value"],update:vi.current},Object(wt.a)(bn,pn))}else ei&&(vn||Xn)&&!Gt?It=bn(ye):(Object(q.a)(!De.length,"Form.Item","`name` is only used for validate React element. If you are using Form.Item as layout display, please remove `name` instead."),It=bn);return Kr(It,Le,le,at)})}var on=an,vt=function(Je,Ln){var jn={};for(var Sn in Je)Object.prototype.hasOwnProperty.call(Je,Sn)&&Ln.indexOf(Sn)<0&&(jn[Sn]=Je[Sn]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xn=0,Sn=Object.getOwnPropertySymbols(Je);Xn<Sn.length;Xn++)Ln.indexOf(Sn[Xn])<0&&Object.prototype.propertyIsEnumerable.call(Je,Sn[Xn])&&(jn[Sn[Xn]]=Je[Sn[Xn]]);return jn},de=function(Ln){var jn=Ln.children,Sn=vt(Ln,["children"]);return Object(q.a)(!!Sn.name,"Form.List","Miss `name` prop."),m.createElement(a.List,Sn,function(Xn,rr){return jn(Xn.map(function(hr){return L()(L()({},hr),{fieldKey:hr.key})}),rr)})},he=de,Pt=K;Pt.Item=on,Pt.List=he,Pt.useForm=D,Pt.Provider=t,Pt.create=function(){Object(q.a)(!1,"Form","antd v4 removed `Form.create`. Please remove or use `@ant-design/compatible` instead.")};var We=U.a=Pt},VpOo:function(te,U){function e(y,L){var g=L.x,v=L.y,A=L.width,b=L.height,m=L.r,d,r,a,s;A<0&&(g=g+A,A=-A),b<0&&(v=v+b,b=-b),typeof m=="number"?d=r=a=s=m:m instanceof Array?m.length===1?d=r=a=s=m[0]:m.length===2?(d=a=m[0],r=s=m[1]):m.length===3?(d=m[0],r=s=m[1],a=m[2]):(d=m[0],r=m[1],a=m[2],s=m[3]):d=r=a=s=0;var i;d+r>A&&(i=d+r,d*=A/i,r*=A/i),a+s>A&&(i=a+s,a*=A/i,s*=A/i),r+a>b&&(i=r+a,r*=b/i,a*=b/i),d+s>b&&(i=d+s,d*=b/i,s*=b/i),y.moveTo(g+d,v),y.lineTo(g+A-r,v),r!==0&&y.arc(g+A-r,v+r,r,-Math.PI/2,0),y.lineTo(g+A,v+b-a),a!==0&&y.arc(g+A-a,v+b-a,a,0,Math.PI/2),y.lineTo(g+s,v+b),s!==0&&y.arc(g+s,v+b-s,s,Math.PI/2,Math.PI),y.lineTo(g,v+d),d!==0&&y.arc(g+d,v+d,d,Math.PI,Math.PI*1.5)}U.buildPath=e},"VrN/":function(te,U,e){(function(y,L){te.exports=L()})(this,function(){"use strict";var y=navigator.userAgent,L=navigator.platform,g=/gecko\/\d/i.test(y),v=/MSIE \d/.test(y),A=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(y),b=/Edge\/(\d+)/.exec(y),m=v||A||b,d=m&&(v?document.documentMode||6:+(b||A)[1]),r=!b&&/WebKit\//.test(y),a=r&&/Qt\/\d+\.\d+/.test(y),s=!b&&/Chrome\//.test(y),i=/Opera\//.test(y),n=/Apple Computer/.test(navigator.vendor),l=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(y),t=/PhantomJS/.test(y),u=!b&&/AppleWebKit/.test(y)&&/Mobile\/\w+/.test(y),o=/Android/.test(y),c=u||o||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(y),h=u||/Mac/.test(L),f=/\bCrOS\b/.test(y),w=/win/i.test(L),x=i&&y.match(/Version\/(\d*\.\d*)/);x&&(x=Number(x[1])),x&&x>=15&&(i=!1,r=!0);var I=h&&(a||i&&(x==null||x<12.11)),C=g||m&&d>=9;function N(p){return new RegExp("(^|\\s)"+p+"(?:$|\\s)\\s*")}var S=function(O,W){var Q=O.className,Z=N(W).exec(Q);if(Z){var ve=Q.slice(Z.index+Z[0].length);O.className=Q.slice(0,Z.index)+(ve?Z[1]+ve:"")}};function E(p){for(var O=p.childNodes.length;O>0;--O)p.removeChild(p.firstChild);return p}function T(p,O){return E(p).appendChild(O)}function D(p,O,W,Q){var Z=document.createElement(p);if(W&&(Z.className=W),Q&&(Z.style.cssText=Q),typeof O=="string")Z.appendChild(document.createTextNode(O));else if(O)for(var ve=0;ve<O.length;++ve)Z.appendChild(O[ve]);return Z}function B(p,O,W,Q){var Z=D(p,O,W,Q);return Z.setAttribute("role","presentation"),Z}var R;document.createRange?R=function(O,W,Q,Z){var ve=document.createRange();return ve.setEnd(Z||O,Q),ve.setStart(O,W),ve}:R=function(O,W,Q){var Z=document.body.createTextRange();try{Z.moveToElementText(O.parentNode)}catch(ve){return Z}return Z.collapse(!0),Z.moveEnd("character",Q),Z.moveStart("character",W),Z};function F(p,O){if(O.nodeType==3&&(O=O.parentNode),p.contains)return p.contains(O);do if(O.nodeType==11&&(O=O.host),O==p)return!0;while(O=O.parentNode)}function M(){var p;try{p=document.activeElement}catch(O){p=document.body||null}for(;p&&p.shadowRoot&&p.shadowRoot.activeElement;)p=p.shadowRoot.activeElement;return p}function K(p,O){var W=p.className;N(O).test(W)||(p.className+=(W?" ":"")+O)}function j(p,O){for(var W=p.split(" "),Q=0;Q<W.length;Q++)W[Q]&&!N(W[Q]).test(O)&&(O+=" "+W[Q]);return O}var H=function(O){O.select()};u?H=function(O){O.selectionStart=0,O.selectionEnd=O.value.length}:m&&(H=function(O){try{O.select()}catch(W){}});function k(p){var O=Array.prototype.slice.call(arguments,1);return function(){return p.apply(null,O)}}function P(p,O,W){O||(O={});for(var Q in p)p.hasOwnProperty(Q)&&(W!==!1||!O.hasOwnProperty(Q))&&(O[Q]=p[Q]);return O}function z(p,O,W,Q,Z){O==null&&(O=p.search(/[^\s\u00a0]/),O==-1&&(O=p.length));for(var ve=Q||0,Ze=Z||0;;){var ft=p.indexOf(" ",ve);if(ft<0||ft>=O)return Ze+(O-ve);Ze+=ft-ve,Ze+=W-Ze%W,ve=ft+1}}var Y=function(){this.id=null,this.f=null,this.time=0,this.handler=k(this.onTimeout,this)};Y.prototype.onTimeout=function(p){p.id=0,p.time<=+new Date?p.f():setTimeout(p.handler,p.time-+new Date)},Y.prototype.set=function(p,O){this.f=O;var W=+new Date+p;(!this.id||W<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,p),this.time=W)};function _(p,O){for(var W=0;W<p.length;++W)if(p[W]==O)return W;return-1}var G=50,J={toString:function(){return"CodeMirror.Pass"}},ue={scroll:!1},q={origin:"*mouse"},re={origin:"+move"};function me(p,O,W){for(var Q=0,Z=0;;){var ve=p.indexOf(" ",Q);ve==-1&&(ve=p.length);var Ze=ve-Q;if(ve==p.length||Z+Ze>=O)return Q+Math.min(Ze,O-Z);if(Z+=ve-Q,Z+=W-Z%W,Q=ve+1,Z>=O)return Q}}var be=[""];function ke(p){for(;be.length<=p;)be.push(ce(be)+" ");return be[p]}function ce(p){return p[p.length-1]}function Ee(p,O){for(var W=[],Q=0;Q<p.length;Q++)W[Q]=O(p[Q],Q);return W}function pe(p,O,W){for(var Q=0,Z=W(O);Q<p.length&&W(p[Q])<=Z;)Q++;p.splice(Q,0,O)}function Se(){}function st(p,O){var W;return Object.create?W=Object.create(p):(Se.prototype=p,W=new Se),O&&P(O,W),W}var qe=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function tt(p){return/\w/.test(p)||p>"\x80"&&(p.toUpperCase()!=p.toLowerCase()||qe.test(p))}function Dt(p,O){return O?O.source.indexOf("\\w")>-1&&tt(p)?!0:O.test(p):tt(p)}function ct(p){for(var O in p)if(p.hasOwnProperty(O)&&p[O])return!1;return!0}var St=/[\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 rt(p){return p.charCodeAt(0)>=768&&St.test(p)}function ht(p,O,W){for(;(W<0?O>0:O<p.length)&&rt(p.charAt(O));)O+=W;return O}function je(p,O,W){for(var Q=O>W?-1:1;;){if(O==W)return O;var Z=(O+W)/2,ve=Q<0?Math.ceil(Z):Math.floor(Z);if(ve==O)return p(ve)?O:W;p(ve)?W=ve:O=ve+Q}}function Me(p,O,W,Q){if(!p)return Q(O,W,"ltr",0);for(var Z=!1,ve=0;ve<p.length;++ve){var Ze=p[ve];(Ze.from<W&&Ze.to>O||O==W&&Ze.to==O)&&(Q(Math.max(Ze.from,O),Math.min(Ze.to,W),Ze.level==1?"rtl":"ltr",ve),Z=!0)}Z||Q(O,W,"ltr")}var Ne=null;function it(p,O,W){var Q;Ne=null;for(var Z=0;Z<p.length;++Z){var ve=p[Z];if(ve.from<O&&ve.to>O)return Z;ve.to==O&&(ve.from!=ve.to&&W=="before"?Q=Z:Ne=Z),ve.from==O&&(ve.from!=ve.to&&W!="before"?Q=Z:Ne=Z)}return Q!=null?Q:Ne}var wt=function(){var p="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",O="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function W(Kt){return Kt<=247?p.charAt(Kt):1424<=Kt&&Kt<=1524?"R":1536<=Kt&&Kt<=1785?O.charAt(Kt-1536):1774<=Kt&&Kt<=2220?"r":8192<=Kt&&Kt<=8203?"w":Kt==8204?"b":"L"}var Q=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,Z=/[stwN]/,ve=/[LRr]/,Ze=/[Lb1n]/,ft=/[1n]/;function Ut(Kt,$n,dr){this.level=Kt,this.from=$n,this.to=dr}return function(Kt,$n){var dr=$n=="ltr"?"L":"R";if(Kt.length==0||$n=="ltr"&&!Q.test(Kt))return!1;for(var Dr=Kt.length,Pr=[],gi=0;gi<Dr;++gi)Pr.push(W(Kt.charCodeAt(gi)));for(var zi=0,Xi=dr;zi<Dr;++zi){var Yi=Pr[zi];Yi=="m"?Pr[zi]=Xi:Xi=Yi}for(var Vi=0,fa=dr;Vi<Dr;++Vi){var ba=Pr[Vi];ba=="1"&&fa=="r"?Pr[Vi]="n":ve.test(ba)&&(fa=ba,ba=="r"&&(Pr[Vi]="R"))}for(var qa=1,_a=Pr[0];qa<Dr-1;++qa){var Eo=Pr[qa];Eo=="+"&&_a=="1"&&Pr[qa+1]=="1"?Pr[qa]="1":Eo==","&&_a==Pr[qa+1]&&(_a=="1"||_a=="n")&&(Pr[qa]=_a),_a=Eo}for(var Wo=0;Wo<Dr;++Wo){var us=Pr[Wo];if(us==",")Pr[Wo]="N";else if(us=="%"){var $o=void 0;for($o=Wo+1;$o<Dr&&Pr[$o]=="%";++$o);for(var Ms=Wo&&Pr[Wo-1]=="!"||$o<Dr&&Pr[$o]=="1"?"1":"N",Xs=Wo;Xs<$o;++Xs)Pr[Xs]=Ms;Wo=$o-1}}for(var Cs=0,Js=dr;Cs<Dr;++Cs){var Fs=Pr[Cs];Js=="L"&&Fs=="1"?Pr[Cs]="L":ve.test(Fs)&&(Js=Fs)}for(var aa=0;aa<Dr;++aa)if(Z.test(Pr[aa])){var os=void 0;for(os=aa+1;os<Dr&&Z.test(Pr[os]);++os);for(var ns=(aa?Pr[aa-1]:dr)=="L",vs=(os<Dr?Pr[os]:dr)=="L",gu=ns==vs?ns?"L":"R":dr,Do=aa;Do<os;++Do)Pr[Do]=gu;aa=os-1}for(var vo=[],pl,Qs=0;Qs<Dr;)if(Ze.test(Pr[Qs])){var vu=Qs;for(++Qs;Qs<Dr&&Ze.test(Pr[Qs]);++Qs);vo.push(new Ut(0,vu,Qs))}else{var Dl=Qs,ml=vo.length,Ql=$n=="rtl"?1:0;for(++Qs;Qs<Dr&&Pr[Qs]!="L";++Qs);for(var tl=Dl;tl<Qs;)if(ft.test(Pr[tl])){Dl<tl&&(vo.splice(ml,0,new Ut(1,Dl,tl)),ml+=Ql);var Rl=tl;for(++tl;tl<Qs&&ft.test(Pr[tl]);++tl);vo.splice(ml,0,new Ut(2,Rl,tl)),ml+=Ql,Dl=tl}else++tl;Dl<Qs&&vo.splice(ml,0,new Ut(1,Dl,Qs))}return $n=="ltr"&&(vo[0].level==1&&(pl=Kt.match(/^\s+/))&&(vo[0].from=pl[0].length,vo.unshift(new Ut(0,0,pl[0].length))),ce(vo).level==1&&(pl=Kt.match(/\s+$/))&&(ce(vo).to-=pl[0].length,vo.push(new Ut(0,Dr-pl[0].length,Dr)))),$n=="rtl"?vo.reverse():vo}}();function jt(p,O){var W=p.order;return W==null&&(W=p.order=wt(p.text,O)),W}var lt=[],Te=function(O,W,Q){if(O.addEventListener)O.addEventListener(W,Q,!1);else if(O.attachEvent)O.attachEvent("on"+W,Q);else{var Z=O._handlers||(O._handlers={});Z[W]=(Z[W]||lt).concat(Q)}};function mt(p,O){return p._handlers&&p._handlers[O]||lt}function tn(p,O,W){if(p.removeEventListener)p.removeEventListener(O,W,!1);else if(p.detachEvent)p.detachEvent("on"+O,W);else{var Q=p._handlers,Z=Q&&Q[O];if(Z){var ve=_(Z,W);ve>-1&&(Q[O]=Z.slice(0,ve).concat(Z.slice(ve+1)))}}}function Vt(p,O){var W=mt(p,O);if(!W.length)return;for(var Q=Array.prototype.slice.call(arguments,2),Z=0;Z<W.length;++Z)W[Z].apply(null,Q)}function Yt(p,O,W){return typeof O=="string"&&(O={type:O,preventDefault:function(){this.defaultPrevented=!0}}),Vt(p,W||O.type,p,O),he(O)||O.codemirrorIgnore}function Qt(p){var O=p._handlers&&p._handlers.cursorActivity;if(!O)return;for(var W=p.curOp.cursorActivityHandlers||(p.curOp.cursorActivityHandlers=[]),Q=0;Q<O.length;++Q)_(W,O[Q])==-1&&W.push(O[Q])}function an(p,O){return mt(p,O).length>0}function on(p){p.prototype.on=function(O,W){Te(this,O,W)},p.prototype.off=function(O,W){tn(this,O,W)}}function vt(p){p.preventDefault?p.preventDefault():p.returnValue=!1}function de(p){p.stopPropagation?p.stopPropagation():p.cancelBubble=!0}function he(p){return p.defaultPrevented!=null?p.defaultPrevented:p.returnValue==!1}function Pt(p){vt(p),de(p)}function We(p){return p.target||p.srcElement}function Je(p){var O=p.which;return O==null&&(p.button&1?O=1:p.button&2?O=3:p.button&4&&(O=2)),h&&p.ctrlKey&&O==1&&(O=3),O}var Ln=function(){if(m&&d<9)return!1;var p=D("div");return"draggable"in p||"dragDrop"in p}(),jn;function Sn(p){if(jn==null){var O=D("span","\u200B");T(p,D("span",[O,document.createTextNode("x")])),p.firstChild.offsetHeight!=0&&(jn=O.offsetWidth<=1&&O.offsetHeight>2&&!(m&&d<8))}var W=jn?D("span","\u200B"):D("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return W.setAttribute("cm-text",""),W}var Xn;function rr(p){if(Xn!=null)return Xn;var O=T(p,document.createTextNode("A\u062EA")),W=R(O,0,1).getBoundingClientRect(),Q=R(O,1,2).getBoundingClientRect();return E(p),!W||W.left==W.right?!1:Xn=Q.right-W.right<3}var hr=`
|
|
|
|
|
|
b`.split(/\n/).length!=3?function(p){for(var O=0,W=[],Q=p.length;O<=Q;){var Z=p.indexOf(`
|
|
|
`,O);Z==-1&&(Z=p.length);var ve=p.slice(O,p.charAt(Z-1)=="\r"?Z-1:Z),Ze=ve.indexOf("\r");Ze!=-1?(W.push(ve.slice(0,Ze)),O+=Ze+1):(W.push(ve),O=Z+1)}return W}:function(p){return p.split(/\r\n?|\n/)},gn=window.getSelection?function(p){try{return p.selectionStart!=p.selectionEnd}catch(O){return!1}}:function(p){var O;try{O=p.ownerDocument.selection.createRange()}catch(W){}return!O||O.parentElement()!=p?!1:O.compareEndPoints("StartToEnd",O)!=0},vn=function(){var p=D("div");return"oncopy"in p?!0:(p.setAttribute("oncopy","return;"),typeof p.oncopy=="function")}(),Ft=null;function Ye(p){if(Ft!=null)return Ft;var O=T(p,D("span","x")),W=O.getBoundingClientRect(),Q=R(O,0,1).getBoundingClientRect();return Ft=Math.abs(W.left-Q.left)>1}var Pe={},Jt={};function bn(p,O){arguments.length>2&&(O.dependencies=Array.prototype.slice.call(arguments,2)),Pe[p]=O}function An(p,O){Jt[p]=O}function dn(p){if(typeof p=="string"&&Jt.hasOwnProperty(p))p=Jt[p];else if(p&&typeof p.name=="string"&&Jt.hasOwnProperty(p.name)){var O=Jt[p.name];typeof O=="string"&&(O={name:O}),p=st(O,p),p.name=O.name}else{if(typeof p=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(p))return dn("application/xml");if(typeof p=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(p))return dn("application/json")}return typeof p=="string"?{name:p}:p||{name:"null"}}function vr(p,O){O=dn(O);var W=Pe[O.name];if(!W)return vr(p,"text/plain");var Q=W(p,O);if(qn.hasOwnProperty(O.name)){var Z=qn[O.name];for(var ve in Z){if(!Z.hasOwnProperty(ve))continue;Q.hasOwnProperty(ve)&&(Q["_"+ve]=Q[ve]),Q[ve]=Z[ve]}}if(Q.name=O.name,O.helperType&&(Q.helperType=O.helperType),O.modeProps)for(var Ze in O.modeProps)Q[Ze]=O.modeProps[Ze];return Q}var qn={};function Ur(p,O){var W=qn.hasOwnProperty(p)?qn[p]:qn[p]={};P(O,W)}function Ue(p,O){if(O===!0)return O;if(p.copyState)return p.copyState(O);var W={};for(var Q in O){var Z=O[Q];Z instanceof Array&&(Z=Z.concat([])),W[Q]=Z}return W}function He(p,O){for(var W;p.innerMode&&!(W=p.innerMode(O),!W||W.mode==p);)O=W.state,p=W.mode;return W||{mode:p,state:O}}function se(p,O,W){return p.startState?p.startState(O,W):!0}var Ae=function(O,W,Q){this.pos=this.start=0,this.string=O,this.tabSize=W||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=Q};Ae.prototype.eol=function(){return this.pos>=this.string.length},Ae.prototype.sol=function(){return this.pos==this.lineStart},Ae.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ae.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ae.prototype.eat=function(p){var O=this.string.charAt(this.pos),W;if(typeof p=="string"?W=O==p:W=O&&(p.test?p.test(O):p(O)),W)return++this.pos,O},Ae.prototype.eatWhile=function(p){for(var O=this.pos;this.eat(p););return this.pos>O},Ae.prototype.eatSpace=function(){for(var p=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>p},Ae.prototype.skipToEnd=function(){this.pos=this.string.length},Ae.prototype.skipTo=function(p){var O=this.string.indexOf(p,this.pos);if(O>-1)return this.pos=O,!0},Ae.prototype.backUp=function(p){this.pos-=p},Ae.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=z(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?z(this.string,this.lineStart,this.tabSize):0)},Ae.prototype.indentation=function(){return z(this.string,null,this.tabSize)-(this.lineStart?z(this.string,this.lineStart,this.tabSize):0)},Ae.prototype.match=function(p,O,W){if(typeof p=="string"){var Q=function(ft){return W?ft.toLowerCase():ft},Z=this.string.substr(this.pos,p.length);if(Q(Z)==Q(p))return O!==!1&&(this.pos+=p.length),!0}else{var ve=this.string.slice(this.pos).match(p);return ve&&ve.index>0?null:(ve&&O!==!1&&(this.pos+=ve[0].length),ve)}},Ae.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ae.prototype.hideFirstChars=function(p,O){this.lineStart+=p;try{return O()}finally{this.lineStart-=p}},Ae.prototype.lookAhead=function(p){var O=this.lineOracle;return O&&O.lookAhead(p)},Ae.prototype.baseToken=function(){var p=this.lineOracle;return p&&p.baseToken(this.pos)};function Oe(p,O){if(O-=p.first,O<0||O>=p.size)throw new Error("There is no line "+(O+p.first)+" in the document.");for(var W=p;!W.lines;)for(var Q=0;;++Q){var Z=W.children[Q],ve=Z.chunkSize();if(O<ve){W=Z;break}O-=ve}return W.lines[O]}function ze(p,O,W){var Q=[],Z=O.line;return p.iter(O.line,W.line+1,function(ve){var Ze=ve.text;Z==W.line&&(Ze=Ze.slice(0,W.ch)),Z==O.line&&(Ze=Ze.slice(O.ch)),Q.push(Ze),++Z}),Q}function Rt(p,O,W){var Q=[];return p.iter(O,W,function(Z){Q.push(Z.text)}),Q}function Et(p,O){var W=O-p.height;if(W)for(var Q=p;Q;Q=Q.parent)Q.height+=W}function _t(p){if(p.parent==null)return null;for(var O=p.parent,W=_(O.lines,p),Q=O.parent;Q;O=Q,Q=Q.parent)for(var Z=0;!(Q.children[Z]==O);++Z)W+=Q.children[Z].chunkSize();return W+O.first}function Nn(p,O){var W=p.first;e:do{for(var Q=0;Q<p.children.length;++Q){var Z=p.children[Q],ve=Z.height;if(O<ve){p=Z;continue e}O-=ve,W+=Z.chunkSize()}return W}while(!p.lines);for(var Ze=0;Ze<p.lines.length;++Ze){var ft=p.lines[Ze],Ut=ft.height;if(O<Ut)break;O-=Ut}return W+Ze}function Mn(p,O){return O>=p.first&&O<p.first+p.size}function lr(p,O){return String(p.lineNumberFormatter(O+p.firstLineNumber))}function Lt(p,O,W){if(W===void 0&&(W=null),!(this instanceof Lt))return new Lt(p,O,W);this.line=p,this.ch=O,this.sticky=W}function $e(p,O){return p.line-O.line||p.ch-O.ch}function Qe(p,O){return p.sticky==O.sticky&&$e(p,O)==0}function kt(p){return Lt(p.line,p.ch)}function Ht(p,O){return $e(p,O)<0?O:p}function ot(p,O){return $e(p,O)<0?p:O}function Ct(p,O){return Math.max(p.first,Math.min(O,p.first+p.size-1))}function nt(p,O){if(O.line<p.first)return Lt(p.first,0);var W=p.first+p.size-1;return O.line>W?Lt(W,Oe(p,W).text.length):Ot(O,Oe(p,O.line).text.length)}function Ot(p,O){var W=p.ch;return W==null||W>O?Lt(p.line,O):W<0?Lt(p.line,0):p}function sn(p,O){for(var W=[],Q=0;Q<O.length;Q++)W[Q]=nt(p,O[Q]);return W}var Zt=function(O,W){this.state=O,this.lookAhead=W},Gt=function(O,W,Q,Z){this.state=W,this.doc=O,this.line=Q,this.maxLookAhead=Z||0,this.baseTokens=null,this.baseTokenPos=1};Gt.prototype.lookAhead=function(p){var O=this.doc.getLine(this.line+p);return O!=null&&p>this.maxLookAhead&&(this.maxLookAhead=p),O},Gt.prototype.baseToken=function(p){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=p;)this.baseTokenPos+=2;var O=this.baseTokens[this.baseTokenPos+1];return{type:O&&O.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-p}},Gt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Gt.fromSaved=function(p,O,W){return O instanceof Zt?new Gt(p,Ue(p.mode,O.state),W,O.lookAhead):new Gt(p,Ue(p.mode,O),W)},Gt.prototype.save=function(p){var O=p!==!1?Ue(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Zt(O,this.maxLookAhead):O};function Qn(p,O,W,Q){var Z=[p.state.modeGen],ve={};le(p,O.text,p.doc.mode,W,function(Kt,$n){return Z.push(Kt,$n)},ve,Q);for(var Ze=W.state,ft=function($n){W.baseTokens=Z;var dr=p.state.overlays[$n],Dr=1,Pr=0;W.state=!0,le(p,O.text,dr.mode,W,function(gi,zi){for(var Xi=Dr;Pr<gi;){var Yi=Z[Dr];Yi>gi&&Z.splice(Dr,1,gi,Z[Dr+1],Yi),Dr+=2,Pr=Math.min(gi,Yi)}if(!zi)return;if(dr.opaque)Z.splice(Xi,Dr-Xi,gi,"overlay "+zi),Dr=Xi+2;else for(;Xi<Dr;Xi+=2){var Vi=Z[Xi+1];Z[Xi+1]=(Vi?Vi+" ":"")+"overlay "+zi}},ve),W.state=Ze,W.baseTokens=null,W.baseTokenPos=1},Ut=0;Ut<p.state.overlays.length;++Ut)ft(Ut);return{styles:Z,classes:ve.bgClass||ve.textClass?ve:null}}function Gn(p,O,W){if(!O.styles||O.styles[0]!=p.state.modeGen){var Q=Or(p,_t(O)),Z=O.text.length>p.options.maxHighlightLength&&Ue(p.doc.mode,Q.state),ve=Qn(p,O,Q);Z&&(Q.state=Z),O.stateAfter=Q.save(!Z),O.styles=ve.styles,ve.classes?O.styleClasses=ve.classes:O.styleClasses&&(O.styleClasses=null),W===p.doc.highlightFrontier&&(p.doc.modeFrontier=Math.max(p.doc.modeFrontier,++p.doc.highlightFrontier))}return O.styles}function Or(p,O,W){var Q=p.doc,Z=p.display;if(!Q.mode.startState)return new Gt(Q,!0,O);var ve=ye(p,O,W),Ze=ve>Q.first&&Oe(Q,ve-1).stateAfter,ft=Ze?Gt.fromSaved(Q,Ze,ve):new Gt(Q,se(Q.mode),ve);return Q.iter(ve,O,function(Ut){Nr(p,Ut.text,ft);var Kt=ft.line;Ut.stateAfter=Kt==O-1||Kt%5==0||Kt>=Z.viewFrom&&Kt<Z.viewTo?ft.save():null,ft.nextLine()}),W&&(Q.modeFrontier=ft.line),ft}function Nr(p,O,W,Q){var Z=p.doc.mode,ve=new Ae(O,p.options.tabSize,W);for(ve.start=ve.pos=Q||0,O==""&&Kr(Z,W.state);!ve.eol();)ei(Z,ve,W.state),ve.start=ve.pos}function Kr(p,O){if(p.blankLine)return p.blankLine(O);if(!p.innerMode)return;var W=He(p,O);if(W.mode.blankLine)return W.mode.blankLine(W.state)}function ei(p,O,W,Q){for(var Z=0;Z<10;Z++){Q&&(Q[0]=He(p,W).mode);var ve=p.token(O,W);if(O.pos>O.start)return ve}throw new Error("Mode "+p.name+" failed to advance stream.")}var vi=function(O,W,Q){this.start=O.start,this.end=O.pos,this.string=O.current(),this.type=W||null,this.state=Q};function Pi(p,O,W,Q){var Z=p.doc,ve=Z.mode,Ze;O=nt(Z,O);var ft=Oe(Z,O.line),Ut=Or(p,O.line,W),Kt=new Ae(ft.text,p.options.tabSize,Ut),$n;for(Q&&($n=[]);(Q||Kt.pos<O.ch)&&!Kt.eol();)Kt.start=Kt.pos,Ze=ei(ve,Kt,Ut.state),Q&&$n.push(new vi(Kt,Ze,Ue(Z.mode,Ut.state)));return Q?$n:new vi(Kt,Ze,Ut.state)}function Be(p,O){if(p)for(;;){var W=p.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!W)break;p=p.slice(0,W.index)+p.slice(W.index+W[0].length);var Q=W[1]?"bgClass":"textClass";O[Q]==null?O[Q]=W[2]:new RegExp("(?:^|\\s)"+W[2]+"(?:$|\\s)").test(O[Q])||(O[Q]+=" "+W[2])}return p}function le(p,O,W,Q,Z,ve,Ze){var ft=W.flattenSpans;ft==null&&(ft=p.options.flattenSpans);var Ut=0,Kt=null,$n=new Ae(O,p.options.tabSize,Q),dr,Dr=p.options.addModeClass&&[null];for(O==""&&Be(Kr(W,Q.state),ve);!$n.eol();){if($n.pos>p.options.maxHighlightLength?(ft=!1,Ze&&Nr(p,O,Q,$n.pos),$n.pos=O.length,dr=null):dr=Be(ei(W,$n,Q.state,Dr),ve),Dr){var Pr=Dr[0].name;Pr&&(dr="m-"+(dr?Pr+" "+dr:Pr))}if(!ft||Kt!=dr){for(;Ut<$n.start;)Ut=Math.min($n.start,Ut+5e3),Z(Ut,Kt);Kt=dr}$n.start=$n.pos}for(;Ut<$n.pos;){var gi=Math.min($n.pos,Ut+5e3);Z(gi,Kt),Ut=gi}}function ye(p,O,W){for(var Q,Z,ve=p.doc,Ze=W?-1:O-(p.doc.mode.innerMode?1e3:100),ft=O;ft>Ze;--ft){if(ft<=ve.first)return ve.first;var Ut=Oe(ve,ft-1),Kt=Ut.stateAfter;if(Kt&&(!W||ft+(Kt instanceof Zt?Kt.lookAhead:0)<=ve.modeFrontier))return ft;var $n=z(Ut.text,null,p.options.tabSize);(Z==null||Q>$n)&&(Z=ft-1,Q=$n)}return Z}function xe(p,O){if(p.modeFrontier=Math.min(p.modeFrontier,O),p.highlightFrontier<O-10)return;for(var W=p.first,Q=O-1;Q>W;Q--){var Z=Oe(p,Q).stateAfter;if(Z&&(!(Z instanceof Zt)||Q+Z.lookAhead<O)){W=Q+1;break}}p.highlightFrontier=Math.min(p.highlightFrontier,W)}var De=!1,Le=!1;function Fe(){De=!0}function at(){Le=!0}function Ve(p,O,W){this.marker=p,this.from=O,this.to=W}function It(p,O){if(p)for(var W=0;W<p.length;++W){var Q=p[W];if(Q.marker==O)return Q}}function pn(p,O){for(var W,Q=0;Q<p.length;++Q)p[Q]!=O&&(W||(W=[])).push(p[Q]);return W}function rn(p,O){p.markedSpans=p.markedSpans?p.markedSpans.concat([O]):[O],O.marker.attachLine(p)}function Tn(p,O,W){var Q;if(p)for(var Z=0;Z<p.length;++Z){var ve=p[Z],Ze=ve.marker,ft=ve.from==null||(Ze.inclusiveLeft?ve.from<=O:ve.from<O);if(ft||ve.from==O&&Ze.type=="bookmark"&&(!W||!ve.marker.insertLeft)){var Ut=ve.to==null||(Ze.inclusiveRight?ve.to>=O:ve.to>O);(Q||(Q=[])).push(new Ve(Ze,ve.from,Ut?null:ve.to))}}return Q}function Nt(p,O,W){var Q;if(p)for(var Z=0;Z<p.length;++Z){var ve=p[Z],Ze=ve.marker,ft=ve.to==null||(Ze.inclusiveRight?ve.to>=O:ve.to>O);if(ft||ve.from==O&&Ze.type=="bookmark"&&(!W||ve.marker.insertLeft)){var Ut=ve.from==null||(Ze.inclusiveLeft?ve.from<=O:ve.from<O);(Q||(Q=[])).push(new Ve(Ze,Ut?null:ve.from-O,ve.to==null?null:ve.to-O))}}return Q}function ur(p,O){if(O.full)return null;var W=Mn(p,O.from.line)&&Oe(p,O.from.line).markedSpans,Q=Mn(p,O.to.line)&&Oe(p,O.to.line).markedSpans;if(!W&&!Q)return null;var Z=O.from.ch,ve=O.to.ch,Ze=$e(O.from,O.to)==0,ft=Tn(W,Z,Ze),Ut=Nt(Q,ve,Ze),Kt=O.text.length==1,$n=ce(O.text).length+(Kt?Z:0);if(ft)for(var dr=0;dr<ft.length;++dr){var Dr=ft[dr];if(Dr.to==null){var Pr=It(Ut,Dr.marker);Pr?Kt&&(Dr.to=Pr.to==null?null:Pr.to+$n):Dr.to=Z}}if(Ut)for(var gi=0;gi<Ut.length;++gi){var zi=Ut[gi];if(zi.to!=null&&(zi.to+=$n),zi.from==null){var Xi=It(ft,zi.marker);Xi||(zi.from=$n,Kt&&(ft||(ft=[])).push(zi))}else zi.from+=$n,Kt&&(ft||(ft=[])).push(zi)}ft&&(ft=Xt(ft)),Ut&&Ut!=ft&&(Ut=Xt(Ut));var Yi=[ft];if(!Kt){var Vi=O.text.length-2,fa;if(Vi>0&&ft)for(var ba=0;ba<ft.length;++ba)ft[ba].to==null&&(fa||(fa=[])).push(new Ve(ft[ba].marker,null,null));for(var qa=0;qa<Vi;++qa)Yi.push(fa);Yi.push(Ut)}return Yi}function Xt(p){for(var O=0;O<p.length;++O){var W=p[O];W.from!=null&&W.from==W.to&&W.marker.clearWhenEmpty!==!1&&p.splice(O--,1)}return p.length?p:null}function Kn(p,O,W){var Q=null;if(p.iter(O.line,W.line+1,function(Pr){if(Pr.markedSpans)for(var gi=0;gi<Pr.markedSpans.length;++gi){var zi=Pr.markedSpans[gi].marker;zi.readOnly&&(!Q||_(Q,zi)==-1)&&(Q||(Q=[])).push(zi)}}),!Q)return null;for(var Z=[{from:O,to:W}],ve=0;ve<Q.length;++ve)for(var Ze=Q[ve],ft=Ze.find(0),Ut=0;Ut<Z.length;++Ut){var Kt=Z[Ut];if($e(Kt.to,ft.from)<0||$e(Kt.from,ft.to)>0)continue;var $n=[Ut,1],dr=$e(Kt.from,ft.from),Dr=$e(Kt.to,ft.to);(dr<0||!Ze.inclusiveLeft&&!dr)&&$n.push({from:Kt.from,to:ft.from}),(Dr>0||!Ze.inclusiveRight&&!Dr)&&$n.push({from:ft.to,to:Kt.to}),Z.splice.apply(Z,$n),Ut+=$n.length-3}return Z}function Fn(p){var O=p.markedSpans;if(!O)return;for(var W=0;W<O.length;++W)O[W].marker.detachLine(p);p.markedSpans=null}function un(p,O){if(!O)return;for(var W=0;W<O.length;++W)O[W].marker.attachLine(p);p.markedSpans=O}function Sr(p){return p.inclusiveLeft?-1:0}function Fr(p){return p.inclusiveRight?1:0}function ii(p,O){var W=p.lines.length-O.lines.length;if(W!=0)return W;var Q=p.find(),Z=O.find(),ve=$e(Q.from,Z.from)||Sr(p)-Sr(O);if(ve)return-ve;var Ze=$e(Q.to,Z.to)||Fr(p)-Fr(O);return Ze||O.id-p.id}function oi(p,O){var W=Le&&p.markedSpans,Q;if(W)for(var Z=void 0,ve=0;ve<W.length;++ve)Z=W[ve],Z.marker.collapsed&&(O?Z.from:Z.to)==null&&(!Q||ii(Q,Z.marker)<0)&&(Q=Z.marker);return Q}function ti(p){return oi(p,!0)}function bi(p){return oi(p,!1)}function Mr(p,O){var W=Le&&p.markedSpans,Q;if(W)for(var Z=0;Z<W.length;++Z){var ve=W[Z];ve.marker.collapsed&&(ve.from==null||ve.from<O)&&(ve.to==null||ve.to>O)&&(!Q||ii(Q,ve.marker)<0)&&(Q=ve.marker)}return Q}function Oi(p,O,W,Q,Z){var ve=Oe(p,O),Ze=Le&&ve.markedSpans;if(Ze)for(var ft=0;ft<Ze.length;++ft){var Ut=Ze[ft];if(!Ut.marker.collapsed)continue;var Kt=Ut.marker.find(0),$n=$e(Kt.from,W)||Sr(Ut.marker)-Sr(Z),dr=$e(Kt.to,Q)||Fr(Ut.marker)-Fr(Z);if($n>=0&&dr<=0||$n<=0&&dr>=0)continue;if($n<=0&&(Ut.marker.inclusiveRight&&Z.inclusiveLeft?$e(Kt.to,W)>=0:$e(Kt.to,W)>0)||$n>=0&&(Ut.marker.inclusiveRight&&Z.inclusiveLeft?$e(Kt.from,Q)<=0:$e(Kt.from,Q)<0))return!0}}function Ar(p){for(var O;O=ti(p);)p=O.find(-1,!0).line;return p}function Wn(p){for(var O;O=bi(p);)p=O.find(1,!0).line;return p}function xr(p){for(var O,W;O=bi(p);)p=O.find(1,!0).line,(W||(W=[])).push(p);return W}function er(p,O){var W=Oe(p,O),Q=Ar(W);return W==Q?O:_t(Q)}function ci(p,O){if(O>p.lastLine())return O;var W=Oe(p,O),Q;if(!qr(p,W))return O;for(;Q=bi(W);)W=Q.find(1,!0).line;return _t(W)+1}function qr(p,O){var W=Le&&O.markedSpans;if(W)for(var Q=void 0,Z=0;Z<W.length;++Z){if(Q=W[Z],!Q.marker.collapsed)continue;if(Q.from==null)return!0;if(Q.marker.widgetNode)continue;if(Q.from==0&&Q.marker.inclusiveLeft&&wi(p,O,Q))return!0}}function wi(p,O,W){if(W.to==null){var Q=W.marker.find(1,!0);return wi(p,Q.line,It(Q.line.markedSpans,W.marker))}if(W.marker.inclusiveRight&&W.to==O.text.length)return!0;for(var Z=void 0,ve=0;ve<O.markedSpans.length;++ve)if(Z=O.markedSpans[ve],Z.marker.collapsed&&!Z.marker.widgetNode&&Z.from==W.to&&(Z.to==null||Z.to!=W.from)&&(Z.marker.inclusiveLeft||W.marker.inclusiveRight)&&wi(p,O,Z))return!0}function Xr(p){p=Ar(p);for(var O=0,W=p.parent,Q=0;Q<W.lines.length;++Q){var Z=W.lines[Q];if(Z==p)break;O+=Z.height}for(var ve=W.parent;ve;W=ve,ve=W.parent)for(var Ze=0;Ze<ve.children.length;++Ze){var ft=ve.children[Ze];if(ft==W)break;O+=ft.height}return O}function Hi(p){if(p.height==0)return 0;for(var O=p.text.length,W,Q=p;W=ti(Q);){var Z=W.find(0,!0);Q=Z.from.line,O+=Z.from.ch-Z.to.ch}for(Q=p;W=bi(Q);){var ve=W.find(0,!0);O-=Q.text.length-ve.from.ch,Q=ve.to.line,O+=Q.text.length-ve.to.ch}return O}function ni(p){var O=p.display,W=p.doc;O.maxLine=Oe(W,W.first),O.maxLineLength=Hi(O.maxLine),O.maxLineChanged=!0,W.iter(function(Q){var Z=Hi(Q);Z>O.maxLineLength&&(O.maxLineLength=Z,O.maxLine=Q)})}var Mi=function(O,W,Q){this.text=O,un(this,W),this.height=Q?Q(this):1};Mi.prototype.lineNo=function(){return _t(this)},on(Mi);function cr(p,O,W,Q){p.text=O,p.stateAfter&&(p.stateAfter=null),p.styles&&(p.styles=null),p.order!=null&&(p.order=null),Fn(p),un(p,W);var Z=Q?Q(p):1;Z!=p.height&&Et(p,Z)}function Pn(p){p.parent=null,Fn(p)}var br={},Br={};function Qr(p,O){if(!p||/^\s*$/.test(p))return null;var W=O.addModeClass?Br:br;return W[p]||(W[p]=p.replace(/\S+/g,"cm-$&"))}function $r(p,O){var W=B("span",null,null,r?"padding-right: .1px":null),Q={pre:B("pre",[W],"CodeMirror-line"),content:W,col:0,pos:0,cm:p,trailingSpace:!1,splitSpaces:p.getOption("lineWrapping")};O.measure={};for(var Z=0;Z<=(O.rest?O.rest.length:0);Z++){var ve=Z?O.rest[Z-1]:O.line,Ze=void 0;Q.pos=0,Q.addToken=fi,rr(p.display.measure)&&(Ze=jt(ve,p.doc.direction))&&(Q.addToken=Wi(Q.addToken,Ze)),Q.map=[];var ft=O!=p.display.externalMeasured&&_t(ve);$i(ve,Q,Gn(p,ve,ft)),ve.styleClasses&&(ve.styleClasses.bgClass&&(Q.bgClass=j(ve.styleClasses.bgClass,Q.bgClass||"")),ve.styleClasses.textClass&&(Q.textClass=j(ve.styleClasses.textClass,Q.textClass||""))),Q.map.length==0&&Q.map.push(0,0,Q.content.appendChild(Sn(p.display.measure))),Z==0?(O.measure.map=Q.map,O.measure.cache={}):((O.measure.maps||(O.measure.maps=[])).push(Q.map),(O.measure.caches||(O.measure.caches=[])).push({}))}if(r){var Ut=Q.content.lastChild;(/\bcm-tab\b/.test(Ut.className)||Ut.querySelector&&Ut.querySelector(".cm-tab"))&&(Q.content.className="cm-tab-wrap-hack")}return Vt(p,"renderLine",p,O.line,Q.pre),Q.pre.className&&(Q.textClass=j(Q.pre.className,Q.textClass||"")),Q}function hi(p){var O=D("span","\u2022","cm-invalidchar");return O.title="\\u"+p.charCodeAt(0).toString(16),O.setAttribute("aria-label",O.title),O}function fi(p,O,W,Q,Z,ve,Ze){if(!O)return;var ft=p.splitSpaces?Ai(O,p.trailingSpace):O,Ut=p.cm.state.specialChars,Kt=!1,$n;if(!Ut.test(O))p.col+=O.length,$n=document.createTextNode(ft),p.map.push(p.pos,p.pos+O.length,$n),m&&d<9&&(Kt=!0),p.pos+=O.length;else{$n=document.createDocumentFragment();for(var dr=0;;){Ut.lastIndex=dr;var Dr=Ut.exec(O),Pr=Dr?Dr.index-dr:O.length-dr;if(Pr){var gi=document.createTextNode(ft.slice(dr,dr+Pr));m&&d<9?$n.appendChild(D("span",[gi])):$n.appendChild(gi),p.map.push(p.pos,p.pos+Pr,gi),p.col+=Pr,p.pos+=Pr}if(!Dr)break;dr+=Pr+1;var zi=void 0;if(Dr[0]==" "){var Xi=p.cm.options.tabSize,Yi=Xi-p.col%Xi;zi=$n.appendChild(D("span",ke(Yi),"cm-tab")),zi.setAttribute("role","presentation"),zi.setAttribute("cm-text"," "),p.col+=Yi}else Dr[0]=="\r"||Dr[0]==`
|
|
|
`?(zi=$n.appendChild(D("span",Dr[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),zi.setAttribute("cm-text",Dr[0]),p.col+=1):(zi=p.cm.options.specialCharPlaceholder(Dr[0]),zi.setAttribute("cm-text",Dr[0]),m&&d<9?$n.appendChild(D("span",[zi])):$n.appendChild(zi),p.col+=1);p.map.push(p.pos,p.pos+1,zi),p.pos++}}if(p.trailingSpace=ft.charCodeAt(O.length-1)==32,W||Q||Z||Kt||ve||Ze){var Vi=W||"";Q&&(Vi+=Q),Z&&(Vi+=Z);var fa=D("span",[$n],Vi,ve);if(Ze)for(var ba in Ze)Ze.hasOwnProperty(ba)&&ba!="style"&&ba!="class"&&fa.setAttribute(ba,Ze[ba]);return p.content.appendChild(fa)}p.content.appendChild($n)}function Ai(p,O){if(p.length>1&&!/ /.test(p))return p;for(var W=O,Q="",Z=0;Z<p.length;Z++){var ve=p.charAt(Z);ve==" "&&W&&(Z==p.length-1||p.charCodeAt(Z+1)==32)&&(ve="\xA0"),Q+=ve,W=ve==" "}return Q}function Wi(p,O){return function(W,Q,Z,ve,Ze,ft,Ut){Z=Z?Z+" cm-force-border":"cm-force-border";for(var Kt=W.pos,$n=Kt+Q.length;;){for(var dr=void 0,Dr=0;Dr<O.length&&!(dr=O[Dr],dr.to>Kt&&dr.from<=Kt);Dr++);if(dr.to>=$n)return p(W,Q,Z,ve,Ze,ft,Ut);p(W,Q.slice(0,dr.to-Kt),Z,ve,null,ft,Ut),ve=null,Q=Q.slice(dr.to-Kt),Kt=dr.to}}}function ra(p,O,W,Q){var Z=!Q&&W.widgetNode;Z&&p.map.push(p.pos,p.pos+O,Z),!Q&&p.cm.display.input.needsContentAttribute&&(Z||(Z=p.content.appendChild(document.createElement("span"))),Z.setAttribute("cm-marker",W.id)),Z&&(p.cm.display.input.setUneditable(Z),p.content.appendChild(Z)),p.pos+=O,p.trailingSpace=!1}function $i(p,O,W){var Q=p.markedSpans,Z=p.text,ve=0;if(!Q){for(var Ze=1;Ze<W.length;Ze+=2)O.addToken(O,Z.slice(ve,ve=W[Ze]),Qr(W[Ze+1],O.cm.options));return}for(var ft=Z.length,Ut=0,Kt=1,$n="",dr,Dr,Pr=0,gi,zi,Xi,Yi,Vi;;){if(Pr==Ut){gi=zi=Xi=Dr="",Vi=null,Yi=null,Pr=Infinity;for(var fa=[],ba=void 0,qa=0;qa<Q.length;++qa){var _a=Q[qa],Eo=_a.marker;if(Eo.type=="bookmark"&&_a.from==Ut&&Eo.widgetNode)fa.push(Eo);else if(_a.from<=Ut&&(_a.to==null||_a.to>Ut||Eo.collapsed&&_a.to==Ut&&_a.from==Ut)){if(_a.to!=null&&_a.to!=Ut&&Pr>_a.to&&(Pr=_a.to,zi=""),Eo.className&&(gi+=" "+Eo.className),Eo.css&&(Dr=(Dr?Dr+";":"")+Eo.css),Eo.startStyle&&_a.from==Ut&&(Xi+=" "+Eo.startStyle),Eo.endStyle&&_a.to==Pr&&(ba||(ba=[])).push(Eo.endStyle,_a.to),Eo.title&&((Vi||(Vi={})).title=Eo.title),Eo.attributes)for(var Wo in Eo.attributes)(Vi||(Vi={}))[Wo]=Eo.attributes[Wo];Eo.collapsed&&(!Yi||ii(Yi.marker,Eo)<0)&&(Yi=_a)}else _a.from>Ut&&Pr>_a.from&&(Pr=_a.from)}if(ba)for(var us=0;us<ba.length;us+=2)ba[us+1]==Pr&&(zi+=" "+ba[us]);if(!Yi||Yi.from==Ut)for(var $o=0;$o<fa.length;++$o)ra(O,0,fa[$o]);if(Yi&&(Yi.from||0)==Ut){if(ra(O,(Yi.to==null?ft+1:Yi.to)-Ut,Yi.marker,Yi.from==null),Yi.to==null)return;Yi.to==Ut&&(Yi=!1)}}if(Ut>=ft)break;for(var Ms=Math.min(ft,Pr);;){if($n){var Xs=Ut+$n.length;if(!Yi){var Cs=Xs>Ms?$n.slice(0,Ms-Ut):$n;O.addToken(O,Cs,dr?dr+gi:gi,Xi,Ut+Cs.length==Pr?zi:"",Dr,Vi)}if(Xs>=Ms){$n=$n.slice(Ms-Ut),Ut=Ms;break}Ut=Xs,Xi=""}$n=Z.slice(ve,ve=W[Kt++]),dr=Qr(W[Kt++],O.cm.options)}}}function Ha(p,O,W){this.line=O,this.rest=xr(O),this.size=this.rest?_t(ce(this.rest))-W+1:1,this.node=this.text=null,this.hidden=qr(p,O)}function pi(p,O,W){for(var Q=[],Z,ve=O;ve<W;ve=Z){var Ze=new Ha(p.doc,Oe(p.doc,ve),ve);Z=ve+Ze.size,Q.push(Ze)}return Q}var sr=null;function Li(p){sr?sr.ops.push(p):p.ownsGroup=sr={ops:[p],delayedCallbacks:[]}}function Ji(p){var O=p.delayedCallbacks,W=0;do{for(;W<O.length;W++)O[W].call(null);for(var Q=0;Q<p.ops.length;Q++){var Z=p.ops[Q];if(Z.cursorActivityHandlers)for(;Z.cursorActivityCalled<Z.cursorActivityHandlers.length;)Z.cursorActivityHandlers[Z.cursorActivityCalled++].call(null,Z.cm)}}while(W<O.length)}function Ui(p,O){var W=p.ownsGroup;if(!W)return;try{Ji(W)}finally{sr=null,O(W)}}var ea=null;function Bt(p,O){var W=mt(p,O);if(!W.length)return;var Q=Array.prototype.slice.call(arguments,2),Z;sr?Z=sr.delayedCallbacks:ea?Z=ea:(Z=ea=[],setTimeout(Vn,0));for(var ve=function(Ut){Z.push(function(){return W[Ut].apply(null,Q)})},Ze=0;Ze<W.length;++Ze)ve(Ze)}function Vn(){var p=ea;ea=null;for(var O=0;O<p.length;++O)p[O]()}function nr(p,O,W,Q){for(var Z=0;Z<O.changes.length;Z++){var ve=O.changes[Z];ve=="text"?qt(p,O):ve=="gutter"?Cn(p,O,W,Q):ve=="class"?$t(p,O):ve=="widget"&&Dn(p,O,Q)}O.changes=null}function fr(p){return p.node==p.text&&(p.node=D("div",null,null,"position: relative"),p.text.parentNode&&p.text.parentNode.replaceChild(p.node,p.text),p.node.appendChild(p.text),m&&d<8&&(p.node.style.zIndex=2)),p.node}function Re(p,O){var W=O.bgClass?O.bgClass+" "+(O.line.bgClass||""):O.line.bgClass;if(W&&(W+=" CodeMirror-linebackground"),O.background)W?O.background.className=W:(O.background.parentNode.removeChild(O.background),O.background=null);else if(W){var Q=fr(O);O.background=Q.insertBefore(D("div",null,W),Q.firstChild),p.display.input.setUneditable(O.background)}}function At(p,O){var W=p.display.externalMeasured;return W&&W.line==O.line?(p.display.externalMeasured=null,O.measure=W.measure,W.built):$r(p,O)}function qt(p,O){var W=O.text.className,Q=At(p,O);O.text==O.node&&(O.node=Q.pre),O.text.parentNode.replaceChild(Q.pre,O.text),O.text=Q.pre,Q.bgClass!=O.bgClass||Q.textClass!=O.textClass?(O.bgClass=Q.bgClass,O.textClass=Q.textClass,$t(p,O)):W&&(O.text.className=W)}function $t(p,O){Re(p,O),O.line.wrapClass?fr(O).className=O.line.wrapClass:O.node!=O.text&&(O.node.className="");var W=O.textClass?O.textClass+" "+(O.line.textClass||""):O.line.textClass;O.text.className=W||""}function Cn(p,O,W,Q){if(O.gutter&&(O.node.removeChild(O.gutter),O.gutter=null),O.gutterBackground&&(O.node.removeChild(O.gutterBackground),O.gutterBackground=null),O.line.gutterClass){var Z=fr(O);O.gutterBackground=D("div",null,"CodeMirror-gutter-background "+O.line.gutterClass,"left: "+(p.options.fixedGutter?Q.fixedPos:-Q.gutterTotalWidth)+"px; width: "+Q.gutterTotalWidth+"px"),p.display.input.setUneditable(O.gutterBackground),Z.insertBefore(O.gutterBackground,O.text)}var ve=O.line.gutterMarkers;if(p.options.lineNumbers||ve){var Ze=fr(O),ft=O.gutter=D("div",null,"CodeMirror-gutter-wrapper","left: "+(p.options.fixedGutter?Q.fixedPos:-Q.gutterTotalWidth)+"px");if(p.display.input.setUneditable(ft),Ze.insertBefore(ft,O.text),O.line.gutterClass&&(ft.className+=" "+O.line.gutterClass),p.options.lineNumbers&&(!ve||!ve["CodeMirror-linenumbers"])&&(O.lineNumber=ft.appendChild(D("div",lr(p.options,W),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+Q.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+p.display.lineNumInnerWidth+"px"))),ve)for(var Ut=0;Ut<p.display.gutterSpecs.length;++Ut){var Kt=p.display.gutterSpecs[Ut].className,$n=ve.hasOwnProperty(Kt)&&ve[Kt];$n&&ft.appendChild(D("div",[$n],"CodeMirror-gutter-elt","left: "+Q.gutterLeft[Kt]+"px; width: "+Q.gutterWidth[Kt]+"px"))}}}function Dn(p,O,W){O.alignable&&(O.alignable=null);for(var Q=N("CodeMirror-linewidget"),Z=O.node.firstChild,ve=void 0;Z;Z=ve)ve=Z.nextSibling,Q.test(Z.className)&&O.node.removeChild(Z);ar(p,O,W)}function Hn(p,O,W,Q){var Z=At(p,O);return O.text=O.node=Z.pre,Z.bgClass&&(O.bgClass=Z.bgClass),Z.textClass&&(O.textClass=Z.textClass),$t(p,O),Cn(p,O,W,Q),ar(p,O,Q),O.node}function ar(p,O,W){if(Er(p,O.line,O,W,!0),O.rest)for(var Q=0;Q<O.rest.length;Q++)Er(p,O.rest[Q],O,W,!1)}function Er(p,O,W,Q,Z){if(!O.widgets)return;for(var ve=fr(W),Ze=0,ft=O.widgets;Ze<ft.length;++Ze){var Ut=ft[Ze],Kt=D("div",[Ut.node],"CodeMirror-linewidget"+(Ut.className?" "+Ut.className:""));Ut.handleMouseEvents||Kt.setAttribute("cm-ignore-events","true"),gr(Ut,Kt,W,Q),p.display.input.setUneditable(Kt),Z&&Ut.above?ve.insertBefore(Kt,W.gutter||W.text):ve.appendChild(Kt),Bt(Ut,"redraw")}}function gr(p,O,W,Q){if(p.noHScroll){(W.alignable||(W.alignable=[])).push(O);var Z=Q.wrapperWidth;O.style.left=Q.fixedPos+"px",p.coverGutter||(Z-=Q.gutterTotalWidth,O.style.paddingLeft=Q.gutterTotalWidth+"px"),O.style.width=Z+"px"}p.coverGutter&&(O.style.zIndex=5,O.style.position="relative",p.noHScroll||(O.style.marginLeft=-Q.gutterTotalWidth+"px"))}function Rr(p){if(p.height!=null)return p.height;var O=p.doc.cm;if(!O)return 0;if(!F(document.body,p.node)){var W="position: relative;";p.coverGutter&&(W+="margin-left: -"+O.display.gutters.offsetWidth+"px;"),p.noHScroll&&(W+="width: "+O.display.wrapper.clientWidth+"px;"),T(O.display.measure,D("div",[p.node],null,W))}return p.height=p.node.parentNode.offsetHeight}function kr(p,O){for(var W=We(O);W!=p.wrapper;W=W.parentNode)if(!W||W.nodeType==1&&W.getAttribute("cm-ignore-events")=="true"||W.parentNode==p.sizer&&W!=p.mover)return!0}function wr(p){return p.lineSpace.offsetTop}function Lr(p){return p.mover.offsetHeight-p.lineSpace.offsetHeight}function Ir(p){if(p.cachedPaddingH)return p.cachedPaddingH;var O=T(p.measure,D("pre","x","CodeMirror-line-like")),W=window.getComputedStyle?window.getComputedStyle(O):O.currentStyle,Q={left:parseInt(W.paddingLeft),right:parseInt(W.paddingRight)};return!isNaN(Q.left)&&!isNaN(Q.right)&&(p.cachedPaddingH=Q),Q}function zr(p){return G-p.display.nativeBarWidth}function Gr(p){return p.display.scroller.clientWidth-zr(p)-p.display.barWidth}function ri(p){return p.display.scroller.clientHeight-zr(p)-p.display.barHeight}function yi(p,O,W){var Q=p.options.lineWrapping,Z=Q&&Gr(p);if(!O.measure.heights||Q&&O.measure.width!=Z){var ve=O.measure.heights=[];if(Q){O.measure.width=Z;for(var Ze=O.text.firstChild.getClientRects(),ft=0;ft<Ze.length-1;ft++){var Ut=Ze[ft],Kt=Ze[ft+1];Math.abs(Ut.bottom-Kt.bottom)>2&&ve.push((Ut.bottom+Kt.top)/2-W.top)}}ve.push(W.bottom-W.top)}}function li(p,O,W){if(p.line==O)return{map:p.measure.map,cache:p.measure.cache};for(var Q=0;Q<p.rest.length;Q++)if(p.rest[Q]==O)return{map:p.measure.maps[Q],cache:p.measure.caches[Q]};for(var Z=0;Z<p.rest.length;Z++)if(_t(p.rest[Z])>W)return{map:p.measure.maps[Z],cache:p.measure.caches[Z],before:!0}}function Ti(p,O){O=Ar(O);var W=_t(O),Q=p.display.externalMeasured=new Ha(p.doc,O,W);Q.lineN=W;var Z=Q.built=$r(p,Q);return Q.text=Z.pre,T(p.display.lineMeasure,Z.pre),Q}function Fi(p,O,W,Q){return Ni(p,mi(p,O),W,Q)}function Si(p,O){if(O>=p.display.viewFrom&&O<p.display.viewTo)return p.display.view[Na(p,O)];var W=p.display.externalMeasured;if(W&&O>=W.lineN&&O<W.lineN+W.size)return W}function mi(p,O){var W=_t(O),Q=Si(p,W);Q&&!Q.text?Q=null:Q&&Q.changes&&(nr(p,Q,W,qi(p)),p.curOp.forceUpdate=!0),Q||(Q=Ti(p,O));var Z=li(Q,O,W);return{line:O,view:Q,rect:null,map:Z.map,cache:Z.cache,before:Z.before,hasHeights:!1}}function Ni(p,O,W,Q,Z){O.before&&(W=-1);var ve=W+(Q||""),Ze;return O.cache.hasOwnProperty(ve)?Ze=O.cache[ve]:(O.rect||(O.rect=O.view.text.getBoundingClientRect()),O.hasHeights||(yi(p,O.view,O.rect),O.hasHeights=!0),Ze=hn(p,O,W,Q),Ze.bogus||(O.cache[ve]=Ze)),{left:Ze.left,right:Ze.right,top:Z?Ze.rtop:Ze.top,bottom:Z?Ze.rbottom:Ze.bottom}}var Wr={left:0,right:0,top:0,bottom:0};function Ri(p,O,W){for(var Q,Z,ve,Ze,ft,Ut,Kt=0;Kt<p.length;Kt+=3)if(ft=p[Kt],Ut=p[Kt+1],O<ft?(Z=0,ve=1,Ze="left"):O<Ut?(Z=O-ft,ve=Z+1):(Kt==p.length-3||O==Ut&&p[Kt+3]>O)&&(ve=Ut-ft,Z=ve-1,O>=Ut&&(Ze="right")),Z!=null){if(Q=p[Kt+2],ft==Ut&&W==(Q.insertLeft?"left":"right")&&(Ze=W),W=="left"&&Z==0)for(;Kt&&p[Kt-2]==p[Kt-3]&&p[Kt-1].insertLeft;)Q=p[(Kt-=3)+2],Ze="left";if(W=="right"&&Z==Ut-ft)for(;Kt<p.length-3&&p[Kt+3]==p[Kt+4]&&!p[Kt+5].insertLeft;)Q=p[(Kt+=3)+2],Ze="right";break}return{node:Q,start:Z,end:ve,collapse:Ze,coverStart:ft,coverEnd:Ut}}function Ki(p,O){var W=Wr;if(O=="left")for(var Q=0;Q<p.length&&!((W=p[Q]).left!=W.right);Q++);else for(var Z=p.length-1;Z>=0&&!((W=p[Z]).left!=W.right);Z--);return W}function hn(p,O,W,Q){var Z=Ri(O.map,W,Q),ve=Z.node,Ze=Z.start,ft=Z.end,Ut=Z.collapse,Kt;if(ve.nodeType==3){for(var $n=0;$n<4;$n++){for(;Ze&&rt(O.line.text.charAt(Z.coverStart+Ze));)--Ze;for(;Z.coverStart+ft<Z.coverEnd&&rt(O.line.text.charAt(Z.coverStart+ft));)++ft;if(m&&d<9&&Ze==0&&ft==Z.coverEnd-Z.coverStart?Kt=ve.parentNode.getBoundingClientRect():Kt=Ki(R(ve,Ze,ft).getClientRects(),Q),Kt.left||Kt.right||Ze==0)break;ft=Ze,Ze=Ze-1,Ut="right"}m&&d<11&&(Kt=Rn(p.display.measure,Kt))}else{Ze>0&&(Ut=Q="right");var dr;p.options.lineWrapping&&(dr=ve.getClientRects()).length>1?Kt=dr[Q=="right"?dr.length-1:0]:Kt=ve.getBoundingClientRect()}if(m&&d<9&&!Ze&&(!Kt||!Kt.left&&!Kt.right)){var Dr=ve.parentNode.getClientRects()[0];Dr?Kt={left:Dr.left,right:Dr.left+na(p.display),top:Dr.top,bottom:Dr.bottom}:Kt=Wr}for(var Pr=Kt.top-O.rect.top,gi=Kt.bottom-O.rect.top,zi=(Pr+gi)/2,Xi=O.view.measure.heights,Yi=0;Yi<Xi.length-1&&!(zi<Xi[Yi]);Yi++);var Vi=Yi?Xi[Yi-1]:0,fa=Xi[Yi],ba={left:(Ut=="right"?Kt.right:Kt.left)-O.rect.left,right:(Ut=="left"?Kt.left:Kt.right)-O.rect.left,top:Vi,bottom:fa};return!Kt.left&&!Kt.right&&(ba.bogus=!0),p.options.singleCursorHeightPerLine||(ba.rtop=Pr,ba.rbottom=gi),ba}function Rn(p,O){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Ye(p))return O;var W=screen.logicalXDPI/screen.deviceXDPI,Q=screen.logicalYDPI/screen.deviceYDPI;return{left:O.left*W,right:O.right*W,top:O.top*Q,bottom:O.bottom*Q}}function Yn(p){if(p.measure&&(p.measure.cache={},p.measure.heights=null,p.rest))for(var O=0;O<p.rest.length;O++)p.measure.caches[O]={}}function En(p){p.display.externalMeasure=null,E(p.display.lineMeasure);for(var O=0;O<p.display.view.length;O++)Yn(p.display.view[O])}function Mt(p){En(p),p.display.cachedCharWidth=p.display.cachedTextHeight=p.display.cachedPaddingH=null,p.options.lineWrapping||(p.display.maxLineChanged=!0),p.display.lineNumChars=null}function mn(){return s&&o?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function zt(){return s&&o?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function _n(p){var O=0;if(p.widgets)for(var W=0;W<p.widgets.length;++W)p.widgets[W].above&&(O+=Rr(p.widgets[W]));return O}function kn(p,O,W,Q,Z){if(!Z){var ve=_n(O);W.top+=ve,W.bottom+=ve}if(Q=="line")return W;Q||(Q="local");var Ze=Xr(O);if(Q=="local"?Ze+=wr(p.display):Ze-=p.display.viewOffset,Q=="page"||Q=="window"){var ft=p.display.lineSpace.getBoundingClientRect();Ze+=ft.top+(Q=="window"?0:zt());var Ut=ft.left+(Q=="window"?0:mn());W.left+=Ut,W.right+=Ut}return W.top+=Ze,W.bottom+=Ze,W}function pr(p,O,W){if(W=="div")return O;var Q=O.left,Z=O.top;if(W=="page")Q-=mn(),Z-=zt();else if(W=="local"||!W){var ve=p.display.sizer.getBoundingClientRect();Q+=ve.left,Z+=ve.top}var Ze=p.display.lineSpace.getBoundingClientRect();return{left:Q-Ze.left,top:Z-Ze.top}}function or(p,O,W,Q,Z){return Q||(Q=Oe(p.doc,O.line)),kn(p,Q,Fi(p,Q,O.ch,Z),W)}function yr(p,O,W,Q,Z,ve){Q=Q||Oe(p.doc,O.line),Z||(Z=mi(p,Q));function Ze(gi,zi){var Xi=Ni(p,Z,gi,zi?"right":"left",ve);return zi?Xi.left=Xi.right:Xi.right=Xi.left,kn(p,Q,Xi,W)}var ft=jt(Q,p.doc.direction),Ut=O.ch,Kt=O.sticky;if(Ut>=Q.text.length?(Ut=Q.text.length,Kt="before"):Ut<=0&&(Ut=0,Kt="after"),!ft)return Ze(Kt=="before"?Ut-1:Ut,Kt=="before");function $n(gi,zi,Xi){var Yi=ft[zi],Vi=Yi.level==1;return Ze(Xi?gi-1:gi,Vi!=Xi)}var dr=it(ft,Ut,Kt),Dr=Ne,Pr=$n(Ut,dr,Kt=="before");return Dr!=null&&(Pr.other=$n(Ut,Dr,Kt!="before")),Pr}function _r(p,O){var W=0;O=nt(p.doc,O),p.options.lineWrapping||(W=na(p.display)*O.ch);var Q=Oe(p.doc,O.line),Z=Xr(Q)+wr(p.display);return{left:W,right:W,top:Z,bottom:Z+Q.height}}function Yr(p,O,W,Q,Z){var ve=Lt(p,O,W);return ve.xRel=Z,Q&&(ve.outside=Q),ve}function Jr(p,O,W){var Q=p.doc;if(W+=p.display.viewOffset,W<0)return Yr(Q.first,0,null,-1,-1);var Z=Nn(Q,W),ve=Q.first+Q.size-1;if(Z>ve)return Yr(Q.first+Q.size-1,Oe(Q,ve).text.length,null,1,1);O<0&&(O=0);for(var Ze=Oe(Q,Z);;){var ft=da(p,Ze,Z,O,W),Ut=Mr(Ze,ft.ch+(ft.xRel>0||ft.outside>0?1:0));if(!Ut)return ft;var Kt=Ut.find(1);if(Kt.line==Z)return Kt;Ze=Oe(Q,Z=Kt.line)}}function Ci(p,O,W,Q){Q-=_n(O);var Z=O.text.length,ve=je(function(Ze){return Ni(p,W,Ze-1).bottom<=Q},Z,0);return Z=je(function(Ze){return Ni(p,W,Ze).top>Q},ve,Z),{begin:ve,end:Z}}function ta(p,O,W,Q){W||(W=mi(p,O));var Z=kn(p,O,Ni(p,W,Q),"line").top;return Ci(p,O,W,Z)}function oa(p,O,W,Q){return p.bottom<=W?!1:p.top>W?!0:(Q?p.left:p.right)>O}function da(p,O,W,Q,Z){Z-=Xr(O);var ve=mi(p,O),Ze=_n(O),ft=0,Ut=O.text.length,Kt=!0,$n=jt(O,p.doc.direction);if($n){var dr=(p.options.lineWrapping?ma:ua)(p,O,W,ve,$n,Q,Z);Kt=dr.level!=1,ft=Kt?dr.from:dr.to-1,Ut=Kt?dr.to:dr.from-1}var Dr=null,Pr=null,gi=je(function(qa){var _a=Ni(p,ve,qa);return _a.top+=Ze,_a.bottom+=Ze,oa(_a,Q,Z,!1)?(_a.top<=Z&&_a.left<=Q&&(Dr=qa,Pr=_a),!0):!1},ft,Ut),zi,Xi,Yi=!1;if(Pr){var Vi=Q-Pr.left<Pr.right-Q,fa=Vi==Kt;gi=Dr+(fa?0:1),Xi=fa?"after":"before",zi=Vi?Pr.left:Pr.right}else{!Kt&&(gi==Ut||gi==ft)&&gi++,Xi=gi==0?"after":gi==O.text.length?"before":Ni(p,ve,gi-(Kt?1:0)).bottom+Ze<=Z==Kt?"after":"before";var ba=yr(p,Lt(W,gi,Xi),"line",O,ve);zi=ba.left,Yi=Z<ba.top?-1:Z>=ba.bottom?1:0}return gi=ht(O.text,gi,1),Yr(W,gi,Xi,Yi,Q-zi)}function ua(p,O,W,Q,Z,ve,Ze){var ft=je(function(dr){var Dr=Z[dr],Pr=Dr.level!=1;return oa(yr(p,Lt(W,Pr?Dr.to:Dr.from,Pr?"before":"after"),"line",O,Q),ve,Ze,!0)},0,Z.length-1),Ut=Z[ft];if(ft>0){var Kt=Ut.level!=1,$n=yr(p,Lt(W,Kt?Ut.from:Ut.to,Kt?"after":"before"),"line",O,Q);oa($n,ve,Ze,!0)&&$n.top>Ze&&(Ut=Z[ft-1])}return Ut}function ma(p,O,W,Q,Z,ve,Ze){var ft=Ci(p,O,Q,Ze),Ut=ft.begin,Kt=ft.end;/\s/.test(O.text.charAt(Kt-1))&&Kt--;for(var $n=null,dr=null,Dr=0;Dr<Z.length;Dr++){var Pr=Z[Dr];if(Pr.from>=Kt||Pr.to<=Ut)continue;var gi=Pr.level!=1,zi=Ni(p,Q,gi?Math.min(Kt,Pr.to)-1:Math.max(Ut,Pr.from)).right,Xi=zi<ve?ve-zi+1e9:zi-ve;(!$n||dr>Xi)&&($n=Pr,dr=Xi)}return $n||($n=Z[Z.length-1]),$n.from<Ut&&($n={from:Ut,to:$n.to,level:$n.level}),$n.to>Kt&&($n={from:$n.from,to:Kt,level:$n.level}),$n}var ki;function Di(p){if(p.cachedTextHeight!=null)return p.cachedTextHeight;if(ki==null){ki=D("pre",null,"CodeMirror-line-like");for(var O=0;O<49;++O)ki.appendChild(document.createTextNode("x")),ki.appendChild(D("br"));ki.appendChild(document.createTextNode("x"))}T(p.measure,ki);var W=ki.offsetHeight/50;return W>3&&(p.cachedTextHeight=W),E(p.measure),W||1}function na(p){if(p.cachedCharWidth!=null)return p.cachedCharWidth;var O=D("span","xxxxxxxxxx"),W=D("pre",[O],"CodeMirror-line-like");T(p.measure,W);var Q=O.getBoundingClientRect(),Z=(Q.right-Q.left)/10;return Z>2&&(p.cachedCharWidth=Z),Z||10}function qi(p){for(var O=p.display,W={},Q={},Z=O.gutters.clientLeft,ve=O.gutters.firstChild,Ze=0;ve;ve=ve.nextSibling,++Ze){var ft=p.display.gutterSpecs[Ze].className;W[ft]=ve.offsetLeft+ve.clientLeft+Z,Q[ft]=ve.clientWidth}return{fixedPos:va(O),gutterTotalWidth:O.gutters.offsetWidth,gutterLeft:W,gutterWidth:Q,wrapperWidth:O.wrapper.clientWidth}}function va(p){return p.scroller.getBoundingClientRect().left-p.sizer.getBoundingClientRect().left}function Ta(p){var O=Di(p.display),W=p.options.lineWrapping,Q=W&&Math.max(5,p.display.scroller.clientWidth/na(p.display)-3);return function(Z){if(qr(p.doc,Z))return 0;var ve=0;if(Z.widgets)for(var Ze=0;Ze<Z.widgets.length;Ze++)Z.widgets[Ze].height&&(ve+=Z.widgets[Ze].height);return W?ve+(Math.ceil(Z.text.length/Q)||1)*O:ve+O}}function Zi(p){var O=p.doc,W=Ta(p);O.iter(function(Q){var Z=W(Q);Z!=Q.height&&Et(Q,Z)})}function Qi(p,O,W,Q){var Z=p.display;if(!W&&We(O).getAttribute("cm-not-content")=="true")return null;var ve,Ze,ft=Z.lineSpace.getBoundingClientRect();try{ve=O.clientX-ft.left,Ze=O.clientY-ft.top}catch(dr){return null}var Ut=Jr(p,ve,Ze),Kt;if(Q&&Ut.xRel>0&&(Kt=Oe(p.doc,Ut.line).text).length==Ut.ch){var $n=z(Kt,Kt.length,p.options.tabSize)-Kt.length;Ut=Lt(Ut.line,Math.max(0,Math.round((ve-Ir(p.display).left)/na(p.display))-$n))}return Ut}function Na(p,O){if(O>=p.display.viewTo)return null;if(O-=p.display.viewFrom,O<0)return null;for(var W=p.display.view,Q=0;Q<W.length;Q++)if(O-=W[Q].size,O<0)return Q}function ga(p,O,W,Q){O==null&&(O=p.doc.first),W==null&&(W=p.doc.first+p.doc.size),Q||(Q=0);var Z=p.display;if(Q&&W<Z.viewTo&&(Z.updateLineNumbers==null||Z.updateLineNumbers>O)&&(Z.updateLineNumbers=O),p.curOp.viewChanged=!0,O>=Z.viewTo)Le&&er(p.doc,O)<Z.viewTo&&Sa(p);else if(W<=Z.viewFrom)Le&&ci(p.doc,W+Q)>Z.viewFrom?Sa(p):(Z.viewFrom+=Q,Z.viewTo+=Q);else if(O<=Z.viewFrom&&W>=Z.viewTo)Sa(p);else if(O<=Z.viewFrom){var ve=Ra(p,W,W+Q,1);ve?(Z.view=Z.view.slice(ve.index),Z.viewFrom=ve.lineN,Z.viewTo+=Q):Sa(p)}else if(W>=Z.viewTo){var Ze=Ra(p,O,O,-1);Ze?(Z.view=Z.view.slice(0,Ze.index),Z.viewTo=Ze.lineN):Sa(p)}else{var ft=Ra(p,O,O,-1),Ut=Ra(p,W,W+Q,1);ft&&Ut?(Z.view=Z.view.slice(0,ft.index).concat(pi(p,ft.lineN,Ut.lineN)).concat(Z.view.slice(Ut.index)),Z.viewTo+=Q):Sa(p)}var Kt=Z.externalMeasured;Kt&&(W<Kt.lineN?Kt.lineN+=Q:O<Kt.lineN+Kt.size&&(Z.externalMeasured=null))}function Ii(p,O,W){p.curOp.viewChanged=!0;var Q=p.display,Z=p.display.externalMeasured;if(Z&&O>=Z.lineN&&O<Z.lineN+Z.size&&(Q.externalMeasured=null),O<Q.viewFrom||O>=Q.viewTo)return;var ve=Q.view[Na(p,O)];if(ve.node==null)return;var Ze=ve.changes||(ve.changes=[]);_(Ze,W)==-1&&Ze.push(W)}function Sa(p){p.display.viewFrom=p.display.viewTo=p.doc.first,p.display.view=[],p.display.viewOffset=0}function Ra(p,O,W,Q){var Z=Na(p,O),ve,Ze=p.display.view;if(!Le||W==p.doc.first+p.doc.size)return{index:Z,lineN:W};for(var ft=p.display.viewFrom,Ut=0;Ut<Z;Ut++)ft+=Ze[Ut].size;if(ft!=O){if(Q>0){if(Z==Ze.length-1)return null;ve=ft+Ze[Z].size-O,Z++}else ve=ft-O;O+=ve,W+=ve}for(;er(p.doc,W)!=W;){if(Z==(Q<0?0:Ze.length-1))return null;W+=Q*Ze[Z-(Q<0?1:0)].size,Z+=Q}return{index:Z,lineN:W}}function Da(p,O,W){var Q=p.display,Z=Q.view;Z.length==0||O>=Q.viewTo||W<=Q.viewFrom?(Q.view=pi(p,O,W),Q.viewFrom=O):(Q.viewFrom>O?Q.view=pi(p,O,Q.viewFrom).concat(Q.view):Q.viewFrom<O&&(Q.view=Q.view.slice(Na(p,O))),Q.viewFrom=O,Q.viewTo<W?Q.view=Q.view.concat(pi(p,Q.viewTo,W)):Q.viewTo>W&&(Q.view=Q.view.slice(0,Na(p,W)))),Q.viewTo=W}function ka(p){for(var O=p.display.view,W=0,Q=0;Q<O.length;Q++){var Z=O[Q];!Z.hidden&&(!Z.node||Z.changes)&&++W}return W}function Pa(p){p.display.input.showSelection(p.display.input.prepareSelection())}function Ka(p,O){O===void 0&&(O=!0);for(var W=p.doc,Q={},Z=Q.cursors=document.createDocumentFragment(),ve=Q.selection=document.createDocumentFragment(),Ze=0;Ze<W.sel.ranges.length;Ze++){if(!O&&Ze==W.sel.primIndex)continue;var ft=W.sel.ranges[Ze];if(ft.from().line>=p.display.viewTo||ft.to().line<p.display.viewFrom)continue;var Ut=ft.empty();(Ut||p.options.showCursorWhenSelecting)&&xa(p,ft.head,Z),Ut||io(p,ft,ve)}return Q}function xa(p,O,W){var Q=yr(p,O,"div",null,null,!p.options.singleCursorHeightPerLine),Z=W.appendChild(D("div","\xA0","CodeMirror-cursor"));if(Z.style.left=Q.left+"px",Z.style.top=Q.top+"px",Z.style.height=Math.max(0,Q.bottom-Q.top)*p.options.cursorHeight+"px",Q.other){var ve=W.appendChild(D("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));ve.style.display="",ve.style.left=Q.other.left+"px",ve.style.top=Q.other.top+"px",ve.style.height=(Q.other.bottom-Q.other.top)*.85+"px"}}function ja(p,O){return p.top-O.top||p.left-O.left}function io(p,O,W){var Q=p.display,Z=p.doc,ve=document.createDocumentFragment(),Ze=Ir(p.display),ft=Ze.left,Ut=Math.max(Q.sizerWidth,Gr(p)-Q.sizer.offsetLeft)-Ze.right,Kt=Z.direction=="ltr";function $n(fa,ba,qa,_a){ba<0&&(ba=0),ba=Math.round(ba),_a=Math.round(_a),ve.appendChild(D("div",null,"CodeMirror-selected","position: absolute; left: "+fa+`px;
|
|
|
top: `+ba+"px; width: "+(qa==null?Ut-fa:qa)+`px;
|
|
|
height: `+(_a-ba)+"px"))}function dr(fa,ba,qa){var _a=Oe(Z,fa),Eo=_a.text.length,Wo,us;function $o(Cs,Js){return or(p,Lt(fa,Cs),"div",_a,Js)}function Ms(Cs,Js,Fs){var aa=ta(p,_a,null,Cs),os=Js=="ltr"==(Fs=="after")?"left":"right",ns=Fs=="after"?aa.begin:aa.end-(/\s/.test(_a.text.charAt(aa.end-1))?2:1);return $o(ns,os)[os]}var Xs=jt(_a,Z.direction);return Me(Xs,ba||0,qa==null?Eo:qa,function(Cs,Js,Fs,aa){var os=Fs=="ltr",ns=$o(Cs,os?"left":"right"),vs=$o(Js-1,os?"right":"left"),gu=ba==null&&Cs==0,Do=qa==null&&Js==Eo,vo=aa==0,pl=!Xs||aa==Xs.length-1;if(vs.top-ns.top<=3){var Qs=(Kt?gu:Do)&&vo,vu=(Kt?Do:gu)&&pl,Dl=Qs?ft:(os?ns:vs).left,ml=vu?Ut:(os?vs:ns).right;$n(Dl,ns.top,ml-Dl,ns.bottom)}else{var Ql,tl,Rl,Bu;os?(Ql=Kt&&gu&&vo?ft:ns.left,tl=Kt?Ut:Ms(Cs,Fs,"before"),Rl=Kt?ft:Ms(Js,Fs,"after"),Bu=Kt&&Do&&pl?Ut:vs.right):(Ql=Kt?Ms(Cs,Fs,"before"):ft,tl=!Kt&&gu&&vo?Ut:ns.right,Rl=!Kt&&Do&&pl?ft:vs.left,Bu=Kt?Ms(Js,Fs,"after"):Ut),$n(Ql,ns.top,tl-Ql,ns.bottom),ns.bottom<vs.top&&$n(ft,ns.bottom,null,vs.top),$n(Rl,vs.top,Bu-Rl,vs.bottom)}(!Wo||ja(ns,Wo)<0)&&(Wo=ns),ja(vs,Wo)<0&&(Wo=vs),(!us||ja(ns,us)<0)&&(us=ns),ja(vs,us)<0&&(us=vs)}),{start:Wo,end:us}}var Dr=O.from(),Pr=O.to();if(Dr.line==Pr.line)dr(Dr.line,Dr.ch,Pr.ch);else{var gi=Oe(Z,Dr.line),zi=Oe(Z,Pr.line),Xi=Ar(gi)==Ar(zi),Yi=dr(Dr.line,Dr.ch,Xi?gi.text.length+1:null).end,Vi=dr(Pr.line,Xi?0:null,Pr.ch).start;Xi&&(Yi.top<Vi.top-2?($n(Yi.right,Yi.top,null,Yi.bottom),$n(ft,Vi.top,Vi.left,Vi.bottom)):$n(Yi.right,Yi.top,Vi.left-Yi.right,Yi.bottom)),Yi.bottom<Vi.top&&$n(ft,Yi.bottom,null,Vi.top)}W.appendChild(ve)}function ia(p){if(!p.state.focused)return;var O=p.display;clearInterval(O.blinker);var W=!0;O.cursorDiv.style.visibility="",p.options.cursorBlinkRate>0?O.blinker=setInterval(function(){p.hasFocus()||Xa(p),O.cursorDiv.style.visibility=(W=!W)?"":"hidden"},p.options.cursorBlinkRate):p.options.cursorBlinkRate<0&&(O.cursorDiv.style.visibility="hidden")}function lo(p){p.state.focused||(p.display.input.focus(),Ca(p))}function Ya(p){p.state.delayingBlurEvent=!0,setTimeout(function(){p.state.delayingBlurEvent&&(p.state.delayingBlurEvent=!1,Xa(p))},100)}function Ca(p,O){if(p.state.delayingBlurEvent&&(p.state.delayingBlurEvent=!1),p.options.readOnly=="nocursor")return;p.state.focused||(Vt(p,"focus",p,O),p.state.focused=!0,K(p.display.wrapper,"CodeMirror-focused"),!p.curOp&&p.display.selForContextMenu!=p.doc.sel&&(p.display.input.reset(),r&&setTimeout(function(){return p.display.input.reset(!0)},20)),p.display.input.receivedFocus()),ia(p)}function Xa(p,O){if(p.state.delayingBlurEvent)return;p.state.focused&&(Vt(p,"blur",p,O),p.state.focused=!1,S(p.display.wrapper,"CodeMirror-focused")),clearInterval(p.display.blinker),setTimeout(function(){p.state.focused||(p.display.shift=!1)},150)}function Ba(p){for(var O=p.display,W=O.lineDiv.offsetTop,Q=0;Q<O.view.length;Q++){var Z=O.view[Q],ve=p.options.lineWrapping,Ze=void 0,ft=0;if(Z.hidden)continue;if(m&&d<8){var Ut=Z.node.offsetTop+Z.node.offsetHeight;Ze=Ut-W,W=Ut}else{var Kt=Z.node.getBoundingClientRect();Ze=Kt.bottom-Kt.top,!ve&&Z.text.firstChild&&(ft=Z.text.firstChild.getBoundingClientRect().right-Kt.left-1)}var $n=Z.line.height-Ze;if(($n>.005||$n<-.005)&&(Et(Z.line,Ze),La(Z.line),Z.rest))for(var dr=0;dr<Z.rest.length;dr++)La(Z.rest[dr]);if(ft>p.display.sizerWidth){var Dr=Math.ceil(ft/na(p.display));Dr>p.display.maxLineLength&&(p.display.maxLineLength=Dr,p.display.maxLine=Z.line,p.display.maxLineChanged=!0)}}}function La(p){if(p.widgets)for(var O=0;O<p.widgets.length;++O){var W=p.widgets[O],Q=W.node.parentNode;Q&&(W.height=Q.offsetHeight)}}function yo(p,O,W){var Q=W&&W.top!=null?Math.max(0,W.top):p.scroller.scrollTop;Q=Math.floor(Q-wr(p));var Z=W&&W.bottom!=null?W.bottom:Q+p.wrapper.clientHeight,ve=Nn(O,Q),Ze=Nn(O,Z);if(W&&W.ensure){var ft=W.ensure.from.line,Ut=W.ensure.to.line;ft<ve?(ve=ft,Ze=Nn(O,Xr(Oe(O,ft))+p.wrapper.clientHeight)):Math.min(Ut,O.lastLine())>=Ze&&(ve=Nn(O,Xr(Oe(O,Ut))-p.wrapper.clientHeight),Ze=Ut)}return{from:ve,to:Math.max(Ze,ve+1)}}function ao(p,O){if(Yt(p,"scrollCursorIntoView"))return;var W=p.display,Q=W.sizer.getBoundingClientRect(),Z=null;if(O.top+Q.top<0?Z=!0:O.bottom+Q.top>(window.innerHeight||document.documentElement.clientHeight)&&(Z=!1),Z!=null&&!t){var ve=D("div","\u200B",null,`position: absolute;
|
|
|
top: `+(O.top-W.viewOffset-wr(p.display))+`px;
|
|
|
height: `+(O.bottom-O.top+zr(p)+W.barHeight)+`px;
|
|
|
left: `+O.left+"px; width: "+Math.max(2,O.right-O.left)+"px;");p.display.lineSpace.appendChild(ve),ve.scrollIntoView(Z),p.display.lineSpace.removeChild(ve)}}function bo(p,O,W,Q){Q==null&&(Q=0);var Z;!p.options.lineWrapping&&O==W&&(O=O.ch?Lt(O.line,O.sticky=="before"?O.ch-1:O.ch,"after"):O,W=O.sticky=="before"?Lt(O.line,O.ch+1,"before"):O);for(var ve=0;ve<5;ve++){var Ze=!1,ft=yr(p,O),Ut=!W||W==O?ft:yr(p,W);Z={left:Math.min(ft.left,Ut.left),top:Math.min(ft.top,Ut.top)-Q,right:Math.max(ft.left,Ut.left),bottom:Math.max(ft.bottom,Ut.bottom)+Q};var Kt=co(p,Z),$n=p.doc.scrollTop,dr=p.doc.scrollLeft;if(Kt.scrollTop!=null&&(Ma(p,Kt.scrollTop),Math.abs(p.doc.scrollTop-$n)>1&&(Ze=!0)),Kt.scrollLeft!=null&&(jo(p,Kt.scrollLeft),Math.abs(p.doc.scrollLeft-dr)>1&&(Ze=!0)),!Ze)break}return Z}function uo(p,O){var W=co(p,O);W.scrollTop!=null&&Ma(p,W.scrollTop),W.scrollLeft!=null&&jo(p,W.scrollLeft)}function co(p,O){var W=p.display,Q=Di(p.display);O.top<0&&(O.top=0);var Z=p.curOp&&p.curOp.scrollTop!=null?p.curOp.scrollTop:W.scroller.scrollTop,ve=ri(p),Ze={};O.bottom-O.top>ve&&(O.bottom=O.top+ve);var ft=p.doc.height+Lr(W),Ut=O.top<Q,Kt=O.bottom>ft-Q;if(O.top<Z)Ze.scrollTop=Ut?0:O.top;else if(O.bottom>Z+ve){var $n=Math.min(O.top,(Kt?ft:O.bottom)-ve);$n!=Z&&(Ze.scrollTop=$n)}var dr=p.options.fixedGutter?0:W.gutters.offsetWidth,Dr=p.curOp&&p.curOp.scrollLeft!=null?p.curOp.scrollLeft:W.scroller.scrollLeft-dr,Pr=Gr(p)-W.gutters.offsetWidth,gi=O.right-O.left>Pr;return gi&&(O.right=O.left+Pr),O.left<10?Ze.scrollLeft=0:O.left<Dr?Ze.scrollLeft=Math.max(0,O.left+dr-(gi?0:10)):O.right>Pr+Dr-3&&(Ze.scrollLeft=O.right+(gi?0:10)-Pr),Ze}function Ga(p,O){if(O==null)return;fo(p),p.curOp.scrollTop=(p.curOp.scrollTop==null?p.doc.scrollTop:p.curOp.scrollTop)+O}function eo(p){fo(p);var O=p.getCursor();p.curOp.scrollToPos={from:O,to:O,margin:p.options.cursorScrollMargin}}function wa(p,O,W){(O!=null||W!=null)&&fo(p),O!=null&&(p.curOp.scrollLeft=O),W!=null&&(p.curOp.scrollTop=W)}function no(p,O){fo(p),p.curOp.scrollToPos=O}function fo(p){var O=p.curOp.scrollToPos;if(O){p.curOp.scrollToPos=null;var W=_r(p,O.from),Q=_r(p,O.to);_i(p,W,Q,O.margin)}}function _i(p,O,W,Q){var Z=co(p,{left:Math.min(O.left,W.left),top:Math.min(O.top,W.top)-Q,right:Math.max(O.right,W.right),bottom:Math.max(O.bottom,W.bottom)+Q});wa(p,Z.scrollLeft,Z.scrollTop)}function Ma(p,O){if(Math.abs(p.doc.scrollTop-O)<2)return;g||Uo(p,{top:O}),Ro(p,O,!0),g&&Uo(p),_o(p,100)}function Ro(p,O,W){if(O=Math.max(0,Math.min(p.display.scroller.scrollHeight-p.display.scroller.clientHeight,O)),p.display.scroller.scrollTop==O&&!W)return;p.doc.scrollTop=O,p.display.scrollbars.setScrollTop(O),p.display.scroller.scrollTop!=O&&(p.display.scroller.scrollTop=O)}function jo(p,O,W,Q){if(O=Math.max(0,Math.min(O,p.display.scroller.scrollWidth-p.display.scroller.clientWidth)),(W?O==p.doc.scrollLeft:Math.abs(p.doc.scrollLeft-O)<2)&&!Q)return;p.doc.scrollLeft=O,Os(p),p.display.scroller.scrollLeft!=O&&(p.display.scroller.scrollLeft=O),p.display.scrollbars.setScrollLeft(O)}function Vo(p){var O=p.display,W=O.gutters.offsetWidth,Q=Math.round(p.doc.height+Lr(p.display));return{clientHeight:O.scroller.clientHeight,viewHeight:O.wrapper.clientHeight,scrollWidth:O.scroller.scrollWidth,clientWidth:O.scroller.clientWidth,viewWidth:O.wrapper.clientWidth,barLeft:p.options.fixedGutter?W:0,docHeight:Q,scrollHeight:Q+zr(p)+O.barHeight,nativeBarWidth:O.nativeBarWidth,gutterWidth:W}}var Qo=function(O,W,Q){this.cm=Q;var Z=this.vert=D("div",[D("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),ve=this.horiz=D("div",[D("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");Z.tabIndex=ve.tabIndex=-1,O(Z),O(ve),Te(Z,"scroll",function(){Z.clientHeight&&W(Z.scrollTop,"vertical")}),Te(ve,"scroll",function(){ve.clientWidth&&W(ve.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,m&&d<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Qo.prototype.update=function(p){var O=p.scrollWidth>p.clientWidth+1,W=p.scrollHeight>p.clientHeight+1,Q=p.nativeBarWidth;if(W){this.vert.style.display="block",this.vert.style.bottom=O?Q+"px":"0";var Z=p.viewHeight-(O?Q:0);this.vert.firstChild.style.height=Math.max(0,p.scrollHeight-p.clientHeight+Z)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(O){this.horiz.style.display="block",this.horiz.style.right=W?Q+"px":"0",this.horiz.style.left=p.barLeft+"px";var ve=p.viewWidth-p.barLeft-(W?Q:0);this.horiz.firstChild.style.width=Math.max(0,p.scrollWidth-p.clientWidth+ve)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&p.clientHeight>0&&(Q==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:W?Q:0,bottom:O?Q:0}},Qo.prototype.setScrollLeft=function(p){this.horiz.scrollLeft!=p&&(this.horiz.scrollLeft=p),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Qo.prototype.setScrollTop=function(p){this.vert.scrollTop!=p&&(this.vert.scrollTop=p),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Qo.prototype.zeroWidthHack=function(){var p=h&&!l?"12px":"18px";this.horiz.style.height=this.vert.style.width=p,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Y,this.disableVert=new Y},Qo.prototype.enableZeroWidthBar=function(p,O,W){p.style.pointerEvents="auto";function Q(){var Z=p.getBoundingClientRect(),ve=W=="vert"?document.elementFromPoint(Z.right-1,(Z.top+Z.bottom)/2):document.elementFromPoint((Z.right+Z.left)/2,Z.bottom-1);ve!=p?p.style.pointerEvents="none":O.set(1e3,Q)}O.set(1e3,Q)},Qo.prototype.clear=function(){var p=this.horiz.parentNode;p.removeChild(this.horiz),p.removeChild(this.vert)};var wo=function(){};wo.prototype.update=function(){return{bottom:0,right:0}},wo.prototype.setScrollLeft=function(){},wo.prototype.setScrollTop=function(){},wo.prototype.clear=function(){};function Oa(p,O){O||(O=Vo(p));var W=p.display.barWidth,Q=p.display.barHeight;Po(p,O);for(var Z=0;Z<4&&W!=p.display.barWidth||Q!=p.display.barHeight;Z++)W!=p.display.barWidth&&p.options.lineWrapping&&Ba(p),Po(p,Vo(p)),W=p.display.barWidth,Q=p.display.barHeight}function Po(p,O){var W=p.display,Q=W.scrollbars.update(O);W.sizer.style.paddingRight=(W.barWidth=Q.right)+"px",W.sizer.style.paddingBottom=(W.barHeight=Q.bottom)+"px",W.heightForcer.style.borderBottom=Q.bottom+"px solid transparent",Q.right&&Q.bottom?(W.scrollbarFiller.style.display="block",W.scrollbarFiller.style.height=Q.bottom+"px",W.scrollbarFiller.style.width=Q.right+"px"):W.scrollbarFiller.style.display="",Q.bottom&&p.options.coverGutterNextToScrollbar&&p.options.fixedGutter?(W.gutterFiller.style.display="block",W.gutterFiller.style.height=Q.bottom+"px",W.gutterFiller.style.width=O.gutterWidth+"px"):W.gutterFiller.style.display=""}var ds={native:Qo,null:wo};function ho(p){p.display.scrollbars&&(p.display.scrollbars.clear(),p.display.scrollbars.addClass&&S(p.display.wrapper,p.display.scrollbars.addClass)),p.display.scrollbars=new ds[p.options.scrollbarStyle](function(O){p.display.wrapper.insertBefore(O,p.display.scrollbarFiller),Te(O,"mousedown",function(){p.state.focused&&setTimeout(function(){return p.display.input.focus()},0)}),O.setAttribute("cm-not-content","true")},function(O,W){W=="horizontal"?jo(p,O):Ma(p,O)},p),p.display.scrollbars.addClass&&K(p.display.wrapper,p.display.scrollbars.addClass)}var To=0;function za(p){p.curOp={cm:p,viewChanged:!1,startHeight:p.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++To},Li(p.curOp)}function Yo(p){var O=p.curOp;O&&Ui(O,function(W){for(var Q=0;Q<W.ops.length;Q++)W.ops[Q].cm.curOp=null;nl(W)})}function nl(p){for(var O=p.ops,W=0;W<O.length;W++)Is(O[W]);for(var Q=0;Q<O.length;Q++)Ls(O[Q]);for(var Z=0;Z<O.length;Z++)xs(O[Z]);for(var ve=0;ve<O.length;ve++)ps(O[ve]);for(var Ze=0;Ze<O.length;Ze++)Ts(O[Ze])}function Is(p){var O=p.cm,W=O.display;rl(O),p.updateMaxLine&&ni(O),p.mustUpdate=p.viewChanged||p.forceUpdate||p.scrollTop!=null||p.scrollToPos&&(p.scrollToPos.from.line<W.viewFrom||p.scrollToPos.to.line>=W.viewTo)||W.maxLineChanged&&O.options.lineWrapping,p.update=p.mustUpdate&&new Go(O,p.mustUpdate&&{top:p.scrollTop,ensure:p.scrollToPos},p.forceUpdate)}function Ls(p){p.updatedDisplay=p.mustUpdate&&ro(p.cm,p.update)}function xs(p){var O=p.cm,W=O.display;p.updatedDisplay&&Ba(O),p.barMeasure=Vo(O),W.maxLineChanged&&!O.options.lineWrapping&&(p.adjustWidthTo=Fi(O,W.maxLine,W.maxLine.text.length).left+3,O.display.sizerWidth=p.adjustWidthTo,p.barMeasure.scrollWidth=Math.max(W.scroller.clientWidth,W.sizer.offsetLeft+p.adjustWidthTo+zr(O)+O.display.barWidth),p.maxScrollLeft=Math.max(0,W.sizer.offsetLeft+p.adjustWidthTo-Gr(O))),(p.updatedDisplay||p.selectionChanged)&&(p.preparedSelection=W.input.prepareSelection())}function ps(p){var O=p.cm;p.adjustWidthTo!=null&&(O.display.sizer.style.minWidth=p.adjustWidthTo+"px",p.maxScrollLeft<O.doc.scrollLeft&&jo(O,Math.min(O.display.scroller.scrollLeft,p.maxScrollLeft),!0),O.display.maxLineChanged=!1);var W=p.focus&&p.focus==M();p.preparedSelection&&O.display.input.showSelection(p.preparedSelection,W),(p.updatedDisplay||p.startHeight!=O.doc.height)&&Oa(O,p.barMeasure),p.updatedDisplay&&ms(O,p.barMeasure),p.selectionChanged&&ia(O),O.state.focused&&p.updateInput&&O.display.input.reset(p.typing),W&&lo(p.cm)}function Ts(p){var O=p.cm,W=O.display,Q=O.doc;if(p.updatedDisplay&&go(O,p.update),W.wheelStartX!=null&&(p.scrollTop!=null||p.scrollLeft!=null||p.scrollToPos)&&(W.wheelStartX=W.wheelStartY=null),p.scrollTop!=null&&Ro(O,p.scrollTop,p.forceScroll),p.scrollLeft!=null&&jo(O,p.scrollLeft,!0,!0),p.scrollToPos){var Z=bo(O,nt(Q,p.scrollToPos.from),nt(Q,p.scrollToPos.to),p.scrollToPos.margin);ao(O,Z)}var ve=p.maybeHiddenMarkers,Ze=p.maybeUnhiddenMarkers;if(ve)for(var ft=0;ft<ve.length;++ft)ve[ft].lines.length||Vt(ve[ft],"hide");if(Ze)for(var Ut=0;Ut<Ze.length;++Ut)Ze[Ut].lines.length&&Vt(Ze[Ut],"unhide");W.wrapper.offsetHeight&&(Q.scrollTop=O.display.scroller.scrollTop),p.changeObjs&&Vt(O,"changes",O,p.changeObjs),p.update&&p.update.finish()}function Ho(p,O){if(p.curOp)return O();za(p);try{return O()}finally{Yo(p)}}function mo(p,O){return function(){if(p.curOp)return O.apply(p,arguments);za(p);try{return O.apply(p,arguments)}finally{Yo(p)}}}function es(p){return function(){if(this.curOp)return p.apply(this,arguments);za(this);try{return p.apply(this,arguments)}finally{Yo(this)}}}function zo(p){return function(){var O=this.cm;if(!O||O.curOp)return p.apply(this,arguments);za(O);try{return p.apply(this,arguments)}finally{Yo(O)}}}function _o(p,O){p.doc.highlightFrontier<p.display.viewTo&&p.state.highlight.set(O,k(zn,p))}function zn(p){var O=p.doc;if(O.highlightFrontier>=p.display.viewTo)return;var W=+new Date+p.options.workTime,Q=Or(p,O.highlightFrontier),Z=[];O.iter(Q.line,Math.min(O.first+O.size,p.display.viewTo+500),function(ve){if(Q.line>=p.display.viewFrom){var Ze=ve.styles,ft=ve.text.length>p.options.maxHighlightLength?Ue(O.mode,Q.state):null,Ut=Qn(p,ve,Q,!0);ft&&(Q.state=ft),ve.styles=Ut.styles;var Kt=ve.styleClasses,$n=Ut.classes;$n?ve.styleClasses=$n:Kt&&(ve.styleClasses=null);for(var dr=!Ze||Ze.length!=ve.styles.length||Kt!=$n&&(!Kt||!$n||Kt.bgClass!=$n.bgClass||Kt.textClass!=$n.textClass),Dr=0;!dr&&Dr<Ze.length;++Dr)dr=Ze[Dr]!=ve.styles[Dr];dr&&Z.push(Q.line),ve.stateAfter=Q.save(),Q.nextLine()}else ve.text.length<=p.options.maxHighlightLength&&Nr(p,ve.text,Q),ve.stateAfter=Q.line%5==0?Q.save():null,Q.nextLine();if(+new Date>W)return _o(p,p.options.workDelay),!0}),O.highlightFrontier=Q.line,O.modeFrontier=Math.max(O.modeFrontier,Q.line),Z.length&&Ho(p,function(){for(var ve=0;ve<Z.length;ve++)Ii(p,Z[ve],"text")})}var Go=function(O,W,Q){var Z=O.display;this.viewport=W,this.visible=yo(Z,O.doc,W),this.editorIsHidden=!Z.wrapper.offsetWidth,this.wrapperHeight=Z.wrapper.clientHeight,this.wrapperWidth=Z.wrapper.clientWidth,this.oldDisplayWidth=Gr(O),this.force=Q,this.dims=qi(O),this.events=[]};Go.prototype.signal=function(p,O){an(p,O)&&this.events.push(arguments)},Go.prototype.finish=function(){for(var p=0;p<this.events.length;p++)Vt.apply(null,this.events[p])};function rl(p){var O=p.display;!O.scrollbarsClipped&&O.scroller.offsetWidth&&(O.nativeBarWidth=O.scroller.offsetWidth-O.scroller.clientWidth,O.heightForcer.style.height=zr(p)+"px",O.sizer.style.marginBottom=-O.nativeBarWidth+"px",O.sizer.style.borderRightWidth=zr(p)+"px",O.scrollbarsClipped=!0)}function zs(p){if(p.hasFocus())return null;var O=M();if(!O||!F(p.display.lineDiv,O))return null;var W={activeElt:O};if(window.getSelection){var Q=window.getSelection();Q.anchorNode&&Q.extend&&F(p.display.lineDiv,Q.anchorNode)&&(W.anchorNode=Q.anchorNode,W.anchorOffset=Q.anchorOffset,W.focusNode=Q.focusNode,W.focusOffset=Q.focusOffset)}return W}function Ps(p){if(!p||!p.activeElt||p.activeElt==M())return;if(p.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(p.activeElt.nodeName)&&p.anchorNode&&F(document.body,p.anchorNode)&&F(document.body,p.focusNode)){var O=window.getSelection(),W=document.createRange();W.setEnd(p.anchorNode,p.anchorOffset),W.collapse(!1),O.removeAllRanges(),O.addRange(W),O.extend(p.focusNode,p.focusOffset)}}function ro(p,O){var W=p.display,Q=p.doc;if(O.editorIsHidden)return Sa(p),!1;if(!O.force&&O.visible.from>=W.viewFrom&&O.visible.to<=W.viewTo&&(W.updateLineNumbers==null||W.updateLineNumbers>=W.viewTo)&&W.renderedView==W.view&&ka(p)==0)return!1;al(p)&&(Sa(p),O.dims=qi(p));var Z=Q.first+Q.size,ve=Math.max(O.visible.from-p.options.viewportMargin,Q.first),Ze=Math.min(Z,O.visible.to+p.options.viewportMargin);W.viewFrom<ve&&ve-W.viewFrom<20&&(ve=Math.max(Q.first,W.viewFrom)),W.viewTo>Ze&&W.viewTo-Ze<20&&(Ze=Math.min(Z,W.viewTo)),Le&&(ve=er(p.doc,ve),Ze=ci(p.doc,Ze));var ft=ve!=W.viewFrom||Ze!=W.viewTo||W.lastWrapHeight!=O.wrapperHeight||W.lastWrapWidth!=O.wrapperWidth;Da(p,ve,Ze),W.viewOffset=Xr(Oe(p.doc,W.viewFrom)),p.display.mover.style.top=W.viewOffset+"px";var Ut=ka(p);if(!ft&&Ut==0&&!O.force&&W.renderedView==W.view&&(W.updateLineNumbers==null||W.updateLineNumbers>=W.viewTo))return!1;var Kt=zs(p);return Ut>4&&(W.lineDiv.style.display="none"),rs(p,W.updateLineNumbers,O.dims),Ut>4&&(W.lineDiv.style.display=""),W.renderedView=W.view,Ps(Kt),E(W.cursorDiv),E(W.selectionDiv),W.gutters.style.height=W.sizer.style.minHeight=0,ft&&(W.lastWrapHeight=O.wrapperHeight,W.lastWrapWidth=O.wrapperWidth,_o(p,400)),W.updateLineNumbers=null,!0}function go(p,O){for(var W=O.viewport,Q=!0;;Q=!1){if(!Q||!p.options.lineWrapping||O.oldDisplayWidth==Gr(p)){if(W&&W.top!=null&&(W={top:Math.min(p.doc.height+Lr(p.display)-ri(p),W.top)}),O.visible=yo(p.display,p.doc,W),O.visible.from>=p.display.viewFrom&&O.visible.to<=p.display.viewTo)break}else Q&&(O.visible=yo(p.display,p.doc,W));if(!ro(p,O))break;Ba(p);var Z=Vo(p);Pa(p),Oa(p,Z),ms(p,Z),O.force=!1}O.signal(p,"update",p),(p.display.viewFrom!=p.display.reportedViewFrom||p.display.viewTo!=p.display.reportedViewTo)&&(O.signal(p,"viewportChange",p,p.display.viewFrom,p.display.viewTo),p.display.reportedViewFrom=p.display.viewFrom,p.display.reportedViewTo=p.display.viewTo)}function Uo(p,O){var W=new Go(p,O);if(ro(p,W)){Ba(p),go(p,W);var Q=Vo(p);Pa(p),Oa(p,Q),ms(p,Q),W.finish()}}function rs(p,O,W){var Q=p.display,Z=p.options.lineNumbers,ve=Q.lineDiv,Ze=ve.firstChild;function ft(gi){var zi=gi.nextSibling;return r&&h&&p.display.currentWheelTarget==gi?gi.style.display="none":gi.parentNode.removeChild(gi),zi}for(var Ut=Q.view,Kt=Q.viewFrom,$n=0;$n<Ut.length;$n++){var dr=Ut[$n];if(!dr.hidden)if(!dr.node||dr.node.parentNode!=ve){var Dr=Hn(p,dr,Kt,W);ve.insertBefore(Dr,Ze)}else{for(;Ze!=dr.node;)Ze=ft(Ze);var Pr=Z&&O!=null&&O<=Kt&&dr.lineNumber;dr.changes&&(_(dr.changes,"gutter")>-1&&(Pr=!1),nr(p,dr,Kt,W)),Pr&&(E(dr.lineNumber),dr.lineNumber.appendChild(document.createTextNode(lr(p.options,Kt)))),Ze=dr.node.nextSibling}Kt+=dr.size}for(;Ze;)Ze=ft(Ze)}function ys(p){var O=p.gutters.offsetWidth;p.sizer.style.marginLeft=O+"px"}function ms(p,O){p.display.sizer.style.minHeight=O.docHeight+"px",p.display.heightForcer.style.top=O.docHeight+"px",p.display.gutters.style.height=O.docHeight+p.display.barHeight+zr(p)+"px"}function Os(p){var O=p.display,W=O.view;if(!O.alignWidgets&&(!O.gutters.firstChild||!p.options.fixedGutter))return;for(var Q=va(O)-O.scroller.scrollLeft+p.doc.scrollLeft,Z=O.gutters.offsetWidth,ve=Q+"px",Ze=0;Ze<W.length;Ze++)if(!W[Ze].hidden){p.options.fixedGutter&&(W[Ze].gutter&&(W[Ze].gutter.style.left=ve),W[Ze].gutterBackground&&(W[Ze].gutterBackground.style.left=ve));var ft=W[Ze].alignable;if(ft)for(var Ut=0;Ut<ft.length;Ut++)ft[Ut].style.left=ve}p.options.fixedGutter&&(O.gutters.style.left=Q+Z+"px")}function al(p){if(!p.options.lineNumbers)return!1;var O=p.doc,W=lr(p.options,O.first+O.size-1),Q=p.display;if(W.length!=Q.lineNumChars){var Z=Q.measure.appendChild(D("div",[D("div",W)],"CodeMirror-linenumber CodeMirror-gutter-elt")),ve=Z.firstChild.offsetWidth,Ze=Z.offsetWidth-ve;return Q.lineGutter.style.width="",Q.lineNumInnerWidth=Math.max(ve,Q.lineGutter.offsetWidth-Ze)+1,Q.lineNumWidth=Q.lineNumInnerWidth+Ze,Q.lineNumChars=Q.lineNumInnerWidth?W.length:-1,Q.lineGutter.style.width=Q.lineNumWidth+"px",ys(p.display),!0}return!1}function Ns(p,O){for(var W=[],Q=!1,Z=0;Z<p.length;Z++){var ve=p[Z],Ze=null;if(typeof ve!="string"&&(Ze=ve.style,ve=ve.className),ve=="CodeMirror-linenumbers")if(O)Q=!0;else continue;W.push({className:ve,style:Ze})}return O&&!Q&&W.push({className:"CodeMirror-linenumbers",style:null}),W}function Ys(p){var O=p.gutters,W=p.gutterSpecs;E(O),p.lineGutter=null;for(var Q=0;Q<W.length;++Q){var Z=W[Q],ve=Z.className,Ze=Z.style,ft=O.appendChild(D("div",null,"CodeMirror-gutter "+ve));Ze&&(ft.style.cssText=Ze),ve=="CodeMirror-linenumbers"&&(p.lineGutter=ft,ft.style.width=(p.lineNumWidth||1)+"px")}O.style.display=W.length?"":"none",ys(p)}function _s(p){Ys(p.display),ga(p),Os(p)}function As(p,O,W,Q){var Z=this;this.input=W,Z.scrollbarFiller=D("div",null,"CodeMirror-scrollbar-filler"),Z.scrollbarFiller.setAttribute("cm-not-content","true"),Z.gutterFiller=D("div",null,"CodeMirror-gutter-filler"),Z.gutterFiller.setAttribute("cm-not-content","true"),Z.lineDiv=B("div",null,"CodeMirror-code"),Z.selectionDiv=D("div",null,null,"position: relative; z-index: 1"),Z.cursorDiv=D("div",null,"CodeMirror-cursors"),Z.measure=D("div",null,"CodeMirror-measure"),Z.lineMeasure=D("div",null,"CodeMirror-measure"),Z.lineSpace=B("div",[Z.measure,Z.lineMeasure,Z.selectionDiv,Z.cursorDiv,Z.lineDiv],null,"position: relative; outline: none");var ve=B("div",[Z.lineSpace],"CodeMirror-lines");Z.mover=D("div",[ve],null,"position: relative"),Z.sizer=D("div",[Z.mover],"CodeMirror-sizer"),Z.sizerWidth=null,Z.heightForcer=D("div",null,null,"position: absolute; height: "+G+"px; width: 1px;"),Z.gutters=D("div",null,"CodeMirror-gutters"),Z.lineGutter=null,Z.scroller=D("div",[Z.sizer,Z.heightForcer,Z.gutters],"CodeMirror-scroll"),Z.scroller.setAttribute("tabIndex","-1"),Z.wrapper=D("div",[Z.scrollbarFiller,Z.gutterFiller,Z.scroller],"CodeMirror"),m&&d<8&&(Z.gutters.style.zIndex=-1,Z.scroller.style.paddingRight=0),!r&&!(g&&c)&&(Z.scroller.draggable=!0),p&&(p.appendChild?p.appendChild(Z.wrapper):p(Z.wrapper)),Z.viewFrom=Z.viewTo=O.first,Z.reportedViewFrom=Z.reportedViewTo=O.first,Z.view=[],Z.renderedView=null,Z.externalMeasured=null,Z.viewOffset=0,Z.lastWrapHeight=Z.lastWrapWidth=0,Z.updateLineNumbers=null,Z.nativeBarWidth=Z.barHeight=Z.barWidth=0,Z.scrollbarsClipped=!1,Z.lineNumWidth=Z.lineNumInnerWidth=Z.lineNumChars=null,Z.alignWidgets=!1,Z.cachedCharWidth=Z.cachedTextHeight=Z.cachedPaddingH=null,Z.maxLine=null,Z.maxLineLength=0,Z.maxLineChanged=!1,Z.wheelDX=Z.wheelDY=Z.wheelStartX=Z.wheelStartY=null,Z.shift=!1,Z.selForContextMenu=null,Z.activeTouch=null,Z.gutterSpecs=Ns(Q.gutters,Q.lineNumbers),Ys(Z),W.init(Z)}var Ds=0,ut=null;m?ut=-.53:g?ut=15:s?ut=-.7:n&&(ut=-1/3);function bt(p){var O=p.wheelDeltaX,W=p.wheelDeltaY;return O==null&&p.detail&&p.axis==p.HORIZONTAL_AXIS&&(O=p.detail),W==null&&p.detail&&p.axis==p.VERTICAL_AXIS?W=p.detail:W==null&&(W=p.wheelDelta),{x:O,y:W}}function tr(p){var O=bt(p);return O.x*=ut,O.y*=ut,O}function Tr(p,O){var W=bt(O),Q=W.x,Z=W.y,ve=p.display,Ze=ve.scroller,ft=Ze.scrollWidth>Ze.clientWidth,Ut=Ze.scrollHeight>Ze.clientHeight;if(!(Q&&ft||Z&&Ut))return;if(Z&&h&&r){e:for(var Kt=O.target,$n=ve.view;Kt!=Ze;Kt=Kt.parentNode)for(var dr=0;dr<$n.length;dr++)if($n[dr].node==Kt){p.display.currentWheelTarget=Kt;break e}}if(Q&&!g&&!i&&ut!=null){Z&&Ut&&Ma(p,Math.max(0,Ze.scrollTop+Z*ut)),jo(p,Math.max(0,Ze.scrollLeft+Q*ut)),(!Z||Z&&Ut)&&vt(O),ve.wheelStartX=null;return}if(Z&&ut!=null){var Dr=Z*ut,Pr=p.doc.scrollTop,gi=Pr+ve.wrapper.clientHeight;Dr<0?Pr=Math.max(0,Pr+Dr-50):gi=Math.min(p.doc.height,gi+Dr+50),Uo(p,{top:Pr,bottom:gi})}Ds<20&&(ve.wheelStartX==null?(ve.wheelStartX=Ze.scrollLeft,ve.wheelStartY=Ze.scrollTop,ve.wheelDX=Q,ve.wheelDY=Z,setTimeout(function(){if(ve.wheelStartX==null)return;var zi=Ze.scrollLeft-ve.wheelStartX,Xi=Ze.scrollTop-ve.wheelStartY,Yi=Xi&&ve.wheelDY&&Xi/ve.wheelDY||zi&&ve.wheelDX&&zi/ve.wheelDX;if(ve.wheelStartX=ve.wheelStartY=null,!Yi)return;ut=(ut*Ds+Yi)/(Ds+1),++Ds},200)):(ve.wheelDX+=Q,ve.wheelDY+=Z))}var et=function(O,W){this.ranges=O,this.primIndex=W};et.prototype.primary=function(){return this.ranges[this.primIndex]},et.prototype.equals=function(p){if(p==this)return!0;if(p.primIndex!=this.primIndex||p.ranges.length!=this.ranges.length)return!1;for(var O=0;O<this.ranges.length;O++){var W=this.ranges[O],Q=p.ranges[O];if(!Qe(W.anchor,Q.anchor)||!Qe(W.head,Q.head))return!1}return!0},et.prototype.deepCopy=function(){for(var p=[],O=0;O<this.ranges.length;O++)p[O]=new X(kt(this.ranges[O].anchor),kt(this.ranges[O].head));return new et(p,this.primIndex)},et.prototype.somethingSelected=function(){for(var p=0;p<this.ranges.length;p++)if(!this.ranges[p].empty())return!0;return!1},et.prototype.contains=function(p,O){O||(O=p);for(var W=0;W<this.ranges.length;W++){var Q=this.ranges[W];if($e(O,Q.from())>=0&&$e(p,Q.to())<=0)return W}return-1};var X=function(O,W){this.anchor=O,this.head=W};X.prototype.from=function(){return ot(this.anchor,this.head)},X.prototype.to=function(){return Ht(this.anchor,this.head)},X.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function ee(p,O,W){var Q=p&&p.options.selectionsMayTouch,Z=O[W];O.sort(function(Dr,Pr){return $e(Dr.from(),Pr.from())}),W=_(O,Z);for(var ve=1;ve<O.length;ve++){var Ze=O[ve],ft=O[ve-1],Ut=$e(ft.to(),Ze.from());if(Q&&!Ze.empty()?Ut>0:Ut>=0){var Kt=ot(ft.from(),Ze.from()),$n=Ht(ft.to(),Ze.to()),dr=ft.empty()?Ze.from()==Ze.head:ft.from()==ft.head;ve<=W&&--W,O.splice(--ve,2,new X(dr?$n:Kt,dr?Kt:$n))}}return new et(O,W)}function ie(p,O){return new et([new X(p,O||p)],0)}function we(p){return p.text?Lt(p.from.line+p.text.length-1,ce(p.text).length+(p.text.length==1?p.from.ch:0)):p.to}function Ge(p,O){if($e(p,O.from)<0)return p;if($e(p,O.to)<=0)return we(O);var W=p.line+O.text.length-(O.to.line-O.from.line)-1,Q=p.ch;return p.line==O.to.line&&(Q+=we(O).ch-O.to.ch),Lt(W,Q)}function gt(p,O){for(var W=[],Q=0;Q<p.sel.ranges.length;Q++){var Z=p.sel.ranges[Q];W.push(new X(Ge(Z.anchor,O),Ge(Z.head,O)))}return ee(p.cm,W,p.sel.primIndex)}function fn(p,O,W){return p.line==O.line?Lt(W.line,p.ch-O.ch+W.ch):Lt(W.line+(p.line-O.line),p.ch)}function In(p,O,W){for(var Q=[],Z=Lt(p.first,0),ve=Z,Ze=0;Ze<O.length;Ze++){var ft=O[Ze],Ut=fn(ft.from,Z,ve),Kt=fn(we(ft),Z,ve);if(Z=ft.to,ve=Kt,W=="around"){var $n=p.sel.ranges[Ze],dr=$e($n.head,$n.anchor)<0;Q[Ze]=new X(dr?Kt:Ut,dr?Ut:Kt)}else Q[Ze]=new X(Ut,Ut)}return new et(Q,p.sel.primIndex)}function Jn(p){p.doc.mode=vr(p.options,p.doc.modeOption),Cr(p)}function Cr(p){p.doc.iter(function(O){O.stateAfter&&(O.stateAfter=null),O.styles&&(O.styles=null)}),p.doc.modeFrontier=p.doc.highlightFrontier=p.doc.first,_o(p,100),p.state.modeGen++,p.curOp&&ga(p)}function Hr(p,O){return O.from.ch==0&&O.to.ch==0&&ce(O.text)==""&&(!p.cm||p.cm.options.wholeLineUpdateBefore)}function si(p,O,W,Q){function Z(Vi){return W?W[Vi]:null}function ve(Vi,fa,ba){cr(Vi,fa,ba,Q),Bt(Vi,"change",Vi,O)}function Ze(Vi,fa){for(var ba=[],qa=Vi;qa<fa;++qa)ba.push(new Mi(Kt[qa],Z(qa),Q));return ba}var ft=O.from,Ut=O.to,Kt=O.text,$n=Oe(p,ft.line),dr=Oe(p,Ut.line),Dr=ce(Kt),Pr=Z(Kt.length-1),gi=Ut.line-ft.line;if(O.full)p.insert(0,Ze(0,Kt.length)),p.remove(Kt.length,p.size-Kt.length);else if(Hr(p,O)){var zi=Ze(0,Kt.length-1);ve(dr,dr.text,Pr),gi&&p.remove(ft.line,gi),zi.length&&p.insert(ft.line,zi)}else if($n==dr)if(Kt.length==1)ve($n,$n.text.slice(0,ft.ch)+Dr+$n.text.slice(Ut.ch),Pr);else{var Xi=Ze(1,Kt.length-1);Xi.push(new Mi(Dr+$n.text.slice(Ut.ch),Pr,Q)),ve($n,$n.text.slice(0,ft.ch)+Kt[0],Z(0)),p.insert(ft.line+1,Xi)}else if(Kt.length==1)ve($n,$n.text.slice(0,ft.ch)+Kt[0]+dr.text.slice(Ut.ch),Z(0)),p.remove(ft.line+1,gi);else{ve($n,$n.text.slice(0,ft.ch)+Kt[0],Z(0)),ve(dr,Dr+dr.text.slice(Ut.ch),Pr);var Yi=Ze(1,Kt.length-1);gi>1&&p.remove(ft.line+1,gi-1),p.insert(ft.line+1,Yi)}Bt(p,"change",p,O)}function xi(p,O,W){function Q(Z,ve,Ze){if(Z.linked)for(var ft=0;ft<Z.linked.length;++ft){var Ut=Z.linked[ft];if(Ut.doc==ve)continue;var Kt=Ze&&Ut.sharedHist;if(W&&!Kt)continue;O(Ut.doc,Kt),Q(Ut.doc,Z,Kt)}}Q(p,null,!0)}function Bi(p,O){if(O.cm)throw new Error("This document is already in use.");p.doc=O,O.cm=p,Zi(p),Jn(p),sa(p),p.options.lineWrapping||ni(p),p.options.mode=O.modeOption,ga(p)}function sa(p){(p.doc.direction=="rtl"?K:S)(p.display.lineDiv,"CodeMirror-rtl")}function ya(p){Ho(p,function(){sa(p),ga(p)})}function Ja(p){this.done=[],this.undone=[],this.undoDepth=Infinity,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=p||1}function $a(p,O){var W={from:kt(O.from),to:we(O),text:ze(p,O.from,O.to)};return is(p,W,O.from.line,O.to.line+1),xi(p,function(Q){return is(Q,W,O.from.line,O.to.line+1)},!0),W}function to(p){for(;p.length;){var O=ce(p);if(O.ranges)p.pop();else break}}function Lo(p,O){if(O)return to(p.done),ce(p.done);if(p.done.length&&!ce(p.done).ranges)return ce(p.done);if(p.done.length>1&&!p.done[p.done.length-2].ranges)return p.done.pop(),ce(p.done)}function Co(p,O,W,Q){var Z=p.history;Z.undone.length=0;var ve=+new Date,Ze,ft;if((Z.lastOp==Q||Z.lastOrigin==O.origin&&O.origin&&(O.origin.charAt(0)=="+"&&Z.lastModTime>ve-(p.cm?p.cm.options.historyEventDelay:500)||O.origin.charAt(0)=="*"))&&(Ze=Lo(Z,Z.lastOp==Q)))ft=ce(Ze.changes),$e(O.from,O.to)==0&&$e(O.from,ft.to)==0?ft.to=we(O):Ze.changes.push($a(p,O));else{var Ut=ce(Z.done);for((!Ut||!Ut.ranges)&&So(p.sel,Z.done),Ze={changes:[$a(p,O)],generation:Z.generation},Z.done.push(Ze);Z.done.length>Z.undoDepth;)Z.done.shift(),Z.done[0].ranges||Z.done.shift()}Z.done.push(W),Z.generation=++Z.maxGeneration,Z.lastModTime=Z.lastSelTime=ve,Z.lastOp=Z.lastSelOp=Q,Z.lastOrigin=Z.lastSelOrigin=O.origin,ft||Vt(p,"historyAdded")}function Bo(p,O,W,Q){var Z=O.charAt(0);return Z=="*"||Z=="+"&&W.ranges.length==Q.ranges.length&&W.somethingSelected()==Q.somethingSelected()&&new Date-p.history.lastSelTime<=(p.cm?p.cm.options.historyEventDelay:500)}function Ao(p,O,W,Q){var Z=p.history,ve=Q&&Q.origin;W==Z.lastSelOp||ve&&Z.lastSelOrigin==ve&&(Z.lastModTime==Z.lastSelTime&&Z.lastOrigin==ve||Bo(p,ve,ce(Z.done),O))?Z.done[Z.done.length-1]=O:So(O,Z.done),Z.lastSelTime=+new Date,Z.lastSelOrigin=ve,Z.lastSelOp=W,Q&&Q.clearRedo!==!1&&to(Z.undone)}function So(p,O){var W=ce(O);W&&W.ranges&&W.equals(p)||O.push(p)}function is(p,O,W,Q){var Z=O["spans_"+p.id],ve=0;p.iter(Math.max(p.first,W),Math.min(p.first+p.size,Q),function(Ze){Ze.markedSpans&&((Z||(Z=O["spans_"+p.id]={}))[ve]=Ze.markedSpans),++ve})}function ts(p){if(!p)return null;for(var O,W=0;W<p.length;++W)p[W].marker.explicitlyCleared?O||(O=p.slice(0,W)):O&&O.push(p[W]);return O?O.length?O:null:p}function Io(p,O){var W=O["spans_"+p.id];if(!W)return null;for(var Q=[],Z=0;Z<O.text.length;++Z)Q.push(ts(W[Z]));return Q}function Gi(p,O){var W=Io(p,O),Q=ur(p,O);if(!W)return Q;if(!Q)return W;for(var Z=0;Z<W.length;++Z){var ve=W[Z],Ze=Q[Z];if(ve&&Ze){e:for(var ft=0;ft<Ze.length;++ft){for(var Ut=Ze[ft],Kt=0;Kt<ve.length;++Kt)if(ve[Kt].marker==Ut.marker)continue e;ve.push(Ut)}}else Ze&&(W[Z]=Ze)}return W}function Rs(p,O,W){for(var Q=[],Z=0;Z<p.length;++Z){var ve=p[Z];if(ve.ranges){Q.push(W?et.prototype.deepCopy.call(ve):ve);continue}var Ze=ve.changes,ft=[];Q.push({changes:ft});for(var Ut=0;Ut<Ze.length;++Ut){var Kt=Ze[Ut],$n=void 0;if(ft.push({from:Kt.from,to:Kt.to,text:Kt.text}),O)for(var dr in Kt)($n=dr.match(/^spans_(\d+)$/))&&(_(O,Number($n[1]))>-1&&(ce(ft)[dr]=Kt[dr],delete Kt[dr]))}}return Q}function Es(p,O,W,Q){if(Q){var Z=p.anchor;if(W){var ve=$e(O,Z)<0;ve!=$e(W,Z)<0?(Z=O,O=W):ve!=$e(O,W)<0&&(O=W)}return new X(Z,O)}else return new X(W||O,O)}function as(p,O,W,Q,Z){Z==null&&(Z=p.cm&&(p.cm.display.shift||p.extend)),No(p,new et([Es(p.sel.primary(),O,W,Z)],0),Q)}function Xo(p,O,W){for(var Q=[],Z=p.cm&&(p.cm.display.shift||p.extend),ve=0;ve<p.sel.ranges.length;ve++)Q[ve]=Es(p.sel.ranges[ve],O[ve],null,Z);var Ze=ee(p.cm,Q,p.sel.primIndex);No(p,Ze,W)}function hs(p,O,W,Q){var Z=p.sel.ranges.slice(0);Z[O]=W,No(p,ee(p.cm,Z,p.sel.primIndex),Q)}function Al(p,O,W,Q){No(p,ie(O,W),Q)}function ol(p,O,W){var Q={ranges:O.ranges,update:function(ve){this.ranges=[];for(var Ze=0;Ze<ve.length;Ze++)this.ranges[Ze]=new X(nt(p,ve[Ze].anchor),nt(p,ve[Ze].head))},origin:W&&W.origin};return Vt(p,"beforeSelectionChange",p,Q),p.cm&&Vt(p.cm,"beforeSelectionChange",p.cm,Q),Q.ranges!=O.ranges?ee(p.cm,Q.ranges,Q.ranges.length-1):O}function fs(p,O,W){var Q=p.history.done,Z=ce(Q);Z&&Z.ranges?(Q[Q.length-1]=O,ls(p,O,W)):No(p,O,W)}function No(p,O,W){ls(p,O,W),Ao(p,p.sel,p.cm?p.cm.curOp.id:NaN,W)}function ls(p,O,W){(an(p,"beforeSelectionChange")||p.cm&&an(p.cm,"beforeSelectionChange"))&&(O=ol(p,O,W));var Q=W&&W.bias||($e(O.primary().head,p.sel.primary().head)<0?-1:1);Zs(p,Us(p,O,Q,!0)),!(W&&W.scroll===!1)&&p.cm&&eo(p.cm)}function Zs(p,O){if(O.equals(p.sel))return;p.sel=O,p.cm&&(p.cm.curOp.updateInput=1,p.cm.curOp.selectionChanged=!0,Qt(p.cm)),Bt(p,"cursorActivity",p)}function gs(p){Zs(p,Us(p,p.sel,null,!1))}function Us(p,O,W,Q){for(var Z,ve=0;ve<O.ranges.length;ve++){var Ze=O.ranges[ve],ft=O.ranges.length==p.sel.ranges.length&&p.sel.ranges[ve],Ut=Bs(p,Ze.anchor,ft&&ft.anchor,W,Q),Kt=Bs(p,Ze.head,ft&&ft.head,W,Q);(Z||Ut!=Ze.anchor||Kt!=Ze.head)&&(Z||(Z=O.ranges.slice(0,ve)),Z[ve]=new X(Ut,Kt))}return Z?ee(p.cm,Z,O.primIndex):O}function ks(p,O,W,Q,Z){var ve=Oe(p,O.line);if(ve.markedSpans)for(var Ze=0;Ze<ve.markedSpans.length;++Ze){var ft=ve.markedSpans[Ze],Ut=ft.marker,Kt="selectLeft"in Ut?!Ut.selectLeft:Ut.inclusiveLeft,$n="selectRight"in Ut?!Ut.selectRight:Ut.inclusiveRight;if((ft.from==null||(Kt?ft.from<=O.ch:ft.from<O.ch))&&(ft.to==null||($n?ft.to>=O.ch:ft.to>O.ch))){if(Z&&(Vt(Ut,"beforeCursorEnter"),Ut.explicitlyCleared))if(ve.markedSpans){--Ze;continue}else break;if(!Ut.atomic)continue;if(W){var dr=Ut.find(Q<0?1:-1),Dr=void 0;if((Q<0?$n:Kt)&&(dr=il(p,dr,-Q,dr&&dr.line==O.line?ve:null)),dr&&dr.line==O.line&&(Dr=$e(dr,W))&&(Q<0?Dr<0:Dr>0))return ks(p,dr,O,Q,Z)}var Pr=Ut.find(Q<0?-1:1);return(Q<0?Kt:$n)&&(Pr=il(p,Pr,Q,Pr.line==O.line?ve:null)),Pr?ks(p,Pr,O,Q,Z):null}}return O}function Bs(p,O,W,Q,Z){var ve=Q||1,Ze=ks(p,O,W,ve,Z)||!Z&&ks(p,O,W,ve,!0)||ks(p,O,W,-ve,Z)||!Z&&ks(p,O,W,-ve,!0);return Ze||(p.cantEdit=!0,Lt(p.first,0))}function il(p,O,W,Q){return W<0&&O.ch==0?O.line>p.first?nt(p,Lt(O.line-1)):null:W>0&&O.ch==(Q||Oe(p,O.line)).text.length?O.line<p.first+p.size-1?Lt(O.line+1,0):null:new Lt(O.line,O.ch+W)}function $s(p){p.setSelection(Lt(p.firstLine(),0),Lt(p.lastLine()),ue)}function Gs(p,O,W){var Q={canceled:!1,from:O.from,to:O.to,text:O.text,origin:O.origin,cancel:function(){return Q.canceled=!0}};return W&&(Q.update=function(Z,ve,Ze,ft){Z&&(Q.from=nt(p,Z)),ve&&(Q.to=nt(p,ve)),Ze&&(Q.text=Ze),ft!==void 0&&(Q.origin=ft)}),Vt(p,"beforeChange",p,Q),p.cm&&Vt(p.cm,"beforeChange",p.cm,Q),Q.canceled?(p.cm&&(p.cm.curOp.updateInput=2),null):{from:Q.from,to:Q.to,text:Q.text,origin:Q.origin}}function js(p,O,W){if(p.cm){if(!p.cm.curOp)return mo(p.cm,js)(p,O,W);if(p.cm.state.suppressEdits)return}if((an(p,"beforeChange")||p.cm&&an(p.cm,"beforeChange"))&&(O=Gs(p,O,!0),!O))return;var Q=De&&!W&&Kn(p,O.from,O.to);if(Q)for(var Z=Q.length-1;Z>=0;--Z)Qa(p,{from:Q[Z].from,to:Q[Z].to,text:Z?[""]:O.text,origin:O.origin});else Qa(p,O)}function Qa(p,O){if(O.text.length==1&&O.text[0]==""&&$e(O.from,O.to)==0)return;var W=gt(p,O);Co(p,O,W,p.cm?p.cm.curOp.id:NaN),oo(p,O,W,ur(p,O));var Q=[];xi(p,function(Z,ve){!ve&&_(Q,Z.history)==-1&&(ko(Z.history,O),Q.push(Z.history)),oo(Z,O,null,ur(Z,O))})}function Aa(p,O,W){var Q=p.cm&&p.cm.state.suppressEdits;if(Q&&!W)return;for(var Z=p.history,ve,Ze=p.sel,ft=O=="undo"?Z.done:Z.undone,Ut=O=="undo"?Z.undone:Z.done,Kt=0;Kt<ft.length&&!(ve=ft[Kt],W?ve.ranges&&!ve.equals(p.sel):!ve.ranges);Kt++);if(Kt==ft.length)return;for(Z.lastOrigin=Z.lastSelOrigin=null;;)if(ve=ft.pop(),ve.ranges){if(So(ve,Ut),W&&!ve.equals(p.sel)){No(p,ve,{clearRedo:!1});return}Ze=ve}else if(Q){ft.push(ve);return}else break;var $n=[];So(Ze,Ut),Ut.push({changes:$n,generation:Z.generation}),Z.generation=ve.generation||++Z.maxGeneration;for(var dr=an(p,"beforeChange")||p.cm&&an(p.cm,"beforeChange"),Dr=function(Xi){var Yi=ve.changes[Xi];if(Yi.origin=O,dr&&!Gs(p,Yi,!1))return ft.length=0,{};$n.push($a(p,Yi));var Vi=Xi?gt(p,Yi):ce(ft);oo(p,Yi,Vi,Gi(p,Yi)),!Xi&&p.cm&&p.cm.scrollIntoView({from:Yi.from,to:we(Yi)});var fa=[];xi(p,function(ba,qa){!qa&&_(fa,ba.history)==-1&&(ko(ba.history,Yi),fa.push(ba.history)),oo(ba,Yi,null,Gi(ba,Yi))})},Pr=ve.changes.length-1;Pr>=0;--Pr){var gi=Dr(Pr);if(gi)return gi.v}}function Wa(p,O){if(O==0)return;if(p.first+=O,p.sel=new et(Ee(p.sel.ranges,function(Z){return new X(Lt(Z.anchor.line+O,Z.anchor.ch),Lt(Z.head.line+O,Z.head.ch))}),p.sel.primIndex),p.cm){ga(p.cm,p.first,p.first-O,O);for(var W=p.cm.display,Q=W.viewFrom;Q<W.viewTo;Q++)Ii(p.cm,Q,"gutter")}}function oo(p,O,W,Q){if(p.cm&&!p.cm.curOp)return mo(p.cm,oo)(p,O,W,Q);if(O.to.line<p.first){Wa(p,O.text.length-1-(O.to.line-O.from.line));return}if(O.from.line>p.lastLine())return;if(O.from.line<p.first){var Z=O.text.length-1-(p.first-O.from.line);Wa(p,Z),O={from:Lt(p.first,0),to:Lt(O.to.line+Z,O.to.ch),text:[ce(O.text)],origin:O.origin}}var ve=p.lastLine();O.to.line>ve&&(O={from:O.from,to:Lt(ve,Oe(p,ve).text.length),text:[O.text[0]],origin:O.origin}),O.removed=ze(p,O.from,O.to),W||(W=gt(p,O)),p.cm?Jo(p.cm,O,Q):si(p,O,Q),ls(p,W,ue),p.cantEdit&&Bs(p,Lt(p.firstLine(),0))&&(p.cantEdit=!1)}function Jo(p,O,W){var Q=p.doc,Z=p.display,ve=O.from,Ze=O.to,ft=!1,Ut=ve.line;p.options.lineWrapping||(Ut=_t(Ar(Oe(Q,ve.line))),Q.iter(Ut,Ze.line+1,function(Pr){if(Pr==Z.maxLine)return ft=!0,!0})),Q.sel.contains(O.from,O.to)>-1&&Qt(p),si(Q,O,W,Ta(p)),p.options.lineWrapping||(Q.iter(Ut,ve.line+O.text.length,function(Pr){var gi=Hi(Pr);gi>Z.maxLineLength&&(Z.maxLine=Pr,Z.maxLineLength=gi,Z.maxLineChanged=!0,ft=!1)}),ft&&(p.curOp.updateMaxLine=!0)),xe(Q,ve.line),_o(p,400);var Kt=O.text.length-(Ze.line-ve.line)-1;O.full?ga(p):ve.line==Ze.line&&O.text.length==1&&!Hr(p.doc,O)?Ii(p,ve.line,"text"):ga(p,ve.line,Ze.line+1,Kt);var $n=an(p,"changes"),dr=an(p,"change");if(dr||$n){var Dr={from:ve,to:Ze,text:O.text,removed:O.removed,origin:O.origin};dr&&Bt(p,"change",p,Dr),$n&&(p.curOp.changeObjs||(p.curOp.changeObjs=[])).push(Dr)}p.display.selForContextMenu=null}function Hs(p,O,W,Q,Z){var ve;Q||(Q=W),$e(Q,W)<0&&(ve=[Q,W],W=ve[0],Q=ve[1]),typeof O=="string"&&(O=p.splitLines(O)),js(p,{from:W,to:Q,text:O,origin:Z})}function bs(p,O,W,Q){W<p.line?p.line+=Q:O<p.line&&(p.line=O,p.ch=0)}function ws(p,O,W,Q){for(var Z=0;Z<p.length;++Z){var ve=p[Z],Ze=!0;if(ve.ranges){ve.copied||(ve=p[Z]=ve.deepCopy(),ve.copied=!0);for(var ft=0;ft<ve.ranges.length;ft++)bs(ve.ranges[ft].anchor,O,W,Q),bs(ve.ranges[ft].head,O,W,Q);continue}for(var Ut=0;Ut<ve.changes.length;++Ut){var Kt=ve.changes[Ut];if(W<Kt.from.line)Kt.from=Lt(Kt.from.line+Q,Kt.from.ch),Kt.to=Lt(Kt.to.line+Q,Kt.to.ch);else if(O<=Kt.to.line){Ze=!1;break}}Ze||(p.splice(0,Z+1),Z=0)}}function ko(p,O){var W=O.from.line,Q=O.to.line,Z=O.text.length-(Q-W)-1;ws(p.done,W,Q,Z),ws(p.undone,W,Q,Z)}function Oo(p,O,W,Q){var Z=O,ve=O;return typeof O=="number"?ve=Oe(p,Ct(p,O)):Z=_t(O),Z==null?null:(Q(ve,Z)&&p.cm&&Ii(p.cm,Z,W),ve)}function Zo(p){this.lines=p,this.parent=null;for(var O=0,W=0;W<p.length;++W)p[W].parent=this,O+=p[W].height;this.height=O}Zo.prototype={chunkSize:function(){return this.lines.length},removeInner:function(O,W){for(var Q=O,Z=O+W;Q<Z;++Q){var ve=this.lines[Q];this.height-=ve.height,Pn(ve),Bt(ve,"delete")}this.lines.splice(O,W)},collapse:function(O){O.push.apply(O,this.lines)},insertInner:function(O,W,Q){this.height+=Q,this.lines=this.lines.slice(0,O).concat(W).concat(this.lines.slice(O));for(var Z=0;Z<W.length;++Z)W[Z].parent=this},iterN:function(O,W,Q){for(var Z=O+W;O<Z;++O)if(Q(this.lines[O]))return!0}};function xo(p){this.children=p;for(var O=0,W=0,Q=0;Q<p.length;++Q){var Z=p[Q];O+=Z.chunkSize(),W+=Z.height,Z.parent=this}this.size=O,this.height=W,this.parent=null}xo.prototype={chunkSize:function(){return this.size},removeInner:function(O,W){this.size-=W;for(var Q=0;Q<this.children.length;++Q){var Z=this.children[Q],ve=Z.chunkSize();if(O<ve){var Ze=Math.min(W,ve-O),ft=Z.height;if(Z.removeInner(O,Ze),this.height-=ft-Z.height,ve==Ze&&(this.children.splice(Q--,1),Z.parent=null),(W-=Ze)==0)break;O=0}else O-=ve}if(this.size-W<25&&(this.children.length>1||!(this.children[0]instanceof Zo))){var Ut=[];this.collapse(Ut),this.children=[new Zo(Ut)],this.children[0].parent=this}},collapse:function(O){for(var W=0;W<this.children.length;++W)this.children[W].collapse(O)},insertInner:function(O,W,Q){this.size+=W.length,this.height+=Q;for(var Z=0;Z<this.children.length;++Z){var ve=this.children[Z],Ze=ve.chunkSize();if(O<=Ze){if(ve.insertInner(O,W,Q),ve.lines&&ve.lines.length>50){for(var ft=ve.lines.length%25+25,Ut=ft;Ut<ve.lines.length;){var Kt=new Zo(ve.lines.slice(Ut,Ut+=25));ve.height-=Kt.height,this.children.splice(++Z,0,Kt),Kt.parent=this}ve.lines=ve.lines.slice(0,ft),this.maybeSpill()}break}O-=Ze}},maybeSpill:function(){if(this.children.length<=10)return;var O=this;do{var W=O.children.splice(O.children.length-5,5),Q=new xo(W);if(O.parent){O.size-=Q.size,O.height-=Q.height;var ve=_(O.parent.children,O);O.parent.children.splice(ve+1,0,Q)}else{var Z=new xo(O.children);Z.parent=O,O.children=[Z,Q],O=Z}Q.parent=O.parent}while(O.children.length>10);O.parent.maybeSpill()},iterN:function(O,W,Q){for(var Z=0;Z<this.children.length;++Z){var ve=this.children[Z],Ze=ve.chunkSize();if(O<Ze){var ft=Math.min(W,Ze-O);if(ve.iterN(O,ft,Q))return!0;if((W-=ft)==0)break;O=0}else O-=Ze}}};var Ws=function(O,W,Q){if(Q)for(var Z in Q)Q.hasOwnProperty(Z)&&(this[Z]=Q[Z]);this.doc=O,this.node=W};Ws.prototype.clear=function(){var p=this.doc.cm,O=this.line.widgets,W=this.line,Q=_t(W);if(Q==null||!O)return;for(var Z=0;Z<O.length;++Z)O[Z]==this&&O.splice(Z--,1);O.length||(W.widgets=null);var ve=Rr(this);Et(W,Math.max(0,W.height-ve)),p&&(Ho(p,function(){wl(p,W,-ve),Ii(p,Q,"widget")}),Bt(p,"lineWidgetCleared",p,this,Q))},Ws.prototype.changed=function(){var p=this,O=this.height,W=this.doc.cm,Q=this.line;this.height=null;var Z=Rr(this)-O;if(!Z)return;qr(this.doc,Q)||Et(Q,Q.height+Z),W&&Ho(W,function(){W.curOp.forceUpdate=!0,wl(W,Q,Z),Bt(W,"lineWidgetChanged",W,p,_t(Q))})},on(Ws);function wl(p,O,W){Xr(O)<(p.curOp&&p.curOp.scrollTop||p.doc.scrollTop)&&Ga(p,W)}function Sl(p,O,W,Q){var Z=new Ws(p,W,Q),ve=p.cm;return ve&&Z.noHScroll&&(ve.display.alignWidgets=!0),Oo(p,O,"widget",function(Ze){var ft=Ze.widgets||(Ze.widgets=[]);if(Z.insertAt==null?ft.push(Z):ft.splice(Math.min(ft.length-1,Math.max(0,Z.insertAt)),0,Z),Z.line=Ze,ve&&!qr(p,Ze)){var Ut=Xr(Ze)<p.scrollTop;Et(Ze,Ze.height+Rr(Z)),Ut&&Ga(ve,Z.height),ve.curOp.forceUpdate=!0}return!0}),ve&&Bt(ve,"lineWidgetAdded",ve,Z,typeof O=="number"?O:_t(O)),Z}var Pl=0,qs=function(O,W){this.lines=[],this.type=W,this.doc=O,this.id=++Pl};qs.prototype.clear=function(){if(this.explicitlyCleared)return;var p=this.doc.cm,O=p&&!p.curOp;if(O&&za(p),an(this,"clear")){var W=this.find();W&&Bt(this,"clear",W.from,W.to)}for(var Q=null,Z=null,ve=0;ve<this.lines.length;++ve){var Ze=this.lines[ve],ft=It(Ze.markedSpans,this);p&&!this.collapsed?Ii(p,_t(Ze),"text"):p&&(ft.to!=null&&(Z=_t(Ze)),ft.from!=null&&(Q=_t(Ze))),Ze.markedSpans=pn(Ze.markedSpans,ft),ft.from==null&&this.collapsed&&!qr(this.doc,Ze)&&p&&Et(Ze,Di(p.display))}if(p&&this.collapsed&&!p.options.lineWrapping)for(var Ut=0;Ut<this.lines.length;++Ut){var Kt=Ar(this.lines[Ut]),$n=Hi(Kt);$n>p.display.maxLineLength&&(p.display.maxLine=Kt,p.display.maxLineLength=$n,p.display.maxLineChanged=!0)}Q!=null&&p&&this.collapsed&&ga(p,Q,Z+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,p&&gs(p.doc)),p&&Bt(p,"markerCleared",p,this,Q,Z),O&&Yo(p),this.parent&&this.parent.clear()},qs.prototype.find=function(p,O){p==null&&this.type=="bookmark"&&(p=1);for(var W,Q,Z=0;Z<this.lines.length;++Z){var ve=this.lines[Z],Ze=It(ve.markedSpans,this);if(Ze.from!=null&&(W=Lt(O?ve:_t(ve),Ze.from),p==-1))return W;if(Ze.to!=null&&(Q=Lt(O?ve:_t(ve),Ze.to),p==1))return Q}return W&&{from:W,to:Q}},qs.prototype.changed=function(){var p=this,O=this.find(-1,!0),W=this,Q=this.doc.cm;if(!O||!Q)return;Ho(Q,function(){var Z=O.line,ve=_t(O.line),Ze=Si(Q,ve);if(Ze&&(Yn(Ze),Q.curOp.selectionChanged=Q.curOp.forceUpdate=!0),Q.curOp.updateMaxLine=!0,!qr(W.doc,Z)&&W.height!=null){var ft=W.height;W.height=null;var Ut=Rr(W)-ft;Ut&&Et(Z,Z.height+Ut)}Bt(Q,"markerChanged",Q,p)})},qs.prototype.attachLine=function(p){if(!this.lines.length&&this.doc.cm){var O=this.doc.cm.curOp;(!O.maybeHiddenMarkers||_(O.maybeHiddenMarkers,this)==-1)&&(O.maybeUnhiddenMarkers||(O.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(p)},qs.prototype.detachLine=function(p){if(this.lines.splice(_(this.lines,p),1),!this.lines.length&&this.doc.cm){var O=this.doc.cm.curOp;(O.maybeHiddenMarkers||(O.maybeHiddenMarkers=[])).push(this)}},on(qs);function Ol(p,O,W,Q,Z){if(Q&&Q.shared)return Uu(p,O,W,Q,Z);if(p.cm&&!p.cm.curOp)return mo(p.cm,Ol)(p,O,W,Q,Z);var ve=new qs(p,Z),Ze=$e(O,W);if(Q&&P(Q,ve,!1),Ze>0||Ze==0&&ve.clearWhenEmpty!==!1)return ve;if(ve.replacedWith&&(ve.collapsed=!0,ve.widgetNode=B("span",[ve.replacedWith],"CodeMirror-widget"),Q.handleMouseEvents||ve.widgetNode.setAttribute("cm-ignore-events","true"),Q.insertLeft&&(ve.widgetNode.insertLeft=!0)),ve.collapsed){if(Oi(p,O.line,O,W,ve)||O.line!=W.line&&Oi(p,W.line,O,W,ve))throw new Error("Inserting collapsed marker partially overlapping an existing one");at()}ve.addToHistory&&Co(p,{from:O,to:W,origin:"markText"},p.sel,NaN);var ft=O.line,Ut=p.cm,Kt;if(p.iter(ft,W.line+1,function(dr){Ut&&ve.collapsed&&!Ut.options.lineWrapping&&Ar(dr)==Ut.display.maxLine&&(Kt=!0),ve.collapsed&&ft!=O.line&&Et(dr,0),rn(dr,new Ve(ve,ft==O.line?O.ch:null,ft==W.line?W.ch:null)),++ft}),ve.collapsed&&p.iter(O.line,W.line+1,function(dr){qr(p,dr)&&Et(dr,0)}),ve.clearOnEnter&&Te(ve,"beforeCursorEnter",function(){return ve.clear()}),ve.readOnly&&(Fe(),(p.history.done.length||p.history.undone.length)&&p.clearHistory()),ve.collapsed&&(ve.id=++Pl,ve.atomic=!0),Ut){if(Kt&&(Ut.curOp.updateMaxLine=!0),ve.collapsed)ga(Ut,O.line,W.line+1);else if(ve.className||ve.startStyle||ve.endStyle||ve.css||ve.attributes||ve.title)for(var $n=O.line;$n<=W.line;$n++)Ii(Ut,$n,"text");ve.atomic&&gs(Ut.doc),Bt(Ut,"markerAdded",Ut,ve)}return ve}var Ll=function(O,W){this.markers=O,this.primary=W;for(var Q=0;Q<O.length;++Q)O[Q].parent=this};Ll.prototype.clear=function(){if(this.explicitlyCleared)return;this.explicitlyCleared=!0;for(var p=0;p<this.markers.length;++p)this.markers[p].clear();Bt(this,"clear")},Ll.prototype.find=function(p,O){return this.primary.find(p,O)},on(Ll);function Uu(p,O,W,Q,Z){Q=P(Q),Q.shared=!1;var ve=[Ol(p,O,W,Q,Z)],Ze=ve[0],ft=Q.widgetNode;return xi(p,function(Ut){ft&&(Q.widgetNode=ft.cloneNode(!0)),ve.push(Ol(Ut,nt(Ut,O),nt(Ut,W),Q,Z));for(var Kt=0;Kt<Ut.linked.length;++Kt)if(Ut.linked[Kt].isParent)return;Ze=ce(ve)}),new Ll(ve,Ze)}function ru(p){return p.findMarks(Lt(p.first,0),p.clipPos(Lt(p.lastLine())),function(O){return O.parent})}function Eu(p,O){for(var W=0;W<O.length;W++){var Q=O[W],Z=Q.find(),ve=p.clipPos(Z.from),Ze=p.clipPos(Z.to);if($e(ve,Ze)){var ft=Ol(p,ve,Ze,Q.primary,Q.primary.type);Q.markers.push(ft),ft.parent=Q}}}function iu(p){for(var O=function(Z){var ve=p[Z],Ze=[ve.primary.doc];xi(ve.primary.doc,function(Kt){return Ze.push(Kt)});for(var ft=0;ft<ve.markers.length;ft++){var Ut=ve.markers[ft];_(Ze,Ut.doc)==-1&&(Ut.parent=null,ve.markers.splice(ft--,1))}},W=0;W<p.length;W++)O(W)}var jl=0,Ks=function p(O,W,Q,Z,ve){if(!(this instanceof p))return new p(O,W,Q,Z,ve);Q==null&&(Q=0),xo.call(this,[new Zo([new Mi("",null)])]),this.first=Q,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=Q;var Ze=Lt(Q,0);this.sel=ie(Ze),this.history=new Ja(null),this.id=++jl,this.modeOption=W,this.lineSep=Z,this.direction=ve=="rtl"?"rtl":"ltr",this.extend=!1,typeof O=="string"&&(O=this.splitLines(O)),si(this,{from:Ze,to:Ze,text:O}),No(this,ie(Ze),ue)};Ks.prototype=st(xo.prototype,{constructor:Ks,iter:function(O,W,Q){Q?this.iterN(O-this.first,W-O,Q):this.iterN(this.first,this.first+this.size,O)},insert:function(O,W){for(var Q=0,Z=0;Z<W.length;++Z)Q+=W[Z].height;this.insertInner(O-this.first,W,Q)},remove:function(O,W){this.removeInner(O-this.first,W)},getValue:function(O){var W=Rt(this,this.first,this.first+this.size);return O===!1?W:W.join(O||this.lineSeparator())},setValue:zo(function(p){var O=Lt(this.first,0),W=this.first+this.size-1;js(this,{from:O,to:Lt(W,Oe(this,W).text.length),text:this.splitLines(p),origin:"setValue",full:!0},!0),this.cm&&wa(this.cm,0,0),No(this,ie(O),ue)}),replaceRange:function(O,W,Q,Z){W=nt(this,W),Q=Q?nt(this,Q):W,Hs(this,O,W,Q,Z)},getRange:function(O,W,Q){var Z=ze(this,nt(this,O),nt(this,W));return Q===!1?Z:Z.join(Q||this.lineSeparator())},getLine:function(O){var W=this.getLineHandle(O);return W&&W.text},getLineHandle:function(O){if(Mn(this,O))return Oe(this,O)},getLineNumber:function(O){return _t(O)},getLineHandleVisualStart:function(O){return typeof O=="number"&&(O=Oe(this,O)),Ar(O)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(O){return nt(this,O)},getCursor:function(O){var W=this.sel.primary(),Q;return O==null||O=="head"?Q=W.head:O=="anchor"?Q=W.anchor:O=="end"||O=="to"||O===!1?Q=W.to():Q=W.from(),Q},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:zo(function(p,O,W){Al(this,nt(this,typeof p=="number"?Lt(p,O||0):p),null,W)}),setSelection:zo(function(p,O,W){Al(this,nt(this,p),nt(this,O||p),W)}),extendSelection:zo(function(p,O,W){as(this,nt(this,p),O&&nt(this,O),W)}),extendSelections:zo(function(p,O){Xo(this,sn(this,p),O)}),extendSelectionsBy:zo(function(p,O){var W=Ee(this.sel.ranges,p);Xo(this,sn(this,W),O)}),setSelections:zo(function(p,O,W){if(!p.length)return;for(var Q=[],Z=0;Z<p.length;Z++)Q[Z]=new X(nt(this,p[Z].anchor),nt(this,p[Z].head));O==null&&(O=Math.min(p.length-1,this.sel.primIndex)),No(this,ee(this.cm,Q,O),W)}),addSelection:zo(function(p,O,W){var Q=this.sel.ranges.slice(0);Q.push(new X(nt(this,p),nt(this,O||p))),No(this,ee(this.cm,Q,Q.length-1),W)}),getSelection:function(O){for(var W=this.sel.ranges,Q,Z=0;Z<W.length;Z++){var ve=ze(this,W[Z].from(),W[Z].to());Q=Q?Q.concat(ve):ve}return O===!1?Q:Q.join(O||this.lineSeparator())},getSelections:function(O){for(var W=[],Q=this.sel.ranges,Z=0;Z<Q.length;Z++){var ve=ze(this,Q[Z].from(),Q[Z].to());O!==!1&&(ve=ve.join(O||this.lineSeparator())),W[Z]=ve}return W},replaceSelection:function(O,W,Q){for(var Z=[],ve=0;ve<this.sel.ranges.length;ve++)Z[ve]=O;this.replaceSelections(Z,W,Q||"+input")},replaceSelections:zo(function(p,O,W){for(var Q=[],Z=this.sel,ve=0;ve<Z.ranges.length;ve++){var Ze=Z.ranges[ve];Q[ve]={from:Ze.from(),to:Ze.to(),text:this.splitLines(p[ve]),origin:W}}for(var ft=O&&O!="end"&&In(this,Q,O),Ut=Q.length-1;Ut>=0;Ut--)js(this,Q[Ut]);ft?fs(this,ft):this.cm&&eo(this.cm)}),undo:zo(function(){Aa(this,"undo")}),redo:zo(function(){Aa(this,"redo")}),undoSelection:zo(function(){Aa(this,"undo",!0)}),redoSelection:zo(function(){Aa(this,"redo",!0)}),setExtending:function(O){this.extend=O},getExtending:function(){return this.extend},historySize:function(){for(var O=this.history,W=0,Q=0,Z=0;Z<O.done.length;Z++)O.done[Z].ranges||++W;for(var ve=0;ve<O.undone.length;ve++)O.undone[ve].ranges||++Q;return{undo:W,redo:Q}},clearHistory:function(){var O=this;this.history=new Ja(this.history.maxGeneration),xi(this,function(W){return W.history=O.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(O){return O&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(O){return this.history.generation==(O||this.cleanGeneration)},getHistory:function(){return{done:Rs(this.history.done),undone:Rs(this.history.undone)}},setHistory:function(O){var W=this.history=new Ja(this.history.maxGeneration);W.done=Rs(O.done.slice(0),null,!0),W.undone=Rs(O.undone.slice(0),null,!0)},setGutterMarker:zo(function(p,O,W){return Oo(this,p,"gutter",function(Q){var Z=Q.gutterMarkers||(Q.gutterMarkers={});return Z[O]=W,!W&&ct(Z)&&(Q.gutterMarkers=null),!0})}),clearGutter:zo(function(p){var O=this;this.iter(function(W){W.gutterMarkers&&W.gutterMarkers[p]&&Oo(O,W,"gutter",function(){return W.gutterMarkers[p]=null,ct(W.gutterMarkers)&&(W.gutterMarkers=null),!0})})}),lineInfo:function(O){var W;if(typeof O=="number"){if(!Mn(this,O))return null;if(W=O,O=Oe(this,O),!O)return null}else if(W=_t(O),W==null)return null;return{line:W,handle:O,text:O.text,gutterMarkers:O.gutterMarkers,textClass:O.textClass,bgClass:O.bgClass,wrapClass:O.wrapClass,widgets:O.widgets}},addLineClass:zo(function(p,O,W){return Oo(this,p,O=="gutter"?"gutter":"class",function(Q){var Z=O=="text"?"textClass":O=="background"?"bgClass":O=="gutter"?"gutterClass":"wrapClass";if(!Q[Z])Q[Z]=W;else{if(N(W).test(Q[Z]))return!1;Q[Z]+=" "+W}return!0})}),removeLineClass:zo(function(p,O,W){return Oo(this,p,O=="gutter"?"gutter":"class",function(Q){var Z=O=="text"?"textClass":O=="background"?"bgClass":O=="gutter"?"gutterClass":"wrapClass",ve=Q[Z];if(ve)if(W==null)Q[Z]=null;else{var Ze=ve.match(N(W));if(!Ze)return!1;var ft=Ze.index+Ze[0].length;Q[Z]=ve.slice(0,Ze.index)+(!Ze.index||ft==ve.length?"":" ")+ve.slice(ft)||null}else return!1;return!0})}),addLineWidget:zo(function(p,O,W){return Sl(this,p,O,W)}),removeLineWidget:function(O){O.clear()},markText:function(O,W,Q){return Ol(this,nt(this,O),nt(this,W),Q,Q&&Q.type||"range")},setBookmark:function(O,W){var Q={replacedWith:W&&(W.nodeType==null?W.widget:W),insertLeft:W&&W.insertLeft,clearWhenEmpty:!1,shared:W&&W.shared,handleMouseEvents:W&&W.handleMouseEvents};return O=nt(this,O),Ol(this,O,O,Q,"bookmark")},findMarksAt:function(O){O=nt(this,O);var W=[],Q=Oe(this,O.line).markedSpans;if(Q)for(var Z=0;Z<Q.length;++Z){var ve=Q[Z];(ve.from==null||ve.from<=O.ch)&&(ve.to==null||ve.to>=O.ch)&&W.push(ve.marker.parent||ve.marker)}return W},findMarks:function(O,W,Q){O=nt(this,O),W=nt(this,W);var Z=[],ve=O.line;return this.iter(O.line,W.line+1,function(Ze){var ft=Ze.markedSpans;if(ft)for(var Ut=0;Ut<ft.length;Ut++){var Kt=ft[Ut];!(Kt.to!=null&&ve==O.line&&O.ch>=Kt.to||Kt.from==null&&ve!=O.line||Kt.from!=null&&ve==W.line&&Kt.from>=W.ch)&&(!Q||Q(Kt.marker))&&Z.push(Kt.marker.parent||Kt.marker)}++ve}),Z},getAllMarks:function(){var O=[];return this.iter(function(W){var Q=W.markedSpans;if(Q)for(var Z=0;Z<Q.length;++Z)Q[Z].from!=null&&O.push(Q[Z].marker)}),O},posFromIndex:function(O){var W,Q=this.first,Z=this.lineSeparator().length;return this.iter(function(ve){var Ze=ve.text.length+Z;if(Ze>O)return W=O,!0;O-=Ze,++Q}),nt(this,Lt(Q,W))},indexFromPos:function(O){O=nt(this,O);var W=O.ch;if(O.line<this.first||O.ch<0)return 0;var Q=this.lineSeparator().length;return this.iter(this.first,O.line,function(Z){W+=Z.text.length+Q}),W},copy:function(O){var W=new Ks(Rt(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return W.scrollTop=this.scrollTop,W.scrollLeft=this.scrollLeft,W.sel=this.sel,W.extend=!1,O&&(W.history.undoDepth=this.history.undoDepth,W.setHistory(this.getHistory())),W},linkedDoc:function(O){O||(O={});var W=this.first,Q=this.first+this.size;O.from!=null&&O.from>W&&(W=O.from),O.to!=null&&O.to<Q&&(Q=O.to);var Z=new Ks(Rt(this,W,Q),O.mode||this.modeOption,W,this.lineSep,this.direction);return O.sharedHist&&(Z.history=this.history),(this.linked||(this.linked=[])).push({doc:Z,sharedHist:O.sharedHist}),Z.linked=[{doc:this,isParent:!0,sharedHist:O.sharedHist}],Eu(Z,ru(this)),Z},unlinkDoc:function(O){if(O instanceof nn&&(O=O.doc),this.linked)for(var W=0;W<this.linked.length;++W){var Q=this.linked[W];if(Q.doc!=O)continue;this.linked.splice(W,1),O.unlinkDoc(this),iu(ru(this));break}if(O.history==this.history){var Z=[O.id];xi(O,function(ve){return Z.push(ve.id)},!0),O.history=new Ja(null),O.history.done=Rs(this.history.done,Z),O.history.undone=Rs(this.history.undone,Z)}},iterLinkedDocs:function(O){xi(this,O)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(O){return this.lineSep?O.split(this.lineSep):hr(O)},lineSeparator:function(){return this.lineSep||`
|
|
|
`},setDirection:zo(function(p){if(p!="rtl"&&(p="ltr"),p==this.direction)return;this.direction=p,this.iter(function(O){return O.order=null}),this.cm&&ya(this.cm)})}),Ks.prototype.eachLine=Ks.prototype.iter;var el=0;function sl(p){var O=this;if(ou(O),Yt(O,p)||kr(O.display,p))return;vt(p),m&&(el=+new Date);var W=Qi(O,p,!0),Q=p.dataTransfer.files;if(!W||O.isReadOnly())return;if(Q&&Q.length&&window.FileReader&&window.File)for(var Z=Q.length,ve=Array(Z),Ze=0,ft=function(){++Ze==Z&&mo(O,function(){W=nt(O.doc,W);var gi={from:W,to:W,text:O.doc.splitLines(ve.filter(function(zi){return zi!=null}).join(O.doc.lineSeparator())),origin:"paste"};js(O.doc,gi),fs(O.doc,ie(nt(O.doc,W),nt(O.doc,we(gi))))})()},Ut=function(gi,zi){if(O.options.allowDropFileTypes&&_(O.options.allowDropFileTypes,gi.type)==-1){ft();return}var Xi=new FileReader;Xi.onerror=function(){return ft()},Xi.onload=function(){var Yi=Xi.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Yi)){ft();return}ve[zi]=Yi,ft()},Xi.readAsText(gi)},Kt=0;Kt<Q.length;Kt++)Ut(Q[Kt],Kt);else{if(O.state.draggingText&&O.doc.sel.contains(W)>-1){O.state.draggingText(p),setTimeout(function(){return O.display.input.focus()},20);return}try{var $n=p.dataTransfer.getData("Text");if($n){var dr;if(O.state.draggingText&&!O.state.draggingText.copy&&(dr=O.listSelections()),ls(O.doc,ie(W,W)),dr)for(var Dr=0;Dr<dr.length;++Dr)Hs(O.doc,"",dr[Dr].anchor,dr[Dr].head,"drag");O.replaceSelection($n,"around","paste"),O.display.input.focus()}}catch(Pr){}}}function _l(p,O){if(m&&(!p.state.draggingText||+new Date-el<100)){Pt(O);return}if(Yt(p,O)||kr(p.display,O))return;if(O.dataTransfer.setData("Text",p.getSelection()),O.dataTransfer.effectAllowed="copyMove",O.dataTransfer.setDragImage&&!n){var W=D("img",null,null,"position: fixed; left: 0; top: 0;");W.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",i&&(W.width=W.height=1,p.display.wrapper.appendChild(W),W._top=W.offsetTop),O.dataTransfer.setDragImage(W,0,0),i&&W.parentNode.removeChild(W)}}function au(p,O){var W=Qi(p,O);if(!W)return;var Q=document.createDocumentFragment();xa(p,W,Q),p.display.dragCursor||(p.display.dragCursor=D("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),p.display.lineSpace.insertBefore(p.display.dragCursor,p.display.cursorDiv)),T(p.display.dragCursor,Q)}function ou(p){p.display.dragCursor&&(p.display.lineSpace.removeChild(p.display.dragCursor),p.display.dragCursor=null)}function Gl(p){if(!document.getElementsByClassName)return;for(var O=document.getElementsByClassName("CodeMirror"),W=[],Q=0;Q<O.length;Q++){var Z=O[Q].CodeMirror;Z&&W.push(Z)}W.length&&W[0].operation(function(){for(var ve=0;ve<W.length;ve++)p(W[ve])})}var Vs=!1;function su(){if(Vs)return;lu(),Vs=!0}function lu(){var p;Te(window,"resize",function(){p==null&&(p=setTimeout(function(){p=null,Gl(Cu)},100))}),Te(window,"blur",function(){return Gl(Xa)})}function Cu(p){var O=p.display;O.cachedCharWidth=O.cachedTextHeight=O.cachedPaddingH=null,O.scrollbarsClipped=!1,p.setSize()}for(var gl={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Tl=0;Tl<10;Tl++)gl[Tl+48]=gl[Tl+96]=String(Tl);for(var Hl=65;Hl<=90;Hl++)gl[Hl]=String.fromCharCode(Hl);for(var Xl=1;Xl<=12;Xl++)gl[Xl+111]=gl[Xl+63235]="F"+Xl;var xl={};xl.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"},xl.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"},xl.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"},xl.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"]},xl.default=h?xl.macDefault:xl.pcDefault;function ku(p){var O=p.split(/-(?!$)/);p=O[O.length-1];for(var W,Q,Z,ve,Ze=0;Ze<O.length-1;Ze++){var ft=O[Ze];if(/^(cmd|meta|m)$/i.test(ft))ve=!0;else if(/^a(lt)?$/i.test(ft))W=!0;else if(/^(c|ctrl|control)$/i.test(ft))Q=!0;else if(/^s(hift)?$/i.test(ft))Z=!0;else throw new Error("Unrecognized modifier name: "+ft)}return W&&(p="Alt-"+p),Q&&(p="Ctrl-"+p),ve&&(p="Cmd-"+p),Z&&(p="Shift-"+p),p}function ju(p){var O={};for(var W in p)if(p.hasOwnProperty(W)){var Q=p[W];if(/^(name|fallthrough|(de|at)tach)$/.test(W))continue;if(Q=="..."){delete p[W];continue}for(var Z=Ee(W.split(" "),ku),ve=0;ve<Z.length;ve++){var Ze=void 0,ft=void 0;ve==Z.length-1?(ft=Z.join(" "),Ze=Q):(ft=Z.slice(0,ve+1).join(" "),Ze="...");var Ut=O[ft];if(!Ut)O[ft]=Ze;else if(Ut!=Ze)throw new Error("Inconsistent bindings for "+ft)}delete p[W]}for(var Kt in O)p[Kt]=O[Kt];return p}function vl(p,O,W,Q){O=Ss(O);var Z=O.call?O.call(p,Q):O[p];if(Z===!1)return"nothing";if(Z==="...")return"multi";if(Z!=null&&W(Z))return"handled";if(O.fallthrough){if(Object.prototype.toString.call(O.fallthrough)!="[object Array]")return vl(p,O.fallthrough,W,Q);for(var ve=0;ve<O.fallthrough.length;ve++){var Ze=vl(p,O.fallthrough[ve],W,Q);if(Ze)return Ze}}}function Jl(p){var O=typeof p=="string"?p:gl[p.keyCode];return O=="Ctrl"||O=="Alt"||O=="Shift"||O=="Mod"}function uu(p,O,W){var Q=p;return O.altKey&&Q!="Alt"&&(p="Alt-"+p),(I?O.metaKey:O.ctrlKey)&&Q!="Ctrl"&&(p="Ctrl-"+p),(I?O.ctrlKey:O.metaKey)&&Q!="Mod"&&(p="Cmd-"+p),!W&&O.shiftKey&&Q!="Shift"&&(p="Shift-"+p),p}function Zl(p,O){if(i&&p.keyCode==34&&p.char)return!1;var W=gl[p.keyCode];return W==null||p.altGraphKey?!1:(p.keyCode==3&&p.code&&(W=p.code),uu(W,p,O))}function Ss(p){return typeof p=="string"?xl[p]:p}function cl(p,O){for(var W=p.doc.sel.ranges,Q=[],Z=0;Z<W.length;Z++){for(var ve=O(W[Z]);Q.length&&$e(ve.from,ce(Q).to)<=0;){var Ze=Q.pop();if($e(Ze.from,ve.from)<0){ve.from=Ze.from;break}}Q.push(ve)}Ho(p,function(){for(var ft=Q.length-1;ft>=0;ft--)Hs(p.doc,"",Q[ft].from,Q[ft].to,"+delete");eo(p)})}function Ul(p,O,W){var Q=ht(p.text,O+W,W);return Q<0||Q>p.text.length?null:Q}function Iu(p,O,W){var Q=Ul(p,O.ch,W);return Q==null?null:new Lt(O.line,Q,W<0?"after":"before")}function cu(p,O,W,Q,Z){if(p){O.doc.direction=="rtl"&&(Z=-Z);var ve=jt(W,O.doc.direction);if(ve){var Ze=Z<0?ce(ve):ve[0],ft=Z<0==(Ze.level==1),Ut=ft?"after":"before",Kt;if(Ze.level>0||O.doc.direction=="rtl"){var $n=mi(O,W);Kt=Z<0?W.text.length-1:0;var dr=Ni(O,$n,Kt).top;Kt=je(function(Dr){return Ni(O,$n,Dr).top==dr},Z<0==(Ze.level==1)?Ze.from:Ze.to-1,Kt),Ut=="before"&&(Kt=Ul(W,Kt,1))}else Kt=Z<0?Ze.to:Ze.from;return new Lt(Q,Kt,Ut)}}return new Lt(Q,Z<0?W.text.length:0,Z<0?"before":"after")}function zl(p,O,W,Q){var Z=jt(O,p.doc.direction);if(!Z)return Iu(O,W,Q);W.ch>=O.text.length?(W.ch=O.text.length,W.sticky="before"):W.ch<=0&&(W.ch=0,W.sticky="after");var ve=it(Z,W.ch,W.sticky),Ze=Z[ve];if(p.doc.direction=="ltr"&&Ze.level%2==0&&(Q>0?Ze.to>W.ch:Ze.from<W.ch))return Iu(O,W,Q);var ft=function(Vi,fa){return Ul(O,Vi instanceof Lt?Vi.ch:Vi,fa)},Ut,Kt=function(Vi){return p.options.lineWrapping?(Ut=Ut||mi(p,O),ta(p,O,Ut,Vi)):{begin:0,end:O.text.length}},$n=Kt(W.sticky=="before"?ft(W,-1):W.ch);if(p.doc.direction=="rtl"||Ze.level==1){var dr=Ze.level==1==Q<0,Dr=ft(W,dr?1:-1);if(Dr!=null&&(dr?Dr<=Ze.to&&Dr<=$n.end:Dr>=Ze.from&&Dr>=$n.begin)){var Pr=dr?"before":"after";return new Lt(W.line,Dr,Pr)}}var gi=function(Vi,fa,ba){for(var qa=function($o,Ms){return Ms?new Lt(W.line,ft($o,1),"before"):new Lt(W.line,$o,"after")};Vi>=0&&Vi<Z.length;Vi+=fa){var _a=Z[Vi],Eo=fa>0==(_a.level!=1),Wo=Eo?ba.begin:ft(ba.end,-1);if(_a.from<=Wo&&Wo<_a.to)return qa(Wo,Eo);if(Wo=Eo?_a.from:ft(_a.to,-1),ba.begin<=Wo&&Wo<ba.end)return qa(Wo,Eo)}},zi=gi(ve+Q,Q,$n);if(zi)return zi;var Xi=Q>0?$n.end:ft($n.begin,-1);return Xi!=null&&!(Q>0&&Xi==O.text.length)&&(zi=gi(Q>0?0:Z.length-1,Q,Kt(Xi)),zi)?zi:null}var Wl={selectAll:$s,singleSelection:function(O){return O.setSelection(O.getCursor("anchor"),O.getCursor("head"),ue)},killLine:function(O){return cl(O,function(W){if(W.empty()){var Q=Oe(O.doc,W.head.line).text.length;return W.head.ch==Q&&W.head.line<O.lastLine()?{from:W.head,to:Lt(W.head.line+1,0)}:{from:W.head,to:Lt(W.head.line,Q)}}else return{from:W.from(),to:W.to()}})},deleteLine:function(O){return cl(O,function(W){return{from:Lt(W.from().line,0),to:nt(O.doc,Lt(W.to().line+1,0))}})},delLineLeft:function(O){return cl(O,function(W){return{from:Lt(W.from().line,0),to:W.from()}})},delWrappedLineLeft:function(O){return cl(O,function(W){var Q=O.charCoords(W.head,"div").top+5,Z=O.coordsChar({left:0,top:Q},"div");return{from:Z,to:W.from()}})},delWrappedLineRight:function(O){return cl(O,function(W){var Q=O.charCoords(W.head,"div").top+5,Z=O.coordsChar({left:O.display.lineDiv.offsetWidth+100,top:Q},"div");return{from:W.from(),to:Z}})},undo:function(O){return O.undo()},redo:function(O){return O.redo()},undoSelection:function(O){return O.undoSelection()},redoSelection:function(O){return O.redoSelection()},goDocStart:function(O){return O.extendSelection(Lt(O.firstLine(),0))},goDocEnd:function(O){return O.extendSelection(Lt(O.lastLine()))},goLineStart:function(O){return O.extendSelectionsBy(function(W){return du(O,W.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(O){return O.extendSelectionsBy(function(W){return Hu(O,W.head)},{origin:"+move",bias:1})},goLineEnd:function(O){return O.extendSelectionsBy(function(W){return Ou(O,W.head.line)},{origin:"+move",bias:-1})},goLineRight:function(O){return O.extendSelectionsBy(function(W){var Q=O.cursorCoords(W.head,"div").top+5;return O.coordsChar({left:O.display.lineDiv.offsetWidth+100,top:Q},"div")},re)},goLineLeft:function(O){return O.extendSelectionsBy(function(W){var Q=O.cursorCoords(W.head,"div").top+5;return O.coordsChar({left:0,top:Q},"div")},re)},goLineLeftSmart:function(O){return O.extendSelectionsBy(function(W){var Q=O.cursorCoords(W.head,"div").top+5,Z=O.coordsChar({left:0,top:Q},"div");return Z.ch<O.getLine(Z.line).search(/\S/)?Hu(O,W.head):Z},re)},goLineUp:function(O){return O.moveV(-1,"line")},goLineDown:function(O){return O.moveV(1,"line")},goPageUp:function(O){return O.moveV(-1,"page")},goPageDown:function(O){return O.moveV(1,"page")},goCharLeft:function(O){return O.moveH(-1,"char")},goCharRight:function(O){return O.moveH(1,"char")},goColumnLeft:function(O){return O.moveH(-1,"column")},goColumnRight:function(O){return O.moveH(1,"column")},goWordLeft:function(O){return O.moveH(-1,"word")},goGroupRight:function(O){return O.moveH(1,"group")},goGroupLeft:function(O){return O.moveH(-1,"group")},goWordRight:function(O){return O.moveH(1,"word")},delCharBefore:function(O){return O.deleteH(-1,"codepoint")},delCharAfter:function(O){return O.deleteH(1,"char")},delWordBefore:function(O){return O.deleteH(-1,"word")},delWordAfter:function(O){return O.deleteH(1,"word")},delGroupBefore:function(O){return O.deleteH(-1,"group")},delGroupAfter:function(O){return O.deleteH(1,"group")},indentAuto:function(O){return O.indentSelection("smart")},indentMore:function(O){return O.indentSelection("add")},indentLess:function(O){return O.indentSelection("subtract")},insertTab:function(O){return O.replaceSelection(" ")},insertSoftTab:function(O){for(var W=[],Q=O.listSelections(),Z=O.options.tabSize,ve=0;ve<Q.length;ve++){var Ze=Q[ve].from(),ft=z(O.getLine(Ze.line),Ze.ch,Z);W.push(ke(Z-ft%Z))}O.replaceSelections(W)},defaultTab:function(O){O.somethingSelected()?O.indentSelection("add"):O.execCommand("insertTab")},transposeChars:function(O){return Ho(O,function(){for(var W=O.listSelections(),Q=[],Z=0;Z<W.length;Z++){if(!W[Z].empty())continue;var ve=W[Z].head,Ze=Oe(O.doc,ve.line).text;if(Ze){if(ve.ch==Ze.length&&(ve=new Lt(ve.line,ve.ch-1)),ve.ch>0)ve=new Lt(ve.line,ve.ch+1),O.replaceRange(Ze.charAt(ve.ch-1)+Ze.charAt(ve.ch-2),Lt(ve.line,ve.ch-2),ve,"+transpose");else if(ve.line>O.doc.first){var ft=Oe(O.doc,ve.line-1).text;ft&&(ve=new Lt(ve.line,1),O.replaceRange(Ze.charAt(0)+O.doc.lineSeparator()+ft.charAt(ft.length-1),Lt(ve.line-1,ft.length-1),ve,"+transpose"))}}Q.push(new X(ve,ve))}O.setSelections(Q)})},newlineAndIndent:function(O){return Ho(O,function(){for(var W=O.listSelections(),Q=W.length-1;Q>=0;Q--)O.replaceRange(O.doc.lineSeparator(),W[Q].anchor,W[Q].head,"+input");W=O.listSelections();for(var Z=0;Z<W.length;Z++)O.indentLine(W[Z].from().line,null,!0);eo(O)})},openLine:function(O){return O.replaceSelection(`
|
|
|
`,"start")},toggleOverwrite:function(O){return O.toggleOverwrite()}};function du(p,O){var W=Oe(p.doc,O),Q=Ar(W);return Q!=W&&(O=_t(Q)),cu(!0,p,Q,O,1)}function Ou(p,O){var W=Oe(p.doc,O),Q=Wn(W);return Q!=W&&(O=_t(Q)),cu(!0,p,W,O,-1)}function Hu(p,O){var W=du(p,O.line),Q=Oe(p.doc,W.line),Z=jt(Q,p.doc.direction);if(!Z||Z[0].level==0){var ve=Math.max(W.ch,Q.text.search(/\S/)),Ze=O.line==W.line&&O.ch<=ve&&O.ch;return Lt(W.line,Ze?0:ve,W.sticky)}return W}function dl(p,O,W){if(typeof O=="string"&&(O=Wl[O],!O))return!1;p.display.input.ensurePolled();var Q=p.display.shift,Z=!1;try{p.isReadOnly()&&(p.state.suppressEdits=!0),W&&(p.display.shift=!1),Z=O(p)!=J}finally{p.display.shift=Q,p.state.suppressEdits=!1}return Z}function hl(p,O,W){for(var Q=0;Q<p.state.keyMaps.length;Q++){var Z=vl(O,p.state.keyMaps[Q],W,p);if(Z)return Z}return p.options.extraKeys&&vl(O,p.options.extraKeys,W,p)||vl(O,p.options.keyMap,W,p)}var El=new Y;function $l(p,O,W,Q){var Z=p.state.keySeq;if(Z){if(Jl(O))return"handled";if(/\'$/.test(O)?p.state.keySeq=null:El.set(50,function(){p.state.keySeq==Z&&(p.state.keySeq=null,p.display.input.reset())}),ql(p,Z+" "+O,W,Q))return!0}return ql(p,O,W,Q)}function ql(p,O,W,Q){var Z=hl(p,O,Q);return Z=="multi"&&(p.state.keySeq=O),Z=="handled"&&Bt(p,"keyHandled",p,O,W),(Z=="handled"||Z=="multi")&&(vt(W),ia(p)),!!Z}function yl(p,O){var W=Zl(O,!0);return W?O.shiftKey&&!p.state.keySeq?$l(p,"Shift-"+W,O,function(Q){return dl(p,Q,!0)})||$l(p,W,O,function(Q){if(typeof Q=="string"?/^go[A-Z]/.test(Q):Q.motion)return dl(p,Q)}):$l(p,W,O,function(Q){return dl(p,Q)}):!1}function ll(p,O,W){return $l(p,"'"+W+"'",O,function(Q){return dl(p,Q,!0)})}var hu=null;function fu(p){var O=this;if(p.target&&p.target!=O.display.input.getField())return;if(O.curOp.focus=M(),Yt(O,p))return;m&&d<11&&p.keyCode==27&&(p.returnValue=!1);var W=p.keyCode;O.display.shift=W==16||p.shiftKey;var Q=yl(O,p);i&&(hu=Q?W:null,!Q&&W==88&&!vn&&(h?p.metaKey:p.ctrlKey)&&O.replaceSelection("",null,"cut")),g&&!h&&!Q&&W==46&&p.shiftKey&&!p.ctrlKey&&document.execCommand&&document.execCommand("cut"),W==18&&!/\bCodeMirror-crosshair\b/.test(O.display.lineDiv.className)&&zu(O)}function zu(p){var O=p.display.lineDiv;K(O,"CodeMirror-crosshair");function W(Q){(Q.keyCode==18||!Q.altKey)&&(S(O,"CodeMirror-crosshair"),tn(document,"keyup",W),tn(document,"mouseover",W))}Te(document,"keyup",W),Te(document,"mouseover",W)}function Lu(p){p.keyCode==16&&(this.doc.sel.shift=!1),Yt(this,p)}function Tu(p){var O=this;if(p.target&&p.target!=O.display.input.getField())return;if(kr(O.display,p)||Yt(O,p)||p.ctrlKey&&!p.altKey||h&&p.metaKey)return;var W=p.keyCode,Q=p.charCode;if(i&&W==hu){hu=null,vt(p);return}if(i&&(!p.which||p.which<10)&&yl(O,p))return;var Z=String.fromCharCode(Q==null?W:Q);if(Z=="\b")return;if(ll(O,p,Z))return;O.display.input.onKeyPress(p)}var Wu=400,Kl=function(O,W,Q){this.time=O,this.pos=W,this.button=Q};Kl.prototype.compare=function(p,O,W){return this.time+Wu>p&&$e(O,this.pos)==0&&W==this.button};var fl,Nl;function Vl(p,O){var W=+new Date;return Nl&&Nl.compare(W,p,O)?(fl=Nl=null,"triple"):fl&&fl.compare(W,p,O)?(Nl=new Kl(W,p,O),fl=null,"double"):(fl=new Kl(W,p,O),Nl=null,"single")}function kl(p){var O=this,W=O.display;if(Yt(O,p)||W.activeTouch&&W.input.supportsTouch())return;if(W.input.ensurePolled(),W.shift=p.shiftKey,kr(W,p)){r||(W.scroller.draggable=!1,setTimeout(function(){return W.scroller.draggable=!0},100));return}if(Ru(O,p))return;var Q=Qi(O,p),Z=Je(p),ve=Q?Vl(Q,Z):"single";if(window.focus(),Z==1&&O.state.selectingText&&O.state.selectingText(p),Q&&pu(O,Z,Q,ve,p))return;Z==1?Q?Nu(O,Q,ve,p):We(p)==W.scroller&&vt(p):Z==2?(Q&&as(O.doc,Q),setTimeout(function(){return W.input.focus()},20)):Z==3&&(C?O.display.input.onContextMenu(p):Ya(O))}function pu(p,O,W,Q,Z){var ve="Click";return Q=="double"?ve="Double"+ve:Q=="triple"&&(ve="Triple"+ve),ve=(O==1?"Left":O==2?"Middle":"Right")+ve,$l(p,uu(ve,Z),Z,function(Ze){if(typeof Ze=="string"&&(Ze=Wl[Ze]),!Ze)return!1;var ft=!1;try{p.isReadOnly()&&(p.state.suppressEdits=!0),ft=Ze(p,W)!=J}finally{p.state.suppressEdits=!1}return ft})}function Ku(p,O,W){var Q=p.getOption("configureMouse"),Z=Q?Q(p,O,W):{};if(Z.unit==null){var ve=f?W.shiftKey&&W.metaKey:W.altKey;Z.unit=ve?"rectangle":O=="single"?"char":O=="double"?"word":"line"}return(Z.extend==null||p.doc.extend)&&(Z.extend=p.doc.extend||W.shiftKey),Z.addNew==null&&(Z.addNew=h?W.metaKey:W.ctrlKey),Z.moveOnDrag==null&&(Z.moveOnDrag=!(h?W.altKey:W.ctrlKey)),Z}function Nu(p,O,W,Q){m?setTimeout(k(lo,p),0):p.curOp.focus=M();var Z=Ku(p,W,Q),ve=p.doc.sel,Ze;p.options.dragDrop&&Ln&&!p.isReadOnly()&&W=="single"&&(Ze=ve.contains(O))>-1&&($e((Ze=ve.ranges[Ze]).from(),O)<0||O.xRel>0)&&($e(Ze.to(),O)>0||O.xRel<0)?qu(p,Q,O,Z):Vu(p,Q,O,Z)}function qu(p,O,W,Q){var Z=p.display,ve=!1,Ze=mo(p,function(Kt){r&&(Z.scroller.draggable=!1),p.state.draggingText=!1,tn(Z.wrapper.ownerDocument,"mouseup",Ze),tn(Z.wrapper.ownerDocument,"mousemove",ft),tn(Z.scroller,"dragstart",Ut),tn(Z.scroller,"drop",Ze),ve||(vt(Kt),Q.addNew||as(p.doc,W,null,null,Q.extend),r&&!n||m&&d==9?setTimeout(function(){Z.wrapper.ownerDocument.body.focus({preventScroll:!0}),Z.input.focus()},20):Z.input.focus())}),ft=function($n){ve=ve||Math.abs(O.clientX-$n.clientX)+Math.abs(O.clientY-$n.clientY)>=10},Ut=function(){return ve=!0};r&&(Z.scroller.draggable=!0),p.state.draggingText=Ze,Ze.copy=!Q.moveOnDrag,Z.scroller.dragDrop&&Z.scroller.dragDrop(),Te(Z.wrapper.ownerDocument,"mouseup",Ze),Te(Z.wrapper.ownerDocument,"mousemove",ft),Te(Z.scroller,"dragstart",Ut),Te(Z.scroller,"drop",Ze),Ya(p),setTimeout(function(){return Z.input.focus()},20)}function Du(p,O,W){if(W=="char")return new X(O,O);if(W=="word")return p.findWordAt(O);if(W=="line")return new X(Lt(O.line,0),nt(p.doc,Lt(O.line+1,0)));var Q=W(p,O);return new X(Q.from,Q.to)}function Vu(p,O,W,Q){var Z=p.display,ve=p.doc;vt(O);var Ze,ft,Ut=ve.sel,Kt=Ut.ranges;if(Q.addNew&&!Q.extend?(ft=ve.sel.contains(W),ft>-1?Ze=Kt[ft]:Ze=new X(W,W)):(Ze=ve.sel.primary(),ft=ve.sel.primIndex),Q.unit=="rectangle")Q.addNew||(Ze=new X(W,W)),W=Qi(p,O,!0,!0),ft=-1;else{var $n=Du(p,W,Q.unit);Q.extend?Ze=Es(Ze,$n.anchor,$n.head,Q.extend):Ze=$n}Q.addNew?ft==-1?(ft=Kt.length,No(ve,ee(p,Kt.concat([Ze]),ft),{scroll:!1,origin:"*mouse"})):Kt.length>1&&Kt[ft].empty()&&Q.unit=="char"&&!Q.extend?(No(ve,ee(p,Kt.slice(0,ft).concat(Kt.slice(ft+1)),0),{scroll:!1,origin:"*mouse"}),Ut=ve.sel):hs(ve,ft,Ze,q):(ft=0,No(ve,new et([Ze],0),q),Ut=ve.sel);var dr=W;function Dr(fa){if($e(dr,fa)==0)return;if(dr=fa,Q.unit=="rectangle"){for(var ba=[],qa=p.options.tabSize,_a=z(Oe(ve,W.line).text,W.ch,qa),Eo=z(Oe(ve,fa.line).text,fa.ch,qa),Wo=Math.min(_a,Eo),us=Math.max(_a,Eo),$o=Math.min(W.line,fa.line),Ms=Math.min(p.lastLine(),Math.max(W.line,fa.line));$o<=Ms;$o++){var Xs=Oe(ve,$o).text,Cs=me(Xs,Wo,qa);Wo==us?ba.push(new X(Lt($o,Cs),Lt($o,Cs))):Xs.length>Cs&&ba.push(new X(Lt($o,Cs),Lt($o,me(Xs,us,qa))))}ba.length||ba.push(new X(W,W)),No(ve,ee(p,Ut.ranges.slice(0,ft).concat(ba),ft),{origin:"*mouse",scroll:!1}),p.scrollIntoView(fa)}else{var Js=Ze,Fs=Du(p,fa,Q.unit),aa=Js.anchor,os;$e(Fs.anchor,aa)>0?(os=Fs.head,aa=ot(Js.from(),Fs.anchor)):(os=Fs.anchor,aa=Ht(Js.to(),Fs.head));var ns=Ut.ranges.slice(0);ns[ft]=Qu(p,new X(nt(ve,aa),os)),No(ve,ee(p,ns,ft),q)}}var Pr=Z.wrapper.getBoundingClientRect(),gi=0;function zi(fa){var ba=++gi,qa=Qi(p,fa,!0,Q.unit=="rectangle");if(!qa)return;if($e(qa,dr)!=0){p.curOp.focus=M(),Dr(qa);var _a=yo(Z,ve);(qa.line>=_a.to||qa.line<_a.from)&&setTimeout(mo(p,function(){gi==ba&&zi(fa)}),150)}else{var Eo=fa.clientY<Pr.top?-20:fa.clientY>Pr.bottom?20:0;Eo&&setTimeout(mo(p,function(){if(gi!=ba)return;Z.scroller.scrollTop+=Eo,zi(fa)}),50)}}function Xi(fa){p.state.selectingText=!1,gi=Infinity,fa&&(vt(fa),Z.input.focus()),tn(Z.wrapper.ownerDocument,"mousemove",Yi),tn(Z.wrapper.ownerDocument,"mouseup",Vi),ve.history.lastSelOrigin=null}var Yi=mo(p,function(fa){fa.buttons===0||!Je(fa)?Xi(fa):zi(fa)}),Vi=mo(p,Xi);p.state.selectingText=Vi,Te(Z.wrapper.ownerDocument,"mousemove",Yi),Te(Z.wrapper.ownerDocument,"mouseup",Vi)}function Qu(p,O){var W=O.anchor,Q=O.head,Z=Oe(p.doc,W.line);if($e(W,Q)==0&&W.sticky==Q.sticky)return O;var ve=jt(Z);if(!ve)return O;var Ze=it(ve,W.ch,W.sticky),ft=ve[Ze];if(ft.from!=W.ch&&ft.to!=W.ch)return O;var Ut=Ze+(ft.from==W.ch==(ft.level!=1)?0:1);if(Ut==0||Ut==ve.length)return O;var Kt;if(Q.line!=W.line)Kt=(Q.line-W.line)*(p.doc.direction=="ltr"?1:-1)>0;else{var $n=it(ve,Q.ch,Q.sticky),dr=$n-Ze||(Q.ch-W.ch)*(ft.level==1?-1:1);$n==Ut-1||$n==Ut?Kt=dr<0:Kt=dr>0}var Dr=ve[Ut+(Kt?-1:0)],Pr=Kt==(Dr.level==1),gi=Pr?Dr.from:Dr.to,zi=Pr?"after":"before";return W.ch==gi&&W.sticky==zi?O:new X(new Lt(W.line,gi,zi),Q)}function Yu(p,O,W,Q){var Z,ve;if(O.touches)Z=O.touches[0].clientX,ve=O.touches[0].clientY;else try{Z=O.clientX,ve=O.clientY}catch(Dr){return!1}if(Z>=Math.floor(p.display.gutters.getBoundingClientRect().right))return!1;Q&&vt(O);var Ze=p.display,ft=Ze.lineDiv.getBoundingClientRect();if(ve>ft.bottom||!an(p,W))return he(O);ve-=ft.top-Ze.viewOffset;for(var Ut=0;Ut<p.display.gutterSpecs.length;++Ut){var Kt=Ze.gutters.childNodes[Ut];if(Kt&&Kt.getBoundingClientRect().right>=Z){var $n=Nn(p.doc,ve),dr=p.display.gutterSpecs[Ut];return Vt(p,W,p,$n,dr.className,O),he(O)}}}function Ru(p,O){return Yu(p,O,"gutterClick",!0)}function mu(p,O){if(kr(p.display,O)||bl(p,O))return;if(Yt(p,O,"contextmenu"))return;C||p.display.input.onContextMenu(O)}function bl(p,O){return an(p,"gutterContextMenu")?Yu(p,O,"gutterContextMenu",!1):!1}function Au(p){p.display.wrapper.className=p.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+p.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Mt(p)}var Cl={toString:function(){return"CodeMirror.Init"}},eu={},ne={};function Ce(p){var O=p.optionHandlers;function W(Q,Z,ve,Ze){p.defaults[Q]=Z,ve&&(O[Q]=Ze?function(ft,Ut,Kt){Kt!=Cl&&ve(ft,Ut,Kt)}:ve)}p.defineOption=W,p.Init=Cl,W("value","",function(Q,Z){return Q.setValue(Z)},!0),W("mode",null,function(Q,Z){Q.doc.modeOption=Z,Jn(Q)},!0),W("indentUnit",2,Jn,!0),W("indentWithTabs",!1),W("smartIndent",!0),W("tabSize",4,function(Q){Cr(Q),Mt(Q),ga(Q)},!0),W("lineSeparator",null,function(Q,Z){if(Q.doc.lineSep=Z,!Z)return;var ve=[],Ze=Q.doc.first;Q.doc.iter(function(Ut){for(var Kt=0;;){var $n=Ut.text.indexOf(Z,Kt);if($n==-1)break;Kt=$n+Z.length,ve.push(Lt(Ze,$n))}Ze++});for(var ft=ve.length-1;ft>=0;ft--)Hs(Q.doc,Z,ve[ft],Lt(ve[ft].line,ve[ft].ch+Z.length))}),W("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(Q,Z,ve){Q.state.specialChars=new RegExp(Z.source+(Z.test(" ")?"":"| "),"g"),ve!=Cl&&Q.refresh()}),W("specialCharPlaceholder",hi,function(Q){return Q.refresh()},!0),W("electricChars",!0),W("inputStyle",c?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),W("spellcheck",!1,function(Q,Z){return Q.getInputField().spellcheck=Z},!0),W("autocorrect",!1,function(Q,Z){return Q.getInputField().autocorrect=Z},!0),W("autocapitalize",!1,function(Q,Z){return Q.getInputField().autocapitalize=Z},!0),W("rtlMoveVisually",!w),W("wholeLineUpdateBefore",!0),W("theme","default",function(Q){Au(Q),_s(Q)},!0),W("keyMap","default",function(Q,Z,ve){var Ze=Ss(Z),ft=ve!=Cl&&Ss(ve);ft&&ft.detach&&ft.detach(Q,Ze),Ze.attach&&Ze.attach(Q,ft||null)}),W("extraKeys",null),W("configureMouse",null),W("lineWrapping",!1,Tt,!0),W("gutters",[],function(Q,Z){Q.display.gutterSpecs=Ns(Z,Q.options.lineNumbers),_s(Q)},!0),W("fixedGutter",!0,function(Q,Z){Q.display.gutters.style.left=Z?va(Q.display)+"px":"0",Q.refresh()},!0),W("coverGutterNextToScrollbar",!1,function(Q){return Oa(Q)},!0),W("scrollbarStyle","native",function(Q){ho(Q),Oa(Q),Q.display.scrollbars.setScrollTop(Q.doc.scrollTop),Q.display.scrollbars.setScrollLeft(Q.doc.scrollLeft)},!0),W("lineNumbers",!1,function(Q,Z){Q.display.gutterSpecs=Ns(Q.options.gutters,Z),_s(Q)},!0),W("firstLineNumber",1,_s,!0),W("lineNumberFormatter",function(Q){return Q},_s,!0),W("showCursorWhenSelecting",!1,Pa,!0),W("resetSelectionOnContextMenu",!0),W("lineWiseCopyCut",!0),W("pasteLinesPerSelection",!0),W("selectionsMayTouch",!1),W("readOnly",!1,function(Q,Z){Z=="nocursor"&&(Xa(Q),Q.display.input.blur()),Q.display.input.readOnlyChanged(Z)}),W("screenReaderLabel",null,function(Q,Z){Z=Z===""?null:Z,Q.display.input.screenReaderLabelChanged(Z)}),W("disableInput",!1,function(Q,Z){Z||Q.display.input.reset()},!0),W("dragDrop",!0,Xe),W("allowDropFileTypes",null),W("cursorBlinkRate",530),W("cursorScrollMargin",0),W("cursorHeight",1,Pa,!0),W("singleCursorHeightPerLine",!0,Pa,!0),W("workTime",100),W("workDelay",100),W("flattenSpans",!0,Cr,!0),W("addModeClass",!1,Cr,!0),W("pollInterval",100),W("undoDepth",200,function(Q,Z){return Q.doc.history.undoDepth=Z}),W("historyEventDelay",1250),W("viewportMargin",10,function(Q){return Q.refresh()},!0),W("maxHighlightLength",1e4,Cr,!0),W("moveInputWithCursor",!0,function(Q,Z){Z||Q.display.input.resetPosition()}),W("tabindex",null,function(Q,Z){return Q.display.input.getField().tabIndex=Z||""}),W("autofocus",null),W("direction","ltr",function(Q,Z){return Q.doc.setDirection(Z)},!0),W("phrases",null)}function Xe(p,O,W){var Q=W&&W!=Cl;if(!O!=!Q){var Z=p.display.dragFunctions,ve=O?Te:tn;ve(p.display.scroller,"dragstart",Z.start),ve(p.display.scroller,"dragenter",Z.enter),ve(p.display.scroller,"dragover",Z.over),ve(p.display.scroller,"dragleave",Z.leave),ve(p.display.scroller,"drop",Z.drop)}}function Tt(p){p.options.lineWrapping?(K(p.display.wrapper,"CodeMirror-wrap"),p.display.sizer.style.minWidth="",p.display.sizerWidth=null):(S(p.display.wrapper,"CodeMirror-wrap"),ni(p)),Zi(p),ga(p),Mt(p),setTimeout(function(){return Oa(p)},100)}function nn(p,O){var W=this;if(!(this instanceof nn))return new nn(p,O);this.options=O=O?P(O):{},P(eu,O,!1);var Q=O.value;typeof Q=="string"?Q=new Ks(Q,O.mode,null,O.lineSeparator,O.direction):O.mode&&(Q.modeOption=O.mode),this.doc=Q;var Z=new nn.inputStyles[O.inputStyle](this),ve=this.display=new As(p,Q,Z,O);ve.wrapper.CodeMirror=this,Au(this),O.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),ho(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new Y,keySeq:null,specialChars:null},O.autofocus&&!c&&ve.input.focus(),m&&d<11&&setTimeout(function(){return W.display.input.reset(!0)},20),xn(this),su(),za(this),this.curOp.forceUpdate=!0,Bi(this,Q),O.autofocus&&!c||this.hasFocus()?setTimeout(function(){W.hasFocus()&&!W.state.focused&&Ca(W)},20):Xa(this);for(var Ze in ne)ne.hasOwnProperty(Ze)&&ne[Ze](this,O[Ze],Cl);al(this),O.finishInit&&O.finishInit(this);for(var ft=0;ft<fe.length;++ft)fe[ft](this);Yo(this),r&&O.lineWrapping&&getComputedStyle(ve.lineDiv).textRendering=="optimizelegibility"&&(ve.lineDiv.style.textRendering="auto")}nn.defaults=eu,nn.optionHandlers=ne;function xn(p){var O=p.display;Te(O.scroller,"mousedown",mo(p,kl)),m&&d<11?Te(O.scroller,"dblclick",mo(p,function(Ut){if(Yt(p,Ut))return;var Kt=Qi(p,Ut);if(!Kt||Ru(p,Ut)||kr(p.display,Ut))return;vt(Ut);var $n=p.findWordAt(Kt);as(p.doc,$n.anchor,$n.head)})):Te(O.scroller,"dblclick",function(Ut){return Yt(p,Ut)||vt(Ut)}),Te(O.scroller,"contextmenu",function(Ut){return mu(p,Ut)}),Te(O.input.getField(),"contextmenu",function(Ut){O.scroller.contains(Ut.target)||mu(p,Ut)});var W,Q={end:0};function Z(){O.activeTouch&&(W=setTimeout(function(){return O.activeTouch=null},1e3),Q=O.activeTouch,Q.end=+new Date)}function ve(Ut){if(Ut.touches.length!=1)return!1;var Kt=Ut.touches[0];return Kt.radiusX<=1&&Kt.radiusY<=1}function Ze(Ut,Kt){if(Kt.left==null)return!0;var $n=Kt.left-Ut.left,dr=Kt.top-Ut.top;return $n*$n+dr*dr>20*20}Te(O.scroller,"touchstart",function(Ut){if(!Yt(p,Ut)&&!ve(Ut)&&!Ru(p,Ut)){O.input.ensurePolled(),clearTimeout(W);var Kt=+new Date;O.activeTouch={start:Kt,moved:!1,prev:Kt-Q.end<=300?Q:null},Ut.touches.length==1&&(O.activeTouch.left=Ut.touches[0].pageX,O.activeTouch.top=Ut.touches[0].pageY)}}),Te(O.scroller,"touchmove",function(){O.activeTouch&&(O.activeTouch.moved=!0)}),Te(O.scroller,"touchend",function(Ut){var Kt=O.activeTouch;if(Kt&&!kr(O,Ut)&&Kt.left!=null&&!Kt.moved&&new Date-Kt.start<300){var $n=p.coordsChar(O.activeTouch,"page"),dr;!Kt.prev||Ze(Kt,Kt.prev)?dr=new X($n,$n):!Kt.prev.prev||Ze(Kt,Kt.prev.prev)?dr=p.findWordAt($n):dr=new X(Lt($n.line,0),nt(p.doc,Lt($n.line+1,0))),p.setSelection(dr.anchor,dr.head),p.focus(),vt(Ut)}Z()}),Te(O.scroller,"touchcancel",Z),Te(O.scroller,"scroll",function(){O.scroller.clientHeight&&(Ma(p,O.scroller.scrollTop),jo(p,O.scroller.scrollLeft,!0),Vt(p,"scroll",p))}),Te(O.scroller,"mousewheel",function(Ut){return Tr(p,Ut)}),Te(O.scroller,"DOMMouseScroll",function(Ut){return Tr(p,Ut)}),Te(O.wrapper,"scroll",function(){return O.wrapper.scrollTop=O.wrapper.scrollLeft=0}),O.dragFunctions={enter:function(Kt){Yt(p,Kt)||Pt(Kt)},over:function(Kt){Yt(p,Kt)||(au(p,Kt),Pt(Kt))},start:function(Kt){return _l(p,Kt)},drop:mo(p,sl),leave:function(Kt){Yt(p,Kt)||ou(p)}};var ft=O.input.getField();Te(ft,"keyup",function(Ut){return Lu.call(p,Ut)}),Te(ft,"keydown",mo(p,fu)),Te(ft,"keypress",mo(p,Tu)),Te(ft,"focus",function(Ut){return Ca(p,Ut)}),Te(ft,"blur",function(Ut){return Xa(p,Ut)})}var fe=[];nn.defineInitHook=function(p){return fe.push(p)};function V(p,O,W,Q){var Z=p.doc,ve;W==null&&(W="add"),W=="smart"&&(Z.mode.indent?ve=Or(p,O).state:W="prev");var Ze=p.options.tabSize,ft=Oe(Z,O),Ut=z(ft.text,null,Ze);ft.stateAfter&&(ft.stateAfter=null);var Kt=ft.text.match(/^\s*/)[0],$n;if(!Q&&!/\S/.test(ft.text))$n=0,W="not";else if(W=="smart"&&($n=Z.mode.indent(ve,ft.text.slice(Kt.length),ft.text),$n==J||$n>150)){if(!Q)return;W="prev"}W=="prev"?O>Z.first?$n=z(Oe(Z,O-1).text,null,Ze):$n=0:W=="add"?$n=Ut+p.options.indentUnit:W=="subtract"?$n=Ut-p.options.indentUnit:typeof W=="number"&&($n=Ut+W),$n=Math.max(0,$n);var dr="",Dr=0;if(p.options.indentWithTabs)for(var Pr=Math.floor($n/Ze);Pr;--Pr)Dr+=Ze,dr+=" ";if(Dr<$n&&(dr+=ke($n-Dr)),dr!=Kt)return Hs(Z,dr,Lt(O,0),Lt(O,Kt.length),"+input"),ft.stateAfter=null,!0;for(var gi=0;gi<Z.sel.ranges.length;gi++){var zi=Z.sel.ranges[gi];if(zi.head.line==O&&zi.head.ch<Kt.length){var Xi=Lt(O,Kt.length);hs(Z,gi,new X(Xi,Xi));break}}}var ae=null;function Ie(p){ae=p}function Ke(p,O,W,Q,Z){var ve=p.doc;p.display.shift=!1,Q||(Q=ve.sel);var Ze=+new Date-200,ft=Z=="paste"||p.state.pasteIncoming>Ze,Ut=hr(O),Kt=null;if(ft&&Q.ranges.length>1)if(ae&&ae.text.join(`
|
|
|
`)==O){if(Q.ranges.length%ae.text.length==0){Kt=[];for(var $n=0;$n<ae.text.length;$n++)Kt.push(ve.splitLines(ae.text[$n]))}}else Ut.length==Q.ranges.length&&p.options.pasteLinesPerSelection&&(Kt=Ee(Ut,function(Yi){return[Yi]}));for(var dr=p.curOp.updateInput,Dr=Q.ranges.length-1;Dr>=0;Dr--){var Pr=Q.ranges[Dr],gi=Pr.from(),zi=Pr.to();Pr.empty()&&(W&&W>0?gi=Lt(gi.line,gi.ch-W):p.state.overwrite&&!ft?zi=Lt(zi.line,Math.min(Oe(ve,zi.line).text.length,zi.ch+ce(Ut).length)):ft&&ae&&ae.lineWise&&ae.text.join(`
|
|
|
`)==Ut.join(`
|
|
|
`)&&(gi=zi=Lt(gi.line,0)));var Xi={from:gi,to:zi,text:Kt?Kt[Dr%Kt.length]:Ut,origin:Z||(ft?"paste":p.state.cutIncoming>Ze?"cut":"+input")};js(p.doc,Xi),Bt(p,"inputRead",p,Xi)}O&&!ft&&pt(p,O),eo(p),p.curOp.updateInput<2&&(p.curOp.updateInput=dr),p.curOp.typing=!0,p.state.pasteIncoming=p.state.cutIncoming=-1}function dt(p,O){var W=p.clipboardData&&p.clipboardData.getData("Text");if(W)return p.preventDefault(),!O.isReadOnly()&&!O.options.disableInput&&Ho(O,function(){return Ke(O,W,0,null,"paste")}),!0}function pt(p,O){if(!p.options.electricChars||!p.options.smartIndent)return;for(var W=p.doc.sel,Q=W.ranges.length-1;Q>=0;Q--){var Z=W.ranges[Q];if(Z.head.ch>100||Q&&W.ranges[Q-1].head.line==Z.head.line)continue;var ve=p.getModeAt(Z.head),Ze=!1;if(ve.electricChars){for(var ft=0;ft<ve.electricChars.length;ft++)if(O.indexOf(ve.electricChars.charAt(ft))>-1){Ze=V(p,Z.head.line,"smart");break}}else ve.electricInput&&(ve.electricInput.test(Oe(p.doc,Z.head.line).text.slice(0,Z.head.ch))&&(Ze=V(p,Z.head.line,"smart")));Ze&&Bt(p,"electricInput",p,Z.head.line)}}function yt(p){for(var O=[],W=[],Q=0;Q<p.doc.sel.ranges.length;Q++){var Z=p.doc.sel.ranges[Q].head.line,ve={anchor:Lt(Z,0),head:Lt(Z+1,0)};W.push(ve),O.push(p.getRange(ve.anchor,ve.head))}return{text:O,ranges:W}}function cn(p,O,W,Q){p.setAttribute("autocorrect",W?"":"off"),p.setAttribute("autocapitalize",Q?"":"off"),p.setAttribute("spellcheck",!!O)}function On(){var p=D("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),O=D("div",[p],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return r?p.style.width="1000px":p.setAttribute("wrap","off"),u&&(p.style.border="1px solid black"),cn(p),O}function ln(p){var O=p.optionHandlers,W=p.helpers={};p.prototype={constructor:p,focus:function(){window.focus(),this.display.input.focus()},setOption:function(Z,ve){var Ze=this.options,ft=Ze[Z];if(Ze[Z]==ve&&Z!="mode")return;Ze[Z]=ve,O.hasOwnProperty(Z)&&mo(this,O[Z])(this,ve,ft),Vt(this,"optionChange",this,Z)},getOption:function(Z){return this.options[Z]},getDoc:function(){return this.doc},addKeyMap:function(Z,ve){this.state.keyMaps[ve?"push":"unshift"](Ss(Z))},removeKeyMap:function(Z){for(var ve=this.state.keyMaps,Ze=0;Ze<ve.length;++Ze)if(ve[Ze]==Z||ve[Ze].name==Z)return ve.splice(Ze,1),!0},addOverlay:es(function(Q,Z){var ve=Q.token?Q:p.getMode(this.options,Q);if(ve.startState)throw new Error("Overlays may not be stateful.");pe(this.state.overlays,{mode:ve,modeSpec:Q,opaque:Z&&Z.opaque,priority:Z&&Z.priority||0},function(Ze){return Ze.priority}),this.state.modeGen++,ga(this)}),removeOverlay:es(function(Q){for(var Z=this.state.overlays,ve=0;ve<Z.length;++ve){var Ze=Z[ve].modeSpec;if(Ze==Q||typeof Q=="string"&&Ze.name==Q){Z.splice(ve,1),this.state.modeGen++,ga(this);return}}}),indentLine:es(function(Q,Z,ve){typeof Z!="string"&&typeof Z!="number"&&(Z==null?Z=this.options.smartIndent?"smart":"prev":Z=Z?"add":"subtract"),Mn(this.doc,Q)&&V(this,Q,Z,ve)}),indentSelection:es(function(Q){for(var Z=this.doc.sel.ranges,ve=-1,Ze=0;Ze<Z.length;Ze++){var ft=Z[Ze];if(ft.empty())ft.head.line>ve&&(V(this,ft.head.line,Q,!0),ve=ft.head.line,Ze==this.doc.sel.primIndex&&eo(this));else{var Ut=ft.from(),Kt=ft.to(),$n=Math.max(ve,Ut.line);ve=Math.min(this.lastLine(),Kt.line-(Kt.ch?0:1))+1;for(var dr=$n;dr<ve;++dr)V(this,dr,Q);var Dr=this.doc.sel.ranges;Ut.ch==0&&Z.length==Dr.length&&Dr[Ze].from().ch>0&&hs(this.doc,Ze,new X(Ut,Dr[Ze].to()),ue)}}}),getTokenAt:function(Z,ve){return Pi(this,Z,ve)},getLineTokens:function(Z,ve){return Pi(this,Lt(Z),ve,!0)},getTokenTypeAt:function(Z){Z=nt(this.doc,Z);var ve=Gn(this,Oe(this.doc,Z.line)),Ze=0,ft=(ve.length-1)/2,Ut=Z.ch,Kt;if(Ut==0)Kt=ve[2];else for(;;){var $n=Ze+ft>>1;if(($n?ve[$n*2-1]:0)>=Ut)ft=$n;else if(ve[$n*2+1]<Ut)Ze=$n+1;else{Kt=ve[$n*2+2];break}}var dr=Kt?Kt.indexOf("overlay "):-1;return dr<0?Kt:dr==0?null:Kt.slice(0,dr-1)},getModeAt:function(Z){var ve=this.doc.mode;return ve.innerMode?p.innerMode(ve,this.getTokenAt(Z).state).mode:ve},getHelper:function(Z,ve){return this.getHelpers(Z,ve)[0]},getHelpers:function(Z,ve){var Ze=[];if(!W.hasOwnProperty(ve))return Ze;var ft=W[ve],Ut=this.getModeAt(Z);if(typeof Ut[ve]=="string")ft[Ut[ve]]&&Ze.push(ft[Ut[ve]]);else if(Ut[ve])for(var Kt=0;Kt<Ut[ve].length;Kt++){var $n=ft[Ut[ve][Kt]];$n&&Ze.push($n)}else Ut.helperType&&ft[Ut.helperType]?Ze.push(ft[Ut.helperType]):ft[Ut.name]&&Ze.push(ft[Ut.name]);for(var dr=0;dr<ft._global.length;dr++){var Dr=ft._global[dr];Dr.pred(Ut,this)&&_(Ze,Dr.val)==-1&&Ze.push(Dr.val)}return Ze},getStateAfter:function(Z,ve){var Ze=this.doc;return Z=Ct(Ze,Z==null?Ze.first+Ze.size-1:Z),Or(this,Z+1,ve).state},cursorCoords:function(Z,ve){var Ze,ft=this.doc.sel.primary();return Z==null?Ze=ft.head:typeof Z=="object"?Ze=nt(this.doc,Z):Ze=Z?ft.from():ft.to(),yr(this,Ze,ve||"page")},charCoords:function(Z,ve){return or(this,nt(this.doc,Z),ve||"page")},coordsChar:function(Z,ve){return Z=pr(this,Z,ve||"page"),Jr(this,Z.left,Z.top)},lineAtHeight:function(Z,ve){return Z=pr(this,{top:Z,left:0},ve||"page").top,Nn(this.doc,Z+this.display.viewOffset)},heightAtLine:function(Z,ve,Ze){var ft=!1,Ut;if(typeof Z=="number"){var Kt=this.doc.first+this.doc.size-1;Z<this.doc.first?Z=this.doc.first:Z>Kt&&(Z=Kt,ft=!0),Ut=Oe(this.doc,Z)}else Ut=Z;return kn(this,Ut,{top:0,left:0},ve||"page",Ze||ft).top+(ft?this.doc.height-Xr(Ut):0)},defaultTextHeight:function(){return Di(this.display)},defaultCharWidth:function(){return na(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(Z,ve,Ze,ft,Ut){var Kt=this.display;Z=yr(this,nt(this.doc,Z));var $n=Z.bottom,dr=Z.left;if(ve.style.position="absolute",ve.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(ve),Kt.sizer.appendChild(ve),ft=="over")$n=Z.top;else if(ft=="above"||ft=="near"){var Dr=Math.max(Kt.wrapper.clientHeight,this.doc.height),Pr=Math.max(Kt.sizer.clientWidth,Kt.lineSpace.clientWidth);(ft=="above"||Z.bottom+ve.offsetHeight>Dr)&&Z.top>ve.offsetHeight?$n=Z.top-ve.offsetHeight:Z.bottom+ve.offsetHeight<=Dr&&($n=Z.bottom),dr+ve.offsetWidth>Pr&&(dr=Pr-ve.offsetWidth)}ve.style.top=$n+"px",ve.style.left=ve.style.right="",Ut=="right"?(dr=Kt.sizer.clientWidth-ve.offsetWidth,ve.style.right="0px"):(Ut=="left"?dr=0:Ut=="middle"&&(dr=(Kt.sizer.clientWidth-ve.offsetWidth)/2),ve.style.left=dr+"px"),Ze&&uo(this,{left:dr,top:$n,right:dr+ve.offsetWidth,bottom:$n+ve.offsetHeight})},triggerOnKeyDown:es(fu),triggerOnKeyPress:es(Tu),triggerOnKeyUp:Lu,triggerOnMouseDown:es(kl),execCommand:function(Z){if(Wl.hasOwnProperty(Z))return Wl[Z].call(null,this)},triggerElectric:es(function(Q){pt(this,Q)}),findPosH:function(Z,ve,Ze,ft){var Ut=1;ve<0&&(Ut=-1,ve=-ve);for(var Kt=nt(this.doc,Z),$n=0;$n<ve&&!(Kt=en(this.doc,Kt,Ut,Ze,ft),Kt.hitSide);++$n);return Kt},moveH:es(function(Q,Z){var ve=this;this.extendSelectionsBy(function(Ze){return ve.display.shift||ve.doc.extend||Ze.empty()?en(ve.doc,Ze.head,Q,Z,ve.options.rtlMoveVisually):Q<0?Ze.from():Ze.to()},re)}),deleteH:es(function(Q,Z){var ve=this.doc.sel,Ze=this.doc;ve.somethingSelected()?Ze.replaceSelection("",null,"+delete"):cl(this,function(ft){var Ut=en(Ze,ft.head,Q,Z,!1);return Q<0?{from:Ut,to:ft.head}:{from:ft.head,to:Ut}})}),findPosV:function(Z,ve,Ze,ft){var Ut=1,Kt=ft;ve<0&&(Ut=-1,ve=-ve);for(var $n=nt(this.doc,Z),dr=0;dr<ve;++dr){var Dr=yr(this,$n,"div");if(Kt==null?Kt=Dr.left:Dr.left=Kt,$n=wn(this,Dr,Ut,Ze),$n.hitSide)break}return $n},moveV:es(function(Q,Z){var ve=this,Ze=this.doc,ft=[],Ut=!this.display.shift&&!Ze.extend&&Ze.sel.somethingSelected();if(Ze.extendSelectionsBy(function($n){if(Ut)return Q<0?$n.from():$n.to();var dr=yr(ve,$n.head,"div");$n.goalColumn!=null&&(dr.left=$n.goalColumn),ft.push(dr.left);var Dr=wn(ve,dr,Q,Z);return Z=="page"&&$n==Ze.sel.primary()&&Ga(ve,or(ve,Dr,"div").top-dr.top),Dr},re),ft.length)for(var Kt=0;Kt<Ze.sel.ranges.length;Kt++)Ze.sel.ranges[Kt].goalColumn=ft[Kt]}),findWordAt:function(Z){var ve=this.doc,Ze=Oe(ve,Z.line).text,ft=Z.ch,Ut=Z.ch;if(Ze){var Kt=this.getHelper(Z,"wordChars");(Z.sticky=="before"||Ut==Ze.length)&&ft?--ft:++Ut;for(var $n=Ze.charAt(ft),dr=Dt($n,Kt)?function(Dr){return Dt(Dr,Kt)}:/\s/.test($n)?function(Dr){return/\s/.test(Dr)}:function(Dr){return!/\s/.test(Dr)&&!Dt(Dr)};ft>0&&dr(Ze.charAt(ft-1));)--ft;for(;Ut<Ze.length&&dr(Ze.charAt(Ut));)++Ut}return new X(Lt(Z.line,ft),Lt(Z.line,Ut))},toggleOverwrite:function(Z){if(Z!=null&&Z==this.state.overwrite)return;(this.state.overwrite=!this.state.overwrite)?K(this.display.cursorDiv,"CodeMirror-overwrite"):S(this.display.cursorDiv,"CodeMirror-overwrite"),Vt(this,"overwriteToggle",this,this.state.overwrite)},hasFocus:function(){return this.display.input.getField()==M()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:es(function(Q,Z){wa(this,Q,Z)}),getScrollInfo:function(){var Z=this.display.scroller;return{left:Z.scrollLeft,top:Z.scrollTop,height:Z.scrollHeight-zr(this)-this.display.barHeight,width:Z.scrollWidth-zr(this)-this.display.barWidth,clientHeight:ri(this),clientWidth:Gr(this)}},scrollIntoView:es(function(Q,Z){Q==null?(Q={from:this.doc.sel.primary().head,to:null},Z==null&&(Z=this.options.cursorScrollMargin)):typeof Q=="number"?Q={from:Lt(Q,0),to:null}:Q.from==null&&(Q={from:Q,to:null}),Q.to||(Q.to=Q.from),Q.margin=Z||0,Q.from.line!=null?no(this,Q):_i(this,Q.from,Q.to,Q.margin)}),setSize:es(function(Q,Z){var ve=this,Ze=function(Kt){return typeof Kt=="number"||/^\d+$/.test(String(Kt))?Kt+"px":Kt};Q!=null&&(this.display.wrapper.style.width=Ze(Q)),Z!=null&&(this.display.wrapper.style.height=Ze(Z)),this.options.lineWrapping&&En(this);var ft=this.display.viewFrom;this.doc.iter(ft,this.display.viewTo,function(Ut){if(Ut.widgets){for(var Kt=0;Kt<Ut.widgets.length;Kt++)if(Ut.widgets[Kt].noHScroll){Ii(ve,ft,"widget");break}}++ft}),this.curOp.forceUpdate=!0,Vt(this,"refresh",this)}),operation:function(Z){return Ho(this,Z)},startOperation:function(){return za(this)},endOperation:function(){return Yo(this)},refresh:es(function(){var Q=this.display.cachedTextHeight;ga(this),this.curOp.forceUpdate=!0,Mt(this),wa(this,this.doc.scrollLeft,this.doc.scrollTop),ys(this.display),(Q==null||Math.abs(Q-Di(this.display))>.5||this.options.lineWrapping)&&Zi(this),Vt(this,"refresh",this)}),swapDoc:es(function(Q){var Z=this.doc;return Z.cm=null,this.state.selectingText&&this.state.selectingText(),Bi(this,Q),Mt(this),this.display.input.reset(),wa(this,Q.scrollLeft,Q.scrollTop),this.curOp.forceScroll=!0,Bt(this,"swapDoc",this,Z),Z}),phrase:function(Z){var ve=this.options.phrases;return ve&&Object.prototype.hasOwnProperty.call(ve,Z)?ve[Z]:Z},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}},on(p),p.registerHelper=function(Q,Z,ve){W.hasOwnProperty(Q)||(W[Q]=p[Q]={_global:[]}),W[Q][Z]=ve},p.registerGlobalHelper=function(Q,Z,ve,Ze){p.registerHelper(Q,Z,Ze),W[Q]._global.push({pred:ve,val:Ze})}}function en(p,O,W,Q,Z){var ve=O,Ze=W,ft=Oe(p,O.line),Ut=Z&&p.direction=="rtl"?-W:W;function Kt(){var Vi=O.line+Ut;return Vi<p.first||Vi>=p.first+p.size?!1:(O=new Lt(Vi,O.ch,O.sticky),ft=Oe(p,Vi))}function $n(Vi){var fa;if(Q=="codepoint"){var ba=ft.text.charCodeAt(O.ch+(Q>0?0:-1));isNaN(ba)?fa=null:fa=new Lt(O.line,Math.max(0,Math.min(ft.text.length,O.ch+W*(ba>=55296&&ba<56320?2:1))),-W)}else Z?fa=zl(p.cm,ft,O,W):fa=Iu(ft,O,W);if(fa==null)if(!Vi&&Kt())O=cu(Z,p.cm,ft,O.line,Ut);else return!1;else O=fa;return!0}if(Q=="char"||Q=="codepoint")$n();else if(Q=="column")$n(!0);else if(Q=="word"||Q=="group")for(var dr=null,Dr=Q=="group",Pr=p.cm&&p.cm.getHelper(O,"wordChars"),gi=!0;!(W<0&&!$n(!gi));gi=!1){var zi=ft.text.charAt(O.ch)||`
|
|
|
`,Xi=Dt(zi,Pr)?"w":Dr&&zi==`
|
|
|
`?"n":!Dr||/\s/.test(zi)?null:"p";if(Dr&&!gi&&!Xi&&(Xi="s"),dr&&dr!=Xi){W<0&&(W=1,$n(),O.sticky="after");break}if(Xi&&(dr=Xi),W>0&&!$n(!gi))break}var Yi=Bs(p,O,ve,Ze,!0);return Qe(ve,Yi)&&(Yi.hitSide=!0),Yi}function wn(p,O,W,Q){var Z=p.doc,ve=O.left,Ze;if(Q=="page"){var ft=Math.min(p.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Ut=Math.max(ft-.5*Di(p.display),3);Ze=(W>0?O.bottom:O.top)+W*Ut}else Q=="line"&&(Ze=W>0?O.bottom+3:O.top-3);for(var Kt;!(Kt=Jr(p,ve,Ze),!Kt.outside);){if(W<0?Ze<=0:Ze>=Z.height){Kt.hitSide=!0;break}Ze+=W*5}return Kt}var Bn=function(O){this.cm=O,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Y,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Bn.prototype.init=function(p){var O=this,W=this,Q=W.cm,Z=W.div=p.lineDiv;cn(Z,Q.options.spellcheck,Q.options.autocorrect,Q.options.autocapitalize);function ve(ft){for(var Ut=ft.target;Ut;Ut=Ut.parentNode){if(Ut==Z)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Ut.className))break}return!1}Te(Z,"paste",function(ft){if(!ve(ft)||Yt(Q,ft)||dt(ft,Q))return;d<=11&&setTimeout(mo(Q,function(){return O.updateFromDOM()}),20)}),Te(Z,"compositionstart",function(ft){O.composing={data:ft.data,done:!1}}),Te(Z,"compositionupdate",function(ft){O.composing||(O.composing={data:ft.data,done:!1})}),Te(Z,"compositionend",function(ft){O.composing&&(ft.data!=O.composing.data&&O.readFromDOMSoon(),O.composing.done=!0)}),Te(Z,"touchstart",function(){return W.forceCompositionEnd()}),Te(Z,"input",function(){O.composing||O.readFromDOMSoon()});function Ze(ft){if(!ve(ft)||Yt(Q,ft))return;if(Q.somethingSelected())Ie({lineWise:!1,text:Q.getSelections()}),ft.type=="cut"&&Q.replaceSelection("",null,"cut");else if(Q.options.lineWiseCopyCut){var Ut=yt(Q);Ie({lineWise:!0,text:Ut.text}),ft.type=="cut"&&Q.operation(function(){Q.setSelections(Ut.ranges,0,ue),Q.replaceSelection("",null,"cut")})}else return;if(ft.clipboardData){ft.clipboardData.clearData();var Kt=ae.text.join(`
|
|
|
`);if(ft.clipboardData.setData("Text",Kt),ft.clipboardData.getData("Text")==Kt){ft.preventDefault();return}}var $n=On(),dr=$n.firstChild;Q.display.lineSpace.insertBefore($n,Q.display.lineSpace.firstChild),dr.value=ae.text.join(`
|
|
|
`);var Dr=document.activeElement;H(dr),setTimeout(function(){Q.display.lineSpace.removeChild($n),Dr.focus(),Dr==Z&&W.showPrimarySelection()},50)}Te(Z,"copy",Ze),Te(Z,"cut",Ze)},Bn.prototype.screenReaderLabelChanged=function(p){p?this.div.setAttribute("aria-label",p):this.div.removeAttribute("aria-label")},Bn.prototype.prepareSelection=function(){var p=Ka(this.cm,!1);return p.focus=document.activeElement==this.div,p},Bn.prototype.showSelection=function(p,O){if(!p||!this.cm.display.view.length)return;(p.focus||O)&&this.showPrimarySelection(),this.showMultipleSelections(p)},Bn.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Bn.prototype.showPrimarySelection=function(){var p=this.getSelection(),O=this.cm,W=O.doc.sel.primary(),Q=W.from(),Z=W.to();if(O.display.viewTo==O.display.viewFrom||Q.line>=O.display.viewTo||Z.line<O.display.viewFrom){p.removeAllRanges();return}var ve=di(O,p.anchorNode,p.anchorOffset),Ze=di(O,p.focusNode,p.focusOffset);if(ve&&!ve.bad&&Ze&&!Ze.bad&&$e(ot(ve,Ze),Q)==0&&$e(Ht(ve,Ze),Z)==0)return;var ft=O.display.view,Ut=Q.line>=O.display.viewFrom&&ir(O,Q)||{node:ft[0].measure.map[2],offset:0},Kt=Z.line<O.display.viewTo&&ir(O,Z);if(!Kt){var $n=ft[ft.length-1].measure,dr=$n.maps?$n.maps[$n.maps.length-1]:$n.map;Kt={node:dr[dr.length-1],offset:dr[dr.length-2]-dr[dr.length-3]}}if(!Ut||!Kt){p.removeAllRanges();return}var Dr=p.rangeCount&&p.getRangeAt(0),Pr;try{Pr=R(Ut.node,Ut.offset,Kt.offset,Kt.node)}catch(gi){}Pr&&(!g&&O.state.focused?(p.collapse(Ut.node,Ut.offset),Pr.collapsed||(p.removeAllRanges(),p.addRange(Pr))):(p.removeAllRanges(),p.addRange(Pr)),Dr&&p.anchorNode==null?p.addRange(Dr):g&&this.startGracePeriod()),this.rememberSelection()},Bn.prototype.startGracePeriod=function(){var p=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){p.gracePeriod=!1,p.selectionChanged()&&p.cm.operation(function(){return p.cm.curOp.selectionChanged=!0})},20)},Bn.prototype.showMultipleSelections=function(p){T(this.cm.display.cursorDiv,p.cursors),T(this.cm.display.selectionDiv,p.selection)},Bn.prototype.rememberSelection=function(){var p=this.getSelection();this.lastAnchorNode=p.anchorNode,this.lastAnchorOffset=p.anchorOffset,this.lastFocusNode=p.focusNode,this.lastFocusOffset=p.focusOffset},Bn.prototype.selectionInEditor=function(){var p=this.getSelection();if(!p.rangeCount)return!1;var O=p.getRangeAt(0).commonAncestorContainer;return F(this.div,O)},Bn.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Bn.prototype.blur=function(){this.div.blur()},Bn.prototype.getField=function(){return this.div},Bn.prototype.supportsTouch=function(){return!0},Bn.prototype.receivedFocus=function(){var p=this;this.selectionInEditor()?this.pollSelection():Ho(this.cm,function(){return p.cm.curOp.selectionChanged=!0});function O(){p.cm.state.focused&&(p.pollSelection(),p.polling.set(p.cm.options.pollInterval,O))}this.polling.set(this.cm.options.pollInterval,O)},Bn.prototype.selectionChanged=function(){var p=this.getSelection();return p.anchorNode!=this.lastAnchorNode||p.anchorOffset!=this.lastAnchorOffset||p.focusNode!=this.lastFocusNode||p.focusOffset!=this.lastFocusOffset},Bn.prototype.pollSelection=function(){if(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())return;var p=this.getSelection(),O=this.cm;if(o&&s&&this.cm.display.gutterSpecs.length&&jr(p.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(this.composing)return;this.rememberSelection();var W=di(O,p.anchorNode,p.anchorOffset),Q=di(O,p.focusNode,p.focusOffset);W&&Q&&Ho(O,function(){No(O.doc,ie(W,Q),ue),(W.bad||Q.bad)&&(O.curOp.selectionChanged=!0)})},Bn.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var p=this.cm,O=p.display,W=p.doc.sel.primary(),Q=W.from(),Z=W.to();if(Q.ch==0&&Q.line>p.firstLine()&&(Q=Lt(Q.line-1,Oe(p.doc,Q.line-1).length)),Z.ch==Oe(p.doc,Z.line).text.length&&Z.line<p.lastLine()&&(Z=Lt(Z.line+1,0)),Q.line<O.viewFrom||Z.line>O.viewTo-1)return!1;var ve,Ze,ft;Q.line==O.viewFrom||(ve=Na(p,Q.line))==0?(Ze=_t(O.view[0].line),ft=O.view[0].node):(Ze=_t(O.view[ve].line),ft=O.view[ve-1].node.nextSibling);var Ut=Na(p,Z.line),Kt,$n;if(Ut==O.view.length-1?(Kt=O.viewTo-1,$n=O.lineDiv.lastChild):(Kt=_t(O.view[Ut+1].line)-1,$n=O.view[Ut+1].node.previousSibling),!ft)return!1;for(var dr=p.doc.splitLines(Ei(p,ft,$n,Ze,Kt)),Dr=ze(p.doc,Lt(Ze,0),Lt(Kt,Oe(p.doc,Kt).text.length));dr.length>1&&Dr.length>1;)if(ce(dr)==ce(Dr))dr.pop(),Dr.pop(),Kt--;else if(dr[0]==Dr[0])dr.shift(),Dr.shift(),Ze++;else break;for(var Pr=0,gi=0,zi=dr[0],Xi=Dr[0],Yi=Math.min(zi.length,Xi.length);Pr<Yi&&zi.charCodeAt(Pr)==Xi.charCodeAt(Pr);)++Pr;for(var Vi=ce(dr),fa=ce(Dr),ba=Math.min(Vi.length-(dr.length==1?Pr:0),fa.length-(Dr.length==1?Pr:0));gi<ba&&Vi.charCodeAt(Vi.length-gi-1)==fa.charCodeAt(fa.length-gi-1);)++gi;if(dr.length==1&&Dr.length==1&&Ze==Q.line)for(;Pr&&Pr>Q.ch&&Vi.charCodeAt(Vi.length-gi-1)==fa.charCodeAt(fa.length-gi-1);)Pr--,gi++;dr[dr.length-1]=Vi.slice(0,Vi.length-gi).replace(/^\u200b+/,""),dr[0]=dr[0].slice(Pr).replace(/\u200b+$/,"");var qa=Lt(Ze,Pr),_a=Lt(Kt,Dr.length?ce(Dr).length-gi:0);if(dr.length>1||dr[0]||$e(qa,_a))return Hs(p.doc,dr,qa,_a,"+input"),!0},Bn.prototype.ensurePolled=function(){this.forceCompositionEnd()},Bn.prototype.reset=function(){this.forceCompositionEnd()},Bn.prototype.forceCompositionEnd=function(){if(!this.composing)return;clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus()},Bn.prototype.readFromDOMSoon=function(){var p=this;if(this.readDOMTimeout!=null)return;this.readDOMTimeout=setTimeout(function(){if(p.readDOMTimeout=null,p.composing)if(p.composing.done)p.composing=null;else return;p.updateFromDOM()},80)},Bn.prototype.updateFromDOM=function(){var p=this;(this.cm.isReadOnly()||!this.pollContent())&&Ho(this.cm,function(){return ga(p.cm)})},Bn.prototype.setUneditable=function(p){p.contentEditable="false"},Bn.prototype.onKeyPress=function(p){if(p.charCode==0||this.composing)return;p.preventDefault(),this.cm.isReadOnly()||mo(this.cm,Ke)(this.cm,String.fromCharCode(p.charCode==null?p.keyCode:p.charCode),0)},Bn.prototype.readOnlyChanged=function(p){this.div.contentEditable=String(p!="nocursor")},Bn.prototype.onContextMenu=function(){},Bn.prototype.resetPosition=function(){},Bn.prototype.needsContentAttribute=!0;function ir(p,O){var W=Si(p,O.line);if(!W||W.hidden)return null;var Q=Oe(p.doc,O.line),Z=li(W,Q,O.line),ve=jt(Q,p.doc.direction),Ze="left";if(ve){var ft=it(ve,O.ch);Ze=ft%2?"right":"left"}var Ut=Ri(Z.map,O.ch,Ze);return Ut.offset=Ut.collapse=="right"?Ut.end:Ut.start,Ut}function jr(p){for(var O=p;O;O=O.parentNode)if(/CodeMirror-gutter-wrapper/.test(O.className))return!0;return!1}function Vr(p,O){return O&&(p.bad=!0),p}function Ei(p,O,W,Q,Z){var ve="",Ze=!1,ft=p.doc.lineSeparator(),Ut=!1;function Kt(Pr){return function(gi){return gi.id==Pr}}function $n(){Ze&&(ve+=ft,Ut&&(ve+=ft),Ze=Ut=!1)}function dr(Pr){Pr&&($n(),ve+=Pr)}function Dr(Pr){if(Pr.nodeType==1){var gi=Pr.getAttribute("cm-text");if(gi){dr(gi);return}var zi=Pr.getAttribute("cm-marker"),Xi;if(zi){var Yi=p.findMarks(Lt(Q,0),Lt(Z+1,0),Kt(+zi));Yi.length&&(Xi=Yi[0].find(0))&&dr(ze(p.doc,Xi.from,Xi.to).join(ft));return}if(Pr.getAttribute("contenteditable")=="false")return;var Vi=/^(pre|div|p|li|table|br)$/i.test(Pr.nodeName);if(!/^br$/i.test(Pr.nodeName)&&Pr.textContent.length==0)return;Vi&&$n();for(var fa=0;fa<Pr.childNodes.length;fa++)Dr(Pr.childNodes[fa]);/^(pre|p)$/i.test(Pr.nodeName)&&(Ut=!0),Vi&&(Ze=!0)}else Pr.nodeType==3&&dr(Pr.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;!(Dr(O),O==W);)O=O.nextSibling,Ut=!1;return ve}function di(p,O,W){var Q;if(O==p.display.lineDiv){if(Q=p.display.lineDiv.childNodes[W],!Q)return Vr(p.clipPos(Lt(p.display.viewTo-1)),!0);O=null,W=0}else for(Q=O;;Q=Q.parentNode){if(!Q||Q==p.display.lineDiv)return null;if(Q.parentNode&&Q.parentNode==p.display.lineDiv)break}for(var Z=0;Z<p.display.view.length;Z++){var ve=p.display.view[Z];if(ve.node==Q)return ca(ve,O,W)}}function ca(p,O,W){var Q=p.text.firstChild,Z=!1;if(!O||!F(Q,O))return Vr(Lt(_t(p.line),0),!0);if(O==Q&&(Z=!0,O=Q.childNodes[W],W=0,!O)){var ve=p.rest?ce(p.rest):p.line;return Vr(Lt(_t(ve),ve.text.length),Z)}var Ze=O.nodeType==3?O:null,ft=O;for(!Ze&&O.childNodes.length==1&&O.firstChild.nodeType==3&&(Ze=O.firstChild,W&&(W=Ze.nodeValue.length));ft.parentNode!=Q;)ft=ft.parentNode;var Ut=p.measure,Kt=Ut.maps;function $n(Xi,Yi,Vi){for(var fa=-1;fa<(Kt?Kt.length:0);fa++)for(var ba=fa<0?Ut.map:Kt[fa],qa=0;qa<ba.length;qa+=3){var _a=ba[qa+2];if(_a==Xi||_a==Yi){var Eo=_t(fa<0?p.line:p.rest[fa]),Wo=ba[qa]+Vi;return(Vi<0||_a!=Xi)&&(Wo=ba[qa+(Vi?1:0)]),Lt(Eo,Wo)}}}var dr=$n(Ze,ft,W);if(dr)return Vr(dr,Z);for(var Dr=ft.nextSibling,Pr=Ze?Ze.nodeValue.length-W:0;Dr;Dr=Dr.nextSibling){if(dr=$n(Dr,Dr.firstChild,0),dr)return Vr(Lt(dr.line,dr.ch-Pr),Z);Pr+=Dr.textContent.length}for(var gi=ft.previousSibling,zi=W;gi;gi=gi.previousSibling){if(dr=$n(gi,gi.firstChild,-1),dr)return Vr(Lt(dr.line,dr.ch+zi),Z);zi+=gi.textContent.length}}var ji=function(O){this.cm=O,this.prevInput="",this.pollingFast=!1,this.polling=new Y,this.hasSelection=!1,this.composing=null};ji.prototype.init=function(p){var O=this,W=this,Q=this.cm;this.createField(p);var Z=this.textarea;p.wrapper.insertBefore(this.wrapper,p.wrapper.firstChild),u&&(Z.style.width="0px"),Te(Z,"input",function(){m&&d>=9&&O.hasSelection&&(O.hasSelection=null),W.poll()}),Te(Z,"paste",function(Ze){if(Yt(Q,Ze)||dt(Ze,Q))return;Q.state.pasteIncoming=+new Date,W.fastPoll()});function ve(Ze){if(Yt(Q,Ze))return;if(Q.somethingSelected())Ie({lineWise:!1,text:Q.getSelections()});else if(Q.options.lineWiseCopyCut){var ft=yt(Q);Ie({lineWise:!0,text:ft.text}),Ze.type=="cut"?Q.setSelections(ft.ranges,null,ue):(W.prevInput="",Z.value=ft.text.join(`
|
|
|
`),H(Z))}else return;Ze.type=="cut"&&(Q.state.cutIncoming=+new Date)}Te(Z,"cut",ve),Te(Z,"copy",ve),Te(p.scroller,"paste",function(Ze){if(kr(p,Ze)||Yt(Q,Ze))return;if(!Z.dispatchEvent){Q.state.pasteIncoming=+new Date,W.focus();return}var ft=new Event("paste");ft.clipboardData=Ze.clipboardData,Z.dispatchEvent(ft)}),Te(p.lineSpace,"selectstart",function(Ze){kr(p,Ze)||vt(Ze)}),Te(Z,"compositionstart",function(){var Ze=Q.getCursor("from");W.composing&&W.composing.range.clear(),W.composing={start:Ze,range:Q.markText(Ze,Q.getCursor("to"),{className:"CodeMirror-composing"})}}),Te(Z,"compositionend",function(){W.composing&&(W.poll(),W.composing.range.clear(),W.composing=null)})},ji.prototype.createField=function(p){this.wrapper=On(),this.textarea=this.wrapper.firstChild},ji.prototype.screenReaderLabelChanged=function(p){p?this.textarea.setAttribute("aria-label",p):this.textarea.removeAttribute("aria-label")},ji.prototype.prepareSelection=function(){var p=this.cm,O=p.display,W=p.doc,Q=Ka(p);if(p.options.moveInputWithCursor){var Z=yr(p,W.sel.primary().head,"div"),ve=O.wrapper.getBoundingClientRect(),Ze=O.lineDiv.getBoundingClientRect();Q.teTop=Math.max(0,Math.min(O.wrapper.clientHeight-10,Z.top+Ze.top-ve.top)),Q.teLeft=Math.max(0,Math.min(O.wrapper.clientWidth-10,Z.left+Ze.left-ve.left))}return Q},ji.prototype.showSelection=function(p){var O=this.cm,W=O.display;T(W.cursorDiv,p.cursors),T(W.selectionDiv,p.selection),p.teTop!=null&&(this.wrapper.style.top=p.teTop+"px",this.wrapper.style.left=p.teLeft+"px")},ji.prototype.reset=function(p){if(this.contextMenuPending||this.composing)return;var O=this.cm;if(O.somethingSelected()){this.prevInput="";var W=O.getSelection();this.textarea.value=W,O.state.focused&&H(this.textarea),m&&d>=9&&(this.hasSelection=W)}else p||(this.prevInput=this.textarea.value="",m&&d>=9&&(this.hasSelection=null))},ji.prototype.getField=function(){return this.textarea},ji.prototype.supportsTouch=function(){return!1},ji.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!c||M()!=this.textarea))try{this.textarea.focus()}catch(p){}},ji.prototype.blur=function(){this.textarea.blur()},ji.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},ji.prototype.receivedFocus=function(){this.slowPoll()},ji.prototype.slowPoll=function(){var p=this;if(this.pollingFast)return;this.polling.set(this.cm.options.pollInterval,function(){p.poll(),p.cm.state.focused&&p.slowPoll()})},ji.prototype.fastPoll=function(){var p=!1,O=this;O.pollingFast=!0;function W(){var Q=O.poll();!Q&&!p?(p=!0,O.polling.set(60,W)):(O.pollingFast=!1,O.slowPoll())}O.polling.set(20,W)},ji.prototype.poll=function(){var p=this,O=this.cm,W=this.textarea,Q=this.prevInput;if(this.contextMenuPending||!O.state.focused||gn(W)&&!Q&&!this.composing||O.isReadOnly()||O.options.disableInput||O.state.keySeq)return!1;var Z=W.value;if(Z==Q&&!O.somethingSelected())return!1;if(m&&d>=9&&this.hasSelection===Z||h&&/[\uf700-\uf7ff]/.test(Z))return O.display.input.reset(),!1;if(O.doc.sel==O.display.selForContextMenu){var ve=Z.charCodeAt(0);if(ve==8203&&!Q&&(Q="\u200B"),ve==8666)return this.reset(),this.cm.execCommand("undo")}for(var Ze=0,ft=Math.min(Q.length,Z.length);Ze<ft&&Q.charCodeAt(Ze)==Z.charCodeAt(Ze);)++Ze;return Ho(O,function(){Ke(O,Z.slice(Ze),Q.length-Ze,null,p.composing?"*compose":null),Z.length>1e3||Z.indexOf(`
|
|
|
`)>-1?W.value=p.prevInput="":p.prevInput=Z,p.composing&&(p.composing.range.clear(),p.composing.range=O.markText(p.composing.start,O.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ji.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},ji.prototype.onKeyPress=function(){m&&d>=9&&(this.hasSelection=null),this.fastPoll()},ji.prototype.onContextMenu=function(p){var O=this,W=O.cm,Q=W.display,Z=O.textarea;O.contextMenuPending&&O.contextMenuPending();var ve=Qi(W,p),Ze=Q.scroller.scrollTop;if(!ve||i)return;var ft=W.options.resetSelectionOnContextMenu;ft&&W.doc.sel.contains(ve)==-1&&mo(W,No)(W.doc,ie(ve),ue);var Ut=Z.style.cssText,Kt=O.wrapper.style.cssText,$n=O.wrapper.offsetParent.getBoundingClientRect();O.wrapper.style.cssText="position: static",Z.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
|
top: `+(p.clientY-$n.top-5)+"px; left: "+(p.clientX-$n.left-5)+`px;
|
|
|
z-index: 1000; background: `+(m?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
|
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var dr;r&&(dr=window.scrollY),Q.input.focus(),r&&window.scrollTo(null,dr),Q.input.reset(),W.somethingSelected()||(Z.value=O.prevInput=" "),O.contextMenuPending=Pr,Q.selForContextMenu=W.doc.sel,clearTimeout(Q.detectingSelectAll);function Dr(){if(Z.selectionStart!=null){var zi=W.somethingSelected(),Xi="\u200B"+(zi?Z.value:"");Z.value="\u21DA",Z.value=Xi,O.prevInput=zi?"":"\u200B",Z.selectionStart=1,Z.selectionEnd=Xi.length,Q.selForContextMenu=W.doc.sel}}function Pr(){if(O.contextMenuPending!=Pr)return;if(O.contextMenuPending=!1,O.wrapper.style.cssText=Kt,Z.style.cssText=Ut,m&&d<9&&Q.scrollbars.setScrollTop(Q.scroller.scrollTop=Ze),Z.selectionStart!=null){(!m||m&&d<9)&&Dr();var zi=0,Xi=function Yi(){Q.selForContextMenu==W.doc.sel&&Z.selectionStart==0&&Z.selectionEnd>0&&O.prevInput=="\u200B"?mo(W,$s)(W):zi++<10?Q.detectingSelectAll=setTimeout(Yi,500):(Q.selForContextMenu=null,Q.input.reset())};Q.detectingSelectAll=setTimeout(Xi,200)}}if(m&&d>=9&&Dr(),C){Pt(p);var gi=function zi(){tn(window,"mouseup",zi),setTimeout(Pr,20)};Te(window,"mouseup",gi)}else setTimeout(Pr,50)},ji.prototype.readOnlyChanged=function(p){p||this.reset(),this.textarea.disabled=p=="nocursor",this.textarea.readOnly=!!p},ji.prototype.setUneditable=function(){},ji.prototype.needsContentAttribute=!1;function Ia(p,O){if(O=O?P(O):{},O.value=p.value,!O.tabindex&&p.tabIndex&&(O.tabindex=p.tabIndex),!O.placeholder&&p.placeholder&&(O.placeholder=p.placeholder),O.autofocus==null){var W=M();O.autofocus=W==p||p.getAttribute("autofocus")!=null&&W==document.body}function Q(){p.value=ft.getValue()}var Z;if(p.form&&(Te(p.form,"submit",Q),!O.leaveSubmitMethodAlone)){var ve=p.form;Z=ve.submit;try{var Ze=ve.submit=function(){Q(),ve.submit=Z,ve.submit(),ve.submit=Ze}}catch(Ut){}}O.finishInit=function(Ut){Ut.save=Q,Ut.getTextArea=function(){return p},Ut.toTextArea=function(){Ut.toTextArea=isNaN,Q(),p.parentNode.removeChild(Ut.getWrapperElement()),p.style.display="",p.form&&(tn(p.form,"submit",Q),!O.leaveSubmitMethodAlone&&typeof p.form.submit=="function"&&(p.form.submit=Z))}},p.style.display="none";var ft=nn(function(Ut){return p.parentNode.insertBefore(Ut,p.nextSibling)},O);return ft}function ha(p){p.off=tn,p.on=Te,p.wheelEventPixels=tr,p.Doc=Ks,p.splitLines=hr,p.countColumn=z,p.findColumn=me,p.isWordChar=tt,p.Pass=J,p.signal=Vt,p.Line=Mi,p.changeEnd=we,p.scrollbarModel=ds,p.Pos=Lt,p.cmpPos=$e,p.modes=Pe,p.mimeModes=Jt,p.resolveMode=dn,p.getMode=vr,p.modeExtensions=qn,p.extendMode=Ur,p.copyState=Ue,p.startState=se,p.innerMode=He,p.commands=Wl,p.keyMap=xl,p.keyName=Zl,p.isModifierKey=Jl,p.lookupKey=vl,p.normalizeKeyMap=ju,p.StringStream=Ae,p.SharedTextMarker=Ll,p.TextMarker=qs,p.LineWidget=Ws,p.e_preventDefault=vt,p.e_stopPropagation=de,p.e_stop=Pt,p.addClass=K,p.contains=F,p.rmClass=S,p.keyNames=gl}Ce(nn),ln(nn);var Za="iter insert remove copy getEditor constructor".split(" ");for(var po in Ks.prototype)Ks.prototype.hasOwnProperty(po)&&_(Za,po)<0&&(nn.prototype[po]=function(p){return function(){return p.apply(this.doc,arguments)}}(Ks.prototype[po]));return on(Ks),nn.inputStyles={textarea:ji,contenteditable:Bn},nn.defineMode=function(p){!nn.defaults.mode&&p!="null"&&(nn.defaults.mode=p),bn.apply(this,arguments)},nn.defineMIME=An,nn.defineMode("null",function(){return{token:function(O){return O.skipToEnd()}}}),nn.defineMIME("text/plain","null"),nn.defineExtension=function(p,O){nn.prototype[p]=O},nn.defineDocExtension=function(p,O){Ks.prototype[p]=O},nn.fromTextArea=Ia,ha(nn),nn.version="5.58.2",nn})},Vy0f:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=L(e("iYpf"));function L(v){return v&&v.__esModule?v:{default:v}}var g=y;U.default=g,te.exports=g},W2nI:function(te,U,e){var y=e("IwbS"),L=e("ProS"),g=e("bYtY"),v=["itemStyle","opacity"],A=["emphasis","itemStyle","opacity"],b=["lineStyle","opacity"],m=["emphasis","lineStyle","opacity"];function d(l,t){return l.getVisual("opacity")||l.getModel().get(t)}function r(l,t,u){var o=l.getGraphicEl(),c=d(l,t);u!=null&&(c==null&&(c=1),c*=u),o.downplay&&o.downplay(),o.traverse(function(h){h.type!=="group"&&h.setStyle("opacity",c)})}function a(l,t){var u=d(l,t),o=l.getGraphicEl();o.traverse(function(c){c.type!=="group"&&c.setStyle("opacity",u)}),o.highlight&&o.highlight()}var s=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,t){var u=t.extent;l.moveTo(t.x1,t.y1),l.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),t.orient==="vertical"?(l.lineTo(t.x2+u,t.y2),l.bezierCurveTo(t.cpx2+u,t.cpy2,t.cpx1+u,t.cpy1,t.x1+u,t.y1)):(l.lineTo(t.x2,t.y2+u),l.bezierCurveTo(t.cpx2,t.cpy2+u,t.cpx1,t.cpy1+u,t.x1,t.y1+u)),l.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),i=L.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(l,t,u){var o=this,c=l.getGraph(),h=this.group,f=l.layoutInfo,w=f.width,x=f.height,I=l.getData(),C=l.getData("edge"),N=l.get("orient");this._model=l,h.removeAll(),h.attr("position",[f.x,f.y]),c.eachEdge(function(S){var E=new s;E.dataIndex=S.dataIndex,E.seriesIndex=l.seriesIndex,E.dataType="edge";var T=S.getModel("lineStyle"),D=T.get("curveness"),B=S.node1.getLayout(),R=S.node1.getModel(),F=R.get("localX"),M=R.get("localY"),K=S.node2.getLayout(),j=S.node2.getModel(),H=j.get("localX"),k=j.get("localY"),P=S.getLayout(),z,Y,_,G,J,ue,q,re;E.shape.extent=Math.max(1,P.dy),E.shape.orient=N,N==="vertical"?(z=(F!=null?F*w:B.x)+P.sy,Y=(M!=null?M*x:B.y)+B.dy,_=(H!=null?H*w:K.x)+P.ty,G=k!=null?k*x:K.y,J=z,ue=Y*(1-D)+G*D,q=_,re=Y*D+G*(1-D)):(z=(F!=null?F*w:B.x)+B.dx,Y=(M!=null?M*x:B.y)+P.sy,_=H!=null?H*w:K.x,G=(k!=null?k*x:K.y)+P.ty,J=z*(1-D)+_*D,ue=Y,q=z*D+_*(1-D),re=G),E.setShape({x1:z,y1:Y,x2:_,y2:G,cpx1:J,cpy1:ue,cpx2:q,cpy2:re}),E.setStyle(T.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()),h.add(E),C.setItemGraphicEl(S.dataIndex,E)}),c.eachNode(function(S){var E=S.getLayout(),T=S.getModel(),D=T.get("localX"),B=T.get("localY"),R=T.getModel("label"),F=T.getModel("emphasis.label"),M=new y.Rect({shape:{x:D!=null?D*w:E.x,y:B!=null?B*x:E.y,width:E.dx,height:E.dy},style:T.getModel("itemStyle").getItemStyle()}),K=S.getModel("emphasis.itemStyle").getItemStyle();y.setLabelStyle(M.style,K,R,F,{labelFetcher:l,labelDataIndex:S.dataIndex,defaultText:S.id,isRectText:!0}),M.setStyle("fill",S.getVisual("color")),y.setHoverStyle(M,K),h.add(M),I.setItemGraphicEl(S.dataIndex,M),M.dataType="node"}),I.eachItemGraphicEl(function(S,E){var T=I.getItemModel(E);T.get("draggable")&&(S.drift=function(D,B){o._focusAdjacencyDisabled=!0,this.shape.x+=D,this.shape.y+=B,this.dirty(),u.dispatchAction({type:"dragNode",seriesId:l.id,dataIndex:I.getRawIndex(E),localX:this.shape.x/w,localY:this.shape.y/x})},S.ondragend=function(){o._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),T.get("focusNodeAdjacency")&&(S.on("mouseover",S.focusNodeAdjHandler=function(){o._focusAdjacencyDisabled||(o._clearTimer(),u.dispatchAction({type:"focusNodeAdjacency",seriesId:l.id,dataIndex:S.dataIndex}))}),S.on("mouseout",S.unfocusNodeAdjHandler=function(){o._focusAdjacencyDisabled||o._dispatchUnfocus(u)}))}),C.eachItemGraphicEl(function(S,E){var T=C.getItemModel(E);S.focusNodeAdjHandler&&S.off("mouseover",S.focusNodeAdjHandler),S.unfocusNodeAdjHandler&&S.off("mouseout",S.unfocusNodeAdjHandler),T.get("focusNodeAdjacency")&&(S.on("mouseover",S.focusNodeAdjHandler=function(){o._focusAdjacencyDisabled||(o._clearTimer(),u.dispatchAction({type:"focusNodeAdjacency",seriesId:l.id,edgeDataIndex:S.dataIndex}))}),S.on("mouseout",S.unfocusNodeAdjHandler=function(){o._focusAdjacencyDisabled||o._dispatchUnfocus(u)}))}),!this._data&&l.get("animation")&&h.setClipPath(n(h.getBoundingRect(),l,function(){h.removeClipPath()})),this._data=l.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(l){var t=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){t._unfocusDelayTimer=null,l.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(l,t,u,o){var c=l.getData(),h=c.graph,f=o.dataIndex,w=c.getItemModel(f),x=o.edgeDataIndex;if(f==null&&x==null)return;var I=h.getNodeByIndex(f),C=h.getEdgeByIndex(x);if(h.eachNode(function(S){r(S,v,.1)}),h.eachEdge(function(S){r(S,b,.1)}),I){a(I,A);var N=w.get("focusNodeAdjacency");N==="outEdges"?g.each(I.outEdges,function(S){if(S.dataIndex<0)return;a(S,m),a(S.node2,A)}):N==="inEdges"?g.each(I.inEdges,function(S){if(S.dataIndex<0)return;a(S,m),a(S.node1,A)}):N==="allEdges"&&g.each(I.edges,function(S){if(S.dataIndex<0)return;a(S,m),S.node1!==I&&a(S.node1,A),S.node2!==I&&a(S.node2,A)})}C&&(a(C,m),a(C.node1,A),a(C.node2,A))},unfocusNodeAdjacency:function(l,t,u,o){var c=l.getGraph();c.eachNode(function(h){r(h,v)}),c.eachEdge(function(h){r(h,b)})}});function n(l,t,u){var o=new y.Rect({shape:{x:l.x-10,y:l.y-10,width:0,height:l.height+20}});return y.initProps(o,{shape:{width:l.width+20}},t,u),o}te.exports=i},W4dC:function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("bYtY"),v=g.each,A=g.createHashMap,b=e("7DRL"),m=e("TIY9"),d=e("yS9w"),r=e("mFDi"),a={geoJSON:m,svg:d},s={load:function(t,u,o){var c=[],h=A(),f=A(),w,x=l(t);return v(x,function(I){var C=a[I.type].load(t,I,o);v(C.regions,function(S){var E=S.name;u&&u.hasOwnProperty(E)&&(S=S.cloneShallow(E=u[E])),c.push(S),h.set(E,S),f.set(E,S.center)});var N=C.boundingRect;N&&(w?w.union(N):w=N.clone())}),{regions:c,regionsMap:h,nameCoordMap:f,boundingRect:w||new r(0,0,0,0)}},makeGraphic:i("makeGraphic"),removeGraphic:i("removeGraphic")};function i(t){return function(u,o){var c=l(u),h=[];return v(c,function(f){var w=a[f.type][t];w&&h.push(w(u,f,o))}),h}}function n(t){}function l(t){var u=b.retrieveMap(t)||[];return u}te.exports=s},WGYa:function(te,U,e){var y=e("7yuC"),L=y.forceLayout,g=e("HF/U"),v=g.simpleLayout,A=e("lOQZ"),b=A.circularLayout,m=e("OELB"),d=m.linearMap,r=e("QBsz"),a=e("bYtY");function s(i){i.eachSeriesByType("graph",function(n){var l=n.coordinateSystem;if(l&&l.type!=="view")return;if(n.get("layout")==="force"){var t=n.preservedPoints||{},u=n.getGraph(),o=u.data,c=u.edgeData,h=n.getModel("force"),f=h.get("initLayout");n.preservedPoints?o.each(function(R){var F=o.getId(R);o.setItemLayout(R,t[F]||[NaN,NaN])}):!f||f==="none"?v(n):f==="circular"&&b(n,"value");var w=o.getDataExtent("value"),x=c.getDataExtent("value"),I=h.get("repulsion"),C=h.get("edgeLength");a.isArray(I)||(I=[I,I]),a.isArray(C)||(C=[C,C]),C=[C[1],C[0]];var N=o.mapArray("value",function(R,F){var M=o.getItemLayout(F),K=d(R,w,I);return isNaN(K)&&(K=(I[0]+I[1])/2),{w:K,rep:K,fixed:o.getItemModel(F).get("fixed"),p:!M||isNaN(M[0])||isNaN(M[1])?null:M}}),S=c.mapArray("value",function(R,F){var M=u.getEdgeByIndex(F),K=d(R,x,C);isNaN(K)&&(K=(C[0]+C[1])/2);var j=M.getModel();return{n1:N[M.node1.dataIndex],n2:N[M.node2.dataIndex],d:K,curveness:j.get("lineStyle.curveness")||0,ignoreForceLayout:j.get("ignoreForceLayout")}}),l=n.coordinateSystem,E=l.getBoundingRect(),T=L(N,S,{rect:E,gravity:h.get("gravity"),friction:h.get("friction")}),D=T.step;T.step=function(R){for(var F=0,M=N.length;F<M;F++)N[F].fixed&&r.copy(N[F].p,u.getNodeByIndex(F).getLayout());D(function(K,j,H){for(var k=0,P=K.length;k<P;k++)K[k].fixed||u.getNodeByIndex(k).setLayout(K[k].p),t[o.getId(k)]=K[k].p;for(var k=0,P=j.length;k<P;k++){var z=j[k],Y=u.getEdgeByIndex(k),_=z.n1.p,G=z.n2.p,J=Y.getLayout();J=J?J.slice():[],J[0]=J[0]||[],J[1]=J[1]||[],r.copy(J[0],_),r.copy(J[1],G),+z.curveness&&(J[2]=[(_[0]+G[0])/2-(_[1]-G[1])*z.curveness,(_[1]+G[1])/2-(G[0]-_[0])*z.curveness]),Y.setLayout(J)}R&&R(H)})},n.forceLayout=T,n.preservedPoints=t,T.step()}else n.forceLayout=null})}te.exports=s},WKfj:function(te,U,e){"use strict";e.d(U,"d",function(){return L}),e.d(U,"e",function(){return g}),e.d(U,"f",function(){return v}),e.d(U,"c",function(){return A}),e.d(U,"b",function(){return m}),e.d(U,"a",function(){return r});var y=e("KQm4");function L(a){return Array.isArray(a)?a:a!==void 0?[a]:[]}function g(a,s){var i=s.labelInValue,n=s.combobox;if(a===void 0||a===""&&n)return[];var l=Array.isArray(a)?a:[a];return i?l.map(function(t){var u=t.key,o=t.value;return o!==void 0?o:u}):l}function v(a,s){var i=s.optionLabelProp,n=s.labelInValue,l=s.prevValue,t=s.options,u=s.getLabeledValue,o=a;return n&&(o=o.map(function(c){return u(c,{options:t,prevValue:l,labelInValue:n,optionLabelProp:i})})),o}function A(a,s){var i=Object(y.a)(s),n;for(n=a.length-1;n>=0&&a[n].disabled;n-=1);var l=null;return n!==-1&&(l=i[n],i.splice(n,1)),{values:i,removedValue:l}}var b=typeof window!="undefined"&&window.document&&window.document.documentElement,m=b,d=0;function r(){var a;return m?(a=d,d+=1):a="TEST_OR_SSR",a}},"WN+l":function(te,U,e){var y=e("bYtY"),L=e("IwbS");function g(A,b,m,d){var r=m.axis;if(r.scale.isBlank())return;var a=m.getModel("splitArea"),s=a.getModel("areaStyle"),i=s.get("color"),n=d.coordinateSystem.getRect(),l=r.getTicksCoords({tickModel:a,clamp:!0});if(!l.length)return;var t=i.length,u=A.__splitAreaColors,o=y.createHashMap(),c=0;if(u)for(var h=0;h<l.length;h++){var f=u.get(l[h].tickValue);if(f!=null){c=(f+(t-1)*h)%t;break}}var w=r.toGlobalCoord(l[0].coord),x=s.getAreaStyle();i=y.isArray(i)?i:[i];for(var h=1;h<l.length;h++){var I=r.toGlobalCoord(l[h].coord),C,N,S,E;r.isHorizontal()?(C=w,N=n.y,S=I-C,E=n.height,w=C+S):(C=n.x,N=w,S=n.width,E=I-N,w=N+E);var T=l[h-1].tickValue;T!=null&&o.set(T,c),b.add(new L.Rect({anid:T!=null?"area_"+T:null,shape:{x:C,y:N,width:S,height:E},style:y.defaults({fill:i[c]},x),silent:!0})),c=(c+1)%t}A.__splitAreaColors=o}function v(A){A.__splitAreaColors=null}U.rectCoordAxisBuildSplitArea=g,U.rectCoordAxisHandleRemove=v},WXVj:function(te,U,e){"use strict";var y=e("284h"),L=e("TqRt");Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var g=L(e("3tO9")),v=y(e("q1tI")),A=L(e("Bqw1")),b=L(e("KQxl")),m=function(a,s){return v.createElement(b.default,(0,g.default)((0,g.default)({},a),{},{ref:s,icon:A.default}))};m.displayName="MinusSquareOutlined";var d=v.forwardRef(m);U.default=d},WaYH:function(te,U,e){"use strict";var y=e("rePB"),L=e("Ff2n"),g=e("VTBJ"),v=e("1OyB"),A=e("vuIU"),b=e("JX7q"),m=e("Ji7U"),d=e("LK+K"),r=e("q1tI"),a=e("TSYQ"),s=e.n(a),i=e("sboe"),n=e("OZM5"),l=function(C){var N=C.prefixCls,S=C.level,E=C.isStart,T=C.isEnd;if(!S)return null;for(var D="".concat(N,"-indent-unit"),B=[],R=0;R<S;R+=1){var F;B.push(r.createElement("span",{key:R,className:s()(D,(F={},Object(y.a)(F,"".concat(D,"-start"),E[R+1]),Object(y.a)(F,"".concat(D,"-end"),T[R+1]),Object(y.a)(F,"".concat(D,"-end-first-level"),!R&&T[0]),F))}))}return r.createElement("span",{"aria-hidden":"true",className:"".concat(N,"-indent")},B)},t=l,u=e("815F"),o="open",c="close",h="---",f=function(I){Object(m.a)(N,I);var C=Object(d.a)(N);function N(){var S;return Object(v.a)(this,N),S=C.apply(this,arguments),S.state={dragNodeHighlight:!1},S.onSelectorClick=function(E){var T=S.props.context.onNodeClick;T(E,Object(u.b)(S.props)),S.isSelectable()?S.onSelect(E):S.onCheck(E)},S.onSelectorDoubleClick=function(E){var T=S.props.context.onNodeDoubleClick;T(E,Object(u.b)(S.props))},S.onSelect=function(E){if(S.isDisabled())return;var T=S.props.context.onNodeSelect;E.preventDefault(),T(E,Object(u.b)(S.props))},S.onCheck=function(E){if(S.isDisabled())return;var T=S.props,D=T.disableCheckbox,B=T.checked,R=S.props.context.onNodeCheck;if(!S.isCheckable()||D)return;E.preventDefault();var F=!B;R(E,Object(u.b)(S.props),F)},S.onMouseEnter=function(E){var T=S.props.context.onNodeMouseEnter;T(E,Object(u.b)(S.props))},S.onMouseLeave=function(E){var T=S.props.context.onNodeMouseLeave;T(E,Object(u.b)(S.props))},S.onContextMenu=function(E){var T=S.props.context.onNodeContextMenu;T(E,Object(u.b)(S.props))},S.onDragStart=function(E){var T=S.props.context.onNodeDragStart;E.stopPropagation(),S.setState({dragNodeHighlight:!0}),T(E,Object(b.a)(S));try{E.dataTransfer.setData("text/plain","")}catch(D){}},S.onDragEnter=function(E){var T=S.props.context.onNodeDragEnter;E.preventDefault(),E.stopPropagation(),T(E,Object(b.a)(S))},S.onDragOver=function(E){var T=S.props.context.onNodeDragOver;E.preventDefault(),E.stopPropagation(),T(E,Object(b.a)(S))},S.onDragLeave=function(E){var T=S.props.context.onNodeDragLeave;E.stopPropagation(),T(E,Object(b.a)(S))},S.onDragEnd=function(E){var T=S.props.context.onNodeDragEnd;E.stopPropagation(),S.setState({dragNodeHighlight:!1}),T(E,Object(b.a)(S))},S.onDrop=function(E){var T=S.props.context.onNodeDrop;E.preventDefault(),E.stopPropagation(),S.setState({dragNodeHighlight:!1}),T(E,Object(b.a)(S))},S.onExpand=function(E){var T=S.props.context.onNodeExpand;T(E,Object(u.b)(S.props))},S.setSelectHandle=function(E){S.selectHandle=E},S.getNodeState=function(){var E=S.props.expanded;return S.isLeaf()?null:E?o:c},S.hasChildren=function(){var E=S.props.eventKey,T=S.props.context.keyEntities,D=T[E]||{},B=D.children;return!!(B||[]).length},S.isLeaf=function(){var E=S.props,T=E.isLeaf,D=E.loaded,B=S.props.context.loadData,R=S.hasChildren();return T===!1?!1:T||!B&&!R||B&&D&&!R},S.isDisabled=function(){var E=S.props.disabled,T=S.props.context.disabled;return!!(T||E)},S.isCheckable=function(){var E=S.props.checkable,T=S.props.context.checkable;return!T||E===!1?!1:T},S.syncLoadData=function(E){var T=E.expanded,D=E.loading,B=E.loaded,R=S.props.context,F=R.loadData,M=R.onNodeLoad;if(D)return;F&&T&&!S.isLeaf()&&(!S.hasChildren()&&!B&&M(Object(u.b)(S.props)))},S.renderSwitcher=function(){var E=S.props,T=E.expanded,D=E.switcherIcon,B=S.props.context,R=B.prefixCls,F=B.switcherIcon,M=D||F;if(S.isLeaf())return r.createElement("span",{className:s()("".concat(R,"-switcher"),"".concat(R,"-switcher-noop"))},typeof M=="function"?M(Object(g.a)(Object(g.a)({},S.props),{},{isLeaf:!0})):M);var K=s()("".concat(R,"-switcher"),"".concat(R,"-switcher_").concat(T?o:c));return r.createElement("span",{onClick:S.onExpand,className:K},typeof M=="function"?M(Object(g.a)(Object(g.a)({},S.props),{},{isLeaf:!1})):M)},S.renderCheckbox=function(){var E=S.props,T=E.checked,D=E.halfChecked,B=E.disableCheckbox,R=S.props.context.prefixCls,F=S.isDisabled(),M=S.isCheckable();if(!M)return null;var K=typeof M!="boolean"?M:null;return r.createElement("span",{className:s()("".concat(R,"-checkbox"),T&&"".concat(R,"-checkbox-checked"),!T&&D&&"".concat(R,"-checkbox-indeterminate"),(F||B)&&"".concat(R,"-checkbox-disabled")),onClick:S.onCheck},K)},S.renderIcon=function(){var E=S.props.loading,T=S.props.context.prefixCls;return r.createElement("span",{className:s()("".concat(T,"-iconEle"),"".concat(T,"-icon__").concat(S.getNodeState()||"docu"),E&&"".concat(T,"-icon_loading"))})},S.renderSelector=function(){var E=S.state.dragNodeHighlight,T=S.props,D=T.title,B=T.selected,R=T.icon,F=T.loading,M=T.data,K=S.props.context,j=K.prefixCls,H=K.showIcon,k=K.icon,P=K.draggable,z=K.loadData,Y=K.titleRender,_=S.isDisabled(),G="".concat(j,"-node-content-wrapper"),J;if(H){var ue=R||k;J=ue?r.createElement("span",{className:s()("".concat(j,"-iconEle"),"".concat(j,"-icon__customize"))},typeof ue=="function"?ue(S.props):ue):S.renderIcon()}else z&&F&&(J=S.renderIcon());var q;typeof D=="function"?q=D(M):Y?q=Y(M):q=D;var re=r.createElement("span",{className:"".concat(j,"-title")},q);return r.createElement("span",{ref:S.setSelectHandle,title:typeof D=="string"?D:"",className:s()("".concat(G),"".concat(G,"-").concat(S.getNodeState()||"normal"),!_&&(B||E)&&"".concat(j,"-node-selected"),!_&&P&&"draggable"),draggable:!_&&P||void 0,"aria-grabbed":!_&&P||void 0,onMouseEnter:S.onMouseEnter,onMouseLeave:S.onMouseLeave,onContextMenu:S.onContextMenu,onClick:S.onSelectorClick,onDoubleClick:S.onSelectorDoubleClick,onDragStart:P?S.onDragStart:void 0},J,re)},S}return Object(A.a)(N,[{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,T=this.props.context.selectable;return typeof E=="boolean"?E:T}},{key:"render",value:function(){var E,T=this.props,D=T.eventKey,B=T.className,R=T.style,F=T.dragOver,M=T.dragOverGapTop,K=T.dragOverGapBottom,j=T.isLeaf,H=T.isStart,k=T.isEnd,P=T.expanded,z=T.selected,Y=T.checked,_=T.halfChecked,G=T.loading,J=T.domRef,ue=T.active,q=T.onMouseMove,re=Object(L.a)(T,["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","onMouseMove"]),me=this.props.context,be=me.prefixCls,ke=me.filterTreeNode,ce=me.draggable,Ee=me.keyEntities,pe=this.isDisabled(),Se=Object(n.f)(re),st=Ee[D]||{},qe=st.level,tt=k[k.length-1];return r.createElement("div",Object.assign({ref:J,className:s()(B,"".concat(be,"-treenode"),(E={},Object(y.a)(E,"".concat(be,"-treenode-disabled"),pe),Object(y.a)(E,"".concat(be,"-treenode-switcher-").concat(P?"open":"close"),!j),Object(y.a)(E,"".concat(be,"-treenode-checkbox-checked"),Y),Object(y.a)(E,"".concat(be,"-treenode-checkbox-indeterminate"),_),Object(y.a)(E,"".concat(be,"-treenode-selected"),z),Object(y.a)(E,"".concat(be,"-treenode-loading"),G),Object(y.a)(E,"".concat(be,"-treenode-active"),ue),Object(y.a)(E,"".concat(be,"-treenode-leaf-last"),tt),Object(y.a)(E,"drag-over",!pe&&F),Object(y.a)(E,"drag-over-gap-top",!pe&&M),Object(y.a)(E,"drag-over-gap-bottom",!pe&&K),Object(y.a)(E,"filter-node",ke&&ke(Object(u.b)(this.props))),E)),style:R,onDragEnter:ce?this.onDragEnter:void 0,onDragOver:ce?this.onDragOver:void 0,onDragLeave:ce?this.onDragLeave:void 0,onDrop:ce?this.onDrop:void 0,onDragEnd:ce?this.onDragEnd:void 0,onMouseMove:q},Se),r.createElement(t,{prefixCls:be,level:qe,isStart:H,isEnd:k}),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),N}(r.Component),w=function(C){return r.createElement(i.a.Consumer,null,function(N){return r.createElement(f,Object.assign({},C,{context:N}))})};w.displayName="TreeNode",w.defaultProps={title:h},w.isTreeNode=1;var x=U.a=w},Wqna:function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("bYtY"),v=g.isObject,A=g.each,b=g.map,m=g.indexOf,d=g.retrieve,r=e("+TT/"),a=r.getLayoutRect,s=e("aX7z"),i=s.createScaleByModel,n=s.ifAxisCrossZero,l=s.niceScaleExtent,t=s.estimateLabelUnionRect,u=e("y+lR"),o=e("7AJT"),c=e("IDmD"),h=e("7hqr"),f=h.getStackedDimension;e("jtI2");function w(R,F,M){return R.getCoordSysModel()===F}function x(R,F,M){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(R,F,M),this.model=R}var I=x.prototype;I.type="grid",I.axisPointerEnabled=!0,I.getRect=function(){return this._rect},I.update=function(R,F){var M=this._axesMap;this._updateScale(R,this.model),A(M.x,function(j){l(j.scale,j.model)}),A(M.y,function(j){l(j.scale,j.model)});var K={};A(M.x,function(j){C(M,"y",j,K)}),A(M.y,function(j){C(M,"x",j,K)}),this.resize(this.model,F)};function C(R,F,M,K){M.getAxesOnZeroOf=function(){return H?[H]:[]};var j=R[F],H,k=M.model,P=k.get("axisLine.onZero"),z=k.get("axisLine.onZeroAxisIndex");if(!P)return;if(z!=null)N(j[z])&&(H=j[z]);else for(var Y in j)if(j.hasOwnProperty(Y)&&N(j[Y])&&!K[_(j[Y])]){H=j[Y];break}H&&(K[_(H)]=!0);function _(G){return G.dim+"_"+G.index}}function N(R){return R&&R.type!=="category"&&R.type!=="time"&&n(R)}I.resize=function(R,F,M){var K=a(R.getBoxLayoutParams(),{width:F.getWidth(),height:F.getHeight()});this._rect=K;var j=this._axesList;H(),!M&&R.get("containLabel")&&(A(j,function(k){if(!k.model.get("axisLabel.inside")){var P=t(k);if(P){var z=k.isHorizontal()?"height":"width",Y=k.model.get("axisLabel.margin");K[z]-=P[z]+Y,k.position==="top"?K.y+=P.height+Y:k.position==="left"&&(K.x+=P.width+Y)}}}),H());function H(){A(j,function(k){var P=k.isHorizontal(),z=P?[0,K.width]:[0,K.height],Y=k.inverse?1:0;k.setExtent(z[Y],z[1-Y]),S(k,P?K.x:K.y)})}},I.getAxis=function(R,F){var M=this._axesMap[R];if(M!=null){if(F==null){for(var K in M)if(M.hasOwnProperty(K))return M[K]}return M[F]}},I.getAxes=function(){return this._axesList.slice()},I.getCartesian=function(R,F){if(R!=null&&F!=null){var M="x"+R+"y"+F;return this._coordsMap[M]}v(R)&&(F=R.yAxisIndex,R=R.xAxisIndex);for(var K=0,j=this._coordsList;K<j.length;K++)if(j[K].getAxis("x").index===R||j[K].getAxis("y").index===F)return j[K]},I.getCartesians=function(){return this._coordsList.slice()},I.convertToPixel=function(R,F,M){var K=this._findConvertTarget(R,F);return K.cartesian?K.cartesian.dataToPoint(M):K.axis?K.axis.toGlobalCoord(K.axis.dataToCoord(M)):null},I.convertFromPixel=function(R,F,M){var K=this._findConvertTarget(R,F);return K.cartesian?K.cartesian.pointToData(M):K.axis?K.axis.coordToData(K.axis.toLocalCoord(M)):null},I._findConvertTarget=function(R,F){var M=F.seriesModel,K=F.xAxisModel||M&&M.getReferringComponents("xAxis")[0],j=F.yAxisModel||M&&M.getReferringComponents("yAxis")[0],H=F.gridModel,k=this._coordsList,P,z;if(M)P=M.coordinateSystem,m(k,P)<0&&(P=null);else if(K&&j)P=this.getCartesian(K.componentIndex,j.componentIndex);else if(K)z=this.getAxis("x",K.componentIndex);else if(j)z=this.getAxis("y",j.componentIndex);else if(H){var Y=H.coordinateSystem;Y===this&&(P=this._coordsList[0])}return{cartesian:P,axis:z}},I.containPoint=function(R){var F=this._coordsList[0];if(F)return F.containPoint(R)},I._initCartesian=function(R,F,M){var K={left:!1,right:!1,top:!1,bottom:!1},j={x:{},y:{}},H={x:0,y:0};if(F.eachComponent("xAxis",k("x"),this),F.eachComponent("yAxis",k("y"),this),!H.x||!H.y){this._axesMap={},this._axesList=[];return}this._axesMap=j,A(j.x,function(P,z){A(j.y,function(Y,_){var G="x"+z+"y"+_,J=new u(G);J.grid=this,J.model=R,this._coordsMap[G]=J,this._coordsList.push(J),J.addAxis(P),J.addAxis(Y)},this)},this);function k(P){return function(z,Y){if(!w(z,R,F))return;var _=z.get("position");P==="x"?_!=="top"&&_!=="bottom"&&(_=K.bottom?"top":"bottom"):_!=="left"&&_!=="right"&&(_=K.left?"right":"left"),K[_]=!0;var G=new o(P,i(z),[0,0],z.get("type"),_),J=G.type==="category";G.onBand=J&&z.get("boundaryGap"),G.inverse=z.get("inverse"),z.axis=G,G.model=z,G.grid=this,G.index=Y,this._axesList.push(G),j[P][Y]=G,H[P]++}}},I._updateScale=function(R,F){A(this._axesList,function(K){K.scale.setExtent(Infinity,-Infinity)}),R.eachSeries(function(K){if(D(K)){var j=T(K,R),H=j[0],k=j[1];if(!w(H,F,R)||!w(k,F,R))return;var P=this.getCartesian(H.componentIndex,k.componentIndex),z=K.getData(),Y=P.getAxis("x"),_=P.getAxis("y");z.type==="list"&&(M(z,Y,K),M(z,_,K))}},this);function M(K,j,H){A(K.mapDimension(j.dim,!0),function(k){j.scale.unionExtentFromData(K,f(K,k))})}},I.getTooltipAxes=function(R){var F=[],M=[];return A(this.getCartesians(),function(K){var j=R!=null&&R!=="auto"?K.getAxis(R):K.getBaseAxis(),H=K.getOtherAxis(j);m(F,j)<0&&F.push(j),m(M,H)<0&&M.push(H)}),{baseAxes:F,otherAxes:M}};function S(R,F){var M=R.getExtent(),K=M[0]+M[1];R.toGlobalCoord=R.dim==="x"?function(j){return j+F}:function(j){return K-j+F},R.toLocalCoord=R.dim==="x"?function(j){return j-F}:function(j){return K-j+F}}var E=["xAxis","yAxis"];function T(R,F){return b(E,function(M){var K=R.getReferringComponents(M)[0];return K})}function D(R){return R.get("coordinateSystem")==="cartesian2d"}x.create=function(R,F){var M=[];return R.eachComponent("grid",function(K,j){var H=new x(K,R,F);H.name="grid_"+j,H.resize(K,F,!0),K.coordinateSystem=H,M.push(H)}),R.eachSeries(function(K){if(!D(K))return;var j=T(K,R),H=j[0],k=j[1],P=H.getCoordSysModel(),z=P.coordinateSystem;K.coordinateSystem=z.getCartesian(H.componentIndex,k.componentIndex)}),M},x.dimensions=x.prototype.dimensions=u.prototype.dimensions,c.register("cartesian2d",x);var B=x;te.exports=B},"X+im":function(te,U,e){"use strict";var y=e("284h"),L=e("TqRt");Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var g=L(e("3tO9")),v=y(e("q1tI")),A=L(e("KQeH")),b=L(e("KQxl")),m=function(a,s){return v.createElement(b.default,(0,g.default)((0,g.default)({},a),{},{ref:s,icon:A.default}))};m.displayName="DownloadOutlined";var d=v.forwardRef(m);U.default=d},"X2/X":function(te,U,e){"use strict";Object.defineProperty(U,"__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"};U.default=y},XAae:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=L(e("hwYd"));function L(v){return v&&v.__esModule?v:{default:v}}var g=y;U.default=g,te.exports=g},XOKv:function(te,U,e){e("OXB0"),e("SA4+")},Xmg4:function(te,U,e){var y=e("bYtY"),L=e("LPTA"),g=L.devicePixelRatio,v=e("K2GJ"),A=e("3C/r");function b(){return!1}function m(a,s,i){var n=y.createCanvas(),l=s.getWidth(),t=s.getHeight(),u=n.style;return u&&(u.position="absolute",u.left=0,u.top=0,u.width=l+"px",u.height=t+"px",n.setAttribute("data-zr-dom-id",a)),n.width=l*i,n.height=t*i,n}var d=function(s,i,n){var l;n=n||g,typeof s=="string"?l=m(s,i,n):y.isObject(s)&&(l=s,s=l.id),this.id=s,this.dom=l;var t=l.style;t&&(l.onselectstart=b,t["-webkit-user-select"]="none",t["user-select"]="none",t["-webkit-touch-callout"]="none",t["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",t.padding=0,t.margin=0,t["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=i,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=n};d.prototype={constructor:d,__dirty:!0,__used:!1,__drawIndex:0,__startIndex:0,__endIndex:0,incremental:!1,getElementCount:function(){return this.__endIndex-this.__startIndex},initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var s=this.dpr;this.domBack=m("back-"+this.id,this.painter,s),this.ctxBack=this.domBack.getContext("2d"),s!==1&&this.ctxBack.scale(s,s)},resize:function(s,i){var n=this.dpr,l=this.dom,t=l.style,u=this.domBack;t&&(t.width=s+"px",t.height=i+"px"),l.width=s*n,l.height=i*n,u&&(u.width=s*n,u.height=i*n,n!==1&&this.ctxBack.scale(n,n))},clear:function(s,i){var n=this.dom,l=this.ctx,t=n.width,u=n.height,i=i||this.clearColor,o=this.motionBlur&&!s,c=this.lastFrameAlpha,h=this.dpr;if(o&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(n,0,0,t/h,u/h)),l.clearRect(0,0,t,u),i&&i!=="transparent"){var f;i.colorStops?(f=i.__canvasGradient||v.getGradient(l,i,{x:0,y:0,width:t,height:u}),i.__canvasGradient=f):i.image&&(f=A.prototype.getCanvasPattern.call(i,l)),l.save(),l.fillStyle=f||i,l.fillRect(0,0,t,u),l.restore()}if(o){var w=this.domBack;l.save(),l.globalAlpha=c,l.drawImage(w,0,0,t,u),l.restore()}}};var r=d;te.exports=r},Xnb7:function(te,U,e){var y=e("1RvN"),L=new y(50);function g(m){if(typeof m=="string"){var d=L.get(m);return d&&d.image}else return m}function v(m,d,r,a,s){if(m)if(typeof m=="string"){if(d&&d.__zrImageSrc===m||!r)return d;var i=L.get(m),n={hostEl:r,cb:a,cbPayload:s};return i?(d=i.image,!b(d)&&i.pending.push(n)):(d=new Image,d.onload=d.onerror=A,L.put(m,d.__cachedImgObj={image:d,pending:[n]}),d.src=d.__zrImageSrc=m),d}else return m;else return d}function A(){var m=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var d=0;d<m.pending.length;d++){var r=m.pending[d],a=r.cb;a&&a(this,r.cbPayload),r.hostEl.dirty()}m.pending.length=0}function b(m){return m&&m.width&&m.height}U.findExistImage=g,U.createOrUpdateImage=v,U.isImageReady=b},XpcN:function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("ProS"),v=e("bYtY"),A=e("oVpE"),b=A.createSymbol,m=e("IwbS"),d=e("eRkO"),r=d.makeBackground,a=e("+TT/"),s=v.curry,i=v.each,n=m.Group,l=g.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new n),this._backgroundEl,this.group.add(this._selectorGroup=new n),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(h,f,w){var x=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!h.get("show",!0))return;var I=h.get("align"),C=h.get("orient");(!I||I==="auto")&&(I=h.get("left")==="right"&&C==="vertical"?"right":"left");var N=h.get("selector",!0),S=h.get("selectorPosition",!0);N&&(!S||S==="auto")&&(S=C==="horizontal"?"end":"start"),this.renderInner(I,h,f,w,N,C,S);var E=h.getBoxLayoutParams(),T={width:w.getWidth(),height:w.getHeight()},D=h.get("padding"),B=a.getLayoutRect(E,T,D),R=this.layoutInner(h,I,B,x,N,S),F=a.getLayoutRect(v.defaults({width:R.width,height:R.height},E),T,D);this.group.attr("position",[F.x-R.x,F.y-R.y]),this.group.add(this._backgroundEl=r(R,h))},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(h,f,w,x,I,C,N){var S=this.getContentGroup(),E=v.createHashMap(),T=f.get("selectedMode"),D=[];w.eachRawSeries(function(B){!B.get("legendHoverLink")&&D.push(B.id)}),i(f.getData(),function(B,R){var F=B.get("name");if(!this.newlineDisabled&&(F===""||F===`
|
|
|
`)){S.add(new n({newline:!0}));return}var M=w.getSeriesByName(F)[0];if(E.get(F))return;if(M){var K=M.getData(),j=K.getVisual("color"),H=K.getVisual("borderColor");typeof j=="function"&&(j=j(M.getDataParams(0))),typeof H=="function"&&(H=H(M.getDataParams(0)));var k=K.getVisual("legendSymbol")||"roundRect",P=K.getVisual("symbol"),z=this._createItem(F,R,B,f,k,P,h,j,H,T);z.on("click",s(u,F,null,x,D)).on("mouseover",s(o,M.name,null,x,D)).on("mouseout",s(c,M.name,null,x,D)),E.set(F,!0)}else w.eachRawSeries(function(Y){if(E.get(F))return;if(Y.legendVisualProvider){var _=Y.legendVisualProvider;if(!_.containName(F))return;var G=_.indexOfName(F),J=_.getItemVisual(G,"color"),ue=_.getItemVisual(G,"borderColor"),q="roundRect",re=this._createItem(F,R,B,f,q,null,h,J,ue,T);re.on("click",s(u,null,F,x,D)).on("mouseover",s(o,null,F,x,D)).on("mouseout",s(c,null,F,x,D)),E.set(F,!0)}},this)},this),I&&this._createSelector(I,f,x,C,N)},_createSelector:function(h,f,w,x,I){var C=this.getSelectorGroup();i(h,function(S){N(S)});function N(S){var E=S.type,T=new m.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){w.dispatchAction({type:E==="all"?"legendAllSelect":"legendInverseSelect"})}});C.add(T);var D=f.getModel("selectorLabel"),B=f.getModel("emphasis.selectorLabel");m.setLabelStyle(T.style,T.hoverStyle={},D,B,{defaultText:S.title,isRectText:!1}),m.setHoverStyle(T)}},_createItem:function(h,f,w,x,I,C,N,S,E,T){var D=x.get("itemWidth"),B=x.get("itemHeight"),R=x.get("inactiveColor"),F=x.get("inactiveBorderColor"),M=x.get("symbolKeepAspect"),K=x.getModel("itemStyle"),j=x.isSelected(h),H=new n,k=w.getModel("textStyle"),P=w.get("icon"),z=w.getModel("tooltip"),Y=z.parentModel;I=P||I;var _=b(I,0,0,D,B,j?S:R,M==null?!0:M);if(H.add(t(_,I,K,E,F,j)),!P&&C&&(C!==I||C==="none")){var G=B*.8;C==="none"&&(C="circle");var J=b(C,(D-G)/2,(B-G)/2,G,G,j?S:R,M==null?!0:M);H.add(t(J,C,K,E,F,j))}var ue=N==="left"?D+5:-5,q=N,re=x.get("formatter"),me=h;typeof re=="string"&&re?me=re.replace("{name}",h!=null?h:""):typeof re=="function"&&(me=re(h)),H.add(new m.Text({style:m.setTextStyle({},k,{text:me,x:ue,y:B/2,textFill:j?k.getTextColor():R,textAlign:q,textVerticalAlign:"middle"})}));var be=new m.Rect({shape:H.getBoundingRect(),invisible:!0,tooltip:z.get("show")?v.extend({content:h,formatter:Y.get("formatter",!0)||function(){return h},formatterParams:{componentType:"legend",legendIndex:x.componentIndex,name:h,$vars:["name"]}},z.option):null});return H.add(be),H.eachChild(function(ke){ke.silent=!0}),be.silent=!T,this.getContentGroup().add(H),m.setHoverStyle(H),H.__legendDataIndex=f,H},layoutInner:function(h,f,w,x,I,C){var N=this.getContentGroup(),S=this.getSelectorGroup();a.box(h.get("orient"),N,h.get("itemGap"),w.width,w.height);var E=N.getBoundingRect(),T=[-E.x,-E.y];if(I){a.box("horizontal",S,h.get("selectorItemGap",!0));var D=S.getBoundingRect(),B=[-D.x,-D.y],R=h.get("selectorButtonGap",!0),F=h.getOrient().index,M=F===0?"width":"height",K=F===0?"height":"width",j=F===0?"y":"x";C==="end"?B[F]+=E[M]+R:T[F]+=D[M]+R,B[1-F]+=E[K]/2-D[K]/2,S.attr("position",B),N.attr("position",T);var H={x:0,y:0};return H[M]=E[M]+R+D[M],H[K]=Math.max(E[K],D[K]),H[j]=Math.min(0,D[j]+B[1-F]),H}else return N.attr("position",T),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function t(h,f,w,x,I,C){var N;return f!=="line"&&f.indexOf("empty")<0?(N=w.getItemStyle(),h.style.stroke=x,C||(N.stroke=I)):N=w.getItemStyle(["borderWidth","borderColor"]),h.setStyle(N)}function u(h,f,w,x){c(h,f,w,x),w.dispatchAction({type:"legendToggleSelect",name:h!=null?h:f}),o(h,f,w,x)}function o(h,f,w,x){var I=w.getZr().storage.getDisplayList()[0];I&&I.useHoverLayer||w.dispatchAction({type:"highlight",seriesName:h,name:f,excludeSeriesId:x})}function c(h,f,w,x){var I=w.getZr().storage.getDisplayList()[0];I&&I.useHoverLayer||w.dispatchAction({type:"downplay",seriesName:h,name:f,excludeSeriesId:x})}te.exports=l},XuBP:function(te,U,e){"use strict";Object.defineProperty(U,"__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"};U.default=y},XxSj:function(te,U,e){var y=e("bYtY"),L=e("Qe9p"),g=e("OELB"),v=g.linearMap,A=y.each,b=y.isObject,m=-1,d=function(C){var N=C.mappingMethod,S=C.type,E=this.option=y.clone(C);this.type=S,this.mappingMethod=N,this._normalizeData=w[N];var T=r[S];this.applyVisual=T.applyVisual,this.getColorMapper=T.getColorMapper,this._doMap=T._doMap[N],N==="piecewise"?(i(E),a(E)):N==="category"?E.categories?s(E):i(E,!0):(y.assert(N!=="linear"||E.dataExtent),i(E))};d.prototype={constructor:d,mapValueToVisual:function(C){var N=this._normalizeData(C);return this._doMap(N,C)},getNormalizer:function(){return y.bind(this._normalizeData,this)}};var r=d.visualHandlers={color:{applyVisual:t("color"),getColorMapper:function(){var C=this.option;return y.bind(C.mappingMethod==="category"?function(N,S){return!S&&(N=this._normalizeData(N)),u.call(this,N)}:function(N,S,E){var T=!!E;return!S&&(N=this._normalizeData(N)),E=L.fastLerp(N,C.parsedVisual,E),T?E:L.stringify(E,"rgba")},this)},_doMap:{linear:function(C){return L.stringify(L.fastLerp(C,this.option.parsedVisual),"rgba")},category:u,piecewise:function(C,N){var S=h.call(this,N);return S==null&&(S=L.stringify(L.fastLerp(C,this.option.parsedVisual),"rgba")),S},fixed:o}},colorHue:n(function(C,N){return L.modifyHSL(C,N)}),colorSaturation:n(function(C,N){return L.modifyHSL(C,null,N)}),colorLightness:n(function(C,N){return L.modifyHSL(C,null,null,N)}),colorAlpha:n(function(C,N){return L.modifyAlpha(C,N)}),opacity:{applyVisual:t("opacity"),_doMap:c([0,1])},liftZ:{applyVisual:t("liftZ"),_doMap:{linear:o,category:o,piecewise:o,fixed:o}},symbol:{applyVisual:function(C,N,S){var E=this.mapValueToVisual(C);if(y.isString(E))S("symbol",E);else if(b(E))for(var T in E)E.hasOwnProperty(T)&&S(T,E[T])},_doMap:{linear:l,category:u,piecewise:function(C,N){var S=h.call(this,N);return S==null&&(S=l.call(this,C)),S},fixed:o}},symbolSize:{applyVisual:t("symbolSize"),_doMap:c([0,1])}};function a(C){var N=C.pieceList;C.hasSpecialVisual=!1,y.each(N,function(S,E){S.originIndex=E,S.visual!=null&&(C.hasSpecialVisual=!0)})}function s(C){var N=C.categories,S=C.visual,E=C.categoryMap={};if(A(N,function(B,R){E[B]=R}),!y.isArray(S)){var T=[];y.isObject(S)?A(S,function(B,R){var F=E[R];T[F!=null?F:m]=B}):T[m]=S,S=f(C,T)}for(var D=N.length-1;D>=0;D--)S[D]==null&&(delete E[N[D]],N.pop())}function i(C,N){var S=C.visual,E=[];y.isObject(S)?A(S,function(D){E.push(D)}):S!=null&&E.push(S);var T={color:1,symbol:1};!N&&E.length===1&&!T.hasOwnProperty(C.type)&&(E[1]=E[0]),f(C,E)}function n(C){return{applyVisual:function(N,S,E){N=this.mapValueToVisual(N),E("color",C(S("color"),N))},_doMap:c([0,1])}}function l(C){var N=this.option.visual;return N[Math.round(v(C,[0,1],[0,N.length-1],!0))]||{}}function t(C){return function(N,S,E){E(C,this.mapValueToVisual(N))}}function u(C){var N=this.option.visual;return N[this.option.loop&&C!==m?C%N.length:C]}function o(){return this.option.visual[0]}function c(C){return{linear:function(N){return v(N,C,this.option.visual,!0)},category:u,piecewise:function(N,S){var E=h.call(this,S);return E==null&&(E=v(N,C,this.option.visual,!0)),E},fixed:o}}function h(C){var N=this.option,S=N.pieceList;if(N.hasSpecialVisual){var E=d.findPieceIndex(C,S),T=S[E];if(T&&T.visual)return T.visual[this.type]}}function f(C,N){return C.visual=N,C.type==="color"&&(C.parsedVisual=y.map(N,function(S){return L.parse(S)})),N}var w={linear:function(C){return v(C,this.option.dataExtent,[0,1],!0)},piecewise:function(C){var N=this.option.pieceList,S=d.findPieceIndex(C,N,!0);if(S!=null)return v(S,[0,N.length-1],[0,1],!0)},category:function(C){var N=this.option.categories?this.option.categoryMap[C]:C;return N==null?m:N},fixed:y.noop};d.listVisualTypes=function(){var C=[];return y.each(r,function(N,S){C.push(S)}),C},d.addVisualHandler=function(C,N){r[C]=N},d.isValidType=function(C){return r.hasOwnProperty(C)},d.eachVisual=function(C,N,S){y.isObject(C)?y.each(C,N,S):N.call(S,C)},d.mapVisual=function(C,N,S){var E,T=y.isArray(C)?[]:y.isObject(C)?{}:(E=!0,null);return d.eachVisual(C,function(D,B){var R=N.call(S,D,B);E?T=R:T[B]=R}),T},d.retrieveVisuals=function(C){var N={},S;return C&&A(r,function(E,T){C.hasOwnProperty(T)&&(N[T]=C[T],S=!0)}),S?N:null},d.prepareVisualTypes=function(C){if(b(C)){var N=[];A(C,function(S,E){N.push(E)}),C=N}else if(y.isArray(C))C=C.slice();else return[];return C.sort(function(S,E){return E==="color"&&S!=="color"&&S.indexOf("color")===0?1:-1}),C},d.dependsOn=function(C,N){return N==="color"?!!(C&&C.indexOf(N)===0):C===N},d.findPieceIndex=function(C,N,S){for(var E,T=Infinity,D=0,B=N.length;D<B;D++){var R=N[D].value;if(R!=null){if(R===C||typeof R=="string"&&R===C+"")return D;S&&j(R,D)}}for(var D=0,B=N.length;D<B;D++){var F=N[D],M=F.interval,K=F.close;if(M){if(M[0]===-Infinity){if(x(K[1],C,M[1]))return D}else if(M[1]===Infinity){if(x(K[0],M[0],C))return D}else if(x(K[0],M[0],C)&&x(K[1],C,M[1]))return D;S&&j(M[0],D),S&&j(M[1],D)}}if(S)return C===Infinity?N.length-1:C===-Infinity?0:E;function j(H,k){var P=Math.abs(H-C);P<T&&(T=P,E=k)}};function x(C,N,S){return C?N<=S:N<S}var I=d;te.exports=I},XzQk:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=L(e("KpQ+"));function L(v){return v&&v.__esModule?v:{default:v}}var g=y;U.default=g,te.exports=g},Y1PL:function(te,U,e){"use strict";e.r(U),e.d(U,"ResizableTextArea",function(){return _});var y=e("wx14"),L=e("1OyB"),g=e("vuIU"),v=e("Ji7U"),A=e("LK+K"),b=e("q1tI"),m=e("VTBJ"),d=e("rePB"),r=e("Zm9Q"),a=e("Kwbf"),s=e("c+Xe"),i=e("m+aA"),n=e("bdgK"),l=new Map;function t(ue){ue.forEach(function(q){var re,me=q.target;(re=l.get(me))===null||re===void 0||re.forEach(function(be){return be(me)})})}var u=new n.default(t),o=null,c=null;function h(ue,q){l.has(ue)||(l.set(ue,new Set),u.observe(ue)),l.get(ue).add(q)}function f(ue,q){l.has(ue)&&(l.get(ue).delete(q),l.get(ue).size||(u.unobserve(ue),l.delete(ue)))}var w=function(ue){Object(v.a)(re,ue);var q=Object(A.a)(re);function re(){return Object(L.a)(this,re),q.apply(this,arguments)}return Object(g.a)(re,[{key:"render",value:function(){return this.props.children}}]),re}(b.Component),x=b.createContext(null);function I(ue){var q=ue.children,re=ue.onBatchResize,me=b.useRef(0),be=b.useRef([]),ke=b.useContext(x),ce=b.useCallback(function(Ee,pe,Se){me.current+=1;var st=me.current;be.current.push({size:Ee,element:pe,data:Se}),Promise.resolve().then(function(){st===me.current&&(re==null||re(be.current),be.current=[])}),ke==null||ke(Ee,pe,Se)},[re,ke]);return b.createElement(x.Provider,{value:ce},q)}function C(ue){var q=ue.children,re=ue.disabled,me=b.useRef(null),be=b.useRef(null),ke=b.useContext(x),ce=b.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Ee=b.isValidElement(q)&&Object(s.c)(q),pe=Ee?q.ref:null,Se=b.useMemo(function(){return Object(s.a)(pe,me)},[pe,me]),st=b.useRef(ue);st.current=ue;var qe=b.useCallback(function(tt){var Dt=st.current,ct=Dt.onResize,St=Dt.data,rt=tt.getBoundingClientRect(),ht=rt.width,je=rt.height,Me=tt.offsetWidth,Ne=tt.offsetHeight,it=Math.floor(ht),wt=Math.floor(je);if(ce.current.width!==it||ce.current.height!==wt||ce.current.offsetWidth!==Me||ce.current.offsetHeight!==Ne){var jt={width:it,height:wt,offsetWidth:Me,offsetHeight:Ne};ce.current=jt;var lt=Me===Math.round(ht)?ht:Me,Te=Ne===Math.round(je)?je:Ne,mt=Object(m.a)(Object(m.a)({},jt),{},{offsetWidth:lt,offsetHeight:Te});ke==null||ke(mt,tt,St),ct&&Promise.resolve().then(function(){ct(mt,tt)})}},[]);return b.useEffect(function(){var tt=Object(i.a)(me.current)||Object(i.a)(be.current);return tt&&!re&&h(tt,qe),function(){return f(tt,qe)}},[me.current,re]),b.createElement(w,{ref:be},Ee?b.cloneElement(q,{ref:Se}):q)}var N="rc-observer-key";function S(ue){var q=ue.children,re=Object(r.a)(q);return re.map(function(me,be){var ke=(me==null?void 0:me.key)||"".concat(N,"-").concat(be);return b.createElement(C,Object(y.a)({},ue,{key:ke}),me)})}S.Collection=I;var E=S,T=e("bT9E"),D=e("TSYQ"),B=e.n(D),R=`
|
|
|
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
|
|
|
`,F=["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"],M={},K;function j(ue){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,re=ue.getAttribute("id")||ue.getAttribute("data-reactid")||ue.getAttribute("name");if(q&&M[re])return M[re];var me=window.getComputedStyle(ue),be=me.getPropertyValue("box-sizing")||me.getPropertyValue("-moz-box-sizing")||me.getPropertyValue("-webkit-box-sizing"),ke=parseFloat(me.getPropertyValue("padding-bottom"))+parseFloat(me.getPropertyValue("padding-top")),ce=parseFloat(me.getPropertyValue("border-bottom-width"))+parseFloat(me.getPropertyValue("border-top-width")),Ee=F.map(function(Se){return"".concat(Se,":").concat(me.getPropertyValue(Se))}).join(";"),pe={sizingStyle:Ee,paddingSize:ke,borderSize:ce,boxSizing:be};return q&&re&&(M[re]=pe),pe}function H(ue){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,re=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,me=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;K||(K=document.createElement("textarea"),K.setAttribute("tab-index","-1"),K.setAttribute("aria-hidden","true"),document.body.appendChild(K)),ue.getAttribute("wrap")?K.setAttribute("wrap",ue.getAttribute("wrap")):K.removeAttribute("wrap");var be=j(ue,q),ke=be.paddingSize,ce=be.borderSize,Ee=be.boxSizing,pe=be.sizingStyle;K.setAttribute("style","".concat(pe,";").concat(R)),K.value=ue.value||ue.placeholder||"";var Se=Number.MIN_SAFE_INTEGER,st=Number.MAX_SAFE_INTEGER,qe=K.scrollHeight,tt;if(Ee==="border-box"?qe+=ce:Ee==="content-box"&&(qe-=ke),re!==null||me!==null){K.value=" ";var Dt=K.scrollHeight-ke;re!==null&&(Se=Dt*re,Ee==="border-box"&&(Se=Se+ke+ce),qe=Math.max(Se,qe)),me!==null&&(st=Dt*me,Ee==="border-box"&&(st=st+ke+ce),tt=qe>st?"":"hidden",qe=Math.min(st,qe))}return{height:qe,minHeight:Se,maxHeight:st,overflowY:tt,resize:"none"}}var k=e("Gytx"),P=e.n(k),z;(function(ue){ue[ue.NONE=0]="NONE",ue[ue.RESIZING=1]="RESIZING",ue[ue.RESIZED=2]="RESIZED"})(z||(z={}));var Y=function(ue){Object(v.a)(re,ue);var q=Object(A.a)(re);function re(me){var be;return Object(L.a)(this,re),be=q.call(this,me),be.nextFrameActionId=void 0,be.resizeFrameId=void 0,be.textArea=void 0,be.saveTextArea=function(ke){be.textArea=ke},be.handleResize=function(ke){var ce=be.state.resizeStatus,Ee=be.props,pe=Ee.autoSize,Se=Ee.onResize;if(ce!==z.NONE)return;typeof Se=="function"&&Se(ke),pe&&be.resizeOnNextFrame()},be.resizeOnNextFrame=function(){cancelAnimationFrame(be.nextFrameActionId),be.nextFrameActionId=requestAnimationFrame(be.resizeTextarea)},be.resizeTextarea=function(){var ke=be.props.autoSize;if(!ke||!be.textArea)return;var ce=ke.minRows,Ee=ke.maxRows,pe=H(be.textArea,!1,ce,Ee);be.setState({textareaStyles:pe,resizeStatus:z.RESIZING},function(){cancelAnimationFrame(be.resizeFrameId),be.resizeFrameId=requestAnimationFrame(function(){be.setState({resizeStatus:z.RESIZED},function(){be.resizeFrameId=requestAnimationFrame(function(){be.setState({resizeStatus:z.NONE}),be.fixFirefoxAutoScroll()})})})})},be.renderTextArea=function(){var ke=be.props,ce=ke.prefixCls,Ee=ce===void 0?"rc-textarea":ce,pe=ke.autoSize,Se=ke.onResize,st=ke.className,qe=ke.disabled,tt=be.state,Dt=tt.textareaStyles,ct=tt.resizeStatus,St=Object(T.a)(be.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),rt=B()(Ee,st,Object(d.a)({},"".concat(Ee,"-disabled"),qe));"value"in St&&(St.value=St.value||"");var ht=Object(m.a)(Object(m.a)(Object(m.a)({},be.props.style),Dt),ct===z.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return b.createElement(E,{onResize:be.handleResize,disabled:!(pe||Se)},b.createElement("textarea",Object(y.a)({},St,{className:rt,style:ht,ref:be.saveTextArea})))},be.state={textareaStyles:{},resizeStatus:z.NONE},be}return Object(g.a)(re,[{key:"componentDidUpdate",value:function(be){(be.value!==this.props.value||!P()(be.autoSize,this.props.autoSize))&&this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var be=this.textArea.selectionStart,ke=this.textArea.selectionEnd;this.textArea.setSelectionRange(be,ke)}}catch(ce){}}},{key:"render",value:function(){return this.renderTextArea()}}]),re}(b.Component),_=Y,G=function(ue){Object(v.a)(re,ue);var q=Object(A.a)(re);function re(me){var be;Object(L.a)(this,re),be=q.call(this,me),be.resizableTextArea=void 0,be.focus=function(){be.resizableTextArea.textArea.focus()},be.saveTextArea=function(ce){be.resizableTextArea=ce},be.handleChange=function(ce){var Ee=be.props.onChange;be.setValue(ce.target.value,function(){be.resizableTextArea.resizeTextarea()}),Ee&&Ee(ce)},be.handleKeyDown=function(ce){var Ee=be.props,pe=Ee.onPressEnter,Se=Ee.onKeyDown;ce.keyCode===13&&pe&&pe(ce),Se&&Se(ce)};var ke=typeof me.value=="undefined"||me.value===null?me.defaultValue:me.value;return be.state={value:ke},be}return Object(g.a)(re,[{key:"setValue",value:function(be,ke){"value"in this.props||this.setState({value:be},ke)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return b.createElement(_,Object(y.a)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(be){return"value"in be?{value:be.value}:null}}]),re}(b.Component),J=U.default=G},YH21:function(te,U,e){var y=e("H6uX");U.Dispatcher=y;var L=e("ItGF"),g=e("Ze12"),v=g.isCanvasEl,A=g.transformCoordWithViewport,b=typeof window!="undefined"&&!!window.addEventListener,m=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,d=[];function r(c,h,f,w){return f=f||{},w||!L.canvasSupported?a(c,h,f):L.browser.firefox&&h.layerX!=null&&h.layerX!==h.offsetX?(f.zrX=h.layerX,f.zrY=h.layerY):h.offsetX!=null?(f.zrX=h.offsetX,f.zrY=h.offsetY):a(c,h,f),f}function a(c,h,f){if(L.domSupported&&c.getBoundingClientRect){var w=h.clientX,x=h.clientY;if(v(c)){var I=c.getBoundingClientRect();f.zrX=w-I.left,f.zrY=x-I.top;return}else if(A(d,c,w,x)){f.zrX=d[0],f.zrY=d[1];return}}f.zrX=f.zrY=0}function s(c){return c||window.event}function i(c,h,f){if(h=s(h),h.zrX!=null)return h;var w=h.type,x=w&&w.indexOf("touch")>=0;if(!x)r(c,h,h,f),h.zrDelta=h.wheelDelta?h.wheelDelta/120:-(h.detail||0)/3;else{var I=w!=="touchend"?h.targetTouches[0]:h.changedTouches[0];I&&r(c,I,h,f)}var C=h.button;return h.which==null&&C!==void 0&&m.test(h.type)&&(h.which=C&1?1:C&2?3:C&4?2:0),h}function n(c,h,f,w){b?c.addEventListener(h,f,w):c.attachEvent("on"+h,f)}function l(c,h,f,w){b?c.removeEventListener(h,f,w):c.detachEvent("on"+h,f)}var t=b?function(c){c.preventDefault(),c.stopPropagation(),c.cancelBubble=!0}:function(c){c.returnValue=!1,c.cancelBubble=!0};function u(c){return c.which===2||c.which===3}function o(c){return c.which>1}U.clientToLocal=r,U.getNativeEvent=s,U.normalizeEvent=i,U.addEventListener=n,U.removeEventListener=l,U.stop=t,U.isMiddleOrRightButtonOnMouseUpDown=u,U.notLeftMouse=o},YJCA:function(te,U,e){"use strict";e.d(U,"a",function(){return ct}),e.d(U,"b",function(){return ht});var y=e("wx14"),L=e("ODXe"),g=e("vpQ4"),v=e("1OyB"),A=e("vuIU"),b=e("md7G"),m=e("foSv"),d=e("Ji7U"),r=e("JX7q"),a=e("rePB"),s=e("q1tI"),i=e.n(s),n=e("17x9"),l=e.n(n),t=e("i8i4"),u=e.n(t),o=e("QLaP"),c=e.n(o),h=e("KQm4"),f=function(){function je(){Object(v.a)(this,je),Object(a.a)(this,"refs",{})}return Object(A.a)(je,[{key:"add",value:function(Ne,it){this.refs[Ne]||(this.refs[Ne]=[]),this.refs[Ne].push(it)}},{key:"remove",value:function(Ne,it){var wt=this.getIndex(Ne,it);wt!==-1&&this.refs[Ne].splice(wt,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var Ne=this;return this.refs[this.active.collection].find(function(it){var wt=it.node;return wt.sortableInfo.index==Ne.active.index})}},{key:"getIndex",value:function(Ne,it){return this.refs[Ne].indexOf(it)}},{key:"getOrderedRefs",value:function(){var Ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[Ne].sort(w)}}]),je}();function w(je,Me){var Ne=je.node.sortableInfo.index,it=Me.node.sortableInfo.index;return Ne-it}function x(je,Me,Ne){return je=je.slice(),je.splice(Ne<0?je.length+Ne:Ne,0,je.splice(Me,1)[0]),je}function I(je,Me){return Object.keys(je).reduce(function(Ne,it){return Me.indexOf(it)===-1&&(Ne[it]=je[it]),Ne},{})}var C={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},N=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var je=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],Me=(Array.prototype.slice.call(je).join("").match(/-(moz|webkit|ms)-/)||je.OLink===""&&["","o"])[1];switch(Me){case"ms":return"ms";default:return Me&&Me.length?Me[0].toUpperCase()+Me.substr(1):""}}();function S(je,Me){Object.keys(Me).forEach(function(Ne){je.style[Ne]=Me[Ne]})}function E(je,Me){je.style["".concat(N,"Transform")]=Me==null?"":"translate3d(".concat(Me.x,"px,").concat(Me.y,"px,0)")}function T(je,Me){je.style["".concat(N,"TransitionDuration")]=Me==null?"":"".concat(Me,"ms")}function D(je,Me){for(;je;){if(Me(je))return je;je=je.parentNode}return null}function B(je,Me,Ne){return Math.max(je,Math.min(Ne,Me))}function R(je){return je.substr(-2)==="px"?parseFloat(je):0}function F(je){var Me=window.getComputedStyle(je);return{bottom:R(Me.marginBottom),left:R(Me.marginLeft),right:R(Me.marginRight),top:R(Me.marginTop)}}function M(je,Me){var Ne=Me.displayName||Me.name;return Ne?"".concat(je,"(").concat(Ne,")"):je}function K(je,Me){var Ne=je.getBoundingClientRect();return{top:Ne.top+Me.top,left:Ne.left+Me.left}}function j(je){return je.touches&&je.touches.length?{x:je.touches[0].pageX,y:je.touches[0].pageY}:je.changedTouches&&je.changedTouches.length?{x:je.changedTouches[0].pageX,y:je.changedTouches[0].pageY}:{x:je.pageX,y:je.pageY}}function H(je){return je.touches&&je.touches.length||je.changedTouches&&je.changedTouches.length}function k(je,Me){var Ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(!je)return;var it={left:Ne.left+je.offsetLeft,top:Ne.top+je.offsetTop};return je.parentNode===Me?it:k(je.parentNode,Me,it)}function P(je,Me,Ne){return je<Ne&&je>Me?je-1:je>Ne&&je<Me?je+1:je}function z(je){var Me=je.lockOffset,Ne=je.width,it=je.height,wt=Me,jt=Me,lt="px";if(typeof Me=="string"){var Te=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(Me);c()(Te!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',Me),wt=parseFloat(Me),jt=parseFloat(Me),lt=Te[1]}return c()(isFinite(wt)&&isFinite(jt),"lockOffset value should be a finite. Given %s",Me),lt==="%"&&(wt=wt*Ne/100,jt=jt*it/100),{x:wt,y:jt}}function Y(je){var Me=je.height,Ne=je.width,it=je.lockOffset,wt=Array.isArray(it)?it:[it,it];c()(wt.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",it);var jt=Object(L.a)(wt,2),lt=jt[0],Te=jt[1];return[z({height:Me,lockOffset:lt,width:Ne}),z({height:Me,lockOffset:Te,width:Ne})]}function _(je){var Me=window.getComputedStyle(je),Ne=/(auto|scroll)/,it=["overflow","overflowX","overflowY"];return it.find(function(wt){return Ne.test(Me[wt])})}function G(je){return je instanceof HTMLElement?_(je)?je:G(je.parentNode):null}function J(je){var Me=window.getComputedStyle(je);return Me.display==="grid"?{x:R(Me.gridColumnGap),y:R(Me.gridRowGap)}:{x:0,y:0}}var ue={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},q={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function re(je){var Me="input, textarea, select, canvas, [contenteditable]",Ne=je.querySelectorAll(Me),it=je.cloneNode(!0),wt=Object(h.a)(it.querySelectorAll(Me));return wt.forEach(function(jt,lt){if(jt.type!=="file"&&(jt.value=Ne[lt].value),jt.type==="radio"&&jt.name&&(jt.name="__sortableClone__".concat(jt.name)),jt.tagName===q.Canvas&&Ne[lt].width>0&&Ne[lt].height>0){var Te=jt.getContext("2d");Te.drawImage(Ne[lt],0,0)}}),it}function me(je){var Me,Ne,it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return Ne=Me=function(wt){Object(d.a)(jt,wt);function jt(){return Object(v.a)(this,jt),Object(b.a)(this,Object(m.a)(jt).apply(this,arguments))}return Object(A.a)(jt,[{key:"componentDidMount",value:function(){var Te=Object(t.findDOMNode)(this);Te.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return c()(it.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 Te=it.withRef?"wrappedInstance":null;return Object(s.createElement)(je,Object(y.a)({ref:Te},this.props))}}]),jt}(s.Component),Object(a.a)(Me,"displayName",M("sortableHandle",je)),Ne}function be(je){return je.sortableHandle!=null}var ke=function(){function je(Me,Ne){Object(v.a)(this,je),this.container=Me,this.onScrollCallback=Ne}return Object(A.a)(je,[{key:"clear",value:function(){if(this.interval==null)return;clearInterval(this.interval),this.interval=null}},{key:"update",value:function(Ne){var it=this,wt=Ne.translate,jt=Ne.minTranslate,lt=Ne.maxTranslate,Te=Ne.width,mt=Ne.height,tn={x:0,y:0},Vt={x:1,y:1},Yt={x:10,y:10},Qt=this.container,an=Qt.scrollTop,on=Qt.scrollLeft,vt=Qt.scrollHeight,de=Qt.scrollWidth,he=Qt.clientHeight,Pt=Qt.clientWidth,We=an===0,Je=vt-an-he===0,Ln=on===0,jn=de-on-Pt===0;wt.y>=lt.y-mt/2&&!Je?(tn.y=1,Vt.y=Yt.y*Math.abs((lt.y-mt/2-wt.y)/mt)):wt.x>=lt.x-Te/2&&!jn?(tn.x=1,Vt.x=Yt.x*Math.abs((lt.x-Te/2-wt.x)/Te)):wt.y<=jt.y+mt/2&&!We?(tn.y=-1,Vt.y=Yt.y*Math.abs((wt.y-mt/2-jt.y)/mt)):wt.x<=jt.x+Te/2&&!Ln&&(tn.x=-1,Vt.x=Yt.x*Math.abs((wt.x-Te/2-jt.x)/Te)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(tn.x!==0||tn.y!==0)&&(this.interval=setInterval(function(){it.isAutoScrolling=!0;var Sn={left:Vt.x*tn.x,top:Vt.y*tn.y};it.container.scrollTop+=Sn.top,it.container.scrollLeft+=Sn.left,it.onScrollCallback(Sn)},5))}}]),je}();function ce(je){var Me=je.node;return{height:Me.offsetHeight,width:Me.offsetWidth}}function Ee(je){var Me=[q.Input,q.Textarea,q.Select,q.Option,q.Button];return Me.indexOf(je.target.tagName)!==-1?!0:!!D(je.target,function(Ne){return Ne.contentEditable==="true"})}var pe={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},Se={lift:[ue.SPACE],drop:[ue.SPACE],cancel:[ue.ESC],up:[ue.UP,ue.LEFT],down:[ue.DOWN,ue.RIGHT]},st={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:ce,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:Se,shouldCancelStart:Ee,transitionDuration:300,useWindowAsScrollContainer:!1},qe=Object.keys(pe);function tt(je){c()(!(je.distance&&je.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 Dt(je,Me){try{var Ne=je()}catch(it){return Me(!0,it)}return Ne&&Ne.then?Ne.then(Me.bind(null,!1),Me.bind(null,!0)):Me(!1,value)}function ct(je){var Me,Ne,it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return Ne=Me=function(wt){Object(d.a)(jt,wt);function jt(lt){var Te;return Object(v.a)(this,jt),Te=Object(b.a)(this,Object(m.a)(jt).call(this,lt)),Object(a.a)(Object(r.a)(Object(r.a)(Te)),"state",{}),Object(a.a)(Object(r.a)(Object(r.a)(Te)),"handleStart",function(mt){var tn=Te.props,Vt=tn.distance,Yt=tn.shouldCancelStart;if(mt.button===2||Yt(mt))return;Te.touched=!0,Te.position=j(mt);var Qt=D(mt.target,function(Pt){return Pt.sortableInfo!=null});if(Qt&&Qt.sortableInfo&&Te.nodeIsChild(Qt)&&!Te.state.sorting){var an=Te.props.useDragHandle,on=Qt.sortableInfo,vt=on.index,de=on.collection,he=on.disabled;if(he)return;if(an&&!D(mt.target,be))return;Te.manager.active={collection:de,index:vt},!H(mt)&&mt.target.tagName===q.Anchor&&mt.preventDefault(),Vt||(Te.props.pressDelay===0?Te.handlePress(mt):Te.pressTimer=setTimeout(function(){return Te.handlePress(mt)},Te.props.pressDelay))}}),Object(a.a)(Object(r.a)(Object(r.a)(Te)),"nodeIsChild",function(mt){return mt.sortableInfo.manager===Te.manager}),Object(a.a)(Object(r.a)(Object(r.a)(Te)),"handleMove",function(mt){var tn=Te.props,Vt=tn.distance,Yt=tn.pressThreshold;if(!Te.state.sorting&&Te.touched&&!Te._awaitingUpdateBeforeSortStart){var Qt=j(mt),an={x:Te.position.x-Qt.x,y:Te.position.y-Qt.y},on=Math.abs(an.x)+Math.abs(an.y);Te.delta=an,!Vt&&(!Yt||on>=Yt)?(clearTimeout(Te.cancelTimer),Te.cancelTimer=setTimeout(Te.cancel,0)):Vt&&on>=Vt&&Te.manager.isActive()&&Te.handlePress(mt)}}),Object(a.a)(Object(r.a)(Object(r.a)(Te)),"handleEnd",function(){Te.touched=!1,Te.cancel()}),Object(a.a)(Object(r.a)(Object(r.a)(Te)),"cancel",function(){var mt=Te.props.distance,tn=Te.state.sorting;tn||(mt||clearTimeout(Te.pressTimer),Te.manager.active=null)}),Object(a.a)(Object(r.a)(Object(r.a)(Te)),"handlePress",function(mt){try{var tn=Te.manager.getActive(),Vt=function(){if(tn){var Yt=function(){var rr=Je.sortableInfo.index,hr=F(Je),gn=J(Te.container),vn=Te.scrollContainer.getBoundingClientRect(),Ft=on({index:rr,node:Je,collection:Ln});if(Te.node=Je,Te.margin=hr,Te.gridGap=gn,Te.width=Ft.width,Te.height=Ft.height,Te.marginOffset={x:Te.margin.left+Te.margin.right+Te.gridGap.x,y:Math.max(Te.margin.top,Te.margin.bottom,Te.gridGap.y)},Te.boundingClientRect=Je.getBoundingClientRect(),Te.containerBoundingRect=vn,Te.index=rr,Te.newIndex=rr,Te.axis={x:an.indexOf("x")>=0,y:an.indexOf("y")>=0},Te.offsetEdge=k(Je,Te.container),jn?Te.initialOffset=j(Object(g.a)({},mt,{pageX:Te.boundingClientRect.left,pageY:Te.boundingClientRect.top})):Te.initialOffset=j(mt),Te.initialScroll={left:Te.scrollContainer.scrollLeft,top:Te.scrollContainer.scrollTop},Te.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},Te.helper=Te.helperContainer.appendChild(re(Je)),S(Te.helper,{boxSizing:"border-box",height:"".concat(Te.height,"px"),left:"".concat(Te.boundingClientRect.left-hr.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(Te.boundingClientRect.top-hr.top,"px"),width:"".concat(Te.width,"px")}),jn&&Te.helper.focus(),de&&(Te.sortableGhost=Je,S(Je,{opacity:0,visibility:"hidden"})),Te.minTranslate={},Te.maxTranslate={},jn){var Ye=We?{top:0,left:0,width:Te.contentWindow.innerWidth,height:Te.contentWindow.innerHeight}:Te.containerBoundingRect,Pe=Ye.top,Jt=Ye.left,bn=Ye.width,An=Ye.height,dn=Pe+An,vr=Jt+bn;Te.axis.x&&(Te.minTranslate.x=Jt-Te.boundingClientRect.left,Te.maxTranslate.x=vr-(Te.boundingClientRect.left+Te.width)),Te.axis.y&&(Te.minTranslate.y=Pe-Te.boundingClientRect.top,Te.maxTranslate.y=dn-(Te.boundingClientRect.top+Te.height))}else Te.axis.x&&(Te.minTranslate.x=(We?0:vn.left)-Te.boundingClientRect.left-Te.width/2,Te.maxTranslate.x=(We?Te.contentWindow.innerWidth:vn.left+vn.width)-Te.boundingClientRect.left-Te.width/2),Te.axis.y&&(Te.minTranslate.y=(We?0:vn.top)-Te.boundingClientRect.top-Te.height/2,Te.maxTranslate.y=(We?Te.contentWindow.innerHeight:vn.top+vn.height)-Te.boundingClientRect.top-Te.height/2);vt&&vt.split(" ").forEach(function(qn){return Te.helper.classList.add(qn)}),Te.listenerNode=mt.touches?Je:Te.contentWindow,jn?(Te.listenerNode.addEventListener("wheel",Te.handleKeyEnd,!0),Te.listenerNode.addEventListener("mousedown",Te.handleKeyEnd,!0),Te.listenerNode.addEventListener("keydown",Te.handleKeyDown)):(C.move.forEach(function(qn){return Te.listenerNode.addEventListener(qn,Te.handleSortMove,!1)}),C.end.forEach(function(qn){return Te.listenerNode.addEventListener(qn,Te.handleSortEnd,!1)})),Te.setState({sorting:!0,sortingIndex:rr}),Pt&&Pt({node:Je,index:rr,collection:Ln,isKeySorting:jn,nodes:Te.manager.getOrderedRefs(),helper:Te.helper},mt),jn&&Te.keyMove(0)},Qt=Te.props,an=Qt.axis,on=Qt.getHelperDimensions,vt=Qt.helperClass,de=Qt.hideSortableGhost,he=Qt.updateBeforeSortStart,Pt=Qt.onSortStart,We=Qt.useWindowAsScrollContainer,Je=tn.node,Ln=tn.collection,jn=Te.manager.isKeySorting,Sn=function(){if(typeof he=="function"){Te._awaitingUpdateBeforeSortStart=!0;var Xn=Dt(function(){var rr=Je.sortableInfo.index;return Promise.resolve(he({collection:Ln,index:rr,node:Je,isKeySorting:jn},mt)).then(function(){})},function(rr,hr){if(Te._awaitingUpdateBeforeSortStart=!1,rr)throw hr;return hr});if(Xn&&Xn.then)return Xn.then(function(){})}}();return Sn&&Sn.then?Sn.then(Yt):Yt(Sn)}}();return Promise.resolve(Vt&&Vt.then?Vt.then(function(){}):void 0)}catch(Yt){return Promise.reject(Yt)}}),Object(a.a)(Object(r.a)(Object(r.a)(Te)),"handleSortMove",function(mt){var tn=Te.props.onSortMove;typeof mt.preventDefault=="function"&&mt.preventDefault(),Te.updateHelperPosition(mt),Te.animateNodes(),Te.autoscroll(),tn&&tn(mt)}),Object(a.a)(Object(r.a)(Object(r.a)(Te)),"handleSortEnd",function(mt){var tn=Te.props,Vt=tn.hideSortableGhost,Yt=tn.onSortEnd,Qt=Te.manager,an=Qt.active.collection,on=Qt.isKeySorting,vt=Te.manager.getOrderedRefs();Te.listenerNode&&(on?(Te.listenerNode.removeEventListener("wheel",Te.handleKeyEnd,!0),Te.listenerNode.removeEventListener("mousedown",Te.handleKeyEnd,!0),Te.listenerNode.removeEventListener("keydown",Te.handleKeyDown)):(C.move.forEach(function(Je){return Te.listenerNode.removeEventListener(Je,Te.handleSortMove)}),C.end.forEach(function(Je){return Te.listenerNode.removeEventListener(Je,Te.handleSortEnd)}))),Te.helper.parentNode.removeChild(Te.helper),Vt&&Te.sortableGhost&&S(Te.sortableGhost,{opacity:"",visibility:""});for(var de=0,he=vt.length;de<he;de++){var Pt=vt[de],We=Pt.node;Pt.edgeOffset=null,Pt.boundingClientRect=null,E(We,null),T(We,null),Pt.translate=null}Te.autoScroller.clear(),Te.manager.active=null,Te.manager.isKeySorting=!1,Te.setState({sorting:!1,sortingIndex:null}),typeof Yt=="function"&&Yt({collection:an,newIndex:Te.newIndex,oldIndex:Te.index,isKeySorting:on,nodes:vt},mt),Te.touched=!1}),Object(a.a)(Object(r.a)(Object(r.a)(Te)),"autoscroll",function(){var mt=Te.props.disableAutoscroll,tn=Te.manager.isKeySorting;if(mt){Te.autoScroller.clear();return}if(tn){var Vt=Object(g.a)({},Te.translate),Yt=0,Qt=0;Te.axis.x&&(Vt.x=Math.min(Te.maxTranslate.x,Math.max(Te.minTranslate.x,Te.translate.x)),Yt=Te.translate.x-Vt.x),Te.axis.y&&(Vt.y=Math.min(Te.maxTranslate.y,Math.max(Te.minTranslate.y,Te.translate.y)),Qt=Te.translate.y-Vt.y),Te.translate=Vt,E(Te.helper,Te.translate),Te.scrollContainer.scrollLeft+=Yt,Te.scrollContainer.scrollTop+=Qt;return}Te.autoScroller.update({height:Te.height,maxTranslate:Te.maxTranslate,minTranslate:Te.minTranslate,translate:Te.translate,width:Te.width})}),Object(a.a)(Object(r.a)(Object(r.a)(Te)),"onAutoScroll",function(mt){Te.translate.x+=mt.left,Te.translate.y+=mt.top,Te.animateNodes()}),Object(a.a)(Object(r.a)(Object(r.a)(Te)),"handleKeyDown",function(mt){var tn=mt.keyCode,Vt=Te.props,Yt=Vt.shouldCancelStart,Qt=Vt.keyCodes,an=Qt===void 0?{}:Qt,on=Object(g.a)({},Se,an);if(Te.manager.active&&!Te.manager.isKeySorting||!Te.manager.active&&(!on.lift.includes(tn)||Yt(mt)||!Te.isValidSortingTarget(mt)))return;mt.stopPropagation(),mt.preventDefault(),on.lift.includes(tn)&&!Te.manager.active?Te.keyLift(mt):on.drop.includes(tn)&&Te.manager.active?Te.keyDrop(mt):on.cancel.includes(tn)?(Te.newIndex=Te.manager.active.index,Te.keyDrop(mt)):on.up.includes(tn)?Te.keyMove(-1):on.down.includes(tn)&&Te.keyMove(1)}),Object(a.a)(Object(r.a)(Object(r.a)(Te)),"keyLift",function(mt){var tn=mt.target,Vt=D(tn,function(on){return on.sortableInfo!=null}),Yt=Vt.sortableInfo,Qt=Yt.index,an=Yt.collection;Te.initialFocusedNode=tn,Te.manager.isKeySorting=!0,Te.manager.active={index:Qt,collection:an},Te.handlePress(mt)}),Object(a.a)(Object(r.a)(Object(r.a)(Te)),"keyMove",function(mt){var tn=Te.manager.getOrderedRefs(),Vt=tn[tn.length-1].node.sortableInfo.index,Yt=Te.newIndex+mt,Qt=Te.newIndex;if(Yt<0||Yt>Vt)return;Te.prevIndex=Qt,Te.newIndex=Yt;var an=P(Te.newIndex,Te.prevIndex,Te.index),on=tn.find(function(jn){var Sn=jn.node;return Sn.sortableInfo.index===an}),vt=on.node,de=Te.containerScrollDelta,he=on.boundingClientRect||K(vt,de),Pt=on.translate||{x:0,y:0},We={top:he.top+Pt.y-de.top,left:he.left+Pt.x-de.left},Je=Qt<Yt,Ln={x:Je&&Te.axis.x?vt.offsetWidth-Te.width:0,y:Je&&Te.axis.y?vt.offsetHeight-Te.height:0};Te.handleSortMove({pageX:We.left+Ln.x,pageY:We.top+Ln.y,ignoreTransition:mt===0})}),Object(a.a)(Object(r.a)(Object(r.a)(Te)),"keyDrop",function(mt){Te.handleSortEnd(mt),Te.initialFocusedNode&&Te.initialFocusedNode.focus()}),Object(a.a)(Object(r.a)(Object(r.a)(Te)),"handleKeyEnd",function(mt){Te.manager.active&&Te.keyDrop(mt)}),Object(a.a)(Object(r.a)(Object(r.a)(Te)),"isValidSortingTarget",function(mt){var tn=Te.props.useDragHandle,Vt=mt.target,Yt=D(Vt,function(Qt){return Qt.sortableInfo!=null});return Yt&&Yt.sortableInfo&&!Yt.sortableInfo.disabled&&(tn?be(Vt):Vt.sortableInfo)}),tt(lt),Te.manager=new f,Te.events={end:Te.handleEnd,move:Te.handleMove,start:Te.handleStart},Te}return Object(A.a)(jt,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var Te=this,mt=this.props.useWindowAsScrollContainer,tn=this.getContainer();Promise.resolve(tn).then(function(Vt){Te.container=Vt,Te.document=Te.container.ownerDocument||document;var Yt=Te.props.contentWindow||Te.document.defaultView||window;Te.contentWindow=typeof Yt=="function"?Yt():Yt,Te.scrollContainer=mt?Te.document.scrollingElement||Te.document.documentElement:G(Te.container)||Te.container,Te.autoScroller=new ke(Te.scrollContainer,Te.onAutoScroll),Object.keys(Te.events).forEach(function(Qt){return C[Qt].forEach(function(an){return Te.container.addEventListener(an,Te.events[Qt],!1)})}),Te.container.addEventListener("keydown",Te.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var Te=this;if(this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),!this.container)return;Object.keys(this.events).forEach(function(mt){return C[mt].forEach(function(tn){return Te.container.removeEventListener(tn,Te.events[mt])})}),this.container.removeEventListener("keydown",this.handleKeyDown)}},{key:"updateHelperPosition",value:function(Te){var mt=this.props,tn=mt.lockAxis,Vt=mt.lockOffset,Yt=mt.lockToContainerEdges,Qt=mt.transitionDuration,an=mt.keyboardSortingTransitionDuration,on=an===void 0?Qt:an,vt=this.manager.isKeySorting,de=Te.ignoreTransition,he=j(Te),Pt={x:he.x-this.initialOffset.x,y:he.y-this.initialOffset.y};if(Pt.y-=window.pageYOffset-this.initialWindowScroll.top,Pt.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=Pt,Yt){var We=Y({height:this.height,lockOffset:Vt,width:this.width}),Je=Object(L.a)(We,2),Ln=Je[0],jn=Je[1],Sn={x:this.width/2-Ln.x,y:this.height/2-Ln.y},Xn={x:this.width/2-jn.x,y:this.height/2-jn.y};Pt.x=B(this.minTranslate.x+Sn.x,this.maxTranslate.x-Xn.x,Pt.x),Pt.y=B(this.minTranslate.y+Sn.y,this.maxTranslate.y-Xn.y,Pt.y)}tn==="x"?Pt.y=0:tn==="y"&&(Pt.x=0),vt&&on&&!de&&T(this.helper,on),E(this.helper,Pt)}},{key:"animateNodes",value:function(){var Te=this.props,mt=Te.transitionDuration,tn=Te.hideSortableGhost,Vt=Te.onSortOver,Yt=this.containerScrollDelta,Qt=this.windowScrollDelta,an=this.manager.getOrderedRefs(),on={left:this.offsetEdge.left+this.translate.x+Yt.left,top:this.offsetEdge.top+this.translate.y+Yt.top},vt=this.manager.isKeySorting,de=this.newIndex;this.newIndex=null;for(var he=0,Pt=an.length;he<Pt;he++){var We=an[he].node,Je=We.sortableInfo.index,Ln=We.offsetWidth,jn=We.offsetHeight,Sn={height:this.height>jn?jn/2:this.height/2,width:this.width>Ln?Ln/2:this.width/2},Xn=vt&&Je>this.index&&Je<=de,rr=vt&&Je<this.index&&Je>=de,hr={x:0,y:0},gn=an[he].edgeOffset;gn||(gn=k(We,this.container),an[he].edgeOffset=gn,vt&&(an[he].boundingClientRect=K(We,Yt)));var vn=he<an.length-1&&an[he+1],Ft=he>0&&an[he-1];if(vn&&!vn.edgeOffset&&(vn.edgeOffset=k(vn.node,this.container),vt&&(vn.boundingClientRect=K(vn.node,Yt))),Je===this.index){tn&&(this.sortableGhost=We,S(We,{opacity:0,visibility:"hidden"}));continue}mt&&T(We,mt),this.axis.x?this.axis.y?rr||Je<this.index&&(on.left+Qt.left-Sn.width<=gn.left&&on.top+Qt.top<=gn.top+Sn.height||on.top+Qt.top+Sn.height<=gn.top)?(hr.x=this.width+this.marginOffset.x,gn.left+hr.x>this.containerBoundingRect.width-Sn.width&&(vn&&(hr.x=vn.edgeOffset.left-gn.left,hr.y=vn.edgeOffset.top-gn.top)),this.newIndex===null&&(this.newIndex=Je)):(Xn||Je>this.index&&(on.left+Qt.left+Sn.width>=gn.left&&on.top+Qt.top+Sn.height>=gn.top||on.top+Qt.top+Sn.height>=gn.top+jn))&&(hr.x=-(this.width+this.marginOffset.x),gn.left+hr.x<this.containerBoundingRect.left+Sn.width&&(Ft&&(hr.x=Ft.edgeOffset.left-gn.left,hr.y=Ft.edgeOffset.top-gn.top)),this.newIndex=Je):Xn||Je>this.index&&on.left+Qt.left+Sn.width>=gn.left?(hr.x=-(this.width+this.marginOffset.x),this.newIndex=Je):(rr||Je<this.index&&on.left+Qt.left<=gn.left+Sn.width)&&(hr.x=this.width+this.marginOffset.x,this.newIndex==null&&(this.newIndex=Je)):this.axis.y&&(Xn||Je>this.index&&on.top+Qt.top+Sn.height>=gn.top?(hr.y=-(this.height+this.marginOffset.y),this.newIndex=Je):(rr||Je<this.index&&on.top+Qt.top<=gn.top+Sn.height)&&(hr.y=this.height+this.marginOffset.y,this.newIndex==null&&(this.newIndex=Je))),E(We,hr),an[he].translate=hr}this.newIndex==null&&(this.newIndex=this.index),vt&&(this.newIndex=de);var Ye=vt?this.prevIndex:de;Vt&&this.newIndex!==Ye&&Vt({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:Ye,isKeySorting:vt,nodes:an,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return c()(it.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 Te=this.props.getContainer;return typeof Te!="function"?Object(t.findDOMNode)(this):Te(it.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var Te=it.withRef?"wrappedInstance":null;return Object(s.createElement)(je,Object(y.a)({ref:Te},I(this.props,qe)))}},{key:"helperContainer",get:function(){var Te=this.props.helperContainer;return typeof Te=="function"?Te():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){var Te=this.props.useWindowAsScrollContainer;return Te?{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}}}]),jt}(s.Component),Object(a.a)(Me,"displayName",M("sortableList",je)),Object(a.a)(Me,"defaultProps",st),Object(a.a)(Me,"propTypes",pe),Object(a.a)(Me,"childContextTypes",{manager:l.a.object.isRequired}),Ne}var St={index:l.a.number.isRequired,collection:l.a.oneOfType([l.a.number,l.a.string]),disabled:l.a.bool},rt=Object.keys(St);function ht(je){var Me,Ne,it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return Ne=Me=function(wt){Object(d.a)(jt,wt);function jt(){return Object(v.a)(this,jt),Object(b.a)(this,Object(m.a)(jt).apply(this,arguments))}return Object(A.a)(jt,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(Te){this.node&&(Te.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),Te.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),Te.collection!==this.props.collection&&(this.unregister(Te.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var Te=this.props,mt=Te.collection,tn=Te.disabled,Vt=Te.index,Yt=Object(t.findDOMNode)(this);Yt.sortableInfo={collection:mt,disabled:tn,index:Vt,manager:this.context.manager},this.node=Yt,this.ref={node:Yt},this.context.manager.add(mt,this.ref)}},{key:"unregister",value:function(){var Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(Te,this.ref)}},{key:"getWrappedInstance",value:function(){return c()(it.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 Te=it.withRef?"wrappedInstance":null;return Object(s.createElement)(je,Object(y.a)({ref:Te},I(this.props,rt)))}}]),jt}(s.Component),Object(a.a)(Me,"displayName",M("sortableElement",je)),Object(a.a)(Me,"contextTypes",{manager:l.a.object.isRequired}),Object(a.a)(Me,"propTypes",St),Object(a.a)(Me,"defaultProps",{collection:0}),Ne}},YNAk:function(te,U,e){"use strict";var y=e("284h"),L=e("TqRt");Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var g=L(e("3tO9")),v=y(e("q1tI")),A=L(e("QyFq")),b=L(e("KQxl")),m=function(a,s){return v.createElement(b.default,(0,g.default)((0,g.default)({},a),{},{ref:s,icon:A.default}))};m.displayName="CaretDownFilled";var d=v.forwardRef(m);U.default=d},YNf1:function(te,U,e){var y=e("IwbS"),L=e("6Ic6"),g=.3,v=L.extend({type:"parallel",init:function(){this._dataGroup=new y.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(i,n,l,t){var u=this._dataGroup,o=i.getData(),c=this._data,h=i.coordinateSystem,f=h.dimensions,w=d(i);o.diff(c).add(x).update(I).remove(C).execute();function x(S){var E=m(o,u,S,f,h);r(E,o,S,w)}function I(S,E){var T=c.getItemGraphicEl(E),D=b(o,S,f,h);o.setItemGraphicEl(S,T);var B=t&&t.animation===!1?null:i;y.updateProps(T,{shape:{points:D}},B,S),r(T,o,S,w)}function C(S){var E=c.getItemGraphicEl(S);u.remove(E)}if(!this._initialized){this._initialized=!0;var N=A(h,i,function(){setTimeout(function(){u.removeClipPath()})});u.setClipPath(N)}this._data=o},incrementalPrepareRender:function(i,n,l){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(i,n,l){for(var t=n.getData(),u=n.coordinateSystem,o=u.dimensions,c=d(n),h=i.start;h<i.end;h++){var f=m(t,this._dataGroup,h,o,u);f.incremental=!0,r(f,t,h,c)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function A(i,n,l){var t=i.model,u=i.getRect(),o=new y.Rect({shape:{x:u.x,y:u.y,width:u.width,height:u.height}}),c=t.get("layout")==="horizontal"?"width":"height";return o.setShape(c,0),y.initProps(o,{shape:{width:u.width,height:u.height}},n,l),o}function b(i,n,l,t){for(var u=[],o=0;o<l.length;o++){var c=l[o],h=i.get(i.mapDimension(c),n);a(h,t.getAxis(c).type)||u.push(t.dataToPoint(h,c))}return u}function m(i,n,l,t,u){var o=b(i,l,t,u),c=new y.Polyline({shape:{points:o},silent:!0,z2:10});return n.add(c),i.setItemGraphicEl(l,c),c}function d(i){var n=i.get("smooth",!0);return n===!0&&(n=g),{lineStyle:i.getModel("lineStyle").getLineStyle(),smooth:n!=null?n:g}}function r(i,n,l,t){var u=t.lineStyle;if(n.hasItemOption){var o=n.getItemModel(l).getModel("lineStyle");u=o.getLineStyle()}i.useStyle(u);var c=i.style;c.fill=null,c.stroke=n.getItemVisual(l,"color"),c.opacity=n.getItemVisual(l,"opacity"),t.smooth&&(i.shape.smooth=t.smooth)}function a(i,n){return n==="category"?i==null:i==null||isNaN(i)}var s=v;te.exports=s},YOMW:function(te,U,e){var y=e("bYtY"),L={get:function(A,b,m){var d=y.clone((g[A]||{})[b]);return m&&y.isArray(d)?d[d.length-1]:d}},g={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},v=L;te.exports=v},YXkt:function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("bYtY"),v=e("Qxkt"),A=e("gPAo"),b=e("7G+c"),m=e("KxfA"),d=m.defaultDimValueGetters,r=m.DefaultDataProvider,a=e("L0Ub"),s=a.summarizeDimensions,i=e("Vi4m"),n=g.isObject,l="undefined",t=-1,u="e\0\0",o={float:typeof Float64Array===l?Array:Float64Array,int:typeof Int32Array===l?Array:Int32Array,ordinal:Array,number:Array,time:Array},c=typeof Uint32Array===l?Array:Uint32Array,h=typeof Int32Array===l?Array:Int32Array,f=typeof Uint16Array===l?Array:Uint16Array;function w(_){return _._rawCount>65535?c:f}function x(_){var G=_.constructor;return G===Array?_.slice():new G(_)}var I=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],C=["_extent","_approximateExtent","_rawExtent"];function N(_,G){g.each(I.concat(G.__wrappedMethods||[]),function(J){G.hasOwnProperty(J)&&(_[J]=G[J])}),_.__wrappedMethods=G.__wrappedMethods,g.each(C,function(J){_[J]=g.clone(G[J])}),_._calculationInfo=g.extend(G._calculationInfo)}var S=function(_,G){_=_||["x","y"];for(var J={},ue=[],q={},re=0;re<_.length;re++){var me=_[re];g.isString(me)?me=new i({name:me}):me instanceof i||(me=new i(me));var be=me.name;me.type=me.type||"float",me.coordDim||(me.coordDim=be,me.coordDimIndex=0),me.otherDims=me.otherDims||{},ue.push(be),J[be]=me,me.index=re,me.createInvertedIndices&&(q[be]=[])}this.dimensions=ue,this._dimensionInfos=J,this.hostModel=G,this.dataType,this._indices=null,this._count=0,this._rawCount=0,this._storage={},this._nameList=[],this._idList=[],this._optionModels=[],this._visual={},this._layout={},this._itemVisuals=[],this.hasItemVisual={},this._itemLayouts=[],this._graphicEls=[],this._chunkSize=1e5,this._chunkCount=0,this._rawData,this._rawExtent={},this._extent={},this._approximateExtent={},this._dimensionsSummary=s(this),this._invertedIndicesMap=q,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},E=S.prototype;E.type="list",E.hasItemOption=!0,E.getDimension=function(_){return(typeof _=="number"||!isNaN(_)&&!this._dimensionInfos.hasOwnProperty(_))&&(_=this.dimensions[_]),_},E.getDimensionInfo=function(_){return this._dimensionInfos[this.getDimension(_)]},E.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},E.mapDimension=function(_,G){var J=this._dimensionsSummary;if(G==null)return J.encodeFirstDimNotExtra[_];var ue=J.encode[_];return G===!0?(ue||[]).slice():ue&&ue[G]},E.initData=function(_,G,J){var ue=b.isInstance(_)||g.isArrayLike(_);ue&&(_=new r(_,this.dimensions.length)),this._rawData=_,this._storage={},this._indices=null,this._nameList=G||[],this._idList=[],this._nameRepeatCount={},J||(this.hasItemOption=!1),this.defaultDimValueGetter=d[this._rawData.getSource().sourceFormat],this._dimValueGetter=J=J||this.defaultDimValueGetter,this._dimValueGetterArrayRows=d.arrayRows,this._rawExtent={},this._initDataFromProvider(0,_.count()),_.pure&&(this.hasItemOption=!1)},E.getProvider=function(){return this._rawData},E.appendData=function(_){var G=this._rawData,J=this.count();G.appendData(_);var ue=G.count();G.persistent||(ue+=J),this._initDataFromProvider(J,ue)},E.appendValues=function(_,G){for(var J=this._chunkSize,ue=this._storage,q=this.dimensions,re=q.length,me=this._rawExtent,be=this.count(),ke=be+Math.max(_.length,G?G.length:0),ce=this._chunkCount,Ee=0;Ee<re;Ee++){var pe=q[Ee];me[pe]||(me[pe]=P()),ue[pe]||(ue[pe]=[]),T(ue,this._dimensionInfos[pe],J,ce,ke),this._chunkCount=ue[pe].length}for(var Se=new Array(re),st=be;st<ke;st++){for(var qe=st-be,tt=Math.floor(st/J),Dt=st%J,ct=0;ct<re;ct++){var pe=q[ct],St=this._dimValueGetterArrayRows(_[qe]||Se,pe,qe,ct);ue[pe][tt][Dt]=St;var rt=me[pe];St<rt[0]&&(rt[0]=St),St>rt[1]&&(rt[1]=St)}G&&(this._nameList[st]=G[qe])}this._rawCount=this._count=ke,this._extent={},D(this)},E._initDataFromProvider=function(_,G){if(_>=G)return;for(var J=this._chunkSize,ue=this._rawData,q=this._storage,re=this.dimensions,me=re.length,be=this._dimensionInfos,ke=this._nameList,ce=this._idList,Ee=this._rawExtent,pe=this._nameRepeatCount={},Se,st=this._chunkCount,qe=0;qe<me;qe++){var tt=re[qe];Ee[tt]||(Ee[tt]=P());var Dt=be[tt];Dt.otherDims.itemName===0&&(Se=this._nameDimIdx=qe),Dt.otherDims.itemId===0&&(this._idDimIdx=qe),q[tt]||(q[tt]=[]),T(q,Dt,J,st,G),this._chunkCount=q[tt].length}for(var ct=new Array(me),St=_;St<G;St++){ct=ue.getItem(St,ct);for(var rt=Math.floor(St/J),ht=St%J,je=0;je<me;je++){var tt=re[je],Me=q[tt][rt],Ne=this._dimValueGetter(ct,tt,St,je);Me[ht]=Ne;var it=Ee[tt];Ne<it[0]&&(it[0]=Ne),Ne>it[1]&&(it[1]=Ne)}if(!ue.pure){var wt=ke[St];if(ct&&wt==null){if(ct.name!=null)ke[St]=wt=ct.name;else if(Se!=null){var jt=re[Se],lt=q[jt][rt];if(lt){wt=lt[ht];var Te=be[jt].ordinalMeta;Te&&Te.categories.length&&(wt=Te.categories[wt])}}}var mt=ct==null?null:ct.id;mt==null&&wt!=null&&(pe[wt]=pe[wt]||0,mt=wt,pe[wt]>0&&(mt+="__ec__"+pe[wt]),pe[wt]++),mt!=null&&(ce[St]=mt)}}!ue.persistent&&ue.clean&&ue.clean(),this._rawCount=this._count=G,this._extent={},D(this)};function T(_,G,J,ue,q){var re=o[G.type],me=ue-1,be=G.name,ke=_[be][me];if(ke&&ke.length<J){for(var ce=new re(Math.min(q-me*J,J)),Ee=0;Ee<ke.length;Ee++)ce[Ee]=ke[Ee];_[be][me]=ce}for(var pe=ue*J;pe<q;pe+=J)_[be].push(new re(Math.min(q-pe,J)))}function D(_){var G=_._invertedIndicesMap;g.each(G,function(J,ue){var q=_._dimensionInfos[ue],re=q.ordinalMeta;if(re){J=G[ue]=new h(re.categories.length);for(var me=0;me<J.length;me++)J[me]=t;for(var me=0;me<_._count;me++)J[_.get(ue,me)]=me}})}function B(_,G,J){var ue;if(G!=null){var q=_._chunkSize,re=Math.floor(J/q),me=J%q,be=_.dimensions[G],ke=_._storage[be][re];if(ke){ue=ke[me];var ce=_._dimensionInfos[be].ordinalMeta;ce&&ce.categories.length&&(ue=ce.categories[ue])}}return ue}E.count=function(){return this._count},E.getIndices=function(){var _,G=this._indices;if(G){var J=G.constructor,ue=this._count;if(J===Array){_=new J(ue);for(var q=0;q<ue;q++)_[q]=G[q]}else _=new J(G.buffer,0,ue)}else for(var J=w(this),_=new J(this.count()),q=0;q<_.length;q++)_[q]=q;return _},E.get=function(_,G){if(!(G>=0&&G<this._count))return NaN;var J=this._storage;if(!J[_])return NaN;G=this.getRawIndex(G);var ue=Math.floor(G/this._chunkSize),q=G%this._chunkSize,re=J[_][ue],me=re[q];return me},E.getByRawIndex=function(_,G){if(!(G>=0&&G<this._rawCount))return NaN;var J=this._storage[_];if(!J)return NaN;var ue=Math.floor(G/this._chunkSize),q=G%this._chunkSize,re=J[ue];return re[q]},E._getFast=function(_,G){var J=Math.floor(G/this._chunkSize),ue=G%this._chunkSize,q=this._storage[_][J];return q[ue]},E.getValues=function(_,G){var J=[];g.isArray(_)||(G=_,_=this.dimensions);for(var ue=0,q=_.length;ue<q;ue++)J.push(this.get(_[ue],G));return J},E.hasValue=function(_){for(var G=this._dimensionsSummary.dataDimsOnCoord,J=0,ue=G.length;J<ue;J++)if(isNaN(this.get(G[J],_)))return!1;return!0},E.getDataExtent=function(_){_=this.getDimension(_);var G=this._storage[_],J=P();if(!G)return J;var ue=this.count(),q=!this._indices,re;if(q)return this._rawExtent[_].slice();if(re=this._extent[_],re)return re.slice();re=J;for(var me=re[0],be=re[1],ke=0;ke<ue;ke++){var ce=this._getFast(_,this.getRawIndex(ke));ce<me&&(me=ce),ce>be&&(be=ce)}return re=[me,be],this._extent[_]=re,re},E.getApproximateExtent=function(_){return _=this.getDimension(_),this._approximateExtent[_]||this.getDataExtent(_)},E.setApproximateExtent=function(_,G){G=this.getDimension(G),this._approximateExtent[G]=_.slice()},E.getCalculationInfo=function(_){return this._calculationInfo[_]},E.setCalculationInfo=function(_,G){n(_)?g.extend(this._calculationInfo,_):this._calculationInfo[_]=G},E.getSum=function(_){var G=this._storage[_],J=0;if(G)for(var ue=0,q=this.count();ue<q;ue++){var re=this.get(_,ue);isNaN(re)||(J+=re)}return J},E.getMedian=function(_){var G=[];this.each(_,function(q,re){isNaN(q)||G.push(q)});var J=[].concat(G).sort(function(q,re){return q-re}),ue=this.count();return ue===0?0:ue%2===1?J[(ue-1)/2]:(J[ue/2]+J[ue/2-1])/2},E.rawIndexOf=function(_,G){var J=_&&this._invertedIndicesMap[_],ue=J[G];return ue==null||isNaN(ue)?t:ue},E.indexOfName=function(_){for(var G=0,J=this.count();G<J;G++)if(this.getName(G)===_)return G;return-1},E.indexOfRawIndex=function(_){if(_>=this._rawCount||_<0)return-1;if(!this._indices)return _;var G=this._indices,J=G[_];if(J!=null&&J<this._count&&J===_)return _;for(var ue=0,q=this._count-1;ue<=q;){var re=(ue+q)/2|0;if(G[re]<_)ue=re+1;else if(G[re]>_)q=re-1;else return re}return-1},E.indicesOfNearest=function(_,G,J){var ue=this._storage,q=ue[_],re=[];if(!q)return re;J==null&&(J=Infinity);for(var me=Infinity,be=-1,ke=0,ce=0,Ee=this.count();ce<Ee;ce++){var pe=G-this.get(_,ce),Se=Math.abs(pe);Se<=J&&((Se<me||Se===me&&pe>=0&&be<0)&&(me=Se,be=pe,ke=0),pe===be&&(re[ke++]=ce))}return re.length=ke,re},E.getRawIndex=R;function R(_){return _}function F(_){return _<this._count&&_>=0?this._indices[_]:-1}E.getRawDataItem=function(_){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(_));for(var G=[],J=0;J<this.dimensions.length;J++){var ue=this.dimensions[J];G.push(this.get(ue,_))}return G},E.getName=function(_){var G=this.getRawIndex(_);return this._nameList[G]||B(this,this._nameDimIdx,G)||""},E.getId=function(_){return M(this,this.getRawIndex(_))};function M(_,G){var J=_._idList[G];return J==null&&(J=B(_,_._idDimIdx,G)),J==null&&(J=u+G),J}function K(_){return g.isArray(_)||(_=[_]),_}function j(_,G){for(var J=0;J<G.length;J++)_._dimensionInfos[G[J]]||console.error("Unkown dimension "+G[J])}E.each=function(_,G,J,ue){"use strict";if(!this._count)return;typeof _=="function"&&(ue=J,J=G,G=_,_=[]),J=J||ue||this,_=g.map(K(_),this.getDimension,this);for(var q=_.length,re=0;re<this.count();re++)switch(q){case 0:G.call(J,re);break;case 1:G.call(J,this.get(_[0],re),re);break;case 2:G.call(J,this.get(_[0],re),this.get(_[1],re),re);break;default:for(var me=0,be=[];me<q;me++)be[me]=this.get(_[me],re);be[me]=re,G.apply(J,be)}},E.filterSelf=function(_,G,J,ue){"use strict";if(!this._count)return;typeof _=="function"&&(ue=J,J=G,G=_,_=[]),J=J||ue||this,_=g.map(K(_),this.getDimension,this);for(var q=this.count(),re=w(this),me=new re(q),be=[],ke=_.length,ce=0,Ee=_[0],pe=0;pe<q;pe++){var Se,st=this.getRawIndex(pe);if(ke===0)Se=G.call(J,pe);else if(ke===1){var qe=this._getFast(Ee,st);Se=G.call(J,qe,pe)}else{for(var tt=0;tt<ke;tt++)be[tt]=this._getFast(Ee,st);be[tt]=pe,Se=G.apply(J,be)}Se&&(me[ce++]=st)}return ce<q&&(this._indices=me),this._count=ce,this._extent={},this.getRawIndex=this._indices?F:R,this},E.selectRange=function(_){"use strict";if(!this._count)return;var G=[];for(var J in _)_.hasOwnProperty(J)&&G.push(J);var ue=G.length;if(!ue)return;var q=this.count(),re=w(this),me=new re(q),be=0,ke=G[0],ce=_[ke][0],Ee=_[ke][1],pe=!1;if(!this._indices){var Se=0;if(ue===1){for(var st=this._storage[G[0]],qe=0;qe<this._chunkCount;qe++)for(var tt=st[qe],Dt=Math.min(this._count-qe*this._chunkSize,this._chunkSize),ct=0;ct<Dt;ct++){var St=tt[ct];(St>=ce&&St<=Ee||isNaN(St))&&(me[be++]=Se),Se++}pe=!0}else if(ue===2){for(var st=this._storage[ke],rt=this._storage[G[1]],ht=_[G[1]][0],je=_[G[1]][1],qe=0;qe<this._chunkCount;qe++)for(var tt=st[qe],Me=rt[qe],Dt=Math.min(this._count-qe*this._chunkSize,this._chunkSize),ct=0;ct<Dt;ct++){var St=tt[ct],Ne=Me[ct];(St>=ce&&St<=Ee||isNaN(St))&&(Ne>=ht&&Ne<=je||isNaN(Ne))&&(me[be++]=Se),Se++}pe=!0}}if(!pe)if(ue===1)for(var ct=0;ct<q;ct++){var it=this.getRawIndex(ct),St=this._getFast(ke,it);(St>=ce&&St<=Ee||isNaN(St))&&(me[be++]=it)}else for(var ct=0;ct<q;ct++){for(var wt=!0,it=this.getRawIndex(ct),qe=0;qe<ue;qe++){var jt=G[qe],St=this._getFast(J,it);(St<_[jt][0]||St>_[jt][1])&&(wt=!1)}wt&&(me[be++]=this.getRawIndex(ct))}return be<q&&(this._indices=me),this._count=be,this._extent={},this.getRawIndex=this._indices?F:R,this},E.mapArray=function(_,G,J,ue){"use strict";typeof _=="function"&&(ue=J,J=G,G=_,_=[]),J=J||ue||this;var q=[];return this.each(_,function(){q.push(G&&G.apply(this,arguments))},J),q};function H(_,G){var J=_.dimensions,ue=new S(g.map(J,_.getDimensionInfo,_),_.hostModel);N(ue,_);for(var q=ue._storage={},re=_._storage,me=0;me<J.length;me++){var be=J[me];re[be]&&(g.indexOf(G,be)>=0?(q[be]=k(re[be]),ue._rawExtent[be]=P(),ue._extent[be]=null):q[be]=re[be])}return ue}function k(_){for(var G=new Array(_.length),J=0;J<_.length;J++)G[J]=x(_[J]);return G}function P(){return[Infinity,-Infinity]}E.map=function(_,G,J,ue){"use strict";J=J||ue||this,_=g.map(K(_),this.getDimension,this);var q=H(this,_);q._indices=this._indices,q.getRawIndex=q._indices?F:R;for(var re=q._storage,me=[],be=this._chunkSize,ke=_.length,ce=this.count(),Ee=[],pe=q._rawExtent,Se=0;Se<ce;Se++){for(var st=0;st<ke;st++)Ee[st]=this.get(_[st],Se);Ee[ke]=Se;var qe=G&&G.apply(J,Ee);if(qe!=null){typeof qe!="object"&&(me[0]=qe,qe=me);for(var tt=this.getRawIndex(Se),Dt=Math.floor(tt/be),ct=tt%be,St=0;St<qe.length;St++){var rt=_[St],ht=qe[St],je=pe[rt],Me=re[rt];Me&&(Me[Dt][ct]=ht),ht<je[0]&&(je[0]=ht),ht>je[1]&&(je[1]=ht)}}}return q},E.downSample=function(_,G,J,ue){for(var q=H(this,[_]),re=q._storage,me=[],be=Math.floor(1/G),ke=re[_],ce=this.count(),Ee=this._chunkSize,pe=q._rawExtent[_],Se=new(w(this))(ce),st=0,qe=0;qe<ce;qe+=be){be>ce-qe&&(be=ce-qe,me.length=be);for(var tt=0;tt<be;tt++){var Dt=this.getRawIndex(qe+tt),ct=Math.floor(Dt/Ee),St=Dt%Ee;me[tt]=ke[ct][St]}var rt=J(me),ht=this.getRawIndex(Math.min(qe+ue(me,rt)||0,ce-1)),je=Math.floor(ht/Ee),Me=ht%Ee;ke[je][Me]=rt,rt<pe[0]&&(pe[0]=rt),rt>pe[1]&&(pe[1]=rt),Se[st++]=ht}return q._count=st,q._indices=Se,q.getRawIndex=F,q},E.getItemModel=function(_){var G=this.hostModel;return new v(this.getRawDataItem(_),G,G&&G.ecModel)},E.diff=function(_){var G=this;return new A(_?_.getIndices():[],this.getIndices(),function(J){return M(_,J)},function(J){return M(G,J)})},E.getVisual=function(_){var G=this._visual;return G&&G[_]},E.setVisual=function(_,G){if(n(_)){for(var J in _)_.hasOwnProperty(J)&&this.setVisual(J,_[J]);return}this._visual=this._visual||{},this._visual[_]=G},E.setLayout=function(_,G){if(n(_)){for(var J in _)_.hasOwnProperty(J)&&this.setLayout(J,_[J]);return}this._layout[_]=G},E.getLayout=function(_){return this._layout[_]},E.getItemLayout=function(_){return this._itemLayouts[_]},E.setItemLayout=function(_,G,J){this._itemLayouts[_]=J?g.extend(this._itemLayouts[_]||{},G):G},E.clearItemLayouts=function(){this._itemLayouts.length=0},E.getItemVisual=function(_,G,J){var ue=this._itemVisuals[_],q=ue&&ue[G];return q==null&&!J?this.getVisual(G):q},E.setItemVisual=function(_,G,J){var ue=this._itemVisuals[_]||{},q=this.hasItemVisual;if(this._itemVisuals[_]=ue,n(G)){for(var re in G)G.hasOwnProperty(re)&&(ue[re]=G[re],q[re]=!0);return}ue[G]=J,q[G]=!0},E.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var z=function(_){_.seriesIndex=this.seriesIndex,_.dataIndex=this.dataIndex,_.dataType=this.dataType};E.setItemGraphicEl=function(_,G){var J=this.hostModel;G&&(G.dataIndex=_,G.dataType=this.dataType,G.seriesIndex=J&&J.seriesIndex,G.type==="group"&&G.traverse(z,G)),this._graphicEls[_]=G},E.getItemGraphicEl=function(_){return this._graphicEls[_]},E.eachItemGraphicEl=function(_,G){g.each(this._graphicEls,function(J,ue){J&&(_&&_.call(G,J,ue))})},E.cloneShallow=function(_){if(!_){var G=g.map(this.dimensions,this.getDimensionInfo,this);_=new S(G,this.hostModel)}if(_._storage=this._storage,N(_,this),this._indices){var J=this._indices.constructor;_._indices=new J(this._indices)}else _._indices=null;return _.getRawIndex=_._indices?F:R,_},E.wrapMethod=function(_,G){var J=this[_];if(typeof J!="function")return;this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(_),this[_]=function(){var ue=J.apply(this,arguments);return G.apply(this,[ue].concat(g.slice(arguments)))}},E.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],E.CHANGABLE_METHODS=["filterSelf","selectRange"];var Y=S;te.exports=Y},YgsL:function(te,U,e){var y=e("QBsz"),L=y.distance;function g(A,b,m,d,r,a,s){var i=(m-A)*.5,n=(d-b)*.5;return(2*(b-m)+i+n)*s+(-3*(b-m)-2*i-n)*a+i*r+b}function v(A,b){for(var m=A.length,d=[],r=0,a=1;a<m;a++)r+=L(A[a-1],A[a]);var s=r/2;s=s<m?m:s;for(var a=0;a<s;a++){var i=a/(s-1)*(b?m:m-1),n=Math.floor(i),l=i-n,t,u=A[n%m],o,c;b?(t=A[(n-1+m)%m],o=A[(n+1)%m],c=A[(n+2)%m]):(t=A[n===0?n:n-1],o=A[n>m-2?m-1:n+1],c=A[n>m-3?m-1:n+2]);var h=l*l,f=l*h;d.push([g(t[0],u[0],o[0],c[0],l,h,f),g(t[1],u[1],o[1],c[1],l,h,f)])}return d}te.exports=v},Yl7c:function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("bYtY"),v=".",A="___EC__COMPONENT__CONTAINER___";function b(t){var u={main:"",sub:""};return t&&(t=t.split(v),u.main=t[0]||"",u.sub=t[1]||""),u}function m(t){g.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function d(t,u){t.$constructor=t,t.extend=function(o){var c=this,h=function(){o.$constructor?o.$constructor.apply(this,arguments):c.apply(this,arguments)};return g.extend(h.prototype,o),h.extend=this.extend,h.superCall=s,h.superApply=i,g.inherits(h,this),h.superClass=c,h}}var r=0;function a(t){var u=["__\0is_clz",r++,Math.random().toFixed(3)].join("_");t.prototype[u]=!0,t.isInstance=function(o){return!!(o&&o[u])}}function s(t,u){var o=g.slice(arguments,2);return this.superClass.prototype[u].apply(t,o)}function i(t,u,o){return this.superClass.prototype[u].apply(t,o)}function n(t,u){u=u||{};var o={};t.registerClass=function(f,w){if(w){if(m(w),w=b(w),!w.sub)o[w.main]=f;else if(w.sub!==A){var x=c(w);x[w.sub]=f}}return f},t.getClass=function(f,w,x){var I=o[f];if(I&&I[A]&&(I=w?I[w]:null),x&&!I)throw new Error(w?"Component "+f+"."+(w||"")+" not exists. Load it first.":f+".type should be specified.");return I},t.getClassesByMainType=function(f){f=b(f);var w=[],x=o[f.main];return x&&x[A]?g.each(x,function(I,C){C!==A&&w.push(I)}):w.push(x),w},t.hasClass=function(f){return f=b(f),!!o[f.main]},t.getAllClassMainTypes=function(){var f=[];return g.each(o,function(w,x){f.push(x)}),f},t.hasSubTypes=function(f){f=b(f);var w=o[f.main];return w&&w[A]},t.parseClassType=b;function c(f){var w=o[f.main];return(!w||!w[A])&&(w=o[f.main]={},w[A]=!0),w}if(u.registerWhenExtend){var h=t.extend;h&&(t.extend=function(f){var w=h.call(this,f);return t.registerClass(w,f.type)})}return t}function l(t,u){}U.parseClassType=b,U.enableClassExtend=d,U.enableClassCheck=a,U.enableClassManagement=n,U.setReadOnly=l},Ynxi:function(te,U,e){var y=e("bYtY"),L=e("ProS"),g=e("IwbS"),v=e("+TT/"),A=v.getLayoutRect,b=e("7aKB"),m=b.windowOpen;L.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"}}}),L.extendComponentView({type:"title",render:function(d,r,a){if(this.group.removeAll(),!d.get("show"))return;var s=this.group,i=d.getModel("textStyle"),n=d.getModel("subtextStyle"),l=d.get("textAlign"),t=y.retrieve2(d.get("textBaseline"),d.get("textVerticalAlign")),u=new g.Text({style:g.setTextStyle({},i,{text:d.get("text"),textFill:i.getTextColor()},{disableBox:!0}),z2:10}),o=u.getBoundingRect(),c=d.get("subtext"),h=new g.Text({style:g.setTextStyle({},n,{text:c,textFill:n.getTextColor(),y:o.height+d.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),f=d.get("link"),w=d.get("sublink"),x=d.get("triggerEvent",!0);u.silent=!f&&!x,h.silent=!w&&!x,f&&u.on("click",function(){m(f,"_"+d.get("target"))}),w&&h.on("click",function(){m(f,"_"+d.get("subtarget"))}),u.eventData=h.eventData=x?{componentType:"title",componentIndex:d.componentIndex}:null,s.add(u),c&&s.add(h);var I=s.getBoundingRect(),C=d.getBoxLayoutParams();C.width=I.width,C.height=I.height;var N=A(C,{width:a.getWidth(),height:a.getHeight()},d.get("padding"));l||(l=d.get("left")||d.get("right"),l==="middle"&&(l="center"),l==="right"?N.x+=N.width:l==="center"&&(N.x+=N.width/2)),t||(t=d.get("top")||d.get("bottom"),t==="center"&&(t="middle"),t==="bottom"?N.y+=N.height:t==="middle"&&(N.y+=N.height/2),t=t||"top"),s.attr("position",[N.x,N.y]);var S={textAlign:l,textVerticalAlign:t};u.setStyle(S),h.setStyle(S),I=s.getBoundingRect();var E=N.margin,T=d.getItemStyle(["color","opacity"]);T.fill=d.get("backgroundColor");var D=new g.Rect({shape:{x:I.x-E[3],y:I.y-E[0],width:I.width+E[1]+E[3],height:I.height+E[0]+E[2],r:d.get("borderRadius")},style:T,subPixelOptimize:!0,silent:!0});s.add(D)}})},Ywus:function(te,U,e){"use strict";var y=e("284h"),L=e("TqRt");Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var g=L(e("3tO9")),v=y(e("q1tI")),A=L(e("DO2E")),b=L(e("KQxl")),m=function(a,s){return v.createElement(b.default,(0,g.default)((0,g.default)({},a),{},{ref:s,icon:A.default}))};m.displayName="DeleteOutlined";var d=v.forwardRef(m);U.default=d},Z0Lh:function(te,U,e){"use strict";var y=e("TqRt");Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var L=y(e("pVnL")),g=y(e("HjOm")),v=y(e("Z6rY")),A={lang:(0,L.default)({placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"]},g.default),timePickerLocale:(0,L.default)({},v.default)};A.lang.ok="\u786E \u5B9A";var b=A;U.default=b},Z1HP:function(te,U,e){var y=e("ycre"),L=e("quyA"),g=e("q4HE");function v(A){return L(A)?g(A):y(A)}te.exports=v},Z1r0:function(te,U){function e(y){var L=y.findComponents({mainType:"legend"});if(!L||!L.length)return;y.eachSeriesByType("graph",function(g){var v=g.getCategoriesData(),A=g.getGraph(),b=A.data,m=v.mapArray(v.getName);b.filterSelf(function(d){var r=b.getItemModel(d),a=r.getShallow("category");if(a!=null){typeof a=="number"&&(a=m[a]);for(var s=0;s<L.length;s++)if(!L[s].isSelected(a))return!1}return!0})},this)}te.exports=e},Z1wy:function(te,U,e){var y=e("ProS");e("ThAp"),e("pmaE"),e("SehX"),e("7uqq");var L=e("zuHt"),g=e("VPsl"),v=e("9u0u"),A=e("lELe"),b=e("d4KN");y.registerLayout(L),y.registerVisual(g),y.registerProcessor(y.PRIORITY.PROCESSOR.STATISTIC,v),y.registerPreprocessor(A),b("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},Z6js:function(te,U,e){var y=e("MwEJ"),L=e("T4UG"),g=L.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(v,A){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}});te.exports=g},Z6rY:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]},L=y;U.default=L},Z8zF:function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("ProS"),v=e("bYtY"),A=e("IwbS"),b=e("56rv"),m=b.setLabel,d=e("Qxkt"),r=e("tceW"),a=e("y+Vt"),s=e("4fz+"),i=e("iLNv"),n=i.throttle,l=e("sK/D"),t=l.createClipPath,u=e("wr5s"),o=["itemStyle","barBorderWidth"],c=[0,0];v.extend(d.prototype,r);function h(z,Y){var _=z.getArea&&z.getArea();if(z.type==="cartesian2d"){var G=z.getBaseAxis();if(G.type!=="category"||!G.onBand){var J=Y.getLayout("bandWidth");G.isHorizontal()?(_.x-=J,_.width+=J*2):(_.y-=J,_.height+=J*2)}}return _}var f=g.extendChartView({type:"bar",render:function(z,Y,_){this._updateDrawMode(z);var G=z.get("coordinateSystem");return(G==="cartesian2d"||G==="polar")&&(this._isLargeDraw?this._renderLarge(z,Y,_):this._renderNormal(z,Y,_)),this.group},incrementalPrepareRender:function(z,Y,_){this._clear(),this._updateDrawMode(z)},incrementalRender:function(z,Y,_,G){this._incrementalRenderLarge(z,Y)},_updateDrawMode:function(z){var Y=z.pipelineContext.large;(this._isLargeDraw==null||Y^this._isLargeDraw)&&(this._isLargeDraw=Y,this._clear())},_renderNormal:function(z,Y,_){var G=this.group,J=z.getData(),ue=this._data,q=z.coordinateSystem,re=q.getBaseAxis(),me;q.type==="cartesian2d"?me=re.isHorizontal():q.type==="polar"&&(me=re.dim==="angle");var be=z.isAnimationEnabled()?z:null,ke=z.get("clip",!0),ce=h(q,J);G.removeClipPath();var Ee=z.get("roundCap",!0),pe=z.get("showBackground",!0),Se=z.getModel("backgroundStyle"),st=Se.get("barBorderRadius")||0,qe=[],tt=this._backgroundEls||[];J.diff(ue).add(function(St){var rt=J.getItemModel(St),ht=E[q.type](J,St,rt);if(pe){var je=E[q.type](J,St),Me=P(q,me,je);Me.useStyle(Se.getBarItemStyle()),q.type==="cartesian2d"&&Me.setShape("r",st),qe[St]=Me}if(!J.hasValue(St))return;if(ke){var Ne=I[q.type](ce,ht);if(Ne){G.remove(it);return}}var it=C[q.type](St,ht,me,be,!1,Ee);J.setItemGraphicEl(St,it),G.add(it),D(it,J,St,rt,ht,z,me,q.type==="polar")}).update(function(St,rt){var ht=J.getItemModel(St),je=E[q.type](J,St,ht);if(pe){var Me=tt[rt];Me.useStyle(Se.getBarItemStyle()),q.type==="cartesian2d"&&Me.setShape("r",st),qe[St]=Me;var Ne=E[q.type](J,St),it=k(me,Ne,q);A.updateProps(Me,{shape:it},be,St)}var wt=ue.getItemGraphicEl(rt);if(!J.hasValue(St)){G.remove(wt);return}if(ke){var jt=I[q.type](ce,je);if(jt){G.remove(wt);return}}wt?A.updateProps(wt,{shape:je},be,St):wt=C[q.type](St,je,me,be,!0,Ee),J.setItemGraphicEl(St,wt),G.add(wt),D(wt,J,St,ht,je,z,me,q.type==="polar")}).remove(function(St){var rt=ue.getItemGraphicEl(St);q.type==="cartesian2d"?rt&&N(St,be,rt):rt&&S(St,be,rt)}).execute();var Dt=this._backgroundGroup||(this._backgroundGroup=new s);Dt.removeAll();for(var ct=0;ct<qe.length;++ct)Dt.add(qe[ct]);G.add(Dt),this._backgroundEls=qe,this._data=J},_renderLarge:function(z,Y,_){this._clear(),F(z,this.group);var G=z.get("clip",!0)?t(z.coordinateSystem,!1,z):null;G?this.group.setClipPath(G):this.group.removeClipPath()},_incrementalRenderLarge:function(z,Y){this._removeBackground(),F(Y,this.group,!0)},dispose:v.noop,remove:function(z){this._clear(z)},_clear:function(z){var Y=this.group,_=this._data;z&&z.get("animation")&&_&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],_.eachItemGraphicEl(function(G){G.type==="sector"?S(G.dataIndex,z,G):N(G.dataIndex,z,G)})):Y.removeAll(),this._data=null},_removeBackground:function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null}}),w=Math.max,x=Math.min,I={cartesian2d:function(z,Y){var _=Y.width<0?-1:1,G=Y.height<0?-1:1;_<0&&(Y.x+=Y.width,Y.width=-Y.width),G<0&&(Y.y+=Y.height,Y.height=-Y.height);var J=w(Y.x,z.x),ue=x(Y.x+Y.width,z.x+z.width),q=w(Y.y,z.y),re=x(Y.y+Y.height,z.y+z.height);Y.x=J,Y.y=q,Y.width=ue-J,Y.height=re-q;var me=Y.width<0||Y.height<0;return _<0&&(Y.x+=Y.width,Y.width=-Y.width),G<0&&(Y.y+=Y.height,Y.height=-Y.height),me},polar:function(z){return!1}},C={cartesian2d:function(z,Y,_,G,J){var ue=new A.Rect({shape:v.extend({},Y),z2:1});if(ue.name="item",G){var q=ue.shape,re=_?"height":"width",me={};q[re]=0,me[re]=Y[re],A[J?"updateProps":"initProps"](ue,{shape:me},G,z)}return ue},polar:function(z,Y,_,G,J,ue){var q=Y.startAngle<Y.endAngle,re=!_&&ue?u:A.Sector,me=new re({shape:v.defaults({clockwise:q},Y),z2:1});if(me.name="item",G){var be=me.shape,ke=_?"r":"endAngle",ce={};be[ke]=_?0:Y.startAngle,ce[ke]=Y[ke],A[J?"updateProps":"initProps"](me,{shape:ce},G,z)}return me}};function N(z,Y,_){_.style.text=null,A.updateProps(_,{shape:{width:0}},Y,z,function(){_.parent&&_.parent.remove(_)})}function S(z,Y,_){_.style.text=null,A.updateProps(_,{shape:{r:_.shape.r0}},Y,z,function(){_.parent&&_.parent.remove(_)})}var E={cartesian2d:function(z,Y,_){var G=z.getItemLayout(Y),J=_?B(_,G):0,ue=G.width>0?1:-1,q=G.height>0?1:-1;return{x:G.x+ue*J/2,y:G.y+q*J/2,width:G.width-ue*J,height:G.height-q*J}},polar:function(z,Y,_){var G=z.getItemLayout(Y);return{cx:G.cx,cy:G.cy,r0:G.r0,r:G.r,startAngle:G.startAngle,endAngle:G.endAngle}}};function T(z){return z.startAngle!=null&&z.endAngle!=null&&z.startAngle===z.endAngle}function D(z,Y,_,G,J,ue,q,re){var me=Y.getItemVisual(_,"color"),be=Y.getItemVisual(_,"opacity"),ke=Y.getVisual("borderColor"),ce=G.getModel("itemStyle"),Ee=G.getModel("emphasis.itemStyle").getBarItemStyle();re||z.setShape("r",ce.get("barBorderRadius")||0),z.useStyle(v.defaults({stroke:T(J)?"none":ke,fill:T(J)?"none":me,opacity:be},ce.getBarItemStyle()));var pe=G.getShallow("cursor");pe&&z.attr("cursor",pe);var Se=q?J.height>0?"bottom":"top":J.width>0?"left":"right";re||m(z.style,Ee,G,me,ue,_,Se),T(J)&&(Ee.fill=Ee.stroke="none"),A.setHoverStyle(z,Ee)}function B(z,Y){var _=z.get(o)||0,G=isNaN(Y.width)?Number.MAX_VALUE:Math.abs(Y.width),J=isNaN(Y.height)?Number.MAX_VALUE:Math.abs(Y.height);return Math.min(_,G,J)}var R=a.extend({type:"largeBar",shape:{points:[]},buildPath:function(z,Y){for(var _=Y.points,G=this.__startPoint,J=this.__baseDimIdx,ue=0;ue<_.length;ue+=2)G[J]=_[ue+J],z.moveTo(G[0],G[1]),z.lineTo(_[ue],_[ue+1])}});function F(z,Y,_){var G=z.getData(),J=[],ue=G.getLayout("valueAxisHorizontal")?1:0;J[1-ue]=G.getLayout("valueAxisStart");var q=G.getLayout("largeDataIndices"),re=G.getLayout("barWidth"),me=z.getModel("backgroundStyle"),be=z.get("showBackground",!0);if(be){var ke=G.getLayout("largeBackgroundPoints"),ce=[];ce[1-ue]=G.getLayout("backgroundStart");var Ee=new R({shape:{points:ke},incremental:!!_,__startPoint:ce,__baseDimIdx:ue,__largeDataIndices:q,__barWidth:re,silent:!0,z2:0});H(Ee,me,G),Y.add(Ee)}var pe=new R({shape:{points:G.getLayout("largePoints")},incremental:!!_,__startPoint:J,__baseDimIdx:ue,__largeDataIndices:q,__barWidth:re});Y.add(pe),j(pe,z,G),pe.seriesIndex=z.seriesIndex,z.get("silent")||(pe.on("mousedown",M),pe.on("mousemove",M))}var M=n(function(z){var Y=this,_=K(Y,z.offsetX,z.offsetY);Y.dataIndex=_>=0?_:null},30,!1);function K(z,Y,_){var G=z.__baseDimIdx,J=1-G,ue=z.shape.points,q=z.__largeDataIndices,re=Math.abs(z.__barWidth/2),me=z.__startPoint[J];c[0]=Y,c[1]=_;for(var be=c[G],ke=c[1-G],ce=be-re,Ee=be+re,pe=0,Se=ue.length/2;pe<Se;pe++){var st=pe*2,qe=ue[st+G],tt=ue[st+J];if(qe>=ce&&qe<=Ee&&(me<=tt?ke>=me&&ke<=tt:ke>=tt&&ke<=me))return q[pe]}return-1}function j(z,Y,_){var G=_.getVisual("borderColor")||_.getVisual("color"),J=Y.getModel("itemStyle").getItemStyle(["color","borderColor"]);z.useStyle(J),z.style.fill=null,z.style.stroke=G,z.style.lineWidth=_.getLayout("barWidth")}function H(z,Y,_){var G=Y.get("borderColor")||Y.get("color"),J=Y.getItemStyle(["color","borderColor"]);z.useStyle(J),z.style.fill=null,z.style.stroke=G,z.style.lineWidth=_.getLayout("barWidth")}function k(z,Y,_){var G,J=_.type==="polar";return J?G=_.getArea():G=_.grid.getRect(),J?{cx:G.cx,cy:G.cy,r0:z?G.r0:Y.r0,r:z?G.r:Y.r,startAngle:z?Y.startAngle:0,endAngle:z?Y.endAngle:Math.PI*2}:{x:z?Y.x:G.x,y:z?G.y:Y.y,width:z?Y.width:G.width,height:z?G.height:Y.height}}function P(z,Y,_){var G=z.type==="polar"?A.Sector:A.Rect;return new G({shape:k(Y,_,z),silent:!0,z2:0})}te.exports=f},ZCgT:function(te,U,e){var y=e("tLB3"),L=1/0,g=17976931348623157e292;function v(A){if(!A)return A===0?A:0;if(A=y(A),A===L||A===-L){var b=A<0?-1:1;return b*g}return A===A?A:0}te.exports=v},ZLWo:function(te,U,e){"use strict";Object.defineProperty(U,"__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"};U.default=y},ZMnZ:function(te,U,e){"use strict";var y=e("284h"),L=e("TqRt");Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var g=L(e("3tO9")),v=y(e("q1tI")),A=L(e("2oIt")),b=L(e("KQxl")),m=function(a,s){return v.createElement(b.default,(0,g.default)((0,g.default)({},a),{},{ref:s,icon:A.default}))};m.displayName="UpOutlined";var d=v.forwardRef(m);U.default=d},ZTPi:function(te,U,e){"use strict";var y=e("pVnL"),L=e.n(y),g=e("lSNA"),v=e.n(g),A=e("q1tI"),b=e("rePB"),m=e("ODXe"),d=e("Ff2n"),r=e("VTBJ"),a=e("TSYQ"),s=e.n(a),i=e("Zm9Q"),n=e("6cGi"),l=e("KQm4"),t=e("xEkU"),u=e.n(t),o=e("t23M");function c(hn){var Rn=Object(A.useRef)(),Yn=Object(A.useRef)(!1);function En(){for(var Mt=arguments.length,mn=new Array(Mt),zt=0;zt<Mt;zt++)mn[zt]=arguments[zt];Yn.current||(u.a.cancel(Rn.current),Rn.current=u()(function(){hn.apply(void 0,mn)}))}return Object(A.useEffect)(function(){return function(){Yn.current=!0,u.a.cancel(Rn.current)}},[]),En}function h(hn){var Rn=Object(A.useRef)([]),Yn=Object(A.useState)({}),En=Object(m.a)(Yn,2),Mt=En[1],mn=Object(A.useRef)(typeof hn=="function"?hn():hn),zt=c(function(){var kn=mn.current;Rn.current.forEach(function(pr){kn=pr(kn)}),Rn.current=[],mn.current=kn,Mt({})});function _n(kn){Rn.current.push(kn),zt()}return[mn.current,_n]}var f=e("4IlW");function w(hn,Rn){var Yn,En=hn.prefixCls,Mt=hn.id,mn=hn.active,zt=hn.rtl,_n=hn.tab,kn=_n.key,pr=_n.tab,or=_n.disabled,yr=_n.closeIcon,_r=hn.tabBarGutter,Yr=hn.tabPosition,Jr=hn.closable,Ci=hn.renderWrapper,ta=hn.removeAriaLabel,oa=hn.editable,da=hn.onClick,ua=hn.onRemove,ma=hn.onFocus,ki="".concat(En,"-tab");A.useEffect(function(){return ua},[]);var Di={};Yr==="top"||Yr==="bottom"?Di[zt?"marginLeft":"marginRight"]=_r:Di.marginBottom=_r;var na=oa&&Jr!==!1&&!or;function qi(Zi){if(or)return;da(Zi)}function va(Zi){Zi.preventDefault(),Zi.stopPropagation(),oa.onEdit("remove",{key:kn,event:Zi})}var Ta=A.createElement("div",{key:kn,ref:Rn,className:s()(ki,(Yn={},Object(b.a)(Yn,"".concat(ki,"-with-remove"),na),Object(b.a)(Yn,"".concat(ki,"-active"),mn),Object(b.a)(Yn,"".concat(ki,"-disabled"),or),Yn)),style:Di,onClick:qi},A.createElement("div",{role:"tab","aria-selected":mn,id:Mt&&"".concat(Mt,"-tab-").concat(kn),className:"".concat(ki,"-btn"),"aria-controls":Mt&&"".concat(Mt,"-panel-").concat(kn),"aria-disabled":or,tabIndex:or?null:0,onClick:function(Qi){Qi.stopPropagation(),qi(Qi)},onKeyDown:function(Qi){[f.a.SPACE,f.a.ENTER].includes(Qi.which)&&(Qi.preventDefault(),qi(Qi))},onFocus:ma},pr),na&&A.createElement("button",{type:"button","aria-label":ta||"remove",tabIndex:0,className:"".concat(ki,"-remove"),onClick:function(Qi){Qi.stopPropagation(),va(Qi)}},yr||oa.removeIcon||"\xD7"));return Ci&&(Ta=Ci(Ta)),Ta}var x=A.forwardRef(w),I={width:0,height:0,left:0,top:0};function C(hn,Rn,Yn){return Object(A.useMemo)(function(){for(var En,Mt=new Map,mn=Rn.get((En=hn[0])===null||En===void 0?void 0:En.key)||I,zt=mn.left+mn.width,_n=0;_n<hn.length;_n+=1){var kn=hn[_n].key,pr=Rn.get(kn);if(!pr){var or;pr=Rn.get((or=hn[_n-1])===null||or===void 0?void 0:or.key)||I}var yr=Mt.get(kn)||Object(r.a)({},pr);yr.right=zt-yr.left-yr.width,Mt.set(kn,yr)}return Mt},[hn.map(function(En){return En.key}).join("_"),Rn,Yn])}var N={width:0,height:0,left:0,top:0,right:0};function S(hn,Rn,Yn,En,Mt){var mn=Mt.tabs,zt=Mt.tabPosition,_n=Mt.rtl,kn,pr,or;["top","bottom"].includes(zt)?(kn="width",pr=_n?"right":"left",or=Math.abs(Rn.left)):(kn="height",pr="top",or=-Rn.top);var yr=Rn[kn],_r=Yn[kn],Yr=En[kn],Jr=yr;return _r+Yr>yr&&(Jr=yr-Yr),Object(A.useMemo)(function(){if(!mn.length)return[0,0];for(var Ci=mn.length,ta=Ci,oa=0;oa<Ci;oa+=1){var da=hn.get(mn[oa].key)||N;if(da[pr]+da[kn]>or+Jr){ta=oa-1;break}}for(var ua=0,ma=Ci-1;ma>=0;ma-=1){var ki=hn.get(mn[ma].key)||N;if(ki[pr]<or){ua=ma+1;break}}return[ua,ta]},[hn,or,Jr,zt,mn.map(function(Ci){return Ci.key}).join("_"),_n])}var E=e("wx14"),T=e("1OyB"),D=e("vuIU"),B=e("JX7q"),R=e("Ji7U"),F=e("LK+K"),M=e("I8Z2"),K=e("bT9E"),j=e("2GS6"),H=e("Gytx"),k=e.n(H),P=e("U8pU"),z=/iPhone/i,Y=/iPod/i,_=/iPad/i,G=/\bAndroid(?:.+)Mobile\b/i,J=/Android/i,ue=/\bAndroid(?:.+)SD4930UR\b/i,q=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,re=/Windows Phone/i,me=/\bWindows(?:.+)ARM\b/i,be=/BlackBerry/i,ke=/BB10/i,ce=/Opera Mini/i,Ee=/\b(CriOS|Chrome)(?:.+)Mobile/i,pe=/Mobile(?:.+)Firefox\b/i;function Se(hn,Rn){return hn.test(Rn)}function st(hn){var Rn=hn||(typeof navigator!="undefined"?navigator.userAgent:""),Yn=(Rn||"").split("[FBAN");if(typeof Yn[1]!="undefined"){var En=Yn,Mt=Object(m.a)(En,1);Rn=Mt[0]}if(Yn=Rn.split("Twitter"),typeof Yn[1]!="undefined"){var mn=Yn,zt=Object(m.a)(mn,1);Rn=zt[0]}var _n={apple:{phone:Se(z,Rn)&&!Se(re,Rn),ipod:Se(Y,Rn),tablet:!Se(z,Rn)&&Se(_,Rn)&&!Se(re,Rn),device:(Se(z,Rn)||Se(Y,Rn)||Se(_,Rn))&&!Se(re,Rn)},amazon:{phone:Se(ue,Rn),tablet:!Se(ue,Rn)&&Se(q,Rn),device:Se(ue,Rn)||Se(q,Rn)},android:{phone:!Se(re,Rn)&&Se(ue,Rn)||!Se(re,Rn)&&Se(G,Rn),tablet:!Se(re,Rn)&&!Se(ue,Rn)&&!Se(G,Rn)&&(Se(q,Rn)||Se(J,Rn)),device:!Se(re,Rn)&&(Se(ue,Rn)||Se(q,Rn)||Se(G,Rn)||Se(J,Rn))||Se(/\bokhttp\b/i,Rn)},windows:{phone:Se(re,Rn),tablet:Se(me,Rn),device:Se(re,Rn)||Se(me,Rn)},other:{blackberry:Se(be,Rn),blackberry10:Se(ke,Rn),opera:Se(ce,Rn),firefox:Se(pe,Rn),chrome:Se(Ee,Rn),device:Se(be,Rn)||Se(ke,Rn)||Se(ce,Rn)||Se(pe,Rn)||Se(Ee,Rn)},any:null,phone:null,tablet:null};return _n.any=_n.apple.device||_n.android.device||_n.windows.device||_n.other.device,_n.phone=_n.apple.phone||_n.android.phone||_n.windows.phone,_n.tablet=_n.apple.tablet||_n.android.tablet||_n.windows.tablet,_n}var qe=Object(r.a)(Object(r.a)({},st()),{},{isMobile:st}),tt=qe;function Dt(){}function ct(hn,Rn,Yn){var En=Rn||"";return hn.key||"".concat(En,"item_").concat(Yn)}function St(hn){return"".concat(hn,"-menu-")}function rt(hn,Rn){var Yn=-1;A.Children.forEach(hn,function(En){Yn+=1,En&&En.type&&En.type.isMenuItemGroup?A.Children.forEach(En.props.children,function(Mt){Yn+=1,Rn(Mt,Yn)}):Rn(En,Yn)})}function ht(hn,Rn,Yn){if(!hn||Yn.find)return;A.Children.forEach(hn,function(En){if(En){var Mt=En.type;if(!Mt||!(Mt.isSubMenu||Mt.isMenuItem||Mt.isMenuItemGroup))return;Rn.indexOf(En.key)!==-1?Yn.find=!0:En.props.children&&ht(En.props.children,Rn,Yn)}})}var je=["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"],Me=function(Rn){var Yn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,En=Rn&&typeof Rn.getBoundingClientRect=="function"&&Rn.getBoundingClientRect().width;if(En){if(Yn){var Mt=getComputedStyle(Rn),mn=Mt.marginLeft,zt=Mt.marginRight;En+=+mn.replace("px","")+ +zt.replace("px","")}En=+En.toFixed(6)}return En||0},Ne=function(Rn,Yn,En){Rn&&Object(P.a)(Rn.style)==="object"&&(Rn.style[Yn]=En)},it=function(){return tt.any},wt=e("bdgK"),jt=e("i8i4"),lt=e.n(jt),Te=e("wgJM"),mt=e("l4aY"),tn=e("m+aA"),Vt=e("c+Xe"),Yt=e("zT1h"),Qt=e("QC+M");function an(hn,Rn,Yn){return Yn?hn[0]===Rn[0]:hn[0]===Rn[0]&&hn[1]===Rn[1]}function on(hn,Rn,Yn){var En=hn[Rn]||{};return Object(r.a)(Object(r.a)({},En),Yn)}function vt(hn,Rn,Yn,En){for(var Mt=Yn.points,mn=Object.keys(hn),zt=0;zt<mn.length;zt+=1){var _n=mn[zt];if(an(hn[_n].points,Mt,En))return"".concat(Rn,"-placement-").concat(_n)}return""}var de=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var hn=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(hn)||/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(hn==null?void 0:hn.substr(0,4)))},he=e("MNnm");function Pt(hn,Rn){var Yn={};return Yn[hn.toLowerCase()]=Rn.toLowerCase(),Yn["Webkit".concat(hn)]="webkit".concat(Rn),Yn["Moz".concat(hn)]="moz".concat(Rn),Yn["ms".concat(hn)]="MS".concat(Rn),Yn["O".concat(hn)]="o".concat(Rn.toLowerCase()),Yn}function We(hn,Rn){var Yn={animationend:Pt("Animation","AnimationEnd"),transitionend:Pt("Transition","TransitionEnd")};return hn&&("AnimationEvent"in Rn||delete Yn.animationend.animation,"TransitionEvent"in Rn||delete Yn.transitionend.transition),Yn}var Je=We(Object(he.a)(),typeof window!="undefined"?window:{}),Ln={};if(Object(he.a)()){var jn=document.createElement("div");Ln=jn.style}var Sn={};function Xn(hn){if(Sn[hn])return Sn[hn];var Rn=Je[hn];if(Rn)for(var Yn=Object.keys(Rn),En=Yn.length,Mt=0;Mt<En;Mt+=1){var mn=Yn[Mt];if(Object.prototype.hasOwnProperty.call(Rn,mn)&&mn in Ln)return Sn[hn]=Rn[mn],Sn[hn]}return""}var rr=Xn("animationend"),hr=Xn("transitionend"),gn=!!(rr&&hr),vn=rr||"animationend",Ft=hr||"transitionend";function Ye(hn,Rn){if(!hn)return null;if(Object(P.a)(hn)==="object"){var Yn=Rn.replace(/-\w/g,function(En){return En[1].toUpperCase()});return hn[Yn]}return"".concat(hn,"-").concat(Rn)}var Pe="none",Jt="appear",bn="enter",An="leave",dn="none",vr="prepare",qn="start",Ur="active",Ue="end";function He(hn){var Rn=Object(A.useRef)(!1),Yn=Object(A.useState)(hn),En=Object(m.a)(Yn,2),Mt=En[0],mn=En[1];function zt(_n){Rn.current||mn(_n)}return Object(A.useEffect)(function(){return function(){Rn.current=!0}},[]),[Mt,zt]}var se=Object(he.a)()?A.useLayoutEffect:A.useEffect,Ae=se,Oe=function(){var hn=A.useRef(null);function Rn(){Te.a.cancel(hn.current)}function Yn(En){var Mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Rn();var mn=Object(Te.a)(function(){Mt<=1?En({isCanceled:function(){return mn!==hn.current}}):Yn(En,Mt-1)});hn.current=mn}return A.useEffect(function(){return function(){Rn()}},[]),[Yn,Rn]},ze=[vr,qn,Ur,Ue],Rt=!1,Et=!0;function _t(hn){return hn===Ur||hn===Ue}var Nn=function(hn,Rn){var Yn=A.useState(dn),En=Object(m.a)(Yn,2),Mt=En[0],mn=En[1],zt=Oe(),_n=Object(m.a)(zt,2),kn=_n[0],pr=_n[1];function or(){mn(vr)}return Ae(function(){if(Mt!==dn&&Mt!==Ue){var yr=ze.indexOf(Mt),_r=ze[yr+1],Yr=Rn(Mt);Yr===Rt?mn(_r):kn(function(Jr){function Ci(){if(Jr.isCanceled())return;mn(_r)}Yr===!0?Ci():Promise.resolve(Yr).then(Ci)})}},[hn,Mt]),A.useEffect(function(){return function(){pr()}},[]),[or,Mt]},Mn=function(hn){var Rn=Object(A.useRef)(),Yn=Object(A.useRef)(hn);Yn.current=hn;var En=A.useCallback(function(zt){Yn.current(zt)},[]);function Mt(zt){zt&&(zt.removeEventListener(Ft,En),zt.removeEventListener(vn,En))}function mn(zt){Rn.current&&Rn.current!==zt&&Mt(Rn.current),zt&&zt!==Rn.current&&(zt.addEventListener(Ft,En),zt.addEventListener(vn,En),Rn.current=zt)}return A.useEffect(function(){return function(){Mt(Rn.current)}},[]),[mn,Mt]};function lr(hn,Rn,Yn,En){var Mt=En.motionEnter,mn=Mt===void 0?!0:Mt,zt=En.motionAppear,_n=zt===void 0?!0:zt,kn=En.motionLeave,pr=kn===void 0?!0:kn,or=En.motionDeadline,yr=En.motionLeaveImmediately,_r=En.onAppearPrepare,Yr=En.onEnterPrepare,Jr=En.onLeavePrepare,Ci=En.onAppearStart,ta=En.onEnterStart,oa=En.onLeaveStart,da=En.onAppearActive,ua=En.onEnterActive,ma=En.onLeaveActive,ki=En.onAppearEnd,Di=En.onEnterEnd,na=En.onLeaveEnd,qi=En.onVisibleChanged,va=He(),Ta=Object(m.a)(va,2),Zi=Ta[0],Qi=Ta[1],Na=He(Pe),ga=Object(m.a)(Na,2),Ii=ga[0],Sa=ga[1],Ra=He(null),Da=Object(m.a)(Ra,2),ka=Da[0],Pa=Da[1],Ka=Object(A.useRef)(!1),xa=Object(A.useRef)(null),ja=Object(A.useRef)(!1),io=Object(A.useRef)(null);function ia(){var eo=Yn();return eo||io.current}var lo=Object(A.useRef)(!1);function Ya(eo){var wa=ia();if(eo&&!eo.deadline&&eo.target!==wa)return;var no;Ii===Jt&&lo.current?no=ki==null?void 0:ki(wa,eo):Ii===bn&&lo.current?no=Di==null?void 0:Di(wa,eo):Ii===An&&lo.current&&(no=na==null?void 0:na(wa,eo)),no!==!1&&!ja.current&&(Sa(Pe),Pa(null))}var Ca=Mn(Ya),Xa=Object(m.a)(Ca,1),Ba=Xa[0],La=A.useMemo(function(){var eo,wa,no;switch(Ii){case"appear":return eo={},Object(b.a)(eo,vr,_r),Object(b.a)(eo,qn,Ci),Object(b.a)(eo,Ur,da),eo;case"enter":return wa={},Object(b.a)(wa,vr,Yr),Object(b.a)(wa,qn,ta),Object(b.a)(wa,Ur,ua),wa;case"leave":return no={},Object(b.a)(no,vr,Jr),Object(b.a)(no,qn,oa),Object(b.a)(no,Ur,ma),no;default:return{}}},[Ii]),yo=Nn(Ii,function(eo){if(eo===vr){var wa=La[vr];return wa?wa(ia()):Rt}if(uo in La){var no;Pa(((no=La[uo])===null||no===void 0?void 0:no.call(La,ia(),null))||null)}return uo===Ur&&(Ba(ia()),or>0&&(clearTimeout(xa.current),xa.current=setTimeout(function(){Ya({deadline:!0})},or))),Et}),ao=Object(m.a)(yo,2),bo=ao[0],uo=ao[1],co=_t(uo);lo.current=co,Ae(function(){Qi(Rn);var eo=Ka.current;if(Ka.current=!0,!hn)return;var wa;!eo&&Rn&&_n&&(wa=Jt),eo&&Rn&&mn&&(wa=bn),(eo&&!Rn&&pr||!eo&&yr&&!Rn&&pr)&&(wa=An),wa&&(Sa(wa),bo())},[Rn]),Object(A.useEffect)(function(){(Ii===Jt&&!_n||Ii===bn&&!mn||Ii===An&&!pr)&&Sa(Pe)},[_n,mn,pr]),Object(A.useEffect)(function(){return function(){clearTimeout(xa.current),ja.current=!0}},[]),Object(A.useEffect)(function(){Zi!==void 0&&Ii===Pe&&(qi==null||qi(Zi))},[Zi,Ii]);var Ga=ka;return La[vr]&&uo===qn&&(Ga=Object(r.a)({transition:"none"},Ga)),[Ii,uo,Ga,Zi!=null?Zi:Rn]}var Lt=function(hn){Object(R.a)(Yn,hn);var Rn=Object(F.a)(Yn);function Yn(){return Object(T.a)(this,Yn),Rn.apply(this,arguments)}return Object(D.a)(Yn,[{key:"render",value:function(){return this.props.children}}]),Yn}(A.Component),$e=Lt;function Qe(hn){var Rn=hn;Object(P.a)(hn)==="object"&&(Rn=hn.transitionSupport);function Yn(Mt){return!!(Mt.motionName&&Rn)}var En=A.forwardRef(function(Mt,mn){var zt=Mt.visible,_n=zt===void 0?!0:zt,kn=Mt.removeOnLeave,pr=kn===void 0?!0:kn,or=Mt.forceRender,yr=Mt.children,_r=Mt.motionName,Yr=Mt.leavedClassName,Jr=Mt.eventProps,Ci=Yn(Mt),ta=Object(A.useRef)(),oa=Object(A.useRef)();function da(){try{return Object(tn.a)(ta.current||oa.current)}catch(Sa){return null}}var ua=lr(Ci,_n,da,Mt),ma=Object(m.a)(ua,4),ki=ma[0],Di=ma[1],na=ma[2],qi=ma[3],va=A.useRef(qi);qi&&(va.current=!0);var Ta=Object(A.useRef)(mn);Ta.current=mn;var Zi=A.useCallback(function(Sa){ta.current=Sa,Object(Vt.b)(Ta.current,Sa)},[]),Qi,Na=Object(r.a)(Object(r.a)({},Jr),{},{visible:_n});if(!yr)Qi=null;else if(ki===Pe||!Yn(Mt))qi?Qi=yr(Object(r.a)({},Na),Zi):!pr&&va.current?Qi=yr(Object(r.a)(Object(r.a)({},Na),{},{className:Yr}),Zi):or?Qi=yr(Object(r.a)(Object(r.a)({},Na),{},{style:{display:"none"}}),Zi):Qi=null;else{var ga,Ii;Di===vr?Ii="prepare":_t(Di)?Ii="active":Di===qn&&(Ii="start"),Qi=yr(Object(r.a)(Object(r.a)({},Na),{},{className:s()(Ye(_r,ki),(ga={},Object(b.a)(ga,Ye(_r,"".concat(ki,"-").concat(Ii)),Ii),Object(b.a)(ga,_r,typeof _r=="string"),ga)),style:na}),Zi)}return A.createElement($e,{ref:oa},Qi)});return En.displayName="CSSMotion",En}var kt=Qe(gn),Ht="add",ot="keep",Ct="remove",nt="removed";function Ot(hn){var Rn;return hn&&Object(P.a)(hn)==="object"&&"key"in hn?Rn=hn:Rn={key:hn},Object(r.a)(Object(r.a)({},Rn),{},{key:String(Rn.key)})}function sn(){var hn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return hn.map(Ot)}function Zt(){var hn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Rn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Yn=[],En=0,Mt=Rn.length,mn=sn(hn),zt=sn(Rn);mn.forEach(function(pr){for(var or=!1,yr=En;yr<Mt;yr+=1){var _r=zt[yr];if(_r.key===pr.key){En<yr&&(Yn=Yn.concat(zt.slice(En,yr).map(function(Yr){return Object(r.a)(Object(r.a)({},Yr),{},{status:Ht})})),En=yr),Yn.push(Object(r.a)(Object(r.a)({},_r),{},{status:ot})),En+=1,or=!0;break}}or||Yn.push(Object(r.a)(Object(r.a)({},pr),{},{status:Ct}))}),En<Mt&&(Yn=Yn.concat(zt.slice(En).map(function(pr){return Object(r.a)(Object(r.a)({},pr),{},{status:Ht})})));var _n={};Yn.forEach(function(pr){var or=pr.key;_n[or]=(_n[or]||0)+1});var kn=Object.keys(_n).filter(function(pr){return _n[pr]>1});return kn.forEach(function(pr){Yn=Yn.filter(function(or){var yr=or.key,_r=or.status;return yr!==pr||_r!==Ct}),Yn.forEach(function(or){or.key===pr&&(or.status=ot)})}),Yn}var Gt=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Qn(hn){var Rn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:kt,Yn=function(En){Object(R.a)(mn,En);var Mt=Object(F.a)(mn);function mn(){var zt;return Object(T.a)(this,mn),zt=Mt.apply(this,arguments),zt.state={keyEntities:[]},zt.removeKey=function(_n){zt.setState(function(kn){var pr=kn.keyEntities;return{keyEntities:pr.map(function(or){return or.key!==_n?or:Object(r.a)(Object(r.a)({},or),{},{status:nt})})}})},zt}return Object(D.a)(mn,[{key:"render",value:function(){var _n=this,kn=this.state.keyEntities,pr=this.props,or=pr.component,yr=pr.children,_r=pr.onVisibleChanged,Yr=Object(d.a)(pr,["component","children","onVisibleChanged"]),Jr=or||A.Fragment,Ci={};return Gt.forEach(function(ta){Ci[ta]=Yr[ta],delete Yr[ta]}),delete Yr.keys,A.createElement(Jr,Yr,kn.map(function(ta){var oa=ta.status,da=Object(d.a)(ta,["status"]),ua=oa===Ht||oa===ot;return A.createElement(Rn,Object(E.a)({},Ci,{key:da.key,visible:ua,eventProps:da,onVisibleChanged:function(ki){_r==null||_r(ki,{key:da.key}),ki||_n.removeKey(da.key)}}),yr)}))}}],[{key:"getDerivedStateFromProps",value:function(_n,kn){var pr=_n.keys,or=kn.keyEntities,yr=sn(pr),_r=Zt(or,yr);return{keyEntities:_r.filter(function(Yr){var Jr=or.find(function(Ci){var ta=Ci.key;return Yr.key===ta});return!(Jr&&Jr.status===nt&&Yr.status===Ct)})}}}]),mn}(A.Component);return Yn.defaultProps={component:"div"},Yn}var Gn=Qn(gn),Or=kt;function Nr(hn){var Rn=hn.prefixCls,Yn=hn.motion,En=hn.animation,Mt=hn.transitionName;return Yn||(En?{motionName:"".concat(Rn,"-").concat(En)}:Mt?{motionName:Mt}:null)}function Kr(hn){var Rn=hn.prefixCls,Yn=hn.visible,En=hn.zIndex,Mt=hn.mask,mn=hn.maskMotion,zt=hn.maskAnimation,_n=hn.maskTransitionName;if(!Mt)return null;var kn={};return(mn||_n||zt)&&(kn=Object(r.a)({motionAppear:!0},Nr({motion:mn,prefixCls:Rn,transitionName:_n,animation:zt}))),A.createElement(Or,Object(E.a)({},kn,{visible:Yn,removeOnLeave:!0}),function(pr){var or=pr.className;return A.createElement("div",{style:{zIndex:En},className:s()("".concat(Rn,"-mask"),or)})})}var ei=e("9mu1"),vi=e("o0o1"),Pi=e.n(vi),Be=e("HaE+"),le=["measure","align",null,"motion"],ye=function(hn,Rn){var Yn=Object(A.useState)(null),En=Object(m.a)(Yn,2),Mt=En[0],mn=En[1],zt=Object(A.useRef)(),_n=Object(A.useRef)(!1);function kn(yr){_n.current||mn(yr)}function pr(){Te.a.cancel(zt.current)}function or(yr){pr(),zt.current=Object(Te.a)(function(){kn(function(_r){switch(Mt){case"align":return"motion";case"motion":return"stable";default:}return _r}),yr==null||yr()})}return Object(A.useEffect)(function(){kn("measure")},[hn]),Object(A.useEffect)(function(){switch(Mt){case"measure":Rn();break;default:}Mt&&(zt.current=Object(Te.a)(Object(Be.a)(Pi.a.mark(function yr(){var _r,Yr;return Pi.a.wrap(function(Ci){for(;;)switch(Ci.prev=Ci.next){case 0:_r=le.indexOf(Mt),Yr=le[_r+1],Yr&&_r!==-1&&kn(Yr);case 3:case"end":return Ci.stop()}},yr)}))))},[Mt]),Object(A.useEffect)(function(){return function(){_n.current=!0,pr()}},[]),[Mt,or]},xe=function(hn){var Rn=A.useState({width:0,height:0}),Yn=Object(m.a)(Rn,2),En=Yn[0],Mt=Yn[1];function mn(_n){Mt({width:_n.offsetWidth,height:_n.offsetHeight})}var zt=A.useMemo(function(){var _n={};if(hn){var kn=En.width,pr=En.height;hn.indexOf("height")!==-1&&pr?_n.height=pr:hn.indexOf("minHeight")!==-1&&pr&&(_n.minHeight=pr),hn.indexOf("width")!==-1&&kn?_n.width=kn:hn.indexOf("minWidth")!==-1&&kn&&(_n.minWidth=kn)}return _n},[hn,En]);return[zt,mn]},De=A.forwardRef(function(hn,Rn){var Yn=hn.visible,En=hn.prefixCls,Mt=hn.className,mn=hn.style,zt=hn.children,_n=hn.zIndex,kn=hn.stretch,pr=hn.destroyPopupOnHide,or=hn.forceRender,yr=hn.align,_r=hn.point,Yr=hn.getRootDomNode,Jr=hn.getClassNameFromAlign,Ci=hn.onAlign,ta=hn.onMouseEnter,oa=hn.onMouseLeave,da=hn.onMouseDown,ua=hn.onTouchStart,ma=Object(A.useRef)(),ki=Object(A.useRef)(),Di=Object(A.useState)(),na=Object(m.a)(Di,2),qi=na[0],va=na[1],Ta=xe(kn),Zi=Object(m.a)(Ta,2),Qi=Zi[0],Na=Zi[1];function ga(){kn&&Na(Yr())}var Ii=ye(Yn,ga),Sa=Object(m.a)(Ii,2),Ra=Sa[0],Da=Sa[1],ka=Object(A.useRef)();function Pa(){return _r||Yr}function Ka(){var Ca;(Ca=ma.current)===null||Ca===void 0||Ca.forceAlign()}function xa(Ca,Xa){var Ba=Jr(Xa);qi!==Ba&&va(Ba),Ra==="align"&&(qi!==Ba?Promise.resolve().then(function(){Ka()}):Da(function(){var La;(La=ka.current)===null||La===void 0||La.call(ka)}),Ci==null||Ci(Ca,Xa))}var ja=Object(r.a)({},Nr(hn));["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(Ca){var Xa=ja[Ca];ja[Ca]=function(Ba,La){return Da(),Xa==null?void 0:Xa(Ba,La)}});function io(){return new Promise(function(Ca){ka.current=Ca})}A.useEffect(function(){!ja.motionName&&Ra==="motion"&&Da()},[ja.motionName,Ra]),A.useImperativeHandle(Rn,function(){return{forceAlign:Ka,getElement:function(){return ki.current}}});var ia=Object(r.a)(Object(r.a)({},Qi),{},{zIndex:_n,opacity:Ra==="motion"||Ra==="stable"||!Yn?void 0:0,pointerEvents:Ra==="stable"?void 0:"none"},mn),lo=!0;(yr==null?void 0:yr.points)&&(Ra==="align"||Ra==="stable")&&(lo=!1);var Ya=zt;return A.Children.count(zt)>1&&(Ya=A.createElement("div",{className:"".concat(En,"-content")},zt)),A.createElement(Or,Object(E.a)({visible:Yn,ref:ki,leavedClassName:"".concat(En,"-hidden")},ja,{onAppearPrepare:io,onEnterPrepare:io,removeOnLeave:pr,forceRender:or}),function(Ca,Xa){var Ba=Ca.className,La=Ca.style,yo=s()(En,Mt,qi,Ba);return A.createElement(ei.a,{target:Pa(),key:"popup",ref:ma,monitorWindowResize:!0,disabled:lo,align:yr,onAlign:xa},A.createElement("div",{ref:Xa,className:yo,onMouseEnter:ta,onMouseLeave:oa,onMouseDownCapture:da,onTouchStartCapture:ua,style:Object(r.a)(Object(r.a)({},La),ia)},Ya))})});De.displayName="PopupInner";var Le=De,Fe=A.forwardRef(function(hn,Rn){var Yn=hn.prefixCls,En=hn.visible,Mt=hn.zIndex,mn=hn.children,zt=hn.mobile;zt=zt===void 0?{}:zt;var _n=zt.popupClassName,kn=zt.popupStyle,pr=zt.popupMotion,or=pr===void 0?{}:pr,yr=zt.popupRender,_r=A.useRef();A.useImperativeHandle(Rn,function(){return{forceAlign:function(){},getElement:function(){return _r.current}}});var Yr=Object(r.a)({zIndex:Mt},kn),Jr=mn;return A.Children.count(mn)>1&&(Jr=A.createElement("div",{className:"".concat(Yn,"-content")},mn)),yr&&(Jr=yr(Jr)),A.createElement(Or,Object(E.a)({visible:En,ref:_r,removeOnLeave:!0},or),function(Ci,ta){var oa=Ci.className,da=Ci.style,ua=s()(Yn,_n,oa);return A.createElement("div",{ref:ta,className:ua,style:Object(r.a)(Object(r.a)({},da),Yr)},Jr)})});Fe.displayName="MobilePopupInner";var at=Fe,Ve=["visible","mobile"],It=A.forwardRef(function(hn,Rn){var Yn=hn.visible,En=hn.mobile,Mt=Object(d.a)(hn,Ve),mn=Object(A.useState)(Yn),zt=Object(m.a)(mn,2),_n=zt[0],kn=zt[1],pr=Object(A.useState)(!1),or=Object(m.a)(pr,2),yr=or[0],_r=or[1],Yr=Object(r.a)(Object(r.a)({},Mt),{},{visible:_n});Object(A.useEffect)(function(){kn(Yn),Yn&&En&&_r(de())},[Yn,En]);var Jr=yr?A.createElement(at,Object(E.a)({},Yr,{mobile:En,ref:Rn})):A.createElement(Le,Object(E.a)({},Yr,{ref:Rn}));return A.createElement("div",null,A.createElement(Kr,Yr),Jr)});It.displayName="Popup";var pn=It,rn=A.createContext(null),Tn=rn;function Nt(){}function ur(){return""}function Xt(hn){return hn?hn.ownerDocument:window.document}var Kn=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function Fn(hn){var Rn=function(Yn){Object(R.a)(Mt,Yn);var En=Object(F.a)(Mt);function Mt(mn){var zt;Object(T.a)(this,Mt),zt=En.call(this,mn),zt.popupRef=A.createRef(),zt.triggerRef=A.createRef(),zt.attachId=void 0,zt.clickOutsideHandler=void 0,zt.touchOutsideHandler=void 0,zt.contextMenuOutsideHandler1=void 0,zt.contextMenuOutsideHandler2=void 0,zt.mouseDownTimeout=void 0,zt.focusTime=void 0,zt.preClickTime=void 0,zt.preTouchTime=void 0,zt.delayTimer=void 0,zt.hasPopupMouseDown=void 0,zt.onMouseEnter=function(kn){var pr=zt.props.mouseEnterDelay;zt.fireEvents("onMouseEnter",kn),zt.delaySetPopupVisible(!0,pr,pr?null:kn)},zt.onMouseMove=function(kn){zt.fireEvents("onMouseMove",kn),zt.setPoint(kn)},zt.onMouseLeave=function(kn){zt.fireEvents("onMouseLeave",kn),zt.delaySetPopupVisible(!1,zt.props.mouseLeaveDelay)},zt.onPopupMouseEnter=function(){zt.clearDelayTimer()},zt.onPopupMouseLeave=function(kn){var pr;if(kn.relatedTarget&&!kn.relatedTarget.setTimeout&&Object(mt.a)((pr=zt.popupRef.current)===null||pr===void 0?void 0:pr.getElement(),kn.relatedTarget))return;zt.delaySetPopupVisible(!1,zt.props.mouseLeaveDelay)},zt.onFocus=function(kn){zt.fireEvents("onFocus",kn),zt.clearDelayTimer(),zt.isFocusToShow()&&(zt.focusTime=Date.now(),zt.delaySetPopupVisible(!0,zt.props.focusDelay))},zt.onMouseDown=function(kn){zt.fireEvents("onMouseDown",kn),zt.preClickTime=Date.now()},zt.onTouchStart=function(kn){zt.fireEvents("onTouchStart",kn),zt.preTouchTime=Date.now()},zt.onBlur=function(kn){zt.fireEvents("onBlur",kn),zt.clearDelayTimer(),zt.isBlurToHide()&&zt.delaySetPopupVisible(!1,zt.props.blurDelay)},zt.onContextMenu=function(kn){kn.preventDefault(),zt.fireEvents("onContextMenu",kn),zt.setPopupVisible(!0,kn)},zt.onContextMenuClose=function(){zt.isContextMenuToShow()&&zt.close()},zt.onClick=function(kn){if(zt.fireEvents("onClick",kn),zt.focusTime){var pr;if(zt.preClickTime&&zt.preTouchTime?pr=Math.min(zt.preClickTime,zt.preTouchTime):zt.preClickTime?pr=zt.preClickTime:zt.preTouchTime&&(pr=zt.preTouchTime),Math.abs(pr-zt.focusTime)<20)return;zt.focusTime=0}zt.preClickTime=0,zt.preTouchTime=0,zt.isClickToShow()&&(zt.isClickToHide()||zt.isBlurToHide())&&kn&&kn.preventDefault&&kn.preventDefault();var or=!zt.state.popupVisible;(zt.isClickToHide()&&!or||or&&zt.isClickToShow())&&zt.setPopupVisible(!zt.state.popupVisible,kn)},zt.onPopupMouseDown=function(){if(zt.hasPopupMouseDown=!0,clearTimeout(zt.mouseDownTimeout),zt.mouseDownTimeout=window.setTimeout(function(){zt.hasPopupMouseDown=!1},0),zt.context){var kn;(kn=zt.context).onPopupMouseDown.apply(kn,arguments)}},zt.onDocumentClick=function(kn){if(zt.props.mask&&!zt.props.maskClosable)return;var pr=kn.target,or=zt.getRootDomNode(),yr=zt.getPopupDomNode();(!Object(mt.a)(or,pr)||zt.isContextMenuOnly())&&!Object(mt.a)(yr,pr)&&!zt.hasPopupMouseDown&&zt.close()},zt.getRootDomNode=function(){var kn=zt.props.getTriggerDOMNode;if(kn)return kn(zt.triggerRef.current);try{var pr=Object(tn.a)(zt.triggerRef.current);if(pr)return pr}catch(or){}return lt.a.findDOMNode(Object(B.a)(zt))},zt.getPopupClassNameFromAlign=function(kn){var pr=[],or=zt.props,yr=or.popupPlacement,_r=or.builtinPlacements,Yr=or.prefixCls,Jr=or.alignPoint,Ci=or.getPopupClassNameFromAlign;return yr&&_r&&pr.push(vt(_r,Yr,kn,Jr)),Ci&&pr.push(Ci(kn)),pr.join(" ")},zt.getComponent=function(){var kn=zt.props,pr=kn.prefixCls,or=kn.destroyPopupOnHide,yr=kn.popupClassName,_r=kn.onPopupAlign,Yr=kn.popupMotion,Jr=kn.popupAnimation,Ci=kn.popupTransitionName,ta=kn.popupStyle,oa=kn.mask,da=kn.maskAnimation,ua=kn.maskTransitionName,ma=kn.maskMotion,ki=kn.zIndex,Di=kn.popup,na=kn.stretch,qi=kn.alignPoint,va=kn.mobile,Ta=kn.forceRender,Zi=zt.state,Qi=Zi.popupVisible,Na=Zi.point,ga=zt.getPopupAlign(),Ii={};return zt.isMouseEnterToShow()&&(Ii.onMouseEnter=zt.onPopupMouseEnter),zt.isMouseLeaveToHide()&&(Ii.onMouseLeave=zt.onPopupMouseLeave),Ii.onMouseDown=zt.onPopupMouseDown,Ii.onTouchStart=zt.onPopupMouseDown,A.createElement(pn,Object(E.a)({prefixCls:pr,destroyPopupOnHide:or,visible:Qi,point:qi&&Na,className:yr,align:ga,onAlign:_r,animation:Jr,getClassNameFromAlign:zt.getPopupClassNameFromAlign},Ii,{stretch:na,getRootDomNode:zt.getRootDomNode,style:ta,mask:oa,zIndex:ki,transitionName:Ci,maskAnimation:da,maskTransitionName:ua,maskMotion:ma,ref:zt.popupRef,motion:Yr,mobile:va,forceRender:Ta}),typeof Di=="function"?Di():Di)},zt.attachParent=function(kn){Te.a.cancel(zt.attachId);var pr=zt.props,or=pr.getPopupContainer,yr=pr.getDocument,_r=zt.getRootDomNode(),Yr;or?(_r||or.length===0)&&(Yr=or(_r)):Yr=yr(zt.getRootDomNode()).body,Yr?Yr.appendChild(kn):zt.attachId=Object(Te.a)(function(){zt.attachParent(kn)})},zt.getContainer=function(){var kn=zt.props.getDocument,pr=kn(zt.getRootDomNode()).createElement("div");return pr.style.position="absolute",pr.style.top="0",pr.style.left="0",pr.style.width="100%",zt.attachParent(pr),pr},zt.setPoint=function(kn){var pr=zt.props.alignPoint;if(!pr||!kn)return;zt.setState({point:{pageX:kn.pageX,pageY:kn.pageY}})},zt.handlePortalUpdate=function(){zt.state.prevPopupVisible!==zt.state.popupVisible&&zt.props.afterPopupVisibleChange(zt.state.popupVisible)},zt.triggerContextValue={onPopupMouseDown:zt.onPopupMouseDown};var _n;return"popupVisible"in mn?_n=!!mn.popupVisible:_n=!!mn.defaultPopupVisible,zt.state={prevPopupVisible:_n,popupVisible:_n},Kn.forEach(function(kn){zt["fire".concat(kn)]=function(pr){zt.fireEvents(kn,pr)}}),zt}return Object(D.a)(Mt,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var zt=this.props,_n=this.state;if(_n.popupVisible){var kn;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(kn=zt.getDocument(this.getRootDomNode()),this.clickOutsideHandler=Object(Yt.a)(kn,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(kn=kn||zt.getDocument(this.getRootDomNode()),this.touchOutsideHandler=Object(Yt.a)(kn,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(kn=kn||zt.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=Object(Yt.a)(kn,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Object(Yt.a)(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),Te.a.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var zt;return((zt=this.popupRef.current)===null||zt===void 0?void 0:zt.getElement())||null}},{key:"getPopupAlign",value:function(){var zt=this.props,_n=zt.popupPlacement,kn=zt.popupAlign,pr=zt.builtinPlacements;return _n&&pr?on(pr,_n,kn):kn}},{key:"setPopupVisible",value:function(zt,_n){var kn=this.props.alignPoint,pr=this.state.popupVisible;this.clearDelayTimer(),pr!==zt&&("popupVisible"in this.props||this.setState({popupVisible:zt,prevPopupVisible:pr}),this.props.onPopupVisibleChange(zt)),kn&&_n&&zt&&this.setPoint(_n)}},{key:"delaySetPopupVisible",value:function(zt,_n,kn){var pr=this,or=_n*1e3;if(this.clearDelayTimer(),or){var yr=kn?{pageX:kn.pageX,pageY:kn.pageY}:null;this.delayTimer=window.setTimeout(function(){pr.setPopupVisible(zt,yr),pr.clearDelayTimer()},or)}else this.setPopupVisible(zt,kn)}},{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(zt){var _n=this.props.children.props,kn=this.props;return _n[zt]&&kn[zt]?this["fire".concat(zt)]:_n[zt]||kn[zt]}},{key:"isClickToShow",value:function(){var zt=this.props,_n=zt.action,kn=zt.showAction;return _n.indexOf("click")!==-1||kn.indexOf("click")!==-1}},{key:"isContextMenuOnly",value:function(){var zt=this.props.action;return zt==="contextMenu"||zt.length===1&&zt[0]==="contextMenu"}},{key:"isContextMenuToShow",value:function(){var zt=this.props,_n=zt.action,kn=zt.showAction;return _n.indexOf("contextMenu")!==-1||kn.indexOf("contextMenu")!==-1}},{key:"isClickToHide",value:function(){var zt=this.props,_n=zt.action,kn=zt.hideAction;return _n.indexOf("click")!==-1||kn.indexOf("click")!==-1}},{key:"isMouseEnterToShow",value:function(){var zt=this.props,_n=zt.action,kn=zt.showAction;return _n.indexOf("hover")!==-1||kn.indexOf("mouseEnter")!==-1}},{key:"isMouseLeaveToHide",value:function(){var zt=this.props,_n=zt.action,kn=zt.hideAction;return _n.indexOf("hover")!==-1||kn.indexOf("mouseLeave")!==-1}},{key:"isFocusToShow",value:function(){var zt=this.props,_n=zt.action,kn=zt.showAction;return _n.indexOf("focus")!==-1||kn.indexOf("focus")!==-1}},{key:"isBlurToHide",value:function(){var zt=this.props,_n=zt.action,kn=zt.hideAction;return _n.indexOf("focus")!==-1||kn.indexOf("blur")!==-1}},{key:"forcePopupAlign",value:function(){if(this.state.popupVisible){var zt;(zt=this.popupRef.current)===null||zt===void 0||zt.forceAlign()}}},{key:"fireEvents",value:function(zt,_n){var kn=this.props.children.props[zt];kn&&kn(_n);var pr=this.props[zt];pr&&pr(_n)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var zt=this.state.popupVisible,_n=this.props,kn=_n.children,pr=_n.forceRender,or=_n.alignPoint,yr=_n.className,_r=_n.autoDestroy,Yr=A.Children.only(kn),Jr={key:"trigger"};this.isContextMenuToShow()?Jr.onContextMenu=this.onContextMenu:Jr.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(Jr.onClick=this.onClick,Jr.onMouseDown=this.onMouseDown,Jr.onTouchStart=this.onTouchStart):(Jr.onClick=this.createTwoChains("onClick"),Jr.onMouseDown=this.createTwoChains("onMouseDown"),Jr.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(Jr.onMouseEnter=this.onMouseEnter,or&&(Jr.onMouseMove=this.onMouseMove)):Jr.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?Jr.onMouseLeave=this.onMouseLeave:Jr.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(Jr.onFocus=this.onFocus,Jr.onBlur=this.onBlur):(Jr.onFocus=this.createTwoChains("onFocus"),Jr.onBlur=this.createTwoChains("onBlur"));var Ci=s()(Yr&&Yr.props&&Yr.props.className,yr);Ci&&(Jr.className=Ci);var ta=Object(r.a)({},Jr);Object(Vt.c)(Yr)&&(ta.ref=Object(Vt.a)(this.triggerRef,Yr.ref));var oa=A.cloneElement(Yr,ta),da;return(zt||this.popupRef.current||pr)&&(da=A.createElement(hn,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!zt&&_r&&(da=null),A.createElement(Tn.Provider,{value:this.triggerContextValue},oa,da)}}],[{key:"getDerivedStateFromProps",value:function(zt,_n){var kn=zt.popupVisible,pr={};return kn!==void 0&&_n.popupVisible!==kn&&(pr.popupVisible=kn,pr.prevPopupVisible=_n.popupVisible),pr}}]),Mt}(A.Component);return Rn.contextType=Tn,Rn.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:ur,getDocument:Xt,onPopupVisibleChange:Nt,afterPopupVisibleChange:Nt,onPopupAlign:Nt,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},Rn}var un=Fn(Qt.a),Sr={adjustX:1,adjustY:1},Fr={topLeft:{points:["bl","tl"],overflow:Sr,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Sr,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Sr,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Sr,offset:[4,0]}},ii={topLeft:{points:["bl","tl"],overflow:Sr,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Sr,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:Sr,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:Sr,offset:[4,0]}},oi=Fr,ti=0,bi={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},Mr=function(Rn,Yn,En){var Mt=St(Yn),mn=Rn.getState();Rn.setState({defaultActiveFirst:Object(r.a)(Object(r.a)({},mn.defaultActiveFirst),{},Object(b.a)({},Mt,En))})},Oi=function(hn){Object(R.a)(Yn,hn);var Rn=Object(F.a)(Yn);function Yn(En){var Mt;Object(T.a)(this,Yn),Mt=Rn.call(this,En),Mt.onDestroy=function(or){Mt.props.onDestroy(or)},Mt.onKeyDown=function(or){var yr=or.keyCode,_r=Mt.menuInstance,Yr=Mt.props.store,Jr=Mt.getVisible();if(yr===f.a.ENTER)return Mt.onTitleClick(or),Mr(Yr,Mt.props.eventKey,!0),!0;if(yr===f.a.RIGHT)return Jr?_r.onKeyDown(or):(Mt.triggerOpenChange(!0),Mr(Yr,Mt.props.eventKey,!0)),!0;if(yr===f.a.LEFT){var Ci;if(Jr)Ci=_r.onKeyDown(or);else return;return Ci||(Mt.triggerOpenChange(!1),Ci=!0),Ci}return Jr&&(yr===f.a.UP||yr===f.a.DOWN)?_r.onKeyDown(or):void 0},Mt.onOpenChange=function(or){Mt.props.onOpenChange(or)},Mt.onPopupVisibleChange=function(or){Mt.triggerOpenChange(or,or?"mouseenter":"mouseleave")},Mt.onMouseEnter=function(or){var yr=Mt.props,_r=yr.eventKey,Yr=yr.onMouseEnter,Jr=yr.store;Mr(Jr,Mt.props.eventKey,!1),Yr({key:_r,domEvent:or})},Mt.onMouseLeave=function(or){var yr=Mt.props,_r=yr.parentMenu,Yr=yr.eventKey,Jr=yr.onMouseLeave;_r.subMenuInstance=Object(B.a)(Mt),Jr({key:Yr,domEvent:or})},Mt.onTitleMouseEnter=function(or){var yr=Mt.props,_r=yr.eventKey,Yr=yr.onItemHover,Jr=yr.onTitleMouseEnter;Yr({key:_r,hover:!0}),Jr({key:_r,domEvent:or})},Mt.onTitleMouseLeave=function(or){var yr=Mt.props,_r=yr.parentMenu,Yr=yr.eventKey,Jr=yr.onItemHover,Ci=yr.onTitleMouseLeave;_r.subMenuInstance=Object(B.a)(Mt),Jr({key:Yr,hover:!1}),Ci({key:Yr,domEvent:or})},Mt.onTitleClick=function(or){var yr=Object(B.a)(Mt),_r=yr.props;if(_r.onTitleClick({key:_r.eventKey,domEvent:or}),_r.triggerSubMenuAction==="hover")return;Mt.triggerOpenChange(!Mt.getVisible(),"click"),Mr(_r.store,Mt.props.eventKey,!1)},Mt.onSubMenuClick=function(or){typeof Mt.props.onClick=="function"&&Mt.props.onClick(Mt.addKeyPath(or))},Mt.onSelect=function(or){Mt.props.onSelect(or)},Mt.onDeselect=function(or){Mt.props.onDeselect(or)},Mt.getPrefixCls=function(){return"".concat(Mt.props.rootPrefixCls,"-submenu")},Mt.getActiveClassName=function(){return"".concat(Mt.getPrefixCls(),"-active")},Mt.getDisabledClassName=function(){return"".concat(Mt.getPrefixCls(),"-disabled")},Mt.getSelectedClassName=function(){return"".concat(Mt.getPrefixCls(),"-selected")},Mt.getOpenClassName=function(){return"".concat(Mt.props.rootPrefixCls,"-submenu-open")},Mt.getVisible=function(){return Mt.state.isOpen},Mt.getMode=function(){return Mt.state.mode},Mt.saveMenuInstance=function(or){Mt.menuInstance=or},Mt.addKeyPath=function(or){return Object(r.a)(Object(r.a)({},or),{},{keyPath:(or.keyPath||[]).concat(Mt.props.eventKey)})},Mt.triggerOpenChange=function(or,yr){var _r=Mt.props.eventKey,Yr=function(){Mt.onOpenChange({key:_r,item:Object(B.a)(Mt),trigger:yr,open:or})};yr==="mouseenter"?Mt.mouseenterTimeout=setTimeout(function(){Yr()},0):Yr()},Mt.isChildrenSelected=function(){var or={find:!1};return ht(Mt.props.children,Mt.props.selectedKeys,or),or.find},Mt.isInlineMode=function(){return Mt.getMode()==="inline"},Mt.adjustWidth=function(){if(!Mt.subMenuTitle||!Mt.menuInstance)return;var or=jt.findDOMNode(Mt.menuInstance);if(or.offsetWidth>=Mt.subMenuTitle.offsetWidth)return;or.style.minWidth="".concat(Mt.subMenuTitle.offsetWidth,"px")},Mt.saveSubMenuTitle=function(or){Mt.subMenuTitle=or},Mt.getBaseProps=function(){var or=Object(B.a)(Mt),yr=or.props,_r=Mt.getMode();return{mode:_r==="horizontal"?"vertical":_r,visible:Mt.getVisible(),level:yr.level+1,inlineIndent:yr.inlineIndent,focusable:!1,onClick:Mt.onSubMenuClick,onSelect:Mt.onSelect,onDeselect:Mt.onDeselect,onDestroy:Mt.onDestroy,selectedKeys:yr.selectedKeys,eventKey:"".concat(yr.eventKey,"-menu-"),openKeys:yr.openKeys,motion:yr.motion,onOpenChange:Mt.onOpenChange,subMenuOpenDelay:yr.subMenuOpenDelay,parentMenu:Object(B.a)(Mt),subMenuCloseDelay:yr.subMenuCloseDelay,forceSubMenuRender:yr.forceSubMenuRender,triggerSubMenuAction:yr.triggerSubMenuAction,builtinPlacements:yr.builtinPlacements,defaultActiveFirst:yr.store.getState().defaultActiveFirst[St(yr.eventKey)],multiple:yr.multiple,prefixCls:yr.rootPrefixCls,id:Mt.internalMenuId,manualRef:Mt.saveMenuInstance,itemIcon:yr.itemIcon,expandIcon:yr.expandIcon,direction:yr.direction}},Mt.getMotion=function(or,yr){var _r=Object(B.a)(Mt),Yr=_r.haveRendered,Jr=Mt.props,Ci=Jr.motion,ta=Jr.rootPrefixCls,oa=Object(r.a)(Object(r.a)({},Ci),{},{leavedClassName:"".concat(ta,"-hidden"),removeOnLeave:!1,motionAppear:Yr||!yr||or!=="inline"});return oa};var mn=En.store,zt=En.eventKey,_n=mn.getState(),kn=_n.defaultActiveFirst;Mt.isRootMenu=!1;var pr=!1;return kn&&(pr=kn[zt]),Mr(mn,zt,pr),Mt.state={mode:En.mode,isOpen:En.isOpen},Mt}return Object(D.a)(Yn,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var Mt=this,mn=this.props,zt=mn.mode,_n=mn.parentMenu,kn=mn.manualRef,pr=mn.isOpen,or=function(){Mt.setState({mode:zt,isOpen:pr})},yr=pr!==this.state.isOpen,_r=zt!==this.state.mode;if((_r||yr)&&(Te.a.cancel(this.updateStateRaf),_r?this.updateStateRaf=Object(Te.a)(or):or()),kn&&kn(this),zt!=="horizontal"||!(_n==null?void 0:_n.isRootMenu)||!pr)return;this.minWidthTimeout=setTimeout(function(){return Mt.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var Mt=this.props,mn=Mt.onDestroy,zt=Mt.eventKey;mn&&mn(zt),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout),Te.a.cancel(this.updateStateRaf)}},{key:"renderPopupMenu",value:function(Mt,mn){var zt=this.getBaseProps();return A.createElement(br,Object(E.a)({},zt,{id:this.internalMenuId,className:Mt,style:mn}),this.props.children)}},{key:"renderChildren",value:function(){var Mt=this,mn=this.getBaseProps(),zt=mn.mode,_n=mn.visible,kn=mn.forceSubMenuRender,pr=mn.direction,or=this.getMotion(zt,_n);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||_n||kn,!this.haveOpened)return A.createElement("div",null);var yr=s()("".concat(mn.prefixCls,"-sub"),Object(b.a)({},"".concat(mn.prefixCls,"-rtl"),pr==="rtl"));return this.isInlineMode()?A.createElement(Or,Object(E.a)({visible:mn.visible,forceRender:kn},or),function(_r){var Yr=_r.className,Jr=_r.style,Ci=s()(yr,Yr);return Mt.renderPopupMenu(Ci,Jr)}):this.renderPopupMenu(yr)}},{key:"render",value:function(){var Mt,mn,zt,_n=Object(r.a)({},this.props),kn=this.getVisible(),pr=this.getPrefixCls(),or=this.isInlineMode(),yr=this.getMode(),_r=s()(pr,"".concat(pr,"-").concat(yr),(Mt={},Object(b.a)(Mt,_n.className,!!_n.className),Object(b.a)(Mt,this.getOpenClassName(),kn),Object(b.a)(Mt,this.getActiveClassName(),_n.active||kn&&!or),Object(b.a)(Mt,this.getDisabledClassName(),_n.disabled),Object(b.a)(Mt,this.getSelectedClassName(),this.isChildrenSelected()),Mt));this.internalMenuId||(_n.eventKey?this.internalMenuId="".concat(_n.eventKey,"$Menu"):(ti+=1,this.internalMenuId="$__$".concat(ti,"$Menu")));var Yr={},Jr={},Ci={};_n.disabled||(Yr={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},Jr={onClick:this.onTitleClick},Ci={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var ta={},oa=_n.direction,da=oa==="rtl";or&&(da?ta.paddingRight=_n.inlineIndent*_n.level:ta.paddingLeft=_n.inlineIndent*_n.level);var ua={};this.getVisible()&&(ua={"aria-owns":this.internalMenuId});var ma=null;yr!=="horizontal"&&(ma=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(ma=A.createElement(this.props.expandIcon,Object(r.a)({},this.props))));var ki=A.createElement("div",Object(E.a)({ref:this.saveSubMenuTitle,style:ta,className:"".concat(pr,"-title"),role:"button"},Ci,Jr,{"aria-expanded":kn},ua,{"aria-haspopup":"true",title:typeof _n.title=="string"?_n.title:void 0}),_n.title,ma||A.createElement("i",{className:"".concat(pr,"-arrow")})),Di=this.renderChildren(),na=((mn=_n.parentMenu)===null||mn===void 0?void 0:mn.isRootMenu)?_n.parentMenu.props.getPopupContainer:function(Pa){return Pa.parentNode},qi=bi[yr],va=_n.popupOffset?{offset:_n.popupOffset}:{},Ta=s()((zt={},Object(b.a)(zt,_n.popupClassName,_n.popupClassName&&!or),Object(b.a)(zt,"".concat(pr,"-rtl"),da),zt)),Zi=_n.disabled,Qi=_n.triggerSubMenuAction,Na=_n.subMenuOpenDelay,ga=_n.forceSubMenuRender,Ii=_n.subMenuCloseDelay,Sa=_n.builtinPlacements;je.forEach(function(Pa){return delete _n[Pa]}),delete _n.onClick;var Ra=da?Object(r.a)(Object(r.a)({},ii),Sa):Object(r.a)(Object(r.a)({},Fr),Sa);delete _n.direction;var Da=this.getBaseProps(),ka=or?null:this.getMotion(Da.mode,Da.visible);return A.createElement("li",Object(E.a)({},_n,Yr,{className:_r,role:"menuitem"}),A.createElement(un,{prefixCls:pr,popupClassName:s()("".concat(pr,"-popup"),Ta),getPopupContainer:na,builtinPlacements:Ra,popupPlacement:qi,popupVisible:or?!1:kn,popupAlign:va,popup:or?null:Di,action:Zi||or?[]:[Qi],mouseEnterDelay:Na,mouseLeaveDelay:Ii,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:ga,popupMotion:ka},ki),or?Di:null)}}]),Yn}(A.Component);Oi.defaultProps={onMouseEnter:Dt,onMouseLeave:Dt,onTitleMouseEnter:Dt,onTitleMouseLeave:Dt,onTitleClick:Dt,manualRef:Dt,mode:"vertical",title:""};var Ar=Object(M.b)(function(hn,Rn){var Yn=hn.openKeys,En=hn.activeKey,Mt=hn.selectedKeys,mn=Rn.eventKey,zt=Rn.subMenuKey;return{isOpen:Yn.indexOf(mn)>-1,active:En[zt]===mn,selectedKeys:Mt}})(Oi);Ar.isSubMenu=!0;var Wn=Ar,xr="menuitem-overflowed",er=.5,ci=function(hn){Object(R.a)(Yn,hn);var Rn=Object(F.a)(Yn);function Yn(){var En;return Object(T.a)(this,Yn),En=Rn.apply(this,arguments),En.resizeObserver=null,En.mutationObserver=null,En.originalTotalWidth=0,En.overflowedItems=[],En.menuItemSizes=[],En.cancelFrameId=null,En.state={lastVisibleIndex:void 0},En.childRef=A.createRef(),En.getMenuItemNodes=function(){var Mt=En.props.prefixCls,mn=En.childRef.current;return mn?[].slice.call(mn.children).filter(function(zt){return zt.className.split(" ").indexOf("".concat(Mt,"-overflowed-submenu"))<0}):[]},En.getOverflowedSubMenuItem=function(Mt,mn,zt){var _n=En.props,kn=_n.overflowedIndicator,pr=_n.level,or=_n.mode,yr=_n.prefixCls,_r=_n.theme;if(pr!==1||or!=="horizontal")return null;var Yr=En.props.children[0],Jr=Yr.props,Ci=Jr.children,ta=Jr.title,oa=Jr.style,da=Object(d.a)(Jr,["children","title","style"]),ua=Object(r.a)({},oa),ma="".concat(Mt,"-overflowed-indicator"),ki="".concat(Mt,"-overflowed-indicator");mn.length===0&&zt!==!0?ua=Object(r.a)(Object(r.a)({},ua),{},{display:"none"}):zt&&(ua=Object(r.a)(Object(r.a)({},ua),{},{visibility:"hidden",position:"absolute"}),ma="".concat(ma,"-placeholder"),ki="".concat(ki,"-placeholder"));var Di=_r?"".concat(yr,"-").concat(_r):"",na={};return je.forEach(function(qi){da[qi]!==void 0&&(na[qi]=da[qi])}),A.createElement(Wn,Object(E.a)({title:kn,className:"".concat(yr,"-overflowed-submenu"),popupClassName:Di},na,{key:ma,eventKey:ki,disabled:!1,style:ua}),mn)},En.setChildrenWidthAndResize=function(){if(En.props.mode!=="horizontal")return;var Mt=En.childRef.current;if(!Mt)return;var mn=Mt.children;if(!mn||mn.length===0)return;var zt=Mt.children[mn.length-1];Ne(zt,"display","inline-block");var _n=En.getMenuItemNodes(),kn=_n.filter(function(pr){return pr.className.split(" ").indexOf(xr)>=0});kn.forEach(function(pr){Ne(pr,"display","inline-block")}),En.menuItemSizes=_n.map(function(pr){return Me(pr,!0)}),kn.forEach(function(pr){Ne(pr,"display","none")}),En.overflowedIndicatorWidth=Me(Mt.children[Mt.children.length-1],!0),En.originalTotalWidth=En.menuItemSizes.reduce(function(pr,or){return pr+or},0),En.handleResize(),Ne(zt,"display","none")},En.handleResize=function(){if(En.props.mode!=="horizontal")return;var Mt=En.childRef.current;if(!Mt)return;var mn=Me(Mt);En.overflowedItems=[];var zt=0,_n;En.originalTotalWidth>mn+er&&(_n=-1,En.menuItemSizes.forEach(function(kn){zt+=kn,zt+En.overflowedIndicatorWidth<=mn&&(_n+=1)})),En.setState({lastVisibleIndex:_n})},En}return Object(D.a)(Yn,[{key:"componentDidMount",value:function(){var Mt=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var mn=this.childRef.current;if(!mn)return;this.resizeObserver=new wt.default(function(zt){zt.forEach(function(){var _n=Mt.cancelFrameId;cancelAnimationFrame(_n),Mt.cancelFrameId=requestAnimationFrame(Mt.setChildrenWidthAndResize)})}),[].slice.call(mn.children).concat(mn).forEach(function(zt){Mt.resizeObserver.observe(zt)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){Mt.resizeObserver.disconnect(),[].slice.call(mn.children).concat(mn).forEach(function(zt){Mt.resizeObserver.observe(zt)}),Mt.setChildrenWidthAndResize()}),this.mutationObserver.observe(mn,{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(Mt){var mn=this,zt=this.state.lastVisibleIndex;return(Mt||[]).reduce(function(_n,kn,pr){var or=kn;if(mn.props.mode==="horizontal"){var yr=mn.getOverflowedSubMenuItem(kn.props.eventKey,[]);zt!==void 0&&mn.props.className.indexOf("".concat(mn.props.prefixCls,"-root"))!==-1&&(pr>zt&&(or=A.cloneElement(kn,{style:{display:"none"},eventKey:"".concat(kn.props.eventKey,"-hidden"),className:"".concat(xr)})),pr===zt+1&&(mn.overflowedItems=Mt.slice(zt+1).map(function(Yr){return A.cloneElement(Yr,{key:Yr.props.eventKey,mode:"vertical-left"})}),yr=mn.getOverflowedSubMenuItem(kn.props.eventKey,mn.overflowedItems)));var _r=[].concat(Object(l.a)(_n),[yr,or]);return pr===Mt.length-1&&_r.push(mn.getOverflowedSubMenuItem(kn.props.eventKey,[],!0)),_r}return[].concat(Object(l.a)(_n),[or])},[])}},{key:"render",value:function(){var Mt=this.props,mn=Mt.visible,zt=Mt.prefixCls,_n=Mt.overflowedIndicator,kn=Mt.mode,pr=Mt.level,or=Mt.tag,yr=Mt.children,_r=Mt.theme,Yr=Object(d.a)(Mt,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),Jr=or;return A.createElement(Jr,Object(E.a)({ref:this.childRef},Yr),this.renderChildren(yr))}}]),Yn}(A.Component);ci.defaultProps={tag:"div",className:""};var qr=ci;function wi(hn){return hn.length?hn.every(function(Rn){return!!Rn.props.disabled}):!0}function Xr(hn,Rn,Yn){var En=hn.getState();hn.setState({activeKey:Object(r.a)(Object(r.a)({},En.activeKey),{},Object(b.a)({},Rn,Yn))})}function Hi(hn){return hn.eventKey||"0-menu-"}function ni(hn,Rn){var Yn=Rn,En=hn.children,Mt=hn.eventKey;if(Yn){var mn;if(rt(En,function(zt,_n){zt&&zt.props&&!zt.props.disabled&&Yn===ct(zt,Mt,_n)&&(mn=!0)}),mn)return Yn}return Yn=null,hn.defaultActiveFirst&&rt(En,function(zt,_n){!Yn&&zt&&!zt.props.disabled&&(Yn=ct(zt,Mt,_n))}),Yn}function Mi(hn){if(!hn)return;var Rn=this.instanceArray.indexOf(hn);Rn!==-1?this.instanceArray[Rn]=hn:this.instanceArray.push(hn)}var cr=function(hn){Object(R.a)(Yn,hn);var Rn=Object(F.a)(Yn);function Yn(En){var Mt;return Object(T.a)(this,Yn),Mt=Rn.call(this,En),Mt.onKeyDown=function(mn,zt){var _n=mn.keyCode,kn;if(Mt.getFlatInstanceArray().forEach(function(or){or&&or.props.active&&or.onKeyDown&&(kn=or.onKeyDown(mn))}),kn)return 1;var pr=null;return(_n===f.a.UP||_n===f.a.DOWN)&&(pr=Mt.step(_n===f.a.UP?-1:1)),pr?(mn.preventDefault(),Xr(Mt.props.store,Hi(Mt.props),pr.props.eventKey),typeof zt=="function"&&zt(pr),1):void 0},Mt.onItemHover=function(mn){var zt=mn.key,_n=mn.hover;Xr(Mt.props.store,Hi(Mt.props),_n?zt:null)},Mt.onDeselect=function(mn){Mt.props.onDeselect(mn)},Mt.onSelect=function(mn){Mt.props.onSelect(mn)},Mt.onClick=function(mn){Mt.props.onClick(mn)},Mt.onOpenChange=function(mn){Mt.props.onOpenChange(mn)},Mt.onDestroy=function(mn){Mt.props.onDestroy(mn)},Mt.getFlatInstanceArray=function(){return Mt.instanceArray},Mt.step=function(mn){var zt=Mt.getFlatInstanceArray(),_n=Mt.props.store.getState().activeKey[Hi(Mt.props)],kn=zt.length;if(!kn)return null;mn<0&&(zt=zt.concat().reverse());var pr=-1;if(zt.every(function(Yr,Jr){return Yr&&Yr.props.eventKey===_n?(pr=Jr,!1):!0}),!Mt.props.defaultActiveFirst&&pr!==-1&&wi(zt.slice(pr,kn-1)))return;var or=(pr+1)%kn,yr=or;do{var _r=zt[yr];if(!_r||_r.props.disabled)yr=(yr+1)%kn;else return _r}while(yr!==or);return null},Mt.renderCommonMenuItem=function(mn,zt,_n){var kn=Mt.props.store.getState(),pr=Object(B.a)(Mt),or=pr.props,yr=ct(mn,or.eventKey,zt),_r=mn.props;if(!_r||typeof mn.type=="string")return mn;var Yr=yr===kn.activeKey,Jr=Object(r.a)(Object(r.a)({mode:_r.mode||or.mode,level:or.level,inlineIndent:or.inlineIndent,renderMenuItem:Mt.renderMenuItem,rootPrefixCls:or.prefixCls,index:zt,parentMenu:or.parentMenu,manualRef:_r.disabled?void 0:Object(j.a)(mn.ref,Mi.bind(Object(B.a)(Mt))),eventKey:yr,active:!_r.disabled&&Yr,multiple:or.multiple,onClick:function(ta){(_r.onClick||Dt)(ta),Mt.onClick(ta)},onItemHover:Mt.onItemHover,motion:or.motion,subMenuOpenDelay:or.subMenuOpenDelay,subMenuCloseDelay:or.subMenuCloseDelay,forceSubMenuRender:or.forceSubMenuRender,onOpenChange:Mt.onOpenChange,onDeselect:Mt.onDeselect,onSelect:Mt.onSelect,builtinPlacements:or.builtinPlacements,itemIcon:_r.itemIcon||Mt.props.itemIcon,expandIcon:_r.expandIcon||Mt.props.expandIcon},_n),{},{direction:or.direction});return(or.mode==="inline"||it())&&(Jr.triggerSubMenuAction="click"),A.cloneElement(mn,Object(r.a)(Object(r.a)({},Jr),{},{key:yr||zt}))},Mt.renderMenuItem=function(mn,zt,_n){if(!mn)return null;var kn=Mt.props.store.getState(),pr={openKeys:kn.openKeys,selectedKeys:kn.selectedKeys,triggerSubMenuAction:Mt.props.triggerSubMenuAction,subMenuKey:_n};return Mt.renderCommonMenuItem(mn,zt,pr)},En.store.setState({activeKey:Object(r.a)(Object(r.a)({},En.store.getState().activeKey),{},Object(b.a)({},En.eventKey,ni(En,En.activeKey)))}),Mt.instanceArray=[],Mt}return Object(D.a)(Yn,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(Mt){return this.props.visible||Mt.visible||this.props.className!==Mt.className||!k()(this.props.style,Mt.style)}},{key:"componentDidUpdate",value:function(Mt){var mn=this.props,zt="activeKey"in mn?mn.activeKey:mn.store.getState().activeKey[Hi(mn)],_n=ni(mn,zt);if(_n!==zt)Xr(mn.store,Hi(mn),_n);else if("activeKey"in Mt){var kn=ni(Mt,Mt.activeKey);_n!==kn&&Xr(mn.store,Hi(mn),_n)}}},{key:"render",value:function(){var Mt=this,mn=Object(E.a)({},this.props);this.instanceArray=[];var zt=s()(mn.prefixCls,mn.className,"".concat(mn.prefixCls,"-").concat(mn.mode)),_n={className:zt,role:mn.role||"menu"};mn.id&&(_n.id=mn.id),mn.focusable&&(_n.tabIndex=0,_n.onKeyDown=this.onKeyDown);var kn=mn.prefixCls,pr=mn.eventKey,or=mn.visible,yr=mn.level,_r=mn.mode,Yr=mn.overflowedIndicator,Jr=mn.theme;return je.forEach(function(Ci){return delete mn[Ci]}),delete mn.onClick,A.createElement(qr,Object(E.a)({},mn,{prefixCls:kn,mode:_r,tag:"ul",level:yr,theme:Jr,visible:or,overflowedIndicator:Yr},_n),Object(i.a)(mn.children).map(function(Ci,ta){return Mt.renderMenuItem(Ci,ta,pr||"0-menu-")}))}}]),Yn}(A.Component);cr.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:Dt};var Pn=Object(M.b)()(cr),br=Pn,Br=e("Kwbf");function Qr(hn,Rn,Yn){var En=hn.prefixCls,Mt=hn.motion,mn=hn.defaultMotions,zt=mn===void 0?{}:mn,_n=hn.openAnimation,kn=hn.openTransitionName,pr=Rn.switchingModeFromInline;if(Mt)return Mt;if(Object(P.a)(_n)==="object"&&_n)Object(Br.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof _n=="string")return{motionName:"".concat(En,"-open-").concat(_n)};if(kn)return{motionName:kn};var or=zt[Yn];return or||(pr?null:zt.other)}var $r=function(hn){Object(R.a)(Yn,hn);var Rn=Object(F.a)(Yn);function Yn(En){var Mt;Object(T.a)(this,Yn),Mt=Rn.call(this,En),Mt.onSelect=function(_n){var kn=Object(B.a)(Mt),pr=kn.props;if(pr.selectable){var or=Mt.store.getState(),yr=or.selectedKeys,_r=_n.key;pr.multiple?yr=yr.concat([_r]):yr=[_r],"selectedKeys"in pr||Mt.store.setState({selectedKeys:yr}),pr.onSelect(Object(r.a)(Object(r.a)({},_n),{},{selectedKeys:yr}))}},Mt.onClick=function(_n){var kn=Mt.getRealMenuMode(),pr=Object(B.a)(Mt),or=pr.store,yr=pr.props.onOpenChange;kn!=="inline"&&!("openKeys"in Mt.props)&&(or.setState({openKeys:[]}),yr([])),Mt.props.onClick(_n)},Mt.onKeyDown=function(_n,kn){Mt.innerMenu.getWrappedInstance().onKeyDown(_n,kn)},Mt.onOpenChange=function(_n){var kn=Object(B.a)(Mt),pr=kn.props,or=Mt.store.getState().openKeys.concat(),yr=!1,_r=function(Jr){var Ci=!1;if(Jr.open)Ci=or.indexOf(Jr.key)===-1,Ci&&or.push(Jr.key);else{var ta=or.indexOf(Jr.key);Ci=ta!==-1,Ci&&or.splice(ta,1)}yr=yr||Ci};Array.isArray(_n)?_n.forEach(_r):_r(_n),yr&&("openKeys"in Mt.props||Mt.store.setState({openKeys:or}),pr.onOpenChange(or))},Mt.onDeselect=function(_n){var kn=Object(B.a)(Mt),pr=kn.props;if(pr.selectable){var or=Mt.store.getState().selectedKeys.concat(),yr=_n.key,_r=or.indexOf(yr);_r!==-1&&or.splice(_r,1),"selectedKeys"in pr||Mt.store.setState({selectedKeys:or}),pr.onDeselect(Object(r.a)(Object(r.a)({},_n),{},{selectedKeys:or}))}},Mt.onMouseEnter=function(_n){Mt.restoreModeVerticalFromInline();var kn=Mt.props.onMouseEnter;kn&&kn(_n)},Mt.onTransitionEnd=function(_n){var kn=_n.propertyName==="width"&&_n.target===_n.currentTarget,pr=_n.target.className,or=Object.prototype.toString.call(pr)==="[object SVGAnimatedString]"?pr.animVal:pr,yr=_n.propertyName==="font-size"&&or.indexOf("anticon")>=0;(kn||yr)&&Mt.restoreModeVerticalFromInline()},Mt.setInnerMenu=function(_n){Mt.innerMenu=_n},Mt.isRootMenu=!0;var mn=En.defaultSelectedKeys,zt=En.defaultOpenKeys;return"selectedKeys"in En&&(mn=En.selectedKeys||[]),"openKeys"in En&&(zt=En.openKeys||[]),Mt.store=Object(M.c)({selectedKeys:mn,openKeys:zt,activeKey:{"0-menu-":ni(En,En.activeKey)}}),Mt.state={switchingModeFromInline:!1,prevProps:En,inlineOpenKeys:[],store:Mt.store},Mt}return Object(D.a)(Yn,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(Mt){var mn=this.props,zt=mn.siderCollapsed,_n=mn.inlineCollapsed,kn=mn.onOpenChange;(!Mt.inlineCollapsed&&_n||!Mt.siderCollapsed&&zt)&&kn([]),this.updateMiniStore(),this.updateMenuDisplay()}},{key:"updateMenuDisplay",value:function(){var Mt=this.props.collapsedWidth,mn=this.store,zt=this.prevOpenKeys,_n=this.getInlineCollapsed()&&(Mt===0||Mt==="0"||Mt==="0px");_n?(this.prevOpenKeys=mn.getState().openKeys.concat(),this.store.setState({openKeys:[]})):zt&&(this.store.setState({openKeys:zt}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var Mt=this.props.mode,mn=this.state.switchingModeFromInline,zt=this.getInlineCollapsed();return mn&&zt?"inline":zt?"vertical":Mt}},{key:"getInlineCollapsed",value:function(){var Mt=this.props,mn=Mt.inlineCollapsed,zt=Mt.siderCollapsed;return zt!==void 0?zt:mn}},{key:"restoreModeVerticalFromInline",value:function(){var Mt=this.state.switchingModeFromInline;Mt&&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 Mt=Object(r.a)({},Object(K.a)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),mn=this.getRealMenuMode();return Mt.className+=" ".concat(Mt.prefixCls,"-root"),Mt.direction==="rtl"&&(Mt.className+=" ".concat(Mt.prefixCls,"-rtl")),Mt=Object(r.a)(Object(r.a)({},Mt),{},{mode:mn,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:Qr(this.props,this.state,mn)}),delete Mt.openAnimation,delete Mt.openTransitionName,A.createElement(M.a,{store:this.store},A.createElement(br,Object(E.a)({},Mt,{ref:this.setInnerMenu}),this.props.children))}}],[{key:"getDerivedStateFromProps",value:function(Mt,mn){var zt=mn.prevProps,_n=mn.store,kn=_n.getState(),pr={},or={prevProps:Mt};return zt.mode==="inline"&&Mt.mode!=="inline"&&(or.switchingModeFromInline=!0),"openKeys"in Mt?pr.openKeys=Mt.openKeys||[]:((Mt.inlineCollapsed&&!zt.inlineCollapsed||Mt.siderCollapsed&&!zt.siderCollapsed)&&(or.switchingModeFromInline=!0,or.inlineOpenKeys=kn.openKeys,pr.openKeys=[]),(!Mt.inlineCollapsed&&zt.inlineCollapsed||!Mt.siderCollapsed&&zt.siderCollapsed)&&(pr.openKeys=mn.inlineOpenKeys,or.inlineOpenKeys=[])),Object.keys(pr).length&&_n.setState(pr),or}}]),Yn}(A.Component);$r.defaultProps={selectable:!0,onClick:Dt,onSelect:Dt,onOpenChange:Dt,onDeselect:Dt,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:A.createElement("span",null,"\xB7\xB7\xB7")};var hi=$r,fi=function(hn){Object(R.a)(Yn,hn);var Rn=Object(F.a)(Yn);function Yn(){var En;return Object(T.a)(this,Yn),En=Rn.apply(this,arguments),En.onKeyDown=function(Mt){var mn=Mt.keyCode;return mn===f.a.ENTER?(En.onClick(Mt),!0):void 0},En.onMouseLeave=function(Mt){var mn=En.props,zt=mn.eventKey,_n=mn.onItemHover,kn=mn.onMouseLeave;_n({key:zt,hover:!1}),kn({key:zt,domEvent:Mt})},En.onMouseEnter=function(Mt){var mn=En.props,zt=mn.eventKey,_n=mn.onItemHover,kn=mn.onMouseEnter;_n({key:zt,hover:!0}),kn({key:zt,domEvent:Mt})},En.onClick=function(Mt){var mn=En.props,zt=mn.eventKey,_n=mn.multiple,kn=mn.onClick,pr=mn.onSelect,or=mn.onDeselect,yr=mn.isSelected,_r={key:zt,keyPath:[zt],item:Object(B.a)(En),domEvent:Mt};kn(_r),_n?yr?or(_r):pr(_r):yr||pr(_r)},En.saveNode=function(Mt){En.node=Mt},En}return Object(D.a)(Yn,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var Mt=this.props;Mt.onDestroy&&Mt.onDestroy(Mt.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 Mt,mn=Object(r.a)({},this.props),zt=s()(this.getPrefixCls(),mn.className,(Mt={},Object(b.a)(Mt,this.getActiveClassName(),!mn.disabled&&mn.active),Object(b.a)(Mt,this.getSelectedClassName(),mn.isSelected),Object(b.a)(Mt,this.getDisabledClassName(),mn.disabled),Mt)),_n=Object(r.a)(Object(r.a)({},mn.attribute),{},{title:typeof mn.title=="string"?mn.title:void 0,className:zt,role:mn.role||"menuitem","aria-disabled":mn.disabled});mn.role==="option"?_n=Object(r.a)(Object(r.a)({},_n),{},{role:"option","aria-selected":mn.isSelected}):(mn.role===null||mn.role==="none")&&(_n.role="none");var kn={onClick:mn.disabled?null:this.onClick,onMouseLeave:mn.disabled?null:this.onMouseLeave,onMouseEnter:mn.disabled?null:this.onMouseEnter},pr=Object(r.a)({},mn.style);mn.mode==="inline"&&(mn.direction==="rtl"?pr.paddingRight=mn.inlineIndent*mn.level:pr.paddingLeft=mn.inlineIndent*mn.level),je.forEach(function(yr){return delete mn[yr]}),delete mn.direction;var or=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(or=A.createElement(this.props.itemIcon,this.props)),A.createElement("li",Object(E.a)({},Object(K.a)(mn,["onClick","onMouseEnter","onMouseLeave","onSelect"]),_n,kn,{style:pr,ref:this.saveNode}),mn.children,or)}}]),Yn}(A.Component);fi.isMenuItem=!0,fi.defaultProps={onSelect:Dt,onMouseEnter:Dt,onMouseLeave:Dt,manualRef:Dt};var Ai=Object(M.b)(function(hn,Rn){var Yn=hn.activeKey,En=hn.selectedKeys,Mt=Rn.eventKey,mn=Rn.subMenuKey;return{active:Yn[mn]===Mt,isSelected:Array.isArray(En)?En.indexOf(Mt)!==-1:En===Mt}})(fi),Wi=Ai,ra=function(hn){Object(R.a)(Yn,hn);var Rn=Object(F.a)(Yn);function Yn(){var En;return Object(T.a)(this,Yn),En=Rn.apply(this,arguments),En.renderInnerMenuItem=function(Mt){var mn=En.props,zt=mn.renderMenuItem,_n=mn.index;return zt(Mt,_n,En.props.subMenuKey)},En}return Object(D.a)(Yn,[{key:"render",value:function(){var Mt=Object(E.a)({},this.props),mn=Mt.className,zt=mn===void 0?"":mn,_n=Mt.rootPrefixCls,kn="".concat(_n,"-item-group-title"),pr="".concat(_n,"-item-group-list"),or=Mt.title,yr=Mt.children;return je.forEach(function(_r){return delete Mt[_r]}),delete Mt.direction,A.createElement("li",Object(E.a)({},Mt,{onClick:function(Yr){return Yr.stopPropagation()},className:"".concat(zt," ").concat(_n,"-item-group")}),A.createElement("div",{className:kn,title:typeof or=="string"?or:void 0},or),A.createElement("ul",{className:pr},A.Children.map(yr,this.renderInnerMenuItem)))}}]),Yn}(A.Component);ra.isMenuItemGroup=!0,ra.defaultProps={disabled:!0};var $i=ra,Ha=function(Rn){var Yn=Rn.className,En=Rn.rootPrefixCls,Mt=Rn.style;return A.createElement("li",{className:"".concat(Yn," ").concat(En,"-item-divider"),style:Mt})};Ha.defaultProps={disabled:!0,className:"",style:{}};var pi=Ha,sr=hi,Li=e("eDIo");function Ji(hn,Rn){var Yn=hn.prefixCls,En=hn.editable,Mt=hn.locale,mn=hn.style;return!En||En.showAdd===!1?null:A.createElement("button",{ref:Rn,type:"button",className:"".concat(Yn,"-nav-add"),style:mn,"aria-label":(Mt==null?void 0:Mt.addAriaLabel)||"Add tab",onClick:function(_n){En.onEdit("add",{event:_n})}},En.addIcon||"+")}var Ui=A.forwardRef(Ji);function ea(hn,Rn){var Yn=hn.prefixCls,En=hn.id,Mt=hn.tabs,mn=hn.locale,zt=hn.mobile,_n=hn.moreIcon,kn=_n===void 0?"More":_n,pr=hn.moreTransitionName,or=hn.style,yr=hn.className,_r=hn.editable,Yr=hn.tabBarGutter,Jr=hn.rtl,Ci=hn.onTabClick,ta=Object(A.useState)(!1),oa=Object(m.a)(ta,2),da=oa[0],ua=oa[1],ma=Object(A.useState)(null),ki=Object(m.a)(ma,2),Di=ki[0],na=ki[1],qi="".concat(En,"-more-popup"),va="".concat(Yn,"-dropdown"),Ta=Di!==null?"".concat(qi,"-").concat(Di):null,Zi=mn==null?void 0:mn.dropdownAriaLabel,Qi=A.createElement(sr,{onClick:function(ka){var Pa=ka.key,Ka=ka.domEvent;Ci(Pa,Ka),ua(!1)},id:qi,tabIndex:-1,role:"listbox","aria-activedescendant":Ta,selectedKeys:[Di],"aria-label":Zi!==void 0?Zi:"expanded dropdown"},Mt.map(function(Da){return A.createElement(Wi,{key:Da.key,id:"".concat(qi,"-").concat(Da.key),role:"option","aria-controls":En&&"".concat(En,"-panel-").concat(Da.key),disabled:Da.disabled},Da.tab)}));function Na(Da){for(var ka=Mt.filter(function(io){return!io.disabled}),Pa=ka.findIndex(function(io){return io.key===Di})||0,Ka=ka.length,xa=0;xa<Ka;xa+=1){Pa=(Pa+Da+Ka)%Ka;var ja=ka[Pa];if(!ja.disabled){na(ja.key);return}}}function ga(Da){var ka=Da.which;if(!da){[f.a.DOWN,f.a.SPACE,f.a.ENTER].includes(ka)&&(ua(!0),Da.preventDefault());return}switch(ka){case f.a.UP:Na(-1),Da.preventDefault();break;case f.a.DOWN:Na(1),Da.preventDefault();break;case f.a.ESC:ua(!1);break;case f.a.SPACE:case f.a.ENTER:Di!==null&&Ci(Di,Da);break}}Object(A.useEffect)(function(){var Da=document.getElementById(Ta);Da&&Da.scrollIntoView&&Da.scrollIntoView(!1)},[Di]),Object(A.useEffect)(function(){da||na(null)},[da]);var Ii=Object(b.a)({},Jr?"marginLeft":"marginRight",Yr);Mt.length||(Ii.visibility="hidden",Ii.order=1);var Sa=s()(Object(b.a)({},"".concat(va,"-rtl"),Jr)),Ra=zt?null:A.createElement(Li.a,{prefixCls:va,overlay:Qi,trigger:["hover"],visible:da,transitionName:pr,onVisibleChange:ua,overlayClassName:Sa,mouseEnterDelay:.1,mouseLeaveDelay:.1},A.createElement("button",{type:"button",className:"".concat(Yn,"-nav-more"),style:Ii,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":qi,id:"".concat(En,"-more"),"aria-expanded":da,onKeyDown:ga},kn));return A.createElement("div",{className:s()("".concat(Yn,"-nav-operations"),yr),style:or,ref:Rn},Ra,A.createElement(Ui,{prefixCls:Yn,locale:mn,editable:_r}))}var Bt=A.forwardRef(ea),Vn=Object(A.createContext)(null),nr=.1,fr=.01,Re=20,At=Math.pow(.995,Re);function qt(){var hn=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(hn)||/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(hn.substr(0,4)))}function $t(hn,Rn){var Yn=Object(A.useState)(),En=Object(m.a)(Yn,2),Mt=En[0],mn=En[1],zt=Object(A.useState)(0),_n=Object(m.a)(zt,2),kn=_n[0],pr=_n[1],or=Object(A.useState)(0),yr=Object(m.a)(or,2),_r=yr[0],Yr=yr[1],Jr=Object(A.useState)(),Ci=Object(m.a)(Jr,2),ta=Ci[0],oa=Ci[1],da=Object(A.useRef)();function ua(Zi){var Qi=Zi.touches[0],Na=Qi.screenX,ga=Qi.screenY;mn({x:Na,y:ga}),window.clearInterval(da.current)}function ma(Zi){if(!Mt)return;Zi.preventDefault();var Qi=Zi.touches[0],Na=Qi.screenX,ga=Qi.screenY;mn({x:Na,y:ga});var Ii=Na-Mt.x,Sa=ga-Mt.y;Rn(Ii,Sa);var Ra=Date.now();pr(Ra),Yr(Ra-kn),oa({x:Ii,y:Sa})}function ki(){if(!Mt)return;if(mn(null),oa(null),ta){var Zi=ta.x/_r,Qi=ta.y/_r,Na=Math.abs(Zi),ga=Math.abs(Qi);if(Math.max(Na,ga)<nr)return;var Ii=Zi,Sa=Qi;da.current=window.setInterval(function(){if(Math.abs(Ii)<fr&&Math.abs(Sa)<fr){window.clearInterval(da.current);return}Ii*=At,Sa*=At,Rn(Ii*Re,Sa*Re)},Re)}}var Di=Object(A.useRef)(0),na=Object(A.useRef)(!1),qi=Object(A.useRef)();function va(Zi){var Qi=Zi.deltaX,Na=Zi.deltaY,ga=0,Ii=Math.abs(Qi),Sa=Math.abs(Na);Ii===Sa?ga=qi.current==="x"?Qi:Na:Ii>Sa?(ga=Qi,qi.current="x"):(ga=Na,qi.current="y");var Ra=Date.now();Ra-Di.current>100&&(na.current=!1),(Rn(-ga,-ga)||na.current)&&(Zi.preventDefault(),na.current=!0),Di.current=Ra}var Ta=Object(A.useRef)(null);Ta.current={onTouchStart:ua,onTouchMove:ma,onTouchEnd:ki,onWheel:va},A.useEffect(function(){function Zi(Ii){Ta.current.onTouchStart(Ii)}function Qi(Ii){Ta.current.onTouchMove(Ii)}function Na(Ii){Ta.current.onTouchEnd(Ii)}function ga(Ii){Ta.current.onWheel(Ii)}return document.addEventListener("touchmove",Qi,{passive:!1}),document.addEventListener("touchend",Na,{passive:!1}),hn.current.addEventListener("touchstart",Zi,{passive:!1}),hn.current.addEventListener("wheel",ga),function(){document.removeEventListener("touchmove",Qi),document.removeEventListener("touchend",Na)}},[])}function Cn(){var hn=Object(A.useRef)(new Map);function Rn(En){return hn.current.has(En)||hn.current.set(En,A.createRef()),hn.current.get(En)}function Yn(En){hn.current.delete(En)}return[Rn,Yn]}function Dn(hn,Rn){var Yn=A.useRef(hn),En=A.useState({}),Mt=Object(m.a)(En,2),mn=Mt[1];function zt(_n){var kn=typeof _n=="function"?_n(Yn.current):_n;kn!==Yn.current&&Rn(kn,Yn.current),Yn.current=kn,mn({})}return[Yn.current,zt]}var Hn=function(Rn){var Yn=Rn.position,En=Rn.prefixCls,Mt=Rn.extra;if(!Mt)return null;var mn,zt=Mt;return Yn==="right"&&(mn=zt.right||!zt.left&&zt||null),Yn==="left"&&(mn=zt.left||null),mn?A.createElement("div",{className:"".concat(En,"-extra-content")},mn):null};function ar(hn,Rn){var Yn,En=A.useContext(Vn),Mt=En.prefixCls,mn=En.tabs,zt=hn.className,_n=hn.style,kn=hn.id,pr=hn.animated,or=hn.activeKey,yr=hn.rtl,_r=hn.extra,Yr=hn.editable,Jr=hn.locale,Ci=hn.tabPosition,ta=hn.tabBarGutter,oa=hn.children,da=hn.onTabClick,ua=hn.onTabScroll,ma=Object(A.useRef)(),ki=Object(A.useRef)(),Di=Object(A.useRef)(),na=Object(A.useRef)(),qi=Cn(),va=Object(m.a)(qi,2),Ta=va[0],Zi=va[1],Qi=Ci==="top"||Ci==="bottom",Na=Dn(0,function(ie,we){Qi&&ua&&ua({direction:ie>we?"left":"right"})}),ga=Object(m.a)(Na,2),Ii=ga[0],Sa=ga[1],Ra=Dn(0,function(ie,we){!Qi&&ua&&ua({direction:ie>we?"top":"bottom"})}),Da=Object(m.a)(Ra,2),ka=Da[0],Pa=Da[1],Ka=Object(A.useState)(0),xa=Object(m.a)(Ka,2),ja=xa[0],io=xa[1],ia=Object(A.useState)(0),lo=Object(m.a)(ia,2),Ya=lo[0],Ca=lo[1],Xa=Object(A.useState)(0),Ba=Object(m.a)(Xa,2),La=Ba[0],yo=Ba[1],ao=Object(A.useState)(0),bo=Object(m.a)(ao,2),uo=bo[0],co=bo[1],Ga=Object(A.useState)(null),eo=Object(m.a)(Ga,2),wa=eo[0],no=eo[1],fo=Object(A.useState)(null),_i=Object(m.a)(fo,2),Ma=_i[0],Ro=_i[1],jo=Object(A.useState)(0),Vo=Object(m.a)(jo,2),Qo=Vo[0],wo=Vo[1],Oa=Object(A.useState)(0),Po=Object(m.a)(Oa,2),ds=Po[0],ho=Po[1],To=h(new Map),za=Object(m.a)(To,2),Yo=za[0],nl=za[1],Is=C(mn,Yo,ja),Ls="".concat(Mt,"-nav-operations-hidden"),xs=0,ps=0;Qi?yr?(xs=0,ps=Math.max(0,ja-wa)):(xs=Math.min(0,wa-ja),ps=0):(xs=Math.min(0,Ma-Ya),ps=0);function Ts(ie){return ie<xs?[xs,!1]:ie>ps?[ps,!1]:[ie,!0]}var Ho=Object(A.useRef)(),mo=Object(A.useState)(),es=Object(m.a)(mo,2),zo=es[0],_o=es[1];function zn(){_o(Date.now())}function Go(){window.clearTimeout(Ho.current)}$t(ma,function(ie,we){var Ge=!1;function gt(fn,In){fn(function(Jn){var Cr=Ts(Jn+In),Hr=Object(m.a)(Cr,2),si=Hr[0],xi=Hr[1];return Ge=xi,si})}if(Qi){if(wa>=ja)return Ge;gt(Sa,ie)}else{if(Ma>=Ya)return Ge;gt(Pa,we)}return Go(),zn(),Ge}),Object(A.useEffect)(function(){return Go(),zo&&(Ho.current=window.setTimeout(function(){_o(0)},100)),Go},[zo]);function rl(){var ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:or,we=Is.get(ie);if(!we)return;if(Qi){var Ge=Ii;yr?we.right<Ii?Ge=we.right:we.right+we.width>Ii+wa&&(Ge=we.right+we.width-wa):we.left<-Ii?Ge=-we.left:we.left+we.width>-Ii+wa&&(Ge=-(we.left+we.width-wa)),Pa(0),Sa(Ts(Ge)[0])}else{var gt=ka;we.top<-ka?gt=-we.top:we.top+we.height>-ka+Ma&&(gt=-(we.top+we.height-Ma)),Sa(0),Pa(Ts(gt)[0])}}var zs=S(Is,{width:wa,height:Ma,left:Ii,top:ka},{width:La,height:uo},{width:Qo,height:ds},Object(r.a)(Object(r.a)({},hn),{},{tabs:mn})),Ps=Object(m.a)(zs,2),ro=Ps[0],go=Ps[1],Uo=mn.map(function(ie){var we=ie.key;return A.createElement(x,{id:kn,prefixCls:Mt,key:we,rtl:yr,tab:ie,closable:ie.closable,editable:Yr,active:we===or,tabPosition:Ci,tabBarGutter:ta,renderWrapper:oa,removeAriaLabel:Jr==null?void 0:Jr.removeAriaLabel,ref:Ta(we),onClick:function(gt){da(we,gt)},onRemove:function(){Zi(we)},onFocus:function(){rl(we),zn(),yr||(ma.current.scrollLeft=0),ma.current.scrollTop=0}})}),rs=c(function(){var ie,we,Ge,gt,fn,In,Jn,Cr,Hr,si=((ie=ma.current)===null||ie===void 0?void 0:ie.offsetWidth)||0,xi=((we=ma.current)===null||we===void 0?void 0:we.offsetHeight)||0,Bi=((Ge=na.current)===null||Ge===void 0?void 0:Ge.offsetWidth)||0,sa=((gt=na.current)===null||gt===void 0?void 0:gt.offsetHeight)||0,ya=((fn=Di.current)===null||fn===void 0?void 0:fn.offsetWidth)||0,Ja=((In=Di.current)===null||In===void 0?void 0:In.offsetHeight)||0;no(si),Ro(xi),wo(Bi),ho(sa);var $a=(((Jn=ki.current)===null||Jn===void 0?void 0:Jn.offsetWidth)||0)-Bi,to=(((Cr=ki.current)===null||Cr===void 0?void 0:Cr.offsetHeight)||0)-sa;io($a),Ca(to);var Lo=(Hr=Di.current)===null||Hr===void 0?void 0:Hr.className.includes(Ls);yo($a-(Lo?0:ya)),co(to-(Lo?0:Ja)),nl(function(){var Co=new Map;return mn.forEach(function(Bo){var Ao=Bo.key,So=Ta(Ao).current;So&&Co.set(Ao,{width:So.offsetWidth,height:So.offsetHeight,left:So.offsetLeft,top:So.offsetTop})}),Co})}),ys=mn.slice(0,ro),ms=mn.slice(go+1),Os=[].concat(Object(l.a)(ys),Object(l.a)(ms)),al=Object(A.useState)(),Ns=Object(m.a)(al,2),Ys=Ns[0],_s=Ns[1],As=Is.get(or),Ds=Object(A.useRef)();function ut(){u.a.cancel(Ds.current)}Object(A.useEffect)(function(){var ie={};return As&&(Qi?(yr?ie.right=As.right:ie.left=As.left,ie.width=As.width):(ie.top=As.top,ie.height=As.height)),ut(),Ds.current=u()(function(){_s(ie)}),ut},[As,Qi,yr]),Object(A.useEffect)(function(){rl()},[or,As,Is,Qi]),Object(A.useEffect)(function(){rs()},[yr,ta,or,mn.map(function(ie){return ie.key}).join("_")]);var bt=!!Os.length,tr="".concat(Mt,"-nav-wrap"),Tr,et,X,ee;return Qi?yr?(et=Ii>0,Tr=Ii+wa<ja):(Tr=Ii<0,et=-Ii+wa<ja):(X=ka<0,ee=-ka+Ma<Ya),A.createElement("div",{ref:Rn,role:"tablist",className:s()("".concat(Mt,"-nav"),zt),style:_n,onKeyDown:function(){zn()}},A.createElement(Hn,{position:"left",extra:_r,prefixCls:Mt}),A.createElement(o.a,{onResize:rs},A.createElement("div",{className:s()(tr,(Yn={},Object(b.a)(Yn,"".concat(tr,"-ping-left"),Tr),Object(b.a)(Yn,"".concat(tr,"-ping-right"),et),Object(b.a)(Yn,"".concat(tr,"-ping-top"),X),Object(b.a)(Yn,"".concat(tr,"-ping-bottom"),ee),Yn)),ref:ma},A.createElement(o.a,{onResize:rs},A.createElement("div",{ref:ki,className:"".concat(Mt,"-nav-list"),style:{transform:"translate(".concat(Ii,"px, ").concat(ka,"px)"),transition:zo?"none":void 0}},Uo,A.createElement(Ui,{ref:na,prefixCls:Mt,locale:Jr,editable:Yr,style:{visibility:bt?"hidden":null}}),A.createElement("div",{className:s()("".concat(Mt,"-ink-bar"),Object(b.a)({},"".concat(Mt,"-ink-bar-animated"),pr.inkBar)),style:Ys}))))),A.createElement(Bt,Object.assign({},hn,{ref:Di,prefixCls:Mt,tabs:Os,className:!bt&&Ls})),A.createElement(Hn,{position:"right",extra:_r,prefixCls:Mt}))}var Er=A.forwardRef(ar);function gr(hn){var Rn=hn.id,Yn=hn.activeKey,En=hn.animated,Mt=hn.tabPosition,mn=hn.rtl,zt=hn.destroyInactiveTabPane,_n=A.useContext(Vn),kn=_n.prefixCls,pr=_n.tabs,or=En.tabPane,yr=pr.findIndex(function(_r){return _r.key===Yn});return A.createElement("div",{className:s()("".concat(kn,"-content-holder"))},A.createElement("div",{className:s()("".concat(kn,"-content"),"".concat(kn,"-content-").concat(Mt),Object(b.a)({},"".concat(kn,"-content-animated"),or)),style:yr&&or?Object(b.a)({},mn?"marginRight":"marginLeft","-".concat(yr,"00%")):null},pr.map(function(_r){return A.cloneElement(_r.node,{key:_r.key,prefixCls:kn,tabKey:_r.key,id:Rn,animated:or,active:_r.key===Yn,destroyInactiveTabPane:zt})})))}function Rr(hn){var Rn=hn.prefixCls,Yn=hn.forceRender,En=hn.className,Mt=hn.style,mn=hn.id,zt=hn.active,_n=hn.animated,kn=hn.destroyInactiveTabPane,pr=hn.tabKey,or=hn.children,yr=A.useState(Yn),_r=Object(m.a)(yr,2),Yr=_r[0],Jr=_r[1];A.useEffect(function(){zt?Jr(!0):kn&&Jr(!1)},[zt,kn]);var Ci={};return zt||(_n?(Ci.visibility="hidden",Ci.height=0,Ci.overflowY="hidden"):Ci.display="none"),A.createElement("div",{id:mn&&"".concat(mn,"-panel-").concat(pr),role:"tabpanel",tabIndex:zt?0:-1,"aria-labelledby":mn&&"".concat(mn,"-tab-").concat(pr),"aria-hidden":!zt,style:Object(r.a)(Object(r.a)({},Ci),Mt),className:s()("".concat(Rn,"-tabpane"),zt&&"".concat(Rn,"-tabpane-active"),En)},(zt||Yr||Yn)&&or)}var kr=0;function wr(hn){return Object(i.a)(hn).map(function(Rn){if(A.isValidElement(Rn)){var Yn=Rn.key!==void 0?String(Rn.key):void 0;return Object(r.a)(Object(r.a)({key:Yn},Rn.props),{},{node:Rn})}return null}).filter(function(Rn){return Rn})}function Lr(hn,Rn){var Yn,En=hn.id,Mt=hn.prefixCls,mn=Mt===void 0?"rc-tabs":Mt,zt=hn.className,_n=hn.children,kn=hn.direction,pr=hn.activeKey,or=hn.defaultActiveKey,yr=hn.editable,_r=hn.animated,Yr=hn.tabPosition,Jr=Yr===void 0?"top":Yr,Ci=hn.tabBarGutter,ta=hn.tabBarStyle,oa=hn.tabBarExtraContent,da=hn.locale,ua=hn.moreIcon,ma=hn.moreTransitionName,ki=hn.destroyInactiveTabPane,Di=hn.renderTabBar,na=hn.onChange,qi=hn.onTabClick,va=hn.onTabScroll,Ta=Object(d.a)(hn,["id","prefixCls","className","children","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll"]),Zi=wr(_n),Qi=kn==="rtl",Na;_r===!1?Na={inkBar:!1,tabPane:!1}:Na=Object(r.a)({inkBar:!0,tabPane:!1},_r!==!0?_r:null);var ga=Object(A.useState)(!1),Ii=Object(m.a)(ga,2),Sa=Ii[0],Ra=Ii[1];Object(A.useEffect)(function(){Ra(qt())},[]);var Da=Object(n.a)(function(){var uo;return(uo=Zi[0])===null||uo===void 0?void 0:uo.key},{value:pr,defaultValue:or}),ka=Object(m.a)(Da,2),Pa=ka[0],Ka=ka[1],xa=Object(A.useState)(function(){return Zi.findIndex(function(uo){return uo.key===Pa})}),ja=Object(m.a)(xa,2),io=ja[0],ia=ja[1];Object(A.useEffect)(function(){var uo=Zi.findIndex(function(Ga){return Ga.key===Pa});if(uo===-1){var co;uo=Math.max(0,Math.min(io,Zi.length-1)),Ka((co=Zi[uo])===null||co===void 0?void 0:co.key)}ia(uo)},[Zi.map(function(uo){return uo.key}).join("_"),Pa,io]);var lo=Object(n.a)(null,{value:En}),Ya=Object(m.a)(lo,2),Ca=Ya[0],Xa=Ya[1],Ba=Jr;Sa&&!["left","right"].includes(Jr)&&(Ba="top"),Object(A.useEffect)(function(){En||(Xa("rc-tabs-".concat(kr)),kr+=1)},[]);function La(uo,co){qi==null||qi(uo,co),Ka(uo),na==null||na(uo)}var yo={id:Ca,activeKey:Pa,animated:Na,tabPosition:Ba,rtl:Qi,mobile:Sa},ao,bo=Object(r.a)(Object(r.a)({},yo),{},{editable:yr,locale:da,moreIcon:ua,moreTransitionName:ma,tabBarGutter:Ci,onTabClick:La,onTabScroll:va,extra:oa,style:ta,panes:_n});return Di?ao=Di(bo,Er):ao=A.createElement(Er,Object.assign({},bo)),A.createElement(Vn.Provider,{value:{tabs:Zi,prefixCls:mn}},A.createElement("div",Object.assign({ref:Rn,id:En,className:s()(mn,"".concat(mn,"-").concat(Ba),(Yn={},Object(b.a)(Yn,"".concat(mn,"-mobile"),Sa),Object(b.a)(Yn,"".concat(mn,"-editable"),yr),Object(b.a)(Yn,"".concat(mn,"-rtl"),Qi),Yn),zt)},Ta),ao,A.createElement(gr,Object.assign({destroyInactiveTabPane:ki},yo,{animated:Na}))))}var Ir=A.forwardRef(Lr);Ir.TabPane=Rr;var zr=Ir,Gr=zr,ri=e("cCPh"),yi=e.n(ri),li=e("fNCr"),Ti=e.n(li),Fi=e("V/uB"),Si=e.n(Fi),mi=e("uaoM"),Ni=e("H84U"),Wr=function(hn,Rn){var Yn={};for(var En in hn)Object.prototype.hasOwnProperty.call(hn,En)&&Rn.indexOf(En)<0&&(Yn[En]=hn[En]);if(hn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Mt=0,En=Object.getOwnPropertySymbols(hn);Mt<En.length;Mt++)Rn.indexOf(En[Mt])<0&&Object.prototype.propertyIsEnumerable.call(hn,En[Mt])&&(Yn[En[Mt]]=hn[En[Mt]]);return Yn};function Ri(hn){var Rn,Yn=hn.type,En=hn.className,Mt=hn.size,mn=hn.onEdit,zt=hn.hideAdd,_n=hn.centered,kn=hn.addIcon,pr=Wr(hn,["type","className","size","onEdit","hideAdd","centered","addIcon"]),or=pr.prefixCls,yr=A.useContext(Ni.b),_r=yr.getPrefixCls,Yr=yr.direction,Jr=_r("tabs",or),Ci;return Yn==="editable-card"&&(Ci={onEdit:function(oa,da){var ua=da.key,ma=da.event;mn==null||mn(oa==="add"?ma:ua,oa)},removeIcon:A.createElement(Si.a,null),addIcon:kn||A.createElement(Ti.a,null),showAdd:zt!==!0}),Object(mi.a)(!("onPrevClick"in pr)&&!("onNextClick"in pr),"Tabs","`onPrevClick` and `onNextClick` has been removed. Please use `onTabScroll` instead."),A.createElement(Gr,L()({direction:Yr},pr,{moreTransitionName:"slide-up",className:s()(En,(Rn={},v()(Rn,"".concat(Jr,"-").concat(Mt),Mt),v()(Rn,"".concat(Jr,"-card"),["card","editable-card"].includes(Yn)),v()(Rn,"".concat(Jr,"-editable-card"),Yn==="editable-card"),v()(Rn,"".concat(Jr,"-centered"),_n),Rn)),editable:Ci,moreIcon:A.createElement(yi.a,null),prefixCls:Jr}))}Ri.TabPane=Rr;var Ki=U.a=Ri},ZTW2:function(te,U,e){},ZWlE:function(te,U,e){var y=e("bYtY"),L=e("4NO4");function g(b){v(b),A(b)}function v(b){if(b.parallel)return;var m=!1;y.each(b.series,function(d){d&&d.type==="parallel"&&(m=!0)}),m&&(b.parallel=[{}])}function A(b){var m=L.normalizeToArray(b.parallelAxis);y.each(m,function(d){if(!y.isObject(d))return;var r=d.parallelIndex||0,a=L.normalizeToArray(b.parallel)[r];a&&a.parallelAxisDefault&&y.merge(d,a.parallelAxisDefault,!1)})}te.exports=g},ZX9x:function(te,U,e){"use strict";e.d(U,"a",function(){return D}),e.d(U,"b",function(){return F});var y=e("lSNA"),L=e.n(y),g=e("pVnL"),v=e.n(g),A=e("lwsE"),b=e.n(A),m=e("W8MJ"),d=e.n(m),r=e("7W2i"),a=e.n(r),s=e("LQ03"),i=e.n(s),n=e("q1tI"),l=e("TSYQ"),t=e.n(l),u=e("BGR+"),o=e("T1rO"),c=e.n(o),h=e("fEPi"),f=e.n(h),w=e("DFhj"),x=e.n(w),I=e("PKem"),C=e("H84U"),N=function(K){return!isNaN(parseFloat(K))&&isFinite(K)},S=N,E=function(M,K){var j={};for(var H in M)Object.prototype.hasOwnProperty.call(M,H)&&K.indexOf(H)<0&&(j[H]=M[H]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,H=Object.getOwnPropertySymbols(M);k<H.length;k++)K.indexOf(H[k])<0&&Object.prototype.propertyIsEnumerable.call(M,H[k])&&(j[H[k]]=M[H[k]]);return j},T={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},D=n.createContext({}),B=function(){var M=0;return function(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return M+=1,"".concat(K).concat(M)}}(),R=function(M){a()(j,M);var K=i()(j);function j(H){var k;b()(this,j),k=K.call(this,H),k.responsiveHandler=function(Y){k.setState({below:Y.matches});var _=k.props.onBreakpoint,G=k.state.collapsed;_&&_(Y.matches),G!==Y.matches&&k.setCollapsed(Y.matches,"responsive")},k.setCollapsed=function(Y,_){"collapsed"in k.props||k.setState({collapsed:Y});var G=k.props.onCollapse;G&&G(Y,_)},k.toggle=function(){var Y=!k.state.collapsed;k.setCollapsed(Y,"clickTrigger")},k.renderSider=function(Y){var _,G=Y.getPrefixCls,J=k.props,ue=J.prefixCls,q=J.className,re=J.theme,me=J.collapsible,be=J.reverseArrow,ke=J.trigger,ce=J.style,Ee=J.width,pe=J.collapsedWidth,Se=J.zeroWidthTriggerStyle,st=J.children,qe=E(J,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle","children"]),tt=k.state,Dt=tt.collapsed,ct=tt.below,St=G("layout-sider",ue),rt=Object(u.default)(qe,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),ht=Dt?pe:Ee,je=S(ht)?"".concat(ht,"px"):String(ht),Me=parseFloat(String(pe||0))===0?n.createElement("span",{onClick:k.toggle,className:t()("".concat(St,"-zero-width-trigger"),"".concat(St,"-zero-width-trigger-").concat(be?"right":"left")),style:Se},ke||n.createElement(c.a,null)):null,Ne={expanded:be?n.createElement(f.a,null):n.createElement(x.a,null),collapsed:be?n.createElement(x.a,null):n.createElement(f.a,null)},it=Dt?"collapsed":"expanded",wt=Ne[it],jt=ke!==null?Me||n.createElement("div",{className:"".concat(St,"-trigger"),onClick:k.toggle,style:{width:je}},ke||wt):null,lt=v()(v()({},ce),{flex:"0 0 ".concat(je),maxWidth:je,minWidth:je,width:je}),Te=t()(q,St,"".concat(St,"-").concat(re),(_={},L()(_,"".concat(St,"-collapsed"),!!Dt),L()(_,"".concat(St,"-has-trigger"),me&&ke!==null&&!Me),L()(_,"".concat(St,"-below"),!!ct),L()(_,"".concat(St,"-zero-width"),parseFloat(je)===0),_));return n.createElement("aside",v()({className:Te},rt,{style:lt}),n.createElement("div",{className:"".concat(St,"-children")},st),me||ct&&Me?jt:null)},k.uniqueId=B("ant-sider-");var P;typeof window!="undefined"&&(P=window.matchMedia),P&&H.breakpoint&&H.breakpoint in T&&(k.mql=P("(max-width: ".concat(T[H.breakpoint],")")));var z;return"collapsed"in H?z=H.collapsed:z=H.defaultCollapsed,k.state={collapsed:z,below:!1},k}return d()(j,[{key:"componentDidMount",value:function(){var k;this.mql&&(this.mql.addListener(this.responsiveHandler),this.responsiveHandler(this.mql)),(k=this.props)===null||k===void 0||k.siderHook.addSider(this.uniqueId)}},{key:"componentWillUnmount",value:function(){var k,P;(k=this===null||this===void 0?void 0:this.mql)===null||k===void 0||k.removeListener(this.responsiveHandler),(P=this.props)===null||P===void 0||P.siderHook.removeSider(this.uniqueId)}},{key:"render",value:function(){var k=this.state.collapsed,P=this.props.collapsedWidth;return n.createElement(D.Provider,{value:{siderCollapsed:k,collapsedWidth:P}},n.createElement(C.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(k){return"collapsed"in k?{collapsed:k.collapsed}:null}}]),j}(n.Component);R.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"};var F=function(M){a()(j,M);var K=i()(j);function j(){return b()(this,j),K.apply(this,arguments)}return d()(j,[{key:"render",value:function(){var k=this;return n.createElement(I.a.Consumer,null,function(P){return n.createElement(R,v()({},P,k.props))})}}]),j}(n.Component)},ZYIC:function(te,U,e){var y=e("zM3Q"),L={seriesType:"lines",plan:y(),reset:function(g){var v=g.coordinateSystem,A=g.get("polyline"),b=g.pipelineContext.large;function m(d,r){var a=[];if(b){var s,i=d.end-d.start;if(A){for(var n=0,l=d.start;l<d.end;l++)n+=g.getLineCoordsCount(l);s=new Float32Array(i+n*2)}else s=new Float32Array(i*4);for(var t=0,u=[],l=d.start;l<d.end;l++){var o=g.getLineCoords(l,a);A&&(s[t++]=o);for(var c=0;c<o;c++)u=v.dataToPoint(a[c],!1,u),s[t++]=u[0],s[t++]=u[1]}r.setLayout("linesPoints",s)}else for(var l=d.start;l<d.end;l++){var h=r.getItemModel(l),o=g.getLineCoords(l,a),f=[];if(A)for(var w=0;w<o;w++)f.push(v.dataToPoint(a[w]));else{f[0]=v.dataToPoint(a[0]),f[1]=v.dataToPoint(a[1]);var x=h.get("lineStyle.curveness");+x&&(f[2]=[(f[0][0]+f[1][0])/2-(f[0][1]-f[1][1])*x,(f[0][1]+f[1][1])/2-(f[1][0]-f[0][0])*x])}r.setItemLayout(l,f)}}return{progress:m}}};te.exports=L},Ze12:function(te,U,e){var y=e("ItGF"),L=e("hOwI"),g=L.buildTransformer,v="___zrEVENTSAVED",A=[];function b(s,i,n,l,t){return m(A,i,l,t,!0)&&m(s,n,A[0],A[1])}function m(s,i,n,l,t){if(i.getBoundingClientRect&&y.domSupported&&!a(i)){var u=i[v]||(i[v]={}),o=d(i,u),c=r(o,u,t);if(c)return c(s,n,l),!0}return!1}function d(s,i){var n=i.markers;if(n)return n;n=i.markers=[];for(var l=["left","right"],t=["top","bottom"],u=0;u<4;u++){var o=document.createElement("div"),c=o.style,h=u%2,f=(u>>1)%2;c.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",l[h]+":0",t[f]+":0",l[1-h]+":auto",t[1-f]+":auto",""].join("!important;"),s.appendChild(o),n.push(o)}return n}function r(s,i,n){for(var l=n?"invTrans":"trans",t=i[l],u=i.srcCoords,o=!0,c=[],h=[],f=0;f<4;f++){var w=s[f].getBoundingClientRect(),x=2*f,I=w.left,C=w.top;c.push(I,C),o=o&&u&&I===u[x]&&C===u[x+1],h.push(s[f].offsetLeft,s[f].offsetTop)}return o&&t?t:(i.srcCoords=c,i[l]=n?g(h,c):g(c,h))}function a(s){return s.nodeName.toUpperCase()==="CANVAS"}U.transformLocalCoord=b,U.transformCoordWithViewport=m,U.isCanvasEl=a},Znkb:function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("ProS"),v=e("zTMp"),A=g.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(a,s,i,n){this.axisPointerClass&&v.fixValue(a),A.superApply(this,"render",arguments),b(this,a,s,i,n,!0)},updateAxisPointer:function(a,s,i,n,l){b(this,a,s,i,n,!1)},remove:function(a,s){var i=this._axisPointer;i&&i.remove(s),A.superApply(this,"remove",arguments)},dispose:function(a,s){m(this,s),A.superApply(this,"dispose",arguments)}});function b(a,s,i,n,l,t){var u=A.getAxisPointerClass(a.axisPointerClass);if(!u)return;var o=v.getAxisPointerModel(s);o?(a._axisPointer||(a._axisPointer=new u)).render(s,o,n,t):m(a,n)}function m(a,s,i){var n=a._axisPointer;n&&n.dispose(s,i),a._axisPointer=null}var d=[];A.registerAxisPointerClass=function(a,s){d[a]=s},A.getAxisPointerClass=function(a){return a&&d[a]};var r=A;te.exports=r},"Znn+":function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("9ama"),v=e.n(g)},ZqQs:function(te,U,e){var y=e("bYtY");function L(b){var m=b&&b.timeline;y.isArray(m)||(m=m?[m]:[]),y.each(m,function(d){if(!d)return;g(d)})}function g(b){var m=b.type,d={number:"value",time:"time"};if(d[m]&&(b.axisType=d[m],delete b.type),v(b),A(b,"controlPosition")){var r=b.controlStyle||(b.controlStyle={});A(r,"position")||(r.position=b.controlPosition),r.position==="none"&&!A(r,"show")&&(r.show=!1,delete r.position),delete b.controlPosition}y.each(b.data||[],function(a){y.isObject(a)&&!y.isArray(a)&&(!A(a,"value")&&A(a,"name")&&(a.value=a.name),v(a))})}function v(b){var m=b.itemStyle||(b.itemStyle={}),d=m.emphasis||(m.emphasis={}),r=b.label||b.label||{},a=r.normal||(r.normal={}),s={normal:1,emphasis:1};y.each(r,function(i,n){!s[n]&&!A(a,n)&&(a[n]=i)}),d.label&&!A(r,"emphasis")&&(r.emphasis=d.label,delete d.label)}function A(b,m){return b.hasOwnProperty(m)}te.exports=L},Zss7:function(te,U,e){var y;(function(L){var g=/^\s+/,v=/\s+$/,A=0,b=L.round,m=L.min,d=L.max,r=L.random;function a(ce,Ee){if(ce=ce||"",Ee=Ee||{},ce instanceof a)return ce;if(!(this instanceof a))return new a(ce,Ee);var pe=s(ce);this._originalInput=ce,this._r=pe.r,this._g=pe.g,this._b=pe.b,this._a=pe.a,this._roundA=b(100*this._a)/100,this._format=Ee.format||pe.format,this._gradientType=Ee.gradientType,this._r<1&&(this._r=b(this._r)),this._g<1&&(this._g=b(this._g)),this._b<1&&(this._b=b(this._b)),this._ok=pe.ok,this._tc_id=A++}a.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 Ee=this.toRgb();return(Ee.r*299+Ee.g*587+Ee.b*114)/1e3},getLuminance:function(){var Ee=this.toRgb(),pe,Se,st,qe,tt,Dt;return pe=Ee.r/255,Se=Ee.g/255,st=Ee.b/255,pe<=.03928?qe=pe/12.92:qe=L.pow((pe+.055)/1.055,2.4),Se<=.03928?tt=Se/12.92:tt=L.pow((Se+.055)/1.055,2.4),st<=.03928?Dt=st/12.92:Dt=L.pow((st+.055)/1.055,2.4),.2126*qe+.7152*tt+.0722*Dt},setAlpha:function(Ee){return this._a=H(Ee),this._roundA=b(100*this._a)/100,this},toHsv:function(){var Ee=t(this._r,this._g,this._b);return{h:Ee.h*360,s:Ee.s,v:Ee.v,a:this._a}},toHsvString:function(){var Ee=t(this._r,this._g,this._b),pe=b(Ee.h*360),Se=b(Ee.s*100),st=b(Ee.v*100);return this._a==1?"hsv("+pe+", "+Se+"%, "+st+"%)":"hsva("+pe+", "+Se+"%, "+st+"%, "+this._roundA+")"},toHsl:function(){var Ee=n(this._r,this._g,this._b);return{h:Ee.h*360,s:Ee.s,l:Ee.l,a:this._a}},toHslString:function(){var Ee=n(this._r,this._g,this._b),pe=b(Ee.h*360),Se=b(Ee.s*100),st=b(Ee.l*100);return this._a==1?"hsl("+pe+", "+Se+"%, "+st+"%)":"hsla("+pe+", "+Se+"%, "+st+"%, "+this._roundA+")"},toHex:function(Ee){return o(this._r,this._g,this._b,Ee)},toHexString:function(Ee){return"#"+this.toHex(Ee)},toHex8:function(Ee){return c(this._r,this._g,this._b,this._a,Ee)},toHex8String:function(Ee){return"#"+this.toHex8(Ee)},toRgb:function(){return{r:b(this._r),g:b(this._g),b:b(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+b(this._r)+", "+b(this._g)+", "+b(this._b)+")":"rgba("+b(this._r)+", "+b(this._g)+", "+b(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:b(k(this._r,255)*100)+"%",g:b(k(this._g,255)*100)+"%",b:b(k(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+b(k(this._r,255)*100)+"%, "+b(k(this._g,255)*100)+"%, "+b(k(this._b,255)*100)+"%)":"rgba("+b(k(this._r,255)*100)+"%, "+b(k(this._g,255)*100)+"%, "+b(k(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:K[o(this._r,this._g,this._b,!0)]||!1},toFilter:function(Ee){var pe="#"+h(this._r,this._g,this._b,this._a),Se=pe,st=this._gradientType?"GradientType = 1, ":"";if(Ee){var qe=a(Ee);Se="#"+h(qe._r,qe._g,qe._b,qe._a)}return"progid:DXImageTransform.Microsoft.gradient("+st+"startColorstr="+pe+",endColorstr="+Se+")"},toString:function(Ee){var pe=!!Ee;Ee=Ee||this._format;var Se=!1,st=this._a<1&&this._a>=0,qe=!pe&&st&&(Ee==="hex"||Ee==="hex6"||Ee==="hex3"||Ee==="hex4"||Ee==="hex8"||Ee==="name");return qe?Ee==="name"&&this._a===0?this.toName():this.toRgbString():(Ee==="rgb"&&(Se=this.toRgbString()),Ee==="prgb"&&(Se=this.toPercentageRgbString()),(Ee==="hex"||Ee==="hex6")&&(Se=this.toHexString()),Ee==="hex3"&&(Se=this.toHexString(!0)),Ee==="hex4"&&(Se=this.toHex8String(!0)),Ee==="hex8"&&(Se=this.toHex8String()),Ee==="name"&&(Se=this.toName()),Ee==="hsl"&&(Se=this.toHslString()),Ee==="hsv"&&(Se=this.toHsvString()),Se||this.toHexString())},clone:function(){return a(this.toString())},_applyModification:function(Ee,pe){var Se=Ee.apply(null,[this].concat([].slice.call(pe)));return this._r=Se._r,this._g=Se._g,this._b=Se._b,this.setAlpha(Se._a),this},lighten:function(){return this._applyModification(I,arguments)},brighten:function(){return this._applyModification(C,arguments)},darken:function(){return this._applyModification(N,arguments)},desaturate:function(){return this._applyModification(f,arguments)},saturate:function(){return this._applyModification(w,arguments)},greyscale:function(){return this._applyModification(x,arguments)},spin:function(){return this._applyModification(S,arguments)},_applyCombination:function(Ee,pe){return Ee.apply(null,[this].concat([].slice.call(pe)))},analogous:function(){return this._applyCombination(R,arguments)},complement:function(){return this._applyCombination(E,arguments)},monochromatic:function(){return this._applyCombination(F,arguments)},splitcomplement:function(){return this._applyCombination(B,arguments)},triad:function(){return this._applyCombination(T,arguments)},tetrad:function(){return this._applyCombination(D,arguments)}},a.fromRatio=function(ce,Ee){if(typeof ce=="object"){var pe={};for(var Se in ce)ce.hasOwnProperty(Se)&&(Se==="a"?pe[Se]=ce[Se]:pe[Se]=J(ce[Se]));ce=pe}return a(ce,Ee)};function s(ce){var Ee={r:0,g:0,b:0},pe=1,Se=null,st=null,qe=null,tt=!1,Dt=!1;return typeof ce=="string"&&(ce=be(ce)),typeof ce=="object"&&(me(ce.r)&&me(ce.g)&&me(ce.b)?(Ee=i(ce.r,ce.g,ce.b),tt=!0,Dt=String(ce.r).substr(-1)==="%"?"prgb":"rgb"):me(ce.h)&&me(ce.s)&&me(ce.v)?(Se=J(ce.s),st=J(ce.v),Ee=u(ce.h,Se,st),tt=!0,Dt="hsv"):me(ce.h)&&me(ce.s)&&me(ce.l)&&(Se=J(ce.s),qe=J(ce.l),Ee=l(ce.h,Se,qe),tt=!0,Dt="hsl"),ce.hasOwnProperty("a")&&(pe=ce.a)),pe=H(pe),{ok:tt,format:ce.format||Dt,r:m(255,d(Ee.r,0)),g:m(255,d(Ee.g,0)),b:m(255,d(Ee.b,0)),a:pe}}function i(ce,Ee,pe){return{r:k(ce,255)*255,g:k(Ee,255)*255,b:k(pe,255)*255}}function n(ce,Ee,pe){ce=k(ce,255),Ee=k(Ee,255),pe=k(pe,255);var Se=d(ce,Ee,pe),st=m(ce,Ee,pe),qe,tt,Dt=(Se+st)/2;if(Se==st)qe=tt=0;else{var ct=Se-st;tt=Dt>.5?ct/(2-Se-st):ct/(Se+st);switch(Se){case ce:qe=(Ee-pe)/ct+(Ee<pe?6:0);break;case Ee:qe=(pe-ce)/ct+2;break;case pe:qe=(ce-Ee)/ct+4;break}qe/=6}return{h:qe,s:tt,l:Dt}}function l(ce,Ee,pe){var Se,st,qe;ce=k(ce,360),Ee=k(Ee,100),pe=k(pe,100);function tt(St,rt,ht){return ht<0&&(ht+=1),ht>1&&(ht-=1),ht<1/6?St+(rt-St)*6*ht:ht<1/2?rt:ht<2/3?St+(rt-St)*(2/3-ht)*6:St}if(Ee===0)Se=st=qe=pe;else{var Dt=pe<.5?pe*(1+Ee):pe+Ee-pe*Ee,ct=2*pe-Dt;Se=tt(ct,Dt,ce+1/3),st=tt(ct,Dt,ce),qe=tt(ct,Dt,ce-1/3)}return{r:Se*255,g:st*255,b:qe*255}}function t(ce,Ee,pe){ce=k(ce,255),Ee=k(Ee,255),pe=k(pe,255);var Se=d(ce,Ee,pe),st=m(ce,Ee,pe),qe,tt,Dt=Se,ct=Se-st;if(tt=Se===0?0:ct/Se,Se==st)qe=0;else{switch(Se){case ce:qe=(Ee-pe)/ct+(Ee<pe?6:0);break;case Ee:qe=(pe-ce)/ct+2;break;case pe:qe=(ce-Ee)/ct+4;break}qe/=6}return{h:qe,s:tt,v:Dt}}function u(ce,Ee,pe){ce=k(ce,360)*6,Ee=k(Ee,100),pe=k(pe,100);var Se=L.floor(ce),st=ce-Se,qe=pe*(1-Ee),tt=pe*(1-st*Ee),Dt=pe*(1-(1-st)*Ee),ct=Se%6,St=[pe,tt,qe,qe,Dt,pe][ct],rt=[Dt,pe,pe,tt,qe,qe][ct],ht=[qe,qe,Dt,pe,pe,tt][ct];return{r:St*255,g:rt*255,b:ht*255}}function o(ce,Ee,pe,Se){var st=[G(b(ce).toString(16)),G(b(Ee).toString(16)),G(b(pe).toString(16))];return Se&&st[0].charAt(0)==st[0].charAt(1)&&st[1].charAt(0)==st[1].charAt(1)&&st[2].charAt(0)==st[2].charAt(1)?st[0].charAt(0)+st[1].charAt(0)+st[2].charAt(0):st.join("")}function c(ce,Ee,pe,Se,st){var qe=[G(b(ce).toString(16)),G(b(Ee).toString(16)),G(b(pe).toString(16)),G(ue(Se))];return st&&qe[0].charAt(0)==qe[0].charAt(1)&&qe[1].charAt(0)==qe[1].charAt(1)&&qe[2].charAt(0)==qe[2].charAt(1)&&qe[3].charAt(0)==qe[3].charAt(1)?qe[0].charAt(0)+qe[1].charAt(0)+qe[2].charAt(0)+qe[3].charAt(0):qe.join("")}function h(ce,Ee,pe,Se){var st=[G(ue(Se)),G(b(ce).toString(16)),G(b(Ee).toString(16)),G(b(pe).toString(16))];return st.join("")}a.equals=function(ce,Ee){return!ce||!Ee?!1:a(ce).toRgbString()==a(Ee).toRgbString()},a.random=function(){return a.fromRatio({r:r(),g:r(),b:r()})};function f(ce,Ee){Ee=Ee===0?0:Ee||10;var pe=a(ce).toHsl();return pe.s-=Ee/100,pe.s=P(pe.s),a(pe)}function w(ce,Ee){Ee=Ee===0?0:Ee||10;var pe=a(ce).toHsl();return pe.s+=Ee/100,pe.s=P(pe.s),a(pe)}function x(ce){return a(ce).desaturate(100)}function I(ce,Ee){Ee=Ee===0?0:Ee||10;var pe=a(ce).toHsl();return pe.l+=Ee/100,pe.l=P(pe.l),a(pe)}function C(ce,Ee){Ee=Ee===0?0:Ee||10;var pe=a(ce).toRgb();return pe.r=d(0,m(255,pe.r-b(255*-(Ee/100)))),pe.g=d(0,m(255,pe.g-b(255*-(Ee/100)))),pe.b=d(0,m(255,pe.b-b(255*-(Ee/100)))),a(pe)}function N(ce,Ee){Ee=Ee===0?0:Ee||10;var pe=a(ce).toHsl();return pe.l-=Ee/100,pe.l=P(pe.l),a(pe)}function S(ce,Ee){var pe=a(ce).toHsl(),Se=(pe.h+Ee)%360;return pe.h=Se<0?360+Se:Se,a(pe)}function E(ce){var Ee=a(ce).toHsl();return Ee.h=(Ee.h+180)%360,a(Ee)}function T(ce){var Ee=a(ce).toHsl(),pe=Ee.h;return[a(ce),a({h:(pe+120)%360,s:Ee.s,l:Ee.l}),a({h:(pe+240)%360,s:Ee.s,l:Ee.l})]}function D(ce){var Ee=a(ce).toHsl(),pe=Ee.h;return[a(ce),a({h:(pe+90)%360,s:Ee.s,l:Ee.l}),a({h:(pe+180)%360,s:Ee.s,l:Ee.l}),a({h:(pe+270)%360,s:Ee.s,l:Ee.l})]}function B(ce){var Ee=a(ce).toHsl(),pe=Ee.h;return[a(ce),a({h:(pe+72)%360,s:Ee.s,l:Ee.l}),a({h:(pe+216)%360,s:Ee.s,l:Ee.l})]}function R(ce,Ee,pe){Ee=Ee||6,pe=pe||30;var Se=a(ce).toHsl(),st=360/pe,qe=[a(ce)];for(Se.h=(Se.h-(st*Ee>>1)+720)%360;--Ee;)Se.h=(Se.h+st)%360,qe.push(a(Se));return qe}function F(ce,Ee){Ee=Ee||6;for(var pe=a(ce).toHsv(),Se=pe.h,st=pe.s,qe=pe.v,tt=[],Dt=1/Ee;Ee--;)tt.push(a({h:Se,s:st,v:qe})),qe=(qe+Dt)%1;return tt}a.mix=function(ce,Ee,pe){pe=pe===0?0:pe||50;var Se=a(ce).toRgb(),st=a(Ee).toRgb(),qe=pe/100,tt={r:(st.r-Se.r)*qe+Se.r,g:(st.g-Se.g)*qe+Se.g,b:(st.b-Se.b)*qe+Se.b,a:(st.a-Se.a)*qe+Se.a};return a(tt)},a.readability=function(ce,Ee){var pe=a(ce),Se=a(Ee);return(L.max(pe.getLuminance(),Se.getLuminance())+.05)/(L.min(pe.getLuminance(),Se.getLuminance())+.05)},a.isReadable=function(ce,Ee,pe){var Se=a.readability(ce,Ee),st,qe;qe=!1,st=ke(pe);switch(st.level+st.size){case"AAsmall":case"AAAlarge":qe=Se>=4.5;break;case"AAlarge":qe=Se>=3;break;case"AAAsmall":qe=Se>=7;break}return qe},a.mostReadable=function(ce,Ee,pe){var Se=null,st=0,qe,tt,Dt,ct;pe=pe||{},tt=pe.includeFallbackColors,Dt=pe.level,ct=pe.size;for(var St=0;St<Ee.length;St++)qe=a.readability(ce,Ee[St]),qe>st&&(st=qe,Se=a(Ee[St]));return a.isReadable(ce,Se,{level:Dt,size:ct})||!tt?Se:(pe.includeFallbackColors=!1,a.mostReadable(ce,["#fff","#000"],pe))};var M=a.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"},K=a.hexNames=j(M);function j(ce){var Ee={};for(var pe in ce)ce.hasOwnProperty(pe)&&(Ee[ce[pe]]=pe);return Ee}function H(ce){return ce=parseFloat(ce),(isNaN(ce)||ce<0||ce>1)&&(ce=1),ce}function k(ce,Ee){Y(ce)&&(ce="100%");var pe=_(ce);return ce=m(Ee,d(0,parseFloat(ce))),pe&&(ce=parseInt(ce*Ee,10)/100),L.abs(ce-Ee)<1e-6?1:ce%Ee/parseFloat(Ee)}function P(ce){return m(1,d(0,ce))}function z(ce){return parseInt(ce,16)}function Y(ce){return typeof ce=="string"&&ce.indexOf(".")!=-1&&parseFloat(ce)===1}function _(ce){return typeof ce=="string"&&ce.indexOf("%")!=-1}function G(ce){return ce.length==1?"0"+ce:""+ce}function J(ce){return ce<=1&&(ce=ce*100+"%"),ce}function ue(ce){return L.round(parseFloat(ce)*255).toString(16)}function q(ce){return z(ce)/255}var re=function(){var ce="[-\\+]?\\d+%?",Ee="[-\\+]?\\d*\\.\\d+%?",pe="(?:"+Ee+")|(?:"+ce+")",Se="[\\s|\\(]+("+pe+")[,|\\s]+("+pe+")[,|\\s]+("+pe+")\\s*\\)?",st="[\\s|\\(]+("+pe+")[,|\\s]+("+pe+")[,|\\s]+("+pe+")[,|\\s]+("+pe+")\\s*\\)?";return{CSS_UNIT:new RegExp(pe),rgb:new RegExp("rgb"+Se),rgba:new RegExp("rgba"+st),hsl:new RegExp("hsl"+Se),hsla:new RegExp("hsla"+st),hsv:new RegExp("hsv"+Se),hsva:new RegExp("hsva"+st),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 me(ce){return!!re.CSS_UNIT.exec(ce)}function be(ce){ce=ce.replace(g,"").replace(v,"").toLowerCase();var Ee=!1;if(M[ce])ce=M[ce],Ee=!0;else if(ce=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var pe;return(pe=re.rgb.exec(ce))?{r:pe[1],g:pe[2],b:pe[3]}:(pe=re.rgba.exec(ce))?{r:pe[1],g:pe[2],b:pe[3],a:pe[4]}:(pe=re.hsl.exec(ce))?{h:pe[1],s:pe[2],l:pe[3]}:(pe=re.hsla.exec(ce))?{h:pe[1],s:pe[2],l:pe[3],a:pe[4]}:(pe=re.hsv.exec(ce))?{h:pe[1],s:pe[2],v:pe[3]}:(pe=re.hsva.exec(ce))?{h:pe[1],s:pe[2],v:pe[3],a:pe[4]}:(pe=re.hex8.exec(ce))?{r:z(pe[1]),g:z(pe[2]),b:z(pe[3]),a:q(pe[4]),format:Ee?"name":"hex8"}:(pe=re.hex6.exec(ce))?{r:z(pe[1]),g:z(pe[2]),b:z(pe[3]),format:Ee?"name":"hex"}:(pe=re.hex4.exec(ce))?{r:z(pe[1]+""+pe[1]),g:z(pe[2]+""+pe[2]),b:z(pe[3]+""+pe[3]),a:q(pe[4]+""+pe[4]),format:Ee?"name":"hex8"}:(pe=re.hex3.exec(ce))?{r:z(pe[1]+""+pe[1]),g:z(pe[2]+""+pe[2]),b:z(pe[3]+""+pe[3]),format:Ee?"name":"hex"}:!1}function ke(ce){var Ee,pe;return ce=ce||{level:"AA",size:"small"},Ee=(ce.level||"AA").toUpperCase(),pe=(ce.size||"small").toLowerCase(),Ee!=="AA"&&Ee!=="AAA"&&(Ee="AA"),pe!=="small"&&pe!=="large"&&(pe="small"),{level:Ee,size:pe}}te.exports?te.exports=a:!(y=function(){return a}.call(U,e,U,te),y!==void 0&&(te.exports=y))})(Math)},Zvw2:function(te,U,e){var y=e("bYtY"),L=e("hM6l"),g=function(A,b,m,d,r){L.call(this,A,b,m),this.type=d||"value",this.position=r||"bottom",this.orient=null};g.prototype={constructor:g,model:null,isHorizontal:function(){var A=this.position;return A==="top"||A==="bottom"},pointToData:function(A,b){return this.coordinateSystem.pointToData(A,b)[0]},toGlobalCoord:null,toLocalCoord:null},y.inherits(g,L);var v=g;te.exports=v},a7Wl:function(te,U,e){"use strict";Object.defineProperty(U,"__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"};U.default=y},a9QJ:function(te,U){var e={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function y(L,g){if(L==="world"){var v=e[g.name];if(v){var A=g.center;A[0]=v[0],A[1]=v[1]}}}te.exports=y},aCH8:function(te,U,e){(function(){var y=e("ANhw"),L=e("mmNF").utf8,g=e("BEtg"),v=e("mmNF").bin,A=function b(m,d){m.constructor==String?d&&d.encoding==="binary"?m=v.stringToBytes(m):m=L.stringToBytes(m):g(m)?m=Array.prototype.slice.call(m,0):!Array.isArray(m)&&m.constructor!==Uint8Array&&(m=m.toString());for(var r=y.bytesToWords(m),a=m.length*8,s=1732584193,i=-271733879,n=-1732584194,l=271733878,t=0;t<r.length;t++)r[t]=(r[t]<<8|r[t]>>>24)&16711935|(r[t]<<24|r[t]>>>8)&4278255360;r[a>>>5]|=128<<a%32,r[(a+64>>>9<<4)+14]=a;for(var u=b._ff,o=b._gg,c=b._hh,h=b._ii,t=0;t<r.length;t+=16){var f=s,w=i,x=n,I=l;s=u(s,i,n,l,r[t+0],7,-680876936),l=u(l,s,i,n,r[t+1],12,-389564586),n=u(n,l,s,i,r[t+2],17,606105819),i=u(i,n,l,s,r[t+3],22,-1044525330),s=u(s,i,n,l,r[t+4],7,-176418897),l=u(l,s,i,n,r[t+5],12,1200080426),n=u(n,l,s,i,r[t+6],17,-1473231341),i=u(i,n,l,s,r[t+7],22,-45705983),s=u(s,i,n,l,r[t+8],7,1770035416),l=u(l,s,i,n,r[t+9],12,-1958414417),n=u(n,l,s,i,r[t+10],17,-42063),i=u(i,n,l,s,r[t+11],22,-1990404162),s=u(s,i,n,l,r[t+12],7,1804603682),l=u(l,s,i,n,r[t+13],12,-40341101),n=u(n,l,s,i,r[t+14],17,-1502002290),i=u(i,n,l,s,r[t+15],22,1236535329),s=o(s,i,n,l,r[t+1],5,-165796510),l=o(l,s,i,n,r[t+6],9,-1069501632),n=o(n,l,s,i,r[t+11],14,643717713),i=o(i,n,l,s,r[t+0],20,-373897302),s=o(s,i,n,l,r[t+5],5,-701558691),l=o(l,s,i,n,r[t+10],9,38016083),n=o(n,l,s,i,r[t+15],14,-660478335),i=o(i,n,l,s,r[t+4],20,-405537848),s=o(s,i,n,l,r[t+9],5,568446438),l=o(l,s,i,n,r[t+14],9,-1019803690),n=o(n,l,s,i,r[t+3],14,-187363961),i=o(i,n,l,s,r[t+8],20,1163531501),s=o(s,i,n,l,r[t+13],5,-1444681467),l=o(l,s,i,n,r[t+2],9,-51403784),n=o(n,l,s,i,r[t+7],14,1735328473),i=o(i,n,l,s,r[t+12],20,-1926607734),s=c(s,i,n,l,r[t+5],4,-378558),l=c(l,s,i,n,r[t+8],11,-2022574463),n=c(n,l,s,i,r[t+11],16,1839030562),i=c(i,n,l,s,r[t+14],23,-35309556),s=c(s,i,n,l,r[t+1],4,-1530992060),l=c(l,s,i,n,r[t+4],11,1272893353),n=c(n,l,s,i,r[t+7],16,-155497632),i=c(i,n,l,s,r[t+10],23,-1094730640),s=c(s,i,n,l,r[t+13],4,681279174),l=c(l,s,i,n,r[t+0],11,-358537222),n=c(n,l,s,i,r[t+3],16,-722521979),i=c(i,n,l,s,r[t+6],23,76029189),s=c(s,i,n,l,r[t+9],4,-640364487),l=c(l,s,i,n,r[t+12],11,-421815835),n=c(n,l,s,i,r[t+15],16,530742520),i=c(i,n,l,s,r[t+2],23,-995338651),s=h(s,i,n,l,r[t+0],6,-198630844),l=h(l,s,i,n,r[t+7],10,1126891415),n=h(n,l,s,i,r[t+14],15,-1416354905),i=h(i,n,l,s,r[t+5],21,-57434055),s=h(s,i,n,l,r[t+12],6,1700485571),l=h(l,s,i,n,r[t+3],10,-1894986606),n=h(n,l,s,i,r[t+10],15,-1051523),i=h(i,n,l,s,r[t+1],21,-2054922799),s=h(s,i,n,l,r[t+8],6,1873313359),l=h(l,s,i,n,r[t+15],10,-30611744),n=h(n,l,s,i,r[t+6],15,-1560198380),i=h(i,n,l,s,r[t+13],21,1309151649),s=h(s,i,n,l,r[t+4],6,-145523070),l=h(l,s,i,n,r[t+11],10,-1120210379),n=h(n,l,s,i,r[t+2],15,718787259),i=h(i,n,l,s,r[t+9],21,-343485551),s=s+f>>>0,i=i+w>>>0,n=n+x>>>0,l=l+I>>>0}return y.endian([s,i,n,l])};A._ff=function(b,m,d,r,a,s,i){var n=b+(m&d|~m&r)+(a>>>0)+i;return(n<<s|n>>>32-s)+m},A._gg=function(b,m,d,r,a,s,i){var n=b+(m&r|d&~r)+(a>>>0)+i;return(n<<s|n>>>32-s)+m},A._hh=function(b,m,d,r,a,s,i){var n=b+(m^d^r)+(a>>>0)+i;return(n<<s|n>>>32-s)+m},A._ii=function(b,m,d,r,a,s,i){var n=b+(d^(m|~r))+(a>>>0)+i;return(n<<s|n>>>32-s)+m},A._blocksize=16,A._digestsize=16,te.exports=function(b,m){if(b==null)throw new Error("Illegal argument "+b);var d=y.wordsToBytes(A(b,m));return m&&m.asBytes?d:m&&m.asString?v.bytesToString(d):y.bytesToHex(d)}})()},aHsQ:function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("6D9b"),v=e.n(g)},aKvl:function(te,U,e){var y=e("Sj9i"),L=y.quadraticProjectPoint;function g(v,A,b,m,d,r,a,s,i){if(a===0)return!1;var n=a;if(i>A+n&&i>m+n&&i>r+n||i<A-n&&i<m-n&&i<r-n||s>v+n&&s>b+n&&s>d+n||s<v-n&&s<b-n&&s<d-n)return!1;var l=L(v,A,b,m,d,r,s,i,null);return l<=n/2}U.containStroke=g},aTJb:function(te,U,e){var y=e("bLfw");y.registerSubTypeDefaulter("dataZoom",function(){return"slider"})},aX58:function(te,U,e){var y=e("3gBT"),L=e("ItGF"),g=e("bYtY"),v=e("0s+r"),A=e("r6Bn"),b=e("7SHv"),m=e("MKOG"),d=e("zarK");/*!
|
|
|
* ZRender, a high performance 2d drawing library.
|
|
|
*
|
|
|
* Copyright (c) 2013, Baidu Inc.
|
|
|
* All rights reserved.
|
|
|
*
|
|
|
* LICENSE
|
|
|
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
|
|
|
*/var r=!L.canvasSupported,a={canvas:b},s={},i="4.3.1";function n(h,f){var w=new c(y(),h,f);return s[w.id]=w,w}function l(h){if(h)h.dispose();else{for(var f in s)s.hasOwnProperty(f)&&s[f].dispose();s={}}return this}function t(h){return s[h]}function u(h,f){a[h]=f}function o(h){delete s[h]}var c=function(f,w,x){x=x||{},this.dom=w,this.id=f;var I=this,C=new A,N=x.renderer;if(r){if(!a.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");N="vml"}else(!N||!a[N])&&(N="canvas");var S=new a[N](w,C,x,f);this.storage=C,this.painter=S;var E=!L.node&&!L.worker?new d(S.getViewportRoot(),S.root):null;this.handler=new v(C,S,E,S.root),this.animation=new m({stage:{update:g.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var T=C.delFromStorage,D=C.addToStorage;C.delFromStorage=function(B){T.call(C,B),B&&B.removeSelfFromZr(I)},C.addToStorage=function(B){D.call(C,B),B.addSelfToZr(I)}};c.prototype={constructor:c,getId:function(){return this.id},add:function(f){this.storage.addRoot(f),this._needsRefresh=!0},remove:function(f){this.storage.delRoot(f),this._needsRefresh=!0},configLayer:function(f,w){this.painter.configLayer&&this.painter.configLayer(f,w),this._needsRefresh=!0},setBackgroundColor:function(f){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(f),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh(),this._needsRefresh=this._needsRefreshHover=!1},refresh:function(){this._needsRefresh=!0},flush:function(){var f;this._needsRefresh&&(f=!0,this.refreshImmediately()),this._needsRefreshHover&&(f=!0,this.refreshHoverImmediately()),f&&this.trigger("rendered")},addHover:function(f,w){if(this.painter.addHover){var x=this.painter.addHover(f,w);return this.refreshHover(),x}},removeHover:function(f){this.painter.removeHover&&(this.painter.removeHover(f),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(f){f=f||{},this.painter.resize(f.width,f.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(f,w){return this.painter.pathToImage(f,w)},setCursorStyle:function(f){this.handler.setCursorStyle(f)},findHover:function(f,w){return this.handler.findHover(f,w)},on:function(f,w,x){this.handler.on(f,w,x)},off:function(f,w){this.handler.off(f,w)},trigger:function(f,w){this.handler.trigger(f,w)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,o(this.id)}},U.version=i,U.init=n,U.dispose=l,U.getInstance=t,U.registerPainter=u},aX7z:function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("bYtY"),v=e("GMDS"),A=e("ieMj"),b=e("4NgU"),m=e("OELB"),d=e("nVfU"),r=d.prepareLayoutBarSeries,a=d.makeColumnLayout,s=d.retrieveColumnLayout,i=e("mFDi");e("IWp7"),e("jCoz");function n(C,N){var S=C.type,E=N.getMin(),T=N.getMax(),D=C.getExtent(),B,R,F;S==="ordinal"?B=N.getCategories().length:(R=N.get("boundaryGap"),g.isArray(R)||(R=[R||0,R||0]),typeof R[0]=="boolean"&&(R=[0,0]),R[0]=m.parsePercent(R[0],1),R[1]=m.parsePercent(R[1],1),F=D[1]-D[0]||Math.abs(D[0])),E==="dataMin"?E=D[0]:typeof E=="function"&&(E=E({min:D[0],max:D[1]})),T==="dataMax"?T=D[1]:typeof T=="function"&&(T=T({min:D[0],max:D[1]}));var M=E!=null,K=T!=null;E==null&&(E=S==="ordinal"?B?0:NaN:D[0]-R[0]*F),T==null&&(T=S==="ordinal"?B?B-1:NaN:D[1]+R[1]*F),(E==null||!isFinite(E))&&(E=NaN),(T==null||!isFinite(T))&&(T=NaN),C.setBlank(g.eqNaN(E)||g.eqNaN(T)||S==="ordinal"&&!C.getOrdinalMeta().categories.length),N.getNeedCrossZero()&&(E>0&&T>0&&!M&&(E=0),E<0&&T<0&&!K&&(T=0));var j=N.ecModel;if(j&&S==="time"){var H=r("bar",j),k;if(g.each(H,function(Y){k|=Y.getBaseAxis()===N.axis}),k){var P=a(H),z=l(E,T,N,P);E=z.min,T=z.max}}return{extent:[E,T],fixMin:M,fixMax:K}}function l(C,N,S,E){var T=S.axis.getExtent(),D=T[1]-T[0],B=s(E,S.axis);if(B===void 0)return{min:C,max:N};var R=Infinity;g.each(B,function(k){R=Math.min(k.offset,R)});var F=-Infinity;g.each(B,function(k){F=Math.max(k.offset+k.width,F)}),R=Math.abs(R),F=Math.abs(F);var M=R+F,K=N-C,j=1-(R+F)/D,H=K/j-K;return N+=H*(F/M),C-=H*(R/M),{min:C,max:N}}function t(C,N){var S=n(C,N),E=S.extent,T=N.get("splitNumber");C.type==="log"&&(C.base=N.get("logBase"));var D=C.type;C.setExtent(E[0],E[1]),C.niceExtent({splitNumber:T,fixMin:S.fixMin,fixMax:S.fixMax,minInterval:D==="interval"||D==="time"?N.get("minInterval"):null,maxInterval:D==="interval"||D==="time"?N.get("maxInterval"):null});var B=N.get("interval");B!=null&&(C.setInterval&&C.setInterval(B))}function u(C,N){if(N=N||C.get("type"),N)switch(N){case"category":return new v(C.getOrdinalMeta?C.getOrdinalMeta():C.getCategories(),[Infinity,-Infinity]);case"value":return new A;default:return(b.getClass(N)||A).create(C)}}function o(C){var N=C.scale.getExtent(),S=N[0],E=N[1];return!(S>0&&E>0||S<0&&E<0)}function c(C){var N=C.getLabelModel().get("formatter"),S=C.type==="category"?C.scale.getExtent()[0]:null;return typeof N=="string"?(N=function(E){return function(T){return T=C.scale.getLabel(T),E.replace("{value}",T!=null?T:"")}}(N),N):typeof N=="function"?function(E,T){return S!=null&&(T=E-S),N(h(C,E),T)}:function(E){return C.scale.getLabel(E)}}function h(C,N){return C.type==="category"?C.scale.getLabel(N):N}function f(C){var N=C.model,S=C.scale;if(!N.get("axisLabel.show")||S.isBlank())return;var E=C.type==="category",T,D,B=S.getExtent();E?D=S.count():(T=S.getTicks(),D=T.length);var R=C.getLabelModel(),F=c(C),M,K=1;D>40&&(K=Math.ceil(D/40));for(var j=0;j<D;j+=K){var H=T?T[j]:B[0]+j,k=F(H),P=R.getTextRect(k),z=w(P,R.get("rotate")||0);M?M.union(z):M=z}return M}function w(C,N){var S=N*Math.PI/180,E=C.plain(),T=E.width,D=E.height,B=T*Math.cos(S)+D*Math.sin(S),R=T*Math.sin(S)+D*Math.cos(S),F=new i(E.x,E.y,B,R);return F}function x(C){var N=C.get("interval");return N==null?"auto":N}function I(C){return C.type==="category"&&x(C.getLabelModel())===0}U.getScaleExtent=n,U.niceScaleExtent=t,U.createScaleByModel=u,U.ifAxisCrossZero=o,U.makeLabelFormatter=c,U.getAxisRawValue=h,U.estimateLabelUnionRect=f,U.getOptionCategoryInterval=x,U.shouldShowAllLabels=I},"af/B":function(te,U,e){var y=e("bYtY"),L=y.each,g=y.map,v=y.isFunction,A=y.createHashMap,b=y.noop,m=e("9H2F"),d=m.createTask,r=e("iRjW"),a=r.getUID,s=e("fmMI"),i=e("hD7B"),n=e("4NO4"),l=n.normalizeToArray;function t(k,P,z,Y){this.ecInstance=k,this.api=P,this.unfinished;var z=this._dataProcessorHandlers=z.slice(),Y=this._visualHandlers=Y.slice();this._allHandlers=z.concat(Y),this._stageTaskMap=A()}var u=t.prototype;u.restoreData=function(k,P){k.restoreData(P),this._stageTaskMap.each(function(z){var Y=z.overallTask;Y&&Y.dirty()})},u.getPerformArgs=function(k,P){if(!k.__pipeline)return;var z=this._pipelineMap.get(k.__pipeline.id),Y=z.context,_=!P&&z.progressiveEnabled&&(!Y||Y.progressiveRender)&&k.__idxInPipeline>z.blockIndex,G=_?z.step:null,J=Y&&Y.modDataCount,ue=J!=null?Math.ceil(J/G):null;return{step:G,modBy:ue,modDataCount:J}},u.getPipeline=function(k){return this._pipelineMap.get(k)},u.updateStreamModes=function(k,P){var z=this._pipelineMap.get(k.uid),Y=k.getData(),_=Y.count(),G=z.progressiveEnabled&&P.incrementalPrepareRender&&_>=z.threshold,J=k.get("large")&&_>=k.get("largeThreshold"),ue=k.get("progressiveChunkMode")==="mod"?_:null;k.pipelineContext=z.context={progressiveRender:G,modDataCount:ue,large:J}},u.restorePipelines=function(k){var P=this,z=P._pipelineMap=A();k.eachSeries(function(Y){var _=Y.getProgressive(),G=Y.uid;z.set(G,{id:G,head:null,tail:null,threshold:Y.getProgressiveThreshold(),progressiveEnabled:_&&!(Y.preventIncremental&&Y.preventIncremental()),blockIndex:-1,step:Math.round(_||700),count:0}),B(P,Y,Y.dataTask)})},u.prepareStageTasks=function(){var k=this._stageTaskMap,P=this.ecInstance.getModel(),z=this.api;L(this._allHandlers,function(Y){var _=k.get(Y.uid)||k.set(Y.uid,[]);Y.reset&&h(this,Y,_,P,z),Y.overallReset&&f(this,Y,_,P,z)},this)},u.prepareView=function(k,P,z,Y){var _=k.renderTask,G=_.context;G.model=P,G.ecModel=z,G.api=Y,_.__block=!k.incrementalPrepareRender,B(this,P,_)},u.performDataProcessorTasks=function(k,P){o(this,this._dataProcessorHandlers,k,P,{block:!0})},u.performVisualTasks=function(k,P,z){o(this,this._visualHandlers,k,P,z)};function o(k,P,z,Y,_){_=_||{};var G;L(P,function(ue,q){if(_.visualType&&_.visualType!==ue.visualType)return;var re=k._stageTaskMap.get(ue.uid),me=re.seriesTaskMap,be=re.overallTask;if(be){var ke,ce=be.agentStubMap;ce.each(function(pe){J(_,pe)&&(pe.dirty(),ke=!0)}),ke&&be.dirty(),c(be,Y);var Ee=k.getPerformArgs(be,_.block);ce.each(function(pe){pe.perform(Ee)}),G|=be.perform(Ee)}else me&&me.each(function(pe,Se){J(_,pe)&&pe.dirty();var st=k.getPerformArgs(pe,_.block);st.skip=!ue.performRawSeries&&z.isSeriesFiltered(pe.context.model),c(pe,Y),G|=pe.perform(st)})});function J(ue,q){return ue.setDirty&&(!ue.dirtyMap||ue.dirtyMap.get(q.__pipeline.id))}k.unfinished|=G}u.performSeriesTasks=function(k){var P;k.eachSeries(function(z){P|=z.dataTask.perform()}),this.unfinished|=P},u.plan=function(){this._pipelineMap.each(function(k){var P=k.tail;do{if(P.__block){k.blockIndex=P.__idxInPipeline;break}P=P.getUpstream()}while(P)})};var c=u.updatePayload=function(k,P){P!=="remain"&&(k.context.payload=P)};function h(k,P,z,Y,_){var G=z.seriesTaskMap||(z.seriesTaskMap=A()),J=P.seriesType,ue=P.getTargetSeries;P.createOnAllSeries?Y.eachRawSeries(q):J?Y.eachRawSeriesByType(J,q):ue&&ue(Y,_).each(q);function q(me){var be=me.uid,ke=G.get(be)||G.set(be,d({plan:N,reset:S,count:D}));ke.context={model:me,ecModel:Y,api:_,useClearVisual:P.isVisual&&!P.isLayout,plan:P.plan,reset:P.reset,scheduler:k},B(k,me,ke)}var re=k._pipelineMap;G.each(function(me,be){re.get(be)||(me.dispose(),G.removeKey(be))})}function f(k,P,z,Y,_){var G=z.overallTask=z.overallTask||d({reset:w});G.context={ecModel:Y,api:_,overallReset:P.overallReset,scheduler:k};var J=G.agentStubMap=G.agentStubMap||A(),ue=P.seriesType,q=P.getTargetSeries,re=!0,me=P.modifyOutputEnd;ue?Y.eachRawSeriesByType(ue,be):q?q(Y,_).each(be):(re=!1,L(Y.getSeries(),be));function be(ce){var Ee=ce.uid,pe=J.get(Ee);pe||(pe=J.set(Ee,d({reset:x,onDirty:C})),G.dirty()),pe.context={model:ce,overallProgress:re,modifyOutputEnd:me},pe.agent=G,pe.__block=re,B(k,ce,pe)}var ke=k._pipelineMap;J.each(function(ce,Ee){ke.get(Ee)||(ce.dispose(),G.dirty(),J.removeKey(Ee))})}function w(k){k.overallReset(k.ecModel,k.api,k.payload)}function x(k,P){return k.overallProgress&&I}function I(){this.agent.dirty(),this.getDownstream().dirty()}function C(){this.agent&&this.agent.dirty()}function N(k){return k.plan&&k.plan(k.model,k.ecModel,k.api,k.payload)}function S(k){k.useClearVisual&&k.data.clearAllVisual();var P=k.resetDefines=l(k.reset(k.model,k.ecModel,k.api,k.payload));return P.length>1?g(P,function(z,Y){return T(Y)}):E}var E=T(0);function T(k){return function(P,z){var Y=z.data,_=z.resetDefines[k];if(_&&_.dataEach)for(var G=P.start;G<P.end;G++)_.dataEach(Y,G);else _&&_.progress&&_.progress(P,Y)}}function D(k){return k.data.count()}function B(k,P,z){var Y=P.uid,_=k._pipelineMap.get(Y);!_.head&&(_.head=z),_.tail&&_.tail.pipe(z),_.tail=z,z.__idxInPipeline=_.count++,z.__pipeline=_}t.wrapStageHandler=function(k,P){return v(k)&&(k={overallReset:k,seriesType:R(k)}),k.uid=a("stageHandler"),P&&(k.visualType=P),k};function R(k){K=null;try{k(F,M)}catch(P){}return K}var F={},M={},K;j(F,s),j(M,i),F.eachSeriesByType=F.eachRawSeriesByType=function(k){K=k},F.eachComponent=function(k){k.mainType==="series"&&k.subType&&(K=k.subType)};function j(k,P){for(var z in P.prototype)k[z]=b}var H=t;te.exports=H},akwb:function(te,U,e){var y=e("RSch"),L=e("bYtY"),g=e("D9ME"),v=e("QBsz");function A(d,r,a){g.call(this,d,r,a),this._lastFrame=0,this._lastFramePercent=0}var b=A.prototype;b.createLine=function(d,r,a){return new y(d,r,a)},b.updateAnimationPoints=function(d,r){this._points=r;for(var a=[0],s=0,i=1;i<r.length;i++){var n=r[i-1],l=r[i];s+=v.dist(n,l),a.push(s)}if(s===0)return;for(var i=0;i<a.length;i++)a[i]/=s;this._offsets=a,this._length=s},b.getLineLength=function(d){return this._length},b.updateSymbolPosition=function(d){var r=d.__t,a=this._points,s=this._offsets,i=a.length;if(!s)return;var n=this._lastFrame,l;if(r<this._lastFramePercent){var t=Math.min(n+1,i-1);for(l=t;l>=0&&!(s[l]<=r);l--);l=Math.min(l,i-2)}else{for(var l=n;l<i&&!(s[l]>r);l++);l=Math.min(l-1,i-2)}v.lerp(d.position,a[l],a[l+1],(r-s[l])/(s[l+1]-s[l]));var u=a[l+1][0]-a[l][0],o=a[l+1][1]-a[l][1];d.rotation=-Math.atan2(o,u)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=r,d.ignore=!1},L.inherits(A,g);var m=A;te.exports=m},apAg:function(te,U,e){"use strict";var y=e("284h"),L=e("TqRt");Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var g=L(e("3tO9")),v=y(e("q1tI")),A=L(e("bsht")),b=L(e("KQxl")),m=function(a,s){return v.createElement(b.default,(0,g.default)((0,g.default)({},a),{},{ref:s,icon:A.default}))};m.displayName="SearchOutlined";var d=v.forwardRef(m);U.default=d},as94:function(te,U,e){var y=e("7aKB"),L=e("3LNs"),g=e("IwbS"),v=e("/y7N"),A=e("Fofx"),b=e("+rIm"),m=e("Znkb"),d=L.extend({makeElOption:function(i,n,l,t,u){var o=l.axis;o.dim==="angle"&&(this.animationThreshold=Math.PI/18);var c=o.polar,h=c.getOtherAxis(o),f=h.getExtent(),w;w=o["dataTo"+y.capitalFirst(o.dim)](n);var x=t.get("type");if(x&&x!=="none"){var I=v.buildElStyle(t),C=a[x](o,c,w,f,I);C.style=I,i.graphicKey=C.type,i.pointer=C}var N=t.get("label.margin"),S=r(n,l,t,c,N);v.buildLabelElOption(i,l,t,u,S)}});function r(i,n,l,t,u){var o=n.axis,c=o.dataToCoord(i),h=t.getAngleAxis().getExtent()[0];h=h/180*Math.PI;var f=t.getRadiusAxis().getExtent(),w,x,I;if(o.dim==="radius"){var C=A.create();A.rotate(C,C,h),A.translate(C,C,[t.cx,t.cy]),w=g.applyTransform([c,-u],C);var N=n.getModel("axisLabel").get("rotate")||0,S=b.innerTextLayout(h,N*Math.PI/180,-1);x=S.textAlign,I=S.textVerticalAlign}else{var E=f[1];w=t.coordToPoint([E+u,c]);var T=t.cx,D=t.cy;x=Math.abs(w[0]-T)/E<.3?"center":w[0]>T?"left":"right",I=Math.abs(w[1]-D)/E<.3?"middle":w[1]>D?"top":"bottom"}return{position:w,align:x,verticalAlign:I}}var a={line:function(i,n,l,t,u){return i.dim==="angle"?{type:"Line",shape:v.makeLineShape(n.coordToPoint([t[0],l]),n.coordToPoint([t[1],l]))}:{type:"Circle",shape:{cx:n.cx,cy:n.cy,r:l}}},shadow:function(i,n,l,t,u){var o=Math.max(1,i.getBandWidth()),c=Math.PI/180;return i.dim==="angle"?{type:"Sector",shape:v.makeSectorShape(n.cx,n.cy,t[0],t[1],(-l-o/2)*c,(-l+o/2)*c)}:{type:"Sector",shape:v.makeSectorShape(n.cx,n.cy,l-o/2,l+o/2,0,Math.PI*2)}}};m.registerAxisPointerClass("PolarAxisPointer",d);var s=d;te.exports=s},b56q:function(te,U,e){},b80e:function(te,U,e){"use strict";var y=e("284h"),L=e("TqRt");Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var g=L(e("3tO9")),v=y(e("q1tI")),A=L(e("gKaM")),b=L(e("KQxl")),m=function(a,s){return v.createElement(b.default,(0,g.default)((0,g.default)({},a),{},{ref:s,icon:A.default}))};m.displayName="DoubleLeftOutlined";var d=v.forwardRef(m);U.default=d},b9oc:function(te,U,e){var y=e("bYtY"),L=y.each,g="\0_ec_hist_store";function v(r,a){var s=d(r);L(a,function(i,n){for(var l=s.length-1;l>=0;l--){var t=s[l];if(t[n])break}if(l<0){var u=r.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(u){var o=u.getPercentRange();s[0][n]={dataZoomId:n,start:o[0],end:o[1]}}}}),s.push(a)}function A(r){var a=d(r),s=a[a.length-1];a.length>1&&a.pop();var i={};return L(s,function(n,l){for(var t=a.length-1;t>=0;t--){var n=a[t][l];if(n){i[l]=n;break}}}),i}function b(r){r[g]=null}function m(r){return d(r).length}function d(r){var a=r[g];return a||(a=r[g]=[{}]),a}U.push=v,U.pop=A,U.clear=b,U.count=m},bBKM:function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("ProS"),v=e("bYtY"),A=e("+rIm"),b=e("IwbS"),m=["axisLine","axisTickLabel","axisName"],d=g.extendComponentView({type:"radar",render:function(r,a,s){var i=this.group;i.removeAll(),this._buildAxes(r),this._buildSplitLineAndArea(r)},_buildAxes:function(r){var a=r.coordinateSystem,s=a.getIndicatorAxes(),i=v.map(s,function(n){var l=new A(n.model,{position:[a.cx,a.cy],rotation:n.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return l});v.each(i,function(n){v.each(m,n.add,n),this.group.add(n.getGroup())},this)},_buildSplitLineAndArea:function(r){var a=r.coordinateSystem,s=a.getIndicatorAxes();if(!s.length)return;var i=r.get("shape"),n=r.getModel("splitLine"),l=r.getModel("splitArea"),t=n.getModel("lineStyle"),u=l.getModel("areaStyle"),o=n.get("show"),c=l.get("show"),h=t.get("color"),f=u.get("color");h=v.isArray(h)?h:[h],f=v.isArray(f)?f:[f];var w=[],x=[];function I(H,k,P){var z=P%k.length;return H[z]=H[z]||[],z}if(i==="circle")for(var C=s[0].getTicksCoords(),N=a.cx,S=a.cy,E=0;E<C.length;E++){if(o){var T=I(w,h,E);w[T].push(new b.Circle({shape:{cx:N,cy:S,r:C[E].coord}}))}if(c&&E<C.length-1){var T=I(x,f,E);x[T].push(new b.Ring({shape:{cx:N,cy:S,r0:C[E].coord,r:C[E+1].coord}}))}}else for(var D,B=v.map(s,function(H,k){var P=H.getTicksCoords();return D=D==null?P.length-1:Math.min(P.length-1,D),v.map(P,function(z){return a.coordToPoint(z.coord,k)})}),R=[],E=0;E<=D;E++){for(var F=[],M=0;M<s.length;M++)F.push(B[M][E]);if(F[0]&&F.push(F[0].slice()),o){var T=I(w,h,E);w[T].push(new b.Polyline({shape:{points:F}}))}if(c&&R){var T=I(x,f,E-1);x[T].push(new b.Polygon({shape:{points:F.concat(R)}}))}R=F.slice().reverse()}var K=t.getLineStyle(),j=u.getAreaStyle();v.each(x,function(H,k){this.group.add(b.mergePath(H,{style:v.defaults({stroke:"none",fill:f[k%f.length]},j),silent:!0}))},this),v.each(w,function(H,k){this.group.add(b.mergePath(H,{style:v.defaults({fill:"none",stroke:h[k%h.length]},K),silent:!0}))},this)}});te.exports=d},bBL8:function(te,U,e){var y=e("ProS");e("LPzL"),e("rfSb"),e("JVwQ");var L=e("UnoB"),g=e("cbJ4"),v=e("0/Rx");y.registerLayout(L),y.registerVisual(g),y.registerProcessor(v("themeRiver"))},bE4E:function(te,U,e){},bE4q:function(te,U,e){"use strict";var y=e("pVnL"),L=e.n(y),g=e("lSNA"),v=e.n(g),A=e("RIqP"),b=e.n(A),m=e("q1tI"),d=e("TSYQ"),r=e.n(d),a=e("Zm9Q"),s=e("HQEm"),i=e.n(s),n=e("XBQK"),l=e("H84U"),t=function(R,F){var M={};for(var K in R)Object.prototype.hasOwnProperty.call(R,K)&&F.indexOf(K)<0&&(M[K]=R[K]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,K=Object.getOwnPropertySymbols(R);j<K.length;j++)F.indexOf(K[j])<0&&Object.prototype.propertyIsEnumerable.call(R,K[j])&&(M[K[j]]=R[K[j]]);return M},u=function(F){var M=F.prefixCls,K=F.separator,j=K===void 0?"/":K,H=F.children,k=F.overlay,P=F.dropdownProps,z=t(F,["prefixCls","separator","children","overlay","dropdownProps"]),Y=m.useContext(l.b),_=Y.getPrefixCls,G=_("breadcrumb",M),J=function(re){return k?m.createElement(n.a,L()({overlay:k,placement:"bottomCenter"},P),m.createElement("span",{className:"".concat(G,"-overlay-link")},re,m.createElement(i.a,null))):re},ue;return"href"in z?ue=m.createElement("a",L()({className:"".concat(G,"-link")},z),H):ue=m.createElement("span",L()({className:"".concat(G,"-link")},z),H),ue=J(ue),H?m.createElement("span",null,ue,j&&j!==""&&m.createElement("span",{className:"".concat(G,"-separator")},j)):null};u.__ANT_BREADCRUMB_ITEM=!0;var o=u,c=function(F){var M=F.children,K=m.useContext(l.b),j=K.getPrefixCls,H=j("breadcrumb");return m.createElement("span",{className:"".concat(H,"-separator")},M||"/")};c.__ANT_BREADCRUMB_SEPARATOR=!0;var h=c,f=e("BvKs"),w=e("uaoM"),x=e("0n0R"),I=function(R,F){var M={};for(var K in R)Object.prototype.hasOwnProperty.call(R,K)&&F.indexOf(K)<0&&(M[K]=R[K]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,K=Object.getOwnPropertySymbols(R);j<K.length;j++)F.indexOf(K[j])<0&&Object.prototype.propertyIsEnumerable.call(R,K[j])&&(M[K[j]]=R[K[j]]);return M};function C(R,F){if(!R.breadcrumbName)return null;var M=Object.keys(F).join("|"),K=R.breadcrumbName.replace(new RegExp(":(".concat(M,")"),"g"),function(j,H){return F[H]||j});return K}function N(R,F,M,K){var j=M.indexOf(R)===M.length-1,H=C(R,F);return j?m.createElement("span",null,H):m.createElement("a",{href:"#/".concat(K.join("/"))},H)}var S=function(F,M){return F=(F||"").replace(/^\//,""),Object.keys(M).forEach(function(K){F=F.replace(":".concat(K),M[K])}),F},E=function(F){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",K=arguments.length>2?arguments[2]:void 0,j=b()(F),H=S(M,K);return H&&j.push(H),j},T=function(F){var M=F.prefixCls,K=F.separator,j=K===void 0?"/":K,H=F.style,k=F.className,P=F.routes,z=F.children,Y=F.itemRender,_=Y===void 0?N:Y,G=F.params,J=G===void 0?{}:G,ue=I(F,["prefixCls","separator","style","className","routes","children","itemRender","params"]),q=m.useContext(l.b),re=q.getPrefixCls,me=q.direction,be,ke=re("breadcrumb",M);if(P&&P.length>0){var ce=[];be=P.map(function(pe){var Se=S(pe.path,J);Se&&ce.push(Se);var st;return pe.children&&pe.children.length&&(st=m.createElement(f.a,null,pe.children.map(function(qe){return m.createElement(f.a.Item,{key:qe.path||qe.breadcrumbName},_(qe,J,P,E(ce,qe.path,J)))}))),m.createElement(o,{overlay:st,separator:j,key:Se||pe.breadcrumbName},_(pe,J,P,ce))})}else z&&(be=Object(a.a)(z).map(function(pe,Se){return pe&&(Object(w.a)(pe.type&&(pe.type.__ANT_BREADCRUMB_ITEM===!0||pe.type.__ANT_BREADCRUMB_SEPARATOR===!0),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),Object(x.a)(pe,{separator:j,key:Se}))}));var Ee=r()(k,ke,v()({},"".concat(ke,"-rtl"),me==="rtl"));return m.createElement("div",L()({className:Ee,style:H},ue),be)};T.Item=o,T.Separator=h;var D=T,B=U.a=D},bKJz:function(te,U,e){},bLfw:function(te,U,e){var y=e("bYtY"),L=e("Qxkt"),g=e("iRjW"),v=e("Yl7c"),A=v.enableClassManagement,b=v.parseClassType,m=e("4NO4"),d=m.makeInner,r=e("+TT/"),a=e("3hzK"),s=d(),i=L.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(t,u,o,c){L.call(this,t,u,o,c),this.uid=g.getUID("ec_cpt_model")},init:function(t,u,o,c){this.mergeDefaultAndTheme(t,o)},mergeDefaultAndTheme:function(t,u){var o=this.layoutMode,c=o?r.getLayoutParams(t):{},h=u.getTheme();y.merge(t,h.get(this.mainType)),y.merge(t,this.getDefaultOption()),o&&r.mergeLayoutParam(t,c,o)},mergeOption:function(t,u){y.merge(this.option,t,!0);var o=this.layoutMode;o&&r.mergeLayoutParam(this.option,t,o)},optionUpdated:function(t,u){},getDefaultOption:function(){var t=s(this);if(!t.defaultOption){for(var u=[],o=this.constructor;o;){var c=o.prototype.defaultOption;c&&u.push(c),o=o.superClass}for(var h={},f=u.length-1;f>=0;f--)h=y.merge(h,u[f],!0);t.defaultOption=h}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});A(i,{registerWhenExtend:!0}),g.enableSubTypeDefaulter(i),g.enableTopologicalTravel(i,n);function n(t){var u=[];return y.each(i.getClassesByMainType(t),function(o){u=u.concat(o.prototype.dependencies||[])}),u=y.map(u,function(o){return b(o).main}),t!=="dataset"&&y.indexOf(u,"dataset")<=0&&u.unshift("dataset"),u}y.mixin(i,a);var l=i;te.exports=l},bMXI:function(te,U,e){var y=e("bYtY"),L=e("QBsz"),g=e("Fofx"),v=e("mFDi"),A=e("DN4a"),b=L.applyTransform;function m(){A.call(this)}y.mixin(m,A);function d(s){this.name=s,this.zoomLimit,A.call(this),this._roamTransformable=new m,this._rawTransformable=new m,this._center,this._zoom}d.prototype={constructor:d,type:"view",dimensions:["x","y"],setBoundingRect:function(s,i,n,l){return this._rect=new v(s,i,n,l),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(s,i,n,l){this.transformTo(s,i,n,l),this._viewRect=new v(s,i,n,l)},transformTo:function(s,i,n,l){var t=this.getBoundingRect(),u=this._rawTransformable;u.transform=t.calculateTransform(new v(s,i,n,l)),u.decomposeTransform(),this._updateTransform()},setCenter:function(s){if(!s)return;this._center=s,this._updateCenterAndZoom()},setZoom:function(s){s=s||1;var i=this.zoomLimit;i&&(i.max!=null&&(s=Math.min(i.max,s)),i.min!=null&&(s=Math.max(i.min,s))),this._zoom=s,this._updateCenterAndZoom()},getDefaultCenter:function(){var s=this.getBoundingRect(),i=s.x+s.width/2,n=s.y+s.height/2;return[i,n]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var s=this._rawTransformable.getLocalTransform(),i=this._roamTransformable,n=this.getDefaultCenter(),l=this.getCenter(),t=this.getZoom();l=L.applyTransform([],l,s),n=L.applyTransform([],n,s),i.origin=l,i.position=[n[0]-l[0],n[1]-l[1]],i.scale=[t,t],this._updateTransform()},_updateTransform:function(){var s=this._roamTransformable,i=this._rawTransformable;i.parent=s,s.updateTransform(),i.updateTransform(),g.copy(this.transform||(this.transform=[]),i.transform||g.create()),this._rawTransform=i.getLocalTransform(),this.invTransform=this.invTransform||[],g.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var s=this._roamTransformable.transform,i=this._rawTransformable;return{roamTransform:s?y.slice(s):g.create(),rawScale:y.slice(i.scale),rawPosition:y.slice(i.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var s=this.getBoundingRect().clone();return s.applyTransform(this.transform),s},dataToPoint:function(s,i,n){var l=i?this._rawTransform:this.transform;return n=n||[],l?b(n,s,l):L.copy(n,s)},pointToData:function(s){var i=this.invTransform;return i?b([],s,i):[s[0],s[1]]},convertToPixel:y.curry(r,"dataToPoint"),convertFromPixel:y.curry(r,"pointToData"),containPoint:function(s){return this.getViewRectAfterRoam().contain(s[0],s[1])}},y.mixin(d,A);function r(s,i,n,l){var t=n.seriesModel,u=t?t.coordinateSystem:null;return u===this?u[s](l):null}var a=d;te.exports=a},bNin:function(te,U,e){var y=e("bYtY"),L=e("IwbS"),g=e("FBjb"),v=e("Itpr"),A=v.radialCoordinate,b=e("ProS"),m=e("4mN7"),d=e("bMXI"),r=e("Ae+d"),a=e("SgGq"),s=e("xSat"),i=s.onIrrelevantElement,n=e("Tghj"),l=n.__DEV__,t=e("OELB"),u=t.parsePercent,o=L.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(N,S){var E=S.childPoints,T=E.length,D=S.parentPoint,B=E[0],R=E[T-1];if(T===1){N.moveTo(D[0],D[1]),N.lineTo(B[0],B[1]);return}var F=S.orient,M=F==="TB"||F==="BT"?0:1,K=1-M,j=u(S.forkPosition,1),H=[];H[M]=D[M],H[K]=D[K]+(R[K]-D[K])*j,N.moveTo(D[0],D[1]),N.lineTo(H[0],H[1]),N.moveTo(B[0],B[1]),H[M]=B[M],N.lineTo(H[0],H[1]),H[M]=R[M],N.lineTo(H[0],H[1]),N.lineTo(R[0],R[1]);for(var k=1;k<T-1;k++){var P=E[k];N.moveTo(P[0],P[1]),H[M]=P[M],N.lineTo(H[0],H[1])}}}),c=b.extendChartView({type:"tree",init:function(N,S){this._oldTree,this._mainGroup=new L.Group,this._controller=new a(S.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(N,S,E,T){var D=N.getData(),B=N.layoutInfo,R=this._mainGroup,F=N.get("layout");F==="radial"?R.attr("position",[B.x+B.width/2,B.y+B.height/2]):R.attr("position",[B.x,B.y]),this._updateViewCoordSys(N,B,F),this._updateController(N,S,E);var M=this._data,K={expandAndCollapse:N.get("expandAndCollapse"),layout:F,edgeShape:N.get("edgeShape"),edgeForkPosition:N.get("edgeForkPosition"),orient:N.getOrient(),curvature:N.get("lineStyle.curveness"),symbolRotate:N.get("symbolRotate"),symbolOffset:N.get("symbolOffset"),hoverAnimation:N.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};D.diff(M).add(function(j){h(D,j)&&w(D,j,null,R,N,K)}).update(function(j,H){var k=M.getItemGraphicEl(H);if(!h(D,j)){k&&I(M,H,k,R,N,K);return}w(D,j,k,R,N,K)}).remove(function(j){var H=M.getItemGraphicEl(j);H&&I(M,j,H,R,N,K)}).execute(),this._nodeScaleRatio=N.get("nodeScaleRatio"),this._updateNodeAndLinkScale(N),K.expandAndCollapse===!0&&D.eachItemGraphicEl(function(j,H){j.off("click").on("click",function(){E.dispatchAction({type:"treeExpandAndCollapse",seriesId:N.id,dataIndex:H})})}),this._data=D},_updateViewCoordSys:function(N){var S=N.getData(),E=[];S.each(function(M){var K=S.getItemLayout(M);K&&!isNaN(K.x)&&!isNaN(K.y)&&E.push([+K.x,+K.y])});var T=[],D=[];m.fromPoints(E,T,D);var B=this._min,R=this._max;D[0]-T[0]===0&&(T[0]=B?B[0]:T[0]-1,D[0]=R?R[0]:D[0]+1),D[1]-T[1]===0&&(T[1]=B?B[1]:T[1]-1,D[1]=R?R[1]:D[1]+1);var F=N.coordinateSystem=new d;F.zoomLimit=N.get("scaleLimit"),F.setBoundingRect(T[0],T[1],D[0]-T[0],D[1]-T[1]),F.setCenter(N.get("center")),F.setZoom(N.get("zoom")),this.group.attr({position:F.position,scale:F.scale}),this._viewCoordSys=F,this._min=T,this._max=D},_updateController:function(N,S,E){var T=this._controller,D=this._controllerHost,B=this.group;T.setPointerChecker(function(R,F,M){var K=B.getBoundingRect();return K.applyTransform(B.transform),K.contain(F,M)&&!i(R,E,N)}),T.enable(N.get("roam")),D.zoomLimit=N.get("scaleLimit"),D.zoom=N.coordinateSystem.getZoom(),T.off("pan").off("zoom").on("pan",function(R){r.updateViewOnPan(D,R.dx,R.dy),E.dispatchAction({seriesId:N.id,type:"treeRoam",dx:R.dx,dy:R.dy})},this).on("zoom",function(R){r.updateViewOnZoom(D,R.scale,R.originX,R.originY),E.dispatchAction({seriesId:N.id,type:"treeRoam",zoom:R.scale,originX:R.originX,originY:R.originY}),this._updateNodeAndLinkScale(N)},this)},_updateNodeAndLinkScale:function(N){var S=N.getData(),E=this._getNodeGlobalScale(N),T=[E,E];S.eachItemGraphicEl(function(D,B){D.attr("scale",T)})},_getNodeGlobalScale:function(N){var S=N.coordinateSystem;if(S.type!=="view")return 1;var E=this._nodeScaleRatio,T=S.scale,D=T&&T[0]||1,B=S.getZoom(),R=(B-1)*E+1;return R/D},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function h(N,S){var E=N.getItemLayout(S);return E&&!isNaN(E.x)&&!isNaN(E.y)&&N.getItemVisual(S,"symbol")!=="none"}function f(N,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"),N.isExpand===!1&&N.children.length!==0?E.symbolInnerColor=E.itemStyle.fill:E.symbolInnerColor="#fff",E}function w(N,S,E,T,D,B){var R=!E,F=N.tree.getNodeByDataIndex(S),M=F.getModel(),B=f(F,M,B),K=N.tree.root,j=F.parentNode===K?F:F.parentNode||F,H=N.getItemGraphicEl(j.dataIndex),k=j.getLayout(),P=H?{x:H.position[0],y:H.position[1],rawX:H.__radialOldRawX,rawY:H.__radialOldRawY}:k,z=F.getLayout();R?(E=new g(N,S,B),E.attr("position",[P.x,P.y])):E.updateData(N,S,B),E.__radialOldRawX=E.__radialRawX,E.__radialOldRawY=E.__radialRawY,E.__radialRawX=z.rawX,E.__radialRawY=z.rawY,T.add(E),N.setItemGraphicEl(S,E),L.updateProps(E,{position:[z.x,z.y]},D);var Y=E.getSymbolPath();if(B.layout==="radial"){var _=K.children[0],G=_.getLayout(),J=_.children.length,ue,q;if(z.x===G.x&&F.isExpand===!0){var re={};re.x=(_.children[0].getLayout().x+_.children[J-1].getLayout().x)/2,re.y=(_.children[0].getLayout().y+_.children[J-1].getLayout().y)/2,ue=Math.atan2(re.y-G.y,re.x-G.x),ue<0&&(ue=Math.PI*2+ue),q=re.x<G.x,q&&(ue=ue-Math.PI)}else ue=Math.atan2(z.y-G.y,z.x-G.x),ue<0&&(ue=Math.PI*2+ue),F.children.length===0||F.children.length!==0&&F.isExpand===!1?(q=z.x<G.x,q&&(ue=ue-Math.PI)):(q=z.x>G.x,q||(ue=ue-Math.PI));var me=q?"left":"right",be=B.labelModel.get("rotate"),ke=be*(Math.PI/180);Y.setStyle({textPosition:B.labelModel.get("position")||me,textRotation:be==null?-ue:ke,textOrigin:"center",verticalAlign:"middle"})}x(D,F,K,E,P,k,z,T,B)}function x(N,S,E,T,D,B,R,F,M){var K=M.edgeShape,j=T.__edge;if(K==="curve")S.parentNode&&S.parentNode!==E&&(j||(j=T.__edge=new L.BezierCurve({shape:C(M,D,D),style:y.defaults({opacity:0,strokeNoScale:!0},M.lineStyle)})),L.updateProps(j,{shape:C(M,B,R),style:{opacity:1}},N));else if(K==="polyline"&&(M.layout==="orthogonal"&&(S!==E&&S.children&&S.children.length!==0&&S.isExpand===!0))){for(var H=S.children,k=[],P=0;P<H.length;P++){var z=H[P].getLayout();k.push([z.x,z.y])}j||(j=T.__edge=new o({shape:{parentPoint:[R.x,R.y],childPoints:[[R.x,R.y]],orient:M.orient,forkPosition:M.edgeForkPosition},style:y.defaults({opacity:0,strokeNoScale:!0},M.lineStyle)})),L.updateProps(j,{shape:{parentPoint:[R.x,R.y],childPoints:k},style:{opacity:1}},N)}F.add(j)}function I(N,S,E,T,D,B){for(var R=N.tree.getNodeByDataIndex(S),F=N.tree.root,M=R.getModel(),B=f(R,M,B),K=R.parentNode===F?R:R.parentNode||R,j=B.edgeShape,H;H=K.getLayout(),H==null;)K=K.parentNode===F?K:K.parentNode||K;L.updateProps(E,{position:[H.x+1,H.y+1]},D,function(){T.remove(E),N.setItemGraphicEl(S,null)}),E.fadeOut(null,{keepLabel:!0});var k=N.getItemGraphicEl(K.dataIndex),P=k.__edge,z=E.__edge||(K.isExpand===!1||K.children.length===1?P:void 0),j=B.edgeShape;z&&(j==="curve"?L.updateProps(z,{shape:C(B,H,H),style:{opacity:0}},D,function(){T.remove(z)}):j==="polyline"&&B.layout==="orthogonal"&&L.updateProps(z,{shape:{parentPoint:[H.x,H.y],childPoints:[[H.x,H.y]]},style:{opacity:0}},D,function(){T.remove(z)}))}function C(N,S,E){var T,D,B,R,F=N.orient,M,K,j,H;if(N.layout==="radial"){M=S.rawX,j=S.rawY,K=E.rawX,H=E.rawY;var k=A(M,j),P=A(M,j+(H-j)*N.curvature),z=A(K,H+(j-H)*N.curvature),Y=A(K,H);return{x1:k.x,y1:k.y,x2:Y.x,y2:Y.y,cpx1:P.x,cpy1:P.y,cpx2:z.x,cpy2:z.y}}else M=S.x,j=S.y,K=E.x,H=E.y,(F==="LR"||F==="RL")&&(T=M+(K-M)*N.curvature,D=j,B=K+(M-K)*N.curvature,R=H),(F==="TB"||F==="BT")&&(T=M,D=j+(H-j)*N.curvature,B=K,R=H+(j-H)*N.curvature);return{x1:M,y1:j,x2:K,y2:H,cpx1:T,cpy1:D,cpx2:B,cpy2:R}}te.exports=c},bRQS:function(te,U,e){"use strict";var y=e("VTBJ"),L=e("q1tI"),g={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"},v=g,A=e("6VBw"),b=function(r,a){return L.createElement(A.a,Object(y.a)(Object(y.a)({},r),{},{ref:a,icon:v}))};b.displayName="CheckOutlined";var m=U.a=L.forwardRef(b)},bT9E:function(te,U,e){"use strict";e.d(U,"a",function(){return L});var y=e("VTBJ");function L(g,v){var A=Object(y.a)({},g);return Array.isArray(v)&&v.forEach(function(b){delete A[b]}),A}},bX4T:function(te,U,e){"use strict";e.d(U,"a",function(){return d});var y=e("VTBJ"),L=`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`,g=`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`,v="".concat(L," ").concat(g).split(/[\s\n]+/),A="aria-",b="data-";function m(r,a){return r.indexOf(a)===0}function d(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s;a===!1?s={aria:!0,data:!0,attr:!0}:a===!0?s={aria:!0}:s=Object(y.a)({},a);var i={};return Object.keys(r).forEach(function(n){(s.aria&&(n==="role"||m(n,A))||s.data&&m(n,b)||s.attr&&v.includes(n))&&(i[n]=r[n])}),i}},bYtY:function(te,U){var e={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},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},L=Object.prototype.toString,g=Array.prototype,v=g.forEach,A=g.filter,b=g.slice,m=g.map,d=g.reduce,r={};function a(pe,Se){pe==="createCanvas"&&(o=null),r[pe]=Se}function s(pe){if(pe==null||typeof pe!="object")return pe;var Se=pe,st=L.call(pe);if(st==="[object Array]"){if(!me(pe)){Se=[];for(var qe=0,tt=pe.length;qe<tt;qe++)Se[qe]=s(pe[qe])}}else if(y[st]){if(!me(pe)){var Dt=pe.constructor;if(pe.constructor.from)Se=Dt.from(pe);else{Se=new Dt(pe.length);for(var qe=0,tt=pe.length;qe<tt;qe++)Se[qe]=s(pe[qe])}}}else if(!e[st]&&!me(pe)&&!H(pe)){Se={};for(var ct in pe)pe.hasOwnProperty(ct)&&(Se[ct]=s(pe[ct]))}return Se}function i(pe,Se,st){if(!M(Se)||!M(pe))return st?s(Se):pe;for(var qe in Se)if(Se.hasOwnProperty(qe)){var tt=pe[qe],Dt=Se[qe];M(Dt)&&M(tt)&&!B(Dt)&&!B(tt)&&!H(Dt)&&!H(tt)&&!K(Dt)&&!K(tt)&&!me(Dt)&&!me(tt)?i(tt,Dt,st):(st||!(qe in pe))&&(pe[qe]=s(Se[qe],!0))}return pe}function n(pe,Se){for(var st=pe[0],qe=1,tt=pe.length;qe<tt;qe++)st=i(st,pe[qe],Se);return st}function l(pe,Se){for(var st in Se)Se.hasOwnProperty(st)&&(pe[st]=Se[st]);return pe}function t(pe,Se,st){for(var qe in Se)Se.hasOwnProperty(qe)&&(st?Se[qe]!=null:pe[qe]==null)&&(pe[qe]=Se[qe]);return pe}var u=function(){return r.createCanvas()};r.createCanvas=function(){return document.createElement("canvas")};var o;function c(){return o||(o=u().getContext("2d")),o}function h(pe,Se){if(pe){if(pe.indexOf)return pe.indexOf(Se);for(var st=0,qe=pe.length;st<qe;st++)if(pe[st]===Se)return st}return-1}function f(pe,Se){var st=pe.prototype;function qe(){}qe.prototype=Se.prototype,pe.prototype=new qe;for(var tt in st)st.hasOwnProperty(tt)&&(pe.prototype[tt]=st[tt]);pe.prototype.constructor=pe,pe.superClass=Se}function w(pe,Se,st){pe="prototype"in pe?pe.prototype:pe,Se="prototype"in Se?Se.prototype:Se,t(pe,Se,st)}function x(pe){return pe?typeof pe=="string"?!1:typeof pe.length=="number":void 0}function I(pe,Se,st){if(!(pe&&Se))return;if(pe.forEach&&pe.forEach===v)pe.forEach(Se,st);else if(pe.length===+pe.length)for(var qe=0,tt=pe.length;qe<tt;qe++)Se.call(st,pe[qe],qe,pe);else for(var Dt in pe)pe.hasOwnProperty(Dt)&&Se.call(st,pe[Dt],Dt,pe)}function C(pe,Se,st){if(!(pe&&Se))return;if(pe.map&&pe.map===m)return pe.map(Se,st);for(var qe=[],tt=0,Dt=pe.length;tt<Dt;tt++)qe.push(Se.call(st,pe[tt],tt,pe));return qe}function N(pe,Se,st,qe){if(!(pe&&Se))return;if(pe.reduce&&pe.reduce===d)return pe.reduce(Se,st,qe);for(var tt=0,Dt=pe.length;tt<Dt;tt++)st=Se.call(qe,st,pe[tt],tt,pe);return st}function S(pe,Se,st){if(!(pe&&Se))return;if(pe.filter&&pe.filter===A)return pe.filter(Se,st);for(var qe=[],tt=0,Dt=pe.length;tt<Dt;tt++)Se.call(st,pe[tt],tt,pe)&&qe.push(pe[tt]);return qe}function E(pe,Se,st){if(!(pe&&Se))return;for(var qe=0,tt=pe.length;qe<tt;qe++)if(Se.call(st,pe[qe],qe,pe))return pe[qe]}function T(pe,Se){var st=b.call(arguments,2);return function(){return pe.apply(Se,st.concat(b.call(arguments)))}}function D(pe){var Se=b.call(arguments,1);return function(){return pe.apply(this,Se.concat(b.call(arguments)))}}function B(pe){return L.call(pe)==="[object Array]"}function R(pe){return typeof pe=="function"}function F(pe){return L.call(pe)==="[object String]"}function M(pe){var Se=typeof pe;return Se==="function"||!!pe&&Se==="object"}function K(pe){return!!e[L.call(pe)]}function j(pe){return!!y[L.call(pe)]}function H(pe){return typeof pe=="object"&&typeof pe.nodeType=="number"&&typeof pe.ownerDocument=="object"}function k(pe){return pe!==pe}function P(pe){for(var Se=0,st=arguments.length;Se<st;Se++)if(arguments[Se]!=null)return arguments[Se]}function z(pe,Se){return pe!=null?pe:Se}function Y(pe,Se,st){return pe!=null?pe:Se!=null?Se:st}function _(){return Function.call.apply(b,arguments)}function G(pe){if(typeof pe=="number")return[pe,pe,pe,pe];var Se=pe.length;return Se===2?[pe[0],pe[1],pe[0],pe[1]]:Se===3?[pe[0],pe[1],pe[2],pe[1]]:pe}function J(pe,Se){if(!pe)throw new Error(Se)}function ue(pe){return pe==null?null:typeof pe.trim=="function"?pe.trim():pe.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var q="__ec_primitive__";function re(pe){pe[q]=!0}function me(pe){return pe[q]}function be(pe){var Se=B(pe);this.data={};var st=this;pe instanceof be?pe.each(qe):pe&&I(pe,qe);function qe(tt,Dt){Se?st.set(tt,Dt):st.set(Dt,tt)}}be.prototype={constructor:be,get:function(Se){return this.data.hasOwnProperty(Se)?this.data[Se]:null},set:function(Se,st){return this.data[Se]=st},each:function(Se,st){st!==void 0&&(Se=T(Se,st));for(var qe in this.data)this.data.hasOwnProperty(qe)&&Se(this.data[qe],qe)},removeKey:function(Se){delete this.data[Se]}};function ke(pe){return new be(pe)}function ce(pe,Se){for(var st=new pe.constructor(pe.length+Se.length),qe=0;qe<pe.length;qe++)st[qe]=pe[qe];var tt=pe.length;for(qe=0;qe<Se.length;qe++)st[qe+tt]=Se[qe];return st}function Ee(){}U.$override=a,U.clone=s,U.merge=i,U.mergeAll=n,U.extend=l,U.defaults=t,U.createCanvas=u,U.getContext=c,U.indexOf=h,U.inherits=f,U.mixin=w,U.isArrayLike=x,U.each=I,U.map=C,U.reduce=N,U.filter=S,U.find=E,U.bind=T,U.curry=D,U.isArray=B,U.isFunction=R,U.isString=F,U.isObject=M,U.isBuiltInObject=K,U.isTypedArray=j,U.isDom=H,U.eqNaN=k,U.retrieve=P,U.retrieve2=z,U.retrieve3=Y,U.slice=_,U.normalizeCssArray=G,U.assert=J,U.trim=ue,U.setAsPrimitive=re,U.isPrimitive=me,U.createHashMap=ke,U.concatArray=ce,U.noop=Ee},bZqE:function(te,U){function e(L,g,v){for(var A=[L],b=[],m;m=A.pop();)if(b.push(m),m.isExpand){var d=m.children;if(d.length)for(var r=0;r<d.length;r++)A.push(d[r])}for(;m=b.pop();)g(m,v)}function y(L,g){for(var v=[L],A;A=v.pop();)if(g(A),A.isExpand){var b=A.children;if(b.length)for(var m=b.length-1;m>=0;m--)v.push(b[m])}}U.eachAfter=e,U.eachBefore=y},bahg:function(te,U){function e(y){return y.split("")}te.exports=e},bbsP:function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("CWI+"),v=e.n(g)},bogI:function(te,U,e){"use strict";e.d(U,"a",function(){return y});var y=function(g){if(!g)return null;var v=typeof g=="function";return v?g():g}},bsht:function(te,U,e){"use strict";Object.defineProperty(U,"__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"};U.default=y},bx4M:function(te,U,e){"use strict";var y=e("lSNA"),L=e.n(y),g=e("pVnL"),v=e.n(g),A=e("q1tI"),b=e("TSYQ"),m=e.n(b),d=e("BGR+"),r=e("H84U"),a=function(C,N){var S={};for(var E in C)Object.prototype.hasOwnProperty.call(C,E)&&N.indexOf(E)<0&&(S[E]=C[E]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,E=Object.getOwnPropertySymbols(C);T<E.length;T++)N.indexOf(E[T])<0&&Object.prototype.propertyIsEnumerable.call(C,E[T])&&(S[E[T]]=C[E[T]]);return S},s=function(N){return A.createElement(r.a,null,function(S){var E=S.getPrefixCls,T=N.prefixCls,D=N.className,B=N.hoverable,R=B===void 0?!0:B,F=a(N,["prefixCls","className","hoverable"]),M=E("card",T),K=m()("".concat(M,"-grid"),D,L()({},"".concat(M,"-grid-hoverable"),R));return A.createElement("div",v()({},F,{className:K}))})},i=s,n=function(C,N){var S={};for(var E in C)Object.prototype.hasOwnProperty.call(C,E)&&N.indexOf(E)<0&&(S[E]=C[E]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,E=Object.getOwnPropertySymbols(C);T<E.length;T++)N.indexOf(E[T])<0&&Object.prototype.propertyIsEnumerable.call(C,E[T])&&(S[E[T]]=C[E[T]]);return S},l=function(N){return A.createElement(r.a,null,function(S){var E=S.getPrefixCls,T=N.prefixCls,D=N.className,B=N.avatar,R=N.title,F=N.description,M=n(N,["prefixCls","className","avatar","title","description"]),K=E("card",T),j=m()("".concat(K,"-meta"),D),H=B?A.createElement("div",{className:"".concat(K,"-meta-avatar")},B):null,k=R?A.createElement("div",{className:"".concat(K,"-meta-title")},R):null,P=F?A.createElement("div",{className:"".concat(K,"-meta-description")},F):null,z=k||P?A.createElement("div",{className:"".concat(K,"-meta-detail")},k,P):null;return A.createElement("div",v()({},M,{className:j}),H,z)})},t=l,u=e("ZTPi"),o=e("BMrR"),c=e("kPKH"),h=e("3Nzz"),f=function(C,N){var S={};for(var E in C)Object.prototype.hasOwnProperty.call(C,E)&&N.indexOf(E)<0&&(S[E]=C[E]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,E=Object.getOwnPropertySymbols(C);T<E.length;T++)N.indexOf(E[T])<0&&Object.prototype.propertyIsEnumerable.call(C,E[T])&&(S[E[T]]=C[E[T]]);return S};function w(C){var N=C.map(function(S,E){return A.createElement("li",{style:{width:"".concat(100/C.length,"%")},key:"action-".concat(E)},A.createElement("span",null,S))});return N}var x=function(N){var S,E,T=A.useContext(r.b),D=T.getPrefixCls,B=T.direction,R=A.useContext(h.b),F=function(Yt){N.onTabChange&&N.onTabChange(Yt)},M=function(){var Yt;return A.Children.forEach(N.children,function(Qt){Qt&&Qt.type&&Qt.type===i&&(Yt=!0)}),Yt},K=N.prefixCls,j=N.className,H=N.extra,k=N.headStyle,P=k===void 0?{}:k,z=N.bodyStyle,Y=z===void 0?{}:z,_=N.title,G=N.loading,J=N.bordered,ue=J===void 0?!0:J,q=N.size,re=N.type,me=N.cover,be=N.actions,ke=N.tabList,ce=N.children,Ee=N.activeTabKey,pe=N.defaultActiveTabKey,Se=N.tabBarExtraContent,st=N.hoverable,qe=N.tabProps,tt=qe===void 0?{}:qe,Dt=f(N,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),ct=D("card",K),St=Y.padding===0||Y.padding==="0px"?{padding:24}:void 0,rt=A.createElement("div",{className:"".concat(ct,"-loading-block")}),ht=A.createElement("div",{className:"".concat(ct,"-loading-content"),style:St},A.createElement(o.a,{gutter:8},A.createElement(c.a,{span:22},rt)),A.createElement(o.a,{gutter:8},A.createElement(c.a,{span:8},rt),A.createElement(c.a,{span:15},rt)),A.createElement(o.a,{gutter:8},A.createElement(c.a,{span:6},rt),A.createElement(c.a,{span:18},rt)),A.createElement(o.a,{gutter:8},A.createElement(c.a,{span:13},rt),A.createElement(c.a,{span:9},rt)),A.createElement(o.a,{gutter:8},A.createElement(c.a,{span:4},rt),A.createElement(c.a,{span:3},rt),A.createElement(c.a,{span:16},rt))),je=Ee!==void 0,Me=v()(v()({},tt),(S={},L()(S,je?"activeKey":"defaultActiveKey",je?Ee:pe),L()(S,"tabBarExtraContent",Se),S)),Ne,it=ke&&ke.length?A.createElement(u.a,v()({size:"large"},Me,{className:"".concat(ct,"-head-tabs"),onChange:F}),ke.map(function(Vt){return A.createElement(u.a.TabPane,{tab:Vt.tab,disabled:Vt.disabled,key:Vt.key})})):null;(_||H||it)&&(Ne=A.createElement("div",{className:"".concat(ct,"-head"),style:P},A.createElement("div",{className:"".concat(ct,"-head-wrapper")},_&&A.createElement("div",{className:"".concat(ct,"-head-title")},_),H&&A.createElement("div",{className:"".concat(ct,"-extra")},H)),it));var wt=me?A.createElement("div",{className:"".concat(ct,"-cover")},me):null,jt=A.createElement("div",{className:"".concat(ct,"-body"),style:Y},G?ht:ce),lt=be&&be.length?A.createElement("ul",{className:"".concat(ct,"-actions")},w(be)):null,Te=Object(d.default)(Dt,["onTabChange"]),mt=q||R,tn=m()(ct,j,(E={},L()(E,"".concat(ct,"-loading"),G),L()(E,"".concat(ct,"-bordered"),ue),L()(E,"".concat(ct,"-hoverable"),st),L()(E,"".concat(ct,"-contain-grid"),M()),L()(E,"".concat(ct,"-contain-tabs"),ke&&ke.length),L()(E,"".concat(ct,"-").concat(mt),mt),L()(E,"".concat(ct,"-type-").concat(re),!!re),L()(E,"".concat(ct,"-rtl"),B==="rtl"),E));return A.createElement("div",v()({},Te,{className:tn}),Ne,wt,jt,lt)};x.Grid=i,x.Meta=t;var I=U.a=x},c2i1:function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("bYtY"),v=e("Yl7c"),A=v.enableClassCheck;function b(n){return"_EC_"+n}var m=function(n){this._directed=n||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},d=m.prototype;d.type="graph",d.isDirected=function(){return this._directed},d.addNode=function(n,l){n=n==null?""+l:""+n;var t=this._nodesMap;if(t[b(n)])return;var u=new r(n,l);return u.hostGraph=this,this.nodes.push(u),t[b(n)]=u,u},d.getNodeByIndex=function(n){var l=this.data.getRawIndex(n);return this.nodes[l]},d.getNodeById=function(n){return this._nodesMap[b(n)]},d.addEdge=function(n,l,t){var u=this._nodesMap,o=this._edgesMap;if(typeof n=="number"&&(n=this.nodes[n]),typeof l=="number"&&(l=this.nodes[l]),r.isInstance(n)||(n=u[b(n)]),r.isInstance(l)||(l=u[b(l)]),!n||!l)return;var c=n.id+"-"+l.id;if(o[c])return;var h=new a(n,l,t);return h.hostGraph=this,this._directed&&(n.outEdges.push(h),l.inEdges.push(h)),n.edges.push(h),n!==l&&l.edges.push(h),this.edges.push(h),o[c]=h,h},d.getEdgeByIndex=function(n){var l=this.edgeData.getRawIndex(n);return this.edges[l]},d.getEdge=function(n,l){r.isInstance(n)&&(n=n.id),r.isInstance(l)&&(l=l.id);var t=this._edgesMap;return this._directed?t[n+"-"+l]:t[n+"-"+l]||t[l+"-"+n]},d.eachNode=function(n,l){for(var t=this.nodes,u=t.length,o=0;o<u;o++)t[o].dataIndex>=0&&n.call(l,t[o],o)},d.eachEdge=function(n,l){for(var t=this.edges,u=t.length,o=0;o<u;o++)t[o].dataIndex>=0&&t[o].node1.dataIndex>=0&&t[o].node2.dataIndex>=0&&n.call(l,t[o],o)},d.breadthFirstTraverse=function(n,l,t,u){if(r.isInstance(l)||(l=this._nodesMap[b(l)]),!l)return;for(var o=t==="out"?"outEdges":t==="in"?"inEdges":"edges",c=0;c<this.nodes.length;c++)this.nodes[c].__visited=!1;if(n.call(u,l,null))return;for(var h=[l];h.length;)for(var f=h.shift(),w=f[o],c=0;c<w.length;c++){var x=w[c],I=x.node1===f?x.node2:x.node1;if(!I.__visited){if(n.call(u,I,f))return;h.push(I),I.__visited=!0}}},d.update=function(){for(var n=this.data,l=this.edgeData,t=this.nodes,u=this.edges,o=0,c=t.length;o<c;o++)t[o].dataIndex=-1;for(var o=0,c=n.count();o<c;o++)t[n.getRawIndex(o)].dataIndex=o;l.filterSelf(function(h){var f=u[l.getRawIndex(h)];return f.node1.dataIndex>=0&&f.node2.dataIndex>=0});for(var o=0,c=u.length;o<c;o++)u[o].dataIndex=-1;for(var o=0,c=l.count();o<c;o++)u[l.getRawIndex(o)].dataIndex=o},d.clone=function(){for(var n=new m(this._directed),l=this.nodes,t=this.edges,u=0;u<l.length;u++)n.addNode(l[u].id,l[u].dataIndex);for(var u=0;u<t.length;u++){var o=t[u];n.addEdge(o.node1.id,o.node2.id,o.dataIndex)}return n};function r(n,l){this.id=n==null?"":n,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=l==null?-1:l}r.prototype={constructor:r,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(n){if(this.dataIndex<0)return;var l=this.hostGraph,t=l.data.getItemModel(this.dataIndex);return t.getModel(n)}};function a(n,l,t){this.node1=n,this.node2=l,this.dataIndex=t==null?-1:t}a.prototype.getModel=function(n){if(this.dataIndex<0)return;var l=this.hostGraph,t=l.edgeData.getItemModel(this.dataIndex);return t.getModel(n)};var s=function(n,l){return{getValue:function(t){var u=this[n][l];return u.get(u.getDimension(t||"value"),this.dataIndex)},setVisual:function(t,u){this.dataIndex>=0&&this[n][l].setItemVisual(this.dataIndex,t,u)},getVisual:function(t,u){return this[n][l].getItemVisual(this.dataIndex,t,u)},setLayout:function(t,u){this.dataIndex>=0&&this[n][l].setItemLayout(this.dataIndex,t,u)},getLayout:function(){return this[n][l].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[n][l].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[n][l].getRawIndex(this.dataIndex)}}};g.mixin(r,s("hostGraph","data")),g.mixin(a,s("hostGraph","edgeData")),m.Node=r,m.Edge=a,A(r),A(a);var i=m;te.exports=i},c5Ni:function(te,U,e){},c8qY:function(te,U,e){var y=e("IwbS"),L=e("fls0");function g(i){this._ctor=i||L,this.group=new y.Group}var v=g.prototype;v.isPersistent=function(){return!0},v.updateData=function(i){var n=this,l=n.group,t=n._lineData;n._lineData=i,t||l.removeAll();var u=d(i);i.diff(t).add(function(o){A(n,i,o,u)}).update(function(o,c){b(n,t,i,c,o,u)}).remove(function(o){l.remove(t.getItemGraphicEl(o))}).execute()};function A(i,n,l,t){var u=n.getItemLayout(l);if(!a(u))return;var o=new i._ctor(n,l,t);n.setItemGraphicEl(l,o),i.group.add(o)}function b(i,n,l,t,u,o){var c=n.getItemGraphicEl(t);if(!a(l.getItemLayout(u))){i.group.remove(c);return}c?c.updateData(l,u,o):c=new i._ctor(l,u,o),l.setItemGraphicEl(u,c),i.group.add(c)}v.updateLayout=function(){var i=this._lineData;if(!i)return;i.eachItemGraphicEl(function(n,l){n.updateLayout(i,l)},this)},v.incrementalPrepareUpdate=function(i){this._seriesScope=d(i),this._lineData=null,this.group.removeAll()};function m(i){return i.animators&&i.animators.length>0}v.incrementalUpdate=function(i,n){function l(c){!c.isGroup&&!m(c)&&(c.incremental=c.useHoverLayer=!0)}for(var t=i.start;t<i.end;t++){var u=n.getItemLayout(t);if(a(u)){var o=new this._ctor(n,t,this._seriesScope);o.traverse(l),this.group.add(o),n.setItemGraphicEl(t,o)}}};function d(i){var n=i.hostModel;return{lineStyle:n.getModel("lineStyle").getLineStyle(),hoverLineStyle:n.getModel("emphasis.lineStyle").getLineStyle(),labelModel:n.getModel("label"),hoverLabelModel:n.getModel("emphasis.label")}}v.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},v._clearIncremental=function(){var i=this._incremental;i&&i.clearDisplaybles()};function r(i){return isNaN(i[0])||isNaN(i[1])}function a(i){return!r(i[0])&&!r(i[1])}var s=g;te.exports=s},cCMj:function(te,U,e){var y=e("bYtY"),L={updateSelectedMap:function(g){this._targetList=y.isArray(g)?g.slice():[],this._selectTargetMap=y.reduce(g||[],function(v,A){return v.set(A.name,A),v},y.createHashMap())},select:function(g,v){var A=v!=null?this._targetList[v]:this._selectTargetMap.get(g),b=this.get("selectedMode");b==="single"&&this._selectTargetMap.each(function(m){m.selected=!1}),A&&(A.selected=!0)},unSelect:function(g,v){var A=v!=null?this._targetList[v]:this._selectTargetMap.get(g);A&&(A.selected=!1)},toggleSelected:function(g,v){var A=v!=null?this._targetList[v]:this._selectTargetMap.get(g);if(A!=null)return this[A.selected?"unSelect":"select"](g,v),A.selected},isSelected:function(g,v){var A=v!=null?this._targetList[v]:this._selectTargetMap.get(g);return A&&A.selected}};te.exports=L},cVA7:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=e("MT78"),L=A(y),g=e("t3Fx"),v=A(g);function A(a){return a&&a.__esModule?a:{default:a}}function b(a,s){if(!(a instanceof s))throw new TypeError("Cannot call a class as a function")}function m(a,s){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s&&(typeof s=="object"||typeof s=="function")?s:a}function d(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);a.prototype=Object.create(s&&s.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(a,s):a.__proto__=s)}var r=function(a){d(s,a);function s(i){b(this,s);var n=m(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,i));return n.echartsLib=L.default,n}return s}(v.default);U.default=r},cWXX:function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("oIFs"),v=e.n(g)},ca2m:function(te,U,e){var y=e("bYtY"),L={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#333",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},g={};g.categoryAxis=y.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},L),g.valueAxis=y.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},L),g.timeAxis=y.defaults({scale:!0,min:"dataMin",max:"dataMax"},g.valueAxis),g.logAxis=y.defaults({scale:!0,logBase:10},g.valueAxis);var v=g;te.exports=v},cbJ4:function(te,U,e){var y=e("bYtY"),L=y.createHashMap;function g(v){v.eachSeriesByType("themeRiver",function(A){var b=A.getData(),m=A.getRawData(),d=A.get("color"),r=L();b.each(function(a){r.set(b.getRawIndex(a),a)}),m.each(function(a){var s=m.getName(a),i=d[(A.nameMap.get(s)-1)%d.length];m.setItemVisual(a,"color",i);var n=r.get(a);n!=null&&b.setItemVisual(n,"color",i)})})}te.exports=g},chpo:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=1,L=function(){return"".concat(y++)};U.default=L},cpOr:function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("T4UG"),v=e("YXkt"),A=e("bYtY"),b=A.concatArray,m=A.mergeAll,d=A.map,r=e("7aKB"),a=r.encodeHTML,s=e("IDmD"),i=typeof Uint32Array=="undefined"?Array:Uint32Array,n=typeof Float64Array=="undefined"?Array:Float64Array;function l(o){var c=o.data;c&&c[0]&&c[0][0]&&c[0][0].coord&&(o.data=d(c,function(h){var f=[h[0].coord,h[1].coord],w={coords:f};return h[0].name&&(w.fromName=h[0].name),h[1].name&&(w.toName=h[1].name),m([w,h[0],h[1]])}))}var t=g.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(o){o.data=o.data||[],l(o);var c=this._processFlatCoordsArray(o.data);this._flatCoords=c.flatCoords,this._flatCoordsOffset=c.flatCoordsOffset,c.flatCoords&&(o.data=new Float32Array(c.count)),t.superApply(this,"init",arguments)},mergeOption:function(o){if(o.data=o.data||[],l(o),o.data){var c=this._processFlatCoordsArray(o.data);this._flatCoords=c.flatCoords,this._flatCoordsOffset=c.flatCoordsOffset,c.flatCoords&&(o.data=new Float32Array(c.count))}t.superApply(this,"mergeOption",arguments)},appendData:function(o){var c=this._processFlatCoordsArray(o.data);c.flatCoords&&(this._flatCoords?(this._flatCoords=b(this._flatCoords,c.flatCoords),this._flatCoordsOffset=b(this._flatCoordsOffset,c.flatCoordsOffset)):(this._flatCoords=c.flatCoords,this._flatCoordsOffset=c.flatCoordsOffset),o.data=new Float32Array(c.count)),this.getRawData().appendData(o.data)},_getCoordsFromItemModel:function(o){var c=this.getData().getItemModel(o),h=c.option instanceof Array?c.option:c.getShallow("coords");return h},getLineCoordsCount:function(o){return this._flatCoordsOffset?this._flatCoordsOffset[o*2+1]:this._getCoordsFromItemModel(o).length},getLineCoords:function(o,c){if(this._flatCoordsOffset){for(var h=this._flatCoordsOffset[o*2],f=this._flatCoordsOffset[o*2+1],w=0;w<f;w++)c[w]=c[w]||[],c[w][0]=this._flatCoords[h+w*2],c[w][1]=this._flatCoords[h+w*2+1];return f}else{for(var x=this._getCoordsFromItemModel(o),w=0;w<x.length;w++)c[w]=c[w]||[],c[w][0]=x[w][0],c[w][1]=x[w][1];return x.length}},_processFlatCoordsArray:function(o){var c=0;if(this._flatCoords&&(c=this._flatCoords.length),typeof o[0]=="number"){for(var h=o.length,f=new i(h),w=new n(h),x=0,I=0,C=0,N=0;N<h;){C++;var S=o[N++];f[I++]=x+c,f[I++]=S;for(var E=0;E<S;E++){var T=o[N++],D=o[N++];w[x++]=T,w[x++]=D,N>h}}return{flatCoordsOffset:new Uint32Array(f.buffer,0,I),flatCoords:w,count:C}}return{flatCoordsOffset:null,flatCoords:null,count:o.length}},getInitialData:function(o,c){var h=new v(["value"],this);return h.hasItemOption=!1,h.initData(o.data,[],function(f,w,x,I){if(f instanceof Array)return NaN;h.hasItemOption=!0;var C=f.value;if(C!=null)return C instanceof Array?C[I]:C}),h},formatTooltip:function(o){var c=this.getData(),h=c.getItemModel(o),f=h.get("name");if(f)return f;var w=h.get("fromName"),x=h.get("toName"),I=[];return w!=null&&I.push(w),x!=null&&I.push(x),a(I.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var o=this.option.progressive;return o==null?this.option.large?1e4:this.get("progressive"):o},getProgressiveThreshold:function(){var o=this.option.progressiveThreshold;return o==null?this.option.large?2e4:this.get("progressiveThreshold"):o},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),u=t;te.exports=u},crZl:function(te,U,e){var y=e("ProS"),L=e("bYtY"),g=e("IwbS"),v=e("7aKB"),A=e("+TT/"),b=e("XxSj"),m=y.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(d,r){this.ecModel=d,this.api=r,this.visualMapModel},render:function(d,r,a,s){if(this.visualMapModel=d,d.get("show")===!1){this.group.removeAll();return}this.doRender.apply(this,arguments)},renderBackground:function(d){var r=this.visualMapModel,a=v.normalizeCssArray(r.get("padding")||0),s=d.getBoundingRect();d.add(new g.Rect({z2:-1,silent:!0,shape:{x:s.x-a[3],y:s.y-a[0],width:s.width+a[3]+a[1],height:s.height+a[0]+a[2]},style:{fill:r.get("backgroundColor"),stroke:r.get("borderColor"),lineWidth:r.get("borderWidth")}}))},getControllerVisual:function(d,r,a){a=a||{};var s=a.forceState,i=this.visualMapModel,n={};if(r==="symbol"&&(n.symbol=i.get("itemSymbol")),r==="color"){var l=i.get("contentColor");n.color=l}function t(h){return n[h]}function u(h,f){n[h]=f}var o=i.controllerVisuals[s||i.getValueState(d)],c=b.prepareVisualTypes(o);return L.each(c,function(h){var f=o[h];a.convertOpacityToAlpha&&h==="opacity"&&(h="colorAlpha",f=o.__alphaForOpacity),b.dependsOn(h,r)&&(f&&f.applyVisual(d,t,u))}),n[r]},positionGroup:function(d){var r=this.visualMapModel,a=this.api;A.positionElement(d,r.getBoxLayoutParams(),{width:a.getWidth(),height:a.getHeight()})},doRender:L.noop});te.exports=m},crp1:function(te,U,e){"use strict";e.d(U,"b",function(){return Ye}),e.d(U,"a",function(){return An});var y={},L=function($e,Qe,kt,Ht,ot){var Ct=y[Qe]||(y[Qe]=URL.createObjectURL(new Blob([$e],{type:"text/javascript"}))),nt=new Worker(Ct);return nt.onerror=function(Ot){return ot(Ot.error,null)},nt.onmessage=function(Ot){return ot(null,Ot.data)},nt.postMessage(kt,Ht),nt},g=Uint8Array,v=Uint16Array,A=Uint32Array,b=new g([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),m=new g([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),d=new g([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),r=function($e,Qe){for(var kt=new v(31),Ht=0;Ht<31;++Ht)kt[Ht]=Qe+=1<<$e[Ht-1];for(var ot=new A(kt[30]),Ht=1;Ht<30;++Ht)for(var Ct=kt[Ht];Ct<kt[Ht+1];++Ct)ot[Ct]=Ct-kt[Ht]<<5|Ht;return[kt,ot]},a=r(b,2),s=a[0],i=a[1];s[28]=258,i[258]=28;for(var n=r(m,0),l=n[0],t=n[1],u=new v(32768),o=0;o<32768;++o){var c=(o&43690)>>>1|(o&21845)<<1;c=(c&52428)>>>2|(c&13107)<<2,c=(c&61680)>>>4|(c&3855)<<4,u[o]=((c&65280)>>>8|(c&255)<<8)>>>1}for(var h=function($e,Qe,kt){for(var Ht=$e.length,ot=0,Ct=new v(Qe);ot<Ht;++ot)++Ct[$e[ot]-1];var nt=new v(Qe);for(ot=0;ot<Qe;++ot)nt[ot]=nt[ot-1]+Ct[ot-1]<<1;var Ot;if(kt){Ot=new v(1<<Qe);var sn=15-Qe;for(ot=0;ot<Ht;++ot)if($e[ot])for(var Zt=ot<<4|$e[ot],Gt=Qe-$e[ot],Qn=nt[$e[ot]-1]++<<Gt,Gn=Qn|(1<<Gt)-1;Qn<=Gn;++Qn)Ot[u[Qn]>>>sn]=Zt}else for(Ot=new v(Ht),ot=0;ot<Ht;++ot)Ot[ot]=u[nt[$e[ot]-1]++]>>>15-$e[ot];return Ot},f=new g(288),o=0;o<144;++o)f[o]=8;for(var o=144;o<256;++o)f[o]=9;for(var o=256;o<280;++o)f[o]=7;for(var o=280;o<288;++o)f[o]=8;for(var w=new g(32),o=0;o<32;++o)w[o]=5;var x=h(f,9,0),I=h(f,9,1),C=h(w,5,0),N=h(w,5,1),S=function($e){for(var Qe=$e[0],kt=1;kt<$e.length;++kt)$e[kt]>Qe&&(Qe=$e[kt]);return Qe},E=function($e,Qe,kt){var Ht=Qe/8>>0;return($e[Ht]|$e[Ht+1]<<8)>>>(Qe&7)&kt},T=function($e,Qe){var kt=Qe/8>>0;return($e[kt]|$e[kt+1]<<8|$e[kt+2]<<16)>>>(Qe&7)},D=function($e){return($e/8>>0)+($e&7&&1)},B=function($e,Qe,kt){(Qe==null||Qe<0)&&(Qe=0),(kt==null||kt>$e.length)&&(kt=$e.length);var Ht=new($e instanceof v?v:$e instanceof A?A:g)(kt-Qe);return Ht.set($e.subarray(Qe,kt)),Ht},R=function($e,Qe,kt){var Ht=$e.length,ot=!Qe||kt,Ct=!kt||kt.i;kt||(kt={}),Qe||(Qe=new g(Ht*3));var nt=function(bi){var Mr=Qe.length;if(bi>Mr){var Oi=new g(Math.max(Mr*2,bi));Oi.set(Qe),Qe=Oi}},Ot=kt.f||0,sn=kt.p||0,Zt=kt.b||0,Gt=kt.l,Qn=kt.d,Gn=kt.m,Or=kt.n,Nr=Ht*8;do{if(!Gt){kt.f=Ot=E($e,sn,1);var Kr=E($e,sn+1,3);if(sn+=3,Kr)if(Kr==1)Gt=I,Qn=N,Gn=9,Or=5;else if(Kr==2){var Be=E($e,sn,31)+257,le=E($e,sn+10,15)+4,ye=Be+E($e,sn+5,31)+1;sn+=14;for(var xe=new g(ye),De=new g(19),Le=0;Le<le;++Le)De[d[Le]]=E($e,sn+Le*3,7);sn+=le*3;var Fe=S(De),at=(1<<Fe)-1;if(!Ct&&sn+ye*(Fe+7)>Nr)break;for(var Ve=h(De,Fe,1),Le=0;Le<ye;){var It=Ve[E($e,sn,at)];sn+=It&15;var ei=It>>>4;if(ei<16)xe[Le++]=ei;else{var pn=0,rn=0;for(ei==16?(rn=3+E($e,sn,3),sn+=2,pn=xe[Le-1]):ei==17?(rn=3+E($e,sn,7),sn+=3):ei==18&&(rn=11+E($e,sn,127),sn+=7);rn--;)xe[Le++]=pn}}var Tn=xe.subarray(0,Be),Nt=xe.subarray(Be);Gn=S(Tn),Or=S(Nt),Gt=h(Tn,Gn,1),Qn=h(Nt,Or,1)}else throw"invalid block type";else{var ei=D(sn)+4,vi=$e[ei-4]|$e[ei-3]<<8,Pi=ei+vi;if(Pi>Ht){if(Ct)throw"unexpected EOF";break}ot&&nt(Zt+vi),Qe.set($e.subarray(ei,Pi),Zt),kt.b=Zt+=vi,kt.p=sn=Pi*8;continue}if(sn>Nr)throw"unexpected EOF"}ot&&nt(Zt+131072);for(var ur=(1<<Gn)-1,Xt=(1<<Or)-1,Kn=Gn+Or+18;Ct||sn+Kn<Nr;){var pn=Gt[T($e,sn)&ur],Fn=pn>>>4;if(sn+=pn&15,sn>Nr)throw"unexpected EOF";if(!pn)throw"invalid length/literal";if(Fn<256)Qe[Zt++]=Fn;else if(Fn==256){Gt=null;break}else{var un=Fn-254;if(Fn>264){var Le=Fn-257,Sr=b[Le];un=E($e,sn,(1<<Sr)-1)+s[Le],sn+=Sr}var Fr=Qn[T($e,sn)&Xt],ii=Fr>>>4;if(!Fr)throw"invalid distance";sn+=Fr&15;var Nt=l[ii];if(ii>3){var Sr=m[ii];Nt+=T($e,sn)&(1<<Sr)-1,sn+=Sr}if(sn>Nr)throw"unexpected EOF";ot&&nt(Zt+131072);for(var oi=Zt+un;Zt<oi;Zt+=4)Qe[Zt]=Qe[Zt-Nt],Qe[Zt+1]=Qe[Zt+1-Nt],Qe[Zt+2]=Qe[Zt+2-Nt],Qe[Zt+3]=Qe[Zt+3-Nt];Zt=oi}}kt.l=Gt,kt.p=sn,kt.b=Zt,Gt&&(Ot=1,kt.m=Gn,kt.d=Qn,kt.n=Or)}while(!Ot);return Zt==Qe.length?Qe:B(Qe,0,Zt)},F=function($e,Qe,kt){kt<<=Qe&7;var Ht=Qe/8>>0;$e[Ht]|=kt,$e[Ht+1]|=kt>>>8},M=function($e,Qe,kt){kt<<=Qe&7;var Ht=Qe/8>>0;$e[Ht]|=kt,$e[Ht+1]|=kt>>>8,$e[Ht+2]|=kt>>>16},K=function($e,Qe){for(var kt=[],Ht=0;Ht<$e.length;++Ht)$e[Ht]&&kt.push({s:Ht,f:$e[Ht]});var ot=kt.length,Ct=kt.slice();if(!ot)return[new g(0),0];if(ot==1){var nt=new g(kt[0].s+1);return nt[kt[0].s]=1,[nt,1]}kt.sort(function(ye,xe){return ye.f-xe.f}),kt.push({s:-1,f:25001});var Ot=kt[0],sn=kt[1],Zt=0,Gt=1,Qn=2;for(kt[0]={s:-1,f:Ot.f+sn.f,l:Ot,r:sn};Gt!=ot-1;)Ot=kt[kt[Zt].f<kt[Qn].f?Zt++:Qn++],sn=kt[Zt!=Gt&&kt[Zt].f<kt[Qn].f?Zt++:Qn++],kt[Gt++]={s:-1,f:Ot.f+sn.f,l:Ot,r:sn};for(var Gn=Ct[0].s,Ht=1;Ht<ot;++Ht)Ct[Ht].s>Gn&&(Gn=Ct[Ht].s);var Or=new v(Gn+1),Nr=j(kt[Gt-1],Or,0);if(Nr>Qe){var Ht=0,Kr=0,ei=Nr-Qe,vi=1<<ei;for(Ct.sort(function(xe,De){return Or[De.s]-Or[xe.s]||xe.f-De.f});Ht<ot;++Ht){var Pi=Ct[Ht].s;if(Or[Pi]>Qe)Kr+=vi-(1<<Nr-Or[Pi]),Or[Pi]=Qe;else break}for(Kr>>>=ei;Kr>0;){var Be=Ct[Ht].s;Or[Be]<Qe?Kr-=1<<Qe-Or[Be]++-1:++Ht}for(;Ht>=0&&Kr;--Ht){var le=Ct[Ht].s;Or[le]==Qe&&(--Or[le],++Kr)}Nr=Qe}return[new g(Or),Nr]},j=function Lt($e,Qe,kt){return $e.s==-1?Math.max(Lt($e.l,Qe,kt+1),Lt($e.r,Qe,kt+1)):Qe[$e.s]=kt},H=function($e){for(var Qe=$e.length;Qe&&!$e[--Qe];);for(var kt=new v(++Qe),Ht=0,ot=$e[0],Ct=1,nt=function(Zt){kt[Ht++]=Zt},Ot=1;Ot<=Qe;++Ot)if($e[Ot]==ot&&Ot!=Qe)++Ct;else{if(!ot&&Ct>2){for(;Ct>138;Ct-=138)nt(32754);Ct>2&&(nt(Ct>10?Ct-11<<5|28690:Ct-3<<5|12305),Ct=0)}else if(Ct>3){for(nt(ot),--Ct;Ct>6;Ct-=6)nt(8304);Ct>2&&(nt(Ct-3<<5|8208),Ct=0)}for(;Ct--;)nt(ot);Ct=1,ot=$e[Ot]}return[kt.subarray(0,Ht),Qe]},k=function($e,Qe){for(var kt=0,Ht=0;Ht<Qe.length;++Ht)kt+=$e[Ht]*Qe[Ht];return kt},P=function($e,Qe,kt){var Ht=kt.length,ot=D(Qe+2);$e[ot]=Ht&255,$e[ot+1]=Ht>>>8,$e[ot+2]=$e[ot]^255,$e[ot+3]=$e[ot+1]^255;for(var Ct=0;Ct<Ht;++Ct)$e[ot+Ct+4]=kt[Ct];return(ot+4+Ht)*8},z=function($e,Qe,kt,Ht,ot,Ct,nt,Ot,sn,Zt,Gt){F(Qe,Gt++,kt),++ot[256];for(var Qn=K(ot,15),Gn=Qn[0],Or=Qn[1],Nr=K(Ct,15),Kr=Nr[0],ei=Nr[1],vi=H(Gn),Pi=vi[0],Be=vi[1],le=H(Kr),ye=le[0],xe=le[1],De=new v(19),Le=0;Le<Pi.length;++Le)De[Pi[Le]&31]++;for(var Le=0;Le<ye.length;++Le)De[ye[Le]&31]++;for(var Fe=K(De,7),at=Fe[0],Ve=Fe[1],It=19;It>4&&!at[d[It-1]];--It);var pn=Zt+5<<3,rn=k(ot,f)+k(Ct,w)+nt,Tn=k(ot,Gn)+k(Ct,Kr)+nt+14+3*It+k(De,at)+(2*De[16]+3*De[17]+7*De[18]);if(pn<=rn&&pn<=Tn)return P(Qe,Gt,$e.subarray(sn,sn+Zt));var Nt,ur,Xt,Kn;if(F(Qe,Gt,1+(Tn<rn)),Gt+=2,Tn<rn){Nt=h(Gn,Or,0),ur=Gn,Xt=h(Kr,ei,0),Kn=Kr;var Fn=h(at,Ve,0);F(Qe,Gt,Be-257),F(Qe,Gt+5,xe-1),F(Qe,Gt+10,It-4),Gt+=14;for(var Le=0;Le<It;++Le)F(Qe,Gt+3*Le,at[d[Le]]);Gt+=3*It;for(var un=[Pi,ye],Sr=0;Sr<2;++Sr)for(var Fr=un[Sr],Le=0;Le<Fr.length;++Le){var ii=Fr[Le]&31;F(Qe,Gt,Fn[ii]),Gt+=at[ii],ii>15&&(F(Qe,Gt,Fr[Le]>>>5&127),Gt+=Fr[Le]>>>12)}}else Nt=x,ur=f,Xt=C,Kn=w;for(var Le=0;Le<Ot;++Le)if(Ht[Le]>255){var ii=Ht[Le]>>>18&31;M(Qe,Gt,Nt[ii+257]),Gt+=ur[ii+257],ii>7&&(F(Qe,Gt,Ht[Le]>>>23&31),Gt+=b[ii]);var oi=Ht[Le]&31;M(Qe,Gt,Xt[oi]),Gt+=Kn[oi],oi>3&&(M(Qe,Gt,Ht[Le]>>>5&8191),Gt+=m[oi])}else M(Qe,Gt,Nt[Ht[Le]]),Gt+=ur[Ht[Le]];return M(Qe,Gt,Nt[256]),Gt+ur[256]},Y=new A([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),_=new g(0),G=function($e,Qe,kt,Ht,ot,Ct){var nt=$e.length,Ot=new g(Ht+nt+5*(1+Math.floor(nt/7e3))+ot),sn=Ot.subarray(Ht,Ot.length-ot),Zt=0;if(!Qe||nt<8)for(var Gt=0;Gt<=nt;Gt+=65535){var Qn=Gt+65535;Qn<nt?Zt=P(sn,Zt,$e.subarray(Gt,Qn)):(sn[Gt]=Ct,Zt=P(sn,Zt,$e.subarray(Gt,nt)))}else{for(var Gn=Y[Qe-1],Or=Gn>>>13,Nr=Gn&8191,Kr=(1<<kt)-1,ei=new v(32768),vi=new v(Kr+1),Pi=Math.ceil(kt/3),Be=2*Pi,le=function(qr){return($e[qr]^$e[qr+1]<<Pi^$e[qr+2]<<Be)&Kr},ye=new A(25e3),xe=new v(288),De=new v(32),Le=0,Fe=0,Gt=0,at=0,Ve=0,It=0;Gt<nt;++Gt){var pn=le(Gt),rn=Gt&32767,Tn=vi[pn];if(ei[rn]=Tn,vi[pn]=rn,Ve<=Gt){var Nt=nt-Gt;if((Le>7e3||at>24576)&&Nt>423){Zt=z($e,sn,0,ye,xe,De,Fe,at,It,Gt-It,Zt),at=Le=Fe=0,It=Gt;for(var ur=0;ur<286;++ur)xe[ur]=0;for(var ur=0;ur<30;++ur)De[ur]=0}var Xt=2,Kn=0,Fn=Nr,un=rn-Tn&32767;if(Nt>2&&pn==le(Gt-un))for(var Sr=Math.min(Or,Nt)-1,Fr=Math.min(32767,Gt),ii=Math.min(258,Nt);un<=Fr&&--Fn&&rn!=Tn;){if($e[Gt+Xt]==$e[Gt+Xt-un]){for(var oi=0;oi<ii&&$e[Gt+oi]==$e[Gt+oi-un];++oi);if(oi>Xt){if(Xt=oi,Kn=un,oi>Sr)break;for(var ti=Math.min(un,oi-2),bi=0,ur=0;ur<ti;++ur){var Mr=Gt-un+ur+32768&32767,Oi=ei[Mr],Ar=Mr-Oi+32768&32767;Ar>bi&&(bi=Ar,Tn=Mr)}}}rn=Tn,Tn=ei[rn],un+=rn-Tn+32768&32767}if(Kn){ye[at++]=268435456|i[Xt]<<18|t[Kn];var Wn=i[Xt]&31,xr=t[Kn]&31;Fe+=b[Wn]+m[xr],++xe[257+Wn],++De[xr],Ve=Gt+Xt,++Le}else ye[at++]=$e[Gt],++xe[$e[Gt]]}}Zt=z($e,sn,Ct,ye,xe,De,Fe,at,It,Gt-It,Zt),Ct||(Zt=P(sn,Zt,_))}return B(Ot,0,Ht+D(Zt)+ot)},J=function(){for(var Lt=new A(256),$e=0;$e<256;++$e){for(var Qe=$e,kt=9;--kt;)Qe=(Qe&1&&3988292384)^Qe>>>1;Lt[$e]=Qe}return Lt}(),ue=function(){var $e=4294967295;return{p:function(kt){for(var Ht=$e,ot=0;ot<kt.length;++ot)Ht=J[Ht&255^kt[ot]]^Ht>>>8;$e=Ht},d:function(){return $e^4294967295}}},q=function(){var $e=1,Qe=0;return{p:function(Ht){for(var ot=$e,Ct=Qe,nt=Ht.length,Ot=0;Ot!=nt;){for(var sn=Math.min(Ot+5552,nt);Ot<sn;++Ot)ot+=Ht[Ot],Ct+=ot;ot%=65521,Ct%=65521}$e=ot,Qe=Ct},d:function(){return($e>>>8<<16|(Qe&255)<<8|Qe>>>8)+(($e&255)<<23)*2}}},re=function($e,Qe,kt,Ht,ot){return G($e,Qe.level==null?6:Qe.level,Qe.mem==null?Math.ceil(Math.max(8,Math.min(13,Math.log($e.length)))*1.5):12+Qe.mem,kt,Ht,!ot)},me=function($e,Qe){var kt={};for(var Ht in $e)kt[Ht]=$e[Ht];for(var Ht in Qe)kt[Ht]=Qe[Ht];return kt},be=function($e,Qe,kt){for(var Ht=$e(),ot=$e.toString(),Ct=ot.slice(ot.indexOf("[")+1,ot.lastIndexOf("]")).replace(/ /g,"").split(","),nt=0;nt<Ht.length;++nt){var Ot=Ht[nt],sn=Ct[nt];if(typeof Ot=="function"){Qe+=";"+sn+"=";var Zt=Ot.toString();if(Ot.prototype)if(Zt.indexOf("[native code]")!=-1){var Gt=Zt.indexOf(" ",8)+1;Qe+=Zt.slice(Gt,Zt.indexOf("(",Gt))}else{Qe+=Zt;for(var Qn in Ot.prototype)Qe+=";"+sn+".prototype."+Qn+"="+Ot.prototype[Qn].toString()}else Qe+=Zt}else kt[sn]=Ot}return[Qe,kt]},ke=[],ce=function($e){var Qe=[];for(var kt in $e)($e[kt]instanceof g||$e[kt]instanceof v||$e[kt]instanceof A)&&Qe.push(($e[kt]=new $e[kt].constructor($e[kt])).buffer);return Qe},Ee=function($e,Qe,kt,Ht){var ot;if(!ke[kt]){for(var Ct="",nt={},Ot=$e.length-1,sn=0;sn<Ot;++sn)ot=be($e[sn],Ct,nt),Ct=ot[0],nt=ot[1];ke[kt]=be($e[Ot],Ct,nt)}var Zt=me({},ke[kt][1]);return L(ke[kt][0]+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+Qe.toString()+"}",kt,Zt,ce(Zt),Ht)},pe=function(){return[g,v,A,b,m,d,s,l,I,N,u,h,S,E,T,D,B,R,Pt,ct,St]},Se=function(){return[g,v,A,b,m,d,i,t,x,f,C,w,u,Y,_,h,F,M,K,j,H,k,P,z,D,B,G,re,on,ct]},st=function(){return[wt,Te,it,ue,J]},qe=function(){return[jt,lt]},tt=function(){return[mt,it,q]},Dt=function(){return[tn]},ct=function($e){return postMessage($e,[$e.buffer])},St=function($e){return $e&&$e.size&&new g($e.size)},rt=function($e,Qe,kt,Ht,ot,Ct){var nt=Ee(kt,Ht,ot,function(Ot,sn){nt.terminate(),Ct(Ot,sn)});return Qe.consume||($e=new g($e)),nt.postMessage([$e,Qe],[$e.buffer]),function(){nt.terminate()}},ht=function($e){return $e.ondata=function(Qe,kt){return postMessage([Qe,kt],[Qe.buffer])},function(Qe){return $e.push(Qe.data[0],Qe.data[1])}},je=function($e,Qe,kt,Ht,ot){var Ct,nt=Ee($e,Ht,ot,function(Ot,sn){Ot?(nt.terminate(),Qe.ondata.call(Qe,Ot)):(sn[1]&&nt.terminate(),Qe.ondata.call(Qe,Ot,sn[0],sn[1]))});nt.postMessage(kt),Qe.push=function(Ot,sn){if(Ct)throw"stream finished";if(!Qe.ondata)throw"no stream handler";nt.postMessage([Ot,Ct=sn],[Ot.buffer])},Qe.terminate=function(){nt.terminate()}},Me=function($e,Qe){return $e[Qe]|$e[Qe+1]<<8},Ne=function($e,Qe){return($e[Qe]|$e[Qe+1]<<8|$e[Qe+2]<<16)+($e[Qe+3]<<23)*2},it=function($e,Qe,kt){for(;kt;++Qe)$e[Qe]=kt,kt>>>=8},wt=function($e,Qe){var kt=Qe.filename;if($e[0]=31,$e[1]=139,$e[2]=8,$e[8]=Qe.level<2?4:Qe.level==9?2:0,$e[9]=3,Qe.mtime!=0&&it($e,4,Math.floor(new Date(Qe.mtime||Date.now())/1e3)),kt){$e[3]=8;for(var Ht=0;Ht<=kt.length;++Ht)$e[Ht+10]=kt.charCodeAt(Ht)}},jt=function($e){if($e[0]!=31||$e[1]!=139||$e[2]!=8)throw"invalid gzip data";var Qe=$e[3],kt=10;Qe&4&&(kt+=$e[10]|($e[11]<<8)+2);for(var Ht=(Qe>>3&1)+(Qe>>4&1);Ht>0;Ht-=!$e[kt++]);return kt+(Qe&2)},lt=function($e){var Qe=$e.length;return($e[Qe-4]|$e[Qe-3]<<8|$e[Qe-2]<<16)+2*($e[Qe-1]<<23)},Te=function($e){return 10+($e.filename&&$e.filename.length+1||0)},mt=function($e,Qe){var kt=Qe.level,Ht=kt==0?0:kt<6?1:kt==9?3:2;$e[0]=120,$e[1]=Ht<<6|(Ht?32-2*Ht:1)},tn=function($e){if(($e[0]&15)!=8||$e[0]>>>4>7||($e[0]<<8|$e[1])%31)throw"invalid zlib data";if($e[1]&32)throw"invalid zlib data: preset dictionaries not supported"};function Vt(Lt,$e){return!$e&&typeof Lt=="function"&&($e=Lt,Lt={}),this.ondata=$e,Lt}var Yt=function(){function Lt($e,Qe){!Qe&&typeof $e=="function"&&(Qe=$e,$e={}),this.ondata=Qe,this.o=$e||{}}return Lt.prototype.p=function($e,Qe){this.ondata(re($e,this.o,0,0,!Qe),Qe)},Lt.prototype.push=function($e,Qe){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";this.d=Qe,this.p($e,Qe||!1)},Lt}(),Qt=function(){function Lt($e,Qe){je([Se,function(){return[ht,Yt]}],this,Vt.call(this,$e,Qe),function(kt){var Ht=new Yt(kt.data);onmessage=ht(Ht)},6)}return Lt}();function an(Lt,$e,Qe){if(Qe||(Qe=$e,$e={}),typeof Qe!="function")throw"no callback";return rt(Lt,$e,[Se],function(kt){return ct(on(kt.data[0],kt.data[1]))},0,Qe)}function on(Lt,$e){return $e===void 0&&($e={}),re(Lt,$e,0,0)}var vt=function(){function Lt($e){this.s={},this.p=new g(0),this.ondata=$e}return Lt.prototype.e=function($e){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";var Qe=this.p.length,kt=new g(Qe+$e.length);kt.set(this.p),kt.set($e,Qe),this.p=kt},Lt.prototype.c=function($e){this.d=this.s.i=$e||!1;var Qe=this.s.b,kt=R(this.p,this.o,this.s);this.ondata(B(kt,Qe,this.s.b),this.d),this.o=B(kt,this.s.b-32768),this.s.b=this.o.length,this.p=B(this.p,this.s.p/8>>0),this.s.p&=7},Lt.prototype.push=function($e,Qe){this.e($e),this.c(Qe)},Lt}(),de=function(){function Lt($e){this.ondata=$e,je([pe,function(){return[ht,vt]}],this,0,function(){var Qe=new vt;onmessage=ht(Qe)},7)}return Lt}();function he(Lt,$e,Qe){if(Qe||(Qe=$e,$e={}),typeof Qe!="function")throw"no callback";return rt(Lt,$e,[pe],function(kt){return ct(Pt(kt.data[0],St(kt.data[1])))},1,Qe)}function Pt(Lt,$e){return R(Lt,$e)}var We=function(){function Lt($e,Qe){this.c=ue(),this.l=0,this.v=1,Yt.call(this,$e,Qe)}return Lt.prototype.push=function($e,Qe){Yt.prototype.push.call(this,$e,Qe)},Lt.prototype.p=function($e,Qe){this.c.p($e),this.l+=$e.length;var kt=re($e,this.o,this.v&&Te(this.o),Qe&&8,!Qe);this.v&&(wt(kt,this.o),this.v=0),Qe&&(it(kt,kt.length-8,this.c.d()),it(kt,kt.length-4,this.l)),this.ondata(kt,Qe)},Lt}(),Je=function(){function Lt($e,Qe){je([Se,st,function(){return[ht,Yt,We]}],this,Vt.call(this,$e,Qe),function(kt){var Ht=new We(kt.data);onmessage=ht(Ht)},8)}return Lt}();function Ln(Lt,$e,Qe){if(Qe||(Qe=$e,$e={}),typeof Qe!="function")throw"no callback";return rt(Lt,$e,[Se,st,function(){return[jn]}],function(kt){return ct(jn(kt.data[0],kt.data[1]))},2,Qe)}function jn(Lt,$e){$e===void 0&&($e={});var Qe=ue(),kt=Lt.length;Qe.p(Lt);var Ht=re(Lt,$e,Te($e),8),ot=Ht.length;return wt(Ht,$e),it(Ht,ot-8,Qe.d()),it(Ht,ot-4,kt),Ht}var Sn=function(){function Lt($e){this.v=1,vt.call(this,$e)}return Lt.prototype.push=function($e,Qe){if(vt.prototype.e.call(this,$e),this.v){var kt=jt(this.p);if(kt>=this.p.length&&!Qe)return;this.p=this.p.subarray(kt),this.v=0}if(Qe){if(this.p.length<8)throw"invalid gzip stream";this.p=this.p.subarray(0,-8)}vt.prototype.c.call(this,Qe)},Lt}(),Xn=function(){function Lt($e){this.ondata=$e,je([pe,qe,function(){return[ht,vt,Sn]}],this,0,function(){var Qe=new Sn;onmessage=ht(Qe)},9)}return Lt}();function rr(Lt,$e,Qe){if(Qe||(Qe=$e,$e={}),typeof Qe!="function")throw"no callback";return rt(Lt,$e,[pe,qe,function(){return[hr]}],function(kt){return ct(hr(kt.data[0]))},3,Qe)}function hr(Lt,$e){return R(Lt.subarray(jt(Lt),-8),$e||new g(lt(Lt)))}var gn=function(){function Lt($e,Qe){this.c=q(),this.v=1,Yt.call(this,$e,Qe)}return Lt.prototype.push=function($e,Qe){Yt.prototype.push.call(this,$e,Qe)},Lt.prototype.p=function($e,Qe){this.c.p($e);var kt=re($e,this.o,this.v&&2,Qe&&4,!Qe);this.v&&(mt(kt,this.o),this.v=0),Qe&&it(kt,kt.length-4,this.c.d()),this.ondata(kt,Qe)},Lt}(),vn=function(){function Lt($e,Qe){je([Se,tt,function(){return[ht,Yt,gn]}],this,Vt.call(this,$e,Qe),function(kt){var Ht=new gn(kt.data);onmessage=ht(Ht)},10)}return Lt}();function Ft(Lt,$e,Qe){if(Qe||(Qe=$e,$e={}),typeof Qe!="function")throw"no callback";return rt(Lt,$e,[Se,tt,function(){return[Ye]}],function(kt){return ct(Ye(kt.data[0],kt.data[1]))},4,Qe)}function Ye(Lt,$e){$e===void 0&&($e={});var Qe=q();Qe.p(Lt);var kt=re(Lt,$e,2,4);return mt(kt,$e),it(kt,kt.length-4,Qe.d()),kt}var Pe=function(){function Lt($e){this.v=1,vt.call(this,$e)}return Lt.prototype.push=function($e,Qe){if(vt.prototype.e.call(this,$e),this.v){if(this.p.length<2&&!Qe)return;this.p=this.p.subarray(2),this.v=0}if(Qe){if(this.p.length<4)throw"invalid zlib stream";this.p=this.p.subarray(0,-4)}vt.prototype.c.call(this,Qe)},Lt}(),Jt=function(){function Lt($e){this.ondata=$e,je([pe,Dt,function(){return[ht,vt,Pe]}],this,0,function(){var Qe=new Pe;onmessage=ht(Qe)},11)}return Lt}();function bn(Lt,$e,Qe){if(Qe||(Qe=$e,$e={}),typeof Qe!="function")throw"no callback";return rt(Lt,$e,[pe,Dt,function(){return[An]}],function(kt){return ct(An(kt.data[0],St(kt.data[1])))},5,Qe)}function An(Lt,$e){return R((tn(Lt),Lt.subarray(2,-4)),$e)}var dn=function(){function Lt($e){this.G=Sn,this.I=vt,this.Z=Pe,this.ondata=$e}return Lt.prototype.push=function($e,Qe){if(!this.ondata)throw"no stream handler";if(this.s)this.s.push($e,Qe);else{if(this.p&&this.p.length){var kt=new g(this.p.length+$e.length);kt.set(this.p),kt.set($e,this.p.length)}else this.p=$e;if(this.p.length>2){var Ht=this,ot=function(){Ht.ondata.apply(Ht,arguments)};this.s=this.p[0]==31&&this.p[1]==139&&this.p[2]==8?new this.G(ot):(this.p[0]&15)!=8||this.p[0]>>4>7||(this.p[0]<<8|this.p[1])%31?new this.I(ot):new this.Z(ot),this.s.push(this.p,Qe),this.p=null}}},Lt}(),vr=function(){function Lt($e){this.G=Xn,this.I=de,this.Z=Jt,this.ondata=$e}return Lt.prototype.push=function($e,Qe){dn.prototype.push.call(this,$e,Qe)},Lt}();function qn(Lt,$e,Qe){if(Qe||(Qe=$e,$e={}),typeof Qe!="function")throw"no callback";return Lt[0]==31&&Lt[1]==139&&Lt[2]==8?rr(Lt,$e,Qe):(Lt[0]&15)!=8||Lt[0]>>4>7||(Lt[0]<<8|Lt[1])%31?he(Lt,$e,Qe):bn(Lt,$e,Qe)}function Ur(Lt,$e){return Lt[0]==31&&Lt[1]==139&&Lt[2]==8?hr(Lt,$e):(Lt[0]&15)!=8||Lt[0]>>4>7||(Lt[0]<<8|Lt[1])%31?Pt(Lt,$e):An(Lt,$e)}var Ue=function Lt($e,Qe,kt,Ht){for(var ot in $e){var Ct=$e[ot],nt=Qe+ot;Ct instanceof g?kt[nt]=[Ct,Ht]:Array.isArray(Ct)?kt[nt]=[Ct[0],me(Ht,Ct[1])]:Lt(Ct,nt+"/",kt,Ht)}};function He(Lt,$e){var Qe=Lt.length;if(!$e&&typeof TextEncoder!="undefined")return new TextEncoder().encode(Lt);for(var kt=new g(Lt.length+(Lt.length>>>1)),Ht=0,ot=function(Zt){kt[Ht++]=Zt},Ct=0;Ct<Qe;++Ct){if(Ht+5>kt.length){var nt=new g(Ht+8+(Qe-Ct<<1));nt.set(kt),kt=nt}var Ot=Lt.charCodeAt(Ct);Ot<128||$e?ot(Ot):Ot<2048?(ot(192|Ot>>>6),ot(128|Ot&63)):Ot>55295&&Ot<57344?(Ot=65536+(Ot&1023<<10)|Lt.charCodeAt(++Ct)&1023,ot(240|Ot>>>18),ot(128|Ot>>>12&63),ot(128|Ot>>>6&63),ot(128|Ot&63)):(ot(224|Ot>>>12),ot(128|Ot>>>6&63),ot(128|Ot&63))}return B(kt,0,Ht)}function se(Lt,$e){var Qe="";if(!$e&&typeof TextDecoder!="undefined")return new TextDecoder().decode(Lt);for(var kt=0;kt<Lt.length;){var Ht=Lt[kt++];Ht<128||$e?Qe+=String.fromCharCode(Ht):Ht<224?Qe+=String.fromCharCode((Ht&31)<<6|Lt[kt++]&63):Ht<240?Qe+=String.fromCharCode((Ht&15)<<12|(Lt[kt++]&63)<<6|Lt[kt++]&63):(Ht=((Ht&15)<<18|(Lt[kt++]&63)<<12|(Lt[kt++]&63)<<6|Lt[kt++]&63)-65536,Qe+=String.fromCharCode(55296|Ht>>10,56320|Ht&1023))}return Qe}var Ae=function($e,Qe){return Qe+30+Me($e,Qe+26)+Me($e,Qe+28)},Oe=function($e,Qe,kt){var Ht=Me($e,Qe+28),ot=se($e.subarray(Qe+46,Qe+46+Ht),!(Me($e,Qe+8)&2048)),Ct=Qe+46+Ht,nt=kt?ze($e,Ct):[Ne($e,Qe+20),Ne($e,Qe+24),Ne($e,Qe+42)],Ot=nt[0],sn=nt[1],Zt=nt[2];return[Me($e,Qe+10),Ot,sn,ot,Ct+Me($e,Qe+30)+Me($e,Qe+32),Zt]},ze=function($e,Qe){for(;Me($e,Qe)!=1;Qe+=4+Me($e,Qe+2));return[Ne($e,Qe+12),Ne($e,Qe+4),Ne($e,Qe+20)]},Rt=function($e,Qe,kt,Ht,ot,Ct,nt,Ot,sn,Zt){var Gt=Ct.length,Qn=Ht.length;it($e,Qe,sn!=null?33639248:67324752),Qe+=4,sn!=null&&($e[Qe]=20,Qe+=2),$e[Qe]=20,Qe+=2,$e[Qe++]=Zt==8&&(Ot.level==1?6:Ot.level<6?4:Ot.level==9?2:0),$e[Qe++]=nt&&8,$e[Qe]=Zt,Qe+=2;var Gn=new Date(Ot.mtime||Date.now()),Or=Gn.getFullYear()-1980;if(Or<0||Or>119)throw"date not in range 1980-2099";it($e,Qe,(Or<<24)*2|Gn.getMonth()+1<<21|Gn.getDate()<<16|Gn.getHours()<<11|Gn.getMinutes()<<5|Gn.getSeconds()>>>1),Qe+=4,it($e,Qe,kt),it($e,Qe+4,Qn),it($e,Qe+8,ot),it($e,Qe+12,Gt),Qe+=16,sn!=null&&(it($e,Qe+=10,sn),Qe+=4),$e.set(Ct,Qe),Qe+=Gt,sn==null&&$e.set(Ht,Qe)},Et=function($e,Qe,kt,Ht,ot){it($e,Qe,101010256),it($e,Qe+8,kt),it($e,Qe+10,kt),it($e,Qe+12,Ht),it($e,Qe+16,ot)};function _t(Lt,$e,Qe){if(Qe||(Qe=$e,$e={}),typeof Qe!="function")throw"no callback";var kt={};Ue(Lt,"",kt,$e);var Ht=Object.keys(kt),ot=Ht.length,Ct=0,nt=0,Ot=ot,sn=new Array(ot),Zt=[],Gt=function(){for(var Kr=0;Kr<Zt.length;++Kr)Zt[Kr]()},Qn=function(){var Kr=new g(nt+22),ei=Ct,vi=nt-Ct;nt=0;for(var Pi=0;Pi<Ot;++Pi){var Be=sn[Pi];try{Rt(Kr,nt,Be.c,Be.d,Be.m,Be.n,Be.u,Be.p,null,Be.t),Rt(Kr,Ct,Be.c,Be.d,Be.m,Be.n,Be.u,Be.p,nt,Be.t),Ct+=46+Be.n.length,nt+=30+Be.n.length+Be.d.length}catch(le){return Qe(le,null)}}Et(Kr,Ct,sn.length,vi,ei),Qe(null,Kr)};ot||Qn();for(var Gn=function(Kr){var ei=Ht[Kr],vi=kt[ei],Pi=vi[0],Be=vi[1],le=ue(),ye=Pi.length;le.p(Pi);var xe=He(ei),De=xe.length,Le=Be.level==0?0:8,Fe=function(Ve,It){if(Ve)Gt(),Qe(Ve,null);else{var pn=It.length;sn[Kr]={t:Le,d:It,m:ye,c:le.d(),u:ei.length!=pn,n:xe,p:Be},Ct+=30+De+pn,nt+=76+2*De+pn,--ot||Qn()}};if(xe.length>65535&&Fe("filename too long",null),!Le)Fe(null,Pi);else if(ye<16e4)try{Fe(null,on(Pi,Be))}catch(at){Fe(at,null)}else Zt.push(an(Pi,Be,Fe))},Or=0;Or<Ot;++Or)Gn(Or);return Gt}function Nn(Lt,$e){$e===void 0&&($e={});var Qe={},kt=[];Ue(Lt,"",Qe,$e);var Ht=0,ot=0;for(var Ct in Qe){var nt=Qe[Ct],Ot=nt[0],sn=nt[1],Zt=sn.level==0?0:8,Gt=He(Ct),Qn=Gt.length;if(Gt.length>65535)throw"filename too long";var Gn=Zt?on(Ot,sn):Ot,Or=Gn.length,Nr=ue();Nr.p(Ot),kt.push({t:Zt,d:Gn,m:Ot.length,c:Nr.d(),u:Ct.length!=Qn,n:Gt,o:Ht,p:sn}),Ht+=30+Qn+Or,ot+=76+2*Qn+Or}for(var Kr=new g(ot+22),ei=Ht,vi=ot-Ht,Pi=0;Pi<kt.length;++Pi){var Be=kt[Pi];Rt(Kr,Be.o,Be.c,Be.d,Be.m,Be.n,Be.u,Be.p,null,Be.t),Rt(Kr,Ht,Be.c,Be.d,Be.m,Be.n,Be.u,Be.p,Be.o,Be.t),Ht+=46+Be.n.length}return Et(Kr,Ht,kt.length,vi,ei),Kr}function Mn(Lt,$e){if(typeof $e!="function")throw"no callback";for(var Qe=[],kt=function(){for(var Gn=0;Gn<Qe.length;++Gn)Qe[Gn]()},Ht={},ot=Lt.length-22;Ne(Lt,ot)!=101010256;--ot)if(!ot||Lt.length-ot>65558){$e("invalid zip file",null);return}var Ct=Me(Lt,ot+8);Ct||$e(null,{});var nt=Ct,Ot=Ne(Lt,ot+16),sn=Ot==4294967295;if(sn){if(ot=Ne(Lt,ot-12),Ne(Lt,ot)!=101075792)throw"invalid zip file";nt=Ct=Ne(Lt,ot+32),Ot=Ne(Lt,ot+48)}for(var Zt=function(Gn){var Or=Oe(Lt,Ot,sn),Nr=Or[0],Kr=Or[1],ei=Or[2],vi=Or[3],Pi=Or[4],Be=Or[5],le=Ae(Lt,Be);Ot=Pi;var ye=function(Le,Fe){Le?(kt(),$e(Le,null)):(Ht[vi]=Fe,--Ct||$e(null,Ht))};if(!Nr)ye(null,B(Lt,le,le+Kr));else if(Nr==8){var xe=Lt.subarray(le,le+Kr);if(Kr<32e4)try{ye(null,Pt(xe,new g(ei)))}catch(De){ye(De,null)}else Qe.push(he(xe,{size:ei},ye))}else ye("unknown compression type "+Nr,null)},Gt=0;Gt<nt;++Gt)Zt(Gt);return kt}function lr(Lt){for(var $e={},Qe=Lt.length-22;Ne(Lt,Qe)!=101010256;--Qe)if(!Qe||Lt.length-Qe>65558)throw"invalid zip file";var kt=Me(Lt,Qe+8);if(!kt)return{};var Ht=Ne(Lt,Qe+16),ot=Ht==4294967295;if(ot){if(Qe=Ne(Lt,Qe-12),Ne(Lt,Qe)!=101075792)throw"invalid zip file";kt=Ne(Lt,Qe+32),Ht=Ne(Lt,Qe+48)}for(var Ct=0;Ct<kt;++Ct){var nt=Oe(Lt,Ht,ot),Ot=nt[0],sn=nt[1],Zt=nt[2],Gt=nt[3],Qn=nt[4],Gn=nt[5],Or=Ae(Lt,Gn);if(Ht=Qn,!Ot)$e[Gt]=B(Lt,Or,Or+sn);else if(Ot==8)$e[Gt]=Pt(Lt.subarray(Or,Or+sn),new g(Zt));else throw"unknown compression type "+Ot}return $e}},czTT:function(te,U,e){},d4KN:function(te,U,e){var y=e("ProS"),L=e("bYtY");function g(v,A){L.each(A,function(b){b.update="updateView",y.registerAction(b,function(m,d){var r={};return d.eachComponent({mainType:"series",subType:v,query:m},function(a){a[b.method]&&a[b.method](m.name,m.dataIndex);var s=a.getData();s.each(function(i){var n=s.getName(i);r[n]=a.isSelected(n)||!1})}),{name:m.name,selected:r,seriesId:m.seriesId}})})}te.exports=g},dBmv:function(te,U,e){var y=e("ProS"),L=e("szbU");e("vF/C"),e("qwVE"),e("MHoB"),e("PNag"),e("1u/T"),y.registerPreprocessor(L)},"dF/Y":function(te,U,e){"use strict";var y=e("VTBJ"),L=e("q1tI"),g={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"},v=g,A=e("6VBw"),b=function(r,a){return L.createElement(A.a,Object(y.a)(Object(y.a)({},r),{},{ref:a,icon:v}))};b.displayName="DownloadOutlined";var m=U.a=L.forwardRef(b)},dMvE:function(te,U){var e={linear:function(g){return g},quadraticIn:function(g){return g*g},quadraticOut:function(g){return g*(2-g)},quadraticInOut:function(g){return(g*=2)<1?.5*g*g:-.5*(--g*(g-2)-1)},cubicIn:function(g){return g*g*g},cubicOut:function(g){return--g*g*g+1},cubicInOut:function(g){return(g*=2)<1?.5*g*g*g:.5*((g-=2)*g*g+2)},quarticIn:function(g){return g*g*g*g},quarticOut:function(g){return 1- --g*g*g*g},quarticInOut:function(g){return(g*=2)<1?.5*g*g*g*g:-.5*((g-=2)*g*g*g-2)},quinticIn:function(g){return g*g*g*g*g},quinticOut:function(g){return--g*g*g*g*g+1},quinticInOut:function(g){return(g*=2)<1?.5*g*g*g*g*g:.5*((g-=2)*g*g*g*g+2)},sinusoidalIn:function(g){return 1-Math.cos(g*Math.PI/2)},sinusoidalOut:function(g){return Math.sin(g*Math.PI/2)},sinusoidalInOut:function(g){return .5*(1-Math.cos(Math.PI*g))},exponentialIn:function(g){return g===0?0:Math.pow(1024,g-1)},exponentialOut:function(g){return g===1?1:1-Math.pow(2,-10*g)},exponentialInOut:function(g){return g===0?0:g===1?1:(g*=2)<1?.5*Math.pow(1024,g-1):.5*(-Math.pow(2,-10*(g-1))+2)},circularIn:function(g){return 1-Math.sqrt(1-g*g)},circularOut:function(g){return Math.sqrt(1- --g*g)},circularInOut:function(g){return(g*=2)<1?-.5*(Math.sqrt(1-g*g)-1):.5*(Math.sqrt(1-(g-=2)*g)+1)},elasticIn:function(g){var v,A=.1,b=.4;return g===0?0:g===1?1:(!A||A<1?(A=1,v=b/4):v=b*Math.asin(1/A)/(2*Math.PI),-(A*Math.pow(2,10*(g-=1))*Math.sin((g-v)*(2*Math.PI)/b)))},elasticOut:function(g){var v,A=.1,b=.4;return g===0?0:g===1?1:(!A||A<1?(A=1,v=b/4):v=b*Math.asin(1/A)/(2*Math.PI),A*Math.pow(2,-10*g)*Math.sin((g-v)*(2*Math.PI)/b)+1)},elasticInOut:function(g){var v,A=.1,b=.4;return g===0?0:g===1?1:(!A||A<1?(A=1,v=b/4):v=b*Math.asin(1/A)/(2*Math.PI),(g*=2)<1?-.5*(A*Math.pow(2,10*(g-=1))*Math.sin((g-v)*(2*Math.PI)/b)):A*Math.pow(2,-10*(g-=1))*Math.sin((g-v)*(2*Math.PI)/b)*.5+1)},backIn:function(g){var v=1.70158;return g*g*((v+1)*g-v)},backOut:function(g){var v=1.70158;return--g*g*((v+1)*g+v)+1},backInOut:function(g){var v=1.70158*1.525;return(g*=2)<1?.5*(g*g*((v+1)*g-v)):.5*((g-=2)*g*((v+1)*g+v)+2)},bounceIn:function(g){return 1-e.bounceOut(1-g)},bounceOut:function(g){return g<1/2.75?7.5625*g*g:g<2/2.75?7.5625*(g-=1.5/2.75)*g+.75:g<2.5/2.75?7.5625*(g-=2.25/2.75)*g+.9375:7.5625*(g-=2.625/2.75)*g+.984375},bounceInOut:function(g){return g<.5?e.bounceIn(g*2)*.5:e.bounceOut(g*2-1)*.5+.5}},y=e;te.exports=y},diRs:function(te,U,e){"use strict";var y=e("pVnL"),L=e.n(y),g=e("q1tI"),v=e.n(g),A=e("3S7+"),b=e("H84U"),m=e("bogI"),d=function(a,s){var i={};for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&s.indexOf(n)<0&&(i[n]=a[n]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,n=Object.getOwnPropertySymbols(a);l<n.length;l++)s.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(a,n[l])&&(i[n[l]]=a[n[l]]);return i},r=g.forwardRef(function(a,s){var i=a.prefixCls,n=a.title,l=a.content,t=d(a,["prefixCls","title","content"]),u=g.useContext(b.b),o=u.getPrefixCls,c=function(w){return g.createElement(g.Fragment,null,n&&g.createElement("div",{className:"".concat(w,"-title")},Object(m.a)(n)),g.createElement("div",{className:"".concat(w,"-inner-content")},Object(m.a)(l)))},h=o("popover",i);return g.createElement(A.a,L()({},t,{prefixCls:h,ref:s,overlay:c(h)}))});r.displayName="Popover",r.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}},U.a=r},digP:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0});var y={icon:function(g,v){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:v}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:g}}]}},name:"file",theme:"twotone"};U.default=y},dmGj:function(te,U,e){var y=e("DEFe"),L=e("ProS"),g=L.extendComponentView({type:"geo",init:function(v,A){var b=new y(A,!0);this._mapDraw=b,this.group.add(b.group)},render:function(v,A,b,m){if(m&&m.type==="geoToggleSelect"&&m.from===this.uid)return;var d=this._mapDraw;v.get("show")?d.draw(v,A,b,this,m):this._mapDraw.group.removeAll(),this.group.silent=v.get("silent")},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});te.exports=g},dnwI:function(te,U,e){var y=e("ProS"),L=e("bYtY"),g=e("YH21"),v=e("Kagy"),A=e("IUWy"),b=v.toolbox.dataView,m=new Array(60).join("-"),d=" ";function r(x){var I={},C=[],N=[];return x.eachRawSeries(function(S){var E=S.coordinateSystem;if(E&&(E.type==="cartesian2d"||E.type==="polar")){var T=E.getBaseAxis();if(T.type==="category"){var D=T.dim+"_"+T.index;I[D]||(I[D]={categoryAxis:T,valueAxis:E.getOtherAxis(T),series:[]},N.push({axisDim:T.dim,axisIndex:T.index})),I[D].series.push(S)}else C.push(S)}else C.push(S)}),{seriesGroupByCategoryAxis:I,other:C,meta:N}}function a(x){var I=[];return L.each(x,function(C,N){var S=C.categoryAxis,E=C.valueAxis,T=E.dim,D=[" "].concat(L.map(C.series,function(j){return j.name})),B=[S.model.getCategories()];L.each(C.series,function(j){B.push(j.getRawData().mapArray(T,function(H){return H}))});for(var R=[D.join(d)],F=0;F<B[0].length;F++){for(var M=[],K=0;K<B.length;K++)M.push(B[K][F]);R.push(M.join(d))}I.push(R.join(`
|
|
|
`))}),I.join(`
|
|
|
|
|
|
`+m+`
|
|
|
|
|
|
`)}function s(x){return L.map(x,function(I){var C=I.getRawData(),N=[I.name],S=[];return C.each(C.dimensions,function(){for(var E=arguments.length,T=arguments[E-1],D=C.getName(T),B=0;B<E-1;B++)S[B]=arguments[B];N.push((D?D+d:"")+S.join(d))}),N.join(`
|
|
|
`)}).join(`
|
|
|
|
|
|
`+m+`
|
|
|
|
|
|
`)}function i(x){var I=r(x);return{value:L.filter([a(I.seriesGroupByCategoryAxis),s(I.other)],function(C){return C.replace(/[\n\t\s]/g,"")}).join(`
|
|
|
|
|
|
`+m+`
|
|
|
|
|
|
`),meta:I.meta}}function n(x){return x.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function l(x){var I=x.slice(0,x.indexOf(`
|
|
|
`));if(I.indexOf(d)>=0)return!0}var t=new RegExp("["+d+"]+","g");function u(x){for(var I=x.split(/\n+/g),C=n(I.shift()).split(t),N=[],S=L.map(C,function(B){return{name:B,data:[]}}),E=0;E<I.length;E++){var T=n(I[E]).split(t);N.push(T.shift());for(var D=0;D<T.length;D++)S[D]&&(S[D].data[E]=T[D])}return{series:S,categories:N}}function o(x){for(var I=x.split(/\n+/g),C=n(I.shift()),N=[],S=0;S<I.length;S++){var E=n(I[S]).split(t),T="",D,B=!1;isNaN(E[0])?(B=!0,T=E[0],E=E.slice(1),N[S]={name:T,value:[]},D=N[S].value):D=N[S]=[];for(var R=0;R<E.length;R++)D.push(+E[R]);D.length===1&&(B?N[S].value=D[0]:N[S]=D[0])}return{name:C,data:N}}function c(x,I){var C=x.split(new RegExp(`
|
|
|
*`+m+`
|
|
|
*`,"g")),N={series:[]};return L.each(C,function(S,E){if(l(S)){var T=u(S),D=I[E],B=D.axisDim+"Axis";D&&(N[B]=N[B]||[],N[B][D.axisIndex]={data:T.categories},N.series=N.series.concat(T.series))}else{var T=o(S);N.series.push(T)}}),N}function h(x){this._dom=null,this.model=x}h.defaultOption={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:L.clone(b.title),lang:L.clone(b.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},h.prototype.onclick=function(x,I){var C=I.getDom(),N=this.model;this._dom&&C.removeChild(this._dom);var S=document.createElement("div");S.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",S.style.backgroundColor=N.get("backgroundColor")||"#fff";var E=document.createElement("h4"),T=N.get("lang")||[];E.innerHTML=T[0]||N.get("title"),E.style.cssText="margin: 10px 20px;",E.style.color=N.get("textColor");var D=document.createElement("div"),B=document.createElement("textarea");D.style.cssText="display:block;width:100%;overflow:auto;";var R=N.get("optionToContent"),F=N.get("contentToOption"),M=i(x);if(typeof R=="function"){var K=R(I.getOption());typeof K=="string"?D.innerHTML=K:L.isDom(K)&&D.appendChild(K)}else D.appendChild(B),B.readOnly=N.get("readOnly"),B.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",B.style.color=N.get("textColor"),B.style.borderColor=N.get("textareaBorderColor"),B.style.backgroundColor=N.get("textareaColor"),B.value=M.value;var j=M.meta,H=document.createElement("div");H.style.cssText="position:absolute;bottom:0;left:0;right:0;";var k="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",P=document.createElement("div"),z=document.createElement("div");k+=";background-color:"+N.get("buttonColor"),k+=";color:"+N.get("buttonTextColor");var Y=this;function _(){C.removeChild(S),Y._dom=null}g.addEventListener(P,"click",_),g.addEventListener(z,"click",function(){var G;try{typeof F=="function"?G=F(D,I.getOption()):G=c(B.value,j)}catch(J){throw _(),new Error("Data view format error "+J)}G&&I.dispatchAction({type:"changeDataView",newOption:G}),_()}),P.innerHTML=T[1],z.innerHTML=T[2],z.style.cssText=k,P.style.cssText=k,!N.get("readOnly")&&H.appendChild(z),H.appendChild(P),S.appendChild(E),S.appendChild(D),S.appendChild(H),D.style.height=C.clientHeight-80+"px",C.appendChild(S),this._dom=S},h.prototype.remove=function(x,I){this._dom&&I.getDom().removeChild(this._dom)},h.prototype.dispose=function(x,I){this.remove(x,I)};function f(x,I){return L.map(x,function(C,N){var S=I&&I[N];return L.isObject(S)&&!L.isArray(S)?(L.isObject(C)&&!L.isArray(C)&&(C=C.value),L.defaults({value:C},S)):C})}A.register("dataView",h),y.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(x,I){var C=[];L.each(x.newOption.series,function(N){var S=I.getSeriesByName(N.name)[0];if(!S)C.push(L.extend({type:"scatter"},N));else{var E=S.get("data");C.push({name:N.name,data:f(N.data,E)})}}),I.mergeOption(L.defaults({series:C},x.newOption))});var w=h;te.exports=w},dqUG:function(te,U,e){var y=e("Gev7"),L=e("bYtY"),g=e("6GrX"),v=e("pzxd"),A=e("gut8"),b=A.ContextCachedBy,m=function(a){y.call(this,a)};m.prototype={constructor:m,type:"text",brush:function(a,s){var i=this.style;this.__dirty&&v.normalizeTextStyle(i,!0),i.fill=i.stroke=i.shadowBlur=i.shadowColor=i.shadowOffsetX=i.shadowOffsetY=null;var n=i.text;if(n!=null&&(n+=""),!v.needDrawText(n,i)){a.__attrCachedBy=b.NONE;return}this.setTransform(a),v.renderText(this,a,n,i,null,s),this.restoreTransform(a)},getBoundingRect:function(){var a=this.style;if(this.__dirty&&v.normalizeTextStyle(a,!0),!this._rect){var s=a.text;s!=null?s+="":s="";var i=g.getBoundingRect(a.text+"",a.font,a.textAlign,a.textVerticalAlign,a.textPadding,a.textLineHeight,a.rich);if(i.x+=a.x||0,i.y+=a.y||0,v.getStroke(a.textStroke,a.textStrokeWidth)){var n=a.textStrokeWidth;i.x-=n/2,i.y-=n/2,i.width+=n,i.height+=n}this._rect=i}return this._rect}},L.inherits(m,y);var d=m;te.exports=d},dt0z:function(te,U,e){var y=e("zoYe");function L(g){return g==null?"":y(g)}te.exports=L},dtIV:function(te,U,e){"use strict";e.r(U),function(y){e.d(U,"AcroForm",function(){return We}),e.d(U,"AcroFormAppearance",function(){return he}),e.d(U,"AcroFormButton",function(){return Vt}),e.d(U,"AcroFormCheckBox",function(){return on}),e.d(U,"AcroFormChoiceField",function(){return lt}),e.d(U,"AcroFormComboBox",function(){return mt}),e.d(U,"AcroFormEditBox",function(){return tn}),e.d(U,"AcroFormListBox",function(){return Te}),e.d(U,"AcroFormPasswordField",function(){return de}),e.d(U,"AcroFormPushButton",function(){return Yt}),e.d(U,"AcroFormRadioButton",function(){return Qt}),e.d(U,"AcroFormTextField",function(){return vt}),e.d(U,"GState",function(){return K}),e.d(U,"ShadingPattern",function(){return H}),e.d(U,"TilingPattern",function(){return k}),e.d(U,"jsPDF",function(){return P});var L=e("cDf5"),g=e.n(L),v=e("crp1");/** @license
|
|
|
*
|
|
|
* jsPDF - PDF Document creation from JavaScript
|
|
|
* Version 2.5.1 Built on 2022-01-28T15:37:57.791Z
|
|
|
* CommitID 00000000
|
|
|
*
|
|
|
* Copyright (c) 2010-2021 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
|
|
|
* 2015-2021 yWorks GmbH, http://www.yworks.com
|
|
|
* 2015-2021 Lukas Holländer <lukas.hollaender@yworks.com>, https://github.com/HackbrettXXX
|
|
|
* 2016-2018 Aras Abbasi <aras.abbasi@gmail.com>
|
|
|
* 2010 Aaron Spike, https://github.com/acspike
|
|
|
* 2012 Willow Systems Corporation, https://github.com/willowsystems
|
|
|
* 2012 Pablo Hess, https://github.com/pablohess
|
|
|
* 2012 Florian Jenett, https://github.com/fjenett
|
|
|
* 2013 Warren Weckesser, https://github.com/warrenweckesser
|
|
|
* 2013 Youssef Beddad, https://github.com/lifof
|
|
|
* 2013 Lee Driscoll, https://github.com/lsdriscoll
|
|
|
* 2013 Stefan Slonevskiy, https://github.com/stefslon
|
|
|
* 2013 Jeremy Morel, https://github.com/jmorel
|
|
|
* 2013 Christoph Hartmann, https://github.com/chris-rock
|
|
|
* 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
|
|
|
* 2014 James Makes, https://github.com/dollaruw
|
|
|
* 2014 Diego Casorran, https://github.com/diegocr
|
|
|
* 2014 Steven Spungin, https://github.com/Flamenco
|
|
|
* 2014 Kenneth Glassey, https://github.com/Gavvers
|
|
|
*
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining
|
|
|
* a copy of this software and associated documentation files (the
|
|
|
* "Software"), to deal in the Software without restriction, including
|
|
|
* without limitation the rights to use, copy, modify, merge, publish,
|
|
|
* distribute, sublicense, and/or sell copies of the Software, and to
|
|
|
* permit persons to whom the Software is furnished to do so, subject to
|
|
|
* the following conditions:
|
|
|
*
|
|
|
* The above copyright notice and this permission notice shall be
|
|
|
* included in all copies or substantial portions of the Software.
|
|
|
*
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
|
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
|
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
*
|
|
|
* Contributor(s):
|
|
|
* siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango,
|
|
|
* kim3er, mfo, alnorth, Flamenco
|
|
|
*/var A=function(){return typeof window!="undefined"?window:typeof y!="undefined"?y:typeof self!="undefined"?self:this}();function b(){A.console&&typeof A.console.log=="function"&&A.console.log.apply(A.console,arguments)}var m={log:b,warn:function(le){A.console&&(typeof A.console.warn=="function"?A.console.warn.apply(A.console,arguments):b.call(null,arguments))},error:function(le){A.console&&(typeof A.console.error=="function"?A.console.error.apply(A.console,arguments):b(le))}};function d(Be,le,ye){var xe=new XMLHttpRequest;xe.open("GET",Be),xe.responseType="blob",xe.onload=function(){n(xe.response,le,ye)},xe.onerror=function(){m.error("could not download file")},xe.send()}function r(Be){var le=new XMLHttpRequest;le.open("HEAD",Be,!1);try{le.send()}catch(ye){}return le.status>=200&&le.status<=299}function a(Be){try{Be.dispatchEvent(new MouseEvent("click"))}catch(ye){var le=document.createEvent("MouseEvents");le.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),Be.dispatchEvent(le)}}var s,i,n=A.saveAs||((typeof window=="undefined"?"undefined":g()(window))!=="object"||window!==A?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(Be,le,ye){var xe=A.URL||A.webkitURL,De=document.createElement("a");le=le||Be.name||"download",De.download=le,De.rel="noopener",typeof Be=="string"?(De.href=Be,De.origin!==location.origin?r(De.href)?d(Be,le,ye):a(De,De.target="_blank"):a(De)):(De.href=xe.createObjectURL(Be),setTimeout(function(){xe.revokeObjectURL(De.href)},4e4),setTimeout(function(){a(De)},0))}:"msSaveOrOpenBlob"in navigator?function(Be,le,ye){if(le=le||Be.name||"download",typeof Be=="string")if(r(Be))d(Be,le,ye);else{var xe=document.createElement("a");xe.href=Be,xe.target="_blank",setTimeout(function(){a(xe)})}else navigator.msSaveOrOpenBlob(function(De,Le){return Le===void 0?Le={autoBom:!1}:g()(Le)!=="object"&&(m.warn("Deprecated: Expected third argument to be a object"),Le={autoBom:!Le}),Le.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(De.type)?new Blob([String.fromCharCode(65279),De],{type:De.type}):De}(Be,ye),le)}:function(Be,le,ye,xe){if((xe=xe||open("","_blank"))&&(xe.document.title=xe.document.body.innerText="downloading..."),typeof Be=="string")return d(Be,le,ye);var De=Be.type==="application/octet-stream",Le=/constructor/i.test(A.HTMLElement)||A.safari,Fe=/CriOS\/[\d]+/.test(navigator.userAgent);if((Fe||De&&Le)&&(typeof FileReader=="undefined"?"undefined":g()(FileReader))==="object"){var at=new FileReader;at.onloadend=function(){var pn=at.result;pn=Fe?pn:pn.replace(/^data:[^;]*;/,"data:attachment/file;"),xe?xe.location.href=pn:location=pn,xe=null},at.readAsDataURL(Be)}else{var Ve=A.URL||A.webkitURL,It=Ve.createObjectURL(Be);xe?xe.location=It:location.href=It,xe=null,setTimeout(function(){Ve.revokeObjectURL(It)},4e4)}});/**
|
|
|
* A class to parse color values
|
|
|
* @author Stoyan Stefanov <sstoo@gmail.com>
|
|
|
* {@link http://www.phpied.com/rgb-color-parser-in-javascript/}
|
|
|
* @license Use it if you like it
|
|
|
*/function l(Be){var le;Be=Be||"",this.ok=!1,Be.charAt(0)=="#"&&(Be=Be.substr(1,6)),Be={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"}[Be=(Be=Be.replace(/ /g,"")).toLowerCase()]||Be;for(var ye=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(Ve){return[parseInt(Ve[1]),parseInt(Ve[2]),parseInt(Ve[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(Ve){return[parseInt(Ve[1],16),parseInt(Ve[2],16),parseInt(Ve[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(Ve){return[parseInt(Ve[1]+Ve[1],16),parseInt(Ve[2]+Ve[2],16),parseInt(Ve[3]+Ve[3],16)]}}],xe=0;xe<ye.length;xe++){var De=ye[xe].re,Le=ye[xe].process,Fe=De.exec(Be);Fe&&(le=Le(Fe),this.r=le[0],this.g=le[1],this.b=le[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var at=this.r.toString(16),Ve=this.g.toString(16),It=this.b.toString(16);return at.length==1&&(at="0"+at),Ve.length==1&&(Ve="0"+Ve),It.length==1&&(It="0"+It),"#"+at+Ve+It}}/**
|
|
|
* @license
|
|
|
* Joseph Myers does not specify a particular license for his work.
|
|
|
*
|
|
|
* Author: Joseph Myers
|
|
|
* Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js
|
|
|
*
|
|
|
* Modified by: Owen Leong
|
|
|
*/function t(Be,le){var ye=Be[0],xe=Be[1],De=Be[2],Le=Be[3];ye=o(ye,xe,De,Le,le[0],7,-680876936),Le=o(Le,ye,xe,De,le[1],12,-389564586),De=o(De,Le,ye,xe,le[2],17,606105819),xe=o(xe,De,Le,ye,le[3],22,-1044525330),ye=o(ye,xe,De,Le,le[4],7,-176418897),Le=o(Le,ye,xe,De,le[5],12,1200080426),De=o(De,Le,ye,xe,le[6],17,-1473231341),xe=o(xe,De,Le,ye,le[7],22,-45705983),ye=o(ye,xe,De,Le,le[8],7,1770035416),Le=o(Le,ye,xe,De,le[9],12,-1958414417),De=o(De,Le,ye,xe,le[10],17,-42063),xe=o(xe,De,Le,ye,le[11],22,-1990404162),ye=o(ye,xe,De,Le,le[12],7,1804603682),Le=o(Le,ye,xe,De,le[13],12,-40341101),De=o(De,Le,ye,xe,le[14],17,-1502002290),ye=c(ye,xe=o(xe,De,Le,ye,le[15],22,1236535329),De,Le,le[1],5,-165796510),Le=c(Le,ye,xe,De,le[6],9,-1069501632),De=c(De,Le,ye,xe,le[11],14,643717713),xe=c(xe,De,Le,ye,le[0],20,-373897302),ye=c(ye,xe,De,Le,le[5],5,-701558691),Le=c(Le,ye,xe,De,le[10],9,38016083),De=c(De,Le,ye,xe,le[15],14,-660478335),xe=c(xe,De,Le,ye,le[4],20,-405537848),ye=c(ye,xe,De,Le,le[9],5,568446438),Le=c(Le,ye,xe,De,le[14],9,-1019803690),De=c(De,Le,ye,xe,le[3],14,-187363961),xe=c(xe,De,Le,ye,le[8],20,1163531501),ye=c(ye,xe,De,Le,le[13],5,-1444681467),Le=c(Le,ye,xe,De,le[2],9,-51403784),De=c(De,Le,ye,xe,le[7],14,1735328473),ye=h(ye,xe=c(xe,De,Le,ye,le[12],20,-1926607734),De,Le,le[5],4,-378558),Le=h(Le,ye,xe,De,le[8],11,-2022574463),De=h(De,Le,ye,xe,le[11],16,1839030562),xe=h(xe,De,Le,ye,le[14],23,-35309556),ye=h(ye,xe,De,Le,le[1],4,-1530992060),Le=h(Le,ye,xe,De,le[4],11,1272893353),De=h(De,Le,ye,xe,le[7],16,-155497632),xe=h(xe,De,Le,ye,le[10],23,-1094730640),ye=h(ye,xe,De,Le,le[13],4,681279174),Le=h(Le,ye,xe,De,le[0],11,-358537222),De=h(De,Le,ye,xe,le[3],16,-722521979),xe=h(xe,De,Le,ye,le[6],23,76029189),ye=h(ye,xe,De,Le,le[9],4,-640364487),Le=h(Le,ye,xe,De,le[12],11,-421815835),De=h(De,Le,ye,xe,le[15],16,530742520),ye=f(ye,xe=h(xe,De,Le,ye,le[2],23,-995338651),De,Le,le[0],6,-198630844),Le=f(Le,ye,xe,De,le[7],10,1126891415),De=f(De,Le,ye,xe,le[14],15,-1416354905),xe=f(xe,De,Le,ye,le[5],21,-57434055),ye=f(ye,xe,De,Le,le[12],6,1700485571),Le=f(Le,ye,xe,De,le[3],10,-1894986606),De=f(De,Le,ye,xe,le[10],15,-1051523),xe=f(xe,De,Le,ye,le[1],21,-2054922799),ye=f(ye,xe,De,Le,le[8],6,1873313359),Le=f(Le,ye,xe,De,le[15],10,-30611744),De=f(De,Le,ye,xe,le[6],15,-1560198380),xe=f(xe,De,Le,ye,le[13],21,1309151649),ye=f(ye,xe,De,Le,le[4],6,-145523070),Le=f(Le,ye,xe,De,le[11],10,-1120210379),De=f(De,Le,ye,xe,le[2],15,718787259),xe=f(xe,De,Le,ye,le[9],21,-343485551),Be[0]=T(ye,Be[0]),Be[1]=T(xe,Be[1]),Be[2]=T(De,Be[2]),Be[3]=T(Le,Be[3])}function u(Be,le,ye,xe,De,Le){return le=T(T(le,Be),T(xe,Le)),T(le<<De|le>>>32-De,ye)}function o(Be,le,ye,xe,De,Le,Fe){return u(le&ye|~le&xe,Be,le,De,Le,Fe)}function c(Be,le,ye,xe,De,Le,Fe){return u(le&xe|ye&~xe,Be,le,De,Le,Fe)}function h(Be,le,ye,xe,De,Le,Fe){return u(le^ye^xe,Be,le,De,Le,Fe)}function f(Be,le,ye,xe,De,Le,Fe){return u(ye^(le|~xe),Be,le,De,Le,Fe)}function w(Be){var le,ye=Be.length,xe=[1732584193,-271733879,-1732584194,271733878];for(le=64;le<=Be.length;le+=64)t(xe,x(Be.substring(le-64,le)));Be=Be.substring(le-64);var De=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(le=0;le<Be.length;le++)De[le>>2]|=Be.charCodeAt(le)<<(le%4<<3);if(De[le>>2]|=128<<(le%4<<3),le>55)for(t(xe,De),le=0;le<16;le++)De[le]=0;return De[14]=8*ye,t(xe,De),xe}function x(Be){var le,ye=[];for(le=0;le<64;le+=4)ye[le>>2]=Be.charCodeAt(le)+(Be.charCodeAt(le+1)<<8)+(Be.charCodeAt(le+2)<<16)+(Be.charCodeAt(le+3)<<24);return ye}s=A.atob.bind(A),i=A.btoa.bind(A);var I="0123456789abcdef".split("");function C(Be){for(var le="",ye=0;ye<4;ye++)le+=I[Be>>8*ye+4&15]+I[Be>>8*ye&15];return le}function N(Be){return String.fromCharCode((255&Be)>>0,(65280&Be)>>8,(16711680&Be)>>16,(4278190080&Be)>>24)}function S(Be){return w(Be).map(N).join("")}var E=function(Be){for(var le=0;le<Be.length;le++)Be[le]=C(Be[le]);return Be.join("")}(w("hello"))!="5d41402abc4b2a76b9719d911017c592";function T(Be,le){if(E){var ye=(65535&Be)+(65535&le);return(Be>>16)+(le>>16)+(ye>>16)<<16|65535&ye}return Be+le&4294967295}/**
|
|
|
* @license
|
|
|
* FPDF is released under a permissive license: there is no usage restriction.
|
|
|
* You may embed it freely in your application (commercial or not), with or
|
|
|
* without modifications.
|
|
|
*
|
|
|
* Reference: http://www.fpdf.org/en/script/script37.php
|
|
|
*/function D(Be,le){var ye,xe,De,Le;if(Be!==ye){for(var Fe=(De=Be,Le=1+(256/Be.length>>0),new Array(Le+1).join(De)),at=[],Ve=0;Ve<256;Ve++)at[Ve]=Ve;var It=0;for(Ve=0;Ve<256;Ve++){var pn=at[Ve];It=(It+pn+Fe.charCodeAt(Ve))%256,at[Ve]=at[It],at[It]=pn}ye=Be,xe=at}else at=xe;var rn=le.length,Tn=0,Nt=0,ur="";for(Ve=0;Ve<rn;Ve++)Nt=(Nt+(pn=at[Tn=(Tn+1)%256]))%256,at[Tn]=at[Nt],at[Nt]=pn,Fe=at[(at[Tn]+at[Nt])%256],ur+=String.fromCharCode(le.charCodeAt(Ve)^Fe);return ur}/**
|
|
|
* @license
|
|
|
* Licensed under the MIT License.
|
|
|
* http://opensource.org/licenses/mit-license
|
|
|
* Author: Owen Leong (@owenl131)
|
|
|
* Date: 15 Oct 2020
|
|
|
* References:
|
|
|
* https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
|
|
|
* https://github.com/foliojs/pdfkit/blob/master/lib/security.js
|
|
|
* http://www.fpdf.org/en/script/script37.php
|
|
|
*/var B={print:4,modify:8,copy:16,"annot-forms":32};function R(Be,le,ye,xe){this.v=1,this.r=2;var De=192;Be.forEach(function(at){if(B.perm!==void 0)throw new Error("Invalid permission: "+at);De+=B[at]}),this.padding="(\xBFN^Nu\x8AAd\0NV\xFF\xFA\b..\0\xB6\xD0h>\x80/\f\xA9\xFEdSiz";var Le=(le+this.padding).substr(0,32),Fe=(ye+this.padding).substr(0,32);this.O=this.processOwnerPassword(Le,Fe),this.P=-(1+(255^De)),this.encryptionKey=S(Le+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(xe)).substr(0,5),this.U=D(this.encryptionKey,this.padding)}function F(Be){if(/[^\u0000-\u00ff]/.test(Be))throw new Error("Invalid PDF Name Object: "+Be+", Only accept ASCII characters.");for(var le="",ye=Be.length,xe=0;xe<ye;xe++){var De=Be.charCodeAt(xe);De<33||De===35||De===37||De===40||De===41||De===47||De===60||De===62||De===91||De===93||De===123||De===125||De>126?le+="#"+("0"+De.toString(16)).slice(-2):le+=Be[xe]}return le}function M(Be){if(g()(Be)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var le={};this.subscribe=function(ye,xe,De){if(De=De||!1,typeof ye!="string"||typeof xe!="function"||typeof De!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");le.hasOwnProperty(ye)||(le[ye]={});var Le=Math.random().toString(35);return le[ye][Le]=[xe,!!De],Le},this.unsubscribe=function(ye){for(var xe in le)if(le[xe][ye])return delete le[xe][ye],Object.keys(le[xe]).length===0&&delete le[xe],!0;return!1},this.publish=function(ye){if(le.hasOwnProperty(ye)){var xe=Array.prototype.slice.call(arguments,1),De=[];for(var Le in le[ye]){var Fe=le[ye][Le];try{Fe[0].apply(Be,xe)}catch(at){A.console&&m.error("jsPDF PubSub Error",at.message,at)}Fe[1]&&De.push(Le)}De.length&&De.forEach(this.unsubscribe)}},this.getTopics=function(){return le}}function K(Be){if(!(this instanceof K))return new K(Be);var le="opacity,stroke-opacity".split(",");for(var ye in Be)Be.hasOwnProperty(ye)&&le.indexOf(ye)>=0&&(this[ye]=Be[ye]);this.id="",this.objectNumber=-1}function j(Be,le){this.gState=Be,this.matrix=le,this.id="",this.objectNumber=-1}function H(Be,le,ye,xe,De){if(!(this instanceof H))return new H(Be,le,ye,xe,De);this.type=Be==="axial"?2:3,this.coords=le,this.colors=ye,j.call(this,xe,De)}function k(Be,le,ye,xe,De){if(!(this instanceof k))return new k(Be,le,ye,xe,De);this.boundingBox=Be,this.xStep=le,this.yStep=ye,this.stream="",this.cloneIndex=0,j.call(this,xe,De)}function P(Be){var le,ye=typeof arguments[0]=="string"?arguments[0]:"p",xe=arguments[1],De=arguments[2],Le=arguments[3],Fe=[],at=1,Ve=16,It="S",pn=null;g()(Be=Be||{})==="object"&&(ye=Be.orientation,xe=Be.unit||xe,De=Be.format||De,Le=Be.compress||Be.compressPdf||Le,(pn=Be.encryption||null)!==null&&(pn.userPassword=pn.userPassword||"",pn.ownerPassword=pn.ownerPassword||"",pn.userPermissions=pn.userPermissions||[]),at=typeof Be.userUnit=="number"?Math.abs(Be.userUnit):1,Be.precision!==void 0&&(le=Be.precision),Be.floatPrecision!==void 0&&(Ve=Be.floatPrecision),It=Be.defaultPathOperation||"S"),Fe=Be.filters||(Le===!0?["FlateEncode"]:Fe),xe=xe||"mm",ye=(""+(ye||"P")).toLowerCase();var rn=Be.putOnlyUsedFonts||!1,Tn={},Nt={internal:{},__private__:{}};Nt.__private__.PubSub=M;var ur="1.3",Xt=Nt.__private__.getPdfVersion=function(){return ur};Nt.__private__.setPdfVersion=function(ut){ur=ut};var Kn={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]};Nt.__private__.getPageFormats=function(){return Kn};var Fn=Nt.__private__.getPageFormat=function(ut){return Kn[ut]};De=De||"a4";var un={COMPAT:"compat",ADVANCED:"advanced"},Sr=un.COMPAT;function Fr(){this.saveGraphicsState(),sr(new Wr(Hn,0,0,-Hn,0,As()*Hn).toString()+" cm"),this.setFontSize(this.getFontSize()/Hn),It="n",Sr=un.ADVANCED}function ii(){this.restoreGraphicsState(),It="S",Sr=un.COMPAT}var oi=Nt.__private__.combineFontStyleAndFontWeight=function(ut,bt){if(ut=="bold"&&bt=="normal"||ut=="bold"&&bt==400||ut=="normal"&&bt=="italic"||ut=="bold"&&bt=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return bt&&(ut=bt==400||bt==="normal"?ut==="italic"?"italic":"normal":bt!=700&&bt!=="bold"||ut!=="normal"?(bt==700?"bold":bt)+""+ut:"bold"),ut};Nt.advancedAPI=function(ut){var bt=Sr===un.COMPAT;return bt&&Fr.call(this),typeof ut!="function"||(ut(this),bt&&ii.call(this)),this},Nt.compatAPI=function(ut){var bt=Sr===un.ADVANCED;return bt&&ii.call(this),typeof ut!="function"||(ut(this),bt&&Fr.call(this)),this},Nt.isAdvancedAPI=function(){return Sr===un.ADVANCED};var ti,bi=function(bt){if(Sr!==un.ADVANCED)throw new Error(bt+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},Mr=Nt.roundToPrecision=Nt.__private__.roundToPrecision=function(ut,bt){var tr=le||bt;if(isNaN(ut)||isNaN(tr))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return ut.toFixed(tr).replace(/0+$/,"")};ti=Nt.hpf=Nt.__private__.hpf=typeof Ve=="number"?function(ut){if(isNaN(ut))throw new Error("Invalid argument passed to jsPDF.hpf");return Mr(ut,Ve)}:Ve==="smart"?function(ut){if(isNaN(ut))throw new Error("Invalid argument passed to jsPDF.hpf");return Mr(ut,ut>-1&&ut<1?16:5)}:function(ut){if(isNaN(ut))throw new Error("Invalid argument passed to jsPDF.hpf");return Mr(ut,16)};var Oi=Nt.f2=Nt.__private__.f2=function(ut){if(isNaN(ut))throw new Error("Invalid argument passed to jsPDF.f2");return Mr(ut,2)},Ar=Nt.__private__.f3=function(ut){if(isNaN(ut))throw new Error("Invalid argument passed to jsPDF.f3");return Mr(ut,3)},Wn=Nt.scale=Nt.__private__.scale=function(ut){if(isNaN(ut))throw new Error("Invalid argument passed to jsPDF.scale");return Sr===un.COMPAT?ut*Hn:Sr===un.ADVANCED?ut:void 0},xr=function(bt){return Sr===un.COMPAT?As()-bt:Sr===un.ADVANCED?bt:void 0},er=function(bt){return Wn(xr(bt))};Nt.__private__.setPrecision=Nt.setPrecision=function(ut){typeof parseInt(ut,10)=="number"&&(le=parseInt(ut,10))};var ci,qr="00000000000000000000000000000000",wi=Nt.__private__.getFileId=function(){return qr},Xr=Nt.__private__.setFileId=function(ut){return qr=ut!==void 0&&/^[a-fA-F0-9]{32}$/.test(ut)?ut.toUpperCase():qr.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),pn!==null&&(Ga=new R(pn.userPermissions,pn.userPassword,pn.ownerPassword,qr)),qr};Nt.setFileId=function(ut){return Xr(ut),this},Nt.getFileId=function(){return wi()};var Hi=Nt.__private__.convertDateToPDFDate=function(ut){var bt=ut.getTimezoneOffset(),tr=bt<0?"+":"-",Tr=Math.floor(Math.abs(bt/60)),et=Math.abs(bt%60),X=[tr,br(Tr),"'",br(et),"'"].join("");return["D:",ut.getFullYear(),br(ut.getMonth()+1),br(ut.getDate()),br(ut.getHours()),br(ut.getMinutes()),br(ut.getSeconds()),X].join("")},ni=Nt.__private__.convertPDFDateToDate=function(ut){var bt=parseInt(ut.substr(2,4),10),tr=parseInt(ut.substr(6,2),10)-1,Tr=parseInt(ut.substr(8,2),10),et=parseInt(ut.substr(10,2),10),X=parseInt(ut.substr(12,2),10),ee=parseInt(ut.substr(14,2),10);return new Date(bt,tr,Tr,et,X,ee,0)},Mi=Nt.__private__.setCreationDate=function(ut){var bt;if(ut===void 0&&(ut=new Date),ut instanceof Date)bt=Hi(ut);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(ut))throw new Error("Invalid argument passed to jsPDF.setCreationDate");bt=ut}return ci=bt},cr=Nt.__private__.getCreationDate=function(ut){var bt=ci;return ut==="jsDate"&&(bt=ni(ci)),bt};Nt.setCreationDate=function(ut){return Mi(ut),this},Nt.getCreationDate=function(ut){return cr(ut)};var Pn,br=Nt.__private__.padd2=function(ut){return("0"+parseInt(ut)).slice(-2)},Br=Nt.__private__.padd2Hex=function(ut){return("00"+(ut=ut.toString())).substr(ut.length)},Qr=0,$r=[],hi=[],fi=0,Ai=[],Wi=[],ra=!1,$i=hi,Ha=function(){Qr=0,fi=0,hi=[],$r=[],Ai=[],mn=Yn(),zt=Yn()};Nt.__private__.setCustomOutputDestination=function(ut){ra=!0,$i=ut};var pi=function(bt){ra||($i=bt)};Nt.__private__.resetCustomOutputDestination=function(){ra=!1,$i=hi};var sr=Nt.__private__.out=function(ut){return ut=ut.toString(),fi+=ut.length+1,$i.push(ut),$i},Li=Nt.__private__.write=function(ut){return sr(arguments.length===1?ut.toString():Array.prototype.join.call(arguments," "))},Ji=Nt.__private__.getArrayBuffer=function(ut){for(var bt=ut.length,tr=new ArrayBuffer(bt),Tr=new Uint8Array(tr);bt--;)Tr[bt]=ut.charCodeAt(bt);return tr},Ui=[["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]];Nt.__private__.getStandardFonts=function(){return Ui};var ea=Be.fontSize||16;Nt.__private__.setFontSize=Nt.setFontSize=function(ut){return ea=Sr===un.ADVANCED?ut/Hn:ut,this};var Bt,Vn=Nt.__private__.getFontSize=Nt.getFontSize=function(){return Sr===un.COMPAT?ea:ea*Hn},nr=Be.R2L||!1;Nt.__private__.setR2L=Nt.setR2L=function(ut){return nr=ut,this},Nt.__private__.getR2L=Nt.getR2L=function(){return nr};var fr,Re=Nt.__private__.setZoomMode=function(ut){var bt=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(ut))Bt=ut;else if(isNaN(ut)){if(bt.indexOf(ut)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+ut+'" is not recognized.');Bt=ut}else Bt=parseInt(ut,10)};Nt.__private__.getZoomMode=function(){return Bt};var At,qt=Nt.__private__.setPageMode=function(ut){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(ut)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+ut+'" is not recognized.');fr=ut};Nt.__private__.getPageMode=function(){return fr};var $t=Nt.__private__.setLayoutMode=function(ut){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(ut)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+ut+'" is not recognized.');At=ut};Nt.__private__.getLayoutMode=function(){return At},Nt.__private__.setDisplayMode=Nt.setDisplayMode=function(ut,bt,tr){return Re(ut),$t(bt),qt(tr),this};var Cn={title:"",subject:"",author:"",keywords:"",creator:""};Nt.__private__.getDocumentProperty=function(ut){if(Object.keys(Cn).indexOf(ut)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Cn[ut]},Nt.__private__.getDocumentProperties=function(){return Cn},Nt.__private__.setDocumentProperties=Nt.setProperties=Nt.setDocumentProperties=function(ut){for(var bt in Cn)Cn.hasOwnProperty(bt)&&ut[bt]&&(Cn[bt]=ut[bt]);return this},Nt.__private__.setDocumentProperty=function(ut,bt){if(Object.keys(Cn).indexOf(ut)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Cn[ut]=bt};var Dn,Hn,ar,Er,gr,Rr={},kr={},wr=[],Lr={},Ir={},zr={},Gr={},ri=null,yi=0,li=[],Ti=new M(Nt),Fi=Be.hotfixes||[],Si={},mi={},Ni=[],Wr=function ut(bt,tr,Tr,et,X,ee){if(!(this instanceof ut))return new ut(bt,tr,Tr,et,X,ee);isNaN(bt)&&(bt=1),isNaN(tr)&&(tr=0),isNaN(Tr)&&(Tr=0),isNaN(et)&&(et=1),isNaN(X)&&(X=0),isNaN(ee)&&(ee=0),this._matrix=[bt,tr,Tr,et,X,ee]};Object.defineProperty(Wr.prototype,"sx",{get:function(){return this._matrix[0]},set:function(bt){this._matrix[0]=bt}}),Object.defineProperty(Wr.prototype,"shy",{get:function(){return this._matrix[1]},set:function(bt){this._matrix[1]=bt}}),Object.defineProperty(Wr.prototype,"shx",{get:function(){return this._matrix[2]},set:function(bt){this._matrix[2]=bt}}),Object.defineProperty(Wr.prototype,"sy",{get:function(){return this._matrix[3]},set:function(bt){this._matrix[3]=bt}}),Object.defineProperty(Wr.prototype,"tx",{get:function(){return this._matrix[4]},set:function(bt){this._matrix[4]=bt}}),Object.defineProperty(Wr.prototype,"ty",{get:function(){return this._matrix[5]},set:function(bt){this._matrix[5]=bt}}),Object.defineProperty(Wr.prototype,"a",{get:function(){return this._matrix[0]},set:function(bt){this._matrix[0]=bt}}),Object.defineProperty(Wr.prototype,"b",{get:function(){return this._matrix[1]},set:function(bt){this._matrix[1]=bt}}),Object.defineProperty(Wr.prototype,"c",{get:function(){return this._matrix[2]},set:function(bt){this._matrix[2]=bt}}),Object.defineProperty(Wr.prototype,"d",{get:function(){return this._matrix[3]},set:function(bt){this._matrix[3]=bt}}),Object.defineProperty(Wr.prototype,"e",{get:function(){return this._matrix[4]},set:function(bt){this._matrix[4]=bt}}),Object.defineProperty(Wr.prototype,"f",{get:function(){return this._matrix[5]},set:function(bt){this._matrix[5]=bt}}),Object.defineProperty(Wr.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Wr.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Wr.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Wr.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Wr.prototype.join=function(ut){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(ti).join(ut)},Wr.prototype.multiply=function(ut){var bt=ut.sx*this.sx+ut.shy*this.shx,tr=ut.sx*this.shy+ut.shy*this.sy,Tr=ut.shx*this.sx+ut.sy*this.shx,et=ut.shx*this.shy+ut.sy*this.sy,X=ut.tx*this.sx+ut.ty*this.shx+this.tx,ee=ut.tx*this.shy+ut.ty*this.sy+this.ty;return new Wr(bt,tr,Tr,et,X,ee)},Wr.prototype.decompose=function(){var ut=this.sx,bt=this.shy,tr=this.shx,Tr=this.sy,et=this.tx,X=this.ty,ee=Math.sqrt(ut*ut+bt*bt),ie=(ut/=ee)*tr+(bt/=ee)*Tr;tr-=ut*ie,Tr-=bt*ie;var we=Math.sqrt(tr*tr+Tr*Tr);return ie/=we,ut*(Tr/=we)<bt*(tr/=we)&&(ut=-ut,bt=-bt,ie=-ie,ee=-ee),{scale:new Wr(ee,0,0,we,0,0),translate:new Wr(1,0,0,1,et,X),rotate:new Wr(ut,bt,-bt,ut,0,0),skew:new Wr(1,0,ie,1,0,0)}},Wr.prototype.toString=function(ut){return this.join(" ")},Wr.prototype.inversed=function(){var ut=this.sx,bt=this.shy,tr=this.shx,Tr=this.sy,et=this.tx,X=this.ty,ee=1/(ut*Tr-bt*tr),ie=Tr*ee,we=-bt*ee,Ge=-tr*ee,gt=ut*ee;return new Wr(ie,we,Ge,gt,-ie*et-Ge*X,-we*et-gt*X)},Wr.prototype.applyToPoint=function(ut){var bt=ut.x*this.sx+ut.y*this.shx+this.tx,tr=ut.x*this.shy+ut.y*this.sy+this.ty;return new rs(bt,tr)},Wr.prototype.applyToRectangle=function(ut){var bt=this.applyToPoint(ut),tr=this.applyToPoint(new rs(ut.x+ut.w,ut.y+ut.h));return new ys(bt.x,bt.y,tr.x-bt.x,tr.y-bt.y)},Wr.prototype.clone=function(){var ut=this.sx,bt=this.shy,tr=this.shx,Tr=this.sy,et=this.tx,X=this.ty;return new Wr(ut,bt,tr,Tr,et,X)},Nt.Matrix=Wr;var Ri=Nt.matrixMult=function(ut,bt){return bt.multiply(ut)},Ki=new Wr(1,0,0,1,0,0);Nt.unitMatrix=Nt.identityMatrix=Ki;var hn=function(bt,tr){if(!Ir[bt]){var Tr=(tr instanceof H?"Sh":"P")+(Object.keys(Lr).length+1).toString(10);tr.id=Tr,Ir[bt]=Tr,Lr[Tr]=tr,Ti.publish("addPattern",tr)}};Nt.ShadingPattern=H,Nt.TilingPattern=k,Nt.addShadingPattern=function(ut,bt){return bi("addShadingPattern()"),hn(ut,bt),this},Nt.beginTilingPattern=function(ut){bi("beginTilingPattern()"),Os(ut.boundingBox[0],ut.boundingBox[1],ut.boundingBox[2]-ut.boundingBox[0],ut.boundingBox[3]-ut.boundingBox[1],ut.matrix)},Nt.endTilingPattern=function(ut,bt){bi("endTilingPattern()"),bt.stream=Wi[Pn].join(`
|
|
|
`),hn(ut,bt),Ti.publish("endTilingPattern",bt),Ni.pop().restore()};var Rn=Nt.__private__.newObject=function(){var ut=Yn();return En(ut,!0),ut},Yn=Nt.__private__.newObjectDeferred=function(){return Qr++,$r[Qr]=function(){return fi},Qr},En=function(bt,tr){return tr=typeof tr=="boolean"&&tr,$r[bt]=fi,tr&&sr(bt+" 0 obj"),bt},Mt=Nt.__private__.newAdditionalObject=function(){var ut={objId:Yn(),content:""};return Ai.push(ut),ut},mn=Yn(),zt=Yn(),_n=Nt.__private__.decodeColorString=function(ut){var bt=ut.split(" ");if(bt.length!==2||bt[1]!=="g"&&bt[1]!=="G")bt.length===5&&(bt[4]==="k"||bt[4]==="K")&&(bt=[(1-bt[0])*(1-bt[3]),(1-bt[1])*(1-bt[3]),(1-bt[2])*(1-bt[3]),"r"]);else{var tr=parseFloat(bt[0]);bt=[tr,tr,tr,"r"]}for(var Tr="#",et=0;et<3;et++)Tr+=("0"+Math.floor(255*parseFloat(bt[et])).toString(16)).slice(-2);return Tr},kn=Nt.__private__.encodeColorString=function(ut){var bt;typeof ut=="string"&&(ut={ch1:ut});var tr=ut.ch1,Tr=ut.ch2,et=ut.ch3,X=ut.ch4,ee=ut.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof tr=="string"&&tr.charAt(0)!=="#"){var ie=new l(tr);if(ie.ok)tr=ie.toHex();else if(!/^\d*\.?\d*$/.test(tr))throw new Error('Invalid color "'+tr+'" passed to jsPDF.encodeColorString.')}if(typeof tr=="string"&&/^#[0-9A-Fa-f]{3}$/.test(tr)&&(tr="#"+tr[1]+tr[1]+tr[2]+tr[2]+tr[3]+tr[3]),typeof tr=="string"&&/^#[0-9A-Fa-f]{6}$/.test(tr)){var we=parseInt(tr.substr(1),16);tr=we>>16&255,Tr=we>>8&255,et=255&we}if(Tr===void 0||X===void 0&&tr===Tr&&Tr===et)if(typeof tr=="string")bt=tr+" "+ee[0];else switch(ut.precision){case 2:bt=Oi(tr/255)+" "+ee[0];break;case 3:default:bt=Ar(tr/255)+" "+ee[0]}else if(X===void 0||g()(X)==="object"){if(X&&!isNaN(X.a)&&X.a===0)return bt=["1.","1.","1.",ee[1]].join(" ");if(typeof tr=="string")bt=[tr,Tr,et,ee[1]].join(" ");else switch(ut.precision){case 2:bt=[Oi(tr/255),Oi(Tr/255),Oi(et/255),ee[1]].join(" ");break;default:case 3:bt=[Ar(tr/255),Ar(Tr/255),Ar(et/255),ee[1]].join(" ")}}else if(typeof tr=="string")bt=[tr,Tr,et,X,ee[2]].join(" ");else switch(ut.precision){case 2:bt=[Oi(tr),Oi(Tr),Oi(et),Oi(X),ee[2]].join(" ");break;case 3:default:bt=[Ar(tr),Ar(Tr),Ar(et),Ar(X),ee[2]].join(" ")}return bt},pr=Nt.__private__.getFilters=function(){return Fe},or=Nt.__private__.putStream=function(ut){var bt=(ut=ut||{}).data||"",tr=ut.filters||pr(),Tr=ut.alreadyAppliedFilters||[],et=ut.addLength1||!1,X=bt.length,ee=ut.objectId,ie=function(si){return si};if(pn!==null&&ee===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");pn!==null&&(ie=Ga.encryptor(ee,0));var we={};tr===!0&&(tr=["FlateEncode"]);var Ge=ut.additionalKeyValues||[],gt=(we=P.API.processDataByFilters!==void 0?P.API.processDataByFilters(bt,tr):{data:bt,reverseChain:[]}).reverseChain+(Array.isArray(Tr)?Tr.join(" "):Tr.toString());if(we.data.length!==0&&(Ge.push({key:"Length",value:we.data.length}),et===!0&&Ge.push({key:"Length1",value:X})),gt.length!=0)if(gt.split("/").length-1==1)Ge.push({key:"Filter",value:gt});else{Ge.push({key:"Filter",value:"["+gt+"]"});for(var fn=0;fn<Ge.length;fn+=1)if(Ge[fn].key==="DecodeParms"){for(var In=[],Jn=0;Jn<we.reverseChain.split("/").length-1;Jn+=1)In.push("null");In.push(Ge[fn].value),Ge[fn].value="["+In.join(" ")+"]"}}sr("<<");for(var Cr=0;Cr<Ge.length;Cr++)sr("/"+Ge[Cr].key+" "+Ge[Cr].value);sr(">>"),we.data.length!==0&&(sr("stream"),sr(ie(we.data)),sr("endstream"))},yr=Nt.__private__.putPage=function(ut){var bt=ut.number,tr=ut.data,Tr=ut.objId,et=ut.contentsObjId;En(Tr,!0),sr("<</Type /Page"),sr("/Parent "+ut.rootDictionaryObjId+" 0 R"),sr("/Resources "+ut.resourceDictionaryObjId+" 0 R"),sr("/MediaBox ["+parseFloat(ti(ut.mediaBox.bottomLeftX))+" "+parseFloat(ti(ut.mediaBox.bottomLeftY))+" "+ti(ut.mediaBox.topRightX)+" "+ti(ut.mediaBox.topRightY)+"]"),ut.cropBox!==null&&sr("/CropBox ["+ti(ut.cropBox.bottomLeftX)+" "+ti(ut.cropBox.bottomLeftY)+" "+ti(ut.cropBox.topRightX)+" "+ti(ut.cropBox.topRightY)+"]"),ut.bleedBox!==null&&sr("/BleedBox ["+ti(ut.bleedBox.bottomLeftX)+" "+ti(ut.bleedBox.bottomLeftY)+" "+ti(ut.bleedBox.topRightX)+" "+ti(ut.bleedBox.topRightY)+"]"),ut.trimBox!==null&&sr("/TrimBox ["+ti(ut.trimBox.bottomLeftX)+" "+ti(ut.trimBox.bottomLeftY)+" "+ti(ut.trimBox.topRightX)+" "+ti(ut.trimBox.topRightY)+"]"),ut.artBox!==null&&sr("/ArtBox ["+ti(ut.artBox.bottomLeftX)+" "+ti(ut.artBox.bottomLeftY)+" "+ti(ut.artBox.topRightX)+" "+ti(ut.artBox.topRightY)+"]"),typeof ut.userUnit=="number"&&ut.userUnit!==1&&sr("/UserUnit "+ut.userUnit),Ti.publish("putPage",{objId:Tr,pageContext:li[bt],pageNumber:bt,page:tr}),sr("/Contents "+et+" 0 R"),sr(">>"),sr("endobj");var X=tr.join(`
|
|
|
`);return Sr===un.ADVANCED&&(X+=`
|
|
|
Q`),En(et,!0),or({data:X,filters:pr(),objectId:et}),sr("endobj"),Tr},_r=Nt.__private__.putPages=function(){var ut,bt,tr=[];for(ut=1;ut<=yi;ut++)li[ut].objId=Yn(),li[ut].contentsObjId=Yn();for(ut=1;ut<=yi;ut++)tr.push(yr({number:ut,data:Wi[ut],objId:li[ut].objId,contentsObjId:li[ut].contentsObjId,mediaBox:li[ut].mediaBox,cropBox:li[ut].cropBox,bleedBox:li[ut].bleedBox,trimBox:li[ut].trimBox,artBox:li[ut].artBox,userUnit:li[ut].userUnit,rootDictionaryObjId:mn,resourceDictionaryObjId:zt}));En(mn,!0),sr("<</Type /Pages");var Tr="/Kids [";for(bt=0;bt<yi;bt++)Tr+=tr[bt]+" 0 R ";sr(Tr+"]"),sr("/Count "+yi),sr(">>"),sr("endobj"),Ti.publish("postPutPages")},Yr=function(bt){Ti.publish("putFont",{font:bt,out:sr,newObject:Rn,putStream:or}),bt.isAlreadyPutted!==!0&&(bt.objectNumber=Rn(),sr("<<"),sr("/Type /Font"),sr("/BaseFont /"+F(bt.postScriptName)),sr("/Subtype /Type1"),typeof bt.encoding=="string"&&sr("/Encoding /"+bt.encoding),sr("/FirstChar 32"),sr("/LastChar 255"),sr(">>"),sr("endobj"))},Jr=function(){for(var bt in Rr)Rr.hasOwnProperty(bt)&&(rn===!1||rn===!0&&Tn.hasOwnProperty(bt))&&Yr(Rr[bt])},Ci=function(bt){bt.objectNumber=Rn();var tr=[];tr.push({key:"Type",value:"/XObject"}),tr.push({key:"Subtype",value:"/Form"}),tr.push({key:"BBox",value:"["+[ti(bt.x),ti(bt.y),ti(bt.x+bt.width),ti(bt.y+bt.height)].join(" ")+"]"}),tr.push({key:"Matrix",value:"["+bt.matrix.toString()+"]"});var Tr=bt.pages[1].join(`
|
|
|
`);or({data:Tr,additionalKeyValues:tr,objectId:bt.objectNumber}),sr("endobj")},ta=function(){for(var bt in Si)Si.hasOwnProperty(bt)&&Ci(Si[bt])},oa=function(bt,tr){var Tr,et=[],X=1/(tr-1);for(Tr=0;Tr<1;Tr+=X)et.push(Tr);if(et.push(1),bt[0].offset!=0){var ee={offset:0,color:bt[0].color};bt.unshift(ee)}if(bt[bt.length-1].offset!=1){var ie={offset:1,color:bt[bt.length-1].color};bt.push(ie)}for(var we="",Ge=0,gt=0;gt<et.length;gt++){for(Tr=et[gt];Tr>bt[Ge+1].offset;)Ge++;var fn=bt[Ge].offset,In=(Tr-fn)/(bt[Ge+1].offset-fn),Jn=bt[Ge].color,Cr=bt[Ge+1].color;we+=Br(Math.round((1-In)*Jn[0]+In*Cr[0]).toString(16))+Br(Math.round((1-In)*Jn[1]+In*Cr[1]).toString(16))+Br(Math.round((1-In)*Jn[2]+In*Cr[2]).toString(16))}return we.trim()},da=function(bt,tr){tr||(tr=21);var Tr=Rn(),et=oa(bt.colors,tr),X=[];X.push({key:"FunctionType",value:"0"}),X.push({key:"Domain",value:"[0.0 1.0]"}),X.push({key:"Size",value:"["+tr+"]"}),X.push({key:"BitsPerSample",value:"8"}),X.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),X.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),or({data:et,additionalKeyValues:X,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:Tr}),sr("endobj"),bt.objectNumber=Rn(),sr("<< /ShadingType "+bt.type),sr("/ColorSpace /DeviceRGB");var ee="/Coords ["+ti(parseFloat(bt.coords[0]))+" "+ti(parseFloat(bt.coords[1]))+" ";bt.type===2?ee+=ti(parseFloat(bt.coords[2]))+" "+ti(parseFloat(bt.coords[3])):ee+=ti(parseFloat(bt.coords[2]))+" "+ti(parseFloat(bt.coords[3]))+" "+ti(parseFloat(bt.coords[4]))+" "+ti(parseFloat(bt.coords[5])),sr(ee+="]"),bt.matrix&&sr("/Matrix ["+bt.matrix.toString()+"]"),sr("/Function "+Tr+" 0 R"),sr("/Extend [true true]"),sr(">>"),sr("endobj")},ua=function(bt,tr){var Tr=Yn(),et=Rn();tr.push({resourcesOid:Tr,objectOid:et}),bt.objectNumber=et;var X=[];X.push({key:"Type",value:"/Pattern"}),X.push({key:"PatternType",value:"1"}),X.push({key:"PaintType",value:"1"}),X.push({key:"TilingType",value:"1"}),X.push({key:"BBox",value:"["+bt.boundingBox.map(ti).join(" ")+"]"}),X.push({key:"XStep",value:ti(bt.xStep)}),X.push({key:"YStep",value:ti(bt.yStep)}),X.push({key:"Resources",value:Tr+" 0 R"}),bt.matrix&&X.push({key:"Matrix",value:"["+bt.matrix.toString()+"]"}),or({data:bt.stream,additionalKeyValues:X,objectId:bt.objectNumber}),sr("endobj")},ma=function(bt){var tr;for(tr in Lr)Lr.hasOwnProperty(tr)&&(Lr[tr]instanceof H?da(Lr[tr]):Lr[tr]instanceof k&&ua(Lr[tr],bt))},ki=function(bt){for(var tr in bt.objectNumber=Rn(),sr("<<"),bt)switch(tr){case"opacity":sr("/ca "+Oi(bt[tr]));break;case"stroke-opacity":sr("/CA "+Oi(bt[tr]))}sr(">>"),sr("endobj")},Di=function(){var bt;for(bt in zr)zr.hasOwnProperty(bt)&&ki(zr[bt])},na=function(){for(var bt in sr("/XObject <<"),Si)Si.hasOwnProperty(bt)&&Si[bt].objectNumber>=0&&sr("/"+bt+" "+Si[bt].objectNumber+" 0 R");Ti.publish("putXobjectDict"),sr(">>")},qi=function(){Ga.oid=Rn(),sr("<<"),sr("/Filter /Standard"),sr("/V "+Ga.v),sr("/R "+Ga.r),sr("/U <"+Ga.toHexString(Ga.U)+">"),sr("/O <"+Ga.toHexString(Ga.O)+">"),sr("/P "+Ga.P),sr(">>"),sr("endobj")},va=function(){for(var bt in sr("/Font <<"),Rr)Rr.hasOwnProperty(bt)&&(rn===!1||rn===!0&&Tn.hasOwnProperty(bt))&&sr("/"+bt+" "+Rr[bt].objectNumber+" 0 R");sr(">>")},Ta=function(){if(Object.keys(Lr).length>0){for(var bt in sr("/Shading <<"),Lr)Lr.hasOwnProperty(bt)&&Lr[bt]instanceof H&&Lr[bt].objectNumber>=0&&sr("/"+bt+" "+Lr[bt].objectNumber+" 0 R");Ti.publish("putShadingPatternDict"),sr(">>")}},Zi=function(bt){if(Object.keys(Lr).length>0){for(var tr in sr("/Pattern <<"),Lr)Lr.hasOwnProperty(tr)&&Lr[tr]instanceof Nt.TilingPattern&&Lr[tr].objectNumber>=0&&Lr[tr].objectNumber<bt&&sr("/"+tr+" "+Lr[tr].objectNumber+" 0 R");Ti.publish("putTilingPatternDict"),sr(">>")}},Qi=function(){if(Object.keys(zr).length>0){var bt;for(bt in sr("/ExtGState <<"),zr)zr.hasOwnProperty(bt)&&zr[bt].objectNumber>=0&&sr("/"+bt+" "+zr[bt].objectNumber+" 0 R");Ti.publish("putGStateDict"),sr(">>")}},Na=function(bt){En(bt.resourcesOid,!0),sr("<<"),sr("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),va(),Ta(),Zi(bt.objectOid),Qi(),na(),sr(">>"),sr("endobj")},ga=function(){var bt=[];Jr(),Di(),ta(),ma(bt),Ti.publish("putResources"),bt.forEach(Na),Na({resourcesOid:zt,objectOid:Number.MAX_SAFE_INTEGER}),Ti.publish("postPutResources")},Ii=function(){Ti.publish("putAdditionalObjects");for(var bt=0;bt<Ai.length;bt++){var tr=Ai[bt];En(tr.objId,!0),sr(tr.content),sr("endobj")}Ti.publish("postPutAdditionalObjects")},Sa=function(bt){kr[bt.fontName]=kr[bt.fontName]||{},kr[bt.fontName][bt.fontStyle]=bt.id},Ra=function(bt,tr,Tr,et,X){var ee={id:"F"+(Object.keys(Rr).length+1).toString(10),postScriptName:bt,fontName:tr,fontStyle:Tr,encoding:et,isStandardFont:X||!1,metadata:{}};return Ti.publish("addFont",{font:ee,instance:this}),Rr[ee.id]=ee,Sa(ee),ee.id},Da=function(bt){for(var tr=0,Tr=Ui.length;tr<Tr;tr++){var et=Ra.call(this,bt[tr][0],bt[tr][1],bt[tr][2],Ui[tr][3],!0);rn===!1&&(Tn[et]=!0);var X=bt[tr][0].split("-");Sa({id:et,fontName:X[0],fontStyle:X[1]||""})}Ti.publish("addFonts",{fonts:Rr,dictionary:kr})},ka=function(bt){return bt.foo=function(){try{return bt.apply(this,arguments)}catch(et){var tr=et.stack||"";~tr.indexOf(" at ")&&(tr=tr.split(" at ")[1]);var Tr="Error in function "+tr.split(`
|
|
|
`)[0].split("<")[0]+": "+et.message;if(!A.console)throw new Error(Tr);A.console.error(Tr,et),A.alert&&alert(Tr)}},bt.foo.bar=bt,bt.foo},Pa=function(bt,tr){var Tr,et,X,ee,ie,we,Ge,gt,fn;if(X=(tr=tr||{}).sourceEncoding||"Unicode",ie=tr.outputEncoding,(tr.autoencode||ie)&&Rr[Dn].metadata&&Rr[Dn].metadata[X]&&Rr[Dn].metadata[X].encoding&&(ee=Rr[Dn].metadata[X].encoding,!ie&&Rr[Dn].encoding&&(ie=Rr[Dn].encoding),!ie&&ee.codePages&&(ie=ee.codePages[0]),typeof ie=="string"&&(ie=ee[ie]),ie)){for(Ge=!1,we=[],Tr=0,et=bt.length;Tr<et;Tr++)(gt=ie[bt.charCodeAt(Tr)])?we.push(String.fromCharCode(gt)):we.push(bt[Tr]),we[Tr].charCodeAt(0)>>8&&(Ge=!0);bt=we.join("")}for(Tr=bt.length;Ge===void 0&&Tr!==0;)bt.charCodeAt(Tr-1)>>8&&(Ge=!0),Tr--;if(!Ge)return bt;for(we=tr.noBOM?[]:[254,255],Tr=0,et=bt.length;Tr<et;Tr++){if((fn=(gt=bt.charCodeAt(Tr))>>8)>>8)throw new Error("Character at position "+Tr+" of string '"+bt+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");we.push(fn),we.push(gt-(fn<<8))}return String.fromCharCode.apply(void 0,we)},Ka=Nt.__private__.pdfEscape=Nt.pdfEscape=function(ut,bt){return Pa(ut,bt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},xa=Nt.__private__.beginPage=function(ut){Wi[++yi]=[],li[yi]={objId:0,contentsObjId:0,userUnit:Number(at),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(ut[0]),topRightY:Number(ut[1])}},ia(yi),pi(Wi[Pn])},ja=function(bt,tr){var Tr,et,X;switch(ye=tr||ye,typeof bt=="string"&&(Tr=Fn(bt.toLowerCase()),Array.isArray(Tr)&&(et=Tr[0],X=Tr[1])),Array.isArray(bt)&&(et=bt[0]*Hn,X=bt[1]*Hn),isNaN(et)&&(et=De[0],X=De[1]),(et>14400||X>14400)&&(m.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),et=Math.min(14400,et),X=Math.min(14400,X)),De=[et,X],ye.substr(0,1)){case"l":X>et&&(De=[X,et]);break;case"p":et>X&&(De=[X,et])}xa(De),Ls(nl),sr(_o),ro!==0&&sr(ro+" J"),go!==0&&sr(go+" j"),Ti.publish("addPage",{pageNumber:yi})},io=function(bt){bt>0&&bt<=yi&&(Wi.splice(bt,1),li.splice(bt,1),yi--,Pn>yi&&(Pn=yi),this.setPage(Pn))},ia=function(bt){bt>0&&bt<=yi&&(Pn=bt)},lo=Nt.__private__.getNumberOfPages=Nt.getNumberOfPages=function(){return Wi.length-1},Ya=function(bt,tr,Tr){var et,X=void 0;return Tr=Tr||{},bt=bt!==void 0?bt:Rr[Dn].fontName,tr=tr!==void 0?tr:Rr[Dn].fontStyle,et=bt.toLowerCase(),kr[et]!==void 0&&kr[et][tr]!==void 0?X=kr[et][tr]:kr[bt]!==void 0&&kr[bt][tr]!==void 0?X=kr[bt][tr]:Tr.disableWarning===!1&&m.warn("Unable to look up font label for font '"+bt+"', '"+tr+"'. Refer to getFontList() for available fonts."),X||Tr.noFallback||(X=kr.times[tr])==null&&(X=kr.times.normal),X},Ca=Nt.__private__.putInfo=function(){var ut=Rn(),bt=function(et){return et};for(var tr in pn!==null&&(bt=Ga.encryptor(ut,0)),sr("<<"),sr("/Producer ("+Ka(bt("jsPDF "+P.version))+")"),Cn)Cn.hasOwnProperty(tr)&&Cn[tr]&&sr("/"+tr.substr(0,1).toUpperCase()+tr.substr(1)+" ("+Ka(bt(Cn[tr]))+")");sr("/CreationDate ("+Ka(bt(ci))+")"),sr(">>"),sr("endobj")},Xa=Nt.__private__.putCatalog=function(ut){var bt=(ut=ut||{}).rootDictionaryObjId||mn;switch(Rn(),sr("<<"),sr("/Type /Catalog"),sr("/Pages "+bt+" 0 R"),Bt||(Bt="fullwidth"),Bt){case"fullwidth":sr("/OpenAction [3 0 R /FitH null]");break;case"fullheight":sr("/OpenAction [3 0 R /FitV null]");break;case"fullpage":sr("/OpenAction [3 0 R /Fit]");break;case"original":sr("/OpenAction [3 0 R /XYZ null null 1]");break;default:var tr=""+Bt;tr.substr(tr.length-1)==="%"&&(Bt=parseInt(Bt)/100),typeof Bt=="number"&&sr("/OpenAction [3 0 R /XYZ null null "+Oi(Bt)+"]")}switch(At||(At="continuous"),At){case"continuous":sr("/PageLayout /OneColumn");break;case"single":sr("/PageLayout /SinglePage");break;case"two":case"twoleft":sr("/PageLayout /TwoColumnLeft");break;case"tworight":sr("/PageLayout /TwoColumnRight")}fr&&sr("/PageMode /"+fr),Ti.publish("putCatalog"),sr(">>"),sr("endobj")},Ba=Nt.__private__.putTrailer=function(){sr("trailer"),sr("<<"),sr("/Size "+(Qr+1)),sr("/Root "+Qr+" 0 R"),sr("/Info "+(Qr-1)+" 0 R"),pn!==null&&sr("/Encrypt "+Ga.oid+" 0 R"),sr("/ID [ <"+qr+"> <"+qr+"> ]"),sr(">>")},La=Nt.__private__.putHeader=function(){sr("%PDF-"+ur),sr("%\xBA\xDF\xAC\xE0")},yo=Nt.__private__.putXRef=function(){var ut="0000000000";sr("xref"),sr("0 "+(Qr+1)),sr("0000000000 65535 f ");for(var bt=1;bt<=Qr;bt++)typeof $r[bt]=="function"?sr((ut+$r[bt]()).slice(-10)+" 00000 n "):$r[bt]!==void 0?sr((ut+$r[bt]).slice(-10)+" 00000 n "):sr("0000000000 00000 n ")},ao=Nt.__private__.buildDocument=function(){Ha(),pi(hi),Ti.publish("buildDocument"),La(),_r(),Ii(),ga(),pn!==null&&qi(),Ca(),Xa();var ut=fi;return yo(),Ba(),sr("startxref"),sr(""+ut),sr("%%EOF"),pi(Wi[Pn]),hi.join(`
|
|
|
`)},bo=Nt.__private__.getBlob=function(ut){return new Blob([Ji(ut)],{type:"application/pdf"})},uo=Nt.output=Nt.__private__.output=ka(function(ut,bt){switch(typeof(bt=bt||{})=="string"?bt={filename:bt}:bt.filename=bt.filename||"generated.pdf",ut){case void 0:return ao();case"save":Nt.save(bt.filename);break;case"arraybuffer":return Ji(ao());case"blob":return bo(ao());case"bloburi":case"bloburl":if(A.URL!==void 0&&typeof A.URL.createObjectURL=="function")return A.URL&&A.URL.createObjectURL(bo(ao()))||void 0;m.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var tr="",Tr=ao();try{tr=i(Tr)}catch(Jn){tr=i(unescape(encodeURIComponent(Tr)))}return"data:application/pdf;filename="+bt.filename+";base64,"+tr;case"pdfobjectnewwindow":if(Object.prototype.toString.call(A)==="[object Window]"){var et="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",X=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';bt.pdfObjectUrl&&(et=bt.pdfObjectUrl,X="");var ee='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+et+'"'+X+'></script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(bt)+");</script></body></html>",ie=A.open();return ie!==null&&ie.document.write(ee),ie}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(A)==="[object Window]"){var we='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(bt.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+bt.filename+'" width="500px" height="400px" /></body></html>',Ge=A.open();if(Ge!==null){Ge.document.write(we);var gt=this;Ge.document.documentElement.querySelector("#pdfViewer").onload=function(){Ge.document.title=bt.filename,Ge.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(gt.output("bloburl"))}}return Ge}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(A)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var fn='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",bt)+'"></iframe></body></html>',In=A.open();if(In!==null&&(In.document.write(fn),In.document.title=bt.filename),In||typeof safari=="undefined")return In;break;case"datauri":case"dataurl":return A.document.location.href=this.output("datauristring",bt);default:return null}}),co=function(bt){return Array.isArray(Fi)===!0&&Fi.indexOf(bt)>-1};switch(xe){case"pt":Hn=1;break;case"mm":Hn=72/25.4;break;case"cm":Hn=72/2.54;break;case"in":Hn=72;break;case"px":Hn=co("px_scaling")==1?.75:96/72;break;case"pc":case"em":Hn=12;break;case"ex":Hn=6;break;default:if(typeof xe!="number")throw new Error("Invalid unit: "+xe);Hn=xe}var Ga=null;Mi(),Xr();var eo=function(bt){return pn!==null?Ga.encryptor(bt,0):function(tr){return tr}},wa=Nt.__private__.getPageInfo=Nt.getPageInfo=function(ut){if(isNaN(ut)||ut%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:li[ut].objId,pageNumber:ut,pageContext:li[ut]}},no=Nt.__private__.getPageInfoByObjId=function(ut){if(isNaN(ut)||ut%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var bt in li)if(li[bt].objId===ut)break;return wa(bt)},fo=Nt.__private__.getCurrentPageInfo=Nt.getCurrentPageInfo=function(){return{objId:li[Pn].objId,pageNumber:Pn,pageContext:li[Pn]}};Nt.addPage=function(){return ja.apply(this,arguments),this},Nt.setPage=function(){return ia.apply(this,arguments),pi.call(this,Wi[Pn]),this},Nt.insertPage=function(ut){return this.addPage(),this.movePage(Pn,ut),this},Nt.movePage=function(ut,bt){var tr,Tr;if(ut>bt){tr=Wi[ut],Tr=li[ut];for(var et=ut;et>bt;et--)Wi[et]=Wi[et-1],li[et]=li[et-1];Wi[bt]=tr,li[bt]=Tr,this.setPage(bt)}else if(ut<bt){tr=Wi[ut],Tr=li[ut];for(var X=ut;X<bt;X++)Wi[X]=Wi[X+1],li[X]=li[X+1];Wi[bt]=tr,li[bt]=Tr,this.setPage(bt)}return this},Nt.deletePage=function(){return io.apply(this,arguments),this},Nt.__private__.text=Nt.text=function(ut,bt,tr,Tr,et){var X,ee,ie,we,Ge,gt,fn,In,Jn,Cr=(Tr=Tr||{}).scope||this;if(typeof ut=="number"&&typeof bt=="number"&&(typeof tr=="string"||Array.isArray(tr))){var Hr=tr;tr=bt,bt=ut,ut=Hr}if(arguments[3]instanceof Wr==!1?(ie=arguments[4],we=arguments[5],g()(fn=arguments[3])==="object"&&fn!==null||(typeof ie=="string"&&(we=ie,ie=null),typeof fn=="string"&&(we=fn,fn=null),typeof fn=="number"&&(ie=fn,fn=null),Tr={flags:fn,angle:ie,align:we})):(bi("The transform parameter of text() with a Matrix value"),Jn=et),isNaN(bt)||isNaN(tr)||ut==null)throw new Error("Invalid arguments passed to jsPDF.text");if(ut.length===0)return Cr;var si="",xi=!1,Bi=typeof Tr.lineHeightFactor=="number"?Tr.lineHeightFactor:Yo,sa=Cr.internal.scaleFactor;function ya(ko){return ko=ko.split(" ").join(Array(Tr.TabLen||9).join(" ")),Ka(ko,fn)}function Ja(ko){for(var Oo,Zo=ko.concat(),xo=[],Ws=Zo.length;Ws--;)typeof(Oo=Zo.shift())=="string"?xo.push(Oo):Array.isArray(ko)&&(Oo.length===1||Oo[1]===void 0&&Oo[2]===void 0)?xo.push(Oo[0]):xo.push([Oo[0],Oo[1],Oo[2]]);return xo}function $a(ko,Oo){var Zo;if(typeof ko=="string")Zo=Oo(ko)[0];else if(Array.isArray(ko)){for(var xo,Ws,wl=ko.concat(),Sl=[],Pl=wl.length;Pl--;)typeof(xo=wl.shift())=="string"?Sl.push(Oo(xo)[0]):Array.isArray(xo)&&typeof xo[0]=="string"&&(Ws=Oo(xo[0],xo[1],xo[2]),Sl.push([Ws[0],Ws[1],Ws[2]]));Zo=Sl}return Zo}var to=!1,Lo=!0;if(typeof ut=="string")to=!0;else if(Array.isArray(ut)){var Co=ut.concat();ee=[];for(var Bo,Ao=Co.length;Ao--;)(typeof(Bo=Co.shift())!="string"||Array.isArray(Bo)&&typeof Bo[0]!="string")&&(Lo=!1);to=Lo}if(to===!1)throw new Error('Type of text must be string or Array. "'+ut+'" is not recognized.');typeof ut=="string"&&(ut=ut.match(/[\r?\n]/)?ut.split(/\r\n|\r|\n/g):[ut]);var So=ea/Cr.internal.scaleFactor,is=So*(Bi-1);switch(Tr.baseline){case"bottom":tr-=is;break;case"top":tr+=So-is;break;case"hanging":tr+=So-2*is;break;case"middle":tr+=So/2-is}if((gt=Tr.maxWidth||0)>0&&(typeof ut=="string"?ut=Cr.splitTextToSize(ut,gt):Object.prototype.toString.call(ut)==="[object Array]"&&(ut=ut.reduce(function(ko,Oo){return ko.concat(Cr.splitTextToSize(Oo,gt))},[]))),X={text:ut,x:bt,y:tr,options:Tr,mutex:{pdfEscape:Ka,activeFontKey:Dn,fonts:Rr,activeFontSize:ea}},Ti.publish("preProcessText",X),ut=X.text,ie=(Tr=X.options).angle,Jn instanceof Wr==!1&&ie&&typeof ie=="number"){ie*=Math.PI/180,Tr.rotationDirection===0&&(ie=-ie),Sr===un.ADVANCED&&(ie=-ie);var ts=Math.cos(ie),Io=Math.sin(ie);Jn=new Wr(ts,Io,-Io,ts,0,0)}else ie&&ie instanceof Wr&&(Jn=ie);Sr!==un.ADVANCED||Jn||(Jn=Ki),(Ge=Tr.charSpace||zs)!==void 0&&(si+=ti(Wn(Ge))+` Tc
|
|
|
`,this.setCharSpace(this.getCharSpace()||0)),(In=Tr.horizontalScale)!==void 0&&(si+=ti(100*In)+` Tz
|
|
|
`),Tr.lang;var Gi=-1,Rs=Tr.renderingMode!==void 0?Tr.renderingMode:Tr.stroke,Es=Cr.internal.getCurrentPageInfo().pageContext;switch(Rs){case 0:case!1:case"fill":Gi=0;break;case 1:case!0:case"stroke":Gi=1;break;case 2:case"fillThenStroke":Gi=2;break;case 3:case"invisible":Gi=3;break;case 4:case"fillAndAddForClipping":Gi=4;break;case 5:case"strokeAndAddPathForClipping":Gi=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":Gi=6;break;case 7:case"addToPathForClipping":Gi=7}var as=Es.usedRenderingMode!==void 0?Es.usedRenderingMode:-1;Gi!==-1?si+=Gi+` Tr
|
|
|
`:as!==-1&&(si+=`0 Tr
|
|
|
`),Gi!==-1&&(Es.usedRenderingMode=Gi),we=Tr.align||"left";var Xo,hs=ea*Bi,Al=Cr.internal.pageSize.getWidth(),ol=Rr[Dn];Ge=Tr.charSpace||zs,gt=Tr.maxWidth||0,fn=Object.assign({autoencode:!0,noBOM:!0},Tr.flags);var fs=[];if(Object.prototype.toString.call(ut)==="[object Array]"){var No;ee=Ja(ut),we!=="left"&&(Xo=ee.map(function(ko){return Cr.getStringUnitWidth(ko,{font:ol,charSpace:Ge,fontSize:ea,doKerning:!1})*ea/sa}));var ls,Zs=0;if(we==="right"){bt-=Xo[0],ut=[],Ao=ee.length;for(var gs=0;gs<Ao;gs++)gs===0?(ls=Ho(bt),No=mo(tr)):(ls=Wn(Zs-Xo[gs]),No=-hs),ut.push([ee[gs],ls,No]),Zs=Xo[gs]}else if(we==="center"){bt-=Xo[0]/2,ut=[],Ao=ee.length;for(var Us=0;Us<Ao;Us++)Us===0?(ls=Ho(bt),No=mo(tr)):(ls=Wn((Zs-Xo[Us])/2),No=-hs),ut.push([ee[Us],ls,No]),Zs=Xo[Us]}else if(we==="left"){ut=[],Ao=ee.length;for(var ks=0;ks<Ao;ks++)ut.push(ee[ks])}else{if(we!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');ut=[],Ao=ee.length,gt=gt!==0?gt:Al;for(var Bs=0;Bs<Ao;Bs++)No=Bs===0?mo(tr):-hs,ls=Bs===0?Ho(bt):0,Bs<Ao-1?fs.push(ti(Wn((gt-Xo[Bs])/(ee[Bs].split(" ").length-1)))):fs.push(0),ut.push([ee[Bs],ls,No])}}var il=typeof Tr.R2L=="boolean"?Tr.R2L:nr;il===!0&&(ut=$a(ut,function(ko,Oo,Zo){return[ko.split("").reverse().join(""),Oo,Zo]})),X={text:ut,x:bt,y:tr,options:Tr,mutex:{pdfEscape:Ka,activeFontKey:Dn,fonts:Rr,activeFontSize:ea}},Ti.publish("postProcessText",X),ut=X.text,xi=X.mutex.isHex||!1;var $s=Rr[Dn].encoding;$s!=="WinAnsiEncoding"&&$s!=="StandardEncoding"||(ut=$a(ut,function(ko,Oo,Zo){return[ya(ko),Oo,Zo]})),ee=Ja(ut),ut=[];for(var Gs,js,Qa,Aa=0,Wa=1,oo=Array.isArray(ee[0])?Wa:Aa,Jo="",Hs=function(Oo,Zo,xo){var Ws="";return xo instanceof Wr?(xo=typeof Tr.angle=="number"?Ri(xo,new Wr(1,0,0,1,Oo,Zo)):Ri(new Wr(1,0,0,1,Oo,Zo),xo),Sr===un.ADVANCED&&(xo=Ri(new Wr(1,0,0,-1,0,0),xo)),Ws=xo.join(" ")+` Tm
|
|
|
`):Ws=ti(Oo)+" "+ti(Zo)+` Td
|
|
|
`,Ws},bs=0;bs<ee.length;bs++){switch(Jo="",oo){case Wa:Qa=(xi?"<":"(")+ee[bs][0]+(xi?">":")"),Gs=parseFloat(ee[bs][1]),js=parseFloat(ee[bs][2]);break;case Aa:Qa=(xi?"<":"(")+ee[bs]+(xi?">":")"),Gs=Ho(bt),js=mo(tr)}fs!==void 0&&fs[bs]!==void 0&&(Jo=fs[bs]+` Tw
|
|
|
`),bs===0?ut.push(Jo+Hs(Gs,js,Jn)+Qa):oo===Aa?ut.push(Jo+Qa):oo===Wa&&ut.push(Jo+Hs(Gs,js,Jn)+Qa)}ut=oo===Aa?ut.join(` Tj
|
|
|
T* `):ut.join(` Tj
|
|
|
`),ut+=` Tj
|
|
|
`;var ws=`BT
|
|
|
/`;return ws+=Dn+" "+ea+` Tf
|
|
|
`,ws+=ti(ea*Bi)+` TL
|
|
|
`,ws+=Go+`
|
|
|
`,ws+=si,ws+=ut,sr(ws+="ET"),Tn[Dn]=!0,Cr};var _i=Nt.__private__.clip=Nt.clip=function(ut){return sr(ut==="evenodd"?"W*":"W"),this};Nt.clipEvenOdd=function(){return _i("evenodd")},Nt.__private__.discardPath=Nt.discardPath=function(){return sr("n"),this};var Ma=Nt.__private__.isValidStyle=function(ut){var bt=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(ut)!==-1&&(bt=!0),bt};Nt.__private__.setDefaultPathOperation=Nt.setDefaultPathOperation=function(ut){return Ma(ut)&&(It=ut),this};var Ro=Nt.__private__.getStyle=Nt.getStyle=function(ut){var bt=It;switch(ut){case"D":case"S":bt="S";break;case"F":bt="f";break;case"FD":case"DF":bt="B";break;case"f":case"f*":case"B":case"B*":bt=ut}return bt},jo=Nt.close=function(){return sr("h"),this};Nt.stroke=function(){return sr("S"),this},Nt.fill=function(ut){return Vo("f",ut),this},Nt.fillEvenOdd=function(ut){return Vo("f*",ut),this},Nt.fillStroke=function(ut){return Vo("B",ut),this},Nt.fillStrokeEvenOdd=function(ut){return Vo("B*",ut),this};var Vo=function(bt,tr){g()(tr)==="object"?Oa(tr,bt):sr(bt)},Qo=function(bt){bt===null||Sr===un.ADVANCED&&bt===void 0||(bt=Ro(bt),sr(bt))};function wo(ut,bt,tr,Tr,et){var X=new k(bt||this.boundingBox,tr||this.xStep,Tr||this.yStep,this.gState,et||this.matrix);X.stream=this.stream;var ee=ut+"$$"+this.cloneIndex+++"$$";return hn(ee,X),X}var Oa=function(bt,tr){var Tr=Ir[bt.key],et=Lr[Tr];if(et instanceof H)sr("q"),sr(Po(tr)),et.gState&&Nt.setGState(et.gState),sr(bt.matrix.toString()+" cm"),sr("/"+Tr+" sh"),sr("Q");else if(et instanceof k){var X=new Wr(1,0,0,-1,0,As());bt.matrix&&(X=X.multiply(bt.matrix||Ki),Tr=wo.call(et,bt.key,bt.boundingBox,bt.xStep,bt.yStep,X).id),sr("q"),sr("/Pattern cs"),sr("/"+Tr+" scn"),et.gState&&Nt.setGState(et.gState),sr(tr),sr("Q")}},Po=function(bt){switch(bt){case"f":case"F":return"W n";case"f*":return"W* n";case"B":return"W S";case"B*":return"W* S";case"S":return"W S";case"n":return"W n"}},ds=Nt.moveTo=function(ut,bt){return sr(ti(Wn(ut))+" "+ti(er(bt))+" m"),this},ho=Nt.lineTo=function(ut,bt){return sr(ti(Wn(ut))+" "+ti(er(bt))+" l"),this},To=Nt.curveTo=function(ut,bt,tr,Tr,et,X){return sr([ti(Wn(ut)),ti(er(bt)),ti(Wn(tr)),ti(er(Tr)),ti(Wn(et)),ti(er(X)),"c"].join(" ")),this};Nt.__private__.line=Nt.line=function(ut,bt,tr,Tr,et){if(isNaN(ut)||isNaN(bt)||isNaN(tr)||isNaN(Tr)||!Ma(et))throw new Error("Invalid arguments passed to jsPDF.line");return Sr===un.COMPAT?this.lines([[tr-ut,Tr-bt]],ut,bt,[1,1],et||"S"):this.lines([[tr-ut,Tr-bt]],ut,bt,[1,1]).stroke()},Nt.__private__.lines=Nt.lines=function(ut,bt,tr,Tr,et,X){var ee,ie,we,Ge,gt,fn,In,Jn,Cr,Hr,si,xi;if(typeof ut=="number"&&(xi=tr,tr=bt,bt=ut,ut=xi),Tr=Tr||[1,1],X=X||!1,isNaN(bt)||isNaN(tr)||!Array.isArray(ut)||!Array.isArray(Tr)||!Ma(et)||typeof X!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(ds(bt,tr),ee=Tr[0],ie=Tr[1],Ge=ut.length,Hr=bt,si=tr,we=0;we<Ge;we++)(gt=ut[we]).length===2?(Hr=gt[0]*ee+Hr,si=gt[1]*ie+si,ho(Hr,si)):(fn=gt[0]*ee+Hr,In=gt[1]*ie+si,Jn=gt[2]*ee+Hr,Cr=gt[3]*ie+si,Hr=gt[4]*ee+Hr,si=gt[5]*ie+si,To(fn,In,Jn,Cr,Hr,si));return X&&jo(),Qo(et),this},Nt.path=function(ut){for(var bt=0;bt<ut.length;bt++){var tr=ut[bt],Tr=tr.c;switch(tr.op){case"m":ds(Tr[0],Tr[1]);break;case"l":ho(Tr[0],Tr[1]);break;case"c":To.apply(this,Tr);break;case"h":jo()}}return this},Nt.__private__.rect=Nt.rect=function(ut,bt,tr,Tr,et){if(isNaN(ut)||isNaN(bt)||isNaN(tr)||isNaN(Tr)||!Ma(et))throw new Error("Invalid arguments passed to jsPDF.rect");return Sr===un.COMPAT&&(Tr=-Tr),sr([ti(Wn(ut)),ti(er(bt)),ti(Wn(tr)),ti(Wn(Tr)),"re"].join(" ")),Qo(et),this},Nt.__private__.triangle=Nt.triangle=function(ut,bt,tr,Tr,et,X,ee){if(isNaN(ut)||isNaN(bt)||isNaN(tr)||isNaN(Tr)||isNaN(et)||isNaN(X)||!Ma(ee))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[tr-ut,Tr-bt],[et-tr,X-Tr],[ut-et,bt-X]],ut,bt,[1,1],ee,!0),this},Nt.__private__.roundedRect=Nt.roundedRect=function(ut,bt,tr,Tr,et,X,ee){if(isNaN(ut)||isNaN(bt)||isNaN(tr)||isNaN(Tr)||isNaN(et)||isNaN(X)||!Ma(ee))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var ie=4/3*(Math.SQRT2-1);return et=Math.min(et,.5*tr),X=Math.min(X,.5*Tr),this.lines([[tr-2*et,0],[et*ie,0,et,X-X*ie,et,X],[0,Tr-2*X],[0,X*ie,-et*ie,X,-et,X],[2*et-tr,0],[-et*ie,0,-et,-X*ie,-et,-X],[0,2*X-Tr],[0,-X*ie,et*ie,-X,et,-X]],ut+et,bt,[1,1],ee,!0),this},Nt.__private__.ellipse=Nt.ellipse=function(ut,bt,tr,Tr,et){if(isNaN(ut)||isNaN(bt)||isNaN(tr)||isNaN(Tr)||!Ma(et))throw new Error("Invalid arguments passed to jsPDF.ellipse");var X=4/3*(Math.SQRT2-1)*tr,ee=4/3*(Math.SQRT2-1)*Tr;return ds(ut+tr,bt),To(ut+tr,bt-ee,ut+X,bt-Tr,ut,bt-Tr),To(ut-X,bt-Tr,ut-tr,bt-ee,ut-tr,bt),To(ut-tr,bt+ee,ut-X,bt+Tr,ut,bt+Tr),To(ut+X,bt+Tr,ut+tr,bt+ee,ut+tr,bt),Qo(et),this},Nt.__private__.circle=Nt.circle=function(ut,bt,tr,Tr){if(isNaN(ut)||isNaN(bt)||isNaN(tr)||!Ma(Tr))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(ut,bt,tr,tr,Tr)},Nt.setFont=function(ut,bt,tr){return tr&&(bt=oi(bt,tr)),Dn=Ya(ut,bt,{disableWarning:!1}),this};var za=Nt.__private__.getFont=Nt.getFont=function(){return Rr[Ya.apply(Nt,arguments)]};Nt.__private__.getFontList=Nt.getFontList=function(){var ut,bt,tr={};for(ut in kr)if(kr.hasOwnProperty(ut))for(bt in tr[ut]=[],kr[ut])kr[ut].hasOwnProperty(bt)&&tr[ut].push(bt);return tr},Nt.addFont=function(ut,bt,tr,Tr,et){var X=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&X.indexOf(arguments[3])!==-1?et=arguments[3]:arguments[3]&&X.indexOf(arguments[3])==-1&&(tr=oi(tr,Tr)),et=et||"Identity-H",Ra.call(this,ut,bt,tr,et)};var Yo,nl=Be.lineWidth||.200025,Is=Nt.__private__.getLineWidth=Nt.getLineWidth=function(){return nl},Ls=Nt.__private__.setLineWidth=Nt.setLineWidth=function(ut){return nl=ut,sr(ti(Wn(ut))+" w"),this};Nt.__private__.setLineDash=P.API.setLineDash=P.API.setLineDashPattern=function(ut,bt){if(ut=ut||[],bt=bt||0,isNaN(bt)||!Array.isArray(ut))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return ut=ut.map(function(tr){return ti(Wn(tr))}).join(" "),bt=ti(Wn(bt)),sr("["+ut+"] "+bt+" d"),this};var xs=Nt.__private__.getLineHeight=Nt.getLineHeight=function(){return ea*Yo};Nt.__private__.getLineHeight=Nt.getLineHeight=function(){return ea*Yo};var ps=Nt.__private__.setLineHeightFactor=Nt.setLineHeightFactor=function(ut){return typeof(ut=ut||1.15)=="number"&&(Yo=ut),this},Ts=Nt.__private__.getLineHeightFactor=Nt.getLineHeightFactor=function(){return Yo};ps(Be.lineHeight);var Ho=Nt.__private__.getHorizontalCoordinate=function(ut){return Wn(ut)},mo=Nt.__private__.getVerticalCoordinate=function(ut){return Sr===un.ADVANCED?ut:li[Pn].mediaBox.topRightY-li[Pn].mediaBox.bottomLeftY-Wn(ut)},es=Nt.__private__.getHorizontalCoordinateString=Nt.getHorizontalCoordinateString=function(ut){return ti(Ho(ut))},zo=Nt.__private__.getVerticalCoordinateString=Nt.getVerticalCoordinateString=function(ut){return ti(mo(ut))},_o=Be.strokeColor||"0 G";Nt.__private__.getStrokeColor=Nt.getDrawColor=function(){return _n(_o)},Nt.__private__.setStrokeColor=Nt.setDrawColor=function(ut,bt,tr,Tr){return _o=kn({ch1:ut,ch2:bt,ch3:tr,ch4:Tr,pdfColorType:"draw",precision:2}),sr(_o),this};var zn=Be.fillColor||"0 g";Nt.__private__.getFillColor=Nt.getFillColor=function(){return _n(zn)},Nt.__private__.setFillColor=Nt.setFillColor=function(ut,bt,tr,Tr){return zn=kn({ch1:ut,ch2:bt,ch3:tr,ch4:Tr,pdfColorType:"fill",precision:2}),sr(zn),this};var Go=Be.textColor||"0 g",rl=Nt.__private__.getTextColor=Nt.getTextColor=function(){return _n(Go)};Nt.__private__.setTextColor=Nt.setTextColor=function(ut,bt,tr,Tr){return Go=kn({ch1:ut,ch2:bt,ch3:tr,ch4:Tr,pdfColorType:"text",precision:3}),this};var zs=Be.charSpace,Ps=Nt.__private__.getCharSpace=Nt.getCharSpace=function(){return parseFloat(zs||0)};Nt.__private__.setCharSpace=Nt.setCharSpace=function(ut){if(isNaN(ut))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return zs=ut,this};var ro=0;Nt.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},Nt.__private__.setLineCap=Nt.setLineCap=function(ut){var bt=Nt.CapJoinStyles[ut];if(bt===void 0)throw new Error("Line cap style of '"+ut+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return ro=bt,sr(bt+" J"),this};var go=0;Nt.__private__.setLineJoin=Nt.setLineJoin=function(ut){var bt=Nt.CapJoinStyles[ut];if(bt===void 0)throw new Error("Line join style of '"+ut+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return go=bt,sr(bt+" j"),this},Nt.__private__.setLineMiterLimit=Nt.__private__.setMiterLimit=Nt.setLineMiterLimit=Nt.setMiterLimit=function(ut){if(ut=ut||0,isNaN(ut))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return sr(ti(Wn(ut))+" M"),this},Nt.GState=K,Nt.setGState=function(ut){(ut=typeof ut=="string"?zr[Gr[ut]]:Uo(null,ut)).equals(ri)||(sr("/"+ut.id+" gs"),ri=ut)};var Uo=function(bt,tr){if(!bt||!Gr[bt]){var Tr=!1;for(var et in zr)if(zr.hasOwnProperty(et)&&zr[et].equals(tr)){Tr=!0;break}if(Tr)tr=zr[et];else{var X="GS"+(Object.keys(zr).length+1).toString(10);zr[X]=tr,tr.id=X}return bt&&(Gr[bt]=tr.id),Ti.publish("addGState",tr),tr}};Nt.addGState=function(ut,bt){return Uo(ut,bt),this},Nt.saveGraphicsState=function(){return sr("q"),wr.push({key:Dn,size:ea,color:Go}),this},Nt.restoreGraphicsState=function(){sr("Q");var ut=wr.pop();return Dn=ut.key,ea=ut.size,Go=ut.color,ri=null,this},Nt.setCurrentTransformationMatrix=function(ut){return sr(ut.toString()+" cm"),this},Nt.comment=function(ut){return sr("#"+ut),this};var rs=function(bt,tr){var Tr=bt||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Tr},set:function(ie){isNaN(ie)||(Tr=parseFloat(ie))}});var et=tr||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return et},set:function(ie){isNaN(ie)||(et=parseFloat(ie))}});var X="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return X},set:function(ie){X=ie.toString()}}),this},ys=function(bt,tr,Tr,et){rs.call(this,bt,tr),this.type="rect";var X=Tr||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return X},set:function(we){isNaN(we)||(X=parseFloat(we))}});var ee=et||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return ee},set:function(we){isNaN(we)||(ee=parseFloat(we))}}),this},ms=function(){this.page=yi,this.currentPage=Pn,this.pages=Wi.slice(0),this.pagesContext=li.slice(0),this.x=ar,this.y=Er,this.matrix=gr,this.width=Ys(Pn),this.height=As(Pn),this.outputDestination=$i,this.id="",this.objectNumber=-1};ms.prototype.restore=function(){yi=this.page,Pn=this.currentPage,li=this.pagesContext,Wi=this.pages,ar=this.x,Er=this.y,gr=this.matrix,_s(Pn,this.width),Ds(Pn,this.height),$i=this.outputDestination};var Os=function(bt,tr,Tr,et,X){Ni.push(new ms),yi=Pn=0,Wi=[],ar=bt,Er=tr,gr=X,xa([Tr,et])},al=function(bt){if(mi[bt])Ni.pop().restore();else{var tr=new ms,Tr="Xo"+(Object.keys(Si).length+1).toString(10);tr.id=Tr,mi[bt]=Tr,Si[Tr]=tr,Ti.publish("addFormObject",tr),Ni.pop().restore()}};for(var Ns in Nt.beginFormObject=function(ut,bt,tr,Tr,et){return Os(ut,bt,tr,Tr,et),this},Nt.endFormObject=function(ut){return al(ut),this},Nt.doFormObject=function(ut,bt){var tr=Si[mi[ut]];return sr("q"),sr(bt.toString()+" cm"),sr("/"+tr.id+" Do"),sr("Q"),this},Nt.getFormObject=function(ut){var bt=Si[mi[ut]];return{x:bt.x,y:bt.y,width:bt.width,height:bt.height,matrix:bt.matrix}},Nt.save=function(ut,bt){return ut=ut||"generated.pdf",(bt=bt||{}).returnPromise=bt.returnPromise||!1,bt.returnPromise===!1?(n(bo(ao()),ut),typeof n.unload=="function"&&A.setTimeout&&setTimeout(n.unload,911),this):new Promise(function(tr,Tr){try{var et=n(bo(ao()),ut);typeof n.unload=="function"&&A.setTimeout&&setTimeout(n.unload,911),tr(et)}catch(X){Tr(X.message)}})},P.API)P.API.hasOwnProperty(Ns)&&(Ns==="events"&&P.API.events.length?function(ut,bt){var tr,Tr,et;for(et=bt.length-1;et!==-1;et--)tr=bt[et][0],Tr=bt[et][1],ut.subscribe.apply(ut,[tr].concat(typeof Tr=="function"?[Tr]:Tr))}(Ti,P.API.events):Nt[Ns]=P.API[Ns]);var Ys=Nt.getPageWidth=function(ut){return(li[ut=ut||Pn].mediaBox.topRightX-li[ut].mediaBox.bottomLeftX)/Hn},_s=Nt.setPageWidth=function(ut,bt){li[ut].mediaBox.topRightX=bt*Hn+li[ut].mediaBox.bottomLeftX},As=Nt.getPageHeight=function(ut){return(li[ut=ut||Pn].mediaBox.topRightY-li[ut].mediaBox.bottomLeftY)/Hn},Ds=Nt.setPageHeight=function(ut,bt){li[ut].mediaBox.topRightY=bt*Hn+li[ut].mediaBox.bottomLeftY};return Nt.internal={pdfEscape:Ka,getStyle:Ro,getFont:za,getFontSize:Vn,getCharSpace:Ps,getTextColor:rl,getLineHeight:xs,getLineHeightFactor:Ts,getLineWidth:Is,write:Li,getHorizontalCoordinate:Ho,getVerticalCoordinate:mo,getCoordinateString:es,getVerticalCoordinateString:zo,collections:{},newObject:Rn,newAdditionalObject:Mt,newObjectDeferred:Yn,newObjectDeferredBegin:En,getFilters:pr,putStream:or,events:Ti,scaleFactor:Hn,pageSize:{getWidth:function(){return Ys(Pn)},setWidth:function(bt){_s(Pn,bt)},getHeight:function(){return As(Pn)},setHeight:function(bt){Ds(Pn,bt)}},encryptionOptions:pn,encryption:Ga,getEncryptor:eo,output:uo,getNumberOfPages:lo,pages:Wi,out:sr,f2:Oi,f3:Ar,getPageInfo:wa,getPageInfoByObjId:no,getCurrentPageInfo:fo,getPDFVersion:Xt,Point:rs,Rectangle:ys,Matrix:Wr,hasHotfix:co},Object.defineProperty(Nt.internal.pageSize,"width",{get:function(){return Ys(Pn)},set:function(bt){_s(Pn,bt)},enumerable:!0,configurable:!0}),Object.defineProperty(Nt.internal.pageSize,"height",{get:function(){return As(Pn)},set:function(bt){Ds(Pn,bt)},enumerable:!0,configurable:!0}),Da.call(Nt,Ui),Dn="F1",ja(De,ye),Ti.publish("initialized"),Nt}R.prototype.lsbFirstWord=function(Be){return String.fromCharCode(Be>>0&255,Be>>8&255,Be>>16&255,Be>>24&255)},R.prototype.toHexString=function(Be){return Be.split("").map(function(le){return("0"+(255&le.charCodeAt(0)).toString(16)).slice(-2)}).join("")},R.prototype.hexToBytes=function(Be){for(var le=[],ye=0;ye<Be.length;ye+=2)le.push(String.fromCharCode(parseInt(Be.substr(ye,2),16)));return le.join("")},R.prototype.processOwnerPassword=function(Be,le){return D(S(le).substr(0,5),Be)},R.prototype.encryptor=function(Be,le){var ye=S(this.encryptionKey+String.fromCharCode(255&Be,Be>>8&255,Be>>16&255,255&le,le>>8&255)).substr(0,10);return function(xe){return D(ye,xe)}},K.prototype.equals=function(Be){var le,ye="id,objectNumber,equals";if(!Be||g()(Be)!==g()(this))return!1;var xe=0;for(le in this)if(!(ye.indexOf(le)>=0)){if(this.hasOwnProperty(le)&&!Be.hasOwnProperty(le))return!1;if(this[le]!==Be[le])return!1;xe++}for(le in Be)Be.hasOwnProperty(le)&&ye.indexOf(le)<0&&xe--;return xe===0},P.API={events:[]},P.version="2.5.1";var z=P.API,Y=1,_=function(le){return le.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},G=function(le){return le.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},J=function(le){return le.toFixed(2)},ue=function(le){return le.toFixed(5)};z.__acroform__={};var q=function(le,ye){le.prototype=Object.create(ye.prototype),le.prototype.constructor=le},re=function(le){return le*Y},me=function(le){var ye=new it,xe=he.internal.getHeight(le)||0,De=he.internal.getWidth(le)||0;return ye.BBox=[0,0,Number(J(De)),Number(J(xe))],ye},be=z.__acroform__.setBit=function(Be,le){if(Be=Be||0,le=le||0,isNaN(Be)||isNaN(le))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return Be|=1<<le},ke=z.__acroform__.clearBit=function(Be,le){if(Be=Be||0,le=le||0,isNaN(Be)||isNaN(le))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return Be&=~(1<<le)},ce=z.__acroform__.getBit=function(Be,le){if(isNaN(Be)||isNaN(le))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return(Be&1<<le)==0?0:1},Ee=z.__acroform__.getBitForPdf=function(Be,le){if(isNaN(Be)||isNaN(le))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return ce(Be,le-1)},pe=z.__acroform__.setBitForPdf=function(Be,le){if(isNaN(Be)||isNaN(le))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return be(Be,le-1)},Se=z.__acroform__.clearBitForPdf=function(Be,le){if(isNaN(Be)||isNaN(le))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return ke(Be,le-1)},st=z.__acroform__.calculateCoordinates=function(Be,le){var ye=le.internal.getHorizontalCoordinate,xe=le.internal.getVerticalCoordinate,De=Be[0],Le=Be[1],Fe=Be[2],at=Be[3],Ve={};return Ve.lowerLeft_X=ye(De)||0,Ve.lowerLeft_Y=xe(Le+at)||0,Ve.upperRight_X=ye(De+Fe)||0,Ve.upperRight_Y=xe(Le)||0,[Number(J(Ve.lowerLeft_X)),Number(J(Ve.lowerLeft_Y)),Number(J(Ve.upperRight_X)),Number(J(Ve.upperRight_Y))]},qe=function(le){if(le.appearanceStreamContent)return le.appearanceStreamContent;if(le.V||le.DV){var ye=[],xe=le._V||le.DV,De=tt(le,xe),Le=le.scope.internal.getFont(le.fontName,le.fontStyle).id;ye.push("/Tx BMC"),ye.push("q"),ye.push("BT"),ye.push(le.scope.__private__.encodeColorString(le.color)),ye.push("/"+Le+" "+J(De.fontSize)+" Tf"),ye.push("1 0 0 1 0 0 Tm"),ye.push(De.text),ye.push("ET"),ye.push("Q"),ye.push("EMC");var Fe=me(le);return Fe.scope=le.scope,Fe.stream=ye.join(`
|
|
|
`),Fe}},tt=function(le,ye){var xe=le.fontSize===0?le.maxFontSize:le.fontSize,De={text:"",fontSize:""},Le=(ye=(ye=ye.substr(0,1)=="("?ye.substr(1):ye).substr(ye.length-1)==")"?ye.substr(0,ye.length-1):ye).split(" ");Le=le.multiline?Le.map(function(Wn){return Wn.split(`
|
|
|
`)}):Le.map(function(Wn){return[Wn]});var Fe=xe,at=he.internal.getHeight(le)||0;at=at<0?-at:at;var Ve=he.internal.getWidth(le)||0;Ve=Ve<0?-Ve:Ve;var It=function(xr,er,ci){if(xr+1<Le.length){var qr=er+" "+Le[xr+1][0];return Dt(qr,le,ci).width<=Ve-4}return!1};Fe++;e:for(;Fe>0;){ye="",Fe--;var pn,rn,Tn=Dt("3",le,Fe).height,Nt=le.multiline?at-Fe:(at-Tn)/2,ur=Nt+=2,Xt=0,Kn=0,Fn=0;if(Fe<=0){ye=`(...) Tj
|
|
|
`,ye+="% Width of Text: "+Dt(ye,le,Fe=12).width+", FieldWidth:"+Ve+`
|
|
|
`;break}for(var un="",Sr=0,Fr=0;Fr<Le.length;Fr++)if(Le.hasOwnProperty(Fr)){var ii=!1;if(Le[Fr].length!==1&&Fn!==Le[Fr].length-1){if((Tn+2)*(Sr+2)+2>at)continue e;un+=Le[Fr][Fn],ii=!0,Kn=Fr,Fr--}else{un=(un+=Le[Fr][Fn]+" ").substr(un.length-1)==" "?un.substr(0,un.length-1):un;var oi=parseInt(Fr),ti=It(oi,un,Fe),bi=Fr>=Le.length-1;if(ti&&!bi){un+=" ",Fn=0;continue}if(ti||bi){if(bi)Kn=oi;else if(le.multiline&&(Tn+2)*(Sr+2)+2>at)continue e}else{if(!le.multiline)continue e;if((Tn+2)*(Sr+2)+2>at)continue e;Kn=oi}}for(var Mr="",Oi=Xt;Oi<=Kn;Oi++){var Ar=Le[Oi];if(le.multiline){if(Oi===Kn){Mr+=Ar[Fn]+" ",Fn=(Fn+1)%Ar.length;continue}if(Oi===Xt){Mr+=Ar[Ar.length-1]+" ";continue}}Mr+=Ar[0]+" "}switch(Mr=Mr.substr(Mr.length-1)==" "?Mr.substr(0,Mr.length-1):Mr,rn=Dt(Mr,le,Fe).width,le.textAlign){case"right":pn=Ve-rn-2;break;case"center":pn=(Ve-rn)/2;break;case"left":default:pn=2}ye+=J(pn)+" "+J(ur)+` Td
|
|
|
`,ye+="("+_(Mr)+`) Tj
|
|
|
`,ye+=-J(pn)+` 0 Td
|
|
|
`,ur=-(Fe+2),rn=0,Xt=ii?Kn:Kn+1,Sr++,un=""}break}return De.text=ye,De.fontSize=Fe,De},Dt=function(le,ye,xe){var De=ye.scope.internal.getFont(ye.fontName,ye.fontStyle),Le=ye.scope.getStringUnitWidth(le,{font:De,fontSize:parseFloat(xe),charSpace:0})*parseFloat(xe);return{height:ye.scope.getStringUnitWidth("3",{font:De,fontSize:parseFloat(xe),charSpace:0})*parseFloat(xe)*1.5,width:Le}},ct={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},St=function(le,ye){var xe={type:"reference",object:le};ye.internal.getPageInfo(le.page).pageContext.annotations.find(function(De){return De.type===xe.type&&De.object===xe.object})===void 0&&ye.internal.getPageInfo(le.page).pageContext.annotations.push(xe)},rt=function(le,ye){for(var xe in le)if(le.hasOwnProperty(xe)){var De=xe,Le=le[xe];ye.internal.newObjectDeferredBegin(Le.objId,!0),g()(Le)==="object"&&typeof Le.putStream=="function"&&Le.putStream(),delete le[De]}},ht=function(le,ye){if(ye.scope=le,le.internal!==void 0&&(le.internal.acroformPlugin===void 0||le.internal.acroformPlugin.isInitialized===!1)){if(jt.FieldNum=0,le.internal.acroformPlugin=JSON.parse(JSON.stringify(ct)),le.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");Y=le.internal.scaleFactor,le.internal.acroformPlugin.acroFormDictionaryRoot=new wt,le.internal.acroformPlugin.acroFormDictionaryRoot.scope=le,le.internal.acroformPlugin.acroFormDictionaryRoot._eventID=le.internal.events.subscribe("postPutResources",function(){!function(xe){xe.internal.events.unsubscribe(xe.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete xe.internal.acroformPlugin.acroFormDictionaryRoot._eventID,xe.internal.acroformPlugin.printedOut=!0}(le)}),le.internal.events.subscribe("buildDocument",function(){!function(xe){xe.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var De=xe.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var Le in De)if(De.hasOwnProperty(Le)){var Fe=De[Le];Fe.objId=void 0,Fe.hasAnnotation&&St(Fe,xe)}}(le)}),le.internal.events.subscribe("putCatalog",function(){!function(xe){if(xe.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");xe.internal.write("/AcroForm "+xe.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(le)}),le.internal.events.subscribe("postPutPages",function(xe){!function(De,Le){var Fe=!De;for(var at in De||(Le.internal.newObjectDeferredBegin(Le.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),Le.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),De=De||Le.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(De.hasOwnProperty(at)){var Ve=De[at],It=[],pn=Ve.Rect;if(Ve.Rect&&(Ve.Rect=st(Ve.Rect,Le)),Le.internal.newObjectDeferredBegin(Ve.objId,!0),Ve.DA=he.createDefaultAppearanceStream(Ve),g()(Ve)==="object"&&typeof Ve.getKeyValueListForStream=="function"&&(It=Ve.getKeyValueListForStream()),Ve.Rect=pn,Ve.hasAppearanceStream&&!Ve.appearanceStreamContent){var rn=qe(Ve);It.push({key:"AP",value:"<</N "+rn+">>"}),Le.internal.acroformPlugin.xForms.push(rn)}if(Ve.appearanceStreamContent){var Tn="";for(var Nt in Ve.appearanceStreamContent)if(Ve.appearanceStreamContent.hasOwnProperty(Nt)){var ur=Ve.appearanceStreamContent[Nt];if(Tn+="/"+Nt+" ",Tn+="<<",Object.keys(ur).length>=1||Array.isArray(ur)){for(var at in ur)if(ur.hasOwnProperty(at)){var Xt=ur[at];typeof Xt=="function"&&(Xt=Xt.call(Le,Ve)),Tn+="/"+at+" "+Xt+" ",Le.internal.acroformPlugin.xForms.indexOf(Xt)>=0||Le.internal.acroformPlugin.xForms.push(Xt)}}else typeof(Xt=ur)=="function"&&(Xt=Xt.call(Le,Ve)),Tn+="/"+at+" "+Xt,Le.internal.acroformPlugin.xForms.indexOf(Xt)>=0||Le.internal.acroformPlugin.xForms.push(Xt);Tn+=">>"}It.push({key:"AP",value:`<<
|
|
|
`+Tn+">>"})}Le.internal.putStream({additionalKeyValues:It,objectId:Ve.objId}),Le.internal.out("endobj")}Fe&&rt(Le.internal.acroformPlugin.xForms,Le)}(xe,le)}),le.internal.acroformPlugin.isInitialized=!0}},je=z.__acroform__.arrayToPdfArray=function(Be,le,ye){var xe=function(at){return at};if(Array.isArray(Be)){for(var De="[",Le=0;Le<Be.length;Le++)switch(Le!==0&&(De+=" "),g()(Be[Le])){case"boolean":case"number":case"object":De+=Be[Le].toString();break;case"string":Be[Le].substr(0,1)!=="/"?(le!==void 0&&ye&&(xe=ye.internal.getEncryptor(le)),De+="("+_(xe(Be[Le].toString()))+")"):De+=Be[Le].toString()}return De+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},Me=function(le,ye,xe){var De=function(Fe){return Fe};return ye!==void 0&&xe&&(De=xe.internal.getEncryptor(ye)),(le=le||"").toString(),le="("+_(De(le))+")"},Ne=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(this._objId===void 0){if(this.scope===void 0)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(ye){this._objId=ye}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};Ne.prototype.toString=function(){return this.objId+" 0 R"},Ne.prototype.putStream=function(){var Be=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:Be,objectId:this.objId}),this.scope.internal.out("endobj")},Ne.prototype.getKeyValueListForStream=function(){var Be=[],le=Object.getOwnPropertyNames(this).filter(function(Le){return Le!="content"&&Le!="appearanceStreamContent"&&Le!="scope"&&Le!="objId"&&Le.substring(0,1)!="_"});for(var ye in le)if(Object.getOwnPropertyDescriptor(this,le[ye]).configurable===!1){var xe=le[ye],De=this[xe];De&&(Array.isArray(De)?Be.push({key:xe,value:je(De,this.objId,this.scope)}):De instanceof Ne?(De.scope=this.scope,Be.push({key:xe,value:De.objId+" 0 R"})):typeof De!="function"&&Be.push({key:xe,value:De}))}return Be};var it=function(){Ne.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var le,ye=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return ye},set:function(De){ye=De}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(De){le=De.trim()},get:function(){return le||null}})};q(it,Ne);var wt=function(){Ne.call(this);var le,ye=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return ye.length>0?ye:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return ye}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(le){var De=function(Fe){return Fe};return this.scope&&(De=this.scope.internal.getEncryptor(this.objId)),"("+_(De(le))+")"}},set:function(De){le=De}})};q(wt,Ne);var jt=function Be(){Ne.call(this);var le=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return le},set:function(un){if(isNaN(un))throw new Error('Invalid value "'+un+'" for attribute F supplied.');le=un}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ee(le,3))},set:function(un){Boolean(un)===!0?this.F=pe(le,3):this.F=Se(le,3)}});var ye=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return ye},set:function(un){if(isNaN(un))throw new Error('Invalid value "'+un+'" for attribute Ff supplied.');ye=un}});var xe=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(xe.length!==0)return xe},set:function(un){xe=un!==void 0?un:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!xe||isNaN(xe[0])?0:xe[0]},set:function(un){xe[0]=un}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!xe||isNaN(xe[1])?0:xe[1]},set:function(un){xe[1]=un}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!xe||isNaN(xe[2])?0:xe[2]},set:function(un){xe[2]=un}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!xe||isNaN(xe[3])?0:xe[3]},set:function(un){xe[3]=un}});var De="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return De},set:function(un){switch(un){case"/Btn":case"/Tx":case"/Ch":case"/Sig":De=un;break;default:throw new Error('Invalid value "'+un+'" for attribute FT supplied.')}}});var Le=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!Le||Le.length<1){if(this instanceof an)return;Le="FieldObject"+Be.FieldNum++}var un=function(Fr){return Fr};return this.scope&&(un=this.scope.internal.getEncryptor(this.objId)),"("+_(un(Le))+")"},set:function(un){Le=un.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return Le},set:function(un){Le=un}});var Fe="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return Fe},set:function(un){Fe=un}});var at="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return at},set:function(un){at=un}});var Ve=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return Ve},set:function(un){Ve=un}});var It=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return It===void 0?50/Y:It},set:function(un){It=un}});var pn="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return pn},set:function(un){pn=un}});var rn="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!rn||this instanceof an||this instanceof vt))return Me(rn,this.objId,this.scope)},set:function(un){un=un.toString(),rn=un}});var Tn=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(Tn)return this instanceof Vt==!1?Me(Tn,this.objId,this.scope):Tn},set:function(un){un=un.toString(),Tn=this instanceof Vt==!1?un.substr(0,1)==="("?G(un.substr(1,un.length-2)):G(un):un}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof Vt==!0?G(Tn.substr(1,Tn.length-1)):Tn},set:function(un){un=un.toString(),Tn=this instanceof Vt==!0?"/"+un:un}});var Nt=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(Nt)return Nt},set:function(un){this.V=un}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(Nt)return this instanceof Vt==!1?Me(Nt,this.objId,this.scope):Nt},set:function(un){un=un.toString(),Nt=this instanceof Vt==!1?un.substr(0,1)==="("?G(un.substr(1,un.length-2)):G(un):un}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof Vt==!0?G(Nt.substr(1,Nt.length-1)):Nt},set:function(un){un=un.toString(),Nt=this instanceof Vt==!0?"/"+un:un}}),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 ur,Xt=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return Xt},set:function(un){un=Boolean(un),Xt=un}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(ur)return ur},set:function(un){ur=un}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ee(this.Ff,1))},set:function(un){Boolean(un)===!0?this.Ff=pe(this.Ff,1):this.Ff=Se(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ee(this.Ff,2))},set:function(un){Boolean(un)===!0?this.Ff=pe(this.Ff,2):this.Ff=Se(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ee(this.Ff,3))},set:function(un){Boolean(un)===!0?this.Ff=pe(this.Ff,3):this.Ff=Se(this.Ff,3)}});var Kn=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(Kn!==null)return Kn},set:function(un){if([0,1,2].indexOf(un)===-1)throw new Error('Invalid value "'+un+'" for attribute Q supplied.');Kn=un}}),Object.defineProperty(this,"textAlign",{get:function(){var un;switch(Kn){case 0:default:un="left";break;case 1:un="center";break;case 2:un="right"}return un},configurable:!0,enumerable:!0,set:function(un){switch(un){case"right":case 2:Kn=2;break;case"center":case 1:Kn=1;break;case"left":case 0:default:Kn=0}}})};q(jt,Ne);var lt=function(){jt.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var le=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return le},set:function(De){le=De}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return le},set:function(De){le=De}});var ye=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return je(ye,this.objId,this.scope)},set:function(De){var Le,Fe;Fe=[],typeof(Le=De)=="string"&&(Fe=function(at,Ve,It){It||(It=1);for(var pn,rn=[];pn=Ve.exec(at);)rn.push(pn[It]);return rn}(Le,/\((.*?)\)/g)),ye=Fe}}),this.getOptions=function(){return ye},this.setOptions=function(xe){ye=xe,this.sort&&ye.sort()},this.addOption=function(xe){xe=(xe=xe||"").toString(),ye.push(xe),this.sort&&ye.sort()},this.removeOption=function(xe,De){for(De=De||!1,xe=(xe=xe||"").toString();ye.indexOf(xe)!==-1&&(ye.splice(ye.indexOf(xe),1),De!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ee(this.Ff,18))},set:function(De){Boolean(De)===!0?this.Ff=pe(this.Ff,18):this.Ff=Se(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ee(this.Ff,19))},set:function(De){this.combo===!0&&(Boolean(De)===!0?this.Ff=pe(this.Ff,19):this.Ff=Se(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ee(this.Ff,20))},set:function(De){Boolean(De)===!0?(this.Ff=pe(this.Ff,20),ye.sort()):this.Ff=Se(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ee(this.Ff,22))},set:function(De){Boolean(De)===!0?this.Ff=pe(this.Ff,22):this.Ff=Se(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ee(this.Ff,23))},set:function(De){Boolean(De)===!0?this.Ff=pe(this.Ff,23):this.Ff=Se(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ee(this.Ff,27))},set:function(De){Boolean(De)===!0?this.Ff=pe(this.Ff,27):this.Ff=Se(this.Ff,27)}}),this.hasAppearanceStream=!1};q(lt,jt);var Te=function(){lt.call(this),this.fontName="helvetica",this.combo=!1};q(Te,lt);var mt=function(){Te.call(this),this.combo=!0};q(mt,Te);var tn=function(){mt.call(this),this.edit=!0};q(tn,mt);var Vt=function(){jt.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ee(this.Ff,15))},set:function(De){Boolean(De)===!0?this.Ff=pe(this.Ff,15):this.Ff=Se(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ee(this.Ff,16))},set:function(De){Boolean(De)===!0?this.Ff=pe(this.Ff,16):this.Ff=Se(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ee(this.Ff,17))},set:function(De){Boolean(De)===!0?this.Ff=pe(this.Ff,17):this.Ff=Se(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ee(this.Ff,26))},set:function(De){Boolean(De)===!0?this.Ff=pe(this.Ff,26):this.Ff=Se(this.Ff,26)}});var le,ye={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var De=function(Ve){return Ve};if(this.scope&&(De=this.scope.internal.getEncryptor(this.objId)),Object.keys(ye).length!==0){var Le,Fe=[];for(Le in Fe.push("<<"),ye)Fe.push("/"+Le+" ("+_(De(ye[Le]))+")");return Fe.push(">>"),Fe.join(`
|
|
|
`)}},set:function(De){g()(De)==="object"&&(ye=De)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return ye.CA||""},set:function(De){typeof De=="string"&&(ye.CA=De)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return le},set:function(De){le=De}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return le.substr(1,le.length-1)},set:function(De){le="/"+De}})};q(Vt,jt);var Yt=function(){Vt.call(this),this.pushButton=!0};q(Yt,Vt);var Qt=function(){Vt.call(this),this.radio=!0,this.pushButton=!1;var le=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return le},set:function(xe){le=xe!==void 0?xe:[]}})};q(Qt,Vt);var an=function(){var le,ye;jt.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return le},set:function(Fe){le=Fe}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return ye},set:function(Fe){ye=Fe}});var xe,De={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var Fe=function(pn){return pn};this.scope&&(Fe=this.scope.internal.getEncryptor(this.objId));var at,Ve=[];for(at in Ve.push("<<"),De)Ve.push("/"+at+" ("+_(Fe(De[at]))+")");return Ve.push(">>"),Ve.join(`
|
|
|
`)},set:function(Fe){g()(Fe)==="object"&&(De=Fe)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return De.CA||""},set:function(Fe){typeof Fe=="string"&&(De.CA=Fe)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return xe},set:function(Fe){xe=Fe}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return xe.substr(1,xe.length-1)},set:function(Fe){xe="/"+Fe}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=he.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};q(an,jt),Qt.prototype.setAppearance=function(Be){if(!("createAppearanceStream"in Be)||!("getCA"in Be))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var le in this.Kids)if(this.Kids.hasOwnProperty(le)){var ye=this.Kids[le];ye.appearanceStreamContent=Be.createAppearanceStream(ye.optionName),ye.caption=Be.getCA()}},Qt.prototype.createOption=function(Be){var le=new an;return le.Parent=this,le.optionName=Be,this.Kids.push(le),Pt.call(this.scope,le),le};var on=function(){Vt.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=he.CheckBox.createAppearanceStream()};q(on,Vt);var vt=function(){jt.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ee(this.Ff,13))},set:function(xe){Boolean(xe)===!0?this.Ff=pe(this.Ff,13):this.Ff=Se(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ee(this.Ff,21))},set:function(xe){Boolean(xe)===!0?this.Ff=pe(this.Ff,21):this.Ff=Se(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ee(this.Ff,23))},set:function(xe){Boolean(xe)===!0?this.Ff=pe(this.Ff,23):this.Ff=Se(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ee(this.Ff,24))},set:function(xe){Boolean(xe)===!0?this.Ff=pe(this.Ff,24):this.Ff=Se(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ee(this.Ff,25))},set:function(xe){Boolean(xe)===!0?this.Ff=pe(this.Ff,25):this.Ff=Se(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ee(this.Ff,26))},set:function(xe){Boolean(xe)===!0?this.Ff=pe(this.Ff,26):this.Ff=Se(this.Ff,26)}});var le=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return le},set:function(xe){le=xe}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return le},set:function(xe){Number.isInteger(xe)&&(le=xe)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};q(vt,jt);var de=function(){vt.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ee(this.Ff,14))},set:function(ye){Boolean(ye)===!0?this.Ff=pe(this.Ff,14):this.Ff=Se(this.Ff,14)}}),this.password=!0};q(de,vt);var he={CheckBox:{createAppearanceStream:function(){return{N:{On:he.CheckBox.YesNormal},D:{On:he.CheckBox.YesPushDown,Off:he.CheckBox.OffPushDown}}},YesPushDown:function(le){var ye=me(le);ye.scope=le.scope;var xe=[],De=le.scope.internal.getFont(le.fontName,le.fontStyle).id,Le=le.scope.__private__.encodeColorString(le.color),Fe=tt(le,le.caption);return xe.push("0.749023 g"),xe.push("0 0 "+J(he.internal.getWidth(le))+" "+J(he.internal.getHeight(le))+" re"),xe.push("f"),xe.push("BMC"),xe.push("q"),xe.push("0 0 1 rg"),xe.push("/"+De+" "+J(Fe.fontSize)+" Tf "+Le),xe.push("BT"),xe.push(Fe.text),xe.push("ET"),xe.push("Q"),xe.push("EMC"),ye.stream=xe.join(`
|
|
|
`),ye},YesNormal:function(le){var ye=me(le);ye.scope=le.scope;var xe=le.scope.internal.getFont(le.fontName,le.fontStyle).id,De=le.scope.__private__.encodeColorString(le.color),Le=[],Fe=he.internal.getHeight(le),at=he.internal.getWidth(le),Ve=tt(le,le.caption);return Le.push("1 g"),Le.push("0 0 "+J(at)+" "+J(Fe)+" re"),Le.push("f"),Le.push("q"),Le.push("0 0 1 rg"),Le.push("0 0 "+J(at-1)+" "+J(Fe-1)+" re"),Le.push("W"),Le.push("n"),Le.push("0 g"),Le.push("BT"),Le.push("/"+xe+" "+J(Ve.fontSize)+" Tf "+De),Le.push(Ve.text),Le.push("ET"),Le.push("Q"),ye.stream=Le.join(`
|
|
|
`),ye},OffPushDown:function(le){var ye=me(le);ye.scope=le.scope;var xe=[];return xe.push("0.749023 g"),xe.push("0 0 "+J(he.internal.getWidth(le))+" "+J(he.internal.getHeight(le))+" re"),xe.push("f"),ye.stream=xe.join(`
|
|
|
`),ye}},RadioButton:{Circle:{createAppearanceStream:function(le){var ye={D:{Off:he.RadioButton.Circle.OffPushDown},N:{}};return ye.N[le]=he.RadioButton.Circle.YesNormal,ye.D[le]=he.RadioButton.Circle.YesPushDown,ye},getCA:function(){return"l"},YesNormal:function(le){var ye=me(le);ye.scope=le.scope;var xe=[],De=he.internal.getWidth(le)<=he.internal.getHeight(le)?he.internal.getWidth(le)/4:he.internal.getHeight(le)/4;De=Number((.9*De).toFixed(5));var Le=he.internal.Bezier_C,Fe=Number((De*Le).toFixed(5));return xe.push("q"),xe.push("1 0 0 1 "+ue(he.internal.getWidth(le)/2)+" "+ue(he.internal.getHeight(le)/2)+" cm"),xe.push(De+" 0 m"),xe.push(De+" "+Fe+" "+Fe+" "+De+" 0 "+De+" c"),xe.push("-"+Fe+" "+De+" -"+De+" "+Fe+" -"+De+" 0 c"),xe.push("-"+De+" -"+Fe+" -"+Fe+" -"+De+" 0 -"+De+" c"),xe.push(Fe+" -"+De+" "+De+" -"+Fe+" "+De+" 0 c"),xe.push("f"),xe.push("Q"),ye.stream=xe.join(`
|
|
|
`),ye},YesPushDown:function(le){var ye=me(le);ye.scope=le.scope;var xe=[],De=he.internal.getWidth(le)<=he.internal.getHeight(le)?he.internal.getWidth(le)/4:he.internal.getHeight(le)/4;De=Number((.9*De).toFixed(5));var Le=Number((2*De).toFixed(5)),Fe=Number((Le*he.internal.Bezier_C).toFixed(5)),at=Number((De*he.internal.Bezier_C).toFixed(5));return xe.push("0.749023 g"),xe.push("q"),xe.push("1 0 0 1 "+ue(he.internal.getWidth(le)/2)+" "+ue(he.internal.getHeight(le)/2)+" cm"),xe.push(Le+" 0 m"),xe.push(Le+" "+Fe+" "+Fe+" "+Le+" 0 "+Le+" c"),xe.push("-"+Fe+" "+Le+" -"+Le+" "+Fe+" -"+Le+" 0 c"),xe.push("-"+Le+" -"+Fe+" -"+Fe+" -"+Le+" 0 -"+Le+" c"),xe.push(Fe+" -"+Le+" "+Le+" -"+Fe+" "+Le+" 0 c"),xe.push("f"),xe.push("Q"),xe.push("0 g"),xe.push("q"),xe.push("1 0 0 1 "+ue(he.internal.getWidth(le)/2)+" "+ue(he.internal.getHeight(le)/2)+" cm"),xe.push(De+" 0 m"),xe.push(De+" "+at+" "+at+" "+De+" 0 "+De+" c"),xe.push("-"+at+" "+De+" -"+De+" "+at+" -"+De+" 0 c"),xe.push("-"+De+" -"+at+" -"+at+" -"+De+" 0 -"+De+" c"),xe.push(at+" -"+De+" "+De+" -"+at+" "+De+" 0 c"),xe.push("f"),xe.push("Q"),ye.stream=xe.join(`
|
|
|
`),ye},OffPushDown:function(le){var ye=me(le);ye.scope=le.scope;var xe=[],De=he.internal.getWidth(le)<=he.internal.getHeight(le)?he.internal.getWidth(le)/4:he.internal.getHeight(le)/4;De=Number((.9*De).toFixed(5));var Le=Number((2*De).toFixed(5)),Fe=Number((Le*he.internal.Bezier_C).toFixed(5));return xe.push("0.749023 g"),xe.push("q"),xe.push("1 0 0 1 "+ue(he.internal.getWidth(le)/2)+" "+ue(he.internal.getHeight(le)/2)+" cm"),xe.push(Le+" 0 m"),xe.push(Le+" "+Fe+" "+Fe+" "+Le+" 0 "+Le+" c"),xe.push("-"+Fe+" "+Le+" -"+Le+" "+Fe+" -"+Le+" 0 c"),xe.push("-"+Le+" -"+Fe+" -"+Fe+" -"+Le+" 0 -"+Le+" c"),xe.push(Fe+" -"+Le+" "+Le+" -"+Fe+" "+Le+" 0 c"),xe.push("f"),xe.push("Q"),ye.stream=xe.join(`
|
|
|
`),ye}},Cross:{createAppearanceStream:function(le){var ye={D:{Off:he.RadioButton.Cross.OffPushDown},N:{}};return ye.N[le]=he.RadioButton.Cross.YesNormal,ye.D[le]=he.RadioButton.Cross.YesPushDown,ye},getCA:function(){return"8"},YesNormal:function(le){var ye=me(le);ye.scope=le.scope;var xe=[],De=he.internal.calculateCross(le);return xe.push("q"),xe.push("1 1 "+J(he.internal.getWidth(le)-2)+" "+J(he.internal.getHeight(le)-2)+" re"),xe.push("W"),xe.push("n"),xe.push(J(De.x1.x)+" "+J(De.x1.y)+" m"),xe.push(J(De.x2.x)+" "+J(De.x2.y)+" l"),xe.push(J(De.x4.x)+" "+J(De.x4.y)+" m"),xe.push(J(De.x3.x)+" "+J(De.x3.y)+" l"),xe.push("s"),xe.push("Q"),ye.stream=xe.join(`
|
|
|
`),ye},YesPushDown:function(le){var ye=me(le);ye.scope=le.scope;var xe=he.internal.calculateCross(le),De=[];return De.push("0.749023 g"),De.push("0 0 "+J(he.internal.getWidth(le))+" "+J(he.internal.getHeight(le))+" re"),De.push("f"),De.push("q"),De.push("1 1 "+J(he.internal.getWidth(le)-2)+" "+J(he.internal.getHeight(le)-2)+" re"),De.push("W"),De.push("n"),De.push(J(xe.x1.x)+" "+J(xe.x1.y)+" m"),De.push(J(xe.x2.x)+" "+J(xe.x2.y)+" l"),De.push(J(xe.x4.x)+" "+J(xe.x4.y)+" m"),De.push(J(xe.x3.x)+" "+J(xe.x3.y)+" l"),De.push("s"),De.push("Q"),ye.stream=De.join(`
|
|
|
`),ye},OffPushDown:function(le){var ye=me(le);ye.scope=le.scope;var xe=[];return xe.push("0.749023 g"),xe.push("0 0 "+J(he.internal.getWidth(le))+" "+J(he.internal.getHeight(le))+" re"),xe.push("f"),ye.stream=xe.join(`
|
|
|
`),ye}}},createDefaultAppearanceStream:function(le){var ye=le.scope.internal.getFont(le.fontName,le.fontStyle).id,xe=le.scope.__private__.encodeColorString(le.color);return"/"+ye+" "+le.fontSize+" Tf "+xe}};he.internal={Bezier_C:.551915024494,calculateCross:function(le){var ye=he.internal.getWidth(le),xe=he.internal.getHeight(le),De=Math.min(ye,xe);return{x1:{x:(ye-De)/2,y:(xe-De)/2+De},x2:{x:(ye-De)/2+De,y:(xe-De)/2},x3:{x:(ye-De)/2,y:(xe-De)/2},x4:{x:(ye-De)/2+De,y:(xe-De)/2+De}}}},he.internal.getWidth=function(Be){var le=0;return g()(Be)==="object"&&(le=re(Be.Rect[2])),le},he.internal.getHeight=function(Be){var le=0;return g()(Be)==="object"&&(le=re(Be.Rect[3])),le};var Pt=z.addField=function(Be){if(ht(this,Be),!(Be instanceof jt))throw new Error("Invalid argument passed to jsPDF.addField.");var le;return(le=Be).scope.internal.acroformPlugin.printedOut&&(le.scope.internal.acroformPlugin.printedOut=!1,le.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),le.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(le),Be.page=Be.scope.internal.getCurrentPageInfo().pageNumber,this};z.AcroFormChoiceField=lt,z.AcroFormListBox=Te,z.AcroFormComboBox=mt,z.AcroFormEditBox=tn,z.AcroFormButton=Vt,z.AcroFormPushButton=Yt,z.AcroFormRadioButton=Qt,z.AcroFormCheckBox=on,z.AcroFormTextField=vt,z.AcroFormPasswordField=de,z.AcroFormAppearance=he,z.AcroForm={ChoiceField:lt,ListBox:Te,ComboBox:mt,EditBox:tn,Button:Vt,PushButton:Yt,RadioButton:Qt,CheckBox:on,TextField:vt,PasswordField:de,Appearance:he},P.AcroForm={ChoiceField:lt,ListBox:Te,ComboBox:mt,EditBox:tn,Button:Vt,PushButton:Yt,RadioButton:Qt,CheckBox:on,TextField:vt,PasswordField:de,Appearance:he};var We=P.AcroForm;function Je(Be){return Be.reduce(function(le,ye,xe){return le[ye]=xe,le},{})}!function(Be){Be.__addimage__={};var le="UNKNOWN",ye={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},xe=Be.__addimage__.getImageFileTypeByImageData=function(Ar,Wn){var xr,er,ci,qr,wi,Xr=le;if((Wn=Wn||le)==="RGBA"||Ar.data!==void 0&&Ar.data instanceof Uint8ClampedArray&&"height"in Ar&&"width"in Ar)return"RGBA";if(oi(Ar))for(wi in ye)for(ci=ye[wi],xr=0;xr<ci.length;xr+=1){for(qr=!0,er=0;er<ci[xr].length;er+=1)if(ci[xr][er]!==void 0&&ci[xr][er]!==Ar[er]){qr=!1;break}if(qr===!0){Xr=wi;break}}else for(wi in ye)for(ci=ye[wi],xr=0;xr<ci.length;xr+=1){for(qr=!0,er=0;er<ci[xr].length;er+=1)if(ci[xr][er]!==void 0&&ci[xr][er]!==Ar.charCodeAt(er)){qr=!1;break}if(qr===!0){Xr=wi;break}}return Xr===le&&Wn!==le&&(Xr=Wn),Xr},De=function Ar(Wn){for(var xr=this.internal.write,er=this.internal.putStream,ci=(0,this.internal.getFilters)();ci.indexOf("FlateEncode")!==-1;)ci.splice(ci.indexOf("FlateEncode"),1);Wn.objectId=this.internal.newObject();var qr=[];if(qr.push({key:"Type",value:"/XObject"}),qr.push({key:"Subtype",value:"/Image"}),qr.push({key:"Width",value:Wn.width}),qr.push({key:"Height",value:Wn.height}),Wn.colorSpace===Kn.INDEXED?qr.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(Wn.palette.length/3-1)+" "+("sMask"in Wn&&Wn.sMask!==void 0?Wn.objectId+2:Wn.objectId+1)+" 0 R]"}):(qr.push({key:"ColorSpace",value:"/"+Wn.colorSpace}),Wn.colorSpace===Kn.DEVICE_CMYK&&qr.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),qr.push({key:"BitsPerComponent",value:Wn.bitsPerComponent}),"decodeParameters"in Wn&&Wn.decodeParameters!==void 0&&qr.push({key:"DecodeParms",value:"<<"+Wn.decodeParameters+">>"}),"transparency"in Wn&&Array.isArray(Wn.transparency)){for(var wi="",Xr=0,Hi=Wn.transparency.length;Xr<Hi;Xr++)wi+=Wn.transparency[Xr]+" "+Wn.transparency[Xr]+" ";qr.push({key:"Mask",value:"["+wi+"]"})}Wn.sMask!==void 0&&qr.push({key:"SMask",value:Wn.objectId+1+" 0 R"});var ni=Wn.filter!==void 0?["/"+Wn.filter]:void 0;if(er({data:Wn.data,additionalKeyValues:qr,alreadyAppliedFilters:ni,objectId:Wn.objectId}),xr("endobj"),"sMask"in Wn&&Wn.sMask!==void 0){var Mi="/Predictor "+Wn.predictor+" /Colors 1 /BitsPerComponent "+Wn.bitsPerComponent+" /Columns "+Wn.width,cr={width:Wn.width,height:Wn.height,colorSpace:"DeviceGray",bitsPerComponent:Wn.bitsPerComponent,decodeParameters:Mi,data:Wn.sMask};"filter"in Wn&&(cr.filter=Wn.filter),Ar.call(this,cr)}if(Wn.colorSpace===Kn.INDEXED){var Pn=this.internal.newObject();er({data:bi(new Uint8Array(Wn.palette)),objectId:Pn}),xr("endobj")}},Le=function(){var Wn=this.internal.collections.addImage_images;for(var xr in Wn)De.call(this,Wn[xr])},Fe=function(){var Wn,xr=this.internal.collections.addImage_images,er=this.internal.write;for(var ci in xr)er("/I"+(Wn=xr[ci]).index,Wn.objectId,"0","R")},at=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",Le),this.internal.events.subscribe("putXobjectDict",Fe))},Ve=function(){var Wn=this.internal.collections.addImage_images;return at.call(this),Wn},It=function(){return Object.keys(this.internal.collections.addImage_images).length},pn=function(Wn){return typeof Be["process"+Wn.toUpperCase()]=="function"},rn=function(Wn){return g()(Wn)==="object"&&Wn.nodeType===1},Tn=function(Wn,xr){if(Wn.nodeName==="IMG"&&Wn.hasAttribute("src")){var er=""+Wn.getAttribute("src");if(er.indexOf("data:image/")===0)return s(unescape(er).split("base64,").pop());var ci=Be.loadFile(er,!0);if(ci!==void 0)return ci}if(Wn.nodeName==="CANVAS"){if(Wn.width===0||Wn.height===0)throw new Error("Given canvas must have data. Canvas width: "+Wn.width+", height: "+Wn.height);var qr;switch(xr){case"PNG":qr="image/png";break;case"WEBP":qr="image/webp";break;case"JPEG":case"JPG":default:qr="image/jpeg"}return s(Wn.toDataURL(qr,1).split("base64,").pop())}},Nt=function(Wn){var xr=this.internal.collections.addImage_images;if(xr){for(var er in xr)if(Wn===xr[er].alias)return xr[er]}},ur=function(Wn,xr,er){return Wn||xr||(Wn=-96,xr=-96),Wn<0&&(Wn=-1*er.width*72/Wn/this.internal.scaleFactor),xr<0&&(xr=-1*er.height*72/xr/this.internal.scaleFactor),Wn===0&&(Wn=xr*er.width/er.height),xr===0&&(xr=Wn*er.height/er.width),[Wn,xr]},Xt=function(Wn,xr,er,ci,qr,wi){var Xr=ur.call(this,er,ci,qr),Hi=this.internal.getCoordinateString,ni=this.internal.getVerticalCoordinateString,Mi=Ve.call(this);if(er=Xr[0],ci=Xr[1],Mi[qr.index]=qr,wi){wi*=Math.PI/180;var cr=Math.cos(wi),Pn=Math.sin(wi),br=function($r){return $r.toFixed(4)},Br=[br(cr),br(Pn),br(-1*Pn),br(cr),0,0,"cm"]}this.internal.write("q"),wi?(this.internal.write([1,"0","0",1,Hi(Wn),ni(xr+ci),"cm"].join(" ")),this.internal.write(Br.join(" ")),this.internal.write([Hi(er),"0","0",Hi(ci),"0","0","cm"].join(" "))):this.internal.write([Hi(er),"0","0",Hi(ci),Hi(Wn),ni(xr+ci),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+qr.index+" Do"),this.internal.write("Q")},Kn=Be.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"};Be.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var Fn=Be.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},un=Be.__addimage__.sHashCode=function(Ar){var Wn,xr,er=0;if(typeof Ar=="string")for(xr=Ar.length,Wn=0;Wn<xr;Wn++)er=(er<<5)-er+Ar.charCodeAt(Wn),er|=0;else if(oi(Ar))for(xr=Ar.byteLength/2,Wn=0;Wn<xr;Wn++)er=(er<<5)-er+Ar[Wn],er|=0;return er},Sr=Be.__addimage__.validateStringAsBase64=function(Ar){(Ar=Ar||"").toString().trim();var Wn=!0;return Ar.length===0&&(Wn=!1),Ar.length%4!=0&&(Wn=!1),/^[A-Za-z0-9+/]+$/.test(Ar.substr(0,Ar.length-2))===!1&&(Wn=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(Ar.substr(-2))===!1&&(Wn=!1),Wn},Fr=Be.__addimage__.extractImageFromDataUrl=function(Ar){var Wn=(Ar=Ar||"").split("base64,"),xr=null;if(Wn.length===2){var er=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(Wn[0]);Array.isArray(er)&&(xr={mimeType:er[1],charset:er[2],data:Wn[1]})}return xr},ii=Be.__addimage__.supportsArrayBuffer=function(){return typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"};Be.__addimage__.isArrayBuffer=function(Ar){return ii()&&Ar instanceof ArrayBuffer};var oi=Be.__addimage__.isArrayBufferView=function(Ar){return ii()&&typeof Uint32Array!="undefined"&&(Ar instanceof Int8Array||Ar instanceof Uint8Array||typeof Uint8ClampedArray!="undefined"&&Ar instanceof Uint8ClampedArray||Ar instanceof Int16Array||Ar instanceof Uint16Array||Ar instanceof Int32Array||Ar instanceof Uint32Array||Ar instanceof Float32Array||Ar instanceof Float64Array)},ti=Be.__addimage__.binaryStringToUint8Array=function(Ar){for(var Wn=Ar.length,xr=new Uint8Array(Wn),er=0;er<Wn;er++)xr[er]=Ar.charCodeAt(er);return xr},bi=Be.__addimage__.arrayBufferToBinaryString=function(Ar){for(var Wn="",xr=oi(Ar)?Ar:new Uint8Array(Ar),er=0;er<xr.length;er+=8192)Wn+=String.fromCharCode.apply(null,xr.subarray(er,er+8192));return Wn};Be.addImage=function(){var Ar,Wn,xr,er,ci,qr,wi,Xr,Hi;if(typeof arguments[1]=="number"?(Wn=le,xr=arguments[1],er=arguments[2],ci=arguments[3],qr=arguments[4],wi=arguments[5],Xr=arguments[6],Hi=arguments[7]):(Wn=arguments[1],xr=arguments[2],er=arguments[3],ci=arguments[4],qr=arguments[5],wi=arguments[6],Xr=arguments[7],Hi=arguments[8]),g()(Ar=arguments[0])==="object"&&!rn(Ar)&&"imageData"in Ar){var ni=Ar;Ar=ni.imageData,Wn=ni.format||Wn||le,xr=ni.x||xr||0,er=ni.y||er||0,ci=ni.w||ni.width||ci,qr=ni.h||ni.height||qr,wi=ni.alias||wi,Xr=ni.compression||Xr,Hi=ni.rotation||ni.angle||Hi}var Mi=this.internal.getFilters();if(Xr===void 0&&Mi.indexOf("FlateEncode")!==-1&&(Xr="SLOW"),isNaN(xr)||isNaN(er))throw new Error("Invalid coordinates passed to jsPDF.addImage");at.call(this);var cr=Mr.call(this,Ar,Wn,wi,Xr);return Xt.call(this,xr,er,ci,qr,cr,Hi),this};var Mr=function(Wn,xr,er,ci){var qr,wi,Xr;if(typeof Wn=="string"&&xe(Wn)===le){Wn=unescape(Wn);var Hi=Oi(Wn,!1);(Hi!==""||(Hi=Be.loadFile(Wn,!0))!==void 0)&&(Wn=Hi)}if(rn(Wn)&&(Wn=Tn(Wn,xr)),xr=xe(Wn,xr),!pn(xr))throw new Error("addImage does not support files of type '"+xr+"', please ensure that a plugin for '"+xr+"' support is added.");if(((Xr=er)==null||Xr.length===0)&&(er=function(ni){return typeof ni=="string"||oi(ni)?un(ni):oi(ni.data)?un(ni.data):null}(Wn)),(qr=Nt.call(this,er))||(ii()&&(Wn instanceof Uint8Array||xr==="RGBA"||(wi=Wn,Wn=ti(Wn))),qr=this["process"+xr.toUpperCase()](Wn,It.call(this),er,function(ni){return ni&&typeof ni=="string"&&(ni=ni.toUpperCase()),ni in Be.image_compression?ni:Fn.NONE}(ci),wi)),!qr)throw new Error("An unknown error occurred whilst processing the image.");return qr},Oi=Be.__addimage__.convertBase64ToBinaryString=function(Ar,Wn){var xr;Wn=typeof Wn!="boolean"||Wn;var er,ci="";if(typeof Ar=="string"){er=(xr=Fr(Ar))!==null?xr.data:Ar;try{ci=s(er)}catch(qr){if(Wn)throw Sr(er)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+qr.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return ci};Be.getImageProperties=function(Ar){var Wn,xr,er="";if(rn(Ar)&&(Ar=Tn(Ar)),typeof Ar=="string"&&xe(Ar)===le&&((er=Oi(Ar,!1))===""&&(er=Be.loadFile(Ar)||""),Ar=er),xr=xe(Ar),!pn(xr))throw new Error("addImage does not support files of type '"+xr+"', please ensure that a plugin for '"+xr+"' support is added.");if(!ii()||Ar instanceof Uint8Array||(Ar=ti(Ar)),!(Wn=this["process"+xr.toUpperCase()](Ar)))throw new Error("An unknown error occurred whilst processing the image");return Wn.fileType=xr,Wn}}(P.API),function(Be){var le=function(xe){if(xe!==void 0&&xe!="")return!0};P.API.events.push(["addPage",function(ye){this.internal.getPageInfo(ye.pageNumber).pageContext.annotations=[]}]),Be.events.push(["putPage",function(ye){for(var xe,De,Le,Fe=this.internal.getCoordinateString,at=this.internal.getVerticalCoordinateString,Ve=this.internal.getPageInfoByObjId(ye.objId),It=ye.pageContext.annotations,pn=!1,rn=0;rn<It.length&&!pn;rn++)switch((xe=It[rn]).type){case"link":(le(xe.options.url)||le(xe.options.pageNumber))&&(pn=!0);break;case"reference":case"text":case"freetext":pn=!0}if(pn!=0){this.internal.write("/Annots [");for(var Tn=0;Tn<It.length;Tn++){xe=It[Tn];var Nt=this.internal.pdfEscape,ur=this.internal.getEncryptor(ye.objId);switch(xe.type){case"reference":this.internal.write(" "+xe.object.objId+" 0 R ");break;case"text":var Xt=this.internal.newAdditionalObject(),Kn=this.internal.newAdditionalObject(),Fn=this.internal.getEncryptor(Xt.objId),un=xe.title||"Note";Le="<</Type /Annot /Subtype /Text "+(De="/Rect ["+Fe(xe.bounds.x)+" "+at(xe.bounds.y+xe.bounds.h)+" "+Fe(xe.bounds.x+xe.bounds.w)+" "+at(xe.bounds.y)+"] ")+"/Contents ("+Nt(Fn(xe.contents))+")",Le+=" /Popup "+Kn.objId+" 0 R",Le+=" /P "+Ve.objId+" 0 R",Le+=" /T ("+Nt(Fn(un))+") >>",Xt.content=Le;var Sr=Xt.objId+" 0 R";Le="<</Type /Annot /Subtype /Popup "+(De="/Rect ["+Fe(xe.bounds.x+30)+" "+at(xe.bounds.y+xe.bounds.h)+" "+Fe(xe.bounds.x+xe.bounds.w+30)+" "+at(xe.bounds.y)+"] ")+" /Parent "+Sr,xe.open&&(Le+=" /Open true"),Le+=" >>",Kn.content=Le,this.internal.write(Xt.objId,"0 R",Kn.objId,"0 R");break;case"freetext":De="/Rect ["+Fe(xe.bounds.x)+" "+at(xe.bounds.y)+" "+Fe(xe.bounds.x+xe.bounds.w)+" "+at(xe.bounds.y+xe.bounds.h)+"] ";var Fr=xe.color||"#000000";Le="<</Type /Annot /Subtype /FreeText "+De+"/Contents ("+Nt(ur(xe.contents))+")",Le+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+Fr+")",Le+=" /Border [0 0 0]",Le+=" >>",this.internal.write(Le);break;case"link":if(xe.options.name){var ii=this.annotations._nameMap[xe.options.name];xe.options.pageNumber=ii.page,xe.options.top=ii.y}else xe.options.top||(xe.options.top=0);if(De="/Rect ["+xe.finalBounds.x+" "+xe.finalBounds.y+" "+xe.finalBounds.w+" "+xe.finalBounds.h+"] ",Le="",xe.options.url)Le="<</Type /Annot /Subtype /Link "+De+"/Border [0 0 0] /A <</S /URI /URI ("+Nt(ur(xe.options.url))+") >>";else if(xe.options.pageNumber)switch(Le="<</Type /Annot /Subtype /Link "+De+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(xe.options.pageNumber).objId+" 0 R",xe.options.magFactor=xe.options.magFactor||"XYZ",xe.options.magFactor){case"Fit":Le+=" /Fit]";break;case"FitH":Le+=" /FitH "+xe.options.top+"]";break;case"FitV":xe.options.left=xe.options.left||0,Le+=" /FitV "+xe.options.left+"]";break;case"XYZ":default:var oi=at(xe.options.top);xe.options.left=xe.options.left||0,xe.options.zoom===void 0&&(xe.options.zoom=0),Le+=" /XYZ "+xe.options.left+" "+oi+" "+xe.options.zoom+"]"}Le!=""&&(Le+=" >>",this.internal.write(Le))}}this.internal.write("]")}}]),Be.createAnnotation=function(ye){var xe=this.internal.getCurrentPageInfo();switch(ye.type){case"link":this.link(ye.bounds.x,ye.bounds.y,ye.bounds.w,ye.bounds.h,ye);break;case"text":case"freetext":xe.pageContext.annotations.push(ye)}},Be.link=function(ye,xe,De,Le,Fe){var at=this.internal.getCurrentPageInfo(),Ve=this.internal.getCoordinateString,It=this.internal.getVerticalCoordinateString;at.pageContext.annotations.push({finalBounds:{x:Ve(ye),y:It(xe),w:Ve(ye+De),h:It(xe+Le)},options:Fe,type:"link"})},Be.textWithLink=function(ye,xe,De,Le){var Fe,at,Ve=this.getTextWidth(ye),It=this.internal.getLineHeight()/this.internal.scaleFactor;if(Le.maxWidth!==void 0){at=Le.maxWidth;var pn=this.splitTextToSize(ye,at).length;Fe=Math.ceil(It*pn)}else at=Ve,Fe=It;return this.text(ye,xe,De,Le),De+=.2*It,Le.align==="center"&&(xe-=Ve/2),Le.align==="right"&&(xe-=Ve),this.link(xe,De-It,at,Fe,Le),Ve},Be.getTextWidth=function(ye){var xe=this.internal.getFontSize();return this.getStringUnitWidth(ye)*xe/this.internal.scaleFactor}}(P.API),function(Be){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]},ye={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}},xe={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},De=[1570,1571,1573,1575];Be.__arabicParser__={};var Le=Be.__arabicParser__.isInArabicSubstitutionA=function(Xt){return le[Xt.charCodeAt(0)]!==void 0},Fe=Be.__arabicParser__.isArabicLetter=function(Xt){return typeof Xt=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(Xt)},at=Be.__arabicParser__.isArabicEndLetter=function(Xt){return Fe(Xt)&&Le(Xt)&&le[Xt.charCodeAt(0)].length<=2},Ve=Be.__arabicParser__.isArabicAlfLetter=function(Xt){return Fe(Xt)&&De.indexOf(Xt.charCodeAt(0))>=0};Be.__arabicParser__.arabicLetterHasIsolatedForm=function(Xt){return Fe(Xt)&&Le(Xt)&&le[Xt.charCodeAt(0)].length>=1};var It=Be.__arabicParser__.arabicLetterHasFinalForm=function(Xt){return Fe(Xt)&&Le(Xt)&&le[Xt.charCodeAt(0)].length>=2};Be.__arabicParser__.arabicLetterHasInitialForm=function(Xt){return Fe(Xt)&&Le(Xt)&&le[Xt.charCodeAt(0)].length>=3};var pn=Be.__arabicParser__.arabicLetterHasMedialForm=function(Xt){return Fe(Xt)&&Le(Xt)&&le[Xt.charCodeAt(0)].length==4},rn=Be.__arabicParser__.resolveLigatures=function(Xt){var Kn=0,Fn=ye,un="",Sr=0;for(Kn=0;Kn<Xt.length;Kn+=1)Fn[Xt.charCodeAt(Kn)]!==void 0?(Sr++,typeof(Fn=Fn[Xt.charCodeAt(Kn)])=="number"&&(un+=String.fromCharCode(Fn),Fn=ye,Sr=0),Kn===Xt.length-1&&(Fn=ye,un+=Xt.charAt(Kn-(Sr-1)),Kn-=Sr-1,Sr=0)):(Fn=ye,un+=Xt.charAt(Kn-Sr),Kn-=Sr,Sr=0);return un};Be.__arabicParser__.isArabicDiacritic=function(Xt){return Xt!==void 0&&xe[Xt.charCodeAt(0)]!==void 0};var Tn=Be.__arabicParser__.getCorrectForm=function(Xt,Kn,Fn){return Fe(Xt)?Le(Xt)===!1?-1:!It(Xt)||!Fe(Kn)&&!Fe(Fn)||!Fe(Fn)&&at(Kn)||at(Xt)&&!Fe(Kn)||at(Xt)&&Ve(Kn)||at(Xt)&&at(Kn)?0:pn(Xt)&&Fe(Kn)&&!at(Kn)&&Fe(Fn)&&It(Fn)?3:at(Xt)||!Fe(Fn)?1:2:-1},Nt=function(Kn){var Fn=0,un=0,Sr=0,Fr="",ii="",oi="",ti=(Kn=Kn||"").split("\\s+"),bi=[];for(Fn=0;Fn<ti.length;Fn+=1){for(bi.push(""),un=0;un<ti[Fn].length;un+=1)Fr=ti[Fn][un],ii=ti[Fn][un-1],oi=ti[Fn][un+1],Fe(Fr)?(Sr=Tn(Fr,ii,oi),bi[Fn]+=Sr!==-1?String.fromCharCode(le[Fr.charCodeAt(0)][Sr]):Fr):bi[Fn]+=Fr;bi[Fn]=rn(bi[Fn])}return bi.join(" ")},ur=Be.__arabicParser__.processArabic=Be.processArabic=function(){var Xt,Kn=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,Fn=[];if(Array.isArray(Kn)){var un=0;for(Fn=[],un=0;un<Kn.length;un+=1)Array.isArray(Kn[un])?Fn.push([Nt(Kn[un][0]),Kn[un][1],Kn[un][2]]):Fn.push([Nt(Kn[un])]);Xt=Fn}else Xt=Nt(Kn);return typeof arguments[0]=="string"?Xt:(arguments[0].text=Xt,arguments[0])};Be.events.push(["preProcessText",ur])}(P.API),P.API.autoPrint=function(Be){var le;switch((Be=Be||{}).variant=Be.variant||"non-conform",Be.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},function(Be){var le=function(){var xe=void 0;Object.defineProperty(this,"pdf",{get:function(){return xe},set:function(It){xe=It}});var De=150;Object.defineProperty(this,"width",{get:function(){return De},set:function(It){De=isNaN(It)||Number.isInteger(It)===!1||It<0?150:It,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=De+1)}});var Le=300;Object.defineProperty(this,"height",{get:function(){return Le},set:function(It){Le=isNaN(It)||Number.isInteger(It)===!1||It<0?300:It,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=Le+1)}});var Fe=[];Object.defineProperty(this,"childNodes",{get:function(){return Fe},set:function(It){Fe=It}});var at={};Object.defineProperty(this,"style",{get:function(){return at},set:function(It){at=It}}),Object.defineProperty(this,"parentNode",{})};le.prototype.getContext=function(ye,xe){var De;if((ye=ye||"2d")!=="2d")return null;for(De in xe)this.pdf.context2d.hasOwnProperty(De)&&(this.pdf.context2d[De]=xe[De]);return this.pdf.context2d._canvas=this,this.pdf.context2d},le.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},Be.events.push(["initialized",function(){this.canvas=new le,this.canvas.pdf=this}])}(P.API),function(Be){var le={left:0,top:0,bottom:0,right:0},ye=!1,xe=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},le),this.internal.__cell__.margins.width=this.getPageWidth(),De.call(this))},De=function(){this.internal.__cell__.lastCell=new Le,this.internal.__cell__.pages=1},Le=function(){var It=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return It},set:function(Fn){It=Fn}});var pn=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return pn},set:function(Fn){pn=Fn}});var rn=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return rn},set:function(Fn){rn=Fn}});var Tn=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Tn},set:function(Fn){Tn=Fn}});var Nt=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Nt},set:function(Fn){Nt=Fn}});var ur=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return ur},set:function(Fn){ur=Fn}});var Xt=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return Xt},set:function(Fn){Xt=Fn}}),this};Le.prototype.clone=function(){return new Le(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},Le.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},Be.setHeaderFunction=function(Ve){return xe.call(this),this.internal.__cell__.headerFunction=typeof Ve=="function"?Ve:void 0,this},Be.getTextDimensions=function(Ve,It){xe.call(this);var pn=(It=It||{}).fontSize||this.getFontSize(),rn=It.font||this.getFont(),Tn=It.scaleFactor||this.internal.scaleFactor,Nt=0,ur=0,Xt=0,Kn=this;if(!Array.isArray(Ve)&&typeof Ve!="string"){if(typeof Ve!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");Ve=String(Ve)}var Fn=It.maxWidth;Fn>0?typeof Ve=="string"?Ve=this.splitTextToSize(Ve,Fn):Object.prototype.toString.call(Ve)==="[object Array]"&&(Ve=Ve.reduce(function(Sr,Fr){return Sr.concat(Kn.splitTextToSize(Fr,Fn))},[])):Ve=Array.isArray(Ve)?Ve:[Ve];for(var un=0;un<Ve.length;un++)Nt<(Xt=this.getStringUnitWidth(Ve[un],{font:rn})*pn)&&(Nt=Xt);return Nt!==0&&(ur=Ve.length),{w:Nt/=Tn,h:Math.max((ur*pn*this.getLineHeightFactor()-pn*(this.getLineHeightFactor()-1))/Tn,0)}},Be.cellAddPage=function(){xe.call(this),this.addPage();var Ve=this.internal.__cell__.margins||le;return this.internal.__cell__.lastCell=new Le(Ve.left,Ve.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var Fe=Be.cell=function(){var Ve;Ve=arguments[0]instanceof Le?arguments[0]:new Le(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),xe.call(this);var It=this.internal.__cell__.lastCell,pn=this.internal.__cell__.padding,rn=this.internal.__cell__.margins||le,Tn=this.internal.__cell__.tableHeaderRow,Nt=this.internal.__cell__.printHeaders;return It.lineNumber!==void 0&&(It.lineNumber===Ve.lineNumber?(Ve.x=(It.x||0)+(It.width||0),Ve.y=It.y||0):It.y+It.height+Ve.height+rn.bottom>this.getPageHeight()?(this.cellAddPage(),Ve.y=rn.top,Nt&&Tn&&(this.printHeaderRow(Ve.lineNumber,!0),Ve.y+=Tn[0].height)):Ve.y=It.y+It.height||Ve.y),Ve.text[0]!==void 0&&(this.rect(Ve.x,Ve.y,Ve.width,Ve.height,ye===!0?"FD":void 0),Ve.align==="right"?this.text(Ve.text,Ve.x+Ve.width-pn,Ve.y+pn,{align:"right",baseline:"top"}):Ve.align==="center"?this.text(Ve.text,Ve.x+Ve.width/2,Ve.y+pn,{align:"center",baseline:"top",maxWidth:Ve.width-pn-pn}):this.text(Ve.text,Ve.x+pn,Ve.y+pn,{align:"left",baseline:"top",maxWidth:Ve.width-pn-pn})),this.internal.__cell__.lastCell=Ve,this};Be.table=function(Ve,It,pn,rn,Tn){if(xe.call(this),!pn)throw new Error("No data for PDF table.");var Nt,ur,Xt,Kn,Fn=[],un=[],Sr=[],Fr={},ii={},oi=[],ti=[],bi=(Tn=Tn||{}).autoSize||!1,Mr=Tn.printHeaders!==!1,Oi=Tn.css&&Tn.css["font-size"]!==void 0?16*Tn.css["font-size"]:Tn.fontSize||12,Ar=Tn.margins||Object.assign({width:this.getPageWidth()},le),Wn=typeof Tn.padding=="number"?Tn.padding:3,xr=Tn.headerBackgroundColor||"#c8c8c8",er=Tn.headerTextColor||"#000";if(De.call(this),this.internal.__cell__.printHeaders=Mr,this.internal.__cell__.margins=Ar,this.internal.__cell__.table_font_size=Oi,this.internal.__cell__.padding=Wn,this.internal.__cell__.headerBackgroundColor=xr,this.internal.__cell__.headerTextColor=er,this.setFontSize(Oi),rn==null)un=Fn=Object.keys(pn[0]),Sr=Fn.map(function(){return"left"});else if(Array.isArray(rn)&&g()(rn[0])==="object")for(Fn=rn.map(function(ni){return ni.name}),un=rn.map(function(ni){return ni.prompt||ni.name||""}),Sr=rn.map(function(ni){return ni.align||"left"}),Nt=0;Nt<rn.length;Nt+=1)ii[rn[Nt].name]=rn[Nt].width*(19.049976/25.4);else Array.isArray(rn)&&typeof rn[0]=="string"&&(un=Fn=rn,Sr=Fn.map(function(){return"left"}));if(bi||Array.isArray(rn)&&typeof rn[0]=="string")for(Nt=0;Nt<Fn.length;Nt+=1){for(Fr[Kn=Fn[Nt]]=pn.map(function(ni){return ni[Kn]}),this.setFont(void 0,"bold"),oi.push(this.getTextDimensions(un[Nt],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),ur=Fr[Kn],this.setFont(void 0,"normal"),Xt=0;Xt<ur.length;Xt+=1)oi.push(this.getTextDimensions(ur[Xt],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);ii[Kn]=Math.max.apply(null,oi)+Wn+Wn,oi=[]}if(Mr){var ci={};for(Nt=0;Nt<Fn.length;Nt+=1)ci[Fn[Nt]]={},ci[Fn[Nt]].text=un[Nt],ci[Fn[Nt]].align=Sr[Nt];var qr=at.call(this,ci,ii);ti=Fn.map(function(ni){return new Le(Ve,It,ii[ni],qr,ci[ni].text,void 0,ci[ni].align)}),this.setTableHeaderRow(ti),this.printHeaderRow(1,!1)}var wi=rn.reduce(function(ni,Mi){return ni[Mi.name]=Mi.align,ni},{});for(Nt=0;Nt<pn.length;Nt+=1){"rowStart"in Tn&&Tn.rowStart instanceof Function&&Tn.rowStart({row:Nt,data:pn[Nt]},this);var Xr=at.call(this,pn[Nt],ii);for(Xt=0;Xt<Fn.length;Xt+=1){var Hi=pn[Nt][Fn[Xt]];"cellStart"in Tn&&Tn.cellStart instanceof Function&&Tn.cellStart({row:Nt,col:Xt,data:Hi},this),Fe.call(this,new Le(Ve,It,ii[Fn[Xt]],Xr,Hi,Nt+2,wi[Fn[Xt]]))}}return this.internal.__cell__.table_x=Ve,this.internal.__cell__.table_y=It,this};var at=function(It,pn){var rn=this.internal.__cell__.padding,Tn=this.internal.__cell__.table_font_size,Nt=this.internal.scaleFactor;return Object.keys(It).map(function(ur){var Xt=It[ur];return this.splitTextToSize(Xt.hasOwnProperty("text")?Xt.text:Xt,pn[ur]-rn-rn)},this).map(function(ur){return this.getLineHeightFactor()*ur.length*Tn/Nt+rn+rn},this).reduce(function(ur,Xt){return Math.max(ur,Xt)},0)};Be.setTableHeaderRow=function(Ve){xe.call(this),this.internal.__cell__.tableHeaderRow=Ve},Be.printHeaderRow=function(Ve,It){if(xe.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var pn;if(ye=!0,typeof this.internal.__cell__.headerFunction=="function"){var rn=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new Le(rn[0],rn[1],rn[2],rn[3],void 0,-1)}this.setFont(void 0,"bold");for(var Tn=[],Nt=0;Nt<this.internal.__cell__.tableHeaderRow.length;Nt+=1){pn=this.internal.__cell__.tableHeaderRow[Nt].clone(),It&&(pn.y=this.internal.__cell__.margins.top||0,Tn.push(pn)),pn.lineNumber=Ve;var ur=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),Fe.call(this,pn),this.setTextColor(ur)}Tn.length>0&&this.setTableHeaderRow(Tn),this.setFont(void 0,"normal"),ye=!1}}(P.API);var Ln={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},jn=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Sn=Je(jn),Xn=[100,200,300,400,500,600,700,800,900],rr=Je(Xn);function hr(Be){var le=Be.family.replace(/"|'/g,"").toLowerCase(),ye=function(Le){return Ln[Le=Le||"normal"]?Le:"normal"}(Be.style),xe=function(Le){if(!Le)return 400;if(typeof Le=="number")return Le>=100&&Le<=900&&Le%100==0?Le:400;if(/^\d00$/.test(Le))return parseInt(Le);switch(Le){case"bold":return 700;case"normal":default:return 400}}(Be.weight),De=function(Le){return typeof Sn[Le=Le||"normal"]=="number"?Le:"normal"}(Be.stretch);return{family:le,style:ye,weight:xe,stretch:De,src:Be.src||[],ref:Be.ref||{name:le,style:[De,ye,xe].join(" ")}}}function gn(Be,le,ye,xe){var De;for(De=ye;De>=0&&De<le.length;De+=xe)if(Be[le[De]])return Be[le[De]];for(De=ye;De>=0&&De<le.length;De-=xe)if(Be[le[De]])return Be[le[De]]}var vn={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Ft={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Ye(Be){return[Be.stretch,Be.style,Be.weight,Be.family].join(" ")}function Pe(Be,le,ye){for(var xe=(ye=ye||{}).defaultFontFamily||"times",De=Object.assign({},vn,ye.genericFontFamilies||{}),Le=null,Fe=null,at=0;at<le.length;++at)if(De[(Le=hr(le[at])).family]&&(Le.family=De[Le.family]),Be.hasOwnProperty(Le.family)){Fe=Be[Le.family];break}if(!(Fe=Fe||Be[xe]))throw new Error("Could not find a font-family for the rule '"+Ye(Le)+"' and default family '"+xe+"'.");if(Fe=function(Ve,It){if(It[Ve])return It[Ve];var pn=Sn[Ve],rn=pn<=Sn.normal?-1:1,Tn=gn(It,jn,pn,rn);if(!Tn)throw new Error("Could not find a matching font-stretch value for "+Ve);return Tn}(Le.stretch,Fe),Fe=function(Ve,It){if(It[Ve])return It[Ve];for(var pn=Ln[Ve],rn=0;rn<pn.length;++rn)if(It[pn[rn]])return It[pn[rn]];throw new Error("Could not find a matching font-style for "+Ve)}(Le.style,Fe),!(Fe=function(Ve,It){if(It[Ve])return It[Ve];if(Ve===400&&It[500])return It[500];if(Ve===500&&It[400])return It[400];var pn=rr[Ve],rn=gn(It,Xn,pn,Ve<400?-1:1);if(!rn)throw new Error("Could not find a matching font-weight for value "+Ve);return rn}(Le.weight,Fe)))throw new Error("Failed to resolve a font for the rule '"+Ye(Le)+"'.");return Fe}function Jt(Be){return Be.trimLeft()}function bn(Be,le){for(var ye=0;ye<Be.length;){if(Be.charAt(ye)===le)return[Be.substring(0,ye),Be.substring(ye+1)];ye+=1}return null}function An(Be){var le=Be.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return le===null?null:[le[0],Be.substring(le[0].length)]}var dn,vr,qn,Ur=["times"];!function(Be){var le,ye,xe,De,Le,Fe,at,Ve,It,pn=function(Pn){return Pn=Pn||{},this.isStrokeTransparent=Pn.isStrokeTransparent||!1,this.strokeOpacity=Pn.strokeOpacity||1,this.strokeStyle=Pn.strokeStyle||"#000000",this.fillStyle=Pn.fillStyle||"#000000",this.isFillTransparent=Pn.isFillTransparent||!1,this.fillOpacity=Pn.fillOpacity||1,this.font=Pn.font||"10px sans-serif",this.textBaseline=Pn.textBaseline||"alphabetic",this.textAlign=Pn.textAlign||"left",this.lineWidth=Pn.lineWidth||1,this.lineJoin=Pn.lineJoin||"miter",this.lineCap=Pn.lineCap||"butt",this.path=Pn.path||[],this.transform=Pn.transform!==void 0?Pn.transform.clone():new Ve,this.globalCompositeOperation=Pn.globalCompositeOperation||"normal",this.globalAlpha=Pn.globalAlpha||1,this.clip_path=Pn.clip_path||[],this.currentPoint=Pn.currentPoint||new Fe,this.miterLimit=Pn.miterLimit||10,this.lastPoint=Pn.lastPoint||new Fe,this.lineDashOffset=Pn.lineDashOffset||0,this.lineDash=Pn.lineDash||[],this.margin=Pn.margin||[0,0,0,0],this.prevPageLastElemOffset=Pn.prevPageLastElemOffset||0,this.ignoreClearRect=typeof Pn.ignoreClearRect!="boolean"||Pn.ignoreClearRect,this};Be.events.push(["initialized",function(){this.context2d=new rn(this),le=this.internal.f2,ye=this.internal.getCoordinateString,xe=this.internal.getVerticalCoordinateString,De=this.internal.getHorizontalCoordinate,Le=this.internal.getVerticalCoordinate,Fe=this.internal.Point,at=this.internal.Rectangle,Ve=this.internal.Matrix,It=new pn}]);var rn=function(Pn){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var br=Pn;Object.defineProperty(this,"pdf",{get:function(){return br}});var Br=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return Br},set:function(Li){Br=Boolean(Li)}});var Qr=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return Qr},set:function(Li){Qr=Boolean(Li)}});var $r=0;Object.defineProperty(this,"posX",{get:function(){return $r},set:function(Li){isNaN(Li)||($r=Li)}});var hi=0;Object.defineProperty(this,"posY",{get:function(){return hi},set:function(Li){isNaN(Li)||(hi=Li)}}),Object.defineProperty(this,"margin",{get:function(){return It.margin},set:function(Li){var Ji;typeof Li=="number"?Ji=[Li,Li,Li,Li]:((Ji=new Array(4))[0]=Li[0],Ji[1]=Li.length>=2?Li[1]:Ji[0],Ji[2]=Li.length>=3?Li[2]:Ji[0],Ji[3]=Li.length>=4?Li[3]:Ji[1]),It.margin=Ji}});var fi=!1;Object.defineProperty(this,"autoPaging",{get:function(){return fi},set:function(Li){fi=Li}});var Ai=0;Object.defineProperty(this,"lastBreak",{get:function(){return Ai},set:function(Li){Ai=Li}});var Wi=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Wi},set:function(Li){Wi=Li}}),Object.defineProperty(this,"ctx",{get:function(){return It},set:function(Li){Li instanceof pn&&(It=Li)}}),Object.defineProperty(this,"path",{get:function(){return It.path},set:function(Li){It.path=Li}});var ra=[];Object.defineProperty(this,"ctxStack",{get:function(){return ra},set:function(Li){ra=Li}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Li){var Ji;Ji=Tn(Li),this.ctx.fillStyle=Ji.style,this.ctx.isFillTransparent=Ji.a===0,this.ctx.fillOpacity=Ji.a,this.pdf.setFillColor(Ji.r,Ji.g,Ji.b,{a:Ji.a}),this.pdf.setTextColor(Ji.r,Ji.g,Ji.b,{a:Ji.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Li){var Ji=Tn(Li);this.ctx.strokeStyle=Ji.style,this.ctx.isStrokeTransparent=Ji.a===0,this.ctx.strokeOpacity=Ji.a,Ji.a===0?this.pdf.setDrawColor(255,255,255):(Ji.a,this.pdf.setDrawColor(Ji.r,Ji.g,Ji.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Li){["butt","round","square"].indexOf(Li)!==-1&&(this.ctx.lineCap=Li,this.pdf.setLineCap(Li))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Li){isNaN(Li)||(this.ctx.lineWidth=Li,this.pdf.setLineWidth(Li))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Li){["bevel","round","miter"].indexOf(Li)!==-1&&(this.ctx.lineJoin=Li,this.pdf.setLineJoin(Li))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Li){isNaN(Li)||(this.ctx.miterLimit=Li,this.pdf.setMiterLimit(Li))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Li){this.ctx.textBaseline=Li}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Li){["right","end","center","left","start"].indexOf(Li)!==-1&&(this.ctx.textAlign=Li)}});var $i=null;function Ha(sr,Li){if($i===null){var Ji=function(Ui){var ea=[];return Object.keys(Ui).forEach(function(Bt){Ui[Bt].forEach(function(Vn){var nr=null;switch(Vn){case"bold":nr={family:Bt,weight:"bold"};break;case"italic":nr={family:Bt,style:"italic"};break;case"bolditalic":nr={family:Bt,weight:"bold",style:"italic"};break;case"":case"normal":nr={family:Bt}}nr!==null&&(nr.ref={name:Bt,style:Vn},ea.push(nr))})}),ea}(sr.getFontList());$i=function(Ui){for(var ea={},Bt=0;Bt<Ui.length;++Bt){var Vn=hr(Ui[Bt]),nr=Vn.family,fr=Vn.stretch,Re=Vn.style,At=Vn.weight;ea[nr]=ea[nr]||{},ea[nr][fr]=ea[nr][fr]||{},ea[nr][fr][Re]=ea[nr][fr][Re]||{},ea[nr][fr][Re][At]=Vn}return ea}(Ji.concat(Li))}return $i}var pi=null;Object.defineProperty(this,"fontFaces",{get:function(){return pi},set:function(Li){$i=null,pi=Li}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Li){var Ji;if(this.ctx.font=Li,(Ji=/^\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(Li))!==null){var Ui=Ji[1],ea=(Ji[2],Ji[3]),Bt=Ji[4],Vn=(Ji[5],Ji[6]),nr=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(Bt)[2];Bt=nr==="px"?Math.floor(parseFloat(Bt)*this.pdf.internal.scaleFactor):nr==="em"?Math.floor(parseFloat(Bt)*this.pdf.getFontSize()):Math.floor(parseFloat(Bt)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(Bt);var fr=function(Hn){var ar,Er,gr=[],Rr=Hn.trim();if(Rr==="")return Ur;if(Rr in Ft)return[Ft[Rr]];for(;Rr!=="";){switch(Er=null,ar=(Rr=Jt(Rr)).charAt(0)){case'"':case"'":Er=bn(Rr.substring(1),ar);break;default:Er=An(Rr)}if(Er===null)return Ur;if(gr.push(Er[0]),(Rr=Jt(Er[1]))!==""&&Rr.charAt(0)!==",")return Ur;Rr=Rr.replace(/^,/,"")}return gr}(Vn);if(this.fontFaces){var Re=Pe(Ha(this.pdf,this.fontFaces),fr.map(function(Hn){return{family:Hn,stretch:"normal",weight:ea,style:Ui}}));this.pdf.setFont(Re.ref.name,Re.ref.style)}else{var At="";(ea==="bold"||parseInt(ea,10)>=700||Ui==="bold")&&(At="bold"),Ui==="italic"&&(At+="italic"),At.length===0&&(At="normal");for(var qt="",$t={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Cn=0;Cn<fr.length;Cn++){if(this.pdf.internal.getFont(fr[Cn],At,{noFallback:!0,disableWarning:!0})!==void 0){qt=fr[Cn];break}if(At==="bolditalic"&&this.pdf.internal.getFont(fr[Cn],"bold",{noFallback:!0,disableWarning:!0})!==void 0)qt=fr[Cn],At="bold";else if(this.pdf.internal.getFont(fr[Cn],"normal",{noFallback:!0,disableWarning:!0})!==void 0){qt=fr[Cn],At="normal";break}}if(qt===""){for(var Dn=0;Dn<fr.length;Dn++)if($t[fr[Dn]]){qt=$t[fr[Dn]];break}}qt=qt===""?"Times":qt,this.pdf.setFont(qt,At)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(Li){this.ctx.globalCompositeOperation=Li}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(Li){this.ctx.globalAlpha=Li}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(Li){this.ctx.lineDashOffset=Li,Mi.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(Li){this.ctx.lineDash=Li,Mi.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(Li){this.ctx.ignoreClearRect=Boolean(Li)}})};rn.prototype.setLineDash=function(cr){this.lineDash=cr},rn.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},rn.prototype.fill=function(){Fr.call(this,"fill",!1)},rn.prototype.stroke=function(){Fr.call(this,"stroke",!1)},rn.prototype.beginPath=function(){this.path=[{type:"begin"}]},rn.prototype.moveTo=function(cr,Pn){if(isNaN(cr)||isNaN(Pn))throw m.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var br=this.ctx.transform.applyToPoint(new Fe(cr,Pn));this.path.push({type:"mt",x:br.x,y:br.y}),this.ctx.lastPoint=new Fe(cr,Pn)},rn.prototype.closePath=function(){var cr=new Fe(0,0),Pn=0;for(Pn=this.path.length-1;Pn!==-1;Pn--)if(this.path[Pn].type==="begin"&&g()(this.path[Pn+1])==="object"&&typeof this.path[Pn+1].x=="number"){cr=new Fe(this.path[Pn+1].x,this.path[Pn+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new Fe(cr.x,cr.y)},rn.prototype.lineTo=function(cr,Pn){if(isNaN(cr)||isNaN(Pn))throw m.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var br=this.ctx.transform.applyToPoint(new Fe(cr,Pn));this.path.push({type:"lt",x:br.x,y:br.y}),this.ctx.lastPoint=new Fe(br.x,br.y)},rn.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),Fr.call(this,null,!0)},rn.prototype.quadraticCurveTo=function(cr,Pn,br,Br){if(isNaN(br)||isNaN(Br)||isNaN(cr)||isNaN(Pn))throw m.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var Qr=this.ctx.transform.applyToPoint(new Fe(br,Br)),$r=this.ctx.transform.applyToPoint(new Fe(cr,Pn));this.path.push({type:"qct",x1:$r.x,y1:$r.y,x:Qr.x,y:Qr.y}),this.ctx.lastPoint=new Fe(Qr.x,Qr.y)},rn.prototype.bezierCurveTo=function(cr,Pn,br,Br,Qr,$r){if(isNaN(Qr)||isNaN($r)||isNaN(cr)||isNaN(Pn)||isNaN(br)||isNaN(Br))throw m.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var hi=this.ctx.transform.applyToPoint(new Fe(Qr,$r)),fi=this.ctx.transform.applyToPoint(new Fe(cr,Pn)),Ai=this.ctx.transform.applyToPoint(new Fe(br,Br));this.path.push({type:"bct",x1:fi.x,y1:fi.y,x2:Ai.x,y2:Ai.y,x:hi.x,y:hi.y}),this.ctx.lastPoint=new Fe(hi.x,hi.y)},rn.prototype.arc=function(cr,Pn,br,Br,Qr,$r){if(isNaN(cr)||isNaN(Pn)||isNaN(br)||isNaN(Br)||isNaN(Qr))throw m.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if($r=Boolean($r),!this.ctx.transform.isIdentity){var hi=this.ctx.transform.applyToPoint(new Fe(cr,Pn));cr=hi.x,Pn=hi.y;var fi=this.ctx.transform.applyToPoint(new Fe(0,br)),Ai=this.ctx.transform.applyToPoint(new Fe(0,0));br=Math.sqrt(Math.pow(fi.x-Ai.x,2)+Math.pow(fi.y-Ai.y,2))}Math.abs(Qr-Br)>=2*Math.PI&&(Br=0,Qr=2*Math.PI),this.path.push({type:"arc",x:cr,y:Pn,radius:br,startAngle:Br,endAngle:Qr,counterclockwise:$r})},rn.prototype.arcTo=function(cr,Pn,br,Br,Qr){throw new Error("arcTo not implemented.")},rn.prototype.rect=function(cr,Pn,br,Br){if(isNaN(cr)||isNaN(Pn)||isNaN(br)||isNaN(Br))throw m.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(cr,Pn),this.lineTo(cr+br,Pn),this.lineTo(cr+br,Pn+Br),this.lineTo(cr,Pn+Br),this.lineTo(cr,Pn),this.lineTo(cr+br,Pn),this.lineTo(cr,Pn)},rn.prototype.fillRect=function(cr,Pn,br,Br){if(isNaN(cr)||isNaN(Pn)||isNaN(br)||isNaN(Br))throw m.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!Nt.call(this)){var Qr={};this.lineCap!=="butt"&&(Qr.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Qr.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(cr,Pn,br,Br),this.fill(),Qr.hasOwnProperty("lineCap")&&(this.lineCap=Qr.lineCap),Qr.hasOwnProperty("lineJoin")&&(this.lineJoin=Qr.lineJoin)}},rn.prototype.strokeRect=function(cr,Pn,br,Br){if(isNaN(cr)||isNaN(Pn)||isNaN(br)||isNaN(Br))throw m.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");ur.call(this)||(this.beginPath(),this.rect(cr,Pn,br,Br),this.stroke())},rn.prototype.clearRect=function(cr,Pn,br,Br){if(isNaN(cr)||isNaN(Pn)||isNaN(br)||isNaN(Br))throw m.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(cr,Pn,br,Br))},rn.prototype.save=function(cr){cr=typeof cr!="boolean"||cr;for(var Pn=this.pdf.internal.getCurrentPageInfo().pageNumber,br=0;br<this.pdf.internal.getNumberOfPages();br++)this.pdf.setPage(br+1),this.pdf.internal.out("q");if(this.pdf.setPage(Pn),cr){this.ctx.fontSize=this.pdf.internal.getFontSize();var Br=new pn(this.ctx);this.ctxStack.push(this.ctx),this.ctx=Br}},rn.prototype.restore=function(cr){cr=typeof cr!="boolean"||cr;for(var Pn=this.pdf.internal.getCurrentPageInfo().pageNumber,br=0;br<this.pdf.internal.getNumberOfPages();br++)this.pdf.setPage(br+1),this.pdf.internal.out("Q");this.pdf.setPage(Pn),cr&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},rn.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var Tn=function(Pn){var br,Br,Qr,$r;if(Pn.isCanvasGradient===!0&&(Pn=Pn.getColor()),!Pn)return{r:0,g:0,b:0,a:0,style:Pn};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(Pn))br=0,Br=0,Qr=0,$r=0;else{var hi=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(Pn);if(hi!==null)br=parseInt(hi[1]),Br=parseInt(hi[2]),Qr=parseInt(hi[3]),$r=1;else if((hi=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(Pn))!==null)br=parseInt(hi[1]),Br=parseInt(hi[2]),Qr=parseInt(hi[3]),$r=parseFloat(hi[4]);else{if($r=1,typeof Pn=="string"&&Pn.charAt(0)!=="#"){var fi=new l(Pn);Pn=fi.ok?fi.toHex():"#000000"}Pn.length===4?(br=Pn.substring(1,2),br+=br,Br=Pn.substring(2,3),Br+=Br,Qr=Pn.substring(3,4),Qr+=Qr):(br=Pn.substring(1,3),Br=Pn.substring(3,5),Qr=Pn.substring(5,7)),br=parseInt(br,16),Br=parseInt(Br,16),Qr=parseInt(Qr,16)}}return{r:br,g:Br,b:Qr,a:$r,style:Pn}},Nt=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},ur=function(){return Boolean(this.ctx.isStrokeTransparent||this.globalAlpha==0)};rn.prototype.fillText=function(cr,Pn,br,Br){if(isNaN(Pn)||isNaN(br)||typeof cr!="string")throw m.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(Br=isNaN(Br)?void 0:Br,!Nt.call(this)){var Qr=Xr(this.ctx.transform.rotation),$r=this.ctx.transform.scaleX;Wn.call(this,{text:cr,x:Pn,y:br,scale:$r,angle:Qr,align:this.textAlign,maxWidth:Br})}},rn.prototype.strokeText=function(cr,Pn,br,Br){if(isNaN(Pn)||isNaN(br)||typeof cr!="string")throw m.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!ur.call(this)){Br=isNaN(Br)?void 0:Br;var Qr=Xr(this.ctx.transform.rotation),$r=this.ctx.transform.scaleX;Wn.call(this,{text:cr,x:Pn,y:br,scale:$r,renderingMode:"stroke",angle:Qr,align:this.textAlign,maxWidth:Br})}},rn.prototype.measureText=function(cr){if(typeof cr!="string")throw m.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var Pn=this.pdf,br=this.pdf.internal.scaleFactor,Br=Pn.internal.getFontSize(),Qr=Pn.getStringUnitWidth(cr)*Br/Pn.internal.scaleFactor,$r=function(fi){var Ai=(fi=fi||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return Ai}}),this};return new $r({width:Qr*=Math.round(96*br/72*1e4)/1e4})},rn.prototype.scale=function(cr,Pn){if(isNaN(cr)||isNaN(Pn))throw m.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var br=new Ve(cr,0,0,Pn,0,0);this.ctx.transform=this.ctx.transform.multiply(br)},rn.prototype.rotate=function(cr){if(isNaN(cr))throw m.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var Pn=new Ve(Math.cos(cr),Math.sin(cr),-Math.sin(cr),Math.cos(cr),0,0);this.ctx.transform=this.ctx.transform.multiply(Pn)},rn.prototype.translate=function(cr,Pn){if(isNaN(cr)||isNaN(Pn))throw m.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var br=new Ve(1,0,0,1,cr,Pn);this.ctx.transform=this.ctx.transform.multiply(br)},rn.prototype.transform=function(cr,Pn,br,Br,Qr,$r){if(isNaN(cr)||isNaN(Pn)||isNaN(br)||isNaN(Br)||isNaN(Qr)||isNaN($r))throw m.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var hi=new Ve(cr,Pn,br,Br,Qr,$r);this.ctx.transform=this.ctx.transform.multiply(hi)},rn.prototype.setTransform=function(cr,Pn,br,Br,Qr,$r){cr=isNaN(cr)?1:cr,Pn=isNaN(Pn)?0:Pn,br=isNaN(br)?0:br,Br=isNaN(Br)?1:Br,Qr=isNaN(Qr)?0:Qr,$r=isNaN($r)?0:$r,this.ctx.transform=new Ve(cr,Pn,br,Br,Qr,$r)};var Xt=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};rn.prototype.drawImage=function(cr,Pn,br,Br,Qr,$r,hi,fi,Ai){var Wi=this.pdf.getImageProperties(cr),ra=1,$i=1,Ha=1,pi=1;Br!==void 0&&fi!==void 0&&(Ha=fi/Br,pi=Ai/Qr,ra=Wi.width/Br*fi/Br,$i=Wi.height/Qr*Ai/Qr),$r===void 0&&($r=Pn,hi=br,Pn=0,br=0),Br!==void 0&&fi===void 0&&(fi=Br,Ai=Qr),Br===void 0&&fi===void 0&&(fi=Wi.width,Ai=Wi.height);for(var sr,Li=this.ctx.transform.decompose(),Ji=Xr(Li.rotate.shx),Ui=new Ve,ea=(Ui=(Ui=(Ui=Ui.multiply(Li.translate)).multiply(Li.skew)).multiply(Li.scale)).applyToRectangle(new at($r-Pn*Ha,hi-br*pi,Br*ra,Qr*$i)),Bt=Kn.call(this,ea),Vn=[],nr=0;nr<Bt.length;nr+=1)Vn.indexOf(Bt[nr])===-1&&Vn.push(Bt[nr]);if(Sr(Vn),this.autoPaging)for(var fr=Vn[0],Re=Vn[Vn.length-1],At=fr;At<Re+1;At++){this.pdf.setPage(At);var qt=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],$t=At===1?this.posY+this.margin[0]:this.margin[0],Cn=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Dn=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Hn=At===1?0:Cn+(At-2)*Dn;if(this.ctx.clip_path.length!==0){var ar=this.path;sr=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=un(sr,this.posX+this.margin[3],-Hn+$t+this.ctx.prevPageLastElemOffset),ii.call(this,"fill",!0),this.path=ar}var Er=JSON.parse(JSON.stringify(ea));Er=un([Er],this.posX+this.margin[3],-Hn+$t+this.ctx.prevPageLastElemOffset)[0];var gr=(At>fr||At<Re)&&Xt.call(this);gr&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],qt,Dn,null).clip().discardPath()),this.pdf.addImage(cr,"JPEG",Er.x,Er.y,Er.w,Er.h,null,null,Ji),gr&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(cr,"JPEG",ea.x,ea.y,ea.w,ea.h,null,null,Ji)};var Kn=function(Pn,br,Br){var Qr=[];br=br||this.pdf.internal.pageSize.width,Br=Br||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var $r=this.posY+this.ctx.prevPageLastElemOffset;switch(Pn.type){default:case"mt":case"lt":Qr.push(Math.floor((Pn.y+$r)/Br)+1);break;case"arc":Qr.push(Math.floor((Pn.y+$r-Pn.radius)/Br)+1),Qr.push(Math.floor((Pn.y+$r+Pn.radius)/Br)+1);break;case"qct":var hi=Hi(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Pn.x1,Pn.y1,Pn.x,Pn.y);Qr.push(Math.floor((hi.y+$r)/Br)+1),Qr.push(Math.floor((hi.y+hi.h+$r)/Br)+1);break;case"bct":var fi=ni(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Pn.x1,Pn.y1,Pn.x2,Pn.y2,Pn.x,Pn.y);Qr.push(Math.floor((fi.y+$r)/Br)+1),Qr.push(Math.floor((fi.y+fi.h+$r)/Br)+1);break;case"rect":Qr.push(Math.floor((Pn.y+$r)/Br)+1),Qr.push(Math.floor((Pn.y+Pn.h+$r)/Br)+1)}for(var Ai=0;Ai<Qr.length;Ai+=1)for(;this.pdf.internal.getNumberOfPages()<Qr[Ai];)Fn.call(this);return Qr},Fn=function(){var Pn=this.fillStyle,br=this.strokeStyle,Br=this.font,Qr=this.lineCap,$r=this.lineWidth,hi=this.lineJoin;this.pdf.addPage(),this.fillStyle=Pn,this.strokeStyle=br,this.font=Br,this.lineCap=Qr,this.lineWidth=$r,this.lineJoin=hi},un=function(Pn,br,Br){for(var Qr=0;Qr<Pn.length;Qr++)switch(Pn[Qr].type){case"bct":Pn[Qr].x2+=br,Pn[Qr].y2+=Br;case"qct":Pn[Qr].x1+=br,Pn[Qr].y1+=Br;case"mt":case"lt":case"arc":default:Pn[Qr].x+=br,Pn[Qr].y+=Br}return Pn},Sr=function(Pn){return Pn.sort(function(br,Br){return br-Br})},Fr=function(Pn,br){for(var Br,Qr,$r=this.fillStyle,hi=this.strokeStyle,fi=this.lineCap,Ai=this.lineWidth,Wi=Math.abs(Ai*this.ctx.transform.scaleX),ra=this.lineJoin,$i=JSON.parse(JSON.stringify(this.path)),Ha=JSON.parse(JSON.stringify(this.path)),pi=[],sr=0;sr<Ha.length;sr++)if(Ha[sr].x!==void 0)for(var Li=Kn.call(this,Ha[sr]),Ji=0;Ji<Li.length;Ji+=1)pi.indexOf(Li[Ji])===-1&&pi.push(Li[Ji]);for(var Ui=0;Ui<pi.length;Ui++)for(;this.pdf.internal.getNumberOfPages()<pi[Ui];)Fn.call(this);if(Sr(pi),this.autoPaging)for(var ea=pi[0],Bt=pi[pi.length-1],Vn=ea;Vn<Bt+1;Vn++){this.pdf.setPage(Vn),this.fillStyle=$r,this.strokeStyle=hi,this.lineCap=fi,this.lineWidth=Wi,this.lineJoin=ra;var nr=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],fr=Vn===1?this.posY+this.margin[0]:this.margin[0],Re=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],At=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],qt=Vn===1?0:Re+(Vn-2)*At;if(this.ctx.clip_path.length!==0){var $t=this.path;Br=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=un(Br,this.posX+this.margin[3],-qt+fr+this.ctx.prevPageLastElemOffset),ii.call(this,Pn,!0),this.path=$t}if(Qr=JSON.parse(JSON.stringify($i)),this.path=un(Qr,this.posX+this.margin[3],-qt+fr+this.ctx.prevPageLastElemOffset),br===!1||Vn===0){var Cn=(Vn>ea||Vn<Bt)&&Xt.call(this);Cn&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],nr,At,null).clip().discardPath()),ii.call(this,Pn,br),Cn&&this.pdf.restoreGraphicsState()}this.lineWidth=Ai}else this.lineWidth=Wi,ii.call(this,Pn,br),this.lineWidth=Ai;this.path=$i},ii=function(Pn,br){if((Pn!=="stroke"||br||!ur.call(this))&&(Pn==="stroke"||br||!Nt.call(this))){for(var Br,Qr,$r=[],hi=this.path,fi=0;fi<hi.length;fi++){var Ai=hi[fi];switch(Ai.type){case"begin":$r.push({begin:!0});break;case"close":$r.push({close:!0});break;case"mt":$r.push({start:Ai,deltas:[],abs:[]});break;case"lt":var Wi=$r.length;if(hi[fi-1]&&!isNaN(hi[fi-1].x)&&(Br=[Ai.x-hi[fi-1].x,Ai.y-hi[fi-1].y],Wi>0)){for(;Wi>=0;Wi--)if($r[Wi-1].close!==!0&&$r[Wi-1].begin!==!0){$r[Wi-1].deltas.push(Br),$r[Wi-1].abs.push(Ai);break}}break;case"bct":Br=[Ai.x1-hi[fi-1].x,Ai.y1-hi[fi-1].y,Ai.x2-hi[fi-1].x,Ai.y2-hi[fi-1].y,Ai.x-hi[fi-1].x,Ai.y-hi[fi-1].y],$r[$r.length-1].deltas.push(Br);break;case"qct":var ra=hi[fi-1].x+2/3*(Ai.x1-hi[fi-1].x),$i=hi[fi-1].y+2/3*(Ai.y1-hi[fi-1].y),Ha=Ai.x+2/3*(Ai.x1-Ai.x),pi=Ai.y+2/3*(Ai.y1-Ai.y),sr=Ai.x,Li=Ai.y;Br=[ra-hi[fi-1].x,$i-hi[fi-1].y,Ha-hi[fi-1].x,pi-hi[fi-1].y,sr-hi[fi-1].x,Li-hi[fi-1].y],$r[$r.length-1].deltas.push(Br);break;case"arc":$r.push({deltas:[],abs:[],arc:!0}),Array.isArray($r[$r.length-1].abs)&&$r[$r.length-1].abs.push(Ai)}}Qr=br?null:Pn==="stroke"?"stroke":"fill";for(var Ji=!1,Ui=0;Ui<$r.length;Ui++)if($r[Ui].arc)for(var ea=$r[Ui].abs,Bt=0;Bt<ea.length;Bt++){var Vn=ea[Bt];Vn.type==="arc"?bi.call(this,Vn.x,Vn.y,Vn.radius,Vn.startAngle,Vn.endAngle,Vn.counterclockwise,void 0,br,!Ji):xr.call(this,Vn.x,Vn.y),Ji=!0}else if($r[Ui].close===!0)this.pdf.internal.out("h"),Ji=!1;else if($r[Ui].begin!==!0){var nr=$r[Ui].start.x,fr=$r[Ui].start.y;er.call(this,$r[Ui].deltas,nr,fr),Ji=!0}Qr&&Mr.call(this,Qr),br&&Oi.call(this)}},oi=function(Pn){var br=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,Br=br*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return Pn-Br;case"top":return Pn+br-Br;case"hanging":return Pn+br-2*Br;case"middle":return Pn+br/2-Br;case"ideographic":return Pn;case"alphabetic":default:return Pn}},ti=function(Pn){return Pn+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};rn.prototype.createLinearGradient=function(){var cr=function(){};return cr.colorStops=[],cr.addColorStop=function(Pn,br){this.colorStops.push([Pn,br])},cr.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},cr.isCanvasGradient=!0,cr},rn.prototype.createPattern=function(){return this.createLinearGradient()},rn.prototype.createRadialGradient=function(){return this.createLinearGradient()};var bi=function(Pn,br,Br,Qr,$r,hi,fi,Ai,Wi){for(var ra=qr.call(this,Br,Qr,$r,hi),$i=0;$i<ra.length;$i++){var Ha=ra[$i];$i===0&&(Wi?Ar.call(this,Ha.x1+Pn,Ha.y1+br):xr.call(this,Ha.x1+Pn,Ha.y1+br)),ci.call(this,Pn,br,Ha.x2,Ha.y2,Ha.x3,Ha.y3,Ha.x4,Ha.y4)}Ai?Oi.call(this):Mr.call(this,fi)},Mr=function(Pn){switch(Pn){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},Oi=function(){this.pdf.clip(),this.pdf.discardPath()},Ar=function(Pn,br){this.pdf.internal.out(ye(Pn)+" "+xe(br)+" m")},Wn=function(Pn){var br;switch(Pn.align){case"right":case"end":br="right";break;case"center":br="center";break;case"left":case"start":default:br="left"}var Br=this.pdf.getTextDimensions(Pn.text),Qr=oi.call(this,Pn.y),$r=ti.call(this,Qr)-Br.h,hi=this.ctx.transform.applyToPoint(new Fe(Pn.x,Qr)),fi=this.ctx.transform.decompose(),Ai=new Ve;Ai=(Ai=(Ai=Ai.multiply(fi.translate)).multiply(fi.skew)).multiply(fi.scale);for(var Wi,ra,$i,Ha=this.ctx.transform.applyToRectangle(new at(Pn.x,Qr,Br.w,Br.h)),pi=Ai.applyToRectangle(new at(Pn.x,$r,Br.w,Br.h)),sr=Kn.call(this,pi),Li=[],Ji=0;Ji<sr.length;Ji+=1)Li.indexOf(sr[Ji])===-1&&Li.push(sr[Ji]);if(Sr(Li),this.autoPaging)for(var Ui=Li[0],ea=Li[Li.length-1],Bt=Ui;Bt<ea+1;Bt++){this.pdf.setPage(Bt);var Vn=Bt===1?this.posY+this.margin[0]:this.margin[0],nr=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],fr=this.pdf.internal.pageSize.height-this.margin[2],Re=fr-this.margin[0],At=this.pdf.internal.pageSize.width-this.margin[1],qt=At-this.margin[3],$t=Bt===1?0:nr+(Bt-2)*Re;if(this.ctx.clip_path.length!==0){var Cn=this.path;Wi=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=un(Wi,this.posX+this.margin[3],-1*$t+Vn),ii.call(this,"fill",!0),this.path=Cn}var Dn=un([JSON.parse(JSON.stringify(pi))],this.posX+this.margin[3],-$t+Vn+this.ctx.prevPageLastElemOffset)[0];Pn.scale>=.01&&(ra=this.pdf.internal.getFontSize(),this.pdf.setFontSize(ra*Pn.scale),$i=this.lineWidth,this.lineWidth=$i*Pn.scale);var Hn=this.autoPaging!=="text";if(Hn||Dn.y+Dn.h<=fr){if(Hn||Dn.y>=Vn&&Dn.x<=At){var ar=Hn?Pn.text:this.pdf.splitTextToSize(Pn.text,Pn.maxWidth||At-Dn.x)[0],Er=un([JSON.parse(JSON.stringify(Ha))],this.posX+this.margin[3],-$t+Vn+this.ctx.prevPageLastElemOffset)[0],gr=Hn&&(Bt>Ui||Bt<ea)&&Xt.call(this);gr&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],qt,Re,null).clip().discardPath()),this.pdf.text(ar,Er.x,Er.y,{angle:Pn.angle,align:br,renderingMode:Pn.renderingMode}),gr&&this.pdf.restoreGraphicsState()}}else Dn.y<fr&&(this.ctx.prevPageLastElemOffset+=fr-Dn.y);Pn.scale>=.01&&(this.pdf.setFontSize(ra),this.lineWidth=$i)}else Pn.scale>=.01&&(ra=this.pdf.internal.getFontSize(),this.pdf.setFontSize(ra*Pn.scale),$i=this.lineWidth,this.lineWidth=$i*Pn.scale),this.pdf.text(Pn.text,hi.x+this.posX,hi.y+this.posY,{angle:Pn.angle,align:br,renderingMode:Pn.renderingMode,maxWidth:Pn.maxWidth}),Pn.scale>=.01&&(this.pdf.setFontSize(ra),this.lineWidth=$i)},xr=function(Pn,br,Br,Qr){Br=Br||0,Qr=Qr||0,this.pdf.internal.out(ye(Pn+Br)+" "+xe(br+Qr)+" l")},er=function(Pn,br,Br){return this.pdf.lines(Pn,br,Br,null,null)},ci=function(Pn,br,Br,Qr,$r,hi,fi,Ai){this.pdf.internal.out([le(De(Br+Pn)),le(Le(Qr+br)),le(De($r+Pn)),le(Le(hi+br)),le(De(fi+Pn)),le(Le(Ai+br)),"c"].join(" "))},qr=function(Pn,br,Br,Qr){for(var $r=2*Math.PI,hi=Math.PI/2;br>Br;)br-=$r;var fi=Math.abs(Br-br);fi<$r&&Qr&&(fi=$r-fi);for(var Ai=[],Wi=Qr?-1:1,ra=br;fi>1e-5;){var $i=ra+Wi*Math.min(fi,hi);Ai.push(wi.call(this,Pn,ra,$i)),fi-=Math.abs($i-ra),ra=$i}return Ai},wi=function(Pn,br,Br){var Qr=(Br-br)/2,$r=Pn*Math.cos(Qr),hi=Pn*Math.sin(Qr),fi=$r,Ai=-hi,Wi=fi*fi+Ai*Ai,ra=Wi+fi*$r+Ai*hi,$i=4/3*(Math.sqrt(2*Wi*ra)-ra)/(fi*hi-Ai*$r),Ha=fi-$i*Ai,pi=Ai+$i*fi,sr=Ha,Li=-pi,Ji=Qr+br,Ui=Math.cos(Ji),ea=Math.sin(Ji);return{x1:Pn*Math.cos(br),y1:Pn*Math.sin(br),x2:Ha*Ui-pi*ea,y2:Ha*ea+pi*Ui,x3:sr*Ui-Li*ea,y3:sr*ea+Li*Ui,x4:Pn*Math.cos(Br),y4:Pn*Math.sin(Br)}},Xr=function(Pn){return 180*Pn/Math.PI},Hi=function(Pn,br,Br,Qr,$r,hi){var fi=Pn+.5*(Br-Pn),Ai=br+.5*(Qr-br),Wi=$r+.5*(Br-$r),ra=hi+.5*(Qr-hi),$i=Math.min(Pn,$r,fi,Wi),Ha=Math.max(Pn,$r,fi,Wi),pi=Math.min(br,hi,Ai,ra),sr=Math.max(br,hi,Ai,ra);return new at($i,pi,Ha-$i,sr-pi)},ni=function(Pn,br,Br,Qr,$r,hi,fi,Ai){var Wi,ra,$i,Ha,pi,sr,Li,Ji,Ui,ea,Bt,Vn,nr,fr,Re=Br-Pn,At=Qr-br,qt=$r-Br,$t=hi-Qr,Cn=fi-$r,Dn=Ai-hi;for(ra=0;ra<41;ra++)Ui=(Li=($i=Pn+(Wi=ra/40)*Re)+Wi*((pi=Br+Wi*qt)-$i))+Wi*(pi+Wi*($r+Wi*Cn-pi)-Li),ea=(Ji=(Ha=br+Wi*At)+Wi*((sr=Qr+Wi*$t)-Ha))+Wi*(sr+Wi*(hi+Wi*Dn-sr)-Ji),ra==0?(Bt=Ui,Vn=ea,nr=Ui,fr=ea):(Bt=Math.min(Bt,Ui),Vn=Math.min(Vn,ea),nr=Math.max(nr,Ui),fr=Math.max(fr,ea));return new at(Math.round(Bt),Math.round(Vn),Math.round(nr-Bt),Math.round(fr-Vn))},Mi=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Pn,br,Br=(Pn=this.ctx.lineDash,br=this.ctx.lineDashOffset,JSON.stringify({lineDash:Pn,lineDashOffset:br}));this.prevLineDash!==Br&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Br)}}}(P.API),function(Be){var le=function(Fe){var at,Ve,It,pn,rn,Tn,Nt,ur,Xt,Kn;for(/[^\x00-\xFF]/.test(Fe),Ve=[],It=0,pn=(Fe+=at="\0\0\0\0".slice(Fe.length%4||4)).length;pn>It;It+=4)(rn=(Fe.charCodeAt(It)<<24)+(Fe.charCodeAt(It+1)<<16)+(Fe.charCodeAt(It+2)<<8)+Fe.charCodeAt(It+3))!==0?(Tn=(rn=((rn=((rn=((rn=(rn-(Kn=rn%85))/85)-(Xt=rn%85))/85)-(ur=rn%85))/85)-(Nt=rn%85))/85)%85,Ve.push(Tn+33,Nt+33,ur+33,Xt+33,Kn+33)):Ve.push(122);return function(Fn,un){for(var Sr=un;Sr>0;Sr--)Fn.pop()}(Ve,at.length),String.fromCharCode.apply(String,Ve)+"~>"},ye=function(Fe){var at,Ve,It,pn,rn,Tn=String,Nt="length",ur=255,Xt="charCodeAt",Kn="slice",Fn="replace";for(Fe[Kn](-2),Fe=Fe[Kn](0,-2)[Fn](/\s/g,"")[Fn]("z","!!!!!"),It=[],pn=0,rn=(Fe+=at="uuuuu"[Kn](Fe[Nt]%5||5))[Nt];rn>pn;pn+=5)Ve=52200625*(Fe[Xt](pn)-33)+614125*(Fe[Xt](pn+1)-33)+7225*(Fe[Xt](pn+2)-33)+85*(Fe[Xt](pn+3)-33)+(Fe[Xt](pn+4)-33),It.push(ur&Ve>>24,ur&Ve>>16,ur&Ve>>8,ur&Ve);return function(un,Sr){for(var Fr=Sr;Fr>0;Fr--)un.pop()}(It,at[Nt]),Tn.fromCharCode.apply(Tn,It)},xe=function(Fe){var at=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((Fe=Fe.replace(/\s/g,"")).indexOf(">")!==-1&&(Fe=Fe.substr(0,Fe.indexOf(">"))),Fe.length%2&&(Fe+="0"),at.test(Fe)===!1)return"";for(var Ve="",It=0;It<Fe.length;It+=2)Ve+=String.fromCharCode("0x"+(Fe[It]+Fe[It+1]));return Ve},De=function(Fe){for(var at=new Uint8Array(Fe.length),Ve=Fe.length;Ve--;)at[Ve]=Fe.charCodeAt(Ve);return Fe=(at=Object(v.b)(at)).reduce(function(It,pn){return It+String.fromCharCode(pn)},"")};Be.processDataByFilters=function(Le,Fe){var at=0,Ve=Le||"",It=[];for(typeof(Fe=Fe||[])=="string"&&(Fe=[Fe]),at=0;at<Fe.length;at+=1)switch(Fe[at]){case"ASCII85Decode":case"/ASCII85Decode":Ve=ye(Ve),It.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":Ve=le(Ve),It.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":Ve=xe(Ve),It.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":Ve=Ve.split("").map(function(pn){return("0"+pn.charCodeAt().toString(16)).slice(-2)}).join("")+">",It.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":Ve=De(Ve),It.push("/FlateDecode");break;default:throw new Error('The filter: "'+Fe[at]+'" is not implemented')}return{data:Ve,reverseChain:It.reverse().join(" ")}}}(P.API),function(Be){Be.loadFile=function(le,ye,xe){return function(De,Le,Fe){Le=Le!==!1,Fe=typeof Fe=="function"?Fe:function(){};var at=void 0;try{at=function(Ve,It,pn){var rn=new XMLHttpRequest,Tn=0,Nt=function(Xt){var Kn=Xt.length,Fn=[],un=String.fromCharCode;for(Tn=0;Tn<Kn;Tn+=1)Fn.push(un(255&Xt.charCodeAt(Tn)));return Fn.join("")};if(rn.open("GET",Ve,!It),rn.overrideMimeType("text/plain; charset=x-user-defined"),It===!1&&(rn.onload=function(){rn.status===200?pn(Nt(this.responseText)):pn(void 0)}),rn.send(null),It&&rn.status===200)return Nt(rn.responseText)}(De,Le,Fe)}catch(Ve){}return at}(le,ye,xe)},Be.loadImageFile=Be.loadFile}(P.API),function(Be){function le(){return(A.html2canvas?Promise.resolve(A.html2canvas):Promise.resolve().then(e.t.bind(null,"wOnQ",7))).catch(function(Fe){return Promise.reject(new Error("Could not load html2canvas: "+Fe))}).then(function(Fe){return Fe.default?Fe.default:Fe})}function ye(){return(A.DOMPurify?Promise.resolve(A.DOMPurify):e.e(205).then(e.t.bind(null,"qZ2Q",7))).catch(function(Fe){return Promise.reject(new Error("Could not load dompurify: "+Fe))}).then(function(Fe){return Fe.default?Fe.default:Fe})}var xe=function(at){var Ve=g()(at);return Ve==="undefined"?"undefined":Ve==="string"||at instanceof String?"string":Ve==="number"||at instanceof Number?"number":Ve==="function"||at instanceof Function?"function":at&&at.constructor===Array?"array":at&&at.nodeType===1?"element":Ve==="object"?"object":"unknown"},De=function(at,Ve){var It=document.createElement(at);for(var pn in Ve.className&&(It.className=Ve.className),Ve.innerHTML&&Ve.dompurify&&(It.innerHTML=Ve.dompurify.sanitize(Ve.innerHTML)),Ve.style)It.style[pn]=Ve.style[pn];return It},Le=function Fe(at){var Ve=Object.assign(Fe.convert(Promise.resolve()),JSON.parse(JSON.stringify(Fe.template))),It=Fe.convert(Promise.resolve(),Ve);return It=(It=It.setProgress(1,Fe,1,[Fe])).set(at)};(Le.prototype=Object.create(Promise.prototype)).constructor=Le,Le.convert=function(Fe,at){return Fe.__proto__=at||Le.prototype,Fe},Le.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},Le.prototype.from=function(Fe,at){return this.then(function(){switch(at=at||function(Ve){switch(xe(Ve)){case"string":return"string";case"element":return Ve.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(Fe)){case"string":return this.then(ye).then(function(Ve){return this.set({src:De("div",{innerHTML:Fe,dompurify:Ve})})});case"element":return this.set({src:Fe});case"canvas":return this.set({canvas:Fe});case"img":return this.set({img:Fe});default:return this.error("Unknown source type.")}})},Le.prototype.to=function(Fe){switch(Fe){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.")}},Le.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 Fe={position:"relative",display:"inline-block",width:(typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},at=function Ve(It,pn){for(var rn=It.nodeType===3?document.createTextNode(It.nodeValue):It.cloneNode(!1),Tn=It.firstChild;Tn;Tn=Tn.nextSibling)pn!==!0&&Tn.nodeType===1&&Tn.nodeName==="SCRIPT"||rn.appendChild(Ve(Tn,pn));return It.nodeType===1&&(It.nodeName==="CANVAS"?(rn.width=It.width,rn.height=It.height,rn.getContext("2d").drawImage(It,0,0)):It.nodeName!=="TEXTAREA"&&It.nodeName!=="SELECT"||(rn.value=It.value),rn.addEventListener("load",function(){rn.scrollTop=It.scrollTop,rn.scrollLeft=It.scrollLeft},!0)),rn}(this.prop.src,this.opt.html2canvas.javascriptEnabled);at.tagName==="BODY"&&(Fe.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=De("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=De("div",{className:"html2pdf__container",style:Fe}),this.prop.container.appendChild(at),this.prop.container.firstChild.appendChild(De("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"})},Le.prototype.toCanvas=function(){var Fe=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Fe).then(le).then(function(at){var Ve=Object.assign({},this.opt.html2canvas);return delete Ve.onrendered,at(this.prop.container,Ve)}).then(function(at){(this.opt.html2canvas.onrendered||function(){})(at),this.prop.canvas=at,document.body.removeChild(this.prop.overlay)})},Le.prototype.toContext2d=function(){var Fe=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Fe).then(le).then(function(at){var Ve=this.opt.jsPDF,It=this.opt.fontFaces,pn=typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,rn=Object.assign({async:!0,allowTaint:!0,scale:pn,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete rn.onrendered,Ve.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,Ve.context2d.posX=this.opt.x,Ve.context2d.posY=this.opt.y,Ve.context2d.margin=this.opt.margin,Ve.context2d.fontFaces=It,It)for(var Tn=0;Tn<It.length;++Tn){var Nt=It[Tn],ur=Nt.src.find(function(Xt){return Xt.format==="truetype"});ur&&Ve.addFont(ur.url,Nt.ref.name,Nt.ref.style)}return rn.windowHeight=rn.windowHeight||0,rn.windowHeight=rn.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):rn.windowHeight,Ve.context2d.save(!0),at(this.prop.container,rn)}).then(function(at){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(at),this.prop.canvas=at,document.body.removeChild(this.prop.overlay)})},Le.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var Fe=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=Fe})},Le.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},Le.prototype.output=function(Fe,at,Ve){return(Ve=Ve||"pdf").toLowerCase()==="img"||Ve.toLowerCase()==="image"?this.outputImg(Fe,at):this.outputPdf(Fe,at)},Le.prototype.outputPdf=function(Fe,at){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(Fe,at)})},Le.prototype.outputImg=function(Fe){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(Fe){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 "'+Fe+'" is not supported.'}})},Le.prototype.save=function(Fe){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(Fe?{filename:Fe}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},Le.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},Le.prototype.set=function(Fe){if(xe(Fe)!=="object")return this;var at=Object.keys(Fe||{}).map(function(Ve){if(Ve in Le.template.prop)return function(){this.prop[Ve]=Fe[Ve]};switch(Ve){case"margin":return this.setMargin.bind(this,Fe.margin);case"jsPDF":return function(){return this.opt.jsPDF=Fe.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,Fe.pageSize);default:return function(){this.opt[Ve]=Fe[Ve]}}},this);return this.then(function(){return this.thenList(at)})},Le.prototype.get=function(Fe,at){return this.then(function(){var Ve=Fe in Le.template.prop?this.prop[Fe]:this.opt[Fe];return at?at(Ve):Ve})},Le.prototype.setMargin=function(Fe){return this.then(function(){switch(xe(Fe)){case"number":Fe=[Fe,Fe,Fe,Fe];case"array":if(Fe.length===2&&(Fe=[Fe[0],Fe[1],Fe[0],Fe[1]]),Fe.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=Fe}).then(this.setPageSize)},Le.prototype.setPageSize=function(Fe){function at(Ve,It){return Math.floor(Ve*It/72*96)}return this.then(function(){(Fe=Fe||P.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(Fe.inner={width:Fe.width-this.opt.margin[1]-this.opt.margin[3],height:Fe.height-this.opt.margin[0]-this.opt.margin[2]},Fe.inner.px={width:at(Fe.inner.width,Fe.k),height:at(Fe.inner.height,Fe.k)},Fe.inner.ratio=Fe.inner.height/Fe.inner.width),this.prop.pageSize=Fe})},Le.prototype.setProgress=function(Fe,at,Ve,It){return Fe!=null&&(this.progress.val=Fe),at!=null&&(this.progress.state=at),Ve!=null&&(this.progress.n=Ve),It!=null&&(this.progress.stack=It),this.progress.ratio=this.progress.val/this.progress.state,this},Le.prototype.updateProgress=function(Fe,at,Ve,It){return this.setProgress(Fe?this.progress.val+Fe:null,at||null,Ve?this.progress.n+Ve:null,It?this.progress.stack.concat(It):null)},Le.prototype.then=function(Fe,at){var Ve=this;return this.thenCore(Fe,at,function(It,pn){return Ve.updateProgress(null,null,1,[It]),Promise.prototype.then.call(this,function(rn){return Ve.updateProgress(null,It),rn}).then(It,pn).then(function(rn){return Ve.updateProgress(1),rn})})},Le.prototype.thenCore=function(Fe,at,Ve){Ve=Ve||Promise.prototype.then,Fe&&(Fe=Fe.bind(this)),at&&(at=at.bind(this));var It=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?this:Le.convert(Object.assign({},this),Promise.prototype),pn=Ve.call(It,Fe,at);return Le.convert(pn,this.__proto__)},Le.prototype.thenExternal=function(Fe,at){return Promise.prototype.then.call(this,Fe,at)},Le.prototype.thenList=function(Fe){var at=this;return Fe.forEach(function(Ve){at=at.thenCore(Ve)}),at},Le.prototype.catch=function(Fe){Fe&&(Fe=Fe.bind(this));var at=Promise.prototype.catch.call(this,Fe);return Le.convert(at,this)},Le.prototype.catchExternal=function(Fe){return Promise.prototype.catch.call(this,Fe)},Le.prototype.error=function(Fe){return this.then(function(){throw new Error(Fe)})},Le.prototype.using=Le.prototype.set,Le.prototype.saveAs=Le.prototype.save,Le.prototype.export=Le.prototype.output,Le.prototype.run=Le.prototype.then,P.getPageSize=function(Fe,at,Ve){if(g()(Fe)==="object"){var It=Fe;Fe=It.orientation,at=It.unit||at,Ve=It.format||Ve}at=at||"mm",Ve=Ve||"a4",Fe=(""+(Fe||"P")).toLowerCase();var pn,rn=(""+Ve).toLowerCase(),Tn={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(at){case"pt":pn=1;break;case"mm":pn=72/25.4;break;case"cm":pn=72/2.54;break;case"in":pn=72;break;case"px":pn=.75;break;case"pc":case"em":pn=12;break;case"ex":pn=6;break;default:throw"Invalid unit: "+at}var Nt,ur=0,Xt=0;if(Tn.hasOwnProperty(rn))ur=Tn[rn][1]/pn,Xt=Tn[rn][0]/pn;else try{ur=Ve[1],Xt=Ve[0]}catch(Kn){throw new Error("Invalid format: "+Ve)}if(Fe==="p"||Fe==="portrait")Fe="p",Xt>ur&&(Nt=Xt,Xt=ur,ur=Nt);else{if(Fe!=="l"&&Fe!=="landscape")throw"Invalid orientation: "+Fe;Fe="l",ur>Xt&&(Nt=Xt,Xt=ur,ur=Nt)}return{width:Xt,height:ur,unit:at,k:pn,orientation:Fe}},Be.html=function(Fe,at){(at=at||{}).callback=at.callback||function(){},at.html2canvas=at.html2canvas||{},at.html2canvas.canvas=at.html2canvas.canvas||this.canvas,at.jsPDF=at.jsPDF||this,at.fontFaces=at.fontFaces?at.fontFaces.map(hr):null;var Ve=new Le(at);return at.worker?Ve:Ve.from(Fe).doCallback()}}(P.API),P.API.addJS=function(Be){return qn=Be,this.internal.events.subscribe("postPutResources",function(){dn=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(dn+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),vr=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+qn+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){dn!==void 0&&vr!==void 0&&this.internal.out("/Names <</JavaScript "+dn+" 0 R>>")}),this},function(Be){var le;Be.events.push(["postPutResources",function(){var ye=this,xe=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var De=ye.outline.render().split(/\r\n/),Le=0;Le<De.length;Le++){var Fe=De[Le],at=xe.exec(Fe);if(at!=null){var Ve=at[1];ye.internal.newObjectDeferredBegin(Ve,!1)}ye.internal.write(Fe)}if(this.outline.createNamedDestinations){var It=this.internal.pages.length,pn=[];for(Le=0;Le<It;Le++){var rn=ye.internal.newObject();pn.push(rn);var Tn=ye.internal.getPageInfo(Le+1);ye.internal.write("<< /D["+Tn.objId+" 0 R /XYZ null null null]>> endobj")}var Nt=ye.internal.newObject();for(ye.internal.write("<< /Names [ "),Le=0;Le<pn.length;Le++)ye.internal.write("(page_"+(Le+1)+")"+pn[Le]+" 0 R");ye.internal.write(" ] >>","endobj"),le=ye.internal.newObject(),ye.internal.write("<< /Dests "+Nt+" 0 R"),ye.internal.write(">>","endobj")}}]),Be.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+le+" 0 R"))}]),Be.events.push(["initialized",function(){var ye=this;ye.outline={createNamedDestinations:!1,root:{children:[]}},ye.outline.add=function(xe,De,Le){var Fe={title:De,options:Le,children:[]};return xe==null&&(xe=this.root),xe.children.push(Fe),Fe},ye.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=ye,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},ye.outline.genIds_r=function(xe){xe.id=ye.internal.newObjectDeferred();for(var De=0;De<xe.children.length;De++)this.genIds_r(xe.children[De])},ye.outline.renderRoot=function(xe){this.objStart(xe),this.line("/Type /Outlines"),xe.children.length>0&&(this.line("/First "+this.makeRef(xe.children[0])),this.line("/Last "+this.makeRef(xe.children[xe.children.length-1]))),this.line("/Count "+this.count_r({count:0},xe)),this.objEnd()},ye.outline.renderItems=function(xe){for(var De=this.ctx.pdf.internal.getVerticalCoordinateString,Le=0;Le<xe.children.length;Le++){var Fe=xe.children[Le];this.objStart(Fe),this.line("/Title "+this.makeString(Fe.title)),this.line("/Parent "+this.makeRef(xe)),Le>0&&this.line("/Prev "+this.makeRef(xe.children[Le-1])),Le<xe.children.length-1&&this.line("/Next "+this.makeRef(xe.children[Le+1])),Fe.children.length>0&&(this.line("/First "+this.makeRef(Fe.children[0])),this.line("/Last "+this.makeRef(Fe.children[Fe.children.length-1])));var at=this.count=this.count_r({count:0},Fe);if(at>0&&this.line("/Count "+at),Fe.options&&Fe.options.pageNumber){var Ve=ye.internal.getPageInfo(Fe.options.pageNumber);this.line("/Dest ["+Ve.objId+" 0 R /XYZ 0 "+De(0)+" 0]")}this.objEnd()}for(var It=0;It<xe.children.length;It++)this.renderItems(xe.children[It])},ye.outline.line=function(xe){this.ctx.val+=xe+`\r
|
|
|
`},ye.outline.makeRef=function(xe){return xe.id+" 0 R"},ye.outline.makeString=function(xe){return"("+ye.internal.pdfEscape(xe)+")"},ye.outline.objStart=function(xe){this.ctx.val+=`\r
|
|
|
`+xe.id+` 0 obj\r
|
|
|
<<\r
|
|
|
`},ye.outline.objEnd=function(){this.ctx.val+=`>> \r
|
|
|
endobj\r
|
|
|
`},ye.outline.count_r=function(xe,De){for(var Le=0;Le<De.children.length;Le++)xe.count++,this.count_r(xe,De.children[Le]);return xe.count}}])}(P.API),function(Be){var le=[192,193,194,195,196,197,198,199];Be.processJPEG=function(ye,xe,De,Le,Fe,at){var Ve,It=this.decode.DCT_DECODE,pn=null;if(typeof ye=="string"||this.__addimage__.isArrayBuffer(ye)||this.__addimage__.isArrayBufferView(ye)){switch(ye=Fe||ye,ye=this.__addimage__.isArrayBuffer(ye)?new Uint8Array(ye):ye,(Ve=function(rn){for(var Tn,Nt=256*rn.charCodeAt(4)+rn.charCodeAt(5),ur=rn.length,Xt={width:0,height:0,numcomponents:1},Kn=4;Kn<ur;Kn+=2){if(Kn+=Nt,le.indexOf(rn.charCodeAt(Kn+1))!==-1){Tn=256*rn.charCodeAt(Kn+5)+rn.charCodeAt(Kn+6),Xt={width:256*rn.charCodeAt(Kn+7)+rn.charCodeAt(Kn+8),height:Tn,numcomponents:rn.charCodeAt(Kn+9)};break}Nt=256*rn.charCodeAt(Kn+2)+rn.charCodeAt(Kn+3)}return Xt}(ye=this.__addimage__.isArrayBufferView(ye)?this.__addimage__.arrayBufferToBinaryString(ye):ye)).numcomponents){case 1:at=this.color_spaces.DEVICE_GRAY;break;case 4:at=this.color_spaces.DEVICE_CMYK;break;case 3:at=this.color_spaces.DEVICE_RGB}pn={data:ye,width:Ve.width,height:Ve.height,colorSpace:at,bitsPerComponent:8,filter:It,index:xe,alias:De}}return pn}}(P.API);var Ue,He,se,Ae,Oe,ze=function(){var Be,le,ye;function xe(Le){var Fe,at,Ve,It,pn,rn,Tn,Nt,ur,Xt,Kn,Fn,un,Sr;for(this.data=Le,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},rn=null;;){switch(Fe=this.readUInt32(),ur=function(){var Fr,ii;for(ii=[],Fr=0;Fr<4;++Fr)ii.push(String.fromCharCode(this.data[this.pos++]));return ii}.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(Fe);break;case"fcTL":rn&&this.animation.frames.push(rn),this.pos+=4,rn={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},pn=this.readUInt16(),It=this.readUInt16()||100,rn.delay=1e3*pn/It,rn.disposeOp=this.data[this.pos++],rn.blendOp=this.data[this.pos++],rn.data=[];break;case"IDAT":case"fdAT":for(ur==="fdAT"&&(this.pos+=4,Fe-=4),Le=(rn!=null?rn.data:void 0)||this.imgData,Fn=0;0<=Fe?Fn<Fe:Fn>Fe;0<=Fe?++Fn:--Fn)Le.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(Ve=this.palette.length/3,this.transparency.indexed=this.read(Fe),this.transparency.indexed.length>Ve)throw new Error("More transparent colors than palette size");if((Xt=Ve-this.transparency.indexed.length)>0)for(un=0;0<=Xt?un<Xt:un>Xt;0<=Xt?++un:--un)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(Fe)[0];break;case 2:this.transparency.rgb=this.read(Fe)}break;case"tEXt":Tn=(Kn=this.read(Fe)).indexOf(0),Nt=String.fromCharCode.apply(String,Kn.slice(0,Tn)),this.text[Nt]=String.fromCharCode.apply(String,Kn.slice(Tn+1));break;case"IEND":return rn&&this.animation.frames.push(rn),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(Sr=this.colorType)===4||Sr===6,at=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*at,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+=Fe}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}xe.prototype.read=function(Le){var Fe,at;for(at=[],Fe=0;0<=Le?Fe<Le:Fe>Le;0<=Le?++Fe:--Fe)at.push(this.data[this.pos++]);return at},xe.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},xe.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},xe.prototype.decodePixels=function(Le){var Fe=this.pixelBitlength/8,at=new Uint8Array(this.width*this.height*Fe),Ve=0,It=this;if(Le==null&&(Le=this.imgData),Le.length===0)return new Uint8Array(0);function pn(rn,Tn,Nt,ur){var Xt,Kn,Fn,un,Sr,Fr,ii,oi,ti,bi,Mr,Oi,Ar,Wn,xr,er,ci,qr,wi,Xr,Hi,ni=Math.ceil((It.width-rn)/Nt),Mi=Math.ceil((It.height-Tn)/ur),cr=It.width==ni&&It.height==Mi;for(Wn=Fe*ni,Oi=cr?at:new Uint8Array(Wn*Mi),Fr=Le.length,Ar=0,Kn=0;Ar<Mi&&Ve<Fr;){switch(Le[Ve++]){case 0:for(un=ci=0;ci<Wn;un=ci+=1)Oi[Kn++]=Le[Ve++];break;case 1:for(un=qr=0;qr<Wn;un=qr+=1)Xt=Le[Ve++],Sr=un<Fe?0:Oi[Kn-Fe],Oi[Kn++]=(Xt+Sr)%256;break;case 2:for(un=wi=0;wi<Wn;un=wi+=1)Xt=Le[Ve++],Fn=(un-un%Fe)/Fe,xr=Ar&&Oi[(Ar-1)*Wn+Fn*Fe+un%Fe],Oi[Kn++]=(xr+Xt)%256;break;case 3:for(un=Xr=0;Xr<Wn;un=Xr+=1)Xt=Le[Ve++],Fn=(un-un%Fe)/Fe,Sr=un<Fe?0:Oi[Kn-Fe],xr=Ar&&Oi[(Ar-1)*Wn+Fn*Fe+un%Fe],Oi[Kn++]=(Xt+Math.floor((Sr+xr)/2))%256;break;case 4:for(un=Hi=0;Hi<Wn;un=Hi+=1)Xt=Le[Ve++],Fn=(un-un%Fe)/Fe,Sr=un<Fe?0:Oi[Kn-Fe],Ar===0?xr=er=0:(xr=Oi[(Ar-1)*Wn+Fn*Fe+un%Fe],er=Fn&&Oi[(Ar-1)*Wn+(Fn-1)*Fe+un%Fe]),ii=Sr+xr-er,oi=Math.abs(ii-Sr),bi=Math.abs(ii-xr),Mr=Math.abs(ii-er),ti=oi<=bi&&oi<=Mr?Sr:bi<=Mr?xr:er,Oi[Kn++]=(Xt+ti)%256;break;default:throw new Error("Invalid filter algorithm: "+Le[Ve-1])}if(!cr){var Pn=((Tn+Ar*ur)*It.width+rn)*Fe,br=Ar*Wn;for(un=0;un<ni;un+=1){for(var Br=0;Br<Fe;Br+=1)at[Pn++]=Oi[br++];Pn+=(Nt-1)*Fe}}Ar++}}return Le=Object(v.a)(Le),It.interlaceMethod==1?(pn(0,0,8,8),pn(4,0,8,8),pn(0,4,4,8),pn(2,0,4,4),pn(0,2,2,4),pn(1,0,2,2),pn(0,1,1,2)):pn(0,0,1,1),at},xe.prototype.decodePalette=function(){var Le,Fe,at,Ve,It,pn,rn,Tn,Nt;for(at=this.palette,pn=this.transparency.indexed||[],It=new Uint8Array((pn.length||0)+at.length),Ve=0,Le=0,Fe=rn=0,Tn=at.length;rn<Tn;Fe=rn+=3)It[Ve++]=at[Fe],It[Ve++]=at[Fe+1],It[Ve++]=at[Fe+2],It[Ve++]=(Nt=pn[Le++])!=null?Nt:255;return It},xe.prototype.copyToImageData=function(Le,Fe){var at,Ve,It,pn,rn,Tn,Nt,ur,Xt,Kn,Fn;if(Ve=this.colors,Xt=null,at=this.hasAlphaChannel,this.palette.length&&(Xt=(Fn=this._decodedPalette)!=null?Fn:this._decodedPalette=this.decodePalette(),Ve=4,at=!0),ur=(It=Le.data||Le).length,rn=Xt||Fe,pn=Tn=0,Ve===1)for(;pn<ur;)Nt=Xt?4*Fe[pn/4]:Tn,Kn=rn[Nt++],It[pn++]=Kn,It[pn++]=Kn,It[pn++]=Kn,It[pn++]=at?rn[Nt++]:255,Tn=Nt;else for(;pn<ur;)Nt=Xt?4*Fe[pn/4]:Tn,It[pn++]=rn[Nt++],It[pn++]=rn[Nt++],It[pn++]=rn[Nt++],It[pn++]=at?rn[Nt++]:255,Tn=Nt},xe.prototype.decode=function(){var Le;return Le=new Uint8Array(this.width*this.height*4),this.copyToImageData(Le,this.decodePixels()),Le};var De=function(){if(Object.prototype.toString.call(A)==="[object Window]"){try{le=A.document.createElement("canvas"),ye=le.getContext("2d")}catch(Fe){return!1}return!0}return!1};return De(),Be=function(Fe){var at;if(De()===!0)return ye.width=Fe.width,ye.height=Fe.height,ye.clearRect(0,0,Fe.width,Fe.height),ye.putImageData(Fe,0,0),(at=new Image).src=le.toDataURL(),at;throw new Error("This method requires a Browser with Canvas-capability.")},xe.prototype.decodeFrames=function(Le){var Fe,at,Ve,It,pn,rn,Tn,Nt;if(this.animation){for(Nt=[],at=pn=0,rn=(Tn=this.animation.frames).length;pn<rn;at=++pn)Fe=Tn[at],Ve=Le.createImageData(Fe.width,Fe.height),It=this.decodePixels(new Uint8Array(Fe.data)),this.copyToImageData(Ve,It),Fe.imageData=Ve,Nt.push(Fe.image=Be(Ve));return Nt}},xe.prototype.renderFrame=function(Le,Fe){var at,Ve,It;return at=(Ve=this.animation.frames)[Fe],It=Ve[Fe-1],Fe===0&&Le.clearRect(0,0,this.width,this.height),(It!=null?It.disposeOp:void 0)===1?Le.clearRect(It.xOffset,It.yOffset,It.width,It.height):(It!=null?It.disposeOp:void 0)===2&&Le.putImageData(It.imageData,It.xOffset,It.yOffset),at.blendOp===0&&Le.clearRect(at.xOffset,at.yOffset,at.width,at.height),Le.drawImage(at.image,at.xOffset,at.yOffset)},xe.prototype.animate=function(Le){var Fe,at,Ve,It,pn,rn,Tn=this;return at=0,rn=this.animation,It=rn.numFrames,Ve=rn.frames,pn=rn.numPlays,(Fe=function(){var ur,Xt;if(ur=at++%It,Xt=Ve[ur],Tn.renderFrame(Le,ur),It>1&&at/It<pn)return Tn.animation._timeout=setTimeout(Fe,Xt.delay)})()},xe.prototype.stopAnimation=function(){var Le;return clearTimeout((Le=this.animation)!=null?Le._timeout:void 0)},xe.prototype.render=function(Le){var Fe,at;return Le._png&&Le._png.stopAnimation(),Le._png=this,Le.width=this.width,Le.height=this.height,Fe=Le.getContext("2d"),this.animation?(this.decodeFrames(Fe),this.animate(Fe)):(at=Fe.createImageData(this.width,this.height),this.copyToImageData(at,this.decodePixels()),Fe.putImageData(at,0,0))},xe}();/**
|
|
|
* @license
|
|
|
*
|
|
|
* Copyright (c) 2014 James Robb, https://github.com/jamesbrobb
|
|
|
*
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining
|
|
|
* a copy of this software and associated documentation files (the
|
|
|
* "Software"), to deal in the Software without restriction, including
|
|
|
* without limitation the rights to use, copy, modify, merge, publish,
|
|
|
* distribute, sublicense, and/or sell copies of the Software, and to
|
|
|
* permit persons to whom the Software is furnished to do so, subject to
|
|
|
* the following conditions:
|
|
|
*
|
|
|
* The above copyright notice and this permission notice shall be
|
|
|
* included in all copies or substantial portions of the Software.
|
|
|
*
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
|
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
|
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
* ====================================================================
|
|
|
*//**
|
|
|
* @license
|
|
|
* (c) Dean McNamee <dean@gmail.com>, 2013.
|
|
|
*
|
|
|
* https://github.com/deanm/omggif
|
|
|
*
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
* of this software and associated documentation files (the "Software"), to
|
|
|
* deal in the Software without restriction, including without limitation the
|
|
|
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
|
* sell copies of the Software, and to permit persons to whom the Software is
|
|
|
* furnished to do so, subject to the following conditions:
|
|
|
*
|
|
|
* The above copyright notice and this permission notice shall be included in
|
|
|
* all copies or substantial portions of the Software.
|
|
|
*
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
|
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
|
* IN THE SOFTWARE.
|
|
|
*
|
|
|
* omggif is a JavaScript implementation of a GIF 89a encoder and decoder,
|
|
|
* including animation and compression. It does not rely on any specific
|
|
|
* underlying system, so should run in the browser, Node, or Plask.
|
|
|
*/function Rt(Be){var le=0;if(Be[le++]!==71||Be[le++]!==73||Be[le++]!==70||Be[le++]!==56||(Be[le++]+1&253)!=56||Be[le++]!==97)throw new Error("Invalid GIF 87a/89a header.");var ye=Be[le++]|Be[le++]<<8,xe=Be[le++]|Be[le++]<<8,De=Be[le++],Le=De>>7,Fe=1<<(7&De)+1;Be[le++],Be[le++];var at=null,Ve=null;Le&&(at=le,Ve=Fe,le+=3*Fe);var It=!0,pn=[],rn=0,Tn=null,Nt=0,ur=null;for(this.width=ye,this.height=xe;It&&le<Be.length;)switch(Be[le++]){case 33:switch(Be[le++]){case 255:if(Be[le]!==11||Be[le+1]==78&&Be[le+2]==69&&Be[le+3]==84&&Be[le+4]==83&&Be[le+5]==67&&Be[le+6]==65&&Be[le+7]==80&&Be[le+8]==69&&Be[le+9]==50&&Be[le+10]==46&&Be[le+11]==48&&Be[le+12]==3&&Be[le+13]==1&&Be[le+16]==0)le+=14,ur=Be[le++]|Be[le++]<<8,le++;else for(le+=12;;){if(!((Ar=Be[le++])>=0))throw Error("Invalid block size");if(Ar===0)break;le+=Ar}break;case 249:if(Be[le++]!==4||Be[le+4]!==0)throw new Error("Invalid graphics extension block.");var Xt=Be[le++];rn=Be[le++]|Be[le++]<<8,Tn=Be[le++],(1&Xt)==0&&(Tn=null),Nt=Xt>>2&7,le++;break;case 254:for(;;){if(!((Ar=Be[le++])>=0))throw Error("Invalid block size");if(Ar===0)break;le+=Ar}break;default:throw new Error("Unknown graphic control label: 0x"+Be[le-1].toString(16))}break;case 44:var Kn=Be[le++]|Be[le++]<<8,Fn=Be[le++]|Be[le++]<<8,un=Be[le++]|Be[le++]<<8,Sr=Be[le++]|Be[le++]<<8,Fr=Be[le++],ii=Fr>>6&1,oi=1<<(7&Fr)+1,ti=at,bi=Ve,Mr=!1;Fr>>7&&(Mr=!0,ti=le,bi=oi,le+=3*oi);var Oi=le;for(le++;;){var Ar;if(!((Ar=Be[le++])>=0))throw Error("Invalid block size");if(Ar===0)break;le+=Ar}pn.push({x:Kn,y:Fn,width:un,height:Sr,has_local_palette:Mr,palette_offset:ti,palette_size:bi,data_offset:Oi,data_length:le-Oi,transparent_index:Tn,interlaced:!!ii,delay:rn,disposal:Nt});break;case 59:It=!1;break;default:throw new Error("Unknown gif block: 0x"+Be[le-1].toString(16))}this.numFrames=function(){return pn.length},this.loopCount=function(){return ur},this.frameInfo=function(Wn){if(Wn<0||Wn>=pn.length)throw new Error("Frame index out of range.");return pn[Wn]},this.decodeAndBlitFrameBGRA=function(Wn,xr){var er=this.frameInfo(Wn),ci=er.width*er.height,qr=new Uint8Array(ci);Et(Be,er.data_offset,qr,ci);var wi=er.palette_offset,Xr=er.transparent_index;Xr===null&&(Xr=256);var Hi=er.width,ni=ye-Hi,Mi=Hi,cr=4*(er.y*ye+er.x),Pn=4*((er.y+er.height)*ye+er.x),br=cr,Br=4*ni;er.interlaced===!0&&(Br+=4*ye*7);for(var Qr=8,$r=0,hi=qr.length;$r<hi;++$r){var fi=qr[$r];if(Mi===0&&(Mi=Hi,(br+=Br)>=Pn&&(Br=4*ni+4*ye*(Qr-1),br=cr+(Hi+ni)*(Qr<<1),Qr>>=1)),fi===Xr)br+=4;else{var Ai=Be[wi+3*fi],Wi=Be[wi+3*fi+1],ra=Be[wi+3*fi+2];xr[br++]=ra,xr[br++]=Wi,xr[br++]=Ai,xr[br++]=255}--Mi}},this.decodeAndBlitFrameRGBA=function(Wn,xr){var er=this.frameInfo(Wn),ci=er.width*er.height,qr=new Uint8Array(ci);Et(Be,er.data_offset,qr,ci);var wi=er.palette_offset,Xr=er.transparent_index;Xr===null&&(Xr=256);var Hi=er.width,ni=ye-Hi,Mi=Hi,cr=4*(er.y*ye+er.x),Pn=4*((er.y+er.height)*ye+er.x),br=cr,Br=4*ni;er.interlaced===!0&&(Br+=4*ye*7);for(var Qr=8,$r=0,hi=qr.length;$r<hi;++$r){var fi=qr[$r];if(Mi===0&&(Mi=Hi,(br+=Br)>=Pn&&(Br=4*ni+4*ye*(Qr-1),br=cr+(Hi+ni)*(Qr<<1),Qr>>=1)),fi===Xr)br+=4;else{var Ai=Be[wi+3*fi],Wi=Be[wi+3*fi+1],ra=Be[wi+3*fi+2];xr[br++]=Ai,xr[br++]=Wi,xr[br++]=ra,xr[br++]=255}--Mi}}}function Et(Be,le,ye,xe){for(var De=Be[le++],Le=1<<De,Fe=Le+1,at=Fe+1,Ve=De+1,It=(1<<Ve)-1,pn=0,rn=0,Tn=0,Nt=Be[le++],ur=new Int32Array(4096),Xt=null;;){for(;pn<16&&Nt!==0;)rn|=Be[le++]<<pn,pn+=8,Nt===1?Nt=Be[le++]:--Nt;if(pn<Ve)break;var Kn=rn&It;if(rn>>=Ve,pn-=Ve,Kn!==Le){if(Kn===Fe)break;for(var Fn=Kn<at?Kn:Xt,un=0,Sr=Fn;Sr>Le;)Sr=ur[Sr]>>8,++un;var Fr=Sr;if(Tn+un+(Fn!==Kn?1:0)>xe)return void m.log("Warning, gif stream longer than expected.");ye[Tn++]=Fr;var ii=Tn+=un;for(Fn!==Kn&&(ye[Tn++]=Fr),Sr=Fn;un--;)Sr=ur[Sr],ye[--ii]=255&Sr,Sr>>=8;Xt!==null&&at<4096&&(ur[at++]=Xt<<8|Fr,at>=It+1&&Ve<12&&(++Ve,It=It<<1|1)),Xt=Kn}else at=Fe+1,It=(1<<(Ve=De+1))-1,Xt=null}return Tn!==xe&&m.log("Warning, gif stream shorter than expected."),ye}/**
|
|
|
* @license
|
|
|
Copyright (c) 2008, Adobe Systems Incorporated
|
|
|
All rights reserved.
|
|
|
|
|
|
Redistribution and use in source and binary forms, with or without
|
|
|
modification, are permitted provided that the following conditions are
|
|
|
met:
|
|
|
|
|
|
* Redistributions of source code must retain the above copyright notice,
|
|
|
this list of conditions and the following disclaimer.
|
|
|
|
|
|
* Redistributions in binary form must reproduce the above copyright
|
|
|
notice, this list of conditions and the following disclaimer in the
|
|
|
documentation and/or other materials provided with the distribution.
|
|
|
|
|
|
* Neither the name of Adobe Systems Incorporated nor the names of its
|
|
|
contributors may be used to endorse or promote products derived from
|
|
|
this software without specific prior written permission.
|
|
|
|
|
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
|
|
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
|
|
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
|
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
|
|
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
|
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
|
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
|
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
|
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
|
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
*/function _t(Be){var le,ye,xe,De,Le,Fe=Math.floor,at=new Array(64),Ve=new Array(64),It=new Array(64),pn=new Array(64),rn=new Array(65535),Tn=new Array(65535),Nt=new Array(64),ur=new Array(64),Xt=[],Kn=0,Fn=7,un=new Array(64),Sr=new Array(64),Fr=new Array(64),ii=new Array(256),oi=new Array(2048),ti=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],bi=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Mr=[0,1,2,3,4,5,6,7,8,9,10,11],Oi=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],Ar=[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],Wn=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],xr=[0,1,2,3,4,5,6,7,8,9,10,11],er=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],ci=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function qr(cr,Pn){for(var br=0,Br=0,Qr=new Array,$r=1;$r<=16;$r++){for(var hi=1;hi<=cr[$r];hi++)Qr[Pn[Br]]=[],Qr[Pn[Br]][0]=br,Qr[Pn[Br]][1]=$r,Br++,br++;br*=2}return Qr}function wi(cr){for(var Pn=cr[0],br=cr[1]-1;br>=0;)Pn&1<<br&&(Kn|=1<<Fn),br--,--Fn<0&&(Kn==255?(Xr(255),Xr(0)):Xr(Kn),Fn=7,Kn=0)}function Xr(cr){Xt.push(cr)}function Hi(cr){Xr(cr>>8&255),Xr(255&cr)}function ni(cr,Pn,br,Br,Qr){for(var $r,hi=Qr[0],fi=Qr[240],Ai=function(Ui,ea){var Bt,Vn,nr,fr,Re,At,qt,$t,Cn,Dn,Hn=0;for(Cn=0;Cn<8;++Cn){Bt=Ui[Hn],Vn=Ui[Hn+1],nr=Ui[Hn+2],fr=Ui[Hn+3],Re=Ui[Hn+4],At=Ui[Hn+5],qt=Ui[Hn+6];var ar=Bt+($t=Ui[Hn+7]),Er=Bt-$t,gr=Vn+qt,Rr=Vn-qt,kr=nr+At,wr=nr-At,Lr=fr+Re,Ir=fr-Re,zr=ar+Lr,Gr=ar-Lr,ri=gr+kr,yi=gr-kr;Ui[Hn]=zr+ri,Ui[Hn+4]=zr-ri;var li=.707106781*(yi+Gr);Ui[Hn+2]=Gr+li,Ui[Hn+6]=Gr-li;var Ti=.382683433*((zr=Ir+wr)-(yi=Rr+Er)),Fi=.5411961*zr+Ti,Si=1.306562965*yi+Ti,mi=.707106781*(ri=wr+Rr),Ni=Er+mi,Wr=Er-mi;Ui[Hn+5]=Wr+Fi,Ui[Hn+3]=Wr-Fi,Ui[Hn+1]=Ni+Si,Ui[Hn+7]=Ni-Si,Hn+=8}for(Hn=0,Cn=0;Cn<8;++Cn){Bt=Ui[Hn],Vn=Ui[Hn+8],nr=Ui[Hn+16],fr=Ui[Hn+24],Re=Ui[Hn+32],At=Ui[Hn+40],qt=Ui[Hn+48];var Ri=Bt+($t=Ui[Hn+56]),Ki=Bt-$t,hn=Vn+qt,Rn=Vn-qt,Yn=nr+At,En=nr-At,Mt=fr+Re,mn=fr-Re,zt=Ri+Mt,_n=Ri-Mt,kn=hn+Yn,pr=hn-Yn;Ui[Hn]=zt+kn,Ui[Hn+32]=zt-kn;var or=.707106781*(pr+_n);Ui[Hn+16]=_n+or,Ui[Hn+48]=_n-or;var yr=.382683433*((zt=mn+En)-(pr=Rn+Ki)),_r=.5411961*zt+yr,Yr=1.306562965*pr+yr,Jr=.707106781*(kn=En+Rn),Ci=Ki+Jr,ta=Ki-Jr;Ui[Hn+40]=ta+_r,Ui[Hn+24]=ta-_r,Ui[Hn+8]=Ci+Yr,Ui[Hn+56]=Ci-Yr,Hn++}for(Cn=0;Cn<64;++Cn)Dn=Ui[Cn]*ea[Cn],Nt[Cn]=Dn>0?Dn+.5|0:Dn-.5|0;return Nt}(cr,Pn),Wi=0;Wi<64;++Wi)ur[ti[Wi]]=Ai[Wi];var ra=ur[0]-br;br=ur[0],ra==0?wi(Br[0]):(wi(Br[Tn[$r=32767+ra]]),wi(rn[$r]));for(var $i=63;$i>0&&ur[$i]==0;)$i--;if($i==0)return wi(hi),br;for(var Ha,pi=1;pi<=$i;){for(var sr=pi;ur[pi]==0&&pi<=$i;)++pi;var Li=pi-sr;if(Li>=16){Ha=Li>>4;for(var Ji=1;Ji<=Ha;++Ji)wi(fi);Li&=15}$r=32767+ur[pi],wi(Qr[(Li<<4)+Tn[$r]]),wi(rn[$r]),pi++}return $i!=63&&wi(hi),br}function Mi(cr){(cr=Math.min(Math.max(cr,1),100),Le!=cr)&&(!function(Pn){for(var br=[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],Br=0;Br<64;Br++){var Qr=Fe((br[Br]*Pn+50)/100);Qr=Math.min(Math.max(Qr,1),255),at[ti[Br]]=Qr}for(var $r=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],hi=0;hi<64;hi++){var fi=Fe(($r[hi]*Pn+50)/100);fi=Math.min(Math.max(fi,1),255),Ve[ti[hi]]=fi}for(var Ai=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Wi=0,ra=0;ra<8;ra++)for(var $i=0;$i<8;$i++)It[Wi]=1/(at[ti[Wi]]*Ai[ra]*Ai[$i]*8),pn[Wi]=1/(Ve[ti[Wi]]*Ai[ra]*Ai[$i]*8),Wi++}(cr<50?Math.floor(5e3/cr):Math.floor(200-2*cr)),Le=cr)}this.encode=function(cr,Pn){Pn&&Mi(Pn),Xt=new Array,Kn=0,Fn=7,Hi(65496),Hi(65504),Hi(16),Xr(74),Xr(70),Xr(73),Xr(70),Xr(0),Xr(1),Xr(1),Xr(0),Hi(1),Hi(1),Xr(0),Xr(0),function(){Hi(65499),Hi(132),Xr(0);for(var Vn=0;Vn<64;Vn++)Xr(at[Vn]);Xr(1);for(var nr=0;nr<64;nr++)Xr(Ve[nr])}(),function(Vn,nr){Hi(65472),Hi(17),Xr(8),Hi(nr),Hi(Vn),Xr(3),Xr(1),Xr(17),Xr(0),Xr(2),Xr(17),Xr(1),Xr(3),Xr(17),Xr(1)}(cr.width,cr.height),function(){Hi(65476),Hi(418),Xr(0);for(var Vn=0;Vn<16;Vn++)Xr(bi[Vn+1]);for(var nr=0;nr<=11;nr++)Xr(Mr[nr]);Xr(16);for(var fr=0;fr<16;fr++)Xr(Oi[fr+1]);for(var Re=0;Re<=161;Re++)Xr(Ar[Re]);Xr(1);for(var At=0;At<16;At++)Xr(Wn[At+1]);for(var qt=0;qt<=11;qt++)Xr(xr[qt]);Xr(17);for(var $t=0;$t<16;$t++)Xr(er[$t+1]);for(var Cn=0;Cn<=161;Cn++)Xr(ci[Cn])}(),Hi(65498),Hi(12),Xr(3),Xr(1),Xr(0),Xr(2),Xr(17),Xr(3),Xr(17),Xr(0),Xr(63),Xr(0);var br=0,Br=0,Qr=0;Kn=0,Fn=7,this.encode.displayName="_encode_";for(var $r,hi,fi,Ai,Wi,ra,$i,Ha,pi,sr=cr.data,Li=cr.width,Ji=cr.height,Ui=4*Li,ea=0;ea<Ji;){for($r=0;$r<Ui;){for(Wi=Ui*ea+$r,$i=-1,Ha=0,pi=0;pi<64;pi++)ra=Wi+(Ha=pi>>3)*Ui+($i=4*(7&pi)),ea+Ha>=Ji&&(ra-=Ui*(ea+1+Ha-Ji)),$r+$i>=Ui&&(ra-=$r+$i-Ui+4),hi=sr[ra++],fi=sr[ra++],Ai=sr[ra++],un[pi]=(oi[hi]+oi[fi+256>>0]+oi[Ai+512>>0]>>16)-128,Sr[pi]=(oi[hi+768>>0]+oi[fi+1024>>0]+oi[Ai+1280>>0]>>16)-128,Fr[pi]=(oi[hi+1280>>0]+oi[fi+1536>>0]+oi[Ai+1792>>0]>>16)-128;br=ni(un,It,br,le,xe),Br=ni(Sr,pn,Br,ye,De),Qr=ni(Fr,pn,Qr,ye,De),$r+=32}ea+=8}if(Fn>=0){var Bt=[];Bt[1]=Fn+1,Bt[0]=(1<<Fn+1)-1,wi(Bt)}return Hi(65497),new Uint8Array(Xt)},Be=Be||50,function(){for(var cr=String.fromCharCode,Pn=0;Pn<256;Pn++)ii[Pn]=cr(Pn)}(),le=qr(bi,Mr),ye=qr(Wn,xr),xe=qr(Oi,Ar),De=qr(er,ci),function(){for(var cr=1,Pn=2,br=1;br<=15;br++){for(var Br=cr;Br<Pn;Br++)Tn[32767+Br]=br,rn[32767+Br]=[],rn[32767+Br][1]=br,rn[32767+Br][0]=Br;for(var Qr=-(Pn-1);Qr<=-cr;Qr++)Tn[32767+Qr]=br,rn[32767+Qr]=[],rn[32767+Qr][1]=br,rn[32767+Qr][0]=Pn-1+Qr;cr<<=1,Pn<<=1}}(),function(){for(var cr=0;cr<256;cr++)oi[cr]=19595*cr,oi[cr+256>>0]=38470*cr,oi[cr+512>>0]=7471*cr+32768,oi[cr+768>>0]=-11059*cr,oi[cr+1024>>0]=-21709*cr,oi[cr+1280>>0]=32768*cr+8421375,oi[cr+1536>>0]=-27439*cr,oi[cr+1792>>0]=-5329*cr}(),Mi(Be)}/**
|
|
|
* @license
|
|
|
* Copyright (c) 2017 Aras Abbasi
|
|
|
*
|
|
|
* Licensed under the MIT License.
|
|
|
* http://opensource.org/licenses/mit-license
|
|
|
*/function Nn(Be,le){if(this.pos=0,this.buffer=Be,this.datav=new DataView(Be.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()}function Mn(Be){function le(bi){if(!bi)throw Error("assert :P")}function ye(bi,Mr,Oi){for(var Ar=0;4>Ar;Ar++)if(bi[Mr+Ar]!=Oi.charCodeAt(Ar))return!0;return!1}function xe(bi,Mr,Oi,Ar,Wn){for(var xr=0;xr<Wn;xr++)bi[Mr+xr]=Oi[Ar+xr]}function De(bi,Mr,Oi,Ar){for(var Wn=0;Wn<Ar;Wn++)bi[Mr+Wn]=Oi}function Le(bi){return new Int32Array(bi)}function Fe(bi,Mr){for(var Oi=[],Ar=0;Ar<bi;Ar++)Oi.push(new Mr);return Oi}function at(bi,Mr){var Oi=[];return function Ar(Wn,xr,er){for(var ci=er[xr],qr=0;qr<ci&&(Wn.push(er.length>xr+1?[]:new Mr),!(er.length<xr+1));qr++)Ar(Wn[qr],xr+1,er)}(Oi,0,bi),Oi}var Ve=function(){var Mr=this;function Oi(ne,Ce){for(var Xe=1<<Ce-1>>>0;ne&Xe;)Xe>>>=1;return Xe?(ne&Xe-1)+Xe:ne}function Ar(ne,Ce,Xe,Tt,nn){le(!(Tt%Xe));do ne[Ce+(Tt-=Xe)]=nn;while(0<Tt)}function Wn(ne,Ce,Xe,Tt,nn){if(le(2328>=nn),512>=nn)var xn=Le(512);else if((xn=Le(nn))==null)return 0;return function(fe,V,ae,Ie,Ke,dt){var pt,yt,cn=V,On=1<<ae,ln=Le(16),en=Le(16);for(le(Ke!=0),le(Ie!=null),le(fe!=null),le(0<ae),yt=0;yt<Ke;++yt){if(15<Ie[yt])return 0;++ln[Ie[yt]]}if(ln[0]==Ke)return 0;for(en[1]=0,pt=1;15>pt;++pt){if(ln[pt]>1<<pt)return 0;en[pt+1]=en[pt]+ln[pt]}for(yt=0;yt<Ke;++yt)pt=Ie[yt],0<Ie[yt]&&(dt[en[pt]++]=yt);if(en[15]==1)return(Ie=new xr).g=0,Ie.value=dt[0],Ar(fe,cn,1,On,Ie),On;var wn,Bn=-1,ir=On-1,jr=0,Vr=1,Ei=1,di=1<<ae;for(yt=0,pt=1,Ke=2;pt<=ae;++pt,Ke<<=1){if(Vr+=Ei<<=1,0>(Ei-=ln[pt]))return 0;for(;0<ln[pt];--ln[pt])(Ie=new xr).g=pt,Ie.value=dt[yt++],Ar(fe,cn+jr,Ke,di,Ie),jr=Oi(jr,pt)}for(pt=ae+1,Ke=2;15>=pt;++pt,Ke<<=1){if(Vr+=Ei<<=1,0>(Ei-=ln[pt]))return 0;for(;0<ln[pt];--ln[pt]){if(Ie=new xr,(jr&ir)!=Bn){for(cn+=di,wn=1<<(Bn=pt)-ae;15>Bn&&!(0>=(wn-=ln[Bn]));)++Bn,wn<<=1;On+=di=1<<(wn=Bn-ae),fe[V+(Bn=jr&ir)].g=wn+ae,fe[V+Bn].value=cn-V-Bn}Ie.g=pt-ae,Ie.value=dt[yt++],Ar(fe,cn+(jr>>ae),Ke,di,Ie),jr=Oi(jr,pt)}}return Vr!=2*en[15]-1?0:On}(ne,Ce,Xe,Tt,nn,xn)}function xr(){this.value=this.g=0}function er(){this.value=this.g=0}function ci(){this.G=Fe(5,xr),this.H=Le(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=Fe(So,er)}function qr(ne,Ce,Xe,Tt){le(ne!=null),le(Ce!=null),le(2147483648>Tt),ne.Ca=254,ne.I=0,ne.b=-8,ne.Ka=0,ne.oa=Ce,ne.pa=Xe,ne.Jd=Ce,ne.Yc=Xe+Tt,ne.Zc=4<=Tt?Xe+Tt-4+1:Xe,hi(ne)}function wi(ne,Ce){for(var Xe=0;0<Ce--;)Xe|=Ai(ne,128)<<Ce;return Xe}function Xr(ne,Ce){var Xe=wi(ne,Ce);return fi(ne)?-Xe:Xe}function Hi(ne,Ce,Xe,Tt){var nn,xn=0;for(le(ne!=null),le(Ce!=null),le(4294967288>Tt),ne.Sb=Tt,ne.Ra=0,ne.u=0,ne.h=0,4<Tt&&(Tt=4),nn=0;nn<Tt;++nn)xn+=Ce[Xe+nn]<<8*nn;ne.Ra=xn,ne.bb=Tt,ne.oa=Ce,ne.pa=Xe}function ni(ne){for(;8<=ne.u&&ne.bb<ne.Sb;)ne.Ra>>>=8,ne.Ra+=ne.oa[ne.pa+ne.bb]<<Io-8>>>0,++ne.bb,ne.u-=8;Br(ne)&&(ne.h=1,ne.u=0)}function Mi(ne,Ce){if(le(0<=Ce),!ne.h&&Ce<=ts){var Xe=br(ne)&is[Ce];return ne.u+=Ce,ni(ne),Xe}return ne.h=1,ne.u=0}function cr(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Pn(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function br(ne){return ne.Ra>>>(ne.u&Io-1)>>>0}function Br(ne){return le(ne.bb<=ne.Sb),ne.h||ne.bb==ne.Sb&&ne.u>Io}function Qr(ne,Ce){ne.u=Ce,ne.h=Br(ne)}function $r(ne){ne.u>=Gi&&(le(ne.u>=Gi),ni(ne))}function hi(ne){le(ne!=null&&ne.oa!=null),ne.pa<ne.Zc?(ne.I=(ne.oa[ne.pa++]|ne.I<<8)>>>0,ne.b+=8):(le(ne!=null&&ne.oa!=null),ne.pa<ne.Yc?(ne.b+=8,ne.I=ne.oa[ne.pa++]|ne.I<<8):ne.Ka?ne.b=0:(ne.I<<=8,ne.b+=8,ne.Ka=1))}function fi(ne){return wi(ne,1)}function Ai(ne,Ce){var Xe=ne.Ca;0>ne.b&&hi(ne);var Tt=ne.b,nn=Xe*Ce>>>8,xn=(ne.I>>>Tt>nn)+0;for(xn?(Xe-=nn,ne.I-=nn+1<<Tt>>>0):Xe=nn+1,Tt=Xe,nn=0;256<=Tt;)nn+=8,Tt>>=8;return Tt=7^nn+Rs[Tt],ne.b-=Tt,ne.Ca=(Xe<<Tt)-1,xn}function Wi(ne,Ce,Xe){ne[Ce+0]=Xe>>24&255,ne[Ce+1]=Xe>>16&255,ne[Ce+2]=Xe>>8&255,ne[Ce+3]=Xe>>0&255}function ra(ne,Ce){return ne[Ce+0]<<0|ne[Ce+1]<<8}function $i(ne,Ce){return ra(ne,Ce)|ne[Ce+2]<<16}function Ha(ne,Ce){return ra(ne,Ce)|ra(ne,Ce+2)<<16}function pi(ne,Ce){var Xe=1<<Ce;return le(ne!=null),le(0<Ce),ne.X=Le(Xe),ne.X==null?0:(ne.Mb=32-Ce,ne.Xa=Ce,1)}function sr(ne,Ce){le(ne!=null),le(Ce!=null),le(ne.Xa==Ce.Xa),xe(Ce.X,0,ne.X,0,1<<Ce.Xa)}function Li(){this.X=[],this.Xa=this.Mb=0}function Ji(ne,Ce,Xe,Tt){le(Xe!=null),le(Tt!=null);var nn=Xe[0],xn=Tt[0];return nn==0&&(nn=(ne*xn+Ce/2)/Ce),xn==0&&(xn=(Ce*nn+ne/2)/ne),0>=nn||0>=xn?0:(Xe[0]=nn,Tt[0]=xn,1)}function Ui(ne,Ce){return ne+(1<<Ce)-1>>>Ce}function ea(ne,Ce){return((4278255360&ne)+(4278255360&Ce)>>>0&4278255360)+((16711935&ne)+(16711935&Ce)>>>0&16711935)>>>0}function Bt(ne,Ce){Mr[Ce]=function(Xe,Tt,nn,xn,fe,V,ae){var Ie;for(Ie=0;Ie<fe;++Ie){var Ke=Mr[ne](V[ae+Ie-1],nn,xn+Ie);V[ae+Ie]=ea(Xe[Tt+Ie],Ke)}}}function Vn(){this.ud=this.hd=this.jd=0}function nr(ne,Ce){return((4278124286&(ne^Ce))>>>1)+(ne&Ce)>>>0}function fr(ne){return 0<=ne&&256>ne?ne:0>ne?0:255<ne?255:void 0}function Re(ne,Ce){return fr(ne+(ne-Ce+.5>>1))}function At(ne,Ce,Xe){return Math.abs(Ce-Xe)-Math.abs(ne-Xe)}function qt(ne,Ce,Xe,Tt,nn,xn,fe){for(Tt=xn[fe-1],Xe=0;Xe<nn;++Xe)xn[fe+Xe]=Tt=ea(ne[Ce+Xe],Tt)}function $t(ne,Ce,Xe,Tt,nn){var xn;for(xn=0;xn<Xe;++xn){var fe=ne[Ce+xn],V=fe>>8&255,ae=16711935&(ae=(ae=16711935&fe)+((V<<16)+V));Tt[nn+xn]=(4278255360&fe)+ae>>>0}}function Cn(ne,Ce){Ce.jd=ne>>0&255,Ce.hd=ne>>8&255,Ce.ud=ne>>16&255}function Dn(ne,Ce,Xe,Tt,nn,xn){var fe;for(fe=0;fe<Tt;++fe){var V=Ce[Xe+fe],ae=V>>>8,Ie=V,Ke=255&(Ke=(Ke=V>>>16)+((ne.jd<<24>>24)*(ae<<24>>24)>>>5));Ie=255&(Ie=(Ie=Ie+((ne.hd<<24>>24)*(ae<<24>>24)>>>5))+((ne.ud<<24>>24)*(Ke<<24>>24)>>>5)),nn[xn+fe]=(4278255360&V)+(Ke<<16)+Ie}}function Hn(ne,Ce,Xe,Tt,nn){Mr[Ce]=function(xn,fe,V,ae,Ie,Ke,dt,pt,yt){for(ae=dt;ae<pt;++ae)for(dt=0;dt<yt;++dt)Ie[Ke++]=nn(V[Tt(xn[fe++])])},Mr[ne]=function(xn,fe,V,ae,Ie,Ke,dt){var pt=8>>xn.b,yt=xn.Ea,cn=xn.K[0],On=xn.w;if(8>pt)for(xn=(1<<xn.b)-1,On=(1<<pt)-1;fe<V;++fe){var ln,en=0;for(ln=0;ln<yt;++ln)ln&xn||(en=Tt(ae[Ie++])),Ke[dt++]=nn(cn[en&On]),en>>=pt}else Mr["VP8LMapColor"+Xe](ae,Ie,cn,On,Ke,dt,fe,V,yt)}}function ar(ne,Ce,Xe,Tt,nn){for(Xe=Ce+Xe;Ce<Xe;){var xn=ne[Ce++];Tt[nn++]=xn>>16&255,Tt[nn++]=xn>>8&255,Tt[nn++]=xn>>0&255}}function Er(ne,Ce,Xe,Tt,nn){for(Xe=Ce+Xe;Ce<Xe;){var xn=ne[Ce++];Tt[nn++]=xn>>16&255,Tt[nn++]=xn>>8&255,Tt[nn++]=xn>>0&255,Tt[nn++]=xn>>24&255}}function gr(ne,Ce,Xe,Tt,nn){for(Xe=Ce+Xe;Ce<Xe;){var xn=(fe=ne[Ce++])>>16&240|fe>>12&15,fe=fe>>0&240|fe>>28&15;Tt[nn++]=xn,Tt[nn++]=fe}}function Rr(ne,Ce,Xe,Tt,nn){for(Xe=Ce+Xe;Ce<Xe;){var xn=(fe=ne[Ce++])>>16&248|fe>>13&7,fe=fe>>5&224|fe>>3&31;Tt[nn++]=xn,Tt[nn++]=fe}}function kr(ne,Ce,Xe,Tt,nn){for(Xe=Ce+Xe;Ce<Xe;){var xn=ne[Ce++];Tt[nn++]=xn>>0&255,Tt[nn++]=xn>>8&255,Tt[nn++]=xn>>16&255}}function wr(ne,Ce,Xe,Tt,nn,xn){if(xn==0)for(Xe=Ce+Xe;Ce<Xe;)Wi(Tt,((xn=ne[Ce++])[0]>>24|xn[1]>>8&65280|xn[2]<<8&16711680|xn[3]<<24)>>>0),nn+=32;else xe(Tt,nn,ne,Ce,Xe)}function Lr(ne,Ce){Mr[Ce][0]=Mr[ne+"0"],Mr[Ce][1]=Mr[ne+"1"],Mr[Ce][2]=Mr[ne+"2"],Mr[Ce][3]=Mr[ne+"3"],Mr[Ce][4]=Mr[ne+"4"],Mr[Ce][5]=Mr[ne+"5"],Mr[Ce][6]=Mr[ne+"6"],Mr[Ce][7]=Mr[ne+"7"],Mr[Ce][8]=Mr[ne+"8"],Mr[Ce][9]=Mr[ne+"9"],Mr[Ce][10]=Mr[ne+"10"],Mr[Ce][11]=Mr[ne+"11"],Mr[Ce][12]=Mr[ne+"12"],Mr[Ce][13]=Mr[ne+"13"],Mr[Ce][14]=Mr[ne+"0"],Mr[Ce][15]=Mr[ne+"0"]}function Ir(ne){return ne==Cu||ne==gl||ne==Tl||ne==Hl}function zr(){this.eb=[],this.size=this.A=this.fb=0}function Gr(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ri(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new zr,this.f.kb=new Gr,this.sd=null}function yi(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function li(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Ti(ne){return alert("todo:WebPSamplerProcessPlane"),ne.T}function Fi(ne,Ce){var Xe=ne.T,Tt=Ce.ba.f.RGBA,nn=Tt.eb,xn=Tt.fb+ne.ka*Tt.A,fe=ll[Ce.ba.S],V=ne.y,ae=ne.O,Ie=ne.f,Ke=ne.N,dt=ne.ea,pt=ne.W,yt=Ce.cc,cn=Ce.dc,On=Ce.Mc,ln=Ce.Nc,en=ne.ka,wn=ne.ka+ne.T,Bn=ne.U,ir=Bn+1>>1;for(en==0?fe(V,ae,null,null,Ie,Ke,dt,pt,Ie,Ke,dt,pt,nn,xn,null,null,Bn):(fe(Ce.ec,Ce.fc,V,ae,yt,cn,On,ln,Ie,Ke,dt,pt,nn,xn-Tt.A,nn,xn,Bn),++Xe);en+2<wn;en+=2)yt=Ie,cn=Ke,On=dt,ln=pt,Ke+=ne.Rc,pt+=ne.Rc,xn+=2*Tt.A,fe(V,(ae+=2*ne.fa)-ne.fa,V,ae,yt,cn,On,ln,Ie,Ke,dt,pt,nn,xn-Tt.A,nn,xn,Bn);return ae+=ne.fa,ne.j+wn<ne.o?(xe(Ce.ec,Ce.fc,V,ae,Bn),xe(Ce.cc,Ce.dc,Ie,Ke,ir),xe(Ce.Mc,Ce.Nc,dt,pt,ir),Xe--):1&wn||fe(V,ae,null,null,Ie,Ke,dt,pt,Ie,Ke,dt,pt,nn,xn+Tt.A,null,null,Bn),Xe}function Si(ne,Ce,Xe){var Tt=ne.F,nn=[ne.J];if(Tt!=null){var xn=ne.U,fe=Ce.ba.S,V=fe==Vs||fe==Tl;Ce=Ce.ba.f.RGBA;var ae=[0],Ie=ne.ka;ae[0]=ne.T,ne.Kb&&(Ie==0?--ae[0]:(--Ie,nn[0]-=ne.width),ne.j+ne.ka+ne.T==ne.o&&(ae[0]=ne.o-ne.j-Ie));var Ke=Ce.eb;Ie=Ce.fb+Ie*Ce.A,ne=qs(Tt,nn[0],ne.width,xn,ae,Ke,Ie+(V?0:3),Ce.A),le(Xe==ae),ne&&Ir(fe)&&Sl(Ke,Ie,V,xn,ae,Ce.A)}return 0}function mi(ne){var Ce=ne.ma,Xe=Ce.ba.S,Tt=11>Xe,nn=Xe==au||Xe==Gl||Xe==Vs||Xe==su||Xe==12||Ir(Xe);if(Ce.memory=null,Ce.Ib=null,Ce.Jb=null,Ce.Nd=null,!Co(Ce.Oa,ne,nn?11:12))return 0;if(nn&&Ir(Xe)&&we(),ne.da)alert("todo:use_scaling");else{if(Tt){if(Ce.Ib=Ti,ne.Kb){if(Xe=ne.U+1>>1,Ce.memory=Le(ne.U+2*Xe),Ce.memory==null)return 0;Ce.ec=Ce.memory,Ce.fc=0,Ce.cc=Ce.ec,Ce.dc=Ce.fc+ne.U,Ce.Mc=Ce.cc,Ce.Nc=Ce.dc+Xe,Ce.Ib=Fi,we()}}else alert("todo:EmitYUV");nn&&(Ce.Jb=Si,Tt&&ee())}if(Tt&&!Nu){for(ne=0;256>ne;++ne)qu[ne]=89858*(ne-128)+Nl>>fl,Qu[ne]=-22014*(ne-128)+Nl,Vu[ne]=-45773*(ne-128),Du[ne]=113618*(ne-128)+Nl>>fl;for(ne=Vl;ne<kl;++ne)Ce=76283*(ne-16)+Nl>>fl,Yu[ne-Vl]=Qi(Ce,255),Ru[ne-Vl]=Qi(Ce+8>>4,15);Nu=1}return 1}function Ni(ne){var Ce=ne.ma,Xe=ne.U,Tt=ne.T;return le(!(1&ne.ka)),0>=Xe||0>=Tt?0:(Xe=Ce.Ib(ne,Ce),Ce.Jb!=null&&Ce.Jb(ne,Ce,Xe),Ce.Dc+=Xe,1)}function Wr(ne){ne.ma.memory=null}function Ri(ne,Ce,Xe,Tt){return Mi(ne,8)!=47?0:(Ce[0]=Mi(ne,14)+1,Xe[0]=Mi(ne,14)+1,Tt[0]=Mi(ne,1),Mi(ne,3)!=0?0:!ne.h)}function Ki(ne,Ce){if(4>ne)return ne+1;var Xe=ne-2>>1;return(2+(1&ne)<<Xe)+Mi(Ce,Xe)+1}function hn(ne,Ce){return 120<Ce?Ce-120:1<=(Xe=((Xe=Jl[Ce-1])>>4)*ne+(8-(15&Xe)))?Xe:1;var Xe}function Rn(ne,Ce,Xe){var Tt=br(Xe),nn=ne[Ce+=255&Tt].g-8;return 0<nn&&(Qr(Xe,Xe.u+8),Tt=br(Xe),Ce+=ne[Ce].value,Ce+=Tt&(1<<nn)-1),Qr(Xe,Xe.u+ne[Ce].g),ne[Ce].value}function Yn(ne,Ce,Xe){return Xe.g+=ne.g,Xe.value+=ne.value<<Ce>>>0,le(8>=Xe.g),ne.g}function En(ne,Ce,Xe){var Tt=ne.xc;return le((Ce=Tt==0?0:ne.vc[ne.md*(Xe>>Tt)+(Ce>>Tt)])<ne.Wb),ne.Ya[Ce]}function Mt(ne,Ce,Xe,Tt){var nn=ne.ab,xn=ne.c*Ce,fe=ne.C;Ce=fe+Ce;var V=Xe,ae=Tt;for(Tt=ne.Ta,Xe=ne.Ua;0<nn--;){var Ie=ne.gc[nn],Ke=fe,dt=Ce,pt=V,yt=ae,cn=(ae=Tt,V=Xe,Ie.Ea);switch(le(Ke<dt),le(dt<=Ie.nc),Ie.hc){case 2:Xo(pt,yt,(dt-Ke)*cn,ae,V);break;case 0:var On=Ke,ln=dt,en=ae,wn=V,Bn=(di=Ie).Ea;On==0&&(Es(pt,yt,null,null,1,en,wn),qt(pt,yt+1,0,0,Bn-1,en,wn+1),yt+=Bn,wn+=Bn,++On);for(var ir=1<<di.b,jr=ir-1,Vr=Ui(Bn,di.b),Ei=di.K,di=di.w+(On>>di.b)*Vr;On<ln;){var ca=Ei,ji=di,Ia=1;for(as(pt,yt,en,wn-Bn,1,en,wn);Ia<Bn;){var ha=(Ia&~jr)+ir;ha>Bn&&(ha=Bn),(0,No[ca[ji++]>>8&15])(pt,yt+ +Ia,en,wn+Ia-Bn,ha-Ia,en,wn+Ia),Ia=ha}yt+=Bn,wn+=Bn,++On&jr||(di+=Vr)}dt!=Ie.nc&&xe(ae,V-cn,ae,V+(dt-Ke-1)*cn,cn);break;case 1:for(cn=pt,ln=yt,Bn=(pt=Ie.Ea)-(wn=pt&~(en=(yt=1<<Ie.b)-1)),On=Ui(pt,Ie.b),ir=Ie.K,Ie=Ie.w+(Ke>>Ie.b)*On;Ke<dt;){for(jr=ir,Vr=Ie,Ei=new Vn,di=ln+wn,ca=ln+pt;ln<di;)Cn(jr[Vr++],Ei),ls(Ei,cn,ln,yt,ae,V),ln+=yt,V+=yt;ln<ca&&(Cn(jr[Vr++],Ei),ls(Ei,cn,ln,Bn,ae,V),ln+=Bn,V+=Bn),++Ke&en||(Ie+=On)}break;case 3:if(pt==ae&&yt==V&&0<Ie.b){for(ln=ae,pt=cn=V+(dt-Ke)*cn-(wn=(dt-Ke)*Ui(Ie.Ea,Ie.b)),yt=ae,en=V,On=[],wn=(Bn=wn)-1;0<=wn;--wn)On[wn]=yt[en+wn];for(wn=Bn-1;0<=wn;--wn)ln[pt+wn]=On[wn];hs(Ie,Ke,dt,ae,cn,ae,V)}else hs(Ie,Ke,dt,pt,yt,ae,V)}V=Tt,ae=Xe}ae!=Xe&&xe(Tt,Xe,V,ae,xn)}function mn(ne,Ce){var Xe=ne.V,Tt=ne.Ba+ne.c*ne.C,nn=Ce-ne.C;if(le(Ce<=ne.l.o),le(16>=nn),0<nn){var xn=ne.l,fe=ne.Ta,V=ne.Ua,ae=xn.width;if(Mt(ne,nn,Xe,Tt),nn=V=[V],le((Xe=ne.C)<(Tt=Ce)),le(xn.v<xn.va),Tt>xn.o&&(Tt=xn.o),Xe<xn.j){var Ie=xn.j-Xe;Xe=xn.j,nn[0]+=Ie*ae}if(Xe>=Tt?Xe=0:(nn[0]+=4*xn.v,xn.ka=Xe-xn.j,xn.U=xn.va-xn.v,xn.T=Tt-Xe,Xe=1),Xe){if(V=V[0],11>(Xe=ne.ca).S){var Ke=Xe.f.RGBA,dt=(Tt=Xe.S,nn=xn.U,xn=xn.T,Ie=Ke.eb,Ke.A),pt=xn;for(Ke=Ke.fb+ne.Ma*Ke.A;0<pt--;){var yt=fe,cn=V,On=nn,ln=Ie,en=Ke;switch(Tt){case _l:Zs(yt,cn,On,ln,en);break;case au:gs(yt,cn,On,ln,en);break;case Cu:gs(yt,cn,On,ln,en),Sl(ln,en,0,On,1,0);break;case ou:Bs(yt,cn,On,ln,en);break;case Gl:wr(yt,cn,On,ln,en,1);break;case gl:wr(yt,cn,On,ln,en,1),Sl(ln,en,0,On,1,0);break;case Vs:wr(yt,cn,On,ln,en,0);break;case Tl:wr(yt,cn,On,ln,en,0),Sl(ln,en,1,On,1,0);break;case su:Us(yt,cn,On,ln,en);break;case Hl:Us(yt,cn,On,ln,en),Pl(ln,en,On,1,0);break;case lu:ks(yt,cn,On,ln,en);break;default:le(0)}V+=ae,Ke+=dt}ne.Ma+=xn}else alert("todo:EmitRescaledRowsYUVA");le(ne.Ma<=Xe.height)}}ne.C=Ce,le(ne.C<=ne.i)}function zt(ne){var Ce;if(0<ne.ua)return 0;for(Ce=0;Ce<ne.Wb;++Ce){var Xe=ne.Ya[Ce].G,Tt=ne.Ya[Ce].H;if(0<Xe[1][Tt[1]+0].g||0<Xe[2][Tt[2]+0].g||0<Xe[3][Tt[3]+0].g)return 0}return 1}function _n(ne,Ce,Xe,Tt,nn,xn){if(ne.Z!=0){var fe=ne.qd,V=ne.rd;for(le(yl[ne.Z]!=null);Ce<Xe;++Ce)yl[ne.Z](fe,V,Tt,nn,Tt,nn,xn),fe=Tt,V=nn,nn+=xn;ne.qd=fe,ne.rd=V}}function kn(ne,Ce){var Xe=ne.l.ma,Tt=Xe.Z==0||Xe.Z==1?ne.l.j:ne.C;if(Tt=ne.C<Tt?Tt:ne.C,le(Ce<=ne.l.o),Ce>Tt){var nn=ne.l.width,xn=Xe.ca,fe=Xe.tb+nn*Tt,V=ne.V,ae=ne.Ba+ne.c*Tt,Ie=ne.gc;le(ne.ab==1),le(Ie[0].hc==3),ol(Ie[0],Tt,Ce,V,ae,xn,fe),_n(Xe,Tt,Ce,xn,fe,nn)}ne.C=ne.Ma=Ce}function pr(ne,Ce,Xe,Tt,nn,xn,fe){var V=ne.$/Tt,ae=ne.$%Tt,Ie=ne.m,Ke=ne.s,dt=Xe+ne.$,pt=dt;nn=Xe+Tt*nn;var yt=Xe+Tt*xn,cn=280+Ke.ua,On=ne.Pb?V:16777216,ln=0<Ke.ua?Ke.Wa:null,en=Ke.wc,wn=dt<yt?En(Ke,ae,V):null;le(ne.C<xn),le(yt<=nn);var Bn=!1;e:for(;;){for(;Bn||dt<yt;){var ir=0;if(V>=On){var jr=dt-Xe;le((On=ne).Pb),On.wd=On.m,On.xd=jr,0<On.s.ua&&sr(On.s.Wa,On.s.vb),On=V+Zl}if(ae&en||(wn=En(Ke,ae,V)),le(wn!=null),wn.Qb&&(Ce[dt]=wn.qb,Bn=!0),!Bn)if($r(Ie),wn.jc){ir=Ie,jr=Ce;var Vr=dt,Ei=wn.pd[br(ir)&So-1];le(wn.jc),256>Ei.g?(Qr(ir,ir.u+Ei.g),jr[Vr]=Ei.value,ir=0):(Qr(ir,ir.u+Ei.g-256),le(256<=Ei.value),ir=Ei.value),ir==0&&(Bn=!0)}else ir=Rn(wn.G[0],wn.H[0],Ie);if(Ie.h)break;if(Bn||256>ir){if(!Bn)if(wn.nd)Ce[dt]=(wn.qb|ir<<8)>>>0;else{if($r(Ie),Bn=Rn(wn.G[1],wn.H[1],Ie),$r(Ie),jr=Rn(wn.G[2],wn.H[2],Ie),Vr=Rn(wn.G[3],wn.H[3],Ie),Ie.h)break;Ce[dt]=(Vr<<24|Bn<<16|ir<<8|jr)>>>0}if(Bn=!1,++dt,++ae>=Tt&&(ae=0,++V,fe!=null&&V<=xn&&!(V%16)&&fe(ne,V),ln!=null))for(;pt<dt;)ir=Ce[pt++],ln.X[(506832829*ir&4294967295)>>>ln.Mb]=ir}else if(280>ir){if(ir=Ki(ir-256,Ie),jr=Rn(wn.G[4],wn.H[4],Ie),$r(Ie),jr=hn(Tt,jr=Ki(jr,Ie)),Ie.h)break;if(dt-Xe<jr||nn-dt<ir)break e;for(Vr=0;Vr<ir;++Vr)Ce[dt+Vr]=Ce[dt+Vr-jr];for(dt+=ir,ae+=ir;ae>=Tt;)ae-=Tt,++V,fe!=null&&V<=xn&&!(V%16)&&fe(ne,V);if(le(dt<=nn),ae&en&&(wn=En(Ke,ae,V)),ln!=null)for(;pt<dt;)ir=Ce[pt++],ln.X[(506832829*ir&4294967295)>>>ln.Mb]=ir}else{if(!(ir<cn))break e;for(Bn=ir-280,le(ln!=null);pt<dt;)ir=Ce[pt++],ln.X[(506832829*ir&4294967295)>>>ln.Mb]=ir;ir=dt,le(!(Bn>>>(jr=ln).Xa)),Ce[ir]=jr.X[Bn],Bn=!0}Bn||le(Ie.h==Br(Ie))}if(ne.Pb&&Ie.h&&dt<nn)le(ne.m.h),ne.a=5,ne.m=ne.wd,ne.$=ne.xd,0<ne.s.ua&&sr(ne.s.vb,ne.s.Wa);else{if(Ie.h)break e;fe!=null&&fe(ne,V>xn?xn:V),ne.a=0,ne.$=dt-Xe}return 1}return ne.a=3,0}function or(ne){le(ne!=null),ne.vc=null,ne.yc=null,ne.Ya=null;var Ce=ne.Wa;Ce!=null&&(Ce.X=null),ne.vb=null,le(ne!=null)}function yr(){var ne=new Ys;return ne==null?null:(ne.a=0,ne.xb=ql,Lr("Predictor","VP8LPredictors"),Lr("Predictor","VP8LPredictors_C"),Lr("PredictorAdd","VP8LPredictorsAdd"),Lr("PredictorAdd","VP8LPredictorsAdd_C"),Xo=$t,ls=Dn,Zs=ar,gs=Er,Us=gr,ks=Rr,Bs=kr,Mr.VP8LMapColor32b=Al,Mr.VP8LMapColor8b=fs,ne)}function _r(ne,Ce,Xe,Tt,nn){var xn=1,fe=[ne],V=[Ce],ae=Tt.m,Ie=Tt.s,Ke=null,dt=0;e:for(;;){if(Xe)for(;xn&&Mi(ae,1);){var pt=fe,yt=V,cn=Tt,On=1,ln=cn.m,en=cn.gc[cn.ab],wn=Mi(ln,2);if(cn.Oc&1<<wn)xn=0;else{switch(cn.Oc|=1<<wn,en.hc=wn,en.Ea=pt[0],en.nc=yt[0],en.K=[null],++cn.ab,le(4>=cn.ab),wn){case 0:case 1:en.b=Mi(ln,3)+2,On=_r(Ui(en.Ea,en.b),Ui(en.nc,en.b),0,cn,en.K),en.K=en.K[0];break;case 3:var Bn,ir=Mi(ln,8)+1,jr=16<ir?0:4<ir?1:2<ir?2:3;if(pt[0]=Ui(en.Ea,jr),en.b=jr,Bn=On=_r(ir,1,0,cn,en.K)){var Vr,Ei=ir,di=en,ca=1<<(8>>di.b),ji=Le(ca);if(ji==null)Bn=0;else{var Ia=di.K[0],ha=di.w;for(ji[0]=di.K[0][0],Vr=1;Vr<1*Ei;++Vr)ji[Vr]=ea(Ia[ha+Vr],ji[Vr-1]);for(;Vr<4*ca;++Vr)ji[Vr]=0;di.K[0]=null,di.K[0]=ji,Bn=1}}On=Bn;break;case 2:break;default:le(0)}xn=On}}if(fe=fe[0],V=V[0],xn&&Mi(ae,1)&&!(xn=1<=(dt=Mi(ae,4))&&11>=dt)){Tt.a=3;break e}var Za;if(Za=xn)t:{var po,p,O,W=Tt,Q=fe,Z=V,ve=dt,Ze=Xe,ft=W.m,Ut=W.s,Kt=[null],$n=1,dr=0,Dr=uu[ve];n:for(;;){if(Ze&&Mi(ft,1)){var Pr=Mi(ft,3)+2,gi=Ui(Q,Pr),zi=Ui(Z,Pr),Xi=gi*zi;if(!_r(gi,zi,0,W,Kt))break n;for(Kt=Kt[0],Ut.xc=Pr,po=0;po<Xi;++po){var Yi=Kt[po]>>8&65535;Kt[po]=Yi,Yi>=$n&&($n=Yi+1)}}if(ft.h)break n;for(p=0;5>p;++p){var Vi=ku[p];!p&&0<ve&&(Vi+=1<<ve),dr<Vi&&(dr=Vi)}var fa=Fe($n*Dr,xr),ba=$n,qa=Fe(ba,ci);if(qa==null)var _a=null;else le(65536>=ba),_a=qa;var Eo=Le(dr);if(_a==null||Eo==null||fa==null){W.a=1;break n}var Wo=fa;for(po=O=0;po<$n;++po){var us=_a[po],$o=us.G,Ms=us.H,Xs=0,Cs=1,Js=0;for(p=0;5>p;++p){Vi=ku[p],$o[p]=Wo,Ms[p]=O,!p&&0<ve&&(Vi+=1<<ve);i:{var Fs,aa=Vi,os=W,ns=Eo,vs=Wo,gu=O,Do=0,vo=os.m,pl=Mi(vo,1);if(De(ns,0,0,aa),pl){var Qs=Mi(vo,1)+1,vu=Mi(vo,1),Dl=Mi(vo,vu==0?1:8);ns[Dl]=1,Qs==2&&(ns[Dl=Mi(vo,8)]=1);var ml=1}else{var Ql=Le(19),tl=Mi(vo,4)+4;if(19<tl){os.a=3;var Rl=0;break i}for(Fs=0;Fs<tl;++Fs)Ql[vl[Fs]]=Mi(vo,3);var Bu=void 0,Gu=void 0,Ac=os,gc=Ql,ec=aa,vc=ns,oc=0,yu=Ac.m,dc=8,yc=Fe(128,xr);r:for(;Wn(yc,0,7,gc,19);){if(Mi(yu,1)){var Ec=2+2*Mi(yu,3);if((Bu=2+Mi(yu,Ec))>ec)break r}else Bu=ec;for(Gu=0;Gu<ec&&Bu--;){$r(yu);var bc=yc[0+(127&br(yu))];Qr(yu,yu.u+bc.g);var tu=bc.value;if(16>tu)vc[Gu++]=tu,tu!=0&&(dc=tu);else{var Bl=tu==16,hc=tu-16,sc=xl[hc],wc=Mi(yu,Xl[hc])+sc;if(Gu+wc>ec)break r;for(var Cc=Bl?dc:0;0<wc--;)vc[Gu++]=Cc}}oc=1;break r}oc||(Ac.a=3),ml=oc}(ml=ml&&!vo.h)&&(Do=Wn(vs,gu,8,ns,aa)),ml&&Do!=0?Rl=Do:(os.a=3,Rl=0)}if(Rl==0)break n;if(Cs&&ju[p]==1&&(Cs=Wo[O].g==0),Xs+=Wo[O].g,O+=Rl,3>=p){var Mu,bu=Eo[0];for(Mu=1;Mu<Vi;++Mu)Eo[Mu]>bu&&(bu=Eo[Mu]);Js+=bu}}if(us.nd=Cs,us.Qb=0,Cs&&(us.qb=($o[3][Ms[3]+0].value<<24|$o[1][Ms[1]+0].value<<16|$o[2][Ms[2]+0].value)>>>0,Xs==0&&256>$o[0][Ms[0]+0].value&&(us.Qb=1,us.qb+=$o[0][Ms[0]+0].value<<8)),us.jc=!us.Qb&&6>Js,us.jc){var Fu,nu=us;for(Fu=0;Fu<So;++Fu){var Il=Fu,wu=nu.pd[Il],lc=nu.G[0][nu.H[0]+Il];256<=lc.value?(wu.g=lc.g+256,wu.value=lc.value):(wu.g=0,wu.value=0,Il>>=Yn(lc,8,wu),Il>>=Yn(nu.G[1][nu.H[1]+Il],16,wu),Il>>=Yn(nu.G[2][nu.H[2]+Il],0,wu),Yn(nu.G[3][nu.H[3]+Il],24,wu))}}}Ut.vc=Kt,Ut.Wb=$n,Ut.Ya=_a,Ut.yc=fa,Za=1;break t}Za=0}if(!(xn=Za)){Tt.a=3;break e}if(0<dt){if(Ie.ua=1<<dt,!pi(Ie.Wa,dt)){Tt.a=1,xn=0;break e}}else Ie.ua=0;var uc=Tt,Sc=fe,xc=V,fc=uc.s,pc=fc.xc;if(uc.c=Sc,uc.i=xc,fc.md=Ui(Sc,pc),fc.wc=pc==0?-1:(1<<pc)-1,Xe){Tt.xb=$l;break e}if((Ke=Le(fe*V))==null){Tt.a=1,xn=0;break e}xn=(xn=pr(Tt,Ke,0,fe,V,V,null))&&!ae.h;break e}return xn?(nn!=null?nn[0]=Ke:(le(Ke==null),le(Xe)),Tt.$=0,Xe||or(Ie)):or(Ie),xn}function Yr(ne,Ce){var Xe=ne.c*ne.i,Tt=Xe+Ce+16*Ce;return le(ne.c<=Ce),ne.V=Le(Tt),ne.V==null?(ne.Ta=null,ne.Ua=0,ne.a=1,0):(ne.Ta=ne.V,ne.Ua=ne.Ba+Xe+Ce,1)}function Jr(ne,Ce){var Xe=ne.C,Tt=Ce-Xe,nn=ne.V,xn=ne.Ba+ne.c*Xe;for(le(Ce<=ne.l.o);0<Tt;){var fe=16<Tt?16:Tt,V=ne.l.ma,ae=ne.l.width,Ie=ae*fe,Ke=V.ca,dt=V.tb+ae*Xe,pt=ne.Ta,yt=ne.Ua;Mt(ne,fe,nn,xn),Ol(pt,yt,Ke,dt,Ie),_n(V,Xe,Xe+fe,Ke,dt,ae),Tt-=fe,nn+=fe*ne.c,Xe+=fe}le(Xe==Ce),ne.C=ne.Ma=Ce}function Ci(){this.ub=this.yd=this.td=this.Rb=0}function ta(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function oa(){this.Fb=this.Bb=this.Cb=0,this.Zb=Le(4),this.Lb=Le(4)}function da(){this.Yb=function(){var ne=[];return function Ce(Xe,Tt,nn){for(var xn=nn[Tt],fe=0;fe<xn&&(Xe.push(nn.length>Tt+1?[]:0),!(nn.length<Tt+1));fe++)Ce(Xe[fe],Tt+1,nn)}(ne,0,[3,11]),ne}()}function ua(){this.jb=Le(3),this.Wc=at([4,8],da),this.Xc=at([4,17],da)}function ma(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new Le(4),this.od=new Le(4)}function ki(){this.ld=this.La=this.dd=this.tc=0}function Di(){this.Na=this.la=0}function na(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function qi(){this.ad=Le(384),this.Za=0,this.Ob=Le(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function va(){this.uc=this.M=this.Nb=0,this.wa=Array(new ki),this.Y=0,this.ya=Array(new qi),this.aa=0,this.l=new Na}function Ta(){this.y=Le(16),this.f=Le(8),this.ea=Le(8)}function Zi(){this.cb=this.a=0,this.sc="",this.m=new cr,this.Od=new Ci,this.Kc=new ta,this.ed=new ma,this.Qa=new oa,this.Ic=this.$c=this.Aa=0,this.D=new va,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=Fe(8,cr),this.ia=0,this.pb=Fe(4,na),this.Pa=new ua,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Ta),this.Hd=0,this.rb=Array(new Di),this.sb=0,this.wa=Array(new ki),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new qi),this.L=this.aa=0,this.gd=at([4,2],ki),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function Qi(ne,Ce){return 0>ne?0:ne>Ce?Ce:ne}function Na(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function ga(){var ne=new Zi;return ne!=null&&(ne.a=0,ne.sc="OK",ne.cb=0,ne.Xb=0,Ul||(Ul=Da)),ne}function Ii(ne,Ce,Xe){return ne.a==0&&(ne.a=Ce,ne.sc=Xe,ne.cb=0),0}function Sa(ne,Ce,Xe){return 3<=Xe&&ne[Ce+0]==157&&ne[Ce+1]==1&&ne[Ce+2]==42}function Ra(ne,Ce){if(ne==null)return 0;if(ne.a=0,ne.sc="OK",Ce==null)return Ii(ne,2,"null VP8Io passed to VP8GetHeaders()");var Xe=Ce.data,Tt=Ce.w,nn=Ce.ha;if(4>nn)return Ii(ne,7,"Truncated header.");var xn=Xe[Tt+0]|Xe[Tt+1]<<8|Xe[Tt+2]<<16,fe=ne.Od;if(fe.Rb=!(1&xn),fe.td=xn>>1&7,fe.yd=xn>>4&1,fe.ub=xn>>5,3<fe.td)return Ii(ne,3,"Incorrect keyframe parameters.");if(!fe.yd)return Ii(ne,4,"Frame not displayable.");Tt+=3,nn-=3;var V=ne.Kc;if(fe.Rb){if(7>nn)return Ii(ne,7,"cannot parse picture header");if(!Sa(Xe,Tt,nn))return Ii(ne,3,"Bad code word");V.c=16383&(Xe[Tt+4]<<8|Xe[Tt+3]),V.Td=Xe[Tt+4]>>6,V.i=16383&(Xe[Tt+6]<<8|Xe[Tt+5]),V.Ud=Xe[Tt+6]>>6,Tt+=7,nn-=7,ne.za=V.c+15>>4,ne.Ub=V.i+15>>4,Ce.width=V.c,Ce.height=V.i,Ce.Da=0,Ce.j=0,Ce.v=0,Ce.va=Ce.width,Ce.o=Ce.height,Ce.da=0,Ce.ib=Ce.width,Ce.hb=Ce.height,Ce.U=Ce.width,Ce.T=Ce.height,De((xn=ne.Pa).jb,0,255,xn.jb.length),le((xn=ne.Qa)!=null),xn.Cb=0,xn.Bb=0,xn.Fb=1,De(xn.Zb,0,0,xn.Zb.length),De(xn.Lb,0,0,xn.Lb)}if(fe.ub>nn)return Ii(ne,7,"bad partition length");qr(xn=ne.m,Xe,Tt,fe.ub),Tt+=fe.ub,nn-=fe.ub,fe.Rb&&(V.Ld=fi(xn),V.Kd=fi(xn)),V=ne.Qa;var ae,Ie=ne.Pa;if(le(xn!=null),le(V!=null),V.Cb=fi(xn),V.Cb){if(V.Bb=fi(xn),fi(xn)){for(V.Fb=fi(xn),ae=0;4>ae;++ae)V.Zb[ae]=fi(xn)?Xr(xn,7):0;for(ae=0;4>ae;++ae)V.Lb[ae]=fi(xn)?Xr(xn,6):0}if(V.Bb)for(ae=0;3>ae;++ae)Ie.jb[ae]=fi(xn)?wi(xn,8):255}else V.Bb=0;if(xn.Ka)return Ii(ne,3,"cannot parse segment header");if((V=ne.ed).zd=fi(xn),V.Tb=wi(xn,6),V.wb=wi(xn,3),V.Pc=fi(xn),V.Pc&&fi(xn)){for(Ie=0;4>Ie;++Ie)fi(xn)&&(V.vd[Ie]=Xr(xn,6));for(Ie=0;4>Ie;++Ie)fi(xn)&&(V.od[Ie]=Xr(xn,6))}if(ne.L=V.Tb==0?0:V.zd?1:2,xn.Ka)return Ii(ne,3,"cannot parse filter header");var Ke=nn;if(nn=ae=Tt,Tt=ae+Ke,V=Ke,ne.Xb=(1<<wi(ne.m,2))-1,Ke<3*(Ie=ne.Xb))Xe=7;else{for(ae+=3*Ie,V-=3*Ie,Ke=0;Ke<Ie;++Ke){var dt=Xe[nn+0]|Xe[nn+1]<<8|Xe[nn+2]<<16;dt>V&&(dt=V),qr(ne.Jc[+Ke],Xe,ae,dt),ae+=dt,V-=dt,nn+=3}qr(ne.Jc[+Ie],Xe,ae,V),Xe=ae<Tt?0:5}if(Xe!=0)return Ii(ne,Xe,"cannot parse partitions");for(Xe=wi(ae=ne.m,7),nn=fi(ae)?Xr(ae,4):0,Tt=fi(ae)?Xr(ae,4):0,V=fi(ae)?Xr(ae,4):0,Ie=fi(ae)?Xr(ae,4):0,ae=fi(ae)?Xr(ae,4):0,Ke=ne.Qa,dt=0;4>dt;++dt){if(Ke.Cb){var pt=Ke.Zb[dt];Ke.Fb||(pt+=Xe)}else{if(0<dt){ne.pb[dt]=ne.pb[0];continue}pt=Xe}var yt=ne.pb[dt];yt.Sc[0]=Ss[Qi(pt+nn,127)],yt.Sc[1]=cl[Qi(pt+0,127)],yt.Eb[0]=2*Ss[Qi(pt+Tt,127)],yt.Eb[1]=101581*cl[Qi(pt+V,127)]>>16,8>yt.Eb[1]&&(yt.Eb[1]=8),yt.Qc[0]=Ss[Qi(pt+Ie,117)],yt.Qc[1]=cl[Qi(pt+ae,127)],yt.lc=pt+ae}if(!fe.Rb)return Ii(ne,4,"Not a key frame.");for(fi(xn),fe=ne.Pa,Xe=0;4>Xe;++Xe){for(nn=0;8>nn;++nn)for(Tt=0;3>Tt;++Tt)for(V=0;11>V;++V)Ie=Ai(xn,Ou[Xe][nn][Tt][V])?wi(xn,8):Wl[Xe][nn][Tt][V],fe.Wc[Xe][nn].Yb[Tt][V]=Ie;for(nn=0;17>nn;++nn)fe.Xc[Xe][nn]=fe.Wc[Xe][Hu[nn]]}return ne.kc=fi(xn),ne.kc&&(ne.Bd=wi(xn,8)),ne.cb=1}function Da(ne,Ce,Xe,Tt,nn,xn,fe){var V=Ce[nn].Yb[Xe];for(Xe=0;16>nn;++nn){if(!Ai(ne,V[Xe+0]))return nn;for(;!Ai(ne,V[Xe+1]);)if(V=Ce[++nn].Yb[0],Xe=0,nn==16)return 16;var ae=Ce[nn+1].Yb;if(Ai(ne,V[Xe+2])){var Ie=ne,Ke=0;if(Ai(Ie,(pt=V)[(dt=Xe)+3]))if(Ai(Ie,pt[dt+6])){for(V=0,dt=2*(Ke=Ai(Ie,pt[dt+8]))+(pt=Ai(Ie,pt[dt+9+Ke])),Ke=0,pt=Iu[dt];pt[V];++V)Ke+=Ke+Ai(Ie,pt[V]);Ke+=3+(8<<dt)}else Ai(Ie,pt[dt+7])?(Ke=7+2*Ai(Ie,165),Ke+=Ai(Ie,145)):Ke=5+Ai(Ie,159);else Ke=Ai(Ie,pt[dt+4])?3+Ai(Ie,pt[dt+5]):2;V=ae[2]}else Ke=1,V=ae[1];ae=fe+cu[nn],0>(Ie=ne).b&&hi(Ie);var dt,pt=Ie.b,yt=(dt=Ie.Ca>>1)-(Ie.I>>pt)>>31;--Ie.b,Ie.Ca+=yt,Ie.Ca|=1,Ie.I-=(dt+1&yt)<<pt,xn[ae]=((Ke^yt)-yt)*Tt[(0<nn)+0]}return 16}function ka(ne){var Ce=ne.rb[ne.sb-1];Ce.la=0,Ce.Na=0,De(ne.zc,0,0,ne.zc.length),ne.ja=0}function Pa(ne,Ce){if(ne==null)return 0;if(Ce==null)return Ii(ne,2,"NULL VP8Io parameter in VP8Decode().");if(!ne.cb&&!Ra(ne,Ce))return 0;if(le(ne.cb),Ce.ac==null||Ce.ac(Ce)){Ce.ob&&(ne.L=0);var Xe=bl[ne.L];if(ne.L==2?(ne.yb=0,ne.zb=0):(ne.yb=Ce.v-Xe>>4,ne.zb=Ce.j-Xe>>4,0>ne.yb&&(ne.yb=0),0>ne.zb&&(ne.zb=0)),ne.Va=Ce.o+15+Xe>>4,ne.Hb=Ce.va+15+Xe>>4,ne.Hb>ne.za&&(ne.Hb=ne.za),ne.Va>ne.Ub&&(ne.Va=ne.Ub),0<ne.L){var Tt=ne.ed;for(Xe=0;4>Xe;++Xe){var nn;if(ne.Qa.Cb){var xn=ne.Qa.Lb[Xe];ne.Qa.Fb||(xn+=Tt.Tb)}else xn=Tt.Tb;for(nn=0;1>=nn;++nn){var fe=ne.gd[Xe][nn],V=xn;if(Tt.Pc&&(V+=Tt.vd[0],nn&&(V+=Tt.od[0])),0<(V=0>V?0:63<V?63:V)){var ae=V;0<Tt.wb&&(ae=4<Tt.wb?ae>>2:ae>>1)>9-Tt.wb&&(ae=9-Tt.wb),1>ae&&(ae=1),fe.dd=ae,fe.tc=2*V+ae,fe.ld=40<=V?2:15<=V?1:0}else fe.tc=0;fe.La=nn}}}Xe=0}else Ii(ne,6,"Frame setup failed"),Xe=ne.a;if(Xe=Xe==0){if(Xe){ne.$c=0,0<ne.Aa||(ne.Ic=Cl);e:{Xe=ne.Ic,Tt=4*(ae=ne.za);var Ie=32*ae,Ke=ae+1,dt=0<ne.L?ae*(0<ne.Aa?2:1):0,pt=(ne.Aa==2?2:1)*ae;if((fe=Tt+832+(nn=3*(16*Xe+bl[ne.L])/2*Ie)+(xn=ne.Fa!=null&&0<ne.Fa.length?ne.Kc.c*ne.Kc.i:0))!=fe)Xe=0;else{if(fe>ne.Vb){if(ne.Vb=0,ne.Ec=Le(fe),ne.Fc=0,ne.Ec==null){Xe=Ii(ne,1,"no memory during frame initialization.");break e}ne.Vb=fe}fe=ne.Ec,V=ne.Fc,ne.Ac=fe,ne.Bc=V,V+=Tt,ne.Gd=Fe(Ie,Ta),ne.Hd=0,ne.rb=Fe(Ke+1,Di),ne.sb=1,ne.wa=dt?Fe(dt,ki):null,ne.Y=0,ne.D.Nb=0,ne.D.wa=ne.wa,ne.D.Y=ne.Y,0<ne.Aa&&(ne.D.Y+=ae),le(!0),ne.oc=fe,ne.pc=V,V+=832,ne.ya=Fe(pt,qi),ne.aa=0,ne.D.ya=ne.ya,ne.D.aa=ne.aa,ne.Aa==2&&(ne.D.aa+=ae),ne.R=16*ae,ne.B=8*ae,ae=(Ie=bl[ne.L])*ne.R,Ie=Ie/2*ne.B,ne.sa=fe,ne.ta=V+ae,ne.qa=ne.sa,ne.ra=ne.ta+16*Xe*ne.R+Ie,ne.Ha=ne.qa,ne.Ia=ne.ra+8*Xe*ne.B+Ie,ne.$c=0,V+=nn,ne.mb=xn?fe:null,ne.nb=xn?V:null,le(V+xn<=ne.Fc+ne.Vb),ka(ne),De(ne.Ac,ne.Bc,0,Tt),Xe=1}}if(Xe){if(Ce.ka=0,Ce.y=ne.sa,Ce.O=ne.ta,Ce.f=ne.qa,Ce.N=ne.ra,Ce.ea=ne.Ha,Ce.Vd=ne.Ia,Ce.fa=ne.R,Ce.Rc=ne.B,Ce.F=null,Ce.J=0,!iu){for(Xe=-255;255>=Xe;++Xe)Ll[255+Xe]=0>Xe?-Xe:Xe;for(Xe=-1020;1020>=Xe;++Xe)Uu[1020+Xe]=-128>Xe?-128:127<Xe?127:Xe;for(Xe=-112;112>=Xe;++Xe)ru[112+Xe]=-16>Xe?-16:15<Xe?15:Xe;for(Xe=-255;510>=Xe;++Xe)Eu[255+Xe]=0>Xe?0:255<Xe?255:Xe;iu=1}il=Ba,$s=lo,js=Ya,Qa=Ca,Aa=Xa,Gs=ia,Wa=rl,oo=zs,Jo=go,Hs=Uo,bs=Ps,ws=ro,ko=rs,Oo=ys,Zo=mo,xo=es,Ws=zo,wl=_o,hl[0]=jo,hl[1]=yo,hl[2]=Ma,hl[3]=Ro,hl[4]=Vo,hl[5]=wo,hl[6]=Qo,hl[7]=Oa,hl[8]=ds,hl[9]=Po,dl[0]=eo,dl[1]=bo,dl[2]=uo,dl[3]=co,dl[4]=wa,dl[5]=no,dl[6]=fo,El[0]=Yo,El[1]=ao,El[2]=ho,El[3]=To,El[4]=Is,El[5]=nl,El[6]=Ls,Xe=1}else Xe=0}Xe&&(Xe=function(yt,cn){for(yt.M=0;yt.M<yt.Va;++yt.M){var On,ln=yt.Jc[yt.M&yt.Xb],en=yt.m,wn=yt;for(On=0;On<wn.za;++On){var Bn=en,ir=wn,jr=ir.Ac,Vr=ir.Bc+4*On,Ei=ir.zc,di=ir.ya[ir.aa+On];if(ir.Qa.Bb?di.$b=Ai(Bn,ir.Pa.jb[0])?2+Ai(Bn,ir.Pa.jb[2]):Ai(Bn,ir.Pa.jb[1]):di.$b=0,ir.kc&&(di.Ad=Ai(Bn,ir.Bd)),di.Za=!Ai(Bn,145)+0,di.Za){var ca=di.Ob,ji=0;for(ir=0;4>ir;++ir){var Ia,ha=Ei[0+ir];for(Ia=0;4>Ia;++Ia){ha=du[jr[Vr+Ia]][ha];for(var Za=zl[Ai(Bn,ha[0])];0<Za;)Za=zl[2*Za+Ai(Bn,ha[Za])];ha=-Za,jr[Vr+Ia]=ha}xe(ca,ji,jr,Vr,4),ji+=4,Ei[0+ir]=ha}}else ha=Ai(Bn,156)?Ai(Bn,128)?1:3:Ai(Bn,163)?2:0,di.Ob[0]=ha,De(jr,Vr,ha,4),De(Ei,0,ha,4);di.Dd=Ai(Bn,142)?Ai(Bn,114)?Ai(Bn,183)?1:3:2:0}if(wn.m.Ka)return Ii(yt,7,"Premature end-of-partition0 encountered.");for(;yt.ja<yt.za;++yt.ja){if(wn=ln,Bn=(en=yt).rb[en.sb-1],jr=en.rb[en.sb+en.ja],On=en.ya[en.aa+en.ja],Vr=en.kc?On.Ad:0)Bn.la=jr.la=0,On.Za||(Bn.Na=jr.Na=0),On.Hc=0,On.Gc=0,On.ia=0;else{var po,p;if(Bn=jr,jr=wn,Vr=en.Pa.Xc,Ei=en.ya[en.aa+en.ja],di=en.pb[Ei.$b],ir=Ei.ad,ca=0,ji=en.rb[en.sb-1],ha=Ia=0,De(ir,ca,0,384),Ei.Za)var O=0,W=Vr[3];else{Za=Le(16);var Q=Bn.Na+ji.Na;if(Q=Ul(jr,Vr[1],Q,di.Eb,0,Za,0),Bn.Na=ji.Na=(0<Q)+0,1<Q)il(Za,0,ir,ca);else{var Z=Za[0]+3>>3;for(Za=0;256>Za;Za+=16)ir[ca+Za]=Z}O=1,W=Vr[0]}var ve=15&Bn.la,Ze=15&ji.la;for(Za=0;4>Za;++Za){var ft=1&Ze;for(Z=p=0;4>Z;++Z)ve=ve>>1|(ft=(Q=Ul(jr,W,Q=ft+(1&ve),di.Sc,O,ir,ca))>O)<<7,p=p<<2|(3<Q?3:1<Q?2:ir[ca+0]!=0),ca+=16;ve>>=4,Ze=Ze>>1|ft<<7,Ia=(Ia<<8|p)>>>0}for(W=ve,O=Ze>>4,po=0;4>po;po+=2){for(p=0,ve=Bn.la>>4+po,Ze=ji.la>>4+po,Za=0;2>Za;++Za){for(ft=1&Ze,Z=0;2>Z;++Z)Q=ft+(1&ve),ve=ve>>1|(ft=0<(Q=Ul(jr,Vr[2],Q,di.Qc,0,ir,ca)))<<3,p=p<<2|(3<Q?3:1<Q?2:ir[ca+0]!=0),ca+=16;ve>>=2,Ze=Ze>>1|ft<<5}ha|=p<<4*po,W|=ve<<4<<po,O|=(240&Ze)<<po}Bn.la=W,ji.la=O,Ei.Hc=Ia,Ei.Gc=ha,Ei.ia=43690&ha?0:di.ia,Vr=!(Ia|ha)}if(0<en.L&&(en.wa[en.Y+en.ja]=en.gd[On.$b][On.Za],en.wa[en.Y+en.ja].La|=!Vr),wn.Ka)return Ii(yt,7,"Premature end-of-file encountered.")}if(ka(yt),en=cn,wn=1,On=(ln=yt).D,Bn=0<ln.L&&ln.M>=ln.zb&&ln.M<=ln.Va,ln.Aa==0)e:{if(On.M=ln.M,On.uc=Bn,to(ln,On),wn=1,On=(p=ln.D).Nb,Bn=(ha=bl[ln.L])*ln.R,jr=ha/2*ln.B,Za=16*On*ln.R,Z=8*On*ln.B,Vr=ln.sa,Ei=ln.ta-Bn+Za,di=ln.qa,ir=ln.ra-jr+Z,ca=ln.Ha,ji=ln.Ia-jr+Z,Ze=(ve=p.M)==0,Ia=ve>=ln.Va-1,ln.Aa==2&&to(ln,p),p.uc)for(ft=(Q=ln).D.M,le(Q.D.uc),p=Q.yb;p<Q.Hb;++p){O=p,W=ft;var Ut=(Kt=(Vi=Q).D).Nb;po=Vi.R;var Kt=Kt.wa[Kt.Y+O],$n=Vi.sa,dr=Vi.ta+16*Ut*po+16*O,Dr=Kt.dd,Pr=Kt.tc;if(Pr!=0)if(le(3<=Pr),Vi.L==1)0<O&&xo($n,dr,po,Pr+4),Kt.La&&wl($n,dr,po,Pr),0<W&&Zo($n,dr,po,Pr+4),Kt.La&&Ws($n,dr,po,Pr);else{var gi=Vi.B,zi=Vi.qa,Xi=Vi.ra+8*Ut*gi+8*O,Yi=Vi.Ha,Vi=Vi.Ia+8*Ut*gi+8*O;Ut=Kt.ld,0<O&&(oo($n,dr,po,Pr+4,Dr,Ut),Hs(zi,Xi,Yi,Vi,gi,Pr+4,Dr,Ut)),Kt.La&&(ws($n,dr,po,Pr,Dr,Ut),Oo(zi,Xi,Yi,Vi,gi,Pr,Dr,Ut)),0<W&&(Wa($n,dr,po,Pr+4,Dr,Ut),Jo(zi,Xi,Yi,Vi,gi,Pr+4,Dr,Ut)),Kt.La&&(bs($n,dr,po,Pr,Dr,Ut),ko(zi,Xi,Yi,Vi,gi,Pr,Dr,Ut))}}if(ln.ia&&alert("todo:DitherRow"),en.put!=null){if(p=16*ve,ve=16*(ve+1),Ze?(en.y=ln.sa,en.O=ln.ta+Za,en.f=ln.qa,en.N=ln.ra+Z,en.ea=ln.Ha,en.W=ln.Ia+Z):(p-=ha,en.y=Vr,en.O=Ei,en.f=di,en.N=ir,en.ea=ca,en.W=ji),Ia||(ve-=ha),ve>en.o&&(ve=en.o),en.F=null,en.J=null,ln.Fa!=null&&0<ln.Fa.length&&p<ve&&(en.J=bt(ln,en,p,ve-p),en.F=ln.mb,en.F==null&&en.F.length==0)){wn=Ii(ln,3,"Could not decode alpha data.");break e}p<en.j&&(ha=en.j-p,p=en.j,le(!(1&ha)),en.O+=ln.R*ha,en.N+=ln.B*(ha>>1),en.W+=ln.B*(ha>>1),en.F!=null&&(en.J+=en.width*ha)),p<ve&&(en.O+=en.v,en.N+=en.v>>1,en.W+=en.v>>1,en.F!=null&&(en.J+=en.v),en.ka=p-en.j,en.U=en.va-en.v,en.T=ve-p,wn=en.put(en))}On+1!=ln.Ic||Ia||(xe(ln.sa,ln.ta-Bn,Vr,Ei+16*ln.R,Bn),xe(ln.qa,ln.ra-jr,di,ir+8*ln.B,jr),xe(ln.Ha,ln.Ia-jr,ca,ji+8*ln.B,jr))}if(!wn)return Ii(yt,6,"Output aborted.")}return 1}(ne,Ce)),Ce.bc!=null&&Ce.bc(Ce),Xe&=1}return Xe?(ne.cb=0,Xe):0}function Ka(ne,Ce,Xe,Tt,nn){nn=ne[Ce+Xe+32*Tt]+(nn>>3),ne[Ce+Xe+32*Tt]=-256&nn?0>nn?0:255:nn}function xa(ne,Ce,Xe,Tt,nn,xn){Ka(ne,Ce,0,Xe,Tt+nn),Ka(ne,Ce,1,Xe,Tt+xn),Ka(ne,Ce,2,Xe,Tt-xn),Ka(ne,Ce,3,Xe,Tt-nn)}function ja(ne){return(20091*ne>>16)+ne}function io(ne,Ce,Xe,Tt){var nn,xn=0,fe=Le(16);for(nn=0;4>nn;++nn){var V=ne[Ce+0]+ne[Ce+8],ae=ne[Ce+0]-ne[Ce+8],Ie=(35468*ne[Ce+4]>>16)-ja(ne[Ce+12]),Ke=ja(ne[Ce+4])+(35468*ne[Ce+12]>>16);fe[xn+0]=V+Ke,fe[xn+1]=ae+Ie,fe[xn+2]=ae-Ie,fe[xn+3]=V-Ke,xn+=4,Ce++}for(nn=xn=0;4>nn;++nn)V=(ne=fe[xn+0]+4)+fe[xn+8],ae=ne-fe[xn+8],Ie=(35468*fe[xn+4]>>16)-ja(fe[xn+12]),Ka(Xe,Tt,0,0,V+(Ke=ja(fe[xn+4])+(35468*fe[xn+12]>>16))),Ka(Xe,Tt,1,0,ae+Ie),Ka(Xe,Tt,2,0,ae-Ie),Ka(Xe,Tt,3,0,V-Ke),xn++,Tt+=32}function ia(ne,Ce,Xe,Tt){var nn=ne[Ce+0]+4,xn=35468*ne[Ce+4]>>16,fe=ja(ne[Ce+4]),V=35468*ne[Ce+1]>>16;xa(Xe,Tt,0,nn+fe,ne=ja(ne[Ce+1]),V),xa(Xe,Tt,1,nn+xn,ne,V),xa(Xe,Tt,2,nn-xn,ne,V),xa(Xe,Tt,3,nn-fe,ne,V)}function lo(ne,Ce,Xe,Tt,nn){io(ne,Ce,Xe,Tt),nn&&io(ne,Ce+16,Xe,Tt+4)}function Ya(ne,Ce,Xe,Tt){$s(ne,Ce+0,Xe,Tt,1),$s(ne,Ce+32,Xe,Tt+128,1)}function Ca(ne,Ce,Xe,Tt){var nn;for(ne=ne[Ce+0]+4,nn=0;4>nn;++nn)for(Ce=0;4>Ce;++Ce)Ka(Xe,Tt,Ce,nn,ne)}function Xa(ne,Ce,Xe,Tt){ne[Ce+0]&&Qa(ne,Ce+0,Xe,Tt),ne[Ce+16]&&Qa(ne,Ce+16,Xe,Tt+4),ne[Ce+32]&&Qa(ne,Ce+32,Xe,Tt+128),ne[Ce+48]&&Qa(ne,Ce+48,Xe,Tt+128+4)}function Ba(ne,Ce,Xe,Tt){var nn,xn=Le(16);for(nn=0;4>nn;++nn){var fe=ne[Ce+0+nn]+ne[Ce+12+nn],V=ne[Ce+4+nn]+ne[Ce+8+nn],ae=ne[Ce+4+nn]-ne[Ce+8+nn],Ie=ne[Ce+0+nn]-ne[Ce+12+nn];xn[0+nn]=fe+V,xn[8+nn]=fe-V,xn[4+nn]=Ie+ae,xn[12+nn]=Ie-ae}for(nn=0;4>nn;++nn)fe=(ne=xn[0+4*nn]+3)+xn[3+4*nn],V=xn[1+4*nn]+xn[2+4*nn],ae=xn[1+4*nn]-xn[2+4*nn],Ie=ne-xn[3+4*nn],Xe[Tt+0]=fe+V>>3,Xe[Tt+16]=Ie+ae>>3,Xe[Tt+32]=fe-V>>3,Xe[Tt+48]=Ie-ae>>3,Tt+=64}function La(ne,Ce,Xe){var Tt,nn=Ce-32,xn=el,fe=255-ne[nn-1];for(Tt=0;Tt<Xe;++Tt){var V,ae=xn,Ie=fe+ne[Ce-1];for(V=0;V<Xe;++V)ne[Ce+V]=ae[Ie+ne[nn+V]];Ce+=32}}function yo(ne,Ce){La(ne,Ce,4)}function ao(ne,Ce){La(ne,Ce,8)}function bo(ne,Ce){La(ne,Ce,16)}function uo(ne,Ce){var Xe;for(Xe=0;16>Xe;++Xe)xe(ne,Ce+32*Xe,ne,Ce-32,16)}function co(ne,Ce){var Xe;for(Xe=16;0<Xe;--Xe)De(ne,Ce,ne[Ce-1],16),Ce+=32}function Ga(ne,Ce,Xe){var Tt;for(Tt=0;16>Tt;++Tt)De(Ce,Xe+32*Tt,ne,16)}function eo(ne,Ce){var Xe,Tt=16;for(Xe=0;16>Xe;++Xe)Tt+=ne[Ce-1+32*Xe]+ne[Ce+Xe-32];Ga(Tt>>5,ne,Ce)}function wa(ne,Ce){var Xe,Tt=8;for(Xe=0;16>Xe;++Xe)Tt+=ne[Ce-1+32*Xe];Ga(Tt>>4,ne,Ce)}function no(ne,Ce){var Xe,Tt=8;for(Xe=0;16>Xe;++Xe)Tt+=ne[Ce+Xe-32];Ga(Tt>>4,ne,Ce)}function fo(ne,Ce){Ga(128,ne,Ce)}function _i(ne,Ce,Xe){return ne+2*Ce+Xe+2>>2}function Ma(ne,Ce){var Xe,Tt=Ce-32;for(Tt=new Uint8Array([_i(ne[Tt-1],ne[Tt+0],ne[Tt+1]),_i(ne[Tt+0],ne[Tt+1],ne[Tt+2]),_i(ne[Tt+1],ne[Tt+2],ne[Tt+3]),_i(ne[Tt+2],ne[Tt+3],ne[Tt+4])]),Xe=0;4>Xe;++Xe)xe(ne,Ce+32*Xe,Tt,0,Tt.length)}function Ro(ne,Ce){var Xe=ne[Ce-1],Tt=ne[Ce-1+32],nn=ne[Ce-1+64],xn=ne[Ce-1+96];Wi(ne,Ce+0,16843009*_i(ne[Ce-1-32],Xe,Tt)),Wi(ne,Ce+32,16843009*_i(Xe,Tt,nn)),Wi(ne,Ce+64,16843009*_i(Tt,nn,xn)),Wi(ne,Ce+96,16843009*_i(nn,xn,xn))}function jo(ne,Ce){var Xe,Tt=4;for(Xe=0;4>Xe;++Xe)Tt+=ne[Ce+Xe-32]+ne[Ce-1+32*Xe];for(Tt>>=3,Xe=0;4>Xe;++Xe)De(ne,Ce+32*Xe,Tt,4)}function Vo(ne,Ce){var Xe=ne[Ce-1+0],Tt=ne[Ce-1+32],nn=ne[Ce-1+64],xn=ne[Ce-1-32],fe=ne[Ce+0-32],V=ne[Ce+1-32],ae=ne[Ce+2-32],Ie=ne[Ce+3-32];ne[Ce+0+96]=_i(Tt,nn,ne[Ce-1+96]),ne[Ce+1+96]=ne[Ce+0+64]=_i(Xe,Tt,nn),ne[Ce+2+96]=ne[Ce+1+64]=ne[Ce+0+32]=_i(xn,Xe,Tt),ne[Ce+3+96]=ne[Ce+2+64]=ne[Ce+1+32]=ne[Ce+0+0]=_i(fe,xn,Xe),ne[Ce+3+64]=ne[Ce+2+32]=ne[Ce+1+0]=_i(V,fe,xn),ne[Ce+3+32]=ne[Ce+2+0]=_i(ae,V,fe),ne[Ce+3+0]=_i(Ie,ae,V)}function Qo(ne,Ce){var Xe=ne[Ce+1-32],Tt=ne[Ce+2-32],nn=ne[Ce+3-32],xn=ne[Ce+4-32],fe=ne[Ce+5-32],V=ne[Ce+6-32],ae=ne[Ce+7-32];ne[Ce+0+0]=_i(ne[Ce+0-32],Xe,Tt),ne[Ce+1+0]=ne[Ce+0+32]=_i(Xe,Tt,nn),ne[Ce+2+0]=ne[Ce+1+32]=ne[Ce+0+64]=_i(Tt,nn,xn),ne[Ce+3+0]=ne[Ce+2+32]=ne[Ce+1+64]=ne[Ce+0+96]=_i(nn,xn,fe),ne[Ce+3+32]=ne[Ce+2+64]=ne[Ce+1+96]=_i(xn,fe,V),ne[Ce+3+64]=ne[Ce+2+96]=_i(fe,V,ae),ne[Ce+3+96]=_i(V,ae,ae)}function wo(ne,Ce){var Xe=ne[Ce-1+0],Tt=ne[Ce-1+32],nn=ne[Ce-1+64],xn=ne[Ce-1-32],fe=ne[Ce+0-32],V=ne[Ce+1-32],ae=ne[Ce+2-32],Ie=ne[Ce+3-32];ne[Ce+0+0]=ne[Ce+1+64]=xn+fe+1>>1,ne[Ce+1+0]=ne[Ce+2+64]=fe+V+1>>1,ne[Ce+2+0]=ne[Ce+3+64]=V+ae+1>>1,ne[Ce+3+0]=ae+Ie+1>>1,ne[Ce+0+96]=_i(nn,Tt,Xe),ne[Ce+0+64]=_i(Tt,Xe,xn),ne[Ce+0+32]=ne[Ce+1+96]=_i(Xe,xn,fe),ne[Ce+1+32]=ne[Ce+2+96]=_i(xn,fe,V),ne[Ce+2+32]=ne[Ce+3+96]=_i(fe,V,ae),ne[Ce+3+32]=_i(V,ae,Ie)}function Oa(ne,Ce){var Xe=ne[Ce+0-32],Tt=ne[Ce+1-32],nn=ne[Ce+2-32],xn=ne[Ce+3-32],fe=ne[Ce+4-32],V=ne[Ce+5-32],ae=ne[Ce+6-32],Ie=ne[Ce+7-32];ne[Ce+0+0]=Xe+Tt+1>>1,ne[Ce+1+0]=ne[Ce+0+64]=Tt+nn+1>>1,ne[Ce+2+0]=ne[Ce+1+64]=nn+xn+1>>1,ne[Ce+3+0]=ne[Ce+2+64]=xn+fe+1>>1,ne[Ce+0+32]=_i(Xe,Tt,nn),ne[Ce+1+32]=ne[Ce+0+96]=_i(Tt,nn,xn),ne[Ce+2+32]=ne[Ce+1+96]=_i(nn,xn,fe),ne[Ce+3+32]=ne[Ce+2+96]=_i(xn,fe,V),ne[Ce+3+64]=_i(fe,V,ae),ne[Ce+3+96]=_i(V,ae,Ie)}function Po(ne,Ce){var Xe=ne[Ce-1+0],Tt=ne[Ce-1+32],nn=ne[Ce-1+64],xn=ne[Ce-1+96];ne[Ce+0+0]=Xe+Tt+1>>1,ne[Ce+2+0]=ne[Ce+0+32]=Tt+nn+1>>1,ne[Ce+2+32]=ne[Ce+0+64]=nn+xn+1>>1,ne[Ce+1+0]=_i(Xe,Tt,nn),ne[Ce+3+0]=ne[Ce+1+32]=_i(Tt,nn,xn),ne[Ce+3+32]=ne[Ce+1+64]=_i(nn,xn,xn),ne[Ce+3+64]=ne[Ce+2+64]=ne[Ce+0+96]=ne[Ce+1+96]=ne[Ce+2+96]=ne[Ce+3+96]=xn}function ds(ne,Ce){var Xe=ne[Ce-1+0],Tt=ne[Ce-1+32],nn=ne[Ce-1+64],xn=ne[Ce-1+96],fe=ne[Ce-1-32],V=ne[Ce+0-32],ae=ne[Ce+1-32],Ie=ne[Ce+2-32];ne[Ce+0+0]=ne[Ce+2+32]=Xe+fe+1>>1,ne[Ce+0+32]=ne[Ce+2+64]=Tt+Xe+1>>1,ne[Ce+0+64]=ne[Ce+2+96]=nn+Tt+1>>1,ne[Ce+0+96]=xn+nn+1>>1,ne[Ce+3+0]=_i(V,ae,Ie),ne[Ce+2+0]=_i(fe,V,ae),ne[Ce+1+0]=ne[Ce+3+32]=_i(Xe,fe,V),ne[Ce+1+32]=ne[Ce+3+64]=_i(Tt,Xe,fe),ne[Ce+1+64]=ne[Ce+3+96]=_i(nn,Tt,Xe),ne[Ce+1+96]=_i(xn,nn,Tt)}function ho(ne,Ce){var Xe;for(Xe=0;8>Xe;++Xe)xe(ne,Ce+32*Xe,ne,Ce-32,8)}function To(ne,Ce){var Xe;for(Xe=0;8>Xe;++Xe)De(ne,Ce,ne[Ce-1],8),Ce+=32}function za(ne,Ce,Xe){var Tt;for(Tt=0;8>Tt;++Tt)De(Ce,Xe+32*Tt,ne,8)}function Yo(ne,Ce){var Xe,Tt=8;for(Xe=0;8>Xe;++Xe)Tt+=ne[Ce+Xe-32]+ne[Ce-1+32*Xe];za(Tt>>4,ne,Ce)}function nl(ne,Ce){var Xe,Tt=4;for(Xe=0;8>Xe;++Xe)Tt+=ne[Ce+Xe-32];za(Tt>>3,ne,Ce)}function Is(ne,Ce){var Xe,Tt=4;for(Xe=0;8>Xe;++Xe)Tt+=ne[Ce-1+32*Xe];za(Tt>>3,ne,Ce)}function Ls(ne,Ce){za(128,ne,Ce)}function xs(ne,Ce,Xe){var Tt=ne[Ce-Xe],nn=ne[Ce+0],xn=3*(nn-Tt)+jl[1020+ne[Ce-2*Xe]-ne[Ce+Xe]],fe=Ks[112+(xn+4>>3)];ne[Ce-Xe]=el[255+Tt+Ks[112+(xn+3>>3)]],ne[Ce+0]=el[255+nn-fe]}function ps(ne,Ce,Xe,Tt){var nn=ne[Ce+0],xn=ne[Ce+Xe];return sl[255+ne[Ce-2*Xe]-ne[Ce-Xe]]>Tt||sl[255+xn-nn]>Tt}function Ts(ne,Ce,Xe,Tt){return 4*sl[255+ne[Ce-Xe]-ne[Ce+0]]+sl[255+ne[Ce-2*Xe]-ne[Ce+Xe]]<=Tt}function Ho(ne,Ce,Xe,Tt,nn){var xn=ne[Ce-3*Xe],fe=ne[Ce-2*Xe],V=ne[Ce-Xe],ae=ne[Ce+0],Ie=ne[Ce+Xe],Ke=ne[Ce+2*Xe],dt=ne[Ce+3*Xe];return 4*sl[255+V-ae]+sl[255+fe-Ie]>Tt?0:sl[255+ne[Ce-4*Xe]-xn]<=nn&&sl[255+xn-fe]<=nn&&sl[255+fe-V]<=nn&&sl[255+dt-Ke]<=nn&&sl[255+Ke-Ie]<=nn&&sl[255+Ie-ae]<=nn}function mo(ne,Ce,Xe,Tt){var nn=2*Tt+1;for(Tt=0;16>Tt;++Tt)Ts(ne,Ce+Tt,Xe,nn)&&xs(ne,Ce+Tt,Xe)}function es(ne,Ce,Xe,Tt){var nn=2*Tt+1;for(Tt=0;16>Tt;++Tt)Ts(ne,Ce+Tt*Xe,1,nn)&&xs(ne,Ce+Tt*Xe,1)}function zo(ne,Ce,Xe,Tt){var nn;for(nn=3;0<nn;--nn)mo(ne,Ce+=4*Xe,Xe,Tt)}function _o(ne,Ce,Xe,Tt){var nn;for(nn=3;0<nn;--nn)es(ne,Ce+=4,Xe,Tt)}function zn(ne,Ce,Xe,Tt,nn,xn,fe,V){for(xn=2*xn+1;0<nn--;){if(Ho(ne,Ce,Xe,xn,fe))if(ps(ne,Ce,Xe,V))xs(ne,Ce,Xe);else{var ae=ne,Ie=Ce,Ke=Xe,dt=ae[Ie-2*Ke],pt=ae[Ie-Ke],yt=ae[Ie+0],cn=ae[Ie+Ke],On=ae[Ie+2*Ke],ln=27*(wn=jl[1020+3*(yt-pt)+jl[1020+dt-cn]])+63>>7,en=18*wn+63>>7,wn=9*wn+63>>7;ae[Ie-3*Ke]=el[255+ae[Ie-3*Ke]+wn],ae[Ie-2*Ke]=el[255+dt+en],ae[Ie-Ke]=el[255+pt+ln],ae[Ie+0]=el[255+yt-ln],ae[Ie+Ke]=el[255+cn-en],ae[Ie+2*Ke]=el[255+On-wn]}Ce+=Tt}}function Go(ne,Ce,Xe,Tt,nn,xn,fe,V){for(xn=2*xn+1;0<nn--;){if(Ho(ne,Ce,Xe,xn,fe))if(ps(ne,Ce,Xe,V))xs(ne,Ce,Xe);else{var ae=ne,Ie=Ce,Ke=Xe,dt=ae[Ie-Ke],pt=ae[Ie+0],yt=ae[Ie+Ke],cn=Ks[112+((On=3*(pt-dt))+4>>3)],On=Ks[112+(On+3>>3)],ln=cn+1>>1;ae[Ie-2*Ke]=el[255+ae[Ie-2*Ke]+ln],ae[Ie-Ke]=el[255+dt+On],ae[Ie+0]=el[255+pt-cn],ae[Ie+Ke]=el[255+yt-ln]}Ce+=Tt}}function rl(ne,Ce,Xe,Tt,nn,xn){zn(ne,Ce,Xe,1,16,Tt,nn,xn)}function zs(ne,Ce,Xe,Tt,nn,xn){zn(ne,Ce,1,Xe,16,Tt,nn,xn)}function Ps(ne,Ce,Xe,Tt,nn,xn){var fe;for(fe=3;0<fe;--fe)Go(ne,Ce+=4*Xe,Xe,1,16,Tt,nn,xn)}function ro(ne,Ce,Xe,Tt,nn,xn){var fe;for(fe=3;0<fe;--fe)Go(ne,Ce+=4,1,Xe,16,Tt,nn,xn)}function go(ne,Ce,Xe,Tt,nn,xn,fe,V){zn(ne,Ce,nn,1,8,xn,fe,V),zn(Xe,Tt,nn,1,8,xn,fe,V)}function Uo(ne,Ce,Xe,Tt,nn,xn,fe,V){zn(ne,Ce,1,nn,8,xn,fe,V),zn(Xe,Tt,1,nn,8,xn,fe,V)}function rs(ne,Ce,Xe,Tt,nn,xn,fe,V){Go(ne,Ce+4*nn,nn,1,8,xn,fe,V),Go(Xe,Tt+4*nn,nn,1,8,xn,fe,V)}function ys(ne,Ce,Xe,Tt,nn,xn,fe,V){Go(ne,Ce+4,1,nn,8,xn,fe,V),Go(Xe,Tt+4,1,nn,8,xn,fe,V)}function ms(){this.ba=new ri,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new li,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function Os(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function al(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function Ns(){this.ua=0,this.Wa=new Li,this.vb=new Li,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new ci,this.yc=new xr}function Ys(){this.xb=this.a=0,this.l=new Na,this.ca=new ri,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new Pn,this.Pb=0,this.wd=new Pn,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new Ns,this.ab=0,this.gc=Fe(4,al),this.Oc=0}function _s(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Na,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function As(ne,Ce,Xe,Tt,nn,xn,fe){for(ne=ne==null?0:ne[Ce+0],Ce=0;Ce<fe;++Ce)nn[xn+Ce]=ne+Xe[Tt+Ce]&255,ne=nn[xn+Ce]}function Ds(ne,Ce,Xe,Tt,nn,xn,fe){var V;if(ne==null)As(null,null,Xe,Tt,nn,xn,fe);else for(V=0;V<fe;++V)nn[xn+V]=ne[Ce+V]+Xe[Tt+V]&255}function ut(ne,Ce,Xe,Tt,nn,xn,fe){if(ne==null)As(null,null,Xe,Tt,nn,xn,fe);else{var V,ae=ne[Ce+0],Ie=ae,Ke=ae;for(V=0;V<fe;++V)Ie=Ke+(ae=ne[Ce+V])-Ie,Ke=Xe[Tt+V]+(-256&Ie?0>Ie?0:255:Ie)&255,Ie=ae,nn[xn+V]=Ke}}function bt(ne,Ce,Xe,Tt){var nn=Ce.width,xn=Ce.o;if(le(ne!=null&&Ce!=null),0>Xe||0>=Tt||Xe+Tt>xn)return null;if(!ne.Cc){if(ne.ga==null){var fe;if(ne.ga=new _s,(fe=ne.ga==null)||(fe=Ce.width*Ce.o,le(ne.Gb.length==0),ne.Gb=Le(fe),ne.Uc=0,ne.Gb==null?fe=0:(ne.mb=ne.Gb,ne.nb=ne.Uc,ne.rc=null,fe=1),fe=!fe),!fe){fe=ne.ga;var V=ne.Fa,ae=ne.P,Ie=ne.qc,Ke=ne.mb,dt=ne.nb,pt=ae+1,yt=Ie-1,cn=fe.l;if(le(V!=null&&Ke!=null&&Ce!=null),yl[0]=null,yl[1]=As,yl[2]=Ds,yl[3]=ut,fe.ca=Ke,fe.tb=dt,fe.c=Ce.width,fe.i=Ce.height,le(0<fe.c&&0<fe.i),1>=Ie)Ce=0;else if(fe.$a=V[ae+0]>>0&3,fe.Z=V[ae+0]>>2&3,fe.Lc=V[ae+0]>>4&3,ae=V[ae+0]>>6&3,0>fe.$a||1<fe.$a||4<=fe.Z||1<fe.Lc||ae)Ce=0;else if(cn.put=Ni,cn.ac=mi,cn.bc=Wr,cn.ma=fe,cn.width=Ce.width,cn.height=Ce.height,cn.Da=Ce.Da,cn.v=Ce.v,cn.va=Ce.va,cn.j=Ce.j,cn.o=Ce.o,fe.$a)e:{le(fe.$a==1),Ce=yr();t:for(;;){if(Ce==null){Ce=0;break e}if(le(fe!=null),fe.mc=Ce,Ce.c=fe.c,Ce.i=fe.i,Ce.l=fe.l,Ce.l.ma=fe,Ce.l.width=fe.c,Ce.l.height=fe.i,Ce.a=0,Hi(Ce.m,V,pt,yt),!_r(fe.c,fe.i,1,Ce,null))break t;if(Ce.ab==1&&Ce.gc[0].hc==3&&zt(Ce.s)?(fe.ic=1,V=Ce.c*Ce.i,Ce.Ta=null,Ce.Ua=0,Ce.V=Le(V),Ce.Ba=0,Ce.V==null?(Ce.a=1,Ce=0):Ce=1):(fe.ic=0,Ce=Yr(Ce,fe.c)),!Ce)break t;Ce=1;break e}fe.mc=null,Ce=0}else Ce=yt>=fe.c*fe.i;fe=!Ce}if(fe)return null;ne.ga.Lc!=1?ne.Ga=0:Tt=xn-Xe}le(ne.ga!=null),le(Xe+Tt<=xn);e:{if(Ce=(V=ne.ga).c,xn=V.l.o,V.$a==0){if(pt=ne.rc,yt=ne.Vc,cn=ne.Fa,ae=ne.P+1+Xe*Ce,Ie=ne.mb,Ke=ne.nb+Xe*Ce,le(ae<=ne.P+ne.qc),V.Z!=0)for(le(yl[V.Z]!=null),fe=0;fe<Tt;++fe)yl[V.Z](pt,yt,cn,ae,Ie,Ke,Ce),pt=Ie,yt=Ke,Ke+=Ce,ae+=Ce;else for(fe=0;fe<Tt;++fe)xe(Ie,Ke,cn,ae,Ce),pt=Ie,yt=Ke,Ke+=Ce,ae+=Ce;ne.rc=pt,ne.Vc=yt}else{if(le(V.mc!=null),Ce=Xe+Tt,le((fe=V.mc)!=null),le(Ce<=fe.i),fe.C>=Ce)Ce=1;else if(V.ic||ee(),V.ic){V=fe.V,pt=fe.Ba,yt=fe.c;var On=fe.i,ln=(cn=1,ae=fe.$/yt,Ie=fe.$%yt,Ke=fe.m,dt=fe.s,fe.$),en=yt*On,wn=yt*Ce,Bn=dt.wc,ir=ln<wn?En(dt,Ie,ae):null;le(ln<=en),le(Ce<=On),le(zt(dt));t:for(;;){for(;!Ke.h&&ln<wn;){if(Ie&Bn||(ir=En(dt,Ie,ae)),le(ir!=null),$r(Ke),256>(On=Rn(ir.G[0],ir.H[0],Ke)))V[pt+ln]=On,++ln,++Ie>=yt&&(Ie=0,++ae<=Ce&&!(ae%16)&&kn(fe,ae));else{if(!(280>On)){cn=0;break t}On=Ki(On-256,Ke);var jr,Vr=Rn(ir.G[4],ir.H[4],Ke);if($r(Ke),!(ln>=(Vr=hn(yt,Vr=Ki(Vr,Ke)))&&en-ln>=On)){cn=0;break t}for(jr=0;jr<On;++jr)V[pt+ln+jr]=V[pt+ln+jr-Vr];for(ln+=On,Ie+=On;Ie>=yt;)Ie-=yt,++ae<=Ce&&!(ae%16)&&kn(fe,ae);ln<wn&&Ie&Bn&&(ir=En(dt,Ie,ae))}le(Ke.h==Br(Ke))}kn(fe,ae>Ce?Ce:ae);break t}!cn||Ke.h&&ln<en?(cn=0,fe.a=Ke.h?5:3):fe.$=ln,Ce=cn}else Ce=pr(fe,fe.V,fe.Ba,fe.c,fe.i,Ce,Jr);if(!Ce){Tt=0;break e}}Xe+Tt>=xn&&(ne.Cc=1),Tt=1}if(!Tt)return null;if(ne.Cc&&((Tt=ne.ga)!=null&&(Tt.mc=null),ne.ga=null,0<ne.Ga))return alert("todo:WebPDequantizeLevels"),null}return ne.nb+Xe*nn}function tr(ne,Ce,Xe,Tt,nn,xn){for(;0<nn--;){var fe,V=ne,ae=Ce+(Xe?1:0),Ie=ne,Ke=Ce+(Xe?0:3);for(fe=0;fe<Tt;++fe){var dt=Ie[Ke+4*fe];dt!=255&&(dt*=32897,V[ae+4*fe+0]=V[ae+4*fe+0]*dt>>23,V[ae+4*fe+1]=V[ae+4*fe+1]*dt>>23,V[ae+4*fe+2]=V[ae+4*fe+2]*dt>>23)}Ce+=xn}}function Tr(ne,Ce,Xe,Tt,nn){for(;0<Tt--;){var xn;for(xn=0;xn<Xe;++xn){var fe=ne[Ce+2*xn+0],V=15&(Ie=ne[Ce+2*xn+1]),ae=4369*V,Ie=(240&Ie|Ie>>4)*ae>>16;ne[Ce+2*xn+0]=(240&fe|fe>>4)*ae>>16&240|(15&fe|fe<<4)*ae>>16>>4&15,ne[Ce+2*xn+1]=240&Ie|V}Ce+=nn}}function et(ne,Ce,Xe,Tt,nn,xn,fe,V){var ae,Ie,Ke=255;for(Ie=0;Ie<nn;++Ie){for(ae=0;ae<Tt;++ae){var dt=ne[Ce+ae];xn[fe+4*ae]=dt,Ke&=dt}Ce+=Xe,fe+=V}return Ke!=255}function X(ne,Ce,Xe,Tt,nn){var xn;for(xn=0;xn<nn;++xn)Xe[Tt+xn]=ne[Ce+xn]>>8}function ee(){Sl=tr,Pl=Tr,qs=et,Ol=X}function ie(ne,Ce,Xe){Mr[ne]=function(Tt,nn,xn,fe,V,ae,Ie,Ke,dt,pt,yt,cn,On,ln,en,wn,Bn){var ir,jr=Bn-1>>1,Vr=V[ae+0]|Ie[Ke+0]<<16,Ei=dt[pt+0]|yt[cn+0]<<16;le(Tt!=null);var di=3*Vr+Ei+131074>>2;for(Ce(Tt[nn+0],255&di,di>>16,On,ln),xn!=null&&(di=3*Ei+Vr+131074>>2,Ce(xn[fe+0],255&di,di>>16,en,wn)),ir=1;ir<=jr;++ir){var ca=V[ae+ir]|Ie[Ke+ir]<<16,ji=dt[pt+ir]|yt[cn+ir]<<16,Ia=Vr+ca+Ei+ji+524296,ha=Ia+2*(ca+Ei)>>3;di=ha+Vr>>1,Vr=(Ia=Ia+2*(Vr+ji)>>3)+ca>>1,Ce(Tt[nn+2*ir-1],255&di,di>>16,On,ln+(2*ir-1)*Xe),Ce(Tt[nn+2*ir-0],255&Vr,Vr>>16,On,ln+(2*ir-0)*Xe),xn!=null&&(di=Ia+Ei>>1,Vr=ha+ji>>1,Ce(xn[fe+2*ir-1],255&di,di>>16,en,wn+(2*ir-1)*Xe),Ce(xn[fe+2*ir+0],255&Vr,Vr>>16,en,wn+(2*ir+0)*Xe)),Vr=ca,Ei=ji}1&Bn||(di=3*Vr+Ei+131074>>2,Ce(Tt[nn+Bn-1],255&di,di>>16,On,ln+(Bn-1)*Xe),xn!=null&&(di=3*Ei+Vr+131074>>2,Ce(xn[fe+Bn-1],255&di,di>>16,en,wn+(Bn-1)*Xe)))}}function we(){ll[_l]=hu,ll[au]=zu,ll[ou]=fu,ll[Gl]=Lu,ll[Vs]=Tu,ll[su]=Wu,ll[lu]=Kl,ll[Cu]=zu,ll[gl]=Lu,ll[Tl]=Tu,ll[Hl]=Wu}function Ge(ne){return ne&~Ku?0>ne?0:255:ne>>pu}function gt(ne,Ce){return Ge((19077*ne>>8)+(26149*Ce>>8)-14234)}function fn(ne,Ce,Xe){return Ge((19077*ne>>8)-(6419*Ce>>8)-(13320*Xe>>8)+8708)}function In(ne,Ce){return Ge((19077*ne>>8)+(33050*Ce>>8)-17685)}function Jn(ne,Ce,Xe,Tt,nn){Tt[nn+0]=gt(ne,Xe),Tt[nn+1]=fn(ne,Ce,Xe),Tt[nn+2]=In(ne,Ce)}function Cr(ne,Ce,Xe,Tt,nn){Tt[nn+0]=In(ne,Ce),Tt[nn+1]=fn(ne,Ce,Xe),Tt[nn+2]=gt(ne,Xe)}function Hr(ne,Ce,Xe,Tt,nn){var xn=fn(ne,Ce,Xe);Ce=xn<<3&224|In(ne,Ce)>>3,Tt[nn+0]=248>(ne,Xe)|xn>>5,Tt[nn+1]=Ce}function si(ne,Ce,Xe,Tt,nn){var xn=240&In(ne,Ce)|15;Tt[nn+0]=240>(ne,Xe)|fn(ne,Ce,Xe)>>4,Tt[nn+1]=xn}function xi(ne,Ce,Xe,Tt,nn){Tt[nn+0]=255,Jn(ne,Ce,Xe,Tt,nn+1)}function Bi(ne,Ce,Xe,Tt,nn){Cr(ne,Ce,Xe,Tt,nn),Tt[nn+3]=255}function sa(ne,Ce,Xe,Tt,nn){Jn(ne,Ce,Xe,Tt,nn),Tt[nn+3]=255}function Qi(ne,Ce){return 0>ne?0:ne>Ce?Ce:ne}function ya(ne,Ce,Xe){Mr[ne]=function(Tt,nn,xn,fe,V,ae,Ie,Ke,dt){for(var pt=Ke+(-2&dt)*Xe;Ke!=pt;)Ce(Tt[nn+0],xn[fe+0],V[ae+0],Ie,Ke),Ce(Tt[nn+1],xn[fe+0],V[ae+0],Ie,Ke+Xe),nn+=2,++fe,++ae,Ke+=2*Xe;1&dt&&Ce(Tt[nn+0],xn[fe+0],V[ae+0],Ie,Ke)}}function Ja(ne,Ce,Xe){return Xe==0?ne==0?Ce==0?6:5:Ce==0?4:0:Xe}function $a(ne,Ce,Xe,Tt,nn){switch(ne>>>30){case 3:$s(Ce,Xe,Tt,nn,0);break;case 2:Gs(Ce,Xe,Tt,nn);break;case 1:Qa(Ce,Xe,Tt,nn)}}function to(ne,Ce){var Xe,Tt,nn=Ce.M,xn=Ce.Nb,fe=ne.oc,V=ne.pc+40,ae=ne.oc,Ie=ne.pc+584,Ke=ne.oc,dt=ne.pc+600;for(Xe=0;16>Xe;++Xe)fe[V+32*Xe-1]=129;for(Xe=0;8>Xe;++Xe)ae[Ie+32*Xe-1]=129,Ke[dt+32*Xe-1]=129;for(0<nn?fe[V-1-32]=ae[Ie-1-32]=Ke[dt-1-32]=129:(De(fe,V-32-1,127,21),De(ae,Ie-32-1,127,9),De(Ke,dt-32-1,127,9)),Tt=0;Tt<ne.za;++Tt){var pt=Ce.ya[Ce.aa+Tt];if(0<Tt){for(Xe=-1;16>Xe;++Xe)xe(fe,V+32*Xe-4,fe,V+32*Xe+12,4);for(Xe=-1;8>Xe;++Xe)xe(ae,Ie+32*Xe-4,ae,Ie+32*Xe+4,4),xe(Ke,dt+32*Xe-4,Ke,dt+32*Xe+4,4)}var yt=ne.Gd,cn=ne.Hd+Tt,On=pt.ad,ln=pt.Hc;if(0<nn&&(xe(fe,V-32,yt[cn].y,0,16),xe(ae,Ie-32,yt[cn].f,0,8),xe(Ke,dt-32,yt[cn].ea,0,8)),pt.Za){var en=fe,wn=V-32+16;for(0<nn&&(Tt>=ne.za-1?De(en,wn,yt[cn].y[15],4):xe(en,wn,yt[cn+1].y,0,4)),Xe=0;4>Xe;Xe++)en[wn+128+Xe]=en[wn+256+Xe]=en[wn+384+Xe]=en[wn+0+Xe];for(Xe=0;16>Xe;++Xe,ln<<=2)en=fe,wn=V+mu[Xe],hl[pt.Ob[Xe]](en,wn),$a(ln,On,16*+Xe,en,wn)}else if(en=Ja(Tt,nn,pt.Ob[0]),dl[en](fe,V),ln!=0)for(Xe=0;16>Xe;++Xe,ln<<=2)$a(ln,On,16*+Xe,fe,V+mu[Xe]);for(Xe=pt.Gc,en=Ja(Tt,nn,pt.Dd),El[en](ae,Ie),El[en](Ke,dt),ln=On,en=ae,wn=Ie,255&(pt=Xe>>0)&&(170&pt?js(ln,256,en,wn):Aa(ln,256,en,wn)),pt=Ke,ln=dt,255&(Xe>>=8)&&(170&Xe?js(On,320,pt,ln):Aa(On,320,pt,ln)),nn<ne.Ub-1&&(xe(yt[cn].y,0,fe,V+480,16),xe(yt[cn].f,0,ae,Ie+224,8),xe(yt[cn].ea,0,Ke,dt+224,8)),Xe=8*xn*ne.B,yt=ne.sa,cn=ne.ta+16*Tt+16*xn*ne.R,On=ne.qa,pt=ne.ra+8*Tt+Xe,ln=ne.Ha,en=ne.Ia+8*Tt+Xe,Xe=0;16>Xe;++Xe)xe(yt,cn+Xe*ne.R,fe,V+32*Xe,16);for(Xe=0;8>Xe;++Xe)xe(On,pt+Xe*ne.B,ae,Ie+32*Xe,8),xe(ln,en+Xe*ne.B,Ke,dt+32*Xe,8)}}function Lo(ne,Ce,Xe,Tt,nn,xn,fe,V,ae){var Ie=[0],Ke=[0],dt=0,pt=ae!=null?ae.kd:0,yt=ae!=null?ae:new Os;if(ne==null||12>Xe)return 7;yt.data=ne,yt.w=Ce,yt.ha=Xe,Ce=[Ce],Xe=[Xe],yt.gb=[yt.gb];e:{var cn=Ce,On=Xe,ln=yt.gb;if(le(ne!=null),le(On!=null),le(ln!=null),ln[0]=0,12<=On[0]&&!ye(ne,cn[0],"RIFF")){if(ye(ne,cn[0]+8,"WEBP")){ln=3;break e}var en=Ha(ne,cn[0]+4);if(12>en||4294967286<en){ln=3;break e}if(pt&&en>On[0]-8){ln=7;break e}ln[0]=en,cn[0]+=12,On[0]-=12}ln=0}if(ln!=0)return ln;for(en=0<yt.gb[0],Xe=Xe[0];;){e:{var wn=ne;On=Ce,ln=Xe;var Bn=Ie,ir=Ke,jr=cn=[0];if((di=dt=[dt])[0]=0,8>ln[0])ln=7;else{if(!ye(wn,On[0],"VP8X")){if(Ha(wn,On[0]+4)!=10){ln=3;break e}if(18>ln[0]){ln=7;break e}var Vr=Ha(wn,On[0]+8),Ei=1+$i(wn,On[0]+12);if(2147483648<=Ei*(wn=1+$i(wn,On[0]+15))){ln=3;break e}jr!=null&&(jr[0]=Vr),Bn!=null&&(Bn[0]=Ei),ir!=null&&(ir[0]=wn),On[0]+=18,ln[0]-=18,di[0]=1}ln=0}}if(dt=dt[0],cn=cn[0],ln!=0)return ln;if(On=!!(2&cn),!en&&dt)return 3;if(xn!=null&&(xn[0]=!!(16&cn)),fe!=null&&(fe[0]=On),V!=null&&(V[0]=0),fe=Ie[0],cn=Ke[0],dt&&On&&ae==null){ln=0;break}if(4>Xe){ln=7;break}if(en&&dt||!en&&!dt&&!ye(ne,Ce[0],"ALPH")){Xe=[Xe],yt.na=[yt.na],yt.P=[yt.P],yt.Sa=[yt.Sa];e:{Vr=ne,ln=Ce,en=Xe;var di=yt.gb;Bn=yt.na,ir=yt.P,jr=yt.Sa,Ei=22,le(Vr!=null),le(en!=null),wn=ln[0];var ca=en[0];for(le(Bn!=null),le(jr!=null),Bn[0]=null,ir[0]=null,jr[0]=0;;){if(ln[0]=wn,en[0]=ca,8>ca){ln=7;break e}var ji=Ha(Vr,wn+4);if(4294967286<ji){ln=3;break e}var Ia=8+ji+1&-2;if(Ei+=Ia,0<di&&Ei>di){ln=3;break e}if(!ye(Vr,wn,"VP8 ")||!ye(Vr,wn,"VP8L")){ln=0;break e}if(ca[0]<Ia){ln=7;break e}ye(Vr,wn,"ALPH")||(Bn[0]=Vr,ir[0]=wn+8,jr[0]=ji),wn+=Ia,ca-=Ia}}if(Xe=Xe[0],yt.na=yt.na[0],yt.P=yt.P[0],yt.Sa=yt.Sa[0],ln!=0)break}Xe=[Xe],yt.Ja=[yt.Ja],yt.xa=[yt.xa];e:if(di=ne,ln=Ce,en=Xe,Bn=yt.gb[0],ir=yt.Ja,jr=yt.xa,Vr=ln[0],wn=!ye(di,Vr,"VP8 "),Ei=!ye(di,Vr,"VP8L"),le(di!=null),le(en!=null),le(ir!=null),le(jr!=null),8>en[0])ln=7;else{if(wn||Ei){if(di=Ha(di,Vr+4),12<=Bn&&di>Bn-12){ln=3;break e}if(pt&&di>en[0]-8){ln=7;break e}ir[0]=di,ln[0]+=8,en[0]-=8,jr[0]=Ei}else jr[0]=5<=en[0]&&di[Vr+0]==47&&!(di[Vr+4]>>5),ir[0]=en[0];ln=0}if(Xe=Xe[0],yt.Ja=yt.Ja[0],yt.xa=yt.xa[0],Ce=Ce[0],ln!=0)break;if(4294967286<yt.Ja)return 3;if(V==null||On||(V[0]=yt.xa?2:1),fe=[fe],cn=[cn],yt.xa){if(5>Xe){ln=7;break}V=fe,pt=cn,On=xn,ne==null||5>Xe?ne=0:5<=Xe&&ne[Ce+0]==47&&!(ne[Ce+4]>>5)?(en=[0],di=[0],Bn=[0],Hi(ir=new Pn,ne,Ce,Xe),Ri(ir,en,di,Bn)?(V!=null&&(V[0]=en[0]),pt!=null&&(pt[0]=di[0]),On!=null&&(On[0]=Bn[0]),ne=1):ne=0):ne=0}else{if(10>Xe){ln=7;break}V=cn,ne==null||10>Xe||!Sa(ne,Ce+3,Xe-3)?ne=0:(pt=ne[Ce+0]|ne[Ce+1]<<8|ne[Ce+2]<<16,On=16383&(ne[Ce+7]<<8|ne[Ce+6]),ne=16383&(ne[Ce+9]<<8|ne[Ce+8]),1&pt||3<(pt>>1&7)||!(pt>>4&1)||pt>>5>=yt.Ja||!On||!ne?ne=0:(fe&&(fe[0]=On),V&&(V[0]=ne),ne=1))}if(!ne)return 3;if(fe=fe[0],cn=cn[0],dt&&(Ie[0]!=fe||Ke[0]!=cn))return 3;ae!=null&&(ae[0]=yt,ae.offset=Ce-ae.w,le(4294967286>Ce-ae.w),le(ae.offset==ae.ha-Xe));break}return ln==0||ln==7&&dt&&ae==null?(xn!=null&&(xn[0]|=yt.na!=null&&0<yt.na.length),Tt!=null&&(Tt[0]=fe),nn!=null&&(nn[0]=cn),0):ln}function Co(ne,Ce,Xe){var Tt=Ce.width,nn=Ce.height,xn=0,fe=0,V=Tt,ae=nn;if(Ce.Da=ne!=null&&0<ne.Da,Ce.Da&&(V=ne.cd,ae=ne.bd,xn=ne.v,fe=ne.j,11>Xe||(xn&=-2,fe&=-2),0>xn||0>fe||0>=V||0>=ae||xn+V>Tt||fe+ae>nn))return 0;if(Ce.v=xn,Ce.j=fe,Ce.va=xn+V,Ce.o=fe+ae,Ce.U=V,Ce.T=ae,Ce.da=ne!=null&&0<ne.da,Ce.da){if(!Ji(V,ae,Xe=[ne.ib],xn=[ne.hb]))return 0;Ce.ib=Xe[0],Ce.hb=xn[0]}return Ce.ob=ne!=null&&ne.ob,Ce.Kb=ne==null||!ne.Sd,Ce.da&&(Ce.ob=Ce.ib<3*Tt/4&&Ce.hb<3*nn/4,Ce.Kb=0),1}function Bo(ne){if(ne==null)return 2;if(11>ne.S){var Ce=ne.f.RGBA;Ce.fb+=(ne.height-1)*Ce.A,Ce.A=-Ce.A}else Ce=ne.f.kb,ne=ne.height,Ce.O+=(ne-1)*Ce.fa,Ce.fa=-Ce.fa,Ce.N+=(ne-1>>1)*Ce.Ab,Ce.Ab=-Ce.Ab,Ce.W+=(ne-1>>1)*Ce.Db,Ce.Db=-Ce.Db,Ce.F!=null&&(Ce.J+=(ne-1)*Ce.lb,Ce.lb=-Ce.lb);return 0}function Ao(ne,Ce,Xe,Tt){if(Tt==null||0>=ne||0>=Ce)return 2;if(Xe!=null){if(Xe.Da){var nn=Xe.cd,xn=Xe.bd,fe=-2&Xe.v,V=-2&Xe.j;if(0>fe||0>V||0>=nn||0>=xn||fe+nn>ne||V+xn>Ce)return 2;ne=nn,Ce=xn}if(Xe.da){if(!Ji(ne,Ce,nn=[Xe.ib],xn=[Xe.hb]))return 2;ne=nn[0],Ce=xn[0]}}Tt.width=ne,Tt.height=Ce;e:{var ae=Tt.width,Ie=Tt.height;if(ne=Tt.S,0>=ae||0>=Ie||!(ne>=_l&&13>ne))ne=2;else{if(0>=Tt.Rd&&Tt.sd==null){fe=xn=nn=Ce=0;var Ke=(V=ae*eu[ne])*Ie;if(11>ne||(xn=(Ie+1)/2*(Ce=(ae+1)/2),ne==12&&(fe=(nn=ae)*Ie)),(Ie=Le(Ke+2*xn+fe))==null){ne=1;break e}Tt.sd=Ie,11>ne?((ae=Tt.f.RGBA).eb=Ie,ae.fb=0,ae.A=V,ae.size=Ke):((ae=Tt.f.kb).y=Ie,ae.O=0,ae.fa=V,ae.Fd=Ke,ae.f=Ie,ae.N=0+Ke,ae.Ab=Ce,ae.Cd=xn,ae.ea=Ie,ae.W=0+Ke+xn,ae.Db=Ce,ae.Ed=xn,ne==12&&(ae.F=Ie,ae.J=0+Ke+2*xn),ae.Tc=fe,ae.lb=nn)}if(Ce=1,nn=Tt.S,xn=Tt.width,fe=Tt.height,nn>=_l&&13>nn)if(11>nn)ne=Tt.f.RGBA,Ce&=(V=Math.abs(ne.A))*(fe-1)+xn<=ne.size,Ce&=V>=xn*eu[nn],Ce&=ne.eb!=null;else{ne=Tt.f.kb,V=(xn+1)/2,Ke=(fe+1)/2,ae=Math.abs(ne.fa),Ie=Math.abs(ne.Ab);var dt=Math.abs(ne.Db),pt=Math.abs(ne.lb),yt=pt*(fe-1)+xn;Ce&=ae*(fe-1)+xn<=ne.Fd,Ce&=Ie*(Ke-1)+V<=ne.Cd,Ce=(Ce&=dt*(Ke-1)+V<=ne.Ed)&ae>=xn&Ie>=V&dt>=V,Ce&=ne.y!=null,Ce&=ne.f!=null,Ce&=ne.ea!=null,nn==12&&(Ce&=pt>=xn,Ce&=yt<=ne.Tc,Ce&=ne.F!=null)}else Ce=0;ne=Ce?0:2}}return ne!=0||Xe!=null&&Xe.fd&&(ne=Bo(Tt)),ne}var So=64,is=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],ts=24,Io=32,Gi=8,Rs=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];Bt("Predictor0","PredictorAdd0"),Mr.Predictor0=function(){return 4278190080},Mr.Predictor1=function(ne){return ne},Mr.Predictor2=function(ne,Ce,Xe){return Ce[Xe+0]},Mr.Predictor3=function(ne,Ce,Xe){return Ce[Xe+1]},Mr.Predictor4=function(ne,Ce,Xe){return Ce[Xe-1]},Mr.Predictor5=function(ne,Ce,Xe){return nr(nr(ne,Ce[Xe+1]),Ce[Xe+0])},Mr.Predictor6=function(ne,Ce,Xe){return nr(ne,Ce[Xe-1])},Mr.Predictor7=function(ne,Ce,Xe){return nr(ne,Ce[Xe+0])},Mr.Predictor8=function(ne,Ce,Xe){return nr(Ce[Xe-1],Ce[Xe+0])},Mr.Predictor9=function(ne,Ce,Xe){return nr(Ce[Xe+0],Ce[Xe+1])},Mr.Predictor10=function(ne,Ce,Xe){return nr(nr(ne,Ce[Xe-1]),nr(Ce[Xe+0],Ce[Xe+1]))},Mr.Predictor11=function(ne,Ce,Xe){var Tt=Ce[Xe+0];return 0>=At(Tt>>24&255,ne>>24&255,(Ce=Ce[Xe-1])>>24&255)+At(Tt>>16&255,ne>>16&255,Ce>>16&255)+At(Tt>>8&255,ne>>8&255,Ce>>8&255)+At(255&Tt,255&ne,255&Ce)?Tt:ne},Mr.Predictor12=function(ne,Ce,Xe){var Tt=Ce[Xe+0];return(fr((ne>>24&255)+(Tt>>24&255)-((Ce=Ce[Xe-1])>>24&255))<<24|fr((ne>>16&255)+(Tt>>16&255)-(Ce>>16&255))<<16|fr((ne>>8&255)+(Tt>>8&255)-(Ce>>8&255))<<8|fr((255&ne)+(255&Tt)-(255&Ce)))>>>0},Mr.Predictor13=function(ne,Ce,Xe){var Tt=Ce[Xe-1];return(Re((ne=nr(ne,Ce[Xe+0]))>>24&255,Tt>>24&255)<<24|Re(ne>>16&255,Tt>>16&255)<<16|Re(ne>>8&255,Tt>>8&255)<<8|Re(ne>>0&255,Tt>>0&255))>>>0};var Es=Mr.PredictorAdd0;Mr.PredictorAdd1=qt,Bt("Predictor2","PredictorAdd2"),Bt("Predictor3","PredictorAdd3"),Bt("Predictor4","PredictorAdd4"),Bt("Predictor5","PredictorAdd5"),Bt("Predictor6","PredictorAdd6"),Bt("Predictor7","PredictorAdd7"),Bt("Predictor8","PredictorAdd8"),Bt("Predictor9","PredictorAdd9"),Bt("Predictor10","PredictorAdd10"),Bt("Predictor11","PredictorAdd11"),Bt("Predictor12","PredictorAdd12"),Bt("Predictor13","PredictorAdd13");var as=Mr.PredictorAdd2;Hn("ColorIndexInverseTransform","MapARGB","32b",function(ne){return ne>>8&255},function(ne){return ne}),Hn("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(ne){return ne},function(ne){return ne>>8&255});var Xo,hs=Mr.ColorIndexInverseTransform,Al=Mr.MapARGB,ol=Mr.VP8LColorIndexInverseTransformAlpha,fs=Mr.MapAlpha,No=Mr.VP8LPredictorsAdd=[];No.length=16,(Mr.VP8LPredictors=[]).length=16,(Mr.VP8LPredictorsAdd_C=[]).length=16,(Mr.VP8LPredictors_C=[]).length=16;var ls,Zs,gs,Us,ks,Bs,il,$s,Gs,js,Qa,Aa,Wa,oo,Jo,Hs,bs,ws,ko,Oo,Zo,xo,Ws,wl,Sl,Pl,qs,Ol,Ll=Le(511),Uu=Le(2041),ru=Le(225),Eu=Le(767),iu=0,jl=Uu,Ks=ru,el=Eu,sl=Ll,_l=0,au=1,ou=2,Gl=3,Vs=4,su=5,lu=6,Cu=7,gl=8,Tl=9,Hl=10,Xl=[2,3,7],xl=[3,3,11],ku=[280,256,256,256,40],ju=[0,1,1,1,0],vl=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Jl=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],uu=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Zl=8,Ss=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],cl=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Ul=null,Iu=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],cu=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],zl=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Wl=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],du=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],Ou=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],Hu=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],dl=[],hl=[],El=[],$l=1,ql=2,yl=[],ll=[];ie("UpsampleRgbLinePair",Jn,3),ie("UpsampleBgrLinePair",Cr,3),ie("UpsampleRgbaLinePair",sa,4),ie("UpsampleBgraLinePair",Bi,4),ie("UpsampleArgbLinePair",xi,4),ie("UpsampleRgba4444LinePair",si,2),ie("UpsampleRgb565LinePair",Hr,2);var hu=Mr.UpsampleRgbLinePair,fu=Mr.UpsampleBgrLinePair,zu=Mr.UpsampleRgbaLinePair,Lu=Mr.UpsampleBgraLinePair,Tu=Mr.UpsampleArgbLinePair,Wu=Mr.UpsampleRgba4444LinePair,Kl=Mr.UpsampleRgb565LinePair,fl=16,Nl=1<<fl-1,Vl=-227,kl=482,pu=6,Ku=(256<<pu)-1,Nu=0,qu=Le(256),Du=Le(256),Vu=Le(256),Qu=Le(256),Yu=Le(kl-Vl),Ru=Le(kl-Vl);ya("YuvToRgbRow",Jn,3),ya("YuvToBgrRow",Cr,3),ya("YuvToRgbaRow",sa,4),ya("YuvToBgraRow",Bi,4),ya("YuvToArgbRow",xi,4),ya("YuvToRgba4444Row",si,2),ya("YuvToRgb565Row",Hr,2);var mu=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],bl=[0,2,8],Au=[8,7,6,4,4,2,2,2,1,1,1,1],Cl=1;this.WebPDecodeRGBA=function(ne,Ce,Xe,Tt,nn){var xn=au,fe=new ms,V=new ri;fe.ba=V,V.S=xn,V.width=[V.width],V.height=[V.height];var ae=V.width,Ie=V.height,Ke=new yi;if(Ke==null||ne==null)var dt=2;else le(Ke!=null),dt=Lo(ne,Ce,Xe,Ke.width,Ke.height,Ke.Pd,Ke.Qd,Ke.format,null);if(dt!=0?ae=0:(ae!=null&&(ae[0]=Ke.width[0]),Ie!=null&&(Ie[0]=Ke.height[0]),ae=1),ae){V.width=V.width[0],V.height=V.height[0],Tt!=null&&(Tt[0]=V.width),nn!=null&&(nn[0]=V.height);e:{if(Tt=new Na,(nn=new Os).data=ne,nn.w=Ce,nn.ha=Xe,nn.kd=1,Ce=[0],le(nn!=null),((ne=Lo(nn.data,nn.w,nn.ha,null,null,null,Ce,null,nn))==0||ne==7)&&Ce[0]&&(ne=4),(Ce=ne)==0){if(le(fe!=null),Tt.data=nn.data,Tt.w=nn.w+nn.offset,Tt.ha=nn.ha-nn.offset,Tt.put=Ni,Tt.ac=mi,Tt.bc=Wr,Tt.ma=fe,nn.xa){if((ne=yr())==null){fe=1;break e}if(function(pt,yt){var cn=[0],On=[0],ln=[0];t:for(;;){if(pt==null)return 0;if(yt==null)return pt.a=2,0;if(pt.l=yt,pt.a=0,Hi(pt.m,yt.data,yt.w,yt.ha),!Ri(pt.m,cn,On,ln)){pt.a=3;break t}if(pt.xb=ql,yt.width=cn[0],yt.height=On[0],!_r(cn[0],On[0],1,pt,null))break t;return 1}return le(pt.a!=0),0}(ne,Tt)){if(Tt=(Ce=Ao(Tt.width,Tt.height,fe.Oa,fe.ba))==0){t:{Tt=ne;n:for(;;){if(Tt==null){Tt=0;break t}if(le(Tt.s.yc!=null),le(Tt.s.Ya!=null),le(0<Tt.s.Wb),le((Xe=Tt.l)!=null),le((nn=Xe.ma)!=null),Tt.xb!=0){if(Tt.ca=nn.ba,Tt.tb=nn.tb,le(Tt.ca!=null),!Co(nn.Oa,Xe,Gl)){Tt.a=2;break n}if(!Yr(Tt,Xe.width))break n;if(Xe.da)break n;if((Xe.da||Ir(Tt.ca.S))&&ee(),11>Tt.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),Tt.ca.f.kb.F!=null&&ee()),Tt.Pb&&0<Tt.s.ua&&Tt.s.vb.X==null&&!pi(Tt.s.vb,Tt.s.Wa.Xa)){Tt.a=1;break n}Tt.xb=0}if(!pr(Tt,Tt.V,Tt.Ba,Tt.c,Tt.i,Xe.o,mn))break n;nn.Dc=Tt.Ma,Tt=1;break t}le(Tt.a!=0),Tt=0}Tt=!Tt}Tt&&(Ce=ne.a)}else Ce=ne.a}else{if((ne=new ga)==null){fe=1;break e}if(ne.Fa=nn.na,ne.P=nn.P,ne.qc=nn.Sa,Ra(ne,Tt)){if((Ce=Ao(Tt.width,Tt.height,fe.Oa,fe.ba))==0){if(ne.Aa=0,Xe=fe.Oa,le((nn=ne)!=null),Xe!=null){if(0<(ae=0>(ae=Xe.Md)?0:100<ae?255:255*ae/100)){for(Ie=Ke=0;4>Ie;++Ie)12>(dt=nn.pb[Ie]).lc&&(dt.ia=ae*Au[0>dt.lc?0:dt.lc]>>3),Ke|=dt.ia;Ke&&(alert("todo:VP8InitRandom"),nn.ia=1)}nn.Ga=Xe.Id,100<nn.Ga?nn.Ga=100:0>nn.Ga&&(nn.Ga=0)}Pa(ne,Tt)||(Ce=ne.a)}}else Ce=ne.a}Ce==0&&fe.Oa!=null&&fe.Oa.fd&&(Ce=Bo(fe.ba))}fe=Ce}xn=fe!=0?null:11>xn?V.f.RGBA.eb:V.f.kb.y}else xn=null;return xn};var eu=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function It(bi,Mr){for(var Oi="",Ar=0;Ar<4;Ar++)Oi+=String.fromCharCode(bi[Mr++]);return Oi}function pn(bi,Mr){return(bi[Mr+0]<<0|bi[Mr+1]<<8|bi[Mr+2]<<16)>>>0}function rn(bi,Mr){return(bi[Mr+0]<<0|bi[Mr+1]<<8|bi[Mr+2]<<16|bi[Mr+3]<<24)>>>0}new Ve;var Tn=[0],Nt=[0],ur=[],Xt=new Ve,Kn=Be,Fn=function(bi,Mr){var Oi={},Ar=0,Wn=!1,xr=0,er=0;if(Oi.frames=[],!function(Pn,br,Br,Qr){for(var $r=0;$r<Qr;$r++)if(Pn[br+$r]!=Br.charCodeAt($r))return!0;return!1}(bi,Mr,"RIFF",4)){var ci,qr;for(rn(bi,Mr+=4),Mr+=8;Mr<bi.length;){var wi=It(bi,Mr),Xr=rn(bi,Mr+=4);Mr+=4;var Hi=Xr+(1&Xr);switch(wi){case"VP8 ":case"VP8L":Oi.frames[Ar]===void 0&&(Oi.frames[Ar]={}),(cr=Oi.frames[Ar]).src_off=Wn?er:Mr-8,cr.src_size=xr+Xr+8,Ar++,Wn&&(Wn=!1,xr=0,er=0);break;case"VP8X":(cr=Oi.header={}).feature_flags=bi[Mr];var ni=Mr+4;cr.canvas_width=1+pn(bi,ni),ni+=3,cr.canvas_height=1+pn(bi,ni),ni+=3;break;case"ALPH":Wn=!0,xr=Hi+8,er=Mr-8;break;case"ANIM":(cr=Oi.header).bgcolor=rn(bi,Mr),ni=Mr+4,cr.loop_count=(ci=bi)[(qr=ni)+0]<<0|ci[qr+1]<<8,ni+=2;break;case"ANMF":var Mi,cr;(cr=Oi.frames[Ar]={}).offset_x=2*pn(bi,Mr),Mr+=3,cr.offset_y=2*pn(bi,Mr),Mr+=3,cr.width=1+pn(bi,Mr),Mr+=3,cr.height=1+pn(bi,Mr),Mr+=3,cr.duration=pn(bi,Mr),Mr+=3,Mi=bi[Mr++],cr.dispose=1&Mi,cr.blend=Mi>>1&1}wi!="ANMF"&&(Mr+=Hi)}return Oi}}(Kn,0);Fn.response=Kn,Fn.rgbaoutput=!0,Fn.dataurl=!1;var un=Fn.header?Fn.header:null,Sr=Fn.frames?Fn.frames:null;if(un){un.loop_counter=un.loop_count,Tn=[un.canvas_height],Nt=[un.canvas_width];for(var Fr=0;Fr<Sr.length&&Sr[Fr].blend!=0;Fr++);}var ii=Sr[0],oi=Xt.WebPDecodeRGBA(Kn,ii.src_off,ii.src_size,Nt,Tn);ii.rgba=oi,ii.imgwidth=Nt[0],ii.imgheight=Tn[0];for(var ti=0;ti<Nt[0]*Tn[0]*4;ti++)ur[ti]=oi[ti];return this.width=Nt,this.height=Tn,this.data=ur,this}!function(Be){var le=function(){return typeof v.b=="function"},ye=function(Nt,ur,Xt,Kn){var Fn=4,un=Fe;switch(Kn){case Be.image_compression.FAST:Fn=1,un=Le;break;case Be.image_compression.MEDIUM:Fn=6,un=at;break;case Be.image_compression.SLOW:Fn=9,un=Ve}Nt=xe(Nt,ur,Xt,un);var Sr=Object(v.b)(Nt,{level:Fn});return Be.__addimage__.arrayBufferToBinaryString(Sr)},xe=function(Nt,ur,Xt,Kn){for(var Fn,un,Sr,Fr=Nt.length/ur,ii=new Uint8Array(Nt.length+Fr),oi=pn(),ti=0;ti<Fr;ti+=1){if(Sr=ti*ur,Fn=Nt.subarray(Sr,Sr+ur),Kn)ii.set(Kn(Fn,Xt,un),Sr+ti);else{for(var bi,Mr=oi.length,Oi=[];bi<Mr;bi+=1)Oi[bi]=oi[bi](Fn,Xt,un);var Ar=rn(Oi.concat());ii.set(Oi[Ar],Sr+ti)}un=Fn}return ii},De=function(Nt){var ur=Array.apply([],Nt);return ur.unshift(0),ur},Le=function(Nt,ur){var Xt,Kn=[],Fn=Nt.length;Kn[0]=1;for(var un=0;un<Fn;un+=1)Xt=Nt[un-ur]||0,Kn[un+1]=Nt[un]-Xt+256&255;return Kn},Fe=function(Nt,ur,Xt){var Kn,Fn=[],un=Nt.length;Fn[0]=2;for(var Sr=0;Sr<un;Sr+=1)Kn=Xt&&Xt[Sr]||0,Fn[Sr+1]=Nt[Sr]-Kn+256&255;return Fn},at=function(Nt,ur,Xt){var Kn,Fn,un=[],Sr=Nt.length;un[0]=3;for(var Fr=0;Fr<Sr;Fr+=1)Kn=Nt[Fr-ur]||0,Fn=Xt&&Xt[Fr]||0,un[Fr+1]=Nt[Fr]+256-(Kn+Fn>>>1)&255;return un},Ve=function(Nt,ur,Xt){var Kn,Fn,un,Sr,Fr=[],ii=Nt.length;Fr[0]=4;for(var oi=0;oi<ii;oi+=1)Kn=Nt[oi-ur]||0,Fn=Xt&&Xt[oi]||0,un=Xt&&Xt[oi-ur]||0,Sr=It(Kn,Fn,un),Fr[oi+1]=Nt[oi]-Sr+256&255;return Fr},It=function(Nt,ur,Xt){if(Nt===ur&&ur===Xt)return Nt;var Kn=Math.abs(ur-Xt),Fn=Math.abs(Nt-Xt),un=Math.abs(Nt+ur-Xt-Xt);return Kn<=Fn&&Kn<=un?Nt:Fn<=un?ur:Xt},pn=function(){return[De,Le,Fe,at,Ve]},rn=function(Nt){var ur=Nt.map(function(Xt){return Xt.reduce(function(Kn,Fn){return Kn+Math.abs(Fn)},0)});return ur.indexOf(Math.min.apply(null,ur))};Be.processPNG=function(Tn,Nt,ur,Xt){var Kn,Fn,un,Sr,Fr,ii,oi,ti,bi,Mr,Oi,Ar,Wn,xr,er,ci=this.decode.FLATE_DECODE,qr="";if(this.__addimage__.isArrayBuffer(Tn)&&(Tn=new Uint8Array(Tn)),this.__addimage__.isArrayBufferView(Tn)){if(Tn=(un=new ze(Tn)).imgData,Fn=un.bits,Kn=un.colorSpace,Fr=un.colors,[4,6].indexOf(un.colorType)!==-1){if(un.bits===8){bi=(ti=un.pixelBitlength==32?new Uint32Array(un.decodePixels().buffer):un.pixelBitlength==16?new Uint16Array(un.decodePixels().buffer):new Uint8Array(un.decodePixels().buffer)).length,Oi=new Uint8Array(bi*un.colors),Mr=new Uint8Array(bi);var wi,Xr=un.pixelBitlength-un.bits;for(xr=0,er=0;xr<bi;xr++){for(Wn=ti[xr],wi=0;wi<Xr;)Oi[er++]=Wn>>>wi&255,wi+=un.bits;Mr[xr]=Wn>>>wi&255}}if(un.bits===16){bi=(ti=new Uint32Array(un.decodePixels().buffer)).length,Oi=new Uint8Array(bi*(32/un.pixelBitlength)*un.colors),Mr=new Uint8Array(bi*(32/un.pixelBitlength)),Ar=un.colors>1,xr=0,er=0;for(var Hi=0;xr<bi;)Wn=ti[xr++],Oi[er++]=Wn>>>0&255,Ar&&(Oi[er++]=Wn>>>16&255,Wn=ti[xr++],Oi[er++]=Wn>>>0&255),Mr[Hi++]=Wn>>>16&255;Fn=8}Xt!==Be.image_compression.NONE&&le()?(Tn=ye(Oi,un.width*un.colors,un.colors,Xt),oi=ye(Mr,un.width,1,Xt)):(Tn=Oi,oi=Mr,ci=void 0)}if(un.colorType===3&&(Kn=this.color_spaces.INDEXED,ii=un.palette,un.transparency.indexed)){var ni=un.transparency.indexed,Mi=0;for(xr=0,bi=ni.length;xr<bi;++xr)Mi+=ni[xr];if((Mi/=255)===bi-1&&ni.indexOf(0)!==-1)Sr=[ni.indexOf(0)];else if(Mi!==bi){for(ti=un.decodePixels(),Mr=new Uint8Array(ti.length),xr=0,bi=ti.length;xr<bi;xr++)Mr[xr]=ni[ti[xr]];oi=ye(Mr,un.width,1)}}var cr=function(Pn){var br;switch(Pn){case Be.image_compression.FAST:br=11;break;case Be.image_compression.MEDIUM:br=13;break;case Be.image_compression.SLOW:br=14;break;default:br=12}return br}(Xt);return ci===this.decode.FLATE_DECODE&&(qr="/Predictor "+cr+" "),qr+="/Colors "+Fr+" /BitsPerComponent "+Fn+" /Columns "+un.width,(this.__addimage__.isArrayBuffer(Tn)||this.__addimage__.isArrayBufferView(Tn))&&(Tn=this.__addimage__.arrayBufferToBinaryString(Tn)),(oi&&this.__addimage__.isArrayBuffer(oi)||this.__addimage__.isArrayBufferView(oi))&&(oi=this.__addimage__.arrayBufferToBinaryString(oi)),{alias:ur,data:Tn,index:Nt,filter:ci,decodeParameters:qr,transparency:Sr,palette:ii,sMask:oi,predictor:cr,width:un.width,height:un.height,bitsPerComponent:Fn,colorSpace:Kn}}}}(P.API),function(Be){Be.processGIF89A=function(le,ye,xe,De){var Le=new Rt(le),Fe=Le.width,at=Le.height,Ve=[];Le.decodeAndBlitFrameRGBA(0,Ve);var It={data:Ve,width:Fe,height:at},pn=new _t(100).encode(It,100);return Be.processJPEG.call(this,pn,ye,xe,De)},Be.processGIF87A=Be.processGIF89A}(P.API),Nn.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 Be=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(Be);for(var le=0;le<Be;le++){var ye=this.datav.getUint8(this.pos++,!0),xe=this.datav.getUint8(this.pos++,!0),De=this.datav.getUint8(this.pos++,!0),Le=this.datav.getUint8(this.pos++,!0);this.palette[le]={red:De,green:xe,blue:ye,quad:Le}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Nn.prototype.parseBGR=function(){this.pos=this.offset;try{var Be="bit"+this.bitPP,le=this.width*this.height*4;this.data=new Uint8Array(le),this[Be]()}catch(ye){m.log("bit decode error:"+ye)}},Nn.prototype.bit1=function(){var Be,le=Math.ceil(this.width/8),ye=le%4;for(Be=this.height-1;Be>=0;Be--){for(var xe=this.bottom_up?Be:this.height-1-Be,De=0;De<le;De++)for(var Le=this.datav.getUint8(this.pos++,!0),Fe=xe*this.width*4+8*De*4,at=0;at<8&&8*De+at<this.width;at++){var Ve=this.palette[Le>>7-at&1];this.data[Fe+4*at]=Ve.blue,this.data[Fe+4*at+1]=Ve.green,this.data[Fe+4*at+2]=Ve.red,this.data[Fe+4*at+3]=255}ye!==0&&(this.pos+=4-ye)}},Nn.prototype.bit4=function(){for(var Be=Math.ceil(this.width/2),le=Be%4,ye=this.height-1;ye>=0;ye--){for(var xe=this.bottom_up?ye:this.height-1-ye,De=0;De<Be;De++){var Le=this.datav.getUint8(this.pos++,!0),Fe=xe*this.width*4+2*De*4,at=Le>>4,Ve=15&Le,It=this.palette[at];if(this.data[Fe]=It.blue,this.data[Fe+1]=It.green,this.data[Fe+2]=It.red,this.data[Fe+3]=255,2*De+1>=this.width)break;It=this.palette[Ve],this.data[Fe+4]=It.blue,this.data[Fe+4+1]=It.green,this.data[Fe+4+2]=It.red,this.data[Fe+4+3]=255}le!==0&&(this.pos+=4-le)}},Nn.prototype.bit8=function(){for(var Be=this.width%4,le=this.height-1;le>=0;le--){for(var ye=this.bottom_up?le:this.height-1-le,xe=0;xe<this.width;xe++){var De=this.datav.getUint8(this.pos++,!0),Le=ye*this.width*4+4*xe;if(De<this.palette.length){var Fe=this.palette[De];this.data[Le]=Fe.red,this.data[Le+1]=Fe.green,this.data[Le+2]=Fe.blue,this.data[Le+3]=255}else this.data[Le]=255,this.data[Le+1]=255,this.data[Le+2]=255,this.data[Le+3]=255}Be!==0&&(this.pos+=4-Be)}},Nn.prototype.bit15=function(){for(var Be=this.width%3,le=parseInt("11111",2),ye=this.height-1;ye>=0;ye--){for(var xe=this.bottom_up?ye:this.height-1-ye,De=0;De<this.width;De++){var Le=this.datav.getUint16(this.pos,!0);this.pos+=2;var Fe=(Le&le)/le*255|0,at=(Le>>5&le)/le*255|0,Ve=(Le>>10&le)/le*255|0,It=Le>>15?255:0,pn=xe*this.width*4+4*De;this.data[pn]=Ve,this.data[pn+1]=at,this.data[pn+2]=Fe,this.data[pn+3]=It}this.pos+=Be}},Nn.prototype.bit16=function(){for(var Be=this.width%3,le=parseInt("11111",2),ye=parseInt("111111",2),xe=this.height-1;xe>=0;xe--){for(var De=this.bottom_up?xe:this.height-1-xe,Le=0;Le<this.width;Le++){var Fe=this.datav.getUint16(this.pos,!0);this.pos+=2;var at=(Fe&le)/le*255|0,Ve=(Fe>>5&ye)/ye*255|0,It=(Fe>>11)/le*255|0,pn=De*this.width*4+4*Le;this.data[pn]=It,this.data[pn+1]=Ve,this.data[pn+2]=at,this.data[pn+3]=255}this.pos+=Be}},Nn.prototype.bit24=function(){for(var Be=this.height-1;Be>=0;Be--){for(var le=this.bottom_up?Be:this.height-1-Be,ye=0;ye<this.width;ye++){var xe=this.datav.getUint8(this.pos++,!0),De=this.datav.getUint8(this.pos++,!0),Le=this.datav.getUint8(this.pos++,!0),Fe=le*this.width*4+4*ye;this.data[Fe]=Le,this.data[Fe+1]=De,this.data[Fe+2]=xe,this.data[Fe+3]=255}this.pos+=this.width%4}},Nn.prototype.bit32=function(){for(var Be=this.height-1;Be>=0;Be--)for(var le=this.bottom_up?Be:this.height-1-Be,ye=0;ye<this.width;ye++){var xe=this.datav.getUint8(this.pos++,!0),De=this.datav.getUint8(this.pos++,!0),Le=this.datav.getUint8(this.pos++,!0),Fe=this.datav.getUint8(this.pos++,!0),at=le*this.width*4+4*ye;this.data[at]=Le,this.data[at+1]=De,this.data[at+2]=xe,this.data[at+3]=Fe}},Nn.prototype.getData=function(){return this.data},function(Be){Be.processBMP=function(le,ye,xe,De){var Le=new Nn(le,!1),Fe=Le.width,at=Le.height,Ve={data:Le.getData(),width:Fe,height:at},It=new _t(100).encode(Ve,100);return Be.processJPEG.call(this,It,ye,xe,De)}}(P.API),Mn.prototype.getData=function(){return this.data},function(Be){Be.processWEBP=function(le,ye,xe,De){var Le=new Mn(le,!1),Fe=Le.width,at=Le.height,Ve={data:Le.getData(),width:Fe,height:at},It=new _t(100).encode(Ve,100);return Be.processJPEG.call(this,It,ye,xe,De)}}(P.API),P.API.processRGBA=function(Be,le,ye){for(var xe=Be.data,De=xe.length,Le=new Uint8Array(De/4*3),Fe=new Uint8Array(De/4),at=0,Ve=0,It=0;It<De;It+=4){var pn=xe[It],rn=xe[It+1],Tn=xe[It+2],Nt=xe[It+3];Le[at++]=pn,Le[at++]=rn,Le[at++]=Tn,Fe[Ve++]=Nt}var ur=this.__addimage__.arrayBufferToBinaryString(Le);return{alpha:this.__addimage__.arrayBufferToBinaryString(Fe),data:ur,index:le,alias:ye,colorSpace:"DeviceRGB",bitsPerComponent:8,width:Be.width,height:Be.height}},P.API.setLanguage=function(Be){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[Be]!==void 0&&(this.internal.languageSettings.languageCode=Be,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},Ue=P.API,He=Ue.getCharWidthsArray=function(Be,le){var ye,xe,De=(le=le||{}).font||this.internal.getFont(),Le=le.fontSize||this.internal.getFontSize(),Fe=le.charSpace||this.internal.getCharSpace(),at=le.widths?le.widths:De.metadata.Unicode.widths,Ve=at.fof?at.fof:1,It=le.kerning?le.kerning:De.metadata.Unicode.kerning,pn=It.fof?It.fof:1,rn=le.doKerning!==!1,Tn=0,Nt=Be.length,ur=0,Xt=at[0]||Ve,Kn=[];for(ye=0;ye<Nt;ye++)xe=Be.charCodeAt(ye),typeof De.metadata.widthOfString=="function"?Kn.push((De.metadata.widthOfGlyph(De.metadata.characterToGlyph(xe))+Fe*(1e3/Le)||0)/1e3):(Tn=rn&&g()(It[xe])==="object"&&!isNaN(parseInt(It[xe][ur],10))?It[xe][ur]/pn:0,Kn.push((at[xe]||Xt)/Ve+Tn)),ur=xe;return Kn},se=Ue.getStringUnitWidth=function(Be,le){var ye=(le=le||{}).fontSize||this.internal.getFontSize(),xe=le.font||this.internal.getFont(),De=le.charSpace||this.internal.getCharSpace();return Ue.processArabic&&(Be=Ue.processArabic(Be)),typeof xe.metadata.widthOfString=="function"?xe.metadata.widthOfString(Be,ye,De)/ye:He.apply(this,arguments).reduce(function(Le,Fe){return Le+Fe},0)},Ae=function(le,ye,xe,De){for(var Le=[],Fe=0,at=le.length,Ve=0;Fe!==at&&Ve+ye[Fe]<xe;)Ve+=ye[Fe],Fe++;Le.push(le.slice(0,Fe));var It=Fe;for(Ve=0;Fe!==at;)Ve+ye[Fe]>De&&(Le.push(le.slice(It,Fe)),Ve=0,It=Fe),Ve+=ye[Fe],Fe++;return It!==Fe&&Le.push(le.slice(It,Fe)),Le},Oe=function(le,ye,xe){xe||(xe={});var De,Le,Fe,at,Ve,It,pn,rn=[],Tn=[rn],Nt=xe.textIndent||0,ur=0,Xt=0,Kn=le.split(" "),Fn=He.apply(this,[" ",xe])[0];if(It=xe.lineIndent===-1?Kn[0].length+2:xe.lineIndent||0){var un=Array(It).join(" "),Sr=[];Kn.map(function(ii){(ii=ii.split(/\s*\n/)).length>1?Sr=Sr.concat(ii.map(function(oi,ti){return(ti&&oi.length?`
|
|
|
`:"")+oi})):Sr.push(ii[0])}),Kn=Sr,It=se.apply(this,[un,xe])}for(Fe=0,at=Kn.length;Fe<at;Fe++){var Fr=0;if(De=Kn[Fe],It&&De[0]==`
|
|
|
`&&(De=De.substr(1),Fr=1),Nt+ur+(Xt=(Le=He.apply(this,[De,xe])).reduce(function(ii,oi){return ii+oi},0))>ye||Fr){if(Xt>ye){for(Ve=Ae.apply(this,[De,Le,ye-(Nt+ur),ye]),rn.push(Ve.shift()),rn=[Ve.pop()];Ve.length;)Tn.push([Ve.shift()]);Xt=Le.slice(De.length-(rn[0]?rn[0].length:0)).reduce(function(ii,oi){return ii+oi},0)}else rn=[De];Tn.push(rn),Nt=Xt+It,ur=Fn}else rn.push(De),Nt+=ur+Xt,ur=Fn}return pn=It?function(ii,oi){return(oi?un:"")+ii.join(" ")}:function(ii){return ii.join(" ")},Tn.map(pn)},Ue.splitTextToSize=function(Be,le,ye){var xe,De=(ye=ye||{}).fontSize||this.internal.getFontSize(),Le=function(pn){if(pn.widths&&pn.kerning)return{widths:pn.widths,kerning:pn.kerning};var rn=this.internal.getFont(pn.fontName,pn.fontStyle);return rn.metadata.Unicode?{widths:rn.metadata.Unicode.widths||{0:1},kerning:rn.metadata.Unicode.kerning||{}}:{font:rn.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,ye);xe=Array.isArray(Be)?Be:String(Be).split(/\r?\n/);var Fe=1*this.internal.scaleFactor*le/De;Le.textIndent=ye.textIndent?1*ye.textIndent*this.internal.scaleFactor/De:0,Le.lineIndent=ye.lineIndent;var at,Ve,It=[];for(at=0,Ve=xe.length;at<Ve;at++)It=It.concat(Oe.apply(this,[xe[at],Fe,Le]));return It},function(Be){Be.__fontmetrics__=Be.__fontmetrics__||{};for(var le="klmnopqrstuvwxyz",ye={},xe={},De=0;De<le.length;De++)ye[le[De]]="0123456789abcdef"[De],xe["0123456789abcdef"[De]]=le[De];var Le=function(Tn){return"0x"+parseInt(Tn,10).toString(16)},Fe=Be.__fontmetrics__.compress=function(rn){var Tn,Nt,ur,Xt,Kn=["{"];for(var Fn in rn){if(Tn=rn[Fn],isNaN(parseInt(Fn,10))?Nt="'"+Fn+"'":(Fn=parseInt(Fn,10),Nt=(Nt=Le(Fn).slice(2)).slice(0,-1)+xe[Nt.slice(-1)]),typeof Tn=="number")Tn<0?(ur=Le(Tn).slice(3),Xt="-"):(ur=Le(Tn).slice(2),Xt=""),ur=Xt+ur.slice(0,-1)+xe[ur.slice(-1)];else{if(g()(Tn)!=="object")throw new Error("Don't know what to do with value type "+g()(Tn)+".");ur=Fe(Tn)}Kn.push(Nt+ur)}return Kn.push("}"),Kn.join("")},at=Be.__fontmetrics__.uncompress=function(rn){if(typeof rn!="string")throw new Error("Invalid argument passed to uncompress.");for(var Tn,Nt,ur,Xt,Kn={},Fn=1,un=Kn,Sr=[],Fr="",ii="",oi=rn.length-1,ti=1;ti<oi;ti+=1)(Xt=rn[ti])=="'"?Tn?(ur=Tn.join(""),Tn=void 0):Tn=[]:Tn?Tn.push(Xt):Xt=="{"?(Sr.push([un,ur]),un={},ur=void 0):Xt=="}"?((Nt=Sr.pop())[0][Nt[1]]=un,ur=void 0,un=Nt[0]):Xt=="-"?Fn=-1:ur===void 0?ye.hasOwnProperty(Xt)?(Fr+=ye[Xt],ur=parseInt(Fr,16)*Fn,Fn=1,Fr=""):Fr+=Xt:ye.hasOwnProperty(Xt)?(ii+=ye[Xt],un[ur]=parseInt(ii,16)*Fn,Fn=1,ur=void 0,ii=""):ii+=Xt;return Kn},Ve={codePages:["WinAnsiEncoding"],WinAnsiEncoding:at("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},It={Unicode:{Courier:Ve,"Courier-Bold":Ve,"Courier-BoldOblique":Ve,"Courier-Oblique":Ve,Helvetica:Ve,"Helvetica-Bold":Ve,"Helvetica-BoldOblique":Ve,"Helvetica-Oblique":Ve,"Times-Roman":Ve,"Times-Bold":Ve,"Times-BoldItalic":Ve,"Times-Italic":Ve}},pn={Unicode:{"Courier-Oblique":at("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":at("{'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":at("{'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:at("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":at("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":at("{'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:at("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:at("{'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":at("{'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:at("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":at("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":at("{'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":at("{'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":at("{'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}}}")}};Be.events.push(["addFont",function(rn){var Tn=rn.font,Nt=pn.Unicode[Tn.postScriptName];Nt&&(Tn.metadata.Unicode={},Tn.metadata.Unicode.widths=Nt.widths,Tn.metadata.Unicode.kerning=Nt.kerning);var ur=It.Unicode[Tn.postScriptName];ur&&(Tn.metadata.Unicode.encoding=ur,Tn.encoding=ur.codePages[0])}])}(P.API),function(Be){var le=function(xe){for(var De=xe.length,Le=new Uint8Array(De),Fe=0;Fe<De;Fe++)Le[Fe]=xe.charCodeAt(Fe);return Le};Be.API.events.push(["addFont",function(ye){var xe=void 0,De=ye.font,Le=ye.instance;if(!De.isStandardFont){if(Le===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+De.postScriptName+"').");if(typeof(xe=Le.existsFileInVFS(De.postScriptName)===!1?Le.loadFile(De.postScriptName):Le.getFileFromVFS(De.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+De.postScriptName+"').");!function(Fe,at){at=/^\x00\x01\x00\x00/.test(at)?le(at):le(s(at)),Fe.metadata=Be.API.TTFFont.open(at),Fe.metadata.Unicode=Fe.metadata.Unicode||{encoding:{},kerning:{},widths:[]},Fe.metadata.glyIdsUsed=[0]}(De,xe)}}])}(P),function(Be){function le(){return(A.canvg?Promise.resolve(A.canvg):Promise.all([e.e(0),e.e(200)]).then(e.bind(null,"DXPr"))).catch(function(ye){return Promise.reject(new Error("Could not load canvg: "+ye))}).then(function(ye){return ye.default?ye.default:ye})}P.API.addSvgAsImage=function(ye,xe,De,Le,Fe,at,Ve,It){if(isNaN(xe)||isNaN(De))throw m.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(Le)||isNaN(Fe))throw m.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var pn=document.createElement("canvas");pn.width=Le,pn.height=Fe;var rn=pn.getContext("2d");rn.fillStyle="#fff",rn.fillRect(0,0,pn.width,pn.height);var Tn={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},Nt=this;return le().then(function(ur){return ur.fromString(rn,ye,Tn)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(ur){return ur.render(Tn)}).then(function(){Nt.addImage(pn.toDataURL("image/jpeg",1),xe,De,Le,Fe,Ve,It)})}}(),P.API.putTotalPages=function(Be){var le,ye=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(le=new RegExp(Be,"g"),ye=this.internal.getNumberOfPages()):(le=new RegExp(this.pdfEscape16(Be,this.internal.getFont()),"g"),ye=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var xe=1;xe<=this.internal.getNumberOfPages();xe++)for(var De=0;De<this.internal.pages[xe].length;De++)this.internal.pages[xe][De]=this.internal.pages[xe][De].replace(le,ye);return this},P.API.viewerPreferences=function(Be,le){var ye;Be=Be||{},le=le||!1;var xe,De,Le,Fe={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}},at=Object.keys(Fe),Ve=[],It=0,pn=0,rn=0;function Tn(ur,Xt){var Kn,Fn=!1;for(Kn=0;Kn<ur.length;Kn+=1)ur[Kn]===Xt&&(Fn=!0);return Fn}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(Fe)),this.internal.viewerpreferences.isSubscribed=!1),ye=this.internal.viewerpreferences.configuration,Be==="reset"||le===!0){var Nt=at.length;for(rn=0;rn<Nt;rn+=1)ye[at[rn]].value=ye[at[rn]].defaultValue,ye[at[rn]].explicitSet=!1}if(g()(Be)==="object"){for(De in Be)if(Le=Be[De],Tn(at,De)&&Le!==void 0){if(ye[De].type==="boolean"&&typeof Le=="boolean")ye[De].value=Le;else if(ye[De].type==="name"&&Tn(ye[De].valueSet,Le))ye[De].value=Le;else if(ye[De].type==="integer"&&Number.isInteger(Le))ye[De].value=Le;else if(ye[De].type==="array"){for(It=0;It<Le.length;It+=1)if(xe=!0,Le[It].length===1&&typeof Le[It][0]=="number")Ve.push(String(Le[It]-1));else if(Le[It].length>1){for(pn=0;pn<Le[It].length;pn+=1)typeof Le[It][pn]!="number"&&(xe=!1);xe===!0&&Ve.push([Le[It][0]-1,Le[It][1]-1].join(" "))}ye[De].value="["+Ve.join(" ")+"]"}else ye[De].value=ye[De].defaultValue;ye[De].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var ur,Xt=[];for(ur in ye)ye[ur].explicitSet===!0&&(ye[ur].type==="name"?Xt.push("/"+ur+" /"+ye[ur].value):Xt.push("/"+ur+" "+ye[ur].value));Xt.length!==0&&this.internal.write(`/ViewerPreferences
|
|
|
<<
|
|
|
`+Xt.join(`
|
|
|
`)+`
|
|
|
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=ye,this},function(Be){var le=function(){var De='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',Le=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),Fe=unescape(encodeURIComponent(De)),at=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),Ve=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),It=unescape(encodeURIComponent("</x:xmpmeta>")),pn=Fe.length+at.length+Ve.length+Le.length+It.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+pn+" >>"),this.internal.write("stream"),this.internal.write(Le+Fe+at+Ve+It),this.internal.write("endstream"),this.internal.write("endobj")},ye=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};Be.addMetadata=function(xe,De){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:xe,namespaceuri:De||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",ye),this.internal.events.subscribe("postPutResources",le)),this}}(P.API),function(Be){var le=Be.API,ye=le.pdfEscape16=function(Le,Fe){for(var at,Ve=Fe.metadata.Unicode.widths,It=["","0","00","000","0000"],pn=[""],rn=0,Tn=Le.length;rn<Tn;++rn){if(at=Fe.metadata.characterToGlyph(Le.charCodeAt(rn)),Fe.metadata.glyIdsUsed.push(at),Fe.metadata.toUnicode[at]=Le.charCodeAt(rn),Ve.indexOf(at)==-1&&(Ve.push(at),Ve.push([parseInt(Fe.metadata.widthOfGlyph(at),10)])),at=="0")return pn.join("");at=at.toString(16),pn.push(It[4-at.length],at)}return pn.join("")},xe=function(Fe){var at,Ve,It,pn,rn,Tn,Nt;for(rn=`/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=[],Tn=0,Nt=(Ve=Object.keys(Fe).sort(function(ur,Xt){return ur-Xt})).length;Tn<Nt;Tn++)at=Ve[Tn],It.length>=100&&(rn+=`
|
|
|
`+It.length+` beginbfchar
|
|
|
`+It.join(`
|
|
|
`)+`
|
|
|
endbfchar`,It=[]),Fe[at]!==void 0&&Fe[at]!==null&&typeof Fe[at].toString=="function"&&(pn=("0000"+Fe[at].toString(16)).slice(-4),at=("0000"+(+at).toString(16)).slice(-4),It.push("<"+at+"><"+pn+">"));return It.length&&(rn+=`
|
|
|
`+It.length+` beginbfchar
|
|
|
`+It.join(`
|
|
|
`)+`
|
|
|
endbfchar
|
|
|
`),rn+=`endcmap
|
|
|
CMapName currentdict /CMap defineresource pop
|
|
|
end
|
|
|
end`};le.events.push(["putFont",function(Le){!function(Fe){var at=Fe.font,Ve=Fe.out,It=Fe.newObject,pn=Fe.putStream;if(at.metadata instanceof Be.API.TTFFont&&at.encoding==="Identity-H"){for(var rn=at.metadata.Unicode.widths,Tn=at.metadata.subset.encode(at.metadata.glyIdsUsed,1),Nt="",ur=0;ur<Tn.length;ur++)Nt+=String.fromCharCode(Tn[ur]);var Xt=It();pn({data:Nt,addLength1:!0,objectId:Xt}),Ve("endobj");var Kn=It();pn({data:xe(at.metadata.toUnicode),addLength1:!0,objectId:Kn}),Ve("endobj");var Fn=It();Ve("<<"),Ve("/Type /FontDescriptor"),Ve("/FontName /"+F(at.fontName)),Ve("/FontFile2 "+Xt+" 0 R"),Ve("/FontBBox "+Be.API.PDFObject.convert(at.metadata.bbox)),Ve("/Flags "+at.metadata.flags),Ve("/StemV "+at.metadata.stemV),Ve("/ItalicAngle "+at.metadata.italicAngle),Ve("/Ascent "+at.metadata.ascender),Ve("/Descent "+at.metadata.decender),Ve("/CapHeight "+at.metadata.capHeight),Ve(">>"),Ve("endobj");var un=It();Ve("<<"),Ve("/Type /Font"),Ve("/BaseFont /"+F(at.fontName)),Ve("/FontDescriptor "+Fn+" 0 R"),Ve("/W "+Be.API.PDFObject.convert(rn)),Ve("/CIDToGIDMap /Identity"),Ve("/DW 1000"),Ve("/Subtype /CIDFontType2"),Ve("/CIDSystemInfo"),Ve("<<"),Ve("/Supplement 0"),Ve("/Registry (Adobe)"),Ve("/Ordering ("+at.encoding+")"),Ve(">>"),Ve(">>"),Ve("endobj"),at.objectNumber=It(),Ve("<<"),Ve("/Type /Font"),Ve("/Subtype /Type0"),Ve("/ToUnicode "+Kn+" 0 R"),Ve("/BaseFont /"+F(at.fontName)),Ve("/Encoding /"+at.encoding),Ve("/DescendantFonts ["+un+" 0 R]"),Ve(">>"),Ve("endobj"),at.isAlreadyPutted=!0}}(Le)}]),le.events.push(["putFont",function(Le){!function(Fe){var at=Fe.font,Ve=Fe.out,It=Fe.newObject,pn=Fe.putStream;if(at.metadata instanceof Be.API.TTFFont&&at.encoding==="WinAnsiEncoding"){for(var rn=at.metadata.rawData,Tn="",Nt=0;Nt<rn.length;Nt++)Tn+=String.fromCharCode(rn[Nt]);var ur=It();pn({data:Tn,addLength1:!0,objectId:ur}),Ve("endobj");var Xt=It();pn({data:xe(at.metadata.toUnicode),addLength1:!0,objectId:Xt}),Ve("endobj");var Kn=It();Ve("<<"),Ve("/Descent "+at.metadata.decender),Ve("/CapHeight "+at.metadata.capHeight),Ve("/StemV "+at.metadata.stemV),Ve("/Type /FontDescriptor"),Ve("/FontFile2 "+ur+" 0 R"),Ve("/Flags 96"),Ve("/FontBBox "+Be.API.PDFObject.convert(at.metadata.bbox)),Ve("/FontName /"+F(at.fontName)),Ve("/ItalicAngle "+at.metadata.italicAngle),Ve("/Ascent "+at.metadata.ascender),Ve(">>"),Ve("endobj"),at.objectNumber=It();for(var Fn=0;Fn<at.metadata.hmtx.widths.length;Fn++)at.metadata.hmtx.widths[Fn]=parseInt(at.metadata.hmtx.widths[Fn]*(1e3/at.metadata.head.unitsPerEm));Ve("<</Subtype/TrueType/Type/Font/ToUnicode "+Xt+" 0 R/BaseFont/"+F(at.fontName)+"/FontDescriptor "+Kn+" 0 R/Encoding/"+at.encoding+" /FirstChar 29 /LastChar 255 /Widths "+Be.API.PDFObject.convert(at.metadata.hmtx.widths)+">>"),Ve("endobj"),at.isAlreadyPutted=!0}}(Le)}]);var De=function(Fe){var at,Ve=Fe.text||"",It=Fe.x,pn=Fe.y,rn=Fe.options||{},Tn=Fe.mutex||{},Nt=Tn.pdfEscape,ur=Tn.activeFontKey,Xt=Tn.fonts,Kn=ur,Fn="",un=0,Sr="",Fr=Xt[Kn].encoding;if(Xt[Kn].encoding!=="Identity-H")return{text:Ve,x:It,y:pn,options:rn,mutex:Tn};for(Sr=Ve,Kn=ur,Array.isArray(Ve)&&(Sr=Ve[0]),un=0;un<Sr.length;un+=1)Xt[Kn].metadata.hasOwnProperty("cmap")&&(at=Xt[Kn].metadata.cmap.unicode.codeMap[Sr[un].charCodeAt(0)]),at||Sr[un].charCodeAt(0)<256&&Xt[Kn].metadata.hasOwnProperty("Unicode")?Fn+=Sr[un]:Fn+="";var ii="";return parseInt(Kn.slice(1))<14||Fr==="WinAnsiEncoding"?ii=Nt(Fn,Kn).split("").map(function(oi){return oi.charCodeAt(0).toString(16)}).join(""):Fr==="Identity-H"&&(ii=ye(Fn,Xt[Kn])),Tn.isHex=!0,{text:ii,x:It,y:pn,options:rn,mutex:Tn}};le.events.push(["postProcessText",function(Le){var Fe=Le.text||"",at=[],Ve={text:Fe,x:Le.x,y:Le.y,options:Le.options,mutex:Le.mutex};if(Array.isArray(Fe)){var It=0;for(It=0;It<Fe.length;It+=1)Array.isArray(Fe[It])&&Fe[It].length===3?at.push([De(Object.assign({},Ve,{text:Fe[It][0]})).text,Fe[It][1],Fe[It][2]]):at.push(De(Object.assign({},Ve,{text:Fe[It]})).text);Le.text=at}else Le.text=De(Object.assign({},Ve,{text:Fe})).text}])}(P),function(Be){var le=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};Be.existsFileInVFS=function(ye){return le.call(this),this.internal.vFS[ye]!==void 0},Be.addFileToVFS=function(ye,xe){return le.call(this),this.internal.vFS[ye]=xe,this},Be.getFileFromVFS=function(ye){return le.call(this),this.internal.vFS[ye]!==void 0?this.internal.vFS[ye]:null}}(P.API),function(Be){Be.__bidiEngine__=Be.prototype.__bidiEngine__=function(xe){var De,Le,Fe,at,Ve,It,pn,rn=le,Tn=[[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]],Nt=[[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]],ur={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},Xt={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},Kn=["(",")","(","<",">","<","[","]","[","{","}","{","\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"],Fn=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)$/),un=!1,Sr=0;this.__bidiEngine__={};var Fr=function(Wn){var xr=Wn.charCodeAt(),er=xr>>8,ci=Xt[er];return ci!==void 0?rn[256*ci+(255&xr)]:er===252||er===253?"AL":Fn.test(er)?"L":er===8?"R":"N"},ii=function(Wn){for(var xr,er=0;er<Wn.length;er++){if((xr=Fr(Wn.charAt(er)))==="L")return!1;if(xr==="R")return!0}return!1},oi=function(Wn,xr,er,ci){var qr,wi,Xr,Hi,ni=xr[ci];switch(ni){case"L":case"R":un=!1;break;case"N":case"AN":break;case"EN":un&&(ni="AN");break;case"AL":un=!0,ni="R";break;case"WS":ni="N";break;case"CS":ci<1||ci+1>=xr.length||(qr=er[ci-1])!=="EN"&&qr!=="AN"||(wi=xr[ci+1])!=="EN"&&wi!=="AN"?ni="N":un&&(wi="AN"),ni=wi===qr?wi:"N";break;case"ES":ni=(qr=ci>0?er[ci-1]:"B")==="EN"&&ci+1<xr.length&&xr[ci+1]==="EN"?"EN":"N";break;case"ET":if(ci>0&&er[ci-1]==="EN"){ni="EN";break}if(un){ni="N";break}for(Xr=ci+1,Hi=xr.length;Xr<Hi&&xr[Xr]==="ET";)Xr++;ni=Xr<Hi&&xr[Xr]==="EN"?"EN":"N";break;case"NSM":if(Fe&&!at){for(Hi=xr.length,Xr=ci+1;Xr<Hi&&xr[Xr]==="NSM";)Xr++;if(Xr<Hi){var Mi=Wn[ci],cr=Mi>=1425&&Mi<=2303||Mi===64286;if(qr=xr[Xr],cr&&(qr==="R"||qr==="AL")){ni="R";break}}}ni=ci<1||(qr=xr[ci-1])==="B"?"N":er[ci-1];break;case"B":un=!1,De=!0,ni=Sr;break;case"S":Le=!0,ni="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":un=!1;break;case"BN":ni="N"}return ni},ti=function(Wn,xr,er){var ci=Wn.split("");return er&&bi(ci,er,{hiLevel:Sr}),ci.reverse(),xr&&xr.reverse(),ci.join("")},bi=function(Wn,xr,er){var ci,qr,wi,Xr,Hi,ni=-1,Mi=Wn.length,cr=0,Pn=[],br=Sr?Nt:Tn,Br=[];for(un=!1,De=!1,Le=!1,qr=0;qr<Mi;qr++)Br[qr]=Fr(Wn[qr]);for(wi=0;wi<Mi;wi++){if(Hi=cr,Pn[wi]=oi(Wn,Br,Pn,wi),ci=240&(cr=br[Hi][ur[Pn[wi]]]),cr&=15,xr[wi]=Xr=br[cr][5],ci>0)if(ci===16){for(qr=ni;qr<wi;qr++)xr[qr]=1;ni=-1}else ni=-1;if(br[cr][6])ni===-1&&(ni=wi);else if(ni>-1){for(qr=ni;qr<wi;qr++)xr[qr]=Xr;ni=-1}Br[wi]==="B"&&(xr[wi]=0),er.hiLevel|=Xr}Le&&function(Qr,$r,hi){for(var fi=0;fi<hi;fi++)if(Qr[fi]==="S"){$r[fi]=Sr;for(var Ai=fi-1;Ai>=0&&Qr[Ai]==="WS";Ai--)$r[Ai]=Sr}}(Br,xr,Mi)},Mr=function(Wn,xr,er,ci,qr){if(!(qr.hiLevel<Wn)){if(Wn===1&&Sr===1&&!De)return xr.reverse(),void(er&&er.reverse());for(var wi,Xr,Hi,ni,Mi=xr.length,cr=0;cr<Mi;){if(ci[cr]>=Wn){for(Hi=cr+1;Hi<Mi&&ci[Hi]>=Wn;)Hi++;for(ni=cr,Xr=Hi-1;ni<Xr;ni++,Xr--)wi=xr[ni],xr[ni]=xr[Xr],xr[Xr]=wi,er&&(wi=er[ni],er[ni]=er[Xr],er[Xr]=wi);cr=Hi}cr++}}},Oi=function(Wn,xr,er){var ci=Wn.split(""),qr={hiLevel:Sr};return er||(er=[]),bi(ci,er,qr),function(wi,Xr,Hi){if(Hi.hiLevel!==0&&pn)for(var ni,Mi=0;Mi<wi.length;Mi++)Xr[Mi]===1&&(ni=Kn.indexOf(wi[Mi]))>=0&&(wi[Mi]=Kn[ni+1])}(ci,er,qr),Mr(2,ci,xr,er,qr),Mr(1,ci,xr,er,qr),ci.join("")};return this.__bidiEngine__.doBidiReorder=function(Ar,Wn,xr){if(function(ci,qr){if(qr)for(var wi=0;wi<ci.length;wi++)qr[wi]=wi;at===void 0&&(at=ii(ci)),It===void 0&&(It=ii(ci))}(Ar,Wn),Fe||!Ve||It)if(Fe&&Ve&&at^It)Sr=at?1:0,Ar=ti(Ar,Wn,xr);else if(!Fe&&Ve&&It)Sr=at?1:0,Ar=Oi(Ar,Wn,xr),Ar=ti(Ar,Wn);else if(!Fe||at||Ve||It){if(Fe&&!Ve&&at^It)Ar=ti(Ar,Wn),at?(Sr=0,Ar=Oi(Ar,Wn,xr)):(Sr=1,Ar=Oi(Ar,Wn,xr),Ar=ti(Ar,Wn));else if(Fe&&at&&!Ve&&It)Sr=1,Ar=Oi(Ar,Wn,xr),Ar=ti(Ar,Wn);else if(!Fe&&!Ve&&at^It){var er=pn;at?(Sr=1,Ar=Oi(Ar,Wn,xr),Sr=0,pn=!1,Ar=Oi(Ar,Wn,xr),pn=er):(Sr=0,Ar=Oi(Ar,Wn,xr),Ar=ti(Ar,Wn),Sr=1,pn=!1,Ar=Oi(Ar,Wn,xr),pn=er,Ar=ti(Ar,Wn))}}else Sr=0,Ar=Oi(Ar,Wn,xr);else Sr=at?1:0,Ar=Oi(Ar,Wn,xr);return Ar},this.__bidiEngine__.setOptions=function(Ar){Ar&&(Fe=Ar.isInputVisual,Ve=Ar.isOutputVisual,at=Ar.isInputRtl,It=Ar.isOutputRtl,pn=Ar.isSymmetricSwapping)},this.__bidiEngine__.setOptions(xe),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"],ye=new Be.__bidiEngine__({isInputVisual:!0});Be.API.events.push(["postProcessText",function(xe){var De=xe.text,Le=(xe.x,xe.y,xe.options||{}),Fe=(xe.mutex,Le.lang,[]);if(Le.isInputVisual=typeof Le.isInputVisual!="boolean"||Le.isInputVisual,ye.setOptions(Le),Object.prototype.toString.call(De)==="[object Array]"){var at=0;for(Fe=[],at=0;at<De.length;at+=1)Object.prototype.toString.call(De[at])==="[object Array]"?Fe.push([ye.doBidiReorder(De[at][0]),De[at][1],De[at][2]]):Fe.push([ye.doBidiReorder(De[at])]);xe.text=Fe}else xe.text=ye.doBidiReorder(De);ye.setOptions({isInputVisual:!0})}])}(P),P.API.TTFFont=function(){function Be(le){var ye;if(this.rawData=le,ye=this.contents=new Lt(le),this.contents.pos=4,ye.readString(4)==="ttcf")throw new Error("TTCF not supported.");ye.pos=0,this.parse(),this.subset=new Pi(this),this.registerTTF()}return Be.open=function(le){return new Be(le)},Be.prototype.parse=function(){return this.directory=new $e(this.contents),this.head=new Ht(this),this.name=new Gt(this),this.cmap=new Ct(this),this.toUnicode={},this.hhea=new nt(this),this.maxp=new Qn(this),this.hmtx=new Gn(this),this.post=new sn(this),this.os2=new Ot(this),this.loca=new vi(this),this.glyf=new Nr(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]},Be.prototype.registerTTF=function(){var le,ye,xe,De,Le;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var Fe,at,Ve,It;for(It=[],Fe=0,at=(Ve=this.bbox).length;Fe<at;Fe++)le=Ve[Fe],It.push(Math.round(le*this.scaleFactor));return It}.call(this),this.stemV=0,this.post.exists?(xe=255&(De=this.post.italic_angle),(32768&(ye=De>>16))!=0&&(ye=-(1+(65535^ye))),this.italicAngle=+(ye+"."+xe)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(Le=this.familyClass)===1||Le===2||Le===3||Le===4||Le===5||Le===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")},Be.prototype.characterToGlyph=function(le){var ye;return((ye=this.cmap.unicode)!=null?ye.codeMap[le]:void 0)||0},Be.prototype.widthOfGlyph=function(le){var ye;return ye=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(le).advance*ye},Be.prototype.widthOfString=function(le,ye,xe){var De,Le,Fe,at;for(Fe=0,Le=0,at=(le=""+le).length;0<=at?Le<at:Le>at;Le=0<=at?++Le:--Le)De=le.charCodeAt(Le),Fe+=this.widthOfGlyph(this.characterToGlyph(De))+xe*(1e3/ye)||0;return Fe*(ye/1e3)},Be.prototype.lineHeight=function(le,ye){var xe;return ye==null&&(ye=!1),xe=ye?this.lineGap:0,(this.ascender+xe-this.decender)/1e3*le},Be}();var lr,Lt=function(){function Be(le){this.data=le!=null?le:[],this.pos=0,this.length=this.data.length}return Be.prototype.readByte=function(){return this.data[this.pos++]},Be.prototype.writeByte=function(le){return this.data[this.pos++]=le},Be.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},Be.prototype.writeUInt32=function(le){return this.writeByte(le>>>24&255),this.writeByte(le>>16&255),this.writeByte(le>>8&255),this.writeByte(255&le)},Be.prototype.readInt32=function(){var le;return(le=this.readUInt32())>=2147483648?le-4294967296:le},Be.prototype.writeInt32=function(le){return le<0&&(le+=4294967296),this.writeUInt32(le)},Be.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},Be.prototype.writeUInt16=function(le){return this.writeByte(le>>8&255),this.writeByte(255&le)},Be.prototype.readInt16=function(){var le;return(le=this.readUInt16())>=32768?le-65536:le},Be.prototype.writeInt16=function(le){return le<0&&(le+=65536),this.writeUInt16(le)},Be.prototype.readString=function(le){var ye,xe;for(xe=[],ye=0;0<=le?ye<le:ye>le;ye=0<=le?++ye:--ye)xe[ye]=String.fromCharCode(this.readByte());return xe.join("")},Be.prototype.writeString=function(le){var ye,xe,De;for(De=[],ye=0,xe=le.length;0<=xe?ye<xe:ye>xe;ye=0<=xe?++ye:--ye)De.push(this.writeByte(le.charCodeAt(ye)));return De},Be.prototype.readShort=function(){return this.readInt16()},Be.prototype.writeShort=function(le){return this.writeInt16(le)},Be.prototype.readLongLong=function(){var le,ye,xe,De,Le,Fe,at,Ve;return le=this.readByte(),ye=this.readByte(),xe=this.readByte(),De=this.readByte(),Le=this.readByte(),Fe=this.readByte(),at=this.readByte(),Ve=this.readByte(),128&le?-1*(72057594037927940*(255^le)+281474976710656*(255^ye)+1099511627776*(255^xe)+4294967296*(255^De)+16777216*(255^Le)+65536*(255^Fe)+256*(255^at)+(255^Ve)+1):72057594037927940*le+281474976710656*ye+1099511627776*xe+4294967296*De+16777216*Le+65536*Fe+256*at+Ve},Be.prototype.writeLongLong=function(le){var ye,xe;return ye=Math.floor(le/4294967296),xe=4294967295&le,this.writeByte(ye>>24&255),this.writeByte(ye>>16&255),this.writeByte(ye>>8&255),this.writeByte(255&ye),this.writeByte(xe>>24&255),this.writeByte(xe>>16&255),this.writeByte(xe>>8&255),this.writeByte(255&xe)},Be.prototype.readInt=function(){return this.readInt32()},Be.prototype.writeInt=function(le){return this.writeInt32(le)},Be.prototype.read=function(le){var ye,xe;for(ye=[],xe=0;0<=le?xe<le:xe>le;xe=0<=le?++xe:--xe)ye.push(this.readByte());return ye},Be.prototype.write=function(le){var ye,xe,De,Le;for(Le=[],xe=0,De=le.length;xe<De;xe++)ye=le[xe],Le.push(this.writeByte(ye));return Le},Be}(),$e=function(){var Be;function le(ye){var xe,De,Le;for(this.scalarType=ye.readInt(),this.tableCount=ye.readShort(),this.searchRange=ye.readShort(),this.entrySelector=ye.readShort(),this.rangeShift=ye.readShort(),this.tables={},De=0,Le=this.tableCount;0<=Le?De<Le:De>Le;De=0<=Le?++De:--De)xe={tag:ye.readString(4),checksum:ye.readInt(),offset:ye.readInt(),length:ye.readInt()},this.tables[xe.tag]=xe}return le.prototype.encode=function(ye){var xe,De,Le,Fe,at,Ve,It,pn,rn,Tn,Nt,ur,Xt;for(Xt in Nt=Object.keys(ye).length,Ve=Math.log(2),rn=16*Math.floor(Math.log(Nt)/Ve),Fe=Math.floor(rn/Ve),pn=16*Nt-rn,(De=new Lt).writeInt(this.scalarType),De.writeShort(Nt),De.writeShort(rn),De.writeShort(Fe),De.writeShort(pn),Le=16*Nt,It=De.pos+Le,at=null,ur=[],ye)for(Tn=ye[Xt],De.writeString(Xt),De.writeInt(Be(Tn)),De.writeInt(It),De.writeInt(Tn.length),ur=ur.concat(Tn),Xt==="head"&&(at=It),It+=Tn.length;It%4;)ur.push(0),It++;return De.write(ur),xe=2981146554-Be(De.data),De.pos=at+8,De.writeUInt32(xe),De.data},Be=function(xe){var De,Le,Fe,at;for(xe=Or.call(xe);xe.length%4;)xe.push(0);for(Fe=new Lt(xe),Le=0,De=0,at=xe.length;De<at;De=De+=4)Le+=Fe.readUInt32();return 4294967295&Le},le}(),Qe={}.hasOwnProperty,kt=function(le,ye){for(var xe in ye)Qe.call(ye,xe)&&(le[xe]=ye[xe]);function De(){this.constructor=le}return De.prototype=ye.prototype,le.prototype=new De,le.__super__=ye.prototype,le};lr=function(){function Be(le){var ye;this.file=le,ye=this.file.directory.tables[this.tag],this.exists=!!ye,ye&&(this.offset=ye.offset,this.length=ye.length,this.parse(this.file.contents))}return Be.prototype.parse=function(){},Be.prototype.encode=function(){},Be.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},Be}();var Ht=function(Be){function le(){return le.__super__.constructor.apply(this,arguments)}return kt(le,lr),le.prototype.tag="head",le.prototype.parse=function(ye){return ye.pos=this.offset,this.version=ye.readInt(),this.revision=ye.readInt(),this.checkSumAdjustment=ye.readInt(),this.magicNumber=ye.readInt(),this.flags=ye.readShort(),this.unitsPerEm=ye.readShort(),this.created=ye.readLongLong(),this.modified=ye.readLongLong(),this.xMin=ye.readShort(),this.yMin=ye.readShort(),this.xMax=ye.readShort(),this.yMax=ye.readShort(),this.macStyle=ye.readShort(),this.lowestRecPPEM=ye.readShort(),this.fontDirectionHint=ye.readShort(),this.indexToLocFormat=ye.readShort(),this.glyphDataFormat=ye.readShort()},le.prototype.encode=function(ye){var xe;return(xe=new Lt).writeInt(this.version),xe.writeInt(this.revision),xe.writeInt(this.checkSumAdjustment),xe.writeInt(this.magicNumber),xe.writeShort(this.flags),xe.writeShort(this.unitsPerEm),xe.writeLongLong(this.created),xe.writeLongLong(this.modified),xe.writeShort(this.xMin),xe.writeShort(this.yMin),xe.writeShort(this.xMax),xe.writeShort(this.yMax),xe.writeShort(this.macStyle),xe.writeShort(this.lowestRecPPEM),xe.writeShort(this.fontDirectionHint),xe.writeShort(ye),xe.writeShort(this.glyphDataFormat),xe.data},le}(),ot=function(){function Be(le,ye){var xe,De,Le,Fe,at,Ve,It,pn,rn,Tn,Nt,ur,Xt,Kn,Fn,un,Sr;switch(this.platformID=le.readUInt16(),this.encodingID=le.readShort(),this.offset=ye+le.readInt(),rn=le.pos,le.pos=this.offset,this.format=le.readUInt16(),this.length=le.readUInt16(),this.language=le.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(Ve=0;Ve<256;++Ve)this.codeMap[Ve]=le.readByte();break;case 4:for(Nt=le.readUInt16(),Tn=Nt/2,le.pos+=6,Le=function(){var Fr,ii;for(ii=[],Ve=Fr=0;0<=Tn?Fr<Tn:Fr>Tn;Ve=0<=Tn?++Fr:--Fr)ii.push(le.readUInt16());return ii}(),le.pos+=2,Xt=function(){var Fr,ii;for(ii=[],Ve=Fr=0;0<=Tn?Fr<Tn:Fr>Tn;Ve=0<=Tn?++Fr:--Fr)ii.push(le.readUInt16());return ii}(),It=function(){var Fr,ii;for(ii=[],Ve=Fr=0;0<=Tn?Fr<Tn:Fr>Tn;Ve=0<=Tn?++Fr:--Fr)ii.push(le.readUInt16());return ii}(),pn=function(){var Fr,ii;for(ii=[],Ve=Fr=0;0<=Tn?Fr<Tn:Fr>Tn;Ve=0<=Tn?++Fr:--Fr)ii.push(le.readUInt16());return ii}(),De=(this.length-le.pos+this.offset)/2,at=function(){var Fr,ii;for(ii=[],Ve=Fr=0;0<=De?Fr<De:Fr>De;Ve=0<=De?++Fr:--Fr)ii.push(le.readUInt16());return ii}(),Ve=Fn=0,Sr=Le.length;Fn<Sr;Ve=++Fn)for(Kn=Le[Ve],xe=un=ur=Xt[Ve];ur<=Kn?un<=Kn:un>=Kn;xe=ur<=Kn?++un:--un)pn[Ve]===0?Fe=xe+It[Ve]:(Fe=at[pn[Ve]/2+(xe-ur)-(Tn-Ve)]||0)!==0&&(Fe+=It[Ve]),this.codeMap[xe]=65535&Fe}le.pos=rn}return Be.encode=function(le,ye){var xe,De,Le,Fe,at,Ve,It,pn,rn,Tn,Nt,ur,Xt,Kn,Fn,un,Sr,Fr,ii,oi,ti,bi,Mr,Oi,Ar,Wn,xr,er,ci,qr,wi,Xr,Hi,ni,Mi,cr,Pn,br,Br,Qr,$r,hi,fi,Ai,Wi,ra;switch(er=new Lt,Fe=Object.keys(le).sort(function($i,Ha){return $i-Ha}),ye){case"macroman":for(Xt=0,Kn=function(){var $i=[];for(ur=0;ur<256;++ur)$i.push(0);return $i}(),un={0:0},Le={},ci=0,Hi=Fe.length;ci<Hi;ci++)un[fi=le[De=Fe[ci]]]==null&&(un[fi]=++Xt),Le[De]={old:le[De],new:un[le[De]]},Kn[De]=un[le[De]];return er.writeUInt16(1),er.writeUInt16(0),er.writeUInt32(12),er.writeUInt16(0),er.writeUInt16(262),er.writeUInt16(0),er.write(Kn),{charMap:Le,subtable:er.data,maxGlyphID:Xt+1};case"unicode":for(Wn=[],rn=[],Sr=0,un={},xe={},Fn=It=null,qr=0,ni=Fe.length;qr<ni;qr++)un[ii=le[De=Fe[qr]]]==null&&(un[ii]=++Sr),xe[De]={old:ii,new:un[ii]},at=un[ii]-De,Fn!=null&&at===It||(Fn&&rn.push(Fn),Wn.push(De),It=at),Fn=De;for(Fn&&rn.push(Fn),rn.push(65535),Wn.push(65535),Oi=2*(Mr=Wn.length),bi=2*Math.pow(Math.log(Mr)/Math.LN2,2),Tn=Math.log(bi/2)/Math.LN2,ti=2*Mr-bi,Ve=[],oi=[],Nt=[],ur=wi=0,Mi=Wn.length;wi<Mi;ur=++wi){if(Ar=Wn[ur],pn=rn[ur],Ar===65535){Ve.push(0),oi.push(0);break}if(Ar-(xr=xe[Ar].new)>=32768)for(Ve.push(0),oi.push(2*(Nt.length+Mr-ur)),De=Xr=Ar;Ar<=pn?Xr<=pn:Xr>=pn;De=Ar<=pn?++Xr:--Xr)Nt.push(xe[De].new);else Ve.push(xr-Ar),oi.push(0)}for(er.writeUInt16(3),er.writeUInt16(1),er.writeUInt32(12),er.writeUInt16(4),er.writeUInt16(16+8*Mr+2*Nt.length),er.writeUInt16(0),er.writeUInt16(Oi),er.writeUInt16(bi),er.writeUInt16(Tn),er.writeUInt16(ti),$r=0,cr=rn.length;$r<cr;$r++)De=rn[$r],er.writeUInt16(De);for(er.writeUInt16(0),hi=0,Pn=Wn.length;hi<Pn;hi++)De=Wn[hi],er.writeUInt16(De);for(Ai=0,br=Ve.length;Ai<br;Ai++)at=Ve[Ai],er.writeUInt16(at);for(Wi=0,Br=oi.length;Wi<Br;Wi++)Fr=oi[Wi],er.writeUInt16(Fr);for(ra=0,Qr=Nt.length;ra<Qr;ra++)Xt=Nt[ra],er.writeUInt16(Xt);return{charMap:xe,subtable:er.data,maxGlyphID:Sr+1}}},Be}(),Ct=function(Be){function le(){return le.__super__.constructor.apply(this,arguments)}return kt(le,lr),le.prototype.tag="cmap",le.prototype.parse=function(ye){var xe,De,Le;for(ye.pos=this.offset,this.version=ye.readUInt16(),Le=ye.readUInt16(),this.tables=[],this.unicode=null,De=0;0<=Le?De<Le:De>Le;De=0<=Le?++De:--De)xe=new ot(ye,this.offset),this.tables.push(xe),xe.isUnicode&&this.unicode==null&&(this.unicode=xe);return!0},le.encode=function(ye,xe){var De,Le;return xe==null&&(xe="macroman"),De=ot.encode(ye,xe),(Le=new Lt).writeUInt16(0),Le.writeUInt16(1),De.table=Le.data.concat(De.subtable),De},le}(),nt=function(Be){function le(){return le.__super__.constructor.apply(this,arguments)}return kt(le,lr),le.prototype.tag="hhea",le.prototype.parse=function(ye){return ye.pos=this.offset,this.version=ye.readInt(),this.ascender=ye.readShort(),this.decender=ye.readShort(),this.lineGap=ye.readShort(),this.advanceWidthMax=ye.readShort(),this.minLeftSideBearing=ye.readShort(),this.minRightSideBearing=ye.readShort(),this.xMaxExtent=ye.readShort(),this.caretSlopeRise=ye.readShort(),this.caretSlopeRun=ye.readShort(),this.caretOffset=ye.readShort(),ye.pos+=8,this.metricDataFormat=ye.readShort(),this.numberOfMetrics=ye.readUInt16()},le}(),Ot=function(Be){function le(){return le.__super__.constructor.apply(this,arguments)}return kt(le,lr),le.prototype.tag="OS/2",le.prototype.parse=function(ye){if(ye.pos=this.offset,this.version=ye.readUInt16(),this.averageCharWidth=ye.readShort(),this.weightClass=ye.readUInt16(),this.widthClass=ye.readUInt16(),this.type=ye.readShort(),this.ySubscriptXSize=ye.readShort(),this.ySubscriptYSize=ye.readShort(),this.ySubscriptXOffset=ye.readShort(),this.ySubscriptYOffset=ye.readShort(),this.ySuperscriptXSize=ye.readShort(),this.ySuperscriptYSize=ye.readShort(),this.ySuperscriptXOffset=ye.readShort(),this.ySuperscriptYOffset=ye.readShort(),this.yStrikeoutSize=ye.readShort(),this.yStrikeoutPosition=ye.readShort(),this.familyClass=ye.readShort(),this.panose=function(){var xe,De;for(De=[],xe=0;xe<10;++xe)De.push(ye.readByte());return De}(),this.charRange=function(){var xe,De;for(De=[],xe=0;xe<4;++xe)De.push(ye.readInt());return De}(),this.vendorID=ye.readString(4),this.selection=ye.readShort(),this.firstCharIndex=ye.readShort(),this.lastCharIndex=ye.readShort(),this.version>0&&(this.ascent=ye.readShort(),this.descent=ye.readShort(),this.lineGap=ye.readShort(),this.winAscent=ye.readShort(),this.winDescent=ye.readShort(),this.codePageRange=function(){var xe,De;for(De=[],xe=0;xe<2;xe=++xe)De.push(ye.readInt());return De}(),this.version>1))return this.xHeight=ye.readShort(),this.capHeight=ye.readShort(),this.defaultChar=ye.readShort(),this.breakChar=ye.readShort(),this.maxContext=ye.readShort()},le}(),sn=function(Be){function le(){return le.__super__.constructor.apply(this,arguments)}return kt(le,lr),le.prototype.tag="post",le.prototype.parse=function(ye){var xe,De,Le;switch(ye.pos=this.offset,this.format=ye.readInt(),this.italicAngle=ye.readInt(),this.underlinePosition=ye.readShort(),this.underlineThickness=ye.readShort(),this.isFixedPitch=ye.readInt(),this.minMemType42=ye.readInt(),this.maxMemType42=ye.readInt(),this.minMemType1=ye.readInt(),this.maxMemType1=ye.readInt(),this.format){case 65536:break;case 131072:var Fe;for(De=ye.readUInt16(),this.glyphNameIndex=[],Fe=0;0<=De?Fe<De:Fe>De;Fe=0<=De?++Fe:--Fe)this.glyphNameIndex.push(ye.readUInt16());for(this.names=[],Le=[];ye.pos<this.offset+this.length;)xe=ye.readByte(),Le.push(this.names.push(ye.readString(xe)));return Le;case 151552:return De=ye.readUInt16(),this.offsets=ye.read(De);case 196608:break;case 262144:return this.map=function(){var at,Ve,It;for(It=[],Fe=at=0,Ve=this.file.maxp.numGlyphs;0<=Ve?at<Ve:at>Ve;Fe=0<=Ve?++at:--at)It.push(ye.readUInt32());return It}.call(this)}},le}(),Zt=function(le,ye){this.raw=le,this.length=le.length,this.platformID=ye.platformID,this.encodingID=ye.encodingID,this.languageID=ye.languageID},Gt=function(Be){function le(){return le.__super__.constructor.apply(this,arguments)}return kt(le,lr),le.prototype.tag="name",le.prototype.parse=function(ye){var xe,De,Le,Fe,at,Ve,It,pn,rn,Tn,Nt;for(ye.pos=this.offset,ye.readShort(),xe=ye.readShort(),Ve=ye.readShort(),De=[],Fe=0;0<=xe?Fe<xe:Fe>xe;Fe=0<=xe?++Fe:--Fe)De.push({platformID:ye.readShort(),encodingID:ye.readShort(),languageID:ye.readShort(),nameID:ye.readShort(),length:ye.readShort(),offset:this.offset+Ve+ye.readShort()});for(It={},Fe=rn=0,Tn=De.length;rn<Tn;Fe=++rn)Le=De[Fe],ye.pos=Le.offset,pn=ye.readString(Le.length),at=new Zt(pn,Le),It[Nt=Le.nameID]==null&&(It[Nt]=[]),It[Le.nameID].push(at);this.strings=It,this.copyright=It[0],this.fontFamily=It[1],this.fontSubfamily=It[2],this.uniqueSubfamily=It[3],this.fontName=It[4],this.version=It[5];try{this.postscriptName=It[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(ur){this.postscriptName=It[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=It[7],this.manufacturer=It[8],this.designer=It[9],this.description=It[10],this.vendorUrl=It[11],this.designerUrl=It[12],this.license=It[13],this.licenseUrl=It[14],this.preferredFamily=It[15],this.preferredSubfamily=It[17],this.compatibleFull=It[18],this.sampleText=It[19]},le}(),Qn=function(Be){function le(){return le.__super__.constructor.apply(this,arguments)}return kt(le,lr),le.prototype.tag="maxp",le.prototype.parse=function(ye){return ye.pos=this.offset,this.version=ye.readInt(),this.numGlyphs=ye.readUInt16(),this.maxPoints=ye.readUInt16(),this.maxContours=ye.readUInt16(),this.maxCompositePoints=ye.readUInt16(),this.maxComponentContours=ye.readUInt16(),this.maxZones=ye.readUInt16(),this.maxTwilightPoints=ye.readUInt16(),this.maxStorage=ye.readUInt16(),this.maxFunctionDefs=ye.readUInt16(),this.maxInstructionDefs=ye.readUInt16(),this.maxStackElements=ye.readUInt16(),this.maxSizeOfInstructions=ye.readUInt16(),this.maxComponentElements=ye.readUInt16(),this.maxComponentDepth=ye.readUInt16()},le}(),Gn=function(Be){function le(){return le.__super__.constructor.apply(this,arguments)}return kt(le,lr),le.prototype.tag="hmtx",le.prototype.parse=function(ye){var xe,De,Le,Fe,at,Ve,It;for(ye.pos=this.offset,this.metrics=[],xe=0,Ve=this.file.hhea.numberOfMetrics;0<=Ve?xe<Ve:xe>Ve;xe=0<=Ve?++xe:--xe)this.metrics.push({advance:ye.readUInt16(),lsb:ye.readInt16()});for(Le=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var pn,rn;for(rn=[],xe=pn=0;0<=Le?pn<Le:pn>Le;xe=0<=Le?++pn:--pn)rn.push(ye.readInt16());return rn}(),this.widths=function(){var pn,rn,Tn,Nt;for(Nt=[],pn=0,rn=(Tn=this.metrics).length;pn<rn;pn++)Fe=Tn[pn],Nt.push(Fe.advance);return Nt}.call(this),De=this.widths[this.widths.length-1],It=[],xe=at=0;0<=Le?at<Le:at>Le;xe=0<=Le?++at:--at)It.push(this.widths.push(De));return It},le.prototype.forGlyph=function(ye){return ye in this.metrics?this.metrics[ye]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[ye-this.metrics.length]}},le}(),Or=[].slice,Nr=function(Be){function le(){return le.__super__.constructor.apply(this,arguments)}return kt(le,lr),le.prototype.tag="glyf",le.prototype.parse=function(){return this.cache={}},le.prototype.glyphFor=function(ye){var xe,De,Le,Fe,at,Ve,It,pn,rn,Tn;return ye in this.cache?this.cache[ye]:(Fe=this.file.loca,xe=this.file.contents,De=Fe.indexOf(ye),(Le=Fe.lengthOf(ye))===0?this.cache[ye]=null:(xe.pos=this.offset+De,at=(Ve=new Lt(xe.read(Le))).readShort(),pn=Ve.readShort(),Tn=Ve.readShort(),It=Ve.readShort(),rn=Ve.readShort(),this.cache[ye]=at===-1?new ei(Ve,pn,Tn,It,rn):new Kr(Ve,at,pn,Tn,It,rn),this.cache[ye]))},le.prototype.encode=function(ye,xe,De){var Le,Fe,at,Ve,It;for(at=[],Fe=[],Ve=0,It=xe.length;Ve<It;Ve++)Le=ye[xe[Ve]],Fe.push(at.length),Le&&(at=at.concat(Le.encode(De)));return Fe.push(at.length),{table:at,offsets:Fe}},le}(),Kr=function(){function Be(le,ye,xe,De,Le,Fe){this.raw=le,this.numberOfContours=ye,this.xMin=xe,this.yMin=De,this.xMax=Le,this.yMax=Fe,this.compound=!1}return Be.prototype.encode=function(){return this.raw.data},Be}(),ei=function(){function Be(le,ye,xe,De,Le){var Fe,at;for(this.raw=le,this.xMin=ye,this.yMin=xe,this.xMax=De,this.yMax=Le,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],Fe=this.raw;at=Fe.readShort(),this.glyphOffsets.push(Fe.pos),this.glyphIDs.push(Fe.readUInt16()),32&at;)Fe.pos+=1&at?4:2,128&at?Fe.pos+=8:64&at?Fe.pos+=4:8&at&&(Fe.pos+=2)}return Be.prototype.encode=function(){var le,ye,xe;for(ye=new Lt(Or.call(this.raw.data)),le=0,xe=this.glyphIDs.length;le<xe;++le)ye.pos=this.glyphOffsets[le];return ye.data},Be}(),vi=function(Be){function le(){return le.__super__.constructor.apply(this,arguments)}return kt(le,lr),le.prototype.tag="loca",le.prototype.parse=function(ye){var xe,De;return ye.pos=this.offset,xe=this.file.head.indexToLocFormat,this.offsets=xe===0?function(){var Le,Fe;for(Fe=[],De=0,Le=this.length;De<Le;De+=2)Fe.push(2*ye.readUInt16());return Fe}.call(this):function(){var Le,Fe;for(Fe=[],De=0,Le=this.length;De<Le;De+=4)Fe.push(ye.readUInt32());return Fe}.call(this)},le.prototype.indexOf=function(ye){return this.offsets[ye]},le.prototype.lengthOf=function(ye){return this.offsets[ye+1]-this.offsets[ye]},le.prototype.encode=function(ye,xe){for(var De=new Uint32Array(this.offsets.length),Le=0,Fe=0,at=0;at<De.length;++at)if(De[at]=Le,Fe<xe.length&&xe[Fe]==at){++Fe,De[at]=Le;var Ve=this.offsets[at],It=this.offsets[at+1]-Ve;It>0&&(Le+=It)}for(var pn=new Array(4*De.length),rn=0;rn<De.length;++rn)pn[4*rn+3]=255&De[rn],pn[4*rn+2]=(65280&De[rn])>>8,pn[4*rn+1]=(16711680&De[rn])>>16,pn[4*rn]=(4278190080&De[rn])>>24;return pn},le}(),Pi=function(){function Be(le){this.font=le,this.subset={},this.unicodes={},this.next=33}return Be.prototype.generateCmap=function(){var le,ye,xe,De,Le;for(ye in De=this.font.cmap.tables[0].codeMap,le={},Le=this.subset)xe=Le[ye],le[ye]=De[xe];return le},Be.prototype.glyphsFor=function(le){var ye,xe,De,Le,Fe,at,Ve;for(De={},Fe=0,at=le.length;Fe<at;Fe++)De[Le=le[Fe]]=this.font.glyf.glyphFor(Le);for(Le in ye=[],De)((xe=De[Le])!=null?xe.compound:void 0)&&ye.push.apply(ye,xe.glyphIDs);if(ye.length>0)for(Le in Ve=this.glyphsFor(ye))xe=Ve[Le],De[Le]=xe;return De},Be.prototype.encode=function(le,ye){var xe,De,Le,Fe,at,Ve,It,pn,rn,Tn,Nt,ur,Xt,Kn,Fn;for(De in xe=Ct.encode(this.generateCmap(),"unicode"),Fe=this.glyphsFor(le),Nt={0:0},Fn=xe.charMap)Nt[(Ve=Fn[De]).old]=Ve.new;for(ur in Tn=xe.maxGlyphID,Fe)ur in Nt||(Nt[ur]=Tn++);return pn=function(un){var Sr,Fr;for(Sr in Fr={},un)Fr[un[Sr]]=Sr;return Fr}(Nt),rn=Object.keys(pn).sort(function(un,Sr){return un-Sr}),Xt=function(){var un,Sr,Fr;for(Fr=[],un=0,Sr=rn.length;un<Sr;un++)at=rn[un],Fr.push(pn[at]);return Fr}(),Le=this.font.glyf.encode(Fe,Xt,Nt),It=this.font.loca.encode(Le.offsets,Xt),Kn={cmap:this.font.cmap.raw(),glyf:Le.table,loca:It,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(ye)},this.font.os2.exists&&(Kn["OS/2"]=this.font.os2.raw()),this.font.directory.encode(Kn)},Be}();P.API.PDFObject=function(){var Be;function le(){}return Be=function(xe,De){return(Array(De+1).join("0")+xe).slice(-De)},le.convert=function(ye){var xe,De,Le,Fe;if(Array.isArray(ye))return"["+function(){var at,Ve,It;for(It=[],at=0,Ve=ye.length;at<Ve;at++)xe=ye[at],It.push(le.convert(xe));return It}().join(" ")+"]";if(typeof ye=="string")return"/"+ye;if(ye!=null?ye.isString:void 0)return"("+ye+")";if(ye instanceof Date)return"(D:"+Be(ye.getUTCFullYear(),4)+Be(ye.getUTCMonth(),2)+Be(ye.getUTCDate(),2)+Be(ye.getUTCHours(),2)+Be(ye.getUTCMinutes(),2)+Be(ye.getUTCSeconds(),2)+"Z)";if({}.toString.call(ye)==="[object Object]"){for(De in Le=["<<"],ye)Fe=ye[De],Le.push("/"+De+" "+le.convert(Fe));return Le.push(">>"),Le.join(`
|
|
|
`)}return""+ye},le}(),U.default=P}.call(this,e("IyRk"))},e5VY:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=L(e("YNAk"));function L(v){return v&&v.__esModule?v:{default:v}}var g=y;U.default=g,te.exports=g},eIcI:function(te,U,e){var y=e("bYtY"),L=e("hM6l");function g(A,b,m){L.call(this,A,b,m),this.type="value",this.angle=0,this.name="",this.model}y.inherits(g,L);var v=g;te.exports=v},eJH7:function(te,U,e){var y=e("bYtY");function L(g){var v=g.polar;if(v){y.isArray(v)||(v=[v]);var A=[];y.each(v,function(b,m){b.indicator?(b.type&&!b.shape&&(b.shape=b.type),g.radar=g.radar||[],y.isArray(g.radar)||(g.radar=[g.radar]),g.radar.push(b)):A.push(b)}),g.polar=A}y.each(g.series,function(b){b&&b.type==="radar"&&b.polarIndex&&(b.radarIndex=b.polarIndex)})}te.exports=L},ePAk:function(te,U,e){var y=e("ProS");e("2fGM");var L=y.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(g){var v,A=this.ecModel;return A.eachComponent(g,function(b){b.getCoordSysModel()===this&&(v=b)},this),v},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});te.exports=L},eRkO:function(te,U,e){var y=e("+TT/"),L=y.getLayoutRect,g=y.box,v=y.positionElement,A=e("7aKB"),b=e("IwbS");function m(r,a,s){var i=a.getBoxLayoutParams(),n=a.get("padding"),l={width:s.getWidth(),height:s.getHeight()},t=L(i,l,n);g(a.get("orient"),r,a.get("itemGap"),t.width,t.height),v(r,i,l,n)}function d(r,a){var s=A.normalizeCssArray(a.get("padding")),i=a.getItemStyle(["color","opacity"]);i.fill=a.get("backgroundColor");var r=new b.Rect({shape:{x:r.x-s[3],y:r.y-s[0],width:r.width+s[1]+s[3],height:r.height+s[0]+s[2],r:a.get("borderRadius")},style:i,silent:!0,z2:-1});return r}U.layout=m,U.makeBackground=d},eS4l:function(te,U,e){e("HM/N"),e("FNN5")},eUgh:function(te,U){function e(y,L){for(var g=-1,v=y==null?0:y.length,A=Array(v);++g<v;)A[g]=L(y[g],g,y);return A}te.exports=e},ewwo:function(te,U,e){var y=e("bMXI"),L=e("+TT/"),g=L.getLayoutRect,v=e("4mN7");function A(m,d,r){var a=m.getBoxLayoutParams();return a.aspect=r,g(a,{width:d.getWidth(),height:d.getHeight()})}function b(m,d){var r=[];return m.eachSeriesByType("graph",function(a){var s=a.get("coordinateSystem");if(!s||s==="view"){var i=a.getData(),n=i.mapArray(function(I){var C=i.getItemModel(I);return[+C.get("x"),+C.get("y")]}),l=[],t=[];v.fromPoints(n,l,t),t[0]-l[0]===0&&(t[0]+=1,l[0]-=1),t[1]-l[1]===0&&(t[1]+=1,l[1]-=1);var u=(t[0]-l[0])/(t[1]-l[1]),o=A(a,d,u);isNaN(u)&&(l=[o.x,o.y],t=[o.x+o.width,o.y+o.height]);var c=t[0]-l[0],h=t[1]-l[1],f=o.width,w=o.height,x=a.coordinateSystem=new y;x.zoomLimit=a.get("scaleLimit"),x.setBoundingRect(l[0],l[1],c,h),x.setViewRect(o.x,o.y,f,w),x.setCenter(a.get("center")),x.setZoom(a.get("zoom")),r.push(x)}}),r}te.exports=b},f1nB:function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("ProS"),v=e("bYtY"),A=e("4NO4"),b=e("IwbS"),m=e("+TT/"),d=e("OELB"),r=d.parsePercent,a={path:null,compoundPath:null,group:b.Group,image:b.Image,text:b.Text};g.registerPreprocessor(function(f){var w=f.graphic;v.isArray(w)?!w[0]||!w[0].elements?f.graphic=[{elements:w}]:f.graphic=[f.graphic[0]]:w&&!w.elements&&(f.graphic=[{elements:[w]}])});var s=g.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(f){var w=this.option.elements;this.option.elements=null,s.superApply(this,"mergeOption",arguments),this.option.elements=w},optionUpdated:function(f,w){var x=this.option,I=(w?x:f).elements,C=x.elements=w?[]:x.elements,N=[];this._flatten(I,N);var S=A.mappingToExists(C,N);A.makeIdAndName(S);var E=this._elOptionsToUpdate=[];v.each(S,function(D,B){var R=D.option;if(!R)return;E.push(R),u(D,R),o(C,B,R),c(C[B],R)},this);for(var T=C.length-1;T>=0;T--)C[T]==null?C.splice(T,1):delete C[T].$action},_flatten:function(f,w,x){v.each(f,function(I){if(!I)return;x&&(I.parentOption=x),w.push(I);var C=I.children;I.type==="group"&&C&&this._flatten(C,w,I),delete I.children},this)},useElOptionsToUpdate:function(){var f=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,f}});g.extendComponentView({type:"graphic",init:function(f,w){this._elMap=v.createHashMap(),this._lastGraphicModel},render:function(f,w,x){f!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=f,this._updateElements(f),this._relocate(f,x)},_updateElements:function(f){var w=f.useElOptionsToUpdate();if(!w)return;var x=this._elMap,I=this.group;v.each(w,function(C){var N=C.$action,S=C.id,E=x.get(S),T=C.parentId,D=T!=null?x.get(T):I,B=C.style;C.type==="text"&&B&&(C.hv&&C.hv[1]&&(B.textVerticalAlign=B.textBaseline=null),!B.hasOwnProperty("textFill")&&B.fill&&(B.textFill=B.fill),!B.hasOwnProperty("textStroke")&&B.stroke&&(B.textStroke=B.stroke));var R=l(C);!N||N==="merge"?E?E.attr(R):i(S,D,R,x):N==="replace"?(n(E,x),i(S,D,R,x)):N==="remove"&&n(E,x);var F=x.get(S);F&&(F.__ecGraphicWidthOption=C.width,F.__ecGraphicHeightOption=C.height,h(F,f,C))})},_relocate:function(f,w){for(var x=f.option.elements,I=this.group,C=this._elMap,N=w.getWidth(),S=w.getHeight(),E=0;E<x.length;E++){var T=x[E],D=C.get(T.id);if(!D||!D.isGroup)continue;var B=D.parent,R=B===I;D.__ecGraphicWidth=r(D.__ecGraphicWidthOption,R?N:B.__ecGraphicWidth)||0,D.__ecGraphicHeight=r(D.__ecGraphicHeightOption,R?S:B.__ecGraphicHeight)||0}for(var E=x.length-1;E>=0;E--){var T=x[E],D=C.get(T.id);if(!D)continue;var B=D.parent,F=B===I?{width:N,height:S}:{width:B.__ecGraphicWidth,height:B.__ecGraphicHeight};m.positionElement(D,T,F,null,{hv:T.hv,boundingMode:T.bounding})}},_clear:function(){var f=this._elMap;f.each(function(w){n(w,f)}),this._elMap=v.createHashMap()},dispose:function(){this._clear()}});function i(f,w,x,I){var C=x.type,N=a.hasOwnProperty(C)?a[C]:b.getShapeClass(C),S=new N(x);w.add(S),I.set(f,S),S.__ecGraphicId=f}function n(f,w){var x=f&&f.parent;x&&(f.type==="group"&&f.traverse(function(I){n(I,w)}),w.removeKey(f.__ecGraphicId),x.remove(f))}function l(f){return f=v.extend({},f),v.each(["id","parentId","$action","hv","bounding"].concat(m.LOCATION_PARAMS),function(w){delete f[w]}),f}function t(f,w){var x;return v.each(w,function(I){f[I]!=null&&f[I]!=="auto"&&(x=!0)}),x}function u(f,w){var x=f.exist;if(w.id=f.keyInfo.id,!w.type&&x&&(w.type=x.type),w.parentId==null){var I=w.parentOption;I?w.parentId=I.id:x&&(w.parentId=x.parentId)}w.parentOption=null}function o(f,w,x){var I=v.extend({},x),C=f[w],N=x.$action||"merge";N==="merge"?C?(v.merge(C,I,!0),m.mergeLayoutParam(C,I,{ignoreSize:!0}),m.copyLayoutParams(x,C)):f[w]=I:N==="replace"?f[w]=I:N==="remove"&&(C&&(f[w]=null))}function c(f,w){if(!f)return;f.hv=w.hv=[t(w,["left","right"]),t(w,["top","bottom"])],f.type==="group"&&(f.width==null&&(f.width=w.width=0),f.height==null&&(f.height=w.height=0))}function h(f,w,x){var I=f.eventData;!f.silent&&!f.ignore&&!I&&(I=f.eventData={componentType:"graphic",componentIndex:w.componentIndex,name:f.name}),I&&(I.info=f.info)}},f3JH:function(te,U,e){e("aTJb"),e("OlYY"),e("fc+c"),e("oY9F"),e("MqEG"),e("LBfv"),e("noeP")},f5HG:function(te,U,e){var y=e("IwbS"),L=e("QBsz"),g=y.Line.prototype,v=y.BezierCurve.prototype;function A(m){return isNaN(+m.cpx1)||isNaN(+m.cpy1)}var b=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(m,d){this[A(d)?"_buildPathLine":"_buildPathCurve"](m,d)},_buildPathLine:g.buildPath,_buildPathCurve:v.buildPath,pointAt:function(m){return this[A(this.shape)?"_pointAtLine":"_pointAtCurve"](m)},_pointAtLine:g.pointAt,_pointAtCurve:v.pointAt,tangentAt:function(m){var d=this.shape,r=A(d)?[d.x2-d.x1,d.y2-d.y1]:this._tangentAtCurve(m);return L.normalize(r,r)},_tangentAtCurve:v.tangentAt});te.exports=b},f5Yq:function(te,U,e){var y=e("bYtY"),L=y.isFunction;function g(v,A,b){return{seriesType:v,performRawSeries:!0,reset:function(m,d,r){var a=m.getData(),s=m.get("symbol"),i=m.get("symbolSize"),n=m.get("symbolKeepAspect"),l=m.get("symbolRotate"),t=L(s),u=L(i),o=L(l),c=t||u||o,h=!t&&s?s:A,f=u?null:i,w=o?null:w;if(a.setVisual({legendSymbol:b||h,symbol:h,symbolSize:f,symbolKeepAspect:n,symbolRotate:l}),d.isSeriesFiltered(m))return;function x(I,C){if(c){var N=m.getRawValue(C),S=m.getDataParams(C);t&&I.setItemVisual(C,"symbol",s(N,S)),u&&I.setItemVisual(C,"symbolSize",i(N,S)),o&&I.setItemVisual(C,"symbolRotate",l(N,S))}if(I.hasItemOption){var E=I.getItemModel(C),T=E.getShallow("symbol",!0),D=E.getShallow("symbolSize",!0),B=E.getShallow("symbolRotate",!0),R=E.getShallow("symbolKeepAspect",!0);T!=null&&I.setItemVisual(C,"symbol",T),D!=null&&I.setItemVisual(C,"symbolSize",D),B!=null&&I.setItemVisual(C,"symbolRotate",B),R!=null&&I.setItemVisual(C,"symbolKeepAspect",R)}}return{dataEach:a.hasItemOption||c?x:null}}}}te.exports=g},fAei:function(te,U,e){"use strict";e.d(U,"a",function(){return f.a});var y=e("rePB"),L=e("VTBJ"),g=e("KQm4"),v=e("1OyB"),A=e("vuIU"),b=e("Ji7U"),m=e("LK+K"),d=e("q1tI"),r=e("4IlW"),a=e("Kwbf"),s=e("TSYQ"),i=e.n(s),n=e("sboe"),l=e("OZM5"),t=e("815F"),u=e("ODXe"),o=e("Ff2n"),c=e("+nKL"),h=e("8XRh"),f=e("WaYH"),w=function(J,ue){var q=J.className,re=J.style,me=J.motion,be=J.motionNodes,ke=J.motionType,ce=J.onMotionStart,Ee=J.onMotionEnd,pe=J.active,Se=J.treeNodeRequiredProps,st=Object(o.a)(J,["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"]),qe=d.useState(!0),tt=Object(u.a)(qe,2),Dt=tt[0],ct=tt[1],St=d.useContext(n.a),rt=St.prefixCls,ht=d.useRef(!1),je=function(){ht.current||Ee(),ht.current=!0};return Object(d.useEffect)(function(){be&&ke==="hide"&&Dt&&ct(!1)},[be]),Object(d.useEffect)(function(){return be&&ce(),function(){be&&je()}},[]),be?d.createElement(h.default,Object.assign({ref:ue,visible:Dt},me,{motionAppear:ke==="show",onAppearEnd:je,onLeaveEnd:je}),function(Me,Ne){var it=Me.className,wt=Me.style;return d.createElement("div",{ref:Ne,className:i()("".concat(rt,"-treenode-motion"),it),style:wt},be.map(function(jt){var lt=jt.data,Te=lt.key,mt=Object(o.a)(lt,["key"]),tn=jt.isStart,Vt=jt.isEnd;delete mt.children;var Yt=Object(t.f)(Te,Se);return d.createElement(f.a,Object.assign({},mt,Yt,{active:pe,data:jt.data,key:Te,isStart:tn,isEnd:Vt}))}))}):d.createElement(f.a,Object.assign({domRef:ue,className:q,style:re},st,{active:pe}))};w.displayName="MotionTreeNode";var x=d.forwardRef(w),I=x;function C(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ue=G.length,q=J.length;if(Math.abs(ue-q)!==1)return{add:!1,key:null};function re(me,be){var ke=new Map;me.forEach(function(Ee){ke.set(Ee,!0)});var ce=be.filter(function(Ee){return!ke.has(Ee)});return ce.length===1?ce[0]:null}return ue<q?{add:!0,key:re(G,J)}:{add:!1,key:re(J,G)}}function N(G,J,ue){var q=G.findIndex(function(ke){var ce=ke.data;return ce.key===ue}),re=G[q+1],me=J.findIndex(function(ke){var ce=ke.data;return ce.key===ue});if(re){var be=J.findIndex(function(ke){var ce=ke.data;return ce.key===re.data.key});return J.slice(me+1,be)}return J.slice(me+1)}var S={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},E=function(){},T="RC_TREE_MOTION_".concat(Math.random()),D={key:T},B={key:T,level:0,index:0,pos:"0",node:D},R={parent:null,children:[],pos:B.pos,data:D,isStart:[],isEnd:[]};function F(G,J,ue,q){return J===!1||!ue?G:G.slice(0,Math.ceil(ue/q)+1)}function M(G){var J=G.data.key,ue=G.pos;return Object(t.e)(J,ue)}function K(G){for(var J=String(G.data.key),ue=G;ue.parent;)ue=ue.parent,J="".concat(ue.data.key," > ").concat(J);return J}var j=function(J,ue){var q=J.prefixCls,re=J.data,me=J.selectable,be=J.checkable,ke=J.expandedKeys,ce=J.selectedKeys,Ee=J.checkedKeys,pe=J.loadedKeys,Se=J.loadingKeys,st=J.halfCheckedKeys,qe=J.keyEntities,tt=J.disabled,Dt=J.dragging,ct=J.dragOverNodeKey,St=J.dropPosition,rt=J.motion,ht=J.height,je=J.itemHeight,Me=J.virtual,Ne=J.focusable,it=J.activeItem,wt=J.focused,jt=J.tabIndex,lt=J.onKeyDown,Te=J.onFocus,mt=J.onBlur,tn=J.onActiveChange,Vt=J.onListChangeStart,Yt=J.onListChangeEnd,Qt=Object(o.a)(J,["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"]),an=d.useRef(null);d.useImperativeHandle(ue,function(){return{scrollTo:function(Ur){an.current.scrollTo(Ur)}}});var on=d.useState(ke),vt=Object(u.a)(on,2),de=vt[0],he=vt[1],Pt=d.useState(re),We=Object(u.a)(Pt,2),Je=We[0],Ln=We[1],jn=d.useState(re),Sn=Object(u.a)(jn,2),Xn=Sn[0],rr=Sn[1],hr=d.useState([]),gn=Object(u.a)(hr,2),vn=gn[0],Ft=gn[1],Ye=d.useState(null),Pe=Object(u.a)(Ye,2),Jt=Pe[0],bn=Pe[1];function An(){Ln(re),rr(re),Ft([]),bn(null),Yt()}d.useEffect(function(){he(ke);var qn=C(de,ke);if(qn.key!==null)if(qn.add){var Ur=Je.findIndex(function(ze){var Rt=ze.data.key;return Rt===qn.key}),Ue=F(N(Je,re,qn.key),Me,ht,je),He=Je.slice();He.splice(Ur+1,0,R),rr(He),Ft(Ue),bn("show")}else{var se=re.findIndex(function(ze){var Rt=ze.data.key;return Rt===qn.key}),Ae=F(N(re,Je,qn.key),Me,ht,je),Oe=re.slice();Oe.splice(se+1,0,R),rr(Oe),Ft(Ae),bn("hide")}else Je!==re&&(Ln(re),rr(re))},[ke,re]),d.useEffect(function(){Dt||An()},[Dt]);var dn=rt?Xn:re,vr={expandedKeys:ke,selectedKeys:ce,loadedKeys:pe,loadingKeys:Se,checkedKeys:Ee,halfCheckedKeys:st,dragOverNodeKey:ct,dropPosition:St,keyEntities:qe};return d.createElement(d.Fragment,null,wt&&it&&d.createElement("span",{style:S,"aria-live":"assertive"},K(it)),d.createElement("div",{role:"tree"},d.createElement("input",{style:S,disabled:Ne===!1||tt,tabIndex:Ne!==!1?jt:null,onKeyDown:lt,onFocus:Te,onBlur:mt,value:"",onChange:E})),d.createElement(c.a,Object.assign({},Qt,{data:dn,itemKey:M,height:ht,fullHeight:!1,virtual:Me,itemHeight:je,prefixCls:"".concat(q,"-list"),ref:an}),function(qn){var Ur=qn.pos,Ue=qn.data,He=Ue.key,se=Object(o.a)(Ue,["key"]),Ae=qn.isStart,Oe=qn.isEnd,ze=Object(t.e)(He,Ur);delete se.children;var Rt=Object(t.f)(ze,vr);return d.createElement(I,Object.assign({},se,Rt,{active:it&&He===it.data.key,pos:Ur,data:qn.data,isStart:Ae,isEnd:Oe,motion:rt,motionNodes:He===T?vn:null,motionType:Jt,onMotionStart:Vt,onMotionEnd:An,treeNodeRequiredProps:vr,onMouseMove:function(){tn(null)}}))}))},H=d.forwardRef(j);H.displayName="NodeList";var k=H,P=e("NvD2"),z=function(G){Object(b.a)(ue,G);var J=Object(m.a)(ue);function ue(){var q;return Object(v.a)(this,ue),q=J.apply(this,arguments),q.destroyed=!1,q.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},q.listRef=d.createRef(),q.onNodeDragStart=function(re,me){var be=q.state,ke=be.expandedKeys,ce=be.keyEntities,Ee=q.props.onDragStart,pe=me.props.eventKey;q.dragNode=me;var Se=Object(l.b)(ke,pe);q.setState({dragging:!0,dragNodesKeys:Object(l.g)(pe,ce)}),q.setExpandedKeys(Se),Ee&&Ee({event:re,node:Object(t.b)(me.props)})},q.onNodeDragEnter=function(re,me){var be=q.state,ke=be.expandedKeys,ce=be.keyEntities,Ee=be.dragNodesKeys,pe=q.props.onDragEnter,Se=me.props,st=Se.pos,qe=Se.eventKey;if(!q.dragNode||Ee.indexOf(qe)!==-1)return;var tt=Object(l.c)(re,me);if(q.dragNode.props.eventKey===qe&&tt===0){q.setState({dragOverNodeKey:"",dropPosition:null});return}setTimeout(function(){q.setState({dragOverNodeKey:qe,dropPosition:tt}),q.delayedDragEnterLogic||(q.delayedDragEnterLogic={}),Object.keys(q.delayedDragEnterLogic).forEach(function(Dt){clearTimeout(q.delayedDragEnterLogic[Dt])}),q.delayedDragEnterLogic[st]=window.setTimeout(function(){if(!q.state.dragging)return;var Dt=Object(g.a)(ke),ct=ce[qe];ct&&(ct.children||[]).length&&(Dt=Object(l.a)(ke,qe)),"expandedKeys"in q.props||q.setExpandedKeys(Dt),pe&&pe({event:re,node:Object(t.b)(me.props),expandedKeys:Dt})},400)},0)},q.onNodeDragOver=function(re,me){var be=q.state.dragNodesKeys,ke=q.props.onDragOver,ce=me.props.eventKey;if(be.indexOf(ce)!==-1)return;if(q.dragNode&&ce===q.state.dragOverNodeKey){var Ee=Object(l.c)(re,me);if(Ee===q.state.dropPosition)return;q.setState({dropPosition:Ee})}ke&&ke({event:re,node:Object(t.b)(me.props)})},q.onNodeDragLeave=function(re,me){var be=q.props.onDragLeave;q.setState({dragOverNodeKey:""}),be&&be({event:re,node:Object(t.b)(me.props)})},q.onNodeDragEnd=function(re,me){var be=q.props.onDragEnd;q.setState({dragOverNodeKey:""}),q.cleanDragState(),be&&be({event:re,node:Object(t.b)(me.props)}),q.dragNode=null},q.onNodeDrop=function(re,me){var be=q.state,ke=be.dragNodesKeys,ce=ke===void 0?[]:ke,Ee=be.dropPosition,pe=q.props.onDrop,Se=me.props,st=Se.eventKey,qe=Se.pos;if(q.setState({dragOverNodeKey:""}),q.cleanDragState(),ce.indexOf(st)!==-1){Object(a.a)(!1,"Can not drop to dragNode(include it's children node)");return}var tt=Object(l.k)(qe),Dt={event:re,node:Object(t.b)(me.props),dragNode:q.dragNode?Object(t.b)(q.dragNode.props):null,dragNodesKeys:ce.slice(),dropPosition:Ee+Number(tt[tt.length-1]),dropToGap:!1};Ee!==0&&(Dt.dropToGap=!0),pe&&pe(Dt),q.dragNode=null},q.cleanDragState=function(){var re=q.state.dragging;re&&q.setState({dragging:!1})},q.onNodeClick=function(re,me){var be=q.props.onClick;be&&be(re,me)},q.onNodeDoubleClick=function(re,me){var be=q.props.onDoubleClick;be&&be(re,me)},q.onNodeSelect=function(re,me){var be=q.state.selectedKeys,ke=q.state.keyEntities,ce=q.props,Ee=ce.onSelect,pe=ce.multiple,Se=me.selected,st=me.key,qe=!Se;qe?pe?be=Object(l.a)(be,st):be=[st]:be=Object(l.b)(be,st);var tt=be.map(function(Dt){var ct=ke[Dt];return ct?ct.node:null}).filter(function(Dt){return Dt});q.setUncontrolledState({selectedKeys:be}),Ee&&Ee(be,{event:"select",selected:qe,node:me,selectedNodes:tt,nativeEvent:re.nativeEvent})},q.onNodeCheck=function(re,me,be){var ke=q.state,ce=ke.keyEntities,Ee=ke.checkedKeys,pe=ke.halfCheckedKeys,Se=q.props,st=Se.checkStrictly,qe=Se.onCheck,tt=me.key,Dt,ct={event:"check",node:me,checked:be,nativeEvent:re.nativeEvent};if(st){var St=be?Object(l.a)(Ee,tt):Object(l.b)(Ee,tt),rt=Object(l.b)(pe,tt);Dt={checked:St,halfChecked:rt},ct.checkedNodes=St.map(function(wt){return ce[wt]}).filter(function(wt){return wt}).map(function(wt){return wt.node}),q.setUncontrolledState({checkedKeys:St})}else{var ht=Object(P.a)([].concat(Object(g.a)(Ee),[tt]),!0,ce),je=ht.checkedKeys,Me=ht.halfCheckedKeys;if(!be){var Ne=new Set(je);Ne.delete(tt);var it=Object(P.a)(Array.from(Ne),{checked:!1,halfCheckedKeys:Me},ce);je=it.checkedKeys,Me=it.halfCheckedKeys}Dt=je,ct.checkedNodes=[],ct.checkedNodesPositions=[],ct.halfCheckedKeys=Me,je.forEach(function(wt){var jt=ce[wt];if(!jt)return;var lt=jt.node,Te=jt.pos;ct.checkedNodes.push(lt),ct.checkedNodesPositions.push({node:lt,pos:Te})}),q.setUncontrolledState({checkedKeys:je},!1,{halfCheckedKeys:Me})}qe&&qe(Dt,ct)},q.onNodeLoad=function(re){return new Promise(function(me){q.setState(function(be){var ke=be.loadedKeys,ce=ke===void 0?[]:ke,Ee=be.loadingKeys,pe=Ee===void 0?[]:Ee,Se=q.props,st=Se.loadData,qe=Se.onLoad,tt=re.key;if(!st||ce.indexOf(tt)!==-1||pe.indexOf(tt)!==-1)return{};var Dt=st(re);return Dt.then(function(){var ct=q.state,St=ct.loadedKeys,rt=ct.loadingKeys,ht=Object(l.a)(St,tt),je=Object(l.b)(rt,tt);qe&&qe(ht,{event:"load",node:re}),q.setUncontrolledState({loadedKeys:ht}),q.setState({loadingKeys:je}),me()}),{loadingKeys:Object(l.a)(pe,tt)}})})},q.onNodeMouseEnter=function(re,me){var be=q.props.onMouseEnter;be&&be({event:re,node:me})},q.onNodeMouseLeave=function(re,me){var be=q.props.onMouseLeave;be&&be({event:re,node:me})},q.onNodeContextMenu=function(re,me){var be=q.props.onRightClick;be&&(re.preventDefault(),be({event:re,node:me}))},q.onFocus=function(){var re=q.props.onFocus;q.setState({focused:!0}),re&&re.apply(void 0,arguments)},q.onBlur=function(){var re=q.props.onBlur;q.setState({focused:!1}),q.onActiveChange(null),re&&re.apply(void 0,arguments)},q.getTreeNodeRequiredProps=function(){var re=q.state,me=re.expandedKeys,be=re.selectedKeys,ke=re.loadedKeys,ce=re.loadingKeys,Ee=re.checkedKeys,pe=re.halfCheckedKeys,Se=re.dragOverNodeKey,st=re.dropPosition,qe=re.keyEntities;return{expandedKeys:me||[],selectedKeys:be||[],loadedKeys:ke||[],loadingKeys:ce||[],checkedKeys:Ee||[],halfCheckedKeys:pe||[],dragOverNodeKey:Se,dropPosition:st,keyEntities:qe}},q.setExpandedKeys=function(re){var me=q.state.treeData,be=Object(t.d)(me,re);q.setUncontrolledState({expandedKeys:re,flattenNodes:be},!0)},q.onNodeExpand=function(re,me){var be=q.state.expandedKeys,ke=q.state.listChanging,ce=q.props,Ee=ce.onExpand,pe=ce.loadData,Se=me.key,st=me.expanded;if(ke)return;var qe=be.indexOf(Se),tt=!st;if(Object(a.a)(st&&qe!==-1||!st&&qe===-1,"Expand state not sync with index check"),tt?be=Object(l.a)(be,Se):be=Object(l.b)(be,Se),q.setExpandedKeys(be),Ee&&Ee(be,{node:me,expanded:tt,nativeEvent:re.nativeEvent}),tt&&pe){var Dt=q.onNodeLoad(me);Dt&&Dt.then(function(){var ct=Object(t.d)(q.state.treeData,be);q.setUncontrolledState({flattenNodes:ct})})}},q.onListChangeStart=function(){q.setUncontrolledState({listChanging:!0})},q.onListChangeEnd=function(){setTimeout(function(){q.setUncontrolledState({listChanging:!1})})},q.onActiveChange=function(re){var me=q.state.activeKey,be=q.props.onActiveChange;if(me===re)return;q.setState({activeKey:re}),re!==null&&q.scrollTo({key:re}),be&&be(re)},q.getActiveItem=function(){var re=q.state,me=re.activeKey,be=re.flattenNodes;return me===null?null:be.find(function(ke){var ce=ke.data.key;return ce===me})||null},q.offsetActiveKey=function(re){var me=q.state,be=me.flattenNodes,ke=me.activeKey,ce=be.findIndex(function(Se){var st=Se.data.key;return st===ke});ce===-1&&re<0&&(ce=be.length),ce=(ce+re+be.length)%be.length;var Ee=be[ce];if(Ee){var pe=Ee.data.key;q.onActiveChange(pe)}else q.onActiveChange(null)},q.onKeyDown=function(re){var me=q.state,be=me.activeKey,ke=me.expandedKeys,ce=me.checkedKeys,Ee=q.props,pe=Ee.onKeyDown,Se=Ee.checkable,st=Ee.selectable;switch(re.which){case r.a.UP:{q.offsetActiveKey(-1),re.preventDefault();break}case r.a.DOWN:{q.offsetActiveKey(1),re.preventDefault();break}}var qe=q.getActiveItem();if(qe&&qe.data){var tt=q.getTreeNodeRequiredProps(),Dt=qe.data.isLeaf===!1||!!(qe.data.children||[]).length,ct=Object(t.b)(Object(L.a)(Object(L.a)({},Object(t.f)(be,tt)),{},{data:qe.data,active:!0}));switch(re.which){case r.a.LEFT:{Dt&&ke.includes(be)?q.onNodeExpand({},ct):qe.parent&&q.onActiveChange(qe.parent.data.key),re.preventDefault();break}case r.a.RIGHT:{Dt&&!ke.includes(be)?q.onNodeExpand({},ct):qe.children&&qe.children.length&&q.onActiveChange(qe.children[0].data.key),re.preventDefault();break}case r.a.ENTER:case r.a.SPACE:{Se&&!ct.disabled&&ct.checkable!==!1&&!ct.disableCheckbox?q.onNodeCheck({},ct,!ce.includes(be)):!Se&&st&&!ct.disabled&&ct.selectable!==!1&&q.onNodeSelect({},ct);break}}}pe&&pe(re)},q.setUncontrolledState=function(re){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(q.destroyed)return;var ke=!1,ce=!0,Ee={};Object.keys(re).forEach(function(pe){if(pe in q.props){ce=!1;return}ke=!0,Ee[pe]=re[pe]}),ke&&(!me||ce)&&q.setState(Object(L.a)(Object(L.a)({},Ee),be))},q.scrollTo=function(re){q.listRef.current.scrollTo(re)},q}return Object(A.a)(ue,[{key:"componentWillUnmount",value:function(){this.destroyed=!0}},{key:"render",value:function(){var re,me=this.state,be=me.focused,ke=me.flattenNodes,ce=me.keyEntities,Ee=me.dragging,pe=me.activeKey,Se=this.props,st=Se.prefixCls,qe=Se.className,tt=Se.style,Dt=Se.showLine,ct=Se.focusable,St=Se.tabIndex,rt=St===void 0?0:St,ht=Se.selectable,je=Se.showIcon,Me=Se.icon,Ne=Se.switcherIcon,it=Se.draggable,wt=Se.checkable,jt=Se.checkStrictly,lt=Se.disabled,Te=Se.motion,mt=Se.loadData,tn=Se.filterTreeNode,Vt=Se.height,Yt=Se.itemHeight,Qt=Se.virtual,an=Se.titleRender,on=Se.onContextMenu,vt=Object(l.f)(this.props);return d.createElement(n.a.Provider,{value:{prefixCls:st,selectable:ht,showIcon:je,icon:Me,switcherIcon:Ne,draggable:it,checkable:wt,checkStrictly:jt,disabled:lt,keyEntities:ce,loadData:mt,filterTreeNode:tn,titleRender:an,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}},d.createElement("div",{className:i()(st,qe,(re={},Object(y.a)(re,"".concat(st,"-show-line"),Dt),Object(y.a)(re,"".concat(st,"-focused"),be),Object(y.a)(re,"".concat(st,"-active-focused"),pe!==null),re))},d.createElement(k,Object.assign({ref:this.listRef,prefixCls:st,style:tt,data:ke,disabled:lt,selectable:ht,checkable:!!wt,motion:Te,dragging:Ee,height:Vt,itemHeight:Yt,virtual:Qt,focusable:ct,focused:be,tabIndex:rt,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:on},this.getTreeNodeRequiredProps(),vt))))}}],[{key:"getDerivedStateFromProps",value:function(re,me){var be=me.prevProps,ke={prevProps:re};function ce(Me){return!be&&Me in re||be&&be[Me]!==re[Me]}var Ee;if(ce("treeData")?Ee=re.treeData:ce("children")&&(Object(a.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Ee=Object(t.c)(re.children)),Ee){ke.treeData=Ee;var pe=Object(t.a)(Ee);ke.keyEntities=Object(L.a)(Object(y.a)({},T,B),pe.keyEntities)}var Se=ke.keyEntities||me.keyEntities;if(ce("expandedKeys")||be&&ce("autoExpandParent"))ke.expandedKeys=re.autoExpandParent||!be&&re.defaultExpandParent?Object(l.e)(re.expandedKeys,Se):re.expandedKeys;else if(!be&&re.defaultExpandAll){var st=Object(L.a)({},Se);delete st[T],ke.expandedKeys=Object.keys(st).map(function(Me){return st[Me].key})}else!be&&re.defaultExpandedKeys&&(ke.expandedKeys=re.autoExpandParent||re.defaultExpandParent?Object(l.e)(re.defaultExpandedKeys,Se):re.defaultExpandedKeys);if(ke.expandedKeys||delete ke.expandedKeys,Ee||ke.expandedKeys){var qe=Object(t.d)(Ee||me.treeData,ke.expandedKeys||me.expandedKeys);ke.flattenNodes=qe}if(re.selectable&&(ce("selectedKeys")?ke.selectedKeys=Object(l.d)(re.selectedKeys,re):!be&&re.defaultSelectedKeys&&(ke.selectedKeys=Object(l.d)(re.defaultSelectedKeys,re))),re.checkable){var tt;if(ce("checkedKeys")?tt=Object(l.j)(re.checkedKeys)||{}:!be&&re.defaultCheckedKeys?tt=Object(l.j)(re.defaultCheckedKeys)||{}:Ee&&(tt=Object(l.j)(re.checkedKeys)||{checkedKeys:me.checkedKeys,halfCheckedKeys:me.halfCheckedKeys}),tt){var Dt=tt,ct=Dt.checkedKeys,St=ct===void 0?[]:ct,rt=Dt.halfCheckedKeys,ht=rt===void 0?[]:rt;if(!re.checkStrictly){var je=Object(P.a)(St,!0,Se);St=je.checkedKeys,ht=je.halfCheckedKeys}ke.checkedKeys=St,ke.halfCheckedKeys=ht}}return ce("loadedKeys")&&(ke.loadedKeys=re.loadedKeys),ke}}]),ue}(d.Component);z.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[]},z.TreeNode=f.a;var Y=z,_=U.b=Y},fE02:function(te,U,e){var y=e("ProS"),L=e("bYtY"),g=e("/IIm"),v=e("vZ6x"),A=e("b9oc"),b=e("72pK"),m=e("Kagy"),d=e("IUWy");e("3TkU");var r=m.toolbox.dataZoom,a=L.each,s="\0_ec_\0toolbox-dataZoom_";function i(h,f,w){(this._brushController=new g(w.getZr())).on("brush",L.bind(this._onBrush,this)).mount(),this._isZoomActive}i.defaultOption={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:L.clone(r.title)};var n=i.prototype;n.render=function(h,f,w,x){this.model=h,this.ecModel=f,this.api=w,o(h,f,this,x,w),u(h,f)},n.onclick=function(h,f,w){l[w].call(this)},n.remove=function(h,f){this._brushController.unmount()},n.dispose=function(h,f){this._brushController.dispose()};var l={zoom:function(){var h=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:h})},back:function(){this._dispatchZoomAction(A.pop(this.ecModel))}};n._onBrush=function(h,f){if(!f.isEnd||!h.length)return;var w={},x=this.ecModel;this._brushController.updateCovers([]);var I=new v(t(this.model.option),x,{include:["grid"]});I.matchOutputRanges(h,x,function(S,E,T){if(T.type!=="cartesian2d")return;var D=S.brushType;D==="rect"?(C("x",T,E[0]),C("y",T,E[1])):C({lineX:"x",lineY:"y"}[D],T,E)}),A.push(x,w),this._dispatchZoomAction(w);function C(S,E,T){var D=E.getAxis(S),B=D.model,R=N(S,B,x),F=R.findRepresentativeAxisProxy(B).getMinMaxSpan();(F.minValueSpan!=null||F.maxValueSpan!=null)&&(T=b(0,T.slice(),D.scale.getExtent(),0,F.minValueSpan,F.maxValueSpan)),R&&(w[R.id]={dataZoomId:R.id,startValue:T[0],endValue:T[1]})}function N(S,E,T){var D;return T.eachComponent({mainType:"dataZoom",subType:"select"},function(B){var R=B.getAxisModel(S,E.componentIndex);R&&(D=B)}),D}},n._dispatchZoomAction=function(h){var f=[];a(h,function(w,x){f.push(L.clone(w))}),f.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:f})};function t(h){var f={};return L.each(["xAxisIndex","yAxisIndex"],function(w){f[w]=h[w],f[w]==null&&(f[w]="all"),(f[w]===!1||f[w]==="none")&&(f[w]=[])}),f}function u(h,f){h.setIconStatus("back",A.count(f)>1?"emphasis":"normal")}function o(h,f,w,x,I){var C=w._isZoomActive;x&&x.type==="takeGlobalCursor"&&(C=x.key==="dataZoomSelect"?x.dataZoomSelectActive:!1),w._isZoomActive=C,h.setIconStatus("zoom",C?"emphasis":"normal");var N=new v(t(h.option),f,{include:["grid"]});w._brushController.setPanels(N.makePanelOpts(I,function(S){return S.xAxisDeclared&&!S.yAxisDeclared?"lineX":!S.xAxisDeclared&&S.yAxisDeclared?"lineY":"rect"})).enableBrush(C?{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}}:!1)}d.register("dataZoom",i),y.registerPreprocessor(function(h){if(!h)return;var f=h.dataZoom||(h.dataZoom=[]);L.isArray(f)||(h.dataZoom=f=[f]);var w=h.toolbox;if(w&&(L.isArray(w)&&(w=w[0]),w&&w.feature)){var x=w.feature.dataZoom;I("xAxis",x),I("yAxis",x)}function I(N,S){if(!S)return;var E=N+"Index",T=S[E];T!=null&&T!=="all"&&!L.isArray(T)&&(T=T===!1||T==="none"?[]:[T]),C(N,function(D,B){if(T!=null&&T!=="all"&&L.indexOf(T,B)===-1)return;var R={type:"select",$fromToolbox:!0,filterMode:S.filterMode||"filter",id:s+N+B};R[E]=B,f.push(R)})}function C(N,S){var E=h[N];L.isArray(E)||(E=E?[E]:[]),a(E,S)}});var c=i;te.exports=c},fNCr:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=L(e("tSko"));function L(v){return v&&v.__esModule?v:{default:v}}var g=y;U.default=g,te.exports=g},fUL4:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=L(e("r+aA"));function L(v){return v&&v.__esModule?v:{default:v}}var g=y;U.default=g,te.exports=g},fW2E:function(te,U){var e={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function y(L,g,v){return e.hasOwnProperty(g)?v*=L.dpr:v}te.exports=y},"fc+c":function(te,U,e){var y=e("sS/r"),L=y.extend({type:"dataZoom",render:function(g,v,A,b){this.dataZoomModel=g,this.ecModel=v,this.api=A},getTargetCoordInfo:function(){var g=this.dataZoomModel,v=this.ecModel,A={};g.eachTargetAxis(function(m,d){var r=v.getComponent(m.axis,d);if(r){var a=r.getCoordSysModel();a&&b(a,r,A[a.mainType]||(A[a.mainType]=[]),a.componentIndex)}},this);function b(m,d,r,a){for(var s,i=0;i<r.length;i++)if(r[i].model===m){s=r[i];break}s||r.push(s={model:m,axisModels:[],coordIndex:a}),s.axisModels.push(d)}return A}});te.exports=L},fjKi:function(te,U,e){var y=e("ProS");e("Q7if"),e("jndi"),y.registerPreprocessor(function(L){L.markArea=L.markArea||{}})},fls0:function(te,U,e){var y=e("bYtY"),L=e("QBsz"),g=e("oVpE"),v=e("f5HG"),A=e("IwbS"),b=e("OELB"),m=b.round,d=["fromSymbol","toSymbol"];function r(o){return"_"+o+"Type"}function a(o,c,h){var f=c.getItemVisual(h,"color"),w=c.getItemVisual(h,o),x=c.getItemVisual(h,o+"Size");if(!w||w==="none")return;y.isArray(x)||(x=[x,x]);var I=g.createSymbol(w,-x[0]/2,-x[1]/2,x[0],x[1],f);return I.name=o,I}function s(o){var c=new v({name:"line",subPixelOptimize:!0});return i(c.shape,o),c}function i(o,c){o.x1=c[0][0],o.y1=c[0][1],o.x2=c[1][0],o.y2=c[1][1],o.percent=1;var h=c[2];h?(o.cpx1=h[0],o.cpy1=h[1]):(o.cpx1=NaN,o.cpy1=NaN)}function n(){var o=this,c=o.childOfName("fromSymbol"),h=o.childOfName("toSymbol"),f=o.childOfName("label");if(!c&&!h&&f.ignore)return;for(var w=1,x=this.parent;x;)x.scale&&(w/=x.scale[0]),x=x.parent;var I=o.childOfName("line");if(!this.__dirty&&!I.__dirty)return;var C=I.shape.percent,N=I.pointAt(0),S=I.pointAt(C),E=L.sub([],S,N);if(L.normalize(E,E),c){c.attr("position",N);var T=I.tangentAt(0);c.attr("rotation",Math.PI/2-Math.atan2(T[1],T[0])),c.attr("scale",[w*C,w*C])}if(h){h.attr("position",S);var T=I.tangentAt(1);h.attr("rotation",-Math.PI/2-Math.atan2(T[1],T[0])),h.attr("scale",[w*C,w*C])}if(!f.ignore){f.attr("position",S);var D,B,R,F,M=f.__labelDistance,K=M[0]*w,j=M[1]*w,H=C/2,T=I.tangentAt(H),k=[T[1],-T[0]],P=I.pointAt(H);k[1]>0&&(k[0]=-k[0],k[1]=-k[1]);var z=T[0]<0?-1:1;if(f.__position!=="start"&&f.__position!=="end"){var Y=-Math.atan2(T[1],T[0]);S[0]<N[0]&&(Y=Math.PI+Y),f.attr("rotation",Y)}var _;switch(f.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":_=-j,R="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":_=j,R="top";break;default:_=0,R="middle"}switch(f.__position){case"end":D=[E[0]*K+S[0],E[1]*j+S[1]],B=E[0]>.8?"left":E[0]<-.8?"right":"center",R=E[1]>.8?"top":E[1]<-.8?"bottom":"middle";break;case"start":D=[-E[0]*K+N[0],-E[1]*j+N[1]],B=E[0]>.8?"right":E[0]<-.8?"left":"center",R=E[1]>.8?"bottom":E[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":D=[K*z+N[0],N[1]+_],B=T[0]<0?"right":"left",F=[-K*z,-_];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":D=[P[0],P[1]+_],B="center",F=[0,-_];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":D=[-K*z+S[0],S[1]+_],B=T[0]>=0?"right":"left",F=[K*z,-_];break}f.attr({style:{textVerticalAlign:f.__verticalAlign||R,textAlign:f.__textAlign||B},position:D,scale:[w,w],origin:F})}}function l(o,c,h){A.Group.call(this),this._createLine(o,c,h)}var t=l.prototype;t.beforeUpdate=n,t._createLine=function(o,c,h){var f=o.hostModel,w=o.getItemLayout(c),x=s(w);x.shape.percent=0,A.initProps(x,{shape:{percent:1}},f,c),this.add(x);var I=new A.Text({name:"label",lineLabelOriginalOpacity:1});this.add(I),y.each(d,function(C){var N=a(C,o,c);this.add(N),this[r(C)]=o.getItemVisual(c,C)},this),this._updateCommonStl(o,c,h)},t.updateData=function(o,c,h){var f=o.hostModel,w=this.childOfName("line"),x=o.getItemLayout(c),I={shape:{}};i(I.shape,x),A.updateProps(w,I,f,c),y.each(d,function(C){var N=o.getItemVisual(c,C),S=r(C);if(this[S]!==N){this.remove(this.childOfName(C));var E=a(C,o,c);this.add(E)}this[S]=N},this),this._updateCommonStl(o,c,h)},t._updateCommonStl=function(o,c,h){var f=o.hostModel,w=this.childOfName("line"),x=h&&h.lineStyle,I=h&&h.hoverLineStyle,C=h&&h.labelModel,N=h&&h.hoverLabelModel;if(!h||o.hasItemOption){var S=o.getItemModel(c);x=S.getModel("lineStyle").getLineStyle(),I=S.getModel("emphasis.lineStyle").getLineStyle(),C=S.getModel("label"),N=S.getModel("emphasis.label")}var E=o.getItemVisual(c,"color"),T=y.retrieve3(o.getItemVisual(c,"opacity"),x.opacity,1);w.useStyle(y.defaults({strokeNoScale:!0,fill:"none",stroke:E,opacity:T},x)),w.hoverStyle=I,y.each(d,function(z){var Y=this.childOfName(z);Y&&(Y.setColor(E),Y.setStyle({opacity:T}))},this);var D=C.getShallow("show"),B=N.getShallow("show"),R=this.childOfName("label"),F,M;if((D||B)&&(F=E||"#000",M=f.getFormattedLabel(c,"normal",o.dataType),M==null)){var K=f.getRawValue(c);M=K==null?o.getName(c):isFinite(K)?m(K):K}var j=D?M:null,H=B?y.retrieve2(f.getFormattedLabel(c,"emphasis",o.dataType),M):null,k=R.style;if(j!=null||H!=null){A.setTextStyle(R.style,C,{text:j},{autoColor:F}),R.__textAlign=k.textAlign,R.__verticalAlign=k.textVerticalAlign,R.__position=C.get("position")||"middle";var P=C.get("distance");y.isArray(P)||(P=[P,P]),R.__labelDistance=P}H!=null?R.hoverStyle={text:H,textFill:N.getTextColor(!0),fontStyle:N.getShallow("fontStyle"),fontWeight:N.getShallow("fontWeight"),fontSize:N.getShallow("fontSize"),fontFamily:N.getShallow("fontFamily")}:R.hoverStyle={text:null},R.ignore=!D&&!B,A.setHoverStyle(this)},t.highlight=function(){this.trigger("emphasis")},t.downplay=function(){this.trigger("normal")},t.updateLayout=function(o,c){this.setLinePoints(o.getItemLayout(c))},t.setLinePoints=function(o){var c=this.childOfName("line");i(c.shape,o),c.dirty()},y.inherits(l,A.Group);var u=l;te.exports=u},fmMI:function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("bYtY"),v=g.each,A=g.filter,b=g.map,m=g.isArray,d=g.indexOf,r=g.isObject,a=g.isString,s=g.createHashMap,i=g.assert,n=g.clone,l=g.merge,t=g.extend,u=g.mixin,o=e("4NO4"),c=e("Qxkt"),h=e("bLfw"),f=e("iXHM"),w=e("5Hur"),x=e("D5nY"),I=x.resetSourceDefaulter,C="\0_ec_inner",N=c.extend({init:function(j,H,k,P){k=k||{},this.option=null,this._theme=new c(k),this._optionManager=P},setOption:function(j,H){i(!(C in j),"please use chart.getOption()"),this._optionManager.setOption(j,H),this.resetOption(null)},resetOption:function(j){var H=!1,k=this._optionManager;if(!j||j==="recreate"){var P=k.mountOption(j==="recreate");!this.option||j==="recreate"?T.call(this,P):(this.restoreData(),this.mergeOption(P)),H=!0}if((j==="timeline"||j==="media")&&this.restoreData(),!j||j==="recreate"||j==="timeline"){var z=k.getTimelineOption(this);z&&(this.mergeOption(z),H=!0)}if(!j||j==="recreate"||j==="media"){var Y=k.getMediaOption(this,this._api);Y.length&&v(Y,function(_){this.mergeOption(_,H=!0)},this)}return H},mergeOption:function(j){var H=this.option,k=this._componentsMap,P=[];I(this),v(j,function(Y,_){if(Y==null)return;h.hasClass(_)?_&&P.push(_):H[_]=H[_]==null?n(Y):l(H[_],Y,!0)}),h.topologicalTravel(P,h.getAllClassMainTypes(),z,this);function z(Y,_){var G=o.normalizeToArray(j[Y]),J=o.mappingToExists(k.get(Y),G);o.makeIdAndName(J),v(J,function(q,re){var me=q.option;r(me)&&(q.keyInfo.mainType=Y,q.keyInfo.subType=B(Y,me,q.exist))});var ue=D(k,_);H[Y]=[],k.set(Y,[]),v(J,function(q,re){var me=q.exist,be=q.option;if(i(r(be)||me,"Empty component definition"),!be)me.mergeOption({},this),me.optionUpdated({},!1);else{var ke=h.getClass(Y,q.keyInfo.subType,!0);if(me&&me.constructor===ke)me.name=q.keyInfo.name,me.mergeOption(be,this),me.optionUpdated(be,!1);else{var ce=t({dependentModels:ue,componentIndex:re},q.keyInfo);me=new ke(be,this,this,ce),t(me,ce),me.init(be,this,this,ce),me.optionUpdated(null,!0)}}k.get(Y)[re]=me,H[Y][re]=me.option},this),Y==="series"&&R(this,k.get("series"))}this._seriesIndicesMap=s(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var j=n(this.option);return v(j,function(H,k){if(h.hasClass(k)){for(var H=o.normalizeToArray(H),P=H.length-1;P>=0;P--)o.isIdInner(H[P])&&H.splice(P,1);j[k]=H}}),delete j[C],j},getTheme:function(){return this._theme},getComponent:function(j,H){var k=this._componentsMap.get(j);if(k)return k[H||0]},queryComponents:function(j){var H=j.mainType;if(!H)return[];var k=j.index,P=j.id,z=j.name,Y=this._componentsMap.get(H);if(!Y||!Y.length)return[];var _;if(k!=null)m(k)||(k=[k]),_=A(b(k,function(ue){return Y[ue]}),function(ue){return!!ue});else if(P!=null){var G=m(P);_=A(Y,function(ue){return G&&d(P,ue.id)>=0||!G&&ue.id===P})}else if(z!=null){var J=m(z);_=A(Y,function(ue){return J&&d(z,ue.name)>=0||!J&&ue.name===z})}else _=Y.slice();return F(_,j)},findComponents:function(j){var H=j.query,k=j.mainType,P=Y(H),z=P?this.queryComponents(P):this._componentsMap.get(k);return _(F(z,j));function Y(G){var J=k+"Index",ue=k+"Id",q=k+"Name";return G&&(G[J]!=null||G[ue]!=null||G[q]!=null)?{mainType:k,index:G[J],id:G[ue],name:G[q]}:null}function _(G){return j.filter?A(G,j.filter):G}},eachComponent:function(j,H,k){var P=this._componentsMap;if(typeof j=="function")k=H,H=j,P.each(function(Y,_){v(Y,function(G,J){H.call(k,_,G,J)})});else if(a(j))v(P.get(j),H,k);else if(r(j)){var z=this.findComponents(j);v(z,H,k)}},getSeriesByName:function(j){var H=this._componentsMap.get("series");return A(H,function(k){return k.name===j})},getSeriesByIndex:function(j){return this._componentsMap.get("series")[j]},getSeriesByType:function(j){var H=this._componentsMap.get("series");return A(H,function(k){return k.subType===j})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(j,H){M(this),v(this._seriesIndices,function(k){var P=this._componentsMap.get("series")[k];j.call(H,P,k)},this)},eachRawSeries:function(j,H){v(this._componentsMap.get("series"),j,H)},eachSeriesByType:function(j,H,k){M(this),v(this._seriesIndices,function(P){var z=this._componentsMap.get("series")[P];z.subType===j&&H.call(k,z,P)},this)},eachRawSeriesByType:function(j,H,k){return v(this.getSeriesByType(j),H,k)},isSeriesFiltered:function(j){return M(this),this._seriesIndicesMap.get(j.componentIndex)==null},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(j,H){M(this);var k=A(this._componentsMap.get("series"),j,H);R(this,k)},restoreData:function(j){var H=this._componentsMap;R(this,H.get("series"));var k=[];H.each(function(P,z){k.push(z)}),h.topologicalTravel(k,h.getAllClassMainTypes(),function(P,z){v(H.get(P),function(Y){(P!=="series"||!S(Y,j))&&Y.restoreData()})})}});function S(j,H){if(H){var k=H.seiresIndex,P=H.seriesId,z=H.seriesName;return k!=null&&j.componentIndex!==k||P!=null&&j.id!==P||z!=null&&j.name!==z}}function E(j,H){var k=j.color&&!j.colorLayer;v(H,function(P,z){if(z==="colorLayer"&&k)return;h.hasClass(z)||(typeof P=="object"?j[z]=j[z]?l(j[z],P,!1):n(P):j[z]==null&&(j[z]=P))})}function T(j){j=j,this.option={},this.option[C]=1,this._componentsMap=s({series:[]}),this._seriesIndices,this._seriesIndicesMap,E(j,this._theme.option),l(j,f,!1),this.mergeOption(j)}function D(j,H){m(H)||(H=H?[H]:[]);var k={};return v(H,function(P){k[P]=(j.get(P)||[]).slice()}),k}function B(j,H,k){var P=H.type?H.type:k?k.subType:h.determineSubType(j,H);return P}function R(j,H){j._seriesIndicesMap=s(j._seriesIndices=b(H,function(k){return k.componentIndex})||[])}function F(j,H){return H.hasOwnProperty("subType")?A(j,function(k){return k.subType===H.subType}):j}function M(j){}u(N,w);var K=N;te.exports=K},fyUT:function(te,U,e){"use strict";var y=e("pVnL"),L=e.n(y),g=e("lSNA"),v=e.n(g),A=e("q1tI"),b=e.n(A),m=e("TSYQ"),d=e.n(m),r=e("Ff2n"),a=e("rePB"),s=e("1OyB"),i=e("vuIU"),n=e("Ji7U"),l=e("md7G"),t=e("foSv"),u=e("4IlW");function o(_,G){var J=Object.keys(_);if(Object.getOwnPropertySymbols){var ue=Object.getOwnPropertySymbols(_);G&&(ue=ue.filter(function(q){return Object.getOwnPropertyDescriptor(_,q).enumerable})),J.push.apply(J,ue)}return J}function c(_){for(var G=1;G<arguments.length;G++){var J=arguments[G]!=null?arguments[G]:{};G%2?o(Object(J),!0).forEach(function(ue){Object(a.a)(_,ue,J[ue])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(J)):o(Object(J)).forEach(function(ue){Object.defineProperty(_,ue,Object.getOwnPropertyDescriptor(J,ue))})}return _}function h(_){var G=f();return function(){var ue=Object(t.a)(_),q;if(G){var re=Object(t.a)(this).constructor;q=Reflect.construct(ue,arguments,re)}else q=ue.apply(this,arguments);return Object(l.a)(this,q)}}function f(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(_){return!1}}function w(){}function x(_){_.preventDefault()}var I=function(G){return G.replace(/[^\w.-]+/g,"")},C=200,N=600,S=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,E=function(G){return G!=null},T=function(G,J){return J===G||typeof J=="number"&&typeof G=="number"&&isNaN(J)&&isNaN(G)},D=function(_){Object(n.a)(J,_);var G=h(J);function J(ue){var q;Object(s.a)(this,J),q=G.call(this,ue),q.onKeyDown=function(be){var ke=q.props,ce=ke.onKeyDown,Ee=ke.onPressEnter;if(be.keyCode===u.a.UP){var pe=q.getRatio(be);q.up(be,pe,null),q.stop()}else if(be.keyCode===u.a.DOWN){var Se=q.getRatio(be);q.down(be,Se,null),q.stop()}else be.keyCode===u.a.ENTER&&Ee&&Ee(be);if(q.recordCursorPosition(),q.lastKeyCode=be.keyCode,ce){for(var st=arguments.length,qe=new Array(st>1?st-1:0),tt=1;tt<st;tt++)qe[tt-1]=arguments[tt];ce.apply(void 0,[be].concat(qe))}},q.onKeyUp=function(be){var ke=q.props.onKeyUp;if(q.stop(),q.recordCursorPosition(),ke){for(var ce=arguments.length,Ee=new Array(ce>1?ce-1:0),pe=1;pe<ce;pe++)Ee[pe-1]=arguments[pe];ke.apply(void 0,[be].concat(Ee))}},q.onChange=function(be){var ke=q.props.onChange;q.state.focused&&(q.inputting=!0),q.rawInput=q.props.parser(q.getValueFromEvent(be)),q.setState({inputValue:q.rawInput}),ke(q.toNumber(q.rawInput))},q.onMouseUp=function(){var be=q.props.onMouseUp;q.recordCursorPosition(),be&&be.apply(void 0,arguments)},q.onFocus=function(){var be;q.setState({focused:!0}),(be=q.props).onFocus.apply(be,arguments)},q.onBlur=function(){var be=q.props.onBlur;q.inputting=!1,q.setState({focused:!1});var ke=q.getCurrentValidValue(q.state.inputValue),ce=q.setValue(ke,w);if(be){var Ee=q.input.value,pe=q.getInputDisplayValue({focus:!1,value:ce});q.input.value=pe&&Number(pe),be.apply(void 0,arguments),q.input.value=Ee}},q.getRatio=function(be){var ke=1;return be.metaKey||be.ctrlKey?ke=.1:be.shiftKey&&(ke=10),ke},q.getFullNum=function(be){return isNaN(be)?be:/e/i.test(String(be))?Number(be).toFixed(18).replace(/\.?0+$/,""):be},q.getPrecision=function(be){if(E(q.props.precision))return q.props.precision;var ke=String(be);if(ke.indexOf("e-")>=0)return parseInt(ke.slice(ke.indexOf("e-")+2),10);var ce=0;return ke.indexOf(".")>=0&&(ce=ke.length-ke.indexOf(".")-1),ce},q.getInputDisplayValue=function(be){var ke=be||q.state,ce=ke.focused,Ee=ke.inputValue,pe=ke.value,Se;ce?Se=Ee:Se=q.toPrecisionAsStep(pe),Se==null&&(Se="");var st=q.formatWrapper(Se);return E(q.props.decimalSeparator)&&(st=st.toString().replace(".",q.props.decimalSeparator)),st},q.recordCursorPosition=function(){try{q.cursorStart=q.input.selectionStart,q.cursorEnd=q.input.selectionEnd,q.currentValue=q.input.value,q.cursorBefore=q.input.value.substring(0,q.cursorStart),q.cursorAfter=q.input.value.substring(q.cursorEnd)}catch(be){}},q.restoreByAfter=function(be){if(be===void 0)return!1;var ke=q.input.value,ce=ke.lastIndexOf(be);if(ce===-1)return!1;var Ee=q.cursorBefore.length;return q.lastKeyCode===u.a.DELETE&&q.cursorBefore.charAt(Ee-1)===be[0]?(q.fixCaret(Ee,Ee),!0):ce+be.length===ke.length?(q.fixCaret(ce,ce),!0):!1},q.partRestoreByAfter=function(be){return be===void 0?!1:Array.prototype.some.call(be,function(ke,ce){var Ee=be.substring(ce);return q.restoreByAfter(Ee)})},q.isNotCompleteNumber=function(be){return isNaN(be)||be===""||be===null||be&&be.toString().indexOf(".")===be.toString().length-1},q.stop=function(){q.autoStepTimer&&clearTimeout(q.autoStepTimer)},q.down=function(be,ke,ce){q.pressingUpOrDown=!0,q.step("down",be,ke,ce)},q.up=function(be,ke,ce){q.pressingUpOrDown=!0,q.step("up",be,ke,ce)},q.saveInput=function(be){q.input=be};var re=ue.value;re===void 0&&(re=ue.defaultValue),q.state={focused:ue.autoFocus};var me=q.getValidValue(q.toNumber(re));return q.state=c(c({},q.state),{},{inputValue:q.toPrecisionAsStep(me),value:me}),q}return Object(i.a)(J,[{key:"componentDidMount",value:function(){this.componentDidUpdate(null)}},{key:"componentDidUpdate",value:function(q){var re=this.props,me=re.value,be=re.onChange,ke=re.max,ce=re.min,Ee=this.state.focused;if(q){if(!T(q.value,me)||!T(q.max,ke)||!T(q.min,ce)){var pe=Ee?me:this.getValidValue(me),Se;this.pressingUpOrDown?Se=pe:this.inputting?Se=this.rawInput:Se=this.toPrecisionAsStep(pe),this.setState({value:pe,inputValue:Se})}var st="value"in this.props?me:this.state.value;"max"in this.props&&q.max!==ke&&typeof st=="number"&&st>ke&&be&&be(ke),"min"in this.props&&q.min!==ce&&typeof st=="number"&&st<ce&&be&&be(ce)}try{if(this.cursorStart!==void 0&&this.state.focused){if(!this.partRestoreByAfter(this.cursorAfter)&&this.state.value!==this.props.value){var qe=this.cursorStart+1;this.cursorAfter?this.lastKeyCode===u.a.BACKSPACE?qe=this.cursorStart-1:this.lastKeyCode===u.a.DELETE&&(qe=this.cursorStart):qe=this.input.value.length,this.fixCaret(qe,qe)}else if(this.currentValue===this.input.value)switch(this.lastKeyCode){case u.a.BACKSPACE:this.fixCaret(this.cursorStart-1,this.cursorStart-1);break;case u.a.DELETE:this.fixCaret(this.cursorStart+1,this.cursorStart+1);break;default:}}}catch(tt){}if(this.lastKeyCode=null,!this.pressingUpOrDown)return;this.props.focusOnUpDown&&this.state.focused&&(document.activeElement!==this.input&&this.focus())}},{key:"componentWillUnmount",value:function(){this.stop()}},{key:"getCurrentValidValue",value:function(q){var re=q;return re===""?re="":this.isNotCompleteNumber(parseFloat(re))?re=this.state.value:re=this.getValidValue(re),this.toNumber(re)}},{key:"getValueFromEvent",value:function(q){var re=q.target.value.trim().replace(/。/g,".");return E(this.props.decimalSeparator)&&(re=re.replace(this.props.decimalSeparator,".")),re}},{key:"getValidValue",value:function(q){var re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.props.min,me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.props.max,be=parseFloat(q);return isNaN(be)?q:(be<re&&(be=re),be>me&&(be=me),be)}},{key:"setValue",value:function(q,re){var me=this.props.precision,be=this.isNotCompleteNumber(parseFloat(q))?null:parseFloat(q),ke=this.state.value,ce=ke===void 0?null:ke,Ee=this.state.inputValue,pe=Ee===void 0?null:Ee,Se=typeof be=="number"?be.toFixed(me):"".concat(be),st=be!==ce||Se!=="".concat(pe);return"value"in this.props?(pe=this.toPrecisionAsStep(this.state.value),this.setState({inputValue:pe},re)):this.setState({value:be,inputValue:this.toPrecisionAsStep(q)},re),st&&this.props.onChange(be),be}},{key:"getMaxPrecision",value:function(q){var re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,me=this.props,be=me.precision,ke=me.step;if(E(be))return be;var ce=this.getPrecision(re),Ee=this.getPrecision(ke),pe=this.getPrecision(q);return q?Math.max(pe,ce+Ee):ce+Ee}},{key:"getPrecisionFactor",value:function(q){var re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,me=this.getMaxPrecision(q,re);return Math.pow(10,me)}},{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(q){return this.props.formatter?this.props.formatter(q):q}},{key:"toPrecisionAsStep",value:function(q){if(this.isNotCompleteNumber(q)||q==="")return q;var re=Math.abs(this.getMaxPrecision(q));return isNaN(re)?q.toString():Number(q).toFixed(re)}},{key:"toNumber",value:function(q){var re=this.props.precision,me=this.state.focused,be=q&&q.length>16&&me;return this.isNotCompleteNumber(q)||be?q:E(re)?Math.round(q*Math.pow(10,re))/Math.pow(10,re):Number(q)}},{key:"upStep",value:function(q,re){var me=this.props.step,be=this.getPrecisionFactor(q,re),ke=Math.abs(this.getMaxPrecision(q,re)),ce=((be*q+be*me*re)/be).toFixed(ke);return this.toNumber(ce)}},{key:"downStep",value:function(q,re){var me=this.props.step,be=this.getPrecisionFactor(q,re),ke=Math.abs(this.getMaxPrecision(q,re)),ce=((be*q-be*me*re)/be).toFixed(ke);return this.toNumber(ce)}},{key:"step",value:function(q,re){var me=this,be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,ke=arguments.length>3?arguments[3]:void 0;this.stop(),re&&(re.persist(),re.preventDefault());var ce=this.props;if(ce.disabled)return;var Ee=this.getCurrentValidValue(this.state.inputValue)||0;if(this.isNotCompleteNumber(Ee))return;var pe=this["".concat(q,"Step")](Ee,be),Se=pe>ce.max||pe<ce.min;if(pe>ce.max?pe=ce.max:pe<ce.min&&(pe=ce.min),this.setValue(pe,null),this.setState({focused:!0},function(){me.pressingUpOrDown=!1}),Se)return;this.autoStepTimer=setTimeout(function(){me[q](re,be,!0)},ke?C:N)}},{key:"fixCaret",value:function(q,re){if(q===void 0||re===void 0||!this.input||!this.input.value)return;try{var me=this.input.selectionStart,be=this.input.selectionEnd;(q!==me||re!==be)&&this.input.setSelectionRange(q,re)}catch(ke){}}},{key:"render",value:function(){var q,re=this.props,me=re.prefixCls,be=re.disabled,ke=re.readOnly,ce=re.useTouch,Ee=re.autoComplete,pe=re.upHandler,Se=re.downHandler,st=re.className,qe=re.max,tt=re.min,Dt=re.style,ct=re.title,St=re.onMouseEnter,rt=re.onMouseLeave,ht=re.onMouseOver,je=re.onMouseOut,Me=re.required,Ne=re.onClick,it=re.tabIndex,wt=re.type,jt=re.placeholder,lt=re.id,Te=re.inputMode,mt=re.pattern,tn=re.step,Vt=re.maxLength,Yt=re.autoFocus,Qt=re.name,an=re.onPaste,on=re.onInput,vt=Object(r.a)(re,["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"]),de=this.state,he=de.value,Pt=de.focused,We=d()(me,(q={},Object(a.a)(q,st,!!st),Object(a.a)(q,"".concat(me,"-disabled"),be),Object(a.a)(q,"".concat(me,"-focused"),Pt),q)),Je={};Object.keys(vt).forEach(function(Pe){(Pe.substr(0,5)==="data-"||Pe.substr(0,5)==="aria-"||Pe==="role")&&(Je[Pe]=vt[Pe])});var Ln=!ke&&!be,jn=this.getInputDisplayValue(null),Sn=(he||he===0)&&(isNaN(he)||Number(he)>=qe),Xn=(he||he===0)&&(isNaN(he)||Number(he)<=tt),rr=Sn||be||ke,hr=Xn||be||ke,gn=d()("".concat(me,"-handler"),"".concat(me,"-handler-up"),Object(a.a)({},"".concat(me,"-handler-up-disabled"),rr)),vn=d()("".concat(me,"-handler"),"".concat(me,"-handler-down"),Object(a.a)({},"".concat(me,"-handler-down-disabled"),hr)),Ft=ce?{onTouchStart:rr?w:this.up,onTouchEnd:this.stop}:{onMouseDown:rr?w:this.up,onMouseUp:this.stop,onMouseLeave:this.stop},Ye=ce?{onTouchStart:hr?w:this.down,onTouchEnd:this.stop}:{onMouseDown:hr?w:this.down,onMouseUp:this.stop,onMouseLeave:this.stop};return b.a.createElement("div",{className:We,style:Dt,title:ct,onMouseEnter:St,onMouseLeave:rt,onMouseOver:ht,onMouseOut:je,onFocus:function(){return null},onBlur:function(){return null}},b.a.createElement("div",{className:"".concat(me,"-handler-wrap")},b.a.createElement("span",Object.assign({unselectable:"on"},Ft,{role:"button","aria-label":"Increase Value","aria-disabled":rr,className:gn}),pe||b.a.createElement("span",{unselectable:"on",className:"".concat(me,"-handler-up-inner"),onClick:x})),b.a.createElement("span",Object.assign({unselectable:"on"},Ye,{role:"button","aria-label":"Decrease Value","aria-disabled":hr,className:vn}),Se||b.a.createElement("span",{unselectable:"on",className:"".concat(me,"-handler-down-inner"),onClick:x}))),b.a.createElement("div",{className:"".concat(me,"-input-wrap")},b.a.createElement("input",Object.assign({role:"spinbutton","aria-valuemin":tt,"aria-valuemax":qe,"aria-valuenow":he,required:Me,type:wt,placeholder:jt,onPaste:an,onClick:Ne,onMouseUp:this.onMouseUp,className:"".concat(me,"-input"),tabIndex:it,autoComplete:Ee,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:Ln?this.onKeyDown:w,onKeyUp:Ln?this.onKeyUp:w,autoFocus:Yt,maxLength:Vt,readOnly:ke,disabled:be,max:qe,min:tt,step:tn,name:Qt,title:ct,id:lt,onChange:this.onChange,ref:this.saveInput,value:this.getFullNum(jn),pattern:mt,inputMode:Te,onInput:on},Je))))}}]),J}(b.a.Component);D.defaultProps={focusOnUpDown:!0,useTouch:!1,prefixCls:"rc-input-number",max:S,min:-S,step:1,style:{},onChange:w,onKeyDown:w,onPressEnter:w,onFocus:w,onBlur:w,parser:I,required:!1,autoComplete:"off"};var B=D,R=B,F=e("FH2Y"),M=e.n(F),K=e("HQEm"),j=e.n(K),H=e("H84U"),k=e("3Nzz"),P=function(_,G){var J={};for(var ue in _)Object.prototype.hasOwnProperty.call(_,ue)&&G.indexOf(ue)<0&&(J[ue]=_[ue]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var q=0,ue=Object.getOwnPropertySymbols(_);q<ue.length;q++)G.indexOf(ue[q])<0&&Object.prototype.propertyIsEnumerable.call(_,ue[q])&&(J[ue[q]]=_[ue[q]]);return J},z=A.forwardRef(function(_,G){var J=function(q){var re=q.getPrefixCls,me=q.direction,be=_.className,ke=_.size,ce=_.prefixCls,Ee=_.readOnly,pe=P(_,["className","size","prefixCls","readOnly"]),Se=re("input-number",ce),st=A.createElement(M.a,{className:"".concat(Se,"-handler-up-inner")}),qe=A.createElement(j.a,{className:"".concat(Se,"-handler-down-inner")});return A.createElement(k.b.Consumer,null,function(tt){var Dt,ct=ke||tt,St=d()((Dt={},v()(Dt,"".concat(Se,"-lg"),ct==="large"),v()(Dt,"".concat(Se,"-sm"),ct==="small"),v()(Dt,"".concat(Se,"-rtl"),me==="rtl"),v()(Dt,"".concat(Se,"-readonly"),Ee),Dt),be);return A.createElement(R,L()({ref:G,className:St,upHandler:st,downHandler:qe,prefixCls:Se,readOnly:Ee},pe))})};return A.createElement(H.a,null,J)});z.defaultProps={step:1};var Y=U.a=z},g0SD:function(te,U,e){var y=e("bYtY"),L=e("9wZj"),g=e("OELB"),v=e("YXkt"),A=e("kj2x"),b=e("iPDy");function m(a,s,i){var n=s.coordinateSystem;a.each(function(l){var t=a.getItemModel(l),u,o=g.parsePercent(t.get("x"),i.getWidth()),c=g.parsePercent(t.get("y"),i.getHeight());if(!isNaN(o)&&!isNaN(c))u=[o,c];else if(s.getMarkerPosition)u=s.getMarkerPosition(a.getValues(a.dimensions,l));else if(n){var h=a.get(n.dimensions[0],l),f=a.get(n.dimensions[1],l);u=n.dataToPoint([h,f])}isNaN(o)||(u[0]=o),isNaN(c)||(u[1]=c),a.setItemLayout(l,u)})}var d=b.extend({type:"markPoint",updateTransform:function(a,s,i){s.eachSeries(function(n){var l=n.markPointModel;l&&(m(l.getData(),n,i),this.markerGroupMap.get(n.id).updateLayout(l))},this)},renderSeries:function(a,s,i,n){var l=a.coordinateSystem,t=a.id,u=a.getData(),o=this.markerGroupMap,c=o.get(t)||o.set(t,new L),h=r(l,a,s);s.setData(h),m(s.getData(),a,n),h.each(function(f){var w=h.getItemModel(f),x=w.getShallow("symbol"),I=w.getShallow("symbolSize"),C=y.isFunction(x),N=y.isFunction(I);if(C||N){var S=s.getRawValue(f),E=s.getDataParams(f);C&&(x=x(S,E)),N&&(I=I(S,E))}h.setItemVisual(f,{symbol:x,symbolSize:I,color:w.get("itemStyle.color")||u.getVisual("color")})}),c.updateData(h),this.group.add(c.group),h.eachItemGraphicEl(function(f){f.traverse(function(w){w.dataModel=s})}),c.__keep=!0,c.group.silent=s.get("silent")||a.get("silent")}});function r(a,s,i){var n;a?n=y.map(a&&a.dimensions,function(u){var o=s.getData().getDimensionInfo(s.getData().mapDimension(u))||{};return y.defaults({name:u},o)}):n=[{name:"value",type:"float"}];var l=new v(n,i),t=y.map(i.get("data"),y.curry(A.dataTransform,s));return a&&(t=y.filter(t,y.curry(A.dataFilter,a))),l.initData(t,null,a?A.dimValueGetter:function(u){return u.value}),l}te.exports=d},g7p0:function(te,U,e){var y=e("bYtY"),L=e("bLfw"),g=e("+TT/"),v=g.getLayoutParams,A=g.sizeCalculable,b=g.mergeLayoutParam,m=L.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(a,s,i,n){var l=v(a);m.superApply(this,"init",arguments),d(a,l)},mergeOption:function(a,s){m.superApply(this,"mergeOption",arguments),d(this.option,a)}});function d(a,s){var i=a.cellSize;y.isArray(i)?i.length===1&&(i[1]=i[0]):i=a.cellSize=[i,i];var n=y.map([0,1],function(l){return A(s,l)&&(i[l]="auto"),i[l]!=null&&i[l]!=="auto"});b(a,s,{type:"box",ignoreSize:n})}var r=m;te.exports=r},g9YV:function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("pED+"),v=e.n(g),A=e("+L6B"),b=e("R9oj"),m=e("7Kak"),d=e("sRBo"),r=e("qVdP"),a=e("T2oS"),s=e("DjyN"),i=e("5Dmo")},gKaM:function(te,U,e){"use strict";Object.defineProperty(U,"__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"};U.default=y},gPAo:function(te,U){function e(v){return v}function y(v,A,b,m,d){this._old=v,this._new=A,this._oldKeyGetter=b||e,this._newKeyGetter=m||e,this.context=d}y.prototype={constructor:y,add:function(v){return this._add=v,this},update:function(v){return this._update=v,this},remove:function(v){return this._remove=v,this},execute:function(){var v=this._old,A=this._new,b={},m={},d=[],r=[],a;for(L(v,b,d,"_oldKeyGetter",this),L(A,m,r,"_newKeyGetter",this),a=0;a<v.length;a++){var s=d[a],i=m[s];if(i!=null){var n=i.length;n?(n===1&&(m[s]=null),i=i.shift()):m[s]=null,this._update&&this._update(i,a)}else this._remove&&this._remove(a)}for(var a=0;a<r.length;a++){var s=r[a];if(m.hasOwnProperty(s)){var i=m[s];if(i==null)continue;if(!i.length)this._add&&this._add(i);else for(var l=0,n=i.length;l<n;l++)this._add&&this._add(i[l])}}}};function L(v,A,b,m,d){for(var r=0;r<v.length;r++){var a="_ec_"+d[m](v[r],r),s=A[a];s==null?(b.push(a),A[a]=r):(s.length||(A[a]=s=[s]),s.push(r))}}var g=y;te.exports=g},gRFJ:function(te,U,e){te.exports=[e("rdUC"),e("ynwM"),e("RELg"),e("DlR+"),e("CrYA"),e("PD8m")]},gaXo:function(module,exports){typeof JSON!="object"&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;function f(te){return te<10?"0"+te:te}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(te){return rx_escapable.lastIndex=0,rx_escapable.test(te)?'"'+te.replace(rx_escapable,function(U){var e=meta[U];return typeof e=="string"?e:"\\u"+("0000"+U.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+te+'"'}function str(te,U){var e,y,L,g,v=gap,A,b=U[te];b&&typeof b=="object"&&typeof b.toJSON=="function"&&(b=b.toJSON(te)),typeof rep=="function"&&(b=rep.call(U,te,b));switch(typeof b){case"string":return quote(b);case"number":return isFinite(b)?String(b):"null";case"boolean":case"null":return String(b);case"object":if(!b)return"null";if(gap+=indent,A=[],Object.prototype.toString.apply(b)==="[object Array]"){for(g=b.length,e=0;e<g;e+=1)A[e]=str(e,b)||"null";return L=A.length===0?"[]":gap?`[
|
|
|
`+gap+A.join(`,
|
|
|
`+gap)+`
|
|
|
`+v+"]":"["+A.join(",")+"]",gap=v,L}if(rep&&typeof rep=="object")for(g=rep.length,e=0;e<g;e+=1)typeof rep[e]=="string"&&(y=rep[e],L=str(y,b),L&&A.push(quote(y)+(gap?": ":":")+L));else for(y in b)Object.prototype.hasOwnProperty.call(b,y)&&(L=str(y,b),L&&A.push(quote(y)+(gap?": ":":")+L));return L=A.length===0?"{}":gap?`{
|
|
|
`+gap+A.join(`,
|
|
|
`+gap)+`
|
|
|
`+v+"}":"{"+A.join(",")+"}",gap=v,L}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(te,U,e){var y;if(gap="",indent="",typeof e=="number")for(y=0;y<e;y+=1)indent+=" ";else typeof e=="string"&&(indent=e);if(rep=U,U&&typeof U!="function"&&(typeof U!="object"||typeof U.length!="number"))throw new Error("JSON.stringify");return str("",{"":te})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(te,U){var e,y,L=te[U];if(L&&typeof L=="object")for(e in L)Object.prototype.hasOwnProperty.call(L,e)&&(y=walk(L,e),y!==void 0?L[e]=y:delete L[e]);return reviver.call(te,U,L)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(te){return"\\u"+("0000"+te.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(te,U,e){var y=e("+TT/"),L=e("bYtY"),g=e("4NO4"),v=g.groupData;function A(T,D,B){T.eachSeriesByType("sankey",function(R){var F=R.get("nodeWidth"),M=R.get("nodeGap"),K=b(R,D);R.layoutInfo=K;var j=K.width,H=K.height,k=R.getGraph(),P=k.nodes,z=k.edges;d(P);var Y=L.filter(P,function(ue){return ue.getLayout().value===0}),_=Y.length!==0?0:R.get("layoutIterations"),G=R.get("orient"),J=R.get("nodeAlign");m(P,z,F,M,j,H,_,G,J)})}function b(T,D){return y.getLayoutRect(T.getBoxLayoutParams(),{width:D.getWidth(),height:D.getHeight()})}function m(T,D,B,R,F,M,K,j,H){r(T,D,B,F,M,j,H),l(T,D,M,F,R,K,j),E(T,j)}function d(T){L.each(T,function(D){var B=N(D.outEdges,C),R=N(D.inEdges,C),F=D.getValue()||0,M=Math.max(B,R,F);D.setLayout({value:M},!0)})}function r(T,D,B,R,F,M,K){for(var j=[],H=[],k=[],P=[],z=0,Y=0,_=0;_<D.length;_++)j[_]=1;for(_=0;_<T.length;_++)H[_]=T[_].inEdges.length,H[_]===0&&k.push(T[_]);for(var G=-1;k.length;){for(var J=0;J<k.length;J++){var ue=k[J],q=ue.hostGraph.data.getRawDataItem(ue.dataIndex),re=q.depth!=null&&q.depth>=0;re&&q.depth>G&&(G=q.depth),ue.setLayout({depth:re?q.depth:z},!0),M==="vertical"?ue.setLayout({dy:B},!0):ue.setLayout({dx:B},!0);for(var me=0;me<ue.outEdges.length;me++){var be=ue.outEdges[me],ke=D.indexOf(be);j[ke]=0;var ce=be.node2,Ee=T.indexOf(ce);--H[Ee]===0&&P.indexOf(ce)<0&&P.push(ce)}}++z,k=P,P=[]}for(_=0;_<j.length;_++)if(j[_]===1)throw new Error("Sankey is a DAG, the original data has cycle!");var pe=G>z-1?G:z-1;K&&K!=="left"&&s(T,K,M,pe);var Y=M==="vertical"?(F-B)/pe:(R-B)/pe;n(T,Y,M)}function a(T){var D=T.hostGraph.data.getRawDataItem(T.dataIndex);return D.depth!=null&&D.depth>=0}function s(T,D,B,R){if(D==="right"){for(var F=[],M=T,K=0;M.length;){for(var j=0;j<M.length;j++){var H=M[j];H.setLayout({skNodeHeight:K},!0);for(var k=0;k<H.inEdges.length;k++){var P=H.inEdges[k];F.indexOf(P.node1)<0&&F.push(P.node1)}}M=F,F=[],++K}L.each(T,function(z){a(z)||z.setLayout({depth:Math.max(0,R-z.getLayout().skNodeHeight)},!0)})}else D==="justify"&&i(T,R)}function i(T,D){L.each(T,function(B){!a(B)&&!B.outEdges.length&&B.setLayout({depth:D},!0)})}function n(T,D,B){L.each(T,function(R){var F=R.getLayout().depth*D;B==="vertical"?R.setLayout({y:F},!0):R.setLayout({x:F},!0)})}function l(T,D,B,R,F,M,K){var j=t(T,K);u(j,D,B,R,F,K),o(j,F,B,R,K);for(var H=1;M>0;M--)H*=.99,c(j,H,K),o(j,F,B,R,K),S(j,H,K),o(j,F,B,R,K)}function t(T,D){var B=[],R=D==="vertical"?"y":"x",F=v(T,function(M){return M.getLayout()[R]});return F.keys.sort(function(M,K){return M-K}),L.each(F.keys,function(M){B.push(F.buckets.get(M))}),B}function u(T,D,B,R,F,M){var K=Infinity;L.each(T,function(j){var H=j.length,k=0;L.each(j,function(z){k+=z.getLayout().value});var P=M==="vertical"?(R-(H-1)*F)/k:(B-(H-1)*F)/k;P<K&&(K=P)}),L.each(T,function(j){L.each(j,function(H,k){var P=H.getLayout().value*K;M==="vertical"?(H.setLayout({x:k},!0),H.setLayout({dx:P},!0)):(H.setLayout({y:k},!0),H.setLayout({dy:P},!0))})}),L.each(D,function(j){var H=+j.getValue()*K;j.setLayout({dy:H},!0)})}function o(T,D,B,R,F){var M=F==="vertical"?"x":"y";L.each(T,function(K){K.sort(function(J,ue){return J.getLayout()[M]-ue.getLayout()[M]});for(var j,H,k,P=0,z=K.length,Y=F==="vertical"?"dx":"dy",_=0;_<z;_++)H=K[_],k=P-H.getLayout()[M],k>0&&(j=H.getLayout()[M]+k,F==="vertical"?H.setLayout({x:j},!0):H.setLayout({y:j},!0)),P=H.getLayout()[M]+H.getLayout()[Y]+D;var G=F==="vertical"?R:B;if(k=P-D-G,k>0)for(j=H.getLayout()[M]-k,F==="vertical"?H.setLayout({x:j},!0):H.setLayout({y:j},!0),P=j,_=z-2;_>=0;--_)H=K[_],k=H.getLayout()[M]+H.getLayout()[Y]+D-P,k>0&&(j=H.getLayout()[M]-k,F==="vertical"?H.setLayout({x:j},!0):H.setLayout({y:j},!0)),P=H.getLayout()[M]})}function c(T,D,B){L.each(T.slice().reverse(),function(R){L.each(R,function(F){if(F.outEdges.length){var M=N(F.outEdges,h,B)/N(F.outEdges,C,B);if(isNaN(M)){var K=F.outEdges.length;M=K?N(F.outEdges,f,B)/K:0}if(B==="vertical"){var j=F.getLayout().x+(M-I(F,B))*D;F.setLayout({x:j},!0)}else{var H=F.getLayout().y+(M-I(F,B))*D;F.setLayout({y:H},!0)}}})})}function h(T,D){return I(T.node2,D)*T.getValue()}function f(T,D){return I(T.node2,D)}function w(T,D){return I(T.node1,D)*T.getValue()}function x(T,D){return I(T.node1,D)}function I(T,D){return D==="vertical"?T.getLayout().x+T.getLayout().dx/2:T.getLayout().y+T.getLayout().dy/2}function C(T){return T.getValue()}function N(T,D,B){for(var R=0,F=T.length,M=-1;++M<F;){var K=+D.call(T,T[M],B);isNaN(K)||(R+=K)}return R}function S(T,D,B){L.each(T,function(R){L.each(R,function(F){if(F.inEdges.length){var M=N(F.inEdges,w,B)/N(F.inEdges,C,B);if(isNaN(M)){var K=F.inEdges.length;M=K?N(F.inEdges,x,B)/K:0}if(B==="vertical"){var j=F.getLayout().x+(M-I(F,B))*D;F.setLayout({x:j},!0)}else{var H=F.getLayout().y+(M-I(F,B))*D;F.setLayout({y:H},!0)}}})})}function E(T,D){var B=D==="vertical"?"x":"y";L.each(T,function(R){R.outEdges.sort(function(F,M){return F.node2.getLayout()[B]-M.node2.getLayout()[B]}),R.inEdges.sort(function(F,M){return F.node1.getLayout()[B]-M.node1.getLayout()[B]})}),L.each(T,function(R){var F=0,M=0;L.each(R.outEdges,function(K){K.setLayout({sy:F},!0),F+=K.getLayout().dy}),L.each(R.inEdges,function(K){K.setLayout({ty:M},!0),M+=K.getLayout().dy})})}te.exports=A},"giR+":function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("QbM5"),v=e.n(g)},gut8:function(te,U){var e={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},y=9;U.ContextCachedBy=e,U.WILL_BE_RESTORED=y},gvm7:function(te,U,e){var y=e("bYtY"),L=e("dqUG");function g(A){this._zr=A.getZr(),this._show=!1,this._hideTimeout}g.prototype={constructor:g,_enterable:!0,update:function(){},show:function(A){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(A,b,m){this.el&&this._zr.remove(this.el);for(var d={},r=A,a="{marker",s="|}",i=r.indexOf(a);i>=0;){var n=r.indexOf(s),l=r.substr(i+a.length,n-i-a.length);l.indexOf("sub")>-1?d["marker"+l]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:b[l],textOffset:[3,0]}:d["marker"+l]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:b[l]},r=r.substr(n+1),i=r.indexOf("{marker")}this.el=new L({style:{rich:d,text:A,textLineHeight:20,textBackgroundColor:m.get("backgroundColor"),textBorderRadius:m.get("borderRadius"),textFill:m.get("textStyle.color"),textPadding:m.get("padding")},z:m.get("z")}),this._zr.add(this.el);var t=this;this.el.on("mouseover",function(){t._enterable&&(clearTimeout(t._hideTimeout),t._show=!0),t._inContent=!0}),this.el.on("mouseout",function(){t._enterable&&(t._show&&t.hideLater(t._hideDelay)),t._inContent=!1})},setEnterable:function(A){this._enterable=A},getSize:function(){var A=this.el.getBoundingRect();return[A.width,A.height]},moveTo:function(A,b){this.el&&this.el.attr("position",[A,b])},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(A){this._show&&!(this._inContent&&this._enterable)&&(A?(this._hideDelay=A,this._show=!1,this._hideTimeout=setTimeout(y.bind(this.hide,this),A)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var A=this.getSize();return{width:A[0],height:A[1]}}};var v=g;te.exports=v},gwTy:function(te,U,e){},h54F:function(te,U,e){var y=e("ProS"),L=e("YXkt"),g=e("bYtY"),v=e("4NO4"),A=v.defaultEmphasis,b=e("Qxkt"),m=e("7aKB"),d=m.encodeHTML,r=e("I3/A"),a=e("xKMd"),s=y.extendSeriesModel({type:"series.graph",init:function(n){s.superApply(this,"init",arguments);var l=this;function t(){return l._categoriesData}this.legendVisualProvider=new a(t,t),this.fillDataTextStyle(n.edges||n.links),this._updateCategoriesData()},mergeOption:function(n){s.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(n.edges||n.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(n){s.superApply(this,"mergeDefaultAndTheme",arguments),A(n,["edgeLabel"],["show"])},getInitialData:function(n,l){var t=n.edges||n.links||[],u=n.data||n.nodes||[],o=this;if(u&&t)return r(u,t,this,!0,c).data;function c(h,f){h.wrapMethod("getItemModel",function(S){var E=o._categoriesModels,T=S.getShallow("category"),D=E[T];return D&&(D.parentModel=S.parentModel,S.parentModel=D),S});var w=o.getModel("edgeLabel"),x=new b({label:w.option},w.parentModel,l),I=o.getModel("emphasis.edgeLabel"),C=new b({emphasis:{label:I.option}},I.parentModel,l);f.wrapMethod("getItemModel",function(S){return S.customizeGetParent(N),S});function N(S){return S=this.parsePath(S),S&&S[0]==="label"?x:S&&S[0]==="emphasis"&&S[1]==="label"?C:this.parentModel}}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(n,l,t){if(t==="edge"){var u=this.getData(),o=this.getDataParams(n,t),c=u.graph.getEdgeByIndex(n),h=u.getName(c.node1.dataIndex),f=u.getName(c.node2.dataIndex),w=[];return h!=null&&w.push(h),f!=null&&w.push(f),w=d(w.join(" > ")),o.value&&(w+=" : "+d(o.value)),w}else return s.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var n=g.map(this.option.categories||[],function(t){return t.value!=null?t:g.extend({value:0},t)}),l=new L(["value"],this);l.initData(n),this._categoriesData=l,this._categoriesModels=l.mapArray(function(t){return l.getItemModel(t,!0)})},setZoom:function(n){this.option.zoom=n},setCenter:function(n){this.option.center=n},isAnimationEnabled:function(){return s.superCall(this,"isAnimationEnabled")&&!(this.get("layout")==="force"&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,curveness:0,opacity:.5},emphasis:{label:{show:!0}}}}),i=s;te.exports=i},h7HQ:function(te,U,e){var y=e("y+Vt"),L=e("T6xi"),g=y.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(A,b){L.buildPath(A,b,!0)}});te.exports=g},h8O9:function(te,U,e){var y=e("bYtY"),L=y.map,g=e("zM3Q"),v=e("7hqr"),A=v.isDimensionStacked;function b(m){return{seriesType:m,plan:g(),reset:function(d){var r=d.getData(),a=d.coordinateSystem,s=d.pipelineContext,i=s.large;if(!a)return;var n=L(a.dimensions,function(o){return r.mapDimension(o)}).slice(0,2),l=n.length,t=r.getCalculationInfo("stackResultDimension");A(r,n[0])&&(n[0]=t),A(r,n[1])&&(n[1]=t);function u(o,c){for(var h=o.end-o.start,f=i&&new Float32Array(h*l),w=o.start,x=0,I=[],C=[];w<o.end;w++){var N;if(l===1){var S=c.get(n[0],w);N=!isNaN(S)&&a.dataToPoint(S,null,C)}else{var S=I[0]=c.get(n[0],w),E=I[1]=c.get(n[1],w);N=!isNaN(S)&&!isNaN(E)&&a.dataToPoint(I,null,C)}i?(f[x++]=N?N[0]:NaN,f[x++]=N?N[1]:NaN):c.setItemLayout(w,N&&N.slice()||[NaN,NaN])}i&&c.setLayout("symbolPoints",f)}return l&&{progress:u}}}}te.exports=b},hD7B:function(te,U,e){var y=e("bYtY"),L=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function g(A){y.each(L,function(b){this[b]=y.bind(A[b],A)},this)}var v=g;te.exports=v},hFmY:function(te,U,e){var y=e("ProS"),L={type:"axisAreaSelect",event:"axisAreaSelected"};y.registerAction(L,function(g,v){v.eachComponent({mainType:"parallelAxis",query:g},function(A){A.axis.model.setActiveIntervals(g.intervals)})}),y.registerAction("parallelAxisExpand",function(g,v){v.eachComponent({mainType:"parallel",query:g},function(A){A.setAxisExpand(g)})})},hJvP:function(te,U,e){var y=e("2dDv"),L=e("IDmD");function g(v,A){var b=[];return v.eachComponent("parallel",function(m,d){var r=new y(m,v,A);r.name="parallel_"+d,r.resize(m,A),m.coordinateSystem=r,r.model=m,b.push(r)}),v.eachSeries(function(m){if(m.get("coordinateSystem")==="parallel"){var d=v.queryComponents({mainType:"parallel",index:m.get("parallelIndex"),id:m.get("parallelId")})[0];m.coordinateSystem=d.coordinateSystem}}),b}L.register("parallel",{create:g})},hM6l:function(te,U,e){var y=e("bYtY"),L=y.each,g=y.map,v=e("OELB"),A=v.linearMap,b=v.getPixelPrecision,m=v.round,d=e("4HMb"),r=d.createAxisTicks,a=d.createAxisLabels,s=d.calculateCategoryInterval,i=[0,1],n=function(o,c,h){this.dim=o,this.scale=c,this._extent=h||[0,0],this.inverse=!1,this.onBand=!1};n.prototype={constructor:n,contain:function(o){var c=this._extent,h=Math.min(c[0],c[1]),f=Math.max(c[0],c[1]);return o>=h&&o<=f},containData:function(o){return this.scale.contain(o)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(o){return b(o||this.scale.getExtent(),this._extent)},setExtent:function(o,c){var h=this._extent;h[0]=o,h[1]=c},dataToCoord:function(o,c){var h=this._extent,f=this.scale;return o=f.normalize(o),this.onBand&&f.type==="ordinal"&&(h=h.slice(),l(h,f.count())),A(o,i,h,c)},coordToData:function(o,c){var h=this._extent,f=this.scale;this.onBand&&f.type==="ordinal"&&(h=h.slice(),l(h,f.count()));var w=A(o,h,i,c);return this.scale.scale(w)},pointToData:function(o,c){},getTicksCoords:function(o){o=o||{};var c=o.tickModel||this.getTickModel(),h=r(this,c),f=h.ticks,w=g(f,function(I){return{coord:this.dataToCoord(I),tickValue:I}},this),x=c.get("alignWithLabel");return t(this,w,x,o.clamp),w},getMinorTicksCoords:function(){if(this.scale.type==="ordinal")return[];var o=this.model.getModel("minorTick"),c=o.get("splitNumber");c>0&&c<100||(c=5);var h=this.scale.getMinorTicks(c),f=g(h,function(w){return g(w,function(x){return{coord:this.dataToCoord(x),tickValue:x}},this)},this);return f},getViewLabels:function(){return a(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var o=this._extent,c=this.scale.getExtent(),h=c[1]-c[0]+(this.onBand?1:0);h===0&&(h=1);var f=Math.abs(o[1]-o[0]);return Math.abs(f)/h},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return s(this)}};function l(o,c){var h=o[1]-o[0],f=c,w=h/f/2;o[0]+=w,o[1]-=w}function t(o,c,h,f){var w=c.length;if(!o.onBand||h||!w)return;var x=o.getExtent(),I,C;if(w===1)c[0].coord=x[0],I=c[1]={coord:x[0]};else{var N=c[w-1].tickValue-c[0].tickValue,S=(c[w-1].coord-c[0].coord)/N;L(c,function(B){B.coord-=S/2});var E=o.scale.getExtent();C=1+E[1]-c[w-1].tickValue,I={coord:c[w-1].coord+S*C},c.push(I)}var T=x[0]>x[1];D(c[0].coord,x[0])&&(f?c[0].coord=x[0]:c.shift()),f&&D(x[0],c[0].coord)&&c.unshift({coord:x[0]}),D(x[1],I.coord)&&(f?I.coord=x[1]:c.pop()),f&&D(I.coord,x[1])&&c.push({coord:x[1]});function D(B,R){return B=m(B),R=m(R),T?B>R:B<R}}var u=n;te.exports=u},hNWo:function(te,U,e){var y=e("ProS"),L=e("bYtY"),g=e("Qxkt"),v=e("4NO4"),A=v.isNameSpecified,b=e("Kagy"),m=b.legend.selector,d={all:{type:"all",title:L.clone(m.all)},inverse:{type:"inverse",title:L.clone(m.inverse)}},r=y.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(s,i,n){this.mergeDefaultAndTheme(s,n),s.selected=s.selected||{},this._updateSelector(s)},mergeOption:function(s){r.superCall(this,"mergeOption",s),this._updateSelector(s)},_updateSelector:function(s){var i=s.selector;i===!0&&(i=s.selector=["all","inverse"]),L.isArray(i)&&L.each(i,function(n,l){L.isString(n)&&(n={type:n}),i[l]=L.merge(n,d[n.type])})},optionUpdated:function(){this._updateData(this.ecModel);var s=this._data;if(s[0]&&this.get("selectedMode")==="single"){for(var i=!1,n=0;n<s.length;n++){var l=s[n].get("name");if(this.isSelected(l)){this.select(l),i=!0;break}}!i&&this.select(s[0].get("name"))}},_updateData:function(s){var i=[],n=[];s.eachRawSeries(function(u){var o=u.name;n.push(o);var c;if(u.legendVisualProvider){var h=u.legendVisualProvider,f=h.getAllNames();s.isSeriesFiltered(u)||(n=n.concat(f)),f.length?i=i.concat(f):c=!0}else c=!0;c&&A(u)&&i.push(u.name)}),this._availableNames=n;var l=this.get("data")||i,t=L.map(l,function(u){return(typeof u=="string"||typeof u=="number")&&(u={name:u}),new g(u,this,this.ecModel)},this);this._data=t},getData:function(){return this._data},select:function(s){var i=this.option.selected,n=this.get("selectedMode");if(n==="single"){var l=this._data;L.each(l,function(t){i[t.get("name")]=!1})}i[s]=!0},unSelect:function(s){this.get("selectedMode")!=="single"&&(this.option.selected[s]=!1)},toggleSelected:function(s){var i=this.option.selected;i.hasOwnProperty(s)||(i[s]=!0),this[i[s]?"unSelect":"select"](s)},allSelect:function(){var s=this._data,i=this.option.selected;L.each(s,function(n){i[n.get("name",!0)]=!0})},inverseSelect:function(){var s=this._data,i=this.option.selected;L.each(s,function(n){var l=n.get("name",!0);i.hasOwnProperty(l)||(i[l]=!0),i[l]=!i[l]})},isSelected:function(s){var i=this.option.selected;return!(i.hasOwnProperty(s)&&!i[s])&&L.indexOf(this._availableNames,s)>=0},getOrient:function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:" sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}}}),a=r;te.exports=a},hOwI:function(te,U){var e=Math.log(2);function y(g,v,A,b,m,d){var r=b+"-"+m,a=g.length;if(d.hasOwnProperty(r))return d[r];if(v===1){var s=Math.round(Math.log((1<<a)-1&~m)/e);return g[A][s]}for(var i=b|1<<A,n=A+1;b&1<<n;)n++;for(var l=0,t=0,u=0;t<a;t++){var o=1<<t;o&m||(l+=(u%2?-1:1)*g[A][t]*y(g,v-1,n,i,m|o,d),u++)}return d[r]=l,l}function L(g,v){var A=[[g[0],g[1],1,0,0,0,-v[0]*g[0],-v[0]*g[1]],[0,0,0,g[0],g[1],1,-v[1]*g[0],-v[1]*g[1]],[g[2],g[3],1,0,0,0,-v[2]*g[2],-v[2]*g[3]],[0,0,0,g[2],g[3],1,-v[3]*g[2],-v[3]*g[3]],[g[4],g[5],1,0,0,0,-v[4]*g[4],-v[4]*g[5]],[0,0,0,g[4],g[5],1,-v[5]*g[4],-v[5]*g[5]],[g[6],g[7],1,0,0,0,-v[6]*g[6],-v[6]*g[7]],[0,0,0,g[6],g[7],1,-v[7]*g[6],-v[7]*g[7]]],b={},m=y(A,8,0,0,0,b);if(m===0)return;for(var d=[],r=0;r<8;r++)for(var a=0;a<8;a++)d[a]==null&&(d[a]=0),d[a]+=((r+a)%2?-1:1)*y(A,7,r===0?1:0,1<<r,1<<a,b)/m*v[r];return function(s,i,n){var l=i*d[6]+n*d[7]+1;s[0]=(i*d[0]+n*d[1]+d[2])/l,s[1]=(i*d[3]+n*d[4]+d[5])/l}}U.buildTransformer=L},hX1E:function(te,U){var e=Math.PI*2;function y(L){return L%=e,L<0&&(L+=e),L}U.normalizeRadian=y},hi0g:function(te,U,e){var y=e("bYtY"),L=y.createHashMap,g=y.each,v=y.isString,A=y.defaults,b=y.extend,m=y.isObject,d=y.clone,r=e("4NO4"),a=r.normalizeToArray,s=e("D5nY"),i=s.guessOrdinal,n=s.BE_ORDINAL,l=e("7G+c"),t=e("L0Ub"),u=t.OTHER_DIMENSIONS,o=e("Vi4m");function c(x,I,C){l.isInstance(I)||(I=l.seriesDataToSource(I)),C=C||{},x=(x||[]).slice();for(var N=(C.dimsDef||[]).slice(),S=L(),E=L(),T=[],D=h(I,x,N,C.dimCount),B=0;B<D;B++){var R=N[B]=b({},m(N[B])?N[B]:{name:N[B]}),F=R.name,M=T[B]=new o;F!=null&&S.get(F)==null&&(M.name=M.displayName=F,S.set(F,B)),R.type!=null&&(M.type=R.type),R.displayName!=null&&(M.displayName=R.displayName)}var K=C.encodeDef;!K&&C.encodeDefaulter&&(K=C.encodeDefaulter(I,D)),K=L(K),K.each(function(J,ue){if(J=a(J).slice(),J.length===1&&!v(J[0])&&J[0]<0){K.set(ue,!1);return}var q=K.set(ue,[]);g(J,function(re,me){v(re)&&(re=S.get(re)),re!=null&&re<D&&(q[me]=re,H(T[re],ue,me))})});var j=0;g(x,function(J,ue){var q,J,re,me;if(v(J))q=J,J={};else{q=J.name;var be=J.ordinalMeta;J.ordinalMeta=null,J=d(J),J.ordinalMeta=be,re=J.dimsDef,me=J.otherDims,J.name=J.coordDim=J.coordDimIndex=J.dimsDef=J.otherDims=null}var ke=K.get(q);if(ke===!1)return;var ke=a(ke);if(!ke.length)for(var ce=0;ce<(re&&re.length||1);ce++){for(;j<T.length&&T[j].coordDim!=null;)j++;j<T.length&&ke.push(j++)}g(ke,function(Ee,pe){var Se=T[Ee];if(H(A(Se,J),q,pe),Se.name==null&&re){var st=re[pe];!m(st)&&(st={name:st}),Se.name=Se.displayName=st.name,Se.defaultTooltip=st.defaultTooltip}me&&A(Se.otherDims,me)})});function H(J,ue,q){u.get(ue)!=null?J.otherDims[ue]=q:(J.coordDim=ue,J.coordDimIndex=q,E.set(ue,!0))}var k=C.generateCoord,P=C.generateCoordCount,z=P!=null;P=k?P||1:0;for(var Y=k||"value",_=0;_<D;_++){var M=T[_]=T[_]||new o,G=M.coordDim;G==null&&(M.coordDim=f(Y,E,z),M.coordDimIndex=0,(!k||P<=0)&&(M.isExtraCoord=!0),P--),M.name==null&&(M.name=f(M.coordDim,S)),M.type==null&&(i(I,_,M.name)===n.Must||M.isExtraCoord&&(M.otherDims.itemName!=null||M.otherDims.seriesName!=null))&&(M.type="ordinal")}return T}function h(x,I,C,N){var S=Math.max(x.dimensionsDetectCount||1,I.length,C.length,N||0);return g(I,function(E){var T=E.dimsDef;T&&(S=Math.max(S,T.length))}),S}function f(x,I,C){if(C||I.get(x)!=null){for(var N=0;I.get(x+N)!=null;)N++;x+=N}return I.set(x,!0),x}var w=c;te.exports=w},hkKa:function(te,U,e){"use strict";e.d(U,"a",function(){return A});var y=e("J4zp"),L=e.n(y),g=e("q1tI"),v=e.n(g);function A(){var b=g.useReducer(function(r){return r+1},0),m=L()(b,2),d=m[1];return d}},hw6D:function(te,U,e){var y=e("bYtY");function L(A){A.eachSeriesByType("radar",function(b){var m=b.getData(),d=[],r=b.coordinateSystem;if(!r)return;var a=r.getIndicatorAxes();y.each(a,function(s,i){m.each(m.mapDimension(a[i].dim),function(n,l){d[l]=d[l]||[];var t=r.dataToPoint(n,i);d[l][i]=g(t)?t:v(r)})}),m.each(function(s){var i=y.find(d[s],function(n){return g(n)})||v(r);d[s].push(i.slice()),m.setItemLayout(s,d[s])})})}function g(A){return!isNaN(A[0])&&!isNaN(A[1])}function v(A){return[A.cx,A.cy]}te.exports=L},hwYd:function(te,U,e){"use strict";var y=e("284h"),L=e("TqRt");Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var g=L(e("3tO9")),v=y(e("q1tI")),A=L(e("Nu4q")),b=L(e("KQxl")),m=function(a,s){return v.createElement(b.default,(0,g.default)((0,g.default)({},a),{},{ref:s,icon:A.default}))};m.displayName="PictureTwoTone";var d=v.forwardRef(m);U.default=d},hydK:function(te,U){var e="http://www.w3.org/2000/svg";function y(L){return document.createElementNS(e,L)}U.createElement=y},hyiK:function(te,U){function e(y,L,g,v,A,b){if(b>L&&b>v||b<L&&b<v)return 0;if(v===L)return 0;var m=v<L?1:-1,d=(b-L)/(v-L);(d===1||d===0)&&(m=v<L?.5:-.5);var r=d*(g-y)+y;return r===A?Infinity:r>A?m:0}te.exports=e},i38C:function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("bYtY"),v=g.createHashMap,A=g.retrieve,b=g.each;function m(s){this.coordSysName=s,this.coordSysDims=[],this.axisMap=v(),this.categoryAxisMap=v(),this.firstCategoryDimIndex=null}function d(s){var i=s.get("coordinateSystem"),n=new m(i),l=r[i];if(l)return l(s,n,n.axisMap,n.categoryAxisMap),n}var r={cartesian2d:function(s,i,n,l){var t=s.getReferringComponents("xAxis")[0],u=s.getReferringComponents("yAxis")[0];i.coordSysDims=["x","y"],n.set("x",t),n.set("y",u),a(t)&&(l.set("x",t),i.firstCategoryDimIndex=0),a(u)&&(l.set("y",u),i.firstCategoryDimIndex==null&(i.firstCategoryDimIndex=1))},singleAxis:function(s,i,n,l){var t=s.getReferringComponents("singleAxis")[0];i.coordSysDims=["single"],n.set("single",t),a(t)&&(l.set("single",t),i.firstCategoryDimIndex=0)},polar:function(s,i,n,l){var t=s.getReferringComponents("polar")[0],u=t.findAxisModel("radiusAxis"),o=t.findAxisModel("angleAxis");i.coordSysDims=["radius","angle"],n.set("radius",u),n.set("angle",o),a(u)&&(l.set("radius",u),i.firstCategoryDimIndex=0),a(o)&&(l.set("angle",o),i.firstCategoryDimIndex==null&&(i.firstCategoryDimIndex=1))},geo:function(s,i,n,l){i.coordSysDims=["lng","lat"]},parallel:function(s,i,n,l){var t=s.ecModel,u=t.getComponent("parallel",s.get("parallelIndex")),o=i.coordSysDims=u.dimensions.slice();b(u.parallelAxisIndex,function(c,h){var f=t.getComponent("parallelAxis",c),w=o[h];n.set(w,f),a(f)&&i.firstCategoryDimIndex==null&&(l.set(w,f),i.firstCategoryDimIndex=h)})}};function a(s){return s.get("type")==="category"}U.getCoordSysInfoBySeries=d},i6bk:function(te,U,e){"use strict";e.d(U,"b",function(){return y}),e.d(U,"a",function(){return L});function y(g){return g!=null&&g===g.window}function L(g,v){if(typeof window=="undefined")return 0;var A=v?"scrollTop":"scrollLeft",b=0;return y(g)?b=g[v?"pageYOffset":"pageXOffset"]:g instanceof Document?b=g.documentElement[A]:g&&(b=g[A]),g&&!y(g)&&typeof b!="number"&&(b=(g.ownerDocument||g).documentElement[A]),b}},i8CU:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=L(e("Fm1+"));function L(v){return v&&v.__esModule?v:{default:v}}var g=y;U.default=g,te.exports=g},iLNv:function(te,U){var e="\0__throttleOriginMethod",y="\0__throttleRate",L="\0__throttleType";function g(b,m,d){var r,a=0,s=0,i=null,n,l,t,u;m=m||0;function o(){s=new Date().getTime(),i=null,b.apply(l,t||[])}var c=function(){r=new Date().getTime(),l=this,t=arguments;var h=u||m,f=u||d;u=null,n=r-(f?a:s)-h,clearTimeout(i),f?i=setTimeout(o,h):n>=0?o():i=setTimeout(o,-n),a=r};return c.clear=function(){i&&(clearTimeout(i),i=null)},c.debounceNextCall=function(h){u=h},c}function v(b,m,d,r){var a=b[m];if(!a)return;var s=a[e]||a,i=a[L],n=a[y];if(n!==d||i!==r){if(d==null||!r)return b[m]=s;a=b[m]=g(s,d,r==="debounce"),a[e]=s,a[L]=r,a[y]=d}return a}function A(b,m){var d=b[m];d&&d[e]&&(b[m]=d[e])}U.throttle=g,U.createOrUpdate=v,U.clear=A},iPDy:function(te,U,e){var y=e("ProS"),L=e("bYtY"),g=y.extendComponentView({type:"marker",init:function(){this.markerGroupMap=L.createHashMap()},render:function(v,A,b){var m=this.markerGroupMap;m.each(function(r){r.__keep=!1});var d=this.type+"Model";A.eachSeries(function(r){var a=r[d];a&&this.renderSeries(r,a,A,b)},this),m.each(function(r){!r.__keep&&this.group.remove(r.group)},this)},renderSeries:function(){}});te.exports=g},iQDF:function(te,U,e){"use strict";var y=e("ZTW2"),L=e.n(y),g=e("+BJd"),v=e("+L6B")},iRjW:function(te,U,e){var y=e("bYtY"),L=e("Yl7c"),g=L.parseClassType,v=0;function A(d){return[d||"",v++,Math.random().toFixed(5)].join("_")}function b(d){var r={};return d.registerSubTypeDefaulter=function(a,s){a=g(a),r[a.main]=s},d.determineSubType=function(a,s){var i=s.type;if(!i){var n=g(a).main;d.hasSubTypes(a)&&r[n]&&(i=r[n](s))}return i},d}function m(d,r){d.topologicalTravel=function(n,l,t,u){if(!n.length)return;var o=a(l),c=o.graph,h=o.noEntryList,f={};for(y.each(n,function(S){f[S]=!0});h.length;){var w=h.pop(),x=c[w],I=!!f[w];I&&(t.call(u,w,x.originalDeps.slice()),delete f[w]),y.each(x.successor,I?N:C)}y.each(f,function(){throw new Error("Circle dependency may exists")});function C(S){c[S].entryCount--,c[S].entryCount===0&&h.push(S)}function N(S){f[S]=!0,C(S)}};function a(n){var l={},t=[];return y.each(n,function(u){var o=s(l,u),c=o.originalDeps=r(u),h=i(c,n);o.entryCount=h.length,o.entryCount===0&&t.push(u),y.each(h,function(f){y.indexOf(o.predecessor,f)<0&&o.predecessor.push(f);var w=s(l,f);y.indexOf(w.successor,f)<0&&w.successor.push(u)})}),{graph:l,noEntryList:t}}function s(n,l){return n[l]||(n[l]={predecessor:[],successor:[]}),n[l]}function i(n,l){var t=[];return y.each(n,function(u){y.indexOf(l,u)>=0&&t.push(u)}),t}}U.getUID=A,U.enableSubTypeDefaulter=b,U.enableTopologicalTravel=m},iXHM:function(te,U){var e="";typeof navigator!="undefined"&&(e=navigator.platform||"");var y={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:e.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};te.exports=y},iXp4:function(te,U,e){var y=e("ItGF"),L=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function g(v){return y.browser.ie&&y.browser.version>=11?function(){var A=this.__clipPaths,b=this.style,m;if(A)for(var d=0;d<A.length;d++){var r=A[d],a=r&&r.shape,s=r&&r.type;if(a&&(s==="sector"&&a.startAngle===a.endAngle||s==="rect"&&(!a.width||!a.height))){for(var i=0;i<L.length;i++)L[i][2]=b[L[i][0]],b[L[i][0]]=L[i][1];m=!0;break}}if(v.apply(this,arguments),m)for(var i=0;i<L.length;i++)b[L[i][0]]=L[i][2]}:v}te.exports=g},iYpf:function(te,U,e){"use strict";var y=e("284h"),L=e("TqRt");Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var g=L(e("3tO9")),v=y(e("q1tI")),A=L(e("ZLWo")),b=L(e("KQxl")),m=function(a,s){return v.createElement(b.default,(0,g.default)((0,g.default)({},a),{},{ref:s,icon:A.default}))};m.displayName="FolderOpenOutlined";var d=v.forwardRef(m);U.default=d},ieMj:function(te,U,e){var y=e("OELB"),L=e("7aKB"),g=e("4NgU"),v=e("lE7J"),A=y.round,b=g.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(d,r){var a=this._extent;isNaN(d)||(a[0]=parseFloat(d)),isNaN(r)||(a[1]=parseFloat(r))},unionExtent:function(d){var r=this._extent;d[0]<r[0]&&(r[0]=d[0]),d[1]>r[1]&&(r[1]=d[1]),b.prototype.setExtent.call(this,r[0],r[1])},getInterval:function(){return this._interval},setInterval:function(d){this._interval=d,this._niceExtent=this._extent.slice(),this._intervalPrecision=v.getIntervalPrecision(d)},getTicks:function(d){var r=this._interval,a=this._extent,s=this._niceExtent,i=this._intervalPrecision,n=[];if(!r)return n;var l=1e4;a[0]<s[0]&&(d?n.push(A(s[0]-r,i)):n.push(a[0]));for(var t=s[0];t<=s[1]&&!(n.push(t),t=A(t+r,i),t===n[n.length-1]);)if(n.length>l)return[];var u=n.length?n[n.length-1]:s[1];return a[1]>u&&(d?n.push(A(u+r,i)):n.push(a[1])),n},getMinorTicks:function(d){for(var r=this.getTicks(!0),a=[],s=this.getExtent(),i=1;i<r.length;i++){for(var n=r[i],l=r[i-1],t=0,u=[],o=n-l,c=o/d;t<d-1;){var h=y.round(l+(t+1)*c);h>s[0]&&h<s[1]&&u.push(h),t++}a.push(u)}return a},getLabel:function(d,r){if(d==null)return"";var a=r&&r.precision;return a==null?a=y.getPrecisionSafe(d)||0:a==="auto"&&(a=this._intervalPrecision),d=A(d,a,!0),L.addCommas(d)},niceTicks:function(d,r,a){d=d||5;var s=this._extent,i=s[1]-s[0];if(!isFinite(i))return;i<0&&(i=-i,s.reverse());var n=v.intervalScaleNiceTicks(s,d,r,a);this._intervalPrecision=n.intervalPrecision,this._interval=n.interval,this._niceExtent=n.niceTickExtent},niceExtent:function(d){var r=this._extent;if(r[0]===r[1])if(r[0]!==0){var a=r[0];d.fixMax||(r[1]+=a/2),r[0]-=a/2}else r[1]=1;var s=r[1]-r[0];isFinite(s)||(r[0]=0,r[1]=1),this.niceTicks(d.splitNumber,d.minInterval,d.maxInterval);var i=this._interval;d.fixMin||(r[0]=A(Math.floor(r[0]/i)*i)),d.fixMax||(r[1]=A(Math.ceil(r[1]/i)*i))}});b.create=function(){return new b};var m=b;te.exports=m},j5sG:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.createSensor=void 0;var y=L(e("NohK"));function L(v){return v&&v.__esModule?v:{default:v}}var g=function(A){var b=void 0,m=[],d=(0,y.default)(function(){m.forEach(function(n){n(A)})}),r=function(){var l=new ResizeObserver(d);return l.observe(A),d(),l},a=function(l){b||(b=r()),m.indexOf(l)===-1&&m.push(l)},s=function(){b.disconnect(),m=[],b=void 0},i=function(l){var t=m.indexOf(l);t!==-1&&m.splice(t,1),m.length===0&&b&&s()};return{element:A,bind:a,destroy:s,unbind:i}};U.createSensor=g},jCWc:function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("1GLa")},jCoz:function(te,U,e){var y=e("bYtY"),L=e("4NgU"),g=e("OELB"),v=e("ieMj"),A=L.prototype,b=v.prototype,m=g.getPrecisionSafe,d=g.round,r=Math.floor,a=Math.ceil,s=Math.pow,i=Math.log,n=L.extend({type:"log",base:10,$constructor:function(){L.apply(this,arguments),this._originalScale=new v},getTicks:function(u){var o=this._originalScale,c=this._extent,h=o.getExtent();return y.map(b.getTicks.call(this,u),function(f){var w=g.round(s(this.base,f));return w=f===c[0]&&o.__fixMin?l(w,h[0]):w,w=f===c[1]&&o.__fixMax?l(w,h[1]):w,w},this)},getMinorTicks:b.getMinorTicks,getLabel:b.getLabel,scale:function(u){return u=A.scale.call(this,u),s(this.base,u)},setExtent:function(u,o){var c=this.base;u=i(u)/i(c),o=i(o)/i(c),b.setExtent.call(this,u,o)},getExtent:function(){var u=this.base,o=A.getExtent.call(this);o[0]=s(u,o[0]),o[1]=s(u,o[1]);var c=this._originalScale,h=c.getExtent();return c.__fixMin&&(o[0]=l(o[0],h[0])),c.__fixMax&&(o[1]=l(o[1],h[1])),o},unionExtent:function(u){this._originalScale.unionExtent(u);var o=this.base;u[0]=i(u[0])/i(o),u[1]=i(u[1])/i(o),A.unionExtent.call(this,u)},unionExtentFromData:function(u,o){this.unionExtent(u.getApproximateExtent(o))},niceTicks:function(u){u=u||10;var o=this._extent,c=o[1]-o[0];if(c===Infinity||c<=0)return;var h=g.quantity(c),f=u/c*h;for(f<=.5&&(h*=10);!isNaN(h)&&Math.abs(h)<1&&Math.abs(h)>0;)h*=10;var w=[g.round(a(o[0]/h)*h),g.round(r(o[1]/h)*h)];this._interval=h,this._niceExtent=w},niceExtent:function(u){b.niceExtent.call(this,u);var o=this._originalScale;o.__fixMin=u.fixMin,o.__fixMax=u.fixMax}});y.each(["contain","normalize"],function(u){n.prototype[u]=function(o){return o=i(o)/i(this.base),A[u].call(this,o)}}),n.create=function(){return new n};function l(u,o){return d(u,m(o))}var t=n;te.exports=t},jN4g:function(te,U,e){"use strict";var y=e("VTBJ"),L=e("q1tI"),g={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"},v=g,A=e("6VBw"),b=function(r,a){return L.createElement(A.a,Object(y.a)(Object(y.a)({},r),{},{ref:a,icon:v}))};b.displayName="CloseCircleFilled";var m=U.a=L.forwardRef(b)},jO45:function(te,U,e){"use strict";var y=e("VTBJ"),L=e("q1tI"),g={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"},v=g,A=e("6VBw"),b=function(r,a){return L.createElement(A.a,Object(y.a)(Object(y.a)({},r),{},{ref:a,icon:v}))};b.displayName="CheckCircleFilled";var m=U.a=L.forwardRef(b)},jTL6:function(te,U,e){var y=e("y+Vt"),L=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(v,A){var b=A.cx,m=A.cy,d=Math.max(A.r,0),r=A.startAngle,a=A.endAngle,s=A.clockwise,i=Math.cos(r),n=Math.sin(r);v.moveTo(i*d+b,n*d+m),v.arc(b,m,d,r,a,!s)}});te.exports=L},je13:function(te,U,e){var y=e("5nXd"),L=e("gRFJ"),g=[e("uQRt")];te.exports=y.createStore(L,g)},jett:function(te,U,e){var y=e("ProS");e("VSLf"),e("oBaM"),e("FGaS");var L=e("mOdp"),g=e("f5Yq"),v=e("hw6D"),A=e("0/Rx"),b=e("eJH7");y.registerVisual(L("radar")),y.registerVisual(g("radar","circle")),y.registerLayout(v),y.registerProcessor(A("radar")),y.registerPreprocessor(b)},jhfD:function(te,U,e){"use strict";var y=e("VTBJ"),L=e("q1tI"),g={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"},v=g,A=e("6VBw"),b=function(r,a){return L.createElement(A.a,Object(y.a)(Object(y.a)({},r),{},{ref:a,icon:v}))};b.displayName="ArrowLeftOutlined";var m=U.a=L.forwardRef(b)},jkPA:function(te,U,e){var y=e("bYtY"),L=y.createHashMap,g=y.isObject,v=y.map;function A(a){this.categories=a.categories||[],this._needCollect=a.needCollect,this._deduplication=a.deduplication,this._map}A.createByAxisModel=function(a){var s=a.option,i=s.data,n=i&&v(i,d);return new A({categories:n,needCollect:!n,deduplication:s.dedplication!==!1})};var b=A.prototype;b.getOrdinal=function(a){return m(this).get(a)},b.parseAndCollect=function(a){var s,i=this._needCollect;if(typeof a!="string"&&!i)return a;if(i&&!this._deduplication)return s=this.categories.length,this.categories[s]=a,s;var n=m(this);return s=n.get(a),s==null&&(i?(s=this.categories.length,this.categories[s]=a,n.set(a,s)):s=NaN),s};function m(a){return a._map||(a._map=L(a.categories))}function d(a){return g(a)&&a.value!=null?a.value:a+""}var r=A;te.exports=r},jndi:function(te,U,e){var y=e("bYtY"),L=e("Qe9p"),g=e("YXkt"),v=e("OELB"),A=e("IwbS"),b=e("kj2x"),m=e("iPDy"),d=function(t,u,o,c){var h=b.dataTransform(t,c[0]),f=b.dataTransform(t,c[1]),w=y.retrieve,x=h.coord,I=f.coord;x[0]=w(x[0],-Infinity),x[1]=w(x[1],-Infinity),I[0]=w(I[0],Infinity),I[1]=w(I[1],Infinity);var C=y.mergeAll([{},h,f]);return C.coord=[h.coord,f.coord],C.x0=h.x,C.y0=h.y,C.x1=f.x,C.y1=f.y,C};function r(t){return!isNaN(t)&&!isFinite(t)}function a(t,u,o,c){var h=1-t;return r(u[h])&&r(o[h])}function s(t,u){var o=u.coord[0],c=u.coord[1];return t.type==="cartesian2d"&&(o&&c&&(a(1,o,c,t)||a(0,o,c,t)))?!0:b.dataFilter(t,{coord:o,x:u.x0,y:u.y0})||b.dataFilter(t,{coord:c,x:u.x1,y:u.y1})}function i(t,u,o,c,h){var f=c.coordinateSystem,w=t.getItemModel(u),x,I=v.parsePercent(w.get(o[0]),h.getWidth()),C=v.parsePercent(w.get(o[1]),h.getHeight());if(!isNaN(I)&&!isNaN(C))x=[I,C];else{if(c.getMarkerPosition)x=c.getMarkerPosition(t.getValues(o,u));else{var N=t.get(o[0],u),S=t.get(o[1],u),E=[N,S];f.clampData&&f.clampData(E,E),x=f.dataToPoint(E,!0)}if(f.type==="cartesian2d"){var T=f.getAxis("x"),D=f.getAxis("y"),N=t.get(o[0],u),S=t.get(o[1],u);r(N)?x[0]=T.toGlobalCoord(T.getExtent()[o[0]==="x0"?0:1]):r(S)&&(x[1]=D.toGlobalCoord(D.getExtent()[o[1]==="y0"?0:1]))}isNaN(I)||(x[0]=I),isNaN(C)||(x[1]=C)}return x}var n=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];m.extend({type:"markArea",updateTransform:function(t,u,o){u.eachSeries(function(c){var h=c.markAreaModel;if(h){var f=h.getData();f.each(function(w){var x=y.map(n,function(C){return i(f,w,C,c,o)});f.setItemLayout(w,x);var I=f.getItemGraphicEl(w);I.setShape("points",x)})}},this)},renderSeries:function(t,u,o,c){var h=t.coordinateSystem,f=t.id,w=t.getData(),x=this.markerGroupMap,I=x.get(f)||x.set(f,{group:new A.Group});this.group.add(I.group),I.__keep=!0;var C=l(h,t,u);u.setData(C),C.each(function(N){C.setItemLayout(N,y.map(n,function(S){return i(C,N,S,t,c)})),C.setItemVisual(N,{color:w.getVisual("color")})}),C.diff(I.__data).add(function(N){var S=new A.Polygon({shape:{points:C.getItemLayout(N)}});C.setItemGraphicEl(N,S),I.group.add(S)}).update(function(N,S){var E=I.__data.getItemGraphicEl(S);A.updateProps(E,{shape:{points:C.getItemLayout(N)}},u,N),I.group.add(E),C.setItemGraphicEl(N,E)}).remove(function(N){var S=I.__data.getItemGraphicEl(N);I.group.remove(S)}).execute(),C.eachItemGraphicEl(function(N,S){var E=C.getItemModel(S),T=E.getModel("label"),D=E.getModel("emphasis.label"),B=C.getItemVisual(S,"color");N.useStyle(y.defaults(E.getModel("itemStyle").getItemStyle(),{fill:L.modifyAlpha(B,.4),stroke:B})),N.hoverStyle=E.getModel("emphasis.itemStyle").getItemStyle(),A.setLabelStyle(N.style,N.hoverStyle,T,D,{labelFetcher:u,labelDataIndex:S,defaultText:C.getName(S)||"",isRectText:!0,autoColor:B}),A.setHoverStyle(N,{}),N.dataModel=u}),I.__data=C,I.group.silent=u.get("silent")||t.get("silent")}});function l(t,u,o){var c,h,f=["x0","y0","x1","y1"];t?(c=y.map(t&&t.dimensions,function(I){var C=u.getData(),N=C.getDimensionInfo(C.mapDimension(I))||{};return y.defaults({name:I},N)}),h=new g(y.map(f,function(I,C){return{name:I,type:c[C%2].type}}),o)):(c=[{name:"value",type:"float"}],h=new g(c,o));var w=y.map(o.get("data"),y.curry(d,u,t,o));t&&(w=y.filter(w,y.curry(s,t)));var x=t?function(I,C,N,S){return I.coord[Math.floor(S/2)][S%2]}:function(I){return I.value};return h.initData(w,null,x),h.hasItemOption=!0,h}},"jsU+":function(te,U,e){var y=e("ProS"),L=e("bYtY"),g=e("IUWy"),v=y.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){v.superApply(this,"optionUpdated",arguments),L.each(this.option.feature,function(b,m){var d=g.get(m);d&&L.merge(b,d.defaultOption)})},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1}}}),A=v;te.exports=A},jtI2:function(te,U,e){e("SMc4");var y=e("bLfw"),L=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"}});te.exports=L},juDX:function(te,U,e){e("P47w");var y=e("aX58"),L=y.registerPainter,g=e("3CBa");L("svg",g)},k5C7:function(te,U,e){e("0JAE"),e("g7p0"),e("7mYs")},k9D9:function(te,U){var e="original",y="arrayRows",L="objectRows",g="keyedColumns",v="unknown",A="typedArray",b="column",m="row";U.SOURCE_FORMAT_ORIGINAL=e,U.SOURCE_FORMAT_ARRAY_ROWS=y,U.SOURCE_FORMAT_OBJECT_ROWS=L,U.SOURCE_FORMAT_KEYED_COLUMNS=g,U.SOURCE_FORMAT_UNKNOWN=v,U.SOURCE_FORMAT_TYPED_ARRAY=A,U.SERIES_LAYOUT_BY_COLUMN=b,U.SERIES_LAYOUT_BY_ROW=m},kDyi:function(te,U){function e(y){var L=y.findComponents({mainType:"legend"});L&&L.length&&y.filterSeries(function(g){for(var v=0;v<L.length;v++)if(!L[v].isSelected(g.name))return!1;return!0})}te.exports=e},kGiB:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=L(e("ABKa"));function L(v){return v&&v.__esModule?v:{default:v}}var g=y;U.default=g,te.exports=g},kMLO:function(te,U,e){var y=e("XxSj"),L=e("Qe9p"),g=e("bYtY"),v=g.isArray,A="itemStyle",b={seriesType:"treemap",reset:function(t,u,o,c){var h=t.getData().tree,f=h.root,w=t.getModel(A);if(f.isRemoved())return;var x=g.map(h.levelModels,function(I){return I?I.get(A):null});m(f,{},x,w,t.getViewRoot().getAncestors(),t)}};function m(t,u,o,c,h,f){var w=t.getModel(),x=t.getLayout();if(!x||x.invisible||!x.isInView)return;var I=t.getModel(A),C=o[t.depth],N=d(I,u,C,c),S=I.get("borderColor"),E=I.get("borderColorSaturation"),T;E!=null&&(T=r(N,t),S=a(E,T)),t.setVisual("borderColor",S);var D=t.viewChildren;if(!D||!D.length)T=r(N,t),t.setVisual("color",T);else{var B=i(t,w,x,I,N,D);g.each(D,function(R,F){if(R.depth>=h.length||R===h[R.depth]){var M=l(w,N,R,F,B,f);m(R,M,o,c,h,f)}})}}function d(t,u,o,c){var h=g.extend({},u);return g.each(["color","colorAlpha","colorSaturation"],function(f){var w=t.get(f,!0);w==null&&o&&(w=o[f]),w==null&&(w=u[f]),w==null&&(w=c.get(f)),w!=null&&(h[f]=w)}),h}function r(t){var u=s(t,"color");if(u){var o=s(t,"colorAlpha"),c=s(t,"colorSaturation");return c&&(u=L.modifyHSL(u,null,null,c)),o&&(u=L.modifyAlpha(u,o)),u}}function a(t,u){return u!=null?L.modifyHSL(u,null,null,t):null}function s(t,u){var o=t[u];if(o!=null&&o!=="none")return o}function i(t,u,o,c,h,f){if(!f||!f.length)return;var w=n(u,"color")||h.color!=null&&h.color!=="none"&&(n(u,"colorAlpha")||n(u,"colorSaturation"));if(!w)return;var x=u.get("visualMin"),I=u.get("visualMax"),C=o.dataExtent.slice();x!=null&&x<C[0]&&(C[0]=x),I!=null&&I>C[1]&&(C[1]=I);var N=u.get("colorMappingBy"),S={type:w.name,dataExtent:C,visual:w.range};S.type==="color"&&(N==="index"||N==="id")?(S.mappingMethod="category",S.loop=!0):S.mappingMethod="linear";var E=new y(S);return E.__drColorMappingBy=N,E}function n(t,u){var o=t.get(u);return v(o)&&o.length?{name:u,range:o}:null}function l(t,u,o,c,h,f){var w=g.extend({},u);if(h){var x=h.type,I=x==="color"&&h.__drColorMappingBy,C=I==="index"?c:I==="id"?f.mapIdToIndex(o.getId()):o.getValue(t.get("visualDimension"));w[x]=h.mapValueToVisual(C)}return w}te.exports=b},kPKH:function(te,U,e){"use strict";var y=e("/kpp");U.a=y.a},kaz8:function(te,U,e){"use strict";var y=e("lSNA"),L=e.n(y),g=e("pVnL"),v=e.n(g),A=e("lwsE"),b=e.n(A),m=e("W8MJ"),d=e.n(m),r=e("PJYZ"),a=e.n(r),s=e("7W2i"),i=e.n(s),n=e("LQ03"),l=e.n(n),t=e("q1tI"),u=e("TSYQ"),o=e.n(u),c=e("+6Fa"),h=e("RIqP"),f=e.n(h),w=e("BGR+"),x=e("H84U"),I=function(F,M){var K={};for(var j in F)Object.prototype.hasOwnProperty.call(F,j)&&M.indexOf(j)<0&&(K[j]=F[j]);if(F!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,j=Object.getOwnPropertySymbols(F);H<j.length;H++)M.indexOf(j[H])<0&&Object.prototype.propertyIsEnumerable.call(F,j[H])&&(K[j[H]]=F[j[H]]);return K},C=t.createContext(null),N=function(F){i()(K,F);var M=l()(K);function K(j){var H;return b()(this,K),H=M.call(this,j),H.cancelValue=function(k){H.setState(function(P){var z=P.registeredValues;return{registeredValues:z.filter(function(Y){return Y!==k})}})},H.registerValue=function(k){H.setState(function(P){var z=P.registeredValues;return{registeredValues:[].concat(f()(z),[k])}})},H.toggleOption=function(k){var P=H.state.registeredValues,z=H.state.value.indexOf(k.value),Y=f()(H.state.value);z===-1?Y.push(k.value):Y.splice(z,1),"value"in H.props||H.setState({value:Y});var _=H.props.onChange;if(_){var G=H.getOptions();_(Y.filter(function(J){return P.indexOf(J)!==-1}).sort(function(J,ue){var q=G.findIndex(function(me){return me.value===J}),re=G.findIndex(function(me){return me.value===ue});return q-re}))}},H.renderGroup=function(k){var P=k.getPrefixCls,z=k.direction,Y=a()(H),_=Y.props,G=Y.state,J=_.prefixCls,ue=_.className,q=_.style,re=_.options,me=I(_,["prefixCls","className","style","options"]),be=P("checkbox",J),ke="".concat(be,"-group"),ce=Object(w.default)(me,["children","defaultValue","value","onChange","disabled"]),Ee=_.children;re&&re.length>0&&(Ee=H.getOptions().map(function(st){return t.createElement(B,{prefixCls:be,key:st.value.toString(),disabled:"disabled"in st?st.disabled:_.disabled,value:st.value,checked:G.value.indexOf(st.value)!==-1,onChange:st.onChange,className:"".concat(ke,"-item"),style:st.style},st.label)}));var pe={toggleOption:H.toggleOption,value:H.state.value,disabled:H.props.disabled,name:H.props.name,registerValue:H.registerValue,cancelValue:H.cancelValue},Se=o()(ke,ue,L()({},"".concat(ke,"-rtl"),z==="rtl"));return t.createElement("div",v()({className:Se,style:q},ce),t.createElement(C.Provider,{value:pe},Ee))},H.state={value:j.value||j.defaultValue||[],registeredValues:[]},H}return d()(K,[{key:"getOptions",value:function(){var H=this.props.options;return H.map(function(k){return typeof k=="string"?{label:k,value:k}:k})}},{key:"render",value:function(){return t.createElement(x.a,null,this.renderGroup)}}],[{key:"getDerivedStateFromProps",value:function(H){return"value"in H?{value:H.value||[]}:null}}]),K}(t.PureComponent);N.defaultProps={options:[]};var S=N,E=e("uaoM"),T=function(F,M){var K={};for(var j in F)Object.prototype.hasOwnProperty.call(F,j)&&M.indexOf(j)<0&&(K[j]=F[j]);if(F!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,j=Object.getOwnPropertySymbols(F);H<j.length;H++)M.indexOf(j[H])<0&&Object.prototype.propertyIsEnumerable.call(F,j[H])&&(K[j[H]]=F[j[H]]);return K},D=function(F){i()(K,F);var M=l()(K);function K(){var j;return b()(this,K),j=M.apply(this,arguments),j.saveCheckbox=function(H){j.rcCheckbox=H},j.renderCheckbox=function(H){var k,P=H.getPrefixCls,z=H.direction,Y=a()(j),_=Y.props,G=Y.context,J=_.prefixCls,ue=_.className,q=_.children,re=_.indeterminate,me=_.style,be=_.onMouseEnter,ke=_.onMouseLeave,ce=T(_,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),Ee=G,pe=P("checkbox",J),Se=v()({},ce);Ee&&(Se.onChange=function(){ce.onChange&&ce.onChange.apply(ce,arguments),Ee.toggleOption({label:q,value:_.value})},Se.name=Ee.name,Se.checked=Ee.value.indexOf(_.value)!==-1,Se.disabled=_.disabled||Ee.disabled);var st=o()(ue,(k={},L()(k,"".concat(pe,"-wrapper"),!0),L()(k,"".concat(pe,"-rtl"),z==="rtl"),L()(k,"".concat(pe,"-wrapper-checked"),Se.checked),L()(k,"".concat(pe,"-wrapper-disabled"),Se.disabled),k)),qe=o()(L()({},"".concat(pe,"-indeterminate"),re));return t.createElement("label",{className:st,style:me,onMouseEnter:be,onMouseLeave:ke},t.createElement(c.a,v()({},Se,{prefixCls:pe,className:qe,ref:j.saveCheckbox})),q!==void 0&&t.createElement("span",null,q))},j}return d()(K,[{key:"componentDidMount",value:function(){var H,k=this.props.value;(H=this.context)===null||H===void 0||H.registerValue(k),Object(E.a)("checked"in this.props||this.context||!("value"in this.props),"Checkbox","`value` is not a valid prop, do you mean `checked`?")}},{key:"componentDidUpdate",value:function(H){var k=H.value,P,z,Y=this.props.value;Y!==k&&((P=this.context)===null||P===void 0||P.cancelValue(k),(z=this.context)===null||z===void 0||z.registerValue(Y))}},{key:"componentWillUnmount",value:function(){var H,k=this.props.value;(H=this.context)===null||H===void 0||H.cancelValue(k)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return t.createElement(x.a,null,this.renderCheckbox)}}]),K}(t.PureComponent);D.__ANT_CHECKBOX=!0,D.defaultProps={indeterminate:!1},D.contextType=C;var B=D;B.Group=S;var R=U.a=B},kj2x:function(te,U,e){var y=e("bYtY"),L=e("OELB"),g=e("7hqr"),v=g.isDimensionStacked,A=y.indexOf;function b(o){return!(isNaN(parseFloat(o.x))&&isNaN(parseFloat(o.y)))}function m(o){return!isNaN(parseFloat(o.x))&&!isNaN(parseFloat(o.y))}function d(o,c,h,f,w,x){var I=[],C=v(c,f),N=C?c.getCalculationInfo("stackResultDimension"):f,S=u(c,N,o),E=c.indicesOfNearest(N,S)[0];I[w]=c.get(h,E),I[x]=c.get(N,E);var T=c.get(f,E),D=L.getPrecision(c.get(f,E));return D=Math.min(D,20),D>=0&&(I[x]=+I[x].toFixed(D)),[I,T]}var r=y.curry,a={min:r(d,"min"),max:r(d,"max"),average:r(d,"average")};function s(o,c){var h=o.getData(),f=o.coordinateSystem;if(c&&!m(c)&&!y.isArray(c.coord)&&f){var w=f.dimensions,x=i(c,h,f,o);if(c=y.clone(c),c.type&&a[c.type]&&x.baseAxis&&x.valueAxis){var I=A(w,x.baseAxis.dim),C=A(w,x.valueAxis.dim),N=a[c.type](h,x.baseDataDim,x.valueDataDim,I,C);c.coord=N[0],c.value=N[1]}else{for(var S=[c.xAxis!=null?c.xAxis:c.radiusAxis,c.yAxis!=null?c.yAxis:c.angleAxis],E=0;E<2;E++)a[S[E]]&&(S[E]=u(h,h.mapDimension(w[E]),S[E]));c.coord=S}}return c}function i(o,c,h,f){var w={};return o.valueIndex!=null||o.valueDim!=null?(w.valueDataDim=o.valueIndex!=null?c.getDimension(o.valueIndex):o.valueDim,w.valueAxis=h.getAxis(n(f,w.valueDataDim)),w.baseAxis=h.getOtherAxis(w.valueAxis),w.baseDataDim=c.mapDimension(w.baseAxis.dim)):(w.baseAxis=f.getBaseAxis(),w.valueAxis=h.getOtherAxis(w.baseAxis),w.baseDataDim=c.mapDimension(w.baseAxis.dim),w.valueDataDim=c.mapDimension(w.valueAxis.dim)),w}function n(o,c){var h=o.getData(),f=h.dimensions;c=h.getDimension(c);for(var w=0;w<f.length;w++){var x=h.getDimensionInfo(f[w]);if(x.name===c)return x.coordDim}}function l(o,c){return o&&o.containData&&c.coord&&!b(c)?o.containData(c.coord):!0}function t(o,c,h,f){return f<2?o.coord&&o.coord[f]:o.value}function u(o,c,h){if(h==="average"){var f=0,w=0;return o.each(c,function(x,I){isNaN(x)||(f+=x,w++)}),f/w}else return h==="median"?o.getMedian(c):o.getDataExtent(c,!0)[h==="max"?1:0]}U.dataTransform=s,U.getAxisInfo=i,U.dataFilter=l,U.dimValueGetter=t,U.numCalculate=u},knOB:function(te,U,e){var y=e("bYtY"),L=e("hM6l");function g(A,b){L.call(this,"radius",A,b),this.type="category"}g.prototype={constructor:g,pointToData:function(A,b){return this.polar.pointToData(A,b)[this.dim==="radius"?0:1]},dataToRadius:L.prototype.dataToCoord,radiusToData:L.prototype.coordToData},y.inherits(g,L);var v=g;te.exports=v},ko1b:function(te,U,e){var y=e("bYtY"),L=e("T4UG"),g=e("Bsck"),v=e("Qxkt"),A=e("7aKB"),b=A.encodeHTML,m=A.addCommas,d=e("VaxA"),r=d.wrapTreePathInfo,a=L.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],preventUsingHoverLayer:!0,_viewRoot:null,defaultOption:{progressive:0,left:"center",top:"middle",right:null,bottom:null,width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"\u25B6",zoomToNodeRatio:.32*.32,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",borderColor:"rgba(255,255,255,0.7)",borderWidth:1,shadowColor:"rgba(150,150,150,1)",shadowBlur:3,shadowOffsetX:0,shadowOffsetY:0,textStyle:{color:"#fff"}},emphasis:{textStyle:{}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",ellipsis:!0},upperLabel:{show:!1,position:[0,"50%"],height:20,color:"#fff",ellipsis:!0,verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],color:"#fff",ellipsis:!0,verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},getInitialData:function(n,l){var t={name:n.name,children:n.data};s(t);var u=n.levels||[];u=n.levels=i(u,l);var o=y.map(u||[],function(f){return new v(f,this,l)},this),c=g.createTree(t,this,null,h);function h(f){f.wrapMethod("getItemModel",function(w,x){var I=c.getNodeByDataIndex(x),C=o[I.depth];return C&&(w.parentModel=C),w})}return c.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(n){var l=this.getData(),t=this.getRawValue(n),u=y.isArray(t)?m(t[0]):m(t),o=l.getName(n);return b(o+": "+u)},getDataParams:function(n){var l=L.prototype.getDataParams.apply(this,arguments),t=this.getData().tree.getNodeByDataIndex(n);return l.treePathInfo=r(t,this),l},setLayoutInfo:function(n){this.layoutInfo=this.layoutInfo||{},y.extend(this.layoutInfo,n)},mapIdToIndex:function(n){var l=this._idIndexMap;l||(l=this._idIndexMap=y.createHashMap(),this._idIndexMapCount=0);var t=l.get(n);return t==null&&l.set(n,t=this._idIndexMapCount++),t},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(n){n?this._viewRoot=n:n=this._viewRoot;var l=this.getRawData().tree.root;(!n||n!==l&&!l.contains(n))&&(this._viewRoot=l)}});function s(n){var l=0;y.each(n.children,function(u){s(u);var o=u.value;y.isArray(o)&&(o=o[0]),l+=o});var t=n.value;y.isArray(t)&&(t=t[0]),(t==null||isNaN(t))&&(t=l),t<0&&(t=0),y.isArray(n.value)?n.value[0]=t:n.value=t}function i(n,l){var t=l.get("color");if(!t)return;n=n||[];var u;if(y.each(n,function(c){var h=new v(c),f=h.get("color");(h.get("itemStyle.color")||f&&f!=="none")&&(u=!0)}),!u){var o=n[0]||(n[0]={});o.color=t.slice()}return n}te.exports=a},kzFp:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0});var y=U.pick=function(g,v){var A={};return v.forEach(function(b){A[b]=g[b]}),A}},kzvK:function(te,U,e){var y=e("sS/r"),L=y.extend({type:"timeline"});te.exports=L},"l+S1":function(te,U,e){"use strict";var y=e("VTBJ"),L=e("q1tI"),g={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"},v=g,A=e("6VBw"),b=function(r,a){return L.createElement(A.a,Object(y.a)(Object(y.a)({},r),{},{ref:a,icon:v}))};b.displayName="SearchOutlined";var m=U.a=L.forwardRef(b)},lE7J:function(te,U,e){var y=e("OELB"),L=y.round;function g(m,d,r,a){var s={},i=m[1]-m[0],n=s.interval=y.nice(i/d,!0);r!=null&&n<r&&(n=s.interval=r),a!=null&&n>a&&(n=s.interval=a);var l=s.intervalPrecision=v(n),t=s.niceTickExtent=[L(Math.ceil(m[0]/n)*n,l),L(Math.floor(m[1]/n)*n,l)];return b(t,m),s}function v(m){return y.getPrecisionSafe(m)+2}function A(m,d,r){m[d]=Math.max(Math.min(m[d],r[1]),r[0])}function b(m,d){!isFinite(m[0])&&(m[0]=d[0]),!isFinite(m[1])&&(m[1]=d[1]),A(m,0,d),A(m,1,d),m[0]>m[1]&&(m[0]=m[1])}U.intervalScaleNiceTicks=g,U.getIntervalPrecision=v,U.fixExtent=b},lELe:function(te,U,e){var y=e("bYtY");function L(g){var v=[];y.each(g.series,function(A){A&&A.type==="map"&&(v.push(A),A.map=A.map||A.mapType,y.defaults(A,A.mapLocation))})}te.exports=L},lLGD:function(te,U,e){var y=e("ProS"),L=e("bYtY"),g=e("nVfU"),v=g.layout,A=g.largeLayout;e("Wqna"),e("F7hV"),e("Z8zF"),e("Ae16"),y.registerLayout(y.PRIORITY.VISUAL.LAYOUT,L.curry(v,"bar")),y.registerLayout(y.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,A),y.registerVisual({seriesType:"bar",reset:function(b){b.getData().setVisual("legendSymbol","roundRect")}})},lOQZ:function(te,U,e){var y=e("QBsz"),L=e("U/Mo"),g=L.getSymbolSize,v=L.getNodeGlobalScale,A=Math.PI,b=[];function m(r,a){var s=r.coordinateSystem;if(s&&s.type!=="view")return;var i=s.getBoundingRect(),n=r.getData(),l=n.graph,t=i.width/2+i.x,u=i.height/2+i.y,o=Math.min(i.width,i.height)/2,c=n.count();if(n.setLayout({cx:t,cy:u}),!c)return;d[a](r,s,l,n,o,t,u,c),l.eachEdge(function(h){var f=h.getModel().get("lineStyle.curveness")||0,w=y.clone(h.node1.getLayout()),x=y.clone(h.node2.getLayout()),I,C=(w[0]+x[0])/2,N=(w[1]+x[1])/2;+f&&(f*=3,I=[t*f+C*(1-f),u*f+N*(1-f)]),h.setLayout([w,x,I])})}var d={value:function(r,a,s,i,n,l,t,u){var o=0,c=i.getSum("value"),h=Math.PI*2/(c||u);s.eachNode(function(f){var w=f.getValue("value"),x=h*(c?w:1)/2;o+=x,f.setLayout([n*Math.cos(o)+l,n*Math.sin(o)+t]),o+=x})},symbolSize:function(r,a,s,i,n,l,t,u){var o=0;b.length=u;var c=v(r);s.eachNode(function(w){var x=g(w);isNaN(x)&&(x=2),x<0&&(x=0),x*=c;var I=Math.asin(x/2/n);isNaN(I)&&(I=A/2),b[w.dataIndex]=I,o+=I*2});var h=(2*A-o)/u/2,f=0;s.eachNode(function(w){var x=h+b[w.dataIndex];f+=x,w.setLayout([n*Math.cos(f)+l,n*Math.sin(f)+t]),f+=x})}};U.circularLayout=m},lUTK:function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("x54q"),v=e.n(g),A=e("5Dmo")},lZu9:function(te,U,e){(function(y){y(e("VrN/"),e("1eCo"),e("8EBN"))})(function(y){"use strict";y.defineMode("markdown",function(L,g){var v=y.getMode(L,"text/html"),A=v.name=="null";function b(k){if(y.findModeByName){var P=y.findModeByName(k);P&&(k=P.mime||P.mimes[0])}var z=y.getMode(L,k);return z.name=="null"?null:z}g.highlightFormatting===void 0&&(g.highlightFormatting=!1),g.maxBlockquoteDepth===void 0&&(g.maxBlockquoteDepth=0),g.taskLists===void 0&&(g.taskLists=!1),g.strikethrough===void 0&&(g.strikethrough=!1),g.emoji===void 0&&(g.emoji=!1),g.fencedCodeBlockHighlighting===void 0&&(g.fencedCodeBlockHighlighting=!0),g.fencedCodeBlockDefaultMode===void 0&&(g.fencedCodeBlockDefaultMode="text/plain"),g.xml===void 0&&(g.xml=!0),g.tokenTypeOverrides===void 0&&(g.tokenTypeOverrides={});var m={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 d in m)m.hasOwnProperty(d)&&g.tokenTypeOverrides[d]&&(m[d]=g.tokenTypeOverrides[d]);var r=/^([*\-_])(?:\s*\1){2,}\s*$/,a=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,s=/^\[(x| )\](?=\s)/i,i=g.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,n=/^ {0,3}(?:\={1,}|-{2,})\s*$/,l=/^[^#!\[\]*_\\<>` "'(~:]+/,t=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,u=/^\s*\[[^\]]+?\]:.*$/,o=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,c=" ";function h(k,P,z){return P.f=P.inline=z,z(k,P)}function f(k,P,z){return P.f=P.block=z,z(k,P)}function w(k){return!k||!/\S/.test(k.string)}function x(k){if(k.linkTitle=!1,k.linkHref=!1,k.linkText=!1,k.em=!1,k.strong=!1,k.strikethrough=!1,k.quote=0,k.indentedCode=!1,k.f==C){var P=A;if(!P){var z=y.innerMode(v,k.htmlState);P=z.mode.name=="xml"&&z.state.tagStart===null&&!z.state.context&&z.state.tokenize.isInText}P&&(k.f=T,k.block=I,k.htmlState=null)}return k.trailingSpace=0,k.trailingSpaceNewLine=!1,k.prevLine=k.thisLine,k.thisLine={stream:null},null}function I(k,P){var z=k.column()===P.indentation,Y=w(P.prevLine.stream),_=P.indentedCode,G=P.prevLine.hr,J=P.list!==!1,ue=(P.listStack[P.listStack.length-1]||0)+3;P.indentedCode=!1;var q=P.indentation;if(P.indentationDiff===null&&(P.indentationDiff=P.indentation,J)){for(P.list=null;q<P.listStack[P.listStack.length-1];)P.listStack.pop(),P.listStack.length?P.indentation=P.listStack[P.listStack.length-1]:P.list=!1;P.list!==!1&&(P.indentationDiff=q-P.listStack[P.listStack.length-1])}var re=!Y&&!G&&!P.prevLine.header&&(!J||!_)&&!P.prevLine.fencedCodeEnd,me=(P.list===!1||G||Y)&&P.indentation<=ue&&k.match(r),be=null;if(P.indentationDiff>=4&&(_||P.prevLine.fencedCodeEnd||P.prevLine.header||Y))return k.skipToEnd(),P.indentedCode=!0,m.code;if(k.eatSpace())return null;if(z&&P.indentation<=ue&&(be=k.match(i))&&be[1].length<=6)return P.quote=0,P.header=be[1].length,P.thisLine.header=!0,g.highlightFormatting&&(P.formatting="header"),P.f=P.inline,S(P);if(P.indentation<=ue&&k.eat(">"))return P.quote=z?1:P.quote+1,g.highlightFormatting&&(P.formatting="quote"),k.eatSpace(),S(P);if(!me&&!P.setext&&z&&P.indentation<=ue&&(be=k.match(a))){var ke=be[1]?"ol":"ul";return P.indentation=q+k.current().length,P.list=!0,P.quote=0,P.listStack.push(P.indentation),P.em=!1,P.strong=!1,P.code=!1,P.strikethrough=!1,g.taskLists&&k.match(s,!1)&&(P.taskList=!0),P.f=P.inline,g.highlightFormatting&&(P.formatting=["list","list-"+ke]),S(P)}else{if(z&&P.indentation<=ue&&(be=k.match(t,!0)))return P.quote=0,P.fencedEndRE=new RegExp(be[1]+"+ *$"),P.localMode=g.fencedCodeBlockHighlighting&&b(be[2]||g.fencedCodeBlockDefaultMode),P.localMode&&(P.localState=y.startState(P.localMode)),P.f=P.block=N,g.highlightFormatting&&(P.formatting="code-block"),P.code=-1,S(P);if(P.setext||(!re||!J)&&!P.quote&&P.list===!1&&!P.code&&!me&&!u.test(k.string)&&(be=k.lookAhead(1))&&(be=be.match(n)))return P.setext?(P.header=P.setext,P.setext=0,k.skipToEnd(),g.highlightFormatting&&(P.formatting="header")):(P.header=be[0].charAt(0)=="="?1:2,P.setext=P.header),P.thisLine.header=!0,P.f=P.inline,S(P);if(me)return k.skipToEnd(),P.hr=!0,P.thisLine.hr=!0,m.hr;if(k.peek()==="[")return h(k,P,M)}return h(k,P,P.inline)}function C(k,P){var z=v.token(k,P.htmlState);if(!A){var Y=y.innerMode(v,P.htmlState);(Y.mode.name=="xml"&&Y.state.tagStart===null&&!Y.state.context&&Y.state.tokenize.isInText||P.md_inside&&k.current().indexOf(">")>-1)&&(P.f=T,P.block=I,P.htmlState=null)}return z}function N(k,P){var z=P.listStack[P.listStack.length-1]||0,Y=P.indentation<z,_=z+3;if(P.fencedEndRE&&P.indentation<=_&&(Y||k.match(P.fencedEndRE))){g.highlightFormatting&&(P.formatting="code-block");var G;return Y||(G=S(P)),P.localMode=P.localState=null,P.block=I,P.f=T,P.fencedEndRE=null,P.code=0,P.thisLine.fencedCodeEnd=!0,Y?f(k,P,P.block):G}else return P.localMode?P.localMode.token(k,P.localState):(k.skipToEnd(),m.code)}function S(k){var P=[];if(k.formatting){P.push(m.formatting),typeof k.formatting=="string"&&(k.formatting=[k.formatting]);for(var z=0;z<k.formatting.length;z++)P.push(m.formatting+"-"+k.formatting[z]),k.formatting[z]==="header"&&P.push(m.formatting+"-"+k.formatting[z]+"-"+k.header),k.formatting[z]==="quote"&&(!g.maxBlockquoteDepth||g.maxBlockquoteDepth>=k.quote?P.push(m.formatting+"-"+k.formatting[z]+"-"+k.quote):P.push("error"))}if(k.taskOpen)return P.push("meta"),P.length?P.join(" "):null;if(k.taskClosed)return P.push("property"),P.length?P.join(" "):null;if(k.linkHref?P.push(m.linkHref,"url"):(k.strong&&P.push(m.strong),k.em&&P.push(m.em),k.strikethrough&&P.push(m.strikethrough),k.emoji&&P.push(m.emoji),k.linkText&&P.push(m.linkText),k.code&&P.push(m.code),k.image&&P.push(m.image),k.imageAltText&&P.push(m.imageAltText,"link"),k.imageMarker&&P.push(m.imageMarker)),k.header&&P.push(m.header,m.header+"-"+k.header),k.quote&&(P.push(m.quote),!g.maxBlockquoteDepth||g.maxBlockquoteDepth>=k.quote?P.push(m.quote+"-"+k.quote):P.push(m.quote+"-"+g.maxBlockquoteDepth)),k.list!==!1){var Y=(k.listStack.length-1)%3;Y?Y===1?P.push(m.list2):P.push(m.list3):P.push(m.list1)}return k.trailingSpaceNewLine?P.push("trailing-space-new-line"):k.trailingSpace&&P.push("trailing-space-"+(k.trailingSpace%2?"a":"b")),P.length?P.join(" "):null}function E(k,P){return k.match(l,!0)?S(P):void 0}function T(k,P){var z=P.text(k,P);if(typeof z!="undefined")return z;if(P.list)return P.list=null,S(P);if(P.taskList){var Y=k.match(s,!0)[1]===" ";return Y?P.taskOpen=!0:P.taskClosed=!0,g.highlightFormatting&&(P.formatting="task"),P.taskList=!1,S(P)}if(P.taskOpen=!1,P.taskClosed=!1,P.header&&k.match(/^#+$/,!0))return g.highlightFormatting&&(P.formatting="header"),S(P);var _=k.next();if(P.linkTitle){P.linkTitle=!1;var G=_;_==="("&&(G=")"),G=(G+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var J="^\\s*(?:[^"+G+"\\\\]+|\\\\\\\\|\\\\.)"+G;if(k.match(new RegExp(J),!0))return m.linkHref}if(_==="`"){var ue=P.formatting;g.highlightFormatting&&(P.formatting="code"),k.eatWhile("`");var q=k.current().length;if(P.code==0&&(!P.quote||q==1))return P.code=q,S(P);if(q==P.code){var re=S(P);return P.code=0,re}else return P.formatting=ue,S(P)}else if(P.code)return S(P);if(_==="\\"&&(k.next(),g.highlightFormatting)){var me=S(P),be=m.formatting+"-escape";return me?me+" "+be:be}if(_==="!"&&k.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return P.imageMarker=!0,P.image=!0,g.highlightFormatting&&(P.formatting="image"),S(P);if(_==="["&&P.imageMarker&&k.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return P.imageMarker=!1,P.imageAltText=!0,g.highlightFormatting&&(P.formatting="image"),S(P);if(_==="]"&&P.imageAltText){g.highlightFormatting&&(P.formatting="image");var me=S(P);return P.imageAltText=!1,P.image=!1,P.inline=P.f=B,me}if(_==="["&&!P.image)return P.linkText&&k.match(/^.*?\]/)||(P.linkText=!0,g.highlightFormatting&&(P.formatting="link")),S(P);if(_==="]"&&P.linkText){g.highlightFormatting&&(P.formatting="link");var me=S(P);return P.linkText=!1,P.inline=P.f=k.match(/\(.*?\)| ?\[.*?\]/,!1)?B:T,me}if(_==="<"&&k.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){P.f=P.inline=D,g.highlightFormatting&&(P.formatting="link");var me=S(P);return me?me+=" ":me="",me+m.linkInline}if(_==="<"&&k.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){P.f=P.inline=D,g.highlightFormatting&&(P.formatting="link");var me=S(P);return me?me+=" ":me="",me+m.linkEmail}if(g.xml&&_==="<"&&k.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var ke=k.string.indexOf(">",k.pos);if(ke!=-1){var ce=k.string.substring(k.start,ke);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(ce)&&(P.md_inside=!0)}return k.backUp(1),P.htmlState=y.startState(v),f(k,P,C)}if(g.xml&&_==="<"&&k.match(/^\/\w*?>/))return P.md_inside=!1,"tag";if(_==="*"||_==="_"){for(var Ee=1,pe=k.pos==1?" ":k.string.charAt(k.pos-2);Ee<3&&k.eat(_);)Ee++;var Se=k.peek()||" ",st=!/\s/.test(Se)&&(!o.test(Se)||/\s/.test(pe)||o.test(pe)),qe=!/\s/.test(pe)&&(!o.test(pe)||/\s/.test(Se)||o.test(Se)),tt=null,Dt=null;if(Ee%2&&(!P.em&&st&&(_==="*"||!qe||o.test(pe))?tt=!0:P.em==_&&qe&&(_==="*"||!st||o.test(Se))&&(tt=!1)),Ee>1&&(!P.strong&&st&&(_==="*"||!qe||o.test(pe))?Dt=!0:P.strong==_&&qe&&(_==="*"||!st||o.test(Se))&&(Dt=!1)),Dt!=null||tt!=null){g.highlightFormatting&&(P.formatting=tt==null?"strong":Dt==null?"em":"strong em"),tt===!0&&(P.em=_),Dt===!0&&(P.strong=_);var re=S(P);return tt===!1&&(P.em=!1),Dt===!1&&(P.strong=!1),re}}else if(_===" "&&(k.eat("*")||k.eat("_"))){if(k.peek()===" ")return S(P);k.backUp(1)}if(g.strikethrough){if(_==="~"&&k.eatWhile(_)){if(P.strikethrough){g.highlightFormatting&&(P.formatting="strikethrough");var re=S(P);return P.strikethrough=!1,re}else if(k.match(/^[^\s]/,!1))return P.strikethrough=!0,g.highlightFormatting&&(P.formatting="strikethrough"),S(P)}else if(_===" "&&k.match(/^~~/,!0)){if(k.peek()===" ")return S(P);k.backUp(2)}}if(g.emoji&&_===":"&&k.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){P.emoji=!0,g.highlightFormatting&&(P.formatting="emoji");var ct=S(P);return P.emoji=!1,ct}return _===" "&&(k.match(/^ +$/,!1)?P.trailingSpace++:P.trailingSpace&&(P.trailingSpaceNewLine=!0)),S(P)}function D(k,P){var z=k.next();if(z===">"){P.f=P.inline=T,g.highlightFormatting&&(P.formatting="link");var Y=S(P);return Y?Y+=" ":Y="",Y+m.linkInline}return k.match(/^[^>]+/,!0),m.linkInline}function B(k,P){if(k.eatSpace())return null;var z=k.next();return z==="("||z==="["?(P.f=P.inline=F(z==="("?")":"]"),g.highlightFormatting&&(P.formatting="link-string"),P.linkHref=!0,S(P)):"error"}var R={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function F(k){return function(P,z){var Y=P.next();if(Y===k){z.f=z.inline=T,g.highlightFormatting&&(z.formatting="link-string");var _=S(z);return z.linkHref=!1,_}return P.match(R[k]),z.linkHref=!0,S(z)}}function M(k,P){return k.match(/^([^\]\\]|\\.)*\]:/,!1)?(P.f=K,k.next(),g.highlightFormatting&&(P.formatting="link"),P.linkText=!0,S(P)):h(k,P,T)}function K(k,P){if(k.match(/^\]:/,!0)){P.f=P.inline=j,g.highlightFormatting&&(P.formatting="link");var z=S(P);return P.linkText=!1,z}return k.match(/^([^\]\\]|\\.)+/,!0),m.linkText}function j(k,P){return k.eatSpace()?null:(k.match(/^[^\s]+/,!0),k.peek()===void 0?P.linkTitle=!0:k.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),P.f=P.inline=T,m.linkHref+" url")}var H={startState:function(){return{f:I,prevLine:{stream:null},thisLine:{stream:null},block:I,htmlState:null,indentation:0,inline:T,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(P){return{f:P.f,prevLine:P.prevLine,thisLine:P.thisLine,block:P.block,htmlState:P.htmlState&&y.copyState(v,P.htmlState),indentation:P.indentation,localMode:P.localMode,localState:P.localMode?y.copyState(P.localMode,P.localState):null,inline:P.inline,text:P.text,formatting:!1,linkText:P.linkText,linkTitle:P.linkTitle,linkHref:P.linkHref,code:P.code,em:P.em,strong:P.strong,strikethrough:P.strikethrough,emoji:P.emoji,header:P.header,setext:P.setext,hr:P.hr,taskList:P.taskList,list:P.list,listStack:P.listStack.slice(0),quote:P.quote,indentedCode:P.indentedCode,trailingSpace:P.trailingSpace,trailingSpaceNewLine:P.trailingSpaceNewLine,md_inside:P.md_inside,fencedEndRE:P.fencedEndRE}},token:function(P,z){if(z.formatting=!1,P!=z.thisLine.stream){if(z.header=0,z.hr=!1,P.match(/^\s*$/,!0))return x(z),null;if(z.prevLine=z.thisLine,z.thisLine={stream:P},z.taskList=!1,z.trailingSpace=0,z.trailingSpaceNewLine=!1,!z.localState&&(z.f=z.block,z.f!=C)){var Y=P.match(/^\s*/,!0)[0].replace(/\t/g,c).length;if(z.indentation=Y,z.indentationDiff=null,Y>0)return null}}return z.f(P,z)},innerMode:function(P){return P.block==C?{state:P.htmlState,mode:v}:P.localState?{state:P.localState,mode:P.localMode}:{state:P,mode:H}},indent:function(P,z,Y){return P.block==C&&v.indent?v.indent(P.htmlState,z,Y):P.localState&&P.localMode.indent?P.localMode.indent(P.localState,z,Y):y.Pass},blankLine:x,getType:S,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return H},"xml"),y.defineMIME("text/markdown","markdown"),y.defineMIME("text/x-markdown","markdown")})},laiN:function(te,U,e){var y=e("ProS");e("GVMX"),e("MH26"),y.registerPreprocessor(function(L){L.markLine=L.markLine||{}})},lnY3:function(te,U,e){},loD1:function(te,U){function e(y,L,g,v,A,b,m){if(A===0)return!1;var d=A,r=0,a=y;if(m>L+d&&m>v+d||m<L-d&&m<v-d||b>y+d&&b>g+d||b<y-d&&b<g-d)return!1;if(y!==g)r=(L-v)/(y-g),a=(y*v-g*L)/(y-g);else return Math.abs(b-y)<=d/2;var s=r*b-m+a,i=s*s/(r*r+1);return i<=d/2*d/2}U.containStroke=e},lrIw:function(te,U,e){"use strict";var y=e("pVnL"),L=e.n(y),g=e("cDf5"),v=e.n(g),A=e("J4zp"),b=e.n(A),m=e("q1tI"),d=e.n(m),r=e("Zm9Q"),a=e("TSYQ"),s=e.n(a),i=e("BGR+"),n=e("2fM7"),l=e("H84U"),t=e("uaoM"),u=e("0n0R"),o=n.a.Option,c=n.a;function h(x){return x&&x.type&&(x.type.isSelectOption||x.type.isSelectOptGroup)}var f=function(I,C){var N=I.prefixCls,S=I.className,E=I.children,T=I.dataSource,D=Object(r.a)(E),B=m.useRef();m.useImperativeHandle(C,function(){return B.current});var R;if(D.length===1&&Object(u.b)(D[0])&&!h(D[0])){var F=b()(D,1);R=F[0]}var M=function(){return R},K;return D.length&&h(D[0])?K=E:K=T?T.map(function(j){if(Object(u.b)(j))return j;switch(v()(j)){case"string":return m.createElement(o,{key:j,value:j},j);case"object":{var H=j.value;return m.createElement(o,{key:H,value:H},j.text)}default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}}):[],m.useEffect(function(){Object(t.a)(!("dataSource"in I),"AutoComplete","`dataSource` is deprecated, please use `options` instead."),Object(t.a)(!R||!("size"in I),"AutoComplete","You need to control style self instead of setting `size` when using customize input.")},[]),m.createElement(l.a,null,function(j){var H=j.getPrefixCls,k=H("select",N);return m.createElement(c,L()({ref:B},Object(i.default)(I,["dataSource"]),{prefixCls:k,className:s()(S,"".concat(k,"-auto-complete")),mode:n.a.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:M}),K)})},w=m.forwardRef(f);w.Option=o,U.a=w},lwQL:function(te,U,e){var y=e("ProS"),L=e("bYtY"),g=e("9wZj"),v=e("c8qY"),A=e("SgGq"),b=e("Ae+d"),m=e("xSat"),d=m.onIrrelevantElement,r=e("IwbS"),a=e("SA8n"),s=e("U/Mo"),i=s.getNodeGlobalScale,n="__focusNodeAdjacency",l="__unfocusNodeAdjacency",t=["itemStyle","opacity"],u=["lineStyle","opacity"];function o(w,x){var I=w.getVisual("opacity");return I!=null?I:w.getModel().get(x)}function c(w,x,I){var C=w.getGraphicEl(),N=o(w,x);I!=null&&(N==null&&(N=1),N*=I),C.downplay&&C.downplay(),C.traverse(function(S){if(!S.isGroup){var E=S.lineLabelOriginalOpacity;(E==null||I!=null)&&(E=N),S.setStyle("opacity",E)}})}function h(w,x){var I=o(w,x),C=w.getGraphicEl();C.traverse(function(N){!N.isGroup&&N.setStyle("opacity",I)}),C.highlight&&C.highlight()}var f=y.extendChartView({type:"graph",init:function(w,x){var I=new g,C=new v,N=this.group;this._controller=new A(x.getZr()),this._controllerHost={target:N},N.add(I.group),N.add(C.group),this._symbolDraw=I,this._lineDraw=C,this._firstRender=!0},render:function(w,x,I){var C=this,N=w.coordinateSystem;this._model=w;var S=this._symbolDraw,E=this._lineDraw,T=this.group;if(N.type==="view"){var D={position:N.position,scale:N.scale};this._firstRender?T.attr(D):r.updateProps(T,D,w)}a(w.getGraph(),i(w));var B=w.getData();S.updateData(B);var R=w.getEdgeData();E.updateData(R),this._updateNodeAndLinkScale(),this._updateController(w,x,I),clearTimeout(this._layoutTimeout);var F=w.forceLayout,M=w.get("force.layoutAnimation");F&&this._startForceLayoutIteration(F,M),B.eachItemGraphicEl(function(k,P){var z=B.getItemModel(P);k.off("drag").off("dragend");var Y=z.get("draggable");Y&&k.on("drag",function(){F&&(F.warmUp(),!this._layouting&&this._startForceLayoutIteration(F,M),F.setFixed(P),B.setItemLayout(P,k.position))},this).on("dragend",function(){F&&F.setUnfixed(P)},this),k.setDraggable(Y&&F),k[n]&&k.off("mouseover",k[n]),k[l]&&k.off("mouseout",k[l]),z.get("focusNodeAdjacency")&&(k.on("mouseover",k[n]=function(){C._clearTimer(),I.dispatchAction({type:"focusNodeAdjacency",seriesId:w.id,dataIndex:k.dataIndex})}),k.on("mouseout",k[l]=function(){C._dispatchUnfocus(I)}))},this),B.graph.eachEdge(function(k){var P=k.getGraphicEl();P[n]&&P.off("mouseover",P[n]),P[l]&&P.off("mouseout",P[l]),k.getModel().get("focusNodeAdjacency")&&(P.on("mouseover",P[n]=function(){C._clearTimer(),I.dispatchAction({type:"focusNodeAdjacency",seriesId:w.id,edgeDataIndex:k.dataIndex})}),P.on("mouseout",P[l]=function(){C._dispatchUnfocus(I)}))});var K=w.get("layout")==="circular"&&w.get("circular.rotateLabel"),j=B.getLayout("cx"),H=B.getLayout("cy");B.eachItemGraphicEl(function(k,P){var z=B.getItemModel(P),Y=z.get("label.rotate")||0,_=k.getSymbolPath();if(K){var G=B.getItemLayout(P),J=Math.atan2(G[1]-H,G[0]-j);J<0&&(J=Math.PI*2+J);var ue=G[0]<j;ue&&(J=J-Math.PI);var q=ue?"left":"right";r.modifyLabelStyle(_,{textRotation:-J,textPosition:q,textOrigin:"center"},{textPosition:q})}else r.modifyLabelStyle(_,{textRotation:Y*=Math.PI/180})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={},this._clearTimer()},_dispatchUnfocus:function(w,x){var I=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){I._unfocusDelayTimer=null,w.dispatchAction({type:"unfocusNodeAdjacency",seriesId:I._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(w,x,I,C){var N=w.getData(),S=N.graph,E=C.dataIndex,T=C.edgeDataIndex,D=S.getNodeByIndex(E),B=S.getEdgeByIndex(T);if(!D&&!B)return;S.eachNode(function(R){c(R,t,.1)}),S.eachEdge(function(R){c(R,u,.1)}),D&&(h(D,t),L.each(D.edges,function(R){if(R.dataIndex<0)return;h(R,u),h(R.node1,t),h(R.node2,t)})),B&&(h(B,u),h(B.node1,t),h(B.node2,t))},unfocusNodeAdjacency:function(w,x,I,C){var N=w.getData().graph;N.eachNode(function(S){c(S,t)}),N.eachEdge(function(S){c(S,u)})},_startForceLayoutIteration:function(w,x){var I=this;(function C(){w.step(function(N){I.updateLayout(I._model),(I._layouting=!N)&&(x?I._layoutTimeout=setTimeout(C,16):C())})})()},_updateController:function(w,x,I){var C=this._controller,N=this._controllerHost,S=this.group;if(C.setPointerChecker(function(E,T,D){var B=S.getBoundingRect();return B.applyTransform(S.transform),B.contain(T,D)&&!d(E,I,w)}),w.coordinateSystem.type!=="view"){C.disable();return}C.enable(w.get("roam")),N.zoomLimit=w.get("scaleLimit"),N.zoom=w.coordinateSystem.getZoom(),C.off("pan").off("zoom").on("pan",function(E){b.updateViewOnPan(N,E.dx,E.dy),I.dispatchAction({seriesId:w.id,type:"graphRoam",dx:E.dx,dy:E.dy})}).on("zoom",function(E){b.updateViewOnZoom(N,E.scale,E.originX,E.originY),I.dispatchAction({seriesId:w.id,type:"graphRoam",zoom:E.scale,originX:E.originX,originY:E.originY}),this._updateNodeAndLinkScale(),a(w.getGraph(),i(w)),this._lineDraw.updateLayout()},this)},_updateNodeAndLinkScale:function(){var w=this._model,x=w.getData(),I=i(w),C=[I,I];x.eachItemGraphicEl(function(N,S){N.attr("scale",C)})},updateLayout:function(w){a(w.getGraph(),i(w)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(w,x){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});te.exports=f},m9t5:function(te,U,e){var y=e("KCsZ"),L=y([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),g={getAreaStyle:function(v,A){return L(this,v,A)}};te.exports=g},mFDi:function(te,U,e){var y=e("QBsz"),L=e("Fofx"),g=y.applyTransform,v=Math.min,A=Math.max;function b(d,r,a,s){a<0&&(d=d+a,a=-a),s<0&&(r=r+s,s=-s),this.x=d,this.y=r,this.width=a,this.height=s}b.prototype={constructor:b,union:function(r){var a=v(r.x,this.x),s=v(r.y,this.y);this.width=A(r.x+r.width,this.x+this.width)-a,this.height=A(r.y+r.height,this.y+this.height)-s,this.x=a,this.y=s},applyTransform:function(){var d=[],r=[],a=[],s=[];return function(i){if(!i)return;d[0]=a[0]=this.x,d[1]=s[1]=this.y,r[0]=s[0]=this.x+this.width,r[1]=a[1]=this.y+this.height,g(d,d,i),g(r,r,i),g(a,a,i),g(s,s,i),this.x=v(d[0],r[0],a[0],s[0]),this.y=v(d[1],r[1],a[1],s[1]);var n=A(d[0],r[0],a[0],s[0]),l=A(d[1],r[1],a[1],s[1]);this.width=n-this.x,this.height=l-this.y}}(),calculateTransform:function(r){var a=this,s=r.width/a.width,i=r.height/a.height,n=L.create();return L.translate(n,n,[-a.x,-a.y]),L.scale(n,n,[s,i]),L.translate(n,n,[r.x,r.y]),n},intersect:function(r){if(!r)return!1;r instanceof b||(r=b.create(r));var a=this,s=a.x,i=a.x+a.width,n=a.y,l=a.y+a.height,t=r.x,u=r.x+r.width,o=r.y,c=r.y+r.height;return!(i<t||u<s||l<o||c<n)},contain:function(r,a){var s=this;return r>=s.x&&r<=s.x+s.width&&a>=s.y&&a<=s.y+s.height},clone:function(){return new b(this.x,this.y,this.width,this.height)},copy:function(r){this.x=r.x,this.y=r.y,this.width=r.width,this.height=r.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},b.create=function(d){return new b(d.x,d.y,d.width,d.height)};var m=b;te.exports=m},mLcG:function(te,U){var e=typeof window!="undefined"&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(y){setTimeout(y,16)};te.exports=e},"mO/d":function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=L(e("I9Y+"));function L(v){return v&&v.__esModule?v:{default:v}}var g=y;U.default=g,te.exports=g},mOdp:function(te,U,e){var y=e("bYtY"),L=y.createHashMap;function g(v){return{getTargetSeries:function(A){var b={},m=L();return A.eachSeriesByType(v,function(d){d.__paletteScope=b,m.set(d.uid,d)}),m},reset:function(A,b){var m=A.getRawData(),d={},r=A.getData();r.each(function(a){var s=r.getRawIndex(a);d[s]=a}),m.each(function(a){var s=d[a],i=s!=null&&r.getItemVisual(s,"color",!0),n=s!=null&&r.getItemVisual(s,"borderColor",!0),l;if((!i||!n)&&(l=m.getItemModel(a)),!i){var t=l.get("itemStyle.color")||A.getColorFromPalette(m.getName(a)||a+"",A.__paletteScope,m.count());s!=null&&r.setItemVisual(s,"color",t)}if(!n){var u=l.get("itemStyle.borderColor");s!=null&&r.setItemVisual(s,"borderColor",u)}})}}}te.exports=g},mYwL:function(te,U,e){var y=e("bYtY"),L=e("IwbS"),g=e("6GrX"),v=Math.PI;function A(b,m){m=m||{},y.defaults(m,{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var d=new L.Group,r=new L.Rect({style:{fill:m.maskColor},zlevel:m.zlevel,z:1e4});d.add(r);var a=m.fontSize+" sans-serif",s=new L.Rect({style:{fill:"none",text:m.text,font:a,textPosition:"right",textDistance:10,textFill:m.textColor},zlevel:m.zlevel,z:10001});if(d.add(s),m.showSpinner){var i=new L.Arc({shape:{startAngle:-v/2,endAngle:-v/2+.1,r:m.spinnerRadius},style:{stroke:m.color,lineCap:"round",lineWidth:m.lineWidth},zlevel:m.zlevel,z:10001});i.animateShape(!0).when(1e3,{endAngle:v*3/2}).start("circularInOut"),i.animateShape(!0).when(1e3,{startAngle:v*3/2}).delay(300).start("circularInOut"),d.add(i)}return d.resize=function(){var n=g.getWidth(m.text,a),l=m.showSpinner?m.spinnerRadius:0,t=(b.getWidth()-l*2-(m.showSpinner&&n?10:0)-n)/2-(m.showSpinner?0:n/2),u=b.getHeight()/2;m.showSpinner&&i.setShape({cx:t,cy:u}),s.setShape({x:t-l,y:u-l,width:l*2,height:l*2}),r.setShape({x:0,y:0,width:b.getWidth(),height:b.getHeight()})},d.resize(),d}te.exports=A},mmNF:function(te,U){var e={utf8:{stringToBytes:function(L){return e.bin.stringToBytes(unescape(encodeURIComponent(L)))},bytesToString:function(L){return decodeURIComponent(escape(e.bin.bytesToString(L)))}},bin:{stringToBytes:function(L){for(var g=[],v=0;v<L.length;v++)g.push(L.charCodeAt(v)&255);return g},bytesToString:function(L){for(var g=[],v=0;v<L.length;v++)g.push(String.fromCharCode(L[v]));return g.join("")}}};te.exports=e},mr32:function(te,U,e){"use strict";var y=e("lSNA"),L=e.n(y),g=e("pVnL"),v=e.n(g),A=e("J4zp"),b=e.n(A),m=e("q1tI"),d=e("TSYQ"),r=e.n(d),a=e("BGR+"),s=e("V/uB"),i=e.n(s),n=e("H84U"),l=function(N,S){var E={};for(var T in N)Object.prototype.hasOwnProperty.call(N,T)&&S.indexOf(T)<0&&(E[T]=N[T]);if(N!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,T=Object.getOwnPropertySymbols(N);D<T.length;D++)S.indexOf(T[D])<0&&Object.prototype.propertyIsEnumerable.call(N,T[D])&&(E[T[D]]=N[T[D]]);return E},t=function(S){var E,T=m.useContext(n.b),D=T.getPrefixCls,B=function(P){var z=S.checked,Y=S.onChange,_=S.onClick;Y&&Y(!z),_&&_(P)},R=S.prefixCls,F=S.className,M=S.checked,K=l(S,["prefixCls","className","checked"]),j=D("tag",R),H=r()(j,(E={},L()(E,"".concat(j,"-checkable"),!0),L()(E,"".concat(j,"-checkable-checked"),M),E),F);return delete K.onChange,m.createElement("span",v()({},K,{className:H,onClick:B}))},u=t,o=e("09Wf"),c=e("g0mS"),h=function(N,S){var E={};for(var T in N)Object.prototype.hasOwnProperty.call(N,T)&&S.indexOf(T)<0&&(E[T]=N[T]);if(N!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,T=Object.getOwnPropertySymbols(N);D<T.length;D++)S.indexOf(T[D])<0&&Object.prototype.propertyIsEnumerable.call(N,T[D])&&(E[T[D]]=N[T[D]]);return E},f=new RegExp("^(".concat(o.a.join("|"),")(-inverse)?$")),w=new RegExp("^(".concat(o.b.join("|"),")$")),x=function(S,E){var T,D=S.prefixCls,B=S.className,R=S.style,F=S.children,M=S.icon,K=S.color,j=S.onClose,H=S.closeIcon,k=S.closable,P=k===void 0?!1:k,z=h(S,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),Y=m.useContext(n.b),_=Y.getPrefixCls,G=Y.direction,J=m.useState(!0),ue=b()(J,2),q=ue[0],re=ue[1];m.useEffect(function(){"visible"in z&&re(z.visible)},[z.visible]);var me=function(){return K?f.test(K)||w.test(K):!1},be=v()({backgroundColor:K&&!me()?K:void 0},R),ke=me(),ce=_("tag",D),Ee=r()(ce,(T={},L()(T,"".concat(ce,"-").concat(K),ke),L()(T,"".concat(ce,"-has-color"),K&&!ke),L()(T,"".concat(ce,"-hidden"),!q),L()(T,"".concat(ce,"-rtl"),G==="rtl"),T),B),pe=function(rt){if(rt.stopPropagation(),j&&j(rt),rt.defaultPrevented)return;"visible"in z||re(!1)},Se=function(){return P?H?m.createElement("div",{className:"".concat(ce,"-close-icon"),onClick:pe},H):m.createElement(i.a,{className:"".concat(ce,"-close-icon"),onClick:pe}):null},st="onClick"in z||F&&F.type==="a",qe=Object(a.default)(z,["visible"]),tt=M||null,Dt=tt?m.createElement(m.Fragment,null,tt,m.createElement("span",null,F)):F,ct=m.createElement("span",v()({},qe,{ref:E,className:Ee,style:be}),Dt,Se());return st?m.createElement(c.a,null,ct):ct},I=m.forwardRef(x);I.displayName="Tag",I.CheckableTag=u;var C=U.a=I},n1HI:function(te,U,e){var y=e("hX1E"),L=y.normalizeRadian,g=Math.PI*2;function v(A,b,m,d,r,a,s,i,n){if(s===0)return!1;var l=s;i-=A,n-=b;var t=Math.sqrt(i*i+n*n);if(t-l>m||t+l<m)return!1;if(Math.abs(d-r)%g<1e-4)return!0;if(a){var u=d;d=L(r),r=L(u)}else d=L(d),r=L(r);d>r&&(r+=g);var o=Math.atan2(n,i);return o<0&&(o+=g),o>=d&&o<=r||o+g>=d&&o+g<=r}U.containStroke=v},n4Lv:function(te,U,e){var y=e("7hqr"),L=y.isDimensionStacked,g=e("bYtY"),v=g.map;function A(d,r,a){var s=d.getBaseAxis(),i=d.getOtherAxis(s),n=b(i,a),l=s.dim,t=i.dim,u=r.mapDimension(t),o=r.mapDimension(l),c=t==="x"||t==="radius"?1:0,h=v(d.dimensions,function(x){return r.mapDimension(x)}),f,w=r.getCalculationInfo("stackResultDimension");return(f|=L(r,h[0]))&&(h[0]=w),(f|=L(r,h[1]))&&(h[1]=w),{dataDimsForPoint:h,valueStart:n,valueAxisDim:t,baseAxisDim:l,stacked:!!f,valueDim:u,baseDim:o,baseDataOffset:c,stackedOverDimension:r.getCalculationInfo("stackedOverDimension")}}function b(d,r){var a=0,s=d.scale.getExtent();return r==="start"?a=s[0]:r==="end"?a=s[1]:s[0]>0?a=s[0]:s[1]<0&&(a=s[1]),a}function m(d,r,a,s){var i=NaN;d.stacked&&(i=a.get(a.getCalculationInfo("stackedOverDimension"),s)),isNaN(i)&&(i=d.valueStart);var n=d.baseDataOffset,l=[];return l[n]=a.get(d.baseDim,s),l[1-n]=i,r.dataToPoint(l)}U.prepareDataCoordInfo=A,U.getStackedOnPoint=m},n6Mw:function(te,U,e){var y=e("SrGk"),L=e("bYtY"),g=e("Fofx");function v(b,m){y.call(this,b,m,"clipPath","__clippath_in_use__")}L.inherits(v,y),v.prototype.update=function(b){var m=this.getSvgElement(b);m&&this.updateDom(m,b.__clipPaths,!1);var d=this.getTextSvgElement(b);d&&this.updateDom(d,b.__clipPaths,!0),this.markUsed(b)},v.prototype.updateDom=function(b,m,d){if(m&&m.length>0){var r=this.getDefs(!0),a=m[0],s,i,n=d?"_textDom":"_dom";a[n]?(i=a[n].getAttribute("id"),s=a[n],r.contains(s)||r.appendChild(s)):(i="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,s=this.createElement("clipPath"),s.setAttribute("id",i),r.appendChild(s),a[n]=s);var l=this.getSvgProxy(a);if(a.transform&&a.parent.invTransform&&!d){var t=Array.prototype.slice.call(a.transform);g.mul(a.transform,a.parent.invTransform,a.transform),l.brush(a),a.transform=t}else l.brush(a);var u=this.getSvgElement(a);s.innerHTML="",s.appendChild(u.cloneNode()),b.setAttribute("clip-path","url(#"+i+")"),m.length>1&&this.updateDom(s,m.slice(1),d)}else b&&b.setAttribute("clip-path","none")},v.prototype.markUsed=function(b){var m=this;b.__clipPaths&&L.each(b.__clipPaths,function(d){d._dom&&y.prototype.markUsed.call(m,d._dom),d._textDom&&y.prototype.markUsed.call(m,d._textDom)})};var A=v;te.exports=A},nCxF:function(te,U,e){var y=e("QBsz"),L=y.min,g=y.max,v=y.scale,A=y.distance,b=y.add,m=y.clone,d=y.sub;function r(a,s,i,n){var l=[],t=[],u=[],o=[],c,h,f,w;if(n){f=[Infinity,Infinity],w=[-Infinity,-Infinity];for(var x=0,I=a.length;x<I;x++)L(f,f,a[x]),g(w,w,a[x]);L(f,f,n[0]),g(w,w,n[1])}for(var x=0,I=a.length;x<I;x++){var C=a[x];if(i)c=a[x?x-1:I-1],h=a[(x+1)%I];else if(x===0||x===I-1){l.push(m(a[x]));continue}else c=a[x-1],h=a[x+1];d(t,h,c),v(t,t,s);var N=A(C,c),S=A(C,h),E=N+S;E!==0&&(N/=E,S/=E),v(u,t,-N),v(o,t,S);var T=b([],C,u),D=b([],C,o);n&&(g(T,T,f),L(T,T,w),g(D,D,f),L(D,D,w)),l.push(T),l.push(D)}return i&&l.push(l.shift()),l}te.exports=r},nKiI:function(te,U,e){var y=e("bYtY"),L=e("mFDi"),g=e("OELB"),v=g.parsePercent,A=g.MAX_SAFE_INTEGER,b=e("+TT/"),m=e("VaxA"),d=Math.max,r=Math.min,a=y.retrieve,s=y.each,i=["itemStyle","borderWidth"],n=["itemStyle","gapWidth"],l=["upperLabel","show"],t=["upperLabel","height"],u={seriesType:"treemap",reset:function(T,D,B,R){var F=B.getWidth(),M=B.getHeight(),K=T.option,j=b.getLayoutRect(T.getBoxLayoutParams(),{width:B.getWidth(),height:B.getHeight()}),H=K.size||[],k=v(a(j.width,H[0]),F),P=v(a(j.height,H[1]),M),z=R&&R.type,Y=["treemapZoomToNode","treemapRootToNode"],_=m.retrieveTargetInfo(R,Y,T),G=z==="treemapRender"||z==="treemapMove"?R.rootRect:null,J=T.getViewRoot(),ue=m.getPathToRoot(J);if(z!=="treemapMove"){var q=z==="treemapZoomToNode"?C(T,_,J,k,P):G?[G.width,G.height]:[k,P],re=K.sort;re&&re!=="asc"&&re!=="desc"&&(re="desc");var me={squareRatio:K.squareRatio,sort:re,leafDepth:K.leafDepth};J.hostTree.clearLayouts();var be={x:0,y:0,width:q[0],height:q[1],area:q[0]*q[1]};J.setLayout(be),o(J,me,!1,0);var be=J.getLayout();s(ue,function(ce,Ee){var pe=(ue[Ee+1]||J).getValue();ce.setLayout(y.extend({dataExtent:[pe,pe],borderWidth:0,upperHeight:0},be))})}var ke=T.getData().tree.root;ke.setLayout(N(j,G,_),!0),T.setLayoutInfo(j),S(ke,new L(-j.x,-j.y,F,M),ue,J,0)}};function o(T,D,B,R){var F,M;if(T.isRemoved())return;var K=T.getLayout();F=K.width,M=K.height;var j=T.getModel(),H=j.get(i),k=j.get(n)/2,P=E(j),z=Math.max(H,P),Y=H-k,_=z-k,j=T.getModel();T.setLayout({borderWidth:H,upperHeight:z,upperLabelHeight:P},!0),F=d(F-2*Y,0),M=d(M-Y-_,0);var G=F*M,J=c(T,j,G,D,B,R);if(!J.length)return;var ue={x:Y,y:_,width:F,height:M},q=r(F,M),re=Infinity,me=[];me.area=0;for(var be=0,ke=J.length;be<ke;){var ce=J[be];me.push(ce),me.area+=ce.getLayout().area;var Ee=x(me,q,D.squareRatio);Ee<=re?(be++,re=Ee):(me.area-=me.pop().getLayout().area,I(me,q,ue,k,!1),q=r(ue.width,ue.height),me.length=me.area=0,re=Infinity)}if(me.length&&I(me,q,ue,k,!0),!B){var pe=j.get("childrenVisibleMin");pe!=null&&G<pe&&(B=!0)}for(var be=0,ke=J.length;be<ke;be++)o(J[be],D,B,R+1)}function c(T,D,B,R,F,M){var K=T.children||[],j=R.sort;j!=="asc"&&j!=="desc"&&(j=null);var H=R.leafDepth!=null&&R.leafDepth<=M;if(F&&!H)return T.viewChildren=[];K=y.filter(K,function(_){return!_.isRemoved()}),f(K,j);var k=w(D,K,j);if(k.sum===0)return T.viewChildren=[];if(k.sum=h(D,B,k.sum,j,K),k.sum===0)return T.viewChildren=[];for(var P=0,z=K.length;P<z;P++){var Y=K[P].getValue()/k.sum*B;K[P].setLayout({area:Y})}return H&&(K.length&&T.setLayout({isLeafRoot:!0},!0),K.length=0),T.viewChildren=K,T.setLayout({dataExtent:k.dataExtent},!0),K}function h(T,D,B,R,F){if(!R)return B;for(var M=T.get("visibleMin"),K=F.length,j=K,H=K-1;H>=0;H--){var k=F[R==="asc"?K-H-1:H].getValue();k/B*D<M&&(j=H,B-=k)}return R==="asc"?F.splice(0,K-j):F.splice(j,K-j),B}function f(T,D){return D&&T.sort(function(B,R){var F=D==="asc"?B.getValue()-R.getValue():R.getValue()-B.getValue();return F===0?D==="asc"?B.dataIndex-R.dataIndex:R.dataIndex-B.dataIndex:F}),T}function w(T,D,B){for(var R=0,F=0,M=D.length;F<M;F++)R+=D[F].getValue();var K=T.get("visualDimension"),j;if(!D||!D.length)j=[NaN,NaN];else if(K==="value"&&B)j=[D[D.length-1].getValue(),D[0].getValue()],B==="asc"&&j.reverse();else{var j=[Infinity,-Infinity];s(D,function(k){var P=k.getValue(K);P<j[0]&&(j[0]=P),P>j[1]&&(j[1]=P)})}return{sum:R,dataExtent:j}}function x(T,D,B){for(var R=0,F=Infinity,M=0,K,j=T.length;M<j;M++)K=T[M].getLayout().area,K&&(K<F&&(F=K),K>R&&(R=K));var H=T.area*T.area,k=D*D*B;return H?d(k*R/H,H/(k*F)):Infinity}function I(T,D,B,R,F){var M=D===B.width?0:1,K=1-M,j=["x","y"],H=["width","height"],k=B[j[M]],P=D?T.area/D:0;(F||P>B[H[K]])&&(P=B[H[K]]);for(var z=0,Y=T.length;z<Y;z++){var _=T[z],G={},J=P?_.getLayout().area/P:0,ue=G[H[K]]=d(P-2*R,0),q=B[j[M]]+B[H[M]]-k,re=z===Y-1||q<J?q:J,me=G[H[M]]=d(re-2*R,0);G[j[K]]=B[j[K]]+r(R,ue/2),G[j[M]]=k+r(R,me/2),k+=re,_.setLayout(G,!0)}B[j[K]]+=P,B[H[K]]-=P}function C(T,D,B,R,F){var M=(D||{}).node,K=[R,F];if(!M||M===B)return K;for(var j,H=R*F,k=H*T.option.zoomToNodeRatio;j=M.parentNode;){for(var P=0,z=j.children,Y=0,_=z.length;Y<_;Y++)P+=z[Y].getValue();var G=M.getValue();if(G===0)return K;k*=P/G;var J=j.getModel(),ue=J.get(i),q=Math.max(ue,E(J,ue));k+=4*ue*ue+(3*ue+q)*Math.pow(k,.5),k>A&&(k=A),M=j}k<H&&(k=H);var re=Math.pow(k/H,.5);return[R*re,F*re]}function N(T,D,B){if(D)return{x:D.x,y:D.y};var R={x:0,y:0};if(!B)return R;var F=B.node,M=F.getLayout();if(!M)return R;for(var K=[M.width/2,M.height/2],j=F;j;){var H=j.getLayout();K[0]+=H.x,K[1]+=H.y,j=j.parentNode}return{x:T.width/2-K[0],y:T.height/2-K[1]}}function S(T,D,B,R,F){var M=T.getLayout(),K=B[F],j=K&&K===T;if(K&&!j||F===B.length&&T!==R)return;T.setLayout({isInView:!0,invisible:!j&&!D.intersect(M),isAboveViewRoot:j},!0);var H=new L(D.x-M.x,D.y-M.y,D.width,D.height);s(T.viewChildren||[],function(k){S(k,H,B,R,F+1)})}function E(T){return T.get(l)?T.get(t):0}te.exports=u},nPnh:function(te,U){var e=Math.round;function y(v,A,b){if(!A)return;var m=A.x1,d=A.x2,r=A.y1,a=A.y2;v.x1=m,v.x2=d,v.y1=r,v.y2=a;var s=b&&b.lineWidth;if(!s)return;e(m*2)===e(d*2)&&(v.x1=v.x2=g(m,s,!0)),e(r*2)===e(a*2)&&(v.y1=v.y2=g(r,s,!0))}function L(v,A,b){if(!A)return;var m=A.x,d=A.y,r=A.width,a=A.height;v.x=m,v.y=d,v.width=r,v.height=a;var s=b&&b.lineWidth;if(!s)return;v.x=g(m,s,!0),v.y=g(d,s,!0),v.width=Math.max(g(m+r,s,!1)-v.x,r===0?0:1),v.height=Math.max(g(d+a,s,!1)-v.y,a===0?0:1)}function g(v,A,b){if(!A)return v;var m=e(v*2);return(m+e(A))%2===0?m/2:(m+(b?1:-1))/2}U.subPixelOptimizeLine=y,U.subPixelOptimizeRect=L,U.subPixelOptimize=g},nRaC:function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("0fbx"),v=e.n(g),A=e("OaEy"),b=e("R9oj")},nVfU:function(te,U,e){var y=e("bYtY"),L=e("OELB"),g=L.parsePercent,v=e("7hqr"),A=v.isDimensionStacked,b=e("zM3Q"),m="__ec_stack_",d=.5,r=typeof Float32Array!="undefined"?Float32Array:Array;function a(I){return I.get("stack")||m+I.seriesIndex}function s(I){return I.dim+I.index}function i(I){var C=[],N=I.axis,S="axis0";if(N.type!=="category")return;for(var E=N.getBandWidth(),T=0;T<I.count||0;T++)C.push(y.defaults({bandWidth:E,axisKey:S,stackId:m+T},I));for(var D=u(C),B=[],T=0;T<I.count;T++){var R=D[S][m+T];R.offsetCenter=R.offset+R.width/2,B.push(R)}return B}function n(I,C){var N=[];return C.eachSeriesByType(I,function(S){f(S)&&!w(S)&&N.push(S)}),N}function l(I){var C={};y.each(I,function(R){var F=R.coordinateSystem,M=F.getBaseAxis();if(M.type!=="time"&&M.type!=="value")return;for(var K=R.getData(),j=M.dim+"_"+M.index,H=K.mapDimension(M.dim),k=0,P=K.count();k<P;++k){var z=K.get(H,k);C[j]?C[j].push(z):C[j]=[z]}});var N=[];for(var S in C)if(C.hasOwnProperty(S)){var E=C[S];if(E){E.sort(function(R,F){return R-F});for(var T=null,D=1;D<E.length;++D){var B=E[D]-E[D-1];B>0&&(T=T===null?B:Math.min(T,B))}N[S]=T}}return N}function t(I){var C=l(I),N=[];return y.each(I,function(S){var E=S.coordinateSystem,T=E.getBaseAxis(),D=T.getExtent(),B;if(T.type==="category")B=T.getBandWidth();else if(T.type==="value"||T.type==="time"){var R=T.dim+"_"+T.index,F=C[R],M=Math.abs(D[1]-D[0]),K=T.scale.getExtent(),j=Math.abs(K[1]-K[0]);B=F?M/j*F:M}else{var H=S.getData();B=Math.abs(D[1]-D[0])/H.count()}var k=g(S.get("barWidth"),B),P=g(S.get("barMaxWidth"),B),z=g(S.get("barMinWidth")||1,B),Y=S.get("barGap"),_=S.get("barCategoryGap");N.push({bandWidth:B,barWidth:k,barMaxWidth:P,barMinWidth:z,barGap:Y,barCategoryGap:_,axisKey:s(T),stackId:a(S)})}),u(N)}function u(I){var C={};y.each(I,function(S,E){var T=S.axisKey,D=S.bandWidth,B=C[T]||{bandWidth:D,remainedWidth:D,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},R=B.stacks;C[T]=B;var F=S.stackId;R[F]||B.autoWidthCount++,R[F]=R[F]||{width:0,maxWidth:0};var M=S.barWidth;M&&!R[F].width&&(R[F].width=M,M=Math.min(B.remainedWidth,M),B.remainedWidth-=M);var K=S.barMaxWidth;K&&(R[F].maxWidth=K);var j=S.barMinWidth;j&&(R[F].minWidth=j);var H=S.barGap;H!=null&&(B.gap=H);var k=S.barCategoryGap;k!=null&&(B.categoryGap=k)});var N={};return y.each(C,function(S,E){N[E]={};var T=S.stacks,D=S.bandWidth,B=g(S.categoryGap,D),R=g(S.gap,1),F=S.remainedWidth,M=S.autoWidthCount,K=(F-B)/(M+(M-1)*R);K=Math.max(K,0),y.each(T,function(P){var z=P.maxWidth,Y=P.minWidth;if(P.width){var _=P.width;z&&(_=Math.min(_,z)),Y&&(_=Math.max(_,Y)),P.width=_,F-=_+R*_,M--}else{var _=K;z&&z<_&&(_=Math.min(z,F)),Y&&Y>_&&(_=Y),_!==K&&(P.width=_,F-=_+R*_,M--)}}),K=(F-B)/(M+(M-1)*R),K=Math.max(K,0);var j=0,H;y.each(T,function(P,z){P.width||(P.width=K),H=P,j+=P.width*(1+R)}),H&&(j-=H.width*R);var k=-j/2;y.each(T,function(P,z){N[E][z]=N[E][z]||{bandWidth:D,offset:k,width:P.width},k+=P.width*(1+R)})}),N}function o(I,C,N){if(I&&C){var S=I[s(C)];return S!=null&&N!=null&&(S=S[a(N)]),S}}function c(I,C){var N=n(I,C),S=t(N),E={},T={};y.each(N,function(D){var B=D.getData(),R=D.coordinateSystem,F=R.getBaseAxis(),M=a(D),K=S[s(F)][M],j=K.offset,H=K.width,k=R.getOtherAxis(F),P=D.get("barMinHeight")||0;E[M]=E[M]||[],T[M]=T[M]||[],B.setLayout({bandWidth:K.bandWidth,offset:j,size:H});for(var z=B.mapDimension(k.dim),Y=B.mapDimension(F.dim),_=A(B,z),G=k.isHorizontal(),J=x(F,k,_),ue=0,q=B.count();ue<q;ue++){var re=B.get(z,ue),me=B.get(Y,ue),be=re>=0?"p":"n",ke=J;_&&(E[M][me]||(E[M][me]={p:J,n:J}),ke=E[M][me][be]);var ce,Ee,pe,Se;if(G){var st=R.dataToPoint([re,me]);ce=ke,Ee=st[1]+j,pe=st[0]-J,Se=H,Math.abs(pe)<P&&(pe=(pe<0?-1:1)*P),isNaN(pe)||_&&(E[M][me][be]+=pe)}else{var st=R.dataToPoint([me,re]);ce=st[0]+j,Ee=ke,pe=H,Se=st[1]-J,Math.abs(Se)<P&&(Se=(Se<=0?-1:1)*P),isNaN(Se)||_&&(E[M][me][be]+=Se)}B.setItemLayout(ue,{x:ce,y:Ee,width:pe,height:Se})}},this)}var h={seriesType:"bar",plan:b(),reset:function(I){if(!f(I)||!w(I))return;var C=I.getData(),N=I.coordinateSystem,S=N.grid.getRect(),E=N.getBaseAxis(),T=N.getOtherAxis(E),D=C.mapDimension(T.dim),B=C.mapDimension(E.dim),R=T.isHorizontal(),F=R?0:1,M=o(t([I]),E,I).width;return M>d||(M=d),{progress:K};function K(j,H){for(var k=j.count,P=new r(k*2),z=new r(k*2),Y=new r(k),_,G=[],J=[],ue=0,q=0;(_=j.next())!=null;)J[F]=H.get(D,_),J[1-F]=H.get(B,_),G=N.dataToPoint(J,null,G),z[ue]=R?S.x+S.width:G[0],P[ue++]=G[0],z[ue]=R?G[1]:S.y+S.height,P[ue++]=G[1],Y[q++]=_;H.setLayout({largePoints:P,largeDataIndices:Y,largeBackgroundPoints:z,barWidth:M,valueAxisStart:x(E,T,!1),backgroundStart:R?S.x:S.y,valueAxisHorizontal:R})}}};function f(I){return I.coordinateSystem&&I.coordinateSystem.type==="cartesian2d"}function w(I){return I.pipelineContext&&I.pipelineContext.large}function x(I,C,N){return C.toGlobalCoord(C.dataToCoord(C.type==="log"?1:0))}U.getLayoutOnAxis=i,U.prepareLayoutBarSeries=n,U.makeColumnLayout=t,U.retrieveColumnLayout=o,U.layout=c,U.largeLayout=h},ngQI:function(te,U,e){"use strict";e.d(U,"a",function(){return iu}),e.d(U,"b",function(){return Au}),e.d(U,"c",function(){return xn});var y=e("q1tI"),L=e.n(y),g=e("dI71"),v=e("wx14"),A=e("ANjH"),b=e("/MKj");function m(fe,V){if(fe.length!==V.length)return!1;for(var ae=0;ae<fe.length;ae++)if(fe[ae]!==V[ae])return!1;return!0}function d(fe,V){var ae=Object(y.useState)(function(){return{inputs:V,result:fe()}})[0],Ie=Object(y.useRef)(!0),Ke=Object(y.useRef)(ae),dt=Ie.current||Boolean(V&&Ke.current.inputs&&m(V,Ke.current.inputs)),pt=dt?Ke.current:{inputs:V,result:fe()};return Object(y.useEffect)(function(){Ie.current=!1,Ke.current=pt},[pt]),pt.result}function r(fe,V){return d(function(){return fe},V)}var a=d,s=r,i=e("9R94"),n=function(V){var ae=V.top,Ie=V.right,Ke=V.bottom,dt=V.left,pt=Ie-dt,yt=Ke-ae,cn={top:ae,right:Ie,bottom:Ke,left:dt,width:pt,height:yt,x:dt,y:ae,center:{x:(Ie+dt)/2,y:(Ke+ae)/2}};return cn},l=function(V,ae){return{top:V.top-ae.top,left:V.left-ae.left,bottom:V.bottom+ae.bottom,right:V.right+ae.right}},t=function(V,ae){return{top:V.top+ae.top,left:V.left+ae.left,bottom:V.bottom-ae.bottom,right:V.right-ae.right}},u=function(V,ae){return{top:V.top+ae.y,left:V.left+ae.x,bottom:V.bottom+ae.y,right:V.right+ae.x}},o={top:0,right:0,bottom:0,left:0},c=function(V){var ae=V.borderBox,Ie=V.margin,Ke=Ie===void 0?o:Ie,dt=V.border,pt=dt===void 0?o:dt,yt=V.padding,cn=yt===void 0?o:yt,On=n(l(ae,Ke)),ln=n(t(ae,pt)),en=n(t(ln,cn));return{marginBox:On,borderBox:n(ae),paddingBox:ln,contentBox:en,margin:Ke,border:pt,padding:cn}},h=function(V){var ae=V.slice(0,-2),Ie=V.slice(-2);if(Ie!=="px")return 0;var Ke=Number(ae);return isNaN(Ke)&&Object(i.a)(!1),Ke},f=function(){return{x:window.pageXOffset,y:window.pageYOffset}},w=function(V,ae){var Ie=V.borderBox,Ke=V.border,dt=V.margin,pt=V.padding,yt=u(Ie,ae);return c({borderBox:yt,border:Ke,margin:dt,padding:pt})},x=function(V,ae){return ae===void 0&&(ae=f()),w(V,ae)},I=function(V,ae){var Ie={top:h(ae.marginTop),right:h(ae.marginRight),bottom:h(ae.marginBottom),left:h(ae.marginLeft)},Ke={top:h(ae.paddingTop),right:h(ae.paddingRight),bottom:h(ae.paddingBottom),left:h(ae.paddingLeft)},dt={top:h(ae.borderTopWidth),right:h(ae.borderRightWidth),bottom:h(ae.borderBottomWidth),left:h(ae.borderLeftWidth)};return c({borderBox:V,margin:Ie,padding:Ke,border:dt})},C=function(V){var ae=V.getBoundingClientRect(),Ie=window.getComputedStyle(V);return I(ae,Ie)},N=Number.isNaN||function(V){return typeof V=="number"&&V!==V};function S(fe,V){return fe===V?!0:!!(N(fe)&&N(V))}function E(fe,V){if(fe.length!==V.length)return!1;for(var ae=0;ae<fe.length;ae++)if(!S(fe[ae],V[ae]))return!1;return!0}function T(fe,V){V===void 0&&(V=E);var ae,Ie=[],Ke,dt=!1;function pt(){for(var yt=[],cn=0;cn<arguments.length;cn++)yt[cn]=arguments[cn];return dt&&ae===this&&V(yt,Ie)||(Ke=fe.apply(this,yt),dt=!0,ae=this,Ie=yt),Ke}return pt}var D=T,B=function(V){var ae=[],Ie=null,Ke=function(){for(var pt=arguments.length,yt=new Array(pt),cn=0;cn<pt;cn++)yt[cn]=arguments[cn];if(ae=yt,Ie)return;Ie=requestAnimationFrame(function(){Ie=null,V.apply(void 0,ae)})};return Ke.cancel=function(){if(!Ie)return;cancelAnimationFrame(Ie),Ie=null},Ke},R=B,F=e("i8i4"),M=e.n(F),K=!0,j=/[ \t]{2,}/g,H=/^[ \t]*/gm,k=function(V){return V.replace(j," ").replace(H,"").trim()},P=function(V){return k(`
|
|
|
%creact-beautiful-dnd
|
|
|
|
|
|
%c`+k(V)+`
|
|
|
|
|
|
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
|
|
|
`)},z=function(V){return[P(V),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},Y="__react-beautiful-dnd-disable-dev-warnings";function _(fe,V){var ae;if(K)return;if(typeof window!="undefined"&&window[Y])return;(ae=console)[fe].apply(ae,z(V))}var G=_.bind(null,"warn"),J=_.bind(null,"error");function ue(){}function q(fe,V){return Object(v.a)({},fe,{},V)}function re(fe,V,ae){var Ie=V.map(function(Ke){var dt=q(ae,Ke.options);return fe.addEventListener(Ke.eventName,Ke.fn,dt),function(){fe.removeEventListener(Ke.eventName,Ke.fn,dt)}});return function(){Ie.forEach(function(dt){dt()})}}var me=!0,be="Invariant failed";function ke(fe){this.message=fe}ke.prototype.toString=function(){return this.message};function ce(fe,V){if(fe)return;throw me?new ke(be):new ke(be+": "+(V||""))}var Ee=function(fe){Object(g.a)(V,fe);function V(){for(var Ie,Ke=arguments.length,dt=new Array(Ke),pt=0;pt<Ke;pt++)dt[pt]=arguments[pt];return Ie=fe.call.apply(fe,[this].concat(dt))||this,Ie.callbacks=null,Ie.unbind=ue,Ie.onWindowError=function(yt){var cn=Ie.getCallbacks();cn.isDragging()&&cn.tryAbort();var On=yt.error;On instanceof ke&&yt.preventDefault()},Ie.getCallbacks=function(){if(!Ie.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return Ie.callbacks},Ie.setCallbacks=function(yt){Ie.callbacks=yt},Ie}var ae=V.prototype;return ae.componentDidMount=function(){this.unbind=re(window,[{eventName:"error",fn:this.onWindowError}])},ae.componentWillUnmount=function(){this.unbind()},ae.componentDidCatch=function(Ke){if(Ke instanceof ke){this.setState({});return}throw Ke},ae.render=function(){return this.props.children(this.setCallbacks)},V}(L.a.Component),pe=`
|
|
|
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
|
|
|
`,Se=function(V){return V+1},st=function(V){return`
|
|
|
You have lifted an item in position `+Se(V.source.index)+`
|
|
|
`},qe=function(V,ae){var Ie=V.droppableId===ae.droppableId,Ke=Se(V.index),dt=Se(ae.index);return Ie?`
|
|
|
You have moved the item from position `+Ke+`
|
|
|
to position `+dt+`
|
|
|
`:`
|
|
|
You have moved the item from position `+Ke+`
|
|
|
in list `+V.droppableId+`
|
|
|
to list `+ae.droppableId+`
|
|
|
in position `+dt+`
|
|
|
`},tt=function(V,ae,Ie){var Ke=ae.droppableId===Ie.droppableId;return Ke?`
|
|
|
The item `+V+`
|
|
|
has been combined with `+Ie.draggableId:`
|
|
|
The item `+V+`
|
|
|
in list `+ae.droppableId+`
|
|
|
has been combined with `+Ie.draggableId+`
|
|
|
in list `+Ie.droppableId+`
|
|
|
`},Dt=function(V){var ae=V.destination;if(ae)return qe(V.source,ae);var Ie=V.combine;return Ie?tt(V.draggableId,V.source,Ie):"You are over an area that cannot be dropped on"},ct=function(V){return`
|
|
|
The item has returned to its starting position
|
|
|
of `+Se(V.index)+`
|
|
|
`},St=function(V){if(V.reason==="CANCEL")return`
|
|
|
Movement cancelled.
|
|
|
`+ct(V.source)+`
|
|
|
`;var ae=V.destination,Ie=V.combine;return ae?`
|
|
|
You have dropped the item.
|
|
|
`+qe(V.source,ae)+`
|
|
|
`:Ie?`
|
|
|
You have dropped the item.
|
|
|
`+tt(V.draggableId,V.source,Ie)+`
|
|
|
`:`
|
|
|
The item has been dropped while not over a drop area.
|
|
|
`+ct(V.source)+`
|
|
|
`},rt={dragHandleUsageInstructions:pe,onDragStart:st,onDragUpdate:Dt,onDragEnd:St},ht={x:0,y:0},je=function(V,ae){return{x:V.x+ae.x,y:V.y+ae.y}},Me=function(V,ae){return{x:V.x-ae.x,y:V.y-ae.y}},Ne=function(V,ae){return V.x===ae.x&&V.y===ae.y},it=function(V){return{x:V.x!==0?-V.x:0,y:V.y!==0?-V.y:0}},wt=function(V,ae,Ie){var Ke;return Ie===void 0&&(Ie=0),Ke={},Ke[V]=ae,Ke[V==="x"?"y":"x"]=Ie,Ke},jt=function(V,ae){return Math.sqrt(Math.pow(ae.x-V.x,2)+Math.pow(ae.y-V.y,2))},lt=function(V,ae){return Math.min.apply(Math,ae.map(function(Ie){return jt(V,Ie)}))},Te=function(V){return function(ae){return{x:V(ae.x),y:V(ae.y)}}},mt=function(V,ae){var Ie=n({top:Math.max(ae.top,V.top),right:Math.min(ae.right,V.right),bottom:Math.min(ae.bottom,V.bottom),left:Math.max(ae.left,V.left)});return Ie.width<=0||Ie.height<=0?null:Ie},tn=function(V,ae){return{top:V.top+ae.y,left:V.left+ae.x,bottom:V.bottom+ae.y,right:V.right+ae.x}},Vt=function(V){return[{x:V.left,y:V.top},{x:V.right,y:V.top},{x:V.left,y:V.bottom},{x:V.right,y:V.bottom}]},Yt={top:0,right:0,bottom:0,left:0},Qt=function(V,ae){return ae?tn(V,ae.scroll.diff.displacement):V},an=function(V,ae,Ie){if(Ie&&Ie.increasedBy){var Ke;return Object(v.a)({},V,(Ke={},Ke[ae.end]=V[ae.end]+Ie.increasedBy[ae.line],Ke))}return V},on=function(V,ae){return ae&&ae.shouldClipSubject?mt(ae.pageMarginBox,V):n(V)},vt=function(V){var ae=V.page,Ie=V.withPlaceholder,Ke=V.axis,dt=V.frame,pt=Qt(ae.marginBox,dt),yt=an(pt,Ke,Ie),cn=on(yt,dt);return{page:ae,withPlaceholder:Ie,active:cn}},de=function(V,ae){V.frame||ce(!1);var Ie=V.frame,Ke=Me(ae,Ie.scroll.initial),dt=it(Ke),pt=Object(v.a)({},Ie,{scroll:{initial:Ie.scroll.initial,current:ae,diff:{value:Ke,displacement:dt},max:Ie.scroll.max}}),yt=vt({page:V.subject.page,withPlaceholder:V.subject.withPlaceholder,axis:V.axis,frame:pt}),cn=Object(v.a)({},V,{frame:pt,subject:yt});return cn};function he(fe){return Number.isInteger?Number.isInteger(fe):typeof fe=="number"&&isFinite(fe)&&Math.floor(fe)===fe}function Pt(fe){return Object.values?Object.values(fe):Object.keys(fe).map(function(V){return fe[V]})}function We(fe,V){if(fe.findIndex)return fe.findIndex(V);for(var ae=0;ae<fe.length;ae++)if(V(fe[ae]))return ae;return-1}function Je(fe,V){if(fe.find)return fe.find(V);var ae=We(fe,V);return ae!==-1?fe[ae]:void 0}function Ln(fe){return Array.prototype.slice.call(fe)}var jn=D(function(fe){return fe.reduce(function(V,ae){return V[ae.descriptor.id]=ae,V},{})}),Sn=D(function(fe){return fe.reduce(function(V,ae){return V[ae.descriptor.id]=ae,V},{})}),Xn=D(function(fe){return Pt(fe)}),rr=D(function(fe){return Pt(fe)}),hr=D(function(fe,V){var ae=rr(V).filter(function(Ie){return fe===Ie.descriptor.droppableId}).sort(function(Ie,Ke){return Ie.descriptor.index-Ke.descriptor.index});return ae});function gn(fe){return fe.at&&fe.at.type==="REORDER"?fe.at.destination:null}function vn(fe){return fe.at&&fe.at.type==="COMBINE"?fe.at.combine:null}var Ft=D(function(fe,V){return V.filter(function(ae){return ae.descriptor.id!==fe.descriptor.id})}),Ye=function(V){var ae=V.isMovingForward,Ie=V.draggable,Ke=V.destination,dt=V.insideDestination,pt=V.previousImpact;if(!Ke.isCombineEnabled)return null;var yt=gn(pt);if(!yt)return null;function cn(Vr){var Ei={type:"COMBINE",combine:{draggableId:Vr,droppableId:Ke.descriptor.id}};return Object(v.a)({},pt,{at:Ei})}var On=pt.displaced.all,ln=On.length?On[0]:null;if(ae)return ln?cn(ln):null;var en=Ft(Ie,dt);if(!ln){if(!en.length)return null;var wn=en[en.length-1];return cn(wn.descriptor.id)}var Bn=We(en,function(Vr){return Vr.descriptor.id===ln});Bn!==-1||ce(!1);var ir=Bn-1;if(ir<0)return null;var jr=en[ir];return cn(jr.descriptor.id)},Pe=function(V,ae){return V.descriptor.droppableId===ae.descriptor.id},Jt={point:ht,value:0},bn={invisible:{},visible:{},all:[]},An={displaced:bn,displacedBy:Jt,at:null},dn=function(V,ae){return function(Ie){return V<=Ie&&Ie<=ae}},vr=function(V){var ae=dn(V.top,V.bottom),Ie=dn(V.left,V.right);return function(Ke){var dt=ae(Ke.top)&&ae(Ke.bottom)&&Ie(Ke.left)&&Ie(Ke.right);if(dt)return!0;var pt=ae(Ke.top)||ae(Ke.bottom),yt=Ie(Ke.left)||Ie(Ke.right),cn=pt&&yt;if(cn)return!0;var On=Ke.top<V.top&&Ke.bottom>V.bottom,ln=Ke.left<V.left&&Ke.right>V.right,en=On&&ln;if(en)return!0;var wn=On&&yt||ln&&pt;return wn}},qn=function(V){var ae=dn(V.top,V.bottom),Ie=dn(V.left,V.right);return function(Ke){var dt=ae(Ke.top)&&ae(Ke.bottom)&&Ie(Ke.left)&&Ie(Ke.right);return dt}},Ur={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},Ue={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},He=function(V){return function(ae){var Ie=dn(ae.top,ae.bottom),Ke=dn(ae.left,ae.right);return function(dt){return V===Ur?Ie(dt.top)&&Ie(dt.bottom):Ke(dt.left)&&Ke(dt.right)}}},se=function(V,ae){var Ie=ae.frame?ae.frame.scroll.diff.displacement:ht;return tn(V,Ie)},Ae=function(V,ae,Ie){return ae.subject.active?Ie(ae.subject.active)(V):!1},Oe=function(V,ae,Ie){return Ie(ae)(V)},ze=function(V){var ae=V.target,Ie=V.destination,Ke=V.viewport,dt=V.withDroppableDisplacement,pt=V.isVisibleThroughFrameFn,yt=dt?se(ae,Ie):ae;return Ae(yt,Ie,pt)&&Oe(yt,Ke,pt)},Rt=function(V){return ze(Object(v.a)({},V,{isVisibleThroughFrameFn:vr}))},Et=function(V){return ze(Object(v.a)({},V,{isVisibleThroughFrameFn:qn}))},_t=function(V){return ze(Object(v.a)({},V,{isVisibleThroughFrameFn:He(V.destination.axis)}))},Nn=function(V,ae,Ie){if(typeof Ie=="boolean")return Ie;if(!ae)return!0;var Ke=ae.invisible,dt=ae.visible;if(Ke[V])return!1;var pt=dt[V];return pt?pt.shouldAnimate:!0};function Mn(fe,V){var ae=fe.page.marginBox,Ie={top:V.point.y,right:0,bottom:0,left:V.point.x};return n(l(ae,Ie))}function lr(fe){var V=fe.afterDragging,ae=fe.destination,Ie=fe.displacedBy,Ke=fe.viewport,dt=fe.forceShouldAnimate,pt=fe.last;return V.reduce(function(cn,On){var ln=Mn(On,Ie),en=On.descriptor.id;cn.all.push(en);var wn=Rt({target:ln,destination:ae,viewport:Ke,withDroppableDisplacement:!0});if(!wn)return cn.invisible[On.descriptor.id]=!0,cn;var Bn=Nn(en,pt,dt),ir={draggableId:en,shouldAnimate:Bn};return cn.visible[en]=ir,cn},{all:[],visible:{},invisible:{}})}function Lt(fe,V){if(!fe.length)return 0;var ae=fe[fe.length-1].descriptor.index;return V.inHomeList?ae:ae+1}function $e(fe){var V=fe.insideDestination,ae=fe.inHomeList,Ie=fe.displacedBy,Ke=fe.destination,dt=Lt(V,{inHomeList:ae});return{displaced:bn,displacedBy:Ie,at:{type:"REORDER",destination:{droppableId:Ke.descriptor.id,index:dt}}}}function Qe(fe){var V=fe.draggable,ae=fe.insideDestination,Ie=fe.destination,Ke=fe.viewport,dt=fe.displacedBy,pt=fe.last,yt=fe.index,cn=fe.forceShouldAnimate,On=Pe(V,Ie);if(yt==null)return $e({insideDestination:ae,inHomeList:On,displacedBy:dt,destination:Ie});var ln=Je(ae,function(jr){return jr.descriptor.index===yt});if(!ln)return $e({insideDestination:ae,inHomeList:On,displacedBy:dt,destination:Ie});var en=Ft(V,ae),wn=ae.indexOf(ln),Bn=en.slice(wn),ir=lr({afterDragging:Bn,destination:Ie,displacedBy:dt,last:pt,viewport:Ke.frame,forceShouldAnimate:cn});return{displaced:ir,displacedBy:dt,at:{type:"REORDER",destination:{droppableId:Ie.descriptor.id,index:yt}}}}function kt(fe,V){return Boolean(V.effected[fe])}var Ht=function(V){var ae=V.isMovingForward,Ie=V.destination,Ke=V.draggables,dt=V.combine,pt=V.afterCritical;if(!Ie.isCombineEnabled)return null;var yt=dt.draggableId,cn=Ke[yt],On=cn.descriptor.index,ln=kt(yt,pt);return ln?ae?On:On-1:ae?On+1:On},ot=function(V){var ae=V.isMovingForward,Ie=V.isInHomeList,Ke=V.insideDestination,dt=V.location;if(!Ke.length)return null;var pt=dt.index,yt=ae?pt+1:pt-1,cn=Ke[0].descriptor.index,On=Ke[Ke.length-1].descriptor.index,ln=Ie?On:On+1;return yt<cn||yt>ln?null:yt},Ct=function(V){var ae=V.isMovingForward,Ie=V.isInHomeList,Ke=V.draggable,dt=V.draggables,pt=V.destination,yt=V.insideDestination,cn=V.previousImpact,On=V.viewport,ln=V.afterCritical,en=cn.at;if(en||ce(!1),en.type==="REORDER"){var wn=ot({isMovingForward:ae,isInHomeList:Ie,location:en.destination,insideDestination:yt});return wn==null?null:Qe({draggable:Ke,insideDestination:yt,destination:pt,viewport:On,last:cn.displaced,displacedBy:cn.displacedBy,index:wn})}var Bn=Ht({isMovingForward:ae,destination:pt,displaced:cn.displaced,draggables:dt,combine:en.combine,afterCritical:ln});return Bn==null?null:Qe({draggable:Ke,insideDestination:yt,destination:pt,viewport:On,last:cn.displaced,displacedBy:cn.displacedBy,index:Bn})},nt=function(V){var ae=V.displaced,Ie=V.afterCritical,Ke=V.combineWith,dt=V.displacedBy,pt=Boolean(ae.visible[Ke]||ae.invisible[Ke]);return kt(Ke,Ie)?pt?ht:it(dt.point):pt?dt.point:ht},Ot=function(V){var ae=V.afterCritical,Ie=V.impact,Ke=V.draggables,dt=vn(Ie);dt||ce(!1);var pt=dt.draggableId,yt=Ke[pt].page.borderBox.center,cn=nt({displaced:Ie.displaced,afterCritical:ae,combineWith:pt,displacedBy:Ie.displacedBy});return je(yt,cn)},sn=function(V,ae){return ae.margin[V.start]+ae.borderBox[V.size]/2},Zt=function(V,ae){return ae.margin[V.end]+ae.borderBox[V.size]/2},Gt=function(V,ae,Ie){return ae[V.crossAxisStart]+Ie.margin[V.crossAxisStart]+Ie.borderBox[V.crossAxisSize]/2},Qn=function(V){var ae=V.axis,Ie=V.moveRelativeTo,Ke=V.isMoving;return wt(ae.line,Ie.marginBox[ae.end]+sn(ae,Ke),Gt(ae,Ie.marginBox,Ke))},Gn=function(V){var ae=V.axis,Ie=V.moveRelativeTo,Ke=V.isMoving;return wt(ae.line,Ie.marginBox[ae.start]-Zt(ae,Ke),Gt(ae,Ie.marginBox,Ke))},Or=function(V){var ae=V.axis,Ie=V.moveInto,Ke=V.isMoving;return wt(ae.line,Ie.contentBox[ae.start]+sn(ae,Ke),Gt(ae,Ie.contentBox,Ke))},Nr=function(V){var ae=V.impact,Ie=V.draggable,Ke=V.draggables,dt=V.droppable,pt=V.afterCritical,yt=hr(dt.descriptor.id,Ke),cn=Ie.page,On=dt.axis;if(!yt.length)return Or({axis:On,moveInto:dt.page,isMoving:cn});var ln=ae.displaced,en=ae.displacedBy,wn=ln.all[0];if(wn){var Bn=Ke[wn];if(kt(wn,pt))return Gn({axis:On,moveRelativeTo:Bn.page,isMoving:cn});var ir=w(Bn.page,en.point);return Gn({axis:On,moveRelativeTo:ir,isMoving:cn})}var jr=yt[yt.length-1];if(jr.descriptor.id===Ie.descriptor.id)return cn.borderBox.center;if(kt(jr.descriptor.id,pt)){var Vr=w(jr.page,it(pt.displacedBy.point));return Qn({axis:On,moveRelativeTo:Vr,isMoving:cn})}return Qn({axis:On,moveRelativeTo:jr.page,isMoving:cn})},Kr=function(V,ae){var Ie=V.frame;return Ie?je(ae,Ie.scroll.diff.displacement):ae},ei=function(V){var ae=V.impact,Ie=V.draggable,Ke=V.droppable,dt=V.draggables,pt=V.afterCritical,yt=Ie.page.borderBox.center,cn=ae.at;return Ke&&cn?cn.type==="REORDER"?Nr({impact:ae,draggable:Ie,draggables:dt,droppable:Ke,afterCritical:pt}):Ot({impact:ae,draggables:dt,afterCritical:pt}):yt},vi=function(V){var ae=ei(V),Ie=V.droppable,Ke=Ie?Kr(Ie,ae):ae;return Ke},Pi=function(V,ae){var Ie=Me(ae,V.scroll.initial),Ke=it(Ie),dt=n({top:ae.y,bottom:ae.y+V.frame.height,left:ae.x,right:ae.x+V.frame.width}),pt={frame:dt,scroll:{initial:V.scroll.initial,max:V.scroll.max,current:ae,diff:{value:Ie,displacement:Ke}}};return pt};function Be(fe,V){return fe.map(function(ae){return V[ae]})}function le(fe,V){for(var ae=0;ae<V.length;ae++){var Ie=V[ae].visible[fe];if(Ie)return Ie}return null}var ye=function(V){var ae=V.impact,Ie=V.viewport,Ke=V.destination,dt=V.draggables,pt=V.maxScrollChange,yt=Pi(Ie,je(Ie.scroll.current,pt)),cn=Ke.frame?de(Ke,je(Ke.frame.scroll.current,pt)):Ke,On=ae.displaced,ln=lr({afterDragging:Be(On.all,dt),destination:Ke,displacedBy:ae.displacedBy,viewport:yt.frame,last:On,forceShouldAnimate:!1}),en=lr({afterDragging:Be(On.all,dt),destination:cn,displacedBy:ae.displacedBy,viewport:Ie.frame,last:On,forceShouldAnimate:!1}),wn={},Bn={},ir=[On,ln,en];On.all.forEach(function(Vr){var Ei=le(Vr,ir);if(Ei){Bn[Vr]=Ei;return}wn[Vr]=!0});var jr=Object(v.a)({},ae,{displaced:{all:On.all,invisible:wn,visible:Bn}});return jr},xe=function(V,ae){return je(V.scroll.diff.displacement,ae)},De=function(V){var ae=V.pageBorderBoxCenter,Ie=V.draggable,Ke=V.viewport,dt=xe(Ke,ae),pt=Me(dt,Ie.page.borderBox.center);return je(Ie.client.borderBox.center,pt)},Le=function(V){var ae=V.draggable,Ie=V.destination,Ke=V.newPageBorderBoxCenter,dt=V.viewport,pt=V.withDroppableDisplacement,yt=V.onlyOnMainAxis,cn=yt===void 0?!1:yt,On=Me(Ke,ae.page.borderBox.center),ln=tn(ae.page.borderBox,On),en={target:ln,destination:Ie,withDroppableDisplacement:pt,viewport:dt};return cn?_t(en):Et(en)},Fe=function(V){var ae=V.isMovingForward,Ie=V.draggable,Ke=V.destination,dt=V.draggables,pt=V.previousImpact,yt=V.viewport,cn=V.previousPageBorderBoxCenter,On=V.previousClientSelection,ln=V.afterCritical;if(!Ke.isEnabled)return null;var en=hr(Ke.descriptor.id,dt),wn=Pe(Ie,Ke),Bn=Ye({isMovingForward:ae,draggable:Ie,destination:Ke,insideDestination:en,previousImpact:pt})||Ct({isMovingForward:ae,isInHomeList:wn,draggable:Ie,draggables:dt,destination:Ke,insideDestination:en,previousImpact:pt,viewport:yt,afterCritical:ln});if(!Bn)return null;var ir=vi({impact:Bn,draggable:Ie,droppable:Ke,draggables:dt,afterCritical:ln}),jr=Le({draggable:Ie,destination:Ke,newPageBorderBoxCenter:ir,viewport:yt.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(jr){var Vr=De({pageBorderBoxCenter:ir,draggable:Ie,viewport:yt});return{clientSelection:Vr,impact:Bn,scrollJumpRequest:null}}var Ei=Me(ir,cn),di=ye({impact:Bn,viewport:yt,destination:Ke,draggables:dt,maxScrollChange:Ei});return{clientSelection:On,impact:di,scrollJumpRequest:Ei}},at=function(V){var ae=V.subject.active;return ae||ce(!1),ae},Ve=function(V){var ae=V.isMovingForward,Ie=V.pageBorderBoxCenter,Ke=V.source,dt=V.droppables,pt=V.viewport,yt=Ke.subject.active;if(!yt)return null;var cn=Ke.axis,On=dn(yt[cn.start],yt[cn.end]),ln=Xn(dt).filter(function(wn){return wn!==Ke}).filter(function(wn){return wn.isEnabled}).filter(function(wn){return Boolean(wn.subject.active)}).filter(function(wn){return vr(pt.frame)(at(wn))}).filter(function(wn){var Bn=at(wn);return ae?yt[cn.crossAxisEnd]<Bn[cn.crossAxisEnd]:Bn[cn.crossAxisStart]<yt[cn.crossAxisStart]}).filter(function(wn){var Bn=at(wn),ir=dn(Bn[cn.start],Bn[cn.end]);return On(Bn[cn.start])||On(Bn[cn.end])||ir(yt[cn.start])||ir(yt[cn.end])}).sort(function(wn,Bn){var ir=at(wn)[cn.crossAxisStart],jr=at(Bn)[cn.crossAxisStart];return ae?ir-jr:jr-ir}).filter(function(wn,Bn,ir){return at(wn)[cn.crossAxisStart]===at(ir[0])[cn.crossAxisStart]});if(!ln.length)return null;if(ln.length===1)return ln[0];var en=ln.filter(function(wn){var Bn=dn(at(wn)[cn.start],at(wn)[cn.end]);return Bn(Ie[cn.line])});return en.length===1?en[0]:en.length>1?en.sort(function(wn,Bn){return at(wn)[cn.start]-at(Bn)[cn.start]})[0]:ln.sort(function(wn,Bn){var ir=lt(Ie,Vt(at(wn))),jr=lt(Ie,Vt(at(Bn)));return ir!==jr?ir-jr:at(wn)[cn.start]-at(Bn)[cn.start]})[0]},It=function(V,ae){var Ie=V.page.borderBox.center;return kt(V.descriptor.id,ae)?Me(Ie,ae.displacedBy.point):Ie},pn=function(V,ae){var Ie=V.page.borderBox;return kt(V.descriptor.id,ae)?tn(Ie,it(ae.displacedBy.point)):Ie},rn=function(V){var ae=V.pageBorderBoxCenter,Ie=V.viewport,Ke=V.destination,dt=V.insideDestination,pt=V.afterCritical,yt=dt.filter(function(cn){return Et({target:pn(cn,pt),destination:Ke,viewport:Ie.frame,withDroppableDisplacement:!0})}).sort(function(cn,On){var ln=jt(ae,Kr(Ke,It(cn,pt))),en=jt(ae,Kr(Ke,It(On,pt)));return ln<en?-1:en<ln?1:cn.descriptor.index-On.descriptor.index});return yt[0]||null},Tn=D(function(V,ae){var Ie=ae[V.line];return{value:Ie,point:wt(V.line,Ie)}}),Nt=function(V,ae,Ie){var Ke=V.axis;if(V.descriptor.mode==="virtual")return wt(Ke.line,ae[Ke.line]);var dt=V.subject.page.contentBox[Ke.size],pt=hr(V.descriptor.id,Ie),yt=pt.reduce(function(ln,en){return ln+en.client.marginBox[Ke.size]},0),cn=yt+ae[Ke.line],On=cn-dt;return On<=0?null:wt(Ke.line,On)},ur=function(V,ae){return Object(v.a)({},V,{scroll:Object(v.a)({},V.scroll,{max:ae})})},Xt=function(V,ae,Ie){var Ke=V.frame;Pe(ae,V)&&ce(!1),V.subject.withPlaceholder&&ce(!1);var dt=Tn(V.axis,ae.displaceBy).point,pt=Nt(V,dt,Ie),yt={placeholderSize:dt,increasedBy:pt,oldFrameMaxScroll:V.frame?V.frame.scroll.max:null};if(!Ke){var cn=vt({page:V.subject.page,withPlaceholder:yt,axis:V.axis,frame:V.frame});return Object(v.a)({},V,{subject:cn})}var On=pt?je(Ke.scroll.max,pt):Ke.scroll.max,ln=ur(Ke,On),en=vt({page:V.subject.page,withPlaceholder:yt,axis:V.axis,frame:ln});return Object(v.a)({},V,{subject:en,frame:ln})},Kn=function(V){var ae=V.subject.withPlaceholder;ae||ce(!1);var Ie=V.frame;if(!Ie){var Ke=vt({page:V.subject.page,axis:V.axis,frame:null,withPlaceholder:null});return Object(v.a)({},V,{subject:Ke})}var dt=ae.oldFrameMaxScroll;dt||ce(!1);var pt=ur(Ie,dt),yt=vt({page:V.subject.page,axis:V.axis,frame:pt,withPlaceholder:null});return Object(v.a)({},V,{subject:yt,frame:pt})},Fn=function(V){var ae=V.previousPageBorderBoxCenter,Ie=V.moveRelativeTo,Ke=V.insideDestination,dt=V.draggable,pt=V.draggables,yt=V.destination,cn=V.viewport,On=V.afterCritical;if(!Ie){if(Ke.length)return null;var ln={displaced:bn,displacedBy:Jt,at:{type:"REORDER",destination:{droppableId:yt.descriptor.id,index:0}}},en=vi({impact:ln,draggable:dt,droppable:yt,draggables:pt,afterCritical:On}),wn=Pe(dt,yt)?yt:Xt(yt,dt,pt),Bn=Le({draggable:dt,destination:wn,newPageBorderBoxCenter:en,viewport:cn.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return Bn?ln:null}var ir=Boolean(ae[yt.axis.line]<=Ie.page.borderBox.center[yt.axis.line]),jr=function(){var Ei=Ie.descriptor.index;return Ie.descriptor.id===dt.descriptor.id||ir?Ei:Ei+1}(),Vr=Tn(yt.axis,dt.displaceBy);return Qe({draggable:dt,insideDestination:Ke,destination:yt,viewport:cn,displacedBy:Vr,last:bn,index:jr})},un=function(V){var ae=V.isMovingForward,Ie=V.previousPageBorderBoxCenter,Ke=V.draggable,dt=V.isOver,pt=V.draggables,yt=V.droppables,cn=V.viewport,On=V.afterCritical,ln=Ve({isMovingForward:ae,pageBorderBoxCenter:Ie,source:dt,droppables:yt,viewport:cn});if(!ln)return null;var en=hr(ln.descriptor.id,pt),wn=rn({pageBorderBoxCenter:Ie,viewport:cn,destination:ln,insideDestination:en,afterCritical:On}),Bn=Fn({previousPageBorderBoxCenter:Ie,destination:ln,draggable:Ke,draggables:pt,moveRelativeTo:wn,insideDestination:en,viewport:cn,afterCritical:On});if(!Bn)return null;var ir=vi({impact:Bn,draggable:Ke,droppable:ln,draggables:pt,afterCritical:On}),jr=De({pageBorderBoxCenter:ir,draggable:Ke,viewport:cn});return{clientSelection:jr,impact:Bn,scrollJumpRequest:null}},Sr=function(V){var ae=V.at;return ae?ae.type==="REORDER"?ae.destination.droppableId:ae.combine.droppableId:null},Fr=function(V,ae){var Ie=Sr(V);return Ie?ae[Ie]:null},ii=function(V){var ae=V.state,Ie=V.type,Ke=Fr(ae.impact,ae.dimensions.droppables),dt=Boolean(Ke),pt=ae.dimensions.droppables[ae.critical.droppable.id],yt=Ke||pt,cn=yt.axis.direction,On=cn==="vertical"&&(Ie==="MOVE_UP"||Ie==="MOVE_DOWN")||cn==="horizontal"&&(Ie==="MOVE_LEFT"||Ie==="MOVE_RIGHT");if(On&&!dt)return null;var ln=Ie==="MOVE_DOWN"||Ie==="MOVE_RIGHT",en=ae.dimensions.draggables[ae.critical.draggable.id],wn=ae.current.page.borderBoxCenter,Bn=ae.dimensions,ir=Bn.draggables,jr=Bn.droppables;return On?Fe({isMovingForward:ln,previousPageBorderBoxCenter:wn,draggable:en,destination:yt,draggables:ir,viewport:ae.viewport,previousClientSelection:ae.current.client.selection,previousImpact:ae.impact,afterCritical:ae.afterCritical}):un({isMovingForward:ln,previousPageBorderBoxCenter:wn,draggable:en,isOver:yt,draggables:ir,droppables:jr,viewport:ae.viewport,afterCritical:ae.afterCritical})};function oi(fe){return fe.phase==="DRAGGING"||fe.phase==="COLLECTING"}function ti(fe){var V=dn(fe.top,fe.bottom),ae=dn(fe.left,fe.right);return function(Ke){return V(Ke.y)&&ae(Ke.x)}}function bi(fe,V){return fe.left<V.right&&fe.right>V.left&&fe.top<V.bottom&&fe.bottom>V.top}function Mr(fe){var V=fe.pageBorderBox,ae=fe.draggable,Ie=fe.candidates,Ke=ae.page.borderBox.center,dt=Ie.map(function(pt){var yt=pt.axis,cn=wt(pt.axis.line,V.center[yt.line],pt.page.borderBox.center[yt.crossAxisLine]);return{id:pt.descriptor.id,distance:jt(Ke,cn)}}).sort(function(pt,yt){return yt.distance-pt.distance});return dt[0]?dt[0].id:null}function Oi(fe){var V=fe.pageBorderBox,ae=fe.draggable,Ie=fe.droppables,Ke=Xn(Ie).filter(function(dt){if(!dt.isEnabled)return!1;var pt=dt.subject.active;if(!pt)return!1;if(!bi(V,pt))return!1;if(ti(pt)(V.center))return!0;var yt=dt.axis,cn=pt.center[yt.crossAxisLine],On=V[yt.crossAxisStart],ln=V[yt.crossAxisEnd],en=dn(pt[yt.crossAxisStart],pt[yt.crossAxisEnd]),wn=en(On),Bn=en(ln);return!wn&&!Bn?!0:wn?On<cn:ln>cn});return Ke.length?Ke.length===1?Ke[0].descriptor.id:Mr({pageBorderBox:V,draggable:ae,candidates:Ke}):null}var Ar=function(V,ae){return n(tn(V,ae))},Wn=function(V,ae){var Ie=V.frame;return Ie?Ar(ae,Ie.scroll.diff.value):ae};function xr(fe){var V=fe.displaced,ae=fe.id;return Boolean(V.visible[ae]||V.invisible[ae])}function er(fe){var V=fe.draggable,ae=fe.closest,Ie=fe.inHomeList;return ae?Ie&&ae.descriptor.index>V.descriptor.index?ae.descriptor.index-1:ae.descriptor.index:null}var ci=function(V){var ae=V.pageBorderBoxWithDroppableScroll,Ie=V.draggable,Ke=V.destination,dt=V.insideDestination,pt=V.last,yt=V.viewport,cn=V.afterCritical,On=Ke.axis,ln=Tn(Ke.axis,Ie.displaceBy),en=ln.value,wn=ae[On.start],Bn=ae[On.end],ir=Ft(Ie,dt),jr=Je(ir,function(Ei){var di=Ei.descriptor.id,ca=Ei.page.borderBox.center[On.line],ji=kt(di,cn),Ia=xr({displaced:pt,id:di});return ji?Ia?Bn<=ca:wn<ca-en:Ia?Bn<=ca+en:wn<ca}),Vr=er({draggable:Ie,closest:jr,inHomeList:Pe(Ie,Ke)});return Qe({draggable:Ie,insideDestination:dt,destination:Ke,viewport:yt,last:pt,displacedBy:ln,index:Vr})},qr=4,wi=function(V){var ae=V.draggable,Ie=V.pageBorderBoxWithDroppableScroll,Ke=V.previousImpact,dt=V.destination,pt=V.insideDestination,yt=V.afterCritical;if(!dt.isCombineEnabled)return null;var cn=dt.axis,On=Tn(dt.axis,ae.displaceBy),ln=On.value,en=Ie[cn.start],wn=Ie[cn.end],Bn=Ft(ae,pt),ir=Je(Bn,function(Vr){var Ei=Vr.descriptor.id,di=Vr.page.borderBox,ca=di[cn.size],ji=ca/qr,Ia=kt(Ei,yt),ha=xr({displaced:Ke.displaced,id:Ei});return Ia?ha?wn>di[cn.start]+ji&&wn<di[cn.end]-ji:en>di[cn.start]-ln+ji&&en<di[cn.end]-ln-ji:ha?wn>di[cn.start]+ln+ji&&wn<di[cn.end]+ln-ji:en>di[cn.start]+ji&&en<di[cn.end]-ji});if(!ir)return null;var jr={displacedBy:On,displaced:Ke.displaced,at:{type:"COMBINE",combine:{draggableId:ir.descriptor.id,droppableId:dt.descriptor.id}}};return jr},Xr=function(V){var ae=V.pageOffset,Ie=V.draggable,Ke=V.draggables,dt=V.droppables,pt=V.previousImpact,yt=V.viewport,cn=V.afterCritical,On=Ar(Ie.page.borderBox,ae),ln=Oi({pageBorderBox:On,draggable:Ie,droppables:dt});if(!ln)return An;var en=dt[ln],wn=hr(en.descriptor.id,Ke),Bn=Wn(en,On);return wi({pageBorderBoxWithDroppableScroll:Bn,draggable:Ie,previousImpact:pt,destination:en,insideDestination:wn,afterCritical:cn})||ci({pageBorderBoxWithDroppableScroll:Bn,draggable:Ie,destination:en,insideDestination:wn,last:pt.displaced,viewport:yt,afterCritical:cn})},Hi=function(V,ae){var Ie;return Object(v.a)({},V,(Ie={},Ie[ae.descriptor.id]=ae,Ie))},ni=function(V){var ae=V.previousImpact,Ie=V.impact,Ke=V.droppables,dt=Sr(ae),pt=Sr(Ie);if(!dt)return Ke;if(dt===pt)return Ke;var yt=Ke[dt];if(!yt.subject.withPlaceholder)return Ke;var cn=Kn(yt);return Hi(Ke,cn)},Mi=function(V){var ae=V.draggable,Ie=V.draggables,Ke=V.droppables,dt=V.previousImpact,pt=V.impact,yt=ni({previousImpact:dt,impact:pt,droppables:Ke}),cn=Sr(pt);if(!cn)return yt;var On=Ke[cn];if(Pe(ae,On))return yt;if(On.subject.withPlaceholder)return yt;var ln=Xt(On,ae,Ie);return Hi(yt,ln)},cr=function(V){var ae=V.state,Ie=V.clientSelection,Ke=V.dimensions,dt=V.viewport,pt=V.impact,yt=V.scrollJumpRequest,cn=dt||ae.viewport,On=Ke||ae.dimensions,ln=Ie||ae.current.client.selection,en=Me(ln,ae.initial.client.selection),wn={offset:en,selection:ln,borderBoxCenter:je(ae.initial.client.borderBoxCenter,en)},Bn={selection:je(wn.selection,cn.scroll.current),borderBoxCenter:je(wn.borderBoxCenter,cn.scroll.current),offset:je(wn.offset,cn.scroll.diff.value)},ir={client:wn,page:Bn};if(ae.phase==="COLLECTING")return Object(v.a)({phase:"COLLECTING"},ae,{dimensions:On,viewport:cn,current:ir});var jr=On.draggables[ae.critical.draggable.id],Vr=pt||Xr({pageOffset:Bn.offset,draggable:jr,draggables:On.draggables,droppables:On.droppables,previousImpact:ae.impact,viewport:cn,afterCritical:ae.afterCritical}),Ei=Mi({draggable:jr,impact:Vr,previousImpact:ae.impact,draggables:On.draggables,droppables:On.droppables}),di=Object(v.a)({},ae,{current:ir,dimensions:{draggables:On.draggables,droppables:Ei},impact:Vr,viewport:cn,scrollJumpRequest:yt||null,forceShouldAnimate:yt?!1:null});return di};function Pn(fe,V){return fe.map(function(ae){return V[ae]})}var br=function(V){var ae=V.impact,Ie=V.viewport,Ke=V.draggables,dt=V.destination,pt=V.forceShouldAnimate,yt=ae.displaced,cn=Pn(yt.all,Ke),On=lr({afterDragging:cn,destination:dt,displacedBy:ae.displacedBy,viewport:Ie.frame,forceShouldAnimate:pt,last:yt});return Object(v.a)({},ae,{displaced:On})},Br=function(V){var ae=V.impact,Ie=V.draggable,Ke=V.droppable,dt=V.draggables,pt=V.viewport,yt=V.afterCritical,cn=vi({impact:ae,draggable:Ie,draggables:dt,droppable:Ke,afterCritical:yt});return De({pageBorderBoxCenter:cn,draggable:Ie,viewport:pt})},Qr=function(V){var ae=V.state,Ie=V.dimensions,Ke=V.viewport;ae.movementMode==="SNAP"||ce(!1);var dt=ae.impact,pt=Ke||ae.viewport,yt=Ie||ae.dimensions,cn=yt.draggables,On=yt.droppables,ln=cn[ae.critical.draggable.id],en=Sr(dt);en||ce(!1);var wn=On[en],Bn=br({impact:dt,viewport:pt,destination:wn,draggables:cn}),ir=Br({impact:Bn,draggable:ln,droppable:wn,draggables:cn,viewport:pt,afterCritical:ae.afterCritical});return cr({impact:Bn,clientSelection:ir,state:ae,dimensions:yt,viewport:pt})},$r=function(V){return{index:V.index,droppableId:V.droppableId}},hi=function(V){var ae=V.draggable,Ie=V.home,Ke=V.draggables,dt=V.viewport,pt=Tn(Ie.axis,ae.displaceBy),yt=hr(Ie.descriptor.id,Ke),cn=yt.indexOf(ae);cn!==-1||ce(!1);var On=yt.slice(cn+1),ln=On.reduce(function(ir,jr){return ir[jr.descriptor.id]=!0,ir},{}),en={inVirtualList:Ie.descriptor.mode==="virtual",displacedBy:pt,effected:ln},wn=lr({afterDragging:On,destination:Ie,displacedBy:pt,last:null,viewport:dt.frame,forceShouldAnimate:!1}),Bn={displaced:wn,displacedBy:pt,at:{type:"REORDER",destination:$r(ae.descriptor)}};return{impact:Bn,afterCritical:en}},fi=function(V,ae){return{draggables:V.draggables,droppables:Hi(V.droppables,ae)}},Ai=function(V){},Wi=function(V){},ra=function(V){var ae=V.draggable,Ie=V.offset,Ke=V.initialWindowScroll,dt=w(ae.client,Ie),pt=x(dt,Ke),yt=Object(v.a)({},ae,{placeholder:Object(v.a)({},ae.placeholder,{client:dt}),client:dt,page:pt});return yt},$i=function(V){var ae=V.frame;return ae||ce(!1),ae},Ha=function(V){var ae=V.additions,Ie=V.updatedDroppables,Ke=V.viewport,dt=Ke.scroll.diff.value;return ae.map(function(pt){var yt=pt.descriptor.droppableId,cn=Ie[yt],On=$i(cn),ln=On.scroll.diff.value,en=je(dt,ln),wn=ra({draggable:pt,offset:en,initialWindowScroll:Ke.scroll.initial});return wn})},pi=function(V){var ae=V.state,Ie=V.published;Ai();var Ke=Ie.modified.map(function(ji){var Ia=ae.dimensions.droppables[ji.droppableId],ha=de(Ia,ji.scroll);return ha}),dt=Object(v.a)({},ae.dimensions.droppables,{},jn(Ke)),pt=Sn(Ha({additions:Ie.additions,updatedDroppables:dt,viewport:ae.viewport})),yt=Object(v.a)({},ae.dimensions.draggables,{},pt);Ie.removals.forEach(function(ji){delete yt[ji]});var cn={droppables:dt,draggables:yt},On=Sr(ae.impact),ln=On?cn.droppables[On]:null,en=cn.draggables[ae.critical.draggable.id],wn=cn.droppables[ae.critical.droppable.id],Bn=hi({draggable:en,home:wn,draggables:yt,viewport:ae.viewport}),ir=Bn.impact,jr=Bn.afterCritical,Vr=ln&&ln.isCombineEnabled?ae.impact:ir,Ei=Xr({pageOffset:ae.current.page.offset,draggable:cn.draggables[ae.critical.draggable.id],draggables:cn.draggables,droppables:cn.droppables,previousImpact:Vr,viewport:ae.viewport,afterCritical:jr});Wi();var di=Object(v.a)({phase:"DRAGGING"},ae,{phase:"DRAGGING",impact:Ei,onLiftImpact:ir,dimensions:cn,afterCritical:jr,forceShouldAnimate:!1});if(ae.phase==="COLLECTING")return di;var ca=Object(v.a)({phase:"DROP_PENDING"},di,{phase:"DROP_PENDING",reason:ae.reason,isWaiting:!1});return ca},sr=function(V){return V.movementMode==="SNAP"},Li=function(V,ae,Ie){var Ke=fi(V.dimensions,ae);return!sr(V)||Ie?cr({state:V,dimensions:Ke}):Qr({state:V,dimensions:Ke})};function Ji(fe){return fe.isDragging&&fe.movementMode==="SNAP"?Object(v.a)({phase:"DRAGGING"},fe,{scrollJumpRequest:null}):fe}var Ui={phase:"IDLE",completed:null,shouldFlush:!1},ea=function(V,ae){if(V===void 0&&(V=Ui),ae.type==="FLUSH")return Object(v.a)({},Ui,{shouldFlush:!0});if(ae.type==="INITIAL_PUBLISH"){V.phase==="IDLE"||ce(!1);var Ie=ae.payload,Ke=Ie.critical,dt=Ie.clientSelection,pt=Ie.viewport,yt=Ie.dimensions,cn=Ie.movementMode,On=yt.draggables[Ke.draggable.id],ln=yt.droppables[Ke.droppable.id],en={selection:dt,borderBoxCenter:On.client.borderBox.center,offset:ht},wn={client:en,page:{selection:je(en.selection,pt.scroll.initial),borderBoxCenter:je(en.selection,pt.scroll.initial),offset:je(en.selection,pt.scroll.diff.value)}},Bn=Xn(yt.droppables).every(function(Eo){return!Eo.isFixedOnPage}),ir=hi({draggable:On,home:ln,draggables:yt.draggables,viewport:pt}),jr=ir.impact,Vr=ir.afterCritical,Ei={phase:"DRAGGING",isDragging:!0,critical:Ke,movementMode:cn,dimensions:yt,initial:wn,current:wn,isWindowScrollAllowed:Bn,impact:jr,afterCritical:Vr,onLiftImpact:jr,viewport:pt,scrollJumpRequest:null,forceShouldAnimate:null};return Ei}if(ae.type==="COLLECTION_STARTING"){if(V.phase==="COLLECTING"||V.phase==="DROP_PENDING")return V;V.phase==="DRAGGING"||ce(!1);var di=Object(v.a)({phase:"COLLECTING"},V,{phase:"COLLECTING"});return di}if(ae.type==="PUBLISH_WHILE_DRAGGING")return V.phase==="COLLECTING"||V.phase==="DROP_PENDING"||ce(!1),pi({state:V,published:ae.payload});if(ae.type==="MOVE"){if(V.phase==="DROP_PENDING")return V;oi(V)||ce(!1);var ca=ae.payload.client;return Ne(ca,V.current.client.selection)?V:cr({state:V,clientSelection:ca,impact:sr(V)?V.impact:null})}if(ae.type==="UPDATE_DROPPABLE_SCROLL"){if(V.phase==="DROP_PENDING")return Ji(V);if(V.phase==="COLLECTING")return Ji(V);oi(V)||ce(!1);var ji=ae.payload,Ia=ji.id,ha=ji.newScroll,Za=V.dimensions.droppables[Ia];if(!Za)return V;var po=de(Za,ha);return Li(V,po,!1)}if(ae.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(V.phase==="DROP_PENDING")return V;oi(V)||ce(!1);var p=ae.payload,O=p.id,W=p.isEnabled,Q=V.dimensions.droppables[O];Q||ce(!1),Q.isEnabled!==W||ce(!1);var Z=Object(v.a)({},Q,{isEnabled:W});return Li(V,Z,!0)}if(ae.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(V.phase==="DROP_PENDING")return V;oi(V)||ce(!1);var ve=ae.payload,Ze=ve.id,ft=ve.isCombineEnabled,Ut=V.dimensions.droppables[Ze];Ut||ce(!1),Ut.isCombineEnabled!==ft||ce(!1);var Kt=Object(v.a)({},Ut,{isCombineEnabled:ft});return Li(V,Kt,!0)}if(ae.type==="MOVE_BY_WINDOW_SCROLL"){if(V.phase==="DROP_PENDING"||V.phase==="DROP_ANIMATING")return V;oi(V)||ce(!1),V.isWindowScrollAllowed||ce(!1);var $n=ae.payload.newScroll;if(Ne(V.viewport.scroll.current,$n))return Ji(V);var dr=Pi(V.viewport,$n);return sr(V)?Qr({state:V,viewport:dr}):cr({state:V,viewport:dr})}if(ae.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!oi(V))return V;var Dr=ae.payload.maxScroll;if(Ne(Dr,V.viewport.scroll.max))return V;var Pr=Object(v.a)({},V.viewport,{scroll:Object(v.a)({},V.viewport.scroll,{max:Dr})});return Object(v.a)({phase:"DRAGGING"},V,{viewport:Pr})}if(ae.type==="MOVE_UP"||ae.type==="MOVE_DOWN"||ae.type==="MOVE_LEFT"||ae.type==="MOVE_RIGHT"){if(V.phase==="COLLECTING"||V.phase==="DROP_PENDING")return V;V.phase==="DRAGGING"||ce(!1);var gi=ii({state:V,type:ae.type});return gi?cr({state:V,impact:gi.impact,clientSelection:gi.clientSelection,scrollJumpRequest:gi.scrollJumpRequest}):V}if(ae.type==="DROP_PENDING"){var zi=ae.payload.reason;V.phase==="COLLECTING"||ce(!1);var Xi=Object(v.a)({phase:"DROP_PENDING"},V,{phase:"DROP_PENDING",isWaiting:!0,reason:zi});return Xi}if(ae.type==="DROP_ANIMATE"){var Yi=ae.payload,Vi=Yi.completed,fa=Yi.dropDuration,ba=Yi.newHomeClientOffset;V.phase==="DRAGGING"||V.phase==="DROP_PENDING"||ce(!1);var qa={phase:"DROP_ANIMATING",completed:Vi,dropDuration:fa,newHomeClientOffset:ba,dimensions:V.dimensions};return qa}if(ae.type==="DROP_COMPLETE"){var _a=ae.payload.completed;return{phase:"IDLE",completed:_a,shouldFlush:!1}}return V},Bt=function(V){return{type:"BEFORE_INITIAL_CAPTURE",payload:V}},Vn=function(V){return{type:"LIFT",payload:V}},nr=function(V){return{type:"INITIAL_PUBLISH",payload:V}},fr=function(V){return{type:"PUBLISH_WHILE_DRAGGING",payload:V}},Re=function(){return{type:"COLLECTION_STARTING",payload:null}},At=function(V){return{type:"UPDATE_DROPPABLE_SCROLL",payload:V}},qt=function(V){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:V}},$t=function(V){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:V}},Cn=function(V){return{type:"MOVE",payload:V}},Dn=function(V){return{type:"MOVE_BY_WINDOW_SCROLL",payload:V}},Hn=function(V){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:V}},ar=function(){return{type:"MOVE_UP",payload:null}},Er=function(){return{type:"MOVE_DOWN",payload:null}},gr=function(){return{type:"MOVE_RIGHT",payload:null}},Rr=function(){return{type:"MOVE_LEFT",payload:null}},kr=function(){return{type:"FLUSH",payload:null}},wr=function(V){return{type:"DROP_ANIMATE",payload:V}},Lr=function(V){return{type:"DROP_COMPLETE",payload:V}},Ir=function(V){return{type:"DROP",payload:V}},zr=function(V){return{type:"DROP_PENDING",payload:V}},Gr=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function ri(fe){if(fe.length<=1)return;for(var V=fe.map(function(yt){return yt.descriptor.index}),ae={},Ie=1;Ie<V.length;Ie++){var Ke=V[Ie],dt=V[Ie-1];Ke!==dt+1&&(ae[Ke]=!0)}if(!Object.keys(ae).length)return;var pt=V.map(function(yt){var cn=Boolean(ae[yt]);return cn?"[\u{1F525}"+yt+"]":""+yt}).join(", ")}function yi(fe,V){if(!1)var ae}var li=function(V){return function(ae){var Ie=ae.getState,Ke=ae.dispatch;return function(dt){return function(pt){if(pt.type!=="LIFT"){dt(pt);return}var yt=pt.payload,cn=yt.id,On=yt.clientSelection,ln=yt.movementMode,en=Ie();en.phase==="DROP_ANIMATING"&&Ke(Lr({completed:en.completed})),Ie().phase==="IDLE"||ce(!1),Ke(kr()),Ke(Bt({draggableId:cn,movementMode:ln}));var wn={shouldPublishImmediately:ln==="SNAP"},Bn={draggableId:cn,scrollOptions:wn},ir=V.startPublishing(Bn),jr=ir.critical,Vr=ir.dimensions,Ei=ir.viewport;yi(jr,Vr),Ke(nr({critical:jr,dimensions:Vr,clientSelection:On,movementMode:ln,viewport:Ei}))}}}},Ti=function(V){return function(){return function(ae){return function(Ie){Ie.type==="INITIAL_PUBLISH"&&V.dragging(),Ie.type==="DROP_ANIMATE"&&V.dropping(Ie.payload.completed.result.reason),(Ie.type==="FLUSH"||Ie.type==="DROP_COMPLETE")&&V.resting(),ae(Ie)}}}},Fi={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},Si={opacity:{drop:0,combining:.7},scale:{drop:.75}},mi={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},Ni=mi.outOfTheWay+"s "+Fi.outOfTheWay,Wr={fluid:"opacity "+Ni,snap:"transform "+Ni+", opacity "+Ni,drop:function(V){var ae=V+"s "+Fi.drop;return"transform "+ae+", opacity "+ae},outOfTheWay:"transform "+Ni,placeholder:"height "+Ni+", width "+Ni+", margin "+Ni},Ri=function(V){return Ne(V,ht)?null:"translate("+V.x+"px, "+V.y+"px)"},Ki={moveTo:Ri,drop:function(V,ae){var Ie=Ri(V);return Ie?ae?Ie+" scale("+Si.scale.drop+")":Ie:null}},hn=mi.minDropTime,Rn=mi.maxDropTime,Yn=Rn-hn,En=1500,Mt=.6,mn=function(V){var ae=V.current,Ie=V.destination,Ke=V.reason,dt=jt(ae,Ie);if(dt<=0)return hn;if(dt>=En)return Rn;var pt=dt/En,yt=hn+Yn*pt,cn=Ke==="CANCEL"?yt*Mt:yt;return Number(cn.toFixed(2))},zt=function(V){var ae=V.impact,Ie=V.draggable,Ke=V.dimensions,dt=V.viewport,pt=V.afterCritical,yt=Ke.draggables,cn=Ke.droppables,On=Sr(ae),ln=On?cn[On]:null,en=cn[Ie.descriptor.droppableId],wn=Br({impact:ae,draggable:Ie,draggables:yt,afterCritical:pt,droppable:ln||en,viewport:dt}),Bn=Me(wn,Ie.client.borderBox.center);return Bn},_n=function(V){var ae=V.draggables,Ie=V.reason,Ke=V.lastImpact,dt=V.home,pt=V.viewport,yt=V.onLiftImpact;if(!Ke.at||Ie!=="DROP"){var cn=br({draggables:ae,impact:yt,destination:dt,viewport:pt,forceShouldAnimate:!0});return{impact:cn,didDropInsideDroppable:!1}}if(Ke.at.type==="REORDER")return{impact:Ke,didDropInsideDroppable:!0};var On=Object(v.a)({},Ke,{displaced:bn});return{impact:On,didDropInsideDroppable:!0}},kn=function(V){var ae=V.getState,Ie=V.dispatch;return function(Ke){return function(dt){if(dt.type!=="DROP"){Ke(dt);return}var pt=ae(),yt=dt.payload.reason;if(pt.phase==="COLLECTING"){Ie(zr({reason:yt}));return}if(pt.phase==="IDLE")return;var cn=pt.phase==="DROP_PENDING"&&pt.isWaiting;cn&&ce(!1),pt.phase==="DRAGGING"||pt.phase==="DROP_PENDING"||ce(!1);var On=pt.critical,ln=pt.dimensions,en=ln.draggables[pt.critical.draggable.id],wn=_n({reason:yt,lastImpact:pt.impact,afterCritical:pt.afterCritical,onLiftImpact:pt.onLiftImpact,home:pt.dimensions.droppables[pt.critical.droppable.id],viewport:pt.viewport,draggables:pt.dimensions.draggables}),Bn=wn.impact,ir=wn.didDropInsideDroppable,jr=ir?gn(Bn):null,Vr=ir?vn(Bn):null,Ei={index:On.draggable.index,droppableId:On.droppable.id},di={draggableId:en.descriptor.id,type:en.descriptor.type,source:Ei,reason:yt,mode:pt.movementMode,destination:jr,combine:Vr},ca=zt({impact:Bn,draggable:en,dimensions:ln,viewport:pt.viewport,afterCritical:pt.afterCritical}),ji={critical:pt.critical,afterCritical:pt.afterCritical,result:di,impact:Bn},Ia=!Ne(pt.current.client.offset,ca)||Boolean(di.combine);if(!Ia){Ie(Lr({completed:ji}));return}var ha=mn({current:pt.current.client.offset,destination:ca,reason:yt}),Za={newHomeClientOffset:ca,dropDuration:ha,completed:ji};Ie(wr(Za))}}},pr=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function or(fe){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(ae){if(ae.target!==window&&ae.target!==window.document)return;fe()}}}function yr(fe){var V=fe.onWindowScroll;function ae(){V(pr())}var Ie=R(ae),Ke=or(Ie),dt=ue;function pt(){return dt!==ue}function yt(){pt()&&ce(!1),dt=re(window,[Ke])}function cn(){pt()||ce(!1),Ie.cancel(),dt(),dt=ue}return{start:yt,stop:cn,isActive:pt}}var _r=function(V){return V.type==="DROP_COMPLETE"||V.type==="DROP_ANIMATE"||V.type==="FLUSH"},Yr=function(V){var ae=yr({onWindowScroll:function(Ke){V.dispatch(Dn({newScroll:Ke}))}});return function(Ie){return function(Ke){!ae.isActive()&&Ke.type==="INITIAL_PUBLISH"&&ae.start(),ae.isActive()&&_r(Ke)&&ae.stop(),Ie(Ke)}}},Jr=function(V){var ae=!1,Ie=!1,Ke=setTimeout(function(){Ie=!0}),dt=function(yt){if(ae)return;if(Ie)return;ae=!0,V(yt),clearTimeout(Ke)};return dt.wasCalled=function(){return ae},dt},Ci=function(){var V=[],ae=function(pt){var yt=We(V,function(ln){return ln.timerId===pt});yt!==-1||ce(!1);var cn=V.splice(yt,1),On=cn[0];On.callback()},Ie=function(pt){var yt=setTimeout(function(){return ae(yt)}),cn={timerId:yt,callback:pt};V.push(cn)},Ke=function(){if(!V.length)return;var pt=[].concat(V);V.length=0,pt.forEach(function(yt){clearTimeout(yt.timerId),yt.callback()})};return{add:Ie,flush:Ke}},ta=function(V,ae){return V==null&&ae==null?!0:V==null||ae==null?!1:V.droppableId===ae.droppableId&&V.index===ae.index},oa=function(V,ae){return V==null&&ae==null?!0:V==null||ae==null?!1:V.draggableId===ae.draggableId&&V.droppableId===ae.droppableId},da=function(V,ae){if(V===ae)return!0;var Ie=V.draggable.id===ae.draggable.id&&V.draggable.droppableId===ae.draggable.droppableId&&V.draggable.type===ae.draggable.type&&V.draggable.index===ae.draggable.index,Ke=V.droppable.id===ae.droppable.id&&V.droppable.type===ae.droppable.type;return Ie&&Ke},ua=function(V,ae){Ai(),ae(),Wi()},ma=function(V,ae){return{draggableId:V.draggable.id,type:V.droppable.type,source:{droppableId:V.droppable.id,index:V.draggable.index},mode:ae}},ki=function(V,ae,Ie,Ke){if(!V){Ie(Ke(ae));return}var dt=Jr(Ie),pt={announce:dt};V(ae,pt),dt.wasCalled()||Ie(Ke(ae))},Di=function(V,ae){var Ie=Ci(),Ke=null,dt=function(Bn,ir){Ke&&ce(!1),ua("onBeforeCapture",function(){var jr=V().onBeforeCapture;if(jr){var Vr={draggableId:Bn,mode:ir};jr(Vr)}})},pt=function(Bn,ir){Ke&&ce(!1),ua("onBeforeDragStart",function(){var jr=V().onBeforeDragStart;jr&&jr(ma(Bn,ir))})},yt=function(Bn,ir){Ke&&ce(!1);var jr=ma(Bn,ir);Ke={mode:ir,lastCritical:Bn,lastLocation:jr.source,lastCombine:null},Ie.add(function(){ua("onDragStart",function(){return ki(V().onDragStart,jr,ae,rt.onDragStart)})})},cn=function(Bn,ir){var jr=gn(ir),Vr=vn(ir);Ke||ce(!1);var Ei=!da(Bn,Ke.lastCritical);Ei&&(Ke.lastCritical=Bn);var di=!ta(Ke.lastLocation,jr);di&&(Ke.lastLocation=jr);var ca=!oa(Ke.lastCombine,Vr);if(ca&&(Ke.lastCombine=Vr),!Ei&&!di&&!ca)return;var ji=Object(v.a)({},ma(Bn,Ke.mode),{combine:Vr,destination:jr});Ie.add(function(){ua("onDragUpdate",function(){return ki(V().onDragUpdate,ji,ae,rt.onDragUpdate)})})},On=function(){Ke||ce(!1),Ie.flush()},ln=function(Bn){Ke||ce(!1),Ke=null,ua("onDragEnd",function(){return ki(V().onDragEnd,Bn,ae,rt.onDragEnd)})},en=function(){if(!Ke)return;var Bn=Object(v.a)({},ma(Ke.lastCritical,Ke.mode),{combine:null,destination:null,reason:"CANCEL"});ln(Bn)};return{beforeCapture:dt,beforeStart:pt,start:yt,update:cn,flush:On,drop:ln,abort:en}},na=function(V,ae){var Ie=Di(V,ae);return function(Ke){return function(dt){return function(pt){if(pt.type==="BEFORE_INITIAL_CAPTURE"){Ie.beforeCapture(pt.payload.draggableId,pt.payload.movementMode);return}if(pt.type==="INITIAL_PUBLISH"){var yt=pt.payload.critical;Ie.beforeStart(yt,pt.payload.movementMode),dt(pt),Ie.start(yt,pt.payload.movementMode);return}if(pt.type==="DROP_COMPLETE"){var cn=pt.payload.completed.result;Ie.flush(),dt(pt),Ie.drop(cn);return}if(dt(pt),pt.type==="FLUSH"){Ie.abort();return}var On=Ke.getState();On.phase==="DRAGGING"&&Ie.update(On.critical,On.impact)}}}},qi=function(V){return function(ae){return function(Ie){if(Ie.type!=="DROP_ANIMATION_FINISHED"){ae(Ie);return}var Ke=V.getState();Ke.phase==="DROP_ANIMATING"||ce(!1),V.dispatch(Lr({completed:Ke.completed}))}}},va=function(V){var ae=null,Ie=null;function Ke(){Ie&&(cancelAnimationFrame(Ie),Ie=null),ae&&(ae(),ae=null)}return function(dt){return function(pt){if((pt.type==="FLUSH"||pt.type==="DROP_COMPLETE"||pt.type==="DROP_ANIMATION_FINISHED")&&Ke(),dt(pt),pt.type!=="DROP_ANIMATE")return;var yt={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var On=V.getState();On.phase==="DROP_ANIMATING"&&V.dispatch(Gr())}};Ie=requestAnimationFrame(function(){Ie=null,ae=re(window,[yt])})}}},Ta=function(V){return function(){return function(ae){return function(Ie){(Ie.type==="DROP_COMPLETE"||Ie.type==="FLUSH"||Ie.type==="DROP_ANIMATE")&&V.stopPublishing(),ae(Ie)}}}},Zi=function(V){var ae=!1;return function(){return function(Ie){return function(Ke){if(Ke.type==="INITIAL_PUBLISH"){ae=!0,V.tryRecordFocus(Ke.payload.critical.draggable.id),Ie(Ke),V.tryRestoreFocusRecorded();return}if(Ie(Ke),!ae)return;if(Ke.type==="FLUSH"){ae=!1,V.tryRestoreFocusRecorded();return}if(Ke.type==="DROP_COMPLETE"){ae=!1;var dt=Ke.payload.completed.result;dt.combine&&V.tryShiftRecord(dt.draggableId,dt.combine.draggableId),V.tryRestoreFocusRecorded()}}}}},Qi=function(V){return V.type==="DROP_COMPLETE"||V.type==="DROP_ANIMATE"||V.type==="FLUSH"},Na=function(V){return function(ae){return function(Ie){return function(Ke){if(Qi(Ke)){V.stop(),Ie(Ke);return}if(Ke.type==="INITIAL_PUBLISH"){Ie(Ke);var dt=ae.getState();dt.phase==="DRAGGING"||ce(!1),V.start(dt);return}Ie(Ke),V.scroll(ae.getState())}}}},ga=function(V){return function(ae){return function(Ie){if(ae(Ie),Ie.type!=="PUBLISH_WHILE_DRAGGING")return;var Ke=V.getState();if(Ke.phase!=="DROP_PENDING")return;if(Ke.isWaiting)return;V.dispatch(Ir({reason:Ke.reason}))}}},Ii=A.d,Sa=function(V){var ae=V.dimensionMarshal,Ie=V.focusMarshal,Ke=V.styleMarshal,dt=V.getResponders,pt=V.announce,yt=V.autoScroller;return Object(A.e)(ea,Ii(Object(A.a)(Ti(Ke),Ta(ae),li(ae),kn,qi,va,ga,Na(yt),Yr,Zi(Ie),na(dt,pt))))},Ra=function(){return{additions:{},removals:{},modified:{}}};function Da(fe){var V=fe.registry,ae=fe.callbacks,Ie=Ra(),Ke=null,dt=function(){if(Ke)return;ae.collectionStarting(),Ke=requestAnimationFrame(function(){Ke=null,Ai();var ln=Ie,en=ln.additions,wn=ln.removals,Bn=ln.modified,ir=Object.keys(en).map(function(Ei){return V.draggable.getById(Ei).getDimension(ht)}).sort(function(Ei,di){return Ei.descriptor.index-di.descriptor.index}),jr=Object.keys(Bn).map(function(Ei){var di=V.droppable.getById(Ei),ca=di.callbacks.getScrollWhileDragging();return{droppableId:Ei,scroll:ca}}),Vr={additions:ir,removals:Object.keys(wn),modified:jr};Ie=Ra(),Wi(),ae.publish(Vr)})},pt=function(ln){var en=ln.descriptor.id;Ie.additions[en]=ln,Ie.modified[ln.descriptor.droppableId]=!0,Ie.removals[en]&&delete Ie.removals[en],dt()},yt=function(ln){var en=ln.descriptor;Ie.removals[en.id]=!0,Ie.modified[en.droppableId]=!0,Ie.additions[en.id]&&delete Ie.additions[en.id],dt()},cn=function(){if(!Ke)return;cancelAnimationFrame(Ke),Ke=null,Ie=Ra()};return{add:pt,remove:yt,stop:cn}}var ka=function(V){var ae=V.scrollHeight,Ie=V.scrollWidth,Ke=V.height,dt=V.width,pt=Me({x:Ie,y:ae},{x:dt,y:Ke}),yt={x:Math.max(0,pt.x),y:Math.max(0,pt.y)};return yt},Pa=function(){var V=document.documentElement;return V||ce(!1),V},Ka=function(){var V=Pa(),ae=ka({scrollHeight:V.scrollHeight,scrollWidth:V.scrollWidth,width:V.clientWidth,height:V.clientHeight});return ae},xa=function(){var V=pr(),ae=Ka(),Ie=V.y,Ke=V.x,dt=Pa(),pt=dt.clientWidth,yt=dt.clientHeight,cn=Ke+pt,On=Ie+yt,ln=n({top:Ie,left:Ke,right:cn,bottom:On}),en={frame:ln,scroll:{initial:V,current:V,max:ae,diff:{value:ht,displacement:ht}}};return en},ja=function(V){var ae=V.critical,Ie=V.scrollOptions,Ke=V.registry;Ai();var dt=xa(),pt=dt.scroll.current,yt=ae.droppable,cn=Ke.droppable.getAllByType(yt.type).map(function(wn){return wn.callbacks.getDimensionAndWatchScroll(pt,Ie)}),On=Ke.draggable.getAllByType(ae.draggable.type).map(function(wn){return wn.getDimension(pt)}),ln={draggables:Sn(On),droppables:jn(cn)};Wi();var en={dimensions:ln,critical:ae,viewport:dt};return en};function io(fe,V,ae){if(ae.descriptor.id===V.id)return!1;if(ae.descriptor.type!==V.type)return!1;var Ie=fe.droppable.getById(ae.descriptor.droppableId);return!(Ie.descriptor.mode!=="virtual")}var ia=function(V,ae){var Ie=null,Ke=Da({callbacks:{publish:ae.publishWhileDragging,collectionStarting:ae.collectionStarting},registry:V}),dt=function(ir,jr){if(V.droppable.exists(ir)||ce(!1),!Ie)return;ae.updateDroppableIsEnabled({id:ir,isEnabled:jr})},pt=function(ir,jr){if(!Ie)return;V.droppable.exists(ir)||ce(!1),ae.updateDroppableIsCombineEnabled({id:ir,isCombineEnabled:jr})},yt=function(ir,jr){if(!Ie)return;V.droppable.exists(ir)||ce(!1),ae.updateDroppableScroll({id:ir,newScroll:jr})},cn=function(ir,jr){if(!Ie)return;V.droppable.getById(ir).callbacks.scroll(jr)},On=function(){if(!Ie)return;Ke.stop();var ir=Ie.critical.droppable;V.droppable.getAllByType(ir.type).forEach(function(jr){return jr.callbacks.dragStopped()}),Ie.unsubscribe(),Ie=null},ln=function(ir){Ie||ce(!1);var jr=Ie.critical.draggable;ir.type==="ADDITION"&&(io(V,jr,ir.value)&&Ke.add(ir.value)),ir.type==="REMOVAL"&&(io(V,jr,ir.value)&&Ke.remove(ir.value))},en=function(ir){Ie&&ce(!1);var jr=V.draggable.getById(ir.draggableId),Vr=V.droppable.getById(jr.descriptor.droppableId),Ei={draggable:jr.descriptor,droppable:Vr.descriptor},di=V.subscribe(ln);return Ie={critical:Ei,unsubscribe:di},ja({critical:Ei,registry:V,scrollOptions:ir.scrollOptions})},wn={updateDroppableIsEnabled:dt,updateDroppableIsCombineEnabled:pt,scrollDroppable:cn,updateDroppableScroll:yt,startPublishing:en,stopPublishing:On};return wn},lo=function(V,ae){return V.phase==="IDLE"?!0:V.phase!=="DROP_ANIMATING"||V.completed.result.draggableId===ae?!1:V.completed.result.reason==="DROP"},Ya=function(V){window.scrollBy(V.x,V.y)},Ca=D(function(fe){return Xn(fe).filter(function(V){return V.isEnabled?!!V.frame:!1})}),Xa=function(V,ae){var Ie=Je(Ca(ae),function(Ke){return Ke.frame||ce(!1),ti(Ke.frame.pageMarginBox)(V)});return Ie},Ba=function(V){var ae=V.center,Ie=V.destination,Ke=V.droppables;if(Ie){var dt=Ke[Ie];return dt.frame?dt:null}var pt=Xa(ae,Ke);return pt},La={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(V){return Math.pow(V,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},yo=function(V,ae){var Ie=V[ae.size]*La.startFromPercentage,Ke=V[ae.size]*La.maxScrollAtPercentage,dt={startScrollingFrom:Ie,maxScrollValueAt:Ke};return dt},ao=function(V){var ae=V.startOfRange,Ie=V.endOfRange,Ke=V.current,dt=Ie-ae;if(dt===0)return 0;var pt=Ke-ae,yt=pt/dt;return yt},bo=1,uo=function(V,ae){if(V>ae.startScrollingFrom)return 0;if(V<=ae.maxScrollValueAt)return La.maxPixelScroll;if(V===ae.startScrollingFrom)return bo;var Ie=ao({startOfRange:ae.maxScrollValueAt,endOfRange:ae.startScrollingFrom,current:V}),Ke=1-Ie,dt=La.maxPixelScroll*La.ease(Ke);return Math.ceil(dt)},co=La.durationDampening.accelerateAt,Ga=La.durationDampening.stopDampeningAt,eo=function(V,ae){var Ie=ae,Ke=Ga,dt=Date.now(),pt=dt-Ie;if(pt>=Ga)return V;if(pt<co)return bo;var yt=ao({startOfRange:co,endOfRange:Ke,current:pt}),cn=V*La.ease(yt);return Math.ceil(cn)},wa=function(V){var ae=V.distanceToEdge,Ie=V.thresholds,Ke=V.dragStartTime,dt=V.shouldUseTimeDampening,pt=uo(ae,Ie);return pt===0?0:dt?Math.max(eo(pt,Ke),bo):pt},no=function(V){var ae=V.container,Ie=V.distanceToEdges,Ke=V.dragStartTime,dt=V.axis,pt=V.shouldUseTimeDampening,yt=yo(ae,dt),cn=Ie[dt.end]<Ie[dt.start];return cn?wa({distanceToEdge:Ie[dt.end],thresholds:yt,dragStartTime:Ke,shouldUseTimeDampening:pt}):-1*wa({distanceToEdge:Ie[dt.start],thresholds:yt,dragStartTime:Ke,shouldUseTimeDampening:pt})},fo=function(V){var ae=V.container,Ie=V.subject,Ke=V.proposedScroll,dt=Ie.height>ae.height,pt=Ie.width>ae.width;return!pt&&!dt?Ke:pt&&dt?null:{x:pt?0:Ke.x,y:dt?0:Ke.y}},_i=Te(function(fe){return fe===0?0:fe}),Ma=function(V){var ae=V.dragStartTime,Ie=V.container,Ke=V.subject,dt=V.center,pt=V.shouldUseTimeDampening,yt={top:dt.y-Ie.top,right:Ie.right-dt.x,bottom:Ie.bottom-dt.y,left:dt.x-Ie.left},cn=no({container:Ie,distanceToEdges:yt,dragStartTime:ae,axis:Ur,shouldUseTimeDampening:pt}),On=no({container:Ie,distanceToEdges:yt,dragStartTime:ae,axis:Ue,shouldUseTimeDampening:pt}),ln=_i({x:On,y:cn});if(Ne(ln,ht))return null;var en=fo({container:Ie,subject:Ke,proposedScroll:ln});return en?Ne(en,ht)?null:en:null},Ro=Te(function(fe){return fe===0?0:fe>0?1:-1}),jo=function(){var fe=function(ae,Ie){return ae<0?ae:ae>Ie?ae-Ie:0};return function(V){var ae=V.current,Ie=V.max,Ke=V.change,dt=je(ae,Ke),pt={x:fe(dt.x,Ie.x),y:fe(dt.y,Ie.y)};return Ne(pt,ht)?null:pt}}(),Vo=function(V){var ae=V.max,Ie=V.current,Ke=V.change,dt={x:Math.max(Ie.x,ae.x),y:Math.max(Ie.y,ae.y)},pt=Ro(Ke),yt=jo({max:dt,current:Ie,change:pt});return yt?pt.x!==0&&yt.x===0?!0:pt.y!==0&&yt.y===0:!0},Qo=function(V,ae){return Vo({current:V.scroll.current,max:V.scroll.max,change:ae})},wo=function(V,ae){if(!Qo(V,ae))return null;var Ie=V.scroll.max,Ke=V.scroll.current;return jo({current:Ke,max:Ie,change:ae})},Oa=function(V,ae){var Ie=V.frame;return Ie?Vo({current:Ie.scroll.current,max:Ie.scroll.max,change:ae}):!1},Po=function(V,ae){var Ie=V.frame;return Ie&&Oa(V,ae)?jo({current:Ie.scroll.current,max:Ie.scroll.max,change:ae}):null},ds=function(V){var ae=V.viewport,Ie=V.subject,Ke=V.center,dt=V.dragStartTime,pt=V.shouldUseTimeDampening,yt=Ma({dragStartTime:dt,container:ae.frame,subject:Ie,center:Ke,shouldUseTimeDampening:pt});return yt&&Qo(ae,yt)?yt:null},ho=function(V){var ae=V.droppable,Ie=V.subject,Ke=V.center,dt=V.dragStartTime,pt=V.shouldUseTimeDampening,yt=ae.frame;if(!yt)return null;var cn=Ma({dragStartTime:dt,container:yt.pageMarginBox,subject:Ie,center:Ke,shouldUseTimeDampening:pt});return cn&&Oa(ae,cn)?cn:null},To=function(V){var ae=V.state,Ie=V.dragStartTime,Ke=V.shouldUseTimeDampening,dt=V.scrollWindow,pt=V.scrollDroppable,yt=ae.current.page.borderBoxCenter,cn=ae.dimensions.draggables[ae.critical.draggable.id],On=cn.page.marginBox;if(ae.isWindowScrollAllowed){var ln=ae.viewport,en=ds({dragStartTime:Ie,viewport:ln,subject:On,center:yt,shouldUseTimeDampening:Ke});if(en){dt(en);return}}var wn=Ba({center:yt,destination:Sr(ae.impact),droppables:ae.dimensions.droppables});if(!wn)return;var Bn=ho({dragStartTime:Ie,droppable:wn,subject:On,center:yt,shouldUseTimeDampening:Ke});Bn&&pt(wn.descriptor.id,Bn)},za=function(V){var ae=V.scrollWindow,Ie=V.scrollDroppable,Ke=R(ae),dt=R(Ie),pt=null,yt=function(en){pt||ce(!1);var wn=pt,Bn=wn.shouldUseTimeDampening,ir=wn.dragStartTime;To({state:en,scrollWindow:Ke,scrollDroppable:dt,dragStartTime:ir,shouldUseTimeDampening:Bn})},cn=function(en){Ai(),pt&&ce(!1);var wn=Date.now(),Bn=!1,ir=function(){Bn=!0};To({state:en,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:ir,scrollDroppable:ir}),pt={dragStartTime:wn,shouldUseTimeDampening:Bn},Wi(),Bn&&yt(en)},On=function(){if(!pt)return;Ke.cancel(),dt.cancel(),pt=null};return{start:cn,stop:On,scroll:yt}},Yo=function(V){var ae=V.move,Ie=V.scrollDroppable,Ke=V.scrollWindow,dt=function(ln,en){var wn=je(ln.current.client.selection,en);ae({client:wn})},pt=function(ln,en){if(!Oa(ln,en))return en;var wn=Po(ln,en);if(!wn)return Ie(ln.descriptor.id,en),null;var Bn=Me(en,wn);Ie(ln.descriptor.id,Bn);var ir=Me(en,Bn);return ir},yt=function(ln,en,wn){if(!ln)return wn;if(!Qo(en,wn))return wn;var Bn=wo(en,wn);if(!Bn)return Ke(wn),null;var ir=Me(wn,Bn);Ke(ir);var jr=Me(wn,ir);return jr},cn=function(ln){var en=ln.scrollJumpRequest;if(!en)return;var wn=Sr(ln.impact);wn||ce(!1);var Bn=pt(ln.dimensions.droppables[wn],en);if(!Bn)return;var ir=ln.viewport,jr=yt(ln.isWindowScrollAllowed,ir,Bn);if(!jr)return;dt(ln,jr)};return cn},nl=function(V){var ae=V.scrollDroppable,Ie=V.scrollWindow,Ke=V.move,dt=za({scrollWindow:Ie,scrollDroppable:ae}),pt=Yo({move:Ke,scrollWindow:Ie,scrollDroppable:ae}),yt=function(ln){if(ln.phase!=="DRAGGING")return;if(ln.movementMode==="FLUID"){dt.scroll(ln);return}if(!ln.scrollJumpRequest)return;pt(ln)},cn={scroll:yt,start:dt.start,stop:dt.stop};return cn},Is="data-rbd",Ls=function(){var fe=Is+"-drag-handle";return{base:fe,draggableId:fe+"-draggable-id",contextId:fe+"-context-id"}}(),xs=function(){var fe=Is+"-draggable";return{base:fe,contextId:fe+"-context-id",id:fe+"-id"}}(),ps=function(){var fe=Is+"-droppable";return{base:fe,contextId:fe+"-context-id",id:fe+"-id"}}(),Ts={contextId:Is+"-scroll-container-context-id"},Ho=function(V){return function(ae){return"["+ae+'="'+V+'"]'}},mo=function(V,ae){return V.map(function(Ie){var Ke=Ie.styles[ae];return Ke?Ie.selector+" { "+Ke+" }":""}).join(" ")},es="pointer-events: none;",zo=function(V){var ae=Ho(V),Ie=function(){var cn=`
|
|
|
cursor: -webkit-grab;
|
|
|
cursor: grab;
|
|
|
`;return{selector:ae(Ls.contextId),styles:{always:`
|
|
|
-webkit-touch-callout: none;
|
|
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
|
touch-action: manipulation;
|
|
|
`,resting:cn,dragging:es,dropAnimating:cn}}}(),Ke=function(){var cn=`
|
|
|
transition: `+Wr.outOfTheWay+`;
|
|
|
`;return{selector:ae(xs.contextId),styles:{dragging:cn,dropAnimating:cn,userCancel:cn}}}(),dt={selector:ae(ps.contextId),styles:{always:"overflow-anchor: none;"}},pt={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;
|
|
|
`}},yt=[Ke,Ie,dt,pt];return{always:mo(yt,"always"),resting:mo(yt,"resting"),dragging:mo(yt,"dragging"),dropAnimating:mo(yt,"dropAnimating"),userCancel:mo(yt,"userCancel")}},_o=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?y.useLayoutEffect:y.useEffect,zn=function(){var V=document.querySelector("head");return V||ce(!1),V},Go=function(V){var ae=document.createElement("style");return V&&ae.setAttribute("nonce",V),ae.type="text/css",ae};function rl(fe,V){var ae=a(function(){return zo(fe)},[fe]),Ie=Object(y.useRef)(null),Ke=Object(y.useRef)(null),dt=s(D(function(en){var wn=Ke.current;wn||ce(!1),wn.textContent=en}),[]),pt=s(function(en){var wn=Ie.current;wn||ce(!1),wn.textContent=en},[]);_o(function(){!Ie.current&&!Ke.current||ce(!1);var en=Go(V),wn=Go(V);return Ie.current=en,Ke.current=wn,en.setAttribute(Is+"-always",fe),wn.setAttribute(Is+"-dynamic",fe),zn().appendChild(en),zn().appendChild(wn),pt(ae.always),dt(ae.resting),function(){var Bn=function(jr){var Vr=jr.current;Vr||ce(!1),zn().removeChild(Vr),jr.current=null};Bn(Ie),Bn(Ke)}},[V,pt,dt,ae.always,ae.resting,fe]);var yt=s(function(){return dt(ae.dragging)},[dt,ae.dragging]),cn=s(function(en){if(en==="DROP"){dt(ae.dropAnimating);return}dt(ae.userCancel)},[dt,ae.dropAnimating,ae.userCancel]),On=s(function(){if(!Ke.current)return;dt(ae.resting)},[dt,ae.resting]),ln=a(function(){return{dragging:yt,dropping:cn,resting:On}},[yt,cn,On]);return ln}var zs=function(V){return V&&V.ownerDocument?V.ownerDocument.defaultView:window};function Ps(fe){return fe instanceof zs(fe).HTMLElement}function ro(fe,V){var ae="["+Ls.contextId+'="'+fe+'"]',Ie=Ln(document.querySelectorAll(ae));if(!Ie.length)return null;var Ke=Je(Ie,function(dt){return dt.getAttribute(Ls.draggableId)===V});return Ke&&Ps(Ke)?Ke:null}function go(fe){var V=Object(y.useRef)({}),ae=Object(y.useRef)(null),Ie=Object(y.useRef)(null),Ke=Object(y.useRef)(!1),dt=s(function(wn,Bn){var ir={id:wn,focus:Bn};return V.current[wn]=ir,function(){var Vr=V.current,Ei=Vr[wn];Ei!==ir&&delete Vr[wn]}},[]),pt=s(function(wn){var Bn=ro(fe,wn);Bn&&Bn!==document.activeElement&&Bn.focus()},[fe]),yt=s(function(wn,Bn){ae.current===wn&&(ae.current=Bn)},[]),cn=s(function(){if(Ie.current)return;if(!Ke.current)return;Ie.current=requestAnimationFrame(function(){Ie.current=null;var wn=ae.current;wn&&pt(wn)})},[pt]),On=s(function(wn){ae.current=null;var Bn=document.activeElement;if(!Bn)return;if(Bn.getAttribute(Ls.draggableId)!==wn)return;ae.current=wn},[]);_o(function(){return Ke.current=!0,function(){Ke.current=!1;var wn=Ie.current;wn&&cancelAnimationFrame(wn)}},[]);var ln=a(function(){return{register:dt,tryRecordFocus:On,tryRestoreFocusRecorded:cn,tryShiftRecord:yt}},[dt,On,cn,yt]);return ln}function Uo(){var fe={draggables:{},droppables:{}},V=[];function ae(en){return V.push(en),function(){var Bn=V.indexOf(en);if(Bn===-1)return;V.splice(Bn,1)}}function Ie(en){V.length&&V.forEach(function(wn){return wn(en)})}function Ke(en){return fe.draggables[en]||null}function dt(en){var wn=Ke(en);return wn||ce(!1),wn}var pt={register:function(wn){fe.draggables[wn.descriptor.id]=wn,Ie({type:"ADDITION",value:wn})},update:function(wn,Bn){var ir=fe.draggables[Bn.descriptor.id];if(!ir)return;if(ir.uniqueId!==wn.uniqueId)return;delete fe.draggables[Bn.descriptor.id],fe.draggables[wn.descriptor.id]=wn},unregister:function(wn){var Bn=wn.descriptor.id,ir=Ke(Bn);if(!ir)return;if(wn.uniqueId!==ir.uniqueId)return;delete fe.draggables[Bn],Ie({type:"REMOVAL",value:wn})},getById:dt,findById:Ke,exists:function(wn){return Boolean(Ke(wn))},getAllByType:function(wn){return Pt(fe.draggables).filter(function(Bn){return Bn.descriptor.type===wn})}};function yt(en){return fe.droppables[en]||null}function cn(en){var wn=yt(en);return wn||ce(!1),wn}var On={register:function(wn){fe.droppables[wn.descriptor.id]=wn},unregister:function(wn){var Bn=yt(wn.descriptor.id);if(!Bn)return;if(wn.uniqueId!==Bn.uniqueId)return;delete fe.droppables[wn.descriptor.id]},getById:cn,findById:yt,exists:function(wn){return Boolean(yt(wn))},getAllByType:function(wn){return Pt(fe.droppables).filter(function(Bn){return Bn.descriptor.type===wn})}};function ln(){fe.draggables={},fe.droppables={},V.length=0}return{draggable:pt,droppable:On,subscribe:ae,clean:ln}}function rs(){var fe=a(Uo,[]);return Object(y.useEffect)(function(){return function(){requestAnimationFrame(fe.clean)}},[fe]),fe}var ys=L.a.createContext(null),ms=function(){var V=document.body;return V||ce(!1),V},Os={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},al=function(V){return"rbd-announcement-"+V};function Ns(fe){var V=a(function(){return al(fe)},[fe]),ae=Object(y.useRef)(null);Object(y.useEffect)(function(){var dt=document.createElement("div");return ae.current=dt,dt.id=V,dt.setAttribute("aria-live","assertive"),dt.setAttribute("aria-atomic","true"),Object(v.a)(dt.style,Os),ms().appendChild(dt),function(){setTimeout(function(){var cn=ms();cn.contains(dt)&&cn.removeChild(dt),dt===ae.current&&(ae.current=null)})}},[V]);var Ie=s(function(Ke){var dt=ae.current;if(dt){dt.textContent=Ke;return}},[]);return Ie}var Ys=0,_s={separator:"::"};function As(){Ys=0}function Ds(fe,V){return V===void 0&&(V=_s),a(function(){return""+fe+V.separator+Ys++},[V.separator,fe])}function ut(fe){var V=fe.contextId,ae=fe.uniqueId;return"rbd-hidden-text-"+V+"-"+ae}function bt(fe){var V=fe.contextId,ae=fe.text,Ie=Ds("hidden-text",{separator:"-"}),Ke=a(function(){return ut({contextId:V,uniqueId:Ie})},[Ie,V]);return Object(y.useEffect)(function(){var pt=document.createElement("div");return pt.id=Ke,pt.textContent=ae,pt.style.display="none",ms().appendChild(pt),function(){var cn=ms();cn.contains(pt)&&cn.removeChild(pt)}},[Ke,ae]),Ke}var tr=L.a.createContext(null),Tr={react:"^16.8.5","react-dom":"^16.8.5"},et=/(\d+)\.(\d+)\.(\d+)/,X=function(V){var ae=et.exec(V);ae!=null||ce(!1);var Ie=Number(ae[1]),Ke=Number(ae[2]),dt=Number(ae[3]);return{major:Ie,minor:Ke,patch:dt,raw:V}},ee=function(V,ae){return ae.major>V.major?!0:ae.major<V.major?!1:ae.minor>V.minor?!0:ae.minor<V.minor?!1:ae.patch>=V.patch},ie=function(V,ae){var Ie=X(V),Ke=X(ae);if(ee(Ie,Ke))return},we=`
|
|
|
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
|
|
|
`,Ge=function(V){var ae=V.doctype;if(!ae)return;ae.name.toLowerCase()!=="html",ae.publicId!==""};function gt(fe){}function fn(fe,V){gt(function(){Object(y.useEffect)(function(){try{fe()}catch(ae){J(`
|
|
|
A setup problem was encountered.
|
|
|
|
|
|
> `+ae.message+`
|
|
|
`)}},V)})}function In(){fn(function(){ie(Tr.react,L.a.version),Ge(document)},[])}function Jn(fe){var V=Object(y.useRef)(fe);return Object(y.useEffect)(function(){V.current=fe}),V}function Cr(){var fe=null;function V(){return Boolean(fe)}function ae(pt){return pt===fe}function Ie(pt){fe&&ce(!1);var yt={abandon:pt};return fe=yt,yt}function Ke(){fe||ce(!1),fe=null}function dt(){fe&&(fe.abandon(),Ke())}return{isClaimed:V,isActive:ae,claim:Ie,release:Ke,tryAbandon:dt}}var Hr=9,si=13,xi=27,Bi=32,sa=33,ya=34,Ja=35,$a=36,to=37,Lo=38,Co=39,Bo=40,Ao,So=(Ao={},Ao[si]=!0,Ao[Hr]=!0,Ao),is=function(V){So[V.keyCode]&&V.preventDefault()},ts=function(){var fe="visibilitychange";if(typeof document=="undefined")return fe;var V=[fe,"ms"+fe,"webkit"+fe,"moz"+fe,"o"+fe],ae=Je(V,function(Ie){return"on"+Ie in document});return ae||fe}(),Io=0,Gi=5;function Rs(fe,V){return Math.abs(V.x-fe.x)>=Gi||Math.abs(V.y-fe.y)>=Gi}var Es={type:"IDLE"};function as(fe){var V=fe.cancel,ae=fe.completed,Ie=fe.getPhase,Ke=fe.setPhase;return[{eventName:"mousemove",fn:function(pt){var yt=pt.button,cn=pt.clientX,On=pt.clientY;if(yt!==Io)return;var ln={x:cn,y:On},en=Ie();if(en.type==="DRAGGING"){pt.preventDefault(),en.actions.move(ln);return}en.type==="PENDING"||ce(!1);var wn=en.point;if(!Rs(wn,ln))return;pt.preventDefault();var Bn=en.actions.fluidLift(ln);Ke({type:"DRAGGING",actions:Bn})}},{eventName:"mouseup",fn:function(pt){var yt=Ie();if(yt.type!=="DRAGGING"){V();return}pt.preventDefault(),yt.actions.drop({shouldBlockNextClick:!0}),ae()}},{eventName:"mousedown",fn:function(pt){Ie().type==="DRAGGING"&&pt.preventDefault(),V()}},{eventName:"keydown",fn:function(pt){var yt=Ie();if(yt.type==="PENDING"){V();return}if(pt.keyCode===xi){pt.preventDefault(),V();return}is(pt)}},{eventName:"resize",fn:V},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){Ie().type==="PENDING"&&V()}},{eventName:"webkitmouseforcedown",fn:function(pt){var yt=Ie();if(yt.type!=="IDLE"||ce(!1),yt.actions.shouldRespectForcePress()){V();return}pt.preventDefault()}},{eventName:ts,fn:V}]}function Xo(fe){var V=Object(y.useRef)(Es),ae=Object(y.useRef)(ue),Ie=a(function(){return{eventName:"mousedown",fn:function(en){if(en.defaultPrevented)return;if(en.button!==Io)return;if(en.ctrlKey||en.metaKey||en.shiftKey||en.altKey)return;var wn=fe.findClosestDraggableId(en);if(!wn)return;var Bn=fe.tryGetLock(wn,pt,{sourceEvent:en});if(!Bn)return;en.preventDefault();var ir={x:en.clientX,y:en.clientY};ae.current(),On(Bn,ir)}}},[fe]),Ke=a(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(en){if(en.defaultPrevented)return;var wn=fe.findClosestDraggableId(en);if(!wn)return;var Bn=fe.findOptionsForDraggable(wn);if(!Bn)return;if(Bn.shouldRespectForcePress)return;if(!fe.canGetLock(wn))return;en.preventDefault()}}},[fe]),dt=s(function(){var en={passive:!1,capture:!0};ae.current=re(window,[Ke,Ie],en)},[Ke,Ie]),pt=s(function(){var ln=V.current;if(ln.type==="IDLE")return;V.current=Es,ae.current(),dt()},[dt]),yt=s(function(){var ln=V.current;pt(),ln.type==="DRAGGING"&&ln.actions.cancel({shouldBlockNextClick:!0}),ln.type==="PENDING"&&ln.actions.abort()},[pt]),cn=s(function(){var en={capture:!0,passive:!1},wn=as({cancel:yt,completed:pt,getPhase:function(){return V.current},setPhase:function(ir){V.current=ir}});ae.current=re(window,wn,en)},[yt,pt]),On=s(function(en,wn){V.current.type==="IDLE"||ce(!1),V.current={type:"PENDING",point:wn,actions:en},cn()},[cn]);_o(function(){return dt(),function(){ae.current()}},[dt])}var hs;function Al(){}var ol=(hs={},hs[ya]=!0,hs[sa]=!0,hs[$a]=!0,hs[Ja]=!0,hs);function fs(fe,V){function ae(){V(),fe.cancel()}function Ie(){V(),fe.drop()}return[{eventName:"keydown",fn:function(dt){if(dt.keyCode===xi){dt.preventDefault(),ae();return}if(dt.keyCode===Bi){dt.preventDefault(),Ie();return}if(dt.keyCode===Bo){dt.preventDefault(),fe.moveDown();return}if(dt.keyCode===Lo){dt.preventDefault(),fe.moveUp();return}if(dt.keyCode===Co){dt.preventDefault(),fe.moveRight();return}if(dt.keyCode===to){dt.preventDefault(),fe.moveLeft();return}if(ol[dt.keyCode]){dt.preventDefault();return}is(dt)}},{eventName:"mousedown",fn:ae},{eventName:"mouseup",fn:ae},{eventName:"click",fn:ae},{eventName:"touchstart",fn:ae},{eventName:"resize",fn:ae},{eventName:"wheel",fn:ae,options:{passive:!0}},{eventName:ts,fn:ae}]}function No(fe){var V=Object(y.useRef)(Al),ae=a(function(){return{eventName:"keydown",fn:function(dt){if(dt.defaultPrevented)return;if(dt.keyCode!==Bi)return;var pt=fe.findClosestDraggableId(dt);if(!pt)return;var yt=fe.tryGetLock(pt,ln,{sourceEvent:dt});if(!yt)return;dt.preventDefault();var cn=!0,On=yt.snapLift();V.current();function ln(){cn||ce(!1),cn=!1,V.current(),Ie()}V.current=re(window,fs(On,ln),{capture:!0,passive:!1})}}},[fe]),Ie=s(function(){var dt={passive:!1,capture:!0};V.current=re(window,[ae],dt)},[ae]);_o(function(){return Ie(),function(){V.current()}},[Ie])}var ls={type:"IDLE"},Zs=120,gs=.15;function Us(fe){var V=fe.cancel,ae=fe.getPhase;return[{eventName:"orientationchange",fn:V},{eventName:"resize",fn:V},{eventName:"contextmenu",fn:function(Ke){Ke.preventDefault()}},{eventName:"keydown",fn:function(Ke){if(ae().type!=="DRAGGING"){V();return}Ke.keyCode===xi&&Ke.preventDefault(),V()}},{eventName:ts,fn:V}]}function ks(fe){var V=fe.cancel,ae=fe.completed,Ie=fe.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(dt){var pt=Ie();if(pt.type!=="DRAGGING"){V();return}pt.hasMoved=!0;var yt=dt.touches[0],cn=yt.clientX,On=yt.clientY,ln={x:cn,y:On};dt.preventDefault(),pt.actions.move(ln)}},{eventName:"touchend",fn:function(dt){var pt=Ie();if(pt.type!=="DRAGGING"){V();return}dt.preventDefault(),pt.actions.drop({shouldBlockNextClick:!0}),ae()}},{eventName:"touchcancel",fn:function(dt){if(Ie().type!=="DRAGGING"){V();return}dt.preventDefault(),V()}},{eventName:"touchforcechange",fn:function(dt){var pt=Ie();pt.type!=="IDLE"||ce(!1);var yt=dt.touches[0];if(!yt)return;var cn=yt.force>=gs;if(!cn)return;var On=pt.actions.shouldRespectForcePress();if(pt.type==="PENDING"){On&&V();return}if(On){if(pt.hasMoved){dt.preventDefault();return}V();return}dt.preventDefault()}},{eventName:ts,fn:V}]}function Bs(fe){var V=Object(y.useRef)(ls),ae=Object(y.useRef)(ue),Ie=s(function(){return V.current},[]),Ke=s(function(Bn){V.current=Bn},[]),dt=a(function(){return{eventName:"touchstart",fn:function(Bn){if(Bn.defaultPrevented)return;var ir=fe.findClosestDraggableId(Bn);if(!ir)return;var jr=fe.tryGetLock(ir,yt,{sourceEvent:Bn});if(!jr)return;var Vr=Bn.touches[0],Ei=Vr.clientX,di=Vr.clientY,ca={x:Ei,y:di};ae.current(),en(jr,ca)}}},[fe]),pt=s(function(){var Bn={capture:!0,passive:!1};ae.current=re(window,[dt],Bn)},[dt]),yt=s(function(){var wn=V.current;if(wn.type==="IDLE")return;wn.type==="PENDING"&&clearTimeout(wn.longPressTimerId),Ke(ls),ae.current(),pt()},[pt,Ke]),cn=s(function(){var wn=V.current;yt(),wn.type==="DRAGGING"&&wn.actions.cancel({shouldBlockNextClick:!0}),wn.type==="PENDING"&&wn.actions.abort()},[yt]),On=s(function(){var Bn={capture:!0,passive:!1},ir={cancel:cn,completed:yt,getPhase:Ie},jr=re(window,ks(ir),Bn),Vr=re(window,Us(ir),Bn);ae.current=function(){jr(),Vr()}},[cn,Ie,yt]),ln=s(function(){var Bn=Ie();Bn.type==="PENDING"||ce(!1);var ir=Bn.actions.fluidLift(Bn.point);Ke({type:"DRAGGING",actions:ir,hasMoved:!1})},[Ie,Ke]),en=s(function(Bn,ir){Ie().type==="IDLE"||ce(!1);var jr=setTimeout(ln,Zs);Ke({type:"PENDING",point:ir,actions:Bn,longPressTimerId:jr}),On()},[On,Ie,Ke,ln]);_o(function(){return pt(),function(){ae.current();var ir=Ie();ir.type==="PENDING"&&(clearTimeout(ir.longPressTimerId),Ke(ls))}},[Ie,pt,Ke]),_o(function(){var Bn=re(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Bn},[])}function il(fe){gt(function(){var V=Jn(fe);fn(function(){V.current.length===fe.length||ce(!1)})})}var $s={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Gs(fe,V){if(V==null)return!1;var ae=Boolean($s[V.tagName.toLowerCase()]);if(ae)return!0;var Ie=V.getAttribute("contenteditable");return Ie==="true"||Ie===""?!0:V===fe?!1:Gs(fe,V.parentElement)}function js(fe,V){var ae=V.target;return Ps(ae)?Gs(fe,ae):!1}var Qa=function(V){return n(V.getBoundingClientRect()).center};function Aa(fe){return fe instanceof zs(fe).Element}var Wa=function(){var fe="matches";if(typeof document=="undefined")return fe;var V=[fe,"msMatchesSelector","webkitMatchesSelector"],ae=Je(V,function(Ie){return Ie in Element.prototype});return ae||fe}();function oo(fe,V){return fe==null?null:fe[Wa](V)?fe:oo(fe.parentElement,V)}function Jo(fe,V){return fe.closest?fe.closest(V):oo(fe,V)}function Hs(fe){return"["+Ls.contextId+'="'+fe+'"]'}function bs(fe,V){var ae=V.target;if(!Aa(ae))return null;var Ie=Hs(fe),Ke=Jo(ae,Ie);return Ke&&Ps(Ke)?Ke:null}function ws(fe,V){var ae=bs(fe,V);return ae?ae.getAttribute(Ls.draggableId):null}function ko(fe,V){var ae="["+xs.contextId+'="'+fe+'"]',Ie=Ln(document.querySelectorAll(ae)),Ke=Je(Ie,function(dt){return dt.getAttribute(xs.id)===V});return Ke&&Ps(Ke)?Ke:null}function Oo(fe){fe.preventDefault()}function Zo(fe){var V=fe.expected,ae=fe.phase,Ie=fe.isLockActive,Ke=fe.shouldWarn;return Ie()?!(V!==ae):!1}function xo(fe){var V=fe.lockAPI,ae=fe.store,Ie=fe.registry,Ke=fe.draggableId;if(V.isClaimed())return!1;var dt=Ie.draggable.findById(Ke);return dt&&dt.options.isEnabled?!!lo(ae.getState(),Ke):!1}function Ws(fe){var V=fe.lockAPI,ae=fe.contextId,Ie=fe.store,Ke=fe.registry,dt=fe.draggableId,pt=fe.forceSensorStop,yt=fe.sourceEvent,cn=xo({lockAPI:V,store:Ie,registry:Ke,draggableId:dt});if(!cn)return null;var On=Ke.draggable.getById(dt),ln=ko(ae,On.descriptor.id);if(!ln)return null;if(yt&&!On.options.canDragInteractiveElements&&js(ln,yt))return null;var en=V.claim(pt||ue),wn="PRE_DRAG";function Bn(){return On.options.shouldRespectForcePress}function ir(){return V.isActive(en)}function jr(ha,Za){Zo({expected:ha,phase:wn,isLockActive:ir,shouldWarn:!0})&&Ie.dispatch(Za())}var Vr=jr.bind(null,"DRAGGING");function Ei(ha){function Za(){V.release(),wn="COMPLETED"}wn!=="PRE_DRAG"&&(Za(),wn==="PRE_DRAG"||ce(!1)),Ie.dispatch(Vn(ha.liftActionArgs)),wn="DRAGGING";function po(p,O){if(O===void 0&&(O={shouldBlockNextClick:!1}),ha.cleanup(),O.shouldBlockNextClick){var W=re(window,[{eventName:"click",fn:Oo,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(W)}Za(),Ie.dispatch(Ir({reason:p}))}return Object(v.a)({isActive:function(){return Zo({expected:"DRAGGING",phase:wn,isLockActive:ir,shouldWarn:!1})},shouldRespectForcePress:Bn,drop:function(O){return po("DROP",O)},cancel:function(O){return po("CANCEL",O)}},ha.actions)}function di(ha){var Za=R(function(p){Vr(function(){return Cn({client:p})})}),po=Ei({liftActionArgs:{id:dt,clientSelection:ha,movementMode:"FLUID"},cleanup:function(){return Za.cancel()},actions:{move:Za}});return Object(v.a)({},po,{move:Za})}function ca(){var ha={moveUp:function(){return Vr(ar)},moveRight:function(){return Vr(gr)},moveDown:function(){return Vr(Er)},moveLeft:function(){return Vr(Rr)}};return Ei({liftActionArgs:{id:dt,clientSelection:Qa(ln),movementMode:"SNAP"},cleanup:ue,actions:ha})}function ji(){var ha=Zo({expected:"PRE_DRAG",phase:wn,isLockActive:ir,shouldWarn:!0});ha&&V.release()}var Ia={isActive:function(){return Zo({expected:"PRE_DRAG",phase:wn,isLockActive:ir,shouldWarn:!1})},shouldRespectForcePress:Bn,fluidLift:di,snapLift:ca,abort:ji};return Ia}var wl=[Xo,No,Bs];function Sl(fe){var V=fe.contextId,ae=fe.store,Ie=fe.registry,Ke=fe.customSensors,dt=fe.enableDefaultSensors,pt=[].concat(dt?wl:[],Ke||[]),yt=Object(y.useState)(function(){return Cr()})[0],cn=s(function(di,ca){di.isDragging&&!ca.isDragging&&yt.tryAbandon()},[yt]);_o(function(){var di=ae.getState(),ca=ae.subscribe(function(){var ji=ae.getState();cn(di,ji),di=ji});return ca},[yt,ae,cn]),_o(function(){return yt.tryAbandon},[yt.tryAbandon]);var On=s(function(Ei){return xo({lockAPI:yt,registry:Ie,store:ae,draggableId:Ei})},[yt,Ie,ae]),ln=s(function(Ei,di,ca){return Ws({lockAPI:yt,registry:Ie,contextId:V,store:ae,draggableId:Ei,forceSensorStop:di,sourceEvent:ca&&ca.sourceEvent?ca.sourceEvent:null})},[V,yt,Ie,ae]),en=s(function(Ei){return ws(V,Ei)},[V]),wn=s(function(Ei){var di=Ie.draggable.findById(Ei);return di?di.options:null},[Ie.draggable]),Bn=s(function(){if(!yt.isClaimed())return;yt.tryAbandon(),ae.getState().phase!=="IDLE"&&ae.dispatch(kr())},[yt,ae]),ir=s(yt.isClaimed,[yt]),jr=a(function(){return{canGetLock:On,tryGetLock:ln,findClosestDraggableId:en,findOptionsForDraggable:wn,tryReleaseLock:Bn,isLockClaimed:ir}},[On,ln,en,wn,Bn,ir]);il(pt);for(var Vr=0;Vr<pt.length;Vr++)pt[Vr](jr)}var Pl=function(V){return{onBeforeCapture:V.onBeforeCapture,onBeforeDragStart:V.onBeforeDragStart,onDragStart:V.onDragStart,onDragEnd:V.onDragEnd,onDragUpdate:V.onDragUpdate}};function qs(fe){return fe.current||ce(!1),fe.current}function Ol(fe){var V=fe.contextId,ae=fe.setCallbacks,Ie=fe.sensors,Ke=fe.nonce,dt=fe.dragHandleUsageInstructions,pt=Object(y.useRef)(null);In();var yt=Jn(fe),cn=s(function(){return Pl(yt.current)},[yt]),On=Ns(V),ln=bt({contextId:V,text:dt}),en=rl(V,Ke),wn=s(function(p){qs(pt).dispatch(p)},[]),Bn=a(function(){return Object(A.b)({publishWhileDragging:fr,updateDroppableScroll:At,updateDroppableIsEnabled:qt,updateDroppableIsCombineEnabled:$t,collectionStarting:Re},wn)},[wn]),ir=rs(),jr=a(function(){return ia(ir,Bn)},[ir,Bn]),Vr=a(function(){return nl(Object(v.a)({scrollWindow:Ya,scrollDroppable:jr.scrollDroppable},Object(A.b)({move:Cn},wn)))},[jr.scrollDroppable,wn]),Ei=go(V),di=a(function(){return Sa({announce:On,autoScroller:Vr,dimensionMarshal:jr,focusMarshal:Ei,getResponders:cn,styleMarshal:en})},[On,Vr,jr,Ei,cn,en]);pt.current=di;var ca=s(function(){var p=qs(pt),O=p.getState();O.phase!=="IDLE"&&p.dispatch(kr())},[]),ji=s(function(){var p=qs(pt).getState();return p.isDragging||p.phase==="DROP_ANIMATING"},[]),Ia=a(function(){return{isDragging:ji,tryAbort:ca}},[ji,ca]);ae(Ia);var ha=s(function(p){return lo(qs(pt).getState(),p)},[]),Za=s(function(){return oi(qs(pt).getState())},[]),po=a(function(){return{marshal:jr,focus:Ei,contextId:V,canLift:ha,isMovementAllowed:Za,dragHandleUsageInstructionsId:ln,registry:ir}},[V,jr,ln,Ei,ha,Za,ir]);return Sl({contextId:V,store:di,registry:ir,customSensors:Ie,enableDefaultSensors:fe.enableDefaultSensors!==!1}),Object(y.useEffect)(function(){return ca},[ca]),L.a.createElement(tr.Provider,{value:po},L.a.createElement(b.a,{context:ys,store:di},fe.children))}var Ll=0;function Uu(){Ll=0}function ru(){return a(function(){return""+Ll++},[])}function Eu(){Uu(),As()}function iu(fe){var V=ru(),ae=fe.dragHandleUsageInstructions||rt.dragHandleUsageInstructions;return L.a.createElement(Ee,null,function(Ie){return L.a.createElement(Ol,{nonce:fe.nonce,contextId:V,setCallbacks:Ie,dragHandleUsageInstructions:ae,enableDefaultSensors:fe.enableDefaultSensors,sensors:fe.sensors,onBeforeCapture:fe.onBeforeCapture,onBeforeDragStart:fe.onBeforeDragStart,onDragStart:fe.onDragStart,onDragUpdate:fe.onDragUpdate,onDragEnd:fe.onDragEnd},fe.children)})}var jl=function(V){return function(ae){return V===ae}},Ks=jl("scroll"),el=jl("auto"),sl=jl("visible"),_l=function(V,ae){return ae(V.overflowX)||ae(V.overflowY)},au=function(V,ae){return ae(V.overflowX)&&ae(V.overflowY)},ou=function(V){var ae=window.getComputedStyle(V),Ie={overflowX:ae.overflowX,overflowY:ae.overflowY};return _l(Ie,Ks)||_l(Ie,el)},Gl=function(){return!1;var V,ae;if(!ou(V))return!1;var Ie,Ke;if(au(Ke,sl))return!1},Vs=function fe(V){return V==null?null:V===document.body?Gl()?V:null:V===document.documentElement?null:ou(V)?V:fe(V.parentElement)},su=function(V){if(!V)return;var ae=Vs(V.parentElement);if(!ae)return},lu=function(V){return{x:V.scrollLeft,y:V.scrollTop}},Cu=function fe(V){if(!V)return!1;var ae=window.getComputedStyle(V);return ae.position==="fixed"?!0:fe(V.parentElement)},gl=function(V){var ae=Vs(V),Ie=Cu(V);return{closestScrollable:ae,isFixedOnPage:Ie}},Tl=function(V){var ae=V.descriptor,Ie=V.isEnabled,Ke=V.isCombineEnabled,dt=V.isFixedOnPage,pt=V.direction,yt=V.client,cn=V.page,On=V.closest,ln=function(){if(!On)return null;var ir=On.scrollSize,jr=On.client,Vr=ka({scrollHeight:ir.scrollHeight,scrollWidth:ir.scrollWidth,height:jr.paddingBox.height,width:jr.paddingBox.width});return{pageMarginBox:On.page.marginBox,frameClient:jr,scrollSize:ir,shouldClipSubject:On.shouldClipSubject,scroll:{initial:On.scroll,current:On.scroll,max:Vr,diff:{value:ht,displacement:ht}}}}(),en=pt==="vertical"?Ur:Ue,wn=vt({page:cn,withPlaceholder:null,axis:en,frame:ln}),Bn={descriptor:ae,isCombineEnabled:Ke,isFixedOnPage:dt,axis:en,isEnabled:Ie,client:yt,page:cn,frame:ln,subject:wn};return Bn},Hl=function(V,ae){var Ie=C(V);if(!ae)return Ie;if(V!==ae)return Ie;var Ke=Ie.paddingBox.top-ae.scrollTop,dt=Ie.paddingBox.left-ae.scrollLeft,pt=Ke+ae.scrollHeight,yt=dt+ae.scrollWidth,cn={top:Ke,right:yt,bottom:pt,left:dt},On=l(cn,Ie.border),ln=c({borderBox:On,margin:Ie.margin,border:Ie.border,padding:Ie.padding});return ln},Xl=function(V){var ae=V.ref,Ie=V.descriptor,Ke=V.env,dt=V.windowScroll,pt=V.direction,yt=V.isDropDisabled,cn=V.isCombineEnabled,On=V.shouldClipSubject,ln=Ke.closestScrollable,en=Hl(ae,ln),wn=x(en,dt),Bn=function(){if(!ln)return null;var jr=C(ln),Vr={scrollHeight:ln.scrollHeight,scrollWidth:ln.scrollWidth};return{client:jr,page:x(jr,dt),scroll:lu(ln),scrollSize:Vr,shouldClipSubject:On}}(),ir=Tl({descriptor:Ie,isEnabled:!yt,isCombineEnabled:cn,isFixedOnPage:Ke.isFixedOnPage,direction:pt,client:en,page:wn,closest:Bn});return ir},xl={passive:!1},ku={passive:!0},ju=function(V){return V.shouldPublishImmediately?xl:ku};function vl(fe){var V=Object(y.useContext)(fe);return V||ce(!1),V}var Jl=function(V){return V&&V.env.closestScrollable||null};function uu(fe){var V=Object(y.useRef)(null),ae=vl(tr),Ie=Ds("droppable"),Ke=ae.registry,dt=ae.marshal,pt=Jn(fe),yt=a(function(){return{id:fe.droppableId,type:fe.type,mode:fe.mode}},[fe.droppableId,fe.mode,fe.type]),cn=Object(y.useRef)(yt),On=a(function(){return D(function(ji,Ia){V.current||ce(!1);var ha={x:ji,y:Ia};dt.updateDroppableScroll(yt.id,ha)})},[yt.id,dt]),ln=s(function(){var ji=V.current;return!ji||!ji.env.closestScrollable?ht:lu(ji.env.closestScrollable)},[]),en=s(function(){var ji=ln();On(ji.x,ji.y)},[ln,On]),wn=a(function(){return R(en)},[en]),Bn=s(function(){var ji=V.current,Ia=Jl(ji);ji&&Ia||ce(!1);var ha=ji.scrollOptions;if(ha.shouldPublishImmediately){en();return}wn()},[wn,en]),ir=s(function(ji,Ia){V.current&&ce(!1);var ha=pt.current,Za=ha.getDroppableRef();Za||ce(!1);var po=gl(Za),p={ref:Za,descriptor:yt,env:po,scrollOptions:Ia};V.current=p;var O=Xl({ref:Za,descriptor:yt,env:po,windowScroll:ji,direction:ha.direction,isDropDisabled:ha.isDropDisabled,isCombineEnabled:ha.isCombineEnabled,shouldClipSubject:!ha.ignoreContainerClipping}),W=po.closestScrollable;return W&&(W.setAttribute(Ts.contextId,ae.contextId),W.addEventListener("scroll",Bn,ju(p.scrollOptions))),O},[ae.contextId,yt,Bn,pt]),jr=s(function(){var ji=V.current,Ia=Jl(ji);return ji&&Ia||ce(!1),lu(Ia)},[]),Vr=s(function(){var ji=V.current;ji||ce(!1);var Ia=Jl(ji);if(V.current=null,!Ia)return;wn.cancel(),Ia.removeAttribute(Ts.contextId),Ia.removeEventListener("scroll",Bn,ju(ji.scrollOptions))},[Bn,wn]),Ei=s(function(ji){var Ia=V.current;Ia||ce(!1);var ha=Jl(Ia);ha||ce(!1),ha.scrollTop+=ji.y,ha.scrollLeft+=ji.x},[]),di=a(function(){return{getDimensionAndWatchScroll:ir,getScrollWhileDragging:jr,dragStopped:Vr,scroll:Ei}},[Vr,ir,jr,Ei]),ca=a(function(){return{uniqueId:Ie,descriptor:yt,callbacks:di}},[di,yt,Ie]);_o(function(){return cn.current=ca.descriptor,Ke.droppable.register(ca),function(){V.current&&Vr(),Ke.droppable.unregister(ca)}},[di,yt,Vr,ca,dt,Ke.droppable]),_o(function(){if(!V.current)return;dt.updateDroppableIsEnabled(cn.current.id,!fe.isDropDisabled)},[fe.isDropDisabled,dt]),_o(function(){if(!V.current)return;dt.updateDroppableIsCombineEnabled(cn.current.id,fe.isCombineEnabled)},[fe.isCombineEnabled,dt])}function Zl(){}var Ss={width:0,height:0,margin:Yt},cl=function(V){var ae=V.isAnimatingOpenOnMount,Ie=V.placeholder,Ke=V.animate;return ae||Ke==="close"?Ss:{height:Ie.client.borderBox.height,width:Ie.client.borderBox.width,margin:Ie.client.margin}},Ul=function(V){var ae=V.isAnimatingOpenOnMount,Ie=V.placeholder,Ke=V.animate,dt=cl({isAnimatingOpenOnMount:ae,placeholder:Ie,animate:Ke});return{display:Ie.display,boxSizing:"border-box",width:dt.width,height:dt.height,marginTop:dt.margin.top,marginRight:dt.margin.right,marginBottom:dt.margin.bottom,marginLeft:dt.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:Ke!=="none"?Wr.placeholder:null}};function Iu(fe){var V=Object(y.useRef)(null),ae=s(function(){if(!V.current)return;clearTimeout(V.current),V.current=null},[]),Ie=fe.animate,Ke=fe.onTransitionEnd,dt=fe.onClose,pt=fe.contextId,yt=Object(y.useState)(fe.animate==="open"),cn=yt[0],On=yt[1];Object(y.useEffect)(function(){return cn?Ie!=="open"?(ae(),On(!1),Zl):V.current?Zl:(V.current=setTimeout(function(){V.current=null,On(!1)}),ae):Zl},[Ie,cn,ae]);var ln=s(function(wn){if(wn.propertyName!=="height")return;Ke(),Ie==="close"&&dt()},[Ie,dt,Ke]),en=Ul({isAnimatingOpenOnMount:cn,animate:fe.animate,placeholder:fe.placeholder});return L.a.createElement(fe.placeholder.tagName,{style:en,"data-rbd-placeholder-context-id":pt,onTransitionEnd:ln,ref:fe.innerRef})}var cu=L.a.memo(Iu),zl=L.a.createContext(null);function Wl(fe){fe&&Ps(fe)||ce(!1)}function du(fe){return typeof fe=="boolean"}function Ou(fe,V){V.forEach(function(ae){return ae(fe)})}var Hu=[function(V){var ae=V.props;ae.droppableId||ce(!1),typeof ae.droppableId=="string"||ce(!1)},function(V){var ae=V.props;du(ae.isDropDisabled)||ce(!1),du(ae.isCombineEnabled)||ce(!1),du(ae.ignoreContainerClipping)||ce(!1)},function(V){var ae=V.getDroppableRef;Wl(ae())}],dl=[function(V){var ae=V.props,Ie=V.getPlaceholderRef;if(!ae.placeholder)return;var Ke=Ie();if(Ke)return}],hl=[function(V){var ae=V.props;ae.renderClone||ce(!1)},function(V){var ae=V.getPlaceholderRef;ae()&&ce(!1)}];function El(fe){fn(function(){Ou(fe,Hu),fe.props.mode==="standard"&&Ou(fe,dl),fe.props.mode==="virtual"&&Ou(fe,hl)})}var $l=function(fe){Object(g.a)(V,fe);function V(){for(var Ie,Ke=arguments.length,dt=new Array(Ke),pt=0;pt<Ke;pt++)dt[pt]=arguments[pt];return Ie=fe.call.apply(fe,[this].concat(dt))||this,Ie.state={isVisible:Boolean(Ie.props.on),data:Ie.props.on,animate:Ie.props.shouldAnimate&&Ie.props.on?"open":"none"},Ie.onClose=function(){if(Ie.state.animate!=="close")return;Ie.setState({isVisible:!1})},Ie}V.getDerivedStateFromProps=function(Ke,dt){return Ke.shouldAnimate?Ke.on?{isVisible:!0,data:Ke.on,animate:"open"}:dt.isVisible?{isVisible:!0,data:dt.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(Ke.on),data:Ke.on,animate:"none"}};var ae=V.prototype;return ae.render=function(){if(!this.state.isVisible)return null;var Ke={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(Ke)},V}(L.a.PureComponent),ql={dragging:5e3,dropAnimating:4500},yl=function(V,ae){return ae?Wr.drop(ae.duration):V?Wr.snap:Wr.fluid},ll=function(V,ae){return V?ae?Si.opacity.drop:Si.opacity.combining:null},hu=function(V){return V.forceShouldAnimate!=null?V.forceShouldAnimate:V.mode==="SNAP"};function fu(fe){var V=fe.dimension,ae=V.client,Ie=fe.offset,Ke=fe.combineWith,dt=fe.dropping,pt=Boolean(Ke),yt=hu(fe),cn=Boolean(dt),On=cn?Ki.drop(Ie,pt):Ki.moveTo(Ie),ln={position:"fixed",top:ae.marginBox.top,left:ae.marginBox.left,boxSizing:"border-box",width:ae.borderBox.width,height:ae.borderBox.height,transition:yl(yt,dt),transform:On,opacity:ll(pt,cn),zIndex:cn?ql.dropAnimating:ql.dragging,pointerEvents:"none"};return ln}function zu(fe){return{transform:Ki.moveTo(fe.offset),transition:fe.shouldAnimateDisplacement?null:"none"}}function Lu(fe){return fe.type==="DRAGGING"?fu(fe):zu(fe)}function Tu(fe,V,ae){ae===void 0&&(ae=ht);var Ie=window.getComputedStyle(V),Ke=V.getBoundingClientRect(),dt=I(Ke,Ie),pt=x(dt,ae),yt={client:dt,tagName:V.tagName.toLowerCase(),display:Ie.display},cn={x:dt.marginBox.width,y:dt.marginBox.height},On={descriptor:fe,placeholder:yt,displaceBy:cn,client:dt,page:pt};return On}function Wu(fe){var V=Ds("draggable"),ae=fe.descriptor,Ie=fe.registry,Ke=fe.getDraggableRef,dt=fe.canDragInteractiveElements,pt=fe.shouldRespectForcePress,yt=fe.isEnabled,cn=a(function(){return{canDragInteractiveElements:dt,shouldRespectForcePress:pt,isEnabled:yt}},[dt,yt,pt]),On=s(function(Bn){var ir=Ke();return ir||ce(!1),Tu(ae,ir,Bn)},[ae,Ke]),ln=a(function(){return{uniqueId:V,descriptor:ae,options:cn,getDimension:On}},[ae,On,cn,V]),en=Object(y.useRef)(ln),wn=Object(y.useRef)(!0);_o(function(){return Ie.draggable.register(en.current),function(){return Ie.draggable.unregister(en.current)}},[Ie.draggable]),_o(function(){if(wn.current){wn.current=!1;return}var Bn=en.current;en.current=ln,Ie.draggable.update(ln,Bn)},[ln,Ie.draggable])}function Kl(fe,V,ae){fn(function(){function Ie(dt){return"Draggable[id: "+dt+"]: "}var Ke=fe.draggableId;if(Ke||ce(!1),typeof Ke=="string"||ce(!1),he(fe.index)||ce(!1),fe.mapped.type==="DRAGGING")return;Wl(ae()),fe.isEnabled&&(ro(V,Ke)||ce(!1))})}function fl(fe){gt(function(){var V=Object(y.useRef)(fe);fn(function(){fe===V.current||ce(!1)},[fe])})}function Nl(fe){fe.preventDefault()}function Vl(fe){var V=Object(y.useRef)(null),ae=s(function(p){V.current=p},[]),Ie=s(function(){return V.current},[]),Ke=vl(tr),dt=Ke.contextId,pt=Ke.dragHandleUsageInstructionsId,yt=Ke.registry,cn=vl(zl),On=cn.type,ln=cn.droppableId,en=a(function(){return{id:fe.draggableId,index:fe.index,type:On,droppableId:ln}},[fe.draggableId,fe.index,On,ln]),wn=fe.children,Bn=fe.draggableId,ir=fe.isEnabled,jr=fe.shouldRespectForcePress,Vr=fe.canDragInteractiveElements,Ei=fe.isClone,di=fe.mapped,ca=fe.dropAnimationFinished;if(Kl(fe,dt,Ie),fl(Ei),!Ei){var ji=a(function(){return{descriptor:en,registry:yt,getDraggableRef:Ie,canDragInteractiveElements:Vr,shouldRespectForcePress:jr,isEnabled:ir}},[en,yt,Ie,Vr,jr,ir]);Wu(ji)}var Ia=a(function(){return ir?{tabIndex:0,role:"button","aria-describedby":pt,"data-rbd-drag-handle-draggable-id":Bn,"data-rbd-drag-handle-context-id":dt,draggable:!1,onDragStart:Nl}:null},[dt,pt,Bn,ir]),ha=s(function(p){if(di.type!=="DRAGGING")return;if(!di.dropping)return;if(p.propertyName!=="transform")return;ca()},[ca,di]),Za=a(function(){var p=Lu(di),O=di.type==="DRAGGING"&&di.dropping?ha:null,W={innerRef:ae,draggableProps:{"data-rbd-draggable-context-id":dt,"data-rbd-draggable-id":Bn,style:p,onTransitionEnd:O},dragHandleProps:Ia};return W},[dt,Ia,Bn,di,ha,ae]),po=a(function(){return{draggableId:en.id,type:en.type,source:{index:en.index,droppableId:en.droppableId}}},[en.droppableId,en.id,en.index,en.type]);return wn(Za,di.snapshot,po)}var kl=function(V,ae){return V===ae},pu=function(V){var ae=V.combine,Ie=V.destination;return Ie?Ie.droppableId:ae?ae.droppableId:null},Ku=function(V){return V.combine?V.combine.draggableId:null},Nu=function(V){return V.at&&V.at.type==="COMBINE"?V.at.combine.draggableId:null};function qu(){var fe=D(function(Ke,dt){return{x:Ke,y:dt}}),V=D(function(Ke,dt,pt,yt,cn){return{isDragging:!0,isClone:dt,isDropAnimating:Boolean(cn),dropAnimation:cn,mode:Ke,draggingOver:pt,combineWith:yt,combineTargetFor:null}}),ae=D(function(Ke,dt,pt,yt,cn,On,ln){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:cn,combineWith:On,mode:dt,offset:Ke,dimension:pt,forceShouldAnimate:ln,snapshot:V(dt,yt,cn,On,null)}}}),Ie=function(dt,pt){if(dt.isDragging){if(dt.critical.draggable.id!==pt.draggableId)return null;var yt=dt.current.client.offset,cn=dt.dimensions.draggables[pt.draggableId],On=Sr(dt.impact),ln=Nu(dt.impact),en=dt.forceShouldAnimate;return ae(fe(yt.x,yt.y),dt.movementMode,cn,pt.isClone,On,ln,en)}if(dt.phase==="DROP_ANIMATING"){var wn=dt.completed;if(wn.result.draggableId!==pt.draggableId)return null;var Bn=pt.isClone,ir=dt.dimensions.draggables[pt.draggableId],jr=wn.result,Vr=jr.mode,Ei=pu(jr),di=Ku(jr),ca=dt.dropDuration,ji={duration:ca,curve:Fi.drop,moveTo:dt.newHomeClientOffset,opacity:di?Si.opacity.drop:null,scale:di?Si.scale.drop:null};return{mapped:{type:"DRAGGING",offset:dt.newHomeClientOffset,dimension:ir,dropping:ji,draggingOver:Ei,combineWith:di,mode:Vr,forceShouldAnimate:null,snapshot:V(Vr,Bn,Ei,di,ji)}}}return null};return Ie}function Du(fe){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:fe,combineWith:null}}var Vu={mapped:{type:"SECONDARY",offset:ht,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Du(null)}};function Qu(){var fe=D(function(pt,yt){return{x:pt,y:yt}}),V=D(Du),ae=D(function(pt,yt,cn){return yt===void 0&&(yt=null),{mapped:{type:"SECONDARY",offset:pt,combineTargetFor:yt,shouldAnimateDisplacement:cn,snapshot:V(yt)}}}),Ie=function(yt){return yt?ae(ht,yt,!0):null},Ke=function(yt,cn,On,ln){var en=On.displaced.visible[yt],wn=Boolean(ln.inVirtualList&&ln.effected[yt]),Bn=vn(On),ir=Bn&&Bn.draggableId===yt?cn:null;if(!en){if(!wn)return Ie(ir);if(On.displaced.invisible[yt])return null;var jr=it(ln.displacedBy.point),Vr=fe(jr.x,jr.y);return ae(Vr,ir,!0)}if(wn)return Ie(ir);var Ei=On.displacedBy.point,di=fe(Ei.x,Ei.y);return ae(di,ir,en.shouldAnimate)},dt=function(yt,cn){if(yt.isDragging)return yt.critical.draggable.id===cn.draggableId?null:Ke(cn.draggableId,yt.critical.draggable.id,yt.impact,yt.afterCritical);if(yt.phase==="DROP_ANIMATING"){var On=yt.completed;return On.result.draggableId===cn.draggableId?null:Ke(cn.draggableId,On.result.draggableId,On.impact,On.afterCritical)}return null};return dt}var Yu=function(){var V=qu(),ae=Qu(),Ie=function(dt,pt){return V(dt,pt)||ae(dt,pt)||Vu};return Ie},Ru={dropAnimationFinished:Gr},mu=Object(b.c)(Yu,Ru,null,{context:ys,pure:!0,areStatePropsEqual:kl})(Vl);function bl(fe){var V=vl(zl),ae=V.isUsingCloneFor;return ae===fe.draggableId&&!fe.isClone?null:L.a.createElement(mu,fe)}function Au(fe){var V=typeof fe.isDragDisabled=="boolean"?!fe.isDragDisabled:!0,ae=Boolean(fe.disableInteractiveElementBlocking),Ie=Boolean(fe.shouldRespectForcePress);return L.a.createElement(bl,Object(v.a)({},fe,{isClone:!1,isEnabled:V,canDragInteractiveElements:ae,shouldRespectForcePress:Ie}))}function Cl(fe){var V=Object(y.useContext)(tr);V||ce(!1);var ae=V.contextId,Ie=V.isMovementAllowed,Ke=Object(y.useRef)(null),dt=Object(y.useRef)(null),pt=fe.children,yt=fe.droppableId,cn=fe.type,On=fe.mode,ln=fe.direction,en=fe.ignoreContainerClipping,wn=fe.isDropDisabled,Bn=fe.isCombineEnabled,ir=fe.snapshot,jr=fe.useClone,Vr=fe.updateViewportMaxScroll,Ei=fe.getContainerForClone,di=s(function(){return Ke.current},[]),ca=s(function(Q){Ke.current=Q},[]),ji=s(function(){return dt.current},[]),Ia=s(function(Q){dt.current=Q},[]);El({props:fe,getDroppableRef:di,getPlaceholderRef:ji});var ha=s(function(){Ie()&&Vr({maxScroll:Ka()})},[Ie,Vr]);uu({droppableId:yt,type:cn,mode:On,direction:ln,isDropDisabled:wn,isCombineEnabled:Bn,ignoreContainerClipping:en,getDroppableRef:di});var Za=L.a.createElement($l,{on:fe.placeholder,shouldAnimate:fe.shouldAnimatePlaceholder},function(Q){var Z=Q.onClose,ve=Q.data,Ze=Q.animate;return L.a.createElement(cu,{placeholder:ve,onClose:Z,innerRef:Ia,animate:Ze,contextId:ae,onTransitionEnd:ha})}),po=a(function(){return{innerRef:ca,placeholder:Za,droppableProps:{"data-rbd-droppable-id":yt,"data-rbd-droppable-context-id":ae}}},[ae,yt,Za,ca]),p=jr?jr.dragging.draggableId:null,O=a(function(){return{droppableId:yt,type:cn,isUsingCloneFor:p}},[yt,p,cn]);function W(){if(!jr)return null;var Q=jr.dragging,Z=jr.render,ve=L.a.createElement(bl,{draggableId:Q.draggableId,index:Q.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(Ze,ft){return Z(Ze,ft,Q)});return M.a.createPortal(ve,Ei())}return L.a.createElement(zl.Provider,{value:O},pt(po,ir),W())}var eu=function(V,ae){return V===ae.droppable.type},ne=function(V,ae){return ae.draggables[V.draggable.id]},Ce=function(){var V={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},ae=Object(v.a)({},V,{shouldAnimatePlaceholder:!1}),Ie=D(function(pt){return{draggableId:pt.id,type:pt.type,source:{index:pt.index,droppableId:pt.droppableId}}}),Ke=D(function(pt,yt,cn,On,ln,en){var wn=ln.descriptor.id,Bn=ln.descriptor.droppableId===pt;if(Bn){var ir=en?{render:en,dragging:Ie(ln.descriptor)}:null,jr={isDraggingOver:cn,draggingOverWith:cn?wn:null,draggingFromThisWith:wn,isUsingPlaceholder:!0};return{placeholder:ln.placeholder,shouldAnimatePlaceholder:!1,snapshot:jr,useClone:ir}}if(!yt)return ae;if(!On)return V;var Vr={isDraggingOver:cn,draggingOverWith:wn,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:ln.placeholder,shouldAnimatePlaceholder:!0,snapshot:Vr,useClone:null}}),dt=function(yt,cn){var On=cn.droppableId,ln=cn.type,en=!cn.isDropDisabled,wn=cn.renderClone;if(yt.isDragging){var Bn=yt.critical;if(!eu(ln,Bn))return ae;var ir=ne(Bn,yt.dimensions),jr=Sr(yt.impact)===On;return Ke(On,en,jr,jr,ir,wn)}if(yt.phase==="DROP_ANIMATING"){var Vr=yt.completed;if(!eu(ln,Vr.critical))return ae;var Ei=ne(Vr.critical,yt.dimensions);return Ke(On,en,pu(Vr.result)===On,Sr(Vr.impact)===On,Ei,wn)}if(yt.phase==="IDLE"&&yt.completed&&!yt.shouldFlush){var di=yt.completed;if(!eu(ln,di.critical))return ae;var ca=Sr(di.impact)===On,ji=Boolean(di.impact.at&&di.impact.at.type==="COMBINE"),Ia=di.critical.droppable.id===On;return ca?ji?V:ae:Ia?V:ae}return ae};return dt},Xe={updateViewportMaxScroll:Hn};function Tt(){return document.body||ce(!1),document.body}var nn={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:Tt},xn=Object(b.c)(Ce,Xe,null,{context:ys,pure:!0,areStatePropsEqual:kl})(Cl);xn.defaultProps=nn},ni6a:function(te,U,e){var y=e("pzxd"),L=e("mFDi"),g=e("gut8"),v=g.WILL_BE_RESTORED,A=new L,b=function(){};b.prototype={constructor:b,drawRectText:function(r,a){var s=this.style;a=s.textRect||a,this.__dirty&&y.normalizeTextStyle(s,!0);var i=s.text;if(i!=null&&(i+=""),!y.needDrawText(i,s))return;r.save();var n=this.transform;s.transformText?this.setTransform(r):n&&(A.copy(a),A.applyTransform(n),a=A),y.renderText(this,r,i,s,a,v),r.restore()}};var m=b;te.exports=m},nkfE:function(te,U,e){var y=e("bYtY"),L=e("ca2m"),g=e("bLfw"),v=e("+TT/"),A=v.getLayoutParams,b=v.mergeLayoutParam,m=e("jkPA"),d=["value","category","time","log"];function r(a,s,i,n){y.each(d,function(l){s.extend({type:a+"Axis."+l,mergeDefaultAndTheme:function(t,u){var o=this.layoutMode,c=o?A(t):{},h=u.getTheme();y.merge(t,h.get(l+"Axis")),y.merge(t,this.getDefaultOption()),t.type=i(a,t),o&&b(t,c,o)},optionUpdated:function(){var t=this.option;t.type==="category"&&(this.__ordinalMeta=m.createByAxisModel(this))},getCategories:function(t){var u=this.option;if(u.type==="category")return t?u.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:y.mergeAll([{},L[l+"Axis"],n],!0)})}),g.registerSubTypeDefaulter(a+"Axis",y.curry(i,a))}te.exports=r},noeP:function(te,U,e){var y=e("ProS"),L=e("bYtY"),g=e("UOVi");y.registerAction("dataZoom",function(v,A){var b=g.createLinkedNodesFinder(L.bind(A.eachComponent,A,"dataZoom"),g.eachAxisDim,function(d,r){return d.get(r.axisIndex)}),m=[];A.eachComponent({mainType:"dataZoom",query:v},function(d,r){m.push.apply(m,b(d).nodes)}),L.each(m,function(d,r){d.setRawRange({start:v.start,end:v.end,startValue:v.startValue,endValue:v.endValue})})})},"o/2+":function(te,U,e){"use strict";var y=e("q1tI"),L=e.n(y),g=Object(y.createContext)({});U.a=g},o40c:function(te,U,e){var y=e("IwbS"),L=e("OS9S"),g=e("loD1"),v=e("aKvl"),A=y.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(r,a){var s=a.segs,i=a.curveness;if(a.polyline)for(var n=0;n<s.length;){var l=s[n++];if(l>0){r.moveTo(s[n++],s[n++]);for(var t=1;t<l;t++)r.lineTo(s[n++],s[n++])}}else for(var n=0;n<s.length;){var u=s[n++],o=s[n++],c=s[n++],h=s[n++];if(r.moveTo(u,o),i>0){var f=(u+c)/2-(o-h)*i,w=(o+h)/2-(c-u)*i;r.quadraticCurveTo(f,w,c,h)}else r.lineTo(c,h)}},findDataIndex:function(r,a){var s=this.shape,i=s.segs,n=s.curveness;if(s.polyline)for(var l=0,t=0;t<i.length;){var u=i[t++];if(u>0)for(var o=i[t++],c=i[t++],h=1;h<u;h++){var f=i[t++],w=i[t++];if(g.containStroke(o,c,f,w))return l}l++}else for(var l=0,t=0;t<i.length;){var o=i[t++],c=i[t++],f=i[t++],w=i[t++];if(n>0){var x=(o+f)/2-(c-w)*n,I=(c+w)/2-(f-o)*n;if(v.containStroke(o,c,x,I,f,w))return l}else if(g.containStroke(o,c,f,w))return l;l++}return-1}});function b(){this.group=new y.Group}var m=b.prototype;m.isPersistent=function(){return!this._incremental},m.updateData=function(r){this.group.removeAll();var a=new A({rectHover:!0,cursor:"default"});a.setShape({segs:r.getLayout("linesPoints")}),this._setCommon(a,r),this.group.add(a),this._incremental=null},m.incrementalPrepareUpdate=function(r){this.group.removeAll(),this._clearIncremental(),r.count()>5e5?(this._incremental||(this._incremental=new L({silent:!0})),this.group.add(this._incremental)):this._incremental=null},m.incrementalUpdate=function(r,a){var s=new A;s.setShape({segs:a.getLayout("linesPoints")}),this._setCommon(s,a,!!this._incremental),this._incremental?this._incremental.addDisplayable(s,!0):(s.rectHover=!0,s.cursor="default",s.__startIndex=r.start,this.group.add(s))},m.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},m._setCommon=function(r,a,s){var i=a.hostModel;r.setShape({polyline:i.get("polyline"),curveness:i.get("lineStyle.curveness")}),r.useStyle(i.getModel("lineStyle").getLineStyle()),r.style.strokeNoScale=!0;var n=a.getVisual("color");n&&r.setStyle("stroke",n),r.setStyle("fill"),s||(r.seriesIndex=i.seriesIndex,r.on("mousemove",function(l){r.dataIndex=null;var t=r.findDataIndex(l.offsetX,l.offsetY);t>0&&(r.dataIndex=t+r.__startIndex)}))},m._clearIncremental=function(){var r=this._incremental;r&&r.clearDisplaybles()};var d=b;te.exports=d},oBaM:function(te,U,e){var y=e("T4UG"),L=e("5GtS"),g=e("bYtY"),v=e("7aKB"),A=v.encodeHTML,b=e("xKMd"),m=y.extend({type:"series.radar",dependencies:["radar"],init:function(r){m.superApply(this,"init",arguments),this.legendVisualProvider=new b(g.bind(this.getData,this),g.bind(this.getRawData,this))},getInitialData:function(r,a){return L(this,{generateCoord:"indicator_",generateCoordCount:Infinity})},formatTooltip:function(r){var a=this.getData(),s=this.coordinateSystem,i=s.getIndicatorAxes(),n=this.getData().getName(r);return A(n===""?this.name:n)+"<br/>"+g.map(i,function(l,t){var u=a.get(a.mapDimension(l.dim),r);return A(l.name+" : "+u)}).join("<br />")},getTooltipPosition:function(r){if(r!=null){for(var a=this.getData(),s=this.coordinateSystem,i=a.getValues(g.map(s.dimensions,function(u){return a.mapDimension(u)}),r,!0),n=0,l=i.length;n<l;n++)if(!isNaN(i[n])){var t=s.getIndicatorAxes();return s.coordToPoint(t[n].dataToCoord(i[n]),n)}}},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}}),d=m;te.exports=d},oE7X:function(te,U,e){var y=e("bLfw");y.registerSubTypeDefaulter("timeline",function(){return"slider"})},oIFs:function(te,U,e){},oVpE:function(te,U,e){var y=e("bYtY"),L=e("IwbS"),g=e("mFDi"),v=e("6GrX"),A=v.calculateTextPosition,b=L.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(u,o){var c=o.cx,h=o.cy,f=o.width/2,w=o.height/2;u.moveTo(c,h-w),u.lineTo(c+f,h+w),u.lineTo(c-f,h+w),u.closePath()}}),m=L.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(u,o){var c=o.cx,h=o.cy,f=o.width/2,w=o.height/2;u.moveTo(c,h-w),u.lineTo(c+f,h),u.lineTo(c,h+w),u.lineTo(c-f,h),u.closePath()}}),d=L.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(u,o){var c=o.x,h=o.y,f=o.width/5*3,w=Math.max(f,o.height),x=f/2,I=x*x/(w-x),C=h-w+x+I,N=Math.asin(I/x),S=Math.cos(N)*x,E=Math.sin(N),T=Math.cos(N),D=x*.6,B=x*.7;u.moveTo(c-S,C+I),u.arc(c,C,x,Math.PI-N,Math.PI*2+N),u.bezierCurveTo(c+S-E*D,C+I+T*D,c,h-B,c,h),u.bezierCurveTo(c,h-B,c-S+E*D,C+I+T*D,c-S,C+I),u.closePath()}}),r=L.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(u,o){var c=o.height,h=o.width,f=o.x,w=o.y,x=h/3*2;u.moveTo(f,w),u.lineTo(f+x,w+c),u.lineTo(f,w+c/4*3),u.lineTo(f-x,w+c),u.lineTo(f,w),u.closePath()}}),a={line:L.Line,rect:L.Rect,roundRect:L.Rect,square:L.Rect,circle:L.Circle,diamond:m,pin:d,arrow:r,triangle:b},s={line:function(u,o,c,h,f){f.x1=u,f.y1=o+h/2,f.x2=u+c,f.y2=o+h/2},rect:function(u,o,c,h,f){f.x=u,f.y=o,f.width=c,f.height=h},roundRect:function(u,o,c,h,f){f.x=u,f.y=o,f.width=c,f.height=h,f.r=Math.min(c,h)/4},square:function(u,o,c,h,f){var w=Math.min(c,h);f.x=u,f.y=o,f.width=w,f.height=w},circle:function(u,o,c,h,f){f.cx=u+c/2,f.cy=o+h/2,f.r=Math.min(c,h)/2},diamond:function(u,o,c,h,f){f.cx=u+c/2,f.cy=o+h/2,f.width=c,f.height=h},pin:function(u,o,c,h,f){f.x=u+c/2,f.y=o+h/2,f.width=c,f.height=h},arrow:function(u,o,c,h,f){f.x=u+c/2,f.y=o+h/2,f.width=c,f.height=h},triangle:function(u,o,c,h,f){f.cx=u+c/2,f.cy=o+h/2,f.width=c,f.height=h}},i={};y.each(a,function(u,o){i[o]=new u});var n=L.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(u,o,c){var h=A(u,o,c),f=this.shape;return f&&f.symbolType==="pin"&&o.textPosition==="inside"&&(h.y=c.y+c.height*.4),h},buildPath:function(u,o,c){var h=o.symbolType;if(h!=="none"){var f=i[h];f||(h="rect",f=i[h]),s[h](o.x,o.y,o.width,o.height,f.shape),f.buildPath(u,f.shape,c)}}});function l(u,o){if(this.type!=="image"){var c=this.style,h=this.shape;h&&h.symbolType==="line"?c.stroke=u:this.__isEmptyBrush?(c.stroke=u,c.fill=o||"#fff"):(c.fill&&(c.fill=u),c.stroke&&(c.stroke=u)),this.dirty(!1)}}function t(u,o,c,h,f,w,x){var I=u.indexOf("empty")===0;I&&(u=u.substr(5,1).toLowerCase()+u.substr(6));var C;return u.indexOf("image://")===0?C=L.makeImage(u.slice(8),new g(o,c,h,f),x?"center":"cover"):u.indexOf("path://")===0?C=L.makePath(u.slice(7),{},new g(o,c,h,f),x?"center":"cover"):C=new n({shape:{symbolType:u,x:o,y:c,width:h,height:f}}),C.__isEmptyBrush=I,C.setColor=l,C.setColor(w),C}U.createSymbol=t},oY9F:function(te,U,e){var y=e("OlYY"),L=y.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});te.exports=L},osHv:function(te,U,e){(function(y){y(e("VrN/"))})(function(y){"use strict";var L=y.Pos;function g(o,c){return o.line-c.line||o.ch-c.ch}var v="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",A=v+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",b=new RegExp("<(/?)(["+v+"]["+A+"]*)","g");function m(o,c,h,f){this.line=c,this.ch=h,this.cm=o,this.text=o.getLine(c),this.min=f?Math.max(f.from,o.firstLine()):o.firstLine(),this.max=f?Math.min(f.to-1,o.lastLine()):o.lastLine()}function d(o,c){var h=o.cm.getTokenTypeAt(L(o.line,c));return h&&/\btag\b/.test(h)}function r(o){return o.line>=o.max?void 0:(o.ch=0,o.text=o.cm.getLine(++o.line),!0)}function a(o){return o.line<=o.min?void 0:(o.text=o.cm.getLine(--o.line),o.ch=o.text.length,!0)}function s(o){for(;;){var c=o.text.indexOf(">",o.ch);if(c==-1){if(r(o))continue;return}if(!d(o,c+1)){o.ch=c+1;continue}var h=o.text.lastIndexOf("/",c),f=h>-1&&!/\S/.test(o.text.slice(h+1,c));return o.ch=c+1,f?"selfClose":"regular"}}function i(o){for(;;){var c=o.ch?o.text.lastIndexOf("<",o.ch-1):-1;if(c==-1){if(a(o))continue;return}if(!d(o,c+1)){o.ch=c;continue}b.lastIndex=c,o.ch=c;var h=b.exec(o.text);if(h&&h.index==c)return h}}function n(o){for(;;){b.lastIndex=o.ch;var c=b.exec(o.text);if(!c){if(r(o))continue;return}if(!d(o,c.index+1)){o.ch=c.index+1;continue}return o.ch=c.index+c[0].length,c}}function l(o){for(;;){var c=o.ch?o.text.lastIndexOf(">",o.ch-1):-1;if(c==-1){if(a(o))continue;return}if(!d(o,c+1)){o.ch=c;continue}var h=o.text.lastIndexOf("/",c),f=h>-1&&!/\S/.test(o.text.slice(h+1,c));return o.ch=c+1,f?"selfClose":"regular"}}function t(o,c){for(var h=[];;){var f=n(o),w,x=o.line,I=o.ch-(f?f[0].length:0);if(!f||!(w=s(o)))return;if(w=="selfClose")continue;if(f[1]){for(var C=h.length-1;C>=0;--C)if(h[C]==f[2]){h.length=C;break}if(C<0&&(!c||c==f[2]))return{tag:f[2],from:L(x,I),to:L(o.line,o.ch)}}else h.push(f[2])}}function u(o,c){for(var h=[];;){var f=l(o);if(!f)return;if(f=="selfClose"){i(o);continue}var w=o.line,x=o.ch,I=i(o);if(!I)return;if(I[1])h.push(I[2]);else{for(var C=h.length-1;C>=0;--C)if(h[C]==I[2]){h.length=C;break}if(C<0&&(!c||c==I[2]))return{tag:I[2],from:L(o.line,o.ch),to:L(w,x)}}}}y.registerHelper("fold","xml",function(o,c){for(var h=new m(o,c.line,0);;){var f=n(h);if(!f||h.line!=c.line)return;var w=s(h);if(!w)return;if(!f[1]&&w!="selfClose"){var x=L(h.line,h.ch),I=t(h,f[2]);return I&&g(I.from,x)>0?{from:x,to:I.from}:null}}}),y.findMatchingTag=function(o,c,h){var f=new m(o,c.line,c.ch,h);if(f.text.indexOf(">")==-1&&f.text.indexOf("<")==-1)return;var w=s(f),x=w&&L(f.line,f.ch),I=w&&i(f);if(!w||!I||g(f,c)>0)return;var C={from:L(f.line,f.ch),to:x,tag:I[2]};return w=="selfClose"?{open:C,close:null,at:"open"}:I[1]?{open:u(f,I[2]),close:C,at:"close"}:(f=new m(o,x.line,x.ch,h),{open:C,close:t(f,I[2]),at:"open"})},y.findEnclosingTag=function(o,c,h,f){for(var w=new m(o,c.line,c.ch,h);;){var x=u(w,f);if(!x)break;var I=new m(o,c.line,c.ch,h),C=t(I,x.tag);if(C)return{open:x,close:C}}},y.scanForClosingTag=function(o,c,h,f){var w=new m(o,c.line,c.ch,f?{from:0,to:f}:null);return t(w,h)}})},ozfa:function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("KxFI"),v=e.n(g)},"p+If":function(te,U,e){var y=e("ProS");e("cpOr"),e("rkZ5");var L=e("ZYIC"),g=e("7ph2");y.registerLayout(L),y.registerVisual(g)},"p/La":function(te,U){var e=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function y(L,g){L==="china"&&g.name==="\u53F0\u6E7E"&&g.geometries.push({type:"polygon",exterior:e[0]})}te.exports=y},p1MT:function(te,U,e){var y=e("Hw7h"),L=e("IwbS"),g=e("6Ic6"),v=e("OELB"),A=v.parsePercent,b=v.round,m=v.linearMap;function d(n,l){var t=n.get("center"),u=l.getWidth(),o=l.getHeight(),c=Math.min(u,o),h=A(t[0],l.getWidth()),f=A(t[1],l.getHeight()),w=A(n.get("radius"),c/2);return{cx:h,cy:f,r:w}}function r(n,l){return l&&(typeof l=="string"?n=l.replace("{value}",n!=null?n:""):typeof l=="function"&&(n=l(n))),n}var a=Math.PI*2,s=g.extend({type:"gauge",render:function(n,l,t){this.group.removeAll();var u=n.get("axisLine.lineStyle.color"),o=d(n,t);this._renderMain(n,l,t,u,o)},dispose:function(){},_renderMain:function(n,l,t,u,o){for(var c=this.group,h=n.getModel("axisLine"),f=h.getModel("lineStyle"),w=n.get("clockwise"),x=-n.get("startAngle")/180*Math.PI,I=-n.get("endAngle")/180*Math.PI,C=(I-x)%a,N=x,S=f.get("width"),E=h.get("show"),T=0;E&&T<u.length;T++){var D=Math.min(Math.max(u[T][0],0),1),I=x+C*D,B=new L.Sector({shape:{startAngle:N,endAngle:I,cx:o.cx,cy:o.cy,clockwise:w,r0:o.r-S,r:o.r},silent:!0});B.setStyle({fill:u[T][1]}),B.setStyle(f.getLineStyle(["color","borderWidth","borderColor"])),c.add(B),N=I}var R=function(M){if(M<=0)return u[0][1];for(var K=0;K<u.length;K++)if(u[K][0]>=M&&(K===0?0:u[K-1][0])<M)return u[K][1];return u[K-1][1]};if(!w){var F=x;x=I,I=F}this._renderTicks(n,l,t,R,o,x,I,w),this._renderPointer(n,l,t,R,o,x,I,w),this._renderTitle(n,l,t,R,o),this._renderDetail(n,l,t,R,o)},_renderTicks:function(n,l,t,u,o,c,h,f){for(var w=this.group,x=o.cx,I=o.cy,C=o.r,N=+n.get("min"),S=+n.get("max"),E=n.getModel("splitLine"),T=n.getModel("axisTick"),D=n.getModel("axisLabel"),B=n.get("splitNumber"),R=T.get("splitNumber"),F=A(E.get("length"),C),M=A(T.get("length"),C),K=c,j=(h-c)/B,H=j/R,k=E.getModel("lineStyle").getLineStyle(),P=T.getModel("lineStyle").getLineStyle(),z=0;z<=B;z++){var Y=Math.cos(K),_=Math.sin(K);if(E.get("show")){var G=new L.Line({shape:{x1:Y*C+x,y1:_*C+I,x2:Y*(C-F)+x,y2:_*(C-F)+I},style:k,silent:!0});k.stroke==="auto"&&G.setStyle({stroke:u(z/B)}),w.add(G)}if(D.get("show")){var J=r(b(z/B*(S-N)+N),D.get("formatter")),ue=D.get("distance"),q=u(z/B);w.add(new L.Text({style:L.setTextStyle({},D,{text:J,x:Y*(C-F-ue)+x,y:_*(C-F-ue)+I,textVerticalAlign:_<-.4?"top":_>.4?"bottom":"middle",textAlign:Y<-.4?"left":Y>.4?"right":"center"},{autoColor:q}),silent:!0}))}if(T.get("show")&&z!==B){for(var re=0;re<=R;re++){var Y=Math.cos(K),_=Math.sin(K),me=new L.Line({shape:{x1:Y*C+x,y1:_*C+I,x2:Y*(C-M)+x,y2:_*(C-M)+I},silent:!0,style:P});P.stroke==="auto"&&me.setStyle({stroke:u((z+re/R)/B)}),w.add(me),K+=H}K-=H}else K+=j}},_renderPointer:function(n,l,t,u,o,c,h,f){var w=this.group,x=this._data;if(!n.get("pointer.show")){x&&x.eachItemGraphicEl(function(E){w.remove(E)});return}var I=[+n.get("min"),+n.get("max")],C=[c,h],N=n.getData(),S=N.mapDimension("value");N.diff(x).add(function(E){var T=new y({shape:{angle:c}});L.initProps(T,{shape:{angle:m(N.get(S,E),I,C,!0)}},n),w.add(T),N.setItemGraphicEl(E,T)}).update(function(E,T){var D=x.getItemGraphicEl(T);L.updateProps(D,{shape:{angle:m(N.get(S,E),I,C,!0)}},n),w.add(D),N.setItemGraphicEl(E,D)}).remove(function(E){var T=x.getItemGraphicEl(E);w.remove(T)}).execute(),N.eachItemGraphicEl(function(E,T){var D=N.getItemModel(T),B=D.getModel("pointer");E.setShape({x:o.cx,y:o.cy,width:A(B.get("width"),o.r),r:A(B.get("length"),o.r)}),E.useStyle(D.getModel("itemStyle").getItemStyle()),E.style.fill==="auto"&&E.setStyle("fill",u(m(N.get(S,T),I,[0,1],!0))),L.setHoverStyle(E,D.getModel("emphasis.itemStyle").getItemStyle())}),this._data=N},_renderTitle:function(n,l,t,u,o){var c=n.getData(),h=c.mapDimension("value"),f=n.getModel("title");if(f.get("show")){var w=f.get("offsetCenter"),x=o.cx+A(w[0],o.r),I=o.cy+A(w[1],o.r),C=+n.get("min"),N=+n.get("max"),S=n.getData().get(h,0),E=u(m(S,[C,N],[0,1],!0));this.group.add(new L.Text({silent:!0,style:L.setTextStyle({},f,{x,y:I,text:c.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:E,forceRich:!0})}))}},_renderDetail:function(n,l,t,u,o){var c=n.getModel("detail"),h=+n.get("min"),f=+n.get("max");if(c.get("show")){var w=c.get("offsetCenter"),x=o.cx+A(w[0],o.r),I=o.cy+A(w[1],o.r),C=A(c.get("width"),o.r),N=A(c.get("height"),o.r),S=n.getData(),E=S.get(S.mapDimension("value"),0),T=u(m(E,[h,f],[0,1],!0));this.group.add(new L.Text({silent:!0,style:L.setTextStyle({},c,{x,y:I,text:r(E,c.get("formatter")),textWidth:isNaN(C)?null:C,textHeight:isNaN(N)?null:N,textAlign:"center",textVerticalAlign:"middle"},{autoColor:T,forceRich:!0})}))}}}),i=s;te.exports=i},"p77/":function(te,U,e){},pC0b:function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("xzDV"),v=e.n(g),A=e("5Dmo")},"pED+":function(te,U,e){},pG52:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=L(e("WXVj"));function L(v){return v&&v.__esModule?v:{default:v}}var g=y;U.default=g,te.exports=g},pLH3:function(te,U,e){var y=e("ProS");e("ALo7"),e("TWL2");var L=e("mOdp"),g=e("JLnu"),v=e("0/Rx");y.registerVisual(L("funnel")),y.registerLayout(g),y.registerProcessor(v("funnel"))},pP6R:function(te,U,e){var y=e("ProS"),L="\0_ec_interaction_mutex";function g(m,d,r){var a=b(m);a[d]=r}function v(m,d,r){var a=b(m),s=a[d];s===r&&(a[d]=null)}function A(m,d){return!!b(m)[d]}function b(m){return m[L]||(m[L]={})}y.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),U.take=g,U.release=v,U.isTaken=A},pmaE:function(te,U,e){var y=e("ProS"),L=e("bYtY"),g=e("IwbS"),v=e("DEFe"),A="__seriesMapHighDown",b="__seriesMapCallKey",m=y.extendChartView({type:"map",render:function(a,s,i,n){if(n&&n.type==="mapToggleSelect"&&n.from===this.uid)return;var l=this.group;if(l.removeAll(),a.getHostGeoModel())return;if(n&&n.type==="geoRoam"&&n.componentType==="series"&&n.seriesId===a.id){var t=this._mapDraw;t&&l.add(t.group)}else if(a.needsDrawMap){var t=this._mapDraw||new v(i,!0);l.add(t.group),t.draw(a,s,i,this,n),this._mapDraw=t}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;a.get("showLegendSymbol")&&s.getComponent("legend")&&this._renderSymbols(a,s,i)},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(a,s,i){var n=a.originalData,l=this.group;n.each(n.mapDimension("value"),function(t,u){if(isNaN(t))return;var o=n.getItemLayout(u);if(!o||!o.point)return;var c=o.point,h=o.offset,f=new g.Circle({style:{fill:a.getData().getVisual("color")},shape:{cx:c[0]+h*9,cy:c[1],r:3},silent:!0,z2:8+(h?0:g.Z2_EMPHASIS_LIFT+1)});if(!h){var w=a.mainSeries.getData(),x=n.getName(u),I=w.indexOfName(x),C=n.getItemModel(u),N=C.getModel("label"),S=C.getModel("emphasis.label"),E=w.getItemGraphicEl(I),T=L.retrieve2(a.getFormattedLabel(I,"normal"),x),D=L.retrieve2(a.getFormattedLabel(I,"emphasis"),T),B=E[A],R=Math.random();if(!B){B=E[A]={};var F=L.curry(d,!0),M=L.curry(d,!1);E.on("mouseover",F).on("mouseout",M).on("emphasis",F).on("normal",M)}E[b]=R,L.extend(B,{recordVersion:R,circle:f,labelModel:N,hoverLabelModel:S,emphasisText:D,normalText:T}),r(B,!1)}l.add(f)})}});function d(a){var s=this[A];s&&s.recordVersion===this[b]&&r(s,a)}function r(a,s){var i=a.circle,n=a.labelModel,l=a.hoverLabelModel,t=a.emphasisText,u=a.normalText;s?(i.style.extendFrom(g.setTextStyle({},l,{text:l.get("show")?t:null},{isRectText:!0,useInsideStyle:!1},!0)),i.__mapOriginalZ2=i.z2,i.z2+=g.Z2_EMPHASIS_LIFT):(g.setTextStyle(i.style,n,{text:n.get("show")?u:null,textPosition:n.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),i.dirty(!1),i.__mapOriginalZ2!=null&&(i.z2=i.__mapOriginalZ2,i.__mapOriginalZ2=null))}te.exports=m},pwpV:function(te,U,e){},pzxd:function(te,U,e){var y=e("bYtY"),L=y.retrieve2,g=y.retrieve3,v=y.each,A=y.normalizeCssArray,b=y.isString,m=y.isObject,d=e("6GrX"),r=e("VpOo"),a=e("Xnb7"),s=e("fW2E"),i=e("gut8"),n=i.ContextCachedBy,l=i.WILL_BE_RESTORED,t=d.DEFAULT_FONT,u={left:1,right:1,center:1},o={top:1,bottom:1,middle:1},c=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],h={},f={};function w(z){return x(z),v(z.rich,x),z}function x(z){if(z){z.font=d.makeFont(z);var Y=z.textAlign;Y==="middle"&&(Y="center"),z.textAlign=Y==null||u[Y]?Y:"left";var _=z.textVerticalAlign||z.textBaseline;_==="center"&&(_="middle"),z.textVerticalAlign=_==null||o[_]?_:"top";var G=z.textPadding;G&&(z.textPadding=A(z.textPadding))}}function I(z,Y,_,G,J,ue){G.rich?N(z,Y,_,G,J,ue):C(z,Y,_,G,J,ue)}function C(z,Y,_,G,J,ue){"use strict";var q=D(G),re,me=!1,be=Y.__attrCachedBy===n.PLAIN_TEXT;ue!==l?(ue&&(re=ue.style,me=!q&&be&&re),Y.__attrCachedBy=q?n.NONE:n.PLAIN_TEXT):be&&(Y.__attrCachedBy=n.NONE);var ke=G.font||t;(!me||ke!==(re.font||t))&&(Y.font=ke);var ce=z.__computedFont;z.__styleFont!==ke&&(z.__styleFont=ke,ce=z.__computedFont=Y.font);var Ee=G.textPadding,pe=G.textLineHeight,Se=z.__textCotentBlock;(!Se||z.__dirtyText)&&(Se=z.__textCotentBlock=d.parsePlainText(_,ce,Ee,pe,G.truncate));var st=Se.outerHeight,qe=Se.lines,tt=Se.lineHeight,Dt=F(f,z,G,J),ct=Dt.baseX,St=Dt.baseY,rt=Dt.textAlign||"left",ht=Dt.textVerticalAlign;E(Y,G,J,ct,St);var je=d.adjustTextY(St,st,ht),Me=ct,Ne=je;if(q||Ee){var it=d.getWidth(_,ce),wt=it;Ee&&(wt+=Ee[1]+Ee[3]);var jt=d.adjustTextX(ct,wt,rt);q&&B(z,Y,G,jt,je,wt,st),Ee&&(Me=k(ct,rt,Ee),Ne+=Ee[0])}Y.textAlign=rt,Y.textBaseline="middle",Y.globalAlpha=G.opacity||1;for(var lt=0;lt<c.length;lt++){var Te=c[lt],mt=Te[0],tn=Te[1],Vt=G[mt];(!me||Vt!==re[mt])&&(Y[tn]=s(Y,tn,Vt||Te[2]))}Ne+=tt/2;var Yt=G.textStrokeWidth,Qt=me?re.textStrokeWidth:null,an=!me||Yt!==Qt,on=!me||an||G.textStroke!==re.textStroke,vt=K(G.textStroke,Yt),de=j(G.textFill);if(vt&&(an&&(Y.lineWidth=Yt),on&&(Y.strokeStyle=vt)),de&&((!me||G.textFill!==re.textFill)&&(Y.fillStyle=de)),qe.length===1)vt&&Y.strokeText(qe[0],Me,Ne),de&&Y.fillText(qe[0],Me,Ne);else for(var lt=0;lt<qe.length;lt++)vt&&Y.strokeText(qe[lt],Me,Ne),de&&Y.fillText(qe[lt],Me,Ne),Ne+=tt}function N(z,Y,_,G,J,ue){ue!==l&&(Y.__attrCachedBy=n.NONE);var q=z.__textCotentBlock;(!q||z.__dirtyText)&&(q=z.__textCotentBlock=d.parseRichText(_,G)),S(z,Y,q,G,J)}function S(z,Y,_,G,J){var ue=_.width,q=_.outerWidth,re=_.outerHeight,me=G.textPadding,be=F(f,z,G,J),ke=be.baseX,ce=be.baseY,Ee=be.textAlign,pe=be.textVerticalAlign;E(Y,G,J,ke,ce);var Se=d.adjustTextX(ke,q,Ee),st=d.adjustTextY(ce,re,pe),qe=Se,tt=st;me&&(qe+=me[3],tt+=me[0]);var Dt=qe+ue;D(G)&&B(z,Y,G,Se,st,q,re);for(var ct=0;ct<_.lines.length;ct++){for(var St=_.lines[ct],rt=St.tokens,ht=rt.length,je=St.lineHeight,Me=St.width,Ne=0,it=qe,wt=Dt,jt=ht-1,lt;Ne<ht&&(lt=rt[Ne],!lt.textAlign||lt.textAlign==="left");)T(z,Y,lt,G,je,tt,it,"left"),Me-=lt.width,it+=lt.width,Ne++;for(;jt>=0&&(lt=rt[jt],lt.textAlign==="right");)T(z,Y,lt,G,je,tt,wt,"right"),Me-=lt.width,wt-=lt.width,jt--;for(it+=(ue-(it-qe)-(Dt-wt)-Me)/2;Ne<=jt;)lt=rt[Ne],T(z,Y,lt,G,je,tt,it+lt.width/2,"center"),it+=lt.width,Ne++;tt+=je}}function E(z,Y,_,G,J){if(_&&Y.textRotation){var ue=Y.textOrigin;ue==="center"?(G=_.width/2+_.x,J=_.height/2+_.y):ue&&(G=ue[0]+_.x,J=ue[1]+_.y),z.translate(G,J),z.rotate(-Y.textRotation),z.translate(-G,-J)}}function T(z,Y,_,G,J,ue,q,re){var me=G.rich[_.styleName]||{};me.text=_.text;var be=_.textVerticalAlign,ke=ue+J/2;be==="top"?ke=ue+_.height/2:be==="bottom"&&(ke=ue+J-_.height/2),!_.isLineHolder&&D(me)&&B(z,Y,me,re==="right"?q-_.width:re==="center"?q-_.width/2:q,ke-_.height/2,_.width,_.height);var ce=_.textPadding;ce&&(q=k(q,re,ce),ke-=_.height/2-ce[2]-_.textHeight/2),M(Y,"shadowBlur",g(me.textShadowBlur,G.textShadowBlur,0)),M(Y,"shadowColor",me.textShadowColor||G.textShadowColor||"transparent"),M(Y,"shadowOffsetX",g(me.textShadowOffsetX,G.textShadowOffsetX,0)),M(Y,"shadowOffsetY",g(me.textShadowOffsetY,G.textShadowOffsetY,0)),M(Y,"textAlign",re),M(Y,"textBaseline","middle"),M(Y,"font",_.font||t);var Ee=K(me.textStroke||G.textStroke,Se),pe=j(me.textFill||G.textFill),Se=L(me.textStrokeWidth,G.textStrokeWidth);Ee&&(M(Y,"lineWidth",Se),M(Y,"strokeStyle",Ee),Y.strokeText(_.text,q,ke)),pe&&(M(Y,"fillStyle",pe),Y.fillText(_.text,q,ke))}function D(z){return!!(z.textBackgroundColor||z.textBorderWidth&&z.textBorderColor)}function B(z,Y,_,G,J,ue,q){var re=_.textBackgroundColor,me=_.textBorderWidth,be=_.textBorderColor,ke=b(re);if(M(Y,"shadowBlur",_.textBoxShadowBlur||0),M(Y,"shadowColor",_.textBoxShadowColor||"transparent"),M(Y,"shadowOffsetX",_.textBoxShadowOffsetX||0),M(Y,"shadowOffsetY",_.textBoxShadowOffsetY||0),ke||me&&be){Y.beginPath();var ce=_.textBorderRadius;ce?r.buildPath(Y,{x:G,y:J,width:ue,height:q,r:ce}):Y.rect(G,J,ue,q),Y.closePath()}if(ke)if(M(Y,"fillStyle",re),_.fillOpacity!=null){var Ee=Y.globalAlpha;Y.globalAlpha=_.fillOpacity*_.opacity,Y.fill(),Y.globalAlpha=Ee}else Y.fill();else if(m(re)){var pe=re.image;pe=a.createOrUpdateImage(pe,null,z,R,re),pe&&a.isImageReady(pe)&&Y.drawImage(pe,G,J,ue,q)}if(me&&be)if(M(Y,"lineWidth",me),M(Y,"strokeStyle",be),_.strokeOpacity!=null){var Ee=Y.globalAlpha;Y.globalAlpha=_.strokeOpacity*_.opacity,Y.stroke(),Y.globalAlpha=Ee}else Y.stroke()}function R(z,Y){Y.image=z}function F(z,Y,_,G){var J=_.x||0,ue=_.y||0,q=_.textAlign,re=_.textVerticalAlign;if(G){var me=_.textPosition;if(me instanceof Array)J=G.x+H(me[0],G.width),ue=G.y+H(me[1],G.height);else{var be=Y&&Y.calculateTextPosition?Y.calculateTextPosition(h,_,G):d.calculateTextPosition(h,_,G);J=be.x,ue=be.y,q=q||be.textAlign,re=re||be.textVerticalAlign}var ke=_.textOffset;ke&&(J+=ke[0],ue+=ke[1])}return z=z||{},z.baseX=J,z.baseY=ue,z.textAlign=q,z.textVerticalAlign=re,z}function M(z,Y,_){return z[Y]=s(z,Y,_),z[Y]}function K(z,Y){return z==null||Y<=0||z==="transparent"||z==="none"?null:z.image||z.colorStops?"#000":z}function j(z){return z==null||z==="none"?null:z.image||z.colorStops?"#000":z}function H(z,Y){return typeof z=="string"?z.lastIndexOf("%")>=0?parseFloat(z)/100*Y:parseFloat(z):z}function k(z,Y,_){return Y==="right"?z-_[1]:Y==="center"?z+_[3]/2-_[1]/2:z+_[3]}function P(z,Y){return z!=null&&(z||Y.textBackgroundColor||Y.textBorderWidth&&Y.textBorderColor||Y.textPadding)}U.normalizeTextStyle=w,U.renderText=I,U.getBoxPosition=F,U.getStroke=K,U.getFill=j,U.parsePercent=H,U.needDrawText=P},"q/+u":function(te,U,e){var y=e("ProS"),L=e("9wZj"),g=e("yWXo"),v=e("h8O9");y.extendChartView({type:"scatter",render:function(A,b,m){var d=A.getData(),r=this._updateSymbolDraw(d,A);r.updateData(d,{clipShape:this._getClipShape(A)}),this._finished=!0},incrementalPrepareRender:function(A,b,m){var d=A.getData(),r=this._updateSymbolDraw(d,A);r.incrementalPrepareUpdate(d),this._finished=!1},incrementalRender:function(A,b,m){this._symbolDraw.incrementalUpdate(A,b.getData(),{clipShape:this._getClipShape(b)}),this._finished=A.end===b.getData().count()},updateTransform:function(A,b,m){var d=A.getData();if(this.group.dirty(),!this._finished||d.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var r=v().reset(A);r.progress&&r.progress({start:0,end:d.count()},d),this._symbolDraw.updateLayout(d)},_getClipShape:function(A){var b=A.coordinateSystem,m=b&&b.getArea&&b.getArea();return A.get("clip",!0)?m:null},_updateSymbolDraw:function(A,b){var m=this._symbolDraw,d=b.pipelineContext,r=d.large;return(!m||r!==this._isLargeDraw)&&(m&&m.remove(),m=this._symbolDraw=r?new g:new L,this._isLargeDraw=r,this.group.removeAll()),this.group.add(m.group),m},remove:function(A,b){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},q3GZ:function(te,U){var e=["lineStyle","normal","opacity"],y={seriesType:"parallel",reset:function(L,g,v){var A=L.getModel("itemStyle"),b=L.getModel("lineStyle"),m=g.get("color"),d=b.get("color")||A.get("color")||m[L.seriesIndex%m.length],r=L.get("inactiveOpacity"),a=L.get("activeOpacity"),s=L.getModel("lineStyle").getLineStyle(),i=L.coordinateSystem,n=L.getData(),l={normal:s.opacity,active:a,inactive:r};n.setVisual("color",d);function t(u,o){i.eachActiveState(o,function(c,h){var f=l[c];if(c==="normal"&&o.hasItemOption){var w=o.getItemModel(h).get(e,!0);w!=null&&(f=w)}o.setItemVisual(h,"opacity",f)},u.start,u.end)}return{progress:t}}};te.exports=y},q4HE:function(te,U){var e="\\ud800-\\udfff",y="\\u0300-\\u036f",L="\\ufe20-\\ufe2f",g="\\u20d0-\\u20ff",v=y+L+g,A="\\ufe0e\\ufe0f",b="["+e+"]",m="["+v+"]",d="\\ud83c[\\udffb-\\udfff]",r="(?:"+m+"|"+d+")",a="[^"+e+"]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",i="[\\ud800-\\udbff][\\udc00-\\udfff]",n="\\u200d",l=r+"?",t="["+A+"]?",u="(?:"+n+"(?:"+[a,s,i].join("|")+")"+t+l+")*",o=t+l+u,c="(?:"+[a+m+"?",m,s,i,b].join("|")+")",h=RegExp(d+"(?="+d+")|"+c+o,"g");function f(w){for(var x=h.lastIndex=0;h.test(w);)++x;return x}te.exports=f},qH13:function(te,U,e){var y=e("ItGF"),L=e("QBsz"),g=L.applyTransform,v=e("mFDi"),A=e("Qe9p"),b=e("6GrX"),m=e("pzxd"),d=e("ni6a"),r=e("Gev7"),a=e("Dagg"),s=e("dqUG"),i=e("y+Vt"),n=e("IMiH"),l=e("QuXc"),t=e("06Qe"),u=n.CMD,o=Math.round,c=Math.sqrt,h=Math.abs,f=Math.cos,w=Math.sin,x=Math.max;if(!y.canvasSupported){var I=",",C="progid:DXImageTransform.Microsoft",N=21600,S=N/2,E=1e5,T=1e3,D=function(St){St.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",St.coordsize=N+","+N,St.coordorigin="0,0"},B=function(St){return String(St).replace(/&/g,"&").replace(/"/g,""")},R=function(St,rt,ht){return"rgb("+[St,rt,ht].join(",")+")"},F=function(St,rt){rt&&St&&rt.parentNode!==St&&St.appendChild(rt)},M=function(St,rt){rt&&St&&rt.parentNode===St&&St.removeChild(rt)},K=function(St,rt,ht){return(parseFloat(St)||0)*E+(parseFloat(rt)||0)*T+ht},j=m.parsePercent,H=function(St,rt,ht){var je=A.parse(rt);ht=+ht,isNaN(ht)&&(ht=1),je&&(St.color=R(je[0],je[1],je[2]),St.opacity=ht*je[3])},k=function(St){var rt=A.parse(St);return[R(rt[0],rt[1],rt[2]),rt[3]]},P=function(St,rt,ht){var je=rt.fill;if(je!=null)if(je instanceof l){var Me,Ne=0,it=[0,0],wt=0,jt=1,lt=ht.getBoundingRect(),Te=lt.width,mt=lt.height;if(je.type==="linear"){Me="gradient";var tn=ht.transform,Vt=[je.x*Te,je.y*mt],Yt=[je.x2*Te,je.y2*mt];tn&&(g(Vt,Vt,tn),g(Yt,Yt,tn));var Qt=Yt[0]-Vt[0],an=Yt[1]-Vt[1];Ne=Math.atan2(Qt,an)*180/Math.PI,Ne<0&&(Ne+=360),Ne<1e-6&&(Ne=0)}else{Me="gradientradial";var Vt=[je.x*Te,je.y*mt],tn=ht.transform,on=ht.scale,vt=Te,de=mt;it=[(Vt[0]-lt.x)/vt,(Vt[1]-lt.y)/de],tn&&g(Vt,Vt,tn),vt/=on[0]*N,de/=on[1]*N;var he=x(vt,de);wt=2*0/he,jt=2*je.r/he-wt}var Pt=je.colorStops.slice();Pt.sort(function(Ft,Ye){return Ft.offset-Ye.offset});for(var We=Pt.length,Je=[],Ln=[],jn=0;jn<We;jn++){var Sn=Pt[jn],Xn=k(Sn.color);Ln.push(Sn.offset*jt+wt+" "+Xn[0]),(jn===0||jn===We-1)&&Je.push(Xn)}if(We>=2){var rr=Je[0][0],hr=Je[1][0],gn=Je[0][1]*rt.opacity,vn=Je[1][1]*rt.opacity;St.type=Me,St.method="none",St.focus="100%",St.angle=Ne,St.color=rr,St.color2=hr,St.colors=Ln.join(","),St.opacity=vn,St.opacity2=gn}Me==="radial"&&(St.focusposition=it.join(","))}else H(St,je,rt.opacity)},z=function(St,rt){rt.lineDash&&(St.dashstyle=rt.lineDash.join(" ")),rt.stroke!=null&&!(rt.stroke instanceof l)&&H(St,rt.stroke,rt.opacity)},Y=function(St,rt,ht,je){var Me=rt==="fill",Ne=St.getElementsByTagName(rt)[0];ht[rt]!=null&&ht[rt]!=="none"&&(Me||!Me&&ht.lineWidth)?(St[Me?"filled":"stroked"]="true",ht[rt]instanceof l&&M(St,Ne),Ne||(Ne=t.createNode(rt)),Me?P(Ne,ht,je):z(Ne,ht),F(St,Ne)):(St[Me?"filled":"stroked"]="false",M(St,Ne))},_=[[],[],[]],G=function(St,rt){var ht=u.M,je=u.C,Me=u.L,Ne=u.A,it=u.Q,wt=[],jt,lt,Te,mt,tn,Vt,Yt=St.data,Qt=St.len();for(mt=0;mt<Qt;){Te=Yt[mt++],lt="",jt=0;switch(Te){case ht:lt=" m ",jt=1,tn=Yt[mt++],Vt=Yt[mt++],_[0][0]=tn,_[0][1]=Vt;break;case Me:lt=" l ",jt=1,tn=Yt[mt++],Vt=Yt[mt++],_[0][0]=tn,_[0][1]=Vt;break;case it:case je:lt=" c ",jt=3;var an=Yt[mt++],on=Yt[mt++],vt=Yt[mt++],de=Yt[mt++],he,Pt;Te===it?(he=vt,Pt=de,vt=(vt+2*an)/3,de=(de+2*on)/3,an=(tn+2*an)/3,on=(Vt+2*on)/3):(he=Yt[mt++],Pt=Yt[mt++]),_[0][0]=an,_[0][1]=on,_[1][0]=vt,_[1][1]=de,_[2][0]=he,_[2][1]=Pt,tn=he,Vt=Pt;break;case Ne:var We=0,Je=0,Ln=1,jn=1,Sn=0;rt&&(We=rt[4],Je=rt[5],Ln=c(rt[0]*rt[0]+rt[1]*rt[1]),jn=c(rt[2]*rt[2]+rt[3]*rt[3]),Sn=Math.atan2(-rt[1]/jn,rt[0]/Ln));var Xn=Yt[mt++],rr=Yt[mt++],hr=Yt[mt++],gn=Yt[mt++],vn=Yt[mt++]+Sn,Ft=Yt[mt++]+vn+Sn;mt++;var Ye=Yt[mt++],Pe=Xn+f(vn)*hr,Jt=rr+w(vn)*gn,an=Xn+f(Ft)*hr,on=rr+w(Ft)*gn,bn=Ye?" wa ":" at ";Math.abs(Pe-an)<1e-4&&(Math.abs(Ft-vn)>.01?Ye&&(Pe+=270/N):Math.abs(Jt-rr)<1e-4?Ye&&Pe<Xn||!Ye&&Pe>Xn?on-=270/N:on+=270/N:Ye&&Jt<rr||!Ye&&Jt>rr?an+=270/N:an-=270/N),wt.push(bn,o(((Xn-hr)*Ln+We)*N-S),I,o(((rr-gn)*jn+Je)*N-S),I,o(((Xn+hr)*Ln+We)*N-S),I,o(((rr+gn)*jn+Je)*N-S),I,o((Pe*Ln+We)*N-S),I,o((Jt*jn+Je)*N-S),I,o((an*Ln+We)*N-S),I,o((on*jn+Je)*N-S)),tn=an,Vt=on;break;case u.R:var An=_[0],dn=_[1];An[0]=Yt[mt++],An[1]=Yt[mt++],dn[0]=An[0]+Yt[mt++],dn[1]=An[1]+Yt[mt++],rt&&(g(An,An,rt),g(dn,dn,rt)),An[0]=o(An[0]*N-S),dn[0]=o(dn[0]*N-S),An[1]=o(An[1]*N-S),dn[1]=o(dn[1]*N-S),wt.push(" m ",An[0],I,An[1]," l ",dn[0],I,An[1]," l ",dn[0],I,dn[1]," l ",An[0],I,dn[1]);break;case u.Z:wt.push(" x ")}if(jt>0){wt.push(lt);for(var vr=0;vr<jt;vr++){var qn=_[vr];rt&&g(qn,qn,rt),wt.push(o(qn[0]*N-S),I,o(qn[1]*N-S),vr<jt-1?I:"")}}}return wt.join("")};i.prototype.brushVML=function(ct){var St=this.style,rt=this._vmlEl;rt||(rt=t.createNode("shape"),D(rt),this._vmlEl=rt),Y(rt,"fill",St,this),Y(rt,"stroke",St,this);var ht=this.transform,je=ht!=null,Me=rt.getElementsByTagName("stroke")[0];if(Me){var Ne=St.lineWidth;if(je&&!St.strokeNoScale){var it=ht[0]*ht[3]-ht[1]*ht[2];Ne*=c(h(it))}Me.weight=Ne+"px"}var wt=this.path||(this.path=new n);this.__dirtyPath&&(wt.beginPath(),wt.subPixelOptimize=!1,this.buildPath(wt,this.shape),wt.toStatic(),this.__dirtyPath=!1),rt.path=G(wt,this.transform),rt.style.zIndex=K(this.zlevel,this.z,this.z2),F(ct,rt),St.text!=null?this.drawRectText(ct,this.getBoundingRect()):this.removeRectText(ct)},i.prototype.onRemove=function(ct){M(ct,this._vmlEl),this.removeRectText(ct)},i.prototype.onAdd=function(ct){F(ct,this._vmlEl),this.appendRectText(ct)};var J=function(St){return typeof St=="object"&&St.tagName&&St.tagName.toUpperCase()==="IMG"};a.prototype.brushVML=function(ct){var St=this.style,rt=St.image,ht,je;if(J(rt)){var Me=rt.src;if(Me===this._imageSrc)ht=this._imageWidth,je=this._imageHeight;else{var Ne=rt.runtimeStyle,it=Ne.width,wt=Ne.height;Ne.width="auto",Ne.height="auto",ht=rt.width,je=rt.height,Ne.width=it,Ne.height=wt,this._imageSrc=Me,this._imageWidth=ht,this._imageHeight=je}rt=Me}else rt===this._imageSrc&&(ht=this._imageWidth,je=this._imageHeight);if(!rt)return;var jt=St.x||0,lt=St.y||0,Te=St.width,mt=St.height,tn=St.sWidth,Vt=St.sHeight,Yt=St.sx||0,Qt=St.sy||0,an=tn&&Vt,on=this._vmlEl;on||(on=t.doc.createElement("div"),D(on),this._vmlEl=on);var vt=on.style,de=!1,he,Pt=1,We=1;if(this.transform&&(he=this.transform,Pt=c(he[0]*he[0]+he[1]*he[1]),We=c(he[2]*he[2]+he[3]*he[3]),de=he[1]||he[2]),de){var Je=[jt,lt],Ln=[jt+Te,lt],jn=[jt,lt+mt],Sn=[jt+Te,lt+mt];g(Je,Je,he),g(Ln,Ln,he),g(jn,jn,he),g(Sn,Sn,he);var Xn=x(Je[0],Ln[0],jn[0],Sn[0]),rr=x(Je[1],Ln[1],jn[1],Sn[1]),hr=[];hr.push("M11=",he[0]/Pt,I,"M12=",he[2]/We,I,"M21=",he[1]/Pt,I,"M22=",he[3]/We,I,"Dx=",o(jt*Pt+he[4]),I,"Dy=",o(lt*We+he[5])),vt.padding="0 "+o(Xn)+"px "+o(rr)+"px 0",vt.filter=C+".Matrix("+hr.join("")+", SizingMethod=clip)"}else he&&(jt=jt*Pt+he[4],lt=lt*We+he[5]),vt.filter="",vt.left=o(jt)+"px",vt.top=o(lt)+"px";var gn=this._imageEl,vn=this._cropEl;gn||(gn=t.doc.createElement("div"),this._imageEl=gn);var Ft=gn.style;if(an){if(ht&&je)Ft.width=o(Pt*ht*Te/tn)+"px",Ft.height=o(We*je*mt/Vt)+"px";else{var Ye=new Image,Pe=this;Ye.onload=function(){Ye.onload=null,ht=Ye.width,je=Ye.height,Ft.width=o(Pt*ht*Te/tn)+"px",Ft.height=o(We*je*mt/Vt)+"px",Pe._imageWidth=ht,Pe._imageHeight=je,Pe._imageSrc=rt},Ye.src=rt}vn||(vn=t.doc.createElement("div"),vn.style.overflow="hidden",this._cropEl=vn);var Jt=vn.style;Jt.width=o((Te+Yt*Te/tn)*Pt),Jt.height=o((mt+Qt*mt/Vt)*We),Jt.filter=C+".Matrix(Dx="+-Yt*Te/tn*Pt+",Dy="+-Qt*mt/Vt*We+")",vn.parentNode||on.appendChild(vn),gn.parentNode!==vn&&vn.appendChild(gn)}else Ft.width=o(Pt*Te)+"px",Ft.height=o(We*mt)+"px",on.appendChild(gn),vn&&vn.parentNode&&(on.removeChild(vn),this._cropEl=null);var bn="",An=St.opacity;An<1&&(bn+=".Alpha(opacity="+o(An*100)+") "),bn+=C+".AlphaImageLoader(src="+rt+", SizingMethod=scale)",Ft.filter=bn,on.style.zIndex=K(this.zlevel,this.z,this.z2),F(ct,on),St.text!=null&&this.drawRectText(ct,this.getBoundingRect())},a.prototype.onRemove=function(ct){M(ct,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(ct)},a.prototype.onAdd=function(ct){F(ct,this._vmlEl),this.appendRectText(ct)};var ue="normal",q={},re=0,me=100,be=document.createElement("div"),ke=function(St){var rt=q[St];if(!rt){re>me&&(re=0,q={});var ht=be.style,je;try{ht.font=St,je=ht.fontFamily.split(",")[0]}catch(Me){}rt={style:ht.fontStyle||ue,variant:ht.fontVariant||ue,weight:ht.fontWeight||ue,size:parseFloat(ht.fontSize||12)|0,family:je||"Microsoft YaHei"},q[St]=rt,re++}return rt},ce;b.$override("measureText",function(ct,St){var rt=t.doc;ce||(ce=rt.createElement("div"),ce.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",t.doc.body.appendChild(ce));try{ce.style.font=St}catch(ht){}return ce.innerHTML="",ce.appendChild(rt.createTextNode(ct)),{width:ce.offsetWidth}});for(var Ee=new v,pe=function(St,rt,ht,je){var Me=this.style;this.__dirty&&m.normalizeTextStyle(Me,!0);var Ne=Me.text;if(Ne!=null&&(Ne+=""),!Ne)return;if(Me.rich){var it=b.parseRichText(Ne,Me);Ne=[];for(var wt=0;wt<it.lines.length;wt++){for(var jt=it.lines[wt].tokens,lt=[],Te=0;Te<jt.length;Te++)lt.push(jt[Te].text);Ne.push(lt.join(""))}Ne=Ne.join(`
|
|
|
`)}var mt,tn,Vt=Me.textAlign,Yt=Me.textVerticalAlign,Qt=ke(Me.font),an=Qt.style+" "+Qt.variant+" "+Qt.weight+" "+Qt.size+'px "'+Qt.family+'"';ht=ht||b.getBoundingRect(Ne,an,Vt,Yt,Me.textPadding,Me.textLineHeight);var on=this.transform;if(on&&!je&&(Ee.copy(rt),Ee.applyTransform(on),rt=Ee),je)mt=rt.x,tn=rt.y;else{var vt=Me.textPosition;if(vt instanceof Array)mt=rt.x+j(vt[0],rt.width),tn=rt.y+j(vt[1],rt.height),Vt=Vt||"left";else{var de=this.calculateTextPosition?this.calculateTextPosition({},Me,rt):b.calculateTextPosition({},Me,rt);mt=de.x,tn=de.y,Vt=Vt||de.textAlign,Yt=Yt||de.textVerticalAlign}}mt=b.adjustTextX(mt,ht.width,Vt),tn=b.adjustTextY(tn,ht.height,Yt),tn+=ht.height/2;var he=t.createNode,Pt=this._textVmlEl,We,Je,Ln;Pt?(Ln=Pt.firstChild,We=Ln.nextSibling,Je=We.nextSibling):(Pt=he("line"),We=he("path"),Je=he("textpath"),Ln=he("skew"),Je.style["v-text-align"]="left",D(Pt),We.textpathok=!0,Je.on=!0,Pt.from="0 0",Pt.to="1000 0.05",F(Pt,Ln),F(Pt,We),F(Pt,Je),this._textVmlEl=Pt);var jn=[mt,tn],Sn=Pt.style;on&&je?(g(jn,jn,on),Ln.on=!0,Ln.matrix=on[0].toFixed(3)+I+on[2].toFixed(3)+I+on[1].toFixed(3)+I+on[3].toFixed(3)+",0,0",Ln.offset=(o(jn[0])||0)+","+(o(jn[1])||0),Ln.origin="0 0",Sn.left="0px",Sn.top="0px"):(Ln.on=!1,Sn.left=o(mt)+"px",Sn.top=o(tn)+"px"),Je.string=B(Ne);try{Je.style.font=an}catch(Xn){}Y(Pt,"fill",{fill:Me.textFill,opacity:Me.opacity},this),Y(Pt,"stroke",{stroke:Me.textStroke,opacity:Me.opacity,lineDash:Me.lineDash||null},this),Pt.style.zIndex=K(this.zlevel,this.z,this.z2),F(St,Pt)},Se=function(St){M(St,this._textVmlEl),this._textVmlEl=null},st=function(St){F(St,this._textVmlEl)},qe=[d,r,a,i,s],tt=0;tt<qe.length;tt++){var Dt=qe[tt].prototype;Dt.drawRectText=pe,Dt.removeRectText=Se,Dt.appendRectText=st}s.prototype.brushVML=function(ct){var St=this.style;St.text!=null?this.drawRectText(ct,{x:St.x||0,y:St.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(ct)},s.prototype.onRemove=function(ct){this.removeRectText(ct)},s.prototype.onAdd=function(ct){this.appendRectText(ct)}}},qJCg:function(te,U,e){var y=e("BlVb"),L=e("mFDi"),g=e("IwbS"),v=g.linePolygonIntersect,A={lineX:b(0),lineY:b(1),rect:{point:function(r,a,s){return r&&s.boundingRect.contain(r[0],r[1])},rect:function(r,a,s){return r&&s.boundingRect.intersect(r)}},polygon:{point:function(r,a,s){return r&&s.boundingRect.contain(r[0],r[1])&&y.contain(s.range,r[0],r[1])},rect:function(r,a,s){var i=s.range;if(!r||i.length<=1)return!1;var n=r.x,l=r.y,t=r.width,u=r.height,o=i[0];if(y.contain(i,n,l)||y.contain(i,n+t,l)||y.contain(i,n,l+u)||y.contain(i,n+t,l+u)||L.create(r).contain(o[0],o[1])||v(n,l,n+t,l,i)||v(n,l,n,l+u,i)||v(n+t,l,n+t,l+u,i)||v(n,l+u,n+t,l+u,i))return!0}}};function b(r){var a=["x","y"],s=["width","height"];return{point:function(i,n,l){if(i){var t=l.range,u=i[r];return m(u,t)}},rect:function(i,n,l){if(i){var t=l.range,u=[i[a[r]],i[a[r]]+i[s[r]]];return u[1]<u[0]&&u.reverse(),m(u[0],t)||m(u[1],t)||m(t[0],u)||m(t[1],u)}}}}function m(r,a){return a[0]<=r&&r<=a[1]}var d=A;te.exports=d},qMZE:function(te,U,e){var y=e("JEkh"),L=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}}}});te.exports=L},qNPg:function(te,U,e){"use strict";e.d(U,"a",function(){return _});var y=e("rePB"),L=e("VTBJ"),g=e("KQm4"),v=e("ODXe"),A=e("Ff2n"),b=e("q1tI"),m=e("4IlW"),d=e("TSYQ"),r=e.n(d),a=e("6cGi"),s=e("bX4T"),i=e("8XRh"),n=e("8OUc"),l=e("c+Xe"),t=function(J,ue){var q=J.prefixCls,re=J.id,me=J.inputElement,be=J.disabled,ke=J.tabIndex,ce=J.autoFocus,Ee=J.autoComplete,pe=J.editable,Se=J.accessibilityIndex,st=J.value,qe=J.onKeyDown,tt=J.onMouseDown,Dt=J.onChange,ct=J.onPaste,St=J.onCompositionStart,rt=J.onCompositionEnd,ht=J.open,je=J.attrs,Me=me||b.createElement("input",null),Ne=Me,it=Ne.ref,wt=Ne.props,jt=wt.onKeyDown,lt=wt.onChange,Te=wt.onMouseDown,mt=wt.onCompositionStart,tn=wt.onCompositionEnd,Vt=wt.style;return Me=b.cloneElement(Me,Object(L.a)(Object(L.a)({id:re,ref:Object(l.a)(ue,it),disabled:be,tabIndex:ke,autoComplete:Ee||"off",autoFocus:ce,className:"".concat(q,"-selection-search-input"),style:Object(L.a)(Object(L.a)({},Vt),{},{opacity:pe?null:0}),role:"combobox","aria-expanded":ht,"aria-haspopup":"listbox","aria-owns":"".concat(re,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(re,"_list"),"aria-activedescendant":"".concat(re,"_list_").concat(Se)},je),{},{value:pe?st:"",readOnly:!pe,unselectable:pe?null:"on",onKeyDown:function(Qt){qe(Qt),jt&&jt(Qt)},onMouseDown:function(Qt){tt(Qt),Te&&Te(Qt)},onChange:function(Qt){Dt(Qt),lt&<(Qt)},onCompositionStart:function(Qt){St(Qt),mt&&mt(Qt)},onCompositionEnd:function(Qt){rt(Qt),tn&&tn(Qt)},onPaste:ct})),Me},u=b.forwardRef(t);u.displayName="Input";var o=u,c=e("WKfj");function h(G,J){c.b?b.useLayoutEffect(G,J):b.useEffect(G,J)}var f="__RC_SELECT_MAX_REST_COUNT__",w=function(J){var ue=J.id,q=J.prefixCls,re=J.values,me=J.open,be=J.searchValue,ke=J.inputRef,ce=J.placeholder,Ee=J.disabled,pe=J.mode,Se=J.showSearch,st=J.autoFocus,qe=J.autoComplete,tt=J.accessibilityIndex,Dt=J.tabIndex,ct=J.removeIcon,St=J.choiceTransitionName,rt=J.maxTagCount,ht=J.maxTagTextLength,je=J.maxTagPlaceholder,Me=je===void 0?function(Xn){return"+ ".concat(Xn.length," ...")}:je,Ne=J.tagRender,it=J.onSelect,wt=J.onInputChange,jt=J.onInputPaste,lt=J.onInputKeyDown,Te=J.onInputMouseDown,mt=J.onInputCompositionStart,tn=J.onInputCompositionEnd,Vt=b.useState(!1),Yt=Object(v.a)(Vt,2),Qt=Yt[0],an=Yt[1],on=b.useRef(null),vt=b.useState(0),de=Object(v.a)(vt,2),he=de[0],Pt=de[1];b.useEffect(function(){an(!0)},[]);var We=me||pe==="tags"?be:"",Je=pe==="tags"||me&&Se;h(function(){Pt(on.current.scrollWidth)},[We]);var Ln=re,jn;typeof rt=="number"&&(jn=re.length-rt,Ln=re.slice(0,rt)),typeof ht=="number"&&(Ln=Ln.map(function(Xn){var rr=Xn.label,hr=Object(A.a)(Xn,["label"]),gn=rr;if(typeof rr=="string"||typeof rr=="number"){var vn=String(gn);vn.length>ht&&(gn="".concat(vn.slice(0,ht),"..."))}return Object(L.a)(Object(L.a)({},hr),{},{label:gn})})),jn>0&&Ln.push({key:f,label:typeof Me=="function"?Me(re.slice(rt)):Me});var Sn=b.createElement(i.CSSMotionList,{component:!1,keys:Ln,motionName:St,motionAppear:Qt},function(Xn){var rr=Xn.key,hr=Xn.label,gn=Xn.value,vn=Xn.disabled,Ft=Xn.className,Ye=Xn.style,Pe=rr||gn,Jt=rr!==f&&!vn,bn=function(vr){vr.preventDefault(),vr.stopPropagation()},An=function(vr){vr&&vr.stopPropagation(),it(gn,{selected:!1})};return typeof Ne=="function"?b.createElement("span",{key:Pe,onMouseDown:bn,className:Ft,style:Ye},Ne({label:hr,value:gn,disabled:vn,closable:Jt,onClose:An})):b.createElement("span",{key:Pe,className:r()(Ft,"".concat(q,"-selection-item"),Object(y.a)({},"".concat(q,"-selection-item-disabled"),vn)),style:Ye},b.createElement("span",{className:"".concat(q,"-selection-item-content")},hr),Jt&&b.createElement(n.a,{className:"".concat(q,"-selection-item-remove"),onMouseDown:bn,onClick:An,customizeIcon:ct},"\xD7"))});return b.createElement(b.Fragment,null,Sn,b.createElement("span",{className:"".concat(q,"-selection-search"),style:{width:he}},b.createElement(o,{ref:ke,open:me,prefixCls:q,id:ue,inputElement:null,disabled:Ee,autoFocus:st,autoComplete:qe,editable:Je,accessibilityIndex:tt,value:We,onKeyDown:lt,onMouseDown:Te,onChange:wt,onPaste:jt,onCompositionStart:mt,onCompositionEnd:tn,tabIndex:Dt,attrs:Object(s.a)(J,!0)}),b.createElement("span",{ref:on,className:"".concat(q,"-selection-search-mirror"),"aria-hidden":!0},We,"\xA0")),!re.length&&!We&&b.createElement("span",{className:"".concat(q,"-selection-placeholder")},ce))},x=w,I=function(J){var ue=J.inputElement,q=J.prefixCls,re=J.id,me=J.inputRef,be=J.disabled,ke=J.autoFocus,ce=J.autoComplete,Ee=J.accessibilityIndex,pe=J.mode,Se=J.open,st=J.values,qe=J.placeholder,tt=J.tabIndex,Dt=J.showSearch,ct=J.searchValue,St=J.activeValue,rt=J.onInputKeyDown,ht=J.onInputMouseDown,je=J.onInputChange,Me=J.onInputPaste,Ne=J.onInputCompositionStart,it=J.onInputCompositionEnd,wt=b.useState(!1),jt=Object(v.a)(wt,2),lt=jt[0],Te=jt[1],mt=pe==="combobox",tn=mt||Dt&&Se,Vt=st[0],Yt=ct||"";mt&&St&&!lt&&(Yt=St),b.useEffect(function(){mt&&Te(!1)},[mt,St]);var Qt=pe!=="combobox"&&!Se?!1:!!Yt,an=Vt&&(typeof Vt.label=="string"||typeof Vt.label=="number")?Vt.label.toString():void 0;return b.createElement(b.Fragment,null,b.createElement("span",{className:"".concat(q,"-selection-search")},b.createElement(o,{ref:me,prefixCls:q,id:re,open:Se,inputElement:ue,disabled:be,autoFocus:ke,autoComplete:ce,editable:tn,accessibilityIndex:Ee,value:Yt,onKeyDown:rt,onMouseDown:ht,onChange:function(vt){Te(!0),je(vt)},onPaste:Me,onCompositionStart:Ne,onCompositionEnd:it,tabIndex:tt,attrs:Object(s.a)(J,!0)})),!mt&&Vt&&!Qt&&b.createElement("span",{className:"".concat(q,"-selection-item"),title:an},Vt.label),!Vt&&!Qt&&b.createElement("span",{className:"".concat(q,"-selection-placeholder")},qe))},C=I;function N(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,J=b.useRef(null),ue=b.useRef(null);b.useEffect(function(){return function(){window.clearTimeout(ue.current)}},[]);function q(re){(re||J.current===null)&&(J.current=re),window.clearTimeout(ue.current),ue.current=window.setTimeout(function(){J.current=null},G)}return[function(){return J.current},q]}var S=function(J,ue){var q=Object(b.useRef)(null),re=Object(b.useRef)(!1),me=J.prefixCls,be=J.multiple,ke=J.open,ce=J.mode,Ee=J.showSearch,pe=J.tokenWithEnter,Se=J.onSearch,st=J.onSearchSubmit,qe=J.onToggleOpen,tt=J.onInputKeyDown,Dt=J.domRef;b.useImperativeHandle(ue,function(){return{focus:function(){q.current.focus()},blur:function(){q.current.blur()}}});var ct=N(0),St=Object(v.a)(ct,2),rt=St[0],ht=St[1],je=function(Qt){var an=Qt.which;(an===m.a.UP||an===m.a.DOWN)&&Qt.preventDefault(),tt&&tt(Qt),an===m.a.ENTER&&ce==="tags"&&!re.current&&!ke&&st(Qt.target.value),[m.a.SHIFT,m.a.TAB,m.a.BACKSPACE,m.a.ESC].includes(an)||qe(!0)},Me=function(){ht(!0)},Ne=Object(b.useRef)(null),it=function(Qt){Se(Qt,!0,re.current)!==!1&&qe(!0)},wt=function(){re.current=!0},jt=function(){re.current=!1},lt=function(Qt){var an=Qt.target.value;if(pe&&Ne.current&&/[\r\n]/.test(Ne.current)){var on=Ne.current.replace(/\r\n/g," ").replace(/[\r\n]/g," ");an=an.replace(on,Ne.current)}Ne.current=null,it(an)},Te=function(Qt){var an=Qt.clipboardData,on=an.getData("text");Ne.current=on},mt=function(Qt){var an=rt();if(Qt.target!==q.current){an||Qt.preventDefault();var on=document.body.style.msTouchAction!==void 0;on?setTimeout(function(){q.current.focus()}):q.current.focus()}(ce!=="combobox"&&(!Ee||!an)||!ke)&&(ke&&Se("",!0,!1),qe())},tn={inputRef:q,onInputKeyDown:je,onInputMouseDown:Me,onInputChange:lt,onInputPaste:Te,onInputCompositionStart:wt,onInputCompositionEnd:jt},Vt=be?b.createElement(x,Object.assign({},J,tn)):b.createElement(C,Object.assign({},J,tn));return b.createElement("div",{ref:Dt,className:"".concat(me,"-selector"),onMouseDown:mt},Vt)},E=b.forwardRef(S);E.displayName="Selector";var T=E,D=e("uciX"),B=function(J){var ue=typeof J!="number"?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:ue,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:ue,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:ue,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:ue,adjustY:1}}}},R=function(J,ue){var q=J.prefixCls,re=J.disabled,me=J.visible,be=J.children,ke=J.popupElement,ce=J.containerWidth,Ee=J.animation,pe=J.transitionName,Se=J.dropdownStyle,st=J.dropdownClassName,qe=J.direction,tt=qe===void 0?"ltr":qe,Dt=J.dropdownMatchSelectWidth,ct=Dt===void 0?!0:Dt,St=J.dropdownRender,rt=J.dropdownAlign,ht=J.getPopupContainer,je=J.empty,Me=J.getTriggerDOMNode,Ne=Object(A.a)(J,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode"]),it="".concat(q,"-dropdown"),wt=ke;St&&(wt=St(ke));var jt=b.useMemo(function(){return B(ct)},[ct]),lt=Ee?"".concat(it,"-").concat(Ee):pe,Te=b.useRef(null);b.useImperativeHandle(ue,function(){return{getPopupElement:function(){return Te.current}}});var mt=Object(L.a)({minWidth:ce},Se);return typeof ct=="number"?mt.width=ct:ct&&(mt.width=ce),b.createElement(D.a,Object.assign({},Ne,{showAction:[],hideAction:[],popupPlacement:tt==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:jt,prefixCls:it,popupTransitionName:lt,popup:b.createElement("div",{ref:Te},wt),popupAlign:rt,popupVisible:me,getPopupContainer:ht,popupClassName:r()(st,Object(y.a)({},"".concat(it,"-empty"),je)),popupStyle:mt,getTriggerDOMNode:Me}),be)},F=b.forwardRef(R);F.displayName="SelectTrigger";var M=F,K=e("wPlo");function j(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,J=b.useState(!1),ue=Object(v.a)(J,2),q=ue[0],re=ue[1],me=b.useRef(null),be=function(){window.clearTimeout(me.current)};b.useEffect(function(){return be},[]);var ke=function(Ee,pe){be(),me.current=window.setTimeout(function(){re(Ee),pe&&pe()},G)};return[q,ke,be]}var H=e("2Qr1");function k(G,J,ue){var q=b.useRef(null);q.current={elements:G.filter(function(re){return re}),open:J,triggerOpen:ue},b.useEffect(function(){function re(me){var be=me.target;q.current.open&&q.current.elements.every(function(ke){return!ke.contains(be)&&ke!==be})&&q.current.triggerOpen(!1)}return window.addEventListener("mousedown",re),function(){return window.removeEventListener("mousedown",re)}},[])}function P(G){var J=b.useRef(G),ue=b.useMemo(function(){var q=new Map;J.current.forEach(function(me){var be=me.value,ke=me.label;be!==ke&&q.set(be,ke)});var re=G.map(function(me){var be=q.get(me.value);return me.value===me.label&&be?Object(L.a)(Object(L.a)({},me),{},{label:be}):me});return J.current=re,re},[G]);return ue}function z(G,J){var ue=b.useRef(null),q=b.useMemo(function(){var me=new Map;return J.forEach(function(be){var ke=be.data.value;me.set(ke,be)}),me},[G,J]);ue.current=q;var re=function(be){return be.map(function(ke){return ue.current.get(ke)}).filter(Boolean)};return re}var Y=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown"];function _(G){var J=G.prefixCls,ue=G.components.optionList,q=G.convertChildrenToData,re=G.flattenOptions,me=G.getLabeledValue,be=G.filterOptions,ke=G.isValueDisabled,ce=G.findValueOption,Ee=G.warningProps,pe=G.fillOptionsWithMissingValue,Se=G.omitDOMProps;function st(tt,Dt){var ct,St=tt.prefixCls,rt=St===void 0?J:St,ht=tt.className,je=tt.id,Me=tt.open,Ne=tt.defaultOpen,it=tt.options,wt=tt.children,jt=tt.mode,lt=tt.value,Te=tt.defaultValue,mt=tt.labelInValue,tn=tt.showSearch,Vt=tt.inputValue,Yt=tt.searchValue,Qt=tt.filterOption,an=tt.optionFilterProp,on=an===void 0?"value":an,vt=tt.autoClearSearchValue,de=vt===void 0?!0:vt,he=tt.onSearch,Pt=tt.allowClear,We=tt.clearIcon,Je=tt.showArrow,Ln=tt.inputIcon,jn=tt.menuItemSelectedIcon,Sn=tt.disabled,Xn=tt.loading,rr=tt.defaultActiveFirstOption,hr=tt.notFoundContent,gn=hr===void 0?"Not Found":hr,vn=tt.optionLabelProp,Ft=tt.backfill,Ye=tt.getInputElement,Pe=tt.getPopupContainer,Jt=tt.listHeight,bn=Jt===void 0?200:Jt,An=tt.listItemHeight,dn=An===void 0?20:An,vr=tt.animation,qn=tt.transitionName,Ur=tt.virtual,Ue=tt.dropdownStyle,He=tt.dropdownClassName,se=tt.dropdownMatchSelectWidth,Ae=tt.dropdownRender,Oe=tt.dropdownAlign,ze=tt.showAction,Rt=ze===void 0?[]:ze,Et=tt.direction,_t=tt.tokenSeparators,Nn=tt.tagRender,Mn=tt.onPopupScroll,lr=tt.onDropdownVisibleChange,Lt=tt.onFocus,$e=tt.onBlur,Qe=tt.onKeyUp,kt=tt.onKeyDown,Ht=tt.onMouseDown,ot=tt.onChange,Ct=tt.onSelect,nt=tt.onDeselect,Ot=tt.onClear,sn=tt.internalProps,Zt=sn===void 0?{}:sn,Gt=Object(A.a)(tt,["prefixCls","className","id","open","defaultOpen","options","children","mode","value","defaultValue","labelInValue","showSearch","inputValue","searchValue","filterOption","optionFilterProp","autoClearSearchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","menuItemSelectedIcon","disabled","loading","defaultActiveFirstOption","notFoundContent","optionLabelProp","backfill","getInputElement","getPopupContainer","listHeight","listItemHeight","animation","transitionName","virtual","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","showAction","direction","tokenSeparators","tagRender","onPopupScroll","onDropdownVisibleChange","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown","onChange","onSelect","onDeselect","onClear","internalProps"]),Qn=Zt.mark===K.a,Gn=Se?Se(Gt):Gt;Y.forEach(function(Wr){delete Gn[Wr]});var Or=Object(b.useRef)(null),Nr=Object(b.useRef)(null),Kr=Object(b.useRef)(null),ei=Object(b.useRef)(null),vi=Object(b.useMemo)(function(){return(_t||[]).some(function(Wr){return[`
|
|
|
`,`\r
|
|
|
`].includes(Wr)})},[_t]),Pi=j(),Be=Object(v.a)(Pi,3),le=Be[0],ye=Be[1],xe=Be[2],De=Object(b.useState)(),Le=Object(v.a)(De,2),Fe=Le[0],at=Le[1];Object(b.useEffect)(function(){at("rc_select_".concat(Object(c.a)()))},[]);var Ve=je||Fe,It=vn;It===void 0&&(It=it?"label":"children");var pn=jt==="combobox"?!1:mt,rn=jt==="tags"||jt==="multiple",Tn=tn!==void 0?tn:rn||jt==="combobox",Nt=Object(b.useRef)(null);b.useImperativeHandle(Dt,function(){return{focus:Kr.current.focus,blur:Kr.current.blur}});var ur=Object(a.a)(Te,{value:lt}),Xt=Object(v.a)(ur,2),Kn=Xt[0],Fn=Xt[1],un=Object(b.useMemo)(function(){return Object(c.e)(Kn,{labelInValue:pn,combobox:jt==="combobox"})},[Kn,pn]),Sr=Object(b.useMemo)(function(){return new Set(un)},[un]),Fr=Object(b.useState)(null),ii=Object(v.a)(Fr,2),oi=ii[0],ti=ii[1],bi=Object(b.useState)(""),Mr=Object(v.a)(bi,2),Oi=Mr[0],Ar=Mr[1],Wn=Oi;jt==="combobox"&&Kn!==void 0?Wn=Kn:Yt!==void 0?Wn=Yt:Vt&&(Wn=Vt);var xr=Object(b.useMemo)(function(){var Wr=it;return Wr===void 0&&(Wr=q(wt)),jt==="tags"&&pe&&(Wr=pe(Wr,Kn,It,mt)),Wr||[]},[it,wt,jt,Kn]),er=Object(b.useMemo)(function(){return re(xr,tt)},[xr]),ci=z(un,er),qr=Object(b.useMemo)(function(){if(!Wn||!Tn)return Object(g.a)(xr);var Wr=be(Wn,xr,{optionFilterProp:on,filterOption:jt==="combobox"&&Qt===void 0?function(){return!0}:Qt});return jt==="tags"&&Wr.every(function(Ri){return Ri[on]!==Wn})&&Wr.unshift({value:Wn,label:Wn,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),Wr},[xr,Wn,jt,Tn]),wi=Object(b.useMemo)(function(){return re(qr,tt)},[qr]);Object(b.useEffect)(function(){ei.current&&ei.current.scrollTo&&ei.current.scrollTo(0)},[Wn]);var Xr=Object(b.useMemo)(function(){var Wr=un.map(function(Ri){var Ki=ci([Ri]),hn=me(Ri,{options:Ki,prevValue:Kn,labelInValue:pn,optionLabelProp:It});return Object(L.a)(Object(L.a)({},hn),{},{disabled:ke(Ri,Ki)})});return!jt&&Wr.length===1&&Wr[0].value===null&&Wr[0].label===null?[]:Wr},[Kn,xr,jt]);Xr=P(Xr);var Hi=function(Ri,Ki,hn){var Rn=ci([Ri]),Yn=ce([Ri],Rn)[0];if(!Zt.skipTriggerSelect){var En=pn?me(Ri,{options:Rn,prevValue:Kn,labelInValue:pn,optionLabelProp:It}):Ri;Ki&&Ct?Ct(En,Yn):!Ki&&nt&&nt(En,Yn)}Qn&&(Ki&&Zt.onRawSelect?Zt.onRawSelect(Ri,Yn,hn):!Ki&&Zt.onRawDeselect&&Zt.onRawDeselect(Ri,Yn,hn))},ni=Object(b.useState)([]),Mi=Object(v.a)(ni,2),cr=Mi[0],Pn=Mi[1],br=function(Ri){if(Qn&&Zt.skipTriggerChange)return;var Ki=ci(Ri),hn=Object(c.f)(Array.from(Ri),{labelInValue:pn,options:Ki,getLabeledValue:me,prevValue:Kn,optionLabelProp:It}),Rn=rn?hn:hn[0];if(ot&&(un.length!==0||hn.length!==0)){var Yn=ce(Ri,Ki,{prevValueOptions:cr});Pn(Yn.map(function(En,Mt){var mn=Object(L.a)({},En);return Object.defineProperty(mn,"_INTERNAL_OPTION_VALUE_",{get:function(){return Ri[Mt]}}),mn})),ot(Rn,rn?Yn:Yn[0])}Fn(Rn)},Br=function(Ri,Ki){var hn=Ki.selected,Rn=Ki.source;if(Sn)return;var Yn;rn?(Yn=new Set(un),hn?Yn.add(Ri):Yn.delete(Ri)):(Yn=new Set,Yn.add(Ri)),(rn||!rn&&Array.from(un)[0]!==Ri)&&br(Array.from(Yn)),Hi(Ri,!rn||hn,Rn),jt==="combobox"?(Ar(String(Ri)),ti("")):(!rn||de)&&(Ar(""),ti(""))},Qr=function(Ri,Ki){Br(Ri,Object(L.a)(Object(L.a)({},Ki),{},{source:"option"}))},$r=function(Ri,Ki){Br(Ri,Object(L.a)(Object(L.a)({},Ki),{},{source:"selection"}))},hi=jt==="combobox"&&Ye&&Ye()||null,fi=Object(a.a)(void 0,{defaultValue:Ne,value:Me}),Ai=Object(v.a)(fi,2),Wi=Ai[0],ra=Ai[1],$i=Wi,Ha=!gn&&!qr.length;(Sn||Ha&&$i&&jt==="combobox")&&($i=!1);var pi=Ha?!1:$i,sr=function(Ri){var Ki=Ri!==void 0?Ri:!$i;Wi!==Ki&&!Sn&&(ra(Ki),lr&&lr(Ki))};k([Or.current,Nr.current&&Nr.current.getPopupElement()],pi,sr);var Li=function(Ri,Ki,hn){var Rn=!0,Yn=Ri;ti(null);var En=hn?null:Object(H.f)(Ri,_t),Mt=En;if(jt==="combobox")Ki&&br([Yn]);else if(En){Yn="",jt!=="tags"&&(Mt=En.map(function(zt){var _n=er.find(function(kn){var pr=kn.data;return pr[It]===zt});return _n?_n.data.value:null}).filter(function(zt){return zt!==null}));var mn=Array.from(new Set([].concat(Object(g.a)(un),Object(g.a)(Mt))));br(mn),mn.forEach(function(zt){Hi(zt,!0,"input")}),sr(!1),Rn=!1}return Ar(Yn),he&&Wn!==Yn&&he(Yn),Rn},Ji=function(Ri){var Ki=Array.from(new Set([].concat(Object(g.a)(un),[Ri])));br(Ki),Ki.forEach(function(hn){Hi(hn,!0,"input")}),Ar("")};Object(b.useEffect)(function(){Wi&&!!Sn&&ra(!1)},[Sn]),Object(b.useEffect)(function(){!$i&&!rn&&jt!=="combobox"&&Li("",!1,!1)},[$i]);var Ui=N(),ea=Object(v.a)(Ui,2),Bt=ea[0],Vn=ea[1],nr=function(Ri){var Ki=Bt(),hn=Ri.which;if(!$i&&hn===m.a.ENTER&&sr(!0),Vn(!!Wn),hn===m.a.BACKSPACE&&!Ki&&rn&&!Wn&&un.length){var Rn=Object(c.c)(Xr,un);Rn.removedValue!==null&&(br(Rn.values),Hi(Rn.removedValue,!1,"input"))}for(var Yn=arguments.length,En=new Array(Yn>1?Yn-1:0),Mt=1;Mt<Yn;Mt++)En[Mt-1]=arguments[Mt];if($i&&ei.current){var mn;(mn=ei.current).onKeyDown.apply(mn,[Ri].concat(En))}kt&&kt.apply(void 0,[Ri].concat(En))},fr=function(Ri){for(var Ki=arguments.length,hn=new Array(Ki>1?Ki-1:0),Rn=1;Rn<Ki;Rn++)hn[Rn-1]=arguments[Rn];if($i&&ei.current){var Yn;(Yn=ei.current).onKeyUp.apply(Yn,[Ri].concat(hn))}Qe&&Qe.apply(void 0,[Ri].concat(hn))},Re=Object(b.useRef)(!1),At=function(){ye(!0),Sn||(Lt&&!Re.current&&Lt.apply(void 0,arguments),Rt.includes("focus")&&sr(!0)),Re.current=!0},qt=function(){if(ye(!1,function(){Re.current=!1,sr(!1)}),Sn)return;Wn&&(jt==="tags"?(Li("",!1,!1),br(Array.from(new Set([].concat(Object(g.a)(un),[Wn]))))):jt==="multiple"&&Ar("")),$e&&$e.apply(void 0,arguments)},$t=[];Object(b.useEffect)(function(){return function(){$t.forEach(function(Wr){return clearTimeout(Wr)}),$t.splice(0,$t.length)}},[]);var Cn=function(Ri){var Ki=Ri.target,hn=Nr.current&&Nr.current.getPopupElement();if(hn&&hn.contains(Ki)){var Rn=setTimeout(function(){var mn=$t.indexOf(Rn);mn!==-1&&$t.splice(mn,1),xe(),hn.contains(document.activeElement)||Kr.current.focus()});$t.push(Rn)}if(Ht){for(var Yn=arguments.length,En=new Array(Yn>1?Yn-1:0),Mt=1;Mt<Yn;Mt++)En[Mt-1]=arguments[Mt];Ht.apply(void 0,[Ri].concat(En))}},Dn=Object(b.useState)(0),Hn=Object(v.a)(Dn,2),ar=Hn[0],Er=Hn[1],gr=rr!==void 0?rr:jt!=="combobox",Rr=function(Ri,Ki){Er(Ki),Ft&&jt==="combobox"&&Ri!==null&&ti(String(Ri))},kr=Object(b.useState)(null),wr=Object(v.a)(kr,2),Lr=wr[0],Ir=wr[1],zr=Object(b.useState)({}),Gr=Object(v.a)(zr,2),ri=Gr[1];function yi(){ri({})}h(function(){if(pi){var Wr=Math.ceil(Or.current.offsetWidth);Lr!==Wr&&Ir(Wr)}},[pi]);var li=b.createElement(ue,{ref:ei,prefixCls:rt,id:Ve,open:$i,childrenAsData:!it,options:qr,flattenOptions:wi,multiple:rn,values:Sr,height:bn,itemHeight:dn,onSelect:Qr,onToggleOpen:sr,onActiveValue:Rr,defaultActiveFirstOption:gr,notFoundContent:gn,onScroll:Mn,searchValue:Wn,menuItemSelectedIcon:jn,virtual:Ur!==!1&&se!==!1,onMouseEnter:yi}),Ti,Fi=function(){Qn&&Zt.onClear&&Zt.onClear(),Ot&&Ot(),br([]),Li("",!1,!1)};!Sn&&Pt&&(un.length||Wn)&&(Ti=b.createElement(n.a,{className:"".concat(rt,"-clear"),onMouseDown:Fi,customizeIcon:We},"\xD7"));var Si=Je!==void 0?Je:Xn||!rn&&jt!=="combobox",mi;Si&&(mi=b.createElement(n.a,{className:r()("".concat(rt,"-arrow"),Object(y.a)({},"".concat(rt,"-arrow-loading"),Xn)),customizeIcon:Ln,customizeIconProps:{loading:Xn,searchValue:Wn,open:$i,focused:le,showSearch:Tn}}));var Ni=r()(rt,ht,(ct={},Object(y.a)(ct,"".concat(rt,"-focused"),le),Object(y.a)(ct,"".concat(rt,"-multiple"),rn),Object(y.a)(ct,"".concat(rt,"-single"),!rn),Object(y.a)(ct,"".concat(rt,"-allow-clear"),Pt),Object(y.a)(ct,"".concat(rt,"-show-arrow"),Si),Object(y.a)(ct,"".concat(rt,"-disabled"),Sn),Object(y.a)(ct,"".concat(rt,"-loading"),Xn),Object(y.a)(ct,"".concat(rt,"-open"),$i),Object(y.a)(ct,"".concat(rt,"-customize-input"),hi),Object(y.a)(ct,"".concat(rt,"-show-search"),Tn),ct));return b.createElement("div",Object.assign({className:Ni},Gn,{ref:Or,onMouseDown:Cn,onKeyDown:nr,onKeyUp:fr,onFocus:At,onBlur:qt}),le&&!$i&&b.createElement("span",{style:{width:0,height:0,display:"flex",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(un.join(", "))),b.createElement(M,{ref:Nr,disabled:Sn,prefixCls:rt,visible:pi,popupElement:li,containerWidth:Lr,animation:vr,transitionName:qn,dropdownStyle:Ue,dropdownClassName:He,direction:Et,dropdownMatchSelectWidth:se,dropdownRender:Ae,dropdownAlign:Oe,getPopupContainer:Pe,empty:!xr.length,getTriggerDOMNode:function(){return Nt.current}},b.createElement(T,Object.assign({},tt,{domRef:Nt,prefixCls:rt,inputElement:hi,ref:Kr,id:Ve,showSearch:Tn,mode:jt,accessibilityIndex:ar,multiple:rn,tagRender:Nn,values:Xr,open:$i,onToggleOpen:sr,searchValue:Wn,activeValue:oi,onSearch:Li,onSearchSubmit:Ji,onSelect:$r,tokenWithEnter:vi}))),mi,Ti)}var qe=b.forwardRef(st);return qe}},qPY4:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=L(e("u4NN"));function L(v){return v&&v.__esModule?v:{default:v}}var g=y;U.default=g,te.exports=g},qWUW:function(te,U,e){"use strict";var y=e("284h"),L=e("TqRt");Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var g=L(e("3tO9")),v=y(e("q1tI")),A=L(e("DL4k")),b=L(e("KQxl")),m=function(a,s){return v.createElement(b.default,(0,g.default)((0,g.default)({},a),{},{ref:s,icon:A.default}))};m.displayName="CaretDownOutlined";var d=v.forwardRef(m);U.default=d},qWt2:function(te,U,e){var y=e("ProS"),L=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}}});te.exports=L},qZFw:function(te,U,e){var y=e("bYtY"),L=e("6GrX"),g=e("hM6l"),v=e("4NO4"),A=v.makeInner,b=A();function m(r,a){a=a||[0,360],g.call(this,"angle",r,a),this.type="category"}m.prototype={constructor:m,pointToData:function(r,a){return this.polar.pointToData(r,a)[this.dim==="radius"?0:1]},dataToAngle:g.prototype.dataToCoord,angleToData:g.prototype.coordToData,calculateCategoryInterval:function(){var r=this,a=r.getLabelModel(),s=r.scale,i=s.getExtent(),n=s.count();if(i[1]-i[0]<1)return 0;var l=i[0],t=r.dataToCoord(l+1)-r.dataToCoord(l),u=Math.abs(t),o=L.getBoundingRect(l,a.getFont(),"center","top"),c=Math.max(o.height,7),h=c/u;isNaN(h)&&(h=Infinity);var f=Math.max(0,Math.floor(h)),w=b(r.model),x=w.lastAutoInterval,I=w.lastTickCount;return x!=null&&I!=null&&Math.abs(x-f)<=1&&Math.abs(I-n)<=1&&x>f?f=x:(w.lastTickCount=n,w.lastAutoInterval=f),f}},y.inherits(m,g);var d=m;te.exports=d},qgGe:function(te,U,e){var y=e("bYtY"),L=e("T4UG"),g=e("Bsck"),v=e("VaxA"),A=v.wrapTreePathInfo,b=L.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(d,r){var a={name:d.name,children:d.data};m(a);var s=d.levels||[],i={};return i.levels=s,g.createTree(a,this,i).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(d){var r=L.prototype.getDataParams.apply(this,arguments),a=this.getData().tree.getNodeByDataIndex(d);return r.treePathInfo=A(a,this),r},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},highlight:{itemStyle:{opacity:1}},downplay:{itemStyle:{opacity:.5},label:{opacity:.6}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(d){d?this._viewRoot=d:d=this._viewRoot;var r=this.getRawData().tree.root;(!d||d!==r&&!r.contains(d))&&(this._viewRoot=r)}});function m(d){var r=0;y.each(d.children,function(s){m(s);var i=s.value;y.isArray(i)&&(i=i[0]),r+=i});var a=d.value;y.isArray(a)&&(a=a[0]),(a==null||isNaN(a))&&(a=r),a<0&&(a=0),y.isArray(d.value)?d.value[0]=a:d.value=a}te.exports=b},qj72:function(te,U,e){var y=e("bYtY");function L(v,A){return A=A||[0,0],y.map(["x","y"],function(b,m){var d=this.getAxis(b),r=A[m],a=v[m]/2;return d.type==="category"?d.getBandWidth():Math.abs(d.dataToCoord(r-a)-d.dataToCoord(r+a))},this)}function g(v){var A=v.grid.getRect();return{coordSys:{type:"cartesian2d",x:A.x,y:A.y,width:A.width,height:A.height},api:{coord:function(b){return v.dataToPoint(b)},size:y.bind(L,v)}}}te.exports=g},qrJ5:function(te,U,e){"use strict";var y=e("pVnL"),L=e.n(y),g=e("lSNA"),v=e.n(g),A=e("cDf5"),b=e.n(A),m=e("J4zp"),d=e.n(m),r=e("q1tI"),a=e.n(r),s=e("TSYQ"),i=e.n(s),n=e("H84U"),l=e("o/2+"),t=e("CWQg"),u=e("ACnJ"),o=function(w,x){var I={};for(var C in w)Object.prototype.hasOwnProperty.call(w,C)&&x.indexOf(C)<0&&(I[C]=w[C]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,C=Object.getOwnPropertySymbols(w);N<C.length;N++)x.indexOf(C[N])<0&&Object.prototype.propertyIsEnumerable.call(w,C[N])&&(I[C[N]]=w[C[N]]);return I},c=Object(t.a)("top","middle","bottom","stretch"),h=Object(t.a)("start","end","center","space-around","space-between"),f=r.forwardRef(function(w,x){var I=r.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),C=d()(I,2),N=C[0],S=C[1],E=r.useRef();E.current=w.gutter,r.useEffect(function(){var B=u.a.subscribe(function(R){var F=E.current||0;(!Array.isArray(F)&&b()(F)==="object"||Array.isArray(F)&&(b()(F[0])==="object"||b()(F[1])==="object"))&&S(R)});return function(){u.a.unsubscribe(B)}},[]);var T=function(){var R=[0,0],F=w.gutter,M=F===void 0?0:F,K=Array.isArray(M)?M:[M,0];return K.forEach(function(j,H){if(b()(j)==="object")for(var k=0;k<u.b.length;k++){var P=u.b[k];if(N[P]&&j[P]!==void 0){R[H]=j[P];break}}else R[H]=j||0}),R},D=function(R){var F,M=R.getPrefixCls,K=R.direction,j=w.prefixCls,H=w.justify,k=w.align,P=w.className,z=w.style,Y=w.children,_=o(w,["prefixCls","justify","align","className","style","children"]),G=M("row",j),J=T(),ue=i()(G,(F={},v()(F,"".concat(G,"-").concat(H),H),v()(F,"".concat(G,"-").concat(k),k),v()(F,"".concat(G,"-rtl"),K==="rtl"),F),P),q=L()(L()(L()({},J[0]>0?{marginLeft:J[0]/-2,marginRight:J[0]/-2}:{}),J[1]>0?{marginTop:J[1]/-2,marginBottom:J[1]/2}:{}),z),re=L()({},_);return delete re.gutter,r.createElement(l.a.Provider,{value:{gutter:J}},r.createElement("div",L()({},re,{className:ue,style:q,ref:x}),Y))};return r.createElement(n.a,null,D)});f.displayName="Row",U.a=f},"qt/9":function(te,U,e){var y=e("ProS"),L=e("bYtY");e("Wqna"),e("1tlw"),e("Mylv");var g=e("nVfU"),v=g.layout,A=e("f5Yq");e("Ae16"),y.registerLayout(L.curry(v,"pictorialBar")),y.registerVisual(A("pictorialBar","roundRect"))},quyA:function(te,U){var e="\\ud800-\\udfff",y="\\u0300-\\u036f",L="\\ufe20-\\ufe2f",g="\\u20d0-\\u20ff",v=y+L+g,A="\\ufe0e\\ufe0f",b="\\u200d",m=RegExp("["+b+e+v+A+"]");function d(r){return m.test(r)}te.exports=d},qwVE:function(te,U,e){var y=e("ProS"),L=e("bYtY"),g=e("K4ya"),v=e("XxSj"),A=y.PRIORITY.VISUAL.COMPONENT;y.registerVisual(A,{createOnAllSeries:!0,reset:function(m,d){var r=[];return d.eachComponent("visualMap",function(a){var s=m.pipelineContext;if(!a.isTargetSeries(m)||s&&s.large)return;r.push(g.incrementalApplyVisual(a.stateList,a.targetVisuals,L.bind(a.getValueState,a),a.getDataDimension(m.getData())))}),r}}),y.registerVisual(A,{createOnAllSeries:!0,reset:function(m,d){var r=m.getData(),a=[];d.eachComponent("visualMap",function(s){if(s.isTargetSeries(m)){var i=s.getVisualMeta(L.bind(b,null,m,s))||{stops:[],outerColors:[]},n=s.getDataDimension(r),l=r.getDimensionInfo(n);l!=null&&(i.dimension=l.index,a.push(i))}}),m.getData().setVisual("visualMeta",a)}});function b(m,d,r,a){for(var s=d.targetVisuals[a],i=v.prepareVisualTypes(s),n={color:m.getData().getVisual("color")},l=0,t=i.length;l<t;l++){var u=i[l],o=s[u==="opacity"?"__alphaForOpacity":u];o&&o.applyVisual(r,c,h)}return n.color;function c(f){return n[f]}function h(f,w){n[f]=w}}},"r+aA":function(te,U,e){"use strict";var y=e("284h"),L=e("TqRt");Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var g=L(e("3tO9")),v=y(e("q1tI")),A=L(e("s2MQ")),b=L(e("KQxl")),m=function(a,s){return v.createElement(b.default,(0,g.default)((0,g.default)({},a),{},{ref:s,icon:A.default}))};m.displayName="EyeInvisibleOutlined";var d=v.forwardRef(m);U.default=d},"r/2G":function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=L(e("+Zaj"));function L(v){return v&&v.__esModule?v:{default:v}}var g=y;U.default=g,te.exports=g},r6Bn:function(te,U,e){var y=e("bYtY"),L=e("ItGF"),g=e("4fz+"),v=e("BPZU");function A(d,r){return d.zlevel===r.zlevel?d.z===r.z?d.z2-r.z2:d.z-r.z:d.zlevel-r.zlevel}var b=function(){this._roots=[],this._displayList=[],this._displayListLen=0};b.prototype={constructor:b,traverse:function(r,a){for(var s=0;s<this._roots.length;s++)this._roots[s].traverse(r,a)},getDisplayList:function(r,a){return a=a||!1,r&&this.updateDisplayList(a),this._displayList},updateDisplayList:function(r){this._displayListLen=0;for(var a=this._roots,s=this._displayList,i=0,n=a.length;i<n;i++)this._updateAndAddDisplayable(a[i],null,r);s.length=this._displayListLen,L.canvasSupported&&v(s,A)},_updateAndAddDisplayable:function(r,a,s){if(r.ignore&&!s)return;r.beforeUpdate(),r.__dirty&&r.update(),r.afterUpdate();var i=r.clipPath;if(i){a?a=a.slice():a=[];for(var n=i,l=r;n;)n.parent=l,n.updateTransform(),a.push(n),l=n,n=n.clipPath}if(r.isGroup){for(var t=r._children,u=0;u<t.length;u++){var o=t[u];r.__dirty&&(o.__dirty=!0),this._updateAndAddDisplayable(o,a,s)}r.__dirty=!1}else r.__clipPaths=a,this._displayList[this._displayListLen++]=r},addRoot:function(r){if(r.__storage===this)return;r instanceof g&&r.addChildrenToStorage(this),this.addToStorage(r),this._roots.push(r)},delRoot:function(r){if(r==null){for(var a=0;a<this._roots.length;a++){var s=this._roots[a];s instanceof g&&s.delChildrenFromStorage(this)}this._roots=[],this._displayList=[],this._displayListLen=0;return}if(r instanceof Array){for(var a=0,i=r.length;a<i;a++)this.delRoot(r[a]);return}var n=y.indexOf(this._roots,r);n>=0&&(this.delFromStorage(r),this._roots.splice(n,1),r instanceof g&&r.delChildrenFromStorage(this))},addToStorage:function(r){return r&&(r.__storage=this,r.dirty(!1)),this},delFromStorage:function(r){return r&&(r.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:A};var m=b;te.exports=m},rA99:function(te,U,e){var y=e("y+Vt"),L=e("QBsz"),g=e("Sj9i"),v=g.quadraticSubdivide,A=g.cubicSubdivide,b=g.quadraticAt,m=g.cubicAt,d=g.quadraticDerivativeAt,r=g.cubicDerivativeAt,a=[];function s(n,l,t){var u=n.cpx2,o=n.cpy2;return u===null||o===null?[(t?r:m)(n.x1,n.cpx1,n.cpx2,n.x2,l),(t?r:m)(n.y1,n.cpy1,n.cpy2,n.y2,l)]:[(t?d:b)(n.x1,n.cpx1,n.x2,l),(t?d:b)(n.y1,n.cpy1,n.y2,l)]}var i=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,t){var u=t.x1,o=t.y1,c=t.x2,h=t.y2,f=t.cpx1,w=t.cpy1,x=t.cpx2,I=t.cpy2,C=t.percent;if(C===0)return;l.moveTo(u,o),x==null||I==null?(C<1&&(v(u,f,c,C,a),f=a[1],c=a[2],v(o,w,h,C,a),w=a[1],h=a[2]),l.quadraticCurveTo(f,w,c,h)):(C<1&&(A(u,f,x,c,C,a),f=a[1],x=a[2],c=a[3],A(o,w,I,h,C,a),w=a[1],I=a[2],h=a[3]),l.bezierCurveTo(f,w,x,I,c,h))},pointAt:function(l){return s(this.shape,l,!1)},tangentAt:function(l){var t=s(this.shape,l,!0);return L.normalize(t,t)}});te.exports=i},"rAM+":function(te,U,e){"use strict";e.d(U,"a",function(){return L});var y=e("Qw5x");function L(g,v){var A;if(typeof Symbol=="undefined"||g[Symbol.iterator]==null){if(Array.isArray(g)||(A=Object(y.a)(g))||v&&g&&typeof g.length=="number"){A&&(g=A);var b=0,m=function(){};return{s:m,n:function(){return b>=g.length?{done:!0}:{done:!1,value:g[b++]}},e:function(i){throw i},f:m}}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 d=!0,r=!1,a;return{s:function(){A=g[Symbol.iterator]()},n:function(){var i=A.next();return d=i.done,i},e:function(i){r=!0,a=i},f:function(){try{!d&&A.return!=null&&A.return()}finally{if(r)throw a}}}}},rHrb:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.CopyToClipboard=void 0;var y=g(e("q1tI")),L=g(e("+QRC"));function g(h){return h&&h.__esModule?h:{default:h}}function v(h){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?v=function(w){return typeof w}:v=function(w){return w&&typeof Symbol=="function"&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w},v(h)}function A(h,f){var w=Object.keys(h);if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(h);f&&(x=x.filter(function(I){return Object.getOwnPropertyDescriptor(h,I).enumerable})),w.push.apply(w,x)}return w}function b(h){for(var f=1;f<arguments.length;f++){var w=arguments[f]!=null?arguments[f]:{};f%2?A(w,!0).forEach(function(x){o(h,x,w[x])}):Object.getOwnPropertyDescriptors?Object.defineProperties(h,Object.getOwnPropertyDescriptors(w)):A(w).forEach(function(x){Object.defineProperty(h,x,Object.getOwnPropertyDescriptor(w,x))})}return h}function m(h,f){if(h==null)return{};var w=d(h,f),x,I;if(Object.getOwnPropertySymbols){var C=Object.getOwnPropertySymbols(h);for(I=0;I<C.length;I++){if(x=C[I],f.indexOf(x)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(h,x))continue;w[x]=h[x]}}return w}function d(h,f){if(h==null)return{};var w={},x=Object.keys(h),I,C;for(C=0;C<x.length;C++){if(I=x[C],f.indexOf(I)>=0)continue;w[I]=h[I]}return w}function r(h,f){if(!(h instanceof f))throw new TypeError("Cannot call a class as a function")}function a(h,f){for(var w=0;w<f.length;w++){var x=f[w];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(h,x.key,x)}}function s(h,f,w){return f&&a(h.prototype,f),w&&a(h,w),h}function i(h,f){return f&&(v(f)==="object"||typeof f=="function")?f:l(h)}function n(h){return n=Object.setPrototypeOf?Object.getPrototypeOf:function(w){return w.__proto__||Object.getPrototypeOf(w)},n(h)}function l(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function t(h,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");h.prototype=Object.create(f&&f.prototype,{constructor:{value:h,writable:!0,configurable:!0}}),f&&u(h,f)}function u(h,f){return u=Object.setPrototypeOf||function(x,I){return x.__proto__=I,x},u(h,f)}function o(h,f,w){return f in h?Object.defineProperty(h,f,{value:w,enumerable:!0,configurable:!0,writable:!0}):h[f]=w,h}var c=function(h){t(f,h);function f(){var w,x;r(this,f);for(var I=arguments.length,C=new Array(I),N=0;N<I;N++)C[N]=arguments[N];return x=i(this,(w=n(f)).call.apply(w,[this].concat(C))),o(l(x),"onClick",function(S){var E=x.props,T=E.text,D=E.onCopy,B=E.children,R=E.options,F=y.default.Children.only(B),M=(0,L.default)(T,R);D&&D(T,M),F&&F.props&&typeof F.props.onClick=="function"&&F.props.onClick(S)}),x}return s(f,[{key:"render",value:function(){var x=this.props,I=x.text,C=x.onCopy,N=x.options,S=x.children,E=m(x,["text","onCopy","options","children"]),T=y.default.Children.only(S);return y.default.cloneElement(T,b({},E,{onClick:this.onClick}))}}]),f}(y.default.PureComponent);U.CopyToClipboard=c,o(c,"defaultProps",{onCopy:void 0,options:void 0})},rLCj:function(te,U,e){"use strict";var y=e("VTBJ"),L=e("q1tI"),g={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"},v=g,A=e("6VBw"),b=function(r,a){return L.createElement(A.a,Object(y.a)(Object(y.a)({},r),{},{ref:a,icon:v}))};b.displayName="ReloadOutlined";var m=U.a=L.forwardRef(b)},rUJ1:function(te,U){var e=/[&<>"']/,y=/[&<>"']/g,L=/[<>"']|&(?!#?\w+;)/,g=/[<>"']|&(?!#?\w+;)/g,v={"&":"&","<":"<",">":">",'"':""","'":"'"},A=function(S){return v[S]};function b(N,S){if(S){if(e.test(N))return N.replace(y,A)}else if(L.test(N))return N.replace(g,A);return N}var m=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function d(N){return N.replace(m,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 r=/(^|[^\[])\^/g;function a(N,S){N=N.source||N,S=S||"";var E={replace:function(D,B){return B=B.source||B,B=B.replace(r,"$1"),N=N.replace(D,B),E},getRegex:function(){return new RegExp(N,S)}};return E}var s=/[^\w:]/g,i=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function n(N,S,E){if(N){var T;try{T=decodeURIComponent(d(E)).replace(s,"").toLowerCase()}catch(D){return null}if(T.indexOf("javascript:")===0||T.indexOf("vbscript:")===0||T.indexOf("data:")===0)return null}S&&!i.test(E)&&(E=c(S,E));try{E=encodeURI(E).replace(/%25/g,"%")}catch(D){return null}return E}var l={},t=/^[^:]+:\/*[^/]*$/,u=/^([^:]+:)[\s\S]*$/,o=/^([^:]+:\/*[^/]*)[\s\S]*$/;function c(N,S){l[" "+N]||(t.test(N)?l[" "+N]=N+"/":l[" "+N]=x(N,"/",!0)),N=l[" "+N];var E=N.indexOf(":")===-1;return S.substring(0,2)==="//"?E?S:N.replace(u,"$1")+S:S.charAt(0)==="/"?E?S:N.replace(o,"$1")+S:N+S}var h={exec:function(){}};function f(N){for(var S=1,E,T;S<arguments.length;S++){E=arguments[S];for(T in E)Object.prototype.hasOwnProperty.call(E,T)&&(N[T]=E[T])}return N}function w(N,S){var E=N.replace(/\|/g,function(B,R,F){for(var M=!1,K=R;--K>=0&&F[K]==="\\";)M=!M;return M?"|":" |"}),T=E.split(/ \|/),D=0;if(T.length>S)T.splice(S);else for(;T.length<S;)T.push("");for(;D<T.length;D++)T[D]=T[D].trim().replace(/\\\|/g,"|");return T}function x(N,S,E){var T=N.length;if(T===0)return"";for(var D=0;D<T;){var B=N.charAt(T-D-1);if(B===S&&!E)D++;else if(B!==S&&E)D++;else break}return N.substr(0,T-D)}function I(N,S){if(N.indexOf(S[1])===-1)return-1;for(var E=N.length,T=0,D=0;D<E;D++)if(N[D]==="\\")D++;else if(N[D]===S[0])T++;else if(N[D]===S[1]&&(T--,T<0))return D;return-1}function C(N){N&&N.sanitize&&!N.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")}te.exports={escape:b,unescape:d,edit:a,cleanUrl:n,resolveUrl:c,noopTest:h,merge:f,splitCells:w,rtrim:x,findClosingBracket:I,checkSanitizeDeprecation:C}},rdUC:function(te,U,e){var y=e("MFOe"),L=y.Global;te.exports={name:"localStorage",read:v,write:A,each:b,remove:m,clearAll:d};function g(){return L.localStorage}function v(r){return g().getItem(r)}function A(r,a){return g().setItem(r,a)}function b(r){for(var a=g().length-1;a>=0;a--){var s=g().key(a);r(v(s),s)}}function m(r){return g().removeItem(r)}function d(){return g().clear()}},rdor:function(te,U,e){var y=e("lOQZ"),L=y.circularLayout;function g(v){v.eachSeriesByType("graph",function(A){A.get("layout")==="circular"&&L(A,"symbolSize")})}te.exports=g},rfSb:function(te,U,e){var y=e("T4UG"),L=e("sdST"),g=e("L0Ub"),v=g.getDimensionTypeByAxis,A=e("YXkt"),b=e("bYtY"),m=e("4NO4"),d=m.groupData,r=e("7aKB"),a=r.encodeHTML,s=e("xKMd"),i=2,n=y.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(t){n.superApply(this,"init",arguments),this.legendVisualProvider=new s(b.bind(this.getData,this),b.bind(this.getRawData,this))},fixData:function(t){var u=t.length,o=d(t,function(F){return F[2]}),c=[];o.buckets.each(function(F,M){c.push({name:M,dataList:F})});for(var h=c.length,f=-1,w=-1,x=0;x<h;++x){var I=c[x].dataList.length;I>f&&(f=I,w=x)}for(var C=0;C<h;++C){if(C===w)continue;for(var N=c[C].name,S=0;S<f;++S){for(var E=c[w].dataList[S][0],T=c[C].dataList.length,D=-1,B=0;B<T;++B){var R=c[C].dataList[B][0];if(R===E){D=B;break}}D===-1&&(t[u]=[],t[u][0]=E,t[u][1]=0,t[u][2]=N,u++)}}return t},getInitialData:function(t,u){for(var o=u.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0],c=o.get("type"),h=b.filter(t.data,function(E){return E[2]!==void 0}),f=this.fixData(h||[]),w=[],x=this.nameMap=b.createHashMap(),I=0,C=0;C<f.length;++C)w.push(f[C][i]),x.get(f[C][i])||(x.set(f[C][i],I),I++);var N=L(f,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:v(c)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),S=new A(N,this);return S.initData(f),S},getLayerSeries:function(){for(var t=this.getData(),u=t.count(),o=[],c=0;c<u;++c)o[c]=c;var h=t.mapDimension("single"),f=d(o,function(x){return t.get("name",x)}),w=[];return f.buckets.each(function(x,I){x.sort(function(C,N){return t.get(h,C)-t.get(h,N)}),w.push({name:I,indices:x})}),w},getAxisTooltipData:function(t,u,o){b.isArray(t)||(t=t?[t]:[]);for(var c=this.getData(),h=this.getLayerSeries(),f=[],w=h.length,x,I=0;I<w;++I){for(var C=Number.MAX_VALUE,N=-1,S=h[I].indices.length,E=0;E<S;++E){var T=c.get(t[0],h[I].indices[E]),D=Math.abs(T-u);D<=C&&(x=T,C=D,N=h[I].indices[E])}f.push(N)}return{dataIndices:f,nestestValue:x}},formatTooltip:function(t){var u=this.getData(),o=u.getName(t),c=u.get(u.mapDimension("value"),t);return(isNaN(c)||c==null)&&(c="-"),a(o+" : "+c)},defaultOption:{zlevel:0,z:2,coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",color:"#000",fontSize:11},emphasis:{label:{show:!0}}}}),l=n;te.exports=l},rkZ5:function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("ProS"),v=e("c8qY"),A=e("D9ME"),b=e("fls0"),m=e("RSch"),d=e("akwb"),r=e("o40c"),a=e("ZYIC"),s=e("sK/D"),i=s.createClipPath,n=g.extendChartView({type:"lines",init:function(){},render:function(l,t,u){var o=l.getData(),c=this._updateLineDraw(o,l),h=l.get("zlevel"),f=l.get("effect.trailLength"),w=u.getZr(),x=w.painter.getType()==="svg";x||w.painter.getLayer(h).clear(!0),this._lastZlevel!=null&&!x&&w.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(l)&&f&&(x||w.configLayer(h,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(f/10+.9,1),0)})),c.updateData(o);var I=l.get("clip",!0)&&i(l.coordinateSystem,!1,l);I?this.group.setClipPath(I):this.group.removeClipPath(),this._lastZlevel=h,this._finished=!0},incrementalPrepareRender:function(l,t,u){var o=l.getData(),c=this._updateLineDraw(o,l);c.incrementalPrepareUpdate(o),this._clearLayer(u),this._finished=!1},incrementalRender:function(l,t,u){this._lineDraw.incrementalUpdate(l,t.getData()),this._finished=l.end===t.getData().count()},updateTransform:function(l,t,u){var o=l.getData(),c=l.pipelineContext;if(!this._finished||c.large||c.progressiveRender)return{update:!0};var h=a.reset(l);h.progress&&h.progress({start:0,end:o.count()},o),this._lineDraw.updateLayout(),this._clearLayer(u)},_updateLineDraw:function(l,t){var u=this._lineDraw,o=this._showEffect(t),c=!!t.get("polyline"),h=t.pipelineContext,f=h.large;return(!u||o!==this._hasEffet||c!==this._isPolyline||f!==this._isLargeDraw)&&(u&&u.remove(),u=this._lineDraw=f?new r:new v(c?o?d:m:o?A:b),this._hasEffet=o,this._isPolyline=c,this._isLargeDraw=f,this.group.removeAll()),this.group.add(u.group),u},_showEffect:function(l){return!!l.get("effect.show")},_clearLayer:function(l){var t=l.getZr(),u=t.painter.getType()==="svg";!u&&this._lastZlevel!=null&&t.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(l,t){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(t)},dispose:function(){}});te.exports=n},rmlV:function(te,U,e){var y=e("y+Vt"),L=y.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(v,A){var b=.5522848,m=A.cx,d=A.cy,r=A.rx,a=A.ry,s=r*b,i=a*b;v.moveTo(m-r,d),v.bezierCurveTo(m-r,d-i,m-s,d-a,m,d-a),v.bezierCurveTo(m+s,d-a,m+r,d-i,m+r,d),v.bezierCurveTo(m+r,d+i,m+s,d+a,m,d+a),v.bezierCurveTo(m-s,d+a,m-r,d+i,m-r,d),v.closePath()}});te.exports=L},rnVJ:function(te,U,e){var y=e("bYtY"),L=["rect","polygon","keep","clear"];function g(A,b){var m=A&&A.brush;if(y.isArray(m)||(m=m?[m]:[]),!m.length)return;var d=[];y.each(m,function(n){var l=n.hasOwnProperty("toolbox")?n.toolbox:[];l instanceof Array&&(d=d.concat(l))});var r=A&&A.toolbox;y.isArray(r)&&(r=r[0]),r||(r={feature:{}},A.toolbox=[r]);var a=r.feature||(r.feature={}),s=a.brush||(a.brush={}),i=s.type||(s.type=[]);i.push.apply(i,d),v(i),b&&!i.length&&i.push.apply(i,L)}function v(A){var b={};y.each(A,function(m){b[m]=1}),A.length=0,y.each(b,function(m,d){A.push(d)})}te.exports=g},rySg:function(te,U,e){e("SMc4"),e("8nMs")},s2MQ:function(te,U,e){"use strict";Object.defineProperty(U,"__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"};U.default=y},s2lz:function(te,U,e){var y=e("ProS"),L=e("bYtY"),g=e("IwbS"),v=e("gPAo"),A=e("VaxA"),b=e("9hCq"),m=e("SgGq"),d=e("mFDi"),r=e("Fofx"),a=e("5s0K"),s=e("KCsZ"),i=e("7aKB"),n=i.windowOpen,l=L.bind,t=g.Group,u=g.Rect,o=L.each,c=3,h=["label"],f=["emphasis","label"],w=["upperLabel"],x=["emphasis","upperLabel"],I=10,C=1,N=2,S=s([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),E=function(F){var M=S(F);return M.stroke=M.fill=M.lineWidth=null,M},T=y.extendChartView({type:"treemap",init:function(F,M){this._containerGroup,this._storage=D(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(F,M,K,j){var H=M.findComponents({mainType:"series",subType:"treemap",query:j});if(L.indexOf(H,F)<0)return;this.seriesModel=F,this.api=K,this.ecModel=M;var k=["treemapZoomToNode","treemapRootToNode"],P=A.retrieveTargetInfo(j,k,F),z=j&&j.type,Y=F.layoutInfo,_=!this._oldTree,G=this._storage,J=z==="treemapRootToNode"&&P&&G?{rootNodeGroup:G.nodeGroup[P.node.getRawIndex()],direction:j.direction}:null,ue=this._giveContainerGroup(Y),q=this._doRender(ue,F,J);!_&&(!z||z==="treemapZoomToNode"||z==="treemapRootToNode")?this._doAnimation(ue,q,F,J):q.renderFinally(),this._resetController(K),this._renderBreadcrumb(F,K,P)},_giveContainerGroup:function(F){var M=this._containerGroup;return M||(M=this._containerGroup=new t,this._initEvents(M),this.group.add(M)),M.attr("position",[F.x,F.y]),M},_doRender:function(F,M,K){var j=M.getData().tree,H=this._oldTree,k=D(),P=D(),z=this._storage,Y=[],_=L.curry(B,M,P,z,K,k,Y);J(j.root?[j.root]:[],H&&H.root?[H.root]:[],F,j===H||!H,0);var G=ue(z);return this._oldTree=j,this._storage=P,{lastsForAnimation:k,willDeleteEls:G,renderFinally:q};function J(re,me,be,ke,ce){ke?(me=re,o(re,function(Se,st){!Se.isRemoved()&&pe(st,st)})):new v(me,re,Ee,Ee).add(pe).update(pe).remove(L.curry(pe,null)).execute();function Ee(Se){return Se.getId()}function pe(Se,st){var qe=Se!=null?re[Se]:null,tt=st!=null?me[st]:null,Dt=_(qe,tt,be,ce);Dt&&J(qe&&qe.viewChildren||[],tt&&tt.viewChildren||[],Dt,ke,ce+1)}}function ue(re){var me=D();return re&&o(re,function(be,ke){var ce=me[ke];o(be,function(Ee){Ee&&(ce.push(Ee),Ee.__tmWillDelete=1)})}),me}function q(){o(G,function(re){o(re,function(me){me.parent&&me.parent.remove(me)})}),o(Y,function(re){re.invisible=!0,re.dirty()})}},_doAnimation:function(F,M,K,j){if(!K.get("animation"))return;var H=K.get("animationDurationUpdate"),k=K.get("animationEasing"),P=a.createWrap();o(M.willDeleteEls,function(z,Y){o(z,function(_,G){if(_.invisible)return;var J=_.parent,ue;if(j&&j.direction==="drillDown")ue=J===j.rootNodeGroup?{shape:{x:0,y:0,width:J.__tmNodeWidth,height:J.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var q=0,re=0;J.__tmWillDelete||(q=J.__tmNodeWidth/2,re=J.__tmNodeHeight/2),ue=Y==="nodeGroup"?{position:[q,re],style:{opacity:0}}:{shape:{x:q,y:re,width:0,height:0},style:{opacity:0}}}ue&&P.add(_,ue,H,k)})}),o(this._storage,function(z,Y){o(z,function(_,G){var J=M.lastsForAnimation[Y][G],ue={};if(!J)return;Y==="nodeGroup"?J.old&&(ue.position=_.position.slice(),_.attr("position",J.old)):(J.old&&(ue.shape=L.extend({},_.shape),_.setShape(J.old)),J.fadein?(_.setStyle("opacity",0),ue.style={opacity:1}):_.style.opacity!==1&&(ue.style={opacity:1})),P.add(_,ue,H,k)})},this),this._state="animating",P.done(l(function(){this._state="ready",M.renderFinally()},this)).start()},_resetController:function(F){var M=this._controller;M||(M=this._controller=new m(F.getZr()),M.enable(this.seriesModel.get("roam")),M.on("pan",l(this._onPan,this)),M.on("zoom",l(this._onZoom,this)));var K=new d(0,0,F.getWidth(),F.getHeight());M.setPointerChecker(function(j,H,k){return K.contain(H,k)})},_clearController:function(){var F=this._controller;F&&(F.dispose(),F=null)},_onPan:function(F){if(this._state!=="animating"&&(Math.abs(F.dx)>c||Math.abs(F.dy)>c)){var M=this.seriesModel.getData().tree.root;if(!M)return;var K=M.getLayout();if(!K)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:K.x+F.dx,y:K.y+F.dy,width:K.width,height:K.height}})}},_onZoom:function(F){var M=F.originX,K=F.originY;if(this._state!=="animating"){var j=this.seriesModel.getData().tree.root;if(!j)return;var H=j.getLayout();if(!H)return;var k=new d(H.x,H.y,H.width,H.height),P=this.seriesModel.layoutInfo;M-=P.x,K-=P.y;var z=r.create();r.translate(z,z,[-M,-K]),r.scale(z,z,[F.scale,F.scale]),r.translate(z,z,[M,K]),k.applyTransform(z),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:k.x,y:k.y,width:k.width,height:k.height}})}},_initEvents:function(F){F.on("click",function(M){if(this._state!=="ready")return;var K=this.seriesModel.get("nodeClick",!0);if(!K)return;var j=this.findTarget(M.offsetX,M.offsetY);if(!j)return;var H=j.node;if(H.getLayout().isLeafRoot)this._rootToNode(j);else if(K==="zoomToNode")this._zoomToNode(j);else if(K==="link"){var k=H.hostTree.data.getItemModel(H.dataIndex),P=k.get("link",!0),z=k.get("target",!0)||"blank";P&&n(P,z)}},this)},_renderBreadcrumb:function(F,M,K){K||(K=F.get("leafDepth",!0)!=null?{node:F.getViewRoot()}:this.findTarget(M.getWidth()/2,M.getHeight()/2),K||(K={node:F.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new b(this.group))).render(F,M,K.node,l(j,this));function j(H){this._state!=="animating"&&(A.aboveViewRoot(F.getViewRoot(),H)?this._rootToNode({node:H}):this._zoomToNode({node:H}))}},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=D(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(F){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:F.node})},_rootToNode:function(F){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:F.node})},findTarget:function(F,M){var K,j=this.seriesModel.getViewRoot();return j.eachNode({attr:"viewChildren",order:"preorder"},function(H){var k=this._storage.background[H.getRawIndex()];if(k){var P=k.transformCoordToLocal(F,M),z=k.shape;if(z.x<=P[0]&&P[0]<=z.x+z.width&&z.y<=P[1]&&P[1]<=z.y+z.height)K={node:H,offsetX:P[0],offsetY:P[1]};else return!1}},this),K}});function D(){return{nodeGroup:[],background:[],content:[]}}function B(F,M,K,j,H,k,P,z,Y,_){if(!P)return;var G=P.getLayout(),J=F.getData();if(J.setItemGraphicEl(P.dataIndex,null),!G||!G.isInView)return;var ue=G.width,q=G.height,re=G.borderWidth,me=G.invisible,be=P.getRawIndex(),ke=z&&z.getRawIndex(),ce=P.viewChildren,Ee=G.upperHeight,pe=ce&&ce.length,Se=P.getModel("itemStyle"),st=P.getModel("emphasis.itemStyle"),qe=Ne("nodeGroup",t);if(!qe)return;if(Y.add(qe),qe.attr("position",[G.x||0,G.y||0]),qe.__tmNodeWidth=ue,qe.__tmNodeHeight=q,G.isAboveViewRoot)return qe;var tt=P.getModel(),Dt=Ne("background",u,_,C);if(Dt&&St(qe,Dt,pe&&G.upperLabelHeight),pe)g.isHighDownDispatcher(qe)&&g.setAsHighDownDispatcher(qe,!1),Dt&&(g.setAsHighDownDispatcher(Dt,!0),J.setItemGraphicEl(P.dataIndex,Dt));else{var ct=Ne("content",u,_,N);ct&&rt(qe,ct),Dt&&g.isHighDownDispatcher(Dt)&&g.setAsHighDownDispatcher(Dt,!1),g.setAsHighDownDispatcher(qe,!0),J.setItemGraphicEl(P.dataIndex,qe)}return qe;function St(jt,lt,Te){if(lt.dataIndex=P.dataIndex,lt.seriesIndex=F.seriesIndex,lt.setShape({x:0,y:0,width:ue,height:q}),me)ht(lt);else{lt.invisible=!1;var mt=P.getVisual("borderColor",!0),tn=st.get("borderColor"),Vt=E(Se);Vt.fill=mt;var Yt=S(st);if(Yt.fill=tn,Te){var Qt=ue-2*re;je(Vt,Yt,mt,Qt,Ee,{x:re,y:0,width:Qt,height:Ee})}else Vt.text=Yt.text=null;lt.setStyle(Vt),g.setElementHoverStyle(lt,Yt)}jt.add(lt)}function rt(jt,lt){lt.dataIndex=P.dataIndex,lt.seriesIndex=F.seriesIndex;var Te=Math.max(ue-2*re,0),mt=Math.max(q-2*re,0);if(lt.culling=!0,lt.setShape({x:re,y:re,width:Te,height:mt}),me)ht(lt);else{lt.invisible=!1;var tn=P.getVisual("color",!0),Vt=E(Se);Vt.fill=tn;var Yt=S(st);je(Vt,Yt,tn,Te,mt),lt.setStyle(Vt),g.setElementHoverStyle(lt,Yt)}jt.add(lt)}function ht(jt){!jt.invisible&&k.push(jt)}function je(jt,lt,Te,mt,tn,Vt){var Yt=tt.get("name"),Qt=tt.getModel(Vt?w:h),an=tt.getModel(Vt?x:f),on=Qt.getShallow("show");g.setLabelStyle(jt,lt,Qt,an,{defaultText:on?Yt:null,autoColor:Te,isRectText:!0,labelFetcher:F,labelDataIndex:P.dataIndex,labelProp:Vt?"upperLabel":"label"}),Me(jt,Vt,G),Me(lt,Vt,G),Vt&&(jt.textRect=L.clone(Vt)),jt.truncate=on&&Qt.get("ellipsis")?{outerWidth:mt,outerHeight:tn,minChar:2}:null}function Me(jt,lt,Te){var mt=jt.text;if(!lt&&Te.isLeafRoot&&mt!=null){var tn=F.get("drillDownIcon",!0);jt.text=tn?tn+" "+mt:mt}}function Ne(jt,lt,Te,mt){var tn=ke!=null&&K[jt][ke],Vt=H[jt];return tn?(K[jt][ke]=null,it(Vt,tn,jt)):me||(tn=new lt({z:R(Te,mt)}),tn.__tmDepth=Te,tn.__tmStorageName=jt,wt(Vt,tn,jt)),M[jt][be]=tn}function it(jt,lt,Te){var mt=jt[be]={};mt.old=Te==="nodeGroup"?lt.position.slice():L.extend({},lt.shape)}function wt(jt,lt,Te){var mt=jt[be]={},tn=P.parentNode;if(tn&&(!j||j.direction==="drillDown")){var Vt=0,Yt=0,Qt=H.background[tn.getRawIndex()];!j&&Qt&&Qt.old&&(Vt=Qt.old.width,Yt=Qt.old.height),mt.old=Te==="nodeGroup"?[0,Yt]:{x:Vt,y:Yt,width:0,height:0}}mt.fadein=Te!=="nodeGroup"}}function R(F,M){var K=F*I+M;return(K-1)/K}te.exports=T},sAZ8:function(te,U,e){var y=e("ProS"),L=e("bYtY"),g=e("+rIm"),v=e("/IIm"),A=e("9KIM"),b=e("IwbS"),m=["axisLine","axisTickLabel","axisName"],d=y.extendComponentView({type:"parallelAxis",init:function(n,l){d.superApply(this,"init",arguments),(this._brushController=new v(l.getZr())).on("brush",L.bind(this._onBrush,this))},render:function(n,l,t,u){if(r(n,l,u))return;this.axisModel=n,this.api=t,this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new b.Group,this.group.add(this._axisGroup),!n.get("show"))return;var c=s(n,l),h=c.coordinateSystem,f=n.getAreaSelectStyle(),w=f.width,x=n.axis.dim,I=h.getAxisLayout(x),C=L.extend({strokeContainThreshold:w},I),N=new g(n,C);L.each(m,N.add,N),this._axisGroup.add(N.getGroup()),this._refreshBrushController(C,f,n,c,w,t);var S=u&&u.animation===!1?null:n;b.groupTransition(o,this._axisGroup,S)},_refreshBrushController:function(n,l,t,u,o,c){var h=t.axis.getExtent(),f=h[1]-h[0],w=Math.min(30,Math.abs(f)*.1),x=b.BoundingRect.create({x:h[0],y:-o/2,width:f,height:o});x.x-=w,x.width+=2*w,this._brushController.mount({enableGlobalPan:!0,rotation:n.rotation,position:n.position}).setPanels([{panelId:"pl",clipPath:A.makeRectPanelClipPath(x),isTargetByCursor:A.makeRectIsTargetByCursor(x,c,u),getLinearBrushOtherExtent:A.makeLinearBrushOtherExtent(x,0)}]).enableBrush({brushType:"lineX",brushStyle:l,removeOnClick:!0}).updateCovers(a(t))},_onBrush:function(n,l){var t=this.axisModel,u=t.axis,o=L.map(n,function(c){return[u.coordToData(c.range[0],!0),u.coordToData(c.range[1],!0)]});(!t.option.realtime===l.isEnd||l.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:t.id,intervals:o})},dispose:function(){this._brushController.dispose()}});function r(n,l,t){return t&&t.type==="axisAreaSelect"&&l.findComponents({mainType:"parallelAxis",query:t})[0]===n}function a(n){var l=n.axis;return L.map(n.activeIntervals,function(t){return{brushType:"lineX",panelId:"pl",range:[l.dataToCoord(t[0],!0),l.dataToCoord(t[1],!0)]}})}function s(n,l){return l.getComponent("parallel",n.get("parallelIndex"))}var i=d;te.exports=i},sE09:function(te,U,e){},sGsY:function(te,U,e){"use strict";var y=e("lSNA"),L=e.n(y),g=e("pVnL"),v=e.n(g),A=e("q1tI"),b=e("TSYQ"),m=e.n(b),d=e("H84U"),r=e("B6l+"),a=e.n(r),s=function(P){var z=P.value,Y=P.formatter,_=P.precision,G=P.decimalSeparator,J=P.groupSeparator,ue=J===void 0?"":J,q=P.prefixCls,re;if(typeof Y=="function")re=Y(z);else{var me=String(z),be=me.match(/^(-?)(\d*)(\.(\d+))?$/);if(!be||me==="-")re=me;else{var ke=be[1],ce=be[2]||"0",Ee=be[4]||"";ce=ce.replace(/\B(?=(\d{3})+(?!\d))/g,ue),typeof _=="number"&&(Ee=a()(Ee,_,"0").slice(0,_)),Ee&&(Ee="".concat(G).concat(Ee)),re=[A.createElement("span",{key:"int",className:"".concat(q,"-content-value-int")},ke,ce),Ee&&A.createElement("span",{key:"decimal",className:"".concat(q,"-content-value-decimal")},Ee)]}}return A.createElement("span",{className:"".concat(q,"-content-value")},re)},i=s,n=function(P){var z=P.prefixCls,Y=P.className,_=P.style,G=P.valueStyle,J=P.value,ue=J===void 0?0:J,q=P.title,re=P.valueRender,me=P.prefix,be=P.suffix,ke=P.direction,ce=P.onMouseEnter,Ee=P.onMouseLeave,pe=A.createElement(i,v()({},P,{value:ue})),Se=m()(z,Y,L()({},"".concat(z,"-rtl"),ke==="rtl"));return A.createElement("div",{className:Se,style:_,onMouseEnter:ce,onMouseLeave:Ee},q&&A.createElement("div",{className:"".concat(z,"-title")},q),A.createElement("div",{style:G,className:"".concat(z,"-content")},me&&A.createElement("span",{className:"".concat(z,"-content-prefix")},me),re?re(pe):pe,be&&A.createElement("span",{className:"".concat(z,"-content-suffix")},be)))};n.defaultProps={decimalSeparator:".",groupSeparator:","};var l=Object(d.c)({prefixCls:"statistic"})(n),t=l,u=e("lwsE"),o=e.n(u),c=e("W8MJ"),h=e.n(c),f=e("7W2i"),w=e.n(f),x=e("LQ03"),I=e.n(x),C=e("J4zp"),N=e.n(C),S=e("QQZ/"),E=e.n(S),T=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function D(k,P){var z=k,Y=/\[[^\]]*]/g,_=(P.match(Y)||[]).map(function(q){return q.slice(1,-1)}),G=P.replace(Y,"[]"),J=T.reduce(function(q,re){var me=N()(re,2),be=me[0],ke=me[1];if(q.indexOf(be)!==-1){var ce=Math.floor(z/ke);return z-=ce*ke,q.replace(new RegExp("".concat(be,"+"),"g"),function(Ee){var pe=Ee.length;return E()(ce.toString(),pe,"0")})}return q},G),ue=0;return J.replace(Y,function(){var q=_[ue];return ue+=1,q})}function B(k,P){var z=P.format,Y=z===void 0?"":z,_=new Date(k).getTime(),G=Date.now(),J=Math.max(_-G,0);return D(J,Y)}var R=e("0n0R"),F=1e3/30;function M(k){return new Date(k).getTime()}var K=function(k){w()(z,k);var P=I()(z);function z(){var Y;return o()(this,z),Y=P.apply(this,arguments),Y.syncTimer=function(){var _=Y.props.value,G=M(_);G>=Date.now()?Y.startTimer():Y.stopTimer()},Y.startTimer=function(){if(Y.countdownId)return;Y.countdownId=window.setInterval(function(){Y.forceUpdate()},F)},Y.stopTimer=function(){var _=Y.props,G=_.onFinish,J=_.value;if(Y.countdownId){clearInterval(Y.countdownId),Y.countdownId=void 0;var ue=M(J);G&&ue<Date.now()&&G()}},Y.formatCountdown=function(_,G){var J=Y.props.format;return B(_,v()(v()({},G),{format:J}))},Y.valueRender=function(_){return Object(R.a)(_,{title:void 0})},Y}return h()(z,[{key:"componentDidMount",value:function(){this.syncTimer()}},{key:"componentDidUpdate",value:function(){this.syncTimer()}},{key:"componentWillUnmount",value:function(){this.stopTimer()}},{key:"render",value:function(){return A.createElement(t,v()({valueRender:this.valueRender},this.props,{formatter:this.formatCountdown}))}}]),z}(A.Component);K.defaultProps={format:"HH:mm:ss"};var j=K;t.Countdown=j;var H=U.a=t},"sK/D":function(te,U,e){var y=e("IwbS"),L=e("OELB"),g=L.round;function v(m,d,r){var a=m.getArea(),s=m.getBaseAxis().isHorizontal(),i=a.x,n=a.y,l=a.width,t=a.height,u=r.get("lineStyle.width")||2;i-=u/2,n-=u/2,l+=u,t+=u,i=Math.floor(i),l=Math.round(l);var o=new y.Rect({shape:{x:i,y:n,width:l,height:t}});return d&&(o.shape[s?"width":"height"]=0,y.initProps(o,{shape:{width:l,height:t}},r)),o}function A(m,d,r){var a=m.getArea(),s=new y.Sector({shape:{cx:g(m.cx,1),cy:g(m.cy,1),r0:g(a.r0,1),r:g(a.r,1),startAngle:a.startAngle,endAngle:a.endAngle,clockwise:a.clockwise}});return d&&(s.shape.endAngle=a.startAngle,y.initProps(s,{shape:{endAngle:a.endAngle}},r)),s}function b(m,d,r){if(m){if(m.type==="polar")return A(m,d,r);if(m.type==="cartesian2d")return v(m,d,r)}else return null;return null}U.createGridClipPath=v,U.createPolarClipPath=A,U.createClipPath=b},sKgW:function(te,U){var e=9007199254740991,y=Math.floor;function L(g,v){var A="";if(!g||v<1||v>e)return A;do v%2&&(A+=g),v=y(v/2),v&&(g+=g);while(v);return A}te.exports=L},sPJy:function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("AOa7"),v=e.n(g),A=e("lUTK"),b=e("qVdP")},sPtV:function(te,U,e){"use strict";e.d(U,"a",function(){return v});var y=e("q1tI"),L=e.n(y),g=e("hkKa");function v(A){var b=y.useRef(A),m=Object(g.a)();return[function(){return b.current},function(d){b.current=d,m()}]}},sRBo:function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("KCY9"),v=e.n(g)},sRwP:function(te,U,e){e("jsU+"),e("2548"),e("Tp9H"),e("06DH"),e("dnwI"),e("fE02"),e("33Ds")},"sS/r":function(te,U,e){var y=e("4fz+"),L=e("iRjW"),g=e("Yl7c"),v=function(){this.group=new y,this.uid=L.getUID("viewComponent")};v.prototype={constructor:v,init:function(m,d){},render:function(m,d,r,a){},dispose:function(){},filterForExposedEvent:null};var A=v.prototype;A.updateView=A.updateLayout=A.updateVisual=function(m,d,r,a){},g.enableClassExtend(v),g.enableClassManagement(v,{registerWhenExtend:!0});var b=v;te.exports=b},"sW+o":function(te,U,e){var y=e("SrGk"),L=e("bYtY"),g=e("SUKs"),v=e("Qe9p");function A(m,d){y.call(this,m,d,["linearGradient","radialGradient"],"__gradient_in_use__")}L.inherits(A,y),A.prototype.addWithoutUpdate=function(m,d){if(d&&d.style){var r=this;L.each(["fill","stroke"],function(a){if(d.style[a]&&(d.style[a].type==="linear"||d.style[a].type==="radial")){var s=d.style[a],i=r.getDefs(!0),n;s._dom?(n=s._dom,i.contains(s._dom)||r.addDom(n)):n=r.add(s),r.markUsed(d);var l=n.getAttribute("id");m.setAttribute(a,"url(#"+l+")")}})}},A.prototype.add=function(m){var d;if(m.type==="linear")d=this.createElement("linearGradient");else if(m.type==="radial")d=this.createElement("radialGradient");else return g("Illegal gradient type."),null;return m.id=m.id||this.nextId++,d.setAttribute("id","zr"+this._zrId+"-gradient-"+m.id),this.updateDom(m,d),this.addDom(d),d},A.prototype.update=function(m){var d=this;y.prototype.update.call(this,m,function(){var r=m.type,a=m._dom.tagName;r==="linear"&&a==="linearGradient"||r==="radial"&&a==="radialGradient"?d.updateDom(m,m._dom):(d.removeDom(m),d.add(m))})},A.prototype.updateDom=function(m,d){if(m.type==="linear")d.setAttribute("x1",m.x),d.setAttribute("y1",m.y),d.setAttribute("x2",m.x2),d.setAttribute("y2",m.y2);else if(m.type==="radial")d.setAttribute("cx",m.x),d.setAttribute("cy",m.y),d.setAttribute("r",m.r);else{g("Illegal gradient type.");return}m.global?d.setAttribute("gradientUnits","userSpaceOnUse"):d.setAttribute("gradientUnits","objectBoundingBox"),d.innerHTML="";for(var r=m.colorStops,a=0,s=r.length;a<s;++a){var i=this.createElement("stop");i.setAttribute("offset",r[a].offset*100+"%");var n=r[a].color;if(n.indexOf("rgba">-1)){var l=v.parse(n)[3],t=v.toHex(n);i.setAttribute("stop-color","#"+t),i.setAttribute("stop-opacity",l)}else i.setAttribute("stop-color",r[a].color);d.appendChild(i)}m._dom=d},A.prototype.markUsed=function(m){if(m.style){var d=m.style.fill;d&&d._dom&&y.prototype.markUsed.call(this,d._dom),d=m.style.stroke,d&&d._dom&&y.prototype.markUsed.call(this,d._dom)}};var b=A;te.exports=b},sboe:function(te,U,e){"use strict";e.d(U,"a",function(){return g});var y=e("q1tI"),L=e.n(y),g=y.createContext(null)},sdST:function(te,U,e){var y=e("hi0g");function L(g,v){return v=v||{},y(v.coordDimensions||[],g,{dimsDef:v.dimensionsDefine||g.dimensionsDefine,encodeDef:v.encodeDefine||g.encodeDefine,dimCount:v.dimensionsCount,encodeDefaulter:v.encodeDefaulter,generateCoord:v.generateCoord,generateCoordCount:v.generateCoordCount})}te.exports=L},szbU:function(te,U,e){var y=e("bYtY"),L=y.each;function g(A){var b=A&&A.visualMap;y.isArray(b)||(b=b?[b]:[]),L(b,function(m){if(!m)return;v(m,"splitList")&&!v(m,"pieces")&&(m.pieces=m.splitList,delete m.splitList);var d=m.pieces;d&&y.isArray(d)&&L(d,function(r){y.isObject(r)&&(v(r,"start")&&!v(r,"min")&&(r.min=r.start),v(r,"end")&&!v(r,"max")&&(r.max=r.end))})})}function v(A,b){return A&&A.hasOwnProperty&&A.hasOwnProperty(b)}te.exports=g},t23M:function(te,U,e){"use strict";var y=e("VTBJ"),L=e("1OyB"),g=e("vuIU"),v=e("Ji7U"),A=e("LK+K"),b=e("q1tI"),m=e.n(b),d=e("m+aA"),r=e("Zm9Q"),a=e("Kwbf"),s=e("c+Xe"),i=e("bdgK"),n="rc-observer-key",l=function(t){Object(v.a)(o,t);var u=Object(A.a)(o);function o(){var c;return Object(L.a)(this,o),c=u.apply(this,arguments),c.resizeObserver=null,c.childNode=null,c.currentElement=null,c.state={width:0,height:0,offsetHeight:0,offsetWidth:0},c.onResize=function(h){var f=c.props.onResize,w=h[0].target,x=w.getBoundingClientRect(),I=x.width,C=x.height,N=w.offsetWidth,S=w.offsetHeight,E=Math.floor(I),T=Math.floor(C);if(c.state.width!==E||c.state.height!==T||c.state.offsetWidth!==N||c.state.offsetHeight!==S){var D={width:E,height:T,offsetWidth:N,offsetHeight:S};c.setState(D),f&&Promise.resolve().then(function(){f(Object(y.a)(Object(y.a)({},D),{},{offsetWidth:N,offsetHeight:S}))})}},c.setChildNode=function(h){c.childNode=h},c}return Object(g.a)(o,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var h=this.props.disabled;if(h){this.destroyObserver();return}var f=Object(d.a)(this.childNode||this),w=f!==this.currentElement;w&&(this.destroyObserver(),this.currentElement=f),!this.resizeObserver&&f&&(this.resizeObserver=new i.default(this.onResize),this.resizeObserver.observe(f))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var h=this.props.children,f=Object(r.a)(h);if(f.length>1)Object(a.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(f.length===0)return Object(a.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var w=f[0];if(b.isValidElement(w)&&Object(s.c)(w)){var x=w.ref;f[0]=b.cloneElement(w,{ref:Object(s.a)(x,this.setChildNode)})}return f.length===1?f[0]:f.map(function(I,C){return!b.isValidElement(I)||"key"in I&&I.key!==null?I:b.cloneElement(I,{key:"".concat(n,"-").concat(C)})})}}]),o}(b.Component);l.displayName="ResizeObserver",U.a=l},t3Fx:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=Object.assign||function(u){for(var o=1;o<arguments.length;o++){var c=arguments[o];for(var h in c)Object.prototype.hasOwnProperty.call(c,h)&&(u[h]=c[h])}return u},L=function(){function u(o,c){for(var h=0;h<c.length;h++){var f=c[h];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(o,f.key,f)}}return function(o,c,h){return c&&u(o.prototype,c),h&&u(o,h),o}}(),g=e("q1tI"),v=s(g),A=e("17x9"),b=s(A),m=e("tkwv"),d=s(m),r=e("u3os"),a=e("kzFp");function s(u){return u&&u.__esModule?u:{default:u}}function i(u,o){if(!(u instanceof o))throw new TypeError("Cannot call a class as a function")}function n(u,o){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o&&(typeof o=="object"||typeof o=="function")?o:u}function l(u,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof o);u.prototype=Object.create(o&&o.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(u,o):u.__proto__=o)}var t=function(u){l(o,u);function o(c){i(this,o);var h=n(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,c));return h.getEchartsInstance=function(){return h.echartsLib.getInstanceByDom(h.echartsElement)||h.echartsLib.init(h.echartsElement,h.props.theme,h.props.opts)},h.dispose=function(){if(h.echartsElement){try{(0,r.clear)(h.echartsElement)}catch(f){console.warn(f)}h.echartsLib.dispose(h.echartsElement)}},h.rerender=function(){var f=h.props,w=f.onEvents,x=f.onChartReady,I=h.renderEchartDom();h.bindEvents(I,w||{}),typeof x=="function"&&h.props.onChartReady(I),h.echartsElement&&(0,r.bind)(h.echartsElement,function(){try{I.resize()}catch(C){console.warn(C)}})},h.bindEvents=function(f,w){var x=function(N,S){typeof N=="string"&&typeof S=="function"&&f.on(N,function(E){S(E,f)})};for(var I in w)Object.prototype.hasOwnProperty.call(w,I)&&x(I,w[I])},h.renderEchartDom=function(){var f=h.getEchartsInstance();return f.setOption(h.props.option,h.props.notMerge||!1,h.props.lazyUpdate||!1),h.props.showLoading?f.showLoading(h.props.loadingOption||null):f.hideLoading(),f},h.echartsLib=c.echarts,h.echartsElement=null,h}return L(o,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(h){if(typeof this.props.shouldSetOption=="function"&&!this.props.shouldSetOption(h,this.props))return;if(!(0,d.default)(h.theme,this.props.theme)||!(0,d.default)(h.opts,this.props.opts)||!(0,d.default)(h.onEvents,this.props.onEvents)){this.dispose(),this.rerender();return}var f=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if((0,d.default)((0,a.pick)(this.props,f),(0,a.pick)(h,f)))return;var w=this.renderEchartDom();if(!(0,d.default)(h.style,this.props.style)||!(0,d.default)(h.className,this.props.className))try{w.resize()}catch(x){console.warn(x)}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var h=this,f=this.props,w=f.style,x=f.className,I=y({height:300},w);return v.default.createElement("div",{ref:function(N){h.echartsElement=N},style:I,className:"echarts-for-react "+x})}}]),o}(g.Component);U.default=t,t.propTypes={option:b.default.object.isRequired,echarts:b.default.object,notMerge:b.default.bool,lazyUpdate:b.default.bool,style:b.default.object,className:b.default.string,theme:b.default.oneOfType([b.default.string,b.default.object]),onChartReady:b.default.func,showLoading:b.default.bool,loadingOption:b.default.object,onEvents:b.default.object,opts:b.default.shape({devicePixelRatio:b.default.number,renderer:b.default.oneOf(["canvas","svg"]),width:b.default.oneOfType([b.default.number,b.default.oneOf([null,void 0,"auto"])]),height:b.default.oneOfType([b.default.number,b.default.oneOf([null,void 0,"auto"])])}),shouldSetOption:b.default.func},t.defaultProps={echarts:{},notMerge:!1,lazyUpdate:!1,style:{},className:"",theme:null,onChartReady:function(){},showLoading:!1,loadingOption:null,onEvents:{},opts:{},shouldSetOption:function(){return!0}}},tBnm:function(te,U,e){var y=e("bYtY"),L=e("IwbS"),g=e("Qxkt"),v=e("Znkb"),A=e("+rIm"),b=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function m(s,i,n){i[1]>i[0]&&(i=i.slice().reverse());var l=s.coordToPoint([i[0],n]),t=s.coordToPoint([i[1],n]);return{x1:l[0],y1:l[1],x2:t[0],y2:t[1]}}function d(s){var i=s.getRadiusAxis();return i.inverse?0:1}function r(s){var i=s[0],n=s[s.length-1];i&&n&&Math.abs(Math.abs(i.coord-n.coord)-360)<1e-4&&s.pop()}var a=v.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(s,i){if(this.group.removeAll(),!s.get("show"))return;var n=s.axis,l=n.polar,t=l.getRadiusAxis().getExtent(),u=n.getTicksCoords(),o=n.getMinorTicksCoords(),c=y.map(n.getViewLabels(),function(h){var h=y.clone(h);return h.coord=n.dataToCoord(h.tickValue),h});r(c),r(u),y.each(b,function(h){s.get(h+".show")&&(!n.scale.isBlank()||h==="axisLine")&&this["_"+h](s,l,u,o,t,c)},this)},_axisLine:function(s,i,n,l,t){var u=s.getModel("axisLine.lineStyle"),o=d(i),c=o?0:1,h;t[c]===0?h=new L.Circle({shape:{cx:i.cx,cy:i.cy,r:t[o]},style:u.getLineStyle(),z2:1,silent:!0}):h=new L.Ring({shape:{cx:i.cx,cy:i.cy,r:t[o],r0:t[c]},style:u.getLineStyle(),z2:1,silent:!0}),h.style.fill=null,this.group.add(h)},_axisTick:function(s,i,n,l,t){var u=s.getModel("axisTick"),o=(u.get("inside")?-1:1)*u.get("length"),c=t[d(i)],h=y.map(n,function(f){return new L.Line({shape:m(i,[c,c+o],f.coord)})});this.group.add(L.mergePath(h,{style:y.defaults(u.getModel("lineStyle").getLineStyle(),{stroke:s.get("axisLine.lineStyle.color")})}))},_minorTick:function(s,i,n,l,t){if(!l.length)return;for(var u=s.getModel("axisTick"),o=s.getModel("minorTick"),c=(u.get("inside")?-1:1)*o.get("length"),h=t[d(i)],f=[],w=0;w<l.length;w++)for(var x=0;x<l[w].length;x++)f.push(new L.Line({shape:m(i,[h,h+c],l[w][x].coord)}));this.group.add(L.mergePath(f,{style:y.defaults(o.getModel("lineStyle").getLineStyle(),y.defaults(u.getLineStyle(),{stroke:s.get("axisLine.lineStyle.color")}))}))},_axisLabel:function(s,i,n,l,t,u){var o=s.getCategories(!0),c=s.getModel("axisLabel"),h=c.get("margin"),f=s.get("triggerEvent");y.each(u,function(w,x){var I=c,C=w.tickValue,N=t[d(i)],S=i.coordToPoint([N+h,w.coord]),E=i.cx,T=i.cy,D=Math.abs(S[0]-E)/N<.3?"center":S[0]>E?"left":"right",B=Math.abs(S[1]-T)/N<.3?"middle":S[1]>T?"top":"bottom";o&&o[C]&&o[C].textStyle&&(I=new g(o[C].textStyle,c,c.ecModel));var R=new L.Text({silent:A.isLabelSilent(s)});this.group.add(R),L.setTextStyle(R.style,I,{x:S[0],y:S[1],textFill:I.getTextColor()||s.get("axisLine.lineStyle.color"),text:w.formattedLabel,textAlign:D,textVerticalAlign:B}),f&&(R.eventData=A.makeAxisEventDataBase(s),R.eventData.targetType="axisLabel",R.eventData.value=w.rawLabel)},this)},_splitLine:function(s,i,n,l,t){var u=s.getModel("splitLine"),o=u.getModel("lineStyle"),c=o.get("color"),h=0;c=c instanceof Array?c:[c];for(var f=[],w=0;w<n.length;w++){var x=h++%c.length;f[x]=f[x]||[],f[x].push(new L.Line({shape:m(i,t,n[w].coord)}))}for(var w=0;w<f.length;w++)this.group.add(L.mergePath(f[w],{style:y.defaults({stroke:c[w%c.length]},o.getLineStyle()),silent:!0,z:s.get("z")}))},_minorSplitLine:function(s,i,n,l,t){if(!l.length)return;for(var u=s.getModel("minorSplitLine"),o=u.getModel("lineStyle"),c=[],h=0;h<l.length;h++)for(var f=0;f<l[h].length;f++)c.push(new L.Line({shape:m(i,t,l[h][f].coord)}));this.group.add(L.mergePath(c,{style:o.getLineStyle(),silent:!0,z:s.get("z")}))},_splitArea:function(s,i,n,l,t){if(!n.length)return;var u=s.getModel("splitArea"),o=u.getModel("areaStyle"),c=o.get("color"),h=0;c=c instanceof Array?c:[c];for(var f=[],w=Math.PI/180,x=-n[0].coord*w,I=Math.min(t[0],t[1]),C=Math.max(t[0],t[1]),N=s.get("clockwise"),S=1;S<n.length;S++){var E=h++%c.length;f[E]=f[E]||[],f[E].push(new L.Sector({shape:{cx:i.cx,cy:i.cy,r0:I,r:C,startAngle:x,endAngle:-n[S].coord*w,clockwise:N},silent:!0})),x=-n[S].coord*w}for(var S=0;S<f.length;S++)this.group.add(L.mergePath(f[S],{style:y.defaults({fill:c[S%c.length]},o.getAreaStyle()),silent:!0}))}});te.exports=a},tSko:function(te,U,e){"use strict";var y=e("284h"),L=e("TqRt");Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var g=L(e("3tO9")),v=y(e("q1tI")),A=L(e("SRve")),b=L(e("KQxl")),m=function(a,s){return v.createElement(b.default,(0,g.default)((0,g.default)({},a),{},{ref:s,icon:A.default}))};m.displayName="PlusOutlined";var d=v.forwardRef(m);U.default=d},tceW:function(te,U,e){var y=e("KCsZ"),L=y([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),g={getBarItemStyle:function(v){var A=L(this,v);if(this.getBorderLineDash){var b=this.getBorderLineDash();b&&(A.lineDash=b)}return A}};te.exports=g},tkwv:function(te,U,e){"use strict";var y=Array.isArray,L=Object.keys,g=Object.prototype.hasOwnProperty;te.exports=function v(A,b){if(A===b)return!0;if(A&&b&&typeof A=="object"&&typeof b=="object"){var m=y(A),d=y(b),r,a,s;if(m&&d){if(a=A.length,a!=b.length)return!1;for(r=a;r--!==0;)if(!v(A[r],b[r]))return!1;return!0}if(m!=d)return!1;var i=A instanceof Date,n=b instanceof Date;if(i!=n)return!1;if(i&&n)return A.getTime()==b.getTime();var l=A instanceof RegExp,t=b instanceof RegExp;if(l!=t)return!1;if(l&&t)return A.toString()==b.toString();var u=L(A);if(a=u.length,a!==L(b).length)return!1;for(r=a;r--!==0;)if(!g.call(b,u[r]))return!1;for(r=a;r--!==0;)if(s=u[r],!v(A[s],b[s]))return!1;return!0}return A!==A&&b!==b}},txkQ:function(te,U,e){var y=e("aX58");U.zrender=y;var L=e("Fofx");U.matrix=L;var g=e("QBsz");U.vector=g;var v=e("bYtY"),A=e("Qe9p");U.color=A;var b=e("IwbS"),m=e("OELB");U.number=m;var d=e("7aKB");U.format=d;var r=e("iLNv"),a=r.throttle;U.throttle=r.throttle;var s=e("FUi9");U.helper=s;var i=e("vafp");U.parseGeoJSON=i;var n=e("YXkt");U.List=n;var l=e("Qxkt");U.Model=l;var t=e("hM6l");U.Axis=t;var u=e("ItGF");U.env=u;var o=i,c={};v.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(f){c[f]=v[f]});var h={};v.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],function(f){h[f]=b[f]}),U.parseGeoJson=o,U.util=c,U.graphic=h},u3DP:function(te,U,e){var y=e("6GrX"),L=e("OELB"),g=L.parsePercent,v=Math.PI/180;function A(r,a,s,i,n,l,t,u,o,c){r.sort(function(D,B){return D.y-B.y});function h(D,B,R,F){for(var M=D;M<B&&!(r[M].y+R>o+t);M++)if(r[M].y+=R,M>D&&M+1<B&&r[M+1].y>r[M].y+r[M].height){f(M,R/2);return}f(B-1,R/2)}function f(D,B){for(var R=D;R>=0&&!(r[R].y-B<o);R--)if(r[R].y-=B,R>0&&r[R].y>r[R-1].y+r[R-1].height)break}function w(D,B,R,F,M,K){for(var j=(K>0,B?Number.MAX_VALUE:0),H=0,k=D.length;H<k;H++){if(D[H].labelAlignTo!=="none")continue;var P=Math.abs(D[H].y-F),z=D[H].len,Y=D[H].len2,_=P<M+z?Math.sqrt((M+z+Y)*(M+z+Y)-P*P):Math.abs(D[H].x-R);B&&_>=j&&(_=j-10),!B&&_<=j&&(_=j+10),D[H].x=R+_*K,j=_}}for(var x=0,I,C=r.length,N=[],S=[],E=0;E<C;E++){if(r[E].position==="outer"&&r[E].labelAlignTo==="labelLine"){var T=r[E].x-c;r[E].linePoints[1][0]+=T,r[E].x=c}I=r[E].y-x,I<0&&h(E,C,-I,n),x=r[E].y+r[E].height}t-x<0&&f(C-1,x-t);for(var E=0;E<C;E++)r[E].y>=s?S.push(r[E]):N.push(r[E]);w(N,!1,a,s,i,n),w(S,!0,a,s,i,n)}function b(r,a,s,i,n,l,t,u){for(var o=[],c=[],h=Number.MAX_VALUE,f=-Number.MAX_VALUE,w=0;w<r.length;w++){if(m(r[w]))continue;r[w].x<a?(h=Math.min(h,r[w].x),o.push(r[w])):(f=Math.max(f,r[w].x),c.push(r[w]))}A(c,a,s,i,1,n,l,t,u,f),A(o,a,s,i,-1,n,l,t,u,h);for(var w=0;w<r.length;w++){var x=r[w];if(m(x))continue;var I=x.linePoints;if(I){var C=x.labelAlignTo==="edge",N=x.textRect.width,S;C?x.x<a?S=I[2][0]-x.labelDistance-t-x.labelMargin:S=t+n-x.labelMargin-I[2][0]-x.labelDistance:x.x<a?S=x.x-t-x.bleedMargin:S=t+n-x.x-x.bleedMargin,S<x.textRect.width&&(x.text=y.truncateText(x.text,S,x.font),x.labelAlignTo==="edge"&&(N=y.getWidth(x.text,x.font)));var E=I[1][0]-I[2][0];C?x.x<a?I[2][0]=t+x.labelMargin+N+x.labelDistance:I[2][0]=t+n-x.labelMargin-N-x.labelDistance:(x.x<a?I[2][0]=x.x+x.labelDistance:I[2][0]=x.x-x.labelDistance,I[1][0]=I[2][0]+E),I[1][1]=I[2][1]=x.y}}}function m(r){return r.position==="center"}function d(r,a,s,i,n,l){var t=r.getData(),u=[],o,c,h=!1,f=(r.get("minShowLabelAngle")||0)*v;t.each(function(w){var x=t.getItemLayout(w),I=t.getItemModel(w),C=I.getModel("label"),N=C.get("position")||I.get("emphasis.label.position"),S=C.get("distanceToLabelLine"),E=C.get("alignTo"),T=g(C.get("margin"),s),D=C.get("bleedMargin"),B=C.getFont(),R=I.getModel("labelLine"),F=R.get("length");F=g(F,s);var M=R.get("length2");if(M=g(M,s),x.angle<f)return;var K=(x.startAngle+x.endAngle)/2,j=Math.cos(K),H=Math.sin(K),k,P,z,Y;o=x.cx,c=x.cy;var _=r.getFormattedLabel(w,"normal")||t.getName(w),G=y.getBoundingRect(_,B,Y,"top"),J=N==="inside"||N==="inner";if(N==="center")k=x.cx,P=x.cy,Y="center";else{var ue=(J?(x.r+x.r0)/2*j:x.r*j)+o,q=(J?(x.r+x.r0)/2*H:x.r*H)+c;if(k=ue+j*3,P=q+H*3,!J){var re=ue+j*(F+a-x.r),me=q+H*(F+a-x.r),be=re+(j<0?-1:1)*M,ke=me;E==="edge"?k=j<0?n+T:n+s-T:k=be+(j<0?-S:S),P=ke,z=[[ue,q],[re,me],[be,ke]]}Y=J?"center":E==="edge"?j>0?"right":"left":j>0?"left":"right"}var ce,Ee=C.get("rotate");typeof Ee=="number"?ce=Ee*(Math.PI/180):ce=Ee?j<0?-K+Math.PI:-K:0,h=!!ce,x.label={x:k,y:P,position:N,height:G.height,len:F,len2:M,linePoints:z,textAlign:Y,verticalAlign:"middle",rotation:ce,inside:J,labelDistance:S,labelAlignTo:E,labelMargin:T,bleedMargin:D,textRect:G,text:_,font:B},J||u.push(x.label)}),!h&&r.get("avoidLabelOverlap")&&b(u,o,c,a,s,i,n,l)}te.exports=d},u3os:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.ver=U.clear=U.bind=void 0;var y=e("P4Qj"),L=function(b,m){var d=(0,y.getSensor)(b);return d.bind(m),function(){d.unbind(m)}};U.bind=L;var g=function(b){var m=(0,y.getSensor)(b);(0,y.removeSensor)(m)};U.clear=g;var v="1.0.1";U.ver=v},u4NN:function(te,U,e){"use strict";var y=e("284h"),L=e("TqRt");Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var g=L(e("3tO9")),v=y(e("q1tI")),A=L(e("Uc92")),b=L(e("KQxl")),m=function(a,s){return v.createElement(b.default,(0,g.default)((0,g.default)({},a),{},{ref:s,icon:A.default}))};m.displayName="EyeOutlined";var d=v.forwardRef(m);U.default=d},u9fO:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=L(e("b80e"));function L(v){return v&&v.__esModule?v:{default:v}}var g=y;U.default=g,te.exports=g},uAnK:function(te,U,e){var y=e("bYtY"),L=e("Kagy"),g=e("KxfA"),v=g.retrieveRawValue;function A(b,m){var d=m.getModel("aria");if(d.get("show")){if(d.get("description")){b.setAttribute("aria-label",d.get("description"));return}}else return;var r=0;m.eachSeries(function(w,x){++r},this);var a=d.get("data.maxCount")||10,s=d.get("series.maxCount")||10,i=Math.min(r,s),n;if(r<1)return;var l=h();l?n=o(c("general.withTitle"),{title:l}):n=c("general.withoutTitle");var t=[],u=r>1?"series.multiple.prefix":"series.single.prefix";n+=o(c(u),{seriesCount:r}),m.eachSeries(function(w,x){if(x<i){var I,C=w.get("name"),N="series."+(r>1?"multiple":"single")+".";I=c(C?N+"withName":N+"withoutName"),I=o(I,{seriesId:w.seriesIndex,seriesName:w.get("name"),seriesType:f(w.subType)});var S=w.getData();window.data=S,S.count()>a?I+=o(c("data.partialData"),{displayCnt:a}):I+=c("data.allData");for(var E=[],T=0;T<S.count();T++)if(T<a){var D=S.getName(T),B=v(S,T);E.push(o(c(D?"data.withName":"data.withoutName"),{name:D,value:B}))}I+=E.join(c("data.separator.middle"))+c("data.separator.end"),t.push(I)}}),n+=t.join(c("series.multiple.separator.middle"))+c("series.multiple.separator.end"),b.setAttribute("aria-label",n);function o(w,x){if(typeof w!="string")return w;var I=w;return y.each(x,function(C,N){I=I.replace(new RegExp("\\{\\s*"+N+"\\s*\\}","g"),C)}),I}function c(w){var x=d.get(w);if(x==null){for(var I=w.split("."),C=L.aria,N=0;N<I.length;++N)C=C[I[N]];return C}else return x}function h(){var w=m.getModel("title").option;return w&&w.length&&(w=w[0]),w&&w.text}function f(w){return L.series.typeNames[w]||"\u81EA\u5B9A\u4E49\u56FE"}}te.exports=A},uK0f:function(te,U,e){(function(y,L){te.exports=L()})(this,function(){"use strict";function y(L,g,v){v=v||{},v.childrenKeyName=v.childrenKeyName||"children";var A=L||[],b=[],m=0;do{var d=A.filter(function(r){return g(r,m)})[0];if(!d)break;b.push(d),A=d[v.childrenKeyName]||[],m+=1}while(A.length>0);return b}return y})},uOyE:function(te,U,e){var y=e("ProS");y.registerAction({type:"brush",event:"brush"},function(L,g){g.eachComponent({mainType:"brush",query:L},function(v){v.setAreas(L.areas)})}),y.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){}),y.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},function(){})},uQRt:function(te,U,e){te.exports=y;function y(){return e("gaXo"),{}}},ugBc:function(te,U,e){"use strict";Object.defineProperty(U,"__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"};U.default=y},v56E:function(te,U,e){},v5uJ:function(te,U,e){var y=e("ProS"),L=e("2B6p"),g=L.updateCenterAndZoom;y.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(v,A){A.eachComponent({mainType:"series",subType:"tree",query:v},function(b){var m=v.dataIndex,d=b.getData().tree,r=d.getNodeByDataIndex(m);r.isExpand=!r.isExpand})}),y.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(v,A){A.eachComponent({mainType:"series",subType:"tree",query:v},function(b){var m=b.coordinateSystem,d=g(m,v);b.setCenter&&b.setCenter(d.center),b.setZoom&&b.setZoom(d.zoom)})})},"vF/C":function(te,U,e){var y=e("bLfw");y.registerSubTypeDefaulter("visualMap",function(L){return!L.categories&&(!(L.pieces?L.pieces.length>0:L.splitNumber>0)||L.calculable)?"continuous":"piecewise"})},vKoX:function(te,U,e){var y=e("SrGk"),L=e("bYtY");function g(b,m){y.call(this,b,m,["filter"],"__filter_in_use__","_shadowDom")}L.inherits(g,y),g.prototype.addWithoutUpdate=function(b,m){if(m&&v(m.style)){var d;if(m._shadowDom){d=m._shadowDom;var r=this.getDefs(!0);r.contains(m._shadowDom)||this.addDom(d)}else d=this.add(m);this.markUsed(m);var a=d.getAttribute("id");b.style.filter="url(#"+a+")"}},g.prototype.add=function(b){var m=this.createElement("filter");return b._shadowDomId=b._shadowDomId||this.nextId++,m.setAttribute("id","zr"+this._zrId+"-shadow-"+b._shadowDomId),this.updateDom(b,m),this.addDom(m),m},g.prototype.update=function(b,m){var d=m.style;if(v(d)){var r=this;y.prototype.update.call(this,m,function(){r.updateDom(m,m._shadowDom)})}else this.remove(b,m)},g.prototype.remove=function(b,m){m._shadowDomId!=null&&(this.removeDom(b),b.style.filter="")},g.prototype.updateDom=function(b,m){var d=m.getElementsByTagName("feDropShadow");d.length===0?d=this.createElement("feDropShadow"):d=d[0];var r=b.style,a=b.scale&&b.scale[0]||1,s=b.scale&&b.scale[1]||1,i,n,l,t;if(r.shadowBlur||r.shadowOffsetX||r.shadowOffsetY)i=r.shadowOffsetX||0,n=r.shadowOffsetY||0,l=r.shadowBlur,t=r.shadowColor;else if(r.textShadowBlur)i=r.textShadowOffsetX||0,n=r.textShadowOffsetY||0,l=r.textShadowBlur,t=r.textShadowColor;else{this.removeDom(m,r);return}d.setAttribute("dx",i/a),d.setAttribute("dy",n/s),d.setAttribute("flood-color",t);var u=l/2/a,o=l/2/s,c=u+" "+o;d.setAttribute("stdDeviation",c),m.setAttribute("x","-100%"),m.setAttribute("y","-100%"),m.setAttribute("width",Math.ceil(l/2*200)+"%"),m.setAttribute("height",Math.ceil(l/2*200)+"%"),m.appendChild(d),b._shadowDom=m},g.prototype.markUsed=function(b){b._shadowDom&&y.prototype.markUsed.call(this,b._shadowDom)};function v(b){return b&&(b.shadowBlur||b.shadowOffsetX||b.shadowOffsetY||b.textShadowBlur||b.textShadowOffsetX||b.textShadowOffsetY)}var A=g;te.exports=A},vL6D:function(te,U,e){var y=e("bYtY"),L=e("+rIm"),g=e("IwbS"),v=e("7bkD"),A=e("Znkb"),b=e("WN+l"),m=b.rectCoordAxisBuildSplitArea,d=b.rectCoordAxisHandleRemove,r=["axisLine","axisTickLabel","axisName"],a=["splitArea","splitLine"],s=A.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(n,l,t,u){var o=this.group;o.removeAll();var c=this._axisGroup;this._axisGroup=new g.Group;var h=v.layout(n),f=new L(n,h);y.each(r,f.add,f),o.add(this._axisGroup),o.add(f.getGroup()),y.each(a,function(w){n.get(w+".show")&&this["_"+w](n)},this),g.groupTransition(c,this._axisGroup,n),s.superCall(this,"render",n,l,t,u)},remove:function(){d(this)},_splitLine:function(n){var l=n.axis;if(l.scale.isBlank())return;var t=n.getModel("splitLine"),u=t.getModel("lineStyle"),o=u.get("width"),c=u.get("color");c=c instanceof Array?c:[c];for(var h=n.coordinateSystem.getRect(),f=l.isHorizontal(),w=[],x=0,I=l.getTicksCoords({tickModel:t}),C=[],N=[],S=0;S<I.length;++S){var E=l.toGlobalCoord(I[S].coord);f?(C[0]=E,C[1]=h.y,N[0]=E,N[1]=h.y+h.height):(C[0]=h.x,C[1]=E,N[0]=h.x+h.width,N[1]=E);var T=x++%c.length;w[T]=w[T]||[],w[T].push(new g.Line({subPixelOptimize:!0,shape:{x1:C[0],y1:C[1],x2:N[0],y2:N[1]},style:{lineWidth:o},silent:!0}))}for(var S=0;S<w.length;++S)this.group.add(g.mergePath(w[S],{style:{stroke:c[S%c.length],lineDash:u.getLineDash(o),lineWidth:o},silent:!0}))},_splitArea:function(n){m(this,this._axisGroup,n,n)}}),i=s;te.exports=i},vWvF:function(te,U,e){var y=e("Bq2U"),L=e("SUKs"),g=e("bYtY"),v=g.isString,A=g.isFunction,b=g.isObject,m=g.isArrayLike,d=g.indexOf,r=function(){this.animators=[]};r.prototype={constructor:r,animate:function(t,u){var o,c=!1,h=this,f=this.__zr;if(t){var w=t.split("."),x=h;c=w[0]==="shape";for(var I=0,C=w.length;I<C;I++){if(!x)continue;x=x[w[I]]}x&&(o=x)}else o=h;if(!o){L('Property "'+t+'" is not existed in element '+h.id);return}var N=h.animators,S=new y(o,u);return S.during(function(E){h.dirty(c)}).done(function(){N.splice(d(N,S),1)}),N.push(S),f&&f.animation.addAnimator(S),S},stopAnimation:function(t){for(var u=this.animators,o=u.length,c=0;c<o;c++)u[c].stop(t);return u.length=0,this},animateTo:function(t,u,o,c,h,f){a(this,t,u,o,c,h,f)},animateFrom:function(t,u,o,c,h,f){a(this,t,u,o,c,h,f,!0)}};function a(l,t,u,o,c,h,f,w){v(o)?(h=c,c=o,o=0):A(c)?(h=c,c="linear",o=0):A(o)?(h=o,o=0):A(u)?(h=u,u=500):u||(u=500),l.stopAnimation(),s(l,"",l,t,u,o,w);var x=l.animators.slice(),I=x.length;function C(){I--,I||h&&h()}I||h&&h();for(var N=0;N<x.length;N++)x[N].done(C).start(c,f)}function s(l,t,u,o,c,h,f){var w={},x=0;for(var I in o){if(!o.hasOwnProperty(I))continue;u[I]!=null?b(o[I])&&!m(o[I])?s(l,t?t+"."+I:I,u[I],o[I],c,h,f):(f?(w[I]=u[I],i(l,t,I,o[I])):w[I]=o[I],x++):o[I]!=null&&!f&&i(l,t,I,o[I])}x>0&&l.animate(t,!1).when(c==null?500:c,w).delay(h||0)}function i(l,t,u,o){if(!t)l.attr(u,o);else{var c={};c[t]={},c[t][u]=o,l.attr(c)}}var n=r;te.exports=n},vZ6x:function(te,U,e){var y=e("Tghj"),L=y.__DEV__,g=e("bYtY"),v=e("IwbS"),A=e("4NO4"),b=e("9KIM"),m=g.each,d=g.indexOf,r=g.curry,a=["dataToPoint","pointToData"],s=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function i(S,E,T){var D=this._targetInfoList=[],B={},R=t(E,S);m(u,function(F,M){(!T||!T.include||d(T.include,M)>=0)&&F(R,D,B)})}var n=i.prototype;n.setOutputRanges=function(S,E){this.matchOutputRanges(S,E,function(T,D,B){if((T.coordRanges||(T.coordRanges=[])).push(D),!T.coordRange){T.coordRange=D;var R=h[T.brushType](0,B,D);T.__rangeOffset={offset:w[T.brushType](R.values,T.range,[1,1]),xyMinMax:R.xyMinMax}}})},n.matchOutputRanges=function(S,E,T){m(S,function(D){var B=this.findTargetInfo(D,E);B&&B!==!0&&g.each(B.coordSyses,function(R){var F=h[D.brushType](1,R,D.range);T(D,F.values,R,E)})},this)},n.setInputRanges=function(S,E){m(S,function(T){var D=this.findTargetInfo(T,E);if(T.range=T.range||[],D&&D!==!0){T.panelId=D.panelId;var B=h[T.brushType](0,D.coordSys,T.coordRange),R=T.__rangeOffset;T.range=R?w[T.brushType](B.values,R.offset,I(B.xyMinMax,R.xyMinMax)):B.values}},this)},n.makePanelOpts=function(S,E){return g.map(this._targetInfoList,function(T){var D=T.getPanelRect();return{panelId:T.panelId,defaultBrushType:E&&E(T),clipPath:b.makeRectPanelClipPath(D),isTargetByCursor:b.makeRectIsTargetByCursor(D,S,T.coordSysModel),getLinearBrushOtherExtent:b.makeLinearBrushOtherExtent(D)}})},n.controlSeries=function(S,E,T){var D=this.findTargetInfo(S,T);return D===!0||D&&d(D.coordSyses,E.coordinateSystem)>=0},n.findTargetInfo=function(S,E){for(var T=this._targetInfoList,D=t(E,S),B=0;B<T.length;B++){var R=T[B],F=S.panelId;if(F){if(R.panelId===F)return R}else for(var B=0;B<o.length;B++)if(o[B](D,R))return R}return!0};function l(S){return S[0]>S[1]&&S.reverse(),S}function t(S,E){return A.parseFinder(S,E,{includeMainTypes:s})}var u={grid:function(S,E){var T=S.xAxisModels,D=S.yAxisModels,B=S.gridModels,R=g.createHashMap(),F={},M={};if(!T&&!D&&!B)return;m(T,function(K){var j=K.axis.grid.model;R.set(j.id,j),F[j.id]=!0}),m(D,function(K){var j=K.axis.grid.model;R.set(j.id,j),M[j.id]=!0}),m(B,function(K){R.set(K.id,K),F[K.id]=!0,M[K.id]=!0}),R.each(function(K){var j=K.coordinateSystem,H=[];m(j.getCartesians(),function(k,P){(d(T,k.getAxis("x").model)>=0||d(D,k.getAxis("y").model)>=0)&&H.push(k)}),E.push({panelId:"grid--"+K.id,gridModel:K,coordSysModel:K,coordSys:H[0],coordSyses:H,getPanelRect:c.grid,xAxisDeclared:F[K.id],yAxisDeclared:M[K.id]})})},geo:function(S,E){m(S.geoModels,function(T){var D=T.coordinateSystem;E.push({panelId:"geo--"+T.id,geoModel:T,coordSysModel:T,coordSys:D,coordSyses:[D],getPanelRect:c.geo})})}},o=[function(S,E){var T=S.xAxisModel,D=S.yAxisModel,B=S.gridModel;return!B&&T&&(B=T.axis.grid.model),!B&&D&&(B=D.axis.grid.model),B&&B===E.gridModel},function(S,E){var T=S.geoModel;return T&&T===E.geoModel}],c={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var S=this.coordSys,E=S.getBoundingRect().clone();return E.applyTransform(v.getTransform(S)),E}},h={lineX:r(f,0),lineY:r(f,1),rect:function(S,E,T){var D=E[a[S]]([T[0][0],T[1][0]]),B=E[a[S]]([T[0][1],T[1][1]]),R=[l([D[0],B[0]]),l([D[1],B[1]])];return{values:R,xyMinMax:R}},polygon:function(S,E,T){var D=[[Infinity,-Infinity],[Infinity,-Infinity]],B=g.map(T,function(R){var F=E[a[S]](R);return D[0][0]=Math.min(D[0][0],F[0]),D[1][0]=Math.min(D[1][0],F[1]),D[0][1]=Math.max(D[0][1],F[0]),D[1][1]=Math.max(D[1][1],F[1]),F});return{values:B,xyMinMax:D}}};function f(S,E,T,D){var B=T.getAxis(["x","y"][S]),R=l(g.map([0,1],function(M){return E?B.coordToData(B.toLocalCoord(D[M])):B.toGlobalCoord(B.dataToCoord(D[M]))})),F=[];return F[S]=R,F[1-S]=[NaN,NaN],{values:R,xyMinMax:F}}var w={lineX:r(x,0),lineY:r(x,1),rect:function(S,E,T){return[[S[0][0]-T[0]*E[0][0],S[0][1]-T[0]*E[0][1]],[S[1][0]-T[1]*E[1][0],S[1][1]-T[1]*E[1][1]]]},polygon:function(S,E,T){return g.map(S,function(D,B){return[D[0]-T[0]*E[B][0],D[1]-T[1]*E[B][1]]})}};function x(S,E,T,D){return[E[0]-D[S]*T[0],E[1]-D[S]*T[1]]}function I(S,E){var T=C(S),D=C(E),B=[T[0]/D[0],T[1]/D[1]];return isNaN(B[0])&&(B[0]=1),isNaN(B[1])&&(B[1]=1),B}function C(S){return S?[S[0][1]-S[0][0],S[1][1]-S[1][0]]:[NaN,NaN]}var N=i;te.exports=N},vZI5:function(te,U,e){var y=e("bYtY"),L=e("T4UG"),g=e("5GhG"),v=g.seriesModelMixin,A=L.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(m,d,r){var a=d.getItemLayout(m);return a&&r.rect(a.brushRect)}});y.mixin(A,v,!0);var b=A;te.exports=b},vafp:function(te,U,e){var y=e("bYtY"),L=e("8nly");function g(b){if(!b.UTF8Encoding)return b;var m=b.UTF8Scale;m==null&&(m=1024);for(var d=b.features,r=0;r<d.length;r++)for(var a=d[r],s=a.geometry,i=s.coordinates,n=s.encodeOffsets,l=0;l<i.length;l++){var t=i[l];if(s.type==="Polygon")i[l]=v(t,n[l],m);else if(s.type==="MultiPolygon")for(var u=0;u<t.length;u++){var o=t[u];t[u]=v(o,n[l][u],m)}}return b.UTF8Encoding=!1,b}function v(b,m,d){for(var r=[],a=m[0],s=m[1],i=0;i<b.length;i+=2){var n=b.charCodeAt(i)-64,l=b.charCodeAt(i+1)-64;n=n>>1^-(n&1),l=l>>1^-(l&1),n+=a,l+=s,a=n,s=l,r.push([n/d,l/d])}return r}function A(b,m){return g(b),y.map(y.filter(b.features,function(d){return d.geometry&&d.properties&&d.geometry.coordinates.length>0}),function(d){var r=d.properties,a=d.geometry,s=a.coordinates,i=[];a.type==="Polygon"&&i.push({type:"polygon",exterior:s[0],interiors:s.slice(1)}),a.type==="MultiPolygon"&&y.each(s,function(l){l[0]&&i.push({type:"polygon",exterior:l[0],interiors:l.slice(1)})});var n=new L(r[m||"name"],i,r.cp);return n.properties=r,n})}te.exports=A},vcCh:function(te,U,e){var y=e("ProS");e("0qV/"),y.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(L,g){g.eachComponent({mainType:"series",subType:"sankey",query:L},function(v){v.setNodePosition(L.dataIndex,[L.localX,L.localY])})})},vg9a:function(te,U,e){},"vk+C":function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=L(e("RZPm"));function L(v){return v&&v.__esModule?v:{default:v}}var g=y;U.default=g,te.exports=g},w4Tj:function(te,U,e){"use strict";e.d(U,"a",function(){return g});var y=e("oZsa");function L(v,A){for(;!Object.prototype.hasOwnProperty.call(v,A)&&!(v=Object(y.a)(v),v===null););return v}function g(v,A,b){return typeof Reflect!="undefined"&&Reflect.get?g=Reflect.get:g=function(d,r,a){var s=L(d,r);if(!s)return;var i=Object.getOwnPropertyDescriptor(s,r);return i.get?i.get.call(a):i.value},g(v,A,b||v)}},w5pM:function(te,U,e){"use strict";var y=e("VTBJ"),L=e("q1tI"),g={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"},v=g,A=e("6VBw"),b=function(r,a){return L.createElement(A.a,Object(y.a)(Object(y.a)({},r),{},{ref:a,icon:v}))};b.displayName="PlusCircleOutlined";var m=U.a=L.forwardRef(b)},w6Tc:function(te,U,e){"use strict";Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var y=L(e("apAg"));function L(v){return v&&v.__esModule?v:{default:v}}var g=y;U.default=g,te.exports=g},wCAj:function(te,U,e){"use strict";var y=e("cDf5"),L=e.n(y),g=e("lSNA"),v=e.n(g),A=e("J4zp"),b=e.n(A),m=e("pVnL"),d=e.n(m),r=e("q1tI"),a=e("TSYQ"),s=e.n(a),i=e("BGR+"),n=e("rePB"),l=e("VTBJ"),t=e("KQm4"),u=e("U8pU"),o=e("ODXe"),c=e("Gytx"),h=e.n(c),f=e("Kwbf"),w=e("t23M"),x=e("qx4F");function I(Bt){return null}var C=I;function N(Bt){return null}var S=N,E=e("Ff2n"),T=e("c+Xe"),D="RC_TABLE_KEY";function B(Bt){return Bt==null?[]:Array.isArray(Bt)?Bt:[Bt]}function R(Bt,Vn){if(!Vn&&typeof Vn!="number")return Bt;for(var nr=B(Vn),fr=Bt,Re=0;Re<nr.length;Re+=1){if(!fr)return null;var At=nr[Re];fr=fr[At]}return fr}function F(Bt){var Vn=[],nr={};return Bt.forEach(function(fr){for(var Re=fr||{},At=Re.key,qt=Re.dataIndex,$t=At||B(qt).join("-")||D;nr[$t];)$t="".concat($t,"_next");nr[$t]=!0,Vn.push($t)}),Vn}function M(){var Bt={};function Vn(At,qt){qt&&Object.keys(qt).forEach(function($t){var Cn=qt[$t];Cn&&Object(u.a)(Cn)==="object"?(At[$t]=At[$t]||{},Vn(At[$t],Cn)):At[$t]=Cn})}for(var nr=arguments.length,fr=new Array(nr),Re=0;Re<nr;Re++)fr[Re]=arguments[Re];return fr.forEach(function(At){Vn(Bt,At)}),Bt}function K(Bt){return Bt!=null}function j(Bt){return Bt&&Object(u.a)(Bt)==="object"&&!Array.isArray(Bt)&&!r.isValidElement(Bt)}function H(Bt){return typeof Bt=="string"?!0:Object(T.c)(Bt)}function k(Bt,Vn){var nr,fr=Bt.prefixCls,Re=Bt.className,At=Bt.record,qt=Bt.index,$t=Bt.dataIndex,Cn=Bt.render,Dn=Bt.children,Hn=Bt.component,ar=Hn===void 0?"td":Hn,Er=Bt.colSpan,gr=Bt.rowSpan,Rr=Bt.fixLeft,kr=Bt.fixRight,wr=Bt.firstFixLeft,Lr=Bt.lastFixLeft,Ir=Bt.firstFixRight,zr=Bt.lastFixRight,Gr=Bt.appendNode,ri=Bt.additionalProps,yi=ri===void 0?{}:ri,li=Bt.ellipsis,Ti=Bt.align,Fi=Bt.rowType,Si=Bt.isSticky,mi="".concat(fr,"-cell"),Ni,Wr;if(Dn)Wr=Dn;else{var Ri=R(At,$t);if(Wr=Ri,Cn){var Ki=Cn(Ri,At,qt);j(Ki)?(Wr=Ki.children,Ni=Ki.props):Wr=Ki}}Object(u.a)(Wr)==="object"&&!Array.isArray(Wr)&&!r.isValidElement(Wr)&&(Wr=null),li&&(Lr||Ir)&&(Wr=r.createElement("span",{className:"".concat(mi,"-content")},Wr));var hn=Ni||{},Rn=hn.colSpan,Yn=hn.rowSpan,En=hn.style,Mt=hn.className,mn=Object(E.a)(hn,["colSpan","rowSpan","style","className"]),zt=Rn!==void 0?Rn:Er,_n=Yn!==void 0?Yn:gr;if(zt===0||_n===0)return null;var kn={},pr=typeof Rr=="number",or=typeof kr=="number";pr&&(kn.position="sticky",kn.left=Rr),or&&(kn.position="sticky",kn.right=kr);var yr={};Ti&&(yr.textAlign=Ti);var _r,Yr=li===!0?{showTitle:!0}:li;Yr&&(Yr.showTitle||Fi==="header")&&(typeof Wr=="string"||typeof Wr=="number"?_r=Wr.toString():r.isValidElement(Wr)&&typeof Wr.props.children=="string"&&(_r=Wr.props.children));var Jr=Object(l.a)(Object(l.a)(Object(l.a)({title:_r},mn),yi),{},{colSpan:zt&&zt!==1?zt:null,rowSpan:_n&&_n!==1?_n:null,className:s()(mi,Re,(nr={},Object(n.a)(nr,"".concat(mi,"-fix-left"),pr),Object(n.a)(nr,"".concat(mi,"-fix-left-first"),wr),Object(n.a)(nr,"".concat(mi,"-fix-left-last"),Lr),Object(n.a)(nr,"".concat(mi,"-fix-right"),or),Object(n.a)(nr,"".concat(mi,"-fix-right-first"),Ir),Object(n.a)(nr,"".concat(mi,"-fix-right-last"),zr),Object(n.a)(nr,"".concat(mi,"-ellipsis"),li),Object(n.a)(nr,"".concat(mi,"-with-append"),Gr),Object(n.a)(nr,"".concat(mi,"-fix-sticky"),(pr||or)&&Si),nr),yi.className,Mt),style:Object(l.a)(Object(l.a)(Object(l.a)(Object(l.a)({},yi.style),yr),kn),En),ref:H(ar)?Vn:null});return r.createElement(ar,Object.assign({},Jr),Gr,Wr)}var P=r.forwardRef(k);P.displayName="Cell";var z=r.memo(P,function(Bt,Vn){return Vn.shouldCellUpdate?!Vn.shouldCellUpdate(Vn.record,Bt.record):!1}),Y=z,_=r.createContext(null),G=_;function J(Bt,Vn,nr,fr,Re){var At=nr[Bt]||{},qt=nr[Vn]||{},$t,Cn;At.fixed==="left"?$t=fr.left[Bt]:qt.fixed==="right"&&(Cn=fr.right[Vn]);var Dn=!1,Hn=!1,ar=!1,Er=!1,gr=nr[Vn+1],Rr=nr[Bt-1];if(Re==="rtl"){if($t!==void 0){var kr=Rr&&Rr.fixed==="left";Er=!kr}else if(Cn!==void 0){var wr=gr&&gr.fixed==="right";ar=!wr}}else if($t!==void 0){var Lr=gr&&gr.fixed==="left";Dn=!Lr}else if(Cn!==void 0){var Ir=Rr&&Rr.fixed==="right";Hn=!Ir}return{fixLeft:$t,fixRight:Cn,lastFixLeft:Dn,firstFixRight:Hn,lastFixRight:ar,firstFixLeft:Er,isSticky:fr.isSticky}}function ue(Bt){var Vn=Bt.cells,nr=Bt.stickyOffsets,fr=Bt.flattenColumns,Re=Bt.rowComponent,At=Bt.cellComponent,qt=Bt.onHeaderRow,$t=Bt.index,Cn=r.useContext(G),Dn=Cn.prefixCls,Hn=Cn.direction,ar;qt&&(ar=qt(Vn.map(function(gr){return gr.column}),$t));var Er=F(Vn.map(function(gr){return gr.column}));return r.createElement(Re,Object.assign({},ar),Vn.map(function(gr,Rr){var kr=gr.column,wr=J(gr.colStart,gr.colEnd,fr,nr,Hn),Lr;return kr&&kr.onHeaderCell&&(Lr=gr.column.onHeaderCell(kr)),r.createElement(Y,Object.assign({},gr,{ellipsis:kr.ellipsis,align:kr.align,component:At,prefixCls:Dn,key:Er[Rr]},wr,{additionalProps:Lr,rowType:"header"}))}))}ue.displayName="HeaderRow";var q=ue;function re(Bt){var Vn=[];function nr(qt,$t){var Cn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Vn[Cn]=Vn[Cn]||[];var Dn=$t,Hn=qt.filter(Boolean).map(function(ar){var Er={key:ar.key,className:ar.className||"",children:ar.title,column:ar,colStart:Dn},gr=1,Rr=ar.children;return Rr&&Rr.length>0&&(gr=nr(Rr,Dn,Cn+1).reduce(function(kr,wr){return kr+wr},0),Er.hasSubColumns=!0),"colSpan"in ar&&(gr=ar.colSpan),"rowSpan"in ar&&(Er.rowSpan=ar.rowSpan),Er.colSpan=gr,Er.colEnd=Er.colStart+gr-1,Vn[Cn].push(Er),Dn+=gr,gr});return Hn}nr(Bt,0);for(var fr=Vn.length,Re=function($t){Vn[$t].forEach(function(Cn){!("rowSpan"in Cn)&&!Cn.hasSubColumns&&(Cn.rowSpan=fr-$t)})},At=0;At<fr;At+=1)Re(At);return Vn}function me(Bt){var Vn=Bt.stickyOffsets,nr=Bt.columns,fr=Bt.flattenColumns,Re=Bt.onHeaderRow,At=r.useContext(G),qt=At.prefixCls,$t=At.getComponent,Cn=r.useMemo(function(){return re(nr)},[nr]),Dn=$t(["header","wrapper"],"thead"),Hn=$t(["header","row"],"tr"),ar=$t(["header","cell"],"th");return r.createElement(Dn,{className:"".concat(qt,"-thead")},Cn.map(function(Er,gr){var Rr=r.createElement(q,{key:gr,flattenColumns:fr,cells:Er,stickyOffsets:Vn,rowComponent:Hn,cellComponent:ar,onHeaderRow:Re,index:gr});return Rr}))}var be=me,ke="RC_TABLE_INTERNAL_COL_DEFINE";function ce(Bt){var Vn=Bt.expandable,nr=Object(E.a)(Bt,["expandable"]);return"expandable"in Bt?Object(l.a)(Object(l.a)({},nr),Vn):nr}function Ee(Bt){return Object.keys(Bt).reduce(function(Vn,nr){return(nr.substr(0,5)==="data-"||nr.substr(0,5)==="aria-")&&(Vn[nr]=Bt[nr]),Vn},{})}function pe(Bt){for(var Vn=Bt.colWidths,nr=Bt.columns,fr=Bt.columCount,Re=[],At=fr||nr.length,qt=!1,$t=At-1;$t>=0;$t-=1){var Cn=Vn[$t],Dn=nr&&nr[$t],Hn=Dn&&Dn[ke];(Cn||Hn||qt)&&(Re.unshift(r.createElement("col",Object.assign({key:$t,style:{width:Cn,minWidth:Cn}},Hn))),qt=!0)}return r.createElement("colgroup",null,Re)}var Se=pe;function st(Bt,Vn){return Object(r.useMemo)(function(){for(var nr=[],fr=0;fr<Vn;fr+=1){var Re=Bt[fr];if(Re!==void 0)nr[fr]=Re;else return null}return nr},[Bt.join("_"),Vn])}var qe=r.forwardRef(function(Bt,Vn){var nr=Bt.noData,fr=Bt.columns,Re=Bt.flattenColumns,At=Bt.colWidths,qt=Bt.columCount,$t=Bt.stickyOffsets,Cn=Bt.direction,Dn=Bt.fixHeader,Hn=Bt.offsetHeader,ar=Bt.stickyClassName,Er=Bt.onScroll,gr=Object(E.a)(Bt,["noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","offsetHeader","stickyClassName","onScroll"]),Rr=r.useContext(G),kr=Rr.prefixCls,wr=Rr.scrollbarSize,Lr=Rr.isSticky,Ir=Lr&&!Dn?0:wr,zr=r.useRef(null),Gr=r.useCallback(function(mi){Object(T.b)(Vn,mi),Object(T.b)(zr,mi)},[]);r.useEffect(function(){var mi;function Ni(Wr){var Ri=Wr.currentTarget,Ki=Wr.deltaX;Ki&&(Er({currentTarget:Ri,scrollLeft:Ri.scrollLeft+Ki}),Wr.preventDefault())}return(mi=zr.current)===null||mi===void 0||mi.addEventListener("wheel",Ni),function(){var Wr;(Wr=zr.current)===null||Wr===void 0||Wr.removeEventListener("wheel",Ni)}},[]);var ri=Re[Re.length-1],yi={fixed:ri?ri.fixed:null,onHeaderCell:function(){return{className:"".concat(kr,"-cell-scrollbar")}}},li=Object(r.useMemo)(function(){return Ir?[].concat(Object(t.a)(fr),[yi]):fr},[Ir,fr]),Ti=Object(r.useMemo)(function(){return Ir?[].concat(Object(t.a)(Re),[yi]):Re},[Ir,Re]),Fi=Object(r.useMemo)(function(){var mi=$t.right,Ni=$t.left;return Object(l.a)(Object(l.a)({},$t),{},{left:Cn==="rtl"?[].concat(Object(t.a)(Ni.map(function(Wr){return Wr+Ir})),[0]):Ni,right:Cn==="rtl"?mi:[].concat(Object(t.a)(mi.map(function(Wr){return Wr+Ir})),[0]),isSticky:Lr})},[Ir,$t,Lr]),Si=st(At,qt);return r.createElement("div",{style:Object(l.a)({overflow:"hidden"},Lr?{top:Hn}:{}),ref:Gr,className:s()("".concat(kr,"-header"),Object(n.a)({},ar,!!ar))},r.createElement("table",{style:{tableLayout:"fixed",visibility:nr||Si?null:"hidden"}},r.createElement(Se,{colWidths:Si?[].concat(Object(t.a)(Si),[Ir]):[],columCount:qt+1,columns:Ti}),r.createElement(be,Object.assign({},gr,{stickyOffsets:Fi,columns:li,flattenColumns:Ti}))))});qe.displayName="FixedHeader";var tt=qe,Dt=r.createContext(null),ct=Dt;function St(Bt){var Vn=Bt.prefixCls,nr=Bt.children,fr=Bt.component,Re=Bt.cellComponent,At=Bt.fixHeader,qt=Bt.fixColumn,$t=Bt.horizonScroll,Cn=Bt.className,Dn=Bt.expanded,Hn=Bt.componentWidth,ar=Bt.colSpan,Er=r.useContext(G),gr=Er.scrollbarSize;return r.useMemo(function(){var Rr=nr;return qt&&(Rr=r.createElement("div",{style:{width:Hn-(At?gr:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Vn,"-expanded-row-fixed")},Rr)),r.createElement(fr,{className:Cn,style:{display:Dn?null:"none"}},r.createElement(Y,{component:Re,prefixCls:Vn,colSpan:ar},Rr))},[nr,fr,At,$t,Cn,Dn,Hn,ar,gr])}var rt=St;function ht(Bt){var Vn=Bt.className,nr=Bt.style,fr=Bt.record,Re=Bt.index,At=Bt.rowKey,qt=Bt.getRowKey,$t=Bt.rowExpandable,Cn=Bt.expandedKeys,Dn=Bt.onRow,Hn=Bt.indent,ar=Hn===void 0?0:Hn,Er=Bt.rowComponent,gr=Bt.cellComponent,Rr=Bt.childrenColumnName,kr=r.useContext(G),wr=kr.prefixCls,Lr=kr.fixedInfoList,Ir=r.useContext(ct),zr=Ir.fixHeader,Gr=Ir.fixColumn,ri=Ir.horizonScroll,yi=Ir.componentWidth,li=Ir.flattenColumns,Ti=Ir.expandableType,Fi=Ir.expandRowByClick,Si=Ir.onTriggerExpand,mi=Ir.rowClassName,Ni=Ir.expandedRowClassName,Wr=Ir.indentSize,Ri=Ir.expandIcon,Ki=Ir.expandedRowRender,hn=Ir.expandIconColumnIndex,Rn=r.useState(!1),Yn=Object(o.a)(Rn,2),En=Yn[0],Mt=Yn[1],mn=Cn&&Cn.has(Bt.recordKey);r.useEffect(function(){mn&&Mt(!0)},[mn]);var zt=Ti==="row"&&(!$t||$t(fr)),_n=Ti==="nest",kn=Rr&&fr&&fr[Rr],pr=zt||_n,or;Dn&&(or=Dn(fr,Re));var yr=function(ma){if(Fi&&pr&&Si(fr,ma),or&&or.onClick){for(var ki,Di=arguments.length,na=new Array(Di>1?Di-1:0),qi=1;qi<Di;qi++)na[qi-1]=arguments[qi];(ki=or).onClick.apply(ki,[ma].concat(na))}},_r;typeof mi=="string"?_r=mi:typeof mi=="function"&&(_r=mi(fr,Re,ar));var Yr=F(li),Jr=r.createElement(Er,Object.assign({},or,{"data-row-key":At,className:s()(Vn,"".concat(wr,"-row"),"".concat(wr,"-row-level-").concat(ar),_r,or&&or.className),style:Object(l.a)(Object(l.a)({},nr),or?or.style:null),onClick:yr}),li.map(function(ua,ma){var ki=ua.render,Di=ua.dataIndex,na=ua.className,qi=Yr[ma],va=Lr[ma],Ta;ma===(hn||0)&&_n&&(Ta=r.createElement(r.Fragment,null,r.createElement("span",{style:{paddingLeft:"".concat(Wr*ar,"px")},className:"".concat(wr,"-row-indent indent-level-").concat(ar)}),Ri({prefixCls:wr,expanded:mn,expandable:kn,record:fr,onExpand:Si})));var Zi;return ua.onCell&&(Zi=ua.onCell(fr,Re)),r.createElement(Y,Object.assign({className:na,ellipsis:ua.ellipsis,align:ua.align,component:gr,prefixCls:wr,key:qi,record:fr,index:Re,dataIndex:Di,render:ki,shouldCellUpdate:ua.shouldCellUpdate},va,{appendNode:Ta,additionalProps:Zi}))})),Ci;if(zt&&(En||mn)){var ta=Ki(fr,Re,ar+1,mn),oa=Ni&&Ni(fr,Re,ar);Ci=r.createElement(rt,{expanded:mn,className:s()("".concat(wr,"-expanded-row"),"".concat(wr,"-expanded-row-level-").concat(ar+1),oa),prefixCls:wr,fixHeader:zr,fixColumn:Gr,horizonScroll:ri,component:Er,componentWidth:yi,cellComponent:gr,colSpan:li.length},ta)}var da;return kn&&mn&&(da=(fr[Rr]||[]).map(function(ua,ma){var ki=qt(ua,ma);return r.createElement(ht,Object.assign({},Bt,{key:ki,rowKey:ki,record:ua,recordKey:ki,index:ma,indent:ar+1}))})),r.createElement(r.Fragment,null,Jr,Ci,da)}ht.displayName="BodyRow";var je=ht,Me=r.createContext(null),Ne=Me;function it(Bt){var Vn=Bt.columnKey,nr=Bt.onColumnResize,fr=r.useRef();return r.useEffect(function(){fr.current&&nr(Vn,fr.current.offsetWidth)},[]),r.createElement(w.a,{onResize:function(At){var qt=At.offsetWidth;nr(Vn,qt)}},r.createElement("td",{ref:fr,style:{padding:0,border:0,height:0}},r.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function wt(Bt){var Vn=Bt.data,nr=Bt.getRowKey,fr=Bt.measureColumnWidth,Re=Bt.expandedKeys,At=Bt.onRow,qt=Bt.rowExpandable,$t=Bt.emptyNode,Cn=Bt.childrenColumnName,Dn=r.useContext(Ne),Hn=Dn.onColumnResize,ar=r.useContext(G),Er=ar.prefixCls,gr=ar.getComponent,Rr=r.useContext(ct),kr=Rr.fixHeader,wr=Rr.horizonScroll,Lr=Rr.flattenColumns,Ir=Rr.componentWidth;return r.useMemo(function(){var zr=gr(["body","wrapper"],"tbody"),Gr=gr(["body","row"],"tr"),ri=gr(["body","cell"],"td"),yi;Vn.length?yi=Vn.map(function(Ti,Fi){var Si=nr(Ti,Fi);return r.createElement(je,{key:Si,rowKey:Si,record:Ti,recordKey:Si,index:Fi,rowComponent:Gr,cellComponent:ri,expandedKeys:Re,onRow:At,getRowKey:nr,rowExpandable:qt,childrenColumnName:Cn})}):yi=r.createElement(rt,{expanded:!0,className:"".concat(Er,"-placeholder"),prefixCls:Er,fixHeader:kr,fixColumn:wr,horizonScroll:wr,component:Gr,componentWidth:Ir,cellComponent:ri,colSpan:Lr.length},$t);var li=F(Lr);return r.createElement(zr,{className:"".concat(Er,"-tbody")},fr&&r.createElement("tr",{"aria-hidden":"true",className:"".concat(Er,"-measure-row"),style:{height:0}},li.map(function(Ti){return r.createElement(it,{key:Ti,columnKey:Ti,onColumnResize:Hn})})),yi)},[Vn,Er,At,fr,Re,nr,gr,Ir,$t,Lr])}var jt=r.memo(wt);jt.displayName="Body";var lt=jt,Te=e("Zm9Q");function mt(Bt){return Object(Te.a)(Bt).filter(function(Vn){return r.isValidElement(Vn)}).map(function(Vn){var nr=Vn.key,fr=Vn.props,Re=fr.children,At=Object(E.a)(fr,["children"]),qt=Object(l.a)({key:nr},At);return Re&&(qt.children=mt(Re)),qt})}function tn(Bt){return Bt.reduce(function(Vn,nr){var fr=nr.fixed,Re=fr===!0?"left":fr,At=nr.children;return At&&At.length>0?[].concat(Object(t.a)(Vn),Object(t.a)(tn(At).map(function(qt){return Object(l.a)({fixed:Re},qt)}))):[].concat(Object(t.a)(Vn),[Object(l.a)(Object(l.a)({},nr),{},{fixed:Re})])},[])}function Vt(Bt){for(var Vn=!0,nr=0;nr<Bt.length;nr+=1){var fr=Bt[nr];if(Vn&&fr.fixed!=="left")Vn=!1;else if(!Vn&&fr.fixed==="left"){Object(f.a)(!1,"Index ".concat(nr-1," of `columns` missing `fixed='left'` prop."));break}}for(var Re=!0,At=Bt.length-1;At>=0;At-=1){var qt=Bt[At];if(Re&&qt.fixed!=="right")Re=!1;else if(!Re&&qt.fixed==="right"){Object(f.a)(!1,"Index ".concat(At+1," of `columns` missing `fixed='right'` prop."));break}}}function Yt(Bt){return Bt.map(function(Vn){var nr=Vn.fixed,fr=Object(E.a)(Vn,["fixed"]),Re=nr;return nr==="left"?Re="right":nr==="right"&&(Re="left"),Object(l.a)({fixed:Re},fr)})}function Qt(Bt,Vn){var nr=Bt.prefixCls,fr=Bt.columns,Re=Bt.children,At=Bt.expandable,qt=Bt.expandedKeys,$t=Bt.getRowKey,Cn=Bt.onTriggerExpand,Dn=Bt.expandIcon,Hn=Bt.rowExpandable,ar=Bt.expandIconColumnIndex,Er=Bt.direction,gr=Bt.expandRowByClick,Rr=r.useMemo(function(){return fr||mt(Re)},[fr,Re]),kr=r.useMemo(function(){if(At){var Ir,zr=ar||0,Gr=Rr[zr],ri=(Ir={},Object(n.a)(Ir,ke,{className:"".concat(nr,"-expand-icon-col")}),Object(n.a)(Ir,"title",""),Object(n.a)(Ir,"fixed",Gr?Gr.fixed:null),Object(n.a)(Ir,"className","".concat(nr,"-row-expand-icon-cell")),Object(n.a)(Ir,"render",function(Ti,Fi,Si){var mi=$t(Fi,Si),Ni=qt.has(mi),Wr=Hn?Hn(Fi):!0,Ri=Dn({prefixCls:nr,expanded:Ni,expandable:Wr,record:Fi,onExpand:Cn});return gr?r.createElement("span",{onClick:function(hn){return hn.stopPropagation()}},Ri):Ri}),Ir),yi=Rr.slice();return zr>=0&&yi.splice(zr,0,ri),yi}return Rr},[At,Rr,$t,qt,Dn,Er]),wr=r.useMemo(function(){var Ir=kr;return Vn&&(Ir=Vn(Ir)),Ir.length||(Ir=[{render:function(){return null}}]),Ir},[Vn,kr,Er]),Lr=r.useMemo(function(){return Er==="rtl"?Yt(tn(wr)):tn(wr)},[wr,Er]);return[wr,Lr]}var an=Qt,on=e("xEkU"),vt=e.n(on);function de(Bt){var Vn=Object(r.useRef)(Bt),nr=Object(r.useState)({}),fr=Object(o.a)(nr,2),Re=fr[1],At=Object(r.useRef)(null),qt=Object(r.useRef)([]);function $t(Cn){At.current===null&&(qt.current=[],At.current=vt()(function(){qt.current.forEach(function(Dn){Vn.current=Dn(Vn.current)}),At.current=null,Re({})})),qt.current.push(Cn)}return Object(r.useEffect)(function(){return function(){vt.a.cancel(At.current)}},[]),[Vn.current,$t]}function he(Bt){var Vn=Object(r.useRef)(Bt),nr=Object(r.useRef)(null);function fr(){window.clearTimeout(nr.current)}function Re(qt){Vn.current=qt,fr(),nr.current=window.setTimeout(function(){Vn.current=null,nr.current=null},100)}function At(){return Vn.current}return Object(r.useEffect)(function(){return fr},[]),[Re,At]}function Pt(Bt,Vn,nr){var fr=Object(r.useMemo)(function(){for(var Re=[],At=[],qt=0,$t=0,Cn=0;Cn<Vn;Cn+=1)if(nr==="rtl"){At[Cn]=$t,$t+=Bt[Cn]||0;var Dn=Vn-Cn-1;Re[Dn]=qt,qt+=Bt[Dn]||0}else{Re[Cn]=qt,qt+=Bt[Cn]||0;var Hn=Vn-Cn-1;At[Hn]=$t,$t+=Bt[Hn]||0}return{left:Re,right:At}},[Bt,Vn,nr]);return fr}var We=Pt;function Je(Bt){var Vn=Bt.className,nr=Bt.children;return r.createElement("div",{className:Vn},nr)}var Ln=Je;function jn(Bt){var Vn=Bt.className,nr=Bt.index,fr=Bt.children,Re=Bt.colSpan,At=Bt.rowSpan,qt=r.useContext(G),$t=qt.prefixCls,Cn=qt.fixedInfoList,Dn=Cn[nr];return r.createElement(Y,Object.assign({className:Vn,index:nr,component:"td",prefixCls:$t,record:null,dataIndex:null,render:function(){return{children:fr,props:{colSpan:Re,rowSpan:At}}}},Dn))}function Sn(Bt){return r.createElement("tr",Object.assign({},Bt))}function Xn(Bt){var Vn=Bt.children,nr=r.useContext(G),fr=nr.prefixCls;return r.createElement("tfoot",{className:"".concat(fr,"-summary")},Vn)}var rr=Xn,hr={Cell:jn,Row:Sn};function gn(Bt){var Vn,nr=Bt.prefixCls,fr=Bt.record,Re=Bt.onExpand,At=Bt.expanded,qt=Bt.expandable,$t="".concat(nr,"-row-expand-icon");if(!qt)return r.createElement("span",{className:s()($t,"".concat(nr,"-row-spaced"))});var Cn=function(Hn){Re(fr,Hn),Hn.stopPropagation()};return r.createElement("span",{className:s()($t,(Vn={},Object(n.a)(Vn,"".concat(nr,"-row-expanded"),At),Object(n.a)(Vn,"".concat(nr,"-row-collapsed"),!At),Vn)),onClick:Cn})}function vn(Bt,Vn,nr){var fr=[];function Re(At){(At||[]).forEach(function(qt,$t){fr.push(Vn(qt,$t)),Re(qt[nr])})}return Re(Bt),fr}var Ft=e("zT1h"),Ye=e("y0+3"),Pe=function(Vn,nr){var fr,Re,At=Vn.scrollBodyRef,qt=Vn.onScroll,$t=Vn.offsetScroll,Cn=r.useContext(G),Dn=Cn.prefixCls,Hn=((fr=At.current)===null||fr===void 0?void 0:fr.scrollWidth)||0,ar=((Re=At.current)===null||Re===void 0?void 0:Re.clientWidth)||0,Er=Hn&&ar*(ar/Hn),gr=r.useRef(),Rr=de({scrollLeft:0,isHiddenScrollBar:!1}),kr=Object(o.a)(Rr,2),wr=kr[0],Lr=kr[1],Ir=r.useRef({delta:0,x:0}),zr=r.useState(!1),Gr=Object(o.a)(zr,2),ri=Gr[0],yi=Gr[1],li=function(){yi(!1)},Ti=function(Wr){Wr.persist(),Ir.current.delta=Wr.pageX-wr.scrollLeft,Ir.current.x=0,yi(!0),Wr.preventDefault()},Fi=function(Wr){var Ri,Ki=Wr||((Ri=window)===null||Ri===void 0?void 0:Ri.event),hn=Ki.buttons;if(!ri||hn===0){ri&&yi(!1);return}var Rn=Ir.current.x+Wr.pageX-Ir.current.x-Ir.current.delta;Rn<=0&&(Rn=0),Rn+Er>=ar&&(Rn=ar-Er),qt({scrollLeft:Rn/ar*(Hn+2)}),Ir.current.x=Wr.pageX},Si=function(){var Wr=Object(Ye.b)(At.current).top,Ri=Wr+At.current.offsetHeight,Ki=document.documentElement.scrollTop+window.innerHeight;Ri-Object(x.a)()<=Ki||Wr>=Ki-$t?Lr(function(hn){return Object(l.a)(Object(l.a)({},hn),{},{isHiddenScrollBar:!0})}):Lr(function(hn){return Object(l.a)(Object(l.a)({},hn),{},{isHiddenScrollBar:!1})})},mi=function(Wr){Lr(function(Ri){return Object(l.a)(Object(l.a)({},Ri),{},{scrollLeft:Wr/Hn*ar||0})})};return r.useImperativeHandle(nr,function(){return{setScrollLeft:mi}}),r.useEffect(function(){var Ni=Object(Ft.a)(document.body,"mouseup",li,!1),Wr=Object(Ft.a)(document.body,"mousemove",Fi,!1);return Si(),function(){Ni.remove(),Wr.remove()}},[Er,ri]),r.useEffect(function(){var Ni=Object(Ft.a)(window,"scroll",Si,!1),Wr=Object(Ft.a)(window,"resize",Si,!1);return function(){Ni.remove(),Wr.remove()}},[]),r.useEffect(function(){wr.isHiddenScrollBar||Lr(function(Ni){var Wr,Ri;return Object(l.a)(Object(l.a)({},Ni),{},{scrollLeft:At.current.scrollLeft/((Wr=At.current)===null||Wr===void 0?void 0:Wr.scrollWidth)*((Ri=At.current)===null||Ri===void 0?void 0:Ri.clientWidth)})})},[wr.isHiddenScrollBar]),Hn<=ar||!Er||wr.isHiddenScrollBar?null:r.createElement("div",{style:{height:Object(x.a)(),width:ar,bottom:$t},className:"".concat(Dn,"-sticky-scroll")},r.createElement("div",{onMouseDown:Ti,ref:gr,className:s()("".concat(Dn,"-sticky-scroll-bar"),Object(n.a)({},"".concat(Dn,"-sticky-scroll-bar-active"),ri)),style:{width:"".concat(Er,"px"),transform:"translate3d(".concat(wr.scrollLeft,"px, 0, 0)")}}))},Jt=r.forwardRef(Pe);function bn(Bt,Vn){return r.useMemo(function(){var nr=!!Bt;return{isSticky:nr,stickyClassName:nr?"".concat(Vn,"-sticky-header"):"",offsetHeader:Object(u.a)(Bt)==="object"&&Bt.offsetHeader||0,offsetScroll:Object(u.a)(Bt)==="object"&&Bt.offsetScroll||0}},[Bt,Vn])}var An=[],dn={},vr="rc-table-internal-hook",qn=r.memo(function(Bt){var Vn=Bt.children;return Vn},function(Bt,Vn){return h()(Bt.props,Vn.props)?Bt.pingLeft!==Vn.pingLeft||Bt.pingRight!==Vn.pingRight:!1});function Ur(Bt){var Vn,nr=Bt.prefixCls,fr=Bt.className,Re=Bt.rowClassName,At=Bt.style,qt=Bt.data,$t=Bt.rowKey,Cn=Bt.scroll,Dn=Bt.tableLayout,Hn=Bt.direction,ar=Bt.title,Er=Bt.footer,gr=Bt.summary,Rr=Bt.id,kr=Bt.showHeader,wr=Bt.components,Lr=Bt.emptyText,Ir=Bt.onRow,zr=Bt.onHeaderRow,Gr=Bt.internalHooks,ri=Bt.transformColumns,yi=Bt.internalRefs,li=Bt.sticky,Ti=qt||An,Fi=!!Ti.length,Si=r.useState(0),mi=Object(o.a)(Si,2),Ni=mi[0],Wr=mi[1];r.useEffect(function(){Wr(Object(x.a)())});var Ri=r.useMemo(function(){return M(wr,{})},[wr]),Ki=r.useCallback(function(ro,go){return R(Ri,ro)||go},[Ri]),hn=r.useMemo(function(){return typeof $t=="function"?$t:function(ro){var go=ro&&ro[$t];return go}},[$t]),Rn=ce(Bt),Yn=Rn.expandIcon,En=Rn.expandedRowKeys,Mt=Rn.defaultExpandedRowKeys,mn=Rn.defaultExpandAllRows,zt=Rn.expandedRowRender,_n=Rn.onExpand,kn=Rn.onExpandedRowsChange,pr=Rn.expandRowByClick,or=Rn.rowExpandable,yr=Rn.expandIconColumnIndex,_r=Rn.expandedRowClassName,Yr=Rn.childrenColumnName,Jr=Rn.indentSize,Ci=Yn||gn,ta=Yr||"children",oa=r.useMemo(function(){return zt?"row":Bt.expandable&&Gr===vr&&Bt.expandable.__PARENT_RENDER_ICON__||Ti.some(function(ro){return ro&&Object(u.a)(ro)==="object"&&ro[ta]})?"nest":!1},[!!zt,Ti]),da=r.useState(function(){return Mt||(mn?vn(Ti,hn,ta):[])}),ua=Object(o.a)(da,2),ma=ua[0],ki=ua[1],Di=r.useMemo(function(){return new Set(En||ma||[])},[En,ma]),na=r.useCallback(function(ro){var go=hn(ro,Ti.indexOf(ro)),Uo,rs=Di.has(go);rs?(Di.delete(go),Uo=Object(t.a)(Di)):Uo=[].concat(Object(t.a)(Di),[go]),ki(Uo),_n&&_n(!rs,ro),kn&&kn(Uo)},[hn,Di,Ti,_n,kn]),qi=r.useState(0),va=Object(o.a)(qi,2),Ta=va[0],Zi=va[1],Qi=an(Object(l.a)(Object(l.a)(Object(l.a)({},Bt),Rn),{},{expandable:!!zt,expandedKeys:Di,getRowKey:hn,onTriggerExpand:na,expandIcon:Ci,expandIconColumnIndex:yr,direction:Hn}),Gr===vr?ri:null),Na=Object(o.a)(Qi,2),ga=Na[0],Ii=Na[1],Sa=r.useMemo(function(){return{columns:ga,flattenColumns:Ii}},[ga,Ii]),Ra=r.useRef(),Da=r.useRef(),ka=r.useRef(),Pa=r.useState(!1),Ka=Object(o.a)(Pa,2),xa=Ka[0],ja=Ka[1],io=r.useState(!1),ia=Object(o.a)(io,2),lo=ia[0],Ya=ia[1],Ca=de(new Map),Xa=Object(o.a)(Ca,2),Ba=Xa[0],La=Xa[1],yo=F(Ii),ao=yo.map(function(ro){return Ba.get(ro)}),bo=r.useMemo(function(){return ao},[ao.join("_")]),uo=We(bo,Ii.length,Hn),co=Cn&&K(Cn.y),Ga=Cn&&K(Cn.x),eo=Ga&&Ii.some(function(ro){var go=ro.fixed;return go}),wa=r.useRef(),no=bn(li,nr),fo=no.isSticky,_i=no.offsetHeader,Ma=no.offsetScroll,Ro=no.stickyClassName,jo,Vo,Qo;co&&(Vo={overflowY:"scroll",maxHeight:Cn.y}),Ga&&(jo={overflowX:"auto"},co||(Vo={overflowY:"hidden"}),Qo={width:Cn.x===!0?"auto":Cn.x,minWidth:"100%"});var wo=r.useCallback(function(ro,go){La(function(Uo){var rs=new Map(Uo);return rs.set(ro,go),rs})},[]),Oa=he(null),Po=Object(o.a)(Oa,2),ds=Po[0],ho=Po[1];function To(ro,go){if(!go)return;typeof go=="function"?go(ro):go.scrollLeft!==ro&&(go.scrollLeft=ro)}var za=function(go){var Uo=go.currentTarget,rs=go.scrollLeft,ys=typeof rs=="number"?rs:Uo.scrollLeft,ms=Uo||dn;if(!ho()||ho()===ms){var Os;ds(ms),To(ys,Da.current),To(ys,ka.current),To(ys,(Os=wa.current)===null||Os===void 0?void 0:Os.setScrollLeft)}if(Uo){var al=Uo.scrollWidth,Ns=Uo.clientWidth;ja(ys>0),Ya(ys<al-Ns)}},Yo=function(){ka.current&&za({currentTarget:ka.current})},nl=function(go){var Uo=go.width;Yo(),Zi(Ra.current?Ra.current.offsetWidth:Uo)};r.useEffect(function(){return Yo},[]),r.useEffect(function(){Ga&&Yo()},[Ga]),r.useEffect(function(){Gr===vr&&yi&&(yi.body.current=ka.current)});var Is=Ki(["table"],"table"),Ls=r.useMemo(function(){return Dn||(eo?Cn.x==="max-content"?"auto":"fixed":co||Ii.some(function(ro){var go=ro.ellipsis;return go})?"fixed":"auto")},[co,eo,Ii,Dn]),xs,ps={colWidths:bo,columCount:Ii.length,stickyOffsets:uo,onHeaderRow:zr,fixHeader:co},Ts=r.useMemo(function(){return Fi?null:typeof Lr=="function"?Lr():Lr},[Fi,Lr]),Ho=r.createElement(lt,{data:Ti,measureColumnWidth:co||Ga||fo,expandedKeys:Di,rowExpandable:or,getRowKey:hn,onRow:Ir,emptyNode:Ts,childrenColumnName:ta}),mo=r.createElement(Se,{colWidths:Ii.map(function(ro){var go=ro.width;return go}),columns:Ii}),es=gr&&r.createElement(rr,null,gr(Ti)),zo=Ki(["body"]);if(co||fo){var _o;typeof zo=="function"?(_o=zo(Ti,{scrollbarSize:Ni,ref:ka,onScroll:za}),ps.colWidths=Ii.map(function(ro,go){var Uo=ro.width,rs=go===ga.length-1?Uo-Ni:Uo;return typeof rs=="number"&&!Number.isNaN(rs)?rs:(Object(f.a)(!1,"When use `components.body` with render props. Each column should have a fixed value."),0)})):_o=r.createElement("div",{style:Object(l.a)(Object(l.a)({},jo),Vo),onScroll:za,ref:ka,className:s()("".concat(nr,"-body"))},r.createElement(Is,{style:Object(l.a)(Object(l.a)({},Qo),{},{tableLayout:Ls})},mo,Ho,es),fo&&r.createElement(Jt,{ref:wa,offsetScroll:Ma,scrollBodyRef:ka,onScroll:za})),xs=r.createElement(r.Fragment,null,kr!==!1&&r.createElement(tt,Object.assign({noData:!Ti.length},ps,Sa,{direction:Hn,offsetHeader:_i,stickyClassName:Ro,ref:Da,onScroll:za})),_o)}else xs=r.createElement("div",{style:Object(l.a)(Object(l.a)({},jo),Vo),className:s()("".concat(nr,"-content")),onScroll:za,ref:ka},r.createElement(Is,{style:Object(l.a)(Object(l.a)({},Qo),{},{tableLayout:Ls})},mo,kr!==!1&&r.createElement(be,Object.assign({},ps,Sa)),Ho,es));var zn=Ee(Bt),Go=r.createElement("div",Object.assign({className:s()(nr,fr,(Vn={},Object(n.a)(Vn,"".concat(nr,"-rtl"),Hn==="rtl"),Object(n.a)(Vn,"".concat(nr,"-ping-left"),xa),Object(n.a)(Vn,"".concat(nr,"-ping-right"),lo),Object(n.a)(Vn,"".concat(nr,"-layout-fixed"),Dn==="fixed"),Object(n.a)(Vn,"".concat(nr,"-fixed-header"),co),Object(n.a)(Vn,"".concat(nr,"-fixed-column"),eo),Object(n.a)(Vn,"".concat(nr,"-scroll-horizontal"),Ga),Object(n.a)(Vn,"".concat(nr,"-has-fix-left"),Ii[0]&&Ii[0].fixed),Object(n.a)(Vn,"".concat(nr,"-has-fix-right"),Ii[Ii.length-1]&&Ii[Ii.length-1].fixed==="right"),Vn)),style:At,id:Rr,ref:Ra},zn),r.createElement(qn,{pingLeft:xa,pingRight:lo,props:Object(l.a)(Object(l.a)({},Bt),{},{stickyOffsets:uo,mergedExpandedKeys:Di})},ar&&r.createElement(Ln,{className:"".concat(nr,"-title")},ar(Ti)),r.createElement("div",{className:"".concat(nr,"-container")},xs),Er&&r.createElement(Ln,{className:"".concat(nr,"-footer")},Er(Ti))));Ga&&(Go=r.createElement(w.a,{onResize:nl},Go));var rl=r.useMemo(function(){return{prefixCls:nr,getComponent:Ki,scrollbarSize:Ni,direction:Hn,fixedInfoList:Ii.map(function(ro,go){return J(go,go,Ii,uo,Hn)}),isSticky:fo}},[nr,Ki,Ni,Hn,Ii,uo,Hn,fo]),zs=r.useMemo(function(){return Object(l.a)(Object(l.a)({},Sa),{},{tableLayout:Ls,rowClassName:Re,expandedRowClassName:_r,componentWidth:Ta,fixHeader:co,fixColumn:eo,horizonScroll:Ga,expandIcon:Ci,expandableType:oa,expandRowByClick:pr,expandedRowRender:zt,onTriggerExpand:na,expandIconColumnIndex:yr,indentSize:Jr})},[Sa,Ls,Re,_r,Ta,co,eo,Ga,Ci,oa,pr,zt,na,yr,Jr]),Ps=r.useMemo(function(){return{onColumnResize:wo}},[wo]);return r.createElement(G.Provider,{value:rl},r.createElement(ct.Provider,{value:zs},r.createElement(Ne.Provider,{value:Ps},Go)))}Ur.Column=S,Ur.ColumnGroup=C,Ur.Summary=hr,Ur.defaultProps={rowKey:"key",prefixCls:"rc-table",emptyText:function(){return"No Data"}};var Ue=Ur,He=Ue,se=e("W9HT"),Ae=e("NUBc"),Oe=e("H84U"),ze=function(Bt,Vn){var nr={};for(var fr in Bt)Object.prototype.hasOwnProperty.call(Bt,fr)&&Vn.indexOf(fr)<0&&(nr[fr]=Bt[fr]);if(Bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,fr=Object.getOwnPropertySymbols(Bt);Re<fr.length;Re++)Vn.indexOf(fr[Re])<0&&Object.prototype.propertyIsEnumerable.call(Bt,fr[Re])&&(nr[fr[Re]]=Bt[fr[Re]]);return nr},Rt=10;function Et(Bt,Vn){var nr={current:Vn.current,pageSize:Vn.pageSize},fr=Bt&&L()(Bt)==="object"?Bt:{};return Object.keys(fr).forEach(function(Re){var At=Vn[Re];typeof At!="function"&&(nr[Re]=At)}),nr}function _t(){for(var Bt={},Vn=arguments.length,nr=new Array(Vn),fr=0;fr<Vn;fr++)nr[fr]=arguments[fr];return nr.forEach(function(Re){Re&&Object.keys(Re).forEach(function(At){var qt=Re[At];qt!==void 0&&(Bt[At]=qt)})}),Bt}function Nn(Bt,Vn,nr){var fr=Vn&&L()(Vn)==="object"?Vn:{},Re=fr.total,At=Re===void 0?0:Re,qt=ze(fr,["total"]),$t=Object(r.useState)(function(){return{current:"defaultCurrent"in qt?qt.defaultCurrent:1,pageSize:"defaultPageSize"in qt?qt.defaultPageSize:Rt}}),Cn=b()($t,2),Dn=Cn[0],Hn=Cn[1],ar=_t(Dn,qt,{total:At>0?At:Bt});if(!At){var Er=Math.ceil(Bt/ar.pageSize);Er<ar.current&&(ar.current=1)}var gr=function(){var wr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,Lr=arguments.length>1?arguments[1]:void 0;Hn(d()(d()({},ar),{current:wr,pageSize:Lr||ar.pageSize}))},Rr=function(wr,Lr){var Ir=ar==null?void 0:ar.pageSize;Lr&&Lr!==Ir&&(wr=1,Vn&&Vn.onShowSizeChange&&Vn.onShowSizeChange(wr,Lr)),Vn&&Vn.onChange&&Vn.onChange(wr,Lr),gr(wr,Lr),nr(wr,Lr||Ir)};return Vn===!1?[{},function(){}]:[d()(d()({},ar),{onChange:Rr}),gr]}function Mn(Bt,Vn,nr){var fr=r.useRef({});function Re(At){if(!fr.current||fr.current.data!==Bt||fr.current.childrenColumnName!==Vn||fr.current.getRowKey!==nr){var qt=function Cn(Dn){Dn.forEach(function(Hn,ar){var Er=nr(Hn,ar);$t.set(Er,Hn),Hn&&L()(Hn)==="object"&&Vn in Hn&&Cn(Hn[Vn]||[])})},$t=new Map;qt(Bt),fr.current={data:Bt,childrenColumnName:Vn,kvMap:$t,getRowKey:nr}}return fr.current.kvMap.get(At)}return[Re]}var lr=e("SA+Z"),Lt=e.n(lr),$e=e("RIqP"),Qe=e.n($e),kt=e("HQEm"),Ht=e.n(kt),ot=e("815F"),Ct=e("NvD2"),nt=e("OZM5"),Ot=e("6cGi"),sn=e("kaz8"),Zt=e("jsC+"),Gt=e("BvKs"),Qn=e("9yH6"),Gn=e("uaoM"),Or="SELECT_ALL",Nr="SELECT_INVERT";function Kr(Bt){return Bt&&Bt.fixed}function ei(Bt,Vn){var nr=[];return(Bt||[]).forEach(function(fr){nr.push(fr),fr&&L()(fr)==="object"&&Vn in fr&&(nr=[].concat(Qe()(nr),Qe()(ei(fr[Vn],Vn))))}),nr}function vi(Bt,Vn){var nr=Bt||{},fr=nr.preserveSelectedRowKeys,Re=nr.selectedRowKeys,At=nr.getCheckboxProps,qt=nr.onChange,$t=nr.onSelect,Cn=nr.onSelectAll,Dn=nr.onSelectInvert,Hn=nr.onSelectMultiple,ar=nr.columnWidth,Er=nr.type,gr=nr.selections,Rr=nr.fixed,kr=nr.renderCell,wr=nr.hideSelectAll,Lr=nr.checkStrictly,Ir=Lr===void 0?!0:Lr,zr=Vn.prefixCls,Gr=Vn.data,ri=Vn.pageData,yi=Vn.getRecordByKey,li=Vn.getRowKey,Ti=Vn.expandType,Fi=Vn.childrenColumnName,Si=Vn.locale,mi=Vn.expandIconColumnIndex,Ni=Vn.getPopupContainer,Wr=r.useRef(new Map),Ri=Object(Ot.a)(Re||[],{value:Re}),Ki=b()(Ri,2),hn=Ki[0],Rn=Ki[1],Yn=Object(r.useMemo)(function(){return Ir?{keyEntities:null}:Object(ot.a)(Gr,void 0,li)},[Gr,li,Ir]),En=Yn.keyEntities,Mt=Object(r.useMemo)(function(){return ei(ri,Fi)},[ri,Fi]),mn=Object(r.useMemo)(function(){var ki=new Map;return Mt.forEach(function(Di,na){var qi=li(Di,na),va=(At?At(Di):null)||{};ki.set(qi,va)}),ki},[Mt,li,At]),zt=Object(r.useCallback)(function(ki){var Di;return!!((Di=mn.get(li(ki)))===null||Di===void 0?void 0:Di.disabled)},[mn,li]),_n=Object(r.useMemo)(function(){if(Ir)return[hn,[]];var ki=Object(Ct.a)(hn,!0,En,zt),Di=ki.checkedKeys,na=ki.halfCheckedKeys;return[Di,na]},[hn,Ir,En,zt]),kn=b()(_n,2),pr=kn[0],or=kn[1],yr=Object(r.useMemo)(function(){var ki=Er==="radio"?pr.slice(0,1):pr;return new Set(ki)},[pr,Er]),_r=Object(r.useMemo)(function(){return Er==="radio"?new Set:new Set(or)},[or,Er]),Yr=Object(r.useState)(null),Jr=b()(Yr,2),Ci=Jr[0],ta=Jr[1];r.useEffect(function(){Bt||Rn([])},[!!Bt]);var oa=Object(r.useCallback)(function(ki){var Di,na;if(fr){var qi=new Map;Di=ki,na=ki.map(function(va){var Ta=yi(va);return!Ta&&Wr.current.has(va)&&(Ta=Wr.current.get(va)),qi.set(va,Ta),Ta}),Wr.current=qi}else Di=[],na=[],ki.forEach(function(va){var Ta=yi(va);Ta!==void 0&&(Di.push(va),na.push(Ta))});Rn(Di),qt&&qt(Di,na)},[Rn,yi,qt,fr]),da=Object(r.useCallback)(function(ki,Di,na,qi){if($t){var va=na.map(function(Ta){return yi(Ta)});$t(yi(ki),Di,va,qi)}oa(na)},[$t,yi,oa]),ua=Object(r.useMemo)(function(){if(!gr||wr)return null;var ki=gr===!0?[Or,Nr]:gr;return ki.map(function(Di){return Di===Or?{key:"all",text:Si.selectionAll,onSelect:function(){oa(Gr.map(function(qi,va){return li(qi,va)}))}}:Di===Nr?{key:"invert",text:Si.selectInvert,onSelect:function(){var qi=new Set(yr);ri.forEach(function(Ta,Zi){var Qi=li(Ta,Zi);qi.has(Qi)?qi.delete(Qi):qi.add(Qi)});var va=Array.from(qi);oa(va),Dn&&(Object(Gn.a)(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),Dn(va))}}:Di})},[gr,yr,ri,li,Dn,oa]),ma=Object(r.useCallback)(function(ki){if(!Bt)return ki;var Di=new Set(yr),na=Mt.map(li).filter(function(xa){return!mn.get(xa).disabled}),qi=na.every(function(xa){return Di.has(xa)}),va=na.some(function(xa){return Di.has(xa)}),Ta=function(){var ja=[];qi?na.forEach(function(ia){Di.delete(ia),ja.push(ia)}):na.forEach(function(ia){Di.has(ia)||(Di.add(ia),ja.push(ia))});var io=Array.from(Di);oa(io),Cn&&Cn(!qi,io.map(function(ia){return yi(ia)}),ja.map(function(ia){return yi(ia)}))},Zi;if(Er!=="radio"){var Qi;if(ua){var Na=r.createElement(Gt.a,{getPopupContainer:Ni},ua.map(function(xa,ja){var io=xa.key,ia=xa.text,lo=xa.onSelect;return r.createElement(Gt.a.Item,{key:io||ja,onClick:function(){lo&&lo(na)}},ia)}));Qi=r.createElement("div",{className:"".concat(zr,"-selection-extra")},r.createElement(Zt.a,{overlay:Na,getPopupContainer:Ni},r.createElement("span",null,r.createElement(Ht.a,null))))}var ga=Mt.every(function(xa,ja){var io=li(xa,ja),ia=mn.get(io)||{};return ia.disabled});Zi=!wr&&r.createElement("div",{className:"".concat(zr,"-selection")},r.createElement(sn.a,{checked:!ga&&!!Mt.length&&qi,indeterminate:!qi&&va,onChange:Ta,disabled:Mt.length===0||ga}),Qi)}var Ii;Er==="radio"?Ii=function(ja,io,ia){var lo=li(io,ia),Ya=Di.has(lo);return{node:r.createElement(Qn.a,d()({},mn.get(lo),{checked:Ya,onClick:function(Xa){return Xa.stopPropagation()},onChange:function(Xa){Di.has(lo)||da(lo,!0,[lo],Xa.nativeEvent)}})),checked:Ya}}:Ii=function(ja,io,ia){var lo,Ya=li(io,ia),Ca=Di.has(Ya),Xa=_r.has(Ya),Ba=mn.get(Ya),La;return Ti==="nest"?(La=Xa,Object(Gn.a)(!(typeof(Ba==null?void 0:Ba.indeterminate)=="boolean"),"Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):La=(lo=Ba==null?void 0:Ba.indeterminate)!==null&&lo!==void 0?lo:Xa,{node:r.createElement(sn.a,d()({},Ba,{indeterminate:La,checked:Ca,onClick:function(ao){return ao.stopPropagation()},onChange:function(ao){var bo=ao.nativeEvent,uo=bo.shiftKey,co=-1,Ga=-1;if(uo&&Ir){var eo=new Set([Ci,Ya]);na.some(function(Oa,Po){if(eo.has(Oa))if(co===-1)co=Po;else return Ga=Po,!0;return!1})}if(Ga!==-1&&co!==Ga&&Ir){var wa=na.slice(co,Ga+1),no=[];Ca?wa.forEach(function(Oa){Di.has(Oa)&&(no.push(Oa),Di.delete(Oa))}):wa.forEach(function(Oa){Di.has(Oa)||(no.push(Oa),Di.add(Oa))});var fo=Array.from(Di);oa(fo),Hn&&Hn(!Ca,fo.map(function(Oa){return yi(Oa)}),no.map(function(Oa){return yi(Oa)}))}else{var _i=pr;if(Ir){var Ma=Ca?Object(nt.b)(_i,Ya):Object(nt.a)(_i,Ya);da(Ya,!Ca,Ma,bo)}else{var Ro=Object(Ct.a)([].concat(Qe()(_i),[Ya]),!0,En,zt),jo=Ro.checkedKeys,Vo=Ro.halfCheckedKeys,Qo=jo;if(Ca){var wo=new Set(jo);wo.delete(Ya),Qo=Object(Ct.a)(Array.from(wo),{checked:!1,halfCheckedKeys:Vo},En,zt).checkedKeys}da(Ya,!Ca,Qo,bo)}}ta(Ya)}})),checked:Ca}};var Sa=function(ja,io,ia){var lo=Ii(ja,io,ia),Ya=lo.node,Ca=lo.checked;return kr?kr(Ca,io,ia,Ya):Ya},Ra=v()({width:ar,className:"".concat(zr,"-selection-column"),title:Bt.columnTitle||Zi,render:Sa},ke,{className:"".concat(zr,"-selection-col")});if(Ti==="row"&&ki.length&&!mi){var Da=Lt()(ki),ka=Da[0],Pa=Da.slice(1),Ka=Rr||Kr(Pa[0]);return Ka&&(ka.fixed=Ka),[ka,d()(d()({},Ra),{fixed:Ka})].concat(Qe()(Pa))}return[d()(d()({},Ra),{fixed:Rr||Kr(ki[0])})].concat(Qe()(ki))},[li,Mt,Bt,pr,yr,_r,ar,ua,Ti,Ci,mn,Hn,da,zt]);return[ma,yr]}var Pi=e("6SEX"),Be=e.n(Pi),le=e("i8CU"),ye=e.n(le),xe=e("3S7+");function De(Bt,Vn){return"key"in Bt&&Bt.key!==void 0&&Bt.key!==null?Bt.key:Bt.dataIndex?Array.isArray(Bt.dataIndex)?Bt.dataIndex.join("."):Bt.dataIndex:Vn}function Le(Bt,Vn){return Vn?"".concat(Vn,"-").concat(Bt):"".concat(Bt)}function Fe(Bt,Vn){return typeof Bt=="function"?Bt(Vn):Bt}var at="ascend",Ve="descend";function It(Bt){return L()(Bt.sorter)==="object"&&typeof Bt.sorter.multiple=="number"?Bt.sorter.multiple:!1}function pn(Bt){return typeof Bt=="function"?Bt:Bt&&L()(Bt)==="object"&&Bt.compare?Bt.compare:!1}function rn(Bt,Vn){return Vn?Bt[Bt.indexOf(Vn)+1]:Bt[0]}function Tn(Bt,Vn,nr){var fr=[];function Re(At,qt){fr.push({column:At,key:De(At,qt),multiplePriority:It(At),sortOrder:At.sortOrder})}return(Bt||[]).forEach(function(At,qt){var $t=Le(qt,nr);At.children?("sortOrder"in At&&Re(At,$t),fr=[].concat(Qe()(fr),Qe()(Tn(At.children,Vn,$t)))):At.sorter&&("sortOrder"in At?Re(At,$t):Vn&&At.defaultSortOrder&&fr.push({column:At,key:De(At,$t),multiplePriority:It(At),sortOrder:At.defaultSortOrder}))}),fr}function Nt(Bt,Vn,nr,fr,Re,At,qt,$t){return(Vn||[]).map(function(Cn,Dn){var Hn=Le(Dn,$t),ar=Cn;if(ar.sorter){var Er=ar.sortDirections||Re,gr=ar.showSorterTooltip===void 0?qt:ar.showSorterTooltip,Rr=De(ar,Hn),kr=nr.find(function(Fi){var Si=Fi.key;return Si===Rr}),wr=kr?kr.sortOrder:null,Lr=rn(Er,wr),Ir=Er.includes(at)&&r.createElement(ye.a,{className:s()("".concat(Bt,"-column-sorter-up"),{active:wr===at})}),zr=Er.includes(Ve)&&r.createElement(Be.a,{className:s()("".concat(Bt,"-column-sorter-down"),{active:wr===Ve})}),Gr=At||{},ri=Gr.cancelSort,yi=Gr.triggerAsc,li=Gr.triggerDesc,Ti=ri;Lr===Ve?Ti=li:Lr===at&&(Ti=yi),ar=d()(d()({},ar),{className:s()(ar.className,v()({},"".concat(Bt,"-column-sort"),wr)),title:function(Si){var mi=r.createElement("div",{className:"".concat(Bt,"-column-sorters")},r.createElement("span",null,Fe(Cn.title,Si)),r.createElement("span",{className:s()("".concat(Bt,"-column-sorter"),v()({},"".concat(Bt,"-column-sorter-full"),Ir&&zr))},r.createElement("span",{className:"".concat(Bt,"-column-sorter-inner")},Ir,zr)));return gr?r.createElement(xe.a,{title:Ti},r.createElement("div",{className:"".concat(Bt,"-column-sorters-with-tooltip")},mi)):mi},onHeaderCell:function(Si){var mi=Cn.onHeaderCell&&Cn.onHeaderCell(Si)||{},Ni=mi.onClick;return mi.onClick=function(Wr){fr({column:Cn,key:Rr,sortOrder:Lr,multiplePriority:It(Cn)}),Ni&&Ni(Wr)},mi.className=s()(mi.className,"".concat(Bt,"-column-has-sorters")),mi}})}return"children"in ar&&(ar=d()(d()({},ar),{children:Nt(Bt,ar.children,nr,fr,Re,At,qt,Hn)})),ar})}function ur(Bt){var Vn=Bt.column,nr=Bt.sortOrder;return{column:Vn,order:nr,field:Vn.dataIndex,columnKey:Vn.key}}function Xt(Bt){var Vn=Bt.filter(function(nr){var fr=nr.sortOrder;return fr}).map(ur);return Vn.length===0&&Bt.length?d()(d()({},ur(Bt[Bt.length-1])),{column:void 0}):Vn.length<=1?Vn[0]||{}:Vn}function Kn(Bt,Vn,nr){var fr=Vn.slice().sort(function(qt,$t){return $t.multiplePriority-qt.multiplePriority}),Re=Bt.slice(),At=fr.filter(function(qt){var $t=qt.column.sorter,Cn=qt.sortOrder;return pn($t)&&Cn});return At.length?Re.sort(function(qt,$t){for(var Cn=0;Cn<At.length;Cn+=1){var Dn=At[Cn],Hn=Dn.column.sorter,ar=Dn.sortOrder,Er=pn(Hn);if(Er&&ar){var gr=Er(qt,$t,ar);if(gr!==0)return ar===at?gr:-gr}}return 0}).map(function(qt){var $t=qt[nr];return $t?d()(d()({},qt),v()({},nr,Kn($t,Vn,nr))):qt}):Re}function Fn(Bt){var Vn=Bt.prefixCls,nr=Bt.mergedColumns,fr=Bt.onSorterChange,Re=Bt.sortDirections,At=Bt.tableLocale,qt=Bt.showSorterTooltip,$t=r.useState(Tn(nr,!0)),Cn=b()($t,2),Dn=Cn[0],Hn=Cn[1],ar=r.useMemo(function(){var wr=!0,Lr=Tn(nr,!1);if(!Lr.length)return Dn;var Ir=[];function zr(ri){wr?Ir.push(ri):Ir.push(d()(d()({},ri),{sortOrder:null}))}var Gr=null;return Lr.forEach(function(ri){Gr===null?(zr(ri),ri.sortOrder&&(ri.multiplePriority===!1?wr=!1:Gr=!0)):(Gr&&ri.multiplePriority!==!1||(wr=!1),zr(ri))}),Ir},[nr,Dn]),Er=r.useMemo(function(){var wr=ar.map(function(Lr){var Ir=Lr.column,zr=Lr.sortOrder;return{column:Ir,order:zr}});return{sortColumns:wr,sortColumn:wr[0]&&wr[0].column,sortOrder:wr[0]&&wr[0].order}},[ar]);function gr(wr){var Lr;wr.multiplePriority===!1||!ar.length||ar[0].multiplePriority===!1?Lr=[wr]:Lr=[].concat(Qe()(ar.filter(function(Ir){var zr=Ir.key;return zr!==wr.key})),[wr]),Hn(Lr),fr(Xt(Lr),Lr)}var Rr=function(Lr){return Nt(Vn,Lr,ar,gr,Re,At,qt)},kr=function(){return Xt(ar)};return[Rr,ar,Er,kr]}var un=e("Y+p1"),Sr=e.n(un),Fr=e("5Uyt"),ii=e.n(Fr),oi=e("2/Rp"),ti=e("ECub"),bi=function(Vn){return r.createElement("div",{className:Vn.className,onClick:function(fr){return fr.stopPropagation()}},Vn.children)},Mr=bi,Oi=e("sPtV"),Ar=Gt.a.SubMenu,Wn=Gt.a.Item;function xr(Bt){return Bt.some(function(Vn){var nr=Vn.children;return nr})}function er(Bt){var Vn=Bt.filters,nr=Bt.prefixCls,fr=Bt.filteredKeys,Re=Bt.filterMultiple,At=Bt.locale;return Vn.length===0?r.createElement(r.Fragment,null,r.createElement(ti.a,{image:ti.a.PRESENTED_IMAGE_SIMPLE,description:At.filterEmptyText,style:{margin:"16px 0"},imageStyle:{height:24}})):Vn.map(function(qt,$t){var Cn=String(qt.value);if(qt.children)return r.createElement(Ar,{key:Cn||$t,title:qt.text,popupClassName:"".concat(nr,"-dropdown-submenu")},er({filters:qt.children,prefixCls:nr,filteredKeys:fr,filterMultiple:Re,locale:At}));var Dn=Re?sn.a:Qn.a;return r.createElement(Wn,{key:qt.value!==void 0?Cn:$t},r.createElement(Dn,{checked:fr.includes(Cn)}),r.createElement("span",null,qt.text))})}function ci(Bt){var Vn,nr=Bt.prefixCls,fr=Bt.column,Re=Bt.dropdownPrefixCls,At=Bt.columnKey,qt=Bt.filterMultiple,$t=Bt.filterState,Cn=Bt.triggerFilter,Dn=Bt.locale,Hn=Bt.children,ar=Bt.getPopupContainer,Er=fr.filterDropdownVisible,gr=fr.onFilterDropdownVisibleChange,Rr=r.useState(!1),kr=b()(Rr,2),wr=kr[0],Lr=kr[1],Ir=!!($t&&(((Vn=$t.filteredKeys)===null||Vn===void 0?void 0:Vn.length)||$t.forceFiltered)),zr=function(Jr){Lr(Jr),gr&&gr(Jr)},Gr=typeof Er=="boolean"?Er:wr,ri=$t&&$t.filteredKeys,yi=Object(Oi.a)(ri||[]),li=b()(yi,2),Ti=li[0],Fi=li[1],Si=function(Jr){var Ci=Jr.selectedKeys;Fi(Ci)};r.useEffect(function(){Si({selectedKeys:ri||[]})},[ri]);var mi=r.useState([]),Ni=b()(mi,2),Wr=Ni[0],Ri=Ni[1],Ki=r.useRef(),hn=function(Jr){Ki.current=window.setTimeout(function(){Ri(Jr)})},Rn=function(){window.clearTimeout(Ki.current)};r.useEffect(function(){return function(){window.clearTimeout(Ki.current)}},[]);var Yn=function(Jr){zr(!1);var Ci=Jr&&Jr.length?Jr:null;if(Ci===null&&(!$t||!$t.filteredKeys))return null;if(Sr()(Ci,$t==null?void 0:$t.filteredKeys))return null;Cn({column:fr,key:At,filteredKeys:Ci})},En=function(){Yn(Ti())},Mt=function(){Fi([]),Yn([])},mn=function(Jr){Jr&&ri!==void 0&&Fi(ri||[]),zr(Jr),!Jr&&!fr.filterDropdown&&En()},zt=s()(v()({},"".concat(Re,"-menu-without-submenu"),!xr(fr.filters||[]))),_n;if(typeof fr.filterDropdown=="function")_n=fr.filterDropdown({prefixCls:"".concat(Re,"-custom"),setSelectedKeys:function(Jr){return Si({selectedKeys:Jr})},selectedKeys:Ti(),confirm:En,clearFilters:Mt,filters:fr.filters,visible:Gr});else if(fr.filterDropdown)_n=fr.filterDropdown;else{var kn=Ti()||[];_n=r.createElement(r.Fragment,null,r.createElement(Gt.a,{multiple:qt,prefixCls:"".concat(Re,"-menu"),className:zt,onClick:Rn,onSelect:Si,onDeselect:Si,selectedKeys:kn,getPopupContainer:ar,openKeys:Wr,onOpenChange:hn},er({filters:fr.filters||[],prefixCls:nr,filteredKeys:Ti(),filterMultiple:qt,locale:Dn})),r.createElement("div",{className:"".concat(nr,"-dropdown-btns")},r.createElement(oi.a,{type:"link",size:"small",disabled:kn.length===0,onClick:Mt},Dn.filterReset),r.createElement(oi.a,{type:"primary",size:"small",onClick:En},Dn.filterConfirm)))}var pr=r.createElement(Mr,{className:"".concat(nr,"-dropdown")},_n),or;typeof fr.filterIcon=="function"?or=fr.filterIcon(Ir):fr.filterIcon?or=fr.filterIcon:or=r.createElement(ii.a,null);var yr=r.useContext(Oe.b),_r=yr.direction;return r.createElement("div",{className:s()("".concat(nr,"-column"))},r.createElement("span",{className:"".concat(nr,"-column-title")},Hn),r.createElement("span",{className:s()("".concat(nr,"-trigger-container"),v()({},"".concat(nr,"-trigger-container-open"),Gr)),onClick:function(Jr){Jr.stopPropagation()}},r.createElement(Zt.a,{overlay:pr,trigger:["click"],visible:Gr,onVisibleChange:mn,getPopupContainer:ar,placement:_r==="rtl"?"bottomLeft":"bottomRight"},r.createElement("span",{role:"button",tabIndex:-1,className:s()("".concat(nr,"-trigger"),{active:Ir})},or))))}var qr=ci;function wi(Bt,Vn,nr){var fr=[];return(Bt||[]).forEach(function(Re,At){var qt=Le(At,nr);"children"in Re?fr=[].concat(Qe()(fr),Qe()(wi(Re.children,Vn,qt))):(Re.filters||"filterDropdown"in Re||"onFilter"in Re)&&("filteredValue"in Re?fr.push({column:Re,key:De(Re,qt),filteredKeys:Re.filteredValue,forceFiltered:Re.filtered}):fr.push({column:Re,key:De(Re,qt),filteredKeys:Vn&&Re.defaultFilteredValue?Re.defaultFilteredValue:void 0,forceFiltered:Re.filtered}))}),fr}function Xr(Bt,Vn,nr,fr,Re,At,qt,$t){return nr.map(function(Cn,Dn){var Hn=Le(Dn,$t),ar=Cn.filterMultiple,Er=ar===void 0?!0:ar;if(Cn.filters||"filterDropdown"in Cn){var gr=De(Cn,Hn),Rr=fr.find(function(kr){var wr=kr.key;return gr===wr});return d()(d()({},Cn),{title:function(wr){return r.createElement(qr,{prefixCls:"".concat(Bt,"-filter"),dropdownPrefixCls:Vn,column:Cn,columnKey:gr,filterState:Rr,filterMultiple:Er,triggerFilter:Re,locale:qt,getPopupContainer:At},Fe(Cn.title,wr))}})}return"children"in Cn?d()(d()({},Cn),{children:Xr(Bt,Vn,Cn.children,fr,Re,At,qt,Hn)}):Cn})}function Hi(Bt){var Vn={};return Bt.forEach(function(nr){var fr=nr.key,Re=nr.filteredKeys;Vn[fr]=Re||null}),Vn}function ni(Bt){var Vn=[];return(Bt||[]).forEach(function(nr){var fr=nr.value,Re=nr.children;Vn.push(fr),Re&&(Vn=[].concat(Qe()(Vn),Qe()(ni(Re))))}),Vn}function Mi(Bt,Vn){return Vn.reduce(function(nr,fr){var Re=fr.column,At=Re.onFilter,qt=Re.filters,$t=fr.filteredKeys;return At&&$t&&$t.length?nr.filter(function(Cn){return $t.some(function(Dn){var Hn=ni(qt),ar=Hn.findIndex(function(gr){return String(gr)===String(Dn)}),Er=ar!==-1?Hn[ar]:Dn;return At(Er,Cn)})}):nr},Bt)}function cr(Bt){var Vn=Bt.prefixCls,nr=Bt.dropdownPrefixCls,fr=Bt.mergedColumns,Re=Bt.onFilterChange,At=Bt.getPopupContainer,qt=Bt.locale,$t=r.useState(wi(fr,!0)),Cn=b()($t,2),Dn=Cn[0],Hn=Cn[1],ar=r.useMemo(function(){var kr=wi(fr,!1);return kr.every(function(wr){var Lr=wr.filteredKeys;return Lr===void 0})?Dn:kr},[fr,Dn]),Er=r.useCallback(function(){return Hi(ar)},[ar]),gr=function(wr){var Lr=ar.filter(function(Ir){var zr=Ir.key;return zr!==wr.key});Lr.push(wr),Hn(Lr),Re(Hi(Lr),Lr)},Rr=function(wr){return Xr(Vn,nr,wr,ar,gr,At,qt)};return[Rr,ar,Er]}var Pn=cr;function br(Bt,Vn){return Bt.map(function(nr){var fr=d()({},nr);return fr.title=Fe(nr.title,Vn),"children"in fr&&(fr.children=br(fr.children,Vn)),fr})}function Br(Bt){var Vn=r.useCallback(function(nr){return br(nr,Bt)},[Bt]);return[Vn]}function Qr(Bt){return function(nr){var fr,Re=nr.prefixCls,At=nr.onExpand,qt=nr.record,$t=nr.expanded,Cn=nr.expandable,Dn="".concat(Re,"-row-expand-icon");return r.createElement("button",{type:"button",onClick:function(ar){At(qt,ar),ar.stopPropagation()},className:s()(Dn,(fr={},v()(fr,"".concat(Dn,"-spaced"),!Cn),v()(fr,"".concat(Dn,"-expanded"),Cn&&$t),v()(fr,"".concat(Dn,"-collapsed"),Cn&&!$t),fr)),"aria-label":$t?Bt.collapse:Bt.expand})}}var $r=Qr,hi=e("zAh6"),fi=e("ZvpZ"),Ai=fi.a,Wi=e("3Nzz");function ra(Bt){return null}var $i=ra;function Ha(Bt){return null}var pi=Ha,sr=e("5OYt"),Li=[];function Ji(Bt){var Vn,nr=Bt.prefixCls,fr=Bt.className,Re=Bt.style,At=Bt.size,qt=Bt.bordered,$t=Bt.dropdownPrefixCls,Cn=Bt.dataSource,Dn=Bt.pagination,Hn=Bt.rowSelection,ar=Bt.rowKey,Er=Bt.rowClassName,gr=Bt.columns,Rr=Bt.children,kr=Bt.childrenColumnName,wr=Bt.onChange,Lr=Bt.getPopupContainer,Ir=Bt.loading,zr=Bt.expandIcon,Gr=Bt.expandable,ri=Bt.expandedRowRender,yi=Bt.expandIconColumnIndex,li=Bt.indentSize,Ti=Bt.scroll,Fi=Bt.sortDirections,Si=Bt.locale,mi=Bt.showSorterTooltip,Ni=mi===void 0?!0:mi;Object(Gn.a)(!(typeof ar=="function"&&ar.length>1),"Table","`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected.");var Wr=Object(sr.a)(),Ri=r.useMemo(function(){var wo=new Set(Object.keys(Wr).filter(function(Oa){return Wr[Oa]}));return(gr||mt(Rr)).filter(function(Oa){return!Oa.responsive||Oa.responsive.some(function(Po){return wo.has(Po)})})},[Rr,gr,Wr]),Ki=Object(i.default)(Bt,["className","style","columns"]),hn=r.useContext(Wi.b),Rn=r.useContext(Oe.b),Yn=Rn.locale,En=Yn===void 0?Ai:Yn,Mt=Rn.renderEmpty,mn=Rn.direction,zt=At||hn,_n=d()(d()({},En.Table),Si),kn=Cn||Li,pr=r.useContext(Oe.b),or=pr.getPrefixCls,yr=or("table",nr),_r=or("dropdown",$t),Yr=d()({childrenColumnName:kr,expandIconColumnIndex:yi},Gr),Jr=Yr.childrenColumnName,Ci=Jr===void 0?"children":Jr,ta=r.useMemo(function(){return kn.some(function(wo){var Oa;return(Oa=wo)===null||Oa===void 0?void 0:Oa[Ci]})?"nest":ri||Gr&&Gr.expandedRowRender?"row":null},[kn]),oa={body:r.useRef()},da=r.useMemo(function(){return typeof ar=="function"?ar:function(wo){var Oa;return(Oa=wo)===null||Oa===void 0?void 0:Oa[ar]}},[ar]),ua=Mn(kn,Ci,da),ma=b()(ua,1),ki=ma[0],Di={},na=function(Oa,Po){var ds=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ho=d()(d()({},Di),Oa);ds&&(Di.resetPagination(),ho.pagination.current&&(ho.pagination.current=1),Dn&&Dn.onChange&&Dn.onChange(1,ho.pagination.pageSize)),Ti&&Ti.scrollToFirstRowOnChange!==!1&&oa.body.current&&Object(hi.a)(0,{getContainer:function(){return oa.body.current}}),wr&&wr(ho.pagination,ho.filters,ho.sorter,{currentDataSource:Mi(Kn(kn,ho.sorterStates,Ci),ho.filterStates),action:Po})},qi=function(Oa,Po){na({sorter:Oa,sorterStates:Po},"sort",!1)},va=Fn({prefixCls:yr,mergedColumns:Ri,onSorterChange:qi,sortDirections:Fi||["ascend","descend"],tableLocale:_n,showSorterTooltip:Ni}),Ta=b()(va,4),Zi=Ta[0],Qi=Ta[1],Na=Ta[2],ga=Ta[3],Ii=r.useMemo(function(){return Kn(kn,Qi,Ci)},[kn,Qi]);Di.sorter=ga(),Di.sorterStates=Qi;var Sa=function(Oa,Po){na({filters:Oa,filterStates:Po},"filter",!0)},Ra=Pn({prefixCls:yr,locale:_n,dropdownPrefixCls:_r,mergedColumns:Ri,onFilterChange:Sa,getPopupContainer:Lr}),Da=b()(Ra,3),ka=Da[0],Pa=Da[1],Ka=Da[2],xa=Mi(Ii,Pa);Di.filters=Ka(),Di.filterStates=Pa;var ja=r.useMemo(function(){return d()({},Na)},[Na]),io=Br(ja),ia=b()(io,1),lo=ia[0],Ya=function(Oa,Po){na({pagination:d()(d()({},Di.pagination),{current:Oa,pageSize:Po})},"paginate")},Ca=Nn(xa.length,Dn,Ya),Xa=b()(Ca,2),Ba=Xa[0],La=Xa[1];Di.pagination=Dn===!1?{}:Et(Dn,Ba),Di.resetPagination=La;var yo=r.useMemo(function(){if(Dn===!1||!Ba.pageSize)return xa;var wo=Ba.current,Oa=wo===void 0?1:wo,Po=Ba.total,ds=Ba.pageSize,ho=ds===void 0?Rt:ds;return xa.length<Po?xa.length>ho?(Object(Gn.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."),xa.slice((Oa-1)*ho,Oa*ho)):xa:xa.slice((Oa-1)*ho,Oa*ho)},[!!Dn,xa,Ba&&Ba.current,Ba&&Ba.pageSize,Ba&&Ba.total]),ao=vi(Hn,{prefixCls:yr,data:xa,pageData:yo,getRowKey:da,getRecordByKey:ki,expandType:ta,childrenColumnName:Ci,locale:_n,expandIconColumnIndex:Yr.expandIconColumnIndex,getPopupContainer:Lr}),bo=b()(ao,2),uo=bo[0],co=bo[1],Ga=function(Oa,Po,ds){var ho;return typeof Er=="function"?ho=s()(Er(Oa,Po,ds)):ho=s()(Er),s()(v()({},"".concat(yr,"-row-selected"),co.has(da(Oa,Po))),ho)};Yr.__PARENT_RENDER_ICON__=Yr.expandIcon,Yr.expandIcon=Yr.expandIcon||zr||$r(_n),ta==="nest"&&Yr.expandIconColumnIndex===void 0?Yr.expandIconColumnIndex=Hn?1:0:Yr.expandIconColumnIndex>0&&Hn&&(Yr.expandIconColumnIndex-=1),typeof Yr.indentSize!="number"&&(Yr.indentSize=typeof li=="number"?li:15);var eo=r.useCallback(function(wo){return lo(uo(ka(Zi(wo))))},[Zi,ka,uo]),wa,no;if(Dn!==!1){var fo;Ba.size?fo=Ba.size:fo=zt==="small"||zt==="middle"?"small":void 0;var _i=function(Oa){return r.createElement(Ae.a,d()({className:"".concat(yr,"-pagination ").concat(yr,"-pagination-").concat(Oa)},Ba,{size:fo}))},Ma=mn==="rtl"?"left":"right";if(Ba.position!==null&&Array.isArray(Ba.position)){var Ro=Ba.position.find(function(wo){return wo.indexOf("top")!==-1}),jo=Ba.position.find(function(wo){return wo.indexOf("bottom")!==-1});!Ro&&!jo?no=_i(Ma):(Ro&&(wa=_i(Ro.toLowerCase().replace("top",""))),jo&&(no=_i(jo.toLowerCase().replace("bottom",""))))}else no=_i(Ma)}var Vo;typeof Ir=="boolean"?Vo={spinning:Ir}:L()(Ir)==="object"&&(Vo=d()({spinning:!0},Ir));var Qo=s()("".concat(yr,"-wrapper"),fr,v()({},"".concat(yr,"-wrapper-rtl"),mn==="rtl"));return r.createElement("div",{className:Qo,style:Re},r.createElement(se.a,d()({spinning:!1},Vo),wa,r.createElement(He,d()({},Ki,{columns:Ri,direction:mn,expandable:Yr,prefixCls:yr,className:s()((Vn={},v()(Vn,"".concat(yr,"-middle"),zt==="middle"),v()(Vn,"".concat(yr,"-small"),zt==="small"),v()(Vn,"".concat(yr,"-bordered"),qt),v()(Vn,"".concat(yr,"-empty"),kn.length===0),Vn)),data:yo,rowKey:da,rowClassName:Ga,emptyText:Si&&Si.emptyText||Mt("Table"),internalHooks:vr,internalRefs:oa,transformColumns:eo})),xa&&xa.length>0&&no))}Ji.defaultProps={rowKey:"key"},Ji.SELECTION_ALL=Or,Ji.SELECTION_INVERT=Nr,Ji.Column=$i,Ji.ColumnGroup=pi,Ji.Summary=hr;var Ui=Ji,ea=U.a=Ui},wDdD:function(te,U,e){var y=e("ProS"),L=e("bYtY");e("98bh"),e("GrNh");var g=e("d4KN"),v=e("mOdp"),A=e("KS52"),b=e("0/Rx");g("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),y.registerVisual(v("pie")),y.registerLayout(L.curry(A,"pie")),y.registerProcessor(b("pie"))},wOnQ:function(te,U,e){/*!
|
|
|
* html2canvas 1.4.1 <https://html2canvas.hertzen.com>
|
|
|
* Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
|
|
|
* Released under MIT License
|
|
|
*/(function(y,L){te.exports=L()})(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($,oe){return y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ge,_e){ge.__proto__=_e}||function(ge,_e){for(var xt in _e)Object.prototype.hasOwnProperty.call(_e,xt)&&(ge[xt]=_e[xt])},y($,oe)};function L(Wt,$){if(typeof $!="function"&&$!==null)throw new TypeError("Class extends value "+String($)+" is not a constructor or null");y(Wt,$);function oe(){this.constructor=Wt}Wt.prototype=$===null?Object.create($):(oe.prototype=$.prototype,new oe)}var g=function(){return g=Object.assign||function(oe){for(var ge,_e=1,xt=arguments.length;_e<xt;_e++){ge=arguments[_e];for(var yn in ge)Object.prototype.hasOwnProperty.call(ge,yn)&&(oe[yn]=ge[yn])}return oe},g.apply(this,arguments)};function v(Wt,$,oe,ge){function _e(xt){return xt instanceof oe?xt:new oe(function(yn){yn(xt)})}return new(oe||(oe=Promise))(function(xt,yn){function Un(ai){try{mr(ge.next(ai))}catch(Zr){yn(Zr)}}function Zn(ai){try{mr(ge.throw(ai))}catch(Zr){yn(Zr)}}function mr(ai){ai.done?xt(ai.value):_e(ai.value).then(Un,Zn)}mr((ge=ge.apply(Wt,$||[])).next())})}function A(Wt,$){var oe={label:0,sent:function(){if(xt[0]&1)throw xt[1];return xt[1]},trys:[],ops:[]},ge,_e,xt,yn;return yn={next:Un(0),throw:Un(1),return:Un(2)},typeof Symbol=="function"&&(yn[Symbol.iterator]=function(){return this}),yn;function Un(mr){return function(ai){return Zn([mr,ai])}}function Zn(mr){if(ge)throw new TypeError("Generator is already executing.");for(;oe;)try{if(ge=1,_e&&(xt=mr[0]&2?_e.return:mr[0]?_e.throw||((xt=_e.return)&&xt.call(_e),0):_e.next)&&!(xt=xt.call(_e,mr[1])).done)return xt;(_e=0,xt)&&(mr=[mr[0]&2,xt.value]);switch(mr[0]){case 0:case 1:xt=mr;break;case 4:return oe.label++,{value:mr[1],done:!1};case 5:oe.label++,_e=mr[1],mr=[0];continue;case 7:mr=oe.ops.pop(),oe.trys.pop();continue;default:if(!(xt=oe.trys,xt=xt.length>0&&xt[xt.length-1])&&(mr[0]===6||mr[0]===2)){oe=0;continue}if(mr[0]===3&&(!xt||mr[1]>xt[0]&&mr[1]<xt[3])){oe.label=mr[1];break}if(mr[0]===6&&oe.label<xt[1]){oe.label=xt[1],xt=mr;break}if(xt&&oe.label<xt[2]){oe.label=xt[2],oe.ops.push(mr);break}xt[2]&&oe.ops.pop(),oe.trys.pop();continue}mr=$.call(Wt,oe)}catch(ai){mr=[6,ai],_e=0}finally{ge=xt=0}if(mr[0]&5)throw mr[1];return{value:mr[0]?mr[1]:void 0,done:!0}}}function b(Wt,$,oe){if(oe||arguments.length===2)for(var ge=0,_e=$.length,xt;ge<_e;ge++)(xt||!(ge in $))&&(xt||(xt=Array.prototype.slice.call($,0,ge)),xt[ge]=$[ge]);return Wt.concat(xt||$)}for(var m=function(){function Wt($,oe,ge,_e){this.left=$,this.top=oe,this.width=ge,this.height=_e}return Wt.prototype.add=function($,oe,ge,_e){return new Wt(this.left+$,this.top+oe,this.width+ge,this.height+_e)},Wt.fromClientRect=function($,oe){return new Wt(oe.left+$.windowBounds.left,oe.top+$.windowBounds.top,oe.width,oe.height)},Wt.fromDOMRectList=function($,oe){var ge=Array.from(oe).find(function(_e){return _e.width!==0});return ge?new Wt(ge.left+$.windowBounds.left,ge.top+$.windowBounds.top,ge.width,ge.height):Wt.EMPTY},Wt.EMPTY=new Wt(0,0,0,0),Wt}(),d=function($,oe){return m.fromClientRect($,oe.getBoundingClientRect())},r=function($){var oe=$.body,ge=$.documentElement;if(!oe||!ge)throw new Error("Unable to get document size");var _e=Math.max(Math.max(oe.scrollWidth,ge.scrollWidth),Math.max(oe.offsetWidth,ge.offsetWidth),Math.max(oe.clientWidth,ge.clientWidth)),xt=Math.max(Math.max(oe.scrollHeight,ge.scrollHeight),Math.max(oe.offsetHeight,ge.offsetHeight),Math.max(oe.clientHeight,ge.clientHeight));return new m(0,0,_e,xt)},a=function($){for(var oe=[],ge=0,_e=$.length;ge<_e;){var xt=$.charCodeAt(ge++);if(xt>=55296&&xt<=56319&&ge<_e){var yn=$.charCodeAt(ge++);(yn&64512)===56320?oe.push(((xt&1023)<<10)+(yn&1023)+65536):(oe.push(xt),ge--)}else oe.push(xt)}return oe},s=function(){for(var $=[],oe=0;oe<arguments.length;oe++)$[oe]=arguments[oe];if(String.fromCodePoint)return String.fromCodePoint.apply(String,$);var ge=$.length;if(!ge)return"";for(var _e=[],xt=-1,yn="";++xt<ge;){var Un=$[xt];Un<=65535?_e.push(Un):(Un-=65536,_e.push((Un>>10)+55296,Un%1024+56320)),(xt+1===ge||_e.length>16384)&&(yn+=String.fromCharCode.apply(String,_e),_e.length=0)}return yn},i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),l=0;l<i.length;l++)n[i.charCodeAt(l)]=l;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),o=0;o<t.length;o++)u[t.charCodeAt(o)]=o;for(var c=function($){var oe=$.length*.75,ge=$.length,_e,xt=0,yn,Un,Zn,mr;$[$.length-1]==="="&&(oe--,$[$.length-2]==="="&&oe--);var ai=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(oe):new Array(oe),Zr=Array.isArray(ai)?ai:new Uint8Array(ai);for(_e=0;_e<ge;_e+=4)yn=u[$.charCodeAt(_e)],Un=u[$.charCodeAt(_e+1)],Zn=u[$.charCodeAt(_e+2)],mr=u[$.charCodeAt(_e+3)],Zr[xt++]=yn<<2|Un>>4,Zr[xt++]=(Un&15)<<4|Zn>>2,Zr[xt++]=(Zn&3)<<6|mr&63;return ai},h=function($){for(var oe=$.length,ge=[],_e=0;_e<oe;_e+=2)ge.push($[_e+1]<<8|$[_e]);return ge},f=function($){for(var oe=$.length,ge=[],_e=0;_e<oe;_e+=4)ge.push($[_e+3]<<24|$[_e+2]<<16|$[_e+1]<<8|$[_e]);return ge},w=5,x=6+5,I=2,C=x-w,N=65536>>w,S=1<<w,E=S-1,T=1024>>w,D=N+T,B=D,R=2048>>6,F=B+R,M=65536>>x,K=1<<C,j=K-1,H=function($,oe,ge){return $.slice?$.slice(oe,ge):new Uint16Array(Array.prototype.slice.call($,oe,ge))},k=function($,oe,ge){return $.slice?$.slice(oe,ge):new Uint32Array(Array.prototype.slice.call($,oe,ge))},P=function($,oe){var ge=c($),_e=Array.isArray(ge)?f(ge):new Uint32Array(ge),xt=Array.isArray(ge)?h(ge):new Uint16Array(ge),yn=24,Un=H(xt,yn/2,_e[4]/2),Zn=_e[5]===2?H(xt,(yn+_e[4])/2):k(_e,Math.ceil((yn+_e[4])/4));return new z(_e[0],_e[1],_e[2],_e[3],Un,Zn)},z=function(){function Wt($,oe,ge,_e,xt,yn){this.initialValue=$,this.errorValue=oe,this.highStart=ge,this.highValueIndex=_e,this.index=xt,this.data=yn}return Wt.prototype.get=function($){var oe;if($>=0){if($<55296||$>56319&&$<=65535)return oe=this.index[$>>w],oe=(oe<<I)+($&E),this.data[oe];if($<=65535)return oe=this.index[N+($-55296>>w)],oe=(oe<<I)+($&E),this.data[oe];if($<this.highStart)return oe=F-M+($>>x),oe=this.index[oe],oe+=$>>w&j,oe=this.index[oe],oe=(oe<<I)+($&E),this.data[oe];if($<=1114111)return this.data[this.highValueIndex]}return this.errorValue},Wt}(),Y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",_=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),G=0;G<Y.length;G++)_[Y.charCodeAt(G)]=G;var J="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",ue=50,q=1,re=2,me=3,be=4,ke=5,ce=7,Ee=8,pe=9,Se=10,st=11,qe=12,tt=13,Dt=14,ct=15,St=16,rt=17,ht=18,je=19,Me=20,Ne=21,it=22,wt=23,jt=24,lt=25,Te=26,mt=27,tn=28,Vt=29,Yt=30,Qt=31,an=32,on=33,vt=34,de=35,he=36,Pt=37,We=38,Je=39,Ln=40,jn=41,Sn=42,Xn=43,rr=[9001,65288],hr="!",gn="\xD7",vn="\xF7",Ft=P(J),Ye=[Yt,he],Pe=[q,re,me,ke],Jt=[Se,Ee],bn=[mt,Te],An=Pe.concat(Jt),dn=[We,Je,Ln,vt,de],vr=[ct,tt],qn=function($,oe){oe===void 0&&(oe="strict");var ge=[],_e=[],xt=[];return $.forEach(function(yn,Un){var Zn=Ft.get(yn);if(Zn>ue?(xt.push(!0),Zn-=ue):xt.push(!1),["normal","auto","loose"].indexOf(oe)!==-1&&[8208,8211,12316,12448].indexOf(yn)!==-1)return _e.push(Un),ge.push(St);if(Zn===be||Zn===st){if(Un===0)return _e.push(Un),ge.push(Yt);var mr=ge[Un-1];return An.indexOf(mr)===-1?(_e.push(_e[Un-1]),ge.push(mr)):(_e.push(Un),ge.push(Yt))}if(_e.push(Un),Zn===Qt)return ge.push(oe==="strict"?Ne:Pt);if(Zn===Sn)return ge.push(Yt);if(Zn===Vt)return ge.push(Yt);if(Zn===Xn)return yn>=131072&&yn<=196605||yn>=196608&&yn<=262141?ge.push(Pt):ge.push(Yt);ge.push(Zn)}),[_e,ge,xt]},Ur=function($,oe,ge,_e){var xt=_e[ge];if(Array.isArray($)?$.indexOf(xt)!==-1:$===xt)for(var yn=ge;yn<=_e.length;){yn++;var Un=_e[yn];if(Un===oe)return!0;if(Un!==Se)break}if(xt===Se)for(var yn=ge;yn>0;){yn--;var Zn=_e[yn];if(Array.isArray($)?$.indexOf(Zn)!==-1:$===Zn)for(var mr=ge;mr<=_e.length;){mr++;var Un=_e[mr];if(Un===oe)return!0;if(Un!==Se)break}if(Zn!==Se)break}return!1},Ue=function($,oe){for(var ge=$;ge>=0;){var _e=oe[ge];if(_e===Se)ge--;else return _e}return 0},He=function($,oe,ge,_e,xt){if(ge[_e]===0)return gn;var yn=_e-1;if(Array.isArray(xt)&&xt[yn]===!0)return gn;var Un=yn-1,Zn=yn+1,mr=oe[yn],ai=Un>=0?oe[Un]:0,Zr=oe[Zn];if(mr===re&&Zr===me)return gn;if(Pe.indexOf(mr)!==-1)return hr;if(Pe.indexOf(Zr)!==-1)return gn;if(Jt.indexOf(Zr)!==-1)return gn;if(Ue(yn,oe)===Ee)return vn;if(Ft.get($[yn])===st)return gn;if((mr===an||mr===on)&&Ft.get($[Zn])===st)return gn;if(mr===ce||Zr===ce)return gn;if(mr===pe)return gn;if([Se,tt,ct].indexOf(mr)===-1&&Zr===pe)return gn;if([rt,ht,je,jt,tn].indexOf(Zr)!==-1)return gn;if(Ue(yn,oe)===it)return gn;if(Ur(wt,it,yn,oe))return gn;if(Ur([rt,ht],Ne,yn,oe))return gn;if(Ur(qe,qe,yn,oe))return gn;if(mr===Se)return vn;if(mr===wt||Zr===wt)return gn;if(Zr===St||mr===St)return vn;if([tt,ct,Ne].indexOf(Zr)!==-1||mr===Dt)return gn;if(ai===he&&vr.indexOf(mr)!==-1)return gn;if(mr===tn&&Zr===he)return gn;if(Zr===Me)return gn;if(Ye.indexOf(Zr)!==-1&&mr===lt||Ye.indexOf(mr)!==-1&&Zr===lt)return gn;if(mr===mt&&[Pt,an,on].indexOf(Zr)!==-1||[Pt,an,on].indexOf(mr)!==-1&&Zr===Te)return gn;if(Ye.indexOf(mr)!==-1&&bn.indexOf(Zr)!==-1||bn.indexOf(mr)!==-1&&Ye.indexOf(Zr)!==-1)return gn;if([mt,Te].indexOf(mr)!==-1&&(Zr===lt||[it,ct].indexOf(Zr)!==-1&&oe[Zn+1]===lt)||[it,ct].indexOf(mr)!==-1&&Zr===lt||mr===lt&&[lt,tn,jt].indexOf(Zr)!==-1)return gn;if([lt,tn,jt,rt,ht].indexOf(Zr)!==-1)for(var ui=yn;ui>=0;){var la=oe[ui];if(la===lt)return gn;if([tn,jt].indexOf(la)!==-1)ui--;else break}if([mt,Te].indexOf(Zr)!==-1)for(var ui=[rt,ht].indexOf(mr)!==-1?Un:yn;ui>=0;){var la=oe[ui];if(la===lt)return gn;if([tn,jt].indexOf(la)!==-1)ui--;else break}if(We===mr&&[We,Je,vt,de].indexOf(Zr)!==-1||[Je,vt].indexOf(mr)!==-1&&[Je,Ln].indexOf(Zr)!==-1||[Ln,de].indexOf(mr)!==-1&&Zr===Ln)return gn;if(dn.indexOf(mr)!==-1&&[Me,Te].indexOf(Zr)!==-1||dn.indexOf(Zr)!==-1&&mr===mt)return gn;if(Ye.indexOf(mr)!==-1&&Ye.indexOf(Zr)!==-1)return gn;if(mr===jt&&Ye.indexOf(Zr)!==-1)return gn;if(Ye.concat(lt).indexOf(mr)!==-1&&Zr===it&&rr.indexOf($[Zn])===-1||Ye.concat(lt).indexOf(Zr)!==-1&&mr===ht)return gn;if(mr===jn&&Zr===jn){for(var pa=ge[yn],Ea=1;pa>0&&(pa--,oe[pa]===jn);)Ea++;if(Ea%2!==0)return gn}return mr===an&&Zr===on?gn:vn},se=function($,oe){oe||(oe={lineBreak:"normal",wordBreak:"normal"});var ge=qn($,oe.lineBreak),_e=ge[0],xt=ge[1],yn=ge[2];(oe.wordBreak==="break-all"||oe.wordBreak==="break-word")&&(xt=xt.map(function(Zn){return[lt,Yt,Sn].indexOf(Zn)!==-1?Pt:Zn}));var Un=oe.wordBreak==="keep-all"?yn.map(function(Zn,mr){return Zn&&$[mr]>=19968&&$[mr]<=40959}):void 0;return[_e,xt,Un]},Ae=function(){function Wt($,oe,ge,_e){this.codePoints=$,this.required=oe===hr,this.start=ge,this.end=_e}return Wt.prototype.slice=function(){return s.apply(void 0,this.codePoints.slice(this.start,this.end))},Wt}(),Oe=function($,oe){var ge=a($),_e=se(ge,oe),xt=_e[0],yn=_e[1],Un=_e[2],Zn=ge.length,mr=0,ai=0;return{next:function(){if(ai>=Zn)return{done:!0,value:null};for(var ui=gn;ai<Zn&&(ui=He(ge,yn,xt,++ai,Un))===gn;);if(ui!==gn||ai===Zn){var la=new Ae(ge,ui,mr,ai);return mr=ai,{value:la,done:!1}}return{done:!0,value:null}}}},ze=1<<0,Rt=1<<1,Et=1<<2,_t=1<<3,Nn=10,Mn=47,lr=92,Lt=9,$e=32,Qe=34,kt=61,Ht=35,ot=36,Ct=37,nt=39,Ot=40,sn=41,Zt=95,Gt=45,Qn=33,Gn=60,Or=62,Nr=64,Kr=91,ei=93,vi=61,Pi=123,Be=63,le=125,ye=124,xe=126,De=128,Le=65533,Fe=42,at=43,Ve=44,It=58,pn=59,rn=46,Tn=0,Nt=8,ur=11,Xt=14,Kn=31,Fn=127,un=-1,Sr=48,Fr=97,ii=101,oi=102,ti=117,bi=122,Mr=65,Oi=69,Ar=70,Wn=85,xr=90,er=function($){return $>=Sr&&$<=57},ci=function($){return $>=55296&&$<=57343},qr=function($){return er($)||$>=Mr&&$<=Ar||$>=Fr&&$<=oi},wi=function($){return $>=Fr&&$<=bi},Xr=function($){return $>=Mr&&$<=xr},Hi=function($){return wi($)||Xr($)},ni=function($){return $>=De},Mi=function($){return $===Nn||$===Lt||$===$e},cr=function($){return Hi($)||ni($)||$===Zt},Pn=function($){return cr($)||er($)||$===Gt},br=function($){return $>=Tn&&$<=Nt||$===ur||$>=Xt&&$<=Kn||$===Fn},Br=function($,oe){return $!==lr?!1:oe!==Nn},Qr=function($,oe,ge){return $===Gt?cr(oe)||Br(oe,ge):cr($)?!0:!!($===lr&&Br($,oe))},$r=function($,oe,ge){return $===at||$===Gt?er(oe)?!0:oe===rn&&er(ge):$===rn?er(oe):er($)},hi=function($){var oe=0,ge=1;($[oe]===at||$[oe]===Gt)&&($[oe]===Gt&&(ge=-1),oe++);for(var _e=[];er($[oe]);)_e.push($[oe++]);var xt=_e.length?parseInt(s.apply(void 0,_e),10):0;$[oe]===rn&&oe++;for(var yn=[];er($[oe]);)yn.push($[oe++]);var Un=yn.length,Zn=Un?parseInt(s.apply(void 0,yn),10):0;($[oe]===Oi||$[oe]===ii)&&oe++;var mr=1;($[oe]===at||$[oe]===Gt)&&($[oe]===Gt&&(mr=-1),oe++);for(var ai=[];er($[oe]);)ai.push($[oe++]);var Zr=ai.length?parseInt(s.apply(void 0,ai),10):0;return ge*(xt+Zn*Math.pow(10,-Un))*Math.pow(10,mr*Zr)},fi={type:2},Ai={type:3},Wi={type:4},ra={type:13},$i={type:8},Ha={type:21},pi={type:9},sr={type:10},Li={type:11},Ji={type:12},Ui={type:14},ea={type:23},Bt={type:1},Vn={type:25},nr={type:24},fr={type:26},Re={type:27},At={type:28},qt={type:29},$t={type:31},Cn={type:32},Dn=function(){function Wt(){this._value=[]}return Wt.prototype.write=function($){this._value=this._value.concat(a($))},Wt.prototype.read=function(){for(var $=[],oe=this.consumeToken();oe!==Cn;)$.push(oe),oe=this.consumeToken();return $},Wt.prototype.consumeToken=function(){var $=this.consumeCodePoint();switch($){case Qe:return this.consumeStringToken(Qe);case Ht:var oe=this.peekCodePoint(0),ge=this.peekCodePoint(1),_e=this.peekCodePoint(2);if(Pn(oe)||Br(ge,_e)){var xt=Qr(oe,ge,_e)?Rt:ze,yn=this.consumeName();return{type:5,value:yn,flags:xt}}break;case ot:if(this.peekCodePoint(0)===kt)return this.consumeCodePoint(),ra;break;case nt:return this.consumeStringToken(nt);case Ot:return fi;case sn:return Ai;case Fe:if(this.peekCodePoint(0)===kt)return this.consumeCodePoint(),Ui;break;case at:if($r($,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint($),this.consumeNumericToken();break;case Ve:return Wi;case Gt:var Un=$,Zn=this.peekCodePoint(0),mr=this.peekCodePoint(1);if($r(Un,Zn,mr))return this.reconsumeCodePoint($),this.consumeNumericToken();if(Qr(Un,Zn,mr))return this.reconsumeCodePoint($),this.consumeIdentLikeToken();if(Zn===Gt&&mr===Or)return this.consumeCodePoint(),this.consumeCodePoint(),nr;break;case rn:if($r($,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint($),this.consumeNumericToken();break;case Mn:if(this.peekCodePoint(0)===Fe)for(this.consumeCodePoint();;){var ai=this.consumeCodePoint();if(ai===Fe&&(ai=this.consumeCodePoint(),ai===Mn))return this.consumeToken();if(ai===un)return this.consumeToken()}break;case It:return fr;case pn:return Re;case Gn:if(this.peekCodePoint(0)===Qn&&this.peekCodePoint(1)===Gt&&this.peekCodePoint(2)===Gt)return this.consumeCodePoint(),this.consumeCodePoint(),Vn;break;case Nr:var Zr=this.peekCodePoint(0),ui=this.peekCodePoint(1),la=this.peekCodePoint(2);if(Qr(Zr,ui,la)){var yn=this.consumeName();return{type:7,value:yn}}break;case Kr:return At;case lr:if(Br($,this.peekCodePoint(0)))return this.reconsumeCodePoint($),this.consumeIdentLikeToken();break;case ei:return qt;case vi:if(this.peekCodePoint(0)===kt)return this.consumeCodePoint(),$i;break;case Pi:return Li;case le:return Ji;case ti:case Wn:var pa=this.peekCodePoint(0),Ea=this.peekCodePoint(1);return pa===at&&(qr(Ea)||Ea===Be)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint($),this.consumeIdentLikeToken();case ye:if(this.peekCodePoint(0)===kt)return this.consumeCodePoint(),pi;if(this.peekCodePoint(0)===ye)return this.consumeCodePoint(),Ha;break;case xe:if(this.peekCodePoint(0)===kt)return this.consumeCodePoint(),sr;break;case un:return Cn}return Mi($)?(this.consumeWhiteSpace(),$t):er($)?(this.reconsumeCodePoint($),this.consumeNumericToken()):cr($)?(this.reconsumeCodePoint($),this.consumeIdentLikeToken()):{type:6,value:s($)}},Wt.prototype.consumeCodePoint=function(){var $=this._value.shift();return typeof $=="undefined"?-1:$},Wt.prototype.reconsumeCodePoint=function($){this._value.unshift($)},Wt.prototype.peekCodePoint=function($){return $>=this._value.length?-1:this._value[$]},Wt.prototype.consumeUnicodeRangeToken=function(){for(var $=[],oe=this.consumeCodePoint();qr(oe)&&$.length<6;)$.push(oe),oe=this.consumeCodePoint();for(var ge=!1;oe===Be&&$.length<6;)$.push(oe),oe=this.consumeCodePoint(),ge=!0;if(ge){var _e=parseInt(s.apply(void 0,$.map(function(Zn){return Zn===Be?Sr:Zn})),16),xt=parseInt(s.apply(void 0,$.map(function(Zn){return Zn===Be?Ar:Zn})),16);return{type:30,start:_e,end:xt}}var yn=parseInt(s.apply(void 0,$),16);if(this.peekCodePoint(0)===Gt&&qr(this.peekCodePoint(1))){this.consumeCodePoint(),oe=this.consumeCodePoint();for(var Un=[];qr(oe)&&Un.length<6;)Un.push(oe),oe=this.consumeCodePoint();var xt=parseInt(s.apply(void 0,Un),16);return{type:30,start:yn,end:xt}}else return{type:30,start:yn,end:yn}},Wt.prototype.consumeIdentLikeToken=function(){var $=this.consumeName();return $.toLowerCase()==="url"&&this.peekCodePoint(0)===Ot?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Ot?(this.consumeCodePoint(),{type:19,value:$}):{type:20,value:$}},Wt.prototype.consumeUrlToken=function(){var $=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===un)return{type:22,value:""};var oe=this.peekCodePoint(0);if(oe===nt||oe===Qe){var ge=this.consumeStringToken(this.consumeCodePoint());return ge.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===un||this.peekCodePoint(0)===sn)?(this.consumeCodePoint(),{type:22,value:ge.value}):(this.consumeBadUrlRemnants(),ea)}for(;;){var _e=this.consumeCodePoint();if(_e===un||_e===sn)return{type:22,value:s.apply(void 0,$)};if(Mi(_e))return this.consumeWhiteSpace(),this.peekCodePoint(0)===un||this.peekCodePoint(0)===sn?(this.consumeCodePoint(),{type:22,value:s.apply(void 0,$)}):(this.consumeBadUrlRemnants(),ea);if(_e===Qe||_e===nt||_e===Ot||br(_e))return this.consumeBadUrlRemnants(),ea;if(_e===lr)if(Br(_e,this.peekCodePoint(0)))$.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),ea;else $.push(_e)}},Wt.prototype.consumeWhiteSpace=function(){for(;Mi(this.peekCodePoint(0));)this.consumeCodePoint()},Wt.prototype.consumeBadUrlRemnants=function(){for(;;){var $=this.consumeCodePoint();if($===sn||$===un)return;Br($,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},Wt.prototype.consumeStringSlice=function($){for(var oe=5e4,ge="";$>0;){var _e=Math.min(oe,$);ge+=s.apply(void 0,this._value.splice(0,_e)),$-=_e}return this._value.shift(),ge},Wt.prototype.consumeStringToken=function($){var oe="",ge=0;do{var _e=this._value[ge];if(_e===un||_e===void 0||_e===$)return oe+=this.consumeStringSlice(ge),{type:0,value:oe};if(_e===Nn)return this._value.splice(0,ge),Bt;if(_e===lr){var xt=this._value[ge+1];xt!==un&&xt!==void 0&&(xt===Nn?(oe+=this.consumeStringSlice(ge),ge=-1,this._value.shift()):Br(_e,xt)&&(oe+=this.consumeStringSlice(ge),oe+=s(this.consumeEscapedCodePoint()),ge=-1))}ge++}while(!0)},Wt.prototype.consumeNumber=function(){var $=[],oe=Et,ge=this.peekCodePoint(0);for((ge===at||ge===Gt)&&$.push(this.consumeCodePoint());er(this.peekCodePoint(0));)$.push(this.consumeCodePoint());ge=this.peekCodePoint(0);var _e=this.peekCodePoint(1);if(ge===rn&&er(_e))for($.push(this.consumeCodePoint(),this.consumeCodePoint()),oe=_t;er(this.peekCodePoint(0));)$.push(this.consumeCodePoint());ge=this.peekCodePoint(0),_e=this.peekCodePoint(1);var xt=this.peekCodePoint(2);if((ge===Oi||ge===ii)&&((_e===at||_e===Gt)&&er(xt)||er(_e)))for($.push(this.consumeCodePoint(),this.consumeCodePoint()),oe=_t;er(this.peekCodePoint(0));)$.push(this.consumeCodePoint());return[hi($),oe]},Wt.prototype.consumeNumericToken=function(){var $=this.consumeNumber(),oe=$[0],ge=$[1],_e=this.peekCodePoint(0),xt=this.peekCodePoint(1),yn=this.peekCodePoint(2);if(Qr(_e,xt,yn)){var Un=this.consumeName();return{type:15,number:oe,flags:ge,unit:Un}}return _e===Ct?(this.consumeCodePoint(),{type:16,number:oe,flags:ge}):{type:17,number:oe,flags:ge}},Wt.prototype.consumeEscapedCodePoint=function(){var $=this.consumeCodePoint();if(qr($)){for(var oe=s($);qr(this.peekCodePoint(0))&&oe.length<6;)oe+=s(this.consumeCodePoint());Mi(this.peekCodePoint(0))&&this.consumeCodePoint();var ge=parseInt(oe,16);return ge===0||ci(ge)||ge>1114111?Le:ge}return $===un?Le:$},Wt.prototype.consumeName=function(){for(var $="";;){var oe=this.consumeCodePoint();if(Pn(oe))$+=s(oe);else if(Br(oe,this.peekCodePoint(0)))$+=s(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(oe),$}},Wt}(),Hn=function(){function Wt($){this._tokens=$}return Wt.create=function($){var oe=new Dn;return oe.write($),new Wt(oe.read())},Wt.parseValue=function($){return Wt.create($).parseComponentValue()},Wt.parseValues=function($){return Wt.create($).parseComponentValues()},Wt.prototype.parseComponentValue=function(){for(var $=this.consumeToken();$.type===31;)$=this.consumeToken();if($.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken($);var oe=this.consumeComponentValue();do $=this.consumeToken();while($.type===31);if($.type===32)return oe;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},Wt.prototype.parseComponentValues=function(){for(var $=[];;){var oe=this.consumeComponentValue();if(oe.type===32)return $;$.push(oe),$.push()}},Wt.prototype.consumeComponentValue=function(){var $=this.consumeToken();switch($.type){case 11:case 28:case 2:return this.consumeSimpleBlock($.type);case 19:return this.consumeFunction($)}return $},Wt.prototype.consumeSimpleBlock=function($){for(var oe={type:$,values:[]},ge=this.consumeToken();;){if(ge.type===32||zr(ge,$))return oe;this.reconsumeToken(ge),oe.values.push(this.consumeComponentValue()),ge=this.consumeToken()}},Wt.prototype.consumeFunction=function($){for(var oe={name:$.value,values:[],type:18};;){var ge=this.consumeToken();if(ge.type===32||ge.type===3)return oe;this.reconsumeToken(ge),oe.values.push(this.consumeComponentValue())}},Wt.prototype.consumeToken=function(){var $=this._tokens.shift();return typeof $=="undefined"?Cn:$},Wt.prototype.reconsumeToken=function($){this._tokens.unshift($)},Wt}(),ar=function($){return $.type===15},Er=function($){return $.type===17},gr=function($){return $.type===20},Rr=function($){return $.type===0},kr=function($,oe){return gr($)&&$.value===oe},wr=function($){return $.type!==31},Lr=function($){return $.type!==31&&$.type!==4},Ir=function($){var oe=[],ge=[];return $.forEach(function(_e){if(_e.type===4){if(ge.length===0)throw new Error("Error parsing function args, zero tokens for arg");oe.push(ge),ge=[];return}_e.type!==31&&ge.push(_e)}),ge.length&&oe.push(ge),oe},zr=function($,oe){return oe===11&&$.type===12||oe===28&&$.type===29?!0:oe===2&&$.type===3},Gr=function($){return $.type===17||$.type===15},ri=function($){return $.type===16||Gr($)},yi=function($){return $.length>1?[$[0],$[1]]:[$[0]]},li={type:17,number:0,flags:Et},Ti={type:16,number:50,flags:Et},Fi={type:16,number:100,flags:Et},Si=function($,oe,ge){var _e=$[0],xt=$[1];return[mi(_e,oe),mi(typeof xt!="undefined"?xt:_e,ge)]},mi=function($,oe){if($.type===16)return $.number/100*oe;if(ar($))switch($.unit){case"rem":case"em":return 16*$.number;case"px":default:return $.number}return $.number},Ni="deg",Wr="grad",Ri="rad",Ki="turn",hn={name:"angle",parse:function($,oe){if(oe.type===15)switch(oe.unit){case Ni:return Math.PI*oe.number/180;case Wr:return Math.PI/200*oe.number;case Ri:return oe.number;case Ki:return Math.PI*2*oe.number}throw new Error("Unsupported angle type")}},Rn=function($){return $.type===15&&($.unit===Ni||$.unit===Wr||$.unit===Ri||$.unit===Ki)},Yn=function($){var oe=$.filter(gr).map(function(ge){return ge.value}).join(" ");switch(oe){case"to bottom right":case"to right bottom":case"left top":case"top left":return[li,li];case"to top":case"bottom":return En(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[li,Fi];case"to right":case"left":return En(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Fi,Fi];case"to bottom":case"top":return En(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Fi,li];case"to left":case"right":return En(270)}return 0},En=function($){return Math.PI*$/180},Mt={name:"color",parse:function($,oe){if(oe.type===18){var ge=_r[oe.name];if(typeof ge=="undefined")throw new Error('Attempting to parse an unsupported color function "'+oe.name+'"');return ge($,oe.values)}if(oe.type===5){if(oe.value.length===3){var _e=oe.value.substring(0,1),xt=oe.value.substring(1,2),yn=oe.value.substring(2,3);return _n(parseInt(_e+_e,16),parseInt(xt+xt,16),parseInt(yn+yn,16),1)}if(oe.value.length===4){var _e=oe.value.substring(0,1),xt=oe.value.substring(1,2),yn=oe.value.substring(2,3),Un=oe.value.substring(3,4);return _n(parseInt(_e+_e,16),parseInt(xt+xt,16),parseInt(yn+yn,16),parseInt(Un+Un,16)/255)}if(oe.value.length===6){var _e=oe.value.substring(0,2),xt=oe.value.substring(2,4),yn=oe.value.substring(4,6);return _n(parseInt(_e,16),parseInt(xt,16),parseInt(yn,16),1)}if(oe.value.length===8){var _e=oe.value.substring(0,2),xt=oe.value.substring(2,4),yn=oe.value.substring(4,6),Un=oe.value.substring(6,8);return _n(parseInt(_e,16),parseInt(xt,16),parseInt(yn,16),parseInt(Un,16)/255)}}if(oe.type===20){var Zn=Jr[oe.value.toUpperCase()];if(typeof Zn!="undefined")return Zn}return Jr.TRANSPARENT}},mn=function($){return(255&$)===0},zt=function($){var oe=255&$,ge=255&$>>8,_e=255&$>>16,xt=255&$>>24;return oe<255?"rgba("+xt+","+_e+","+ge+","+oe/255+")":"rgb("+xt+","+_e+","+ge+")"},_n=function($,oe,ge,_e){return($<<24|oe<<16|ge<<8|Math.round(_e*255)<<0)>>>0},kn=function($,oe){if($.type===17)return $.number;if($.type===16){var ge=oe===3?1:255;return oe===3?$.number/100*ge:Math.round($.number/100*ge)}return 0},pr=function($,oe){var ge=oe.filter(Lr);if(ge.length===3){var _e=ge.map(kn),xt=_e[0],yn=_e[1],Un=_e[2];return _n(xt,yn,Un,1)}if(ge.length===4){var Zn=ge.map(kn),xt=Zn[0],yn=Zn[1],Un=Zn[2],mr=Zn[3];return _n(xt,yn,Un,mr)}return 0};function or(Wt,$,oe){return oe<0&&(oe+=1),oe>=1&&(oe-=1),oe<1/6?($-Wt)*oe*6+Wt:oe<1/2?$:oe<2/3?($-Wt)*6*(2/3-oe)+Wt:Wt}var yr=function($,oe){var ge=oe.filter(Lr),_e=ge[0],xt=ge[1],yn=ge[2],Un=ge[3],Zn=(_e.type===17?En(_e.number):hn.parse($,_e))/(Math.PI*2),mr=ri(xt)?xt.number/100:0,ai=ri(yn)?yn.number/100:0,Zr=typeof Un!="undefined"&&ri(Un)?mi(Un,1):1;if(mr===0)return _n(ai*255,ai*255,ai*255,1);var ui=ai<=.5?ai*(mr+1):ai+mr-ai*mr,la=ai*2-ui,pa=or(la,ui,Zn+1/3),Ea=or(la,ui,Zn),so=or(la,ui,Zn-1/3);return _n(pa*255,Ea*255,so*255,Zr)},_r={hsl:yr,hsla:yr,rgb:pr,rgba:pr},Yr=function($,oe){return Mt.parse($,Hn.create(oe).parseComponentValue())},Jr={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},Ci={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function($,oe){return oe.map(function(ge){if(gr(ge))switch(ge.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},ta={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},oa=function($,oe){var ge=Mt.parse($,oe[0]),_e=oe[1];return _e&&ri(_e)?{color:ge,stop:_e}:{color:ge,stop:null}},da=function($,oe){var ge=$[0],_e=$[$.length-1];ge.stop===null&&(ge.stop=li),_e.stop===null&&(_e.stop=Fi);for(var xt=[],yn=0,Un=0;Un<$.length;Un++){var Zn=$[Un].stop;if(Zn!==null){var mr=mi(Zn,oe);mr>yn?xt.push(mr):xt.push(yn),yn=mr}else xt.push(null)}for(var ai=null,Un=0;Un<xt.length;Un++){var Zr=xt[Un];if(Zr===null)ai===null&&(ai=Un);else if(ai!==null){for(var ui=Un-ai,la=xt[ai-1],pa=(Zr-la)/(ui+1),Ea=1;Ea<=ui;Ea++)xt[ai+Ea-1]=pa*Ea;ai=null}}return $.map(function(so,Va){var Ua=so.color;return{color:Ua,stop:Math.max(Math.min(1,xt[Va]/oe),0)}})},ua=function($,oe,ge){var _e=oe/2,xt=ge/2,yn=mi($[0],oe)-_e,Un=xt-mi($[1],ge);return(Math.atan2(Un,yn)+Math.PI*2)%(Math.PI*2)},ma=function($,oe,ge){var _e=typeof $=="number"?$:ua($,oe,ge),xt=Math.abs(oe*Math.sin(_e))+Math.abs(ge*Math.cos(_e)),yn=oe/2,Un=ge/2,Zn=xt/2,mr=Math.sin(_e-Math.PI/2)*Zn,ai=Math.cos(_e-Math.PI/2)*Zn;return[xt,yn-ai,yn+ai,Un-mr,Un+mr]},ki=function($,oe){return Math.sqrt($*$+oe*oe)},Di=function($,oe,ge,_e,xt){var yn=[[0,0],[0,oe],[$,0],[$,oe]];return yn.reduce(function(Un,Zn){var mr=Zn[0],ai=Zn[1],Zr=ki(ge-mr,_e-ai);return(xt?Zr<Un.optimumDistance:Zr>Un.optimumDistance)?{optimumCorner:Zn,optimumDistance:Zr}:Un},{optimumDistance:xt?Infinity:-Infinity,optimumCorner:null}).optimumCorner},na=function($,oe,ge,_e,xt){var yn=0,Un=0;switch($.size){case 0:$.shape===0?yn=Un=Math.min(Math.abs(oe),Math.abs(oe-_e),Math.abs(ge),Math.abs(ge-xt)):$.shape===1&&(yn=Math.min(Math.abs(oe),Math.abs(oe-_e)),Un=Math.min(Math.abs(ge),Math.abs(ge-xt)));break;case 2:if($.shape===0)yn=Un=Math.min(ki(oe,ge),ki(oe,ge-xt),ki(oe-_e,ge),ki(oe-_e,ge-xt));else if($.shape===1){var Zn=Math.min(Math.abs(ge),Math.abs(ge-xt))/Math.min(Math.abs(oe),Math.abs(oe-_e)),mr=Di(_e,xt,oe,ge,!0),ai=mr[0],Zr=mr[1];yn=ki(ai-oe,(Zr-ge)/Zn),Un=Zn*yn}break;case 1:$.shape===0?yn=Un=Math.max(Math.abs(oe),Math.abs(oe-_e),Math.abs(ge),Math.abs(ge-xt)):$.shape===1&&(yn=Math.max(Math.abs(oe),Math.abs(oe-_e)),Un=Math.max(Math.abs(ge),Math.abs(ge-xt)));break;case 3:if($.shape===0)yn=Un=Math.max(ki(oe,ge),ki(oe,ge-xt),ki(oe-_e,ge),ki(oe-_e,ge-xt));else if($.shape===1){var Zn=Math.max(Math.abs(ge),Math.abs(ge-xt))/Math.max(Math.abs(oe),Math.abs(oe-_e)),ui=Di(_e,xt,oe,ge,!1),ai=ui[0],Zr=ui[1];yn=ki(ai-oe,(Zr-ge)/Zn),Un=Zn*yn}break}return Array.isArray($.size)&&(yn=mi($.size[0],_e),Un=$.size.length===2?mi($.size[1],xt):yn),[yn,Un]},qi=function($,oe){var ge=En(180),_e=[];return Ir(oe).forEach(function(xt,yn){if(yn===0){var Un=xt[0];if(Un.type===20&&Un.value==="to"){ge=Yn(xt);return}else if(Rn(Un)){ge=hn.parse($,Un);return}}var Zn=oa($,xt);_e.push(Zn)}),{angle:ge,stops:_e,type:1}},va=function($,oe){var ge=En(180),_e=[];return Ir(oe).forEach(function(xt,yn){if(yn===0){var Un=xt[0];if(Un.type===20&&["top","left","right","bottom"].indexOf(Un.value)!==-1){ge=Yn(xt);return}else if(Rn(Un)){ge=(hn.parse($,Un)+En(270))%En(360);return}}var Zn=oa($,xt);_e.push(Zn)}),{angle:ge,stops:_e,type:1}},Ta=function($,oe){var ge=En(180),_e=[],xt=1,yn=0,Un=3,Zn=[];return Ir(oe).forEach(function(mr,ai){var Zr=mr[0];if(ai===0){if(gr(Zr)&&Zr.value==="linear"){xt=1;return}else if(gr(Zr)&&Zr.value==="radial"){xt=2;return}}if(Zr.type===18){if(Zr.name==="from"){var ui=Mt.parse($,Zr.values[0]);_e.push({stop:li,color:ui})}else if(Zr.name==="to"){var ui=Mt.parse($,Zr.values[0]);_e.push({stop:Fi,color:ui})}else if(Zr.name==="color-stop"){var la=Zr.values.filter(Lr);if(la.length===2){var ui=Mt.parse($,la[1]),pa=la[0];Er(pa)&&_e.push({stop:{type:16,number:pa.number*100,flags:pa.flags},color:ui})}}}}),xt===1?{angle:(ge+En(180))%En(360),stops:_e,type:xt}:{size:Un,shape:yn,stops:_e,position:Zn,type:xt}},Zi="closest-side",Qi="farthest-side",Na="closest-corner",ga="farthest-corner",Ii="circle",Sa="ellipse",Ra="cover",Da="contain",ka=function($,oe){var ge=0,_e=3,xt=[],yn=[];return Ir(oe).forEach(function(Un,Zn){var mr=!0;if(Zn===0){var ai=!1;mr=Un.reduce(function(ui,la){if(ai)if(gr(la))switch(la.value){case"center":return yn.push(Ti),ui;case"top":case"left":return yn.push(li),ui;case"right":case"bottom":return yn.push(Fi),ui}else(ri(la)||Gr(la))&&yn.push(la);else if(gr(la))switch(la.value){case Ii:return ge=0,!1;case Sa:return ge=1,!1;case"at":return ai=!0,!1;case Zi:return _e=0,!1;case Ra:case Qi:return _e=1,!1;case Da:case Na:return _e=2,!1;case ga:return _e=3,!1}else if(Gr(la)||ri(la))return Array.isArray(_e)||(_e=[]),_e.push(la),!1;return ui},mr)}if(mr){var Zr=oa($,Un);xt.push(Zr)}}),{size:_e,shape:ge,stops:xt,position:yn,type:2}},Pa=function($,oe){var ge=0,_e=3,xt=[],yn=[];return Ir(oe).forEach(function(Un,Zn){var mr=!0;if(Zn===0?mr=Un.reduce(function(Zr,ui){if(gr(ui))switch(ui.value){case"center":return yn.push(Ti),!1;case"top":case"left":return yn.push(li),!1;case"right":case"bottom":return yn.push(Fi),!1}else if(ri(ui)||Gr(ui))return yn.push(ui),!1;return Zr},mr):Zn===1&&(mr=Un.reduce(function(Zr,ui){if(gr(ui))switch(ui.value){case Ii:return ge=0,!1;case Sa:return ge=1,!1;case Da:case Zi:return _e=0,!1;case Qi:return _e=1,!1;case Na:return _e=2,!1;case Ra:case ga:return _e=3,!1}else if(Gr(ui)||ri(ui))return Array.isArray(_e)||(_e=[]),_e.push(ui),!1;return Zr},mr)),mr){var ai=oa($,Un);xt.push(ai)}}),{size:_e,shape:ge,stops:xt,position:yn,type:2}},Ka=function($){return $.type===1},xa=function($){return $.type===2},ja={name:"image",parse:function($,oe){if(oe.type===22){var ge={url:oe.value,type:0};return $.cache.addImage(oe.value),ge}if(oe.type===18){var _e=ia[oe.name];if(typeof _e=="undefined")throw new Error('Attempting to parse an unsupported image function "'+oe.name+'"');return _e($,oe.values)}throw new Error("Unsupported image type "+oe.type)}};function io(Wt){return!(Wt.type===20&&Wt.value==="none")&&(Wt.type!==18||!!ia[Wt.name])}var ia={"linear-gradient":qi,"-moz-linear-gradient":va,"-ms-linear-gradient":va,"-o-linear-gradient":va,"-webkit-linear-gradient":va,"radial-gradient":ka,"-moz-radial-gradient":Pa,"-ms-radial-gradient":Pa,"-o-radial-gradient":Pa,"-webkit-radial-gradient":Pa,"-webkit-gradient":Ta},lo={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function($,oe){if(oe.length===0)return[];var ge=oe[0];return ge.type===20&&ge.value==="none"?[]:oe.filter(function(_e){return Lr(_e)&&io(_e)}).map(function(_e){return ja.parse($,_e)})}},Ya={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function($,oe){return oe.map(function(ge){if(gr(ge))switch(ge.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Ca={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function($,oe){return Ir(oe).map(function(ge){return ge.filter(ri)}).map(yi)}},Xa={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function($,oe){return Ir(oe).map(function(ge){return ge.filter(gr).map(function(_e){return _e.value}).join(" ")}).map(Ba)}},Ba=function($){switch($){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},La;(function(Wt){Wt.AUTO="auto",Wt.CONTAIN="contain",Wt.COVER="cover"})(La||(La={}));var yo={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function($,oe){return Ir(oe).map(function(ge){return ge.filter(ao)})}},ao=function($){return gr($)||ri($)},bo=function($){return{name:"border-"+$+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},uo=bo("top"),co=bo("right"),Ga=bo("bottom"),eo=bo("left"),wa=function($){return{name:"border-radius-"+$,initialValue:"0 0",prefix:!1,type:1,parse:function(ge,_e){return yi(_e.filter(ri))}}},no=wa("top-left"),fo=wa("top-right"),_i=wa("bottom-right"),Ma=wa("bottom-left"),Ro=function($){return{name:"border-"+$+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(ge,_e){switch(_e){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},jo=Ro("top"),Vo=Ro("right"),Qo=Ro("bottom"),wo=Ro("left"),Oa=function($){return{name:"border-"+$+"-width",initialValue:"0",type:0,prefix:!1,parse:function(ge,_e){return ar(_e)?_e.number:0}}},Po=Oa("top"),ds=Oa("right"),ho=Oa("bottom"),To=Oa("left"),za={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Yo={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function($,oe){switch(oe){case"rtl":return 1;case"ltr":default:return 0}}},nl={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function($,oe){return oe.filter(gr).reduce(function(ge,_e){return ge|Is(_e.value)},0)}},Is=function($){switch($){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},Ls={name:"float",initialValue:"none",prefix:!1,type:2,parse:function($,oe){switch(oe){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},xs={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function($,oe){return oe.type===20&&oe.value==="normal"?0:oe.type===17||oe.type===15?oe.number:0}},ps;(function(Wt){Wt.NORMAL="normal",Wt.STRICT="strict"})(ps||(ps={}));var Ts={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function($,oe){switch(oe){case"strict":return ps.STRICT;case"normal":default:return ps.NORMAL}}},Ho={name:"line-height",initialValue:"normal",prefix:!1,type:4},mo=function($,oe){return gr($)&&$.value==="normal"?1.2*oe:$.type===17?oe*$.number:ri($)?mi($,oe):oe},es={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function($,oe){return oe.type===20&&oe.value==="none"?null:ja.parse($,oe)}},zo={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function($,oe){switch(oe){case"inside":return 0;case"outside":default:return 1}}},_o={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function($,oe){switch(oe){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},zn=function($){return{name:"margin-"+$,initialValue:"0",prefix:!1,type:4}},Go=zn("top"),rl=zn("right"),zs=zn("bottom"),Ps=zn("left"),ro={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function($,oe){return oe.filter(gr).map(function(ge){switch(ge.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},go={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function($,oe){switch(oe){case"break-word":return"break-word";case"normal":default:return"normal"}}},Uo=function($){return{name:"padding-"+$,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},rs=Uo("top"),ys=Uo("right"),ms=Uo("bottom"),Os=Uo("left"),al={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function($,oe){switch(oe){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Ns={name:"position",initialValue:"static",prefix:!1,type:2,parse:function($,oe){switch(oe){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Ys={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function($,oe){return oe.length===1&&kr(oe[0],"none")?[]:Ir(oe).map(function(ge){for(var _e={color:Jr.TRANSPARENT,offsetX:li,offsetY:li,blur:li},xt=0,yn=0;yn<ge.length;yn++){var Un=ge[yn];Gr(Un)?(xt===0?_e.offsetX=Un:xt===1?_e.offsetY=Un:_e.blur=Un,xt++):_e.color=Mt.parse($,Un)}return _e})}},_s={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function($,oe){switch(oe){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},As={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function($,oe){if(oe.type===20&&oe.value==="none")return null;if(oe.type===18){var ge=bt[oe.name];if(typeof ge=="undefined")throw new Error('Attempting to parse an unsupported transform function "'+oe.name+'"');return ge(oe.values)}return null}},Ds=function($){var oe=$.filter(function(ge){return ge.type===17}).map(function(ge){return ge.number});return oe.length===6?oe:null},ut=function($){var oe=$.filter(function(mr){return mr.type===17}).map(function(mr){return mr.number}),ge=oe[0],_e=oe[1];oe[2],oe[3];var xt=oe[4],yn=oe[5];oe[6],oe[7],oe[8],oe[9],oe[10],oe[11];var Un=oe[12],Zn=oe[13];return oe[14],oe[15],oe.length===16?[ge,_e,xt,yn,Un,Zn]:null},bt={matrix:Ds,matrix3d:ut},tr={type:16,number:50,flags:Et},Tr=[tr,tr],et={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function($,oe){var ge=oe.filter(ri);return ge.length!==2?Tr:[ge[0],ge[1]]}},X={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function($,oe){switch(oe){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},ee;(function(Wt){Wt.NORMAL="normal",Wt.BREAK_ALL="break-all",Wt.KEEP_ALL="keep-all"})(ee||(ee={}));for(var ie={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function($,oe){switch(oe){case"break-all":return ee.BREAK_ALL;case"keep-all":return ee.KEEP_ALL;case"normal":default:return ee.NORMAL}}},we={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function($,oe){if(oe.type===20)return{auto:!0,order:0};if(Er(oe))return{auto:!1,order:oe.number};throw new Error("Invalid z-index number parsed")}},Ge={name:"time",parse:function($,oe){if(oe.type===15)switch(oe.unit.toLowerCase()){case"s":return 1e3*oe.number;case"ms":return oe.number}throw new Error("Unsupported time type")}},gt={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function($,oe){return Er(oe)?oe.number:1}},fn={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},In={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function($,oe){return oe.filter(gr).map(function(ge){switch(ge.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(ge){return ge!==0})}},Jn={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function($,oe){var ge=[],_e=[];return oe.forEach(function(xt){switch(xt.type){case 20:case 0:ge.push(xt.value);break;case 17:ge.push(xt.number.toString());break;case 4:_e.push(ge.join(" ")),ge.length=0;break}}),ge.length&&_e.push(ge.join(" ")),_e.map(function(xt){return xt.indexOf(" ")===-1?xt:"'"+xt+"'"})}},Cr={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Hr={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function($,oe){if(Er(oe))return oe.number;if(gr(oe))switch(oe.value){case"bold":return 700;case"normal":default:return 400}return 400}},si={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function($,oe){return oe.filter(gr).map(function(ge){return ge.value})}},xi={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function($,oe){switch(oe){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},Bi=function($,oe){return($&oe)!==0},sa={name:"content",initialValue:"none",type:1,prefix:!1,parse:function($,oe){if(oe.length===0)return[];var ge=oe[0];return ge.type===20&&ge.value==="none"?[]:oe}},ya={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function($,oe){if(oe.length===0)return null;var ge=oe[0];if(ge.type===20&&ge.value==="none")return null;for(var _e=[],xt=oe.filter(wr),yn=0;yn<xt.length;yn++){var Un=xt[yn],Zn=xt[yn+1];if(Un.type===20){var mr=Zn&&Er(Zn)?Zn.number:1;_e.push({counter:Un.value,increment:mr})}}return _e}},Ja={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function($,oe){if(oe.length===0)return[];for(var ge=[],_e=oe.filter(wr),xt=0;xt<_e.length;xt++){var yn=_e[xt],Un=_e[xt+1];if(gr(yn)&&yn.value!=="none"){var Zn=Un&&Er(Un)?Un.number:0;ge.push({counter:yn.value,reset:Zn})}}return ge}},$a={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function($,oe){return oe.filter(ar).map(function(ge){return Ge.parse($,ge)})}},to={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function($,oe){if(oe.length===0)return null;var ge=oe[0];if(ge.type===20&&ge.value==="none")return null;var _e=[],xt=oe.filter(Rr);if(xt.length%2!==0)return null;for(var yn=0;yn<xt.length;yn+=2){var Un=xt[yn].value,Zn=xt[yn+1].value;_e.push({open:Un,close:Zn})}return _e}},Lo=function($,oe,ge){if(!$)return"";var _e=$[Math.min(oe,$.length-1)];return _e?ge?_e.open:_e.close:""},Co={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function($,oe){return oe.length===1&&kr(oe[0],"none")?[]:Ir(oe).map(function(ge){for(var _e={color:255,offsetX:li,offsetY:li,blur:li,spread:li,inset:!1},xt=0,yn=0;yn<ge.length;yn++){var Un=ge[yn];kr(Un,"inset")?_e.inset=!0:Gr(Un)?(xt===0?_e.offsetX=Un:xt===1?_e.offsetY=Un:xt===2?_e.blur=Un:_e.spread=Un,xt++):_e.color=Mt.parse($,Un)}return _e})}},Bo={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function($,oe){var ge=[0,1,2],_e=[];return oe.filter(gr).forEach(function(xt){switch(xt.value){case"stroke":_e.push(1);break;case"fill":_e.push(0);break;case"markers":_e.push(2);break}}),ge.forEach(function(xt){_e.indexOf(xt)===-1&&_e.push(xt)}),_e}},Ao={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},So={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function($,oe){return ar(oe)?oe.number:0}},is=function(){function Wt($,oe){var ge,_e;this.animationDuration=Gi($,$a,oe.animationDuration),this.backgroundClip=Gi($,Ci,oe.backgroundClip),this.backgroundColor=Gi($,ta,oe.backgroundColor),this.backgroundImage=Gi($,lo,oe.backgroundImage),this.backgroundOrigin=Gi($,Ya,oe.backgroundOrigin),this.backgroundPosition=Gi($,Ca,oe.backgroundPosition),this.backgroundRepeat=Gi($,Xa,oe.backgroundRepeat),this.backgroundSize=Gi($,yo,oe.backgroundSize),this.borderTopColor=Gi($,uo,oe.borderTopColor),this.borderRightColor=Gi($,co,oe.borderRightColor),this.borderBottomColor=Gi($,Ga,oe.borderBottomColor),this.borderLeftColor=Gi($,eo,oe.borderLeftColor),this.borderTopLeftRadius=Gi($,no,oe.borderTopLeftRadius),this.borderTopRightRadius=Gi($,fo,oe.borderTopRightRadius),this.borderBottomRightRadius=Gi($,_i,oe.borderBottomRightRadius),this.borderBottomLeftRadius=Gi($,Ma,oe.borderBottomLeftRadius),this.borderTopStyle=Gi($,jo,oe.borderTopStyle),this.borderRightStyle=Gi($,Vo,oe.borderRightStyle),this.borderBottomStyle=Gi($,Qo,oe.borderBottomStyle),this.borderLeftStyle=Gi($,wo,oe.borderLeftStyle),this.borderTopWidth=Gi($,Po,oe.borderTopWidth),this.borderRightWidth=Gi($,ds,oe.borderRightWidth),this.borderBottomWidth=Gi($,ho,oe.borderBottomWidth),this.borderLeftWidth=Gi($,To,oe.borderLeftWidth),this.boxShadow=Gi($,Co,oe.boxShadow),this.color=Gi($,za,oe.color),this.direction=Gi($,Yo,oe.direction),this.display=Gi($,nl,oe.display),this.float=Gi($,Ls,oe.cssFloat),this.fontFamily=Gi($,Jn,oe.fontFamily),this.fontSize=Gi($,Cr,oe.fontSize),this.fontStyle=Gi($,xi,oe.fontStyle),this.fontVariant=Gi($,si,oe.fontVariant),this.fontWeight=Gi($,Hr,oe.fontWeight),this.letterSpacing=Gi($,xs,oe.letterSpacing),this.lineBreak=Gi($,Ts,oe.lineBreak),this.lineHeight=Gi($,Ho,oe.lineHeight),this.listStyleImage=Gi($,es,oe.listStyleImage),this.listStylePosition=Gi($,zo,oe.listStylePosition),this.listStyleType=Gi($,_o,oe.listStyleType),this.marginTop=Gi($,Go,oe.marginTop),this.marginRight=Gi($,rl,oe.marginRight),this.marginBottom=Gi($,zs,oe.marginBottom),this.marginLeft=Gi($,Ps,oe.marginLeft),this.opacity=Gi($,gt,oe.opacity);var xt=Gi($,ro,oe.overflow);this.overflowX=xt[0],this.overflowY=xt[xt.length>1?1:0],this.overflowWrap=Gi($,go,oe.overflowWrap),this.paddingTop=Gi($,rs,oe.paddingTop),this.paddingRight=Gi($,ys,oe.paddingRight),this.paddingBottom=Gi($,ms,oe.paddingBottom),this.paddingLeft=Gi($,Os,oe.paddingLeft),this.paintOrder=Gi($,Bo,oe.paintOrder),this.position=Gi($,Ns,oe.position),this.textAlign=Gi($,al,oe.textAlign),this.textDecorationColor=Gi($,fn,(ge=oe.textDecorationColor)!==null&&ge!==void 0?ge:oe.color),this.textDecorationLine=Gi($,In,(_e=oe.textDecorationLine)!==null&&_e!==void 0?_e:oe.textDecoration),this.textShadow=Gi($,Ys,oe.textShadow),this.textTransform=Gi($,_s,oe.textTransform),this.transform=Gi($,As,oe.transform),this.transformOrigin=Gi($,et,oe.transformOrigin),this.visibility=Gi($,X,oe.visibility),this.webkitTextStrokeColor=Gi($,Ao,oe.webkitTextStrokeColor),this.webkitTextStrokeWidth=Gi($,So,oe.webkitTextStrokeWidth),this.wordBreak=Gi($,ie,oe.wordBreak),this.zIndex=Gi($,we,oe.zIndex)}return Wt.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},Wt.prototype.isTransparent=function(){return mn(this.backgroundColor)},Wt.prototype.isTransformed=function(){return this.transform!==null},Wt.prototype.isPositioned=function(){return this.position!==0},Wt.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},Wt.prototype.isFloating=function(){return this.float!==0},Wt.prototype.isInlineLevel=function(){return Bi(this.display,4)||Bi(this.display,33554432)||Bi(this.display,268435456)||Bi(this.display,536870912)||Bi(this.display,67108864)||Bi(this.display,134217728)},Wt}(),ts=function(){function Wt($,oe){this.content=Gi($,sa,oe.content),this.quotes=Gi($,to,oe.quotes)}return Wt}(),Io=function(){function Wt($,oe){this.counterIncrement=Gi($,ya,oe.counterIncrement),this.counterReset=Gi($,Ja,oe.counterReset)}return Wt}(),Gi=function($,oe,ge){var _e=new Dn,xt=ge!==null&&typeof ge!="undefined"?ge.toString():oe.initialValue;_e.write(xt);var yn=new Hn(_e.read());switch(oe.type){case 2:var Un=yn.parseComponentValue();return oe.parse($,gr(Un)?Un.value:oe.initialValue);case 0:return oe.parse($,yn.parseComponentValue());case 1:return oe.parse($,yn.parseComponentValues());case 4:return yn.parseComponentValue();case 3:switch(oe.format){case"angle":return hn.parse($,yn.parseComponentValue());case"color":return Mt.parse($,yn.parseComponentValue());case"image":return ja.parse($,yn.parseComponentValue());case"length":var Zn=yn.parseComponentValue();return Gr(Zn)?Zn:li;case"length-percentage":var mr=yn.parseComponentValue();return ri(mr)?mr:li;case"time":return Ge.parse($,yn.parseComponentValue())}break}},Rs="data-html2canvas-debug",Es=function($){var oe=$.getAttribute(Rs);switch(oe){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},as=function($,oe){var ge=Es($);return ge===1||oe===ge},Xo=function(){function Wt($,oe){if(this.context=$,this.textNodes=[],this.elements=[],this.flags=0,as(oe,3))debugger;this.styles=new is($,window.getComputedStyle(oe,null)),Au(oe)&&(this.styles.animationDuration.some(function(ge){return ge>0})&&(oe.style.animationDuration="0s"),this.styles.transform!==null&&(oe.style.transform="none")),this.bounds=d(this.context,oe),as(oe,4)&&(this.flags|=16)}return Wt}(),hs="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Al="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ol=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),fs=0;fs<Al.length;fs++)ol[Al.charCodeAt(fs)]=fs;for(var No=function($){var oe=$.length*.75,ge=$.length,_e,xt=0,yn,Un,Zn,mr;$[$.length-1]==="="&&(oe--,$[$.length-2]==="="&&oe--);var ai=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(oe):new Array(oe),Zr=Array.isArray(ai)?ai:new Uint8Array(ai);for(_e=0;_e<ge;_e+=4)yn=ol[$.charCodeAt(_e)],Un=ol[$.charCodeAt(_e+1)],Zn=ol[$.charCodeAt(_e+2)],mr=ol[$.charCodeAt(_e+3)],Zr[xt++]=yn<<2|Un>>4,Zr[xt++]=(Un&15)<<4|Zn>>2,Zr[xt++]=(Zn&3)<<6|mr&63;return ai},ls=function($){for(var oe=$.length,ge=[],_e=0;_e<oe;_e+=2)ge.push($[_e+1]<<8|$[_e]);return ge},Zs=function($){for(var oe=$.length,ge=[],_e=0;_e<oe;_e+=4)ge.push($[_e+3]<<24|$[_e+2]<<16|$[_e+1]<<8|$[_e]);return ge},gs=5,Us=6+5,ks=2,Bs=Us-gs,il=65536>>gs,$s=1<<gs,Gs=$s-1,js=1024>>gs,Qa=il+js,Aa=Qa,Wa=2048>>6,oo=Aa+Wa,Jo=65536>>Us,Hs=1<<Bs,bs=Hs-1,ws=function($,oe,ge){return $.slice?$.slice(oe,ge):new Uint16Array(Array.prototype.slice.call($,oe,ge))},ko=function($,oe,ge){return $.slice?$.slice(oe,ge):new Uint32Array(Array.prototype.slice.call($,oe,ge))},Oo=function($,oe){var ge=No($),_e=Array.isArray(ge)?Zs(ge):new Uint32Array(ge),xt=Array.isArray(ge)?ls(ge):new Uint16Array(ge),yn=24,Un=ws(xt,yn/2,_e[4]/2),Zn=_e[5]===2?ws(xt,(yn+_e[4])/2):ko(_e,Math.ceil((yn+_e[4])/4));return new Zo(_e[0],_e[1],_e[2],_e[3],Un,Zn)},Zo=function(){function Wt($,oe,ge,_e,xt,yn){this.initialValue=$,this.errorValue=oe,this.highStart=ge,this.highValueIndex=_e,this.index=xt,this.data=yn}return Wt.prototype.get=function($){var oe;if($>=0){if($<55296||$>56319&&$<=65535)return oe=this.index[$>>gs],oe=(oe<<ks)+($&Gs),this.data[oe];if($<=65535)return oe=this.index[il+($-55296>>gs)],oe=(oe<<ks)+($&Gs),this.data[oe];if($<this.highStart)return oe=oo-Jo+($>>Us),oe=this.index[oe],oe+=$>>gs&bs,oe=this.index[oe],oe=(oe<<ks)+($&Gs),this.data[oe];if($<=1114111)return this.data[this.highValueIndex]}return this.errorValue},Wt}(),xo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ws=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),wl=0;wl<xo.length;wl++)Ws[xo.charCodeAt(wl)]=wl;var Sl=1,Pl=2,qs=3,Ol=4,Ll=5,Uu=7,ru=8,Eu=9,iu=10,jl=11,Ks=12,el=13,sl=14,_l=15,au=function($){for(var oe=[],ge=0,_e=$.length;ge<_e;){var xt=$.charCodeAt(ge++);if(xt>=55296&&xt<=56319&&ge<_e){var yn=$.charCodeAt(ge++);(yn&64512)===56320?oe.push(((xt&1023)<<10)+(yn&1023)+65536):(oe.push(xt),ge--)}else oe.push(xt)}return oe},ou=function(){for(var $=[],oe=0;oe<arguments.length;oe++)$[oe]=arguments[oe];if(String.fromCodePoint)return String.fromCodePoint.apply(String,$);var ge=$.length;if(!ge)return"";for(var _e=[],xt=-1,yn="";++xt<ge;){var Un=$[xt];Un<=65535?_e.push(Un):(Un-=65536,_e.push((Un>>10)+55296,Un%1024+56320)),(xt+1===ge||_e.length>16384)&&(yn+=String.fromCharCode.apply(String,_e),_e.length=0)}return yn},Gl=Oo(hs),Vs="\xD7",su="\xF7",lu=function($){return Gl.get($)},Cu=function($,oe,ge){var _e=ge-2,xt=oe[_e],yn=oe[ge-1],Un=oe[ge];if(yn===Pl&&Un===qs)return Vs;if(yn===Pl||yn===qs||yn===Ol)return su;if(Un===Pl||Un===qs||Un===Ol)return su;if(yn===ru&&[ru,Eu,jl,Ks].indexOf(Un)!==-1)return Vs;if((yn===jl||yn===Eu)&&(Un===Eu||Un===iu))return Vs;if((yn===Ks||yn===iu)&&Un===iu)return Vs;if(Un===el||Un===Ll)return Vs;if(Un===Uu)return Vs;if(yn===Sl)return Vs;if(yn===el&&Un===sl){for(;xt===Ll;)xt=oe[--_e];if(xt===sl)return Vs}if(yn===_l&&Un===_l){for(var Zn=0;xt===_l;)Zn++,xt=oe[--_e];if(Zn%2===0)return Vs}return su},gl=function($){var oe=au($),ge=oe.length,_e=0,xt=0,yn=oe.map(lu);return{next:function(){if(_e>=ge)return{done:!0,value:null};for(var Zn=Vs;_e<ge&&(Zn=Cu(oe,yn,++_e))===Vs;);if(Zn!==Vs||_e===ge){var mr=ou.apply(null,oe.slice(xt,_e));return xt=_e,{value:mr,done:!1}}return{done:!0,value:null}}}},Tl=function($){for(var oe=gl($),ge=[],_e;!(_e=oe.next()).done;)_e.value&&ge.push(_e.value.slice());return ge},Hl=function($){var oe=123;if($.createRange){var ge=$.createRange();if(ge.getBoundingClientRect){var _e=$.createElement("boundtest");_e.style.height=oe+"px",_e.style.display="block",$.body.appendChild(_e),ge.selectNode(_e);var xt=ge.getBoundingClientRect(),yn=Math.round(xt.height);if($.body.removeChild(_e),yn===oe)return!0}}return!1},Xl=function($){var oe=$.createElement("boundtest");oe.style.width="50px",oe.style.display="block",oe.style.fontSize="12px",oe.style.letterSpacing="0px",oe.style.wordSpacing="0px",$.body.appendChild(oe);var ge=$.createRange();oe.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";var _e=oe.firstChild,xt=a(_e.data).map(function(mr){return s(mr)}),yn=0,Un={},Zn=xt.every(function(mr,ai){ge.setStart(_e,yn),ge.setEnd(_e,yn+mr.length);var Zr=ge.getBoundingClientRect();yn+=mr.length;var ui=Zr.x>Un.x||Zr.y>Un.y;return Un=Zr,ai===0?!0:ui});return $.body.removeChild(oe),Zn},xl=function(){return typeof new Image().crossOrigin!="undefined"},ku=function(){return typeof new XMLHttpRequest().responseType=="string"},ju=function($){var oe=new Image,ge=$.createElement("canvas"),_e=ge.getContext("2d");if(!_e)return!1;oe.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{_e.drawImage(oe,0,0),ge.toDataURL()}catch(xt){return!1}return!0},vl=function($){return $[0]===0&&$[1]===255&&$[2]===0&&$[3]===255},Jl=function($){var oe=$.createElement("canvas"),ge=100;oe.width=ge,oe.height=ge;var _e=oe.getContext("2d");if(!_e)return Promise.reject(!1);_e.fillStyle="rgb(0, 255, 0)",_e.fillRect(0,0,ge,ge);var xt=new Image,yn=oe.toDataURL();xt.src=yn;var Un=uu(ge,ge,0,0,xt);return _e.fillStyle="red",_e.fillRect(0,0,ge,ge),Zl(Un).then(function(Zn){_e.drawImage(Zn,0,0);var mr=_e.getImageData(0,0,ge,ge).data;_e.fillStyle="red",_e.fillRect(0,0,ge,ge);var ai=$.createElement("div");return ai.style.backgroundImage="url("+yn+")",ai.style.height=ge+"px",vl(mr)?Zl(uu(ge,ge,0,0,ai)):Promise.reject(!1)}).then(function(Zn){return _e.drawImage(Zn,0,0),vl(_e.getImageData(0,0,ge,ge).data)}).catch(function(){return!1})},uu=function($,oe,ge,_e,xt){var yn="http://www.w3.org/2000/svg",Un=document.createElementNS(yn,"svg"),Zn=document.createElementNS(yn,"foreignObject");return Un.setAttributeNS(null,"width",$.toString()),Un.setAttributeNS(null,"height",oe.toString()),Zn.setAttributeNS(null,"width","100%"),Zn.setAttributeNS(null,"height","100%"),Zn.setAttributeNS(null,"x",ge.toString()),Zn.setAttributeNS(null,"y",_e.toString()),Zn.setAttributeNS(null,"externalResourcesRequired","true"),Un.appendChild(Zn),Zn.appendChild(xt),Un},Zl=function($){return new Promise(function(oe,ge){var _e=new Image;_e.onload=function(){return oe(_e)},_e.onerror=ge,_e.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString($))})},Ss={get SUPPORT_RANGE_BOUNDS(){var Wt=Hl(document);return Object.defineProperty(Ss,"SUPPORT_RANGE_BOUNDS",{value:Wt}),Wt},get SUPPORT_WORD_BREAKING(){var Wt=Ss.SUPPORT_RANGE_BOUNDS&&Xl(document);return Object.defineProperty(Ss,"SUPPORT_WORD_BREAKING",{value:Wt}),Wt},get SUPPORT_SVG_DRAWING(){var Wt=ju(document);return Object.defineProperty(Ss,"SUPPORT_SVG_DRAWING",{value:Wt}),Wt},get SUPPORT_FOREIGNOBJECT_DRAWING(){var Wt=typeof Array.from=="function"&&typeof window.fetch=="function"?Jl(document):Promise.resolve(!1);return Object.defineProperty(Ss,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:Wt}),Wt},get SUPPORT_CORS_IMAGES(){var Wt=xl();return Object.defineProperty(Ss,"SUPPORT_CORS_IMAGES",{value:Wt}),Wt},get SUPPORT_RESPONSE_TYPE(){var Wt=ku();return Object.defineProperty(Ss,"SUPPORT_RESPONSE_TYPE",{value:Wt}),Wt},get SUPPORT_CORS_XHR(){var Wt="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Ss,"SUPPORT_CORS_XHR",{value:Wt}),Wt},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var Wt=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(Ss,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:Wt}),Wt}},cl=function(){function Wt($,oe){this.text=$,this.bounds=oe}return Wt}(),Ul=function($,oe,ge,_e){var xt=du(oe,ge),yn=[],Un=0;return xt.forEach(function(Zn){if(ge.textDecorationLine.length||Zn.trim().length>0)if(Ss.SUPPORT_RANGE_BOUNDS){var mr=cu(_e,Un,Zn.length).getClientRects();if(mr.length>1){var ai=zl(Zn),Zr=0;ai.forEach(function(la){yn.push(new cl(la,m.fromDOMRectList($,cu(_e,Zr+Un,la.length).getClientRects()))),Zr+=la.length})}else yn.push(new cl(Zn,m.fromDOMRectList($,mr)))}else{var ui=_e.splitText(Zn.length);yn.push(new cl(Zn,Iu($,_e))),_e=ui}else Ss.SUPPORT_RANGE_BOUNDS||(_e=_e.splitText(Zn.length));Un+=Zn.length}),yn},Iu=function($,oe){var ge=oe.ownerDocument;if(ge){var _e=ge.createElement("html2canvaswrapper");_e.appendChild(oe.cloneNode(!0));var xt=oe.parentNode;if(xt){xt.replaceChild(_e,oe);var yn=d($,_e);return _e.firstChild&&xt.replaceChild(_e.firstChild,_e),yn}}return m.EMPTY},cu=function($,oe,ge){var _e=$.ownerDocument;if(!_e)throw new Error("Node has no owner document");var xt=_e.createRange();return xt.setStart($,oe),xt.setEnd($,oe+ge),xt},zl=function($){if(Ss.SUPPORT_NATIVE_TEXT_SEGMENTATION){var oe=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(oe.segment($)).map(function(ge){return ge.segment})}return Tl($)},Wl=function($,oe){if(Ss.SUPPORT_NATIVE_TEXT_SEGMENTATION){var ge=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(ge.segment($)).map(function(_e){return _e.segment})}return Hu($,oe)},du=function($,oe){return oe.letterSpacing!==0?zl($):Wl($,oe)},Ou=[32,160,4961,65792,65793,4153,4241],Hu=function($,oe){for(var ge=Oe($,{lineBreak:oe.lineBreak,wordBreak:oe.overflowWrap==="break-word"?"break-word":oe.wordBreak}),_e=[],xt,yn=function(){if(xt.value){var Zn=xt.value.slice(),mr=a(Zn),ai="";mr.forEach(function(Zr){Ou.indexOf(Zr)===-1?ai+=s(Zr):(ai.length&&_e.push(ai),_e.push(s(Zr)),ai="")}),ai.length&&_e.push(ai)}};!(xt=ge.next()).done;)yn();return _e},dl=function(){function Wt($,oe,ge){this.text=hl(oe.data,ge.textTransform),this.textBounds=Ul($,this.text,ge,oe)}return Wt}(),hl=function($,oe){switch(oe){case 1:return $.toLowerCase();case 3:return $.replace(El,$l);case 2:return $.toUpperCase();default:return $}},El=/(^|\s|:|-|\(|\))([a-z])/g,$l=function($,oe,ge){return $.length>0?oe+ge.toUpperCase():$},ql=function(Wt){L($,Wt);function $(oe,ge){var _e=Wt.call(this,oe,ge)||this;return _e.src=ge.currentSrc||ge.src,_e.intrinsicWidth=ge.naturalWidth,_e.intrinsicHeight=ge.naturalHeight,_e.context.cache.addImage(_e.src),_e}return $}(Xo),yl=function(Wt){L($,Wt);function $(oe,ge){var _e=Wt.call(this,oe,ge)||this;return _e.canvas=ge,_e.intrinsicWidth=ge.width,_e.intrinsicHeight=ge.height,_e}return $}(Xo),ll=function(Wt){L($,Wt);function $(oe,ge){var _e=Wt.call(this,oe,ge)||this,xt=new XMLSerializer,yn=d(oe,ge);return ge.setAttribute("width",yn.width+"px"),ge.setAttribute("height",yn.height+"px"),_e.svg="data:image/svg+xml,"+encodeURIComponent(xt.serializeToString(ge)),_e.intrinsicWidth=ge.width.baseVal.value,_e.intrinsicHeight=ge.height.baseVal.value,_e.context.cache.addImage(_e.svg),_e}return $}(Xo),hu=function(Wt){L($,Wt);function $(oe,ge){var _e=Wt.call(this,oe,ge)||this;return _e.value=ge.value,_e}return $}(Xo),fu=function(Wt){L($,Wt);function $(oe,ge){var _e=Wt.call(this,oe,ge)||this;return _e.start=ge.start,_e.reversed=typeof ge.reversed=="boolean"&&ge.reversed===!0,_e}return $}(Xo),zu=[{type:15,flags:0,unit:"px",number:3}],Lu=[{type:16,flags:0,number:50}],Tu=function($){return $.width>$.height?new m($.left+($.width-$.height)/2,$.top,$.height,$.height):$.width<$.height?new m($.left,$.top+($.height-$.width)/2,$.width,$.width):$},Wu=function($){var oe=$.type===Nl?new Array($.value.length+1).join("\u2022"):$.value;return oe.length===0?$.placeholder||"":oe},Kl="checkbox",fl="radio",Nl="password",Vl=707406591,kl=function(Wt){L($,Wt);function $(oe,ge){var _e=Wt.call(this,oe,ge)||this;_e.type=ge.type.toLowerCase(),_e.checked=ge.checked,_e.value=Wu(ge),(_e.type===Kl||_e.type===fl)&&(_e.styles.backgroundColor=3739148031,_e.styles.borderTopColor=_e.styles.borderRightColor=_e.styles.borderBottomColor=_e.styles.borderLeftColor=2779096575,_e.styles.borderTopWidth=_e.styles.borderRightWidth=_e.styles.borderBottomWidth=_e.styles.borderLeftWidth=1,_e.styles.borderTopStyle=_e.styles.borderRightStyle=_e.styles.borderBottomStyle=_e.styles.borderLeftStyle=1,_e.styles.backgroundClip=[0],_e.styles.backgroundOrigin=[0],_e.bounds=Tu(_e.bounds));switch(_e.type){case Kl:_e.styles.borderTopRightRadius=_e.styles.borderTopLeftRadius=_e.styles.borderBottomRightRadius=_e.styles.borderBottomLeftRadius=zu;break;case fl:_e.styles.borderTopRightRadius=_e.styles.borderTopLeftRadius=_e.styles.borderBottomRightRadius=_e.styles.borderBottomLeftRadius=Lu;break}return _e}return $}(Xo),pu=function(Wt){L($,Wt);function $(oe,ge){var _e=Wt.call(this,oe,ge)||this,xt=ge.options[ge.selectedIndex||0];return _e.value=xt&&xt.text||"",_e}return $}(Xo),Ku=function(Wt){L($,Wt);function $(oe,ge){var _e=Wt.call(this,oe,ge)||this;return _e.value=ge.value,_e}return $}(Xo),Nu=function(Wt){L($,Wt);function $(oe,ge){var _e=Wt.call(this,oe,ge)||this;_e.src=ge.src,_e.width=parseInt(ge.width,10)||0,_e.height=parseInt(ge.height,10)||0,_e.backgroundColor=_e.styles.backgroundColor;try{if(ge.contentWindow&&ge.contentWindow.document&&ge.contentWindow.document.documentElement){_e.tree=Qu(oe,ge.contentWindow.document.documentElement);var xt=ge.contentWindow.document.documentElement?Yr(oe,getComputedStyle(ge.contentWindow.document.documentElement).backgroundColor):Jr.TRANSPARENT,yn=ge.contentWindow.document.body?Yr(oe,getComputedStyle(ge.contentWindow.document.body).backgroundColor):Jr.TRANSPARENT;_e.backgroundColor=mn(xt)?mn(yn)?_e.styles.backgroundColor:yn:xt}}catch(Un){}return _e}return $}(Xo),qu=["OL","UL","MENU"],Du=function Wt($,oe,ge,_e){for(var xt=oe.firstChild,yn=void 0;xt;xt=yn)if(yn=xt.nextSibling,mu(xt)&&xt.data.trim().length>0)ge.textNodes.push(new dl($,xt,ge.styles));else if(bl(xt))if(yt(xt)&&xt.assignedNodes)xt.assignedNodes().forEach(function(Zn){return Wt($,Zn,ge,_e)});else{var Un=Vu($,xt);Un.styles.isVisible()&&(Yu(xt,Un,_e)?Un.flags|=4:Ru(Un.styles)&&(Un.flags|=2),qu.indexOf(xt.tagName)!==-1&&(Un.flags|=8),ge.elements.push(Un),xt.slot,xt.shadowRoot?Wt($,xt.shadowRoot,Un,_e):!dt(xt)&&!Tt(xt)&&!pt(xt)&&Wt($,xt,Un,_e))}},Vu=function($,oe){return V(oe)?new ql($,oe):xn(oe)?new yl($,oe):Tt(oe)?new ll($,oe):eu(oe)?new hu($,oe):ne(oe)?new fu($,oe):Ce(oe)?new kl($,oe):pt(oe)?new pu($,oe):dt(oe)?new Ku($,oe):ae(oe)?new Nu($,oe):new Xo($,oe)},Qu=function($,oe){var ge=Vu($,oe);return ge.flags|=4,Du($,oe,ge,ge),ge},Yu=function($,oe,ge){return oe.styles.isPositionedWithZIndex()||oe.styles.opacity<1||oe.styles.isTransformed()||nn($)&&ge.styles.isTransparent()},Ru=function($){return $.isPositioned()||$.isFloating()},mu=function($){return $.nodeType===Node.TEXT_NODE},bl=function($){return $.nodeType===Node.ELEMENT_NODE},Au=function($){return bl($)&&typeof $.style!="undefined"&&!Cl($)},Cl=function($){return typeof $.className=="object"},eu=function($){return $.tagName==="LI"},ne=function($){return $.tagName==="OL"},Ce=function($){return $.tagName==="INPUT"},Xe=function($){return $.tagName==="HTML"},Tt=function($){return $.tagName==="svg"},nn=function($){return $.tagName==="BODY"},xn=function($){return $.tagName==="CANVAS"},fe=function($){return $.tagName==="VIDEO"},V=function($){return $.tagName==="IMG"},ae=function($){return $.tagName==="IFRAME"},Ie=function($){return $.tagName==="STYLE"},Ke=function($){return $.tagName==="SCRIPT"},dt=function($){return $.tagName==="TEXTAREA"},pt=function($){return $.tagName==="SELECT"},yt=function($){return $.tagName==="SLOT"},cn=function($){return $.tagName.indexOf("-")>0},On=function(){function Wt(){this.counters={}}return Wt.prototype.getCounterValue=function($){var oe=this.counters[$];return oe&&oe.length?oe[oe.length-1]:1},Wt.prototype.getCounterValues=function($){var oe=this.counters[$];return oe||[]},Wt.prototype.pop=function($){var oe=this;$.forEach(function(ge){return oe.counters[ge].pop()})},Wt.prototype.parse=function($){var oe=this,ge=$.counterIncrement,_e=$.counterReset,xt=!0;ge!==null&&ge.forEach(function(Un){var Zn=oe.counters[Un.counter];Zn&&Un.increment!==0&&(xt=!1,Zn.length||Zn.push(1),Zn[Math.max(0,Zn.length-1)]+=Un.increment)});var yn=[];return xt&&_e.forEach(function(Un){var Zn=oe.counters[Un.counter];yn.push(Un.counter),Zn||(Zn=oe.counters[Un.counter]=[]),Zn.push(Un.reset)}),yn},Wt}(),ln={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"]},en={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"]},wn={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"]},Bn={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"]},ir=function($,oe,ge,_e,xt,yn){return $<oe||$>ge?W($,xt,yn.length>0):_e.integers.reduce(function(Un,Zn,mr){for(;$>=Zn;)$-=Zn,Un+=_e.values[mr];return Un},"")+yn},jr=function($,oe,ge,_e){var xt="";do ge||$--,xt=_e($)+xt,$/=oe;while($*oe>=oe);return xt},Vr=function($,oe,ge,_e,xt){var yn=ge-oe+1;return($<0?"-":"")+(jr(Math.abs($),yn,_e,function(Un){return s(Math.floor(Un%yn)+oe)})+xt)},Ei=function($,oe,ge){ge===void 0&&(ge=". ");var _e=oe.length;return jr(Math.abs($),_e,!1,function(xt){return oe[Math.floor(xt%_e)]})+ge},di=1<<0,ca=1<<1,ji=1<<2,Ia=1<<3,ha=function($,oe,ge,_e,xt,yn){if($<-9999||$>9999)return W($,4,xt.length>0);var Un=Math.abs($),Zn=xt;if(Un===0)return oe[0]+Zn;for(var mr=0;Un>0&&mr<=4;mr++){var ai=Un%10;ai===0&&Bi(yn,di)&&Zn!==""?Zn=oe[ai]+Zn:ai>1||ai===1&&mr===0||ai===1&&mr===1&&Bi(yn,ca)||ai===1&&mr===1&&Bi(yn,ji)&&$>100||ai===1&&mr>1&&Bi(yn,Ia)?Zn=oe[ai]+(mr>0?ge[mr-1]:"")+Zn:ai===1&&mr>0&&(Zn=ge[mr-1]+Zn),Un=Math.floor(Un/10)}return($<0?_e:"")+Zn},Za="\u5341\u767E\u5343\u842C",po="\u62FE\u4F70\u4EDF\u842C",p="\u30DE\u30A4\u30CA\u30B9",O="\uB9C8\uC774\uB108\uC2A4",W=function($,oe,ge){var _e=ge?". ":"",xt=ge?"\u3001":"",yn=ge?", ":"",Un=ge?" ":"";switch(oe){case 0:return"\u2022"+Un;case 1:return"\u25E6"+Un;case 2:return"\u25FE"+Un;case 5:var Zn=Vr($,48,57,!0,_e);return Zn.length<4?"0"+Zn:Zn;case 4:return Ei($,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",xt);case 6:return ir($,1,3999,ln,3,_e).toLowerCase();case 7:return ir($,1,3999,ln,3,_e);case 8:return Vr($,945,969,!1,_e);case 9:return Vr($,97,122,!1,_e);case 10:return Vr($,65,90,!1,_e);case 11:return Vr($,1632,1641,!0,_e);case 12:case 49:return ir($,1,9999,en,3,_e);case 35:return ir($,1,9999,en,3,_e).toLowerCase();case 13:return Vr($,2534,2543,!0,_e);case 14:case 30:return Vr($,6112,6121,!0,_e);case 15:return Ei($,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",xt);case 16:return Ei($,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",xt);case 17:case 48:return ha($,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Za,"\u8CA0",xt,ca|ji|Ia);case 47:return ha($,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",po,"\u8CA0",xt,di|ca|ji|Ia);case 42:return ha($,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Za,"\u8D1F",xt,ca|ji|Ia);case 41:return ha($,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",po,"\u8D1F",xt,di|ca|ji|Ia);case 26:return ha($,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",p,xt,0);case 25:return ha($,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",p,xt,di|ca|ji);case 31:return ha($,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",O,yn,di|ca|ji);case 33:return ha($,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",O,yn,0);case 32:return ha($,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",O,yn,di|ca|ji);case 18:return Vr($,2406,2415,!0,_e);case 20:return ir($,1,19999,Bn,3,_e);case 21:return Vr($,2790,2799,!0,_e);case 22:return Vr($,2662,2671,!0,_e);case 22:return ir($,1,10999,wn,3,_e);case 23:return Ei($,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return Ei($,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return Vr($,3302,3311,!0,_e);case 28:return Ei($,"\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",xt);case 29:return Ei($,"\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",xt);case 34:return Vr($,3792,3801,!0,_e);case 37:return Vr($,6160,6169,!0,_e);case 38:return Vr($,4160,4169,!0,_e);case 39:return Vr($,2918,2927,!0,_e);case 40:return Vr($,1776,1785,!0,_e);case 43:return Vr($,3046,3055,!0,_e);case 44:return Vr($,3174,3183,!0,_e);case 45:return Vr($,3664,3673,!0,_e);case 46:return Vr($,3872,3881,!0,_e);case 3:default:return Vr($,48,57,!0,_e)}},Q="data-html2canvas-ignore",Z=function(){function Wt($,oe,ge){if(this.context=$,this.options=ge,this.scrolledElements=[],this.referenceElement=oe,this.counters=new On,this.quoteDepth=0,!oe.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(oe.ownerDocument.documentElement,!1)}return Wt.prototype.toIFrame=function($,oe){var ge=this,_e=Ze($,oe);if(!_e.contentWindow)return Promise.reject("Unable to find iframe window");var xt=$.defaultView.pageXOffset,yn=$.defaultView.pageYOffset,Un=_e.contentWindow,Zn=Un.document,mr=Kt(_e).then(function(){return v(ge,void 0,void 0,function(){var ai,Zr;return A(this,function(ui){switch(ui.label){case 0:return this.scrolledElements.forEach(gi),Un&&(Un.scrollTo(oe.left,oe.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(Un.scrollY!==oe.top||Un.scrollX!==oe.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(Un.scrollX-oe.left,Un.scrollY-oe.top,0,0))),ai=this.options.onclone,Zr=this.clonedReferenceElement,typeof Zr=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Zn.fonts&&Zn.fonts.ready?[4,Zn.fonts.ready]:[3,2];case 1:ui.sent(),ui.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Ut(Zn)]:[3,4];case 3:ui.sent(),ui.label=4;case 4:return typeof ai=="function"?[2,Promise.resolve().then(function(){return ai(Zn,Zr)}).then(function(){return _e})]:[2,_e]}})})});return Zn.open(),Zn.write(Dr(document.doctype)+"<html></html>"),Pr(this.referenceElement.ownerDocument,xt,yn),Zn.replaceChild(Zn.adoptNode(this.documentElement),Zn.documentElement),Zn.close(),mr},Wt.prototype.createElementClone=function($){if(as($,2))debugger;if(xn($))return this.createCanvasClone($);if(fe($))return this.createVideoClone($);if(Ie($))return this.createStyleClone($);var oe=$.cloneNode(!1);return V(oe)&&(V($)&&$.currentSrc&&$.currentSrc!==$.src&&(oe.src=$.currentSrc,oe.srcset=""),oe.loading==="lazy"&&(oe.loading="eager")),cn(oe)?this.createCustomElementClone(oe):oe},Wt.prototype.createCustomElementClone=function($){var oe=document.createElement("html2canvascustomelement");return dr($.style,oe),oe},Wt.prototype.createStyleClone=function($){try{var oe=$.sheet;if(oe&&oe.cssRules){var ge=[].slice.call(oe.cssRules,0).reduce(function(xt,yn){return yn&&typeof yn.cssText=="string"?xt+yn.cssText:xt},""),_e=$.cloneNode(!1);return _e.textContent=ge,_e}}catch(xt){if(this.context.logger.error("Unable to access cssRules property",xt),xt.name!=="SecurityError")throw xt}return $.cloneNode(!1)},Wt.prototype.createCanvasClone=function($){var oe;if(this.options.inlineImages&&$.ownerDocument){var ge=$.ownerDocument.createElement("img");try{return ge.src=$.toDataURL(),ge}catch(mr){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",$)}}var _e=$.cloneNode(!1);try{_e.width=$.width,_e.height=$.height;var xt=$.getContext("2d"),yn=_e.getContext("2d");if(yn)if(!this.options.allowTaint&&xt)yn.putImageData(xt.getImageData(0,0,$.width,$.height),0,0);else{var Un=(oe=$.getContext("webgl2"))!==null&&oe!==void 0?oe:$.getContext("webgl");if(Un){var Zn=Un.getContextAttributes();(Zn==null?void 0:Zn.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",$)}yn.drawImage($,0,0)}return _e}catch(mr){this.context.logger.info("Unable to clone canvas as it is tainted",$)}return _e},Wt.prototype.createVideoClone=function($){var oe=$.ownerDocument.createElement("canvas");oe.width=$.offsetWidth,oe.height=$.offsetHeight;var ge=oe.getContext("2d");try{return ge&&(ge.drawImage($,0,0,oe.width,oe.height),this.options.allowTaint||ge.getImageData(0,0,oe.width,oe.height)),oe}catch(xt){this.context.logger.info("Unable to clone video as it is tainted",$)}var _e=$.ownerDocument.createElement("canvas");return _e.width=$.offsetWidth,_e.height=$.offsetHeight,_e},Wt.prototype.appendChildNode=function($,oe,ge){(!bl(oe)||!Ke(oe)&&!oe.hasAttribute(Q)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(oe)))&&((!this.options.copyStyles||!bl(oe)||!Ie(oe))&&$.appendChild(this.cloneNode(oe,ge)))},Wt.prototype.cloneChildNodes=function($,oe,ge){for(var _e=this,xt=$.shadowRoot?$.shadowRoot.firstChild:$.firstChild;xt;xt=xt.nextSibling)if(bl(xt)&&yt(xt)&&typeof xt.assignedNodes=="function"){var yn=xt.assignedNodes();yn.length&&yn.forEach(function(Un){return _e.appendChildNode(oe,Un,ge)})}else this.appendChildNode(oe,xt,ge)},Wt.prototype.cloneNode=function($,oe){if(mu($))return document.createTextNode($.data);if(!$.ownerDocument)return $.cloneNode(!1);var ge=$.ownerDocument.defaultView;if(ge&&bl($)&&(Au($)||Cl($))){var _e=this.createElementClone($);_e.style.transitionProperty="none";var xt=ge.getComputedStyle($),yn=ge.getComputedStyle($,":before"),Un=ge.getComputedStyle($,":after");this.referenceElement===$&&Au(_e)&&(this.clonedReferenceElement=_e),nn(_e)&&ba(_e);var Zn=this.counters.parse(new Io(this.context,xt)),mr=this.resolvePseudoContent($,_e,yn,ve.BEFORE);cn($)&&(oe=!0),fe($)||this.cloneChildNodes($,_e,oe),mr&&_e.insertBefore(mr,_e.firstChild);var ai=this.resolvePseudoContent($,_e,Un,ve.AFTER);return ai&&_e.appendChild(ai),this.counters.pop(Zn),(xt&&(this.options.copyStyles||Cl($))&&!ae($)||oe)&&dr(xt,_e),($.scrollTop!==0||$.scrollLeft!==0)&&this.scrolledElements.push([_e,$.scrollLeft,$.scrollTop]),(dt($)||pt($))&&(dt(_e)||pt(_e))&&(_e.value=$.value),_e}return $.cloneNode(!1)},Wt.prototype.resolvePseudoContent=function($,oe,ge,_e){var xt=this;if(!ge)return;var yn=ge.content,Un=oe.ownerDocument;if(!Un||!yn||yn==="none"||yn==="-moz-alt-content"||ge.display==="none")return;this.counters.parse(new Io(this.context,ge));var Zn=new ts(this.context,ge),mr=Un.createElement("html2canvaspseudoelement");dr(ge,mr),Zn.content.forEach(function(Zr){if(Zr.type===0)mr.appendChild(Un.createTextNode(Zr.value));else if(Zr.type===22){var ui=Un.createElement("img");ui.src=Zr.value,ui.style.opacity="1",mr.appendChild(ui)}else if(Zr.type===18){if(Zr.name==="attr"){var la=Zr.values.filter(gr);la.length&&mr.appendChild(Un.createTextNode($.getAttribute(la[0].value)||""))}else if(Zr.name==="counter"){var pa=Zr.values.filter(Lr),Ea=pa[0],so=pa[1];if(Ea&&gr(Ea)){var Va=xt.counters.getCounterValue(Ea.value),Ua=so&&gr(so)?_o.parse(xt.context,so.value):3;mr.appendChild(Un.createTextNode(W(Va,Ua,!1)))}}else if(Zr.name==="counters"){var Ko=Zr.values.filter(Lr),Ea=Ko[0],qo=Ko[1],so=Ko[2];if(Ea&&gr(Ea)){var Mo=xt.counters.getCounterValues(Ea.value),Fa=so&&gr(so)?_o.parse(xt.context,so.value):3,ss=qo&&qo.type===0?qo.value:"",cs=Mo.map(function(Yl){return W(Yl,Fa,!1)}).join(ss);mr.appendChild(Un.createTextNode(cs))}}}else if(Zr.type===20)switch(Zr.value){case"open-quote":mr.appendChild(Un.createTextNode(Lo(Zn.quotes,xt.quoteDepth++,!0)));break;case"close-quote":mr.appendChild(Un.createTextNode(Lo(Zn.quotes,--xt.quoteDepth,!1)));break;default:mr.appendChild(Un.createTextNode(Zr.value))}}),mr.className=Yi+" "+Vi;var ai=_e===ve.BEFORE?" "+Yi:" "+Vi;return Cl(oe)?oe.className.baseValue+=ai:oe.className+=ai,mr},Wt.destroy=function($){return $.parentNode?($.parentNode.removeChild($),!0):!1},Wt}(),ve;(function(Wt){Wt[Wt.BEFORE=0]="BEFORE",Wt[Wt.AFTER=1]="AFTER"})(ve||(ve={}));var Ze=function($,oe){var ge=$.createElement("iframe");return ge.className="html2canvas-container",ge.style.visibility="hidden",ge.style.position="fixed",ge.style.left="-10000px",ge.style.top="0px",ge.style.border="0",ge.width=oe.width.toString(),ge.height=oe.height.toString(),ge.scrolling="no",ge.setAttribute(Q,"true"),$.body.appendChild(ge),ge},ft=function($){return new Promise(function(oe){if($.complete){oe();return}if(!$.src){oe();return}$.onload=oe,$.onerror=oe})},Ut=function($){return Promise.all([].slice.call($.images,0).map(ft))},Kt=function($){return new Promise(function(oe,ge){var _e=$.contentWindow;if(!_e)return ge("No window assigned for iframe");var xt=_e.document;_e.onload=$.onload=function(){_e.onload=$.onload=null;var yn=setInterval(function(){xt.body.childNodes.length>0&&xt.readyState==="complete"&&(clearInterval(yn),oe($))},50)}})},$n=["all","d","content"],dr=function($,oe){for(var ge=$.length-1;ge>=0;ge--){var _e=$.item(ge);$n.indexOf(_e)===-1&&oe.style.setProperty(_e,$.getPropertyValue(_e))}return oe},Dr=function($){var oe="";return $&&(oe+="<!DOCTYPE ",$.name&&(oe+=$.name),$.internalSubset&&(oe+=$.internalSubset),$.publicId&&(oe+='"'+$.publicId+'"'),$.systemId&&(oe+='"'+$.systemId+'"'),oe+=">"),oe},Pr=function($,oe,ge){$&&$.defaultView&&(oe!==$.defaultView.pageXOffset||ge!==$.defaultView.pageYOffset)&&$.defaultView.scrollTo(oe,ge)},gi=function($){var oe=$[0],ge=$[1],_e=$[2];oe.scrollLeft=ge,oe.scrollTop=_e},zi=":before",Xi=":after",Yi="___html2canvas___pseudoelement_before",Vi="___html2canvas___pseudoelement_after",fa=`{
|
|
|
content: "" !important;
|
|
|
display: none !important;
|
|
|
}`,ba=function($){qa($,"."+Yi+zi+fa+`
|
|
|
.`+Vi+Xi+fa)},qa=function($,oe){var ge=$.ownerDocument;if(ge){var _e=ge.createElement("style");_e.textContent=oe,$.appendChild(_e)}},_a=function(){function Wt(){}return Wt.getOrigin=function($){var oe=Wt._link;return oe?(oe.href=$,oe.href=oe.href,oe.protocol+oe.hostname+oe.port):"about:blank"},Wt.isSameOrigin=function($){return Wt.getOrigin($)===Wt._origin},Wt.setContext=function($){Wt._link=$.document.createElement("a"),Wt._origin=Wt.getOrigin($.location.href)},Wt._origin="about:blank",Wt}(),Eo=function(){function Wt($,oe){this.context=$,this._options=oe,this._cache={}}return Wt.prototype.addImage=function($){var oe=Promise.resolve();return this.has($)||(Js($)||Ms($))&&(this._cache[$]=this.loadImage($)).catch(function(){}),oe},Wt.prototype.match=function($){return this._cache[$]},Wt.prototype.loadImage=function($){return v(this,void 0,void 0,function(){var oe,ge,_e,xt,yn=this;return A(this,function(Un){switch(Un.label){case 0:return oe=_a.isSameOrigin($),ge=!Xs($)&&this._options.useCORS===!0&&Ss.SUPPORT_CORS_IMAGES&&!oe,_e=!Xs($)&&!oe&&!Js($)&&typeof this._options.proxy=="string"&&Ss.SUPPORT_CORS_XHR&&!ge,!oe&&this._options.allowTaint===!1&&!Xs($)&&!Js($)&&!_e&&!ge?[2]:(xt=$,_e?[4,this.proxy(xt)]:[3,2]);case 1:xt=Un.sent(),Un.label=2;case 2:return this.context.logger.debug("Added image "+$.substring(0,256)),[4,new Promise(function(Zn,mr){var ai=new Image;ai.onload=function(){return Zn(ai)},ai.onerror=mr,(Cs(xt)||ge)&&(ai.crossOrigin="anonymous"),ai.src=xt,ai.complete===!0&&setTimeout(function(){return Zn(ai)},500),yn._options.imageTimeout>0&&setTimeout(function(){return mr("Timed out ("+yn._options.imageTimeout+"ms) loading image")},yn._options.imageTimeout)})];case 3:return[2,Un.sent()]}})})},Wt.prototype.has=function($){return typeof this._cache[$]!="undefined"},Wt.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},Wt.prototype.proxy=function($){var oe=this,ge=this._options.proxy;if(!ge)throw new Error("No proxy defined");var _e=$.substring(0,256);return new Promise(function(xt,yn){var Un=Ss.SUPPORT_RESPONSE_TYPE?"blob":"text",Zn=new XMLHttpRequest;Zn.onload=function(){if(Zn.status===200)if(Un==="text")xt(Zn.response);else{var Zr=new FileReader;Zr.addEventListener("load",function(){return xt(Zr.result)},!1),Zr.addEventListener("error",function(ui){return yn(ui)},!1),Zr.readAsDataURL(Zn.response)}else yn("Failed to proxy resource "+_e+" with status code "+Zn.status)},Zn.onerror=yn;var mr=ge.indexOf("?")>-1?"&":"?";if(Zn.open("GET",""+ge+mr+"url="+encodeURIComponent($)+"&responseType="+Un),Un!=="text"&&Zn instanceof XMLHttpRequest&&(Zn.responseType=Un),oe._options.imageTimeout){var ai=oe._options.imageTimeout;Zn.timeout=ai,Zn.ontimeout=function(){return yn("Timed out ("+ai+"ms) proxying "+_e)}}Zn.send()})},Wt}(),Wo=/^data:image\/svg\+xml/i,us=/^data:image\/.*;base64,/i,$o=/^data:image\/.*/i,Ms=function($){return Ss.SUPPORT_SVG_DRAWING||!Fs($)},Xs=function($){return $o.test($)},Cs=function($){return us.test($)},Js=function($){return $.substr(0,4)==="blob"},Fs=function($){return $.substr(-3).toLowerCase()==="svg"||Wo.test($)},aa=function(){function Wt($,oe){this.type=0,this.x=$,this.y=oe}return Wt.prototype.add=function($,oe){return new Wt(this.x+$,this.y+oe)},Wt}(),os=function($,oe,ge){return new aa($.x+(oe.x-$.x)*ge,$.y+(oe.y-$.y)*ge)},ns=function(){function Wt($,oe,ge,_e){this.type=1,this.start=$,this.startControl=oe,this.endControl=ge,this.end=_e}return Wt.prototype.subdivide=function($,oe){var ge=os(this.start,this.startControl,$),_e=os(this.startControl,this.endControl,$),xt=os(this.endControl,this.end,$),yn=os(ge,_e,$),Un=os(_e,xt,$),Zn=os(yn,Un,$);return oe?new Wt(this.start,ge,yn,Zn):new Wt(Zn,Un,xt,this.end)},Wt.prototype.add=function($,oe){return new Wt(this.start.add($,oe),this.startControl.add($,oe),this.endControl.add($,oe),this.end.add($,oe))},Wt.prototype.reverse=function(){return new Wt(this.end,this.endControl,this.startControl,this.start)},Wt}(),vs=function($){return $.type===1},gu=function(){function Wt($){var oe=$.styles,ge=$.bounds,_e=Si(oe.borderTopLeftRadius,ge.width,ge.height),xt=_e[0],yn=_e[1],Un=Si(oe.borderTopRightRadius,ge.width,ge.height),Zn=Un[0],mr=Un[1],ai=Si(oe.borderBottomRightRadius,ge.width,ge.height),Zr=ai[0],ui=ai[1],la=Si(oe.borderBottomLeftRadius,ge.width,ge.height),pa=la[0],Ea=la[1],so=[];so.push((xt+Zn)/ge.width),so.push((pa+Zr)/ge.width),so.push((yn+Ea)/ge.height),so.push((mr+ui)/ge.height);var Va=Math.max.apply(Math,so);Va>1&&(xt/=Va,yn/=Va,Zn/=Va,mr/=Va,Zr/=Va,ui/=Va,pa/=Va,Ea/=Va);var Ua=ge.width-Zn,Ko=ge.height-ui,qo=ge.width-Zr,Mo=ge.height-Ea,Fa=oe.borderTopWidth,ss=oe.borderRightWidth,cs=oe.borderBottomWidth,Fo=oe.borderLeftWidth,Ml=mi(oe.paddingTop,$.bounds.width),Yl=mi(oe.paddingRight,$.bounds.width),Fl=mi(oe.paddingBottom,$.bounds.width),ul=mi(oe.paddingLeft,$.bounds.width);this.topLeftBorderDoubleOuterBox=xt>0||yn>0?vo(ge.left+Fo/3,ge.top+Fa/3,xt-Fo/3,yn-Fa/3,Do.TOP_LEFT):new aa(ge.left+Fo/3,ge.top+Fa/3),this.topRightBorderDoubleOuterBox=xt>0||yn>0?vo(ge.left+Ua,ge.top+Fa/3,Zn-ss/3,mr-Fa/3,Do.TOP_RIGHT):new aa(ge.left+ge.width-ss/3,ge.top+Fa/3),this.bottomRightBorderDoubleOuterBox=Zr>0||ui>0?vo(ge.left+qo,ge.top+Ko,Zr-ss/3,ui-cs/3,Do.BOTTOM_RIGHT):new aa(ge.left+ge.width-ss/3,ge.top+ge.height-cs/3),this.bottomLeftBorderDoubleOuterBox=pa>0||Ea>0?vo(ge.left+Fo/3,ge.top+Mo,pa-Fo/3,Ea-cs/3,Do.BOTTOM_LEFT):new aa(ge.left+Fo/3,ge.top+ge.height-cs/3),this.topLeftBorderDoubleInnerBox=xt>0||yn>0?vo(ge.left+Fo*2/3,ge.top+Fa*2/3,xt-Fo*2/3,yn-Fa*2/3,Do.TOP_LEFT):new aa(ge.left+Fo*2/3,ge.top+Fa*2/3),this.topRightBorderDoubleInnerBox=xt>0||yn>0?vo(ge.left+Ua,ge.top+Fa*2/3,Zn-ss*2/3,mr-Fa*2/3,Do.TOP_RIGHT):new aa(ge.left+ge.width-ss*2/3,ge.top+Fa*2/3),this.bottomRightBorderDoubleInnerBox=Zr>0||ui>0?vo(ge.left+qo,ge.top+Ko,Zr-ss*2/3,ui-cs*2/3,Do.BOTTOM_RIGHT):new aa(ge.left+ge.width-ss*2/3,ge.top+ge.height-cs*2/3),this.bottomLeftBorderDoubleInnerBox=pa>0||Ea>0?vo(ge.left+Fo*2/3,ge.top+Mo,pa-Fo*2/3,Ea-cs*2/3,Do.BOTTOM_LEFT):new aa(ge.left+Fo*2/3,ge.top+ge.height-cs*2/3),this.topLeftBorderStroke=xt>0||yn>0?vo(ge.left+Fo/2,ge.top+Fa/2,xt-Fo/2,yn-Fa/2,Do.TOP_LEFT):new aa(ge.left+Fo/2,ge.top+Fa/2),this.topRightBorderStroke=xt>0||yn>0?vo(ge.left+Ua,ge.top+Fa/2,Zn-ss/2,mr-Fa/2,Do.TOP_RIGHT):new aa(ge.left+ge.width-ss/2,ge.top+Fa/2),this.bottomRightBorderStroke=Zr>0||ui>0?vo(ge.left+qo,ge.top+Ko,Zr-ss/2,ui-cs/2,Do.BOTTOM_RIGHT):new aa(ge.left+ge.width-ss/2,ge.top+ge.height-cs/2),this.bottomLeftBorderStroke=pa>0||Ea>0?vo(ge.left+Fo/2,ge.top+Mo,pa-Fo/2,Ea-cs/2,Do.BOTTOM_LEFT):new aa(ge.left+Fo/2,ge.top+ge.height-cs/2),this.topLeftBorderBox=xt>0||yn>0?vo(ge.left,ge.top,xt,yn,Do.TOP_LEFT):new aa(ge.left,ge.top),this.topRightBorderBox=Zn>0||mr>0?vo(ge.left+Ua,ge.top,Zn,mr,Do.TOP_RIGHT):new aa(ge.left+ge.width,ge.top),this.bottomRightBorderBox=Zr>0||ui>0?vo(ge.left+qo,ge.top+Ko,Zr,ui,Do.BOTTOM_RIGHT):new aa(ge.left+ge.width,ge.top+ge.height),this.bottomLeftBorderBox=pa>0||Ea>0?vo(ge.left,ge.top+Mo,pa,Ea,Do.BOTTOM_LEFT):new aa(ge.left,ge.top+ge.height),this.topLeftPaddingBox=xt>0||yn>0?vo(ge.left+Fo,ge.top+Fa,Math.max(0,xt-Fo),Math.max(0,yn-Fa),Do.TOP_LEFT):new aa(ge.left+Fo,ge.top+Fa),this.topRightPaddingBox=Zn>0||mr>0?vo(ge.left+Math.min(Ua,ge.width-ss),ge.top+Fa,Ua>ge.width+ss?0:Math.max(0,Zn-ss),Math.max(0,mr-Fa),Do.TOP_RIGHT):new aa(ge.left+ge.width-ss,ge.top+Fa),this.bottomRightPaddingBox=Zr>0||ui>0?vo(ge.left+Math.min(qo,ge.width-Fo),ge.top+Math.min(Ko,ge.height-cs),Math.max(0,Zr-ss),Math.max(0,ui-cs),Do.BOTTOM_RIGHT):new aa(ge.left+ge.width-ss,ge.top+ge.height-cs),this.bottomLeftPaddingBox=pa>0||Ea>0?vo(ge.left+Fo,ge.top+Math.min(Mo,ge.height-cs),Math.max(0,pa-Fo),Math.max(0,Ea-cs),Do.BOTTOM_LEFT):new aa(ge.left+Fo,ge.top+ge.height-cs),this.topLeftContentBox=xt>0||yn>0?vo(ge.left+Fo+ul,ge.top+Fa+Ml,Math.max(0,xt-(Fo+ul)),Math.max(0,yn-(Fa+Ml)),Do.TOP_LEFT):new aa(ge.left+Fo+ul,ge.top+Fa+Ml),this.topRightContentBox=Zn>0||mr>0?vo(ge.left+Math.min(Ua,ge.width+Fo+ul),ge.top+Fa+Ml,Ua>ge.width+Fo+ul?0:Zn-Fo+ul,mr-(Fa+Ml),Do.TOP_RIGHT):new aa(ge.left+ge.width-(ss+Yl),ge.top+Fa+Ml),this.bottomRightContentBox=Zr>0||ui>0?vo(ge.left+Math.min(qo,ge.width-(Fo+ul)),ge.top+Math.min(Ko,ge.height+Fa+Ml),Math.max(0,Zr-(ss+Yl)),ui-(cs+Fl),Do.BOTTOM_RIGHT):new aa(ge.left+ge.width-(ss+Yl),ge.top+ge.height-(cs+Fl)),this.bottomLeftContentBox=pa>0||Ea>0?vo(ge.left+Fo+ul,ge.top+Mo,Math.max(0,pa-(Fo+ul)),Ea-(cs+Fl),Do.BOTTOM_LEFT):new aa(ge.left+Fo+ul,ge.top+ge.height-(cs+Fl))}return Wt}(),Do;(function(Wt){Wt[Wt.TOP_LEFT=0]="TOP_LEFT",Wt[Wt.TOP_RIGHT=1]="TOP_RIGHT",Wt[Wt.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",Wt[Wt.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Do||(Do={}));var vo=function($,oe,ge,_e,xt){var yn=4*((Math.sqrt(2)-1)/3),Un=ge*yn,Zn=_e*yn,mr=$+ge,ai=oe+_e;switch(xt){case Do.TOP_LEFT:return new ns(new aa($,ai),new aa($,ai-Zn),new aa(mr-Un,oe),new aa(mr,oe));case Do.TOP_RIGHT:return new ns(new aa($,oe),new aa($+Un,oe),new aa(mr,ai-Zn),new aa(mr,ai));case Do.BOTTOM_RIGHT:return new ns(new aa(mr,oe),new aa(mr,oe+Zn),new aa($+Un,ai),new aa($,ai));case Do.BOTTOM_LEFT:default:return new ns(new aa(mr,ai),new aa(mr-Un,ai),new aa($,oe+Zn),new aa($,oe))}},pl=function($){return[$.topLeftBorderBox,$.topRightBorderBox,$.bottomRightBorderBox,$.bottomLeftBorderBox]},Qs=function($){return[$.topLeftContentBox,$.topRightContentBox,$.bottomRightContentBox,$.bottomLeftContentBox]},vu=function($){return[$.topLeftPaddingBox,$.topRightPaddingBox,$.bottomRightPaddingBox,$.bottomLeftPaddingBox]},Dl=function(){function Wt($,oe,ge){this.offsetX=$,this.offsetY=oe,this.matrix=ge,this.type=0,this.target=2|4}return Wt}(),ml=function(){function Wt($,oe){this.path=$,this.target=oe,this.type=1}return Wt}(),Ql=function(){function Wt($){this.opacity=$,this.type=2,this.target=2|4}return Wt}(),tl=function($){return $.type===0},Rl=function($){return $.type===1},Bu=function($){return $.type===2},Gu=function($,oe){return $.length===oe.length?$.some(function(ge,_e){return ge===oe[_e]}):!1},Ac=function($,oe,ge,_e,xt){return $.map(function(yn,Un){switch(Un){case 0:return yn.add(oe,ge);case 1:return yn.add(oe+_e,ge);case 2:return yn.add(oe+_e,ge+xt);case 3:return yn.add(oe,ge+xt)}return yn})},gc=function(){function Wt($){this.element=$,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return Wt}(),ec=function(){function Wt($,oe){if(this.container=$,this.parent=oe,this.effects=[],this.curves=new gu(this.container),this.container.styles.opacity<1&&this.effects.push(new Ql(this.container.styles.opacity)),this.container.styles.transform!==null){var ge=this.container.bounds.left+this.container.styles.transformOrigin[0].number,_e=this.container.bounds.top+this.container.styles.transformOrigin[1].number,xt=this.container.styles.transform;this.effects.push(new Dl(ge,_e,xt))}if(this.container.styles.overflowX!==0){var yn=pl(this.curves),Un=vu(this.curves);Gu(yn,Un)?this.effects.push(new ml(yn,2|4)):(this.effects.push(new ml(yn,2)),this.effects.push(new ml(Un,4)))}}return Wt.prototype.getEffects=function($){for(var oe=[2,3].indexOf(this.container.styles.position)===-1,ge=this.parent,_e=this.effects.slice(0);ge;){var xt=ge.effects.filter(function(Zn){return!Rl(Zn)});if(oe||ge.container.styles.position!==0||!ge.parent){if(_e.unshift.apply(_e,xt),oe=[2,3].indexOf(ge.container.styles.position)===-1,ge.container.styles.overflowX!==0){var yn=pl(ge.curves),Un=vu(ge.curves);Gu(yn,Un)||_e.unshift(new ml(Un,2|4))}}else _e.unshift.apply(_e,xt);ge=ge.parent}return _e.filter(function(Zn){return Bi(Zn.target,$)})},Wt}(),vc=function Wt($,oe,ge,_e){$.container.elements.forEach(function(xt){var yn=Bi(xt.flags,4),Un=Bi(xt.flags,2),Zn=new ec(xt,$);Bi(xt.styles.display,2048)&&_e.push(Zn);var mr=Bi(xt.flags,8)?[]:_e;if(yn||Un){var ai=yn||xt.styles.isPositioned()?ge:oe,Zr=new gc(Zn);if(xt.styles.isPositioned()||xt.styles.opacity<1||xt.styles.isTransformed()){var ui=xt.styles.zIndex.order;if(ui<0){var la=0;ai.negativeZIndex.some(function(Ea,so){return ui>Ea.element.container.styles.zIndex.order?(la=so,!1):la>0}),ai.negativeZIndex.splice(la,0,Zr)}else if(ui>0){var pa=0;ai.positiveZIndex.some(function(Ea,so){return ui>=Ea.element.container.styles.zIndex.order?(pa=so+1,!1):pa>0}),ai.positiveZIndex.splice(pa,0,Zr)}else ai.zeroOrAutoZIndexOrTransformedOrOpacity.push(Zr)}else xt.styles.isFloating()?ai.nonPositionedFloats.push(Zr):ai.nonPositionedInlineLevel.push(Zr);Wt(Zn,Zr,yn?Zr:ge,mr)}else xt.styles.isInlineLevel()?oe.inlineLevel.push(Zn):oe.nonInlineLevel.push(Zn),Wt(Zn,oe,ge,mr);Bi(xt.flags,8)&&oc(xt,mr)})},oc=function($,oe){for(var ge=$ instanceof fu?$.start:1,_e=$ instanceof fu?$.reversed:!1,xt=0;xt<oe.length;xt++){var yn=oe[xt];yn.container instanceof hu&&typeof yn.container.value=="number"&&yn.container.value!==0&&(ge=yn.container.value),yn.listValue=W(ge,yn.container.styles.listStyleType,!0),ge+=_e?-1:1}},yu=function($){var oe=new ec($,null),ge=new gc(oe),_e=[];return vc(oe,ge,ge,_e),oc(oe.container,_e),ge},dc=function($,oe){switch(oe){case 0:return Bl($.topLeftBorderBox,$.topLeftPaddingBox,$.topRightBorderBox,$.topRightPaddingBox);case 1:return Bl($.topRightBorderBox,$.topRightPaddingBox,$.bottomRightBorderBox,$.bottomRightPaddingBox);case 2:return Bl($.bottomRightBorderBox,$.bottomRightPaddingBox,$.bottomLeftBorderBox,$.bottomLeftPaddingBox);case 3:default:return Bl($.bottomLeftBorderBox,$.bottomLeftPaddingBox,$.topLeftBorderBox,$.topLeftPaddingBox)}},yc=function($,oe){switch(oe){case 0:return Bl($.topLeftBorderBox,$.topLeftBorderDoubleOuterBox,$.topRightBorderBox,$.topRightBorderDoubleOuterBox);case 1:return Bl($.topRightBorderBox,$.topRightBorderDoubleOuterBox,$.bottomRightBorderBox,$.bottomRightBorderDoubleOuterBox);case 2:return Bl($.bottomRightBorderBox,$.bottomRightBorderDoubleOuterBox,$.bottomLeftBorderBox,$.bottomLeftBorderDoubleOuterBox);case 3:default:return Bl($.bottomLeftBorderBox,$.bottomLeftBorderDoubleOuterBox,$.topLeftBorderBox,$.topLeftBorderDoubleOuterBox)}},Ec=function($,oe){switch(oe){case 0:return Bl($.topLeftBorderDoubleInnerBox,$.topLeftPaddingBox,$.topRightBorderDoubleInnerBox,$.topRightPaddingBox);case 1:return Bl($.topRightBorderDoubleInnerBox,$.topRightPaddingBox,$.bottomRightBorderDoubleInnerBox,$.bottomRightPaddingBox);case 2:return Bl($.bottomRightBorderDoubleInnerBox,$.bottomRightPaddingBox,$.bottomLeftBorderDoubleInnerBox,$.bottomLeftPaddingBox);case 3:default:return Bl($.bottomLeftBorderDoubleInnerBox,$.bottomLeftPaddingBox,$.topLeftBorderDoubleInnerBox,$.topLeftPaddingBox)}},bc=function($,oe){switch(oe){case 0:return tu($.topLeftBorderStroke,$.topRightBorderStroke);case 1:return tu($.topRightBorderStroke,$.bottomRightBorderStroke);case 2:return tu($.bottomRightBorderStroke,$.bottomLeftBorderStroke);case 3:default:return tu($.bottomLeftBorderStroke,$.topLeftBorderStroke)}},tu=function($,oe){var ge=[];return vs($)?ge.push($.subdivide(.5,!1)):ge.push($),vs(oe)?ge.push(oe.subdivide(.5,!0)):ge.push(oe),ge},Bl=function($,oe,ge,_e){var xt=[];return vs($)?xt.push($.subdivide(.5,!1)):xt.push($),vs(ge)?xt.push(ge.subdivide(.5,!0)):xt.push(ge),vs(_e)?xt.push(_e.subdivide(.5,!0).reverse()):xt.push(_e),vs(oe)?xt.push(oe.subdivide(.5,!1).reverse()):xt.push(oe),xt},hc=function($){var oe=$.bounds,ge=$.styles;return oe.add(ge.borderLeftWidth,ge.borderTopWidth,-(ge.borderRightWidth+ge.borderLeftWidth),-(ge.borderTopWidth+ge.borderBottomWidth))},sc=function($){var oe=$.styles,ge=$.bounds,_e=mi(oe.paddingLeft,ge.width),xt=mi(oe.paddingRight,ge.width),yn=mi(oe.paddingTop,ge.width),Un=mi(oe.paddingBottom,ge.width);return ge.add(_e+oe.borderLeftWidth,yn+oe.borderTopWidth,-(oe.borderRightWidth+oe.borderLeftWidth+_e+xt),-(oe.borderTopWidth+oe.borderBottomWidth+yn+Un))},wc=function($,oe){return $===0?oe.bounds:$===2?sc(oe):hc(oe)},Cc=function($,oe){return $===0?oe.bounds:$===2?sc(oe):hc(oe)},Mu=function($,oe,ge){var _e=wc(Il($.styles.backgroundOrigin,oe),$),xt=Cc(Il($.styles.backgroundClip,oe),$),yn=nu(Il($.styles.backgroundSize,oe),ge,_e),Un=yn[0],Zn=yn[1],mr=Si(Il($.styles.backgroundPosition,oe),_e.width-Un,_e.height-Zn),ai=wu(Il($.styles.backgroundRepeat,oe),mr,yn,_e,xt),Zr=Math.round(_e.left+mr[0]),ui=Math.round(_e.top+mr[1]);return[ai,Zr,ui,Un,Zn]},bu=function($){return gr($)&&$.value===La.AUTO},Fu=function($){return typeof $=="number"},nu=function($,oe,ge){var _e=oe[0],xt=oe[1],yn=oe[2],Un=$[0],Zn=$[1];if(!Un)return[0,0];if(ri(Un)&&Zn&&ri(Zn))return[mi(Un,ge.width),mi(Zn,ge.height)];var mr=Fu(yn);if(gr(Un)&&(Un.value===La.CONTAIN||Un.value===La.COVER)){if(Fu(yn)){var ai=ge.width/ge.height;return ai<yn!==(Un.value===La.COVER)?[ge.width,ge.width/yn]:[ge.height*yn,ge.height]}return[ge.width,ge.height]}var Zr=Fu(_e),ui=Fu(xt),la=Zr||ui;if(bu(Un)&&(!Zn||bu(Zn))){if(Zr&&ui)return[_e,xt];if(!mr&&!la)return[ge.width,ge.height];if(la&&mr){var pa=Zr?_e:xt*yn,Ea=ui?xt:_e/yn;return[pa,Ea]}var so=Zr?_e:ge.width,Va=ui?xt:ge.height;return[so,Va]}if(mr){var Ua=0,Ko=0;return ri(Un)?Ua=mi(Un,ge.width):ri(Zn)&&(Ko=mi(Zn,ge.height)),bu(Un)?Ua=Ko*yn:(!Zn||bu(Zn))&&(Ko=Ua/yn),[Ua,Ko]}var qo=null,Mo=null;if(ri(Un)?qo=mi(Un,ge.width):Zn&&ri(Zn)&&(Mo=mi(Zn,ge.height)),qo!==null&&(!Zn||bu(Zn))&&(Mo=Zr&&ui?qo/_e*xt:ge.height),Mo!==null&&bu(Un)&&(qo=Zr&&ui?Mo/xt*_e:ge.width),qo!==null&&Mo!==null)return[qo,Mo];throw new Error("Unable to calculate background-size for element")},Il=function($,oe){var ge=$[oe];return typeof ge=="undefined"?$[0]:ge},wu=function($,oe,ge,_e,xt){var yn=oe[0],Un=oe[1],Zn=ge[0],mr=ge[1];switch($){case 2:return[new aa(Math.round(_e.left),Math.round(_e.top+Un)),new aa(Math.round(_e.left+_e.width),Math.round(_e.top+Un)),new aa(Math.round(_e.left+_e.width),Math.round(mr+_e.top+Un)),new aa(Math.round(_e.left),Math.round(mr+_e.top+Un))];case 3:return[new aa(Math.round(_e.left+yn),Math.round(_e.top)),new aa(Math.round(_e.left+yn+Zn),Math.round(_e.top)),new aa(Math.round(_e.left+yn+Zn),Math.round(_e.height+_e.top)),new aa(Math.round(_e.left+yn),Math.round(_e.height+_e.top))];case 1:return[new aa(Math.round(_e.left+yn),Math.round(_e.top+Un)),new aa(Math.round(_e.left+yn+Zn),Math.round(_e.top+Un)),new aa(Math.round(_e.left+yn+Zn),Math.round(_e.top+Un+mr)),new aa(Math.round(_e.left+yn),Math.round(_e.top+Un+mr))];default:return[new aa(Math.round(xt.left),Math.round(xt.top)),new aa(Math.round(xt.left+xt.width),Math.round(xt.top)),new aa(Math.round(xt.left+xt.width),Math.round(xt.height+xt.top)),new aa(Math.round(xt.left),Math.round(xt.height+xt.top))]}},lc="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",uc="Hidden Text",Sc=function(){function Wt($){this._data={},this._document=$}return Wt.prototype.parseMetrics=function($,oe){var ge=this._document.createElement("div"),_e=this._document.createElement("img"),xt=this._document.createElement("span"),yn=this._document.body;ge.style.visibility="hidden",ge.style.fontFamily=$,ge.style.fontSize=oe,ge.style.margin="0",ge.style.padding="0",ge.style.whiteSpace="nowrap",yn.appendChild(ge),_e.src=lc,_e.width=1,_e.height=1,_e.style.margin="0",_e.style.padding="0",_e.style.verticalAlign="baseline",xt.style.fontFamily=$,xt.style.fontSize=oe,xt.style.margin="0",xt.style.padding="0",xt.appendChild(this._document.createTextNode(uc)),ge.appendChild(xt),ge.appendChild(_e);var Un=_e.offsetTop-xt.offsetTop+2;ge.removeChild(xt),ge.appendChild(this._document.createTextNode(uc)),ge.style.lineHeight="normal",_e.style.verticalAlign="super";var Zn=_e.offsetTop-ge.offsetTop+2;return yn.removeChild(ge),{baseline:Un,middle:Zn}},Wt.prototype.getMetrics=function($,oe){var ge=$+" "+oe;return typeof this._data[ge]=="undefined"&&(this._data[ge]=this.parseMetrics($,oe)),this._data[ge]},Wt}(),xc=function(){function Wt($,oe){this.context=$,this.options=oe}return Wt}(),fc=1e4,pc=function(Wt){L($,Wt);function $(oe,ge){var _e=Wt.call(this,oe,ge)||this;return _e._activeEffects=[],_e.canvas=ge.canvas?ge.canvas:document.createElement("canvas"),_e.ctx=_e.canvas.getContext("2d"),ge.canvas||(_e.canvas.width=Math.floor(ge.width*ge.scale),_e.canvas.height=Math.floor(ge.height*ge.scale),_e.canvas.style.width=ge.width+"px",_e.canvas.style.height=ge.height+"px"),_e.fontMetrics=new Sc(document),_e.ctx.scale(_e.options.scale,_e.options.scale),_e.ctx.translate(-ge.x,-ge.y),_e.ctx.textBaseline="bottom",_e._activeEffects=[],_e.context.logger.debug("Canvas renderer initialized ("+ge.width+"x"+ge.height+") with scale "+ge.scale),_e}return $.prototype.applyEffects=function(oe){for(var ge=this;this._activeEffects.length;)this.popEffect();oe.forEach(function(_e){return ge.applyEffect(_e)})},$.prototype.applyEffect=function(oe){this.ctx.save(),Bu(oe)&&(this.ctx.globalAlpha=oe.opacity),tl(oe)&&(this.ctx.translate(oe.offsetX,oe.offsetY),this.ctx.transform(oe.matrix[0],oe.matrix[1],oe.matrix[2],oe.matrix[3],oe.matrix[4],oe.matrix[5]),this.ctx.translate(-oe.offsetX,-oe.offsetY)),Rl(oe)&&(this.path(oe.path),this.ctx.clip()),this._activeEffects.push(oe)},$.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},$.prototype.renderStack=function(oe){return v(this,void 0,void 0,function(){var ge;return A(this,function(_e){switch(_e.label){case 0:return ge=oe.element.container.styles,ge.isVisible()?[4,this.renderStackContent(oe)]:[3,2];case 1:_e.sent(),_e.label=2;case 2:return[2]}})})},$.prototype.renderNode=function(oe){return v(this,void 0,void 0,function(){return A(this,function(ge){switch(ge.label){case 0:if(Bi(oe.container.flags,16))debugger;return oe.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(oe)]:[3,3];case 1:return ge.sent(),[4,this.renderNodeContent(oe)];case 2:ge.sent(),ge.label=3;case 3:return[2]}})})},$.prototype.renderTextWithLetterSpacing=function(oe,ge,_e){var xt=this;if(ge===0)this.ctx.fillText(oe.text,oe.bounds.left,oe.bounds.top+_e);else{var yn=zl(oe.text);yn.reduce(function(Un,Zn){return xt.ctx.fillText(Zn,Un,oe.bounds.top+_e),Un+xt.ctx.measureText(Zn).width},oe.bounds.left)}},$.prototype.createFontStyle=function(oe){var ge=oe.fontVariant.filter(function(yn){return yn==="normal"||yn==="small-caps"}).join(""),_e=Nc(oe.fontFamily).join(", "),xt=ar(oe.fontSize)?""+oe.fontSize.number+oe.fontSize.unit:oe.fontSize.number+"px";return[[oe.fontStyle,ge,oe.fontWeight,xt,_e].join(" "),_e,xt]},$.prototype.renderTextNode=function(oe,ge){return v(this,void 0,void 0,function(){var _e,xt,yn,Un,Zn,mr,ai,Zr,ui=this;return A(this,function(la){return _e=this.createFontStyle(ge),xt=_e[0],yn=_e[1],Un=_e[2],this.ctx.font=xt,this.ctx.direction=ge.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",Zn=this.fontMetrics.getMetrics(yn,Un),mr=Zn.baseline,ai=Zn.middle,Zr=ge.paintOrder,oe.textBounds.forEach(function(pa){Zr.forEach(function(Ea){switch(Ea){case 0:ui.ctx.fillStyle=zt(ge.color),ui.renderTextWithLetterSpacing(pa,ge.letterSpacing,mr);var so=ge.textShadow;so.length&&pa.text.trim().length&&(so.slice(0).reverse().forEach(function(Va){ui.ctx.shadowColor=zt(Va.color),ui.ctx.shadowOffsetX=Va.offsetX.number*ui.options.scale,ui.ctx.shadowOffsetY=Va.offsetY.number*ui.options.scale,ui.ctx.shadowBlur=Va.blur.number,ui.renderTextWithLetterSpacing(pa,ge.letterSpacing,mr)}),ui.ctx.shadowColor="",ui.ctx.shadowOffsetX=0,ui.ctx.shadowOffsetY=0,ui.ctx.shadowBlur=0),ge.textDecorationLine.length&&(ui.ctx.fillStyle=zt(ge.textDecorationColor||ge.color),ge.textDecorationLine.forEach(function(Va){switch(Va){case 1:ui.ctx.fillRect(pa.bounds.left,Math.round(pa.bounds.top+mr),pa.bounds.width,1);break;case 2:ui.ctx.fillRect(pa.bounds.left,Math.round(pa.bounds.top),pa.bounds.width,1);break;case 3:ui.ctx.fillRect(pa.bounds.left,Math.ceil(pa.bounds.top+ai),pa.bounds.width,1);break}}));break;case 1:ge.webkitTextStrokeWidth&&pa.text.trim().length&&(ui.ctx.strokeStyle=zt(ge.webkitTextStrokeColor),ui.ctx.lineWidth=ge.webkitTextStrokeWidth,ui.ctx.lineJoin=window.chrome?"miter":"round",ui.ctx.strokeText(pa.text,pa.bounds.left,pa.bounds.top+mr)),ui.ctx.strokeStyle="",ui.ctx.lineWidth=0,ui.ctx.lineJoin="miter";break}})}),[2]})})},$.prototype.renderReplacedElement=function(oe,ge,_e){if(_e&&oe.intrinsicWidth>0&&oe.intrinsicHeight>0){var xt=sc(oe),yn=vu(ge);this.path(yn),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(_e,0,0,oe.intrinsicWidth,oe.intrinsicHeight,xt.left,xt.top,xt.width,xt.height),this.ctx.restore()}},$.prototype.renderNodeContent=function(oe){return v(this,void 0,void 0,function(){var ge,_e,xt,yn,Un,Zn,mr,mr,ai,Zr,ui,la,pa,Ea,so,Va,Ua,Ko,qo,mr,Mo,pa,Va;return A(this,function(Fa){switch(Fa.label){case 0:this.applyEffects(oe.getEffects(4)),ge=oe.container,_e=oe.curves,xt=ge.styles,yn=0,Un=ge.textNodes,Fa.label=1;case 1:return yn<Un.length?(Zn=Un[yn],[4,this.renderTextNode(Zn,xt)]):[3,4];case 2:Fa.sent(),Fa.label=3;case 3:return yn++,[3,1];case 4:if(!(ge instanceof ql))return[3,8];Fa.label=5;case 5:return Fa.trys.push([5,7,,8]),[4,this.context.cache.match(ge.src)];case 6:return mr=Fa.sent(),this.renderReplacedElement(ge,_e,mr),[3,8];case 7:return Fa.sent(),this.context.logger.error("Error loading image "+ge.src),[3,8];case 8:if(ge instanceof yl&&this.renderReplacedElement(ge,_e,ge.canvas),!(ge instanceof ll))return[3,12];Fa.label=9;case 9:return Fa.trys.push([9,11,,12]),[4,this.context.cache.match(ge.svg)];case 10:return mr=Fa.sent(),this.renderReplacedElement(ge,_e,mr),[3,12];case 11:return Fa.sent(),this.context.logger.error("Error loading svg "+ge.svg.substring(0,255)),[3,12];case 12:return ge instanceof Nu&&ge.tree?(ai=new $(this.context,{scale:this.options.scale,backgroundColor:ge.backgroundColor,x:0,y:0,width:ge.width,height:ge.height}),[4,ai.render(ge.tree)]):[3,14];case 13:Zr=Fa.sent(),ge.width&&ge.height&&this.ctx.drawImage(Zr,0,0,ge.width,ge.height,ge.bounds.left,ge.bounds.top,ge.bounds.width,ge.bounds.height),Fa.label=14;case 14:if(ge instanceof kl&&(ui=Math.min(ge.bounds.width,ge.bounds.height),ge.type===Kl?ge.checked&&(this.ctx.save(),this.path([new aa(ge.bounds.left+ui*.39363,ge.bounds.top+ui*.79),new aa(ge.bounds.left+ui*.16,ge.bounds.top+ui*.5549),new aa(ge.bounds.left+ui*.27347,ge.bounds.top+ui*.44071),new aa(ge.bounds.left+ui*.39694,ge.bounds.top+ui*.5649),new aa(ge.bounds.left+ui*.72983,ge.bounds.top+ui*.23),new aa(ge.bounds.left+ui*.84,ge.bounds.top+ui*.34085),new aa(ge.bounds.left+ui*.39363,ge.bounds.top+ui*.79)]),this.ctx.fillStyle=zt(Vl),this.ctx.fill(),this.ctx.restore()):ge.type===fl&&(ge.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(ge.bounds.left+ui/2,ge.bounds.top+ui/2,ui/4,0,Math.PI*2,!0),this.ctx.fillStyle=zt(Vl),this.ctx.fill(),this.ctx.restore()))),Ic(ge)&&ge.value.length){la=this.createFontStyle(xt),pa=la[0],Ea=la[1],so=this.fontMetrics.getMetrics(pa,Ea).baseline,this.ctx.font=pa,this.ctx.fillStyle=zt(xt.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=Lc(ge.styles.textAlign),Va=sc(ge),Ua=0;switch(ge.styles.textAlign){case 1:Ua+=Va.width/2;break;case 2:Ua+=Va.width;break}Ko=Va.add(Ua,0,0,-Va.height/2+1),this.ctx.save(),this.path([new aa(Va.left,Va.top),new aa(Va.left+Va.width,Va.top),new aa(Va.left+Va.width,Va.top+Va.height),new aa(Va.left,Va.top+Va.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new cl(ge.value,Ko),xt.letterSpacing,so),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Bi(ge.styles.display,2048))return[3,20];if(!(ge.styles.listStyleImage!==null))return[3,19];if(qo=ge.styles.listStyleImage,!(qo.type===0))return[3,18];mr=void 0,Mo=qo.url,Fa.label=15;case 15:return Fa.trys.push([15,17,,18]),[4,this.context.cache.match(Mo)];case 16:return mr=Fa.sent(),this.ctx.drawImage(mr,ge.bounds.left-(mr.width+10),ge.bounds.top),[3,18];case 17:return Fa.sent(),this.context.logger.error("Error loading list-style-image "+Mo),[3,18];case 18:return[3,20];case 19:oe.listValue&&ge.styles.listStyleType!==-1&&(pa=this.createFontStyle(xt)[0],this.ctx.font=pa,this.ctx.fillStyle=zt(xt.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",Va=new m(ge.bounds.left,ge.bounds.top+mi(ge.styles.paddingTop,ge.bounds.width),ge.bounds.width,mo(xt.lineHeight,xt.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new cl(oe.listValue,Va),xt.letterSpacing,mo(xt.lineHeight,xt.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),Fa.label=20;case 20:return[2]}})})},$.prototype.renderStackContent=function(oe){return v(this,void 0,void 0,function(){var ge,_e,xt,yn,Un,xt,Zn,mr,xt,ai,Zr,xt,ui,la,xt,pa,Ea,xt,so,Va,xt;return A(this,function(Ua){switch(Ua.label){case 0:if(Bi(oe.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(oe.element)];case 1:Ua.sent(),ge=0,_e=oe.negativeZIndex,Ua.label=2;case 2:return ge<_e.length?(xt=_e[ge],[4,this.renderStack(xt)]):[3,5];case 3:Ua.sent(),Ua.label=4;case 4:return ge++,[3,2];case 5:return[4,this.renderNodeContent(oe.element)];case 6:Ua.sent(),yn=0,Un=oe.nonInlineLevel,Ua.label=7;case 7:return yn<Un.length?(xt=Un[yn],[4,this.renderNode(xt)]):[3,10];case 8:Ua.sent(),Ua.label=9;case 9:return yn++,[3,7];case 10:Zn=0,mr=oe.nonPositionedFloats,Ua.label=11;case 11:return Zn<mr.length?(xt=mr[Zn],[4,this.renderStack(xt)]):[3,14];case 12:Ua.sent(),Ua.label=13;case 13:return Zn++,[3,11];case 14:ai=0,Zr=oe.nonPositionedInlineLevel,Ua.label=15;case 15:return ai<Zr.length?(xt=Zr[ai],[4,this.renderStack(xt)]):[3,18];case 16:Ua.sent(),Ua.label=17;case 17:return ai++,[3,15];case 18:ui=0,la=oe.inlineLevel,Ua.label=19;case 19:return ui<la.length?(xt=la[ui],[4,this.renderNode(xt)]):[3,22];case 20:Ua.sent(),Ua.label=21;case 21:return ui++,[3,19];case 22:pa=0,Ea=oe.zeroOrAutoZIndexOrTransformedOrOpacity,Ua.label=23;case 23:return pa<Ea.length?(xt=Ea[pa],[4,this.renderStack(xt)]):[3,26];case 24:Ua.sent(),Ua.label=25;case 25:return pa++,[3,23];case 26:so=0,Va=oe.positiveZIndex,Ua.label=27;case 27:return so<Va.length?(xt=Va[so],[4,this.renderStack(xt)]):[3,30];case 28:Ua.sent(),Ua.label=29;case 29:return so++,[3,27];case 30:return[2]}})})},$.prototype.mask=function(oe){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(oe.slice(0).reverse()),this.ctx.closePath()},$.prototype.path=function(oe){this.ctx.beginPath(),this.formatPath(oe),this.ctx.closePath()},$.prototype.formatPath=function(oe){var ge=this;oe.forEach(function(_e,xt){var yn=vs(_e)?_e.start:_e;xt===0?ge.ctx.moveTo(yn.x,yn.y):ge.ctx.lineTo(yn.x,yn.y),vs(_e)&&ge.ctx.bezierCurveTo(_e.startControl.x,_e.startControl.y,_e.endControl.x,_e.endControl.y,_e.end.x,_e.end.y)})},$.prototype.renderRepeat=function(oe,ge,_e,xt){this.path(oe),this.ctx.fillStyle=ge,this.ctx.translate(_e,xt),this.ctx.fill(),this.ctx.translate(-_e,-xt)},$.prototype.resizeImage=function(oe,ge,_e){var xt;if(oe.width===ge&&oe.height===_e)return oe;var yn=(xt=this.canvas.ownerDocument)!==null&&xt!==void 0?xt:document,Un=yn.createElement("canvas");Un.width=Math.max(1,ge),Un.height=Math.max(1,_e);var Zn=Un.getContext("2d");return Zn.drawImage(oe,0,0,oe.width,oe.height,0,0,ge,_e),Un},$.prototype.renderBackgroundImage=function(oe){return v(this,void 0,void 0,function(){var ge,_e,xt,yn,Un,Zn;return A(this,function(mr){switch(mr.label){case 0:ge=oe.styles.backgroundImage.length-1,_e=function(Zr){var ui,la,pa,Ea,so,Va,Ua,Ko,qo,Mo,Ea,so,Va,Ua,Ko,Fa,ss,cs,Fo,Ml,Yl,Fl,ul,tc,qo,Su,Ea,Xu,Ju,Ua,Ko,Zu,so,Va,nc,xu,$u,rc,ic,Pu,ac,_u;return A(this,function(cc){switch(cc.label){case 0:if(!(Zr.type===0))return[3,5];ui=void 0,la=Zr.url,cc.label=1;case 1:return cc.trys.push([1,3,,4]),[4,xt.context.cache.match(la)];case 2:return ui=cc.sent(),[3,4];case 3:return cc.sent(),xt.context.logger.error("Error loading background-image "+la),[3,4];case 4:return ui&&(pa=Mu(oe,ge,[ui.width,ui.height,ui.width/ui.height]),Ea=pa[0],so=pa[1],Va=pa[2],Ua=pa[3],Ko=pa[4],qo=xt.ctx.createPattern(xt.resizeImage(ui,Ua,Ko),"repeat"),xt.renderRepeat(Ea,qo,so,Va)),[3,6];case 5:Ka(Zr)?(Mo=Mu(oe,ge,[null,null,null]),Ea=Mo[0],so=Mo[1],Va=Mo[2],Ua=Mo[3],Ko=Mo[4],Fa=ma(Zr.angle,Ua,Ko),ss=Fa[0],cs=Fa[1],Fo=Fa[2],Ml=Fa[3],Yl=Fa[4],Fl=document.createElement("canvas"),Fl.width=Ua,Fl.height=Ko,ul=Fl.getContext("2d"),tc=ul.createLinearGradient(cs,Ml,Fo,Yl),da(Zr.stops,ss).forEach(function(mc){return tc.addColorStop(mc.stop,zt(mc.color))}),ul.fillStyle=tc,ul.fillRect(0,0,Ua,Ko),Ua>0&&Ko>0&&(qo=xt.ctx.createPattern(Fl,"repeat"),xt.renderRepeat(Ea,qo,so,Va))):xa(Zr)&&(Su=Mu(oe,ge,[null,null,null]),Ea=Su[0],Xu=Su[1],Ju=Su[2],Ua=Su[3],Ko=Su[4],Zu=Zr.position.length===0?[Ti]:Zr.position,so=mi(Zu[0],Ua),Va=mi(Zu[Zu.length-1],Ko),nc=na(Zr,so,Va,Ua,Ko),xu=nc[0],$u=nc[1],xu>0&&$u>0&&(rc=xt.ctx.createRadialGradient(Xu+so,Ju+Va,0,Xu+so,Ju+Va,xu),da(Zr.stops,xu*2).forEach(function(mc){return rc.addColorStop(mc.stop,zt(mc.color))}),xt.path(Ea),xt.ctx.fillStyle=rc,xu!==$u?(ic=oe.bounds.left+.5*oe.bounds.width,Pu=oe.bounds.top+.5*oe.bounds.height,ac=$u/xu,_u=1/ac,xt.ctx.save(),xt.ctx.translate(ic,Pu),xt.ctx.transform(1,0,0,ac,0,0),xt.ctx.translate(-ic,-Pu),xt.ctx.fillRect(Xu,_u*(Ju-Pu)+Pu,Ua,Ko*_u),xt.ctx.restore()):xt.ctx.fill())),cc.label=6;case 6:return ge--,[2]}})},xt=this,yn=0,Un=oe.styles.backgroundImage.slice(0).reverse(),mr.label=1;case 1:return yn<Un.length?(Zn=Un[yn],[5,_e(Zn)]):[3,4];case 2:mr.sent(),mr.label=3;case 3:return yn++,[3,1];case 4:return[2]}})})},$.prototype.renderSolidBorder=function(oe,ge,_e){return v(this,void 0,void 0,function(){return A(this,function(xt){return this.path(dc(_e,ge)),this.ctx.fillStyle=zt(oe),this.ctx.fill(),[2]})})},$.prototype.renderDoubleBorder=function(oe,ge,_e,xt){return v(this,void 0,void 0,function(){var yn,Un;return A(this,function(Zn){switch(Zn.label){case 0:return ge<3?[4,this.renderSolidBorder(oe,_e,xt)]:[3,2];case 1:return Zn.sent(),[2];case 2:return yn=yc(xt,_e),this.path(yn),this.ctx.fillStyle=zt(oe),this.ctx.fill(),Un=Ec(xt,_e),this.path(Un),this.ctx.fill(),[2]}})})},$.prototype.renderNodeBackgroundAndBorders=function(oe){return v(this,void 0,void 0,function(){var ge,_e,xt,yn,Un,Zn,mr,ai,Zr=this;return A(this,function(ui){switch(ui.label){case 0:return this.applyEffects(oe.getEffects(2)),ge=oe.container.styles,_e=!mn(ge.backgroundColor)||ge.backgroundImage.length,xt=[{style:ge.borderTopStyle,color:ge.borderTopColor,width:ge.borderTopWidth},{style:ge.borderRightStyle,color:ge.borderRightColor,width:ge.borderRightWidth},{style:ge.borderBottomStyle,color:ge.borderBottomColor,width:ge.borderBottomWidth},{style:ge.borderLeftStyle,color:ge.borderLeftColor,width:ge.borderLeftWidth}],yn=Oc(Il(ge.backgroundClip,0),oe.curves),_e||ge.boxShadow.length?(this.ctx.save(),this.path(yn),this.ctx.clip(),mn(ge.backgroundColor)||(this.ctx.fillStyle=zt(ge.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(oe.container)]):[3,2];case 1:ui.sent(),this.ctx.restore(),ge.boxShadow.slice(0).reverse().forEach(function(la){Zr.ctx.save();var pa=pl(oe.curves),Ea=la.inset?0:fc,so=Ac(pa,-Ea+(la.inset?1:-1)*la.spread.number,(la.inset?1:-1)*la.spread.number,la.spread.number*(la.inset?-2:2),la.spread.number*(la.inset?-2:2));la.inset?(Zr.path(pa),Zr.ctx.clip(),Zr.mask(so)):(Zr.mask(pa),Zr.ctx.clip(),Zr.path(so)),Zr.ctx.shadowOffsetX=la.offsetX.number+Ea,Zr.ctx.shadowOffsetY=la.offsetY.number,Zr.ctx.shadowColor=zt(la.color),Zr.ctx.shadowBlur=la.blur.number,Zr.ctx.fillStyle=la.inset?zt(la.color):"rgba(0,0,0,1)",Zr.ctx.fill(),Zr.ctx.restore()}),ui.label=2;case 2:Un=0,Zn=0,mr=xt,ui.label=3;case 3:return Zn<mr.length?(ai=mr[Zn],ai.style!==0&&!mn(ai.color)&&ai.width>0?ai.style===2?[4,this.renderDashedDottedBorder(ai.color,ai.width,Un,oe.curves,2)]:[3,5]:[3,11]):[3,13];case 4:return ui.sent(),[3,11];case 5:return ai.style===3?[4,this.renderDashedDottedBorder(ai.color,ai.width,Un,oe.curves,3)]:[3,7];case 6:return ui.sent(),[3,11];case 7:return ai.style===4?[4,this.renderDoubleBorder(ai.color,ai.width,Un,oe.curves)]:[3,9];case 8:return ui.sent(),[3,11];case 9:return[4,this.renderSolidBorder(ai.color,Un,oe.curves)];case 10:ui.sent(),ui.label=11;case 11:Un++,ui.label=12;case 12:return Zn++,[3,3];case 13:return[2]}})})},$.prototype.renderDashedDottedBorder=function(oe,ge,_e,xt,yn){return v(this,void 0,void 0,function(){var Un,Zn,mr,ai,Zr,ui,la,pa,Ea,so,Va,Ua,Ko,qo,Mo,Fa,Mo,Fa;return A(this,function(ss){return this.ctx.save(),Un=bc(xt,_e),Zn=dc(xt,_e),yn===2&&(this.path(Zn),this.ctx.clip()),vs(Zn[0])?(mr=Zn[0].start.x,ai=Zn[0].start.y):(mr=Zn[0].x,ai=Zn[0].y),vs(Zn[1])?(Zr=Zn[1].end.x,ui=Zn[1].end.y):(Zr=Zn[1].x,ui=Zn[1].y),_e===0||_e===2?la=Math.abs(mr-Zr):la=Math.abs(ai-ui),this.ctx.beginPath(),yn===3?this.formatPath(Un):this.formatPath(Zn.slice(0,2)),pa=ge<3?ge*3:ge*2,Ea=ge<3?ge*2:ge,yn===3&&(pa=ge,Ea=ge),so=!0,la<=pa*2?so=!1:la<=pa*2+Ea?(Va=la/(2*pa+Ea),pa*=Va,Ea*=Va):(Ua=Math.floor((la+Ea)/(pa+Ea)),Ko=(la-Ua*pa)/(Ua-1),qo=(la-(Ua+1)*pa)/Ua,Ea=qo<=0||Math.abs(Ea-Ko)<Math.abs(Ea-qo)?Ko:qo),so&&(yn===3?this.ctx.setLineDash([0,pa+Ea]):this.ctx.setLineDash([pa,Ea])),yn===3?(this.ctx.lineCap="round",this.ctx.lineWidth=ge):this.ctx.lineWidth=ge*2+1.1,this.ctx.strokeStyle=zt(oe),this.ctx.stroke(),this.ctx.setLineDash([]),yn===2&&(vs(Zn[0])&&(Mo=Zn[3],Fa=Zn[0],this.ctx.beginPath(),this.formatPath([new aa(Mo.end.x,Mo.end.y),new aa(Fa.start.x,Fa.start.y)]),this.ctx.stroke()),vs(Zn[1])&&(Mo=Zn[1],Fa=Zn[2],this.ctx.beginPath(),this.formatPath([new aa(Mo.end.x,Mo.end.y),new aa(Fa.start.x,Fa.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},$.prototype.render=function(oe){return v(this,void 0,void 0,function(){var ge;return A(this,function(_e){switch(_e.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=zt(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),ge=yu(oe),[4,this.renderStack(ge)];case 1:return _e.sent(),this.applyEffects([]),[2,this.canvas]}})})},$}(xc),Ic=function($){return $ instanceof Ku||$ instanceof pu?!0:$ instanceof kl&&$.type!==fl&&$.type!==Kl},Oc=function($,oe){switch($){case 0:return pl(oe);case 2:return Qs(oe);case 1:default:return vu(oe)}},Lc=function($){switch($){case 1:return"center";case 2:return"right";case 0:default:return"left"}},Tc=["-apple-system","system-ui"],Nc=function($){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?$.filter(function(oe){return Tc.indexOf(oe)===-1}):$},Dc=function(Wt){L($,Wt);function $(oe,ge){var _e=Wt.call(this,oe,ge)||this;return _e.canvas=ge.canvas?ge.canvas:document.createElement("canvas"),_e.ctx=_e.canvas.getContext("2d"),_e.options=ge,_e.canvas.width=Math.floor(ge.width*ge.scale),_e.canvas.height=Math.floor(ge.height*ge.scale),_e.canvas.style.width=ge.width+"px",_e.canvas.style.height=ge.height+"px",_e.ctx.scale(_e.options.scale,_e.options.scale),_e.ctx.translate(-ge.x,-ge.y),_e.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+ge.width+"x"+ge.height+" at "+ge.x+","+ge.y+") with scale "+ge.scale),_e}return $.prototype.render=function(oe){return v(this,void 0,void 0,function(){var ge,_e;return A(this,function(xt){switch(xt.label){case 0:return ge=uu(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,oe),[4,Rc(ge)];case 1:return _e=xt.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=zt(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(_e,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},$}(xc),Rc=function($){return new Promise(function(oe,ge){var _e=new Image;_e.onload=function(){oe(_e)},_e.onerror=ge,_e.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString($))})},Bc=function(){function Wt($){var oe=$.id,ge=$.enabled;this.id=oe,this.enabled=ge,this.start=Date.now()}return Wt.prototype.debug=function(){for(var $=[],oe=0;oe<arguments.length;oe++)$[oe]=arguments[oe];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,b([this.id,this.getTime()+"ms"],$)):this.info.apply(this,$))},Wt.prototype.getTime=function(){return Date.now()-this.start},Wt.prototype.info=function(){for(var $=[],oe=0;oe<arguments.length;oe++)$[oe]=arguments[oe];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.info=="function"&&console.info.apply(console,b([this.id,this.getTime()+"ms"],$)))},Wt.prototype.warn=function(){for(var $=[],oe=0;oe<arguments.length;oe++)$[oe]=arguments[oe];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,b([this.id,this.getTime()+"ms"],$)):this.info.apply(this,$))},Wt.prototype.error=function(){for(var $=[],oe=0;oe<arguments.length;oe++)$[oe]=arguments[oe];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.error=="function"?console.error.apply(console,b([this.id,this.getTime()+"ms"],$)):this.info.apply(this,$))},Wt.instances={},Wt}(),Mc=function(){function Wt($,oe){var ge;this.windowBounds=oe,this.instanceName="#"+Wt.instanceCount++,this.logger=new Bc({id:this.instanceName,enabled:$.logging}),this.cache=(ge=$.cache)!==null&&ge!==void 0?ge:new Eo(this,$)}return Wt.instanceCount=1,Wt}(),Fc=function($,oe){return oe===void 0&&(oe={}),Pc($,oe)};typeof window!="undefined"&&_a.setContext(window);var Pc=function($,oe){return v(void 0,void 0,void 0,function(){var ge,_e,xt,yn,Un,Zn,mr,ai,Zr,ui,la,pa,Ea,so,Va,Ua,Ko,qo,Mo,Fa,ss,cs,ss,Fo,Ml,Yl,Fl,ul,tc,Su,Xu,Ju,Zu,nc,xu,$u,rc,ic,Pu,ac;return A(this,function(_u){switch(_u.label){case 0:if(!$||typeof $!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(ge=$.ownerDocument,!ge)throw new Error("Element is not attached to a Document");if(_e=ge.defaultView,!_e)throw new Error("Document is not attached to a Window");return xt={allowTaint:(Fo=oe.allowTaint)!==null&&Fo!==void 0?Fo:!1,imageTimeout:(Ml=oe.imageTimeout)!==null&&Ml!==void 0?Ml:15e3,proxy:oe.proxy,useCORS:(Yl=oe.useCORS)!==null&&Yl!==void 0?Yl:!1},yn=g({logging:(Fl=oe.logging)!==null&&Fl!==void 0?Fl:!0,cache:oe.cache},xt),Un={windowWidth:(ul=oe.windowWidth)!==null&&ul!==void 0?ul:_e.innerWidth,windowHeight:(tc=oe.windowHeight)!==null&&tc!==void 0?tc:_e.innerHeight,scrollX:(Su=oe.scrollX)!==null&&Su!==void 0?Su:_e.pageXOffset,scrollY:(Xu=oe.scrollY)!==null&&Xu!==void 0?Xu:_e.pageYOffset},Zn=new m(Un.scrollX,Un.scrollY,Un.windowWidth,Un.windowHeight),mr=new Mc(yn,Zn),ai=(Ju=oe.foreignObjectRendering)!==null&&Ju!==void 0?Ju:!1,Zr={allowTaint:(Zu=oe.allowTaint)!==null&&Zu!==void 0?Zu:!1,onclone:oe.onclone,ignoreElements:oe.ignoreElements,inlineImages:ai,copyStyles:ai},mr.logger.debug("Starting document clone with size "+Zn.width+"x"+Zn.height+" scrolled to "+-Zn.left+","+-Zn.top),ui=new Z(mr,$,Zr),la=ui.clonedReferenceElement,la?[4,ui.toIFrame(ge,Zn)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return pa=_u.sent(),Ea=nn(la)||Xe(la)?r(la.ownerDocument):d(mr,la),so=Ea.width,Va=Ea.height,Ua=Ea.left,Ko=Ea.top,qo=_c(mr,la,oe.backgroundColor),Mo={canvas:oe.canvas,backgroundColor:qo,scale:(xu=(nc=oe.scale)!==null&&nc!==void 0?nc:_e.devicePixelRatio)!==null&&xu!==void 0?xu:1,x:(($u=oe.x)!==null&&$u!==void 0?$u:0)+Ua,y:((rc=oe.y)!==null&&rc!==void 0?rc:0)+Ko,width:(ic=oe.width)!==null&&ic!==void 0?ic:Math.ceil(so),height:(Pu=oe.height)!==null&&Pu!==void 0?Pu:Math.ceil(Va)},ai?(mr.logger.debug("Document cloned, using foreign object rendering"),ss=new Dc(mr,Mo),[4,ss.render(la)]):[3,3];case 2:return Fa=_u.sent(),[3,5];case 3:return mr.logger.debug("Document cloned, element located at "+Ua+","+Ko+" with size "+so+"x"+Va+" using computed rendering"),mr.logger.debug("Starting DOM parsing"),cs=Qu(mr,la),qo===cs.styles.backgroundColor&&(cs.styles.backgroundColor=Jr.TRANSPARENT),mr.logger.debug("Starting renderer for element at "+Mo.x+","+Mo.y+" with size "+Mo.width+"x"+Mo.height),ss=new pc(mr,Mo),[4,ss.render(cs)];case 4:Fa=_u.sent(),_u.label=5;case 5:return((ac=oe.removeContainer)!==null&&ac!==void 0?ac:!0)&&(Z.destroy(pa)||mr.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),mr.logger.debug("Finished rendering"),[2,Fa]}})})},_c=function($,oe,ge){var _e=oe.ownerDocument,xt=_e.documentElement?Yr($,getComputedStyle(_e.documentElement).backgroundColor):Jr.TRANSPARENT,yn=_e.body?Yr($,getComputedStyle(_e.body).backgroundColor):Jr.TRANSPARENT,Un=typeof ge=="string"?Yr($,ge):ge===null?Jr.TRANSPARENT:4294967295;return oe===_e.documentElement?mn(xt)?mn(yn)?Un:yn:xt:Un};return Fc})},wPlo:function(te,U,e){"use strict";e.d(U,"a",function(){return y});var y="RC_SELECT_INTERNAL_PROPS_MARK"},wXyp:function(te,U,e){"use strict";var y=e("284h"),L=e("TqRt");Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var g=L(e("3tO9")),v=y(e("q1tI")),A=L(e("ygfH")),b=L(e("KQxl")),m=function(a,s){return v.createElement(b.default,(0,g.default)((0,g.default)({},a),{},{ref:s,icon:A.default}))};m.displayName="CheckOutlined";var d=v.forwardRef(m);U.default=d},wYyv:function(te,U,e){"use strict";var y=e("R5yR"),L=e("5wUe"),g=function(b,m,d){var r=m<0?b.length+m:m;if(r>=0&&r<b.length){var a=d<0?b.length+d:d,s=b.splice(m,1),i=L(s,1),n=i[0];b.splice(a,0,n)}},v=function(b,m,d){return b=y(b),g(b,m,d),b};te.exports=v,te.exports.mutate=g},wgjA:function(te,U,e){"use strict";Object.defineProperty(U,"__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"};U.default=y},wlus:function(te,U,e){"use strict";var y=e("VTBJ"),L=e("q1tI"),g={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"},v=g,A=e("6VBw"),b=function(r,a){return L.createElement(A.a,Object(y.a)(Object(y.a)({},r),{},{ref:a,icon:v}))};b.displayName="MinusCircleOutlined";var m=U.a=L.forwardRef(b)},wr5s:function(te,U,e){var y=e("IwbS"),L=y.extendShape,g=L({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},buildPath:function(v,A){var b=A.cx,m=A.cy,d=Math.max(A.r0||0,0),r=Math.max(A.r,0),a=(r-d)*.5,s=d+a,i=A.startAngle,n=A.endAngle,l=A.clockwise,t=Math.cos(i),u=Math.sin(i),o=Math.cos(n),c=Math.sin(n),h=l?n-i<Math.PI*2:i-n<Math.PI*2;h&&(v.moveTo(t*d+b,u*d+m),v.arc(t*s+b,u*s+m,a,-Math.PI+i,i,!l)),v.arc(b,m,r,i,n,!l),v.moveTo(o*r+b,c*r+m),v.arc(o*s+b,c*s+m,a,n-Math.PI*2,n-Math.PI,!l),d!==0&&(v.arc(b,m,d,n,i,l),v.moveTo(t*d+b,c*d+m)),v.closePath()}});te.exports=g},wt3j:function(te,U,e){var y=e("ProS"),L=e("bYtY"),g=e("/IIm"),v=e("EMyp"),A=v.layoutCovers,b=y.extendComponentView({type:"brush",init:function(d,r){this.ecModel=d,this.api=r,this.model,(this._brushController=new g(r.getZr())).on("brush",L.bind(this._onBrush,this)).mount()},render:function(d){return this.model=d,m.apply(this,arguments)},updateTransform:function(d,r){return A(r),m.apply(this,arguments)},updateView:m,dispose:function(){this._brushController.dispose()},_onBrush:function(d,r){var a=this.model.id;this.model.brushTargetManager.setOutputRanges(d,this.ecModel),(!r.isEnd||r.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:a,areas:L.clone(d),$from:a}),r.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:a,areas:L.clone(d),$from:a})}});function m(d,r,a,s){(!s||s.$from!==d.id)&&this._brushController.setPanels(d.brushTargetManager.makePanelOpts(a)).enableBrush(d.brushOption).updateCovers(d.areas.slice())}te.exports=b},wy8a:function(te,U,e){var y=e("KxBF");function L(g,v,A){var b=g.length;return A=A===void 0?b:A,!v&&A>=b?g:y(g,v,A)}te.exports=L},x3X8:function(te,U,e){var y=e("KxfA"),L=y.retrieveRawValue;function g(v,A){var b=v.mapDimension("defaultedLabel",!0),m=b.length;if(m===1)return L(v,A,b[0]);if(m){for(var d=[],r=0;r<b.length;r++){var a=L(v,A,b[r]);d.push(a)}return d.join(" ")}}U.getDefaultLabel=g},x54q:function(te,U,e){},x6Kt:function(te,U,e){var y=e("y+Vt"),L=e("VpOo"),g=e("nPnh"),v=g.subPixelOptimizeRect,A={},b=y.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(d,r){var a,s,i,n;this.subPixelOptimize?(v(A,r,this.style),a=A.x,s=A.y,i=A.width,n=A.height,A.r=r.r,r=A):(a=r.x,s=r.y,i=r.width,n=r.height),r.r?L.buildPath(d,r):d.rect(a,s,i,n),d.closePath();return}});te.exports=b},xGfz:function(te,U,e){"use strict";var y=e("VTBJ"),L=e("q1tI"),g={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"},v=g,A=e("6VBw"),b=function(r,a){return L.createElement(A.a,Object(y.a)(Object(y.a)({},r),{},{ref:a,icon:v}))};b.displayName="PlusSquareOutlined";var m=U.a=L.forwardRef(b)},xKMd:function(te,U){function e(L,g){this.getAllNames=function(){var v=g();return v.mapArray(v.getName)},this.containName=function(v){var A=g();return A.indexOfName(v)>=0},this.indexOfName=function(v){var A=L();return A.indexOfName(v)},this.getItemVisual=function(v,A){var b=L();return b.getItemVisual(v,A)}}var y=e;te.exports=y},xRUu:function(te,U,e){e("hJvP"),e("hFmY"),e("sAZ8")},xSat:function(te,U){var e={axisPointer:1,tooltip:1,brush:1};function y(L,g,v){var A=g.getComponentByElement(L.topTarget),b=A&&A.coordinateSystem;return A&&A!==v&&!e[A.mainType]&&b&&b.model!==v}U.onIrrelevantElement=y},xTNl:function(te,U){var e=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],y={color:e,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],e]};te.exports=y},xb2K:function(te,U,e){"use strict";var y=e("284h"),L=e("TqRt");Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var g=L(e("3tO9")),v=y(e("q1tI")),A=L(e("5yev")),b=L(e("KQxl")),m=function(a,s){return v.createElement(b.default,(0,g.default)((0,g.default)({},a),{},{ref:s,icon:A.default}))};m.displayName="RedoOutlined";var d=v.forwardRef(m);U.default=d},xiyX:function(te,U,e){var y=e("bYtY"),L=e("bLfw"),g=e("nkfE"),v=e("ICMv"),A=L.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),b={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}};function m(r,a){return a.type||(a.data?"category":"value")}y.merge(A.prototype,v),g("single",A,m,b);var d=A;te.exports=d},xzDV:function(te,U,e){},"y+Vt":function(te,U,e){var y=e("Gev7"),L=e("bYtY"),g=e("IMiH"),v=e("2DNl"),A=e("3C/r"),b=A.prototype.getCanvasPattern,m=Math.abs,d=new g(!0);function r(s){y.call(this,s),this.path=null}r.prototype={constructor:r,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(i,n){var l=this.style,t=this.path||d,u=l.hasStroke(),o=l.hasFill(),c=l.fill,h=l.stroke,f=o&&!!c.colorStops,w=u&&!!h.colorStops,x=o&&!!c.image,I=u&&!!h.image;if(l.bind(i,this,n),this.setTransform(i),this.__dirty){var C;f&&(C=C||this.getBoundingRect(),this._fillGradient=l.getGradient(i,c,C)),w&&(C=C||this.getBoundingRect(),this._strokeGradient=l.getGradient(i,h,C))}f?i.fillStyle=this._fillGradient:x&&(i.fillStyle=b.call(c,i)),w?i.strokeStyle=this._strokeGradient:I&&(i.strokeStyle=b.call(h,i));var N=l.lineDash,S=l.lineDashOffset,E=!!i.setLineDash,T=this.getGlobalScale();if(t.setScale(T[0],T[1],this.segmentIgnoreThreshold),this.__dirtyPath||N&&!E&&u?(t.beginPath(i),N&&!E&&(t.setLineDash(N),t.setLineDashOffset(S)),this.buildPath(t,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(i.beginPath(),this.path.rebuildPath(i)),o)if(l.fillOpacity!=null){var D=i.globalAlpha;i.globalAlpha=l.fillOpacity*l.opacity,t.fill(i),i.globalAlpha=D}else t.fill(i);if(N&&E&&(i.setLineDash(N),i.lineDashOffset=S),u)if(l.strokeOpacity!=null){var D=i.globalAlpha;i.globalAlpha=l.strokeOpacity*l.opacity,t.stroke(i),i.globalAlpha=D}else t.stroke(i);N&&E&&i.setLineDash([]),l.text!=null&&(this.restoreTransform(i),this.drawRectText(i,this.getBoundingRect()))},buildPath:function(i,n,l){},createPathProxy:function(){this.path=new g},getBoundingRect:function(){var i=this._rect,n=this.style,l=!i;if(l){var t=this.path;t||(t=this.path=new g),this.__dirtyPath&&(t.beginPath(),this.buildPath(t,this.shape,!1)),i=t.getBoundingRect()}if(this._rect=i,n.hasStroke()){var u=this._rectWithStroke||(this._rectWithStroke=i.clone());if(this.__dirty||l){u.copy(i);var o=n.lineWidth,c=n.strokeNoScale?this.getLineScale():1;n.hasFill()||(o=Math.max(o,this.strokeContainThreshold||4)),c>1e-10&&(u.width+=o/c,u.height+=o/c,u.x-=o/c/2,u.y-=o/c/2)}return u}return i},contain:function(i,n){var l=this.transformCoordToLocal(i,n),t=this.getBoundingRect(),u=this.style;if(i=l[0],n=l[1],t.contain(i,n)){var o=this.path.data;if(u.hasStroke()){var c=u.lineWidth,h=u.strokeNoScale?this.getLineScale():1;if(h>1e-10&&(u.hasFill()||(c=Math.max(c,this.strokeContainThreshold)),v.containStroke(o,c/h,i,n)))return!0}if(u.hasFill())return v.contain(o,i,n)}return!1},dirty:function(i){i==null&&(i=!0),i&&(this.__dirtyPath=i,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(i){return this.animate("shape",i)},attrKV:function(i,n){i==="shape"?(this.setShape(n),this.__dirtyPath=!0,this._rect=null):y.prototype.attrKV.call(this,i,n)},setShape:function(i,n){var l=this.shape;if(l){if(L.isObject(i))for(var t in i)i.hasOwnProperty(t)&&(l[t]=i[t]);else l[i]=n;this.dirty(!0)}return this},getLineScale:function(){var i=this.transform;return i&&m(i[0]-1)>1e-10&&m(i[3]-1)>1e-10?Math.sqrt(m(i[0]*i[3]-i[2]*i[1])):1}},r.extend=function(s){var i=function(t){r.call(this,t),s.style&&this.style.extendFrom(s.style,!1);var u=s.shape;if(u){this.shape=this.shape||{};var o=this.shape;for(var c in u)!o.hasOwnProperty(c)&&u.hasOwnProperty(c)&&(o[c]=u[c])}s.init&&s.init.call(this,t)};L.inherits(i,r);for(var n in s)n!=="style"&&n!=="shape"&&(i.prototype[n]=s[n]);return i},L.inherits(r,y);var a=r;te.exports=a},"y+lR":function(te,U,e){var y=e("bYtY"),L=e("mFDi"),g=e("z35g");function v(b){g.call(this,b)}v.prototype={constructor:v,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(b){var m=this.getAxis("x"),d=this.getAxis("y");return m.contain(m.toLocalCoord(b[0]))&&d.contain(d.toLocalCoord(b[1]))},containData:function(b){return this.getAxis("x").containData(b[0])&&this.getAxis("y").containData(b[1])},dataToPoint:function(b,m,d){var r=this.getAxis("x"),a=this.getAxis("y");return d=d||[],d[0]=r.toGlobalCoord(r.dataToCoord(b[0])),d[1]=a.toGlobalCoord(a.dataToCoord(b[1])),d},clampData:function(b,m){var d=this.getAxis("x").scale,r=this.getAxis("y").scale,a=d.getExtent(),s=r.getExtent(),i=d.parse(b[0]),n=r.parse(b[1]);return m=m||[],m[0]=Math.min(Math.max(Math.min(a[0],a[1]),i),Math.max(a[0],a[1])),m[1]=Math.min(Math.max(Math.min(s[0],s[1]),n),Math.max(s[0],s[1])),m},pointToData:function(b,m){var d=this.getAxis("x"),r=this.getAxis("y");return m=m||[],m[0]=d.coordToData(d.toLocalCoord(b[0])),m[1]=r.coordToData(r.toLocalCoord(b[1])),m},getOtherAxis:function(b){return this.getAxis(b.dim==="x"?"y":"x")},getArea:function(){var b=this.getAxis("x").getGlobalExtent(),m=this.getAxis("y").getGlobalExtent(),d=Math.min(b[0],b[1]),r=Math.min(m[0],m[1]),a=Math.max(b[0],b[1])-d,s=Math.max(m[0],m[1])-r,i=new L(d,r,a,s);return i}},y.inherits(v,g);var A=v;te.exports=A},"y0+3":function(te,U,e){"use strict";e.d(U,"a",function(){return s}),e.d(U,"b",function(){return n});var y=/margin|padding|width|height|max|min|offset/,L={left:!0,top:!0},g={cssFloat:1,styleFloat:1,float:1};function v(l){return l.nodeType===1?l.ownerDocument.defaultView.getComputedStyle(l,null):{}}function A(l,t,u){if(t=t.toLowerCase(),u==="auto"){if(t==="height")return l.offsetHeight;if(t==="width")return l.offsetWidth}return t in L||(L[t]=y.test(t)),L[t]?parseFloat(u)||0:u}function b(l,t){var u=arguments.length,o=v(l);return t=g[t]?"cssFloat"in l.style?"cssFloat":"styleFloat":t,u===1?o:A(l,t,o[t]||l.style[t])}function m(l,t,u){var o=arguments.length;if(t=g[t]?"cssFloat"in l.style?"cssFloat":"styleFloat":t,o===3)return typeof u=="number"&&y.test(t)&&(u="".concat(u,"px")),l.style[t]=u,u;for(var c in t)t.hasOwnProperty(c)&&m(l,c,t[c]);return v(l)}function d(l){return l===document.body?document.documentElement.clientWidth:l.offsetWidth}function r(l){return l===document.body?window.innerHeight||document.documentElement.clientHeight:l.offsetHeight}function a(){var l=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),t=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:l,height:t}}function s(){var l=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:l,height:t}}function i(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function n(l){var t=l.getBoundingClientRect(),u=document.documentElement;return{left:t.left+(window.pageXOffset||u.scrollLeft)-(u.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||u.scrollTop)-(u.clientTop||document.body.clientTop||0)}}},y23F:function(te,U){function e(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}e.prototype={constructor:e,_dragStart:function(v){for(var A=v.target;A&&!A.draggable;)A=A.parent;A&&(this._draggingTarget=A,A.dragging=!0,this._x=v.offsetX,this._y=v.offsetY,this.dispatchToElement(y(A,v),"dragstart",v.event))},_drag:function(v){var A=this._draggingTarget;if(A){var b=v.offsetX,m=v.offsetY,d=b-this._x,r=m-this._y;this._x=b,this._y=m,A.drift(d,r,v),this.dispatchToElement(y(A,v),"drag",v.event);var a=this.findHover(b,m,A).target,s=this._dropTarget;this._dropTarget=a,A!==a&&(s&&a!==s&&this.dispatchToElement(y(s,v),"dragleave",v.event),a&&a!==s&&this.dispatchToElement(y(a,v),"dragenter",v.event))}},_dragEnd:function(v){var A=this._draggingTarget;A&&(A.dragging=!1),this.dispatchToElement(y(A,v),"dragend",v.event),this._dropTarget&&this.dispatchToElement(y(this._dropTarget,v),"drop",v.event),this._draggingTarget=null,this._dropTarget=null}};function y(g,v){return{target:g,topTarget:v&&v.topTarget}}var L=e;te.exports=L},y2l5:function(te,U,e){var y=e("MwEJ"),L=e("T4UG"),g=L.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(v,A){return y(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var v=this.option.progressive;return v==null?this.option.large?5e3:this.get("progressive"):v},getProgressiveThreshold:function(){var v=this.option.progressiveThreshold;return v==null?this.option.large?1e4:this.get("progressiveThreshold"):v},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});te.exports=g},y3NT:function(te,U,e){var y=e("OELB"),L=y.parsePercent,g=e("bYtY"),v=Math.PI/180;function A(d,r,a,s){r.eachSeriesByType(d,function(i){var n=i.get("center"),l=i.get("radius");g.isArray(l)||(l=[0,l]),g.isArray(n)||(n=[n,n]);var t=a.getWidth(),u=a.getHeight(),o=Math.min(t,u),c=L(n[0],t),h=L(n[1],u),f=L(l[0],o/2),w=L(l[1],o/2),x=-i.get("startAngle")*v,I=i.get("minAngle")*v,C=i.getData().tree.root,N=i.getViewRoot(),S=N.depth,E=i.get("sort");E!=null&&b(N,E);var T=0;g.each(N.children,function(_){!isNaN(_.getValue())&&T++});var D=N.getValue(),B=Math.PI/(D||T)*2,R=N.depth>0,F=N.height-(R?-1:1),M=(w-f)/(F||1),K=i.get("clockwise"),j=i.get("stillShowZeroSum"),H=K?1:-1,k=function(_,G){if(!_)return;var J=G;if(_!==C){var ue=_.getValue(),q=D===0&&j?B:ue*B;q<I&&(q=I),J=G+H*q;var re=_.depth-S-(R?-1:1),me=f+M*re,be=f+M*(re+1),ke=_.getModel();ke.get("r0")!=null&&(me=L(ke.get("r0"),o/2)),ke.get("r")!=null&&(be=L(ke.get("r"),o/2)),_.setLayout({angle:q,startAngle:G,endAngle:J,clockwise:K,cx:c,cy:h,r0:me,r:be})}if(_.children&&_.children.length){var ce=0;g.each(_.children,function(Ee){ce+=k(Ee,G+ce)})}return J-G};if(R){var P=f,z=f+M,Y=Math.PI*2;C.setLayout({angle:Y,startAngle:x,endAngle:x+Y,clockwise:K,cx:c,cy:h,r0:P,r:z})}k(N,x)})}function b(d,r){var a=d.children||[];d.children=m(a,r),a.length&&g.each(d.children,function(s){b(s,r)})}function m(d,r){if(typeof r=="function")return d.sort(r);var a=r==="asc";return d.sort(function(s,i){var n=(s.getValue()-i.getValue())*(a?1:-1);return n===0?(s.dataIndex-i.dataIndex)*(a?-1:1):n})}te.exports=A},y3Yb:function(te,U,e){"use strict";var y=e("284h"),L=e("TqRt");Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var g=L(e("3tO9")),v=y(e("q1tI")),A=L(e("HBhm")),b=L(e("KQxl")),m=function(a,s){return v.createElement(b.default,(0,g.default)((0,g.default)({},a),{},{ref:s,icon:A.default}))};m.displayName="PaperClipOutlined";var d=v.forwardRef(m);U.default=d},"y4/Y":function(te,U,e){var y=e("ProS"),L=e("bYtY"),g=e("zTMp"),v=e("62sa");e("SKx+"),e("1LEl"),e("Sp2Z"),y.registerPreprocessor(function(A){if(A){(!A.axisPointer||A.axisPointer.length===0)&&(A.axisPointer={});var b=A.axisPointer.link;b&&!L.isArray(b)&&(A.axisPointer.link=[b])}}),y.registerProcessor(y.PRIORITY.PROCESSOR.STATISTIC,function(A,b){A.getComponent("axisPointer").coordSysAxesInfo=g.collect(A,b)}),y.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},v)},y7Aq:function(te,U,e){var y=e("bYtY"),L=e("+TT/"),g=L.getLayoutRect;function v(b,m,d){var r=b.option,a=r.align;if(a!=null&&a!=="auto")return a;for(var s={width:m.getWidth(),height:m.getHeight()},i=r.orient==="horizontal"?1:0,n=[["left","right","width"],["top","bottom","height"]],l=n[i],t=[0,null,10],u={},o=0;o<3;o++)u[n[1-i][o]]=t[o],u[l[o]]=o===2?d[0]:r[l[o]];var c=[["x","width",3],["y","height",0]][i],h=g(u,s,r.padding);return l[(h.margin[c[2]]||0)+h[c[0]]+h[c[1]]*.5<s[c[1]]*.5?0:1]}function A(b,m){return y.each(b||[],function(d){d.dataIndex!=null&&(d.dataIndexInside=d.dataIndex,d.dataIndex=null),d.highlightKey="visualMap"+(m?m.componentIndex:"")}),b}U.getItemAlign=v,U.makeHighDownBatch=A},y8nQ:function(te,U,e){"use strict";var y=e("cIOH"),L=e.n(y),g=e("gwTy"),v=e.n(g),A=e("1GLa")},yO87:function(te,U,e){var y=e("bYtY"),L=e("oVpE"),g=L.createSymbol,v=e("IwbS"),A=v.Group,b=e("OELB"),m=b.parsePercent,d=e("FBjb"),r=3;function a(t){return y.isArray(t)||(t=[+t,+t]),t}function s(t,u){var o=u.rippleEffectColor||u.color;t.eachChild(function(c){c.attr({z:u.z,zlevel:u.zlevel,style:{stroke:u.brushType==="stroke"?o:null,fill:u.brushType==="fill"?o:null}})})}function i(t,u){A.call(this);var o=new d(t,u),c=new A;this.add(o),this.add(c),c.beforeUpdate=function(){this.attr(o.getScale())},this.updateData(t,u)}var n=i.prototype;n.stopEffectAnimation=function(){this.childAt(1).removeAll()},n.startEffectAnimation=function(t){for(var u=t.symbolType,o=t.color,c=this.childAt(1),h=0;h<r;h++){var f=g(u,-1,-1,2,2,o);f.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var w=-h/r*t.period+t.effectOffset;f.animate("",!0).when(t.period,{scale:[t.rippleScale/2,t.rippleScale/2]}).delay(w).start(),f.animateStyle(!0).when(t.period,{opacity:0}).delay(w).start(),c.add(f)}s(c,t)},n.updateEffectAnimation=function(t){for(var u=this._effectCfg,o=this.childAt(1),c=["symbolType","period","rippleScale"],h=0;h<c.length;h++){var f=c[h];if(u[f]!==t[f]){this.stopEffectAnimation(),this.startEffectAnimation(t);return}}s(o,t)},n.highlight=function(){this.trigger("emphasis")},n.downplay=function(){this.trigger("normal")},n.updateData=function(t,u){var o=t.hostModel;this.childAt(0).updateData(t,u);var c=this.childAt(1),h=t.getItemModel(u),f=t.getItemVisual(u,"symbol"),w=a(t.getItemVisual(u,"symbolSize")),x=t.getItemVisual(u,"color");c.attr("scale",w),c.traverse(function(B){B.attr({fill:x})});var I=h.getShallow("symbolOffset");if(I){var C=c.position;C[0]=m(I[0],w[0]),C[1]=m(I[1],w[1])}var N=t.getItemVisual(u,"symbolRotate");c.rotation=(N||0)*Math.PI/180||0;var S={};if(S.showEffectOn=o.get("showEffectOn"),S.rippleScale=h.get("rippleEffect.scale"),S.brushType=h.get("rippleEffect.brushType"),S.period=h.get("rippleEffect.period")*1e3,S.effectOffset=u/t.count(),S.z=h.getShallow("z")||0,S.zlevel=h.getShallow("zlevel")||0,S.symbolType=f,S.color=x,S.rippleEffectColor=h.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),T=function(){E.highlight(),S.showEffectOn!=="render"&&this.startEffectAnimation(S)},D=function(){E.downplay(),S.showEffectOn!=="render"&&this.stopEffectAnimation()};this.on("mouseover",T,this).on("mouseout",D,this).on("emphasis",T,this).on("normal",D,this)}this._effectCfg=S},n.fadeOut=function(t){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),t&&t()},y.inherits(i,A);var l=i;te.exports=l},yS9w:function(te,U,e){var y=e("MEGo"),L=y.parseSVG,g=y.makeViewBoxTransform,v=e("4fz+"),A=e("x6Kt"),b=e("bYtY"),m=b.assert,d=b.createHashMap,r=e("mFDi"),a=e("4NO4"),s=a.makeInner,i=s(),n={load:function(t,u){var o=i(u).originRoot;if(o)return{root:o,boundingRect:i(u).boundingRect};var c=l(u);return i(u).originRoot=c.root,i(u).boundingRect=c.boundingRect,c},makeGraphic:function(t,u,o){var c=i(u),h=c.rootMap||(c.rootMap=d()),f=h.get(o);if(f)return f;var w=c.originRoot,x=c.boundingRect;return c.originRootHostKey?f=l(u,x).root:(c.originRootHostKey=o,f=w),h.set(o,f)},removeGraphic:function(t,u,o){var c=i(u),h=c.rootMap;h&&h.removeKey(o),o===c.originRootHostKey&&(c.originRootHostKey=null)}};function l(t,u){var o=t.svgXML,c,h;try{c=o&&L(o,{ignoreViewBox:!0,ignoreRootClip:!0})||{},h=c.root,m(h!=null)}catch(N){throw new Error(`Invalid svg format
|
|
|
`+N.message)}var f=c.width,w=c.height,x=c.viewBoxRect;if(u||(u=f==null||w==null?h.getBoundingRect():new r(0,0,0,0),f!=null&&(u.width=f),w!=null&&(u.height=w)),x){var I=g(x,u.width,u.height),C=h;h=new v,h.add(C),C.scale=I.scale,C.position=I.position}return h.setClipPath(new A({shape:u.plain()})),{root:h,boundingRect:u}}te.exports=n},yWXo:function(te,U,e){var y=e("IwbS"),L=e("oVpE"),g=L.createSymbol,v=e("OS9S"),A=4,b=y.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(a,s){var i=s.points,n=s.size,l=this.symbolProxy,t=l.shape,u=a.getContext?a.getContext():a,o=u&&n[0]<A;if(o)return;for(var c=0;c<i.length;){var h=i[c++],f=i[c++];if(isNaN(h)||isNaN(f))continue;if(this.softClipShape&&!this.softClipShape.contain(h,f))continue;t.x=h-n[0]/2,t.y=f-n[1]/2,t.width=n[0],t.height=n[1],l.buildPath(a,t,!0)}},afterBrush:function(a){var s=this.shape,i=s.points,n=s.size,l=n[0]<A;if(!l)return;this.setTransform(a);for(var t=0;t<i.length;){var u=i[t++],o=i[t++];if(isNaN(u)||isNaN(o))continue;if(this.softClipShape&&!this.softClipShape.contain(u,o))continue;a.fillRect(u-n[0]/2,o-n[1]/2,n[0],n[1])}this.restoreTransform(a)},findDataIndex:function(a,s){for(var i=this.shape,n=i.points,l=i.size,t=Math.max(l[0],4),u=Math.max(l[1],4),o=n.length/2-1;o>=0;o--){var c=o*2,h=n[c]-t/2,f=n[c+1]-u/2;if(a>=h&&s>=f&&a<=h+t&&s<=f+u)return o}return-1}});function m(){this.group=new y.Group}var d=m.prototype;d.isPersistent=function(){return!this._incremental},d.updateData=function(a,s){this.group.removeAll();var i=new b({rectHover:!0,cursor:"default"});i.setShape({points:a.getLayout("symbolPoints")}),this._setCommon(i,a,!1,s),this.group.add(i),this._incremental=null},d.updateLayout=function(a){if(this._incremental)return;var s=a.getLayout("symbolPoints");this.group.eachChild(function(i){if(i.startIndex!=null){var n=(i.endIndex-i.startIndex)*2,l=i.startIndex*4*2;s=new Float32Array(s.buffer,l,n)}i.setShape("points",s)})},d.incrementalPrepareUpdate=function(a){this.group.removeAll(),this._clearIncremental(),a.count()>2e6?(this._incremental||(this._incremental=new v({silent:!0})),this.group.add(this._incremental)):this._incremental=null},d.incrementalUpdate=function(a,s,i){var n;this._incremental?(n=new b,this._incremental.addDisplayable(n,!0)):(n=new b({rectHover:!0,cursor:"default",startIndex:a.start,endIndex:a.end}),n.incremental=!0,this.group.add(n)),n.setShape({points:s.getLayout("symbolPoints")}),this._setCommon(n,s,!!this._incremental,i)},d._setCommon=function(a,s,i,n){var l=s.hostModel;n=n||{};var t=s.getVisual("symbolSize");a.setShape("size",t instanceof Array?t:[t,t]),a.softClipShape=n.clipShape||null,a.symbolProxy=g(s.getVisual("symbol"),0,0,0,0),a.setColor=a.symbolProxy.setColor;var u=a.shape.size[0]<A;a.useStyle(l.getModel("itemStyle").getItemStyle(u?["color","shadowBlur","shadowColor"]:["color"]));var o=s.getVisual("color");o&&a.setColor(o),i||(a.seriesIndex=l.seriesIndex,a.on("mousemove",function(c){a.dataIndex=null;var h=a.findDataIndex(c.offsetX,c.offsetY);h>=0&&(a.dataIndex=h+(a.startIndex||0))}))},d.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},d._clearIncremental=function(){var a=this._incremental;a&&a.clearDisplaybles()};var r=m;te.exports=r},ycre:function(te,U,e){var y=e("711d"),L=y("length");te.exports=L},ygfH:function(te,U,e){"use strict";Object.defineProperty(U,"__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"};U.default=y},yik8:function(te,U,e){var y=e("bZqE"),L=y.eachAfter,g=y.eachBefore,v=e("Itpr"),A=v.init,b=v.firstWalk,m=v.secondWalk,d=v.separation,r=v.radialCoordinate,a=v.getViewRect;function s(n,l){n.eachSeriesByType("tree",function(t){i(t,l)})}function i(n,l){var t=a(n,l);n.layoutInfo=t;var u=n.get("layout"),o=0,c=0,h=null;u==="radial"?(o=2*Math.PI,c=Math.min(t.height,t.width)/2,h=d(function(F,M){return(F.parentNode===M.parentNode?1:2)/F.depth})):(o=t.width,c=t.height,h=d());var f=n.getData().tree.root,w=f.children[0];if(w){A(f),L(w,b,h),f.hierNode.modifier=-w.hierNode.prelim,g(w,m);var x=w,I=w,C=w;g(w,function(F){var M=F.getLayout().x;M<x.getLayout().x&&(x=F),M>I.getLayout().x&&(I=F),F.depth>C.depth&&(C=F)});var N=x===I?1:h(x,I)/2,S=N-x.getLayout().x,E=0,T=0,D=0,B=0;if(u==="radial")E=o/(I.getLayout().x+N+S),T=c/(C.depth-1||1),g(w,function(F){D=(F.getLayout().x+S)*E,B=(F.depth-1)*T;var M=r(D,B);F.setLayout({x:M.x,y:M.y,rawX:D,rawY:B},!0)});else{var R=n.getOrient();R==="RL"||R==="LR"?(T=c/(I.getLayout().x+N+S),E=o/(C.depth-1||1),g(w,function(F){B=(F.getLayout().x+S)*T,D=R==="LR"?(F.depth-1)*E:o-(F.depth-1)*E,F.setLayout({x:D,y:B},!0)})):(R==="TB"||R==="BT")&&(E=o/(I.getLayout().x+N+S),T=c/(C.depth-1||1),g(w,function(F){D=(F.getLayout().x+S)*E,B=R==="TB"?(F.depth-1)*T:c-(F.depth-1)*T,F.setLayout({x:D,y:B},!0)}))}}}te.exports=s},ynwM:function(te,U,e){var y=e("MFOe"),L=y.Global;te.exports={name:"oldFF-globalStorage",read:v,write:A,each:b,remove:m,clearAll:d};var g=L.globalStorage;function v(r){return g[r]}function A(r,a){g[r]=a}function b(r){for(var a=g.length-1;a>=0;a--){var s=g.key(a);r(g[s],s)}}function m(r){return g.removeItem(r)}function d(){b(function(r,a){delete g[r]})}},ypgQ:function(te,U,e){var y=e("bYtY"),L=e("4NO4"),g=e("bLfw"),v=y.each,A=y.clone,b=y.map,m=y.merge,d=/^(min|max)?(.+)$/;function r(u){this._api=u,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}r.prototype={constructor:r,setOption:function(u,o){u&&y.each(L.normalizeToArray(u.series),function(f){f&&f.data&&y.isTypedArray(f.data)&&y.setAsPrimitive(f.data)}),u=A(u);var c=this._optionBackup,h=a.call(this,u,o,!c);this._newBaseOption=h.baseOption,c?(l(c.baseOption,h.baseOption),h.timelineOptions.length&&(c.timelineOptions=h.timelineOptions),h.mediaList.length&&(c.mediaList=h.mediaList),h.mediaDefault&&(c.mediaDefault=h.mediaDefault)):this._optionBackup=h},mountOption:function(u){var o=this._optionBackup;return this._timelineOptions=b(o.timelineOptions,A),this._mediaList=b(o.mediaList,A),this._mediaDefault=A(o.mediaDefault),this._currentMediaIndices=[],A(u?o.baseOption:this._newBaseOption)},getTimelineOption:function(u){var o,c=this._timelineOptions;if(c.length){var h=u.getComponent("timeline");h&&(o=A(c[h.getCurrentIndex()],!0))}return o},getMediaOption:function(u){var o=this._api.getWidth(),c=this._api.getHeight(),h=this._mediaList,f=this._mediaDefault,w=[],x=[];if(!h.length&&!f)return x;for(var I=0,C=h.length;I<C;I++)s(h[I].query,o,c)&&w.push(I);return!w.length&&f&&(w=[-1]),w.length&&!n(w,this._currentMediaIndices)&&(x=b(w,function(N){return A(N===-1?f.option:h[N].option)})),this._currentMediaIndices=w,x}};function a(u,o,c){var h=[],f=[],w,x,I=u.timeline;if(u.baseOption&&(x=u.baseOption),(I||u.options)&&(x=x||{},h=(u.options||[]).slice()),u.media){x=x||{};var C=u.media;v(C,function(N){N&&N.option&&(N.query?f.push(N):w||(w=N))})}return x||(x=u),x.timeline||(x.timeline=I),v([x].concat(h).concat(y.map(f,function(N){return N.option})),function(N){v(o,function(S){S(N,c)})}),{baseOption:x,timelineOptions:h,mediaDefault:w,mediaList:f}}function s(u,o,c){var h={width:o,height:c,aspectratio:o/c},f=!0;return y.each(u,function(w,x){var I=x.match(d);if(!I||!I[1]||!I[2])return;var C=I[1],N=I[2].toLowerCase();i(h[N],w,C)||(f=!1)}),f}function i(u,o,c){return c==="min"?u>=o:c==="max"?u<=o:u===o}function n(u,o){return u.join(",")===o.join(",")}function l(u,o){o=o||{},v(o,function(c,h){if(c==null)return;var f=u[h];if(!g.hasClass(h))u[h]=m(f,c,!0);else{c=L.normalizeToArray(c),f=L.normalizeToArray(f);var w=L.mappingToExists(f,c);u[h]=b(w,function(x){return x.option&&x.exist?m(x.exist,x.option,!0):x.exist||x.option})}})}var t=r;te.exports=t},yxFR:function(te,U,e){var y=e("y+Vt"),L=e("nPnh"),g=L.subPixelOptimizeLine,v={},A=y.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(m,d){var r,a,s,i;this.subPixelOptimize?(g(v,d,this.style),r=v.x1,a=v.y1,s=v.x2,i=v.y2):(r=d.x1,a=d.y1,s=d.x2,i=d.y2);var n=d.percent;if(n===0)return;m.moveTo(r,a),n<1&&(s=r*(1-n)+s*n,i=a*(1-n)+i*n),m.lineTo(s,i)},pointAt:function(m){var d=this.shape;return[d.x1*(1-m)+d.x2*m,d.y1*(1-m)+d.y2*m]}});te.exports=A},z35g:function(te,U,e){var y=e("bYtY");function L(A){return this._axes[A]}var g=function(A){this._axes={},this._dimList=[],this.name=A||""};g.prototype={constructor:g,type:"cartesian",getAxis:function(A){return this._axes[A]},getAxes:function(){return y.map(this._dimList,L,this)},getAxesByScale:function(A){return A=A.toLowerCase(),y.filter(this.getAxes(),function(b){return b.scale.type===A})},addAxis:function(A){var b=A.dim;this._axes[b]=A,this._dimList.push(b)},dataToCoord:function(A){return this._dataCoordConvert(A,"dataToCoord")},coordToData:function(A){return this._dataCoordConvert(A,"coordToData")},_dataCoordConvert:function(A,b){for(var m=this._dimList,d=A instanceof Array?[]:{},r=0;r<m.length;r++){var a=m[r],s=this._axes[a];d[a]=s[b](A[a])}return d}};var v=g;te.exports=v},zAh6:function(te,U,e){"use strict";e.d(U,"a",function(){return A});var y=e("xEkU"),L=e.n(y),g=e("i6bk");function v(b,m,d,r){var a=d-m;return b/=r/2,b<1?a/2*b*b*b+m:a/2*((b-=2)*b*b+2)+m}function A(b){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=m.getContainer,r=d===void 0?function(){return window}:d,a=m.callback,s=m.duration,i=s===void 0?450:s,n=r(),l=Object(g.a)(n,!0),t=Date.now(),u=function o(){var c=Date.now(),h=c-t,f=v(h>i?i:h,l,b,i);Object(g.b)(n)?n.scrollTo(window.pageXOffset,f):n instanceof HTMLDocument||n.constructor.name==="HTMLDocument"?n.documentElement.scrollTop=f:n.scrollTop=f,h<i?L()(o):typeof a=="function"&&a()};L()(u)}},zDms:function(te,U,e){var y=e("bYtY"),L=e("OELB"),g=e("UOVi"),v=e("72pK"),A=y.each,b=L.asc,m=function(n,l,t,u){this._dimName=n,this._axisIndex=l,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=u,this._dataZoomModel=t};m.prototype={constructor:m,hostedBy:function(n){return this._dataZoomModel===n},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var n=[],l=this.ecModel;return l.eachSeries(function(t){if(g.isCoordSupported(t.get("coordinateSystem"))){var u=this._dimName,o=l.queryComponents({mainType:u+"Axis",index:t.get(u+"AxisIndex"),id:t.get(u+"AxisId")})[0];this._axisIndex===(o&&o.componentIndex)&&n.push(t)}},this),n},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var n=this._dimName,l=this.ecModel,t=this.getAxisModel(),u=n==="x"||n==="y",o,c;u?(c="gridIndex",o=n==="x"?"y":"x"):(c="polarIndex",o=n==="angle"?"radius":"angle");var h;return l.eachComponent(o+"Axis",function(f){(f.get(c)||0)===(t.get(c)||0)&&(h=f)}),h},getMinMaxSpan:function(){return y.clone(this._minMaxSpan)},calculateDataWindow:function(n){var l=this._dataExtent,t=this.getAxisModel(),u=t.axis.scale,o=this._dataZoomModel.getRangePropMode(),c=[0,100],h=[],f=[],w;A(["start","end"],function(C,N){var S=n[C],E=n[C+"Value"];o[N]==="percent"?(S==null&&(S=c[N]),E=u.parse(L.linearMap(S,c,l))):(w=!0,E=E==null?l[N]:u.parse(E),S=L.linearMap(E,l,c)),f[N]=E,h[N]=S}),b(f),b(h);var x=this._minMaxSpan;w?I(f,h,l,c,!1):I(h,f,c,l,!0);function I(C,N,S,E,T){var D=T?"Span":"ValueSpan";v(0,C,S,"all",x["min"+D],x["max"+D]);for(var B=0;B<2;B++)N[B]=L.linearMap(C[B],S,E,!0),T&&(N[B]=u.parse(N[B]))}return{valueWindow:f,percentWindow:h}},reset:function(n){if(n!==this._dataZoomModel)return;var l=this.getTargetSeriesModels();this._dataExtent=d(this,this._dimName,l),s(this);var t=this.calculateDataWindow(n.settledOption);this._valueWindow=t.valueWindow,this._percentWindow=t.percentWindow,a(this)},restore:function(n){if(n!==this._dataZoomModel)return;this._valueWindow=this._percentWindow=null,a(this,!0)},filterData:function(n,l){if(n!==this._dataZoomModel)return;var t=this._dimName,u=this.getTargetSeriesModels(),o=n.get("filterMode"),c=this._valueWindow;if(o==="none")return;A(u,function(f){var w=f.getData(),x=w.mapDimension(t,!0);if(!x.length)return;o==="weakFilter"?w.filterSelf(function(I){for(var C,N,S,E=0;E<x.length;E++){var T=w.get(x[E],I),D=!isNaN(T),B=T<c[0],R=T>c[1];if(D&&!B&&!R)return!0;D&&(S=!0),B&&(C=!0),R&&(N=!0)}return S&&C&&N}):A(x,function(I){if(o==="empty")f.setData(w=w.map(I,function(N){return h(N)?N:NaN}));else{var C={};C[I]=c,w.selectRange(C)}}),A(x,function(I){w.setApproximateExtent(c,I)})});function h(f){return f>=c[0]&&f<=c[1]}}};function d(n,l,t){var u=[Infinity,-Infinity];return A(t,function(o){var c=o.getData();c&&A(c.mapDimension(l,!0),function(h){var f=c.getApproximateExtent(h);f[0]<u[0]&&(u[0]=f[0]),f[1]>u[1]&&(u[1]=f[1])})}),u[1]<u[0]&&(u=[NaN,NaN]),r(n,u),u}function r(n,l){var t=n.getAxisModel(),u=t.getMin(!0),o=t.get("type")==="category",c=o&&t.getCategories().length;u!=null&&u!=="dataMin"&&typeof u!="function"?l[0]=u:o&&(l[0]=c>0?0:NaN);var h=t.getMax(!0);return h!=null&&h!=="dataMax"&&typeof h!="function"?l[1]=h:o&&(l[1]=c>0?c-1:NaN),t.get("scale",!0)||(l[0]>0&&(l[0]=0),l[1]<0&&(l[1]=0)),l}function a(n,l){var t=n.getAxisModel(),u=n._percentWindow,o=n._valueWindow;if(!u)return;var c=L.getPixelPrecision(o,[0,500]);c=Math.min(c,20);var h=l||u[0]===0&&u[1]===100;t.setRange(h?null:+o[0].toFixed(c),h?null:+o[1].toFixed(c))}function s(n){var l=n._minMaxSpan={},t=n._dataZoomModel,u=n._dataExtent;A(["min","max"],function(o){var c=t.get(o+"Span"),h=t.get(o+"ValueSpan");h!=null&&(h=n.getAxisModel().axis.scale.parse(h)),h!=null?c=L.linearMap(u[0]+h,u,[0,100],!0):c!=null&&(h=L.linearMap(c,[0,100],u,!0)-u[0]),l[o+"Span"]=c,l[o+"ValueSpan"]=h})}var i=m;te.exports=i},zM3Q:function(te,U,e){var y=e("4NO4"),L=y.makeInner;function g(){var v=L();return function(A){var b=v(A),m=A.pipelineContext,d=b.large,r=b.progressiveRender,a=b.large=m&&m.large,s=b.progressiveRender=m&&m.progressiveRender;return!!(d^a||r^s)&&"reset"}}te.exports=g},zRKj:function(te,U,e){e("Ae16"),e("Sp2Z"),e("y4/Y")},zTMp:function(te,U,e){var y=e("bYtY"),L=e("Qxkt"),g=y.each,v=y.curry;function A(u,o){var c={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return b(c,u,o),c.seriesInvolved&&d(c,u),c}function b(u,o,c){var h=o.getComponent("tooltip"),f=o.getComponent("axisPointer"),w=f.get("link",!0)||[],x=[];g(c.getCoordinateSystems(),function(I){if(!I.axisPointerEnabled)return;var C=t(I.model),N=u.coordSysAxesInfo[C]={};u.coordSysMap[C]=I;var S=I.model,E=S.getModel("tooltip",h);if(g(I.getAxes(),v(R,!1,null)),I.getTooltipAxes&&h&&E.get("show")){var T=E.get("trigger")==="axis",D=E.get("axisPointer.type")==="cross",B=I.getTooltipAxes(E.get("axisPointer.axis"));(T||D)&&g(B.baseAxes,v(R,D?"cross":!0,T)),D&&g(B.otherAxes,v(R,"cross",!1))}function R(F,M,K){var j=K.model.getModel("axisPointer",f),H=j.get("show");if(!H||H==="auto"&&!F&&!l(j))return;M==null&&(M=j.get("triggerTooltip")),j=F?m(K,E,f,o,F,M):j;var k=j.get("snap"),P=t(K.model),z=M||k||K.type==="category",Y=u.axesInfo[P]={key:P,axis:K,coordSys:I,axisPointerModel:j,triggerTooltip:M,involveSeries:z,snap:k,useHandle:l(j),seriesModels:[]};N[P]=Y,u.seriesInvolved|=z;var _=r(w,K);if(_!=null){var G=x[_]||(x[_]={axesInfo:{}});G.axesInfo[P]=Y,G.mapper=w[_].mapper,Y.linkGroup=G}}})}function m(u,o,c,h,f,w){var x=o.getModel("axisPointer"),I={};g(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(E){I[E]=y.clone(x.get(E))}),I.snap=u.type!=="category"&&!!w,x.get("type")==="cross"&&(I.type="line");var C=I.label||(I.label={});if(C.show==null&&(C.show=!1),f==="cross"){var N=x.get("label.show");if(C.show=N!=null?N:!0,!w){var S=I.lineStyle=x.get("crossStyle");S&&y.defaults(C,S.textStyle)}}return u.model.getModel("axisPointer",new L(I,c,h))}function d(u,o){o.eachSeries(function(c){var h=c.coordinateSystem,f=c.get("tooltip.trigger",!0),w=c.get("tooltip.show",!0);if(!h||f==="none"||f===!1||f==="item"||w===!1||c.get("axisPointer.show",!0)===!1)return;g(u.coordSysAxesInfo[t(h.model)],function(x){var I=x.axis;h.getAxis(I.dim)===I&&(x.seriesModels.push(c),x.seriesDataCount==null&&(x.seriesDataCount=0),x.seriesDataCount+=c.getData().count())})},this)}function r(u,o){for(var c=o.model,h=o.dim,f=0;f<u.length;f++){var w=u[f]||{};if(a(w[h+"AxisId"],c.id)||a(w[h+"AxisIndex"],c.componentIndex)||a(w[h+"AxisName"],c.name))return f}}function a(u,o){return u==="all"||y.isArray(u)&&y.indexOf(u,o)>=0||u===o}function s(u){var o=i(u);if(!o)return;var c=o.axisPointerModel,h=o.axis.scale,f=c.option,w=c.get("status"),x=c.get("value");x!=null&&(x=h.parse(x));var I=l(c);w==null&&(f.status=I?"show":"hide");var C=h.getExtent().slice();C[0]>C[1]&&C.reverse(),(x==null||x>C[1])&&(x=C[1]),x<C[0]&&(x=C[0]),f.value=x,I&&(f.status=o.axis.scale.isBlank()?"hide":"show")}function i(u){var o=(u.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return o&&o.axesInfo[t(u)]}function n(u){var o=i(u);return o&&o.axisPointerModel}function l(u){return!!u.get("handle.show")}function t(u){return u.type+"||"+u.id}U.collect=A,U.fixValue=s,U.getAxisInfo=i,U.getAxisPointerModel=n,U.makeKey=t},zYTA:function(te,U,e){var y=e("bYtY"),L=256;function g(){var A=y.createCanvas();this.canvas=A,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}g.prototype={update:function(A,b,m,d,r,a){var s=this._getBrush(),i=this._getGradient(A,r,"inRange"),n=this._getGradient(A,r,"outOfRange"),l=this.pointSize+this.blurSize,t=this.canvas,u=t.getContext("2d"),o=A.length;t.width=b,t.height=m;for(var c=0;c<o;++c){var h=A[c],f=h[0],w=h[1],x=h[2],I=d(x);u.globalAlpha=I,u.drawImage(s,f-l,w-l)}if(!t.width||!t.height)return t;for(var C=u.getImageData(0,0,t.width,t.height),N=C.data,S=0,E=N.length,T=this.minOpacity,D=this.maxOpacity,B=D-T;S<E;){var I=N[S+3]/256,R=Math.floor(I*(L-1))*4;if(I>0){var F=a(I)?i:n;I>0&&(I=I*B+T),N[S++]=F[R],N[S++]=F[R+1],N[S++]=F[R+2],N[S++]=F[R+3]*I*256}else S+=4}return u.putImageData(C,0,0),t},_getBrush:function(){var A=this._brushCanvas||(this._brushCanvas=y.createCanvas()),b=this.pointSize+this.blurSize,m=b*2;A.width=m,A.height=m;var d=A.getContext("2d");return d.clearRect(0,0,m,m),d.shadowOffsetX=m,d.shadowBlur=this.blurSize,d.shadowColor="#000",d.beginPath(),d.arc(-b,b,this.pointSize,0,Math.PI*2,!0),d.closePath(),d.fill(),A},_getGradient:function(A,b,m){for(var d=this._gradientPixels,r=d[m]||(d[m]=new Uint8ClampedArray(256*4)),a=[0,0,0,0],s=0,i=0;i<256;i++)b[m](i/255,!0,a),r[s++]=a[0],r[s++]=a[1],r[s++]=a[2],r[s++]=a[3];return r}};var v=g;te.exports=v},zarK:function(te,U,e){var y=e("YH21"),L=y.addEventListener,g=y.removeEventListener,v=y.normalizeEvent,A=y.getNativeEvent,b=e("bYtY"),m=e("H6uX"),d=e("ItGF"),r=300,a=d.domSupported,s=function(){var F=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],M=["touchstart","touchend","touchmove"],K={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},j=b.map(F,function(H){var k=H.replace("mouse","pointer");return K.hasOwnProperty(k)?k:H});return{mouse:F,touch:M,pointer:j}}(),i={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function n(F){return F==="mousewheel"&&d.browser.firefox?"DOMMouseScroll":F}function l(F){var M=F.pointerType;return M==="pen"||M==="touch"}function t(F){F.touching=!0,F.touchTimer!=null&&(clearTimeout(F.touchTimer),F.touchTimer=null),F.touchTimer=setTimeout(function(){F.touching=!1,F.touchTimer=null},700)}function u(F){F&&(F.zrByTouch=!0)}function o(F,M){return v(F.dom,new h(F,M),!0)}function c(F,M){for(var K=M,j=!1;K&&K.nodeType!==9&&!(j=K.domBelongToZr||K!==M&&K===F.painterRoot);)K=K.parentNode;return j}function h(F,M){this.type=M.type,this.target=this.currentTarget=F.dom,this.pointerType=M.pointerType,this.clientX=M.clientX,this.clientY=M.clientY}var f=h.prototype;f.stopPropagation=f.stopImmediatePropagation=f.preventDefault=b.noop;var w={mousedown:function(M){M=v(this.dom,M),this._mayPointerCapture=[M.zrX,M.zrY],this.trigger("mousedown",M)},mousemove:function(M){M=v(this.dom,M);var K=this._mayPointerCapture;K&&(M.zrX!==K[0]||M.zrY!==K[1])&&E(this,!0),this.trigger("mousemove",M)},mouseup:function(M){M=v(this.dom,M),E(this,!1),this.trigger("mouseup",M)},mouseout:function(M){M=v(this.dom,M),this._pointerCapturing&&(M.zrEventControl="no_globalout");var K=M.toElement||M.relatedTarget;M.zrIsToLocalDOM=c(this,K),this.trigger("mouseout",M)},touchstart:function(M){M=v(this.dom,M),u(M),this._lastTouchMoment=new Date,this.handler.processGesture(M,"start"),w.mousemove.call(this,M),w.mousedown.call(this,M)},touchmove:function(M){M=v(this.dom,M),u(M),this.handler.processGesture(M,"change"),w.mousemove.call(this,M)},touchend:function(M){M=v(this.dom,M),u(M),this.handler.processGesture(M,"end"),w.mouseup.call(this,M),+new Date-this._lastTouchMoment<r&&w.click.call(this,M)},pointerdown:function(M){w.mousedown.call(this,M)},pointermove:function(M){l(M)||w.mousemove.call(this,M)},pointerup:function(M){w.mouseup.call(this,M)},pointerout:function(M){l(M)||w.mouseout.call(this,M)}};b.each(["click","mousewheel","dblclick","contextmenu"],function(F){w[F]=function(M){M=v(this.dom,M),this.trigger(F,M)}});var x={pointermove:function(M){l(M)||x.mousemove.call(this,M)},pointerup:function(M){x.mouseup.call(this,M)},mousemove:function(M){this.trigger("mousemove",M)},mouseup:function(M){var K=this._pointerCapturing;E(this,!1),this.trigger("mouseup",M),K&&(M.zrEventControl="only_globalout",this.trigger("mouseout",M))}};function I(F,M){var K=M.domHandlers;d.pointerEventsSupported?b.each(s.pointer,function(j){N(M,j,function(H){K[j].call(F,H)})}):(d.touchEventsSupported&&b.each(s.touch,function(j){N(M,j,function(H){K[j].call(F,H),t(M)})}),b.each(s.mouse,function(j){N(M,j,function(H){H=A(H),M.touching||K[j].call(F,H)})}))}function C(F,M){d.pointerEventsSupported?b.each(i.pointer,K):d.touchEventsSupported||b.each(i.mouse,K);function K(j){function H(k){k=A(k),c(F,k.target)||(k=o(F,k),M.domHandlers[j].call(F,k))}N(M,j,H,{capture:!0})}}function N(F,M,K,j){F.mounted[M]=K,F.listenerOpts[M]=j,L(F.domTarget,n(M),K,j)}function S(F){var M=F.mounted;for(var K in M)M.hasOwnProperty(K)&&g(F.domTarget,n(K),M[K],F.listenerOpts[K]);F.mounted={}}function E(F,M){if(F._mayPointerCapture=null,a&&F._pointerCapturing^M){F._pointerCapturing=M;var K=F._globalHandlerScope;M?C(F,K):S(K)}}function T(F,M){this.domTarget=F,this.domHandlers=M,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function D(F,M){m.call(this),this.dom=F,this.painterRoot=M,this._localHandlerScope=new T(F,w),a&&(this._globalHandlerScope=new T(document,x)),this._pointerCapturing=!1,this._mayPointerCapture=null,I(this,this._localHandlerScope)}var B=D.prototype;B.dispose=function(){S(this._localHandlerScope),a&&S(this._globalHandlerScope)},B.setCursor=function(F){this.dom.style&&(this.dom.style.cursor=F||"default")},b.mixin(D,m);var R=D;te.exports=R},zdCA:function(te,U,e){"use strict";var y=e("284h"),L=e("TqRt");Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var g=L(e("3tO9")),v=y(e("q1tI")),A=L(e("PSzr")),b=L(e("KQxl")),m=function(a,s){return v.createElement(b.default,(0,g.default)((0,g.default)({},a),{},{ref:s,icon:A.default}))};m.displayName="BarsOutlined";var d=v.forwardRef(m);U.default=d},zeV3:function(te,U,e){"use strict";var y=e("pVnL"),L=e.n(y),g=e("lSNA"),v=e.n(g),A=e("q1tI"),b=e.n(A),m=e("TSYQ"),d=e.n(m),r=e("H84U"),a=function(n,l){var t={};for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&l.indexOf(u)<0&&(t[u]=n[u]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,u=Object.getOwnPropertySymbols(n);o<u.length;o++)l.indexOf(u[o])<0&&Object.prototype.propertyIsEnumerable.call(n,u[o])&&(t[u[o]]=n[u[o]]);return t},s={small:8,middle:16,large:24},i=function(l){var t,u=A.useContext(r.b),o=u.getPrefixCls,c=u.space,h=u.direction,f=l.size,w=f===void 0?(c==null?void 0:c.size)||"small":f,x=l.align,I=l.className,C=l.children,N=l.direction,S=N===void 0?"horizontal":N,E=l.prefixCls,T=a(l,["size","align","className","children","direction","prefixCls"]),D=A.Children.count(C);if(D===0)return null;var B=x===void 0&&S==="horizontal"?"center":x,R=o("space",E),F=d()(R,"".concat(R,"-").concat(S),(t={},v()(t,"".concat(R,"-rtl"),h==="rtl"),v()(t,"".concat(R,"-align-").concat(B),B),t),I),M="".concat(R,"-item"),K=h==="rtl"?"marginLeft":"marginRight";return A.createElement("div",L()({className:F},T),A.Children.map(C,function(j,H){return A.createElement("div",{className:M,key:"".concat(M,"-").concat(H),style:H===D-1||j===null||j===void 0?{}:v()({},S==="vertical"?"marginBottom":K,typeof w=="string"?s[w]:w)},j)}))};U.a=i},zoYe:function(te,U,e){var y=e("nmnc"),L=e("eUgh"),g=e("Z0cm"),v=e("/9aa"),A=1/0,b=y?y.prototype:void 0,m=b?b.toString:void 0;function d(r){if(typeof r=="string")return r;if(g(r))return L(r,d)+"";if(v(r))return m?m.call(r):"";var a=r+"";return a=="0"&&1/r==-A?"-0":a}te.exports=d},zs7G:function(te,U,e){"use strict";var y=e("VTBJ"),L=e("q1tI"),g={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"},v=g,A=e("6VBw"),b=function(r,a){return L.createElement(A.a,Object(y.a)(Object(y.a)({},r),{},{ref:a,icon:v}))};b.displayName="DoubleRightOutlined";var m=U.a=L.forwardRef(b)},zuHt:function(te,U,e){var y=e("bYtY");function L(g){var v={};g.eachSeriesByType("map",function(A){var b=A.getMapType();if(A.getHostGeoModel()||v[b])return;var m={};y.each(A.seriesGroup,function(r){var a=r.coordinateSystem,s=r.originalData;r.get("showLegendSymbol")&&g.getComponent("legend")&&s.each(s.mapDimension("value"),function(i,n){var l=s.getName(n),t=a.getRegion(l);if(!t||isNaN(i))return;var u=m[l]||0,o=a.dataToPoint(t.center);m[l]=u+1,s.setItemLayout(n,{point:o,offset:u})})});var d=A.getData();d.each(function(r){var a=d.getName(r),s=d.getItemLayout(r)||{};s.showLabel=!m[a],d.setItemLayout(r,s)}),v[b]=!0})}te.exports=L}}]);
|